// 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 - MarketplaceMagicCodeResponse * MarketplaceMagicCodeResponse */ @model({name: 'MarketplaceMagicCodeResponse'}) export class MarketplaceMagicCodeResponse { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * 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; /** * Expiration date of the code */ @property({ jsonSchema: { type: 'string', description: 'Expiration date of the code', }, }) expiresAt?: string; } export interface MarketplaceMagicCodeResponseRelations { // describe navigational properties here } export type MarketplaceMagicCodeResponseWithRelations = MarketplaceMagicCodeResponse & MarketplaceMagicCodeResponseRelations;