File tree Expand file tree Collapse file tree 3 files changed +217
-0
lines changed
Expand file tree Collapse file tree 3 files changed +217
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,23 @@ const credential_being_deleted_error = z
141141 'Error to indicate that the credential is being deleted and can no longer be encoded.' ,
142142 )
143143
144+ const credential_deleted_error = z
145+ . object ( {
146+ type : z
147+ . literal ( 'credential_deleted' )
148+ . describe (
149+ 'Error type to indicate that the credential was deleted while encoding was in progress.' ,
150+ ) ,
151+ message : z
152+ . string ( )
153+ . describe (
154+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.' ,
155+ ) ,
156+ } )
157+ . describe (
158+ 'Error to indicate that the credential was deleted while encoding was in progress.' ,
159+ )
160+
144161const error = z . union ( [
145162 ...common_action_attempt_errors ,
146163 no_credential_on_encoder_error ,
@@ -151,6 +168,7 @@ const error = z.union([
151168 bridge_disconnected_error ,
152169 encoding_interrupted_error ,
153170 credential_being_deleted_error ,
171+ credential_deleted_error ,
154172] )
155173
156174const result = acs_credential
Original file line number Diff line number Diff line change @@ -8172,6 +8172,25 @@ export default {
81728172 required: ['type', 'message'],
81738173 type: 'object',
81748174 },
8175+ {
8176+ description:
8177+ 'Error to indicate that the credential was deleted while encoding was in progress.',
8178+ properties: {
8179+ message: {
8180+ description:
8181+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8182+ type: 'string',
8183+ },
8184+ type: {
8185+ description:
8186+ 'Error type to indicate that the credential was deleted while encoding was in progress.',
8187+ enum: ['credential_deleted'],
8188+ type: 'string',
8189+ },
8190+ },
8191+ required: ['type', 'message'],
8192+ type: 'object',
8193+ },
81758194 ],
81768195 },
81778196 result: {
You can’t perform that action at this time.
0 commit comments