@zlooks.cn/resume-shared 0.0.0-stage → 0.1.2

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,1771 @@
1
+ import { createMicroClient } from '@hile/micro-contract';
2
+ import { z } from 'zod';
3
+ export * from './document.js';
4
+ export * from './share-theme.js';
5
+ export declare const RESUME_SERVICE_NAMESPACE = "cn.zlooks.resume.server";
6
+ export declare const RESUME_PLUGIN_ID = "resume";
7
+ export declare const RESUME_HOME_HREF = "/resume";
8
+ export declare const RESUME_PREVIEW_HREF = "/resume/preview";
9
+ export declare const RESUME_INITIAL_PARAM = "__resume_initial";
10
+ export declare const resumeCodeSchema: z.ZodString;
11
+ export declare function resumeShareHref(code: string): string;
12
+ export declare function resumePdfHref(code: string): string;
13
+ export declare const resumeRecordSchema: z.ZodObject<{
14
+ id: z.ZodUUID;
15
+ revision: z.ZodNumber;
16
+ document: z.ZodObject<{
17
+ summary: z.ZodString;
18
+ jobPreference: z.ZodObject<{
19
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
20
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
21
+ workMode: z.ZodEnum<{
22
+ hybrid: "hybrid";
23
+ onsite: "onsite";
24
+ remote: "remote";
25
+ unspecified: "unspecified";
26
+ }>;
27
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
28
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
29
+ }, z.core.$strict>;
30
+ workExperiences: z.ZodArray<z.ZodObject<{
31
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
32
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
33
+ current: z.ZodBoolean;
34
+ id: z.ZodUUID;
35
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
36
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
37
+ description: z.ZodString;
38
+ }, z.core.$strict>>;
39
+ projects: z.ZodArray<z.ZodObject<{
40
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
41
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
42
+ current: z.ZodBoolean;
43
+ id: z.ZodUUID;
44
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
45
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
46
+ description: z.ZodString;
47
+ contributions: z.ZodString;
48
+ outcome: z.ZodString;
49
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
50
+ }, z.core.$strict>>;
51
+ educations: z.ZodArray<z.ZodObject<{
52
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
53
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
54
+ current: z.ZodBoolean;
55
+ id: z.ZodUUID;
56
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
57
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
58
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
59
+ }, z.core.$strict>>;
60
+ skills: z.ZodArray<z.ZodObject<{
61
+ id: z.ZodUUID;
62
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
63
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
64
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
65
+ }, z.core.$strict>>;
66
+ supplements: z.ZodArray<z.ZodObject<{
67
+ id: z.ZodUUID;
68
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
69
+ description: z.ZodString;
70
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
71
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
72
+ }, z.core.$strict>>;
73
+ basics: z.ZodObject<{
74
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
75
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
76
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
77
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
78
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
79
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
80
+ email: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>;
81
+ phone: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
82
+ wechat: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
83
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
84
+ }, z.core.$strict>;
85
+ display: z.ZodObject<{
86
+ email: z.ZodBoolean;
87
+ phone: z.ZodBoolean;
88
+ wechat: z.ZodBoolean;
89
+ sections: z.ZodArray<z.ZodObject<{
90
+ key: z.ZodEnum<{
91
+ educations: "educations";
92
+ jobPreference: "jobPreference";
93
+ projects: "projects";
94
+ skills: "skills";
95
+ summary: "summary";
96
+ supplements: "supplements";
97
+ workExperiences: "workExperiences";
98
+ }>;
99
+ visible: z.ZodBoolean;
100
+ }, z.core.$strict>>;
101
+ }, z.core.$strict>;
102
+ }, z.core.$strict>;
103
+ createdAt: z.ZodISODateTime;
104
+ updatedAt: z.ZodISODateTime;
105
+ }, z.core.$strict>;
106
+ export declare const resumeShareSchema: z.ZodObject<{
107
+ id: z.ZodUUID;
108
+ revision: z.ZodNumber;
109
+ note: z.ZodString;
110
+ theme: z.ZodDefault<z.ZodEnum<{
111
+ graphite: "graphite";
112
+ navy: "navy";
113
+ paper: "paper";
114
+ sage: "sage";
115
+ swiss: "swiss";
116
+ terracotta: "terracotta";
117
+ }>>;
118
+ createdAt: z.ZodISODateTime;
119
+ expiresAt: z.ZodISODateTime;
120
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
121
+ status: z.ZodEnum<{
122
+ active: "active";
123
+ expired: "expired";
124
+ revoked: "revoked";
125
+ }>;
126
+ }, z.core.$strict>;
127
+ export declare const resumeErrorKindSchema: z.ZodEnum<{
128
+ conflict: "conflict";
129
+ invalid: "invalid";
130
+ "not-found": "not-found";
131
+ unauthorized: "unauthorized";
132
+ unavailable: "unavailable";
133
+ }>;
134
+ export type ResumeErrorKind = z.infer<typeof resumeErrorKindSchema>;
135
+ export declare const RESUME_ERROR_CODES: Record<ResumeErrorKind | 'origin', number>;
136
+ export declare function resumeOutcome<T extends z.ZodType>(value: T): z.ZodDiscriminatedUnion<[z.ZodObject<{
137
+ outcome: z.ZodLiteral<"ok">;
138
+ value: T;
139
+ }, z.core.$strict>, z.ZodObject<{
140
+ outcome: z.ZodLiteral<"error">;
141
+ kind: z.ZodEnum<{
142
+ conflict: "conflict";
143
+ invalid: "invalid";
144
+ "not-found": "not-found";
145
+ unauthorized: "unauthorized";
146
+ unavailable: "unavailable";
147
+ }>;
148
+ message: z.ZodString;
149
+ }, z.core.$strict>], "outcome">;
150
+ export declare const resumeShareCommandSchema: z.ZodObject<{
151
+ expectedRevision: z.ZodNumber;
152
+ theme: z.ZodDefault<z.ZodEnum<{
153
+ graphite: "graphite";
154
+ navy: "navy";
155
+ paper: "paper";
156
+ sage: "sage";
157
+ swiss: "swiss";
158
+ terracotta: "terracotta";
159
+ }>>;
160
+ days: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>]>;
161
+ note: z.ZodString;
162
+ }, z.core.$strict>;
163
+ export declare const resumeAcknowledgedSchema: z.ZodObject<{
164
+ done: z.ZodLiteral<true>;
165
+ }, z.core.$strict>;
166
+ export declare const resumeWorkspaceSchema: z.ZodObject<{
167
+ resume: z.ZodNullable<z.ZodObject<{
168
+ id: z.ZodUUID;
169
+ revision: z.ZodNumber;
170
+ document: z.ZodObject<{
171
+ summary: z.ZodString;
172
+ jobPreference: z.ZodObject<{
173
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
174
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
175
+ workMode: z.ZodEnum<{
176
+ hybrid: "hybrid";
177
+ onsite: "onsite";
178
+ remote: "remote";
179
+ unspecified: "unspecified";
180
+ }>;
181
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
182
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
183
+ }, z.core.$strict>;
184
+ workExperiences: z.ZodArray<z.ZodObject<{
185
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
186
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
187
+ current: z.ZodBoolean;
188
+ id: z.ZodUUID;
189
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
190
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
191
+ description: z.ZodString;
192
+ }, z.core.$strict>>;
193
+ projects: z.ZodArray<z.ZodObject<{
194
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
195
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
196
+ current: z.ZodBoolean;
197
+ id: z.ZodUUID;
198
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
199
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
200
+ description: z.ZodString;
201
+ contributions: z.ZodString;
202
+ outcome: z.ZodString;
203
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
204
+ }, z.core.$strict>>;
205
+ educations: z.ZodArray<z.ZodObject<{
206
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
207
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
208
+ current: z.ZodBoolean;
209
+ id: z.ZodUUID;
210
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
211
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
212
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
213
+ }, z.core.$strict>>;
214
+ skills: z.ZodArray<z.ZodObject<{
215
+ id: z.ZodUUID;
216
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
217
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
218
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
219
+ }, z.core.$strict>>;
220
+ supplements: z.ZodArray<z.ZodObject<{
221
+ id: z.ZodUUID;
222
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
223
+ description: z.ZodString;
224
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
225
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
226
+ }, z.core.$strict>>;
227
+ basics: z.ZodObject<{
228
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
229
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
230
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
231
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
232
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
233
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
234
+ email: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>;
235
+ phone: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
236
+ wechat: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
237
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
238
+ }, z.core.$strict>;
239
+ display: z.ZodObject<{
240
+ email: z.ZodBoolean;
241
+ phone: z.ZodBoolean;
242
+ wechat: z.ZodBoolean;
243
+ sections: z.ZodArray<z.ZodObject<{
244
+ key: z.ZodEnum<{
245
+ educations: "educations";
246
+ jobPreference: "jobPreference";
247
+ projects: "projects";
248
+ skills: "skills";
249
+ summary: "summary";
250
+ supplements: "supplements";
251
+ workExperiences: "workExperiences";
252
+ }>;
253
+ visible: z.ZodBoolean;
254
+ }, z.core.$strict>>;
255
+ }, z.core.$strict>;
256
+ }, z.core.$strict>;
257
+ createdAt: z.ZodISODateTime;
258
+ updatedAt: z.ZodISODateTime;
259
+ }, z.core.$strict>>;
260
+ }, z.core.$strict>;
261
+ export declare const resumeSharePageSchema: z.ZodObject<{
262
+ items: z.ZodArray<z.ZodObject<{
263
+ id: z.ZodUUID;
264
+ revision: z.ZodNumber;
265
+ note: z.ZodString;
266
+ theme: z.ZodDefault<z.ZodEnum<{
267
+ graphite: "graphite";
268
+ navy: "navy";
269
+ paper: "paper";
270
+ sage: "sage";
271
+ swiss: "swiss";
272
+ terracotta: "terracotta";
273
+ }>>;
274
+ createdAt: z.ZodISODateTime;
275
+ expiresAt: z.ZodISODateTime;
276
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
277
+ status: z.ZodEnum<{
278
+ active: "active";
279
+ expired: "expired";
280
+ revoked: "revoked";
281
+ }>;
282
+ }, z.core.$strict>>;
283
+ total: z.ZodNumber;
284
+ page: z.ZodNumber;
285
+ }, z.core.$strict>;
286
+ export declare const resumeCreatedShareSchema: z.ZodObject<{
287
+ share: z.ZodObject<{
288
+ id: z.ZodUUID;
289
+ revision: z.ZodNumber;
290
+ note: z.ZodString;
291
+ theme: z.ZodDefault<z.ZodEnum<{
292
+ graphite: "graphite";
293
+ navy: "navy";
294
+ paper: "paper";
295
+ sage: "sage";
296
+ swiss: "swiss";
297
+ terracotta: "terracotta";
298
+ }>>;
299
+ createdAt: z.ZodISODateTime;
300
+ expiresAt: z.ZodISODateTime;
301
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
302
+ status: z.ZodEnum<{
303
+ active: "active";
304
+ expired: "expired";
305
+ revoked: "revoked";
306
+ }>;
307
+ }, z.core.$strict>;
308
+ code: z.ZodString;
309
+ }, z.core.$strict>;
310
+ export declare const sharedResumeSchema: z.ZodObject<{
311
+ document: z.ZodObject<{
312
+ summary: z.ZodString;
313
+ jobPreference: z.ZodObject<{
314
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
315
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
316
+ workMode: z.ZodEnum<{
317
+ hybrid: "hybrid";
318
+ onsite: "onsite";
319
+ remote: "remote";
320
+ unspecified: "unspecified";
321
+ }>;
322
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
323
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
324
+ }, z.core.$strict>;
325
+ workExperiences: z.ZodArray<z.ZodObject<{
326
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
327
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
328
+ current: z.ZodBoolean;
329
+ id: z.ZodUUID;
330
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
331
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
332
+ description: z.ZodString;
333
+ }, z.core.$strict>>;
334
+ projects: z.ZodArray<z.ZodObject<{
335
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
336
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
337
+ current: z.ZodBoolean;
338
+ id: z.ZodUUID;
339
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
340
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
341
+ description: z.ZodString;
342
+ contributions: z.ZodString;
343
+ outcome: z.ZodString;
344
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
345
+ }, z.core.$strict>>;
346
+ educations: z.ZodArray<z.ZodObject<{
347
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
348
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
349
+ current: z.ZodBoolean;
350
+ id: z.ZodUUID;
351
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
352
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
353
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
354
+ }, z.core.$strict>>;
355
+ skills: z.ZodArray<z.ZodObject<{
356
+ id: z.ZodUUID;
357
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
358
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
359
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
360
+ }, z.core.$strict>>;
361
+ supplements: z.ZodArray<z.ZodObject<{
362
+ id: z.ZodUUID;
363
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
364
+ description: z.ZodString;
365
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
366
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
367
+ }, z.core.$strict>>;
368
+ basics: z.ZodObject<{
369
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
370
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
371
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
372
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
373
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
374
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
375
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
376
+ email: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>>;
377
+ phone: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
378
+ wechat: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
379
+ }, z.core.$strict>;
380
+ sectionOrder: z.ZodArray<z.ZodEnum<{
381
+ educations: "educations";
382
+ jobPreference: "jobPreference";
383
+ projects: "projects";
384
+ skills: "skills";
385
+ summary: "summary";
386
+ supplements: "supplements";
387
+ workExperiences: "workExperiences";
388
+ }>>;
389
+ }, z.core.$strict>;
390
+ theme: z.ZodDefault<z.ZodEnum<{
391
+ graphite: "graphite";
392
+ navy: "navy";
393
+ paper: "paper";
394
+ sage: "sage";
395
+ swiss: "swiss";
396
+ terracotta: "terracotta";
397
+ }>>;
398
+ expiresAt: z.ZodISODateTime;
399
+ }, z.core.$strict>;
400
+ export declare const resumeContract: Readonly<{
401
+ namespace: string;
402
+ operations: Readonly<{
403
+ read: {
404
+ readonly path: "/workspace/read";
405
+ readonly input: z.ZodObject<{}, z.core.$strict>;
406
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
407
+ outcome: z.ZodLiteral<"ok">;
408
+ value: z.ZodObject<{
409
+ resume: z.ZodNullable<z.ZodObject<{
410
+ id: z.ZodUUID;
411
+ revision: z.ZodNumber;
412
+ document: z.ZodObject<{
413
+ summary: z.ZodString;
414
+ jobPreference: z.ZodObject<{
415
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
416
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
417
+ workMode: z.ZodEnum<{
418
+ hybrid: "hybrid";
419
+ onsite: "onsite";
420
+ remote: "remote";
421
+ unspecified: "unspecified";
422
+ }>;
423
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
424
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
425
+ }, z.core.$strict>;
426
+ workExperiences: z.ZodArray<z.ZodObject<{
427
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
428
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
429
+ current: z.ZodBoolean;
430
+ id: z.ZodUUID;
431
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
432
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
433
+ description: z.ZodString;
434
+ }, z.core.$strict>>;
435
+ projects: z.ZodArray<z.ZodObject<{
436
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
437
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
438
+ current: z.ZodBoolean;
439
+ id: z.ZodUUID;
440
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
441
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
442
+ description: z.ZodString;
443
+ contributions: z.ZodString;
444
+ outcome: z.ZodString;
445
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
446
+ }, z.core.$strict>>;
447
+ educations: z.ZodArray<z.ZodObject<{
448
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
449
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
450
+ current: z.ZodBoolean;
451
+ id: z.ZodUUID;
452
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
453
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
454
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
455
+ }, z.core.$strict>>;
456
+ skills: z.ZodArray<z.ZodObject<{
457
+ id: z.ZodUUID;
458
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
459
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
460
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
461
+ }, z.core.$strict>>;
462
+ supplements: z.ZodArray<z.ZodObject<{
463
+ id: z.ZodUUID;
464
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
465
+ description: z.ZodString;
466
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
467
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
468
+ }, z.core.$strict>>;
469
+ basics: z.ZodObject<{
470
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
471
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
472
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
473
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
474
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
475
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
476
+ email: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>;
477
+ phone: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
478
+ wechat: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
479
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
480
+ }, z.core.$strict>;
481
+ display: z.ZodObject<{
482
+ email: z.ZodBoolean;
483
+ phone: z.ZodBoolean;
484
+ wechat: z.ZodBoolean;
485
+ sections: z.ZodArray<z.ZodObject<{
486
+ key: z.ZodEnum<{
487
+ educations: "educations";
488
+ jobPreference: "jobPreference";
489
+ projects: "projects";
490
+ skills: "skills";
491
+ summary: "summary";
492
+ supplements: "supplements";
493
+ workExperiences: "workExperiences";
494
+ }>;
495
+ visible: z.ZodBoolean;
496
+ }, z.core.$strict>>;
497
+ }, z.core.$strict>;
498
+ }, z.core.$strict>;
499
+ createdAt: z.ZodISODateTime;
500
+ updatedAt: z.ZodISODateTime;
501
+ }, z.core.$strict>>;
502
+ }, z.core.$strict>;
503
+ }, z.core.$strict>, z.ZodObject<{
504
+ outcome: z.ZodLiteral<"error">;
505
+ kind: z.ZodEnum<{
506
+ conflict: "conflict";
507
+ invalid: "invalid";
508
+ "not-found": "not-found";
509
+ unauthorized: "unauthorized";
510
+ unavailable: "unavailable";
511
+ }>;
512
+ message: z.ZodString;
513
+ }, z.core.$strict>], "outcome">;
514
+ };
515
+ save: {
516
+ readonly path: "/draft/save";
517
+ readonly input: z.ZodObject<{
518
+ expectedRevision: z.ZodNumber;
519
+ document: z.ZodObject<{
520
+ summary: z.ZodString;
521
+ jobPreference: z.ZodObject<{
522
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
523
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
524
+ workMode: z.ZodEnum<{
525
+ hybrid: "hybrid";
526
+ onsite: "onsite";
527
+ remote: "remote";
528
+ unspecified: "unspecified";
529
+ }>;
530
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
531
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
532
+ }, z.core.$strict>;
533
+ workExperiences: z.ZodArray<z.ZodObject<{
534
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
535
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
536
+ current: z.ZodBoolean;
537
+ id: z.ZodUUID;
538
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
539
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
540
+ description: z.ZodString;
541
+ }, z.core.$strict>>;
542
+ projects: z.ZodArray<z.ZodObject<{
543
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
544
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
545
+ current: z.ZodBoolean;
546
+ id: z.ZodUUID;
547
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
548
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
549
+ description: z.ZodString;
550
+ contributions: z.ZodString;
551
+ outcome: z.ZodString;
552
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
553
+ }, z.core.$strict>>;
554
+ educations: z.ZodArray<z.ZodObject<{
555
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
556
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
557
+ current: z.ZodBoolean;
558
+ id: z.ZodUUID;
559
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
560
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
561
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
562
+ }, z.core.$strict>>;
563
+ skills: z.ZodArray<z.ZodObject<{
564
+ id: z.ZodUUID;
565
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
566
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
567
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
568
+ }, z.core.$strict>>;
569
+ supplements: z.ZodArray<z.ZodObject<{
570
+ id: z.ZodUUID;
571
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
572
+ description: z.ZodString;
573
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
574
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
575
+ }, z.core.$strict>>;
576
+ basics: z.ZodObject<{
577
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
578
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
579
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
580
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
581
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
582
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
583
+ email: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>;
584
+ phone: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
585
+ wechat: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
586
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
587
+ }, z.core.$strict>;
588
+ display: z.ZodObject<{
589
+ email: z.ZodBoolean;
590
+ phone: z.ZodBoolean;
591
+ wechat: z.ZodBoolean;
592
+ sections: z.ZodArray<z.ZodObject<{
593
+ key: z.ZodEnum<{
594
+ educations: "educations";
595
+ jobPreference: "jobPreference";
596
+ projects: "projects";
597
+ skills: "skills";
598
+ summary: "summary";
599
+ supplements: "supplements";
600
+ workExperiences: "workExperiences";
601
+ }>;
602
+ visible: z.ZodBoolean;
603
+ }, z.core.$strict>>;
604
+ }, z.core.$strict>;
605
+ }, z.core.$strict>;
606
+ }, z.core.$strict>;
607
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
608
+ outcome: z.ZodLiteral<"ok">;
609
+ value: z.ZodObject<{
610
+ id: z.ZodUUID;
611
+ revision: z.ZodNumber;
612
+ document: z.ZodObject<{
613
+ summary: z.ZodString;
614
+ jobPreference: z.ZodObject<{
615
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
616
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
617
+ workMode: z.ZodEnum<{
618
+ hybrid: "hybrid";
619
+ onsite: "onsite";
620
+ remote: "remote";
621
+ unspecified: "unspecified";
622
+ }>;
623
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
624
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
625
+ }, z.core.$strict>;
626
+ workExperiences: z.ZodArray<z.ZodObject<{
627
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
628
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
629
+ current: z.ZodBoolean;
630
+ id: z.ZodUUID;
631
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
632
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
633
+ description: z.ZodString;
634
+ }, z.core.$strict>>;
635
+ projects: z.ZodArray<z.ZodObject<{
636
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
637
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
638
+ current: z.ZodBoolean;
639
+ id: z.ZodUUID;
640
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
641
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
642
+ description: z.ZodString;
643
+ contributions: z.ZodString;
644
+ outcome: z.ZodString;
645
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
646
+ }, z.core.$strict>>;
647
+ educations: z.ZodArray<z.ZodObject<{
648
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
649
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
650
+ current: z.ZodBoolean;
651
+ id: z.ZodUUID;
652
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
653
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
654
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
655
+ }, z.core.$strict>>;
656
+ skills: z.ZodArray<z.ZodObject<{
657
+ id: z.ZodUUID;
658
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
659
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
660
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
661
+ }, z.core.$strict>>;
662
+ supplements: z.ZodArray<z.ZodObject<{
663
+ id: z.ZodUUID;
664
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
665
+ description: z.ZodString;
666
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
667
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
668
+ }, z.core.$strict>>;
669
+ basics: z.ZodObject<{
670
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
671
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
672
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
673
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
674
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
675
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
676
+ email: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>;
677
+ phone: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
678
+ wechat: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
679
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
680
+ }, z.core.$strict>;
681
+ display: z.ZodObject<{
682
+ email: z.ZodBoolean;
683
+ phone: z.ZodBoolean;
684
+ wechat: z.ZodBoolean;
685
+ sections: z.ZodArray<z.ZodObject<{
686
+ key: z.ZodEnum<{
687
+ educations: "educations";
688
+ jobPreference: "jobPreference";
689
+ projects: "projects";
690
+ skills: "skills";
691
+ summary: "summary";
692
+ supplements: "supplements";
693
+ workExperiences: "workExperiences";
694
+ }>;
695
+ visible: z.ZodBoolean;
696
+ }, z.core.$strict>>;
697
+ }, z.core.$strict>;
698
+ }, z.core.$strict>;
699
+ createdAt: z.ZodISODateTime;
700
+ updatedAt: z.ZodISODateTime;
701
+ }, z.core.$strict>;
702
+ }, z.core.$strict>, z.ZodObject<{
703
+ outcome: z.ZodLiteral<"error">;
704
+ kind: z.ZodEnum<{
705
+ conflict: "conflict";
706
+ invalid: "invalid";
707
+ "not-found": "not-found";
708
+ unauthorized: "unauthorized";
709
+ unavailable: "unavailable";
710
+ }>;
711
+ message: z.ZodString;
712
+ }, z.core.$strict>], "outcome">;
713
+ };
714
+ delete: {
715
+ readonly path: "/draft/delete";
716
+ readonly input: z.ZodObject<{
717
+ expectedRevision: z.ZodNumber;
718
+ }, z.core.$strict>;
719
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
720
+ outcome: z.ZodLiteral<"ok">;
721
+ value: z.ZodObject<{
722
+ done: z.ZodLiteral<true>;
723
+ }, z.core.$strict>;
724
+ }, z.core.$strict>, z.ZodObject<{
725
+ outcome: z.ZodLiteral<"error">;
726
+ kind: z.ZodEnum<{
727
+ conflict: "conflict";
728
+ invalid: "invalid";
729
+ "not-found": "not-found";
730
+ unauthorized: "unauthorized";
731
+ unavailable: "unavailable";
732
+ }>;
733
+ message: z.ZodString;
734
+ }, z.core.$strict>], "outcome">;
735
+ };
736
+ createShare: {
737
+ readonly path: "/shares/create";
738
+ readonly input: z.ZodObject<{
739
+ expectedRevision: z.ZodNumber;
740
+ theme: z.ZodDefault<z.ZodEnum<{
741
+ graphite: "graphite";
742
+ navy: "navy";
743
+ paper: "paper";
744
+ sage: "sage";
745
+ swiss: "swiss";
746
+ terracotta: "terracotta";
747
+ }>>;
748
+ days: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>]>;
749
+ note: z.ZodString;
750
+ }, z.core.$strict>;
751
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
752
+ outcome: z.ZodLiteral<"ok">;
753
+ value: z.ZodObject<{
754
+ share: z.ZodObject<{
755
+ id: z.ZodUUID;
756
+ revision: z.ZodNumber;
757
+ note: z.ZodString;
758
+ theme: z.ZodDefault<z.ZodEnum<{
759
+ graphite: "graphite";
760
+ navy: "navy";
761
+ paper: "paper";
762
+ sage: "sage";
763
+ swiss: "swiss";
764
+ terracotta: "terracotta";
765
+ }>>;
766
+ createdAt: z.ZodISODateTime;
767
+ expiresAt: z.ZodISODateTime;
768
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
769
+ status: z.ZodEnum<{
770
+ active: "active";
771
+ expired: "expired";
772
+ revoked: "revoked";
773
+ }>;
774
+ }, z.core.$strict>;
775
+ code: z.ZodString;
776
+ }, z.core.$strict>;
777
+ }, z.core.$strict>, z.ZodObject<{
778
+ outcome: z.ZodLiteral<"error">;
779
+ kind: z.ZodEnum<{
780
+ conflict: "conflict";
781
+ invalid: "invalid";
782
+ "not-found": "not-found";
783
+ unauthorized: "unauthorized";
784
+ unavailable: "unavailable";
785
+ }>;
786
+ message: z.ZodString;
787
+ }, z.core.$strict>], "outcome">;
788
+ };
789
+ listShares: {
790
+ readonly path: "/shares/list";
791
+ readonly input: z.ZodObject<{
792
+ page: z.ZodNumber;
793
+ }, z.core.$strict>;
794
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
795
+ outcome: z.ZodLiteral<"ok">;
796
+ value: z.ZodObject<{
797
+ items: z.ZodArray<z.ZodObject<{
798
+ id: z.ZodUUID;
799
+ revision: z.ZodNumber;
800
+ note: z.ZodString;
801
+ theme: z.ZodDefault<z.ZodEnum<{
802
+ graphite: "graphite";
803
+ navy: "navy";
804
+ paper: "paper";
805
+ sage: "sage";
806
+ swiss: "swiss";
807
+ terracotta: "terracotta";
808
+ }>>;
809
+ createdAt: z.ZodISODateTime;
810
+ expiresAt: z.ZodISODateTime;
811
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
812
+ status: z.ZodEnum<{
813
+ active: "active";
814
+ expired: "expired";
815
+ revoked: "revoked";
816
+ }>;
817
+ }, z.core.$strict>>;
818
+ total: z.ZodNumber;
819
+ page: z.ZodNumber;
820
+ }, z.core.$strict>;
821
+ }, z.core.$strict>, z.ZodObject<{
822
+ outcome: z.ZodLiteral<"error">;
823
+ kind: z.ZodEnum<{
824
+ conflict: "conflict";
825
+ invalid: "invalid";
826
+ "not-found": "not-found";
827
+ unauthorized: "unauthorized";
828
+ unavailable: "unavailable";
829
+ }>;
830
+ message: z.ZodString;
831
+ }, z.core.$strict>], "outcome">;
832
+ };
833
+ revokeShare: {
834
+ readonly path: "/shares/revoke";
835
+ readonly input: z.ZodObject<{
836
+ id: z.ZodUUID;
837
+ }, z.core.$strict>;
838
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
839
+ outcome: z.ZodLiteral<"ok">;
840
+ value: z.ZodObject<{
841
+ done: z.ZodLiteral<true>;
842
+ }, z.core.$strict>;
843
+ }, z.core.$strict>, z.ZodObject<{
844
+ outcome: z.ZodLiteral<"error">;
845
+ kind: z.ZodEnum<{
846
+ conflict: "conflict";
847
+ invalid: "invalid";
848
+ "not-found": "not-found";
849
+ unauthorized: "unauthorized";
850
+ unavailable: "unavailable";
851
+ }>;
852
+ message: z.ZodString;
853
+ }, z.core.$strict>], "outcome">;
854
+ };
855
+ revokeAll: {
856
+ readonly path: "/shares/revoke-all";
857
+ readonly input: z.ZodObject<{}, z.core.$strict>;
858
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
859
+ outcome: z.ZodLiteral<"ok">;
860
+ value: z.ZodObject<{
861
+ done: z.ZodLiteral<true>;
862
+ }, z.core.$strict>;
863
+ }, z.core.$strict>, z.ZodObject<{
864
+ outcome: z.ZodLiteral<"error">;
865
+ kind: z.ZodEnum<{
866
+ conflict: "conflict";
867
+ invalid: "invalid";
868
+ "not-found": "not-found";
869
+ unauthorized: "unauthorized";
870
+ unavailable: "unavailable";
871
+ }>;
872
+ message: z.ZodString;
873
+ }, z.core.$strict>], "outcome">;
874
+ };
875
+ readShare: {
876
+ readonly path: "/public/read";
877
+ readonly input: z.ZodObject<{
878
+ code: z.ZodString;
879
+ }, z.core.$strict>;
880
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
881
+ outcome: z.ZodLiteral<"ok">;
882
+ value: z.ZodObject<{
883
+ document: z.ZodObject<{
884
+ summary: z.ZodString;
885
+ jobPreference: z.ZodObject<{
886
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
887
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
888
+ workMode: z.ZodEnum<{
889
+ hybrid: "hybrid";
890
+ onsite: "onsite";
891
+ remote: "remote";
892
+ unspecified: "unspecified";
893
+ }>;
894
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
895
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
896
+ }, z.core.$strict>;
897
+ workExperiences: z.ZodArray<z.ZodObject<{
898
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
899
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
900
+ current: z.ZodBoolean;
901
+ id: z.ZodUUID;
902
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
903
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
904
+ description: z.ZodString;
905
+ }, z.core.$strict>>;
906
+ projects: z.ZodArray<z.ZodObject<{
907
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
908
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
909
+ current: z.ZodBoolean;
910
+ id: z.ZodUUID;
911
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
912
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
913
+ description: z.ZodString;
914
+ contributions: z.ZodString;
915
+ outcome: z.ZodString;
916
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
917
+ }, z.core.$strict>>;
918
+ educations: z.ZodArray<z.ZodObject<{
919
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
920
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
921
+ current: z.ZodBoolean;
922
+ id: z.ZodUUID;
923
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
924
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
925
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
926
+ }, z.core.$strict>>;
927
+ skills: z.ZodArray<z.ZodObject<{
928
+ id: z.ZodUUID;
929
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
930
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
931
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
932
+ }, z.core.$strict>>;
933
+ supplements: z.ZodArray<z.ZodObject<{
934
+ id: z.ZodUUID;
935
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
936
+ description: z.ZodString;
937
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
938
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
939
+ }, z.core.$strict>>;
940
+ basics: z.ZodObject<{
941
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
942
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
943
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
944
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
945
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
946
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
947
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
948
+ email: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>>;
949
+ phone: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
950
+ wechat: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
951
+ }, z.core.$strict>;
952
+ sectionOrder: z.ZodArray<z.ZodEnum<{
953
+ educations: "educations";
954
+ jobPreference: "jobPreference";
955
+ projects: "projects";
956
+ skills: "skills";
957
+ summary: "summary";
958
+ supplements: "supplements";
959
+ workExperiences: "workExperiences";
960
+ }>>;
961
+ }, z.core.$strict>;
962
+ theme: z.ZodDefault<z.ZodEnum<{
963
+ graphite: "graphite";
964
+ navy: "navy";
965
+ paper: "paper";
966
+ sage: "sage";
967
+ swiss: "swiss";
968
+ terracotta: "terracotta";
969
+ }>>;
970
+ expiresAt: z.ZodISODateTime;
971
+ }, z.core.$strict>;
972
+ }, z.core.$strict>, z.ZodObject<{
973
+ outcome: z.ZodLiteral<"error">;
974
+ kind: z.ZodEnum<{
975
+ conflict: "conflict";
976
+ invalid: "invalid";
977
+ "not-found": "not-found";
978
+ unauthorized: "unauthorized";
979
+ unavailable: "unavailable";
980
+ }>;
981
+ message: z.ZodString;
982
+ }, z.core.$strict>], "outcome">;
983
+ };
984
+ }>;
985
+ }>;
986
+ export declare const createResumeMicroClient: (caller: Parameters<typeof createMicroClient>[0]) => import("@hile/micro-contract").MicroClient<Readonly<{
987
+ namespace: string;
988
+ operations: Readonly<{
989
+ read: {
990
+ readonly path: "/workspace/read";
991
+ readonly input: z.ZodObject<{}, z.core.$strict>;
992
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
993
+ outcome: z.ZodLiteral<"ok">;
994
+ value: z.ZodObject<{
995
+ resume: z.ZodNullable<z.ZodObject<{
996
+ id: z.ZodUUID;
997
+ revision: z.ZodNumber;
998
+ document: z.ZodObject<{
999
+ summary: z.ZodString;
1000
+ jobPreference: z.ZodObject<{
1001
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1002
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1003
+ workMode: z.ZodEnum<{
1004
+ hybrid: "hybrid";
1005
+ onsite: "onsite";
1006
+ remote: "remote";
1007
+ unspecified: "unspecified";
1008
+ }>;
1009
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1010
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1011
+ }, z.core.$strict>;
1012
+ workExperiences: z.ZodArray<z.ZodObject<{
1013
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1014
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1015
+ current: z.ZodBoolean;
1016
+ id: z.ZodUUID;
1017
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1018
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1019
+ description: z.ZodString;
1020
+ }, z.core.$strict>>;
1021
+ projects: z.ZodArray<z.ZodObject<{
1022
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1023
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1024
+ current: z.ZodBoolean;
1025
+ id: z.ZodUUID;
1026
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1027
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1028
+ description: z.ZodString;
1029
+ contributions: z.ZodString;
1030
+ outcome: z.ZodString;
1031
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1032
+ }, z.core.$strict>>;
1033
+ educations: z.ZodArray<z.ZodObject<{
1034
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1035
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1036
+ current: z.ZodBoolean;
1037
+ id: z.ZodUUID;
1038
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1039
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1040
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1041
+ }, z.core.$strict>>;
1042
+ skills: z.ZodArray<z.ZodObject<{
1043
+ id: z.ZodUUID;
1044
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1045
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1046
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1047
+ }, z.core.$strict>>;
1048
+ supplements: z.ZodArray<z.ZodObject<{
1049
+ id: z.ZodUUID;
1050
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1051
+ description: z.ZodString;
1052
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1053
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1054
+ }, z.core.$strict>>;
1055
+ basics: z.ZodObject<{
1056
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1057
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1058
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1059
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1060
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
1061
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
1062
+ email: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>;
1063
+ phone: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1064
+ wechat: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1065
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1066
+ }, z.core.$strict>;
1067
+ display: z.ZodObject<{
1068
+ email: z.ZodBoolean;
1069
+ phone: z.ZodBoolean;
1070
+ wechat: z.ZodBoolean;
1071
+ sections: z.ZodArray<z.ZodObject<{
1072
+ key: z.ZodEnum<{
1073
+ educations: "educations";
1074
+ jobPreference: "jobPreference";
1075
+ projects: "projects";
1076
+ skills: "skills";
1077
+ summary: "summary";
1078
+ supplements: "supplements";
1079
+ workExperiences: "workExperiences";
1080
+ }>;
1081
+ visible: z.ZodBoolean;
1082
+ }, z.core.$strict>>;
1083
+ }, z.core.$strict>;
1084
+ }, z.core.$strict>;
1085
+ createdAt: z.ZodISODateTime;
1086
+ updatedAt: z.ZodISODateTime;
1087
+ }, z.core.$strict>>;
1088
+ }, z.core.$strict>;
1089
+ }, z.core.$strict>, z.ZodObject<{
1090
+ outcome: z.ZodLiteral<"error">;
1091
+ kind: z.ZodEnum<{
1092
+ conflict: "conflict";
1093
+ invalid: "invalid";
1094
+ "not-found": "not-found";
1095
+ unauthorized: "unauthorized";
1096
+ unavailable: "unavailable";
1097
+ }>;
1098
+ message: z.ZodString;
1099
+ }, z.core.$strict>], "outcome">;
1100
+ };
1101
+ save: {
1102
+ readonly path: "/draft/save";
1103
+ readonly input: z.ZodObject<{
1104
+ expectedRevision: z.ZodNumber;
1105
+ document: z.ZodObject<{
1106
+ summary: z.ZodString;
1107
+ jobPreference: z.ZodObject<{
1108
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1109
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1110
+ workMode: z.ZodEnum<{
1111
+ hybrid: "hybrid";
1112
+ onsite: "onsite";
1113
+ remote: "remote";
1114
+ unspecified: "unspecified";
1115
+ }>;
1116
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1117
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1118
+ }, z.core.$strict>;
1119
+ workExperiences: z.ZodArray<z.ZodObject<{
1120
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1121
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1122
+ current: z.ZodBoolean;
1123
+ id: z.ZodUUID;
1124
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1125
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1126
+ description: z.ZodString;
1127
+ }, z.core.$strict>>;
1128
+ projects: z.ZodArray<z.ZodObject<{
1129
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1130
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1131
+ current: z.ZodBoolean;
1132
+ id: z.ZodUUID;
1133
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1134
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1135
+ description: z.ZodString;
1136
+ contributions: z.ZodString;
1137
+ outcome: z.ZodString;
1138
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1139
+ }, z.core.$strict>>;
1140
+ educations: z.ZodArray<z.ZodObject<{
1141
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1142
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1143
+ current: z.ZodBoolean;
1144
+ id: z.ZodUUID;
1145
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1146
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1147
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1148
+ }, z.core.$strict>>;
1149
+ skills: z.ZodArray<z.ZodObject<{
1150
+ id: z.ZodUUID;
1151
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1152
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1153
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1154
+ }, z.core.$strict>>;
1155
+ supplements: z.ZodArray<z.ZodObject<{
1156
+ id: z.ZodUUID;
1157
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1158
+ description: z.ZodString;
1159
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1160
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1161
+ }, z.core.$strict>>;
1162
+ basics: z.ZodObject<{
1163
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1164
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1165
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1166
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1167
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
1168
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
1169
+ email: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>;
1170
+ phone: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1171
+ wechat: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1172
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1173
+ }, z.core.$strict>;
1174
+ display: z.ZodObject<{
1175
+ email: z.ZodBoolean;
1176
+ phone: z.ZodBoolean;
1177
+ wechat: z.ZodBoolean;
1178
+ sections: z.ZodArray<z.ZodObject<{
1179
+ key: z.ZodEnum<{
1180
+ educations: "educations";
1181
+ jobPreference: "jobPreference";
1182
+ projects: "projects";
1183
+ skills: "skills";
1184
+ summary: "summary";
1185
+ supplements: "supplements";
1186
+ workExperiences: "workExperiences";
1187
+ }>;
1188
+ visible: z.ZodBoolean;
1189
+ }, z.core.$strict>>;
1190
+ }, z.core.$strict>;
1191
+ }, z.core.$strict>;
1192
+ }, z.core.$strict>;
1193
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1194
+ outcome: z.ZodLiteral<"ok">;
1195
+ value: z.ZodObject<{
1196
+ id: z.ZodUUID;
1197
+ revision: z.ZodNumber;
1198
+ document: z.ZodObject<{
1199
+ summary: z.ZodString;
1200
+ jobPreference: z.ZodObject<{
1201
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1202
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1203
+ workMode: z.ZodEnum<{
1204
+ hybrid: "hybrid";
1205
+ onsite: "onsite";
1206
+ remote: "remote";
1207
+ unspecified: "unspecified";
1208
+ }>;
1209
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1210
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1211
+ }, z.core.$strict>;
1212
+ workExperiences: z.ZodArray<z.ZodObject<{
1213
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1214
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1215
+ current: z.ZodBoolean;
1216
+ id: z.ZodUUID;
1217
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1218
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1219
+ description: z.ZodString;
1220
+ }, z.core.$strict>>;
1221
+ projects: z.ZodArray<z.ZodObject<{
1222
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1223
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1224
+ current: z.ZodBoolean;
1225
+ id: z.ZodUUID;
1226
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1227
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1228
+ description: z.ZodString;
1229
+ contributions: z.ZodString;
1230
+ outcome: z.ZodString;
1231
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1232
+ }, z.core.$strict>>;
1233
+ educations: z.ZodArray<z.ZodObject<{
1234
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1235
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1236
+ current: z.ZodBoolean;
1237
+ id: z.ZodUUID;
1238
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1239
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1240
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1241
+ }, z.core.$strict>>;
1242
+ skills: z.ZodArray<z.ZodObject<{
1243
+ id: z.ZodUUID;
1244
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1245
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1246
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1247
+ }, z.core.$strict>>;
1248
+ supplements: z.ZodArray<z.ZodObject<{
1249
+ id: z.ZodUUID;
1250
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1251
+ description: z.ZodString;
1252
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1253
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1254
+ }, z.core.$strict>>;
1255
+ basics: z.ZodObject<{
1256
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1257
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1258
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1259
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1260
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
1261
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
1262
+ email: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>;
1263
+ phone: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1264
+ wechat: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1265
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1266
+ }, z.core.$strict>;
1267
+ display: z.ZodObject<{
1268
+ email: z.ZodBoolean;
1269
+ phone: z.ZodBoolean;
1270
+ wechat: z.ZodBoolean;
1271
+ sections: z.ZodArray<z.ZodObject<{
1272
+ key: z.ZodEnum<{
1273
+ educations: "educations";
1274
+ jobPreference: "jobPreference";
1275
+ projects: "projects";
1276
+ skills: "skills";
1277
+ summary: "summary";
1278
+ supplements: "supplements";
1279
+ workExperiences: "workExperiences";
1280
+ }>;
1281
+ visible: z.ZodBoolean;
1282
+ }, z.core.$strict>>;
1283
+ }, z.core.$strict>;
1284
+ }, z.core.$strict>;
1285
+ createdAt: z.ZodISODateTime;
1286
+ updatedAt: z.ZodISODateTime;
1287
+ }, z.core.$strict>;
1288
+ }, z.core.$strict>, z.ZodObject<{
1289
+ outcome: z.ZodLiteral<"error">;
1290
+ kind: z.ZodEnum<{
1291
+ conflict: "conflict";
1292
+ invalid: "invalid";
1293
+ "not-found": "not-found";
1294
+ unauthorized: "unauthorized";
1295
+ unavailable: "unavailable";
1296
+ }>;
1297
+ message: z.ZodString;
1298
+ }, z.core.$strict>], "outcome">;
1299
+ };
1300
+ delete: {
1301
+ readonly path: "/draft/delete";
1302
+ readonly input: z.ZodObject<{
1303
+ expectedRevision: z.ZodNumber;
1304
+ }, z.core.$strict>;
1305
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1306
+ outcome: z.ZodLiteral<"ok">;
1307
+ value: z.ZodObject<{
1308
+ done: z.ZodLiteral<true>;
1309
+ }, z.core.$strict>;
1310
+ }, z.core.$strict>, z.ZodObject<{
1311
+ outcome: z.ZodLiteral<"error">;
1312
+ kind: z.ZodEnum<{
1313
+ conflict: "conflict";
1314
+ invalid: "invalid";
1315
+ "not-found": "not-found";
1316
+ unauthorized: "unauthorized";
1317
+ unavailable: "unavailable";
1318
+ }>;
1319
+ message: z.ZodString;
1320
+ }, z.core.$strict>], "outcome">;
1321
+ };
1322
+ createShare: {
1323
+ readonly path: "/shares/create";
1324
+ readonly input: z.ZodObject<{
1325
+ expectedRevision: z.ZodNumber;
1326
+ theme: z.ZodDefault<z.ZodEnum<{
1327
+ graphite: "graphite";
1328
+ navy: "navy";
1329
+ paper: "paper";
1330
+ sage: "sage";
1331
+ swiss: "swiss";
1332
+ terracotta: "terracotta";
1333
+ }>>;
1334
+ days: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>]>;
1335
+ note: z.ZodString;
1336
+ }, z.core.$strict>;
1337
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1338
+ outcome: z.ZodLiteral<"ok">;
1339
+ value: z.ZodObject<{
1340
+ share: z.ZodObject<{
1341
+ id: z.ZodUUID;
1342
+ revision: z.ZodNumber;
1343
+ note: z.ZodString;
1344
+ theme: z.ZodDefault<z.ZodEnum<{
1345
+ graphite: "graphite";
1346
+ navy: "navy";
1347
+ paper: "paper";
1348
+ sage: "sage";
1349
+ swiss: "swiss";
1350
+ terracotta: "terracotta";
1351
+ }>>;
1352
+ createdAt: z.ZodISODateTime;
1353
+ expiresAt: z.ZodISODateTime;
1354
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
1355
+ status: z.ZodEnum<{
1356
+ active: "active";
1357
+ expired: "expired";
1358
+ revoked: "revoked";
1359
+ }>;
1360
+ }, z.core.$strict>;
1361
+ code: z.ZodString;
1362
+ }, z.core.$strict>;
1363
+ }, z.core.$strict>, z.ZodObject<{
1364
+ outcome: z.ZodLiteral<"error">;
1365
+ kind: z.ZodEnum<{
1366
+ conflict: "conflict";
1367
+ invalid: "invalid";
1368
+ "not-found": "not-found";
1369
+ unauthorized: "unauthorized";
1370
+ unavailable: "unavailable";
1371
+ }>;
1372
+ message: z.ZodString;
1373
+ }, z.core.$strict>], "outcome">;
1374
+ };
1375
+ listShares: {
1376
+ readonly path: "/shares/list";
1377
+ readonly input: z.ZodObject<{
1378
+ page: z.ZodNumber;
1379
+ }, z.core.$strict>;
1380
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1381
+ outcome: z.ZodLiteral<"ok">;
1382
+ value: z.ZodObject<{
1383
+ items: z.ZodArray<z.ZodObject<{
1384
+ id: z.ZodUUID;
1385
+ revision: z.ZodNumber;
1386
+ note: z.ZodString;
1387
+ theme: z.ZodDefault<z.ZodEnum<{
1388
+ graphite: "graphite";
1389
+ navy: "navy";
1390
+ paper: "paper";
1391
+ sage: "sage";
1392
+ swiss: "swiss";
1393
+ terracotta: "terracotta";
1394
+ }>>;
1395
+ createdAt: z.ZodISODateTime;
1396
+ expiresAt: z.ZodISODateTime;
1397
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
1398
+ status: z.ZodEnum<{
1399
+ active: "active";
1400
+ expired: "expired";
1401
+ revoked: "revoked";
1402
+ }>;
1403
+ }, z.core.$strict>>;
1404
+ total: z.ZodNumber;
1405
+ page: z.ZodNumber;
1406
+ }, z.core.$strict>;
1407
+ }, z.core.$strict>, z.ZodObject<{
1408
+ outcome: z.ZodLiteral<"error">;
1409
+ kind: z.ZodEnum<{
1410
+ conflict: "conflict";
1411
+ invalid: "invalid";
1412
+ "not-found": "not-found";
1413
+ unauthorized: "unauthorized";
1414
+ unavailable: "unavailable";
1415
+ }>;
1416
+ message: z.ZodString;
1417
+ }, z.core.$strict>], "outcome">;
1418
+ };
1419
+ revokeShare: {
1420
+ readonly path: "/shares/revoke";
1421
+ readonly input: z.ZodObject<{
1422
+ id: z.ZodUUID;
1423
+ }, z.core.$strict>;
1424
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1425
+ outcome: z.ZodLiteral<"ok">;
1426
+ value: z.ZodObject<{
1427
+ done: z.ZodLiteral<true>;
1428
+ }, z.core.$strict>;
1429
+ }, z.core.$strict>, z.ZodObject<{
1430
+ outcome: z.ZodLiteral<"error">;
1431
+ kind: z.ZodEnum<{
1432
+ conflict: "conflict";
1433
+ invalid: "invalid";
1434
+ "not-found": "not-found";
1435
+ unauthorized: "unauthorized";
1436
+ unavailable: "unavailable";
1437
+ }>;
1438
+ message: z.ZodString;
1439
+ }, z.core.$strict>], "outcome">;
1440
+ };
1441
+ revokeAll: {
1442
+ readonly path: "/shares/revoke-all";
1443
+ readonly input: z.ZodObject<{}, z.core.$strict>;
1444
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1445
+ outcome: z.ZodLiteral<"ok">;
1446
+ value: z.ZodObject<{
1447
+ done: z.ZodLiteral<true>;
1448
+ }, z.core.$strict>;
1449
+ }, z.core.$strict>, z.ZodObject<{
1450
+ outcome: z.ZodLiteral<"error">;
1451
+ kind: z.ZodEnum<{
1452
+ conflict: "conflict";
1453
+ invalid: "invalid";
1454
+ "not-found": "not-found";
1455
+ unauthorized: "unauthorized";
1456
+ unavailable: "unavailable";
1457
+ }>;
1458
+ message: z.ZodString;
1459
+ }, z.core.$strict>], "outcome">;
1460
+ };
1461
+ readShare: {
1462
+ readonly path: "/public/read";
1463
+ readonly input: z.ZodObject<{
1464
+ code: z.ZodString;
1465
+ }, z.core.$strict>;
1466
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1467
+ outcome: z.ZodLiteral<"ok">;
1468
+ value: z.ZodObject<{
1469
+ document: z.ZodObject<{
1470
+ summary: z.ZodString;
1471
+ jobPreference: z.ZodObject<{
1472
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1473
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1474
+ workMode: z.ZodEnum<{
1475
+ hybrid: "hybrid";
1476
+ onsite: "onsite";
1477
+ remote: "remote";
1478
+ unspecified: "unspecified";
1479
+ }>;
1480
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1481
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1482
+ }, z.core.$strict>;
1483
+ workExperiences: z.ZodArray<z.ZodObject<{
1484
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1485
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1486
+ current: z.ZodBoolean;
1487
+ id: z.ZodUUID;
1488
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1489
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1490
+ description: z.ZodString;
1491
+ }, z.core.$strict>>;
1492
+ projects: z.ZodArray<z.ZodObject<{
1493
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1494
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1495
+ current: z.ZodBoolean;
1496
+ id: z.ZodUUID;
1497
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1498
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1499
+ description: z.ZodString;
1500
+ contributions: z.ZodString;
1501
+ outcome: z.ZodString;
1502
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1503
+ }, z.core.$strict>>;
1504
+ educations: z.ZodArray<z.ZodObject<{
1505
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1506
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1507
+ current: z.ZodBoolean;
1508
+ id: z.ZodUUID;
1509
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1510
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1511
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1512
+ }, z.core.$strict>>;
1513
+ skills: z.ZodArray<z.ZodObject<{
1514
+ id: z.ZodUUID;
1515
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1516
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1517
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1518
+ }, z.core.$strict>>;
1519
+ supplements: z.ZodArray<z.ZodObject<{
1520
+ id: z.ZodUUID;
1521
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1522
+ description: z.ZodString;
1523
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1524
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1525
+ }, z.core.$strict>>;
1526
+ basics: z.ZodObject<{
1527
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1528
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1529
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1530
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1531
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
1532
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
1533
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1534
+ email: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>>;
1535
+ phone: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1536
+ wechat: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1537
+ }, z.core.$strict>;
1538
+ sectionOrder: z.ZodArray<z.ZodEnum<{
1539
+ educations: "educations";
1540
+ jobPreference: "jobPreference";
1541
+ projects: "projects";
1542
+ skills: "skills";
1543
+ summary: "summary";
1544
+ supplements: "supplements";
1545
+ workExperiences: "workExperiences";
1546
+ }>>;
1547
+ }, z.core.$strict>;
1548
+ theme: z.ZodDefault<z.ZodEnum<{
1549
+ graphite: "graphite";
1550
+ navy: "navy";
1551
+ paper: "paper";
1552
+ sage: "sage";
1553
+ swiss: "swiss";
1554
+ terracotta: "terracotta";
1555
+ }>>;
1556
+ expiresAt: z.ZodISODateTime;
1557
+ }, z.core.$strict>;
1558
+ }, z.core.$strict>, z.ZodObject<{
1559
+ outcome: z.ZodLiteral<"error">;
1560
+ kind: z.ZodEnum<{
1561
+ conflict: "conflict";
1562
+ invalid: "invalid";
1563
+ "not-found": "not-found";
1564
+ unauthorized: "unauthorized";
1565
+ unavailable: "unavailable";
1566
+ }>;
1567
+ message: z.ZodString;
1568
+ }, z.core.$strict>], "outcome">;
1569
+ };
1570
+ }>;
1571
+ }>>;
1572
+ export declare function resumeBrowserPath(operation: keyof typeof resumeContract.operations): string;
1573
+ export type ResumeRecord = z.infer<typeof resumeRecordSchema>;
1574
+ export type ResumeShare = z.infer<typeof resumeShareSchema>;
1575
+ export type SharedResume = z.infer<typeof sharedResumeSchema>;
1576
+ export declare const resumeInitialSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1577
+ status: z.ZodLiteral<"anonymous">;
1578
+ }, z.core.$strict>, z.ZodObject<{
1579
+ status: z.ZodLiteral<"unavailable">;
1580
+ }, z.core.$strict>, z.ZodObject<{
1581
+ status: z.ZodLiteral<"missing">;
1582
+ }, z.core.$strict>, z.ZodObject<{
1583
+ status: z.ZodLiteral<"shared">;
1584
+ share: z.ZodObject<{
1585
+ document: z.ZodObject<{
1586
+ summary: z.ZodString;
1587
+ jobPreference: z.ZodObject<{
1588
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1589
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1590
+ workMode: z.ZodEnum<{
1591
+ hybrid: "hybrid";
1592
+ onsite: "onsite";
1593
+ remote: "remote";
1594
+ unspecified: "unspecified";
1595
+ }>;
1596
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1597
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1598
+ }, z.core.$strict>;
1599
+ workExperiences: z.ZodArray<z.ZodObject<{
1600
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1601
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1602
+ current: z.ZodBoolean;
1603
+ id: z.ZodUUID;
1604
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1605
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1606
+ description: z.ZodString;
1607
+ }, z.core.$strict>>;
1608
+ projects: z.ZodArray<z.ZodObject<{
1609
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1610
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1611
+ current: z.ZodBoolean;
1612
+ id: z.ZodUUID;
1613
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1614
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1615
+ description: z.ZodString;
1616
+ contributions: z.ZodString;
1617
+ outcome: z.ZodString;
1618
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1619
+ }, z.core.$strict>>;
1620
+ educations: z.ZodArray<z.ZodObject<{
1621
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1622
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1623
+ current: z.ZodBoolean;
1624
+ id: z.ZodUUID;
1625
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1626
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1627
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1628
+ }, z.core.$strict>>;
1629
+ skills: z.ZodArray<z.ZodObject<{
1630
+ id: z.ZodUUID;
1631
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1632
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1633
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1634
+ }, z.core.$strict>>;
1635
+ supplements: z.ZodArray<z.ZodObject<{
1636
+ id: z.ZodUUID;
1637
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1638
+ description: z.ZodString;
1639
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1640
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1641
+ }, z.core.$strict>>;
1642
+ basics: z.ZodObject<{
1643
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1644
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1645
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1646
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1647
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
1648
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
1649
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1650
+ email: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>>;
1651
+ phone: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1652
+ wechat: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1653
+ }, z.core.$strict>;
1654
+ sectionOrder: z.ZodArray<z.ZodEnum<{
1655
+ educations: "educations";
1656
+ jobPreference: "jobPreference";
1657
+ projects: "projects";
1658
+ skills: "skills";
1659
+ summary: "summary";
1660
+ supplements: "supplements";
1661
+ workExperiences: "workExperiences";
1662
+ }>>;
1663
+ }, z.core.$strict>;
1664
+ theme: z.ZodDefault<z.ZodEnum<{
1665
+ graphite: "graphite";
1666
+ navy: "navy";
1667
+ paper: "paper";
1668
+ sage: "sage";
1669
+ swiss: "swiss";
1670
+ terracotta: "terracotta";
1671
+ }>>;
1672
+ expiresAt: z.ZodISODateTime;
1673
+ }, z.core.$strict>;
1674
+ }, z.core.$strict>, z.ZodObject<{
1675
+ status: z.ZodLiteral<"owner">;
1676
+ resume: z.ZodNullable<z.ZodObject<{
1677
+ id: z.ZodUUID;
1678
+ revision: z.ZodNumber;
1679
+ document: z.ZodObject<{
1680
+ summary: z.ZodString;
1681
+ jobPreference: z.ZodObject<{
1682
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1683
+ cities: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1684
+ workMode: z.ZodEnum<{
1685
+ hybrid: "hybrid";
1686
+ onsite: "onsite";
1687
+ remote: "remote";
1688
+ unspecified: "unspecified";
1689
+ }>;
1690
+ availability: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1691
+ salary: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1692
+ }, z.core.$strict>;
1693
+ workExperiences: z.ZodArray<z.ZodObject<{
1694
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1695
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1696
+ current: z.ZodBoolean;
1697
+ id: z.ZodUUID;
1698
+ company: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1699
+ position: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1700
+ description: z.ZodString;
1701
+ }, z.core.$strict>>;
1702
+ projects: z.ZodArray<z.ZodObject<{
1703
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1704
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1705
+ current: z.ZodBoolean;
1706
+ id: z.ZodUUID;
1707
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1708
+ role: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1709
+ description: z.ZodString;
1710
+ contributions: z.ZodString;
1711
+ outcome: z.ZodString;
1712
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1713
+ }, z.core.$strict>>;
1714
+ educations: z.ZodArray<z.ZodObject<{
1715
+ startMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1716
+ endMonth: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1717
+ current: z.ZodBoolean;
1718
+ id: z.ZodUUID;
1719
+ school: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1720
+ major: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1721
+ degree: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1722
+ }, z.core.$strict>>;
1723
+ skills: z.ZodArray<z.ZodObject<{
1724
+ id: z.ZodUUID;
1725
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1726
+ category: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1727
+ level: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1728
+ }, z.core.$strict>>;
1729
+ supplements: z.ZodArray<z.ZodObject<{
1730
+ id: z.ZodUUID;
1731
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1732
+ description: z.ZodString;
1733
+ date: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1734
+ url: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1735
+ }, z.core.$strict>>;
1736
+ basics: z.ZodObject<{
1737
+ name: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1738
+ title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1739
+ avatarUrl: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1740
+ city: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1741
+ birthDate: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodISODate]>>;
1742
+ workStartMonth: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>>;
1743
+ email: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEmail]>;
1744
+ phone: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1745
+ wechat: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
1746
+ homepage: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodURL]>;
1747
+ }, z.core.$strict>;
1748
+ display: z.ZodObject<{
1749
+ email: z.ZodBoolean;
1750
+ phone: z.ZodBoolean;
1751
+ wechat: z.ZodBoolean;
1752
+ sections: z.ZodArray<z.ZodObject<{
1753
+ key: z.ZodEnum<{
1754
+ educations: "educations";
1755
+ jobPreference: "jobPreference";
1756
+ projects: "projects";
1757
+ skills: "skills";
1758
+ summary: "summary";
1759
+ supplements: "supplements";
1760
+ workExperiences: "workExperiences";
1761
+ }>;
1762
+ visible: z.ZodBoolean;
1763
+ }, z.core.$strict>>;
1764
+ }, z.core.$strict>;
1765
+ }, z.core.$strict>;
1766
+ createdAt: z.ZodISODateTime;
1767
+ updatedAt: z.ZodISODateTime;
1768
+ }, z.core.$strict>>;
1769
+ }, z.core.$strict>], "status">;
1770
+ export type ResumeInitial = z.infer<typeof resumeInitialSchema>;
1771
+ //# sourceMappingURL=index.d.ts.map