@hubex/mcp 0.9.20261003 → 0.9.20261008

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.
@@ -9,6 +9,11 @@
9
9
  },
10
10
  "version": "v1.0.0.0"
11
11
  },
12
+ "servers": [
13
+ {
14
+ "url": "/WSP"
15
+ }
16
+ ],
12
17
  "paths": {
13
18
  "/ScheduleRules": {
14
19
  "get": {
@@ -16,39 +21,31 @@
16
21
  "ScheduleRules"
17
22
  ],
18
23
  "summary": "Возвращает список доступных графиков рабочего времени",
19
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
20
24
  "parameters": [
21
25
  {
22
- "name": "Authorization",
23
- "in": "header",
24
- "description": "Bearer",
25
- "required": true,
26
- "schema": {
27
- "type": "string"
28
- }
29
- },
30
- {
31
- "name": "Range",
26
+ "name": "X-Application-ID",
32
27
  "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": "количество эементов, которое необходимо вернуть",
28
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
50
29
  "schema": {
51
- "type": "string"
30
+ "enum": [
31
+ 1,
32
+ 2,
33
+ 3,
34
+ 4,
35
+ 5,
36
+ 6
37
+ ],
38
+ "type": "integer",
39
+ "format": "int32",
40
+ "default": 3,
41
+ "x-enumNames": [
42
+ "EngineerMobile",
43
+ "CustomerMobile",
44
+ "MainWeb",
45
+ "AdminWeb",
46
+ "Api",
47
+ "PlateWeb"
48
+ ]
52
49
  }
53
50
  }
54
51
  ],
@@ -60,7 +57,7 @@
60
57
  "schema": {
61
58
  "type": "object",
62
59
  "additionalProperties": {
63
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Results.ScheduleRules.ListResult"
60
+ "$ref": "#/components/schemas/ListResult"
64
61
  }
65
62
  }
66
63
  },
@@ -68,7 +65,7 @@
68
65
  "schema": {
69
66
  "type": "object",
70
67
  "additionalProperties": {
71
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Results.ScheduleRules.ListResult"
68
+ "$ref": "#/components/schemas/ListResult"
72
69
  }
73
70
  }
74
71
  },
@@ -76,7 +73,7 @@
76
73
  "schema": {
77
74
  "type": "object",
78
75
  "additionalProperties": {
79
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Results.ScheduleRules.ListResult"
76
+ "$ref": "#/components/schemas/ListResult"
80
77
  }
81
78
  }
82
79
  }
@@ -87,17 +84,6 @@
87
84
  },
88
85
  "403": {
89
86
  "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
87
  }
102
88
  }
103
89
  },
@@ -106,39 +92,31 @@
106
92
  "ScheduleRules"
107
93
  ],
108
94
  "summary": "Создаёт ГРВ",
109
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
110
95
  "parameters": [
111
96
  {
112
- "name": "Authorization",
113
- "in": "header",
114
- "description": "Bearer",
115
- "required": true,
116
- "schema": {
117
- "type": "string"
118
- }
119
- },
120
- {
121
- "name": "Range",
97
+ "name": "X-Application-ID",
122
98
  "in": "header",
123
- "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
124
- "schema": {
125
- "type": "string"
126
- }
127
- },
128
- {
129
- "name": "offset",
130
- "in": "query",
131
- "description": "количество элементов, которое нобходимо пропустить",
99
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
132
100
  "schema": {
133
- "type": "string"
134
- }
135
- },
136
- {
137
- "name": "fetch",
138
- "in": "query",
139
- "description": "количество эементов, которое необходимо вернуть",
140
- "schema": {
141
- "type": "string"
101
+ "enum": [
102
+ 1,
103
+ 2,
104
+ 3,
105
+ 4,
106
+ 5,
107
+ 6
108
+ ],
109
+ "type": "integer",
110
+ "format": "int32",
111
+ "default": 3,
112
+ "x-enumNames": [
113
+ "EngineerMobile",
114
+ "CustomerMobile",
115
+ "MainWeb",
116
+ "AdminWeb",
117
+ "Api",
118
+ "PlateWeb"
119
+ ]
142
120
  }
143
121
  }
144
122
  ],
@@ -147,22 +125,22 @@
147
125
  "content": {
148
126
  "application/json-patch+json": {
149
127
  "schema": {
150
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleCreateDto"
128
+ "$ref": "#/components/schemas/ScheduleCreateDto"
151
129
  }
152
130
  },
153
131
  "application/json": {
154
132
  "schema": {
155
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleCreateDto"
133
+ "$ref": "#/components/schemas/ScheduleCreateDto"
156
134
  }
157
135
  },
158
136
  "text/json": {
159
137
  "schema": {
160
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleCreateDto"
138
+ "$ref": "#/components/schemas/ScheduleCreateDto"
161
139
  }
162
140
  },
163
141
  "application/*+json": {
164
142
  "schema": {
165
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleCreateDto"
143
+ "$ref": "#/components/schemas/ScheduleCreateDto"
166
144
  }
167
145
  }
168
146
  }
@@ -196,17 +174,6 @@
196
174
  },
197
175
  "403": {
198
176
  "description": "Forbidden"
199
- },
200
- "206": {
201
- "description": "PartialContent",
202
- "headers": {
203
- "Content-Range": {
204
- "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
205
- "schema": {
206
- "type": "string"
207
- }
208
- }
209
- }
210
177
  }
211
178
  }
212
179
  }
@@ -217,39 +184,31 @@
217
184
  "ScheduleRules"
218
185
  ],
219
186
  "summary": "Возвращает ГРВ для предпросмотра",
