UNPKG

@simplyhomes/sos-client

Version:

Client SDK for SimplyHomes SOS API

18 lines (17 loc) 692 B
import { SDK_Base } from '../../base'; import { SDK_Context } from 'sdk/client/client'; import { SDK_Execution } from 'sdk/interfaces/sdk-execution'; import { SDK_GetMarketById_Response, SDK_IncludedFields } from './types'; export declare class SDK_Markets_GetById extends SDK_Base implements SDK_Execution { private marketId; private _included; constructor(ctx: SDK_Context, marketId: number); /** * Set the included fields for the market. * @param included - The fields to include in the response. */ included(included: SDK_IncludedFields[]): this; execute(): Promise<SDK_GetMarketById_Response>; private clonePayload; private resetPayload; }