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 AccountingLocationsDeleteGlobals = { /** * 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 AccountingLocationsDeleteRequest = { /** * 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 AccountingLocationsDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Location deleted */ deleteAccountingLocationResponse?: components.DeleteAccountingLocationResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingLocationsDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationsDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingLocationsDeleteGlobals$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 AccountingLocationsDeleteGlobals$ { /** @deprecated use `AccountingLocationsDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsDeleteGlobals$Outbound` instead. */ type Outbound = AccountingLocationsDeleteGlobals$Outbound; } export declare function accountingLocationsDeleteGlobalsToJSON(accountingLocationsDeleteGlobals: AccountingLocationsDeleteGlobals): string; export declare function accountingLocationsDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLocationsDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationsDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const AccountingLocationsDeleteRequest$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 AccountingLocationsDeleteRequest$ { /** @deprecated use `AccountingLocationsDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsDeleteRequest$Outbound` instead. */ type Outbound = AccountingLocationsDeleteRequest$Outbound; } export declare function accountingLocationsDeleteRequestToJSON(accountingLocationsDeleteRequest: AccountingLocationsDeleteRequest): string; export declare function accountingLocationsDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLocationsDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationsDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteAccountingLocationResponse?: components.DeleteAccountingLocationResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingLocationsDeleteResponse$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 AccountingLocationsDeleteResponse$ { /** @deprecated use `AccountingLocationsDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsDeleteResponse$Outbound` instead. */ type Outbound = AccountingLocationsDeleteResponse$Outbound; } export declare function accountingLocationsDeleteResponseToJSON(accountingLocationsDeleteResponse: AccountingLocationsDeleteResponse): string; export declare function accountingLocationsDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountinglocationsdelete.d.ts.map