UNPKG

@simplyhomes/sos-sdk

Version:

TypeScript SDK for Simply Homes SoS API v4

72 lines 6.04 kB
import type { Configuration } from '../generated'; import { AirtableCommentNotificationsAPIV4Api } from '../generated'; import type { V4AirtableCommentNotificationsControllerDeleteNotificationV4Request, V4AirtableCommentNotificationsControllerGetNotificationColumnsV4Request, V4AirtableCommentNotificationsControllerGetNotificationV4Request, V4AirtableCommentNotificationsControllerGetNotificationsFilteredByV4Request, V4AirtableCommentNotificationsControllerGetNotificationsInViewV4Request, V4AirtableCommentNotificationsControllerGetNotificationsV4Request, V4AirtableCommentNotificationsControllerMarkNotificationAsReadV4Request, V4AirtableCommentNotificationsControllerUpdateNotificationV4Request, V4AirtableCommentNotificationsCreateNotificationBodyDto, V4AirtableCommentNotificationsCreateNotificationResponseDto, V4AirtableCommentNotificationsDeleteNotificationResponseDto, V4AirtableCommentNotificationsGetNotificationColumnsResponseDto, V4AirtableCommentNotificationsGetNotificationResponseDto, V4AirtableCommentNotificationsGetNotificationsFilteredByResponseDto, V4AirtableCommentNotificationsGetNotificationsInViewResponseDto, V4AirtableCommentNotificationsGetNotificationsResponseDto, V4AirtableCommentNotificationsMarkAllNotificationsReadResponseDto, V4AirtableCommentNotificationsMarkNotificationReadResponseDto, V4AirtableCommentNotificationsUpdateNotificationBodyDto, V4AirtableCommentNotificationsUpdateNotificationResponseDto } from '../generated'; export declare class AirtableCommentNotifications { readonly list: AirtableCommentNotificationsList; readonly create: AirtableCommentNotificationsCreate; readonly update: AirtableCommentNotificationsUpdate; readonly delete: AirtableCommentNotificationsDelete; readonly markAsRead: AirtableCommentNotificationsMarkAsRead; constructor(config: Configuration); } export declare class AirtableCommentNotificationsList { private api; constructor(api: AirtableCommentNotificationsAPIV4Api); /** * all - get /v4/airtable-comment-notifications */ all(options?: V4AirtableCommentNotificationsControllerGetNotificationsV4Request): Promise<V4AirtableCommentNotificationsGetNotificationsResponseDto>; /** * one - get /v4/airtable-comment-notifications/{notificationId} */ one(notificationId: V4AirtableCommentNotificationsControllerGetNotificationV4Request['notificationId'], options?: Omit<V4AirtableCommentNotificationsControllerGetNotificationV4Request, 'notificationId'>): Promise<V4AirtableCommentNotificationsGetNotificationResponseDto>; /** * withView - get /v4/airtable-comment-notifications/viewId/{viewId} */ withView(viewId: V4AirtableCommentNotificationsControllerGetNotificationsInViewV4Request['viewId'], options?: Omit<V4AirtableCommentNotificationsControllerGetNotificationsInViewV4Request, 'viewId'>): Promise<V4AirtableCommentNotificationsGetNotificationsInViewResponseDto>; /** * oneWithColumns - get /v4/airtable-comment-notifications/{notificationId}/{columns} */ oneWithColumns(notificationId: V4AirtableCommentNotificationsControllerGetNotificationColumnsV4Request['notificationId'], columns: V4AirtableCommentNotificationsControllerGetNotificationColumnsV4Request['columns'], options?: Omit<V4AirtableCommentNotificationsControllerGetNotificationColumnsV4Request, 'notificationId' | 'columns'>): Promise<V4AirtableCommentNotificationsGetNotificationColumnsResponseDto>; /** * withFilters - get /v4/airtable-comment-notifications/filteredBy/{column}/{value} */ withFilters(column: V4AirtableCommentNotificationsControllerGetNotificationsFilteredByV4Request['column'], value: V4AirtableCommentNotificationsControllerGetNotificationsFilteredByV4Request['value'], options?: Omit<V4AirtableCommentNotificationsControllerGetNotificationsFilteredByV4Request, 'column' | 'value'>): Promise<V4AirtableCommentNotificationsGetNotificationsFilteredByResponseDto>; } export declare class AirtableCommentNotificationsCreate { private api; constructor(api: AirtableCommentNotificationsAPIV4Api); /** * one - post /v4/airtable-comment-notifications */ one(body: V4AirtableCommentNotificationsCreateNotificationBodyDto): Promise<V4AirtableCommentNotificationsCreateNotificationResponseDto>; } export declare class AirtableCommentNotificationsUpdate { private api; constructor(api: AirtableCommentNotificationsAPIV4Api); /** * one - patch /v4/airtable-comment-notifications/{notificationId} */ one(notificationId: V4AirtableCommentNotificationsControllerUpdateNotificationV4Request['notificationId'], body: V4AirtableCommentNotificationsUpdateNotificationBodyDto['notification']): Promise<V4AirtableCommentNotificationsUpdateNotificationResponseDto>; } export declare class AirtableCommentNotificationsDelete { private api; constructor(api: AirtableCommentNotificationsAPIV4Api); /** * one - delete /v4/airtable-comment-notifications/{notificationId} */ one(notificationId: V4AirtableCommentNotificationsControllerDeleteNotificationV4Request['notificationId'], options?: Omit<V4AirtableCommentNotificationsControllerDeleteNotificationV4Request, 'notificationId'>): Promise<V4AirtableCommentNotificationsDeleteNotificationResponseDto>; } export declare class AirtableCommentNotificationsMarkAsRead { private api; constructor(api: AirtableCommentNotificationsAPIV4Api); /** * one - put /v4/airtable-comment-notifications/{notificationId}/read */ one(notificationId: V4AirtableCommentNotificationsControllerMarkNotificationAsReadV4Request['notificationId'], body: Omit<V4AirtableCommentNotificationsControllerMarkNotificationAsReadV4Request, 'notificationId'>): Promise<V4AirtableCommentNotificationsMarkNotificationReadResponseDto>; /** * all - put /v4/airtable-comment-notifications/read-all */ all(): Promise<V4AirtableCommentNotificationsMarkAllNotificationsReadResponseDto>; } //# sourceMappingURL=airtableCommentNotifications.d.ts.map