@rasadov/lumoar-sdk 1.0.15 → 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.
@@ -45,6 +45,7 @@ docs/PaginationResponseCompanyInDBBase.md
45
45
  docs/PaginationResponsePolicyRead.md
46
46
  docs/PaginationResponseReportBase.md
47
47
  docs/PaginationResponseTaskRead.md
48
+ docs/PaginationResponseTaskWithUser.md
48
49
  docs/PaymentsApi.md
49
50
  docs/PermissionResponse.md
50
51
  docs/PermissionType.md
@@ -61,8 +62,10 @@ docs/ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet.md
61
62
  docs/RolesApi.md
62
63
  docs/RolesWithUser.md
63
64
  docs/SchedulerRequest.md
65
+ docs/TaskPriority.md
64
66
  docs/TaskRead.md
65
67
  docs/TaskStatus.md
68
+ docs/TaskWithUser.md
66
69
  docs/TasksApi.md
67
70
  docs/UpdateControlSchema.md
68
71
  docs/UpdatePassword.md
@@ -74,6 +77,7 @@ docs/UserInDBBase.md
74
77
  docs/UserPermissionsWithCompany.md
75
78
  docs/UserRole.md
76
79
  docs/UserUpdate.md
80
+ docs/UserWithId.md
77
81
  docs/UserWithRelations.md
78
82
  docs/ValidationError.md
79
83
  docs/ValidationErrorLocInner.md
package/api.ts CHANGED
@@ -1282,6 +1282,25 @@ export interface PaginationResponseTaskRead {
1282
1282
  */
1283
1283
  'total': number;
1284
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
+ }
1285
1304
  /**
1286
1305
  *
1287
1306
  * @export
@@ -1617,6 +1636,24 @@ export interface SchedulerRequest {
1617
1636
  */
1618
1637
  'user_ids_to_assign'?: Array<string>;
1619
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
+
1620
1657
  /**
1621
1658
  *
1622
1659
  * @export
@@ -1653,12 +1690,6 @@ export interface TaskRead {
1653
1690
  * @memberof TaskRead
1654
1691
  */
1655
1692
  'due_date': string;
1656
- /**
1657
- *
1658
- * @type {string}
1659
- * @memberof TaskRead
1660
- */
1661
- 'assigned_to_id': string;
1662
1693
  /**
1663
1694
  *
1664
1695
  * @type {string}
@@ -1673,17 +1704,19 @@ export interface TaskRead {
1673
1704
  'updated_at': string;
1674
1705
  /**
1675
1706
  *
1676
- * @type {number}
1707
+ * @type {TaskPriority}
1677
1708
  * @memberof TaskRead
1678
1709
  */
1679
- 'priority': number;
1710
+ 'priority': TaskPriority;
1680
1711
  /**
1681
1712
  *
1682
- * @type {string}
1713
+ * @type {TaskStatus}
1683
1714
  * @memberof TaskRead
1684
1715
  */
1685
- 'status': string;
1716
+ 'status': TaskStatus;
1686
1717
  }
1718
+
1719
+
1687
1720
  /**
1688
1721
  *
1689
1722
  * @export
@@ -1702,6 +1735,75 @@ export const TaskStatus = {
1702
1735
  export type TaskStatus = typeof TaskStatus[keyof typeof TaskStatus];
1703
1736
 
1704
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;
1750
+ /**
1751
+ *
1752
+ * @type {string}
1753
+ * @memberof TaskWithUser
1754
+ */
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;
1804
+ }
1805
+
1806
+
1705
1807
  /**
1706
1808
  *
1707
1809
  * @export
@@ -1799,11 +1901,13 @@ export interface UpdateTaskStatus {
1799
1901
  'id': string;
1800
1902
  /**
1801
1903
  *
1802
- * @type {string}
1904
+ * @type {TaskStatus}
1803
1905
  * @memberof UpdateTaskStatus
1804
1906
  */
1805
- 'status': string;
1907
+ 'status': TaskStatus;
1806
1908
  }
1909
+
1910
+
1807
1911
  /**
1808
1912
  *
1809
1913
  * @export
@@ -1929,6 +2033,37 @@ export interface UserUpdate {
1929
2033
  */
1930
2034
  'phone'?: string | null;
