@messenger-box/core 0.0.1-alpha.362 → 0.0.1-alpha.363
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.
|
@@ -1182,7 +1182,7 @@ export declare type IMutation = {
|
|
|
1182
1182
|
sendOrganizationInvitation?: Maybe<Scalars['Boolean']>;
|
|
1183
1183
|
sendPhoneOTP: Scalars['Boolean'];
|
|
1184
1184
|
sendSms: Scalars['Boolean'];
|
|
1185
|
-
sendThreadMessage?: Maybe<
|
|
1185
|
+
sendThreadMessage?: Maybe<IThreadMessageSent>;
|
|
1186
1186
|
sendUserPasswordResetEmail?: Maybe<Scalars['Boolean']>;
|
|
1187
1187
|
setDeviceToken: IUserAccount;
|
|
1188
1188
|
setDob: IUserAccount;
|
|
@@ -1426,6 +1426,7 @@ export declare type IMutationSendEmailVerificationTokenArgs = {
|
|
|
1426
1426
|
export declare type IMutationSendMessageArgs = {
|
|
1427
1427
|
channelId: Scalars['String'];
|
|
1428
1428
|
messageInput: IMessageInput;
|
|
1429
|
+
postId?: Maybe<Scalars['ID']>;
|
|
1429
1430
|
};
|
|
1430
1431
|
export declare type IMutationSendNotificationOfUnreadMessagesArgs = {
|
|
1431
1432
|
unit: Scalars['String'];
|
|
@@ -1441,9 +1442,10 @@ export declare type IMutationSendSmsArgs = {
|
|
|
1441
1442
|
sms?: Maybe<ISendSmsInput>;
|
|
1442
1443
|
};
|
|
1443
1444
|
export declare type IMutationSendThreadMessageArgs = {
|
|
1444
|
-
channelId: Scalars['
|
|
1445
|
+
channelId: Scalars['ID'];
|
|
1445
1446
|
postParentId?: Maybe<Scalars['String']>;
|
|
1446
1447
|
responderId?: Maybe<Scalars['String']>;
|
|
1448
|
+
postId?: Maybe<Scalars['ID']>;
|
|
1447
1449
|
threadMessageInput: IThreadMessageInput;
|
|
1448
1450
|
};
|
|
1449
1451
|
export declare type IMutationSendUserPasswordResetEmailArgs = {
|
|
@@ -2032,6 +2034,7 @@ export declare type IPost = IIBaseRepo & IIFileRef & {
|
|
|
2032
2034
|
props?: Maybe<Scalars['AnyObject']>;
|
|
2033
2035
|
propsConfiguration?: Maybe<IMachineConfiguration>;
|
|
2034
2036
|
reactions?: Maybe<Array<Maybe<IReaction>>>;
|
|
2037
|
+
replies?: Maybe<IMessages>;
|
|
2035
2038
|
rootId?: Maybe<Scalars['String']>;
|
|
2036
2039
|
/** Set to highlight the background of the post */
|
|
2037
2040
|
shouldHighlight?: Maybe<Scalars['Boolean']>;
|
|
@@ -2045,6 +2048,12 @@ export declare type IPostFilesArgs = {
|
|
|
2045
2048
|
skip?: Maybe<Scalars['Int']>;
|
|
2046
2049
|
sort?: Maybe<ISort>;
|
|
2047
2050
|
};
|
|
2051
|
+
export declare type IPostRepliesArgs = {
|
|
2052
|
+
criteria?: Maybe<Scalars['AnyObject']>;
|
|
2053
|
+
limit?: Maybe<Scalars['Int']>;
|
|
2054
|
+
skip?: Maybe<Scalars['Int']>;
|
|
2055
|
+
sort?: Maybe<ISort>;
|
|
2056
|
+
};
|
|
2048
2057
|
export declare const enum IPostServiceCommands {
|
|
2049
2058
|
AttachUploadedFile = "attachUploadedFile",
|
|
2050
2059
|
CreateFileUploadLink = "createFileUploadLink",
|
|
@@ -2061,12 +2070,27 @@ export declare type IPostThread = IIBaseRepo & {
|
|
|
2061
2070
|
channel?: Maybe<IChannel>;
|
|
2062
2071
|
replyCount?: Maybe<Scalars['Int']>;
|
|
2063
2072
|
lastReplyAt?: Maybe<Scalars['DateTime']>;
|
|
2064
|
-
participants?: Maybe<Array<Maybe<
|
|
2073
|
+
participants?: Maybe<Array<Maybe<IPostThreadParticipants>>>;
|
|
2065
2074
|
createdAt?: Maybe<Scalars['DateTime']>;
|
|
2066
2075
|
updatedAt?: Maybe<Scalars['DateTime']>;
|
|
2067
2076
|
deletedAt?: Maybe<Scalars['DateTime']>;
|
|
2068
2077
|
replies?: Maybe<Array<Maybe<IPost>>>;
|
|
2069
2078
|
};
|
|
2079
|
+
export declare type IPostThreadRepliesArgs = {
|
|
2080
|
+
criteria?: Maybe<Scalars['AnyObject']>;
|
|
2081
|
+
limit?: Maybe<Scalars['Int']>;
|
|
2082
|
+
skip?: Maybe<Scalars['Int']>;
|
|
2083
|
+
sort?: Maybe<ISort>;
|
|
2084
|
+
};
|
|
2085
|
+
export declare type IPostThreadParticipants = {
|
|
2086
|
+
__typename?: 'PostThreadParticipants';
|
|
2087
|
+
id: Scalars['ID'];
|
|
2088
|
+
user: IUserAccount;
|
|
2089
|
+
roles?: Maybe<Scalars['String']>;
|
|
2090
|
+
orgName?: Maybe<Scalars['String']>;
|
|
2091
|
+
updatedAt?: Maybe<Scalars['DateTime']>;
|
|
2092
|
+
CreatedAt?: Maybe<Scalars['DateTime']>;
|
|
2093
|
+
};
|
|
2070
2094
|
export declare const enum IPostTypeEnum {
|
|
2071
2095
|
Alert = "ALERT",
|
|
2072
2096
|
Card = "CARD",
|
|
@@ -2282,6 +2306,7 @@ export declare type IQuery = {
|
|
|
2282
2306
|
getEnvironment?: Maybe<IEnvironment>;
|
|
2283
2307
|
getExtendedUserAccount: IUserAccount;
|
|
2284
2308
|
getManageableOrganizations?: Maybe<Array<Maybe<IOrganization>>>;
|
|
2309
|
+
getNewMongooseObjectId: Scalars['ID'];
|
|
2285
2310
|
getOrgInvitationMembers?: Maybe<IOrgInvitationMembers>;
|
|
2286
2311
|
getOrgTeamInvitations?: Maybe<Array<Maybe<IOrganizationInvitation>>>;
|
|
2287
2312
|
getOrganizationConfigValue?: Maybe<Scalars['AnyObject']>;
|
|
@@ -2315,6 +2340,7 @@ export declare type IQuery = {
|
|
|
2315
2340
|
messages: IMessages;
|
|
2316
2341
|
organizations?: Maybe<Array<Maybe<IOrganization>>>;
|
|
2317
2342
|
profile: IProfile;
|
|
2343
|
+
supportServiceChannels?: Maybe<Array<Maybe<IChannel>>>;
|
|
2318
2344
|
team?: Maybe<IAccountTeam>;
|
|
2319
2345
|
teams?: Maybe<Array<Maybe<IAccountTeam>>>;
|
|
2320
2346
|
threadMessages: IThreadMessages;
|
|
@@ -2508,18 +2534,28 @@ export declare type IQueryMergedApplicationPermissionsArgs = {
|
|
|
2508
2534
|
};
|
|
2509
2535
|
export declare type IQueryMessagesArgs = {
|
|
2510
2536
|
channelId?: Maybe<Scalars['ID']>;
|
|
2537
|
+
parentId?: Maybe<Scalars['String']>;
|
|
2511
2538
|
limit?: Maybe<Scalars['Int']>;
|
|
2512
2539
|
skip?: Maybe<Scalars['Int']>;
|
|
2513
2540
|
};
|
|
2514
2541
|
export declare type IQueryProfileArgs = {
|
|
2515
2542
|
userId?: Maybe<Scalars['String']>;
|
|
2516
2543
|
};
|
|
2544
|
+
export declare type IQuerySupportServiceChannelsArgs = {
|
|
2545
|
+
role?: Maybe<Scalars['String']>;
|
|
2546
|
+
criteria?: Maybe<Scalars['AnyObject']>;
|
|
2547
|
+
limit?: Maybe<Scalars['Int']>;
|
|
2548
|
+
skip?: Maybe<Scalars['Int']>;
|
|
2549
|
+
sort?: Maybe<ISort>;
|
|
2550
|
+
};
|
|
2517
2551
|
export declare type IQueryTeamArgs = {
|
|
2518
2552
|
teamId: Scalars['ID'];
|
|
2519
2553
|
};
|
|
2520
2554
|
export declare type IQueryThreadMessagesArgs = {
|
|
2521
2555
|
channelId?: Maybe<Scalars['ID']>;
|
|
2522
2556
|
postParentId?: Maybe<Scalars['ID']>;
|
|
2557
|
+
role?: Maybe<Scalars['String']>;
|
|
2558
|
+
participantsIds?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
2523
2559
|
limit?: Maybe<Scalars['Int']>;
|
|
2524
2560
|
skip?: Maybe<Scalars['Int']>;
|
|
2525
2561
|
};
|
|
@@ -2613,6 +2649,8 @@ export declare type IRoleInput = {
|
|
|
2613
2649
|
roleName?: Maybe<Scalars['String']>;
|
|
2614
2650
|
};
|
|
2615
2651
|
export declare const enum IRoomType {
|
|
2652
|
+
/** SERVICE Channel with number of users - Only members from same organization */
|
|
2653
|
+
Service = "SERVICE",
|
|
2616
2654
|
/** Normal Channel with number of users - Only members from same organization */
|
|
2617
2655
|
Channel = "CHANNEL",
|
|
2618
2656
|
/** Direct User to User conversations, with two or more participants - Only members from same organization */
|
|
@@ -2797,6 +2835,12 @@ export declare type IThreadMessageInput = {
|
|
|
2797
2835
|
userRef?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
2798
2836
|
channelRef?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
2799
2837
|
files?: Maybe<Array<Scalars['ID']>>;
|
|
2838
|
+
role?: Maybe<Scalars['String']>;
|
|
2839
|
+
};
|
|
2840
|
+
export declare type IThreadMessageSent = {
|
|
2841
|
+
__typename?: 'ThreadMessageSent';
|
|
2842
|
+
lastMessage?: Maybe<IPost>;
|
|
2843
|
+
data?: Maybe<IPostThread>;
|
|
2800
2844
|
};
|
|
2801
2845
|
export declare type IThreadMessages = {
|
|
2802
2846
|
__typename?: 'ThreadMessages';
|
|
@@ -3248,13 +3292,17 @@ export declare type IFileInfoFragment = ({
|
|
|
3248
3292
|
} & Pick<IFileInfo, 'id' | 'name' | 'extension' | 'mimeType' | 'width' | 'height' | 'url' | 'ref' | 'size' | 'refType'>);
|
|
3249
3293
|
export declare type IMessengerUserFragment = ({
|
|
3250
3294
|
__typename?: 'UserAccount';
|
|
3251
|
-
} & Pick<IUserAccount, 'id' | 'givenName' | 'familyName' | 'email' | 'username' | 'picture' | 'alias'>
|
|
3295
|
+
} & Pick<IUserAccount, 'id' | 'givenName' | 'familyName' | 'email' | 'username' | 'picture' | 'alias'> & {
|
|
3296
|
+
tokens?: Maybe<Array<Maybe<({
|
|
3297
|
+
__typename?: 'UserToken';
|
|
3298
|
+
} & Pick<IUserToken, 'type' | 'token' | 'valid'>)>>>;
|
|
3299
|
+
});
|
|
3252
3300
|
export declare type IMinimalUserFragment = ({
|
|
3253
3301
|
__typename?: 'UserAccount';
|
|
3254
3302
|
} & Pick<IUserAccount, 'id' | 'username' | 'familyName' | 'givenName' | 'picture' | 'alias' | 'email'>);
|
|
3255
3303
|
export declare type IPostFragment = ({
|
|
3256
3304
|
__typename?: 'Post';
|
|
3257
|
-
} & Pick<IPost, 'id' | 'isPinned' | 'message' | 'type' | 'isDelivered' | 'isRead' | 'createdAt' | 'fromServer' | 'updatedAt' | 'props'> & {
|
|
3305
|
+
} & Pick<IPost, 'id' | 'isPinned' | 'message' | 'type' | 'isDelivered' | 'isRead' | 'parentId' | 'createdAt' | 'fromServer' | 'updatedAt' | 'props'> & {
|
|
3258
3306
|
author?: Maybe<({
|
|
3259
3307
|
__typename?: 'UserAccount';
|
|
3260
3308
|
} & IMessengerUserFragment)>;
|
|
@@ -3268,6 +3316,30 @@ export declare type IPostFragment = ({
|
|
|
3268
3316
|
__typename?: 'FileInfo';
|
|
3269
3317
|
} & Pick<IFileInfo, 'id' | 'name' | 'extension' | 'mimeType' | 'height' | 'width' | 'size' | 'url' | 'refType'>)>>>;
|
|
3270
3318
|
});
|
|
3319
|
+
replies?: Maybe<({
|
|
3320
|
+
__typename?: 'Messages';
|
|
3321
|
+
} & IPostRepliesFragment)>;
|
|
3322
|
+
});
|
|
3323
|
+
export declare type IPostRepliesFragment = ({
|
|
3324
|
+
__typename?: 'Messages';
|
|
3325
|
+
} & Pick<IMessages, 'totalCount'> & {
|
|
3326
|
+
data?: Maybe<Array<Maybe<({
|
|
3327
|
+
__typename?: 'Post';
|
|
3328
|
+
} & Pick<IPost, 'id' | 'isPinned' | 'message' | 'type' | 'isDelivered' | 'isRead' | 'parentId' | 'createdAt' | 'fromServer' | 'updatedAt' | 'props'> & {
|
|
3329
|
+
author?: Maybe<({
|
|
3330
|
+
__typename?: 'UserAccount';
|
|
3331
|
+
} & IMessengerUserFragment)>;
|
|
3332
|
+
propsConfiguration?: Maybe<({
|
|
3333
|
+
__typename?: 'MachineConfiguration';
|
|
3334
|
+
} & IConfiguration_MachineConfiguration_Fragment)>;
|
|
3335
|
+
files: ({
|
|
3336
|
+
__typename?: 'FilesInfo';
|
|
3337
|
+
} & Pick<IFilesInfo, 'totalCount'> & {
|
|
3338
|
+
data?: Maybe<Array<Maybe<({
|
|
3339
|
+
__typename?: 'FileInfo';
|
|
3340
|
+
} & Pick<IFileInfo, 'id' | 'name' | 'extension' | 'mimeType' | 'height' | 'width' | 'size' | 'url' | 'refType'>)>>>;
|
|
3341
|
+
});
|
|
3342
|
+
})>>>;
|
|
3271
3343
|
});
|
|
3272
3344
|
export declare type IPostThreadFragment = ({
|
|
3273
3345
|
__typename?: 'PostThread';
|
|
@@ -3277,10 +3349,27 @@ export declare type IPostThreadFragment = ({
|
|
|
3277
3349
|
} & Pick<IChannel, 'id' | 'title' | 'description' | 'topic' | 'orgName' | 'displayName' | 'createdAt' | 'purpose' | 'type' | 'updatedAt'>)>;
|
|
3278
3350
|
post?: Maybe<({
|
|
3279
3351
|
__typename?: 'Post';
|
|
3280
|
-
} &
|
|
3352
|
+
} & IPostFragment)>;
|
|
3353
|
+
replies?: Maybe<Array<Maybe<({
|
|
3354
|
+
__typename?: 'Post';
|
|
3355
|
+
} & IPostFragment)>>>;
|
|
3281
3356
|
participants?: Maybe<Array<Maybe<({
|
|
3282
|
-
__typename?: '
|
|
3283
|
-
} & Pick<
|
|
3357
|
+
__typename?: 'PostThreadParticipants';
|
|
3358
|
+
} & Pick<IPostThreadParticipants, 'id'> & {
|
|
3359
|
+
user: ({
|
|
3360
|
+
__typename?: 'UserAccount';
|
|
3361
|
+
} & IMessengerUserFragment);
|
|
3362
|
+
})>>>;
|
|
3363
|
+
});
|
|
3364
|
+
export declare type IThreadMessageSentFragment = ({
|
|
3365
|
+
__typename?: 'ThreadMessageSent';
|
|
3366
|
+
} & {
|
|
3367
|
+
lastMessage?: Maybe<({
|
|
3368
|
+
__typename?: 'Post';
|
|
3369
|
+
} & IPostFragment)>;
|
|
3370
|
+
data?: Maybe<({
|
|
3371
|
+
__typename?: 'PostThread';
|
|
3372
|
+
} & IPostThreadFragment)>;
|
|
3284
3373
|
});
|
|
3285
3374
|
export declare type IUserFragment = ({
|
|
3286
3375
|
__typename?: 'UserAccount';
|
|
@@ -3380,22 +3469,24 @@ export declare type IRemoveDeviceTokenMutation = ({
|
|
|
3380
3469
|
} & IMinimalUserFragment);
|
|
3381
3470
|
});
|
|
3382
3471
|
export declare type ISendThreadMessageMutationVariables = Exact<{
|
|
3383
|
-
channelId: Scalars['
|
|
3472
|
+
channelId: Scalars['ID'];
|
|
3384
3473
|
postParentId?: Maybe<Scalars['String']>;
|
|
3385
3474
|
responderId?: Maybe<Scalars['String']>;
|
|
3386
3475
|
threadMessageInput: IThreadMessageInput;
|
|
3476
|
+
postId?: Maybe<Scalars['ID']>;
|
|
3387
3477
|
}>;
|
|
3388
3478
|
export declare type ISendThreadMessageMutation = ({
|
|
3389
3479
|
__typename?: 'Mutation';
|
|
3390
3480
|
} & {
|
|
3391
3481
|
sendThreadMessage?: Maybe<({
|
|
3392
|
-
__typename?: '
|
|
3393
|
-
} &
|
|
3482
|
+
__typename?: 'ThreadMessageSent';
|
|
3483
|
+
} & IThreadMessageSentFragment)>;
|
|
3394
3484
|
});
|
|
3395
3485
|
export declare type ISendMessagesMutationVariables = Exact<{
|
|
3396
3486
|
channelId: Scalars['String'];
|
|
3397
3487
|
content: Scalars['String'];
|
|
3398
3488
|
files?: Maybe<Array<Scalars['ID']> | Scalars['ID']>;
|
|
3489
|
+
postId?: Maybe<Scalars['ID']>;
|
|
3399
3490
|
}>;
|
|
3400
3491
|
export declare type ISendMessagesMutation = ({
|
|
3401
3492
|
__typename?: 'Mutation';
|
|
@@ -3502,6 +3593,9 @@ export declare type IGetAllChannelQuery = ({
|
|
|
3502
3593
|
__typename?: 'UserAccount';
|
|
3503
3594
|
} & IMinimalUserFragment);
|
|
3504
3595
|
})>>>;
|
|
3596
|
+
creator?: Maybe<({
|
|
3597
|
+
__typename?: 'UserAccount';
|
|
3598
|
+
} & IMessengerUserFragment)>;
|
|
3505
3599
|
})>>>;
|
|
3506
3600
|
});
|
|
3507
3601
|
export declare type IViewChannelDetailQueryVariables = Exact<{
|
|
@@ -3524,6 +3618,9 @@ export declare type IViewChannelDetailQuery = ({
|
|
|
3524
3618
|
} & Pick<IUserToken, 'type' | 'token' | 'valid'>)>>>;
|
|
3525
3619
|
});
|
|
3526
3620
|
})>>>;
|
|
3621
|
+
creator?: Maybe<({
|
|
3622
|
+
__typename?: 'UserAccount';
|
|
3623
|
+
} & IMessengerUserFragment)>;
|
|
3527
3624
|
})>;
|
|
3528
3625
|
});
|
|
3529
3626
|
export declare type IGetChannelsByUserQueryVariables = Exact<{
|
|
@@ -3546,10 +3643,14 @@ export declare type IGetChannelsByUserQuery = ({
|
|
|
3546
3643
|
__typename?: 'UserAccount';
|
|
3547
3644
|
} & IMessengerUserFragment);
|
|
3548
3645
|
})>>>;
|
|
3646
|
+
creator?: Maybe<({
|
|
3647
|
+
__typename?: 'UserAccount';
|
|
3648
|
+
} & IMessengerUserFragment)>;
|
|
3549
3649
|
})>>>;
|
|
3550
3650
|
});
|
|
3551
3651
|
export declare type ICheckForNewMessagesQueryVariables = Exact<{
|
|
3552
3652
|
channelId?: Maybe<Scalars['ID']>;
|
|
3653
|
+
parentId?: Maybe<Scalars['String']>;
|
|
3553
3654
|
}>;
|
|
3554
3655
|
export declare type ICheckForNewMessagesQuery = ({
|
|
3555
3656
|
__typename?: 'Query';
|
|
@@ -3582,8 +3683,15 @@ export declare type IGetDeviceTokenQuery = ({
|
|
|
3582
3683
|
} & Pick<IUserToken, 'token' | 'type'>)>>>;
|
|
3583
3684
|
})>;
|
|
3584
3685
|
});
|
|
3686
|
+
export declare type IGetNewMongooseObjectIdQueryVariables = Exact<{
|
|
3687
|
+
[key: string]: never;
|
|
3688
|
+
}>;
|
|
3689
|
+
export declare type IGetNewMongooseObjectIdQuery = ({
|
|
3690
|
+
__typename?: 'Query';
|
|
3691
|
+
} & Pick<IQuery, 'getNewMongooseObjectId'>);
|
|
3585
3692
|
export declare type IMessagesQueryVariables = Exact<{
|
|
3586
3693
|
channelId?: Maybe<Scalars['ID']>;
|
|
3694
|
+
parentId?: Maybe<Scalars['String']>;
|
|
3587
3695
|
limit?: Scalars['Int'];
|
|
3588
3696
|
skip?: Scalars['Int'];
|
|
3589
3697
|
}>;
|
|
@@ -3621,6 +3729,7 @@ export declare type IGetOrganizationDetailQuery = ({
|
|
|
3621
3729
|
});
|
|
3622
3730
|
export declare type IGetMessagesQueryVariables = Exact<{
|
|
3623
3731
|
channelId?: Maybe<Scalars['ID']>;
|
|
3732
|
+
parentId?: Maybe<Scalars['String']>;
|
|
3624
3733
|
limit?: Scalars['Int'];
|
|
3625
3734
|
skip?: Scalars['Int'];
|
|
3626
3735
|
}>;
|
|
@@ -3635,6 +3744,50 @@ export declare type IGetMessagesQuery = ({
|
|
|
3635
3744
|
} & IPostFragment)>>>;
|
|
3636
3745
|
});
|
|
3637
3746
|
});
|
|
3747
|
+
export declare type IThreadMessagesQueryVariables = Exact<{
|
|
3748
|
+
channelId?: Maybe<Scalars['ID']>;
|
|
3749
|
+
postParentId?: Maybe<Scalars['ID']>;
|
|
3750
|
+
role?: Maybe<Scalars['String']>;
|
|
3751
|
+
participantsIds?: Maybe<Array<Maybe<Scalars['String']>> | Maybe<Scalars['String']>>;
|
|
3752
|
+
limit?: Maybe<Scalars['Int']>;
|
|
3753
|
+
skip?: Maybe<Scalars['Int']>;
|
|
3754
|
+
}>;
|
|
3755
|
+
export declare type IThreadMessagesQuery = ({
|
|
3756
|
+
__typename?: 'Query';
|
|
3757
|
+
} & {
|
|
3758
|
+
threadMessages: ({
|
|
3759
|
+
__typename?: 'ThreadMessages';
|
|
3760
|
+
} & Pick<IThreadMessages, 'totalCount'> & {
|
|
3761
|
+
data?: Maybe<Array<Maybe<({
|
|
3762
|
+
__typename?: 'PostThread';
|
|
3763
|
+
} & IPostThreadFragment)>>>;
|
|
3764
|
+
});
|
|
3765
|
+
});
|
|
3766
|
+
export declare type ISupportServiceChannelsQueryVariables = Exact<{
|
|
3767
|
+
role?: Maybe<Scalars['String']>;
|
|
3768
|
+
criteria?: Maybe<Scalars['AnyObject']>;
|
|
3769
|
+
limit?: Maybe<Scalars['Int']>;
|
|
3770
|
+
skip?: Maybe<Scalars['Int']>;
|
|
3771
|
+
sort?: Maybe<ISort>;
|
|
3772
|
+
}>;
|
|
3773
|
+
export declare type ISupportServiceChannelsQuery = ({
|
|
3774
|
+
__typename?: 'Query';
|
|
3775
|
+
} & {
|
|
3776
|
+
supportServiceChannels?: Maybe<Array<Maybe<({
|
|
3777
|
+
__typename?: 'Channel';
|
|
3778
|
+
} & Pick<IChannel, 'id' | 'title' | 'description' | 'type' | 'displayName'> & {
|
|
3779
|
+
members?: Maybe<Array<Maybe<({
|
|
3780
|
+
__typename?: 'ChannelMember';
|
|
3781
|
+
} & Pick<IChannelMember, 'id'> & {
|
|
3782
|
+
user: ({
|
|
3783
|
+
__typename?: 'UserAccount';
|
|
3784
|
+
} & IMessengerUserFragment);
|
|
3785
|
+
})>>>;
|
|
3786
|
+
creator?: Maybe<({
|
|
3787
|
+
__typename?: 'UserAccount';
|
|
3788
|
+
} & IMessengerUserFragment)>;
|
|
3789
|
+
})>>>;
|
|
3790
|
+
});
|
|
3638
3791
|
export declare type IGetOrganizationTeamsQueryVariables = Exact<{
|
|
3639
3792
|
orgName?: Maybe<Scalars['String']>;
|
|
3640
3793
|
}>;
|
|
@@ -3968,6 +4121,7 @@ export declare type IResolversTypes = {
|
|
|
3968
4121
|
Post: ResolverTypeWrapper<IPost>;
|
|
3969
4122
|
PostServiceCommands: IPostServiceCommands;
|
|
3970
4123
|
PostThread: ResolverTypeWrapper<IPostThread>;
|
|
4124
|
+
PostThreadParticipants: ResolverTypeWrapper<IPostThreadParticipants>;
|
|
3971
4125
|
PostTypeEnum: IPostTypeEnum;
|
|
3972
4126
|
PostsWithCursor: ResolverTypeWrapper<IPostsWithCursor>;
|
|
3973
4127
|
PreDefinedRole: IPreDefinedRole;
|
|
@@ -4030,6 +4184,7 @@ export declare type IResolversTypes = {
|
|
|
4030
4184
|
TerritorialStateInput: ITerritorialStateInput;
|
|
4031
4185
|
TerritorialStateUpdateInput: ITerritorialStateUpdateInput;
|
|
4032
4186
|
ThreadMessageInput: IThreadMessageInput;
|
|
4187
|
+
ThreadMessageSent: ResolverTypeWrapper<IThreadMessageSent>;
|
|
4033
4188
|
ThreadMessages: ResolverTypeWrapper<IThreadMessages>;
|
|
4034
4189
|
Time: ResolverTypeWrapper<Scalars['Time']>;
|
|
4035
4190
|
TokenTypesEnum: ITokenTypesEnum;
|
|
@@ -4222,6 +4377,7 @@ export declare type IResolversParentTypes = {
|
|
|
4222
4377
|
Position: IPosition;
|
|
4223
4378
|
Post: IPost;
|
|
4224
4379
|
PostThread: IPostThread;
|
|
4380
|
+
PostThreadParticipants: IPostThreadParticipants;
|
|
4225
4381
|
PostsWithCursor: IPostsWithCursor;
|
|
4226
4382
|
PreferenceItem: IPreferenceItem;
|
|
4227
4383
|
Preference_Account: IPreference_Account;
|
|
@@ -4277,6 +4433,7 @@ export declare type IResolversParentTypes = {
|
|
|
4277
4433
|
TerritorialStateInput: ITerritorialStateInput;
|
|
4278
4434
|
TerritorialStateUpdateInput: ITerritorialStateUpdateInput;
|
|
4279
4435
|
ThreadMessageInput: IThreadMessageInput;
|
|
4436
|
+
ThreadMessageSent: IThreadMessageSent;
|
|
4280
4437
|
ThreadMessages: IThreadMessages;
|
|
4281
4438
|
Time: Scalars['Time'];
|
|
4282
4439
|
URI: Scalars['URI'];
|
|
@@ -5005,7 +5162,7 @@ export declare type IMutationResolvers<ContextType = any, ParentType extends IRe
|
|
|
5005
5162
|
sendOrganizationInvitation?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationSendOrganizationInvitationArgs, never>>;
|
|
5006
5163
|
sendPhoneOTP?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSendPhoneOtpArgs, 'phoneNumber'>>;
|
|
5007
5164
|
sendSms?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSendSmsArgs, never>>;
|
|
5008
|
-
sendThreadMessage?: Resolver<Maybe<IResolversTypes['
|
|
5165
|
+
sendThreadMessage?: Resolver<Maybe<IResolversTypes['ThreadMessageSent']>, ParentType, ContextType, RequireFields<IMutationSendThreadMessageArgs, 'channelId' | 'threadMessageInput'>>;
|
|
5009
5166
|
sendUserPasswordResetEmail?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationSendUserPasswordResetEmailArgs, 'email'>>;
|
|
5010
5167
|
setDeviceToken?: Resolver<IResolversTypes['UserAccount'], ParentType, ContextType, RequireFields<IMutationSetDeviceTokenArgs, never>>;
|
|
5011
5168
|
setDob?: Resolver<IResolversTypes['UserAccount'], ParentType, ContextType, RequireFields<IMutationSetDobArgs, 'dob'>>;
|
|
@@ -5272,6 +5429,7 @@ export declare type IPostResolvers<ContextType = any, ParentType extends IResolv
|
|
|
5272
5429
|
props?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType>;
|
|
5273
5430
|
propsConfiguration?: Resolver<Maybe<IResolversTypes['MachineConfiguration']>, ParentType, ContextType>;
|
|
5274
5431
|
reactions?: Resolver<Maybe<Array<Maybe<IResolversTypes['Reaction']>>>, ParentType, ContextType>;
|
|
5432
|
+
replies?: Resolver<Maybe<IResolversTypes['Messages']>, ParentType, ContextType, RequireFields<IPostRepliesArgs, never>>;
|
|
5275
5433
|
rootId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
5276
5434
|
shouldHighlight?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
5277
5435
|
togglePostMenu?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
@@ -5285,11 +5443,20 @@ export declare type IPostThreadResolvers<ContextType = any, ParentType extends I
|
|
|
5285
5443
|
channel?: Resolver<Maybe<IResolversTypes['Channel']>, ParentType, ContextType>;
|
|
5286
5444
|
replyCount?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
5287
5445
|
lastReplyAt?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
|
|
5288
|
-
participants?: Resolver<Maybe<Array<Maybe<IResolversTypes['
|
|
5446
|
+
participants?: Resolver<Maybe<Array<Maybe<IResolversTypes['PostThreadParticipants']>>>, ParentType, ContextType>;
|
|
5289
5447
|
createdAt?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
|
|
5290
5448
|
updatedAt?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
|
|
5291
5449
|
deletedAt?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
|
|
5292
|
-
replies?: Resolver<Maybe<Array<Maybe<IResolversTypes['Post']>>>, ParentType, ContextType
|
|
5450
|
+
replies?: Resolver<Maybe<Array<Maybe<IResolversTypes['Post']>>>, ParentType, ContextType, RequireFields<IPostThreadRepliesArgs, never>>;
|
|
5451
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
5452
|
+
};
|
|
5453
|
+
export declare type IPostThreadParticipantsResolvers<ContextType = any, ParentType extends IResolversParentTypes['PostThreadParticipants'] = IResolversParentTypes['PostThreadParticipants']> = {
|
|
5454
|
+
id?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
5455
|
+
user?: Resolver<IResolversTypes['UserAccount'], ParentType, ContextType>;
|
|
5456
|
+
roles?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
5457
|
+
orgName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
5458
|
+
updatedAt?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
|
|
5459
|
+
CreatedAt?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
|
|
5293
5460
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
5294
5461
|
};
|
|
5295
5462
|
export declare type IPostsWithCursorResolvers<ContextType = any, ParentType extends IResolversParentTypes['PostsWithCursor'] = IResolversParentTypes['PostsWithCursor']> = {
|
|
@@ -5457,6 +5624,7 @@ export declare type IQueryResolvers<ContextType = any, ParentType extends IResol
|
|
|
5457
5624
|
getEnvironment?: Resolver<Maybe<IResolversTypes['Environment']>, ParentType, ContextType>;
|
|
5458
5625
|
getExtendedUserAccount?: Resolver<IResolversTypes['UserAccount'], ParentType, ContextType, RequireFields<IQueryGetExtendedUserAccountArgs, never>>;
|
|
5459
5626
|
getManageableOrganizations?: Resolver<Maybe<Array<Maybe<IResolversTypes['Organization']>>>, ParentType, ContextType>;
|
|
5627
|
+
getNewMongooseObjectId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
5460
5628
|
getOrgInvitationMembers?: Resolver<Maybe<IResolversTypes['OrgInvitationMembers']>, ParentType, ContextType, RequireFields<IQueryGetOrgInvitationMembersArgs, never>>;
|
|
5461
5629
|
getOrgTeamInvitations?: Resolver<Maybe<Array<Maybe<IResolversTypes['OrganizationInvitation']>>>, ParentType, ContextType, RequireFields<IQueryGetOrgTeamInvitationsArgs, never>>;
|
|
5462
5630
|
getOrganizationConfigValue?: Resolver<Maybe<IResolversTypes['AnyObject']>, ParentType, ContextType, RequireFields<IQueryGetOrganizationConfigValueArgs, never>>;
|
|
@@ -5484,6 +5652,7 @@ export declare type IQueryResolvers<ContextType = any, ParentType extends IResol
|
|
|
5484
5652
|
messages?: Resolver<IResolversTypes['Messages'], ParentType, ContextType, RequireFields<IQueryMessagesArgs, never>>;
|
|
5485
5653
|
organizations?: Resolver<Maybe<Array<Maybe<IResolversTypes['Organization']>>>, ParentType, ContextType>;
|
|
5486
5654
|
profile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryProfileArgs, never>>;
|
|
5655
|
+
supportServiceChannels?: Resolver<Maybe<Array<Maybe<IResolversTypes['Channel']>>>, ParentType, ContextType, RequireFields<IQuerySupportServiceChannelsArgs, never>>;
|
|
5487
5656
|
team?: Resolver<Maybe<IResolversTypes['AccountTeam']>, ParentType, ContextType, RequireFields<IQueryTeamArgs, 'teamId'>>;
|
|
5488
5657
|
teams?: Resolver<Maybe<Array<Maybe<IResolversTypes['AccountTeam']>>>, ParentType, ContextType>;
|
|
5489
5658
|
threadMessages?: Resolver<IResolversTypes['ThreadMessages'], ParentType, ContextType, RequireFields<IQueryThreadMessagesArgs, never>>;
|
|
@@ -5595,6 +5764,11 @@ export declare type ITeamMemberResolvers<ContextType = any, ParentType extends I
|
|
|
5595
5764
|
status?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
5596
5765
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
5597
5766
|
};
|
|
5767
|
+
export declare type IThreadMessageSentResolvers<ContextType = any, ParentType extends IResolversParentTypes['ThreadMessageSent'] = IResolversParentTypes['ThreadMessageSent']> = {
|
|
5768
|
+
lastMessage?: Resolver<Maybe<IResolversTypes['Post']>, ParentType, ContextType>;
|
|
5769
|
+
data?: Resolver<Maybe<IResolversTypes['PostThread']>, ParentType, ContextType>;
|
|
5770
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
5771
|
+
};
|
|
5598
5772
|
export declare type IThreadMessagesResolvers<ContextType = any, ParentType extends IResolversParentTypes['ThreadMessages'] = IResolversParentTypes['ThreadMessages']> = {
|
|
5599
5773
|
totalCount?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
5600
5774
|
data?: Resolver<Maybe<Array<Maybe<IResolversTypes['PostThread']>>>, ParentType, ContextType>;
|
|
@@ -5896,6 +6070,7 @@ export declare type IResolvers<ContextType = any> = {
|
|
|
5896
6070
|
Position?: IPositionResolvers<ContextType>;
|
|
5897
6071
|
Post?: IPostResolvers<ContextType>;
|
|
5898
6072
|
PostThread?: IPostThreadResolvers<ContextType>;
|
|
6073
|
+
PostThreadParticipants?: IPostThreadParticipantsResolvers<ContextType>;
|
|
5899
6074
|
PostsWithCursor?: IPostsWithCursorResolvers<ContextType>;
|
|
5900
6075
|
PreferenceItem?: IPreferenceItemResolvers<ContextType>;
|
|
5901
6076
|
Preference_Account?: IPreference_AccountResolvers<ContextType>;
|
|
@@ -5929,6 +6104,7 @@ export declare type IResolvers<ContextType = any> = {
|
|
|
5929
6104
|
SubscribedOrganizationData?: ISubscribedOrganizationDataResolvers<ContextType>;
|
|
5930
6105
|
Subscription?: ISubscriptionResolvers<ContextType>;
|
|
5931
6106
|
TeamMember?: ITeamMemberResolvers<ContextType>;
|
|
6107
|
+
ThreadMessageSent?: IThreadMessageSentResolvers<ContextType>;
|
|
5932
6108
|
ThreadMessages?: IThreadMessagesResolvers<ContextType>;
|
|
5933
6109
|
Time?: GraphQLScalarType;
|
|
5934
6110
|
URI?: GraphQLScalarType;
|
|
@@ -5966,8 +6142,10 @@ export declare const FileInfoFragmentDoc: DocumentNode;
|
|
|
5966
6142
|
export declare const MinimalUserFragmentDoc: DocumentNode;
|
|
5967
6143
|
export declare const MessengerUserFragmentDoc: DocumentNode;
|
|
5968
6144
|
export declare const ConfigurationFragmentDoc: DocumentNode;
|
|
6145
|
+
export declare const PostRepliesFragmentDoc: DocumentNode;
|
|
5969
6146
|
export declare const PostFragmentDoc: DocumentNode;
|
|
5970
6147
|
export declare const PostThreadFragmentDoc: DocumentNode;
|
|
6148
|
+
export declare const ThreadMessageSentFragmentDoc: DocumentNode;
|
|
5971
6149
|
export declare const UserFragmentDoc: DocumentNode;
|
|
5972
6150
|
export declare const AddChannelDocument: DocumentNode;
|
|
5973
6151
|
/**
|
|
@@ -6163,6 +6341,7 @@ export declare const SendThreadMessageDocument: DocumentNode;
|
|
|
6163
6341
|
* postParentId: // value for 'postParentId'
|
|
6164
6342
|
* responderId: // value for 'responderId'
|
|
6165
6343
|
* threadMessageInput: // value for 'threadMessageInput'
|
|
6344
|
+
* postId: // value for 'postId'
|
|
6166
6345
|
* },
|
|
6167
6346
|
* });
|
|
6168
6347
|
*/
|
|
@@ -6171,6 +6350,7 @@ export declare function useSendThreadMessageMutation(baseOptions?: Apollo.Mutati
|
|
|
6171
6350
|
postParentId?: string;
|
|
6172
6351
|
responderId?: string;
|
|
6173
6352
|
threadMessageInput: IThreadMessageInput;
|
|
6353
|
+
postId?: string;
|
|
6174
6354
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6175
6355
|
export declare type SendThreadMessageMutationHookResult = ReturnType<typeof useSendThreadMessageMutation>;
|
|
6176
6356
|
export declare type SendThreadMessageMutationResult = Apollo.MutationResult<ISendThreadMessageMutation>;
|
|
@@ -6192,6 +6372,7 @@ export declare const SendMessagesDocument: DocumentNode;
|
|
|
6192
6372
|
* channelId: // value for 'channelId'
|
|
6193
6373
|
* content: // value for 'content'
|
|
6194
6374
|
* files: // value for 'files'
|
|
6375
|
+
* postId: // value for 'postId'
|
|
6195
6376
|
* },
|
|
6196
6377
|
* });
|
|
6197
6378
|
*/
|
|
@@ -6199,6 +6380,7 @@ export declare function useSendMessagesMutation(baseOptions?: Apollo.MutationHoo
|
|
|
6199
6380
|
channelId: string;
|
|
6200
6381
|
content: string;
|
|
6201
6382
|
files?: string | string[];
|
|
6383
|
+
postId?: string;
|
|
6202
6384
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6203
6385
|
export declare type SendMessagesMutationHookResult = ReturnType<typeof useSendMessagesMutation>;
|
|
6204
6386
|
export declare type SendMessagesMutationResult = Apollo.MutationResult<ISendMessagesMutation>;
|
|
@@ -6538,14 +6720,17 @@ export declare const CheckForNewMessagesDocument: DocumentNode;
|
|
|
6538
6720
|
* const { data, loading, error } = useCheckForNewMessagesQuery({
|
|
6539
6721
|
* variables: {
|
|
6540
6722
|
* channelId: // value for 'channelId'
|
|
6723
|
+
* parentId: // value for 'parentId'
|
|
6541
6724
|
* },
|
|
6542
6725
|
* });
|
|
6543
6726
|
*/
|
|
6544
6727
|
export declare function useCheckForNewMessagesQuery(baseOptions?: Apollo.QueryHookOptions<ICheckForNewMessagesQuery, ICheckForNewMessagesQueryVariables>): Apollo.QueryResult<ICheckForNewMessagesQuery, Exact<{
|
|
6545
6728
|
channelId?: string;
|
|
6729
|
+
parentId?: string;
|
|
6546
6730
|
}>>;
|
|
6547
6731
|
export declare function useCheckForNewMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ICheckForNewMessagesQuery, ICheckForNewMessagesQueryVariables>): Apollo.LazyQueryResultTuple<ICheckForNewMessagesQuery, Exact<{
|
|
6548
6732
|
channelId?: string;
|
|
6733
|
+
parentId?: string;
|
|
6549
6734
|
}>>;
|
|
6550
6735
|
export declare type CheckForNewMessagesQueryHookResult = ReturnType<typeof useCheckForNewMessagesQuery>;
|
|
6551
6736
|
export declare type CheckForNewMessagesLazyQueryHookResult = ReturnType<typeof useCheckForNewMessagesLazyQuery>;
|
|
@@ -6601,6 +6786,31 @@ export declare function useGetDeviceTokenLazyQuery(baseOptions?: Apollo.LazyQuer
|
|
|
6601
6786
|
export declare type GetDeviceTokenQueryHookResult = ReturnType<typeof useGetDeviceTokenQuery>;
|
|
6602
6787
|
export declare type GetDeviceTokenLazyQueryHookResult = ReturnType<typeof useGetDeviceTokenLazyQuery>;
|
|
6603
6788
|
export declare type GetDeviceTokenQueryResult = Apollo.QueryResult<IGetDeviceTokenQuery, IGetDeviceTokenQueryVariables>;
|
|
6789
|
+
export declare const GetNewMongooseObjectIdDocument: DocumentNode;
|
|
6790
|
+
/**
|
|
6791
|
+
* __useGetNewMongooseObjectIdQuery__
|
|
6792
|
+
*
|
|
6793
|
+
* To run a query within a React component, call `useGetNewMongooseObjectIdQuery` and pass it any options that fit your needs.
|
|
6794
|
+
* When your component renders, `useGetNewMongooseObjectIdQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6795
|
+
* you can use to render your UI.
|
|
6796
|
+
*
|
|
6797
|
+
* @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;
|
|
6798
|
+
*
|
|
6799
|
+
* @example
|
|
6800
|
+
* const { data, loading, error } = useGetNewMongooseObjectIdQuery({
|
|
6801
|
+
* variables: {
|
|
6802
|
+
* },
|
|
6803
|
+
* });
|
|
6804
|
+
*/
|
|
6805
|
+
export declare function useGetNewMongooseObjectIdQuery(baseOptions?: Apollo.QueryHookOptions<IGetNewMongooseObjectIdQuery, IGetNewMongooseObjectIdQueryVariables>): Apollo.QueryResult<IGetNewMongooseObjectIdQuery, Exact<{
|
|
6806
|
+
[key: string]: never;
|
|
6807
|
+
}>>;
|
|
6808
|
+
export declare function useGetNewMongooseObjectIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetNewMongooseObjectIdQuery, IGetNewMongooseObjectIdQueryVariables>): Apollo.LazyQueryResultTuple<IGetNewMongooseObjectIdQuery, Exact<{
|
|
6809
|
+
[key: string]: never;
|
|
6810
|
+
}>>;
|
|
6811
|
+
export declare type GetNewMongooseObjectIdQueryHookResult = ReturnType<typeof useGetNewMongooseObjectIdQuery>;
|
|
6812
|
+
export declare type GetNewMongooseObjectIdLazyQueryHookResult = ReturnType<typeof useGetNewMongooseObjectIdLazyQuery>;
|
|
6813
|
+
export declare type GetNewMongooseObjectIdQueryResult = Apollo.QueryResult<IGetNewMongooseObjectIdQuery, IGetNewMongooseObjectIdQueryVariables>;
|
|
6604
6814
|
export declare const MessagesDocument: DocumentNode;
|
|
6605
6815
|
/**
|
|
6606
6816
|
* __useMessagesQuery__
|
|
@@ -6615,6 +6825,7 @@ export declare const MessagesDocument: DocumentNode;
|
|
|
6615
6825
|
* const { data, loading, error } = useMessagesQuery({
|
|
6616
6826
|
* variables: {
|
|
6617
6827
|
* channelId: // value for 'channelId'
|
|
6828
|
+
* parentId: // value for 'parentId'
|
|
6618
6829
|
* limit: // value for 'limit'
|
|
6619
6830
|
* skip: // value for 'skip'
|
|
6620
6831
|
* },
|
|
@@ -6622,11 +6833,13 @@ export declare const MessagesDocument: DocumentNode;
|
|
|
6622
6833
|
*/
|
|
6623
6834
|
export declare function useMessagesQuery(baseOptions?: Apollo.QueryHookOptions<IMessagesQuery, IMessagesQueryVariables>): Apollo.QueryResult<IMessagesQuery, Exact<{
|
|
6624
6835
|
channelId?: string;
|
|
6836
|
+
parentId?: string;
|
|
6625
6837
|
limit?: number;
|
|
6626
6838
|
skip?: number;
|
|
6627
6839
|
}>>;
|
|
6628
6840
|
export declare function useMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IMessagesQuery, IMessagesQueryVariables>): Apollo.LazyQueryResultTuple<IMessagesQuery, Exact<{
|
|
6629
6841
|
channelId?: string;
|
|
6842
|
+
parentId?: string;
|
|
6630
6843
|
limit?: number;
|
|
6631
6844
|
skip?: number;
|
|
6632
6845
|
}>>;
|
|
@@ -6673,6 +6886,7 @@ export declare const GetMessagesDocument: DocumentNode;
|
|
|
6673
6886
|
* const { data, loading, error } = useGetMessagesQuery({
|
|
6674
6887
|
* variables: {
|
|
6675
6888
|
* channelId: // value for 'channelId'
|
|
6889
|
+
* parentId: // value for 'parentId'
|
|
6676
6890
|
* limit: // value for 'limit'
|
|
6677
6891
|
* skip: // value for 'skip'
|
|
6678
6892
|
* },
|
|
@@ -6680,17 +6894,98 @@ export declare const GetMessagesDocument: DocumentNode;
|
|
|
6680
6894
|
*/
|
|
6681
6895
|
export declare function useGetMessagesQuery(baseOptions?: Apollo.QueryHookOptions<IGetMessagesQuery, IGetMessagesQueryVariables>): Apollo.QueryResult<IGetMessagesQuery, Exact<{
|
|
6682
6896
|
channelId?: string;
|
|
6897
|
+
parentId?: string;
|
|
6683
6898
|
limit?: number;
|
|
6684
6899
|
skip?: number;
|
|
6685
6900
|
}>>;
|
|
6686
6901
|
export declare function useGetMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetMessagesQuery, IGetMessagesQueryVariables>): Apollo.LazyQueryResultTuple<IGetMessagesQuery, Exact<{
|
|
6687
6902
|
channelId?: string;
|
|
6903
|
+
parentId?: string;
|
|
6688
6904
|
limit?: number;
|
|
6689
6905
|
skip?: number;
|
|
6690
6906
|
}>>;
|
|
6691
6907
|
export declare type GetMessagesQueryHookResult = ReturnType<typeof useGetMessagesQuery>;
|
|
6692
6908
|
export declare type GetMessagesLazyQueryHookResult = ReturnType<typeof useGetMessagesLazyQuery>;
|
|
6693
6909
|
export declare type GetMessagesQueryResult = Apollo.QueryResult<IGetMessagesQuery, IGetMessagesQueryVariables>;
|
|
6910
|
+
export declare const ThreadMessagesDocument: DocumentNode;
|
|
6911
|
+
/**
|
|
6912
|
+
* __useThreadMessagesQuery__
|
|
6913
|
+
*
|
|
6914
|
+
* To run a query within a React component, call `useThreadMessagesQuery` and pass it any options that fit your needs.
|
|
6915
|
+
* When your component renders, `useThreadMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6916
|
+
* you can use to render your UI.
|
|
6917
|
+
*
|
|
6918
|
+
* @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;
|
|
6919
|
+
*
|
|
6920
|
+
* @example
|
|
6921
|
+
* const { data, loading, error } = useThreadMessagesQuery({
|
|
6922
|
+
* variables: {
|
|
6923
|
+
* channelId: // value for 'channelId'
|
|
6924
|
+
* postParentId: // value for 'postParentId'
|
|
6925
|
+
* role: // value for 'role'
|
|
6926
|
+
* participantsIds: // value for 'participantsIds'
|
|
6927
|
+
* limit: // value for 'limit'
|
|
6928
|
+
* skip: // value for 'skip'
|
|
6929
|
+
* },
|
|
6930
|
+
* });
|
|
6931
|
+
*/
|
|
6932
|
+
export declare function useThreadMessagesQuery(baseOptions?: Apollo.QueryHookOptions<IThreadMessagesQuery, IThreadMessagesQueryVariables>): Apollo.QueryResult<IThreadMessagesQuery, Exact<{
|
|
6933
|
+
channelId?: string;
|
|
6934
|
+
postParentId?: string;
|
|
6935
|
+
role?: string;
|
|
6936
|
+
participantsIds?: string | string[];
|
|
6937
|
+
limit?: number;
|
|
6938
|
+
skip?: number;
|
|
6939
|
+
}>>;
|
|
6940
|
+
export declare function useThreadMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IThreadMessagesQuery, IThreadMessagesQueryVariables>): Apollo.LazyQueryResultTuple<IThreadMessagesQuery, Exact<{
|
|
6941
|
+
channelId?: string;
|
|
6942
|
+
postParentId?: string;
|
|
6943
|
+
role?: string;
|
|
6944
|
+
participantsIds?: string | string[];
|
|
6945
|
+
limit?: number;
|
|
6946
|
+
skip?: number;
|
|
6947
|
+
}>>;
|
|
6948
|
+
export declare type ThreadMessagesQueryHookResult = ReturnType<typeof useThreadMessagesQuery>;
|
|
6949
|
+
export declare type ThreadMessagesLazyQueryHookResult = ReturnType<typeof useThreadMessagesLazyQuery>;
|
|
6950
|
+
export declare type ThreadMessagesQueryResult = Apollo.QueryResult<IThreadMessagesQuery, IThreadMessagesQueryVariables>;
|
|
6951
|
+
export declare const SupportServiceChannelsDocument: DocumentNode;
|
|
6952
|
+
/**
|
|
6953
|
+
* __useSupportServiceChannelsQuery__
|
|
6954
|
+
*
|
|
6955
|
+
* To run a query within a React component, call `useSupportServiceChannelsQuery` and pass it any options that fit your needs.
|
|
6956
|
+
* When your component renders, `useSupportServiceChannelsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6957
|
+
* you can use to render your UI.
|
|
6958
|
+
*
|
|
6959
|
+
* @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;
|
|
6960
|
+
*
|
|
6961
|
+
* @example
|
|
6962
|
+
* const { data, loading, error } = useSupportServiceChannelsQuery({
|
|
6963
|
+
* variables: {
|
|
6964
|
+
* role: // value for 'role'
|
|
6965
|
+
* criteria: // value for 'criteria'
|
|
6966
|
+
* limit: // value for 'limit'
|
|
6967
|
+
* skip: // value for 'skip'
|
|
6968
|
+
* sort: // value for 'sort'
|
|
6969
|
+
* },
|
|
6970
|
+
* });
|
|
6971
|
+
*/
|
|
6972
|
+
export declare function useSupportServiceChannelsQuery(baseOptions?: Apollo.QueryHookOptions<ISupportServiceChannelsQuery, ISupportServiceChannelsQueryVariables>): Apollo.QueryResult<ISupportServiceChannelsQuery, Exact<{
|
|
6973
|
+
role?: string;
|
|
6974
|
+
criteria?: any;
|
|
6975
|
+
limit?: number;
|
|
6976
|
+
skip?: number;
|
|
6977
|
+
sort?: ISort;
|
|
6978
|
+
}>>;
|
|
6979
|
+
export declare function useSupportServiceChannelsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ISupportServiceChannelsQuery, ISupportServiceChannelsQueryVariables>): Apollo.LazyQueryResultTuple<ISupportServiceChannelsQuery, Exact<{
|
|
6980
|
+
role?: string;
|
|
6981
|
+
criteria?: any;
|
|
6982
|
+
limit?: number;
|
|
6983
|
+
skip?: number;
|
|
6984
|
+
sort?: ISort;
|
|
6985
|
+
}>>;
|
|
6986
|
+
export declare type SupportServiceChannelsQueryHookResult = ReturnType<typeof useSupportServiceChannelsQuery>;
|
|
6987
|
+
export declare type SupportServiceChannelsLazyQueryHookResult = ReturnType<typeof useSupportServiceChannelsLazyQuery>;
|
|
6988
|
+
export declare type SupportServiceChannelsQueryResult = Apollo.QueryResult<ISupportServiceChannelsQuery, ISupportServiceChannelsQueryVariables>;
|
|
6694
6989
|
export declare const GetOrganizationTeamsDocument: DocumentNode;
|
|
6695
6990
|
/**
|
|
6696
6991
|
* __useGetOrganizationTeamsQuery__
|