220
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
221
187
  "parameters": [
222
188
  {
223
- "name": "Authorization",
224
- "in": "header",
225
- "description": "Bearer",
226
- "required": true,
227
- "schema": {
228
- "type": "string"
229
- }
230
- },
231
- {
232
- "name": "Range",
189
+ "name": "X-Application-ID",
233
190
  "in": "header",
234
- "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
235
- "schema": {
236
- "type": "string"
237
- }
238
- },
239
- {
240
- "name": "offset",
241
- "in": "query",
242
- "description": "количество элементов, которое нобходимо пропустить",
243
- "schema": {
244
- "type": "string"
245
- }
246
- },
247
- {
248
- "name": "fetch",
249
- "in": "query",
250
- "description": "количество эементов, которое необходимо вернуть",
191
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
251
192
  "schema": {
252
- "type": "string"
193
+ "enum": [
194
+ 1,
195
+ 2,
196
+ 3,
197
+ 4,
198
+ 5,
199
+ 6
200
+ ],
201
+ "type": "integer",
202
+ "format": "int32",
203
+ "default": 3,
204
+ "x-enumNames": [
205
+ "EngineerMobile",
206
+ "CustomerMobile",
207
+ "MainWeb",
208
+ "AdminWeb",
209
+ "Api",
210
+ "PlateWeb"
211
+ ]
253
212
  }
254
213
  }
255
214
  ],
@@ -258,22 +217,22 @@
258
217
  "content": {
259
218
  "application/json-patch+json": {
260
219
  "schema": {
261
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleExtendDto"
220
+ "$ref": "#/components/schemas/ScheduleExtendDto"
262
221
  }
263
222
  },
264
223
  "application/json": {
265
224
  "schema": {
266
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleExtendDto"
225
+ "$ref": "#/components/schemas/ScheduleExtendDto"
267
226
  }
268
227
  },
269
228
  "text/json": {
270
229
  "schema": {
271
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleExtendDto"
230
+ "$ref": "#/components/schemas/ScheduleExtendDto"
272
231
  }
273
232
  },
274
233
  "application/*+json": {
275
234
  "schema": {
276
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleExtendDto"
235
+ "$ref": "#/components/schemas/ScheduleExtendDto"
277
236
  }
278
237
  }
279
238
  }
@@ -286,7 +245,7 @@
286
245
  "schema": {
287
246
  "type": "array",
288
247
  "items": {
289
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleOccurrenceDto"
248
+ "$ref": "#/components/schemas/ScheduleOccurrenceDto"
290
249
  }
291
250
  }
292
251
  },
@@ -294,7 +253,7 @@
294
253
  "schema": {
295
254
  "type": "array",
296
255
  "items": {
297
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleOccurrenceDto"
256
+ "$ref": "#/components/schemas/ScheduleOccurrenceDto"
298
257
  }
299
258
  }
300
259
  },
@@ -302,7 +261,7 @@
302
261
  "schema": {
303
262
  "type": "array",
304
263
  "items": {
305
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleOccurrenceDto"
264
+ "$ref": "#/components/schemas/ScheduleOccurrenceDto"
306
265
  }
307
266
  }
308
267
  }
@@ -313,17 +272,6 @@
313
272
  },
314
273
  "403": {
315
274
  "description": "Forbidden"
316
- },
317
- "206": {
318
- "description": "PartialContent",
319
- "headers": {
320
- "Content-Range": {
321
- "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
322
- "schema": {
323
- "type": "string"
324
- }
325
- }
326
- }
327
275
  }
328
276
  }
329
277
  }
@@ -334,7 +282,6 @@
334
282
  "ScheduleRules"
335
283
  ],
336
284
  "summary": "Возвращает ГРВ",
337
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
338
285
  "parameters": [
339
286
  {
340
287
  "name": "id",
@@ -347,36 +294,29 @@
347
294
  }
348
295
  },
349
296
  {
350
- "name": "Authorization",
351
- "in": "header",
352
- "description": "Bearer",
353
- "required": true,
354
- "schema": {
355
- "type": "string"
356
- }
357
- },
358
- {
359
- "name": "Range",
297
+ "name": "X-Application-ID",
360
298
  "in": "header",
361
- "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
362
- "schema": {
363
- "type": "string"
364
- }
365
- },
366
- {
367
- "name": "offset",
368
- "in": "query",
369
- "description": "количество элементов, которое нобходимо пропустить",
370
- "schema": {
371
- "type": "string"
372
- }
373
- },
374
- {
375
- "name": "fetch",
376
- "in": "query",
377
- "description": "количество эементов, которое необходимо вернуть",
299
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
378
300
  "schema": {
379
- "type": "string"
301
+ "enum": [
302
+ 1,
303
+ 2,
304
+ 3,
305
+ 4,
306
+ 5,
307
+ 6
308
+ ],
309
+ "type": "integer",
310
+ "format": "int32",
311
+ "default": 3,
312
+ "x-enumNames": [
313
+ "EngineerMobile",
314
+ "CustomerMobile",
315
+ "MainWeb",
316
+ "AdminWeb",
317
+ "Api",
318
+ "PlateWeb"
319
+ ]
380
320
  }
381
321
  }
382
322
  ],
@@ -386,17 +326,17 @@
386
326
  "content": {
387
327
  "text/plain": {
388
328
  "schema": {
389
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleRuleDto"
329
+ "$ref": "#/components/schemas/ScheduleRuleDto"
390
330
  }
391
331
  },
392
332
  "application/json": {
393
333
  "schema": {
394
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleRuleDto"
334
+ "$ref": "#/components/schemas/ScheduleRuleDto"
395
335
  }
396
336
  },
397
337
  "text/json": {
398
338
  "schema": {
399
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleRuleDto"
339
+ "$ref": "#/components/schemas/ScheduleRuleDto"
400
340
  }
401
341
  }
402
342
  }
