bx-rest 0.2.10 → 0.2.12

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.
Files changed (65) hide show
  1. package/esm2022/map/disk/base.mjs +1 -1
  2. package/esm2022/map/disk/file.mjs +1 -1
  3. package/esm2022/map/disk/folder.mjs +1 -1
  4. package/esm2022/map/disk/storage.mjs +1 -1
  5. package/esm2022/map/tasks/task.mjs +1 -1
  6. package/esm2022/request/disk/attachedObject.mjs +1 -1
  7. package/esm2022/request/disk/file.mjs +1 -1
  8. package/esm2022/request/disk/folder.mjs +1 -1
  9. package/esm2022/request/disk/storage.mjs +1 -1
  10. package/esm2022/request/task/commentitem.mjs +42 -0
  11. package/esm2022/request/task/elapseditem.mjs +5 -5
  12. package/esm2022/request/task/planner.mjs +21 -0
  13. package/esm2022/request/task.mjs +8 -4
  14. package/esm2022/request/tasks/task.mjs +3 -12
  15. package/esm2022/request-navvy/task/commentitem.mjs +56 -0
  16. package/esm2022/request-navvy/task/elapseditem.mjs +3 -3
  17. package/esm2022/request-navvy/task.mjs +6 -4
  18. package/esm2022/typification/rest/disk/file.mjs +1 -1
  19. package/esm2022/typification/rest/disk/map.mjs +1 -1
  20. package/esm2022/typification/rest/task/base/filterGenerator.mjs +2 -0
  21. package/esm2022/typification/rest/task/commentitem/add.mjs +2 -0
  22. package/esm2022/typification/rest/task/commentitem/delete.mjs +2 -0
  23. package/esm2022/typification/rest/task/commentitem/get.mjs +2 -0
  24. package/esm2022/typification/rest/task/commentitem/getlist.mjs +2 -0
  25. package/esm2022/typification/rest/task/commentitem/update.mjs +2 -0
  26. package/esm2022/typification/rest/task/task.mjs +1 -1
  27. package/esm2022/typification/rest/tasks/task/list.mjs +1 -1
  28. package/esm2022/typification/rest/user/get.mjs +1 -1
  29. package/fesm2022/bx-rest.mjs +171 -73
  30. package/fesm2022/bx-rest.mjs.map +1 -1
  31. package/map/disk/base.d.ts +4 -4
  32. package/map/disk/file.d.ts +3 -7
  33. package/map/disk/folder.d.ts +2 -2
  34. package/map/disk/storage.d.ts +2 -2
  35. package/map/tasks/task.d.ts +2 -2
  36. package/package.json +1 -1
  37. package/request/disk/file.d.ts +3 -3
  38. package/request/disk/folder.d.ts +2 -2
  39. package/request/disk/storage.d.ts +3 -3
  40. package/request/task/commentitem.d.ts +28 -0
  41. package/request/task/elapseditem.d.ts +3 -3
  42. package/request/task/planner.d.ts +9 -0
  43. package/request/task.d.ts +7 -3
  44. package/request/tasks/task.d.ts +2 -5
  45. package/request-navvy/disk/file.d.ts +2 -6
  46. package/request-navvy/disk/folder.d.ts +1 -1
  47. package/request-navvy/disk/interlayer/storage.d.ts +2 -2
  48. package/request-navvy/disk/operation.d.ts +3 -3
  49. package/request-navvy/disk/storage.d.ts +2 -2
  50. package/request-navvy/task/commentitem.d.ts +24 -0
  51. package/request-navvy/task/elapseditem.d.ts +6 -6
  52. package/request-navvy/task/operation/elapseditem.d.ts +1 -1
  53. package/request-navvy/task.d.ts +3 -1
  54. package/request-navvy/tasks/task.d.ts +1 -1
  55. package/typification/rest/disk/file.d.ts +4 -5
  56. package/typification/rest/disk/map.d.ts +3 -3
  57. package/typification/rest/task/base/filterGenerator.d.ts +6 -0
  58. package/typification/rest/task/commentitem/add.d.ts +9 -0
  59. package/typification/rest/task/commentitem/delete.d.ts +4 -0
  60. package/typification/rest/task/commentitem/get.d.ts +4 -0
  61. package/typification/rest/task/commentitem/getlist.d.ts +20 -0
  62. package/typification/rest/task/commentitem/update.d.ts +4 -0
  63. package/typification/rest/task/task.d.ts +9 -1
  64. package/typification/rest/tasks/task/list.d.ts +47 -3
  65. package/typification/rest/user/get.d.ts +34 -1
@@ -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 iBXRestParamTasksListHttp {
8
- tasks: iBXRestHttpTask[] | undefined;
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;
@@ -1,13 +1,14 @@
1
1
  import { iBXRestYesNo } from '../base/YesNo';
2
2
  import { iBXRestBaseParam } from '../support/param';
3
3
  import { iBXRestOrderOption } from '../base/OrderOptions';
4
+ import { iAllBXGender } from './user';
4
5
  export interface iBXRestParamUserGet extends iBXRestBaseParam {
5
- ID?: number[] | number;
6
6
  FILTER?: iBXRestParamUserGetFilter;
7
7
  order?: iBXRestOrderOption;
8
8
  ADMIN_MODE?: string;
9
9
  }
10
10
  export interface iBXRestParamUserGetFilter {
11
+ ID?: number[] | number;
11
12
  PERSONAL_BIRTHDAY?: string | string[];
12
13
  UF_DEPARTMENT?: number[];
13
14
  UF_PHONE_INNER?: string;
@@ -15,4 +16,36 @@ export interface iBXRestParamUserGetFilter {
15
16
  NAME_SEARCH?: string;
16
17
  USER_TYPE?: 'employee' | 'extranet' | 'email';
17
18
  ACTIVE?: 2 | 1 | 0;
19
+ EMAIL?: string;
20
+ NAME?: string;
21
+ LAST_NAME?: string;
22
+ SECOND_NAME?: string;
23
+ PERSONAL_GENDER?: iAllBXGender;
24
+ PERSONAL_PROFESSION?: string;
25
+ PERSONAL_WWW?: string;
26
+ PERSONAL_PHOTO?: string;
27
+ PERSONAL_ICQ?: string;
28
+ PERSONAL_PHONE?: string;
29
+ PERSONAL_FAX?: string;
30
+ PERSONAL_MOBILE?: string;
31
+ PERSONAL_PAGER?: string;
32
+ PERSONAL_STREET?: string;
33
+ PERSONAL_CITY?: string;
34
+ PERSONAL_STATE?: string;
35
+ PERSONAL_ZIP?: string;
36
+ PERSONAL_COUNTRY?: string;
37
+ TIME_ZONE?: string;
38
+ TIME_ZONE_OFFSET?: string;
39
+ WORK_COMPANY?: string;
40
+ WORK_POSITION?: string;
41
+ WORK_PHONE?: string;
42
+ UF_INTERESTS?: string;
43
+ UF_SKILLS?: string;
44
+ UF_WEB_SITES?: string;
45
+ UF_XING?: string;
46
+ UF_LINKEDIN?: string;
47
+ UF_FACEBOOK?: string;
48
+ UF_TWITTER?: string;
49
+ UF_SKYPE?: string;
50
+ UF_DISTRICT?: string;
18
51
  }