@emilgroup/task-sdk-node 1.0.3 → 1.2.0
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 +49 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +84 -1
- package/api/assignees-api.ts +166 -0
- package/api/categories-api.ts +695 -0
- package/api/default-api.ts +128 -0
- package/api/hub-spot-api.ts +169 -0
- package/api/statuses-api.ts +667 -0
- package/api/tasks-api.ts +695 -0
- package/api.ts +41 -0
- package/base.ts +327 -0
- package/common.ts +199 -0
- package/configuration.ts +118 -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 +393 -0
- package/dist/api/categories-api.js +646 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +204 -0
- package/dist/api/hub-spot-api.d.ts +97 -0
- package/dist/api/hub-spot-api.js +228 -0
- package/dist/api/statuses-api.d.ts +375 -0
- package/dist/api/statuses-api.js +634 -0
- package/dist/api/tasks-api.d.ts +393 -0
- package/dist/api/tasks-api.js +646 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +35 -0
- package/dist/base.d.ts +88 -0
- package/dist/base.js +434 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +96 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/assignee-class.d.ts +24 -0
- package/dist/models/assignee-class.js +15 -0
- package/dist/models/category-class.d.ts +66 -0
- package/dist/models/category-class.js +15 -0
- package/dist/models/create-category-request-dto.d.ts +30 -0
- package/dist/models/create-category-request-dto.js +15 -0
- package/dist/models/create-category-response-class.d.ts +25 -0
- package/dist/models/create-category-response-class.js +15 -0
- package/dist/models/create-hub-spot-ticket-request-dto.d.ts +31 -0
- package/dist/models/create-hub-spot-ticket-request-dto.js +15 -0
- package/dist/models/create-hub-spot-ticket-response-class.d.ts +25 -0
- package/dist/models/create-hub-spot-ticket-response-class.js +15 -0
- package/dist/models/create-status-request-dto.d.ts +36 -0
- package/dist/models/create-status-request-dto.js +15 -0
- package/dist/models/create-status-response-class.d.ts +25 -0
- package/dist/models/create-status-response-class.js +15 -0
- package/dist/models/create-task-request-dto.d.ts +91 -0
- package/dist/models/create-task-request-dto.js +27 -0
- package/dist/models/create-task-response-class.d.ts +25 -0
- package/dist/models/create-task-response-class.js +15 -0
- package/dist/models/get-category-response-class.d.ts +25 -0
- package/dist/models/get-category-response-class.js +15 -0
- package/dist/models/get-status-response-class.d.ts +25 -0
- package/dist/models/get-status-response-class.js +15 -0
- package/dist/models/get-task-response-class.d.ts +25 -0
- package/dist/models/get-task-response-class.js +15 -0
- package/dist/models/hub-spot-ticket-class.d.ts +49 -0
- package/dist/models/hub-spot-ticket-class.js +15 -0
- package/dist/models/hub-spot-ticket-error-class.d.ts +30 -0
- package/dist/models/hub-spot-ticket-error-class.js +15 -0
- package/dist/models/hub-spot-ticket-name-value-dto.d.ts +30 -0
- package/dist/models/hub-spot-ticket-name-value-dto.js +15 -0
- package/dist/models/index.d.ts +30 -0
- package/dist/models/index.js +46 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-assignees-response-class.d.ts +43 -0
- package/dist/models/list-assignees-response-class.js +15 -0
- package/dist/models/list-categories-response-class.d.ts +43 -0
- package/dist/models/list-categories-response-class.js +15 -0
- package/dist/models/list-statuses-response-class.d.ts +43 -0
- package/dist/models/list-statuses-response-class.js +15 -0
- package/dist/models/list-tasks-response-class.d.ts +43 -0
- package/dist/models/list-tasks-response-class.js +15 -0
- package/dist/models/patch-category-request-dto.d.ts +36 -0
- package/dist/models/patch-category-request-dto.js +15 -0
- package/dist/models/patch-category-response-class.d.ts +25 -0
- package/dist/models/patch-category-response-class.js +15 -0
- package/dist/models/patch-status-request-dto.d.ts +42 -0
- package/dist/models/patch-status-request-dto.js +15 -0
- package/dist/models/patch-status-response-class.d.ts +25 -0
- package/dist/models/patch-status-response-class.js +15 -0
- package/dist/models/patch-task-request-dto.d.ts +139 -0
- package/dist/models/patch-task-request-dto.js +22 -0
- package/dist/models/patch-task-response-class.d.ts +25 -0
- package/dist/models/patch-task-response-class.js +15 -0
- package/dist/models/status-class.d.ts +72 -0
- package/dist/models/status-class.js +15 -0
- package/dist/models/task-class.d.ts +146 -0
- package/dist/models/task-class.js +21 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/assignee-class.ts +30 -0
- package/models/category-class.ts +72 -0
- package/models/create-category-request-dto.ts +36 -0
- package/models/create-category-response-class.ts +31 -0
- package/models/create-hub-spot-ticket-request-dto.ts +37 -0
- package/models/create-hub-spot-ticket-response-class.ts +31 -0
- package/models/create-status-request-dto.ts +42 -0
- package/models/create-status-response-class.ts +31 -0
- package/models/create-task-request-dto.ts +101 -0
- package/models/create-task-response-class.ts +31 -0
- package/models/get-category-response-class.ts +31 -0
- package/models/get-status-response-class.ts +31 -0
- package/models/get-task-response-class.ts +31 -0
- package/models/hub-spot-ticket-class.ts +55 -0
- package/models/hub-spot-ticket-error-class.ts +36 -0
- package/models/hub-spot-ticket-name-value-dto.ts +36 -0
- package/models/index.ts +30 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-assignees-response-class.ts +49 -0
- package/models/list-categories-response-class.ts +49 -0
- package/models/list-statuses-response-class.ts +49 -0
- package/models/list-tasks-response-class.ts +49 -0
- package/models/patch-category-request-dto.ts +42 -0
- package/models/patch-category-response-class.ts +31 -0
- package/models/patch-status-request-dto.ts +48 -0
- package/models/patch-status-response-class.ts +31 -0
- package/models/patch-task-request-dto.ts +148 -0
- package/models/patch-task-response-class.ts +31 -0
- package/models/status-class.ts +78 -0
- package/models/task-class.ts +155 -0
- package/package.json +24 -8
- package/tsconfig.json +23 -0
- package/index.js +0 -99
- package/scripts/deploy.js +0 -81
|
@@ -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
|
+
|
|
@@ -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 { CategoryClass } from './category-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCategoriesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCategoriesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* items
|
|
26
|
+
* @type {Array<CategoryClass>}
|
|
27
|
+
* @memberof ListCategoriesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CategoryClass>;
|
|
30
|
+
/**
|
|
31
|
+
* nextPageToken
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListCategoriesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* itemsPerPage
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCategoriesResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* totalItems
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListCategoriesResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -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 { StatusClass } from './status-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListStatusesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListStatusesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* items
|
|
26
|
+
* @type {Array<StatusClass>}
|
|
27
|
+
* @memberof ListStatusesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<StatusClass>;
|
|
30
|
+
/**
|
|
31
|
+
* nextPageToken
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListStatusesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* itemsPerPage
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListStatusesResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* totalItems
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListStatusesResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -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 { TaskClass } from './task-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListTasksResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListTasksResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* items
|
|
26
|
+
* @type {Array<TaskClass>}
|
|
27
|
+
* @memberof ListTasksResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<TaskClass>;
|
|
30
|
+
/**
|
|
31
|
+
* nextPageToken
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListTasksResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* itemsPerPage
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListTasksResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* totalItems
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListTasksResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 PatchCategoryRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PatchCategoryRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Category code: unique identifier of the category
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PatchCategoryRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Category name: display name of the category
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PatchCategoryRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Category slug: URL-friendly identifier
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PatchCategoryRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'slug'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -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 { CategoryClass } from './category-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PatchCategoryResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PatchCategoryResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* category
|
|
26
|
+
* @type {CategoryClass}
|
|
27
|
+
* @memberof PatchCategoryResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'category'?: CategoryClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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 PatchStatusRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PatchStatusRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Status code: unique identifier of the status
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PatchStatusRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Status name: display name of the status
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PatchStatusRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Status slug: URL-friendly identifier
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PatchStatusRequestDto
|
|
39
|
+
*/
|
|
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;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -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 { StatusClass } from './status-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PatchStatusResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PatchStatusResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* status
|
|
26
|
+
* @type {StatusClass}
|
|
27
|
+
* @memberof PatchStatusResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'status'?: StatusClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,148 @@
|
|
|
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
|
+
* Entity version for optimistic locking. If provided, update fails if version does not match current version.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof PatchTaskRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'version'?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Task subject: title of the task
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PatchTaskRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'subject'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Task description: detailed description of the task
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PatchTaskRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'description'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Task assignee: person assigned to the task
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PatchTaskRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'assignee'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Task category slugs (array of category slugs)
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof PatchTaskRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'categorySlugs'?: Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Task status slug
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PatchTaskRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'statusSlug'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Task priority
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PatchTaskRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'priority'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Task reporter: person who reported the task
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PatchTaskRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'reporter'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Task due date
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PatchTaskRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'dueDate'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Set to true to clear/remove the due date.
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof PatchTaskRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'clearDueDate'?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Set to true to clear/remove the assignee.
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof PatchTaskRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'clearAssignee'?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Set to true to clear/remove the categories.
|
|
97
|
+
* @type {boolean}
|
|
98
|
+
* @memberof PatchTaskRequestDto
|
|
99
|
+
*/
|
|
100
|
+
'clearCategories'?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Set to true to clear/remove the status.
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof PatchTaskRequestDto
|
|
105
|
+
*/
|
|
106
|
+
'clearStatus'?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Set to true to clear/remove the priority.
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof PatchTaskRequestDto
|
|
111
|
+
*/
|
|
112
|
+
'clearPriority'?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Set to true to clear/remove the reporter.
|
|
115
|
+
* @type {boolean}
|
|
116
|
+
* @memberof PatchTaskRequestDto
|
|
117
|
+
*/
|
|
118
|
+
'clearReporter'?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Connected entity type. Must be one of: LEAD, POLICY, CLAIM, PARTNER (uppercase). If provided with entityCode, updates the linked entity.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof PatchTaskRequestDto
|
|
123
|
+
*/
|
|
124
|
+
'entityType'?: PatchTaskRequestDtoEntityTypeEnum;
|
|
125
|
+
/**
|
|
126
|
+
* Connected entity code. If provided with entityType, updates the linked entity. Requires entityType when set.
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof PatchTaskRequestDto
|
|
129
|
+
*/
|
|
130
|
+
'entityCode'?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Set to true to clear/remove the linked entity (entityType and entityCode).
|
|
133
|
+
* @type {boolean}
|
|
134
|
+
* @memberof PatchTaskRequestDto
|
|
135
|
+
*/
|
|
136
|
+
'clearLinkedEntity'?: boolean;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export const PatchTaskRequestDtoEntityTypeEnum = {
|
|
140
|
+
Lead: 'LEAD',
|
|
141
|
+
Policy: 'POLICY',
|
|
142
|
+
Claim: 'CLAIM',
|
|
143
|
+
Partner: 'PARTNER'
|
|
144
|
+
} as const;
|
|
145
|
+
|
|
146
|
+
export type PatchTaskRequestDtoEntityTypeEnum = typeof PatchTaskRequestDtoEntityTypeEnum[keyof typeof PatchTaskRequestDtoEntityTypeEnum];
|
|
147
|
+
|
|
148
|
+
|
|
@@ -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 PatchTaskResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PatchTaskResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* task
|
|
26
|
+
* @type {TaskClass}
|
|
27
|
+
* @memberof PatchTaskResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'task'?: TaskClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 StatusClass
|
|
21
|
+
*/
|
|
22
|
+
export interface StatusClass {
|
|
23
|
+
/**
|
|
24
|
+
* id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof StatusClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* code
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof StatusClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof StatusClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* createdBy
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof StatusClass
|
|
45
|
+
*/
|
|
46
|
+
'createdBy': string;
|
|
47
|
+
/**
|
|
48
|
+
* updatedBy
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof StatusClass
|
|
51
|
+
*/
|
|
52
|
+
'updatedBy': string;
|
|
53
|
+
/**
|
|
54
|
+
* createdAt
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof StatusClass
|
|
57
|
+
*/
|
|
58
|
+
'createdAt'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* updatedAt
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof StatusClass
|
|
63
|
+
*/
|
|
64
|
+
'updatedAt'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* slug
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof StatusClass
|
|
69
|
+
*/
|
|
70
|
+
'slug': string;
|
|
71
|
+
/**
|
|
72
|
+
* Sort order for workflow display (unique per tenant)
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof StatusClass
|
|
75
|
+
*/
|
|
76
|
+
'sortOrder': number;
|
|
77
|
+
}
|
|
78
|
+
|