@emilgroup/task-sdk-node 1.7.1-beta.4 → 1.7.1-beta.40

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 (55) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/assignees-api.ts +4 -2
  4. package/api/categories-api.ts +20 -10
  5. package/api/filters-api.ts +153 -34
  6. package/api/hub-spot-api.ts +4 -2
  7. package/api/reminders-api.ts +28 -14
  8. package/api/statuses-api.ts +20 -10
  9. package/api/task-client-api.ts +329 -42
  10. package/api/tasks-api.ts +281 -18
  11. package/dist/api/assignees-api.js +4 -3
  12. package/dist/api/categories-api.js +29 -18
  13. package/dist/api/filters-api.d.ts +81 -24
  14. package/dist/api/filters-api.js +147 -38
  15. package/dist/api/hub-spot-api.js +7 -4
  16. package/dist/api/reminders-api.js +40 -25
  17. package/dist/api/statuses-api.js +29 -18
  18. package/dist/api/task-client-api.d.ts +148 -8
  19. package/dist/api/task-client-api.js +313 -67
  20. package/dist/api/tasks-api.d.ts +148 -8
  21. package/dist/api/tasks-api.js +244 -24
  22. package/dist/models/add-secondary-link-response-class.d.ts +25 -0
  23. package/dist/models/add-secondary-link-response-class.js +15 -0
  24. package/dist/models/create-task-request-dto.d.ts +13 -0
  25. package/dist/models/dry-run-filter-clause-class.d.ts +42 -0
  26. package/dist/models/dry-run-filter-clause-class.js +15 -0
  27. package/dist/models/dry-run-filter-request-dto.d.ts +30 -0
  28. package/dist/models/dry-run-filter-request-dto.js +15 -0
  29. package/dist/models/dry-run-filter-response-class.d.ts +37 -0
  30. package/dist/models/dry-run-filter-response-class.js +15 -0
  31. package/dist/models/entity-ref-class.d.ts +34 -0
  32. package/dist/models/entity-ref-class.js +19 -0
  33. package/dist/models/entity-ref-dto.d.ts +34 -0
  34. package/dist/models/entity-ref-dto.js +19 -0
  35. package/dist/models/index.d.ts +8 -0
  36. package/dist/models/index.js +8 -0
  37. package/dist/models/patch-task-request-dto.d.ts +12 -0
  38. package/dist/models/remove-secondary-link-response-class.d.ts +25 -0
  39. package/dist/models/remove-secondary-link-response-class.js +15 -0
  40. package/dist/models/secondary-link-class.d.ts +31 -0
  41. package/dist/models/secondary-link-class.js +15 -0
  42. package/dist/models/task-class.d.ts +7 -0
  43. package/models/add-secondary-link-response-class.ts +31 -0
  44. package/models/create-task-request-dto.ts +13 -0
  45. package/models/dry-run-filter-clause-class.ts +48 -0
  46. package/models/dry-run-filter-request-dto.ts +36 -0
  47. package/models/dry-run-filter-response-class.ts +43 -0
  48. package/models/entity-ref-class.ts +43 -0
  49. package/models/entity-ref-dto.ts +43 -0
  50. package/models/index.ts +8 -0
  51. package/models/patch-task-request-dto.ts +12 -0
  52. package/models/remove-secondary-link-response-class.ts +31 -0
  53. package/models/secondary-link-class.ts +37 -0
  54. package/models/task-class.ts +7 -0
  55. package/package.json +1 -1
@@ -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 });
@@ -0,0 +1,34 @@
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 EntityRefClass
16
+ */
17
+ export interface EntityRefClass {
18
+ /**
19
+ * Type of the linked record.
20
+ * @type {string}
21
+ * @memberof EntityRefClass
22
+ */
23
+ 'type': EntityRefClassTypeEnum;
24
+ /**
25
+ * Code of the linked record.
26
+ * @type {string}
27
+ * @memberof EntityRefClass
28
+ */
29
+ 'code': string;
30
+ }
31
+ export declare const EntityRefClassTypeEnum: {
32
+ readonly EmailThread: "EMAIL_THREAD";
33
+ };
34
+ export type EntityRefClassTypeEnum = typeof EntityRefClassTypeEnum[keyof typeof EntityRefClassTypeEnum];
@@ -0,0 +1,19 @@
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 });
16
+ exports.EntityRefClassTypeEnum = void 0;
17
+ exports.EntityRefClassTypeEnum = {
18
+ EmailThread: 'EMAIL_THREAD'
19
+ };
@@ -0,0 +1,34 @@
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 EntityRefDto
16
+ */
17
+ export interface EntityRefDto {
18
+ /**
19
+ * Type of the linked record.
20
+ * @type {string}
21
+ * @memberof EntityRefDto
22
+ */
23
+ 'type': EntityRefDtoTypeEnum;
24
+ /**
25
+ * Code of the linked record, for example the code of an email thread.
26
+ * @type {string}
27
+ * @memberof EntityRefDto
28
+ */
29
+ 'code': string;
30
+ }
31
+ export declare const EntityRefDtoTypeEnum: {
32
+ readonly EmailThread: "EMAIL_THREAD";
33
+ };
34
+ export type EntityRefDtoTypeEnum = typeof EntityRefDtoTypeEnum[keyof typeof EntityRefDtoTypeEnum];
@@ -0,0 +1,19 @@
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 });
16
+ exports.EntityRefDtoTypeEnum = void 0;
17
+ exports.EntityRefDtoTypeEnum = {
18
+ EmailThread: 'EMAIL_THREAD'
19
+ };
@@ -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';
@@ -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 = {