import * as z from "zod/v3"; import { OpenEnum } 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 { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; /** * Based on the status some functionality is enabled or disabled. */ export declare const SubsidiaryStatus: { readonly Active: "active"; readonly Inactive: "inactive"; }; /** * Based on the status some functionality is enabled or disabled. */ export type SubsidiaryStatus = OpenEnum; export type Subsidiary = { /** * A unique identifier for an object. */ id?: string | undefined; /** * A unique identifier for an object. */ parentId?: string | null | undefined; /** * The name of the company. */ name?: string | null | undefined; /** * Display ID of the subsidiary */ displayId?: string | null | undefined; /** * The third-party API ID of original entity */ downstreamId?: string | null | undefined; /** * Based on the status some functionality is enabled or disabled. */ status?: SubsidiaryStatus | undefined; address?: Address | undefined; /** * List of currencies supported by this subsidiary */ currencies?: Array | null | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: { [k: string]: any; } | 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 SubsidiaryInput = { /** * A unique identifier for an object. */ parentId?: string | null | undefined; /** * The name of the company. */ name?: string | null | undefined; /** * Display ID of the subsidiary */ displayId?: string | null | undefined; /** * Based on the status some functionality is enabled or disabled. */ status?: SubsidiaryStatus | undefined; address?: Address | undefined; /** * List of currencies supported by this subsidiary */ currencies?: Array | 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 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 SubsidiaryStatus$inboundSchema: z.ZodType; /** @internal */ export declare const SubsidiaryStatus$outboundSchema: z.ZodType; /** @internal */ export declare const Subsidiary$inboundSchema: z.ZodType; export declare function subsidiaryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export type SubsidiaryInput$Outbound = { parent_id?: string | null | undefined; name?: string | null | undefined; display_id?: string | null | undefined; status?: string | undefined; address?: Address$Outbound | undefined; currencies?: Array | null | undefined; row_version?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const SubsidiaryInput$outboundSchema: z.ZodType; export declare function subsidiaryInputToJSON(subsidiaryInput: SubsidiaryInput): string; //# sourceMappingURL=subsidiary.d.ts.map