Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Nov 23, 2023
1 parent 9b558e5 commit c88240f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ export default {
},
external_type_display_name: { type: 'string' },
full_name: { type: 'string' },
hid_acs_system_id: { format: 'uuid', type: 'string' },
is_suspended: { type: 'boolean' },
phone_number: { nullable: true, type: 'string' },
workspace_id: { format: 'uuid', type: 'string' },
Expand Down Expand Up @@ -4747,6 +4748,7 @@ export default {
},
email_address: { format: 'email', type: 'string' },
full_name: { type: 'string' },
hid_acs_system_id: { format: 'uuid', type: 'string' },
phone_number: { nullable: true, type: 'string' },
},
required: ['acs_user_id'],
Expand Down Expand Up @@ -4795,6 +4797,7 @@ export default {
},
email_address: { format: 'email', type: 'string' },
full_name: { type: 'string' },
hid_acs_system_id: { format: 'uuid', type: 'string' },
phone_number: { nullable: true, type: 'string' },
},
required: ['acs_user_id'],
Expand Down Expand Up @@ -7571,7 +7574,10 @@ export default {
content: {
'application/json': {
schema: {
properties: { device_id: { format: 'uuid', type: 'string' } },
properties: {
device_id: { format: 'uuid', type: 'string' },
is_programmed: { type: 'boolean' },
},
required: ['device_id'],
type: 'object',
},
Expand Down
7 changes: 7 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ export interface Routes {
acs_users: Array<{
acs_user_id: string
acs_system_id: string
hid_acs_system_id?: string | undefined
workspace_id: string
created_at: string
display_name: string
Expand Down Expand Up @@ -1103,6 +1104,7 @@ export interface Routes {
acs_user: {
acs_user_id: string
acs_system_id: string
hid_acs_system_id?: string | undefined
workspace_id: string
created_at: string
display_name: string
Expand Down Expand Up @@ -1141,6 +1143,7 @@ export interface Routes {
acs_user: {
acs_user_id: string
acs_system_id: string
hid_acs_system_id?: string | undefined
workspace_id: string
created_at: string
display_name: string
Expand Down Expand Up @@ -1168,6 +1171,7 @@ export interface Routes {
acs_users: Array<{
acs_user_id: string
acs_system_id: string
hid_acs_system_id?: string | undefined
workspace_id: string
created_at: string
display_name: string
Expand Down Expand Up @@ -1227,6 +1231,7 @@ export interface Routes {
email?: string | undefined
phone_number?: string | undefined
email_address?: string | undefined
hid_acs_system_id?: string | undefined
}
commonParams: {}
formData: {}
Expand Down Expand Up @@ -6383,6 +6388,7 @@ export interface Routes {
jsonBody: {}
commonParams: {
device_id: string
is_programmed?: boolean | undefined
}
formData: {}
jsonResponse: {
Expand Down Expand Up @@ -8786,6 +8792,7 @@ export interface Routes {
acs_users: Array<{
acs_user_id: string
acs_system_id: string
hid_acs_system_id?: string | undefined
workspace_id: string
created_at: string
display_name: string
Expand Down
1 change: 1 addition & 0 deletions src/lib/seam/connect/unstable/models/acs/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const acs_user = z
.object({
acs_user_id: z.string().uuid(),
acs_system_id: z.string().uuid(),
hid_acs_system_id: z.string().uuid().optional(),
workspace_id: z.string().uuid(),
created_at: z.string().datetime(),
display_name: z.string(),
Expand Down

0 comments on commit c88240f

Please sign in to comment.