@rasadov/lumoar-sdk 1.0.14 → 1.0.16

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.
@@ -0,0 +1,18 @@
1
+ # TaskPriority
2
+
3
+
4
+ ## Enum
5
+
6
+ * `NUMBER_1` (value: `1`)
7
+
8
+ * `NUMBER_2` (value: `2`)
9
+
10
+ * `NUMBER_3` (value: `3`)
11
+
12
+ * `NUMBER_4` (value: `4`)
13
+
14
+ * `NUMBER_5` (value: `5`)
15
+
16
+ * `NUMBER_6` (value: `6`)
17
+
18
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/TaskRead.md CHANGED
@@ -10,11 +10,10 @@ Name | Type | Description | Notes
10
10
  **title** | **string** | | [default to undefined]
11
11
  **description** | **string** | | [default to undefined]
12
12
  **due_date** | **string** | | [default to undefined]
13
- **assigned_to_id** | **string** | | [default to undefined]
14
13
  **created_at** | **string** | | [default to undefined]
15
14
  **updated_at** | **string** | | [default to undefined]
16
- **priority** | **number** | | [default to undefined]
17
- **status** | **string** | | [default to undefined]
15
+ **priority** | [**TaskPriority**](TaskPriority.md) | | [default to undefined]
16
+ **status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
18
17
 
19
18
  ## Example
20
19
 