@@ -406,17 +346,6 @@
406
346
  },
407
347
  "403": {
408
348
  "description": "Forbidden"
409
- },
410
- "206": {
411
- "description": "PartialContent",
412
- "headers": {
413
- "Content-Range": {
414
- "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
415
- "schema": {
416
- "type": "string"
417
- }
418
- }
419
- }
420
349
  }
421
350
  }
422
351
  },
@@ -425,7 +354,6 @@
425
354
  "ScheduleRules"
426
355
  ],
427
356
  "summary": "Меняет ГРВ",
428
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
429
357
  "parameters": [
430
358
  {
431
359
  "name": "id",
@@ -438,36 +366,29 @@
438
366
  }
439
367
  },
440
368
  {
441
- "name": "Authorization",
442
- "in": "header",
443
- "description": "Bearer",
444
- "required": true,
445
- "schema": {
446
- "type": "string"
447
- }
448
- },
449
- {
450
- "name": "Range",
369
+ "name": "X-Application-ID",
451
370
  "in": "header",
452
- "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
371
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
453
372
  "schema": {
454
- "type": "string"
455
- }
456
- },
457
- {
458
- "name": "offset",
459
- "in": "query",
460
- "description": "количество элементов, которое нобходимо пропустить",
461
- "schema": {
462
- "type": "string"
463
- }
464
- },
465
- {
466
- "name": "fetch",
467
- "in": "query",
468
- "description": "количество эементов, которое необходимо вернуть",
469
- "schema": {
470
- "type": "string"
373
+ "enum": [
374
+ 1,
375
+ 2,
376
+ 3,
377
+ 4,
378
+ 5,
379
+ 6
380
+ ],
381
+ "type": "integer",
382
+ "format": "int32",
383
+ "default": 3,
384
+ "x-enumNames": [
385
+ "EngineerMobile",
386
+ "CustomerMobile",
387
+ "MainWeb",
388
+ "AdminWeb",
389
+ "Api",
390
+ "PlateWeb"
391
+ ]
471
392
  }
472
393
  }
473
394
  ],
@@ -476,22 +397,22 @@
476
397
  "content": {
477
398
  "application/json-patch+json": {
478
399
  "schema": {
479
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleUpdateDto"
400
+ "$ref": "#/components/schemas/ScheduleUpdateDto"
480
401
  }
481
402
  },
482
403
  "application/json": {
483
404
  "schema": {
484
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleUpdateDto"
405
+ "$ref": "#/components/schemas/ScheduleUpdateDto"
485
406
  }
486
407
  },
487
408
  "text/json": {
488
409
  "schema": {
489
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleUpdateDto"
410
+ "$ref": "#/components/schemas/ScheduleUpdateDto"
490
411
  }
491
412
  },
492
413
  "application/*+json": {
493
414
  "schema": {
494
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleUpdateDto"
415
+ "$ref": "#/components/schemas/ScheduleUpdateDto"
495
416
  }
496
417
  }
497
418
  }
@@ -505,17 +426,6 @@
505
426
  },
506
427
  "403": {
507
428
  "description": "Forbidden"
508
- },
509
- "206": {
510
- "description": "PartialContent",
511
- "headers": {
512
- "Content-Range": {
513
- "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
514
- "schema": {
515
- "type": "string"
516
- }
517
- }
518
- }
519
429
  }
520
430
  }
521
431
  },
@@ -524,7 +434,6 @@
524
434
  "ScheduleRules"
525
435
  ],
526
436
  "summary": "Удаляет ГРВ",
527
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
528
437
  "parameters": [
529
438
  {
530
439
  "name": "id",
@@ -537,36 +446,29 @@
537
446
  }
538
447
  },
539
448
  {
540
- "name": "Authorization",
541
- "in": "header",
542
- "description": "Bearer",
543
- "required": true,
544
- "schema": {
545
- "type": "string"
546
- }
547
- },
548
- {
549
- "name": "Range",
449
+ "name": "X-Application-ID",
550
450
  "in": "header",
551
- "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
552
- "schema": {
553
- "type": "string"
554
- }
555
- },
556
- {
557
- "name": "offset",
558
- "in": "query",
559
- "description": "количество элементов, которое нобходимо пропустить",
451
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
560
452
  "schema": {
561
- "type": "string"
562
- }
563
- },
564
- {
565
- "name": "fetch",
566
- "in": "query",
567
- "description": "количество эементов, которое необходимо вернуть",
568
- "schema": {
569
- "type": "string"
453
+ "enum": [
454
+ 1,
455
+ 2,
456
+ 3,
457
+ 4,
458
+ 5,
459
+ 6
460
+ ],
461
+ "type": "integer",
462
+ "format": "int32",
463
+ "default": 3,
464
+ "x-enumNames": [
465
+ "EngineerMobile",
466
+ "CustomerMobile",
467
+ "MainWeb",
468
+ "AdminWeb",
469
+ "Api",
470
+ "PlateWeb"
471
+ ]
570
472
  }
571
473
  }
572
474
  ],
@@ -579,17 +481,6 @@
579
481
  },
580
482
  "403": {
581
483
  "description": "Forbidden"
582
- },
583
- "206": {
584
- "description": "PartialContent",
585
- "headers": {
586
- "Content-Range": {
587
- "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
588
- "schema": {
589
- "type": "string"
590
- }
591
- }
592
- }
593
484
  }
594
485
  }
595
486
  }
