@snokam/mcp-api 2.61.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/auth.d.ts +0 -15
  2. package/dist/auth.js +17 -61
  3. package/dist/builtin-tools.d.ts +109 -0
  4. package/dist/builtin-tools.js +200 -0
  5. package/dist/execute-call.d.ts +5 -0
  6. package/dist/execute-call.js +45 -0
  7. package/dist/index.d.ts +0 -7
  8. package/dist/index.js +16 -311
  9. package/dist/openapi-loader.d.ts +1 -14
  10. package/dist/openapi-loader.js +27 -50
  11. package/dist/requirements.d.ts +10 -0
  12. package/dist/requirements.js +92 -0
  13. package/dist/state.d.ts +14 -0
  14. package/dist/state.js +66 -0
  15. package/dist/tool-schema.d.ts +2 -0
  16. package/dist/tool-schema.js +42 -0
  17. package/package.json +8 -3
  18. package/specs/production/accounting.json +2759 -2107
  19. package/specs/production/blog.json +783 -1504
  20. package/specs/production/broker.json +52 -24
  21. package/specs/production/chatgpt.json +285 -35
  22. package/specs/production/employees.json +2225 -1267
  23. package/specs/production/events.json +475 -755
  24. package/specs/production/notifications.json +329 -15
  25. package/specs/production/office.json +818 -836
  26. package/specs/production/recruitment.json +1889 -1116
  27. package/specs/production/sales.json +2392 -853
  28. package/specs/production/sanity.json +26027 -15014
  29. package/specs/production/sync.json +116 -20
  30. package/specs/production/webshop.json +37 -17
  31. package/specs/test/accounting.json +2869 -2159
  32. package/specs/test/blog.json +774 -1511
  33. package/specs/test/broker.json +54 -25
  34. package/specs/test/chatgpt.json +561 -198
  35. package/specs/test/employees.json +2490 -1479
  36. package/specs/test/events.json +481 -773
  37. package/specs/test/notifications.json +329 -15
  38. package/specs/test/office.json +818 -836
  39. package/specs/test/recruitment.json +1894 -1121
  40. package/specs/test/sales.json +2909 -1172
  41. package/specs/test/sanity.json +47384 -16348
  42. package/specs/test/sync.json +116 -20
  43. package/specs/test/webshop.json +37 -17
@@ -42,12 +42,41 @@
42
42
  "security": [
43
43
  {
44
44
  "Implicit": [
45
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
45
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
46
46
  ]
47
+ },
48
+ {
49
+ "ApiKey": []
47
50
  }
48
51
  ]
49
52
  }
50
53
  },
54
+ "/v1.0/presentations": {
55
+ "get": {
56
+ "tags": [
57
+ "CV"
58
+ ],
59
+ "summary": "Gets all presentations held by consultants",
60
+ "description": "Aggregates the presentations listed across all consultant CVs in CvPartner, including the speaker for each presentation. Public endpoint used by the snokam.no/presentasjoner page.",
61
+ "operationId": "GetPresentations",
62
+ "responses": {
63
+ "200": {
64
+ "description": "List of presentations retrieved successfully",
65
+ "content": {
66
+ "application/json": {
67
+ "schema": {
68
+ "type": "array",
69
+ "items": {
70
+ "$ref": "#/components/schemas/consultantPresentation"
71
+ }
72
+ }
73
+ }
74
+ },
75
+ "x-ms-summary": "Success"
76
+ }
77
+ }
78
+ }
79
+ },
51
80
  "/v1.0/cvs/my-cv": {
52
81
  "get": {
53
82
  "tags": [
@@ -80,8 +109,11 @@
80
109
  "security": [
81
110
  {
82
111
  "Implicit": [
83
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
112
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
84
113
  ]
114
+ },
115
+ {
116
+ "ApiKey": []
85
117
  }
86
118
  ]
87
119
  }
@@ -122,8 +154,11 @@
122
154
  "security": [
123
155
  {
124
156
  "Implicit": [
125
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
157
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
126
158
  ]
159
+ },
160
+ {
161
+ "ApiKey": []
127
162
  }
128
163
  ]
129
164
  }
@@ -157,8 +192,11 @@
157
192
  "security": [
158
193
  {
159
194
  "Implicit": [
160
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
195
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
161
196
  ]
197
+ },
198
+ {
199
+ "ApiKey": []
162
200
  }
163
201
  ]
164
202
  }
@@ -202,8 +240,11 @@
202
240
  "security": [
203
241
  {
204
242
  "Implicit": [
205
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
243
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
206
244
  ]
245
+ },
246
+ {
247
+ "ApiKey": []
207
248
  }
208
249
  ]
209
250
  }
@@ -240,8 +281,11 @@
240
281
  "security": [
241
282
  {
242
283
  "Implicit": [
243
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
284
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
244
285
  ]
286
+ },
287
+ {
288
+ "ApiKey": []
245
289
  }
246
290
  ]
247
291
  }
@@ -281,8 +325,11 @@
281
325
  "security": [
282
326
  {
283
327
  "Implicit": [
284
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
328
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
285
329
  ]
330
+ },
331
+ {
332
+ "ApiKey": []
286
333
  }
287
334
  ]
288
335
  },
@@ -327,8 +374,11 @@
327
374
  "security": [
328
375
  {
329
376
  "Implicit": [
330
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
377
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
331
378
  ]
379
+ },
380
+ {
381
+ "ApiKey": []
332
382
  }
333
383
  ]
334
384
  },
@@ -363,8 +413,11 @@
363
413
  "security": [
364
414
  {
365
415
  "Implicit": [
366
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
416
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
367
417
  ]
418
+ },
419
+ {
420
+ "ApiKey": []
368
421
  }
369
422
  ]
370
423
  }
@@ -411,8 +464,11 @@
411
464
  "security": [
412
465
  {
413
466
  "Implicit": [
414
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
467
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
415
468
  ]
469
+ },
470
+ {
471
+ "ApiKey": []
416
472
  }
417
473
  ]
418
474
  }
@@ -450,8 +506,11 @@
450
506
  "security": [
451
507
  {
452
508
  "Implicit": [
453
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
509
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
454
510
  ]
511
+ },
512
+ {
513
+ "ApiKey": []
455
514
  }
456
515
  ]
457
516
  }
@@ -500,8 +559,63 @@
500
559
  "security": [
501
560
  {
502
561
  "Implicit": [
503
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
562
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
563
+ ]
564
+ },
565
+ {
566
+ "ApiKey": []
567
+ }
568
+ ]
569
+ }
570
+ },
571
+ "/v1.0/cvs/users/{userId}/{cvId}": {
572
+ "get": {
573
+ "tags": [
574
+ "Proposals"
575
+ ],
576
+ "summary": "Get any CV (including tailored CVs) as raw Flowcase JSON by user_id + cv_id.",
577
+ "operationId": "GetRawCv",
578
+ "parameters": [
579
+ {
580
+ "name": "userId",
581
+ "in": "path",
582
+ "required": true,
583
+ "schema": {
584
+ "type": "string"
585
+ }
586
+ },
587
+ {
588
+ "name": "cvId",
589
+ "in": "path",
590
+ "required": true,
591
+ "schema": {
592
+ "type": "string"
593
+ }
594
+ }
595
+ ],
596
+ "responses": {
597
+ "200": {
598
+ "description": "Payload of Object",
599
+ "content": {
600
+ "application/json": {
601
+ "schema": {
602
+ "type": "object"
603
+ }
604
+ }
605
+ }
606
+ },
607
+ "404": {
608
+ "description": "No description"
609
+ }
610
+ },
611
+ "security": [
612
+ {
613
+ "Implicit": [
614
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
504
615
  ]
616
+ },
617
+ {
618
+ "ApiKey": []
505
619
  }
506
620
  ]
507
621
  }
@@ -566,12 +680,54 @@
566
680
  "security": [
567
681
  {
568
682
  "Implicit": [
569
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
683
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
570
684
  ]
685
+ },
686
+ {
687
+ "ApiKey": []
571
688
  }
572
689
  ]
573
690
  }
574
691
  },
692
+ "/v1.0/public/{slugOrId}/cv": {
693
+ "get": {
694
+ "tags": [
695
+ "Public"
696
+ ],
697
+ "summary": "Gets the full CV for a public employee by slug or id",
698
+ "description": "Resolves the employee by Sanity slug or id and returns the verbatim CvPartner (Flowcase) CV payload, including project experiences, recommendations and presentations.",
699
+ "operationId": "GetPublicEmployeeCv",
700
+ "parameters": [
701
+ {
702
+ "name": "slugOrId",
703
+ "in": "path",
704
+ "description": "The slug or id of the public employee whose CV to retrieve",
705
+ "required": true,
706
+ "schema": {
707
+ "type": "string"
708
+ },
709
+ "x-ms-summary": "The slug or id of the employee"
710
+ }
711
+ ],
712
+ "responses": {
713
+ "200": {
714
+ "description": "Raw CvPartner CV payload retrieved successfully",
715
+ "content": {
716
+ "application/json": {
717
+ "schema": {
718
+ "type": "object"
719
+ }
720
+ }
721
+ },
722
+ "x-ms-summary": "Success"
723
+ },
724
+ "404": {
725
+ "description": "Employee or CV not found",
726
+ "x-ms-summary": "Not Found"
727
+ }
728
+ }
729
+ }
730
+ },
575
731
  "/v1.0/protected": {
576
732
  "get": {
577
733
  "tags": [
@@ -580,6 +736,26 @@
580
736
  "summary": "Gets all protected employees",
581
737
  "description": "Retrieves a list of all protected employees.",
582
738
  "operationId": "GetEmployeesProtected",
739
+ "parameters": [
740
+ {
741
+ "name": "includeBots",
742
+ "in": "query",
743
+ "description": "Include AI / bot employees (Olaf et al.). Defaults to false.",
744
+ "schema": {
745
+ "type": "boolean"
746
+ },
747
+ "x-ms-summary": "Include bots"
748
+ },
749
+ {
750
+ "name": "includeExternals",
751
+ "in": "query",
752
+ "description": "Include external employees (contractors). Defaults to false.",
753
+ "schema": {
754
+ "type": "boolean"
755
+ },
756
+ "x-ms-summary": "Include externals"
757
+ }
758
+ ],
583
759
  "responses": {
584
760
  "200": {
585
761
  "description": "List of protected employees retrieved successfully",
@@ -603,8 +779,11 @@
603
779
  "security": [
604
780
  {
605
781
  "Implicit": [
606
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
782
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
607
783
  ]
784
+ },
785
+ {
786
+ "ApiKey": []
608
787
  }
609
788
  ]
610
789
  }
@@ -641,8 +820,11 @@
641
820
  "security": [
642
821
  {
643
822
  "Implicit": [
644
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
823
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
645
824
  ]
825
+ },
826
+ {
827
+ "ApiKey": []
646
828
  }
647
829
  ]
648
830
  },
@@ -684,8 +866,60 @@
684
866
  "security": [
685
867
  {
686
868
  "Implicit": [
687
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
869
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
870
+ ]
871
+ },
872
+ {
873
+ "ApiKey": []
874
+ }
875
+ ]
876
+ }
877
+ },
878
+ "/v1.0/protected/me/photo": {
879
+ "post": {
880
+ "tags": [
881
+ "Protected"
882
+ ],
883
+ "summary": "Uploads the authenticated user's profile photo",
884
+ "description": "Stores the photo and a blurred variant on the employee. Body is the raw image bytes.",
885
+ "operationId": "SetMyPhoto",
886
+ "requestBody": {
887
+ "description": "Raw image bytes",
888
+ "content": {
889
+ "application/octet-stream": {
890
+ "schema": {
891
+ "type": "string",
892
+ "format": "binary"
893
+ }
894
+ }
895
+ },
896
+ "required": true
897
+ },
898
+ "responses": {
899
+ "200": {
900
+ "description": "Photo updated successfully",
901
+ "content": {
902
+ "application/json": {
903
+ "schema": {
904
+ "$ref": "#/components/schemas/protectedEmployee"
905
+ }
906
+ }
907
+ },
908
+ "x-ms-summary": "Success"
909
+ },
910
+ "401": {
911
+ "description": "User is not authorized",
912
+ "x-ms-summary": "Unauthorized"
913
+ }
914
+ },
915
+ "security": [
916
+ {
917
+ "Implicit": [
918
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
688
919
  ]
920
+ },
921
+ {
922
+ "ApiKey": []
689
923
  }
690
924
  ]
691
925
  }
@@ -741,8 +975,11 @@
741
975
  "security": [
742
976
  {
743
977
  "Implicit": [
744
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
978
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
745
979
  ]
980
+ },
981
+ {
982
+ "ApiKey": []
746
983
  }
747
984
  ]
748
985
  },
@@ -789,8 +1026,71 @@
789
1026
  "security": [
790
1027
  {
791
1028
  "Implicit": [
792
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
1029
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1030
+ ]
1031
+ },
1032
+ {
1033
+ "ApiKey": []
1034
+ }
1035
+ ]
1036
+ }
1037
+ },
1038
+ "/v1.0/protected/{id}/photo": {
1039
+ "post": {
1040
+ "tags": [
1041
+ "Protected"
1042
+ ],
1043
+ "summary": "Uploads a profile photo for an employee (admin)",
1044
+ "description": "Stores the photo and a blurred variant on the given employee. Body is the raw image bytes.",
1045
+ "operationId": "SetEmployeePhoto",
1046
+ "parameters": [
1047
+ {
1048
+ "name": "id",
1049
+ "in": "path",
1050
+ "required": true,
1051
+ "schema": {
1052
+ "type": "string"
1053
+ },
1054
+ "x-ms-summary": "The employee Sanity id"
1055
+ }
1056
+ ],
1057
+ "requestBody": {
1058
+ "description": "Raw image bytes",
1059
+ "content": {
1060
+ "application/octet-stream": {
1061
+ "schema": {
1062
+ "type": "string",
1063
+ "format": "binary"
1064
+ }
1065
+ }
1066
+ },
1067
+ "required": true
1068
+ },
1069
+ "responses": {
1070
+ "200": {
1071
+ "description": "Photo updated successfully",
1072
+ "content": {
1073
+ "application/json": {
1074
+ "schema": {
1075
+ "$ref": "#/components/schemas/protectedEmployee"
1076
+ }
1077
+ }
1078
+ },
1079
+ "x-ms-summary": "Success"
1080
+ },
1081
+ "401": {
1082
+ "description": "User is not authorized",
1083
+ "x-ms-summary": "Unauthorized"
1084
+ }
1085
+ },
1086
+ "security": [
1087
+ {
1088
+ "Implicit": [
1089
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
793
1090
  ]
1091
+ },
1092
+ {
1093
+ "ApiKey": []
794
1094
  }
795
1095
  ]
796
1096
  }
@@ -823,8 +1123,11 @@
823
1123
  "security": [
824
1124
  {
825
1125
  "Implicit": [
826
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
1126
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
827
1127
  ]
1128
+ },
1129
+ {
1130
+ "ApiKey": []
828
1131
  }
829
1132
  ]
830
1133
  }
@@ -924,43 +1227,1114 @@
924
1227
  }
925
1228
  }
926
1229
  }
