@messenger-box/platform-client 0.0.1-alpha.179 → 0.0.1-alpha.191

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -276,7 +276,7 @@ export type IChannelFilterInput = {
276
276
  export type IChannelMember = {
277
277
  __typename?: 'ChannelMember';
278
278
  id: Scalars['ID'];
279
- user: Scalars['String'];
279
+ user: IUserAccount;
280
280
  roles?: Maybe<Scalars['String']>;
281
281
  msgCount?: Maybe<Scalars['Int']>;
282
282
  mentionCount?: Maybe<Scalars['Int']>;
@@ -939,6 +939,9 @@ export type IICountry = {
939
939
  id: Scalars['ID'];
940
940
  name: Scalars['String'];
941
941
  phone_code: Scalars['String'];
942
+ currency?: Maybe<Scalars['String']>;
943
+ currency_symbol?: Maybe<Scalars['String']>;
944
+ emoji?: Maybe<Scalars['String']>;
942
945
  location?: Maybe<IGeoLocation>;
943
946
  createdAt: Scalars['Date'];
944
947
  updatedAt?: Maybe<Scalars['Date']>;
@@ -1054,9 +1057,9 @@ export type IInvoiceType = {
1054
1057
  currency?: Maybe<Scalars['String']>;
1055
1058
  discount?: Maybe<Scalars['Float']>;
1056
1059
  from?: Maybe<IMemberInvoice>;
1057
- invoiceDate?: Maybe<Scalars['String']>;
1060
+ invoiceDate?: Maybe<Scalars['DateTime']>;
1058
1061
  terms?: Maybe<Scalars['String']>;
1059
- dueDate?: Maybe<Scalars['String']>;
1062
+ dueDate?: Maybe<Scalars['DateTime']>;
1060
1063
  invoiceNumber?: Maybe<Scalars['String']>;
1061
1064
  orderNumber?: Maybe<Scalars['String']>;
1062
1065
  invoiceVendor?: Maybe<IMemberInvoice>;
@@ -1384,11 +1387,13 @@ export type IMutation = {
1384
1387
  removeTeamMember?: Maybe<Scalars['Boolean']>;
1385
1388
  resendOrganizationInvitation?: Maybe<Scalars['Boolean']>;
1386
1389
  resendUserEmailVerificationEmail?: Maybe<Scalars['Boolean']>;
1390
+ resetUserPassword?: Maybe<Scalars['Boolean']>;
1387
1391
  sendInvoiceMail?: Maybe<Scalars['Boolean']>;
1388
1392
  sendMessage?: Maybe<IPost>;
1389
1393
  sendNotificationOfUnreadMessages: Scalars['Boolean'];
1390
1394
  sendOrganizationInvitation?: Maybe<Scalars['Boolean']>;
1391
1395
  sendSms: Scalars['Boolean'];
1396
+ sendUserPasswordResetEmail?: Maybe<Scalars['Boolean']>;
1392
1397
  setSettingsValueByResource?: Maybe<Scalars['Boolean']>;
1393
1398
  /** Triggers onUserLoggedIn events */
1394
1399
  updateAuth0UserPassword?: Maybe<Scalars['Boolean']>;
@@ -1664,6 +1669,11 @@ export type IMutationresendOrganizationInvitationArgs = {
1664
1669
  };
1665
1670
 
1666
1671
 
1672
+ export type IMutationresetUserPasswordArgs = {
1673
+ input: IUserPasswordResetInput;
1674
+ };
1675
+
1676
+
1667
1677
  export type IMutationsendInvoiceMailArgs = {
1668
1678
  request: IInvoiceMailRequest;
1669
1679
  };
@@ -1691,6 +1701,11 @@ export type IMutationsendSmsArgs = {
1691
1701
  };
1692
1702
 
1693
1703
 
1704
+ export type IMutationsendUserPasswordResetEmailArgs = {
1705
+ userId: Scalars['String'];
1706
+ };
1707
+
1708
+
1694
1709
  export type IMutationsetSettingsValueByResourceArgs = {
1695
1710
  uri?: Maybe<Scalars['URI']>;
1696
1711
  key?: Maybe<Scalars['String']>;
@@ -2597,8 +2612,8 @@ export type IProjects = {
2597
2612
  /** Predefined Project template */
2598
2613
  templateId?: Maybe<Scalars['String']>;
2599
2614
  orgName?: Maybe<Scalars['String']>;
2600
- updatedAt?: Maybe<Scalars['String']>;
2601
- createdAt?: Maybe<Scalars['String']>;
2615
+ updatedAt?: Maybe<Scalars['DateTime']>;
2616
+ createdAt?: Maybe<Scalars['DateTime']>;
2602
2617
  };
2603
2618
 
2604
2619
  export type IProjectSource = {
@@ -2713,9 +2728,9 @@ export type IQuery = {
2713
2728
  getUserAccessRole?: Maybe<IResourceAccessRole>;
2714
2729
  getUserAccount?: Maybe<IUserAccount>;
2715
2730
  getUserAccountByAuth0Id?: Maybe<IUserAccount>;
2716
- getUserEmailVerificationTokenDetails?: Maybe<IUserEmailVerificationTokenDetails>;
2717
2731
  getUserOrganizations?: Maybe<Array<Maybe<IOrganization>>>;
2718
2732
  getUserOrganizationsWithRole?: Maybe<Array<Maybe<IOrganization>>>;
2733
+ getUserTokenDetails?: Maybe<IUserToken>;
2719
2734
  getUsers?: Maybe<Array<Maybe<IUserAccount>>>;
2720
2735
  /** Get the available roles and its descriptions */
2721
2736
  getViewerPermissions?: Maybe<IPermissionSubject>;
@@ -2751,6 +2766,15 @@ export type IQuerychannelsArgs = {
2751
2766
  };
2752
2767
 
2753
2768
 
2769
+ export type IQuerychannelsByUserArgs = {
2770
+ role?: Maybe<Scalars['String']>;
2771
+ criteria?: Maybe<Scalars['AnyObject']>;
2772
+ limit?: Maybe<Scalars['Int']>;
2773
+ skip?: Maybe<Scalars['Int']>;
2774
+ sort?: Maybe<ISort>;
2775
+ };
2776
+
2777
+
2754
2778
  export type IQuerycurrentUserArgs = {
2755
2779
  auth0Id: Scalars['String'];
2756
2780
  };
@@ -2930,6 +2954,12 @@ export type IQuerygetUserOrganizationsWithRoleArgs = {
2930
2954
  };
2931
2955
 
2932
2956
 
2957
+ export type IQuerygetUserTokenDetailsArgs = {
2958
+ userId?: Maybe<Scalars['String']>;
2959
+ type?: Maybe<ITokenTypesEnum>;
2960
+ };
2961
+
2962
+
2933
2963
  export type IQuerygetUsersArgs = {
2934
2964
  where?: Maybe<IUserAccountWhere>;
2935
2965
  };
@@ -3306,6 +3336,32 @@ export type ITerritorialStateUpdateInput = {
3306
3336
  };
3307
3337
 
3308
3338
 
3339
+ /**
3340
+ * The User Account.
3341
+ *
3342
+ * @property
3343
+ * id: User ID
3344
+ * @property
3345
+ * email: The user email
3346
+ * @property
3347
+ * emailVerified: ture if email is verified, otherwise false
3348
+ * @property
3349
+ * featureFlags: Any super power given to the user via a super user
3350
+ * @property
3351
+ * identities: An array of objects with information about the user's identities.
3352
+ * More than one will exists in case accounts are linked.
3353
+ * @property
3354
+ * inactive: true if the user is not currently being billed for service.
3355
+ * @property
3356
+ * isBillingLeader: true if user is BillingLeader
3357
+ * @property
3358
+ * userOgs: the orgs and roles for this user on each.
3359
+ */
3360
+ export enum ITokenTypesEnum {
3361
+ EMAIL_VERIFICATION = 'EMAIL_VERIFICATION',
3362
+ PASSWORD_RESET = 'PASSWORD_RESET'
3363
+ }
3364
+
3309
3365
  export type IUpdatedClient_Input = {
3310
3366
  name?: Maybe<IName_Input>;
3311
3367
  companyName?: Maybe<Scalars['String']>;
@@ -3352,7 +3408,7 @@ export type IUserAccount = INode & {
3352
3408
  givenName?: Maybe<Scalars['String']>;
3353
3409
  picture?: Maybe<Scalars['String']>;
3354
3410
  phoneNumber?: Maybe<Array<IPhoneNumber>>;
3355
- tokens?: Maybe<Array<Maybe<IUserVerificationToken>>>;
3411
+ tokens?: Maybe<Array<Maybe<IUserToken>>>;
3356
3412
  };
3357
3413
 
3358
3414
  export type IUserAccount_Input = {
@@ -3360,7 +3416,7 @@ export type IUserAccount_Input = {
3360
3416
  email?: Maybe<Scalars['String']>;
3361
3417
  alias?: Maybe<Array<Maybe<Scalars['String']>>>;
3362
3418
  username?: Maybe<Scalars['String']>;
3363
- tokens?: Maybe<Array<Maybe<IUserVerificationTokenInput>>>;
3419
+ tokens?: Maybe<Array<Maybe<IUserTokenInput>>>;
3364
3420
  };
3365
3421
 
3366
3422
  export type IUserAccountCreatedDetailedEvent = {
@@ -3393,7 +3449,7 @@ export type IUserAccountCreateRequest = {
3393
3449
  country?: Maybe<Scalars['String']>;
3394
3450
  companyName?: Maybe<Scalars['String']>;
3395
3451
  phoneNumber?: Maybe<Scalars['String']>;
3396
- tokens?: Maybe<Array<Maybe<IUserVerificationTokenInput>>>;
3452
+ tokens?: Maybe<Array<Maybe<IUserTokenInput>>>;
3397
3453
  };
3398
3454
 
3399
3455
  export type IUserAccountRemovedEvent = {
@@ -3452,15 +3508,6 @@ export type IUserDevice = {
3452
3508
  lastLoginIp?: Maybe<Scalars['String']>;
3453
3509
  };
3454
3510
 
3455
- export type IUserEmailVerificationTokenDetails = {
3456
- __typename?: 'UserEmailVerificationTokenDetails';
3457
- key?: Maybe<Scalars['String']>;
3458
- value?: Maybe<Scalars['String']>;
3459
- token?: Maybe<Scalars['String']>;
3460
- verified?: Maybe<Scalars['Boolean']>;
3461
- isValid?: Maybe<Scalars['Boolean']>;
3462
- };
3463
-
3464
3511
  export type IUserMetadata = IIUserMetadata & {
3465
3512
  __typename?: 'UserMetadata';
3466
3513
  last_name?: Maybe<Scalars['String']>;
@@ -3501,6 +3548,12 @@ export type IUserOrg_Input = {
3501
3548
  inactive?: Maybe<Scalars['Boolean']>;
3502
3549
  };
3503
3550
 
3551
+ export type IUserPasswordResetInput = {
3552
+ userId: Scalars['String'];
3553
+ password: Scalars['String'];
3554
+ token: Scalars['String'];
3555
+ };
3556
+
3504
3557
  export type IUserPreviousValues = {
3505
3558
  __typename?: 'UserPreviousValues';
3506
3559
  auth0UserId?: Maybe<Scalars['String']>;
@@ -3570,39 +3623,19 @@ export type IUserSettings = IISettingsSubject & {
3570
3623
  settingsCascade: ISettingsCascade;
3571
3624
  };
3572
3625
 
3573
- /**
3574
- * The User Account.
3575
- *
3576
- * @property
3577
- * id: User ID
3578
- * @property
3579
- * email: The user email
3580
- * @property
3581
- * emailVerified: ture if email is verified, otherwise false
3582
- * @property
3583
- * featureFlags: Any super power given to the user via a super user
3584
- * @property
3585
- * identities: An array of objects with information about the user's identities.
3586
- * More than one will exists in case accounts are linked.
3587
- * @property
3588
- * inactive: true if the user is not currently being billed for service.
3589
- * @property
3590
- * isBillingLeader: true if user is BillingLeader
3591
- * @property
3592
- * userOgs: the orgs and roles for this user on each.
3593
- */
3594
- export type IUserVerificationToken = {
3595
- __typename?: 'UserVerificationToken';
3596
- key?: Maybe<Scalars['String']>;
3597
- value?: Maybe<Scalars['String']>;
3598
- token?: Maybe<Scalars['String']>;
3599
- verified?: Maybe<Scalars['Boolean']>;
3626
+ export type IUserToken = {
3627
+ __typename?: 'UserToken';
3628
+ type: ITokenTypesEnum;
3629
+ token: Scalars['String'];
3630
+ refreshedCount: Scalars['Int'];
3631
+ usedCount: Scalars['Int'];
3632
+ valid?: Maybe<Scalars['Boolean']>;
3600
3633
  };
3601
3634
 
3602
- export type IUserVerificationTokenInput = {
3603
- key?: Maybe<Scalars['String']>;
3604
- value?: Maybe<Scalars['String']>;
3605
- token?: Maybe<Scalars['String']>;
3635
+ export type IUserTokenInput = {
3636
+ type?: Maybe<ITokenTypesEnum>;
3637
+ token: Scalars['String'];
3638
+ valid?: Maybe<Scalars['Boolean']>;
3606
3639
  };
3607
3640
 
3608
3641
  export type IViewerPoliciesInput = {
@@ -3771,15 +3804,22 @@ export type IFileInfoFragment = (
3771
3804
  & Pick<IFileInfo, 'id' | 'name' | 'extension' | 'mimeType' | 'width' | 'height' | 'url' | 'ref' | 'size' | 'refType'>
3772
3805
  );
3773
3806
 
3774
- export type IPostPropsFragment = (
3807
+ export type IMessengerUserFragment = (
3808
+ { __typename?: 'UserAccount' }
3809
+ & Pick<IUserAccount, 'id' | 'givenName' | 'familyName' | 'email' | 'username' | 'picture' | 'alias'>
3810
+ );
3811
+
3812
+ export type IMinimalUserFragment = (
3813
+ { __typename?: 'UserAccount' }
3814
+ & Pick<IUserAccount, 'id' | 'username' | 'familyName' | 'givenName' | 'picture' | 'alias' | 'email'>
3815
+ );
3816
+
3817
+ export type IPostFragment = (
3775
3818
  { __typename?: 'Post' }
3776
- & Pick<IPost, 'id' | 'message' | 'createdAt' | 'updatedAt' | 'isPinned' | 'center' | 'compactDisplay' | 'isFirstReply' | 'shouldHighlight' | 'consecutivePostByUser' | 'previousPostIsComment' | 'isCommentMention' | 'hasReplies' | 'isLastPost' | 'channelArchived' | 'isFlagged' | 'isCollapsedThreadsEnabled'>
3819
+ & Pick<IPost, 'id' | 'isPinned' | 'message' | 'type' | 'isDelivered' | 'isRead' | 'createdAt' | 'fromServer' | 'updatedAt' | 'props'>
3777
3820
  & { author?: Maybe<(
3778
3821
  { __typename?: 'UserAccount' }
3779
- & Pick<IUserAccount, 'id' | 'username' | 'familyName' | 'givenName'>
3780
- )>, editedBy?: Maybe<(
3781
- { __typename?: 'UserAccount' }
3782
- & Pick<IUserAccount, 'alias'>
3822
+ & IMessengerUserFragment
3783
3823
  )>, propsConfiguration?: Maybe<(
3784
3824
  { __typename?: 'MachineConfiguration' }
3785
3825
  & IConfiguration_MachineConfiguration_Fragment
@@ -3793,6 +3833,11 @@ export type IPostPropsFragment = (
3793
3833
  ) }
3794
3834
  );
3795
3835
 
3836
+ export type IUserFragment = (
3837
+ { __typename?: 'UserAccount' }
3838
+ & Pick<IUserAccount, 'id' | 'email' | 'emailVerified' | 'notificationEmail' | 'username' | 'familyName' | 'givenName' | 'picture' | 'alias'>
3839
+ );
3840
+
3796
3841
  export type IAddChannelMutationVariables = Exact<{
3797
3842
  name: Scalars['String'];
3798
3843
  description: Scalars['String'];
@@ -3820,7 +3865,11 @@ export type IAddDirectChannelMutation = (
3820
3865
  & Pick<IChannel, 'id' | 'displayName' | 'title' | 'type'>
3821
3866
  & { members?: Maybe<Array<Maybe<(
3822
3867
  { __typename?: 'ChannelMember' }
3823
- & Pick<IChannelMember, 'user'>
3868
+ & Pick<IChannelMember, 'id'>
3869
+ & { user: (
3870
+ { __typename?: 'UserAccount' }
3871
+ & IMinimalUserFragment
3872
+ ) }
3824
3873
  )>>> }
3825
3874
  )> }
3826
3875
  );
@@ -3838,7 +3887,11 @@ export type IAddMemberToChannelMutation = (
3838
3887
  & Pick<IChannel, 'id' | 'displayName' | 'title' | 'type'>
3839
3888
  & { members?: Maybe<Array<Maybe<(
3840
3889
  { __typename?: 'ChannelMember' }
3841
- & Pick<IChannelMember, 'user'>
3890
+ & Pick<IChannelMember, 'id'>
3891
+ & { user: (
3892
+ { __typename?: 'UserAccount' }
3893
+ & IMinimalUserFragment
3894
+ ) }
3842
3895
  )>>> }
3843
3896
  )> }
3844
3897
  );
@@ -3864,7 +3917,7 @@ export type ISendMessagesMutation = (
3864
3917
  { __typename?: 'Mutation' }
3865
3918
  & { sendMessage?: Maybe<(
3866
3919
  { __typename?: 'Post' }
3867
- & IPostPropsFragment
3920
+ & IPostFragment
3868
3921
  )> }
3869
3922
  );
3870
3923
 
@@ -3955,36 +4008,82 @@ export type IDeleteMessageFileMutation = (
3955
4008
  & Pick<IMutation, 'deleteMessageFile'>
3956
4009
  );
3957
4010
 
3958
- export type IGetChannelsByUserQueryVariables = Exact<{ [key: string]: never; }>;
4011
+ export type IGetAllChannelQueryVariables = Exact<{ [key: string]: never; }>;
3959
4012
 
3960
4013
 
3961
- export type IGetChannelsByUserQuery = (
4014
+ export type IGetAllChannelQuery = (
3962
4015
  { __typename?: 'Query' }
3963
- & { channelsByUser?: Maybe<Array<Maybe<(
4016
+ & { channels?: Maybe<Array<Maybe<(
3964
4017
  { __typename?: 'Channel' }
3965
4018
  & Pick<IChannel, 'id' | 'title' | 'description' | 'type' | 'displayName'>
3966
4019
  & { members?: Maybe<Array<Maybe<(
3967
4020
  { __typename?: 'ChannelMember' }
3968
- & Pick<IChannelMember, 'id' | 'user'>
4021
+ & Pick<IChannelMember, 'id'>
4022
+ & { user: (
4023
+ { __typename?: 'UserAccount' }
4024
+ & IMinimalUserFragment
4025
+ ) }
3969
4026
  )>>> }
3970
4027
  )>>> }
3971
4028
  );
3972
4029
 
3973
- export type IGetAllChannelQueryVariables = Exact<{ [key: string]: never; }>;
4030
+ export type IGetChannelsByUserQueryVariables = Exact<{
4031
+ role?: Maybe<Scalars['String']>;
4032
+ criteria?: Maybe<Scalars['AnyObject']>;
4033
+ limit?: Maybe<Scalars['Int']>;
4034
+ skip?: Maybe<Scalars['Int']>;
4035
+ sort?: Maybe<ISort>;
4036
+ }>;
3974
4037
 
3975
4038
 
3976
- export type IGetAllChannelQuery = (
4039
+ export type IGetChannelsByUserQuery = (
3977
4040
  { __typename?: 'Query' }
3978
- & { channels?: Maybe<Array<Maybe<(
4041
+ & { channelsByUser?: Maybe<Array<Maybe<(
3979
4042
  { __typename?: 'Channel' }
3980
4043
  & Pick<IChannel, 'id' | 'title' | 'description' | 'type' | 'displayName'>
3981
4044
  & { members?: Maybe<Array<Maybe<(
3982
4045
  { __typename?: 'ChannelMember' }
3983
- & Pick<IChannelMember, 'id' | 'user'>
4046
+ & Pick<IChannelMember, 'id'>
4047
+ & { user: (
4048
+ { __typename?: 'UserAccount' }
4049
+ & IMessengerUserFragment
4050
+ ) }
3984
4051
  )>>> }
3985
4052
  )>>> }
3986
4053
  );
3987
4054
 
4055
+ export type ICheckForNewMessagesQueryVariables = Exact<{
4056
+ channelId?: Maybe<Scalars['ID']>;
4057
+ }>;
4058
+
4059
+
4060
+ export type ICheckForNewMessagesQuery = (
4061
+ { __typename?: 'Query' }
4062
+ & { messages: (
4063
+ { __typename?: 'Messages' }
4064
+ & Pick<IMessages, 'totalCount'>
4065
+ ) }
4066
+ );
4067
+
4068
+ export type IMessagesQueryVariables = Exact<{
4069
+ channelId?: Maybe<Scalars['ID']>;
4070
+ limit?: Scalars['Int'];
4071
+ skip?: Scalars['Int'];
4072
+ }>;
4073
+
4074
+
4075
+ export type IMessagesQuery = (
4076
+ { __typename?: 'Query' }
4077
+ & { messages: (
4078
+ { __typename?: 'Messages' }
4079
+ & Pick<IMessages, 'totalCount'>
4080
+ & { data?: Maybe<Array<Maybe<(
4081
+ { __typename?: 'Post' }
4082
+ & IPostFragment
4083
+ )>>> }
4084
+ ) }
4085
+ );
4086
+
3988
4087
  export type IGetMessagesQueryVariables = Exact<{
3989
4088
  channelId?: Maybe<Scalars['ID']>;
3990
4089
  limit?: Scalars['Int'];
@@ -3999,11 +4098,24 @@ export type IGetMessagesQuery = (
3999
4098
  & Pick<IMessages, 'totalCount'>
4000
4099
  & { data?: Maybe<Array<Maybe<(
4001
4100
  { __typename?: 'Post' }
4002
- & IPostPropsFragment
4101
+ & IPostFragment
4003
4102
  )>>> }
4004
4103
  ) }
4005
4104
  );
4006
4105
 
4106
+ export type IUserAccountQueryVariables = Exact<{
4107
+ userId: Scalars['String'];
4108
+ }>;
4109
+
4110
+
4111
+ export type IUserAccountQuery = (
4112
+ { __typename?: 'Query' }
4113
+ & { getUserAccount?: Maybe<(
4114
+ { __typename?: 'UserAccount' }
4115
+ & IMessengerUserFragment
4116
+ )> }
4117
+ );
4118
+
4007
4119
  export type IGetAllUsersQueryVariables = Exact<{ [key: string]: never; }>;
4008
4120
 
4009
4121
 
@@ -4011,7 +4123,7 @@ export type IGetAllUsersQuery = (
4011
4123
  { __typename?: 'Query' }
4012
4124
  & { getUsers?: Maybe<Array<Maybe<(
4013
4125
  { __typename?: 'UserAccount' }
4014
- & Pick<IUserAccount, 'id' | 'username' | 'email' | 'alias' | 'familyName' | 'givenName'>
4126
+ & IMinimalUserFragment
4015
4127
  )>>> }
4016
4128
  );
4017
4129
 
@@ -4024,7 +4136,7 @@ export type IGetUserByIdQuery = (
4024
4136
  { __typename?: 'Query' }
4025
4137
  & { getUserAccount?: Maybe<(
4026
4138
  { __typename?: 'UserAccount' }
4027
- & Pick<IUserAccount, 'username' | 'familyName' | 'givenName'>
4139
+ & IMinimalUserFragment
4028
4140
  )> }
4029
4141
  );
4030
4142
 
@@ -4037,7 +4149,7 @@ export type IUsersToChatQuery = (
4037
4149
  { __typename?: 'Query' }
4038
4150
  & { usersToChat?: Maybe<Array<Maybe<(
4039
4151
  { __typename?: 'UserAccount' }
4040
- & Pick<IUserAccount, 'id' | 'username' | 'familyName' | 'givenName' | 'email' | 'alias'>
4152
+ & IMinimalUserFragment
4041
4153
  )>>> }
4042
4154
  );
4043
4155
 
@@ -4050,7 +4162,7 @@ export type ICurrentUserQuery = (
4050
4162
  { __typename?: 'Query' }
4051
4163
  & { currentUser?: Maybe<(
4052
4164
  { __typename?: 'UserAccount' }
4053
- & Pick<IUserAccount, 'id' | 'familyName' | 'givenName' | 'username' | 'email' | 'alias'>
4165
+ & IMinimalUserFragment
4054
4166
  )> }
4055
4167
  );
4056
4168
 
@@ -4061,7 +4173,7 @@ export type IonChatMessageAddedSubscription = (
4061
4173
  { __typename?: 'Subscription' }
4062
4174
  & { chatMessageAdded?: Maybe<(
4063
4175
  { __typename?: 'Post' }
4064
- & IPostPropsFragment
4176
+ & IPostFragment
4065
4177
  )> }
4066
4178
  );
4067
4179
 
@@ -4163,12 +4275,15 @@ export type IResolversTypes = {
4163
4275
  Node: IResolversTypes['UserAccount'] | IResolversTypes['OrgUserAccunt'];
4164
4276
  Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
4165
4277
  PhoneNumber: ResolverTypeWrapper<IPhoneNumber>;
4166
- UserVerificationToken: ResolverTypeWrapper<IUserVerificationToken>;
4278
+ UserToken: ResolverTypeWrapper<IUserToken>;
4279
+ TokenTypesEnum: ITokenTypesEnum;
4167
4280
  ChannelMember: ResolverTypeWrapper<IChannelMember>;
4168
4281
  AnyObject: ResolverTypeWrapper<Scalars['AnyObject']>;
4169
4282
  ChannelFilterInput: IChannelFilterInput;
4170
4283
  ChannelPrivacy: IChannelPrivacy;
4171
4284
  ChannelSort: IChannelSort;
4285
+ Sort: ISort;
4286
+ SortEnum: ISortEnum;
4172
4287
  OrganizationInvitationDecode: ResolverTypeWrapper<IOrganizationInvitationDecode>;
4173
4288
  SettingsGroup: ResolverTypeWrapper<ISettingsGroup>;
4174
4289
  Range: ResolverTypeWrapper<IRange>;
@@ -4222,8 +4337,6 @@ export type IResolversTypes = {
4222
4337
  UserDevice: ResolverTypeWrapper<IUserDevice>;
4223
4338
  FileInfo: ResolverTypeWrapper<IFileInfo>;
4224
4339
  FileRefType: IFileRefType;
4225
- Sort: ISort;
4226
- SortEnum: ISortEnum;
4227
4340
  FilesInfo: ResolverTypeWrapper<IFilesInfo>;
4228
4341
  IntegrationConfigurationFilterInput: IIntegrationConfigurationFilterInput;
4229
4342
  IntegrationConfiguration: ResolverTypeWrapper<IIntegrationConfiguration>;
@@ -4299,7 +4412,6 @@ export type IResolversTypes = {
4299
4412
  ResourceAccessRole: ResolverTypeWrapper<Omit<IResourceAccessRole, 'accessRoles'> & { accessRoles?: Maybe<Array<Maybe<IResolversTypes['AccessRole']>>> }>;
4300
4413
  ResourceUser: ResolverTypeWrapper<IResourceUser>;
4301
4414
  IResourceUserRole: IResolversTypes['ResourceUser'];
4302
- UserEmailVerificationTokenDetails: ResolverTypeWrapper<IUserEmailVerificationTokenDetails>;
4303
4415
  PermissionSubject: ResolverTypeWrapper<IPermissionSubject>;
4304
4416
  ViewerPoliciesInput: IViewerPoliciesInput;
4305
4417
  PolicySubject: ResolverTypeWrapper<IPolicySubject>;
@@ -4336,6 +4448,7 @@ export type IResolversTypes = {
4336
4448
  UserAuth0UpdateFields: IUserAuth0UpdateFields;
4337
4449
  PhoneNumberInput: IPhoneNumberInput;
4338
4450
  OrganizationRemoveRequest: IOrganizationRemoveRequest;
4451
+ UserPasswordResetInput: IUserPasswordResetInput;
4339
4452
  InvoiceMailRequest: IInvoiceMailRequest;
4340
4453
  Template: ITemplate;
4341
4454
  OrganizationInvitationRequest: IOrganizationInvitationRequest;
@@ -4425,7 +4538,7 @@ export type IResolversTypes = {
4425
4538
  Time: ResolverTypeWrapper<Scalars['Time']>;
4426
4539
  Upload: ResolverTypeWrapper<Scalars['Upload']>;
4427
4540
  UserAccountCreateRequest: IUserAccountCreateRequest;
4428
- UserVerificationTokenInput: IUserVerificationTokenInput;
4541
+ UserTokenInput: IUserTokenInput;
4429
4542
  UserAccountCreatedDetailedEvent: ResolverTypeWrapper<IUserAccountCreatedDetailedEvent>;
4430
4543
  UserAccountCreatedEvent: ResolverTypeWrapper<IUserAccountCreatedEvent>;
4431
4544
  UserAccountRemoveRequest: IUserAccountRemoveRequest;
@@ -4454,10 +4567,11 @@ export type IResolversParentTypes = {
4454
4567
  Node: IResolversParentTypes['UserAccount'] | IResolversParentTypes['OrgUserAccunt'];
4455
4568
  Boolean: Scalars['Boolean'];
4456
4569
  PhoneNumber: IPhoneNumber;
4457
- UserVerificationToken: IUserVerificationToken;
4570
+ UserToken: IUserToken;
4458
4571
  ChannelMember: IChannelMember;
4459
4572
  AnyObject: Scalars['AnyObject'];
4460
4573
  ChannelFilterInput: IChannelFilterInput;
4574
+ Sort: ISort;
4461
4575
  OrganizationInvitationDecode: IOrganizationInvitationDecode;
4462
4576
  SettingsGroup: ISettingsGroup;
4463
4577
  Range: IRange;
@@ -4505,7 +4619,6 @@ export type IResolversParentTypes = {
4505
4619
  UserMetadata: IUserMetadata;
4506
4620
  UserDevice: IUserDevice;
4507
4621
  FileInfo: IFileInfo;
4508
- Sort: ISort;
4509
4622
  FilesInfo: IFilesInfo;
4510
4623
  IntegrationConfigurationFilterInput: IIntegrationConfigurationFilterInput;
4511
4624
  IntegrationConfiguration: IIntegrationConfiguration;
@@ -4577,7 +4690,6 @@ export type IResolversParentTypes = {
4577
4690
  ResourceAccessRole: Omit<IResourceAccessRole, 'accessRoles'> & { accessRoles?: Maybe<Array<Maybe<IResolversParentTypes['AccessRole']>>> };
4578
4691
  ResourceUser: IResourceUser;
4579
4692
  IResourceUserRole: IResolversParentTypes['ResourceUser'];
4580
- UserEmailVerificationTokenDetails: IUserEmailVerificationTokenDetails;
4581
4693
  PermissionSubject: IPermissionSubject;
4582
4694
  ViewerPoliciesInput: IViewerPoliciesInput;
4583
4695
  PolicySubject: IPolicySubject;
@@ -4614,6 +4726,7 @@ export type IResolversParentTypes = {
4614
4726
  UserAuth0UpdateFields: IUserAuth0UpdateFields;
4615
4727
  PhoneNumberInput: IPhoneNumberInput;
4616
4728
  OrganizationRemoveRequest: IOrganizationRemoveRequest;
4729
+ UserPasswordResetInput: IUserPasswordResetInput;
4617
4730
  InvoiceMailRequest: IInvoiceMailRequest;
4618
4731
  Template: ITemplate;
4619
4732
  OrganizationInvitationRequest: IOrganizationInvitationRequest;
@@ -4677,7 +4790,7 @@ export type IResolversParentTypes = {
4677
4790
  Time: Scalars['Time'];
4678
4791
  Upload: Scalars['Upload'];
4679
4792
  UserAccountCreateRequest: IUserAccountCreateRequest;
4680
- UserVerificationTokenInput: IUserVerificationTokenInput;
4793
+ UserTokenInput: IUserTokenInput;
4681
4794
  UserAccountCreatedDetailedEvent: IUserAccountCreatedDetailedEvent;
4682
4795
  UserAccountCreatedEvent: IUserAccountCreatedEvent;
4683
4796
  UserAccountRemoveRequest: IUserAccountRemoveRequest;
@@ -4854,7 +4967,7 @@ export type IChannelResolvers<ContextType = any, ParentType extends IResolversPa
4854
4967
 
4855
4968
  export type IChannelMemberResolvers<ContextType = any, ParentType extends IResolversParentTypes['ChannelMember'] = IResolversParentTypes['ChannelMember']> = {
4856
4969
  id?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
4857
- user?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
4970
+ user?: Resolver<IResolversTypes['UserAccount'], ParentType, ContextType>;
4858
4971
  roles?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
4859
4972
  msgCount?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
4860
4973
  mentionCount?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
@@ -5244,6 +5357,9 @@ export type IICountryResolvers<ContextType = any, ParentType extends IResolversP
5244
5357
  id?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
5245
5358
  name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
5246
5359
  phone_code?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
5360
+ currency?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5361
+ currency_symbol?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5362
+ emoji?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5247
5363
  location?: Resolver<Maybe<IResolversTypes['GeoLocation']>, ParentType, ContextType>;
5248
5364
  createdAt?: Resolver<IResolversTypes['Date'], ParentType, ContextType>;
5249
5365
  updatedAt?: Resolver<Maybe<IResolversTypes['Date']>, ParentType, ContextType>;
@@ -5286,9 +5402,9 @@ export type IInvoiceTypeResolvers<ContextType = any, ParentType extends IResolve
5286
5402
  currency?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5287
5403
  discount?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
5288
5404
  from?: Resolver<Maybe<IResolversTypes['MemberInvoice']>, ParentType, ContextType>;
5289
- invoiceDate?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5405
+ invoiceDate?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
5290
5406
  terms?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5291
- dueDate?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5407
+ dueDate?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
5292
5408
  invoiceNumber?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5293
5409
  orderNumber?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5294
5410
  invoiceVendor?: Resolver<Maybe<IResolversTypes['MemberInvoice']>, ParentType, ContextType>;
@@ -5493,11 +5609,13 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
5493
5609
  removeTeamMember?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationremoveTeamMemberArgs, 'orgName' | 'teamName' | 'memberId'>>;
5494
5610
  resendOrganizationInvitation?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationresendOrganizationInvitationArgs, 'id'>>;
5495
5611
  resendUserEmailVerificationEmail?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
5612
+ resetUserPassword?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationresetUserPasswordArgs, 'input'>>;
5496
5613
  sendInvoiceMail?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationsendInvoiceMailArgs, 'request'>>;
5497
5614
  sendMessage?: Resolver<Maybe<IResolversTypes['Post']>, ParentType, ContextType, RequireFields<IMutationsendMessageArgs, 'channelId' | 'messageInput'>>;
5498
5615
  sendNotificationOfUnreadMessages?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationsendNotificationOfUnreadMessagesArgs, 'unit' | 'value'>>;
5499
5616
  sendOrganizationInvitation?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationsendOrganizationInvitationArgs, never>>;
5500
5617
  sendSms?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationsendSmsArgs, never>>;
5618
+ sendUserPasswordResetEmail?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationsendUserPasswordResetEmailArgs, 'userId'>>;
5501
5619
  setSettingsValueByResource?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationsetSettingsValueByResourceArgs, never>>;
5502
5620
  updateAuth0UserPassword?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationupdateAuth0UserPasswordArgs, never>>;
5503
5621
  updateConfigurationPolicyValue?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationupdateConfigurationPolicyValueArgs, 'key' | 'value'>>;
@@ -5956,8 +6074,8 @@ export type IProjectsResolvers<ContextType = any, ParentType extends IResolversP
5956
6074
  integrationConfigurationId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5957
6075
  templateId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5958
6076
  orgName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5959
- updatedAt?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5960
- createdAt?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6077
+ updatedAt?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
6078
+ createdAt?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
5961
6079
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
5962
6080
  };
5963
6081
 
@@ -5973,7 +6091,7 @@ export type IProjectSourceResolvers<ContextType = any, ParentType extends IResol
5973
6091
  export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
5974
6092
  channelByName?: Resolver<Maybe<IResolversTypes['Channel']>, ParentType, ContextType, RequireFields<IQuerychannelByNameArgs, 'name'>>;
5975
6093
  channels?: Resolver<Maybe<Array<Maybe<IResolversTypes['Channel']>>>, ParentType, ContextType, RequireFields<IQuerychannelsArgs, 'filter'>>;
5976
- channelsByUser?: Resolver<Maybe<Array<Maybe<IResolversTypes['Channel']>>>, ParentType, ContextType>;
6094
+ channelsByUser?: Resolver<Maybe<Array<Maybe<IResolversTypes['Channel']>>>, ParentType, ContextType, RequireFields<IQuerychannelsByUserArgs, never>>;
5977
6095
  currentUser?: Resolver<Maybe<IResolversTypes['UserAccount']>, ParentType, ContextType, RequireFields<IQuerycurrentUserArgs, 'auth0Id'>>;
5978
6096
  decodeOrganizationInvitation?: Resolver<Maybe<IResolversTypes['OrganizationInvitationDecode']>, ParentType, ContextType, RequireFields<IQuerydecodeOrganizationInvitationArgs, 'token'>>;
5979
6097
  defaultPermissions?: Resolver<Maybe<Array<Maybe<IResolversTypes['SettingsGroup']>>>, ParentType, ContextType, RequireFields<IQuerydefaultPermissionsArgs, never>>;
@@ -6023,9 +6141,9 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
6023
6141
  getUserAccessRole?: Resolver<Maybe<IResolversTypes['ResourceAccessRole']>, ParentType, ContextType, RequireFields<IQuerygetUserAccessRoleArgs, never>>;
6024
6142
  getUserAccount?: Resolver<Maybe<IResolversTypes['UserAccount']>, ParentType, ContextType, RequireFields<IQuerygetUserAccountArgs, 'userId'>>;
6025
6143
  getUserAccountByAuth0Id?: Resolver<Maybe<IResolversTypes['UserAccount']>, ParentType, ContextType, RequireFields<IQuerygetUserAccountByAuth0IdArgs, 'userAuth0Id'>>;
6026
- getUserEmailVerificationTokenDetails?: Resolver<Maybe<IResolversTypes['UserEmailVerificationTokenDetails']>, ParentType, ContextType>;
6027
6144
  getUserOrganizations?: Resolver<Maybe<Array<Maybe<IResolversTypes['Organization']>>>, ParentType, ContextType, RequireFields<IQuerygetUserOrganizationsArgs, never>>;
6028
6145
  getUserOrganizationsWithRole?: Resolver<Maybe<Array<Maybe<IResolversTypes['Organization']>>>, ParentType, ContextType, RequireFields<IQuerygetUserOrganizationsWithRoleArgs, never>>;
6146
+ getUserTokenDetails?: Resolver<Maybe<IResolversTypes['UserToken']>, ParentType, ContextType, RequireFields<IQuerygetUserTokenDetailsArgs, never>>;
6029
6147
  getUsers?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserAccount']>>>, ParentType, ContextType, RequireFields<IQuerygetUsersArgs, never>>;
6030
6148
  getViewerPermissions?: Resolver<Maybe<IResolversTypes['PermissionSubject']>, ParentType, ContextType, RequireFields<IQuerygetViewerPermissionsArgs, never>>;
6031
6149
  getViewerPolicies?: Resolver<Maybe<IResolversTypes['PolicySubject']>, ParentType, ContextType, RequireFields<IQuerygetViewerPoliciesArgs, 'input'>>;
@@ -6196,7 +6314,7 @@ export type IUserAccountResolvers<ContextType = any, ParentType extends IResolve
6196
6314
  givenName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6197
6315
  picture?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6198
6316
  phoneNumber?: Resolver<Maybe<Array<IResolversTypes['PhoneNumber']>>, ParentType, ContextType>;
6199
- tokens?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserVerificationToken']>>>, ParentType, ContextType>;
6317
+ tokens?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserToken']>>>, ParentType, ContextType>;
6200
6318
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
6201
6319
  };
6202
6320
 
@@ -6242,15 +6360,6 @@ export type IUserDeviceResolvers<ContextType = any, ParentType extends IResolver
6242
6360
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
6243
6361
  };
6244
6362
 
6245
- export type IUserEmailVerificationTokenDetailsResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserEmailVerificationTokenDetails'] = IResolversParentTypes['UserEmailVerificationTokenDetails']> = {
6246
- key?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6247
- value?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6248
- token?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6249
- verified?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
6250
- isValid?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
6251
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
6252
- };
6253
-
6254
6363
  export type IUserMetadataResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserMetadata'] = IResolversParentTypes['UserMetadata']> = {
6255
6364
  last_name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6256
6365
  first_name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
@@ -6322,11 +6431,12 @@ export type IUserSettingsResolvers<ContextType = any, ParentType extends IResolv
6322
6431
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
6323
6432
  };
6324
6433
 
6325
- export type IUserVerificationTokenResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserVerificationToken'] = IResolversParentTypes['UserVerificationToken']> = {
6326
- key?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6327
- value?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6328
- token?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
6329
- verified?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
6434
+ export type IUserTokenResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserToken'] = IResolversParentTypes['UserToken']> = {
6435
+ type?: Resolver<IResolversTypes['TokenTypesEnum'], ParentType, ContextType>;
6436
+ token?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
6437
+ refreshedCount?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
6438
+ usedCount?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
6439
+ valid?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
6330
6440
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
6331
6441
  };
6332
6442
 
@@ -6492,13 +6602,12 @@ export type IResolvers<ContextType = any> = {
6492
6602
  UserAccountRemovedEvent?: IUserAccountRemovedEventResolvers<ContextType>;
6493
6603
  UserConfiguration?: IUserConfigurationResolvers<ContextType>;
6494
6604
  UserDevice?: IUserDeviceResolvers<ContextType>;
6495
- UserEmailVerificationTokenDetails?: IUserEmailVerificationTokenDetailsResolvers<ContextType>;
6496
6605
  UserMetadata?: IUserMetadataResolvers<ContextType>;
6497
6606
  UserOrg?: IUserOrgResolvers<ContextType>;
6498
6607
  UserPreviousValues?: IUserPreviousValuesResolvers<ContextType>;
6499
6608
  UserProfile?: IUserProfileResolvers<ContextType>;
6500
6609
  UserSettings?: IUserSettingsResolvers<ContextType>;
6501
- UserVerificationToken?: IUserVerificationTokenResolvers<ContextType>;
6610
+ UserToken?: IUserTokenResolvers<ContextType>;
6502
6611
  ViewerSettingsSubject?: IViewerSettingsSubjectResolvers<ContextType>;
6503
6612
  };
6504
6613
 
@@ -6513,8 +6622,11 @@ export type IDirectiveResolvers<ContextType = any> = {
6513
6622
 
6514
6623
 
6515
6624
  export const FileInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FileInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FileInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"ref"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]} as unknown as DocumentNode;
6625
+ export const MinimalUserFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MinimalUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode;
6626
+ export const MessengerUserFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MessengerUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}}]} as unknown as DocumentNode;
6516
6627
  export const ConfigurationFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]} as unknown as DocumentNode;
6517
- export const PostPropsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostProps"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"editedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"center"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"compactDisplay"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isFirstReply"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"shouldHighlight"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"consecutivePostByUser"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"previousPostIsComment"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isCommentMention"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"hasReplies"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isLastPost"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"channelArchived"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isFlagged"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isCollapsedThreadsEnabled"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]} as unknown as DocumentNode;
6628
+ export const PostFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MessengerUser"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isDelivered"}},{"kind":"Field","name":{"kind":"Name","value":"isRead"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromServer"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"props"}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MessengerUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}}]} as unknown as DocumentNode;
6629
+ export const UserFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"User"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"emailVerified"}},{"kind":"Field","name":{"kind":"Name","value":"notificationEmail"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}}]} as unknown as DocumentNode;
6518
6630
  export const AddChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"description"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"description"},"value":{"kind":"Variable","name":{"kind":"Name","value":"description"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]} as unknown as DocumentNode;
6519
6631
 
6520
6632
  /**
@@ -6542,7 +6654,7 @@ export function useAddChannelMutation(baseOptions?: Apollo.MutationHookOptions<I
6542
6654
  export type AddChannelMutationHookResult = ReturnType<typeof useAddChannelMutation>;
6543
6655
  export type AddChannelMutationResult = Apollo.MutationResult<IAddChannelMutation>;
6544
6656
  export type AddChannelMutationOptions = Apollo.BaseMutationOptions<IAddChannelMutation, IAddChannelMutationVariables>;
6545
- export const AddDirectChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddDirectChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"receiver"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"displayName"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createDirectChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"receiver"},"value":{"kind":"Variable","name":{"kind":"Name","value":"receiver"}}},{"kind":"Argument","name":{"kind":"Name","value":"displayName"},"value":{"kind":"Variable","name":{"kind":"Name","value":"displayName"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"}}]}}]}}]}}]} as unknown as DocumentNode;
6657
+ export const AddDirectChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddDirectChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"receiver"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"displayName"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createDirectChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"receiver"},"value":{"kind":"Variable","name":{"kind":"Name","value":"receiver"}}},{"kind":"Argument","name":{"kind":"Name","value":"displayName"},"value":{"kind":"Variable","name":{"kind":"Name","value":"displayName"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MinimalUser"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MinimalUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode;
6546
6658
 
6547
6659
  /**
6548
6660
  * __useAddDirectChannelMutation__
@@ -6569,7 +6681,7 @@ export function useAddDirectChannelMutation(baseOptions?: Apollo.MutationHookOpt
6569
6681
  export type AddDirectChannelMutationHookResult = ReturnType<typeof useAddDirectChannelMutation>;
6570
6682
  export type AddDirectChannelMutationResult = Apollo.MutationResult<IAddDirectChannelMutation>;
6571
6683
  export type AddDirectChannelMutationOptions = Apollo.BaseMutationOptions<IAddDirectChannelMutation, IAddDirectChannelMutationVariables>;
6572
- export const AddMemberToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddMemberToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"memberId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addMemberToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}},{"kind":"Argument","name":{"kind":"Name","value":"memberId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"memberId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"}}]}}]}}]}}]} as unknown as DocumentNode;
6684
+ export const AddMemberToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddMemberToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"memberId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addMemberToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}},{"kind":"Argument","name":{"kind":"Name","value":"memberId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"memberId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MinimalUser"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MinimalUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode;
6573
6685
 
6574
6686
  /**
6575
6687
  * __useAddMemberToChannelMutation__
@@ -6622,7 +6734,7 @@ export function useDeleteChannelMutation(baseOptions?: Apollo.MutationHookOption
6622
6734
  export type DeleteChannelMutationHookResult = ReturnType<typeof useDeleteChannelMutation>;
6623
6735
  export type DeleteChannelMutationResult = Apollo.MutationResult<IDeleteChannelMutation>;
6624
6736
  export type DeleteChannelMutationOptions = Apollo.BaseMutationOptions<IDeleteChannelMutation, IDeleteChannelMutationVariables>;
6625
- export const SendMessagesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SendMessages"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"content"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"files"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sendMessage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}},{"kind":"Argument","name":{"kind":"Name","value":"messageInput"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"content"},"value":{"kind":"Variable","name":{"kind":"Name","value":"content"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"files"},"value":{"kind":"Variable","name":{"kind":"Name","value":"files"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostProps"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostProps"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"editedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"center"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"compactDisplay"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isFirstReply"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"shouldHighlight"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"consecutivePostByUser"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"previousPostIsComment"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isCommentMention"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"hasReplies"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isLastPost"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"channelArchived"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isFlagged"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isCollapsedThreadsEnabled"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode;
6737
+ export const SendMessagesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SendMessages"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"content"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"files"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sendMessage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}},{"kind":"Argument","name":{"kind":"Name","value":"messageInput"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"content"},"value":{"kind":"Variable","name":{"kind":"Name","value":"content"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"files"},"value":{"kind":"Variable","name":{"kind":"Name","value":"files"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MessengerUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MessengerUser"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isDelivered"}},{"kind":"Field","name":{"kind":"Name","value":"isRead"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromServer"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"props"}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}}]}}]} as unknown as DocumentNode;
6626
6738
 
6627
6739
  /**
6628
6740
  * __useSendMessagesMutation__
@@ -6840,7 +6952,35 @@ export function useDeleteMessageFileMutation(baseOptions?: Apollo.MutationHookOp
6840
6952
  export type DeleteMessageFileMutationHookResult = ReturnType<typeof useDeleteMessageFileMutation>;
6841
6953
  export type DeleteMessageFileMutationResult = Apollo.MutationResult<IDeleteMessageFileMutation>;
6842
6954
  export type DeleteMessageFileMutationOptions = Apollo.BaseMutationOptions<IDeleteMessageFileMutation, IDeleteMessageFileMutationVariables>;
6843
- export const GetChannelsByUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetChannelsByUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channelsByUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"user"}}]}}]}}]}}]} as unknown as DocumentNode;
6955
+ export const GetAllChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAllChannel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MinimalUser"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MinimalUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode;
6956
+
6957
+ /**
6958
+ * __useGetAllChannelQuery__
6959
+ *
6960
+ * To run a query within a React component, call `useGetAllChannelQuery` and pass it any options that fit your needs.
6961
+ * When your component renders, `useGetAllChannelQuery` returns an object from Apollo Client that contains loading, error, and data properties
6962
+ * you can use to render your UI.
6963
+ *
6964
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
6965
+ *
6966
+ * @example
6967
+ * const { data, loading, error } = useGetAllChannelQuery({
6968
+ * variables: {
6969
+ * },
6970
+ * });
6971
+ */
6972
+ export function useGetAllChannelQuery(baseOptions?: Apollo.QueryHookOptions<IGetAllChannelQuery, IGetAllChannelQueryVariables>) {
6973
+ const options = {...defaultOptions, ...baseOptions}
6974
+ return Apollo.useQuery<IGetAllChannelQuery, IGetAllChannelQueryVariables>(GetAllChannelDocument, options);
6975
+ }
6976
+ export function useGetAllChannelLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetAllChannelQuery, IGetAllChannelQueryVariables>) {
6977
+ const options = {...defaultOptions, ...baseOptions}
6978
+ return Apollo.useLazyQuery<IGetAllChannelQuery, IGetAllChannelQueryVariables>(GetAllChannelDocument, options);
6979
+ }
6980
+ export type GetAllChannelQueryHookResult = ReturnType<typeof useGetAllChannelQuery>;
6981
+ export type GetAllChannelLazyQueryHookResult = ReturnType<typeof useGetAllChannelLazyQuery>;
6982
+ export type GetAllChannelQueryResult = Apollo.QueryResult<IGetAllChannelQuery, IGetAllChannelQueryVariables>;
6983
+ export const GetChannelsByUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetChannelsByUser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"role"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"criteria"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AnyObject"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"skip"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channelsByUser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"role"},"value":{"kind":"Variable","name":{"kind":"Name","value":"role"}}},{"kind":"Argument","name":{"kind":"Name","value":"criteria"},"value":{"kind":"Variable","name":{"kind":"Name","value":"criteria"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"skip"},"value":{"kind":"Variable","name":{"kind":"Name","value":"skip"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MessengerUser"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MessengerUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}}]} as unknown as DocumentNode;
6844
6984
 
6845
6985
  /**
6846
6986
  * __useGetChannelsByUserQuery__
@@ -6854,6 +6994,11 @@ export const GetChannelsByUserDocument = {"kind":"Document","definitions":[{"kin
6854
6994
  * @example
6855
6995
  * const { data, loading, error } = useGetChannelsByUserQuery({
6856
6996
  * variables: {
6997
+ * role: // value for 'role'
6998
+ * criteria: // value for 'criteria'
6999
+ * limit: // value for 'limit'
7000
+ * skip: // value for 'skip'
7001
+ * sort: // value for 'sort'
6857
7002
  * },
6858
7003
  * });
6859
7004
  */
@@ -6868,35 +7013,67 @@ export function useGetChannelsByUserLazyQuery(baseOptions?: Apollo.LazyQueryHook
6868
7013
  export type GetChannelsByUserQueryHookResult = ReturnType<typeof useGetChannelsByUserQuery>;
6869
7014
  export type GetChannelsByUserLazyQueryHookResult = ReturnType<typeof useGetChannelsByUserLazyQuery>;
6870
7015
  export type GetChannelsByUserQueryResult = Apollo.QueryResult<IGetChannelsByUserQuery, IGetChannelsByUserQueryVariables>;
6871
- export const GetAllChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAllChannel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"user"}}]}}]}}]}}]} as unknown as DocumentNode;
7016
+ export const CheckForNewMessagesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CheckForNewMessages"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"messages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode;
6872
7017
 