@@ -600,7 +491,6 @@
600
491
  "ScheduleRules"
601
492
  ],
602
493
  "summary": "Расширяет ГРВ",
603
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
604
494
  "parameters": [
605
495
  {
606
496
  "name": "id",
@@ -613,36 +503,29 @@
613
503
  }
614
504
  },
615
505
  {
616
- "name": "Authorization",
617
- "in": "header",
618
- "description": "Bearer",
619
- "required": true,
620
- "schema": {
621
- "type": "string"
622
- }
623
- },
624
- {
625
- "name": "Range",
506
+ "name": "X-Application-ID",
626
507
  "in": "header",
627
- "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
628
- "schema": {
629
- "type": "string"
630
- }
631
- },
632
- {
633
- "name": "offset",
634
- "in": "query",
635
- "description": "количество элементов, которое нобходимо пропустить",
636
- "schema": {
637
- "type": "string"
638
- }
639
- },
640
- {
641
- "name": "fetch",
642
- "in": "query",
643
- "description": "количество эементов, которое необходимо вернуть",
508
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
644
509
  "schema": {
645
- "type": "string"
510
+ "enum": [
511
+ 1,
512
+ 2,
513
+ 3,
514
+ 4,
515
+ 5,
516
+ 6
517
+ ],
518
+ "type": "integer",
519
+ "format": "int32",
520
+ "default": 3,
521
+ "x-enumNames": [
522
+ "EngineerMobile",
523
+ "CustomerMobile",
524
+ "MainWeb",
525
+ "AdminWeb",
526
+ "Api",
527
+ "PlateWeb"
528
+ ]
646
529
  }
647
530
  }
648
531
  ],
@@ -651,22 +534,22 @@
651
534
  "content": {
652
535
  "application/json-patch+json": {
653
536
  "schema": {
654
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleExtendDto"
537
+ "$ref": "#/components/schemas/ScheduleExtendDto"
655
538
  }
656
539
  },
657
540
  "application/json": {
658
541
  "schema": {
659
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleExtendDto"
542
+ "$ref": "#/components/schemas/ScheduleExtendDto"
660
543
  }
661
544
  },
662
545
  "text/json": {
663
546
  "schema": {
664
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleExtendDto"
547
+ "$ref": "#/components/schemas/ScheduleExtendDto"
665
548
  }
666
549
  },
667
550
  "application/*+json": {
668
551
  "schema": {
669
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleExtendDto"
552
+ "$ref": "#/components/schemas/ScheduleExtendDto"
670
553
  }
671
554
  }
672
555
  }
@@ -680,17 +563,6 @@
680
563
  },
681
564
  "403": {
682
565
  "description": "Forbidden"
683
- },
684
- "206": {
685
- "description": "PartialContent",
686
- "headers": {
687
- "Content-Range": {
688
- "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
689
- "schema": {
690
- "type": "string"
691
- }
692
- }
693
- }
694
566
  }
695
567
  }
696
568
  }
@@ -701,7 +573,6 @@
701
573
  "ScheduleRules"
702
574
  ],
703
575
  "summary": "Возвращает График праздничных дней",
704
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
705
576
  "parameters": [
706
577
  {
707
578
  "name": "year",
@@ -712,36 +583,29 @@
712
583
  }
713
584
  },
714
585
  {
715
- "name": "Authorization",
716
- "in": "header",
717
- "description": "Bearer",
718
- "required": true,
719
- "schema": {
720
- "type": "string"
721
- }
722
- },
723
- {
724
- "name": "Range",
586
+ "name": "X-Application-ID",
725
587
  "in": "header",
726
- "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
727
- "schema": {
728
- "type": "string"
729
- }
730
- },
731
- {
732
- "name": "offset",
733
- "in": "query",
734
- "description": "количество элементов, которое нобходимо пропустить",
735
- "schema": {
736
- "type": "string"
737
- }
738
- },
739
- {
740
- "name": "fetch",
741
- "in": "query",
742
- "description": "количество эементов, которое необходимо вернуть",
588
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
743
589
  "schema": {
744
- "type": "string"
590
+ "enum": [
591
+ 1,
592
+ 2,
593
+ 3,
594
+ 4,
595
+ 5,
596
+ 6
597
+ ],
598
+ "type": "integer",
599
+ "format": "int32",
600
+ "default": 3,
601
+ "x-enumNames": [
602
+ "EngineerMobile",
603
+ "CustomerMobile",
604
+ "MainWeb",
605
+ "AdminWeb",
606
+ "Api",
607
+ "PlateWeb"
608
+ ]
745
609
  }
746
610
  }
747
611
  ],
@@ -794,7 +658,7 @@
794
658
  "schema": {
795
659
  "type": "array",
796
660
  "items": {
797
- "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
661
+ "$ref": "#/components/schemas/ErrorModel"
798
662
  }
799
663
  }
800
664
  },
@@ -802,7 +666,7 @@
802
666
  "schema": {
803
667
  "type": "array",
804
668
  "items": {
805
- "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
669
+ "$ref": "#/components/schemas/ErrorModel"
806
670
  }
807
671
  }
808
672
  },
@@ -810,7 +674,7 @@
810
674
  "schema": {
811
675
  "type": "array",
812
676
  "items": {
813
- "$ref": "#/components/schemas/SmartService.Common.ExceptionHandling.Models.ErrorModel"
677
+ "$ref": "#/components/schemas/ErrorModel"
814
678
  }
815
679
  }
816
680
  }
@@ -821,17 +685,6 @@
821
685
  },
