@emilgroup/task-sdk-node 1.0.1-beta.3 → 1.0.1-beta.34
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 +9 -6
- package/README.md +2 -2
- package/api/assignees-api.ts +166 -0
- package/api/categories-api.ts +111 -85
- package/api/default-api.ts +1 -1
- package/api/hub-spot-api.ts +4 -4
- package/api/statuses-api.ts +71 -73
- package/api/tasks-api.ts +119 -93
- package/api.ts +2 -0
- package/dist/api/assignees-api.d.ts +96 -0
- package/dist/api/assignees-api.js +228 -0
- package/dist/api/categories-api.d.ts +83 -65
- package/dist/api/categories-api.js +75 -65
- package/dist/api/default-api.js +1 -1
- package/dist/api/hub-spot-api.d.ts +4 -4
- package/dist/api/hub-spot-api.js +4 -4
- package/dist/api/statuses-api.d.ts +60 -60
- package/dist/api/statuses-api.js +54 -56
- package/dist/api/tasks-api.d.ts +91 -73
- package/dist/api/tasks-api.js +81 -71
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/assignee-class.d.ts +24 -0
- package/dist/models/create-status-request-dto.d.ts +6 -0
- package/dist/models/create-task-request-dto.d.ts +4 -4
- package/dist/models/index.d.ts +8 -6
- package/dist/models/index.js +8 -6
- package/dist/models/list-assignees-response-class.d.ts +43 -0
- package/dist/models/{update-category-request-dto.d.ts → patch-category-request-dto.d.ts} +7 -7
- package/dist/models/{update-category-response-class.d.ts → patch-category-response-class.d.ts} +3 -3
- package/dist/models/{update-status-request-dto.d.ts → patch-status-request-dto.d.ts} +13 -7
- package/dist/models/{update-status-response-class.d.ts → patch-status-response-class.d.ts} +3 -3
- package/dist/models/patch-task-request-dto.d.ts +114 -0
- package/dist/models/patch-task-request-dto.js +15 -0
- package/dist/models/{update-task-response-class.d.ts → patch-task-response-class.d.ts} +3 -3
- package/dist/models/patch-task-response-class.js +15 -0
- package/dist/models/status-class.d.ts +6 -0
- package/dist/models/task-class.d.ts +16 -4
- package/models/assignee-class.ts +30 -0
- package/models/create-status-request-dto.ts +6 -0
- package/models/create-task-request-dto.ts +4 -4
- package/models/index.ts +8 -6
- package/models/list-assignees-response-class.ts +49 -0
- package/models/{update-category-request-dto.ts → patch-category-request-dto.ts} +7 -7
- package/models/{update-category-response-class.ts → patch-category-response-class.ts} +3 -3
- package/models/{update-status-request-dto.ts → patch-status-request-dto.ts} +13 -7
- package/models/{update-status-response-class.ts → patch-status-response-class.ts} +3 -3
- package/models/patch-task-request-dto.ts +120 -0
- package/models/{update-task-response-class.ts → patch-task-response-class.ts} +3 -3
- package/models/status-class.ts +6 -0
- package/models/task-class.ts +16 -4
- package/package.json +2 -2
- package/dist/models/update-task-request-dto.d.ts +0 -72
- package/models/update-task-request-dto.ts +0 -78
- /package/dist/models/{update-category-request-dto.js → assignee-class.js} +0 -0
- /package/dist/models/{update-category-response-class.js → list-assignees-response-class.js} +0 -0
- /package/dist/models/{update-status-request-dto.js → patch-category-request-dto.js} +0 -0
- /package/dist/models/{update-status-response-class.js → patch-category-response-class.js} +0 -0
- /package/dist/models/{update-task-request-dto.js → patch-status-request-dto.js} +0 -0
- /package/dist/models/{update-task-response-class.js → patch-status-response-class.js} +0 -0
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface PatchCategoryRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface PatchCategoryRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
* Category code: unique identifier of the category
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
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
|
|
27
|
+
* @memberof PatchCategoryRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'name'
|
|
29
|
+
'name'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Category slug: URL-friendly identifier
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof PatchCategoryRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'slug'
|
|
35
|
+
'slug'?: string;
|
|
36
36
|
}
|
package/dist/models/{update-category-response-class.d.ts → patch-category-response-class.d.ts}
RENAMED
|
@@ -13,13 +13,13 @@ import { CategoryClass } from './category-class';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface PatchCategoryResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface PatchCategoryResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* category
|
|
21
21
|
* @type {CategoryClass}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof PatchCategoryResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'category'?: CategoryClass;
|
|
25
25
|
}
|
|
@@ -12,25 +12,31 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface PatchStatusRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface PatchStatusRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
* Status code: unique identifier of the status
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
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
|
|
27
|
+
* @memberof PatchStatusRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'name'
|
|
29
|
+
'name'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Status slug: URL-friendly identifier
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof PatchStatusRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'slug'
|
|
35
|
+
'slug'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Sort order for workflow display (must be unique per tenant). Lower values appear first.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PatchStatusRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'sortOrder'?: number;
|
|
36
42
|
}
|
|
@@ -13,13 +13,13 @@ import { StatusClass } from './status-class';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface PatchStatusResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface PatchStatusResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* status
|
|
21
21
|
* @type {StatusClass}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof PatchStatusResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'status'?: StatusClass;
|
|
25
25
|
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
* Entity version for optimistic locking. If provided, update fails if version does not match current version.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PatchTaskRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'version'?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Task subject: title of the task
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchTaskRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'subject'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Task description: detailed description of the task
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchTaskRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'description'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Task assignee: person assigned to the task
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PatchTaskRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'assignee'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Task category slugs (array of category slugs)
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof PatchTaskRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'categorySlugs'?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Task status slug
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PatchTaskRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'statusSlug'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Task priority
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PatchTaskRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'priority'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Task reporter: person who reported the task
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PatchTaskRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'reporter'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Task due date
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PatchTaskRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'dueDate'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Set to true to clear/remove the due date.
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof PatchTaskRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'clearDueDate'?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Set to true to clear/remove the assignee.
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof PatchTaskRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'clearAssignee'?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Set to true to clear/remove the categories.
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof PatchTaskRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'clearCategories'?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Set to true to clear/remove the status.
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof PatchTaskRequestDto
|
|
100
|
+
*/
|
|
101
|
+
'clearStatus'?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Set to true to clear/remove the priority.
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof PatchTaskRequestDto
|
|
106
|
+
*/
|
|
107
|
+
'clearPriority'?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Set to true to clear/remove the reporter.
|
|
110
|
+
* @type {boolean}
|
|
111
|
+
* @memberof PatchTaskRequestDto
|
|
112
|
+
*/
|
|
113
|
+
'clearReporter'?: boolean;
|
|
114
|
+
}
|
|
@@ -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 });
|
|
@@ -13,13 +13,13 @@ import { TaskClass } from './task-class';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface PatchTaskResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface PatchTaskResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* task
|
|
21
21
|
* @type {TaskClass}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof PatchTaskResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'task'?: TaskClass;
|
|
25
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 });
|
|
@@ -48,13 +48,25 @@ export interface TaskClass {
|
|
|
48
48
|
*/
|
|
49
49
|
'assignee'?: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {
|
|
51
|
+
* Category slugs
|
|
52
|
+
* @type {Array<string>}
|
|
53
53
|
* @memberof TaskClass
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'categorySlugs'?: Array<string>;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Status slug (always returned)
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof TaskClass
|
|
60
|
+
*/
|
|
61
|
+
'statusSlug': string;
|
|
62
|
+
/**
|
|
63
|
+
* categories (only populated when expand=categories)
|
|
64
|
+
* @type {Array<CategoryClass>}
|
|
65
|
+
* @memberof TaskClass
|
|
66
|
+
*/
|
|
67
|
+
'categories'?: Array<CategoryClass>;
|
|
68
|
+
/**
|
|
69
|
+
* status (only populated when expand=status)
|
|
58
70
|
* @type {StatusClass}
|
|
59
71
|
* @memberof TaskClass
|
|
60
72
|
*/
|
|
@@ -0,0 +1,30 @@
|
|
|
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 AssigneeClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AssigneeClass {
|
|
23
|
+
/**
|
|
24
|
+
* Assignee code/identifier
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AssigneeClass
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -32,5 +32,11 @@ export interface CreateStatusRequestDto {
|
|
|
32
32
|
* @memberof CreateStatusRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'slug'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Sort order for workflow display (must be unique per tenant). Lower values appear first.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CreateStatusRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'sortOrder': number;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -39,17 +39,17 @@ export interface CreateTaskRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'assignee'?: string;
|
|
41
41
|
/**
|
|
42
|
-
* Task category
|
|
43
|
-
* @type {string}
|
|
42
|
+
* Task category slugs (array of category slugs)
|
|
43
|
+
* @type {Array<string>}
|
|
44
44
|
* @memberof CreateTaskRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'categorySlugs'?: Array<string>;
|
|
47
47
|
/**
|
|
48
48
|
* Task status slug
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof CreateTaskRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'statusSlug'
|
|
52
|
+
'statusSlug': string;
|
|
53
53
|
/**
|
|
54
54
|
* Task priority
|
|
55
55
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
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';
|
|
@@ -15,14 +16,15 @@ export * from './hub-spot-ticket-error-class';
|
|
|
15
16
|
export * from './hub-spot-ticket-name-value-dto';
|
|
16
17
|
export * from './inline-response200';
|
|
17
18
|
export * from './inline-response503';
|
|
19
|
+
export * from './list-assignees-response-class';
|
|
18
20
|
export * from './list-categories-response-class';
|
|
19
21
|
export * from './list-statuses-response-class';
|
|
20
22
|
export * from './list-tasks-response-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';
|
|
21
29
|
export * from './status-class';
|
|
22
30
|
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';
|
|
@@ -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,26 +17,26 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface PatchCategoryRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface PatchCategoryRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* Category code: unique identifier of the category
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
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
|
|
32
|
+
* @memberof PatchCategoryRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'name'
|
|
34
|
+
'name'?: string;
|
|
35
35
|
/**
|
|
36
36
|
* Category slug: URL-friendly identifier
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof PatchCategoryRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'slug'
|
|
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
|
|
21
|
+
* @interface PatchCategoryResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface PatchCategoryResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* category
|
|
26
26
|
* @type {CategoryClass}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof PatchCategoryResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'category'?: CategoryClass;
|
|
30
30
|
}
|
|
@@ -17,26 +17,32 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface PatchStatusRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface PatchStatusRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* Status code: unique identifier of the status
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
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
|
|
32
|
+
* @memberof PatchStatusRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'name'
|
|
34
|
+
'name'?: string;
|
|
35
35
|
/**
|
|
36
36
|
* Status slug: URL-friendly identifier
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof PatchStatusRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'slug'
|
|
40
|
+
'slug'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Sort order for workflow display (must be unique per tenant). Lower values appear first.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof PatchStatusRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'sortOrder'?: number;
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -18,13 +18,13 @@ import { StatusClass } from './status-class';
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface PatchStatusResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface PatchStatusResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* status
|
|
26
26
|
* @type {StatusClass}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof PatchStatusResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'status'?: StatusClass;
|
|
30
30
|
}
|