/* tslint:disable */ /* eslint-disable */ /** * 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. */ // May contain unused imports in some cases // @ts-ignore import { QuorumApprovalState } from './quorum-approval-state'; // May contain unused imports in some cases // @ts-ignore import { QuorumRuleset } from './quorum-ruleset'; /** * The general shape, used when the request has more than one sub-request or a sub-request with more than one tier. Each entry in `rulesets` is a sub-request; each of its `groups` is a tier. * @export * @interface RulesetQuorum */ export interface RulesetQuorum { /** * Discriminator identifying the multi-tier shape. * @type {string} * @memberof RulesetQuorum */ 'type': RulesetQuorumTypeEnum; /** * Whether every sub-request in `rulesets` must be satisfied (`ALL`) or any single one of them (`ANY`). * @type {string} * @memberof RulesetQuorum */ 'rulesetMatch': RulesetQuorumRulesetMatchEnum; /** * * @type {QuorumApprovalState} * @memberof RulesetQuorum */ 'status': QuorumApprovalState; /** * The sub-requests of the approval criteria, evaluated according to `rulesetMatch`. * @type {Array} * @memberof RulesetQuorum */ 'rulesets': Array; /** * Present only when this request additionally requires the workspace owner\'s approval. `false` means the owner has not approved yet. Absent when no owner approval is required. * @type {boolean} * @memberof RulesetQuorum */ 'isMandatoryOwnerApproved'?: boolean; } export const RulesetQuorumTypeEnum = { Ruleset: 'RULESET' } as const; export type RulesetQuorumTypeEnum = typeof RulesetQuorumTypeEnum[keyof typeof RulesetQuorumTypeEnum]; export const RulesetQuorumRulesetMatchEnum = { All: 'ALL', Any: 'ANY' } as const; export type RulesetQuorumRulesetMatchEnum = typeof RulesetQuorumRulesetMatchEnum[keyof typeof RulesetQuorumRulesetMatchEnum];