@emilgroup/task-sdk-node 1.2.1-beta.0 → 1.2.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 +877 -0
- package/api/task-client-api.ts +2144 -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 +821 -0
- package/dist/api/task-client-api.d.ts +1194 -0
- package/dist/api/task-client-api.js +1842 -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-node@1.2.1-beta.
|
|
20
|
+
npm install @emilgroup/task-sdk-node@1.2.1-beta.4 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/task-sdk-node@1.2.1-beta.
|
|
24
|
+
yarn add @emilgroup/task-sdk-node@1.2.1-beta.4
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `TasksApi`.
|
|
@@ -29,10 +29,10 @@ import { InlineResponse503 } from '../models';
|
|
|
29
29
|
import { URL, URLSearchParams } from 'url';
|
|
30
30
|
const FormData = require('form-data');
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* HealthApi - axios parameter creator
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export const
|
|
35
|
+
export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
* 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.
|
|
@@ -70,11 +70,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* HealthApi - functional programming interface
|
|
74
74
|
* @export
|
|
75
75
|
*/
|
|
76
|
-
export const
|
|
77
|
-
const localVarAxiosParamCreator =
|
|
76
|
+
export const HealthApiFp = function(configuration?: Configuration) {
|
|
77
|
+
const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
|
|
78
78
|
return {
|
|
79
79
|
/**
|
|
80
80
|
* 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.
|
|
@@ -90,11 +90,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* HealthApi - factory interface
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
export const
|
|
97
|
-
const localVarFp =
|
|
96
|
+
export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
97
|
+
const localVarFp = HealthApiFp(configuration)
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* 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.
|
|
@@ -109,20 +109,20 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* HealthApi - object-oriented interface
|
|
113
113
|
* @export
|
|
114
|
-
* @class
|
|
114
|
+
* @class HealthApi
|
|
115
115
|
* @extends {BaseAPI}
|
|
116
116
|
*/
|
|
117
|
-
export class
|
|
117
|
+
export class HealthApi extends BaseAPI {
|
|
118
118
|
/**
|
|
119
119
|
* 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.
|
|
120
120
|
* @summary Health Check
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
|
-
* @memberof
|
|
123
|
+
* @memberof HealthApi
|
|
124
124
|
*/
|
|
125
125
|
public check(options?: AxiosRequestConfig) {
|
|
126
|
-
return
|
|
126
|
+
return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
127
127
|
}
|
|
128
128
|
}
|