// Copyright Abridged, Inc. 2021,2024. All Rights Reserved. // Node module: @collabland/sdk // This file is licensed under the MIT License. // License text available at https://opensource.org/license/mit/ import {model, property} from '@loopback/repository'; import {TokenValue} from './token-value.model.js'; /** * The model class is generated from OpenAPI schema - TokenOfferAcceptance * TokenOfferAcceptance */ @model({name: 'TokenOfferAcceptance'}) export class TokenOfferAcceptance { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) chainId?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) marketContract?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) tokenContract?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) tokenId?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) buyer?: string; /** * */ @property({ jsonSchema: { $ref: '#/components/schemas/TokenValue', }, }) price?: TokenValue; /** * */ @property({ jsonSchema: { type: 'string', }, }) seller?: string; } export interface TokenOfferAcceptanceRelations { // describe navigational properties here } export type TokenOfferAcceptanceWithRelations = TokenOfferAcceptance & TokenOfferAcceptanceRelations;