File tree Expand file tree Collapse file tree 4 files changed +128
-128
lines changed
Expand file tree Collapse file tree 4 files changed +128
-128
lines changed Original file line number Diff line number Diff line change @@ -62,25 +62,25 @@ const credential_cannot_be_reissued = z
6262 'Error to indicate that the affected credential cannot be reissued.' ,
6363 )
6464
65- const no_card_on_encoder_error = z
65+ const encoder_not_online_error = z
6666 . object ( {
6767 type : z
68- . literal ( 'no_card_on_encoder ' )
69- . describe ( 'Error type to indicate that there is no card on the encoder .' ) ,
68+ . literal ( 'encoder_not_online ' )
69+ . describe ( 'Error type to indicate that the encoder is not online .' ) ,
7070 message : z
7171 . string ( )
7272 . describe (
7373 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.' ,
7474 ) ,
7575 } )
76- . describe ( 'Error to indicate that there is no card on the encoder .' )
76+ . describe ( 'Error to indicate that the encoder is not online .' )
7777
7878const error = z . union ( [
7979 ...common_action_attempt_errors ,
8080 no_credential_on_encoder_error ,
8181 incompatible_card_format_error ,
8282 credential_cannot_be_reissued ,
83- no_card_on_encoder_error ,
83+ encoder_not_online_error ,
8484] )
8585
8686const result = acs_credential
Original file line number Diff line number Diff line change @@ -31,23 +31,23 @@ const no_credential_on_encoder_error = z
3131 } )
3232 . describe ( 'Error to indicate that there is no credential on the encoder.' )
3333
34- const no_card_on_encoder_error = z
34+ const encoder_not_online_error = z
3535 . object ( {
3636 type : z
37- . literal ( 'no_card_on_encoder ' )
38- . describe ( 'Error type to indicate that there is no card on the encoder .' ) ,
37+ . literal ( 'encoder_not_online ' )
38+ . describe ( 'Error type to indicate that the encoder is not online .' ) ,
3939 message : z
4040 . string ( )
4141 . describe (
4242 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.' ,
4343 ) ,
4444 } )
45- . describe ( 'Error to indicate that there is no card on the encoder .' )
45+ . describe ( 'Error to indicate that the encoder is not online .' )
4646
4747const error = z . union ( [
4848 ...common_action_attempt_errors ,
4949 no_credential_on_encoder_error ,
50- no_card_on_encoder_error ,
50+ encoder_not_online_error ,
5151] )
5252
5353const warning = z
Original file line number Diff line number Diff line change @@ -6287,7 +6287,7 @@ export default {
62876287 },
62886288 {
62896289 description:
6290- 'Error to indicate that there is no card on the encoder .',
6290+ 'Error to indicate that the encoder is not online .',
62916291 properties: {
62926292 message: {
62936293 description:
@@ -6296,8 +6296,8 @@ export default {
62966296 },
62976297 type: {
62986298 description:
6299- 'Error type to indicate that there is no card on the encoder .',
6300- enum: ['no_card_on_encoder '],
6299+ 'Error type to indicate that the encoder is not online .',
6300+ enum: ['encoder_not_online '],
63016301 type: 'string',
63026302 },
63036303 },
@@ -7415,7 +7415,7 @@ export default {
74157415 },
74167416 {
74177417 description:
7418- 'Error to indicate that there is no card on the encoder .',
7418+ 'Error to indicate that the encoder is not online .',
74197419 properties: {
74207420 message: {
74217421 description:
@@ -7424,8 +7424,8 @@ export default {
74247424 },
74257425 type: {
74267426 description:
7427- 'Error type to indicate that there is no card on the encoder .',
7428- enum: ['no_card_on_encoder '],
7427+ 'Error type to indicate that the encoder is not online .',
7428+ enum: ['encoder_not_online '],
74297429 type: 'string',
74307430 },
74317431 },
You can’t perform that action at this time.
0 commit comments