6873
7018
  /**
6874
- * __useGetAllChannelQuery__
7019
+ * __useCheckForNewMessagesQuery__
6875
7020
  *
6876
- * To run a query within a React component, call `useGetAllChannelQuery` and pass it any options that fit your needs.
6877
- * When your component renders, `useGetAllChannelQuery` returns an object from Apollo Client that contains loading, error, and data properties
7021
+ * To run a query within a React component, call `useCheckForNewMessagesQuery` and pass it any options that fit your needs.
7022
+ * When your component renders, `useCheckForNewMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6878
7023
  * you can use to render your UI.
6879
7024
  *
6880
7025
  * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
6881
7026
  *
6882
7027
  * @example
6883
- * const { data, loading, error } = useGetAllChannelQuery({
7028
+ * const { data, loading, error } = useCheckForNewMessagesQuery({
6884
7029
  * variables: {
7030
+ * channelId: // value for 'channelId'
6885
7031
  * },
6886
7032
  * });
6887
7033
  */
6888
- export function useGetAllChannelQuery(baseOptions?: Apollo.QueryHookOptions<IGetAllChannelQuery, IGetAllChannelQueryVariables>) {
7034
+ export function useCheckForNewMessagesQuery(baseOptions?: Apollo.QueryHookOptions<ICheckForNewMessagesQuery, ICheckForNewMessagesQueryVariables>) {
6889
7035
  const options = {...defaultOptions, ...baseOptions}
6890
- return Apollo.useQuery<IGetAllChannelQuery, IGetAllChannelQueryVariables>(GetAllChannelDocument, options);
7036
+ return Apollo.useQuery<ICheckForNewMessagesQuery, ICheckForNewMessagesQueryVariables>(CheckForNewMessagesDocument, options);
6891
7037
  }
6892
- export function useGetAllChannelLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetAllChannelQuery, IGetAllChannelQueryVariables>) {
7038
+ export function useCheckForNewMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ICheckForNewMessagesQuery, ICheckForNewMessagesQueryVariables>) {
6893
7039
  const options = {...defaultOptions, ...baseOptions}
6894
- return Apollo.useLazyQuery<IGetAllChannelQuery, IGetAllChannelQueryVariables>(GetAllChannelDocument, options);
7040
+ return Apollo.useLazyQuery<ICheckForNewMessagesQuery, ICheckForNewMessagesQueryVariables>(CheckForNewMessagesDocument, options);
6895
7041
  }
