@seamapi/types 1.263.1 → 1.264.1

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.
Files changed (40) hide show
  1. package/dist/connect.cjs +438 -84
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +3745 -454
  4. package/lib/seam/connect/models/acs/acs-credential.d.ts +83 -0
  5. package/lib/seam/connect/models/acs/acs-credential.js +38 -0
  6. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +862 -53
  8. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -2
  9. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +61 -21
  11. package/lib/seam/connect/models/action-attempts/deprecated.js +13 -5
  12. package/lib/seam/connect/models/action-attempts/deprecated.js.map +1 -1
  13. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +3 -18
  14. package/lib/seam/connect/models/action-attempts/encode-card.js +1 -12
  15. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
  16. package/lib/seam/connect/models/action-attempts/index.d.ts +1 -0
  17. package/lib/seam/connect/models/action-attempts/index.js +1 -0
  18. package/lib/seam/connect/models/action-attempts/index.js.map +1 -1
  19. package/lib/seam/connect/models/action-attempts/scan-card.d.ts +875 -0
  20. package/lib/seam/connect/models/action-attempts/{read-card.js → scan-card.js} +8 -12
  21. package/lib/seam/connect/models/action-attempts/scan-card.js.map +1 -0
  22. package/lib/seam/connect/openapi.d.ts +308 -38
  23. package/lib/seam/connect/openapi.js +368 -42
  24. package/lib/seam/connect/openapi.js.map +1 -1
  25. package/lib/seam/connect/route-types.d.ts +2522 -362
  26. package/lib/seam/connect/schemas.d.ts +1 -1
  27. package/lib/seam/connect/schemas.js +1 -1
  28. package/lib/seam/connect/schemas.js.map +1 -1
  29. package/package.json +2 -2
  30. package/src/lib/seam/connect/models/acs/acs-credential.ts +48 -0
  31. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -2
  32. package/src/lib/seam/connect/models/action-attempts/deprecated.ts +13 -5
  33. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +1 -12
  34. package/src/lib/seam/connect/models/action-attempts/index.ts +1 -0
  35. package/src/lib/seam/connect/models/action-attempts/{read-card.ts → scan-card.ts} +15 -12
  36. package/src/lib/seam/connect/openapi.ts +373 -44
  37. package/src/lib/seam/connect/route-types.ts +3362 -502
  38. package/src/lib/seam/connect/schemas.ts +3 -0
  39. package/lib/seam/connect/models/action-attempts/read-card.d.ts +0 -91
  40. package/lib/seam/connect/models/action-attempts/read-card.js.map +0 -1
@@ -163,19 +163,19 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
163
163
  result: z.ZodNull;
164
164
  error: z.ZodNull;
