mdt-client 31.3.46 → 31.3.47

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 (354) hide show
  1. package/dist/index.d.ts +11 -10
  2. package/dist/index.js +16 -16
  3. package/package.json +38 -38
  4. package/readme.md +15 -15
  5. package/types/_core/scripts/common/Datasource.d.ts +9 -0
  6. package/types/_core/scripts/common/Field.d.ts +51 -0
  7. package/types/_core/scripts/common/FieldSettings.schema.d.ts +17 -0
  8. package/types/_core/scripts/common/MdtField.d.ts +9 -0
  9. package/types/_core/scripts/common/MdtObject.d.ts +7 -0
  10. package/types/_core/scripts/common/Record.d.ts +27 -0
  11. package/types/_core/scripts/common/Table.d.ts +66 -0
  12. package/types/_core/scripts/common/form/tabs/TabsFormExtenderOptions.d.ts +12 -0
  13. package/types/_core/scripts/common/list/aggregation/AggregayionTypes.d.ts +2 -0
  14. package/types/_core/scripts/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +6 -0
  15. package/types/_core/scripts/common/list/cellControlExtender/CellControlExtender.d.ts +1 -0
  16. package/types/_core/scripts/common/list/columnMenu/ColumnMenuOptions.d.ts +17 -0
  17. package/types/_core/scripts/common/list/columnMenu/QuickFilterOptions.d.ts +7 -0
  18. package/types/_core/scripts/common/list/columnMenu/ValuesFilterOptions.d.ts +24 -0
  19. package/types/_core/scripts/common/list/form/FormListPublicOptions.d.ts +40 -0
  20. package/types/_core/scripts/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +11 -0
  21. package/types/_core/scripts/common/list/group/groupTypes.d.ts +177 -0
  22. package/types/_core/scripts/common/list/hierarchy/hierarchyTypes.d.ts +48 -0
  23. package/types/_core/scripts/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +3 -0
  24. package/types/_core/scripts/common/list/labelStyle/LabelStylePublicOptions.d.ts +6 -0
  25. package/types/_core/scripts/common/list/legend/LegendListExtenderOptions.d.ts +8 -0
  26. package/types/_core/scripts/common/list/listView/ListViewListExtenderOptions.d.ts +25 -0
  27. package/types/_core/scripts/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +23 -0
  28. package/types/_core/scripts/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +29 -0
  29. package/types/_core/scripts/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +4 -0
  30. package/types/_core/scripts/common/list/select/SelectPublicOptions.d.ts +18 -0
  31. package/types/_core/scripts/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +3 -0
  32. package/types/_core/scripts/common/list/toolbar/ToolbarPublicOptions.d.ts +22 -0
  33. package/types/_core/scripts/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +7 -0
  34. package/types/_core/scripts/common/serverMessage/ServerMessageTypes.d.ts +17 -0
  35. package/types/_core/scripts/components/baseFormControls/input/inputOptions.d.ts +30 -0
  36. package/types/_core/scripts/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +2 -0
  37. package/types/_core/scripts/components/button/baseButton/buttonOptions.d.ts +12 -0
  38. package/types/_core/scripts/components/buttonGroup/buttonGroupOptions.d.ts +7 -0
  39. package/types/_core/scripts/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -0
  40. package/types/_core/scripts/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +19 -0
  41. package/types/_core/scripts/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +32 -0
  42. package/types/_core/scripts/components/form/fieldView/fieldViewOptions.d.ts +13 -0
  43. package/types/_core/scripts/components/form/header/types.d.ts +14 -0
  44. package/types/_core/scripts/components/form/label/labelOptions.d.ts +22 -0
  45. package/types/_core/scripts/components/icon/iconOptions.d.ts +21 -0
  46. package/types/_core/scripts/components/iconButton/iconButtonOptions.d.ts +9 -0
  47. package/types/_core/scripts/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -0
  48. package/types/_core/scripts/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +16 -0
  49. package/types/_core/scripts/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +4 -0
  50. package/types/_core/scripts/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +24 -0
  51. package/types/_core/scripts/components/resizablePanels/resizablePanelsOptions.d.ts +22 -0
  52. package/types/_core/scripts/components/textWithIcon/textWithIconOptions.d.ts +16 -0
  53. package/types/_core/scripts/components/toggleablePanels/toggleablePanelsOptions.d.ts +40 -0
  54. package/types/_core/scripts/data/active/ActivationListAdapterTypes.d.ts +6 -0
  55. package/types/_core/scripts/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +21 -0
  56. package/types/_core/scripts/data/periods/helpers/types.d.ts +4 -0
  57. package/types/_core/scripts/datasources/FetchResult.d.ts +5 -0
  58. package/types/_core/scripts/helpers/IUi.d.ts +2 -0
  59. package/types/_core/scripts/helpers/dateUtils.d.ts +23 -0
  60. package/types/_core/scripts/helpers/deleteFromArray.d.ts +1 -0
  61. package/types/_core/scripts/helpers/events/EventEmitter.d.ts +12 -0
  62. package/types/_core/scripts/helpers/fireEvent.d.ts +4 -0
  63. package/types/_core/scripts/helpers/formatOptions.d.ts +16 -0
  64. package/types/_core/scripts/helpers/formattedText.d.ts +8 -0
  65. package/types/_core/scripts/helpers/pipeline/ImmutableArgPipeline.d.ts +8 -0
  66. package/types/_core/scripts/helpers/pipeline/Pipeline.d.ts +20 -0
  67. package/types/_core/scripts/helpers/redraw.d.ts +16 -0
  68. package/types/_core/scripts/helpers/types.d.ts +84 -0
  69. package/types/_core/scripts/helpers/ui/elementModificators/focusableComponent.d.ts +14 -0
  70. package/types/_core/scripts/helpers/ui/elementModificators/modificatorsTypes.d.ts +4 -0
  71. package/types/_core/scripts/helpers/ui/keyboardUtils/getKeySymbol.d.ts +2 -0
  72. package/types/_core/scripts/helpers/ui/keyboardUtils/keyboardUtils.d.ts +23 -0
  73. package/types/_core/scripts/helpers/ui/keyboardUtils/osByUserAgent.d.ts +1 -0
  74. package/types/_core/scripts/helpers/utils/classNames.d.ts +20 -0
  75. package/types/_core/scripts/helpers/utils/keyStorage/KeyStorage.d.ts +6 -0
  76. package/types/_core/scripts/helpers/utils/memoization/memoize.d.ts +18 -0
  77. package/types/_core/scripts/helpers/utils/object.d.ts +4 -0
  78. package/types/_core/scripts/helpers/utils/stringifyControlSize.d.ts +3 -0
  79. package/types/_core/scripts/helpers/utils/valued/getValued.d.ts +18 -0
  80. package/types/_core/scripts/helpers/zone/IZone.d.ts +7 -0
  81. package/types/_core/scripts/security/PermissionLevel.d.ts +40 -0
  82. package/types/_core/scripts/security/User.d.ts +19 -0
  83. package/types/_core/scripts/services/HotkeyManager.d.ts +6 -0
  84. package/types/_core/scripts/services/IFilter.d.ts +322 -0
  85. package/types/_core/scripts/services/ModuleData.d.ts +9 -0
  86. package/types/_core/scripts/services/api/ApiAccessor/apiV1Types.d.ts +266 -0
  87. package/types/_core/scripts/services/api/ApiAccessor/apiV2Types.d.ts +585 -0
  88. package/types/_core/scripts/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +42 -0
  89. package/types/_core/scripts/services/api/ApiAccessor/job/jobApiTypes.d.ts +82 -0
  90. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +10 -0
  91. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +28 -0
  92. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +9 -0
  93. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +37 -0
  94. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +2 -0
  95. package/types/_core/scripts/services/api/ApiRequestOptions.d.ts +43 -0
  96. package/types/_core/scripts/services/api/BaseQuery.d.ts +25 -0
  97. package/types/_core/scripts/services/api/Query.d.ts +56 -0
  98. package/types/_core/scripts/services/api/QuerySorting.d.ts +18 -0
  99. package/types/_core/scripts/services/api/ServerResonseType.d.ts +2 -0
  100. package/types/_core/scripts/services/commands/Command.d.ts +22 -0
  101. package/types/_core/scripts/services/commands/CommandGroup.d.ts +15 -0
  102. package/types/_core/scripts/services/commands/CommandManager.d.ts +77 -0
  103. package/types/_core/scripts/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -0
  104. package/types/_core/scripts/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +36 -0
  105. package/types/_core/scripts/services/customModules/facades/Form/IFieldStateFacade.d.ts +13 -0
  106. package/types/_core/scripts/services/customModules/facades/Form/IFormControlFacade.d.ts +133 -0
  107. package/types/_core/scripts/services/customModules/facades/Form/IFormFacade.d.ts +102 -0
  108. package/types/_core/scripts/services/customModules/facades/Form/IFormLayout.d.ts +12 -0
  109. package/types/_core/scripts/services/customModules/facades/IAppFacade.d.ts +38 -0
  110. package/types/_core/scripts/services/customModules/facades/IAuthFacade.d.ts +9 -0
  111. package/types/_core/scripts/services/customModules/facades/ILegacyFacade.d.ts +238 -0
  112. package/types/_core/scripts/services/customModules/facades/IMdtFacade.d.ts +87 -0
  113. package/types/_core/scripts/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -0
  114. package/types/_core/scripts/services/customModules/facades/IPageFacade.d.ts +7 -0
  115. package/types/_core/scripts/services/customModules/facades/List/Column/IColumnFacade.d.ts +7 -0
  116. package/types/_core/scripts/services/customModules/facades/List/IListCellFacade.d.ts +8 -0
  117. package/types/_core/scripts/services/customModules/facades/List/IListComponentFacade.d.ts +10 -0
  118. package/types/_core/scripts/services/customModules/facades/List/IListControlFacade.d.ts +88 -0
  119. package/types/_core/scripts/services/customModules/facades/List/IListRowFacade.d.ts +2 -0
  120. package/types/_core/scripts/services/customModules/facades/List/IListServiceFacade.d.ts +96 -0
  121. package/types/_core/scripts/services/customModules/facades/List/ListOptions/IListOptions.d.ts +4 -0
  122. package/types/_core/scripts/services/customModules/facades/components/CodeEditorFacade.d.ts +9 -0
  123. package/types/_core/scripts/services/customModules/facades/components/ModalFacade.d.ts +4 -0
  124. package/types/_core/scripts/services/customModules/facades/formDashboard/IFormDashboard.d.ts +20 -0
  125. package/types/_core/scripts/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +77 -0
  126. package/types/_core/scripts/services/customModules/facades/internalModules/importModuleFacade.d.ts +53 -0
  127. package/types/_core/scripts/services/customModules/facades/internalModules/jobFacade.d.ts +7 -0
  128. package/types/_core/scripts/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +12 -0
  129. package/types/_core/scripts/services/customModules/facades/internalModules/statusFacade.d.ts +13 -0
  130. package/types/_core/scripts/services/customModules/facades/record/IRecordFacade.d.ts +13 -0
  131. package/types/_core/scripts/services/customModules/facades/record/IRecordManagerFacade.d.ts +5 -0
  132. package/types/_core/scripts/services/customModules/facades/schema/IFieldFacade.d.ts +14 -0
  133. package/types/_core/scripts/services/customModules/facades/schema/IObjectFacade.d.ts +20 -0
  134. package/types/_core/scripts/services/customModules/facades/schema/ISchemaFacade.d.ts +24 -0
  135. package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +23 -0
  136. package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +8 -0
  137. package/types/_core/scripts/services/customModules/facades/services/CommandManagerFacade.d.ts +11 -0
  138. package/types/_core/scripts/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +13 -0
  139. package/types/_core/scripts/services/customModules/facades/services/INavigationFacade.d.ts +91 -0
  140. package/types/_core/scripts/services/customModules/facades/services/ISecurityFacade.d.ts +13 -0
  141. package/types/_core/scripts/services/customModules/facades/utils/IApiFacade.d.ts +91 -0
  142. package/types/_core/scripts/services/customModules/facades/utils/IUiComponentsFacade.d.ts +185 -0
  143. package/types/_core/scripts/services/customModules/facades/utils/IUiFacade.d.ts +83 -0
  144. package/types/_core/scripts/services/customModules/facades/utils/IUtilsFacade.d.ts +224 -0
  145. package/types/_core/scripts/services/customModules/facades/utils/ImUtilsFacade.d.ts +41 -0
  146. package/types/_core/scripts/services/dropdown/IDropDownMenu.d.ts +40 -0
  147. package/types/_core/scripts/services/e2e/e2eServiceType.d.ts +11 -0
  148. package/types/_core/scripts/ui-kit/IUiKitUtilsFacade.d.ts +21 -0
  149. package/types/_core/scripts/ui-kit/UiKitFacade.d.ts +101 -0
  150. package/types/_core/scripts/views/controls/Control.d.ts +7 -0
  151. package/types/_core/scripts/views/controls/panels/panelOptions.d.ts +15 -0
  152. package/types/_core/scripts/views/form/controls/commonControl/ICommonControl.d.ts +28 -0
  153. package/types/_core/scripts/views/form/controls/fileupload/FileInputFacade.types.d.ts +6 -0
  154. package/types/_core/scripts/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +24 -0
  155. package/types/_core/scripts/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +70 -0
  156. package/types/_core/scripts/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +36 -0
  157. package/types/_core/scripts/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +21 -0
  158. package/types/_core/scripts/views/form/formTypes.d.ts +5 -0
  159. package/types/_core/scripts/views/form/schema/FormPageExtOptions.schema.d.ts +22 -0
  160. package/types/_core/scripts/views/form/schema/FormPageOptions.schema.d.ts +19 -0
  161. package/types/_core/scripts/views/gallery/ImageFetchOptions.d.ts +5 -0
  162. package/types/_core/scripts/views/list/ListViewOptions.d.ts +99 -0
  163. package/types/_core/scripts/views/list/features/aggregation/AggregationRowListOptions.d.ts +23 -0
  164. package/types/_core/scripts/views/list/schema/ListPageExtOptions.schema.d.ts +123 -0
  165. package/types/_core/scripts/views/list/schema/ListPageOptions.schema.d.ts +145 -0
  166. package/types/_core/scripts/views/list/tabular/TabularListTypes.d.ts +53 -0
  167. package/types/_core/scripts/views/page/PageZoneTypes.d.ts +1 -0
  168. package/types/_core/scripts/views/page/charts/ChartControlOptions.schema.d.ts +759 -0
  169. package/types/_core/scripts/views/page/charts/facade/IChartControlFacade.d.ts +29 -0
  170. package/types/_core/scripts/views/page/charts/reportDashboard/config/chartConfig.d.ts +31 -0
  171. package/types/_core/scripts/views/page/charts/reportDashboard/config/filterConfig.d.ts +56 -0
  172. package/types/_core/scripts/views/page/charts/reportDashboard/config/listConfig.d.ts +9 -0
  173. package/types/_core/scripts/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +55 -0
  174. package/types/_core/scripts/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +3 -0
  175. package/types/_core/scripts/views/page/charts/reportDashboard/index.d.ts +5 -0
  176. package/types/_core/scripts/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +13 -0
  177. package/types/common/Datasource.d.ts +9 -9
  178. package/types/common/Field.d.ts +51 -51
  179. package/types/common/FieldSettings.schema.d.ts +32 -32
  180. package/types/common/MdtField.d.ts +9 -9
  181. package/types/common/MdtObject.d.ts +7 -7
  182. package/types/common/Record.d.ts +27 -27
  183. package/types/common/Table.d.ts +66 -66
  184. package/types/common/form/tabs/TabsFormExtenderOptions.d.ts +14 -14
  185. package/types/common/list/aggregation/AggregayionTypes.d.ts +2 -2
  186. package/types/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +6 -6
  187. package/types/common/list/cellControlExtender/CellControlExtender.d.ts +1 -1
  188. package/types/common/list/columnMenu/ColumnMenuOptions.d.ts +17 -17
  189. package/types/common/list/columnMenu/QuickFilterOptions.d.ts +7 -7
  190. package/types/common/list/columnMenu/ValuesFilterOptions.d.ts +24 -24
  191. package/types/common/list/form/FormListPublicOptions.d.ts +44 -44
  192. package/types/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +11 -11
  193. package/types/common/list/group/groupTypes.d.ts +177 -177
  194. package/types/common/list/hierarchy/hierarchyTypes.d.ts +48 -48
  195. package/types/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +3 -3
  196. package/types/common/list/labelStyle/LabelStylePublicOptions.d.ts +6 -6
  197. package/types/common/list/legend/LegendListExtenderOptions.d.ts +8 -8
  198. package/types/common/list/listView/ListViewListExtenderOptions.d.ts +25 -25
  199. package/types/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +23 -23
  200. package/types/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +29 -29
  201. package/types/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +4 -4
  202. package/types/common/list/select/SelectPublicOptions.d.ts +18 -18
  203. package/types/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +3 -3
  204. package/types/common/list/toolbar/ToolbarPublicOptions.d.ts +23 -23
  205. package/types/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +7 -7
  206. package/types/common/serverMessage/ServerMessageTypes.d.ts +17 -17
  207. package/types/components/baseFormControls/input/inputOptions.d.ts +31 -30
  208. package/types/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +2 -2
  209. package/types/components/button/baseButton/buttonOptions.d.ts +12 -12
  210. package/types/components/buttonGroup/buttonGroupOptions.d.ts +7 -7
  211. package/types/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -5
  212. package/types/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +20 -20
  213. package/types/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +32 -32
  214. package/types/components/form/fieldView/fieldViewOptions.d.ts +13 -13
  215. package/types/components/form/header/types.d.ts +14 -14
  216. package/types/components/form/label/labelOptions.d.ts +23 -23
  217. package/types/components/icon/iconOptions.d.ts +24 -23
  218. package/types/components/iconButton/iconButtonOptions.d.ts +10 -9
  219. package/types/components/navigation/header/userButton/UserMenuSlot.d.ts +10 -10
  220. package/types/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -5
  221. package/types/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +16 -16
  222. package/types/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +4 -4
  223. package/types/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +24 -24
  224. package/types/components/resizablePanels/resizablePanelsOptions.d.ts +22 -22
  225. package/types/components/textWithIcon/textWithIconOptions.d.ts +17 -16
  226. package/types/components/toggleablePanels/toggleablePanelsOptions.d.ts +40 -40
  227. package/types/data/active/ActivationListAdapterTypes.d.ts +6 -6
  228. package/types/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +21 -21
  229. package/types/data/periods/helpers/types.d.ts +4 -4
  230. package/types/datasources/FetchResult.d.ts +5 -5
  231. package/types/helpers/IUi.d.ts +2 -2
  232. package/types/helpers/dateUtils.d.ts +23 -23
  233. package/types/helpers/deleteFromArray.d.ts +1 -1
  234. package/types/helpers/events/EventEmitter.d.ts +12 -12
  235. package/types/helpers/fireEvent.d.ts +4 -4
  236. package/types/helpers/formatOptions.d.ts +24 -24
  237. package/types/helpers/formattedText.d.ts +8 -8
  238. package/types/helpers/pipeline/ImmutableArgPipeline.d.ts +8 -8
  239. package/types/helpers/pipeline/Pipeline.d.ts +20 -20
  240. package/types/helpers/redraw.d.ts +16 -16
  241. package/types/helpers/types.d.ts +85 -84
  242. package/types/helpers/ui/elementModificators/focusableComponent.d.ts +15 -14
  243. package/types/helpers/ui/elementModificators/modificatorsTypes.d.ts +4 -4
  244. package/types/helpers/ui/keyboardUtils/getKeySymbol.d.ts +2 -2
  245. package/types/helpers/ui/keyboardUtils/keyboardUtils.d.ts +23 -23
  246. package/types/helpers/ui/keyboardUtils/osByUserAgent.d.ts +1 -1
  247. package/types/helpers/ui/toolbarItemTypes.d.ts +30 -30
  248. package/types/helpers/utils/classNames.d.ts +20 -20
  249. package/types/helpers/utils/duration/durationFormatTypes.d.ts +21 -21
  250. package/types/helpers/utils/keyStorage/KeyStorage.d.ts +6 -6
  251. package/types/helpers/utils/memoization/memoize.d.ts +18 -18
  252. package/types/helpers/utils/object.d.ts +10 -10
  253. package/types/helpers/utils/stringifyControlSize.d.ts +3 -3
  254. package/types/helpers/utils/valued/getValued.d.ts +18 -18
  255. package/types/helpers/zone/IZone.d.ts +8 -7
  256. package/types/job/scripts/types.d.ts +11 -0
  257. package/types/security/PermissionLevel.d.ts +40 -40
  258. package/types/security/User.d.ts +20 -20
  259. package/types/services/HotkeyManager.d.ts +6 -6
  260. package/types/services/IFilter.d.ts +322 -322
  261. package/types/services/ModuleData.d.ts +9 -9
  262. package/types/services/api/ApiAccessor/apiV1Types.d.ts +266 -266
  263. package/types/services/api/ApiAccessor/apiV2Types.d.ts +586 -586
  264. package/types/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +42 -42
  265. package/types/services/api/ApiAccessor/job/jobApiTypes.d.ts +83 -83
  266. package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +10 -10
  267. package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +28 -28
  268. package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +9 -9
  269. package/types/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +37 -37
  270. package/types/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +2 -2
  271. package/types/services/api/ApiRequestOptions.d.ts +43 -43
  272. package/types/services/api/BaseQuery.d.ts +25 -25
  273. package/types/services/api/Query.d.ts +56 -56
  274. package/types/services/api/QuerySorting.d.ts +18 -18
  275. package/types/services/api/ServerResonseType.d.ts +2 -2
  276. package/types/services/commands/Command.d.ts +22 -22
  277. package/types/services/commands/CommandGroup.d.ts +15 -15
  278. package/types/services/commands/CommandManager.d.ts +77 -77
  279. package/types/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -26
  280. package/types/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +38 -38
  281. package/types/services/customModules/facades/Form/IFieldStateFacade.d.ts +13 -13
  282. package/types/services/customModules/facades/Form/IFormControlFacade.d.ts +133 -133
  283. package/types/services/customModules/facades/Form/IFormFacade.d.ts +106 -106
  284. package/types/services/customModules/facades/Form/IFormLayout.d.ts +12 -12
  285. package/types/services/customModules/facades/IAppFacade.d.ts +38 -38
  286. package/types/services/customModules/facades/IAuthFacade.d.ts +9 -9
  287. package/types/services/customModules/facades/ILegacyFacade.d.ts +240 -239
  288. package/types/services/customModules/facades/IMdtFacade.d.ts +91 -90
  289. package/types/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -5
  290. package/types/services/customModules/facades/IPageFacade.d.ts +7 -7
  291. package/types/services/customModules/facades/List/Column/IColumnFacade.d.ts +7 -7
  292. package/types/services/customModules/facades/List/IListCellFacade.d.ts +9 -9
  293. package/types/services/customModules/facades/List/IListComponentFacade.d.ts +10 -10
  294. package/types/services/customModules/facades/List/IListControlFacade.d.ts +90 -90
  295. package/types/services/customModules/facades/List/IListRowFacade.d.ts +2 -2
  296. package/types/services/customModules/facades/List/IListServiceFacade.d.ts +96 -96
  297. package/types/services/customModules/facades/List/ListOptions/IListOptions.d.ts +4 -4
  298. package/types/services/customModules/facades/components/CodeEditorFacade.d.ts +9 -9
  299. package/types/services/customModules/facades/components/ModalFacade.d.ts +4 -4
  300. package/types/services/customModules/facades/formDashboard/IFormDashboard.d.ts +20 -20
  301. package/types/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +83 -83
  302. package/types/services/customModules/facades/internalModules/importModuleFacade.d.ts +59 -59
  303. package/types/services/customModules/facades/internalModules/jobFacade.d.ts +24 -24
  304. package/types/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +16 -16
  305. package/types/services/customModules/facades/internalModules/statusFacade.d.ts +11 -11
  306. package/types/services/customModules/facades/record/IRecordFacade.d.ts +13 -13
  307. package/types/services/customModules/facades/record/IRecordManagerFacade.d.ts +5 -5
  308. package/types/services/customModules/facades/schema/IFieldFacade.d.ts +14 -14
  309. package/types/services/customModules/facades/schema/IObjectFacade.d.ts +20 -20
  310. package/types/services/customModules/facades/schema/ISchemaFacade.d.ts +24 -24
  311. package/types/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +23 -23
  312. package/types/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +8 -8
  313. package/types/services/customModules/facades/services/CommandManagerFacade.d.ts +11 -11
  314. package/types/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +13 -13
  315. package/types/services/customModules/facades/services/INavigationFacade.d.ts +92 -92
  316. package/types/services/customModules/facades/services/ISecurityFacade.d.ts +13 -13
  317. package/types/services/customModules/facades/sharedModules/ISharedModulesFacade.d.ts +4 -4
  318. package/types/services/customModules/facades/utils/IApiFacade.d.ts +93 -91
  319. package/types/services/customModules/facades/utils/IUiComponentsFacade.d.ts +191 -190
  320. package/types/services/customModules/facades/utils/IUiFacade.d.ts +84 -83
  321. package/types/services/customModules/facades/utils/IUtilsFacade.d.ts +225 -225
  322. package/types/services/customModules/facades/utils/ImUtilsFacade.d.ts +42 -41
  323. package/types/services/dropdown/IDropDownMenu.d.ts +41 -40
  324. package/types/services/e2e/e2eServiceType.d.ts +11 -11
  325. package/types/ui-kit/IUiKitUtilsFacade.d.ts +40 -41
  326. package/types/ui-kit/UiKitFacade.d.ts +124 -124
  327. package/types/ui-kit/components/calendar/Calendar.d.ts +3 -3
  328. package/types/views/controls/Control.d.ts +7 -7
  329. package/types/views/controls/panels/panelOptions.d.ts +15 -15
  330. package/types/views/form/controls/commonControl/ICommonControl.d.ts +29 -28
  331. package/types/views/form/controls/fileupload/FileInputFacade.types.d.ts +6 -6
  332. package/types/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +24 -24
  333. package/types/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +70 -70
  334. package/types/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +36 -36
  335. package/types/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +21 -21
  336. package/types/views/form/formTypes.d.ts +5 -5
  337. package/types/views/form/schema/FormPageExtOptions.schema.d.ts +22 -22
  338. package/types/views/form/schema/FormPageOptions.schema.d.ts +19 -19
  339. package/types/views/gallery/ImageFetchOptions.d.ts +5 -5
  340. package/types/views/list/ListViewOptions.d.ts +102 -101
  341. package/types/views/list/features/aggregation/AggregationRowListOptions.d.ts +23 -23
  342. package/types/views/list/schema/ListPageExtOptions.schema.d.ts +123 -123
  343. package/types/views/list/schema/ListPageOptions.schema.d.ts +150 -150
  344. package/types/views/list/tabular/TabularListTypes.d.ts +53 -53
  345. package/types/views/page/PageZoneTypes.d.ts +1 -1
  346. package/types/views/page/charts/ChartControlOptions.schema.d.ts +850 -850
  347. package/types/views/page/charts/facade/IChartControlFacade.d.ts +29 -29
  348. package/types/views/page/charts/reportDashboard/config/chartConfig.d.ts +31 -31
  349. package/types/views/page/charts/reportDashboard/config/filterConfig.d.ts +56 -56
  350. package/types/views/page/charts/reportDashboard/config/listConfig.d.ts +9 -9
  351. package/types/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +55 -55
  352. package/types/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +3 -3
  353. package/types/views/page/charts/reportDashboard/index.d.ts +5 -5
  354. package/types/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +13 -13
