UNPKG

929 BTypeScriptView Raw
1import type { CursorPaginationEnabled, TokenOverridable, UserIDs } from '../common';
2export interface AdminFunctionsListArguments extends TokenOverridable, CursorPaginationEnabled {
3 /** @description Array of app IDs to get functions for; max 50. */
4 app_ids: string[];
5 /** @description The team context to retrieve functions from. */
6 team_id?: string;
7}
8export interface AdminFunctionsPermissionsLookupArguments extends TokenOverridable {
9 /** @description An array of function IDs to get permissions for. */
10 function_ids: [string, ...string[]];
11}
12export interface AdminFunctionsPermissionsSetArguments extends TokenOverridable, Partial<UserIDs> {
13 /** @description The function ID to set permissions for. */
14 function_id: string;
15 /** @description The function visibility. */
16 visibility: 'everyone' | 'app_collaborators' | 'named_entities' | 'no_one';
17}
18//# sourceMappingURL=functions.d.ts.map
\No newline at end of file