@wshcmx/types 11.0.0-rc.1 → 11.1.0

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 (52) hide show
  1. package/VERSIONING.md +12 -0
  2. package/lib/appconfig/index.d.ts +420 -0
  3. package/lib/core/index.d.ts +10 -4
  4. package/lib/env/index.d.ts +3 -0
  5. package/lib/eslint.config.js +3 -2
  6. package/lib/http_request/index.d.ts +6 -0
  7. package/lib/screen/index.d.ts +1 -1
  8. package/lib/thread/index.d.ts +11 -0
  9. package/lib/tools/index.d.ts +1 -1
  10. package/lib/tools_web/index.d.ts +211 -126
  11. package/lib/websoft/index.d.ts +15 -0
  12. package/lib/xml/application_instance_catalog/index.d.ts +2 -0
  13. package/lib/xml/block_message_catalog/index.d.ts +17 -0
  14. package/lib/xml/call/index.d.ts +4 -0
  15. package/lib/xml/call_catalog/index.d.ts +2 -0
  16. package/lib/xml/coding/index.d.ts +1 -0
  17. package/lib/xml/conversation/index.d.ts +2 -0
  18. package/lib/xml/conversation_catalog/index.d.ts +6 -1
  19. package/lib/xml/conversation_participant/index.d.ts +50 -0
  20. package/lib/xml/conversation_participant_catalog/index.d.ts +33 -0
  21. package/lib/xml/course/index.d.ts +5 -0
  22. package/lib/xml/discharge/index.d.ts +2 -0
  23. package/lib/xml/dn_prog_disc_append/index.d.ts +8 -1
  24. package/lib/xml/download_package/index.d.ts +1 -0
  25. package/lib/xml/general/index.d.ts +7 -0
  26. package/lib/xml/group/index.d.ts +19 -3
  27. package/lib/xml/key_position/index.d.ts +1 -1
  28. package/lib/xml/knowledge_part/index.d.ts +2 -2
  29. package/lib/xml/knowledge_part_catalog/index.d.ts +1 -1
  30. package/lib/xml/learning_record/index.d.ts +1 -0
  31. package/lib/xml/personnel_committee/index.d.ts +47 -2
  32. package/lib/xml/project_participant/index.d.ts +2 -0
  33. package/lib/xml/rating/index.d.ts +4 -1
  34. package/lib/xml/remote_action/index.d.ts +6 -1
  35. package/lib/xml/request/index.d.ts +1 -0
  36. package/lib/xml/reward/index.d.ts +71 -0
  37. package/lib/xml/reward_type/index.d.ts +56 -0
  38. package/lib/xml/reward_types/index.d.ts +43 -0
  39. package/lib/xml/site/index.d.ts +1 -0
  40. package/lib/xml/task/index.d.ts +3 -1
  41. package/lib/xml/task_catalog/index.d.ts +4 -0
  42. package/lib/xml/task_type/index.d.ts +10 -0
  43. package/lib/xml/task_type_catalog/index.d.ts +10 -0
  44. package/lib/xml/test_learning/index.d.ts +1 -0
  45. package/lib/xml/upload_package/index.d.ts +1 -0
  46. package/lib/xml/wiki_article/index.d.ts +1 -0
  47. package/lib/xml/wiki_article_catalog/index.d.ts +5 -0
  48. package/lib/xml/wiki_base/index.d.ts +1 -0
  49. package/lib/xml/workspace_config/index.d.ts +5 -0
  50. package/lib/xml/wscon_general/index.d.ts +25 -0
  51. package/package.json +1 -1
  52. package/scripts/check-version.sh +0 -3
