import type { api_InternalUserItem } from '../models/api_InternalUserItem'; import type { api_List } from '../models/api_List'; import type { notificationsettings_InternalUserNotificationSettings } from '../models/notificationsettings_InternalUserNotificationSettings'; import type { users_InternalUserPatchRequest } from '../models/users_InternalUserPatchRequest'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class InternalUsersService { /** * List internal users * * Lists the internal users (portal team members) within the portal, * paginated. * * @param limit Maximum number of internal users to return * @param nextToken Pagination cursor returned by a previous call * * @example * await assembly.listInternalUsers(); */ static listInternalUsers({ limit, nextToken, }: { /** * Maximum number of internal users to return */ limit?: number; /** * Pagination cursor returned by a previous call */ nextToken?: string; }): CancelablePromise<(api_List & { data?: Array; })>; /** * Get an internal user * * Retrieves a single internal user (portal team member) by ID. * * @param id ID of the internal user to retrieve * * @example * await assembly.retrieveInternalUser({ id: ... }); */ static retrieveInternalUser({ id, }: { /** * ID of the internal user to retrieve */ id: string; }): CancelablePromise; /** * Update an internal user * * Updates an internal user's client-access scope. Only the * isClientAccessLimited and companyAccessList fields are accepted; all * other fields are server-managed. * * @param id ID of the internal user to update * * @example * await assembly.updateInternalUser({ id: ..., requestBody: ... }); */ static updateInternalUser({ id, requestBody, }: { /** * ID of the internal user to update */ id: string; /** * Internal user fields to update */ requestBody: users_InternalUserPatchRequest; }): CancelablePromise; /** * Get an internal user's notification settings * * Retrieves an internal user's notification preferences: the global * in-product toggle, the global email delivery mode, and per-category * opt-outs under notifyAbout. Settings declared by the workspace's * installed apps appear under dynamic * customApp:: keys, using the app's declared * defaults until the user customizes them. Users who have never changed * their settings return the default preferences. * * @param id ID of the internal user * * @example * await assembly.retrieveInternalUserNotificationSettings({ id: ... }); */ static retrieveInternalUserNotificationSettings({ id, }: { /** * ID of the internal user */ id: string; }): CancelablePromise; }