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 { OrgTokenStatus } from "./orgtokenstatus.js"; import { Scope } from "./scope.js"; export declare const Two: { readonly Admin: "admin"; }; export type Two = OpenEnum; /** * If not defined, the token has Admin access. */ export type Scopes = Array | Two; export type OrgToken = { /** * If not defined, the token has Admin access. */ scopes?: Array | Two | undefined; createdAt: Date; createdBy: string; lastFourCharsOfKey: string; status: OrgTokenStatus; /** * Readable name for a token. Must be unique within an organization. */ name: string; orgId: string; /** * System generated unique identifier for an organization token. */ orgTokenId: string; }; /** @internal */ export declare const Two$inboundSchema: z.ZodType; /** @internal */ export declare const Scopes$inboundSchema: z.ZodType; export declare function scopesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OrgToken$inboundSchema: z.ZodType; export declare function orgTokenFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=orgtoken.d.ts.map