@emilgroup/task-sdk 1.9.1-beta.0 → 1.9.1-beta.10

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.
@@ -57,11 +57,11 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
59
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
60
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
60
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
61
61
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
62
62
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
63
63
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
64
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
64
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
67
  */
@@ -116,11 +116,11 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
116
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
117
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
118
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
119
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
119
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
120
120
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
121
121
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
122
122
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
123
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
123
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
126
126
  */
@@ -175,11 +175,11 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
175
175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
176
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
177
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
178
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
178
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
179
179
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
180
180
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
181
181
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
182
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
182
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
185
185
  */
@@ -283,7 +283,7 @@ export interface TasksApiListTasksRequest {
283
283
  */
284
284
  readonly pageToken?: string;
285
285
  /**
286
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
286
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
287
287
  * @type {string}
288
288
  * @memberof TasksApiListTasks
289
289
  */
@@ -307,7 +307,7 @@ export interface TasksApiListTasksRequest {
307
307
  */
308
308
  readonly expand?: string;
309
309
  /**
310
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
310
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
311
311
  * @type {string}
312
312
  * @memberof TasksApiListTasks
313
313
  */
@@ -247,11 +247,11 @@ var TasksApiAxiosParamCreator = function (configuration) {
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
248
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
249
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
250
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
250
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
251
251
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
252
252
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
253
253
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
254
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
254
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
257
257
  */
@@ -446,11 +446,11 @@ var TasksApiFp = function (configuration) {
446
446
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
447
447
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
448
448
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
449
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
449
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
450
450
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
451
451
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
452
452
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
453
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
453
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
454
454
  * @param {*} [options] Override http request option.
455
455
  * @throws {RequiredError}
456
456
  */
@@ -539,11 +539,11 @@ var TasksApiFactory = function (configuration, basePath, axios) {
539
539
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
540
540
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
541
541
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
542
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
542
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
543
543
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
544
544
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
545
545
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
546
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
546
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
547
547
  * @param {*} [options] Override http request option.
548
548
  * @throws {RequiredError}
549
549
  */
@@ -75,6 +75,12 @@ export interface CreateTaskRequestDto {
75
75
  * @memberof CreateTaskRequestDto
76
76
  */
77
77
  'entityCode'?: string;
78
+ /**
79
+ * Assign the task directly to a user-group. If omitted, routing filters decide the group.
80
+ * @type {string}
81
+ * @memberof CreateTaskRequestDto
82
+ */
83
+ 'userGroupCode'?: string;
78
84
  }
79
85
  export declare const CreateTaskRequestDtoPriorityEnum: {
80
86
  readonly Low: "LOW";
@@ -0,0 +1,42 @@
1
+ /**
2
+ * EMIL TaskService
3
+ * The EMIL Task API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 DryRunFilterClauseClass
16
+ */
17
+ export interface DryRunFilterClauseClass {
18
+ /**
19
+ * Textual fragment of the expression.
20
+ * @type {string}
21
+ * @memberof DryRunFilterClauseClass
22
+ */
23
+ 'clause': string;
24
+ /**
25
+ * Whether this clause matched.
26
+ * @type {boolean}
27
+ * @memberof DryRunFilterClauseClass
28
+ */
29
+ 'matched': boolean;
30
+ /**
31
+ * Actual value of the field side at evaluation time.
32
+ * @type {string}
33
+ * @memberof DryRunFilterClauseClass
34
+ */
35
+ 'resolvedValue'?: string;
36
+ /**
37
+ * Clause-specific error (e.g. did not evaluate to a boolean).
38
+ * @type {string}
39
+ * @memberof DryRunFilterClauseClass
40
+ */
41
+ 'error'?: string;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL TaskService
6
+ * The EMIL Task API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL TaskService
3
+ * The EMIL Task API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 DryRunFilterRequestDto
16
+ */
17
+ export interface DryRunFilterRequestDto {
18
+ /**
19
+ * FEEL expression to test against the task.
20
+ * @type {string}
21
+ * @memberof DryRunFilterRequestDto
22
+ */
23
+ 'expression': string;
24
+ /**
25
+ * Code of the task to evaluate the expression against.
26
+ * @type {string}
27
+ * @memberof DryRunFilterRequestDto
28
+ */
29
+ 'taskCode': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL TaskService
6
+ * The EMIL Task API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,37 @@
1
+ /**
2
+ * EMIL TaskService
3
+ * The EMIL Task API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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
+ import { DryRunFilterClauseClass } from './dry-run-filter-clause-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DryRunFilterResponseClass
17
+ */
18
+ export interface DryRunFilterResponseClass {
19
+ /**
20
+ * Whether the expression matched the task.
21
+ * @type {boolean}
22
+ * @memberof DryRunFilterResponseClass
23
+ */
24
+ 'matched': boolean;
25
+ /**
26
+ * Per top-level clause breakdown of the evaluation.
27
+ * @type {Array<DryRunFilterClauseClass>}
28
+ * @memberof DryRunFilterResponseClass
29
+ */
30
+ 'clauses': Array<DryRunFilterClauseClass>;
31
+ /**
32
+ * Error if the expression failed — invalid field, syntax, or evaluation.
33
+ * @type {string}
34
+ * @memberof DryRunFilterResponseClass
35
+ */
36
+ 'error'?: string;
37
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL TaskService
6
+ * The EMIL Task API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -12,6 +12,9 @@ export * from './create-status-request-dto';
12
12
  export * from './create-status-response-class';
13
13
  export * from './create-task-request-dto';
14
14
  export * from './create-task-response-class';
15
+ export * from './dry-run-filter-clause-class';
16
+ export * from './dry-run-filter-request-dto';
17
+ export * from './dry-run-filter-response-class';
15
18
  export * from './filter-class';
16
19
  export * from './get-category-response-class';
17
20
  export * from './get-filter-response-class';
@@ -28,6 +28,9 @@ __exportStar(require("./create-status-request-dto"), exports);
28
28
  __exportStar(require("./create-status-response-class"), exports);
29
29
  __exportStar(require("./create-task-request-dto"), exports);
30
30
  __exportStar(require("./create-task-response-class"), exports);
31
+ __exportStar(require("./dry-run-filter-clause-class"), exports);
32
+ __exportStar(require("./dry-run-filter-request-dto"), exports);
33
+ __exportStar(require("./dry-run-filter-response-class"), exports);
31
34
  __exportStar(require("./filter-class"), exports);
32
35
  __exportStar(require("./get-category-response-class"), exports);
33
36
  __exportStar(require("./get-filter-response-class"), exports);
@@ -129,6 +129,18 @@ export interface PatchTaskRequestDto {
129
129
  * @memberof PatchTaskRequestDto
130
130
  */
131
131
  'clearLinkedEntity'?: boolean;
132
+ /**
133
+ * Reassign the task to a different user-group. Ignored when clearUserGroup is true.
134
+ * @type {string}
135
+ * @memberof PatchTaskRequestDto
136
+ */
137
+ 'userGroupCode'?: string;
138
+ /**
139
+ * Set to true to unassign the task from its user-group. Takes precedence over userGroupCode. The task is not re-routed afterwards.
140
+ * @type {boolean}
141
+ * @memberof PatchTaskRequestDto
142
+ */
143
+ 'clearUserGroup'?: boolean;
132
144
  }
133
145
  export declare const PatchTaskRequestDtoEntityTypeEnum: {
134
146
  readonly Lead: "LEAD";
@@ -107,6 +107,12 @@ export interface TaskClass {
107
107
  * @memberof TaskClass
108
108
  */
109
109
  'entityNumber'?: string;
110
+ /**
111
+ * User-group this task is routed to (assigned by filter on create, or by admin override)
112
+ * @type {string}
113
+ * @memberof TaskClass
114
+ */
115
+ 'userGroupCode'?: string;
110
116
  /**
111
117
  * createdBy
112
118
  * @type {string}
@@ -80,6 +80,12 @@ export interface CreateTaskRequestDto {
80
80
  * @memberof CreateTaskRequestDto
81
81
  */
82
82
  'entityCode'?: string;
83
+ /**
84
+ * Assign the task directly to a user-group. If omitted, routing filters decide the group.
85
+ * @type {string}
86
+ * @memberof CreateTaskRequestDto
87
+ */
88
+ 'userGroupCode'?: string;
83
89
  }
84
90
 
85
91
  export const CreateTaskRequestDtoPriorityEnum = {
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL TaskService
5
+ * The EMIL Task API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+ /**
18
+ *
19
+ * @export
20
+ * @interface DryRunFilterClauseClass
21
+ */
22
+ export interface DryRunFilterClauseClass {
23
+ /**
24
+ * Textual fragment of the expression.
25
+ * @type {string}
26
+ * @memberof DryRunFilterClauseClass
27
+ */
28
+ 'clause': string;
29
+ /**
30
+ * Whether this clause matched.
31
+ * @type {boolean}
32
+ * @memberof DryRunFilterClauseClass
33
+ */
34
+ 'matched': boolean;
35
+ /**
36
+ * Actual value of the field side at evaluation time.
37
+ * @type {string}
38
+ * @memberof DryRunFilterClauseClass
39
+ */
40
+ 'resolvedValue'?: string;
41
+ /**
42
+ * Clause-specific error (e.g. did not evaluate to a boolean).
43
+ * @type {string}
44
+ * @memberof DryRunFilterClauseClass
45
+ */
46
+ 'error'?: string;
47
+ }
48
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL TaskService
5
+ * The EMIL Task API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+ /**
18
+ *
19
+ * @export
20
+ * @interface DryRunFilterRequestDto
21
+ */
22
+ export interface DryRunFilterRequestDto {
23
+ /**
24
+ * FEEL expression to test against the task.
25
+ * @type {string}
26
+ * @memberof DryRunFilterRequestDto
27
+ */
28
+ 'expression': string;
29
+ /**
30
+ * Code of the task to evaluate the expression against.
31
+ * @type {string}
32
+ * @memberof DryRunFilterRequestDto
33
+ */
34
+ 'taskCode': string;
35
+ }
36
+
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL TaskService
5
+ * The EMIL Task API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+ import { DryRunFilterClauseClass } from './dry-run-filter-clause-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface DryRunFilterResponseClass
22
+ */
23
+ export interface DryRunFilterResponseClass {
24
+ /**
25
+ * Whether the expression matched the task.
26
+ * @type {boolean}
27
+ * @memberof DryRunFilterResponseClass
28
+ */
29
+ 'matched': boolean;
30
+ /**
31
+ * Per top-level clause breakdown of the evaluation.
32
+ * @type {Array<DryRunFilterClauseClass>}
33
+ * @memberof DryRunFilterResponseClass
34
+ */
35
+ 'clauses': Array<DryRunFilterClauseClass>;
36
+ /**
37
+ * Error if the expression failed — invalid field, syntax, or evaluation.
38
+ * @type {string}
39
+ * @memberof DryRunFilterResponseClass
40
+ */
41
+ 'error'?: string;
42
+ }
43
+
package/models/index.ts CHANGED
@@ -12,6 +12,9 @@ export * from './create-status-request-dto';
12
12
  export * from './create-status-response-class';
13
13
  export * from './create-task-request-dto';
14
14
  export * from './create-task-response-class';
15
+ export * from './dry-run-filter-clause-class';
16
+ export * from './dry-run-filter-request-dto';
17
+ export * from './dry-run-filter-response-class';
15
18
  export * from './filter-class';
16
19
  export * from './get-category-response-class';
17
20
  export * from './get-filter-response-class';
@@ -134,6 +134,18 @@ export interface PatchTaskRequestDto {
134
134
  * @memberof PatchTaskRequestDto
135
135
  */
136
136
  'clearLinkedEntity'?: boolean;
137
+ /**
138
+ * Reassign the task to a different user-group. Ignored when clearUserGroup is true.
139
+ * @type {string}
140
+ * @memberof PatchTaskRequestDto
141
+ */
142
+ 'userGroupCode'?: string;
143
+ /**
144
+ * Set to true to unassign the task from its user-group. Takes precedence over userGroupCode. The task is not re-routed afterwards.
145
+ * @type {boolean}
146
+ * @memberof PatchTaskRequestDto
147
+ */
148
+ 'clearUserGroup'?: boolean;
137
149
  }
138
150
 
139
151
  export const PatchTaskRequestDtoEntityTypeEnum = {
@@ -112,6 +112,12 @@ export interface TaskClass {
112
112
  * @memberof TaskClass
113
113
  */
114
114
  'entityNumber'?: string;
115
+ /**
116
+ * User-group this task is routed to (assigned by filter on create, or by admin override)
117
+ * @type {string}
118
+ * @memberof TaskClass
119
+ */
120
+ 'userGroupCode'?: string;
115
121
  /**
116
122
  * createdBy
117
123
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/task-sdk",
3
- "version": "1.9.1-beta.0",
3
+ "version": "1.9.1-beta.10",
4
4
  "description": "OpenAPI client for @emilgroup/task-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [