import type { api_List } from '../models/api_List'; import type { filechannel_CreateFileChannelInput } from '../models/filechannel_CreateFileChannelInput'; import type { filechannels_FileChannel } from '../models/filechannels_FileChannel'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class FileChannelsService { /** * List File Channels * * Returns a paginated list of file channels, optionally filtered by * company, client, or membership type. * * @param companyId Filter by company id * @param clientId Filter by client id * @param membershipType Filter by channel grouping type * @param memberId Filter by member id (deprecated legacy schema) * @param membershipEntityId Filter by id of entity the channel is based on (deprecated legacy schema) * @param limit Maximum number of items to return * @param nextToken Pagination cursor returned by a previous response * * @example * await assembly.listFileChannels(); */ static listFileChannels({ companyId, clientId, membershipType, memberId, membershipEntityId, limit, nextToken, }: { /** * Filter by company id */ companyId?: string; /** * Filter by client id */ clientId?: string; /** * Filter by channel grouping type */ membershipType?: 'individual' | 'company' | 'group'; /** * Filter by member id (deprecated legacy schema) */ memberId?: string; /** * Filter by id of entity the channel is based on (deprecated legacy schema) */ membershipEntityId?: string; /** * Maximum number of items to return */ limit?: number; /** * Pagination cursor returned by a previous response */ nextToken?: string; }): CancelablePromise<(api_List & { data?: Array; })>; /** * Create File Channel * * Creates a file channel. Provide companyId for a company channel, clientId * for an individual channel, or membershipType=group with memberIds. The * legacy membershipEntityId/membershipType pair is still accepted. * * @example * await assembly.createFileChannel({ requestBody: ... }); */ static createFileChannel({ requestBody, }: { /** * File channel to create */ requestBody: filechannel_CreateFileChannelInput; }): CancelablePromise; /** * Get File Channel by id * * Retrieves a single file channel by its id. The requesting user must be a * member of the channel. * * @param id File channel id * * @example * await assembly.retrieveFileChannel({ id: ... }); */ static retrieveFileChannel({ id, }: { /** * File channel id */ id: string; }): CancelablePromise; }