@snokam/mcp-api 0.13.0 → 0.15.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.
@@ -11,6 +11,567 @@
11
11
  }
12
12
  ],
13
13
  "paths": {
14
+ "/v1.0/cvs": {
15
+ "get": {
16
+ "tags": [
17
+ "CV"
18
+ ],
19
+ "summary": "Gets CV data for all consultants",
20
+ "description": "Retrieves CV data for all consultants from CvPartner, including technologies, roles, about, and CV text.",
21
+ "operationId": "GetEmployeesCv",
22
+ "responses": {
23
+ "200": {
24
+ "description": "List of consultant CV profiles retrieved successfully",
25
+ "content": {
26
+ "application/json": {
27
+ "schema": {
28
+ "type": "array",
29
+ "items": {
30
+ "$ref": "#/components/schemas/consultantCv"
31
+ }
32
+ }
33
+ }
34
+ },
35
+ "x-ms-summary": "Success"
36
+ },
37
+ "401": {
38
+ "description": "User is not authorized",
39
+ "x-ms-summary": "Unauthorized"
40
+ }
41
+ },
42
+ "security": [
43
+ {
44
+ "Implicit": [
45
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
46
+ ]
47
+ }
48
+ ]
49
+ }
50
+ },
51
+ "/v1.0/cvs/my-cv": {
52
+ "get": {
53
+ "tags": [
54
+ "CV"
55
+ ],
56
+ "summary": "Gets CV data for the authenticated user",
57
+ "description": "Retrieves CV data for the currently authenticated consultant from CvPartner.",
58
+ "operationId": "GetMyCv",
59
+ "responses": {
60
+ "200": {
61
+ "description": "Authenticated user's CV profile retrieved successfully",
62
+ "content": {
63
+ "application/json": {
64
+ "schema": {
65
+ "$ref": "#/components/schemas/consultantCv"
66
+ }
67
+ }
68
+ },
69
+ "x-ms-summary": "Success"
70
+ },
71
+ "401": {
72
+ "description": "User is not authorized",
73
+ "x-ms-summary": "Unauthorized"
74
+ },
75
+ "404": {
76
+ "description": "Employee not found in CvPartner",
77
+ "x-ms-summary": "Not Found"
78
+ }
79
+ },
80
+ "security": [
81
+ {
82
+ "Implicit": [
83
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
84
+ ]
85
+ }
86
+ ]
87
+ }
88
+ },
89
+ "/v1.0/cvs/{slug}": {
90
+ "get": {
91
+ "tags": [
92
+ "CV"
93
+ ],
94
+ "summary": "Gets CV data for a specific employee by slug",
95
+ "description": "Retrieves CV data for a specific consultant from CvPartner by their Sanity slug (e.g. 'hakon-grotte').",
96
+ "operationId": "GetEmployeeCvBySlug",
97
+ "parameters": [
98
+ {
99
+ "name": "slug",
100
+ "in": "path",
101
+ "required": true,
102
+ "schema": {
103
+ "type": "string"
104
+ }
105
+ }
106
+ ],
107
+ "responses": {
108
+ "200": {
109
+ "description": "Payload of ConsultantCv",
110
+ "content": {
111
+ "application/json": {
112
+ "schema": {
113
+ "$ref": "#/components/schemas/consultantCv"
114
+ }
115
+ }
116
+ }
117
+ },
118
+ "404": {
119
+ "description": "No description"
120
+ }
121
+ },
122
+ "security": [
123
+ {
124
+ "Implicit": [
125
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
126
+ ]
127
+ }
128
+ ]
129
+ }
130
+ },
131
+ "/v1.0/me/cv/pdf": {
132
+ "get": {
133
+ "tags": [
134
+ "CV"
135
+ ],
136
+ "summary": "Downloads the authenticated user's CV as PDF",
137
+ "operationId": "GetMyCvPdf",
138
+ "responses": {
139
+ "200": {
140
+ "description": "Payload of Array of Byte",
141
+ "content": {
142
+ "application/pdf": {
143
+ "schema": {
144
+ "type": "string",
145
+ "format": "binary"
146
+ }
147
+ }
148
+ }
149
+ },
150
+ "401": {
151
+ "description": "No description"
152
+ },
153
+ "404": {
154
+ "description": "No description"
155
+ }
156
+ },
157
+ "security": [
158
+ {
159
+ "Implicit": [
160
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
161
+ ]
162
+ }
163
+ ]
164
+ }
165
+ },
166
+ "/v1.0/cvs/{slug}/pdf": {
167
+ "get": {
168
+ "tags": [
169
+ "CV"
170
+ ],
171
+ "summary": "Downloads a specific consultant's CV as PDF by slug",
172
+ "operationId": "GetEmployeeCvPdfBySlug",
173
+ "parameters": [
174
+ {
175
+ "name": "slug",
176
+ "in": "path",
177
+ "required": true,
178
+ "schema": {
179
+ "type": "string"
180
+ }
181
+ }
182
+ ],
183
+ "responses": {
184
+ "200": {
185
+ "description": "Payload of Array of Byte",
186
+ "content": {
187
+ "application/pdf": {
188
+ "schema": {
189
+ "type": "string",
190
+ "format": "binary"
191
+ }
192
+ }
193
+ }
194
+ },
195
+ "401": {
196
+ "description": "No description"
197
+ },
198
+ "404": {
199
+ "description": "No description"
200
+ }
201
+ },
202
+ "security": [
203
+ {
204
+ "Implicit": [
205
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
206
+ ]
207
+ }
208
+ ]
209
+ }
210
+ },
211
+ "/v1.0/proposals": {
212
+ "post": {
213
+ "tags": [
214
+ "Proposals"
215
+ ],
216
+ "summary": "Create a Flowcase proposal",
217
+ "operationId": "CreateProposal",
218
+ "requestBody": {
219
+ "content": {
220
+ "application/json": {
221
+ "schema": {
222
+ "$ref": "#/components/schemas/createProposalRequest"
223
+ }
224
+ }
225
+ },
226
+ "required": true
227
+ },
228
+ "responses": {
229
+ "201": {
230
+ "description": "Payload of FlowcaseProposal",
231
+ "content": {
232
+ "application/json": {
233
+ "schema": {
234
+ "$ref": "#/components/schemas/flowcaseProposal"
235
+ }
236
+ }
237
+ }
238
+ }
239
+ },
240
+ "security": [
241
+ {
242
+ "Implicit": [
243
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
244
+ ]
245
+ }
246
+ ]
247
+ }
248
+ },
249
+ "/v1.0/proposals/{proposalId}": {
250
+ "get": {
251
+ "tags": [
252
+ "Proposals"
253
+ ],
254
+ "summary": "Get a Flowcase proposal by id",
255
+ "operationId": "GetProposal",
256
+ "parameters": [
257
+ {
258
+ "name": "proposalId",
259
+ "in": "path",
260
+ "required": true,
261
+ "schema": {
262
+ "type": "string"
263
+ }
264
+ }
265
+ ],
266
+ "responses": {
267
+ "200": {
268
+ "description": "Payload of FlowcaseProposal",
269
+ "content": {
270
+ "application/json": {
271
+ "schema": {
272
+ "$ref": "#/components/schemas/flowcaseProposal"
273
+ }
274
+ }
275
+ }
276
+ },
277
+ "404": {
278
+ "description": "No description"
279
+ }
280
+ },
281
+ "security": [
282
+ {
283
+ "Implicit": [
284
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
285
+ ]
286
+ }
287
+ ]
288
+ },
289
+ "patch": {
290
+ "tags": [
291
+ "Proposals"
292
+ ],
293
+ "summary": "Update / patch a Flowcase proposal",
294
+ "operationId": "UpdateProposal",
295
+ "parameters": [
296
+ {
297
+ "name": "proposalId",
298
+ "in": "path",
299
+ "required": true,
300
+ "schema": {
301
+ "type": "string"
302
+ }
303
+ }
304
+ ],
305
+ "requestBody": {
306
+ "content": {
307
+ "application/json": {
308
+ "schema": {
309
+ "$ref": "#/components/schemas/updateProposalRequest"
310
+ }
311
+ }
312
+ },
313
+ "required": true
314
+ },
315
+ "responses": {
316
+ "200": {
317
+ "description": "Payload of FlowcaseProposal",
318
+ "content": {
319
+ "application/json": {
320
+ "schema": {
321
+ "$ref": "#/components/schemas/flowcaseProposal"
322
+ }
323
+ }
324
+ }
325
+ }
326
+ },
327
+ "security": [
328
+ {
329
+ "Implicit": [
330
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
331
+ ]
332
+ }
333
+ ]
334
+ },
335
+ "delete": {
336
+ "tags": [
337
+ "Proposals"
338
+ ],
339
+ "summary": "Archive a proposal — Flowcase has no hard-delete; we PUT archived=true.",
340
+ "operationId": "ArchiveProposal",
341
+ "parameters": [
342
+ {
343
+ "name": "proposalId",
344
+ "in": "path",
345
+ "required": true,
346
+ "schema": {
347
+ "type": "string"
348
+ }
349
+ }
350
+ ],
351
+ "responses": {
352
+ "200": {
353
+ "description": "Payload of FlowcaseProposal",
354
+ "content": {
355
+ "application/json": {
356
+ "schema": {
357
+ "$ref": "#/components/schemas/flowcaseProposal"
358
+ }
359
+ }
360
+ }
361
+ }
362
+ },
363
+ "security": [
364
+ {
365
+ "Implicit": [
366
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
367
+ ]
368
+ }
369
+ ]
370
+ }
371
+ },
372
+ "/v1.0/proposals/{proposalId}/cvs": {
373
+ "post": {
374
+ "tags": [
375
+ "Proposals"
376
+ ],
377
+ "summary": "Attach a consultant's CV to a proposal; Flowcase copies the default CV into an editable tailored CV.",
378
+ "operationId": "AttachCvToProposal",
379
+ "parameters": [
380
+ {
381
+ "name": "proposalId",
382
+ "in": "path",
383
+ "required": true,
384
+ "schema": {
385
+ "type": "string"
386
+ }
387
+ }
388
+ ],
389
+ "requestBody": {
390
+ "content": {
391
+ "application/json": {
392
+ "schema": {
393
+ "$ref": "#/components/schemas/addCvToProposalRequest"
394
+ }
395
+ }
396
+ },
397
+ "required": true
398
+ },
399
+ "responses": {
400
+ "201": {
401
+ "description": "Payload of FlowcaseTailoredCv",
402
+ "content": {
403
+ "application/json": {
404
+ "schema": {
405
+ "$ref": "#/components/schemas/flowcaseTailoredCv"
406
+ }
407
+ }
408
+ }
409
+ }
410
+ },
411
+ "security": [
412
+ {
413
+ "Implicit": [
414
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
415
+ ]
416
+ }
417
+ ]
418
+ }
419
+ },
420
+ "/v1.0/proposals/{proposalId}/cvs/{tailoredCvId}": {
421
+ "delete": {
422
+ "tags": [
423
+ "Proposals"
424
+ ],
425
+ "summary": "Remove a tailored CV from a proposal.",
426
+ "operationId": "DetachCvFromProposal",
427
+ "parameters": [
428
+ {
429
+ "name": "proposalId",
430
+ "in": "path",
431
+ "required": true,
432
+ "schema": {
433
+ "type": "string"
434
+ }
435
+ },
436
+ {
437
+ "name": "tailoredCvId",
438
+ "in": "path",
439
+ "required": true,
440
+ "schema": {
441
+ "type": "string"
442
+ }
443
+ }
444
+ ],
445
+ "responses": {
446
+ "204": {
447
+ "description": "No description"
448
+ }
449
+ },
450
+ "security": [
451
+ {
452
+ "Implicit": [
453
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
454
+ ]
455
+ }
456
+ ]
457
+ }
458
+ },
459
+ "/v1.0/cvs/users/{userId}/{cvId}/pdf": {
460
+ "get": {
461
+ "tags": [
462
+ "Proposals"
463
+ ],
464
+ "summary": "Download any CV (including tailored CVs) as PDF by user_id + cv_id.",
465
+ "operationId": "DownloadTailoredCvPdf",
466
+ "parameters": [
467
+ {
468
+ "name": "userId",
469
+ "in": "path",
470
+ "required": true,
471
+ "schema": {
472
+ "type": "string"
473
+ }
474
+ },
475
+ {
476
+ "name": "cvId",
477
+ "in": "path",
478
+ "required": true,
479
+ "schema": {
480
+ "type": "string"
481
+ }
482
+ }
483
+ ],
484
+ "responses": {
485
+ "200": {
486
+ "description": "Payload of Array of Byte",
487
+ "content": {
488
+ "application/pdf": {
489
+ "schema": {
490
+ "type": "string",
491
+ "format": "binary"
492
+ }
493
+ }
494
+ }
495
+ },
496
+ "404": {
497
+ "description": "No description"
498
+ }
499
+ },
500
+ "security": [
501
+ {
502
+ "Implicit": [
503
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
504
+ ]
505
+ }
506
+ ]
507
+ }
508
+ },
509
+ "/v1.0/cvs/users/{userId}/{cvId}/sections/{sectionType}/{sectionId}": {
510
+ "put": {
511
+ "tags": [
512
+ "CV"
513
+ ],
514
+ "summary": "Edit a single CV section (PUT /v3/cvs/{user}/{cv}/{section_type}/{section_id}).",
515
+ "operationId": "UpdateCvSection",
516
+ "parameters": [
517
+ {
518
+ "name": "userId",
519
+ "in": "path",
520
+ "required": true,
521
+ "schema": {
522
+ "type": "string"
523
+ }
524
+ },
525
+ {
526
+ "name": "cvId",
527
+ "in": "path",
528
+ "required": true,
529
+ "schema": {
530
+ "type": "string"
531
+ }
532
+ },
533
+ {
534
+ "name": "sectionType",
535
+ "in": "path",
536
+ "required": true,
537
+ "schema": {
538
+ "type": "string"
539
+ }
540
+ },
541
+ {
542
+ "name": "sectionId",
543
+ "in": "path",
544
+ "required": true,
545
+ "schema": {
546
+ "type": "string"
547
+ }
548
+ }
549
+ ],
550
+ "requestBody": {
551
+ "description": "Section body — shape depends on section_type (see Flowcase CV API).",
552
+ "content": {
553
+ "application/json": {
554
+ "schema": {
555
+ "type": "object"
556
+ }
557
+ }
558
+ },
559
+ "required": true
560
+ },
561
+ "responses": {
562
+ "204": {
563
+ "description": "No description"
564
+ }
565
+ },
566
+ "security": [
567
+ {
568
+ "Implicit": [
569
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
570
+ ]
571
+ }
572
+ ]
573
+ }
574
+ },
14
575
  "/v1.0/protected": {
15
576
  "get": {
16
577
  "tags": [
@@ -130,6 +691,61 @@
130
691
  }
131
692
  },
132
693
  "/v1.0/protected/{id}": {
694
+ "put": {
695
+ "tags": [
696
+ "Protected"
697
+ ],
698
+ "summary": "Updates protected employee data by id or email",
699
+ "description": "Updates protected employee data for a specified employee id or email.",
700
+ "operationId": "PatchEmployeeProtected",
701
+ "parameters": [
702
+ {
703
+ "name": "id",
704
+ "in": "path",
705
+ "description": "Sanity id or employee email",
706
+ "required": true,
707
+ "schema": {
708
+ "type": "string"
709
+ },
710
+ "x-ms-summary": "The employee id or email"
711
+ }
712
+ ],
713
+ "requestBody": {
714
+ "description": "Employee data to update",
715
+ "content": {
716
+ "application/json": {
717
+ "schema": {
718
+ "$ref": "#/components/schemas/patchEmployee"
719
+ }
720
+ }
721
+ },
722
+ "required": true
723
+ },
724
+ "responses": {
725
+ "200": {
726
+ "description": "Protected employee data updated successfully",
727
+ "content": {
728
+ "application/json": {
729
+ "schema": {
730
+ "$ref": "#/components/schemas/protectedEmployee"
731
+ }
732
+ }
733
+ },
734
+ "x-ms-summary": "Success"
735
+ },
736
+ "401": {
737
+ "description": "User is not authorized",
738
+ "x-ms-summary": "Unauthorized"
739
+ }
740
+ },
741
+ "security": [
742
+ {
743
+ "Implicit": [
744
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
745
+ ]
746
+ }
747
+ ]
748
+ },
133
749
  "get": {
134
750
  "tags": [
135
751
  "Protected"
@@ -312,6 +928,19 @@
312
928
  },
313
929
  "components": {
314
930
  "schemas": {
931
+ "addCvToProposalRequest": {
932
+ "type": "object",
933
+ "properties": {
934
+ "user_id": {
935
+ "type": "string",
936
+ "nullable": true
937
+ },
938
+ "cv_id": {
939
+ "type": "string",
940
+ "nullable": true
941
+ }
942
+ }
943
+ },
315
944
  "commissionTierReference": {
316
945
  "type": "object",
317
946
  "properties": {
@@ -338,51 +967,311 @@
338
967
  "span"
339
968
  ],
340
969
  "type": "string",
341
- "default": "span"
970
+ "default": "span"
971
+ },
972
+ "marks": {
973
+ "type": "array",
974
+ "items": {
975
+ "type": "string"
976
+ }
977
+ },
978
+ "sanityKey": {
979
+ "type": "string"
980
+ },
981
+ "text": {
982
+ "type": "string"
983
+ }
984
+ }
985
+ },
986
+ "componentBlocksInnerOneOfMarkDefsInner": {
987
+ "type": "object",
988
+ "properties": {
989
+ "sanityType": {
990
+ "enum": [
991
+ "link"
992
+ ],
993
+ "type": "string",
994
+ "default": "link"
995
+ },
996
+ "href": {
997
+ "type": "string"
998
+ },
999
+ "sanityKey": {
1000
+ "type": "string"
1001
+ }
1002
+ }
1003
+ },
1004
+ "componentGalleryMediaInner": {
1005
+ "type": "object",
1006
+ "properties": {
1007
+ "actualInstance": {
1008
+ "type": "object"
1009
+ },
1010
+ "isNullable": {
1011
+ "type": "boolean"
1012
+ },
1013
+ "schemaType": {
1014
+ "type": "string"
1015
+ }
1016
+ }
1017
+ },
1018
+ "consultantCv": {
1019
+ "type": "object",
1020
+ "properties": {
1021
+ "userId": {
1022
+ "type": "string",
1023
+ "nullable": true
1024
+ },
1025
+ "email": {
1026
+ "type": "string",
1027
+ "nullable": true
1028
+ },
1029
+ "name": {
1030
+ "type": "string",
1031
+ "nullable": true
1032
+ },
1033
+ "defaultCvId": {
1034
+ "type": "string",
1035
+ "nullable": true
1036
+ },
1037
+ "technologies": {
1038
+ "type": "array",
1039
+ "items": {
1040
+ "type": "string"
1041
+ },
1042
+ "nullable": true
1043
+ },
1044
+ "roles": {
1045
+ "type": "array",
1046
+ "items": {
1047
+ "type": "string"
1048
+ },
1049
+ "nullable": true
1050
+ },
1051
+ "yearsExperience": {
1052
+ "type": "integer",
1053
+ "format": "int32",
1054
+ "nullable": true
1055
+ },
1056
+ "about": {
1057
+ "type": "string",
1058
+ "nullable": true
1059
+ },
1060
+ "cvText": {
1061
+ "type": "string",
1062
+ "nullable": true
1063
+ },
1064
+ "projectExperiences": {
1065
+ "type": "array",
1066
+ "items": {
1067
+ "$ref": "#/components/schemas/consultantProjectExperience"
1068
+ },
1069
+ "nullable": true
1070
+ },
1071
+ "workExperiences": {
1072
+ "type": "array",
1073
+ "items": {
1074
+ "$ref": "#/components/schemas/consultantWorkExperience"
1075
+ },
1076
+ "nullable": true
1077
+ },
1078
+ "educations": {
1079
+ "type": "array",
1080
+ "items": {
1081
+ "$ref": "#/components/schemas/consultantEducation"
1082
+ },
1083
+ "nullable": true
1084
+ },
1085
+ "cvRoles": {
1086
+ "type": "array",
1087
+ "items": {
1088
+ "$ref": "#/components/schemas/consultantCvRole"
1089
+ },
1090
+ "nullable": true
1091
+ },
1092
+ "keyQualifications": {
1093
+ "type": "array",
1094
+ "items": {
1095
+ "$ref": "#/components/schemas/consultantKeyQualification"
1096
+ },
1097
+ "nullable": true
1098
+ }
1099
+ }
1100
+ },
1101
+ "consultantCvRole": {
1102
+ "type": "object",
1103
+ "properties": {
1104
+ "name": {
1105
+ "type": "string",
1106
+ "nullable": true
1107
+ },
1108
+ "longDescription": {
1109
+ "type": "string",
1110
+ "nullable": true
1111
+ },
1112
+ "tags": {
1113
+ "type": "array",
1114
+ "items": {
1115
+ "type": "string"
1116
+ },
1117
+ "nullable": true
1118
+ }
1119
+ }
1120
+ },
1121
+ "consultantEducation": {
1122
+ "type": "object",
1123
+ "properties": {
1124
+ "school": {
1125
+ "type": "string",
1126
+ "nullable": true
1127
+ },
1128
+ "degree": {
1129
+ "type": "string",
1130
+ "nullable": true
1131
+ },
1132
+ "description": {
1133
+ "type": "string",
1134
+ "nullable": true
1135
+ },
1136
+ "yearFrom": {
1137
+ "type": "integer",
1138
+ "format": "int32",
1139
+ "nullable": true
1140
+ },
1141
+ "yearTo": {
1142
+ "type": "integer",
1143
+ "format": "int32",
1144
+ "nullable": true
1145
+ }
1146
+ }
1147
+ },
1148
+ "consultantKeyQualification": {
1149
+ "type": "object",
1150
+ "properties": {
1151
+ "label": {
1152
+ "type": "string",
1153
+ "nullable": true
1154
+ },
1155
+ "description": {
1156
+ "type": "string",
1157
+ "nullable": true
1158
+ },
1159
+ "tags": {
1160
+ "type": "array",
1161
+ "items": {
1162
+ "type": "string"
1163
+ },
1164
+ "nullable": true
1165
+ }
1166
+ }
1167
+ },
1168
+ "consultantProjectExperience": {
1169
+ "type": "object",
1170
+ "properties": {
1171
+ "customer": {
1172
+ "type": "string",
1173
+ "nullable": true
1174
+ },
1175
+ "description": {
1176
+ "type": "string",
1177
+ "nullable": true
1178
+ },
1179
+ "longDescription": {
1180
+ "type": "string",
1181
+ "nullable": true
1182
+ },
1183
+ "industry": {
1184
+ "type": "string",
1185
+ "nullable": true
1186
+ },
1187
+ "yearFrom": {
1188
+ "type": "integer",
1189
+ "format": "int32",
1190
+ "nullable": true
1191
+ },
1192
+ "monthFrom": {
1193
+ "type": "integer",
1194
+ "format": "int32",
1195
+ "nullable": true
1196
+ },
1197
+ "yearTo": {
1198
+ "type": "integer",
1199
+ "format": "int32",
1200
+ "nullable": true
1201
+ },
1202
+ "monthTo": {
1203
+ "type": "integer",
1204
+ "format": "int32",
1205
+ "nullable": true
1206
+ },
1207
+ "roleTitle": {
1208
+ "type": "string",
1209
+ "nullable": true
342
1210
  },
343
- "marks": {
1211
+ "roleDescription": {
1212
+ "type": "string",
1213
+ "nullable": true
1214
+ },
1215
+ "technologies": {
344
1216
  "type": "array",
345
1217
  "items": {
346
1218
  "type": "string"
347
- }
348
- },
349
- "sanityKey": {
350
- "type": "string"
351
- },
352
- "text": {
353
- "type": "string"
1219
+ },
1220
+ "nullable": true
354
1221
  }
355
1222
  }
356
1223
  },
357
- "componentBlocksInnerOneOfMarkDefsInner": {
1224
+ "consultantWorkExperience": {
358
1225
  "type": "object",
359
1226
  "properties": {
360
- "sanityType": {
361
- "enum": [
362
- "link"
363
- ],
1227
+ "employer": {
364
1228
  "type": "string",
365
- "default": "link"
1229
+ "nullable": true
366
1230
  },
367
- "href": {
368
- "type": "string"
1231
+ "title": {
1232
+ "type": "string",
1233
+ "nullable": true
369
1234
  },
370
- "sanityKey": {
371
- "type": "string"
1235
+ "description": {
1236
+ "type": "string",
1237
+ "nullable": true
1238
+ },
1239
+ "yearFrom": {
1240
+ "type": "integer",
1241
+ "format": "int32",
1242
+ "nullable": true
1243
+ },
1244
+ "monthFrom": {
1245
+ "type": "integer",
1246
+ "format": "int32",
1247
+ "nullable": true
1248
+ },
1249
+ "yearTo": {
1250
+ "type": "integer",
1251
+ "format": "int32",
1252
+ "nullable": true
1253
+ },
1254
+ "monthTo": {
1255
+ "type": "integer",
1256
+ "format": "int32",
1257
+ "nullable": true
372
1258
  }
373
1259
  }
374
1260
  },
375
- "componentGalleryMediaInner": {
1261
+ "createProposalRequest": {
376
1262
  "type": "object",
377
1263
  "properties": {
378
- "actualInstance": {
379
- "type": "object"
1264
+ "name": {
1265
+ "type": "string",
1266
+ "nullable": true
380
1267
  },
381
- "isNullable": {
382
- "type": "boolean"
1268
+ "owner_id": {
1269
+ "type": "string",
1270
+ "nullable": true
383
1271
  },
384
- "schemaType": {
385
- "type": "string"
1272
+ "status": {
1273
+ "type": "string",
1274
+ "nullable": true
386
1275
  }
387
1276
  }
388
1277
  },
@@ -412,6 +1301,96 @@
412
1301
  }
413
1302
  }
414
1303
  },
1304
+ "flowcaseProposal": {
1305
+ "type": "object",
1306
+ "properties": {
1307
+ "id": {
1308
+ "type": "string",
1309
+ "nullable": true
1310
+ },
1311
+ "name": {
1312
+ "type": "string",
1313
+ "nullable": true
1314
+ },
1315
+ "api_owner_id": {
1316
+ "type": "string",
1317
+ "nullable": true
1318
+ },
1319
+ "api_owner_name": {
1320
+ "type": "string",
1321
+ "nullable": true
1322
+ },
1323
+ "owner_id": {
1324
+ "type": "string",
1325
+ "nullable": true
1326
+ },
1327
+ "owner_name": {
1328
+ "type": "string",
1329
+ "nullable": true
1330
+ },
1331
+ "status": {
1332
+ "type": "string",
1333
+ "nullable": true
1334
+ },
1335
+ "archived": {
1336
+ "type": "boolean",
1337
+ "nullable": true
1338
+ },
1339
+ "created_at": {
1340
+ "type": "string",
1341
+ "format": "date-time",
1342
+ "nullable": true
1343
+ },
1344
+ "updated_at": {
1345
+ "type": "string",
1346
+ "format": "date-time",
1347
+ "nullable": true
1348
+ }
1349
+ }
1350
+ },
1351
+ "flowcaseTailoredCv": {
1352
+ "type": "object",
1353
+ "properties": {
1354
+ "id": {
1355
+ "type": "string",
1356
+ "nullable": true
1357
+ },
1358
+ "user_id": {
1359
+ "type": "string",
1360
+ "nullable": true
1361
+ },
1362
+ "proposal_id": {
1363
+ "type": "string",
1364
+ "nullable": true
1365
+ },
1366
+ "name": {
1367
+ "type": "string",
1368
+ "nullable": true
1369
+ },
1370
+ "email": {
1371
+ "type": "string",
1372
+ "nullable": true
1373
+ },
1374
+ "title": {
1375
+ "type": "string",
1376
+ "nullable": true
1377
+ },
1378
+ "status": {
1379
+ "type": "string",
1380
+ "nullable": true
1381
+ },
1382
+ "created_at": {
1383
+ "type": "string",
1384
+ "format": "date-time",
1385
+ "nullable": true
1386
+ },
1387
+ "updated_at": {
1388
+ "type": "string",
1389
+ "format": "date-time",
1390
+ "nullable": true
1391
+ }
1392
+ }
1393
+ },
415
1394
  "gadgetBudget": {
416
1395
  "type": "object",
417
1396
  "properties": {
@@ -469,6 +1448,48 @@
469
1448
  }
470
1449
  }
471
1450
  },
1451
+ "pageEmployeeOrderInner": {
1452
+ "type": "object",
1453
+ "properties": {
1454
+ "sanityType": {
1455
+ "enum": [
1456
+ "reference"
1457
+ ],
1458
+ "type": "string",
1459
+ "default": "reference"
1460
+ },
1461
+ "sanityKey": {
1462
+ "type": "string"
1463
+ },
1464
+ "sanityRef": {
1465
+ "type": "string"
1466
+ },
1467
+ "sanityWeak": {
1468
+ "type": "boolean"
1469
+ }
1470
+ }
1471
+ },
1472
+ "pageEquipmentInner": {
1473
+ "type": "object",
1474
+ "properties": {
1475
+ "sanityType": {
1476
+ "enum": [
1477
+ "reference"
1478
+ ],
1479
+ "type": "string",
1480
+ "default": "reference"
1481
+ },
1482
+ "sanityKey": {
1483
+ "type": "string"
1484
+ },
1485
+ "sanityRef": {
1486
+ "type": "string"
1487
+ },
1488
+ "sanityWeak": {
1489
+ "type": "boolean"
1490
+ }
1491
+ }
1492
+ },
472
1493
  "patchEmployee": {
473
1494
  "type": "object",
474
1495
  "properties": {
@@ -516,14 +1537,11 @@
516
1537
  "type": "string"
517
1538
  }
518
1539
  },
519
- "appRedemptionCode": {
520
- "type": "string"
521
- },
522
1540
  "birth_date": {
523
1541
  "type": "string"
524
1542
  },
525
1543
  "blurred_image": {
526
- "$ref": "#/components/schemas/sanityPatchOkrIcon"
1544
+ "$ref": "#/components/schemas/sanityPatchPageMetaImage"
527
1545
  },
528
1546
  "boardMember": {
529
1547
  "type": "boolean",
@@ -550,7 +1568,7 @@
550
1568
  "equipment": {
551
1569
  "type": "array",
552
1570
  "items": {
553
- "$ref": "#/components/schemas/sanityCreateEmployeeEquipmentInner"
1571
+ "$ref": "#/components/schemas/pageEquipmentInner"
554
1572
  }
555
1573
  },
556
1574
  "graduationYear": {
@@ -565,7 +1583,7 @@
565
1583
  }
566
1584
  },
567
1585
  "image": {
568
- "$ref": "#/components/schemas/sanityPatchOkrIcon"
1586
+ "$ref": "#/components/schemas/sanityPatchPageMetaImage"
569
1587
  },
570
1588
  "innovativeSalary": {
571
1589
  "type": "boolean",
@@ -576,6 +1594,14 @@
576
1594
  "format": "double",
577
1595
  "nullable": true
578
1596
  },
1597
+ "isBot": {
1598
+ "type": "boolean",
1599
+ "nullable": true
1600
+ },
1601
+ "isSeekingProject": {
1602
+ "type": "boolean",
1603
+ "nullable": true
1604
+ },
579
1605
  "manager": {
580
1606
  "$ref": "#/components/schemas/employeeReference"
581
1607
  },
@@ -599,13 +1625,11 @@
599
1625
  "format": "double",
600
1626
  "nullable": true
601
1627
  },
602
- "position": {
1628
+ "personalProjectRequirements": {
603
1629
  "type": "string"
604
1630
  },
605
- "satisfaction": {
606
- "type": "number",
607
- "format": "double",
608
- "nullable": true
1631
+ "position": {
1632
+ "type": "string"
609
1633
  },
610
1634
  "slug": {
611
1635
  "$ref": "#/components/schemas/slug"
@@ -684,9 +1708,6 @@
684
1708
  "type": "string"
685
1709
  }
686
1710
  },
687
- "appRedemptionCode": {
688
- "type": "string"
689
- },
690
1711
  "birth_date": {
691
1712
  "type": "string"
692
1713
  },
@@ -740,6 +1761,12 @@
740
1761
  "type": "number",
741
1762
  "format": "double"
742
1763
  },
1764
+ "isBot": {
1765
+ "type": "boolean"
1766
+ },
1767
+ "isSeekingProject": {
1768
+ "type": "boolean"
1769
+ },
743
1770
  "manager": {
744
1771
  "$ref": "#/components/schemas/sanityEmployeeManager"
745
1772
  },
@@ -762,6 +1789,9 @@
762
1789
  "type": "number",
763
1790
  "format": "double"
764
1791
  },
1792
+ "personalProjectRequirements": {
1793
+ "type": "string"
1794
+ },
765
1795
  "position": {
766
1796
  "type": "string"
767
1797
  },
@@ -777,10 +1807,6 @@
777
1807
  "sanityUpdatedAt": {
778
1808
  "type": "string"
779
1809
  },
780
- "satisfaction": {
781
- "type": "number",
782
- "format": "double"
783
- },
784
1810
  "slug": {
785
1811
  "$ref": "#/components/schemas/slug"
786
1812
  },
@@ -917,27 +1943,6 @@
917
1943
  }
918
1944
  }
919
1945
  },
920
- "sanityCreateEmployeeEquipmentInner": {
921
- "type": "object",
922
- "properties": {
923
- "sanityType": {
924
- "enum": [
925
- "reference"
926
- ],
927
- "type": "string",
928
- "default": "reference"
929
- },
930
- "sanityKey": {
931
- "type": "string"
932
- },
933
- "sanityRef": {
934
- "type": "string"
935
- },
936
- "sanityWeak": {
937
- "type": "boolean"
938
- }
939
- }
940
- },
941
1946
  "sanityCreateEmployeeGroupsInner": {
942
1947
  "type": "object",
943
1948
  "properties": {
@@ -1125,7 +2130,7 @@
1125
2130
  "leaders": {
1126
2131
  "type": "array",
1127
2132
  "items": {
1128
- "$ref": "#/components/schemas/sanityEmployeeGroupsInnerLeadersInner"
2133
+ "$ref": "#/components/schemas/pageEmployeeOrderInner"
1129
2134
  }
1130
2135
  },
1131
2136
  "name": {
@@ -1145,27 +2150,6 @@
1145
2150
  }
1146
2151
  }
1147
2152
  },
1148
- "sanityEmployeeGroupsInnerLeadersInner": {
1149
- "type": "object",
1150
- "properties": {
1151
- "sanityType": {
1152
- "enum": [
1153
- "reference"
1154
- ],
1155
- "type": "string",
1156
- "default": "reference"
1157
- },
1158
- "sanityKey": {
1159
- "type": "string"
1160
- },
1161
- "sanityRef": {
1162
- "type": "string"
1163
- },
1164
- "sanityWeak": {
1165
- "type": "boolean"
1166
- }
1167
- }
1168
- },
1169
2153
  "sanityEmployeeManager": {
1170
2154
  "type": "object",
1171
2155
  "properties": {
@@ -1597,7 +2581,7 @@
1597
2581
  }
1598
2582
  }
1599
2583
  },
1600
- "sanityPatchOkrIcon": {
2584
+ "sanityPatchPageMetaImage": {
1601
2585
  "type": "object",
1602
2586
  "properties": {
1603
2587
  "sanityType": {
@@ -1843,6 +2827,23 @@
1843
2827
  "$ref": "#/components/schemas/tag"
1844
2828
  }
1845
2829
  }
2830
+ },
2831
+ "updateProposalRequest": {
2832
+ "type": "object",
2833
+ "properties": {
2834
+ "name": {
2835
+ "type": "string",
2836
+ "nullable": true
2837
+ },
2838
+ "archived": {
2839
+ "type": "boolean",
2840
+ "nullable": true
2841
+ },
2842
+ "status": {
2843
+ "type": "string",
2844
+ "nullable": true
2845
+ }
2846
+ }
1846
2847
  }
1847
2848
  },
1848
2849
  "securitySchemes": {