@emilgroup/task-sdk-node 1.0.1-beta.4 → 1.0.1-beta.5

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 (35) hide show
  1. package/.openapi-generator/FILES +6 -6
  2. package/README.md +2 -2
  3. package/api/categories-api.ts +30 -30
  4. package/api/statuses-api.ts +30 -30
  5. package/api/tasks-api.ts +30 -30
  6. package/dist/api/categories-api.d.ts +22 -22
  7. package/dist/api/categories-api.js +20 -20
  8. package/dist/api/statuses-api.d.ts +22 -22
  9. package/dist/api/statuses-api.js +20 -20
  10. package/dist/api/tasks-api.d.ts +22 -22
  11. package/dist/api/tasks-api.js +20 -20
  12. package/dist/models/index.d.ts +6 -6
  13. package/dist/models/index.js +6 -6
  14. package/dist/models/{update-category-request-dto.d.ts → patch-category-request-dto.d.ts} +7 -7
  15. package/dist/models/{update-category-response-class.d.ts → patch-category-response-class.d.ts} +3 -3
  16. package/dist/models/{update-status-request-dto.d.ts → patch-status-request-dto.d.ts} +7 -7
  17. package/dist/models/{update-status-response-class.d.ts → patch-status-response-class.d.ts} +3 -3
  18. package/dist/models/patch-task-request-dto.d.ts +108 -0
  19. package/dist/models/{update-task-response-class.d.ts → patch-task-response-class.d.ts} +3 -3
  20. package/models/index.ts +6 -6
  21. package/models/{update-category-request-dto.ts → patch-category-request-dto.ts} +7 -7
  22. package/models/{update-category-response-class.ts → patch-category-response-class.ts} +3 -3
  23. package/models/{update-status-request-dto.ts → patch-status-request-dto.ts} +7 -7
  24. package/models/{update-status-response-class.ts → patch-status-response-class.ts} +3 -3
  25. package/models/patch-task-request-dto.ts +114 -0
  26. package/models/{update-task-response-class.ts → patch-task-response-class.ts} +3 -3
  27. package/package.json +1 -1
  28. package/dist/models/update-task-request-dto.d.ts +0 -72
  29. package/models/update-task-request-dto.ts +0 -78
  30. /package/dist/models/{update-category-request-dto.js → patch-category-request-dto.js} +0 -0
  31. /package/dist/models/{update-category-response-class.js → patch-category-response-class.js} +0 -0
  32. /package/dist/models/{update-status-request-dto.js → patch-status-request-dto.js} +0 -0
  33. /package/dist/models/{update-status-response-class.js → patch-status-response-class.js} +0 -0
  34. /package/dist/models/{update-task-request-dto.js → patch-task-request-dto.js} +0 -0
  35. /package/dist/models/{update-task-response-class.js → patch-task-response-class.js} +0 -0
@@ -12,25 +12,25 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface UpdateCategoryRequestDto
15
+ * @interface PatchCategoryRequestDto
16
16
  */
