@@ -33,6 +33,7 @@ export type AdminCreateBotInput = {
3333 clientId : Scalars [ 'String' ] [ 'input' ]
3434 clientSecret : Scalars [ 'String' ] [ 'input' ]
3535 communityId : Scalars [ 'String' ] [ 'input' ]
36+ platform : BotPlatform
3637 token : Scalars [ 'String' ] [ 'input' ]
3738}
3839
@@ -241,6 +242,7 @@ export type Bot = {
241242 inviteUrl : Scalars [ 'String' ] [ 'output' ]
242243 name : Scalars [ 'String' ] [ 'output' ]
243244 permissions ?: Maybe < Array < BotRole > >
245+ platform : BotPlatform
244246 redirectUrl : Scalars [ 'String' ] [ 'output' ]
245247 redirectUrlSet ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] >
246248 started : Scalars [ 'Boolean' ] [ 'output' ]
@@ -256,6 +258,11 @@ export type BotPaging = {
256258 meta : PagingMeta
257259}
258260
261+ export enum BotPlatform {
262+ Discord = 'Discord' ,
263+ Telegram = 'Telegram' ,
264+ }
265+
259266export type BotRole = {
260267 __typename ?: 'BotRole'
261268 botId ?: Maybe < Scalars [ 'String' ] [ 'output' ] >
@@ -1395,6 +1402,7 @@ export type UserCreateBotInput = {
13951402 clientId : Scalars [ 'String' ] [ 'input' ]
13961403 clientSecret : Scalars [ 'String' ] [ 'input' ]
13971404 communityId : Scalars [ 'String' ] [ 'input' ]
1405+ platform : BotPlatform
13981406 token : Scalars [ 'String' ] [ 'input' ]
13991407}
14001408
@@ -1666,6 +1674,7 @@ export type BotDetailsFragment = {
16661674 id : string
16671675 inviteUrl : string
16681676 name : string
1677+ platform : BotPlatform
16691678 redirectUrl : string
16701679 redirectUrlSet ?: boolean | null
16711680 started : boolean
@@ -1756,6 +1765,7 @@ export type AdminFindManyBotQuery = {
17561765 id : string
17571766 inviteUrl : string
17581767 name : string
1768+ platform : BotPlatform
17591769 redirectUrl : string
17601770 redirectUrlSet ?: boolean | null
17611771 started : boolean
@@ -1792,6 +1802,7 @@ export type AdminFindOneBotQuery = {
17921802 id : string
17931803 inviteUrl : string
17941804 name : string
1805+ platform : BotPlatform
17951806 redirectUrl : string
17961807 redirectUrlSet ?: boolean | null
17971808 started : boolean
@@ -1817,6 +1828,7 @@ export type AdminCreateBotMutation = {
18171828 id : string
18181829 inviteUrl : string
18191830 name : string
1831+ platform : BotPlatform
18201832 redirectUrl : string
18211833 redirectUrlSet ?: boolean | null
18221834 started : boolean
@@ -1843,6 +1855,7 @@ export type AdminUpdateBotMutation = {
18431855 id : string
18441856 inviteUrl : string
18451857 name : string
1858+ platform : BotPlatform
18461859 redirectUrl : string
18471860 redirectUrlSet ?: boolean | null
18481861 started : boolean
@@ -1874,6 +1887,7 @@ export type UserFindOneBotQuery = {
18741887 id : string
18751888 inviteUrl : string
18761889 name : string
1890+ platform : BotPlatform
18771891 redirectUrl : string
18781892 redirectUrlSet ?: boolean | null
18791893 started : boolean
@@ -2052,6 +2066,7 @@ export type UserCreateBotMutation = {
20522066 id : string
20532067 inviteUrl : string
20542068 name : string
2069+ platform : BotPlatform
20552070 redirectUrl : string
20562071 redirectUrlSet ?: boolean | null
20572072 started : boolean
@@ -2078,6 +2093,7 @@ export type UserUpdateBotMutation = {
20782093 id : string
20792094 inviteUrl : string
20802095 name : string
2096+ platform : BotPlatform
20812097 redirectUrl : string
20822098 redirectUrlSet ?: boolean | null
20832099 started : boolean
@@ -4668,6 +4684,7 @@ export type LogDetailsFragment = {
46684684 id : string
46694685 inviteUrl : string
46704686 name : string
4687+ platform : BotPlatform
46714688 redirectUrl : string
46724689 redirectUrlSet ?: boolean | null
46734690 started : boolean
@@ -4865,6 +4882,7 @@ export type UserFindManyLogQuery = {
48654882 id : string
48664883 inviteUrl : string
48674884 name : string
4885+ platform : BotPlatform
48684886 redirectUrl : string
48694887 redirectUrlSet ?: boolean | null
48704888 started : boolean
@@ -5072,6 +5090,7 @@ export type UserFindOneLogQuery = {
50725090 id : string
50735091 inviteUrl : string
50745092 name : string
5093+ platform : BotPlatform
50755094 redirectUrl : string
50765095 redirectUrlSet ?: boolean | null
50775096 started : boolean
@@ -5270,6 +5289,7 @@ export type AdminFindManyLogQuery = {
52705289 id : string
52715290 inviteUrl : string
52725291 name : string
5292+ platform : BotPlatform
52735293 redirectUrl : string
52745294 redirectUrlSet ?: boolean | null
52755295 started : boolean
@@ -5477,6 +5497,7 @@ export type AdminFindOneLogQuery = {
54775497 id : string
54785498 inviteUrl : string
54795499 name : string
5500+ platform : BotPlatform
54805501 redirectUrl : string
54815502 redirectUrlSet ?: boolean | null
54825503 started : boolean
@@ -8657,6 +8678,7 @@ export const BotDetailsFragmentDoc = gql`
86578678 id
86588679 inviteUrl
86598680 name
8681+ platform
86608682 redirectUrl
86618683 redirectUrlSet
86628684 started
@@ -13156,6 +13178,8 @@ export const definedNonNullAnySchema = z.any().refine((v) => isDefinedNonNullAny
1315613178
1315713179export const AppFeatureSchema = z . nativeEnum ( AppFeature )
1315813180
13181+ export const BotPlatformSchema = z . nativeEnum ( BotPlatform )
13182+
1315913183export const BotStatusSchema = z . nativeEnum ( BotStatus )
1316013184
1316113185export const IdentityProviderSchema = z . nativeEnum ( IdentityProvider )
@@ -13188,6 +13212,7 @@ export function AdminCreateBotInputSchema(): z.ZodObject<Properties<AdminCreateB
1318813212 clientId : z . string ( ) ,
1318913213 clientSecret : z . string ( ) ,
1319013214 communityId : z . string ( ) ,
13215+ platform : BotPlatformSchema ,
1319113216 token : z . string ( ) ,
1319213217 } )
1319313218}
@@ -13449,6 +13474,7 @@ export function UserCreateBotInputSchema(): z.ZodObject<Properties<UserCreateBot
1344913474 clientId : z . string ( ) ,
1345013475 clientSecret : z . string ( ) ,
1345113476 communityId : z . string ( ) ,
13477+ platform : BotPlatformSchema ,
1345213478 token : z . string ( ) ,
1345313479 } )
1345413480}
0 commit comments