/* 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 { CantonDomainEnum } from './canton-domain-enum'; // May contain unused imports in some cases // @ts-ignore import { CantonVendorEnum } from './canton-vendor-enum'; /** * The transaction belongs to an offer conversation: the offer itself, a response to it, or a leg that carries no answer of its own. The only block that changes over a transaction\'s lifetime. An offer can have more than one response — an allocation offer is accepted and later withdrawn — so every response transaction states which answer it is in `responseType`. * @export * @interface CantonOfferResponseDetails */ export interface CantonOfferResponseDetails { /** * The shape of this block. Stamped at creation and never changed, so a reader always knows which version it is holding. * @type {number} * @memberof CantonOfferResponseDetails */ 'version'?: number; /** * * @type {CantonDomainEnum} * @memberof CantonOfferResponseDetails */ 'domain'?: CantonDomainEnum; /** * * @type {CantonVendorEnum} * @memberof CantonOfferResponseDetails */ 'vendor'?: CantonVendorEnum; /** * The responses this offer accepts — copy one into `responseType` to answer it. Present on the offer only, set when it arrives and never changed: it states what the offer TYPE accepts, not whether it is answerable right now. The respond endpoint is the authority on that, and answers `409` when the offer\'s state or expiry rules a response out — for example an `ALLOCATION_WITHDRAW` sent before the accept has settled. An empty array means nothing is answerable on this transaction — the difference between an actionable offer and a linked leg that shares its sub-status. * @type {Array} * @memberof CantonOfferResponseDetails */ 'availableResponses'?: Array; /** * When the offer expires, where it has a deadline. * @type {string} * @memberof CantonOfferResponseDetails */ 'expiresAt'?: string; /** * The response transaction, once one has been dispatched for this offer. * @type {string} * @memberof CantonOfferResponseDetails */ 'approvalTransactionId'?: string; /** * The transaction this one relates to — the offer a response answered. * @type {string} * @memberof CantonOfferResponseDetails */ 'originalTransactionId'?: string; /** * On a response transaction, which answer it is — the `responseType` that was sent. Absent on the offer itself. * @type {string} * @memberof CantonOfferResponseDetails */ 'responseType'?: string; /** * On an `ALLOCATION_WITHDRAW` response only — the accept whose allocation this withdraw released, so the withdraw transaction read on its own says what it undid. * @type {string} * @memberof CantonOfferResponseDetails */ 'allocationTransactionId'?: string; /** * The outcome, set once the transaction reaches a terminal status. * @type {string} * @memberof CantonOfferResponseDetails */ 'verdict'?: CantonOfferResponseDetailsVerdictEnum; } export const CantonOfferResponseDetailsVerdictEnum = { Accepted: 'ACCEPTED', Rejected: 'REJECTED' } as const; export type CantonOfferResponseDetailsVerdictEnum = typeof CantonOfferResponseDetailsVerdictEnum[keyof typeof CantonOfferResponseDetailsVerdictEnum];