@@ -0,0 +1,50 @@
1
+ type ConversationParticipantDocumentTopElem = XmlTopElem &
2
+ ObjectCodeNameBase &
3
+ PersonFillingBase & {
4
+ Doc: ConversationParticipantDocument;
5
+ /**
6
+ * Активное уведомление
7
+ * @default true
8
+ */
9
+ is_enabled: XmlElem<boolean>;
10
+ /**
11
+ * Помечен непрочитанным
12
+ * @default false
13
+ */
14
+ is_marked: XmlElem<boolean>;
15
+ /**
16
+ * Кастомный участник
17
+ * @default false
18
+ */
19
+ is_custom: XmlElem<boolean>;
20
+ /**
21
+ * Закрепленный разговор
22
+ * @default false
23
+ */
24
+ is_pinned: XmlElem<boolean>;
25
+ /** Сотрудник */
26
+ person_id: XmlElem<number | null, CollaboratorCatalogDocumentTopElem>;
27
+ /** Статус */
28
+ conversation_state: XmlElem<string | null>;
29
+ /** Разговор */
30
+ conversation_id: XmlElem<number | null, ConversationCatalogDocumentTopElem>;
31
+ /**
32
+ * Timestamp последнего прочитанного сообщения
33
+ * @default 0
34
+ */
35
+ timestamp: XmlElem<number | null>;
36
+ /** Комментарий */
37
+ comment: XmlElem<string | null>;
38
+ /** Информация об объекте */
39
+ doc_info: XmlElem<DocInfoBase | null>;
40
+ /** @temp */
41
+ view: XmlElem<unknown | null>;
42
+ };
43
+
44
+ type ConversationParticipantDocument = XmlDocument & {
45
+ TopElem: ConversationParticipantDocumentTopElem;
46
+ conversation_participant: ConversationParticipantDocumentTopElem;
47
+ OnCreate(): void;
48
+ DocDesc(): string;
49
+ OnBeforeSave(): void;
50
+ };
@@ -0,0 +1,33 @@
1
+ type ConversationParticipantCatalogDocumentTopElem = XmlTopElem &
2
+ ObjectCodeNameBase &
3
+ PersonFillingBase & {
4
+ /**
5
+ * Активное уведомление
6
+ * @default true
7
+ */
8
+ is_enabled: XmlElem<boolean>;
9
+ /**
10
+ * Помечен непрочитанным
11
+ * @default false
12
+ */
13
+ is_marked: XmlElem<boolean>;
14
+ /**
15
+ * Кастомный участник
16
+ * @default false
17
+ */
18
+ is_custom: XmlElem<boolean>;
19
+ /**
20
+ * Закрепленный разговор
21
+ * @default false
22
+ */
23
+ is_pinned: XmlElem<boolean>;
24
+ /** Сотрудник */
25
+ person_id: XmlElem<number | null, CollaboratorCatalogDocumentTopElem>;
26
+ /** Статус */
27
+ conversation_state: XmlElem<string | null>;
28
+ /** Разговор */
29
+ conversation_id: XmlElem<number | null, ConversationCatalogDocumentTopElem>;
30
+ /** Timestamp последнего прочитанного сообщения */
31
+ timestamp: XmlElem<number | null>;
32
+ OnBuild(): void;
33
+ };
@@ -198,6 +198,11 @@ AdminAccessBase & {
198
198
  * @default false
199
199
  */
200
200
  auto_finish: XmlElem<boolean>;
201
+ /**
202
+ * Учитывать статус failed от курса для его завершения
203
+ * @default true
204
+ */
205
+ ignore_failed_for_finish: XmlElem<boolean>;
201
206
  /**
202
207
  * Не использовать локальное расположение данного курса
203
208
  * @default false
@@ -4,9 +4,11 @@ interface ExportOdbcSourceBase {
4
4
  db_login: XmlElem<string | null>;
5
5
  db_password: XmlElem<string | null>;
6
6
  source_name: XmlElem<string | null>;
7
+ /** @default file */
7
8
  source_type: XmlElem<string>;
8
9
  form: XmlElem<string | null>;
9
10
  delim: XmlElem<string>;
11
+ /** @default windows-1251 */
10
12
  encoding: XmlElem<string>;
11
13
  lotus_id_path: XmlElem<string | null>;
12
14
  lotus_undefined_name: XmlElem<string | null>;
@@ -1,3 +1,8 @@
1
+ interface DnProgDiscAppendDocumentView {
2
+ /** @temp */
3
+ filter: XmlElem<AuFtFilter | null>;
4
+ }
5
+
1
6
  type DnProgDiscAppendDocumentTopElem = XmlTopElem &
2
7
  AdminAccessBase &
3
8
  CustomElemsBase & {
@@ -11,10 +16,12 @@ CustomElemsBase & {
11
16
  special_id: XmlElem<number | null, DnSpecialCatalogDocumentTopElem>;
12
17
  /** Специализация */
13
18
  specialization_id: XmlElem<number | null, DnSpecializationCatalogDocumentTopElem>;
14
- educat_form_id: XmlElem<string | null>;
19
+ educat_form_id: XmlElem<string | null, DnEducatFormCatalogDocumentTopElem>;
15
20
  /** Квалификация */
16
21
  qualification_id: XmlElem<number | null, QualificationCatalogDocumentTopElem>;
17
22
  doc_info: XmlElem<DocInfoBase | null>;
23
+ /** @temp */
24
+ view: XmlElem<DnProgDiscAppendDocumentView | null>;
18
25
  };
19
26
 
20
27
  type DnProgDiscAppendDocument = XmlDocument & {
@@ -1,6 +1,7 @@
1
1
  type DownloadPackageDocumentTopElem = XmlTopElem &
2
2
  DownloadPackageLogBase & {
3
3
  Doc: DownloadPackageDocument;
4
+ id: XmlElem<number | null>;
4
5
  /** ID пакета */
5
6
  package_id: XmlElem<string | null>;
6
7
  /** Сервер */
@@ -1005,6 +1005,7 @@ interface ImportExcelPersonsBase {
1005
1005
  }
1006
1006
 
1007
1007
  interface OrgBase extends EssentialsBase {
1008
+ /** Id */
1008
1009
  id: XmlElem<number | null>;
1009
1010
  /** Код */
1010
1011
  code: XmlElem<string | null>;
@@ -1020,7 +1021,9 @@ interface OrgBase extends EssentialsBase {
1020
1021
  phone: XmlElem<string | null>;
1021
1022
  /** Факс */
1022
1023
  fax: XmlElem<string | null>;
1024
+ /** E-mail */
1023
1025
  email: XmlElem<string | null>;
1026
+ /** url */
1024
1027
  web: XmlElem<string | null>;
1025
1028
  }
1026
1029
 
@@ -1111,6 +1114,7 @@ interface AccessRoleBaseFuncBlock {
1111
1114
  }
1112
1115
 
1113
1116
  interface AccessRoleBase {
1117
+ /** Id */
1114
1118
  id: XmlElem<string | null>;
1115
1119
  /** Название */
1116
1120
  name: XmlElem<string | null>;
@@ -2861,6 +2865,8 @@ interface WebVariablesBaseWvarEntry {
2861
2865
  catalog: XmlElem<string | null, typeof common.exchange_object_types>;
2862
2866
  /** Выборка */
2863
2867
  remote_collection_id: XmlElem<number | null, RemoteCollectionCatalogDocumentTopElem>;
2868
+ /** Параметры */
2869
+ remote_collection_wvars: XmlElem<string | null>;
2864
2870
  }
2865
2871
 
2866
2872
  interface WebVariablesBaseWvarViewCondition {
@@ -3703,6 +3709,7 @@ interface ProctoringBase {
3703
3709
  }
3704
3710
 
3705
3711
  interface ResultFieldsBaseResultField {
3712
+ /** Id */
3706
3713
  id: XmlElem<string | null>;
3707
3714
  /** Название поля */
3708
3715
  name: XmlElem<string | null>;
@@ -95,9 +95,25 @@ PersonObjectLinksBase & {
95
95
  /** @temp */
96
96
  view: XmlElem<GroupDocumentView | null>;
97
97
  dynamic_select_person(clearList: unknown): unknown;
98
- start_action(itemName: unknown): number;
99
- activateCourseToPersons(input: unknown): unknown;
100
- add_collaborator(personId: number, docPerson: unknown): unknown;
98
+ /** @temp */
99
+ rows: XmlElem<unknown | null>;
100
+ /**
101
+ * @temp
102
+ * @default fullname
103
+ */
104
+ row_disp_elem: XmlElem<string>;
105
+ /**
106
+ * @temp
107
+ * @default .Env.ListElem
108
+ */
109
+ row_list_field: XmlElem<string | null>;
110
+ /**
111
+ * @temp
112
+ * @default .PrimaryKey
113
+ */
114
+ row_key_field: XmlElem<string | null>;
115
+ /** @temp */
116
+ list_variant: XmlElem<unknown | null>;
101
117
  remove_collaborator(personId: number): unknown;
102
118
  /** Категория */
103
119
  role_id: XmlMultiElemObject<number | null, RoleCatalogDocumentTopElem>;
@@ -64,7 +64,7 @@ CustomElemsBase & {
64
64
  /** @temp */
65
65
  view: XmlElem<DescBase | null>;
66
66
  /** Категория */
67
- role_id: XmlMultiElemObject<number | null>;
67
+ role_id: XmlMultiElemObject<number | null, RoleCatalogDocumentTopElem>;
68
68
  EvalThreat(arrRiskLevels: unknown, fldRiskPerspective: unknown, keyPositionId: number): unknown;
69
69
  };
70
70
 
@@ -13,7 +13,7 @@ interface KnowledgePartDocumentLevel extends MsConfirmationBase {
13
13
  * Тип подтверждения
14
14
  * @default none
15
15
  */
16
- confirmation_type: XmlElem<string>;
16
+ confirmation_type: XmlElem<string, typeof common.confirmation_types>;
17
17
  }
18
18
 
19
19
  interface KnowledgePartDocumentTempDoc {
@@ -64,7 +64,7 @@ KnowledgePartsBase & {
64
64
  * Тип подтверждения
65
65
  * @default none
66
66
  */
67
- confirmation_type: XmlElem<string>;
67
+ confirmation_type: XmlElem<string, typeof common.confirmation_types>;
68
68
  /** Описание */
69
69
  text_area: XmlElem<string | null>;
70
70
  /**
@@ -20,7 +20,7 @@ AccessDocBase & {
20
20
  status_in_knowledge_map: XmlElem<string | null, typeof common.status_in_knowledge_map_types>;
21
21
  knowledge_part_type_id: XmlElem<number | null, KnowledgePartTypeCatalogDocumentTopElem>;
22
22
  /** Тип подтверждения */
23
- confirmation_type: XmlElem<string | null>;
23
+ confirmation_type: XmlElem<string | null, typeof common.confirmation_types>;
24
24
  /** Индекс уровня экспертизы */
25
25
  expertise_level_index: XmlElem<number | null>;
26
26
  /** ID тегов */
@@ -182,5 +182,6 @@ type LearningRecordDocument = XmlDocument & {
182
182
  TopElem: LearningRecordDocumentTopElem;
183
183
  learning_record: LearningRecordDocumentTopElem;
184
184
  DocDesc(): string;
185
+ OnSave(): void;
185
186
  OnBeforeSave(): void;
186
187
  };
@@ -1,3 +1,20 @@
1
+ interface PersonnelCommitteeDocumentView extends DescBase {
2
+ /**
3
+ * @temp
4
+ * @default collaborator
5
+ */
6
+ participant_catalog: XmlElem<string, typeof common.exchange_object_types>;
7
+ /**
8
+ * @temp
9
+ * @default collaborator
10
+ */
11
+ candidate_catalog: XmlElem<string, typeof common.exchange_object_types>;
12
+ /** @temp */
13
+ filter: XmlElem<AuFtFilter | null>;
14
+ /** @temp */
15
+ participant_filter: XmlElem<AuFtFilter | null>;
16
+ }
17
+
1
18
  type PersonnelCommitteeDocumentTopElem = XmlTopElem &
2
19
  FileListBase &
3
20
  AdminAccessBase &
@@ -16,8 +33,15 @@ CustomElemsBase & {
16
33
  group_id: XmlElem<number | null, GroupCatalogDocumentTopElem>;
17
34
  /** Тип кадрового резерва */
18
35
  career_reserve_type_id: XmlElem<number | null, CareerReserveTypeCatalogDocumentTopElem>;
19
- /** Статус */
36
+ /**
37
+ * Статус
38
+ * @default project
39
+ */
20
40
  status: XmlElem<string, typeof common.personnel_committee_status_types>;
41
+ /**
42
+ * Статус состава участников
43
+ * @default not_confirmed
44
+ */
21
45
  participants_status: XmlElem<string, typeof common.committee_member_status_types>;
22
46
  /** Дата создания */
23
47
  creation_date: XmlElem<Date | null>;
@@ -31,10 +55,31 @@ CustomElemsBase & {
31
55
  comment: XmlElem<string | null>;
32
56
  doc_info: XmlElem<DocInfoBase | null>;
33
57
  /** Категория */
34
- role_id: XmlMultiElemObject<number | null>;
58
+ role_id: XmlMultiElemObject<number | null, RoleCatalogDocumentTopElem>;
35
59
  /** Доступ */
36
60
  access: XmlElem<AccessDocBase | null>;
61
+ /** @temp */
62
+ view: XmlElem<PersonnelCommitteeDocumentView | null>;
37
63
  set_status(newStatus: string, sendNotifications: boolean, screen: unknown): void;
64
+ /** @temp */
65
+ rows: XmlElem<unknown | null>;
66
+ /**
67
+ * @temp
68
+ * @default fullname
69
+ */
70
+ row_disp_elem: XmlElem<string>;
71
+ /**
72
+ * @temp
73
+ * @default .Env.ListElem
74
+ */
75
+ row_list_field: XmlElem<string | null>;
76
+ /**
77
+ * @temp
78
+ * @default .PrimaryKey
79
+ */
80
+ row_key_field: XmlElem<string | null>;
81
+ /** @temp */
82
+ list_variant: XmlElem<unknown | null>;
38
83
  start_action(type: string): number;
39
84
  };
40
85
 
@@ -59,6 +59,8 @@ KnowledgePartsBase & {
59
59
  doc_info: XmlElem<DocInfoBase | null>;
60
60
  /** Доступ */
61
61
  access: XmlElem<AccessDocBase | null>;
62
+ /** @temp */
63
+ view: XmlElem<DescBase | null>;
62
64
  };
63
65
 
64
66
  type ProjectParticipantDocument = XmlDocument & {
@@ -17,7 +17,10 @@ AdminAccessBase & {
17
17
  date: XmlElem<Date | null>;
18
18
  /** Оценивающий сотрудник */
19
19
  expert_person_id: XmlElem<number | null, CollaboratorCatalogDocumentTopElem> & MsPersonSdInnerBase;
20
- /** Статус */
20
+ /**
21
+ * Статус
22
+ * @default false
23
+ */
21
24
  status: XmlElem<boolean>;
22
25
  /** Объекты */
23
26
  objects: XmlMultiElem<RatingDocumentObject | null>;
@@ -64,7 +64,12 @@ I18nBase & {
64
64
  view: XmlElem<RemoteActionDocumentView | null>;
65
65
  /** @temp */
66
66
  converter: XmlElem<boolean | null>;
67
- evaluate(resultType: string, request: Request, argVars: Object, configuration: string): unknown;
67
+ evaluate(resultType: string, request: Request, argVars: Object, configuration: string): {
68
+ error: 1 | 0;
69
+ messageText: string;
70
+ result: unknown;
71
+ type: string;
72
+ };
68
73
  /** Категория */
69
74
  role_id: XmlMultiElemObject<number | null, RoleCatalogDocumentTopElem>;
70
75
  };
@@ -129,6 +129,7 @@ type RequestDocument = XmlDocument & {
129
129
  request: RequestDocumentTopElem;
130
130
  OnLocalInit(): void;
131
131
  OnCreate(): void;
132
+ OnSave(): void;
132
133
  OnBeforeSave(): void;
133
134
  DocDesc(): string;
134
135
  };
@@ -0,0 +1,71 @@
1
+ interface RewardDocumentCollaboratorIdSd {
2
+ /** ФИО сотрудника */
3
+ fullname: XmlElem<string | null>;
4
+ /** Название должности */
5
+ position_name: XmlElem<string | null>;
6
+ /** Должность */
7
+ position_id: XmlElem<number | null, PositionCatalogDocumentTopElem>;
8
+ /** Название подразделения */
9
+ position_parent_name: XmlElem<string | null>;
10
+ /** Подразделение */
11
+ position_parent_id: XmlElem<number | null, SubdivisionCatalogDocumentTopElem>;
12
+ /** Название организации */
13
+ org_name: XmlElem<string | null>;
14
+ /** Является уволенным */
15
+ is_dismiss: XmlElem<boolean | null>;
16
+ }
17
+
18
+ interface RewardDocumentCollaboratorId {
19
+ sd: XmlElem<RewardDocumentCollaboratorIdSd | null>;
20
+ }
21
+
22
+ type RewardDocumentTopElem = XmlTopElem & {
23
+ Doc: RewardDocument;
24
+ id: XmlElem<number | null>;
25
+ /** Код */
26
+ code: XmlElem<string | null>;
27
+ /** Название */
28
+ name: XmlElem<string | null>;
29
+ reward_type_id: XmlElem<number | null, RewardTypeCatalogDocumentTopElem>;
30
+ /**
31
+ * Статус
32
+ * @default project
33
+ */
34
+ status: XmlElem<string>;
35
+ /** Сотрудник */
36
+ collaborator_id: XmlElem<RewardDocumentCollaboratorId | null, CollaboratorCatalogDocumentTopElem>;
37
+ /** Периоды */
38
+ budget_period_id: XmlElem<number | null, BudgetPeriodCatalogDocumentTopElem>;
39
+ /** Краткое описание */
40
+ short_description: XmlElem<string | null>;
41
+ initiator_user_id: XmlElem<number | null, CollaboratorCatalogDocumentTopElem>;
42
+ request_id: XmlElem<number | null, RequestCatalogDocumentTopElem>;
43
+ /** Доступ */
44
+ access: XmlElem<AccessDocBase | null>;
45
+ /**
46
+ * Является системным
47
+ * @default false
48
+ */
49
+ is_std: XmlElem<boolean>;
50
+ /**
51
+ * Измененный
52
+ * @default false
53
+ */
54
+ changed: XmlElem<boolean>;
55
+ /** Информация об объекте */
56
+ doc_info: XmlElem<DocInfoBase | null>;
57
+ /** Комментарий */
58
+ comment: XmlElem<string | null>;
59
+ /** Описание */
60
+ desc: XmlElem<string | null>;
61
+ disp_block: XmlElem<MsDispBlockBase | null>;
62
+ /** @temp */
63
+ view: XmlElem<DescBase | null>;
64
+ /** Категория */
65
+ role_id: XmlMultiElemObject<number | null, RoleCatalogDocumentTopElem>;
66
+ };
67
+
68
+ type RewardDocument = XmlDocument & {
69
+ TopElem: RewardDocumentTopElem;
70
+ reward: RewardDocumentTopElem;
71
+ };
@@ -0,0 +1,56 @@
1
+ interface RewardDocumentBudgetPeriod {
2
+ budget_period_id: XmlElem<number, BudgetPeriodCatalogDocumentTopElem>;
3
+ /** Название */
4
+ budget_period_name: XmlElem<string>;
5
+ /** Численность */
6
+ quantity: XmlElem<number>;
7
+ /** Комментарий */
8
+ comment: XmlElem<string>;
9
+ }
10
+
11
+ type RewardDocumentTypeTopElem = XmlTopElem & {
12
+ Doc: RewardDocument;
13
+ /** ID */
14
+ id: XmlElem<number | null>;
15
+ /** Код */
16
+ code: XmlElem<string | null>;
17
+ /** Название */
18
+ name: XmlElem<string | null>;
19
+ /**
20
+ * Статус
21
+ * @default project
22
+ */
23
+ status: XmlElem<string>;
24
+ /** Дата начала */
25
+ start_date: XmlElem<Date>;
26
+ /** Периоды */
27
+ budget_periods: XmlMultiElem<RewardDocumentBudgetPeriod | null>;
28
+ /** Доступ */
29
+ access: XmlElem<AccessDocBase | null>;
30
+ /**
31
+ * Является системным
32
+ * @default false
33
+ */
34
+ is_std: XmlElem<boolean>;
35
+ /**
36
+ * Измененный
37
+ * @default false
38
+ */
39
+ changed: XmlElem<boolean>;
40
+ /** Информация об объекте */
41
+ doc_info: XmlElem<DocInfoBase | null>;
42
+ /** Комментарий */
43
+ comment: XmlElem<string | null>;
44
+ /** Описание */
45
+ desc: XmlElem<string | null>;
46
+ disp_block: XmlElem<MsDispBlockBase | null>;
47
+ /** @temp */
48
+ view: XmlElem<DescBase | null>;
49
+ /** Категория */
50
+ role_id: XmlMultiElemObject<number | null, RoleCatalogDocumentTopElem>;
51
+ };
52
+
53
+ type RewardTypeDocument = XmlDocument & {
54
+ TopElem: RewardDocumentTypeTopElem;
55
+ reward: RewardDocumentTypeTopElem;
56
+ };
@@ -0,0 +1,43 @@
1
+ interface RewardDocumentBudgetPeriod {
2
+ budget_period_id: XmlElem<number, BudgetPeriodCatalogDocumentTopElem>;
3
+ /** Название */
4
+ budget_period_name: XmlElem<string>;
5
+ /** Численность */
6
+ quantity: XmlElem<number>;
7
+ /** Комментарий */
8
+ comment: XmlElem<string>;
9
+ }
10
+
11
+ type RewardTypeCatalogDocumentTopElem = XmlTopElem &
12
+ AdminAccessBase & {
13
+ /** ID */
14
+ id: XmlElem<number | null>;
15
+ /** Код */
16
+ code: XmlElem<string | null>;
17
+ /** Название */
18
+ name: XmlElem<string | null>;
19
+ /**
20
+ * Статус
21
+ * @default project
22
+ */
23
+ status: XmlElem<string>;
24
+ /** Дата начала */
25
+ start_date: XmlElem<Date, null>;
26
+ /** Периоды */
27
+ budget_periods: XmlMultiElem<RewardDocumentBudgetPeriod | null>;
28
+ /**
29
+ * Является системным
30
+ * @default false
31
+ */
32
+ is_std: XmlElem<boolean>;
33
+ /**
34
+ * Измененный
35
+ * @default false
36
+ */
37
+ changed: XmlElem<boolean>;
38
+ /** Дата модификации */
39
+ modification_date: XmlElem<Date | null>;
40
+ /** Код сервера */
41
+ app_instance_id: XmlElem<string | null>;
42
+ OnBuild(): void;
43
+ };
@@ -45,6 +45,7 @@ interface SiteDocumentWebDesign {
45
45
  }
46
46
 
47
47
  interface SiteDocumentAnonymousMode {
48
+ id: XmlElem<string | null>;
48
49
  mode: XmlElem<string | null>;
49
50
  }
50
51
 
@@ -90,7 +90,8 @@ type TaskDocumentTopElem = XmlTopElem &
90
90
  ObjectCodeNameBase &
91
91
  WorkflowDataBase &
92
92
  AdminAccessBase &
93
- CustomElemsBase & {
93
+ CustomElemsBase &
94
+ KnowledgePartsKpBase & {
94
95
  Doc: TaskDocument;
95
96
  /** Тип */
96
97
  task_type_id: XmlElem<number | null, TaskTypeCatalogDocumentTopElem>;
@@ -195,6 +196,7 @@ CustomElemsBase & {
195
196
  type TaskDocument = XmlDocument & {
196
197
  TopElem: TaskDocumentTopElem;
197
198
  task: TaskDocumentTopElem;
199
+ OnSave(): void;
198
200
  OnBeforeSave(): void;
199
201
  DocDesc(): string;
200
202
  };
@@ -102,5 +102,9 @@ AdminAccessBase & {
102
102
  has_files: XmlElem<boolean>;
103
103
  /** Сотрудник */
104
104
  read_by_users: XmlMultiElemObject<number | null, CollaboratorCatalogDocumentTopElem>;
105
+ /** ID тегов */
106
+ tags: XmlElem<string | null>;
107
+ /** Значения карты знаний */
108
+ knowledge_parts: XmlElem<string | null>;
105
109
  OnBuild(): void;
106
110
  };
@@ -143,6 +143,16 @@ WebVariablesBase & {
143
143
  /** Связанный тип разговора */
144
144
  related_conversation_type_id: XmlElem<number | null, ConversationTypeCatalogDocumentTopElem>;
145
145
  result_block: XmlElem<TaskTypeDocumentResultBlock | null>;
146
+ /**
147
+ * Способ отображения по умолчанию
148
+ * @default tasklist
149
+ */
150
+ default_display_mode: XmlElem<string | null>;
151
+ /**
152
+ * Разрешать переключение способа отображения
153
+ * @default false
154
+ */
155
+ can_change_view: XmlElem<boolean | null>;
146
156
  /** Информация об объекте */
147
157
  doc_info: XmlElem<DocInfoBase | null>;
148
158
  /**
@@ -76,6 +76,16 @@ type TaskTypeCatalogDocumentTopElem = XmlTopElem & {
76
76
  * @default false
77
77
  */
78
78
  consider_time_in_workspace: XmlElem<boolean>;
79
+ /**
80
+ * Способ отображения по умолчанию
81
+ * @default tasklist
82
+ */
83
+ default_display_mode: XmlElem<string | null>;
84
+ /**
85
+ * Разрешать переключение способа отображения
86
+ * @default false
87
+ */
88
+ can_change_view: XmlElem<boolean | null>;
79
89
  /** Дата модификации */
80
90
  modification_date: XmlElem<Date | null>;
81
91
  /** Код сервера */
@@ -16,6 +16,7 @@ FileListBase &
16
16
  AdminAccessBase &
17
17
  CustomElemsBase & {
18
18
  Doc: TestLearningDocument;
19
+ id: XmlElem<number | null>;
19
20
  /** Код */
20
21
  code: XmlElem<string | null>;
21
22
  /** Название */
@@ -1,5 +1,6 @@
1
1
  type UploadPackageDocumentTopElem = XmlTopElem & {
2
2
  Doc: UploadPackageDocument;
3
+ id: XmlElem<number | null>;
3
4
  /** ID пакета */
4
5
  code: XmlElem<string | null>;
5
6
  /** Тип пакета */
@@ -146,5 +146,6 @@ ChangeHashBase & {
146
146
  type WikiArticleDocument = XmlDocument & {
147
147
  TopElem: WikiArticleDocumentTopElem;
148
148
  wiki_article: WikiArticleDocumentTopElem;
149
+ OnSave(): void;
149
150
  DocDesc(): string;
150
151
  };
@@ -9,6 +9,11 @@ ChangeHashFieldsBase & {
9
9
  resource_id: XmlElem<number | null, ResourceCatalogDocumentTopElem>;
10
10
  /** Wiki база */
11
11
  wiki_base_id: XmlElem<number | null, WikiBaseCatalogDocumentTopElem>;
12
+ /**
13
+ * Тип контента
14
+ * @default html
15
+ */
16
+ content_type: XmlElem<string | null>;
12
17
  /** Тип wiki статьи */
13
18
  wiki_article_type_id: XmlElem<number | null, WikiArticleTypeCatalogDocumentTopElem>;
14
19
  /**
@@ -103,5 +103,6 @@ KnowledgePartsBase & {
103
103
  type WikiBaseDocument = XmlDocument & {
104
104
  TopElem: WikiBaseDocumentTopElem;
105
105
  wiki_base: WikiBaseDocumentTopElem;
106
+ OnSave(): void;
106
107
  DocDesc(): string;
107
108
  };