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 CrmUsersDeleteGlobals = { /** * 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 CrmUsersDeleteRequest = { /** * ID of the record you are acting upon. */ id: string; /** * 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; /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; }; export type CrmUsersDeleteResponse = { httpMeta: components.HTTPMetadata; /** * User deleted */ deleteUserResponse?: components.DeleteUserResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmUsersDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmUsersDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmUsersDeleteGlobals$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 CrmUsersDeleteGlobals$ { /** @deprecated use `CrmUsersDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmUsersDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmUsersDeleteGlobals$Outbound` instead. */ type Outbound = CrmUsersDeleteGlobals$Outbound; } export declare function crmUsersDeleteGlobalsToJSON(crmUsersDeleteGlobals: CrmUsersDeleteGlobals): string; export declare function crmUsersDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmUsersDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmUsersDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const CrmUsersDeleteRequest$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 CrmUsersDeleteRequest$ { /** @deprecated use `CrmUsersDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmUsersDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmUsersDeleteRequest$Outbound` instead. */ type Outbound = CrmUsersDeleteRequest$Outbound; } export declare function crmUsersDeleteRequestToJSON(crmUsersDeleteRequest: CrmUsersDeleteRequest): string; export declare function crmUsersDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmUsersDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmUsersDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteUserResponse?: components.DeleteUserResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmUsersDeleteResponse$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 CrmUsersDeleteResponse$ { /** @deprecated use `CrmUsersDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmUsersDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmUsersDeleteResponse$Outbound` instead. */ type Outbound = CrmUsersDeleteResponse$Outbound; } export declare function crmUsersDeleteResponseToJSON(crmUsersDeleteResponse: CrmUsersDeleteResponse): string; export declare function crmUsersDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmusersdelete.d.ts.map