/** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { RequestArgs, BaseAPI } from '../base'; import { GetScreeningResultResponse } from '../models'; import { GetWorkflowResponse } from '../models'; import { TriggerScreeningRequest } from '../models'; import { TriggerScreeningResponse } from '../models'; import { UpdateWorkflowStatusRequest } from '../models'; import { UpdateWorkflowStatusResponse } from '../models'; /** * ComplianceOrchestratorBetaApi - axios parameter creator * @export */ export declare const ComplianceOrchestratorBetaApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the result of a screening started by `POST /v1/compliance/orchestrator/screenings`, with a result per workflow step and an audit log. Safe to poll: a screening still in flight reports `PENDING` or `RUNNING`. Only screenings owned by the requesting tenant are returned. * @summary Get a Compliance Orchestrator screening\'s result * @param {string} screeningId The screening\'s identifier, returned by `POST /v1/compliance/orchestrator/screenings`. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getScreeningResult: (screeningId: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns a workflow\'s status and its steps in execution order. Read it to see what a given `workflowId` will screen, and which fields its rules may reference. * @summary Get a Compliance Orchestrator workflow * @param {string} workflowId The workflow\'s identifier. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWorkflow: (workflowId: string, options?: RawAxiosRequestConfig) => Promise; /** * Starts a compliance screening against an active workflow and returns a `screeningId`. The screening runs asynchronously — poll `GET /v1/compliance/orchestrator/screenings/{screeningId}` for the result. Unlike the screening that applies automatically to submitted transactions under `/v1/screening`, this is called on demand, before anything exists on-chain. * @summary Trigger a Compliance Orchestrator screening * @param {TriggerScreeningRequest} triggerScreeningRequest * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. * @param {*} [options] Override http request option. * @throws {RequiredError} */ triggerScreening: (triggerScreeningRequest: TriggerScreeningRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; /** * Moves a workflow between `DRAFT` and `ACTIVE`. A workflow must be `ACTIVE` before `POST /v1/compliance/orchestrator/screenings` will accept a screening against it. Returns the workflow\'s id and new status, not its full configuration. * @summary Update a Compliance Orchestrator workflow\'s status * @param {UpdateWorkflowStatusRequest} updateWorkflowStatusRequest * @param {string} workflowId The workflow\'s identifier. * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWorkflowStatus: (updateWorkflowStatusRequest: UpdateWorkflowStatusRequest, workflowId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; }; /** * ComplianceOrchestratorBetaApi - functional programming interface * @export */ export declare const ComplianceOrchestratorBetaApiFp: (configuration?: Configuration) => { /** * Returns the result of a screening started by `POST /v1/compliance/orchestrator/screenings`, with a result per workflow step and an audit log. Safe to poll: a screening still in flight reports `PENDING` or `RUNNING`. Only screenings owned by the requesting tenant are returned. * @summary Get a Compliance Orchestrator screening\'s result * @param {string} screeningId The screening\'s identifier, returned by `POST /v1/compliance/orchestrator/screenings`. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getScreeningResult(screeningId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a workflow\'s status and its steps in execution order. Read it to see what a given `workflowId` will screen, and which fields its rules may reference. * @summary Get a Compliance Orchestrator workflow * @param {string} workflowId The workflow\'s identifier. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWorkflow(workflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Starts a compliance screening against an active workflow and returns a `screeningId`. The screening runs asynchronously — poll `GET /v1/compliance/orchestrator/screenings/{screeningId}` for the result. Unlike the screening that applies automatically to submitted transactions under `/v1/screening`, this is called on demand, before anything exists on-chain. * @summary Trigger a Compliance Orchestrator screening * @param {TriggerScreeningRequest} triggerScreeningRequest * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. * @param {*} [options] Override http request option. * @throws {RequiredError} */ triggerScreening(triggerScreeningRequest: TriggerScreeningRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Moves a workflow between `DRAFT` and `ACTIVE`. A workflow must be `ACTIVE` before `POST /v1/compliance/orchestrator/screenings` will accept a screening against it. Returns the workflow\'s id and new status, not its full configuration. * @summary Update a Compliance Orchestrator workflow\'s status * @param {UpdateWorkflowStatusRequest} updateWorkflowStatusRequest * @param {string} workflowId The workflow\'s identifier. * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWorkflowStatus(updateWorkflowStatusRequest: UpdateWorkflowStatusRequest, workflowId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ComplianceOrchestratorBetaApi - factory interface * @export */ export declare const ComplianceOrchestratorBetaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the result of a screening started by `POST /v1/compliance/orchestrator/screenings`, with a result per workflow step and an audit log. Safe to poll: a screening still in flight reports `PENDING` or `RUNNING`. Only screenings owned by the requesting tenant are returned. * @summary Get a Compliance Orchestrator screening\'s result * @param {ComplianceOrchestratorBetaApiGetScreeningResultRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getScreeningResult(requestParameters: ComplianceOrchestratorBetaApiGetScreeningResultRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a workflow\'s status and its steps in execution order. Read it to see what a given `workflowId` will screen, and which fields its rules may reference. * @summary Get a Compliance Orchestrator workflow * @param {ComplianceOrchestratorBetaApiGetWorkflowRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWorkflow(requestParameters: ComplianceOrchestratorBetaApiGetWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Starts a compliance screening against an active workflow and returns a `screeningId`. The screening runs asynchronously — poll `GET /v1/compliance/orchestrator/screenings/{screeningId}` for the result. Unlike the screening that applies automatically to submitted transactions under `/v1/screening`, this is called on demand, before anything exists on-chain. * @summary Trigger a Compliance Orchestrator screening * @param {ComplianceOrchestratorBetaApiTriggerScreeningRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ triggerScreening(requestParameters: ComplianceOrchestratorBetaApiTriggerScreeningRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Moves a workflow between `DRAFT` and `ACTIVE`. A workflow must be `ACTIVE` before `POST /v1/compliance/orchestrator/screenings` will accept a screening against it. Returns the workflow\'s id and new status, not its full configuration. * @summary Update a Compliance Orchestrator workflow\'s status * @param {ComplianceOrchestratorBetaApiUpdateWorkflowStatusRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWorkflowStatus(requestParameters: ComplianceOrchestratorBetaApiUpdateWorkflowStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * Request parameters for getScreeningResult operation in ComplianceOrchestratorBetaApi. * @export * @interface ComplianceOrchestratorBetaApiGetScreeningResultRequest */ export interface ComplianceOrchestratorBetaApiGetScreeningResultRequest { /** * The screening\'s identifier, returned by `POST /v1/compliance/orchestrator/screenings`. * @type {string} * @memberof ComplianceOrchestratorBetaApiGetScreeningResult */ readonly screeningId: string; } /** * Request parameters for getWorkflow operation in ComplianceOrchestratorBetaApi. * @export * @interface ComplianceOrchestratorBetaApiGetWorkflowRequest */ export interface ComplianceOrchestratorBetaApiGetWorkflowRequest { /** * The workflow\'s identifier. * @type {string} * @memberof ComplianceOrchestratorBetaApiGetWorkflow */ readonly workflowId: string; } /** * Request parameters for triggerScreening operation in ComplianceOrchestratorBetaApi. * @export * @interface ComplianceOrchestratorBetaApiTriggerScreeningRequest */ export interface ComplianceOrchestratorBetaApiTriggerScreeningRequest { /** * * @type {TriggerScreeningRequest} * @memberof ComplianceOrchestratorBetaApiTriggerScreening */ readonly triggerScreeningRequest: TriggerScreeningRequest; /** * A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. * @type {string} * @memberof ComplianceOrchestratorBetaApiTriggerScreening */ readonly idempotencyKey?: string; } /** * Request parameters for updateWorkflowStatus operation in ComplianceOrchestratorBetaApi. * @export * @interface ComplianceOrchestratorBetaApiUpdateWorkflowStatusRequest */ export interface ComplianceOrchestratorBetaApiUpdateWorkflowStatusRequest { /** * * @type {UpdateWorkflowStatusRequest} * @memberof ComplianceOrchestratorBetaApiUpdateWorkflowStatus */ readonly updateWorkflowStatusRequest: UpdateWorkflowStatusRequest; /** * The workflow\'s identifier. * @type {string} * @memberof ComplianceOrchestratorBetaApiUpdateWorkflowStatus */ readonly workflowId: string; /** * A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. * @type {string} * @memberof ComplianceOrchestratorBetaApiUpdateWorkflowStatus */ readonly idempotencyKey?: string; } /** * ComplianceOrchestratorBetaApi - object-oriented interface * @export * @class ComplianceOrchestratorBetaApi * @extends {BaseAPI} */ export declare class ComplianceOrchestratorBetaApi extends BaseAPI { /** * Returns the result of a screening started by `POST /v1/compliance/orchestrator/screenings`, with a result per workflow step and an audit log. Safe to poll: a screening still in flight reports `PENDING` or `RUNNING`. Only screenings owned by the requesting tenant are returned. * @summary Get a Compliance Orchestrator screening\'s result * @param {ComplianceOrchestratorBetaApiGetScreeningResultRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ComplianceOrchestratorBetaApi */ getScreeningResult(requestParameters: ComplianceOrchestratorBetaApiGetScreeningResultRequest): Promise>; /** * Returns a workflow\'s status and its steps in execution order. Read it to see what a given `workflowId` will screen, and which fields its rules may reference. * @summary Get a Compliance Orchestrator workflow * @param {ComplianceOrchestratorBetaApiGetWorkflowRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ComplianceOrchestratorBetaApi */ getWorkflow(requestParameters: ComplianceOrchestratorBetaApiGetWorkflowRequest): Promise>; /** * Starts a compliance screening against an active workflow and returns a `screeningId`. The screening runs asynchronously — poll `GET /v1/compliance/orchestrator/screenings/{screeningId}` for the result. Unlike the screening that applies automatically to submitted transactions under `/v1/screening`, this is called on demand, before anything exists on-chain. * @summary Trigger a Compliance Orchestrator screening * @param {ComplianceOrchestratorBetaApiTriggerScreeningRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ComplianceOrchestratorBetaApi */ triggerScreening(requestParameters: ComplianceOrchestratorBetaApiTriggerScreeningRequest): Promise>; /** * Moves a workflow between `DRAFT` and `ACTIVE`. A workflow must be `ACTIVE` before `POST /v1/compliance/orchestrator/screenings` will accept a screening against it. Returns the workflow\'s id and new status, not its full configuration. * @summary Update a Compliance Orchestrator workflow\'s status * @param {ComplianceOrchestratorBetaApiUpdateWorkflowStatusRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ComplianceOrchestratorBetaApi */ updateWorkflowStatus(requestParameters: ComplianceOrchestratorBetaApiUpdateWorkflowStatusRequest): Promise>; }