@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.
- package/.openapi-generator/FILES +4 -0
- package/api.ts +243 -28
- package/dist/api.d.ts +194 -28
- package/dist/api.js +98 -8
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- 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/TaskWithUser.md +38 -0
- package/docs/TasksApi.md +6 -6
- package/docs/UpdateTaskStatus.md +1 -1
- package/docs/UserWithId.md +26 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1250,6 +1250,25 @@ export interface PaginationResponseTaskRead {
|
|
|
1250
1250
|
*/
|
|
1251
1251
|
'total': number;
|
|
1252
1252
|
}
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @export
|
|
1256
|
+
* @interface PaginationResponseTaskWithUser
|
|
1257
|
+
*/
|
|
1258
|
+
export interface PaginationResponseTaskWithUser {
|
|
1259
|
+
/**
|
|
1260
|
+
*
|
|
1261
|
+
* @type {Array<TaskWithUser>}
|
|
1262
|
+
* @memberof PaginationResponseTaskWithUser
|
|
1263
|
+
*/
|
|
1264
|
+
'items': Array<TaskWithUser>;
|
|
1265
|
+
/**
|
|
1266
|
+
*
|
|
1267
|
+
* @type {number}
|
|
1268
|
+
* @memberof PaginationResponseTaskWithUser
|
|
1269
|
+
*/
|
|
1270
|
+
'total': number;
|
|
1271
|
+
}
|
|
1253
1272
|
/**
|
|
1254
1273
|
*
|
|
1255
1274
|
* @export
|
|
@@ -1585,6 +1604,20 @@ export interface SchedulerRequest {
|
|
|
1585
1604
|
*/
|
|
1586
1605
|
'user_ids_to_assign'?: Array<string>;
|
|
1587
1606
|
}
|
|
1607
|
+
/**
|
|
1608
|
+
*
|
|
1609
|
+
* @export
|
|
1610
|
+
* @enum {number}
|
|
1611
|
+
*/
|
|
1612
|
+
export declare const TaskPriority: {
|
|
1613
|
+
readonly NUMBER_1: 1;
|
|
1614
|
+
readonly NUMBER_2: 2;
|
|
1615
|
+
readonly NUMBER_3: 3;
|
|
1616
|
+
readonly NUMBER_4: 4;
|
|
1617
|
+
readonly NUMBER_5: 5;
|
|
1618
|
+
readonly NUMBER_6: 6;
|
|
1619
|
+
};
|
|
1620
|
+
export type TaskPriority = typeof TaskPriority[keyof typeof TaskPriority];
|
|
1588
1621
|
/**
|
|
1589
1622
|
*
|
|
1590
1623
|
* @export
|
|
@@ -1621,12 +1654,6 @@ export interface TaskRead {
|
|
|
1621
1654
|
* @memberof TaskRead
|
|
1622
1655
|
*/
|
|
1623
1656
|
'due_date': string;
|
|
1624
|
-
/**
|
|
1625
|
-
*
|
|
1626
|
-
* @type {string}
|
|
1627
|
-
* @memberof TaskRead
|
|
1628
|
-
*/
|
|
1629
|
-
'assigned_to_id': string;
|
|
1630
1657
|
/**
|
|
1631
1658
|
*
|
|
1632
1659
|
* @type {string}
|
|
@@ -1641,16 +1668,16 @@ export interface TaskRead {
|
|
|
1641
1668
|
'updated_at': string;
|
|
1642
1669
|
/**
|
|
1643
1670
|
*
|
|
1644
|
-
* @type {
|
|
1671
|
+
* @type {TaskPriority}
|
|
1645
1672
|
* @memberof TaskRead
|
|
1646
1673
|
*/
|
|
1647
|
-
'priority':
|
|
1674
|
+
'priority': TaskPriority;
|
|
1648
1675
|
/**
|
|
1649
1676
|
*
|
|
1650
|
-
* @type {
|
|
1677
|
+
* @type {TaskStatus}
|
|
1651
1678
|
* @memberof TaskRead
|
|
1652
1679
|
*/
|
|
1653
|
-
'status':
|
|
1680
|
+
'status': TaskStatus;
|
|
1654
1681
|
}
|
|
1655
1682
|
/**
|
|
1656
1683
|
*
|
|
@@ -1666,6 +1693,73 @@ export declare const TaskStatus: {
|
|
|
1666
1693
|
readonly Skipped: "skipped";
|
|
1667
1694
|
};
|
|
1668
1695
|
export type TaskStatus = typeof TaskStatus[keyof typeof TaskStatus];
|
|
1696
|
+
/**
|
|
1697
|
+
*
|
|
1698
|
+
* @export
|
|
1699
|
+
* @interface TaskWithUser
|
|
1700
|
+
*/
|
|
1701
|
+
export interface TaskWithUser {
|
|
1702
|
+
/**
|
|
1703
|
+
*
|
|
1704
|
+
* @type {string}
|
|
1705
|
+
* @memberof TaskWithUser
|
|
1706
|
+
*/
|
|
1707
|
+
'id': string;
|
|
1708
|
+
/**
|
|
1709
|
+
*
|
|
1710
|
+
* @type {string}
|
|
1711
|
+
* @memberof TaskWithUser
|
|
1712
|
+
*/
|
|
1713
|
+
'company_id': string;
|
|
1714
|
+
/**
|
|
1715
|
+
*
|
|
1716
|
+
* @type {string}
|
|
1717
|
+
* @memberof TaskWithUser
|
|
1718
|
+
*/
|
|
1719
|
+
'title': string;
|
|
1720
|
+
/**
|
|
1721
|
+
*
|
|
1722
|
+
* @type {string}
|
|
1723
|
+
* @memberof TaskWithUser
|
|
1724
|
+
*/
|
|
1725
|
+
'description': string;
|
|
1726
|
+
/**
|
|
1727
|
+
*
|
|
1728
|
+
* @type {string}
|
|
1729
|
+
* @memberof TaskWithUser
|
|
1730
|
+
*/
|
|
1731
|
+
'due_date': string;
|
|
1732
|
+
/**
|
|
1733
|
+
*
|
|
1734
|
+
* @type {string}
|
|
1735
|
+
* @memberof TaskWithUser
|
|
1736
|
+
*/
|
|
1737
|
+
'created_at': string;
|
|
1738
|
+
/**
|
|
1739
|
+
*
|
|
1740
|
+
* @type {string}
|
|
1741
|
+
* @memberof TaskWithUser
|
|
1742
|
+
*/
|
|
1743
|
+
'updated_at': string;
|
|
1744
|
+
/**
|
|
1745
|
+
*
|
|
1746
|
+
* @type {TaskPriority}
|
|
1747
|
+
* @memberof TaskWithUser
|
|
1748
|
+
*/
|
|
1749
|
+
'priority': TaskPriority;
|
|
1750
|
+
/**
|
|
1751
|
+
*
|
|
1752
|
+
* @type {TaskStatus}
|
|
1753
|
+
* @memberof TaskWithUser
|
|
1754
|
+
*/
|
|
1755
|
+
'status': TaskStatus;
|
|
1756
|
+
/**
|
|
1757
|
+
*
|
|
1758
|
+
* @type {UserWithId}
|
|
1759
|
+
* @memberof TaskWithUser
|
|
1760
|
+
*/
|
|
1761
|
+
'assigned_to': UserWithId | null;
|
|
1762
|
+
}
|
|
1669
1763
|
/**
|
|
1670
1764
|
*
|
|
1671
1765
|
* @export
|
|
@@ -1761,10 +1855,10 @@ export interface UpdateTaskStatus {
|
|
|
1761
1855
|
'id': string;
|
|
1762
1856
|
/**
|
|
1763
1857
|
*
|
|
1764
|
-
* @type {
|
|
1858
|
+
* @type {TaskStatus}
|
|
1765
1859
|
* @memberof UpdateTaskStatus
|
|
1766
1860
|
*/
|
|
1767
|
-
'status':
|
|
1861
|
+
'status': TaskStatus;
|
|
1768
1862
|
}
|
|
1769
1863
|
/**
|
|
1770
1864
|
*
|
|
@@ -1891,6 +1985,37 @@ export interface UserUpdate {
|
|
|
1891
1985
|
*/
|
|
1892
1986
|
'phone'?: string | null;
|
|
1893
1987
|
}
|
|
1988
|
+
/**
|
|
1989
|
+
*
|
|
1990
|
+
* @export
|
|
1991
|
+
* @interface UserWithId
|
|
1992
|
+
*/
|
|
1993
|
+
export interface UserWithId {
|
|
1994
|
+
/**
|
|
1995
|
+
*
|
|
1996
|
+
* @type {string}
|
|
1997
|
+
* @memberof UserWithId
|
|
1998
|
+
*/
|
|
1999
|
+
'name': string;
|
|
2000
|
+
/**
|
|
2001
|
+
*
|
|
2002
|
+
* @type {string}
|
|
2003
|
+
* @memberof UserWithId
|
|
2004
|
+
*/
|
|
2005
|
+
'email'?: string;
|
|
2006
|
+
/**
|
|
2007
|
+
*
|
|
2008
|
+
* @type {string}
|
|
2009
|
+
* @memberof UserWithId
|
|
2010
|
+
*/
|
|
2011
|
+
'phone'?: string | null;
|
|
2012
|
+
/**
|
|
2013
|
+
*
|
|
2014
|
+
* @type {string}
|
|
2015
|
+
* @memberof UserWithId
|
|
2016
|
+
*/
|
|
2017
|
+
'id': string;
|
|
2018
|
+
}
|
|
1894
2019
|
/**
|
|
1895
2020
|
*
|
|
1896
2021
|
* @export
|
|
@@ -3823,6 +3948,16 @@ export declare const RolesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3823
3948
|
* @throws {RequiredError}
|
|
3824
3949
|
*/
|
|
3825
3950
|
getUserPermissionsV1RolesCompanyIdMeGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3951
|
+
/**
|
|
3952
|
+
*
|
|
3953
|
+
* @summary Get Users
|
|
3954
|
+
* @param {string} companyId
|
|
3955
|
+
* @param {string} [authorization]
|
|
3956
|
+
* @param {string} [sessionId]
|
|
3957
|
+
* @param {*} [options] Override http request option.
|
|
3958
|
+
* @throws {RequiredError}
|
|
3959
|
+
*/
|
|
3960
|
+
getUsersV1RolesCompanyIdListGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3826
3961
|
/**
|
|
3827
3962
|
*
|
|
3828
3963
|
* @summary Invite
|
|
@@ -3859,6 +3994,16 @@ export declare const RolesApiFp: (configuration?: Configuration) => {
|
|
|
3859
3994
|
* @throws {RequiredError}
|
|
3860
3995
|
*/
|
|
3861
3996
|
getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PermissionResponse>>;
|
|
3997
|
+
/**
|
|
3998
|
+
*
|
|
3999
|
+
* @summary Get Users
|
|
4000
|
+
* @param {string} companyId
|
|
4001
|
+
* @param {string} [authorization]
|
|
4002
|
+
* @param {string} [sessionId]
|
|
4003
|
+
* @param {*} [options] Override http request option.
|
|
4004
|
+
* @throws {RequiredError}
|
|
4005
|
+
*/
|
|
4006
|
+
getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserWithId>>>;
|
|
3862
4007
|
/**
|
|
3863
4008
|
*
|
|
3864
4009
|
* @summary Invite
|
|
@@ -3895,6 +4040,16 @@ export declare const RolesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3895
4040
|
* @throws {RequiredError}
|
|
3896
4041
|
*/
|
|
3897
4042
|
getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PermissionResponse>;
|
|
4043
|
+
/**
|
|
4044
|
+
*
|
|
4045
|
+
* @summary Get Users
|
|
4046
|
+
* @param {string} companyId
|
|
4047
|
+
* @param {string} [authorization]
|
|
4048
|
+
* @param {string} [sessionId]
|
|
4049
|
+
* @param {*} [options] Override http request option.
|
|
4050
|
+
* @throws {RequiredError}
|
|
4051
|
+
*/
|
|
4052
|
+
getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserWithId>>;
|
|
3898
4053
|
/**
|
|
3899
4054
|
*
|
|
3900
4055
|
* @summary Invite
|
|
@@ -3934,6 +4089,17 @@ export declare class RolesApi extends BaseAPI {
|
|
|
3934
4089
|
* @memberof RolesApi
|
|
3935
4090
|
*/
|
|
3936
4091
|
getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PermissionResponse, any, {}>>;
|
|
4092
|
+
/**
|
|
4093
|
+
*
|
|
4094
|
+
* @summary Get Users
|
|
4095
|
+
* @param {string} companyId
|
|
4096
|
+
* @param {string} [authorization]
|
|
4097
|
+
* @param {string} [sessionId]
|
|
4098
|
+
* @param {*} [options] Override http request option.
|
|
4099
|
+
* @throws {RequiredError}
|
|
4100
|
+
* @memberof RolesApi
|
|
4101
|
+
*/
|
|
4102
|
+
getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserWithId[], any, {}>>;
|
|
3937
4103
|
/**
|
|
3938
4104
|
*
|
|
3939
4105
|
* @summary Invite
|
|
@@ -3990,7 +4156,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3990
4156
|
* @param {number} [elements]
|
|
3991
4157
|
* @param {string | null} [dueDateFrom]
|
|
3992
4158
|
* @param {string | null} [dueDateTo]
|
|
3993
|
-
* @param {
|
|
4159
|
+
* @param {TaskPriority | null} [priority]
|
|
3994
4160
|
* @param {TaskStatus | null} [status]
|
|
3995
4161
|
* @param {OrderBy | null} [orderBy]
|
|
3996
4162
|
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
@@ -3999,7 +4165,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3999
4165
|
* @param {*} [options] Override http request option.
|
|
4000
4166
|
* @throws {RequiredError}
|
|
4001
4167
|
*/
|
|
4002
|
-
listTasksForCompanyV1TasksCompanyGet: (companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?:
|
|
4168
|
+
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<RequestArgs>;
|
|
4003
4169
|
/**
|
|
4004
4170
|
*
|
|
4005
4171
|
* @summary List Tasks For User
|
|
@@ -4008,7 +4174,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4008
4174
|
* @param {number} [elements]
|
|
4009
4175
|
* @param {string | null} [dueDateFrom]
|
|
4010
4176
|
* @param {string | null} [dueDateTo]
|
|
4011
|
-
* @param {
|
|
4177
|
+
* @param {TaskPriority | null} [priority]
|
|
4012
4178
|
* @param {TaskStatus | null} [status]
|
|
4013
4179
|
* @param {OrderBy | null} [orderBy]
|
|
4014
4180
|
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
@@ -4017,7 +4183,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4017
4183
|
* @param {*} [options] Override http request option.
|
|
4018
4184
|
* @throws {RequiredError}
|
|
4019
4185
|
*/
|
|
4020
|
-
listTasksForUserV1TasksUserGet: (companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?:
|
|
4186
|
+
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<RequestArgs>;
|
|
4021
4187
|
/**
|
|
4022
4188
|
*
|
|
4023
4189
|
* @summary Request Task Scheduling
|
|
@@ -4082,7 +4248,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
4082
4248
|
* @param {number} [elements]
|
|
4083
4249
|
* @param {string | null} [dueDateFrom]
|
|
4084
4250
|
* @param {string | null} [dueDateTo]
|
|
4085
|
-
* @param {
|
|
4251
|
+
* @param {TaskPriority | null} [priority]
|
|
4086
4252
|
* @param {TaskStatus | null} [status]
|
|
4087
4253
|
* @param {OrderBy | null} [orderBy]
|
|
4088
4254
|
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
@@ -4091,7 +4257,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
4091
4257
|
* @param {*} [options] Override http request option.
|
|
4092
4258
|
* @throws {RequiredError}
|
|
4093
4259
|
*/
|
|
4094
|
-
listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?:
|
|
4260
|
+
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>>;
|
|
4095
4261
|
/**
|
|
4096
4262
|
*
|
|
4097
4263
|
* @summary List Tasks For User
|
|
@@ -4100,7 +4266,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
4100
4266
|
* @param {number} [elements]
|
|
4101
4267
|
* @param {string | null} [dueDateFrom]
|
|
4102
4268
|
* @param {string | null} [dueDateTo]
|
|
4103
|
-
* @param {
|
|
4269
|
+
* @param {TaskPriority | null} [priority]
|
|
4104
4270
|
* @param {TaskStatus | null} [status]
|
|
4105
4271
|
* @param {OrderBy | null} [orderBy]
|
|
4106
4272
|
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
@@ -4109,7 +4275,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
4109
4275
|
* @param {*} [options] Override http request option.
|
|
4110
4276
|
* @throws {RequiredError}
|
|
4111
4277
|
*/
|
|
4112
|
-
listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?:
|
|
4278
|
+
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>>;
|
|
4113
4279
|
/**
|
|
4114
4280
|
*
|
|
4115
4281
|
* @summary Request Task Scheduling
|
|
@@ -4174,7 +4340,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4174
4340
|
* @param {number} [elements]
|
|
4175
4341
|
* @param {string | null} [dueDateFrom]
|
|
4176
4342
|
* @param {string | null} [dueDateTo]
|
|
4177
|
-
* @param {
|
|
4343
|
+
* @param {TaskPriority | null} [priority]
|
|
4178
4344
|
* @param {TaskStatus | null} [status]
|
|
4179
4345
|
* @param {OrderBy | null} [orderBy]
|
|
4180
4346
|
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
@@ -4183,7 +4349,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4183
4349
|
* @param {*} [options] Override http request option.
|
|
4184
4350
|
* @throws {RequiredError}
|
|
4185
4351
|
*/
|
|
4186
|
-
listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?:
|
|
4352
|
+
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>;
|
|
4187
4353
|
/**
|
|
4188
4354
|
*
|
|
4189
4355
|
* @summary List Tasks For User
|
|
@@ -4192,7 +4358,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4192
4358
|
* @param {number} [elements]
|
|
4193
4359
|
* @param {string | null} [dueDateFrom]
|
|
4194
4360
|
* @param {string | null} [dueDateTo]
|
|
4195
|
-
* @param {
|
|
4361
|
+
* @param {TaskPriority | null} [priority]
|
|
4196
4362
|
* @param {TaskStatus | null} [status]
|
|
4197
4363
|
* @param {OrderBy | null} [orderBy]
|
|
4198
4364
|
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
@@ -4201,7 +4367,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4201
4367
|
* @param {*} [options] Override http request option.
|
|
4202
4368
|
* @throws {RequiredError}
|
|
4203
4369
|
*/
|
|
4204
|
-
listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?:
|
|
4370
|
+
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>;
|
|
4205
4371
|
/**
|
|
4206
4372
|
*
|
|
4207
4373
|
* @summary Request Task Scheduling
|
|
@@ -4270,7 +4436,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
4270
4436
|
* @param {number} [elements]
|
|
4271
4437
|
* @param {string | null} [dueDateFrom]
|
|
4272
4438
|
* @param {string | null} [dueDateTo]
|
|
4273
|
-
* @param {
|
|
4439
|
+
* @param {TaskPriority | null} [priority]
|
|
4274
4440
|
* @param {TaskStatus | null} [status]
|
|
4275
4441
|
* @param {OrderBy | null} [orderBy]
|
|
4276
4442
|
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
@@ -4280,7 +4446,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
4280
4446
|
* @throws {RequiredError}
|
|
4281
4447
|
* @memberof TasksApi
|
|
4282
4448
|
*/
|
|
4283
|
-
listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?:
|
|
4449
|
+
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<import("axios").AxiosResponse<PaginationResponseTaskWithUser, any, {}>>;
|
|
4284
4450
|
/**
|
|
4285
4451
|
*
|
|
4286
4452
|
* @summary List Tasks For User
|
|
@@ -4289,7 +4455,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
4289
4455
|
* @param {number} [elements]
|
|
4290
4456
|
* @param {string | null} [dueDateFrom]
|
|
4291
4457
|
* @param {string | null} [dueDateTo]
|
|
4292
|
-
* @param {
|
|
4458
|
+
* @param {TaskPriority | null} [priority]
|
|
4293
4459
|
* @param {TaskStatus | null} [status]
|
|
4294
4460
|
* @param {OrderBy | null} [orderBy]
|
|
4295
4461
|
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
@@ -4299,7 +4465,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
4299
4465
|
* @throws {RequiredError}
|
|
4300
4466
|
* @memberof TasksApi
|
|
4301
4467
|
*/
|
|
4302
|
-
listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?:
|
|
4468
|
+
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<import("axios").AxiosResponse<PaginationResponseTaskRead, any, {}>>;
|
|
4303
4469
|
/**
|
|
4304
4470
|
*
|
|
4305
4471
|
* @summary Request Task Scheduling
|
package/dist/api.js
CHANGED
|
@@ -95,6 +95,19 @@ export const PermissionType = {
|
|
|
95
95
|
Member: 'member',
|
|
96
96
|
Auditor: 'auditor'
|
|
97
97
|
};
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @export
|
|
101
|
+
* @enum {number}
|
|
102
|
+
*/
|
|
103
|
+
export const TaskPriority = {
|
|
104
|
+
NUMBER_1: 1,
|
|
105
|
+
NUMBER_2: 2,
|
|
106
|
+
NUMBER_3: 3,
|
|
107
|
+
NUMBER_4: 4,
|
|
108
|
+
NUMBER_5: 5,
|
|
109
|
+
NUMBER_6: 6
|
|
110
|
+
};
|
|
98
111
|
/**
|
|
99
112
|
*
|
|
100
113
|
* @export
|
|
@@ -3549,6 +3562,40 @@ export const RolesApiAxiosParamCreator = function (configuration) {
|
|
|
3549
3562
|
options: localVarRequestOptions,
|
|
3550
3563
|
};
|
|
3551
3564
|
}),
|
|
3565
|
+
/**
|
|
3566
|
+
*
|
|
3567
|
+
* @summary Get Users
|
|
3568
|
+
* @param {string} companyId
|
|
3569
|
+
* @param {string} [authorization]
|
|
3570
|
+
* @param {string} [sessionId]
|
|
3571
|
+
* @param {*} [options] Override http request option.
|
|
3572
|
+
* @throws {RequiredError}
|
|
3573
|
+
*/
|
|
3574
|
+
getUsersV1RolesCompanyIdListGet: (companyId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, authorization, sessionId, options = {}) {
|
|
3575
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
3576
|
+
assertParamExists('getUsersV1RolesCompanyIdListGet', 'companyId', companyId);
|
|
3577
|
+
const localVarPath = `/v1/roles/{company_id}/list`
|
|
3578
|
+
.replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
|
|
3579
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3580
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3581
|
+
let baseOptions;
|
|
3582
|
+
if (configuration) {
|
|
3583
|
+
baseOptions = configuration.baseOptions;
|
|
3584
|
+
}
|
|
3585
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3586
|
+
const localVarHeaderParameter = {};
|
|
3587
|
+
const localVarQueryParameter = {};
|
|
3588
|
+
if (authorization != null) {
|
|
3589
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3590
|
+
}
|
|
3591
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3592
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3593
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3594
|
+
return {
|
|
3595
|
+
url: toPathString(localVarUrlObj),
|
|
3596
|
+
options: localVarRequestOptions,
|
|
3597
|
+
};
|
|
3598
|
+
}),
|
|
3552
3599
|
/**
|
|
3553
3600
|
*
|
|
3554
3601
|
* @summary Invite
|
|
@@ -3646,6 +3693,24 @@ export const RolesApiFp = function (configuration) {
|
|
|
3646
3693
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3647
3694
|
});
|
|
3648
3695
|
},
|
|
3696
|
+
/**
|
|
3697
|
+
*
|
|
3698
|
+
* @summary Get Users
|
|
3699
|
+
* @param {string} companyId
|
|
3700
|
+
* @param {string} [authorization]
|
|
3701
|
+
* @param {string} [sessionId]
|
|
3702
|
+
* @param {*} [options] Override http request option.
|
|
3703
|
+
* @throws {RequiredError}
|
|
3704
|
+
*/
|
|
3705
|
+
getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options) {
|
|
3706
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3707
|
+
var _a, _b, _c;
|
|
3708
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options);
|
|
3709
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3710
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.getUsersV1RolesCompanyIdListGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3711
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3712
|
+
});
|
|
3713
|
+
},
|
|
3649
3714
|
/**
|
|
3650
3715
|
*
|
|
3651
3716
|
* @summary Invite
|
|
@@ -3703,6 +3768,18 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
|
|
|
3703
3768
|
getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options) {
|
|
3704
3769
|
return localVarFp.getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3705
3770
|
},
|
|
3771
|
+
/**
|
|
3772
|
+
*
|
|
3773
|
+
* @summary Get Users
|
|
3774
|
+
* @param {string} companyId
|
|
3775
|
+
* @param {string} [authorization]
|
|
3776
|
+
* @param {string} [sessionId]
|
|
3777
|
+
* @param {*} [options] Override http request option.
|
|
3778
|
+
* @throws {RequiredError}
|
|
3779
|
+
*/
|
|
3780
|
+
getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options) {
|
|
3781
|
+
return localVarFp.getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3782
|
+
},
|
|
3706
3783
|
/**
|
|
3707
3784
|
*
|
|
3708
3785
|
* @summary Invite
|
|
@@ -3749,6 +3826,19 @@ export class RolesApi extends BaseAPI {
|
|
|
3749
3826
|
getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options) {
|
|
3750
3827
|
return RolesApiFp(this.configuration).getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3751
3828
|
}
|
|
3829
|
+
/**
|
|
3830
|
+
*
|
|
3831
|
+
* @summary Get Users
|
|
3832
|
+
* @param {string} companyId
|
|
3833
|
+
* @param {string} [authorization]
|
|
3834
|
+
* @param {string} [sessionId]
|
|
3835
|
+
* @param {*} [options] Override http request option.
|
|
3836
|
+
* @throws {RequiredError}
|
|
3837
|
+
* @memberof RolesApi
|
|
3838
|
+
*/
|
|
3839
|
+
getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options) {
|
|
3840
|
+
return RolesApiFp(this.configuration).getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3841
|
+
}
|
|
3752
3842
|
/**
|
|
3753
3843
|
*
|
|
3754
3844
|
* @summary Invite
|
|
@@ -3860,7 +3950,7 @@ export const TasksApiAxiosParamCreator = function (configuration) {
|
|
|
3860
3950
|
* @param {number} [elements]
|
|
3861
3951
|
* @param {string | null} [dueDateFrom]
|
|
3862
3952
|
* @param {string | null} [dueDateTo]
|
|
3863
|
-
* @param {
|
|
3953
|
+
* @param {TaskPriority | null} [priority]
|
|
3864
3954
|
* @param {TaskStatus | null} [status]
|
|
3865
3955
|
* @param {OrderBy | null} [orderBy]
|
|
3866
3956
|
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
@@ -3932,7 +4022,7 @@ export const TasksApiAxiosParamCreator = function (configuration) {
|
|
|
3932
4022
|
* @param {number} [elements]
|
|
3933
4023
|
* @param {string | null} [dueDateFrom]
|
|
3934
4024
|
* @param {string | null} [dueDateTo]
|
|
3935
|
-
* @param {
|
|
4025
|
+
* @param {TaskPriority | null} [priority]
|
|
3936
4026
|
* @param {TaskStatus | null} [status]
|
|
3937
4027
|
* @param {OrderBy | null} [orderBy]
|
|
3938
4028
|
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
@@ -4154,7 +4244,7 @@ export const TasksApiFp = function (configuration) {
|
|
|
4154
4244
|
* @param {number} [elements]
|
|
4155
4245
|
* @param {string | null} [dueDateFrom]
|
|
4156
4246
|
* @param {string | null} [dueDateTo]
|
|
4157
|
-
* @param {
|
|
4247
|
+
* @param {TaskPriority | null} [priority]
|
|
4158
4248
|
* @param {TaskStatus | null} [status]
|
|
4159
4249
|
* @param {OrderBy | null} [orderBy]
|
|
4160
4250
|
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
@@ -4180,7 +4270,7 @@ export const TasksApiFp = function (configuration) {
|
|
|
4180
4270
|
* @param {number} [elements]
|
|
4181
4271
|
* @param {string | null} [dueDateFrom]
|
|
4182
4272
|
* @param {string | null} [dueDateTo]
|
|
4183
|
-
* @param {
|
|
4273
|
+
* @param {TaskPriority | null} [priority]
|
|
4184
4274
|
* @param {TaskStatus | null} [status]
|
|
4185
4275
|
* @param {OrderBy | null} [orderBy]
|
|
4186
4276
|
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
@@ -4293,7 +4383,7 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
4293
4383
|
* @param {number} [elements]
|
|
4294
4384
|
* @param {string | null} [dueDateFrom]
|
|
4295
4385
|
* @param {string | null} [dueDateTo]
|
|
4296
|
-
* @param {
|
|
4386
|
+
* @param {TaskPriority | null} [priority]
|
|
4297
4387
|
* @param {TaskStatus | null} [status]
|
|
4298
4388
|
* @param {OrderBy | null} [orderBy]
|
|
4299
4389
|
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
@@ -4313,7 +4403,7 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
4313
4403
|
* @param {number} [elements]
|
|
4314
4404
|
* @param {string | null} [dueDateFrom]
|
|
4315
4405
|
* @param {string | null} [dueDateTo]
|
|
4316
|
-
* @param {
|
|
4406
|
+
* @param {TaskPriority | null} [priority]
|
|
4317
4407
|
* @param {TaskStatus | null} [status]
|
|
4318
4408
|
* @param {OrderBy | null} [orderBy]
|
|
4319
4409
|
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
|
@@ -4404,7 +4494,7 @@ export class TasksApi extends BaseAPI {
|
|
|
4404
4494
|
* @param {number} [elements]
|
|
4405
4495
|
* @param {string | null} [dueDateFrom]
|
|
4406
4496
|
* @param {string | null} [dueDateTo]
|
|
4407
|
-
* @param {
|
|
4497
|
+
* @param {TaskPriority | null} [priority]
|
|
4408
4498
|
* @param {TaskStatus | null} [status]
|
|
4409
4499
|
* @param {OrderBy | null} [orderBy]
|
|
4410
4500
|
* @param {ListTasksForCompanyV1TasksCompanyGetOrderEnum} [order]
|
|
@@ -4425,7 +4515,7 @@ export class TasksApi extends BaseAPI {
|
|
|
4425
4515
|
* @param {number} [elements]
|
|
4426
4516
|
* @param {string | null} [dueDateFrom]
|
|
4427
4517
|
* @param {string | null} [dueDateTo]
|
|
4428
|
-
* @param {
|
|
4518
|
+
* @param {TaskPriority | null} [priority]
|
|
4429
4519
|
* @param {TaskStatus | null} [status]
|
|
4430
4520
|
* @param {OrderBy | null} [orderBy]
|
|
4431
4521
|
* @param {ListTasksForUserV1TasksUserGetOrderEnum} [order]
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PaginationResponseTaskWithUser
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**items** | [**Array<TaskWithUser>**](TaskWithUser.md) | | [default to undefined]
|
|
9
|
+
**total** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PaginationResponseTaskWithUser } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: PaginationResponseTaskWithUser = {
|
|
17
|
+
items,
|
|
18
|
+
total,
|
|
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)
|