@matchi/api 0.20250522.1 → 0.20250527.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.
@@ -549,6 +549,10 @@ type chat = {
549
549
  *
550
550
  */
551
551
  status: chat.status;
552
+ /**
553
+ * Datetime when the user last became an active participant in the chat
554
+ */
555
+ activatedAt?: timeStamp;
552
556
  };
553
557
  declare namespace chat {
554
558
  /**
@@ -564,6 +568,27 @@ declare namespace chat {
564
568
  }
565
569
  }
566
570
 
571
+ type chatAuth = {
572
+ authToken: string;
573
+ createdAt: timeStamp;
574
+ };
575
+
576
+ type chatCreation = {
577
+ id: string;
578
+ name: string;
579
+ type: chatCreation.type;
580
+ createdAt: timeStamp;
581
+ membersCount: number;
582
+ conversationId?: string;
583
+ };
584
+ declare namespace chatCreation {
585
+ enum type {
586
+ PUBLIC = "public",
587
+ PRIVATE = "private",
588
+ PASSWORD = "password"
589
+ }
590
+ }
591
+
567
592
  declare enum chatTarget {
568
593
  PLAYSESSION = "playsession"
569
594
  }
@@ -698,22 +723,6 @@ type createBookingEventExternal = {
698
723
  paymentId: number;
699
724
  };
700
725
 
701
- type createChatResponse = {
702
- id: string;
703
- name: string;
704
- type: createChatResponse.type;
705
- createdAt: timeStamp;
706
- membersCount: number;
707
- conversationId?: string;
708
- };
709
- declare namespace createChatResponse {
710
- enum type {
711
- PUBLIC = "public",
712
- PRIVATE = "private",
713
- PASSWORD = "password"
714
- }
715
- }
716
-
717
726
  type createPromoCode = {
718
727
  /**
719
728
  * Between 3 and 40 characters, should not contain leading or trailing whitespace
@@ -865,13 +874,6 @@ type friendRelationsResponse = {
865
874
  items: Array<userId>;
866
875
  };
867
876
 
868
- type getChatAuthResponse = {
869
- authToken: string;
870
- createdAt: timeStamp;
871
- };
872
-
873
- type getChatResponse = chat;
874
-
875
877
  type hideFullyBooked = boolean;
876
878
 
877
879
  type internalPaymentMethod = {
@@ -884,7 +886,7 @@ type internalPaymentMethod = {
884
886
  */
885
887
  type limitParam = number;
886
888
 
887
- type listChatsResponse = {
889
+ type listOfChats = {
888
890
  resultSet: resultSet;
889
891
  items: Array<chat>;
890
892
  };
@@ -1990,14 +1992,14 @@ declare class AuthorizedService {
1990
1992
  *
1991
1993
  * @param offset Number of items to skip before returning the results.
1992
1994
  * @param limit Maximum number of items to return.
1993
- * @returns listChatsResponse List of user chats based on the provided filters
1995
+ * @returns listOfChats List of user chats based on the provided filters
1994
1996
  * @throws ApiError
1995
1997
  */
1996
- static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
1998
+ static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listOfChats>;
1997
1999
  /**
1998
2000
  * Create a new chat for a playsession or a group of players
1999
2001
  * @param requestBody Create chat request.
2000
- * @returns createChatResponse Successfully created chat.
2002
+ * @returns chatCreation Successfully created chat.
2001
2003
  * @throws ApiError
2002
2004
  */
2003
2005
  static createChat(requestBody: {
@@ -2018,7 +2020,7 @@ declare class AuthorizedService {
2018
2020
  * List of user ids to create a chat for
2019
2021
  */
2020
2022
  userIds?: Array<string>;
2021
- }): CancelablePromise<createChatResponse>;
2023
+ }): CancelablePromise<chatCreation>;
2022
2024
  /**
2023
2025
  * M2M request to create a new chat for a target
2024
2026
  * @param requestBody Create chat for a target request.
@@ -2039,6 +2041,13 @@ declare class AuthorizedService {
2039
2041
  * @throws ApiError
2040
2042
  */
2041
2043
  static getTargetChat(target: chatTarget, targetId: string): CancelablePromise<chat>;
2044
+ /**
2045
+ * Get the chat of the group of users
2046
+ * @param userIds Comma-separated list of user IDs to find the chat for
2047
+ * @returns chat Returns the chat of the group of users
2048
+ * @throws ApiError
2049
+ */
2050
+ static getUserGroupChat(userIds: string): CancelablePromise<chat>;
2042
2051
  /**
2043
2052
  * Add user to chat or change existing's user status to active
2044
2053
  * @param chatId The unique identifier for the chat
@@ -2057,10 +2066,10 @@ declare class AuthorizedService {
2057
2066
  static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
2058
2067
  /**
2059
2068
  * Get chat authorization token
2060
- * @returns getChatAuthResponse Chat authorization token
2069
+ * @returns chatAuth Chat authorization token
2061
2070
  * @throws ApiError
2062
2071
  */
2063
- static getChatAuth(): CancelablePromise<getChatAuthResponse>;
2072
+ static getChatAuth(): CancelablePromise<chatAuth>;
2064
2073
  /**
2065
2074
  * Get details of currently authorized user
2066
2075
  * @returns userInfo The requesting user's profile information
@@ -2863,14 +2872,14 @@ declare class UserServiceV1Service {
2863
2872
  *
2864
2873
  * @param offset Number of items to skip before returning the results.
2865
2874
  * @param limit Maximum number of items to return.
2866
- * @returns listChatsResponse List of user chats based on the provided filters
2875
+ * @returns listOfChats List of user chats based on the provided filters
2867
2876
  * @throws ApiError
2868
2877
  */
2869
- static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
2878
+ static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listOfChats>;
2870
2879
  /**
2871
2880
  * Create a new chat for a playsession or a group of players
2872
2881
  * @param requestBody Create chat request.
2873
- * @returns createChatResponse Successfully created chat.
2882
+ * @returns chatCreation Successfully created chat.
2874
2883
  * @throws ApiError
2875
2884
  */
2876
2885
  static createChat(requestBody: {
@@ -2891,7 +2900,7 @@ declare class UserServiceV1Service {
2891
2900
  * List of user ids to create a chat for
2892
2901
  */
2893
2902
  userIds?: Array<string>;
2894
- }): CancelablePromise<createChatResponse>;
2903
+ }): CancelablePromise<chatCreation>;
2895
2904
  /**
2896
2905
  * M2M request to create a new chat for a target
2897
2906
  * @param requestBody Create chat for a target request.
@@ -2912,6 +2921,13 @@ declare class UserServiceV1Service {
2912
2921
  * @throws ApiError
2913
2922
  */
2914
2923
  static getTargetChat(target: chatTarget, targetId: string): CancelablePromise<chat>;
2924
+ /**
2925
+ * Get the chat of the group of users
2926
+ * @param userIds Comma-separated list of user IDs to find the chat for
2927
+ * @returns chat Returns the chat of the group of users
2928
+ * @throws ApiError
2929
+ */
2930
+ static getUserGroupChat(userIds: string): CancelablePromise<chat>;
2915
2931
  /**
2916
2932
  * Add user to chat or change existing's user status to active
2917
2933
  * @param chatId The unique identifier for the chat
@@ -2930,10 +2946,10 @@ declare class UserServiceV1Service {
2930
2946
  static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
2931
2947
  /**
2932
2948
  * Get chat authorization token
2933
- * @returns getChatAuthResponse Chat authorization token
2949
+ * @returns chatAuth Chat authorization token
2934
2950
  * @throws ApiError
2935
2951
  */
2936
- static getChatAuth(): CancelablePromise<getChatAuthResponse>;
2952
+ static getChatAuth(): CancelablePromise<chatAuth>;
2937
2953
  /**
2938
2954
  * Handle a message from Cometchat
2939
2955
  * @param requestBody Input needed to create a new chat notification
@@ -4425,4 +4441,4 @@ declare namespace indexV1 {
4425
4441
  export { type indexV1_AddBookingData as AddBookingData, type indexV1_AddBookingError as AddBookingError, type indexV1_AddBookingErrors as AddBookingErrors, type indexV1_AddBookingResponse as AddBookingResponse, type indexV1_AddBookingResponses as AddBookingResponses, type indexV1_Booking as Booking, type indexV1_ClientOptions as ClientOptions, type indexV1_CreateBooking as CreateBooking, type indexV1_CreateFacilityOfferOrderData as CreateFacilityOfferOrderData, type indexV1_CreateFacilityOfferOrderError as CreateFacilityOfferOrderError, type indexV1_CreateFacilityOfferOrderErrors as CreateFacilityOfferOrderErrors, type indexV1_CreateFacilityOfferOrderResponse as CreateFacilityOfferOrderResponse, type indexV1_CreateFacilityOfferOrderResponses as CreateFacilityOfferOrderResponses, type indexV1_DeleteBookingData as DeleteBookingData, type indexV1_DeleteBookingError as DeleteBookingError, type indexV1_DeleteBookingErrors as DeleteBookingErrors, type indexV1_DeleteBookingResponse as DeleteBookingResponse, type indexV1_DeleteBookingResponses as DeleteBookingResponses, type indexV1_FacilityIdPath as FacilityIdPath, type indexV1_FacilityOffer as FacilityOffer, type indexV1_FacilityOfferCondition as FacilityOfferCondition, type indexV1_FacilityOfferConditionActivities as FacilityOfferConditionActivities, type indexV1_FacilityOfferConditionCourts as FacilityOfferConditionCourts, type indexV1_FacilityOfferConditionDate as FacilityOfferConditionDate, type indexV1_FacilityOfferConditionHoursinadvance as FacilityOfferConditionHoursinadvance, type indexV1_FacilityOfferConditionTime as FacilityOfferConditionTime, type indexV1_FacilityOfferConditionWeekdays as FacilityOfferConditionWeekdays, type indexV1_FacilityOfferList as FacilityOfferList, type indexV1_FacilityOfferOrder as FacilityOfferOrder, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, type indexV1_FindBookingByIdData as FindBookingByIdData, type indexV1_FindBookingByIdError as FindBookingByIdError, type indexV1_FindBookingByIdErrors as FindBookingByIdErrors, type indexV1_FindBookingByIdResponse as FindBookingByIdResponse, type indexV1_FindBookingByIdResponses as FindBookingByIdResponses, type indexV1_FindBookingsData as FindBookingsData, type indexV1_FindBookingsError as FindBookingsError, type indexV1_FindBookingsErrors as FindBookingsErrors, type indexV1_FindBookingsResponse as FindBookingsResponse, type indexV1_FindBookingsResponses as FindBookingsResponses, type indexV1_Guest as Guest, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Player as Player, type indexV1_UpdateBooking as UpdateBooking, type indexV1_UpdateBookingData as UpdateBookingData, type indexV1_UpdateBookingError as UpdateBookingError, type indexV1_UpdateBookingErrors as UpdateBookingErrors, type indexV1_UpdateBookingResponse as UpdateBookingResponse, type indexV1_UpdateBookingResponses as UpdateBookingResponses, indexV1_addBooking as addBooking, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_deleteBooking as deleteBooking, indexV1_findBookingById as findBookingById, indexV1_findBookings as findBookings, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_updateBooking as updateBooking };
4426
4442
  }
4427
4443
 
4428
- export { type ActivityEvent, ActivityServiceV1Service, type AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, type Error$1 as Error, type ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, type OccasionCourt, OpenAPI, type OpenAPIConfig, type OrderPaymentDetails, type OrderPriceDetails, type OrderSplitPayments, type OrderSplitPaymentsRow, type OrderSplitPrice, type PaymentMethodPaymentRefund, PlaySessionServiceV1Service, type ServiceFeeSettings, UserServiceV1Service, access, type activitiesResponse, type activity, type activityOccasion, type activityType, type actor, type address, type adyenGiftCardOutcome, type apiClient, type apiClientInput, type apiClientListResponse, type article, type articleMetadata, type availability, type booking, type bookingGroup, bookingRestriction, type bookingRestrictions, bookingSubType, bookingSubscription, type bookingSubscriptionPayment, type bookingUser, bookingUserStatus, type bookingUsersResponse, type bookingsResponse, type camera, cancellationPolicy, chat, chatTarget, type checkoutResponse, clientType, type competitionAdminAccount, type config, type configuration, type configurationEntry, type configurationMap, type configurationResource, type coupon, type createBookingEventExternal, createChatResponse, type createPromoCode, type dailyQuota, type days, type deleteBookingEventExternal, directionParam, type endTimePriceDetail, type endTimesWithRestrictions, type exposeOccasions, type facilitiesResponse, type facility, type facilityConfiguration, type facilityDetails, type friendRelationResponse, type friendRelationsResponse, type getChatAuthResponse, type getChatResponse, type giftCard, type hideFullyBooked, type hours, type internalPaymentMethod, type levelRange, type limitParam, type listChatsResponse, type membershipRequest, type membershipRequestItem, type monthlyUsage, months, type newMessageNotification, notificationChatGroup, type notificationChatMember, notificationEntity, type notificationMessage, type notificationMessageData, type occasionBooking, type occasionParticipant, type offsetParam, type openingHours, type order, type orderSplitBaseResponse, type participants, type payment, type paymentDetails, type paymentInfo, type paymentInterval, type paymentMethodPaymentDetail, type paymentMethods, type paymentType, type paymentsResponse, pendingPayment, type playSession, type playSessionBooking, type playSessionBookingPayment, type playSessionResponse, playSessionSettings, playSessionUser, type playerLevels, playerStatusParam, playingUserResponse, type playingUsersResponse, type playsessionUserDetails, type position, type price, type priceDetails, type priceDetailsActivity, type profile, type promoCode, type promoCodeOutcome, type pspSession, type resource, type resultSet, type serviceFee, type sportLevels, type timeOfDay, type timeStamp, type usagePlan, userChatStatusParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, type userValueCard, indexV1 as v1, type valueCardOutcome };
4444
+ export { type ActivityEvent, ActivityServiceV1Service, type AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, type Error$1 as Error, type ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, type OccasionCourt, OpenAPI, type OpenAPIConfig, type OrderPaymentDetails, type OrderPriceDetails, type OrderSplitPayments, type OrderSplitPaymentsRow, type OrderSplitPrice, type PaymentMethodPaymentRefund, PlaySessionServiceV1Service, type ServiceFeeSettings, UserServiceV1Service, access, type activitiesResponse, type activity, type activityOccasion, type activityType, type actor, type address, type adyenGiftCardOutcome, type apiClient, type apiClientInput, type apiClientListResponse, type article, type articleMetadata, type availability, type booking, type bookingGroup, bookingRestriction, type bookingRestrictions, bookingSubType, bookingSubscription, type bookingSubscriptionPayment, type bookingUser, bookingUserStatus, type bookingUsersResponse, type bookingsResponse, type camera, cancellationPolicy, chat, type chatAuth, chatCreation, chatTarget, type checkoutResponse, clientType, type competitionAdminAccount, type config, type configuration, type configurationEntry, type configurationMap, type configurationResource, type coupon, type createBookingEventExternal, type createPromoCode, type dailyQuota, type days, type deleteBookingEventExternal, directionParam, type endTimePriceDetail, type endTimesWithRestrictions, type exposeOccasions, type facilitiesResponse, type facility, type facilityConfiguration, type facilityDetails, type friendRelationResponse, type friendRelationsResponse, type giftCard, type hideFullyBooked, type hours, type internalPaymentMethod, type levelRange, type limitParam, type listOfChats, type membershipRequest, type membershipRequestItem, type monthlyUsage, months, type newMessageNotification, notificationChatGroup, type notificationChatMember, notificationEntity, type notificationMessage, type notificationMessageData, type occasionBooking, type occasionParticipant, type offsetParam, type openingHours, type order, type orderSplitBaseResponse, type participants, type payment, type paymentDetails, type paymentInfo, type paymentInterval, type paymentMethodPaymentDetail, type paymentMethods, type paymentType, type paymentsResponse, pendingPayment, type playSession, type playSessionBooking, type playSessionBookingPayment, type playSessionResponse, playSessionSettings, playSessionUser, type playerLevels, playerStatusParam, playingUserResponse, type playingUsersResponse, type playsessionUserDetails, type position, type price, type priceDetails, type priceDetailsActivity, type profile, type promoCode, type promoCodeOutcome, type pspSession, type resource, type resultSet, type serviceFee, type sportLevels, type timeOfDay, type timeStamp, type usagePlan, userChatStatusParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, type userValueCard, indexV1 as v1, type valueCardOutcome };
@@ -549,6 +549,10 @@ type chat = {
549
549
  *
550
550
  */
551
551
  status: chat.status;
552
+ /**
553
+ * Datetime when the user last became an active participant in the chat
554
+ */
555
+ activatedAt?: timeStamp;
552
556
  };