6896
- export type GetAllChannelQueryHookResult = ReturnType<typeof useGetAllChannelQuery>;
6897
- export type GetAllChannelLazyQueryHookResult = ReturnType<typeof useGetAllChannelLazyQuery>;
6898
- export type GetAllChannelQueryResult = Apollo.QueryResult<IGetAllChannelQuery, IGetAllChannelQueryVariables>;
6899
- export const GetMessagesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetMessages"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"30"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"skip"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"messages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"skip"},"value":{"kind":"Variable","name":{"kind":"Name","value":"skip"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostProps"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostProps"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"editedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"center"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"compactDisplay"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isFirstReply"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"shouldHighlight"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"consecutivePostByUser"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"previousPostIsComment"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isCommentMention"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"hasReplies"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isLastPost"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"channelArchived"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isFlagged"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isCollapsedThreadsEnabled"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode;
7042
+ export type CheckForNewMessagesQueryHookResult = ReturnType<typeof useCheckForNewMessagesQuery>;
7043
+ export type CheckForNewMessagesLazyQueryHookResult = ReturnType<typeof useCheckForNewMessagesLazyQuery>;
7044
+ export type CheckForNewMessagesQueryResult = Apollo.QueryResult<ICheckForNewMessagesQuery, ICheckForNewMessagesQueryVariables>;
7045
+ export const MessagesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Messages"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"30"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"skip"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"messages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"skip"},"value":{"kind":"Variable","name":{"kind":"Name","value":"skip"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MessengerUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MessengerUser"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isDelivered"}},{"kind":"Field","name":{"kind":"Name","value":"isRead"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromServer"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"props"}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}}]}}]} as unknown as DocumentNode;
7046
+
7047
+ /**
7048
+ * __useMessagesQuery__
7049
+ *
7050
+ * To run a query within a React component, call `useMessagesQuery` and pass it any options that fit your needs.
7051
+ * When your component renders, `useMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties
7052
+ * you can use to render your UI.
7053
+ *
7054
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
7055
+ *
7056
+ * @example
7057
+ * const { data, loading, error } = useMessagesQuery({
7058
+ * variables: {
7059
+ * channelId: // value for 'channelId'
7060
+ * limit: // value for 'limit'
7061
+ * skip: // value for 'skip'
7062
+ * },
7063
+ * });
7064
+ */
7065
+ export function useMessagesQuery(baseOptions?: Apollo.QueryHookOptions<IMessagesQuery, IMessagesQueryVariables>) {
7066
+ const options = {...defaultOptions, ...baseOptions}
7067
+ return Apollo.useQuery<IMessagesQuery, IMessagesQueryVariables>(MessagesDocument, options);
7068
+ }
7069
+ export function useMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IMessagesQuery, IMessagesQueryVariables>) {
7070
+ const options = {...defaultOptions, ...baseOptions}
7071
+ return Apollo.useLazyQuery<IMessagesQuery, IMessagesQueryVariables>(MessagesDocument, options);
7072
+ }
7073
+ export type MessagesQueryHookResult = ReturnType<typeof useMessagesQuery>;
7074
+ export type MessagesLazyQueryHookResult = ReturnType<typeof useMessagesLazyQuery>;
7075
+ export type MessagesQueryResult = Apollo.QueryResult<IMessagesQuery, IMessagesQueryVariables>;
7076
+ export const GetMessagesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetMessages"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"30"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"skip"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"messages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"skip"},"value":{"kind":"Variable","name":{"kind":"Name","value":"skip"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MessengerUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MessengerUser"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isDelivered"}},{"kind":"Field","name":{"kind":"Name","value":"isRead"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromServer"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"props"}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}}]}}]} as unknown as DocumentNode;
6900
7077
 
6901
7078
  /**
6902
7079
  * __useGetMessagesQuery__
@@ -6927,7 +7104,36 @@ export function useGetMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOption
6927
7104
  export type GetMessagesQueryHookResult = ReturnType<typeof useGetMessagesQuery>;
6928
7105
  export type GetMessagesLazyQueryHookResult = ReturnType<typeof useGetMessagesLazyQuery>;
6929
7106
  export type GetMessagesQueryResult = Apollo.QueryResult<IGetMessagesQuery, IGetMessagesQueryVariables>;
6930
- export const GetAllUsersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAllUsers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getUsers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}}]}}]}}]} as unknown as DocumentNode;
7107
+ export const UserAccountDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UserAccount"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getUserAccount"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MessengerUser"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MessengerUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}}]} as unknown as DocumentNode;
7108
+
7109
+ /**
7110
+ * __useUserAccountQuery__
7111
+ *
7112
+ * To run a query within a React component, call `useUserAccountQuery` and pass it any options that fit your needs.
7113
+ * When your component renders, `useUserAccountQuery` returns an object from Apollo Client that contains loading, error, and data properties
7114
+ * you can use to render your UI.
7115
+ *
7116
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
7117
+ *
7118
+ * @example
7119
+ * const { data, loading, error } = useUserAccountQuery({
7120
+ * variables: {
7121
+ * userId: // value for 'userId'
7122
+ * },
7123
+ * });
7124
+ */
7125
+ export function useUserAccountQuery(baseOptions: Apollo.QueryHookOptions<IUserAccountQuery, IUserAccountQueryVariables>) {
7126
+ const options = {...defaultOptions, ...baseOptions}
7127
+ return Apollo.useQuery<IUserAccountQuery, IUserAccountQueryVariables>(UserAccountDocument, options);
7128
+ }
7129
+ export function useUserAccountLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IUserAccountQuery, IUserAccountQueryVariables>) {
7130
+ const options = {...defaultOptions, ...baseOptions}
7131
+ return Apollo.useLazyQuery<IUserAccountQuery, IUserAccountQueryVariables>(UserAccountDocument, options);
7132
+ }
7133
+ export type UserAccountQueryHookResult = ReturnType<typeof useUserAccountQuery>;
7134
+ export type UserAccountLazyQueryHookResult = ReturnType<typeof useUserAccountLazyQuery>;
7135
+ export type UserAccountQueryResult = Apollo.QueryResult<IUserAccountQuery, IUserAccountQueryVariables>;
7136
+ export const GetAllUsersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAllUsers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getUsers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MinimalUser"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MinimalUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode;
6931
7137
 
6932
7138
  /**
6933
7139
  * __useGetAllUsersQuery__
@@ -6955,7 +7161,7 @@ export function useGetAllUsersLazyQuery(baseOptions?: Apollo.LazyQueryHookOption
6955
7161
  export type GetAllUsersQueryHookResult = ReturnType<typeof useGetAllUsersQuery>;
6956
7162
  export type GetAllUsersLazyQueryHookResult = ReturnType<typeof useGetAllUsersLazyQuery>;
6957
7163
  export type GetAllUsersQueryResult = Apollo.QueryResult<IGetAllUsersQuery, IGetAllUsersQueryVariables>;
6958
- export const GetUserByIdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetUserById"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getUserAccount"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}}]}}]}}]} as unknown as DocumentNode;
7164
+ export const GetUserByIdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetUserById"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getUserAccount"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MinimalUser"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MinimalUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode;
6959
7165
 
6960
7166
  /**
6961
7167
  * __useGetUserByIdQuery__
@@ -6984,7 +7190,7 @@ export function useGetUserByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOption
6984
7190
  export type GetUserByIdQueryHookResult = ReturnType<typeof useGetUserByIdQuery>;
6985
7191
  export type GetUserByIdLazyQueryHookResult = ReturnType<typeof useGetUserByIdLazyQuery>;
6986
7192
  export type GetUserByIdQueryResult = Apollo.QueryResult<IGetUserByIdQuery, IGetUserByIdQueryVariables>;
6987
- export const UsersToChatDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UsersToChat"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"auth0Id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"usersToChat"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"auth0Id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"auth0Id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}}]}}]} as unknown as DocumentNode;
7193
+ export const UsersToChatDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UsersToChat"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"auth0Id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"usersToChat"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"auth0Id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"auth0Id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MinimalUser"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MinimalUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode;
6988
7194
 
6989
7195
  /**
6990
7196
  * __useUsersToChatQuery__
@@ -7013,7 +7219,7 @@ export function useUsersToChatLazyQuery(baseOptions?: Apollo.LazyQueryHookOption
7013
7219
  export type UsersToChatQueryHookResult = ReturnType<typeof useUsersToChatQuery>;
7014
7220
  export type UsersToChatLazyQueryHookResult = ReturnType<typeof useUsersToChatLazyQuery>;
7015
7221
  export type UsersToChatQueryResult = Apollo.QueryResult<IUsersToChatQuery, IUsersToChatQueryVariables>;
7016
- export const CurrentUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CurrentUser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"auth0Id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentUser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"auth0Id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"auth0Id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}}]}}]} as unknown as DocumentNode;
7222
+ export const CurrentUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CurrentUser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"auth0Id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentUser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"auth0Id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"auth0Id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MinimalUser"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MinimalUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode;
7017
7223
 
7018
7224
  /**
7019
7225
  * __useCurrentUserQuery__
@@ -7042,7 +7248,7 @@ export function useCurrentUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOption
7042
7248
  export type CurrentUserQueryHookResult = ReturnType<typeof useCurrentUserQuery>;
7043
7249
  export type CurrentUserLazyQueryHookResult = ReturnType<typeof useCurrentUserLazyQuery>;
7044
7250
  export type CurrentUserQueryResult = Apollo.QueryResult<ICurrentUserQuery, ICurrentUserQueryVariables>;
7045
- export const onChatMessageAddedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"onChatMessageAdded"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chatMessageAdded"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostProps"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostProps"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"editedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"center"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"compactDisplay"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isFirstReply"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"shouldHighlight"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"consecutivePostByUser"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"previousPostIsComment"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isCommentMention"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"hasReplies"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isLastPost"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"channelArchived"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isFlagged"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"isCollapsedThreadsEnabled"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode;
7251
+ export const onChatMessageAddedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"onChatMessageAdded"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chatMessageAdded"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MessengerUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MessengerUser"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isDelivered"}},{"kind":"Field","name":{"kind":"Name","value":"isRead"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromServer"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"props"}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}}]}}]} as unknown as DocumentNode;
7046
7252
 
7047
7253
  /**
7048
7254
  * __useonChatMessageAddedSubscription__