822
686
  "403": {
823
687
  "description": "Forbidden"
824
- },
825
- "206": {
826
- "description": "PartialContent",
827
- "headers": {
828
- "Content-Range": {
829
- "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
830
- "schema": {
831
- "type": "string"
832
- }
833
- }
834
- }
835
688
  }
836
689
  }
837
690
  }
@@ -842,68 +695,31 @@
842
695
  "WorkSchedules"
843
696
  ],
844
697
  "summary": "Возвращает график рабочего времени на заданный период",
845
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
846
698
  "parameters": [
847
699
  {
848
- "name": "Authorization",
849
- "in": "header",
850
- "description": "Bearer",
851
- "required": true,
852
- "schema": {
853
- "type": "string"
854
- }
855
- },
856
- {
857
- "name": "Range",
700
+ "name": "X-Application-ID",
858
701
  "in": "header",
859
- "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
860
- "schema": {
861
- "type": "string"
862
- }
863
- },
864
- {
865
- "name": "offset",
866
- "in": "query",
867
- "description": "количество элементов, которое нобходимо пропустить",
868
- "schema": {
869
- "type": "string"
870
- }
871
- },
872
- {
873
- "name": "fetch",
874
- "in": "query",
875
- "description": "количество эементов, которое необходимо вернуть",
876
- "schema": {
877
- "type": "string"
878
- }
879
- },
880
- {
881
- "name": "validTill",
882
- "in": "query",
883
- "description": "Дата окончания периода графика работы пользователя",
884
- "schema": {
885
- "type": "datetime",
886
- "format": "UTC ISO-8601",
887
- "default": null
888
- }
889
- },
890
- {
891
- "name": "validFrom",
892
- "in": "query",
893
- "description": "Дата начала периода графика работы пользователя",
894
- "schema": {
895
- "type": "datetime",
896
- "format": "UTC ISO-8601",
897
- "default": null
898
- }
899
- },
900
- {
901
- "name": "scheduleRuleID",
902
- "in": "query",
903
- "description": "Идентификатор правила графика рабочего времени",
702
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
904
703
  "schema": {
905
- "type": "int16",
906
- "default": null
704
+ "enum": [
705
+ 1,
706
+ 2,
707
+ 3,
708
+ 4,
709
+ 5,
710
+ 6
711
+ ],
712
+ "type": "integer",
713
+ "format": "int32",
714
+ "default": 3,
715
+ "x-enumNames": [
716
+ "EngineerMobile",
717
+ "CustomerMobile",
718
+ "MainWeb",
719
+ "AdminWeb",
720
+ "Api",
721
+ "PlateWeb"
722
+ ]
907
723
  }
908
724
  }
909
725
  ],
@@ -915,7 +731,7 @@
915
731
  "schema": {
916
732
  "type": "object",
917
733
  "additionalProperties": {
918
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Results.WorkSchedule.WorkScheduleDailyItemResult"
734
+ "$ref": "#/components/schemas/WorkScheduleDailyItemResult"
919
735
  }
920
736
  }
921
737
  },
@@ -923,7 +739,7 @@
923
739
  "schema": {
924
740
  "type": "object",
925
741
  "additionalProperties": {
926
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Results.WorkSchedule.WorkScheduleDailyItemResult"
742
+ "$ref": "#/components/schemas/WorkScheduleDailyItemResult"
927
743
  }
928
744
  }
929
745
  },
@@ -931,7 +747,7 @@
931
747
  "schema": {
932
748
  "type": "object",
933
749
  "additionalProperties": {
934
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Results.WorkSchedule.WorkScheduleDailyItemResult"
750
+ "$ref": "#/components/schemas/WorkScheduleDailyItemResult"
935
751
  }
936
752
  }
937
753
  }
@@ -942,17 +758,6 @@
942
758
  },
943
759
  "403": {
944
760
  "description": "Forbidden"
945
- },
946
- "206": {
947
- "description": "PartialContent",
948
- "headers": {
949
- "Content-Range": {
950
- "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
951
- "schema": {
952
- "type": "string"
953
- }
954
- }
955
- }
956
761
  }
957
762
  }
958
763
  }
@@ -963,68 +768,31 @@
963
768
  "WorkSchedules"
964
769
  ],
965
770
  "summary": "Возвращает график рабочего времени на заданный период по суткам",
966
- "description": "<br />* Для выполнения данного метода требуется любое из перечисленных полномочий: **ScheduleRulesList**<br />* Метод поддерживает диапазонный запрос через строку или заголовок запроса.",
967
771
  "parameters": [
968
772
  {
969
- "name": "Authorization",
773
+ "name": "X-Application-ID",
970
774
  "in": "header",
971
- "description": "Bearer",
972
- "required": true,
775
+ "description": "Идентификатор приложения. EngineerMobile - 1, CustomerMobile - 2, MainWeb - 3, AdminWeb - 4, Api - 5, PlateWeb - 6",
973
776
  "schema": {
974
- "type": "string"
975
- }
976
- },
977
- {
978
- "name": "Range",
979
- "in": "header",
980
- "description": "Формат: items=FROM-TILL , где FROM - начальный элемент (включая), TILL - конечный элемент (включая)",
981
- "schema": {
982
- "type": "string"
983
- }
984
- },
985
- {
986
- "name": "offset",
987
- "in": "query",
988
- "description": "количество элементов, которое нобходимо пропустить",
989
- "schema": {
990
- "type": "string"
991
- }
992
- },
993
- {
994
- "name": "fetch",
995
- "in": "query",
996
- "description": "количество эементов, которое необходимо вернуть",
997
- "schema": {
998
- "type": "string"
999
- }
1000
- },
1001
- {
1002
- "name": "validTill",
1003
- "in": "query",
1004
- "description": "Дата окончания периода графика работы пользователя",
1005
- "schema": {
1006
- "type": "datetime",
1007
- "format": "UTC ISO-8601",
1008
- "default": null
1009
- }
1010
- },
1011
- {
1012
- "name": "validFrom",
1013
- "in": "query",
1014
- "description": "Дата начала периода графика работы пользователя",
1015
- "schema": {
1016
- "type": "datetime",
1017
- "format": "UTC ISO-8601",
1018
- "default": null
1019
- }
1020
- },
1021
- {
1022
- "name": "scheduleRuleID",
1023
- "in": "query",
1024
- "description": "Идентификатор правила графика рабочего времени",
1025
- "schema": {
1026
- "type": "int16",
1027
- "default": null
777
+ "enum": [
778
+ 1,
779
+ 2,
780
+ 3,
781
+ 4,
782
+ 5,
783
+ 6
784
+ ],
785
+ "type": "integer",
786
+ "format": "int32",
787
+ "default": 3,
788
+ "x-enumNames": [
789
+ "EngineerMobile",
790
+ "CustomerMobile",
791
+ "MainWeb",
792
+ "AdminWeb",
793
+ "Api",
794
+ "PlateWeb"
795
+ ]
1028
796
  }
1029
797
  }
1030
798
  ],
