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