emilsoftware-utilities 2.0.0-dev.72 → 2.0.0-dev.73

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.
@@ -0,0 +1,4500 @@
1
+ {
2
+ "operations": {
3
+ "serveResetPasswordPage": {
4
+ "method": "GET",
5
+ "path": "/api/accessi/email/reset-password-page/{token}",
6
+ "security": [],
7
+ "parameters": {
8
+ "path:token": {
9
+ "required": true,
10
+ "schema": {
11
+ "type": "string"
12
+ }
13
+ },
14
+ "query:returnUrl": {
15
+ "required": false,
16
+ "schema": {
17
+ "type": "string"
18
+ }
19
+ }
20
+ },
21
+ "requestBody": null,
22
+ "responses": {
23
+ "200": {
24
+ "type": "none"
25
+ }
26
+ }
27
+ },
28
+ "sendPasswordResetEmail": {
29
+ "method": "POST",
30
+ "path": "/api/accessi/email/send-reset-password-email",
31
+ "security": [],
32
+ "parameters": {},
33
+ "requestBody": {
34
+ "required": true,
35
+ "schema": {
36
+ "ref": "SendResetPasswordEmailRequest"
37
+ }
38
+ },
39
+ "responses": {
40
+ "200": {
41
+ "ref": "ActionResponse"
42
+ },
43
+ "500": {
44
+ "ref": "ErrorResponse"
45
+ }
46
+ }
47
+ },
48
+ "resetPassword": {
49
+ "method": "POST",
50
+ "path": "/api/accessi/auth/confirm-reset-password/{token}",
51
+ "security": [],
52
+ "parameters": {
53
+ "path:token": {
54
+ "required": true,
55
+ "schema": {
56
+ "type": "string"
57
+ }
58
+ }
59
+ },
60
+ "requestBody": {
61
+ "required": true,
62
+ "schema": {
63
+ "ref": "ConfirmResetPasswordRequest"
64
+ }
65
+ },
66
+ "responses": {
67
+ "200": {
68
+ "ref": "ActionResponse"
69
+ },
70
+ "400": {
71
+ "ref": "ErrorResponse"
72
+ }
73
+ }
74
+ },
75
+ "getUserByToken": {
76
+ "method": "POST",
77
+ "path": "/api/accessi/auth/get-user-by-token",
78
+ "security": [],
79
+ "parameters": {},
80
+ "requestBody": {
81
+ "required": true,
82
+ "schema": {
83
+ "ref": "GetUserByTokenRequest"
84
+ }
85
+ },
86
+ "responses": {
87
+ "200": {
88
+ "ref": "GetUserByTokenResponse"
89
+ },
90
+ "401": {
91
+ "ref": "ErrorResponse"
92
+ }
93
+ }
94
+ },
95
+ "revokeSessions": {
96
+ "method": "POST",
97
+ "path": "/api/accessi/auth/revoke-sessions",
98
+ "security": [],
99
+ "parameters": {},
100
+ "requestBody": null,
101
+ "responses": {
102
+ "200": {
103
+ "ref": "ActionResponse"
104
+ },
105
+ "401": {
106
+ "ref": "ErrorResponse"
107
+ },
108
+ "501": {
109
+ "ref": "ErrorResponse"
110
+ }
111
+ }
112
+ },
113
+ "revokeToken": {
114
+ "method": "POST",
115
+ "path": "/api/accessi/auth/revoke-token",
116
+ "security": [],
117
+ "parameters": {},
118
+ "requestBody": {
119
+ "required": true,
120
+ "schema": {
121
+ "ref": "RevokeTokenRequest"
122
+ }
123
+ },
124
+ "responses": {
125
+ "200": {
126
+ "ref": "ActionResponse"
127
+ },
128
+ "401": {
129
+ "ref": "ErrorResponse"
130
+ },
131
+ "403": {
132
+ "ref": "ErrorResponse"
133
+ },
134
+ "501": {
135
+ "ref": "ErrorResponse"
136
+ }
137
+ }
138
+ },
139
+ "login": {
140
+ "method": "POST",
141
+ "path": "/api/accessi/auth/login",
142
+ "security": [],
143
+ "parameters": {},
144
+ "requestBody": {
145
+ "required": true,
146
+ "schema": {
147
+ "ref": "LoginRequest"
148
+ }
149
+ },
150
+ "responses": {
151
+ "200": {
152
+ "ref": "LoginResponse"
153
+ },
154
+ "401": {
155
+ "ref": "ErrorResponse"
156
+ },
157
+ "403": {
158
+ "ref": "PasswordExpiredResponse"
159
+ }
160
+ }
161
+ },
162
+ "refreshAccessToken": {
163
+ "method": "POST",
164
+ "path": "/api/accessi/auth/refresh",
165
+ "security": [],
166
+ "parameters": {},
167
+ "requestBody": {
168
+ "required": true,
169
+ "schema": {
170
+ "ref": "RefreshTokenRequest"
171
+ }
172
+ },
173
+ "responses": {
174
+ "200": {
175
+ "ref": "RefreshTokenResponse"
176
+ },
177
+ "401": {
178
+ "ref": "ErrorResponse"
179
+ },
180
+ "429": {
181
+ "ref": "ErrorResponse"
182
+ }
183
+ }
184
+ },
185
+ "verifyTwoFactor": {
186
+ "method": "POST",
187
+ "path": "/api/accessi/auth/two-factor/verify",
188
+ "security": [],
189
+ "parameters": {},
190
+ "requestBody": {
191
+ "required": true,
192
+ "schema": {
193
+ "ref": "VerifyTwoFactorRequest"
194
+ }
195
+ },
196
+ "responses": {
197
+ "200": {
198
+ "ref": "LoginResponse"
199
+ },
200
+ "401": {
201
+ "ref": "ErrorResponse"
202
+ },
203
+ "429": {
204
+ "ref": "ErrorResponse"
205
+ }
206
+ }
207
+ },
208
+ "resendTwoFactor": {
209
+ "method": "POST",
210
+ "path": "/api/accessi/auth/two-factor/resend",
211
+ "security": [],
212
+ "parameters": {},
213
+ "requestBody": {
214
+ "required": true,
215
+ "schema": {
216
+ "ref": "ResendTwoFactorRequest"
217
+ }
218
+ },
219
+ "responses": {
220
+ "200": {
221
+ "ref": "LoginResponse"
222
+ },
223
+ "401": {
224
+ "ref": "ErrorResponse"
225
+ },
226
+ "429": {
227
+ "ref": "ErrorResponse"
228
+ }
229
+ }
230
+ },
231
+ "bootstrapAdmin": {
232
+ "method": "POST",
233
+ "path": "/api/accessi/auth/bootstrap-admin",
234
+ "security": [],
235
+ "parameters": {},
236
+ "requestBody": {
237
+ "required": true,
238
+ "schema": {
239
+ "ref": "BootstrapAdminRequest"
240
+ }
241
+ },
242
+ "responses": {
243
+ "200": {
244
+ "ref": "BootstrapAdminResponse"
245
+ },
246
+ "401": {
247
+ "ref": "ErrorResponse"
248
+ },
249
+ "403": {
250
+ "ref": "ErrorResponse"
251
+ },
252
+ "429": {
253
+ "ref": "ErrorResponse"
254
+ }
255
+ }
256
+ },
257
+ "getAdminBootstrapStatus": {
258
+ "method": "GET",
259
+ "path": "/api/accessi/auth/bootstrap-admin/status",
260
+ "security": [],
261
+ "parameters": {},
262
+ "requestBody": null,
263
+ "responses": {
264
+ "200": {
265
+ "ref": "AdminBootstrapStatusResponse"
266
+ }
267
+ }
268
+ },
269
+ "getRoles": {
270
+ "method": "GET",
271
+ "path": "/api/accessi/permission/roles",
272
+ "security": [
273
+ "bearer"
274
+ ],
275
+ "parameters": {},
276
+ "requestBody": null,
277
+ "responses": {
278
+ "200": {
279
+ "ref": "GetRolesResponse"
280
+ },
281
+ "500": {
282
+ "ref": "ErrorResponse"
283
+ }
284
+ }
285
+ },
286
+ "updateRole": {
287
+ "method": "PUT",
288
+ "path": "/api/accessi/permission/update-role/{codiceRuolo}",
289
+ "security": [
290
+ "bearer"
291
+ ],
292
+ "parameters": {
293
+ "path:codiceRuolo": {
294
+ "required": true,
295
+ "schema": {
296
+ "type": "number"
297
+ }
298
+ }
299
+ },
300
+ "requestBody": {
301
+ "required": true,
302
+ "schema": {
303
+ "ref": "Role"
304
+ }
305
+ },
306
+ "responses": {
307
+ "200": {
308
+ "ref": "ActionResponse"
309
+ },
310
+ "400": {
311
+ "ref": "ErrorResponse"
312
+ },
313
+ "500": {
314
+ "ref": "ErrorResponse"
315
+ }
316
+ }
317
+ },
318
+ "createRole": {
319
+ "method": "POST",
320
+ "path": "/api/accessi/permission/create-role",
321
+ "security": [
322
+ "bearer"
323
+ ],
324
+ "parameters": {},
325
+ "requestBody": {
326
+ "required": true,
327
+ "schema": {
328
+ "ref": "Role"
329
+ }
330
+ },
331
+ "responses": {
332
+ "201": {
333
+ "ref": "ActionResponse"
334
+ },
335
+ "400": {
336
+ "ref": "ErrorResponse"
337
+ },
338
+ "500": {
339
+ "ref": "ErrorResponse"
340
+ }
341
+ }
342
+ },
343
+ "assignRolesToUser": {
344
+ "method": "POST",
345
+ "path": "/api/accessi/permission/assign-roles/{codiceUtente}",
346
+ "security": [
347
+ "bearer"
348
+ ],
349
+ "parameters": {
350
+ "path:codiceUtente": {
351
+ "required": true,
352
+ "schema": {
353
+ "type": "number"
354
+ }
355
+ }
356
+ },
357
+ "requestBody": {
358
+ "required": true,
359
+ "schema": {
360
+ "ref": "AssignRolesToUserRequest"
361
+ }
362
+ },
363
+ "responses": {
364
+ "200": {
365
+ "ref": "ActionResponse"
366
+ },
367
+ "400": {
368
+ "ref": "ErrorResponse"
369
+ },
370
+ "500": {
371
+ "ref": "ErrorResponse"
372
+ }
373
+ }
374
+ },
375
+ "assignPermissionsToUser": {
376
+ "method": "POST",
377
+ "path": "/api/accessi/permission/assign-permissions/{codiceUtente}",
378
+ "security": [
379
+ "bearer"
380
+ ],
381
+ "parameters": {
382
+ "path:codiceUtente": {
383
+ "required": true,
384
+ "schema": {
385
+ "type": "number"
386
+ }
387
+ }
388
+ },
389
+ "requestBody": {
390
+ "required": true,
391
+ "schema": {
392
+ "ref": "AssignPermissionsToUserRequest"
393
+ }
394
+ },
395
+ "responses": {
396
+ "200": {
397
+ "ref": "ActionResponse"
398
+ },
399
+ "400": {
400
+ "ref": "ErrorResponse"
401
+ },
402
+ "500": {
403
+ "ref": "ErrorResponse"
404
+ }
405
+ }
406
+ },
407
+ "deleteRole": {
408
+ "method": "DELETE",
409
+ "path": "/api/accessi/permission/delete-role/{codiceRuolo}",
410
+ "security": [
411
+ "bearer"
412
+ ],
413
+ "parameters": {
414
+ "path:codiceRuolo": {
415
+ "required": true,
416
+ "schema": {
417
+ "type": "number"
418
+ }
419
+ }
420
+ },
421
+ "requestBody": null,
422
+ "responses": {
423
+ "200": {
424
+ "ref": "ActionResponse"
425
+ },
426
+ "400": {
427
+ "ref": "ErrorResponse"
428
+ },
429
+ "500": {
430
+ "ref": "ErrorResponse"
431
+ }
432
+ }
433
+ },
434
+ "getMenus": {
435
+ "method": "GET",
436
+ "path": "/api/accessi/permission/menus",
437
+ "security": [
438
+ "bearer"
439
+ ],
440
+ "parameters": {
441
+ "query:scope": {
442
+ "required": false,
443
+ "schema": {
444
+ "type": "string"
445
+ }
446
+ }
447
+ },
448
+ "requestBody": null,
449
+ "responses": {
450
+ "200": {
451
+ "ref": "GetMenusResponse"
452
+ },
453
+ "500": {
454
+ "ref": "ErrorResponse"
455
+ }
456
+ }
457
+ },
458
+ "createMenu": {
459
+ "method": "POST",
460
+ "path": "/api/accessi/permission/menus",
461
+ "security": [
462
+ "bearer"
463
+ ],
464
+ "parameters": {},
465
+ "requestBody": {
466
+ "required": true,
467
+ "schema": {
468
+ "ref": "CreateMenuRequest"
469
+ }
470
+ },
471
+ "responses": {
472
+ "201": {
473
+ "ref": "ActionResponse"
474
+ },
475
+ "400": {
476
+ "ref": "ErrorResponse"
477
+ },
478
+ "500": {
479
+ "ref": "ErrorResponse"
480
+ }
481
+ }
482
+ },
483
+ "getGroupsWithMenus": {
484
+ "method": "GET",
485
+ "path": "/api/accessi/permission/groups-with-menus",
486
+ "security": [
487
+ "bearer"
488
+ ],
489
+ "parameters": {
490
+ "query:includeDisabled": {
491
+ "required": false,
492
+ "schema": {
493
+ "type": "boolean"
494
+ }
495
+ },
496
+ "query:scope": {
497
+ "required": false,
498
+ "schema": {
499
+ "type": "string"
500
+ }
501
+ }
502
+ },
503
+ "requestBody": null,
504
+ "responses": {
505
+ "200": {
506
+ "ref": "GetGroupsWithMenusResponse"
507
+ },
508
+ "500": {
509
+ "ref": "ErrorResponse"
510
+ }
511
+ }
512
+ },
513
+ "getMenuTypes": {
514
+ "method": "GET",
515
+ "path": "/api/accessi/permission/menu-types",
516
+ "security": [
517
+ "bearer"
518
+ ],
519
+ "parameters": {},
520
+ "requestBody": null,
521
+ "responses": {
522
+ "200": {
523
+ "ref": "GetMenuTypesResponse"
524
+ },
525
+ "500": {
526
+ "ref": "ErrorResponse"
527
+ }
528
+ }
529
+ },
530
+ "createMenuType": {
531
+ "method": "POST",
532
+ "path": "/api/accessi/permission/menu-types",
533
+ "security": [
534
+ "bearer"
535
+ ],
536
+ "parameters": {},
537
+ "requestBody": {
538
+ "required": true,
539
+ "schema": {
540
+ "ref": "CreateMenuTypeRequest"
541
+ }
542
+ },
543
+ "responses": {
544
+ "201": {
545
+ "ref": "ActionResponse"
546
+ },
547
+ "400": {
548
+ "ref": "ErrorResponse"
549
+ },
550
+ "500": {
551
+ "ref": "ErrorResponse"
552
+ }
553
+ }
554
+ },
555
+ "updateMenu": {
556
+ "method": "PUT",
557
+ "path": "/api/accessi/permission/menus/{codiceMenu}",
558
+ "security": [
559
+ "bearer"
560
+ ],
561
+ "parameters": {
562
+ "path:codiceMenu": {
563
+ "required": true,
564
+ "schema": {
565
+ "type": "string"
566
+ }
567
+ }
568
+ },
569
+ "requestBody": {
570
+ "required": true,
571
+ "schema": {
572
+ "ref": "UpdateMenuRequest"
573
+ }
574
+ },
575
+ "responses": {
576
+ "200": {
577
+ "ref": "ActionResponse"
578
+ },
579
+ "400": {
580
+ "ref": "ErrorResponse"
581
+ },
582
+ "500": {
583
+ "ref": "ErrorResponse"
584
+ }
585
+ }
586
+ },
587
+ "deleteMenu": {
588
+ "method": "DELETE",
589
+ "path": "/api/accessi/permission/menus/{codiceMenu}",
590
+ "security": [
591
+ "bearer"
592
+ ],
593
+ "parameters": {
594
+ "path:codiceMenu": {
595
+ "required": true,
596
+ "schema": {
597
+ "type": "string"
598
+ }
599
+ }
600
+ },
601
+ "requestBody": null,
602
+ "responses": {
603
+ "200": {
604
+ "ref": "ActionResponse"
605
+ },
606
+ "400": {
607
+ "ref": "ErrorResponse"
608
+ },
609
+ "500": {
610
+ "ref": "ErrorResponse"
611
+ }
612
+ }
613
+ },
614
+ "createMenuGroup": {
615
+ "method": "POST",
616
+ "path": "/api/accessi/permission/menu-groups",
617
+ "security": [
618
+ "bearer"
619
+ ],
620
+ "parameters": {},
621
+ "requestBody": {
622
+ "required": true,
623
+ "schema": {
624
+ "ref": "CreateMenuGroupRequest"
625
+ }
626
+ },
627
+ "responses": {
628
+ "201": {
629
+ "ref": "ActionResponse"
630
+ },
631
+ "400": {
632
+ "ref": "ErrorResponse"
633
+ },
634
+ "500": {
635
+ "ref": "ErrorResponse"
636
+ }
637
+ }
638
+ },
639
+ "updateMenuGroup": {
640
+ "method": "PUT",
641
+ "path": "/api/accessi/permission/menu-groups/{codiceGruppo}",
642
+ "security": [
643
+ "bearer"
644
+ ],
645
+ "parameters": {
646
+ "path:codiceGruppo": {
647
+ "required": true,
648
+ "schema": {
649
+ "type": "string"
650
+ }
651
+ }
652
+ },
653
+ "requestBody": {
654
+ "required": true,
655
+ "schema": {
656
+ "ref": "UpdateMenuGroupRequest"
657
+ }
658
+ },
659
+ "responses": {
660
+ "200": {
661
+ "ref": "ActionResponse"
662
+ },
663
+ "400": {
664
+ "ref": "ErrorResponse"
665
+ },
666
+ "500": {
667
+ "ref": "ErrorResponse"
668
+ }
669
+ }
670
+ },
671
+ "deleteMenuGroup": {
672
+ "method": "DELETE",
673
+ "path": "/api/accessi/permission/menu-groups/{codiceGruppo}",
674
+ "security": [
675
+ "bearer"
676
+ ],
677
+ "parameters": {
678
+ "path:codiceGruppo": {
679
+ "required": true,
680
+ "schema": {
681
+ "type": "string"
682
+ }
683
+ }
684
+ },
685
+ "requestBody": null,
686
+ "responses": {
687
+ "200": {
688
+ "ref": "ActionResponse"
689
+ },
690
+ "400": {
691
+ "ref": "ErrorResponse"
692
+ },
693
+ "500": {
694
+ "ref": "ErrorResponse"
695
+ }
696
+ }
697
+ },
698
+ "updateMenuType": {
699
+ "method": "PUT",
700
+ "path": "/api/accessi/permission/menu-types/{codiceTipo}",
701
+ "security": [
702
+ "bearer"
703
+ ],
704
+ "parameters": {
705
+ "path:codiceTipo": {
706
+ "required": true,
707
+ "schema": {
708
+ "type": "string"
709
+ }
710
+ }
711
+ },
712
+ "requestBody": {
713
+ "required": true,
714
+ "schema": {
715
+ "ref": "UpdateMenuTypeRequest"
716
+ }
717
+ },
718
+ "responses": {
719
+ "200": {
720
+ "ref": "ActionResponse"
721
+ },
722
+ "400": {
723
+ "ref": "ErrorResponse"
724
+ },
725
+ "500": {
726
+ "ref": "ErrorResponse"
727
+ }
728
+ }
729
+ },
730
+ "deleteMenuType": {
731
+ "method": "DELETE",
732
+ "path": "/api/accessi/permission/menu-types/{codiceTipo}",
733
+ "security": [
734
+ "bearer"
735
+ ],
736
+ "parameters": {
737
+ "path:codiceTipo": {
738
+ "required": true,
739
+ "schema": {
740
+ "type": "string"
741
+ }
742
+ }
743
+ },
744
+ "requestBody": null,
745
+ "responses": {
746
+ "200": {
747
+ "ref": "ActionResponse"
748
+ },
749
+ "400": {
750
+ "ref": "ErrorResponse"
751
+ },
752
+ "500": {
753
+ "ref": "ErrorResponse"
754
+ }
755
+ }
756
+ },
757
+ "getUserRolesAndGrants": {
758
+ "method": "GET",
759
+ "path": "/api/accessi/permission/grants/{codiceUtente}",
760
+ "security": [
761
+ "bearer"
762
+ ],
763
+ "parameters": {
764
+ "path:codiceUtente": {
765
+ "required": true,
766
+ "schema": {
767
+ "type": "number"
768
+ }
769
+ },
770
+ "query:scope": {
771
+ "required": false,
772
+ "schema": {
773
+ "type": "string"
774
+ }
775
+ }
776
+ },
777
+ "requestBody": null,
778
+ "responses": {
779
+ "200": {
780
+ "ref": "UserGrantsResponse"
781
+ },
782
+ "500": {
783
+ "ref": "ErrorResponse"
784
+ }
785
+ }
786
+ },
787
+ "getScopes": {
788
+ "method": "GET",
789
+ "path": "/api/accessi/permission/scopes",
790
+ "security": [
791
+ "bearer"
792
+ ],
793
+ "parameters": {},
794
+ "requestBody": null,
795
+ "responses": {
796
+ "200": {
797
+ "ref": "GetScopesResponse"
798
+ },
799
+ "500": {
800
+ "ref": "ErrorResponse"
801
+ }
802
+ }
803
+ },
804
+ "createScope": {
805
+ "method": "POST",
806
+ "path": "/api/accessi/permission/scopes",
807
+ "security": [
808
+ "bearer"
809
+ ],
810
+ "parameters": {},
811
+ "requestBody": {
812
+ "required": true,
813
+ "schema": {
814
+ "ref": "CreateScopeRequest"
815
+ }
816
+ },
817
+ "responses": {
818
+ "201": {
819
+ "ref": "ActionResponse"
820
+ },
821
+ "400": {
822
+ "ref": "ErrorResponse"
823
+ }
824
+ }
825
+ },
826
+ "updateScope": {
827
+ "method": "PUT",
828
+ "path": "/api/accessi/permission/scopes/{codiceScope}",
829
+ "security": [
830
+ "bearer"
831
+ ],
832
+ "parameters": {
833
+ "path:codiceScope": {
834
+ "required": true,
835
+ "schema": {
836
+ "type": "string"
837
+ }
838
+ }
839
+ },
840
+ "requestBody": {
841
+ "required": true,
842
+ "schema": {
843
+ "ref": "UpdateScopeRequest"
844
+ }
845
+ },
846
+ "responses": {
847
+ "200": {
848
+ "ref": "ActionResponse"
849
+ },
850
+ "400": {
851
+ "ref": "ErrorResponse"
852
+ }
853
+ }
854
+ },
855
+ "deleteScope": {
856
+ "method": "DELETE",
857
+ "path": "/api/accessi/permission/scopes/{codiceScope}",
858
+ "security": [
859
+ "bearer"
860
+ ],
861
+ "parameters": {
862
+ "path:codiceScope": {
863
+ "required": true,
864
+ "schema": {
865
+ "type": "string"
866
+ }
867
+ }
868
+ },
869
+ "requestBody": null,
870
+ "responses": {
871
+ "200": {
872
+ "ref": "ActionResponse"
873
+ }
874
+ }
875
+ },
876
+ "getMenuScopes": {
877
+ "method": "GET",
878
+ "path": "/api/accessi/permission/menus/{codiceMenu}/scopes",
879
+ "security": [
880
+ "bearer"
881
+ ],
882
+ "parameters": {
883
+ "path:codiceMenu": {
884
+ "required": true,
885
+ "schema": {
886
+ "type": "string"
887
+ }
888
+ }
889
+ },
890
+ "requestBody": null,
891
+ "responses": {
892
+ "200": {
893
+ "ref": "GetMenuScopesResponse"
894
+ }
895
+ }
896
+ },
897
+ "setMenuScopes": {
898
+ "method": "PUT",
899
+ "path": "/api/accessi/permission/menus/{codiceMenu}/scopes",
900
+ "security": [
901
+ "bearer"
902
+ ],
903
+ "parameters": {
904
+ "path:codiceMenu": {
905
+ "required": true,
906
+ "schema": {
907
+ "type": "string"
908
+ }
909
+ }
910
+ },
911
+ "requestBody": {
912
+ "required": true,
913
+ "schema": {
914
+ "ref": "SetMenuScopesRequest"
915
+ }
916
+ },
917
+ "responses": {
918
+ "200": {
919
+ "ref": "ActionResponse"
920
+ }
921
+ }
922
+ },
923
+ "setScopeMenus": {
924
+ "method": "PUT",
925
+ "path": "/api/accessi/permission/scopes/{codiceScope}/menus",
926
+ "security": [
927
+ "bearer"
928
+ ],
929
+ "parameters": {
930
+ "path:codiceScope": {
931
+ "required": true,
932
+ "schema": {
933
+ "type": "string"
934
+ }
935
+ }
936
+ },
937
+ "requestBody": {
938
+ "required": true,
939
+ "schema": {
940
+ "ref": "SetScopeMenusRequest"
941
+ }
942
+ },
943
+ "responses": {
944
+ "200": {
945
+ "ref": "ActionResponse"
946
+ }
947
+ }
948
+ },
949
+ "serveResetPasswordPageUser": {
950
+ "method": "GET",
951
+ "path": "/api/accessi/user/reset-password/{token}",
952
+ "security": [],
953
+ "parameters": {
954
+ "path:token": {
955
+ "required": true,
956
+ "schema": {
957
+ "type": "string"
958
+ }
959
+ }
960
+ },
961
+ "requestBody": null,
962
+ "responses": {
963
+ "200": {
964
+ "type": "none"
965
+ }
966
+ }
967
+ },
968
+ "getUsers": {
969
+ "method": "GET",
970
+ "path": "/api/accessi/user/get-users",
971
+ "security": [
972
+ "bearer"
973
+ ],
974
+ "parameters": {
975
+ "query:email": {
976
+ "required": false,
977
+ "schema": {
978
+ "type": "string"
979
+ }
980
+ },
981
+ "query:codiceUtente": {
982
+ "required": false,
983
+ "schema": {
984
+ "type": "number"
985
+ }
986
+ },
987
+ "query:includeExtensionFields": {
988
+ "required": false,
989
+ "schema": {
990
+ "type": "boolean"
991
+ }
992
+ },
993
+ "query:includeGrants": {
994
+ "required": false,
995
+ "schema": {
996
+ "type": "boolean"
997
+ }
998
+ },
999
+ "query:limit": {
1000
+ "required": false,
1001
+ "schema": {
1002
+ "type": "number"
1003
+ }
1004
+ },
1005
+ "query:offset": {
1006
+ "required": false,
1007
+ "schema": {
1008
+ "type": "number"
1009
+ }
1010
+ }
1011
+ },
1012
+ "requestBody": null,
1013
+ "responses": {
1014
+ "200": {
1015
+ "ref": "GetUsersResponse"
1016
+ },
1017
+ "401": {
1018
+ "ref": "ErrorResponse"
1019
+ },
1020
+ "403": {
1021
+ "ref": "ErrorResponse"
1022
+ },
1023
+ "500": {
1024
+ "ref": "ErrorResponse"
1025
+ }
1026
+ }
1027
+ },
1028
+ "deleteUser": {
1029
+ "method": "DELETE",
1030
+ "path": "/api/accessi/user/delete-user/{codiceUtente}",
1031
+ "security": [
1032
+ "bearer"
1033
+ ],
1034
+ "parameters": {
1035
+ "path:codiceUtente": {
1036
+ "required": true,
1037
+ "schema": {
1038
+ "type": "number"
1039
+ }
1040
+ }
1041
+ },
1042
+ "requestBody": null,
1043
+ "responses": {
1044
+ "200": {
1045
+ "ref": "ActionResponse"
1046
+ },
1047
+ "400": {
1048
+ "ref": "ErrorResponse"
1049
+ },
1050
+ "500": {
1051
+ "ref": "ErrorResponse"
1052
+ }
1053
+ }
1054
+ },
1055
+ "deleteUserPermanently": {
1056
+ "method": "DELETE",
1057
+ "path": "/api/accessi/user/delete-user-permanent/{codiceUtente}",
1058
+ "security": [
1059
+ "bearer"
1060
+ ],
1061
+ "parameters": {
1062
+ "path:codiceUtente": {
1063
+ "required": true,
1064
+ "schema": {
1065
+ "type": "number"
1066
+ }
1067
+ }
1068
+ },
1069
+ "requestBody": null,
1070
+ "responses": {
1071
+ "200": {
1072
+ "ref": "ActionResponse"
1073
+ },
1074
+ "400": {
1075
+ "ref": "ErrorResponse"
1076
+ },
1077
+ "403": {
1078
+ "ref": "ErrorResponse"
1079
+ },
1080
+ "404": {
1081
+ "ref": "ErrorResponse"
1082
+ },
1083
+ "500": {
1084
+ "ref": "ErrorResponse"
1085
+ }
1086
+ }
1087
+ },
1088
+ "forcePasswordReset": {
1089
+ "method": "POST",
1090
+ "path": "/api/accessi/user/force-password-reset/{codiceUtente}",
1091
+ "security": [
1092
+ "bearer"
1093
+ ],
1094
+ "parameters": {
1095
+ "path:codiceUtente": {
1096
+ "required": true,
1097
+ "schema": {
1098
+ "type": "number"
1099
+ }
1100
+ }
1101
+ },
1102
+ "requestBody": null,
1103
+ "responses": {
1104
+ "200": {
1105
+ "ref": "ActionResponse"
1106
+ },
1107
+ "400": {
1108
+ "ref": "ErrorResponse"
1109
+ },
1110
+ "404": {
1111
+ "ref": "ErrorResponse"
1112
+ }
1113
+ }
1114
+ },
1115
+ "forcePasswordResetLegacy": {
1116
+ "method": "POST",
1117
+ "path": "/api/accessi/user/force-password-reset-legacy",
1118
+ "security": [
1119
+ "bearer"
1120
+ ],
1121
+ "parameters": {},
1122
+ "requestBody": null,
1123
+ "responses": {
1124
+ "200": {
1125
+ "ref": "ActionResponse"
1126
+ },
1127
+ "400": {
1128
+ "ref": "ErrorResponse"
1129
+ }
1130
+ }
1131
+ },
1132
+ "createLoginAsUrl": {
1133
+ "method": "POST",
1134
+ "path": "/api/accessi/user/login-as/{codiceUtente}",
1135
+ "security": [
1136
+ "bearer"
1137
+ ],
1138
+ "parameters": {
1139
+ "path:codiceUtente": {
1140
+ "required": true,
1141
+ "schema": {
1142
+ "type": "number"
1143
+ }
1144
+ }
1145
+ },
1146
+ "requestBody": {
1147
+ "required": true,
1148
+ "schema": {
1149
+ "ref": "LoginAsRequest"
1150
+ }
1151
+ },
1152
+ "responses": {
1153
+ "200": {
1154
+ "ref": "LoginAsResponse"
1155
+ },
1156
+ "400": {
1157
+ "ref": "ErrorResponse"
1158
+ },
1159
+ "403": {
1160
+ "ref": "ErrorResponse"
1161
+ },
1162
+ "404": {
1163
+ "ref": "ErrorResponse"
1164
+ }
1165
+ }
1166
+ },
1167
+ "setUserPassword": {
1168
+ "method": "POST",
1169
+ "path": "/api/accessi/user/set-password/{codiceUtente}",
1170
+ "security": [
1171
+ "bearer"
1172
+ ],
1173
+ "parameters": {
1174
+ "path:codiceUtente": {
1175
+ "required": true,
1176
+ "schema": {
1177
+ "type": "number"
1178
+ }
1179
+ }
1180
+ },
1181
+ "requestBody": {
1182
+ "required": true,
1183
+ "schema": {
1184
+ "ref": "SetUserPasswordRequest"
1185
+ }
1186
+ },
1187
+ "responses": {
1188
+ "200": {
1189
+ "ref": "ActionResponse"
1190
+ },
1191
+ "400": {
1192
+ "ref": "ErrorResponse"
1193
+ },
1194
+ "403": {
1195
+ "ref": "ErrorResponse"
1196
+ }
1197
+ }
1198
+ },
1199
+ "setStatoRegistrazione": {
1200
+ "method": "POST",
1201
+ "path": "/api/accessi/user/set-stato",
1202
+ "security": [
1203
+ "bearer"
1204
+ ],
1205
+ "parameters": {},
1206
+ "requestBody": {
1207
+ "required": true,
1208
+ "schema": {
1209
+ "ref": "SetStatoRegistrazioneDto"
1210
+ }
1211
+ },
1212
+ "responses": {
1213
+ "200": {
1214
+ "ref": "ActionResponse"
1215
+ },
1216
+ "400": {
1217
+ "ref": "ErrorResponse"
1218
+ },
1219
+ "500": {
1220
+ "ref": "ErrorResponse"
1221
+ }
1222
+ }
1223
+ },
1224
+ "register": {
1225
+ "method": "POST",
1226
+ "path": "/api/accessi/user/register",
1227
+ "security": [],
1228
+ "parameters": {},
1229
+ "requestBody": {
1230
+ "required": true,
1231
+ "schema": {
1232
+ "ref": "PublicRegisterRequest"
1233
+ }
1234
+ },
1235
+ "responses": {
1236
+ "201": {
1237
+ "ref": "RegisterResponse"
1238
+ },
1239
+ "400": {
1240
+ "ref": "ErrorResponse"
1241
+ },
1242
+ "500": {
1243
+ "ref": "ErrorResponse"
1244
+ }
1245
+ }
1246
+ },
1247
+ "createManagedUser": {
1248
+ "method": "POST",
1249
+ "path": "/api/accessi/user/create-managed-user",
1250
+ "security": [
1251
+ "bearer"
1252
+ ],
1253
+ "parameters": {},
1254
+ "requestBody": {
1255
+ "required": true,
1256
+ "schema": {
1257
+ "ref": "RegisterRequest"
1258
+ }
1259
+ },
1260
+ "responses": {
1261
+ "201": {
1262
+ "ref": "RegisterResponse"
1263
+ }
1264
+ }
1265
+ },
1266
+ "updateUtente": {
1267
+ "method": "PUT",
1268
+ "path": "/api/accessi/user/update-user/{codiceUtente}",
1269
+ "security": [
1270
+ "bearer"
1271
+ ],
1272
+ "parameters": {
1273
+ "path:codiceUtente": {
1274
+ "required": true,
1275
+ "schema": {
1276
+ "type": "number"
1277
+ }
1278
+ }
1279
+ },
1280
+ "requestBody": {
1281
+ "required": true,
1282
+ "schema": {
1283
+ "ref": "UserDto"
1284
+ }
1285
+ },
1286
+ "responses": {
1287
+ "200": {
1288
+ "ref": "ActionResponse"
1289
+ },
1290
+ "400": {
1291
+ "ref": "ErrorResponse"
1292
+ },
1293
+ "403": {
1294
+ "ref": "ErrorResponse"
1295
+ },
1296
+ "500": {
1297
+ "ref": "ErrorResponse"
1298
+ }
1299
+ }
1300
+ },
1301
+ "setGdpr": {
1302
+ "method": "PATCH",
1303
+ "path": "/api/accessi/user/set-gdpr/{codiceUtente}",
1304
+ "security": [
1305
+ "bearer"
1306
+ ],
1307
+ "parameters": {
1308
+ "path:codiceUtente": {
1309
+ "required": true,
1310
+ "schema": {
1311
+ "type": "number"
1312
+ }
1313
+ }
1314
+ },
1315
+ "requestBody": null,
1316
+ "responses": {
1317
+ "200": {
1318
+ "ref": "ActionResponse"
1319
+ },
1320
+ "400": {
1321
+ "ref": "ErrorResponse"
1322
+ },
1323
+ "403": {
1324
+ "ref": "ErrorResponse"
1325
+ }
1326
+ }
1327
+ },
1328
+ "getTipiFiltro": {
1329
+ "method": "GET",
1330
+ "path": "/api/accessi/filtri/tipi",
1331
+ "security": [
1332
+ "bearer"
1333
+ ],
1334
+ "parameters": {},
1335
+ "requestBody": null,
1336
+ "responses": {
1337
+ "200": {
1338
+ "ref": "GetFiltriResponse"
1339
+ },
1340
+ "500": {
1341
+ "ref": "ErrorResponse"
1342
+ }
1343
+ }
1344
+ },
1345
+ "createTipoFiltro": {
1346
+ "method": "POST",
1347
+ "path": "/api/accessi/filtri/tipi",
1348
+ "security": [
1349
+ "bearer"
1350
+ ],
1351
+ "parameters": {},
1352
+ "requestBody": {
1353
+ "required": true,
1354
+ "schema": {
1355
+ "ref": "CreateFilterTypeRequest"
1356
+ }
1357
+ },
1358
+ "responses": {
1359
+ "201": {
1360
+ "ref": "ActionResponse"
1361
+ },
1362
+ "400": {
1363
+ "ref": "ErrorResponse"
1364
+ },
1365
+ "500": {
1366
+ "ref": "ErrorResponse"
1367
+ }
1368
+ }
1369
+ },
1370
+ "updateTipoFiltro": {
1371
+ "method": "PUT",
1372
+ "path": "/api/accessi/filtri/tipi/{tipFil}",
1373
+ "security": [
1374
+ "bearer"
1375
+ ],
1376
+ "parameters": {
1377
+ "path:tipFil": {
1378
+ "required": true,
1379
+ "schema": {
1380
+ "type": "number"
1381
+ }
1382
+ }
1383
+ },
1384
+ "requestBody": {
1385
+ "required": true,
1386
+ "schema": {
1387
+ "ref": "UpdateFilterTypeRequest"
1388
+ }
1389
+ },
1390
+ "responses": {
1391
+ "200": {
1392
+ "ref": "ActionResponse"
1393
+ },
1394
+ "400": {
1395
+ "ref": "ErrorResponse"
1396
+ },
1397
+ "500": {
1398
+ "ref": "ErrorResponse"
1399
+ }
1400
+ }
1401
+ },
1402
+ "deleteTipoFiltro": {
1403
+ "method": "DELETE",
1404
+ "path": "/api/accessi/filtri/tipi/{tipFil}",
1405
+ "security": [
1406
+ "bearer"
1407
+ ],
1408
+ "parameters": {
1409
+ "path:tipFil": {
1410
+ "required": true,
1411
+ "schema": {
1412
+ "type": "number"
1413
+ }
1414
+ }
1415
+ },
1416
+ "requestBody": null,
1417
+ "responses": {
1418
+ "200": {
1419
+ "ref": "ActionResponse"
1420
+ },
1421
+ "400": {
1422
+ "ref": "ErrorResponse"
1423
+ },
1424
+ "500": {
1425
+ "ref": "ErrorResponse"
1426
+ }
1427
+ }
1428
+ },
1429
+ "getFiltriUtente": {
1430
+ "method": "GET",
1431
+ "path": "/api/accessi/filtri/utente",
1432
+ "security": [
1433
+ "bearer"
1434
+ ],
1435
+ "parameters": {
1436
+ "query:codUte": {
1437
+ "required": false,
1438
+ "schema": {
1439
+ "type": "number"
1440
+ }
1441
+ }
1442
+ },
1443
+ "requestBody": null,
1444
+ "responses": {
1445
+ "200": {
1446
+ "ref": "GetFiltriUtenteResponse"
1447
+ },
1448
+ "400": {
1449
+ "ref": "ErrorResponse"
1450
+ },
1451
+ "403": {
1452
+ "ref": "ErrorResponse"
1453
+ },
1454
+ "500": {
1455
+ "ref": "ErrorResponse"
1456
+ }
1457
+ }
1458
+ },
1459
+ "saveFiltriUtente": {
1460
+ "method": "POST",
1461
+ "path": "/api/accessi/filtri/utente",
1462
+ "security": [
1463
+ "bearer"
1464
+ ],
1465
+ "parameters": {},
1466
+ "requestBody": {
1467
+ "required": true,
1468
+ "schema": {
1469
+ "ref": "FiltriUtente"
1470
+ }
1471
+ },
1472
+ "responses": {
1473
+ "200": {
1474
+ "ref": "ActionResponse"
1475
+ },
1476
+ "400": {
1477
+ "ref": "ErrorResponse"
1478
+ },
1479
+ "403": {
1480
+ "ref": "ErrorResponse"
1481
+ },
1482
+ "500": {
1483
+ "ref": "ErrorResponse"
1484
+ }
1485
+ }
1486
+ },
1487
+ "setMenuEnabled": {
1488
+ "method": "PATCH",
1489
+ "path": "/api/accessi/configurator/menus/{codiceMenu}/enabled",
1490
+ "security": [
1491
+ "bearer"
1492
+ ],
1493
+ "parameters": {
1494
+ "path:codiceMenu": {
1495
+ "required": true,
1496
+ "schema": {
1497
+ "type": "string"
1498
+ }
1499
+ }
1500
+ },
1501
+ "requestBody": {
1502
+ "required": true,
1503
+ "schema": {
1504
+ "ref": "UpdateEnabledStatusRequest"
1505
+ }
1506
+ },
1507
+ "responses": {
1508
+ "200": {
1509
+ "ref": "ActionResponse"
1510
+ },
1511
+ "400": {
1512
+ "ref": "ErrorResponse"
1513
+ },
1514
+ "401": {
1515
+ "ref": "ErrorResponse"
1516
+ },
1517
+ "403": {
1518
+ "ref": "ErrorResponse"
1519
+ },
1520
+ "500": {
1521
+ "ref": "ErrorResponse"
1522
+ }
1523
+ }
1524
+ },
1525
+ "setGroupEnabled": {
1526
+ "method": "PATCH",
1527
+ "path": "/api/accessi/configurator/groups/{codiceGruppo}/enabled",
1528
+ "security": [
1529
+ "bearer"
1530
+ ],
1531
+ "parameters": {
1532
+ "path:codiceGruppo": {
1533
+ "required": true,
1534
+ "schema": {
1535
+ "type": "string"
1536
+ }
1537
+ }
1538
+ },
1539
+ "requestBody": {
1540
+ "required": true,
1541
+ "schema": {
1542
+ "ref": "UpdateEnabledStatusRequest"
1543
+ }
1544
+ },
1545
+ "responses": {
1546
+ "200": {
1547
+ "ref": "ActionResponse"
1548
+ },
1549
+ "400": {
1550
+ "ref": "ErrorResponse"
1551
+ },
1552
+ "401": {
1553
+ "ref": "ErrorResponse"
1554
+ },
1555
+ "403": {
1556
+ "ref": "ErrorResponse"
1557
+ },
1558
+ "500": {
1559
+ "ref": "ErrorResponse"
1560
+ }
1561
+ }
1562
+ },
1563
+ "getFederatedProviders": {
1564
+ "method": "GET",
1565
+ "path": "/api/accessi/federated-auth/providers",
1566
+ "security": [
1567
+ "bearer"
1568
+ ],
1569
+ "parameters": {},
1570
+ "requestBody": null,
1571
+ "responses": {
1572
+ "200": {
1573
+ "ref": "FederatedProviderListResponse"
1574
+ }
1575
+ }
1576
+ },
1577
+ "createFederatedProvider": {
1578
+ "method": "POST",
1579
+ "path": "/api/accessi/federated-auth/providers",
1580
+ "security": [
1581
+ "bearer"
1582
+ ],
1583
+ "parameters": {},
1584
+ "requestBody": {
1585
+ "required": true,
1586
+ "schema": {
1587
+ "ref": "CreateFederatedProviderRequest"
1588
+ }
1589
+ },
1590
+ "responses": {
1591
+ "201": {
1592
+ "ref": "FederatedProviderResponse"
1593
+ }
1594
+ }
1595
+ },
1596
+ "updateFederatedProvider": {
1597
+ "method": "PATCH",
1598
+ "path": "/api/accessi/federated-auth/providers/{provider}",
1599
+ "security": [
1600
+ "bearer"
1601
+ ],
1602
+ "parameters": {
1603
+ "path:provider": {
1604
+ "required": true,
1605
+ "schema": {
1606
+ "type": "string"
1607
+ }
1608
+ }
1609
+ },
1610
+ "requestBody": {
1611
+ "required": true,
1612
+ "schema": {
1613
+ "ref": "UpdateFederatedProviderRequest"
1614
+ }
1615
+ },
1616
+ "responses": {
1617
+ "200": {
1618
+ "ref": "FederatedProviderResponse"
1619
+ }
1620
+ }
1621
+ },
1622
+ "deleteFederatedProvider": {
1623
+ "method": "DELETE",
1624
+ "path": "/api/accessi/federated-auth/providers/{provider}",
1625
+ "security": [
1626
+ "bearer"
1627
+ ],
1628
+ "parameters": {
1629
+ "path:provider": {
1630
+ "required": true,
1631
+ "schema": {
1632
+ "type": "string"
1633
+ }
1634
+ }
1635
+ },
1636
+ "requestBody": null,
1637
+ "responses": {
1638
+ "200": {
1639
+ "ref": "ActionResponse"
1640
+ },
1641
+ "404": {
1642
+ "ref": "ErrorResponse"
1643
+ },
1644
+ "409": {
1645
+ "ref": "ErrorResponse"
1646
+ }
1647
+ }
1648
+ },
1649
+ "getFederatedIdentities": {
1650
+ "method": "GET",
1651
+ "path": "/api/accessi/federated-auth/users/{codiceUtente}/identities",
1652
+ "security": [
1653
+ "bearer"
1654
+ ],
1655
+ "parameters": {
1656
+ "path:codiceUtente": {
1657
+ "required": true,
1658
+ "schema": {
1659
+ "type": "number"
1660
+ }
1661
+ }
1662
+ },
1663
+ "requestBody": null,
1664
+ "responses": {
1665
+ "200": {
1666
+ "ref": "FederatedIdentityListResponse"
1667
+ },
1668
+ "403": {
1669
+ "ref": "ErrorResponse"
1670
+ }
1671
+ }
1672
+ },
1673
+ "linkFederatedIdentity": {
1674
+ "method": "POST",
1675
+ "path": "/api/accessi/federated-auth/users/{codiceUtente}/identities",
1676
+ "security": [
1677
+ "bearer"
1678
+ ],
1679
+ "parameters": {
1680
+ "path:codiceUtente": {
1681
+ "required": true,
1682
+ "schema": {
1683
+ "type": "number"
1684
+ }
1685
+ }
1686
+ },
1687
+ "requestBody": {
1688
+ "required": true,
1689
+ "schema": {
1690
+ "ref": "CreateFederatedIdentityRequest"
1691
+ }
1692
+ },
1693
+ "responses": {
1694
+ "201": {
1695
+ "ref": "FederatedIdentityResponse"
1696
+ }
1697
+ }
1698
+ },
1699
+ "createFederatedUser": {
1700
+ "method": "POST",
1701
+ "path": "/api/accessi/federated-auth/users",
1702
+ "security": [
1703
+ "bearer"
1704
+ ],
1705
+ "parameters": {},
1706
+ "requestBody": {
1707
+ "required": true,
1708
+ "schema": {
1709
+ "ref": "CreateFederatedUserRequest"
1710
+ }
1711
+ },
1712
+ "responses": {
1713
+ "201": {
1714
+ "ref": "FederatedIdentityResponse"
1715
+ },
1716
+ "400": {
1717
+ "ref": "ErrorResponse"
1718
+ },
1719
+ "404": {
1720
+ "ref": "ErrorResponse"
1721
+ },
1722
+ "409": {
1723
+ "ref": "ErrorResponse"
1724
+ },
1725
+ "500": {
1726
+ "ref": "ErrorResponse"
1727
+ },
1728
+ "503": {
1729
+ "ref": "ErrorResponse"
1730
+ }
1731
+ }
1732
+ },
1733
+ "setPasswordLoginPolicy": {
1734
+ "method": "PATCH",
1735
+ "path": "/api/accessi/federated-auth/users/{codiceUtente}/password-login",
1736
+ "security": [
1737
+ "bearer"
1738
+ ],
1739
+ "parameters": {
1740
+ "path:codiceUtente": {
1741
+ "required": true,
1742
+ "schema": {
1743
+ "type": "number"
1744
+ }
1745
+ }
1746
+ },
1747
+ "requestBody": {
1748
+ "required": true,
1749
+ "schema": {
1750
+ "ref": "SetPasswordLoginPolicyRequest"
1751
+ }
1752
+ },
1753
+ "responses": {
1754
+ "200": {
1755
+ "ref": "ActionResponse"
1756
+ }
1757
+ }
1758
+ },
1759
+ "updateFederatedIdentity": {
1760
+ "method": "PATCH",
1761
+ "path": "/api/accessi/federated-auth/identities/{identityKey}",
1762
+ "security": [
1763
+ "bearer"
1764
+ ],
1765
+ "parameters": {
1766
+ "path:identityKey": {
1767
+ "required": true,
1768
+ "schema": {
1769
+ "type": "string"
1770
+ }
1771
+ }
1772
+ },
1773
+ "requestBody": {
1774
+ "required": true,
1775
+ "schema": {
1776
+ "ref": "UpdateFederatedIdentityRequest"
1777
+ }
1778
+ },
1779
+ "responses": {
1780
+ "200": {
1781
+ "ref": "ActionResponse"
1782
+ }
1783
+ }
1784
+ },
1785
+ "disableFederatedIdentity": {
1786
+ "method": "DELETE",
1787
+ "path": "/api/accessi/federated-auth/identities/{identityKey}",
1788
+ "security": [
1789
+ "bearer"
1790
+ ],
1791
+ "parameters": {
1792
+ "path:identityKey": {
1793
+ "required": true,
1794
+ "schema": {
1795
+ "type": "string"
1796
+ }
1797
+ }
1798
+ },
1799
+ "requestBody": null,
1800
+ "responses": {
1801
+ "200": {
1802
+ "ref": "ActionResponse"
1803
+ }
1804
+ }
1805
+ },
1806
+ "deleteFederatedIdentityPermanently": {
1807
+ "method": "DELETE",
1808
+ "path": "/api/accessi/federated-auth/users/{codiceUtente}/identities/{identityKey}",
1809
+ "security": [
1810
+ "bearer"
1811
+ ],
1812
+ "parameters": {
1813
+ "path:codiceUtente": {
1814
+ "required": true,
1815
+ "schema": {
1816
+ "type": "number"
1817
+ }
1818
+ },
1819
+ "path:identityKey": {
1820
+ "required": true,
1821
+ "schema": {
1822
+ "type": "string"
1823
+ }
1824
+ }
1825
+ },
1826
+ "requestBody": null,
1827
+ "responses": {
1828
+ "200": {
1829
+ "ref": "ActionResponse"
1830
+ },
1831
+ "404": {
1832
+ "ref": "ErrorResponse"
1833
+ }
1834
+ }
1835
+ },
1836
+ "createConsoleEntryTicket": {
1837
+ "method": "POST",
1838
+ "path": "/api/accessi/console/entry",
1839
+ "security": [
1840
+ "bearer"
1841
+ ],
1842
+ "parameters": {},
1843
+ "requestBody": null,
1844
+ "responses": {
1845
+ "200": {
1846
+ "ref": "ConsoleEntryTicketResponse"
1847
+ },
1848
+ "401": {
1849
+ "ref": "ErrorResponse"
1850
+ },
1851
+ "403": {
1852
+ "ref": "ErrorResponse"
1853
+ }
1854
+ }
1855
+ },
1856
+ "exchangeConsoleEntryTicket": {
1857
+ "method": "POST",
1858
+ "path": "/api/accessi/console/entry/exchange",
1859
+ "security": [
1860
+ "bearer"
1861
+ ],
1862
+ "parameters": {},
1863
+ "requestBody": {
1864
+ "required": true,
1865
+ "schema": {
1866
+ "ref": "ConsoleEntryExchangeRequest"
1867
+ }
1868
+ },
1869
+ "responses": {
1870
+ "200": {
1871
+ "ref": "ConsoleEntrySessionResponse"
1872
+ },
1873
+ "401": {
1874
+ "ref": "ErrorResponse"
1875
+ },
1876
+ "429": {
1877
+ "ref": "ErrorResponse"
1878
+ }
1879
+ }
1880
+ },
1881
+ "exchangeFederatedIdentity": {
1882
+ "method": "POST",
1883
+ "path": "/api/accessi/federated-auth/exchange",
1884
+ "security": [
1885
+ "bearer"
1886
+ ],
1887
+ "parameters": {},
1888
+ "requestBody": {
1889
+ "required": true,
1890
+ "schema": {
1891
+ "ref": "ExchangeFederatedIdentityRequest"
1892
+ }
1893
+ },
1894
+ "responses": {
1895
+ "200": {
1896
+ "ref": "FederatedExchangeResponse"
1897
+ },
1898
+ "401": {
1899
+ "ref": "ErrorResponse"
1900
+ },
1901
+ "403": {
1902
+ "ref": "ErrorResponse"
1903
+ },
1904
+ "404": {
1905
+ "ref": "ErrorResponse"
1906
+ }
1907
+ }
1908
+ },
1909
+ "getServiceTokens": {
1910
+ "method": "GET",
1911
+ "path": "/api/accessi/service-token",
1912
+ "security": [
1913
+ "bearer"
1914
+ ],
1915
+ "parameters": {
1916
+ "query:includeRevoked": {
1917
+ "required": false,
1918
+ "schema": {
1919
+ "type": "boolean"
1920
+ }
1921
+ }
1922
+ },
1923
+ "requestBody": null,
1924
+ "responses": {
1925
+ "200": {
1926
+ "ref": "GetServiceTokensResponse"
1927
+ },
1928
+ "401": {
1929
+ "ref": "ErrorResponse"
1930
+ },
1931
+ "403": {
1932
+ "ref": "ErrorResponse"
1933
+ }
1934
+ }
1935
+ },
1936
+ "createServiceToken": {
1937
+ "method": "POST",
1938
+ "path": "/api/accessi/service-token",
1939
+ "security": [
1940
+ "bearer"
1941
+ ],
1942
+ "parameters": {},
1943
+ "requestBody": {
1944
+ "required": true,
1945
+ "schema": {
1946
+ "ref": "CreateServiceTokenRequest"
1947
+ }
1948
+ },
1949
+ "responses": {
1950
+ "201": {
1951
+ "ref": "CreateServiceTokenResponse"
1952
+ },
1953
+ "400": {
1954
+ "ref": "ErrorResponse"
1955
+ },
1956
+ "401": {
1957
+ "ref": "ErrorResponse"
1958
+ },
1959
+ "403": {
1960
+ "ref": "ErrorResponse"
1961
+ }
1962
+ }
1963
+ },
1964
+ "revokeServiceToken": {
1965
+ "method": "DELETE",
1966
+ "path": "/api/accessi/service-token/{tokenId}",
1967
+ "security": [
1968
+ "bearer"
1969
+ ],
1970
+ "parameters": {
1971
+ "path:tokenId": {
1972
+ "required": true,
1973
+ "schema": {
1974
+ "type": "string"
1975
+ }
1976
+ }
1977
+ },
1978
+ "requestBody": null,
1979
+ "responses": {
1980
+ "200": {
1981
+ "ref": "ErrorResponse"
1982
+ },
1983
+ "403": {
1984
+ "ref": "ErrorResponse"
1985
+ },
1986
+ "404": {
1987
+ "ref": "ErrorResponse"
1988
+ }
1989
+ }
1990
+ },
1991
+ "rotateServiceToken": {
1992
+ "method": "POST",
1993
+ "path": "/api/accessi/service-token/{tokenId}/rotate",
1994
+ "security": [
1995
+ "bearer"
1996
+ ],
1997
+ "parameters": {
1998
+ "path:tokenId": {
1999
+ "required": true,
2000
+ "schema": {
2001
+ "type": "string"
2002
+ }
2003
+ }
2004
+ },
2005
+ "requestBody": null,
2006
+ "responses": {
2007
+ "201": {
2008
+ "ref": "CreateServiceTokenResponse"
2009
+ },
2010
+ "403": {
2011
+ "ref": "ErrorResponse"
2012
+ },
2013
+ "404": {
2014
+ "ref": "ErrorResponse"
2015
+ }
2016
+ }
2017
+ },
2018
+ "getSchema": {
2019
+ "method": "GET",
2020
+ "path": "/api/accessi/schema",
2021
+ "security": [
2022
+ "bearer"
2023
+ ],
2024
+ "parameters": {},
2025
+ "requestBody": null,
2026
+ "responses": {
2027
+ "200": {
2028
+ "ref": "GetSchemaResponse"
2029
+ },
2030
+ "403": {
2031
+ "ref": "ErrorResponse"
2032
+ }
2033
+ }
2034
+ },
2035
+ "introspectAccessiToken": {
2036
+ "method": "POST",
2037
+ "path": "/api/accessi/auth/introspect",
2038
+ "security": [
2039
+ "bearer"
2040
+ ],
2041
+ "parameters": {},
2042
+ "requestBody": {
2043
+ "required": true,
2044
+ "schema": {
2045
+ "ref": "IntrospectAccessiTokenRequest"
2046
+ }
2047
+ },
2048
+ "responses": {
2049
+ "200": {
2050
+ "ref": "IntrospectAccessiTokenResponse"
2051
+ },
2052
+ "401": {
2053
+ "ref": "ErrorResponse"
2054
+ },
2055
+ "403": {
2056
+ "ref": "ErrorResponse"
2057
+ }
2058
+ }
2059
+ }
2060
+ },
2061
+ "schemas": {
2062
+ "SendResetPasswordEmailRequest": {
2063
+ "type": "object",
2064
+ "required": [
2065
+ "email"
2066
+ ],
2067
+ "properties": {
2068
+ "email": {
2069
+ "type": "string"
2070
+ },
2071
+ "htmlMail": {
2072
+ "type": "string"
2073
+ }
2074
+ }
2075
+ },
2076
+ "ActionResponse": {
2077
+ "type": "object",
2078
+ "required": [
2079
+ "message",
2080
+ "severity",
2081
+ "status",
2082
+ "statusCode"
2083
+ ],
2084
+ "properties": {
2085
+ "severity": {
2086
+ "type": "string"
2087
+ },
2088
+ "status": {
2089
+ "type": "number"
2090
+ },
2091
+ "statusCode": {
2092
+ "type": "number"
2093
+ },
2094
+ "message": {
2095
+ "type": "string"
2096
+ }
2097
+ }
2098
+ },
2099
+ "ErrorResponse": {
2100
+ "type": "object",
2101
+ "required": [
2102
+ "error",
2103
+ "message",
2104
+ "severity",
2105
+ "status",
2106
+ "statusCode"
2107
+ ],
2108
+ "properties": {
2109
+ "severity": {
2110
+ "type": "string"
2111
+ },
2112
+ "status": {
2113
+ "type": "number"
2114
+ },
2115
+ "statusCode": {
2116
+ "type": "number"
2117
+ },
2118
+ "message": {
2119
+ "type": "string"
2120
+ },
2121
+ "code": {
2122
+ "type": "string"
2123
+ },
2124
+ "error": {
2125
+ "type": "string"
2126
+ },
2127
+ "details": {
2128
+ "type": "array",
2129
+ "items": {
2130
+ "type": "string"
2131
+ }
2132
+ }
2133
+ }
2134
+ },
2135
+ "ConfirmResetPasswordRequest": {
2136
+ "type": "object",
2137
+ "required": [
2138
+ "newPassword"
2139
+ ],
2140
+ "properties": {
2141
+ "newPassword": {
2142
+ "type": "string",
2143
+ "minLength": 8,
2144
+ "maxLength": 100
2145
+ }
2146
+ }
2147
+ },
2148
+ "GetUserByTokenRequest": {
2149
+ "type": "object",
2150
+ "required": [
2151
+ "token"
2152
+ ],
2153
+ "properties": {
2154
+ "token": {
2155
+ "type": "string"
2156
+ }
2157
+ }
2158
+ },
2159
+ "Status": {
2160
+ "type": "object",
2161
+ "required": [
2162
+ "errorCode",
2163
+ "errorDescription"
2164
+ ],
2165
+ "properties": {
2166
+ "errorCode": {
2167
+ "type": "string"
2168
+ },
2169
+ "errorDescription": {
2170
+ "type": "string"
2171
+ }
2172
+ }
2173
+ },
2174
+ "AuthenticatedUserPayloadDto": {
2175
+ "type": "object",
2176
+ "required": [
2177
+ "codiceUtente",
2178
+ "flagAdmin",
2179
+ "flagSuper",
2180
+ "statoRegistrazione"
2181
+ ],
2182
+ "properties": {
2183
+ "codiceUtente": {
2184
+ "type": "number"
2185
+ },
2186
+ "email": {
2187
+ "type": "string"
2188
+ },
2189
+ "flagSuper": {
2190
+ "type": "boolean"
2191
+ },
2192
+ "flagAdmin": {
2193
+ "type": "boolean"
2194
+ },
2195
+ "flagDueFattori": {
2196
+ "type": "boolean"
2197
+ },
2198
+ "passwordlessLoginEnabled": {
2199
+ "type": "boolean"
2200
+ },
2201
+ "passwordLoginEnabled": {
2202
+ "type": "boolean"
2203
+ },
2204
+ "statoRegistrazione": {
2205
+ "type": "number"
2206
+ }
2207
+ }
2208
+ },
2209
+ "AuthenticatedTokenPayloadDto": {
2210
+ "type": "object",
2211
+ "required": [
2212
+ "userData"
2213
+ ],
2214
+ "properties": {
2215
+ "userData": {
2216
+ "ref": "AuthenticatedUserPayloadDto"
2217
+ }
2218
+ }
2219
+ },
2220
+ "GetUserByTokenResponse": {
2221
+ "type": "object",
2222
+ "required": [
2223
+ "Result",
2224
+ "Status"
2225
+ ],
2226
+ "properties": {
2227
+ "Status": {
2228
+ "ref": "Status"
2229
+ },
2230
+ "Message": {
2231
+ "type": "string"
2232
+ },
2233
+ "Result": {
2234
+ "ref": "AuthenticatedTokenPayloadDto"
2235
+ }
2236
+ }
2237
+ },
2238
+ "RevokeTokenRequest": {
2239
+ "type": "object",
2240
+ "properties": {
2241
+ "jti": {
2242
+ "type": "string"
2243
+ }
2244
+ }
2245
+ },
2246
+ "LoginRequest": {
2247
+ "type": "object",
2248
+ "required": [
2249
+ "email"
2250
+ ],
2251
+ "properties": {
2252
+ "email": {
2253
+ "type": "string"
2254
+ },
2255
+ "password": {
2256
+ "type": "string"
2257
+ },
2258
+ "scope": {
2259
+ "type": "string"
2260
+ }
2261
+ }
2262
+ },
2263
+ "TwoFactorChallengeDto": {
2264
+ "type": "object",
2265
+ "required": [
2266
+ "challengeId",
2267
+ "expiresAt",
2268
+ "method",
2269
+ "resendAfterSeconds",
2270
+ "twoFactorRequired"
2271
+ ],
2272
+ "properties": {
2273
+ "twoFactorRequired": {
2274
+ "type": "number",
2275
+ "enum": [
2276
+ "true"
2277
+ ]
2278
+ },
2279
+ "challengeId": {
2280
+ "type": "string"
2281
+ },
2282
+ "expiresAt": {
2283
+ "type": "string",
2284
+ "format": "date-time"
2285
+ },
2286
+ "resendAfterSeconds": {
2287
+ "type": "number"
2288
+ },
2289
+ "method": {
2290
+ "type": "string",
2291
+ "enum": [
2292
+ "\"email\""
2293
+ ]
2294
+ }
2295
+ }
2296
+ },
2297
+ "Permission": {
2298
+ "type": "object",
2299
+ "required": [
2300
+ "codiceMenu",
2301
+ "tipoAbilitazione"
2302
+ ],
2303
+ "properties": {
2304
+ "codiceMenu": {
2305
+ "type": "string"
2306
+ },
2307
+ "tipoAbilitazione": {
2308
+ "type": "number"
2309
+ }
2310
+ }
2311
+ },
2312
+ "UserDto": {
2313
+ "type": "object",
2314
+ "required": [
2315
+ "codiceUtente",
2316
+ "email"
2317
+ ],
2318
+ "properties": {
2319
+ "progressivo": {
2320
+ "type": "number"
2321
+ },
2322
+ "numRep": {
2323
+ "type": "number"
2324
+ },
2325
+ "idxPers": {
2326
+ "type": "number"
2327
+ },
2328
+ "codCliSuper": {
2329
+ "type": "number"
2330
+ },
2331
+ "codAge": {
2332
+ "type": "number"
2333
+ },
2334
+ "codCliCol": {
2335
+ "type": "number"
2336
+ },
2337
+ "codClienti": {
2338
+ "type": "string"
2339
+ },
2340
+ "tipFil": {
2341
+ "type": "number"
2342
+ },
2343
+ "idxPos": {
2344
+ "type": "number"
2345
+ },
2346
+ "codDip": {
2347
+ "type": "number"
2348
+ },
2349
+ "codVet": {
2350
+ "type": "number"
2351
+ },
2352
+ "codiceUtente": {
2353
+ "type": "number"
2354
+ },
2355
+ "email": {
2356
+ "type": "string"
2357
+ },
2358
+ "flagGdpr": {
2359
+ "type": "boolean"
2360
+ },
2361
+ "dataGdpr": {
2362
+ "type": "string",
2363
+ "format": "date-time"
2364
+ },
2365
+ "dataInserimento": {
2366
+ "type": "string",
2367
+ "format": "date-time"
2368
+ },
2369
+ "dataScadenzaPassword": {
2370
+ "type": "string",
2371
+ "format": "date-time"
2372
+ },
2373
+ "dataLastLogin": {
2374
+ "type": "string",
2375
+ "format": "date-time"
2376
+ },
2377
+ "statoRegistrazione": {
2378
+ "type": "number",
2379
+ "enum": [
2380
+ "0",
2381
+ "10",
2382
+ "20",
2383
+ "5",
2384
+ "50",
2385
+ "99"
2386
+ ]
2387
+ },
2388
+ "keyRegistrazione": {
2389
+ "type": "string"
2390
+ },
2391
+ "cognome": {
2392
+ "type": "string"
2393
+ },
2394
+ "nome": {
2395
+ "type": "string"
2396
+ },
2397
+ "avatar": {
2398
+ "type": "string",
2399
+ "nullable": true
2400
+ },
2401
+ "flagDueFattori": {
2402
+ "type": "boolean"
2403
+ },
2404
+ "passwordlessLoginEnabled": {
2405
+ "type": "boolean"
2406
+ },
2407
+ "codiceLingua": {
2408
+ "type": "string"
2409
+ },
2410
+ "cellulare": {
2411
+ "type": "string",
2412
+ "nullable": true
2413
+ },
2414
+ "paginaDefault": {
2415
+ "type": "string",
2416
+ "nullable": true,
2417
+ "maxLength": 50
2418
+ },
2419
+ "flagSuper": {
2420
+ "type": "boolean"
2421
+ },
2422
+ "flagAdmin": {
2423
+ "type": "boolean"
2424
+ },
2425
+ "passwordLoginEnabled": {
2426
+ "type": "boolean"
2427
+ },
2428
+ "jsonMetadata": {
2429
+ "type": "string"
2430
+ },
2431
+ "roles": {
2432
+ "type": "array",
2433
+ "items": {
2434
+ "type": "string"
2435
+ }
2436
+ },
2437
+ "permissions": {
2438
+ "type": "array",
2439
+ "items": {
2440
+ "ref": "Permission"
2441
+ }
2442
+ }
2443
+ }
2444
+ },
2445
+ "FiltriUtente": {
2446
+ "type": "object",
2447
+ "required": [
2448
+ "codUte"
2449
+ ],
2450
+ "properties": {
2451
+ "codUte": {
2452
+ "type": "number"
2453
+ },
2454
+ "progressivo": {
2455
+ "type": "number"
2456
+ },
2457
+ "numRep": {
2458
+ "type": "number"
2459
+ },
2460
+ "idxPers": {
2461
+ "type": "number"
2462
+ },
2463
+ "codCliSuper": {
2464
+ "type": "number"
2465
+ },
2466
+ "codAge": {
2467
+ "type": "number"
2468
+ },
2469
+ "codCliCol": {
2470
+ "type": "number"
2471
+ },
2472
+ "codClienti": {
2473
+ "type": "string"
2474
+ },
2475
+ "tipFil": {
2476
+ "type": "number"
2477
+ },
2478
+ "idxPos": {
2479
+ "type": "number"
2480
+ },
2481
+ "codDip": {
2482
+ "type": "number"
2483
+ },
2484
+ "codVet": {
2485
+ "type": "number"
2486
+ }
2487
+ }
2488
+ },
2489
+ "AbilitazioneMenu": {
2490
+ "type": "object",
2491
+ "required": [
2492
+ "codiceMenu"
2493
+ ],
2494
+ "properties": {
2495
+ "codiceMenu": {
2496
+ "type": "string"
2497
+ },
2498
+ "tipoAbilitazione": {
2499
+ "type": "number",
2500
+ "enum": [
2501
+ "0",
2502
+ "10",
2503
+ "20",
2504
+ "30"
2505
+ ]
2506
+ },
2507
+ "descrizioneMenu": {
2508
+ "type": "string"
2509
+ },
2510
+ "descrizioneGruppo": {
2511
+ "type": "string"
2512
+ },
2513
+ "codiceGruppo": {
2514
+ "type": "string"
2515
+ },
2516
+ "icona": {
2517
+ "type": "string",
2518
+ "nullable": true
2519
+ },
2520
+ "tipo": {
2521
+ "type": "string",
2522
+ "nullable": true
2523
+ },
2524
+ "pagina": {
2525
+ "type": "string",
2526
+ "nullable": true
2527
+ },
2528
+ "note": {
2529
+ "type": "string",
2530
+ "nullable": true
2531
+ }
2532
+ }
2533
+ },
2534
+ "RuoliMenu": {
2535
+ "type": "object",
2536
+ "required": [
2537
+ "codiceMenu",
2538
+ "tipoAbilitazione"
2539
+ ],
2540
+ "properties": {
2541
+ "codiceRuolo": {
2542
+ "type": "number"
2543
+ },
2544
+ "codiceMenu": {
2545
+ "type": "string"
2546
+ },
2547
+ "tipoAbilitazione": {
2548
+ "type": "number",
2549
+ "enum": [
2550
+ "0",
2551
+ "10",
2552
+ "20",
2553
+ "30"
2554
+ ]
2555
+ }
2556
+ }
2557
+ },
2558
+ "Role": {
2559
+ "type": "object",
2560
+ "required": [
2561
+ "descrizioneRuolo",
2562
+ "menu"
2563
+ ],
2564
+ "properties": {
2565
+ "codiceRuolo": {
2566
+ "type": "number"
2567
+ },
2568
+ "descrizioneRuolo": {
2569
+ "type": "string"
2570
+ },
2571
+ "menu": {
2572
+ "type": "array",
2573
+ "items": {
2574
+ "ref": "RuoliMenu"
2575
+ }
2576
+ }
2577
+ }
2578
+ },
2579
+ "UserGrantsDto": {
2580
+ "type": "object",
2581
+ "required": [
2582
+ "abilitazioni",
2583
+ "grants",
2584
+ "ruoli"
2585
+ ],
2586
+ "properties": {
2587
+ "abilitazioni": {
2588
+ "type": "array",
2589
+ "items": {
2590
+ "ref": "AbilitazioneMenu"
2591
+ }
2592
+ },
2593
+ "ruoli": {
2594
+ "type": "array",
2595
+ "items": {
2596
+ "ref": "Role"
2597
+ }
2598
+ },
2599
+ "grants": {
2600
+ "type": "array",
2601
+ "items": {
2602
+ "ref": "AbilitazioneMenu"
2603
+ }
2604
+ }
2605
+ }
2606
+ },
2607
+ "TokenResult": {
2608
+ "type": "object",
2609
+ "required": [
2610
+ "expiresIn",
2611
+ "type",
2612
+ "value"
2613
+ ],
2614
+ "properties": {
2615
+ "expiresIn": {
2616
+ "type": "string"
2617
+ },
2618
+ "value": {
2619
+ "type": "string"
2620
+ },
2621
+ "type": {
2622
+ "type": "string",
2623
+ "enum": [
2624
+ "\"Basic\"",
2625
+ "\"Bearer\""
2626
+ ]
2627
+ }
2628
+ }
2629
+ },
2630
+ "LoginResult": {
2631
+ "type": "object",
2632
+ "properties": {
2633
+ "passwordRequired": {
2634
+ "type": "number",
2635
+ "enum": [
2636
+ "true"
2637
+ ]
2638
+ },
2639
+ "challenge": {
2640
+ "allOf": [
2641
+ {
2642
+ "ref": "TwoFactorChallengeDto"
2643
+ }
2644
+ ]
2645
+ },
2646
+ "utente": {
2647
+ "allOf": [
2648
+ {
2649
+ "ref": "UserDto"
2650
+ }
2651
+ ]
2652
+ },
2653
+ "filtri": {
2654
+ "type": "array",
2655
+ "nullable": true,
2656
+ "items": {
2657
+ "ref": "FiltriUtente"
2658
+ }
2659
+ },
2660
+ "userGrants": {
2661
+ "allOf": [
2662
+ {
2663
+ "ref": "UserGrantsDto"
2664
+ }
2665
+ ]
2666
+ },
2667
+ "extensionFields": {
2668
+ "type": "object"
2669
+ },
2670
+ "token": {
2671
+ "allOf": [
2672
+ {
2673
+ "ref": "TokenResult"
2674
+ }
2675
+ ]
2676
+ },
2677
+ "refreshToken": {
2678
+ "allOf": [
2679
+ {
2680
+ "ref": "TokenResult"
2681
+ }
2682
+ ]
2683
+ }
2684
+ }
2685
+ },
2686
+ "LoginResponse": {
2687
+ "type": "object",
2688
+ "required": [
2689
+ "Result",
2690
+ "Status"
2691
+ ],
2692
+ "properties": {
2693
+ "Status": {
2694
+ "ref": "Status"
2695
+ },
2696
+ "Message": {
2697
+ "type": "string"
2698
+ },
2699
+ "Result": {
2700
+ "ref": "LoginResult"
2701
+ }
2702
+ }
2703
+ },
2704
+ "PasswordExpiredResponse": {
2705
+ "type": "object",
2706
+ "required": [
2707
+ "code",
2708
+ "message",
2709
+ "severity",
2710
+ "statusCode"
2711
+ ],
2712
+ "properties": {
2713
+ "severity": {
2714
+ "type": "string"
2715
+ },
2716
+ "statusCode": {
2717
+ "type": "number"
2718
+ },
2719
+ "code": {
2720
+ "type": "string"
2721
+ },
2722
+ "message": {
2723
+ "type": "string"
2724
+ }
2725
+ }
2726
+ },
2727
+ "RefreshTokenRequest": {
2728
+ "type": "object",
2729
+ "required": [
2730
+ "refreshToken"
2731
+ ],
2732
+ "properties": {
2733
+ "refreshToken": {
2734
+ "type": "string"
2735
+ }
2736
+ }
2737
+ },
2738
+ "RefreshTokenResult": {
2739
+ "type": "object",
2740
+ "required": [
2741
+ "token"
2742
+ ],
2743
+ "properties": {
2744
+ "token": {
2745
+ "allOf": [
2746
+ {
2747
+ "ref": "TokenResult"
2748
+ }
2749
+ ]
2750
+ },
2751
+ "refreshToken": {
2752
+ "allOf": [
2753
+ {
2754
+ "ref": "TokenResult"
2755
+ }
2756
+ ]
2757
+ }
2758
+ }
2759
+ },
2760
+ "RefreshTokenResponse": {
2761
+ "type": "object",
2762
+ "required": [
2763
+ "Result",
2764
+ "Status"
2765
+ ],
2766
+ "properties": {
2767
+ "Status": {
2768
+ "ref": "Status"
2769
+ },
2770
+ "Message": {
2771
+ "type": "string"
2772
+ },
2773
+ "Result": {
2774
+ "ref": "RefreshTokenResult"
2775
+ }
2776
+ }
2777
+ },
2778
+ "VerifyTwoFactorRequest": {
2779
+ "type": "object",
2780
+ "required": [
2781
+ "challengeId",
2782
+ "code"
2783
+ ],
2784
+ "properties": {
2785
+ "challengeId": {
2786
+ "type": "string",
2787
+ "minLength": 64,
2788
+ "maxLength": 64
2789
+ },
2790
+ "code": {
2791
+ "type": "string",
2792
+ "pattern": "^\\d{6}$"
2793
+ },
2794
+ "scope": {
2795
+ "type": "string"
2796
+ }
2797
+ }
2798
+ },
2799
+ "ResendTwoFactorRequest": {
2800
+ "type": "object",
2801
+ "required": [
2802
+ "challengeId"
2803
+ ],
2804
+ "properties": {
2805
+ "challengeId": {
2806
+ "type": "string",
2807
+ "minLength": 64,
2808
+ "maxLength": 64
2809
+ }
2810
+ }
2811
+ },
2812
+ "BootstrapAdminRequest": {
2813
+ "type": "object",
2814
+ "required": [
2815
+ "email",
2816
+ "token"
2817
+ ],
2818
+ "properties": {
2819
+ "token": {
2820
+ "type": "string"
2821
+ },
2822
+ "email": {
2823
+ "type": "string"
2824
+ },
2825
+ "nome": {
2826
+ "type": "string"
2827
+ },
2828
+ "cognome": {
2829
+ "type": "string"
2830
+ },
2831
+ "password": {
2832
+ "type": "string"
2833
+ },
2834
+ "superUser": {
2835
+ "type": "boolean"
2836
+ }
2837
+ }
2838
+ },
2839
+ "BootstrapAdminResultDto": {
2840
+ "type": "object",
2841
+ "required": [
2842
+ "codiceUtente",
2843
+ "email",
2844
+ "passwordGenerated"
2845
+ ],
2846
+ "properties": {
2847
+ "codiceUtente": {
2848
+ "type": "number"
2849
+ },
2850
+ "email": {
2851
+ "type": "string"
2852
+ },
2853
+ "password": {
2854
+ "type": "string"
2855
+ },
2856
+ "passwordGenerated": {
2857
+ "type": "boolean"
2858
+ }
2859
+ }
2860
+ },
2861
+ "BootstrapAdminResponse": {
2862
+ "type": "object",
2863
+ "required": [
2864
+ "Result",
2865
+ "Status"
2866
+ ],
2867
+ "properties": {
2868
+ "Status": {
2869
+ "ref": "Status"
2870
+ },
2871
+ "Message": {
2872
+ "type": "string"
2873
+ },
2874
+ "Result": {
2875
+ "ref": "BootstrapAdminResultDto"
2876
+ }
2877
+ }
2878
+ },
2879
+ "AdminBootstrapStatusResult": {
2880
+ "type": "object",
2881
+ "required": [
2882
+ "enabled"
2883
+ ],
2884
+ "properties": {
2885
+ "enabled": {
2886
+ "type": "boolean"
2887
+ }
2888
+ }
2889
+ },
2890
+ "AdminBootstrapStatusResponse": {
2891
+ "type": "object",
2892
+ "required": [
2893
+ "Result",
2894
+ "Status"
2895
+ ],
2896
+ "properties": {
2897
+ "Status": {
2898
+ "ref": "Status"
2899
+ },
2900
+ "Message": {
2901
+ "type": "string"
2902
+ },
2903
+ "Result": {
2904
+ "ref": "AdminBootstrapStatusResult"
2905
+ }
2906
+ }
2907
+ },
2908
+ "GetRolesResponse": {
2909
+ "type": "object",
2910
+ "required": [
2911
+ "Result",
2912
+ "Status"
2913
+ ],
2914
+ "properties": {
2915
+ "Status": {
2916
+ "ref": "Status"
2917
+ },
2918
+ "Message": {
2919
+ "type": "string"
2920
+ },
2921
+ "Result": {
2922
+ "type": "array",
2923
+ "items": {
2924
+ "ref": "Role"
2925
+ }
2926
+ }
2927
+ }
2928
+ },
2929
+ "AssignRolesToUserRequest": {
2930
+ "type": "object",
2931
+ "required": [
2932
+ "roles"
2933
+ ],
2934
+ "properties": {
2935
+ "roles": {
2936
+ "type": "array",
2937
+ "items": {
2938
+ "type": "number"
2939
+ }
2940
+ }
2941
+ }
2942
+ },
2943
+ "AssignPermissionsToUserRequest": {
2944
+ "type": "object",
2945
+ "required": [
2946
+ "permissions"
2947
+ ],
2948
+ "properties": {
2949
+ "permissions": {
2950
+ "type": "array",
2951
+ "items": {
2952
+ "ref": "Permission"
2953
+ }
2954
+ }
2955
+ }
2956
+ },
2957
+ "MenuEntity": {
2958
+ "type": "object",
2959
+ "required": [
2960
+ "codiceMenu",
2961
+ "descrizioneMenu",
2962
+ "ordineGruppo",
2963
+ "ordineMenu"
2964
+ ],
2965
+ "properties": {
2966
+ "codiceMenu": {
2967
+ "type": "string"
2968
+ },
2969
+ "descrizioneMenu": {
2970
+ "type": "string"
2971
+ },
2972
+ "codiceGruppo": {
2973
+ "type": "string"
2974
+ },
2975
+ "descrizioneGruppo": {
2976
+ "type": "string"
2977
+ },
2978
+ "icona": {
2979
+ "type": "string"
2980
+ },
2981
+ "tipo": {
2982
+ "type": "string"
2983
+ },
2984
+ "pagina": {
2985
+ "type": "string"
2986
+ },
2987
+ "ordineMenu": {
2988
+ "type": "number"
2989
+ },
2990
+ "ordineGruppo": {
2991
+ "type": "number"
2992
+ },
2993
+ "enabled": {
2994
+ "type": "boolean"
2995
+ },
2996
+ "tipoAbilitazione": {
2997
+ "type": "number"
2998
+ },
2999
+ "note": {
3000
+ "type": "string"
3001
+ }
3002
+ }
3003
+ },
3004
+ "GetMenusResponse": {
3005
+ "type": "object",
3006
+ "required": [
3007
+ "Result",
3008
+ "Status"
3009
+ ],
3010
+ "properties": {
3011
+ "Status": {
3012
+ "ref": "Status"
3013
+ },
3014
+ "Message": {
3015
+ "type": "string"
3016
+ },
3017
+ "Result": {
3018
+ "type": "array",
3019
+ "items": {
3020
+ "ref": "MenuEntity"
3021
+ }
3022
+ }
3023
+ }
3024
+ },
3025
+ "GroupWithMenusEntity": {
3026
+ "type": "object",
3027
+ "required": [
3028
+ "codiceGruppo",
3029
+ "descrizioneGruppo",
3030
+ "menus",
3031
+ "ordineGruppo"
3032
+ ],
3033
+ "properties": {
3034
+ "codiceGruppo": {
3035
+ "type": "string"
3036
+ },
3037
+ "descrizioneGruppo": {
3038
+ "type": "string"
3039
+ },
3040
+ "ordineGruppo": {
3041
+ "type": "number"
3042
+ },
3043
+ "enabled": {
3044
+ "type": "boolean"
3045
+ },
3046
+ "menus": {
3047
+ "type": "array",
3048
+ "items": {
3049
+ "ref": "MenuEntity"
3050
+ }
3051
+ }
3052
+ }
3053
+ },
3054
+ "GetGroupsWithMenusResponse": {
3055
+ "type": "object",
3056
+ "required": [
3057
+ "Result",
3058
+ "Status"
3059
+ ],
3060
+ "properties": {
3061
+ "Status": {
3062
+ "ref": "Status"
3063
+ },
3064
+ "Message": {
3065
+ "type": "string"
3066
+ },
3067
+ "Result": {
3068
+ "type": "array",
3069
+ "items": {
3070
+ "ref": "GroupWithMenusEntity"
3071
+ }
3072
+ }
3073
+ }
3074
+ },
3075
+ "MenuTypeEntity": {
3076
+ "type": "object",
3077
+ "required": [
3078
+ "codiceTipo"
3079
+ ],
3080
+ "properties": {
3081
+ "codiceTipo": {
3082
+ "type": "string"
3083
+ },
3084
+ "descrizioneTipo": {
3085
+ "type": "string"
3086
+ }
3087
+ }
3088
+ },
3089
+ "GetMenuTypesResponse": {
3090
+ "type": "object",
3091
+ "required": [
3092
+ "Result",
3093
+ "Status"
3094
+ ],
3095
+ "properties": {
3096
+ "Status": {
3097
+ "ref": "Status"
3098
+ },
3099
+ "Message": {
3100
+ "type": "string"
3101
+ },
3102
+ "Result": {
3103
+ "type": "array",
3104
+ "items": {
3105
+ "ref": "MenuTypeEntity"
3106
+ }
3107
+ }
3108
+ }
3109
+ },
3110
+ "CreateMenuRequest": {
3111
+ "type": "object",
3112
+ "required": [
3113
+ "codiceGruppo",
3114
+ "codiceMenu"
3115
+ ],
3116
+ "properties": {
3117
+ "codiceMenu": {
3118
+ "type": "string",
3119
+ "maxLength": 20
3120
+ },
3121
+ "descrizioneMenu": {
3122
+ "type": "string",
3123
+ "maxLength": 100
3124
+ },
3125
+ "codiceGruppo": {
3126
+ "type": "string",
3127
+ "maxLength": 1
3128
+ },
3129
+ "tipo": {
3130
+ "type": "string",
3131
+ "maxLength": 1
3132
+ },
3133
+ "icona": {
3134
+ "type": "string",
3135
+ "maxLength": 50
3136
+ },
3137
+ "pagina": {
3138
+ "type": "string",
3139
+ "maxLength": 50
3140
+ },
3141
+ "ordineMenu": {
3142
+ "type": "number"
3143
+ },
3144
+ "enabled": {
3145
+ "type": "boolean"
3146
+ },
3147
+ "rifMenu": {
3148
+ "type": "string",
3149
+ "maxLength": 20
3150
+ },
3151
+ "note": {
3152
+ "type": "string",
3153
+ "maxLength": 1000
3154
+ }
3155
+ }
3156
+ },
3157
+ "UpdateMenuRequest": {
3158
+ "type": "object",
3159
+ "properties": {
3160
+ "descrizioneMenu": {
3161
+ "type": "string",
3162
+ "maxLength": 100
3163
+ },
3164
+ "codiceGruppo": {
3165
+ "type": "string",
3166
+ "maxLength": 1
3167
+ },
3168
+ "tipo": {
3169
+ "type": "string",
3170
+ "maxLength": 1
3171
+ },
3172
+ "icona": {
3173
+ "type": "string",
3174
+ "maxLength": 50
3175
+ },
3176
+ "pagina": {
3177
+ "type": "string",
3178
+ "maxLength": 50
3179
+ },
3180
+ "ordineMenu": {
3181
+ "type": "number"
3182
+ },
3183
+ "enabled": {
3184
+ "type": "boolean"
3185
+ },
3186
+ "rifMenu": {
3187
+ "type": "string",
3188
+ "maxLength": 20
3189
+ },
3190
+ "note": {
3191
+ "type": "string",
3192
+ "maxLength": 1000
3193
+ }
3194
+ }
3195
+ },
3196
+ "CreateMenuGroupRequest": {
3197
+ "type": "object",
3198
+ "required": [
3199
+ "codiceGruppo"
3200
+ ],
3201
+ "properties": {
3202
+ "codiceGruppo": {
3203
+ "type": "string",
3204
+ "maxLength": 1
3205
+ },
3206
+ "descrizioneGruppo": {
3207
+ "type": "string",
3208
+ "maxLength": 100
3209
+ },
3210
+ "ordineGruppo": {
3211
+ "type": "number"
3212
+ },
3213
+ "enabled": {
3214
+ "type": "boolean"
3215
+ }
3216
+ }
3217
+ },
3218
+ "UpdateMenuGroupRequest": {
3219
+ "type": "object",
3220
+ "properties": {
3221
+ "descrizioneGruppo": {
3222
+ "type": "string",
3223
+ "maxLength": 100
3224
+ },
3225
+ "ordineGruppo": {
3226
+ "type": "number"
3227
+ },
3228
+ "enabled": {
3229
+ "type": "boolean"
3230
+ }
3231
+ }
3232
+ },
3233
+ "CreateMenuTypeRequest": {
3234
+ "type": "object",
3235
+ "required": [
3236
+ "codiceTipo"
3237
+ ],
3238
+ "properties": {
3239
+ "codiceTipo": {
3240
+ "type": "string",
3241
+ "maxLength": 1
3242
+ },
3243
+ "descrizioneTipo": {
3244
+ "type": "string",
3245
+ "maxLength": 20
3246
+ }
3247
+ }
3248
+ },
3249
+ "UpdateMenuTypeRequest": {
3250
+ "type": "object",
3251
+ "properties": {
3252
+ "descrizioneTipo": {
3253
+ "type": "string",
3254
+ "maxLength": 20
3255
+ }
3256
+ }
3257
+ },
3258
+ "UserGrantsResponse": {
3259
+ "type": "object",
3260
+ "required": [
3261
+ "Result",
3262
+ "Status"
3263
+ ],
3264
+ "properties": {
3265
+ "Status": {
3266
+ "ref": "Status"
3267
+ },
3268
+ "Message": {
3269
+ "type": "string"
3270
+ },
3271
+ "Result": {
3272
+ "ref": "UserGrantsDto"
3273
+ }
3274
+ }
3275
+ },
3276
+ "ScopeEntity": {
3277
+ "type": "object",
3278
+ "required": [
3279
+ "codice",
3280
+ "nome"
3281
+ ],
3282
+ "properties": {
3283
+ "codice": {
3284
+ "type": "string"
3285
+ },
3286
+ "nome": {
3287
+ "type": "string"
3288
+ }
3289
+ }
3290
+ },
3291
+ "GetScopesResponse": {
3292
+ "type": "object",
3293
+ "required": [
3294
+ "Result",
3295
+ "Status"
3296
+ ],
3297
+ "properties": {
3298
+ "Status": {
3299
+ "ref": "Status"
3300
+ },
3301
+ "Message": {
3302
+ "type": "string"
3303
+ },
3304
+ "Result": {
3305
+ "type": "array",
3306
+ "items": {
3307
+ "ref": "ScopeEntity"
3308
+ }
3309
+ }
3310
+ }
3311
+ },
3312
+ "CreateScopeRequest": {
3313
+ "type": "object",
3314
+ "required": [
3315
+ "codice",
3316
+ "nome"
3317
+ ],
3318
+ "properties": {
3319
+ "codice": {
3320
+ "type": "string",
3321
+ "maxLength": 20
3322
+ },
3323
+ "nome": {
3324
+ "type": "string",
3325
+ "maxLength": 100
3326
+ }
3327
+ }
3328
+ },
3329
+ "UpdateScopeRequest": {
3330
+ "type": "object",
3331
+ "properties": {
3332
+ "nome": {
3333
+ "type": "string",
3334
+ "maxLength": 100
3335
+ }
3336
+ }
3337
+ },
3338
+ "GetMenuScopesResponse": {
3339
+ "type": "object",
3340
+ "required": [
3341
+ "Result",
3342
+ "Status"
3343
+ ],
3344
+ "properties": {
3345
+ "Status": {
3346
+ "ref": "Status"
3347
+ },
3348
+ "Message": {
3349
+ "type": "string"
3350
+ },
3351
+ "Result": {
3352
+ "type": "array",
3353
+ "items": {
3354
+ "type": "string"
3355
+ }
3356
+ }
3357
+ }
3358
+ },
3359
+ "SetMenuScopesRequest": {
3360
+ "type": "object",
3361
+ "required": [
3362
+ "scopes"
3363
+ ],
3364
+ "properties": {
3365
+ "scopes": {
3366
+ "type": "array",
3367
+ "items": {
3368
+ "type": "string"
3369
+ }
3370
+ }
3371
+ }
3372
+ },
3373
+ "SetScopeMenusRequest": {
3374
+ "type": "object",
3375
+ "required": [
3376
+ "menu"
3377
+ ],
3378
+ "properties": {
3379
+ "menu": {
3380
+ "type": "array",
3381
+ "items": {
3382
+ "type": "string"
3383
+ }
3384
+ }
3385
+ }
3386
+ },
3387
+ "GetUsersResult": {
3388
+ "type": "object",
3389
+ "required": [
3390
+ "extensionFields",
3391
+ "userGrants",
3392
+ "utente"
3393
+ ],
3394
+ "properties": {
3395
+ "utente": {
3396
+ "allOf": [
3397
+ {
3398
+ "ref": "UserDto"
3399
+ }
3400
+ ]
3401
+ },
3402
+ "userGrants": {
3403
+ "allOf": [
3404
+ {
3405
+ "ref": "UserGrantsDto"
3406
+ }
3407
+ ]
3408
+ },
3409
+ "extensionFields": {
3410
+ "type": "object"
3411
+ }
3412
+ }
3413
+ },
3414
+ "GetUsersResponse": {
3415
+ "type": "object",
3416
+ "required": [
3417
+ "Result",
3418
+ "Status"
3419
+ ],
3420
+ "properties": {
3421
+ "Status": {
3422
+ "ref": "Status"
3423
+ },
3424
+ "Message": {
3425
+ "type": "string"
3426
+ },
3427
+ "Result": {
3428
+ "type": "array",
3429
+ "items": {
3430
+ "ref": "GetUsersResult"
3431
+ }
3432
+ }
3433
+ }
3434
+ },
3435
+ "LoginAsRequest": {
3436
+ "type": "object",
3437
+ "required": [
3438
+ "url"
3439
+ ],
3440
+ "properties": {
3441
+ "url": {
3442
+ "type": "string"
3443
+ }
3444
+ }
3445
+ },
3446
+ "LoginAsResult": {
3447
+ "type": "object",
3448
+ "required": [
3449
+ "expiresAt",
3450
+ "expiresInSeconds",
3451
+ "loginUrl",
3452
+ "token"
3453
+ ],
3454
+ "properties": {
3455
+ "loginUrl": {
3456
+ "type": "string"
3457
+ },
3458
+ "token": {
3459
+ "type": "string"
3460
+ },
3461
+ "expiresInSeconds": {
3462
+ "type": "number"
3463
+ },
3464
+ "expiresAt": {
3465
+ "type": "string"
3466
+ }
3467
+ }
3468
+ },
3469
+ "LoginAsResponse": {
3470
+ "type": "object",
3471
+ "required": [
3472
+ "Result",
3473
+ "Status"
3474
+ ],
3475
+ "properties": {
3476
+ "Status": {
3477
+ "ref": "Status"
3478
+ },
3479
+ "Message": {
3480
+ "type": "string"
3481
+ },
3482
+ "Result": {
3483
+ "ref": "LoginAsResult"
3484
+ }
3485
+ }
3486
+ },
3487
+ "SetUserPasswordRequest": {
3488
+ "type": "object",
3489
+ "required": [
3490
+ "newPassword"
3491
+ ],
3492
+ "properties": {
3493
+ "newPassword": {
3494
+ "type": "string",
3495
+ "minLength": 8,
3496
+ "maxLength": 100
3497
+ }
3498
+ }
3499
+ },
3500
+ "SetStatoRegistrazioneDto": {
3501
+ "type": "object",
3502
+ "required": [
3503
+ "codiceUtente",
3504
+ "statoRegistrazione"
3505
+ ],
3506
+ "properties": {
3507
+ "codiceUtente": {
3508
+ "type": "number"
3509
+ },
3510
+ "statoRegistrazione": {
3511
+ "type": "number",
3512
+ "enum": [
3513
+ "0",
3514
+ "10",
3515
+ "20",
3516
+ "5",
3517
+ "50",
3518
+ "99"
3519
+ ]
3520
+ }
3521
+ }
3522
+ },
3523
+ "PublicRegisterRequest": {
3524
+ "type": "object",
3525
+ "required": [
3526
+ "email"
3527
+ ],
3528
+ "properties": {
3529
+ "progressivo": {
3530
+ "type": "number"
3531
+ },
3532
+ "numRep": {
3533
+ "type": "number"
3534
+ },
3535
+ "idxPers": {
3536
+ "type": "number"
3537
+ },
3538
+ "codCliSuper": {
3539
+ "type": "number"
3540
+ },
3541
+ "codAge": {
3542
+ "type": "number"
3543
+ },
3544
+ "codCliCol": {
3545
+ "type": "number"
3546
+ },
3547
+ "codClienti": {
3548
+ "type": "string"
3549
+ },
3550
+ "tipFil": {
3551
+ "type": "number"
3552
+ },
3553
+ "idxPos": {
3554
+ "type": "number"
3555
+ },
3556
+ "codDip": {
3557
+ "type": "number"
3558
+ },
3559
+ "codVet": {
3560
+ "type": "number"
3561
+ },
3562
+ "email": {
3563
+ "type": "string"
3564
+ },
3565
+ "cognome": {
3566
+ "type": "string"
3567
+ },
3568
+ "nome": {
3569
+ "type": "string"
3570
+ },
3571
+ "cellulare": {
3572
+ "type": "string",
3573
+ "nullable": true
3574
+ },
3575
+ "paginaDefault": {
3576
+ "type": "string",
3577
+ "nullable": true,
3578
+ "maxLength": 50
3579
+ },
3580
+ "avatar": {
3581
+ "type": "string"
3582
+ },
3583
+ "htmlMail": {
3584
+ "type": "string"
3585
+ }
3586
+ }
3587
+ },
3588
+ "RegisterResponse": {
3589
+ "type": "object",
3590
+ "required": [
3591
+ "Result",
3592
+ "Status"
3593
+ ],
3594
+ "properties": {
3595
+ "Status": {
3596
+ "ref": "Status"
3597
+ },
3598
+ "Message": {
3599
+ "type": "string"
3600
+ },
3601
+ "Result": {
3602
+ "type": "number"
3603
+ }
3604
+ }
3605
+ },
3606
+ "RegisterRequest": {
3607
+ "type": "object",
3608
+ "required": [
3609
+ "email"
3610
+ ],
3611
+ "properties": {
3612
+ "progressivo": {
3613
+ "type": "number"
3614
+ },
3615
+ "numRep": {
3616
+ "type": "number"
3617
+ },
3618
+ "idxPers": {
3619
+ "type": "number"
3620
+ },
3621
+ "codCliSuper": {
3622
+ "type": "number"
3623
+ },
3624
+ "codAge": {
3625
+ "type": "number"
3626
+ },
3627
+ "codCliCol": {
3628
+ "type": "number"
3629
+ },
3630
+ "codClienti": {
3631
+ "type": "string"
3632
+ },
3633
+ "tipFil": {
3634
+ "type": "number"
3635
+ },
3636
+ "idxPos": {
3637
+ "type": "number"
3638
+ },
3639
+ "codDip": {
3640
+ "type": "number"
3641
+ },
3642
+ "codVet": {
3643
+ "type": "number"
3644
+ },
3645
+ "email": {
3646
+ "type": "string"
3647
+ },
3648
+ "cognome": {
3649
+ "type": "string"
3650
+ },
3651
+ "nome": {
3652
+ "type": "string"
3653
+ },
3654
+ "cellulare": {
3655
+ "type": "string",
3656
+ "nullable": true
3657
+ },
3658
+ "paginaDefault": {
3659
+ "type": "string",
3660
+ "nullable": true,
3661
+ "maxLength": 50
3662
+ },
3663
+ "flagSuper": {
3664
+ "type": "boolean"
3665
+ },
3666
+ "flagAdmin": {
3667
+ "type": "boolean"
3668
+ },
3669
+ "roles": {
3670
+ "type": "array",
3671
+ "items": {
3672
+ "type": "string"
3673
+ }
3674
+ },
3675
+ "permissions": {
3676
+ "type": "array",
3677
+ "items": {
3678
+ "ref": "Permission"
3679
+ }
3680
+ },
3681
+ "avatar": {
3682
+ "type": "string"
3683
+ },
3684
+ "flagDueFattori": {
3685
+ "type": "boolean"
3686
+ },
3687
+ "htmlMail": {
3688
+ "type": "string"
3689
+ }
3690
+ }
3691
+ },
3692
+ "TipoFiltro": {
3693
+ "type": "object",
3694
+ "required": [
3695
+ "tipFil"
3696
+ ],
3697
+ "properties": {
3698
+ "tipFil": {
3699
+ "type": "number"
3700
+ },
3701
+ "desFil": {
3702
+ "type": "string",
3703
+ "maxLength": 20
3704
+ },
3705
+ "fldFil": {
3706
+ "type": "string",
3707
+ "maxLength": 20
3708
+ },
3709
+ "flgEnabled": {
3710
+ "type": "number",
3711
+ "enum": [
3712
+ "0",
3713
+ "1"
3714
+ ]
3715
+ }
3716
+ }
3717
+ },
3718
+ "GetFiltriResponse": {
3719
+ "type": "object",
3720
+ "required": [
3721
+ "Result",
3722
+ "Status"
3723
+ ],
3724
+ "properties": {
3725
+ "Status": {
3726
+ "ref": "Status"
3727
+ },
3728
+ "Message": {
3729
+ "type": "string"
3730
+ },
3731
+ "Result": {
3732
+ "type": "array",
3733
+ "items": {
3734
+ "ref": "TipoFiltro"
3735
+ }
3736
+ }
3737
+ }
3738
+ },
3739
+ "CreateFilterTypeRequest": {
3740
+ "type": "object",
3741
+ "required": [
3742
+ "tipFil"
3743
+ ],
3744
+ "properties": {
3745
+ "tipFil": {
3746
+ "type": "number"
3747
+ },
3748
+ "desFil": {
3749
+ "type": "string",
3750
+ "maxLength": 20
3751
+ },
3752
+ "fldFil": {
3753
+ "type": "string",
3754
+ "maxLength": 20
3755
+ },
3756
+ "flgEnabled": {
3757
+ "type": "number",
3758
+ "enum": [
3759
+ "0",
3760
+ "1"
3761
+ ]
3762
+ }
3763
+ }
3764
+ },
3765
+ "UpdateFilterTypeRequest": {
3766
+ "type": "object",
3767
+ "properties": {
3768
+ "desFil": {
3769
+ "type": "string",
3770
+ "maxLength": 20
3771
+ },
3772
+ "fldFil": {
3773
+ "type": "string",
3774
+ "maxLength": 20
3775
+ },
3776
+ "flgEnabled": {
3777
+ "type": "number",
3778
+ "enum": [
3779
+ "0",
3780
+ "1"
3781
+ ]
3782
+ }
3783
+ }
3784
+ },
3785
+ "GetFiltriUtenteResponse": {
3786
+ "type": "object",
3787
+ "required": [
3788
+ "Result",
3789
+ "Status"
3790
+ ],
3791
+ "properties": {
3792
+ "Status": {
3793
+ "ref": "Status"
3794
+ },
3795
+ "Message": {
3796
+ "type": "string"
3797
+ },
3798
+ "Result": {
3799
+ "type": "array",
3800
+ "items": {
3801
+ "ref": "FiltriUtente"
3802
+ }
3803
+ }
3804
+ }
3805
+ },
3806
+ "UpdateEnabledStatusRequest": {
3807
+ "type": "object",
3808
+ "required": [
3809
+ "enabled"
3810
+ ],
3811
+ "properties": {
3812
+ "enabled": {
3813
+ "type": "boolean"
3814
+ }
3815
+ }
3816
+ },
3817
+ "FederatedProviderResponseDto": {
3818
+ "type": "object",
3819
+ "required": [
3820
+ "active",
3821
+ "description",
3822
+ "provider"
3823
+ ],
3824
+ "properties": {
3825
+ "provider": {
3826
+ "type": "string"
3827
+ },
3828
+ "description": {
3829
+ "type": "string"
3830
+ },
3831
+ "active": {
3832
+ "type": "boolean"
3833
+ },
3834
+ "createdAt": {
3835
+ "type": "string"
3836
+ },
3837
+ "note": {
3838
+ "type": "string"
3839
+ }
3840
+ }
3841
+ },
3842
+ "FederatedProviderListResponse": {
3843
+ "type": "object",
3844
+ "required": [
3845
+ "Result",
3846
+ "Status"
3847
+ ],
3848
+ "properties": {
3849
+ "Status": {
3850
+ "ref": "Status"
3851
+ },
3852
+ "Message": {
3853
+ "type": "string"
3854
+ },
3855
+ "Result": {
3856
+ "type": "array",
3857
+ "items": {
3858
+ "ref": "FederatedProviderResponseDto"
3859
+ }
3860
+ }
3861
+ }
3862
+ },
3863
+ "CreateFederatedProviderRequest": {
3864
+ "type": "object",
3865
+ "required": [
3866
+ "description",
3867
+ "provider"
3868
+ ],
3869
+ "properties": {
3870
+ "provider": {
3871
+ "type": "string"
3872
+ },
3873
+ "description": {
3874
+ "type": "string"
3875
+ },
3876
+ "note": {
3877
+ "type": "string"
3878
+ }
3879
+ }
3880
+ },
3881
+ "FederatedProviderResponse": {
3882
+ "type": "object",
3883
+ "required": [
3884
+ "Result",
3885
+ "Status"
3886
+ ],
3887
+ "properties": {
3888
+ "Status": {
3889
+ "ref": "Status"
3890
+ },
3891
+ "Message": {
3892
+ "type": "string"
3893
+ },
3894
+ "Result": {
3895
+ "ref": "FederatedProviderResponseDto"
3896
+ }
3897
+ }
3898
+ },
3899
+ "UpdateFederatedProviderRequest": {
3900
+ "type": "object",
3901
+ "properties": {
3902
+ "description": {
3903
+ "type": "string"
3904
+ },
3905
+ "active": {
3906
+ "type": "boolean"
3907
+ },
3908
+ "note": {
3909
+ "type": "string"
3910
+ }
3911
+ }
3912
+ },
3913
+ "FederatedIdentityResponseDto": {
3914
+ "type": "object",
3915
+ "required": [
3916
+ "active",
3917
+ "codiceUtente",
3918
+ "identityKey",
3919
+ "passwordLoginEnabled",
3920
+ "provider",
3921
+ "subject"
3922
+ ],
3923
+ "properties": {
3924
+ "identityKey": {
3925
+ "type": "string"
3926
+ },
3927
+ "codiceUtente": {
3928
+ "type": "number"
3929
+ },
3930
+ "provider": {
3931
+ "type": "string"
3932
+ },
3933
+ "subject": {
3934
+ "type": "string"
3935
+ },
3936
+ "active": {
3937
+ "type": "boolean"
3938
+ },
3939
+ "passwordLoginEnabled": {
3940
+ "type": "boolean"
3941
+ },
3942
+ "createdAt": {
3943
+ "type": "string"
3944
+ },
3945
+ "lastLoginAt": {
3946
+ "type": "string"
3947
+ },
3948
+ "disabledAt": {
3949
+ "type": "string"
3950
+ },
3951
+ "note": {
3952
+ "type": "string"
3953
+ }
3954
+ }
3955
+ },
3956
+ "FederatedIdentityListResponse": {
3957
+ "type": "object",
3958
+ "required": [
3959
+ "Result",
3960
+ "Status"
3961
+ ],
3962
+ "properties": {
3963
+ "Status": {
3964
+ "ref": "Status"
3965
+ },
3966
+ "Message": {
3967
+ "type": "string"
3968
+ },
3969
+ "Result": {
3970
+ "type": "array",
3971
+ "items": {
3972
+ "ref": "FederatedIdentityResponseDto"
3973
+ }
3974
+ }
3975
+ }
3976
+ },
3977
+ "CreateFederatedIdentityRequest": {
3978
+ "type": "object",
3979
+ "required": [
3980
+ "provider",
3981
+ "subject"
3982
+ ],
3983
+ "properties": {
3984
+ "provider": {
3985
+ "type": "string"
3986
+ },
3987
+ "subject": {
3988
+ "type": "string"
3989
+ },
3990
+ "note": {
3991
+ "type": "string"
3992
+ }
3993
+ }
3994
+ },
3995
+ "FederatedIdentityResponse": {
3996
+ "type": "object",
3997
+ "required": [
3998
+ "Result",
3999
+ "Status"
4000
+ ],
4001
+ "properties": {
4002
+ "Status": {
4003
+ "ref": "Status"
4004
+ },
4005
+ "Message": {
4006
+ "type": "string"
4007
+ },
4008
+ "Result": {
4009
+ "ref": "FederatedIdentityResponseDto"
4010
+ }
4011
+ }
4012
+ },
4013
+ "CreateFederatedUserRequest": {
4014
+ "type": "object",
4015
+ "required": [
4016
+ "provider",
4017
+ "subject",
4018
+ "user"
4019
+ ],
4020
+ "properties": {
4021
+ "provider": {
4022
+ "type": "string"
4023
+ },
4024
+ "subject": {
4025
+ "type": "string"
4026
+ },
4027
+ "note": {
4028
+ "type": "string"
4029
+ },
4030
+ "user": {
4031
+ "allOf": [
4032
+ {
4033
+ "ref": "RegisterRequest"
4034
+ }
4035
+ ]
4036
+ },
4037
+ "passwordLoginEnabled": {
4038
+ "type": "boolean"
4039
+ }
4040
+ }
4041
+ },
4042
+ "SetPasswordLoginPolicyRequest": {
4043
+ "type": "object",
4044
+ "required": [
4045
+ "passwordLoginEnabled"
4046
+ ],
4047
+ "properties": {
4048
+ "passwordLoginEnabled": {
4049
+ "type": "boolean"
4050
+ }
4051
+ }
4052
+ },
4053
+ "UpdateFederatedIdentityRequest": {
4054
+ "type": "object",
4055
+ "properties": {
4056
+ "active": {
4057
+ "type": "boolean"
4058
+ },
4059
+ "note": {
4060
+ "type": "string"
4061
+ }
4062
+ }
4063
+ },
4064
+ "ConsoleEntryTicketResult": {
4065
+ "type": "object",
4066
+ "required": [
4067
+ "expiresInSeconds",
4068
+ "ticket"
4069
+ ],
4070
+ "properties": {
4071
+ "ticket": {
4072
+ "type": "string"
4073
+ },
4074
+ "expiresInSeconds": {
4075
+ "type": "number"
4076
+ }
4077
+ }
4078
+ },
4079
+ "ConsoleEntryTicketResponse": {
4080
+ "type": "object",
4081
+ "required": [
4082
+ "Result",
4083
+ "Status"
4084
+ ],
4085
+ "properties": {
4086
+ "Status": {
4087
+ "ref": "Status"
4088
+ },
4089
+ "Message": {
4090
+ "type": "string"
4091
+ },
4092
+ "Result": {
4093
+ "ref": "ConsoleEntryTicketResult"
4094
+ }
4095
+ }
4096
+ },
4097
+ "ConsoleEntryExchangeRequest": {
4098
+ "type": "object",
4099
+ "required": [
4100
+ "ticket"
4101
+ ],
4102
+ "properties": {
4103
+ "ticket": {
4104
+ "type": "string"
4105
+ }
4106
+ }
4107
+ },
4108
+ "ConsoleEntryTokenResult": {
4109
+ "type": "object",
4110
+ "required": [
4111
+ "type",
4112
+ "value"
4113
+ ],
4114
+ "properties": {
4115
+ "value": {
4116
+ "type": "string"
4117
+ },
4118
+ "type": {
4119
+ "type": "string"
4120
+ }
4121
+ }
4122
+ },
4123
+ "ConsoleEntrySessionResult": {
4124
+ "type": "object",
4125
+ "required": [
4126
+ "token"
4127
+ ],
4128
+ "properties": {
4129
+ "token": {
4130
+ "ref": "ConsoleEntryTokenResult"
4131
+ }
4132
+ }
4133
+ },
4134
+ "ConsoleEntrySessionResponse": {
4135
+ "type": "object",
4136
+ "required": [
4137
+ "Result",
4138
+ "Status"
4139
+ ],
4140
+ "properties": {
4141
+ "Status": {
4142
+ "ref": "Status"
4143
+ },
4144
+ "Message": {
4145
+ "type": "string"
4146
+ },
4147
+ "Result": {
4148
+ "ref": "ConsoleEntrySessionResult"
4149
+ }
4150
+ }
4151
+ },
4152
+ "ExchangeFederatedIdentityRequest": {
4153
+ "type": "object",
4154
+ "required": [
4155
+ "provider",
4156
+ "subject"
4157
+ ],
4158
+ "properties": {
4159
+ "provider": {
4160
+ "type": "string"
4161
+ },
4162
+ "subject": {
4163
+ "type": "string"
4164
+ }
4165
+ }
4166
+ },
4167
+ "FederatedAuthenticationResultDto": {
4168
+ "type": "object",
4169
+ "required": [
4170
+ "codiceUtente",
4171
+ "login"
4172
+ ],
4173
+ "properties": {
4174
+ "codiceUtente": {
4175
+ "type": "number"
4176
+ },
4177
+ "login": {
4178
+ "allOf": [
4179
+ {
4180
+ "ref": "LoginResult"
4181
+ }
4182
+ ]
4183
+ },
4184
+ "token": {
4185
+ "allOf": [
4186
+ {
4187
+ "ref": "TokenResult"
4188
+ }
4189
+ ]
4190
+ }
4191
+ }
4192
+ },
4193
+ "FederatedExchangeResponse": {
4194
+ "type": "object",
4195
+ "required": [
4196
+ "Result",
4197
+ "Status"
4198
+ ],
4199
+ "properties": {
4200
+ "Status": {
4201
+ "ref": "Status"
4202
+ },
4203
+ "Message": {
4204
+ "type": "string"
4205
+ },
4206
+ "Result": {
4207
+ "ref": "FederatedAuthenticationResultDto"
4208
+ }
4209
+ }
4210
+ },
4211
+ "CreateServiceTokenRequest": {
4212
+ "type": "object",
4213
+ "required": [
4214
+ "label"
4215
+ ],
4216
+ "properties": {
4217
+ "label": {
4218
+ "type": "string"
4219
+ },
4220
+ "scopes": {
4221
+ "type": "array",
4222
+ "items": {
4223
+ "type": "string"
4224
+ }
4225
+ },
4226
+ "expiresAt": {
4227
+ "type": "string"
4228
+ },
4229
+ "ttlDays": {
4230
+ "type": "number"
4231
+ }
4232
+ }
4233
+ },
4234
+ "IssuedServiceTokenDto": {
4235
+ "type": "object",
4236
+ "required": [
4237
+ "label",
4238
+ "revoked",
4239
+ "scopes",
4240
+ "token",
4241
+ "tokenId"
4242
+ ],
4243
+ "properties": {
4244
+ "tokenId": {
4245
+ "type": "string"
4246
+ },
4247
+ "label": {
4248
+ "type": "string"
4249
+ },
4250
+ "scopes": {
4251
+ "type": "array",
4252
+ "items": {
4253
+ "type": "string"
4254
+ }
4255
+ },
4256
+ "createdAt": {
4257
+ "type": "string"
4258
+ },
4259
+ "expiresAt": {
4260
+ "type": "string"
4261
+ },
4262
+ "lastUsedAt": {
4263
+ "type": "string"
4264
+ },
4265
+ "lastUsedIp": {
4266
+ "type": "string"
4267
+ },
4268
+ "revoked": {
4269
+ "type": "boolean"
4270
+ },
4271
+ "revokedAt": {
4272
+ "type": "string"
4273
+ },
4274
+ "revokedBy": {
4275
+ "type": "number"
4276
+ },
4277
+ "token": {
4278
+ "type": "string"
4279
+ }
4280
+ }
4281
+ },
4282
+ "CreateServiceTokenResponse": {
4283
+ "type": "object",
4284
+ "required": [
4285
+ "Result",
4286
+ "Status"
4287
+ ],
4288
+ "properties": {
4289
+ "Status": {
4290
+ "ref": "Status"
4291
+ },
4292
+ "Message": {
4293
+ "type": "string"
4294
+ },
4295
+ "Result": {
4296
+ "ref": "IssuedServiceTokenDto"
4297
+ }
4298
+ }
4299
+ },
4300
+ "ServiceTokenDto": {
4301
+ "type": "object",
4302
+ "required": [
4303
+ "label",
4304
+ "revoked",
4305
+ "scopes",
4306
+ "tokenId"
4307
+ ],
4308
+ "properties": {
4309
+ "tokenId": {
4310
+ "type": "string"
4311
+ },
4312
+ "label": {
4313
+ "type": "string"
4314
+ },
4315
+ "scopes": {
4316
+ "type": "array",
4317
+ "items": {
4318
+ "type": "string"
4319
+ }
4320
+ },
4321
+ "createdAt": {
4322
+ "type": "string"
4323
+ },
4324
+ "expiresAt": {
4325
+ "type": "string"
4326
+ },
4327
+ "lastUsedAt": {
4328
+ "type": "string"
4329
+ },
4330
+ "lastUsedIp": {
4331
+ "type": "string"
4332
+ },
4333
+ "revoked": {
4334
+ "type": "boolean"
4335
+ },
4336
+ "revokedAt": {
4337
+ "type": "string"
4338
+ },
4339
+ "revokedBy": {
4340
+ "type": "number"
4341
+ }
4342
+ }
4343
+ },
4344
+ "GetServiceTokensResponse": {
4345
+ "type": "object",
4346
+ "required": [
4347
+ "Result",
4348
+ "Status"
4349
+ ],
4350
+ "properties": {
4351
+ "Status": {
4352
+ "ref": "Status"
4353
+ },
4354
+ "Message": {
4355
+ "type": "string"
4356
+ },
4357
+ "Result": {
4358
+ "type": "array",
4359
+ "items": {
4360
+ "ref": "ServiceTokenDto"
4361
+ }
4362
+ }
4363
+ }
4364
+ },
4365
+ "SchemaDdlSection": {
4366
+ "type": "object",
4367
+ "required": [
4368
+ "id",
4369
+ "sql",
4370
+ "title"
4371
+ ],
4372
+ "properties": {
4373
+ "id": {
4374
+ "type": "string"
4375
+ },
4376
+ "title": {
4377
+ "type": "string"
4378
+ },
4379
+ "sql": {
4380
+ "type": "string"
4381
+ }
4382
+ }
4383
+ },
4384
+ "SchemaDdlResult": {
4385
+ "type": "object",
4386
+ "required": [
4387
+ "extraTables",
4388
+ "presentGenerators",
4389
+ "presentTables",
4390
+ "script",
4391
+ "sections",
4392
+ "version"
4393
+ ],
4394
+ "properties": {
4395
+ "version": {
4396
+ "type": "string"
4397
+ },
4398
+ "sections": {
4399
+ "type": "array",
4400
+ "items": {
4401
+ "ref": "SchemaDdlSection"
4402
+ }
4403
+ },
4404
+ "script": {
4405
+ "type": "string"
4406
+ },
4407
+ "presentTables": {
4408
+ "type": "array",
4409
+ "items": {
4410
+ "type": "string"
4411
+ }
4412
+ },
4413
+ "extraTables": {
4414
+ "type": "array",
4415
+ "items": {
4416
+ "type": "string"
4417
+ }
4418
+ },
4419
+ "presentGenerators": {
4420
+ "type": "array",
4421
+ "items": {
4422
+ "type": "string"
4423
+ }
4424
+ }
4425
+ }
4426
+ },
4427
+ "GetSchemaResponse": {
4428
+ "type": "object",
4429
+ "required": [
4430
+ "Result",
4431
+ "Status"
4432
+ ],
4433
+ "properties": {
4434
+ "Status": {
4435
+ "ref": "Status"
4436
+ },
4437
+ "Message": {
4438
+ "type": "string"
4439
+ },
4440
+ "Result": {
4441
+ "ref": "SchemaDdlResult"
4442
+ }
4443
+ }
4444
+ },
4445
+ "IntrospectAccessiTokenRequest": {
4446
+ "type": "object",
4447
+ "required": [
4448
+ "token"
4449
+ ],
4450
+ "properties": {
4451
+ "token": {
4452
+ "type": "string"
4453
+ }
4454
+ }
4455
+ },
4456
+ "AccessiIntrospectionResultDto": {
4457
+ "type": "object",
4458
+ "required": [
4459
+ "active"
4460
+ ],
4461
+ "properties": {
4462
+ "active": {
4463
+ "type": "boolean"
4464
+ },
4465
+ "user": {
4466
+ "allOf": [
4467
+ {
4468
+ "ref": "UserDto"
4469
+ }
4470
+ ]
4471
+ },
4472
+ "grants": {
4473
+ "allOf": [
4474
+ {
4475
+ "ref": "UserGrantsDto"
4476
+ }
4477
+ ]
4478
+ }
4479
+ }
4480
+ },
4481
+ "IntrospectAccessiTokenResponse": {
4482
+ "type": "object",
4483
+ "required": [
4484
+ "Result",
4485
+ "Status"
4486
+ ],
4487
+ "properties": {
4488
+ "Status": {
4489
+ "ref": "Status"
4490
+ },
4491
+ "Message": {
4492
+ "type": "string"
4493
+ },
4494
+ "Result": {
4495
+ "ref": "AccessiIntrospectionResultDto"
4496
+ }
4497
+ }
4498
+ }
4499
+ }
4500
+ }