placementt-core 1.400.988 → 1.400.990

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,355 @@ import { z } from "zod";
11
11
  * equals the sum of the group key counts.
12
12
  */
13
13
  export declare const allCallables: {
14
+ "surveys-createSurveyCycle": {
15
+ request: z.ZodObject<{
16
+ oId: z.ZodString;
17
+ kind: z.ZodEnum<[string, ...string[]]>;
18
+ yearGroups: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19
+ scheduledSendDate: z.ZodString;
20
+ academicYear: z.ZodOptional<z.ZodString>;
21
+ closeAfterDays: z.ZodOptional<z.ZodNumber>;
22
+ emailTemplateId: z.ZodOptional<z.ZodString>;
23
+ students: z.ZodOptional<z.ZodString>;
24
+ title: z.ZodOptional<z.ZodString>;
25
+ description: z.ZodOptional<z.ZodString>;
26
+ raters: z.ZodOptional<z.ZodObject<{
27
+ students: z.ZodOptional<z.ZodBoolean>;
28
+ parents: z.ZodOptional<z.ZodBoolean>;
29
+ employers: z.ZodOptional<z.ZodBoolean>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ students?: boolean | undefined;
32
+ parents?: boolean | undefined;
33
+ employers?: boolean | undefined;
34
+ }, {
35
+ students?: boolean | undefined;
36
+ parents?: boolean | undefined;
37
+ employers?: boolean | undefined;
38
+ }>>;
39
+ groupId: z.ZodOptional<z.ZodString>;
40
+ threadKey: z.ZodOptional<z.ZodString>;
41
+ autoSend: z.ZodOptional<z.ZodBoolean>;
42
+ draft: z.ZodOptional<z.ZodBoolean>;
43
+ resolveRecipientsAtSend: z.ZodOptional<z.ZodBoolean>;
44
+ kindConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ oId: string;
47
+ kind: string;
48
+ scheduledSendDate: string;
49
+ title?: string | undefined;
50
+ description?: string | undefined;
51
+ yearGroups?: number[] | undefined;
52
+ students?: string | undefined;
53
+ draft?: boolean | undefined;
54
+ academicYear?: string | undefined;
55
+ closeAfterDays?: number | undefined;
56
+ emailTemplateId?: string | undefined;
57
+ raters?: {
58
+ students?: boolean | undefined;
59
+ parents?: boolean | undefined;
60
+ employers?: boolean | undefined;
61
+ } | undefined;
62
+ groupId?: string | undefined;
63
+ threadKey?: string | undefined;
64
+ autoSend?: boolean | undefined;
65
+ resolveRecipientsAtSend?: boolean | undefined;
66
+ kindConfig?: Record<string, unknown> | undefined;
67
+ }, {
68
+ oId: string;
69
+ kind: string;
70
+ scheduledSendDate: string;
71
+ title?: string | undefined;
72
+ description?: string | undefined;
73
+ yearGroups?: number[] | undefined;
74
+ students?: string | undefined;
75
+ draft?: boolean | undefined;
76
+ academicYear?: string | undefined;
77
+ closeAfterDays?: number | undefined;
78
+ emailTemplateId?: string | undefined;
79
+ raters?: {
80
+ students?: boolean | undefined;
81
+ parents?: boolean | undefined;
82
+ employers?: boolean | undefined;
83
+ } | undefined;
84
+ groupId?: string | undefined;
85
+ threadKey?: string | undefined;
86
+ autoSend?: boolean | undefined;
87
+ resolveRecipientsAtSend?: boolean | undefined;
88
+ kindConfig?: Record<string, unknown> | undefined;
89
+ }>;
90
+ response: z.ZodObject<{
91
+ created: z.ZodArray<z.ZodObject<{
92
+ cycleId: z.ZodString;
93
+ yearGroup: z.ZodOptional<z.ZodNumber>;
94
+ invited: z.ZodNumber;
95
+ }, "strip", z.ZodTypeAny, {
96
+ invited: number;
97
+ cycleId: string;
98
+ yearGroup?: number | undefined;
99
+ }, {
100
+ invited: number;
101
+ cycleId: string;
102
+ yearGroup?: number | undefined;
103
+ }>, "many">;
104
+ skippedEmpty: z.ZodArray<z.ZodNumber, "many">;
105
+ skippedNoEmail: z.ZodNumber;
106
+ academicYear: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ created: {
109
+ invited: number;
110
+ cycleId: string;
111
+ yearGroup?: number | undefined;
112
+ }[];
113
+ academicYear: string;
114
+ skippedEmpty: number[];
115
+ skippedNoEmail: number;
116
+ }, {
117
+ created: {
118
+ invited: number;
119
+ cycleId: string;
120
+ yearGroup?: number | undefined;
121
+ }[];
122
+ academicYear: string;
123
+ skippedEmpty: number[];
124
+ skippedNoEmail: number;
125
+ }>;
126
+ };
127
+ "surveys-setSurveyCycleRecipients": {
128
+ request: z.ZodObject<{
129
+ cycleId: z.ZodString;
130
+ students: z.ZodString;
131
+ scheduledSendDate: z.ZodOptional<z.ZodString>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ students: string;
134
+ cycleId: string;
135
+ scheduledSendDate?: string | undefined;
136
+ }, {
137
+ students: string;
138
+ cycleId: string;
139
+ scheduledSendDate?: string | undefined;
140
+ }>;
141
+ response: z.ZodObject<{
142
+ cycleId: z.ZodString;
143
+ yearGroup: z.ZodOptional<z.ZodNumber>;
144
+ invited: z.ZodNumber;
145
+ skippedNoEmail: z.ZodOptional<z.ZodNumber>;
146
+ alreadyScheduled: z.ZodOptional<z.ZodBoolean>;
147
+ }, "strip", z.ZodTypeAny, {
148
+ invited: number;
149
+ cycleId: string;
150
+ yearGroup?: number | undefined;
151
+ skippedNoEmail?: number | undefined;
152
+ alreadyScheduled?: boolean | undefined;
153
+ }, {
154
+ invited: number;
155
+ cycleId: string;
156
+ yearGroup?: number | undefined;
157
+ skippedNoEmail?: number | undefined;
158
+ alreadyScheduled?: boolean | undefined;
159
+ }>;
160
+ };
161
+ "surveys-sendSurveyCycleNow": {
162
+ request: z.ZodObject<{
163
+ cycleId: z.ZodString;
164
+ }, "strip", z.ZodTypeAny, {
165
+ cycleId: string;
166
+ }, {
167
+ cycleId: string;
168
+ }>;
169
+ response: z.ZodObject<{
170
+ sent: z.ZodNumber;
171
+ }, "strip", z.ZodTypeAny, {
172
+ sent: number;
173
+ }, {
174
+ sent: number;
175
+ }>;
176
+ };
177
+ "surveys-sendSurveyReminders": {
178
+ request: z.ZodObject<{
179
+ cycleId: z.ZodString;
180
+ }, "strip", z.ZodTypeAny, {
181
+ cycleId: string;
182
+ }, {
183
+ cycleId: string;
184
+ }>;
185
+ response: z.ZodObject<{
186
+ sent: z.ZodNumber;
187
+ }, "strip", z.ZodTypeAny, {
188
+ sent: number;
189
+ }, {
190
+ sent: number;
191
+ }>;
192
+ };
193
+ "surveys-setSurveyAutoSend": {
194
+ request: z.ZodObject<{
195
+ cycleId: z.ZodString;
196
+ autoSend: z.ZodBoolean;
197
+ }, "strip", z.ZodTypeAny, {
198
+ cycleId: string;
199
+ autoSend: boolean;
200
+ }, {
201
+ cycleId: string;
202
+ autoSend: boolean;
203
+ }>;
204
+ response: z.ZodObject<{
205
+ cycleId: z.ZodString;
206
+ autoSend: z.ZodBoolean;
207
+ }, "strip", z.ZodTypeAny, {
208
+ cycleId: string;
209
+ autoSend: boolean;
210
+ }, {
211
+ cycleId: string;
212
+ autoSend: boolean;
213
+ }>;
214
+ };
215
+ "surveys-updateSurveyCycleSettings": {
216
+ request: z.ZodObject<{
217
+ cycleId: z.ZodString;
218
+ scheduledSendDate: z.ZodOptional<z.ZodString>;
219
+ emailTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ title: z.ZodOptional<z.ZodString>;
221
+ description: z.ZodOptional<z.ZodString>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ cycleId: string;
224
+ title?: string | undefined;
225
+ description?: string | undefined;
226
+ scheduledSendDate?: string | undefined;
227
+ emailTemplateId?: string | null | undefined;
228
+ }, {
229
+ cycleId: string;
230
+ title?: string | undefined;
231
+ description?: string | undefined;
232
+ scheduledSendDate?: string | undefined;
233
+ emailTemplateId?: string | null | undefined;
234
+ }>;
235
+ response: z.ZodObject<{
236
+ cycleId: z.ZodString;
237
+ updated: z.ZodBoolean;
238
+ }, "strip", z.ZodTypeAny, {
239
+ cycleId: string;
240
+ updated: boolean;
241
+ }, {
242
+ cycleId: string;
243
+ updated: boolean;
244
+ }>;
245
+ };
246
+ "surveys-resendSurveyInvite": {
247
+ request: z.ZodObject<{
248
+ requestId: z.ZodString;
249
+ newEmail: z.ZodOptional<z.ZodString>;
250
+ audience: z.ZodOptional<z.ZodEnum<["student", "parent"]>>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ requestId: string;
253
+ newEmail?: string | undefined;
254
+ audience?: "parent" | "student" | undefined;
255
+ }, {
256
+ requestId: string;
257
+ newEmail?: string | undefined;
258
+ audience?: "parent" | "student" | undefined;
259
+ }>;
260
+ response: z.ZodObject<{
261
+ success: z.ZodBoolean;
262
+ userEmailMismatch: z.ZodBoolean;
263
+ }, "strip", z.ZodTypeAny, {
264
+ success: boolean;
265
+ userEmailMismatch: boolean;
266
+ }, {
267
+ success: boolean;
268
+ userEmailMismatch: boolean;
269
+ }>;
270
+ };
271
+ "surveys-sendAlumniCheckInNow": {
272
+ request: z.ZodObject<{
273
+ alumniId: z.ZodString;
274
+ }, "strip", z.ZodTypeAny, {
275
+ alumniId: string;
276
+ }, {
277
+ alumniId: string;
278
+ }>;
279
+ response: z.ZodObject<{
280
+ sent: z.ZodBoolean;
281
+ }, "strip", z.ZodTypeAny, {
282
+ sent: boolean;
283
+ }, {
284
+ sent: boolean;
285
+ }>;
286
+ };
287
+ "surveys-deleteSurveyCycle": {
288
+ request: z.ZodObject<{
289
+ cycleId: z.ZodString;
290
+ jobId: z.ZodOptional<z.ZodString>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ cycleId: string;
293
+ jobId?: string | undefined;
294
+ }, {
295
+ cycleId: string;
296
+ jobId?: string | undefined;
297
+ }>;
298
+ response: z.ZodObject<{
299
+ deleted: z.ZodNumber;
300
+ }, "strip", z.ZodTypeAny, {
301
+ deleted: number;
302
+ }, {
303
+ deleted: number;
304
+ }>;
305
+ };
306
+ "surveys-getMySurveyRequest": {
307
+ request: z.ZodObject<{
308
+ requestId: z.ZodString;
309
+ }, "strip", z.ZodTypeAny, {
310
+ requestId: string;
311
+ }, {
312
+ requestId: string;
313
+ }>;
314
+ response: z.ZodAny;
315
+ };
316
+ "surveys-getPublicSurveyRequest": {
317
+ request: z.ZodObject<{
318
+ requestId: z.ZodString;
319
+ token: z.ZodString;
320
+ role: z.ZodOptional<z.ZodEnum<["student", "parent"]>>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ requestId: string;
323
+ token: string;
324
+ role?: "parent" | "student" | undefined;
325
+ }, {
326
+ requestId: string;
327
+ token: string;
328
+ role?: "parent" | "student" | undefined;
329
+ }>;
330
+ response: z.ZodAny;
331
+ };
332
+ "surveys-submitSurveyResponse": {
333
+ request: z.ZodObject<{
334
+ requestId: z.ZodString;
335
+ response: z.ZodOptional<z.ZodUnknown>;
336
+ submittedBy: z.ZodOptional<z.ZodEnum<["student", "parent", "employer", "staff", "trustedContact"]>>;
337
+ token: z.ZodOptional<z.ZodString>;
338
+ rater: z.ZodOptional<z.ZodEnum<["students", "parents", "employers", "trustedContact"]>>;
339
+ noChange: z.ZodOptional<z.ZodBoolean>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ requestId: string;
342
+ response?: unknown;
343
+ token?: string | undefined;
344
+ submittedBy?: "parent" | "trustedContact" | "student" | "employer" | "staff" | undefined;
345
+ rater?: "students" | "parents" | "employers" | "trustedContact" | undefined;
346
+ noChange?: boolean | undefined;
347
+ }, {
348
+ requestId: string;
349
+ response?: unknown;
350
+ token?: string | undefined;
351
+ submittedBy?: "parent" | "trustedContact" | "student" | "employer" | "staff" | undefined;
352
+ rater?: "students" | "parents" | "employers" | "trustedContact" | undefined;
353
+ noChange?: boolean | undefined;
354
+ }>;
355
+ response: z.ZodObject<{
356
+ success: z.ZodBoolean;
357
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
358
+ success: z.ZodBoolean;
359
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
360
+ success: z.ZodBoolean;
361
+ }, z.ZodTypeAny, "passthrough">>;
362
+ };
14
363
  "events-searchSchool": {
15
364
  request: z.ZodObject<{
16
365
  oId: z.ZodString;
@@ -201,4 +550,355 @@ export declare const callableGroups: {
201
550
  }>, "many">;
202
551
  };
203
552
  };
553
+ surveyCallables: {
554
+ "surveys-createSurveyCycle": {
555
+ request: z.ZodObject<{
556
+ oId: z.ZodString;
557
+ kind: z.ZodEnum<[string, ...string[]]>;
558
+ yearGroups: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
559
+ scheduledSendDate: z.ZodString;
560
+ academicYear: z.ZodOptional<z.ZodString>;
561
+ closeAfterDays: z.ZodOptional<z.ZodNumber>;
562
+ emailTemplateId: z.ZodOptional<z.ZodString>;
563
+ students: z.ZodOptional<z.ZodString>;
564
+ title: z.ZodOptional<z.ZodString>;
565
+ description: z.ZodOptional<z.ZodString>;
566
+ raters: z.ZodOptional<z.ZodObject<{
567
+ students: z.ZodOptional<z.ZodBoolean>;
568
+ parents: z.ZodOptional<z.ZodBoolean>;
569
+ employers: z.ZodOptional<z.ZodBoolean>;
570
+ }, "strip", z.ZodTypeAny, {
571
+ students?: boolean | undefined;
572
+ parents?: boolean | undefined;
573
+ employers?: boolean | undefined;
574
+ }, {
575
+ students?: boolean | undefined;
576
+ parents?: boolean | undefined;
577
+ employers?: boolean | undefined;
578
+ }>>;
579
+ groupId: z.ZodOptional<z.ZodString>;
580
+ threadKey: z.ZodOptional<z.ZodString>;
581
+ autoSend: z.ZodOptional<z.ZodBoolean>;
582
+ draft: z.ZodOptional<z.ZodBoolean>;
583
+ resolveRecipientsAtSend: z.ZodOptional<z.ZodBoolean>;
584
+ kindConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
585
+ }, "strip", z.ZodTypeAny, {
586
+ oId: string;
587
+ kind: string;
588
+ scheduledSendDate: string;
589
+ title?: string | undefined;
590
+ description?: string | undefined;
591
+ yearGroups?: number[] | undefined;
592
+ students?: string | undefined;
593
+ draft?: boolean | undefined;
594
+ academicYear?: string | undefined;
595
+ closeAfterDays?: number | undefined;
596
+ emailTemplateId?: string | undefined;
597
+ raters?: {
598
+ students?: boolean | undefined;
599
+ parents?: boolean | undefined;
600
+ employers?: boolean | undefined;
601
+ } | undefined;
602
+ groupId?: string | undefined;
603
+ threadKey?: string | undefined;
604
+ autoSend?: boolean | undefined;
605
+ resolveRecipientsAtSend?: boolean | undefined;
606
+ kindConfig?: Record<string, unknown> | undefined;
607
+ }, {
608
+ oId: string;
609
+ kind: string;
610
+ scheduledSendDate: string;
611
+ title?: string | undefined;
612
+ description?: string | undefined;
613
+ yearGroups?: number[] | undefined;
614
+ students?: string | undefined;
615
+ draft?: boolean | undefined;
616
+ academicYear?: string | undefined;
617
+ closeAfterDays?: number | undefined;
618
+ emailTemplateId?: string | undefined;
619
+ raters?: {
620
+ students?: boolean | undefined;
621
+ parents?: boolean | undefined;
622
+ employers?: boolean | undefined;
623
+ } | undefined;
624
+ groupId?: string | undefined;
625
+ threadKey?: string | undefined;
626
+ autoSend?: boolean | undefined;
627
+ resolveRecipientsAtSend?: boolean | undefined;
628
+ kindConfig?: Record<string, unknown> | undefined;
629
+ }>;
630
+ response: z.ZodObject<{
631
+ created: z.ZodArray<z.ZodObject<{
632
+ cycleId: z.ZodString;
633
+ yearGroup: z.ZodOptional<z.ZodNumber>;
634
+ invited: z.ZodNumber;
635
+ }, "strip", z.ZodTypeAny, {
636
+ invited: number;
637
+ cycleId: string;
638
+ yearGroup?: number | undefined;
639
+ }, {
640
+ invited: number;
641
+ cycleId: string;
642
+ yearGroup?: number | undefined;
643
+ }>, "many">;
644
+ skippedEmpty: z.ZodArray<z.ZodNumber, "many">;
645
+ skippedNoEmail: z.ZodNumber;
646
+ academicYear: z.ZodString;
647
+ }, "strip", z.ZodTypeAny, {
648
+ created: {
649
+ invited: number;
650
+ cycleId: string;
651
+ yearGroup?: number | undefined;
652
+ }[];
653
+ academicYear: string;
654
+ skippedEmpty: number[];
655
+ skippedNoEmail: number;
656
+ }, {
657
+ created: {
658
+ invited: number;
659
+ cycleId: string;
660
+ yearGroup?: number | undefined;
661
+ }[];
662
+ academicYear: string;
663
+ skippedEmpty: number[];
664
+ skippedNoEmail: number;
665
+ }>;
666
+ };
667
+ "surveys-setSurveyCycleRecipients": {
668
+ request: z.ZodObject<{
669
+ cycleId: z.ZodString;
670
+ students: z.ZodString;
671
+ scheduledSendDate: z.ZodOptional<z.ZodString>;
672
+ }, "strip", z.ZodTypeAny, {
673
+ students: string;
674
+ cycleId: string;
675
+ scheduledSendDate?: string | undefined;
676
+ }, {
677
+ students: string;
678
+ cycleId: string;
679
+ scheduledSendDate?: string | undefined;
680
+ }>;
681
+ response: z.ZodObject<{
682
+ cycleId: z.ZodString;
683
+ yearGroup: z.ZodOptional<z.ZodNumber>;
684
+ invited: z.ZodNumber;
685
+ skippedNoEmail: z.ZodOptional<z.ZodNumber>;
686
+ alreadyScheduled: z.ZodOptional<z.ZodBoolean>;
687
+ }, "strip", z.ZodTypeAny, {
688
+ invited: number;
689
+ cycleId: string;
690
+ yearGroup?: number | undefined;
691
+ skippedNoEmail?: number | undefined;
692
+ alreadyScheduled?: boolean | undefined;
693
+ }, {
694
+ invited: number;
695
+ cycleId: string;
696
+ yearGroup?: number | undefined;
697
+ skippedNoEmail?: number | undefined;
698
+ alreadyScheduled?: boolean | undefined;
699
+ }>;
700
+ };
701
+ "surveys-sendSurveyCycleNow": {
702
+ request: z.ZodObject<{
703
+ cycleId: z.ZodString;
704
+ }, "strip", z.ZodTypeAny, {
705
+ cycleId: string;
706
+ }, {
707
+ cycleId: string;
708
+ }>;
709
+ response: z.ZodObject<{
710
+ sent: z.ZodNumber;
711
+ }, "strip", z.ZodTypeAny, {
712
+ sent: number;
713
+ }, {
714
+ sent: number;
715
+ }>;
716
+ };
717
+ "surveys-sendSurveyReminders": {
718
+ request: z.ZodObject<{
719
+ cycleId: z.ZodString;
720
+ }, "strip", z.ZodTypeAny, {
721
+ cycleId: string;
722
+ }, {
723
+ cycleId: string;
724
+ }>;
725
+ response: z.ZodObject<{
726
+ sent: z.ZodNumber;
727
+ }, "strip", z.ZodTypeAny, {
728
+ sent: number;
729
+ }, {
730
+ sent: number;
731
+ }>;
732
+ };
733
+ "surveys-setSurveyAutoSend": {
734
+ request: z.ZodObject<{
735
+ cycleId: z.ZodString;
736
+ autoSend: z.ZodBoolean;
737
+ }, "strip", z.ZodTypeAny, {
738
+ cycleId: string;
739
+ autoSend: boolean;
740
+ }, {
741
+ cycleId: string;
742
+ autoSend: boolean;
743
+ }>;
744
+ response: z.ZodObject<{
745
+ cycleId: z.ZodString;
746
+ autoSend: z.ZodBoolean;
747
+ }, "strip", z.ZodTypeAny, {
748
+ cycleId: string;
749
+ autoSend: boolean;
750
+ }, {
751
+ cycleId: string;
752
+ autoSend: boolean;
753
+ }>;
754
+ };
755
+ "surveys-updateSurveyCycleSettings": {
756
+ request: z.ZodObject<{
757
+ cycleId: z.ZodString;
758
+ scheduledSendDate: z.ZodOptional<z.ZodString>;
759
+ emailTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
760
+ title: z.ZodOptional<z.ZodString>;
761
+ description: z.ZodOptional<z.ZodString>;
762
+ }, "strip", z.ZodTypeAny, {
763
+ cycleId: string;
764
+ title?: string | undefined;
765
+ description?: string | undefined;
766
+ scheduledSendDate?: string | undefined;
767
+ emailTemplateId?: string | null | undefined;
768
+ }, {
769
+ cycleId: string;
770
+ title?: string | undefined;
771
+ description?: string | undefined;
772
+ scheduledSendDate?: string | undefined;
773
+ emailTemplateId?: string | null | undefined;
774
+ }>;
775
+ response: z.ZodObject<{
776
+ cycleId: z.ZodString;
777
+ updated: z.ZodBoolean;
778
+ }, "strip", z.ZodTypeAny, {
779
+ cycleId: string;
780
+ updated: boolean;
781
+ }, {
782
+ cycleId: string;
783
+ updated: boolean;
784
+ }>;
785
+ };
786
+ "surveys-resendSurveyInvite": {
787
+ request: z.ZodObject<{
788
+ requestId: z.ZodString;
789
+ newEmail: z.ZodOptional<z.ZodString>;
790
+ audience: z.ZodOptional<z.ZodEnum<["student", "parent"]>>;
791
+ }, "strip", z.ZodTypeAny, {
792
+ requestId: string;
793
+ newEmail?: string | undefined;
794
+ audience?: "parent" | "student" | undefined;
795
+ }, {
796
+ requestId: string;
797
+ newEmail?: string | undefined;
798
+ audience?: "parent" | "student" | undefined;
799
+ }>;
800
+ response: z.ZodObject<{
801
+ success: z.ZodBoolean;
802
+ userEmailMismatch: z.ZodBoolean;
803
+ }, "strip", z.ZodTypeAny, {
804
+ success: boolean;
805
+ userEmailMismatch: boolean;
806
+ }, {
807
+ success: boolean;
808
+ userEmailMismatch: boolean;
809
+ }>;
810
+ };
811
+ "surveys-sendAlumniCheckInNow": {
812
+ request: z.ZodObject<{
813
+ alumniId: z.ZodString;
814
+ }, "strip", z.ZodTypeAny, {
815
+ alumniId: string;
816
+ }, {
817
+ alumniId: string;
818
+ }>;
819
+ response: z.ZodObject<{
820
+ sent: z.ZodBoolean;
821
+ }, "strip", z.ZodTypeAny, {
822
+ sent: boolean;
823
+ }, {
824
+ sent: boolean;
825
+ }>;
826
+ };
827
+ "surveys-deleteSurveyCycle": {
828
+ request: z.ZodObject<{
829
+ cycleId: z.ZodString;
830
+ jobId: z.ZodOptional<z.ZodString>;
831
+ }, "strip", z.ZodTypeAny, {
832
+ cycleId: string;
833
+ jobId?: string | undefined;
834
+ }, {
835
+ cycleId: string;
836
+ jobId?: string | undefined;
837
+ }>;
838
+ response: z.ZodObject<{
839
+ deleted: z.ZodNumber;
840
+ }, "strip", z.ZodTypeAny, {
841
+ deleted: number;
842
+ }, {
843
+ deleted: number;
844
+ }>;
845
+ };
846
+ "surveys-getMySurveyRequest": {
847
+ request: z.ZodObject<{
848
+ requestId: z.ZodString;
849
+ }, "strip", z.ZodTypeAny, {
850
+ requestId: string;
851
+ }, {
852
+ requestId: string;
853
+ }>;
854
+ response: z.ZodAny;
855
+ };
856
+ "surveys-getPublicSurveyRequest": {
857
+ request: z.ZodObject<{
858
+ requestId: z.ZodString;
859
+ token: z.ZodString;
860
+ role: z.ZodOptional<z.ZodEnum<["student", "parent"]>>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ requestId: string;
863
+ token: string;
864
+ role?: "parent" | "student" | undefined;
865
+ }, {
866
+ requestId: string;
867
+ token: string;
868
+ role?: "parent" | "student" | undefined;
869
+ }>;
870
+ response: z.ZodAny;
871
+ };
872
+ "surveys-submitSurveyResponse": {
873
+ request: z.ZodObject<{
874
+ requestId: z.ZodString;
875
+ response: z.ZodOptional<z.ZodUnknown>;
876
+ submittedBy: z.ZodOptional<z.ZodEnum<["student", "parent", "employer", "staff", "trustedContact"]>>;
877
+ token: z.ZodOptional<z.ZodString>;
878
+ rater: z.ZodOptional<z.ZodEnum<["students", "parents", "employers", "trustedContact"]>>;
879
+ noChange: z.ZodOptional<z.ZodBoolean>;
880
+ }, "strip", z.ZodTypeAny, {
881
+ requestId: string;
882
+ response?: unknown;
883
+ token?: string | undefined;
884
+ submittedBy?: "parent" | "trustedContact" | "student" | "employer" | "staff" | undefined;
885
+ rater?: "students" | "parents" | "employers" | "trustedContact" | undefined;
886
+ noChange?: boolean | undefined;
887
+ }, {
888
+ requestId: string;
889
+ response?: unknown;
890
+ token?: string | undefined;
891
+ submittedBy?: "parent" | "trustedContact" | "student" | "employer" | "staff" | undefined;
892
+ rater?: "students" | "parents" | "employers" | "trustedContact" | undefined;
893
+ noChange?: boolean | undefined;
894
+ }>;
895
+ response: z.ZodObject<{
896
+ success: z.ZodBoolean;
897
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
898
+ success: z.ZodBoolean;
899
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
900
+ success: z.ZodBoolean;
901
+ }, z.ZodTypeAny, "passthrough">>;
902
+ };
903
+ };
204
904
  };