@@ -1,42 +1,42 @@
1
- import { MdtRecord, RecordId } from "../../../../common/Record";
2
- export interface BindingFormData {
3
- ID_ObjectTarget: number;
4
- ID_ObjectSource: number;
5
- ID_TargetRecord: number;
6
- ID_SourceRecords: RecordId[];
7
- ID_DimensionRecords: MdtRecord[];
8
- FlagTotalPeriod: boolean;
9
- DateBegin?: Date;
10
- DateEndFix?: Date;
11
- }
12
- export interface BindingRequestData {
13
- TargetObjectId: RecordId;
14
- SourceObjectId: RecordId;
15
- TargetRecordId: RecordId;
16
- SourceRecordIds: RecordId[];
17
- FlagTotalPeriod: boolean;
18
- DimensionRecordIds?: RecordId[];
19
- DateBegin?: Date | unknown;
20
- DateEnd?: Date | unknown;
21
- }
22
- export interface UnbindingRequestData {
23
- ObjectId: RecordId;
24
- Items: UnbindingDataItemTypes[];
25
- }
26
- export interface UnbindingDataItemTypes {
27
- BindingId: RecordId;
28
- DateEnd?: Date | unknown;
29
- }
30
- export type BindingRowTypes = "Bound" | "NotBound" | "BoundOutside";
31
- export interface BindingFilterParams {
32
- targetRecordIds?: RecordId[];
33
- dimensionId?: RecordId;
34
- customFilterId?: RecordId;
35
- }
36
- export interface BindingExtData {
37
- bindingObjectId?: RecordId;
38
- date?: Date | unknown;
39
- filter?: {
40
- status?: BindingRowTypes;
41
- } & BindingFilterParams;
42
- }
1
+ import { MdtRecord, RecordId } from "../../../../common/Record";
2
+ export interface BindingFormData {
3
+ ID_ObjectTarget: number;
4
+ ID_ObjectSource: number;
5
+ ID_TargetRecord: number;
6
+ ID_SourceRecords: RecordId[];
7
+ ID_DimensionRecords: MdtRecord[];
8
+ FlagTotalPeriod: boolean;
9
+ DateBegin?: Date;
10
+ DateEndFix?: Date;
11
+ }
12
+ export interface BindingRequestData {
13
+ TargetObjectId: RecordId;
14
+ SourceObjectId: RecordId;
15
+ TargetRecordId: RecordId;
16
+ SourceRecordIds: RecordId[];
17
+ FlagTotalPeriod: boolean;
18
+ DimensionRecordIds?: RecordId[];
19
+ DateBegin?: Date | unknown;
20
+ DateEnd?: Date | unknown;
21
+ }
22
+ export interface UnbindingRequestData {
23
+ ObjectId: RecordId;
24
+ Items: UnbindingDataItemTypes[];
25
+ }
26
+ export interface UnbindingDataItemTypes {
27
+ BindingId: RecordId;
28
+ DateEnd?: Date | unknown;
29
+ }
30
+ export type BindingRowTypes = "Bound" | "NotBound" | "BoundOutside";
31
+ export interface BindingFilterParams {
32
+ targetRecordIds?: RecordId[];
33
+ dimensionId?: RecordId;
34
+ customFilterId?: RecordId;
35
+ }
36
+ export interface BindingExtData {
37
+ bindingObjectId?: RecordId;
38
+ date?: Date | unknown;
39
+ filter?: {
40
+ status?: BindingRowTypes;
41
+ } & BindingFilterParams;
42
+ }
@@ -1,83 +1,83 @@
1
- import { RecordId } from "mdtScripts/common/Record";
2
- import { AnyObject, ObjectId, URLString } from "mdtScripts/helpers/types";
3
- export declare namespace ApiV1 {
4
- namespace Request {
5
- interface JobTask {
6
- ObjectId?: number;
7
- RecordId?: number;
8
- RecordIds?: number[];
9
- Args?: AnyObject;
10
- /**
11
- * Тип файла для экспорта результата выполнения задачи (например, "pdf", "docx", "txt").
12
- * Определяет формат ответа сервера: если свойство указано, результат содержит URL для скачивания файла
13
- */
14
- File?: string;
15
- }
16
- namespace Job {
17
- interface ExecProc {
18
- process: RecordId;
19
- }
20
- interface ExecTask {
21
- taskCode: string;
22
- }
23
- interface StopTask {
24
- taskCode: string;
25
- }
26
- interface IsRunning {
27
- taskCode: string;
28
- }
29
- }
30
- }
31
- namespace Response {
32
- namespace Job {
33
- export type ExecTask = FileExecutionResult | StoredProcExecutionResult | TextExecutionResult | EmptyExecutionResult;
34
- interface FileExecutionResult {
35
- Type: "File";
36
- Url: URLString;
37
- }
38
- interface StoredProcExecutionResult {
39
- Type: "StoredProc";
40
- ID_ProcedureObject: ObjectId;
41
- }
42
- interface TextExecutionResult {
43
- Type: "Text" | "Error";
44
- Text: string;
45
- Header: string;
46
- }
47
- interface EmptyExecutionResult {
48
- Type: "Empty";
49
- }
50
- export {};
51
- }
52
- }
53
- }
54
- export declare namespace ApiV2 {
55
- namespace Request {
56
- type ExecProc = ApiV1.Request.Job.ExecProc;
57
- type ExecTask = ApiV1.Request.Job.ExecTask;
58
- type StopTask = ApiV1.Request.Job.StopTask;
59
- type IsRunning = ApiV1.Request.Job.IsRunning;
60
- }
61
- namespace Response {
62
- namespace Job {
63
- export type ExecTask = FileExecutionResult | StoredProcExecutionResult | TextExecutionResult | EmptyExecutionResult;
64
- interface FileExecutionResult {
65
- type: "File";
66
- url: URLString;
67
- }
68
- interface StoredProcExecutionResult {
69
- type: "StoredProc";
70
- id_ProcedureObject: ObjectId;
71
- }
72
- interface TextExecutionResult {
73
- type: "Text";
74
- text: string;
75
- header: string;
76
- }
77
- interface EmptyExecutionResult {
78
- type: "Empty";
79
- }
80
- export {};
81
- }
82
- }
83
- }
1
+ import { RecordId } from "mdtScripts/common/Record";
2
+ import { AnyObject, ObjectId, URLString } from "mdtScripts/helpers/types";
3
+ export declare namespace ApiV1 {
4
+ namespace Request {
5
+ interface JobTask {
6
+ ObjectId?: number;
7
+ RecordId?: number;
8
+ RecordIds?: number[];
9
+ Args?: AnyObject;
10
+ /**
11
+ * Тип файла для экспорта результата выполнения задачи (например, "pdf", "docx", "txt").
12
+ * Определяет формат ответа сервера: если свойство указано, результат содержит URL для скачивания файла
13
+ */
14
+ File?: string;
15
+ }
16
+ namespace Job {
17
+ interface ExecProc {
18
+ process: RecordId;
19
+ }
20
+ interface ExecTask {
21
+ taskCode: string;
22
+ }
23
+ interface StopTask {
24
+ taskCode: string;
25
+ }
26
+ interface IsRunning {
27
+ taskCode: string;
28
+ }
29
+ }
30
+ }
31
+ namespace Response {
32
+ namespace Job {
33
+ export type ExecTask = FileExecutionResult | StoredProcExecutionResult | TextExecutionResult | EmptyExecutionResult;
34
+ interface FileExecutionResult {
35
+ Type: "File";
36
+ Url: URLString;
37
+ }
38
+ interface StoredProcExecutionResult {
39
+ Type: "StoredProc";
40
+ ID_ProcedureObject: ObjectId;
41
+ }
42
+ interface TextExecutionResult {
43
+ Type: "Text" | "Error";
44
+ Text: string;
45
+ Header: string;
46
+ }
47
+ interface EmptyExecutionResult {
48
+ Type: "Empty";
49
+ }
50
+ export {};
51
+ }
52
+ }
53
+ }
54
+ export declare namespace ApiV2 {
55
+ namespace Request {
56
+ type ExecProc = ApiV1.Request.Job.ExecProc;
57
+ type ExecTask = ApiV1.Request.Job.ExecTask;
58
+ type StopTask = ApiV1.Request.Job.StopTask;
59
+ type IsRunning = ApiV1.Request.Job.IsRunning;
60
+ }
61
+ namespace Response {
62
+ namespace Job {
63
+ export type ExecTask = FileExecutionResult | StoredProcExecutionResult | TextExecutionResult | EmptyExecutionResult;
64
+ interface FileExecutionResult {
65
+ type: "File";
66
+ url: URLString;
67
+ }
68
+ interface StoredProcExecutionResult {
69
+ type: "StoredProc";
70
+ id_ProcedureObject: ObjectId;
71
+ }
72
+ interface TextExecutionResult {
73
+ type: "Text";
74
+ text: string;
75
+ header: string;
76
+ }
77
+ interface EmptyExecutionResult {
78
+ type: "Empty";
79
+ }
80
+ export {};
81
+ }
82
+ }
83
+ }
@@ -1,10 +1,10 @@
1
- import { Query } from "../../../../../../../../scripts/services/api/Query";
2
- export declare const FETCH_COUNT_ALIAS = "$Count";
3
- export type CountMap = {
4
- queryIdx: number;
5
- relatedCountIdx: number;
6
- }[];
7
- export declare function extendQueryByCount(query: Query): {
8
- query: Query;
9
- countMap?: CountMap;
10
- };
1
+ import { Query } from "../../../../../../../../scripts/services/api/Query";
2
+ export declare const FETCH_COUNT_ALIAS = "$Count";
3
+ export type CountMap = {
4
+ queryIdx: number;
5
+ relatedCountIdx: number;
6
+ }[];
7
+ export declare function extendQueryByCount(query: Query): {
8
+ query: Query;
9
+ countMap?: CountMap;
10
+ };
@@ -1,28 +1,28 @@
1
- import { RecordId } from "../../../../../../../../../common/Record";
2
- import { FieldPath } from "../../../../../../../../../helpers/types";
3
- import { IFilter } from "../../../../../../../../../services/IFilter";
4
- export type HierarchyQueryMeta = {
5
- hierarchy?: QueryHierarchyBaseData;
6
- hierarchyLoadMore?: QueryHierarchyLoadMoreData;
7
- };
8
- export type QueryHierarchyLoadMoreData = {
9
- parentField?: FieldPath;
10
- parentId: RecordId;
11
- filter?: IFilter;
12
- /**
13
- * Если true, то для иерархии явно определены поля primary и parent.
14
- * В этом случае используется стандартный API иерархии.
15
- * Иначе, иерархия строится с помощью расширений API `placeIn` и `dependency`. Такой режим используется, например, в меппинге.
16
- */
17
- isModded?: boolean;
18
- };
19
- export type QueryHierarchyBaseData = {
20
- top?: number;
21
- } & WithExpandedIds;
22
- export type ExpandedIds = {
23
- id: RecordId;
24
- take: number;
25
- }[];
26
- export type WithExpandedIds = {
27
- expandedIds?: ExpandedIds;
28
- };
1
+ import { RecordId } from "../../../../../../../../../common/Record";
2
+ import { FieldPath } from "../../../../../../../../../helpers/types";
3
+ import { IFilter } from "../../../../../../../../../services/IFilter";
4
+ export type HierarchyQueryMeta = {
5
+ hierarchy?: QueryHierarchyBaseData;
6
+ hierarchyLoadMore?: QueryHierarchyLoadMoreData;
7
+ };
8
+ export type QueryHierarchyLoadMoreData = {
9
+ parentField?: FieldPath;
10
+ parentId: RecordId;
11
+ filter?: IFilter;
12
+ /**
13
+ * Если true, то для иерархии явно определены поля primary и parent.
14
+ * В этом случае используется стандартный API иерархии.
15
+ * Иначе, иерархия строится с помощью расширений API `placeIn` и `dependency`. Такой режим используется, например, в меппинге.
16
+ */
17
+ isModded?: boolean;
18
+ };
19
+ export type QueryHierarchyBaseData = {
20
+ top?: number;
21
+ } & WithExpandedIds;
22
+ export type ExpandedIds = {
23
+ id: RecordId;
24
+ take: number;
25
+ }[];
26
+ export type WithExpandedIds = {
27
+ expandedIds?: ExpandedIds;
28
+ };
@@ -1,9 +1,9 @@
1
- import { Query } from "mdtServices/api/Query";
2
- export type PlaceInQueryMeta = {
3
- placeIn?: PlaceInQueryData[];
4
- };
5
- export interface PlaceInQueryData {
6
- query: Query;
7
- name: string;
8
- fk: string;
9
- }
1
+ import { Query } from "mdtServices/api/Query";
2
+ export type PlaceInQueryMeta = {
3
+ placeIn?: PlaceInQueryData[];
4
+ };
5
+ export interface PlaceInQueryData {
6
+ query: Query;
7
+ name: string;
8
+ fk: string;
9
+ }
@@ -1,37 +1,37 @@
1
- import { MdtRecord, RecordId } from "../../../../../scripts/common/Record";
2
- import { UiType } from "../../../../../scripts/helpers/IUi";
3
- import { ServerResponseType } from "../../../../services/api/ServerResonseType";
4
- export interface DataExtraInformation {
5
- items: DataExtraInformationItems;
6
- type: ServerResponseType;
7
- actions: DataExtraInformationAction[];
8
- hasActions: boolean;
9
- needConfirmation: boolean;
10
- isEmpty: boolean;
11
- }
12
- export type DataExtraInformationItems = (DataExtraInformationText | DataExtraInformationRows | DataExtraInformationRefs)[];
13
- type DataExtraInformationTextType = Capitalize<UiType | "none">;
14
- export interface DataExtraInformationText {
15
- type: DataExtraInformationTextType;
16
- text: string;
17
- severity?: number;
18
- }
19
- export interface DataExtraInformationRows {
20
- type: "Rows";
21
- rows?: MdtRecord[];
22
- }
23
- export type DataExtraInformationRefs = {
24
- type: "Refs";
25
- rows?: {
26
- ID_Object: RecordId;
27
- ID_Record: RecordId;
28
- }[];
29
- };
30
- export interface DataExtraInformationAction {
31
- type: UiType;
32
- icon: string;
33
- title: string;
34
- param: string;
35
- paramValue: any;
36
- }
37
- export {};
1
+ import { MdtRecord, RecordId } from "../../../../../scripts/common/Record";
2
+ import { UiType } from "../../../../../scripts/helpers/IUi";
3
+ import { ServerResponseType } from "../../../../services/api/ServerResonseType";
4
+ export interface DataExtraInformation {
5
+ items: DataExtraInformationItems;
6
+ type: ServerResponseType;
7
+ actions: DataExtraInformationAction[];
8
+ hasActions: boolean;
9
+ needConfirmation: boolean;
10
+ isEmpty: boolean;
11
+ }
12
+ export type DataExtraInformationItems = (DataExtraInformationText | DataExtraInformationRows | DataExtraInformationRefs)[];
13
+ type DataExtraInformationTextType = Capitalize<UiType | "none">;
14
+ export interface DataExtraInformationText {
15
+ type: DataExtraInformationTextType;
16
+ text: string;
17
+ severity?: number;
18
+ }
19
+ export interface DataExtraInformationRows {
20
+ type: "Rows";
21
+ rows?: MdtRecord[];
22
+ }
23
+ export type DataExtraInformationRefs = {
24
+ type: "Refs";
25
+ rows?: {
26
+ ID_Object: RecordId;
27
+ ID_Record: RecordId;
28
+ }[];
29
+ };
30
+ export interface DataExtraInformationAction {
31
+ type: UiType;
32
+ icon: string;
33
+ title: string;
34
+ param: string;
35
+ paramValue: any;
36
+ }
37
+ export {};
@@ -1,2 +1,2 @@
1
- import { ApiV2 } from "mdtServices/api/ApiAccessor/apiV2Types";
2
- export type MessageMetaData = ApiV2.Request.MessageAction | ApiV2.Request.MessageActionForm;
1
+ import { ApiV2 } from "mdtServices/api/ApiAccessor/apiV2Types";
2
+ export type MessageMetaData = ApiV2.Request.MessageAction | ApiV2.Request.MessageActionForm;
@@ -1,43 +1,43 @@
1
- import { ServerMessageHandler } from "mdtScripts/common/serverMessage/ServerMessageTypes";
2
- export interface ApiRequest {
3
- abort?: () => void;
4
- }
5
- export interface ApiRequestOptions {
6
- req?: (x?: any) => ApiRequest;
7
- onerror?: (e: any) => boolean | void;
8
- onRequestError?: () => void;
9
- camel?: boolean;
10
- multi?: boolean;
11
- method?: string;
12
- xhrConfig?(xhr: XMLHttpRequest): void;
13
- background?: boolean;
14
- ignoreUnwrapError?: boolean;
15
- withCredentials?: boolean;
16
- url?: string;
17
- user?: string;
18
- password?: string;
19
- data?: any;
20
- unwrapSuccess?(data: any): any;
21
- unwrapError?(data: any, options?: any): any;
22
- serialize?(dataToSerialize: any): string;
23
- deserialize?(dataToDeserialize: string): any;
24
- extract?(xhr: XMLHttpRequest, options: ApiRequestOptions): string;
25
- type?(data: Object): void;
26
- config?(xhr: XMLHttpRequest, options?: ApiRequestOptions): XMLHttpRequest;
27
- dataType?: string;
28
- extractXhr?(xhr: XMLHttpRequest): string;
29
- /**
30
- * Кастомный обработчик сообщений сервера.
31
- * Используется для кастомного проставления параметров в запрос.
32
- * Возвращает true, если параметры проставления и стандартное проставление не требуется.
33
- */
34
- handleServerMessageParams?: ServerMessageHandler;
35
- }
36
- export interface ApiRequestPromiseOptions extends ApiRequestOptions {
37
- /**
38
- * Определяет, нужно ли вызывать reject при ошибке. По умолчанию false, reject вызываться не будет.
39
- *
40
- * Нужно выставить true, если нужна явная обработка, все остальные серверные ошибки обрабатываются стандартным механизмом.
41
- */
42
- rejectPromiseOnError?: boolean;
43
- }
1
+ import { ServerMessageHandler } from "mdtScripts/common/serverMessage/ServerMessageTypes";
2
+ export interface ApiRequest {
3
+ abort?: () => void;
4
+ }
5
+ export interface ApiRequestOptions {
6
+ req?: (x?: any) => ApiRequest;
7
+ onerror?: (e: any) => boolean | void;
8
+ onRequestError?: () => void;
9
+ camel?: boolean;
10
+ multi?: boolean;
11
+ method?: string;
12
+ xhrConfig?(xhr: XMLHttpRequest): void;
13
+ background?: boolean;
14
+ ignoreUnwrapError?: boolean;
15
+ withCredentials?: boolean;
16
+ url?: string;
17
+ user?: string;
18
+ password?: string;
19
+ data?: any;
20
+ unwrapSuccess?(data: any): any;
21
+ unwrapError?(data: any, options?: any): any;
22
+ serialize?(dataToSerialize: any): string;
23
+ deserialize?(dataToDeserialize: string): any;
24
+ extract?(xhr: XMLHttpRequest, options: ApiRequestOptions): string;
25
+ type?(data: Object): void;
26
+ config?(xhr: XMLHttpRequest, options?: ApiRequestOptions): XMLHttpRequest;
27
+ dataType?: string;
28
+ extractXhr?(xhr: XMLHttpRequest): string;
29
+ /**
30
+ * Кастомный обработчик сообщений сервера.
31
+ * Используется для кастомного проставления параметров в запрос.
32
+ * Возвращает true, если параметры проставления и стандартное проставление не требуется.
33
+ */
34
+ handleServerMessageParams?: ServerMessageHandler;
35
+ }
36
+ export interface ApiRequestPromiseOptions extends ApiRequestOptions {
37
+ /**
38
+ * Определяет, нужно ли вызывать reject при ошибке. По умолчанию false, reject вызываться не будет.
39
+ *
40
+ * Нужно выставить true, если нужна явная обработка, все остальные серверные ошибки обрабатываются стандартным механизмом.
41
+ */
42
+ rejectPromiseOnError?: boolean;
43
+ }
@@ -1,25 +1,25 @@
1
- import { IFilter } from "../IFilter";
2
- import { QuerySorting } from "./QuerySorting";
3
- export interface BaseQuery {
4
- /** Названия выбранных полей */
5
- select?: QuerySelect;
6
- /** Количество записей */
7
- top?: number;
8
- /** Фильтр запроса */
9
- filter?: IFilter;
10
- /** Количество пропускаемых с начала записей */
11
- skip?: number;
12
- /** Сортировка записей */
13
- sorting?: QuerySorting[];
14
- count?: boolean;
15
- /** Параметры для функции.
16
- * Задаются в виде объекта, где ключ - название параметра функции, значение - значение параметра функции.
17
- *
18
- * @example
19
- * { "search": "Some value" }
20
- */
21
- functionParams?: Record<string, any>;
22
- /** Получение уникальных записей */
23
- distinct?: boolean;
24
- }
25
- export type QuerySelect = string[];
1
+ import { IFilter } from "../IFilter";
2
+ import { QuerySorting } from "./QuerySorting";
3
+ export interface BaseQuery {
4
+ /** Названия выбранных полей */
5
+ select?: QuerySelect;
6
+ /** Количество записей */
7
+ top?: number;
8
+ /** Фильтр запроса */
9
+ filter?: IFilter;
10
+ /** Количество пропускаемых с начала записей */
11
+ skip?: number;
12
+ /** Сортировка записей */
13
+ sorting?: QuerySorting[];
14
+ count?: boolean;
15
+ /** Параметры для функции.
16
+ * Задаются в виде объекта, где ключ - название параметра функции, значение - значение параметра функции.
17
+ *
18
+ * @example
19
+ * { "search": "Some value" }
20
+ */
21
+ functionParams?: Record<string, any>;
22
+ /** Получение уникальных записей */
23
+ distinct?: boolean;
24
+ }
25
+ export type QuerySelect = string[];