placementt-core 1.400.1124 → 1.400.1126

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,13 +1,4 @@
1
1
  import { z } from "zod";
2
- /**
3
- * Contracts for the end-to-end and UX-audit harness
4
- * (`Placementt-Backend/functions/src/e2e.ts`).
5
- *
6
- * `redeemSignInLink` is public: the token is the credential. Links are only
7
- * ever minted by the harness (service account, straight into Firestore) and
8
- * only ever sign in a reserved `e2e.*@careerthread.co.uk` user, so the UX audit
9
- * can walk a registered school without anyone typing a password.
10
- */
11
2
  export declare const e2eCallables: {
12
3
  "e2e-redeemSignInLink": {
13
4
  request: z.ZodObject<{
@@ -30,4 +21,154 @@ export declare const e2eCallables: {
30
21
  authToken?: string | undefined;
31
22
  }>;
32
23
  };
24
+ /**
25
+ * Admin only. Tears down one institute whose billing email is a reserved
26
+ * E2E address. Each step reports true (cleared), false (nothing to do) or
27
+ * the error message.
28
+ */
29
+ "e2e-deleteE2EAccount": {
30
+ request: z.ZodObject<{
31
+ oId: z.ZodString;
32
+ }, "strip", z.ZodTypeAny, {
33
+ oId: string;
34
+ }, {
35
+ oId: string;
36
+ }>;
37
+ response: z.ZodObject<{
38
+ deleted: z.ZodLiteral<true>;
39
+ oId: z.ZodString;
40
+ email: z.ZodString;
41
+ steps: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ deleted: true;
44
+ email: string;
45
+ oId: string;
46
+ steps: Record<string, string | boolean>;
47
+ }, {
48
+ deleted: true;
49
+ email: string;
50
+ oId: string;
51
+ steps: Record<string, string | boolean>;
52
+ }>;
53
+ };
54
+ /**
55
+ * Admin only. Tears down a whole run: every institute billed to
56
+ * `e2e.<runId>@` or `e2e.<runId>-*@`, their careers invites and hub links,
57
+ * the run's employers, provider accounts, event requests (and PDFs),
58
+ * attendees, Auth users and Brevo contacts. Institute steps are reported
59
+ * as `<oId>/<step>`.
60
+ */
61
+ "e2e-deleteE2ERun": {
62
+ request: z.ZodObject<{
63
+ runId: z.ZodString;
64
+ }, "strip", z.ZodTypeAny, {
65
+ runId: string;
66
+ }, {
67
+ runId: string;
68
+ }>;
69
+ response: z.ZodObject<{
70
+ deleted: z.ZodLiteral<true>;
71
+ runId: z.ZodString;
72
+ institutes: z.ZodArray<z.ZodObject<{
73
+ oId: z.ZodString;
74
+ email: z.ZodString;
75
+ }, "strip", z.ZodTypeAny, {
76
+ email: string;
77
+ oId: string;
78
+ }, {
79
+ email: string;
80
+ oId: string;
81
+ }>, "many">;
82
+ providerContactIds: z.ZodArray<z.ZodString, "many">;
83
+ steps: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ deleted: true;
86
+ institutes: {
87
+ email: string;
88
+ oId: string;
89
+ }[];
90
+ runId: string;
91
+ steps: Record<string, string | boolean>;
92
+ providerContactIds: string[];
93
+ }, {
94
+ deleted: true;
95
+ institutes: {
96
+ email: string;
97
+ oId: string;
98
+ }[];
99
+ runId: string;
100
+ steps: Record<string, string | boolean>;
101
+ providerContactIds: string[];
102
+ }>;
103
+ };
104
+ /**
105
+ * Admin only. Seeds an active careers hub for a run
106
+ * (`e2e.<runId>-hub@careerthread.co.uk`) with North and South groups and
107
+ * six employers, five approved and one awaiting review.
108
+ */
109
+ "e2e-seedCareersHub": {
110
+ request: z.ZodObject<{
111
+ runId: z.ZodString;
112
+ /** Defaults to the harness password, `E2e!<runId>Aa1`. */
113
+ password: z.ZodOptional<z.ZodString>;
114
+ /** A public externalActivities id. Defaults to the first public employer activity. */
115
+ activityId: z.ZodOptional<z.ZodString>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ runId: string;
118
+ password?: string | undefined;
119
+ activityId?: string | undefined;
120
+ }, {
121
+ runId: string;
122
+ password?: string | undefined;
123
+ activityId?: string | undefined;
124
+ }>;
125
+ response: z.ZodObject<{
126
+ hubOId: z.ZodString;
127
+ adminUid: z.ZodString;
128
+ adminEmail: z.ZodString;
129
+ groupIds: z.ZodArray<z.ZodString, "many">;
130
+ providerContactIds: z.ZodArray<z.ZodString, "many">;
131
+ activityId: z.ZodString;
132
+ }, "strip", z.ZodTypeAny, {
133
+ providerContactIds: string[];
134
+ activityId: string;
135
+ hubOId: string;
136
+ adminUid: string;
137
+ adminEmail: string;
138
+ groupIds: string[];
139
+ }, {
140
+ providerContactIds: string[];
141
+ activityId: string;
142
+ hubOId: string;
143
+ adminUid: string;
144
+ adminEmail: string;
145
+ groupIds: string[];
146
+ }>;
147
+ };
148
+ /**
149
+ * Admin only. Sends one event's post-event feedback requests now, instead
150
+ * of waiting for the daily cron. The event's institute must be an E2E account.
151
+ */
152
+ "e2e-runEventFeedback": {
153
+ request: z.ZodObject<{
154
+ eventId: z.ZodString;
155
+ }, "strip", z.ZodTypeAny, {
156
+ eventId: string;
157
+ }, {
158
+ eventId: string;
159
+ }>;
160
+ response: z.ZodObject<{
161
+ eventId: z.ZodString;
162
+ oId: z.ZodString;
163
+ sent: z.ZodLiteral<true>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ oId: string;
166
+ sent: true;
167
+ eventId: string;
168
+ }, {
169
+ oId: string;
170
+ sent: true;
171
+ eventId: string;
172
+ }>;
173
+ };
33
174
  };
@@ -11,6 +11,10 @@ const zod_1 = require("zod");
11
11
  * only ever sign in a reserved `e2e.*@careerthread.co.uk` user, so the UX audit
12
12
  * can walk a registered school without anyone typing a password.
13
13
  */
14
+ /** A run id as the harness derives it from E2E_RUN_ID. */
15
+ const e2eRunId = zod_1.z.string().min(1).max(100).regex(/^[a-z0-9-]+$/);
16
+ /** Per-step teardown outcome: true cleared, false nothing to do, string the error. */
17
+ const teardownSteps = zod_1.z.record(zod_1.z.string(), zod_1.z.union([zod_1.z.boolean(), zod_1.z.string()]));
14
18
  exports.e2eCallables = {
15
19
  "e2e-redeemSignInLink": {
16
20
  request: zod_1.z.object({
@@ -23,5 +27,70 @@ exports.e2eCallables = {
23
27
  authToken: zod_1.z.string().optional(),
24
28
  }),
25
29
  },
30
+ /**
31
+ * Admin only. Tears down one institute whose billing email is a reserved
32
+ * E2E address. Each step reports true (cleared), false (nothing to do) or
33
+ * the error message.
34
+ */
35
+ "e2e-deleteE2EAccount": {
36
+ request: zod_1.z.object({ oId: zod_1.z.string().min(1) }),
37
+ response: zod_1.z.object({
38
+ deleted: zod_1.z.literal(true),
39
+ oId: zod_1.z.string(),
40
+ email: zod_1.z.string(),
41
+ steps: teardownSteps,
42
+ }),
43
+ },
44
+ /**
45
+ * Admin only. Tears down a whole run: every institute billed to
46
+ * `e2e.<runId>@` or `e2e.<runId>-*@`, their careers invites and hub links,
47
+ * the run's employers, provider accounts, event requests (and PDFs),
48
+ * attendees, Auth users and Brevo contacts. Institute steps are reported
49
+ * as `<oId>/<step>`.
50
+ */
51
+ "e2e-deleteE2ERun": {
52
+ request: zod_1.z.object({ runId: e2eRunId }),
53
+ response: zod_1.z.object({
54
+ deleted: zod_1.z.literal(true),
55
+ runId: zod_1.z.string(),
56
+ institutes: zod_1.z.array(zod_1.z.object({ oId: zod_1.z.string(), email: zod_1.z.string() })),
57
+ providerContactIds: zod_1.z.array(zod_1.z.string()),
58
+ steps: teardownSteps,
59
+ }),
60
+ },
61
+ /**
62
+ * Admin only. Seeds an active careers hub for a run
63
+ * (`e2e.<runId>-hub@careerthread.co.uk`) with North and South groups and
64
+ * six employers, five approved and one awaiting review.
65
+ */
66
+ "e2e-seedCareersHub": {
67
+ request: zod_1.z.object({
68
+ runId: e2eRunId,
69
+ /** Defaults to the harness password, `E2e!<runId>Aa1`. */
70
+ password: zod_1.z.string().min(8).max(128).optional(),
71
+ /** A public externalActivities id. Defaults to the first public employer activity. */
72
+ activityId: zod_1.z.string().regex(/^[A-Za-z0-9_-]{1,128}$/).optional(),
73
+ }),
74
+ response: zod_1.z.object({
75
+ hubOId: zod_1.z.string(),
76
+ adminUid: zod_1.z.string(),
77
+ adminEmail: zod_1.z.string(),
78
+ groupIds: zod_1.z.array(zod_1.z.string()),
79
+ providerContactIds: zod_1.z.array(zod_1.z.string()),
80
+ activityId: zod_1.z.string(),
81
+ }),
82
+ },
83
+ /**
84
+ * Admin only. Sends one event's post-event feedback requests now, instead
85
+ * of waiting for the daily cron. The event's institute must be an E2E account.
86
+ */
87
+ "e2e-runEventFeedback": {
88
+ request: zod_1.z.object({ eventId: zod_1.z.string().regex(/^[A-Za-z0-9_-]{1,128}$/) }),
89
+ response: zod_1.z.object({
90
+ eventId: zod_1.z.string(),
91
+ oId: zod_1.z.string(),
92
+ sent: zod_1.z.literal(true),
93
+ }),
94
+ },
26
95
  };
27
96
  //# sourceMappingURL=e2e.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"e2e.js","sourceRoot":"","sources":["../../src/callables/e2e.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAGtB;;;;;;;;GAQG;AACU,QAAA,YAAY,GAAG;IACxB,sBAAsB,EAAE;QACpB,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YACd,6EAA6E;YAC7E,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;SAC/D,CAAC;QACF,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;YAC3C,iFAAiF;YACjF,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACnC,CAAC;KACL;CACoB,CAAC"}
1
+ {"version":3,"file":"e2e.js","sourceRoot":"","sources":["../../src/callables/e2e.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAGtB;;;;;;;;GAQG;AACH,0DAA0D;AAC1D,MAAM,QAAQ,GAAG,OAAC,CAAC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,EAAE;QACpB,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,EAAC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC,EAAC,CAAC;QACxE,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;YACf,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;YACnB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;YACf,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC;SACxB,CAAC;KACL;CACoB,CAAC"}
@@ -44,4 +44,26 @@ export declare const eventsCallables: {
44
44
  geohash?: string | undefined;
45
45
  }>, "many">;
46
46
  };
47
+ "events-employerDeclineEvent": {
48
+ request: z.ZodObject<{
49
+ oId: z.ZodString;
50
+ eventId: z.ZodString;
51
+ attendeeId: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ oId: string;
54
+ eventId: string;
55
+ attendeeId: string;
56
+ }, {
57
+ oId: string;
58
+ eventId: string;
59
+ attendeeId: string;
60
+ }>;
61
+ response: z.ZodObject<{
62
+ code: z.ZodEnum<["declined", "notFound"]>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ code: "declined" | "notFound";
65
+ }, {
66
+ code: "declined" | "notFound";
67
+ }>;
68
+ };
47
69
  };
@@ -24,5 +24,17 @@ exports.eventsCallables = {
24
24
  country: zod_1.z.string().optional(),
25
25
  })),