927
- }
928
- },
929
- "components": {
930
- "schemas": {
931
- "addCvToProposalRequest": {
932
- "type": "object",
933
- "properties": {
934
- "user_id": {
935
- "type": "string",
936
- "nullable": true
1230
+ },
1231
+ "/v1.0/protected/directory/users/{objectId}/groups/{groupId}": {
1232
+ "post": {
1233
+ "tags": [
1234
+ "Directory"
1235
+ ],
1236
+ "summary": "Add the directory user to a security group",
1237
+ "description": "Returns changed: false when the user already was a member.",
1238
+ "operationId": "AddDirectoryUserToGroup",
1239
+ "parameters": [
1240
+ {
1241
+ "name": "objectId",
1242
+ "in": "path",
1243
+ "required": true,
1244
+ "schema": {
1245
+ "type": "string"
1246
+ }
937
1247
  },
938
- "cv_id": {
939
- "type": "string",
940
- "nullable": true
941
- }
942
- }
1248
+ {
1249
+ "name": "groupId",
1250
+ "in": "path",
1251
+ "required": true,
1252
+ "schema": {
1253
+ "type": "string"
1254
+ }
1255
+ }
1256
+ ],
1257
+ "responses": {
1258
+ "200": {
1259
+ "description": "Payload of DirectoryOperationResult",
1260
+ "content": {
1261
+ "application/json": {
1262
+ "schema": {
1263
+ "$ref": "#/components/schemas/directoryOperationResult"
1264
+ }
1265
+ }
1266
+ },
1267
+ "x-ms-summary": "Success"
1268
+ },
1269
+ "401": {
1270
+ "description": "No description",
1271
+ "x-ms-summary": "Unauthorized"
1272
+ }
1273
+ },
1274
+ "security": [
1275
+ {
1276
+ "Implicit": [
1277
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1278
+ ]
1279
+ },
1280
+ {
1281
+ "ApiKey": []
1282
+ }
1283
+ ]
1284
+ },
1285
+ "delete": {
1286
+ "tags": [
1287
+ "Directory"
1288
+ ],
1289
+ "summary": "Remove the directory user from a security group",
1290
+ "description": "Returns changed: false when the user was not a member.",
1291
+ "operationId": "RemoveDirectoryUserFromGroup",
1292
+ "parameters": [
1293
+ {
1294
+ "name": "objectId",
1295
+ "in": "path",
1296
+ "required": true,
1297
+ "schema": {
1298
+ "type": "string"
1299
+ }
1300
+ },
1301
+ {
1302
+ "name": "groupId",
1303
+ "in": "path",
1304
+ "required": true,
1305
+ "schema": {
1306
+ "type": "string"
1307
+ }
1308
+ }
1309
+ ],
1310
+ "responses": {
1311
+ "200": {
1312
+ "description": "Payload of DirectoryOperationResult",
1313
+ "content": {
1314
+ "application/json": {
1315
+ "schema": {
1316
+ "$ref": "#/components/schemas/directoryOperationResult"
1317
+ }
1318
+ }
1319
+ },
1320
+ "x-ms-summary": "Success"
1321
+ },
1322
+ "401": {
1323
+ "description": "No description",
1324
+ "x-ms-summary": "Unauthorized"
1325
+ }
1326
+ },
1327
+ "security": [
1328
+ {
1329
+ "Implicit": [
1330
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1331
+ ]
1332
+ },
1333
+ {
1334
+ "ApiKey": []
1335
+ }
1336
+ ]
1337
+ }
1338
+ },
1339
+ "/v1.0/protected/directory/users/{objectId}/app-roles": {
1340
+ "post": {
1341
+ "tags": [
1342
+ "Directory"
1343
+ ],
1344
+ "summary": "Assign an app-role on a service principal to the directory user",
1345
+ "description": "Returns changed: false when the assignment already existed.",
1346
+ "operationId": "AssignDirectoryAppRole",
1347
+ "parameters": [
1348
+ {
1349
+ "name": "objectId",
1350
+ "in": "path",
1351
+ "required": true,
1352
+ "schema": {
1353
+ "type": "string"
1354
+ }
1355
+ }
1356
+ ],
1357
+ "requestBody": {
1358
+ "content": {
1359
+ "application/json": {
1360
+ "schema": {
1361
+ "$ref": "#/components/schemas/appRoleAssignmentRequest"
1362
+ }
1363
+ }
1364
+ },
1365
+ "required": true
1366
+ },
1367
+ "responses": {
1368
+ "200": {
1369
+ "description": "Payload of DirectoryOperationResult",
1370
+ "content": {
1371
+ "application/json": {
1372
+ "schema": {
1373
+ "$ref": "#/components/schemas/directoryOperationResult"
1374
+ }
1375
+ }
1376
+ },
1377
+ "x-ms-summary": "Success"
1378
+ },
1379
+ "401": {
1380
+ "description": "No description",
1381
+ "x-ms-summary": "Unauthorized"
1382
+ }
1383
+ },
1384
+ "security": [
1385
+ {
1386
+ "Implicit": [
1387
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1388
+ ]
1389
+ },
1390
+ {
1391
+ "ApiKey": []
1392
+ }
1393
+ ]
1394
+ },
1395
+ "get": {
1396
+ "tags": [
1397
+ "Directory"
1398
+ ],
1399
+ "summary": "Map the directory user's app-role assignments by service principal",
1400
+ "description": "Returns { servicePrincipalObjectId: appRoleId } for every Enterprise App the user is assigned to.",
1401
+ "operationId": "ListDirectoryUserAppRoles",
1402
+ "parameters": [
1403
+ {
1404
+ "name": "objectId",
1405
+ "in": "path",
1406
+ "required": true,
1407
+ "schema": {
1408
+ "type": "string"
1409
+ }
1410
+ }
1411
+ ],
1412
+ "responses": {
1413
+ "200": {
1414
+ "description": "Payload of Dictionary of String",
1415
+ "content": {
1416
+ "application/json": {
1417
+ "schema": {
1418
+ "type": "object",
1419
+ "additionalProperties": {
1420
+ "type": "string"
1421
+ }
1422
+ }
1423
+ }
1424
+ },
1425
+ "x-ms-summary": "Success"
1426
+ },
1427
+ "401": {
1428
+ "description": "No description",
1429
+ "x-ms-summary": "Unauthorized"
1430
+ }
1431
+ },
1432
+ "security": [
1433
+ {
1434
+ "Implicit": [
1435
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1436
+ ]
1437
+ },
1438
+ {
1439
+ "ApiKey": []
1440
+ }
1441
+ ]
1442
+ }
1443
+ },
1444
+ "/v1.0/protected/directory/users/{objectId}/app-roles/{servicePrincipalObjectId}": {
1445
+ "delete": {
1446
+ "tags": [
1447
+ "Directory"
1448
+ ],
1449
+ "summary": "Remove the directory user's app-role assignment(s) on a service principal",
1450
+ "operationId": "RemoveDirectoryAppRole",
1451
+ "parameters": [
1452
+ {
1453
+ "name": "objectId",
1454
+ "in": "path",
1455
+ "required": true,
1456
+ "schema": {
1457
+ "type": "string"
1458
+ }
1459
+ },
1460
+ {
1461
+ "name": "servicePrincipalObjectId",
1462
+ "in": "path",
1463
+ "required": true,
1464
+ "schema": {
1465
+ "type": "string"
1466
+ }
1467
+ }
1468
+ ],
1469
+ "responses": {
1470
+ "200": {
1471
+ "description": "Payload of DirectoryOperationResult",
1472
+ "content": {
1473
+ "application/json": {
1474
+ "schema": {
1475
+ "$ref": "#/components/schemas/directoryOperationResult"
1476
+ }
1477
+ }
1478
+ },
1479
+ "x-ms-summary": "Success"
1480
+ },
1481
+ "401": {
1482
+ "description": "No description",
1483
+ "x-ms-summary": "Unauthorized"
1484
+ }
1485
+ },
1486
+ "security": [
1487
+ {
1488
+ "Implicit": [
1489
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1490
+ ]
1491
+ },
1492
+ {
1493
+ "ApiKey": []
1494
+ }
1495
+ ]
1496
+ }
1497
+ },
1498
+ "/v1.0/protected/directory/service-principals/{servicePrincipalObjectId}/app-roles": {
1499
+ "get": {
1500
+ "tags": [
1501
+ "Directory"
1502
+ ],
1503
+ "summary": "List a service principal's enabled app-roles",
1504
+ "operationId": "ListDirectoryAppRoles",
1505
+ "parameters": [
1506
+ {
1507
+ "name": "servicePrincipalObjectId",
1508
+ "in": "path",
1509
+ "required": true,
1510
+ "schema": {
1511
+ "type": "string"
1512
+ }
1513
+ }
1514
+ ],
1515
+ "responses": {
1516
+ "200": {
1517
+ "description": "Payload of Array of SystemRoleOption",
1518
+ "content": {
1519
+ "application/json": {
1520
+ "schema": {
1521
+ "type": "array",
1522
+ "items": {
1523
+ "$ref": "#/components/schemas/systemRoleOption"
1524
+ }
1525
+ }
1526
+ }
1527
+ },
1528
+ "x-ms-summary": "Success"
1529
+ },
1530
+ "401": {
1531
+ "description": "No description",
1532
+ "x-ms-summary": "Unauthorized"
1533
+ }
1534
+ },
1535
+ "security": [
1536
+ {
1537
+ "Implicit": [
1538
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1539
+ ]
1540
+ },
1541
+ {
1542
+ "ApiKey": []
1543
+ }
1544
+ ]
1545
+ }
1546
+ },
1547
+ "/v1.0/protected/directory/users/{objectId}/licenses/{skuId}": {
1548
+ "post": {
1549
+ "tags": [
1550
+ "Directory"
1551
+ ],
1552
+ "summary": "Assign a license SKU to the directory user",
1553
+ "operationId": "AssignDirectoryLicense",
1554
+ "parameters": [
1555
+ {
1556
+ "name": "objectId",
1557
+ "in": "path",
1558
+ "required": true,
1559
+ "schema": {
1560
+ "type": "string"
1561
+ }
1562
+ },
1563
+ {
1564
+ "name": "skuId",
1565
+ "in": "path",
1566
+ "required": true,
1567
+ "schema": {
1568
+ "type": "string"
1569
+ }
1570
+ }
1571
+ ],
1572
+ "responses": {
1573
+ "204": {
1574
+ "description": "No description",
1575
+ "x-ms-summary": "Assigned"
1576
+ },
1577
+ "401": {
1578
+ "description": "No description",
1579
+ "x-ms-summary": "Unauthorized"
1580
+ }
1581
+ },
1582
+ "security": [
1583
+ {
1584
+ "Implicit": [
1585
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1586
+ ]
1587
+ },
1588
+ {
1589
+ "ApiKey": []
1590
+ }
1591
+ ]
1592
+ },
1593
+ "delete": {
1594
+ "tags": [
1595
+ "Directory"
1596
+ ],
1597
+ "summary": "Revoke a license SKU from the directory user",
1598
+ "operationId": "RevokeDirectoryLicense",
1599
+ "parameters": [
1600
+ {
1601
+ "name": "objectId",
1602
+ "in": "path",
1603
+ "required": true,
1604
+ "schema": {
1605
+ "type": "string"
1606
+ }
1607
+ },
1608
+ {
1609
+ "name": "skuId",
1610
+ "in": "path",
1611
+ "required": true,
1612
+ "schema": {
1613
+ "type": "string"
1614
+ }
1615
+ }
1616
+ ],
1617
+ "responses": {
1618
+ "204": {
1619
+ "description": "No description",
1620
+ "x-ms-summary": "Revoked"
1621
+ },
1622
+ "401": {
1623
+ "description": "No description",
1624
+ "x-ms-summary": "Unauthorized"
1625
+ }
1626
+ },
1627
+ "security": [
1628
+ {
1629
+ "Implicit": [
1630
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1631
+ ]
1632
+ },
1633
+ {
1634
+ "ApiKey": []
1635
+ }
1636
+ ]
1637
+ }
1638
+ },
1639
+ "/v1.0/protected/directory/licenses/{skuId}": {
1640
+ "get": {
1641
+ "tags": [
1642
+ "Directory"
1643
+ ],
1644
+ "summary": "Get seat availability for a license SKU",
1645
+ "operationId": "GetDirectoryLicenseAvailability",
1646
+ "parameters": [
1647
+ {
1648
+ "name": "skuId",
1649
+ "in": "path",
1650
+ "required": true,
1651
+ "schema": {
1652
+ "type": "string"
1653
+ }
1654
+ }
1655
+ ],
1656
+ "responses": {
1657
+ "200": {
1658
+ "description": "Payload of LicenseAvailability",
1659
+ "content": {
1660
+ "application/json": {
1661
+ "schema": {
1662
+ "$ref": "#/components/schemas/licenseAvailability"
1663
+ }
1664
+ }
1665
+ },
1666
+ "x-ms-summary": "Success"
1667
+ },
1668
+ "401": {
1669
+ "description": "No description",
1670
+ "x-ms-summary": "Unauthorized"
1671
+ },
1672
+ "404": {
1673
+ "description": "No description",
1674
+ "x-ms-summary": "SKU unknown"
1675
+ }
1676
+ },
1677
+ "security": [
1678
+ {
1679
+ "Implicit": [
1680
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1681
+ ]
1682
+ },
1683
+ {
1684
+ "ApiKey": []
1685
+ }
1686
+ ]
1687
+ }
1688
+ },
1689
+ "/v1.0/protected/directory/licenses/primary": {
1690
+ "get": {
1691
+ "tags": [
1692
+ "Directory"
1693
+ ],
1694
+ "summary": "Auto-select the tenant's primary productivity license SKU",
1695
+ "description": "Returns skuId: null when no productivity SKU has a free seat.",
1696
+ "operationId": "ResolvePrimaryDirectoryLicense",
1697
+ "responses": {
1698
+ "200": {
1699
+ "description": "Payload of LicenseSkuRef",
1700
+ "content": {
1701
+ "application/json": {
1702
+ "schema": {
1703
+ "$ref": "#/components/schemas/licenseSkuRef"
1704
+ }
1705
+ }
1706
+ },
1707
+ "x-ms-summary": "Success"
1708
+ },
1709
+ "401": {
1710
+ "description": "No description",
1711
+ "x-ms-summary": "Unauthorized"
1712
+ }
1713
+ },
1714
+ "security": [
1715
+ {
1716
+ "Implicit": [
1717
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1718
+ ]
1719
+ },
1720
+ {
1721
+ "ApiKey": []
1722
+ }
1723
+ ]
1724
+ }
1725
+ },
1726
+ "/v1.0/protected/systems/batch": {
1727
+ "post": {
1728
+ "tags": [
1729
+ "EmployeeSystems"
1730
+ ],
1731
+ "summary": "Bulk list per-employee system access for a set of UPNs",
1732
+ "description": "Resolves every UPN's third-party system seats in one roundtrip — fans out the Graph calls server-side.",
1733
+ "operationId": "ListEmployeeSystemAccessBatch",
1734
+ "requestBody": {
1735
+ "content": {
1736
+ "application/json": {
1737
+ "schema": {
1738
+ "$ref": "#/components/schemas/listEmployeeSystemAccessBatchRequest"
1739
+ }
1740
+ }
1741
+ },
1742
+ "required": true
1743
+ },
1744
+ "responses": {
1745
+ "200": {
1746
+ "description": "Payload of Array of EmployeeSystemAccessRow",
1747
+ "content": {
1748
+ "application/json": {
1749
+ "schema": {
1750
+ "type": "array",
1751
+ "items": {
1752
+ "$ref": "#/components/schemas/employeeSystemAccessRow"
1753
+ }
1754
+ }
1755
+ }
1756
+ },
1757
+ "x-ms-summary": "Success"
1758
+ },
1759
+ "401": {
1760
+ "description": "No description",
1761
+ "x-ms-summary": "Unauthorized"
1762
+ }
1763
+ },
1764
+ "security": [
1765
+ {
1766
+ "Implicit": [
1767
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1768
+ ]
1769
+ },
1770
+ {
1771
+ "ApiKey": []
1772
+ }
1773
+ ]
1774
+ }
1775
+ },
1776
+ "/v1.0/protected/systems-config": {
1777
+ "get": {
1778
+ "tags": [
1779
+ "EmployeeSystems"
1780
+ ],
1781
+ "summary": "List the system registry with per-tenant configuration",
1782
+ "description": "Which Enterprise App (service principal) backs each registered system, and the optional default role. Unconfigured systems have servicePrincipalId: null.",
1783
+ "operationId": "GetEmployeeSystemsConfig",
1784
+ "responses": {
1785
+ "200": {
1786
+ "description": "Payload of Array of EmployeeSystemConfig",
1787
+ "content": {
1788
+ "application/json": {
1789
+ "schema": {
1790
+ "type": "array",
1791
+ "items": {
1792
+ "$ref": "#/components/schemas/employeeSystemConfig"
1793
+ }
1794
+ }
1795
+ }
1796
+ },
1797
+ "x-ms-summary": "Success"
1798
+ },
1799
+ "401": {
1800
+ "description": "No description",
1801
+ "x-ms-summary": "Unauthorized"
1802
+ }
1803
+ },
1804
+ "security": [
1805
+ {
1806
+ "Implicit": [
1807
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1808
+ ]
1809
+ },
1810
+ {
1811
+ "ApiKey": []
1812
+ }
1813
+ ]
1814
+ }
1815
+ },
1816
+ "/v1.0/protected/systems/{upn}": {
1817
+ "get": {
1818
+ "tags": [
1819
+ "EmployeeSystems"
1820
+ ],
1821
+ "summary": "List an employee's third-party system access",
1822
+ "description": "Per registered system (e.g. Salesforce): whether the employee has a seat, which app-role backs it, and the selectable roles.",
1823
+ "operationId": "ListEmployeeSystemAccess",
1824
+ "parameters": [
1825
+ {
1826
+ "name": "upn",
1827
+ "in": "path",
1828
+ "required": true,
1829
+ "schema": {
1830
+ "type": "string"
1831
+ },
1832
+ "x-ms-summary": "Employee UPN (work email)"
1833
+ }
1834
+ ],
1835
+ "responses": {
1836
+ "200": {
1837
+ "description": "Payload of Array of EmployeeSystemAccess",
1838
+ "content": {
1839
+ "application/json": {
1840
+ "schema": {
1841
+ "type": "array",
1842
+ "items": {
1843
+ "$ref": "#/components/schemas/employeeSystemAccess"
1844
+ }
1845
+ }
1846
+ }
1847
+ },
1848
+ "x-ms-summary": "Success"
1849
+ },
1850
+ "401": {
1851
+ "description": "No description",
1852
+ "x-ms-summary": "Unauthorized"
1853
+ },
1854
+ "404": {
1855
+ "description": "No description",
1856
+ "x-ms-summary": "Employee not found in the directory"
1857
+ }
1858
+ },
1859
+ "security": [
1860
+ {
1861
+ "Implicit": [
1862
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1863
+ ]
1864
+ },
1865
+ {
1866
+ "ApiKey": []
1867
+ }
1868
+ ]
1869
+ }
1870
+ },
1871
+ "/v1.0/protected/systems/{upn}/{systemKey}": {
1872
+ "post": {
1873
+ "tags": [
1874
+ "EmployeeSystems"
1875
+ ],
1876
+ "summary": "Grant the employee a seat in a third-party system",
1877
+ "description": "Assigns the backing app-role on the system's Enterprise App. SCIM/provisioning then creates the account automatically.",
1878
+ "operationId": "AssignEmployeeSystem",
1879
+ "parameters": [
1880
+ {
1881
+ "name": "upn",
1882
+ "in": "path",
1883
+ "required": true,
1884
+ "schema": {
1885
+ "type": "string"
1886
+ }
1887
+ },
1888
+ {
1889
+ "name": "systemKey",
1890
+ "in": "path",
1891
+ "required": true,
1892
+ "schema": {
1893
+ "type": "string"
1894
+ },
1895
+ "x-ms-summary": "Stable system key (e.g. \"salesforce\")"
1896
+ },
1897
+ {
1898
+ "name": "roleId",
1899
+ "in": "query",
1900
+ "schema": {
1901
+ "type": "string"
1902
+ },
1903
+ "x-ms-summary": "App-role id to assign; falls back to the tenant's default role when omitted. Assigning a different role than the current one replaces the assignment."
1904
+ }
1905
+ ],
1906
+ "responses": {
1907
+ "200": {
1908
+ "description": "Payload of EmployeeSystemAccess",
1909
+ "content": {
1910
+ "application/json": {
1911
+ "schema": {
1912
+ "$ref": "#/components/schemas/employeeSystemAccess"
1913
+ }
1914
+ }
1915
+ },
1916
+ "x-ms-summary": "Success"
1917
+ },
1918
+ "401": {
1919
+ "description": "No description",
1920
+ "x-ms-summary": "Unauthorized"
1921
+ },
1922
+ "404": {
1923
+ "description": "No description",
1924
+ "x-ms-summary": "Unknown system or employee"
1925
+ },
1926
+ "501": {
1927
+ "description": "No description",
1928
+ "x-ms-summary": "System not configured in this environment"
1929
+ }
1930
+ },
1931
+ "security": [
1932
+ {
1933
+ "Implicit": [
1934
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1935
+ ]
1936
+ },
1937
+ {
1938
+ "ApiKey": []
1939
+ }
1940
+ ]
1941
+ },
1942
+ "delete": {
1943
+ "tags": [
1944
+ "EmployeeSystems"
1945
+ ],
1946
+ "summary": "Revoke the employee's seat in a third-party system",
1947
+ "description": "Removes the backing app-role assignment. SCIM/provisioning deactivates the account on the next sync.",
1948
+ "operationId": "RevokeEmployeeSystem",
1949
+ "parameters": [
1950
+ {
1951
+ "name": "upn",
1952
+ "in": "path",
1953
+ "required": true,
1954
+ "schema": {
1955
+ "type": "string"
1956
+ }
1957
+ },
1958
+ {
1959
+ "name": "systemKey",
1960
+ "in": "path",
1961
+ "required": true,
1962
+ "schema": {
1963
+ "type": "string"
1964
+ }
1965
+ }
1966
+ ],
1967
+ "responses": {
1968
+ "200": {
1969
+ "description": "Payload of EmployeeSystemAccess",
1970
+ "content": {
1971
+ "application/json": {
1972
+ "schema": {
1973
+ "$ref": "#/components/schemas/employeeSystemAccess"
1974
+ }
1975
+ }
1976
+ },
1977
+ "x-ms-summary": "Success"
1978
+ },
1979
+ "401": {
1980
+ "description": "No description",
1981
+ "x-ms-summary": "Unauthorized"
1982
+ },
1983
+ "404": {
1984
+ "description": "No description",
1985
+ "x-ms-summary": "Unknown system or employee"
1986
+ },
1987
+ "501": {
1988
+ "description": "No description",
1989
+ "x-ms-summary": "System not configured in this environment"
1990
+ }
1991
+ },
1992
+ "security": [
1993
+ {
1994
+ "Implicit": [
1995
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1996
+ ]
1997
+ },
1998
+ {
1999
+ "ApiKey": []
2000
+ }
2001
+ ]
2002
+ }
2003
+ },
2004
+ "/v1.0/protected/directory/users": {
2005
+ "post": {
2006
+ "tags": [
2007
+ "Directory"
2008
+ ],
2009
+ "summary": "Create (or adopt) a directory user",
2010
+ "description": "Creates the Entra user, or patches an existing one with the supplied fields. Returns the temporary password only on fresh creation.",
2011
+ "operationId": "CreateDirectoryUser",
2012
+ "requestBody": {
2013
+ "content": {
2014
+ "application/json": {
2015
+ "schema": {
2016
+ "$ref": "#/components/schemas/createUserInput"
2017
+ }
2018
+ }
2019
+ },
2020
+ "required": true
2021
+ },
2022
+ "responses": {
2023
+ "200": {
2024
+ "description": "Payload of CreateUserResult",
2025
+ "content": {
2026
+ "application/json": {
2027
+ "schema": {
2028
+ "$ref": "#/components/schemas/createUserResult"
2029
+ }
2030
+ }
2031
+ },
2032
+ "x-ms-summary": "Success"
2033
+ },
2034
+ "401": {
2035
+ "description": "No description",
2036
+ "x-ms-summary": "Unauthorized"
2037
+ }
2038
+ },
2039
+ "security": [
2040
+ {
2041
+ "Implicit": [
2042
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
2043
+ ]
2044
+ },
2045
+ {
2046
+ "ApiKey": []
2047
+ }
2048
+ ]
2049
+ }
2050
+ },
2051
+ "/v1.0/protected/directory/users/{objectId}": {
2052
+ "patch": {
2053
+ "tags": [
2054
+ "Directory"
2055
+ ],
2056
+ "summary": "Patch a directory user from candidate fields",
2057
+ "operationId": "PatchDirectoryUser",
2058
+ "parameters": [
2059
+ {
2060
+ "name": "objectId",
2061
+ "in": "path",
2062
+ "required": true,
2063
+ "schema": {
2064
+ "type": "string"
2065
+ }
2066
+ }
2067
+ ],
2068
+ "requestBody": {
2069
+ "content": {
2070
+ "application/json": {
2071
+ "schema": {
2072
+ "$ref": "#/components/schemas/createUserInput"
2073
+ }
2074
+ }
2075
+ },
2076
+ "required": true
2077
+ },
2078
+ "responses": {
2079
+ "204": {
2080
+ "description": "No description",
2081
+ "x-ms-summary": "Patched"
2082
+ },
2083
+ "401": {
2084
+ "description": "No description",
2085
+ "x-ms-summary": "Unauthorized"
2086
+ }
2087
+ },
2088
+ "security": [
2089
+ {
2090
+ "Implicit": [
2091
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
2092
+ ]
2093
+ },
2094
+ {
2095
+ "ApiKey": []
2096
+ }
2097
+ ]
2098
+ }
2099
+ },
2100
+ "/v1.0/protected/directory/users/{objectId}/photo": {
2101
+ "post": {
2102
+ "tags": [
2103
+ "Directory"
2104
+ ],
2105
+ "summary": "Upload a profile photo to the directory user",
2106
+ "description": "Fetches the image from the supplied URL and PUTs it as the user's Entra profile photo.",
2107
+ "operationId": "UploadDirectoryUserPhoto",
2108
+ "parameters": [
2109
+ {
2110
+ "name": "objectId",
2111
+ "in": "path",
2112
+ "required": true,
2113
+ "schema": {
2114
+ "type": "string"
2115
+ }
2116
+ }
2117
+ ],
2118
+ "requestBody": {
2119
+ "content": {
2120
+ "application/json": {
2121
+ "schema": {
2122
+ "$ref": "#/components/schemas/uploadPhotoRequest"
2123
+ }
2124
+ }
2125
+ },
2126
+ "required": true
2127
+ },
2128
+ "responses": {
2129
+ "200": {
2130
+ "description": "Payload of UploadPhotoResult",
2131
+ "content": {
2132
+ "application/json": {
2133
+ "schema": {
2134
+ "$ref": "#/components/schemas/uploadPhotoResult"
2135
+ }
2136
+ }
2137
+ },
2138
+ "x-ms-summary": "Success"
2139
+ },
2140
+ "401": {
2141
+ "description": "No description",
2142
+ "x-ms-summary": "Unauthorized"
2143
+ }
2144
+ },
2145
+ "security": [
2146
+ {
2147
+ "Implicit": [
2148
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
2149
+ ]
2150
+ },
2151
+ {
2152
+ "ApiKey": []
2153
+ }
2154
+ ]
2155
+ }
2156
+ },
2157
+ "/v1.0/protected/directory/users/by-upn/{upn}": {
2158
+ "get": {
2159
+ "tags": [
2160
+ "Directory"
2161
+ ],
2162
+ "summary": "Resolve a UPN to the directory user's object id",
2163
+ "description": "Returns userObjectId: null when no directory user exists for the UPN.",
2164
+ "operationId": "GetDirectoryUserByUpn",
2165
+ "parameters": [
2166
+ {
2167
+ "name": "upn",
2168
+ "in": "path",
2169
+ "required": true,
2170
+ "schema": {
2171
+ "type": "string"
2172
+ }
2173
+ }
2174
+ ],
2175
+ "responses": {
2176
+ "200": {
2177
+ "description": "Payload of DirectoryUserRef",
2178
+ "content": {
2179
+ "application/json": {
2180
+ "schema": {
2181
+ "$ref": "#/components/schemas/directoryUserRef"
2182
+ }
2183
+ }
2184
+ },
2185
+ "x-ms-summary": "Success"
2186
+ },
2187
+ "401": {
2188
+ "description": "No description",
2189
+ "x-ms-summary": "Unauthorized"
2190
+ }
2191
+ },
2192
+ "security": [
2193
+ {
2194
+ "Implicit": [
2195
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
2196
+ ]
2197
+ },
2198
+ {
2199
+ "ApiKey": []
2200
+ }
2201
+ ]
2202
+ }
2203
+ },
2204
+ "/v1.0/protected/directory/users/{upn}/disable": {
2205
+ "post": {
2206
+ "tags": [
2207
+ "Directory"
2208
+ ],
2209
+ "summary": "Disable the directory user (offboarding)",
2210
+ "operationId": "DisableDirectoryUser",
2211
+ "parameters": [
2212
+ {
2213
+ "name": "upn",
2214
+ "in": "path",
2215
+ "required": true,
2216
+ "schema": {
2217
+ "type": "string"
2218
+ }
2219
+ }
2220
+ ],
2221
+ "responses": {
2222
+ "200": {
2223
+ "description": "Payload of DisableUserResult",
2224
+ "content": {
2225
+ "application/json": {
2226
+ "schema": {
2227
+ "$ref": "#/components/schemas/disableUserResult"
2228
+ }
2229
+ }
2230
+ },
2231
+ "x-ms-summary": "Success"
2232
+ },
2233
+ "401": {
2234
+ "description": "No description",
2235
+ "x-ms-summary": "Unauthorized"
2236
+ }
2237
+ },
2238
+ "security": [
2239
+ {
2240
+ "Implicit": [
2241
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
2242
+ ]
2243
+ },
2244
+ {
2245
+ "ApiKey": []
2246
+ }
2247
+ ]
2248
+ }
2249
+ },
2250
+ "/v1.0/protected/directory/users/{upn}": {
2251
+ "delete": {
2252
+ "tags": [
2253
+ "Directory"
2254
+ ],
2255
+ "summary": "Delete the directory user (recoverable in Entra for 30 days)",
2256
+ "operationId": "DeleteDirectoryUser",
2257
+ "parameters": [
2258
+ {
2259
+ "name": "upn",
2260
+ "in": "path",
2261
+ "required": true,
2262
+ "schema": {
2263
+ "type": "string"
2264
+ }
2265
+ }
2266
+ ],
2267
+ "responses": {
2268
+ "200": {
2269
+ "description": "Payload of DisableUserResult",
2270
+ "content": {
2271
+ "application/json": {
2272
+ "schema": {
2273
+ "$ref": "#/components/schemas/disableUserResult"
2274
+ }
2275
+ }
2276
+ },
2277
+ "x-ms-summary": "Success"
2278
+ },
2279
+ "401": {
2280
+ "description": "No description",
2281
+ "x-ms-summary": "Unauthorized"
2282
+ }
2283
+ },
2284
+ "security": [
2285
+ {
2286
+ "Implicit": [
2287
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
2288
+ ]
2289
+ },
2290
+ {
2291
+ "ApiKey": []
2292
+ }
2293
+ ]
2294
+ }
2295
+ }
2296
+ },
2297
+ "components": {
2298
+ "schemas": {
2299
+ "addCvToProposalRequest": {
2300
+ "type": "object",
2301
+ "properties": {
2302
+ "user_id": {
2303
+ "type": "string",
2304
+ "nullable": true
2305
+ },
2306
+ "cv_id": {
2307
+ "type": "string",
2308
+ "nullable": true
2309
+ }
2310
+ }
2311
+ },
2312
+ "appRoleAssignmentRequest": {
2313
+ "type": "object",
2314
+ "properties": {
2315
+ "servicePrincipalObjectId": {
2316
+ "type": "string"
2317
+ },
2318
+ "appRoleId": {
2319
+ "type": "string"
2320
+ }
2321
+ }
943
2322
  },
944
2323
  "commissionTierReference": {
945
2324
  "type": "object",
946
2325
  "properties": {
947
2326
  "sanityType": {
948
2327
  "enum": [
949
- 1
2328
+ "reference"
950
2329
  ],
951
- "type": "integer",
952
- "format": "int32",
953
- "default": 1
2330
+ "type": "string",
2331
+ "default": "reference"
954
2332
  },
955
2333
  "sanityRef": {
956
2334
  "type": "string"
957
2335
  },
958
- "sanityWeakOption": {
959
- "$ref": "#/components/schemas/option_nullable`1"
960
- },
961
2336
  "sanityWeak": {
962
- "type": "boolean",
963
- "nullable": true
2337
+ "type": "boolean"
964
2338
  }
965
2339
  }
966
2340
  },
@@ -969,17 +2343,10 @@
969
2343
  "properties": {
970
2344
  "sanityType": {
971
2345
  "enum": [
972
- 1
2346
+ "span"
973
2347
  ],
974
- "type": "integer",
975
- "format": "int32",
976
- "default": 1
977
- },
978
- "sanityKey": {
979
- "type": "string"
980
- },
981
- "marksOption": {
982
- "$ref": "#/components/schemas/option_list`1"
2348
+ "type": "string",
2349
+ "default": "span"
983
2350
  },
984
2351
  "marks": {
985
2352
  "type": "array",
@@ -987,8 +2354,8 @@
987
2354
  "type": "string"
988
2355
  }
989
2356
  },
990
- "textOption": {
991
- "$ref": "#/components/schemas/option_string"
2357
+ "sanityKey": {
2358
+ "type": "string"
992
2359
  },
993
2360
  "text": {
994
2361
  "type": "string"
@@ -1000,93 +2367,30 @@
1000
2367
  "properties": {
1001
2368
  "sanityType": {
1002
2369
  "enum": [
1003
- 1
2370
+ "link"
1004
2371
  ],
1005
- "type": "integer",
1006
- "format": "int32",
1007
- "default": 1
1008
- },
1009
- "sanityKey": {
1010
- "type": "string"
1011
- },
1012
- "hrefOption": {
1013
- "$ref": "#/components/schemas/option_string"
2372
+ "type": "string",
2373
+ "default": "link"
1014
2374
  },
1015
2375
  "href": {
1016
2376
  "type": "string"
1017
- }
1018
- }
1019
- },
1020
- "componentGalleryMediaInner": {
1021
- "type": "object",
1022
- "properties": {
1023
- "componentGalleryMediaInnerOneOf": {
1024
- "$ref": "#/components/schemas/componentGalleryMediaInnerOneOf"
1025
- },
1026
- "componentGalleryMediaInnerOneOf1": {
1027
- "$ref": "#/components/schemas/componentGalleryMediaInnerOneOf1"
1028
- }
1029
- }
1030
- },
1031
- "componentGalleryMediaInnerOneOf": {
1032
- "type": "object",
1033
- "properties": {
1034
- "sanityType": {
1035
- "enum": [
1036
- 1
1037
- ],
1038
- "type": "integer",
1039
- "format": "int32",
1040
- "default": 1
1041
2377
  },
1042
2378
  "sanityKey": {
1043
2379
  "type": "string"
1044
- },
1045
- "assetOption": {
1046
- "$ref": "#/components/schemas/option_sanityImageAssetReference"
1047
- },
1048
- "asset": {
1049
- "$ref": "#/components/schemas/sanityImageAssetReference"
1050
- },
1051
- "cropOption": {
1052
- "$ref": "#/components/schemas/option_sanityImageCrop"
1053
- },
1054
- "crop": {
1055
- "$ref": "#/components/schemas/sanityImageCrop"
1056
- },
1057
- "hotspotOption": {
1058
- "$ref": "#/components/schemas/option_sanityImageHotspot"
1059
- },
1060
- "hotspot": {
1061
- "$ref": "#/components/schemas/sanityImageHotspot"
1062
- },
1063
- "mediaOption": {
1064
- "$ref": "#/components/schemas/option_object"
1065
- },
1066
- "media": {
1067
- "type": "object"
1068
2380
  }
1069
2381
  }
1070
2382
  },
1071
- "componentGalleryMediaInnerOneOf1": {
2383
+ "componentGalleryMediaInner": {
1072
2384
  "type": "object",
1073
2385
  "properties": {
1074
- "sanityType": {
1075
- "enum": [
1076
- 1
1077
- ],
1078
- "type": "integer",
1079
- "format": "int32",
1080
- "default": 1
1081
- },
1082
- "sanityKey": {
1083
- "type": "string"
2386
+ "actualInstance": {
2387
+ "type": "object"
1084
2388
  },
1085
- "assetOption": {
1086
- "$ref": "#/components/schemas/option_muxVideoAssetReference"
2389
+ "isNullable": {
2390
+ "type": "boolean"
1087
2391
  },
1088
- "asset": {
1089
- "$ref": "#/components/schemas/muxVideoAssetReference"
2392
+ "schemaType": {
2393
+ "type": "string"
1090
2394
  }
1091
2395
  }
1092
2396
  },
@@ -1240,6 +2544,38 @@
1240
2544
  }
1241
2545
  }
1242
2546
  },
2547
+ "consultantPresentation": {
2548
+ "type": "object",
2549
+ "properties": {
2550
+ "id": {
2551
+ "type": "string",
2552
+ "nullable": true
2553
+ },
2554
+ "title": {
2555
+ "type": "string",
2556
+ "nullable": true
2557
+ },
2558
+ "description": {
2559
+ "type": "string",
2560
+ "nullable": true
2561
+ },
2562
+ "longDescription": {
2563
+ "type": "string",
2564
+ "nullable": true
2565
+ },
2566
+ "year": {
2567
+ "type": "string",
2568
+ "nullable": true
2569
+ },
2570
+ "month": {
2571
+ "type": "string",
2572
+ "nullable": true
2573
+ },
2574
+ "speaker": {
2575
+ "$ref": "#/components/schemas/presentationSpeaker"
2576
+ }
2577
+ }
2578
+ },
1243
2579
  "consultantProjectExperience": {
1244
2580
  "type": "object",
1245
2581
  "properties": {
@@ -1269,107 +2605,265 @@
1269
2605
  "format": "int32",
1270
2606
  "nullable": true
1271
2607
  },
1272
- "yearTo": {
1273
- "type": "integer",
1274
- "format": "int32",
1275
- "nullable": true
2608
+ "yearTo": {
2609
+ "type": "integer",
2610
+ "format": "int32",
2611
+ "nullable": true
2612
+ },
2613
+ "monthTo": {
2614
+ "type": "integer",
2615
+ "format": "int32",
2616
+ "nullable": true
2617
+ },
2618
+ "roleTitle": {
2619
+ "type": "string",
2620
+ "nullable": true
2621
+ },
2622
+ "roleDescription": {
2623
+ "type": "string",
2624
+ "nullable": true
2625
+ },
2626
+ "technologies": {
2627
+ "type": "array",
2628
+ "items": {
2629
+ "type": "string"
2630
+ },
2631
+ "nullable": true
2632
+ }
2633
+ }
2634
+ },
2635
+ "consultantWorkExperience": {
2636
+ "type": "object",
2637
+ "properties": {
2638
+ "employer": {
2639
+ "type": "string",
2640
+ "nullable": true
2641
+ },
2642
+ "title": {
2643
+ "type": "string",
2644
+ "nullable": true
2645
+ },
2646
+ "description": {
2647
+ "type": "string",
2648
+ "nullable": true
2649
+ },
2650
+ "yearFrom": {
2651
+ "type": "integer",
2652
+ "format": "int32",
2653
+ "nullable": true
2654
+ },
2655
+ "monthFrom": {
2656
+ "type": "integer",
2657
+ "format": "int32",
2658
+ "nullable": true
2659
+ },
2660
+ "yearTo": {
2661
+ "type": "integer",
2662
+ "format": "int32",
2663
+ "nullable": true
2664
+ },
2665
+ "monthTo": {
2666
+ "type": "integer",
2667
+ "format": "int32",
2668
+ "nullable": true
2669
+ }
2670
+ }
2671
+ },
2672
+ "createProposalRequest": {
2673
+ "type": "object",
2674
+ "properties": {
2675
+ "name": {
2676
+ "type": "string",
2677
+ "nullable": true
2678
+ },
2679
+ "owner_id": {
2680
+ "type": "string",
2681
+ "nullable": true
2682
+ },
2683
+ "status": {
2684
+ "type": "string",
2685
+ "nullable": true
2686
+ }
2687
+ }
2688
+ },
2689
+ "createUserInput": {
2690
+ "type": "object",
2691
+ "properties": {
2692
+ "userPrincipalName": {
2693
+ "type": "string"
2694
+ },
2695
+ "displayName": {
2696
+ "type": "string"
2697
+ },
2698
+ "givenName": {
2699
+ "type": "string"
2700
+ },
2701
+ "surname": {
2702
+ "type": "string"
2703
+ },
2704
+ "jobTitle": {
2705
+ "type": "string"
2706
+ },
2707
+ "mobilePhone": {
2708
+ "type": "string"
2709
+ },
2710
+ "streetAddress": {
2711
+ "type": "string"
2712
+ },
2713
+ "city": {
2714
+ "type": "string"
2715
+ },
2716
+ "postalCode": {
2717
+ "type": "string"
2718
+ },
2719
+ "country": {
2720
+ "type": "string"
2721
+ },
2722
+ "sanityId": {
2723
+ "type": "string"
2724
+ }
2725
+ }
2726
+ },
2727
+ "createUserResult": {
2728
+ "type": "object",
2729
+ "properties": {
2730
+ "alreadyExisted": {
2731
+ "type": "boolean"
2732
+ },
2733
+ "userObjectId": {
2734
+ "type": "string"
2735
+ },
2736
+ "userPrincipalName": {
2737
+ "type": "string"
2738
+ },
2739
+ "temporaryPassword": {
2740
+ "type": "string"
2741
+ }
2742
+ }
2743
+ },
2744
+ "directoryOperationResult": {
2745
+ "type": "object",
2746
+ "properties": {
2747
+ "changed": {
2748
+ "type": "boolean"
2749
+ }
2750
+ }
2751
+ },
2752
+ "directoryUserRef": {
2753
+ "type": "object",
2754
+ "properties": {
2755
+ "userObjectId": {
2756
+ "type": "string"
2757
+ }
2758
+ }
2759
+ },
2760
+ "disableUserResult": {
2761
+ "type": "object",
2762
+ "properties": {
2763
+ "found": {
2764
+ "type": "boolean"
2765
+ },
2766
+ "wasAlreadyDisabled": {
2767
+ "type": "boolean"
1276
2768
  },
1277
- "monthTo": {
1278
- "type": "integer",
1279
- "format": "int32",
1280
- "nullable": true
2769
+ "userObjectId": {
2770
+ "type": "string"
1281
2771
  },
1282
- "roleTitle": {
2772
+ "userPrincipalName": {
2773
+ "type": "string"
2774
+ }
2775
+ }
2776
+ },
2777
+ "employeeReference": {
2778
+ "type": "object",
2779
+ "properties": {
2780
+ "sanityType": {
2781
+ "enum": [
2782
+ "reference"
2783
+ ],
1283
2784
  "type": "string",
1284
- "nullable": true
2785
+ "default": "reference"
1285
2786
  },
1286
- "roleDescription": {
1287
- "type": "string",
1288
- "nullable": true
2787
+ "sanityRef": {
2788
+ "type": "string"
1289
2789
  },
1290
- "technologies": {
1291
- "type": "array",
1292
- "items": {
1293
- "type": "string"
1294
- },
1295
- "nullable": true
2790
+ "sanityWeak": {
2791
+ "type": "boolean"
1296
2792
  }
1297
2793
  }
1298
2794
  },
1299
- "consultantWorkExperience": {
2795
+ "employeeSystemAccess": {
1300
2796
  "type": "object",
1301
2797
  "properties": {
1302
- "employer": {
1303
- "type": "string",
1304
- "nullable": true
2798
+ "key": {
2799
+ "type": "string"
1305
2800
  },
1306
- "title": {
1307
- "type": "string",
1308
- "nullable": true
2801
+ "label": {
2802
+ "type": "string"
1309
2803
  },
1310
- "description": {
1311
- "type": "string",
1312
- "nullable": true
2804
+ "assigned": {
2805
+ "type": "boolean"
1313
2806
  },
1314
- "yearFrom": {
1315
- "type": "integer",
1316
- "format": "int32",
1317
- "nullable": true
2807
+ "kind": {
2808
+ "type": "string"
1318
2809
  },
1319
- "monthFrom": {
1320
- "type": "integer",
1321
- "format": "int32",
1322
- "nullable": true
2810
+ "notImplemented": {
2811
+ "type": "boolean"
1323
2812
  },
1324
- "yearTo": {
1325
- "type": "integer",
1326
- "format": "int32",
1327
- "nullable": true
2813
+ "assignedRoleId": {
2814
+ "type": "string"
1328
2815
  },
1329
- "monthTo": {
1330
- "type": "integer",
1331
- "format": "int32",
1332
- "nullable": true
2816
+ "availableRoles": {
2817
+ "type": "array",
2818
+ "items": {
2819
+ "$ref": "#/components/schemas/systemRoleOption"
2820
+ }
2821
+ },
2822
+ "manageable": {
2823
+ "type": "boolean"
2824
+ },
2825
+ "inheritedVia": {
2826
+ "type": "string"
2827
+ },
2828
+ "provisioningStatus": {
2829
+ "type": "string"
2830
+ },
2831
+ "provisioningError": {
2832
+ "type": "string"
1333
2833
  }
1334
2834
  }
1335
2835
  },
1336
- "createProposalRequest": {
2836
+ "employeeSystemAccessRow": {
1337
2837
  "type": "object",
1338
2838
  "properties": {
1339
- "name": {
1340
- "type": "string",
1341
- "nullable": true
1342
- },
1343
- "owner_id": {
1344
- "type": "string",
1345
- "nullable": true
2839
+ "upn": {
2840
+ "type": "string"
1346
2841
  },
1347
- "status": {
1348
- "type": "string",
1349
- "nullable": true
2842
+ "systems": {
2843
+ "type": "array",
2844
+ "items": {
2845
+ "$ref": "#/components/schemas/employeeSystemAccess"
2846
+ }
1350
2847
  }
1351
2848
  }
1352
2849
  },
1353
- "employeeReference": {
2850
+ "employeeSystemConfig": {
1354
2851
  "type": "object",
1355
2852
  "properties": {
1356
- "sanityType": {
1357
- "enum": [
1358
- 1
1359
- ],
1360
- "type": "integer",
1361
- "format": "int32",
1362
- "default": 1
2853
+ "key": {
2854
+ "type": "string"
1363
2855
  },
1364
- "sanityRef": {
2856
+ "label": {
1365
2857
  "type": "string"
1366
2858
  },
1367
- "sanityWeakOption": {
1368
- "$ref": "#/components/schemas/option_nullable`1"
2859
+ "kind": {
2860
+ "type": "string"
1369
2861
  },
1370
- "sanityWeak": {
1371
- "type": "boolean",
1372
- "nullable": true
2862
+ "servicePrincipalId": {
2863
+ "type": "string"
2864
+ },
2865
+ "defaultRoleId": {
2866
+ "type": "string"
1373
2867
  }
1374
2868
  }
1375
2869
  },
@@ -1476,11 +2970,10 @@
1476
2970
  "properties": {
1477
2971
  "sanityType": {
1478
2972
  "enum": [
1479
- 1
2973
+ "gadget"
1480
2974
  ],
1481
- "type": "integer",
1482
- "format": "int32",
1483
- "default": 1
2975
+ "type": "string",
2976
+ "default": "gadget"
1484
2977
  },
1485
2978
  "employee": {
1486
2979
  "$ref": "#/components/schemas/sanityOrderEmployee"
@@ -1510,229 +3003,67 @@
1510
3003
  "properties": {
1511
3004
  "sanityType": {
1512
3005
  "enum": [
1513
- 1
3006
+ "geopoint"
1514
3007
  ],
1515
- "type": "integer",
1516
- "format": "int32",
1517
- "default": 1
1518
- },
1519
- "altOption": {
1520
- "$ref": "#/components/schemas/option_nullable`1"
3008
+ "type": "string",
3009
+ "default": "geopoint"
1521
3010
  },
1522
3011
  "alt": {
1523
3012
  "type": "number",
1524
- "format": "double",
1525
- "nullable": true
1526
- },
1527
- "latOption": {
1528
- "$ref": "#/components/schemas/option_nullable`1"
3013
+ "format": "double"
1529
3014
  },
1530
3015
  "lat": {
1531
3016
  "type": "number",
1532
- "format": "double",
1533
- "nullable": true
1534
- },
1535
- "lngOption": {
1536
- "$ref": "#/components/schemas/option_nullable`1"
3017
+ "format": "double"
1537
3018
  },
1538
3019
  "lng": {
1539
3020
  "type": "number",
1540
- "format": "double",
1541
- "nullable": true
3021
+ "format": "double"
1542
3022
  }
1543
3023
  }
1544
3024
  },
1545
- "jsonElement": {
3025
+ "licenseAvailability": {
1546
3026
  "type": "object",
1547
3027
  "properties": {
1548
- "valueKind": {
1549
- "enum": [
1550
- 0,
1551
- 1,
1552
- 2,
1553
- 3,
1554
- 4,
1555
- 5,
1556
- 6,
1557
- 7
1558
- ],
1559
- "type": "integer",
1560
- "format": "int32",
1561
- "default": 0
3028
+ "skuId": {
3029
+ "type": "string"
1562
3030
  },
1563
- "item": {
1564
- "$ref": "#/components/schemas/jsonElement"
1565
- }
1566
- }
1567
- },
1568
- "muxVideoAssetReference": {
1569
- "type": "object",
1570
- "properties": {
1571
- "sanityType": {
1572
- "enum": [
1573
- 1
1574
- ],
3031
+ "skuPartNumber": {
3032
+ "type": "string"
3033
+ },
3034
+ "enabled": {
1575
3035
  "type": "integer",
1576
- "format": "int32",
1577
- "default": 1
3036
+ "format": "int32"
1578
3037
  },
1579
- "sanityRef": {
1580
- "type": "string"
3038
+ "consumed": {
3039
+ "type": "integer",
3040
+ "format": "int32"
1581
3041
  },
1582
- "sanityWeakOption": {
1583
- "$ref": "#/components/schemas/option_nullable`1"
3042
+ "available": {
3043
+ "type": "integer",
3044
+ "format": "int32"
1584
3045
  },
1585
- "sanityWeak": {
1586
- "type": "boolean",
1587
- "nullable": true
1588
- }
1589
- }
1590
- },
1591
- "option_commissionTierReference": {
1592
- "type": "object",
1593
- "properties": {
1594
- "value": {
1595
- "$ref": "#/components/schemas/commissionTierReference"
1596
- }
1597
- }
1598
- },
1599
- "option_employeeReference": {
1600
- "type": "object",
1601
- "properties": {
1602
- "value": {
1603
- "$ref": "#/components/schemas/employeeReference"
1604
- }
1605
- }
1606
- },
1607
- "option_geopoint": {
1608
- "type": "object",
1609
- "properties": {
1610
- "value": {
1611
- "$ref": "#/components/schemas/geopoint"
1612
- }
1613
- }
1614
- },
1615
- "option_list`1": {
1616
- "type": "object",
1617
- "properties": {
1618
- "value": {
1619
- "type": "array",
1620
- "items": {
1621
- "type": "string"
1622
- }
1623
- }
1624
- }
1625
- },
1626
- "option_muxVideoAssetReference": {
1627
- "type": "object",
1628
- "properties": {
1629
- "value": {
1630
- "$ref": "#/components/schemas/muxVideoAssetReference"
1631
- }
1632
- }
1633
- },
1634
- "option_nullable`1": {
1635
- "type": "object",
1636
- "properties": {
1637
- "value": {
1638
- "type": "boolean",
1639
- "nullable": true
1640
- }
1641
- }
1642
- },
1643
- "option_object": {
1644
- "type": "object",
1645
- "properties": {
1646
- "value": {
1647
- "type": "object"
1648
- }
1649
- }
1650
- },
1651
- "option_sanityAssetSourceData": {
1652
- "type": "object",
1653
- "properties": {
1654
- "value": {
1655
- "$ref": "#/components/schemas/sanityAssetSourceData"
1656
- }
1657
- }
1658
- },
1659
- "option_sanityImageAssetReference": {
1660
- "type": "object",
1661
- "properties": {
1662
- "value": {
1663
- "$ref": "#/components/schemas/sanityImageAssetReference"
1664
- }
1665
- }
1666
- },
1667
- "option_sanityImageCrop": {
1668
- "type": "object",
1669
- "properties": {
1670
- "value": {
1671
- "$ref": "#/components/schemas/sanityImageCrop"
1672
- }
1673
- }
1674
- },
1675
- "option_sanityImageDimensions": {
1676
- "type": "object",
1677
- "properties": {
1678
- "value": {
1679
- "$ref": "#/components/schemas/sanityImageDimensions"
1680
- }
1681
- }
1682
- },
1683
- "option_sanityImageHotspot": {
1684
- "type": "object",
1685
- "properties": {
1686
- "value": {
1687
- "$ref": "#/components/schemas/sanityImageHotspot"
1688
- }
1689
- }
1690
- },
1691
- "option_sanityImageMetadata": {
1692
- "type": "object",
1693
- "properties": {
1694
- "value": {
1695
- "$ref": "#/components/schemas/sanityImageMetadata"
1696
- }
1697
- }
1698
- },
1699
- "option_sanityImagePalette": {
1700
- "type": "object",
1701
- "properties": {
1702
- "value": {
1703
- "$ref": "#/components/schemas/sanityImagePalette"
1704
- }
1705
- }
1706
- },
1707
- "option_sanityImagePaletteSwatch": {
1708
- "type": "object",
1709
- "properties": {
1710
- "value": {
1711
- "$ref": "#/components/schemas/sanityImagePaletteSwatch"
1712
- }
1713
- }
1714
- },
1715
- "option_sanityPatchPageMetaImage": {
1716
- "type": "object",
1717
- "properties": {
1718
- "value": {
1719
- "$ref": "#/components/schemas/sanityPatchPageMetaImage"
3046
+ "isConfigured": {
3047
+ "type": "boolean"
1720
3048
  }
1721
3049
  }
1722
3050
  },
1723
- "option_slug": {
3051
+ "licenseSkuRef": {
1724
3052
  "type": "object",
1725
3053
  "properties": {
1726
- "value": {
1727
- "$ref": "#/components/schemas/slug"
3054
+ "skuId": {
3055
+ "type": "string"
1728
3056
  }
1729
3057
  }
1730
3058
  },
1731
- "option_string": {
3059
+ "listEmployeeSystemAccessBatchRequest": {
1732
3060
  "type": "object",
1733
3061
  "properties": {
1734
- "value": {
1735
- "type": "string"
3062
+ "upns": {
3063
+ "type": "array",
3064
+ "items": {
3065
+ "type": "string"
3066
+ }
1736
3067
  }
1737
3068
  }
1738
3069
  },
@@ -1741,11 +3072,10 @@
1741
3072
  "properties": {
1742
3073
  "sanityType": {
1743
3074
  "enum": [
1744
- 1
3075
+ "reference"
1745
3076
  ],
1746
- "type": "integer",
1747
- "format": "int32",
1748
- "default": 1
3077
+ "type": "string",
3078
+ "default": "reference"
1749
3079
  },
1750
3080
  "sanityKey": {
1751
3081
  "type": "string"
@@ -1753,12 +3083,8 @@
1753
3083
  "sanityRef": {
1754
3084
  "type": "string"
1755
3085
  },
1756
- "sanityWeakOption": {
1757
- "$ref": "#/components/schemas/option_nullable`1"
1758
- },
1759
3086
  "sanityWeak": {
1760
- "type": "boolean",
1761
- "nullable": true
3087
+ "type": "boolean"
1762
3088
  }
1763
3089
  }
1764
3090
  },
@@ -1767,11 +3093,10 @@
1767
3093
  "properties": {
1768
3094
  "sanityType": {
1769
3095
  "enum": [
1770
- 1
3096
+ "reference"
1771
3097
  ],
1772
- "type": "integer",
1773
- "format": "int32",
1774
- "default": 1
3098
+ "type": "string",
3099
+ "default": "reference"
1775
3100
  },
1776
3101
  "sanityKey": {
1777
3102
  "type": "string"
@@ -1779,293 +3104,263 @@
1779
3104
  "sanityRef": {
1780
3105
  "type": "string"
1781
3106
  },
1782
- "sanityWeakOption": {
1783
- "$ref": "#/components/schemas/option_nullable`1"
1784
- },
1785
3107
  "sanityWeak": {
1786
- "type": "boolean",
1787
- "nullable": true
3108
+ "type": "boolean"
1788
3109
  }
1789
3110
  }
1790
3111
  },
1791
3112
  "patchEmployee": {
1792
3113
  "type": "object",
1793
3114
  "properties": {
1794
- "genderOption": {
1795
- "$ref": "#/components/schemas/option_nullable`1"
1796
- },
1797
3115
  "gender": {
1798
3116
  "enum": [
1799
- 1,
1800
- 2,
1801
- 3
3117
+ "male",
3118
+ "female",
3119
+ "These are not the genders you are looking for"
1802
3120
  ],
1803
- "type": "integer",
1804
- "format": "int32",
1805
- "default": 1,
3121
+ "type": "string",
3122
+ "default": "male",
1806
3123
  "nullable": true
1807
3124
  },
1808
- "maritalStatusOption": {
1809
- "$ref": "#/components/schemas/option_nullable`1"
1810
- },
1811
3125
  "maritalStatus": {
1812
3126
  "enum": [
1813
- 1,
1814
- 2,
1815
- 3
3127
+ "single",
3128
+ "married",
3129
+ "cohabitant"
1816
3130
  ],
1817
- "type": "integer",
1818
- "format": "int32",
1819
- "default": 1,
3131
+ "type": "string",
3132
+ "default": "single",
1820
3133
  "nullable": true
1821
3134
  },
1822
- "sanityTypeOption": {
1823
- "$ref": "#/components/schemas/option_nullable`1"
3135
+ "parentalLeaveCoverage": {
3136
+ "enum": [
3137
+ "80",
3138
+ "100"
3139
+ ],
3140
+ "type": "string",
3141
+ "default": "80",
3142
+ "nullable": true
1824
3143
  },
1825
3144
  "sanityType": {
1826
3145
  "enum": [
1827
- 1
3146
+ "employee"
1828
3147
  ],
1829
- "type": "integer",
1830
- "format": "int32",
1831
- "default": 1,
3148
+ "type": "string",
3149
+ "default": "employee",
1832
3150
  "nullable": true
1833
3151
  },
1834
- "aboutOption": {
1835
- "$ref": "#/components/schemas/option_string"
1836
- },
1837
3152
  "about": {
1838
3153
  "type": "string"
1839
3154
  },
1840
- "activeOption": {
1841
- "$ref": "#/components/schemas/option_nullable`1"
1842
- },
1843
3155
  "active": {
1844
3156
  "type": "boolean",
1845
3157
  "nullable": true
1846
3158
  },
1847
- "addressOption": {
1848
- "$ref": "#/components/schemas/option_string"
1849
- },
1850
3159
  "address": {
1851
3160
  "type": "string"
1852
3161
  },
1853
- "allergiesOption": {
1854
- "$ref": "#/components/schemas/option_list`1"
1855
- },
1856
3162
  "allergies": {
1857
3163
  "type": "array",
1858
3164
  "items": {
1859
3165
  "type": "string"
1860
3166
  }
1861
3167
  },
1862
- "birthDateOption": {
1863
- "$ref": "#/components/schemas/option_string"
1864
- },
1865
- "birthDate": {
3168
+ "birth_date": {
1866
3169
  "type": "string"
1867
3170
  },
1868
- "blurredImageOption": {
1869
- "$ref": "#/components/schemas/option_sanityPatchPageMetaImage"
1870
- },
1871
- "blurredImage": {
3171
+ "blurred_image": {
1872
3172
  "$ref": "#/components/schemas/sanityPatchPageMetaImage"
1873
3173
  },
1874
- "boardMemberOption": {
1875
- "$ref": "#/components/schemas/option_nullable`1"
1876
- },
1877
3174
  "boardMember": {
1878
3175
  "type": "boolean",
1879
3176
  "nullable": true
1880
3177
  },
1881
- "cliftonStrengthsOption": {
1882
- "$ref": "#/components/schemas/option_list`1"
1883
- },
1884
3178
  "cliftonStrengths": {
1885
3179
  "type": "array",
1886
3180
  "items": {
1887
3181
  "$ref": "#/components/schemas/sanityCreateEmployeeCliftonStrengthsInner"
1888
3182
  }
1889
3183
  },
1890
- "coinbaseAccountEmailOption": {
1891
- "$ref": "#/components/schemas/option_string"
1892
- },
1893
3184
  "coinbaseAccountEmail": {
1894
3185
  "type": "string"
1895
3186
  },
1896
- "commissionTierOption": {
1897
- "$ref": "#/components/schemas/option_commissionTierReference"
1898
- },
1899
3187
  "commissionTier": {
1900
3188
  "$ref": "#/components/schemas/commissionTierReference"
1901
3189
  },
1902
- "educationOption": {
1903
- "$ref": "#/components/schemas/option_string"
1904
- },
1905
3190
  "education": {
1906
3191
  "type": "string"
1907
3192
  },
1908
- "emailOption": {
1909
- "$ref": "#/components/schemas/option_string"
1910
- },
1911
3193
  "email": {
1912
3194
  "type": "string"
1913
3195
  },
1914
- "equipmentOption": {
1915
- "$ref": "#/components/schemas/option_list`1"
1916
- },
1917
3196
  "equipment": {
1918
3197
  "type": "array",
1919
3198
  "items": {
1920
3199
  "$ref": "#/components/schemas/pageEquipmentInner"
1921
3200
  }
1922
3201
  },
1923
- "graduationYearOption": {
1924
- "$ref": "#/components/schemas/option_nullable`1"
3202
+ "externalId": {
3203
+ "type": "string"
3204
+ },
3205
+ "github": {
3206
+ "type": "string"
1925
3207
  },
1926
3208
  "graduationYear": {
1927
3209
  "type": "number",
1928
3210
  "format": "double",
1929
3211
  "nullable": true
1930
3212
  },
1931
- "groupsOption": {
1932
- "$ref": "#/components/schemas/option_list`1"
1933
- },
1934
3213
  "groups": {
1935
3214
  "type": "array",
1936
3215
  "items": {
1937
3216
  "$ref": "#/components/schemas/sanityCreateEmployeeGroupsInner"
1938
3217
  }
1939
3218
  },
1940
- "imageOption": {
1941
- "$ref": "#/components/schemas/option_sanityPatchPageMetaImage"
1942
- },
1943
3219
  "image": {
1944
3220
  "$ref": "#/components/schemas/sanityPatchPageMetaImage"
1945
3221
  },
1946
- "innovativeSalaryOption": {
1947
- "$ref": "#/components/schemas/option_nullable`1"
1948
- },
1949
3222
  "innovativeSalary": {
1950
3223
  "type": "boolean",
1951
3224
  "nullable": true
1952
3225
  },
1953
- "innovativeSalaryPercentageOption": {
1954
- "$ref": "#/components/schemas/option_nullable`1"
1955
- },
1956
3226
  "innovativeSalaryPercentage": {
1957
3227
  "type": "number",
1958
3228
  "format": "double",
1959
3229
  "nullable": true
1960
3230
  },
1961
- "isBotOption": {
1962
- "$ref": "#/components/schemas/option_nullable`1"
1963
- },
1964
3231
  "isBot": {
1965
3232
  "type": "boolean",
1966
3233
  "nullable": true
1967
3234
  },
1968
- "isSeekingProjectOption": {
1969
- "$ref": "#/components/schemas/option_nullable`1"
3235
+ "isExternal": {
3236
+ "type": "boolean",
3237
+ "nullable": true
3238
+ },
3239
+ "isPublic": {
3240
+ "type": "boolean",
3241
+ "nullable": true
1970
3242
  },
1971
3243
  "isSeekingProject": {
1972
3244
  "type": "boolean",
1973
3245
  "nullable": true
1974
3246
  },
1975
- "managerOption": {
1976
- "$ref": "#/components/schemas/option_employeeReference"
3247
+ "linkedin": {
3248
+ "type": "string"
1977
3249
  },
1978
3250
  "manager": {
1979
3251
  "$ref": "#/components/schemas/employeeReference"
1980
3252
  },
1981
- "mediaOption": {
1982
- "$ref": "#/components/schemas/option_list`1"
1983
- },
1984
3253
  "media": {
1985
3254
  "type": "array",
1986
3255
  "items": {
1987
3256
  "$ref": "#/components/schemas/componentGalleryMediaInner"
1988
3257
  }
1989
3258
  },
1990
- "nameOption": {
1991
- "$ref": "#/components/schemas/option_string"
1992
- },
1993
3259
  "name": {
1994
3260
  "type": "string"
1995
3261
  },
1996
- "nextOfKinOption": {
1997
- "$ref": "#/components/schemas/option_list`1"
1998
- },
1999
3262
  "nextOfKin": {
2000
3263
  "type": "array",
2001
3264
  "items": {
2002
3265
  "$ref": "#/components/schemas/sanityEmployeeNextOfKinInner"
2003
3266
  }
2004
3267
  },
2005
- "nrOfChildrenOption": {
2006
- "$ref": "#/components/schemas/option_nullable`1"
2007
- },
2008
3268
  "nrOfChildren": {
2009
3269
  "type": "number",
2010
3270
  "format": "double",
2011
3271
  "nullable": true
2012
3272
  },
2013
- "personalProjectRequirementsOption": {
2014
- "$ref": "#/components/schemas/option_string"
3273
+ "parentalLeaveStartDate": {
3274
+ "type": "string"
2015
3275
  },
2016
3276
  "personalProjectRequirements": {
2017
3277
  "type": "string"
2018
3278
  },
2019
- "positionOption": {
2020
- "$ref": "#/components/schemas/option_string"
2021
- },
2022
3279
  "position": {
2023
3280
  "type": "string"
2024
3281
  },
2025
- "slugOption": {
2026
- "$ref": "#/components/schemas/option_slug"
3282
+ "salaryConfig": {
3283
+ "$ref": "#/components/schemas/pickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSalaryConfig"
3284
+ },
3285
+ "settings": {
3286
+ "$ref": "#/components/schemas/pickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSettings"
2027
3287
  },
2028
3288
  "slug": {
2029
3289
  "$ref": "#/components/schemas/slug"
2030
3290
  },
2031
- "startDateOption": {
2032
- "$ref": "#/components/schemas/option_string"
2033
- },
2034
- "startDate": {
3291
+ "start_date": {
2035
3292
  "type": "string"
2036
3293
  },
2037
- "tagsOption": {
2038
- "$ref": "#/components/schemas/option_list`1"
2039
- },
2040
3294
  "tags": {
2041
3295
  "type": "array",
2042
3296
  "items": {
2043
3297
  "$ref": "#/components/schemas/sanityCreateEmployeeTagsInner"
2044
3298
  }
2045
3299
  },
2046
- "technologiesOption": {
2047
- "$ref": "#/components/schemas/option_list`1"
2048
- },
2049
3300
  "technologies": {
2050
3301
  "type": "array",
2051
3302
  "items": {
2052
3303
  "$ref": "#/components/schemas/sanityCreateEmployeeTechnologiesInner"
2053
3304
  }
2054
3305
  },
2055
- "telephoneOption": {
2056
- "$ref": "#/components/schemas/option_string"
2057
- },
2058
3306
  "telephone": {
2059
3307
  "type": "string"
2060
3308
  },
2061
3309
  "additionalProperties": {
2062
3310
  "type": "object",
2063
3311
  "additionalProperties": {
2064
- "$ref": "#/components/schemas/jsonElement"
3312
+ "type": "object"
2065
3313
  }
2066
3314
  }
2067
3315
  }
2068
3316
  },
3317
+ "pickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSalaryConfig": {
3318
+ "type": "object",
3319
+ "properties": {
3320
+ "model": {
3321
+ "enum": [
3322
+ "snokam.ceo",
3323
+ "snokam.employee"
3324
+ ],
3325
+ "type": "string",
3326
+ "default": "snokam.ceo",
3327
+ "nullable": true
3328
+ }
3329
+ }
3330
+ },
3331
+ "pickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSettings": {
3332
+ "type": "object",
3333
+ "properties": {
3334
+ "colorScheme": {
3335
+ "enum": [
3336
+ "dark",
3337
+ "light",
3338
+ "system"
3339
+ ],
3340
+ "type": "string",
3341
+ "default": "dark",
3342
+ "nullable": true
3343
+ }
3344
+ }
3345
+ },
3346
+ "presentationSpeaker": {
3347
+ "type": "object",
3348
+ "properties": {
3349
+ "name": {
3350
+ "type": "string",
3351
+ "nullable": true
3352
+ },
3353
+ "email": {
3354
+ "type": "string",
3355
+ "nullable": true
3356
+ },
3357
+ "flowcaseUserId": {
3358
+ "type": "string",
3359
+ "nullable": true
3360
+ }
3361
+ },
3362
+ "nullable": true
3363
+ },
2069
3364
  "protectedEmployee": {
2070
3365
  "type": "object",
2071
3366
  "properties": {
@@ -2075,133 +3370,96 @@
2075
3370
  },
2076
3371
  "gender": {
2077
3372
  "enum": [
2078
- 1,
2079
- 2,
2080
- 3
3373
+ "female",
3374
+ "male",
3375
+ "These are not the genders you are looking for"
2081
3376
  ],
2082
- "type": "integer",
2083
- "format": "int32",
2084
- "default": 1
3377
+ "type": "string",
3378
+ "default": "female"
2085
3379
  },
2086
- "sanityType": {
3380
+ "maritalStatus": {
2087
3381
  "enum": [
2088
- 1
3382
+ "cohabitant",
3383
+ "married",
3384
+ "single"
2089
3385
  ],
2090
- "type": "integer",
2091
- "format": "int32",
2092
- "default": 1
2093
- },
2094
- "maritalStatusOption": {
2095
- "$ref": "#/components/schemas/option_nullable`1"
3386
+ "type": "string",
3387
+ "default": "cohabitant",
3388
+ "nullable": true
2096
3389
  },
2097
- "maritalStatus": {
3390
+ "parentalLeaveCoverage": {
2098
3391
  "enum": [
2099
- 1,
2100
- 2,
2101
- 3
3392
+ "80",
3393
+ "100"
2102
3394
  ],
2103
- "type": "integer",
2104
- "format": "int32",
2105
- "default": 1,
3395
+ "type": "string",
3396
+ "default": "80",
2106
3397
  "nullable": true
2107
3398
  },
2108
- "active": {
2109
- "type": "boolean"
2110
- },
2111
- "birthDate": {
2112
- "type": "string"
2113
- },
2114
- "blurredImage": {
2115
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2116
- },
2117
- "boardMember": {
2118
- "type": "boolean"
2119
- },
2120
- "email": {
2121
- "type": "string"
2122
- },
2123
- "image": {
2124
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2125
- },
2126
- "name": {
2127
- "type": "string"
2128
- },
2129
- "sanityCreatedAt": {
2130
- "type": "string"
2131
- },
2132
- "sanityId": {
2133
- "type": "string"
2134
- },
2135
- "sanityRev": {
2136
- "type": "string"
2137
- },
2138
- "sanityUpdatedAt": {
2139
- "type": "string"
2140
- },
2141
- "slug": {
2142
- "$ref": "#/components/schemas/slug"
2143
- },
2144
- "startDate": {
2145
- "type": "string"
2146
- },
2147
- "telephone": {
2148
- "type": "string"
2149
- },
2150
- "aboutOption": {
2151
- "$ref": "#/components/schemas/option_string"
3399
+ "sanityType": {
3400
+ "enum": [
3401
+ "employee"
3402
+ ],
3403
+ "type": "string",
3404
+ "default": "employee"
2152
3405
  },
2153
3406
  "about": {
2154
3407
  "type": "string"
2155
3408
  },
2156
- "addressOption": {
2157
- "$ref": "#/components/schemas/option_string"
3409
+ "active": {
3410
+ "type": "boolean"
2158
3411
  },
2159
3412
  "address": {
2160
3413
  "type": "string"
2161
3414
  },
2162
- "allergiesOption": {
2163
- "$ref": "#/components/schemas/option_list`1"
2164
- },
2165
3415
  "allergies": {
2166
3416
  "type": "array",
2167
3417
  "items": {
2168
3418
  "type": "string"
2169
3419
  }
2170
3420
  },
3421
+ "birth_date": {
3422
+ "type": "string"
3423
+ },
3424
+ "blurred_image": {
3425
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
3426
+ },
3427
+ "boardMember": {
3428
+ "type": "boolean"
3429
+ },
2171
3430
  "cliftonStrengths": {
2172
3431
  "type": "array",
2173
3432
  "items": {
2174
3433
  "$ref": "#/components/schemas/sanityEmployeeCliftonStrengthsInner"
2175
3434
  }
2176
3435
  },
2177
- "coinbaseAccountEmailOption": {
2178
- "$ref": "#/components/schemas/option_string"
2179
- },
2180
3436
  "coinbaseAccountEmail": {
2181
3437
  "type": "string"
2182
3438
  },
2183
3439
  "commissionTier": {
2184
3440
  "$ref": "#/components/schemas/sanityEmployeeCommissionTier"
2185
3441
  },
2186
- "educationOption": {
2187
- "$ref": "#/components/schemas/option_string"
2188
- },
2189
3442
  "education": {
2190
3443
  "type": "string"
2191
3444
  },
3445
+ "email": {
3446
+ "type": "string"
3447
+ },
2192
3448
  "equipment": {
2193
3449
  "type": "array",
2194
3450
  "items": {
2195
3451
  "$ref": "#/components/schemas/sanityEmployeeEquipmentInner"
2196
3452
  }
2197
3453
  },
2198
- "graduationYearOption": {
2199
- "$ref": "#/components/schemas/option_nullable`1"
3454
+ "externalId": {
3455
+ "type": "string"
3456
+ },
3457
+ "github": {
3458
+ "type": "string"
2200
3459
  },
2201
3460
  "graduationYear": {
2202
3461
  "type": "number",
2203
- "format": "double",
2204
- "nullable": true
3462
+ "format": "double"
2205
3463
  },
2206
3464
  "groups": {
2207
3465
  "type": "array",
@@ -2209,34 +3467,30 @@
2209
3467
  "$ref": "#/components/schemas/sanityEmployeeGroupsInner"
2210
3468
  }
2211
3469
  },
2212
- "innovativeSalaryOption": {
2213
- "$ref": "#/components/schemas/option_nullable`1"
3470
+ "image": {
3471
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
2214
3472
  },
2215
3473
  "innovativeSalary": {
2216
- "type": "boolean",
2217
- "nullable": true
2218
- },
2219
- "innovativeSalaryPercentageOption": {
2220
- "$ref": "#/components/schemas/option_nullable`1"
3474
+ "type": "boolean"
2221
3475
  },
2222
3476
  "innovativeSalaryPercentage": {
2223
3477
  "type": "number",
2224
- "format": "double",
2225
- "nullable": true
2226
- },
2227
- "isBotOption": {
2228
- "$ref": "#/components/schemas/option_nullable`1"
3478
+ "format": "double"
2229
3479
  },
2230
3480
  "isBot": {
2231
- "type": "boolean",
2232
- "nullable": true
3481
+ "type": "boolean"
3482
+ },
3483
+ "isExternal": {
3484
+ "type": "boolean"
2233
3485
  },
2234
- "isSeekingProjectOption": {
2235
- "$ref": "#/components/schemas/option_nullable`1"
3486
+ "isPublic": {
3487
+ "type": "boolean"
2236
3488
  },
2237
3489
  "isSeekingProject": {
2238
- "type": "boolean",
2239
- "nullable": true
3490
+ "type": "boolean"
3491
+ },
3492
+ "linkedin": {
3493
+ "type": "string"
2240
3494
  },
2241
3495
  "manager": {
2242
3496
  "$ref": "#/components/schemas/sanityEmployeeManager"
@@ -2244,39 +3498,65 @@
2244
3498
  "media": {
2245
3499
  "type": "array",
2246
3500
  "items": {
2247
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner"
3501
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsDescriptionInnerOneOf4MediaInner"
2248
3502
  }
2249
3503
  },
3504
+ "name": {
3505
+ "type": "string"
3506
+ },
2250
3507
  "nextOfKin": {
2251
3508
  "type": "array",
2252
3509
  "items": {
2253
3510
  "$ref": "#/components/schemas/sanityEmployeeNextOfKinInner"
2254
3511
  }
2255
3512
  },
2256
- "nrOfChildrenOption": {
2257
- "$ref": "#/components/schemas/option_nullable`1"
2258
- },
2259
3513
  "nrOfChildren": {
2260
3514
  "type": "number",
2261
- "format": "double",
2262
- "nullable": true
3515
+ "format": "double"
2263
3516
  },
2264
- "personalProjectRequirementsOption": {
2265
- "$ref": "#/components/schemas/option_string"
3517
+ "parentalLeaveStartDate": {
3518
+ "type": "string"
2266
3519
  },
2267
3520
  "personalProjectRequirements": {
2268
3521
  "type": "string"
2269
3522
  },
2270
- "positionOption": {
2271
- "$ref": "#/components/schemas/option_string"
2272
- },
2273
3523
  "position": {
2274
3524
  "type": "string"
2275
3525
  },
3526
+ "salaryConfig": {
3527
+ "$ref": "#/components/schemas/sanityEmployeeSalaryConfig"
3528
+ },
3529
+ "sanityCreatedAt": {
3530
+ "type": "string"
3531
+ },
3532
+ "sanityId": {
3533
+ "type": "string"
3534
+ },
3535
+ "sanityRev": {
3536
+ "type": "string"
3537
+ },
3538
+ "sanityUpdatedAt": {
3539
+ "type": "string"
3540
+ },
3541
+ "scopeGrants": {
3542
+ "type": "array",
3543
+ "items": {
3544
+ "type": "string"
3545
+ }
3546
+ },
3547
+ "settings": {
3548
+ "$ref": "#/components/schemas/sanityEmployeeSettings"
3549
+ },
3550
+ "slug": {
3551
+ "$ref": "#/components/schemas/slug"
3552
+ },
3553
+ "start_date": {
3554
+ "type": "string"
3555
+ },
2276
3556
  "tags": {
2277
3557
  "type": "array",
2278
3558
  "items": {
2279
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
3559
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
2280
3560
  }
2281
3561
  },
2282
3562
  "technologies": {
@@ -2284,6 +3564,9 @@
2284
3564
  "items": {
2285
3565
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInner"
2286
3566
  }
3567
+ },
3568
+ "telephone": {
3569
+ "type": "string"
2287
3570
  }
2288
3571
  }
2289
3572
  },
@@ -2300,6 +3583,10 @@
2300
3583
  "type": "boolean",
2301
3584
  "nullable": true
2302
3585
  },
3586
+ "isPublic": {
3587
+ "type": "boolean",
3588
+ "nullable": true
3589
+ },
2303
3590
  "image": {
2304
3591
  "$ref": "#/components/schemas/sanityImage"
2305
3592
  },
@@ -2321,7 +3608,7 @@
2321
3608
  "media": {
2322
3609
  "type": "array",
2323
3610
  "items": {
2324
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner"
3611
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsDescriptionInnerOneOf4MediaInner"
2325
3612
  }
2326
3613
  },
2327
3614
  "name": {
@@ -2348,6 +3635,12 @@
2348
3635
  "about": {
2349
3636
  "type": "string"
2350
3637
  },
3638
+ "linkedin": {
3639
+ "type": "string"
3640
+ },
3641
+ "github": {
3642
+ "type": "string"
3643
+ },
2351
3644
  "birthDate": {
2352
3645
  "type": "string",
2353
3646
  "format": "date-time",
@@ -2363,27 +3656,17 @@
2363
3656
  "properties": {
2364
3657
  "sanityType": {
2365
3658
  "enum": [
2366
- 1
3659
+ "sanity.assetSourceData"
2367
3660
  ],
2368
- "type": "integer",
2369
- "format": "int32",
2370
- "default": 1
2371
- },
2372
- "idOption": {
2373
- "$ref": "#/components/schemas/option_string"
3661
+ "type": "string",
3662
+ "default": "sanity.assetSourceData"
2374
3663
  },
2375
3664
  "id": {
2376
3665
  "type": "string"
2377
3666
  },
2378
- "nameOption": {
2379
- "$ref": "#/components/schemas/option_string"
2380
- },
2381
3667
  "name": {
2382
3668
  "type": "string"
2383
3669
  },
2384
- "urlOption": {
2385
- "$ref": "#/components/schemas/option_string"
2386
- },
2387
3670
  "url": {
2388
3671
  "type": "string"
2389
3672
  }
@@ -2394,11 +3677,10 @@
2394
3677
  "properties": {
2395
3678
  "sanityType": {
2396
3679
  "enum": [
2397
- 1
3680
+ "reference"
2398
3681
  ],
2399
- "type": "integer",
2400
- "format": "int32",
2401
- "default": 1
3682
+ "type": "string",
3683
+ "default": "reference"
2402
3684
  },
2403
3685
  "sanityKey": {
2404
3686
  "type": "string"
@@ -2406,12 +3688,8 @@
2406
3688
  "sanityRef": {
2407
3689
  "type": "string"
2408
3690
  },
2409
- "sanityWeakOption": {
2410
- "$ref": "#/components/schemas/option_nullable`1"
2411
- },
2412
3691
  "sanityWeak": {
2413
- "type": "boolean",
2414
- "nullable": true
3692
+ "type": "boolean"
2415
3693
  }
2416
3694
  }
2417
3695
  },
@@ -2420,11 +3698,10 @@
2420
3698
  "properties": {
2421
3699
  "sanityType": {
2422
3700
  "enum": [
2423
- 1
3701
+ "reference"
2424
3702
  ],
2425
- "type": "integer",
2426
- "format": "int32",
2427
- "default": 1
3703
+ "type": "string",
3704
+ "default": "reference"
2428
3705
  },
2429
3706
  "sanityKey": {
2430
3707
  "type": "string"
@@ -2432,12 +3709,8 @@
2432
3709
  "sanityRef": {
2433
3710
  "type": "string"
2434
3711
  },
2435
- "sanityWeakOption": {
2436
- "$ref": "#/components/schemas/option_nullable`1"
2437
- },
2438
3712
  "sanityWeak": {
2439
- "type": "boolean",
2440
- "nullable": true
3713
+ "type": "boolean"
2441
3714
  }
2442
3715
  }
2443
3716
  },
@@ -2446,11 +3719,10 @@
2446
3719
  "properties": {
2447
3720
  "sanityType": {
2448
3721
  "enum": [
2449
- 1
3722
+ "reference"
2450
3723
  ],
2451
- "type": "integer",
2452
- "format": "int32",
2453
- "default": 1
3724
+ "type": "string",
3725
+ "default": "reference"
2454
3726
  },
2455
3727
  "sanityKey": {
2456
3728
  "type": "string"
@@ -2458,12 +3730,8 @@
2458
3730
  "sanityRef": {
2459
3731
  "type": "string"
2460
3732
  },
2461
- "sanityWeakOption": {
2462
- "$ref": "#/components/schemas/option_nullable`1"
2463
- },
2464
3733
  "sanityWeak": {
2465
- "type": "boolean",
2466
- "nullable": true
3734
+ "type": "boolean"
2467
3735
  }
2468
3736
  }
2469
3737
  },
@@ -2472,11 +3740,10 @@
2472
3740
  "properties": {
2473
3741
  "sanityType": {
2474
3742
  "enum": [
2475
- 1
3743
+ "reference"
2476
3744
  ],
2477
- "type": "integer",
2478
- "format": "int32",
2479
- "default": 1
3745
+ "type": "string",
3746
+ "default": "reference"
2480
3747
  },
2481
3748
  "sanityKey": {
2482
3749
  "type": "string"
@@ -2484,40 +3751,31 @@
2484
3751
  "sanityRef": {
2485
3752
  "type": "string"
2486
3753
  },
2487
- "sanityWeakOption": {
2488
- "$ref": "#/components/schemas/option_nullable`1"
2489
- },
2490
3754
  "sanityWeak": {
2491
- "type": "boolean",
2492
- "nullable": true
3755
+ "type": "boolean"
2493
3756
  }
2494
3757
  }
2495
3758
  },
2496
3759
  "sanityEmployeeCliftonStrengthsInner": {
2497
3760
  "type": "object",
2498
3761
  "properties": {
2499
- "sanityType": {
3762
+ "domain": {
2500
3763
  "enum": [
2501
- 1
3764
+ "executing",
3765
+ "influencing",
3766
+ "relationship_building",
3767
+ "strategic_thinking"
2502
3768
  ],
2503
- "type": "integer",
2504
- "format": "int32",
2505
- "default": 1
2506
- },
2507
- "domainOption": {
2508
- "$ref": "#/components/schemas/option_nullable`1"
3769
+ "type": "string",
3770
+ "default": "executing",
3771
+ "nullable": true
2509
3772
  },
2510
- "domain": {
3773
+ "sanityType": {
2511
3774
  "enum": [
2512
- 1,
2513
- 2,
2514
- 3,
2515
- 4
3775
+ "cliftonStrength"
2516
3776
  ],
2517
- "type": "integer",
2518
- "format": "int32",
2519
- "default": 1,
2520
- "nullable": true
3777
+ "type": "string",
3778
+ "default": "cliftonStrength"
2521
3779
  },
2522
3780
  "sanityCreatedAt": {
2523
3781
  "type": "string"
@@ -2541,11 +3799,14 @@
2541
3799
  "properties": {
2542
3800
  "sanityType": {
2543
3801
  "enum": [
2544
- 1
3802
+ "commissionTier"
2545
3803
  ],
2546
- "type": "integer",
2547
- "format": "int32",
2548
- "default": 1
3804
+ "type": "string",
3805
+ "default": "commissionTier"
3806
+ },
3807
+ "commission": {
3808
+ "type": "number",
3809
+ "format": "double"
2549
3810
  },
2550
3811
  "sanityCreatedAt": {
2551
3812
  "type": "string"
@@ -2561,14 +3822,6 @@
2561
3822
  },
2562
3823
  "title": {
2563
3824
  "type": "string"
2564
- },
2565
- "commissionOption": {
2566
- "$ref": "#/components/schemas/option_nullable`1"
2567
- },
2568
- "commission": {
2569
- "type": "number",
2570
- "format": "double",
2571
- "nullable": true
2572
3825
  }
2573
3826
  }
2574
3827
  },
@@ -2577,17 +3830,10 @@
2577
3830
  "properties": {
2578
3831
  "sanityType": {
2579
3832
  "enum": [
2580
- 1
3833
+ "equipment"
2581
3834
  ],
2582
- "type": "integer",
2583
- "format": "int32",
2584
- "default": 1
2585
- },
2586
- "sanityId": {
2587
- "type": "string"
2588
- },
2589
- "title": {
2590
- "type": "string"
3835
+ "type": "string",
3836
+ "default": "equipment"
2591
3837
  },
2592
3838
  "description": {
2593
3839
  "type": "array",
@@ -2601,8 +3847,14 @@
2601
3847
  "images": {
2602
3848
  "type": "array",
2603
3849
  "items": {
2604
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
3850
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMediaOneOf"
2605
3851
  }
3852
+ },
3853
+ "sanityId": {
3854
+ "type": "string"
3855
+ },
3856
+ "title": {
3857
+ "type": "string"
2606
3858
  }
2607
3859
  }
2608
3860
  },
@@ -2611,18 +3863,32 @@
2611
3863
  "properties": {
2612
3864
  "sanityType": {
2613
3865
  "enum": [
2614
- 1
3866
+ "group"
2615
3867
  ],
2616
- "type": "integer",
2617
- "format": "int32",
2618
- "default": 1
3868
+ "type": "string",
3869
+ "default": "group"
3870
+ },
3871
+ "description": {
3872
+ "type": "array",
3873
+ "items": {
3874
+ "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
3875
+ }
2619
3876
  },
2620
3877
  "image": {
2621
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
3878
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMediaOneOf"
3879
+ },
3880
+ "leaders": {
3881
+ "type": "array",
3882
+ "items": {
3883
+ "$ref": "#/components/schemas/pageEmployeeOrderInner"
3884
+ }
2622
3885
  },
2623
3886
  "name": {
2624
3887
  "type": "string"
2625
3888
  },
3889
+ "permissions": {
3890
+ "type": "string"
3891
+ },
2626
3892
  "sanityCreatedAt": {
2627
3893
  "type": "string"
2628
3894
  },
@@ -2635,22 +3901,10 @@
2635
3901
  "sanityUpdatedAt": {
2636
3902
  "type": "string"
2637
3903
  },
2638
- "descriptionOption": {
2639
- "$ref": "#/components/schemas/option_list`1"
2640
- },
2641
- "description": {
2642
- "type": "array",
2643
- "items": {
2644
- "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
2645
- }
2646
- },
2647
- "leadersOption": {
2648
- "$ref": "#/components/schemas/option_list`1"
2649
- },
2650
- "leaders": {
3904
+ "scopeGrants": {
2651
3905
  "type": "array",
2652
3906
  "items": {
2653
- "$ref": "#/components/schemas/pageEmployeeOrderInner"
3907
+ "type": "string"
2654
3908
  }
2655
3909
  }
2656
3910
  }
@@ -2660,17 +3914,24 @@
2660
3914
  "properties": {
2661
3915
  "sanityType": {
2662
3916
  "enum": [
2663
- 1
3917
+ "employee"
2664
3918
  ],
2665
- "type": "integer",
2666
- "format": "int32",
2667
- "default": 1
3919
+ "type": "string",
3920
+ "default": "employee"
2668
3921
  },
2669
3922
  "email": {
2670
3923
  "type": "string"
2671
3924
  },
2672
3925
  "image": {
2673
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
3926
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
3927
+ },
3928
+ "isBot": {
3929
+ "type": "boolean",
3930
+ "nullable": true
3931
+ },
3932
+ "isExternal": {
3933
+ "type": "boolean",
3934
+ "nullable": true
2674
3935
  },
2675
3936
  "name": {
2676
3937
  "type": "string"
@@ -2681,14 +3942,14 @@
2681
3942
  "slug": {
2682
3943
  "$ref": "#/components/schemas/slug"
2683
3944
  },
2684
- "telephone": {
2685
- "type": "string"
2686
- },
2687
3945
  "tags": {
2688
3946
  "type": "array",
2689
3947
  "items": {
2690
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
3948
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
2691
3949
  }
3950
+ },
3951
+ "telephone": {
3952
+ "type": "string"
2692
3953
  }
2693
3954
  }
2694
3955
  },
@@ -2697,205 +3958,91 @@
2697
3958
  "properties": {
2698
3959
  "sanityType": {
2699
3960
  "enum": [
2700
- 1
3961
+ "nextofkin"
2701
3962
  ],
2702
- "type": "integer",
2703
- "format": "int32",
2704
- "default": 1
2705
- },
2706
- "sanityKey": {
2707
- "type": "string"
2708
- },
2709
- "nameOption": {
2710
- "$ref": "#/components/schemas/option_string"
3963
+ "type": "string",
3964
+ "default": "nextofkin"
2711
3965
  },
2712
3966
  "name": {
2713
3967
  "type": "string"
2714
3968
  },
2715
- "telephoneOption": {
2716
- "$ref": "#/components/schemas/option_string"
3969
+ "sanityKey": {
3970
+ "type": "string"
2717
3971
  },
2718
3972
  "telephone": {
2719
3973
  "type": "string"
2720
3974
  }
2721
3975
  }
2722
3976
  },
2723
- "sanityGadgetBudgetYearlyBudgetsInner": {
3977
+ "sanityEmployeeSalaryConfig": {
2724
3978
  "type": "object",
2725
3979
  "properties": {
2726
- "sanityType": {
3980
+ "model": {
2727
3981
  "enum": [
2728
- 1
3982
+ "snokam.ceo",
3983
+ "snokam.employee"
2729
3984
  ],
2730
- "type": "integer",
2731
- "format": "int32",
2732
- "default": 1
2733
- },
2734
- "sanityKey": {
2735
- "type": "string"
2736
- },
2737
- "amountOption": {
2738
- "$ref": "#/components/schemas/option_nullable`1"
2739
- },
2740
- "amount": {
2741
- "type": "number",
2742
- "format": "double",
2743
- "nullable": true
2744
- },
2745
- "equipmentList": {
2746
- "type": "array",
2747
- "items": {
2748
- "$ref": "#/components/schemas/sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInner"
2749
- }
2750
- },
2751
- "yearOption": {
2752
- "$ref": "#/components/schemas/option_nullable`1"
2753
- },
2754
- "year": {
2755
- "type": "number",
2756
- "format": "double",
3985
+ "type": "string",
3986
+ "default": "snokam.ceo",
2757
3987
  "nullable": true
2758
3988
  }
2759
3989
  }
2760
3990
  },
2761
- "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInner": {
2762
- "type": "object",
2763
- "properties": {
2764
- "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOf": {
2765
- "$ref": "#/components/schemas/sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOf"
2766
- },
2767
- "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOf1": {
2768
- "$ref": "#/components/schemas/sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOf1"
2769
- },
2770
- "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOf2": {
2771
- "$ref": "#/components/schemas/sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOf2"
2772
- }
2773
- }
2774
- },
2775
- "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOf": {
3991
+ "sanityEmployeeSettings": {
2776
3992
  "type": "object",
2777
3993
  "properties": {
2778
- "sanityType": {
3994
+ "colorScheme": {
2779
3995
  "enum": [
2780
- 1
3996
+ "dark",
3997
+ "light",
3998
+ "system"
2781
3999
  ],
2782
- "type": "integer",
2783
- "format": "int32",
2784
- "default": 1
2785
- },
2786
- "sanityKey": {
2787
- "type": "string"
2788
- },
2789
- "budgetCostOption": {
2790
- "$ref": "#/components/schemas/option_nullable`1"
2791
- },
2792
- "budgetCost": {
2793
- "type": "number",
2794
- "format": "double",
4000
+ "type": "string",
4001
+ "default": "dark",
2795
4002
  "nullable": true
2796
- },
2797
- "equipment": {
2798
- "$ref": "#/components/schemas/sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOfEquipment"
2799
4003
  }
2800
4004
  }
2801
4005
  },
2802
- "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOf1": {
4006
+ "sanityGadgetBudgetYearlyBudgetsInner": {
2803
4007
  "type": "object",
2804
4008
  "properties": {
2805
4009
  "sanityType": {
2806
4010
  "enum": [
2807
- 1
4011
+ "yearlyBudget"
2808
4012
  ],
2809
- "type": "integer",
2810
- "format": "int32",
2811
- "default": 1
2812
- },
2813
- "sanityKey": {
2814
- "type": "string"
2815
- },
2816
- "budgetCostOption": {
2817
- "$ref": "#/components/schemas/option_nullable`1"
4013
+ "type": "string",
4014
+ "default": "yearlyBudget"
2818
4015
  },
2819
- "budgetCost": {
4016
+ "amount": {
2820
4017
  "type": "number",
2821
- "format": "double",
2822
- "nullable": true
2823
- },
2824
- "descriptionOption": {
2825
- "$ref": "#/components/schemas/option_string"
4018
+ "format": "double"
2826
4019
  },
2827
- "description": {
2828
- "type": "string"
2829
- }
2830
- }
2831
- },
2832
- "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOf2": {
2833
- "type": "object",
2834
- "properties": {
2835
- "sanityType": {
2836
- "enum": [
2837
- 1
2838
- ],
2839
- "type": "integer",
2840
- "format": "int32",
2841
- "default": 1
4020
+ "equipmentList": {
4021
+ "type": "array",
4022
+ "items": {
4023
+ "$ref": "#/components/schemas/sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInner"
4024
+ }
2842
4025
  },
2843
4026
  "sanityKey": {
2844
4027
  "type": "string"
2845
4028
  },
2846
- "budgetCostOption": {
2847
- "$ref": "#/components/schemas/option_nullable`1"
2848
- },
2849
- "budgetCost": {
4029
+ "year": {
2850
4030
  "type": "number",
2851
- "format": "double",
2852
- "nullable": true
2853
- },
2854
- "descriptionOption": {
2855
- "$ref": "#/components/schemas/option_string"
2856
- },
2857
- "description": {
2858
- "type": "string"
2859
- },
2860
- "referenceOption": {
2861
- "$ref": "#/components/schemas/option_string"
2862
- },
2863
- "reference": {
2864
- "type": "string"
4031
+ "format": "double"
2865
4032
  }
2866
4033
  }
2867
4034
  },
2868
- "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInnerOneOfEquipment": {
4035
+ "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInner": {
2869
4036
  "type": "object",
2870
4037
  "properties": {
2871
- "sanityType": {
2872
- "enum": [
2873
- 1
2874
- ],
2875
- "type": "integer",
2876
- "format": "int32",
2877
- "default": 1
4038
+ "actualInstance": {
4039
+ "type": "object"
2878
4040
  },
2879
- "sanityId": {
2880
- "type": "string"
4041
+ "isNullable": {
4042
+ "type": "boolean"
2881
4043
  },
2882
- "title": {
4044
+ "schemaType": {
2883
4045
  "type": "string"
2884
- },
2885
- "description": {
2886
- "type": "array",
2887
- "items": {
2888
- "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
2889
- }
2890
- },
2891
- "image": {
2892
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
2893
- },
2894
- "images": {
2895
- "type": "array",
2896
- "items": {
2897
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2898
- }
2899
4046
  }
2900
4047
  }
2901
4048
  },
@@ -2904,160 +4051,100 @@
2904
4051
  "properties": {
2905
4052
  "sanityType": {
2906
4053
  "enum": [
2907
- 1
4054
+ "image"
2908
4055
  ],
2909
- "type": "integer",
2910
- "format": "int32",
2911
- "default": 1
4056
+ "type": "string",
4057
+ "default": "image"
2912
4058
  },
2913
4059
  "asset": {
2914
4060
  "$ref": "#/components/schemas/sanityImageAsset"
2915
4061
  },
2916
- "sanityIdOption": {
2917
- "$ref": "#/components/schemas/option_string"
2918
- },
2919
4062
  "sanityId": {
2920
4063
  "type": "string"
2921
4064
  },
2922
- "sanityKeyOption": {
2923
- "$ref": "#/components/schemas/option_string"
2924
- },
2925
4065
  "sanityKey": {
2926
4066
  "type": "string"
2927
4067
  },
2928
4068
  "additionalProperties": {
2929
4069
  "type": "object",
2930
4070
  "additionalProperties": {
2931
- "$ref": "#/components/schemas/jsonElement"
4071
+ "type": "object"
2932
4072
  }
2933
4073
  }
2934
4074
  }
2935
4075
  },
2936
- "sanityImageAsset": {
2937
- "type": "object",
2938
- "properties": {
2939
- "sanityType": {
2940
- "enum": [
2941
- 1
2942
- ],
2943
- "type": "integer",
2944
- "format": "int32",
2945
- "default": 1
2946
- },
2947
- "sanityId": {
2948
- "type": "string"
2949
- },
2950
- "url": {
2951
- "type": "string"
2952
- },
2953
- "altTextOption": {
2954
- "$ref": "#/components/schemas/option_string"
4076
+ "sanityImageAsset": {
4077
+ "type": "object",
4078
+ "properties": {
4079
+ "sanityType": {
4080
+ "enum": [
4081
+ "sanity.imageAsset"
4082
+ ],
4083
+ "type": "string",
4084
+ "default": "sanity.imageAsset"
2955
4085
  },
2956
4086
  "altText": {
2957
4087
  "type": "string"
2958
4088
  },
2959
- "assetIdOption": {
2960
- "$ref": "#/components/schemas/option_string"
2961
- },
2962
4089
  "assetId": {
2963
4090
  "type": "string"
2964
4091
  },
2965
- "descriptionOption": {
2966
- "$ref": "#/components/schemas/option_string"
2967
- },
2968
4092
  "description": {
2969
4093
  "type": "string"
2970
4094
  },
2971
- "extensionOption": {
2972
- "$ref": "#/components/schemas/option_string"
2973
- },
2974
4095
  "extension": {
2975
4096
  "type": "string"
2976
4097
  },
2977
- "labelOption": {
2978
- "$ref": "#/components/schemas/option_string"
2979
- },
2980
4098
  "label": {
2981
4099
  "type": "string"
2982
4100
  },
2983
- "metadataOption": {
2984
- "$ref": "#/components/schemas/option_sanityImageMetadata"
2985
- },
2986
4101
  "metadata": {
2987
4102
  "$ref": "#/components/schemas/sanityImageMetadata"
2988
4103
  },
2989
- "mimeTypeOption": {
2990
- "$ref": "#/components/schemas/option_string"
2991
- },
2992
4104
  "mimeType": {
2993
4105
  "type": "string"
2994
4106
  },
2995
- "originalFilenameOption": {
2996
- "$ref": "#/components/schemas/option_string"
2997
- },
2998
4107
  "originalFilename": {
2999
4108
  "type": "string"
3000
4109
  },
3001
- "pathOption": {
3002
- "$ref": "#/components/schemas/option_string"
3003
- },
3004
4110
  "path": {
3005
4111
  "type": "string"
3006
4112
  },
3007
- "sanityCreatedAtOption": {
3008
- "$ref": "#/components/schemas/option_string"
3009
- },
3010
4113
  "sanityCreatedAt": {
3011
4114
  "type": "string"
3012
4115
  },
3013
- "sanityRevOption": {
3014
- "$ref": "#/components/schemas/option_string"
4116
+ "sanityId": {
4117
+ "type": "string"
3015
4118
  },
3016
4119
  "sanityRev": {
3017
4120
  "type": "string"
3018
4121
  },
3019
- "sanityUpdatedAtOption": {
3020
- "$ref": "#/components/schemas/option_string"
3021
- },
3022
4122
  "sanityUpdatedAt": {
3023
4123
  "type": "string"
3024
4124
  },
3025
- "sha1hashOption": {
3026
- "$ref": "#/components/schemas/option_string"
3027
- },
3028
4125
  "sha1hash": {
3029
4126
  "type": "string"
3030
4127
  },
3031
- "sizeOption": {
3032
- "$ref": "#/components/schemas/option_nullable`1"
3033
- },
3034
4128
  "size": {
3035
4129
  "type": "number",
3036
- "format": "double",
3037
- "nullable": true
3038
- },
3039
- "sourceOption": {
3040
- "$ref": "#/components/schemas/option_sanityAssetSourceData"
4130
+ "format": "double"
3041
4131
  },
3042
4132
  "source": {
3043
4133
  "$ref": "#/components/schemas/sanityAssetSourceData"
3044
4134
  },
3045
- "titleOption": {
3046
- "$ref": "#/components/schemas/option_string"
3047
- },
3048
4135
  "title": {
3049
4136
  "type": "string"
3050
4137
  },
3051
- "uploadIdOption": {
3052
- "$ref": "#/components/schemas/option_string"
3053
- },
3054
4138
  "uploadId": {
3055
4139
  "type": "string"
3056
4140
  },
4141
+ "url": {
4142
+ "type": "string"
4143
+ },
3057
4144
  "additionalProperties": {
3058
4145
  "type": "object",
3059
4146
  "additionalProperties": {
3060
- "$ref": "#/components/schemas/jsonElement"
4147
+ "type": "object"
3061
4148
  }
3062
4149
  }
3063
4150
  }
@@ -3067,21 +4154,16 @@
3067
4154
  "properties": {
3068
4155
  "sanityType": {
3069
4156
  "enum": [
3070
- 1
4157
+ "reference"
3071
4158
  ],
3072
- "type": "integer",
3073
- "format": "int32",
3074
- "default": 1
4159
+ "type": "string",
4160
+ "default": "reference"
3075
4161
  },
3076
4162
  "sanityRef": {
3077
4163
  "type": "string"
3078
4164
  },
3079
- "sanityWeakOption": {
3080
- "$ref": "#/components/schemas/option_nullable`1"
3081
- },
3082
4165
  "sanityWeak": {
3083
- "type": "boolean",
3084
- "nullable": true
4166
+ "type": "boolean"
3085
4167
  }
3086
4168
  }
3087
4169
  },
@@ -3090,11 +4172,10 @@
3090
4172
  "properties": {
3091
4173
  "sanityType": {
3092
4174
  "enum": [
3093
- 1
4175
+ "sanity.imageCrop"
3094
4176
  ],
3095
- "type": "integer",
3096
- "format": "int32",
3097
- "default": 1
4177
+ "type": "string",
4178
+ "default": "sanity.imageCrop"
3098
4179
  },
3099
4180
  "bottom": {
3100
4181
  "type": "number",
@@ -3119,11 +4200,10 @@
3119
4200
  "properties": {
3120
4201
  "sanityType": {
3121
4202
  "enum": [
3122
- 1
4203
+ "sanity.imageDimensions"
3123
4204
  ],
3124
- "type": "integer",
3125
- "format": "int32",
3126
- "default": 1
4205
+ "type": "string",
4206
+ "default": "sanity.imageDimensions"
3127
4207
  },
3128
4208
  "aspectRatio": {
3129
4209
  "type": "number",
@@ -3144,11 +4224,10 @@
3144
4224
  "properties": {
3145
4225
  "sanityType": {
3146
4226
  "enum": [
3147
- 1
4227
+ "sanity.imageHotspot"
3148
4228
  ],
3149
- "type": "integer",
3150
- "format": "int32",
3151
- "default": 1
4229
+ "type": "string",
4230
+ "default": "sanity.imageHotspot"
3152
4231
  },
3153
4232
  "height": {
3154
4233
  "type": "number",
@@ -3173,59 +4252,32 @@
3173
4252
  "properties": {
3174
4253
  "sanityType": {
3175
4254
  "enum": [
3176
- 1
4255
+ "sanity.imageMetadata"
3177
4256
  ],
3178
- "type": "integer",
3179
- "format": "int32",
3180
- "default": 1
3181
- },
3182
- "blurHashOption": {
3183
- "$ref": "#/components/schemas/option_string"
4257
+ "type": "string",
4258
+ "default": "sanity.imageMetadata"
3184
4259
  },
3185
4260
  "blurHash": {
3186
4261
  "type": "string"
3187
4262
  },
3188
- "dimensionsOption": {
3189
- "$ref": "#/components/schemas/option_sanityImageDimensions"
3190
- },
3191
4263
  "dimensions": {
3192
4264
  "$ref": "#/components/schemas/sanityImageDimensions"
3193
4265
  },
3194
- "hasAlphaOption": {
3195
- "$ref": "#/components/schemas/option_nullable`1"
3196
- },
3197
4266
  "hasAlpha": {
3198
- "type": "boolean",
3199
- "nullable": true
3200
- },
3201
- "isOpaqueOption": {
3202
- "$ref": "#/components/schemas/option_nullable`1"
4267
+ "type": "boolean"
3203
4268
  },
3204
4269
  "isOpaque": {
3205
- "type": "boolean",
3206
- "nullable": true
3207
- },
3208
- "locationOption": {
3209
- "$ref": "#/components/schemas/option_geopoint"
4270
+ "type": "boolean"
3210
4271
  },
3211
4272
  "location": {
3212
4273
  "$ref": "#/components/schemas/geopoint"
3213
4274
  },
3214
- "lqipOption": {
3215
- "$ref": "#/components/schemas/option_string"
3216
- },
3217
4275
  "lqip": {
3218
4276
  "type": "string"
3219
4277
  },
3220
- "paletteOption": {
3221
- "$ref": "#/components/schemas/option_sanityImagePalette"
3222
- },
3223
4278
  "palette": {
3224
4279
  "$ref": "#/components/schemas/sanityImagePalette"
3225
4280
  },
3226
- "thumbHashOption": {
3227
- "$ref": "#/components/schemas/option_string"
3228
- },
3229
4281
  "thumbHash": {
3230
4282
  "type": "string"
3231
4283
  }
@@ -3236,51 +4288,29 @@
3236
4288
  "properties": {
3237
4289
  "sanityType": {
3238
4290
  "enum": [
3239
- 1
4291
+ "sanity.imagePalette"
3240
4292
  ],
3241
- "type": "integer",
3242
- "format": "int32",
3243
- "default": 1
3244
- },
3245
- "darkMutedOption": {
3246
- "$ref": "#/components/schemas/option_sanityImagePaletteSwatch"
4293
+ "type": "string",
4294
+ "default": "sanity.imagePalette"
3247
4295
  },
3248
4296
  "darkMuted": {
3249
4297
  "$ref": "#/components/schemas/sanityImagePaletteSwatch"
3250
4298
  },
3251
- "darkVibrantOption": {
3252
- "$ref": "#/components/schemas/option_sanityImagePaletteSwatch"
3253
- },
3254
4299
  "darkVibrant": {
3255
4300
  "$ref": "#/components/schemas/sanityImagePaletteSwatch"
3256
4301
  },
3257
- "dominantOption": {
3258
- "$ref": "#/components/schemas/option_sanityImagePaletteSwatch"
3259
- },
3260
4302
  "dominant": {
3261
4303
  "$ref": "#/components/schemas/sanityImagePaletteSwatch"
3262
4304
  },
3263
- "lightMutedOption": {
3264
- "$ref": "#/components/schemas/option_sanityImagePaletteSwatch"
3265
- },
3266
4305
  "lightMuted": {
3267
4306
  "$ref": "#/components/schemas/sanityImagePaletteSwatch"
3268
4307
  },
3269
- "lightVibrantOption": {
3270
- "$ref": "#/components/schemas/option_sanityImagePaletteSwatch"
3271
- },
3272
4308
  "lightVibrant": {
3273
4309
  "$ref": "#/components/schemas/sanityImagePaletteSwatch"
3274
4310
  },
3275
- "mutedOption": {
3276
- "$ref": "#/components/schemas/option_sanityImagePaletteSwatch"
3277
- },
3278
4311
  "muted": {
3279
4312
  "$ref": "#/components/schemas/sanityImagePaletteSwatch"
3280
4313
  },
3281
- "vibrantOption": {
3282
- "$ref": "#/components/schemas/option_sanityImagePaletteSwatch"
3283
- },
3284
4314
  "vibrant": {
3285
4315
  "$ref": "#/components/schemas/sanityImagePaletteSwatch"
3286
4316
  }
@@ -3291,34 +4321,20 @@
3291
4321
  "properties": {
3292
4322
  "sanityType": {
3293
4323
  "enum": [
3294
- 1
4324
+ "sanity.imagePaletteSwatch"
3295
4325
  ],
3296
- "type": "integer",
3297
- "format": "int32",
3298
- "default": 1
3299
- },
3300
- "backgroundOption": {
3301
- "$ref": "#/components/schemas/option_string"
4326
+ "type": "string",
4327
+ "default": "sanity.imagePaletteSwatch"
3302
4328
  },
3303
4329
  "background": {
3304
4330
  "type": "string"
3305
4331
  },
3306
- "foregroundOption": {
3307
- "$ref": "#/components/schemas/option_string"
3308
- },
3309
4332
  "foreground": {
3310
4333
  "type": "string"
3311
4334
  },
3312
- "populationOption": {
3313
- "$ref": "#/components/schemas/option_nullable`1"
3314
- },
3315
4335
  "population": {
3316
4336
  "type": "number",
3317
- "format": "double",
3318
- "nullable": true
3319
- },
3320
- "titleOption": {
3321
- "$ref": "#/components/schemas/option_string"
4337
+ "format": "double"
3322
4338
  },
3323
4339
  "title": {
3324
4340
  "type": "string"
@@ -3330,17 +4346,24 @@
3330
4346
  "properties": {
3331
4347
  "sanityType": {
3332
4348
  "enum": [
3333
- 1
4349
+ "employee"
3334
4350
  ],
3335
- "type": "integer",
3336
- "format": "int32",
3337
- "default": 1
4351
+ "type": "string",
4352
+ "default": "employee"
3338
4353
  },
3339
4354
  "email": {
3340
4355
  "type": "string"
3341
4356
  },
3342
4357
  "image": {
3343
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
4358
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
4359
+ },
4360
+ "isBot": {
4361
+ "type": "boolean",
4362
+ "nullable": true
4363
+ },
4364
+ "isExternal": {
4365
+ "type": "boolean",
4366
+ "nullable": true
3344
4367
  },
3345
4368
  "name": {
3346
4369
  "type": "string"
@@ -3351,14 +4374,14 @@
3351
4374
  "slug": {
3352
4375
  "$ref": "#/components/schemas/slug"
3353
4376
  },
3354
- "telephone": {
3355
- "type": "string"
3356
- },
3357
4377
  "tags": {
3358
4378
  "type": "array",
3359
4379
  "items": {
3360
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
4380
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
3361
4381
  }
4382
+ },
4383
+ "telephone": {
4384
+ "type": "string"
3362
4385
  }
3363
4386
  }
3364
4387
  },
@@ -3367,33 +4390,20 @@
3367
4390
  "properties": {
3368
4391
  "sanityType": {
3369
4392
  "enum": [
3370
- 1
4393
+ "image"
3371
4394
  ],
3372
- "type": "integer",
3373
- "format": "int32",
3374
- "default": 1
3375
- },
3376
- "assetOption": {
3377
- "$ref": "#/components/schemas/option_sanityImageAssetReference"
4395
+ "type": "string",
4396
+ "default": "image"
3378
4397
  },
3379
4398
  "asset": {
3380
4399
  "$ref": "#/components/schemas/sanityImageAssetReference"
3381
4400
  },
3382
- "cropOption": {
3383
- "$ref": "#/components/schemas/option_sanityImageCrop"
3384
- },
3385
4401
  "crop": {
3386
4402
  "$ref": "#/components/schemas/sanityImageCrop"
3387
4403
  },
3388
- "hotspotOption": {
3389
- "$ref": "#/components/schemas/option_sanityImageHotspot"
3390
- },
3391
4404
  "hotspot": {
3392
4405
  "$ref": "#/components/schemas/sanityImageHotspot"
3393
4406
  },
3394
- "mediaOption": {
3395
- "$ref": "#/components/schemas/option_object"
3396
- },
3397
4407
  "media": {
3398
4408
  "type": "object"
3399
4409
  }
@@ -3402,221 +4412,141 @@
3402
4412
  "sanitySystemsInnerDescriptionInner": {
3403
4413
  "type": "object",
3404
4414
  "properties": {
3405
- "sanityType": {
3406
- "enum": [
3407
- 1
3408
- ],
3409
- "type": "integer",
3410
- "format": "int32",
3411
- "default": 1
3412
- },
3413
- "listItemOption": {
3414
- "$ref": "#/components/schemas/option_nullable`1"
3415
- },
3416
4415
  "listItem": {
3417
4416
  "enum": [
3418
- 1,
3419
- 2
4417
+ "bullet",
4418
+ "number"
3420
4419
  ],
3421
- "type": "integer",
3422
- "format": "int32",
3423
- "default": 1,
4420
+ "type": "string",
4421
+ "default": "bullet",
3424
4422
  "nullable": true
3425
4423
  },
3426
- "styleOption": {
3427
- "$ref": "#/components/schemas/option_nullable`1"
4424
+ "sanityType": {
4425
+ "enum": [
4426
+ "block"
4427
+ ],
4428
+ "type": "string",
4429
+ "default": "block"
3428
4430
  },
3429
4431
  "style": {
3430
4432
  "enum": [
3431
- 1,
3432
- 2,
3433
- 3,
3434
- 4,
3435
- 5,
3436
- 6,
3437
- 7,
3438
- 8
4433
+ "blockquote",
4434
+ "h1",
4435
+ "h2",
4436
+ "h3",
4437
+ "h4",
4438
+ "h5",
4439
+ "h6",
4440
+ "normal"
3439
4441
  ],
3440
- "type": "integer",
3441
- "format": "int32",
3442
- "default": 1,
4442
+ "type": "string",
4443
+ "default": "blockquote",
3443
4444
  "nullable": true
3444
4445
  },
3445
- "sanityKey": {
3446
- "type": "string"
3447
- },
3448
- "childrenOption": {
3449
- "$ref": "#/components/schemas/option_list`1"
3450
- },
3451
4446
  "children": {
3452
4447
  "type": "array",
3453
4448
  "items": {
3454
4449
  "$ref": "#/components/schemas/componentBlocksInnerOneOfChildrenInner"
3455
4450
  }
3456
4451
  },
3457
- "levelOption": {
3458
- "$ref": "#/components/schemas/option_nullable`1"
3459
- },
3460
4452
  "level": {
3461
4453
  "type": "number",
3462
- "format": "double",
3463
- "nullable": true
3464
- },
3465
- "markDefsOption": {
3466
- "$ref": "#/components/schemas/option_list`1"
4454
+ "format": "double"
3467
4455
  },
3468
4456
  "markDefs": {
3469
4457
  "type": "array",
3470
4458
  "items": {
3471
4459
  "$ref": "#/components/schemas/componentBlocksInnerOneOfMarkDefsInner"
3472
4460
  }
3473
- }
3474
- }
3475
- },
3476
- "sanityTechnologyWithRelationsProjectsInnerTechnologiesInner": {
3477
- "type": "object",
3478
- "properties": {
3479
- "sanityType": {
3480
- "enum": [
3481
- 1
3482
- ],
3483
- "type": "integer",
3484
- "format": "int32",
3485
- "default": 1
3486
4461
  },
3487
- "parent": {
3488
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
3489
- },
3490
- "sanityId": {
3491
- "type": "string"
3492
- },
3493
- "slug": {
3494
- "$ref": "#/components/schemas/slug"
3495
- },
3496
- "title": {
4462
+ "sanityKey": {
3497
4463
  "type": "string"
3498
4464
  }
3499
4465
  }
3500
4466
  },
3501
- "sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent": {
4467
+ "sanityTechnologyWithRelationsArticlesInnerMediaOneOf": {
3502
4468
  "type": "object",
3503
4469
  "properties": {
3504
4470
  "sanityType": {
3505
4471
  "enum": [
3506
- 1
4472
+ "image"
3507
4473
  ],
3508
- "type": "integer",
3509
- "format": "int32",
3510
- "default": 1
3511
- },
3512
- "name": {
3513
- "type": "string"
3514
- },
3515
- "sanityId": {
3516
- "type": "string"
4474
+ "type": "string",
4475
+ "default": "image"
3517
4476
  },
3518
- "slug": {
3519
- "$ref": "#/components/schemas/slug"
4477
+ "asset": {
4478
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
3520
4479
  }
3521
4480
  }
3522
4481
  },
3523
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner": {
4482
+ "sanityTechnologyWithRelationsDescriptionInnerOneOf4MediaInner": {
3524
4483
  "type": "object",
3525
4484
  "properties": {
3526
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInnerOneOf": {
3527
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInnerOneOf"
4485
+ "actualInstance": {
4486
+ "type": "object"
3528
4487
  },
3529
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInnerOneOf1": {
3530
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInnerOneOf1"
3531
- }
3532
- }
3533
- },
3534
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInnerOneOf": {
3535
- "type": "object",
3536
- "properties": {
3537
- "sanityType": {
3538
- "enum": [
3539
- 1
3540
- ],
3541
- "type": "integer",
3542
- "format": "int32",
3543
- "default": 1
4488
+ "isNullable": {
4489
+ "type": "boolean"
3544
4490
  },
3545
- "sanityKey": {
4491
+ "schemaType": {
3546
4492
  "type": "string"
3547
- },
3548
- "asset": {
3549
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
3550
4493
  }
3551
4494
  }
3552
4495
  },
3553
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInnerOneOf1": {
4496
+ "sanityTechnologyWithRelationsEmployeesInnerTagsInner": {
3554
4497
  "type": "object",
3555
4498
  "properties": {
3556
4499
  "sanityType": {
3557
4500
  "enum": [
3558
- 1
4501
+ "tag"
3559
4502
  ],
3560
- "type": "integer",
3561
- "format": "int32",
3562
- "default": 1
4503
+ "type": "string",
4504
+ "default": "tag"
3563
4505
  },
3564
- "sanityKey": {
4506
+ "name": {
3565
4507
  "type": "string"
3566
4508
  },
3567
- "asset": {
3568
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInnerOneOf1Asset"
4509
+ "sanityId": {
4510
+ "type": "string"
4511
+ },
4512
+ "slug": {
4513
+ "$ref": "#/components/schemas/slug"
3569
4514
  }
3570
4515
  }
3571
4516
  },
3572
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInnerOneOf1Asset": {
4517
+ "sanityTechnologyWithRelationsProjectsInnerTechnologiesInner": {
3573
4518
  "type": "object",
3574
4519
  "properties": {
3575
4520
  "sanityType": {
3576
4521
  "enum": [
3577
- 1
4522
+ "technology"
3578
4523
  ],
3579
- "type": "integer",
3580
- "format": "int32",
3581
- "default": 1
4524
+ "type": "string",
4525
+ "default": "technology"
4526
+ },
4527
+ "parent": {
4528
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
3582
4529
  },
3583
4530
  "sanityId": {
3584
4531
  "type": "string"
3585
4532
  },
3586
- "filename": {
3587
- "type": "string"
4533
+ "slug": {
4534
+ "$ref": "#/components/schemas/slug"
3588
4535
  },
3589
- "playbackId": {
4536
+ "title": {
3590
4537
  "type": "string"
3591
4538
  }
3592
4539
  }
3593
4540
  },
3594
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo": {
3595
- "type": "object",
3596
- "properties": {
3597
- "sanityType": {
3598
- "enum": [
3599
- 1
3600
- ],
3601
- "type": "integer",
3602
- "format": "int32",
3603
- "default": 1
3604
- },
3605
- "asset": {
3606
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
3607
- }
3608
- }
3609
- },
3610
4541
  "sanityTvCategoryDashboardsInnerBackgroundImage": {
3611
4542
  "type": "object",
3612
4543
  "properties": {
3613
4544
  "sanityType": {
3614
4545
  "enum": [
3615
- 1
4546
+ "image"
3616
4547
  ],
3617
- "type": "integer",
3618
- "format": "int32",
3619
- "default": 1
4548
+ "type": "string",
4549
+ "default": "image"
3620
4550
  },
3621
4551
  "asset": {
3622
4552
  "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
@@ -3628,22 +4558,21 @@
3628
4558
  "properties": {
3629
4559
  "sanityType": {
3630
4560
  "enum": [
3631
- 1
4561
+ "sanity.imageAsset"
3632
4562
  ],
3633
- "type": "integer",
3634
- "format": "int32",
3635
- "default": 1
4563
+ "type": "string",
4564
+ "default": "sanity.imageAsset"
3636
4565
  },
3637
4566
  "mimeType": {
3638
4567
  "type": "string"
3639
4568
  },
3640
- "sanityId": {
4569
+ "originalFilename": {
3641
4570
  "type": "string"
3642
4571
  },
3643
- "url": {
4572
+ "sanityId": {
3644
4573
  "type": "string"
3645
4574
  },
3646
- "originalFilename": {
4575
+ "url": {
3647
4576
  "type": "string"
3648
4577
  }
3649
4578
  }
@@ -3653,23 +4582,30 @@
3653
4582
  "properties": {
3654
4583
  "sanityType": {
3655
4584
  "enum": [
3656
- 1
4585
+ "slug"
3657
4586
  ],
3658
- "type": "integer",
3659
- "format": "int32",
3660
- "default": 1
4587
+ "type": "string",
4588
+ "default": "slug"
3661
4589
  },
3662
4590
  "current": {
3663
4591
  "type": "string"
3664
4592
  },
3665
- "sourceOption": {
3666
- "$ref": "#/components/schemas/option_string"
3667
- },
3668
4593
  "source": {
3669
4594
  "type": "string"
3670
4595
  }
3671
4596
  }
3672
4597
  },
4598
+ "systemRoleOption": {
4599
+ "type": "object",
4600
+ "properties": {
4601
+ "id": {
4602
+ "type": "string"
4603
+ },
4604
+ "label": {
4605
+ "type": "string"
4606
+ }
4607
+ }
4608
+ },
3673
4609
  "tag": {
3674
4610
  "type": "object",
3675
4611
  "properties": {
@@ -3723,6 +4659,23 @@
3723
4659
  "nullable": true
3724
4660
  }
3725
4661
  }
4662
+ },
4663
+ "uploadPhotoRequest": {
4664
+ "type": "object",
4665
+ "properties": {
4666
+ "imageUrl": {
4667
+ "type": "string"
4668
+ }
4669
+ }
4670
+ },
4671
+ "uploadPhotoResult": {
4672
+ "type": "object",
4673
+ "properties": {
4674
+ "bytes": {
4675
+ "type": "integer",
4676
+ "format": "int64"
4677
+ }
4678
+ }
3726
4679
  }
3727
4680
  },
3728
4681
  "securitySchemes": {
@@ -3730,14 +4683,19 @@
3730
4683
  "type": "oauth2",
3731
4684
  "flows": {
3732
4685
  "implicit": {
3733
- "authorizationUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/authorize",
3734
- "tokenUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
3735
- "refreshUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
4686
+ "authorizationUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
4687
+ "tokenUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
4688
+ "refreshUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
3736
4689
  "scopes": {
3737
- "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default": "Default function scope"
4690
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default": "Default function scope"
3738
4691
  }
3739
4692
  }
3740
4693
  }
4694
+ },
4695
+ "ApiKey": {
4696
+ "type": "http",
4697
+ "scheme": "bearer",
4698
+ "bearerFormat": "JWT"
3741
4699
  }
3742
4700
  }
3743
4701
  }