@emilgroup/task-sdk-node 1.7.1-beta.29 → 1.7.1-beta.30

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.
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { EntityRefDto } from './entity-ref-dto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -81,6 +82,12 @@ export interface CreateTaskRequestDto {
81
82
  * @memberof CreateTaskRequestDto
82
83
  */
83
84
  'userGroupCode'?: string;
85
+ /**
86
+ * 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.
87
+ * @type {Array<EntityRefDto>}
88
+ * @memberof CreateTaskRequestDto
89
+ */
90
+ 'secondaryLinks'?: Array<EntityRefDto>;
84
91
  }
85
92
  export declare const CreateTaskRequestDtoPriorityEnum: {
86
93
  readonly Low: "LOW";
@@ -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';
@@ -15,6 +16,8 @@ export * from './create-task-response-class';
15
16
  export * from './dry-run-filter-clause-class';
16
17
  export * from './dry-run-filter-request-dto';
17
18
  export * from './dry-run-filter-response-class';
19
+ export * from './entity-ref-class';
20
+ export * from './entity-ref-dto';
18
21
  export * from './filter-class';
19
22
  export * from './get-category-response-class';
20
23
  export * from './get-filter-response-class';
@@ -43,6 +46,8 @@ export * from './patch-status-response-class';
43
46
  export * from './patch-task-request-dto';
44
47
  export * from './patch-task-response-class';
45
48
  export * from './reminder-class';
49
+ export * from './remove-secondary-link-response-class';
50
+ export * from './secondary-link-class';
46
51
  export * from './status-class';
47
52
  export * from './task-class';
48
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);
@@ -31,6 +32,8 @@ __exportStar(require("./create-task-response-class"), exports);
31
32
  __exportStar(require("./dry-run-filter-clause-class"), exports);
32
33
  __exportStar(require("./dry-run-filter-request-dto"), exports);
33
34
  __exportStar(require("./dry-run-filter-response-class"), exports);
35
+ __exportStar(require("./entity-ref-class"), exports);
36
+ __exportStar(require("./entity-ref-dto"), exports);
34
37
  __exportStar(require("./filter-class"), exports);
35
38
  __exportStar(require("./get-category-response-class"), exports);
36
39
  __exportStar(require("./get-filter-response-class"), exports);
@@ -59,6 +62,8 @@ __exportStar(require("./patch-status-response-class"), exports);
59
62
  __exportStar(require("./patch-task-request-dto"), exports);
60
63
  __exportStar(require("./patch-task-response-class"), exports);
61
64
  __exportStar(require("./reminder-class"), exports);
65
+ __exportStar(require("./remove-secondary-link-response-class"), exports);
66
+ __exportStar(require("./secondary-link-class"), exports);
62
67
  __exportStar(require("./status-class"), exports);
63
68
  __exportStar(require("./task-class"), exports);
64
69
  __exportStar(require("./update-filter-request-dto"), exports);
@@ -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
  *
@@ -86,6 +87,12 @@ export interface CreateTaskRequestDto {
86
87
  * @memberof CreateTaskRequestDto
87
88
  */
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>;
89
96
  }
90
97
 
91
98
  export const CreateTaskRequestDtoPriorityEnum = {
@@ -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';
@@ -15,6 +16,8 @@ export * from './create-task-response-class';
15
16
  export * from './dry-run-filter-clause-class';
16
17
  export * from './dry-run-filter-request-dto';
17
18
  export * from './dry-run-filter-response-class';
19
+ export * from './entity-ref-class';
20
+ export * from './entity-ref-dto';
18
21
  export * from './filter-class';
19
22
  export * from './get-category-response-class';
20
23
  export * from './get-filter-response-class';
@@ -43,6 +46,8 @@ export * from './patch-status-response-class';
43
46
  export * from './patch-task-request-dto';
44
47
  export * from './patch-task-response-class';
45
48
  export * from './reminder-class';
49
+ export * from './remove-secondary-link-response-class';
50
+ export * from './secondary-link-class';
46
51
  export * from './status-class';
47
52
  export * from './task-class';
48
53
  export * from './update-filter-request-dto';
@@ -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
+
@@ -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}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/task-sdk-node",
3
- "version": "1.7.1-beta.29",
3
+ "version": "1.7.1-beta.30",
4
4
  "description": "OpenAPI client for @emilgroup/task-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [