// 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 - InvitationRequest * InvitationRequest */ @model({name: 'InvitationRequest'}) export class InvitationRequest { 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; /** * User id to be invited */ @property({ jsonSchema: { type: 'string', description: 'User id to be invited', }, }) toUserId?: 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; } export interface InvitationRequestRelations { // describe navigational properties here } export type InvitationRequestWithRelations = InvitationRequest & InvitationRequestRelations;