@emilgroup/task-sdk-node 1.0.1-beta.1 → 1.0.1-beta.11

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 (72) hide show
  1. package/.openapi-generator/FILES +9 -11
  2. package/README.md +2 -2
  3. package/api/assignees-api.ts +166 -0
  4. package/api/categories-api.ts +74 -60
  5. package/api/statuses-api.ts +70 -56
  6. package/api/tasks-api.ts +105 -63
  7. package/api.ts +2 -2
  8. package/dist/api/assignees-api.d.ts +96 -0
  9. package/dist/api/{priorities-api.js → assignees-api.js} +41 -141
  10. package/dist/api/categories-api.d.ts +58 -49
  11. package/dist/api/categories-api.js +53 -47
  12. package/dist/api/statuses-api.d.ts +54 -45
  13. package/dist/api/statuses-api.js +49 -43
  14. package/dist/api/tasks-api.d.ts +77 -50
  15. package/dist/api/tasks-api.js +66 -48
  16. package/dist/api.d.ts +1 -1
  17. package/dist/api.js +1 -1
  18. package/dist/models/{create-priority-request-dto.d.ts → assignee-class.d.ts} +5 -5
  19. package/dist/models/category-class.d.ts +6 -0
  20. package/dist/models/create-category-request-dto.d.ts +7 -1
  21. package/dist/models/create-status-request-dto.d.ts +7 -1
  22. package/dist/models/create-task-request-dto.d.ts +31 -13
  23. package/dist/models/create-task-request-dto.js +6 -0
  24. package/dist/models/index.d.ts +8 -10
  25. package/dist/models/index.js +8 -10
  26. package/dist/models/list-assignees-response-class.d.ts +43 -0
  27. package/dist/models/patch-category-request-dto.d.ts +36 -0
  28. package/dist/models/{update-category-response-class.d.ts → patch-category-response-class.d.ts} +3 -3
  29. package/dist/models/{update-status-request-dto.d.ts → patch-status-request-dto.d.ts} +13 -7
  30. package/dist/models/{update-status-response-class.d.ts → patch-status-response-class.d.ts} +3 -3
  31. package/dist/models/patch-task-request-dto.d.ts +108 -0
  32. package/dist/models/{update-task-response-class.d.ts → patch-task-response-class.d.ts} +3 -3
  33. package/dist/models/status-class.d.ts +6 -0
  34. package/dist/models/task-class.d.ts +25 -8
  35. package/dist/models/task-class.js +6 -0
  36. package/models/{create-priority-request-dto.ts → assignee-class.ts} +5 -5
  37. package/models/category-class.ts +6 -0
  38. package/models/create-category-request-dto.ts +7 -1
  39. package/models/create-status-request-dto.ts +7 -1
  40. package/models/create-task-request-dto.ts +34 -13
  41. package/models/index.ts +8 -10
  42. package/models/list-assignees-response-class.ts +49 -0
  43. package/models/{update-category-request-dto.ts → patch-category-request-dto.ts} +13 -7
  44. package/models/{update-category-response-class.ts → patch-category-response-class.ts} +3 -3
  45. package/models/{update-status-request-dto.ts → patch-status-request-dto.ts} +13 -7
  46. package/models/{update-status-response-class.ts → patch-status-response-class.ts} +3 -3
  47. package/models/patch-task-request-dto.ts +114 -0
  48. package/models/{update-task-response-class.ts → patch-task-response-class.ts} +3 -3
  49. package/models/status-class.ts +6 -0
  50. package/models/task-class.ts +28 -8
  51. package/package.json +1 -1
  52. package/api/priorities-api.ts +0 -288
  53. package/dist/api/priorities-api.d.ts +0 -162
  54. package/dist/models/create-priority-response-class.d.ts +0 -25
  55. package/dist/models/get-priority-response-class.d.ts +0 -25
  56. package/dist/models/priority-class.d.ts +0 -60
  57. package/dist/models/update-category-request-dto.d.ts +0 -30
  58. package/dist/models/update-task-request-dto.d.ts +0 -60
  59. package/dist/models/update-task-request-dto.js +0 -15
  60. package/dist/models/update-task-response-class.js +0 -15
  61. package/models/create-priority-response-class.ts +0 -31
  62. package/models/get-priority-response-class.ts +0 -31
  63. package/models/priority-class.ts +0 -66
  64. package/models/update-task-request-dto.ts +0 -66
  65. /package/dist/models/{create-priority-request-dto.js → assignee-class.js} +0 -0
  66. /package/dist/models/{create-priority-response-class.js → list-assignees-response-class.js} +0 -0
  67. /package/dist/models/{get-priority-response-class.js → patch-category-request-dto.js} +0 -0
  68. /package/dist/models/{priority-class.js → patch-category-response-class.js} +0 -0
  69. /package/dist/models/{update-category-request-dto.js → patch-status-request-dto.js} +0 -0
  70. /package/dist/models/{update-category-response-class.js → patch-status-response-class.js} +0 -0
  71. /package/dist/models/{update-status-request-dto.js → patch-task-request-dto.js} +0 -0
  72. /package/dist/models/{update-status-response-class.js → patch-task-response-class.js} +0 -0
