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 AccountingLocationsUpdateGlobals = { /** * 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 AccountingLocationsUpdateRequest = { /** * 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; accountingLocation: components.AccountingLocationInput; }; export type AccountingLocationsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Location */ updateAccountingLocationResponse?: components.UpdateAccountingLocationResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingLocationsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingLocationsUpdateGlobals$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 AccountingLocationsUpdateGlobals$ { /** @deprecated use `AccountingLocationsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsUpdateGlobals$Outbound` instead. */ type Outbound = AccountingLocationsUpdateGlobals$Outbound; } export declare function accountingLocationsUpdateGlobalsToJSON(accountingLocationsUpdateGlobals: AccountingLocationsUpdateGlobals): string; export declare function accountingLocationsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLocationsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationsUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; AccountingLocation: components.AccountingLocationInput$Outbound; }; /** @internal */ export declare const AccountingLocationsUpdateRequest$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 AccountingLocationsUpdateRequest$ { /** @deprecated use `AccountingLocationsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsUpdateRequest$Outbound` instead. */ type Outbound = AccountingLocationsUpdateRequest$Outbound; } export declare function accountingLocationsUpdateRequestToJSON(accountingLocationsUpdateRequest: AccountingLocationsUpdateRequest): string; export declare function accountingLocationsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLocationsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateAccountingLocationResponse?: components.UpdateAccountingLocationResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingLocationsUpdateResponse$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 AccountingLocationsUpdateResponse$ { /** @deprecated use `AccountingLocationsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsUpdateResponse$Outbound` instead. */ type Outbound = AccountingLocationsUpdateResponse$Outbound; } export declare function accountingLocationsUpdateResponseToJSON(accountingLocationsUpdateResponse: AccountingLocationsUpdateResponse): string; export declare function accountingLocationsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountinglocationsupdate.d.ts.map