@emilgroup/task-sdk-node 1.0.1-beta.9 → 1.0.3

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 (126) hide show
  1. package/README.md +1 -84
  2. package/index.js +99 -0
  3. package/package.json +8 -24
  4. package/scripts/deploy.js +81 -0
  5. package/.openapi-generator/FILES +0 -46
  6. package/.openapi-generator/VERSION +0 -1
  7. package/.openapi-generator-ignore +0 -23
  8. package/api/categories-api.ts +0 -669
  9. package/api/default-api.ts +0 -128
  10. package/api/hub-spot-api.ts +0 -169
  11. package/api/statuses-api.ts +0 -669
  12. package/api/tasks-api.ts +0 -697
  13. package/api.ts +0 -39
  14. package/base.ts +0 -327
  15. package/common.ts +0 -199
  16. package/configuration.ts +0 -118
  17. package/dist/api/categories-api.d.ts +0 -375
  18. package/dist/api/categories-api.js +0 -636
  19. package/dist/api/default-api.d.ts +0 -70
  20. package/dist/api/default-api.js +0 -204
  21. package/dist/api/hub-spot-api.d.ts +0 -97
  22. package/dist/api/hub-spot-api.js +0 -228
  23. package/dist/api/statuses-api.d.ts +0 -375
  24. package/dist/api/statuses-api.js +0 -636
  25. package/dist/api/tasks-api.d.ts +0 -393
  26. package/dist/api/tasks-api.js +0 -648
  27. package/dist/api.d.ts +0 -16
  28. package/dist/api.js +0 -34
  29. package/dist/base.d.ts +0 -88
  30. package/dist/base.js +0 -434
  31. package/dist/common.d.ts +0 -92
  32. package/dist/common.js +0 -277
  33. package/dist/configuration.d.ts +0 -96
  34. package/dist/configuration.js +0 -52
  35. package/dist/index.d.ts +0 -15
  36. package/dist/index.js +0 -36
  37. package/dist/models/category-class.d.ts +0 -66
  38. package/dist/models/category-class.js +0 -15
  39. package/dist/models/create-category-request-dto.d.ts +0 -30
  40. package/dist/models/create-category-request-dto.js +0 -15
  41. package/dist/models/create-category-response-class.d.ts +0 -25
  42. package/dist/models/create-category-response-class.js +0 -15
  43. package/dist/models/create-hub-spot-ticket-request-dto.d.ts +0 -31
  44. package/dist/models/create-hub-spot-ticket-request-dto.js +0 -15
  45. package/dist/models/create-hub-spot-ticket-response-class.d.ts +0 -25
  46. package/dist/models/create-hub-spot-ticket-response-class.js +0 -15
  47. package/dist/models/create-status-request-dto.d.ts +0 -30
  48. package/dist/models/create-status-request-dto.js +0 -15
  49. package/dist/models/create-status-response-class.d.ts +0 -25
  50. package/dist/models/create-status-response-class.js +0 -15
  51. package/dist/models/create-task-request-dto.d.ts +0 -72
  52. package/dist/models/create-task-request-dto.js +0 -21
  53. package/dist/models/create-task-response-class.d.ts +0 -25
  54. package/dist/models/create-task-response-class.js +0 -15
  55. package/dist/models/get-category-response-class.d.ts +0 -25
  56. package/dist/models/get-category-response-class.js +0 -15
  57. package/dist/models/get-status-response-class.d.ts +0 -25
  58. package/dist/models/get-status-response-class.js +0 -15
  59. package/dist/models/get-task-response-class.d.ts +0 -25
  60. package/dist/models/get-task-response-class.js +0 -15
  61. package/dist/models/hub-spot-ticket-class.d.ts +0 -49
  62. package/dist/models/hub-spot-ticket-class.js +0 -15
  63. package/dist/models/hub-spot-ticket-error-class.d.ts +0 -30
  64. package/dist/models/hub-spot-ticket-error-class.js +0 -15
  65. package/dist/models/hub-spot-ticket-name-value-dto.d.ts +0 -30
  66. package/dist/models/hub-spot-ticket-name-value-dto.js +0 -15
  67. package/dist/models/index.d.ts +0 -28
  68. package/dist/models/index.js +0 -44
  69. package/dist/models/inline-response200.d.ts +0 -54
  70. package/dist/models/inline-response200.js +0 -15
  71. package/dist/models/inline-response503.d.ts +0 -54
  72. package/dist/models/inline-response503.js +0 -15
  73. package/dist/models/list-categories-response-class.d.ts +0 -43
  74. package/dist/models/list-categories-response-class.js +0 -15
  75. package/dist/models/list-statuses-response-class.d.ts +0 -43
  76. package/dist/models/list-statuses-response-class.js +0 -15
  77. package/dist/models/list-tasks-response-class.d.ts +0 -43
  78. package/dist/models/list-tasks-response-class.js +0 -15
  79. package/dist/models/patch-category-request-dto.d.ts +0 -36
  80. package/dist/models/patch-category-request-dto.js +0 -15
  81. package/dist/models/patch-category-response-class.d.ts +0 -25
  82. package/dist/models/patch-category-response-class.js +0 -15
  83. package/dist/models/patch-status-request-dto.d.ts +0 -36
  84. package/dist/models/patch-status-request-dto.js +0 -15
  85. package/dist/models/patch-status-response-class.d.ts +0 -25
  86. package/dist/models/patch-status-response-class.js +0 -15
  87. package/dist/models/patch-task-request-dto.d.ts +0 -108
  88. package/dist/models/patch-task-request-dto.js +0 -15
  89. package/dist/models/patch-task-response-class.d.ts +0 -25
  90. package/dist/models/patch-task-response-class.js +0 -15
  91. package/dist/models/status-class.d.ts +0 -66
  92. package/dist/models/status-class.js +0 -15
  93. package/dist/models/task-class.d.ts +0 -116
  94. package/dist/models/task-class.js +0 -21
  95. package/git_push.sh +0 -57
  96. package/index.ts +0 -19
  97. package/models/category-class.ts +0 -72
  98. package/models/create-category-request-dto.ts +0 -36
  99. package/models/create-category-response-class.ts +0 -31
  100. package/models/create-hub-spot-ticket-request-dto.ts +0 -37
  101. package/models/create-hub-spot-ticket-response-class.ts +0 -31
  102. package/models/create-status-request-dto.ts +0 -36
  103. package/models/create-status-response-class.ts +0 -31
  104. package/models/create-task-request-dto.ts +0 -81
  105. package/models/create-task-response-class.ts +0 -31
  106. package/models/get-category-response-class.ts +0 -31
  107. package/models/get-status-response-class.ts +0 -31
  108. package/models/get-task-response-class.ts +0 -31
  109. package/models/hub-spot-ticket-class.ts +0 -55
  110. package/models/hub-spot-ticket-error-class.ts +0 -36
  111. package/models/hub-spot-ticket-name-value-dto.ts +0 -36
  112. package/models/index.ts +0 -28
  113. package/models/inline-response200.ts +0 -48
  114. package/models/inline-response503.ts +0 -48
  115. package/models/list-categories-response-class.ts +0 -49
  116. package/models/list-statuses-response-class.ts +0 -49
  117. package/models/list-tasks-response-class.ts +0 -49
  118. package/models/patch-category-request-dto.ts +0 -42
  119. package/models/patch-category-response-class.ts +0 -31
  120. package/models/patch-status-request-dto.ts +0 -42
  121. package/models/patch-status-response-class.ts +0 -31
  122. package/models/patch-task-request-dto.ts +0 -114
  123. package/models/patch-task-response-class.ts +0 -31
  124. package/models/status-class.ts +0 -72
  125. package/models/task-class.ts +0 -125
  126. package/tsconfig.json +0 -23
