export type Description = string | DescriptionObject | null; export type FormParameter = ValueFormParameter | SrcFormParameter; export declare enum AuthType { apikey = "apikey", awsv4 = "awsv4", basic = "basic", bearer = "bearer", digest = "digest", edgegrid = "edgegrid", hawk = "hawk", noauth = "noauth", oauth1 = "oauth1", oauth2 = "oauth2", ntlm = "ntlm" } export interface DescriptionObject { content?: string; type?: string; version?: unknown; } export interface CollectionVersion { major: number; minor: number; patch: number; identifier?: string; meta?: unknown; } export interface InfoObject { name: string; schema: string; _postman_id?: string; description?: Description; version?: string | CollectionVersion; [key: string]: unknown; } export interface QueryParam { key?: string | null; value?: string | null; disabled?: boolean; description?: Description; } export interface Variable { id?: string; key?: string; value?: unknown; type?: string; name?: string; description?: Description; system?: boolean; disabled?: boolean; } export interface UrlObject { raw?: string; hash?: string; host?: string | string[]; href?: string; path?: string | string[]; protocol?: string; variable?: Variable[]; port?: string; query?: QueryParam[]; } export interface ScriptObject { id?: string; type?: string; exec?: string[] | string; src?: UrlObject | string; name?: string; } export interface EventObject { id?: string; listen: string; script?: ScriptObject; disabled?: boolean; } export interface AuthAttribute { key: string; value?: unknown; type?: string; } export interface Auth { type: string; noauth?: unknown; apikey?: AuthAttribute[]; awsv4?: AuthAttribute[]; basic?: AuthAttribute[]; bearer?: AuthAttribute[]; digest?: AuthAttribute[]; edgegrid?: AuthAttribute[]; hawk?: AuthAttribute[]; ntlm?: AuthAttribute[]; oauth1?: AuthAttribute[]; oauth2?: AuthAttribute[]; [key: string]: unknown; } export interface ProxyConfig { match?: string; host?: string; port?: number; tunnel?: boolean; disabled?: boolean; } export interface CertificateObject { name?: string; matches?: string[]; key?: { src?: string; }; cert?: { src?: string; }; passphrase?: string; } export interface HeaderObject { key: string; value: string; disabled?: boolean; description?: Description; } export interface UrlEncodedParameter { key: string; value?: string; disabled?: boolean; description?: Description; } export interface ValueFormParameter { key: string; value?: string; disabled?: boolean; type?: string; contentType?: string; description?: Description; } export interface SrcFormParameter { key: string; src?: string[] | string | null; disabled?: boolean; type?: string; contentType?: string; description?: Description; } export interface RequestBodyObject { mode?: string; raw?: string; graphql?: Record; urlencoded?: UrlEncodedParameter[]; formdata?: FormParameter[]; file?: { src?: string | null; content?: string; }; options?: Record; disabled?: boolean; [x: string]: unknown; } export interface RequestObject { url?: UrlObject; auth?: Auth | null; proxy?: ProxyConfig; certificate?: CertificateObject; method?: string; description?: Description; header?: string | HeaderObject[]; body?: null | RequestBodyObject; [x: string]: unknown; } export interface CookieObject { domain: string; expires?: null | string; maxAge?: string; hostOnly?: boolean; httpOnly?: boolean; name?: string; path: string; secure?: boolean; session?: boolean; value?: string; extensions?: unknown[]; [x: string]: unknown; } export interface ResponseObject { id?: string; name?: string; originalRequest?: RequestObject; responseTime?: null | string | number; timings?: Record | null; header?: string[] | null; cookie?: CookieObject[]; body?: null | string; status?: string; code?: number; [x: string]: unknown; } export interface Item { id?: string; name?: string; description?: Description; variable?: Variable[]; event?: EventObject[]; request: RequestObject; response?: ResponseObject[]; protocolProfileBehavior?: unknown; } export interface Folder { item: (Item | Folder)[]; name?: string; description?: Description; variable?: Variable[]; event?: EventObject[]; auth?: Auth | null; protocolProfileBehavior?: unknown; }