@seamapi/types 1.770.0 → 1.772.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1654,14 +1654,14 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1654
1654
  message: string;
1655
1655
  type: "encoder_not_online";
1656
1656
  }>, z.ZodObject<{
1657
- type: z.ZodLiteral<"encoder_timeout_error">;
1657
+ type: z.ZodLiteral<"encoder_communication_timeout">;
1658
1658
  message: z.ZodString;
1659
1659
  }, "strip", z.ZodTypeAny, {
1660
1660
  message: string;
1661
- type: "encoder_timeout_error";
1661
+ type: "encoder_communication_timeout";
1662
1662
  }, {
1663
1663
  message: string;
1664
- type: "encoder_timeout_error";
1664
+ type: "encoder_communication_timeout";
1665
1665
  }>, z.ZodObject<{
1666
1666
  type: z.ZodLiteral<"bridge_disconnected">;
1667
1667
  message: z.ZodString;
@@ -1689,7 +1689,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1689
1689
  type: "encoder_not_online";
1690
1690
  } | {
1691
1691
  message: string;
1692
- type: "encoder_timeout_error";
1692
+ type: "encoder_communication_timeout";
1693
1693
  } | {
1694
1694
  message: string;
1695
1695
  type: "bridge_disconnected";
@@ -1713,7 +1713,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1713
1713
  type: "encoder_not_online";
1714
1714
  } | {
1715
1715
  message: string;
1716
- type: "encoder_timeout_error";
1716
+ type: "encoder_communication_timeout";
1717
1717
  } | {
1718
1718
  message: string;
1719
1719
  type: "bridge_disconnected";
@@ -2728,14 +2728,14 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2728
2728
  message: string;
2729
2729
  type: "encoder_not_online";
2730
2730
  }>, z.ZodObject<{
2731
- type: z.ZodLiteral<"encoder_timeout_error">;
2731
+ type: z.ZodLiteral<"encoder_communication_timeout">;
2732
2732
  message: z.ZodString;
2733
2733
  }, "strip", z.ZodTypeAny, {
2734
2734
  message: string;
2735
- type: "encoder_timeout_error";
2735
+ type: "encoder_communication_timeout";
2736
2736
  }, {
2737
2737
  message: string;
2738
- type: "encoder_timeout_error";
2738
+ type: "encoder_communication_timeout";
2739
2739
  }>, z.ZodObject<{
2740
2740
  type: z.ZodLiteral<"bridge_disconnected">;
2741
2741
  message: z.ZodString;
@@ -2745,6 +2745,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2745
2745
  }, {
2746
2746
  message: string;
2747
2747
  type: "bridge_disconnected";
2748
+ }>, z.ZodObject<{
2749
+ type: z.ZodLiteral<"encoding_interrupted">;
2750
+ message: z.ZodString;
2751
+ }, "strip", z.ZodTypeAny, {
2752
+ message: string;
2753
+ type: "encoding_interrupted";
2754
+ }, {
2755
+ message: string;
2756
+ type: "encoding_interrupted";
2748
2757
  }>]>;
2749
2758
  }, "strip", z.ZodTypeAny, {
2750
2759
  status: "error";
@@ -2769,10 +2778,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2769
2778
  type: "encoder_not_online";
2770
2779
  } | {
2771
2780
  message: string;
2772
- type: "encoder_timeout_error";
2781
+ type: "encoder_communication_timeout";
2773
2782
  } | {
2774
2783
  message: string;
2775
2784
  type: "bridge_disconnected";
2785
+ } | {
2786
+ message: string;
2787
+ type: "encoding_interrupted";
2776
2788
  };
2777
2789
  result: null;
2778
2790
  action_type: "ENCODE_CREDENTIAL";
@@ -2799,10 +2811,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2799
2811
  type: "encoder_not_online";
2800
2812
  } | {
2801
2813
  message: string;
2802
- type: "encoder_timeout_error";
2814
+ type: "encoder_communication_timeout";
2803
2815
  } | {
2804
2816
  message: string;
2805
2817
  type: "bridge_disconnected";
2818
+ } | {
2819
+ message: string;
2820
+ type: "encoding_interrupted";
2806
2821
  };
