import { z } from "zod"; /** * First-party integration providers, mirroring the `integration_provider` * database enum and the `@sazabi/integrations` registry. Kept inline so this * isomorphic contract package does not pull in the server-only integrations * package (which imports Node crypto and database access). */ export declare const INTEGRATION_PROVIDER_VALUES: readonly ["slack", "github", "linear", "pagerduty", "victorops", "rootly", "incident_io", "webhook", "teams", "bitbucket", "jira"]; export declare const IntegrationProviderEnum: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; /** Auth flow a provider uses to connect. */ export declare const IntegrationAuthTypeEnum: z.ZodEnum<{ api_key: "api_key"; app_installation: "app_installation"; oauth: "oauth"; }>; /** Capabilities an integration exposes once connected. */ export declare const IntegrationCapabilityEnum: z.ZodEnum<{ alert_routing: "alert_routing"; code_search: "code_search"; health_check: "health_check"; inbound_webhooks: "inbound_webhooks"; messaging: "messaging"; }>; /** Lifecycle status of a connection. */ export declare const IntegrationConnectionStatusEnum: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; /** Health-check status of a connection. */ export declare const IntegrationHealthStatusEnum: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; /** * One credential field an `api_key` provider requires at connect time, * derived server-side from the provider definition so clients stay * schema-free. */ export declare const IntegrationCredentialFieldSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodString; required: z.ZodBoolean; secret: z.ZodBoolean; description: z.ZodNullable; }, z.core.$strip>; /** * One available integration provider in the catalog, with the connection count * for the current organization. Contains no secrets. */ export declare const IntegrationProviderSchema: z.ZodObject<{ id: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; name: z.ZodString; description: z.ZodString; authType: z.ZodEnum<{ api_key: "api_key"; app_installation: "app_installation"; oauth: "oauth"; }>; capabilities: z.ZodArray>; connectionCount: z.ZodNumber; credentialFields: z.ZodOptional; }, z.core.$strip>>>; browserConnectSupported: z.ZodBoolean; }, z.core.$strip>; /** * One integration connection record. Only non-secret fields are exposed; * encrypted credentials are never returned. */ export declare const IntegrationConnectionSchema: z.ZodObject<{ connectionStatus: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; export declare const ExternalIdentityJitPolicySchema: z.ZodObject<{ organizationEnabled: z.ZodBoolean; connectionEnabled: z.ZodBoolean; effectiveEnabled: z.ZodBoolean; }, z.core.$strip>; export declare const ListIntegrationProvidersInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export type ListIntegrationProvidersInput = z.infer; export declare const ListIntegrationProvidersOutputSchema: z.ZodObject<{ providers: z.ZodArray; name: z.ZodString; description: z.ZodString; authType: z.ZodEnum<{ api_key: "api_key"; app_installation: "app_installation"; oauth: "oauth"; }>; capabilities: z.ZodArray>; connectionCount: z.ZodNumber; credentialFields: z.ZodOptional; }, z.core.$strip>>>; browserConnectSupported: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; export type ListIntegrationProvidersOutput = z.infer; export declare const listIntegrationProviders: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ providers: z.ZodArray; name: z.ZodString; description: z.ZodString; authType: z.ZodEnum<{ api_key: "api_key"; app_installation: "app_installation"; oauth: "oauth"; }>; capabilities: z.ZodArray>; connectionCount: z.ZodNumber; credentialFields: z.ZodOptional; }, z.core.$strip>>>; browserConnectSupported: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const ListIntegrationConnectionsInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; provider: z.ZodOptional>; }, z.core.$strip>; export declare const ListIntegrationConnectionsOutputSchema: z.ZodObject<{ connections: z.ZodArray; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; export type ListIntegrationConnectionsInput = z.infer; export type ListIntegrationConnectionsOutput = z.infer; export declare const listIntegrationConnections: import("../orpc-contracts/index.js").OperationDefinition; provider: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ connections: z.ZodArray; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const GetIntegrationConnectionInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; }, z.core.$strip>; export declare const GetIntegrationConnectionOutputSchema: z.ZodObject<{ connection: z.ZodObject<{ connectionStatus: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type GetIntegrationConnectionInput = z.infer; export type GetIntegrationConnectionOutput = z.infer; export declare const getIntegrationConnection: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ connection: z.ZodObject<{ connectionStatus: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, "api">; export declare const CreateIntegrationConnectionInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodOptional; credentials: z.ZodRecord; }, z.core.$strip>; export declare const CreateIntegrationConnectionOutputSchema: z.ZodObject<{ connection: z.ZodObject<{ connectionStatus: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type CreateIntegrationConnectionInput = z.infer; export type CreateIntegrationConnectionOutput = z.infer; export declare const createIntegrationConnection: import("../orpc-contracts/index.js").OperationDefinition; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodOptional; credentials: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ connection: z.ZodObject<{ connectionStatus: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, "api">; export declare const BeginIntegrationConnectInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodOptional; projectId: z.ZodOptional; }, z.core.$strip>; export declare const BeginIntegrationConnectOutputSchema: z.ZodObject<{ url: z.ZodString; attemptId: z.ZodString; expiresAt: z.ZodString; }, z.core.$strip>; export type BeginIntegrationConnectInput = z.infer; export type BeginIntegrationConnectOutput = z.infer; export declare const beginIntegrationConnect: import("../orpc-contracts/index.js").OperationDefinition; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodOptional; projectId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ url: z.ZodString; attemptId: z.ZodString; expiresAt: z.ZodString; }, z.core.$strip>, "api">; export declare const IntegrationConnectAttemptStatusEnum: z.ZodEnum<{ completed: "completed"; expired: "expired"; failed: "failed"; not_connected: "not_connected"; pending: "pending"; }>; export declare const GetIntegrationConnectAttemptInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; attemptId: z.ZodString; }, z.core.$strip>; export declare const GetIntegrationConnectAttemptOutputSchema: z.ZodObject<{ status: z.ZodEnum<{ completed: "completed"; expired: "expired"; failed: "failed"; not_connected: "not_connected"; pending: "pending"; }>; conflictPending: z.ZodOptional; errorCode: z.ZodNullable; connection: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; export type GetIntegrationConnectAttemptInput = z.infer; export type GetIntegrationConnectAttemptOutput = z.infer; export declare const getIntegrationConnectAttempt: import("../orpc-contracts/index.js").OperationDefinition; attemptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodEnum<{ completed: "completed"; expired: "expired"; failed: "failed"; not_connected: "not_connected"; pending: "pending"; }>; conflictPending: z.ZodOptional; errorCode: z.ZodNullable; connection: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const DisconnectIntegrationConnectionInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; }, z.core.$strip>; export declare const DisconnectIntegrationConnectionOutputSchema: z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>; export type DisconnectIntegrationConnectionInput = z.infer; export type DisconnectIntegrationConnectionOutput = z.infer; export declare const disconnectIntegrationConnection: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>, "api">; export declare const UpdateIntegrationConnectionCredentialsInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; credentials: z.ZodRecord; }, z.core.$strip>; export declare const UpdateIntegrationConnectionCredentialsOutputSchema: z.ZodObject<{ connection: z.ZodObject<{ connectionStatus: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type UpdateIntegrationConnectionCredentialsInput = z.infer; export type UpdateIntegrationConnectionCredentialsOutput = z.infer; export declare const updateIntegrationConnectionCredentials: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; credentials: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ connection: z.ZodObject<{ connectionStatus: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; id: z.ZodString; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; displayName: z.ZodNullable; status: z.ZodEnum<{ connected: "connected"; error: "error"; pending: "pending"; revoked: "revoked"; }>; isActive: z.ZodBoolean; needsAttention: z.ZodBoolean; metadata: z.ZodRecord; healthStatus: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; unknown: "unknown"; }>; healthMessage: z.ZodNullable; healthCheckedAt: z.ZodNullable; healthConsecutiveFailures: z.ZodNumber; connectedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, "api">; export declare const ExternalIdentityJitOrganizationPolicySchema: z.ZodObject<{ organizationEnabled: z.ZodBoolean; effectiveEnabled: z.ZodBoolean; }, z.core.$strip>; export declare const getOrganizationExternalIdentityJitPolicy: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ organizationEnabled: z.ZodBoolean; effectiveEnabled: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const updateOrganizationExternalIdentityJitPolicy: import("../orpc-contracts/index.js").OperationDefinition; enabled: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ organizationEnabled: z.ZodBoolean; effectiveEnabled: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const getConnectionExternalIdentityJitPolicy: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ organizationEnabled: z.ZodBoolean; connectionEnabled: z.ZodBoolean; effectiveEnabled: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const updateConnectionExternalIdentityJitPolicy: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; enabled: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ organizationEnabled: z.ZodBoolean; connectionEnabled: z.ZodBoolean; effectiveEnabled: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const MicrosoftTeamsAdminConsentSchema: z.ZodObject<{ status: z.ZodEnum<{ declined: "declined"; granted: "granted"; pending: "pending"; }>; grantedAt: z.ZodNullable; consentUrl: z.ZodNullable; }, z.core.$strip>; export declare const getMicrosoftTeamsAdminConsent: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodEnum<{ declined: "declined"; granted: "granted"; pending: "pending"; }>; grantedAt: z.ZodNullable; consentUrl: z.ZodNullable; }, z.core.$strip>, "api">; export declare const SlackConfigurationSchema: z.ZodObject<{ connectionId: z.ZodString; defaultProjectId: z.ZodNullable; automaticResponses: z.ZodBoolean; acknowledgementMessage: z.ZodBoolean; }, z.core.$strip>; export type SlackConfiguration = z.infer; export declare const GetSlackConfigurationInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; }, z.core.$strip>; export type GetSlackConfigurationInput = z.infer; export type GetSlackConfigurationOutput = z.infer; export declare const getSlackConfiguration: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ connectionId: z.ZodString; defaultProjectId: z.ZodNullable; automaticResponses: z.ZodBoolean; acknowledgementMessage: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const UpdateSlackConfigurationInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; defaultProjectId: z.ZodOptional>; automaticResponses: z.ZodOptional; acknowledgementMessage: z.ZodOptional; }, z.core.$strip>; export type UpdateSlackConfigurationInput = z.infer; export type UpdateSlackConfigurationOutput = z.infer; export declare const updateSlackConfiguration: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; defaultProjectId: z.ZodOptional>; automaticResponses: z.ZodOptional; acknowledgementMessage: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ connectionId: z.ZodString; defaultProjectId: z.ZodNullable; automaticResponses: z.ZodBoolean; acknowledgementMessage: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const CreateSlackChannelInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; name: z.ZodString; }, z.core.$strip>; export type CreateSlackChannelInput = z.infer; export declare const CreateSlackChannelOutputSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; isPrivate: z.ZodBoolean; isMember: z.ZodBoolean; }, z.core.$strip>; export type CreateSlackChannelOutput = z.infer; export declare const createSlackChannel: import("../orpc-contracts/index.js").OperationDefinition; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; isPrivate: z.ZodBoolean; isMember: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const LinearSeverityActionSchema: z.ZodEnum<{ create: "create"; skip: "skip"; }>; export declare const LinearSeverityRulesSchema: z.ZodObject<{ low: z.ZodEnum<{ create: "create"; skip: "skip"; }>; medium: z.ZodEnum<{ create: "create"; skip: "skip"; }>; high: z.ZodEnum<{ create: "create"; skip: "skip"; }>; critical: z.ZodEnum<{ create: "create"; skip: "skip"; }>; }, z.core.$strip>; export type LinearSeverityRules = z.infer; export declare const LinearAutomationConfigurationSchema: z.ZodObject<{ connectionId: z.ZodString; enabled: z.ZodBoolean; teamId: z.ZodNullable; projectId: z.ZodNullable; severityRules: z.ZodObject<{ low: z.ZodEnum<{ create: "create"; skip: "skip"; }>; medium: z.ZodEnum<{ create: "create"; skip: "skip"; }>; high: z.ZodEnum<{ create: "create"; skip: "skip"; }>; critical: z.ZodEnum<{ create: "create"; skip: "skip"; }>; }, z.core.$strip>; }, z.core.$strip>; export type LinearAutomationConfiguration = z.infer; export declare const GetLinearAutomationConfigurationInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; }, z.core.$strip>; export type GetLinearAutomationConfigurationInput = z.infer; export type GetLinearAutomationConfigurationOutput = LinearAutomationConfiguration; export declare const getLinearAutomationConfiguration: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ connectionId: z.ZodString; enabled: z.ZodBoolean; teamId: z.ZodNullable; projectId: z.ZodNullable; severityRules: z.ZodObject<{ low: z.ZodEnum<{ create: "create"; skip: "skip"; }>; medium: z.ZodEnum<{ create: "create"; skip: "skip"; }>; high: z.ZodEnum<{ create: "create"; skip: "skip"; }>; critical: z.ZodEnum<{ create: "create"; skip: "skip"; }>; }, z.core.$strip>; }, z.core.$strip>, "api">; export declare const UpdateLinearAutomationConfigurationInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; enabled: z.ZodBoolean; teamId: z.ZodNullable; projectId: z.ZodNullable; severityRules: z.ZodObject<{ low: z.ZodEnum<{ create: "create"; skip: "skip"; }>; medium: z.ZodEnum<{ create: "create"; skip: "skip"; }>; high: z.ZodEnum<{ create: "create"; skip: "skip"; }>; critical: z.ZodEnum<{ create: "create"; skip: "skip"; }>; }, z.core.$strip>; }, z.core.$strip>; export type UpdateLinearAutomationConfigurationInput = z.infer; export type UpdateLinearAutomationConfigurationOutput = LinearAutomationConfiguration; export declare const updateLinearAutomationConfiguration: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; enabled: z.ZodBoolean; teamId: z.ZodNullable; projectId: z.ZodNullable; severityRules: z.ZodObject<{ low: z.ZodEnum<{ create: "create"; skip: "skip"; }>; medium: z.ZodEnum<{ create: "create"; skip: "skip"; }>; high: z.ZodEnum<{ create: "create"; skip: "skip"; }>; critical: z.ZodEnum<{ create: "create"; skip: "skip"; }>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ connectionId: z.ZodString; enabled: z.ZodBoolean; teamId: z.ZodNullable; projectId: z.ZodNullable; severityRules: z.ZodObject<{ low: z.ZodEnum<{ create: "create"; skip: "skip"; }>; medium: z.ZodEnum<{ create: "create"; skip: "skip"; }>; high: z.ZodEnum<{ create: "create"; skip: "skip"; }>; critical: z.ZodEnum<{ create: "create"; skip: "skip"; }>; }, z.core.$strip>; }, z.core.$strip>, "api">; export declare const SlackChannelProjectMappingSchema: z.ZodObject<{ connectionId: z.ZodString; slackChannelId: z.ZodString; slackChannelName: z.ZodString; projectId: z.ZodString; }, z.core.$strip>; export type SlackChannelProjectMapping = z.infer; export declare const ListSlackChannelProjectMappingsInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; }, z.core.$strip>; export declare const ListSlackChannelProjectMappingsOutputSchema: z.ZodObject<{ mappings: z.ZodArray>; }, z.core.$strip>; export type ListSlackChannelProjectMappingsInput = z.infer; export type ListSlackChannelProjectMappingsOutput = z.infer; export declare const listSlackChannelProjectMappings: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mappings: z.ZodArray>; }, z.core.$strip>, "api">; export declare const SetSlackChannelProjectMappingInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; slackChannelId: z.ZodString; slackChannelName: z.ZodOptional; projectId: z.ZodString; }, z.core.$strip>; export type SetSlackChannelProjectMappingInput = z.infer; export type SetSlackChannelProjectMappingOutput = z.infer; export declare const setSlackChannelProjectMapping: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; slackChannelId: z.ZodString; slackChannelName: z.ZodOptional; projectId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ connectionId: z.ZodString; slackChannelId: z.ZodString; slackChannelName: z.ZodString; projectId: z.ZodString; }, z.core.$strip>, "api">; export declare const DeleteSlackChannelProjectMappingInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; connectionId: z.ZodString; slackChannelId: z.ZodString; }, z.core.$strip>; export declare const DeleteSlackChannelProjectMappingOutputSchema: z.ZodObject<{ success: z.ZodBoolean; }, z.core.$strip>; export type DeleteSlackChannelProjectMappingInput = z.infer; export type DeleteSlackChannelProjectMappingOutput = z.infer; export declare const deleteSlackChannelProjectMapping: import("../orpc-contracts/index.js").OperationDefinition; connectionId: z.ZodString; slackChannelId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ success: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const GetActiveCLIAttemptInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; }, z.core.$strip>; export declare const GetActiveCLIAttemptOutputSchema: z.ZodNullable>; export type GetActiveCLIAttemptInput = z.infer; export type GetActiveCLIAttemptOutput = z.infer; export declare const getActiveCLIAttempt: import("../orpc-contracts/index.js").OperationDefinition; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; incident_io: "incident_io"; jira: "jira"; linear: "linear"; pagerduty: "pagerduty"; rootly: "rootly"; slack: "slack"; teams: "teams"; victorops: "victorops"; webhook: "webhook"; }>; }, z.core.$strip>, z.ZodNullable>, "api">;