UNPKG

@salad-labs/loopz-typescript

Version:
48 lines 1.85 kB
import { Maybe } from "../../../types/base"; /** * Represents the schema for a conversation trading pool. * @interface ConversationTradingPoolSchema */ export interface ConversationTradingPoolSchema { /** * @property {string} id - The unique identifier for the trading pool. */ id: string; /** * @property {Maybe<string>} conversationId - The ID of the conversation associated with the trading pool. */ conversationId: Maybe<string>; /** * @property {Maybe<string>} userId - The ID of the user associated with the trading pool. */ userId: Maybe<string>; /** * @property {Maybe<Array<string>>} involvedUsers - An array of user IDs who are involved in the trading pool. */ involvedUsers: Maybe<Array<string>>; /** * @property {Maybe<string>} operation - The JSON object representing the operation of the user. */ operation: Maybe<string>; /** * @property {Maybe<"TRADE_INITIALIZED" | "TRADE_CONFIRMED" | "TRADE_PROGRESS" | "TRADE_COMPLETED">} status - Represents a trade status. */ status: Maybe<"TRADE_INITIALIZED" | "TRADE_PROGRESS" | "TRADE_COMPLETED" | "TRADE_ALL">; /** * @property {Maybe<"TRADE" | "RENT">} type - Represents a type that can be either "TRADE" or "RENT", or may be undefined. */ type: Maybe<"TRADE" | "RENT">; /** * @property {Maybe<Date>} createdAt - The date when the conversation trading pool were created. */ createdAt: Maybe<Date>; /** * @property {Maybe<Date>} updatedAt - The date when the conversation trading pool were updated. */ updatedAt: Maybe<Date>; /** * @property {Maybe<Date>} deletedAt - The date when the conversation trading pool were deleted. */ deletedAt: Maybe<Date>; } //# sourceMappingURL=conversationtradingpool.d.ts.map