@mcp-gen-ui/schema 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1115 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Single source of truth for the gateway's domain contracts.
4
+ *
5
+ * Every MCP tool input/output is defined here with Zod and exported to JSON
6
+ * Schema (see export-json-schema.ts) so that non-TypeScript clients can
7
+ * validate the same contracts.
8
+ */
9
+ export declare const BenefitCategorySchema: z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>;
10
+ export declare const RecommendationStatusSchema: z.ZodEnum<["candidate", "needs_more_info", "not_applicable"]>;
11
+ export declare const AgeRangeSchema: z.ZodEnum<["teen", "twenties", "thirties", "forties", "fifties", "sixties_plus"]>;
12
+ export declare const StudentStatusSchema: z.ZodEnum<["student", "not_student", "unknown"]>;
13
+ export declare const EmploymentStatusSchema: z.ZodEnum<["employed", "self_employed", "unemployed", "unknown"]>;
14
+ export declare const HouseholdTypeSchema: z.ZodEnum<["single", "couple", "family", "single_parent", "unknown"]>;
15
+ export declare const RecommendationPersonaSchema: z.ZodEnum<["youth_jobseeker", "university_student", "newlywed_family", "single_parent", "senior", "general"]>;
16
+ export declare const RecommendationScoreDimensionSchema: z.ZodEnum<["region", "age", "student", "employment", "household", "category", "query"]>;
17
+ export declare const RecommendationWeightsSchema: z.ZodObject<{
18
+ region: z.ZodOptional<z.ZodNumber>;
19
+ age: z.ZodOptional<z.ZodNumber>;
20
+ student: z.ZodOptional<z.ZodNumber>;
21
+ employment: z.ZodOptional<z.ZodNumber>;
22
+ household: z.ZodOptional<z.ZodNumber>;
23
+ category: z.ZodOptional<z.ZodNumber>;
24
+ query: z.ZodOptional<z.ZodNumber>;
25
+ }, "strict", z.ZodTypeAny, {
26
+ employment?: number | undefined;
27
+ student?: number | undefined;
28
+ region?: number | undefined;
29
+ age?: number | undefined;
30
+ household?: number | undefined;
31
+ category?: number | undefined;
32
+ query?: number | undefined;
33
+ }, {
34
+ employment?: number | undefined;
35
+ student?: number | undefined;
36
+ region?: number | undefined;
37
+ age?: number | undefined;
38
+ household?: number | undefined;
39
+ category?: number | undefined;
40
+ query?: number | undefined;
41
+ }>;
42
+ export declare const ScoreBreakdownItemSchema: z.ZodObject<{
43
+ dimension: z.ZodEnum<["region", "age", "student", "employment", "household", "category", "query"]>;
44
+ signal: z.ZodNumber;
45
+ weight: z.ZodNumber;
46
+ contribution: z.ZodNumber;
47
+ explanation: z.ZodString;
48
+ }, "strip", z.ZodTypeAny, {
49
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
50
+ signal: number;
51
+ weight: number;
52
+ contribution: number;
53
+ explanation: string;
54
+ }, {
55
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
56
+ signal: number;
57
+ weight: number;
58
+ contribution: number;
59
+ explanation: string;
60
+ }>;
61
+ /**
62
+ * Non-identifying user profile. By contract this never carries resident
63
+ * registration numbers, certificates, tokens, or other sensitive identifiers.
64
+ */
65
+ export declare const UserProfileSchema: z.ZodObject<{
66
+ region: z.ZodOptional<z.ZodString>;
67
+ ageRange: z.ZodOptional<z.ZodEnum<["teen", "twenties", "thirties", "forties", "fifties", "sixties_plus"]>>;
68
+ studentStatus: z.ZodDefault<z.ZodEnum<["student", "not_student", "unknown"]>>;
69
+ employmentStatus: z.ZodDefault<z.ZodEnum<["employed", "self_employed", "unemployed", "unknown"]>>;
70
+ householdType: z.ZodDefault<z.ZodEnum<["single", "couple", "family", "single_parent", "unknown"]>>;
71
+ interests: z.ZodDefault<z.ZodArray<z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>, "many">>;
72
+ persona: z.ZodOptional<z.ZodEnum<["youth_jobseeker", "university_student", "newlywed_family", "single_parent", "senior", "general"]>>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ studentStatus: "student" | "not_student" | "unknown";
75
+ employmentStatus: "unknown" | "employed" | "self_employed" | "unemployed";
76
+ householdType: "family" | "unknown" | "single" | "couple" | "single_parent";
77
+ interests: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[];
78
+ region?: string | undefined;
79
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
80
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
81
+ }, {
82
+ region?: string | undefined;
83
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
84
+ studentStatus?: "student" | "not_student" | "unknown" | undefined;
85
+ employmentStatus?: "unknown" | "employed" | "self_employed" | "unemployed" | undefined;
86
+ householdType?: "family" | "unknown" | "single" | "couple" | "single_parent" | undefined;
87
+ interests?: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[] | undefined;
88
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
89
+ }>;
90
+ export declare const EvidenceSchema: z.ZodObject<{
91
+ field: z.ZodString;
92
+ matched: z.ZodBoolean;
93
+ explanation: z.ZodString;
94
+ }, "strip", z.ZodTypeAny, {
95
+ explanation: string;
96
+ field: string;
97
+ matched: boolean;
98
+ }, {
99
+ explanation: string;
100
+ field: string;
101
+ matched: boolean;
102
+ }>;
103
+ export declare const BenefitSummarySchema: z.ZodObject<{
104
+ id: z.ZodString;
105
+ title: z.ZodString;
106
+ provider: z.ZodString;
107
+ category: z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>;
108
+ summary: z.ZodString;
109
+ status: z.ZodEnum<["candidate", "needs_more_info", "not_applicable"]>;
110
+ score: z.ZodDefault<z.ZodNumber>;
111
+ scoreBreakdown: z.ZodDefault<z.ZodArray<z.ZodObject<{
112
+ dimension: z.ZodEnum<["region", "age", "student", "employment", "household", "category", "query"]>;
113
+ signal: z.ZodNumber;
114
+ weight: z.ZodNumber;
115
+ contribution: z.ZodNumber;
116
+ explanation: z.ZodString;
117
+ }, "strip", z.ZodTypeAny, {
118
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
119
+ signal: number;
120
+ weight: number;
121
+ contribution: number;
122
+ explanation: string;
123
+ }, {
124
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
125
+ signal: number;
126
+ weight: number;
127
+ contribution: number;
128
+ explanation: string;
129
+ }>, "many">>;
130
+ reasons: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
131
+ missingInfo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
134
+ status: "candidate" | "needs_more_info" | "not_applicable";
135
+ id: string;
136
+ title: string;
137
+ provider: string;
138
+ summary: string;
139
+ score: number;
140
+ scoreBreakdown: {
141
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
142
+ signal: number;
143
+ weight: number;
144
+ contribution: number;
145
+ explanation: string;
146
+ }[];
147
+ reasons: string[];
148
+ missingInfo: string[];
149
+ }, {
150
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
151
+ status: "candidate" | "needs_more_info" | "not_applicable";
152
+ id: string;
153
+ title: string;
154
+ provider: string;
155
+ summary: string;
156
+ score?: number | undefined;
157
+ scoreBreakdown?: {
158
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
159
+ signal: number;
160
+ weight: number;
161
+ contribution: number;
162
+ explanation: string;
163
+ }[] | undefined;
164
+ reasons?: string[] | undefined;
165
+ missingInfo?: string[] | undefined;
166
+ }>;
167
+ export declare const ChecklistItemSchema: z.ZodObject<{
168
+ id: z.ZodString;
169
+ label: z.ZodString;
170
+ required: z.ZodBoolean;
171
+ source: z.ZodOptional<z.ZodString>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ id: string;
174
+ label: string;
175
+ required: boolean;
176
+ source?: string | undefined;
177
+ }, {
178
+ id: string;
179
+ label: string;
180
+ required: boolean;
181
+ source?: string | undefined;
182
+ }>;
183
+ export declare const ApplicationStepSchema: z.ZodObject<{
184
+ order: z.ZodNumber;
185
+ title: z.ZodString;
186
+ description: z.ZodString;
187
+ requiresUserAction: z.ZodDefault<z.ZodBoolean>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ title: string;
190
+ order: number;
191
+ description: string;
192
+ requiresUserAction: boolean;
193
+ }, {
194
+ title: string;
195
+ order: number;
196
+ description: string;
197
+ requiresUserAction?: boolean | undefined;
198
+ }>;
199
+ export declare const BenefitDetailSchema: z.ZodObject<{
200
+ id: z.ZodString;
201
+ title: z.ZodString;
202
+ provider: z.ZodString;
203
+ category: z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>;
204
+ summary: z.ZodString;
205
+ target: z.ZodString;
206
+ eligibility: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
207
+ applicationPeriod: z.ZodOptional<z.ZodString>;
208
+ applicationDeadline: z.ZodOptional<z.ZodString>;
209
+ fee: z.ZodOptional<z.ZodString>;
210
+ processingTime: z.ZodOptional<z.ZodString>;
211
+ documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
212
+ id: z.ZodString;
213
+ label: z.ZodString;
214
+ required: z.ZodBoolean;
215
+ source: z.ZodOptional<z.ZodString>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ id: string;
218
+ label: string;
219
+ required: boolean;
220
+ source?: string | undefined;
221
+ }, {
222
+ id: string;
223
+ label: string;
224
+ required: boolean;
225
+ source?: string | undefined;
226
+ }>, "many">>;
227
+ applicationMethods: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
228
+ applicationUrl: z.ZodOptional<z.ZodString>;
229
+ sourceUrl: z.ZodString;
230
+ lastFetchedAt: z.ZodString;
231
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
232
+ field: z.ZodString;
233
+ matched: z.ZodBoolean;
234
+ explanation: z.ZodString;
235
+ }, "strip", z.ZodTypeAny, {
236
+ explanation: string;
237
+ field: string;
238
+ matched: boolean;
239
+ }, {
240
+ explanation: string;
241
+ field: string;
242
+ matched: boolean;
243
+ }>, "many">>;
244
+ }, "strip", z.ZodTypeAny, {
245
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
246
+ id: string;
247
+ title: string;
248
+ provider: string;
249
+ summary: string;
250
+ target: string;
251
+ eligibility: string[];
252
+ documents: {
253
+ id: string;
254
+ label: string;
255
+ required: boolean;
256
+ source?: string | undefined;
257
+ }[];
258
+ applicationMethods: string[];
259
+ sourceUrl: string;
260
+ lastFetchedAt: string;
261
+ evidence: {
262
+ explanation: string;
263
+ field: string;
264
+ matched: boolean;
265
+ }[];
266
+ applicationPeriod?: string | undefined;
267
+ applicationDeadline?: string | undefined;
268
+ fee?: string | undefined;
269
+ processingTime?: string | undefined;
270
+ applicationUrl?: string | undefined;
271
+ }, {
272
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
273
+ id: string;
274
+ title: string;
275
+ provider: string;
276
+ summary: string;
277
+ target: string;
278
+ sourceUrl: string;
279
+ lastFetchedAt: string;
280
+ eligibility?: string[] | undefined;
281
+ applicationPeriod?: string | undefined;
282
+ applicationDeadline?: string | undefined;
283
+ fee?: string | undefined;
284
+ processingTime?: string | undefined;
285
+ documents?: {
286
+ id: string;
287
+ label: string;
288
+ required: boolean;
289
+ source?: string | undefined;
290
+ }[] | undefined;
291
+ applicationMethods?: string[] | undefined;
292
+ applicationUrl?: string | undefined;
293
+ evidence?: {
294
+ explanation: string;
295
+ field: string;
296
+ matched: boolean;
297
+ }[] | undefined;
298
+ }>;
299
+ /**
300
+ * Repository-side record. Extends the public detail with matchable fields the
301
+ * rule-based recommender uses. These extra fields stay inside the gateway and
302
+ * are not part of the public BenefitDetail contract.
303
+ */
304
+ export declare const BenefitRecordSchema: z.ZodObject<{
305
+ id: z.ZodString;
306
+ title: z.ZodString;
307
+ provider: z.ZodString;
308
+ category: z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>;
309
+ summary: z.ZodString;
310
+ target: z.ZodString;
311
+ eligibility: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
312
+ applicationPeriod: z.ZodOptional<z.ZodString>;
313
+ applicationDeadline: z.ZodOptional<z.ZodString>;
314
+ fee: z.ZodOptional<z.ZodString>;
315
+ processingTime: z.ZodOptional<z.ZodString>;
316
+ documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
317
+ id: z.ZodString;
318
+ label: z.ZodString;
319
+ required: z.ZodBoolean;
320
+ source: z.ZodOptional<z.ZodString>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ id: string;
323
+ label: string;
324
+ required: boolean;
325
+ source?: string | undefined;
326
+ }, {
327
+ id: string;
328
+ label: string;
329
+ required: boolean;
330
+ source?: string | undefined;
331
+ }>, "many">>;
332
+ applicationMethods: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
333
+ applicationUrl: z.ZodOptional<z.ZodString>;
334
+ sourceUrl: z.ZodString;
335
+ lastFetchedAt: z.ZodString;
336
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
337
+ field: z.ZodString;
338
+ matched: z.ZodBoolean;
339
+ explanation: z.ZodString;
340
+ }, "strip", z.ZodTypeAny, {
341
+ explanation: string;
342
+ field: string;
343
+ matched: boolean;
344
+ }, {
345
+ explanation: string;
346
+ field: string;
347
+ matched: boolean;
348
+ }>, "many">>;
349
+ } & {
350
+ searchableText: z.ZodDefault<z.ZodString>;
351
+ regionTags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
352
+ ageRanges: z.ZodDefault<z.ZodArray<z.ZodEnum<["teen", "twenties", "thirties", "forties", "fifties", "sixties_plus"]>, "many">>;
353
+ studentOnly: z.ZodDefault<z.ZodBoolean>;
354
+ employmentStatuses: z.ZodDefault<z.ZodArray<z.ZodEnum<["employed", "self_employed", "unemployed", "unknown"]>, "many">>;
355
+ householdTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<["single", "couple", "family", "single_parent", "unknown"]>, "many">>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
358
+ id: string;
359
+ title: string;
360
+ provider: string;
361
+ summary: string;
362
+ target: string;
363
+ eligibility: string[];
364
+ documents: {
365
+ id: string;
366
+ label: string;
367
+ required: boolean;
368
+ source?: string | undefined;
369
+ }[];
370
+ applicationMethods: string[];
371
+ sourceUrl: string;
372
+ lastFetchedAt: string;
373
+ evidence: {
374
+ explanation: string;
375
+ field: string;
376
+ matched: boolean;
377
+ }[];
378
+ searchableText: string;
379
+ regionTags: string[];
380
+ ageRanges: ("teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus")[];
381
+ studentOnly: boolean;
382
+ employmentStatuses: ("unknown" | "employed" | "self_employed" | "unemployed")[];
383
+ householdTypes: ("family" | "unknown" | "single" | "couple" | "single_parent")[];
384
+ applicationPeriod?: string | undefined;
385
+ applicationDeadline?: string | undefined;
386
+ fee?: string | undefined;
387
+ processingTime?: string | undefined;
388
+ applicationUrl?: string | undefined;
389
+ }, {
390
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
391
+ id: string;
392
+ title: string;
393
+ provider: string;
394
+ summary: string;
395
+ target: string;
396
+ sourceUrl: string;
397
+ lastFetchedAt: string;
398
+ eligibility?: string[] | undefined;
399
+ applicationPeriod?: string | undefined;
400
+ applicationDeadline?: string | undefined;
401
+ fee?: string | undefined;
402
+ processingTime?: string | undefined;
403
+ documents?: {
404
+ id: string;
405
+ label: string;
406
+ required: boolean;
407
+ source?: string | undefined;
408
+ }[] | undefined;
409
+ applicationMethods?: string[] | undefined;
410
+ applicationUrl?: string | undefined;
411
+ evidence?: {
412
+ explanation: string;
413
+ field: string;
414
+ matched: boolean;
415
+ }[] | undefined;
416
+ searchableText?: string | undefined;
417
+ regionTags?: string[] | undefined;
418
+ ageRanges?: ("teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus")[] | undefined;
419
+ studentOnly?: boolean | undefined;
420
+ employmentStatuses?: ("unknown" | "employed" | "self_employed" | "unemployed")[] | undefined;
421
+ householdTypes?: ("family" | "unknown" | "single" | "couple" | "single_parent")[] | undefined;
422
+ }>;
423
+ export declare const BenefitSearchRequestSchema: z.ZodObject<{
424
+ query: z.ZodString;
425
+ profile: z.ZodDefault<z.ZodObject<{
426
+ region: z.ZodOptional<z.ZodString>;
427
+ ageRange: z.ZodOptional<z.ZodEnum<["teen", "twenties", "thirties", "forties", "fifties", "sixties_plus"]>>;
428
+ studentStatus: z.ZodDefault<z.ZodEnum<["student", "not_student", "unknown"]>>;
429
+ employmentStatus: z.ZodDefault<z.ZodEnum<["employed", "self_employed", "unemployed", "unknown"]>>;
430
+ householdType: z.ZodDefault<z.ZodEnum<["single", "couple", "family", "single_parent", "unknown"]>>;
431
+ interests: z.ZodDefault<z.ZodArray<z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>, "many">>;
432
+ persona: z.ZodOptional<z.ZodEnum<["youth_jobseeker", "university_student", "newlywed_family", "single_parent", "senior", "general"]>>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ studentStatus: "student" | "not_student" | "unknown";
435
+ employmentStatus: "unknown" | "employed" | "self_employed" | "unemployed";
436
+ householdType: "family" | "unknown" | "single" | "couple" | "single_parent";
437
+ interests: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[];
438
+ region?: string | undefined;
439
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
440
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
441
+ }, {
442
+ region?: string | undefined;
443
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
444
+ studentStatus?: "student" | "not_student" | "unknown" | undefined;
445
+ employmentStatus?: "unknown" | "employed" | "self_employed" | "unemployed" | undefined;
446
+ householdType?: "family" | "unknown" | "single" | "couple" | "single_parent" | undefined;
447
+ interests?: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[] | undefined;
448
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
449
+ }>>;
450
+ weights: z.ZodDefault<z.ZodObject<{
451
+ region: z.ZodOptional<z.ZodNumber>;
452
+ age: z.ZodOptional<z.ZodNumber>;
453
+ student: z.ZodOptional<z.ZodNumber>;
454
+ employment: z.ZodOptional<z.ZodNumber>;
455
+ household: z.ZodOptional<z.ZodNumber>;
456
+ category: z.ZodOptional<z.ZodNumber>;
457
+ query: z.ZodOptional<z.ZodNumber>;
458
+ }, "strict", z.ZodTypeAny, {
459
+ employment?: number | undefined;
460
+ student?: number | undefined;
461
+ region?: number | undefined;
462
+ age?: number | undefined;
463
+ household?: number | undefined;
464
+ category?: number | undefined;
465
+ query?: number | undefined;
466
+ }, {
467
+ employment?: number | undefined;
468
+ student?: number | undefined;
469
+ region?: number | undefined;
470
+ age?: number | undefined;
471
+ household?: number | undefined;
472
+ category?: number | undefined;
473
+ query?: number | undefined;
474
+ }>>;
475
+ }, "strip", z.ZodTypeAny, {
476
+ query: string;
477
+ profile: {
478
+ studentStatus: "student" | "not_student" | "unknown";
479
+ employmentStatus: "unknown" | "employed" | "self_employed" | "unemployed";
480
+ householdType: "family" | "unknown" | "single" | "couple" | "single_parent";
481
+ interests: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[];
482
+ region?: string | undefined;
483
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
484
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
485
+ };
486
+ weights: {
487
+ employment?: number | undefined;
488
+ student?: number | undefined;
489
+ region?: number | undefined;
490
+ age?: number | undefined;
491
+ household?: number | undefined;
492
+ category?: number | undefined;
493
+ query?: number | undefined;
494
+ };
495
+ }, {
496
+ query: string;
497
+ profile?: {
498
+ region?: string | undefined;
499
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
500
+ studentStatus?: "student" | "not_student" | "unknown" | undefined;
501
+ employmentStatus?: "unknown" | "employed" | "self_employed" | "unemployed" | undefined;
502
+ householdType?: "family" | "unknown" | "single" | "couple" | "single_parent" | undefined;
503
+ interests?: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[] | undefined;
504
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
505
+ } | undefined;
506
+ weights?: {
507
+ employment?: number | undefined;
508
+ student?: number | undefined;
509
+ region?: number | undefined;
510
+ age?: number | undefined;
511
+ household?: number | undefined;
512
+ category?: number | undefined;
513
+ query?: number | undefined;
514
+ } | undefined;
515
+ }>;
516
+ export declare const BenefitSearchResponseSchema: z.ZodObject<{
517
+ query: z.ZodString;
518
+ profile: z.ZodObject<{
519
+ region: z.ZodOptional<z.ZodString>;
520
+ ageRange: z.ZodOptional<z.ZodEnum<["teen", "twenties", "thirties", "forties", "fifties", "sixties_plus"]>>;
521
+ studentStatus: z.ZodDefault<z.ZodEnum<["student", "not_student", "unknown"]>>;
522
+ employmentStatus: z.ZodDefault<z.ZodEnum<["employed", "self_employed", "unemployed", "unknown"]>>;
523
+ householdType: z.ZodDefault<z.ZodEnum<["single", "couple", "family", "single_parent", "unknown"]>>;
524
+ interests: z.ZodDefault<z.ZodArray<z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>, "many">>;
525
+ persona: z.ZodOptional<z.ZodEnum<["youth_jobseeker", "university_student", "newlywed_family", "single_parent", "senior", "general"]>>;
526
+ }, "strip", z.ZodTypeAny, {
527
+ studentStatus: "student" | "not_student" | "unknown";
528
+ employmentStatus: "unknown" | "employed" | "self_employed" | "unemployed";
529
+ householdType: "family" | "unknown" | "single" | "couple" | "single_parent";
530
+ interests: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[];
531
+ region?: string | undefined;
532
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
533
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
534
+ }, {
535
+ region?: string | undefined;
536
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
537
+ studentStatus?: "student" | "not_student" | "unknown" | undefined;
538
+ employmentStatus?: "unknown" | "employed" | "self_employed" | "unemployed" | undefined;
539
+ householdType?: "family" | "unknown" | "single" | "couple" | "single_parent" | undefined;
540
+ interests?: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[] | undefined;
541
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
542
+ }>;
543
+ results: z.ZodArray<z.ZodObject<{
544
+ id: z.ZodString;
545
+ title: z.ZodString;
546
+ provider: z.ZodString;
547
+ category: z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>;
548
+ summary: z.ZodString;
549
+ status: z.ZodEnum<["candidate", "needs_more_info", "not_applicable"]>;
550
+ score: z.ZodDefault<z.ZodNumber>;
551
+ scoreBreakdown: z.ZodDefault<z.ZodArray<z.ZodObject<{
552
+ dimension: z.ZodEnum<["region", "age", "student", "employment", "household", "category", "query"]>;
553
+ signal: z.ZodNumber;
554
+ weight: z.ZodNumber;
555
+ contribution: z.ZodNumber;
556
+ explanation: z.ZodString;
557
+ }, "strip", z.ZodTypeAny, {
558
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
559
+ signal: number;
560
+ weight: number;
561
+ contribution: number;
562
+ explanation: string;
563
+ }, {
564
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
565
+ signal: number;
566
+ weight: number;
567
+ contribution: number;
568
+ explanation: string;
569
+ }>, "many">>;
570
+ reasons: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
571
+ missingInfo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
572
+ }, "strip", z.ZodTypeAny, {
573
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
574
+ status: "candidate" | "needs_more_info" | "not_applicable";
575
+ id: string;
576
+ title: string;
577
+ provider: string;
578
+ summary: string;
579
+ score: number;
580
+ scoreBreakdown: {
581
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
582
+ signal: number;
583
+ weight: number;
584
+ contribution: number;
585
+ explanation: string;
586
+ }[];
587
+ reasons: string[];
588
+ missingInfo: string[];
589
+ }, {
590
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
591
+ status: "candidate" | "needs_more_info" | "not_applicable";
592
+ id: string;
593
+ title: string;
594
+ provider: string;
595
+ summary: string;
596
+ score?: number | undefined;
597
+ scoreBreakdown?: {
598
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
599
+ signal: number;
600
+ weight: number;
601
+ contribution: number;
602
+ explanation: string;
603
+ }[] | undefined;
604
+ reasons?: string[] | undefined;
605
+ missingInfo?: string[] | undefined;
606
+ }>, "many">;
607
+ generatedAt: z.ZodString;
608
+ }, "strip", z.ZodTypeAny, {
609
+ query: string;
610
+ profile: {
611
+ studentStatus: "student" | "not_student" | "unknown";
612
+ employmentStatus: "unknown" | "employed" | "self_employed" | "unemployed";
613
+ householdType: "family" | "unknown" | "single" | "couple" | "single_parent";
614
+ interests: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[];
615
+ region?: string | undefined;
616
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
617
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
618
+ };
619
+ results: {
620
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
621
+ status: "candidate" | "needs_more_info" | "not_applicable";
622
+ id: string;
623
+ title: string;
624
+ provider: string;
625
+ summary: string;
626
+ score: number;
627
+ scoreBreakdown: {
628
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
629
+ signal: number;
630
+ weight: number;
631
+ contribution: number;
632
+ explanation: string;
633
+ }[];
634
+ reasons: string[];
635
+ missingInfo: string[];
636
+ }[];
637
+ generatedAt: string;
638
+ }, {
639
+ query: string;
640
+ profile: {
641
+ region?: string | undefined;
642
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
643
+ studentStatus?: "student" | "not_student" | "unknown" | undefined;
644
+ employmentStatus?: "unknown" | "employed" | "self_employed" | "unemployed" | undefined;
645
+ householdType?: "family" | "unknown" | "single" | "couple" | "single_parent" | undefined;
646
+ interests?: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[] | undefined;
647
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
648
+ };
649
+ results: {
650
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
651
+ status: "candidate" | "needs_more_info" | "not_applicable";
652
+ id: string;
653
+ title: string;
654
+ provider: string;
655
+ summary: string;
656
+ score?: number | undefined;
657
+ scoreBreakdown?: {
658
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
659
+ signal: number;
660
+ weight: number;
661
+ contribution: number;
662
+ explanation: string;
663
+ }[] | undefined;
664
+ reasons?: string[] | undefined;
665
+ missingInfo?: string[] | undefined;
666
+ }[];
667
+ generatedAt: string;
668
+ }>;
669
+ export declare const UpcomingDeadlinesRequestSchema: z.ZodObject<{
670
+ profile: z.ZodDefault<z.ZodObject<{
671
+ region: z.ZodOptional<z.ZodString>;
672
+ ageRange: z.ZodOptional<z.ZodEnum<["teen", "twenties", "thirties", "forties", "fifties", "sixties_plus"]>>;
673
+ studentStatus: z.ZodDefault<z.ZodEnum<["student", "not_student", "unknown"]>>;
674
+ employmentStatus: z.ZodDefault<z.ZodEnum<["employed", "self_employed", "unemployed", "unknown"]>>;
675
+ householdType: z.ZodDefault<z.ZodEnum<["single", "couple", "family", "single_parent", "unknown"]>>;
676
+ interests: z.ZodDefault<z.ZodArray<z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>, "many">>;
677
+ persona: z.ZodOptional<z.ZodEnum<["youth_jobseeker", "university_student", "newlywed_family", "single_parent", "senior", "general"]>>;
678
+ }, "strip", z.ZodTypeAny, {
679
+ studentStatus: "student" | "not_student" | "unknown";
680
+ employmentStatus: "unknown" | "employed" | "self_employed" | "unemployed";
681
+ householdType: "family" | "unknown" | "single" | "couple" | "single_parent";
682
+ interests: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[];
683
+ region?: string | undefined;
684
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
685
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
686
+ }, {
687
+ region?: string | undefined;
688
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
689
+ studentStatus?: "student" | "not_student" | "unknown" | undefined;
690
+ employmentStatus?: "unknown" | "employed" | "self_employed" | "unemployed" | undefined;
691
+ householdType?: "family" | "unknown" | "single" | "couple" | "single_parent" | undefined;
692
+ interests?: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[] | undefined;
693
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
694
+ }>>;
695
+ withinDays: z.ZodOptional<z.ZodNumber>;
696
+ }, "strip", z.ZodTypeAny, {
697
+ profile: {
698
+ studentStatus: "student" | "not_student" | "unknown";
699
+ employmentStatus: "unknown" | "employed" | "self_employed" | "unemployed";
700
+ householdType: "family" | "unknown" | "single" | "couple" | "single_parent";
701
+ interests: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[];
702
+ region?: string | undefined;
703
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
704
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
705
+ };
706
+ withinDays?: number | undefined;
707
+ }, {
708
+ profile?: {
709
+ region?: string | undefined;
710
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
711
+ studentStatus?: "student" | "not_student" | "unknown" | undefined;
712
+ employmentStatus?: "unknown" | "employed" | "self_employed" | "unemployed" | undefined;
713
+ householdType?: "family" | "unknown" | "single" | "couple" | "single_parent" | undefined;
714
+ interests?: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[] | undefined;
715
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
716
+ } | undefined;
717
+ withinDays?: number | undefined;
718
+ }>;
719
+ export declare const UpcomingDeadlineSummarySchema: z.ZodObject<{
720
+ id: z.ZodString;
721
+ title: z.ZodString;
722
+ provider: z.ZodString;
723
+ category: z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>;
724
+ summary: z.ZodString;
725
+ status: z.ZodEnum<["candidate", "needs_more_info", "not_applicable"]>;
726
+ score: z.ZodDefault<z.ZodNumber>;
727
+ scoreBreakdown: z.ZodDefault<z.ZodArray<z.ZodObject<{
728
+ dimension: z.ZodEnum<["region", "age", "student", "employment", "household", "category", "query"]>;
729
+ signal: z.ZodNumber;
730
+ weight: z.ZodNumber;
731
+ contribution: z.ZodNumber;
732
+ explanation: z.ZodString;
733
+ }, "strip", z.ZodTypeAny, {
734
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
735
+ signal: number;
736
+ weight: number;
737
+ contribution: number;
738
+ explanation: string;
739
+ }, {
740
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
741
+ signal: number;
742
+ weight: number;
743
+ contribution: number;
744
+ explanation: string;
745
+ }>, "many">>;
746
+ reasons: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
747
+ missingInfo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
748
+ } & {
749
+ applicationDeadline: z.ZodString;
750
+ }, "strip", z.ZodTypeAny, {
751
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
752
+ status: "candidate" | "needs_more_info" | "not_applicable";
753
+ id: string;
754
+ title: string;
755
+ provider: string;
756
+ summary: string;
757
+ score: number;
758
+ scoreBreakdown: {
759
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
760
+ signal: number;
761
+ weight: number;
762
+ contribution: number;
763
+ explanation: string;
764
+ }[];
765
+ reasons: string[];
766
+ missingInfo: string[];
767
+ applicationDeadline: string;
768
+ }, {
769
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
770
+ status: "candidate" | "needs_more_info" | "not_applicable";
771
+ id: string;
772
+ title: string;
773
+ provider: string;
774
+ summary: string;
775
+ applicationDeadline: string;
776
+ score?: number | undefined;
777
+ scoreBreakdown?: {
778
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
779
+ signal: number;
780
+ weight: number;
781
+ contribution: number;
782
+ explanation: string;
783
+ }[] | undefined;
784
+ reasons?: string[] | undefined;
785
+ missingInfo?: string[] | undefined;
786
+ }>;
787
+ export declare const UpcomingDeadlinesResponseSchema: z.ZodObject<{
788
+ profile: z.ZodObject<{
789
+ region: z.ZodOptional<z.ZodString>;
790
+ ageRange: z.ZodOptional<z.ZodEnum<["teen", "twenties", "thirties", "forties", "fifties", "sixties_plus"]>>;
791
+ studentStatus: z.ZodDefault<z.ZodEnum<["student", "not_student", "unknown"]>>;
792
+ employmentStatus: z.ZodDefault<z.ZodEnum<["employed", "self_employed", "unemployed", "unknown"]>>;
793
+ householdType: z.ZodDefault<z.ZodEnum<["single", "couple", "family", "single_parent", "unknown"]>>;
794
+ interests: z.ZodDefault<z.ZodArray<z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>, "many">>;
795
+ persona: z.ZodOptional<z.ZodEnum<["youth_jobseeker", "university_student", "newlywed_family", "single_parent", "senior", "general"]>>;
796
+ }, "strip", z.ZodTypeAny, {
797
+ studentStatus: "student" | "not_student" | "unknown";
798
+ employmentStatus: "unknown" | "employed" | "self_employed" | "unemployed";
799
+ householdType: "family" | "unknown" | "single" | "couple" | "single_parent";
800
+ interests: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[];
801
+ region?: string | undefined;
802
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
803
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
804
+ }, {
805
+ region?: string | undefined;
806
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
807
+ studentStatus?: "student" | "not_student" | "unknown" | undefined;
808
+ employmentStatus?: "unknown" | "employed" | "self_employed" | "unemployed" | undefined;
809
+ householdType?: "family" | "unknown" | "single" | "couple" | "single_parent" | undefined;
810
+ interests?: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[] | undefined;
811
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
812
+ }>;
813
+ withinDays: z.ZodOptional<z.ZodNumber>;
814
+ results: z.ZodArray<z.ZodObject<{
815
+ id: z.ZodString;
816
+ title: z.ZodString;
817
+ provider: z.ZodString;
818
+ category: z.ZodEnum<["housing", "education", "employment", "health", "family", "youth", "local", "other"]>;
819
+ summary: z.ZodString;
820
+ status: z.ZodEnum<["candidate", "needs_more_info", "not_applicable"]>;
821
+ score: z.ZodDefault<z.ZodNumber>;
822
+ scoreBreakdown: z.ZodDefault<z.ZodArray<z.ZodObject<{
823
+ dimension: z.ZodEnum<["region", "age", "student", "employment", "household", "category", "query"]>;
824
+ signal: z.ZodNumber;
825
+ weight: z.ZodNumber;
826
+ contribution: z.ZodNumber;
827
+ explanation: z.ZodString;
828
+ }, "strip", z.ZodTypeAny, {
829
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
830
+ signal: number;
831
+ weight: number;
832
+ contribution: number;
833
+ explanation: string;
834
+ }, {
835
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
836
+ signal: number;
837
+ weight: number;
838
+ contribution: number;
839
+ explanation: string;
840
+ }>, "many">>;
841
+ reasons: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
842
+ missingInfo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
843
+ } & {
844
+ applicationDeadline: z.ZodString;
845
+ }, "strip", z.ZodTypeAny, {
846
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
847
+ status: "candidate" | "needs_more_info" | "not_applicable";
848
+ id: string;
849
+ title: string;
850
+ provider: string;
851
+ summary: string;
852
+ score: number;
853
+ scoreBreakdown: {
854
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
855
+ signal: number;
856
+ weight: number;
857
+ contribution: number;
858
+ explanation: string;
859
+ }[];
860
+ reasons: string[];
861
+ missingInfo: string[];
862
+ applicationDeadline: string;
863
+ }, {
864
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
865
+ status: "candidate" | "needs_more_info" | "not_applicable";
866
+ id: string;
867
+ title: string;
868
+ provider: string;
869
+ summary: string;
870
+ applicationDeadline: string;
871
+ score?: number | undefined;
872
+ scoreBreakdown?: {
873
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
874
+ signal: number;
875
+ weight: number;
876
+ contribution: number;
877
+ explanation: string;
878
+ }[] | undefined;
879
+ reasons?: string[] | undefined;
880
+ missingInfo?: string[] | undefined;
881
+ }>, "many">;
882
+ generatedAt: z.ZodString;
883
+ }, "strip", z.ZodTypeAny, {
884
+ profile: {
885
+ studentStatus: "student" | "not_student" | "unknown";
886
+ employmentStatus: "unknown" | "employed" | "self_employed" | "unemployed";
887
+ householdType: "family" | "unknown" | "single" | "couple" | "single_parent";
888
+ interests: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[];
889
+ region?: string | undefined;
890
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
891
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
892
+ };
893
+ results: {
894
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
895
+ status: "candidate" | "needs_more_info" | "not_applicable";
896
+ id: string;
897
+ title: string;
898
+ provider: string;
899
+ summary: string;
900
+ score: number;
901
+ scoreBreakdown: {
902
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
903
+ signal: number;
904
+ weight: number;
905
+ contribution: number;
906
+ explanation: string;
907
+ }[];
908
+ reasons: string[];
909
+ missingInfo: string[];
910
+ applicationDeadline: string;
911
+ }[];
912
+ generatedAt: string;
913
+ withinDays?: number | undefined;
914
+ }, {
915
+ profile: {
916
+ region?: string | undefined;
917
+ ageRange?: "teen" | "twenties" | "thirties" | "forties" | "fifties" | "sixties_plus" | undefined;
918
+ studentStatus?: "student" | "not_student" | "unknown" | undefined;
919
+ employmentStatus?: "unknown" | "employed" | "self_employed" | "unemployed" | undefined;
920
+ householdType?: "family" | "unknown" | "single" | "couple" | "single_parent" | undefined;
921
+ interests?: ("housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other")[] | undefined;
922
+ persona?: "single_parent" | "youth_jobseeker" | "university_student" | "newlywed_family" | "senior" | "general" | undefined;
923
+ };
924
+ results: {
925
+ category: "housing" | "education" | "employment" | "health" | "family" | "youth" | "local" | "other";
926
+ status: "candidate" | "needs_more_info" | "not_applicable";
927
+ id: string;
928
+ title: string;
929
+ provider: string;
930
+ summary: string;
931
+ applicationDeadline: string;
932
+ score?: number | undefined;
933
+ scoreBreakdown?: {
934
+ dimension: "employment" | "student" | "region" | "age" | "household" | "category" | "query";
935
+ signal: number;
936
+ weight: number;
937
+ contribution: number;
938
+ explanation: string;
939
+ }[] | undefined;
940
+ reasons?: string[] | undefined;
941
+ missingInfo?: string[] | undefined;
942
+ }[];
943
+ generatedAt: string;
944
+ withinDays?: number | undefined;
945
+ }>;
946
+ export declare const ChecklistResponseSchema: z.ZodObject<{
947
+ benefitId: z.ZodString;
948
+ items: z.ZodArray<z.ZodObject<{
949
+ id: z.ZodString;
950
+ label: z.ZodString;
951
+ required: z.ZodBoolean;
952
+ source: z.ZodOptional<z.ZodString>;
953
+ }, "strip", z.ZodTypeAny, {
954
+ id: string;
955
+ label: string;
956
+ required: boolean;
957
+ source?: string | undefined;
958
+ }, {
959
+ id: string;
960
+ label: string;
961
+ required: boolean;
962
+ source?: string | undefined;
963
+ }>, "many">;
964
+ caveats: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
965
+ }, "strip", z.ZodTypeAny, {
966
+ benefitId: string;
967
+ items: {
968
+ id: string;
969
+ label: string;
970
+ required: boolean;
971
+ source?: string | undefined;
972
+ }[];
973
+ caveats: string[];
974
+ }, {
975
+ benefitId: string;
976
+ items: {
977
+ id: string;
978
+ label: string;
979
+ required: boolean;
980
+ source?: string | undefined;
981
+ }[];
982
+ caveats?: string[] | undefined;
983
+ }>;
984
+ export declare const ApplicationGuideResponseSchema: z.ZodObject<{
985
+ benefitId: z.ZodString;
986
+ steps: z.ZodArray<z.ZodObject<{
987
+ order: z.ZodNumber;
988
+ title: z.ZodString;
989
+ description: z.ZodString;
990
+ requiresUserAction: z.ZodDefault<z.ZodBoolean>;
991
+ }, "strip", z.ZodTypeAny, {
992
+ title: string;
993
+ order: number;
994
+ description: string;
995
+ requiresUserAction: boolean;
996
+ }, {
997
+ title: string;
998
+ order: number;
999
+ description: string;
1000
+ requiresUserAction?: boolean | undefined;
1001
+ }>, "many">;
1002
+ safetyNotice: z.ZodString;
1003
+ }, "strip", z.ZodTypeAny, {
1004
+ benefitId: string;
1005
+ steps: {
1006
+ title: string;
1007
+ order: number;
1008
+ description: string;
1009
+ requiresUserAction: boolean;
1010
+ }[];
1011
+ safetyNotice: string;
1012
+ }, {
1013
+ benefitId: string;
1014
+ steps: {
1015
+ title: string;
1016
+ order: number;
1017
+ description: string;
1018
+ requiresUserAction?: boolean | undefined;
1019
+ }[];
1020
+ safetyNotice: string;
1021
+ }>;
1022
+ export declare const ChangeLogEntrySchema: z.ZodObject<{
1023
+ id: z.ZodString;
1024
+ entityId: z.ZodString;
1025
+ entityType: z.ZodLiteral<"benefit">;
1026
+ changeType: z.ZodEnum<["created", "updated", "unchanged"]>;
1027
+ summary: z.ZodString;
1028
+ createdAt: z.ZodString;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ id: string;
1031
+ summary: string;
1032
+ entityId: string;
1033
+ entityType: "benefit";
1034
+ changeType: "created" | "updated" | "unchanged";
1035
+ createdAt: string;
1036
+ }, {
1037
+ id: string;
1038
+ summary: string;
1039
+ entityId: string;
1040
+ entityType: "benefit";
1041
+ changeType: "created" | "updated" | "unchanged";
1042
+ createdAt: string;
1043
+ }>;
1044
+ export declare const ChangeLogResponseSchema: z.ZodObject<{
1045
+ entityId: z.ZodOptional<z.ZodString>;
1046
+ entries: z.ZodArray<z.ZodObject<{
1047
+ id: z.ZodString;
1048
+ entityId: z.ZodString;
1049
+ entityType: z.ZodLiteral<"benefit">;
1050
+ changeType: z.ZodEnum<["created", "updated", "unchanged"]>;
1051
+ summary: z.ZodString;
1052
+ createdAt: z.ZodString;
1053
+ }, "strip", z.ZodTypeAny, {
1054
+ id: string;
1055
+ summary: string;
1056
+ entityId: string;
1057
+ entityType: "benefit";
1058
+ changeType: "created" | "updated" | "unchanged";
1059
+ createdAt: string;
1060
+ }, {
1061
+ id: string;
1062
+ summary: string;
1063
+ entityId: string;
1064
+ entityType: "benefit";
1065
+ changeType: "created" | "updated" | "unchanged";
1066
+ createdAt: string;
1067
+ }>, "many">;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ entries: {
1070
+ id: string;
1071
+ summary: string;
1072
+ entityId: string;
1073
+ entityType: "benefit";
1074
+ changeType: "created" | "updated" | "unchanged";
1075
+ createdAt: string;
1076
+ }[];
1077
+ entityId?: string | undefined;
1078
+ }, {
1079
+ entries: {
1080
+ id: string;
1081
+ summary: string;
1082
+ entityId: string;
1083
+ entityType: "benefit";
1084
+ changeType: "created" | "updated" | "unchanged";
1085
+ createdAt: string;
1086
+ }[];
1087
+ entityId?: string | undefined;
1088
+ }>;
1089
+ export type BenefitCategory = z.infer<typeof BenefitCategorySchema>;
1090
+ export type RecommendationStatus = z.infer<typeof RecommendationStatusSchema>;
1091
+ export type AgeRange = z.infer<typeof AgeRangeSchema>;
1092
+ export type StudentStatus = z.infer<typeof StudentStatusSchema>;
1093
+ export type EmploymentStatus = z.infer<typeof EmploymentStatusSchema>;
1094
+ export type HouseholdType = z.infer<typeof HouseholdTypeSchema>;
1095
+ export type RecommendationPersona = z.infer<typeof RecommendationPersonaSchema>;
1096
+ export type RecommendationScoreDimension = z.infer<typeof RecommendationScoreDimensionSchema>;
1097
+ export type RecommendationWeights = z.infer<typeof RecommendationWeightsSchema>;
1098
+ export type ScoreBreakdownItem = z.infer<typeof ScoreBreakdownItemSchema>;
1099
+ export type UserProfile = z.infer<typeof UserProfileSchema>;
1100
+ export type Evidence = z.infer<typeof EvidenceSchema>;
1101
+ export type BenefitSummary = z.infer<typeof BenefitSummarySchema>;
1102
+ export type ChecklistItem = z.infer<typeof ChecklistItemSchema>;
1103
+ export type ApplicationStep = z.infer<typeof ApplicationStepSchema>;
1104
+ export type BenefitDetail = z.infer<typeof BenefitDetailSchema>;
1105
+ export type BenefitRecord = z.infer<typeof BenefitRecordSchema>;
1106
+ export type BenefitSearchRequest = z.infer<typeof BenefitSearchRequestSchema>;
1107
+ export type BenefitSearchResponse = z.infer<typeof BenefitSearchResponseSchema>;
1108
+ export type UpcomingDeadlinesRequest = z.infer<typeof UpcomingDeadlinesRequestSchema>;
1109
+ export type UpcomingDeadlineSummary = z.infer<typeof UpcomingDeadlineSummarySchema>;
1110
+ export type UpcomingDeadlinesResponse = z.infer<typeof UpcomingDeadlinesResponseSchema>;
1111
+ export type ChecklistResponse = z.infer<typeof ChecklistResponseSchema>;
1112
+ export type ApplicationGuideResponse = z.infer<typeof ApplicationGuideResponseSchema>;
1113
+ export type ChangeLogEntry = z.infer<typeof ChangeLogEntrySchema>;
1114
+ export type ChangeLogResponse = z.infer<typeof ChangeLogResponseSchema>;
1115
+ //# sourceMappingURL=index.d.ts.map