Skip to content

Commit cd28f0d

Browse files
authored
feat: Sync with Seam API via 6a8075fc494e88ef2c1dd4c30b074a17d0d2f78a (#2741)
1 parent 5e87df6 commit cd28f0d

File tree

4 files changed

+68
-68
lines changed

4 files changed

+68
-68
lines changed

src/lib/seam/connect/models/action-attempts/encode-credential.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ const encoder_not_online_error = z
7575
})
7676
.describe('Error to indicate that the encoder is not online.')
7777

78-
const encoder_timeout_error = z
78+
const encoder_communication_timeout = z
7979
.object({
8080
type: z
81-
.literal('encoder_timeout_error')
81+
.literal('encoder_communication_timeout')
8282
.describe(
8383
'Error type to indicate that communication with the encoder timed out.',
8484
),
@@ -130,7 +130,7 @@ const error = z.union([
130130
incompatible_card_format_error,
131131
credential_cannot_be_reissued,
132132
encoder_not_online_error,
133-
encoder_timeout_error,
133+
encoder_communication_timeout,
134134
bridge_disconnected_error,
135135
encoding_interrupted_error,
136136
])

src/lib/seam/connect/models/action-attempts/scan-credential.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ const encoder_not_online_error = z
4444
})
4545
.describe('Error to indicate that the encoder is not online.')
4646

47-
const encoder_timeout_error = z
47+
const encoder_communication_timeout = z
4848
.object({
4949
type: z
50-
.literal('encoder_timeout_error')
50+
.literal('encoder_communication_timeout')
5151
.describe(
5252
'Error type to indicate that communication with the encoder timed out.',
5353
),
@@ -80,7 +80,7 @@ const error = z.union([
8080
...common_action_attempt_errors,
8181
no_credential_on_encoder_error,
8282
encoder_not_online_error,
83-
encoder_timeout_error,
83+
encoder_communication_timeout,
8484
bridge_disconnected_error,
8585
])
8686

src/lib/seam/connect/openapi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6904,7 +6904,7 @@ export default {
69046904
type: {
69056905
description:
69066906
'Error type to indicate that communication with the encoder timed out.',
6907-
enum: ['encoder_timeout_error'],
6907+
enum: ['encoder_communication_timeout'],
69086908
type: 'string',
69096909
},
69106910
},
@@ -8072,7 +8072,7 @@ export default {
80728072
type: {
80738073
description:
80748074
'Error type to indicate that communication with the encoder timed out.',
8075-
enum: ['encoder_timeout_error'],
8075+
enum: ['encoder_communication_timeout'],
80768076
type: 'string',
80778077
},
80788078
},

0 commit comments

Comments
 (0)