import { APIResource } from "../../../resource.js"; import * as Core from "../../../core.js"; import * as RequestsAPI from "./requests.js"; export declare class PriorityResource extends APIResource { /** * Create a New Priority Intelligence Requirement * * @example * ```ts * const priority = * await client.cloudforceOne.requests.priority.create({ * account_id: '023e105f4ecef8ad9ca31a8372d0c353', * labels: ['DoS', 'CVE'], * priority: 1, * requirement: 'DoS attacks carried out by CVEs', * tlp: 'clear', * }); * ``` */ create(params: PriorityCreateParams, options?: Core.RequestOptions): Core.APIPromise; /** * Update a Priority Intelligence Requirement * * @example * ```ts * const item = * await client.cloudforceOne.requests.priority.update( * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415', * { * account_id: '023e105f4ecef8ad9ca31a8372d0c353', * labels: ['DoS', 'CVE'], * priority: 1, * requirement: 'DoS attacks carried out by CVEs', * tlp: 'clear', * }, * ); * ``` */ update(priorityId: string, params: PriorityUpdateParams, options?: Core.RequestOptions): Core.APIPromise; /** * Delete a Priority Intelligence Requirement * * @example * ```ts * const priority = * await client.cloudforceOne.requests.priority.delete( * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415', * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' }, * ); * ``` */ delete(priorityId: string, params: PriorityDeleteParams, options?: Core.RequestOptions): Core.APIPromise; /** * Get a Priority Intelligence Requirement * * @example * ```ts * const item = * await client.cloudforceOne.requests.priority.get( * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415', * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' }, * ); * ``` */ get(priorityId: string, params: PriorityGetParams, options?: Core.RequestOptions): Core.APIPromise; /** * Get Priority Intelligence Requirement Quota * * @example * ```ts * const quota = * await client.cloudforceOne.requests.priority.quota({ * account_id: '023e105f4ecef8ad9ca31a8372d0c353', * }); * ``` */ quota(params: PriorityQuotaParams, options?: Core.RequestOptions): Core.APIPromise; } export type Label = string; export type LabelParam = string; export interface Priority { /** * UUID. */ id: string; /** * Priority creation time. */ created: string; /** * List of labels. */ labels: Array