17
- export interface UpdateCategoryRequestDto {
17
+ export interface PatchCategoryRequestDto {
18
18
  /**
19
19
  * Category code: unique identifier of the category
20
20
  * @type {string}
21
- * @memberof UpdateCategoryRequestDto
21
+ * @memberof PatchCategoryRequestDto
22
22
  */
23
23
  'code': string;
24
24
  /**
25
25
  * Category name: display name of the category
26
26
  * @type {string}
27
- * @memberof UpdateCategoryRequestDto
27
+ * @memberof PatchCategoryRequestDto
28
28
  */
29
- 'name': string;
29
+ 'name'?: string;
30
30
  /**
31
31
  * Category slug: URL-friendly identifier
32
32
  * @type {string}
33
- * @memberof UpdateCategoryRequestDto
33
+ * @memberof PatchCategoryRequestDto
34
34
  */
35
- 'slug': string;
35
+ 'slug'?: string;
36
36
  }
@@ -13,13 +13,13 @@ import { CategoryClass } from './category-class';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface UpdateCategoryResponseClass
16
+ * @interface PatchCategoryResponseClass
17
17
  */
18
- export interface UpdateCategoryResponseClass {
18
+ export interface PatchCategoryResponseClass {
19
19
  /**
20
20
  * category
21
21
  * @type {CategoryClass}
22
- * @memberof UpdateCategoryResponseClass
22
+ * @memberof PatchCategoryResponseClass
23
23
  */
24
24
  'category'?: CategoryClass;
25
25
  }
@@ -12,25 +12,25 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface UpdateStatusRequestDto
15
+ * @interface PatchStatusRequestDto
16
16
  */
17
- export interface UpdateStatusRequestDto {
17
+ export interface PatchStatusRequestDto {
18
18
  /**
19
19
  * Status code: unique identifier of the status
20
20
  * @type {string}
21
- * @memberof UpdateStatusRequestDto
21
+ * @memberof PatchStatusRequestDto
22
22
  */
23
23
  'code': string;
24
24
  /**
25
25
  * Status name: display name of the status
26
26
  * @type {string}
27
- * @memberof UpdateStatusRequestDto
27
+ * @memberof PatchStatusRequestDto
28
28
  */
29
- 'name': string;
29
+ 'name'?: string;
30
30
  /**
31
31
  * Status slug: URL-friendly identifier
32
32
  * @type {string}
33
- * @memberof UpdateStatusRequestDto
33
+ * @memberof PatchStatusRequestDto
34
34
  */
35
- 'slug': string;
35
+ 'slug'?: string;
36
36
  }
@@ -13,13 +13,13 @@ import { StatusClass } from './status-class';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface UpdateStatusResponseClass
16
+ * @interface PatchStatusResponseClass
17
17
  */
18
- export interface UpdateStatusResponseClass {
18
+ export interface PatchStatusResponseClass {
19
19
  /**
20
20
  * status
21
21
  * @type {StatusClass}
22
- * @memberof UpdateStatusResponseClass
22
+ * @memberof PatchStatusResponseClass
23
23
  */
24
24
  'status'?: StatusClass;
25
25
  }
@@ -0,0 +1,108 @@
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 slug
44
+ * @type {string}
45
+ * @memberof PatchTaskRequestDto
46
+ */
47
+ 'categorySlug'?: 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 category.
86
+ * @type {boolean}
87
+ * @memberof PatchTaskRequestDto
88
+ */
89
+ 'clearCategory'?: 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
+ }
@@ -13,13 +13,13 @@ import { TaskClass } from './task-class';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface UpdateTaskResponseClass
16
+ * @interface PatchTaskResponseClass
17
17
  */
18
- export interface UpdateTaskResponseClass {
18
+ export interface PatchTaskResponseClass {
19
19
  /**
20
20
  * task
21
21
  * @type {TaskClass}
22
- * @memberof UpdateTaskResponseClass
22
+ * @memberof PatchTaskResponseClass
23
23
  */
24
24
  'task'?: TaskClass;
25
25
  }
package/models/index.ts CHANGED
@@ -18,11 +18,11 @@ export * from './inline-response503';
18
18
  export * from './list-categories-response-class';
19
19
  export * from './list-statuses-response-class';
20
20
  export * from './list-tasks-response-class';
21
+ export * from './patch-category-request-dto';
22
+ export * from './patch-category-response-class';
23
+ export * from './patch-status-request-dto';
24
+ export * from './patch-status-response-class';
25
+ export * from './patch-task-request-dto';
26
+ export * from './patch-task-response-class';
21
27
  export * from './status-class';
22
28
  export * from './task-class';
23
- export * from './update-category-request-dto';
24
- export * from './update-category-response-class';
25
- export * from './update-status-request-dto';
26
- export * from './update-status-response-class';
27
- export * from './update-task-request-dto';
28
- export * from './update-task-response-class';
@@ -17,26 +17,26 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface UpdateCategoryRequestDto
20
+ * @interface PatchCategoryRequestDto
21
21
  */
22
- export interface UpdateCategoryRequestDto {
22
+ export interface PatchCategoryRequestDto {
23
23
  /**
24
24
  * Category code: unique identifier of the category
25
25
  * @type {string}
26
- * @memberof UpdateCategoryRequestDto
26
+ * @memberof PatchCategoryRequestDto
27
27
  */
28
28
  'code': string;
29
29
  /**
30
30
  * Category name: display name of the category
31
31
  * @type {string}
32
- * @memberof UpdateCategoryRequestDto
32
+ * @memberof PatchCategoryRequestDto
33
33
  */
34
- 'name': string;
34
+ 'name'?: string;
35
35
  /**
36
36
  * Category slug: URL-friendly identifier
37
37
  * @type {string}
38
- * @memberof UpdateCategoryRequestDto
38
+ * @memberof PatchCategoryRequestDto
39
39
  */
40
- 'slug': string;
40
+ 'slug'?: string;
41
41
  }
42
42
 
@@ -18,13 +18,13 @@ import { CategoryClass } from './category-class';
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface UpdateCategoryResponseClass
21
+ * @interface PatchCategoryResponseClass
22
22
  */
23
- export interface UpdateCategoryResponseClass {
23
+ export interface PatchCategoryResponseClass {
24
24
  /**
25
25
  * category
26
26
  * @type {CategoryClass}
27
- * @memberof UpdateCategoryResponseClass
27
+ * @memberof PatchCategoryResponseClass
28
28
  */
29
29
  'category'?: CategoryClass;
30
30
  }
@@ -17,26 +17,26 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface UpdateStatusRequestDto
20
+ * @interface PatchStatusRequestDto
21
21
  */
22
- export interface UpdateStatusRequestDto {
22
+ export interface PatchStatusRequestDto {
23
23
  /**
24
24
  * Status code: unique identifier of the status
25
25
  * @type {string}
26
- * @memberof UpdateStatusRequestDto
26
+ * @memberof PatchStatusRequestDto
27
27
  */
28
28
  'code': string;
29
29
  /**
30
30
  * Status name: display name of the status
31
31
  * @type {string}
32
- * @memberof UpdateStatusRequestDto
32
+ * @memberof PatchStatusRequestDto
33
33
  */
34
- 'name': string;
34
+ 'name'?: string;
35
35
  /**
36
36
  * Status slug: URL-friendly identifier
37
37
  * @type {string}
38
- * @memberof UpdateStatusRequestDto
38
+ * @memberof PatchStatusRequestDto
39
39
  */
40
- 'slug': string;
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 UpdateStatusResponseClass
21
+ * @interface PatchStatusResponseClass
22
22
  */
23
- export interface UpdateStatusResponseClass {
23
+ export interface PatchStatusResponseClass {
24
24
  /**
25
25
  * status
26
26
  * @type {StatusClass}
27
- * @memberof UpdateStatusResponseClass
27
+ * @memberof PatchStatusResponseClass
28
28
  */
29
29
  'status'?: StatusClass;
30
30
  }
@@ -0,0 +1,114 @@
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 slug
49
+ * @type {string}
50
+ * @memberof PatchTaskRequestDto
51
+ */
52
+ 'categorySlug'?: 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 category.
91
+ * @type {boolean}
92
+ * @memberof PatchTaskRequestDto
93
+ */
94
+ 'clearCategory'?: 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
+
@@ -18,13 +18,13 @@ import { TaskClass } from './task-class';
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface UpdateTaskResponseClass
21
+ * @interface PatchTaskResponseClass
22
22
  */
23
- export interface UpdateTaskResponseClass {
23
+ export interface PatchTaskResponseClass {
24
24
  /**
25
25
  * task
26
26
  * @type {TaskClass}
27
- * @memberof UpdateTaskResponseClass
27
+ * @memberof PatchTaskResponseClass
28
28
  */
29
29
  'task'?: TaskClass;
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/task-sdk-node",
3
- "version": "1.0.1-beta.4",
3
+ "version": "1.0.1-beta.5",
4
4
  "description": "OpenAPI client for @emilgroup/task-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,72 +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 UpdateTaskRequestDto
16
- */
17
- export interface UpdateTaskRequestDto {
18
- /**
19
- * Task code: unique identifier of the task
20
- * @type {string}
21
- * @memberof UpdateTaskRequestDto
22
- */
23
- 'code': string;
24
- /**
25
- * Task subject: title of the task
26
- * @type {string}
27
- * @memberof UpdateTaskRequestDto
28
- */
29
- 'subject': string;
30
- /**
31
- * Task description: detailed description of the task
32
- * @type {string}
33
- * @memberof UpdateTaskRequestDto
34
- */
35
- 'description': string;
36
- /**
37
- * Task assignee: person assigned to the task
38
- * @type {string}
39
- * @memberof UpdateTaskRequestDto
40
- */
41
- 'assignee': string;
42
- /**
43
- * Task category slug
44
- * @type {string}
45
- * @memberof UpdateTaskRequestDto
46
- */
47
- 'categorySlug'?: string;
48
- /**
49
- * Task status slug
50
- * @type {string}
51
- * @memberof UpdateTaskRequestDto
52
- */
53
- 'statusSlug'?: string;
54
- /**
55
- * Task priority
56
- * @type {string}
57
- * @memberof UpdateTaskRequestDto
58
- */
59
- 'priority'?: string | null;
60
- /**
61
- * Task reporter: person who reported the task
62
- * @type {string}
63
- * @memberof UpdateTaskRequestDto
64
- */
65
- 'reporter'?: string | null;
66
- /**
67
- * Task due date
68
- * @type {string}
69
- * @memberof UpdateTaskRequestDto
70
- */
71
- 'dueDate'?: string | null;
72
- }
@@ -1,78 +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 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
-