UNPKG

1.76 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type AdminAppsActivitiesListResponse = WebAPICallResult & {
3 activities?: Activity[];
4 error?: string;
5 needed?: string;
6 ok?: boolean;
7 provided?: string;
8 response_metadata?: ResponseMetadata;
9};
10export interface Activity {
11 app_id?: string;
12 component_id?: string;
13 component_type?: string;
14 created?: number;
15 enterprise_id?: string;
16 event_type?: string;
17 level?: string;
18 payload?: Payload;
19 source?: string;
20 team_id?: string;
21 trace_id?: string;
22}
23export interface Payload {
24 action?: string;
25 actor?: string;
26 billing_reason?: string[];
27 bot_user_id?: string;
28 bundle_size_kb?: number;
29 channel_id?: string;
30 current_step?: number;
31 datastore_name?: string;
32 details?: string;
33 error?: string;
34 exec_outcome?: string;
35 function_execution_id?: string;
36 function_id?: string;
37 function_name?: string;
38 function_type?: string;
39 inputs?: Inputs;
40 is_billing_excluded?: boolean;
41 log?: string;
42 request_type?: string;
43 team_id?: string;
44 total_steps?: number;
45 trigger?: Trigger;
46 type?: string;
47 user_id?: string;
48 workflow_name?: string;
49}
50export interface Inputs {
51}
52export interface Trigger {
53 config?: Config;
54 id?: string;
55 trip_information?: TripInformation;
56 type?: string;
57}
58export interface Config {
59 description?: string;
60 event_type?: string;
61 name?: string;
62 schema?: Inputs;
63}
64export interface TripInformation {
65 channel_id?: string;
66 message_ts?: string;
67 reaction?: string;
68 user_id?: string;
69}
70export interface ResponseMetadata {
71 next_cursor?: string;
72}
73//# sourceMappingURL=AdminAppsActivitiesListResponse.d.ts.map
\No newline at end of file