2807
2822
  result: null;
2808
2823
  action_type: "ENCODE_CREDENTIAL";
@@ -1007,14 +1007,14 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
1007
1007
  message: string;
1008
1008
  type: "encoder_not_online";
1009
1009
  }>, z.ZodObject<{
1010
- type: z.ZodLiteral<"encoder_timeout_error">;
1010
+ type: z.ZodLiteral<"encoder_communication_timeout">;
1011
1011
  message: z.ZodString;
1012
1012
  }, "strip", z.ZodTypeAny, {
1013
1013
  message: string;
1014
- type: "encoder_timeout_error";
1014
+ type: "encoder_communication_timeout";
1015
1015
  }, {
1016
1016
  message: string;
1017
- type: "encoder_timeout_error";
1017
+ type: "encoder_communication_timeout";
1018
1018
  }>, z.ZodObject<{
1019
1019
  type: z.ZodLiteral<"bridge_disconnected">;
1020
1020
  message: z.ZodString;
@@ -1024,6 +1024,15 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
1024
1024
  }, {
1025
1025
  message: string;
1026
1026
  type: "bridge_disconnected";
1027
+ }>, z.ZodObject<{
1028
+ type: z.ZodLiteral<"encoding_interrupted">;
1029
+ message: z.ZodString;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ message: string;
1032
+ type: "encoding_interrupted";
1033
+ }, {
1034
+ message: string;
1035
+ type: "encoding_interrupted";
1027
1036
  }>]>;
1028
1037
  }, "strip", z.ZodTypeAny, {
1029
1038
  status: "error";
@@ -1048,10 +1057,13 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
1048
1057
  type: "encoder_not_online";
1049
1058
  } | {
1050
1059
  message: string;
1051
- type: "encoder_timeout_error";
1060
+ type: "encoder_communication_timeout";
1052
1061
  } | {
1053
1062
  message: string;
1054
1063
  type: "bridge_disconnected";
1064
+ } | {
1065
+ message: string;
1066
+ type: "encoding_interrupted";
1055
1067
  };
1056
1068
  result: null;
1057
1069
  action_type: "ENCODE_CREDENTIAL";
@@ -1078,10 +1090,13 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
1078
1090
  type: "encoder_not_online";
1079
1091
  } | {
1080
1092
  message: string;
1081
- type: "encoder_timeout_error";
1093
+ type: "encoder_communication_timeout";
1082
1094
  } | {
1083
1095
  message: string;
1084
1096
  type: "bridge_disconnected";
1097
+ } | {
1098
+ message: string;
1099
+ type: "encoding_interrupted";
1085
1100
  };
1086
1101
  result: null;
1087
1102
  action_type: "ENCODE_CREDENTIAL";
@@ -44,10 +44,10 @@ const encoder_not_online_error = z
44
44
  .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
45
45
  })
46
46
  .describe('Error to indicate that the encoder is not online.');
47
- const encoder_timeout_error = z
47
+ const encoder_communication_timeout = z
48
48
  .object({
49
49
  type: z
50
- .literal('encoder_timeout_error')
50
+ .literal('encoder_communication_timeout')
51
51
  .describe('Error type to indicate that communication with the encoder timed out.'),
52
52
  message: z
53
53
  .string()
@@ -64,14 +64,25 @@ const bridge_disconnected_error = z
64
64
  .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
65
65
  })
66
66
  .describe('Error to indicate that the Seam Bridge is disconnected or cannot reach the access control system.');
