@hubex/mcp 0.2.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 (92) hide show
  1. package/.env.example +54 -0
  2. package/CONNECTING.md +260 -0
  3. package/README.md +266 -0
  4. package/dist/auth.js +226 -0
  5. package/dist/config.js +120 -0
  6. package/dist/generated/manifest.js +3643 -0
  7. package/dist/guides/field-notes.json +27 -0
  8. package/dist/guides/loader.js +32 -0
  9. package/dist/guides/service-map.js +6 -0
  10. package/dist/http.js +93 -0
  11. package/dist/index/store.js +134 -0
  12. package/dist/index/types.js +1 -0
  13. package/dist/index.js +20 -0
  14. package/dist/paths.js +20 -0
  15. package/dist/pii/fields.js +100 -0
  16. package/dist/pii/mask.js +50 -0
  17. package/dist/pii/strategies.js +88 -0
  18. package/dist/schema/build-index.js +67 -0
  19. package/dist/schema/deref.js +87 -0
  20. package/dist/schema/describe.js +65 -0
  21. package/dist/server.js +62 -0
  22. package/dist/token-prompt.js +41 -0
  23. package/dist/tools/curated.js +151 -0
  24. package/dist/tools/discovery.js +187 -0
  25. package/dist/tools/guides.js +126 -0
  26. package/dist/tools/registry.js +37 -0
  27. package/dist/tools/request.js +170 -0
  28. package/dist/tools/types.js +1 -0
  29. package/docs/guides/assets.md +334 -0
  30. package/docs/guides/attributes.md +125 -0
  31. package/docs/guides/checklisttemplates.md +154 -0
  32. package/docs/guides/companies.md +57 -0
  33. package/docs/guides/dictionaries.md +64 -0
  34. package/docs/guides/lifecycle.md +263 -0
  35. package/docs/guides/materials.md +135 -0
  36. package/docs/guides/notifications.md +184 -0
  37. package/docs/guides/roles.md +125 -0
  38. package/docs/guides/sla.md +130 -0
  39. package/docs/guides/start.md +67 -0
  40. package/docs/guides/taskchecklists.md +149 -0
  41. package/docs/guides/taskcreate.md +260 -0
  42. package/docs/guides/taskedit.md +277 -0
  43. package/docs/guides/tasktypes.md +156 -0
  44. package/docs/guides/users.md +71 -0
  45. package/generated/index.dev.json +18776 -0
  46. package/generated/index.prod.json +18858 -0
  47. package/package.json +48 -0
  48. package/swagger/dev/ADM.json +27777 -0
  49. package/swagger/dev/AUTH.json +1739 -0
  50. package/swagger/dev/AUTHN.json +1250 -0
  51. package/swagger/dev/AUTHZ.json +1404 -0
  52. package/swagger/dev/CM.json +309 -0
  53. package/swagger/dev/COMMON.json +6543 -0
  54. package/swagger/dev/ES.json +28029 -0
  55. package/swagger/dev/EXPORT.json +4575 -0
  56. package/swagger/dev/IMPORT.json +1479 -0
  57. package/swagger/dev/LIC.json +224 -0
  58. package/swagger/dev/MSG.json +7883 -0
  59. package/swagger/dev/NEWS.json +348 -0
  60. package/swagger/dev/PA.json +5981 -0
  61. package/swagger/dev/PMP.json +3196 -0
  62. package/swagger/dev/PROXY.json +416 -0
  63. package/swagger/dev/REPORT.json +3921 -0
  64. package/swagger/dev/SC.json +3771 -0
  65. package/swagger/dev/SLA.json +2837 -0
  66. package/swagger/dev/TSTG.json +4981 -0
  67. package/swagger/dev/UI.json +4720 -0
  68. package/swagger/dev/WH.json +16796 -0
  69. package/swagger/dev/WORK.json +36024 -0
  70. package/swagger/dev/WSP.json +1612 -0
  71. package/swagger/prod/ADM.json +27777 -0
  72. package/swagger/prod/AUTH.json +1308 -0
  73. package/swagger/prod/AUTHN.json +2710 -0
  74. package/swagger/prod/AUTHZ.json +896 -0
  75. package/swagger/prod/CM.json +162 -0
  76. package/swagger/prod/COMMON.json +4910 -0
  77. package/swagger/prod/ES.json +28029 -0
  78. package/swagger/prod/EXPORT.json +3091 -0
  79. package/swagger/prod/LIC.json +123 -0
  80. package/swagger/prod/MSG.json +6239 -0
  81. package/swagger/prod/NEWS.json +295 -0
  82. package/swagger/prod/PA.json +5123 -0
  83. package/swagger/prod/PMP.json +2978 -0
  84. package/swagger/prod/PROXY.json +250 -0
  85. package/swagger/prod/REPORT.json +3729 -0
  86. package/swagger/prod/SC.json +3771 -0
  87. package/swagger/prod/SLA.json +2201 -0
  88. package/swagger/prod/TSTG.json +4220 -0
  89. package/swagger/prod/UI.json +3879 -0
  90. package/swagger/prod/WH.json +16730 -0
  91. package/swagger/prod/WORK.json +35994 -0
  92. package/swagger/prod/WSP.json +1468 -0