553
557
  declare namespace chat {
554
558
  /**
@@ -564,6 +568,27 @@ declare namespace chat {
564
568
  }
565
569
  }
566
570
 
571
+ type chatAuth = {
572
+ authToken: string;
573
+ createdAt: timeStamp;
574
+ };
575
+
576
+ type chatCreation = {
577
+ id: string;
578
+ name: string;
579
+ type: chatCreation.type;
580
+ createdAt: timeStamp;
581
+ membersCount: number;
582
+ conversationId?: string;
583
+ };
584
+ declare namespace chatCreation {
585
+ enum type {
586
+ PUBLIC = "public",
587
+ PRIVATE = "private",
588
+ PASSWORD = "password"
589
+ }
590
+ }
591
+
567
592
  declare enum chatTarget {
568
593
  PLAYSESSION = "playsession"
569
594
  }
@@ -698,22 +723,6 @@ type createBookingEventExternal = {
698
723
  paymentId: number;
699
724
  };
700
725
 
701
- type createChatResponse = {
702
- id: string;
703
- name: string;
704
- type: createChatResponse.type;
705
- createdAt: timeStamp;
706
- membersCount: number;
707
- conversationId?: string;
708
- };
709
- declare namespace createChatResponse {
710
- enum type {
711
- PUBLIC = "public",
712
- PRIVATE = "private",
713
- PASSWORD = "password"
714
- }
715
- }
716
-
717
726
  type createPromoCode = {
718
727
  /**
719
728
  * Between 3 and 40 characters, should not contain leading or trailing whitespace
@@ -865,13 +874,6 @@ type friendRelationsResponse = {
865
874
  items: Array<userId>;
866
875
  };
867
876
 
868
- type getChatAuthResponse = {
869
- authToken: string;
870
- createdAt: timeStamp;
871
- };
872
-
873
- type getChatResponse = chat;
874
-
875
877
  type hideFullyBooked = boolean;
876
878
 
877
879
  type internalPaymentMethod = {
@@ -884,7 +886,7 @@ type internalPaymentMethod = {
884
886
  */
885
887
  type limitParam = number;
886
888
 
887
- type listChatsResponse = {
889
+ type listOfChats = {
888
890
  resultSet: resultSet;
889
891
  items: Array<chat>;
890
892
  };
@@ -1990,14 +1992,14 @@ declare class AuthorizedService {
1990
1992
  *
1991
1993
  * @param offset Number of items to skip before returning the results.
1992
1994
  * @param limit Maximum number of items to return.
1993
- * @returns listChatsResponse List of user chats based on the provided filters
1995
+ * @returns listOfChats List of user chats based on the provided filters
1994
1996
  * @throws ApiError
1995
1997
  */
1996
- static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
1998
+ static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listOfChats>;
1997
1999
  /**
1998
2000
  * Create a new chat for a playsession or a group of players
1999
2001
  * @param requestBody Create chat request.
2000
- * @returns createChatResponse Successfully created chat.
2002
+ * @returns chatCreation Successfully created chat.
2001
2003
  * @throws ApiError
2002
2004
  */
2003
2005
  static createChat(requestBody: {
@@ -2018,7 +2020,7 @@ declare class AuthorizedService {
2018
2020
  * List of user ids to create a chat for
2019
2021
  */
2020
2022
  userIds?: Array<string>;
2021
- }): CancelablePromise<createChatResponse>;
2023
+ }): CancelablePromise<chatCreation>;
2022
2024
  /**
2023
2025
  * M2M request to create a new chat for a target
2024
2026
  * @param requestBody Create chat for a target request.
@@ -2039,6 +2041,13 @@ declare class AuthorizedService {
2039
2041
  * @throws ApiError
2040
2042
  */
2041
2043
  static getTargetChat(target: chatTarget, targetId: string): CancelablePromise<chat>;
2044
+ /**
2045
+ * Get the chat of the group of users
2046
+ * @param userIds Comma-separated list of user IDs to find the chat for
2047
+ * @returns chat Returns the chat of the group of users
2048
+ * @throws ApiError
2049
+ */
2050
+ static getUserGroupChat(userIds: string): CancelablePromise<chat>;
2042
2051
  /**
2043
2052
  * Add user to chat or change existing's user status to active
2044
2053
  * @param chatId The unique identifier for the chat
@@ -2057,10 +2066,10 @@ declare class AuthorizedService {
2057
2066
  static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
2058
2067
  /**
2059
2068
  * Get chat authorization token
2060
- * @returns getChatAuthResponse Chat authorization token
2069
+ * @returns chatAuth Chat authorization token
2061
2070
  * @throws ApiError
2062
2071
  */
2063
- static getChatAuth(): CancelablePromise<getChatAuthResponse>;
2072
+ static getChatAuth(): CancelablePromise<chatAuth>;
2064
2073
  /**
2065
2074
  * Get details of currently authorized user
2066
2075
  * @returns userInfo The requesting user's profile information
@@ -2863,14 +2872,14 @@ declare class UserServiceV1Service {
2863
2872
  *
2864
2873
  * @param offset Number of items to skip before returning the results.
2865
2874
  * @param limit Maximum number of items to return.
2866
- * @returns listChatsResponse List of user chats based on the provided filters
2875
+ * @returns listOfChats List of user chats based on the provided filters
2867
2876
  * @throws ApiError
2868
2877
  */
2869
- static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listChatsResponse>;
2878
+ static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listOfChats>;
2870
2879
  /**
2871
2880
  * Create a new chat for a playsession or a group of players
2872
2881
  * @param requestBody Create chat request.
2873
- * @returns createChatResponse Successfully created chat.
2882
+ * @returns chatCreation Successfully created chat.
2874
2883
  * @throws ApiError
2875
2884
  */
2876
2885
  static createChat(requestBody: {
@@ -2891,7 +2900,7 @@ declare class UserServiceV1Service {
2891
2900
  * List of user ids to create a chat for
2892
2901
  */
2893
2902
  userIds?: Array<string>;
2894
- }): CancelablePromise<createChatResponse>;
2903
+ }): CancelablePromise<chatCreation>;
2895
2904
  /**
2896
2905
  * M2M request to create a new chat for a target
2897
2906
  * @param requestBody Create chat for a target request.
@@ -2912,6 +2921,13 @@ declare class UserServiceV1Service {
2912
2921
  * @throws ApiError
2913
2922
  */
2914
2923
  static getTargetChat(target: chatTarget, targetId: string): CancelablePromise<chat>;
2924
+ /**
2925
+ * Get the chat of the group of users
2926
+ * @param userIds Comma-separated list of user IDs to find the chat for
2927
+ * @returns chat Returns the chat of the group of users
2928
+ * @throws ApiError
2929
+ */
2930
+ static getUserGroupChat(userIds: string): CancelablePromise<chat>;
2915
2931
  /**
2916
2932
  * Add user to chat or change existing's user status to active
2917
2933
  * @param chatId The unique identifier for the chat
@@ -2930,10 +2946,10 @@ declare class UserServiceV1Service {
2930
2946
  static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
2931
2947
  /**
2932
2948
  * Get chat authorization token
2933
- * @returns getChatAuthResponse Chat authorization token
2949
+ * @returns chatAuth Chat authorization token
2934
2950
  * @throws ApiError
2935
2951
  */
2936
- static getChatAuth(): CancelablePromise<getChatAuthResponse>;
2952
+ static getChatAuth(): CancelablePromise<chatAuth>;
2937
2953
  /**
2938
2954
  * Handle a message from Cometchat
2939
2955
  * @param requestBody Input needed to create a new chat notification
@@ -4425,4 +4441,4 @@ declare namespace indexV1 {
4425
4441
  export { type indexV1_AddBookingData as AddBookingData, type indexV1_AddBookingError as AddBookingError, type indexV1_AddBookingErrors as AddBookingErrors, type indexV1_AddBookingResponse as AddBookingResponse, type indexV1_AddBookingResponses as AddBookingResponses, type indexV1_Booking as Booking, type indexV1_ClientOptions as ClientOptions, type indexV1_CreateBooking as CreateBooking, type indexV1_CreateFacilityOfferOrderData as CreateFacilityOfferOrderData, type indexV1_CreateFacilityOfferOrderError as CreateFacilityOfferOrderError, type indexV1_CreateFacilityOfferOrderErrors as CreateFacilityOfferOrderErrors, type indexV1_CreateFacilityOfferOrderResponse as CreateFacilityOfferOrderResponse, type indexV1_CreateFacilityOfferOrderResponses as CreateFacilityOfferOrderResponses, type indexV1_DeleteBookingData as DeleteBookingData, type indexV1_DeleteBookingError as DeleteBookingError, type indexV1_DeleteBookingErrors as DeleteBookingErrors, type indexV1_DeleteBookingResponse as DeleteBookingResponse, type indexV1_DeleteBookingResponses as DeleteBookingResponses, type indexV1_FacilityIdPath as FacilityIdPath, type indexV1_FacilityOffer as FacilityOffer, type indexV1_FacilityOfferCondition as FacilityOfferCondition, type indexV1_FacilityOfferConditionActivities as FacilityOfferConditionActivities, type indexV1_FacilityOfferConditionCourts as FacilityOfferConditionCourts, type indexV1_FacilityOfferConditionDate as FacilityOfferConditionDate, type indexV1_FacilityOfferConditionHoursinadvance as FacilityOfferConditionHoursinadvance, type indexV1_FacilityOfferConditionTime as FacilityOfferConditionTime, type indexV1_FacilityOfferConditionWeekdays as FacilityOfferConditionWeekdays, type indexV1_FacilityOfferList as FacilityOfferList, type indexV1_FacilityOfferOrder as FacilityOfferOrder, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, type indexV1_FindBookingByIdData as FindBookingByIdData, type indexV1_FindBookingByIdError as FindBookingByIdError, type indexV1_FindBookingByIdErrors as FindBookingByIdErrors, type indexV1_FindBookingByIdResponse as FindBookingByIdResponse, type indexV1_FindBookingByIdResponses as FindBookingByIdResponses, type indexV1_FindBookingsData as FindBookingsData, type indexV1_FindBookingsError as FindBookingsError, type indexV1_FindBookingsErrors as FindBookingsErrors, type indexV1_FindBookingsResponse as FindBookingsResponse, type indexV1_FindBookingsResponses as FindBookingsResponses, type indexV1_Guest as Guest, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Player as Player, type indexV1_UpdateBooking as UpdateBooking, type indexV1_UpdateBookingData as UpdateBookingData, type indexV1_UpdateBookingError as UpdateBookingError, type indexV1_UpdateBookingErrors as UpdateBookingErrors, type indexV1_UpdateBookingResponse as UpdateBookingResponse, type indexV1_UpdateBookingResponses as UpdateBookingResponses, indexV1_addBooking as addBooking, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_deleteBooking as deleteBooking, indexV1_findBookingById as findBookingById, indexV1_findBookings as findBookings, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_updateBooking as updateBooking };
4426
4442
  }
4427
4443
 
4428
- export { type ActivityEvent, ActivityServiceV1Service, type AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, type Error$1 as Error, type ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, type OccasionCourt, OpenAPI, type OpenAPIConfig, type OrderPaymentDetails, type OrderPriceDetails, type OrderSplitPayments, type OrderSplitPaymentsRow, type OrderSplitPrice, type PaymentMethodPaymentRefund, PlaySessionServiceV1Service, type ServiceFeeSettings, UserServiceV1Service, access, type activitiesResponse, type activity, type activityOccasion, type activityType, type actor, type address, type adyenGiftCardOutcome, type apiClient, type apiClientInput, type apiClientListResponse, type article, type articleMetadata, type availability, type booking, type bookingGroup, bookingRestriction, type bookingRestrictions, bookingSubType, bookingSubscription, type bookingSubscriptionPayment, type bookingUser, bookingUserStatus, type bookingUsersResponse, type bookingsResponse, type camera, cancellationPolicy, chat, chatTarget, type checkoutResponse, clientType, type competitionAdminAccount, type config, type configuration, type configurationEntry, type configurationMap, type configurationResource, type coupon, type createBookingEventExternal, createChatResponse, type createPromoCode, type dailyQuota, type days, type deleteBookingEventExternal, directionParam, type endTimePriceDetail, type endTimesWithRestrictions, type exposeOccasions, type facilitiesResponse, type facility, type facilityConfiguration, type facilityDetails, type friendRelationResponse, type friendRelationsResponse, type getChatAuthResponse, type getChatResponse, type giftCard, type hideFullyBooked, type hours, type internalPaymentMethod, type levelRange, type limitParam, type listChatsResponse, type membershipRequest, type membershipRequestItem, type monthlyUsage, months, type newMessageNotification, notificationChatGroup, type notificationChatMember, notificationEntity, type notificationMessage, type notificationMessageData, type occasionBooking, type occasionParticipant, type offsetParam, type openingHours, type order, type orderSplitBaseResponse, type participants, type payment, type paymentDetails, type paymentInfo, type paymentInterval, type paymentMethodPaymentDetail, type paymentMethods, type paymentType, type paymentsResponse, pendingPayment, type playSession, type playSessionBooking, type playSessionBookingPayment, type playSessionResponse, playSessionSettings, playSessionUser, type playerLevels, playerStatusParam, playingUserResponse, type playingUsersResponse, type playsessionUserDetails, type position, type price, type priceDetails, type priceDetailsActivity, type profile, type promoCode, type promoCodeOutcome, type pspSession, type resource, type resultSet, type serviceFee, type sportLevels, type timeOfDay, type timeStamp, type usagePlan, userChatStatusParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, type userValueCard, indexV1 as v1, type valueCardOutcome };
4444
+ export { type ActivityEvent, ActivityServiceV1Service, type AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, type Error$1 as Error, type ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, type OccasionCourt, OpenAPI, type OpenAPIConfig, type OrderPaymentDetails, type OrderPriceDetails, type OrderSplitPayments, type OrderSplitPaymentsRow, type OrderSplitPrice, type PaymentMethodPaymentRefund, PlaySessionServiceV1Service, type ServiceFeeSettings, UserServiceV1Service, access, type activitiesResponse, type activity, type activityOccasion, type activityType, type actor, type address, type adyenGiftCardOutcome, type apiClient, type apiClientInput, type apiClientListResponse, type article, type articleMetadata, type availability, type booking, type bookingGroup, bookingRestriction, type bookingRestrictions, bookingSubType, bookingSubscription, type bookingSubscriptionPayment, type bookingUser, bookingUserStatus, type bookingUsersResponse, type bookingsResponse, type camera, cancellationPolicy, chat, type chatAuth, chatCreation, chatTarget, type checkoutResponse, clientType, type competitionAdminAccount, type config, type configuration, type configurationEntry, type configurationMap, type configurationResource, type coupon, type createBookingEventExternal, type createPromoCode, type dailyQuota, type days, type deleteBookingEventExternal, directionParam, type endTimePriceDetail, type endTimesWithRestrictions, type exposeOccasions, type facilitiesResponse, type facility, type facilityConfiguration, type facilityDetails, type friendRelationResponse, type friendRelationsResponse, type giftCard, type hideFullyBooked, type hours, type internalPaymentMethod, type levelRange, type limitParam, type listOfChats, type membershipRequest, type membershipRequestItem, type monthlyUsage, months, type newMessageNotification, notificationChatGroup, type notificationChatMember, notificationEntity, type notificationMessage, type notificationMessageData, type occasionBooking, type occasionParticipant, type offsetParam, type openingHours, type order, type orderSplitBaseResponse, type participants, type payment, type paymentDetails, type paymentInfo, type paymentInterval, type paymentMethodPaymentDetail, type paymentMethods, type paymentType, type paymentsResponse, pendingPayment, type playSession, type playSessionBooking, type playSessionBookingPayment, type playSessionResponse, playSessionSettings, playSessionUser, type playerLevels, playerStatusParam, playingUserResponse, type playingUsersResponse, type playsessionUserDetails, type position, type price, type priceDetails, type priceDetailsActivity, type profile, type promoCode, type promoCodeOutcome, type pspSession, type resource, type resultSet, type serviceFee, type sportLevels, type timeOfDay, type timeStamp, type usagePlan, userChatStatusParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, type userValueCard, indexV1 as v1, type valueCardOutcome };