-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
245 changed files
with
11,396 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
|
||
npm-debug.log | ||
lerna-debug.log | ||
tmp/ |
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
packages/web-api/src/response/AdminAnalyticsGetFileResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminAnalyticsGetFileResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminAppsApproveResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
61 changes: 61 additions & 0 deletions
61
packages/web-api/src/response/AdminAppsApprovedListResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminAppsApprovedListResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
approved_apps?: ApprovedApp[]; | ||
response_metadata?: ResponseMetadata; | ||
needed?: string; | ||
provided?: string; | ||
}; | ||
|
||
export interface ApprovedApp { | ||
app?: App; | ||
scopes?: Scope[]; | ||
date_updated?: number; | ||
last_resolved_by?: LastResolvedBy; | ||
} | ||
|
||
export interface App { | ||
id?: string; | ||
name?: string; | ||
description?: string; | ||
help_url?: string; | ||
privacy_policy_url?: string; | ||
app_homepage_url?: string; | ||
app_directory_url?: string; | ||
is_app_directory_approved?: boolean; | ||
is_internal?: boolean; | ||
icons?: Icons; | ||
additional_info?: string; | ||
} | ||
|
||
export interface Icons { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
|
||
export interface LastResolvedBy { | ||
actor_id?: string; | ||
actor_type?: string; | ||
} | ||
|
||
export interface Scope { | ||
name?: string; | ||
description?: string; | ||
is_sensitive?: boolean; | ||
token_type?: string; | ||
} | ||
|
||
export interface ResponseMetadata { | ||
next_cursor?: string; | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/web-api/src/response/AdminAppsClearResolutionResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminAppsClearResolutionResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
68 changes: 68 additions & 0 deletions
68
packages/web-api/src/response/AdminAppsRequestsListResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminAppsRequestsListResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
app_requests?: AppRequest[]; | ||
response_metadata?: ResponseMetadata; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; | ||
|
||
export interface AppRequest { | ||
id?: string; | ||
app?: App; | ||
user?: User; | ||
team?: Team; | ||
previous_resolution?: PreviousResolution; | ||
message?: string; | ||
date_created?: number; | ||
} | ||
|
||
export interface App { | ||
id?: string; | ||
name?: string; | ||
description?: string; | ||
help_url?: string; | ||
privacy_policy_url?: string; | ||
app_homepage_url?: string; | ||
app_directory_url?: string; | ||
is_app_directory_approved?: boolean; | ||
is_internal?: boolean; | ||
additional_info?: string; | ||
icons?: Icons; | ||
} | ||
|
||
export interface Icons { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
|
||
export interface PreviousResolution { | ||
status?: string; | ||
} | ||
|
||
export interface Team { | ||
id?: string; | ||
name?: string; | ||
domain?: string; | ||
} | ||
|
||
export interface User { | ||
id?: string; | ||
name?: string; | ||
email?: string; | ||
} | ||
|
||
export interface ResponseMetadata { | ||
next_cursor?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminAppsRestrictResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
60 changes: 60 additions & 0 deletions
60
packages/web-api/src/response/AdminAppsRestrictedListResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminAppsRestrictedListResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
restricted_apps?: RestrictedApp[]; | ||
response_metadata?: ResponseMetadata; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; | ||
|
||
export interface ResponseMetadata { | ||
next_cursor?: string; | ||
} | ||
|
||
export interface RestrictedApp { | ||
app?: App; | ||
scopes?: Scope[]; | ||
date_updated?: number; | ||
last_resolved_by?: LastResolvedBy; | ||
} | ||
|
||
export interface App { | ||
id?: string; | ||
name?: string; | ||
description?: string; | ||
help_url?: string; | ||
privacy_policy_url?: string; | ||
app_homepage_url?: string; | ||
app_directory_url?: string; | ||
is_app_directory_approved?: boolean; | ||
is_internal?: boolean; | ||
icons?: Icons; | ||
additional_info?: string; | ||
} | ||
|
||
export interface Icons { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
} | ||
|
||
export interface LastResolvedBy { | ||
actor_id?: string; | ||
actor_type?: string; | ||
} | ||
|
||
export interface Scope { | ||
name?: string; | ||
description?: string; | ||
is_sensitive?: boolean; | ||
token_type?: string; | ||
} |
28 changes: 28 additions & 0 deletions
28
packages/web-api/src/response/AdminBarriersCreateResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminBarriersCreateResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
response_metadata?: ResponseMetadata; | ||
barrier?: Barrier; | ||
}; | ||
|
||
export interface Barrier { | ||
id?: string; | ||
enterprise_id?: string; | ||
primary_usergroup?: Usergroup; | ||
barriered_from_usergroups?: Usergroup[]; | ||
restricted_subjects?: string[]; | ||
date_update?: number; | ||
} | ||
|
||
export interface Usergroup { | ||
id?: string; | ||
name?: string; | ||
} | ||
|
||
export interface ResponseMetadata { | ||
messages?: string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminBarriersDeleteResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
23 changes: 23 additions & 0 deletions
23
packages/web-api/src/response/AdminBarriersListResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminBarriersListResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
barriers?: Barrier[]; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; | ||
|
||
export interface Barrier { | ||
id?: string; | ||
enterprise_id?: string; | ||
primary_usergroup?: Usergroup; | ||
barriered_from_usergroups?: Usergroup[]; | ||
restricted_subjects?: string[]; | ||
date_update?: number; | ||
} | ||
|
||
export interface Usergroup { | ||
id?: string; | ||
name?: string; | ||
} |
23 changes: 23 additions & 0 deletions
23
packages/web-api/src/response/AdminBarriersUpdateResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminBarriersUpdateResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
barrier?: Barrier; | ||
needed?: string; | ||
provided?: string; | ||
}; | ||
|
||
export interface Barrier { | ||
id?: string; | ||
enterprise_id?: string; | ||
primary_usergroup?: Usergroup; | ||
barriered_from_usergroups?: Usergroup[]; | ||
restricted_subjects?: string[]; | ||
date_update?: number; | ||
} | ||
|
||
export interface Usergroup { | ||
id?: string; | ||
name?: string; | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/web-api/src/response/AdminConversationsArchiveResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminConversationsArchiveResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
8 changes: 8 additions & 0 deletions
8
packages/web-api/src/response/AdminConversationsConvertToPrivateResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminConversationsConvertToPrivateResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
9 changes: 9 additions & 0 deletions
9
packages/web-api/src/response/AdminConversationsCreateResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminConversationsCreateResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
channel_id?: string; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
8 changes: 8 additions & 0 deletions
8
packages/web-api/src/response/AdminConversationsDeleteResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminConversationsDeleteResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
8 changes: 8 additions & 0 deletions
8
packages/web-api/src/response/AdminConversationsDisconnectSharedResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminConversationsDisconnectSharedResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
8 changes: 8 additions & 0 deletions
8
...ges/web-api/src/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminConversationsEkmListOriginalConnectedChannelInfoResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; |
19 changes: 19 additions & 0 deletions
19
packages/web-api/src/response/AdminConversationsGetConversationPrefsResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* tslint:disable */ | ||
import { WebAPICallResult } from '../WebClient'; | ||
export type AdminConversationsGetConversationPrefsResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
prefs?: Prefs; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
}; | ||
|
||
export interface Prefs { | ||
who_can_post?: CanThread; | ||
can_thread?: CanThread; | ||
} | ||
|
||
export interface CanThread { | ||
type?: string[]; | ||
user?: string[]; | ||
} |
Oops, something went wrong.