@superdurable/connector-ashby 0.1.0 → 0.2.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.
@@ -1,12 +1,1943 @@
1
1
  {
2
2
  "connectorId": "ashby",
3
- "releaseTag": "connectors/ashby/go/v0.1.0",
3
+ "releaseTag": "connectors/ashby/go/v0.2.1",
4
4
  "package": {
5
5
  "ecosystem": "npm",
6
6
  "name": "@superdurable/connector-ashby",
7
- "version": "0.1.0"
7
+ "version": "0.2.0"
8
8
  },
9
9
  "factories": [
10
+ {
11
+ "name": "newListApplicationFeedbackStep",
12
+ "kind": "query",
13
+ "operationId": "listApplicationFeedback",
14
+ "inputType": "ListApplicationFeedbackInput",
15
+ "description": "List feedback submission identities for one application.",
16
+ "fields": {
17
+ "stepType": "stepType",
18
+ "annotations": "annotations",
19
+ "connectionName": "connectionName",
20
+ "resultAttribute": "resultAttribute"
21
+ },
22
+ "branches": [
23
+ {
24
+ "id": "listed",
25
+ "field": "listed",
26
+ "optional": false
27
+ },
28
+ {
29
+ "id": "providerRejected",
30
+ "field": "providerRejected",
31
+ "optional": true
32
+ },
33
+ {
34
+ "id": "invalidResponse",
35
+ "field": "invalidResponse",
36
+ "optional": true
37
+ },
38
+ {
39
+ "id": "defect",
40
+ "field": "defect",
41
+ "optional": true
42
+ }
43
+ ],
44
+ "inputSchema": {
45
+ "additionalProperties": false,
46
+ "description": "ListApplicationFeedbackInput selects feedback for an application.",
47
+ "properties": {
48
+ "applicationId": {
49
+ "description": "ApplicationID is the application UUID.",
50
+ "type": "string"
51
+ },
52
+ "cursor": {
53
+ "description": "Cursor is the opaque Ashby continuation cursor; blank starts the first page.",
54
+ "type": "string"
55
+ },
56
+ "limit": {
57
+ "description": "Limit caps the page at 100 submissions; zero uses Ashby's default.",
58
+ "type": "integer"
59
+ }
60
+ },
61
+ "required": [
62
+ "applicationId"
63
+ ],
64
+ "type": "object"
65
+ }
66
+ },
67
+ {
68
+ "name": "newRequestApplicationFeedbackStep",
69
+ "kind": "mutation",
70
+ "operationId": "requestApplicationFeedback",
71
+ "inputType": "RequestApplicationFeedbackInput",
72
+ "description": "Request feedback from an interviewer for one application.",
73
+ "fields": {
74
+ "stepType": "stepType",
75
+ "annotations": "annotations",
76
+ "connectionName": "connectionName",
77
+ "resultAttribute": "resultAttribute"
78
+ },
79
+ "branches": [
80
+ {
81
+ "id": "requested",
82
+ "field": "requested",
83
+ "optional": false
84
+ },
85
+ {
86
+ "id": "providerRejected",
87
+ "field": "providerRejected",
88
+ "optional": true
89
+ },
90
+ {
91
+ "id": "uncertain",
92
+ "field": "uncertain",
93
+ "optional": true
94
+ },
95
+ {
96
+ "id": "defect",
97
+ "field": "defect",
98
+ "optional": true
99
+ }
100
+ ],
101
+ "inputSchema": {
102
+ "additionalProperties": false,
103
+ "description": "RequestApplicationFeedbackInput asks one Ashby user for feedback on an application.",
104
+ "properties": {
105
+ "applicationId": {
106
+ "description": "ApplicationID is the application UUID.",
107
+ "type": "string"
108
+ },
109
+ "interviewId": {
110
+ "description": "InterviewID is the interview definition UUID.",
111
+ "type": "string"
112
+ },
113
+ "interviewerUserId": {
114
+ "description": "InterviewerUserID is the Ashby user UUID receiving the request.",
115
+ "type": "string"
116
+ }
117
+ },
118
+ "required": [
119
+ "applicationId",
120
+ "interviewId",
121
+ "interviewerUserId"
122
+ ],
123
+ "type": "object"
124
+ }
125
+ },
126
+ {
127
+ "name": "newSubmitApplicationFeedbackStep",
128
+ "kind": "mutation",
129
+ "operationId": "submitApplicationFeedback",
130
+ "inputType": "SubmitApplicationFeedbackInput",
131
+ "description": "Submit or replace feedback for an interview event and user.",
132
+ "fields": {
133
+ "stepType": "stepType",
134
+ "annotations": "annotations",
135
+ "connectionName": "connectionName",
136
+ "resultAttribute": "resultAttribute"
137
+ },
138
+ "branches": [
139
+ {
140
+ "id": "submitted",
141
+ "field": "submitted",
142
+ "optional": false
143
+ },
144
+ {
145
+ "id": "providerRejected",
146
+ "field": "providerRejected",
147
+ "optional": true
148
+ },
149
+ {
150
+ "id": "invalidResponse",
151
+ "field": "invalidResponse",
152
+ "optional": true
153
+ },
154
+ {
155
+ "id": "defect",
156
+ "field": "defect",
157
+ "optional": true
158
+ }
159
+ ],
160
+ "inputSchema": {
161
+ "$defs": {
162
+ "FeedbackFieldSubmission": {
163
+ "additionalProperties": false,
164
+ "description": "FeedbackFieldSubmission supplies one answer using the Ashby form's field path.",
165
+ "properties": {
166
+ "path": {
167
+ "description": "Path is the exact field path from feedbackFormDefinition.info.",
168
+ "type": "string"
169
+ },
170
+ "value": {
171
+ "description": "Value is JSON in the field's declared type; omit secrets."
172
+ }
173
+ },
174
+ "required": [
175
+ "path",
176
+ "value"
177
+ ],
178
+ "type": "object"
179
+ }
180
+ },
181
+ "additionalProperties": false,
182
+ "description": "SubmitApplicationFeedbackInput replaces feedback for one interviewer and event.",
183
+ "properties": {
184
+ "applicationId": {
185
+ "description": "ApplicationID is the application UUID.",
186
+ "type": "string"
187
+ },
188
+ "fieldSubmissions": {
189
+ "description": "FieldSubmissions are answers keyed by form field paths.",
190
+ "items": {
191
+ "$ref": "#/$defs/FeedbackFieldSubmission"
192
+ },
193
+ "type": [
194
+ "array",
195
+ "null"
196
+ ]
197
+ },
198
+ "formDefinitionId": {
199
+ "description": "FormDefinitionID is the interview's assigned feedback form UUID.",
200
+ "type": "string"
201
+ },
202
+ "interviewEventId": {
203
+ "description": "InterviewEventID is the event UUID; its presence makes repeat submissions replace existing feedback.",
204
+ "type": "string"
205
+ },
206
+ "userId": {
207
+ "description": "UserID is the interviewer UUID credited with the feedback.",
208
+ "type": "string"
209
+ }
210
+ },
211
+ "required": [
212
+ "applicationId",
213
+ "fieldSubmissions",
214
+ "formDefinitionId",
215
+ "interviewEventId",
216
+ "userId"
217
+ ],
218
+ "type": "object"
219
+ }
220
+ },
221
+ {
222
+ "name": "newListInterviewsStep",
223
+ "kind": "query",
224
+ "operationId": "listInterviews",
225
+ "inputType": "ListInterviewsInput",
226
+ "description": "List Ashby interview identities and types.",
227
+ "fields": {
228
+ "stepType": "stepType",
229
+ "annotations": "annotations",
230
+ "connectionName": "connectionName",
231
+ "resultAttribute": "resultAttribute"
232
+ },
233
+ "branches": [
234
+ {
235
+ "id": "listed",
236
+ "field": "listed",
237
+ "optional": false
238
+ },
239
+ {
240
+ "id": "providerRejected",
241
+ "field": "providerRejected",
242
+ "optional": true
243
+ },
244
+ {
245
+ "id": "invalidResponse",
246
+ "field": "invalidResponse",
247
+ "optional": true
248
+ },
249
+ {
250
+ "id": "defect",
251
+ "field": "defect",
252
+ "optional": true
253
+ }
254
+ ],
255
+ "inputSchema": {
256
+ "additionalProperties": false,
257
+ "description": "ListInterviewsInput selects a bounded interview page.",
258
+ "properties": {
259
+ "cursor": {
260
+ "description": "Cursor is an opaque Ashby page cursor; blank starts the first page.",
261
+ "type": "string"
262
+ },
263
+ "limit": {
264
+ "description": "Limit caps the page at 100 interviews; zero uses Ashby's default.",
265
+ "type": "integer"
266
+ }
267
+ },
268
+ "type": "object"
269
+ }
270
+ },
271
+ {
272
+ "name": "newGetInterviewStep",
273
+ "kind": "query",
274
+ "operationId": "getInterview",
275
+ "inputType": "GetInterviewInput",
276
+ "description": "Read one Ashby interview identity.",
277
+ "fields": {
278
+ "stepType": "stepType",
279
+ "annotations": "annotations",
280
+ "connectionName": "connectionName",
281
+ "resultAttribute": "resultAttribute"
282
+ },
283
+ "branches": [
284
+ {
285
+ "id": "found",
286
+ "field": "found",
287
+ "optional": false
288
+ },
289
+ {
290
+ "id": "providerRejected",
291
+ "field": "providerRejected",
292
+ "optional": true
293
+ },
294
+ {
295
+ "id": "invalidResponse",
296
+ "field": "invalidResponse",
297
+ "optional": true
298
+ },
299
+ {
300
+ "id": "defect",
301
+ "field": "defect",
302
+ "optional": true
303
+ }
304
+ ],
305
+ "inputSchema": {
306
+ "additionalProperties": false,
307
+ "description": "GetInterviewInput identifies one interview definition.",
308
+ "properties": {
309
+ "interviewId": {
310
+ "description": "InterviewID is the non-secret Ashby interview UUID.",
311
+ "type": "string"
312
+ }
313
+ },
314
+ "required": [
315
+ "interviewId"
316
+ ],
317
+ "type": "object"
318
+ }
319
+ },
320
+ {
321
+ "name": "newListInterviewSchedulesStep",
322
+ "kind": "query",
323
+ "operationId": "listInterviewSchedules",
324
+ "inputType": "ListInterviewSchedulesInput",
325
+ "description": "List interview schedules for an application.",
326
+ "fields": {
327
+ "stepType": "stepType",
328
+ "annotations": "annotations",
329
+ "connectionName": "connectionName",
330
+ "resultAttribute": "resultAttribute"
331
+ },
332
+ "branches": [
333
+ {
334
+ "id": "listed",
335
+ "field": "listed",
336
+ "optional": false
337
+ },
338
+ {
339
+ "id": "providerRejected",
340
+ "field": "providerRejected",
341
+ "optional": true
342
+ },
343
+ {
344
+ "id": "invalidResponse",
345
+ "field": "invalidResponse",
346
+ "optional": true
347
+ },
348
+ {
349
+ "id": "defect",
350
+ "field": "defect",
351
+ "optional": true
352
+ }
353
+ ],
354
+ "inputSchema": {
355
+ "additionalProperties": false,
356
+ "description": "ListInterviewSchedulesInput selects schedules for one application.",
357
+ "properties": {
358
+ "applicationId": {
359
+ "description": "ApplicationID is the application UUID to filter by.",
360
+ "type": "string"
361
+ },
362
+ "cursor": {
363
+ "description": "Cursor is an opaque Ashby page cursor; blank starts the first page.",
364
+ "type": "string"
365
+ },
366
+ "limit": {
367
+ "description": "Limit caps a page at 100 schedules; zero uses Ashby's default.",
368
+ "type": "integer"
369
+ }
370
+ },
371
+ "required": [
372
+ "applicationId"
373
+ ],
374
+ "type": "object"
375
+ }
376
+ },
377
+ {
378
+ "name": "newGetInterviewScheduleStep",
379
+ "kind": "query",
380
+ "operationId": "getInterviewSchedule",
381
+ "inputType": "GetInterviewScheduleInput",
382
+ "description": "Read one Ashby interview schedule.",
383
+ "fields": {
384
+ "stepType": "stepType",
385
+ "annotations": "annotations",
386
+ "connectionName": "connectionName",
387
+ "resultAttribute": "resultAttribute"
388
+ },
389
+ "branches": [
390
+ {
391
+ "id": "found",
392
+ "field": "found",
393
+ "optional": false
394
+ },
395
+ {
396
+ "id": "providerRejected",
397
+ "field": "providerRejected",
398
+ "optional": true
399
+ },
400
+ {
401
+ "id": "invalidResponse",
402
+ "field": "invalidResponse",
403
+ "optional": true
404
+ },
405
+ {
406
+ "id": "defect",
407
+ "field": "defect",
408
+ "optional": true
409
+ }
410
+ ],
411
+ "inputSchema": {
412
+ "additionalProperties": false,
413
+ "description": "GetInterviewScheduleInput identifies one schedule.",
414
+ "properties": {
415
+ "interviewScheduleId": {
416
+ "description": "InterviewScheduleID is the non-secret Ashby schedule UUID.",
417
+ "type": "string"
418
+ }
419
+ },
420
+ "required": [
421
+ "interviewScheduleId"
422
+ ],
423
+ "type": "object"
424
+ }
425
+ },
426
+ {
427
+ "name": "newCreateInterviewScheduleStep",
428
+ "kind": "mutation",
429
+ "operationId": "createInterviewSchedule",
430
+ "inputType": "CreateInterviewScheduleInput",
431
+ "description": "Create a scheduled interview event for an application.",
432
+ "fields": {
433
+ "stepType": "stepType",
434
+ "annotations": "annotations",
435
+ "connectionName": "connectionName",
436
+ "resultAttribute": "resultAttribute"
437
+ },
438
+ "branches": [
439
+ {
440
+ "id": "created",
441
+ "field": "created",
442
+ "optional": false
443
+ },
444
+ {
445
+ "id": "providerRejected",
446
+ "field": "providerRejected",
447
+ "optional": true
448
+ },
449
+ {
450
+ "id": "uncertain",
451
+ "field": "uncertain",
452
+ "optional": true
453
+ },
454
+ {
455
+ "id": "defect",
456
+ "field": "defect",
457
+ "optional": true
458
+ }
459
+ ],
460
+ "inputSchema": {
461
+ "$defs": {
462
+ "InterviewScheduleEvent": {
463
+ "additionalProperties": false,
464
+ "description": "InterviewScheduleEvent supplies a time range and interviewers.",
465
+ "properties": {
466
+ "endTime": {
467
+ "description": "EndTime is an RFC3339 timestamp after StartTime.",
468
+ "type": "string"
469
+ },
470
+ "interviewId": {
471
+ "description": "InterviewID selects an interview definition; blank uses Ashby's default.",
472
+ "type": "string"
473
+ },
474
+ "interviewers": {
475
+ "description": "Interviewers are Ashby users who receive this interview.",
476
+ "items": {
477
+ "$ref": "#/$defs/InterviewScheduleInterviewer"
478
+ },
479
+ "type": [
480
+ "array",
481
+ "null"
482
+ ]
483
+ },
484
+ "startTime": {
485
+ "description": "StartTime is an RFC3339 timestamp.",
486
+ "type": "string"
487
+ }
488
+ },
489
+ "required": [
490
+ "endTime",
491
+ "interviewers",
492
+ "startTime"
493
+ ],
494
+ "type": "object"
495
+ },
496
+ "InterviewScheduleInterviewer": {
497
+ "additionalProperties": false,
498
+ "description": "InterviewScheduleInterviewer identifies an Ashby user by email.",
499
+ "properties": {
500
+ "email": {
501
+ "description": "Email is the interviewer's Ashby account email address.",
502
+ "type": "string"
503
+ },
504
+ "feedbackRequired": {
505
+ "description": "FeedbackRequired indicates whether this interviewer must submit feedback.",
506
+ "type": "boolean"
507
+ }
508
+ },
509
+ "required": [
510
+ "email"
511
+ ],
512
+ "type": "object"
513
+ }
514
+ },
515
+ "additionalProperties": false,
516
+ "description": "CreateInterviewScheduleInput creates a schedule for one application.",
517
+ "properties": {
518
+ "applicationId": {
519
+ "description": "ApplicationID is the application UUID.",
520
+ "type": "string"
521
+ },
522
+ "interviewEvents": {
523
+ "description": "InterviewEvents contains one to ten scheduled events.",
524
+ "items": {
525
+ "$ref": "#/$defs/InterviewScheduleEvent"
526
+ },
527
+ "type": [
528
+ "array",
529
+ "null"
530
+ ]
531
+ }
532
+ },
533
+ "required": [
534
+ "applicationId",
535
+ "interviewEvents"
536
+ ],
537
+ "type": "object"
538
+ }
539
+ },
540
+ {
541
+ "name": "newCancelInterviewScheduleStep",
542
+ "kind": "mutation",
543
+ "operationId": "cancelInterviewSchedule",
544
+ "inputType": "CancelInterviewScheduleInput",
545
+ "description": "Cancel an existing interview schedule.",
546
+ "fields": {
547
+ "stepType": "stepType",
548
+ "annotations": "annotations",
549
+ "connectionName": "connectionName",
550
+ "resultAttribute": "resultAttribute"
551
+ },
552
+ "branches": [
553
+ {
554
+ "id": "cancelled",
555
+ "field": "cancelled",
556
+ "optional": false
557
+ },
558
+ {
559
+ "id": "providerRejected",
560
+ "field": "providerRejected",
561
+ "optional": true
562
+ },
563
+ {
564
+ "id": "invalidResponse",
565
+ "field": "invalidResponse",
566
+ "optional": true
567
+ },
568
+ {
569
+ "id": "defect",
570
+ "field": "defect",
571
+ "optional": true
572
+ }
573
+ ],
574
+ "inputSchema": {
575
+ "additionalProperties": false,
576
+ "description": "CancelInterviewScheduleInput identifies a schedule to cancel.",
577
+ "properties": {
578
+ "interviewScheduleId": {
579
+ "description": "InterviewScheduleID is the schedule UUID.",
580
+ "type": "string"
581
+ }
582
+ },
583
+ "required": [
584
+ "interviewScheduleId"
585
+ ],
586
+ "type": "object"
587
+ }
588
+ },
589
+ {
590
+ "name": "newCancelInterviewEventStep",
591
+ "kind": "mutation",
592
+ "operationId": "cancelInterviewEvent",
593
+ "inputType": "CancelInterviewEventInput",
594
+ "description": "Cancel one event on an API-created interview schedule.",
595
+ "fields": {
596
+ "stepType": "stepType",
597
+ "annotations": "annotations",
598
+ "connectionName": "connectionName",
599
+ "resultAttribute": "resultAttribute"
600
+ },
601
+ "branches": [
602
+ {
603
+ "id": "cancelled",
604
+ "field": "cancelled",
605
+ "optional": false
606
+ },
607
+ {
608
+ "id": "providerRejected",
609
+ "field": "providerRejected",
610
+ "optional": true
611
+ },
612
+ {
613
+ "id": "invalidResponse",
614
+ "field": "invalidResponse",
615
+ "optional": true
616
+ },
617
+ {
618
+ "id": "defect",
619
+ "field": "defect",
620
+ "optional": true
621
+ }
622
+ ],
623
+ "inputSchema": {
624
+ "additionalProperties": false,
625
+ "description": "CancelInterviewEventInput identifies one event on an API-created schedule.",
626
+ "properties": {
627
+ "interviewEventId": {
628
+ "description": "InterviewEventID is the event UUID to cancel.",
629
+ "type": "string"
630
+ },
631
+ "interviewScheduleId": {
632
+ "description": "InterviewScheduleID is the schedule UUID.",
633
+ "type": "string"
634
+ }
635
+ },
636
+ "required": [
637
+ "interviewEventId",
638
+ "interviewScheduleId"
639
+ ],
640
+ "type": "object"
641
+ }
642
+ },
643
+ {
644
+ "name": "newListApplicationsStep",
645
+ "kind": "query",
646
+ "operationId": "listApplications",
647
+ "inputType": "ListApplicationsInput",
648
+ "description": "List a bounded page of Ashby application identities.",
649
+ "fields": {
650
+ "stepType": "stepType",
651
+ "annotations": "annotations",
652
+ "connectionName": "connectionName",
653
+ "resultAttribute": "resultAttribute"
654
+ },
655
+ "branches": [
656
+ {
657
+ "id": "listed",
658
+ "field": "listed",
659
+ "optional": false
660
+ },
661
+ {
662
+ "id": "providerRejected",
663
+ "field": "providerRejected",
664
+ "optional": true
665
+ },
666
+ {
667
+ "id": "invalidResponse",
668
+ "field": "invalidResponse",
669
+ "optional": true
670
+ },
671
+ {
672
+ "id": "defect",
673
+ "field": "defect",
674
+ "optional": true
675
+ }
676
+ ],
677
+ "inputSchema": {
678
+ "additionalProperties": false,
679
+ "description": "ListApplicationsInput selects one bounded application page.",
680
+ "properties": {
681
+ "cursor": {
682
+ "description": "Cursor is an opaque Ashby page cursor; blank starts the first page.",
683
+ "type": "string"
684
+ },
685
+ "limit": {
686
+ "description": "Limit caps a page at 100 applications; zero uses Ashby's default.",
687
+ "type": "integer"
688
+ }
689
+ },
690
+ "type": "object"
691
+ }
692
+ },
693
+ {
694
+ "name": "newGetApplicationStep",
695
+ "kind": "query",
696
+ "operationId": "getApplication",
697
+ "inputType": "GetApplicationInput",
698
+ "description": "Read one Ashby application identity and stage.",
699
+ "fields": {
700
+ "stepType": "stepType",
701
+ "annotations": "annotations",
702
+ "connectionName": "connectionName",
703
+ "resultAttribute": "resultAttribute"
704
+ },
705
+ "branches": [
706
+ {
707
+ "id": "found",
708
+ "field": "found",
709
+ "optional": false
710
+ },
711
+ {
712
+ "id": "providerRejected",
713
+ "field": "providerRejected",
714
+ "optional": true
715
+ },
716
+ {
717
+ "id": "invalidResponse",
718
+ "field": "invalidResponse",
719
+ "optional": true
720
+ },
721
+ {
722
+ "id": "defect",
723
+ "field": "defect",
724
+ "optional": true
725
+ }
726
+ ],
727
+ "inputSchema": {
728
+ "additionalProperties": false,
729
+ "description": "GetApplicationInput identifies one application.",
730
+ "properties": {
731
+ "applicationId": {
732
+ "description": "ApplicationID is a non-secret Ashby application UUID.",
733
+ "type": "string"
734
+ }
735
+ },
736
+ "required": [
737
+ "applicationId"
738
+ ],
739
+ "type": "object"
740
+ }
741
+ },
742
+ {
743
+ "name": "newCreateApplicationStep",
744
+ "kind": "mutation",
745
+ "operationId": "createApplication",
746
+ "inputType": "CreateApplicationInput",
747
+ "description": "Consider an existing candidate for an Ashby job.",
748
+ "fields": {
749
+ "stepType": "stepType",
750
+ "annotations": "annotations",
751
+ "connectionName": "connectionName",
752
+ "resultAttribute": "resultAttribute"
753
+ },
754
+ "branches": [
755
+ {
756
+ "id": "created",
757
+ "field": "created",
758
+ "optional": false
759
+ },
760
+ {
761
+ "id": "providerRejected",
762
+ "field": "providerRejected",
763
+ "optional": true
764
+ },
765
+ {
766
+ "id": "uncertain",
767
+ "field": "uncertain",
768
+ "optional": true
769
+ },
770
+ {
771
+ "id": "defect",
772
+ "field": "defect",
773
+ "optional": true
774
+ }
775
+ ],
776
+ "inputSchema": {
777
+ "additionalProperties": false,
778
+ "description": "CreateApplicationInput considers an existing candidate for an existing job.",
779
+ "properties": {
780
+ "candidateId": {
781
+ "description": "CandidateID is the Ashby candidate UUID.",
782
+ "type": "string"
783
+ },
784
+ "jobId": {
785
+ "description": "JobID is the Ashby job UUID.",
786
+ "type": "string"
787
+ }
788
+ },
789
+ "required": [
790
+ "candidateId",
791
+ "jobId"
792
+ ],
793
+ "type": "object"
794
+ }
795
+ },
796
+ {
797
+ "name": "newChangeApplicationStageStep",
798
+ "kind": "mutation",
799
+ "operationId": "changeApplicationStage",
800
+ "inputType": "ChangeApplicationStageInput",
801
+ "description": "Move an Ashby application to an absolute interview stage.",
802
+ "fields": {
803
+ "stepType": "stepType",
804
+ "annotations": "annotations",
805
+ "connectionName": "connectionName",
806
+ "resultAttribute": "resultAttribute"
807
+ },
808
+ "branches": [
809
+ {
810
+ "id": "changed",
811
+ "field": "changed",
812
+ "optional": false
813
+ },
814
+ {
815
+ "id": "providerRejected",
816
+ "field": "providerRejected",
817
+ "optional": true
818
+ },
819
+ {
820
+ "id": "uncertain",
821
+ "field": "uncertain",
822
+ "optional": true
823
+ },
824
+ {
825
+ "id": "defect",
826
+ "field": "defect",
827
+ "optional": true
828
+ }
829
+ ],
830
+ "inputSchema": {
831
+ "additionalProperties": false,
832
+ "description": "ChangeApplicationStageInput selects one interview stage without an archive email.",
833
+ "properties": {
834
+ "applicationId": {
835
+ "description": "ApplicationID is the Ashby application UUID.",
836
+ "type": "string"
837
+ },
838
+ "archiveReasonId": {
839
+ "description": "ArchiveReasonID is required by Ashby when the target is an Archived stage.",
840
+ "type": "string"
841
+ },
842
+ "interviewStageId": {
843
+ "description": "InterviewStageID is the target stage UUID.",
844
+ "type": "string"
845
+ }
846
+ },
847
+ "required": [
848
+ "applicationId",
849
+ "interviewStageId"
850
+ ],
851
+ "type": "object"
852
+ }
853
+ },
854
+ {
855
+ "name": "newTransferApplicationStep",
856
+ "kind": "mutation",
857
+ "operationId": "transferApplication",
858
+ "inputType": "TransferApplicationInput",
859
+ "description": "Transfer an Ashby application to an absolute job and stage.",
860
+ "fields": {
861
+ "stepType": "stepType",
862
+ "annotations": "annotations",
863
+ "connectionName": "connectionName",
864
+ "resultAttribute": "resultAttribute"
865
+ },
866
+ "branches": [
867
+ {
868
+ "id": "transferred",
869
+ "field": "transferred",
870
+ "optional": false
871
+ },
872
+ {
873
+ "id": "providerRejected",
874
+ "field": "providerRejected",
875
+ "optional": true
876
+ },
877
+ {
878
+ "id": "invalidResponse",
879
+ "field": "invalidResponse",
880
+ "optional": true
881
+ },
882
+ {
883
+ "id": "defect",
884
+ "field": "defect",
885
+ "optional": true
886
+ }
887
+ ],
888
+ "inputSchema": {
889
+ "additionalProperties": false,
890
+ "description": "TransferApplicationInput selects an absolute target job, plan, and stage.",
891
+ "properties": {
892
+ "applicationId": {
893
+ "description": "ApplicationID is the existing application UUID.",
894
+ "type": "string"
895
+ },
896
+ "interviewPlanId": {
897
+ "description": "InterviewPlanID is the target job's interview plan UUID.",
898
+ "type": "string"
899
+ },
900
+ "interviewStageId": {
901
+ "description": "InterviewStageID is a stage UUID in the target plan.",
902
+ "type": "string"
903
+ },
904
+ "jobId": {
905
+ "description": "JobID is the target job UUID.",
906
+ "type": "string"
907
+ }
908
+ },
909
+ "required": [
910
+ "applicationId",
911
+ "interviewPlanId",
912
+ "interviewStageId",
913
+ "jobId"
914
+ ],
915
+ "type": "object"
916
+ }
917
+ },
918
+ {
919
+ "name": "newSetApplicationSourceStep",
920
+ "kind": "mutation",
921
+ "operationId": "setApplicationSource",
922
+ "inputType": "SetApplicationSourceInput",
923
+ "description": "Replace an Ashby application's source.",
924
+ "fields": {
925
+ "stepType": "stepType",
926
+ "annotations": "annotations",
927
+ "connectionName": "connectionName",
928
+ "resultAttribute": "resultAttribute"
929
+ },
930
+ "branches": [
931
+ {
932
+ "id": "set",
933
+ "field": "set",
934
+ "optional": false
935
+ },
936
+ {
937
+ "id": "providerRejected",
938
+ "field": "providerRejected",
939
+ "optional": true
940
+ },
941
+ {
942
+ "id": "invalidResponse",
943
+ "field": "invalidResponse",
944
+ "optional": true
945
+ },
946
+ {
947
+ "id": "defect",
948
+ "field": "defect",
949
+ "optional": true
950
+ }
951
+ ],
952
+ "inputSchema": {
953
+ "additionalProperties": false,
954
+ "description": "SetApplicationSourceInput selects a source UUID for an application.",
955
+ "properties": {
956
+ "applicationId": {
957
+ "description": "ApplicationID is the application UUID.",
958
+ "type": "string"
959
+ },
960
+ "sourceId": {
961
+ "description": "SourceID is the selected Ashby source UUID.",
962
+ "type": "string"
963
+ }
964
+ },
965
+ "required": [
966
+ "applicationId",
967
+ "sourceId"
968
+ ],
969
+ "type": "object"
970
+ }
971
+ },
972
+ {
973
+ "name": "newDeleteApplicationStep",
974
+ "kind": "mutation",
975
+ "operationId": "deleteApplication",
976
+ "inputType": "DeleteApplicationInput",
977
+ "description": "Delete an Ashby application by ID.",
978
+ "fields": {
979
+ "stepType": "stepType",
980
+ "annotations": "annotations",
981
+ "connectionName": "connectionName",
982
+ "resultAttribute": "resultAttribute"
983
+ },
984
+ "branches": [
985
+ {
986
+ "id": "deleted",
987
+ "field": "deleted",
988
+ "optional": false
989
+ },
990
+ {
991
+ "id": "providerRejected",
992
+ "field": "providerRejected",
993
+ "optional": true
994
+ },
995
+ {
996
+ "id": "invalidResponse",
997
+ "field": "invalidResponse",
998
+ "optional": true
999
+ },
1000
+ {
1001
+ "id": "defect",
1002
+ "field": "defect",
1003
+ "optional": true
1004
+ }
1005
+ ],
1006
+ "inputSchema": {
1007
+ "additionalProperties": false,
1008
+ "description": "DeleteApplicationInput identifies an application to remove.",
1009
+ "properties": {
1010
+ "applicationId": {
1011
+ "description": "ApplicationID is the Ashby application UUID.",
1012
+ "type": "string"
1013
+ }
1014
+ },
1015
+ "required": [
1016
+ "applicationId"
1017
+ ],
1018
+ "type": "object"
1019
+ }
1020
+ },
1021
+ {
1022
+ "name": "newListJobsStep",
1023
+ "kind": "query",
1024
+ "operationId": "listJobs",
1025
+ "inputType": "ListJobsInput",
1026
+ "description": "List a bounded page of Ashby job identities.",
1027
+ "fields": {
1028
+ "stepType": "stepType",
1029
+ "annotations": "annotations",
1030
+ "connectionName": "connectionName",
1031
+ "resultAttribute": "resultAttribute"
1032
+ },
1033
+ "branches": [
1034
+ {
1035
+ "id": "listed",
1036
+ "field": "listed",
1037
+ "optional": false
1038
+ },
1039
+ {
1040
+ "id": "providerRejected",
1041
+ "field": "providerRejected",
1042
+ "optional": true
1043
+ },
1044
+ {
1045
+ "id": "invalidResponse",
1046
+ "field": "invalidResponse",
1047
+ "optional": true
1048
+ },
1049
+ {
1050
+ "id": "defect",
1051
+ "field": "defect",
1052
+ "optional": true
1053
+ }
1054
+ ],
1055
+ "inputSchema": {
1056
+ "additionalProperties": false,
1057
+ "description": "ListJobsInput selects one bounded page of jobs.",
1058
+ "properties": {
1059
+ "cursor": {
1060
+ "description": "Cursor is an opaque Ashby page cursor; blank starts at the first page.",
1061
+ "type": "string"
1062
+ },
1063
+ "limit": {
1064
+ "description": "Limit caps a page at 100 jobs; zero uses the provider default.",
1065
+ "type": "integer"
1066
+ }
1067
+ },
1068
+ "type": "object"
1069
+ }
1070
+ },
1071
+ {
1072
+ "name": "newGetJobStep",
1073
+ "kind": "query",
1074
+ "operationId": "getJob",
1075
+ "inputType": "GetJobInput",
1076
+ "description": "Read one Ashby job identity and status.",
1077
+ "fields": {
1078
+ "stepType": "stepType",
1079
+ "annotations": "annotations",
1080
+ "connectionName": "connectionName",
1081
+ "resultAttribute": "resultAttribute"
1082
+ },
1083
+ "branches": [
1084
+ {
1085
+ "id": "found",
1086
+ "field": "found",
1087
+ "optional": false
1088
+ },
1089
+ {
1090
+ "id": "providerRejected",
1091
+ "field": "providerRejected",
1092
+ "optional": true
1093
+ },
1094
+ {
1095
+ "id": "invalidResponse",
1096
+ "field": "invalidResponse",
1097
+ "optional": true
1098
+ },
1099
+ {
1100
+ "id": "defect",
1101
+ "field": "defect",
1102
+ "optional": true
1103
+ }
1104
+ ],
1105
+ "inputSchema": {
1106
+ "additionalProperties": false,
1107
+ "description": "GetJobInput identifies the job to inspect.",
1108
+ "properties": {
1109
+ "jobId": {
1110
+ "description": "JobID is the non-secret Ashby job UUID.",
1111
+ "type": "string"
1112
+ }
1113
+ },
1114
+ "required": [
1115
+ "jobId"
1116
+ ],
1117
+ "type": "object"
1118
+ }
1119
+ },
1120
+ {
1121
+ "name": "newSearchJobsStep",
1122
+ "kind": "query",
1123
+ "operationId": "searchJobs",
1124
+ "inputType": "SearchJobsInput",
1125
+ "description": "Search Ashby jobs by title or requisition ID.",
1126
+ "fields": {
1127
+ "stepType": "stepType",
1128
+ "annotations": "annotations",
1129
+ "connectionName": "connectionName",
1130
+ "resultAttribute": "resultAttribute"
1131
+ },
1132
+ "branches": [
1133
+ {
1134
+ "id": "found",
1135
+ "field": "found",
1136
+ "optional": false
1137
+ },
1138
+ {
1139
+ "id": "providerRejected",
1140
+ "field": "providerRejected",
1141
+ "optional": true
1142
+ },
1143
+ {
1144
+ "id": "invalidResponse",
1145
+ "field": "invalidResponse",
1146
+ "optional": true
1147
+ },
1148
+ {
1149
+ "id": "defect",
1150
+ "field": "defect",
1151
+ "optional": true
1152
+ }
1153
+ ],
1154
+ "inputSchema": {
1155
+ "additionalProperties": false,
1156
+ "description": "SearchJobsInput selects matching jobs by title, requisition ID, or both.",
1157
+ "properties": {
1158
+ "limit": {
1159
+ "description": "Limit caps the search at 100 jobs; zero uses the provider default.",
1160
+ "type": "integer"
1161
+ },
1162
+ "requisitionId": {
1163
+ "description": "RequisitionID is an optional custom requisition ID or substring, up to 256 bytes.",
1164
+ "type": "string"
1165
+ },
1166
+ "title": {
1167
+ "description": "Title is a title or substring, up to 512 bytes.",
1168
+ "type": "string"
1169
+ }
1170
+ },
1171
+ "type": "object"
1172
+ }
1173
+ },
1174
+ {
1175
+ "name": "newCreateJobStep",
1176
+ "kind": "mutation",
1177
+ "operationId": "createJob",
1178
+ "inputType": "CreateJobInput",
1179
+ "description": "Create an Ashby job with a title, team, and location.",
1180
+ "fields": {
1181
+ "stepType": "stepType",
1182
+ "annotations": "annotations",
1183
+ "connectionName": "connectionName",
1184
+ "resultAttribute": "resultAttribute"
1185
+ },
1186
+ "branches": [
1187
+ {
1188
+ "id": "created",
1189
+ "field": "created",
1190
+ "optional": false
1191
+ },
1192
+ {
1193
+ "id": "providerRejected",
1194
+ "field": "providerRejected",
1195
+ "optional": true
1196
+ },
1197
+ {
1198
+ "id": "uncertain",
1199
+ "field": "uncertain",
1200
+ "optional": true
1201
+ },
1202
+ {
1203
+ "id": "defect",
1204
+ "field": "defect",
1205
+ "optional": true
1206
+ }
1207
+ ],
1208
+ "inputSchema": {
1209
+ "additionalProperties": false,
1210
+ "description": "CreateJobInput supplies Ashby's required job title, team, and location.",
1211
+ "properties": {
1212
+ "locationId": {
1213
+ "description": "LocationID is the Ashby location UUID.",
1214
+ "type": "string"
1215
+ },
1216
+ "teamId": {
1217
+ "description": "TeamID is the Ashby team or department UUID.",
1218
+ "type": "string"
1219
+ },
1220
+ "title": {
1221
+ "description": "Title is the complete job title, up to 512 bytes.",
1222
+ "type": "string"
1223
+ }
1224
+ },
1225
+ "required": [
1226
+ "locationId",
1227
+ "teamId",
1228
+ "title"
1229
+ ],
1230
+ "type": "object"
1231
+ }
1232
+ },
1233
+ {
1234
+ "name": "newUpdateJobTitleStep",
1235
+ "kind": "mutation",
1236
+ "operationId": "updateJobTitle",
1237
+ "inputType": "UpdateJobTitleInput",
1238
+ "description": "Replace an Ashby job title by ID.",
1239
+ "fields": {
1240
+ "stepType": "stepType",
1241
+ "annotations": "annotations",
1242
+ "connectionName": "connectionName",
1243
+ "resultAttribute": "resultAttribute"
1244
+ },
1245
+ "branches": [
1246
+ {
1247
+ "id": "updated",
1248
+ "field": "updated",
1249
+ "optional": false
1250
+ },
1251
+ {
1252
+ "id": "providerRejected",
1253
+ "field": "providerRejected",
1254
+ "optional": true
1255
+ },
1256
+ {
1257
+ "id": "invalidResponse",
1258
+ "field": "invalidResponse",
1259
+ "optional": true
1260
+ },
1261
+ {
1262
+ "id": "defect",
1263
+ "field": "defect",
1264
+ "optional": true
1265
+ }
1266
+ ],
1267
+ "inputSchema": {
1268
+ "additionalProperties": false,
1269
+ "description": "UpdateJobTitleInput replaces a job title with one absolute value.",
1270
+ "properties": {
1271
+ "jobId": {
1272
+ "description": "JobID is the non-secret Ashby job UUID.",
1273
+ "type": "string"
1274
+ },
1275
+ "title": {
1276
+ "description": "Title is the complete new title, up to 512 bytes.",
1277
+ "type": "string"
1278
+ }
1279
+ },
1280
+ "required": [
1281
+ "jobId",
1282
+ "title"
1283
+ ],
1284
+ "type": "object"
1285
+ }
1286
+ },
1287
+ {
1288
+ "name": "newSetJobStatusStep",
1289
+ "kind": "mutation",
1290
+ "operationId": "setJobStatus",
1291
+ "inputType": "SetJobStatusInput",
1292
+ "description": "Set an Ashby job status to Draft, Open, Closed, or Archived.",
1293
+ "fields": {
1294
+ "stepType": "stepType",
1295
+ "annotations": "annotations",
1296
+ "connectionName": "connectionName",
1297
+ "resultAttribute": "resultAttribute"
1298
+ },
1299
+ "branches": [
1300
+ {
1301
+ "id": "set",
1302
+ "field": "set",
1303
+ "optional": false
1304
+ },
1305
+ {
1306
+ "id": "providerRejected",
1307
+ "field": "providerRejected",
1308
+ "optional": true
1309
+ },
1310
+ {
1311
+ "id": "invalidResponse",
1312
+ "field": "invalidResponse",
1313
+ "optional": true
1314
+ },
1315
+ {
1316
+ "id": "defect",
1317
+ "field": "defect",
1318
+ "optional": true
1319
+ }
1320
+ ],
1321
+ "inputSchema": {
1322
+ "additionalProperties": false,
1323
+ "description": "SetJobStatusInput selects one absolute job status.",
1324
+ "properties": {
1325
+ "closeReasonId": {
1326
+ "description": "CloseReasonID is an optional close-reason UUID, valid only for Closed.",
1327
+ "type": "string"
1328
+ },
1329
+ "jobId": {
1330
+ "description": "JobID is the non-secret Ashby job UUID.",
1331
+ "type": "string"
1332
+ },
1333
+ "status": {
1334
+ "description": "Status is Draft, Open, Closed, or Archived.",
1335
+ "type": "string"
1336
+ }
1337
+ },
1338
+ "required": [
1339
+ "jobId",
1340
+ "status"
1341
+ ],
1342
+ "type": "object"
1343
+ }
1344
+ },
1345
+ {
1346
+ "name": "newListCandidateNotesStep",
1347
+ "kind": "query",
1348
+ "operationId": "listCandidateNotes",
1349
+ "inputType": "ListCandidateNotesInput",
1350
+ "description": "List note identities for a candidate without exposing content or author details.",
1351
+ "fields": {
1352
+ "stepType": "stepType",
1353
+ "annotations": "annotations",
1354
+ "connectionName": "connectionName",
1355
+ "resultAttribute": "resultAttribute"
1356
+ },
1357
+ "branches": [
1358
+ {
1359
+ "id": "listed",
1360
+ "field": "listed",
1361
+ "optional": false
1362
+ },
1363
+ {
1364
+ "id": "providerRejected",
1365
+ "field": "providerRejected",
1366
+ "optional": true
1367
+ },
1368
+ {
1369
+ "id": "invalidResponse",
1370
+ "field": "invalidResponse",
1371
+ "optional": true
1372
+ },
1373
+ {
1374
+ "id": "defect",
1375
+ "field": "defect",
1376
+ "optional": true
1377
+ }
1378
+ ],
1379
+ "inputSchema": {
1380
+ "additionalProperties": false,
1381
+ "description": "ListCandidateNotesInput selects one page of a candidate's notes.",
1382
+ "properties": {
1383
+ "candidateId": {
1384
+ "description": "CandidateID is the non-secret UUID of the candidate whose notes are listed.",
1385
+ "type": "string"
1386
+ },
1387
+ "cursor": {
1388
+ "description": "Cursor is Ashby's opaque pagination cursor; blank starts at the first page.",
1389
+ "type": "string"
1390
+ },
1391
+ "limit": {
1392
+ "description": "Limit caps the page at 100 notes; zero uses Ashby's default.",
1393
+ "type": "integer"
1394
+ }
1395
+ },
1396
+ "required": [
1397
+ "candidateId"
1398
+ ],
1399
+ "type": "object"
1400
+ }
1401
+ },
1402
+ {
1403
+ "name": "newCreateCandidateNoteStep",
1404
+ "kind": "mutation",
1405
+ "operationId": "createCandidateNote",
1406
+ "inputType": "CreateCandidateNoteInput",
1407
+ "description": "Create a plaintext note on a candidate, omitting its content from the result.",
1408
+ "fields": {
1409
+ "stepType": "stepType",
1410
+ "annotations": "annotations",
1411
+ "connectionName": "connectionName",
1412
+ "resultAttribute": "resultAttribute"
1413
+ },
1414
+ "branches": [
1415
+ {
1416
+ "id": "created",
1417
+ "field": "created",
1418
+ "optional": false
1419
+ },
1420
+ {
1421
+ "id": "providerRejected",
1422
+ "field": "providerRejected",
1423
+ "optional": true
1424
+ },
1425
+ {
1426
+ "id": "uncertain",
1427
+ "field": "uncertain",
1428
+ "optional": true
1429
+ },
1430
+ {
1431
+ "id": "defect",
1432
+ "field": "defect",
1433
+ "optional": true
1434
+ }
1435
+ ],
1436
+ "inputSchema": {
1437
+ "additionalProperties": false,
1438
+ "description": "CreateCandidateNoteInput supplies a candidate ID and plaintext note.",
1439
+ "properties": {
1440
+ "candidateId": {
1441
+ "description": "CandidateID is the non-secret UUID of the candidate.",
1442
+ "type": "string"
1443
+ },
1444
+ "note": {
1445
+ "description": "Note is plaintext content, up to 8192 bytes; do not include secrets.",
1446
+ "type": "string"
1447
+ }
1448
+ },
1449
+ "required": [
1450
+ "candidateId",
1451
+ "note"
1452
+ ],
1453
+ "type": "object"
1454
+ }
1455
+ },
1456
+ {
1457
+ "name": "newListCandidateProjectsStep",
1458
+ "kind": "query",
1459
+ "operationId": "listCandidateProjects",
1460
+ "inputType": "ListCandidateProjectsInput",
1461
+ "description": "List a bounded page of projects associated with one candidate.",
1462
+ "fields": {
1463
+ "stepType": "stepType",
1464
+ "annotations": "annotations",
1465
+ "connectionName": "connectionName",
1466
+ "resultAttribute": "resultAttribute"
1467
+ },
1468
+ "branches": [
1469
+ {
1470
+ "id": "listed",
1471
+ "field": "listed",
1472
+ "optional": false
1473
+ },
1474
+ {
1475
+ "id": "providerRejected",
1476
+ "field": "providerRejected",
1477
+ "optional": true
1478
+ },
1479
+ {
1480
+ "id": "invalidResponse",
1481
+ "field": "invalidResponse",
1482
+ "optional": true
1483
+ },
1484
+ {
1485
+ "id": "defect",
1486
+ "field": "defect",
1487
+ "optional": true
1488
+ }
1489
+ ],
1490
+ "inputSchema": {
1491
+ "additionalProperties": false,
1492
+ "description": "ListCandidateProjectsInput selects one page of a candidate's projects.",
1493
+ "properties": {
1494
+ "candidateId": {
1495
+ "description": "CandidateID is the non-secret UUID of the candidate whose projects are listed.",
1496
+ "type": "string"
1497
+ },
1498
+ "cursor": {
1499
+ "description": "Cursor is Ashby's opaque pagination cursor; blank starts at the first page.",
1500
+ "type": "string"
1501
+ },
1502
+ "limit": {
1503
+ "description": "Limit caps the page at 100 projects; zero uses Ashby's default.",
1504
+ "type": "integer"
1505
+ }
1506
+ },
1507
+ "required": [
1508
+ "candidateId"
1509
+ ],
1510
+ "type": "object"
1511
+ }
1512
+ },
1513
+ {
1514
+ "name": "newAddCandidateProjectStep",
1515
+ "kind": "mutation",
1516
+ "operationId": "addCandidateProject",
1517
+ "inputType": "CandidateProjectInput",
1518
+ "description": "Add a candidate to an existing Ashby project.",
1519
+ "fields": {
1520
+ "stepType": "stepType",
1521
+ "annotations": "annotations",
1522
+ "connectionName": "connectionName",
1523
+ "resultAttribute": "resultAttribute"
1524
+ },
1525
+ "branches": [
1526
+ {
1527
+ "id": "added",
1528
+ "field": "added",
1529
+ "optional": false
1530
+ },
1531
+ {
1532
+ "id": "providerRejected",
1533
+ "field": "providerRejected",
1534
+ "optional": true
1535
+ },
1536
+ {
1537
+ "id": "invalidResponse",
1538
+ "field": "invalidResponse",
1539
+ "optional": true
1540
+ },
1541
+ {
1542
+ "id": "defect",
1543
+ "field": "defect",
1544
+ "optional": true
1545
+ }
1546
+ ],
1547
+ "inputSchema": {
1548
+ "additionalProperties": false,
1549
+ "description": "CandidateProjectInput identifies the candidate and existing project to associate or disassociate.",
1550
+ "properties": {
1551
+ "candidateId": {
1552
+ "description": "CandidateID is the candidate UUID from Ashby Candidates or candidate.list.",
1553
+ "type": "string"
1554
+ },
1555
+ "projectId": {
1556
+ "description": "ProjectID is the non-secret UUID of an existing Ashby candidate project.",
1557
+ "type": "string"
1558
+ }
1559
+ },
1560
+ "required": [
1561
+ "candidateId",
1562
+ "projectId"
1563
+ ],
1564
+ "type": "object"
1565
+ }
1566
+ },
1567
+ {
1568
+ "name": "newRemoveCandidateProjectStep",
1569
+ "kind": "mutation",
1570
+ "operationId": "removeCandidateProject",
1571
+ "inputType": "CandidateProjectInput",
1572
+ "description": "Remove a candidate from an Ashby project.",
1573
+ "fields": {
1574
+ "stepType": "stepType",
1575
+ "annotations": "annotations",
1576
+ "connectionName": "connectionName",
1577
+ "resultAttribute": "resultAttribute"
1578
+ },
1579
+ "branches": [
1580
+ {
1581
+ "id": "removed",
1582
+ "field": "removed",
1583
+ "optional": false
1584
+ },
1585
+ {
1586
+ "id": "providerRejected",
1587
+ "field": "providerRejected",
1588
+ "optional": true
1589
+ },
1590
+ {
1591
+ "id": "invalidResponse",
1592
+ "field": "invalidResponse",
1593
+ "optional": true
1594
+ },
1595
+ {
1596
+ "id": "defect",
1597
+ "field": "defect",
1598
+ "optional": true
1599
+ }
1600
+ ],
1601
+ "inputSchema": {
1602
+ "additionalProperties": false,
1603
+ "description": "CandidateProjectInput identifies the candidate and existing project to associate or disassociate.",
1604
+ "properties": {
1605
+ "candidateId": {
1606
+ "description": "CandidateID is the candidate UUID from Ashby Candidates or candidate.list.",
1607
+ "type": "string"
1608
+ },
1609
+ "projectId": {
1610
+ "description": "ProjectID is the non-secret UUID of an existing Ashby candidate project.",
1611
+ "type": "string"
1612
+ }
1613
+ },
1614
+ "required": [
1615
+ "candidateId",
1616
+ "projectId"
1617
+ ],
1618
+ "type": "object"
1619
+ }
1620
+ },
1621
+ {
1622
+ "name": "newSearchCandidatesStep",
1623
+ "kind": "query",
1624
+ "operationId": "searchCandidates",
1625
+ "inputType": "SearchCandidatesInput",
1626
+ "description": "Search candidate identities by name or email, omitting contact information from results.",
1627
+ "fields": {
1628
+ "stepType": "stepType",
1629
+ "annotations": "annotations",
1630
+ "connectionName": "connectionName",
1631
+ "resultAttribute": "resultAttribute"
1632
+ },
1633
+ "branches": [
1634
+ {
1635
+ "id": "found",
1636
+ "field": "found",
1637
+ "optional": false
1638
+ },
1639
+ {
1640
+ "id": "providerRejected",
1641
+ "field": "providerRejected",
1642
+ "optional": true
1643
+ },
1644
+ {
1645
+ "id": "invalidResponse",
1646
+ "field": "invalidResponse",
1647
+ "optional": true
1648
+ },
1649
+ {
1650
+ "id": "defect",
1651
+ "field": "defect",
1652
+ "optional": true
1653
+ }
1654
+ ],
1655
+ "inputSchema": {
1656
+ "additionalProperties": false,
1657
+ "description": "SearchCandidatesInput selects candidate matches by name, email, or both.",
1658
+ "properties": {
1659
+ "email": {
1660
+ "description": "Email is an optional complete email address, up to 320 bytes.",
1661
+ "type": "string"
1662
+ },
1663
+ "limit": {
1664
+ "description": "Limit caps the response at 100 candidates; zero uses Ashby's default of 100.",
1665
+ "type": "integer"
1666
+ },
1667
+ "name": {
1668
+ "description": "Name is an optional candidate name, up to 512 bytes; one of Name or Email is required.",
1669
+ "type": "string"
1670
+ }
1671
+ },
1672
+ "type": "object"
1673
+ }
1674
+ },
1675
+ {
1676
+ "name": "newCreateCandidateStep",
1677
+ "kind": "mutation",
1678
+ "operationId": "createCandidate",
1679
+ "inputType": "CreateCandidateInput",
1680
+ "description": "Create a candidate with a display name; a duplicate after an ambiguous send may be acceptable.",
1681
+ "fields": {
1682
+ "stepType": "stepType",
1683
+ "annotations": "annotations",
1684
+ "connectionName": "connectionName",
1685
+ "resultAttribute": "resultAttribute"
1686
+ },
1687
+ "branches": [
1688
+ {
1689
+ "id": "created",
1690
+ "field": "created",
1691
+ "optional": false
1692
+ },
1693
+ {
1694
+ "id": "providerRejected",
1695
+ "field": "providerRejected",
1696
+ "optional": true
1697
+ },
1698
+ {
1699
+ "id": "uncertain",
1700
+ "field": "uncertain",
1701
+ "optional": true
1702
+ },
1703
+ {
1704
+ "id": "defect",
1705
+ "field": "defect",
1706
+ "optional": true
1707
+ }
1708
+ ],
1709
+ "inputSchema": {
1710
+ "additionalProperties": false,
1711
+ "description": "CreateCandidateInput supplies the candidate's complete display name.",
1712
+ "properties": {
1713
+ "name": {
1714
+ "description": "Name is the first and last name, up to 512 bytes; blank is invalid.",
1715
+ "type": "string"
1716
+ }
1717
+ },
1718
+ "required": [
1719
+ "name"
1720
+ ],
1721
+ "type": "object"
1722
+ }
1723
+ },
1724
+ {
1725
+ "name": "newAddCandidateTagStep",
1726
+ "kind": "mutation",
1727
+ "operationId": "addCandidateTag",
1728
+ "inputType": "CandidateTagInput",
1729
+ "description": "Add an existing tag to a candidate.",
1730
+ "fields": {
1731
+ "stepType": "stepType",
1732
+ "annotations": "annotations",
1733
+ "connectionName": "connectionName",
1734
+ "resultAttribute": "resultAttribute"
1735
+ },
1736
+ "branches": [
1737
+ {
1738
+ "id": "added",
1739
+ "field": "added",
1740
+ "optional": false
1741
+ },
1742
+ {
1743
+ "id": "providerRejected",
1744
+ "field": "providerRejected",
1745
+ "optional": true
1746
+ },
1747
+ {
1748
+ "id": "invalidResponse",
1749
+ "field": "invalidResponse",
1750
+ "optional": true
1751
+ },
1752
+ {
1753
+ "id": "defect",
1754
+ "field": "defect",
1755
+ "optional": true
1756
+ }
1757
+ ],
1758
+ "inputSchema": {
1759
+ "additionalProperties": false,
1760
+ "description": "CandidateTagInput identifies the candidate and existing tag to associate or disassociate.",
1761
+ "properties": {
1762
+ "candidateId": {
1763
+ "description": "CandidateID is the candidate UUID from Ashby Candidates or candidate.list.",
1764
+ "type": "string"
1765
+ },
1766
+ "tagId": {
1767
+ "description": "TagID is the non-secret UUID of an existing Ashby candidate tag.",
1768
+ "type": "string"
1769
+ }
1770
+ },
1771
+ "required": [
1772
+ "candidateId",
1773
+ "tagId"
1774
+ ],
1775
+ "type": "object"
1776
+ }
1777
+ },
1778
+ {
1779
+ "name": "newRemoveCandidateTagStep",
1780
+ "kind": "mutation",
1781
+ "operationId": "removeCandidateTag",
1782
+ "inputType": "CandidateTagInput",
1783
+ "description": "Remove an existing tag from a candidate.",
1784
+ "fields": {
1785
+ "stepType": "stepType",
1786
+ "annotations": "annotations",
1787
+ "connectionName": "connectionName",
1788
+ "resultAttribute": "resultAttribute"
1789
+ },
1790
+ "branches": [
1791
+ {
1792
+ "id": "removed",
1793
+ "field": "removed",
1794
+ "optional": false
1795
+ },
1796
+ {
1797
+ "id": "providerRejected",
1798
+ "field": "providerRejected",
1799
+ "optional": true
1800
+ },
1801
+ {
1802
+ "id": "invalidResponse",
1803
+ "field": "invalidResponse",
1804
+ "optional": true
1805
+ },
1806
+ {
1807
+ "id": "defect",
1808
+ "field": "defect",
1809
+ "optional": true
1810
+ }
1811
+ ],
1812
+ "inputSchema": {
1813
+ "additionalProperties": false,
1814
+ "description": "CandidateTagInput identifies the candidate and existing tag to associate or disassociate.",
1815
+ "properties": {
1816
+ "candidateId": {
1817
+ "description": "CandidateID is the candidate UUID from Ashby Candidates or candidate.list.",
1818
+ "type": "string"
1819
+ },
1820
+ "tagId": {
1821
+ "description": "TagID is the non-secret UUID of an existing Ashby candidate tag.",
1822
+ "type": "string"
1823
+ }
1824
+ },
1825
+ "required": [
1826
+ "candidateId",
1827
+ "tagId"
1828
+ ],
1829
+ "type": "object"
1830
+ }
1831
+ },
1832
+ {
1833
+ "name": "newListCandidatesStep",
1834
+ "kind": "query",
1835
+ "operationId": "listCandidates",
1836
+ "inputType": "ListCandidatesInput",
1837
+ "description": "List a bounded page of candidate identities without contact information.",
1838
+ "fields": {
1839
+ "stepType": "stepType",
1840
+ "annotations": "annotations",
1841
+ "connectionName": "connectionName",
1842
+ "resultAttribute": "resultAttribute"
1843
+ },
1844
+ "branches": [
1845
+ {
1846
+ "id": "listed",
1847
+ "field": "listed",
1848
+ "optional": false
1849
+ },
1850
+ {
1851
+ "id": "providerRejected",
1852
+ "field": "providerRejected",
1853
+ "optional": true
1854
+ },
1855
+ {
1856
+ "id": "invalidResponse",
1857
+ "field": "invalidResponse",
1858
+ "optional": true
1859
+ },
1860
+ {
1861
+ "id": "defect",
1862
+ "field": "defect",
1863
+ "optional": true
1864
+ }
1865
+ ],
1866
+ "inputSchema": {
1867
+ "additionalProperties": false,
1868
+ "description": "ListCandidatesInput selects one page of Ashby candidates.",
1869
+ "properties": {
1870
+ "cursor": {
1871
+ "description": "Cursor is \"start\" for the first page or the previous nextCursor; blank starts at the first page.",
1872
+ "type": "string"
1873
+ },
1874
+ "limit": {
1875
+ "description": "Limit caps the page at 100 candidates; zero uses Ashby's default.",
1876
+ "type": "integer"
1877
+ }
1878
+ },
1879
+ "type": "object"
1880
+ }
1881
+ },
1882
+ {
1883
+ "name": "newUpdateCandidateStep",
1884
+ "kind": "mutation",
1885
+ "operationId": "updateCandidate",
1886
+ "inputType": "UpdateCandidateInput",
1887
+ "description": "Replace a candidate's display name by ID.",
1888
+ "fields": {
1889
+ "stepType": "stepType",
1890
+ "annotations": "annotations",
1891
+ "connectionName": "connectionName",
1892
+ "resultAttribute": "resultAttribute"
1893
+ },
1894
+ "branches": [
1895
+ {
1896
+ "id": "updated",
1897
+ "field": "updated",
1898
+ "optional": false
1899
+ },
1900
+ {
1901
+ "id": "notFound",
1902
+ "field": "notFound",
1903
+ "optional": true
1904
+ },
1905
+ {
1906
+ "id": "providerRejected",
1907
+ "field": "providerRejected",
1908
+ "optional": true
1909
+ },
1910
+ {
1911
+ "id": "invalidResponse",
1912
+ "field": "invalidResponse",
1913
+ "optional": true
1914
+ },
1915
+ {
1916
+ "id": "defect",
1917
+ "field": "defect",
1918
+ "optional": true
1919
+ }
1920
+ ],
1921
+ "inputSchema": {
1922
+ "additionalProperties": false,
1923
+ "description": "UpdateCandidateInput replaces the candidate's display name.",
1924
+ "properties": {
1925
+ "candidateId": {
1926
+ "description": "CandidateID is the non-secret UUID of the candidate to rename.",
1927
+ "type": "string"
1928
+ },
1929
+ "name": {
1930
+ "description": "Name is the complete new display name.",
1931
+ "type": "string"
1932
+ }
1933
+ },
1934
+ "required": [
1935
+ "candidateId",
1936
+ "name"
1937
+ ],
1938
+ "type": "object"
1939
+ }
1940
+ },
10
1941
  {
11
1942
  "name": "newGetCandidateStep",
12
1943
  "kind": "query",