@emilgroup/task-sdk 1.3.1-beta.0 → 1.3.1-beta.4
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 +12 -1
- package/README.md +2 -2
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api/reminders-api.ts +873 -0
- package/api/task-client-api.ts +2140 -0
- package/api.ts +6 -2
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-api.js} +22 -22
- package/dist/api/reminders-api.d.ts +487 -0
- package/dist/api/reminders-api.js +817 -0
- package/dist/api/task-client-api.d.ts +1194 -0
- package/dist/api/task-client-api.js +1838 -0
- package/dist/api.d.ts +3 -1
- package/dist/api.js +3 -1
- package/dist/models/create-reminder-request-dto.d.ts +61 -0
- package/dist/models/create-reminder-request-dto.js +22 -0
- package/dist/models/create-reminder-response-class.d.ts +25 -0
- package/dist/models/create-reminder-response-class.js +15 -0
- package/dist/models/get-reminder-counts-response-class.d.ts +30 -0
- package/dist/models/get-reminder-counts-response-class.js +15 -0
- package/dist/models/get-reminder-response-class.d.ts +25 -0
- package/dist/models/get-reminder-response-class.js +15 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-reminders-response-class.d.ts +43 -0
- package/dist/models/list-reminders-response-class.js +15 -0
- package/dist/models/mark-reminder-done-response-class.d.ts +25 -0
- package/dist/models/mark-reminder-done-response-class.js +15 -0
- package/dist/models/patch-reminder-request-dto.d.ts +67 -0
- package/dist/models/patch-reminder-request-dto.js +22 -0
- package/dist/models/patch-reminder-response-class.d.ts +25 -0
- package/dist/models/patch-reminder-response-class.js +15 -0
- package/dist/models/reminder-class.d.ts +120 -0
- package/dist/models/reminder-class.js +15 -0
- package/models/create-reminder-request-dto.ts +70 -0
- package/models/create-reminder-response-class.ts +31 -0
- package/models/get-reminder-counts-response-class.ts +36 -0
- package/models/get-reminder-response-class.ts +31 -0
- package/models/index.ts +9 -0
- package/models/list-reminders-response-class.ts +49 -0
- package/models/mark-reminder-done-response-class.ts +31 -0
- package/models/patch-reminder-request-dto.ts +76 -0
- package/models/patch-reminder-response-class.ts +31 -0
- package/models/reminder-class.ts +126 -0
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -5,9 +5,11 @@ README.md
|
|
|
5
5
|
api.ts
|
|
6
6
|
api/assignees-api.ts
|
|
7
7
|
api/categories-api.ts
|
|
8
|
-
api/
|
|
8
|
+
api/health-api.ts
|
|
9
9
|
api/hub-spot-api.ts
|
|
10
|
+
api/reminders-api.ts
|
|
10
11
|
api/statuses-api.ts
|
|
12
|
+
api/task-client-api.ts
|
|
11
13
|
api/tasks-api.ts
|
|
12
14
|
base.ts
|
|
13
15
|
common.ts
|
|
@@ -20,11 +22,15 @@ models/create-category-request-dto.ts
|
|
|
20
22
|
models/create-category-response-class.ts
|
|
21
23
|
models/create-hub-spot-ticket-request-dto.ts
|
|
22
24
|
models/create-hub-spot-ticket-response-class.ts
|
|
25
|
+
models/create-reminder-request-dto.ts
|
|
26
|
+
models/create-reminder-response-class.ts
|
|
23
27
|
models/create-status-request-dto.ts
|
|
24
28
|
models/create-status-response-class.ts
|
|
25
29
|
models/create-task-request-dto.ts
|
|
26
30
|
models/create-task-response-class.ts
|
|
27
31
|
models/get-category-response-class.ts
|
|
32
|
+
models/get-reminder-counts-response-class.ts
|
|
33
|
+
models/get-reminder-response-class.ts
|
|
28
34
|
models/get-status-response-class.ts
|
|
29
35
|
models/get-task-response-class.ts
|
|
30
36
|
models/hub-spot-ticket-class.ts
|
|
@@ -35,14 +41,19 @@ models/inline-response200.ts
|
|
|
35
41
|
models/inline-response503.ts
|
|
36
42
|
models/list-assignees-response-class.ts
|
|
37
43
|
models/list-categories-response-class.ts
|
|
44
|
+
models/list-reminders-response-class.ts
|
|
38
45
|
models/list-statuses-response-class.ts
|
|
39
46
|
models/list-tasks-response-class.ts
|
|
47
|
+
models/mark-reminder-done-response-class.ts
|
|
40
48
|
models/patch-category-request-dto.ts
|
|
41
49
|
models/patch-category-response-class.ts
|
|
50
|
+
models/patch-reminder-request-dto.ts
|
|
51
|
+
models/patch-reminder-response-class.ts
|
|
42
52
|
models/patch-status-request-dto.ts
|
|
43
53
|
models/patch-status-response-class.ts
|
|
44
54
|
models/patch-task-request-dto.ts
|
|
45
55
|
models/patch-task-response-class.ts
|
|
56
|
+
models/reminder-class.ts
|
|
46
57
|
models/status-class.ts
|
|
47
58
|
models/task-class.ts
|
|
48
59
|
package.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/task-sdk@1.3.1-beta.
|
|
20
|
+
npm install @emilgroup/task-sdk@1.3.1-beta.4 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/task-sdk@1.3.1-beta.
|
|
24
|
+
yarn add @emilgroup/task-sdk@1.3.1-beta.4
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `TasksApi`.
|
|
@@ -25,10 +25,10 @@ import { InlineResponse200 } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { InlineResponse503 } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* HealthApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
* Returns the health status of the TaskService service. This endpoint is used to monitor the operational status of the TaskService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -66,11 +66,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* HealthApi - functional programming interface
|
|
70
70
|
* @export
|
|
71
71
|
*/
|
|
72
|
-
export const
|
|
73
|
-
const localVarAxiosParamCreator =
|
|
72
|
+
export const HealthApiFp = function(configuration?: Configuration) {
|
|
73
|
+
const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
|
|
74
74
|
return {
|
|
75
75
|
/**
|
|
76
76
|
* Returns the health status of the TaskService service. This endpoint is used to monitor the operational status of the TaskService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -86,11 +86,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* HealthApi - factory interface
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
export const
|
|
93
|
-
const localVarFp =
|
|
92
|
+
export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
93
|
+
const localVarFp = HealthApiFp(configuration)
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
96
|
* Returns the health status of the TaskService service. This endpoint is used to monitor the operational status of the TaskService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -105,20 +105,20 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* HealthApi - object-oriented interface
|
|
109
109
|
* @export
|
|
110
|
-
* @class
|
|
110
|
+
* @class HealthApi
|
|
111
111
|
* @extends {BaseAPI}
|
|
112
112
|
*/
|
|
113
|
-
export class
|
|
113
|
+
export class HealthApi extends BaseAPI {
|
|
114
114
|
/**
|
|
115
115
|
* Returns the health status of the TaskService service. This endpoint is used to monitor the operational status of the TaskService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
116
116
|
* @summary Health Check
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
|
119
|
-
* @memberof
|
|
119
|
+
* @memberof HealthApi
|
|
120
120
|
*/
|
|
121
121
|
public check(options?: AxiosRequestConfig) {
|
|
122
|
-
return
|
|
122
|
+
return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
123
123
|
}
|
|
124
124
|
}
|