@hubex/mcp 0.9.20261008 → 0.9.20261015
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/generated/index.dev.json +45 -0
- package/package.json +1 -1
- package/swagger/dev/ADM.json +32 -3
- package/swagger/dev/UI.json +389 -80
package/generated/index.dev.json
CHANGED
|
@@ -12360,6 +12360,20 @@
|
|
|
12360
12360
|
"hasBody": true,
|
|
12361
12361
|
"bodyRequired": false
|
|
12362
12362
|
},
|
|
12363
|
+
{
|
|
12364
|
+
"id": "UI:DELETE:/Resources",
|
|
12365
|
+
"service": "UI",
|
|
12366
|
+
"method": "DELETE",
|
|
12367
|
+
"path": "/Resources",
|
|
12368
|
+
"summary": "Помечает ресурсы удалёнными",
|
|
12369
|
+
"tags": [
|
|
12370
|
+
"Resources"
|
|
12371
|
+
],
|
|
12372
|
+
"pathParams": [],
|
|
12373
|
+
"queryParams": [],
|
|
12374
|
+
"hasBody": true,
|
|
12375
|
+
"bodyRequired": false
|
|
12376
|
+
},
|
|
12363
12377
|
{
|
|
12364
12378
|
"id": "UI:GET:/Components",
|
|
12365
12379
|
"service": "UI",
|
|
@@ -12518,6 +12532,7 @@
|
|
|
12518
12532
|
],
|
|
12519
12533
|
"pathParams": [],
|
|
12520
12534
|
"queryParams": [
|
|
12535
|
+
"isDeleted",
|
|
12521
12536
|
"offset",
|
|
12522
12537
|
"fetch"
|
|
12523
12538
|
],
|
|
@@ -12649,6 +12664,20 @@
|
|
|
12649
12664
|
"hasBody": false,
|
|
12650
12665
|
"bodyRequired": false
|
|
12651
12666
|
},
|
|
12667
|
+
{
|
|
12668
|
+
"id": "UI:POST:/Resources",
|
|
12669
|
+
"service": "UI",
|
|
12670
|
+
"method": "POST",
|
|
12671
|
+
"path": "/Resources",
|
|
12672
|
+
"summary": "Создаёт ресурсы словаря",
|
|
12673
|
+
"tags": [
|
|
12674
|
+
"Resources"
|
|
12675
|
+
],
|
|
12676
|
+
"pathParams": [],
|
|
12677
|
+
"queryParams": [],
|
|
12678
|
+
"hasBody": true,
|
|
12679
|
+
"bodyRequired": false
|
|
12680
|
+
},
|
|
12652
12681
|
{
|
|
12653
12682
|
"id": "UI:POST:/UserViews/Users/{userID}/Applications/{applicationID}/{code}",
|
|
12654
12683
|
"service": "UI",
|
|
@@ -12715,6 +12744,22 @@
|
|
|
12715
12744
|
"hasBody": true,
|
|
12716
12745
|
"bodyRequired": false
|
|
12717
12746
|
},
|
|
12747
|
+
{
|
|
12748
|
+
"id": "UI:PUT:/Resources/{id}",
|
|
12749
|
+
"service": "UI",
|
|
12750
|
+
"method": "PUT",
|
|
12751
|
+
"path": "/Resources/{id}",
|
|
12752
|
+
"summary": "Переименовывает ресурс",
|
|
12753
|
+
"tags": [
|
|
12754
|
+
"Resources"
|
|
12755
|
+
],
|
|
12756
|
+
"pathParams": [
|
|
12757
|
+
"id"
|
|
12758
|
+
],
|
|
12759
|
+
"queryParams": [],
|
|
12760
|
+
"hasBody": true,
|
|
12761
|
+
"bodyRequired": false
|
|
12762
|
+
},
|
|
12718
12763
|
{
|
|
12719
12764
|
"id": "UI:PUT:/UserViews/Users/{userID}/Applications/{applicationID}/{code}",
|
|
12720
12765
|
"service": "UI",
|
package/package.json
CHANGED
package/swagger/dev/ADM.json
CHANGED
|
@@ -4196,7 +4196,7 @@
|
|
|
4196
4196
|
"Roles"
|
|
4197
4197
|
],
|
|
4198
4198
|
"summary": "Получить список расширений роли",
|
|
4199
|
-
"description": "## Пример запроса:\r\n\r\nGET /roles/1/packages?searchText=модуль\r\n\r\n## Пример успешного ответа:\r\n```json\r\n{\r\n \"1\":
|
|
4199
|
+
"description": "## Пример запроса:\r\n\r\nGET /roles/1/packages?searchText=модуль\r\n\r\n## Пример успешного ответа:\r\n```json\r\n{\r\n \"1\": {\r\n \"id\": 1,\r\n \"packageID\": 10,\r\n \"packageVersion\": \"1.0.0\",\r\n \"packageName\": \"Модуль отчетности\",\r\n \"isEnabled\": true,\r\n \"type\": \"iframe\",\r\n \"isCacheable\": true,\r\n \"resource\": {\r\n \"id\": 1,\r\n \"code\": \"WEB\",\r\n \"name\": \"Web интерфейс\"\r\n }\r\n ]\r\n}\r\n```\r\n \r\n## Пример успешного ответа (206):\r\nТело ответа имеет тот же формат, что и для `200`, но содержит частичный диапазон.\r\n## Негативные сценарии:\r\n- 204 NoContent: расширения не найдены.\r\n- 401 Unauthorized: отсутствует или некорректен Bearer-токен.\r\n- 403 Forbidden: недостаточно прав `RolePackageList`.",
|
|
4200
4200
|
"parameters": [
|
|
4201
4201
|
{
|
|
4202
4202
|
"name": "roleID",
|
|
@@ -7900,7 +7900,7 @@
|
|
|
7900
7900
|
"Tenants"
|
|
7901
7901
|
],
|
|
7902
7902
|
"summary": "Получить список расширений тенанта",
|
|
7903
|
-
"description": "## Пример запроса:\r\n\r\nGET /tenants/this/packages?resourceID=1&resourceID=2\r\n\r\n## Пример успешного ответа:\r\n```json\r\n[\r\n {\r\n \"resource\": {\r\n \"id\": 1,\r\n \"name\": \"Web интерфейс\"\r\n },\r\n \"package\": {\r\n \"id\": \"pkg-1\",\r\n \"name\": \"Расширение отчетности\",\r\n \"version\": \"1.0.0\",\r\n \"iconUrl\": \"https://example.com/icon.png\",\r\n \"isAddAuthorizeParameters\": false\r\n }\r\n }\r\n]\r\n```\r\n \r\n## Пример успешного ответа (206):\r\nТело ответа имеет тот же формат, что и для `200`, но содержит частичный диапазон.\r\n## Негативные сценарии:\r\n- 204 NoContent: расширения не найдены.\r\n- 401 Unauthorized: отсутствует или некорректен Bearer-токен.\r\n- 403 Forbidden: недостаточно прав доступа.",
|
|
7903
|
+
"description": "## Пример запроса:\r\n\r\nGET /tenants/this/packages?resourceID=1&resourceID=2\r\n\r\n## Пример успешного ответа:\r\n```json\r\n[\r\n {\r\n \"resource\": {\r\n \"id\": 1,\r\n \"name\": \"Web интерфейс\"\r\n },\r\n \"package\": {\r\n \"id\": \"pkg-1\",\r\n \"name\": \"Расширение отчетности\",\r\n \"version\": \"1.0.0\",\r\n \"iconUrl\": \"https://example.com/icon.png\",\r\n \"type\": \"iframe\",\r\n \"isCacheable\": true\r\n \"isAddAuthorizeParameters\": false\r\n }\r\n }\r\n]\r\n```\r\n \r\n## Пример успешного ответа (206):\r\nТело ответа имеет тот же формат, что и для `200`, но содержит частичный диапазон.\r\n## Негативные сценарии:\r\n- 204 NoContent: расширения не найдены.\r\n- 401 Unauthorized: отсутствует или некорректен Bearer-токен.\r\n- 403 Forbidden: недостаточно прав доступа.",
|
|
7904
7904
|
"parameters": [
|
|
7905
7905
|
{
|
|
7906
7906
|
"name": "resourceID",
|
|
@@ -8027,7 +8027,7 @@
|
|
|
8027
8027
|
"Tenants"
|
|
8028
8028
|
],
|
|
8029
8029
|
"summary": "Добавить расширение (только для кросс-тенантных администраторов)",
|
|
8030
|
-
"description": "## Пример запроса:\r\n\r\nPOST /tenants/this/packages\r\n\r\n```json\r\n{\r\n \"name\": \"Расширение отчетности\",\r\n \"iconUrl\": \"https://example.com/icon.png\",\r\n \"addonUrl\": \"https://example.com/addon\",\r\n \"resourceID\": 1,\r\n \"isMobile\": false\r\n}\r\n```\r\n\r\n## Пример успешного ответа:\r\n```json\r\n[\r\n {\r\n \"resource\": {\r\n \"id\": 1,\r\n \"name\": \"Web интерфейс\"\r\n },\r\n \"package\": {\r\n \"id\": \"pkg-1\",\r\n \"name\": \"Расширение отчетности\",\r\n \"version\": \"1.0.0\",\r\n \"iconUrl\": \"https://example.com/icon.png\",\r\n \"isAddAuthorizeParameters\": false\r\n }\r\n }\r\n]\r\n```\r\n \r\n## Негативные сценарии:\r\n- 400 BadRequest: пустое или отсутствующее тело запроса (`data`).\r\n- 204 NoContent: расширение не найдено.\r\n- 401 Unauthorized: отсутствует или некорректен Bearer-токен.\r\n- 403 Forbidden: недостаточно прав доступа.",
|
|
8030
|
+
"description": "## Пример запроса:\r\n\r\nPOST /tenants/this/packages\r\n\r\n```json\r\n{\r\n \"name\": \"Расширение отчетности\",\r\n \"iconUrl\": \"https://example.com/icon.png\",\r\n \"addonUrl\": \"https://example.com/addon\",\r\n \"resourceID\": 1,\r\n \"type\": \"iframe\",\r\n \"isCacheable\": true\r\n \"isMobile\": false\r\n}\r\n```\r\n\r\n## Пример успешного ответа:\r\n```json\r\n[\r\n {\r\n \"resource\": {\r\n \"id\": 1,\r\n \"name\": \"Web интерфейс\"\r\n },\r\n \"package\": {\r\n \"id\": \"pkg-1\",\r\n \"name\": \"Расширение отчетности\",\r\n \"version\": \"1.0.0\",\r\n \"iconUrl\": \"https://example.com/icon.png\",\r\n \"isAddAuthorizeParameters\": false\r\n }\r\n }\r\n]\r\n```\r\n \r\n## Негативные сценарии:\r\n- 400 BadRequest: пустое или отсутствующее тело запроса (`data`).\r\n- 204 NoContent: расширение не найдено.\r\n- 401 Unauthorized: отсутствует или некорректен Bearer-токен.\r\n- 403 Forbidden: недостаточно прав доступа.",
|
|
8031
8031
|
"parameters": [
|
|
8032
8032
|
{
|
|
8033
8033
|
"name": "X-Application-ID",
|
|
@@ -20622,6 +20622,13 @@
|
|
|
20622
20622
|
},
|
|
20623
20623
|
"isMobile": {
|
|
20624
20624
|
"type": "boolean"
|
|
20625
|
+
},
|
|
20626
|
+
"type": {
|
|
20627
|
+
"type": "string",
|
|
20628
|
+
"nullable": true
|
|
20629
|
+
},
|
|
20630
|
+
"isCacheable": {
|
|
20631
|
+
"type": "boolean"
|
|
20625
20632
|
}
|
|
20626
20633
|
},
|
|
20627
20634
|
"additionalProperties": false
|
|
@@ -24007,6 +24014,17 @@
|
|
|
24007
24014
|
"type": "boolean",
|
|
24008
24015
|
"description": "Признак того, что нужно дополнить URL-пакета параметрами для авторизации (powerBI)",
|
|
24009
24016
|
"example": false
|
|
24017
|
+
},
|
|
24018
|
+
"type": {
|
|
24019
|
+
"type": "string",
|
|
24020
|
+
"description": "Тип плагина",
|
|
24021
|
+
"nullable": true,
|
|
24022
|
+
"example": "iframe"
|
|
24023
|
+
},
|
|
24024
|
+
"isCacheable": {
|
|
24025
|
+
"type": "boolean",
|
|
24026
|
+
"description": "Признак кешируемости плагина",
|
|
24027
|
+
"example": true
|
|
24010
24028
|
}
|
|
24011
24029
|
},
|
|
24012
24030
|
"additionalProperties": false,
|
|
@@ -24814,6 +24832,17 @@
|
|
|
24814
24832
|
"description": "Флаг что расширение включено у роли",
|
|
24815
24833
|
"example": true
|
|
24816
24834
|
},
|
|
24835
|
+
"type": {
|
|
24836
|
+
"type": "string",
|
|
24837
|
+
"description": "Тип плагина",
|
|
24838
|
+
"nullable": true,
|
|
24839
|
+
"example": "iframe"
|
|
24840
|
+
},
|
|
24841
|
+
"isCacheable": {
|
|
24842
|
+
"type": "boolean",
|
|
24843
|
+
"description": "Признак кешируемости плагина",
|
|
24844
|
+
"example": true
|
|
24845
|
+
},
|
|
24817
24846
|
"resource": {
|
|
24818
24847
|
"$ref": "#/components/schemas/IdCodeNameResultOfByte"
|
|
24819
24848
|
}
|
package/swagger/dev/UI.json
CHANGED
|
@@ -459,17 +459,17 @@
|
|
|
459
459
|
"content": {
|
|
460
460
|
"text/plain": {
|
|
461
461
|
"schema": {
|
|
462
|
-
"$ref": "#/components/schemas/
|
|
462
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
463
463
|
}
|
|
464
464
|
},
|
|
465
465
|
"application/json": {
|
|
466
466
|
"schema": {
|
|
467
|
-
"$ref": "#/components/schemas/
|
|
467
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
468
468
|
}
|
|
469
469
|
},
|
|
470
470
|
"text/json": {
|
|
471
471
|
"schema": {
|
|
472
|
-
"$ref": "#/components/schemas/
|
|
472
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
}
|
|
@@ -556,17 +556,17 @@
|
|
|
556
556
|
"content": {
|
|
557
557
|
"text/plain": {
|
|
558
558
|
"schema": {
|
|
559
|
-
"$ref": "#/components/schemas/
|
|
559
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
560
560
|
}
|
|
561
561
|
},
|
|
562
562
|
"application/json": {
|
|
563
563
|
"schema": {
|
|
564
|
-
"$ref": "#/components/schemas/
|
|
564
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
565
565
|
}
|
|
566
566
|
},
|
|
567
567
|
"text/json": {
|
|
568
568
|
"schema": {
|
|
569
|
-
"$ref": "#/components/schemas/
|
|
569
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
}
|
|
@@ -665,17 +665,17 @@
|
|
|
665
665
|
"content": {
|
|
666
666
|
"text/plain": {
|
|
667
667
|
"schema": {
|
|
668
|
-
"$ref": "#/components/schemas/
|
|
668
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
669
669
|
}
|
|
670
670
|
},
|
|
671
671
|
"application/json": {
|
|
672
672
|
"schema": {
|
|
673
|
-
"$ref": "#/components/schemas/
|
|
673
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
674
674
|
}
|
|
675
675
|
},
|
|
676
676
|
"text/json": {
|
|
677
677
|
"schema": {
|
|
678
|
-
"$ref": "#/components/schemas/
|
|
678
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
}
|
|
@@ -832,7 +832,7 @@
|
|
|
832
832
|
"schema": {
|
|
833
833
|
"type": "array",
|
|
834
834
|
"items": {
|
|
835
|
-
"$ref": "#/components/schemas/
|
|
835
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
838
|
},
|
|
@@ -840,7 +840,7 @@
|
|
|
840
840
|
"schema": {
|
|
841
841
|
"type": "array",
|
|
842
842
|
"items": {
|
|
843
|
-
"$ref": "#/components/schemas/
|
|
843
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
846
|
},
|
|
@@ -848,7 +848,7 @@
|
|
|
848
848
|
"schema": {
|
|
849
849
|
"type": "array",
|
|
850
850
|
"items": {
|
|
851
|
-
"$ref": "#/components/schemas/
|
|
851
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
}
|
|
@@ -909,22 +909,22 @@
|
|
|
909
909
|
"content": {
|
|
910
910
|
"application/json-patch+json": {
|
|
911
911
|
"schema": {
|
|
912
|
-
"$ref": "#/components/schemas/
|
|
912
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
913
913
|
}
|
|
914
914
|
},
|
|
915
915
|
"application/json": {
|
|
916
916
|
"schema": {
|
|
917
|
-
"$ref": "#/components/schemas/
|
|
917
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
918
918
|
}
|
|
919
919
|
},
|
|
920
920
|
"text/json": {
|
|
921
921
|
"schema": {
|
|
922
|
-
"$ref": "#/components/schemas/
|
|
922
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
923
923
|
}
|
|
924
924
|
},
|
|
925
925
|
"application/*+json": {
|
|
926
926
|
"schema": {
|
|
927
|
-
"$ref": "#/components/schemas/
|
|
927
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
930
|
}
|
|
@@ -935,17 +935,17 @@
|
|
|
935
935
|
"content": {
|
|
936
936
|
"text/plain": {
|
|
937
937
|
"schema": {
|
|
938
|
-
"$ref": "#/components/schemas/
|
|
938
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
939
939
|
}
|
|
940
940
|
},
|
|
941
941
|
"application/json": {
|
|
942
942
|
"schema": {
|
|
943
|
-
"$ref": "#/components/schemas/
|
|
943
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
944
944
|
}
|
|
945
945
|
},
|
|
946
946
|
"text/json": {
|
|
947
947
|
"schema": {
|
|
948
|
-
"$ref": "#/components/schemas/
|
|
948
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
949
949
|
}
|
|
950
950
|
}
|
|
951
951
|
}
|
|
@@ -1073,17 +1073,17 @@
|
|
|
1073
1073
|
"content": {
|
|
1074
1074
|
"text/plain": {
|
|
1075
1075
|
"schema": {
|
|
1076
|
-
"$ref": "#/components/schemas/
|
|
1076
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1077
1077
|
}
|
|
1078
1078
|
},
|
|
1079
1079
|
"application/json": {
|
|
1080
1080
|
"schema": {
|
|
1081
|
-
"$ref": "#/components/schemas/
|
|
1081
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1082
1082
|
}
|
|
1083
1083
|
},
|
|
1084
1084
|
"text/json": {
|
|
1085
1085
|
"schema": {
|
|
1086
|
-
"$ref": "#/components/schemas/
|
|
1086
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
@@ -1179,22 +1179,22 @@
|
|
|
1179
1179
|
"content": {
|
|
1180
1180
|
"application/json-patch+json": {
|
|
1181
1181
|
"schema": {
|
|
1182
|
-
"$ref": "#/components/schemas/
|
|
1182
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1183
1183
|
}
|
|
1184
1184
|
},
|
|
1185
1185
|
"application/json": {
|
|
1186
1186
|
"schema": {
|
|
1187
|
-
"$ref": "#/components/schemas/
|
|
1187
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1188
1188
|
}
|
|
1189
1189
|
},
|
|
1190
1190
|
"text/json": {
|
|
1191
1191
|
"schema": {
|
|
1192
|
-
"$ref": "#/components/schemas/
|
|
1192
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1193
1193
|
}
|
|
1194
1194
|
},
|
|
1195
1195
|
"application/*+json": {
|
|
1196
1196
|
"schema": {
|
|
1197
|
-
"$ref": "#/components/schemas/
|
|
1197
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
@@ -1205,17 +1205,17 @@
|
|
|
1205
1205
|
"content": {
|
|
1206
1206
|
"text/plain": {
|
|
1207
1207
|
"schema": {
|
|
1208
|
-
"$ref": "#/components/schemas/
|
|
1208
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1209
1209
|
}
|
|
1210
1210
|
},
|
|
1211
1211
|
"application/json": {
|
|
1212
1212
|
"schema": {
|
|
1213
|
-
"$ref": "#/components/schemas/
|
|
1213
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1214
1214
|
}
|
|
1215
1215
|
},
|
|
1216
1216
|
"text/json": {
|
|
1217
1217
|
"schema": {
|
|
1218
|
-
"$ref": "#/components/schemas/
|
|
1218
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1219
1219
|
}
|
|
1220
1220
|
}
|
|
1221
1221
|
}
|
|
@@ -1462,17 +1462,17 @@
|
|
|
1462
1462
|
"content": {
|
|
1463
1463
|
"text/plain": {
|
|
1464
1464
|
"schema": {
|
|
1465
|
-
"$ref": "#/components/schemas/
|
|
1465
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1466
1466
|
}
|
|
1467
1467
|
},
|
|
1468
1468
|
"application/json": {
|
|
1469
1469
|
"schema": {
|
|
1470
|
-
"$ref": "#/components/schemas/
|
|
1470
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1471
1471
|
}
|
|
1472
1472
|
},
|
|
1473
1473
|
"text/json": {
|
|
1474
1474
|
"schema": {
|
|
1475
|
-
"$ref": "#/components/schemas/
|
|
1475
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTemplateDto"
|
|
1476
1476
|
}
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
@@ -1573,7 +1573,7 @@
|
|
|
1573
1573
|
"schema": {
|
|
1574
1574
|
"type": "array",
|
|
1575
1575
|
"items": {
|
|
1576
|
-
"$ref": "#/components/schemas/
|
|
1576
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTaskTypeDto"
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
1579
1579
|
},
|
|
@@ -1581,7 +1581,7 @@
|
|
|
1581
1581
|
"schema": {
|
|
1582
1582
|
"type": "array",
|
|
1583
1583
|
"items": {
|
|
1584
|
-
"$ref": "#/components/schemas/
|
|
1584
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTaskTypeDto"
|
|
1585
1585
|
}
|
|
1586
1586
|
}
|
|
1587
1587
|
},
|
|
@@ -1589,7 +1589,7 @@
|
|
|
1589
1589
|
"schema": {
|
|
1590
1590
|
"type": "array",
|
|
1591
1591
|
"items": {
|
|
1592
|
-
"$ref": "#/components/schemas/
|
|
1592
|
+
"$ref": "#/components/schemas/ContractDtoLayoutTaskTypeDto"
|
|
1593
1593
|
}
|
|
1594
1594
|
}
|
|
1595
1595
|
}
|
|
@@ -2014,7 +2014,7 @@
|
|
|
2014
2014
|
"schema": {
|
|
2015
2015
|
"type": "array",
|
|
2016
2016
|
"items": {
|
|
2017
|
-
"$ref": "#/components/schemas/
|
|
2017
|
+
"$ref": "#/components/schemas/ContractDtoComponentDto"
|
|
2018
2018
|
}
|
|
2019
2019
|
}
|
|
2020
2020
|
},
|
|
@@ -2022,7 +2022,7 @@
|
|
|
2022
2022
|
"schema": {
|
|
2023
2023
|
"type": "array",
|
|
2024
2024
|
"items": {
|
|
2025
|
-
"$ref": "#/components/schemas/
|
|
2025
|
+
"$ref": "#/components/schemas/ContractDtoComponentDto"
|
|
2026
2026
|
}
|
|
2027
2027
|
}
|
|
2028
2028
|
},
|
|
@@ -2030,7 +2030,7 @@
|
|
|
2030
2030
|
"schema": {
|
|
2031
2031
|
"type": "array",
|
|
2032
2032
|
"items": {
|
|
2033
|
-
"$ref": "#/components/schemas/
|
|
2033
|
+
"$ref": "#/components/schemas/ContractDtoComponentDto"
|
|
2034
2034
|
}
|
|
2035
2035
|
}
|
|
2036
2036
|
}
|
|
@@ -2135,7 +2135,7 @@
|
|
|
2135
2135
|
"schema": {
|
|
2136
2136
|
"type": "array",
|
|
2137
2137
|
"items": {
|
|
2138
|
-
"$ref": "#/components/schemas/
|
|
2138
|
+
"$ref": "#/components/schemas/ContractDtoAttributeDto"
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
2141
|
},
|
|
@@ -2143,7 +2143,7 @@
|
|
|
2143
2143
|
"schema": {
|
|
2144
2144
|
"type": "array",
|
|
2145
2145
|
"items": {
|
|
2146
|
-
"$ref": "#/components/schemas/
|
|
2146
|
+
"$ref": "#/components/schemas/ContractDtoAttributeDto"
|
|
2147
2147
|
}
|
|
2148
2148
|
}
|
|
2149
2149
|
},
|
|
@@ -2151,7 +2151,7 @@
|
|
|
2151
2151
|
"schema": {
|
|
2152
2152
|
"type": "array",
|
|
2153
2153
|
"items": {
|
|
2154
|
-
"$ref": "#/components/schemas/
|
|
2154
|
+
"$ref": "#/components/schemas/ContractDtoAttributeDto"
|
|
2155
2155
|
}
|
|
2156
2156
|
}
|
|
2157
2157
|
}
|
|
@@ -2211,6 +2211,15 @@
|
|
|
2211
2211
|
"summary": "Возвращает список ресурсов",
|
|
2212
2212
|
"description": "## Пример запроса:\r\n`GET /Resources`\r\n \r\n## Пример успешного ответа (200):\r\n```json\r\n{\r\n \"1\": {\r\n \"id\": 1,\r\n \"code\": \"Tasks\",\r\n \"name\": \"Заявки\"\r\n }\r\n}\r\n```\r\n## Пример успешного ответа (206):\r\nТело ответа имеет тот же формат, что и для `200`, но содержит частичный диапазон.\r\n## Негативные сценарии:\r\n- 204 NoContent: ресурсы не найдены.\r\n- 401 Unauthorized: отсутствует или некорректен Bearer-токен.\r\n- 403 Forbidden: недостаточно прав `ResourcesList`.",
|
|
2213
2213
|
"parameters": [
|
|
2214
|
+
{
|
|
2215
|
+
"name": "isDeleted",
|
|
2216
|
+
"in": "query",
|
|
2217
|
+
"description": "Признак выдачи удалённых ресурсов. По умолчанию возвращаются активные.",
|
|
2218
|
+
"schema": {
|
|
2219
|
+
"type": "boolean",
|
|
2220
|
+
"default": false
|
|
2221
|
+
}
|
|
2222
|
+
},
|
|
2214
2223
|
{
|
|
2215
2224
|
"name": "Range",
|
|
2216
2225
|
"in": "header",
|
|
@@ -2336,6 +2345,326 @@
|
|
|
2336
2345
|
"Bearer": [ ]
|
|
2337
2346
|
}
|
|
2338
2347
|
]
|
|
2348
|
+
},
|
|
2349
|
+
"post": {
|
|
2350
|
+
"tags": [
|
|
2351
|
+
"Resources"
|
|
2352
|
+
],
|
|
2353
|
+
"summary": "Создаёт ресурсы словаря",
|
|
2354
|
+
"description": "## Пример запроса:\r\n`POST /Resources`\r\n```json\r\n[\r\n { \"code\": \"NewPluginSlot\", \"name\": \"Новый слот\" }\r\n]\r\n```\r\n## Пример успешного ответа (201):\r\n```json\r\n{\r\n \"34\": {\r\n \"id\": 34,\r\n \"code\": \"NewPluginSlot\",\r\n \"name\": \"Новый слот\"\r\n }\r\n}\r\n```\r\n## Негативные сценарии:\r\n- 400 BadRequest: пустой массив, элемент содержит id, или данные ресурса некорректны.\r\n- 401 Unauthorized: отсутствует или некорректен Bearer-токен.\r\n- 403 Forbidden: вызывающий не является кросс-тенантным администратором.\r\n- 409 Conflict: активный код уже существует или идентификаторы исчерпаны.",
|
|
2355
|
+
"parameters": [
|
|
2356
|
+
{
|
|
2357
|
+
"name": "X-Application-ID",
|
|
2358
|
+
"in": "header",
|
|
2359
|
+
"description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
|
|
2360
|
+
"schema": {
|
|
2361
|
+
"enum": [
|
|
2362
|
+
1,
|
|
2363
|
+
2,
|
|
2364
|
+
3,
|
|
2365
|
+
4,
|
|
2366
|
+
5,
|
|
2367
|
+
6
|
|
2368
|
+
],
|
|
2369
|
+
"type": "integer",
|
|
2370
|
+
"format": "int32",
|
|
2371
|
+
"default": 3,
|
|
2372
|
+
"x-enumNames": [
|
|
2373
|
+
"EngineerMobile",
|
|
2374
|
+
"CustomerMobile",
|
|
2375
|
+
"MainWeb",
|
|
2376
|
+
"AdminWeb",
|
|
2377
|
+
"Api",
|
|
2378
|
+
"PlateWeb"
|
|
2379
|
+
]
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
],
|
|
2383
|
+
"requestBody": {
|
|
2384
|
+
"description": "Массив объектов с полями code и name. Поле id не принимается.",
|
|
2385
|
+
"content": {
|
|
2386
|
+
"application/json-patch+json": {
|
|
2387
|
+
"schema": {
|
|
2388
|
+
"type": "array",
|
|
2389
|
+
"items": {
|
|
2390
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
},
|
|
2394
|
+
"application/json": {
|
|
2395
|
+
"schema": {
|
|
2396
|
+
"type": "array",
|
|
2397
|
+
"items": {
|
|
2398
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
"text/json": {
|
|
2403
|
+
"schema": {
|
|
2404
|
+
"type": "array",
|
|
2405
|
+
"items": {
|
|
2406
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
},
|
|
2410
|
+
"application/*+json": {
|
|
2411
|
+
"schema": {
|
|
2412
|
+
"type": "array",
|
|
2413
|
+
"items": {
|
|
2414
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
"responses": {
|
|
2421
|
+
"201": {
|
|
2422
|
+
"description": "Ресурсы созданы.",
|
|
2423
|
+
"content": {
|
|
2424
|
+
"text/plain": {
|
|
2425
|
+
"schema": {
|
|
2426
|
+
"type": "object",
|
|
2427
|
+
"additionalProperties": {
|
|
2428
|
+
"$ref": "#/components/schemas/IdCodeNameResultOfByte"
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2432
|
+
"application/json": {
|
|
2433
|
+
"schema": {
|
|
2434
|
+
"type": "object",
|
|
2435
|
+
"additionalProperties": {
|
|
2436
|
+
"$ref": "#/components/schemas/IdCodeNameResultOfByte"
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
},
|
|
2440
|
+
"text/json": {
|
|
2441
|
+
"schema": {
|
|
2442
|
+
"type": "object",
|
|
2443
|
+
"additionalProperties": {
|
|
2444
|
+
"$ref": "#/components/schemas/IdCodeNameResultOfByte"
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
},
|
|
2450
|
+
"400": {
|
|
2451
|
+
"description": "Тело запроса некорректно."
|
|
2452
|
+
},
|
|
2453
|
+
"401": {
|
|
2454
|
+
"description": "Отсутствует или некорректен Bearer-токен."
|
|
2455
|
+
},
|
|
2456
|
+
"403": {
|
|
2457
|
+
"description": "Недостаточно прав для создания ресурса."
|
|
2458
|
+
},
|
|
2459
|
+
"409": {
|
|
2460
|
+
"description": "Ресурс с таким кодом уже существует или нет свободного идентификатора."
|
|
2461
|
+
}
|
|
2462
|
+
},
|
|
2463
|
+
"security": [
|
|
2464
|
+
{
|
|
2465
|
+
"Bearer": [ ]
|
|
2466
|
+
}
|
|
2467
|
+
]
|
|
2468
|
+
},
|
|
2469
|
+
"delete": {
|
|
2470
|
+
"tags": [
|
|
2471
|
+
"Resources"
|
|
2472
|
+
],
|
|
2473
|
+
"summary": "Помечает ресурсы удалёнными",
|
|
2474
|
+
"description": "## Пример запроса:\r\n`DELETE /Resources`\r\n```json\r\n[34]\r\n```\r\n## Пример успешного ответа (202):\r\nТело ответа отсутствует. Строка ресурса остаётся в словаре.\r\n## Негативные сценарии:\r\n- 400 BadRequest: пустой массив идентификаторов.\r\n- 401 Unauthorized: отсутствует или некорректен Bearer-токен.\r\n- 403 Forbidden: вызывающий не является кросс-тенантным администратором.\r\n- 404 NotFound: хотя бы один идентификатор отсутствует.",
|
|
2475
|
+
"parameters": [
|
|
2476
|
+
{
|
|
2477
|
+
"name": "X-Application-ID",
|
|
2478
|
+
"in": "header",
|
|
2479
|
+
"description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
|
|
2480
|
+
"schema": {
|
|
2481
|
+
"enum": [
|
|
2482
|
+
1,
|
|
2483
|
+
2,
|
|
2484
|
+
3,
|
|
2485
|
+
4,
|
|
2486
|
+
5,
|
|
2487
|
+
6
|
|
2488
|
+
],
|
|
2489
|
+
"type": "integer",
|
|
2490
|
+
"format": "int32",
|
|
2491
|
+
"default": 3,
|
|
2492
|
+
"x-enumNames": [
|
|
2493
|
+
"EngineerMobile",
|
|
2494
|
+
"CustomerMobile",
|
|
2495
|
+
"MainWeb",
|
|
2496
|
+
"AdminWeb",
|
|
2497
|
+
"Api",
|
|
2498
|
+
"PlateWeb"
|
|
2499
|
+
]
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
],
|
|
2503
|
+
"requestBody": {
|
|
2504
|
+
"description": "Массив идентификаторов ресурсов.",
|
|
2505
|
+
"content": {
|
|
2506
|
+
"application/json-patch+json": {
|
|
2507
|
+
"schema": {
|
|
2508
|
+
"type": "array",
|
|
2509
|
+
"items": {
|
|
2510
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
},
|
|
2514
|
+
"application/json": {
|
|
2515
|
+
"schema": {
|
|
2516
|
+
"type": "array",
|
|
2517
|
+
"items": {
|
|
2518
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
"text/json": {
|
|
2523
|
+
"schema": {
|
|
2524
|
+
"type": "array",
|
|
2525
|
+
"items": {
|
|
2526
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
},
|
|
2530
|
+
"application/*+json": {
|
|
2531
|
+
"schema": {
|
|
2532
|
+
"type": "array",
|
|
2533
|
+
"items": {
|
|
2534
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2535
|
+
}
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
},
|
|
2540
|
+
"responses": {
|
|
2541
|
+
"202": {
|
|
2542
|
+
"description": "Ресурсы помечены удалёнными."
|
|
2543
|
+
},
|
|
2544
|
+
"400": {
|
|
2545
|
+
"description": "Тело запроса некорректно."
|
|
2546
|
+
},
|
|
2547
|
+
"401": {
|
|
2548
|
+
"description": "Отсутствует или некорректен Bearer-токен."
|
|
2549
|
+
},
|
|
2550
|
+
"403": {
|
|
2551
|
+
"description": "Недостаточно прав для удаления ресурса."
|
|
2552
|
+
},
|
|
2553
|
+
"404": {
|
|
2554
|
+
"description": "Ресурс не найден."
|
|
2555
|
+
}
|
|
2556
|
+
},
|
|
2557
|
+
"security": [
|
|
2558
|
+
{
|
|
2559
|
+
"Bearer": [ ]
|
|
2560
|
+
}
|
|
2561
|
+
]
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
"/Resources/{id}": {
|
|
2565
|
+
"put": {
|
|
2566
|
+
"tags": [
|
|
2567
|
+
"Resources"
|
|
2568
|
+
],
|
|
2569
|
+
"summary": "Переименовывает ресурс",
|
|
2570
|
+
"description": "## Пример запроса:\r\n`PUT /Resources/34`\r\n```json\r\n{ \"name\": \"Слот меню\" }\r\n```\r\n## Пример успешного ответа (202):\r\nТело ответа отсутствует.\r\n## Негативные сценарии:\r\n- 400 BadRequest: идентификатор вне 0..255, пустое имя или код отличается от сохранённого.\r\n- 401 Unauthorized: отсутствует или некорректен Bearer-токен.\r\n- 403 Forbidden: вызывающий не является кросс-тенантным администратором.\r\n- 404 NotFound: ресурс отсутствует или уже удалён.",
|
|
2571
|
+
"parameters": [
|
|
2572
|
+
{
|
|
2573
|
+
"name": "id",
|
|
2574
|
+
"in": "path",
|
|
2575
|
+
"description": "Идентификатор ресурса.",
|
|
2576
|
+
"required": true,
|
|
2577
|
+
"schema": {
|
|
2578
|
+
"type": "integer",
|
|
2579
|
+
"format": "int32"
|
|
2580
|
+
}
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"name": "X-Application-ID",
|
|
2584
|
+
"in": "header",
|
|
2585
|
+
"description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
|
|
2586
|
+
"schema": {
|
|
2587
|
+
"enum": [
|
|
2588
|
+
1,
|
|
2589
|
+
2,
|
|
2590
|
+
3,
|
|
2591
|
+
4,
|
|
2592
|
+
5,
|
|
2593
|
+
6
|
|
2594
|
+
],
|
|
2595
|
+
"type": "integer",
|
|
2596
|
+
"format": "int32",
|
|
2597
|
+
"default": 3,
|
|
2598
|
+
"x-enumNames": [
|
|
2599
|
+
"EngineerMobile",
|
|
2600
|
+
"CustomerMobile",
|
|
2601
|
+
"MainWeb",
|
|
2602
|
+
"AdminWeb",
|
|
2603
|
+
"Api",
|
|
2604
|
+
"PlateWeb"
|
|
2605
|
+
]
|
|
2606
|
+
}
|
|
2607
|
+
}
|
|
2608
|
+
],
|
|
2609
|
+
"requestBody": {
|
|
2610
|
+
"description": "Объект с полем name. Поле code необязательно и не должно отличаться от сохранённого кода.",
|
|
2611
|
+
"content": {
|
|
2612
|
+
"application/json-patch+json": {
|
|
2613
|
+
"schema": {
|
|
2614
|
+
"type": "object",
|
|
2615
|
+
"additionalProperties": {
|
|
2616
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
},
|
|
2620
|
+
"application/json": {
|
|
2621
|
+
"schema": {
|
|
2622
|
+
"type": "object",
|
|
2623
|
+
"additionalProperties": {
|
|
2624
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2625
|
+
}
|
|
2626
|
+
}
|
|
2627
|
+
},
|
|
2628
|
+
"text/json": {
|
|
2629
|
+
"schema": {
|
|
2630
|
+
"type": "object",
|
|
2631
|
+
"additionalProperties": {
|
|
2632
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2635
|
+
},
|
|
2636
|
+
"application/*+json": {
|
|
2637
|
+
"schema": {
|
|
2638
|
+
"type": "object",
|
|
2639
|
+
"additionalProperties": {
|
|
2640
|
+
"$ref": "#/components/schemas/JsonLinqJToken"
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
},
|
|
2646
|
+
"responses": {
|
|
2647
|
+
"202": {
|
|
2648
|
+
"description": "Имя ресурса обновлено."
|
|
2649
|
+
},
|
|
2650
|
+
"400": {
|
|
2651
|
+
"description": "Идентификатор или тело запроса некорректны."
|
|
2652
|
+
},
|
|
2653
|
+
"401": {
|
|
2654
|
+
"description": "Отсутствует или некорректен Bearer-токен."
|
|
2655
|
+
},
|
|
2656
|
+
"403": {
|
|
2657
|
+
"description": "Недостаточно прав для изменения ресурса."
|
|
2658
|
+
},
|
|
2659
|
+
"404": {
|
|
2660
|
+
"description": "Ресурс не найден."
|
|
2661
|
+
}
|
|
2662
|
+
},
|
|
2663
|
+
"security": [
|
|
2664
|
+
{
|
|
2665
|
+
"Bearer": [ ]
|
|
2666
|
+
}
|
|
2667
|
+
]
|
|
2339
2668
|
}
|
|
2340
2669
|
},
|
|
2341
2670
|
"/SubsystemView": {
|
|
@@ -3831,74 +4160,66 @@
|
|
|
3831
4160
|
},
|
|
3832
4161
|
"components": {
|
|
3833
4162
|
"schemas": {
|
|
3834
|
-
"
|
|
4163
|
+
"ContractDtoAttributeDto": {
|
|
3835
4164
|
"type": "object",
|
|
3836
4165
|
"properties": {
|
|
3837
4166
|
"id": {
|
|
3838
4167
|
"type": "integer",
|
|
3839
4168
|
"description": "Идентификатор в системе",
|
|
3840
4169
|
"format": "int32",
|
|
3841
|
-
"readOnly": true,
|
|
3842
4170
|
"example": 5
|
|
3843
4171
|
},
|
|
3844
4172
|
"name": {
|
|
3845
4173
|
"type": "string",
|
|
3846
4174
|
"description": "Наименование в системе",
|
|
3847
4175
|
"nullable": true,
|
|
3848
|
-
"readOnly": true,
|
|
3849
4176
|
"example": "Регион"
|
|
3850
4177
|
},
|
|
3851
4178
|
"isInUse": {
|
|
3852
4179
|
"type": "boolean",
|
|
3853
4180
|
"description": "Признак того, что атрибут задействован в шаблоне",
|
|
3854
|
-
"readOnly": true,
|
|
3855
4181
|
"example": true
|
|
3856
4182
|
}
|
|
3857
4183
|
},
|
|
3858
4184
|
"additionalProperties": false,
|
|
3859
4185
|
"description": "Упрощённое представление атрибута (дополнительное поле)"
|
|
3860
4186
|
},
|
|
3861
|
-
"
|
|
4187
|
+
"ContractDtoComponentDto": {
|
|
3862
4188
|
"type": "object",
|
|
3863
4189
|
"properties": {
|
|
3864
4190
|
"id": {
|
|
3865
4191
|
"type": "integer",
|
|
3866
4192
|
"description": "Внутренний идентификатор в системе",
|
|
3867
4193
|
"format": "int32",
|
|
3868
|
-
"readOnly": true,
|
|
3869
4194
|
"example": 10
|
|
3870
4195
|
},
|
|
3871
4196
|
"code": {
|
|
3872
4197
|
"type": "string",
|
|
3873
4198
|
"description": "Внутренний код",
|
|
3874
4199
|
"nullable": true,
|
|
3875
|
-
"readOnly": true,
|
|
3876
4200
|
"example": "TaskDescription"
|
|
3877
4201
|
},
|
|
3878
4202
|
"description": {
|
|
3879
4203
|
"type": "string",
|
|
3880
4204
|
"description": "Описание",
|
|
3881
4205
|
"nullable": true,
|
|
3882
|
-
"readOnly": true,
|
|
3883
4206
|
"example": "Описание заявки"
|
|
3884
4207
|
},
|
|
3885
4208
|
"isRequired": {
|
|
3886
4209
|
"type": "boolean",
|
|
3887
4210
|
"description": "Признак того, что элемент должен быть представлен в шаблоне (for future use)",
|
|
3888
|
-
"readOnly": true,
|
|
3889
4211
|
"example": true
|
|
3890
4212
|
},
|
|
3891
4213
|
"isInUse": {
|
|
3892
4214
|
"type": "boolean",
|
|
3893
4215
|
"description": "Признак того, что компонент задействован в шаблоне",
|
|
3894
|
-
"readOnly": true,
|
|
3895
4216
|
"example": true
|
|
3896
4217
|
}
|
|
3897
4218
|
},
|
|
3898
4219
|
"additionalProperties": false,
|
|
3899
4220
|
"description": "Представление стандартных элементов управления UI в системе"
|
|
3900
4221
|
},
|
|
3901
|
-
"
|
|
4222
|
+
"ContractDtoFieldTypeEnum": {
|
|
3902
4223
|
"enum": [
|
|
3903
4224
|
"Component",
|
|
3904
4225
|
"Attribute"
|
|
@@ -3906,7 +4227,7 @@
|
|
|
3906
4227
|
"type": "string",
|
|
3907
4228
|
"description": "Тип поля на форме заявки"
|
|
3908
4229
|
},
|
|
3909
|
-
"
|
|
4230
|
+
"ContractDtoLayoutBlockDto": {
|
|
3910
4231
|
"required": [
|
|
3911
4232
|
"fields",
|
|
3912
4233
|
"name"
|
|
@@ -3936,7 +4257,7 @@
|
|
|
3936
4257
|
"minItems": 0,
|
|
3937
4258
|
"type": "array",
|
|
3938
4259
|
"items": {
|
|
3939
|
-
"$ref": "#/components/schemas/
|
|
4260
|
+
"$ref": "#/components/schemas/ContractDtoLayoutFieldDto"
|
|
3940
4261
|
},
|
|
3941
4262
|
"description": "Список полей размещённых в блоке"
|
|
3942
4263
|
}
|
|
@@ -3944,7 +4265,7 @@
|
|
|
3944
4265
|
"additionalProperties": false,
|
|
3945
4266
|
"description": "UI шаблон представления блока элементов управления"
|
|
3946
4267
|
},
|
|
3947
|
-
"
|
|
4268
|
+
"ContractDtoLayoutColumnDto": {
|
|
3948
4269
|
"required": [
|
|
3949
4270
|
"blocks",
|
|
3950
4271
|
"index"
|
|
@@ -3968,7 +4289,7 @@
|
|
|
3968
4289
|
"minItems": 0,
|
|
3969
4290
|
"type": "array",
|
|
3970
4291
|
"items": {
|
|
3971
|
-
"$ref": "#/components/schemas/
|
|
4292
|
+
"$ref": "#/components/schemas/ContractDtoLayoutBlockDto"
|
|
3972
4293
|
},
|
|
3973
4294
|
"description": "Список блоков размещённых в колонке"
|
|
3974
4295
|
}
|
|
@@ -3976,7 +4297,7 @@
|
|
|
3976
4297
|
"additionalProperties": false,
|
|
3977
4298
|
"description": "UI шаблон представления колонки"
|
|
3978
4299
|
},
|
|
3979
|
-
"
|
|
4300
|
+
"ContractDtoLayoutFieldDto": {
|
|
3980
4301
|
"required": [
|
|
3981
4302
|
"code",
|
|
3982
4303
|
"label",
|
|
@@ -4004,7 +4325,7 @@
|
|
|
4004
4325
|
"example": "Описание"
|
|
4005
4326
|
},
|
|
4006
4327
|
"type": {
|
|
4007
|
-
"$ref": "#/components/schemas/
|
|
4328
|
+
"$ref": "#/components/schemas/ContractDtoFieldTypeEnum"
|
|
4008
4329
|
},
|
|
4009
4330
|
"code": {
|
|
4010
4331
|
"minLength": 1,
|
|
@@ -4028,7 +4349,7 @@
|
|
|
4028
4349
|
"additionalProperties": false,
|
|
4029
4350
|
"description": "UI шаблон представления поля на форме"
|
|
4030
4351
|
},
|
|
4031
|
-
"
|
|
4352
|
+
"ContractDtoLayoutTaskTypeDto": {
|
|
4032
4353
|
"type": "object",
|
|
4033
4354
|
"properties": {
|
|
4034
4355
|
"id": {
|
|
@@ -4047,7 +4368,7 @@
|
|
|
4047
4368
|
"additionalProperties": false,
|
|
4048
4369
|
"description": "Представление для типа задачи"
|
|
4049
4370
|
},
|
|
4050
|
-
"
|
|
4371
|
+
"ContractDtoLayoutTemplateDto": {
|
|
4051
4372
|
"required": [
|
|
4052
4373
|
"columns"
|
|
4053
4374
|
],
|
|
@@ -4076,7 +4397,7 @@
|
|
|
4076
4397
|
"minItems": 0,
|
|
4077
4398
|
"type": "array",
|
|
4078
4399
|
"items": {
|
|
4079
|
-
"$ref": "#/components/schemas/
|
|
4400
|
+
"$ref": "#/components/schemas/ContractDtoLayoutColumnDto"
|
|
4080
4401
|
},
|
|
4081
4402
|
"description": "Список колонок в представлении заявки"
|
|
4082
4403
|
},
|
|
@@ -4240,43 +4561,31 @@
|
|
|
4240
4561
|
"properties": {
|
|
4241
4562
|
"code": {
|
|
4242
4563
|
"type": "string",
|
|
4243
|
-
"
|
|
4244
|
-
"nullable": true,
|
|
4245
|
-
"example": "TaskDescription"
|
|
4564
|
+
"nullable": true
|
|
4246
4565
|
},
|
|
4247
4566
|
"description": {
|
|
4248
4567
|
"type": "string",
|
|
4249
|
-
"
|
|
4250
|
-
"nullable": true,
|
|
4251
|
-
"example": "Описание заявки"
|
|
4568
|
+
"nullable": true
|
|
4252
4569
|
}
|
|
4253
4570
|
},
|
|
4254
|
-
"additionalProperties": false
|
|
4255
|
-
"description": "Данные компонента"
|
|
4571
|
+
"additionalProperties": false
|
|
4256
4572
|
},
|
|
4257
4573
|
"ResultsTaskViewTemplatesTaskViewTemplateResult": {
|
|
4258
4574
|
"type": "object",
|
|
4259
4575
|
"properties": {
|
|
4260
4576
|
"name": {
|
|
4261
4577
|
"type": "string",
|
|
4262
|
-
"
|
|
4263
|
-
"nullable": true,
|
|
4264
|
-
"example": "Стандартная форма"
|
|
4578
|
+
"nullable": true
|
|
4265
4579
|
},
|
|
4266
4580
|
"code": {
|
|
4267
4581
|
"type": "string",
|
|
4268
|
-
"
|
|
4269
|
-
"nullable": true,
|
|
4270
|
-
"example": "DefaultTaskView"
|
|
4582
|
+
"nullable": true
|
|
4271
4583
|
},
|
|
4272
4584
|
"isDefault": {
|
|
4273
|
-
"type": "boolean"
|
|
4274
|
-
"description": "Является ли оно по умолчанию",
|
|
4275
|
-
"example": true
|
|
4585
|
+
"type": "boolean"
|
|
4276
4586
|
}
|
|
4277
4587
|
},
|
|
4278
|
-
"additionalProperties": false
|
|
4279
|
-
"description": "Шаблон формы зявка"
|
|
4588
|
+
"additionalProperties": false
|
|
4280
4589
|
}
|
|
4281
4590
|
},
|
|
4282
4591
|
"securitySchemes": {
|