67
+ const encoding_interrupted_error = z
68
+ .object({
69
+ type: z
70
+ .literal('encoding_interrupted')
71
+ .describe('Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete.'),
72
+ message: z
73
+ .string()
74
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
75
+ })
76
+ .describe('Error to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete.');
67
77
  const error = z.union([
68
78
  ...common_action_attempt_errors,
69
79
  no_credential_on_encoder_error,
70
80
  incompatible_card_format_error,
71
81
  credential_cannot_be_reissued,
72
82
  encoder_not_online_error,
73
- encoder_timeout_error,
83
+ encoder_communication_timeout,
74
84
  bridge_disconnected_error,
85
+ encoding_interrupted_error,
75
86
  ]);
76
87
  const result = acs_credential
77
88
  .or(unmanaged_acs_credential)
@@ -1 +1 @@
1
- {"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,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KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,wEAAwE,CACzE;CACJ,CAAC,CAAA"}
1
+ {"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,QAAQ,CACP,uGAAuG,CACxG,CAAA;AAEH,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,+DAA+D,CAAC,CAAA;AAE5E,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CAAC,qDAAqD,CAAC;IAClE,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,gDAAgD,CAAC,CAAA;AAE7D,MAAM,6BAA6B,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,+BAA+B,CAAC;SACxC,QAAQ,CACP,yEAAyE,CAC1E;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,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,yBAAyB;IACzB,0BAA0B;CAC3B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,cAAc;KAC1B,EAAE,CAAC,wBAAwB,CAAC;KAC5B,QAAQ,CACP,4HAA4H,CAC7H,CAAA;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CACP,4EAA4E,CAC7E;IACH,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CACP,2EAA2E,CAC5E;IACH,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,wEAAwE,CACzE;CACJ,CAAC,CAAA"}
@@ -1484,14 +1484,14 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1484
1484
  message: string;
1485
1485
  type: "encoder_not_online";
1486
1486
  }>, z.ZodObject<{
1487
- type: z.ZodLiteral<"encoder_timeout_error">;
1487
+ type: z.ZodLiteral<"encoder_communication_timeout">;
1488
1488
  message: z.ZodString;
1489
1489
  }, "strip", z.ZodTypeAny, {
1490
1490
  message: string;
1491
- type: "encoder_timeout_error";
1491
+ type: "encoder_communication_timeout";
1492
1492
  }, {
1493
1493
  message: string;
1494
- type: "encoder_timeout_error";
1494
+ type: "encoder_communication_timeout";
1495
1495
  }>, z.ZodObject<{
1496
1496
  type: z.ZodLiteral<"bridge_disconnected">;
1497
1497
  message: z.ZodString;
@@ -1519,7 +1519,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1519
1519
  type: "encoder_not_online";
1520
1520
  } | {
1521
1521
  message: string;
1522
- type: "encoder_timeout_error";
1522
+ type: "encoder_communication_timeout";
1523
1523
  } | {
1524
1524
  message: string;
1525
1525
  type: "bridge_disconnected";
@@ -1543,7 +1543,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1543
1543
  type: "encoder_not_online";
1544
1544
  } | {
1545
1545
  message: string;
1546
- type: "encoder_timeout_error";
1546
+ type: "encoder_communication_timeout";
1547
1547
  } | {
1548
1548
  message: string;
1549
1549
  type: "bridge_disconnected";
@@ -24,10 +24,10 @@ const encoder_not_online_error = z
24
24
  .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
25
25
  })
26
26
  .describe('Error to indicate that the encoder is not online.');
