import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { CredentialsDto, CredentialsDto$Outbound } from "./credentialsdto.js"; import { StepFilterDto, StepFilterDto$Outbound } from "./stepfilterdto.js"; /** * The channel type for the integration. Not required for agent-kind integrations. */ export declare const CreateIntegrationRequestDtoChannel: { readonly InApp: "in_app"; readonly Email: "email"; readonly Sms: "sms"; readonly Chat: "chat"; readonly Push: "push"; }; /** * The channel type for the integration. Not required for agent-kind integrations. */ export type CreateIntegrationRequestDtoChannel = ClosedEnum; /** * Distinguishes delivery integrations from agent-runtime integrations. Defaults to "delivery". Agent integrations do not require a channel. */ export declare const CreateIntegrationRequestDtoKind: { readonly Delivery: "delivery"; readonly Agent: "agent"; }; /** * Distinguishes delivery integrations from agent-runtime integrations. Defaults to "delivery". Agent integrations do not require a channel. */ export type CreateIntegrationRequestDtoKind = ClosedEnum; /** * Configurations for the integration */ export type Configurations = {}; export type CreateIntegrationRequestDto = { /** * The name of the integration */ name?: string | undefined; /** * The unique identifier for the integration */ identifier?: string | undefined; /** * The ID of the associated environment */ environmentId?: string | undefined; /** * The provider ID for the integration */ providerId?: string | undefined; /** * The channel type for the integration. Not required for agent-kind integrations. */ channel?: CreateIntegrationRequestDtoChannel | undefined; /** * Distinguishes delivery integrations from agent-runtime integrations. Defaults to "delivery". Agent integrations do not require a channel. */ kind?: CreateIntegrationRequestDtoKind | undefined; /** * The credentials for the integration */ credentials?: CredentialsDto | undefined; /** * If the integration is active, the validation on the credentials field will run */ active?: boolean | undefined; /** * Flag to check the integration status */ check?: boolean | undefined; /** * Conditions for the integration */ conditions?: Array | undefined; /** * Configurations for the integration */ configurations?: Configurations | undefined; }; /** @internal */ export declare const CreateIntegrationRequestDtoChannel$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CreateIntegrationRequestDtoKind$outboundSchema: z.ZodNativeEnum; /** @internal */ export type Configurations$Outbound = {}; /** @internal */ export declare const Configurations$outboundSchema: z.ZodType; export declare function configurationsToJSON(configurations: Configurations): string; /** @internal */ export type CreateIntegrationRequestDto$Outbound = { name?: string | undefined; identifier?: string | undefined; _environmentId?: string | undefined; providerId?: string | undefined; channel?: string | undefined; kind?: string | undefined; credentials?: CredentialsDto$Outbound | undefined; active?: boolean | undefined; check?: boolean | undefined; conditions?: Array | undefined; configurations?: Configurations$Outbound | undefined; }; /** @internal */ export declare const CreateIntegrationRequestDto$outboundSchema: z.ZodType; export declare function createIntegrationRequestDtoToJSON(createIntegrationRequestDto: CreateIntegrationRequestDto): string; //# sourceMappingURL=createintegrationrequestdto.d.ts.map