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 HrisDepartmentsAddGlobals = { /** * 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 HrisDepartmentsAddRequest = { /** * 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; department: components.DepartmentInput; }; export type HrisDepartmentsAddResponse = { httpMeta: components.HTTPMetadata; /** * Departments */ createDepartmentResponse?: components.CreateDepartmentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const HrisDepartmentsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type HrisDepartmentsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const HrisDepartmentsAddGlobals$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 HrisDepartmentsAddGlobals$ { /** @deprecated use `HrisDepartmentsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsAddGlobals$Outbound` instead. */ type Outbound = HrisDepartmentsAddGlobals$Outbound; } export declare function hrisDepartmentsAddGlobalsToJSON(hrisDepartmentsAddGlobals: HrisDepartmentsAddGlobals): string; export declare function hrisDepartmentsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HrisDepartmentsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type HrisDepartmentsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Department: components.DepartmentInput$Outbound; }; /** @internal */ export declare const HrisDepartmentsAddRequest$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 HrisDepartmentsAddRequest$ { /** @deprecated use `HrisDepartmentsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsAddRequest$Outbound` instead. */ type Outbound = HrisDepartmentsAddRequest$Outbound; } export declare function hrisDepartmentsAddRequestToJSON(hrisDepartmentsAddRequest: HrisDepartmentsAddRequest): string; export declare function hrisDepartmentsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HrisDepartmentsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type HrisDepartmentsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateDepartmentResponse?: components.CreateDepartmentResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const HrisDepartmentsAddResponse$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 HrisDepartmentsAddResponse$ { /** @deprecated use `HrisDepartmentsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisDepartmentsAddResponse$Outbound` instead. */ type Outbound = HrisDepartmentsAddResponse$Outbound; } export declare function hrisDepartmentsAddResponseToJSON(hrisDepartmentsAddResponse: HrisDepartmentsAddResponse): string; export declare function hrisDepartmentsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=hrisdepartmentsadd.d.ts.map