// 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 - SignMessageRequest * SignMessageRequest */ @model({name: 'SignMessageRequest'}) export class SignMessageRequest { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * The address to sign the message */ @property({ required: true, jsonSchema: { type: 'string', description: 'The address to sign the message', }, }) address: string; /** * The message to sign. For hash, use hex prefix 0x */ @property({ required: true, jsonSchema: { type: 'string', description: 'The message to sign. For hash, use hex prefix 0x', }, }) message: string; /** * One time password for signing the message */ @property({ jsonSchema: { type: 'string', description: 'One time password for signing the message', }, }) otp?: string; } export interface SignMessageRequestRelations { // describe navigational properties here } export type SignMessageRequestWithRelations = SignMessageRequest & SignMessageRequestRelations;