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 { CustomMappings, CustomMappings$Outbound } from "./custommappings.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; import { SubsidiaryReference, SubsidiaryReference$Outbound } from "./subsidiaryreference.js"; import { SubsidiaryReferenceInput, SubsidiaryReferenceInput$Outbound } from "./subsidiaryreferenceinput.js"; /** * Based on the status some functionality is enabled or disabled. */ export declare const LocationStatus: { readonly Active: "active"; readonly Inactive: "inactive"; }; /** * Based on the status some functionality is enabled or disabled. */ export type LocationStatus = ClosedEnum; export type AccountingLocation = { /** * A unique identifier for an object. */ id?: string | undefined; /** * A unique identifier for an object. */ parentId?: string | null | undefined; /** * The name of the company. */ companyName?: string | null | undefined; /** * The display name of the location. */ displayName?: string | null | undefined; /** * Based on the status some functionality is enabled or disabled. */ status?: LocationStatus | undefined; addresses?: Array
| undefined; subsidiaries?: Array | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: CustomMappings | null | undefined; /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. */ rowVersion?: string | null | 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 AccountingLocationInput = { /** * A unique identifier for an object. */ parentId?: string | null | undefined; /** * The name of the company. */ companyName?: string | null | undefined; /** * The display name of the location. */ displayName?: string | null | undefined; /** * Based on the status some functionality is enabled or disabled. */ status?: LocationStatus | undefined; addresses?: Array
| undefined; subsidiaries?: Array | undefined; /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. */ rowVersion?: 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 LocationStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const LocationStatus$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 LocationStatus$ { /** @deprecated use `LocationStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Inactive: "inactive"; }>; /** @deprecated use `LocationStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Inactive: "inactive"; }>; } /** @internal */ export declare const AccountingLocation$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocation$Outbound = { id?: string | undefined; parent_id?: string | null | undefined; company_name?: string | null | undefined; display_name?: string | null | undefined; status?: string | undefined; addresses?: Array | undefined; subsidiaries?: Array | undefined; custom_mappings?: CustomMappings$Outbound | null | undefined; row_version?: string | null | 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 AccountingLocation$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 AccountingLocation$ { /** @deprecated use `AccountingLocation$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocation$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocation$Outbound` instead. */ type Outbound = AccountingLocation$Outbound; } export declare function accountingLocationToJSON(accountingLocation: AccountingLocation): string; export declare function accountingLocationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLocationInput$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationInput$Outbound = { parent_id?: string | null | undefined; company_name?: string | null | undefined; display_name?: string | null | undefined; status?: string | undefined; addresses?: Array | undefined; subsidiaries?: Array | undefined; row_version?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const AccountingLocationInput$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 AccountingLocationInput$ { /** @deprecated use `AccountingLocationInput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationInput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationInput$Outbound` instead. */ type Outbound = AccountingLocationInput$Outbound; } export declare function accountingLocationInputToJSON(accountingLocationInput: AccountingLocationInput): string; export declare function accountingLocationInputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountinglocation.d.ts.map