import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Address, Address$Outbound } from "./address.js"; import { Currency } from "./currency.js"; import { CustomMappings, CustomMappings$Outbound } from "./custommappings.js"; import { Email, Email$Outbound } from "./email.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js"; import { Website, Website$Outbound } from "./website.js"; export declare const HrisCompanyStatus: { readonly Active: "active"; readonly Inactive: "inactive"; readonly Trial: "trial"; readonly Other: "other"; }; export type HrisCompanyStatus = ClosedEnum; export type HrisCompany = { /** * A unique identifier for an object. */ id?: string | undefined; legalName: string | null; displayName?: string | null | undefined; subdomain?: string | null | undefined; status?: HrisCompanyStatus | undefined; /** * An Company Number, Company ID or Company Code, is a unique number that has been assigned to each company. */ companyNumber?: string | null | undefined; /** * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). */ currency?: Currency | null | undefined; addresses?: Array
| undefined; phoneNumbers?: Array | undefined; emails?: Array | undefined; websites?: Array | undefined; debtorId?: string | null | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: CustomMappings | null | undefined; deleted?: boolean | undefined; /** * The user who last updated the object. */ updatedBy?: string | null | undefined; /** * The user who created the object. */ createdBy?: string | null | undefined; /** * The date and time when the object was last updated. */ updatedAt?: Date | null | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; export type HrisCompanyInput = { legalName: string | null; displayName?: string | null | undefined; subdomain?: string | null | undefined; status?: HrisCompanyStatus | undefined; /** * An Company Number, Company ID or Company Code, is a unique number that has been assigned to each company. */ companyNumber?: string | null | undefined; /** * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). */ currency?: Currency | null | undefined; addresses?: Array
| undefined; phoneNumbers?: Array | undefined; emails?: Array | undefined; websites?: Array | undefined; debtorId?: string | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; /** @internal */ export declare const HrisCompanyStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const HrisCompanyStatus$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace HrisCompanyStatus$ { /** @deprecated use `HrisCompanyStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Inactive: "inactive"; readonly Trial: "trial"; readonly Other: "other"; }>; /** @deprecated use `HrisCompanyStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Inactive: "inactive"; readonly Trial: "trial"; readonly Other: "other"; }>; } /** @internal */ export declare const HrisCompany$inboundSchema: z.ZodType; /** @internal */ export type HrisCompany$Outbound = { id?: string | undefined; legal_name: string | null; display_name?: string | null | undefined; subdomain?: string | null | undefined; status?: string | undefined; company_number?: string | null | undefined; currency?: string | null | undefined; addresses?: Array | undefined; phone_numbers?: Array | undefined; emails?: Array | undefined; websites?: Array | undefined; debtor_id?: string | null | undefined; custom_mappings?: CustomMappings$Outbound | null | undefined; deleted?: boolean | undefined; updated_by?: string | null | undefined; created_by?: string | null | undefined; updated_at?: string | null | undefined; created_at?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const HrisCompany$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 HrisCompany$ { /** @deprecated use `HrisCompany$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisCompany$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisCompany$Outbound` instead. */ type Outbound = HrisCompany$Outbound; } export declare function hrisCompanyToJSON(hrisCompany: HrisCompany): string; export declare function hrisCompanyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HrisCompanyInput$inboundSchema: z.ZodType; /** @internal */ export type HrisCompanyInput$Outbound = { legal_name: string | null; display_name?: string | null | undefined; subdomain?: string | null | undefined; status?: string | undefined; company_number?: string | null | undefined; currency?: string | null | undefined; addresses?: Array | undefined; phone_numbers?: Array | undefined; emails?: Array | undefined; websites?: Array | undefined; debtor_id?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const HrisCompanyInput$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 HrisCompanyInput$ { /** @deprecated use `HrisCompanyInput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HrisCompanyInput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HrisCompanyInput$Outbound` instead. */ type Outbound = HrisCompanyInput$Outbound; } export declare function hrisCompanyInputToJSON(hrisCompanyInput: HrisCompanyInput): string; export declare function hrisCompanyInputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=hriscompany.d.ts.map