/* 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'; /** * The flattened shape used when the request has a single sub-request with a single tier, which is the common case. The threshold and approval count sit directly on the quorum object instead of inside `rulesets`. * @export * @interface SimpleQuorum */ export interface SimpleQuorum { /** * Discriminator identifying the flattened single-tier shape. * @type {string} * @memberof SimpleQuorum */ 'type': SimpleQuorumTypeEnum; /** * Number of approvals this request requires. * @type {number} * @memberof SimpleQuorum */ 'threshold': number; /** * Approvals collected so far toward `threshold`. * @type {number} * @memberof SimpleQuorum */ 'currentApprovalCount': number; /** * * @type {QuorumApprovalState} * @memberof SimpleQuorum */ 'status': QuorumApprovalState; /** * Present only when this request additionally requires the workspace owner\'s approval. `false` means the owner has not approved yet, which is why `status` can remain `PENDING` even once `currentApprovalCount` reaches `threshold`. Absent when no owner approval is required. * @type {boolean} * @memberof SimpleQuorum */ 'isMandatoryOwnerApproved'?: boolean; /** * Indexes into the top-level `users` array identifying the users who may approve. Returned only for `quorumStatusMode=FULL`; omitted otherwise. * @type {Array} * @memberof SimpleQuorum */ 'members'?: Array; } export const SimpleQuorumTypeEnum = { Simple: 'SIMPLE' } as const; export type SimpleQuorumTypeEnum = typeof SimpleQuorumTypeEnum[keyof typeof SimpleQuorumTypeEnum];