// Copyright Abridged, Inc. 2023,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'; /** * The model class is generated from OpenAPI schema - TradeShareRequest * TradeShareRequest */ @model({name: 'TradeShareRequest'}) export class TradeShareRequest { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) subjectUserId?: string; /** * Epoch time in seconds to control when to open the subject after an invitation only period */ @property({ jsonSchema: { type: 'number', description: 'Epoch time in seconds to control when to open the subject after an invitation only period', }, }) opensAt?: number; /** * */ @property({ jsonSchema: { type: 'string', }, }) amount?: string; } export interface TradeShareRequestRelations { // describe navigational properties here } export type TradeShareRequestWithRelations = TradeShareRequest & TradeShareRequestRelations;