// Copyright Abridged, Inc. 2021,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'; import {WalletProxyModel} from './wallet-proxy.model.js'; import {WalletConnectionInfo} from './wallet-connection-info.model.js'; /** * The model class is generated from OpenAPI schema - WalletConnectionResponse * WalletConnectionResponse */ @model({name: 'WalletConnectionResponse'}) export class WalletConnectionResponse { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'boolean', }, }) success?: boolean; /** * */ @property({ jsonSchema: { type: 'string', }, }) address?: string; /** * */ @property.array(WalletProxyModel, { jsonSchema: { type: 'array', items: { $ref: '#/components/schemas/WalletProxyModel', }, }, }) proxies?: WalletProxyModel[]; /** * */ @property({ jsonSchema: { type: 'string', }, }) state?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) message?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) code?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) resetToken?: string; /** * */ @property({ jsonSchema: { $ref: '#/components/schemas/WalletConnectionInfo', }, }) connection?: WalletConnectionInfo; } export interface WalletConnectionResponseRelations { // describe navigational properties here } export type WalletConnectionResponseWithRelations = WalletConnectionResponse & WalletConnectionResponseRelations;