@@ -0,0 +1,3879 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "API for UI information",
5
+ "description": "UI service for providing components and controls info for front-end application part",
6
+ "contact": {
7
+ "name": "SmartService Backend Team",
8
+ "email": "fmbackend@melston.ru"
9
+ },
10
+ "version": "v1.0.0.0"
11
+ },
12
+ "paths": {
13
+ "/Components": {
14
+ "get": {
15
+ "tags": [
16
+ "Components"
17
+ ],
18
+ "summary": "Возвращает полный список компонентов",
19
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ComponentsList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
20
+ "parameters": [
21
+ {
22
+ "name": "Authorization",
23
+ "in": "header",
24
+ "description": "Bearer",
25
+ "required": true,
26
+ "schema": {
27
+ "type": "string"
28
+ }
29
+ },
30
+ {
31
+ "name": "Range",
32
+ "in": "header",
33
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
34
+ "schema": {
35
+ "type": "string"
36
+ }
37
+ },
38
+ {
39
+ "name": "offset",
40
+ "in": "query",
41
+ "description": "количество элементов, которое нобходимо пропустить",
42
+ "schema": {
43
+ "type": "string"
44
+ }
45
+ },
46
+ {
47
+ "name": "fetch",
48
+ "in": "query",
49
+ "description": "количество эементов, которое необходимо вернуть",
50
+ "schema": {
51
+ "type": "string"
52
+ }
53
+ }
54
+ ],
55
+ "responses": {
56
+ "200": {
57
+ "description": "OK",
58
+ "content": {
59
+ "text/plain": {
60
+ "schema": {
61
+ "type": "object",
62
+ "additionalProperties": {
63
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Results.Base.ComponentResult"
64
+ }
65
+ }
66
+ },
67
+ "application/json": {
68
+ "schema": {
69
+ "type": "object",
70
+ "additionalProperties": {
71
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Results.Base.ComponentResult"
72
+ }
73
+ }
74
+ },
75
+ "text/json": {
76
+ "schema": {
77
+ "type": "object",
78
+ "additionalProperties": {
79
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Results.Base.ComponentResult"
80
+ }
81
+ }
82
+ }
83
+ }
84
+ },
85
+ "401": {
86
+ "description": "Unauthorized"
87
+ },
88
+ "403": {
89
+ "description": "Forbidden"
90
+ },
91
+ "206": {
92
+ "description": "PartialContent",
93
+ "headers": {
94
+ "Content-Range": {
95
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
96
+ "schema": {
97
+ "type": "string"
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ },
105
+ "/Filters": {
106
+ "get": {
107
+ "tags": [
108
+ "Filters"
109
+ ],
110
+ "summary": "Метод получения списка избранных фильтров пользователя",
111
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **UserFilterFavouriteList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
112
+ "parameters": [
113
+ {
114
+ "name": "applicationID",
115
+ "in": "query",
116
+ "schema": {
117
+ "type": "integer",
118
+ "format": "int32"
119
+ }
120
+ },
121
+ {
122
+ "name": "resource",
123
+ "in": "query",
124
+ "schema": {
125
+ "type": "string"
126
+ }
127
+ },
128
+ {
129
+ "name": "Authorization",
130
+ "in": "header",
131
+ "description": "Bearer",
132
+ "required": true,
133
+ "schema": {
134
+ "type": "string"
135
+ }
136
+ },
137
+ {
138
+ "name": "Range",
139
+ "in": "header",
140
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
141
+ "schema": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ {
146
+ "name": "offset",
147
+ "in": "query",
148
+ "description": "количество элементов, которое нобходимо пропустить",
149
+ "schema": {
150
+ "type": "string"
151
+ }
152
+ },
153
+ {
154
+ "name": "fetch",
155
+ "in": "query",
156
+ "description": "количество эементов, которое необходимо вернуть",
157
+ "schema": {
158
+ "type": "string"
159
+ }
160
+ }
161
+ ],
162
+ "responses": {
163
+ "200": {
164
+ "description": "OK",
165
+ "content": {
166
+ "text/plain": {
167
+ "schema": {
168
+ "type": "array",
169
+ "items": {
170
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Entities.UI.UserFilterFavouriteEntity"
171
+ }
172
+ }
173
+ },
174
+ "application/json": {
175
+ "schema": {
176
+ "type": "array",
177
+ "items": {
178
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Entities.UI.UserFilterFavouriteEntity"
179
+ }
180
+ }
181
+ },
182
+ "text/json": {
183
+ "schema": {
184
+ "type": "array",
185
+ "items": {
186
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Entities.UI.UserFilterFavouriteEntity"
187
+ }
188
+ }
189
+ }
190
+ }
191
+ },
192
+ "401": {
193
+ "description": "Unauthorized"
194
+ },
195
+ "403": {
196
+ "description": "Forbidden"
197
+ },
198
+ "206": {
199
+ "description": "PartialContent",
200
+ "headers": {
201
+ "Content-Range": {
202
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
203
+ "schema": {
204
+ "type": "string"
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ },
212
+ "/Filters/{resource}": {
213
+ "post": {
214
+ "tags": [
215
+ "Filters"
216
+ ],
217
+ "summary": "Изменяем избранные пользовательские фильтры",
218
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **UserFilterFavouriteMerge**",
219
+ "parameters": [
220
+ {
221
+ "name": "resource",
222
+ "in": "path",
223
+ "required": true,
224
+ "schema": {
225
+ "type": "string"
226
+ }
227
+ },
228
+ {
229
+ "name": "Authorization",
230
+ "in": "header",
231
+ "description": "Bearer",
232
+ "required": true,
233
+ "schema": {
234
+ "type": "string"
235
+ }
236
+ }
237
+ ],
238
+ "requestBody": {
239
+ "content": {
240
+ "application/json-patch+json": {
241
+ "schema": {
242
+ "type": "array",
243
+ "items": {
244
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.UI.MergeData"
245
+ }
246
+ }
247
+ },
248
+ "application/json": {
249
+ "schema": {
250
+ "type": "array",
251
+ "items": {
252
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.UI.MergeData"
253
+ }
254
+ }
255
+ },
256
+ "text/json": {
257
+ "schema": {
258
+ "type": "array",
259
+ "items": {
260
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.UI.MergeData"
261
+ }
262
+ }
263
+ },
264
+ "application/*+json": {
265
+ "schema": {
266
+ "type": "array",
267
+ "items": {
268
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Data.UI.MergeData"
269
+ }
270
+ }
271
+ }
272
+ }
273
+ },
274
+ "responses": {
275
+ "202": {
276
+ "description": "Accepted"
277
+ },
278
+ "401": {
279
+ "description": "Unauthorized"
280
+ },
281
+ "403": {
282
+ "description": "Forbidden"
283
+ }
284
+ }
285
+ }
286
+ },
287
+ "/LayoutTemplates/default": {
288
+ "post": {
289
+ "tags": [
290
+ "LayoutTemplates"
291
+ ],
292
+ "summary": "Создаёт шаблон по умолчанию. Если шаблон с флагом IsDefault = true существует - Conflict (409)",
293
+ "parameters": [
294
+ {
295
+ "name": "Authorization",
296
+ "in": "header",
297
+ "description": "Bearer",
298
+ "required": true,
299
+ "schema": {
300
+ "type": "string"
301
+ }
302
+ }
303
+ ],
304
+ "responses": {
305
+ "200": {
306
+ "description": "OK",
307
+ "content": {
308
+ "text/plain": {
309
+ "schema": {
310
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
311
+ }
312
+ },
313
+ "application/json": {
314
+ "schema": {
315
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
316
+ }
317
+ },
318
+ "text/json": {
319
+ "schema": {
320
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
321
+ }
322
+ }
323
+ }
324
+ },
325
+ "409": {
326
+ "description": "Conflict",
327
+ "content": {
328
+ "text/plain": {
329
+ "schema": {
330
+ "type": "array",
331
+ "items": {
332
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
333
+ }
334
+ }
335
+ },
336
+ "application/json": {
337
+ "schema": {
338
+ "type": "array",
339
+ "items": {
340
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
341
+ }
342
+ }
343
+ },
344
+ "text/json": {
345
+ "schema": {
346
+ "type": "array",
347
+ "items": {
348
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
349
+ }
350
+ }
351
+ }
352
+ }
353
+ },
354
+ "401": {
355
+ "description": "Unauthorized"
356
+ },
357
+ "403": {
358
+ "description": "Forbidden"
359
+ }
360
+ }
361
+ },
362
+ "get": {
363
+ "tags": [
364
+ "LayoutTemplates"
365
+ ],
366
+ "summary": "Возвращает шаблон по умолчанию",
367
+ "parameters": [
368
+ {
369
+ "name": "Authorization",
370
+ "in": "header",
371
+ "description": "Bearer",
372
+ "required": true,
373
+ "schema": {
374
+ "type": "string"
375
+ }
376
+ }
377
+ ],
378
+ "responses": {
379
+ "200": {
380
+ "description": "OK",
381
+ "content": {
382
+ "text/plain": {
383
+ "schema": {
384
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
385
+ }
386
+ },
387
+ "application/json": {
388
+ "schema": {
389
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
390
+ }
391
+ },
392
+ "text/json": {
393
+ "schema": {
394
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
395
+ }
396
+ }
397
+ }
398
+ },
399
+ "409": {
400
+ "description": "Conflict",
401
+ "content": {
402
+ "text/plain": {
403
+ "schema": {
404
+ "type": "array",
405
+ "items": {
406
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
407
+ }
408
+ }
409
+ },
410
+ "application/json": {
411
+ "schema": {
412
+ "type": "array",
413
+ "items": {
414
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
415
+ }
416
+ }
417
+ },
418
+ "text/json": {
419
+ "schema": {
420
+ "type": "array",
421
+ "items": {
422
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
423
+ }
424
+ }
425
+ }
426
+ }
427
+ },
428
+ "401": {
429
+ "description": "Unauthorized"
430
+ },
431
+ "403": {
432
+ "description": "Forbidden"
433
+ }
434
+ }
435
+ }
436
+ },
437
+ "/LayoutTemplates/{id}/reset": {
438
+ "put": {
439
+ "tags": [
440
+ "LayoutTemplates"
441
+ ],
442
+ "summary": "Сбрасывает настройки шаблона к состоянию шаблона по умолчанию. \r\nNB: при этом шаблон не становится дефолтным для тенанта.",
443
+ "parameters": [
444
+ {
445
+ "name": "id",
446
+ "in": "path",
447
+ "description": "идентификатор шаблона",
448
+ "required": true,
449
+ "schema": {
450
+ "type": "integer",
451
+ "format": "int32"
452
+ }
453
+ },
454
+ {
455
+ "name": "Authorization",
456
+ "in": "header",
457
+ "description": "Bearer",
458
+ "required": true,
459
+ "schema": {
460
+ "type": "string"
461
+ }
462
+ }
463
+ ],
464
+ "responses": {
465
+ "200": {
466
+ "description": "OK",
467
+ "content": {
468
+ "text/plain": {
469
+ "schema": {
470
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
471
+ }
472
+ },
473
+ "application/json": {
474
+ "schema": {
475
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
476
+ }
477
+ },
478
+ "text/json": {
479
+ "schema": {
480
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
481
+ }
482
+ }
483
+ }
484
+ },
485
+ "404": {
486
+ "description": "Not Found",
487
+ "content": {
488
+ "text/plain": {
489
+ "schema": {
490
+ "type": "array",
491
+ "items": {
492
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
493
+ }
494
+ }
495
+ },
496
+ "application/json": {
497
+ "schema": {
498
+ "type": "array",
499
+ "items": {
500
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
501
+ }
502
+ }
503
+ },
504
+ "text/json": {
505
+ "schema": {
506
+ "type": "array",
507
+ "items": {
508
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
509
+ }
510
+ }
511
+ }
512
+ }
513
+ },
514
+ "409": {
515
+ "description": "Conflict",
516
+ "content": {
517
+ "text/plain": {
518
+ "schema": {
519
+ "type": "array",
520
+ "items": {
521
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
522
+ }
523
+ }
524
+ },
525
+ "application/json": {
526
+ "schema": {
527
+ "type": "array",
528
+ "items": {
529
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
530
+ }
531
+ }
532
+ },
533
+ "text/json": {
534
+ "schema": {
535
+ "type": "array",
536
+ "items": {
537
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
538
+ }
539
+ }
540
+ }
541
+ }
542
+ },
543
+ "401": {
544
+ "description": "Unauthorized"
545
+ },
546
+ "403": {
547
+ "description": "Forbidden"
548
+ }
549
+ }
550
+ }
551
+ },
552
+ "/LayoutTemplates": {
553
+ "get": {
554
+ "tags": [
555
+ "LayoutTemplates"
556
+ ],
557
+ "summary": "Получить список представлений",
558
+ "description": "Список возвращается с полным набором атрибутов представления",
559
+ "parameters": [
560
+ {
561
+ "name": "taskTypeID",
562
+ "in": "query",
563
+ "description": "Список id типов заявок для которых предназначены шаблоны",
564
+ "schema": {
565
+ "type": "array",
566
+ "items": {
567
+ "type": "integer",
568
+ "format": "int32"
569
+ }
570
+ }
571
+ },
572
+ {
573
+ "name": "isDefault",
574
+ "in": "query",
575
+ "description": "Признак того, что шаблон является шаблоном <b>по умолчанию</b>",
576
+ "schema": {
577
+ "type": "boolean"
578
+ }
579
+ },
580
+ {
581
+ "name": "Authorization",
582
+ "in": "header",
583
+ "description": "Bearer",
584
+ "required": true,
585
+ "schema": {
586
+ "type": "string"
587
+ }
588
+ }
589
+ ],
590
+ "responses": {
591
+ "200": {
592
+ "description": "OK",
593
+ "content": {
594
+ "text/plain": {
595
+ "schema": {
596
+ "type": "array",
597
+ "items": {
598
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
599
+ }
600
+ }
601
+ },
602
+ "application/json": {
603
+ "schema": {
604
+ "type": "array",
605
+ "items": {
606
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
607
+ }
608
+ }
609
+ },
610
+ "text/json": {
611
+ "schema": {
612
+ "type": "array",
613
+ "items": {
614
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
615
+ }
616
+ }
617
+ }
618
+ }
619
+ },
620
+ "204": {
621
+ "description": "No Content",
622
+ "content": {
623
+ "text/plain": {
624
+ "schema": {
625
+ "type": "array",
626
+ "items": {
627
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
628
+ }
629
+ }
630
+ },
631
+ "application/json": {
632
+ "schema": {
633
+ "type": "array",
634
+ "items": {
635
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
636
+ }
637
+ }
638
+ },
639
+ "text/json": {
640
+ "schema": {
641
+ "type": "array",
642
+ "items": {
643
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
644
+ }
645
+ }
646
+ }
647
+ }
648
+ },
649
+ "401": {
650
+ "description": "Unauthorized"
651
+ },
652
+ "403": {
653
+ "description": "Forbidden"
654
+ }
655
+ }
656
+ },
657
+ "post": {
658
+ "tags": [
659
+ "LayoutTemplates"
660
+ ],
661
+ "summary": "Создать представление",
662
+ "description": "Создаёт представление со всеми связанными свойствами",
663
+ "parameters": [
664
+ {
665
+ "name": "Authorization",
666
+ "in": "header",
667
+ "description": "Bearer",
668
+ "required": true,
669
+ "schema": {
670
+ "type": "string"
671
+ }
672
+ }
673
+ ],
674
+ "requestBody": {
675
+ "description": "Шаблон заявки",
676
+ "content": {
677
+ "application/json-patch+json": {
678
+ "schema": {
679
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
680
+ }
681
+ },
682
+ "application/json": {
683
+ "schema": {
684
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
685
+ }
686
+ },
687
+ "text/json": {
688
+ "schema": {
689
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
690
+ }
691
+ },
692
+ "application/*+json": {
693
+ "schema": {
694
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
695
+ }
696
+ }
697
+ }
698
+ },
699
+ "responses": {
700
+ "201": {
701
+ "description": "Created",
702
+ "content": {
703
+ "text/plain": {
704
+ "schema": {
705
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
706
+ }
707
+ },
708
+ "application/json": {
709
+ "schema": {
710
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
711
+ }
712
+ },
713
+ "text/json": {
714
+ "schema": {
715
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
716
+ }
717
+ }
718
+ }
719
+ },
720
+ "409": {
721
+ "description": "Conflict",
722
+ "content": {
723
+ "text/plain": {
724
+ "schema": {
725
+ "type": "array",
726
+ "items": {
727
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
728
+ }
729
+ }
730
+ },
731
+ "application/json": {
732
+ "schema": {
733
+ "type": "array",
734
+ "items": {
735
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
736
+ }
737
+ }
738
+ },
739
+ "text/json": {
740
+ "schema": {
741
+ "type": "array",
742
+ "items": {
743
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
744
+ }
745
+ }
746
+ }
747
+ }
748
+ },
749
+ "400": {
750
+ "description": "Bad Request",
751
+ "content": {
752
+ "text/plain": {
753
+ "schema": {
754
+ "type": "array",
755
+ "items": {
756
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
757
+ }
758
+ }
759
+ },
760
+ "application/json": {
761
+ "schema": {
762
+ "type": "array",
763
+ "items": {
764
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
765
+ }
766
+ }
767
+ },
768
+ "text/json": {
769
+ "schema": {
770
+ "type": "array",
771
+ "items": {
772
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
773
+ }
774
+ }
775
+ }
776
+ }
777
+ },
778
+ "401": {
779
+ "description": "Unauthorized"
780
+ },
781
+ "403": {
782
+ "description": "Forbidden"
783
+ }
784
+ }
785
+ }
786
+ },
787
+ "/LayoutTemplates/{id}": {
788
+ "get": {
789
+ "tags": [
790
+ "LayoutTemplates"
791
+ ],
792
+ "summary": "Получить конкретное представление",
793
+ "description": "Пересоздаёт представление полностью",
794
+ "parameters": [
795
+ {
796
+ "name": "id",
797
+ "in": "path",
798
+ "description": "Идентификатор шаблона",
799
+ "required": true,
800
+ "schema": {
801
+ "type": "integer",
802
+ "format": "int32"
803
+ }
804
+ },
805
+ {
806
+ "name": "Authorization",
807
+ "in": "header",
808
+ "description": "Bearer",
809
+ "required": true,
810
+ "schema": {
811
+ "type": "string"
812
+ }
813
+ }
814
+ ],
815
+ "responses": {
816
+ "200": {
817
+ "description": "OK",
818
+ "content": {
819
+ "text/plain": {
820
+ "schema": {
821
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
822
+ }
823
+ },
824
+ "application/json": {
825
+ "schema": {
826
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
827
+ }
828
+ },
829
+ "text/json": {
830
+ "schema": {
831
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
832
+ }
833
+ }
834
+ }
835
+ },
836
+ "404": {
837
+ "description": "Not Found",
838
+ "content": {
839
+ "text/plain": {
840
+ "schema": {
841
+ "type": "array",
842
+ "items": {
843
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
844
+ }
845
+ }
846
+ },
847
+ "application/json": {
848
+ "schema": {
849
+ "type": "array",
850
+ "items": {
851
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
852
+ }
853
+ }
854
+ },
855
+ "text/json": {
856
+ "schema": {
857
+ "type": "array",
858
+ "items": {
859
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
860
+ }
861
+ }
862
+ }
863
+ }
864
+ },
865
+ "401": {
866
+ "description": "Unauthorized"
867
+ },
868
+ "403": {
869
+ "description": "Forbidden"
870
+ }
871
+ }
872
+ },
873
+ "put": {
874
+ "tags": [
875
+ "LayoutTemplates"
876
+ ],
877
+ "summary": "Обновить представление и все связанные сущности",
878
+ "description": "Пересоздаёт представление полностью",
879
+ "parameters": [
880
+ {
881
+ "name": "id",
882
+ "in": "path",
883
+ "description": "Идентификатор шаблона",
884
+ "required": true,
885
+ "schema": {
886
+ "type": "integer",
887
+ "format": "int32"
888
+ }
889
+ },
890
+ {
891
+ "name": "Authorization",
892
+ "in": "header",
893
+ "description": "Bearer",
894
+ "required": true,
895
+ "schema": {
896
+ "type": "string"
897
+ }
898
+ }
899
+ ],
900
+ "requestBody": {
901
+ "description": "Шаблон заявки",
902
+ "content": {
903
+ "application/json-patch+json": {
904
+ "schema": {
905
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
906
+ }
907
+ },
908
+ "application/json": {
909
+ "schema": {
910
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
911
+ }
912
+ },
913
+ "text/json": {
914
+ "schema": {
915
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
916
+ }
917
+ },
918
+ "application/*+json": {
919
+ "schema": {
920
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
921
+ }
922
+ }
923
+ }
924
+ },
925
+ "responses": {
926
+ "200": {
927
+ "description": "OK",
928
+ "content": {
929
+ "text/plain": {
930
+ "schema": {
931
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
932
+ }
933
+ },
934
+ "application/json": {
935
+ "schema": {
936
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
937
+ }
938
+ },
939
+ "text/json": {
940
+ "schema": {
941
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
942
+ }
943
+ }
944
+ }
945
+ },
946
+ "404": {
947
+ "description": "Not Found",
948
+ "content": {
949
+ "text/plain": {
950
+ "schema": {
951
+ "type": "array",
952
+ "items": {
953
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
954
+ }
955
+ }
956
+ },
957
+ "application/json": {
958
+ "schema": {
959
+ "type": "array",
960
+ "items": {
961
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
962
+ }
963
+ }
964
+ },
965
+ "text/json": {
966
+ "schema": {
967
+ "type": "array",
968
+ "items": {
969
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
970
+ }
971
+ }
972
+ }
973
+ }
974
+ },
975
+ "400": {
976
+ "description": "Bad Request",
977
+ "content": {
978
+ "text/plain": {
979
+ "schema": {
980
+ "type": "array",
981
+ "items": {
982
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
983
+ }
984
+ }
985
+ },
986
+ "application/json": {
987
+ "schema": {
988
+ "type": "array",
989
+ "items": {
990
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
991
+ }
992
+ }
993
+ },
994
+ "text/json": {
995
+ "schema": {
996
+ "type": "array",
997
+ "items": {
998
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
999
+ }
1000
+ }
1001
+ }
1002
+ }
1003
+ },
1004
+ "401": {
1005
+ "description": "Unauthorized"
1006
+ },
1007
+ "403": {
1008
+ "description": "Forbidden"
1009
+ }
1010
+ }
1011
+ },
1012
+ "delete": {
1013
+ "tags": [
1014
+ "LayoutTemplates"
1015
+ ],
1016
+ "summary": "Удалить представление и все связные сущности",
1017
+ "parameters": [
1018
+ {
1019
+ "name": "id",
1020
+ "in": "path",
1021
+ "description": "Идентификатор шаблона",
1022
+ "required": true,
1023
+ "schema": {
1024
+ "type": "integer",
1025
+ "format": "int32"
1026
+ }
1027
+ },
1028
+ {
1029
+ "name": "Authorization",
1030
+ "in": "header",
1031
+ "description": "Bearer",
1032
+ "required": true,
1033
+ "schema": {
1034
+ "type": "string"
1035
+ }
1036
+ }
1037
+ ],
1038
+ "responses": {
1039
+ "202": {
1040
+ "description": "Accepted"
1041
+ },
1042
+ "404": {
1043
+ "description": "Not Found",
1044
+ "content": {
1045
+ "text/plain": {
1046
+ "schema": {
1047
+ "type": "array",
1048
+ "items": {
1049
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1050
+ }
1051
+ }
1052
+ },
1053
+ "application/json": {
1054
+ "schema": {
1055
+ "type": "array",
1056
+ "items": {
1057
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1058
+ }
1059
+ }
1060
+ },
1061
+ "text/json": {
1062
+ "schema": {
1063
+ "type": "array",
1064
+ "items": {
1065
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1066
+ }
1067
+ }
1068
+ }
1069
+ }
1070
+ },
1071
+ "400": {
1072
+ "description": "Bad Request",
1073
+ "content": {
1074
+ "text/plain": {
1075
+ "schema": {
1076
+ "type": "array",
1077
+ "items": {
1078
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1079
+ }
1080
+ }
1081
+ },
1082
+ "application/json": {
1083
+ "schema": {
1084
+ "type": "array",
1085
+ "items": {
1086
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1087
+ }
1088
+ }
1089
+ },
1090
+ "text/json": {
1091
+ "schema": {
1092
+ "type": "array",
1093
+ "items": {
1094
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1095
+ }
1096
+ }
1097
+ }
1098
+ }
1099
+ },
1100
+ "401": {
1101
+ "description": "Unauthorized"
1102
+ },
1103
+ "403": {
1104
+ "description": "Forbidden"
1105
+ }
1106
+ }
1107
+ }
1108
+ },
1109
+ "/LayoutTemplates/bytype/{id}": {
1110
+ "get": {
1111
+ "tags": [
1112
+ "LayoutTemplates"
1113
+ ],
1114
+ "summary": "Получить представление по типу заявки",
1115
+ "description": "Возвращает первое подходящее представление для типа заявки или дефолтное",
1116
+ "parameters": [
1117
+ {
1118
+ "name": "id",
1119
+ "in": "path",
1120
+ "description": "Идентификатор типа заявки",
1121
+ "required": true,
1122
+ "schema": {
1123
+ "type": "integer",
1124
+ "format": "int32"
1125
+ }
1126
+ },
1127
+ {
1128
+ "name": "Authorization",
1129
+ "in": "header",
1130
+ "description": "Bearer",
1131
+ "required": true,
1132
+ "schema": {
1133
+ "type": "string"
1134
+ }
1135
+ }
1136
+ ],
1137
+ "responses": {
1138
+ "200": {
1139
+ "description": "OK",
1140
+ "content": {
1141
+ "text/plain": {
1142
+ "schema": {
1143
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
1144
+ }
1145
+ },
1146
+ "application/json": {
1147
+ "schema": {
1148
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
1149
+ }
1150
+ },
1151
+ "text/json": {
1152
+ "schema": {
1153
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTemplateDto"
1154
+ }
1155
+ }
1156
+ }
1157
+ },
1158
+ "404": {
1159
+ "description": "Not Found",
1160
+ "content": {
1161
+ "text/plain": {
1162
+ "schema": {
1163
+ "type": "array",
1164
+ "items": {
1165
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1166
+ }
1167
+ }
1168
+ },
1169
+ "application/json": {
1170
+ "schema": {
1171
+ "type": "array",
1172
+ "items": {
1173
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1174
+ }
1175
+ }
1176
+ },
1177
+ "text/json": {
1178
+ "schema": {
1179
+ "type": "array",
1180
+ "items": {
1181
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1182
+ }
1183
+ }
1184
+ }
1185
+ }
1186
+ },
1187
+ "401": {
1188
+ "description": "Unauthorized"
1189
+ },
1190
+ "403": {
1191
+ "description": "Forbidden"
1192
+ }
1193
+ }
1194
+ }
1195
+ },
1196
+ "/LayoutTemplates/{id}/taskTypes": {
1197
+ "get": {
1198
+ "tags": [
1199
+ "LayoutTemplates"
1200
+ ],
1201
+ "summary": "Получить список типов задач представления",
1202
+ "parameters": [
1203
+ {
1204
+ "name": "id",
1205
+ "in": "path",
1206
+ "description": "Идентификатор шаблона",
1207
+ "required": true,
1208
+ "schema": {
1209
+ "type": "integer",
1210
+ "format": "int32"
1211
+ }
1212
+ },
1213
+ {
1214
+ "name": "Authorization",
1215
+ "in": "header",
1216
+ "description": "Bearer",
1217
+ "required": true,
1218
+ "schema": {
1219
+ "type": "string"
1220
+ }
1221
+ }
1222
+ ],
1223
+ "responses": {
1224
+ "200": {
1225
+ "description": "OK",
1226
+ "content": {
1227
+ "text/plain": {
1228
+ "schema": {
1229
+ "type": "array",
1230
+ "items": {
1231
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTaskTypeDto"
1232
+ }
1233
+ }
1234
+ },
1235
+ "application/json": {
1236
+ "schema": {
1237
+ "type": "array",
1238
+ "items": {
1239
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTaskTypeDto"
1240
+ }
1241
+ }
1242
+ },
1243
+ "text/json": {
1244
+ "schema": {
1245
+ "type": "array",
1246
+ "items": {
1247
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutTaskTypeDto"
1248
+ }
1249
+ }
1250
+ }
1251
+ }
1252
+ },
1253
+ "204": {
1254
+ "description": "No Content"
1255
+ },
1256
+ "404": {
1257
+ "description": "Not Found",
1258
+ "content": {
1259
+ "text/plain": {
1260
+ "schema": {
1261
+ "type": "array",
1262
+ "items": {
1263
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1264
+ }
1265
+ }
1266
+ },
1267
+ "application/json": {
1268
+ "schema": {
1269
+ "type": "array",
1270
+ "items": {
1271
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1272
+ }
1273
+ }
1274
+ },
1275
+ "text/json": {
1276
+ "schema": {
1277
+ "type": "array",
1278
+ "items": {
1279
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1280
+ }
1281
+ }
1282
+ }
1283
+ }
1284
+ },
1285
+ "401": {
1286
+ "description": "Unauthorized"
1287
+ },
1288
+ "403": {
1289
+ "description": "Forbidden"
1290
+ }
1291
+ }
1292
+ },
1293
+ "put": {
1294
+ "tags": [
1295
+ "LayoutTemplates"
1296
+ ],
1297
+ "summary": "Сопоставить список типов задачь представления",
1298
+ "parameters": [
1299
+ {
1300
+ "name": "id",
1301
+ "in": "path",
1302
+ "description": "Идентификатор шаблона",
1303
+ "required": true,
1304
+ "schema": {
1305
+ "type": "integer",
1306
+ "format": "int32"
1307
+ }
1308
+ },
1309
+ {
1310
+ "name": "Authorization",
1311
+ "in": "header",
1312
+ "description": "Bearer",
1313
+ "required": true,
1314
+ "schema": {
1315
+ "type": "string"
1316
+ }
1317
+ }
1318
+ ],
1319
+ "requestBody": {
1320
+ "description": "Массив типов заявок, которые будет поддерживать шаблон. Замещает имеющийся список",
1321
+ "content": {
1322
+ "application/json-patch+json": {
1323
+ "schema": {
1324
+ "type": "array",
1325
+ "items": {
1326
+ "type": "integer",
1327
+ "format": "int32"
1328
+ }
1329
+ }
1330
+ },
1331
+ "application/json": {
1332
+ "schema": {
1333
+ "type": "array",
1334
+ "items": {
1335
+ "type": "integer",
1336
+ "format": "int32"
1337
+ }
1338
+ }
1339
+ },
1340
+ "text/json": {
1341
+ "schema": {
1342
+ "type": "array",
1343
+ "items": {
1344
+ "type": "integer",
1345
+ "format": "int32"
1346
+ }
1347
+ }
1348
+ },
1349
+ "application/*+json": {
1350
+ "schema": {
1351
+ "type": "array",
1352
+ "items": {
1353
+ "type": "integer",
1354
+ "format": "int32"
1355
+ }
1356
+ }
1357
+ }
1358
+ }
1359
+ },
1360
+ "responses": {
1361
+ "202": {
1362
+ "description": "Accepted"
1363
+ },
1364
+ "400": {
1365
+ "description": "Bad Request",
1366
+ "content": {
1367
+ "text/plain": {
1368
+ "schema": {
1369
+ "type": "array",
1370
+ "items": {
1371
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1372
+ }
1373
+ }
1374
+ },
1375
+ "application/json": {
1376
+ "schema": {
1377
+ "type": "array",
1378
+ "items": {
1379
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1380
+ }
1381
+ }
1382
+ },
1383
+ "text/json": {
1384
+ "schema": {
1385
+ "type": "array",
1386
+ "items": {
1387
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1388
+ }
1389
+ }
1390
+ }
1391
+ }
1392
+ },
1393
+ "404": {
1394
+ "description": "Not Found",
1395
+ "content": {
1396
+ "text/plain": {
1397
+ "schema": {
1398
+ "type": "array",
1399
+ "items": {
1400
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1401
+ }
1402
+ }
1403
+ },
1404
+ "application/json": {
1405
+ "schema": {
1406
+ "type": "array",
1407
+ "items": {
1408
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1409
+ }
1410
+ }
1411
+ },
1412
+ "text/json": {
1413
+ "schema": {
1414
+ "type": "array",
1415
+ "items": {
1416
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1417
+ }
1418
+ }
1419
+ }
1420
+ }
1421
+ },
1422
+ "401": {
1423
+ "description": "Unauthorized"
1424
+ },
1425
+ "403": {
1426
+ "description": "Forbidden"
1427
+ }
1428
+ }
1429
+ },
1430
+ "delete": {
1431
+ "tags": [
1432
+ "LayoutTemplates"
1433
+ ],
1434
+ "summary": "Отвязать типы задач от шаблона",
1435
+ "parameters": [
1436
+ {
1437
+ "name": "id",
1438
+ "in": "path",
1439
+ "description": "Идентификатор шаблона",
1440
+ "required": true,
1441
+ "schema": {
1442
+ "type": "integer",
1443
+ "format": "int32"
1444
+ }
1445
+ },
1446
+ {
1447
+ "name": "Authorization",
1448
+ "in": "header",
1449
+ "description": "Bearer",
1450
+ "required": true,
1451
+ "schema": {
1452
+ "type": "string"
1453
+ }
1454
+ }
1455
+ ],
1456
+ "requestBody": {
1457
+ "description": "Массив типов заявок, которые будет исключены из поддержки для данного шаблона",
1458
+ "content": {
1459
+ "application/json-patch+json": {
1460
+ "schema": {
1461
+ "type": "array",
1462
+ "items": {
1463
+ "type": "integer",
1464
+ "format": "int32"
1465
+ }
1466
+ }
1467
+ },
1468
+ "application/json": {
1469
+ "schema": {
1470
+ "type": "array",
1471
+ "items": {
1472
+ "type": "integer",
1473
+ "format": "int32"
1474
+ }
1475
+ }
1476
+ },
1477
+ "text/json": {
1478
+ "schema": {
1479
+ "type": "array",
1480
+ "items": {
1481
+ "type": "integer",
1482
+ "format": "int32"
1483
+ }
1484
+ }
1485
+ },
1486
+ "application/*+json": {
1487
+ "schema": {
1488
+ "type": "array",
1489
+ "items": {
1490
+ "type": "integer",
1491
+ "format": "int32"
1492
+ }
1493
+ }
1494
+ }
1495
+ }
1496
+ },
1497
+ "responses": {
1498
+ "202": {
1499
+ "description": "Accepted"
1500
+ },
1501
+ "400": {
1502
+ "description": "Bad Request",
1503
+ "content": {
1504
+ "text/plain": {
1505
+ "schema": {
1506
+ "type": "array",
1507
+ "items": {
1508
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1509
+ }
1510
+ }
1511
+ },
1512
+ "application/json": {
1513
+ "schema": {
1514
+ "type": "array",
1515
+ "items": {
1516
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1517
+ }
1518
+ }
1519
+ },
1520
+ "text/json": {
1521
+ "schema": {
1522
+ "type": "array",
1523
+ "items": {
1524
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1525
+ }
1526
+ }
1527
+ }
1528
+ }
1529
+ },
1530
+ "404": {
1531
+ "description": "Not Found",
1532
+ "content": {
1533
+ "text/plain": {
1534
+ "schema": {
1535
+ "type": "array",
1536
+ "items": {
1537
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1538
+ }
1539
+ }
1540
+ },
1541
+ "application/json": {
1542
+ "schema": {
1543
+ "type": "array",
1544
+ "items": {
1545
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1546
+ }
1547
+ }
1548
+ },
1549
+ "text/json": {
1550
+ "schema": {
1551
+ "type": "array",
1552
+ "items": {
1553
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1554
+ }
1555
+ }
1556
+ }
1557
+ }
1558
+ },
1559
+ "401": {
1560
+ "description": "Unauthorized"
1561
+ },
1562
+ "403": {
1563
+ "description": "Forbidden"
1564
+ }
1565
+ }
1566
+ }
1567
+ },
1568
+ "/LayoutTemplates/{id}/Components": {
1569
+ "get": {
1570
+ "tags": [
1571
+ "LayoutTemplates"
1572
+ ],
1573
+ "summary": "Полный список доступных полей системы с указанием того, были ли они перемещены пользователем или нет в данном шаблоне",
1574
+ "parameters": [
1575
+ {
1576
+ "name": "id",
1577
+ "in": "path",
1578
+ "description": "Идентификатор шаблона",
1579
+ "required": true,
1580
+ "schema": {
1581
+ "type": "integer",
1582
+ "format": "int32"
1583
+ }
1584
+ },
1585
+ {
1586
+ "name": "Authorization",
1587
+ "in": "header",
1588
+ "description": "Bearer",
1589
+ "required": true,
1590
+ "schema": {
1591
+ "type": "string"
1592
+ }
1593
+ }
1594
+ ],
1595
+ "responses": {
1596
+ "200": {
1597
+ "description": "OK",
1598
+ "content": {
1599
+ "text/plain": {
1600
+ "schema": {
1601
+ "type": "array",
1602
+ "items": {
1603
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.ComponentDto"
1604
+ }
1605
+ }
1606
+ },
1607
+ "application/json": {
1608
+ "schema": {
1609
+ "type": "array",
1610
+ "items": {
1611
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.ComponentDto"
1612
+ }
1613
+ }
1614
+ },
1615
+ "text/json": {
1616
+ "schema": {
1617
+ "type": "array",
1618
+ "items": {
1619
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.ComponentDto"
1620
+ }
1621
+ }
1622
+ }
1623
+ }
1624
+ },
1625
+ "204": {
1626
+ "description": "No Content"
1627
+ },
1628
+ "404": {
1629
+ "description": "Not Found",
1630
+ "content": {
1631
+ "text/plain": {
1632
+ "schema": {
1633
+ "type": "array",
1634
+ "items": {
1635
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1636
+ }
1637
+ }
1638
+ },
1639
+ "application/json": {
1640
+ "schema": {
1641
+ "type": "array",
1642
+ "items": {
1643
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1644
+ }
1645
+ }
1646
+ },
1647
+ "text/json": {
1648
+ "schema": {
1649
+ "type": "array",
1650
+ "items": {
1651
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1652
+ }
1653
+ }
1654
+ }
1655
+ }
1656
+ },
1657
+ "401": {
1658
+ "description": "Unauthorized"
1659
+ },
1660
+ "403": {
1661
+ "description": "Forbidden"
1662
+ }
1663
+ }
1664
+ }
1665
+ },
1666
+ "/LayoutTemplates/{id}/Attributes": {
1667
+ "get": {
1668
+ "tags": [
1669
+ "LayoutTemplates"
1670
+ ],
1671
+ "summary": "Полный список доступных полей системы с указанием того, были ли они перемещены пользователем или нет в данном шаблоне",
1672
+ "parameters": [
1673
+ {
1674
+ "name": "id",
1675
+ "in": "path",
1676
+ "description": "Идентификатор шаблона",
1677
+ "required": true,
1678
+ "schema": {
1679
+ "type": "integer",
1680
+ "format": "int32"
1681
+ }
1682
+ },
1683
+ {
1684
+ "name": "Authorization",
1685
+ "in": "header",
1686
+ "description": "Bearer",
1687
+ "required": true,
1688
+ "schema": {
1689
+ "type": "string"
1690
+ }
1691
+ }
1692
+ ],
1693
+ "responses": {
1694
+ "200": {
1695
+ "description": "OK",
1696
+ "content": {
1697
+ "text/plain": {
1698
+ "schema": {
1699
+ "type": "array",
1700
+ "items": {
1701
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.AttributeDto"
1702
+ }
1703
+ }
1704
+ },
1705
+ "application/json": {
1706
+ "schema": {
1707
+ "type": "array",
1708
+ "items": {
1709
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.AttributeDto"
1710
+ }
1711
+ }
1712
+ },
1713
+ "text/json": {
1714
+ "schema": {
1715
+ "type": "array",
1716
+ "items": {
1717
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.AttributeDto"
1718
+ }
1719
+ }
1720
+ }
1721
+ }
1722
+ },
1723
+ "204": {
1724
+ "description": "No Content"
1725
+ },
1726
+ "404": {
1727
+ "description": "Not Found",
1728
+ "content": {
1729
+ "text/plain": {
1730
+ "schema": {
1731
+ "type": "array",
1732
+ "items": {
1733
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1734
+ }
1735
+ }
1736
+ },
1737
+ "application/json": {
1738
+ "schema": {
1739
+ "type": "array",
1740
+ "items": {
1741
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1742
+ }
1743
+ }
1744
+ },
1745
+ "text/json": {
1746
+ "schema": {
1747
+ "type": "array",
1748
+ "items": {
1749
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1750
+ }
1751
+ }
1752
+ }
1753
+ }
1754
+ },
1755
+ "401": {
1756
+ "description": "Unauthorized"
1757
+ },
1758
+ "403": {
1759
+ "description": "Forbidden"
1760
+ }
1761
+ }
1762
+ }
1763
+ },
1764
+ "/Resources": {
1765
+ "get": {
1766
+ "tags": [
1767
+ "Resources"
1768
+ ],
1769
+ "summary": "Метод получения списка ресурсов",
1770
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ResourcesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
1771
+ "parameters": [
1772
+ {
1773
+ "name": "Authorization",
1774
+ "in": "header",
1775
+ "description": "Bearer",
1776
+ "required": true,
1777
+ "schema": {
1778
+ "type": "string"
1779
+ }
1780
+ },
1781
+ {
1782
+ "name": "Range",
1783
+ "in": "header",
1784
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
1785
+ "schema": {
1786
+ "type": "string"
1787
+ }
1788
+ },
1789
+ {
1790
+ "name": "offset",
1791
+ "in": "query",
1792
+ "description": "количество элементов, которое нобходимо пропустить",
1793
+ "schema": {
1794
+ "type": "string"
1795
+ }
1796
+ },
1797
+ {
1798
+ "name": "fetch",
1799
+ "in": "query",
1800
+ "description": "количество эементов, которое необходимо вернуть",
1801
+ "schema": {
1802
+ "type": "string"
1803
+ }
1804
+ }
1805
+ ],
1806
+ "responses": {
1807
+ "200": {
1808
+ "description": "OK",
1809
+ "content": {
1810
+ "text/plain": {
1811
+ "schema": {
1812
+ "type": "object",
1813
+ "additionalProperties": {
1814
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Results.TaskViewTemplates.TaskViewTemplateResult"
1815
+ }
1816
+ }
1817
+ },
1818
+ "application/json": {
1819
+ "schema": {
1820
+ "type": "object",
1821
+ "additionalProperties": {
1822
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Results.TaskViewTemplates.TaskViewTemplateResult"
1823
+ }
1824
+ }
1825
+ },
1826
+ "text/json": {
1827
+ "schema": {
1828
+ "type": "object",
1829
+ "additionalProperties": {
1830
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Results.TaskViewTemplates.TaskViewTemplateResult"
1831
+ }
1832
+ }
1833
+ }
1834
+ }
1835
+ },
1836
+ "401": {
1837
+ "description": "Unauthorized"
1838
+ },
1839
+ "403": {
1840
+ "description": "Forbidden"
1841
+ },
1842
+ "206": {
1843
+ "description": "PartialContent",
1844
+ "headers": {
1845
+ "Content-Range": {
1846
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
1847
+ "schema": {
1848
+ "type": "string"
1849
+ }
1850
+ }
1851
+ }
1852
+ }
1853
+ }
1854
+ }
1855
+ },
1856
+ "/SubsystemView/{subsystemID}": {
1857
+ "get": {
1858
+ "tags": [
1859
+ "SubsystemView"
1860
+ ],
1861
+ "summary": "Возвращает cписок форм подсистемы.",
1862
+ "description": "<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
1863
+ "parameters": [
1864
+ {
1865
+ "name": "subsystemID",
1866
+ "in": "path",
1867
+ "description": "Идентификатор подсистемы",
1868
+ "required": true,
1869
+ "schema": {
1870
+ "type": "integer",
1871
+ "format": "int32"
1872
+ }
1873
+ },
1874
+ {
1875
+ "name": "Authorization",
1876
+ "in": "header",
1877
+ "description": "Bearer",
1878
+ "required": true,
1879
+ "schema": {
1880
+ "type": "string"
1881
+ }
1882
+ },
1883
+ {
1884
+ "name": "Range",
1885
+ "in": "header",
1886
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
1887
+ "schema": {
1888
+ "type": "string"
1889
+ }
1890
+ },
1891
+ {
1892
+ "name": "offset",
1893
+ "in": "query",
1894
+ "description": "количество элементов, которое нобходимо пропустить",
1895
+ "schema": {
1896
+ "type": "string"
1897
+ }
1898
+ },
1899
+ {
1900
+ "name": "fetch",
1901
+ "in": "query",
1902
+ "description": "количество эементов, которое необходимо вернуть",
1903
+ "schema": {
1904
+ "type": "string"
1905
+ }
1906
+ }
1907
+ ],
1908
+ "responses": {
1909
+ "200": {
1910
+ "description": "OK",
1911
+ "content": {
1912
+ "text/plain": {
1913
+ "schema": {
1914
+ "type": "array",
1915
+ "items": {
1916
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.SubsystemViewProjection"
1917
+ }
1918
+ }
1919
+ },
1920
+ "application/json": {
1921
+ "schema": {
1922
+ "type": "array",
1923
+ "items": {
1924
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.SubsystemViewProjection"
1925
+ }
1926
+ }
1927
+ },
1928
+ "text/json": {
1929
+ "schema": {
1930
+ "type": "array",
1931
+ "items": {
1932
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.SubsystemViewProjection"
1933
+ }
1934
+ }
1935
+ }
1936
+ }
1937
+ },
1938
+ "401": {
1939
+ "description": "Unauthorized"
1940
+ },
1941
+ "204": {
1942
+ "description": "No Content"
1943
+ },
1944
+ "403": {
1945
+ "description": "Forbidden"
1946
+ },
1947
+ "404": {
1948
+ "description": "Not Found",
1949
+ "content": {
1950
+ "text/plain": {
1951
+ "schema": {
1952
+ "type": "array",
1953
+ "items": {
1954
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1955
+ }
1956
+ }
1957
+ },
1958
+ "application/json": {
1959
+ "schema": {
1960
+ "type": "array",
1961
+ "items": {
1962
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1963
+ }
1964
+ }
1965
+ },
1966
+ "text/json": {
1967
+ "schema": {
1968
+ "type": "array",
1969
+ "items": {
1970
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1971
+ }
1972
+ }
1973
+ }
1974
+ }
1975
+ },
1976
+ "500": {
1977
+ "description": "Internal Server Error",
1978
+ "content": {
1979
+ "text/plain": {
1980
+ "schema": {
1981
+ "type": "array",
1982
+ "items": {
1983
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1984
+ }
1985
+ }
1986
+ },
1987
+ "application/json": {
1988
+ "schema": {
1989
+ "type": "array",
1990
+ "items": {
1991
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
1992
+ }
1993
+ }
1994
+ },
1995
+ "text/json": {
1996
+ "schema": {
1997
+ "type": "array",
1998
+ "items": {
1999
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2000
+ }
2001
+ }
2002
+ }
2003
+ }
2004
+ },
2005
+ "206": {
2006
+ "description": "PartialContent",
2007
+ "headers": {
2008
+ "Content-Range": {
2009
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
2010
+ "schema": {
2011
+ "type": "string"
2012
+ }
2013
+ }
2014
+ }
2015
+ }
2016
+ }
2017
+ }
2018
+ },
2019
+ "/SubsystemView": {
2020
+ "get": {
2021
+ "tags": [
2022
+ "SubsystemView"
2023
+ ],
2024
+ "summary": "Возвращает cписок форм подсистемы.",
2025
+ "description": "<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
2026
+ "parameters": [
2027
+ {
2028
+ "name": "subsystemID",
2029
+ "in": "path",
2030
+ "description": "Идентификатор подсистемы",
2031
+ "required": true,
2032
+ "schema": {
2033
+ "type": "integer",
2034
+ "format": "int32"
2035
+ }
2036
+ },
2037
+ {
2038
+ "name": "Authorization",
2039
+ "in": "header",
2040
+ "description": "Bearer",
2041
+ "required": true,
2042
+ "schema": {
2043
+ "type": "string"
2044
+ }
2045
+ },
2046
+ {
2047
+ "name": "Range",
2048
+ "in": "header",
2049
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
2050
+ "schema": {
2051
+ "type": "string"
2052
+ }
2053
+ },
2054
+ {
2055
+ "name": "offset",
2056
+ "in": "query",
2057
+ "description": "количество элементов, которое нобходимо пропустить",
2058
+ "schema": {
2059
+ "type": "string"
2060
+ }
2061
+ },
2062
+ {
2063
+ "name": "fetch",
2064
+ "in": "query",
2065
+ "description": "количество эементов, которое необходимо вернуть",
2066
+ "schema": {
2067
+ "type": "string"
2068
+ }
2069
+ }
2070
+ ],
2071
+ "responses": {
2072
+ "200": {
2073
+ "description": "OK",
2074
+ "content": {
2075
+ "text/plain": {
2076
+ "schema": {
2077
+ "type": "array",
2078
+ "items": {
2079
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.SubsystemViewProjection"
2080
+ }
2081
+ }
2082
+ },
2083
+ "application/json": {
2084
+ "schema": {
2085
+ "type": "array",
2086
+ "items": {
2087
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.SubsystemViewProjection"
2088
+ }
2089
+ }
2090
+ },
2091
+ "text/json": {
2092
+ "schema": {
2093
+ "type": "array",
2094
+ "items": {
2095
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.SubsystemViewProjection"
2096
+ }
2097
+ }
2098
+ }
2099
+ }
2100
+ },
2101
+ "401": {
2102
+ "description": "Unauthorized"
2103
+ },
2104
+ "204": {
2105
+ "description": "No Content"
2106
+ },
2107
+ "403": {
2108
+ "description": "Forbidden"
2109
+ },
2110
+ "404": {
2111
+ "description": "Not Found",
2112
+ "content": {
2113
+ "text/plain": {
2114
+ "schema": {
2115
+ "type": "array",
2116
+ "items": {
2117
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2118
+ }
2119
+ }
2120
+ },
2121
+ "application/json": {
2122
+ "schema": {
2123
+ "type": "array",
2124
+ "items": {
2125
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2126
+ }
2127
+ }
2128
+ },
2129
+ "text/json": {
2130
+ "schema": {
2131
+ "type": "array",
2132
+ "items": {
2133
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2134
+ }
2135
+ }
2136
+ }
2137
+ }
2138
+ },
2139
+ "500": {
2140
+ "description": "Internal Server Error",
2141
+ "content": {
2142
+ "text/plain": {
2143
+ "schema": {
2144
+ "type": "array",
2145
+ "items": {
2146
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2147
+ }
2148
+ }
2149
+ },
2150
+ "application/json": {
2151
+ "schema": {
2152
+ "type": "array",
2153
+ "items": {
2154
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2155
+ }
2156
+ }
2157
+ },
2158
+ "text/json": {
2159
+ "schema": {
2160
+ "type": "array",
2161
+ "items": {
2162
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2163
+ }
2164
+ }
2165
+ }
2166
+ }
2167
+ },
2168
+ "206": {
2169
+ "description": "PartialContent",
2170
+ "headers": {
2171
+ "Content-Range": {
2172
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
2173
+ "schema": {
2174
+ "type": "string"
2175
+ }
2176
+ }
2177
+ }
2178
+ }
2179
+ }
2180
+ }
2181
+ },
2182
+ "/TaskViewTemplate": {
2183
+ "get": {
2184
+ "tags": [
2185
+ "TaskViewTemplate"
2186
+ ],
2187
+ "summary": "Метод получения списка шаблонов формы заявки",
2188
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **TaskViewTemplateList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
2189
+ "parameters": [
2190
+ {
2191
+ "name": "Authorization",
2192
+ "in": "header",
2193
+ "description": "Bearer",
2194
+ "required": true,
2195
+ "schema": {
2196
+ "type": "string"
2197
+ }
2198
+ },
2199
+ {
2200
+ "name": "Range",
2201
+ "in": "header",
2202
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
2203
+ "schema": {
2204
+ "type": "string"
2205
+ }
2206
+ },
2207
+ {
2208
+ "name": "offset",
2209
+ "in": "query",
2210
+ "description": "количество элементов, которое нобходимо пропустить",
2211
+ "schema": {
2212
+ "type": "string"
2213
+ }
2214
+ },
2215
+ {
2216
+ "name": "fetch",
2217
+ "in": "query",
2218
+ "description": "количество эементов, которое необходимо вернуть",
2219
+ "schema": {
2220
+ "type": "string"
2221
+ }
2222
+ }
2223
+ ],
2224
+ "responses": {
2225
+ "200": {
2226
+ "description": "OK",
2227
+ "content": {
2228
+ "text/plain": {
2229
+ "schema": {
2230
+ "type": "object",
2231
+ "additionalProperties": {
2232
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Results.TaskViewTemplates.TaskViewTemplateResult"
2233
+ }
2234
+ }
2235
+ },
2236
+ "application/json": {
2237
+ "schema": {
2238
+ "type": "object",
2239
+ "additionalProperties": {
2240
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Results.TaskViewTemplates.TaskViewTemplateResult"
2241
+ }
2242
+ }
2243
+ },
2244
+ "text/json": {
2245
+ "schema": {
2246
+ "type": "object",
2247
+ "additionalProperties": {
2248
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Results.TaskViewTemplates.TaskViewTemplateResult"
2249
+ }
2250
+ }
2251
+ }
2252
+ }
2253
+ },
2254
+ "401": {
2255
+ "description": "Unauthorized"
2256
+ },
2257
+ "403": {
2258
+ "description": "Forbidden"
2259
+ },
2260
+ "206": {
2261
+ "description": "PartialContent",
2262
+ "headers": {
2263
+ "Content-Range": {
2264
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
2265
+ "schema": {
2266
+ "type": "string"
2267
+ }
2268
+ }
2269
+ }
2270
+ }
2271
+ }
2272
+ }
2273
+ },
2274
+ "/UserViews/Users/{userID}/Applications/{applicationID}/{code}": {
2275
+ "post": {
2276
+ "tags": [
2277
+ "UserViews"
2278
+ ],
2279
+ "summary": "Добавление индивидуального шаблона пользователя",
2280
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **UserViewWrite**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
2281
+ "parameters": [
2282
+ {
2283
+ "name": "userID",
2284
+ "in": "path",
2285
+ "description": "Идентификатор пользователя",
2286
+ "required": true,
2287
+ "schema": {
2288
+ "type": "integer",
2289
+ "format": "int32"
2290
+ }
2291
+ },
2292
+ {
2293
+ "name": "applicationID",
2294
+ "in": "path",
2295
+ "description": "Идентификатор приложения",
2296
+ "required": true,
2297
+ "schema": {
2298
+ "type": "integer",
2299
+ "format": "int32"
2300
+ }
2301
+ },
2302
+ {
2303
+ "name": "code",
2304
+ "in": "path",
2305
+ "description": "Код принадлежности к форме",
2306
+ "required": true,
2307
+ "schema": {
2308
+ "type": "string"
2309
+ }
2310
+ },
2311
+ {
2312
+ "name": "Authorization",
2313
+ "in": "header",
2314
+ "description": "Bearer",
2315
+ "required": true,
2316
+ "schema": {
2317
+ "type": "string"
2318
+ }
2319
+ },
2320
+ {
2321
+ "name": "Range",
2322
+ "in": "header",
2323
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
2324
+ "schema": {
2325
+ "type": "string"
2326
+ }
2327
+ },
2328
+ {
2329
+ "name": "offset",
2330
+ "in": "query",
2331
+ "description": "количество элементов, которое нобходимо пропустить",
2332
+ "schema": {
2333
+ "type": "string"
2334
+ }
2335
+ },
2336
+ {
2337
+ "name": "fetch",
2338
+ "in": "query",
2339
+ "description": "количество эементов, которое необходимо вернуть",
2340
+ "schema": {
2341
+ "type": "string"
2342
+ }
2343
+ }
2344
+ ],
2345
+ "requestBody": {
2346
+ "content": {
2347
+ "application/json-patch+json": {
2348
+ "schema": {
2349
+ "type": "object",
2350
+ "additionalProperties": {
2351
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
2352
+ }
2353
+ }
2354
+ },
2355
+ "application/json": {
2356
+ "schema": {
2357
+ "type": "object",
2358
+ "additionalProperties": {
2359
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
2360
+ }
2361
+ }
2362
+ },
2363
+ "text/json": {
2364
+ "schema": {
2365
+ "type": "object",
2366
+ "additionalProperties": {
2367
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
2368
+ }
2369
+ }
2370
+ },
2371
+ "application/*+json": {
2372
+ "schema": {
2373
+ "type": "object",
2374
+ "additionalProperties": {
2375
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
2376
+ }
2377
+ }
2378
+ }
2379
+ }
2380
+ },
2381
+ "responses": {
2382
+ "201": {
2383
+ "description": "Created"
2384
+ },
2385
+ "401": {
2386
+ "description": "Unauthorized"
2387
+ },
2388
+ "204": {
2389
+ "description": "No Content"
2390
+ },
2391
+ "403": {
2392
+ "description": "Forbidden"
2393
+ },
2394
+ "404": {
2395
+ "description": "Not Found",
2396
+ "content": {
2397
+ "text/plain": {
2398
+ "schema": {
2399
+ "type": "array",
2400
+ "items": {
2401
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2402
+ }
2403
+ }
2404
+ },
2405
+ "application/json": {
2406
+ "schema": {
2407
+ "type": "array",
2408
+ "items": {
2409
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2410
+ }
2411
+ }
2412
+ },
2413
+ "text/json": {
2414
+ "schema": {
2415
+ "type": "array",
2416
+ "items": {
2417
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2418
+ }
2419
+ }
2420
+ }
2421
+ }
2422
+ },
2423
+ "500": {
2424
+ "description": "Internal Server Error",
2425
+ "content": {
2426
+ "text/plain": {
2427
+ "schema": {
2428
+ "type": "array",
2429
+ "items": {
2430
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2431
+ }
2432
+ }
2433
+ },
2434
+ "application/json": {
2435
+ "schema": {
2436
+ "type": "array",
2437
+ "items": {
2438
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2439
+ }
2440
+ }
2441
+ },
2442
+ "text/json": {
2443
+ "schema": {
2444
+ "type": "array",
2445
+ "items": {
2446
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2447
+ }
2448
+ }
2449
+ }
2450
+ }
2451
+ },
2452
+ "206": {
2453
+ "description": "PartialContent",
2454
+ "headers": {
2455
+ "Content-Range": {
2456
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
2457
+ "schema": {
2458
+ "type": "string"
2459
+ }
2460
+ }
2461
+ }
2462
+ }
2463
+ }
2464
+ },
2465
+ "get": {
2466
+ "tags": [
2467
+ "UserViews"
2468
+ ],
2469
+ "summary": "Получение шаблона",
2470
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **UserViewRead**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
2471
+ "parameters": [
2472
+ {
2473
+ "name": "userID",
2474
+ "in": "path",
2475
+ "description": "Идентификатор пользователя",
2476
+ "required": true,
2477
+ "schema": {
2478
+ "type": "integer",
2479
+ "format": "int32"
2480
+ }
2481
+ },
2482
+ {
2483
+ "name": "applicationID",
2484
+ "in": "path",
2485
+ "description": "Идентификатор приложения",
2486
+ "required": true,
2487
+ "schema": {
2488
+ "type": "integer",
2489
+ "format": "int32"
2490
+ }
2491
+ },
2492
+ {
2493
+ "name": "code",
2494
+ "in": "path",
2495
+ "description": "Код принадлежности к форме",
2496
+ "required": true,
2497
+ "schema": {
2498
+ "type": "string"
2499
+ }
2500
+ },
2501
+ {
2502
+ "name": "Authorization",
2503
+ "in": "header",
2504
+ "description": "Bearer",
2505
+ "required": true,
2506
+ "schema": {
2507
+ "type": "string"
2508
+ }
2509
+ },
2510
+ {
2511
+ "name": "Range",
2512
+ "in": "header",
2513
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
2514
+ "schema": {
2515
+ "type": "string"
2516
+ }
2517
+ },
2518
+ {
2519
+ "name": "offset",
2520
+ "in": "query",
2521
+ "description": "количество элементов, которое нобходимо пропустить",
2522
+ "schema": {
2523
+ "type": "string"
2524
+ }
2525
+ },
2526
+ {
2527
+ "name": "fetch",
2528
+ "in": "query",
2529
+ "description": "количество эементов, которое необходимо вернуть",
2530
+ "schema": {
2531
+ "type": "string"
2532
+ }
2533
+ }
2534
+ ],
2535
+ "responses": {
2536
+ "200": {
2537
+ "description": "OK",
2538
+ "content": {
2539
+ "text/plain": {
2540
+ "schema": {
2541
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.TaskViewProjection"
2542
+ }
2543
+ },
2544
+ "application/json": {
2545
+ "schema": {
2546
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.TaskViewProjection"
2547
+ }
2548
+ },
2549
+ "text/json": {
2550
+ "schema": {
2551
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.TaskViewProjection"
2552
+ }
2553
+ }
2554
+ }
2555
+ },
2556
+ "401": {
2557
+ "description": "Unauthorized"
2558
+ },
2559
+ "204": {
2560
+ "description": "No Content"
2561
+ },
2562
+ "403": {
2563
+ "description": "Forbidden"
2564
+ },
2565
+ "404": {
2566
+ "description": "Not Found",
2567
+ "content": {
2568
+ "text/plain": {
2569
+ "schema": {
2570
+ "type": "array",
2571
+ "items": {
2572
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2573
+ }
2574
+ }
2575
+ },
2576
+ "application/json": {
2577
+ "schema": {
2578
+ "type": "array",
2579
+ "items": {
2580
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2581
+ }
2582
+ }
2583
+ },
2584
+ "text/json": {
2585
+ "schema": {
2586
+ "type": "array",
2587
+ "items": {
2588
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2589
+ }
2590
+ }
2591
+ }
2592
+ }
2593
+ },
2594
+ "500": {
2595
+ "description": "Internal Server Error",
2596
+ "content": {
2597
+ "text/plain": {
2598
+ "schema": {
2599
+ "type": "array",
2600
+ "items": {
2601
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2602
+ }
2603
+ }
2604
+ },
2605
+ "application/json": {
2606
+ "schema": {
2607
+ "type": "array",
2608
+ "items": {
2609
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2610
+ }
2611
+ }
2612
+ },
2613
+ "text/json": {
2614
+ "schema": {
2615
+ "type": "array",
2616
+ "items": {
2617
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2618
+ }
2619
+ }
2620
+ }
2621
+ }
2622
+ },
2623
+ "206": {
2624
+ "description": "PartialContent",
2625
+ "headers": {
2626
+ "Content-Range": {
2627
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
2628
+ "schema": {
2629
+ "type": "string"
2630
+ }
2631
+ }
2632
+ }
2633
+ }
2634
+ }
2635
+ },
2636
+ "put": {
2637
+ "tags": [
2638
+ "UserViews"
2639
+ ],
2640
+ "summary": "Изменение индивидуального шаблона пользователя",
2641
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **UserViewWrite**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
2642
+ "parameters": [
2643
+ {
2644
+ "name": "userID",
2645
+ "in": "path",
2646
+ "description": "Идентификатор пользователя",
2647
+ "required": true,
2648
+ "schema": {
2649
+ "type": "integer",
2650
+ "format": "int32"
2651
+ }
2652
+ },
2653
+ {
2654
+ "name": "applicationID",
2655
+ "in": "path",
2656
+ "description": "Идентификатор приложения",
2657
+ "required": true,
2658
+ "schema": {
2659
+ "type": "integer",
2660
+ "format": "int32"
2661
+ }
2662
+ },
2663
+ {
2664
+ "name": "code",
2665
+ "in": "path",
2666
+ "description": "Код принадлежности к форме",
2667
+ "required": true,
2668
+ "schema": {
2669
+ "type": "string"
2670
+ }
2671
+ },
2672
+ {
2673
+ "name": "Authorization",
2674
+ "in": "header",
2675
+ "description": "Bearer",
2676
+ "required": true,
2677
+ "schema": {
2678
+ "type": "string"
2679
+ }
2680
+ },
2681
+ {
2682
+ "name": "Range",
2683
+ "in": "header",
2684
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
2685
+ "schema": {
2686
+ "type": "string"
2687
+ }
2688
+ },
2689
+ {
2690
+ "name": "offset",
2691
+ "in": "query",
2692
+ "description": "количество элементов, которое нобходимо пропустить",
2693
+ "schema": {
2694
+ "type": "string"
2695
+ }
2696
+ },
2697
+ {
2698
+ "name": "fetch",
2699
+ "in": "query",
2700
+ "description": "количество эементов, которое необходимо вернуть",
2701
+ "schema": {
2702
+ "type": "string"
2703
+ }
2704
+ }
2705
+ ],
2706
+ "requestBody": {
2707
+ "content": {
2708
+ "application/json-patch+json": {
2709
+ "schema": {
2710
+ "type": "object",
2711
+ "additionalProperties": {
2712
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
2713
+ }
2714
+ }
2715
+ },
2716
+ "application/json": {
2717
+ "schema": {
2718
+ "type": "object",
2719
+ "additionalProperties": {
2720
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
2721
+ }
2722
+ }
2723
+ },
2724
+ "text/json": {
2725
+ "schema": {
2726
+ "type": "object",
2727
+ "additionalProperties": {
2728
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
2729
+ }
2730
+ }
2731
+ },
2732
+ "application/*+json": {
2733
+ "schema": {
2734
+ "type": "object",
2735
+ "additionalProperties": {
2736
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
2737
+ }
2738
+ }
2739
+ }
2740
+ }
2741
+ },
2742
+ "responses": {
2743
+ "202": {
2744
+ "description": "Accepted"
2745
+ },
2746
+ "401": {
2747
+ "description": "Unauthorized"
2748
+ },
2749
+ "204": {
2750
+ "description": "No Content"
2751
+ },
2752
+ "403": {
2753
+ "description": "Forbidden"
2754
+ },
2755
+ "404": {
2756
+ "description": "Not Found",
2757
+ "content": {
2758
+ "text/plain": {
2759
+ "schema": {
2760
+ "type": "array",
2761
+ "items": {
2762
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2763
+ }
2764
+ }
2765
+ },
2766
+ "application/json": {
2767
+ "schema": {
2768
+ "type": "array",
2769
+ "items": {
2770
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2771
+ }
2772
+ }
2773
+ },
2774
+ "text/json": {
2775
+ "schema": {
2776
+ "type": "array",
2777
+ "items": {
2778
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2779
+ }
2780
+ }
2781
+ }
2782
+ }
2783
+ },
2784
+ "500": {
2785
+ "description": "Internal Server Error",
2786
+ "content": {
2787
+ "text/plain": {
2788
+ "schema": {
2789
+ "type": "array",
2790
+ "items": {
2791
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2792
+ }
2793
+ }
2794
+ },
2795
+ "application/json": {
2796
+ "schema": {
2797
+ "type": "array",
2798
+ "items": {
2799
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2800
+ }
2801
+ }
2802
+ },
2803
+ "text/json": {
2804
+ "schema": {
2805
+ "type": "array",
2806
+ "items": {
2807
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2808
+ }
2809
+ }
2810
+ }
2811
+ }
2812
+ },
2813
+ "206": {
2814
+ "description": "PartialContent",
2815
+ "headers": {
2816
+ "Content-Range": {
2817
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
2818
+ "schema": {
2819
+ "type": "string"
2820
+ }
2821
+ }
2822
+ }
2823
+ }
2824
+ }
2825
+ }
2826
+ },
2827
+ "/UserViews/Users/{id}": {
2828
+ "get": {
2829
+ "tags": [
2830
+ "UserViews"
2831
+ ],
2832
+ "summary": "Получение списка шаблонов пользователя",
2833
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **UserViewRead**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
2834
+ "parameters": [
2835
+ {
2836
+ "name": "id",
2837
+ "in": "path",
2838
+ "description": "Идентификатор пользователя",
2839
+ "required": true,
2840
+ "schema": {
2841
+ "type": "integer",
2842
+ "format": "int32"
2843
+ }
2844
+ },
2845
+ {
2846
+ "name": "Authorization",
2847
+ "in": "header",
2848
+ "description": "Bearer",
2849
+ "required": true,
2850
+ "schema": {
2851
+ "type": "string"
2852
+ }
2853
+ },
2854
+ {
2855
+ "name": "Range",
2856
+ "in": "header",
2857
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
2858
+ "schema": {
2859
+ "type": "string"
2860
+ }
2861
+ },
2862
+ {
2863
+ "name": "offset",
2864
+ "in": "query",
2865
+ "description": "количество элементов, которое нобходимо пропустить",
2866
+ "schema": {
2867
+ "type": "string"
2868
+ }
2869
+ },
2870
+ {
2871
+ "name": "fetch",
2872
+ "in": "query",
2873
+ "description": "количество эементов, которое необходимо вернуть",
2874
+ "schema": {
2875
+ "type": "string"
2876
+ }
2877
+ }
2878
+ ],
2879
+ "responses": {
2880
+ "200": {
2881
+ "description": "OK",
2882
+ "content": {
2883
+ "text/plain": {
2884
+ "schema": {
2885
+ "type": "array",
2886
+ "items": {
2887
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.TaskViewProjection"
2888
+ }
2889
+ }
2890
+ },
2891
+ "application/json": {
2892
+ "schema": {
2893
+ "type": "array",
2894
+ "items": {
2895
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.TaskViewProjection"
2896
+ }
2897
+ }
2898
+ },
2899
+ "text/json": {
2900
+ "schema": {
2901
+ "type": "array",
2902
+ "items": {
2903
+ "$ref": "#/components/schemas/HubEx.DataProvider.Api.Projections.UI.TaskViewProjection"
2904
+ }
2905
+ }
2906
+ }
2907
+ }
2908
+ },
2909
+ "401": {
2910
+ "description": "Unauthorized"
2911
+ },
2912
+ "204": {
2913
+ "description": "No Content"
2914
+ },
2915
+ "403": {
2916
+ "description": "Forbidden"
2917
+ },
2918
+ "404": {
2919
+ "description": "Not Found",
2920
+ "content": {
2921
+ "text/plain": {
2922
+ "schema": {
2923
+ "type": "array",
2924
+ "items": {
2925
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2926
+ }
2927
+ }
2928
+ },
2929
+ "application/json": {
2930
+ "schema": {
2931
+ "type": "array",
2932
+ "items": {
2933
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2934
+ }
2935
+ }
2936
+ },
2937
+ "text/json": {
2938
+ "schema": {
2939
+ "type": "array",
2940
+ "items": {
2941
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2942
+ }
2943
+ }
2944
+ }
2945
+ }
2946
+ },
2947
+ "500": {
2948
+ "description": "Internal Server Error",
2949
+ "content": {
2950
+ "text/plain": {
2951
+ "schema": {
2952
+ "type": "array",
2953
+ "items": {
2954
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2955
+ }
2956
+ }
2957
+ },
2958
+ "application/json": {
2959
+ "schema": {
2960
+ "type": "array",
2961
+ "items": {
2962
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2963
+ }
2964
+ }
2965
+ },
2966
+ "text/json": {
2967
+ "schema": {
2968
+ "type": "array",
2969
+ "items": {
2970
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
2971
+ }
2972
+ }
2973
+ }
2974
+ }
2975
+ },
2976
+ "206": {
2977
+ "description": "PartialContent",
2978
+ "headers": {
2979
+ "Content-Range": {
2980
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
2981
+ "schema": {
2982
+ "type": "string"
2983
+ }
2984
+ }
2985
+ }
2986
+ }
2987
+ }
2988
+ }
2989
+ },
2990
+ "/UserViews/Users/{userID}/Applications/{applicationID}/{code}/reset": {
2991
+ "put": {
2992
+ "tags": [
2993
+ "UserViews"
2994
+ ],
2995
+ "summary": "Сброс индивидуального шаблона пользователя",
2996
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **UserViewWrite**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
2997
+ "parameters": [
2998
+ {
2999
+ "name": "userID",
3000
+ "in": "path",
3001
+ "description": "Идентификатор пользователя",
3002
+ "required": true,
3003
+ "schema": {
3004
+ "type": "integer",
3005
+ "format": "int32"
3006
+ }
3007
+ },
3008
+ {
3009
+ "name": "applicationID",
3010
+ "in": "path",
3011
+ "description": "Идентификатор приложения",
3012
+ "required": true,
3013
+ "schema": {
3014
+ "type": "integer",
3015
+ "format": "int32"
3016
+ }
3017
+ },
3018
+ {
3019
+ "name": "code",
3020
+ "in": "path",
3021
+ "description": "Код принадлежности к форме",
3022
+ "required": true,
3023
+ "schema": {
3024
+ "type": "string"
3025
+ }
3026
+ },
3027
+ {
3028
+ "name": "Authorization",
3029
+ "in": "header",
3030
+ "description": "Bearer",
3031
+ "required": true,
3032
+ "schema": {
3033
+ "type": "string"
3034
+ }
3035
+ },
3036
+ {
3037
+ "name": "Range",
3038
+ "in": "header",
3039
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
3040
+ "schema": {
3041
+ "type": "string"
3042
+ }
3043
+ },
3044
+ {
3045
+ "name": "offset",
3046
+ "in": "query",
3047
+ "description": "количество элементов, которое нобходимо пропустить",
3048
+ "schema": {
3049
+ "type": "string"
3050
+ }
3051
+ },
3052
+ {
3053
+ "name": "fetch",
3054
+ "in": "query",
3055
+ "description": "количество эементов, которое необходимо вернуть",
3056
+ "schema": {
3057
+ "type": "string"
3058
+ }
3059
+ }
3060
+ ],
3061
+ "responses": {
3062
+ "202": {
3063
+ "description": "Accepted"
3064
+ },
3065
+ "401": {
3066
+ "description": "Unauthorized"
3067
+ },
3068
+ "204": {
3069
+ "description": "No Content"
3070
+ },
3071
+ "403": {
3072
+ "description": "Forbidden"
3073
+ },
3074
+ "404": {
3075
+ "description": "Not Found",
3076
+ "content": {
3077
+ "text/plain": {
3078
+ "schema": {
3079
+ "type": "array",
3080
+ "items": {
3081
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3082
+ }
3083
+ }
3084
+ },
3085
+ "application/json": {
3086
+ "schema": {
3087
+ "type": "array",
3088
+ "items": {
3089
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3090
+ }
3091
+ }
3092
+ },
3093
+ "text/json": {
3094
+ "schema": {
3095
+ "type": "array",
3096
+ "items": {
3097
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3098
+ }
3099
+ }
3100
+ }
3101
+ }
3102
+ },
3103
+ "500": {
3104
+ "description": "Internal Server Error",
3105
+ "content": {
3106
+ "text/plain": {
3107
+ "schema": {
3108
+ "type": "array",
3109
+ "items": {
3110
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3111
+ }
3112
+ }
3113
+ },
3114
+ "application/json": {
3115
+ "schema": {
3116
+ "type": "array",
3117
+ "items": {
3118
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3119
+ }
3120
+ }
3121
+ },
3122
+ "text/json": {
3123
+ "schema": {
3124
+ "type": "array",
3125
+ "items": {
3126
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3127
+ }
3128
+ }
3129
+ }
3130
+ }
3131
+ },
3132
+ "206": {
3133
+ "description": "PartialContent",
3134
+ "headers": {
3135
+ "Content-Range": {
3136
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
3137
+ "schema": {
3138
+ "type": "string"
3139
+ }
3140
+ }
3141
+ }
3142
+ }
3143
+ }
3144
+ }
3145
+ },
3146
+ "/Views/Applications/{applicationID}/{code}": {
3147
+ "put": {
3148
+ "tags": [
3149
+ "Views"
3150
+ ],
3151
+ "summary": "Изменение дефолтного шаблона",
3152
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **DefaultViewWrite**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
3153
+ "parameters": [
3154
+ {
3155
+ "name": "applicationID",
3156
+ "in": "path",
3157
+ "description": "Идентификатор приложения",
3158
+ "required": true,
3159
+ "schema": {
3160
+ "type": "integer",
3161
+ "format": "int32"
3162
+ }
3163
+ },
3164
+ {
3165
+ "name": "code",
3166
+ "in": "path",
3167
+ "description": "Код принадлежности к форме",
3168
+ "required": true,
3169
+ "schema": {
3170
+ "type": "string"
3171
+ }
3172
+ },
3173
+ {
3174
+ "name": "Authorization",
3175
+ "in": "header",
3176
+ "description": "Bearer",
3177
+ "required": true,
3178
+ "schema": {
3179
+ "type": "string"
3180
+ }
3181
+ },
3182
+ {
3183
+ "name": "Range",
3184
+ "in": "header",
3185
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
3186
+ "schema": {
3187
+ "type": "string"
3188
+ }
3189
+ },
3190
+ {
3191
+ "name": "offset",
3192
+ "in": "query",
3193
+ "description": "количество элементов, которое нобходимо пропустить",
3194
+ "schema": {
3195
+ "type": "string"
3196
+ }
3197
+ },
3198
+ {
3199
+ "name": "fetch",
3200
+ "in": "query",
3201
+ "description": "количество эементов, которое необходимо вернуть",
3202
+ "schema": {
3203
+ "type": "string"
3204
+ }
3205
+ }
3206
+ ],
3207
+ "requestBody": {
3208
+ "description": "Шаблон",
3209
+ "content": {
3210
+ "application/json-patch+json": {
3211
+ "schema": {
3212
+ "type": "object",
3213
+ "additionalProperties": {
3214
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
3215
+ }
3216
+ }
3217
+ },
3218
+ "application/json": {
3219
+ "schema": {
3220
+ "type": "object",
3221
+ "additionalProperties": {
3222
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
3223
+ }
3224
+ }
3225
+ },
3226
+ "text/json": {
3227
+ "schema": {
3228
+ "type": "object",
3229
+ "additionalProperties": {
3230
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
3231
+ }
3232
+ }
3233
+ },
3234
+ "application/*+json": {
3235
+ "schema": {
3236
+ "type": "object",
3237
+ "additionalProperties": {
3238
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
3239
+ }
3240
+ }
3241
+ }
3242
+ }
3243
+ },
3244
+ "responses": {
3245
+ "202": {
3246
+ "description": "Accepted"
3247
+ },
3248
+ "401": {
3249
+ "description": "Unauthorized"
3250
+ },
3251
+ "204": {
3252
+ "description": "No Content"
3253
+ },
3254
+ "403": {
3255
+ "description": "Forbidden"
3256
+ },
3257
+ "404": {
3258
+ "description": "Not Found",
3259
+ "content": {
3260
+ "text/plain": {
3261
+ "schema": {
3262
+ "type": "array",
3263
+ "items": {
3264
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3265
+ }
3266
+ }
3267
+ },
3268
+ "application/json": {
3269
+ "schema": {
3270
+ "type": "array",
3271
+ "items": {
3272
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3273
+ }
3274
+ }
3275
+ },
3276
+ "text/json": {
3277
+ "schema": {
3278
+ "type": "array",
3279
+ "items": {
3280
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3281
+ }
3282
+ }
3283
+ }
3284
+ }
3285
+ },
3286
+ "500": {
3287
+ "description": "Internal Server Error",
3288
+ "content": {
3289
+ "text/plain": {
3290
+ "schema": {
3291
+ "type": "array",
3292
+ "items": {
3293
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3294
+ }
3295
+ }
3296
+ },
3297
+ "application/json": {
3298
+ "schema": {
3299
+ "type": "array",
3300
+ "items": {
3301
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3302
+ }
3303
+ }
3304
+ },
3305
+ "text/json": {
3306
+ "schema": {
3307
+ "type": "array",
3308
+ "items": {
3309
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3310
+ }
3311
+ }
3312
+ }
3313
+ }
3314
+ },
3315
+ "206": {
3316
+ "description": "PartialContent",
3317
+ "headers": {
3318
+ "Content-Range": {
3319
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
3320
+ "schema": {
3321
+ "type": "string"
3322
+ }
3323
+ }
3324
+ }
3325
+ }
3326
+ }
3327
+ }
3328
+ },
3329
+ "/Views/Applications/{applicationID}/{code}/reset": {
3330
+ "put": {
3331
+ "tags": [
3332
+ "Views"
3333
+ ],
3334
+ "summary": "Сброс дефолтного шаблона в значение из шаблонного тенанта",
3335
+ "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **DefaultViewWrite**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
3336
+ "parameters": [
3337
+ {
3338
+ "name": "applicationID",
3339
+ "in": "path",
3340
+ "description": "Идентификатор приложения",
3341
+ "required": true,
3342
+ "schema": {
3343
+ "type": "integer",
3344
+ "format": "int32"
3345
+ }
3346
+ },
3347
+ {
3348
+ "name": "code",
3349
+ "in": "path",
3350
+ "description": "Код принадлежности к форме",
3351
+ "required": true,
3352
+ "schema": {
3353
+ "type": "string"
3354
+ }
3355
+ },
3356
+ {
3357
+ "name": "Authorization",
3358
+ "in": "header",
3359
+ "description": "Bearer",
3360
+ "required": true,
3361
+ "schema": {
3362
+ "type": "string"
3363
+ }
3364
+ },
3365
+ {
3366
+ "name": "Range",
3367
+ "in": "header",
3368
+ "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
3369
+ "schema": {
3370
+ "type": "string"
3371
+ }
3372
+ },
3373
+ {
3374
+ "name": "offset",
3375
+ "in": "query",
3376
+ "description": "количество элементов, которое нобходимо пропустить",
3377
+ "schema": {
3378
+ "type": "string"
3379
+ }
3380
+ },
3381
+ {
3382
+ "name": "fetch",
3383
+ "in": "query",
3384
+ "description": "количество эементов, которое необходимо вернуть",
3385
+ "schema": {
3386
+ "type": "string"
3387
+ }
3388
+ }
3389
+ ],
3390
+ "responses": {
3391
+ "202": {
3392
+ "description": "Accepted"
3393
+ },
3394
+ "401": {
3395
+ "description": "Unauthorized"
3396
+ },
3397
+ "204": {
3398
+ "description": "No Content"
3399
+ },
3400
+ "403": {
3401
+ "description": "Forbidden"
3402
+ },
3403
+ "404": {
3404
+ "description": "Not Found",
3405
+ "content": {
3406
+ "text/plain": {
3407
+ "schema": {
3408
+ "type": "array",
3409
+ "items": {
3410
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3411
+ }
3412
+ }
3413
+ },
3414
+ "application/json": {
3415
+ "schema": {
3416
+ "type": "array",
3417
+ "items": {
3418
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3419
+ }
3420
+ }
3421
+ },
3422
+ "text/json": {
3423
+ "schema": {
3424
+ "type": "array",
3425
+ "items": {
3426
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3427
+ }
3428
+ }
3429
+ }
3430
+ }
3431
+ },
3432
+ "500": {
3433
+ "description": "Internal Server Error",
3434
+ "content": {
3435
+ "text/plain": {
3436
+ "schema": {
3437
+ "type": "array",
3438
+ "items": {
3439
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3440
+ }
3441
+ }
3442
+ },
3443
+ "application/json": {
3444
+ "schema": {
3445
+ "type": "array",
3446
+ "items": {
3447
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3448
+ }
3449
+ }
3450
+ },
3451
+ "text/json": {
3452
+ "schema": {
3453
+ "type": "array",
3454
+ "items": {
3455
+ "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
3456
+ }
3457
+ }
3458
+ }
3459
+ }
3460
+ },
3461
+ "206": {
3462
+ "description": "PartialContent",
3463
+ "headers": {
3464
+ "Content-Range": {
3465
+ "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
3466
+ "schema": {
3467
+ "type": "string"
3468
+ }
3469
+ }
3470
+ }
3471
+ }
3472
+ }
3473
+ }
3474
+ }
3475
+ },
3476
+ "components": {
3477
+ "schemas": {
3478
+ "HubEx.DataProvider.Api.Data.UI.MergeData": {
3479
+ "required": [
3480
+ "filterCode",
3481
+ "sortOrder"
3482
+ ],
3483
+ "type": "object",
3484
+ "properties": {
3485
+ "filterCode": {
3486
+ "minLength": 1,
3487
+ "type": "string"
3488
+ },
3489
+ "sortOrder": {
3490
+ "type": "integer",
3491
+ "format": "int32"
3492
+ }
3493
+ },
3494
+ "additionalProperties": false
3495
+ },
3496
+ "HubEx.DataProvider.Api.Entities.UI.UserFilterFavouriteEntity": {
3497
+ "type": "object",
3498
+ "properties": {
3499
+ "tenantID": {
3500
+ "type": "integer",
3501
+ "format": "int32"
3502
+ },
3503
+ "userID": {
3504
+ "type": "integer",
3505
+ "format": "int32"
3506
+ },
3507
+ "applicationID": {
3508
+ "type": "integer",
3509
+ "format": "int32"
3510
+ },
3511
+ "resource": {
3512
+ "type": "string",
3513
+ "nullable": true
3514
+ },
3515
+ "filterCode": {
3516
+ "type": "string",
3517
+ "nullable": true
3518
+ },
3519
+ "sortOrder": {
3520
+ "type": "integer",
3521
+ "format": "int32"
3522
+ }
3523
+ },
3524
+ "additionalProperties": false
3525
+ },
3526
+ "HubEx.DataProvider.Api.Projections.UI.SubsystemViewProjection": {
3527
+ "type": "object",
3528
+ "properties": {
3529
+ "subsystemID": {
3530
+ "type": "integer",
3531
+ "format": "int32"
3532
+ },
3533
+ "viewCode": {
3534
+ "type": "string",
3535
+ "nullable": true
3536
+ },
3537
+ "description": {
3538
+ "type": "string",
3539
+ "nullable": true
3540
+ }
3541
+ },
3542
+ "additionalProperties": false
3543
+ },
3544
+ "HubEx.DataProvider.Api.Projections.UI.TaskViewProjection": {
3545
+ "type": "object",
3546
+ "properties": {
3547
+ "applicationID": {
3548
+ "type": "integer",
3549
+ "format": "int32"
3550
+ },
3551
+ "subsystemViewCode": {
3552
+ "type": "string",
3553
+ "nullable": true
3554
+ },
3555
+ "dataJson": {
3556
+ "type": "string",
3557
+ "nullable": true
3558
+ },
3559
+ "isDefault": {
3560
+ "type": "boolean",
3561
+ "nullable": true
3562
+ }
3563
+ },
3564
+ "additionalProperties": false
3565
+ },
3566
+ "HubEx.Service.UI.Api.Dto.AttributeDto": {
3567
+ "type": "object",
3568
+ "properties": {
3569
+ "id": {
3570
+ "type": "integer",
3571
+ "description": "Идентификатор в системе",
3572
+ "format": "int32",
3573
+ "readOnly": true
3574
+ },
3575
+ "name": {
3576
+ "type": "string",
3577
+ "description": "Наименование в системе",
3578
+ "nullable": true,
3579
+ "readOnly": true
3580
+ },
3581
+ "isInUse": {
3582
+ "type": "boolean",
3583
+ "description": "Признак того, что атрибут задействован в шаблоне",
3584
+ "readOnly": true
3585
+ }
3586
+ },
3587
+ "additionalProperties": false,
3588
+ "description": "Упрощённое представление атрибута (дополнительное поле)"
3589
+ },
3590
+ "HubEx.Service.UI.Api.Dto.ComponentDto": {
3591
+ "type": "object",
3592
+ "properties": {
3593
+ "id": {
3594
+ "type": "integer",
3595
+ "description": "Внутренний идентификатор в системе",
3596
+ "format": "int32",
3597
+ "readOnly": true
3598
+ },
3599
+ "code": {
3600
+ "type": "string",
3601
+ "description": "Внутренний код",
3602
+ "nullable": true,
3603
+ "readOnly": true
3604
+ },
3605
+ "description": {
3606
+ "type": "string",
3607
+ "description": "Описание",
3608
+ "nullable": true,
3609
+ "readOnly": true
3610
+ },
3611
+ "isRequired": {
3612
+ "type": "boolean",
3613
+ "description": "Признак того, что элемент должен быть представлен в шаблоне (for future use)",
3614
+ "readOnly": true
3615
+ },
3616
+ "isInUse": {
3617
+ "type": "boolean",
3618
+ "description": "Признак того, что компонент задействован в шаблоне",
3619
+ "readOnly": true
3620
+ }
3621
+ },
3622
+ "additionalProperties": false,
3623
+ "description": "Представление стандартных элементов управления UI в системе"
3624
+ },
3625
+ "HubEx.Service.UI.Api.Dto.FieldTypeEnum": {
3626
+ "enum": [
3627
+ "Component",
3628
+ "Attribute"
3629
+ ],
3630
+ "type": "string",
3631
+ "description": "Тип поля на форме заявки"
3632
+ },
3633
+ "HubEx.Service.UI.Api.Dto.LayoutBlockDto": {
3634
+ "required": [
3635
+ "fields",
3636
+ "name"
3637
+ ],
3638
+ "type": "object",
3639
+ "properties": {
3640
+ "id": {
3641
+ "type": "integer",
3642
+ "description": "Внутренний идентификатор сущности dto",
3643
+ "format": "int32",
3644
+ "nullable": true
3645
+ },
3646
+ "index": {
3647
+ "type": "integer",
3648
+ "description": "Индекс блока",
3649
+ "format": "int32"
3650
+ },
3651
+ "name": {
3652
+ "minLength": 1,
3653
+ "type": "string",
3654
+ "description": "Имя блока для отображения"
3655
+ },
3656
+ "fields": {
3657
+ "maxItems": 1024,
3658
+ "minItems": 0,
3659
+ "type": "array",
3660
+ "items": {
3661
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutFieldDto"
3662
+ },
3663
+ "description": "Список полей размещённых в блоке"
3664
+ }
3665
+ },
3666
+ "additionalProperties": false,
3667
+ "description": "UI шаблон представления блока элементов управления"
3668
+ },
3669
+ "HubEx.Service.UI.Api.Dto.LayoutColumnDto": {
3670
+ "required": [
3671
+ "blocks",
3672
+ "index"
3673
+ ],
3674
+ "type": "object",
3675
+ "properties": {
3676
+ "id": {
3677
+ "type": "integer",
3678
+ "description": "Внутренний идентификатор сущности dto",
3679
+ "format": "int32",
3680
+ "nullable": true
3681
+ },
3682
+ "index": {
3683
+ "type": "integer",
3684
+ "description": "Индекс колонки",
3685
+ "format": "int32"
3686
+ },
3687
+ "blocks": {
3688
+ "maxItems": 24,
3689
+ "minItems": 0,
3690
+ "type": "array",
3691
+ "items": {
3692
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutBlockDto"
3693
+ },
3694
+ "description": "Список блоков размещённых в колонке"
3695
+ }
3696
+ },
3697
+ "additionalProperties": false,
3698
+ "description": "UI шаблон представления колонки"
3699
+ },
3700
+ "HubEx.Service.UI.Api.Dto.LayoutFieldDto": {
3701
+ "required": [
3702
+ "code",
3703
+ "label",
3704
+ "type"
3705
+ ],
3706
+ "type": "object",
3707
+ "properties": {
3708
+ "id": {
3709
+ "type": "integer",
3710
+ "description": "Внутренний идентификатор сущности dto",
3711
+ "format": "int32",
3712
+ "nullable": true
3713
+ },
3714
+ "index": {
3715
+ "type": "integer",
3716
+ "description": "Индекс поля",
3717
+ "format": "int32"
3718
+ },
3719
+ "label": {
3720
+ "maxLength": 256,
3721
+ "minLength": 1,
3722
+ "type": "string",
3723
+ "description": "Подпись для поля"
3724
+ },
3725
+ "type": {
3726
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.FieldTypeEnum"
3727
+ },
3728
+ "code": {
3729
+ "minLength": 1,
3730
+ "type": "string",
3731
+ "description": "Код компонента или идентификатор атрибута"
3732
+ },
3733
+ "color": {
3734
+ "type": "string",
3735
+ "description": "Цвет",
3736
+ "nullable": true
3737
+ },
3738
+ "img": {
3739
+ "type": "string",
3740
+ "description": "Пиктограмма",
3741
+ "nullable": true
3742
+ }
3743
+ },
3744
+ "additionalProperties": false,
3745
+ "description": "UI шаблон представления поля на форме"
3746
+ },
3747
+ "HubEx.Service.UI.Api.Dto.LayoutTaskTypeDto": {
3748
+ "type": "object",
3749
+ "properties": {
3750
+ "id": {
3751
+ "type": "integer",
3752
+ "description": "Идентификатор типа",
3753
+ "format": "int32"
3754
+ },
3755
+ "name": {
3756
+ "type": "string",
3757
+ "description": "Имя типа",
3758
+ "nullable": true
3759
+ }
3760
+ },
3761
+ "additionalProperties": false,
3762
+ "description": "Представление для типа задачи"
3763
+ },
3764
+ "HubEx.Service.UI.Api.Dto.LayoutTemplateDto": {
3765
+ "required": [
3766
+ "columns"
3767
+ ],
3768
+ "type": "object",
3769
+ "properties": {
3770
+ "id": {
3771
+ "type": "integer",
3772
+ "description": "Внутренний идентификатор сущности dto",
3773
+ "format": "int32",
3774
+ "nullable": true
3775
+ },
3776
+ "isDefault": {
3777
+ "type": "boolean",
3778
+ "description": "Признак того, что шаблон используется как настройка по умолчанию"
3779
+ },
3780
+ "name": {
3781
+ "type": "string",
3782
+ "description": "Название шаблона (for future use)",
3783
+ "nullable": true
3784
+ },
3785
+ "columns": {
3786
+ "maxItems": 2,
3787
+ "minItems": 0,
3788
+ "type": "array",
3789
+ "items": {
3790
+ "$ref": "#/components/schemas/HubEx.Service.UI.Api.Dto.LayoutColumnDto"
3791
+ },
3792
+ "description": "Список колонок в представлении заявки"
3793
+ },
3794
+ "taskTypes": {
3795
+ "type": "array",
3796
+ "items": {
3797
+ "type": "integer",
3798
+ "format": "int32"
3799
+ },
3800
+ "description": "Идентификаторы типов задач к которым применим шаблон",
3801
+ "nullable": true
3802
+ }
3803
+ },
3804
+ "additionalProperties": false,
3805
+ "description": "UI шаблон представления заявки"
3806
+ },
3807
+ "HubEx.Service.UI.Api.Results.Base.ComponentResult": {
3808
+ "type": "object",
3809
+ "properties": {
3810
+ "code": {
3811
+ "type": "string",
3812
+ "description": "Код",
3813
+ "nullable": true
3814
+ },
3815
+ "description": {
3816
+ "type": "string",
3817
+ "description": "Описание",
3818
+ "nullable": true
3819
+ }
3820
+ },
3821
+ "additionalProperties": false,
3822
+ "description": "Данные компонента"
3823
+ },
3824
+ "HubEx.Service.UI.Api.Results.TaskViewTemplates.TaskViewTemplateResult": {
3825
+ "type": "object",
3826
+ "properties": {
3827
+ "name": {
3828
+ "type": "string",
3829
+ "description": "Имя формы заявки",
3830
+ "nullable": true
3831
+ },
3832
+ "code": {
3833
+ "type": "string",
3834
+ "description": "Код с системе",
3835
+ "nullable": true
3836
+ },
3837
+ "isDefault": {
3838
+ "type": "boolean",
3839
+ "description": "Является ли оно по умолчанию"
3840
+ }
3841
+ },
3842
+ "additionalProperties": false,
3843
+ "description": "Шаблон формы зявка"
3844
+ },
3845
+ "Newtonsoft.Json.Linq.JToken": {
3846
+ "type": "array",
3847
+ "items": {
3848
+ "$ref": "#/components/schemas/Newtonsoft.Json.Linq.JToken"
3849
+ }
3850
+ },
3851
+ "SmartService.Common.ExceptionHandling.Models.ErrorModel": {
3852
+ "type": "object",
3853
+ "properties": {
3854
+ "traceIdentifier": {
3855
+ "type": "string",
3856
+ "nullable": true
3857
+ },
3858
+ "code": {
3859
+ "type": "string",
3860
+ "nullable": true
3861
+ },
3862
+ "message": {
3863
+ "type": "string",
3864
+ "nullable": true
3865
+ },
3866
+ "arguments": {
3867
+ "type": "object",
3868
+ "additionalProperties": {
3869
+ "type": "string",
3870
+ "nullable": true
3871
+ },
3872
+ "nullable": true
3873
+ }
3874
+ },
3875
+ "additionalProperties": false
3876
+ }
3877
+ }
3878
+ }
3879
+ }