UNPKG

@simplyhomes/sos-sdk

Version:

TypeScript SDK for Simply Homes SoS API v4

59 lines 5.44 kB
import type { Configuration } from '../generated'; import { AirtableCommentSubscriptionsAPIV4Api } from '../generated'; import type { V4AirtableCommentSubscriptionsControllerDeleteSubscriptionV4Request, V4AirtableCommentSubscriptionsControllerGetSubscriptionColumnsV4Request, V4AirtableCommentSubscriptionsControllerGetSubscriptionV4Request, V4AirtableCommentSubscriptionsControllerGetSubscriptionsFilteredByV4Request, V4AirtableCommentSubscriptionsControllerGetSubscriptionsInViewV4Request, V4AirtableCommentSubscriptionsControllerGetSubscriptionsV4Request, V4AirtableCommentSubscriptionsControllerUpdateSubscriptionV4Request, V4AirtableCommentSubscriptionsCreateSubscriptionBodyDto, V4AirtableCommentSubscriptionsCreateSubscriptionResponseDto, V4AirtableCommentSubscriptionsDeleteSubscriptionResponseDto, V4AirtableCommentSubscriptionsGetSubscriptionColumnsResponseDto, V4AirtableCommentSubscriptionsGetSubscriptionResponseDto, V4AirtableCommentSubscriptionsGetSubscriptionsFilteredByResponseDto, V4AirtableCommentSubscriptionsGetSubscriptionsInViewResponseDto, V4AirtableCommentSubscriptionsGetSubscriptionsResponseDto, V4AirtableCommentSubscriptionsUpdateSubscriptionBodyDto, V4AirtableCommentSubscriptionsUpdateSubscriptionResponseDto } from '../generated'; export declare class AirtableCommentSubscriptions { readonly list: AirtableCommentSubscriptionsList; readonly create: AirtableCommentSubscriptionsCreate; readonly update: AirtableCommentSubscriptionsUpdate; readonly delete: AirtableCommentSubscriptionsDelete; constructor(config: Configuration); } export declare class AirtableCommentSubscriptionsList { private api; constructor(api: AirtableCommentSubscriptionsAPIV4Api); /** * all - get /v4/airtable-comment-subscriptions */ all(options?: V4AirtableCommentSubscriptionsControllerGetSubscriptionsV4Request): Promise<V4AirtableCommentSubscriptionsGetSubscriptionsResponseDto>; /** * one - get /v4/airtable-comment-subscriptions/{tableId}/{recordId} */ one(tableId: V4AirtableCommentSubscriptionsControllerGetSubscriptionV4Request['tableId'], recordId: V4AirtableCommentSubscriptionsControllerGetSubscriptionV4Request['recordId'], options?: Omit<V4AirtableCommentSubscriptionsControllerGetSubscriptionV4Request, 'tableId' | 'recordId'>): Promise<V4AirtableCommentSubscriptionsGetSubscriptionResponseDto>; /** * withView - get /v4/airtable-comment-subscriptions/viewId/{viewId} */ withView(viewId: V4AirtableCommentSubscriptionsControllerGetSubscriptionsInViewV4Request['viewId'], options?: Omit<V4AirtableCommentSubscriptionsControllerGetSubscriptionsInViewV4Request, 'viewId'>): Promise<V4AirtableCommentSubscriptionsGetSubscriptionsInViewResponseDto>; /** * oneWithColumns - get /v4/airtable-comment-subscriptions/{tableId}/{recordId}/columns/{columns} */ oneWithColumns(tableId: V4AirtableCommentSubscriptionsControllerGetSubscriptionColumnsV4Request['tableId'], recordId: V4AirtableCommentSubscriptionsControllerGetSubscriptionColumnsV4Request['recordId'], columns: V4AirtableCommentSubscriptionsControllerGetSubscriptionColumnsV4Request['columns'], options?: Omit<V4AirtableCommentSubscriptionsControllerGetSubscriptionColumnsV4Request, 'tableId' | 'recordId' | 'columns'>): Promise<V4AirtableCommentSubscriptionsGetSubscriptionColumnsResponseDto>; /** * withFilters - get /v4/airtable-comment-subscriptions/filteredBy/{column}/{value} */ withFilters(column: V4AirtableCommentSubscriptionsControllerGetSubscriptionsFilteredByV4Request['column'], value: V4AirtableCommentSubscriptionsControllerGetSubscriptionsFilteredByV4Request['value'], options?: Omit<V4AirtableCommentSubscriptionsControllerGetSubscriptionsFilteredByV4Request, 'column' | 'value'>): Promise<V4AirtableCommentSubscriptionsGetSubscriptionsFilteredByResponseDto>; } export declare class AirtableCommentSubscriptionsCreate { private api; constructor(api: AirtableCommentSubscriptionsAPIV4Api); /** * one - post /v4/airtable-comment-subscriptions */ one(body: V4AirtableCommentSubscriptionsCreateSubscriptionBodyDto): Promise<V4AirtableCommentSubscriptionsCreateSubscriptionResponseDto>; } export declare class AirtableCommentSubscriptionsUpdate { private api; constructor(api: AirtableCommentSubscriptionsAPIV4Api); /** * one - patch /v4/airtable-comment-subscriptions/{tableId}/{recordId} */ one(tableId: V4AirtableCommentSubscriptionsControllerUpdateSubscriptionV4Request['tableId'], recordId: V4AirtableCommentSubscriptionsControllerUpdateSubscriptionV4Request['recordId'], body: V4AirtableCommentSubscriptionsUpdateSubscriptionBodyDto['subscription']): Promise<V4AirtableCommentSubscriptionsUpdateSubscriptionResponseDto>; } export declare class AirtableCommentSubscriptionsDelete { private api; constructor(api: AirtableCommentSubscriptionsAPIV4Api); /** * one - delete /v4/airtable-comment-subscriptions/{tableId}/{recordId} */ one(tableId: V4AirtableCommentSubscriptionsControllerDeleteSubscriptionV4Request['tableId'], recordId: V4AirtableCommentSubscriptionsControllerDeleteSubscriptionV4Request['recordId'], options?: Omit<V4AirtableCommentSubscriptionsControllerDeleteSubscriptionV4Request, 'tableId' | 'recordId'>): Promise<V4AirtableCommentSubscriptionsDeleteSubscriptionResponseDto>; } //# sourceMappingURL=airtableCommentSubscriptions.d.ts.map