UNPKG

@simplyhomes/sos-sdk

Version:

TypeScript SDK for Simply Homes SoS API v4

29 lines 1.48 kB
import type { Configuration } from '../generated'; import { AirtableCommentsAPIV4Api } from '../generated'; import type { V4AirtableCommentsControllerDeleteCommentV4Request, V4AirtableCommentsControllerGetCommentsInViewV4Request, V4AirtableCommentsControllerGetCommentsV4Request, V4AirtableCommentsGetCommentsResponseDto } from '../generated'; export declare class AirtableComments { readonly list: AirtableCommentsList; readonly delete: AirtableCommentsDelete; constructor(config: Configuration); } export declare class AirtableCommentsList { private api; constructor(api: AirtableCommentsAPIV4Api); /** * all - get /v4/airtable-comments */ all(options?: V4AirtableCommentsControllerGetCommentsV4Request): Promise<V4AirtableCommentsGetCommentsResponseDto>; /** * withView - get /v4/airtable-comments/viewId/{viewId} */ withView(viewId: V4AirtableCommentsControllerGetCommentsInViewV4Request['viewId'], options?: Omit<V4AirtableCommentsControllerGetCommentsInViewV4Request, 'viewId'>): Promise<V4AirtableCommentsGetCommentsResponseDto>; } export declare class AirtableCommentsDelete { private api; constructor(api: AirtableCommentsAPIV4Api); /** * one - delete /v4/airtable-comments/{id} */ one(id: V4AirtableCommentsControllerDeleteCommentV4Request['id'], options?: Omit<V4AirtableCommentsControllerDeleteCommentV4Request, 'id'>): Promise<void>; } //# sourceMappingURL=airtableComments.d.ts.map