@@ -1038,7 +806,7 @@
1038
806
  "additionalProperties": {
1039
807
  "type": "array",
1040
808
  "items": {
1041
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Results.WorkSchedule.WorkScheduleDailyItemResult"
809
+ "$ref": "#/components/schemas/WorkScheduleDailyItemResult"
1042
810
  }
1043
811
  }
1044
812
  }
@@ -1049,7 +817,7 @@
1049
817
  "additionalProperties": {
1050
818
  "type": "array",
1051
819
  "items": {
1052
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Results.WorkSchedule.WorkScheduleDailyItemResult"
820
+ "$ref": "#/components/schemas/WorkScheduleDailyItemResult"
1053
821
  }
1054
822
  }
1055
823
  }
@@ -1060,7 +828,7 @@
1060
828
  "additionalProperties": {
1061
829
  "type": "array",
1062
830
  "items": {
1063
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Results.WorkSchedule.WorkScheduleDailyItemResult"
831
+ "$ref": "#/components/schemas/WorkScheduleDailyItemResult"
1064
832
  }
1065
833
  }
1066
834
  }
@@ -1072,17 +840,6 @@
1072
840
  },
1073
841
  "403": {
1074
842
  "description": "Forbidden"
1075
- },
1076
- "206": {
1077
- "description": "PartialContent",
1078
- "headers": {
1079
- "Content-Range": {
1080
- "description": "items=FROM-TILL/OF , где FROM - начальный элемент (включая), TILL - конечный элемент (включая) OF - общее количество элементов",
1081
- "schema": {
1082
- "type": "string"
1083
- }
1084
- }
1085
- }
1086
843
  }
1087
844
  }
1088
845
  }
@@ -1090,7 +847,61 @@
1090
847
  },
