@deepintel-ltd/farmpro-contracts 1.11.2 → 1.11.3

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.
@@ -54,6 +54,418 @@ export declare const adminCreateUserSchema: z.ZodObject<{
54
54
  phone?: string | undefined;
55
55
  };
56
56
  }>;
57
+ export declare const adminUserListAttributesSchema: z.ZodObject<{
58
+ name: z.ZodString;
59
+ email: z.ZodString;
60
+ phone: z.ZodNullable<z.ZodString>;
61
+ emailVerified: z.ZodBoolean;
62
+ isPlatformAdmin: z.ZodBoolean;
63
+ } & {
64
+ createdAt: z.ZodString;
65
+ updatedAt: z.ZodString;
66
+ }, "strip", z.ZodTypeAny, {
67
+ email: string;
68
+ createdAt: string;
69
+ updatedAt: string;
70
+ name: string;
71
+ phone: string | null;
72
+ emailVerified: boolean;
73
+ isPlatformAdmin: boolean;
74
+ }, {
75
+ email: string;
76
+ createdAt: string;
77
+ updatedAt: string;
78
+ name: string;
79
+ phone: string | null;
80
+ emailVerified: boolean;
81
+ isPlatformAdmin: boolean;
82
+ }>;
83
+ export declare const adminUserListResourceSchema: z.ZodObject<{
84
+ type: z.ZodLiteral<string>;
85
+ id: z.ZodString;
86
+ attributes: z.ZodObject<{
87
+ name: z.ZodString;
88
+ email: z.ZodString;
89
+ phone: z.ZodNullable<z.ZodString>;
90
+ emailVerified: z.ZodBoolean;
91
+ isPlatformAdmin: z.ZodBoolean;
92
+ } & {
93
+ createdAt: z.ZodString;
94
+ updatedAt: z.ZodString;
95
+ }, "strip", z.ZodTypeAny, {
96
+ email: string;
97
+ createdAt: string;
98
+ updatedAt: string;
99
+ name: string;
100
+ phone: string | null;
101
+ emailVerified: boolean;
102
+ isPlatformAdmin: boolean;
103
+ }, {
104
+ email: string;
105
+ createdAt: string;
106
+ updatedAt: string;
107
+ name: string;
108
+ phone: string | null;
109
+ emailVerified: boolean;
110
+ isPlatformAdmin: boolean;
111
+ }>;
112
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
113
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
114
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ type: string;
117
+ id: string;
118
+ attributes: {
119
+ email: string;
120
+ createdAt: string;
121
+ updatedAt: string;
122
+ name: string;
123
+ phone: string | null;
124
+ emailVerified: boolean;
125
+ isPlatformAdmin: boolean;
126
+ };
127
+ relationships?: Record<string, unknown> | undefined;
128
+ links?: Record<string, string> | undefined;
129
+ meta?: Record<string, unknown> | undefined;
130
+ }, {
131
+ type: string;
132
+ id: string;
133
+ attributes: {
134
+ email: string;
135
+ createdAt: string;
136
+ updatedAt: string;
137
+ name: string;
138
+ phone: string | null;
139
+ emailVerified: boolean;
140
+ isPlatformAdmin: boolean;
141
+ };
142
+ relationships?: Record<string, unknown> | undefined;
143
+ links?: Record<string, string> | undefined;
144
+ meta?: Record<string, unknown> | undefined;
145
+ }>;
146
+ export declare const adminUserListResponseSchema: z.ZodObject<{
147
+ data: z.ZodArray<z.ZodObject<{
148
+ type: z.ZodLiteral<string>;
149
+ id: z.ZodString;
150
+ attributes: z.ZodObject<{
151
+ name: z.ZodString;
152
+ email: z.ZodString;
153
+ phone: z.ZodNullable<z.ZodString>;
154
+ emailVerified: z.ZodBoolean;
155
+ isPlatformAdmin: z.ZodBoolean;
156
+ } & {
157
+ createdAt: z.ZodString;
158
+ updatedAt: z.ZodString;
159
+ }, "strip", z.ZodTypeAny, {
160
+ email: string;
161
+ createdAt: string;
162
+ updatedAt: string;
163
+ name: string;
164
+ phone: string | null;
165
+ emailVerified: boolean;
166
+ isPlatformAdmin: boolean;
167
+ }, {
168
+ email: string;
169
+ createdAt: string;
170
+ updatedAt: string;
171
+ name: string;
172
+ phone: string | null;
173
+ emailVerified: boolean;
174
+ isPlatformAdmin: boolean;
175
+ }>;
176
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
177
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
178
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ type: string;
181
+ id: string;
182
+ attributes: {
183
+ email: string;
184
+ createdAt: string;
185
+ updatedAt: string;
186
+ name: string;
187
+ phone: string | null;
188
+ emailVerified: boolean;
189
+ isPlatformAdmin: boolean;
190
+ };
191
+ relationships?: Record<string, unknown> | undefined;
192
+ links?: Record<string, string> | undefined;
193
+ meta?: Record<string, unknown> | undefined;
194
+ }, {
195
+ type: string;
196
+ id: string;
197
+ attributes: {
198
+ email: string;
199
+ createdAt: string;
200
+ updatedAt: string;
201
+ name: string;
202
+ phone: string | null;
203
+ emailVerified: boolean;
204
+ isPlatformAdmin: boolean;
205
+ };
206
+ relationships?: Record<string, unknown> | undefined;
207
+ links?: Record<string, string> | undefined;
208
+ meta?: Record<string, unknown> | undefined;
209
+ }>, "many">;
210
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
211
+ type: z.ZodString;
212
+ id: z.ZodString;
213
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
214
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
215
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
216
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
217
+ }, "strip", z.ZodTypeAny, {
218
+ type: string;
219
+ id: string;
220
+ attributes?: Record<string, unknown> | undefined;
221
+ relationships?: Record<string, unknown> | undefined;
222
+ links?: Record<string, string> | undefined;
223
+ meta?: Record<string, unknown> | undefined;
224
+ }, {
225
+ type: string;
226
+ id: string;
227
+ attributes?: Record<string, unknown> | undefined;
228
+ relationships?: Record<string, unknown> | undefined;
229
+ links?: Record<string, string> | undefined;
230
+ meta?: Record<string, unknown> | undefined;
231
+ }>, "many">>;
232
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
233
+ } & {
234
+ meta: z.ZodOptional<z.ZodObject<{
235
+ totalRecords: z.ZodNumber;
236
+ totalPages: z.ZodNumber;
237
+ currentPage: z.ZodNumber;
238
+ pageSize: z.ZodNumber;
239
+ }, "strip", z.ZodTypeAny, {
240
+ totalRecords: number;
241
+ totalPages: number;
242
+ currentPage: number;
243
+ pageSize: number;
244
+ }, {
245
+ totalRecords: number;
246
+ totalPages: number;
247
+ currentPage: number;
248
+ pageSize: number;
249
+ }>>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ data: {
252
+ type: string;
253
+ id: string;
254
+ attributes: {
255
+ email: string;
256
+ createdAt: string;
257
+ updatedAt: string;
258
+ name: string;
259
+ phone: string | null;
260
+ emailVerified: boolean;
261
+ isPlatformAdmin: boolean;
262
+ };
263
+ relationships?: Record<string, unknown> | undefined;
264
+ links?: Record<string, string> | undefined;
265
+ meta?: Record<string, unknown> | undefined;
266
+ }[];
267
+ links?: Record<string, string> | undefined;
268
+ meta?: {
269
+ totalRecords: number;
270
+ totalPages: number;
271
+ currentPage: number;
272
+ pageSize: number;
273
+ } | undefined;
274
+ included?: {
275
+ type: string;
276
+ id: string;
277
+ attributes?: Record<string, unknown> | undefined;
278
+ relationships?: Record<string, unknown> | undefined;
279
+ links?: Record<string, string> | undefined;
280
+ meta?: Record<string, unknown> | undefined;
281
+ }[] | undefined;
282
+ }, {
283
+ data: {
284
+ type: string;
285
+ id: string;
286
+ attributes: {
287
+ email: string;
288
+ createdAt: string;
289
+ updatedAt: string;
290
+ name: string;
291
+ phone: string | null;
292
+ emailVerified: boolean;
293
+ isPlatformAdmin: boolean;
294
+ };
295
+ relationships?: Record<string, unknown> | undefined;
296
+ links?: Record<string, string> | undefined;
297
+ meta?: Record<string, unknown> | undefined;
298
+ }[];
299
+ links?: Record<string, string> | undefined;
300
+ meta?: {
301
+ totalRecords: number;
302
+ totalPages: number;
303
+ currentPage: number;
304
+ pageSize: number;
305
+ } | undefined;
306
+ included?: {
307
+ type: string;
308
+ id: string;
309
+ attributes?: Record<string, unknown> | undefined;
310
+ relationships?: Record<string, unknown> | undefined;
311
+ links?: Record<string, string> | undefined;
312
+ meta?: Record<string, unknown> | undefined;
313
+ }[] | undefined;
314
+ }>;
315
+ export declare const adminLoginLinkAttributesSchema: z.ZodObject<{
316
+ loginUrl: z.ZodString;
317
+ expiresAt: z.ZodString;
318
+ }, "strip", z.ZodTypeAny, {
319
+ loginUrl: string;
320
+ expiresAt: string;
321
+ }, {
322
+ loginUrl: string;
323
+ expiresAt: string;
324
+ }>;
325
+ export declare const adminLoginLinkResourceSchema: z.ZodObject<{
326
+ type: z.ZodLiteral<string>;
327
+ id: z.ZodString;
328
+ attributes: z.ZodObject<{
329
+ loginUrl: z.ZodString;
330
+ expiresAt: z.ZodString;
331
+ }, "strip", z.ZodTypeAny, {
332
+ loginUrl: string;
333
+ expiresAt: string;
334
+ }, {
335
+ loginUrl: string;
336
+ expiresAt: string;
337
+ }>;
338
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
339
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
340
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
341
+ }, "strip", z.ZodTypeAny, {
342
+ type: string;
343
+ id: string;
344
+ attributes: {
345
+ loginUrl: string;
346
+ expiresAt: string;
347
+ };
348
+ relationships?: Record<string, unknown> | undefined;
349
+ links?: Record<string, string> | undefined;
350
+ meta?: Record<string, unknown> | undefined;
351
+ }, {
352
+ type: string;
353
+ id: string;
354
+ attributes: {
355
+ loginUrl: string;
356
+ expiresAt: string;
357
+ };
358
+ relationships?: Record<string, unknown> | undefined;
359
+ links?: Record<string, string> | undefined;
360
+ meta?: Record<string, unknown> | undefined;
361
+ }>;
362
+ export declare const adminLoginLinkResponseSchema: z.ZodObject<{
363
+ data: z.ZodObject<{
364
+ type: z.ZodLiteral<string>;
365
+ id: z.ZodString;
366
+ attributes: z.ZodObject<{
367
+ loginUrl: z.ZodString;
368
+ expiresAt: z.ZodString;
369
+ }, "strip", z.ZodTypeAny, {
370
+ loginUrl: string;
371
+ expiresAt: string;
372
+ }, {
373
+ loginUrl: string;
374
+ expiresAt: string;
375
+ }>;
376
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
377
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
378
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ type: string;
381
+ id: string;
382
+ attributes: {
383
+ loginUrl: string;
384
+ expiresAt: string;
385
+ };
386
+ relationships?: Record<string, unknown> | undefined;
387
+ links?: Record<string, string> | undefined;
388
+ meta?: Record<string, unknown> | undefined;
389
+ }, {
390
+ type: string;
391
+ id: string;
392
+ attributes: {
393
+ loginUrl: string;
394
+ expiresAt: string;
395
+ };
396
+ relationships?: Record<string, unknown> | undefined;
397
+ links?: Record<string, string> | undefined;
398
+ meta?: Record<string, unknown> | undefined;
399
+ }>;
400
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
401
+ type: z.ZodString;
402
+ id: z.ZodString;
403
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
404
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
405
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
406
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ type: string;
409
+ id: string;
410
+ attributes?: Record<string, unknown> | undefined;
411
+ relationships?: Record<string, unknown> | undefined;
412
+ links?: Record<string, string> | undefined;
413
+ meta?: Record<string, unknown> | undefined;
414
+ }, {
415
+ type: string;
416
+ id: string;
417
+ attributes?: Record<string, unknown> | undefined;
418
+ relationships?: Record<string, unknown> | undefined;
419
+ links?: Record<string, string> | undefined;
420
+ meta?: Record<string, unknown> | undefined;
421
+ }>, "many">>;
422
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
423
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
424
+ }, "strip", z.ZodTypeAny, {
425
+ data: {
426
+ type: string;
427
+ id: string;
428
+ attributes: {
429
+ loginUrl: string;
430
+ expiresAt: string;
431
+ };
432
+ relationships?: Record<string, unknown> | undefined;
433
+ links?: Record<string, string> | undefined;
434
+ meta?: Record<string, unknown> | undefined;
435
+ };
436
+ links?: Record<string, string> | undefined;
437
+ meta?: Record<string, unknown> | undefined;
438
+ included?: {
439
+ type: string;
440
+ id: string;
441
+ attributes?: Record<string, unknown> | undefined;
442
+ relationships?: Record<string, unknown> | undefined;
443
+ links?: Record<string, string> | undefined;
444
+ meta?: Record<string, unknown> | undefined;
445
+ }[] | undefined;
446
+ }, {
447
+ data: {
448
+ type: string;
449
+ id: string;
450
+ attributes: {
451
+ loginUrl: string;
452
+ expiresAt: string;
453
+ };
454
+ relationships?: Record<string, unknown> | undefined;
455
+ links?: Record<string, string> | undefined;
456
+ meta?: Record<string, unknown> | undefined;
457
+ };
458
+ links?: Record<string, string> | undefined;
459
+ meta?: Record<string, unknown> | undefined;
460
+ included?: {
461
+ type: string;
462
+ id: string;
463
+ attributes?: Record<string, unknown> | undefined;
464
+ relationships?: Record<string, unknown> | undefined;
465
+ links?: Record<string, string> | undefined;
466
+ meta?: Record<string, unknown> | undefined;
467
+ }[] | undefined;
468
+ }>;
57
469
  export declare const sourceStatsSchema: z.ZodObject<{
58
470
  recommendations: z.ZodNumber;
59
471
  tasksCreated: z.ZodNumber;
@@ -1115,4 +1527,7 @@ export type AutonomousMonitoringStatsResponse = z.infer<typeof autonomousMonitor
1115
1527
  export type AdminCreateUserAttributes = z.infer<typeof adminCreateUserAttributesSchema>;
1116
1528
  export type AdminCreateUserInput = z.infer<typeof adminCreateUserSchema>;
1117
1529
  export type AdminCreateUserResponse = z.infer<typeof userResponseSchema>;
1530
+ export type AdminUserListAttributes = z.infer<typeof adminUserListAttributesSchema>;
1531
+ export type AdminUserListResponse = z.infer<typeof adminUserListResponseSchema>;
1532
+ export type AdminLoginLinkResponse = z.infer<typeof adminLoginLinkResponseSchema>;
1118
1533
  //# sourceMappingURL=admin.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/admin.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAGrD;;GAEG;AAGH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAAyB,CAAC;AAEtE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS5B,CAAC;AAGH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAMjC,CAAC;AAGH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AAGH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAGH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAepD,CAAC;AAGH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,OAAO,kBAAkB,CAAC,CAAC;AACzE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { createJsonApiResourceSchema, jsonApiSingleResponseSchema, } from './common.schemas';
2
+ import { createJsonApiResourceSchema, jsonApiCollectionResponseSchema, jsonApiPaginationMetaSchema, jsonApiSingleResponseSchema, timestampsSchema, } from './common.schemas';
3
3
  import { signupAttributesSchema } from './auth.schemas';
4
4
  /**
5
5
  * Admin schemas for autonomous monitoring analytics
@@ -10,6 +10,27 @@ export const adminCreateUserSchema = z.object({
10
10
  type: z.literal('users'),
11
11
  attributes: adminCreateUserAttributesSchema,
12
12
  });
13
+ // Admin user list item attributes
14
+ export const adminUserListAttributesSchema = z
15
+ .object({
16
+ name: z.string(),
17
+ email: z.string().email(),
18
+ phone: z.string().nullable(),
19
+ emailVerified: z.boolean(),
20
+ isPlatformAdmin: z.boolean(),
21
+ })
22
+ .merge(timestampsSchema);
23
+ export const adminUserListResourceSchema = createJsonApiResourceSchema('users', adminUserListAttributesSchema);
24
+ export const adminUserListResponseSchema = jsonApiCollectionResponseSchema(adminUserListResourceSchema).extend({
25
+ meta: jsonApiPaginationMetaSchema.optional(),
26
+ });
27
+ // One-time login link
28
+ export const adminLoginLinkAttributesSchema = z.object({
29
+ loginUrl: z.string().url(),
30
+ expiresAt: z.string().datetime(),
31
+ });
32
+ export const adminLoginLinkResourceSchema = createJsonApiResourceSchema('login-links', adminLoginLinkAttributesSchema);
33
+ export const adminLoginLinkResponseSchema = jsonApiSingleResponseSchema(adminLoginLinkResourceSchema);
13
34
  // Source statistics
14
35
  export const sourceStatsSchema = z.object({
15
36
  recommendations: z.number(),
@@ -92,6 +92,13 @@ export declare const verifyEmailAttributesSchema: z.ZodObject<{
92
92
  }, {
93
93
  token: string;
94
94
  }>;
95
+ export declare const consumeLoginLinkAttributesSchema: z.ZodObject<{
96
+ token: z.ZodString;
97
+ }, "strip", z.ZodTypeAny, {
98
+ token: string;
99
+ }, {
100
+ token: string;
101
+ }>;
95
102
  export declare const resendVerificationAttributesSchema: z.ZodObject<{
96
103
  email: z.ZodString;
97
104
  }, "strip", z.ZodTypeAny, {
@@ -372,6 +379,26 @@ export declare const verifyEmailSchema: z.ZodObject<{
372
379
  token: string;
373
380
  };
374
381
  }>;
382
+ export declare const consumeLoginLinkSchema: z.ZodObject<{
383
+ type: z.ZodLiteral<"auth">;
384
+ attributes: z.ZodObject<{
385
+ token: z.ZodString;
386
+ }, "strip", z.ZodTypeAny, {
387
+ token: string;
388
+ }, {
389
+ token: string;
390
+ }>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ type: "auth";
393
+ attributes: {
394
+ token: string;
395
+ };
396
+ }, {
397
+ type: "auth";
398
+ attributes: {
399
+ token: string;
400
+ };
401
+ }>;
375
402
  export declare const resendVerificationSchema: z.ZodObject<{
376
403
  type: z.ZodLiteral<"auth">;
377
404
  attributes: z.ZodObject<{
@@ -1399,6 +1426,7 @@ export type RequestPasswordResetInput = z.infer<typeof requestPasswordResetSchem
1399
1426
  export type ResetPasswordInput = z.infer<typeof resetPasswordSchema>;
1400
1427
  export type ChangePasswordInput = z.infer<typeof changePasswordSchema>;
1401
1428
  export type VerifyEmailInput = z.infer<typeof verifyEmailSchema>;
1429
+ export type ConsumeLoginLinkInput = z.infer<typeof consumeLoginLinkSchema>;
1402
1430
  export type ResendVerificationInput = z.infer<typeof resendVerificationSchema>;
1403
1431
  export type LogoutInput = z.infer<typeof logoutSchema>;
1404
1432
  export type CompleteOnboardingInput = z.infer<typeof completeOnboardingSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"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AAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACvD,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC/E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -54,6 +54,10 @@ export const changePasswordAttributesSchema = z.object({
54
54
  export const verifyEmailAttributesSchema = z.object({
55
55
  token: z.string().min(1),
56
56
  });
57
+ // One-time login link consume attributes
58
+ export const consumeLoginLinkAttributesSchema = z.object({
59
+ token: z.string().min(1),
60
+ });
57
61
  // Resend verification attributes
58
62
  export const resendVerificationAttributesSchema = z.object({
59
63
  email: z.string().email(),
@@ -116,6 +120,10 @@ export const verifyEmailSchema = z.object({
116
120
  type: z.literal('auth'),
117
121
  attributes: verifyEmailAttributesSchema,
118
122
  });
123
+ export const consumeLoginLinkSchema = z.object({
124
+ type: z.literal('auth'),
125
+ attributes: consumeLoginLinkAttributesSchema,
126
+ });
119
127
  export const resendVerificationSchema = z.object({
120
128
  type: z.literal('auth'),
121
129
  attributes: resendVerificationAttributesSchema,
@@ -538,14 +538,14 @@ export declare const cameraStreamTokenResponseSchema: z.ZodObject<{
538
538
  token: string;
539
539
  farmId: string;
540
540
  quality: "low" | "medium" | "high";
541
- streamUrl: string | null;
542
541
  expiresAt: string;
542
+ streamUrl: string | null;
543
543
  cameraId: string;
544
544
  }, {
545
545
  token: string;
546
546
  farmId: string;
547
- streamUrl: string | null;
548
547
  expiresAt: string;
548
+ streamUrl: string | null;
549
549
  cameraId: string;
550
550
  quality?: "low" | "medium" | "high" | undefined;
551
551
  }>;
@@ -943,17 +943,17 @@ export declare const exportResponseSchema: z.ZodObject<{
943
943
  }, "strip", z.ZodTypeAny, {
944
944
  fileName: string;
945
945
  fileSize: number | null;
946
+ expiresAt: string;
946
947
  format: string;
947
948
  exportId: string;
948
949
  downloadUrl: string;
949
- expiresAt: string;
950
950
  }, {
951
951
  fileName: string;
952
952
  fileSize: number | null;
953
+ expiresAt: string;
953
954
  format: string;
954
955
  exportId: string;
955
956
  downloadUrl: string;
956
- expiresAt: string;
957
957
  }>;
958
958
  /** List exports response */
959
959
  export declare const exportListResponseSchema: z.ZodArray<z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepintel-ltd/farmpro-contracts",
3
- "version": "1.11.2",
3
+ "version": "1.11.3",
4
4
  "description": "Type-safe API contracts for FarmPro API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",