import * as z from "zod/v3"; /** * Rich context object with id and optional data */ export type GenerateLinkUserOauthUrlRequestDtoContext2 = { id: string; /** * Optional additional context data */ data?: { [k: string]: any; } | undefined; }; export type GenerateLinkUserOauthUrlRequestDtoContext = GenerateLinkUserOauthUrlRequestDtoContext2 | string; export type GenerateLinkUserOauthUrlRequestDto = { /** * The subscriber ID to link to their chat identity. Required — this operation always binds a specific subscriber to a user identity in the chat provider. */ subscriberId: string; /** * Integration identifier */ integrationIdentifier: string; /** * Identifier of the existing channel connection to associate this user endpoint with. Generated automatically if not provided. */ connectionIdentifier?: string | undefined; context?: { [k: string]: GenerateLinkUserOauthUrlRequestDtoContext2 | string; } | undefined; /** * **Slack only**: User-level OAuth scopes for "Sign in with Slack". Defaults to: identity.basic. **MS Teams**: ignored — uses delegated OpenID scopes (openid, profile, User.Read). */ userScope?: Array | undefined; }; /** @internal */ export type GenerateLinkUserOauthUrlRequestDtoContext2$Outbound = { id: string; data?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const GenerateLinkUserOauthUrlRequestDtoContext2$outboundSchema: z.ZodType; export declare function generateLinkUserOauthUrlRequestDtoContext2ToJSON(generateLinkUserOauthUrlRequestDtoContext2: GenerateLinkUserOauthUrlRequestDtoContext2): string; /** @internal */ export type GenerateLinkUserOauthUrlRequestDtoContext$Outbound = GenerateLinkUserOauthUrlRequestDtoContext2$Outbound | string; /** @internal */ export declare const GenerateLinkUserOauthUrlRequestDtoContext$outboundSchema: z.ZodType; export declare function generateLinkUserOauthUrlRequestDtoContextToJSON(generateLinkUserOauthUrlRequestDtoContext: GenerateLinkUserOauthUrlRequestDtoContext): string; /** @internal */ export type GenerateLinkUserOauthUrlRequestDto$Outbound = { subscriberId: string; integrationIdentifier: string; connectionIdentifier?: string | undefined; context?: { [k: string]: GenerateLinkUserOauthUrlRequestDtoContext2$Outbound | string; } | undefined; userScope?: Array | undefined; }; /** @internal */ export declare const GenerateLinkUserOauthUrlRequestDto$outboundSchema: z.ZodType; export declare function generateLinkUserOauthUrlRequestDtoToJSON(generateLinkUserOauthUrlRequestDto: GenerateLinkUserOauthUrlRequestDto): string; //# sourceMappingURL=generatelinkuseroauthurlrequestdto.d.ts.map