import { APIResource } from "../../core/resource.js"; import * as Shared from "../shared.js"; import { GroupMembersPageCursorURL } from "../shared.js"; import { APIPromise } from "../../core/api-promise.js"; import { PagePromise } from "../../core/pagination.js"; import { RequestOptions } from "../../internal/request-options.js"; /** * Supergroups used by the company */ export declare class InclusionMembers extends APIResource { /** * Retrieve supergroup inclusion members matching the input parameters. * * - Requires: `API Tier 1` * - Expandable fields: `worker` * - Sortable fields: `id`, `created_at`, `updated_at` */ list(groupID: string, query?: InclusionMemberListParams | null | undefined, options?: RequestOptions): PagePromise; /** * Update the list of supergroup inclusion members. */ update(groupID: string, body?: InclusionMemberUpdateParams | null | undefined, options?: RequestOptions): APIPromise; } export interface InclusionMemberUpdateResponse { /** * Whether the operation succeeded. */ ok?: boolean; } export interface InclusionMemberListParams { expand?: string; order_by?: string; } export interface InclusionMemberUpdateParams { Operations?: Array; } export declare namespace InclusionMemberUpdateParams { interface Operation { /** * add or remove */ op?: string; /** * The members to add or remove. */ value?: Array; } namespace Operation { interface Value { /** * A member id. */ id?: string; } } } export declare namespace InclusionMembers { export { type InclusionMemberUpdateResponse as InclusionMemberUpdateResponse, type InclusionMemberListParams as InclusionMemberListParams, type InclusionMemberUpdateParams as InclusionMemberUpdateParams, }; } export { type GroupMembersPageCursorURL }; //# sourceMappingURL=inclusion-members.d.ts.map