@emilgroup/task-sdk-node 1.0.1-beta.10 → 1.0.1-beta.4
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 +6 -6
- package/README.md +2 -2
- package/api/categories-api.ts +30 -30
- package/api/statuses-api.ts +30 -30
- package/api/tasks-api.ts +58 -86
- package/dist/api/categories-api.d.ts +22 -22
- package/dist/api/categories-api.js +20 -20
- package/dist/api/statuses-api.d.ts +22 -22
- package/dist/api/statuses-api.js +20 -20
- package/dist/api/tasks-api.d.ts +43 -61
- package/dist/api/tasks-api.js +41 -53
- package/dist/models/create-task-request-dto.d.ts +3 -3
- package/dist/models/index.d.ts +6 -6
- package/dist/models/index.js +6 -6
- package/dist/models/task-class.d.ts +3 -3
- package/dist/models/{patch-category-request-dto.d.ts → update-category-request-dto.d.ts} +7 -7
- package/dist/models/{patch-category-response-class.d.ts → update-category-response-class.d.ts} +3 -3
- package/dist/models/{patch-status-request-dto.d.ts → update-status-request-dto.d.ts} +7 -7
- package/dist/models/{patch-status-response-class.d.ts → update-status-response-class.d.ts} +3 -3
- package/dist/models/update-task-request-dto.d.ts +72 -0
- package/dist/models/{patch-task-response-class.d.ts → update-task-response-class.d.ts} +3 -3
- package/models/create-task-request-dto.ts +3 -3
- package/models/index.ts +6 -6
- package/models/task-class.ts +3 -3
- package/models/{patch-category-request-dto.ts → update-category-request-dto.ts} +7 -7
- package/models/{patch-category-response-class.ts → update-category-response-class.ts} +3 -3
- package/models/{patch-status-request-dto.ts → update-status-request-dto.ts} +7 -7
- package/models/{patch-status-response-class.ts → update-status-response-class.ts} +3 -3
- package/models/update-task-request-dto.ts +78 -0
- package/models/{patch-task-response-class.ts → update-task-response-class.ts} +3 -3
- package/package.json +1 -1
- package/dist/models/patch-task-request-dto.d.ts +0 -108
- package/models/patch-task-request-dto.ts +0 -114
- /package/dist/models/{patch-category-request-dto.js → update-category-request-dto.js} +0 -0
- /package/dist/models/{patch-category-response-class.js → update-category-response-class.js} +0 -0
- /package/dist/models/{patch-status-request-dto.js → update-status-request-dto.js} +0 -0
- /package/dist/models/{patch-status-response-class.js → update-status-response-class.js} +0 -0
- /package/dist/models/{patch-task-request-dto.js → update-task-request-dto.js} +0 -0
- /package/dist/models/{patch-task-response-class.js → update-task-response-class.js} +0 -0
|
@@ -17,26 +17,26 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface UpdateStatusRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface UpdateStatusRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* Status code: unique identifier of the status
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof UpdateStatusRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'code': string;
|
|
29
29
|
/**
|
|
30
30
|
* Status name: display name of the status
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof UpdateStatusRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'name'
|
|
34
|
+
'name': string;
|
|
35
35
|
/**
|
|
36
36
|
* Status slug: URL-friendly identifier
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof UpdateStatusRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'slug'
|
|
40
|
+
'slug': string;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -18,13 +18,13 @@ import { StatusClass } from './status-class';
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface UpdateStatusResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface UpdateStatusResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* status
|
|
26
26
|
* @type {StatusClass}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof UpdateStatusResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'status'?: StatusClass;
|
|
30
30
|
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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 UpdateTaskRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTaskRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Task code: unique identifier of the task
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateTaskRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Task subject: title of the task
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateTaskRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'subject': string;
|
|
35
|
+
/**
|
|
36
|
+
* Task description: detailed description of the task
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateTaskRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'description': string;
|
|
41
|
+
/**
|
|
42
|
+
* Task assignee: person assigned to the task
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateTaskRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'assignee': string;
|
|
47
|
+
/**
|
|
48
|
+
* Task category slug
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpdateTaskRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'categorySlug'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Task status slug
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateTaskRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'statusSlug'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Task priority
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof UpdateTaskRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'priority'?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* Task reporter: person who reported the task
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdateTaskRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'reporter'?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* Task due date
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof UpdateTaskRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'dueDate'?: string | null;
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -18,13 +18,13 @@ import { TaskClass } from './task-class';
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface UpdateTaskResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface UpdateTaskResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* task
|
|
26
26
|
* @type {TaskClass}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof UpdateTaskResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'task'?: TaskClass;
|
|
30
30
|
}
|
package/package.json
CHANGED
|
@@ -1,108 +0,0 @@
|
|
|
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 PatchTaskRequestDto
|
|
16
|
-
*/
|
|
17
|
-
export interface PatchTaskRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Task code: unique identifier of the task
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PatchTaskRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'code': string;
|
|
24
|
-
/**
|
|
25
|
-
* Task subject: title of the task
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PatchTaskRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'subject'?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Task description: detailed description of the task
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PatchTaskRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'description'?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Task assignee: person assigned to the task
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof PatchTaskRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'assignee'?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Task category slugs (array of category slugs)
|
|
44
|
-
* @type {Array<string>}
|
|
45
|
-
* @memberof PatchTaskRequestDto
|
|
46
|
-
*/
|
|
47
|
-
'categorySlugs': Array<string>;
|
|
48
|
-
/**
|
|
49
|
-
* Task status slug
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof PatchTaskRequestDto
|
|
52
|
-
*/
|
|
53
|
-
'statusSlug'?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Task priority
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof PatchTaskRequestDto
|
|
58
|
-
*/
|
|
59
|
-
'priority'?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Task reporter: person who reported the task
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof PatchTaskRequestDto
|
|
64
|
-
*/
|
|
65
|
-
'reporter'?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Task due date
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof PatchTaskRequestDto
|
|
70
|
-
*/
|
|
71
|
-
'dueDate'?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Set to true to clear/remove the due date.
|
|
74
|
-
* @type {boolean}
|
|
75
|
-
* @memberof PatchTaskRequestDto
|
|
76
|
-
*/
|
|
77
|
-
'clearDueDate'?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Set to true to clear/remove the assignee.
|
|
80
|
-
* @type {boolean}
|
|
81
|
-
* @memberof PatchTaskRequestDto
|
|
82
|
-
*/
|
|
83
|
-
'clearAssignee'?: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Set to true to clear/remove the categories.
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @memberof PatchTaskRequestDto
|
|
88
|
-
*/
|
|
89
|
-
'clearCategories'?: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Set to true to clear/remove the status.
|
|
92
|
-
* @type {boolean}
|
|
93
|
-
* @memberof PatchTaskRequestDto
|
|
94
|
-
*/
|
|
95
|
-
'clearStatus'?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* Set to true to clear/remove the priority.
|
|
98
|
-
* @type {boolean}
|
|
99
|
-
* @memberof PatchTaskRequestDto
|
|
100
|
-
*/
|
|
101
|
-
'clearPriority'?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Set to true to clear/remove the reporter.
|
|
104
|
-
* @type {boolean}
|
|
105
|
-
* @memberof PatchTaskRequestDto
|
|
106
|
-
*/
|
|
107
|
-
'clearReporter'?: boolean;
|
|
108
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
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 PatchTaskRequestDto
|
|
21
|
-
*/
|
|
22
|
-
export interface PatchTaskRequestDto {
|
|
23
|
-
/**
|
|
24
|
-
* Task code: unique identifier of the task
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof PatchTaskRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'code': string;
|
|
29
|
-
/**
|
|
30
|
-
* Task subject: title of the task
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof PatchTaskRequestDto
|
|
33
|
-
*/
|
|
34
|
-
'subject'?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Task description: detailed description of the task
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof PatchTaskRequestDto
|
|
39
|
-
*/
|
|
40
|
-
'description'?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Task assignee: person assigned to the task
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof PatchTaskRequestDto
|
|
45
|
-
*/
|
|
46
|
-
'assignee'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Task category slugs (array of category slugs)
|
|
49
|
-
* @type {Array<string>}
|
|
50
|
-
* @memberof PatchTaskRequestDto
|
|
51
|
-
*/
|
|
52
|
-
'categorySlugs': Array<string>;
|
|
53
|
-
/**
|
|
54
|
-
* Task status slug
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof PatchTaskRequestDto
|
|
57
|
-
*/
|
|
58
|
-
'statusSlug'?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Task priority
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof PatchTaskRequestDto
|
|
63
|
-
*/
|
|
64
|
-
'priority'?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Task reporter: person who reported the task
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof PatchTaskRequestDto
|
|
69
|
-
*/
|
|
70
|
-
'reporter'?: string;
|
|
71
|
-
/**
|
|
72
|
-
* Task due date
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof PatchTaskRequestDto
|
|
75
|
-
*/
|
|
76
|
-
'dueDate'?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Set to true to clear/remove the due date.
|
|
79
|
-
* @type {boolean}
|
|
80
|
-
* @memberof PatchTaskRequestDto
|
|
81
|
-
*/
|
|
82
|
-
'clearDueDate'?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Set to true to clear/remove the assignee.
|
|
85
|
-
* @type {boolean}
|
|
86
|
-
* @memberof PatchTaskRequestDto
|
|
87
|
-
*/
|
|
88
|
-
'clearAssignee'?: boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Set to true to clear/remove the categories.
|
|
91
|
-
* @type {boolean}
|
|
92
|
-
* @memberof PatchTaskRequestDto
|
|
93
|
-
*/
|
|
94
|
-
'clearCategories'?: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Set to true to clear/remove the status.
|
|
97
|
-
* @type {boolean}
|
|
98
|
-
* @memberof PatchTaskRequestDto
|
|
99
|
-
*/
|
|
100
|
-
'clearStatus'?: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* Set to true to clear/remove the priority.
|
|
103
|
-
* @type {boolean}
|
|
104
|
-
* @memberof PatchTaskRequestDto
|
|
105
|
-
*/
|
|
106
|
-
'clearPriority'?: boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Set to true to clear/remove the reporter.
|
|
109
|
-
* @type {boolean}
|
|
110
|
-
* @memberof PatchTaskRequestDto
|
|
111
|
-
*/
|
|
112
|
-
'clearReporter'?: boolean;
|
|
113
|
-
}
|
|
114
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|