bx-rest 0.2.10 → 0.2.11
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/esm2022/map/tasks/task.mjs +1 -1
- package/esm2022/request/task/commentitem.mjs +42 -0
- package/esm2022/request/task/elapseditem.mjs +5 -5
- package/esm2022/request/task.mjs +6 -4
- package/esm2022/request/tasks/task.mjs +2 -4
- package/esm2022/request-navvy/task/commentitem.mjs +56 -0
- package/esm2022/request-navvy/task/elapseditem.mjs +3 -3
- package/esm2022/request-navvy/task.mjs +6 -4
- package/esm2022/typification/rest/task/base/filterGenerator.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/add.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/delete.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/get.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/getlist.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/update.mjs +2 -0
- package/esm2022/typification/rest/task/task.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/list.mjs +1 -1
- package/fesm2022/bx-rest.mjs +153 -66
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/map/tasks/task.d.ts +2 -2
- package/package.json +1 -1
- package/request/task/commentitem.d.ts +28 -0
- package/request/task/elapseditem.d.ts +3 -3
- package/request/task.d.ts +5 -3
- package/request/tasks/task.d.ts +2 -2
- package/request-navvy/task/commentitem.d.ts +24 -0
- package/request-navvy/task/elapseditem.d.ts +6 -6
- package/request-navvy/task/operation/elapseditem.d.ts +1 -1
- package/request-navvy/task.d.ts +3 -1
- package/request-navvy/tasks/task.d.ts +1 -1
- package/typification/rest/task/base/filterGenerator.d.ts +6 -0
- package/typification/rest/task/commentitem/add.d.ts +9 -0
- package/typification/rest/task/commentitem/delete.d.ts +4 -0
- package/typification/rest/task/commentitem/get.d.ts +4 -0
- package/typification/rest/task/commentitem/getlist.d.ts +20 -0
- package/typification/rest/task/commentitem/update.d.ts +4 -0
- package/typification/rest/task/task.d.ts +9 -1
- package/typification/rest/tasks/task/list.d.ts +47 -3
package/map/tasks/task.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { iBXRestTaskGetAccess } from '../../typification/rest/task/access/getaccess';
|
|
2
2
|
import { iBXRestHttpTask, iBXRestTask } from '../../typification/rest/task/task';
|
|
3
3
|
import { BaseMapServices } from '../base';
|
|
4
|
-
import {
|
|
4
|
+
import { iBXRestHttpTasksTaskList, iBXRestTasksTaskListHttp, iBXRestTasksTaskListHttpDefault } from '../../typification/rest/tasks/task/list';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class BXRestMapTasksTask extends BaseMapServices {
|
|
7
7
|
getaccess(v: iBXRestTaskGetAccess | undefined): {
|
|
@@ -13,7 +13,7 @@ export declare class BXRestMapTasksTask extends BaseMapServices {
|
|
|
13
13
|
get(item: {
|
|
14
14
|
task: iBXRestHttpTask | undefined;
|
|
15
15
|
} | undefined): iBXRestTask | undefined;
|
|
16
|
-
list(item:
|
|
16
|
+
list<T extends iBXRestHttpTasksTaskList | iBXRestTasksTaskListHttpDefault>(item: iBXRestTasksTaskListHttp<T> | undefined): iBXRestTask[] | undefined;
|
|
17
17
|
private TaskBXHttpToTaskBX;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapTasksTask, never>;
|
|
19
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapTasksTask>;
|
package/package.json
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HttpBXServices } from '../../services/http/HttpBX';
|
|
2
|
+
import { iBXRestParamTaskCommentItemGet } from '../../typification/rest/task/commentitem/get';
|
|
3
|
+
import { iBXRestTaskCommentHtml } from '../../typification/rest/task/commentitem/commentitem';
|
|
4
|
+
import { iBXRestCommentTaskAdd } from '../../typification/rest/task/commentitem/add';
|
|
5
|
+
import { iBXRestTaskCommentItemUpdate } from '../../typification/rest/task/commentitem/update';
|
|
6
|
+
import { BXRestTaskCommentItemGetList } from '../../typification/rest/task/commentitem/getlist';
|
|
7
|
+
import { BXRestTaskCommentItemDelete } from '../../typification/rest/task/commentitem/delete';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class BXRestTaskCommentItem {
|
|
10
|
+
private http;
|
|
11
|
+
url: {
|
|
12
|
+
getmanifest: string[];
|
|
13
|
+
getlist: string[];
|
|
14
|
+
get: string[];
|
|
15
|
+
add: string[];
|
|
16
|
+
update: string[];
|
|
17
|
+
delete: string[];
|
|
18
|
+
isactionallowed: string[];
|
|
19
|
+
};
|
|
20
|
+
constructor(http: HttpBXServices);
|
|
21
|
+
add(param: iBXRestCommentTaskAdd): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<number> | undefined>;
|
|
22
|
+
update(param: iBXRestTaskCommentItemUpdate): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<boolean> | undefined>;
|
|
23
|
+
get(param: iBXRestParamTaskCommentItemGet): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestTaskCommentHtml> | undefined>;
|
|
24
|
+
getlist(param: BXRestTaskCommentItemGetList): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestTaskCommentHtml[]> | undefined>;
|
|
25
|
+
del(param: BXRestTaskCommentItemDelete): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<boolean> | undefined>;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestTaskCommentItem, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestTaskCommentItem>;
|
|
28
|
+
}
|
|
@@ -6,7 +6,7 @@ import { iBXRestParamUpdateElapseditem } from '../../typification/rest/task/elap
|
|
|
6
6
|
import { iBXRestParamDelElapseditem } from '../../typification/rest/task/elapseditem/del';
|
|
7
7
|
import { iIsActionAllowedParam } from '../../typification/rest/task/elapseditem/isActionAllowedParam';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class BXRestTaskElapseditem {
|
|
10
10
|
private http;
|
|
11
11
|
url: {
|
|
12
12
|
getmanifest: string[];
|
|
@@ -33,6 +33,6 @@ export declare class BXRestElapseditem {
|
|
|
33
33
|
* @param param
|
|
34
34
|
*/
|
|
35
35
|
isActionAllowed(param: iIsActionAllowedParam): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<boolean> | undefined>;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
37
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestTaskElapseditem, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestTaskElapseditem>;
|
|
38
38
|
}
|
package/request/task.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BXRestTaskElapseditem } from './task/elapseditem';
|
|
2
|
+
import { BXRestTaskCommentItem } from './task/commentitem';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class BXRestTask {
|
|
4
|
-
elapseditem:
|
|
5
|
-
|
|
5
|
+
elapseditem: BXRestTaskElapseditem;
|
|
6
|
+
commentitem: BXRestTaskCommentItem;
|
|
7
|
+
constructor(elapseditem: BXRestTaskElapseditem, commentitem: BXRestTaskCommentItem);
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestTask, never>;
|
|
7
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestTask>;
|
|
8
10
|
}
|
package/request/tasks/task.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { HttpBXServices } from '../../services/http/HttpBX';
|
|
|
2
2
|
import { iBXRestHttpTask } from '../../typification/rest/task/task';
|
|
3
3
|
import { iBXRestParamTaskAdd } from '../../typification/rest/tasks/task/add';
|
|
4
4
|
import iBXRestParamTaskGet from '../../typification/rest/tasks/task/get';
|
|
5
|
-
import { iBXRestParamTasksList,
|
|
5
|
+
import { iBXRestHttpTasksTaskList, iBXRestParamTasksList, iBXRestTasksTaskListHttp } from '../../typification/rest/tasks/task/list';
|
|
6
6
|
import { iBXRestParamTaskGetAccess, iBXRestTaskGetAccess } from '../../typification/rest/task/access/getaccess';
|
|
7
7
|
import { iBXRestTasksTaskApproveHttp } from '../../typification/rest/tasks/task/approve';
|
|
8
8
|
import { iBXRestTasksTaskCompleteHttp } from '../../typification/rest/tasks/task/complete';
|
|
@@ -68,7 +68,7 @@ export declare class BXRestTasksTask {
|
|
|
68
68
|
get(requestArray: iBXRestParamTaskGet): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<{
|
|
69
69
|
task: iBXRestHttpTask | undefined;
|
|
70
70
|
}> | undefined>;
|
|
71
|
-
list(param
|
|
71
|
+
list(param?: iBXRestParamTasksList): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestTasksTaskListHttp<iBXRestHttpTasksTaskList>> | undefined>;
|
|
72
72
|
getaccess(param: iBXRestParamTaskGetAccess): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestTaskGetAccess> | undefined>;
|
|
73
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestTasksTask, never>;
|
|
74
74
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestTasksTask>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BXRestTaskCommentItem } from '../../request/task/commentitem';
|
|
2
|
+
import { Navvy } from '../../services/navvy';
|
|
3
|
+
import { BXRestMapTaskCommentItem } from '../../map/task/commentitem';
|
|
4
|
+
import { iBXRestParamTaskCommentItemGet } from '../../typification/rest/task/commentitem/get';
|
|
5
|
+
import { iBXRestTaskCommentItemUpdate } from '../../typification/rest/task/commentitem/update';
|
|
6
|
+
import { iBXRestCommentTaskAdd } from '../../typification/rest/task/commentitem/add';
|
|
7
|
+
import { BXRestTaskCommentItemGetList } from '../../typification/rest/task/commentitem/getlist';
|
|
8
|
+
import { BXRestTaskCommentItemDelete } from '../../typification/rest/task/commentitem/delete';
|
|
9
|
+
import SnackBarService from '../../services/snack-bar/snack-bar.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class BXRestNavvyTaskCommentItem {
|
|
12
|
+
private BXRestTaskCommentItem;
|
|
13
|
+
private mapTaskCommentItem;
|
|
14
|
+
private snackBar;
|
|
15
|
+
protected Navvy: Navvy<BXRestTaskCommentItem, BXRestMapTaskCommentItem>;
|
|
16
|
+
constructor(BXRestTaskCommentItem: BXRestTaskCommentItem, mapTaskCommentItem: BXRestMapTaskCommentItem, snackBar: SnackBarService);
|
|
17
|
+
add(param: iBXRestCommentTaskAdd): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTaskCommentItem, BXRestMapTaskCommentItem, number, unknown>;
|
|
18
|
+
update(param: iBXRestTaskCommentItemUpdate): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTaskCommentItem, BXRestMapTaskCommentItem, boolean, unknown>;
|
|
19
|
+
get(param: iBXRestParamTaskCommentItemGet): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTaskCommentItem, BXRestMapTaskCommentItem, import("../../typification/rest/task/commentitem/commentitem").iBXRestTaskCommentHtml, import("../../typification/rest/task/commentitem/commentitem").iBXRestTaskComment | undefined>;
|
|
20
|
+
getlist(param?: BXRestTaskCommentItemGetList): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTaskCommentItem, BXRestMapTaskCommentItem, import("../../typification/rest/task/commentitem/commentitem").iBXRestTaskCommentHtml[], import("../../typification/rest/task/commentitem/commentitem").iBXRestTaskComment[] | undefined>;
|
|
21
|
+
del(param: BXRestTaskCommentItemDelete): import("rxjs").Observable<boolean | undefined>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTaskCommentItem, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTaskCommentItem>;
|
|
24
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { iBXRestParamElapseditemGet } from '../../typification/rest/task/elapseditem/get';
|
|
2
|
-
import {
|
|
2
|
+
import { BXRestTaskElapseditem } from '../../request/task/elapseditem';
|
|
3
3
|
import { iBXRestParamAddElapseditem } from '../../typification/rest/task/elapseditem/add';
|
|
4
4
|
import { BXRestNavvyUser } from '../user';
|
|
5
5
|
import { BXRestNavvyTasks } from '../tasks';
|
|
@@ -18,10 +18,10 @@ export declare class BXRestNavvyElapseditem {
|
|
|
18
18
|
private http;
|
|
19
19
|
private Navvy;
|
|
20
20
|
operation: BXRestNavvyOperationElapseditem;
|
|
21
|
-
constructor(BXRestElapseditem:
|
|
22
|
-
getList(param?: iBXRestParamElapseditemGet): import("../../services/Navvy/NavvyAlternativePaginationNavigation").NavvyAlterPagNav<
|
|
21
|
+
constructor(BXRestElapseditem: BXRestTaskElapseditem, BXRestNavvyUser: BXRestNavvyUser, BXRestNavvyTasks: BXRestNavvyTasks, BXRestMapElapseditem: BXRestMapTaskElapseditem, http: HttpBXServices);
|
|
22
|
+
getList(param?: iBXRestParamElapseditemGet): import("../../services/Navvy/NavvyAlternativePaginationNavigation").NavvyAlterPagNav<BXRestTaskElapseditem, BXRestMapTaskElapseditem, import("../../typification/rest/task/elapseditem/item").iBXRestTaskElapsedItemHttp, import("../../typification/rest/task/elapseditem/item").iBXRestTaskElapsedItem, iBXRestParamElapseditemGet>;
|
|
23
23
|
add(param: iBXRestParamAddElapseditem): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<number> | undefined>;
|
|
24
|
-
update(param: iBXRestParamUpdateElapseditem): import("../../services/Navvy/NavvySimple").NavvySimple<
|
|
24
|
+
update(param: iBXRestParamUpdateElapseditem): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTaskElapseditem, BXRestMapTaskElapseditem, null, boolean>;
|
|
25
25
|
isAllowedModify(idTask: number, idItem: number): import("rxjs").Observable<boolean | undefined>;
|
|
26
26
|
private isAllowedRemove;
|
|
27
27
|
/**
|
|
@@ -31,10 +31,10 @@ export declare class BXRestNavvyElapseditem {
|
|
|
31
31
|
* 3 - ACTION_ELAPSED_TIME_REMOVE
|
|
32
32
|
* @param param
|
|
33
33
|
*/
|
|
34
|
-
isActionAllowed(param: iIsActionAllowedParam): import("../../services/Navvy/NavvySimple").NavvySimple<
|
|
34
|
+
isActionAllowed(param: iIsActionAllowedParam): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTaskElapseditem, BXRestMapTaskElapseditem, boolean, unknown>;
|
|
35
35
|
checkPermissionAddTask(idTask: number): import("rxjs").Observable<boolean | undefined>;
|
|
36
36
|
private checkPermissionReadTask;
|
|
37
|
-
del(param: iBXRestParamDelElapseditem): import("../../services/Navvy/NavvySimple").NavvySimple<
|
|
37
|
+
del(param: iBXRestParamDelElapseditem): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTaskElapseditem, BXRestMapTaskElapseditem, null, boolean>;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyElapseditem, never>;
|
|
39
39
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyElapseditem>;
|
|
40
40
|
}
|
|
@@ -8,6 +8,6 @@ export declare class BXRestNavvyOperationElapseditem {
|
|
|
8
8
|
private BXRestNavvyElapseditem;
|
|
9
9
|
private BXRestMapElapseditem;
|
|
10
10
|
constructor(http: HttpBXServices, BXRestNavvyElapseditem: BXRestNavvyElapseditem, BXRestMapElapseditem: BXRestMapTaskElapseditem);
|
|
11
|
-
getByInterval(idsUsers: number[], dateStart: Date, dateEnd: Date): import("../../../services/Navvy/NavvyAlternativePaginationNavigation").NavvyAlterPagNav<import("../../../request/task/elapseditem").
|
|
11
|
+
getByInterval(idsUsers: number[], dateStart: Date, dateEnd: Date): import("../../../services/Navvy/NavvyAlternativePaginationNavigation").NavvyAlterPagNav<import("../../../request/task/elapseditem").BXRestTaskElapseditem, BXRestMapTaskElapseditem, iBXRestTaskElapsedItemHttp, iBXRestTaskElapsedItem, iBXRestParamElapseditemGet>;
|
|
12
12
|
getListByIDTask(ids: number[]): import("rxjs").Observable<iBXRestTaskElapsedItem[] | undefined>;
|
|
13
13
|
}
|
package/request-navvy/task.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { BXRestNavvyElapseditem } from './task/elapseditem';
|
|
2
|
+
import { BXRestNavvyTaskCommentItem } from './task/commentitem';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class BXRestNavvyTask {
|
|
4
5
|
elapseditem: BXRestNavvyElapseditem;
|
|
5
|
-
|
|
6
|
+
commentitem: BXRestNavvyTaskCommentItem;
|
|
7
|
+
constructor(elapseditem: BXRestNavvyElapseditem, commentitem: BXRestNavvyTaskCommentItem);
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTask, never>;
|
|
7
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTask>;
|
|
8
10
|
}
|
|
@@ -23,7 +23,7 @@ export declare class BXRestNavvyTasksTask {
|
|
|
23
23
|
get(param: iBXRestParamTaskGet): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTasksTask, BXRestMapTasksTask, {
|
|
24
24
|
task: import("../../typification/rest/task/task").iBXRestHttpTask | undefined;
|
|
25
25
|
}, import("../../typification/rest/task/task").iBXRestTask | undefined>;
|
|
26
|
-
list(param?: iBXRestParamTasksList): import("../../services/Navvy/NavvyPagNavTasks").NavvyPagNavTasks<BXRestTasksTask, BXRestMapTasksTask, import("../../typification/rest/task/
|
|
26
|
+
list(param?: iBXRestParamTasksList): import("../../services/Navvy/NavvyPagNavTasks").NavvyPagNavTasks<BXRestTasksTask, BXRestMapTasksTask, import("../../typification/rest/tasks/task/list").iBXRestHttpTasksTaskList, import("../../typification/rest/task/task").iBXRestTask, iBXRestParamTasksList>;
|
|
27
27
|
getaccess(param: iBXRestParamTaskGetAccess): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTasksTask, BXRestMapTasksTask, import("../../typification/rest/task/access/getaccess").iBXRestTaskGetAccess, {
|
|
28
28
|
[key: number]: import("../../typification/rest/task/access/getaccess").iBXRestTaskGetAccessItem;
|
|
29
29
|
} | undefined>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { iBXRestOrderOption } from '../../base/OrderOptions';
|
|
2
|
+
import { filterGenerator } from '../base/filterGenerator';
|
|
3
|
+
export interface BXRestTaskCommentItemGetList {
|
|
4
|
+
FILTER: iBXRestTaskCommentItemFilterList;
|
|
5
|
+
ORDER: iBXRestTaskCommentItemOrderList;
|
|
6
|
+
}
|
|
7
|
+
export interface iBXRestTaskCommentItemFilterList extends filterGenerator<{
|
|
8
|
+
ID: number;
|
|
9
|
+
AUTHOR_ID: number;
|
|
10
|
+
POST_DATE: Date;
|
|
11
|
+
}> {
|
|
12
|
+
AUTHOR_NAME?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface iBXRestTaskCommentItemOrderList {
|
|
15
|
+
ID?: iBXRestOrderOption;
|
|
16
|
+
AUTHOR_ID?: iBXRestOrderOption;
|
|
17
|
+
POST_DATE?: iBXRestOrderOption;
|
|
18
|
+
AUTHOR_NAME?: iBXRestOrderOption;
|
|
19
|
+
AUTHOR_EMAIL?: iBXRestOrderOption;
|
|
20
|
+
}
|
|
@@ -41,6 +41,7 @@ export interface iBXRestHttpTask extends iBXRestBaseTask {
|
|
|
41
41
|
status?: string;
|
|
42
42
|
multitask?: iBXRestYesNo;
|
|
43
43
|
groupId?: string;
|
|
44
|
+
group?: iBXRestHttpTaskGroupHttp;
|
|
44
45
|
stageId?: string;
|
|
45
46
|
createdBy?: string;
|
|
46
47
|
createdDate?: string;
|
|
@@ -50,7 +51,7 @@ export interface iBXRestHttpTask extends iBXRestBaseTask {
|
|
|
50
51
|
statusChangedBy?: string;
|
|
51
52
|
statusChangedDate?: string;
|
|
52
53
|
closedBy?: string;
|
|
53
|
-
closedDate?: string;
|
|
54
|
+
closedDate?: string | null;
|
|
54
55
|
dateStart?: string;
|
|
55
56
|
deadline?: string;
|
|
56
57
|
startDatePlan?: string;
|
|
@@ -63,6 +64,7 @@ export interface iBXRestHttpTask extends iBXRestBaseTask {
|
|
|
63
64
|
descriptionInBbcode?: iBXRestYesNo;
|
|
64
65
|
accomplices?: string[];
|
|
65
66
|
subStatus?: string;
|
|
67
|
+
additionalData: any[];
|
|
66
68
|
creator?: iBXRestHttpTaskPeople;
|
|
67
69
|
responsible?: iBXRestHttpTaskPeople;
|
|
68
70
|
accomplicesData?: {
|
|
@@ -70,6 +72,12 @@ export interface iBXRestHttpTask extends iBXRestBaseTask {
|
|
|
70
72
|
};
|
|
71
73
|
allowTimeTracking?: iBXRestYesNo;
|
|
72
74
|
}
|
|
75
|
+
export interface iBXRestHttpTaskGroupHttp {
|
|
76
|
+
id: string;
|
|
77
|
+
name: string;
|
|
78
|
+
opened: boolean;
|
|
79
|
+
membersCount: number;
|
|
80
|
+
}
|
|
73
81
|
export interface iBXRestBaseTask {
|
|
74
82
|
title?: string;
|
|
75
83
|
description?: string;
|
|
@@ -3,9 +3,53 @@ import { iBXRestYesNo } from '../../base/YesNo';
|
|
|
3
3
|
import { iBXRestTaskFieldsName } from '../../task/base/fieldsName';
|
|
4
4
|
import { iBXRestFilterGenerator } from '../../base/filterGenerator';
|
|
5
5
|
import { iBXRestPagination } from '../../base/ApiPaginationBX';
|
|
6
|
-
import { iBXRestHttpTask } from '../../task/task';
|
|
7
|
-
export interface
|
|
8
|
-
tasks:
|
|
6
|
+
import { iBXRestHttpTask, iBXRestHttpTaskGroupHttp, iBXRestTask } from '../../task/task';
|
|
7
|
+
export interface iBXRestTasksTaskListHttp<T extends iBXRestHttpTasksTaskList | iBXRestTasksTaskListHttpDefault> {
|
|
8
|
+
tasks: T[] | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface iBXRestHttpTasksTaskList extends iBXRestHttpTask {
|
|
11
|
+
}
|
|
12
|
+
export interface iBXRestTasksTaskList extends iBXRestTask {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Если при запросе tasks.task.list не указывать выводимые поля (select) отдаст этот набор
|
|
16
|
+
*/
|
|
17
|
+
export interface iBXRestTasksTaskListHttpDefault extends iBXRestHttpTask {
|
|
18
|
+
closedDate: null;
|
|
19
|
+
createdDate: string;
|
|
20
|
+
durationFact: string;
|
|
21
|
+
group: iBXRestHttpTaskGroupHttp;
|
|
22
|
+
additionalData: any[];
|
|
23
|
+
id: string;
|
|
24
|
+
image: string;
|
|
25
|
+
membersCount: number;
|
|
26
|
+
name: string;
|
|
27
|
+
opened: boolean;
|
|
28
|
+
groupId: string;
|
|
29
|
+
projectId: string;
|
|
30
|
+
timeEstimate: string;
|
|
31
|
+
timeSpentInLogs: string;
|
|
32
|
+
title: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Если при запросе tasks.task.list не указывать выводимые поля (select) отдаст этот набор
|
|
36
|
+
*/
|
|
37
|
+
export interface iBXRestTasksTaskListDefault extends iBXRestTask {
|
|
38
|
+
closedDate: Date | undefined;
|
|
39
|
+
createdDate: Date;
|
|
40
|
+
durationFact: string;
|
|
41
|
+
group: iBXRestHttpTaskGroupHttp;
|
|
42
|
+
additionalData: any[];
|
|
43
|
+
id: number;
|
|
44
|
+
image: string;
|
|
45
|
+
membersCount: number;
|
|
46
|
+
name: string;
|
|
47
|
+
opened: boolean;
|
|
48
|
+
groupId: number;
|
|
49
|
+
projectId: string;
|
|
50
|
+
timeEstimate: string;
|
|
51
|
+
timeSpentInLogs: string;
|
|
52
|
+
title: string;
|
|
9
53
|
}
|
|
10
54
|
export interface iBXRestParamTasksList extends iBXRestPagination {
|
|
11
55
|
order?: iBXRestParamTaskListOrder;
|