1 | import type { AppID, CursorPaginationEnabled, TokenOverridable } from '../common';
|
2 | interface RequestID {
|
3 |
|
4 | request_id: string;
|
5 | }
|
6 | type AppOrRequestID = (AppID & {
|
7 | request_id?: never;
|
8 | }) | (RequestID & {
|
9 | app_id?: never;
|
10 | });
|
11 | interface EnterpriseID {
|
12 |
|
13 | enterprise_id: string;
|
14 | }
|
15 | interface TeamID {
|
16 |
|
17 | team_id: string;
|
18 | }
|
19 | type TeamOrEnterpriseID = (EnterpriseID & {
|
20 | team_id?: never;
|
21 | }) | (TeamID & {
|
22 | enterprise_id?: never;
|
23 | });
|
24 | interface Certified {
|
25 | |
26 |
|
27 |
|
28 | certified?: boolean;
|
29 | }
|
30 | export interface AdminAppsActivitiesListArguments extends Partial<AppID>, Partial<TeamID>, TokenOverridable, CursorPaginationEnabled {
|
31 | |
32 |
|
33 |
|
34 |
|
35 | component_id?: string;
|
36 |
|
37 | component_type?: 'events_api' | 'workflows' | 'functions' | 'tables';
|
38 |
|
39 | log_event_type?: string;
|
40 |
|
41 | max_date_created?: number;
|
42 |
|
43 | min_date_created?: number;
|
44 |
|
45 | min_log_level?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
|
46 |
|
47 | sort_direction?: 'asc' | 'desc';
|
48 |
|
49 | source?: 'slack' | 'developer';
|
50 |
|
51 | trace_id?: string;
|
52 | }
|
53 | export type AdminAppsApproveArguments = AppOrRequestID & TeamOrEnterpriseID & TokenOverridable;
|
54 | export type AdminAppsApprovedListArguments = Partial<TeamOrEnterpriseID> & TokenOverridable & CursorPaginationEnabled & Certified;
|
55 | export type AdminAppsClearResolutionArguments = AppID & TeamOrEnterpriseID;
|
56 | export interface AdminAppsConfigLookupArguments extends TokenOverridable {
|
57 |
|
58 | app_ids: string[];
|
59 | }
|
60 | export interface AdminAppsConfigSetArguments extends AppID, TokenOverridable {
|
61 |
|
62 | domain_restrictions?: {
|
63 |
|
64 | urls?: string[];
|
65 |
|
66 | emails?: string[];
|
67 | };
|
68 |
|
69 | workflow_auth_strategy?: 'builder_choice' | 'end_user_only';
|
70 | }
|
71 | export type AdminAppsRequestsCancelArguments = RequestID & TeamOrEnterpriseID & TokenOverridable;
|
72 | export type AdminAppsRequestsListArguments = TeamOrEnterpriseID & Certified & TokenOverridable & CursorPaginationEnabled;
|
73 | export type AdminAppsRestrictArguments = AppOrRequestID & TeamOrEnterpriseID & TokenOverridable;
|
74 | export type AdminAppsRestrictedListArguments = TeamOrEnterpriseID & Certified & TokenOverridable & CursorPaginationEnabled;
|
75 | export type AdminAppsUninstallArguments = AppID & TeamOrEnterpriseID;
|
76 | export {};
|
77 |
|
\ | No newline at end of file |