@@ -0,0 +1,36 @@
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 PatchCategoryRequestDto
16
+ */
17
+ export interface PatchCategoryRequestDto {
18
+ /**
19
+ * Category code: unique identifier of the category
20
+ * @type {string}
21
+ * @memberof PatchCategoryRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Category name: display name of the category
26
+ * @type {string}
27
+ * @memberof PatchCategoryRequestDto
28
+ */
29
+ 'name'?: string;
30
+ /**
31
+ * Category slug: URL-friendly identifier
32
+ * @type {string}
33
+ * @memberof PatchCategoryRequestDto
34
+ */
35
+ 'slug'?: string;
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,19 +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
- * code
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
- * name
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
+ /**
31
+ * Status slug: URL-friendly identifier
32
+ * @type {string}
33
+ * @memberof PatchStatusRequestDto
34
+ */
35
+ 'slug'?: string;
30
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 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
+ }
@@ -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
  }
@@ -57,4 +57,10 @@ export interface StatusClass {
57
57
  * @memberof StatusClass
58
58
  */
59
59
  'updatedAt'?: string;
60
+ /**
61
+ * slug
62
+ * @type {string}
63
+ * @memberof StatusClass
64
+ */
65
+ 'slug': string;
60
66
  }
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CategoryClass } from './category-class';
13
- import { PriorityClass } from './priority-class';
14
13
  import { StatusClass } from './status-class';
15
14
  /**
16
15
  *
@@ -47,13 +46,13 @@ export interface TaskClass {
47
46
  * @type {string}
48
47
  * @memberof TaskClass
49
48
  */
50
- 'assignee': string;
49
+ 'assignee'?: string;
51
50
  /**
52
- * category
53
- * @type {CategoryClass}
51
+ * categories
52
+ * @type {Array<CategoryClass>}
54
53
  * @memberof TaskClass
55
54
  */
56
- 'category'?: CategoryClass;
55
+ 'categories': Array<CategoryClass>;
57
56
  /**
58
57
  * status
59
58
  * @type {StatusClass}
@@ -61,11 +60,23 @@ export interface TaskClass {
61
60
  */
62
61
  'status'?: StatusClass;
63
62
  /**
64
- * priority
65
- * @type {PriorityClass}
63
+ * Task priority
64
+ * @type {string}
65
+ * @memberof TaskClass
66
+ */
67
+ 'priority': TaskClassPriorityEnum;
68
+ /**
69
+ * Task reporter: person who reported the task
70
+ * @type {string}
71
+ * @memberof TaskClass
72
+ */
73
+ 'reporter'?: string;
74
+ /**
75
+ * Task due date
76
+ * @type {string}
66
77
  * @memberof TaskClass
67
78
  */
68
- 'priority'?: PriorityClass;
79
+ 'dueDate'?: string;
69
80
  /**
70
81
  * createdBy
71
82
  * @type {string}
@@ -97,3 +108,9 @@ export interface TaskClass {
97
108
  */
98
109
  'updatedAt'?: string;
99
110
  }
