Skip to content

Commit

Permalink
Run response generation script; swap out placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
misscoded committed Sep 17, 2024
1 parent 39fb2ba commit cf02773
Show file tree
Hide file tree
Showing 309 changed files with 20,404 additions and 20,485 deletions.
3 changes: 3 additions & 0 deletions packages/web-api/src/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ import type {
AppsManifestUpdateResponse,
AppsManifestValidateResponse,
AppsUninstallResponse,
AssistantThreadsSetStatusResponse,
AssistantThreadsSetSuggestedPromptsResponse,
AssistantThreadsSetTitleResponse,
AuthRevokeResponse,
AuthTeamsListResponse,
AuthTestResponse,
Expand Down
8 changes: 4 additions & 4 deletions packages/web-api/src/types/request/assistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@ import type { TokenOverridable } from './common';

// https://api.slack.com/methods/assistant.threads.setStatus
export interface AssistantThreadsSetStatusArguments extends TokenOverridable {
status: string;
channel_id: string;
status: string;
thread_ts: string;
}

// https://api.slack.com/methods/assistant.threads.setSuggestedPrompts
export interface AssistantThreadsSetSuggestedPromptsArguments extends TokenOverridable {
channel_id: string;
thread_ts: string;
title: string;
prompts: {
title: string;
message: string;
}[];
thread_ts: string;
title?: string;
}

// https://api.slack.com/methods/assistant.threads.setTitle
export interface AssistantThreadsSetTitleArguments extends TokenOverridable {
title: string;
channel_id: string;
thread_ts: string;
title: string;
}
102 changes: 51 additions & 51 deletions packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable */
/////////////////////////////////////////////////////////////////////////////////////////
// //
// !!! DO NOT EDIT THIS FILE !!! //
Expand All @@ -8,80 +7,81 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import type { WebAPICallResult } from '../../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AdminAppsActivitiesListResponse = WebAPICallResult & {
activities?: Activity[];
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
activities?: Activity[];
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
response_metadata?: ResponseMetadata;
};

export interface Activity {
app_id?: string;
component_id?: string;
app_id?: string;
component_id?: string;
component_type?: string;
created?: number;
enterprise_id?: string;
event_type?: string;
level?: string;
payload?: Payload;
source?: string;
team_id?: string;
trace_id?: string;
created?: number;
enterprise_id?: string;
event_type?: string;
level?: string;
payload?: Payload;
source?: string;
team_id?: string;
trace_id?: string;
}

export interface Payload {
action?: string;
actor?: string;
billing_reason?: string[];
bot_user_id?: string;
bundle_size_kb?: number;
channel_id?: string;
current_step?: number;
datastore_name?: string;
details?: string;
error?: string;
exec_outcome?: string;
action?: string;
actor?: string;
billing_reason?: string[];
bot_user_id?: string;
bundle_size_kb?: number;
channel_id?: string;
current_step?: number;
datastore_name?: string;
details?: string;
error?: string;
exec_outcome?: string;
function_execution_id?: string;
function_id?: string;
function_name?: string;
function_type?: string;
inputs?: Inputs;
is_billing_excluded?: boolean;
log?: string;
request_type?: string;
team_id?: string;
total_steps?: number;
trigger?: Trigger;
type?: string;
user_id?: string;
workflow_name?: string;
function_id?: string;
function_name?: string;
function_type?: string;
inputs?: Inputs;
is_billing_excluded?: boolean;
log?: string;
request_type?: string;
team_id?: string;
total_steps?: number;
trigger?: Trigger;
type?: string;
user_id?: string;
workflow_name?: string;
}

export type Inputs = {};
export interface Inputs {
}

export interface Trigger {
config?: Config;
id?: string;
config?: Config;
id?: string;
trip_information?: TripInformation;
type?: string;
type?: string;
}

export interface Config {
description?: string;
event_type?: string;
name?: string;
schema?: Inputs;
event_type?: string;
name?: string;
schema?: Inputs;
}

export interface TripInformation {
channel_id?: string;
list_id?: string;
list_id?: string;
message_ts?: string;
reaction?: string;
user_id?: string;
reaction?: string;
user_id?: string;
}

