@snokam/mcp-api 2.61.1 → 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.
- package/dist/auth.d.ts +0 -15
- package/dist/auth.js +17 -61
- package/dist/builtin-tools.d.ts +109 -0
- package/dist/builtin-tools.js +200 -0
- package/dist/execute-call.d.ts +5 -0
- package/dist/execute-call.js +45 -0
- package/dist/index.d.ts +0 -7
- package/dist/index.js +16 -311
- package/dist/openapi-loader.d.ts +1 -14
- package/dist/openapi-loader.js +27 -50
- package/dist/requirements.d.ts +10 -0
- package/dist/requirements.js +92 -0
- package/dist/state.d.ts +14 -0
- package/dist/state.js +66 -0
- package/dist/tool-schema.d.ts +2 -0
- package/dist/tool-schema.js +42 -0
- package/package.json +8 -3
- package/specs/production/accounting.json +2931 -2321
- package/specs/production/blog.json +747 -1497
- package/specs/production/broker.json +54 -25
- package/specs/production/chatgpt.json +570 -207
- package/specs/production/employees.json +2697 -1823
- package/specs/production/events.json +615 -974
- package/specs/production/notifications.json +329 -15
- package/specs/production/office.json +818 -836
- package/specs/production/recruitment.json +1883 -1207
- package/specs/production/sales.json +2909 -1172
- package/specs/production/sanity.json +47384 -16348
- package/specs/production/sync.json +116 -20
- package/specs/production/webshop.json +37 -17
- package/specs/test/accounting.json +2931 -2321
- package/specs/test/blog.json +747 -1497
- package/specs/test/broker.json +54 -25
- package/specs/test/chatgpt.json +570 -207
- package/specs/test/employees.json +2697 -1823
- package/specs/test/events.json +615 -974
- package/specs/test/notifications.json +329 -15
- package/specs/test/office.json +818 -836
- package/specs/test/recruitment.json +1883 -1207
- package/specs/test/sales.json +2909 -1172
- package/specs/test/sanity.json +47384 -16348
- package/specs/test/sync.json +116 -20
- package/specs/test/webshop.json +37 -17
|
@@ -34,6 +34,48 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
+
"/v1.0/protected/health/{provider}": {
|
|
38
|
+
"get": {
|
|
39
|
+
"tags": [
|
|
40
|
+
"Health"
|
|
41
|
+
],
|
|
42
|
+
"summary": "Checks an integration's connectivity",
|
|
43
|
+
"operationId": "RecruitmentIntegrationHealth",
|
|
44
|
+
"parameters": [
|
|
45
|
+
{
|
|
46
|
+
"name": "provider",
|
|
47
|
+
"in": "path",
|
|
48
|
+
"required": true,
|
|
49
|
+
"schema": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"responses": {
|
|
55
|
+
"200": {
|
|
56
|
+
"description": "Payload of IntegrationHealthResult",
|
|
57
|
+
"content": {
|
|
58
|
+
"application/json": {
|
|
59
|
+
"schema": {
|
|
60
|
+
"$ref": "#/components/schemas/integrationHealthResult"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"x-ms-summary": "Health result"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"security": [
|
|
68
|
+
{
|
|
69
|
+
"Implicit": [
|
|
70
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"ApiKey": []
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
37
79
|
"/v1.0/protected/candidates": {
|
|
38
80
|
"get": {
|
|
39
81
|
"tags": [
|
|
@@ -65,8 +107,11 @@
|
|
|
65
107
|
"security": [
|
|
66
108
|
{
|
|
67
109
|
"Implicit": [
|
|
68
|
-
"api://
|
|
110
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
69
111
|
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"ApiKey": []
|
|
70
115
|
}
|
|
71
116
|
]
|
|
72
117
|
},
|
|
@@ -77,12 +122,30 @@
|
|
|
77
122
|
"summary": "Create a fresh admin-initiated candidate",
|
|
78
123
|
"description": "Creates a candidate document directly (not via the public application flow). Caller supplies name + status + track.",
|
|
79
124
|
"operationId": "CreateCandidate",
|
|
125
|
+
"parameters": [
|
|
126
|
+
{
|
|
127
|
+
"name": "notifyEmail",
|
|
128
|
+
"in": "query",
|
|
129
|
+
"schema": {
|
|
130
|
+
"type": "boolean"
|
|
131
|
+
},
|
|
132
|
+
"x-ms-summary": "If false, suppress the welcome email even when the candidate has an email on file. Defaults to true."
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "notifySms",
|
|
136
|
+
"in": "query",
|
|
137
|
+
"schema": {
|
|
138
|
+
"type": "boolean"
|
|
139
|
+
},
|
|
140
|
+
"x-ms-summary": "If false, suppress the welcome SMS even when the candidate has a phone on file. Defaults to true."
|
|
141
|
+
}
|
|
142
|
+
],
|
|
80
143
|
"requestBody": {
|
|
81
144
|
"description": "Initial candidate fields",
|
|
82
145
|
"content": {
|
|
83
146
|
"application/json": {
|
|
84
147
|
"schema": {
|
|
85
|
-
"$ref": "#/components/schemas/
|
|
148
|
+
"$ref": "#/components/schemas/createCandidateInput"
|
|
86
149
|
}
|
|
87
150
|
}
|
|
88
151
|
},
|
|
@@ -119,8 +182,11 @@
|
|
|
119
182
|
"security": [
|
|
120
183
|
{
|
|
121
184
|
"Implicit": [
|
|
122
|
-
"api://
|
|
185
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
123
186
|
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"ApiKey": []
|
|
124
190
|
}
|
|
125
191
|
]
|
|
126
192
|
}
|
|
@@ -168,8 +234,11 @@
|
|
|
168
234
|
"security": [
|
|
169
235
|
{
|
|
170
236
|
"Implicit": [
|
|
171
|
-
"api://
|
|
237
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
172
238
|
]
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"ApiKey": []
|
|
173
242
|
}
|
|
174
243
|
]
|
|
175
244
|
},
|
|
@@ -189,14 +258,30 @@
|
|
|
189
258
|
"type": "string"
|
|
190
259
|
},
|
|
191
260
|
"x-ms-summary": "Candidate Sanity id"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "notifyEmail",
|
|
264
|
+
"in": "query",
|
|
265
|
+
"schema": {
|
|
266
|
+
"type": "boolean"
|
|
267
|
+
},
|
|
268
|
+
"x-ms-summary": "If true and the patch changes status, send the candidate the email for the new status"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "notifySms",
|
|
272
|
+
"in": "query",
|
|
273
|
+
"schema": {
|
|
274
|
+
"type": "boolean"
|
|
275
|
+
},
|
|
276
|
+
"x-ms-summary": "If true and the patch changes status, send the candidate the SMS for the new status"
|
|
192
277
|
}
|
|
193
278
|
],
|
|
194
279
|
"requestBody": {
|
|
195
|
-
"description": "Partial candidate fields to update",
|
|
280
|
+
"description": "Partial candidate fields to update, plus an optional interviewBooking sub-payload that triggers events-function event creation when status moves to an *_INTERVIEW value",
|
|
196
281
|
"content": {
|
|
197
282
|
"application/json": {
|
|
198
283
|
"schema": {
|
|
199
|
-
"$ref": "#/components/schemas/
|
|
284
|
+
"$ref": "#/components/schemas/patchCandidateRequestBody"
|
|
200
285
|
}
|
|
201
286
|
}
|
|
202
287
|
},
|
|
@@ -237,8 +322,11 @@
|
|
|
237
322
|
"security": [
|
|
238
323
|
{
|
|
239
324
|
"Implicit": [
|
|
240
|
-
"api://
|
|
325
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
241
326
|
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"ApiKey": []
|
|
242
330
|
}
|
|
243
331
|
]
|
|
244
332
|
}
|
|
@@ -297,20 +385,23 @@
|
|
|
297
385
|
"security": [
|
|
298
386
|
{
|
|
299
387
|
"Implicit": [
|
|
300
|
-
"api://
|
|
388
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
301
389
|
]
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"ApiKey": []
|
|
302
393
|
}
|
|
303
394
|
]
|
|
304
395
|
}
|
|
305
396
|
},
|
|
306
|
-
"/v1.0/protected/candidates/{id}/
|
|
397
|
+
"/v1.0/protected/candidates/{id}/reject": {
|
|
307
398
|
"post": {
|
|
308
399
|
"tags": [
|
|
309
400
|
"Candidates"
|
|
310
401
|
],
|
|
311
|
-
"summary": "
|
|
312
|
-
"description": "
|
|
313
|
-
"operationId": "
|
|
402
|
+
"summary": "Reject a candidate",
|
|
403
|
+
"description": "Sets status=REJECTED. Optionally sends an admin-edited rejection email and/or SMS — both default to off so the status flip is the only guaranteed side-effect.",
|
|
404
|
+
"operationId": "RejectCandidate",
|
|
314
405
|
"parameters": [
|
|
315
406
|
{
|
|
316
407
|
"name": "id",
|
|
@@ -320,40 +411,30 @@
|
|
|
320
411
|
"type": "string"
|
|
321
412
|
},
|
|
322
413
|
"x-ms-summary": "Candidate Sanity id"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"name": "system",
|
|
326
|
-
"in": "path",
|
|
327
|
-
"required": true,
|
|
328
|
-
"schema": {
|
|
329
|
-
"type": "string"
|
|
330
|
-
},
|
|
331
|
-
"x-ms-summary": "System slug (e.g. 'microsoft-365')"
|
|
332
414
|
}
|
|
333
415
|
],
|
|
416
|
+
"requestBody": {
|
|
417
|
+
"description": "Optional admin-edited email/SMS draft + per-channel send flags. Omit to reject without notifying.",
|
|
418
|
+
"content": {
|
|
419
|
+
"application/json": {
|
|
420
|
+
"schema": {
|
|
421
|
+
"$ref": "#/components/schemas/rejectCandidateMessage"
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
334
426
|
"responses": {
|
|
335
427
|
"200": {
|
|
336
|
-
"description": "
|
|
428
|
+
"description": "Payload of SanityCandidate",
|
|
337
429
|
"content": {
|
|
338
430
|
"application/json": {
|
|
339
431
|
"schema": {
|
|
340
|
-
"$ref": "#/components/schemas/
|
|
432
|
+
"$ref": "#/components/schemas/sanityCandidate"
|
|
341
433
|
}
|
|
342
434
|
}
|
|
343
435
|
},
|
|
344
436
|
"x-ms-summary": "Success"
|
|
345
437
|
},
|
|
346
|
-
"400": {
|
|
347
|
-
"description": "Payload of Object",
|
|
348
|
-
"content": {
|
|
349
|
-
"application/json": {
|
|
350
|
-
"schema": {
|
|
351
|
-
"type": "object"
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
},
|
|
355
|
-
"x-ms-summary": "Bad Request"
|
|
356
|
-
},
|
|
357
438
|
"401": {
|
|
358
439
|
"description": "No description",
|
|
359
440
|
"x-ms-summary": "Unauthorized"
|
|
@@ -366,73 +447,72 @@
|
|
|
366
447
|
"security": [
|
|
367
448
|
{
|
|
368
449
|
"Implicit": [
|
|
369
|
-
"api://
|
|
450
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
370
451
|
]
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"ApiKey": []
|
|
371
455
|
}
|
|
372
456
|
]
|
|
373
457
|
}
|
|
374
458
|
},
|
|
375
|
-
"/v1.0/protected/
|
|
376
|
-
"
|
|
459
|
+
"/v1.0/protected/employees": {
|
|
460
|
+
"get": {
|
|
377
461
|
"tags": [
|
|
378
|
-
"
|
|
379
|
-
],
|
|
380
|
-
"summary": "Run the onboarding chain with a live SSE event feed",
|
|
381
|
-
"description": "Same chain as /onboard-full but streams Server-Sent Events (`event: step`) as each step starts (`status:running`) and finishes (`succeeded`/`failed`). Closes with `event: done`. Frontend uses fetch streaming so we can pass a Bearer token; EventSource doesn't support custom headers.",
|
|
382
|
-
"operationId": "OnboardCandidateFullStream",
|
|
383
|
-
"parameters": [
|
|
384
|
-
{
|
|
385
|
-
"name": "id",
|
|
386
|
-
"in": "path",
|
|
387
|
-
"required": true,
|
|
388
|
-
"schema": {
|
|
389
|
-
"type": "string"
|
|
390
|
-
}
|
|
391
|
-
}
|
|
462
|
+
"Employees"
|
|
392
463
|
],
|
|
464
|
+
"summary": "List employees for buddy/recruiter assignment",
|
|
465
|
+
"description": "Lightweight employee list used by the candidate detail page's buddy and recruiter dropdowns.",
|
|
466
|
+
"operationId": "ListRecruitmentEmployees",
|
|
393
467
|
"responses": {
|
|
394
468
|
"200": {
|
|
469
|
+
"description": "Payload of Array of SanityBasicEmployee",
|
|
470
|
+
"content": {
|
|
471
|
+
"application/json": {
|
|
472
|
+
"schema": {
|
|
473
|
+
"type": "array",
|
|
474
|
+
"items": {
|
|
475
|
+
"$ref": "#/components/schemas/sanityBasicEmployee"
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"x-ms-summary": "Success"
|
|
481
|
+
},
|
|
482
|
+
"401": {
|
|
395
483
|
"description": "No description",
|
|
396
|
-
"x-ms-summary": "
|
|
484
|
+
"x-ms-summary": "Unauthorized"
|
|
397
485
|
}
|
|
398
486
|
},
|
|
399
487
|
"security": [
|
|
400
488
|
{
|
|
401
489
|
"Implicit": [
|
|
402
|
-
"api://
|
|
490
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
403
491
|
]
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"ApiKey": []
|
|
404
495
|
}
|
|
405
496
|
]
|
|
406
497
|
}
|
|
407
498
|
},
|
|
408
|
-
"/v1.0/protected/
|
|
409
|
-
"
|
|
499
|
+
"/v1.0/protected/job-positions": {
|
|
500
|
+
"get": {
|
|
410
501
|
"tags": [
|
|
411
|
-
"
|
|
412
|
-
],
|
|
413
|
-
"summary": "Run the full automated onboarding chain",
|
|
414
|
-
"description": "Provisions the candidate's Microsoft 365 user, then triggers an Azure AD → Sanity sync to create the matching employee doc. Returns one OnboardingResult row per step so the admin UI can render a live timeline.",
|
|
415
|
-
"operationId": "OnboardCandidateFull",
|
|
416
|
-
"parameters": [
|
|
417
|
-
{
|
|
418
|
-
"name": "id",
|
|
419
|
-
"in": "path",
|
|
420
|
-
"required": true,
|
|
421
|
-
"schema": {
|
|
422
|
-
"type": "string"
|
|
423
|
-
},
|
|
424
|
-
"x-ms-summary": "Candidate Sanity id"
|
|
425
|
-
}
|
|
502
|
+
"JobPositions"
|
|
426
503
|
],
|
|
504
|
+
"summary": "List published job positions",
|
|
505
|
+
"description": "Returns every job position document. Used by the admin stillinger page.",
|
|
506
|
+
"operationId": "ListJobPositions",
|
|
427
507
|
"responses": {
|
|
428
508
|
"200": {
|
|
429
|
-
"description": "
|
|
509
|
+
"description": "Payload of Array of SanityJobPosition",
|
|
430
510
|
"content": {
|
|
431
511
|
"application/json": {
|
|
432
512
|
"schema": {
|
|
433
513
|
"type": "array",
|
|
434
514
|
"items": {
|
|
435
|
-
"$ref": "#/components/schemas/
|
|
515
|
+
"$ref": "#/components/schemas/sanityJobPosition"
|
|
436
516
|
}
|
|
437
517
|
}
|
|
438
518
|
}
|
|
@@ -442,48 +522,37 @@
|
|
|
442
522
|
"401": {
|
|
443
523
|
"description": "No description",
|
|
444
524
|
"x-ms-summary": "Unauthorized"
|
|
445
|
-
},
|
|
446
|
-
"404": {
|
|
447
|
-
"description": "No description",
|
|
448
|
-
"x-ms-summary": "Not Found"
|
|
449
525
|
}
|
|
450
526
|
},
|
|
451
527
|
"security": [
|
|
452
528
|
{
|
|
453
529
|
"Implicit": [
|
|
454
|
-
"api://
|
|
530
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
455
531
|
]
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"ApiKey": []
|
|
456
535
|
}
|
|
457
536
|
]
|
|
458
537
|
}
|
|
459
538
|
},
|
|
460
|
-
"/v1.0/protected/
|
|
461
|
-
"
|
|
539
|
+
"/v1.0/protected/systems": {
|
|
540
|
+
"get": {
|
|
462
541
|
"tags": [
|
|
463
|
-
"
|
|
464
|
-
],
|
|
465
|
-
"summary": "Run the full automated offboarding chain",
|
|
466
|
-
"description": "Disables the candidate's Microsoft 365 user and triggers an Azure AD → Sanity sync so the employee doc reflects the disabled state.",
|
|
467
|
-
"operationId": "OffboardCandidateFull",
|
|
468
|
-
"parameters": [
|
|
469
|
-
{
|
|
470
|
-
"name": "id",
|
|
471
|
-
"in": "path",
|
|
472
|
-
"required": true,
|
|
473
|
-
"schema": {
|
|
474
|
-
"type": "string"
|
|
475
|
-
}
|
|
476
|
-
}
|
|
542
|
+
"Systems"
|
|
477
543
|
],
|
|
544
|
+
"summary": "List systems used for onboarding checklists",
|
|
545
|
+
"description": "Returns every system document. Used by the candidate detail and systems library pages.",
|
|
546
|
+
"operationId": "ListSystems",
|
|
478
547
|
"responses": {
|
|
479
548
|
"200": {
|
|
480
|
-
"description": "
|
|
549
|
+
"description": "Payload of Array of SanitySystemsInner",
|
|
481
550
|
"content": {
|
|
482
551
|
"application/json": {
|
|
483
552
|
"schema": {
|
|
484
553
|
"type": "array",
|
|
485
554
|
"items": {
|
|
486
|
-
"$ref": "#/components/schemas/
|
|
555
|
+
"$ref": "#/components/schemas/sanitySystemsInner"
|
|
487
556
|
}
|
|
488
557
|
}
|
|
489
558
|
}
|
|
@@ -493,120 +562,93 @@
|
|
|
493
562
|
"401": {
|
|
494
563
|
"description": "No description",
|
|
495
564
|
"x-ms-summary": "Unauthorized"
|
|
496
|
-
},
|
|
497
|
-
"404": {
|
|
498
|
-
"description": "No description",
|
|
499
|
-
"x-ms-summary": "Not Found"
|
|
500
565
|
}
|
|
501
566
|
},
|
|
502
567
|
"security": [
|
|
503
568
|
{
|
|
504
569
|
"Implicit": [
|
|
505
|
-
"api://
|
|
570
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
506
571
|
]
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"ApiKey": []
|
|
507
575
|
}
|
|
508
576
|
]
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
"/v1.0/protected/candidates/{id}/offboard-full/stream": {
|
|
577
|
+
},
|
|
512
578
|
"post": {
|
|
513
579
|
"tags": [
|
|
514
|
-
"
|
|
580
|
+
"Systems"
|
|
515
581
|
],
|
|
516
|
-
"summary": "
|
|
517
|
-
"description": "
|
|
518
|
-
"operationId": "
|
|
519
|
-
"
|
|
520
|
-
{
|
|
521
|
-
"
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
"type": "string"
|
|
582
|
+
"summary": "Create a system",
|
|
583
|
+
"description": "Adds a new system to the onboarding/offboarding system library.",
|
|
584
|
+
"operationId": "CreateSystem",
|
|
585
|
+
"requestBody": {
|
|
586
|
+
"content": {
|
|
587
|
+
"application/json": {
|
|
588
|
+
"schema": {
|
|
589
|
+
"$ref": "#/components/schemas/sanityCreateSystem"
|
|
590
|
+
}
|
|
526
591
|
}
|
|
527
|
-
}
|
|
528
|
-
|
|
592
|
+
},
|
|
593
|
+
"required": true
|
|
594
|
+
},
|
|
529
595
|
"responses": {
|
|
530
596
|
"200": {
|
|
531
|
-
"description": "
|
|
532
|
-
"x-ms-summary": "SSE stream of OnboardingResult frames"
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"security": [
|
|
536
|
-
{
|
|
537
|
-
"Implicit": [
|
|
538
|
-
"api://b9f9de6f-132f-4a9a-a583-e9054a46f2fa/.default"
|
|
539
|
-
]
|
|
540
|
-
}
|
|
541
|
-
]
|
|
542
|
-
}
|
|
543
|
-
},
|
|
544
|
-
"/v1.0/protected/candidates/{id}/reject": {
|
|
545
|
-
"post": {
|
|
546
|
-
"tags": [
|
|
547
|
-
"Candidates"
|
|
548
|
-
],
|
|
549
|
-
"summary": "Reject a candidate",
|
|
550
|
-
"description": "Sets status=REJECTED. Convenience wrapper over PatchCandidate so UIs have a single-action reject button.",
|
|
551
|
-
"operationId": "RejectCandidate",
|
|
552
|
-
"parameters": [
|
|
553
|
-
{
|
|
554
|
-
"name": "id",
|
|
555
|
-
"in": "path",
|
|
556
|
-
"required": true,
|
|
557
|
-
"schema": {
|
|
558
|
-
"type": "string"
|
|
559
|
-
},
|
|
560
|
-
"x-ms-summary": "Candidate Sanity id"
|
|
561
|
-
}
|
|
562
|
-
],
|
|
563
|
-
"responses": {
|
|
564
|
-
"200": {
|
|
565
|
-
"description": "Payload of SanityCandidate",
|
|
597
|
+
"description": "Payload of SanitySystemsInner",
|
|
566
598
|
"content": {
|
|
567
599
|
"application/json": {
|
|
568
600
|
"schema": {
|
|
569
|
-
"$ref": "#/components/schemas/
|
|
601
|
+
"$ref": "#/components/schemas/sanitySystemsInner"
|
|
570
602
|
}
|
|
571
603
|
}
|
|
572
604
|
},
|
|
573
605
|
"x-ms-summary": "Success"
|
|
574
606
|
},
|
|
607
|
+
"400": {
|
|
608
|
+
"description": "Payload of Object",
|
|
609
|
+
"content": {
|
|
610
|
+
"application/json": {
|
|
611
|
+
"schema": {
|
|
612
|
+
"type": "object"
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"x-ms-summary": "Bad Request"
|
|
617
|
+
},
|
|
575
618
|
"401": {
|
|
576
619
|
"description": "No description",
|
|
577
620
|
"x-ms-summary": "Unauthorized"
|
|
578
|
-
},
|
|
579
|
-
"404": {
|
|
580
|
-
"description": "No description",
|
|
581
|
-
"x-ms-summary": "Not Found"
|
|
582
621
|
}
|
|
583
622
|
},
|
|
584
623
|
"security": [
|
|
585
624
|
{
|
|
586
625
|
"Implicit": [
|
|
587
|
-
"api://
|
|
626
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
588
627
|
]
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"ApiKey": []
|
|
589
631
|
}
|
|
590
632
|
]
|
|
591
633
|
}
|
|
592
634
|
},
|
|
593
|
-
"/v1.0/protected/
|
|
635
|
+
"/v1.0/protected/onboarding-chain/automated-system-titles": {
|
|
594
636
|
"get": {
|
|
595
637
|
"tags": [
|
|
596
|
-
"
|
|
638
|
+
"Systems"
|
|
597
639
|
],
|
|
598
|
-
"summary": "List
|
|
599
|
-
"description": "Returns
|
|
600
|
-
"operationId": "
|
|
640
|
+
"summary": "List systems handled end-to-end by the onboarding chain",
|
|
641
|
+
"description": "Returns title + maturity status (stable / beta) so the admin UI can badge systems that need no per-row admin action and flag the experimental ones.",
|
|
642
|
+
"operationId": "GetChainAutomatedSystemTitles",
|
|
601
643
|
"responses": {
|
|
602
644
|
"200": {
|
|
603
|
-
"description": "Payload of Array of
|
|
645
|
+
"description": "Payload of Array of ChainAutomatedSystem",
|
|
604
646
|
"content": {
|
|
605
647
|
"application/json": {
|
|
606
648
|
"schema": {
|
|
607
649
|
"type": "array",
|
|
608
650
|
"items": {
|
|
609
|
-
"$ref": "#/components/schemas/
|
|
651
|
+
"$ref": "#/components/schemas/chainAutomatedSystem"
|
|
610
652
|
}
|
|
611
653
|
}
|
|
612
654
|
}
|
|
@@ -621,30 +663,30 @@
|
|
|
621
663
|
"security": [
|
|
622
664
|
{
|
|
623
665
|
"Implicit": [
|
|
624
|
-
"api://
|
|
666
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
625
667
|
]
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"ApiKey": []
|
|
626
671
|
}
|
|
627
672
|
]
|
|
628
673
|
}
|
|
629
674
|
},
|
|
630
|
-
"/v1.0/protected/
|
|
675
|
+
"/v1.0/protected/license-availability": {
|
|
631
676
|
"get": {
|
|
632
677
|
"tags": [
|
|
633
678
|
"Systems"
|
|
634
679
|
],
|
|
635
|
-
"summary": "
|
|
636
|
-
"description": "
|
|
637
|
-
"operationId": "
|
|
680
|
+
"summary": "Available Microsoft 365 seats for the configured onboarding SKU",
|
|
681
|
+
"description": "Reads /subscribedSkus and returns enabled / consumed counts for the M365_LICENSE_SKU_ID configured for the onboarding chain. The admin UI uses this to surface a 'buy more licenses' prompt before running the chain — Graph has no purchase API.",
|
|
682
|
+
"operationId": "GetLicenseAvailability",
|
|
638
683
|
"responses": {
|
|
639
684
|
"200": {
|
|
640
|
-
"description": "Payload of
|
|
685
|
+
"description": "Payload of LicenseAvailability",
|
|
641
686
|
"content": {
|
|
642
687
|
"application/json": {
|
|
643
688
|
"schema": {
|
|
644
|
-
"
|
|
645
|
-
"items": {
|
|
646
|
-
"$ref": "#/components/schemas/sanitySystemsInner"
|
|
647
|
-
}
|
|
689
|
+
"$ref": "#/components/schemas/licenseAvailability"
|
|
648
690
|
}
|
|
649
691
|
}
|
|
650
692
|
},
|
|
@@ -658,23 +700,37 @@
|
|
|
658
700
|
"security": [
|
|
659
701
|
{
|
|
660
702
|
"Implicit": [
|
|
661
|
-
"api://
|
|
703
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
662
704
|
]
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"ApiKey": []
|
|
663
708
|
}
|
|
664
709
|
]
|
|
665
|
-
}
|
|
666
|
-
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
"/v1.0/protected/systems/{id}": {
|
|
713
|
+
"patch": {
|
|
667
714
|
"tags": [
|
|
668
715
|
"Systems"
|
|
669
716
|
],
|
|
670
|
-
"summary": "
|
|
671
|
-
"
|
|
672
|
-
"
|
|
717
|
+
"summary": "Update a system",
|
|
718
|
+
"operationId": "PatchSystem",
|
|
719
|
+
"parameters": [
|
|
720
|
+
{
|
|
721
|
+
"name": "id",
|
|
722
|
+
"in": "path",
|
|
723
|
+
"required": true,
|
|
724
|
+
"schema": {
|
|
725
|
+
"type": "string"
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
],
|
|
673
729
|
"requestBody": {
|
|
674
730
|
"content": {
|
|
675
731
|
"application/json": {
|
|
676
732
|
"schema": {
|
|
677
|
-
"$ref": "#/components/schemas/
|
|
733
|
+
"$ref": "#/components/schemas/sanityPatchSystem"
|
|
678
734
|
}
|
|
679
735
|
}
|
|
680
736
|
},
|
|
@@ -706,13 +762,68 @@
|
|
|
706
762
|
"401": {
|
|
707
763
|
"description": "No description",
|
|
708
764
|
"x-ms-summary": "Unauthorized"
|
|
765
|
+
},
|
|
766
|
+
"404": {
|
|
767
|
+
"description": "No description",
|
|
768
|
+
"x-ms-summary": "Not Found"
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"security": [
|
|
772
|
+
{
|
|
773
|
+
"Implicit": [
|
|
774
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
775
|
+
]
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
"ApiKey": []
|
|
779
|
+
}
|
|
780
|
+
]
|
|
781
|
+
},
|
|
782
|
+
"delete": {
|
|
783
|
+
"tags": [
|
|
784
|
+
"Systems"
|
|
785
|
+
],
|
|
786
|
+
"summary": "Delete a system",
|
|
787
|
+
"operationId": "DeleteSystem",
|
|
788
|
+
"parameters": [
|
|
789
|
+
{
|
|
790
|
+
"name": "id",
|
|
791
|
+
"in": "path",
|
|
792
|
+
"required": true,
|
|
793
|
+
"schema": {
|
|
794
|
+
"type": "string"
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
],
|
|
798
|
+
"responses": {
|
|
799
|
+
"200": {
|
|
800
|
+
"description": "Payload of SanitySystemsInner",
|
|
801
|
+
"content": {
|
|
802
|
+
"application/json": {
|
|
803
|
+
"schema": {
|
|
804
|
+
"$ref": "#/components/schemas/sanitySystemsInner"
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"x-ms-summary": "Success"
|
|
809
|
+
},
|
|
810
|
+
"401": {
|
|
811
|
+
"description": "No description",
|
|
812
|
+
"x-ms-summary": "Unauthorized"
|
|
813
|
+
},
|
|
814
|
+
"404": {
|
|
815
|
+
"description": "No description",
|
|
816
|
+
"x-ms-summary": "Not Found"
|
|
709
817
|
}
|
|
710
818
|
},
|
|
711
819
|
"security": [
|
|
712
820
|
{
|
|
713
821
|
"Implicit": [
|
|
714
|
-
"api://
|
|
822
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
715
823
|
]
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"ApiKey": []
|
|
716
827
|
}
|
|
717
828
|
]
|
|
718
829
|
}
|
|
@@ -748,8 +859,11 @@
|
|
|
748
859
|
"security": [
|
|
749
860
|
{
|
|
750
861
|
"Implicit": [
|
|
751
|
-
"api://
|
|
862
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
752
863
|
]
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"ApiKey": []
|
|
753
867
|
}
|
|
754
868
|
]
|
|
755
869
|
}
|
|
@@ -785,8 +899,11 @@
|
|
|
785
899
|
"security": [
|
|
786
900
|
{
|
|
787
901
|
"Implicit": [
|
|
788
|
-
"api://
|
|
902
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
789
903
|
]
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"ApiKey": []
|
|
790
907
|
}
|
|
791
908
|
]
|
|
792
909
|
}
|
|
@@ -822,8 +939,11 @@
|
|
|
822
939
|
"security": [
|
|
823
940
|
{
|
|
824
941
|
"Implicit": [
|
|
825
|
-
"api://
|
|
942
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
826
943
|
]
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"ApiKey": []
|
|
827
947
|
}
|
|
828
948
|
]
|
|
829
949
|
}
|
|
@@ -877,8 +997,11 @@
|
|
|
877
997
|
"security": [
|
|
878
998
|
{
|
|
879
999
|
"Implicit": [
|
|
880
|
-
"api://
|
|
1000
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
881
1001
|
]
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"ApiKey": []
|
|
882
1005
|
}
|
|
883
1006
|
]
|
|
884
1007
|
}
|
|
@@ -946,8 +1069,11 @@
|
|
|
946
1069
|
"security": [
|
|
947
1070
|
{
|
|
948
1071
|
"Implicit": [
|
|
949
|
-
"api://
|
|
1072
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
950
1073
|
]
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"ApiKey": []
|
|
951
1077
|
}
|
|
952
1078
|
]
|
|
953
1079
|
},
|
|
@@ -992,19 +1118,23 @@
|
|
|
992
1118
|
"security": [
|
|
993
1119
|
{
|
|
994
1120
|
"Implicit": [
|
|
995
|
-
"api://
|
|
1121
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
996
1122
|
]
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"ApiKey": []
|
|
997
1126
|
}
|
|
998
1127
|
]
|
|
999
1128
|
}
|
|
1000
1129
|
},
|
|
1001
|
-
"/v1.0/protected/
|
|
1002
|
-
"
|
|
1130
|
+
"/v1.0/protected/candidates/{id}/generate-offer-pdf": {
|
|
1131
|
+
"post": {
|
|
1003
1132
|
"tags": [
|
|
1004
|
-
"
|
|
1133
|
+
"Candidates"
|
|
1005
1134
|
],
|
|
1006
|
-
"summary": "
|
|
1007
|
-
"
|
|
1135
|
+
"summary": "Generate the 'Tilbud om ansettelse' PDF and store it on the candidate",
|
|
1136
|
+
"description": "Renders the Snøkam offer letter, uploads it as a Sanity file asset, and patches candidate.offerPdf to point at it. Stock percentage is taken from candidate.ownership; salary/pension language and the signing chair are fixed template constants. Re-running overwrites the previous PDF. Returns the updated candidate so the caller can read offerPdf.asset.url without an extra refetch.",
|
|
1137
|
+
"operationId": "GenerateOfferPdf",
|
|
1008
1138
|
"parameters": [
|
|
1009
1139
|
{
|
|
1010
1140
|
"name": "id",
|
|
@@ -1012,42 +1142,22 @@
|
|
|
1012
1142
|
"required": true,
|
|
1013
1143
|
"schema": {
|
|
1014
1144
|
"type": "string"
|
|
1015
|
-
}
|
|
1145
|
+
},
|
|
1146
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
1016
1147
|
}
|
|
1017
1148
|
],
|
|
1018
|
-
"requestBody": {
|
|
1019
|
-
"content": {
|
|
1020
|
-
"application/json": {
|
|
1021
|
-
"schema": {
|
|
1022
|
-
"$ref": "#/components/schemas/sanityPatchSystem"
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
},
|
|
1026
|
-
"required": true
|
|
1027
|
-
},
|
|
1028
1149
|
"responses": {
|
|
1029
1150
|
"200": {
|
|
1030
|
-
"description": "Payload of
|
|
1151
|
+
"description": "Payload of SanityCandidate",
|
|
1031
1152
|
"content": {
|
|
1032
1153
|
"application/json": {
|
|
1033
1154
|
"schema": {
|
|
1034
|
-
"$ref": "#/components/schemas/
|
|
1155
|
+
"$ref": "#/components/schemas/sanityCandidate"
|
|
1035
1156
|
}
|
|
1036
1157
|
}
|
|
1037
1158
|
},
|
|
1038
1159
|
"x-ms-summary": "Success"
|
|
1039
1160
|
},
|
|
1040
|
-
"400": {
|
|
1041
|
-
"description": "Payload of Object",
|
|
1042
|
-
"content": {
|
|
1043
|
-
"application/json": {
|
|
1044
|
-
"schema": {
|
|
1045
|
-
"type": "object"
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
},
|
|
1049
|
-
"x-ms-summary": "Bad Request"
|
|
1050
|
-
},
|
|
1051
1161
|
"401": {
|
|
1052
1162
|
"description": "No description",
|
|
1053
1163
|
"x-ms-summary": "Unauthorized"
|
|
@@ -1060,17 +1170,23 @@
|
|
|
1060
1170
|
"security": [
|
|
1061
1171
|
{
|
|
1062
1172
|
"Implicit": [
|
|
1063
|
-
"api://
|
|
1173
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1064
1174
|
]
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"ApiKey": []
|
|
1065
1178
|
}
|
|
1066
1179
|
]
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
"/v1.0/protected/candidates/{id}/generate-contract-pdf": {
|
|
1183
|
+
"post": {
|
|
1069
1184
|
"tags": [
|
|
1070
|
-
"
|
|
1185
|
+
"Candidates"
|
|
1071
1186
|
],
|
|
1072
|
-
"summary": "
|
|
1073
|
-
"
|
|
1187
|
+
"summary": "Generate the 'Ansettelseskontrakt' PDF and store it on the candidate",
|
|
1188
|
+
"description": "Renders the Snøkam employment contract template, uploads it as a Sanity file asset, and patches candidate.contractPdf to point at it. The unsigned contract is what the candidate downloads, signs and the admin then uploads back as candidate.signedContract on the SIGNED status flip. Re-running overwrites the previous PDF. Returns the updated candidate so the caller can read contractPdf.asset.url without an extra refetch.",
|
|
1189
|
+
"operationId": "GenerateContractPdf",
|
|
1074
1190
|
"parameters": [
|
|
1075
1191
|
{
|
|
1076
1192
|
"name": "id",
|
|
@@ -1078,16 +1194,17 @@
|
|
|
1078
1194
|
"required": true,
|
|
1079
1195
|
"schema": {
|
|
1080
1196
|
"type": "string"
|
|
1081
|
-
}
|
|
1197
|
+
},
|
|
1198
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
1082
1199
|
}
|
|
1083
1200
|
],
|
|
1084
1201
|
"responses": {
|
|
1085
1202
|
"200": {
|
|
1086
|
-
"description": "Payload of
|
|
1203
|
+
"description": "Payload of SanityCandidate",
|
|
1087
1204
|
"content": {
|
|
1088
1205
|
"application/json": {
|
|
1089
1206
|
"schema": {
|
|
1090
|
-
"$ref": "#/components/schemas/
|
|
1207
|
+
"$ref": "#/components/schemas/sanityCandidate"
|
|
1091
1208
|
}
|
|
1092
1209
|
}
|
|
1093
1210
|
},
|
|
@@ -1105,250 +1222,1231 @@
|
|
|
1105
1222
|
"security": [
|
|
1106
1223
|
{
|
|
1107
1224
|
"Implicit": [
|
|
1108
|
-
"api://
|
|
1225
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1109
1226
|
]
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"ApiKey": []
|
|
1110
1230
|
}
|
|
1111
1231
|
]
|
|
1112
1232
|
}
|
|
1113
1233
|
},
|
|
1114
|
-
"/v1.0/protected/
|
|
1115
|
-
"
|
|
1234
|
+
"/v1.0/protected/candidates/{id}/upload-signed-contract": {
|
|
1235
|
+
"post": {
|
|
1116
1236
|
"tags": [
|
|
1117
|
-
"
|
|
1237
|
+
"Candidates"
|
|
1118
1238
|
],
|
|
1119
|
-
"summary": "
|
|
1120
|
-
"description": "
|
|
1121
|
-
"operationId": "
|
|
1239
|
+
"summary": "Upload the candidate's signed employment contract",
|
|
1240
|
+
"description": "Stores the admin-uploaded signed contract PDF as a Sanity file asset and patches candidate.signedContract. Used by the SIGNED status modal — the candidate-facing /prosess/{id}/signert page renders the resulting PDF inline. Send the file as multipart/form-data under the 'file' field, OR send the raw bytes as the request body with the appropriate Content-Type.",
|
|
1241
|
+
"operationId": "UploadSignedContract",
|
|
1242
|
+
"parameters": [
|
|
1243
|
+
{
|
|
1244
|
+
"name": "id",
|
|
1245
|
+
"in": "path",
|
|
1246
|
+
"required": true,
|
|
1247
|
+
"schema": {
|
|
1248
|
+
"type": "string"
|
|
1249
|
+
},
|
|
1250
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
1251
|
+
}
|
|
1252
|
+
],
|
|
1253
|
+
"requestBody": {
|
|
1254
|
+
"description": "Signed contract PDF bytes. Multipart 'file' field is also accepted.",
|
|
1255
|
+
"content": {
|
|
1256
|
+
"application/pdf": {
|
|
1257
|
+
"schema": {
|
|
1258
|
+
"type": "string",
|
|
1259
|
+
"format": "binary"
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
},
|
|
1263
|
+
"required": true
|
|
1264
|
+
},
|
|
1122
1265
|
"responses": {
|
|
1123
1266
|
"200": {
|
|
1124
|
-
"description": "Payload of
|
|
1267
|
+
"description": "Payload of SanityCandidate",
|
|
1125
1268
|
"content": {
|
|
1126
1269
|
"application/json": {
|
|
1127
1270
|
"schema": {
|
|
1128
|
-
"
|
|
1129
|
-
"items": {
|
|
1130
|
-
"$ref": "#/components/schemas/sanityBasicEmployee"
|
|
1131
|
-
}
|
|
1271
|
+
"$ref": "#/components/schemas/sanityCandidate"
|
|
1132
1272
|
}
|
|
1133
1273
|
}
|
|
1134
1274
|
},
|
|
1135
1275
|
"x-ms-summary": "Success"
|
|
1136
1276
|
},
|
|
1277
|
+
"400": {
|
|
1278
|
+
"description": "Payload of Object",
|
|
1279
|
+
"content": {
|
|
1280
|
+
"application/json": {
|
|
1281
|
+
"schema": {
|
|
1282
|
+
"type": "object"
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
"x-ms-summary": "Bad Request"
|
|
1287
|
+
},
|
|
1137
1288
|
"401": {
|
|
1138
1289
|
"description": "No description",
|
|
1139
1290
|
"x-ms-summary": "Unauthorized"
|
|
1291
|
+
},
|
|
1292
|
+
"404": {
|
|
1293
|
+
"description": "No description",
|
|
1294
|
+
"x-ms-summary": "Not Found"
|
|
1140
1295
|
}
|
|
1141
1296
|
},
|
|
1142
1297
|
"security": [
|
|
1143
1298
|
{
|
|
1144
1299
|
"Implicit": [
|
|
1145
|
-
"api://
|
|
1300
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1146
1301
|
]
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"ApiKey": []
|
|
1147
1305
|
}
|
|
1148
1306
|
]
|
|
1149
1307
|
}
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
"
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1308
|
+
},
|
|
1309
|
+
"/v1.0/protected/candidates/{id}/rejection-suggestion": {
|
|
1310
|
+
"post": {
|
|
1311
|
+
"tags": [
|
|
1312
|
+
"Candidates"
|
|
1313
|
+
],
|
|
1314
|
+
"summary": "Draft a personalised rejection email for a candidate",
|
|
1315
|
+
"description": "Uses chatgpt-function to generate a Norwegian email + SMS draft based on the candidate, the job position, and optional internal feedback. The admin reviews and edits before deciding whether to send.",
|
|
1316
|
+
"operationId": "SuggestRejectionMessage",
|
|
1317
|
+
"parameters": [
|
|
1318
|
+
{
|
|
1319
|
+
"name": "id",
|
|
1320
|
+
"in": "path",
|
|
1321
|
+
"required": true,
|
|
1322
|
+
"schema": {
|
|
1323
|
+
"type": "string"
|
|
1324
|
+
},
|
|
1325
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
1326
|
+
}
|
|
1327
|
+
],
|
|
1328
|
+
"requestBody": {
|
|
1329
|
+
"description": "Optional internal admin notes used as LLM context (never quoted back to the candidate).",
|
|
1330
|
+
"content": {
|
|
1331
|
+
"application/json": {
|
|
1332
|
+
"schema": {
|
|
1333
|
+
"$ref": "#/components/schemas/rejectionSuggestionRequest"
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1338
|
+
"responses": {
|
|
1339
|
+
"200": {
|
|
1340
|
+
"description": "Payload of RejectionSuggestion",
|
|
1341
|
+
"content": {
|
|
1342
|
+
"application/json": {
|
|
1343
|
+
"schema": {
|
|
1344
|
+
"$ref": "#/components/schemas/rejectionSuggestion"
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
"x-ms-summary": "Success"
|
|
1349
|
+
},
|
|
1350
|
+
"401": {
|
|
1351
|
+
"description": "No description",
|
|
1352
|
+
"x-ms-summary": "Unauthorized"
|
|
1353
|
+
},
|
|
1354
|
+
"404": {
|
|
1355
|
+
"description": "No description",
|
|
1356
|
+
"x-ms-summary": "Not Found"
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
"security": [
|
|
1360
|
+
{
|
|
1361
|
+
"Implicit": [
|
|
1362
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1363
|
+
]
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
"ApiKey": []
|
|
1367
|
+
}
|
|
1368
|
+
]
|
|
1369
|
+
}
|
|
1370
|
+
},
|
|
1371
|
+
"/v1.0/protected/candidates/{id}/notification-preview": {
|
|
1372
|
+
"get": {
|
|
1373
|
+
"tags": [
|
|
1374
|
+
"Candidates"
|
|
1375
|
+
],
|
|
1376
|
+
"summary": "Preview the email/SMS that would be sent for a candidate event",
|
|
1377
|
+
"description": "Renders the email + SMS templates for the given event using the candidate's current data. Use to populate the confirm modal before a status change.",
|
|
1378
|
+
"operationId": "GetCandidateNotificationPreview",
|
|
1379
|
+
"parameters": [
|
|
1380
|
+
{
|
|
1381
|
+
"name": "id",
|
|
1382
|
+
"in": "path",
|
|
1383
|
+
"required": true,
|
|
1384
|
+
"schema": {
|
|
1385
|
+
"type": "string"
|
|
1386
|
+
},
|
|
1387
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"name": "event",
|
|
1391
|
+
"in": "query",
|
|
1392
|
+
"required": true,
|
|
1393
|
+
"schema": {
|
|
1394
|
+
"type": "string"
|
|
1395
|
+
},
|
|
1396
|
+
"x-ms-summary": "Event name: Created, Introduction, Offer, Signed, Onboarding, UserCreationReview, Offboarding"
|
|
1397
|
+
}
|
|
1398
|
+
],
|
|
1399
|
+
"responses": {
|
|
1400
|
+
"200": {
|
|
1401
|
+
"description": "Payload of CandidateNotificationPreview",
|
|
1402
|
+
"content": {
|
|
1403
|
+
"application/json": {
|
|
1404
|
+
"schema": {
|
|
1405
|
+
"$ref": "#/components/schemas/candidateNotificationPreview"
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
"x-ms-summary": "Success"
|
|
1410
|
+
},
|
|
1411
|
+
"400": {
|
|
1412
|
+
"description": "Payload of Object",
|
|
1413
|
+
"content": {
|
|
1414
|
+
"application/json": {
|
|
1415
|
+
"schema": {
|
|
1416
|
+
"type": "object"
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
"x-ms-summary": "Bad Request"
|
|
1421
|
+
},
|
|
1422
|
+
"401": {
|
|
1423
|
+
"description": "No description",
|
|
1424
|
+
"x-ms-summary": "Unauthorized"
|
|
1425
|
+
},
|
|
1426
|
+
"404": {
|
|
1427
|
+
"description": "No description",
|
|
1428
|
+
"x-ms-summary": "Not Found"
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
"security": [
|
|
1432
|
+
{
|
|
1433
|
+
"Implicit": [
|
|
1434
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1435
|
+
]
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"ApiKey": []
|
|
1439
|
+
}
|
|
1440
|
+
]
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1443
|
+
"/v1.0/protected/candidates/notification-preview": {
|
|
1444
|
+
"post": {
|
|
1445
|
+
"tags": [
|
|
1446
|
+
"Candidates"
|
|
1447
|
+
],
|
|
1448
|
+
"summary": "Preview a candidate notification before the candidate is created",
|
|
1449
|
+
"description": "Used by the create form to render the email/SMS that will be sent on submit, given the in-progress candidate fields. No recruiter resolution — uses the team-fallback signoff.",
|
|
1450
|
+
"operationId": "PreviewCandidateNotification",
|
|
1451
|
+
"requestBody": {
|
|
1452
|
+
"description": "Event + candidate-shaped fields",
|
|
1453
|
+
"content": {
|
|
1454
|
+
"application/json": {
|
|
1455
|
+
"schema": {
|
|
1456
|
+
"$ref": "#/components/schemas/candidateNotificationPreviewRequest"
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
},
|
|
1460
|
+
"required": true
|
|
1461
|
+
},
|
|
1462
|
+
"responses": {
|
|
1463
|
+
"200": {
|
|
1464
|
+
"description": "Payload of CandidateNotificationPreview",
|
|
1465
|
+
"content": {
|
|
1466
|
+
"application/json": {
|
|
1467
|
+
"schema": {
|
|
1468
|
+
"$ref": "#/components/schemas/candidateNotificationPreview"
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
"x-ms-summary": "Success"
|
|
1473
|
+
},
|
|
1474
|
+
"400": {
|
|
1475
|
+
"description": "Payload of Object",
|
|
1476
|
+
"content": {
|
|
1477
|
+
"application/json": {
|
|
1478
|
+
"schema": {
|
|
1479
|
+
"type": "object"
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
"x-ms-summary": "Bad Request"
|
|
1484
|
+
},
|
|
1485
|
+
"401": {
|
|
1486
|
+
"description": "No description",
|
|
1487
|
+
"x-ms-summary": "Unauthorized"
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
"security": [
|
|
1491
|
+
{
|
|
1492
|
+
"Implicit": [
|
|
1493
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1494
|
+
]
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"ApiKey": []
|
|
1498
|
+
}
|
|
1499
|
+
]
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
"/v1.0/protected/candidates/{id}/offboard/{system}": {
|
|
1503
|
+
"post": {
|
|
1504
|
+
"tags": [
|
|
1505
|
+
"Candidates"
|
|
1506
|
+
],
|
|
1507
|
+
"summary": "Trigger automated offboarding for a single chain step",
|
|
1508
|
+
"description": "Mirror of OnboardCandidateSystem for the offboarding chain. Re-runs one named offboarding step (e.g. 'microsoft-365-disable', 'license-revoke', 'github-org-remove').",
|
|
1509
|
+
"operationId": "OffboardCandidateSystem",
|
|
1510
|
+
"parameters": [
|
|
1511
|
+
{
|
|
1512
|
+
"name": "id",
|
|
1513
|
+
"in": "path",
|
|
1514
|
+
"required": true,
|
|
1515
|
+
"schema": {
|
|
1516
|
+
"type": "string"
|
|
1517
|
+
},
|
|
1518
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "system",
|
|
1522
|
+
"in": "path",
|
|
1523
|
+
"required": true,
|
|
1524
|
+
"schema": {
|
|
1525
|
+
"type": "string"
|
|
1526
|
+
},
|
|
1527
|
+
"x-ms-summary": "Step slug (e.g. 'microsoft-365-disable')"
|
|
1528
|
+
}
|
|
1529
|
+
],
|
|
1530
|
+
"responses": {
|
|
1531
|
+
"200": {
|
|
1532
|
+
"description": "Uniform onboarding result with status + message",
|
|
1533
|
+
"content": {
|
|
1534
|
+
"application/json": {
|
|
1535
|
+
"schema": {
|
|
1536
|
+
"$ref": "#/components/schemas/onboardingResult"
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
},
|
|
1540
|
+
"x-ms-summary": "Success"
|
|
1541
|
+
},
|
|
1542
|
+
"400": {
|
|
1543
|
+
"description": "Payload of Object",
|
|
1544
|
+
"content": {
|
|
1545
|
+
"application/json": {
|
|
1546
|
+
"schema": {
|
|
1547
|
+
"type": "object"
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
"x-ms-summary": "Bad Request"
|
|
1552
|
+
},
|
|
1553
|
+
"401": {
|
|
1554
|
+
"description": "No description",
|
|
1555
|
+
"x-ms-summary": "Unauthorized"
|
|
1556
|
+
},
|
|
1557
|
+
"404": {
|
|
1558
|
+
"description": "No description",
|
|
1559
|
+
"x-ms-summary": "Not Found"
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
"security": [
|
|
1563
|
+
{
|
|
1564
|
+
"Implicit": [
|
|
1565
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1566
|
+
]
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"ApiKey": []
|
|
1570
|
+
}
|
|
1571
|
+
]
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
"/v1.0/protected/candidates/{id}/offboard-full": {
|
|
1575
|
+
"post": {
|
|
1576
|
+
"tags": [
|
|
1577
|
+
"Candidates"
|
|
1578
|
+
],
|
|
1579
|
+
"summary": "Run the full automated offboarding chain",
|
|
1580
|
+
"description": "Disables the candidate's Microsoft 365 user and triggers an Azure AD → Sanity sync so the employee doc reflects the disabled state.",
|
|
1581
|
+
"operationId": "OffboardCandidateFull",
|
|
1582
|
+
"parameters": [
|
|
1583
|
+
{
|
|
1584
|
+
"name": "id",
|
|
1585
|
+
"in": "path",
|
|
1586
|
+
"required": true,
|
|
1587
|
+
"schema": {
|
|
1588
|
+
"type": "string"
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
],
|
|
1592
|
+
"responses": {
|
|
1593
|
+
"200": {
|
|
1594
|
+
"description": "Per-step results",
|
|
1595
|
+
"content": {
|
|
1596
|
+
"application/json": {
|
|
1597
|
+
"schema": {
|
|
1598
|
+
"type": "array",
|
|
1599
|
+
"items": {
|
|
1600
|
+
"$ref": "#/components/schemas/onboardingResult"
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
"x-ms-summary": "Success"
|
|
1606
|
+
},
|
|
1607
|
+
"401": {
|
|
1608
|
+
"description": "No description",
|
|
1609
|
+
"x-ms-summary": "Unauthorized"
|
|
1610
|
+
},
|
|
1611
|
+
"404": {
|
|
1612
|
+
"description": "No description",
|
|
1613
|
+
"x-ms-summary": "Not Found"
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
"security": [
|
|
1617
|
+
{
|
|
1618
|
+
"Implicit": [
|
|
1619
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1620
|
+
]
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"ApiKey": []
|
|
1624
|
+
}
|
|
1625
|
+
]
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
"/v1.0/protected/candidates/{id}/offboard-full/stream": {
|
|
1629
|
+
"post": {
|
|
1630
|
+
"tags": [
|
|
1631
|
+
"Candidates"
|
|
1632
|
+
],
|
|
1633
|
+
"summary": "Offboarding chain with a live SSE event feed",
|
|
1634
|
+
"description": "Streams the offboarding chain step-by-step as Server-Sent Events. Mirrors /onboard-full/stream.",
|
|
1635
|
+
"operationId": "OffboardCandidateFullStream",
|
|
1636
|
+
"parameters": [
|
|
1637
|
+
{
|
|
1638
|
+
"name": "id",
|
|
1639
|
+
"in": "path",
|
|
1640
|
+
"required": true,
|
|
1641
|
+
"schema": {
|
|
1642
|
+
"type": "string"
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
],
|
|
1646
|
+
"responses": {
|
|
1647
|
+
"200": {
|
|
1648
|
+
"description": "No description",
|
|
1649
|
+
"x-ms-summary": "SSE stream of OnboardingResult frames"
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
"security": [
|
|
1653
|
+
{
|
|
1654
|
+
"Implicit": [
|
|
1655
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1656
|
+
]
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"ApiKey": []
|
|
1660
|
+
}
|
|
1661
|
+
]
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
"/v1.0/protected/candidates/{id}/onboard/{system}": {
|
|
1665
|
+
"post": {
|
|
1666
|
+
"tags": [
|
|
1667
|
+
"Candidates"
|
|
1668
|
+
],
|
|
1669
|
+
"summary": "Trigger automated onboarding for a single chain step",
|
|
1670
|
+
"description": "Re-runs one named onboarding step (slug matches the timeline step ids — e.g. 'microsoft-365', 'license-assignment', 'github-org-invite'). Used by the admin UI's per-step retry button when an earlier chain run partially failed.",
|
|
1671
|
+
"operationId": "OnboardCandidateSystem",
|
|
1672
|
+
"parameters": [
|
|
1673
|
+
{
|
|
1674
|
+
"name": "id",
|
|
1675
|
+
"in": "path",
|
|
1676
|
+
"required": true,
|
|
1677
|
+
"schema": {
|
|
1678
|
+
"type": "string"
|
|
1679
|
+
},
|
|
1680
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"name": "system",
|
|
1684
|
+
"in": "path",
|
|
1685
|
+
"required": true,
|
|
1686
|
+
"schema": {
|
|
1687
|
+
"type": "string"
|
|
1688
|
+
},
|
|
1689
|
+
"x-ms-summary": "System slug (e.g. 'microsoft-365')"
|
|
1690
|
+
}
|
|
1691
|
+
],
|
|
1692
|
+
"responses": {
|
|
1693
|
+
"200": {
|
|
1694
|
+
"description": "Uniform onboarding result with status + message",
|
|
1695
|
+
"content": {
|
|
1696
|
+
"application/json": {
|
|
1697
|
+
"schema": {
|
|
1698
|
+
"$ref": "#/components/schemas/onboardingResult"
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
},
|
|
1702
|
+
"x-ms-summary": "Success"
|
|
1703
|
+
},
|
|
1704
|
+
"400": {
|
|
1705
|
+
"description": "Payload of Object",
|
|
1706
|
+
"content": {
|
|
1707
|
+
"application/json": {
|
|
1708
|
+
"schema": {
|
|
1709
|
+
"type": "object"
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
"x-ms-summary": "Bad Request"
|
|
1714
|
+
},
|
|
1715
|
+
"401": {
|
|
1716
|
+
"description": "No description",
|
|
1717
|
+
"x-ms-summary": "Unauthorized"
|
|
1718
|
+
},
|
|
1719
|
+
"404": {
|
|
1720
|
+
"description": "No description",
|
|
1721
|
+
"x-ms-summary": "Not Found"
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
"security": [
|
|
1725
|
+
{
|
|
1726
|
+
"Implicit": [
|
|
1727
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1728
|
+
]
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"ApiKey": []
|
|
1732
|
+
}
|
|
1733
|
+
]
|
|
1734
|
+
}
|
|
1735
|
+
},
|
|
1736
|
+
"/v1.0/protected/candidates/{id}/onboard-full": {
|
|
1737
|
+
"post": {
|
|
1738
|
+
"tags": [
|
|
1739
|
+
"Candidates"
|
|
1740
|
+
],
|
|
1741
|
+
"summary": "Run the full automated onboarding chain",
|
|
1742
|
+
"description": "Provisions the candidate's Microsoft 365 user, then triggers an Azure AD → Sanity sync to create the matching employee doc. Returns one OnboardingResult row per step so the admin UI can render a live timeline.",
|
|
1743
|
+
"operationId": "OnboardCandidateFull",
|
|
1744
|
+
"parameters": [
|
|
1745
|
+
{
|
|
1746
|
+
"name": "id",
|
|
1747
|
+
"in": "path",
|
|
1748
|
+
"required": true,
|
|
1749
|
+
"schema": {
|
|
1750
|
+
"type": "string"
|
|
1751
|
+
},
|
|
1752
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
1753
|
+
}
|
|
1754
|
+
],
|
|
1755
|
+
"responses": {
|
|
1756
|
+
"200": {
|
|
1757
|
+
"description": "Per-step results",
|
|
1758
|
+
"content": {
|
|
1759
|
+
"application/json": {
|
|
1760
|
+
"schema": {
|
|
1761
|
+
"type": "array",
|
|
1762
|
+
"items": {
|
|
1763
|
+
"$ref": "#/components/schemas/onboardingResult"
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
},
|
|
1768
|
+
"x-ms-summary": "Success"
|
|
1769
|
+
},
|
|
1770
|
+
"401": {
|
|
1771
|
+
"description": "No description",
|
|
1772
|
+
"x-ms-summary": "Unauthorized"
|
|
1773
|
+
},
|
|
1774
|
+
"404": {
|
|
1775
|
+
"description": "No description",
|
|
1776
|
+
"x-ms-summary": "Not Found"
|
|
1777
|
+
}
|
|
1778
|
+
},
|
|
1779
|
+
"security": [
|
|
1780
|
+
{
|
|
1781
|
+
"Implicit": [
|
|
1782
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1783
|
+
]
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"ApiKey": []
|
|
1787
|
+
}
|
|
1788
|
+
]
|
|
1789
|
+
}
|
|
1790
|
+
},
|
|
1791
|
+
"/v1.0/protected/candidates/{id}/onboard-full/stream": {
|
|
1792
|
+
"post": {
|
|
1793
|
+
"tags": [
|
|
1794
|
+
"Candidates"
|
|
1795
|
+
],
|
|
1796
|
+
"summary": "Run the onboarding chain with a live SSE event feed",
|
|
1797
|
+
"description": "Same chain as /onboard-full but streams Server-Sent Events (`event: step`) as each step starts (`status:running`) and finishes (`succeeded`/`failed`). Closes with `event: done`. Frontend uses fetch streaming so we can pass a Bearer token; EventSource doesn't support custom headers.",
|
|
1798
|
+
"operationId": "OnboardCandidateFullStream",
|
|
1799
|
+
"parameters": [
|
|
1800
|
+
{
|
|
1801
|
+
"name": "id",
|
|
1802
|
+
"in": "path",
|
|
1803
|
+
"required": true,
|
|
1804
|
+
"schema": {
|
|
1805
|
+
"type": "string"
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
],
|
|
1809
|
+
"responses": {
|
|
1810
|
+
"200": {
|
|
1811
|
+
"description": "No description",
|
|
1812
|
+
"x-ms-summary": "SSE stream of OnboardingResult frames"
|
|
1813
|
+
}
|
|
1814
|
+
},
|
|
1815
|
+
"security": [
|
|
1816
|
+
{
|
|
1817
|
+
"Implicit": [
|
|
1818
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1819
|
+
]
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"ApiKey": []
|
|
1823
|
+
}
|
|
1824
|
+
]
|
|
1825
|
+
}
|
|
1826
|
+
},
|
|
1827
|
+
"/v1.0/protected/candidates/{id}/issue-pin": {
|
|
1828
|
+
"post": {
|
|
1829
|
+
"tags": [
|
|
1830
|
+
"Candidates"
|
|
1831
|
+
],
|
|
1832
|
+
"summary": "Generate or set a candidate PIN code and notify them",
|
|
1833
|
+
"description": "Issues the six-digit PIN that gates the candidate's tilbud-, signert- and onboarding-side. Pass an empty body to generate a fresh code; pass {\"pin\": \"123456\"} to override with a specific value (handy when the candidate calls in for help). Patches candidate.pin in Sanity and dispatches the dedicated PinReissue notification to candidate.email and candidate.telephone via notifications-function. Returns the updated candidate.",
|
|
1834
|
+
"operationId": "IssueCandidatePin",
|
|
1835
|
+
"parameters": [
|
|
1836
|
+
{
|
|
1837
|
+
"name": "id",
|
|
1838
|
+
"in": "path",
|
|
1839
|
+
"required": true,
|
|
1840
|
+
"schema": {
|
|
1841
|
+
"type": "string"
|
|
1842
|
+
},
|
|
1843
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
1844
|
+
}
|
|
1845
|
+
],
|
|
1846
|
+
"requestBody": {
|
|
1847
|
+
"description": "Optional override",
|
|
1848
|
+
"content": {
|
|
1849
|
+
"application/json": {
|
|
1850
|
+
"schema": {
|
|
1851
|
+
"$ref": "#/components/schemas/issueCandidatePinRequest"
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
},
|
|
1856
|
+
"responses": {
|
|
1857
|
+
"200": {
|
|
1858
|
+
"description": "Payload of SanityCandidate",
|
|
1859
|
+
"content": {
|
|
1860
|
+
"application/json": {
|
|
1861
|
+
"schema": {
|
|
1862
|
+
"$ref": "#/components/schemas/sanityCandidate"
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
"x-ms-summary": "Success"
|
|
1867
|
+
},
|
|
1868
|
+
"400": {
|
|
1869
|
+
"description": "No description",
|
|
1870
|
+
"x-ms-summary": "Invalid PIN value"
|
|
1871
|
+
},
|
|
1872
|
+
"401": {
|
|
1873
|
+
"description": "No description",
|
|
1874
|
+
"x-ms-summary": "Unauthorized"
|
|
1875
|
+
},
|
|
1876
|
+
"404": {
|
|
1877
|
+
"description": "No description",
|
|
1878
|
+
"x-ms-summary": "Not Found"
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
"security": [
|
|
1882
|
+
{
|
|
1883
|
+
"Implicit": [
|
|
1884
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
1885
|
+
]
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"ApiKey": []
|
|
1889
|
+
}
|
|
1890
|
+
]
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
},
|
|
1894
|
+
"components": {
|
|
1895
|
+
"schemas": {
|
|
1896
|
+
"candidateNotificationPreview": {
|
|
1897
|
+
"type": "object",
|
|
1898
|
+
"properties": {
|
|
1899
|
+
"subject": {
|
|
1900
|
+
"type": "string"
|
|
1901
|
+
},
|
|
1902
|
+
"plainText": {
|
|
1903
|
+
"type": "string"
|
|
1904
|
+
},
|
|
1905
|
+
"htmlBody": {
|
|
1906
|
+
"type": "string"
|
|
1907
|
+
},
|
|
1908
|
+
"smsBody": {
|
|
1909
|
+
"type": "string"
|
|
1910
|
+
},
|
|
1911
|
+
"willSendEmail": {
|
|
1912
|
+
"type": "boolean"
|
|
1913
|
+
},
|
|
1914
|
+
"willSendSms": {
|
|
1915
|
+
"type": "boolean"
|
|
1916
|
+
},
|
|
1917
|
+
"recipientEmail": {
|
|
1918
|
+
"type": "string"
|
|
1919
|
+
},
|
|
1920
|
+
"recipientPhone": {
|
|
1921
|
+
"type": "string"
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
"candidateNotificationPreviewRequest": {
|
|
1926
|
+
"type": "object",
|
|
1927
|
+
"properties": {
|
|
1928
|
+
"ev": {
|
|
1929
|
+
"enum": [
|
|
1930
|
+
0,
|
|
1931
|
+
1,
|
|
1932
|
+
2,
|
|
1162
1933
|
3,
|
|
1163
1934
|
4,
|
|
1164
1935
|
5,
|
|
1165
1936
|
6,
|
|
1166
|
-
7
|
|
1937
|
+
7,
|
|
1938
|
+
8,
|
|
1939
|
+
9,
|
|
1940
|
+
10
|
|
1167
1941
|
],
|
|
1168
1942
|
"type": "integer",
|
|
1169
1943
|
"format": "int32",
|
|
1170
1944
|
"default": 0
|
|
1171
1945
|
},
|
|
1172
|
-
"
|
|
1173
|
-
"$ref": "#/components/schemas/jsonElement"
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
},
|
|
1177
|
-
"onboardingResult": {
|
|
1178
|
-
"type": "object",
|
|
1179
|
-
"properties": {
|
|
1180
|
-
"step": {
|
|
1181
|
-
"type": "string"
|
|
1182
|
-
},
|
|
1183
|
-
"status": {
|
|
1946
|
+
"name": {
|
|
1184
1947
|
"type": "string"
|
|
1185
1948
|
},
|
|
1186
|
-
"
|
|
1949
|
+
"email": {
|
|
1187
1950
|
"type": "string"
|
|
1188
1951
|
},
|
|
1189
|
-
"
|
|
1952
|
+
"telephone": {
|
|
1190
1953
|
"type": "string"
|
|
1191
1954
|
},
|
|
1192
|
-
"
|
|
1955
|
+
"recruiterName": {
|
|
1193
1956
|
"type": "string"
|
|
1194
1957
|
},
|
|
1195
|
-
"
|
|
1958
|
+
"recruiterEmail": {
|
|
1196
1959
|
"type": "string"
|
|
1197
1960
|
}
|
|
1198
1961
|
}
|
|
1199
1962
|
},
|
|
1200
|
-
"
|
|
1963
|
+
"chainAutomatedSystem": {
|
|
1201
1964
|
"type": "object",
|
|
1202
1965
|
"properties": {
|
|
1203
|
-
"
|
|
1204
|
-
"type": "
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1966
|
+
"title": {
|
|
1967
|
+
"type": "string"
|
|
1968
|
+
},
|
|
1969
|
+
"status": {
|
|
1970
|
+
"type": "string"
|
|
1208
1971
|
}
|
|
1209
1972
|
}
|
|
1210
1973
|
},
|
|
1211
|
-
"
|
|
1974
|
+
"componentBlocksInnerOneOfChildrenInner": {
|
|
1212
1975
|
"type": "object",
|
|
1213
1976
|
"properties": {
|
|
1214
|
-
"
|
|
1215
|
-
"
|
|
1216
|
-
|
|
1977
|
+
"sanityType": {
|
|
1978
|
+
"enum": [
|
|
1979
|
+
"span"
|
|
1980
|
+
],
|
|
1981
|
+
"type": "string",
|
|
1982
|
+
"default": "span"
|
|
1983
|
+
},
|
|
1984
|
+
"marks": {
|
|
1985
|
+
"type": "array",
|
|
1986
|
+
"items": {
|
|
1987
|
+
"type": "string"
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1990
|
+
"sanityKey": {
|
|
1991
|
+
"type": "string"
|
|
1992
|
+
},
|
|
1993
|
+
"text": {
|
|
1994
|
+
"type": "string"
|
|
1217
1995
|
}
|
|
1218
1996
|
}
|
|
1219
1997
|
},
|
|
1220
|
-
"
|
|
1998
|
+
"componentBlocksInnerOneOfMarkDefsInner": {
|
|
1221
1999
|
"type": "object",
|
|
1222
2000
|
"properties": {
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
2001
|
+
"sanityType": {
|
|
2002
|
+
"enum": [
|
|
2003
|
+
"link"
|
|
2004
|
+
],
|
|
2005
|
+
"type": "string",
|
|
2006
|
+
"default": "link"
|
|
2007
|
+
},
|
|
2008
|
+
"href": {
|
|
2009
|
+
"type": "string"
|
|
2010
|
+
},
|
|
2011
|
+
"sanityKey": {
|
|
2012
|
+
"type": "string"
|
|
1225
2013
|
}
|
|
1226
2014
|
}
|
|
1227
2015
|
},
|
|
1228
|
-
"
|
|
2016
|
+
"createCandidateInput": {
|
|
1229
2017
|
"type": "object",
|
|
1230
2018
|
"properties": {
|
|
1231
|
-
"
|
|
1232
|
-
"
|
|
2019
|
+
"status": {
|
|
2020
|
+
"enum": [
|
|
2021
|
+
"CREATED",
|
|
2022
|
+
"INTRODUCTION_INTERVIEW",
|
|
2023
|
+
"TECHNICAL_INTERVIEW",
|
|
2024
|
+
"SALES_INTERVIEW",
|
|
2025
|
+
"OFFER",
|
|
2026
|
+
"SIGNED",
|
|
2027
|
+
"ONBOARDING",
|
|
2028
|
+
"USER_CREATION_REVIEW",
|
|
2029
|
+
"OFFBOARDING",
|
|
2030
|
+
"REJECTED"
|
|
2031
|
+
],
|
|
2032
|
+
"type": "string",
|
|
2033
|
+
"default": "CREATED"
|
|
2034
|
+
},
|
|
2035
|
+
"candidate": {
|
|
2036
|
+
"type": "string"
|
|
2037
|
+
},
|
|
2038
|
+
"email": {
|
|
2039
|
+
"type": "string"
|
|
2040
|
+
},
|
|
2041
|
+
"jobPositionId": {
|
|
2042
|
+
"type": "string"
|
|
2043
|
+
},
|
|
2044
|
+
"recruiter": {
|
|
2045
|
+
"type": "string"
|
|
2046
|
+
},
|
|
2047
|
+
"telephone": {
|
|
2048
|
+
"type": "string"
|
|
2049
|
+
},
|
|
2050
|
+
"additionalProperties": {
|
|
2051
|
+
"type": "object",
|
|
2052
|
+
"additionalProperties": {
|
|
2053
|
+
"type": "object"
|
|
2054
|
+
}
|
|
1233
2055
|
}
|
|
1234
2056
|
}
|
|
1235
2057
|
},
|
|
1236
|
-
"
|
|
2058
|
+
"employeeReference": {
|
|
1237
2059
|
"type": "object",
|
|
1238
2060
|
"properties": {
|
|
1239
|
-
"
|
|
1240
|
-
"
|
|
2061
|
+
"sanityType": {
|
|
2062
|
+
"enum": [
|
|
2063
|
+
"reference"
|
|
2064
|
+
],
|
|
2065
|
+
"type": "string",
|
|
2066
|
+
"default": "reference"
|
|
2067
|
+
},
|
|
2068
|
+
"sanityRef": {
|
|
2069
|
+
"type": "string"
|
|
2070
|
+
},
|
|
2071
|
+
"sanityWeak": {
|
|
2072
|
+
"type": "boolean"
|
|
1241
2073
|
}
|
|
1242
2074
|
}
|
|
1243
2075
|
},
|
|
1244
|
-
"
|
|
2076
|
+
"eventReference": {
|
|
1245
2077
|
"type": "object",
|
|
1246
2078
|
"properties": {
|
|
1247
|
-
"
|
|
1248
|
-
"
|
|
2079
|
+
"sanityType": {
|
|
2080
|
+
"enum": [
|
|
2081
|
+
"reference"
|
|
2082
|
+
],
|
|
2083
|
+
"type": "string",
|
|
2084
|
+
"default": "reference"
|
|
2085
|
+
},
|
|
2086
|
+
"sanityRef": {
|
|
2087
|
+
"type": "string"
|
|
2088
|
+
},
|
|
2089
|
+
"sanityWeak": {
|
|
2090
|
+
"type": "boolean"
|
|
1249
2091
|
}
|
|
1250
2092
|
}
|
|
1251
2093
|
},
|
|
1252
|
-
"
|
|
2094
|
+
"integrationHealthResult": {
|
|
1253
2095
|
"type": "object",
|
|
1254
2096
|
"properties": {
|
|
1255
|
-
"
|
|
1256
|
-
"
|
|
2097
|
+
"key": {
|
|
2098
|
+
"type": "string"
|
|
2099
|
+
},
|
|
2100
|
+
"status": {
|
|
2101
|
+
"type": "string"
|
|
2102
|
+
},
|
|
2103
|
+
"message": {
|
|
2104
|
+
"type": "string"
|
|
1257
2105
|
}
|
|
1258
2106
|
}
|
|
1259
2107
|
},
|
|
1260
|
-
"
|
|
2108
|
+
"interviewBookingBody": {
|
|
1261
2109
|
"type": "object",
|
|
1262
2110
|
"properties": {
|
|
1263
|
-
"
|
|
1264
|
-
"
|
|
2111
|
+
"scheduledAt": {
|
|
2112
|
+
"type": "string",
|
|
2113
|
+
"nullable": true
|
|
2114
|
+
},
|
|
2115
|
+
"place": {
|
|
2116
|
+
"type": "string",
|
|
2117
|
+
"nullable": true
|
|
2118
|
+
},
|
|
2119
|
+
"eventTypeId": {
|
|
2120
|
+
"type": "string",
|
|
2121
|
+
"nullable": true
|
|
2122
|
+
},
|
|
2123
|
+
"durationMinutes": {
|
|
2124
|
+
"type": "integer",
|
|
2125
|
+
"format": "int32",
|
|
2126
|
+
"nullable": true
|
|
2127
|
+
},
|
|
2128
|
+
"interviewers": {
|
|
2129
|
+
"type": "array",
|
|
2130
|
+
"items": {
|
|
2131
|
+
"$ref": "#/components/schemas/interviewParticipantBody"
|
|
2132
|
+
},
|
|
2133
|
+
"nullable": true
|
|
1265
2134
|
}
|
|
1266
|
-
}
|
|
2135
|
+
},
|
|
2136
|
+
"nullable": true
|
|
1267
2137
|
},
|
|
1268
|
-
"
|
|
2138
|
+
"interviewParticipantBody": {
|
|
1269
2139
|
"type": "object",
|
|
1270
2140
|
"properties": {
|
|
1271
|
-
"
|
|
1272
|
-
"
|
|
2141
|
+
"sanityId": {
|
|
2142
|
+
"type": "string",
|
|
2143
|
+
"nullable": true
|
|
2144
|
+
},
|
|
2145
|
+
"email": {
|
|
2146
|
+
"type": "string",
|
|
2147
|
+
"nullable": true
|
|
1273
2148
|
}
|
|
1274
2149
|
}
|
|
1275
2150
|
},
|
|
1276
|
-
"
|
|
2151
|
+
"issueCandidatePinRequest": {
|
|
1277
2152
|
"type": "object",
|
|
1278
2153
|
"properties": {
|
|
1279
|
-
"
|
|
1280
|
-
"
|
|
2154
|
+
"pin": {
|
|
2155
|
+
"type": "string"
|
|
1281
2156
|
}
|
|
1282
2157
|
}
|
|
1283
2158
|
},
|
|
1284
|
-
"
|
|
2159
|
+
"jobPositionReference": {
|
|
1285
2160
|
"type": "object",
|
|
1286
2161
|
"properties": {
|
|
1287
|
-
"
|
|
1288
|
-
"
|
|
2162
|
+
"sanityType": {
|
|
2163
|
+
"enum": [
|
|
2164
|
+
"reference"
|
|
2165
|
+
],
|
|
2166
|
+
"type": "string",
|
|
2167
|
+
"default": "reference"
|
|
2168
|
+
},
|
|
2169
|
+
"sanityRef": {
|
|
2170
|
+
"type": "string"
|
|
2171
|
+
},
|
|
2172
|
+
"sanityWeak": {
|
|
2173
|
+
"type": "boolean"
|
|
1289
2174
|
}
|
|
1290
2175
|
}
|
|
1291
2176
|
},
|
|
1292
|
-
"
|
|
2177
|
+
"licenseAvailability": {
|
|
1293
2178
|
"type": "object",
|
|
1294
2179
|
"properties": {
|
|
1295
|
-
"
|
|
1296
|
-
"
|
|
2180
|
+
"skuId": {
|
|
2181
|
+
"type": "string"
|
|
2182
|
+
},
|
|
2183
|
+
"skuPartNumber": {
|
|
2184
|
+
"type": "string"
|
|
2185
|
+
},
|
|
2186
|
+
"enabled": {
|
|
2187
|
+
"type": "integer",
|
|
2188
|
+
"format": "int32"
|
|
2189
|
+
},
|
|
2190
|
+
"consumed": {
|
|
2191
|
+
"type": "integer",
|
|
2192
|
+
"format": "int32"
|
|
2193
|
+
},
|
|
2194
|
+
"available": {
|
|
2195
|
+
"type": "integer",
|
|
2196
|
+
"format": "int32"
|
|
2197
|
+
},
|
|
2198
|
+
"isConfigured": {
|
|
2199
|
+
"type": "boolean"
|
|
1297
2200
|
}
|
|
1298
2201
|
}
|
|
1299
2202
|
},
|
|
1300
|
-
"
|
|
2203
|
+
"onboardingResult": {
|
|
1301
2204
|
"type": "object",
|
|
1302
2205
|
"properties": {
|
|
1303
|
-
"
|
|
1304
|
-
"
|
|
2206
|
+
"step": {
|
|
2207
|
+
"type": "string"
|
|
2208
|
+
},
|
|
2209
|
+
"status": {
|
|
2210
|
+
"type": "string"
|
|
2211
|
+
},
|
|
2212
|
+
"message": {
|
|
2213
|
+
"type": "string"
|
|
2214
|
+
},
|
|
2215
|
+
"preferredEmail": {
|
|
2216
|
+
"type": "string"
|
|
2217
|
+
},
|
|
2218
|
+
"createdAccountId": {
|
|
2219
|
+
"type": "string"
|
|
2220
|
+
},
|
|
2221
|
+
"temporaryPassword": {
|
|
2222
|
+
"type": "string"
|
|
1305
2223
|
}
|
|
1306
2224
|
}
|
|
1307
2225
|
},
|
|
1308
|
-
"
|
|
2226
|
+
"patchCandidateRequestBody": {
|
|
1309
2227
|
"type": "object",
|
|
1310
2228
|
"properties": {
|
|
1311
|
-
"
|
|
2229
|
+
"interviewBooking": {
|
|
2230
|
+
"$ref": "#/components/schemas/interviewBookingBody"
|
|
2231
|
+
},
|
|
2232
|
+
"sanityType": {
|
|
2233
|
+
"enum": [
|
|
2234
|
+
"candidate"
|
|
2235
|
+
],
|
|
2236
|
+
"type": "string",
|
|
2237
|
+
"default": "candidate",
|
|
2238
|
+
"nullable": true
|
|
2239
|
+
},
|
|
2240
|
+
"status": {
|
|
2241
|
+
"enum": [
|
|
2242
|
+
"CREATED",
|
|
2243
|
+
"INTRODUCTION_INTERVIEW",
|
|
2244
|
+
"TECHNICAL_INTERVIEW",
|
|
2245
|
+
"SALES_INTERVIEW",
|
|
2246
|
+
"OFFER",
|
|
2247
|
+
"SIGNED",
|
|
2248
|
+
"ONBOARDING",
|
|
2249
|
+
"USER_CREATION_REVIEW",
|
|
2250
|
+
"OFFBOARDING",
|
|
2251
|
+
"REJECTED"
|
|
2252
|
+
],
|
|
2253
|
+
"type": "string",
|
|
2254
|
+
"default": "CREATED",
|
|
2255
|
+
"nullable": true
|
|
2256
|
+
},
|
|
2257
|
+
"address": {
|
|
1312
2258
|
"$ref": "#/components/schemas/sanityPatchCandidateAddress"
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
2259
|
+
},
|
|
2260
|
+
"allergies": {
|
|
2261
|
+
"type": "array",
|
|
2262
|
+
"items": {
|
|
2263
|
+
"type": "string"
|
|
2264
|
+
}
|
|
2265
|
+
},
|
|
2266
|
+
"applicationLetter": {
|
|
1320
2267
|
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
2268
|
+
},
|
|
2269
|
+
"applicationOther": {
|
|
2270
|
+
"type": "string"
|
|
2271
|
+
},
|
|
2272
|
+
"bankAccount": {
|
|
2273
|
+
"type": "string"
|
|
2274
|
+
},
|
|
2275
|
+
"birthDate": {
|
|
2276
|
+
"type": "string"
|
|
2277
|
+
},
|
|
2278
|
+
"buddy": {
|
|
2279
|
+
"$ref": "#/components/schemas/employeeReference"
|
|
2280
|
+
},
|
|
2281
|
+
"candidate": {
|
|
2282
|
+
"type": "string"
|
|
2283
|
+
},
|
|
2284
|
+
"contractPdf": {
|
|
2285
|
+
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
2286
|
+
},
|
|
2287
|
+
"contractSignDate": {
|
|
2288
|
+
"type": "string"
|
|
2289
|
+
},
|
|
2290
|
+
"contractSigner": {
|
|
2291
|
+
"$ref": "#/components/schemas/employeeReference"
|
|
2292
|
+
},
|
|
2293
|
+
"contractSignerRole": {
|
|
2294
|
+
"type": "string"
|
|
2295
|
+
},
|
|
2296
|
+
"cv": {
|
|
2297
|
+
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
2298
|
+
},
|
|
2299
|
+
"education": {
|
|
2300
|
+
"type": "string"
|
|
2301
|
+
},
|
|
2302
|
+
"email": {
|
|
2303
|
+
"type": "string"
|
|
2304
|
+
},
|
|
2305
|
+
"employee": {
|
|
2306
|
+
"$ref": "#/components/schemas/employeeReference"
|
|
2307
|
+
},
|
|
2308
|
+
"fromApplication": {
|
|
2309
|
+
"type": "boolean",
|
|
2310
|
+
"nullable": true
|
|
2311
|
+
},
|
|
2312
|
+
"githubUsername": {
|
|
2313
|
+
"type": "string"
|
|
2314
|
+
},
|
|
2315
|
+
"grades": {
|
|
2316
|
+
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
2317
|
+
},
|
|
2318
|
+
"interviews": {
|
|
2319
|
+
"type": "array",
|
|
2320
|
+
"items": {
|
|
2321
|
+
"$ref": "#/components/schemas/sanityPatchCandidateInterviewsInner"
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
"jobPosition": {
|
|
2325
|
+
"$ref": "#/components/schemas/jobPositionReference"
|
|
2326
|
+
},
|
|
2327
|
+
"linkedin": {
|
|
2328
|
+
"type": "string"
|
|
2329
|
+
},
|
|
2330
|
+
"offboardingChecklist": {
|
|
2331
|
+
"type": "array",
|
|
2332
|
+
"items": {
|
|
2333
|
+
"$ref": "#/components/schemas/sanityCandidateOffboardingChecklistInner"
|
|
2334
|
+
}
|
|
2335
|
+
},
|
|
2336
|
+
"offerPdf": {
|
|
2337
|
+
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
2338
|
+
},
|
|
2339
|
+
"onboardingChecklist": {
|
|
2340
|
+
"type": "array",
|
|
2341
|
+
"items": {
|
|
2342
|
+
"$ref": "#/components/schemas/sanityCandidateOffboardingChecklistInner"
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
"ownership": {
|
|
2346
|
+
"type": "number",
|
|
2347
|
+
"format": "double",
|
|
2348
|
+
"nullable": true
|
|
2349
|
+
},
|
|
2350
|
+
"personalNumber": {
|
|
2351
|
+
"type": "string"
|
|
2352
|
+
},
|
|
2353
|
+
"pin": {
|
|
2354
|
+
"type": "string"
|
|
2355
|
+
},
|
|
2356
|
+
"preferredDisplayName": {
|
|
2357
|
+
"type": "string"
|
|
2358
|
+
},
|
|
2359
|
+
"preferredEmail": {
|
|
2360
|
+
"type": "string"
|
|
2361
|
+
},
|
|
2362
|
+
"profileImage": {
|
|
1328
2363
|
"$ref": "#/components/schemas/sanityPatchPageMetaImage"
|
|
2364
|
+
},
|
|
2365
|
+
"recruiter": {
|
|
2366
|
+
"$ref": "#/components/schemas/employeeReference"
|
|
2367
|
+
},
|
|
2368
|
+
"references": {
|
|
2369
|
+
"type": "array",
|
|
2370
|
+
"items": {
|
|
2371
|
+
"$ref": "#/components/schemas/sanityCandidateReferencesInner"
|
|
2372
|
+
}
|
|
2373
|
+
},
|
|
2374
|
+
"shortUrl": {
|
|
2375
|
+
"type": "string"
|
|
2376
|
+
},
|
|
2377
|
+
"signedContract": {
|
|
2378
|
+
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
2379
|
+
},
|
|
2380
|
+
"snapchatUsername": {
|
|
2381
|
+
"type": "string"
|
|
2382
|
+
},
|
|
2383
|
+
"startDate": {
|
|
2384
|
+
"type": "string"
|
|
2385
|
+
},
|
|
2386
|
+
"systemsActive": {
|
|
2387
|
+
"type": "array",
|
|
2388
|
+
"items": {
|
|
2389
|
+
"$ref": "#/components/schemas/sanityPatchCandidateSystemsActiveInner"
|
|
2390
|
+
}
|
|
2391
|
+
},
|
|
2392
|
+
"telephone": {
|
|
2393
|
+
"type": "string"
|
|
2394
|
+
},
|
|
2395
|
+
"url": {
|
|
2396
|
+
"type": "string"
|
|
2397
|
+
},
|
|
2398
|
+
"additionalProperties": {
|
|
2399
|
+
"type": "object",
|
|
2400
|
+
"additionalProperties": {
|
|
2401
|
+
"type": "object"
|
|
2402
|
+
}
|
|
1329
2403
|
}
|
|
1330
2404
|
}
|
|
1331
2405
|
},
|
|
1332
|
-
"
|
|
2406
|
+
"rejectCandidateMessage": {
|
|
1333
2407
|
"type": "object",
|
|
1334
2408
|
"properties": {
|
|
1335
|
-
"
|
|
1336
|
-
"
|
|
2409
|
+
"subject": {
|
|
2410
|
+
"type": "string"
|
|
2411
|
+
},
|
|
2412
|
+
"plainText": {
|
|
2413
|
+
"type": "string"
|
|
2414
|
+
},
|
|
2415
|
+
"htmlBody": {
|
|
2416
|
+
"type": "string"
|
|
2417
|
+
},
|
|
2418
|
+
"smsBody": {
|
|
2419
|
+
"type": "string"
|
|
2420
|
+
},
|
|
2421
|
+
"sendEmail": {
|
|
2422
|
+
"type": "boolean"
|
|
2423
|
+
},
|
|
2424
|
+
"sendSms": {
|
|
2425
|
+
"type": "boolean"
|
|
1337
2426
|
}
|
|
1338
2427
|
}
|
|
1339
2428
|
},
|
|
1340
|
-
"
|
|
2429
|
+
"rejectionSuggestion": {
|
|
1341
2430
|
"type": "object",
|
|
1342
2431
|
"properties": {
|
|
1343
|
-
"
|
|
1344
|
-
"
|
|
2432
|
+
"subject": {
|
|
2433
|
+
"type": "string"
|
|
2434
|
+
},
|
|
2435
|
+
"plainText": {
|
|
2436
|
+
"type": "string"
|
|
2437
|
+
},
|
|
2438
|
+
"htmlBody": {
|
|
2439
|
+
"type": "string"
|
|
2440
|
+
},
|
|
2441
|
+
"smsBody": {
|
|
2442
|
+
"type": "string"
|
|
1345
2443
|
}
|
|
1346
2444
|
}
|
|
1347
2445
|
},
|
|
1348
|
-
"
|
|
2446
|
+
"rejectionSuggestionRequest": {
|
|
1349
2447
|
"type": "object",
|
|
1350
2448
|
"properties": {
|
|
1351
|
-
"
|
|
2449
|
+
"feedback": {
|
|
1352
2450
|
"type": "string"
|
|
1353
2451
|
}
|
|
1354
2452
|
}
|
|
@@ -1358,27 +2456,17 @@
|
|
|
1358
2456
|
"properties": {
|
|
1359
2457
|
"sanityType": {
|
|
1360
2458
|
"enum": [
|
|
1361
|
-
|
|
2459
|
+
"sanity.assetSourceData"
|
|
1362
2460
|
],
|
|
1363
|
-
"type": "
|
|
1364
|
-
"
|
|
1365
|
-
"default": 1
|
|
1366
|
-
},
|
|
1367
|
-
"idOption": {
|
|
1368
|
-
"$ref": "#/components/schemas/option_string"
|
|
2461
|
+
"type": "string",
|
|
2462
|
+
"default": "sanity.assetSourceData"
|
|
1369
2463
|
},
|
|
1370
2464
|
"id": {
|
|
1371
2465
|
"type": "string"
|
|
1372
2466
|
},
|
|
1373
|
-
"nameOption": {
|
|
1374
|
-
"$ref": "#/components/schemas/option_string"
|
|
1375
|
-
},
|
|
1376
2467
|
"name": {
|
|
1377
2468
|
"type": "string"
|
|
1378
2469
|
},
|
|
1379
|
-
"urlOption": {
|
|
1380
|
-
"$ref": "#/components/schemas/option_string"
|
|
1381
|
-
},
|
|
1382
2470
|
"url": {
|
|
1383
2471
|
"type": "string"
|
|
1384
2472
|
}
|
|
@@ -1389,17 +2477,24 @@
|
|
|
1389
2477
|
"properties": {
|
|
1390
2478
|
"sanityType": {
|
|
1391
2479
|
"enum": [
|
|
1392
|
-
|
|
2480
|
+
"employee"
|
|
1393
2481
|
],
|
|
1394
|
-
"type": "
|
|
1395
|
-
"
|
|
1396
|
-
"default": 1
|
|
2482
|
+
"type": "string",
|
|
2483
|
+
"default": "employee"
|
|
1397
2484
|
},
|
|
1398
2485
|
"email": {
|
|
1399
2486
|
"type": "string"
|
|
1400
2487
|
},
|
|
1401
2488
|
"image": {
|
|
1402
|
-
"$ref": "#/components/schemas/
|
|
2489
|
+
"$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
|
|
2490
|
+
},
|
|
2491
|
+
"isBot": {
|
|
2492
|
+
"type": "boolean",
|
|
2493
|
+
"nullable": true
|
|
2494
|
+
},
|
|
2495
|
+
"isExternal": {
|
|
2496
|
+
"type": "boolean",
|
|
2497
|
+
"nullable": true
|
|
1403
2498
|
},
|
|
1404
2499
|
"name": {
|
|
1405
2500
|
"type": "string"
|
|
@@ -1408,19 +2503,16 @@
|
|
|
1408
2503
|
"type": "string"
|
|
1409
2504
|
},
|
|
1410
2505
|
"slug": {
|
|
1411
|
-
"$ref": "#/components/schemas/
|
|
1412
|
-
},
|
|
1413
|
-
"telephone": {
|
|
1414
|
-
"type": "string"
|
|
1415
|
-
},
|
|
1416
|
-
"tagsOption": {
|
|
1417
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2506
|
+
"$ref": "#/components/schemas/slug"
|
|
1418
2507
|
},
|
|
1419
2508
|
"tags": {
|
|
1420
2509
|
"type": "array",
|
|
1421
2510
|
"items": {
|
|
1422
|
-
"$ref": "#/components/schemas/
|
|
2511
|
+
"$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
|
|
1423
2512
|
}
|
|
2513
|
+
},
|
|
2514
|
+
"telephone": {
|
|
2515
|
+
"type": "string"
|
|
1424
2516
|
}
|
|
1425
2517
|
}
|
|
1426
2518
|
},
|
|
@@ -1429,120 +2521,98 @@
|
|
|
1429
2521
|
"properties": {
|
|
1430
2522
|
"sanityType": {
|
|
1431
2523
|
"enum": [
|
|
1432
|
-
|
|
2524
|
+
"candidate"
|
|
1433
2525
|
],
|
|
1434
|
-
"type": "
|
|
1435
|
-
"
|
|
1436
|
-
"default": 1
|
|
2526
|
+
"type": "string",
|
|
2527
|
+
"default": "candidate"
|
|
1437
2528
|
},
|
|
1438
2529
|
"status": {
|
|
1439
2530
|
"enum": [
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
2531
|
+
"CREATED",
|
|
2532
|
+
"INTRODUCTION_INTERVIEW",
|
|
2533
|
+
"OFFBOARDING",
|
|
2534
|
+
"OFFER",
|
|
2535
|
+
"ONBOARDING",
|
|
2536
|
+
"REJECTED",
|
|
2537
|
+
"SALES_INTERVIEW",
|
|
2538
|
+
"SIGNED",
|
|
2539
|
+
"TECHNICAL_INTERVIEW",
|
|
2540
|
+
"USER_CREATION_REVIEW"
|
|
1448
2541
|
],
|
|
1449
|
-
"type": "
|
|
1450
|
-
"
|
|
1451
|
-
"default": 1
|
|
2542
|
+
"type": "string",
|
|
2543
|
+
"default": "CREATED"
|
|
1452
2544
|
},
|
|
1453
|
-
"
|
|
1454
|
-
"
|
|
1455
|
-
1,
|
|
1456
|
-
2
|
|
1457
|
-
],
|
|
1458
|
-
"type": "integer",
|
|
1459
|
-
"format": "int32",
|
|
1460
|
-
"default": 1
|
|
2545
|
+
"address": {
|
|
2546
|
+
"$ref": "#/components/schemas/sanityCandidateAddress"
|
|
1461
2547
|
},
|
|
1462
|
-
"
|
|
1463
|
-
"type": "
|
|
2548
|
+
"allergies": {
|
|
2549
|
+
"type": "array",
|
|
2550
|
+
"items": {
|
|
2551
|
+
"type": "string"
|
|
2552
|
+
}
|
|
1464
2553
|
},
|
|
1465
|
-
"
|
|
1466
|
-
"
|
|
2554
|
+
"applicationLetter": {
|
|
2555
|
+
"$ref": "#/components/schemas/sanityCandidateApplicationLetter"
|
|
1467
2556
|
},
|
|
1468
|
-
"
|
|
2557
|
+
"applicationOther": {
|
|
1469
2558
|
"type": "string"
|
|
1470
2559
|
},
|
|
1471
|
-
"
|
|
2560
|
+
"bankAccount": {
|
|
1472
2561
|
"type": "string"
|
|
1473
2562
|
},
|
|
1474
|
-
"
|
|
2563
|
+
"birthDate": {
|
|
1475
2564
|
"type": "string"
|
|
1476
2565
|
},
|
|
1477
|
-
"
|
|
1478
|
-
"$ref": "#/components/schemas/
|
|
1479
|
-
},
|
|
1480
|
-
"address": {
|
|
1481
|
-
"$ref": "#/components/schemas/sanityCandidateAddress"
|
|
1482
|
-
},
|
|
1483
|
-
"applicationLetterOption": {
|
|
1484
|
-
"$ref": "#/components/schemas/option_sanityCandidateGrades"
|
|
1485
|
-
},
|
|
1486
|
-
"applicationLetter": {
|
|
1487
|
-
"$ref": "#/components/schemas/sanityCandidateGrades"
|
|
1488
|
-
},
|
|
1489
|
-
"applicationOtherOption": {
|
|
1490
|
-
"$ref": "#/components/schemas/option_string"
|
|
2566
|
+
"buddy": {
|
|
2567
|
+
"$ref": "#/components/schemas/sanityEmployeeManager"
|
|
1491
2568
|
},
|
|
1492
|
-
"
|
|
2569
|
+
"candidate": {
|
|
1493
2570
|
"type": "string"
|
|
1494
2571
|
},
|
|
1495
|
-
"
|
|
1496
|
-
"$ref": "#/components/schemas/
|
|
2572
|
+
"contractPdf": {
|
|
2573
|
+
"$ref": "#/components/schemas/sanityCandidateApplicationLetter"
|
|
1497
2574
|
},
|
|
1498
|
-
"
|
|
2575
|
+
"contractSignDate": {
|
|
1499
2576
|
"type": "string"
|
|
1500
2577
|
},
|
|
1501
|
-
"
|
|
1502
|
-
"$ref": "#/components/schemas/option_sanityEmployeeManager"
|
|
1503
|
-
},
|
|
1504
|
-
"buddy": {
|
|
2578
|
+
"contractSigner": {
|
|
1505
2579
|
"$ref": "#/components/schemas/sanityEmployeeManager"
|
|
1506
2580
|
},
|
|
1507
|
-
"
|
|
1508
|
-
"
|
|
2581
|
+
"contractSignerRole": {
|
|
2582
|
+
"type": "string"
|
|
1509
2583
|
},
|
|
1510
2584
|
"cv": {
|
|
1511
|
-
"$ref": "#/components/schemas/
|
|
2585
|
+
"$ref": "#/components/schemas/sanityCandidateApplicationLetter"
|
|
1512
2586
|
},
|
|
1513
|
-
"
|
|
1514
|
-
"
|
|
2587
|
+
"education": {
|
|
2588
|
+
"type": "string"
|
|
1515
2589
|
},
|
|
1516
2590
|
"email": {
|
|
1517
2591
|
"type": "string"
|
|
1518
2592
|
},
|
|
1519
|
-
"employeeOption": {
|
|
1520
|
-
"$ref": "#/components/schemas/option_sanityEmployeeManager"
|
|
1521
|
-
},
|
|
1522
2593
|
"employee": {
|
|
1523
2594
|
"$ref": "#/components/schemas/sanityEmployeeManager"
|
|
1524
2595
|
},
|
|
1525
|
-
"fromApplicationOption": {
|
|
1526
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
1527
|
-
},
|
|
1528
2596
|
"fromApplication": {
|
|
1529
|
-
"type": "boolean"
|
|
1530
|
-
"nullable": true
|
|
1531
|
-
},
|
|
1532
|
-
"githubUsernameOption": {
|
|
1533
|
-
"$ref": "#/components/schemas/option_string"
|
|
2597
|
+
"type": "boolean"
|
|
1534
2598
|
},
|
|
1535
2599
|
"githubUsername": {
|
|
1536
2600
|
"type": "string"
|
|
1537
2601
|
},
|
|
1538
|
-
"gradesOption": {
|
|
1539
|
-
"$ref": "#/components/schemas/option_sanityCandidateGrades"
|
|
1540
|
-
},
|
|
1541
2602
|
"grades": {
|
|
1542
|
-
"$ref": "#/components/schemas/
|
|
2603
|
+
"$ref": "#/components/schemas/sanityCandidateApplicationLetter"
|
|
2604
|
+
},
|
|
2605
|
+
"interviews": {
|
|
2606
|
+
"type": "array",
|
|
2607
|
+
"items": {
|
|
2608
|
+
"$ref": "#/components/schemas/sanityCandidateInterviewsInner"
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
"jobPosition": {
|
|
2612
|
+
"$ref": "#/components/schemas/sanityCandidateJobPosition"
|
|
1543
2613
|
},
|
|
1544
|
-
"
|
|
1545
|
-
"
|
|
2614
|
+
"linkedin": {
|
|
2615
|
+
"type": "string"
|
|
1546
2616
|
},
|
|
1547
2617
|
"offboardingChecklist": {
|
|
1548
2618
|
"type": "array",
|
|
@@ -1550,8 +2620,8 @@
|
|
|
1550
2620
|
"$ref": "#/components/schemas/sanityCandidateOffboardingChecklistInner"
|
|
1551
2621
|
}
|
|
1552
2622
|
},
|
|
1553
|
-
"
|
|
1554
|
-
"$ref": "#/components/schemas/
|
|
2623
|
+
"offerPdf": {
|
|
2624
|
+
"$ref": "#/components/schemas/sanityCandidateApplicationLetter"
|
|
1555
2625
|
},
|
|
1556
2626
|
"onboardingChecklist": {
|
|
1557
2627
|
"type": "array",
|
|
@@ -1559,55 +2629,57 @@
|
|
|
1559
2629
|
"$ref": "#/components/schemas/sanityCandidateOffboardingChecklistInner"
|
|
1560
2630
|
}
|
|
1561
2631
|
},
|
|
1562
|
-
"ownershipOption": {
|
|
1563
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
1564
|
-
},
|
|
1565
2632
|
"ownership": {
|
|
1566
2633
|
"type": "number",
|
|
1567
|
-
"format": "double"
|
|
1568
|
-
|
|
2634
|
+
"format": "double"
|
|
2635
|
+
},
|
|
2636
|
+
"personalNumber": {
|
|
2637
|
+
"type": "string"
|
|
1569
2638
|
},
|
|
1570
|
-
"
|
|
1571
|
-
"
|
|
2639
|
+
"pin": {
|
|
2640
|
+
"type": "string"
|
|
1572
2641
|
},
|
|
1573
2642
|
"preferredDisplayName": {
|
|
1574
2643
|
"type": "string"
|
|
1575
2644
|
},
|
|
1576
|
-
"preferredEmailOption": {
|
|
1577
|
-
"$ref": "#/components/schemas/option_string"
|
|
1578
|
-
},
|
|
1579
2645
|
"preferredEmail": {
|
|
1580
2646
|
"type": "string"
|
|
1581
2647
|
},
|
|
1582
|
-
"profileImageOption": {
|
|
1583
|
-
"$ref": "#/components/schemas/option_sanityTvCategoryDashboardsInnerBackgroundImage"
|
|
1584
|
-
},
|
|
1585
2648
|
"profileImage": {
|
|
1586
2649
|
"$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
|
|
1587
2650
|
},
|
|
1588
|
-
"recruiterOption": {
|
|
1589
|
-
"$ref": "#/components/schemas/option_sanityEmployeeManager"
|
|
1590
|
-
},
|
|
1591
2651
|
"recruiter": {
|
|
1592
2652
|
"$ref": "#/components/schemas/sanityEmployeeManager"
|
|
1593
2653
|
},
|
|
1594
|
-
"referencesOption": {
|
|
1595
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
1596
|
-
},
|
|
1597
2654
|
"references": {
|
|
1598
2655
|
"type": "array",
|
|
1599
2656
|
"items": {
|
|
1600
2657
|
"$ref": "#/components/schemas/sanityCandidateReferencesInner"
|
|
1601
2658
|
}
|
|
1602
2659
|
},
|
|
1603
|
-
"
|
|
1604
|
-
"
|
|
2660
|
+
"sanityCreatedAt": {
|
|
2661
|
+
"type": "string"
|
|
2662
|
+
},
|
|
2663
|
+
"sanityId": {
|
|
2664
|
+
"type": "string"
|
|
2665
|
+
},
|
|
2666
|
+
"sanityRev": {
|
|
2667
|
+
"type": "string"
|
|
2668
|
+
},
|
|
2669
|
+
"sanityUpdatedAt": {
|
|
2670
|
+
"type": "string"
|
|
1605
2671
|
},
|
|
1606
2672
|
"shortUrl": {
|
|
1607
2673
|
"type": "string"
|
|
1608
2674
|
},
|
|
1609
|
-
"
|
|
1610
|
-
"$ref": "#/components/schemas/
|
|
2675
|
+
"signedContract": {
|
|
2676
|
+
"$ref": "#/components/schemas/sanityCandidateApplicationLetter"
|
|
2677
|
+
},
|
|
2678
|
+
"snapchatUsername": {
|
|
2679
|
+
"type": "string"
|
|
2680
|
+
},
|
|
2681
|
+
"startDate": {
|
|
2682
|
+
"type": "string"
|
|
1611
2683
|
},
|
|
1612
2684
|
"systemsActive": {
|
|
1613
2685
|
"type": "array",
|
|
@@ -1615,15 +2687,9 @@
|
|
|
1615
2687
|
"$ref": "#/components/schemas/sanitySystemsInner"
|
|
1616
2688
|
}
|
|
1617
2689
|
},
|
|
1618
|
-
"telephoneOption": {
|
|
1619
|
-
"$ref": "#/components/schemas/option_string"
|
|
1620
|
-
},
|
|
1621
2690
|
"telephone": {
|
|
1622
2691
|
"type": "string"
|
|
1623
2692
|
},
|
|
1624
|
-
"urlOption": {
|
|
1625
|
-
"$ref": "#/components/schemas/option_string"
|
|
1626
|
-
},
|
|
1627
2693
|
"url": {
|
|
1628
2694
|
"type": "string"
|
|
1629
2695
|
}
|
|
@@ -1632,183 +2698,183 @@
|
|
|
1632
2698
|
"sanityCandidateAddress": {
|
|
1633
2699
|
"type": "object",
|
|
1634
2700
|
"properties": {
|
|
1635
|
-
"cityOption": {
|
|
1636
|
-
"$ref": "#/components/schemas/option_string"
|
|
1637
|
-
},
|
|
1638
2701
|
"city": {
|
|
1639
2702
|
"type": "string"
|
|
1640
2703
|
},
|
|
1641
|
-
"postalCodeOption": {
|
|
1642
|
-
"$ref": "#/components/schemas/option_string"
|
|
1643
|
-
},
|
|
1644
2704
|
"postalCode": {
|
|
1645
2705
|
"type": "string"
|
|
1646
2706
|
},
|
|
1647
|
-
"streetOption": {
|
|
1648
|
-
"$ref": "#/components/schemas/option_string"
|
|
1649
|
-
},
|
|
1650
2707
|
"street": {
|
|
1651
2708
|
"type": "string"
|
|
1652
2709
|
}
|
|
1653
2710
|
}
|
|
1654
2711
|
},
|
|
1655
|
-
"
|
|
2712
|
+
"sanityCandidateApplicationLetter": {
|
|
1656
2713
|
"type": "object",
|
|
1657
2714
|
"properties": {
|
|
1658
2715
|
"sanityType": {
|
|
1659
2716
|
"enum": [
|
|
1660
|
-
|
|
2717
|
+
"file"
|
|
1661
2718
|
],
|
|
1662
|
-
"type": "
|
|
1663
|
-
"
|
|
1664
|
-
"default": 1
|
|
1665
|
-
},
|
|
1666
|
-
"assetOption": {
|
|
1667
|
-
"$ref": "#/components/schemas/option_sanityDocFileAsset"
|
|
2719
|
+
"type": "string",
|
|
2720
|
+
"default": "file"
|
|
1668
2721
|
},
|
|
1669
2722
|
"asset": {
|
|
1670
2723
|
"$ref": "#/components/schemas/sanityDocFileAsset"
|
|
1671
2724
|
},
|
|
1672
|
-
"mediaOption": {
|
|
1673
|
-
"$ref": "#/components/schemas/option_object"
|
|
1674
|
-
},
|
|
1675
2725
|
"media": {
|
|
1676
2726
|
"type": "object"
|
|
1677
2727
|
}
|
|
1678
2728
|
}
|
|
1679
2729
|
},
|
|
1680
|
-
"
|
|
2730
|
+
"sanityCandidateInterviewsInner": {
|
|
1681
2731
|
"type": "object",
|
|
1682
2732
|
"properties": {
|
|
1683
2733
|
"sanityType": {
|
|
1684
2734
|
"enum": [
|
|
1685
|
-
|
|
2735
|
+
"interview"
|
|
1686
2736
|
],
|
|
1687
|
-
"type": "
|
|
1688
|
-
"
|
|
1689
|
-
"default": 1
|
|
1690
|
-
},
|
|
1691
|
-
"sanityKey": {
|
|
1692
|
-
"type": "string"
|
|
2737
|
+
"type": "string",
|
|
2738
|
+
"default": "interview"
|
|
1693
2739
|
},
|
|
1694
|
-
"
|
|
1695
|
-
"
|
|
2740
|
+
"type": {
|
|
2741
|
+
"enum": [
|
|
2742
|
+
"INTRODUCTION_INTERVIEW",
|
|
2743
|
+
"SALES_INTERVIEW",
|
|
2744
|
+
"TECHNICAL_INTERVIEW"
|
|
2745
|
+
],
|
|
2746
|
+
"type": "string",
|
|
2747
|
+
"default": "INTRODUCTION_INTERVIEW"
|
|
1696
2748
|
},
|
|
1697
|
-
"
|
|
1698
|
-
"$ref": "#/components/schemas/
|
|
2749
|
+
"eventRef": {
|
|
2750
|
+
"$ref": "#/components/schemas/eventReference"
|
|
1699
2751
|
},
|
|
1700
|
-
"
|
|
1701
|
-
"type": "
|
|
1702
|
-
"nullable": true
|
|
2752
|
+
"sanityKey": {
|
|
2753
|
+
"type": "string"
|
|
1703
2754
|
}
|
|
1704
2755
|
}
|
|
1705
2756
|
},
|
|
1706
|
-
"
|
|
2757
|
+
"sanityCandidateJobPosition": {
|
|
1707
2758
|
"type": "object",
|
|
1708
2759
|
"properties": {
|
|
1709
2760
|
"sanityType": {
|
|
1710
2761
|
"enum": [
|
|
1711
|
-
|
|
2762
|
+
"jobPosition"
|
|
1712
2763
|
],
|
|
1713
|
-
"type": "
|
|
1714
|
-
"
|
|
1715
|
-
"default": 1
|
|
2764
|
+
"type": "string",
|
|
2765
|
+
"default": "jobPosition"
|
|
1716
2766
|
},
|
|
1717
|
-
"
|
|
2767
|
+
"askForGrades": {
|
|
2768
|
+
"type": "boolean"
|
|
2769
|
+
},
|
|
2770
|
+
"deadline": {
|
|
1718
2771
|
"type": "string"
|
|
1719
2772
|
},
|
|
1720
|
-
"
|
|
1721
|
-
"
|
|
2773
|
+
"description": {
|
|
2774
|
+
"type": "array",
|
|
2775
|
+
"items": {
|
|
2776
|
+
"$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
|
|
2777
|
+
}
|
|
1722
2778
|
},
|
|
1723
|
-
"
|
|
2779
|
+
"employeeTitle": {
|
|
1724
2780
|
"type": "string"
|
|
1725
2781
|
},
|
|
1726
|
-
"
|
|
1727
|
-
"$ref": "#/components/schemas/
|
|
2782
|
+
"image": {
|
|
2783
|
+
"$ref": "#/components/schemas/sanityCreateTvCategoryDashboardsInnerBackgroundImage"
|
|
1728
2784
|
},
|
|
1729
|
-
"
|
|
2785
|
+
"metaDescription": {
|
|
1730
2786
|
"type": "string"
|
|
1731
2787
|
},
|
|
1732
|
-
"
|
|
1733
|
-
"
|
|
2788
|
+
"sanityCreatedAt": {
|
|
2789
|
+
"type": "string"
|
|
1734
2790
|
},
|
|
1735
|
-
"
|
|
2791
|
+
"sanityId": {
|
|
1736
2792
|
"type": "string"
|
|
1737
2793
|
},
|
|
1738
|
-
"
|
|
1739
|
-
"
|
|
2794
|
+
"sanityRev": {
|
|
2795
|
+
"type": "string"
|
|
1740
2796
|
},
|
|
1741
|
-
"
|
|
2797
|
+
"sanityUpdatedAt": {
|
|
2798
|
+
"type": "string"
|
|
2799
|
+
},
|
|
2800
|
+
"slug": {
|
|
2801
|
+
"$ref": "#/components/schemas/slug"
|
|
2802
|
+
},
|
|
2803
|
+
"title": {
|
|
1742
2804
|
"type": "string"
|
|
1743
2805
|
}
|
|
1744
2806
|
}
|
|
1745
2807
|
},
|
|
1746
|
-
"
|
|
2808
|
+
"sanityCandidateOffboardingChecklistInner": {
|
|
1747
2809
|
"type": "object",
|
|
1748
2810
|
"properties": {
|
|
1749
|
-
"
|
|
2811
|
+
"sanityType": {
|
|
1750
2812
|
"enum": [
|
|
1751
|
-
|
|
1752
|
-
2,
|
|
1753
|
-
3,
|
|
1754
|
-
4,
|
|
1755
|
-
5,
|
|
1756
|
-
6,
|
|
1757
|
-
7,
|
|
1758
|
-
8
|
|
2813
|
+
"reference"
|
|
1759
2814
|
],
|
|
1760
|
-
"type": "
|
|
1761
|
-
"
|
|
1762
|
-
"default": 1
|
|
2815
|
+
"type": "string",
|
|
2816
|
+
"default": "reference"
|
|
1763
2817
|
},
|
|
1764
|
-
"
|
|
1765
|
-
"
|
|
1766
|
-
1,
|
|
1767
|
-
2
|
|
1768
|
-
],
|
|
1769
|
-
"type": "integer",
|
|
1770
|
-
"format": "int32",
|
|
1771
|
-
"default": 1
|
|
2818
|
+
"sanityKey": {
|
|
2819
|
+
"type": "string"
|
|
1772
2820
|
},
|
|
1773
|
-
"
|
|
2821
|
+
"sanityRef": {
|
|
1774
2822
|
"type": "string"
|
|
1775
2823
|
},
|
|
1776
|
-
"
|
|
1777
|
-
"type": "
|
|
1778
|
-
"additionalProperties": {
|
|
1779
|
-
"$ref": "#/components/schemas/jsonElement"
|
|
1780
|
-
}
|
|
2824
|
+
"sanityWeak": {
|
|
2825
|
+
"type": "boolean"
|
|
1781
2826
|
}
|
|
1782
2827
|
}
|
|
1783
2828
|
},
|
|
1784
|
-
"
|
|
2829
|
+
"sanityCandidateReferencesInner": {
|
|
1785
2830
|
"type": "object",
|
|
1786
2831
|
"properties": {
|
|
1787
|
-
"
|
|
2832
|
+
"sanityType": {
|
|
2833
|
+
"enum": [
|
|
2834
|
+
"candidateReference"
|
|
2835
|
+
],
|
|
2836
|
+
"type": "string",
|
|
2837
|
+
"default": "candidateReference"
|
|
2838
|
+
},
|
|
2839
|
+
"details": {
|
|
2840
|
+
"type": "string"
|
|
2841
|
+
},
|
|
2842
|
+
"email": {
|
|
2843
|
+
"type": "string"
|
|
2844
|
+
},
|
|
2845
|
+
"name": {
|
|
1788
2846
|
"type": "string"
|
|
1789
2847
|
},
|
|
1790
|
-
"
|
|
1791
|
-
"
|
|
2848
|
+
"phone": {
|
|
2849
|
+
"type": "string"
|
|
1792
2850
|
},
|
|
2851
|
+
"sanityKey": {
|
|
2852
|
+
"type": "string"
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2855
|
+
},
|
|
2856
|
+
"sanityCreateSystem": {
|
|
2857
|
+
"type": "object",
|
|
2858
|
+
"properties": {
|
|
1793
2859
|
"description": {
|
|
1794
2860
|
"type": "array",
|
|
1795
2861
|
"items": {
|
|
1796
2862
|
"type": "object"
|
|
1797
2863
|
}
|
|
1798
2864
|
},
|
|
1799
|
-
"linksOption": {
|
|
1800
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
1801
|
-
},
|
|
1802
2865
|
"links": {
|
|
1803
2866
|
"type": "array",
|
|
1804
2867
|
"items": {
|
|
1805
2868
|
"type": "string"
|
|
1806
2869
|
}
|
|
1807
2870
|
},
|
|
2871
|
+
"title": {
|
|
2872
|
+
"type": "string"
|
|
2873
|
+
},
|
|
1808
2874
|
"additionalProperties": {
|
|
1809
2875
|
"type": "object",
|
|
1810
2876
|
"additionalProperties": {
|
|
1811
|
-
"
|
|
2877
|
+
"type": "object"
|
|
1812
2878
|
}
|
|
1813
2879
|
}
|
|
1814
2880
|
}
|
|
@@ -1818,18 +2884,11 @@
|
|
|
1818
2884
|
"properties": {
|
|
1819
2885
|
"type": {
|
|
1820
2886
|
"enum": [
|
|
1821
|
-
|
|
1822
|
-
|
|
2887
|
+
"onboarding",
|
|
2888
|
+
"offboarding"
|
|
1823
2889
|
],
|
|
1824
|
-
"type": "
|
|
1825
|
-
"
|
|
1826
|
-
"default": 1
|
|
1827
|
-
},
|
|
1828
|
-
"title": {
|
|
1829
|
-
"type": "string"
|
|
1830
|
-
},
|
|
1831
|
-
"descriptionOption": {
|
|
1832
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2890
|
+
"type": "string",
|
|
2891
|
+
"default": "onboarding"
|
|
1833
2892
|
},
|
|
1834
2893
|
"description": {
|
|
1835
2894
|
"type": "array",
|
|
@@ -1837,48 +2896,80 @@
|
|
|
1837
2896
|
"type": "object"
|
|
1838
2897
|
}
|
|
1839
2898
|
},
|
|
1840
|
-
"reminderSlackChannelOption": {
|
|
1841
|
-
"$ref": "#/components/schemas/option_string"
|
|
1842
|
-
},
|
|
1843
2899
|
"reminderSlackChannel": {
|
|
1844
2900
|
"type": "string"
|
|
1845
2901
|
},
|
|
1846
|
-
"reminderWeeksBeforeOption": {
|
|
1847
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
1848
|
-
},
|
|
1849
2902
|
"reminderWeeksBefore": {
|
|
1850
2903
|
"type": "number",
|
|
1851
2904
|
"format": "double",
|
|
1852
2905
|
"nullable": true
|
|
1853
2906
|
},
|
|
2907
|
+
"title": {
|
|
2908
|
+
"type": "string"
|
|
2909
|
+
},
|
|
1854
2910
|
"additionalProperties": {
|
|
1855
2911
|
"type": "object",
|
|
1856
2912
|
"additionalProperties": {
|
|
1857
|
-
"
|
|
2913
|
+
"type": "object"
|
|
1858
2914
|
}
|
|
1859
2915
|
}
|
|
1860
2916
|
}
|
|
1861
2917
|
},
|
|
1862
|
-
"
|
|
2918
|
+
"sanityCreateTvCategoryDashboardsInnerBackgroundImage": {
|
|
1863
2919
|
"type": "object",
|
|
1864
2920
|
"properties": {
|
|
1865
2921
|
"sanityType": {
|
|
1866
2922
|
"enum": [
|
|
1867
|
-
|
|
2923
|
+
"image"
|
|
1868
2924
|
],
|
|
1869
|
-
"type": "
|
|
1870
|
-
"
|
|
1871
|
-
|
|
2925
|
+
"type": "string",
|
|
2926
|
+
"default": "image"
|
|
2927
|
+
},
|
|
2928
|
+
"asset": {
|
|
2929
|
+
"$ref": "#/components/schemas/sanityImageAssetReference"
|
|
2930
|
+
},
|
|
2931
|
+
"crop": {
|
|
2932
|
+
"$ref": "#/components/schemas/sanityImageCrop"
|
|
2933
|
+
},
|
|
2934
|
+
"hotspot": {
|
|
2935
|
+
"$ref": "#/components/schemas/sanityImageHotspot"
|
|
2936
|
+
},
|
|
2937
|
+
"media": {
|
|
2938
|
+
"type": "object"
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
},
|
|
2942
|
+
"sanityDocFileAsset": {
|
|
2943
|
+
"type": "object",
|
|
2944
|
+
"properties": {
|
|
2945
|
+
"sanityType": {
|
|
2946
|
+
"enum": [
|
|
2947
|
+
"sanity.fileAsset"
|
|
2948
|
+
],
|
|
2949
|
+
"type": "string",
|
|
2950
|
+
"default": "sanity.fileAsset"
|
|
2951
|
+
},
|
|
2952
|
+
"altText": {
|
|
2953
|
+
"type": "string"
|
|
1872
2954
|
},
|
|
1873
2955
|
"assetId": {
|
|
1874
2956
|
"type": "string"
|
|
1875
2957
|
},
|
|
2958
|
+
"description": {
|
|
2959
|
+
"type": "string"
|
|
2960
|
+
},
|
|
1876
2961
|
"extension": {
|
|
1877
2962
|
"type": "string"
|
|
1878
2963
|
},
|
|
2964
|
+
"label": {
|
|
2965
|
+
"type": "string"
|
|
2966
|
+
},
|
|
1879
2967
|
"mimeType": {
|
|
1880
2968
|
"type": "string"
|
|
1881
2969
|
},
|
|
2970
|
+
"originalFilename": {
|
|
2971
|
+
"type": "string"
|
|
2972
|
+
},
|
|
1882
2973
|
"path": {
|
|
1883
2974
|
"type": "string"
|
|
1884
2975
|
},
|
|
@@ -1901,50 +2992,17 @@
|
|
|
1901
2992
|
"type": "number",
|
|
1902
2993
|
"format": "double"
|
|
1903
2994
|
},
|
|
1904
|
-
"url": {
|
|
1905
|
-
"type": "string"
|
|
1906
|
-
},
|
|
1907
|
-
"altTextOption": {
|
|
1908
|
-
"$ref": "#/components/schemas/option_string"
|
|
1909
|
-
},
|
|
1910
|
-
"altText": {
|
|
1911
|
-
"type": "string"
|
|
1912
|
-
},
|
|
1913
|
-
"descriptionOption": {
|
|
1914
|
-
"$ref": "#/components/schemas/option_string"
|
|
1915
|
-
},
|
|
1916
|
-
"description": {
|
|
1917
|
-
"type": "string"
|
|
1918
|
-
},
|
|
1919
|
-
"labelOption": {
|
|
1920
|
-
"$ref": "#/components/schemas/option_string"
|
|
1921
|
-
},
|
|
1922
|
-
"label": {
|
|
1923
|
-
"type": "string"
|
|
1924
|
-
},
|
|
1925
|
-
"originalFilenameOption": {
|
|
1926
|
-
"$ref": "#/components/schemas/option_string"
|
|
1927
|
-
},
|
|
1928
|
-
"originalFilename": {
|
|
1929
|
-
"type": "string"
|
|
1930
|
-
},
|
|
1931
|
-
"sourceOption": {
|
|
1932
|
-
"$ref": "#/components/schemas/option_sanityAssetSourceData"
|
|
1933
|
-
},
|
|
1934
2995
|
"source": {
|
|
1935
2996
|
"$ref": "#/components/schemas/sanityAssetSourceData"
|
|
1936
2997
|
},
|
|
1937
|
-
"titleOption": {
|
|
1938
|
-
"$ref": "#/components/schemas/option_string"
|
|
1939
|
-
},
|
|
1940
2998
|
"title": {
|
|
1941
2999
|
"type": "string"
|
|
1942
3000
|
},
|
|
1943
|
-
"uploadIdOption": {
|
|
1944
|
-
"$ref": "#/components/schemas/option_string"
|
|
1945
|
-
},
|
|
1946
3001
|
"uploadId": {
|
|
1947
3002
|
"type": "string"
|
|
3003
|
+
},
|
|
3004
|
+
"url": {
|
|
3005
|
+
"type": "string"
|
|
1948
3006
|
}
|
|
1949
3007
|
}
|
|
1950
3008
|
},
|
|
@@ -1953,17 +3011,24 @@
|
|
|
1953
3011
|
"properties": {
|
|
1954
3012
|
"sanityType": {
|
|
1955
3013
|
"enum": [
|
|
1956
|
-
|
|
3014
|
+
"employee"
|
|
1957
3015
|
],
|
|
1958
|
-
"type": "
|
|
1959
|
-
"
|
|
1960
|
-
"default": 1
|
|
3016
|
+
"type": "string",
|
|
3017
|
+
"default": "employee"
|
|
1961
3018
|
},
|
|
1962
3019
|
"email": {
|
|
1963
3020
|
"type": "string"
|
|
1964
3021
|
},
|
|
1965
3022
|
"image": {
|
|
1966
|
-
"$ref": "#/components/schemas/
|
|
3023
|
+
"$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
|
|
3024
|
+
},
|
|
3025
|
+
"isBot": {
|
|
3026
|
+
"type": "boolean",
|
|
3027
|
+
"nullable": true
|
|
3028
|
+
},
|
|
3029
|
+
"isExternal": {
|
|
3030
|
+
"type": "boolean",
|
|
3031
|
+
"nullable": true
|
|
1967
3032
|
},
|
|
1968
3033
|
"name": {
|
|
1969
3034
|
"type": "string"
|
|
@@ -1972,42 +3037,16 @@
|
|
|
1972
3037
|
"type": "string"
|
|
1973
3038
|
},
|
|
1974
3039
|
"slug": {
|
|
1975
|
-
"$ref": "#/components/schemas/
|
|
1976
|
-
},
|
|
1977
|
-
"telephone": {
|
|
1978
|
-
"type": "string"
|
|
1979
|
-
},
|
|
1980
|
-
"tagsOption": {
|
|
1981
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
3040
|
+
"$ref": "#/components/schemas/slug"
|
|
1982
3041
|
},
|
|
1983
3042
|
"tags": {
|
|
1984
3043
|
"type": "array",
|
|
1985
3044
|
"items": {
|
|
1986
|
-
"$ref": "#/components/schemas/
|
|
3045
|
+
"$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
|
|
1987
3046
|
}
|
|
1988
|
-
}
|
|
1989
|
-
}
|
|
1990
|
-
},
|
|
1991
|
-
"sanityEmployeeReference": {
|
|
1992
|
-
"type": "object",
|
|
1993
|
-
"properties": {
|
|
1994
|
-
"sanityType": {
|
|
1995
|
-
"enum": [
|
|
1996
|
-
1
|
|
1997
|
-
],
|
|
1998
|
-
"type": "integer",
|
|
1999
|
-
"format": "int32",
|
|
2000
|
-
"default": 1
|
|
2001
3047
|
},
|
|
2002
|
-
"
|
|
3048
|
+
"telephone": {
|
|
2003
3049
|
"type": "string"
|
|
2004
|
-
},
|
|
2005
|
-
"sanityWeakOption": {
|
|
2006
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2007
|
-
},
|
|
2008
|
-
"sanityWeak": {
|
|
2009
|
-
"type": "boolean",
|
|
2010
|
-
"nullable": true
|
|
2011
3050
|
}
|
|
2012
3051
|
}
|
|
2013
3052
|
},
|
|
@@ -2016,21 +3055,16 @@
|
|
|
2016
3055
|
"properties": {
|
|
2017
3056
|
"sanityType": {
|
|
2018
3057
|
"enum": [
|
|
2019
|
-
|
|
3058
|
+
"reference"
|
|
2020
3059
|
],
|
|
2021
|
-
"type": "
|
|
2022
|
-
"
|
|
2023
|
-
"default": 1
|
|
3060
|
+
"type": "string",
|
|
3061
|
+
"default": "reference"
|
|
2024
3062
|
},
|
|
2025
3063
|
"sanityRef": {
|
|
2026
3064
|
"type": "string"
|
|
2027
3065
|
},
|
|
2028
|
-
"sanityWeakOption": {
|
|
2029
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2030
|
-
},
|
|
2031
3066
|
"sanityWeak": {
|
|
2032
|
-
"type": "boolean"
|
|
2033
|
-
"nullable": true
|
|
3067
|
+
"type": "boolean"
|
|
2034
3068
|
}
|
|
2035
3069
|
}
|
|
2036
3070
|
},
|
|
@@ -2039,21 +3073,16 @@
|
|
|
2039
3073
|
"properties": {
|
|
2040
3074
|
"sanityType": {
|
|
2041
3075
|
"enum": [
|
|
2042
|
-
|
|
3076
|
+
"reference"
|
|
2043
3077
|
],
|
|
2044
|
-
"type": "
|
|
2045
|
-
"
|
|
2046
|
-
"default": 1
|
|
3078
|
+
"type": "string",
|
|
3079
|
+
"default": "reference"
|
|
2047
3080
|
},
|
|
2048
3081
|
"sanityRef": {
|
|
2049
3082
|
"type": "string"
|
|
2050
3083
|
},
|
|
2051
|
-
"sanityWeakOption": {
|
|
2052
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2053
|
-
},
|
|
2054
3084
|
"sanityWeak": {
|
|
2055
|
-
"type": "boolean"
|
|
2056
|
-
"nullable": true
|
|
3085
|
+
"type": "boolean"
|
|
2057
3086
|
}
|
|
2058
3087
|
}
|
|
2059
3088
|
},
|
|
@@ -2062,11 +3091,10 @@
|
|
|
2062
3091
|
"properties": {
|
|
2063
3092
|
"sanityType": {
|
|
2064
3093
|
"enum": [
|
|
2065
|
-
|
|
3094
|
+
"sanity.imageCrop"
|
|
2066
3095
|
],
|
|
2067
|
-
"type": "
|
|
2068
|
-
"
|
|
2069
|
-
"default": 1
|
|
3096
|
+
"type": "string",
|
|
3097
|
+
"default": "sanity.imageCrop"
|
|
2070
3098
|
},
|
|
2071
3099
|
"bottom": {
|
|
2072
3100
|
"type": "number",
|
|
@@ -2091,11 +3119,10 @@
|
|
|
2091
3119
|
"properties": {
|
|
2092
3120
|
"sanityType": {
|
|
2093
3121
|
"enum": [
|
|
2094
|
-
|
|
3122
|
+
"sanity.imageHotspot"
|
|
2095
3123
|
],
|
|
2096
|
-
"type": "
|
|
2097
|
-
"
|
|
2098
|
-
"default": 1
|
|
3124
|
+
"type": "string",
|
|
3125
|
+
"default": "sanity.imageHotspot"
|
|
2099
3126
|
},
|
|
2100
3127
|
"height": {
|
|
2101
3128
|
"type": "number",
|
|
@@ -2120,21 +3147,29 @@
|
|
|
2120
3147
|
"properties": {
|
|
2121
3148
|
"sanityType": {
|
|
2122
3149
|
"enum": [
|
|
2123
|
-
|
|
3150
|
+
"jobPosition"
|
|
2124
3151
|
],
|
|
2125
|
-
"type": "
|
|
2126
|
-
"
|
|
2127
|
-
"default": 1
|
|
3152
|
+
"type": "string",
|
|
3153
|
+
"default": "jobPosition"
|
|
2128
3154
|
},
|
|
2129
3155
|
"askForGrades": {
|
|
2130
3156
|
"type": "boolean"
|
|
2131
3157
|
},
|
|
3158
|
+
"deadline": {
|
|
3159
|
+
"type": "string"
|
|
3160
|
+
},
|
|
2132
3161
|
"description": {
|
|
2133
3162
|
"type": "array",
|
|
2134
3163
|
"items": {
|
|
2135
3164
|
"$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
|
|
2136
3165
|
}
|
|
2137
3166
|
},
|
|
3167
|
+
"employeeTitle": {
|
|
3168
|
+
"type": "string"
|
|
3169
|
+
},
|
|
3170
|
+
"image": {
|
|
3171
|
+
"$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
|
|
3172
|
+
},
|
|
2138
3173
|
"metaDescription": {
|
|
2139
3174
|
"type": "string"
|
|
2140
3175
|
},
|
|
@@ -2151,22 +3186,10 @@
|
|
|
2151
3186
|
"type": "string"
|
|
2152
3187
|
},
|
|
2153
3188
|
"slug": {
|
|
2154
|
-
"$ref": "#/components/schemas/
|
|
3189
|
+
"$ref": "#/components/schemas/slug"
|
|
2155
3190
|
},
|
|
2156
3191
|
"title": {
|
|
2157
3192
|
"type": "string"
|
|
2158
|
-
},
|
|
2159
|
-
"deadlineOption": {
|
|
2160
|
-
"$ref": "#/components/schemas/option_string"
|
|
2161
|
-
},
|
|
2162
|
-
"deadline": {
|
|
2163
|
-
"type": "string"
|
|
2164
|
-
},
|
|
2165
|
-
"imageOption": {
|
|
2166
|
-
"$ref": "#/components/schemas/option_sanityTvCategoryDashboardsInnerBackgroundImage"
|
|
2167
|
-
},
|
|
2168
|
-
"image": {
|
|
2169
|
-
"$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
|
|
2170
3193
|
}
|
|
2171
3194
|
}
|
|
2172
3195
|
},
|
|
@@ -2175,255 +3198,37 @@
|
|
|
2175
3198
|
"properties": {
|
|
2176
3199
|
"type": {
|
|
2177
3200
|
"enum": [
|
|
2178
|
-
|
|
3201
|
+
"onboarding"
|
|
2179
3202
|
],
|
|
2180
|
-
"type": "
|
|
2181
|
-
"
|
|
2182
|
-
"default": 1
|
|
3203
|
+
"type": "string",
|
|
3204
|
+
"default": "onboarding"
|
|
2183
3205
|
},
|
|
2184
|
-
"
|
|
2185
|
-
"type": "string"
|
|
2186
|
-
},
|
|
2187
|
-
"reminderWeeksBefore": {
|
|
3206
|
+
"remindDaysBefore": {
|
|
2188
3207
|
"type": "number",
|
|
2189
3208
|
"format": "double"
|
|
2190
3209
|
},
|
|
2191
|
-
"sanityCreatedAt": {
|
|
2192
|
-
"type": "string"
|
|
2193
|
-
},
|
|
2194
|
-
"sanityId": {
|
|
2195
|
-
"type": "string"
|
|
2196
|
-
},
|
|
2197
|
-
"sanityRev": {
|
|
2198
|
-
"type": "string"
|
|
2199
|
-
},
|
|
2200
|
-
"sanityType": {
|
|
2201
|
-
"type": "string"
|
|
2202
|
-
},
|
|
2203
|
-
"sanityUpdatedAt": {
|
|
2204
|
-
"type": "string"
|
|
2205
|
-
},
|
|
2206
|
-
"title": {
|
|
2207
|
-
"type": "string"
|
|
2208
|
-
},
|
|
2209
|
-
"additionalProperties": {
|
|
2210
|
-
"type": "object",
|
|
2211
|
-
"additionalProperties": {
|
|
2212
|
-
"$ref": "#/components/schemas/jsonElement"
|
|
2213
|
-
}
|
|
2214
|
-
}
|
|
2215
|
-
}
|
|
2216
|
-
},
|
|
2217
|
-
"sanityPatchCandidate": {
|
|
2218
|
-
"type": "object",
|
|
2219
|
-
"properties": {
|
|
2220
|
-
"sanityTypeOption": {
|
|
2221
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2222
|
-
},
|
|
2223
|
-
"sanityType": {
|
|
2224
|
-
"enum": [
|
|
2225
|
-
1
|
|
2226
|
-
],
|
|
2227
|
-
"type": "integer",
|
|
2228
|
-
"format": "int32",
|
|
2229
|
-
"default": 1,
|
|
2230
|
-
"nullable": true
|
|
2231
|
-
},
|
|
2232
|
-
"statusOption": {
|
|
2233
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2234
|
-
},
|
|
2235
|
-
"status": {
|
|
2236
|
-
"enum": [
|
|
2237
|
-
1,
|
|
2238
|
-
2,
|
|
2239
|
-
3,
|
|
2240
|
-
4,
|
|
2241
|
-
5,
|
|
2242
|
-
6,
|
|
2243
|
-
7,
|
|
2244
|
-
8
|
|
2245
|
-
],
|
|
2246
|
-
"type": "integer",
|
|
2247
|
-
"format": "int32",
|
|
2248
|
-
"default": 1,
|
|
2249
|
-
"nullable": true
|
|
2250
|
-
},
|
|
2251
|
-
"trackOption": {
|
|
2252
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2253
|
-
},
|
|
2254
|
-
"track": {
|
|
2255
|
-
"enum": [
|
|
2256
|
-
1,
|
|
2257
|
-
2
|
|
2258
|
-
],
|
|
2259
|
-
"type": "integer",
|
|
2260
|
-
"format": "int32",
|
|
2261
|
-
"default": 1,
|
|
2262
|
-
"nullable": true
|
|
2263
|
-
},
|
|
2264
|
-
"addressOption": {
|
|
2265
|
-
"$ref": "#/components/schemas/option_sanityPatchCandidateAddress"
|
|
2266
|
-
},
|
|
2267
|
-
"address": {
|
|
2268
|
-
"$ref": "#/components/schemas/sanityPatchCandidateAddress"
|
|
2269
|
-
},
|
|
2270
|
-
"applicationLetterOption": {
|
|
2271
|
-
"$ref": "#/components/schemas/option_sanityPatchCandidateApplicationLetter"
|
|
2272
|
-
},
|
|
2273
|
-
"applicationLetter": {
|
|
2274
|
-
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
2275
|
-
},
|
|
2276
|
-
"applicationOtherOption": {
|
|
2277
|
-
"$ref": "#/components/schemas/option_string"
|
|
2278
|
-
},
|
|
2279
|
-
"applicationOther": {
|
|
2280
|
-
"type": "string"
|
|
2281
|
-
},
|
|
2282
|
-
"bankAccountOption": {
|
|
2283
|
-
"$ref": "#/components/schemas/option_string"
|
|
2284
|
-
},
|
|
2285
|
-
"bankAccount": {
|
|
2286
|
-
"type": "string"
|
|
2287
|
-
},
|
|
2288
|
-
"buddyOption": {
|
|
2289
|
-
"$ref": "#/components/schemas/option_sanityEmployeeReference"
|
|
2290
|
-
},
|
|
2291
|
-
"buddy": {
|
|
2292
|
-
"$ref": "#/components/schemas/sanityEmployeeReference"
|
|
2293
|
-
},
|
|
2294
|
-
"candidateOption": {
|
|
2295
|
-
"$ref": "#/components/schemas/option_string"
|
|
2296
|
-
},
|
|
2297
|
-
"candidate": {
|
|
2298
|
-
"type": "string"
|
|
2299
|
-
},
|
|
2300
|
-
"cvOption": {
|
|
2301
|
-
"$ref": "#/components/schemas/option_sanityPatchCandidateApplicationLetter"
|
|
2302
|
-
},
|
|
2303
|
-
"cv": {
|
|
2304
|
-
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
2305
|
-
},
|
|
2306
|
-
"emailOption": {
|
|
2307
|
-
"$ref": "#/components/schemas/option_string"
|
|
2308
|
-
},
|
|
2309
|
-
"email": {
|
|
2310
|
-
"type": "string"
|
|
2311
|
-
},
|
|
2312
|
-
"employeeOption": {
|
|
2313
|
-
"$ref": "#/components/schemas/option_sanityEmployeeReference"
|
|
2314
|
-
},
|
|
2315
|
-
"employee": {
|
|
2316
|
-
"$ref": "#/components/schemas/sanityEmployeeReference"
|
|
2317
|
-
},
|
|
2318
|
-
"fromApplicationOption": {
|
|
2319
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2320
|
-
},
|
|
2321
|
-
"fromApplication": {
|
|
2322
|
-
"type": "boolean",
|
|
2323
|
-
"nullable": true
|
|
2324
|
-
},
|
|
2325
|
-
"githubUsernameOption": {
|
|
2326
|
-
"$ref": "#/components/schemas/option_string"
|
|
2327
|
-
},
|
|
2328
|
-
"githubUsername": {
|
|
2329
|
-
"type": "string"
|
|
2330
|
-
},
|
|
2331
|
-
"gradesOption": {
|
|
2332
|
-
"$ref": "#/components/schemas/option_sanityPatchCandidateApplicationLetter"
|
|
2333
|
-
},
|
|
2334
|
-
"grades": {
|
|
2335
|
-
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
2336
|
-
},
|
|
2337
|
-
"offboardingChecklistOption": {
|
|
2338
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2339
|
-
},
|
|
2340
|
-
"offboardingChecklist": {
|
|
2341
|
-
"type": "array",
|
|
2342
|
-
"items": {
|
|
2343
|
-
"$ref": "#/components/schemas/sanityCandidateOffboardingChecklistInner"
|
|
2344
|
-
}
|
|
2345
|
-
},
|
|
2346
|
-
"onboardingChecklistOption": {
|
|
2347
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2348
|
-
},
|
|
2349
|
-
"onboardingChecklist": {
|
|
2350
|
-
"type": "array",
|
|
2351
|
-
"items": {
|
|
2352
|
-
"$ref": "#/components/schemas/sanityCandidateOffboardingChecklistInner"
|
|
2353
|
-
}
|
|
2354
|
-
},
|
|
2355
|
-
"ownershipOption": {
|
|
2356
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2357
|
-
},
|
|
2358
|
-
"ownership": {
|
|
2359
|
-
"type": "number",
|
|
2360
|
-
"format": "double",
|
|
2361
|
-
"nullable": true
|
|
2362
|
-
},
|
|
2363
|
-
"preferredDisplayNameOption": {
|
|
2364
|
-
"$ref": "#/components/schemas/option_string"
|
|
2365
|
-
},
|
|
2366
|
-
"preferredDisplayName": {
|
|
2367
|
-
"type": "string"
|
|
2368
|
-
},
|
|
2369
|
-
"preferredEmailOption": {
|
|
2370
|
-
"$ref": "#/components/schemas/option_string"
|
|
2371
|
-
},
|
|
2372
|
-
"preferredEmail": {
|
|
2373
|
-
"type": "string"
|
|
2374
|
-
},
|
|
2375
|
-
"profileImageOption": {
|
|
2376
|
-
"$ref": "#/components/schemas/option_sanityPatchPageMetaImage"
|
|
2377
|
-
},
|
|
2378
|
-
"profileImage": {
|
|
2379
|
-
"$ref": "#/components/schemas/sanityPatchPageMetaImage"
|
|
2380
|
-
},
|
|
2381
|
-
"recruiterOption": {
|
|
2382
|
-
"$ref": "#/components/schemas/option_sanityEmployeeReference"
|
|
2383
|
-
},
|
|
2384
|
-
"recruiter": {
|
|
2385
|
-
"$ref": "#/components/schemas/sanityEmployeeReference"
|
|
2386
|
-
},
|
|
2387
|
-
"referencesOption": {
|
|
2388
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2389
|
-
},
|
|
2390
|
-
"references": {
|
|
2391
|
-
"type": "array",
|
|
2392
|
-
"items": {
|
|
2393
|
-
"$ref": "#/components/schemas/sanityCandidateReferencesInner"
|
|
2394
|
-
}
|
|
2395
|
-
},
|
|
2396
|
-
"shortUrlOption": {
|
|
2397
|
-
"$ref": "#/components/schemas/option_string"
|
|
2398
|
-
},
|
|
2399
|
-
"shortUrl": {
|
|
3210
|
+
"sanityCreatedAt": {
|
|
2400
3211
|
"type": "string"
|
|
2401
3212
|
},
|
|
2402
|
-
"
|
|
2403
|
-
"
|
|
2404
|
-
},
|
|
2405
|
-
"systemsActive": {
|
|
2406
|
-
"type": "array",
|
|
2407
|
-
"items": {
|
|
2408
|
-
"$ref": "#/components/schemas/sanityPatchCandidateSystemsActiveInner"
|
|
2409
|
-
}
|
|
3213
|
+
"sanityId": {
|
|
3214
|
+
"type": "string"
|
|
2410
3215
|
},
|
|
2411
|
-
"
|
|
2412
|
-
"
|
|
3216
|
+
"sanityRev": {
|
|
3217
|
+
"type": "string"
|
|
2413
3218
|
},
|
|
2414
|
-
"
|
|
3219
|
+
"sanityType": {
|
|
2415
3220
|
"type": "string"
|
|
2416
3221
|
},
|
|
2417
|
-
"
|
|
2418
|
-
"
|
|
3222
|
+
"sanityUpdatedAt": {
|
|
3223
|
+
"type": "string"
|
|
2419
3224
|
},
|
|
2420
|
-
"
|
|
3225
|
+
"title": {
|
|
2421
3226
|
"type": "string"
|
|
2422
3227
|
},
|
|
2423
3228
|
"additionalProperties": {
|
|
2424
3229
|
"type": "object",
|
|
2425
3230
|
"additionalProperties": {
|
|
2426
|
-
"
|
|
3231
|
+
"type": "object"
|
|
2427
3232
|
}
|
|
2428
3233
|
}
|
|
2429
3234
|
}
|
|
@@ -2431,21 +3236,12 @@
|
|
|
2431
3236
|
"sanityPatchCandidateAddress": {
|
|
2432
3237
|
"type": "object",
|
|
2433
3238
|
"properties": {
|
|
2434
|
-
"cityOption": {
|
|
2435
|
-
"$ref": "#/components/schemas/option_string"
|
|
2436
|
-
},
|
|
2437
3239
|
"city": {
|
|
2438
3240
|
"type": "string"
|
|
2439
3241
|
},
|
|
2440
|
-
"postalCodeOption": {
|
|
2441
|
-
"$ref": "#/components/schemas/option_string"
|
|
2442
|
-
},
|
|
2443
3242
|
"postalCode": {
|
|
2444
3243
|
"type": "string"
|
|
2445
3244
|
},
|
|
2446
|
-
"streetOption": {
|
|
2447
|
-
"$ref": "#/components/schemas/option_string"
|
|
2448
|
-
},
|
|
2449
3245
|
"street": {
|
|
2450
3246
|
"type": "string"
|
|
2451
3247
|
}
|
|
@@ -2456,36 +3252,55 @@
|
|
|
2456
3252
|
"properties": {
|
|
2457
3253
|
"sanityType": {
|
|
2458
3254
|
"enum": [
|
|
2459
|
-
|
|
3255
|
+
"file"
|
|
2460
3256
|
],
|
|
2461
|
-
"type": "
|
|
2462
|
-
"
|
|
2463
|
-
"default": 1
|
|
2464
|
-
},
|
|
2465
|
-
"assetOption": {
|
|
2466
|
-
"$ref": "#/components/schemas/option_sanityFileAssetReference"
|
|
3257
|
+
"type": "string",
|
|
3258
|
+
"default": "file"
|
|
2467
3259
|
},
|
|
2468
3260
|
"asset": {
|
|
2469
3261
|
"$ref": "#/components/schemas/sanityFileAssetReference"
|
|
2470
3262
|
},
|
|
2471
|
-
"mediaOption": {
|
|
2472
|
-
"$ref": "#/components/schemas/option_object"
|
|
2473
|
-
},
|
|
2474
3263
|
"media": {
|
|
2475
3264
|
"type": "object"
|
|
2476
3265
|
}
|
|
2477
3266
|
}
|
|
2478
3267
|
},
|
|
3268
|
+
"sanityPatchCandidateInterviewsInner": {
|
|
3269
|
+
"type": "object",
|
|
3270
|
+
"properties": {
|
|
3271
|
+
"sanityType": {
|
|
3272
|
+
"enum": [
|
|
3273
|
+
"interview"
|
|
3274
|
+
],
|
|
3275
|
+
"type": "string",
|
|
3276
|
+
"default": "interview"
|
|
3277
|
+
},
|
|
3278
|
+
"type": {
|
|
3279
|
+
"enum": [
|
|
3280
|
+
"INTRODUCTION_INTERVIEW",
|
|
3281
|
+
"TECHNICAL_INTERVIEW",
|
|
3282
|
+
"SALES_INTERVIEW"
|
|
3283
|
+
],
|
|
3284
|
+
"type": "string",
|
|
3285
|
+
"default": "INTRODUCTION_INTERVIEW"
|
|
3286
|
+
},
|
|
3287
|
+
"eventRef": {
|
|
3288
|
+
"$ref": "#/components/schemas/eventReference"
|
|
3289
|
+
},
|
|
3290
|
+
"sanityKey": {
|
|
3291
|
+
"type": "string"
|
|
3292
|
+
}
|
|
3293
|
+
}
|
|
3294
|
+
},
|
|
2479
3295
|
"sanityPatchCandidateSystemsActiveInner": {
|
|
2480
3296
|
"type": "object",
|
|
2481
3297
|
"properties": {
|
|
2482
3298
|
"sanityType": {
|
|
2483
3299
|
"enum": [
|
|
2484
|
-
|
|
3300
|
+
"reference"
|
|
2485
3301
|
],
|
|
2486
|
-
"type": "
|
|
2487
|
-
"
|
|
2488
|
-
"default": 1
|
|
3302
|
+
"type": "string",
|
|
3303
|
+
"default": "reference"
|
|
2489
3304
|
},
|
|
2490
3305
|
"sanityKey": {
|
|
2491
3306
|
"type": "string"
|
|
@@ -2493,12 +3308,8 @@
|
|
|
2493
3308
|
"sanityRef": {
|
|
2494
3309
|
"type": "string"
|
|
2495
3310
|
},
|
|
2496
|
-
"sanityWeakOption": {
|
|
2497
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2498
|
-
},
|
|
2499
3311
|
"sanityWeak": {
|
|
2500
|
-
"type": "boolean"
|
|
2501
|
-
"nullable": true
|
|
3312
|
+
"type": "boolean"
|
|
2502
3313
|
}
|
|
2503
3314
|
}
|
|
2504
3315
|
},
|
|
@@ -2507,33 +3318,20 @@
|
|
|
2507
3318
|
"properties": {
|
|
2508
3319
|
"sanityType": {
|
|
2509
3320
|
"enum": [
|
|
2510
|
-
|
|
3321
|
+
"image"
|
|
2511
3322
|
],
|
|
2512
|
-
"type": "
|
|
2513
|
-
"
|
|
2514
|
-
"default": 1
|
|
2515
|
-
},
|
|
2516
|
-
"assetOption": {
|
|
2517
|
-
"$ref": "#/components/schemas/option_sanityImageAssetReference"
|
|
3323
|
+
"type": "string",
|
|
3324
|
+
"default": "image"
|
|
2518
3325
|
},
|
|
2519
3326
|
"asset": {
|
|
2520
3327
|
"$ref": "#/components/schemas/sanityImageAssetReference"
|
|
2521
3328
|
},
|
|
2522
|
-
"cropOption": {
|
|
2523
|
-
"$ref": "#/components/schemas/option_sanityImageCrop"
|
|
2524
|
-
},
|
|
2525
3329
|
"crop": {
|
|
2526
3330
|
"$ref": "#/components/schemas/sanityImageCrop"
|
|
2527
3331
|
},
|
|
2528
|
-
"hotspotOption": {
|
|
2529
|
-
"$ref": "#/components/schemas/option_sanityImageHotspot"
|
|
2530
|
-
},
|
|
2531
3332
|
"hotspot": {
|
|
2532
3333
|
"$ref": "#/components/schemas/sanityImageHotspot"
|
|
2533
3334
|
},
|
|
2534
|
-
"mediaOption": {
|
|
2535
|
-
"$ref": "#/components/schemas/option_object"
|
|
2536
|
-
},
|
|
2537
3335
|
"media": {
|
|
2538
3336
|
"type": "object"
|
|
2539
3337
|
}
|
|
@@ -2542,34 +3340,25 @@
|
|
|
2542
3340
|
"sanityPatchSystem": {
|
|
2543
3341
|
"type": "object",
|
|
2544
3342
|
"properties": {
|
|
2545
|
-
"descriptionOption": {
|
|
2546
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2547
|
-
},
|
|
2548
3343
|
"description": {
|
|
2549
3344
|
"type": "array",
|
|
2550
3345
|
"items": {
|
|
2551
3346
|
"type": "object"
|
|
2552
3347
|
}
|
|
2553
3348
|
},
|
|
2554
|
-
"linksOption": {
|
|
2555
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2556
|
-
},
|
|
2557
3349
|
"links": {
|
|
2558
3350
|
"type": "array",
|
|
2559
3351
|
"items": {
|
|
2560
3352
|
"type": "string"
|
|
2561
3353
|
}
|
|
2562
3354
|
},
|
|
2563
|
-
"titleOption": {
|
|
2564
|
-
"$ref": "#/components/schemas/option_string"
|
|
2565
|
-
},
|
|
2566
3355
|
"title": {
|
|
2567
3356
|
"type": "string"
|
|
2568
3357
|
},
|
|
2569
3358
|
"additionalProperties": {
|
|
2570
3359
|
"type": "object",
|
|
2571
3360
|
"additionalProperties": {
|
|
2572
|
-
"
|
|
3361
|
+
"type": "object"
|
|
2573
3362
|
}
|
|
2574
3363
|
}
|
|
2575
3364
|
}
|
|
@@ -2577,268 +3366,183 @@
|
|
|
2577
3366
|
"sanityPatchTask": {
|
|
2578
3367
|
"type": "object",
|
|
2579
3368
|
"properties": {
|
|
2580
|
-
"typeOption": {
|
|
2581
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2582
|
-
},
|
|
2583
3369
|
"type": {
|
|
2584
3370
|
"enum": [
|
|
2585
|
-
|
|
2586
|
-
|
|
3371
|
+
"onboarding",
|
|
3372
|
+
"offboarding"
|
|
2587
3373
|
],
|
|
2588
|
-
"type": "
|
|
2589
|
-
"
|
|
2590
|
-
"default": 1,
|
|
3374
|
+
"type": "string",
|
|
3375
|
+
"default": "onboarding",
|
|
2591
3376
|
"nullable": true
|
|
2592
3377
|
},
|
|
2593
|
-
"descriptionOption": {
|
|
2594
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2595
|
-
},
|
|
2596
3378
|
"description": {
|
|
2597
3379
|
"type": "array",
|
|
2598
3380
|
"items": {
|
|
2599
3381
|
"type": "object"
|
|
2600
3382
|
}
|
|
2601
3383
|
},
|
|
2602
|
-
"reminderSlackChannelOption": {
|
|
2603
|
-
"$ref": "#/components/schemas/option_string"
|
|
2604
|
-
},
|
|
2605
3384
|
"reminderSlackChannel": {
|
|
2606
3385
|
"type": "string"
|
|
2607
3386
|
},
|
|
2608
|
-
"reminderWeeksBeforeOption": {
|
|
2609
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2610
|
-
},
|
|
2611
3387
|
"reminderWeeksBefore": {
|
|
2612
3388
|
"type": "number",
|
|
2613
3389
|
"format": "double",
|
|
2614
3390
|
"nullable": true
|
|
2615
3391
|
},
|
|
2616
|
-
"titleOption": {
|
|
2617
|
-
"$ref": "#/components/schemas/option_string"
|
|
2618
|
-
},
|
|
2619
3392
|
"title": {
|
|
2620
3393
|
"type": "string"
|
|
2621
3394
|
},
|
|
2622
3395
|
"additionalProperties": {
|
|
2623
3396
|
"type": "object",
|
|
2624
3397
|
"additionalProperties": {
|
|
2625
|
-
"
|
|
3398
|
+
"type": "object"
|
|
2626
3399
|
}
|
|
2627
3400
|
}
|
|
2628
3401
|
}
|
|
2629
3402
|
},
|
|
2630
|
-
"
|
|
3403
|
+
"sanitySystemsInner": {
|
|
2631
3404
|
"type": "object",
|
|
2632
3405
|
"properties": {
|
|
2633
|
-
"
|
|
3406
|
+
"reminderSlackChannel": {
|
|
2634
3407
|
"enum": [
|
|
2635
|
-
|
|
3408
|
+
"#spor-økonomi",
|
|
3409
|
+
"#spor-rekruttering",
|
|
3410
|
+
"#spor-selskapsadmin",
|
|
3411
|
+
"#spor-sosialt",
|
|
3412
|
+
"#spor-utvikling"
|
|
2636
3413
|
],
|
|
2637
|
-
"type": "
|
|
2638
|
-
"
|
|
2639
|
-
"
|
|
2640
|
-
},
|
|
2641
|
-
"current": {
|
|
2642
|
-
"type": "string"
|
|
2643
|
-
},
|
|
2644
|
-
"sourceOption": {
|
|
2645
|
-
"$ref": "#/components/schemas/option_string"
|
|
3414
|
+
"type": "string",
|
|
3415
|
+
"default": "#spor-økonomi",
|
|
3416
|
+
"nullable": true
|
|
2646
3417
|
},
|
|
2647
|
-
"source": {
|
|
2648
|
-
"type": "string"
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
|
-
},
|
|
2652
|
-
"sanitySystemsInner": {
|
|
2653
|
-
"type": "object",
|
|
2654
|
-
"properties": {
|
|
2655
3418
|
"sanityType": {
|
|
2656
3419
|
"enum": [
|
|
2657
|
-
|
|
3420
|
+
"system"
|
|
2658
3421
|
],
|
|
2659
|
-
"type": "
|
|
2660
|
-
"
|
|
2661
|
-
"default": 1
|
|
2662
|
-
},
|
|
2663
|
-
"sanityCreatedAt": {
|
|
2664
|
-
"type": "string"
|
|
2665
|
-
},
|
|
2666
|
-
"sanityId": {
|
|
2667
|
-
"type": "string"
|
|
2668
|
-
},
|
|
2669
|
-
"sanityRev": {
|
|
2670
|
-
"type": "string"
|
|
3422
|
+
"type": "string",
|
|
3423
|
+
"default": "system"
|
|
2671
3424
|
},
|
|
2672
|
-
"
|
|
3425
|
+
"activateUrl": {
|
|
2673
3426
|
"type": "string"
|
|
2674
3427
|
},
|
|
2675
|
-
"
|
|
3428
|
+
"deactivateUrl": {
|
|
2676
3429
|
"type": "string"
|
|
2677
3430
|
},
|
|
2678
|
-
"descriptionOption": {
|
|
2679
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2680
|
-
},
|
|
2681
3431
|
"description": {
|
|
2682
3432
|
"type": "array",
|
|
2683
3433
|
"items": {
|
|
2684
3434
|
"$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
|
|
2685
3435
|
}
|
|
2686
3436
|
},
|
|
2687
|
-
"imageOption": {
|
|
2688
|
-
"$ref": "#/components/schemas/option_sanityTvCategoryDashboardsInnerBackgroundImage"
|
|
2689
|
-
},
|
|
2690
3437
|
"image": {
|
|
2691
3438
|
"$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
|
|
2692
3439
|
},
|
|
2693
|
-
"linksOption": {
|
|
2694
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2695
|
-
},
|
|
2696
3440
|
"links": {
|
|
2697
3441
|
"type": "array",
|
|
2698
3442
|
"items": {
|
|
2699
3443
|
"type": "string"
|
|
2700
3444
|
}
|
|
3445
|
+
},
|
|
3446
|
+
"remindDaysBefore": {
|
|
3447
|
+
"type": "number",
|
|
3448
|
+
"format": "double"
|
|
3449
|
+
},
|
|
3450
|
+
"sanityCreatedAt": {
|
|
3451
|
+
"type": "string"
|
|
3452
|
+
},
|
|
3453
|
+
"sanityId": {
|
|
3454
|
+
"type": "string"
|
|
3455
|
+
},
|
|
3456
|
+
"sanityRev": {
|
|
3457
|
+
"type": "string"
|
|
3458
|
+
},
|
|
3459
|
+
"sanityUpdatedAt": {
|
|
3460
|
+
"type": "string"
|
|
3461
|
+
},
|
|
3462
|
+
"title": {
|
|
3463
|
+
"type": "string"
|
|
2701
3464
|
}
|
|
2702
3465
|
}
|
|
2703
3466
|
},
|
|
2704
3467
|
"sanitySystemsInnerDescriptionInner": {
|
|
2705
3468
|
"type": "object",
|
|
2706
3469
|
"properties": {
|
|
2707
|
-
"sanityType": {
|
|
2708
|
-
"enum": [
|
|
2709
|
-
1
|
|
2710
|
-
],
|
|
2711
|
-
"type": "integer",
|
|
2712
|
-
"format": "int32",
|
|
2713
|
-
"default": 1
|
|
2714
|
-
},
|
|
2715
|
-
"listItemOption": {
|
|
2716
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2717
|
-
},
|
|
2718
3470
|
"listItem": {
|
|
2719
3471
|
"enum": [
|
|
2720
|
-
|
|
2721
|
-
|
|
3472
|
+
"bullet",
|
|
3473
|
+
"number"
|
|
2722
3474
|
],
|
|
2723
|
-
"type": "
|
|
2724
|
-
"
|
|
2725
|
-
"default": 1,
|
|
3475
|
+
"type": "string",
|
|
3476
|
+
"default": "bullet",
|
|
2726
3477
|
"nullable": true
|
|
2727
3478
|
},
|
|
2728
|
-
"
|
|
2729
|
-
"
|
|
3479
|
+
"sanityType": {
|
|
3480
|
+
"enum": [
|
|
3481
|
+
"block"
|
|
3482
|
+
],
|
|
3483
|
+
"type": "string",
|
|
3484
|
+
"default": "block"
|
|
2730
3485
|
},
|
|
2731
3486
|
"style": {
|
|
2732
3487
|
"enum": [
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
3488
|
+
"blockquote",
|
|
3489
|
+
"h1",
|
|
3490
|
+
"h2",
|
|
3491
|
+
"h3",
|
|
3492
|
+
"h4",
|
|
3493
|
+
"h5",
|
|
3494
|
+
"h6",
|
|
3495
|
+
"normal"
|
|
2741
3496
|
],
|
|
2742
|
-
"type": "
|
|
2743
|
-
"
|
|
2744
|
-
"default": 1,
|
|
3497
|
+
"type": "string",
|
|
3498
|
+
"default": "blockquote",
|
|
2745
3499
|
"nullable": true
|
|
2746
3500
|
},
|
|
2747
|
-
"sanityKey": {
|
|
2748
|
-
"type": "string"
|
|
2749
|
-
},
|
|
2750
|
-
"childrenOption": {
|
|
2751
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2752
|
-
},
|
|
2753
3501
|
"children": {
|
|
2754
3502
|
"type": "array",
|
|
2755
3503
|
"items": {
|
|
2756
|
-
"$ref": "#/components/schemas/
|
|
3504
|
+
"$ref": "#/components/schemas/componentBlocksInnerOneOfChildrenInner"
|
|
2757
3505
|
}
|
|
2758
3506
|
},
|
|
2759
|
-
"levelOption": {
|
|
2760
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2761
|
-
},
|
|
2762
3507
|
"level": {
|
|
2763
3508
|
"type": "number",
|
|
2764
|
-
"format": "double"
|
|
2765
|
-
"nullable": true
|
|
2766
|
-
},
|
|
2767
|
-
"markDefsOption": {
|
|
2768
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
3509
|
+
"format": "double"
|
|
2769
3510
|
},
|
|
2770
3511
|
"markDefs": {
|
|
2771
3512
|
"type": "array",
|
|
2772
3513
|
"items": {
|
|
2773
|
-
"$ref": "#/components/schemas/
|
|
3514
|
+
"$ref": "#/components/schemas/componentBlocksInnerOneOfMarkDefsInner"
|
|
2774
3515
|
}
|
|
3516
|
+
},
|
|
3517
|
+
"sanityKey": {
|
|
3518
|
+
"type": "string"
|
|
2775
3519
|
}
|
|
2776
3520
|
}
|
|
2777
3521
|
},
|
|
2778
|
-
"
|
|
3522
|
+
"sanityTask": {
|
|
2779
3523
|
"type": "object",
|
|
2780
3524
|
"properties": {
|
|
2781
|
-
"
|
|
3525
|
+
"type": {
|
|
2782
3526
|
"enum": [
|
|
2783
|
-
|
|
3527
|
+
"onboarding",
|
|
3528
|
+
"offboarding"
|
|
2784
3529
|
],
|
|
2785
|
-
"type": "
|
|
2786
|
-
"
|
|
2787
|
-
"default": 1
|
|
2788
|
-
},
|
|
2789
|
-
"sanityKey": {
|
|
2790
|
-
"type": "string"
|
|
2791
|
-
},
|
|
2792
|
-
"marksOption": {
|
|
2793
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
3530
|
+
"type": "string",
|
|
3531
|
+
"default": "onboarding"
|
|
2794
3532
|
},
|
|
2795
|
-
"
|
|
3533
|
+
"description": {
|
|
2796
3534
|
"type": "array",
|
|
2797
3535
|
"items": {
|
|
2798
|
-
"type": "
|
|
3536
|
+
"type": "object"
|
|
2799
3537
|
}
|
|
2800
3538
|
},
|
|
2801
|
-
"
|
|
2802
|
-
"$ref": "#/components/schemas/option_string"
|
|
2803
|
-
},
|
|
2804
|
-
"text": {
|
|
2805
|
-
"type": "string"
|
|
2806
|
-
}
|
|
2807
|
-
}
|
|
2808
|
-
},
|
|
2809
|
-
"sanitySystemsInnerDescriptionInnerMarkDefsInner": {
|
|
2810
|
-
"type": "object",
|
|
2811
|
-
"properties": {
|
|
2812
|
-
"sanityType": {
|
|
2813
|
-
"enum": [
|
|
2814
|
-
1
|
|
2815
|
-
],
|
|
2816
|
-
"type": "integer",
|
|
2817
|
-
"format": "int32",
|
|
2818
|
-
"default": 1
|
|
2819
|
-
},
|
|
2820
|
-
"sanityKey": {
|
|
3539
|
+
"reminderSlackChannel": {
|
|
2821
3540
|
"type": "string"
|
|
2822
3541
|
},
|
|
2823
|
-
"
|
|
2824
|
-
"
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
"type": "string"
|
|
2828
|
-
}
|
|
2829
|
-
}
|
|
2830
|
-
},
|
|
2831
|
-
"sanityTask": {
|
|
2832
|
-
"type": "object",
|
|
2833
|
-
"properties": {
|
|
2834
|
-
"type": {
|
|
2835
|
-
"enum": [
|
|
2836
|
-
1,
|
|
2837
|
-
2
|
|
2838
|
-
],
|
|
2839
|
-
"type": "integer",
|
|
2840
|
-
"format": "int32",
|
|
2841
|
-
"default": 1
|
|
3542
|
+
"reminderWeeksBefore": {
|
|
3543
|
+
"type": "number",
|
|
3544
|
+
"format": "double",
|
|
3545
|
+
"nullable": true
|
|
2842
3546
|
},
|
|
2843
3547
|
"sanityCreatedAt": {
|
|
2844
3548
|
"type": "string"
|
|
@@ -2858,47 +3562,23 @@
|
|
|
2858
3562
|
"title": {
|
|
2859
3563
|
"type": "string"
|
|
2860
3564
|
},
|
|
2861
|
-
"descriptionOption": {
|
|
2862
|
-
"$ref": "#/components/schemas/option_list`1"
|
|
2863
|
-
},
|
|
2864
|
-
"description": {
|
|
2865
|
-
"type": "array",
|
|
2866
|
-
"items": {
|
|
2867
|
-
"type": "object"
|
|
2868
|
-
}
|
|
2869
|
-
},
|
|
2870
|
-
"reminderSlackChannelOption": {
|
|
2871
|
-
"$ref": "#/components/schemas/option_string"
|
|
2872
|
-
},
|
|
2873
|
-
"reminderSlackChannel": {
|
|
2874
|
-
"type": "string"
|
|
2875
|
-
},
|
|
2876
|
-
"reminderWeeksBeforeOption": {
|
|
2877
|
-
"$ref": "#/components/schemas/option_nullable`1"
|
|
2878
|
-
},
|
|
2879
|
-
"reminderWeeksBefore": {
|
|
2880
|
-
"type": "number",
|
|
2881
|
-
"format": "double",
|
|
2882
|
-
"nullable": true
|
|
2883
|
-
},
|
|
2884
3565
|
"additionalProperties": {
|
|
2885
3566
|
"type": "object",
|
|
2886
3567
|
"additionalProperties": {
|
|
2887
|
-
"
|
|
3568
|
+
"type": "object"
|
|
2888
3569
|
}
|
|
2889
3570
|
}
|
|
2890
3571
|
}
|
|
2891
3572
|
},
|
|
2892
|
-
"
|
|
3573
|
+
"sanityTechnologyWithRelationsEmployeesInnerTagsInner": {
|
|
2893
3574
|
"type": "object",
|
|
2894
3575
|
"properties": {
|
|
2895
3576
|
"sanityType": {
|
|
2896
3577
|
"enum": [
|
|
2897
|
-
|
|
3578
|
+
"tag"
|
|
2898
3579
|
],
|
|
2899
|
-
"type": "
|
|
2900
|
-
"
|
|
2901
|
-
"default": 1
|
|
3580
|
+
"type": "string",
|
|
3581
|
+
"default": "tag"
|
|
2902
3582
|
},
|
|
2903
3583
|
"name": {
|
|
2904
3584
|
"type": "string"
|
|
@@ -2907,26 +3587,7 @@
|
|
|
2907
3587
|
"type": "string"
|
|
2908
3588
|
},
|
|
2909
3589
|
"slug": {
|
|
2910
|
-
"$ref": "#/components/schemas/
|
|
2911
|
-
}
|
|
2912
|
-
}
|
|
2913
|
-
},
|
|
2914
|
-
"sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo": {
|
|
2915
|
-
"type": "object",
|
|
2916
|
-
"properties": {
|
|
2917
|
-
"sanityType": {
|
|
2918
|
-
"enum": [
|
|
2919
|
-
1
|
|
2920
|
-
],
|
|
2921
|
-
"type": "integer",
|
|
2922
|
-
"format": "int32",
|
|
2923
|
-
"default": 1
|
|
2924
|
-
},
|
|
2925
|
-
"assetOption": {
|
|
2926
|
-
"$ref": "#/components/schemas/option_sanityTvCategoryDashboardsInnerBackgroundImageAsset"
|
|
2927
|
-
},
|
|
2928
|
-
"asset": {
|
|
2929
|
-
"$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
|
|
3590
|
+
"$ref": "#/components/schemas/slug"
|
|
2930
3591
|
}
|
|
2931
3592
|
}
|
|
2932
3593
|
},
|
|
@@ -2935,14 +3596,10 @@
|
|
|
2935
3596
|
"properties": {
|
|
2936
3597
|
"sanityType": {
|
|
2937
3598
|
"enum": [
|
|
2938
|
-
|
|
3599
|
+
"image"
|
|
2939
3600
|
],
|
|
2940
|
-
"type": "
|
|
2941
|
-
"
|
|
2942
|
-
"default": 1
|
|
2943
|
-
},
|
|
2944
|
-
"assetOption": {
|
|
2945
|
-
"$ref": "#/components/schemas/option_sanityTvCategoryDashboardsInnerBackgroundImageAsset"
|
|
3601
|
+
"type": "string",
|
|
3602
|
+
"default": "image"
|
|
2946
3603
|
},
|
|
2947
3604
|
"asset": {
|
|
2948
3605
|
"$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
|
|
@@ -2954,25 +3611,39 @@
|
|
|
2954
3611
|
"properties": {
|
|
2955
3612
|
"sanityType": {
|
|
2956
3613
|
"enum": [
|
|
2957
|
-
|
|
3614
|
+
"sanity.imageAsset"
|
|
2958
3615
|
],
|
|
2959
|
-
"type": "
|
|
2960
|
-
"
|
|
2961
|
-
"default": 1
|
|
3616
|
+
"type": "string",
|
|
3617
|
+
"default": "sanity.imageAsset"
|
|
2962
3618
|
},
|
|
2963
3619
|
"mimeType": {
|
|
2964
3620
|
"type": "string"
|
|
2965
3621
|
},
|
|
3622
|
+
"originalFilename": {
|
|
3623
|
+
"type": "string"
|
|
3624
|
+
},
|
|
2966
3625
|
"sanityId": {
|
|
2967
3626
|
"type": "string"
|
|
2968
3627
|
},
|
|
2969
3628
|
"url": {
|
|
2970
3629
|
"type": "string"
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
},
|
|
3633
|
+
"slug": {
|
|
3634
|
+
"type": "object",
|
|
3635
|
+
"properties": {
|
|
3636
|
+
"sanityType": {
|
|
3637
|
+
"enum": [
|
|
3638
|
+
"slug"
|
|
3639
|
+
],
|
|
3640
|
+
"type": "string",
|
|
3641
|
+
"default": "slug"
|
|
2971
3642
|
},
|
|
2972
|
-
"
|
|
2973
|
-
"
|
|
3643
|
+
"current": {
|
|
3644
|
+
"type": "string"
|
|
2974
3645
|
},
|
|
2975
|
-
"
|
|
3646
|
+
"source": {
|
|
2976
3647
|
"type": "string"
|
|
2977
3648
|
}
|
|
2978
3649
|
}
|
|
@@ -2983,14 +3654,19 @@
|
|
|
2983
3654
|
"type": "oauth2",
|
|
2984
3655
|
"flows": {
|
|
2985
3656
|
"implicit": {
|
|
2986
|
-
"authorizationUrl": "https://login.microsoftonline.com/
|
|
2987
|
-
"tokenUrl": "https://login.microsoftonline.com/
|
|
2988
|
-
"refreshUrl": "https://login.microsoftonline.com/
|
|
3657
|
+
"authorizationUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
|
|
3658
|
+
"tokenUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
3659
|
+
"refreshUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
2989
3660
|
"scopes": {
|
|
2990
|
-
"api://
|
|
3661
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default": "Default function scope"
|
|
2991
3662
|
}
|
|
2992
3663
|
}
|
|
2993
3664
|
}
|
|
3665
|
+
},
|
|
3666
|
+
"ApiKey": {
|
|
3667
|
+
"type": "http",
|
|
3668
|
+
"scheme": "bearer",
|
|
3669
|
+
"bearerFormat": "JWT"
|
|
2994
3670
|
}
|
|
2995
3671
|
}
|
|
2996
3672
|
}
|