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
2 changes: 1 addition & 1 deletion apps/sim/tools/a2a/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { A2AAgentCardOutput, A2ATaskOutput } from '@/lib/a2a/client'
import type { UserFile } from '@/executor/types'
import type { OutputProperty, ToolResponse } from '@/tools/types'

export interface A2ABaseParams {
interface A2ABaseParams {
agentUrl: string
apiKey?: string
}
Expand Down
8 changes: 4 additions & 4 deletions apps/sim/tools/affinity/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface AffinityPagination {
}

/** Cursor outputs every collection tool declares alongside its rows. */
export interface AffinityCollectionMeta {
interface AffinityCollectionMeta {
count: number
nextCursor: string | null
prevCursor: string | null
Expand All @@ -26,7 +26,7 @@ export interface AffinityEntityResponse<T extends Record<string, unknown>> exten
}

/** Every tool authenticates with a workspace API key sent as a bearer token. */
export interface AffinityAuthParams {
interface AffinityAuthParams {
apiKey: string
}

Expand All @@ -42,7 +42,7 @@ export interface AffinityFilterParams extends AffinityCursorParams {
}

/** Collections that can be asked for the total size of the match. */
export interface AffinityTotalCountParams {
interface AffinityTotalCountParams {
totalCount?: boolean
}

Expand Down Expand Up @@ -261,7 +261,7 @@ export interface AffinitySearchByKeywordParams extends AffinityAuthParams {
ids?: string | number[]
}

export interface AffinityNoteIdParams extends AffinityAuthParams {
interface AffinityNoteIdParams extends AffinityAuthParams {
noteId: string
}

Expand Down
8 changes: 1 addition & 7 deletions apps/sim/tools/agentphone/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,7 @@ export interface AgentPhoneSendMessageResult extends ToolResponse {
}
}

export type AgentPhoneReactionType =
| 'love'
| 'like'
| 'dislike'
| 'laugh'
| 'emphasize'
| 'question'
type AgentPhoneReactionType = 'love' | 'like' | 'dislike' | 'laugh' | 'emphasize' | 'question'

export interface AgentPhoneReactToMessageParams {
apiKey: string
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/tools/agiloft/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface AgiloftUpdateRecordParams extends AgiloftBaseParams {
}

/** Strategies EWDelete accepts for records that depend on the one being deleted. */
export type AgiloftDeleteRule =
type AgiloftDeleteRule =
| 'ERROR_IF_DEPENDANTS'
| 'APPLY_DELETE_WHERE_POSSIBLE'
| 'DELETE_WHERE_POSSIBLE_OTHERWISE_UNLINK'
Expand Down
8 changes: 4 additions & 4 deletions apps/sim/tools/ahrefs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ interface AhrefsBaseParams {
apiKey: string
}

export type AhrefsTargetMode = 'domain' | 'prefix' | 'subdomains' | 'exact'
type AhrefsTargetMode = 'domain' | 'prefix' | 'subdomains' | 'exact'

/**
* Historical scope for backlink-profile endpoints (no `date` param on these endpoints).
* `since:YYYY-MM-DD` is also valid.
*/
export type AhrefsHistory = 'live' | 'all_time' | string
type AhrefsHistory = 'live' | 'all_time' | string

export interface AhrefsDomainRatingParams extends AhrefsBaseParams {
target: string
Expand Down Expand Up @@ -239,10 +239,10 @@ export interface AhrefsOrganicCompetitorsResponse extends ToolResponse {
}
}

export type AhrefsRankTrackerDevice = 'desktop' | 'mobile'
type AhrefsRankTrackerDevice = 'desktop' | 'mobile'

/** Rank Tracker search volume calculation mode */
export type AhrefsVolumeMode = 'monthly' | 'average'
type AhrefsVolumeMode = 'monthly' | 'average'

export interface AhrefsRankTrackerOverviewParams extends AhrefsBaseParams {
projectId: number
Expand Down
14 changes: 7 additions & 7 deletions apps/sim/tools/appconfig/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ export interface AppConfigConnectionConfig {
secretAccessKey: string
}

export interface AppConfigApplication {
interface AppConfigApplication {
id: string
name: string
description: string | null
}

export interface AppConfigEnvironment {
interface AppConfigEnvironment {
applicationId: string
id: string
name: string
description: string | null
state: string | null
}

export interface AppConfigConfigurationProfile {
interface AppConfigConfigurationProfile {
applicationId: string
id: string
name: string
Expand All @@ -31,7 +31,7 @@ export interface AppConfigConfigurationProfile {
validatorTypes: string[]
}

export interface AppConfigDeploymentSummary {
interface AppConfigDeploymentSummary {
deploymentNumber: number | null
configurationName: string | null
configurationVersion: string | null
Expand All @@ -46,7 +46,7 @@ export interface AppConfigDeploymentSummary {
versionLabel: string | null
}

export interface AppConfigDeploymentDetail {
interface AppConfigDeploymentDetail {
applicationId: string
environmentId: string
deploymentStrategyId: string
Expand All @@ -61,7 +61,7 @@ export interface AppConfigDeploymentDetail {
completedAt: string | null
}

export interface AppConfigDeploymentStrategy {
interface AppConfigDeploymentStrategy {
id: string
name: string
description: string | null
Expand All @@ -72,7 +72,7 @@ export interface AppConfigDeploymentStrategy {
replicateTo: string | null
}

export interface AppConfigHostedConfigurationVersionSummary {
interface AppConfigHostedConfigurationVersionSummary {
applicationId: string | null
configurationProfileId: string | null
versionNumber: number | null
Expand Down
16 changes: 8 additions & 8 deletions apps/sim/tools/athena/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export interface AthenaBatchGetQueryExecutionParams extends AthenaConnectionConf
queryExecutionIds: string
}

export interface AthenaQueryExecutionSummary {
interface AthenaQueryExecutionSummary {
queryExecutionId: string
query: string | null
state: string | null
Expand All @@ -161,7 +161,7 @@ export interface AthenaQueryExecutionSummary {
outputLocation: string | null
}

export interface AthenaUnprocessedQueryExecutionId {
interface AthenaUnprocessedQueryExecutionId {
queryExecutionId: string | null
errorCode: string | null
errorMessage: string | null
Expand All @@ -181,7 +181,7 @@ export interface AthenaListDatabasesParams extends AthenaConnectionConfig {
nextToken?: string
}

export interface AthenaDatabase {
interface AthenaDatabase {
name: string
description: string | null
parameters: Record<string, string>
Expand All @@ -203,13 +203,13 @@ export interface AthenaListTableMetadataParams extends AthenaConnectionConfig {
nextToken?: string
}

export interface AthenaColumn {
interface AthenaColumn {
name: string
type: string | null
comment: string | null
}

export interface AthenaTableMetadata {
interface AthenaTableMetadata {
name: string
tableType: string | null
createTime: number | null
Expand All @@ -226,7 +226,7 @@ export interface AthenaListTableMetadataResponse extends ToolResponse {
}
}

export interface AthenaNamedQuery {
interface AthenaNamedQuery {
namedQueryId: string
name: string
description: string | null
Expand All @@ -235,15 +235,15 @@ export interface AthenaNamedQuery {
workGroup: string | null
}

export interface AthenaPreparedStatement {
interface AthenaPreparedStatement {
statementName: string
queryStatement: string
workGroupName: string | null
description: string | null
lastModifiedTime: number | null
}

export interface AthenaEngineVersion {
interface AthenaEngineVersion {
selectedEngineVersion: string | null
effectiveEngineVersion: string | null
}
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/tools/attio/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { OutputProperty, ToolResponse } from '@/tools/types'

/** Raw Attio note tag shape (workspace-member or record variant) */
export interface AttioNoteTag {
interface AttioNoteTag {
type?: string
workspace_member_id?: string
object?: string
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/tools/azure_data_explorer/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface AzureDataExplorerBaseParams {
resource?: string
}

export interface AzureDataExplorerColumn {
interface AzureDataExplorerColumn {
name: string
type: string | null
dataType: string | null
Expand Down
16 changes: 8 additions & 8 deletions apps/sim/tools/azure_devops/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ToolResponse } from '@/tools/types'

export interface AzureDevOpsBaseParams {
interface AzureDevOpsBaseParams {
/** Azure DevOps organization name */
organization: string
/** Azure DevOps project name */
Expand All @@ -17,7 +17,7 @@ export interface ListPipelinesParams extends AzureDevOpsBaseParams {
continuationToken?: string
}

export interface AzureDevOpsPipeline {
interface AzureDevOpsPipeline {
id: number
name: string
folder: string
Expand All @@ -42,7 +42,7 @@ export interface GetPipelineParams extends AzureDevOpsBaseParams {
pipelineVersion?: number
}

export interface AzureDevOpsPipelineConfiguration {
interface AzureDevOpsPipelineConfiguration {
type: string
path?: string
repository?: {
Expand All @@ -51,7 +51,7 @@ export interface AzureDevOpsPipelineConfiguration {
}
}

export interface AzureDevOpsPipelineDetail extends AzureDevOpsPipeline {
interface AzureDevOpsPipelineDetail extends AzureDevOpsPipeline {
configuration: AzureDevOpsPipelineConfiguration
links: {
self: string
Expand All @@ -74,7 +74,7 @@ export interface ListPipelineRunsParams extends AzureDevOpsBaseParams {
pipelineId: number
}

export interface AzureDevOpsPipelineRun {
interface AzureDevOpsPipelineRun {
id: number
name: string
state: string
Expand Down Expand Up @@ -102,7 +102,7 @@ export interface GetPipelineRunParams extends AzureDevOpsBaseParams {
runId: number
}

export interface AzureDevOpsPipelineRunDetail extends AzureDevOpsPipelineRun {
interface AzureDevOpsPipelineRunDetail extends AzureDevOpsPipelineRun {
pipeline: {
id: number
name: string
Expand Down Expand Up @@ -131,7 +131,7 @@ export interface ListBuildsParams extends AzureDevOpsBaseParams {
branchName?: string
}

export interface AzureDevOpsBuild {
interface AzureDevOpsBuild {
id: number
buildNumber: string
status: string
Expand Down Expand Up @@ -164,7 +164,7 @@ export interface ListBuildLogsParams extends AzureDevOpsBaseParams {
buildId: number
}

export interface AzureDevOpsBuildLog {
interface AzureDevOpsBuildLog {
id: number
type: string
url: string
Expand Down
19 changes: 7 additions & 12 deletions apps/sim/tools/bitbucket/types.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { ToolOutputProperty } from '@/tools/types'

export interface BitbucketAuthParams {
interface BitbucketAuthParams {
accessToken: string
}

export interface BitbucketPaginationParams {
interface BitbucketPaginationParams {
nextUrl?: string
pageLen?: number
}
Expand Down Expand Up @@ -94,7 +94,7 @@ export interface BitbucketCreatePullRequestParams extends BitbucketRepositoryPar
reviewerUuids?: string[]
}

export type BitbucketMergeStrategy =
type BitbucketMergeStrategy =
| 'merge_commit'
| 'squash'
| 'fast_forward'
Expand Down Expand Up @@ -138,15 +138,10 @@ export interface BitbucketListPullRequestCommitStatusesParams
sort?: string
}

export type BitbucketPipelineListRefType = 'BRANCH' | 'TAG' | 'ANNOTATED_TAG'
export type BitbucketPipelineListSelectorType =
| 'BRANCH'
| 'TAG'
| 'CUSTOM'
| 'PULLREQUESTS'
| 'DEFAULT'
export type BitbucketPipelineTriggerType = 'PUSH' | 'MANUAL' | 'SCHEDULED' | 'PARENT_STEP'
export type BitbucketPipelineStatus =
type BitbucketPipelineListRefType = 'BRANCH' | 'TAG' | 'ANNOTATED_TAG'
type BitbucketPipelineListSelectorType = 'BRANCH' | 'TAG' | 'CUSTOM' | 'PULLREQUESTS' | 'DEFAULT'
type BitbucketPipelineTriggerType = 'PUSH' | 'MANUAL' | 'SCHEDULED' | 'PARENT_STEP'
type BitbucketPipelineStatus =
| 'PARSING'
| 'PENDING'
| 'PAUSED'
Expand Down
Loading
Loading