Skip to content

Commit

Permalink
feat: Add salto_site (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot authored Nov 10, 2023
1 parent 37ee1f7 commit 88265c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ export default {
connected_account_ids: { items: { type: 'string' }, type: 'array' },
created_at: { format: 'date-time', type: 'string' },
external_type: {
enum: ['pti_site', 'alta_org', 'brivo_system'],
enum: ['pti_site', 'alta_org', 'salto_site', 'brivo_system'],
type: 'string',
},
external_type_display_name: { type: 'string' },
name: { type: 'string' },
system_type: {
description: 'deprecated: use external_type',
enum: ['pti_site', 'alta_org', 'brivo_system'],
enum: ['pti_site', 'alta_org', 'salto_site', 'brivo_system'],
type: 'string',
},
system_type_display_name: {
Expand Down
8 changes: 4 additions & 4 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -735,10 +735,10 @@ export interface Routes {
jsonResponse: {
acs_system: {
acs_system_id: string
external_type: 'pti_site' | 'alta_org' | 'brivo_system'
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system'
external_type_display_name: string
/** deprecated: use external_type */
system_type: 'pti_site' | 'alta_org' | 'brivo_system'
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system'
/** deprecated: use external_type_display_name */
system_type_display_name: string
name: string
Expand All @@ -759,10 +759,10 @@ export interface Routes {
jsonResponse: {
acs_systems: Array<{
acs_system_id: string
external_type: 'pti_site' | 'alta_org' | 'brivo_system'
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system'
external_type_display_name: string
/** deprecated: use external_type */
system_type: 'pti_site' | 'alta_org' | 'brivo_system'
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system'
/** deprecated: use external_type_display_name */
system_type_display_name: string
name: string
Expand Down
1 change: 1 addition & 0 deletions src/lib/seam/connect/unstable/models/acs/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { z } from 'zod'
export const acs_system_external_type = z.enum([
'pti_site',
'alta_org',
'salto_site',
'brivo_system',
])

Expand Down

0 comments on commit 88265c3

Please sign in to comment.