@emilgroup/task-sdk-node 1.0.3 → 1.1.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 +72 -0
- package/dist/models/create-task-request-dto.js +21 -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 +114 -0
- package/dist/models/patch-task-request-dto.js +15 -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 +128 -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 +81 -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 +120 -0
- package/models/patch-task-response-class.ts +31 -0
- package/models/status-class.ts +78 -0
- package/models/task-class.ts +137 -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,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 });
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
import { TaskClass } from './task-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PatchTaskResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchTaskResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* task
|
|
21
|
+
* @type {TaskClass}
|
|
22
|
+
* @memberof PatchTaskResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'task'?: TaskClass;
|
|
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 });
|
|
@@ -0,0 +1,72 @@
|
|
|
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 StatusClass
|
|
16
|
+
*/
|
|
17
|
+
export interface StatusClass {
|
|
18
|
+
/**
|
|
19
|
+
* id
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof StatusClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StatusClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StatusClass
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* createdBy
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof StatusClass
|
|
40
|
+
*/
|
|
41
|
+
'createdBy': string;
|
|
42
|
+
/**
|
|
43
|
+
* updatedBy
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof StatusClass
|
|
46
|
+
*/
|
|
47
|
+
'updatedBy': string;
|
|
48
|
+
/**
|
|
49
|
+
* createdAt
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof StatusClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* updatedAt
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof StatusClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* slug
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof StatusClass
|
|
64
|
+
*/
|
|
65
|
+
'slug': string;
|
|
66
|
+
/**
|
|
67
|
+
* Sort order for workflow display (unique per tenant)
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof StatusClass
|
|
70
|
+
*/
|
|
71
|
+
'sortOrder': number;
|
|
72
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,128 @@
|
|
|
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
|
+
import { CategoryClass } from './category-class';
|
|
13
|
+
import { StatusClass } from './status-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface TaskClass
|
|
18
|
+
*/
|
|
19
|
+
export interface TaskClass {
|
|
20
|
+
/**
|
|
21
|
+
* id
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof TaskClass
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* code
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof TaskClass
|
|
30
|
+
*/
|
|
31
|
+
'code': string;
|
|
32
|
+
/**
|
|
33
|
+
* subject
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof TaskClass
|
|
36
|
+
*/
|
|
37
|
+
'subject': string;
|
|
38
|
+
/**
|
|
39
|
+
* description
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof TaskClass
|
|
42
|
+
*/
|
|
43
|
+
'description': string;
|
|
44
|
+
/**
|
|
45
|
+
* assignee
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof TaskClass
|
|
48
|
+
*/
|
|
49
|
+
'assignee'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Category slugs
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof TaskClass
|
|
54
|
+
*/
|
|
55
|
+
'categorySlugs'?: Array<string>;
|
|
56
|
+
/**
|
|
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)
|
|
70
|
+
* @type {StatusClass}
|
|
71
|
+
* @memberof TaskClass
|
|
72
|
+
*/
|
|
73
|
+
'status'?: StatusClass;
|
|
74
|
+
/**
|
|
75
|
+
* Task priority
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof TaskClass
|
|
78
|
+
*/
|
|
79
|
+
'priority': TaskClassPriorityEnum;
|
|
80
|
+
/**
|
|
81
|
+
* Task reporter: person who reported the task
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof TaskClass
|
|
84
|
+
*/
|
|
85
|
+
'reporter'?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Task due date
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof TaskClass
|
|
90
|
+
*/
|
|
91
|
+
'dueDate'?: string;
|
|
92
|
+
/**
|
|
93
|
+
* createdBy
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof TaskClass
|
|
96
|
+
*/
|
|
97
|
+
'createdBy': string;
|
|
98
|
+
/**
|
|
99
|
+
* updatedBy
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof TaskClass
|
|
102
|
+
*/
|
|
103
|
+
'updatedBy': string;
|
|
104
|
+
/**
|
|
105
|
+
* version
|
|
106
|
+
* @type {number}
|
|
107
|
+
* @memberof TaskClass
|
|
108
|
+
*/
|
|
109
|
+
'version': number;
|
|
110
|
+
/**
|
|
111
|
+
* createdAt
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof TaskClass
|
|
114
|
+
*/
|
|
115
|
+
'createdAt'?: string;
|
|
116
|
+
/**
|
|
117
|
+
* updatedAt
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof TaskClass
|
|
120
|
+
*/
|
|
121
|
+
'updatedAt'?: string;
|
|
122
|
+
}
|
|
123
|
+
export declare const TaskClassPriorityEnum: {
|
|
124
|
+
readonly Low: "LOW";
|
|
125
|
+
readonly Medium: "MEDIUM";
|
|
126
|
+
readonly High: "HIGH";
|
|
127
|
+
};
|
|
128
|
+
export type TaskClassPriorityEnum = typeof TaskClassPriorityEnum[keyof typeof TaskClassPriorityEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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 });
|
|
16
|
+
exports.TaskClassPriorityEnum = void 0;
|
|
17
|
+
exports.TaskClassPriorityEnum = {
|
|
18
|
+
Low: 'LOW',
|
|
19
|
+
Medium: 'MEDIUM',
|
|
20
|
+
High: 'HIGH'
|
|
21
|
+
};
|
package/git_push.sh
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
+
#
|
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
+
|
|
6
|
+
git_user_id=$1
|
|
7
|
+
git_repo_id=$2
|
|
8
|
+
release_note=$3
|
|
9
|
+
git_host=$4
|
|
10
|
+
|
|
11
|
+
if [ "$git_host" = "" ]; then
|
|
12
|
+
git_host="github.com"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
|
17
|
+
git_user_id="Emil"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
|
22
|
+
git_repo_id="task-sdk-node"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
if [ "$release_note" = "" ]; then
|
|
27
|
+
release_note="Minor update"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
# Initialize the local directory as a Git repository
|
|
32
|
+
git init
|
|
33
|
+
|
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
|
35
|
+
git add .
|
|
36
|
+
|
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
+
git commit -m "$release_note"
|
|
39
|
+
|
|
40
|
+
# Sets the new remote
|
|
41
|
+
git_remote=$(git remote)
|
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
+
|
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
+
else
|
|
48
|
+
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
git pull origin master
|
|
54
|
+
|
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
package/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export { Environment, BaseAPI } from "./base";
|
|
17
|
+
export * from "./api";
|
|
18
|
+
export * from "./configuration";
|
|
19
|
+
export * from "./models";
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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 CategoryClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CategoryClass {
|
|
23
|
+
/**
|
|
24
|
+
* id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CategoryClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* code
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CategoryClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CategoryClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* createdBy
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CategoryClass
|
|
45
|
+
*/
|
|
46
|
+
'createdBy': string;
|
|
47
|
+
/**
|
|
48
|
+
* updatedBy
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CategoryClass
|
|
51
|
+
*/
|
|
52
|
+
'updatedBy': string;
|
|
53
|
+
/**
|
|
54
|
+
* createdAt
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CategoryClass
|
|
57
|
+
*/
|
|
58
|
+
'createdAt'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* updatedAt
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CategoryClass
|
|
63
|
+
*/
|
|
64
|
+
'updatedAt'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* slug
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CategoryClass
|
|
69
|
+
*/
|
|
70
|
+
'slug': string;
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CreateCategoryRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCategoryRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Category name: display name of the category
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateCategoryRequestDto
|
|
27
|
+
*/
|
|
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;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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 CreateCategoryResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateCategoryResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* category
|
|
26
|
+
* @type {CategoryClass}
|
|
27
|
+
* @memberof CreateCategoryResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'category'?: CategoryClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { HubSpotTicketNameValueDto } from './hub-spot-ticket-name-value-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateHubSpotTicketRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateHubSpotTicketRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* submittedAt
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateHubSpotTicketRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'submittedAt'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* fields
|
|
32
|
+
* @type {Array<HubSpotTicketNameValueDto>}
|
|
33
|
+
* @memberof CreateHubSpotTicketRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'fields': Array<HubSpotTicketNameValueDto>;
|
|
36
|
+
}
|
|
37
|
+
|