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 { PassThroughBody } from "./passthroughbody.js"; /** * The type of the category. */ export declare const CategoryType: { readonly Supplier: "supplier"; readonly Expense: "expense"; readonly Revenue: "revenue"; readonly Customer: "customer"; }; /** * The type of the category. */ export type CategoryType = OpenEnum; /** * Based on the status some functionality is enabled or disabled. */ export declare const CategoryStatus: { readonly Active: "active"; readonly Inactive: "inactive"; }; /** * Based on the status some functionality is enabled or disabled. */ export type CategoryStatus = OpenEnum; export type Category = { /** * A unique identifier for an object. */ id?: string | undefined; /** * The name of the category. */ name?: string | undefined; /** * Display ID of the category */ displayId?: string | null | undefined; /** * The type of the category. */ type?: CategoryType | undefined; /** * Based on the status some functionality is enabled or disabled. */ status?: CategoryStatus | 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; }; /** @internal */ export declare const CategoryType$inboundSchema: z.ZodType; /** @internal */ export declare const CategoryStatus$inboundSchema: z.ZodType; /** @internal */ export declare const Category$inboundSchema: z.ZodType; export declare function categoryFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=category.d.ts.map