UNPKG

@simplyhomes/sos-sdk

Version:

TypeScript SDK for Simply Homes SoS API v4

28 lines 1.68 kB
import type { Configuration } from '../generated'; import { V4UpdatesApi } from '../generated'; import type { V4UpdatesControllerGetUpdateColumnsV4Request, V4UpdatesControllerGetUpdateV4Request, V4UpdatesControllerGetUpdatesInViewV4Request, V4UpdatesControllerGetUpdatesV4Request, V4UpdatesGetUpdateColumnsResponseDto, V4UpdatesGetUpdateResponseDto, V4UpdatesGetUpdatesInViewResponseDto, V4UpdatesGetUpdatesResponseDto } from '../generated'; export declare class Updates { readonly list: UpdatesList; constructor(config: Configuration); } export declare class UpdatesList { private api; constructor(api: V4UpdatesApi); /** * all - get /v4/updates */ all(options?: V4UpdatesControllerGetUpdatesV4Request): Promise<V4UpdatesGetUpdatesResponseDto>; /** * withView - get /v4/updates/viewId/{viewId} */ withView(viewId: V4UpdatesControllerGetUpdatesInViewV4Request['viewId'], options?: Omit<V4UpdatesControllerGetUpdatesInViewV4Request, 'viewId'>): Promise<V4UpdatesGetUpdatesInViewResponseDto>; /** * one - get /v4/updates/{updateId} */ one(updateId: V4UpdatesControllerGetUpdateV4Request['updateId'], options?: Omit<V4UpdatesControllerGetUpdateV4Request, 'updateId'>): Promise<V4UpdatesGetUpdateResponseDto>; /** * oneWithColumns - get /v4/updates/{updateId}/{columns} */ oneWithColumns(updateId: V4UpdatesControllerGetUpdateColumnsV4Request['updateId'], columns: V4UpdatesControllerGetUpdateColumnsV4Request['columns'], options?: Omit<V4UpdatesControllerGetUpdateColumnsV4Request, 'updateId' | 'columns'>): Promise<V4UpdatesGetUpdateColumnsResponseDto>; } //# sourceMappingURL=updates.d.ts.map