import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CrmActivitiesAddGlobals = { /** * ID of the consumer which you want to get or push data from */ consumerId?: string | undefined; /** * The ID of your Unify application */ appId?: string | undefined; }; export type CrmActivitiesAddRequest = { /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. */ serviceId?: string | undefined; activity: components.ActivityInput; }; export type CrmActivitiesAddResponse = { httpMeta: components.HTTPMetadata; /** * Activity created */ createActivityResponse?: components.CreateActivityResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmActivitiesAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmActivitiesAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmActivitiesAddGlobals$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CrmActivitiesAddGlobals$ { /** @deprecated use `CrmActivitiesAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesAddGlobals$Outbound` instead. */ type Outbound = CrmActivitiesAddGlobals$Outbound; } export declare function crmActivitiesAddGlobalsToJSON(crmActivitiesAddGlobals: CrmActivitiesAddGlobals): string; export declare function crmActivitiesAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmActivitiesAddRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmActivitiesAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Activity: components.ActivityInput$Outbound; }; /** @internal */ export declare const CrmActivitiesAddRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CrmActivitiesAddRequest$ { /** @deprecated use `CrmActivitiesAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesAddRequest$Outbound` instead. */ type Outbound = CrmActivitiesAddRequest$Outbound; } export declare function crmActivitiesAddRequestToJSON(crmActivitiesAddRequest: CrmActivitiesAddRequest): string; export declare function crmActivitiesAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmActivitiesAddResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmActivitiesAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateActivityResponse?: components.CreateActivityResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmActivitiesAddResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CrmActivitiesAddResponse$ { /** @deprecated use `CrmActivitiesAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmActivitiesAddResponse$Outbound` instead. */ type Outbound = CrmActivitiesAddResponse$Outbound; } export declare function crmActivitiesAddResponseToJSON(crmActivitiesAddResponse: CrmActivitiesAddResponse): string; export declare function crmActivitiesAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmactivitiesadd.d.ts.map