1091
848
  "components": {
1092
849
  "schemas": {
1093
- "HubEx.Service.WSP.Api.Dto.ScheduleCreateDto": {
850
+ "ErrorModel": {
851
+ "type": "object",
852
+ "properties": {
853
+ "traceIdentifier": {
854
+ "type": "string",
855
+ "nullable": true
856
+ },
857
+ "code": {
858
+ "type": "string",
859
+ "nullable": true
860
+ },
861
+ "message": {
862
+ "type": "string",
863
+ "nullable": true
864
+ },
865
+ "arguments": {
866
+ "type": "object",
867
+ "additionalProperties": {
868
+ "type": "string",
869
+ "nullable": true
870
+ },
871
+ "nullable": true
872
+ }
873
+ },
874
+ "additionalProperties": false
875
+ },
876
+ "ListResult": {
877
+ "type": "object",
878
+ "properties": {
879
+ "name": {
880
+ "type": "string",
881
+ "description": "Название правила",
882
+ "nullable": true
883
+ },
884
+ "description": {
885
+ "type": "string",
886
+ "description": "Описание правила",
887
+ "nullable": true
888
+ },
889
+ "scheduleTypeID": {
890
+ "type": "integer",
891
+ "description": "Тип графика",
892
+ "format": "int32",
893
+ "nullable": true
894
+ },
895
+ "dataFrom": {
896
+ "type": "string",
897
+ "description": "Дата старта графика",
898
+ "format": "date-time"
899
+ }
900
+ },
901
+ "additionalProperties": false,
902
+ "description": "Правило графика рабочего времени для списка"
903
+ },
904
+ "ScheduleCreateDto": {
1094
905
  "type": "object",
1095
906
  "properties": {
1096
907
  "from": {
@@ -1111,14 +922,14 @@
1111
922
  "rules": {
1112
923
  "type": "array",
1113
924
  "items": {
1114
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto+Rule"
925
+ "$ref": "#/components/schemas/ScheduleDtoRule"
1115
926
  },
1116
927
  "nullable": true
1117
928
  },
1118
929
  "overridings": {
1119
930
  "type": "array",
1120
931
  "items": {
1121
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto"
932
+ "$ref": "#/components/schemas/ScheduleDto"
1122
933
  },
1123
934
  "nullable": true
1124
935
  },
@@ -1141,7 +952,57 @@
1141
952
  },
1142
953
  "additionalProperties": false
1143
954
  },
1144
- "HubEx.Service.WSP.Api.Dto.ScheduleExtendDto": {
955
+ "ScheduleDto": {
956
+ "type": "object",
957
+ "properties": {
958
+ "rules": {
959
+ "type": "array",
960
+ "items": {
961
+ "$ref": "#/components/schemas/ScheduleDtoRule"
962
+ },
963
+ "nullable": true
964
+ },
965
+ "isWorking": {
966
+ "type": "boolean"
967
+ },
968
+ "isPublicHoliday": {
969
+ "type": "boolean"
970
+ }
971
+ },
972
+ "additionalProperties": false
973
+ },
974
+ "ScheduleDtoRule": {
975
+ "type": "object",
976
+ "properties": {
977
+ "cron": {
978
+ "type": "string",
979
+ "nullable": true
980
+ },
981
+ "occurrenceDuration": {
982
+ "type": "string",
983
+ "format": "date-span"
984
+ },
985
+ "periodicity": {
986
+ "$ref": "#/components/schemas/ScheduleDtoRulePeriodicityData"
987
+ }
988
+ },
989
+ "additionalProperties": false
990
+ },
991
+ "ScheduleDtoRulePeriodicityData": {
992
+ "type": "object",
993
+ "properties": {
994
+ "repeatCnt": {
995
+ "type": "integer",
996
+ "format": "int32"
997
+ },
998
+ "skip": {
999
+ "type": "string",
1000
+ "format": "date-span"
1001
+ }
1002
+ },
1003
+ "additionalProperties": false
1004
+ },
1005
+ "ScheduleExtendDto": {
1145
1006
  "type": "object",
1146
1007
  "properties": {
1147
1008
  "from": {
@@ -1162,41 +1023,66 @@
1162
1023
  "rules": {
1163
1024
  "type": "array",
1164
1025
  "items": {
1165
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto+Rule"
1026
+ "$ref": "#/components/schemas/ScheduleDtoRule"
1166
1027
  },
1167
1028
  "nullable": true
1168
1029
  },
1169
1030
  "overridings": {
1170
1031
  "type": "array",
1171
1032
  "items": {
1172
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto"
1033
+ "$ref": "#/components/schemas/ScheduleDto"
1173
1034
  },
1174
1035
  "nullable": true
1175
1036
  }
1176
1037
  },
1177
1038
  "additionalProperties": false
1178
1039
  },
1179
- "HubEx.Service.WSP.Api.Dto.SchedulePersistDto": {
1040
+ "ScheduleOccurrenceDto": {
1041
+ "type": "object",
1042
+ "properties": {
1043
+ "start": {
1044
+ "type": "string",
1045
+ "format": "date-time"
1046
+ },
1047
+ "duration": {
1048
+ "type": "string",
1049
+ "format": "date-span"
1050
+ },
1051
+ "isWorking": {
1052
+ "type": "boolean"
1053
+ },
1054
+ "isNightShift": {
1055
+ "type": "boolean",
1056
+ "readOnly": true
1057
+ },
1058
+ "isPublicHoliday": {
1059
+ "type": "boolean",
1060
+ "readOnly": true
1061
+ }
1062
+ },
1063
+ "additionalProperties": false
1064
+ },
1065
+ "SchedulePersistDto": {
1180
1066
  "type": "object",
1181
1067
  "properties": {
1182
1068
  "rules": {
1183
1069
  "type": "array",
1184
1070
  "items": {
1185
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto+Rule"
1071
+ "$ref": "#/components/schemas/ScheduleDtoRule"
1186
1072
  },
1187
1073
  "nullable": true
1188
1074
  },
1189
1075
  "overridings": {
1190
1076
  "type": "array",
1191
1077
  "items": {
1192
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto"
1078
+ "$ref": "#/components/schemas/ScheduleDto"
1193
1079
  },
1194
1080
  "nullable": true
1195
1081
  }
1196
1082
  },
1197
1083
  "additionalProperties": false
1198
1084
  },
1199
- "HubEx.Service.WSP.Api.Dto.ScheduleRuleDto": {
1085
+ "ScheduleRuleDto": {
1200
1086
  "type": "object",
1201
1087
  "properties": {
1202
1088
  "name": {
@@ -1215,7 +1101,7 @@
1215
1101
  "periods": {
1216
1102
  "type": "array",
1217
1103
  "items": {
1218
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.ScheduleRuleDto+Period"
1104
+ "$ref": "#/components/schemas/ScheduleRuleDtoPeriod"
1219
1105
  },
1220
1106
  "nullable": true
1221
1107
  }
@@ -1223,7 +1109,7 @@
1223
1109
  "additionalProperties": false,
1224
1110
  "description": "ГРВ"
1225
1111
  },
1226
- "HubEx.Service.WSP.Api.Dto.ScheduleRuleDto+Period": {
1112
+ "ScheduleRuleDtoPeriod": {
1227
1113
  "type": "object",
1228
1114
  "properties": {
1229
1115
  "from": {
@@ -1243,12 +1129,12 @@
1243
1129
  "format": "int32"
1244
1130
  },
1245
1131
  "model": {
1246
- "$ref": "#/components/schemas/HubEx.Service.WSP.Api.Dto.SchedulePersistDto"
1132
+ "$ref": "#/components/schemas/SchedulePersistDto"
1247
1133
  }
1248
1134
  },
1249
1135
  "additionalProperties": false
1250
1136
  },
1251
- "HubEx.Service.WSP.Api.Dto.ScheduleUpdateDto": {
1137
+ "ScheduleUpdateDto": {
1252
1138
  "type": "object",
1253
1139
  "properties": {
1254
1140
  "from": {
@@ -1269,14 +1155,14 @@
1269
1155
  "rules": {
1270
1156
  "type": "array",
1271
1157
  "items": {
1272
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto+Rule"
1158
+ "$ref": "#/components/schemas/ScheduleDtoRule"
1273
1159
  },
1274
1160
  "nullable": true
1275
1161
  },
1276
1162
  "overridings": {
1277
1163
  "type": "array",
1278
1164
  "items": {
1279
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto"
1165
+ "$ref": "#/components/schemas/ScheduleDto"
1280
1166
  },
1281
1167
  "nullable": true
1282
1168
  },
@@ -1296,35 +1182,7 @@
1296
1182
  },
1297
1183
  "additionalProperties": false
1298
1184
  },
1299
- "HubEx.Service.WSP.Api.Results.ScheduleRules.ListResult": {
1300
- "type": "object",
1301
- "properties": {
1302
- "name": {
1303
- "type": "string",
1304
- "description": "Название правила",
1305
- "nullable": true
1306
- },
1307
- "description": {
1308
- "type": "string",
1309
- "description": "Описание правила",
1310
- "nullable": true
1311
- },
1312
- "scheduleTypeID": {
1313
- "type": "integer",
1314
- "description": "Тип графика",
1315
- "format": "int32",
1316
- "nullable": true
1317
- },
1318
- "dataFrom": {
1319
- "type": "string",
1320
- "description": "Дата старта графика",
1321
- "format": "date-time"
1322
- }
1323
- },
1324
- "additionalProperties": false,
1325
- "description": "Правило графика рабочего времени для списка"
1326
- },
1327
- "HubEx.Service.WSP.Api.Results.WorkSchedule.WorkScheduleDailyItemResult": {
1185
+ "WorkScheduleDailyItemResult": {
1328
1186
  "type": "object",
1329
1187
  "properties": {
1330
1188
  "scheduleRuleID": {
@@ -1361,108 +1219,25 @@
1361
1219
  },
1362
1220
  "additionalProperties": false,
1363
1221
  "description": "Режим работы"
1364
- },
1365
- "HubEx.WSP.Core.Dto.ScheduleDto": {
1366
- "type": "object",
1367
- "properties": {
1368
- "rules": {
1369
- "type": "array",
1370
- "items": {
1371
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto+Rule"
1372
- },
1373
- "nullable": true
1374
- },
1375
- "isWorking": {
1376
- "type": "boolean"
1377
- },
1378
- "isPublicHoliday": {
1379
- "type": "boolean"
1380
- }
1381
- },
1382
- "additionalProperties": false
1383
- },
1384
- "HubEx.WSP.Core.Dto.ScheduleDto+Rule": {
1385
- "type": "object",
1386
- "properties": {
1387
- "cron": {
1388
- "type": "string",
1389
- "nullable": true
1390
- },
1391
- "occurrenceDuration": {
1392
- "type": "string",
1393
- "format": "date-span"
1394
- },
1395
- "periodicity": {
1396
- "$ref": "#/components/schemas/HubEx.WSP.Core.Dto.ScheduleDto+Rule+PeriodicityData"
1397
- }
1398
- },
1399
- "additionalProperties": false
1400
- },
1401
- "HubEx.WSP.Core.Dto.ScheduleDto+Rule+PeriodicityData": {
1402
- "type": "object",
1403
- "properties": {
1404
- "repeatCnt": {
1405
- "type": "integer",
1406
- "format": "int32"
1407
- },
1408
- "skip": {
1409
- "type": "string",
1410
- "format": "date-span"
1411
- }
1412
- },
1413
- "additionalProperties": false
1414
- },
1415
- "HubEx.WSP.Core.Dto.ScheduleOccurrenceDto": {
1416
- "type": "object",
1417
- "properties": {
1418
- "start": {
1419
- "type": "string",
1420
- "format": "date-time"
1421
- },
1422
- "duration": {
1423
- "type": "string",
1424
- "format": "date-span"
1425
- },
1426
- "isWorking": {
1427
- "type": "boolean"
1428
- },
1429
- "isNightShift": {
1430
- "type": "boolean",
1431
- "readOnly": true
1432
- },
1433
- "isPublicHoliday": {
1434
- "type": "boolean",
1435
- "readOnly": true
1436
- }
1437
- },
1438
- "additionalProperties": false
1439
- },
1440
- "SmartService.Common.ExceptionHandling.Models.ErrorModel": {
1441
- "type": "object",
1442
- "properties": {
1443
- "traceIdentifier": {
1444
- "type": "string",
1445
- "nullable": true
1446
- },
1447
- "code": {
1448
- "type": "string",
1449
- "nullable": true
1450
- },
1451
- "message": {
1452
- "type": "string",
1453
- "nullable": true
1454
- },
1455
- "arguments": {
1456
- "type": "object",
1457
- "additionalProperties": {
1458
- "type": "string",
1459
- "nullable": true
1460
- },
1461
- "nullable": true
1462
- }
1463
- },
1464
- "additionalProperties": false
1465
1222
  }
1466
1223
  }
1467
- }
1224
+ },
1225
+ "tags": [
1226
+ {
1227
+ "name": "ScheduleRules",
1228
+ "description": "Контроллер управления грфиками рабочего времени"
1229
+ },
1230
+ {
1231
+ "name": "WorkSchedules",
1232
+ "description": "Контроллер управления сгенерированным графиком рабочего времени"
1233
+ },
1234
+ {
1235
+ "name": "ScheduleRules",
1236
+ "description": "Контроллер управления грфиками рабочего времени"
1237
+ },
1238
+ {
1239
+ "name": "WorkSchedules",
1240
+ "description": "Контроллер управления сгенерированным графиком рабочего времени"
1241
+ }
1242
+ ]
1468
1243
  }