// Copyright Abridged, Inc. 2022,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 - WalletIdTokenRequest * WalletIdTokenRequest */ @model({name: 'WalletIdTokenRequest'}) export class WalletIdTokenRequest { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * Unique request id for the login */ @property({ required: true, jsonSchema: { type: 'string', description: 'Unique request id for the login', }, }) requestId: string; /** * Signature type */ @property({ jsonSchema: { type: 'string', description: 'Signature type', }, }) signatureType?: string; /** * Signature of the message for the given login */ @property({ required: true, jsonSchema: { type: 'string', description: 'Signature of the message for the given login', }, }) signature: string; /** * Account id of the signer */ @property({ jsonSchema: { type: 'string', description: 'Account id of the signer', }, }) accountId?: string; /** * Permission scopes granted to this login action */ @property({ jsonSchema: { type: 'string', description: 'Permission scopes granted to this login action', }, }) scopes?: string; } export interface WalletIdTokenRequestRelations { // describe navigational properties here } export type WalletIdTokenRequestWithRelations = WalletIdTokenRequest & WalletIdTokenRequestRelations;