ncloudchat 1.0.39 → 1.0.41
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.
- package/ncloudchat.d.ts +91 -69
- package/ncloudchat.min.js +1 -1
- package/package.json +2 -2
package/ncloudchat.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare module '
|
|
1
|
+
declare module 'cloudchat/CloudChat' {
|
|
2
2
|
/**
|
|
3
3
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
4
4
|
*
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
-
import type { ChannelInput, MarkInput, PinInput } from "
|
|
8
|
+
import type { ChannelInput, MarkInput, PinInput } from "cloudchat/Type";
|
|
9
9
|
/**
|
|
10
10
|
* Class NCloudChat holds all the NCloudChat functionalities.
|
|
11
11
|
*
|
|
@@ -38,7 +38,17 @@ declare module 'ncloudchat/CloudChat' {
|
|
|
38
38
|
setSocketUrl(url: string): void;
|
|
39
39
|
setProjectId(projectId: string): void;
|
|
40
40
|
setToken(token: string): void;
|
|
41
|
+
getToken(): any;
|
|
41
42
|
setUser(user: any): void;
|
|
43
|
+
/**
|
|
44
|
+
* Decodes a base-64 encoded string.
|
|
45
|
+
*
|
|
46
|
+
* @function ObjectId
|
|
47
|
+
* @param {string} id - An encoded string to be decoded.
|
|
48
|
+
* @returns {string} decoded string.
|
|
49
|
+
*/
|
|
50
|
+
ObjectId(id: string): string;
|
|
51
|
+
private handleBase64Ids;
|
|
42
52
|
private inputValidation;
|
|
43
53
|
/**
|
|
44
54
|
* Create a connection between a socket and a client.
|
|
@@ -49,6 +59,14 @@ declare module 'ncloudchat/CloudChat' {
|
|
|
49
59
|
* @returns
|
|
50
60
|
*/
|
|
51
61
|
connect(user: any, userToken?: string): Promise<any>;
|
|
62
|
+
/**
|
|
63
|
+
* update user
|
|
64
|
+
* @async
|
|
65
|
+
* @function updateUser
|
|
66
|
+
* @param {any} update
|
|
67
|
+
* @returns {Promise<any>}
|
|
68
|
+
*/
|
|
69
|
+
updateUser(update: any): Promise<any>;
|
|
52
70
|
/**
|
|
53
71
|
* Mute channel notifications.
|
|
54
72
|
*
|
|
@@ -146,7 +164,7 @@ declare module 'ncloudchat/CloudChat' {
|
|
|
146
164
|
* @param {string} channel
|
|
147
165
|
* @param {string} message_id
|
|
148
166
|
*/
|
|
149
|
-
deleteMessage(channel: string, message_id: string): Promise<
|
|
167
|
+
deleteMessage(channel: string, message_id: string): Promise<any>;
|
|
150
168
|
/**
|
|
151
169
|
* Disconnect from a socket.
|
|
152
170
|
*
|
|
@@ -186,14 +204,6 @@ declare module 'ncloudchat/CloudChat' {
|
|
|
186
204
|
* @param id
|
|
187
205
|
*/
|
|
188
206
|
unbindall(id: string): Promise<void>;
|
|
189
|
-
/**
|
|
190
|
-
* Decodes a base-64 encoded string.
|
|
191
|
-
*
|
|
192
|
-
* @function ObjectId
|
|
193
|
-
* @param {string} id - An encoded string to be decoded.
|
|
194
|
-
* @returns {string} decoded string.
|
|
195
|
-
*/
|
|
196
|
-
ObjectId(id: string): string;
|
|
197
207
|
/**
|
|
198
208
|
* Get current friends list of all status.
|
|
199
209
|
*
|
|
@@ -483,7 +493,7 @@ declare module 'ncloudchat/CloudChat' {
|
|
|
483
493
|
}
|
|
484
494
|
|
|
485
495
|
}
|
|
486
|
-
declare module '
|
|
496
|
+
declare module 'cloudchat/CoreManager' {
|
|
487
497
|
/**
|
|
488
498
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
489
499
|
*
|
|
@@ -497,7 +507,7 @@ declare module 'ncloudchat/CoreManager' {
|
|
|
497
507
|
export default CoreManager;
|
|
498
508
|
|
|
499
509
|
}
|
|
500
|
-
declare module '
|
|
510
|
+
declare module 'cloudchat/Dispatcher' {
|
|
501
511
|
/**
|
|
502
512
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
503
513
|
*
|
|
@@ -537,7 +547,7 @@ declare module 'ncloudchat/Dispatcher' {
|
|
|
537
547
|
export {};
|
|
538
548
|
|
|
539
549
|
}
|
|
540
|
-
declare module '
|
|
550
|
+
declare module 'cloudchat/Network' {
|
|
541
551
|
/**
|
|
542
552
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
543
553
|
*
|
|
@@ -547,7 +557,7 @@ declare module 'ncloudchat/Network' {
|
|
|
547
557
|
export const fetchData: (returnKey: string | undefined, query: string, variables: object) => Promise<any>;
|
|
548
558
|
|
|
549
559
|
}
|
|
550
|
-
declare module '
|
|
560
|
+
declare module 'cloudchat/Type' {
|
|
551
561
|
/**
|
|
552
562
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
553
563
|
*
|
|
@@ -624,12 +634,13 @@ declare module 'ncloudchat/Type' {
|
|
|
624
634
|
*/
|
|
625
635
|
export interface PinInput {
|
|
626
636
|
pinned: boolean;
|
|
637
|
+
messageId: string;
|
|
627
638
|
pinnedAt: string;
|
|
628
639
|
expiredAt: string;
|
|
629
640
|
}
|
|
630
641
|
|
|
631
642
|
}
|
|
632
|
-
declare module '
|
|
643
|
+
declare module 'cloudchat/Util' {
|
|
633
644
|
/**
|
|
634
645
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
635
646
|
*
|
|
@@ -647,7 +658,7 @@ declare module 'ncloudchat/Util' {
|
|
|
647
658
|
export { ObjectId };
|
|
648
659
|
|
|
649
660
|
}
|
|
650
|
-
declare module '
|
|
661
|
+
declare module 'cloudchat/graphql/channel' {
|
|
651
662
|
/**
|
|
652
663
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
653
664
|
*
|
|
@@ -663,7 +674,7 @@ declare module 'ncloudchat/graphql/channel' {
|
|
|
663
674
|
export const removeChannelMembersQuery: string;
|
|
664
675
|
|
|
665
676
|
}
|
|
666
|
-
declare module '
|
|
677
|
+
declare module 'cloudchat/graphql/friend' {
|
|
667
678
|
/**
|
|
668
679
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
669
680
|
*
|
|
@@ -677,7 +688,7 @@ declare module 'ncloudchat/graphql/friend' {
|
|
|
677
688
|
export const getFriendshipsQuery: string;
|
|
678
689
|
|
|
679
690
|
}
|
|
680
|
-
declare module '
|
|
691
|
+
declare module 'cloudchat/graphql/invite' {
|
|
681
692
|
/**
|
|
682
693
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
683
694
|
*
|
|
@@ -687,7 +698,7 @@ declare module 'ncloudchat/graphql/invite' {
|
|
|
687
698
|
export const createInviteQuery = "mutation (\n $projectId: String!, \n $channelId: String!,\n $friendIds: String!\n ) {\n createInvite(\n input: {\n projectId: $projectId, \n channelId: $channelId,\n friendIds: $friendIds\n }\n ) {\n invite {\n id\n }\n }\n }\n";
|
|
688
699
|
|
|
689
700
|
}
|
|
690
|
-
declare module '
|
|
701
|
+
declare module 'cloudchat/graphql/member' {
|
|
691
702
|
/**
|
|
692
703
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
693
704
|
*
|
|
@@ -696,12 +707,13 @@ declare module 'ncloudchat/graphql/member' {
|
|
|
696
707
|
*/
|
|
697
708
|
export const loginQuery = "mutation login(\n $projectId: String!\n $userId: String!\n $name: String\n $profile: String\n $customField: String\n ) {\n login(\n input: {\n projectId: $projectId\n userId: $userId\n name: $name\n profile: $profile\n customField: $customField\n }\n ) {\n token\n }\n }";
|
|
698
709
|
export const createMemberBlockQuery: string;
|
|
710
|
+
export const updateMemberQuery = "mutation updateMember(\n $id: String!\n $projectId: String!\n $name: String\n $profile: String\n $remoteip: String\n $memo: String\n $adid: String\n $device: String\n $deviceType: [String]\n $network: String\n $version: String\n $model: String\n $notications: NoticationInput\n )\n {\n updateMember(input: {id: $id, projectId: $projectId, profile: $profile, memo: $memo, name: $name, remoteip: $remoteip, adid: $adid, device: $device, deviceType: $deviceType, network: $network, version: $version, model: $model, notications: $notications}) {\n member {\n id\n project_id\n name\n profile\n country\n memo\n remoteip\n adid\n device\n network\n push\n version\n model\n logined_at\n created_at\n updated_at\n notications {\n token\n device\n os\n }\n }\n }\n}\n";
|
|
699
711
|
export const deleteMemberBlockQuery: string;
|
|
700
712
|
export const getMembersQuery = "query membersForQuery (\n $projectId: String!, \n $option: String!, \n $filter: String!, \n $sort: String \n ) {\n membersForQuery (\n projectId: $projectId, \n option:$option, \n filter:$filter, \n sort:$sort\n ) {\n totalCount\n edges {\n node {\n id\n name\n }\n }\n }\n }\n";
|
|
701
713
|
export const getMemberBlocksQuery = "query memberblocks (\n $projectId: String!, \n $filter: String!, \n $sort: String, \n $option:String\n ) {\n memberblocks(\n projectId: $projectId, \n filter:$filter, \n sort:$sort, \n option:$option\n ) {\n totalCount\n edges {\n node {\n id\n project_id\n member_id\n type\n status\n block_type\n messageMulti {\n lang\n value\n default\n }\n started_at\n ended_at\n created_at\n updated_at\n deleted_at\n }\n }\n }\n }\n";
|
|
702
714
|
|
|
703
715
|
}
|
|
704
|
-
declare module '
|
|
716
|
+
declare module 'cloudchat/graphql/message' {
|
|
705
717
|
/**
|
|
706
718
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
707
719
|
*
|
|
@@ -713,9 +725,10 @@ declare module 'ncloudchat/graphql/message' {
|
|
|
713
725
|
export const getMessagesQuery: string;
|
|
714
726
|
export const unreadCountQuery = "query mark (\n $projectId: String!, \n $channelId: String!\n ) { \n mark (\n projectId: $projectId, \n channelId:$channelId\n ) { \n user_id,\n message_id,\n sort_id, \n unread\n } \n }\n";
|
|
715
727
|
export const messageQuery: string;
|
|
728
|
+
export const deleteMessageQuery: string;
|
|
716
729
|
|
|
717
730
|
}
|
|
718
|
-
declare module '
|
|
731
|
+
declare module 'cloudchat/graphql/pin' {
|
|
719
732
|
/**
|
|
720
733
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
721
734
|
*
|
|
@@ -728,7 +741,7 @@ declare module 'ncloudchat/graphql/pin' {
|
|
|
728
741
|
export const updatePinQuery: string;
|
|
729
742
|
|
|
730
743
|
}
|
|
731
|
-
declare module '
|
|
744
|
+
declare module 'cloudchat/graphql/project' {
|
|
732
745
|
/**
|
|
733
746
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
734
747
|
*
|
|
@@ -737,7 +750,7 @@ declare module 'ncloudchat/graphql/project' {
|
|
|
737
750
|
*/
|
|
738
751
|
|
|
739
752
|
}
|
|
740
|
-
declare module '
|
|
753
|
+
declare module 'cloudchat/graphql/subscription' {
|
|
741
754
|
/**
|
|
742
755
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
743
756
|
*
|
|
@@ -747,22 +760,22 @@ declare module 'ncloudchat/graphql/subscription' {
|
|
|
747
760
|
export const createSubscriptionQuery: string;
|
|
748
761
|
export const deleteSubscriptionQuery: string;
|
|
749
762
|
export const updateSubscriptionQuery: string;
|
|
750
|
-
export const getSubscriptionQuery
|
|
751
|
-
export const getSubscriptionsQuery
|
|
763
|
+
export const getSubscriptionQuery: string;
|
|
764
|
+
export const getSubscriptionsQuery: string;
|
|
752
765
|
|
|
753
766
|
}
|
|
754
|
-
declare module '
|
|
767
|
+
declare module 'cloudchat/index' {
|
|
755
768
|
/**
|
|
756
769
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
757
770
|
*
|
|
758
771
|
* This source code is licensed under the MIT license found in the
|
|
759
772
|
* LICENSE file in the root directory of this source tree.
|
|
760
773
|
*/
|
|
761
|
-
import Chat from '
|
|
774
|
+
import Chat from 'cloudchat/CloudChat';
|
|
762
775
|
export { Chat };
|
|
763
776
|
|
|
764
777
|
}
|
|
765
|
-
declare module '
|
|
778
|
+
declare module 'cloudchat/logger' {
|
|
766
779
|
/**
|
|
767
780
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
768
781
|
*
|
|
@@ -775,14 +788,14 @@ declare module 'ncloudchat/logger' {
|
|
|
775
788
|
export { debug, error, info };
|
|
776
789
|
|
|
777
790
|
}
|
|
778
|
-
declare module '
|
|
791
|
+
declare module 'cloudchat/mutations/channel' {
|
|
779
792
|
/**
|
|
780
793
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
781
794
|
*
|
|
782
795
|
* This source code is licensed under the MIT license found in the
|
|
783
796
|
* LICENSE file in the root directory of this source tree.
|
|
784
797
|
*/
|
|
785
|
-
import type { ChannelInput } from "
|
|
798
|
+
import type { ChannelInput } from "cloudchat/Type";
|
|
786
799
|
/**
|
|
787
800
|
* Create a new channel.
|
|
788
801
|
*
|
|
@@ -821,7 +834,7 @@ declare module 'ncloudchat/mutations/channel' {
|
|
|
821
834
|
* @param {any} options
|
|
822
835
|
* @returns {Promise<any>}
|
|
823
836
|
*/
|
|
824
|
-
export const addChannelMembers: (channelId: string, memberIds: any, options
|
|
837
|
+
export const addChannelMembers: (channelId: string, memberIds: any, options?: any) => Promise<any>;
|
|
825
838
|
/**
|
|
826
839
|
* Remove members from the private channel.
|
|
827
840
|
*
|
|
@@ -831,10 +844,10 @@ declare module 'ncloudchat/mutations/channel' {
|
|
|
831
844
|
* @param {string[]} memberIds - An array of the member ids to be deleted.
|
|
832
845
|
* @returns {Promise<any>}
|
|
833
846
|
*/
|
|
834
|
-
export const removeChannelMembers: (channelId: string, memberIds: any) => Promise<any>;
|
|
847
|
+
export const removeChannelMembers: (channelId: string, memberIds: any, options?: any) => Promise<any>;
|
|
835
848
|
|
|
836
849
|
}
|
|
837
|
-
declare module '
|
|
850
|
+
declare module 'cloudchat/mutations/friend' {
|
|
838
851
|
/**
|
|
839
852
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
840
853
|
*
|
|
@@ -879,23 +892,23 @@ declare module 'ncloudchat/mutations/friend' {
|
|
|
879
892
|
export const removeFriend: (friendId: string) => Promise<any>;
|
|
880
893
|
|
|
881
894
|
}
|
|
882
|
-
declare module '
|
|
895
|
+
declare module 'cloudchat/mutations/index' {
|
|
883
896
|
/**
|
|
884
897
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
885
898
|
*
|
|
886
899
|
* This source code is licensed under the MIT license found in the
|
|
887
900
|
* LICENSE file in the root directory of this source tree.
|
|
888
901
|
*/
|
|
889
|
-
export * from '
|
|
890
|
-
export * from '
|
|
891
|
-
export * from '
|
|
892
|
-
export * from '
|
|
893
|
-
export * from '
|
|
894
|
-
export * from '
|
|
895
|
-
export * from '
|
|
902
|
+
export * from 'cloudchat/mutations/member';
|
|
903
|
+
export * from 'cloudchat/mutations/channel';
|
|
904
|
+
export * from 'cloudchat/mutations/message';
|
|
905
|
+
export * from 'cloudchat/mutations/friend';
|
|
906
|
+
export * from 'cloudchat/mutations/invite';
|
|
907
|
+
export * from 'cloudchat/mutations/subscription';
|
|
908
|
+
export * from 'cloudchat/mutations/pin';
|
|
896
909
|
|
|
897
910
|
}
|
|
898
|
-
declare module '
|
|
911
|
+
declare module 'cloudchat/mutations/invite' {
|
|
899
912
|
/**
|
|
900
913
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
901
914
|
*
|
|
@@ -914,7 +927,7 @@ declare module 'ncloudchat/mutations/invite' {
|
|
|
914
927
|
export const createInvite: (channelId: string, friendIds: any) => Promise<any>;
|
|
915
928
|
|
|
916
929
|
}
|
|
917
|
-
declare module '
|
|
930
|
+
declare module 'cloudchat/mutations/member' {
|
|
918
931
|
/**
|
|
919
932
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
920
933
|
*
|
|
@@ -956,9 +969,10 @@ declare module 'ncloudchat/mutations/member' {
|
|
|
956
969
|
* @returns {Promise<any>}
|
|
957
970
|
*/
|
|
958
971
|
export const deleteMemberBlock: (channelId: string, memberId: string) => Promise<any>;
|
|
972
|
+
export const updateMember: (user_id: string, update: any) => Promise<any>;
|
|
959
973
|
|
|
960
974
|
}
|
|
961
|
-
declare module '
|
|
975
|
+
declare module 'cloudchat/mutations/message' {
|
|
962
976
|
/**
|
|
963
977
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
964
978
|
*
|
|
@@ -991,21 +1005,29 @@ declare module 'ncloudchat/mutations/message' {
|
|
|
991
1005
|
* Send a Message
|
|
992
1006
|
*
|
|
993
1007
|
* @async
|
|
994
|
-
* @function
|
|
1008
|
+
* @function message
|
|
995
1009
|
* @param {string} data - The id of a message.
|
|
996
1010
|
* @returns {Promise<any>}
|
|
997
1011
|
*/
|
|
998
1012
|
export const message: (data: any) => Promise<any>;
|
|
1013
|
+
/**
|
|
1014
|
+
*
|
|
1015
|
+
* @sync
|
|
1016
|
+
* @function deleteMessage
|
|
1017
|
+
* @param {string} data - The id of a message.
|
|
1018
|
+
* @returns {Promise<any>}
|
|
1019
|
+
*/
|
|
1020
|
+
export const deleteMessage: (channelId: string, messageId: string) => Promise<any>;
|
|
999
1021
|
|
|
1000
1022
|
}
|
|
1001
|
-
declare module '
|
|
1023
|
+
declare module 'cloudchat/mutations/pin' {
|
|
1002
1024
|
/**
|
|
1003
1025
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1004
1026
|
*
|
|
1005
1027
|
* This source code is licensed under the MIT license found in the
|
|
1006
1028
|
* LICENSE file in the root directory of this source tree.
|
|
1007
1029
|
*/
|
|
1008
|
-
import type { PinInput } from "
|
|
1030
|
+
import type { PinInput } from "cloudchat/Type";
|
|
1009
1031
|
/**
|
|
1010
1032
|
* Create a new pin.
|
|
1011
1033
|
*
|
|
@@ -1029,14 +1051,14 @@ declare module 'ncloudchat/mutations/pin' {
|
|
|
1029
1051
|
export const updatePin: (id: string, channelId: string, pin: PinInput) => Promise<any>;
|
|
1030
1052
|
|
|
1031
1053
|
}
|
|
1032
|
-
declare module '
|
|
1054
|
+
declare module 'cloudchat/mutations/subscription' {
|
|
1033
1055
|
/**
|
|
1034
1056
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1035
1057
|
*
|
|
1036
1058
|
* This source code is licensed under the MIT license found in the
|
|
1037
1059
|
* LICENSE file in the root directory of this source tree.
|
|
1038
1060
|
*/
|
|
1039
|
-
import type { MarkInput } from "
|
|
1061
|
+
import type { MarkInput } from "cloudchat/Type";
|
|
1040
1062
|
/**
|
|
1041
1063
|
* Create a subscription.
|
|
1042
1064
|
*
|
|
@@ -1069,7 +1091,7 @@ declare module 'ncloudchat/mutations/subscription' {
|
|
|
1069
1091
|
export const updateSubscription: (channelId: string, mark: MarkInput, option?: string) => Promise<any>;
|
|
1070
1092
|
|
|
1071
1093
|
}
|
|
1072
|
-
declare module '
|
|
1094
|
+
declare module 'cloudchat/queries/channel' {
|
|
1073
1095
|
/**
|
|
1074
1096
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1075
1097
|
*
|
|
@@ -1098,7 +1120,7 @@ declare module 'ncloudchat/queries/channel' {
|
|
|
1098
1120
|
export const getChannels: (filter: string, sort: string, option: string) => Promise<any>;
|
|
1099
1121
|
|
|
1100
1122
|
}
|
|
1101
|
-
declare module '
|
|
1123
|
+
declare module 'cloudchat/queries/friend' {
|
|
1102
1124
|
/**
|
|
1103
1125
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1104
1126
|
*
|
|
@@ -1118,24 +1140,24 @@ declare module 'ncloudchat/queries/friend' {
|
|
|
1118
1140
|
export const getFriendships: (filter: string, sort: string, option: string) => Promise<any>;
|
|
1119
1141
|
|
|
1120
1142
|
}
|
|
1121
|
-
declare module '
|
|
1143
|
+
declare module 'cloudchat/queries/index' {
|
|
1122
1144
|
/**
|
|
1123
1145
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1124
1146
|
*
|
|
1125
1147
|
* This source code is licensed under the MIT license found in the
|
|
1126
1148
|
* LICENSE file in the root directory of this source tree.
|
|
1127
1149
|
*/
|
|
1128
|
-
export * from '
|
|
1129
|
-
export * from '
|
|
1130
|
-
export * from '
|
|
1131
|
-
export * from '
|
|
1132
|
-
export * from '
|
|
1133
|
-
export * from '
|
|
1134
|
-
export * from '
|
|
1135
|
-
export * from '
|
|
1150
|
+
export * from 'cloudchat/queries/project';
|
|
1151
|
+
export * from 'cloudchat/queries/channel';
|
|
1152
|
+
export * from 'cloudchat/queries/message';
|
|
1153
|
+
export * from 'cloudchat/queries/subscription';
|
|
1154
|
+
export * from 'cloudchat/queries/friend';
|
|
1155
|
+
export * from 'cloudchat/queries/member';
|
|
1156
|
+
export * from 'cloudchat/queries/memberblocks';
|
|
1157
|
+
export * from 'cloudchat/queries/pin';
|
|
1136
1158
|
|
|
1137
1159
|
}
|
|
1138
|
-
declare module '
|
|
1160
|
+
declare module 'cloudchat/queries/member' {
|
|
1139
1161
|
/**
|
|
1140
1162
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1141
1163
|
*
|
|
@@ -1155,7 +1177,7 @@ declare module 'ncloudchat/queries/member' {
|
|
|
1155
1177
|
export const getMembers: (filter: string, sort: string, option: string) => Promise<any>;
|
|
1156
1178
|
|
|
1157
1179
|
}
|
|
1158
|
-
declare module '
|
|
1180
|
+
declare module 'cloudchat/queries/memberblocks' {
|
|
1159
1181
|
/**
|
|
1160
1182
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1161
1183
|
*
|
|
@@ -1175,7 +1197,7 @@ declare module 'ncloudchat/queries/memberblocks' {
|
|
|
1175
1197
|
export const getMemberBlocks: (filter: string, sort: string, option: string) => Promise<any>;
|
|
1176
1198
|
|
|
1177
1199
|
}
|
|
1178
|
-
declare module '
|
|
1200
|
+
declare module 'cloudchat/queries/message' {
|
|
1179
1201
|
/**
|
|
1180
1202
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1181
1203
|
*
|
|
@@ -1214,7 +1236,7 @@ declare module 'ncloudchat/queries/message' {
|
|
|
1214
1236
|
export const unreadCount: (channelId: string) => Promise<any>;
|
|
1215
1237
|
|
|
1216
1238
|
}
|
|
1217
|
-
declare module '
|
|
1239
|
+
declare module 'cloudchat/queries/pin' {
|
|
1218
1240
|
/**
|
|
1219
1241
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1220
1242
|
*
|
|
@@ -1245,7 +1267,7 @@ declare module 'ncloudchat/queries/pin' {
|
|
|
1245
1267
|
export const getPins: (channelId: string, filter: string, sort: string, option: string) => Promise<any>;
|
|
1246
1268
|
|
|
1247
1269
|
}
|
|
1248
|
-
declare module '
|
|
1270
|
+
declare module 'cloudchat/queries/project' {
|
|
1249
1271
|
/**
|
|
1250
1272
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1251
1273
|
*
|
|
@@ -1262,7 +1284,7 @@ declare module 'ncloudchat/queries/project' {
|
|
|
1262
1284
|
*/
|
|
1263
1285
|
|
|
1264
1286
|
}
|
|
1265
|
-
declare module '
|
|
1287
|
+
declare module 'cloudchat/queries/subscription' {
|
|
1266
1288
|
/**
|
|
1267
1289
|
* Copyright (c) NBASE CORP. and its affiliates.
|
|
1268
1290
|
*
|
|
@@ -1292,7 +1314,7 @@ declare module 'ncloudchat/queries/subscription' {
|
|
|
1292
1314
|
export const getSubscriptions: (filter: any, sort: any, option: any) => Promise<any>;
|
|
1293
1315
|
|
|
1294
1316
|
}
|
|
1295
|
-
declare module '
|
|
1296
|
-
import main = require('
|
|
1317
|
+
declare module 'cloudchat' {
|
|
1318
|
+
import main = require('cloudchat/index');
|
|
1297
1319
|
export = main;
|
|
1298
1320
|
}
|