// Copyright Abridged, Inc. 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 {TelefrensClaimTradeEventContext} from './telefrens-claim-trade-event-context.model.js'; /** * The model class is generated from OpenAPI schema - TelefrensClaimTradePointsResponse * TelefrensClaimTradePointsResponse */ @model({name: 'TelefrensClaimTradePointsResponse'}) export class TelefrensClaimTradePointsResponse { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) userId?: string; /** * */ @property({ jsonSchema: { type: 'number', }, }) points?: number; /** * */ @property({ jsonSchema: { type: 'string', }, }) tradeId?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) eventType?: string; /** * */ @property({ jsonSchema: { $ref: '#/components/schemas/TelefrensClaimTradeEventContext', }, }) eventContext?: TelefrensClaimTradeEventContext; } export interface TelefrensClaimTradePointsResponseRelations { // describe navigational properties here } export type TelefrensClaimTradePointsResponseWithRelations = TelefrensClaimTradePointsResponse & TelefrensClaimTradePointsResponseRelations;