26
26
  },
27
+ // Public: the invited attendee id in the email link is the credential,
28
+ // as for events-employerJoinEvent. Only an "invited" attendee can decline.
29
+ "events-employerDeclineEvent": {
30
+ request: zod_1.z.object({
31
+ oId: zod_1.z.string().min(1),
32
+ eventId: zod_1.z.string().min(1),
33
+ attendeeId: zod_1.z.string().min(1),
34
+ }),
35
+ response: zod_1.z.object({
36
+ code: zod_1.z.enum(["declined", "notFound"]),
37
+ }),
38
+ },
27
39
  };
28
40
  //# sourceMappingURL=events.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/callables/events.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAGtB;;;GAGG;AACU,QAAA,eAAe,GAAG;IAC3B,qBAAqB,EAAE;QACnB,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YACd,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;YACf,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;SACpB,CAAC;QACF,qEAAqE;QACrE,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC;YACvB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;YACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC3B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC9B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YACtC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YACtC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAClC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC/B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACjC,CAAC,CAAC;KACN;CACoB,CAAC"}
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/callables/events.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAGtB;;;GAGG;AACU,QAAA,eAAe,GAAG;IAC3B,qBAAqB,EAAE;QACnB,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YACd,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;YACf,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;SACpB,CAAC;QACF,qEAAqE;QACrE,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC;YACvB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;YACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC3B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC9B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YACtC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YACtC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAClC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC/B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACjC,CAAC,CAAC;KACN;IACD,uEAAuE;IACvE,2EAA2E;IAC3E,6BAA6B,EAAE;QAC3B,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YACd,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;YACtB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;YAC1B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;SAChC,CAAC;QACF,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;SACzC,CAAC;KACL;CACoB,CAAC"}
@@ -231,6 +231,133 @@ export declare const allCallables: {
231
231
  authToken?: string | undefined;
232
232
  }>;
