@oxide/turnstile.ts 0.6.7 → 0.7.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.
@@ -76,6 +76,7 @@ type DocumentParent = {
76
76
  type TypedUuidForDepartmentId = string;
77
77
  type TypedUuidForRoleId = string;
78
78
  type TypedUuidForListingId = string;
79
+ type TypedUuidForPoolId = string;
79
80
  type TypedUuidForReviewerId = string;
80
81
  type TypedUuidForReviewId = string;
81
82
  type TypedUuidForInterviewerId = string;
@@ -87,7 +88,7 @@ type TypedUuidForAccessGroupId = string;
87
88
  type TypedUuidForMapperId = string;
88
89
  type TypedUuidForOAuthClientId = string;
89
90
  type TypedUuidForMagicLinkId = string;
90
- type TurnstilePermission = 'CreateNotificationsAll' | 'GetNotificationsAll' | 'ScheduleNotification' | 'SendNotification' | 'GetApplicantsAssigned' | 'GetApplicantsAll' | 'GetApplicantSelf' | 'CreateApplicantsAssigned' | 'CreateApplicantsAll' | 'CreateApplicantSelf' | 'ManageApplicantsAssigned' | 'ManageApplicantsAll' | 'ManageApplicantSelf' | 'GetApplicationsAssigned' | 'GetApplicationsAll' | 'CreateApplicationAssigned' | 'CreateApplicationSelf' | 'SubmitApplicationsAssigned' | 'WithdrawApplicationsAssigned' | 'ManageApplicationsAssigned' | 'ManageApplicationsAll' | 'GetDocumentsAssigned' | 'GetDocumentsAll' | 'CreateDocument' | 'ManageDocumentsAssigned' | 'ManageDocumentsAll' | 'AttachDocumentsAssigned' | 'AttachDocumentsAll' | 'GetDepartmentsAssigned' | 'GetDepartmentsAll' | 'CreateDepartment' | 'GetRolesAssigned' | 'GetRolesAll' | 'CreateRole' | 'GetListingsAssigned' | 'GetListingsAll' | 'CreateListing' | 'ManageListingsAll' | 'GetReviewersAssigned' | 'GetReviewersAll' | 'GetReviewerSelf' | 'CreateReviewersAssigned' | 'CreateReviewersAll' | 'CreateReviewerSelf' | 'GetReviewsAssigned' | 'GetReviewsAll' | 'CreateReview' | 'ManageReviewsAssigned' | 'ManageReviewsAll' | 'GetReviewAssignmentsAll' | 'CompleteReviewAssignmentSelf' | 'CompleteReviewAssignmentsAll' | 'ManageReviewAssignmentsAll' | 'GetReviewSummariesAll' | 'GetInterviewersAssigned' | 'GetInterviewersAll' | 'CreateInterviewersAssigned' | 'CreateInterviewersAll' | 'CreateInterviewerSelf' | 'ManageInterviewersAssigned' | 'ManageInterviewersAll' | 'GetInterviewsAssigned' | 'GetInterviewsAll' | 'CreateInterview' | 'ManageInterviewsAssigned' | 'ManageInterviewsAll' | 'GetBackgroundChecksAssigned' | 'GetBackgroundChecksAll' | 'CreateBackgroundChecksAll' | 'ManageBackgroundChecksAssigned' | 'ManageBackgroundChecksAll' | 'GetEnvelope' | 'SendEnvelope' | 'GetEmployeesAssigned' | 'GetEmployeesAll' | 'CreateEmployee' | 'ManageEmployeesAssigned' | 'ManageEmployeesAll' | 'GetOnboardingsAll' | 'CreateOnboarding' | 'GetBatchOperationsAssigned' | 'GetBatchOperationsAll' | 'CreateBatchOperation' | 'ManageBatchOperationsAll' | 'CreateApiUser' | 'GetApiUserSelf' | 'GetApiUsersAssigned' | 'GetApiUsersAll' | 'ManageApiUsersAssigned' | 'ManageApiUsersAll' | 'CreateApiKeySelf' | 'CreateApiKeyAssigned' | 'CreateApiKeyAll' | 'GetApiKeysAssigned' | 'GetApiKeysAll' | 'ManageApiKeysAssigned' | 'ManageApiKeysAll' | 'CreateUserApiProviderLinkToken' | 'CreateGroup' | 'GetGroupsJoined' | 'GetGroupsAll' | 'ManageGroupsAssigned' | 'ManageGroupsAll' | 'ManageGroupMembershipsAssigned' | 'ManageGroupMembershipsAll' | 'CreateMapper' | 'GetMappersAll' | 'ManageMappersAssigned' | 'ManageMappersAll' | 'CreateOAuthClient' | 'GetOAuthClientsAssigned' | 'GetOAuthClientsAll' | 'ManageOAuthClientsAssigned' | 'ManageOAuthClientsAll' | 'CreateMagicLinkClient' | 'GetMagicLinkClientsAssigned' | 'GetMagicLinkClientsAll' | 'ManageMagicLinkClientsAssigned' | 'ManageMagicLinkClientsAll' | 'CreateAccessToken' | {
91
+ type TurnstilePermission = 'CreateNotificationsAll' | 'GetNotificationsAll' | 'ScheduleNotification' | 'SendNotification' | 'GetApplicantsAssigned' | 'GetApplicantsAll' | 'GetApplicantSelf' | 'CreateApplicantsAssigned' | 'CreateApplicantsAll' | 'CreateApplicantSelf' | 'ManageApplicantsAssigned' | 'ManageApplicantsAll' | 'ManageApplicantSelf' | 'GetApplicationsAssigned' | 'GetApplicationsAll' | 'CreateApplicationAssigned' | 'CreateApplicationSelf' | 'SubmitApplicationsAssigned' | 'WithdrawApplicationsAssigned' | 'ManageApplicationsAssigned' | 'ManageApplicationsAll' | 'GetApplicationSummariesAll' | 'GetDocumentsAssigned' | 'GetDocumentsAll' | 'CreateDocument' | 'ManageDocumentsAssigned' | 'ManageDocumentsAll' | 'AttachDocumentsAssigned' | 'AttachDocumentsAll' | 'GetDepartmentsAssigned' | 'GetDepartmentsAll' | 'CreateDepartment' | 'GetRolesAssigned' | 'GetRolesAll' | 'CreateRole' | 'GetListingsAssigned' | 'GetListingsAll' | 'CreateListing' | 'ManageListingsAll' | 'GetPoolsAssigned' | 'GetPoolsAll' | 'CreatePool' | 'ManagePoolsAll' | 'GetReviewersAssigned' | 'GetReviewersAll' | 'GetReviewerSelf' | 'CreateReviewersAssigned' | 'CreateReviewersAll' | 'CreateReviewerSelf' | 'GetReviewsAssigned' | 'GetReviewsAll' | 'CreateReview' | 'ManageReviewsAssigned' | 'ManageReviewsAll' | 'GetReviewAssignmentsAll' | 'CompleteReviewAssignmentSelf' | 'CompleteReviewAssignmentsAll' | 'ManageReviewAssignmentsAll' | 'GetReviewSummariesAll' | 'GetInterviewersAssigned' | 'GetInterviewersAll' | 'CreateInterviewersAssigned' | 'CreateInterviewersAll' | 'CreateInterviewerSelf' | 'ManageInterviewersAssigned' | 'ManageInterviewersAll' | 'GetInterviewsAssigned' | 'GetInterviewsAll' | 'CreateInterview' | 'ManageInterviewsAssigned' | 'ManageInterviewsAll' | 'GetBackgroundChecksAssigned' | 'GetBackgroundChecksAll' | 'CreateBackgroundChecksAll' | 'ManageBackgroundChecksAssigned' | 'ManageBackgroundChecksAll' | 'GetEnvelope' | 'SendEnvelope' | 'GetEmployeesAssigned' | 'GetEmployeesAll' | 'CreateEmployee' | 'ManageEmployeesAssigned' | 'ManageEmployeesAll' | 'GetOnboardingsAll' | 'CreateOnboarding' | 'GetBatchOperationsAssigned' | 'GetBatchOperationsAll' | 'CreateBatchOperation' | 'ManageBatchOperationsAll' | 'CreateApiUser' | 'GetApiUserSelf' | 'GetApiUsersAssigned' | 'GetApiUsersAll' | 'ManageApiUsersAssigned' | 'ManageApiUsersAll' | 'CreateApiKeySelf' | 'CreateApiKeyAssigned' | 'CreateApiKeyAll' | 'GetApiKeysAssigned' | 'GetApiKeysAll' | 'ManageApiKeysAssigned' | 'ManageApiKeysAll' | 'CreateUserApiProviderLinkToken' | 'CreateGroup' | 'GetGroupsJoined' | 'GetGroupsAll' | 'ManageGroupsAssigned' | 'ManageGroupsAll' | 'ManageGroupMembershipsAssigned' | 'ManageGroupMembershipsAll' | 'CreateMapper' | 'GetMappersAll' | 'ManageMappersAssigned' | 'ManageMappersAll' | 'CreateOAuthClient' | 'GetOAuthClientsAssigned' | 'GetOAuthClientsAll' | 'ManageOAuthClientsAssigned' | 'ManageOAuthClientsAll' | 'CreateMagicLinkClient' | 'GetMagicLinkClientsAssigned' | 'GetMagicLinkClientsAll' | 'ManageMagicLinkClientsAssigned' | 'ManageMagicLinkClientsAll' | 'CreateAccessToken' | {
91
92
  'GetApplicant': TypedUuidForApplicantId;
92
93
  } | {
93
94
  'GetApplicants': TypedUuidForApplicantId[];
@@ -141,6 +142,10 @@ type TurnstilePermission = 'CreateNotificationsAll' | 'GetNotificationsAll' | 'S
141
142
  'GetListing': TypedUuidForListingId;
142
143
  } | {
143
144
  'GetListings': TypedUuidForListingId[];
145
+ } | {
146
+ 'GetPool': TypedUuidForPoolId;
147
+ } | {
148
+ 'GetPools': TypedUuidForPoolId[];
144
149
  } | {
145
150
  'GetReviewer': TypedUuidForReviewerId;
146
151
  } | {
@@ -411,6 +416,18 @@ type ApplicationStateRecord = {
411
416
  'state': ApplicationState;
412
417
  'updatedAt': Date;
413
418
  };
419
+ type ListingPoolAssociation = 'first' | 'early_positive' | 'positive';
420
+ type TriageReason = 'has_no_ratings' | 'likely_next_steps' | 'likely_pass' | 'possibly_next_steps' | 'possibly_pass' | 'very_likely_pass' | 'unknown';
421
+ type PoolAction = 'drop' | 'wait' | {
422
+ 'add': {
423
+ 'association': ListingPoolAssociation;
424
+ 'count': number;
425
+ };
426
+ } | {
427
+ 'triage': {
428
+ 'reason': TriageReason;
429
+ };
430
+ };
414
431
  type ReviewScore = 'emphatic_yes' | 'yes' | 'pass' | 'no' | 'emphatic_no' | 'incomplete';
415
432
  type Reviews = {
416
433
  'applicationId': TypedUuidForApplicationId;
@@ -420,6 +437,7 @@ type Reviews = {
420
437
  'scores': ReviewScore[];
421
438
  };
422
439
  type ExpandedApplicationSummary = {
440
+ 'action': PoolAction;
423
441
  'applicant': ApplicantInfo;
424
442
  'application': Application;
425
443
  'documents': Document[];
@@ -440,8 +458,16 @@ type ApplicationSummaryResponse = {
440
458
  'summary': ExpandedApplicationSummary;
441
459
  'users': Evaluator[];
442
460
  };
461
+ type AssignPool = {
462
+ /** Review stage of the listing this pool should be associated to */
463
+ 'association': ListingPoolAssociation;
464
+ /** Listing to assign this pool to */
465
+ 'listing': TypedUuidForListingId;
466
+ };
443
467
  type AttachDocument = {
468
+ /** Id assigned to the document by the external datastore */
444
469
  'externalId': string;
470
+ /** Mime type of the document */
445
471
  'mime'?: string;
446
472
  };
447
473
  type EmailConfig = {
@@ -455,6 +481,7 @@ type TransitionMessage = 'default' | 'omit' | {
455
481
  'custom': EmailConfig;
456
482
  };
457
483
  type TransitionBody = {
484
+ /** The message to send to the applicant */
458
485
  'message': TransitionMessage;
459
486
  };
460
487
  type BatchParameter_for_TransitionBody = {
@@ -463,6 +490,7 @@ type BatchParameter_for_TransitionBody = {
463
490
  'each': TransitionBody[];
464
491
  };
465
492
  type ViewApplication = {
493
+ /** Application to operate on */
466
494
  'application': TypedUuidForApplicationId;
467
495
  };
468
496
  type BatchParameter_for_ViewApplication = {
@@ -471,7 +499,9 @@ type BatchParameter_for_ViewApplication = {
471
499
  'each': ViewApplication[];
472
500
  };
473
501
  type CreateApplication = {
502
+ /** Applicant to create an application for */
474
503
  'applicant': TypedUuidForApplicantId;
504
+ /** Listing to apply to */
475
505
  'listing': TypedUuidForListingId;
476
506
  };
477
507
  type CreateDepartment = {
@@ -496,6 +526,14 @@ type CreateMapper = {
496
526
  'name': string;
497
527
  'rule': Record<string, unknown>;
498
528
  };
529
+ type CreatePool = {
530
+ /** Optional description of the pool */
531
+ 'description'?: string;
532
+ /** Required display name for the pool */
533
+ 'name': string;
534
+ /** List of reviewers to assign to this pool */
535
+ 'reviewers'?: TypedUuidForReviewerId[];
536
+ };
499
537
  type CreateReview = {
500
538
  'application': TypedUuidForApplicationId;
501
539
  'content': string;
@@ -511,7 +549,18 @@ type CreateReview = {
511
549
  type CreateReviewAssignments = {
512
550
  'reviewers': TypedUuidForReviewerId[];
513
551
  };
514
- type ReviewAssignmentCreationError = 'DoesNotExist' | 'Forbidden' | 'Internal';
552
+ /**
553
+ * Failures that can occur when assigning a reviewer
554
+ */
555
+ type ReviewAssignmentCreationError =
556
+ /** A requested object resource already exist */
557
+ 'Conflict'
558
+ /** A requested object resource does not exist */
559
+ | 'DoesNotExist'
560
+ /** Caller does not have access to a require object resource */
561
+ | 'Forbidden'
562
+ /** Internal server error */
563
+ | 'Internal';
515
564
  type TypedUuidForReviewAssignmentId = string;
516
565
  type ReviewAssignmentState = 'pending' | 'complete';
517
566
  type ReviewAssignment = {
@@ -523,38 +572,15 @@ type ReviewAssignment = {
523
572
  'state': ReviewAssignmentState;
524
573
  'updatedAt': Date;
525
574
  };
526
- type TypedUuidForNotificationId = string;
527
- type NotificationMedium = 'Email';
528
- type RenderedEmail = {
529
- 'from': string;
530
- 'html'?: string;
531
- 'name': string;
532
- 'subject': string;
533
- 'text': string;
534
- };
535
- type RecipientId = {
536
- 'Applicant': TypedUuidForApplicantId;
537
- } | {
538
- 'Custom': string;
539
- } | {
540
- 'Reviewer': TypedUuidForReviewerId;
541
- };
542
- type NotificationStatus = 'Failed' | 'Pending' | 'Scheduled' | 'Sent';
543
- type Notification_for_RenderedEmail = {
544
- 'createdAt': Date;
545
- 'deletedAt'?: Date;
546
- 'id': TypedUuidForNotificationId;
547
- 'kind': string;
548
- 'medium': NotificationMedium;
549
- 'message'?: RenderedEmail;
550
- 'recipient': RecipientId;
551
- 'status': NotificationStatus;
552
- 'updatedAt': Date;
553
- };
575
+ /**
576
+ * Wrapper containing the assignment object
577
+ */
554
578
  type CreatedAssignment = {
555
579
  'assignment': ReviewAssignment;
556
- 'notification': Notification_for_RenderedEmail;
557
580
  };
581
+ /**
582
+ * Aggregate collection of results indexed by the reviewer ids that were requested to be assigned to the applcation
583
+ */
558
584
  type CreateReviewAssignmentsResponse = {
559
585
  'failure': Record<string, ReviewAssignmentCreationError>;
560
586
  'success': Record<string, CreatedAssignment>;
@@ -655,6 +681,16 @@ type Listing = {
655
681
  'state': RoleListingStatus;
656
682
  'updatedAt': Date;
657
683
  };
684
+ type TypedUuidForListingPoolId = string;
685
+ type ListingPool = {
686
+ 'association': ListingPoolAssociation;
687
+ 'createdAt': Date;
688
+ 'deletedAt'?: Date;
689
+ 'id': TypedUuidForListingPoolId;
690
+ 'listingId': TypedUuidForListingId;
691
+ 'poolId': TypedUuidForPoolId;
692
+ 'updatedAt': Date;
693
+ };
658
694
  type TypedUuidForMagicLinkRedirectUriId = string;
659
695
  type MagicLinkRedirectUri = {
660
696
  'createdAt': Date;
@@ -711,9 +747,37 @@ type Mapper = {
711
747
  'rule': Record<string, unknown>;
712
748
  'updatedAt': Date;
713
749
  };
750
+ type NotificationMedium = 'Email';
751
+ type NotificationStatus = 'Failed' | 'Pending' | 'Scheduled' | 'Sent';
752
+ type TypedUuidForNotificationId = string;
753
+ type RenderedEmail = {
754
+ 'from': string;
755
+ 'html'?: string;
756
+ 'name': string;
757
+ 'subject': string;
758
+ 'text': string;
759
+ };
760
+ type RecipientId = {
761
+ 'Applicant': TypedUuidForApplicantId;
762
+ } | {
763
+ 'Custom': string;
764
+ } | {
765
+ 'Reviewer': TypedUuidForReviewerId;
766
+ };
767
+ type Notification_for_RenderedEmail = {
768
+ 'createdAt': Date;
769
+ 'deletedAt'?: Date;
770
+ 'id': TypedUuidForNotificationId;
771
+ 'kind': string;
772
+ 'medium': NotificationMedium;
773
+ 'message'?: RenderedEmail;
774
+ 'recipient': RecipientId;
775
+ 'status': NotificationStatus;
776
+ 'updatedAt': Date;
777
+ };
714
778
  type OAuthAuthzCodeExchangeBody = {
715
- 'clientId': TypedUuidForOAuthClientId;
716
- 'clientSecret': SecretString;
779
+ 'clientId'?: TypedUuidForOAuthClientId;
780
+ 'clientSecret'?: SecretString;
717
781
  'code': string;
718
782
  'grantType': string;
719
783
  'pkceVerifier'?: string;
@@ -803,8 +867,19 @@ type Operation_for_TurnstilePermission_and_TransitionApplicationToDeferredBatchE
803
867
  'updatedAt': Date;
804
868
  };
805
869
  type OptionalTransitionBody = {
870
+ /** An optional message to send to the applicant */
806
871
  'message'?: EmailConfig;
807
872
  };
873
+ type Pool = {
874
+ 'createdAt': Date;
875
+ 'deletedAt'?: Date;
876
+ 'description'?: string;
877
+ 'id': TypedUuidForPoolId;
878
+ 'listings': ListingPool[];
879
+ 'name': string;
880
+ 'reviewers': TypedUuidForReviewerId[];
881
+ 'updatedAt': Date;
882
+ };
808
883
  type RegisterApplicant = {
809
884
  'email': string;
810
885
  };
@@ -925,6 +1000,9 @@ interface UpdateApplicantContactPathParams {
925
1000
  interface ViewApplicationPathParams {
926
1001
  application: TypedUuidForApplicationId;
927
1002
  }
1003
+ interface ApplyReviewActionPathParams {
1004
+ application: TypedUuidForApplicationId;
1005
+ }
928
1006
  interface ListApplicationReviewAssignmentsPathParams {
929
1007
  application: TypedUuidForApplicationId;
930
1008
  }
@@ -947,6 +1025,9 @@ interface CreateDocumentUploadUrlPathParams {
947
1025
  interface GetApplicationInterviewCodePathParams {
948
1026
  application: TypedUuidForApplicationId;
949
1027
  }
1028
+ interface SimulateReviewActionPathParams {
1029
+ application: TypedUuidForApplicationId;
1030
+ }
950
1031
  interface SubmitApplicationPathParams {
951
1032
  application: TypedUuidForApplicationId;
952
1033
  }
@@ -1112,6 +1193,18 @@ interface DeleteOauthClientSecretPathParams {
1112
1193
  clientId: TypedUuidForOAuthClientId;
1113
1194
  secretId: TypedUuidForOAuthSecretId;
1114
1195
  }
1196
+ interface ViewPoolPathParams {
1197
+ pool: TypedUuidForPoolId;
1198
+ }
1199
+ interface UpdatePoolPathParams {
1200
+ pool: TypedUuidForPoolId;
1201
+ }
1202
+ interface AssignPoolPathParams {
1203
+ pool: TypedUuidForPoolId;
1204
+ }
1205
+ interface UnassignPoolPathParams {
1206
+ assignment: TypedUuidForListingPoolId;
1207
+ }
1115
1208
  interface ListReviewsQueryParams {
1116
1209
  application?: TypedUuidForApplicationId;
1117
1210
  reviewer?: TypedUuidForReviewerId;
@@ -1227,16 +1320,37 @@ declare class Api extends HttpClient {
1227
1320
  path: UpdateApplicantContactPathParams;
1228
1321
  body: UpdateApplicantContact;
1229
1322
  }, params?: FetchParams) => Promise<ApiResult<ApplicantInfo>>;
1323
+ /**
1324
+ * View all applications
1325
+ */
1230
1326
  listApplications: (_: EmptyObj, params?: FetchParams) => Promise<ApiResult<Application[]>>;
1327
+ /**
1328
+ * Create a new application
1329
+ */
1231
1330
  createApplication: ({ body, }: {
1232
1331
  body: CreateApplication;
1233
1332
  }, params?: FetchParams) => Promise<ApiResult<CreatedApplication>>;
1333
+ /**
1334
+ * View an application
1335
+ */
1234
1336
  viewApplication: ({ path, }: {
1235
1337
  path: ViewApplicationPathParams;
1236
1338
  }, params?: FetchParams) => Promise<ApiResult<Application>>;
1339
+ /**
1340
+ * Compute the next review action to take on this application and apply the necessary changes
1341
+ */
1342
+ applyReviewAction: ({ path, }: {
1343
+ path: ApplyReviewActionPathParams;
1344
+ }, params?: FetchParams) => Promise<ApiResult<ReviewAssignment[]>>;
1345
+ /**
1346
+ * List the individual reviewers that are assigned to this application
1347
+ */
1237
1348
  listApplicationReviewAssignments: ({ path, }: {
1238
1349
  path: ListApplicationReviewAssignmentsPathParams;
1239
1350
  }, params?: FetchParams) => Promise<ApiResult<ReviewAssignment[]>>;
1351
+ /**
1352
+ * Assign individual reviewers to this application
1353
+ */
1240
1354
  createApplicationReviewAssignments: ({ path, body, }: {
1241
1355
  path: CreateApplicationReviewAssignmentsPathParams;
1242
1356
  body: CreateReviewAssignments;
@@ -1244,46 +1358,88 @@ declare class Api extends HttpClient {
1244
1358
  viewApplicationBundle: ({ path, }: {
1245
1359
  path: ViewApplicationBundlePathParams;
1246
1360
  }, params?: FetchParams) => Promise<ApiResult<ApplicationBundle>>;
1361
+ /**
1362
+ * Attach an uploaded document to an application
1363
+ */
1247
1364
  attachDocument: ({ path, body, }: {
1248
1365
  path: AttachDocumentPathParams;
1249
1366
  body: AttachDocument;
1250
1367
  }, params?: FetchParams) => Promise<ApiResult<Document>>;
1368
+ /**
1369
+ * Generate a pre-signed upload url for uploading a document to an application
1370
+ */
1251
1371
  createDocumentUploadUrl: ({ path, }: {
1252
1372
  path: CreateDocumentUploadUrlPathParams;
1253
1373
  }, params?: FetchParams) => Promise<ApiResult<DocumentUploadUrlResponse>>;
1374
+ /**
1375
+ * Retrieve the interview code associated with an application
1376
+ */
1254
1377
  getApplicationInterviewCode: ({ path, }: {
1255
1378
  path: GetApplicationInterviewCodePathParams;
1256
1379
  }, params?: FetchParams) => Promise<ApiResult<ApplicationInterviewCode>>;
1380
+ /**
1381
+ * Simulate the selection of the next review action without performing any changes
1382
+ */
1383
+ simulateReviewAction: ({ path, }: {
1384
+ path: SimulateReviewActionPathParams;
1385
+ }, params?: FetchParams) => Promise<ApiResult<PoolAction>>;
1386
+ /**
1387
+ * Submit an application that has all required documents attached
1388
+ */
1257
1389
  submitApplication: ({ path, }: {
1258
1390
  path: SubmitApplicationPathParams;
1259
1391
  }, params?: FetchParams) => Promise<ApiResult<ApplicationStateRecord>>;
1392
+ /**
1393
+ * Move an application to the Declined stage
1394
+ */
1260
1395
  transitionApplicationToDeclined: ({ path, body, }: {
1261
1396
  path: TransitionApplicationToDeclinedPathParams;
1262
1397
  body: TransitionBody;
1263
1398
  }, params?: FetchParams) => Promise<ApiResult<ApplicationStateRecord>>;
1399
+ /**
1400
+ * Move an application to the Deferred stage
1401
+ */
1264
1402
  transitionApplicationToDeferred: ({ path, body, }: {
1265
1403
  path: TransitionApplicationToDeferredPathParams;
1266
1404
  body: TransitionBody;
1267
1405
  }, params?: FetchParams) => Promise<ApiResult<ApplicationStateRecord>>;
1406
+ /**
1407
+ * Move an application to the Interviewing stage
1408
+ */
1268
1409
  transitionApplicationToInterviewing: ({ path, body, }: {
1269
1410
  path: TransitionApplicationToInterviewingPathParams;
1270
1411
  body: OptionalTransitionBody;
1271
1412
  }, params?: FetchParams) => Promise<ApiResult<ApplicationStateRecord>>;
1413
+ /**
1414
+ * Move an application to the Next Steps stage
1415
+ */
1272
1416
  transitionApplicationToNextSteps: ({ path, body, }: {
1273
1417
  path: TransitionApplicationToNextStepsPathParams;
1274
1418
  body: OptionalTransitionBody;
1275
1419
  }, params?: FetchParams) => Promise<ApiResult<ApplicationStateRecord>>;
1420
+ /**
1421
+ * Move an application to the Offer stage
1422
+ */
1276
1423
  transitionApplicationToOffer: ({ path, body, }: {
1277
1424
  path: TransitionApplicationToOfferPathParams;
1278
1425
  body: OptionalTransitionBody;
1279
1426
  }, params?: FetchParams) => Promise<ApiResult<ApplicationStateRecord>>;
1427
+ /**
1428
+ * Move an application to the Withdrawn stage
1429
+ */
1280
1430
  transitionApplicationToWithdrawn: ({ path, body, }: {
1281
1431
  path: TransitionApplicationToWithdrawnPathParams;
1282
1432
  body: OptionalTransitionBody;
1283
1433
  }, params?: FetchParams) => Promise<ApiResult<ApplicationStateRecord>>;
1434
+ /**
1435
+ * List all application summaries
1436
+ */
1284
1437
  listApplicationSummaries: ({ query, }: {
1285
1438
  query?: ListApplicationSummariesQueryParams;
1286
1439
  }, params?: FetchParams) => Promise<ApiResult<ApplicationSummariesResponse>>;
1440
+ /**
1441
+ * View a summary that includes an application and the related evaluations
1442
+ */
1287
1443
  viewApplicationSummary: ({ path, }: {
1288
1444
  path: ViewApplicationSummaryPathParams;
1289
1445
  }, params?: FetchParams) => Promise<ApiResult<ApplicationSummaryResponse>>;
@@ -1540,6 +1696,42 @@ declare class Api extends HttpClient {
1540
1696
  deleteOauthClientSecret: ({ path, }: {
1541
1697
  path: DeleteOauthClientSecretPathParams;
1542
1698
  }, params?: FetchParams) => Promise<ApiResult<OAuthClientSecret>>;
1699
+ /**
1700
+ * List reviewer pools and their associations
1701
+ */
1702
+ listPools: (_: EmptyObj, params?: FetchParams) => Promise<ApiResult<Pool[]>>;
1703
+ /**
1704
+ * Create a new pool
1705
+ */
1706
+ createPool: ({ body, }: {
1707
+ body: CreatePool;
1708
+ }, params?: FetchParams) => Promise<ApiResult<Pool>>;
1709
+ /**
1710
+ * View a pool and its associations
1711
+ */
1712
+ viewPool: ({ path, }: {
1713
+ path: ViewPoolPathParams;
1714
+ }, params?: FetchParams) => Promise<ApiResult<Pool>>;
1715
+ /**
1716
+ * Update a pool
1717
+ */
1718
+ updatePool: ({ path, body, }: {
1719
+ path: UpdatePoolPathParams;
1720
+ body: CreatePool;
1721
+ }, params?: FetchParams) => Promise<ApiResult<Pool>>;
1722
+ /**
1723
+ * Assign a pool to a listing
1724
+ */
1725
+ assignPool: ({ path, body, }: {
1726
+ path: AssignPoolPathParams;
1727
+ body: AssignPool;
1728
+ }, params?: FetchParams) => Promise<ApiResult<ListingPool>>;
1729
+ /**
1730
+ * Unassign a pool from a listing
1731
+ */
1732
+ unassignPool: ({ path, }: {
1733
+ path: UnassignPoolPathParams;
1734
+ }, params?: FetchParams) => Promise<ApiResult<void>>;
1543
1735
  listReviews: ({ query, }: {
1544
1736
  query?: ListReviewsQueryParams;
1545
1737
  }, params?: FetchParams) => Promise<ApiResult<ReviewInfo[]>>;
@@ -1576,4 +1768,4 @@ declare class Api extends HttpClient {
1576
1768
  ws: {};
1577
1769
  }
1578
1770
 
1579
- export { type ApplicationState as $, type ApiConfig as A, type AddMagicLinkRedirectBody as B, type AddOAuthClientRedirectBody as C, type DocumentParent as D, type ApiKeyCreateParams_for_TurnstilePermission as E, type FullParams as F, type ApiKeyResponse_for_TurnstilePermission as G, type TypedUuidForUserProviderId as H, type ApiUserContactEmail as I, type ApiUserEmailUpdateParams as J, type ApiUserProvider as K, type ApiUser_for_TurnstilePermission as L, type ApiUserInfo_for_TurnstilePermission as M, type ApiUserLinkRequestPayload as N, type ApiUserLinkRequestResponse as O, type Permissions_for_TurnstilePermission as P, type ApiUserProviderLinkPayload as Q, type ApiUserUpdateParams_for_TurnstilePermission as R, type SecretString as S, type TypedUuidForApplicantId as T, type Applicant as U, type TypedUuidForApplicantContactId as V, type ApplicantContactField as W, type ApplicantContact as X, type ApplicantInfo as Y, type InterviewingState as Z, type OfferState as _, Api as a, type MagicLink as a$, type Application as a0, type DocumentKind as a1, type DocumentSource as a2, type Document as a3, type ApplicationBundle as a4, type TypedUuidForApplicationInterviewCodeId as a5, type ApplicationInterviewCode as a6, type TypedUuidForApplicationStateRecordId as a7, type ApplicationStateRecord as a8, type ReviewScore as a9, type RenderedEmail as aA, type RecipientId as aB, type NotificationStatus as aC, type Notification_for_RenderedEmail as aD, type CreatedAssignment as aE, type CreateReviewAssignmentsResponse as aF, type CreateRole as aG, type CreatedApplication as aH, type Department as aI, type DocumentUploadUrlResponse as aJ, type EmailApplicantBody as aK, type GetUserResponse_for_TurnstilePermission as aL, type InitialApiKeyResponse_for_TurnstilePermission as aM, type TypedUuidForMagicLinkSecretId as aN, type InitialMagicLinkSecretResponse as aO, type TypedUuidForOAuthSecretId as aP, type InitialOAuthClientSecretResponse as aQ, type TypedUuidForInterviewAttendeeId as aR, type InterviewAttendee as aS, type Interview as aT, type Interviewer as aU, type Jwk as aV, type Jwks as aW, type Listing as aX, type TypedUuidForMagicLinkRedirectUriId as aY, type MagicLinkRedirectUri as aZ, type MagicLinkSecret as a_, type Reviews as aa, type ExpandedApplicationSummary as ab, type Evaluator as ac, type ApplicationSummariesResponse as ad, type ApplicationSummaryResponse as ae, type AttachDocument as af, type EmailConfig as ag, type TransitionMessage as ah, type TransitionBody as ai, type BatchParameter_for_TransitionBody as aj, type ViewApplication as ak, type BatchParameter_for_ViewApplication as al, type CreateApplication as am, type CreateDepartment as an, type CreateDocument as ao, type RoleListingStatus as ap, type CreateListing as aq, type CreateMapper as ar, type CreateReview as as, type CreateReviewAssignments as at, type ReviewAssignmentCreationError as au, type TypedUuidForReviewAssignmentId as av, type ReviewAssignmentState as aw, type ReviewAssignment as ax, type TypedUuidForNotificationId as ay, type NotificationMedium as az, type ApiResult as b, type TransitionApplicationToDeferredPathParams as b$, type TypedUuidForMagicLinkAttemptId as b0, type MagicLinkExchangeRequest as b1, type MagicLinkExchangeResponse as b2, type MagicLinkMedium as b3, type MagicLinkSendRequest as b4, type MagicLinkSendResponse as b5, type Mapper as b6, type OAuthAuthzCodeExchangeBody as b7, type OAuthAuthzCodeExchangeResponse as b8, type TypedUuidForOAuthRedirectUriId as b9, type UpdateDocumentStatus as bA, type UpdateListing as bB, type UpdateReview as bC, type ScalarApplicationState as bD, type GetApiUserPathParams as bE, type UpdateApiUserPathParams as bF, type SetApiUserContactEmailPathParams as bG, type AddApiUserToGroupPathParams as bH, type RemoveApiUserFromGroupPathParams as bI, type LinkProviderPathParams as bJ, type ListApiUserTokensPathParams as bK, type CreateApiUserTokenPathParams as bL, type GetApiUserTokenPathParams as bM, type DeleteApiUserTokenPathParams as bN, type CreateLinkTokenPathParams as bO, type ListApplicantsQueryParams as bP, type ViewApplicantPathParams as bQ, type UpdateApplicantContactPathParams as bR, type ViewApplicationPathParams as bS, type ListApplicationReviewAssignmentsPathParams as bT, type CreateApplicationReviewAssignmentsPathParams as bU, type ViewApplicationBundlePathParams as bV, type AttachDocumentPathParams as bW, type CreateDocumentUploadUrlPathParams as bX, type GetApplicationInterviewCodePathParams as bY, type SubmitApplicationPathParams as bZ, type TransitionApplicationToDeclinedPathParams as b_, type OAuthClientRedirectUri as ba, type OAuthClientSecret as bb, type OAuthClient as bc, type OAuthProviderName as bd, type OAuthProviderInfo as be, type OpenIdConfiguration as bf, type OperationState as bg, type OperationTaskState as bh, type TypedUuidForOperationTaskId as bi, type OperationTask_for_AnyValue_and_AnyValue_and_AnyValue_and_AnyValue as bj, type Operation_for_TurnstilePermission_and_String as bk, type TransitionApplicationToDeclinedBatchEndpoint as bl, type Operation_for_TurnstilePermission_and_TransitionApplicationToDeclinedBatchEndpoint as bm, type TransitionApplicationToDeferredBatchEndpoint as bn, type Operation_for_TurnstilePermission_and_TransitionApplicationToDeferredBatchEndpoint as bo, type OptionalTransitionBody as bp, type RegisterApplicant as bq, type Review as br, type Reviewer as bs, type ReviewerInfo as bt, type ReviewInfo as bu, type Role as bv, type TransitionApplicationToDeclinedBatch as bw, type TransitionApplicationToDeferredBatch as bx, type UpdateApplicantContact as by, type UpdateDocument as bz, type TypedUuidForUserId as c, type TransitionApplicationToInterviewingPathParams as c0, type TransitionApplicationToNextStepsPathParams as c1, type TransitionApplicationToOfferPathParams as c2, type TransitionApplicationToWithdrawnPathParams as c3, type ListApplicationSummariesQueryParams as c4, type ViewApplicationSummaryPathParams as c5, type ListOperationsQueryParams as c6, type GetOperationPathParams as c7, type ListOperationTasksQueryParams as c8, type ViewDepartmentPathParams as c9, type DeleteMagicLinkSecretPathParams as cA, type GetMappersQueryParams as cB, type DeleteMapperPathParams as cC, type ListNotificationsQueryParams as cD, type EmailApplicantPathParams as cE, type GetOauthClientPathParams as cF, type CreateOauthClientRedirectUriPathParams as cG, type DeleteOauthClientRedirectUriPathParams as cH, type CreateOauthClientSecretPathParams as cI, type DeleteOauthClientSecretPathParams as cJ, type ListReviewsQueryParams as cK, type ViewReviewPathParams as cL, type UpdateReviewPathParams as cM, type DeleteReviewPathParams as cN, type ListReviewersQueryParams as cO, type ViewRolePathParams as cP, type ErrorBody as cQ, type ErrorResult as cR, type ListDocumentsQueryParams as ca, type ViewDocumentPathParams as cb, type UpdateDocumentPathParams as cc, type DeleteDocumentPathParams as cd, type ViewDocumentDataPathParams as ce, type UpdateDocumentStatusPathParams as cf, type UpdateGroupPathParams as cg, type DeleteGroupPathParams as ch, type ListInterviewsQueryParams as ci, type ListInterviewersQueryParams as cj, type ViewListingPathParams as ck, type UpdateListingPathParams as cl, type UpdateListingStatePathParams as cm, type MagicLinkExchangePathParams as cn, type MagicLinkSendPathParams as co, type AuthzCodeRedirectPathParams as cp, type AuthzCodeRedirectQueryParams as cq, type AuthzCodeCallbackPathParams as cr, type AuthzCodeCallbackQueryParams as cs, type AuthzCodeExchangePathParams as ct, type GetDeviceProviderPathParams as cu, type ExchangeDeviceTokenPathParams as cv, type GetMagicLinkPathParams as cw, type CreateMagicLinkRedirectUriPathParams as cx, type DeleteMagicLinkRedirectUriPathParams as cy, type CreateMagicLinkSecretPathParams as cz, type TypedUuidForApplicationId as d, type TypedUuidForDocumentId as e, type TypedUuidForEmployeeId as f, type TypedUuidForOnboardingId as g, type TypedUuidForDepartmentId as h, type TypedUuidForRoleId as i, type TypedUuidForListingId as j, type TypedUuidForReviewerId as k, type TypedUuidForReviewId as l, type TypedUuidForInterviewerId as m, type TypedUuidForInterviewId as n, type TypedUuidForBackgroundCheckId as o, type TypedUuidForOperationId as p, type TypedUuidForApiKeyId as q, type TypedUuidForAccessGroupId as r, type TypedUuidForMapperId as s, type TypedUuidForOAuthClientId as t, type TypedUuidForMagicLinkId as u, type TurnstilePermission as v, type AccessGroupUpdateParams_for_TurnstilePermission as w, type AccessGroup_for_TurnstilePermission as x, type AccessTokenExchangeRequest as y, type AddGroupBody as z };
1771
+ export { type OfferState as $, type ApiConfig as A, type AddGroupBody as B, type AddMagicLinkRedirectBody as C, type DocumentParent as D, type AddOAuthClientRedirectBody as E, type FullParams as F, type ApiKeyCreateParams_for_TurnstilePermission as G, type ApiKeyResponse_for_TurnstilePermission as H, type TypedUuidForUserProviderId as I, type ApiUserContactEmail as J, type ApiUserEmailUpdateParams as K, type ApiUserProvider as L, type ApiUser_for_TurnstilePermission as M, type ApiUserInfo_for_TurnstilePermission as N, type ApiUserLinkRequestPayload as O, type Permissions_for_TurnstilePermission as P, type ApiUserLinkRequestResponse as Q, type ApiUserProviderLinkPayload as R, type SecretString as S, type TypedUuidForApplicantId as T, type ApiUserUpdateParams_for_TurnstilePermission as U, type Applicant as V, type TypedUuidForApplicantContactId as W, type ApplicantContactField as X, type ApplicantContact as Y, type ApplicantInfo as Z, type InterviewingState as _, Api as a, type MagicLinkRedirectUri as a$, type ApplicationState as a0, type Application as a1, type DocumentKind as a2, type DocumentSource as a3, type Document as a4, type ApplicationBundle as a5, type TypedUuidForApplicationInterviewCodeId as a6, type ApplicationInterviewCode as a7, type TypedUuidForApplicationStateRecordId as a8, type ApplicationStateRecord as a9, type ReviewAssignmentCreationError as aA, type TypedUuidForReviewAssignmentId as aB, type ReviewAssignmentState as aC, type ReviewAssignment as aD, type CreatedAssignment as aE, type CreateReviewAssignmentsResponse as aF, type CreateRole as aG, type CreatedApplication as aH, type Department as aI, type DocumentUploadUrlResponse as aJ, type EmailApplicantBody as aK, type GetUserResponse_for_TurnstilePermission as aL, type InitialApiKeyResponse_for_TurnstilePermission as aM, type TypedUuidForMagicLinkSecretId as aN, type InitialMagicLinkSecretResponse as aO, type TypedUuidForOAuthSecretId as aP, type InitialOAuthClientSecretResponse as aQ, type TypedUuidForInterviewAttendeeId as aR, type InterviewAttendee as aS, type Interview as aT, type Interviewer as aU, type Jwk as aV, type Jwks as aW, type Listing as aX, type TypedUuidForListingPoolId as aY, type ListingPool as aZ, type TypedUuidForMagicLinkRedirectUriId as a_, type ListingPoolAssociation as aa, type TriageReason as ab, type PoolAction as ac, type ReviewScore as ad, type Reviews as ae, type ExpandedApplicationSummary as af, type Evaluator as ag, type ApplicationSummariesResponse as ah, type ApplicationSummaryResponse as ai, type AssignPool as aj, type AttachDocument as ak, type EmailConfig as al, type TransitionMessage as am, type TransitionBody as an, type BatchParameter_for_TransitionBody as ao, type ViewApplication as ap, type BatchParameter_for_ViewApplication as aq, type CreateApplication as ar, type CreateDepartment as as, type CreateDocument as at, type RoleListingStatus as au, type CreateListing as av, type CreateMapper as aw, type CreatePool as ax, type CreateReview as ay, type CreateReviewAssignments as az, type ApiResult as b, type ViewApplicationPathParams as b$, type MagicLinkSecret as b0, type MagicLink as b1, type TypedUuidForMagicLinkAttemptId as b2, type MagicLinkExchangeRequest as b3, type MagicLinkExchangeResponse as b4, type MagicLinkMedium as b5, type MagicLinkSendRequest as b6, type MagicLinkSendResponse as b7, type Mapper as b8, type NotificationMedium as b9, type Review as bA, type Reviewer as bB, type ReviewerInfo as bC, type ReviewInfo as bD, type Role as bE, type TransitionApplicationToDeclinedBatch as bF, type TransitionApplicationToDeferredBatch as bG, type UpdateApplicantContact as bH, type UpdateDocument as bI, type UpdateDocumentStatus as bJ, type UpdateListing as bK, type UpdateReview as bL, type ScalarApplicationState as bM, type GetApiUserPathParams as bN, type UpdateApiUserPathParams as bO, type SetApiUserContactEmailPathParams as bP, type AddApiUserToGroupPathParams as bQ, type RemoveApiUserFromGroupPathParams as bR, type LinkProviderPathParams as bS, type ListApiUserTokensPathParams as bT, type CreateApiUserTokenPathParams as bU, type GetApiUserTokenPathParams as bV, type DeleteApiUserTokenPathParams as bW, type CreateLinkTokenPathParams as bX, type ListApplicantsQueryParams as bY, type ViewApplicantPathParams as bZ, type UpdateApplicantContactPathParams as b_, type NotificationStatus as ba, type TypedUuidForNotificationId as bb, type RenderedEmail as bc, type RecipientId as bd, type Notification_for_RenderedEmail as be, type OAuthAuthzCodeExchangeBody as bf, type OAuthAuthzCodeExchangeResponse as bg, type TypedUuidForOAuthRedirectUriId as bh, type OAuthClientRedirectUri as bi, type OAuthClientSecret as bj, type OAuthClient as bk, type OAuthProviderName as bl, type OAuthProviderInfo as bm, type OpenIdConfiguration as bn, type OperationState as bo, type OperationTaskState as bp, type TypedUuidForOperationTaskId as bq, type OperationTask_for_AnyValue_and_AnyValue_and_AnyValue_and_AnyValue as br, type Operation_for_TurnstilePermission_and_String as bs, type TransitionApplicationToDeclinedBatchEndpoint as bt, type Operation_for_TurnstilePermission_and_TransitionApplicationToDeclinedBatchEndpoint as bu, type TransitionApplicationToDeferredBatchEndpoint as bv, type Operation_for_TurnstilePermission_and_TransitionApplicationToDeferredBatchEndpoint as bw, type OptionalTransitionBody as bx, type Pool as by, type RegisterApplicant as bz, type TypedUuidForUserId as c, type UpdateReviewPathParams as c$, type ApplyReviewActionPathParams as c0, type ListApplicationReviewAssignmentsPathParams as c1, type CreateApplicationReviewAssignmentsPathParams as c2, type ViewApplicationBundlePathParams as c3, type AttachDocumentPathParams as c4, type CreateDocumentUploadUrlPathParams as c5, type GetApplicationInterviewCodePathParams as c6, type SimulateReviewActionPathParams as c7, type SubmitApplicationPathParams as c8, type TransitionApplicationToDeclinedPathParams as c9, type AuthzCodeRedirectPathParams as cA, type AuthzCodeRedirectQueryParams as cB, type AuthzCodeCallbackPathParams as cC, type AuthzCodeCallbackQueryParams as cD, type AuthzCodeExchangePathParams as cE, type GetDeviceProviderPathParams as cF, type ExchangeDeviceTokenPathParams as cG, type GetMagicLinkPathParams as cH, type CreateMagicLinkRedirectUriPathParams as cI, type DeleteMagicLinkRedirectUriPathParams as cJ, type CreateMagicLinkSecretPathParams as cK, type DeleteMagicLinkSecretPathParams as cL, type GetMappersQueryParams as cM, type DeleteMapperPathParams as cN, type ListNotificationsQueryParams as cO, type EmailApplicantPathParams as cP, type GetOauthClientPathParams as cQ, type CreateOauthClientRedirectUriPathParams as cR, type DeleteOauthClientRedirectUriPathParams as cS, type CreateOauthClientSecretPathParams as cT, type DeleteOauthClientSecretPathParams as cU, type ViewPoolPathParams as cV, type UpdatePoolPathParams as cW, type AssignPoolPathParams as cX, type UnassignPoolPathParams as cY, type ListReviewsQueryParams as cZ, type ViewReviewPathParams as c_, type TransitionApplicationToDeferredPathParams as ca, type TransitionApplicationToInterviewingPathParams as cb, type TransitionApplicationToNextStepsPathParams as cc, type TransitionApplicationToOfferPathParams as cd, type TransitionApplicationToWithdrawnPathParams as ce, type ListApplicationSummariesQueryParams as cf, type ViewApplicationSummaryPathParams as cg, type ListOperationsQueryParams as ch, type GetOperationPathParams as ci, type ListOperationTasksQueryParams as cj, type ViewDepartmentPathParams as ck, type ListDocumentsQueryParams as cl, type ViewDocumentPathParams as cm, type UpdateDocumentPathParams as cn, type DeleteDocumentPathParams as co, type ViewDocumentDataPathParams as cp, type UpdateDocumentStatusPathParams as cq, type UpdateGroupPathParams as cr, type DeleteGroupPathParams as cs, type ListInterviewsQueryParams as ct, type ListInterviewersQueryParams as cu, type ViewListingPathParams as cv, type UpdateListingPathParams as cw, type UpdateListingStatePathParams as cx, type MagicLinkExchangePathParams as cy, type MagicLinkSendPathParams as cz, type TypedUuidForApplicationId as d, type DeleteReviewPathParams as d0, type ListReviewersQueryParams as d1, type ViewRolePathParams as d2, type ErrorBody as d3, type ErrorResult as d4, type TypedUuidForDocumentId as e, type TypedUuidForEmployeeId as f, type TypedUuidForOnboardingId as g, type TypedUuidForDepartmentId as h, type TypedUuidForRoleId as i, type TypedUuidForListingId as j, type TypedUuidForPoolId as k, type TypedUuidForReviewerId as l, type TypedUuidForReviewId as m, type TypedUuidForInterviewerId as n, type TypedUuidForInterviewId as o, type TypedUuidForBackgroundCheckId as p, type TypedUuidForOperationId as q, type TypedUuidForApiKeyId as r, type TypedUuidForAccessGroupId as s, type TypedUuidForMapperId as t, type TypedUuidForOAuthClientId as u, type TypedUuidForMagicLinkId as v, type TurnstilePermission as w, type AccessGroupUpdateParams_for_TurnstilePermission as x, type AccessGroup_for_TurnstilePermission as y, type AccessTokenExchangeRequest as z };