// 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 - MarketplaceWalletRequest * MarketplaceWalletRequest */ @model({name: 'MarketplaceWalletRequest'}) export class MarketplaceWalletRequest { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * Name of the marketplace */ @property({ required: true, jsonSchema: { type: 'string', description: 'Name of the marketplace', }, }) marketplace: string; /** * Wallet address or user name with the marketplace */ @property({ required: true, jsonSchema: { type: 'string', description: 'Wallet address or user name with the marketplace', }, }) account: string; /** * AE token for the Discord user */ @property({ jsonSchema: { type: 'string', description: 'AE token for the Discord user', }, }) id?: string; /** * A unique code to set to the user's marketplace profile */ @property({ jsonSchema: { type: 'string', description: "A unique code to set to the user's marketplace profile", }, }) magicCode?: string; /** * A proof from the user */ @property({ jsonSchema: { type: 'string', description: 'A proof from the user', }, }) proof?: string; } export interface MarketplaceWalletRequestRelations { // describe navigational properties here } export type MarketplaceWalletRequestWithRelations = MarketplaceWalletRequest & MarketplaceWalletRequestRelations;