From 88265c39e2e5624e2458867e652c01562996ef2a Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 10 Nov 2023 10:18:12 -0800 Subject: [PATCH] feat: Add salto_site (#269) --- src/lib/seam/connect/openapi.ts | 4 ++-- src/lib/seam/connect/route-types.ts | 8 ++++---- src/lib/seam/connect/unstable/models/acs/system.ts | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 7ef59b58..5cd6196c 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -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: { diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 1dc52b03..ecbac854 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -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 @@ -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 diff --git a/src/lib/seam/connect/unstable/models/acs/system.ts b/src/lib/seam/connect/unstable/models/acs/system.ts index a2c09050..39000b70 100644 --- a/src/lib/seam/connect/unstable/models/acs/system.ts +++ b/src/lib/seam/connect/unstable/models/acs/system.ts @@ -4,6 +4,7 @@ import { z } from 'zod' export const acs_system_external_type = z.enum([ 'pti_site', 'alta_org', + 'salto_site', 'brivo_system', ])