1931
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
+ }
1932
2067
  /**
1933
2068
  *
1934
2069
  * @export
@@ -5635,6 +5770,45 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
5635
5770
 
5636
5771
 
5637
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
+
5638
5812
  if (authorization != null) {
5639
5813
  localVarHeaderParameter['Authorization'] = String(authorization);
5640
5814
  }
@@ -5754,6 +5928,21 @@ export const RolesApiFp = function(configuration?: Configuration) {
5754
5928
  const localVarOperationServerBasePath = operationServerMap['RolesApi.getUserPermissionsV1RolesCompanyIdMeGet']?.[localVarOperationServerIndex]?.url;
5755
5929
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5756
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
+ },
5757
5946
  /**
5758
5947
  *
5759
5948
  * @summary Invite
@@ -5806,6 +5995,18 @@ export const RolesApiFactory = function (configuration?: Configuration, basePath
5806
5995
  getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PermissionResponse> {
5807
5996
  return localVarFp.getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
5808
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
+ },
5809
6010
  /**
5810
6011
  *
5811
6012
  * @summary Invite
@@ -5854,6 +6055,20 @@ export class RolesApi extends BaseAPI {
5854
6055
  return RolesApiFp(this.configuration).getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
5855
6056
  }
5856
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
+
5857
6072
  /**
5858
6073
  *
5859
6074
  * @summary Invite
@@ -5981,7 +6196,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
5981
6196
  * @param {number} [elements]
5982
6197
  * @param {string | null} [dueDateFrom]
5983
6198
  * @param {string | null} [dueDateTo]
5984
- * @param {number | null} [priority]
6199
+ * @param {TaskPriority | null} [priority]
5985
6200
  * @param {TaskStatus | null} [status]
5986
6201
  * @param {OrderBy | null} [orderBy]
5987
6202
  * @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
@@ -5990,7 +6205,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
5990
6205
  * @param {*} [options] Override http request option.
5991
6206
  * @throws {RequiredError}
5992
6207
  */
