@oxide/turnstile.ts 0.6.7 → 0.7.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Api-tAayYJvL.d.cts → Api-Z7zZcVks.d.cts} +145 -34
- package/dist/{Api-tAayYJvL.d.ts → Api-Z7zZcVks.d.ts} +145 -34
- package/dist/Api.cjs +87 -0
- package/dist/Api.d.cts +1 -1
- package/dist/Api.d.ts +1 -1
- package/dist/Api.js +87 -0
- package/dist/retry.cjs +87 -0
- package/dist/retry.d.cts +1 -1
- package/dist/retry.d.ts +1 -1
- package/dist/retry.js +87 -0
- package/dist/validate.cjs +196 -41
- package/dist/validate.d.cts +1438 -663
- package/dist/validate.d.ts +1438 -663
- package/dist/validate.js +180 -41
- package/package.json +1 -1
- package/src/Api.ts +200 -32
- package/src/util.ts +1 -1
- package/src/validate.ts +195 -47
package/dist/validate.cjs
CHANGED
|
@@ -49,6 +49,9 @@ __export(validate_exports, {
|
|
|
49
49
|
ApplicationStateRecord: () => ApplicationStateRecord,
|
|
50
50
|
ApplicationSummariesResponse: () => ApplicationSummariesResponse,
|
|
51
51
|
ApplicationSummaryResponse: () => ApplicationSummaryResponse,
|
|
52
|
+
ApplyReviewActionParams: () => ApplyReviewActionParams,
|
|
53
|
+
AssignPool: () => AssignPool,
|
|
54
|
+
AssignPoolParams: () => AssignPoolParams,
|
|
52
55
|
AttachDocument: () => AttachDocument,
|
|
53
56
|
AttachDocumentParams: () => AttachDocumentParams,
|
|
54
57
|
AuthzCodeCallbackParams: () => AuthzCodeCallbackParams,
|
|
@@ -80,6 +83,8 @@ __export(validate_exports, {
|
|
|
80
83
|
CreateOauthClientSecretParams: () => CreateOauthClientSecretParams,
|
|
81
84
|
CreateOperationApplicationTransitionDeclineParams: () => CreateOperationApplicationTransitionDeclineParams,
|
|
82
85
|
CreateOperationApplicationTransitionDeferParams: () => CreateOperationApplicationTransitionDeferParams,
|
|
86
|
+
CreatePool: () => CreatePool,
|
|
87
|
+
CreatePoolParams: () => CreatePoolParams,
|
|
83
88
|
CreateReview: () => CreateReview,
|
|
84
89
|
CreateReviewAssignments: () => CreateReviewAssignments,
|
|
85
90
|
CreateReviewAssignmentsResponse: () => CreateReviewAssignmentsResponse,
|
|
@@ -147,11 +152,14 @@ __export(validate_exports, {
|
|
|
147
152
|
ListOauthClientsParams: () => ListOauthClientsParams,
|
|
148
153
|
ListOperationTasksParams: () => ListOperationTasksParams,
|
|
149
154
|
ListOperationsParams: () => ListOperationsParams,
|
|
155
|
+
ListPoolsParams: () => ListPoolsParams,
|
|
150
156
|
ListReviewSummariesParams: () => ListReviewSummariesParams,
|
|
151
157
|
ListReviewersParams: () => ListReviewersParams,
|
|
152
158
|
ListReviewsParams: () => ListReviewsParams,
|
|
153
159
|
ListRolesParams: () => ListRolesParams,
|
|
154
160
|
Listing: () => Listing,
|
|
161
|
+
ListingPool: () => ListingPool,
|
|
162
|
+
ListingPoolAssociation: () => ListingPoolAssociation,
|
|
155
163
|
MagicLink: () => MagicLink,
|
|
156
164
|
MagicLinkExchangeParams: () => MagicLinkExchangeParams,
|
|
157
165
|
MagicLinkExchangeRequest: () => MagicLinkExchangeRequest,
|
|
@@ -184,6 +192,8 @@ __export(validate_exports, {
|
|
|
184
192
|
Operation_for_TurnstilePermission_and_TransitionApplicationToDeferredBatchEndpoint: () => Operation_for_TurnstilePermission_and_TransitionApplicationToDeferredBatchEndpoint,
|
|
185
193
|
OptionalTransitionBody: () => OptionalTransitionBody,
|
|
186
194
|
Permissions_for_TurnstilePermission: () => Permissions_for_TurnstilePermission,
|
|
195
|
+
Pool: () => Pool,
|
|
196
|
+
PoolAction: () => PoolAction,
|
|
187
197
|
RecipientId: () => RecipientId,
|
|
188
198
|
RegisterApplicant: () => RegisterApplicant,
|
|
189
199
|
RegisterApplicantParams: () => RegisterApplicantParams,
|
|
@@ -205,6 +215,7 @@ __export(validate_exports, {
|
|
|
205
215
|
ScalarApplicationState: () => ScalarApplicationState,
|
|
206
216
|
SecretString: () => SecretString,
|
|
207
217
|
SetApiUserContactEmailParams: () => SetApiUserContactEmailParams,
|
|
218
|
+
SimulateReviewActionParams: () => SimulateReviewActionParams,
|
|
208
219
|
SubmitApplicationParams: () => SubmitApplicationParams,
|
|
209
220
|
TransitionApplicationToDeclinedBatch: () => TransitionApplicationToDeclinedBatch,
|
|
210
221
|
TransitionApplicationToDeclinedBatchEndpoint: () => TransitionApplicationToDeclinedBatchEndpoint,
|
|
@@ -234,6 +245,7 @@ __export(validate_exports, {
|
|
|
234
245
|
TypedUuidForInterviewId: () => TypedUuidForInterviewId,
|
|
235
246
|
TypedUuidForInterviewerId: () => TypedUuidForInterviewerId,
|
|
236
247
|
TypedUuidForListingId: () => TypedUuidForListingId,
|
|
248
|
+
TypedUuidForListingPoolId: () => TypedUuidForListingPoolId,
|
|
237
249
|
TypedUuidForMagicLinkAttemptId: () => TypedUuidForMagicLinkAttemptId,
|
|
238
250
|
TypedUuidForMagicLinkId: () => TypedUuidForMagicLinkId,
|
|
239
251
|
TypedUuidForMagicLinkRedirectUriId: () => TypedUuidForMagicLinkRedirectUriId,
|
|
@@ -246,12 +258,14 @@ __export(validate_exports, {
|
|
|
246
258
|
TypedUuidForOnboardingId: () => TypedUuidForOnboardingId,
|
|
247
259
|
TypedUuidForOperationId: () => TypedUuidForOperationId,
|
|
248
260
|
TypedUuidForOperationTaskId: () => TypedUuidForOperationTaskId,
|
|
261
|
+
TypedUuidForPoolId: () => TypedUuidForPoolId,
|
|
249
262
|
TypedUuidForReviewAssignmentId: () => TypedUuidForReviewAssignmentId,
|
|
250
263
|
TypedUuidForReviewId: () => TypedUuidForReviewId,
|
|
251
264
|
TypedUuidForReviewerId: () => TypedUuidForReviewerId,
|
|
252
265
|
TypedUuidForRoleId: () => TypedUuidForRoleId,
|
|
253
266
|
TypedUuidForUserId: () => TypedUuidForUserId,
|
|
254
267
|
TypedUuidForUserProviderId: () => TypedUuidForUserProviderId,
|
|
268
|
+
UnassignPoolParams: () => UnassignPoolParams,
|
|
255
269
|
UpdateApiUserParams: () => UpdateApiUserParams,
|
|
256
270
|
UpdateApplicantContact: () => UpdateApplicantContact,
|
|
257
271
|
UpdateApplicantContactParams: () => UpdateApplicantContactParams,
|
|
@@ -263,6 +277,7 @@ __export(validate_exports, {
|
|
|
263
277
|
UpdateListing: () => UpdateListing,
|
|
264
278
|
UpdateListingParams: () => UpdateListingParams,
|
|
265
279
|
UpdateListingStateParams: () => UpdateListingStateParams,
|
|
280
|
+
UpdatePoolParams: () => UpdatePoolParams,
|
|
266
281
|
UpdateReview: () => UpdateReview,
|
|
267
282
|
UpdateReviewParams: () => UpdateReviewParams,
|
|
268
283
|
ViewApplicantParams: () => ViewApplicantParams,
|
|
@@ -274,6 +289,7 @@ __export(validate_exports, {
|
|
|
274
289
|
ViewDocumentDataParams: () => ViewDocumentDataParams,
|
|
275
290
|
ViewDocumentParams: () => ViewDocumentParams,
|
|
276
291
|
ViewListingParams: () => ViewListingParams,
|
|
292
|
+
ViewPoolParams: () => ViewPoolParams,
|
|
277
293
|
ViewReviewParams: () => ViewReviewParams,
|
|
278
294
|
ViewRoleParams: () => ViewRoleParams
|
|
279
295
|
});
|
|
@@ -333,6 +349,7 @@ var DocumentParent = import_zod.z.preprocess(
|
|
|
333
349
|
var TypedUuidForDepartmentId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
334
350
|
var TypedUuidForRoleId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
335
351
|
var TypedUuidForListingId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
352
|
+
var TypedUuidForPoolId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
336
353
|
var TypedUuidForReviewerId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
337
354
|
var TypedUuidForReviewId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
338
355
|
var TypedUuidForInterviewerId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
@@ -386,6 +403,10 @@ var TurnstilePermission = import_zod.z.preprocess(
|
|
|
386
403
|
"GetListingsAll",
|
|
387
404
|
"CreateListing",
|
|
388
405
|
"ManageListingsAll",
|
|
406
|
+
"GetPoolsAssigned",
|
|
407
|
+
"GetPoolsAll",
|
|
408
|
+
"CreatePool",
|
|
409
|
+
"ManagePoolsAll",
|
|
389
410
|
"GetReviewersAssigned",
|
|
390
411
|
"GetReviewersAll",
|
|
391
412
|
"GetReviewerSelf",
|
|
@@ -496,6 +517,8 @@ var TurnstilePermission = import_zod.z.preprocess(
|
|
|
496
517
|
import_zod.z.object({ "GetRoles": TypedUuidForRoleId.array().refine(...uniqueItems) }),
|
|
497
518
|
import_zod.z.object({ "GetListing": TypedUuidForListingId }),
|
|
498
519
|
import_zod.z.object({ "GetListings": TypedUuidForListingId.array().refine(...uniqueItems) }),
|
|
520
|
+
import_zod.z.object({ "GetPool": TypedUuidForPoolId }),
|
|
521
|
+
import_zod.z.object({ "GetPools": TypedUuidForPoolId.array().refine(...uniqueItems) }),
|
|
499
522
|
import_zod.z.object({ "GetReviewer": TypedUuidForReviewerId }),
|
|
500
523
|
import_zod.z.object({ "GetReviewers": TypedUuidForReviewerId.array().refine(...uniqueItems) }),
|
|
501
524
|
import_zod.z.object({ "CreateReviewer": TypedUuidForUserId }),
|
|
@@ -780,6 +803,18 @@ var ApplicationStateRecord = import_zod.z.preprocess(
|
|
|
780
803
|
"updatedAt": import_zod.z.coerce.date()
|
|
781
804
|
})
|
|
782
805
|
);
|
|
806
|
+
var ListingPoolAssociation = import_zod.z.preprocess(processResponseBody, import_zod.z.enum(["first", "early_positive", "positive"]));
|
|
807
|
+
var PoolAction = import_zod.z.preprocess(
|
|
808
|
+
processResponseBody,
|
|
809
|
+
import_zod.z.union([
|
|
810
|
+
import_zod.z.object({
|
|
811
|
+
"action": import_zod.z.enum(["add"]),
|
|
812
|
+
"association": ListingPoolAssociation,
|
|
813
|
+
"count": import_zod.z.number().min(0).max(4294967295)
|
|
814
|
+
}),
|
|
815
|
+
import_zod.z.object({ "action": import_zod.z.enum(["triage"]) })
|
|
816
|
+
])
|
|
817
|
+
);
|
|
783
818
|
var ReviewScore = import_zod.z.preprocess(
|
|
784
819
|
processResponseBody,
|
|
785
820
|
import_zod.z.enum(["emphatic_yes", "yes", "pass", "no", "emphatic_no", "incomplete"])
|
|
@@ -797,6 +832,7 @@ var Reviews = import_zod.z.preprocess(
|
|
|
797
832
|
var ExpandedApplicationSummary = import_zod.z.preprocess(
|
|
798
833
|
processResponseBody,
|
|
799
834
|
import_zod.z.object({
|
|
835
|
+
"action": PoolAction,
|
|
800
836
|
"applicant": ApplicantInfo,
|
|
801
837
|
"application": Application,
|
|
802
838
|
"documents": Document.array(),
|
|
@@ -821,6 +857,10 @@ var ApplicationSummaryResponse = import_zod.z.preprocess(
|
|
|
821
857
|
processResponseBody,
|
|
822
858
|
import_zod.z.object({ "summary": ExpandedApplicationSummary, "users": Evaluator.array() })
|
|
823
859
|
);
|
|
860
|
+
var AssignPool = import_zod.z.preprocess(
|
|
861
|
+
processResponseBody,
|
|
862
|
+
import_zod.z.object({ "association": ListingPoolAssociation, "listing": TypedUuidForListingId })
|
|
863
|
+
);
|
|
824
864
|
var AttachDocument = import_zod.z.preprocess(
|
|
825
865
|
processResponseBody,
|
|
826
866
|
import_zod.z.object({ "externalId": import_zod.z.string(), "mime": import_zod.z.string().optional() })
|
|
@@ -887,6 +927,14 @@ var CreateMapper = import_zod.z.preprocess(
|
|
|
887
927
|
"rule": import_zod.z.record(import_zod.z.unknown())
|
|
888
928
|
})
|
|
889
929
|
);
|
|
930
|
+
var CreatePool = import_zod.z.preprocess(
|
|
931
|
+
processResponseBody,
|
|
932
|
+
import_zod.z.object({
|
|
933
|
+
"description": import_zod.z.string().optional(),
|
|
934
|
+
"name": import_zod.z.string(),
|
|
935
|
+
"reviwers": TypedUuidForReviewerId.array().optional()
|
|
936
|
+
})
|
|
937
|
+
);
|
|
890
938
|
var CreateReview = import_zod.z.preprocess(
|
|
891
939
|
processResponseBody,
|
|
892
940
|
import_zod.z.object({
|
|
@@ -921,45 +969,7 @@ var ReviewAssignment = import_zod.z.preprocess(
|
|
|
921
969
|
"updatedAt": import_zod.z.coerce.date()
|
|
922
970
|
})
|
|
923
971
|
);
|
|
924
|
-
var
|
|
925
|
-
var NotificationMedium = import_zod.z.preprocess(processResponseBody, import_zod.z.enum(["Email"]));
|
|
926
|
-
var RenderedEmail = import_zod.z.preprocess(
|
|
927
|
-
processResponseBody,
|
|
928
|
-
import_zod.z.object({
|
|
929
|
-
"from": import_zod.z.string(),
|
|
930
|
-
"html": import_zod.z.string().optional(),
|
|
931
|
-
"name": import_zod.z.string(),
|
|
932
|
-
"subject": import_zod.z.string(),
|
|
933
|
-
"text": import_zod.z.string()
|
|
934
|
-
})
|
|
935
|
-
);
|
|
936
|
-
var RecipientId = import_zod.z.preprocess(
|
|
937
|
-
processResponseBody,
|
|
938
|
-
import_zod.z.union([
|
|
939
|
-
import_zod.z.object({ "Applicant": TypedUuidForApplicantId }),
|
|
940
|
-
import_zod.z.object({ "Custom": import_zod.z.string() }),
|
|
941
|
-
import_zod.z.object({ "Reviewer": TypedUuidForReviewerId })
|
|
942
|
-
])
|
|
943
|
-
);
|
|
944
|
-
var NotificationStatus = import_zod.z.preprocess(processResponseBody, import_zod.z.enum(["Failed", "Pending", "Scheduled", "Sent"]));
|
|
945
|
-
var Notification_for_RenderedEmail = import_zod.z.preprocess(
|
|
946
|
-
processResponseBody,
|
|
947
|
-
import_zod.z.object({
|
|
948
|
-
"createdAt": import_zod.z.coerce.date(),
|
|
949
|
-
"deletedAt": import_zod.z.coerce.date().optional(),
|
|
950
|
-
"id": TypedUuidForNotificationId,
|
|
951
|
-
"kind": import_zod.z.string(),
|
|
952
|
-
"medium": NotificationMedium,
|
|
953
|
-
"message": RenderedEmail.optional(),
|
|
954
|
-
"recipient": RecipientId,
|
|
955
|
-
"status": NotificationStatus,
|
|
956
|
-
"updatedAt": import_zod.z.coerce.date()
|
|
957
|
-
})
|
|
958
|
-
);
|
|
959
|
-
var CreatedAssignment = import_zod.z.preprocess(
|
|
960
|
-
processResponseBody,
|
|
961
|
-
import_zod.z.object({ "assignment": ReviewAssignment, "notification": Notification_for_RenderedEmail })
|
|
962
|
-
);
|
|
972
|
+
var CreatedAssignment = import_zod.z.preprocess(processResponseBody, import_zod.z.object({ "assignment": ReviewAssignment }));
|
|
963
973
|
var CreateReviewAssignmentsResponse = import_zod.z.preprocess(
|
|
964
974
|
processResponseBody,
|
|
965
975
|
import_zod.z.object({
|
|
@@ -1074,6 +1084,19 @@ var Listing = import_zod.z.preprocess(
|
|
|
1074
1084
|
"updatedAt": import_zod.z.coerce.date()
|
|
1075
1085
|
})
|
|
1076
1086
|
);
|
|
1087
|
+
var TypedUuidForListingPoolId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
1088
|
+
var ListingPool = import_zod.z.preprocess(
|
|
1089
|
+
processResponseBody,
|
|
1090
|
+
import_zod.z.object({
|
|
1091
|
+
"association": ListingPoolAssociation,
|
|
1092
|
+
"createdAt": import_zod.z.coerce.date(),
|
|
1093
|
+
"deletedAt": import_zod.z.coerce.date().optional(),
|
|
1094
|
+
"id": TypedUuidForListingPoolId,
|
|
1095
|
+
"listingId": TypedUuidForListingId,
|
|
1096
|
+
"poolId": TypedUuidForPoolId,
|
|
1097
|
+
"updatedAt": import_zod.z.coerce.date()
|
|
1098
|
+
})
|
|
1099
|
+
);
|
|
1077
1100
|
var TypedUuidForMagicLinkRedirectUriId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
1078
1101
|
var MagicLinkRedirectUri = import_zod.z.preprocess(
|
|
1079
1102
|
processResponseBody,
|
|
@@ -1144,11 +1167,46 @@ var Mapper = import_zod.z.preprocess(
|
|
|
1144
1167
|
"updatedAt": import_zod.z.coerce.date()
|
|
1145
1168
|
})
|
|
1146
1169
|
);
|
|
1170
|
+
var NotificationMedium = import_zod.z.preprocess(processResponseBody, import_zod.z.enum(["Email"]));
|
|
1171
|
+
var NotificationStatus = import_zod.z.preprocess(processResponseBody, import_zod.z.enum(["Failed", "Pending", "Scheduled", "Sent"]));
|
|
1172
|
+
var TypedUuidForNotificationId = import_zod.z.preprocess(processResponseBody, import_zod.z.string().uuid());
|
|
1173
|
+
var RenderedEmail = import_zod.z.preprocess(
|
|
1174
|
+
processResponseBody,
|
|
1175
|
+
import_zod.z.object({
|
|
1176
|
+
"from": import_zod.z.string(),
|
|
1177
|
+
"html": import_zod.z.string().optional(),
|
|
1178
|
+
"name": import_zod.z.string(),
|
|
1179
|
+
"subject": import_zod.z.string(),
|
|
1180
|
+
"text": import_zod.z.string()
|
|
1181
|
+
})
|
|
1182
|
+
);
|
|
1183
|
+
var RecipientId = import_zod.z.preprocess(
|
|
1184
|
+
processResponseBody,
|
|
1185
|
+
import_zod.z.union([
|
|
1186
|
+
import_zod.z.object({ "Applicant": TypedUuidForApplicantId }),
|
|
1187
|
+
import_zod.z.object({ "Custom": import_zod.z.string() }),
|
|
1188
|
+
import_zod.z.object({ "Reviewer": TypedUuidForReviewerId })
|
|
1189
|
+
])
|
|
1190
|
+
);
|
|
1191
|
+
var Notification_for_RenderedEmail = import_zod.z.preprocess(
|
|
1192
|
+
processResponseBody,
|
|
1193
|
+
import_zod.z.object({
|
|
1194
|
+
"createdAt": import_zod.z.coerce.date(),
|
|
1195
|
+
"deletedAt": import_zod.z.coerce.date().optional(),
|
|
1196
|
+
"id": TypedUuidForNotificationId,
|
|
1197
|
+
"kind": import_zod.z.string(),
|
|
1198
|
+
"medium": NotificationMedium,
|
|
1199
|
+
"message": RenderedEmail.optional(),
|
|
1200
|
+
"recipient": RecipientId,
|
|
1201
|
+
"status": NotificationStatus,
|
|
1202
|
+
"updatedAt": import_zod.z.coerce.date()
|
|
1203
|
+
})
|
|
1204
|
+
);
|
|
1147
1205
|
var OAuthAuthzCodeExchangeBody = import_zod.z.preprocess(
|
|
1148
1206
|
processResponseBody,
|
|
1149
1207
|
import_zod.z.object({
|
|
1150
|
-
"clientId": TypedUuidForOAuthClientId,
|
|
1151
|
-
"clientSecret": SecretString,
|
|
1208
|
+
"clientId": TypedUuidForOAuthClientId.optional(),
|
|
1209
|
+
"clientSecret": SecretString.optional(),
|
|
1152
1210
|
"code": import_zod.z.string(),
|
|
1153
1211
|
"grantType": import_zod.z.string(),
|
|
1154
1212
|
"pkceVerifier": import_zod.z.string().optional(),
|
|
@@ -1260,6 +1318,19 @@ var Operation_for_TurnstilePermission_and_TransitionApplicationToDeferredBatchEn
|
|
|
1260
1318
|
})
|
|
1261
1319
|
);
|
|
1262
1320
|
var OptionalTransitionBody = import_zod.z.preprocess(processResponseBody, import_zod.z.object({ "message": EmailConfig.optional() }));
|
|
1321
|
+
var Pool = import_zod.z.preprocess(
|
|
1322
|
+
processResponseBody,
|
|
1323
|
+
import_zod.z.object({
|
|
1324
|
+
"createdAt": import_zod.z.coerce.date(),
|
|
1325
|
+
"deletedAt": import_zod.z.coerce.date().optional(),
|
|
1326
|
+
"description": import_zod.z.string().optional(),
|
|
1327
|
+
"id": TypedUuidForPoolId,
|
|
1328
|
+
"listings": ListingPool.array(),
|
|
1329
|
+
"name": import_zod.z.string(),
|
|
1330
|
+
"reviewers": TypedUuidForReviewerId.array(),
|
|
1331
|
+
"updatedAt": import_zod.z.coerce.date()
|
|
1332
|
+
})
|
|
1333
|
+
);
|
|
1263
1334
|
var RegisterApplicant = import_zod.z.preprocess(processResponseBody, import_zod.z.object({ "email": import_zod.z.string() }));
|
|
1264
1335
|
var Review = import_zod.z.preprocess(
|
|
1265
1336
|
processResponseBody,
|
|
@@ -1535,6 +1606,15 @@ var ViewApplicationParams = import_zod.z.preprocess(
|
|
|
1535
1606
|
query: import_zod.z.object({})
|
|
1536
1607
|
})
|
|
1537
1608
|
);
|
|
1609
|
+
var ApplyReviewActionParams = import_zod.z.preprocess(
|
|
1610
|
+
processResponseBody,
|
|
1611
|
+
import_zod.z.object({
|
|
1612
|
+
path: import_zod.z.object({
|
|
1613
|
+
application: TypedUuidForApplicationId
|
|
1614
|
+
}),
|
|
1615
|
+
query: import_zod.z.object({})
|
|
1616
|
+
})
|
|
1617
|
+
);
|
|
1538
1618
|
var ListApplicationReviewAssignmentsParams = import_zod.z.preprocess(
|
|
1539
1619
|
processResponseBody,
|
|
1540
1620
|
import_zod.z.object({
|
|
@@ -1593,6 +1673,15 @@ var GetApplicationInterviewCodeParams = import_zod.z.preprocess(
|
|
|
1593
1673
|
query: import_zod.z.object({})
|
|
1594
1674
|
})
|
|
1595
1675
|
);
|
|
1676
|
+
var SimulateReviewActionParams = import_zod.z.preprocess(
|
|
1677
|
+
processResponseBody,
|
|
1678
|
+
import_zod.z.object({
|
|
1679
|
+
path: import_zod.z.object({
|
|
1680
|
+
application: TypedUuidForApplicationId
|
|
1681
|
+
}),
|
|
1682
|
+
query: import_zod.z.object({})
|
|
1683
|
+
})
|
|
1684
|
+
);
|
|
1596
1685
|
var SubmitApplicationParams = import_zod.z.preprocess(
|
|
1597
1686
|
processResponseBody,
|
|
1598
1687
|
import_zod.z.object({
|
|
@@ -2143,6 +2232,56 @@ var DeleteOauthClientSecretParams = import_zod.z.preprocess(
|
|
|
2143
2232
|
query: import_zod.z.object({})
|
|
2144
2233
|
})
|
|
2145
2234
|
);
|
|
2235
|
+
var ListPoolsParams = import_zod.z.preprocess(
|
|
2236
|
+
processResponseBody,
|
|
2237
|
+
import_zod.z.object({
|
|
2238
|
+
path: import_zod.z.object({}),
|
|
2239
|
+
query: import_zod.z.object({})
|
|
2240
|
+
})
|
|
2241
|
+
);
|
|
2242
|
+
var CreatePoolParams = import_zod.z.preprocess(
|
|
2243
|
+
processResponseBody,
|
|
2244
|
+
import_zod.z.object({
|
|
2245
|
+
path: import_zod.z.object({}),
|
|
2246
|
+
query: import_zod.z.object({})
|
|
2247
|
+
})
|
|
2248
|
+
);
|
|
2249
|
+
var ViewPoolParams = import_zod.z.preprocess(
|
|
2250
|
+
processResponseBody,
|
|
2251
|
+
import_zod.z.object({
|
|
2252
|
+
path: import_zod.z.object({
|
|
2253
|
+
pool: TypedUuidForPoolId
|
|
2254
|
+
}),
|
|
2255
|
+
query: import_zod.z.object({})
|
|
2256
|
+
})
|
|
2257
|
+
);
|
|
2258
|
+
var UpdatePoolParams = import_zod.z.preprocess(
|
|
2259
|
+
processResponseBody,
|
|
2260
|
+
import_zod.z.object({
|
|
2261
|
+
path: import_zod.z.object({
|
|
2262
|
+
pool: TypedUuidForPoolId
|
|
2263
|
+
}),
|
|
2264
|
+
query: import_zod.z.object({})
|
|
2265
|
+
})
|
|
2266
|
+
);
|
|
2267
|
+
var AssignPoolParams = import_zod.z.preprocess(
|
|
2268
|
+
processResponseBody,
|
|
2269
|
+
import_zod.z.object({
|
|
2270
|
+
path: import_zod.z.object({
|
|
2271
|
+
pool: TypedUuidForPoolId
|
|
2272
|
+
}),
|
|
2273
|
+
query: import_zod.z.object({})
|
|
2274
|
+
})
|
|
2275
|
+
);
|
|
2276
|
+
var UnassignPoolParams = import_zod.z.preprocess(
|
|
2277
|
+
processResponseBody,
|
|
2278
|
+
import_zod.z.object({
|
|
2279
|
+
path: import_zod.z.object({
|
|
2280
|
+
assignment: TypedUuidForListingPoolId
|
|
2281
|
+
}),
|
|
2282
|
+
query: import_zod.z.object({})
|
|
2283
|
+
})
|
|
2284
|
+
);
|
|
2146
2285
|
var ListReviewsParams = import_zod.z.preprocess(
|
|
2147
2286
|
processResponseBody,
|
|
2148
2287
|
import_zod.z.object({
|
|
@@ -2271,6 +2410,9 @@ var GetSelfParams = import_zod.z.preprocess(
|
|
|
2271
2410
|
ApplicationStateRecord,
|
|
2272
2411
|
ApplicationSummariesResponse,
|
|
2273
2412
|
ApplicationSummaryResponse,
|
|
2413
|
+
ApplyReviewActionParams,
|
|
2414
|
+
AssignPool,
|
|
2415
|
+
AssignPoolParams,
|
|
2274
2416
|
AttachDocument,
|
|
2275
2417
|
AttachDocumentParams,
|
|
2276
2418
|
AuthzCodeCallbackParams,
|
|
@@ -2302,6 +2444,8 @@ var GetSelfParams = import_zod.z.preprocess(
|
|
|
2302
2444
|
CreateOauthClientSecretParams,
|
|
2303
2445
|
CreateOperationApplicationTransitionDeclineParams,
|
|
2304
2446
|
CreateOperationApplicationTransitionDeferParams,
|
|
2447
|
+
CreatePool,
|
|
2448
|
+
CreatePoolParams,
|
|
2305
2449
|
CreateReview,
|
|
2306
2450
|
CreateReviewAssignments,
|
|
2307
2451
|
CreateReviewAssignmentsResponse,
|
|
@@ -2369,11 +2513,14 @@ var GetSelfParams = import_zod.z.preprocess(
|
|
|
2369
2513
|
ListOauthClientsParams,
|
|
2370
2514
|
ListOperationTasksParams,
|
|
2371
2515
|
ListOperationsParams,
|
|
2516
|
+
ListPoolsParams,
|
|
2372
2517
|
ListReviewSummariesParams,
|
|
2373
2518
|
ListReviewersParams,
|
|
2374
2519
|
ListReviewsParams,
|
|
2375
2520
|
ListRolesParams,
|
|
2376
2521
|
Listing,
|
|
2522
|
+
ListingPool,
|
|
2523
|
+
ListingPoolAssociation,
|
|
2377
2524
|
MagicLink,
|
|
2378
2525
|
MagicLinkExchangeParams,
|
|
2379
2526
|
MagicLinkExchangeRequest,
|
|
@@ -2406,6 +2553,8 @@ var GetSelfParams = import_zod.z.preprocess(
|
|
|
2406
2553
|
Operation_for_TurnstilePermission_and_TransitionApplicationToDeferredBatchEndpoint,
|
|
2407
2554
|
OptionalTransitionBody,
|
|
2408
2555
|
Permissions_for_TurnstilePermission,
|
|
2556
|
+
Pool,
|
|
2557
|
+
PoolAction,
|
|
2409
2558
|
RecipientId,
|
|
2410
2559
|
RegisterApplicant,
|
|
2411
2560
|
RegisterApplicantParams,
|
|
@@ -2427,6 +2576,7 @@ var GetSelfParams = import_zod.z.preprocess(
|
|
|
2427
2576
|
ScalarApplicationState,
|
|
2428
2577
|
SecretString,
|
|
2429
2578
|
SetApiUserContactEmailParams,
|
|
2579
|
+
SimulateReviewActionParams,
|
|
2430
2580
|
SubmitApplicationParams,
|
|
2431
2581
|
TransitionApplicationToDeclinedBatch,
|
|
2432
2582
|
TransitionApplicationToDeclinedBatchEndpoint,
|
|
@@ -2456,6 +2606,7 @@ var GetSelfParams = import_zod.z.preprocess(
|
|
|
2456
2606
|
TypedUuidForInterviewId,
|
|
2457
2607
|
TypedUuidForInterviewerId,
|
|
2458
2608
|
TypedUuidForListingId,
|
|
2609
|
+
TypedUuidForListingPoolId,
|
|
2459
2610
|
TypedUuidForMagicLinkAttemptId,
|
|
2460
2611
|
TypedUuidForMagicLinkId,
|
|
2461
2612
|
TypedUuidForMagicLinkRedirectUriId,
|
|
@@ -2468,12 +2619,14 @@ var GetSelfParams = import_zod.z.preprocess(
|
|
|
2468
2619
|
TypedUuidForOnboardingId,
|
|
2469
2620
|
TypedUuidForOperationId,
|
|
2470
2621
|
TypedUuidForOperationTaskId,
|
|
2622
|
+
TypedUuidForPoolId,
|
|
2471
2623
|
TypedUuidForReviewAssignmentId,
|
|
2472
2624
|
TypedUuidForReviewId,
|
|
2473
2625
|
TypedUuidForReviewerId,
|
|
2474
2626
|
TypedUuidForRoleId,
|
|
2475
2627
|
TypedUuidForUserId,
|
|
2476
2628
|
TypedUuidForUserProviderId,
|
|
2629
|
+
UnassignPoolParams,
|
|
2477
2630
|
UpdateApiUserParams,
|
|
2478
2631
|
UpdateApplicantContact,
|
|
2479
2632
|
UpdateApplicantContactParams,
|
|
@@ -2485,6 +2638,7 @@ var GetSelfParams = import_zod.z.preprocess(
|
|
|
2485
2638
|
UpdateListing,
|
|
2486
2639
|
UpdateListingParams,
|
|
2487
2640
|
UpdateListingStateParams,
|
|
2641
|
+
UpdatePoolParams,
|
|
2488
2642
|
UpdateReview,
|
|
2489
2643
|
UpdateReviewParams,
|
|
2490
2644
|
ViewApplicantParams,
|
|
@@ -2496,6 +2650,7 @@ var GetSelfParams = import_zod.z.preprocess(
|
|
|
2496
2650
|
ViewDocumentDataParams,
|
|
2497
2651
|
ViewDocumentParams,
|
|
2498
2652
|
ViewListingParams,
|
|
2653
|
+
ViewPoolParams,
|
|
2499
2654
|
ViewReviewParams,
|
|
2500
2655
|
ViewRoleParams
|
|
2501
2656
|
});
|