@neuralinnovations/dataisland-sdk 0.6.1 → 0.6.2

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuralinnovations/dataisland-sdk",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "SDK for DataIsland project",
5
5
  "licenses": [
6
6
  {
@@ -1,6 +1,6 @@
1
1
  import { ChatCount, ChatListResponse } from "../../dto/chatResponse";
2
2
  export declare abstract class ChatsAdministration {
3
- abstract userChats(chatId: string): Promise<ChatListResponse>;
3
+ abstract userChats(userId: string): Promise<ChatListResponse>;
4
4
  abstract sendMessageToChat(chatId: string, message: string): Promise<void>;
5
5
  abstract sendMessageToUsers(message: string, organizationIdFilter: string, platformFilter: number, activityInMinutesFilter: number, stageFilter: number): Promise<ChatCount>;
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuralinnovations/dataisland-sdk",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "SDK for DataIsland project",
5
5
  "licenses": [
6
6
  {
@@ -6,7 +6,7 @@ export abstract class ChatsAdministration {
6
6
  /*
7
7
  Get user chats
8
8
  */
9
- abstract userChats(chatId: string): Promise<ChatListResponse>
9
+ abstract userChats(userId: string): Promise<ChatListResponse>
10
10
 
11
11
  /*
12
12
  Send Message to chat