// 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 - MarketplaceMagicCodeRequest * MarketplaceMagicCodeRequest */ @model({name: 'MarketplaceMagicCodeRequest'}) export class MarketplaceMagicCodeRequest { 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({ required: true, jsonSchema: { type: 'string', description: 'AE token for the Discord user', }, }) id: string; } export interface MarketplaceMagicCodeRequestRelations { // describe navigational properties here } export type MarketplaceMagicCodeRequestWithRelations = MarketplaceMagicCodeRequest & MarketplaceMagicCodeRequestRelations;