5993
- listTasksForCompanyV1TasksCompanyGet: async (companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: number | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForCompanyV1TasksCompanyGetOrderEnum, 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> => {
5994
6209
  // verify required parameter 'companyId' is not null or undefined
5995
6210
  assertParamExists('listTasksForCompanyV1TasksCompanyGet', 'companyId', companyId)
5996
6211
  const localVarPath = `/v1/tasks/company`;
@@ -6067,7 +6282,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
6067
6282
  * @param {number} [elements]
6068
6283
  * @param {string | null} [dueDateFrom]
6069
6284
  * @param {string | null} [dueDateTo]
6070
- * @param {number | null} [priority]
6285
+ * @param {TaskPriority | null} [priority]
6071
6286
  * @param {TaskStatus | null} [status]
6072
6287
  * @param {OrderBy | null} [orderBy]
6073
6288
  * @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
@@ -6076,7 +6291,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
6076
6291
  * @param {*} [options] Override http request option.
6077
6292
  * @throws {RequiredError}
6078
6293
  */
6079
- listTasksForUserV1TasksUserGet: async (companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: number | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForUserV1TasksUserGetOrderEnum, 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> => {
6080
6295
  // verify required parameter 'companyId' is not null or undefined
6081
6296
  assertParamExists('listTasksForUserV1TasksUserGet', 'companyId', companyId)
6082
6297
  const localVarPath = `/v1/tasks/user`;
@@ -6316,7 +6531,7 @@ export const TasksApiFp = function(configuration?: Configuration) {
6316
6531
  * @param {number} [elements]
6317
6532
  * @param {string | null} [dueDateFrom]
6318
6533
  * @param {string | null} [dueDateTo]
6319
- * @param {number | null} [priority]
6534
+ * @param {TaskPriority | null} [priority]
6320
6535
  * @param {TaskStatus | null} [status]
6321
6536
  * @param {OrderBy | null} [orderBy]
6322
6537
  * @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
@@ -6325,7 +6540,7 @@ export const TasksApiFp = function(configuration?: Configuration) {
6325
6540
  * @param {*} [options] Override http request option.
6326
6541
  * @throws {RequiredError}
6327
6542
  */
6328
- async listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: number | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForCompanyV1TasksCompanyGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>> {
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>> {
6329
6544
  const localVarAxiosArgs = await localVarAxiosParamCreator.listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options);
6330
6545
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6331
6546
  const localVarOperationServerBasePath = operationServerMap['TasksApi.listTasksForCompanyV1TasksCompanyGet']?.[localVarOperationServerIndex]?.url;
@@ -6339,7 +6554,7 @@ export const TasksApiFp = function(configuration?: Configuration) {
6339
6554
  * @param {number} [elements]
6340
6555
  * @param {string | null} [dueDateFrom]
6341
6556
  * @param {string | null} [dueDateTo]
6342
- * @param {number | null} [priority]
6557
+ * @param {TaskPriority | null} [priority]
6343
6558
  * @param {TaskStatus | null} [status]
6344
6559
  * @param {OrderBy | null} [orderBy]
6345
6560
  * @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
@@ -6348,7 +6563,7 @@ export const TasksApiFp = function(configuration?: Configuration) {
6348
6563
  * @param {*} [options] Override http request option.
6349
6564
  * @throws {RequiredError}
6350
6565
  */
6351
- async listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: number | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForUserV1TasksUserGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>> {
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>> {
6352
6567
  const localVarAxiosArgs = await localVarAxiosParamCreator.listTasksForUserV1TasksUserGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options);
6353
6568
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6354
6569
  const localVarOperationServerBasePath = operationServerMap['TasksApi.listTasksForUserV1TasksUserGet']?.[localVarOperationServerIndex]?.url;
@@ -6441,7 +6656,7 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
6441
6656
  * @param {number} [elements]
6442
6657
  * @param {string | null} [dueDateFrom]
6443
6658
  * @param {string | null} [dueDateTo]
6444
- * @param {number | null} [priority]
6659
+ * @param {TaskPriority | null} [priority]
6445
6660
  * @param {TaskStatus | null} [status]
6446
6661
  * @param {OrderBy | null} [orderBy]
6447
6662
  * @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
@@ -6450,7 +6665,7 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
6450
6665
  * @param {*} [options] Override http request option.
6451
6666
  * @throws {RequiredError}
6452
6667
  */
6453
- listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: number | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForCompanyV1TasksCompanyGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead> {
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> {
6454
6669
  return localVarFp.listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options).then((request) => request(axios, basePath));
6455
6670
  },
6456
6671
  /**
@@ -6461,7 +6676,7 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
6461
6676
  * @param {number} [elements]
6462
6677
  * @param {string | null} [dueDateFrom]
6463
6678
  * @param {string | null} [dueDateTo]
6464
- * @param {number | null} [priority]
6679
+ * @param {TaskPriority | null} [priority]
6465
6680
  * @param {TaskStatus | null} [status]
6466
6681
  * @param {OrderBy | null} [orderBy]
6467
6682
  * @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
@@ -6470,7 +6685,7 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
6470
6685
  * @param {*} [options] Override http request option.
6471
6686
  * @throws {RequiredError}
6472
6687
  */
6473
- listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: number | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForUserV1TasksUserGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead> {
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> {
6474
6689
  return localVarFp.listTasksForUserV1TasksUserGet(companyId, page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, authorization, sessionId, options).then((request) => request(axios, basePath));
6475
6690
  },
6476
6691
  /**
@@ -6555,7 +6770,7 @@ export class TasksApi extends BaseAPI {
6555
6770
  * @param {number} [elements]
6556
6771
  * @param {string | null} [dueDateFrom]
6557
6772
  * @param {string | null} [dueDateTo]
6558
- * @param {number | null} [priority]
6773
+ * @param {TaskPriority | null} [priority]
6559
6774
  * @param {TaskStatus | null} [status]
6560
6775
  * @param {OrderBy | null} [orderBy]
6561
6776
  * @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
@@ -6565,7 +6780,7 @@ export class TasksApi extends BaseAPI {
6565
6780
  * @throws {RequiredError}
6566
6781
  * @memberof TasksApi
6567
6782
  */
6568
- public listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: number | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForCompanyV1TasksCompanyGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
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) {
6569
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));
6570
6785
  }
6571
6786
 
@@ -6577,7 +6792,7 @@ export class TasksApi extends BaseAPI {
6577
6792
  * @param {number} [elements]
6578
6793
  * @param {string | null} [dueDateFrom]
6579
6794
  * @param {string | null} [dueDateTo]
6580
- * @param {number | null} [priority]
6795
+ * @param {TaskPriority | null} [priority]
6581
6796
  * @param {TaskStatus | null} [status]
6582
6797
  * @param {OrderBy | null} [orderBy]
6583
6798
  * @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
@@ -6587,7 +6802,7 @@ export class TasksApi extends BaseAPI {
6587
6802
  * @throws {RequiredError}
6588
6803
  * @memberof TasksApi
6589
6804
  */
6590
- public listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: number | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: ListTasksForUserV1TasksUserGetOrderEnum, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
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) {
6591
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));
6592
6807
  }
6593
6808