Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Dec 20, 2024
1 parent 2f87728 commit a4c110b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
1 change: 1 addition & 0 deletions src/lib/seam/connect/models/acs/acs-access-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const acs_access_group_external_type = z.enum([
'salto_ks_access_group',
'brivo_group',
'salto_space_group',
'dormakaba_community_access_group',
])

export type AcsAccessGroupExternalType = z.infer<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { z } from 'zod'
export const acs_entrance_dormakaba_community_metadata = z.object({
access_point_name: z.string(),
common_area_number: z.number().optional(),
inner_access_points_names: z.array(z.string()).optional(),
lease_ids: z.array(z.string()).optional(),
})

export type AcsEntranceDormakabaCommunityMetadata = z.infer<
Expand Down
11 changes: 6 additions & 5 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ export default {
'salto_ks_access_group',
'brivo_group',
'salto_space_group',
'dormakaba_community_access_group',
],
type: 'string',
'x-deprecated': 'Use `external_type`.',
Expand Down Expand Up @@ -232,6 +233,7 @@ export default {
'salto_ks_access_group',
'brivo_group',
'salto_space_group',
'dormakaba_community_access_group',
],
type: 'string',
},
Expand Down Expand Up @@ -637,11 +639,6 @@ export default {
properties: {
access_point_name: { type: 'string' },
common_area_number: { format: 'float', type: 'number' },
inner_access_points_names: {
items: { type: 'string' },
type: 'array',
},
lease_ids: { items: { type: 'string' }, type: 'array' },
},
required: ['access_point_name'],
type: 'object',
Expand Down Expand Up @@ -12420,6 +12417,7 @@ export default {
'salto_ks_access_group',
'brivo_group',
'salto_space_group',
'dormakaba_community_access_group',
],
type: 'string',
'x-deprecated': 'Use `external_type`.',
Expand Down Expand Up @@ -12456,6 +12454,7 @@ export default {
'salto_ks_access_group',
'brivo_group',
'salto_space_group',
'dormakaba_community_access_group',
],
type: 'string',
},
Expand Down Expand Up @@ -12563,6 +12562,7 @@ export default {
'salto_ks_access_group',
'brivo_group',
'salto_space_group',
'dormakaba_community_access_group',
],
type: 'string',
'x-deprecated': 'Use `external_type`.',
Expand Down Expand Up @@ -12599,6 +12599,7 @@ export default {
'salto_ks_access_group',
'brivo_group',
'salto_space_group',
'dormakaba_community_access_group',
],
type: 'string',
},
Expand Down
18 changes: 8 additions & 10 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4555,6 +4555,7 @@ export interface Routes {
| 'salto_ks_access_group'
| 'brivo_group'
| 'salto_space_group'
| 'dormakaba_community_access_group'
/**
* @deprecated Use `external_type_display_name`. */
access_group_type_display_name: string
Expand All @@ -4566,6 +4567,7 @@ export interface Routes {
| 'salto_ks_access_group'
| 'brivo_group'
| 'salto_space_group'
| 'dormakaba_community_access_group'
/** Display name that corresponds to the brand-specific terminology for the access group type. */
external_type_display_name: string
/** Date and time at which the access group was created. */
Expand Down Expand Up @@ -4604,6 +4606,7 @@ export interface Routes {
| 'salto_ks_access_group'
| 'brivo_group'
| 'salto_space_group'
| 'dormakaba_community_access_group'
/**
* @deprecated Use `external_type_display_name`. */
access_group_type_display_name: string
Expand All @@ -4615,6 +4618,7 @@ export interface Routes {
| 'salto_ks_access_group'
| 'brivo_group'
| 'salto_space_group'
| 'dormakaba_community_access_group'
/** Display name that corresponds to the brand-specific terminology for the access group type. */
external_type_display_name: string
/** Date and time at which the access group was created. */
Expand Down Expand Up @@ -4688,8 +4692,6 @@ export interface Routes {
| {
access_point_name: string
common_area_number?: number | undefined
inner_access_points_names?: string[] | undefined
lease_ids?: string[] | undefined
}
| undefined
assa_abloy_vostio_metadata?:
Expand Down Expand Up @@ -4880,6 +4882,7 @@ export interface Routes {
| 'salto_ks_access_group'
| 'brivo_group'
| 'salto_space_group'
| 'dormakaba_community_access_group'
/**
* @deprecated Use `external_type_display_name`. */
access_group_type_display_name: string
Expand All @@ -4891,6 +4894,7 @@ export interface Routes {
| 'salto_ks_access_group'
| 'brivo_group'
| 'salto_space_group'
| 'dormakaba_community_access_group'
/** Display name that corresponds to the brand-specific terminology for the access group type. */
external_type_display_name: string
/** Date and time at which the access group was created. */
Expand Down Expand Up @@ -4929,6 +4933,7 @@ export interface Routes {
| 'salto_ks_access_group'
| 'brivo_group'
| 'salto_space_group'
| 'dormakaba_community_access_group'
/**
* @deprecated Use `external_type_display_name`. */
access_group_type_display_name: string
Expand All @@ -4940,6 +4945,7 @@ export interface Routes {
| 'salto_ks_access_group'
| 'brivo_group'
| 'salto_space_group'
| 'dormakaba_community_access_group'
/** Display name that corresponds to the brand-specific terminology for the access group type. */
external_type_display_name: string
/** Date and time at which the access group was created. */
Expand Down Expand Up @@ -5765,8 +5771,6 @@ export interface Routes {
| {
access_point_name: string
common_area_number?: number | undefined
inner_access_points_names?: string[] | undefined
lease_ids?: string[] | undefined
}
| undefined
assa_abloy_vostio_metadata?:
Expand Down Expand Up @@ -8389,8 +8393,6 @@ export interface Routes {
| {
access_point_name: string
common_area_number?: number | undefined
inner_access_points_names?: string[] | undefined
lease_ids?: string[] | undefined
}
| undefined
assa_abloy_vostio_metadata?:
Expand Down Expand Up @@ -8493,8 +8495,6 @@ export interface Routes {
| {
access_point_name: string
common_area_number?: number | undefined
inner_access_points_names?: string[] | undefined
lease_ids?: string[] | undefined
}
| undefined
assa_abloy_vostio_metadata?:
Expand Down Expand Up @@ -9647,8 +9647,6 @@ export interface Routes {
| {
access_point_name: string
common_area_number?: number | undefined
inner_access_points_names?: string[] | undefined
lease_ids?: string[] | undefined
}
| undefined
assa_abloy_vostio_metadata?:
Expand Down

0 comments on commit a4c110b

Please sign in to comment.