Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 55 additions & 36 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52649,7 +52649,7 @@ export default {
'/seam/customer/v1/connectors/connector_types': {
get: {
description:
'Lists all available connector types and their required instance configuration schemas.',
'Lists all available connector types and their editable fields for UI input.',
operationId: 'seamCustomerV1ConnectorsConnectorTypesGet',
responses: {
200: {
Expand All @@ -52663,30 +52663,39 @@ export default {
connector_type: { type: 'string' },
description: { type: 'string' },
display_name: { type: 'string' },
instance_config_schema: {
$ref: '#/components/schemas/access_code',
},
static_config: {
properties: {
base_api_url: { type: 'string' },
polling_enabled: { type: 'boolean' },
polling_frequency_minutes: {
format: 'float',
type: 'number',
editable_fields: {
items: {
properties: {
description: { type: 'string' },
display_name: { type: 'string' },
name: { type: 'string' },
required: { type: 'boolean' },
type: {
enum: [
'string',
'string[]',
'number',
'boolean',
],
type: 'string',
},
},
required: [
'name',
'display_name',
'description',
'type',
'required',
],
type: 'object',
},
required: [
'base_api_url',
'polling_enabled',
'polling_frequency_minutes',
],
type: 'object',
type: 'array',
},
},
required: [
'connector_type',
'display_name',
'static_config',
'editable_fields',
],
type: 'object',
},
Expand Down Expand Up @@ -52720,7 +52729,7 @@ export default {
},
post: {
description:
'Lists all available connector types and their required instance configuration schemas.',
'Lists all available connector types and their editable fields for UI input.',
operationId: 'seamCustomerV1ConnectorsConnectorTypesPost',
responses: {
200: {
Expand All @@ -52734,30 +52743,39 @@ export default {
connector_type: { type: 'string' },
description: { type: 'string' },
display_name: { type: 'string' },
instance_config_schema: {
$ref: '#/components/schemas/access_code',
},
static_config: {
properties: {
base_api_url: { type: 'string' },
polling_enabled: { type: 'boolean' },
polling_frequency_minutes: {
format: 'float',
type: 'number',
editable_fields: {
items: {
properties: {
description: { type: 'string' },
display_name: { type: 'string' },
name: { type: 'string' },
required: { type: 'boolean' },
type: {
enum: [
'string',
'string[]',
'number',
'boolean',
],
type: 'string',
},
},
required: [
'name',
'display_name',
'description',
'type',
'required',
],
type: 'object',
},
required: [
'base_api_url',
'polling_enabled',
'polling_frequency_minutes',
],
type: 'object',
type: 'array',
},
},
required: [
'connector_type',
'display_name',
'static_config',
'editable_fields',
],
type: 'object',
},
Expand Down Expand Up @@ -53182,6 +53200,7 @@ export default {
},
{
properties: {
auth_token: { type: 'string' },
client_id: {
description: 'RMS client ID for authentication',
minLength: 1,
Expand Down
14 changes: 8 additions & 6 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61785,12 +61785,13 @@ export type Routes = {
connector_type: string
display_name: string
description?: string | undefined
instance_config_schema?: any
static_config: {
base_api_url: string
polling_enabled: boolean
polling_frequency_minutes: number
}
editable_fields: {
name: string
display_name: string
description: string
type: 'string' | 'string[]' | 'number' | 'boolean'
required: boolean
}[]
}[]
}
}
Expand Down Expand Up @@ -61909,6 +61910,7 @@ export type Routes = {
client_password: string
/** Optional property ID for single-property connectors */
property_id?: (string | number) | undefined
auth_token?: string | undefined
}
}
commonParams: {}
Expand Down