@emilgroup/task-sdk-node 1.7.1-beta.3 → 1.7.1-beta.31
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.
- package/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/filters-api.ts +131 -24
- package/api/task-client-api.ts +257 -8
- package/api/tasks-api.ts +257 -8
- package/dist/api/filters-api.d.ts +81 -24
- package/dist/api/filters-api.js +112 -19
- package/dist/api/task-client-api.d.ts +148 -8
- package/dist/api/task-client-api.js +209 -6
- package/dist/api/tasks-api.d.ts +148 -8
- package/dist/api/tasks-api.js +209 -6
- package/dist/models/add-secondary-link-response-class.d.ts +25 -0
- package/dist/models/add-secondary-link-response-class.js +15 -0
- package/dist/models/create-task-request-dto.d.ts +13 -0
- package/dist/models/dry-run-filter-clause-class.d.ts +42 -0
- package/dist/models/dry-run-filter-clause-class.js +15 -0
- package/dist/models/dry-run-filter-request-dto.d.ts +30 -0
- package/dist/models/dry-run-filter-request-dto.js +15 -0
- package/dist/models/dry-run-filter-response-class.d.ts +37 -0
- package/dist/models/dry-run-filter-response-class.js +15 -0
- package/dist/models/entity-ref-class.d.ts +34 -0
- package/dist/models/entity-ref-class.js +19 -0
- package/dist/models/entity-ref-dto.d.ts +34 -0
- package/dist/models/entity-ref-dto.js +19 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/patch-task-request-dto.d.ts +12 -0
- package/dist/models/remove-secondary-link-response-class.d.ts +25 -0
- package/dist/models/remove-secondary-link-response-class.js +15 -0
- package/dist/models/secondary-link-class.d.ts +31 -0
- package/dist/models/secondary-link-class.js +15 -0
- package/dist/models/task-class.d.ts +7 -0
- package/models/add-secondary-link-response-class.ts +31 -0
- package/models/create-task-request-dto.ts +13 -0
- package/models/dry-run-filter-clause-class.ts +48 -0
- package/models/dry-run-filter-request-dto.ts +36 -0
- package/models/dry-run-filter-response-class.ts +43 -0
- package/models/entity-ref-class.ts +43 -0
- package/models/entity-ref-dto.ts +43 -0
- package/models/index.ts +8 -0
- package/models/patch-task-request-dto.ts +12 -0
- package/models/remove-secondary-link-response-class.ts +31 -0
- package/models/secondary-link-class.ts +37 -0
- package/models/task-class.ts +7 -0
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './add-secondary-link-response-class';
|
|
1
2
|
export * from './assignee-class';
|
|
2
3
|
export * from './category-class';
|
|
3
4
|
export * from './create-category-request-dto';
|
|
@@ -12,6 +13,11 @@ export * from './create-status-request-dto';
|
|
|
12
13
|
export * from './create-status-response-class';
|
|
13
14
|
export * from './create-task-request-dto';
|
|
14
15
|
export * from './create-task-response-class';
|
|
16
|
+
export * from './dry-run-filter-clause-class';
|
|
17
|
+
export * from './dry-run-filter-request-dto';
|
|
18
|
+
export * from './dry-run-filter-response-class';
|
|
19
|
+
export * from './entity-ref-class';
|
|
20
|
+
export * from './entity-ref-dto';
|
|
15
21
|
export * from './filter-class';
|
|
16
22
|
export * from './get-category-response-class';
|
|
17
23
|
export * from './get-filter-response-class';
|
|
@@ -40,6 +46,8 @@ export * from './patch-status-response-class';
|
|
|
40
46
|
export * from './patch-task-request-dto';
|
|
41
47
|
export * from './patch-task-response-class';
|
|
42
48
|
export * from './reminder-class';
|
|
49
|
+
export * from './remove-secondary-link-response-class';
|
|
50
|
+
export * from './secondary-link-class';
|
|
43
51
|
export * from './status-class';
|
|
44
52
|
export * from './task-class';
|
|
45
53
|
export * from './update-filter-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./add-secondary-link-response-class"), exports);
|
|
17
18
|
__exportStar(require("./assignee-class"), exports);
|
|
18
19
|
__exportStar(require("./category-class"), exports);
|
|
19
20
|
__exportStar(require("./create-category-request-dto"), exports);
|
|
@@ -28,6 +29,11 @@ __exportStar(require("./create-status-request-dto"), exports);
|
|
|
28
29
|
__exportStar(require("./create-status-response-class"), exports);
|
|
29
30
|
__exportStar(require("./create-task-request-dto"), exports);
|
|
30
31
|
__exportStar(require("./create-task-response-class"), exports);
|
|
32
|
+
__exportStar(require("./dry-run-filter-clause-class"), exports);
|
|
33
|
+
__exportStar(require("./dry-run-filter-request-dto"), exports);
|
|
34
|
+
__exportStar(require("./dry-run-filter-response-class"), exports);
|
|
35
|
+
__exportStar(require("./entity-ref-class"), exports);
|
|
36
|
+
__exportStar(require("./entity-ref-dto"), exports);
|
|
31
37
|
__exportStar(require("./filter-class"), exports);
|
|
32
38
|
__exportStar(require("./get-category-response-class"), exports);
|
|
33
39
|
__exportStar(require("./get-filter-response-class"), exports);
|
|
@@ -56,6 +62,8 @@ __exportStar(require("./patch-status-response-class"), exports);
|
|
|
56
62
|
__exportStar(require("./patch-task-request-dto"), exports);
|
|
57
63
|
__exportStar(require("./patch-task-response-class"), exports);
|
|
58
64
|
__exportStar(require("./reminder-class"), exports);
|
|
65
|
+
__exportStar(require("./remove-secondary-link-response-class"), exports);
|
|
66
|
+
__exportStar(require("./secondary-link-class"), exports);
|
|
59
67
|
__exportStar(require("./status-class"), exports);
|
|
60
68
|
__exportStar(require("./task-class"), exports);
|
|
61
69
|
__exportStar(require("./update-filter-request-dto"), 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";
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { TaskClass } from './task-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RemoveSecondaryLinkResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface RemoveSecondaryLinkResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* task
|
|
21
|
+
* @type {TaskClass}
|
|
22
|
+
* @memberof RemoveSecondaryLinkResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'task'?: TaskClass;
|
|
25
|
+
}
|
|
@@ -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,31 @@
|
|
|
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 { EntityRefClass } from './entity-ref-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SecondaryLinkClass
|
|
17
|
+
*/
|
|
18
|
+
export interface SecondaryLinkClass {
|
|
19
|
+
/**
|
|
20
|
+
* The linked record.
|
|
21
|
+
* @type {EntityRefClass}
|
|
22
|
+
* @memberof SecondaryLinkClass
|
|
23
|
+
*/
|
|
24
|
+
'ref': EntityRefClass;
|
|
25
|
+
/**
|
|
26
|
+
* Display number of the linked record, saved when the link was created. Only set for record types that have a number.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SecondaryLinkClass
|
|
29
|
+
*/
|
|
30
|
+
'number'?: string;
|
|
31
|
+
}
|
|
@@ -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 });
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CategoryClass } from './category-class';
|
|
13
|
+
import { SecondaryLinkClass } from './secondary-link-class';
|
|
13
14
|
import { StatusClass } from './status-class';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -113,6 +114,12 @@ export interface TaskClass {
|
|
|
113
114
|
* @memberof TaskClass
|
|
114
115
|
*/
|
|
115
116
|
'userGroupCode'?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Secondary links to records in other services, for example email threads. Returned by get and list only with expand=secondaryLinks; always returned by create, update and the secondary link endpoints.
|
|
119
|
+
* @type {Array<SecondaryLinkClass>}
|
|
120
|
+
* @memberof TaskClass
|
|
121
|
+
*/
|
|
122
|
+
'secondaryLinks': Array<SecondaryLinkClass>;
|
|
116
123
|
/**
|
|
117
124
|
* createdBy
|
|
118
125
|
* @type {string}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { TaskClass } from './task-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AddSecondaryLinkResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface AddSecondaryLinkResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* task
|
|
26
|
+
* @type {TaskClass}
|
|
27
|
+
* @memberof AddSecondaryLinkResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'task'?: TaskClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { EntityRefDto } from './entity-ref-dto';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -80,6 +81,18 @@ export interface CreateTaskRequestDto {
|
|
|
80
81
|
* @memberof CreateTaskRequestDto
|
|
81
82
|
*/
|
|
82
83
|
'entityCode'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Assign the task directly to a user-group. If omitted, routing filters decide the group.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreateTaskRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'userGroupCode'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Secondary links to add on create, for example email threads. At most 100. Each record must exist; if any is missing or invalid, no task is created.
|
|
92
|
+
* @type {Array<EntityRefDto>}
|
|
93
|
+
* @memberof CreateTaskRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'secondaryLinks'?: Array<EntityRefDto>;
|
|
83
96
|
}
|
|
84
97
|
|
|
85
98
|
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
|
+
|
|
@@ -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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface EntityRefClass
|
|
21
|
+
*/
|
|
22
|
+
export interface EntityRefClass {
|
|
23
|
+
/**
|
|
24
|
+
* Type of the linked record.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof EntityRefClass
|
|
27
|
+
*/
|
|
28
|
+
'type': EntityRefClassTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Code of the linked record.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EntityRefClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const EntityRefClassTypeEnum = {
|
|
38
|
+
EmailThread: 'EMAIL_THREAD'
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type EntityRefClassTypeEnum = typeof EntityRefClassTypeEnum[keyof typeof EntityRefClassTypeEnum];
|
|
42
|
+
|
|
43
|
+
|
|
@@ -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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface EntityRefDto
|
|
21
|
+
*/
|
|
22
|
+
export interface EntityRefDto {
|
|
23
|
+
/**
|
|
24
|
+
* Type of the linked record.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof EntityRefDto
|
|
27
|
+
*/
|
|
28
|
+
'type': EntityRefDtoTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Code of the linked record, for example the code of an email thread.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EntityRefDto
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const EntityRefDtoTypeEnum = {
|
|
38
|
+
EmailThread: 'EMAIL_THREAD'
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type EntityRefDtoTypeEnum = typeof EntityRefDtoTypeEnum[keyof typeof EntityRefDtoTypeEnum];
|
|
42
|
+
|
|
43
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './add-secondary-link-response-class';
|
|
1
2
|
export * from './assignee-class';
|
|
2
3
|
export * from './category-class';
|
|
3
4
|
export * from './create-category-request-dto';
|
|
@@ -12,6 +13,11 @@ export * from './create-status-request-dto';
|
|
|
12
13
|
export * from './create-status-response-class';
|
|
13
14
|
export * from './create-task-request-dto';
|
|
14
15
|
export * from './create-task-response-class';
|
|
16
|
+
export * from './dry-run-filter-clause-class';
|
|
17
|
+
export * from './dry-run-filter-request-dto';
|
|
18
|
+
export * from './dry-run-filter-response-class';
|
|
19
|
+
export * from './entity-ref-class';
|
|
20
|
+
export * from './entity-ref-dto';
|
|
15
21
|
export * from './filter-class';
|
|
16
22
|
export * from './get-category-response-class';
|
|
17
23
|
export * from './get-filter-response-class';
|
|
@@ -40,6 +46,8 @@ export * from './patch-status-response-class';
|
|
|
40
46
|
export * from './patch-task-request-dto';
|
|
41
47
|
export * from './patch-task-response-class';
|
|
42
48
|
export * from './reminder-class';
|
|
49
|
+
export * from './remove-secondary-link-response-class';
|
|
50
|
+
export * from './secondary-link-class';
|
|
43
51
|
export * from './status-class';
|
|
44
52
|
export * from './task-class';
|
|
45
53
|
export * from './update-filter-request-dto';
|
|
@@ -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 = {
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { TaskClass } from './task-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface RemoveSecondaryLinkResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface RemoveSecondaryLinkResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* task
|
|
26
|
+
* @type {TaskClass}
|
|
27
|
+
* @memberof RemoveSecondaryLinkResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'task'?: TaskClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { EntityRefClass } from './entity-ref-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface SecondaryLinkClass
|
|
22
|
+
*/
|
|
23
|
+
export interface SecondaryLinkClass {
|
|
24
|
+
/**
|
|
25
|
+
* The linked record.
|
|
26
|
+
* @type {EntityRefClass}
|
|
27
|
+
* @memberof SecondaryLinkClass
|
|
28
|
+
*/
|
|
29
|
+
'ref': EntityRefClass;
|
|
30
|
+
/**
|
|
31
|
+
* Display number of the linked record, saved when the link was created. Only set for record types that have a number.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SecondaryLinkClass
|
|
34
|
+
*/
|
|
35
|
+
'number'?: string;
|
|
36
|
+
}
|
|
37
|
+
|
package/models/task-class.ts
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { CategoryClass } from './category-class';
|
|
17
|
+
import { SecondaryLinkClass } from './secondary-link-class';
|
|
17
18
|
import { StatusClass } from './status-class';
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -118,6 +119,12 @@ export interface TaskClass {
|
|
|
118
119
|
* @memberof TaskClass
|
|
119
120
|
*/
|
|
120
121
|
'userGroupCode'?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Secondary links to records in other services, for example email threads. Returned by get and list only with expand=secondaryLinks; always returned by create, update and the secondary link endpoints.
|
|
124
|
+
* @type {Array<SecondaryLinkClass>}
|
|
125
|
+
* @memberof TaskClass
|
|
126
|
+
*/
|
|
127
|
+
'secondaryLinks': Array<SecondaryLinkClass>;
|
|
121
128
|
/**
|
|
122
129
|
* createdBy
|
|
123
130
|
* @type {string}
|