165
165
  }>, {
166
- action_type: z.ZodLiteral<"READ_CARD">;
166
+ action_type: z.ZodLiteral<"SCAN_CARD">;
167
167
  }>, "strip", z.ZodTypeAny, {
168
168
  error: null;
169
169
  status: "pending";
170
170
  action_attempt_id: string;
171
171
  result: null;
172
- action_type: "READ_CARD";
172
+ action_type: "SCAN_CARD";
173
173
  }, {
174
174
  error: null;
175
175
  status: "pending";
176
176
  action_attempt_id: string;
177
177
  result: null;
178
- action_type: "READ_CARD";
178
+ action_type: "SCAN_CARD";
179
179
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
180
180
  action_attempt_id: z.ZodString;
181
181
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -183,30 +183,814 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
183
183
  status: z.ZodLiteral<"success">;
184
184
  error: z.ZodNull;
185
185
  }>, {
186
- action_type: z.ZodLiteral<"READ_CARD">;
186
+ action_type: z.ZodLiteral<"SCAN_CARD">;
187
187
  result: z.ZodObject<{
188
- card_number: z.ZodNullable<z.ZodString>;
188
+ acs_credential_on_encoder: z.ZodObject<{
189
+ created_at: z.ZodString;
190
+ is_issued: z.ZodNullable<z.ZodBoolean>;
191
+ starts_at: z.ZodNullable<z.ZodString>;
192
+ ends_at: z.ZodNullable<z.ZodString>;
193
+ card_number: z.ZodNullable<z.ZodString>;
194
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
195
+ card_id: z.ZodString;
196
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
197
+ cancelled: z.ZodBoolean;
198
+ discarded: z.ZodBoolean;
199
+ expired: z.ZodBoolean;
200
+ overwritten: z.ZodBoolean;
201
+ overridden: z.ZodOptional<z.ZodBoolean>;
202
+ pending_auto_update: z.ZodBoolean;
203
+ card_format: z.ZodEnum<["TLCode", "rfid48"]>;
204
+ card_holder: z.ZodOptional<z.ZodString>;
205
+ number_of_issued_cards: z.ZodNumber;
206
+ }, "strip", z.ZodTypeAny, {
207
+ expired: boolean;
208
+ card_function_type: "guest" | "staff";
209
+ card_id: string;
210
+ cancelled: boolean;
211
+ discarded: boolean;
212
+ overwritten: boolean;
213
+ pending_auto_update: boolean;
214
+ card_format: "TLCode" | "rfid48";
215
+ number_of_issued_cards: number;
216
+ overridden?: boolean | undefined;
217
+ card_holder?: string | undefined;
218
+ }, {
219
+ expired: boolean;
220
+ card_function_type: "guest" | "staff";
221
+ card_id: string;
222
+ cancelled: boolean;
223
+ discarded: boolean;
224
+ overwritten: boolean;
225
+ pending_auto_update: boolean;
226
+ card_format: "TLCode" | "rfid48";
227
+ number_of_issued_cards: number;
228
+ overridden?: boolean | undefined;
229
+ card_holder?: string | undefined;
230
+ }>>;
231
+ }, "strip", z.ZodTypeAny, {
232
+ created_at: string;
233
+ starts_at: string | null;
234
+ ends_at: string | null;
235
+ card_number: string | null;
236
+ is_issued: boolean | null;
237
+ visionline_metadata?: {
238
+ expired: boolean;
239
+ card_function_type: "guest" | "staff";
240
+ card_id: string;
241
+ cancelled: boolean;
242
+ discarded: boolean;
243
+ overwritten: boolean;
244
+ pending_auto_update: boolean;
245
+ card_format: "TLCode" | "rfid48";
246
+ number_of_issued_cards: number;
247
+ overridden?: boolean | undefined;
248
+ card_holder?: string | undefined;
249
+ } | undefined;
250
+ }, {
251
+ created_at: string;
252
+ starts_at: string | null;
253
+ ends_at: string | null;
254
+ card_number: string | null;
255
+ is_issued: boolean | null;
256
+ visionline_metadata?: {
257
+ expired: boolean;
258
+ card_function_type: "guest" | "staff";
259
+ card_id: string;
260
+ cancelled: boolean;
261
+ discarded: boolean;
262
+ overwritten: boolean;
263
+ pending_auto_update: boolean;
264
+ card_format: "TLCode" | "rfid48";
265
+ number_of_issued_cards: number;
266
+ overridden?: boolean | undefined;
267
+ card_holder?: string | undefined;
268
+ } | undefined;
269
+ }>;
270
+ acs_credential_on_seam: z.ZodNullable<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
271
+ acs_credential_id: z.ZodString;
272
+ acs_user_id: z.ZodOptional<z.ZodString>;
273
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
274
+ acs_system_id: z.ZodString;
275
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
276
+ display_name: z.ZodString;
277
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
278
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
279
+ is_issued: z.ZodOptional<z.ZodBoolean>;
280
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
281
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
282
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential"]>>;
283
+ external_type_display_name: z.ZodOptional<z.ZodString>;
284
+ created_at: z.ZodString;
285
+ workspace_id: z.ZodString;
286
+ starts_at: z.ZodOptional<z.ZodString>;
287
+ ends_at: z.ZodOptional<z.ZodString>;
288
+ errors: z.ZodArray<z.ZodObject<{
289
+ error_code: z.ZodString;
290
+ message: z.ZodString;
291
+ }, "strip", z.ZodTypeAny, {
292
+ message: string;
293
+ error_code: string;
294
+ }, {
295
+ message: string;
296
+ error_code: string;
297
+ }>, "many">;
298
+ warnings: z.ZodArray<z.ZodObject<{
299
+ warning_code: z.ZodString;
300
+ message: z.ZodString;
301
+ }, "strip", z.ZodTypeAny, {
302
+ message: string;
303
+ warning_code: string;
304
+ }, {
305
+ message: string;
306
+ warning_code: string;
307
+ }>, "many">;
308
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
309
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
310
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
311
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
312
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
313
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
314
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
315
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
316
+ is_valid: z.ZodOptional<z.ZodBoolean>;
317
+ auto_join: z.ZodOptional<z.ZodBoolean>;
318
+ card_id: z.ZodOptional<z.ZodString>;
319
+ credential_id: z.ZodOptional<z.ZodString>;
320
+ }, "strip", z.ZodTypeAny, {
321
+ card_function_type: "guest" | "staff";
322
+ joiner_acs_credential_ids?: string[] | undefined;
323
+ guest_acs_entrance_ids?: string[] | undefined;
324
+ common_acs_entrance_ids?: string[] | undefined;
325
+ is_valid?: boolean | undefined;
326
+ auto_join?: boolean | undefined;
327
+ card_id?: string | undefined;
328
+ credential_id?: string | undefined;
329
+ }, {
330
+ card_function_type: "guest" | "staff";
331
+ joiner_acs_credential_ids?: string[] | undefined;
332
+ guest_acs_entrance_ids?: string[] | undefined;
333
+ common_acs_entrance_ids?: string[] | undefined;
334
+ is_valid?: boolean | undefined;
335
+ auto_join?: boolean | undefined;
336
+ card_id?: string | undefined;
337
+ credential_id?: string | undefined;
338
+ }>>;
339
+ }, {
340
+ is_managed: z.ZodLiteral<true>;
341
+ }>, "strip", z.ZodTypeAny, {
342
+ created_at: string;
343
+ errors: {
344
+ message: string;
345
+ error_code: string;
346
+ }[];
347
+ warnings: {
348
+ message: string;
349
+ warning_code: string;
350
+ }[];
351
+ display_name: string;
352
+ workspace_id: string;
353
+ is_managed: true;
354
+ acs_system_id: string;
355
+ acs_credential_id: string;
356
+ access_method: "code" | "card" | "mobile_key";
357
+ code?: string | null | undefined;
358
+ starts_at?: string | undefined;
359
+ ends_at?: string | undefined;
360
+ visionline_metadata?: {
361
+ card_function_type: "guest" | "staff";
362
+ joiner_acs_credential_ids?: string[] | undefined;
363
+ guest_acs_entrance_ids?: string[] | undefined;
364
+ common_acs_entrance_ids?: string[] | undefined;
365
+ is_valid?: boolean | undefined;
366
+ auto_join?: boolean | undefined;
367
+ card_id?: string | undefined;
368
+ credential_id?: string | undefined;
369
+ } | undefined;
370
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
371
+ external_type_display_name?: string | undefined;
372
+ acs_user_id?: string | undefined;
373
+ acs_credential_pool_id?: string | undefined;
374
+ parent_acs_credential_id?: string | undefined;
375
+ card_number?: string | null | undefined;
376
+ is_issued?: boolean | undefined;
377
+ issued_at?: string | null | undefined;
378
+ is_multi_phone_sync_credential?: boolean | undefined;
379
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
380
+ latest_desired_state_synced_with_provider_at?: string | undefined;
381
+ }, {
382
+ created_at: string;
383
+ errors: {
384
+ message: string;
385
+ error_code: string;
386
+ }[];
387
+ warnings: {
388
+ message: string;
389
+ warning_code: string;
390
+ }[];
391
+ display_name: string;
392
+ workspace_id: string;
393
+ is_managed: true;
394
+ acs_system_id: string;
395
+ acs_credential_id: string;
396
+ access_method: "code" | "card" | "mobile_key";
397
+ code?: string | null | undefined;
398
+ starts_at?: string | undefined;
399
+ ends_at?: string | undefined;
400
+ visionline_metadata?: {
401
+ card_function_type: "guest" | "staff";
402
+ joiner_acs_credential_ids?: string[] | undefined;
403
+ guest_acs_entrance_ids?: string[] | undefined;
404
+ common_acs_entrance_ids?: string[] | undefined;
405
+ is_valid?: boolean | undefined;
406
+ auto_join?: boolean | undefined;
407
+ card_id?: string | undefined;
408
+ credential_id?: string | undefined;
409
+ } | undefined;
410
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
411
+ external_type_display_name?: string | undefined;
412
+ acs_user_id?: string | undefined;
413
+ acs_credential_pool_id?: string | undefined;
414
+ parent_acs_credential_id?: string | undefined;
415
+ card_number?: string | null | undefined;
416
+ is_issued?: boolean | undefined;
417
+ issued_at?: string | null | undefined;
418
+ is_multi_phone_sync_credential?: boolean | undefined;
419
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
420
+ latest_desired_state_synced_with_provider_at?: string | undefined;
421
+ }>, z.ZodObject<z.objectUtil.extendShape<{
422
+ acs_credential_id: z.ZodString;
423
+ acs_user_id: z.ZodOptional<z.ZodString>;
424
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
425
+ acs_system_id: z.ZodString;
426
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
427
+ display_name: z.ZodString;
428
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
429
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
430
+ is_issued: z.ZodOptional<z.ZodBoolean>;
431
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
432
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
433
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential"]>>;
434
+ external_type_display_name: z.ZodOptional<z.ZodString>;
435
+ created_at: z.ZodString;
436
+ workspace_id: z.ZodString;
437
+ starts_at: z.ZodOptional<z.ZodString>;
438
+ ends_at: z.ZodOptional<z.ZodString>;
439
+ errors: z.ZodArray<z.ZodObject<{
440
+ error_code: z.ZodString;
441
+ message: z.ZodString;
442
+ }, "strip", z.ZodTypeAny, {
443
+ message: string;
444
+ error_code: string;
445
+ }, {
446
+ message: string;
447
+ error_code: string;
448
+ }>, "many">;
449
+ warnings: z.ZodArray<z.ZodObject<{
450
+ warning_code: z.ZodString;
451
+ message: z.ZodString;
452
+ }, "strip", z.ZodTypeAny, {
453
+ message: string;
454
+ warning_code: string;
455
+ }, {
456
+ message: string;
457
+ warning_code: string;
458
+ }>, "many">;
459
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
460
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
461
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
462
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
463
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
464
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
465
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
466
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
467
+ is_valid: z.ZodOptional<z.ZodBoolean>;
468
+ auto_join: z.ZodOptional<z.ZodBoolean>;
469
+ card_id: z.ZodOptional<z.ZodString>;
470
+ credential_id: z.ZodOptional<z.ZodString>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ card_function_type: "guest" | "staff";
473
+ joiner_acs_credential_ids?: string[] | undefined;
474
+ guest_acs_entrance_ids?: string[] | undefined;
475
+ common_acs_entrance_ids?: string[] | undefined;
476
+ is_valid?: boolean | undefined;
477
+ auto_join?: boolean | undefined;
478
+ card_id?: string | undefined;
479
+ credential_id?: string | undefined;
480
+ }, {
481
+ card_function_type: "guest" | "staff";
482
+ joiner_acs_credential_ids?: string[] | undefined;
483
+ guest_acs_entrance_ids?: string[] | undefined;
484
+ common_acs_entrance_ids?: string[] | undefined;
485
+ is_valid?: boolean | undefined;
486
+ auto_join?: boolean | undefined;
487
+ card_id?: string | undefined;
488
+ credential_id?: string | undefined;
489
+ }>>;
490
+ }, {
491
+ is_managed: z.ZodLiteral<false>;
492
+ }>, "strip", z.ZodTypeAny, {
493
+ created_at: string;
494
+ errors: {
495
+ message: string;
496
+ error_code: string;
497
+ }[];
498
+ warnings: {
499
+ message: string;
500
+ warning_code: string;
501
+ }[];
502
+ display_name: string;
503
+ workspace_id: string;
504
+ is_managed: false;
505
+ acs_system_id: string;
506
+ acs_credential_id: string;
507
+ access_method: "code" | "card" | "mobile_key";
508
+ code?: string | null | undefined;
509
+ starts_at?: string | undefined;
510
+ ends_at?: string | undefined;
511
+ visionline_metadata?: {
512
+ card_function_type: "guest" | "staff";
513
+ joiner_acs_credential_ids?: string[] | undefined;
514
+ guest_acs_entrance_ids?: string[] | undefined;
515
+ common_acs_entrance_ids?: string[] | undefined;
516
+ is_valid?: boolean | undefined;
517
+ auto_join?: boolean | undefined;
518
+ card_id?: string | undefined;
519
+ credential_id?: string | undefined;
520
+ } | undefined;
521
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
522
+ external_type_display_name?: string | undefined;
523
+ acs_user_id?: string | undefined;
524
+ acs_credential_pool_id?: string | undefined;
525
+ parent_acs_credential_id?: string | undefined;
526
+ card_number?: string | null | undefined;
527
+ is_issued?: boolean | undefined;
528
+ issued_at?: string | null | undefined;
529
+ is_multi_phone_sync_credential?: boolean | undefined;
530
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
531
+ latest_desired_state_synced_with_provider_at?: string | undefined;
532
+ }, {
533
+ created_at: string;
534
+ errors: {
535
+ message: string;
536
+ error_code: string;
537
+ }[];
538
+ warnings: {
539
+ message: string;
540
+ warning_code: string;
541
+ }[];
542
+ display_name: string;
543
+ workspace_id: string;
544
+ is_managed: false;
545
+ acs_system_id: string;
546
+ acs_credential_id: string;
547
+ access_method: "code" | "card" | "mobile_key";
548
+ code?: string | null | undefined;
549
+ starts_at?: string | undefined;
550
+ ends_at?: string | undefined;
551
+ visionline_metadata?: {
552
+ card_function_type: "guest" | "staff";
553
+ joiner_acs_credential_ids?: string[] | undefined;
554
+ guest_acs_entrance_ids?: string[] | undefined;
555
+ common_acs_entrance_ids?: string[] | undefined;
556
+ is_valid?: boolean | undefined;
557
+ auto_join?: boolean | undefined;
558
+ card_id?: string | undefined;
559
+ credential_id?: string | undefined;
560
+ } | undefined;
561
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
562
+ external_type_display_name?: string | undefined;
563
+ acs_user_id?: string | undefined;
564
+ acs_credential_pool_id?: string | undefined;
565
+ parent_acs_credential_id?: string | undefined;
566
+ card_number?: string | null | undefined;
567
+ is_issued?: boolean | undefined;
568
+ issued_at?: string | null | undefined;
569
+ is_multi_phone_sync_credential?: boolean | undefined;
570
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
571
+ latest_desired_state_synced_with_provider_at?: string | undefined;
572
+ }>]>>;
189
573
  }, "strip", z.ZodTypeAny, {
190
- card_number: string | null;
574
+ acs_credential_on_encoder: {
575
+ created_at: string;
576
+ starts_at: string | null;
577
+ ends_at: string | null;
578
+ card_number: string | null;
579
+ is_issued: boolean | null;
580
+ visionline_metadata?: {
581
+ expired: boolean;
582
+ card_function_type: "guest" | "staff";
583
+ card_id: string;
584
+ cancelled: boolean;
585
+ discarded: boolean;
586
+ overwritten: boolean;
587
+ pending_auto_update: boolean;
588
+ card_format: "TLCode" | "rfid48";
589
+ number_of_issued_cards: number;
590
+ overridden?: boolean | undefined;
591
+ card_holder?: string | undefined;
592
+ } | undefined;
593
+ };
594
+ acs_credential_on_seam: {
595
+ created_at: string;
596
+ errors: {
597
+ message: string;
598
+ error_code: string;
599
+ }[];
600
+ warnings: {
601
+ message: string;
602
+ warning_code: string;
603
+ }[];
604
+ display_name: string;
605
+ workspace_id: string;
606
+ is_managed: true;
607
+ acs_system_id: string;
608
+ acs_credential_id: string;
609
+ access_method: "code" | "card" | "mobile_key";
610
+ code?: string | null | undefined;
611
+ starts_at?: string | undefined;
612
+ ends_at?: string | undefined;
613
+ visionline_metadata?: {
614
+ card_function_type: "guest" | "staff";
615
+ joiner_acs_credential_ids?: string[] | undefined;
616
+ guest_acs_entrance_ids?: string[] | undefined;
617
+ common_acs_entrance_ids?: string[] | undefined;
618
+ is_valid?: boolean | undefined;
619
+ auto_join?: boolean | undefined;
620
+ card_id?: string | undefined;
621
+ credential_id?: string | undefined;
622
+ } | undefined;
623
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
624
+ external_type_display_name?: string | undefined;
625
+ acs_user_id?: string | undefined;
626
+ acs_credential_pool_id?: string | undefined;
627
+ parent_acs_credential_id?: string | undefined;
628
+ card_number?: string | null | undefined;
629
+ is_issued?: boolean | undefined;
630
+ issued_at?: string | null | undefined;
631
+ is_multi_phone_sync_credential?: boolean | undefined;
632
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
633
+ latest_desired_state_synced_with_provider_at?: string | undefined;
634
+ } | {
635
+ created_at: string;
636
+ errors: {
637
+ message: string;
638
+ error_code: string;
639
+ }[];
640
+ warnings: {
641
+ message: string;
642
+ warning_code: string;
643
+ }[];
644
+ display_name: string;
645
+ workspace_id: string;
646
+ is_managed: false;
647
+ acs_system_id: string;
648
+ acs_credential_id: string;
649
+ access_method: "code" | "card" | "mobile_key";
650
+ code?: string | null | undefined;
651
+ starts_at?: string | undefined;
652
+ ends_at?: string | undefined;
653
+ visionline_metadata?: {
654
+ card_function_type: "guest" | "staff";
655
+ joiner_acs_credential_ids?: string[] | undefined;
656
+ guest_acs_entrance_ids?: string[] | undefined;
657
+ common_acs_entrance_ids?: string[] | undefined;
658
+ is_valid?: boolean | undefined;
659
+ auto_join?: boolean | undefined;
660
+ card_id?: string | undefined;
661
+ credential_id?: string | undefined;
662
+ } | undefined;
663
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
664
+ external_type_display_name?: string | undefined;
665
+ acs_user_id?: string | undefined;
666
+ acs_credential_pool_id?: string | undefined;
667
+ parent_acs_credential_id?: string | undefined;
668
+ card_number?: string | null | undefined;
669
+ is_issued?: boolean | undefined;
670
+ issued_at?: string | null | undefined;
671
+ is_multi_phone_sync_credential?: boolean | undefined;
672
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
673
+ latest_desired_state_synced_with_provider_at?: string | undefined;
674
+ } | null;
191
675
  }, {
192
- card_number: string | null;
676
+ acs_credential_on_encoder: {
677
+ created_at: string;
678
+ starts_at: string | null;
679
+ ends_at: string | null;
680
+ card_number: string | null;
681
+ is_issued: boolean | null;
682
+ visionline_metadata?: {
683
+ expired: boolean;
684
+ card_function_type: "guest" | "staff";
685
+ card_id: string;
686
+ cancelled: boolean;
687
+ discarded: boolean;
688
+ overwritten: boolean;
689
+ pending_auto_update: boolean;
690
+ card_format: "TLCode" | "rfid48";
691
+ number_of_issued_cards: number;
692
+ overridden?: boolean | undefined;
693
+ card_holder?: string | undefined;
694
+ } | undefined;
695
+ };
696
+ acs_credential_on_seam: {
697
+ created_at: string;
698
+ errors: {
699
+ message: string;
700
+ error_code: string;
701
+ }[];
702
+ warnings: {
703
+ message: string;
704
+ warning_code: string;
705
+ }[];
706
+ display_name: string;
707
+ workspace_id: string;
708
+ is_managed: true;
709
+ acs_system_id: string;
710
+ acs_credential_id: string;
711
+ access_method: "code" | "card" | "mobile_key";
712
+ code?: string | null | undefined;
713
+ starts_at?: string | undefined;
714
+ ends_at?: string | undefined;
715
+ visionline_metadata?: {
716
+ card_function_type: "guest" | "staff";
717
+ joiner_acs_credential_ids?: string[] | undefined;
718
+ guest_acs_entrance_ids?: string[] | undefined;
719
+ common_acs_entrance_ids?: string[] | undefined;
720
+ is_valid?: boolean | undefined;
721
+ auto_join?: boolean | undefined;
722
+ card_id?: string | undefined;
723
+ credential_id?: string | undefined;
724
+ } | undefined;
725
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
726
+ external_type_display_name?: string | undefined;
727
+ acs_user_id?: string | undefined;
728
+ acs_credential_pool_id?: string | undefined;
729
+ parent_acs_credential_id?: string | undefined;
730
+ card_number?: string | null | undefined;
731
+ is_issued?: boolean | undefined;
732
+ issued_at?: string | null | undefined;
733
+ is_multi_phone_sync_credential?: boolean | undefined;
734
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
735
+ latest_desired_state_synced_with_provider_at?: string | undefined;
736
+ } | {
737
+ created_at: string;
738
+ errors: {
739
+ message: string;
740
+ error_code: string;
741
+ }[];
742
+ warnings: {
743
+ message: string;
744
+ warning_code: string;
745
+ }[];
746
+ display_name: string;
747
+ workspace_id: string;
748
+ is_managed: false;
749
+ acs_system_id: string;
750
+ acs_credential_id: string;
751
+ access_method: "code" | "card" | "mobile_key";
752
+ code?: string | null | undefined;
753
+ starts_at?: string | undefined;
754
+ ends_at?: string | undefined;
755
+ visionline_metadata?: {
756
+ card_function_type: "guest" | "staff";
757
+ joiner_acs_credential_ids?: string[] | undefined;
758
+ guest_acs_entrance_ids?: string[] | undefined;
759
+ common_acs_entrance_ids?: string[] | undefined;
760
+ is_valid?: boolean | undefined;
761
+ auto_join?: boolean | undefined;
762
+ card_id?: string | undefined;
763
+ credential_id?: string | undefined;
764
+ } | undefined;
765
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
766
+ external_type_display_name?: string | undefined;
767
+ acs_user_id?: string | undefined;
768
+ acs_credential_pool_id?: string | undefined;
769
+ parent_acs_credential_id?: string | undefined;
770
+ card_number?: string | null | undefined;
771
+ is_issued?: boolean | undefined;
772
+ issued_at?: string | null | undefined;
773
+ is_multi_phone_sync_credential?: boolean | undefined;
774
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
775
+ latest_desired_state_synced_with_provider_at?: string | undefined;
776
+ } | null;
193
777
  }>;
