File tree Expand file tree Collapse file tree 4 files changed +53746
-33296
lines changed
Expand file tree Collapse file tree 4 files changed +53746
-33296
lines changed Original file line number Diff line number Diff line change 5852158521 },
5852258522 "email": {
5852358523 "type": "string"
58524+ },
58525+ "user_fields": {
58526+ "type": "object",
58527+ "additionalProperties": {
58528+ "anyOf": [
58529+ {},
58530+ {
58531+ "not": {}
58532+ }
58533+ ]
58534+ }
5852458535 }
5852558536 },
5852658537 "required": [
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export const User = z.object({
2626 firstName : z . string ( ) ,
2727 lastName : z . string ( ) ,
2828 email : z . string ( ) ,
29- user_fields : z . record ( z . string ( ) , z . string ( ) ) . optional ( )
29+ user_fields : z . record ( z . string ( ) , z . any ( ) ) . optional ( )
3030} ) ;
3131
3232export type User = z . infer < typeof User > ;
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ export interface ZendeskUser {
230230 suspended : boolean ;
231231 default_group_id : number ;
232232 report_csv : boolean ;
233- user_fields : Record < string , any > ;
233+ user_fields ? : Record < string , any > ;
234234}
235235
236236interface ZendeskAttachmet {
You can’t perform that action at this time.
0 commit comments