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 CrmUsersAddGlobals = { /** * 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 CrmUsersAddRequest = { /** * 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; user: components.UserInput; }; export type CrmUsersAddResponse = { httpMeta: components.HTTPMetadata; /** * User created */ createUserResponse?: components.CreateUserResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmUsersAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmUsersAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmUsersAddGlobals$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 CrmUsersAddGlobals$ { /** @deprecated use `CrmUsersAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmUsersAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmUsersAddGlobals$Outbound` instead. */ type Outbound = CrmUsersAddGlobals$Outbound; } export declare function crmUsersAddGlobalsToJSON(crmUsersAddGlobals: CrmUsersAddGlobals): string; export declare function crmUsersAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmUsersAddRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmUsersAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; User: components.UserInput$Outbound; }; /** @internal */ export declare const CrmUsersAddRequest$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 CrmUsersAddRequest$ { /** @deprecated use `CrmUsersAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmUsersAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmUsersAddRequest$Outbound` instead. */ type Outbound = CrmUsersAddRequest$Outbound; } export declare function crmUsersAddRequestToJSON(crmUsersAddRequest: CrmUsersAddRequest): string; export declare function crmUsersAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmUsersAddResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmUsersAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateUserResponse?: components.CreateUserResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmUsersAddResponse$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 CrmUsersAddResponse$ { /** @deprecated use `CrmUsersAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmUsersAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmUsersAddResponse$Outbound` instead. */ type Outbound = CrmUsersAddResponse$Outbound; } export declare function crmUsersAddResponseToJSON(crmUsersAddResponse: CrmUsersAddResponse): string; export declare function crmUsersAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmusersadd.d.ts.map