UNPKG

2.02 kBTypeScriptView Raw
1import { AppID, OptionalTeamAssignable, TokenOverridable, CursorPaginationEnabled, TraditionalPagingEnabled } from './common';
2export interface TeamAccessLogsArguments extends TokenOverridable, CursorPaginationEnabled, TraditionalPagingEnabled, OptionalTeamAssignable {
3 /**
4 * @description End of time range of logs to include in results (inclusive) as a UNIX timestamp in seconds.
5 * Default to now.
6 */
7 before?: number;
8}
9export interface TeamBillableInfoArguments extends TokenOverridable, CursorPaginationEnabled, OptionalTeamAssignable {
10 /** @description A user to retrieve the billable information for. Defaults to all users. */
11 user?: string;
12}
13export interface TeamBillingInfoArguments extends TokenOverridable {
14}
15export interface TeamInfoArguments extends TokenOverridable {
16 /**
17 * @description Query by domain instead of team (only when `team` is null). This only works for domains in the same
18 * enterprise as the querying team token.
19 * This also expects the domain to belong to a team and not the enterprise itself.
20 */
21 domain?: string;
22 /** @description Team to get info about; if omitted, will return information about the current team. */
23 team?: string;
24}
25export interface TeamIntegrationLogsArguments extends Partial<AppID>, TokenOverridable, OptionalTeamAssignable, TraditionalPagingEnabled {
26 /** @description Filter logs with this change type. Defaults to all logs. */
27 change_type?: 'added' | 'removed' | 'enabled' | 'disabled' | 'updated';
28 /** @description Filter logs to this service. Defaults to all logs. */
29 service_id?: string;
30 /** @description Filter logs generated by this user’s actions. Defaults to all logs. */
31 user?: string;
32}
33export interface TeamProfileGetArguments extends TokenOverridable {
34 /** @description Filter by visibility. */
35 visibility?: 'all' | 'visible' | 'hidden';
36}
37export interface TeamPreferencesListArguments extends TokenOverridable {
38}
39//# sourceMappingURL=team.d.ts.map
\No newline at end of file