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 AccountingCustomersUpdateGlobals = { /** * 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 AccountingCustomersUpdateRequest = { /** * 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; customer: components.CustomerInput; }; export type AccountingCustomersUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Customers */ updateCustomerResponse?: components.UpdateCustomerResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingCustomersUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingCustomersUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingCustomersUpdateGlobals$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 AccountingCustomersUpdateGlobals$ { /** @deprecated use `AccountingCustomersUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersUpdateGlobals$Outbound` instead. */ type Outbound = AccountingCustomersUpdateGlobals$Outbound; } export declare function accountingCustomersUpdateGlobalsToJSON(accountingCustomersUpdateGlobals: AccountingCustomersUpdateGlobals): string; export declare function accountingCustomersUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingCustomersUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingCustomersUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Customer: components.CustomerInput$Outbound; }; /** @internal */ export declare const AccountingCustomersUpdateRequest$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 AccountingCustomersUpdateRequest$ { /** @deprecated use `AccountingCustomersUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersUpdateRequest$Outbound` instead. */ type Outbound = AccountingCustomersUpdateRequest$Outbound; } export declare function accountingCustomersUpdateRequestToJSON(accountingCustomersUpdateRequest: AccountingCustomersUpdateRequest): string; export declare function accountingCustomersUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingCustomersUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingCustomersUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateCustomerResponse?: components.UpdateCustomerResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingCustomersUpdateResponse$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 AccountingCustomersUpdateResponse$ { /** @deprecated use `AccountingCustomersUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersUpdateResponse$Outbound` instead. */ type Outbound = AccountingCustomersUpdateResponse$Outbound; } export declare function accountingCustomersUpdateResponseToJSON(accountingCustomersUpdateResponse: AccountingCustomersUpdateResponse): string; export declare function accountingCustomersUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingcustomersupdate.d.ts.map