@@ -27,7 +26,6 @@ const instance: TaskRead = {
27
26
  title,
28
27
  description,
29
28
  due_date,
30
- assigned_to_id,
31
29
  created_at,
32
30
  updated_at,
33
31
  priority,
@@ -0,0 +1,18 @@
1
+ # TaskStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `NotStarted` (value: `'not_started'`)
7
+
8
+ * `InProgress` (value: `'in_progress'`)
9
+
10
+ * `Completed` (value: `'completed'`)
11
+
12
+ * `PendingReview` (value: `'pending_review'`)
13
+
14
+ * `Failed` (value: `'failed'`)
15
+
16
+ * `Skipped` (value: `'skipped'`)
17
+
18
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,38 @@
1
+ # TaskWithUser
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **company_id** | **string** | | [default to undefined]
10
+ **title** | **string** | | [default to undefined]
11
+ **description** | **string** | | [default to undefined]
12
+ **due_date** | **string** | | [default to undefined]
13
+ **created_at** | **string** | | [default to undefined]
14
+ **updated_at** | **string** | | [default to undefined]
15
+ **priority** | [**TaskPriority**](TaskPriority.md) | | [default to undefined]
16
+ **status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
17
+ **assigned_to** | [**UserWithId**](UserWithId.md) | | [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { TaskWithUser } from './api';
23
+
24
+ const instance: TaskWithUser = {
25
+ id,
26
+ company_id,
27
+ title,
28
+ description,
29
+ due_date,
30
+ created_at,
31
+ updated_at,
32
+ priority,
33
+ status,
34
+ assigned_to,
35
+ };
36
+ ```
37
+
38
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/TasksApi.md CHANGED
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost*
9
9
  |[**listTasksForCompanyV1TasksCompanyGet**](#listtasksforcompanyv1taskscompanyget) | **GET** /v1/tasks/company | List Tasks For Company|
10
10
  |[**listTasksForUserV1TasksUserGet**](#listtasksforuserv1tasksuserget) | **GET** /v1/tasks/user | List Tasks For User|
11
11
  |[**requestTaskSchedulingV1TasksSchedulePost**](#requesttaskschedulingv1tasksschedulepost) | **POST** /v1/tasks/schedule | Request Task Scheduling|
12
+ |[**updateTaskStatusV1TasksStatusPatch**](#updatetaskstatusv1tasksstatuspatch) | **PATCH** /v1/tasks/status | Update Task Status|
12
13
  |[**updateTaskV1TasksPut**](#updatetaskv1tasksput) | **PUT** /v1/tasks/ | Update Task|
13
14
 
14
15
  # **createTaskV1TasksPost**
@@ -128,7 +129,7 @@ No authorization required
128
129
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
129
130
 
130
131
  # **listTasksForCompanyV1TasksCompanyGet**
131
- > PaginationResponseTaskRead listTasksForCompanyV1TasksCompanyGet()
132
+ > PaginationResponseTaskWithUser listTasksForCompanyV1TasksCompanyGet()
132
133
 
133
134
 
134
135
  ### Example
@@ -145,6 +146,12 @@ const apiInstance = new TasksApi(configuration);
145
146
  let companyId: string; // (default to undefined)
146
147
  let page: number; // (optional) (default to 1)
147
148
  let elements: number; // (optional) (default to 20)
149
+ let dueDateFrom: string; // (optional) (default to undefined)
150
+ let dueDateTo: string; // (optional) (default to undefined)
151
+ let priority: TaskPriority; // (optional) (default to undefined)
152
+ let status: TaskStatus; // (optional) (default to undefined)
153
+ let orderBy: OrderBy; // (optional) (default to undefined)
154
+ let order: 'asc' | 'desc'; // (optional) (default to 'asc')
148
155
  let authorization: string; // (optional) (default to undefined)
149
156
  let sessionId: string; // (optional) (default to undefined)
150
157
 
@@ -152,6 +159,12 @@ const { status, data } = await apiInstance.listTasksForCompanyV1TasksCompanyGet(
152
159
  companyId,
153
160
  page,
154
161
  elements,
162
+ dueDateFrom,
163
+ dueDateTo,
164
+ priority,
165
+ status,
166
+ orderBy,
167
+ order,
155
168
  authorization,
156
169
  sessionId
157
170
  );
@@ -164,13 +177,19 @@ const { status, data } = await apiInstance.listTasksForCompanyV1TasksCompanyGet(
164
177
  | **companyId** | [**string**] | | defaults to undefined|
165
178
  | **page** | [**number**] | | (optional) defaults to 1|
166
179
  | **elements** | [**number**] | | (optional) defaults to 20|
180
+ | **dueDateFrom** | [**string**] | | (optional) defaults to undefined|
181
+ | **dueDateTo** | [**string**] | | (optional) defaults to undefined|
182
+ | **priority** | **TaskPriority** | | (optional) defaults to undefined|
183
+ | **status** | **TaskStatus** | | (optional) defaults to undefined|
184
+ | **orderBy** | **OrderBy** | | (optional) defaults to undefined|
185
+ | **order** | [**&#39;asc&#39; | &#39;desc&#39;**]**Array<&#39;asc&#39; &#124; &#39;desc&#39;>** | | (optional) defaults to 'asc'|
167
186
  | **authorization** | [**string**] | | (optional) defaults to undefined|
168
187
  | **sessionId** | [**string**] | | (optional) defaults to undefined|
169
188
 
170
189
 
171
190
  ### Return type
172
191
 
173
- **PaginationResponseTaskRead**
192
+ **PaginationResponseTaskWithUser**
174
193
 
175
194
  ### Authorization
176
195
 
@@ -208,6 +227,12 @@ const apiInstance = new TasksApi(configuration);
208
227
  let companyId: string; // (default to undefined)
209
228
  let page: number; // (optional) (default to 1)
210
229
  let elements: number; // (optional) (default to 20)
230
+ let dueDateFrom: string; // (optional) (default to undefined)
231
+ let dueDateTo: string; // (optional) (default to undefined)
232
+ let priority: TaskPriority; // (optional) (default to undefined)
233
+ let status: TaskStatus; // (optional) (default to undefined)
234
+ let orderBy: OrderBy; // (optional) (default to undefined)
235
+ let order: 'asc' | 'desc'; // (optional) (default to 'asc')
211
236
  let authorization: string; // (optional) (default to undefined)
212
237
  let sessionId: string; // (optional) (default to undefined)
213
238
 
@@ -215,6 +240,12 @@ const { status, data } = await apiInstance.listTasksForUserV1TasksUserGet(
215
240
  companyId,
216
241
  page,
217
242
  elements,
243
+ dueDateFrom,
244
+ dueDateTo,
245
+ priority,
246
+ status,
247
+ orderBy,
248
+ order,
218
249
  authorization,
219
250
  sessionId
220
251
  );
@@ -227,6 +258,12 @@ const { status, data } = await apiInstance.listTasksForUserV1TasksUserGet(
227
258
  | **companyId** | [**string**] | | defaults to undefined|
228
259
  | **page** | [**number**] | | (optional) defaults to 1|
229
260
  | **elements** | [**number**] | | (optional) defaults to 20|
261
+ | **dueDateFrom** | [**string**] | | (optional) defaults to undefined|
262
+ | **dueDateTo** | [**string**] | | (optional) defaults to undefined|
263
+ | **priority** | **TaskPriority** | | (optional) defaults to undefined|
264
+ | **status** | **TaskStatus** | | (optional) defaults to undefined|
265
+ | **orderBy** | **OrderBy** | | (optional) defaults to undefined|
266
+ | **order** | [**&#39;asc&#39; | &#39;desc&#39;**]**Array<&#39;asc&#39; &#124; &#39;desc&#39;>** | | (optional) defaults to 'asc'|
230
267
  | **authorization** | [**string**] | | (optional) defaults to undefined|
231
268
  | **sessionId** | [**string**] | | (optional) defaults to undefined|
232
269
 
@@ -311,6 +348,64 @@ No authorization required
311
348
 
312
349
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
313
350
 
351
+ # **updateTaskStatusV1TasksStatusPatch**
352
+ > TaskRead updateTaskStatusV1TasksStatusPatch(updateTaskStatus)
353
+
354
+
355
+ ### Example
356
+
357
+ ```typescript
358
+ import {
359
+ TasksApi,
360
+ Configuration,
361
+ UpdateTaskStatus
362
+ } from './api';
363
+
364
+ const configuration = new Configuration();
365
+ const apiInstance = new TasksApi(configuration);
366
+
367
+ let updateTaskStatus: UpdateTaskStatus; //
368
+ let authorization: string; // (optional) (default to undefined)
369
+ let sessionId: string; // (optional) (default to undefined)
370
+
371
+ const { status, data } = await apiInstance.updateTaskStatusV1TasksStatusPatch(
372
+ updateTaskStatus,
373
+ authorization,
374
+ sessionId
375
+ );
376
+ ```
377
+
378
+ ### Parameters
379
+
380
+ |Name | Type | Description | Notes|
381
+ |------------- | ------------- | ------------- | -------------|
382
+ | **updateTaskStatus** | **UpdateTaskStatus**| | |
383
+ | **authorization** | [**string**] | | (optional) defaults to undefined|
384
+ | **sessionId** | [**string**] | | (optional) defaults to undefined|
385
+
386
+
387
+ ### Return type
388
+
389
+ **TaskRead**
390
+
391
+ ### Authorization
392
+
393
+ No authorization required
394
+
395
+ ### HTTP request headers
396
+
397
+ - **Content-Type**: application/json
398
+ - **Accept**: application/json
399
+
400
+
401
+ ### HTTP response details
402
+ | Status code | Description | Response headers |
403
+ |-------------|-------------|------------------|
404
+ |**200** | Successful Response | - |
405
+ |**422** | Validation Error | - |
406
+
407
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
408
+
314
409
  # **updateTaskV1TasksPut**
315
410
  > TaskRead updateTaskV1TasksPut(updateTaskSchema)
316
411
 
@@ -0,0 +1,22 @@
1
+ # UpdateTaskStatus
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UpdateTaskStatus } from './api';
15
+
16
+ const instance: UpdateTaskStatus = {
17
+ id,
18
+ status,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # UserWithId
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **email** | **string** | | [optional] [default to undefined]
10
+ **phone** | **string** | | [optional] [default to undefined]
11
+ **id** | **string** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { UserWithId } from './api';
17
+
18
+ const instance: UserWithId = {
19
+ name,
20
+ email,
21
+ phone,
22
+ id,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts CHANGED
@@ -15,4 +15,4 @@
15
15
 
16
16
  export * from "./api";
17
17
  export * from "./configuration";
18
- export * from "./sdk";
18
+
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "openapi-generator-cli": "^1.0.0"
5
5
  },
6
6
  "name": "@rasadov/lumoar-sdk",
7
- "version": "1.0.14",
7
+ "version": "1.0.16",
8
8
  "description": "Lumoar API SDK",
9
9
  "main": "dist/index.js",
10
10
  "directories": {