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 HrisCompaniesUpdateGlobals = { /** * 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 HrisCompaniesUpdateRequest = { /** * 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; hrisCompany: components.HrisCompanyInput; }; export type HrisCompaniesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Companies */ updateHrisCompanyResponse?: components.UpdateHrisCompanyResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const HrisCompaniesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type HrisCompaniesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const HrisCompaniesUpdateGlobals$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 HrisCompaniesUpdateGlobals$ { /** @deprecated use `HrisCompaniesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisCompaniesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisCompaniesUpdateGlobals$Outbound` instead. */ type Outbound = HrisCompaniesUpdateGlobals$Outbound; } export declare function hrisCompaniesUpdateGlobalsToJSON(hrisCompaniesUpdateGlobals: HrisCompaniesUpdateGlobals): string; export declare function hrisCompaniesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HrisCompaniesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type HrisCompaniesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; HrisCompany: components.HrisCompanyInput$Outbound; }; /** @internal */ export declare const HrisCompaniesUpdateRequest$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 HrisCompaniesUpdateRequest$ { /** @deprecated use `HrisCompaniesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisCompaniesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisCompaniesUpdateRequest$Outbound` instead. */ type Outbound = HrisCompaniesUpdateRequest$Outbound; } export declare function hrisCompaniesUpdateRequestToJSON(hrisCompaniesUpdateRequest: HrisCompaniesUpdateRequest): string; export declare function hrisCompaniesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HrisCompaniesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type HrisCompaniesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateHrisCompanyResponse?: components.UpdateHrisCompanyResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const HrisCompaniesUpdateResponse$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 HrisCompaniesUpdateResponse$ { /** @deprecated use `HrisCompaniesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisCompaniesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisCompaniesUpdateResponse$Outbound` instead. */ type Outbound = HrisCompaniesUpdateResponse$Outbound; } export declare function hrisCompaniesUpdateResponseToJSON(hrisCompaniesUpdateResponse: HrisCompaniesUpdateResponse): string; export declare function hrisCompaniesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=hriscompaniesupdate.d.ts.map