@matchi/api 0.20250508.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.
@@ -1966,7 +1966,8 @@ declare class AuthorizedService {
1966
1966
  */
1967
1967
  static createPromoCode(requestBody: createPromoCode): CancelablePromise<promoCode>;
1968
1968
  /**
1969
- * Get users of a booking the current user is allowed to see
1969
+ * @deprecated
1970
+ * Get users of a booking the current user is allowed to see. Deprecated: Use /playsessions/{sessionId} or /playsessions/by-bookingid/{bookingId} to get the booking's users instead
1970
1971
  * @param bookingId id of the booking
1971
1972
  * @returns bookingUsersResponse Booking users details
1972
1973
  * @throws ApiError
@@ -1994,8 +1995,8 @@ declare class AuthorizedService {
1994
1995
  */
1995
1996
  static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
1996
1997
  /**
1997
- * Create a new chat
1998
- * @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.
1999
2000
  * @returns createChatResponse Successfully created chat.
2000
2001
  * @throws ApiError
2001
2002
  */
@@ -2009,9 +2010,14 @@ declare class AuthorizedService {
2009
2010
  */
2010
2011
  sessionId?: string;
2011
2012
  /**
2012
- * 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
2015
+ */
2016
+ facilityId?: string;
2017
+ /**
2018
+ * List of user ids to create a chat for
2013
2019
  */
2014
- facilityId: string;
2020
+ userIds?: Array<string>;
2015
2021
  }): CancelablePromise<createChatResponse>;
2016
2022
  /**
2017
2023
  * M2M request to create a new chat for a target
@@ -2518,7 +2524,8 @@ declare class BookingServiceV1Service {
2518
2524
  */
2519
2525
  static listAvailabilityEndTimesWithRestrictions(resourceId: string, startTime: timeStamp, numberOfSlots?: number, emails?: Array<string>, userIds?: Array<string>): CancelablePromise<endTimesWithRestrictions>;
2520
2526
  /**
2521
- * Get users of a booking the current user is allowed to see
2527
+ * @deprecated
2528
+ * Get users of a booking the current user is allowed to see. Deprecated: Use /playsessions/{sessionId} or /playsessions/by-bookingid/{bookingId} to get the booking's users instead
2522
2529
  * @param bookingId id of the booking
2523
2530
  * @returns bookingUsersResponse Booking users details
2524
2531
  * @throws ApiError
@@ -2861,8 +2868,8 @@ declare class UserServiceV1Service {
2861
2868
  */
2862
2869
  static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
2863
2870
  /**
2864
- * Create a new chat
2865
- * @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.
2866
2873
  * @returns createChatResponse Successfully created chat.
2867
2874
  * @throws ApiError
2868
2875
  */
@@ -2876,9 +2883,14 @@ declare class UserServiceV1Service {
2876
2883
  */
2877
2884
  sessionId?: string;
2878
2885
  /**
2879
- * 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
2888
+ */
2889
+ facilityId?: string;
2890
+ /**
2891
+ * List of user ids to create a chat for
2880
2892
  */
2881
- facilityId: string;
2893
+ userIds?: Array<string>;
2882
2894
  }): CancelablePromise<createChatResponse>;
2883
2895
  /**
2884
2896
  * M2M request to create a new chat for a target
@@ -1966,7 +1966,8 @@ declare class AuthorizedService {
1966
1966
  */
1967
1967
  static createPromoCode(requestBody: createPromoCode): CancelablePromise<promoCode>;
1968
1968
  /**
1969
- * Get users of a booking the current user is allowed to see
1969
+ * @deprecated
1970
+ * Get users of a booking the current user is allowed to see. Deprecated: Use /playsessions/{sessionId} or /playsessions/by-bookingid/{bookingId} to get the booking's users instead
1970
1971
  * @param bookingId id of the booking
1971
1972
  * @returns bookingUsersResponse Booking users details
1972
1973
  * @throws ApiError
@@ -1994,8 +1995,8 @@ declare class AuthorizedService {
1994
1995
  */
1995
1996
  static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
1996
1997
  /**
1997
- * Create a new chat
1998
- * @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.
1999
2000
  * @returns createChatResponse Successfully created chat.
2000
2001
  * @throws ApiError
2001
2002
  */
@@ -2009,9 +2010,14 @@ declare class AuthorizedService {
2009
2010
  */
2010
2011
  sessionId?: string;
2011
2012
  /**
2012
- * 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
2015
+ */
2016
+ facilityId?: string;
2017
+ /**
2018
+ * List of user ids to create a chat for
2013
2019
  */
2014
- facilityId: string;
2020
+ userIds?: Array<string>;
2015
2021
  }): CancelablePromise<createChatResponse>;
2016
2022
  /**
2017
2023
  * M2M request to create a new chat for a target
@@ -2518,7 +2524,8 @@ declare class BookingServiceV1Service {
2518
2524
  */
2519
2525
  static listAvailabilityEndTimesWithRestrictions(resourceId: string, startTime: timeStamp, numberOfSlots?: number, emails?: Array<string>, userIds?: Array<string>): CancelablePromise<endTimesWithRestrictions>;
2520
2526
  /**
2521
- * Get users of a booking the current user is allowed to see
2527
+ * @deprecated
2528
+ * Get users of a booking the current user is allowed to see. Deprecated: Use /playsessions/{sessionId} or /playsessions/by-bookingid/{bookingId} to get the booking's users instead
2522
2529
  * @param bookingId id of the booking
2523
2530
  * @returns bookingUsersResponse Booking users details
2524
2531
  * @throws ApiError
@@ -2861,8 +2868,8 @@ declare class UserServiceV1Service {
2861
2868
  */
2862
2869
  static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
2863
2870
  /**
2864
- * Create a new chat
2865
- * @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.
2866
2873
  * @returns createChatResponse Successfully created chat.
2867
2874
  * @throws ApiError
2868
2875
  */
@@ -2876,9 +2883,14 @@ declare class UserServiceV1Service {
2876
2883
  */
2877
2884
  sessionId?: string;
2878
2885
  /**
2879
- * 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
2888
+ */
2889
+ facilityId?: string;
2890
+ /**
2891
+ * List of user ids to create a chat for
2880
2892
  */
2881
- facilityId: string;
2893
+ userIds?: Array<string>;
2882
2894
  }): CancelablePromise<createChatResponse>;
2883
2895
  /**
2884
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.20250508.1",
3
+ "version": "0.20250522.1",
4
4
  "main": "dist/main/index.js",
5
5
  "module": "dist/main/index.mjs",
6
6
  "devDependencies": {