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 AccountingDepartmentsAddGlobals = { /** * 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 AccountingDepartmentsAddRequest = { /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * 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; accountingDepartment: components.AccountingDepartmentInput; }; export type AccountingDepartmentsAddResponse = { httpMeta: components.HTTPMetadata; /** * Department */ createAccountingDepartmentResponse?: components.CreateAccountingDepartmentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingDepartmentsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingDepartmentsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingDepartmentsAddGlobals$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 AccountingDepartmentsAddGlobals$ { /** @deprecated use `AccountingDepartmentsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsAddGlobals$Outbound` instead. */ type Outbound = AccountingDepartmentsAddGlobals$Outbound; } export declare function accountingDepartmentsAddGlobalsToJSON(accountingDepartmentsAddGlobals: AccountingDepartmentsAddGlobals): string; export declare function accountingDepartmentsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingDepartmentsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingDepartmentsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; AccountingDepartment: components.AccountingDepartmentInput$Outbound; }; /** @internal */ export declare const AccountingDepartmentsAddRequest$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 AccountingDepartmentsAddRequest$ { /** @deprecated use `AccountingDepartmentsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsAddRequest$Outbound` instead. */ type Outbound = AccountingDepartmentsAddRequest$Outbound; } export declare function accountingDepartmentsAddRequestToJSON(accountingDepartmentsAddRequest: AccountingDepartmentsAddRequest): string; export declare function accountingDepartmentsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingDepartmentsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingDepartmentsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateAccountingDepartmentResponse?: components.CreateAccountingDepartmentResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingDepartmentsAddResponse$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 AccountingDepartmentsAddResponse$ { /** @deprecated use `AccountingDepartmentsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingDepartmentsAddResponse$Outbound` instead. */ type Outbound = AccountingDepartmentsAddResponse$Outbound; } export declare function accountingDepartmentsAddResponseToJSON(accountingDepartmentsAddResponse: AccountingDepartmentsAddResponse): string; export declare function accountingDepartmentsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingdepartmentsadd.d.ts.map