// 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 - InvitationResponse * InvitationResponse */ @model({name: 'InvitationResponse'}) export class InvitationResponse { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * User id who invites */ @property({ jsonSchema: { type: 'string', description: 'User id who invites', }, }) fromUserId?: string; /** * Subject address */ @property({ jsonSchema: { type: 'string', description: 'Subject address', }, }) subject?: string; /** * User id to be invited */ @property({ jsonSchema: { type: 'string', description: 'User id to be invited', }, }) toUserId?: string; /** * Trader address */ @property({ jsonSchema: { type: 'string', description: 'Trader address', }, }) trader?: string; /** * Creation timestamp in epoch seconds */ @property({ jsonSchema: { type: 'number', description: 'Creation timestamp in epoch seconds', }, }) timestamp?: number; /** * Expiration timestamp in epoch seconds */ @property({ jsonSchema: { type: 'number', description: 'Expiration timestamp in epoch seconds', }, }) expiresAt?: number; /** * Signature of the invitation */ @property({ jsonSchema: { type: 'string', description: 'Signature of the invitation', }, }) signature?: string; } export interface InvitationResponseRelations { // describe navigational properties here } export type InvitationResponseWithRelations = InvitationResponse & InvitationResponseRelations;