194
778
  }>, "strip", z.ZodTypeAny, {
195
779
  error: null;
196
780
  status: "success";
197
781
  action_attempt_id: string;
198
782
  result: {
199
- card_number: string | null;
783
+ acs_credential_on_encoder: {
784
+ created_at: string;
785
+ starts_at: string | null;
786
+ ends_at: string | null;
787
+ card_number: string | null;
788
+ is_issued: boolean | null;
789
+ visionline_metadata?: {
790
+ expired: boolean;
791
+ card_function_type: "guest" | "staff";
792
+ card_id: string;
793
+ cancelled: boolean;
794
+ discarded: boolean;
795
+ overwritten: boolean;
796
+ pending_auto_update: boolean;
797
+ card_format: "TLCode" | "rfid48";
798
+ number_of_issued_cards: number;
799
+ overridden?: boolean | undefined;
800
+ card_holder?: string | undefined;
801
+ } | undefined;
802
+ };
803
+ acs_credential_on_seam: {
804
+ created_at: string;
805
+ errors: {
806
+ message: string;
807
+ error_code: string;
808
+ }[];
809
+ warnings: {
810
+ message: string;
811
+ warning_code: string;
812
+ }[];
813
+ display_name: string;
814
+ workspace_id: string;
815
+ is_managed: true;
816
+ acs_system_id: string;
817
+ acs_credential_id: string;
818
+ access_method: "code" | "card" | "mobile_key";
819
+ code?: string | null | undefined;
820
+ starts_at?: string | undefined;
821
+ ends_at?: string | undefined;
822
+ visionline_metadata?: {
823
+ card_function_type: "guest" | "staff";
824
+ joiner_acs_credential_ids?: string[] | undefined;
825
+ guest_acs_entrance_ids?: string[] | undefined;
826
+ common_acs_entrance_ids?: string[] | undefined;
827
+ is_valid?: boolean | undefined;
828
+ auto_join?: boolean | undefined;
829
+ card_id?: string | undefined;
830
+ credential_id?: string | undefined;
831
+ } | undefined;
832
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
833
+ external_type_display_name?: string | undefined;
834
+ acs_user_id?: string | undefined;
835
+ acs_credential_pool_id?: string | undefined;
836
+ parent_acs_credential_id?: string | undefined;
837
+ card_number?: string | null | undefined;
838
+ is_issued?: boolean | undefined;
839
+ issued_at?: string | null | undefined;
840
+ is_multi_phone_sync_credential?: boolean | undefined;
841
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
842
+ latest_desired_state_synced_with_provider_at?: string | undefined;
843
+ } | {
844
+ created_at: string;
845
+ errors: {
846
+ message: string;
847
+ error_code: string;
848
+ }[];
849
+ warnings: {
850
+ message: string;
851
+ warning_code: string;
852
+ }[];
853
+ display_name: string;
854
+ workspace_id: string;
855
+ is_managed: false;
856
+ acs_system_id: string;
857
+ acs_credential_id: string;
858
+ access_method: "code" | "card" | "mobile_key";
859
+ code?: string | null | undefined;
860
+ starts_at?: string | undefined;
861
+ ends_at?: string | undefined;
862
+ visionline_metadata?: {
863
+ card_function_type: "guest" | "staff";
864
+ joiner_acs_credential_ids?: string[] | undefined;
865
+ guest_acs_entrance_ids?: string[] | undefined;
866
+ common_acs_entrance_ids?: string[] | undefined;
867
+ is_valid?: boolean | undefined;
868
+ auto_join?: boolean | undefined;
869
+ card_id?: string | undefined;
870
+ credential_id?: string | undefined;
871
+ } | undefined;
872
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
873
+ external_type_display_name?: string | undefined;
874
+ acs_user_id?: string | undefined;
875
+ acs_credential_pool_id?: string | undefined;
876
+ parent_acs_credential_id?: string | undefined;
877
+ card_number?: string | null | undefined;
878
+ is_issued?: boolean | undefined;
879
+ issued_at?: string | null | undefined;
880
+ is_multi_phone_sync_credential?: boolean | undefined;
881
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
882
+ latest_desired_state_synced_with_provider_at?: string | undefined;
883
+ } | null;
200
884
  };
201
- action_type: "READ_CARD";
885
+ action_type: "SCAN_CARD";
202
886
  }, {
203
887
  error: null;
204
888
  status: "success";
205
889
  action_attempt_id: string;
206
890
  result: {
207
- card_number: string | null;
891
+ acs_credential_on_encoder: {
892
+ created_at: string;
893
+ starts_at: string | null;
894
+ ends_at: string | null;
895
+ card_number: string | null;
896
+ is_issued: boolean | null;
897
+ visionline_metadata?: {
898
+ expired: boolean;
899
+ card_function_type: "guest" | "staff";
900
+ card_id: string;
901
+ cancelled: boolean;
902
+ discarded: boolean;
903
+ overwritten: boolean;
904
+ pending_auto_update: boolean;
905
+ card_format: "TLCode" | "rfid48";
906
+ number_of_issued_cards: number;
907
+ overridden?: boolean | undefined;
908
+ card_holder?: string | undefined;
909
+ } | undefined;
910
+ };
911
+ acs_credential_on_seam: {
912
+ created_at: string;
913
+ errors: {
914
+ message: string;
915
+ error_code: string;
916
+ }[];
917
+ warnings: {
918
+ message: string;
919
+ warning_code: string;
920
+ }[];
921
+ display_name: string;
922
+ workspace_id: string;
923
+ is_managed: true;
924
+ acs_system_id: string;
925
+ acs_credential_id: string;
926
+ access_method: "code" | "card" | "mobile_key";
927
+ code?: string | null | undefined;
928
+ starts_at?: string | undefined;
929
+ ends_at?: string | undefined;
930
+ visionline_metadata?: {
931
+ card_function_type: "guest" | "staff";
932
+ joiner_acs_credential_ids?: string[] | undefined;
933
+ guest_acs_entrance_ids?: string[] | undefined;
934
+ common_acs_entrance_ids?: string[] | undefined;
935
+ is_valid?: boolean | undefined;
936
+ auto_join?: boolean | undefined;
937
+ card_id?: string | undefined;
938
+ credential_id?: string | undefined;
939
+ } | undefined;
940
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
941
+ external_type_display_name?: string | undefined;
942
+ acs_user_id?: string | undefined;
943
+ acs_credential_pool_id?: string | undefined;
944
+ parent_acs_credential_id?: string | undefined;
945
+ card_number?: string | null | undefined;
946
+ is_issued?: boolean | undefined;
947
+ issued_at?: string | null | undefined;
948
+ is_multi_phone_sync_credential?: boolean | undefined;
949
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
950
+ latest_desired_state_synced_with_provider_at?: string | undefined;
951
+ } | {
952
+ created_at: string;
953
+ errors: {
954
+ message: string;
955
+ error_code: string;
956
+ }[];
957
+ warnings: {
958
+ message: string;
959
+ warning_code: string;
960
+ }[];
961
+ display_name: string;
962
+ workspace_id: string;
963
+ is_managed: false;
964
+ acs_system_id: string;
965
+ acs_credential_id: string;
966
+ access_method: "code" | "card" | "mobile_key";
967
+ code?: string | null | undefined;
968
+ starts_at?: string | undefined;
969
+ ends_at?: string | undefined;
970
+ visionline_metadata?: {
971
+ card_function_type: "guest" | "staff";
972
+ joiner_acs_credential_ids?: string[] | undefined;
973
+ guest_acs_entrance_ids?: string[] | undefined;
974
+ common_acs_entrance_ids?: string[] | undefined;
975
+ is_valid?: boolean | undefined;
976
+ auto_join?: boolean | undefined;
977
+ card_id?: string | undefined;
978
+ credential_id?: string | undefined;
979
+ } | undefined;
980
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
981
+ external_type_display_name?: string | undefined;
982
+ acs_user_id?: string | undefined;
983
+ acs_credential_pool_id?: string | undefined;
984
+ parent_acs_credential_id?: string | undefined;
985
+ card_number?: string | null | undefined;
986
+ is_issued?: boolean | undefined;
987
+ issued_at?: string | null | undefined;
988
+ is_multi_phone_sync_credential?: boolean | undefined;
989
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
990
+ latest_desired_state_synced_with_provider_at?: string | undefined;
991
+ } | null;
208
992
  };
209
- action_type: "READ_CARD";
993
+ action_type: "SCAN_CARD";
210
994
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
211
995
  action_attempt_id: z.ZodString;
212
996
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -214,7 +998,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
214
998
  status: z.ZodLiteral<"error">;
215
999
  result: z.ZodNull;
216
1000
  }>, {
217
- action_type: z.ZodLiteral<"READ_CARD">;
1001
+ action_type: z.ZodLiteral<"SCAN_CARD">;
218
1002
  error: z.ZodObject<{
219
1003
  type: z.ZodLiteral<"no_card_on_encoder">;
220
1004
  message: z.ZodString;
@@ -233,7 +1017,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
233
1017
  status: "error";
234
1018
  action_attempt_id: string;
235
1019
  result: null;
236
- action_type: "READ_CARD";
1020
+ action_type: "SCAN_CARD";
237
1021
  }, {
238
1022
  error: {
239
1023
  type: "no_card_on_encoder";
@@ -242,7 +1026,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
242
1026
  status: "error";
243
1027
  action_attempt_id: string;
244
1028
  result: null;
245
- action_type: "READ_CARD";
1029
+ action_type: "SCAN_CARD";
246
1030
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
247
1031
  action_attempt_id: z.ZodString;
248
1032
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -272,33 +1056,18 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
272
1056
  error: z.ZodNull;
273
1057
  }>, {
274
1058
  action_type: z.ZodLiteral<"ENCODE_CARD">;
275
- result: z.ZodObject<{
276
- acs_credential_id: z.ZodNullable<z.ZodString>;
277
- card_number: z.ZodNullable<z.ZodString>;
278
- }, "strip", z.ZodTypeAny, {
279
- acs_credential_id: string | null;
280
- card_number: string | null;
281
- }, {
282
- acs_credential_id: string | null;
283
- card_number: string | null;
284
- }>;
1059
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
285
1060
  }>, "strip", z.ZodTypeAny, {
286
1061
  error: null;
287
1062
  status: "success";
288
1063
  action_attempt_id: string;
289
- result: {
290
- acs_credential_id: string | null;
291
- card_number: string | null;
292
- };
1064
+ result: {};
293
1065
  action_type: "ENCODE_CARD";
294
1066
  }, {
295
1067
  error: null;
296
1068
  status: "success";
297
1069
  action_attempt_id: string;
298
- result: {
299
- acs_credential_id: string | null;
300
- card_number: string | null;
301
- };
1070
+ result: {};
302
1071
  action_type: "ENCODE_CARD";
303
1072
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
304
1073
  action_attempt_id: z.ZodString;
@@ -911,19 +1680,19 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
911
1680
  error: z.ZodNull;
912
1681
  }>, {
913
1682
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
914
- result: z.ZodAny;
1683
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
915
1684
  }>, "strip", z.ZodTypeAny, {
916
1685
  error: null;
917
1686
  status: "success";
918
1687
  action_attempt_id: string;
1688
+ result: {};
919
1689
  action_type: "SYNC_ACCESS_CODES";
920
- result?: any;
921
1690
  }, {
922
1691
  error: null;
923
1692
  status: "success";
924
1693
  action_attempt_id: string;
1694
+ result: {};
925
1695
  action_type: "SYNC_ACCESS_CODES";
926
- result?: any;
927
1696
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
928
1697
  action_attempt_id: z.ZodString;
929
1698
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -989,19 +1758,29 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
989
1758
  error: z.ZodNull;
990
1759
  }>, {
991
1760
  action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
992
- result: z.ZodAny;
1761
+ result: z.ZodObject<{
1762
+ access_code: z.ZodAny;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ access_code?: any;
1765
+ }, {
1766
+ access_code?: any;
1767
+ }>;
993
1768
  }>, "strip", z.ZodTypeAny, {
994
1769
  error: null;
995
1770
  status: "success";
996
1771
  action_attempt_id: string;
1772
+ result: {
1773
+ access_code?: any;
1774
+ };
997
1775
  action_type: "CREATE_ACCESS_CODE";
998
- result?: any;
999
1776
  }, {
1000
1777
  error: null;
1001
1778
  status: "success";
1002
1779
  action_attempt_id: string;
1780
+ result: {
1781
+ access_code?: any;
1782
+ };
1003
1783
  action_type: "CREATE_ACCESS_CODE";
1004
- result?: any;
1005
1784
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1006
1785
  action_attempt_id: z.ZodString;
1007
1786
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -1067,19 +1846,19 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
1067
1846
  error: z.ZodNull;
1068
1847
  }>, {
1069
1848
  action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
1070
- result: z.ZodAny;
1849
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1071
1850
  }>, "strip", z.ZodTypeAny, {
1072
1851
  error: null;
1073
1852
  status: "success";
1074
1853
  action_attempt_id: string;
1854
+ result: {};
1075
1855
  action_type: "DELETE_ACCESS_CODE";
1076
- result?: any;
1077
1856
  }, {
1078
1857
  error: null;
1079
1858
  status: "success";
1080
1859
  action_attempt_id: string;
1860
+ result: {};
1081
1861
  action_type: "DELETE_ACCESS_CODE";
1082
- result?: any;
1083
1862
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1084
1863
  action_attempt_id: z.ZodString;
1085
1864
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -1145,19 +1924,29 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
1145
1924
  error: z.ZodNull;
1146
1925
  }>, {
1147
1926
  action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
1148
- result: z.ZodAny;
1927
+ result: z.ZodObject<{
1928
+ access_code: z.ZodAny;
1929
+ }, "strip", z.ZodTypeAny, {
1930
+ access_code?: any;
1931
+ }, {
1932
+ access_code?: any;
1933
+ }>;
1149
1934
  }>, "strip", z.ZodTypeAny, {
1150
1935
  error: null;
1151
1936
  status: "success";
1152
1937
  action_attempt_id: string;
1938
+ result: {
1939
+ access_code?: any;
1940
+ };
1153
1941
  action_type: "UPDATE_ACCESS_CODE";
1154
- result?: any;
1155
1942
  }, {
1156
1943
  error: null;
1157
1944
  status: "success";
1158
1945
  action_attempt_id: string;
1946
+ result: {
1947
+ access_code?: any;
1948
+ };
1159
1949
  action_type: "UPDATE_ACCESS_CODE";
1160
- result?: any;
1161
1950
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1162
1951
  action_attempt_id: z.ZodString;
1163
1952
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -1223,19 +2012,29 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
1223
2012
  error: z.ZodNull;
1224
2013
  }>, {
1225
2014
  action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
1226
- result: z.ZodAny;
2015
+ result: z.ZodObject<{
2016
+ noise_threshold: z.ZodAny;
2017
+ }, "strip", z.ZodTypeAny, {
2018
+ noise_threshold?: any;
2019
+ }, {
2020
+ noise_threshold?: any;
2021
+ }>;
1227
2022
  }>, "strip", z.ZodTypeAny, {
1228
2023
  error: null;
1229
2024
  status: "success";
1230
2025
  action_attempt_id: string;
2026
+ result: {
2027
+ noise_threshold?: any;
2028
+ };
1231
2029
  action_type: "CREATE_NOISE_THRESHOLD";
1232
- result?: any;
1233
2030
  }, {
1234
2031
  error: null;
1235
2032
  status: "success";
1236
2033
  action_attempt_id: string;
2034
+ result: {
2035
+ noise_threshold?: any;
2036
+ };
1237
2037
  action_type: "CREATE_NOISE_THRESHOLD";
1238
- result?: any;
1239
2038
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1240
2039
  action_attempt_id: z.ZodString;
1241
2040
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -1301,19 +2100,19 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
1301
2100
  error: z.ZodNull;
1302
2101
  }>, {
1303
2102
  action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
1304
- result: z.ZodAny;
2103
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1305
2104
  }>, "strip", z.ZodTypeAny, {
1306
2105
  error: null;
1307
2106
  status: "success";
1308
2107
  action_attempt_id: string;
2108
+ result: {};
1309
2109
  action_type: "DELETE_NOISE_THRESHOLD";
1310
- result?: any;
1311
2110
  }, {
1312
2111
  error: null;
1313
2112
  status: "success";
1314
2113
  action_attempt_id: string;
2114
+ result: {};
1315
2115
  action_type: "DELETE_NOISE_THRESHOLD";
1316
- result?: any;
1317
2116
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1318
2117
  action_attempt_id: z.ZodString;
1319
2118
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -1379,19 +2178,29 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
1379
2178
  error: z.ZodNull;
1380
2179
  }>, {
1381
2180
  action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
1382
- result: z.ZodAny;
2181
+ result: z.ZodObject<{
2182
+ noise_threshold: z.ZodAny;
2183
+ }, "strip", z.ZodTypeAny, {
2184
+ noise_threshold?: any;
2185
+ }, {
2186
+ noise_threshold?: any;
2187
+ }>;
1383
2188
  }>, "strip", z.ZodTypeAny, {
1384
2189
  error: null;
1385
2190
  status: "success";
1386
2191
  action_attempt_id: string;
2192
+ result: {
2193
+ noise_threshold?: any;
2194
+ };
1387
2195
  action_type: "UPDATE_NOISE_THRESHOLD";
1388
- result?: any;
1389
2196
  }, {
1390
2197
  error: null;
1391
2198
  status: "success";
1392
2199
  action_attempt_id: string;
2200
+ result: {
2201
+ noise_threshold?: any;
2202
+ };
1393
2203
  action_type: "UPDATE_NOISE_THRESHOLD";
1394
- result?: any;
1395
2204
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1396
2205
  action_attempt_id: z.ZodString;
1397
2206
  status: z.ZodEnum<["pending", "success", "error"]>;