@matchi/api 0.20250514.1 → 0.20250522.1

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.
@@ -1995,8 +1995,8 @@ declare class AuthorizedService {
1995
1995
  */
1996
1996
  static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
1997
1997
  /**
1998
- * Create a new chat
1999
- * @param requestBody Create chat for a session request.
1998
+ * Create a new chat for a playsession or a group of players
1999
+ * @param requestBody Create chat request.
2000
2000
  * @returns createChatResponse Successfully created chat.
2001
2001
  * @throws ApiError
2002
2002
  */
@@ -2010,9 +2010,14 @@ declare class AuthorizedService {
2010
2010
  */
2011
2011
  sessionId?: string;
2012
2012
  /**
2013
- * The ID of the facility to create a chat for
2013
+ * Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
2014
+ * @deprecated
2014
2015
  */
2015
- facilityId: string;
2016
+ facilityId?: string;
2017
+ /**
2018
+ * List of user ids to create a chat for
2019
+ */
2020
+ userIds?: Array<string>;
2016
2021
  }): CancelablePromise<createChatResponse>;
2017
2022
  /**
2018
2023
  * M2M request to create a new chat for a target
@@ -2863,8 +2868,8 @@ declare class UserServiceV1Service {
2863
2868
  */
2864
2869
  static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
2865
2870
  /**
2866
- * Create a new chat
2867
- * @param requestBody Create chat for a session request.
2871
+ * Create a new chat for a playsession or a group of players
2872
+ * @param requestBody Create chat request.
2868
2873
  * @returns createChatResponse Successfully created chat.
2869
2874
  * @throws ApiError
2870
2875
  */
@@ -2878,9 +2883,14 @@ declare class UserServiceV1Service {
2878
2883
  */
2879
2884
  sessionId?: string;
2880
2885
  /**
2881
- * The ID of the facility to create a chat for
2886
+ * Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
2887
+ * @deprecated
2882
2888
  */
2883
- facilityId: string;
2889
+ facilityId?: string;
2890
+ /**
2891
+ * List of user ids to create a chat for
2892
+ */
2893
+ userIds?: Array<string>;
2884
2894
  }): CancelablePromise<createChatResponse>;
2885
2895
  /**
2886
2896
  * M2M request to create a new chat for a target
@@ -1995,8 +1995,8 @@ declare class AuthorizedService {
1995
1995
  */
1996
1996
  static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
1997
1997
  /**
1998
- * Create a new chat
1999
- * @param requestBody Create chat for a session request.
1998
+ * Create a new chat for a playsession or a group of players
1999
+ * @param requestBody Create chat request.
2000
2000
  * @returns createChatResponse Successfully created chat.
2001
2001
  * @throws ApiError
2002
2002
  */
@@ -2010,9 +2010,14 @@ declare class AuthorizedService {
2010
2010
  */
2011
2011
  sessionId?: string;
2012
2012
  /**
2013
- * The ID of the facility to create a chat for
2013
+ * Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
2014
+ * @deprecated
2014
2015
  */
2015
- facilityId: string;
2016
+ facilityId?: string;
2017
+ /**
2018
+ * List of user ids to create a chat for
2019
+ */
2020
+ userIds?: Array<string>;
2016
2021
  }): CancelablePromise<createChatResponse>;
2017
2022
  /**
2018
2023
  * M2M request to create a new chat for a target
@@ -2863,8 +2868,8 @@ declare class UserServiceV1Service {
2863
2868
  */
2864
2869
  static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
2865
2870
  /**
2866
- * Create a new chat
2867
- * @param requestBody Create chat for a session request.
2871
+ * Create a new chat for a playsession or a group of players
2872
+ * @param requestBody Create chat request.
2868
2873
  * @returns createChatResponse Successfully created chat.
2869
2874
  * @throws ApiError
2870
2875
  */
@@ -2878,9 +2883,14 @@ declare class UserServiceV1Service {
2878
2883
  */
2879
2884
  sessionId?: string;
2880
2885
  /**
2881
- * The ID of the facility to create a chat for
2886
+ * Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
2887
+ * @deprecated
2882
2888
  */
2883
- facilityId: string;
2889
+ facilityId?: string;
2890
+ /**
2891
+ * List of user ids to create a chat for
2892
+ */
2893
+ userIds?: Array<string>;
2884
2894
  }): CancelablePromise<createChatResponse>;
2885
2895
  /**
2886
2896
  * M2M request to create a new chat for a target
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchi/api",
3
- "version": "0.20250514.1",
3
+ "version": "0.20250522.1",
4
4
  "main": "dist/main/index.js",
5
5
  "module": "dist/main/index.mjs",
6
6
  "devDependencies": {