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 AccountingDepartmentsDeleteGlobals = { /** * 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 AccountingDepartmentsDeleteRequest = { /** * 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 AccountingDepartmentsDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Department deleted */ deleteAccountingDepartmentResponse?: components.DeleteAccountingDepartmentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingDepartmentsDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingDepartmentsDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingDepartmentsDeleteGlobals$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 AccountingDepartmentsDeleteGlobals$ { /** @deprecated use `AccountingDepartmentsDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsDeleteGlobals$Outbound` instead. */ type Outbound = AccountingDepartmentsDeleteGlobals$Outbound; } export declare function accountingDepartmentsDeleteGlobalsToJSON(accountingDepartmentsDeleteGlobals: AccountingDepartmentsDeleteGlobals): string; export declare function accountingDepartmentsDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingDepartmentsDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingDepartmentsDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const AccountingDepartmentsDeleteRequest$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 AccountingDepartmentsDeleteRequest$ { /** @deprecated use `AccountingDepartmentsDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsDeleteRequest$Outbound` instead. */ type Outbound = AccountingDepartmentsDeleteRequest$Outbound; } export declare function accountingDepartmentsDeleteRequestToJSON(accountingDepartmentsDeleteRequest: AccountingDepartmentsDeleteRequest): string; export declare function accountingDepartmentsDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingDepartmentsDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingDepartmentsDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteAccountingDepartmentResponse?: components.DeleteAccountingDepartmentResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingDepartmentsDeleteResponse$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 AccountingDepartmentsDeleteResponse$ { /** @deprecated use `AccountingDepartmentsDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsDeleteResponse$Outbound` instead. */ type Outbound = AccountingDepartmentsDeleteResponse$Outbound; } export declare function accountingDepartmentsDeleteResponseToJSON(accountingDepartmentsDeleteResponse: AccountingDepartmentsDeleteResponse): string; export declare function accountingDepartmentsDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingdepartmentsdelete.d.ts.map