@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.
- package/.openapi-generator/FILES +7 -0
- package/api.ts +495 -24
- package/dist/api.d.ts +334 -17
- package/dist/api.js +314 -15
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/docs/AuditLogEntity.md +2 -0
- package/docs/AuditLogSchema.md +1 -1
- package/docs/OrderBy.md +14 -0
- package/docs/PaginationResponseTaskWithUser.md +22 -0
- package/docs/RolesApi.md +58 -0
- package/docs/TaskPriority.md +18 -0
- package/docs/TaskRead.md +2 -4
- package/docs/TaskStatus.md +18 -0
- package/docs/TaskWithUser.md +38 -0
- package/docs/TasksApi.md +97 -2
- package/docs/UpdateTaskStatus.md +22 -0
- package/docs/UserWithId.md +26 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -52,7 +52,8 @@ export const AuditLogEntity = {
|
|
|
52
52
|
Reports: 'reports',
|
|
53
53
|
Companies: 'companies',
|
|
54
54
|
Users: 'users',
|
|
55
|
-
Tasks: 'tasks'
|
|
55
|
+
Tasks: 'tasks',
|
|
56
|
+
TaskScheduler: 'task_scheduler'
|
|
56
57
|
} as const;
|
|
57
58
|
|
|
58
59
|
export type AuditLogEntity = typeof AuditLogEntity[keyof typeof AuditLogEntity];
|
|
@@ -87,7 +88,7 @@ export interface AuditLogSchema {
|
|
|
87
88
|
* @type {string}
|
|
88
89
|
* @memberof AuditLogSchema
|
|
89
90
|
*/
|
|
90
|
-
'entity_id'
|
|
91
|
+
'entity_id'?: string | null;
|
|
91
92
|
/**
|
|
92
93
|
*
|
|
93
94
|
* @type {string}
|
|
@@ -1170,6 +1171,22 @@ export interface LoginSchema {
|
|
|
1170
1171
|
*/
|
|
1171
1172
|
'turnstile_token': string;
|
|
1172
1173
|
}
|
|
1174
|
+
/**
|
|
1175
|
+
*
|
|
1176
|
+
* @export
|
|
1177
|
+
* @enum {string}
|
|
1178
|
+
*/
|
|
1179
|
+
|
|
1180
|
+
export const OrderBy = {
|
|
1181
|
+
Priority: 'priority',
|
|
1182
|
+
DueDate: 'due_date',
|
|
1183
|
+
UpdatedAt: 'updated_at',
|
|
1184
|
+
Status: 'status'
|
|
1185
|
+
} as const;
|
|
1186
|
+
|
|
1187
|
+
export type OrderBy = typeof OrderBy[keyof typeof OrderBy];
|
|
1188
|
+
|
|
1189
|
+
|
|
1173
1190
|
/**
|
|
1174
1191
|
*
|
|
1175
1192
|
* @export
|
|
@@ -1265,6 +1282,25 @@ export interface PaginationResponseTaskRead {
|
|
|
1265
1282
|
*/
|
|
1266
1283
|
'total': number;
|
|
1267
1284
|
}
|
|
1285
|
+
/**
|
|
1286
|
+
*
|
|
1287
|
+
* @export
|
|
1288
|
+
* @interface PaginationResponseTaskWithUser
|
|
1289
|
+
*/
|
|
1290
|
+
export interface PaginationResponseTaskWithUser {
|
|
1291
|
+
/**
|
|
1292
|
+
*
|
|
1293
|
+
* @type {Array<TaskWithUser>}
|
|
1294
|
+
* @memberof PaginationResponseTaskWithUser
|
|
1295
|
+
*/
|
|
1296
|
+
'items': Array<TaskWithUser>;
|
|
1297
|
+
/**
|
|
1298
|
+
*
|
|
1299
|
+
* @type {number}
|
|
1300
|
+
* @memberof PaginationResponseTaskWithUser
|
|
1301
|
+
*/
|
|
1302
|
+
'total': number;
|
|
1303
|
+
}
|
|
1268
1304
|
/**
|
|
1269
1305
|
*
|
|
1270
1306
|
* @export
|
|
@@ -1600,6 +1636,24 @@ export interface SchedulerRequest {
|
|
|
1600
1636
|
*/
|
|
1601
1637
|
'user_ids_to_assign'?: Array<string>;
|
|
1602
1638
|
}
|
|
1639
|
+
/**
|
|
1640
|
+
*
|
|
1641
|
+
* @export
|
|
1642
|
+
* @enum {number}
|
|
1643
|
+
*/
|
|
1644
|
+
|
|
1645
|
+
export const TaskPriority = {
|
|
1646
|
+
NUMBER_1: 1,
|
|
1647
|
+
NUMBER_2: 2,
|
|
1648
|
+
NUMBER_3: 3,
|
|
1649
|
+
NUMBER_4: 4,
|
|
1650
|
+
NUMBER_5: 5,
|
|
1651
|
+
NUMBER_6: 6
|
|
1652
|
+
} as const;
|
|
1653
|
+
|
|
1654
|
+
export type TaskPriority = typeof TaskPriority[keyof typeof TaskPriority];
|
|
1655
|
+
|
|
1656
|
+
|
|
1603
1657
|
/**
|
|
1604
1658
|
*
|
|
1605
1659
|
* @export
|
|
@@ -1641,32 +1695,115 @@ export interface TaskRead {
|
|
|
1641
1695
|
* @type {string}
|
|
1642
1696
|
* @memberof TaskRead
|
|
1643
1697
|
*/
|
|
1644
|
-
'
|
|
1698
|
+
'created_at': string;
|
|
1645
1699
|
/**
|
|
1646
1700
|
*
|
|
1647
1701
|
* @type {string}
|
|
1648
1702
|
* @memberof TaskRead
|
|
1649
1703
|
*/
|
|
1650
|
-
'
|
|
1704
|
+
'updated_at': string;
|
|
1651
1705
|
/**
|
|
1652
1706
|
*
|
|
1653
|
-
* @type {
|
|
1707
|
+
* @type {TaskPriority}
|
|
1654
1708
|
* @memberof TaskRead
|
|
1655
1709
|
*/
|
|
1656
|
-
'
|
|
1710
|
+
'priority': TaskPriority;
|
|
1657
1711
|
/**
|
|
1658
1712
|
*
|
|
1659
|
-
* @type {
|
|
1713
|
+
* @type {TaskStatus}
|
|
1660
1714
|
* @memberof TaskRead
|
|
1661
1715
|
*/
|
|
1662
|
-
'
|
|
1716
|
+
'status': TaskStatus;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
*
|
|
1722
|
+
* @export
|
|
1723
|
+
* @enum {string}
|
|
1724
|
+
*/
|
|
1725
|
+
|
|
1726
|
+
export const TaskStatus = {
|
|
1727
|
+
NotStarted: 'not_started',
|
|
1728
|
+
InProgress: 'in_progress',
|
|
1729
|
+
Completed: 'completed',
|
|
1730
|
+
PendingReview: 'pending_review',
|
|
1731
|
+
Failed: 'failed',
|
|
1732
|
+
Skipped: 'skipped'
|
|
1733
|
+
} as const;
|
|
1734
|
+
|
|
1735
|
+
export type TaskStatus = typeof TaskStatus[keyof typeof TaskStatus];
|
|
1736
|
+
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
*
|
|
1740
|
+
* @export
|
|
1741
|
+
* @interface TaskWithUser
|
|
1742
|
+
*/
|
|
1743
|
+
export interface TaskWithUser {
|
|
1744
|
+
/**
|
|
1745
|
+
*
|
|
1746
|
+
* @type {string}
|
|
1747
|
+
* @memberof TaskWithUser
|
|
1748
|
+
*/
|
|
1749
|
+
'id': string;
|
|
1663
1750
|
/**
|
|
1664
1751
|
*
|
|
1665
1752
|
* @type {string}
|
|
1666
|
-
* @memberof
|
|
1753
|
+
* @memberof TaskWithUser
|
|
1667
1754
|
*/
|
|
1668
|
-
'
|
|
1755
|
+
'company_id': string;
|
|
1756
|
+
/**
|
|
1757
|
+
*
|
|
1758
|
+
* @type {string}
|
|
1759
|
+
* @memberof TaskWithUser
|
|
1760
|
+
*/
|
|
1761
|
+
'title': string;
|
|
1762
|
+
/**
|
|
1763
|
+
*
|
|
1764
|
+
* @type {string}
|
|
1765
|
+
* @memberof TaskWithUser
|
|
1766
|
+
*/
|
|
1767
|
+
'description': string;
|
|
1768
|
+
/**
|
|
1769
|
+
*
|
|
1770
|
+
* @type {string}
|
|
1771
|
+
* @memberof TaskWithUser
|
|
1772
|
+
*/
|
|
1773
|
+
'due_date': string;
|
|
1774
|
+
/**
|
|
1775
|
+
*
|
|
1776
|
+
* @type {string}
|
|
1777
|
+
* @memberof TaskWithUser
|
|
1778
|
+
*/
|
|
1779
|
+
'created_at': string;
|
|
1780
|
+
/**
|
|
1781
|
+
*
|
|
1782
|
+
* @type {string}
|
|
1783
|
+
* @memberof TaskWithUser
|
|
1784
|
+
*/
|
|
1785
|
+
'updated_at': string;
|
|
1786
|
+
/**
|
|
1787
|
+
*
|
|
1788
|
+
* @type {TaskPriority}
|
|
1789
|
+
* @memberof TaskWithUser
|
|
1790
|
+
*/
|
|
1791
|
+
'priority': TaskPriority;
|
|
1792
|
+
/**
|
|
1793
|
+
*
|
|
1794
|
+
* @type {TaskStatus}
|
|
1795
|
+
* @memberof TaskWithUser
|
|
1796
|
+
*/
|
|
1797
|
+
'status': TaskStatus;
|
|
1798
|
+
/**
|
|
1799
|
+
*
|
|
1800
|
+
* @type {UserWithId}
|
|
1801
|
+
* @memberof TaskWithUser
|
|
1802
|
+
*/
|
|
1803
|
+
'assigned_to': UserWithId | null;
|
|
1669
1804
|
}
|
|
1805
|
+
|
|
1806
|
+
|
|
1670
1807
|
/**
|
|
1671
1808
|
*
|
|
1672
1809
|
* @export
|
|
@@ -1750,6 +1887,27 @@ export interface UpdateTaskSchema {
|
|
|
1750
1887
|
*/
|
|
1751
1888
|
'assigned_to_id': string;
|
|
1752
1889
|
}
|
|
1890
|
+
/**
|
|
1891
|
+
*
|
|
1892
|
+
* @export
|
|
1893
|
+
* @interface UpdateTaskStatus
|
|
1894
|
+
*/
|
|
1895
|
+
export interface UpdateTaskStatus {
|
|
1896
|
+
/**
|
|
1897
|
+
*
|
|
1898
|
+
* @type {string}
|
|
1899
|
+
* @memberof UpdateTaskStatus
|
|
1900
|
+
*/
|
|
1901
|
+
'id': string;
|
|
1902
|
+
/**
|
|
1903
|
+
*
|
|
1904
|
+
* @type {TaskStatus}
|
|
1905
|
+
* @memberof UpdateTaskStatus
|
|
1906
|
+
*/
|
|
1907
|
+
'status': TaskStatus;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
|
|
1753
1911
|
/**
|
|
1754
1912
|
*
|
|
1755
1913
|
* @export
|
|
@@ -1875,6 +2033,37 @@ export interface UserUpdate {
|
|
|
1875
2033
|
*/
|
|
1876
2034
|
'phone'?: string | null;
|
|
1877
2035
|
}
|
|
2036
|
+
/**
|
|
2037
|
+
*
|
|
2038
|
+
* @export
|
|
2039
|
+
* @interface UserWithId
|
|
2040
|
+
*/
|
|
2041
|
+
export interface UserWithId {
|
|
2042
|
+
/**
|
|
2043
|
+
*
|
|
2044
|
+
* @type {string}
|
|
2045
|
+
* @memberof UserWithId
|
|
2046
|
+
*/
|
|
2047
|
+
'name': string;
|
|
2048
|
+
/**
|
|
2049
|
+
*
|
|
2050
|
+
* @type {string}
|
|
2051
|
+
* @memberof UserWithId
|
|
2052
|
+
*/
|
|
2053
|
+
'email'?: string;
|
|
2054
|
+
/**
|
|
2055
|
+
*
|
|
2056
|
+
* @type {string}
|
|
2057
|
+
* @memberof UserWithId
|
|
2058
|
+
*/
|
|
2059
|
+
'phone'?: string | null;
|
|
2060
|
+
/**
|
|
2061
|
+
*
|
|
2062
|
+
* @type {string}
|
|
2063
|
+
* @memberof UserWithId
|
|
2064
|
+
*/
|
|
2065
|
+
'id': string;
|
|
2066
|
+
}
|
|
1878
2067
|
/**
|
|
1879
2068
|
*
|
|
1880
2069
|
* @export
|
|
@@ -5581,6 +5770,45 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5581
5770
|
|
|
5582
5771
|
|
|
5583
5772
|
|
|
5773
|
+
if (authorization != null) {
|
|
5774
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5775
|
+
}
|
|
5776
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5777
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5778
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5779
|
+
|
|
5780
|
+
return {
|
|
5781
|
+
url: toPathString(localVarUrlObj),
|
|
5782
|
+
options: localVarRequestOptions,
|
|
5783
|
+
};
|
|
5784
|
+
},
|
|
5785
|
+
/**
|
|
5786
|
+
*
|
|
5787
|
+
* @summary Get Users
|
|
5788
|
+
* @param {string} companyId
|
|
5789
|
+
* @param {string} [authorization]
|
|
5790
|
+
* @param {string} [sessionId]
|
|
5791
|
+
* @param {*} [options] Override http request option.
|
|
5792
|
+
* @throws {RequiredError}
|
|
5793
|
+
*/
|
|
5794
|
+
getUsersV1RolesCompanyIdListGet: async (companyId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5795
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
5796
|
+
assertParamExists('getUsersV1RolesCompanyIdListGet', 'companyId', companyId)
|
|
5797
|
+
const localVarPath = `/v1/roles/{company_id}/list`
|
|
5798
|
+
.replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
|
|
5799
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5800
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5801
|
+
let baseOptions;
|
|
5802
|
+
if (configuration) {
|
|
5803
|
+
baseOptions = configuration.baseOptions;
|
|
5804
|
+
}
|
|
5805
|
+
|
|
5806
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5807
|
+
const localVarHeaderParameter = {} as any;
|
|
5808
|
+
const localVarQueryParameter = {} as any;
|
|
5809
|
+
|
|
5810
|
+
|
|
5811
|
+
|
|
5584
5812
|
if (authorization != null) {
|
|
5585
5813
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5586
5814
|
}
|
|
@@ -5700,6 +5928,21 @@ export const RolesApiFp = function(configuration?: Configuration) {
|
|
|
5700
5928
|
const localVarOperationServerBasePath = operationServerMap['RolesApi.getUserPermissionsV1RolesCompanyIdMeGet']?.[localVarOperationServerIndex]?.url;
|
|
5701
5929
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5702
5930
|
},
|
|
5931
|
+
/**
|
|
5932
|
+
*
|
|
5933
|
+
* @summary Get Users
|
|
5934
|
+
* @param {string} companyId
|
|
5935
|
+
* @param {string} [authorization]
|
|
5936
|
+
* @param {string} [sessionId]
|
|
5937
|
+
* @param {*} [options] Override http request option.
|
|
5938
|
+
* @throws {RequiredError}
|
|
5939
|
+
*/
|
|
5940
|
+
async getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserWithId>>> {
|
|
5941
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options);
|
|
5942
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5943
|
+
const localVarOperationServerBasePath = operationServerMap['RolesApi.getUsersV1RolesCompanyIdListGet']?.[localVarOperationServerIndex]?.url;
|
|
5944
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5945
|
+
},
|
|
5703
5946
|
/**
|
|
5704
5947
|
*
|
|
5705
5948
|
* @summary Invite
|
|
@@ -5752,6 +5995,18 @@ export const RolesApiFactory = function (configuration?: Configuration, basePath
|
|
|
5752
5995
|
getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PermissionResponse> {
|
|
5753
5996
|
return localVarFp.getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5754
5997
|
},
|
|
5998
|
+
/**
|
|
5999
|
+
*
|
|
6000
|
+
* @summary Get Users
|
|
6001
|
+
* @param {string} companyId
|
|
6002
|
+
* @param {string} [authorization]
|
|
6003
|
+
* @param {string} [sessionId]
|
|
6004
|
+
* @param {*} [options] Override http request option.
|
|
6005
|
+
* @throws {RequiredError}
|
|
6006
|
+
*/
|
|
6007
|
+
getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserWithId>> {
|
|
6008
|
+
return localVarFp.getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6009
|
+
},
|
|
5755
6010
|
/**
|
|
5756
6011
|
*
|
|
5757
6012
|
* @summary Invite
|
|
@@ -5800,6 +6055,20 @@ export class RolesApi extends BaseAPI {
|
|
|
5800
6055
|
return RolesApiFp(this.configuration).getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5801
6056
|
}
|
|
5802
6057
|
|
|
6058
|
+
/**
|
|
6059
|
+
*
|
|
6060
|
+
* @summary Get Users
|
|
6061
|
+
* @param {string} companyId
|
|
6062
|
+
* @param {string} [authorization]
|
|
6063
|
+
* @param {string} [sessionId]
|
|
6064
|
+
* @param {*} [options] Override http request option.
|
|
6065
|
+
* @throws {RequiredError}
|
|
6066
|
+
* @memberof RolesApi
|
|
6067
|
+
*/
|
|
6068
|
+
public getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6069
|
+
return RolesApiFp(this.configuration).getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6070
|
+
}
|
|
6071
|
+
|
|
5803
6072
|
/**
|
|
5804
6073
|
*
|
|
5805
6074
|
* @summary Invite
|
|
@@ -5925,12 +6194,18 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5925
6194
|
* @param {string} companyId
|
|
5926
6195
|
* @param {number} [page]
|
|
5927
6196
|
* @param {number} [elements]
|
|
6197
|
+
* @param {string | null} [dueDateFrom]
|
|
6198
|
+
* @param {string | null} [dueDateTo]
|
|
6199
|
+
* @param {TaskPriority | null} [priority]
|
|
6200
|
+
* @param {TaskStatus | null} [status]
|
|
6201
|
+
* @param {OrderBy | null} [orderBy]
|
|
6202
|
+
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
5928
6203
|
* @param {string} [authorization]
|
|
5929
6204
|
* @param {string} [sessionId]
|
|
5930
6205
|
* @param {*} [options] Override http request option.
|
|
5931
6206
|
* @throws {RequiredError}
|
|
5932
6207
|
*/
|
|
5933
|
-
listTasksForCompanyV1TasksCompanyGet: async (companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6208
|
+
listTasksForCompanyV1TasksCompanyGet: async (companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForCompanyV1TasksCompanyGetOrderEnum, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5934
6209
|
// verify required parameter 'companyId' is not null or undefined
|
|
5935
6210
|
assertParamExists('listTasksForCompanyV1TasksCompanyGet', 'companyId', companyId)
|
|
5936
6211
|
const localVarPath = `/v1/tasks/company`;
|
|
@@ -5957,6 +6232,34 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5957
6232
|
localVarQueryParameter['elements'] = elements;
|
|
5958
6233
|
}
|
|
5959
6234
|
|
|
6235
|
+
if (dueDateFrom !== undefined) {
|
|
6236
|
+
localVarQueryParameter['due_date_from'] = (dueDateFrom as any instanceof Date) ?
|
|
6237
|
+
(dueDateFrom as any).toISOString() :
|
|
6238
|
+
dueDateFrom;
|
|
6239
|
+
}
|
|
6240
|
+
|
|
6241
|
+
if (dueDateTo !== undefined) {
|
|
6242
|
+
localVarQueryParameter['due_date_to'] = (dueDateTo as any instanceof Date) ?
|
|
6243
|
+
(dueDateTo as any).toISOString() :
|
|
6244
|
+
dueDateTo;
|
|
6245
|
+
}
|
|
6246
|
+
|
|
6247
|
+
if (priority !== undefined) {
|
|
6248
|
+
localVarQueryParameter['priority'] = priority;
|
|
6249
|
+
}
|
|
6250
|
+
|
|
6251
|
+
if (status !== undefined) {
|
|
6252
|
+
localVarQueryParameter['status'] = status;
|
|
6253
|
+
}
|
|
6254
|
+
|
|
6255
|
+
if (orderBy !== undefined) {
|
|
6256
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
6257
|
+
}
|
|
6258
|
+
|
|
6259
|
+
if (order !== undefined) {
|
|
6260
|
+
localVarQueryParameter['order'] = order;
|
|
6261
|
+
}
|
|
6262
|
+
|
|
5960
6263
|
|
|
5961
6264
|
|
|
5962
6265
|
if (authorization != null) {
|
|
@@ -5977,12 +6280,18 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5977
6280
|
* @param {string} companyId
|
|
5978
6281
|
* @param {number} [page]
|
|
5979
6282
|
* @param {number} [elements]
|
|
6283
|
+
* @param {string | null} [dueDateFrom]
|
|
6284
|
+
* @param {string | null} [dueDateTo]
|
|
6285
|
+
* @param {TaskPriority | null} [priority]
|
|
6286
|
+
* @param {TaskStatus | null} [status]
|
|
6287
|
+
* @param {OrderBy | null} [orderBy]
|
|
6288
|
+
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
5980
6289
|
* @param {string} [authorization]
|
|
5981
6290
|
* @param {string} [sessionId]
|
|
5982
6291
|
* @param {*} [options] Override http request option.
|
|
5983
6292
|
* @throws {RequiredError}
|
|
5984
6293
|
*/
|
|
5985
|
-
listTasksForUserV1TasksUserGet: async (companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6294
|
+
listTasksForUserV1TasksUserGet: async (companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForUserV1TasksUserGetOrderEnum, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5986
6295
|
// verify required parameter 'companyId' is not null or undefined
|
|
5987
6296
|
assertParamExists('listTasksForUserV1TasksUserGet', 'companyId', companyId)
|
|
5988
6297
|
const localVarPath = `/v1/tasks/user`;
|
|
@@ -6009,6 +6318,34 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6009
6318
|
localVarQueryParameter['elements'] = elements;
|
|
6010
6319
|
}
|
|
6011
6320
|
|
|
6321
|
+
if (dueDateFrom !== undefined) {
|
|
6322
|
+
localVarQueryParameter['due_date_from'] = (dueDateFrom as any instanceof Date) ?
|
|
6323
|
+
(dueDateFrom as any).toISOString() :
|
|
6324
|
+
dueDateFrom;
|
|
6325
|
+
}
|
|
6326
|
+
|
|
6327
|
+
if (dueDateTo !== undefined) {
|
|
6328
|
+
localVarQueryParameter['due_date_to'] = (dueDateTo as any instanceof Date) ?
|
|
6329
|
+
(dueDateTo as any).toISOString() :
|
|
6330
|
+
dueDateTo;
|
|
6331
|
+
}
|
|
6332
|
+
|
|
6333
|
+
if (priority !== undefined) {
|
|
6334
|
+
localVarQueryParameter['priority'] = priority;
|
|
6335
|
+
}
|
|
6336
|
+
|
|
6337
|
+
if (status !== undefined) {
|
|
6338
|
+
localVarQueryParameter['status'] = status;
|
|
6339
|
+
}
|
|
6340
|
+
|
|
6341
|
+
if (orderBy !== undefined) {
|
|
6342
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
6343
|
+
}
|
|
6344
|
+
|
|
6345
|
+
if (order !== undefined) {
|
|
6346
|
+
localVarQueryParameter['order'] = order;
|
|
6347
|
+
}
|
|
6348
|
+
|
|
6012
6349
|
|
|
6013
6350
|
|
|
6014
6351
|
if (authorization != null) {
|
|
@@ -6064,6 +6401,47 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6064
6401
|
options: localVarRequestOptions,
|
|
6065
6402
|
};
|
|
6066
6403
|
},
|
|
6404
|
+
/**
|
|
6405
|
+
*
|
|
6406
|
+
* @summary Update Task Status
|
|
6407
|
+
* @param {UpdateTaskStatus} updateTaskStatus
|
|
6408
|
+
* @param {string} [authorization]
|
|
6409
|
+
* @param {string} [sessionId]
|
|
6410
|
+
* @param {*} [options] Override http request option.
|
|
6411
|
+
* @throws {RequiredError}
|
|
6412
|
+
*/
|
|
6413
|
+
updateTaskStatusV1TasksStatusPatch: async (updateTaskStatus: UpdateTaskStatus, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6414
|
+
// verify required parameter 'updateTaskStatus' is not null or undefined
|
|
6415
|
+
assertParamExists('updateTaskStatusV1TasksStatusPatch', 'updateTaskStatus', updateTaskStatus)
|
|
6416
|
+
const localVarPath = `/v1/tasks/status`;
|
|
6417
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6418
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6419
|
+
let baseOptions;
|
|
6420
|
+
if (configuration) {
|
|
6421
|
+
baseOptions = configuration.baseOptions;
|
|
6422
|
+
}
|
|
6423
|
+
|
|
6424
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
6425
|
+
const localVarHeaderParameter = {} as any;
|
|
6426
|
+
const localVarQueryParameter = {} as any;
|
|
6427
|
+
|
|
6428
|
+
|
|
6429
|
+
|
|
6430
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6431
|
+
|
|
6432
|
+
if (authorization != null) {
|
|
6433
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
6434
|
+
}
|
|
6435
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6436
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6437
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6438
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskStatus, localVarRequestOptions, configuration)
|
|
6439
|
+
|
|
6440
|
+
return {
|
|
6441
|
+
url: toPathString(localVarUrlObj),
|
|
6442
|
+
options: localVarRequestOptions,
|
|
6443
|
+
};
|
|
6444
|
+
},
|
|
6067
6445
|
/**
|
|
6068
6446
|
*
|
|
6069
6447
|
* @summary Update Task
|
|
@@ -6151,13 +6529,19 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
6151
6529
|
* @param {string} companyId
|
|
6152
6530
|
* @param {number} [page]
|
|
6153
6531
|
* @param {number} [elements]
|
|
6532
|
+
* @param {string | null} [dueDateFrom]
|
|
6533
|
+
* @param {string | null} [dueDateTo]
|
|
6534
|
+
* @param {TaskPriority | null} [priority]
|
|
6535
|
+
* @param {TaskStatus | null} [status]
|
|
6536
|
+
* @param {OrderBy | null} [orderBy]
|
|
6537
|
+
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
6154
6538
|
* @param {string} [authorization]
|
|
6155
6539
|
* @param {string} [sessionId]
|
|
6156
6540
|
* @param {*} [options] Override http request option.
|
|
6157
6541
|
* @throws {RequiredError}
|
|
6158
6542
|
*/
|
|
6159
|
-
async listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
6160
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, authorization, sessionId, options);
|
|
6543
|
+
async listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForCompanyV1TasksCompanyGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskWithUser>> {
|
|
6544
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options);
|
|
6161
6545
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6162
6546
|
const localVarOperationServerBasePath = operationServerMap['TasksApi.listTasksForCompanyV1TasksCompanyGet']?.[localVarOperationServerIndex]?.url;
|
|
6163
6547
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6168,13 +6552,19 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
6168
6552
|
* @param {string} companyId
|
|
6169
6553
|
* @param {number} [page]
|
|
6170
6554
|
* @param {number} [elements]
|
|
6555
|
+
* @param {string | null} [dueDateFrom]
|
|
6556
|
+
* @param {string | null} [dueDateTo]
|
|
6557
|
+
* @param {TaskPriority | null} [priority]
|
|
6558
|
+
* @param {TaskStatus | null} [status]
|
|
6559
|
+
* @param {OrderBy | null} [orderBy]
|
|
6560
|
+
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
6171
6561
|
* @param {string} [authorization]
|
|
6172
6562
|
* @param {string} [sessionId]
|
|
6173
6563
|
* @param {*} [options] Override http request option.
|
|
6174
6564
|
* @throws {RequiredError}
|
|
6175
6565
|
*/
|
|
6176
|
-
async listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>> {
|
|
6177
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasksForUserV1TasksUserGet(companyId, page, elements, authorization, sessionId, options);
|
|
6566
|
+
async listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForUserV1TasksUserGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>> {
|
|
6567
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasksForUserV1TasksUserGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options);
|
|
6178
6568
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6179
6569
|
const localVarOperationServerBasePath = operationServerMap['TasksApi.listTasksForUserV1TasksUserGet']?.[localVarOperationServerIndex]?.url;
|
|
6180
6570
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6194,6 +6584,21 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
6194
6584
|
const localVarOperationServerBasePath = operationServerMap['TasksApi.requestTaskSchedulingV1TasksSchedulePost']?.[localVarOperationServerIndex]?.url;
|
|
6195
6585
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6196
6586
|
},
|
|
6587
|
+
/**
|
|
6588
|
+
*
|
|
6589
|
+
* @summary Update Task Status
|
|
6590
|
+
* @param {UpdateTaskStatus} updateTaskStatus
|
|
6591
|
+
* @param {string} [authorization]
|
|
6592
|
+
* @param {string} [sessionId]
|
|
6593
|
+
* @param {*} [options] Override http request option.
|
|
6594
|
+
* @throws {RequiredError}
|
|
6595
|
+
*/
|
|
6596
|
+
async updateTaskStatusV1TasksStatusPatch(updateTaskStatus: UpdateTaskStatus, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskRead>> {
|
|
6597
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTaskStatusV1TasksStatusPatch(updateTaskStatus, authorization, sessionId, options);
|
|
6598
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6599
|
+
const localVarOperationServerBasePath = operationServerMap['TasksApi.updateTaskStatusV1TasksStatusPatch']?.[localVarOperationServerIndex]?.url;
|
|
6600
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6601
|
+
},
|
|
6197
6602
|
/**
|
|
6198
6603
|
*
|
|
6199
6604
|
* @summary Update Task
|
|
@@ -6249,13 +6654,19 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
6249
6654
|
* @param {string} companyId
|
|
6250
6655
|
* @param {number} [page]
|
|
6251
6656
|
* @param {number} [elements]
|
|
6657
|
+
* @param {string | null} [dueDateFrom]
|
|
6658
|
+
* @param {string | null} [dueDateTo]
|
|
6659
|
+
* @param {TaskPriority | null} [priority]
|
|
6660
|
+
* @param {TaskStatus | null} [status]
|
|
6661
|
+
* @param {OrderBy | null} [orderBy]
|
|
6662
|
+
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
6252
6663
|
* @param {string} [authorization]
|
|
6253
6664
|
* @param {string} [sessionId]
|
|
6254
6665
|
* @param {*} [options] Override http request option.
|
|
6255
6666
|
* @throws {RequiredError}
|
|
6256
6667
|
*/
|
|
6257
|
-
listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
6258
|
-
return localVarFp.listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6668
|
+
listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForCompanyV1TasksCompanyGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskWithUser> {
|
|
6669
|
+
return localVarFp.listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6259
6670
|
},
|
|
6260
6671
|
/**
|
|
6261
6672
|
*
|
|
@@ -6263,13 +6674,19 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
6263
6674
|
* @param {string} companyId
|
|
6264
6675
|
* @param {number} [page]
|
|
6265
6676
|
* @param {number} [elements]
|
|
6677
|
+
* @param {string | null} [dueDateFrom]
|
|
6678
|
+
* @param {string | null} [dueDateTo]
|
|
6679
|
+
* @param {TaskPriority | null} [priority]
|
|
6680
|
+
* @param {TaskStatus | null} [status]
|
|
6681
|
+
* @param {OrderBy | null} [orderBy]
|
|
6682
|
+
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
6266
6683
|
* @param {string} [authorization]
|
|
6267
6684
|
* @param {string} [sessionId]
|
|
6268
6685
|
* @param {*} [options] Override http request option.
|
|
6269
6686
|
* @throws {RequiredError}
|
|
6270
6687
|
*/
|
|
6271
|
-
listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead> {
|
|
6272
|
-
return localVarFp.listTasksForUserV1TasksUserGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6688
|
+
listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForUserV1TasksUserGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead> {
|
|
6689
|
+
return localVarFp.listTasksForUserV1TasksUserGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6273
6690
|
},
|
|
6274
6691
|
/**
|
|
6275
6692
|
*
|
|
@@ -6283,6 +6700,18 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
6283
6700
|
requestTaskSchedulingV1TasksSchedulePost(schedulerRequest: SchedulerRequest, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
6284
6701
|
return localVarFp.requestTaskSchedulingV1TasksSchedulePost(schedulerRequest, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6285
6702
|
},
|
|
6703
|
+
/**
|
|
6704
|
+
*
|
|
6705
|
+
* @summary Update Task Status
|
|
6706
|
+
* @param {UpdateTaskStatus} updateTaskStatus
|
|
6707
|
+
* @param {string} [authorization]
|
|
6708
|
+
* @param {string} [sessionId]
|
|
6709
|
+
* @param {*} [options] Override http request option.
|
|
6710
|
+
* @throws {RequiredError}
|
|
6711
|
+
*/
|
|
6712
|
+
updateTaskStatusV1TasksStatusPatch(updateTaskStatus: UpdateTaskStatus, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskRead> {
|
|
6713
|
+
return localVarFp.updateTaskStatusV1TasksStatusPatch(updateTaskStatus, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6714
|
+
},
|
|
6286
6715
|
/**
|
|
6287
6716
|
*
|
|
6288
6717
|
* @summary Update Task
|
|
@@ -6339,14 +6768,20 @@ export class TasksApi extends BaseAPI {
|
|
|
6339
6768
|
* @param {string} companyId
|
|
6340
6769
|
* @param {number} [page]
|
|
6341
6770
|
* @param {number} [elements]
|
|
6771
|
+
* @param {string | null} [dueDateFrom]
|
|
6772
|
+
* @param {string | null} [dueDateTo]
|
|
6773
|
+
* @param {TaskPriority | null} [priority]
|
|
6774
|
+
* @param {TaskStatus | null} [status]
|
|
6775
|
+
* @param {OrderBy | null} [orderBy]
|
|
6776
|
+
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
6342
6777
|
* @param {string} [authorization]
|
|
6343
6778
|
* @param {string} [sessionId]
|
|
6344
6779
|
* @param {*} [options] Override http request option.
|
|
6345
6780
|
* @throws {RequiredError}
|
|
6346
6781
|
* @memberof TasksApi
|
|
6347
6782
|
*/
|
|
6348
|
-
public listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6349
|
-
return TasksApiFp(this.configuration).listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6783
|
+
public listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForCompanyV1TasksCompanyGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6784
|
+
return TasksApiFp(this.configuration).listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6350
6785
|
}
|
|
6351
6786
|
|
|
6352
6787
|
/**
|
|
@@ -6355,14 +6790,20 @@ export class TasksApi extends BaseAPI {
|
|
|
6355
6790
|
* @param {string} companyId
|
|
6356
6791
|
* @param {number} [page]
|
|
6357
6792
|
* @param {number} [elements]
|
|
6793
|
+
* @param {string | null} [dueDateFrom]
|
|
6794
|
+
* @param {string | null} [dueDateTo]
|
|
6795
|
+
* @param {TaskPriority | null} [priority]
|
|
6796
|
+
* @param {TaskStatus | null} [status]
|
|
6797
|
+
* @param {OrderBy | null} [orderBy]
|
|
6798
|
+
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
6358
6799
|
* @param {string} [authorization]
|
|
6359
6800
|
* @param {string} [sessionId]
|
|
6360
6801
|
* @param {*} [options] Override http request option.
|
|
6361
6802
|
* @throws {RequiredError}
|
|
6362
6803
|
* @memberof TasksApi
|
|
6363
6804
|
*/
|
|
6364
|
-
public listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6365
|
-
return TasksApiFp(this.configuration).listTasksForUserV1TasksUserGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6805
|
+
public listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForUserV1TasksUserGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6806
|
+
return TasksApiFp(this.configuration).listTasksForUserV1TasksUserGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6366
6807
|
}
|
|
6367
6808
|
|
|
6368
6809
|
/**
|
|
@@ -6379,6 +6820,20 @@ export class TasksApi extends BaseAPI {
|
|
|
6379
6820
|
return TasksApiFp(this.configuration).requestTaskSchedulingV1TasksSchedulePost(schedulerRequest, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6380
6821
|
}
|
|
6381
6822
|
|
|
6823
|
+
/**
|
|
6824
|
+
*
|
|
6825
|
+
* @summary Update Task Status
|
|
6826
|
+
* @param {UpdateTaskStatus} updateTaskStatus
|
|
6827
|
+
* @param {string} [authorization]
|
|
6828
|
+
* @param {string} [sessionId]
|
|
6829
|
+
* @param {*} [options] Override http request option.
|
|
6830
|
+
* @throws {RequiredError}
|
|
6831
|
+
* @memberof TasksApi
|
|
6832
|
+
*/
|
|
6833
|
+
public updateTaskStatusV1TasksStatusPatch(updateTaskStatus: UpdateTaskStatus, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6834
|
+
return TasksApiFp(this.configuration).updateTaskStatusV1TasksStatusPatch(updateTaskStatus, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6835
|
+
}
|
|
6836
|
+
|
|
6382
6837
|
/**
|
|
6383
6838
|
*
|
|
6384
6839
|
* @summary Update Task
|
|
@@ -6394,6 +6849,22 @@ export class TasksApi extends BaseAPI {
|
|
|
6394
6849
|
}
|
|
6395
6850
|
}
|
|
6396
6851
|
|
|
6852
|
+
/**
|
|
6853
|
+
* @export
|
|
6854
|
+
*/
|
|
6855
|
+
export const ListTasksForCompanyV1TasksCompanyGetOrderEnum = {
|
|
6856
|
+
Asc: 'asc',
|
|
6857
|
+
Desc: 'desc'
|
|
6858
|
+
} as const;
|
|
6859
|
+
export type ListTasksForCompanyV1TasksCompanyGetOrderEnum = typeof ListTasksForCompanyV1TasksCompanyGetOrderEnum[keyof typeof ListTasksForCompanyV1TasksCompanyGetOrderEnum];
|
|
6860
|
+
/**
|
|
6861
|
+
* @export
|
|
6862
|
+
*/
|
|
6863
|
+
export const ListTasksForUserV1TasksUserGetOrderEnum = {
|
|
6864
|
+
Asc: 'asc',
|
|
6865
|
+
Desc: 'desc'
|
|
6866
|
+
} as const;
|
|
6867
|
+
export type ListTasksForUserV1TasksUserGetOrderEnum = typeof ListTasksForUserV1TasksUserGetOrderEnum[keyof typeof ListTasksForUserV1TasksUserGetOrderEnum];
|
|
6397
6868
|
|
|
6398
6869
|
|
|
6399
6870
|
/**
|