@@ -1,66 +0,0 @@
1
- /**
2
- * EMIL TaskService
3
- * The EMIL Task API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface 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
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,116 +0,0 @@
1
- /**
2
- * EMIL TaskService
3
- * The EMIL Task API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- 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
52
- * @type {CategoryClass}
53
- * @memberof TaskClass
54
- */
55
- 'category'?: CategoryClass;
56
- /**
57
- * status
58
- * @type {StatusClass}
59
- * @memberof TaskClass
60
- */
61
- 'status'?: StatusClass;
62
- /**
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}
77
- * @memberof TaskClass
78
- */
79
- 'dueDate'?: string;
80
- /**
81
- * createdBy
82
- * @type {string}
83
- * @memberof TaskClass
84
- */
85
- 'createdBy': string;
86
- /**
87
- * updatedBy
88
- * @type {string}
89
- * @memberof TaskClass
90
- */
91
- 'updatedBy': string;
92
- /**
93
- * version
94
- * @type {number}
95
- * @memberof TaskClass
96
- */
97
- 'version': number;
98
- /**
99
- * createdAt
100
- * @type {string}
101
- * @memberof TaskClass
102
- */
103
- 'createdAt'?: string;
104
- /**
105
- * updatedAt
106
- * @type {string}
107
- * @memberof TaskClass
108
- */
109
- 'updatedAt'?: string;
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];
@@ -1,21 +0,0 @@
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 DELETED
@@ -1,57 +0,0 @@
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 DELETED
@@ -1,19 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- export { Environment, BaseAPI } from "./base";
17
- export * from "./api";
18
- export * from "./configuration";
19
- export * from "./models";
@@ -1,72 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface 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
-
@@ -1,36 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface 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
-
@@ -1,31 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- 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
-
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- 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
-
@@ -1,31 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { HubSpotTicketClass } from './hub-spot-ticket-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateHubSpotTicketResponseClass
22
- */
23
- export interface CreateHubSpotTicketResponseClass {
24
- /**
25
- * hubSpotTicket
26
- * @type {HubSpotTicketClass}
27
- * @memberof CreateHubSpotTicketResponseClass
28
- */
29
- 'hubSpotTicket'?: HubSpotTicketClass;
30
- }
31
-
@@ -1,36 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface CreateStatusRequestDto
21
- */
22
- export interface CreateStatusRequestDto {
23
- /**
24
- * Task status name: display name of the status
25
- * @type {string}
26
- * @memberof CreateStatusRequestDto
27
- */
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;
35
- }
36
-
@@ -1,31 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { StatusClass } from './status-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateStatusResponseClass
22
- */
23
- export interface CreateStatusResponseClass {
24
- /**
25
- * status
26
- * @type {StatusClass}
27
- * @memberof CreateStatusResponseClass
28
- */
29
- 'status'?: StatusClass;
30
- }
31
-
@@ -1,81 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface CreateTaskRequestDto
21
- */
22
- export interface CreateTaskRequestDto {
23
- /**
24
- * Task subject: title of the task
25
- * @type {string}
26
- * @memberof CreateTaskRequestDto
27
- */
28
- 'subject': string;
29
- /**
30
- * Task description: detailed description of the task
31
- * @type {string}
32
- * @memberof CreateTaskRequestDto
33
- */
34
- 'description': string;
35
- /**
36
- * Task assignee user code: person assigned to the task
37
- * @type {string}
38
- * @memberof CreateTaskRequestDto
39
- */
40
- 'assignee'?: string;
41
- /**
42
- * Task category slug
43
- * @type {string}
44
- * @memberof CreateTaskRequestDto
45
- */
46
- 'categorySlug'?: string;
47
- /**
48
- * Task status slug
49
- * @type {string}
50
- * @memberof CreateTaskRequestDto
51
- */
52
- 'statusSlug'?: string;
53
- /**
54
- * Task priority
55
- * @type {string}
56
- * @memberof CreateTaskRequestDto
57
- */
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;
71
- }
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
-
@@ -1,31 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL TaskService
5
- * The EMIL Task API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { TaskClass } from './task-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateTaskResponseClass
22
- */
23
- export interface CreateTaskResponseClass {
24
- /**
25
- * task
26
- * @type {TaskClass}
27
- * @memberof CreateTaskResponseClass
28
- */
29
- 'task'?: TaskClass;
30
- }
31
-