233
233
  };
234
+ "e2e-deleteE2EAccount": {
235
+ request: z.ZodObject<{
236
+ oId: z.ZodString;
237
+ }, "strip", z.ZodTypeAny, {
238
+ oId: string;
239
+ }, {
240
+ oId: string;
241
+ }>;
242
+ response: z.ZodObject<{
243
+ deleted: z.ZodLiteral<true>;
244
+ oId: z.ZodString;
245
+ email: z.ZodString;
246
+ steps: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ deleted: true;
249
+ email: string;
250
+ oId: string;
251
+ steps: Record<string, string | boolean>;
252
+ }, {
253
+ deleted: true;
254
+ email: string;
255
+ oId: string;
256
+ steps: Record<string, string | boolean>;
257
+ }>;
258
+ };
259
+ "e2e-deleteE2ERun": {
260
+ request: z.ZodObject<{
261
+ runId: z.ZodString;
262
+ }, "strip", z.ZodTypeAny, {
263
+ runId: string;
264
+ }, {
265
+ runId: string;
266
+ }>;
267
+ response: z.ZodObject<{
268
+ deleted: z.ZodLiteral<true>;
269
+ runId: z.ZodString;
270
+ institutes: z.ZodArray<z.ZodObject<{
271
+ oId: z.ZodString;
272
+ email: z.ZodString;
273
+ }, "strip", z.ZodTypeAny, {
274
+ email: string;
275
+ oId: string;
276
+ }, {
277
+ email: string;
278
+ oId: string;
279
+ }>, "many">;
280
+ providerContactIds: z.ZodArray<z.ZodString, "many">;
281
+ steps: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ deleted: true;
284
+ institutes: {
285
+ email: string;
286
+ oId: string;
287
+ }[];
288
+ runId: string;
289
+ steps: Record<string, string | boolean>;
290
+ providerContactIds: string[];
291
+ }, {
292
+ deleted: true;
293
+ institutes: {
294
+ email: string;
295
+ oId: string;
296
+ }[];
297
+ runId: string;
298
+ steps: Record<string, string | boolean>;
299
+ providerContactIds: string[];
300
+ }>;
301
+ };
302
+ "e2e-seedCareersHub": {
303
+ request: z.ZodObject<{
304
+ runId: z.ZodString;
305
+ password: z.ZodOptional<z.ZodString>;
306
+ activityId: z.ZodOptional<z.ZodString>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ runId: string;
309
+ password?: string | undefined;
310
+ activityId?: string | undefined;
311
+ }, {
312
+ runId: string;
313
+ password?: string | undefined;
314
+ activityId?: string | undefined;
315
+ }>;
316
+ response: z.ZodObject<{
317
+ hubOId: z.ZodString;
318
+ adminUid: z.ZodString;
319
+ adminEmail: z.ZodString;
320
+ groupIds: z.ZodArray<z.ZodString, "many">;
321
+ providerContactIds: z.ZodArray<z.ZodString, "many">;
322
+ activityId: z.ZodString;
323
+ }, "strip", z.ZodTypeAny, {
324
+ providerContactIds: string[];
325
+ activityId: string;
326
+ hubOId: string;
327
+ adminUid: string;
328
+ adminEmail: string;
329
+ groupIds: string[];
330
+ }, {
331
+ providerContactIds: string[];
332
+ activityId: string;
333
+ hubOId: string;
334
+ adminUid: string;
335
+ adminEmail: string;
336
+ groupIds: string[];
337
+ }>;
338
+ };
339
+ "e2e-runEventFeedback": {
340
+ request: z.ZodObject<{
341
+ eventId: z.ZodString;
342
+ }, "strip", z.ZodTypeAny, {
343
+ eventId: string;
344
+ }, {
345
+ eventId: string;
346
+ }>;
347
+ response: z.ZodObject<{
348
+ eventId: z.ZodString;
349
+ oId: z.ZodString;
350
+ sent: z.ZodLiteral<true>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ oId: string;
353
+ sent: true;
354
+ eventId: string;
355
+ }, {
356
+ oId: string;
357
+ sent: true;
358
+ eventId: string;
359
+ }>;
360
+ };
234
361
  "hubImpactReport-createHubImpactReport": {
235
362
  request: z.ZodObject<{
236
363
  oId: z.ZodOptional<z.ZodString>;
@@ -1416,6 +1543,28 @@ export declare const allCallables: {
1416
1543
  geohash?: string | undefined;
1417
1544
  }>, "many">;
1418
1545
  };
1546
+ "events-employerDeclineEvent": {
1547
+ request: z.ZodObject<{
1548
+ oId: z.ZodString;
1549
+ eventId: z.ZodString;
1550
+ attendeeId: z.ZodString;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ oId: string;
1553
+ eventId: string;
1554
+ attendeeId: string;
1555
+ }, {
1556
+ oId: string;
1557
+ eventId: string;
1558
+ attendeeId: string;
1559
+ }>;
1560
+ response: z.ZodObject<{
1561
+ code: z.ZodEnum<["declined", "notFound"]>;
1562
+ }, "strip", z.ZodTypeAny, {
1563
+ code: "declined" | "notFound";
1564
+ }, {
1565
+ code: "declined" | "notFound";
1566
+ }>;
1567
+ };
1419
1568
  "placement-propose": {
1420
1569
  request: z.ZodObject<{
1421
1570
  data: z.ZodAny;
@@ -1571,6 +1720,28 @@ export declare const callableGroups: {
1571
1720
  geohash?: string | undefined;
1572
1721
  }>, "many">;
1573
1722
  };
1723
+ "events-employerDeclineEvent": {
1724
+ request: z.ZodObject<{
1725
+ oId: z.ZodString;
1726
+ eventId: z.ZodString;
1727
+ attendeeId: z.ZodString;
1728
+ }, "strip", z.ZodTypeAny, {
1729
+ oId: string;
1730
+ eventId: string;
1731
+ attendeeId: string;
1732
+ }, {
1733
+ oId: string;
1734
+ eventId: string;
1735
+ attendeeId: string;
1736
+ }>;
1737
+ response: z.ZodObject<{
1738
+ code: z.ZodEnum<["declined", "notFound"]>;
1739
+ }, "strip", z.ZodTypeAny, {
1740
+ code: "declined" | "notFound";
1741
+ }, {
1742
+ code: "declined" | "notFound";
1743
+ }>;
1744
+ };
1574
1745
  };
1575
1746
  surveyCallables: {
1576
1747
  "surveys-createSurveyCycle": {
@@ -2755,6 +2926,133 @@ export declare const callableGroups: {
2755
2926
  authToken?: string | undefined;
2756
2927
  }>;
2757
2928
  };
2929
+ "e2e-deleteE2EAccount": {
2930
+ request: z.ZodObject<{
2931
+ oId: z.ZodString;
2932
+ }, "strip", z.ZodTypeAny, {
2933
+ oId: string;
2934
+ }, {
2935
+ oId: string;
2936
+ }>;
2937
+ response: z.ZodObject<{
2938
+ deleted: z.ZodLiteral<true>;
2939
+ oId: z.ZodString;
2940
+ email: z.ZodString;
2941
+ steps: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
2942
+ }, "strip", z.ZodTypeAny, {
2943
+ deleted: true;
2944
+ email: string;
2945
+ oId: string;
2946
+ steps: Record<string, string | boolean>;
2947
+ }, {
2948
+ deleted: true;
2949
+ email: string;
2950
+ oId: string;
2951
+ steps: Record<string, string | boolean>;
2952
+ }>;
2953
+ };
2954
+ "e2e-deleteE2ERun": {
2955
+ request: z.ZodObject<{
2956
+ runId: z.ZodString;
2957
+ }, "strip", z.ZodTypeAny, {
2958
+ runId: string;
2959
+ }, {
2960
+ runId: string;
2961
+ }>;
2962
+ response: z.ZodObject<{
2963
+ deleted: z.ZodLiteral<true>;
2964
+ runId: z.ZodString;
2965
+ institutes: z.ZodArray<z.ZodObject<{
2966
+ oId: z.ZodString;
2967
+ email: z.ZodString;
2968
+ }, "strip", z.ZodTypeAny, {
2969
+ email: string;
2970
+ oId: string;
2971
+ }, {
2972
+ email: string;
2973
+ oId: string;
2974
+ }>, "many">;
2975
+ providerContactIds: z.ZodArray<z.ZodString, "many">;
2976
+ steps: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
2977
+ }, "strip", z.ZodTypeAny, {
2978
+ deleted: true;
2979
+ institutes: {
2980
+ email: string;
2981
+ oId: string;
2982
+ }[];
2983
+ runId: string;
2984
+ steps: Record<string, string | boolean>;
2985
+ providerContactIds: string[];
2986
+ }, {
2987
+ deleted: true;
2988
+ institutes: {
2989
+ email: string;
2990
+ oId: string;
2991
+ }[];
2992
+ runId: string;
2993
+ steps: Record<string, string | boolean>;
2994
+ providerContactIds: string[];
2995
+ }>;
2996
+ };
2997
+ "e2e-seedCareersHub": {
2998
+ request: z.ZodObject<{
2999
+ runId: z.ZodString;
3000
+ password: z.ZodOptional<z.ZodString>;
3001
+ activityId: z.ZodOptional<z.ZodString>;
3002
+ }, "strip", z.ZodTypeAny, {
3003
+ runId: string;
3004
+ password?: string | undefined;
3005
+ activityId?: string | undefined;
3006
+ }, {
3007
+ runId: string;
3008
+ password?: string | undefined;
3009
+ activityId?: string | undefined;
3010
+ }>;
3011
+ response: z.ZodObject<{
3012
+ hubOId: z.ZodString;
3013
+ adminUid: z.ZodString;
3014
+ adminEmail: z.ZodString;
3015
+ groupIds: z.ZodArray<z.ZodString, "many">;
3016
+ providerContactIds: z.ZodArray<z.ZodString, "many">;
3017
+ activityId: z.ZodString;
3018
+ }, "strip", z.ZodTypeAny, {
3019
+ providerContactIds: string[];
3020
+ activityId: string;
3021
+ hubOId: string;
3022
+ adminUid: string;
3023
+ adminEmail: string;
3024
+ groupIds: string[];
3025
+ }, {
3026
+ providerContactIds: string[];
3027
+ activityId: string;
3028
+ hubOId: string;
3029
+ adminUid: string;
3030
+ adminEmail: string;
3031
+ groupIds: string[];
3032
+ }>;
3033
+ };
3034
+ "e2e-runEventFeedback": {
3035
+ request: z.ZodObject<{
3036
+ eventId: z.ZodString;
3037
+ }, "strip", z.ZodTypeAny, {
3038
+ eventId: string;
3039
+ }, {
3040
+ eventId: string;
3041
+ }>;
3042
+ response: z.ZodObject<{
3043
+ eventId: z.ZodString;
3044
+ oId: z.ZodString;
3045
+ sent: z.ZodLiteral<true>;
3046
+ }, "strip", z.ZodTypeAny, {
3047
+ oId: string;
3048
+ sent: true;
3049
+ eventId: string;
3050
+ }, {
3051
+ oId: string;
3052
+ sent: true;
3053
+ eventId: string;
3054
+ }>;
3055
+ };
2758
3056
  };
2759
3057
  wondeCallables: {
2760
3058
  "wonde-requestConnection": {