27
- const encoder_timeout_error = z
27
+ const encoder_communication_timeout = z
28
28
  .object({
29
29
  type: z
30
- .literal('encoder_timeout_error')
30
+ .literal('encoder_communication_timeout')
31
31
  .describe('Error type to indicate that communication with the encoder timed out.'),
32
32
  message: z
33
33
  .string()
@@ -48,7 +48,7 @@ const error = z.union([
48
48
  ...common_action_attempt_errors,
49
49
  no_credential_on_encoder_error,
50
50
  encoder_not_online_error,
51
- encoder_timeout_error,
51
+ encoder_communication_timeout,
52
52
  bridge_disconnected_error,
53
53
  ]);
54
54
  const warning = z
@@ -1 +1 @@
1
- {"version":3,"file":"scan-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/scan-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,iBAAiB,CAAC;KAC1B,QAAQ,CAAC,8DAA8D,CAAC,CAAA;AAE3E,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CACP,oEAAoE,CACrE;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C;KAC9C,CAAC;SACD,QAAQ,CAAC,uDAAuD,CAAC;IACpE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC;KACD,QAAQ,CAAC,2CAA2C,CAAC,CAAA;AAExD,MAAM,sBAAsB,GAAG,cAAc,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAA;AAE1E,MAAM,MAAM,GAAG,CAAC;KACb,MAAM,CAAC;IACN,yBAAyB,EAAE,yBAAyB;SACjD,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,sBAAsB,EAAE,sBAAsB;SAC3C,QAAQ,EAAE;SACV,QAAQ,CACP,wEAAwE,CACzE;IACH,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,OAAO,CAAC;SACd,QAAQ,CACP,4LAA4L,CAC7L;CACJ,CAAC;KACD,QAAQ,CACP,4NAA4N,CAC7N,CAAA;AAEH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC3E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,+DAA+D,CAAC;IAC5E,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,uDAAuD,CAAC;CACrE,CAAC,CAAA"}
1
+ {"version":3,"file":"scan-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/scan-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC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AAC;SAC9B,QAAQ,CAAC,uDAAuD,CAAC;CACrE,CAAC,CAAA"}
@@ -9194,14 +9194,14 @@ export declare const batch: z.ZodObject<{
9194
9194
  message: string;
9195
9195
  type: "encoder_not_online";
9196
9196
  }>, z.ZodObject<{
9197
- type: z.ZodLiteral<"encoder_timeout_error">;
9197
+ type: z.ZodLiteral<"encoder_communication_timeout">;
9198
9198
  message: z.ZodString;
9199
9199
  }, "strip", z.ZodTypeAny, {
9200
9200
  message: string;
9201
- type: "encoder_timeout_error";
9201
+ type: "encoder_communication_timeout";
9202
9202
  }, {
9203
9203
  message: string;
9204
- type: "encoder_timeout_error";
9204
+ type: "encoder_communication_timeout";
9205
9205
  }>, z.ZodObject<{
9206
9206
  type: z.ZodLiteral<"bridge_disconnected">;
9207
9207
  message: z.ZodString;
@@ -9229,7 +9229,7 @@ export declare const batch: z.ZodObject<{
9229
9229
  type: "encoder_not_online";
9230
9230
  } | {
9231
9231
  message: string;
9232
- type: "encoder_timeout_error";
9232
+ type: "encoder_communication_timeout";
9233
9233
  } | {
9234
9234
  message: string;
9235
9235
  type: "bridge_disconnected";
@@ -9253,7 +9253,7 @@ export declare const batch: z.ZodObject<{
9253
9253
  type: "encoder_not_online";
9254
9254
  } | {
9255
9255
  message: string;
9256
- type: "encoder_timeout_error";
9256
+ type: "encoder_communication_timeout";
9257
9257
  } | {
9258
9258
  message: string;
9259
9259
  type: "bridge_disconnected";
@@ -10268,14 +10268,14 @@ export declare const batch: z.ZodObject<{
10268
10268
  message: string;
10269
10269
  type: "encoder_not_online";
10270
10270
  }>, z.ZodObject<{
10271
- type: z.ZodLiteral<"encoder_timeout_error">;
10271
+ type: z.ZodLiteral<"encoder_communication_timeout">;
10272
10272
  message: z.ZodString;
10273
10273
  }, "strip", z.ZodTypeAny, {
10274
10274
  message: string;
10275
- type: "encoder_timeout_error";
10275
+ type: "encoder_communication_timeout";
10276
10276
  }, {
10277
10277
  message: string;
10278
- type: "encoder_timeout_error";
10278
+ type: "encoder_communication_timeout";
10279
10279
  }>, z.ZodObject<{
10280
10280
  type: z.ZodLiteral<"bridge_disconnected">;
10281
10281
  message: z.ZodString;
@@ -10285,6 +10285,15 @@ export declare const batch: z.ZodObject<{
10285
10285
  }, {
10286
10286
  message: string;
10287
10287
  type: "bridge_disconnected";
10288
+ }>, z.ZodObject<{
10289
+ type: z.ZodLiteral<"encoding_interrupted">;
10290
+ message: z.ZodString;
10291
+ }, "strip", z.ZodTypeAny, {
10292
+ message: string;
10293
+ type: "encoding_interrupted";
10294
+ }, {
10295
+ message: string;
10296
+ type: "encoding_interrupted";
10288
10297
  }>]>;
10289
10298
  }, "strip", z.ZodTypeAny, {
10290
10299
  status: "error";
@@ -10309,10 +10318,13 @@ export declare const batch: z.ZodObject<{
10309
10318
  type: "encoder_not_online";
10310
10319
  } | {
10311
10320
  message: string;
10312
- type: "encoder_timeout_error";
10321
+ type: "encoder_communication_timeout";
10313
10322
  } | {
10314
10323
  message: string;
10315
10324
  type: "bridge_disconnected";
10325
+ } | {
10326
+ message: string;
10327
+ type: "encoding_interrupted";
10316
10328
  };
10317
10329
  result: null;
10318
10330
  action_type: "ENCODE_CREDENTIAL";
@@ -10339,10 +10351,13 @@ export declare const batch: z.ZodObject<{
10339
10351
  type: "encoder_not_online";
10340
10352
  } | {
10341
10353
  message: string;
10342
- type: "encoder_timeout_error";
10354
+ type: "encoder_communication_timeout";
10343
10355
  } | {
10344
10356
  message: string;
10345
10357
  type: "bridge_disconnected";
10358
+ } | {
10359
+ message: string;
10360
+ type: "encoding_interrupted";
10346
10361
  };
10347
10362
  result: null;
10348
10363
  action_type: "ENCODE_CREDENTIAL";
@@ -27133,10 +27148,13 @@ export declare const batch: z.ZodObject<{
27133
27148
  type: "encoder_not_online";
27134
27149
  } | {
27135
27150
  message: string;
27136
- type: "encoder_timeout_error";
27151
+ type: "encoder_communication_timeout";
27137
27152
  } | {
27138
27153
  message: string;
27139
27154
  type: "bridge_disconnected";
27155
+ } | {
27156
+ message: string;
27157
+ type: "encoding_interrupted";
27140
27158
  };
27141
27159
  result: null;
27142
27160
  action_type: "ENCODE_CREDENTIAL";
@@ -27405,7 +27423,7 @@ export declare const batch: z.ZodObject<{
27405
27423
  type: "encoder_not_online";
27406
27424
  } | {
27407
27425
  message: string;
27408
- type: "encoder_timeout_error";
27426
+ type: "encoder_communication_timeout";
27409
27427
  } | {
27410
27428
  message: string;
27411
27429
  type: "bridge_disconnected";
@@ -31991,10 +32009,13 @@ export declare const batch: z.ZodObject<{
31991
32009
  type: "encoder_not_online";
31992
32010
  } | {
31993
32011
  message: string;
31994
- type: "encoder_timeout_error";
32012
+ type: "encoder_communication_timeout";
31995
32013
  } | {
31996
32014
  message: string;
31997
32015
  type: "bridge_disconnected";
32016
+ } | {
32017
+ message: string;
32018
+ type: "encoding_interrupted";
31998
32019
  };
31999
32020
  result: null;
32000
32021
  action_type: "ENCODE_CREDENTIAL";
@@ -32263,7 +32284,7 @@ export declare const batch: z.ZodObject<{
32263
32284
  type: "encoder_not_online";
32264
32285
  } | {
32265
32286
  message: string;
32266
- type: "encoder_timeout_error";
32287
+ type: "encoder_communication_timeout";
32267
32288
  } | {
32268
32289
  message: string;
32269
32290
  type: "bridge_disconnected";