export interface ResponseMetadata {
Expand Down
11 changes: 5 additions & 6 deletions packages/web-api/src/types/response/AdminAppsApproveResponse.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable */
/////////////////////////////////////////////////////////////////////////////////////////
// //
// !!! DO NOT EDIT THIS FILE !!! //
Expand All @@ -8,11 +7,11 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import type { WebAPICallResult } from '../../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AdminAppsApproveResponse = WebAPICallResult & {
error?: string;
needed?: string;
ok?: boolean;
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
warning?: string;
warning?: string;
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable */
/////////////////////////////////////////////////////////////////////////////////////////
// //
// !!! DO NOT EDIT THIS FILE !!! //
Expand All @@ -8,66 +7,67 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import type { WebAPICallResult } from '../../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AdminAppsApprovedListResponse = WebAPICallResult & {
approved_apps?: ApprovedApp[];
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
approved_apps?: ApprovedApp[];
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
response_metadata?: ResponseMetadata;
warning?: string;
warning?: string;
};

export interface ApprovedApp {
app?: App;
date_updated?: number;
app?: App;
date_updated?: number;
last_resolved_by?: LastResolvedBy;
scopes?: Scope[];
scopes?: Scope[];
}

export interface App {
additional_info?: string;
app_directory_url?: string;
app_homepage_url?: string;
description?: string;
help_url?: string;
icons?: Icons;
id?: string;
additional_info?: string;
app_directory_url?: string;
app_homepage_url?: string;
description?: string;
help_url?: string;
icons?: Icons;
id?: string;
is_app_directory_approved?: boolean;
is_internal?: boolean;
name?: string;
privacy_policy_url?: string;
is_granular_bot_app?: boolean;
is_internal?: boolean;
name?: string;
privacy_policy_url?: string;
}

export interface Icons {
image_1024?: string;
image_128?: string;
image_192?: string;
image_32?: string;
image_36?: string;
image_48?: string;
image_512?: string;
image_64?: string;
image_72?: string;
image_96?: string;
image_1024?: string;
image_128?: string;
image_192?: string;
image_32?: string;
image_36?: string;
image_48?: string;
image_512?: string;
image_64?: string;
image_72?: string;
image_96?: string;
image_original?: string;
}

export interface LastResolvedBy {
actor_id?: string;
actor_id?: string;
actor_type?: string;
}

export interface Scope {
description?: string;
description?: string;
is_sensitive?: boolean;
name?: string;
token_type?: string;
name?: string;
token_type?: string;
}

export interface ResponseMetadata {
messages?: string[];
messages?: string[];
next_cursor?: string;
warnings?: string[];
warnings?: string[];
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable */
/////////////////////////////////////////////////////////////////////////////////////////
// //
// !!! DO NOT EDIT THIS FILE !!! //
Expand All @@ -8,11 +7,11 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import type { WebAPICallResult } from '../../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AdminAppsClearResolutionResponse = WebAPICallResult & {
error?: string;
needed?: string;
ok?: boolean;
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
warning?: string;
warning?: string;
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable */
/////////////////////////////////////////////////////////////////////////////////////////
// //
// !!! DO NOT EDIT THIS FILE !!! //
Expand All @@ -8,25 +7,25 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import type { WebAPICallResult } from '../../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AdminAppsConfigLookupResponse = WebAPICallResult & {
configs?: Config[];
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
configs?: Config[];
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
response_metadata?: ResponseMetadata;
};

export interface Config {
app_id?: string;
domain_restrictions?: DomainRestrictions;
app_id?: string;
domain_restrictions?: DomainRestrictions;
workflow_auth_strategy?: string;
}

export interface DomainRestrictions {
emails?: string[];
urls?: string[];
urls?: string[];
}

export interface ResponseMetadata {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable */
/////////////////////////////////////////////////////////////////////////////////////////
// //
// !!! DO NOT EDIT THIS FILE !!! //
Expand All @@ -8,10 +7,10 @@
// //
/////////////////////////////////////////////////////////////////////////////////////////

import type { WebAPICallResult } from '../../WebClient';
import { WebAPICallResult } from '../../WebClient';
export type AdminAppsConfigSetResponse = WebAPICallResult & {
error?: string;
needed?: string;
ok?: boolean;
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
};
Loading

0 comments on commit cf02773

Please sign in to comment.