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 SmsMessagesUpdateGlobals = { /** * 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 SmsMessagesUpdateRequest = { /** * 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; message: components.MessageInput; }; export type SmsMessagesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Messages */ updateMessageResponse?: components.UpdateMessageResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const SmsMessagesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type SmsMessagesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const SmsMessagesUpdateGlobals$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 SmsMessagesUpdateGlobals$ { /** @deprecated use `SmsMessagesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SmsMessagesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SmsMessagesUpdateGlobals$Outbound` instead. */ type Outbound = SmsMessagesUpdateGlobals$Outbound; } export declare function smsMessagesUpdateGlobalsToJSON(smsMessagesUpdateGlobals: SmsMessagesUpdateGlobals): string; export declare function smsMessagesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SmsMessagesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type SmsMessagesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Message: components.MessageInput$Outbound; }; /** @internal */ export declare const SmsMessagesUpdateRequest$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 SmsMessagesUpdateRequest$ { /** @deprecated use `SmsMessagesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SmsMessagesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SmsMessagesUpdateRequest$Outbound` instead. */ type Outbound = SmsMessagesUpdateRequest$Outbound; } export declare function smsMessagesUpdateRequestToJSON(smsMessagesUpdateRequest: SmsMessagesUpdateRequest): string; export declare function smsMessagesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SmsMessagesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type SmsMessagesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateMessageResponse?: components.UpdateMessageResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const SmsMessagesUpdateResponse$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 SmsMessagesUpdateResponse$ { /** @deprecated use `SmsMessagesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SmsMessagesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SmsMessagesUpdateResponse$Outbound` instead. */ type Outbound = SmsMessagesUpdateResponse$Outbound; } export declare function smsMessagesUpdateResponseToJSON(smsMessagesUpdateResponse: SmsMessagesUpdateResponse): string; export declare function smsMessagesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=smsmessagesupdate.d.ts.map