111
+ export declare const TaskClassPriorityEnum: {
112
+ readonly Low: "LOW";
113
+ readonly Medium: "MEDIUM";
114
+ readonly High: "HIGH";
115
+ };
116
+ export type TaskClassPriorityEnum = typeof TaskClassPriorityEnum[keyof typeof TaskClassPriorityEnum];
@@ -13,3 +13,9 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TaskClassPriorityEnum = void 0;
17
+ exports.TaskClassPriorityEnum = {
18
+ Low: 'LOW',
19
+ Medium: 'MEDIUM',
20
+ High: 'HIGH'
21
+ };
@@ -17,14 +17,14 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface CreatePriorityRequestDto
20
+ * @interface AssigneeClass
21
21
  */
22
- export interface CreatePriorityRequestDto {
22
+ export interface AssigneeClass {
23
23
  /**
24
- * level
24
+ * Assignee code/identifier
25
25
  * @type {string}
26
- * @memberof CreatePriorityRequestDto
26
+ * @memberof AssigneeClass
27
27
  */
28
- 'level': string;
28
+ 'code': string;
29
29
  }
30
30
 
@@ -62,5 +62,11 @@ export interface CategoryClass {
62
62
  * @memberof CategoryClass
63
63
  */
64
64
  'updatedAt'?: string;
65
+ /**
66
+ * slug
67
+ * @type {string}
68
+ * @memberof CategoryClass
69
+ */
70
+ 'slug': string;
65
71
  }
66
72
 
@@ -21,10 +21,16 @@
21
21
  */
22
22
  export interface CreateCategoryRequestDto {
23
23
  /**
24
- * name
24
+ * Category name: display name of the category
25
25
  * @type {string}
26
26
  * @memberof CreateCategoryRequestDto
27
27
  */
28
28
  'name': string;
29
+ /**
30
+ * Category slug: URL-friendly identifier (auto-generated from name if not provided)
31
+ * @type {string}
32
+ * @memberof CreateCategoryRequestDto
33
+ */
34
+ 'slug'?: string;
29
35
  }
30
36
 
@@ -21,10 +21,16 @@
21
21
  */
22
22
  export interface CreateStatusRequestDto {
23
23
  /**
24
- * name
24
+ * Task status name: display name of the status
25
25
  * @type {string}
26
26
  * @memberof CreateStatusRequestDto
27
27
  */
28
28
  'name': string;
29
+ /**
30
+ * Task status slug - URL-friendly identifier (auto-generated from name if not provided)
31
+ * @type {string}
32
+ * @memberof CreateStatusRequestDto
33
+ */
34
+ 'slug'?: string;
29
35
  }
30
36
 
@@ -21,40 +21,61 @@
21
21
  */
22
22
  export interface CreateTaskRequestDto {
23
23
  /**
24
- * subject
24
+ * Task subject: title of the task
25
25
  * @type {string}
26
26
  * @memberof CreateTaskRequestDto
27
27
  */
28
28
  'subject': string;
29
29
  /**
30
- * description
30
+ * Task description: detailed description of the task
31
31
  * @type {string}
32
32
  * @memberof CreateTaskRequestDto
33
33
  */
34
34
  'description': string;
35
35
  /**
36
- * assignee
36
+ * Task assignee user code: person assigned to the task
37
37
  * @type {string}
38
38
  * @memberof CreateTaskRequestDto
39
39
  */
40
- 'assignee': string;
40
+ 'assignee'?: string;
41
41
  /**
42
- * categoryId
43
- * @type {number}
42
+ * Task category slugs (array of category slugs)
43
+ * @type {Array<string>}
44
44
  * @memberof CreateTaskRequestDto
45
45
  */
46
- 'categoryId'?: number | null;
46
+ 'categorySlugs': Array<string>;
47
47
  /**
48
- * statusId
49
- * @type {number}
48
+ * Task status slug
49
+ * @type {string}
50
50
  * @memberof CreateTaskRequestDto
51
51
  */
52
- 'statusId'?: number | null;
52
+ 'statusSlug'?: string;
53
53
  /**
54
- * priorityId
55
- * @type {number}
54
+ * Task priority
55
+ * @type {string}
56
56
  * @memberof CreateTaskRequestDto
57
57
  */
58
- 'priorityId'?: number | null;
58
+ 'priority'?: CreateTaskRequestDtoPriorityEnum;
59
+ /**
60
+ * Task reporter user code: person who reported the task
61
+ * @type {string}
62
+ * @memberof CreateTaskRequestDto
63
+ */
64
+ 'reporter'?: string;
65
+ /**
66
+ * Task due date.
67
+ * @type {string}
68
+ * @memberof CreateTaskRequestDto
69
+ */
70
+ 'dueDate'?: string;
59
71
  }
60
72
 
73
+ export const CreateTaskRequestDtoPriorityEnum = {
74
+ Low: 'LOW',
75
+ Medium: 'MEDIUM',
76
+ High: 'HIGH'
77
+ } as const;
78
+
79
+ export type CreateTaskRequestDtoPriorityEnum = typeof CreateTaskRequestDtoPriorityEnum[keyof typeof CreateTaskRequestDtoPriorityEnum];
80
+
81
+
package/models/index.ts CHANGED
@@ -1,16 +1,14 @@
1
+ export * from './assignee-class';
1
2
  export * from './category-class';
2
3
  export * from './create-category-request-dto';
3
4
  export * from './create-category-response-class';
4
5
  export * from './create-hub-spot-ticket-request-dto';
5
6
  export * from './create-hub-spot-ticket-response-class';
6
- export * from './create-priority-request-dto';
7
- export * from './create-priority-response-class';
8
7
  export * from './create-status-request-dto';
9
8
  export * from './create-status-response-class';
10
9
  export * from './create-task-request-dto';
11
10
  export * from './create-task-response-class';
12
11
  export * from './get-category-response-class';
13
- export * from './get-priority-response-class';
14
12
  export * from './get-status-response-class';
15
13
  export * from './get-task-response-class';
16
14
  export * from './hub-spot-ticket-class';
@@ -18,15 +16,15 @@ export * from './hub-spot-ticket-error-class';
18
16
  export * from './hub-spot-ticket-name-value-dto';
19
17
  export * from './inline-response200';
20
18
  export * from './inline-response503';
19
+ export * from './list-assignees-response-class';
21
20
  export * from './list-categories-response-class';
22
21
  export * from './list-statuses-response-class';
23
22
  export * from './list-tasks-response-class';
24
- export * from './priority-class';
23
+ export * from './patch-category-request-dto';
24
+ export * from './patch-category-response-class';
25
+ export * from './patch-status-request-dto';
26
+ export * from './patch-status-response-class';
27
+ export * from './patch-task-request-dto';
28
+ export * from './patch-task-response-class';
25
29
  export * from './status-class';
26
30
  export * from './task-class';
27
- export * from './update-category-request-dto';
28
- export * from './update-category-response-class';
29
- export * from './update-status-request-dto';
30
- export * from './update-status-response-class';
31
- export * from './update-task-request-dto';
32
- export * from './update-task-response-class';
@@ -0,0 +1,49 @@
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 { AssigneeClass } from './assignee-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListAssigneesResponseClass
22
+ */
23
+ export interface ListAssigneesResponseClass {
24
+ /**
25
+ * List of assignees
26
+ * @type {Array<AssigneeClass>}
27
+ * @memberof ListAssigneesResponseClass
28
+ */
29
+ 'items': Array<AssigneeClass>;
30
+ /**
31
+ * Token for next page
32
+ * @type {string}
33
+ * @memberof ListAssigneesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Number of items per page
38
+ * @type {number}
39
+ * @memberof ListAssigneesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total number of items
44
+ * @type {number}
45
+ * @memberof ListAssigneesResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -17,20 +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
- * code
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
- * name
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
+ /**
36
+ * Category slug: URL-friendly identifier
37
+ * @type {string}
38
+ * @memberof PatchCategoryRequestDto
39
+ */
40
+ 'slug'?: string;
35
41
  }
36
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,20 +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
- * code
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
- * name
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
+ /**
36
+ * Status slug: URL-friendly identifier
37
+ * @type {string}
38
+ * @memberof PatchStatusRequestDto
39
+ */
40
+ 'slug'?: string;
35
41
  }
36
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
  }