@matchi/api 0.20250709.1 → 0.20250730.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.
@@ -894,6 +894,51 @@ type listOfChats = {
894
894
  items: Array<chat>;
895
895
  };
896
896
 
897
+ type userRelation = {
898
+ userId: string;
899
+ /**
900
+ * Returns :
901
+ * * `FRIENDS` - The user is a friend.
902
+ * * `OUTGOING` - The user has sent a friend request to the current user.
903
+ * * `INCOMING` - The user has received a friend request from the current user.
904
+ * * `BLOCKED` - The user is blocked by the current user.
905
+ * A blocked user will not be able to request a friend connection.
906
+ * Unblocking the user will automatically reastablish the prior friend status.
907
+ * * `NO_RELATION` - The user has no ongoing relation with the current user.
908
+ *
909
+ */
910
+ status: userRelation.status;
911
+ /**
912
+ * If the user is connectable, you may try to connect to it, otherwise you cannot.
913
+ */
914
+ isConnectable: boolean;
915
+ };
916
+ declare namespace userRelation {
917
+ /**
918
+ * Returns :
919
+ * * `FRIENDS` - The user is a friend.
920
+ * * `OUTGOING` - The user has sent a friend request to the current user.
921
+ * * `INCOMING` - The user has received a friend request from the current user.
922
+ * * `BLOCKED` - The user is blocked by the current user.
923
+ * A blocked user will not be able to request a friend connection.
924
+ * Unblocking the user will automatically reastablish the prior friend status.
925
+ * * `NO_RELATION` - The user has no ongoing relation with the current user.
926
+ *
927
+ */
928
+ enum status {
929
+ FRIENDS = "FRIENDS",
930
+ OUTGOING = "OUTGOING",
931
+ INCOMING = "INCOMING",
932
+ BLOCKED = "BLOCKED",
933
+ NO_RELATION = "NO_RELATION"
934
+ }
935
+ }
936
+
937
+ type listUserRelations = {
938
+ resultSet: resultSet;
939
+ items: Array<userRelation>;
940
+ };
941
+
897
942
  type membershipRequestItem = {
898
943
  membershipTypeId: number;
899
944
  firstname: string;
@@ -1713,43 +1758,20 @@ type userPublicProfile = {
1713
1758
  sportLevels?: sportLevels;
1714
1759
  };
1715
1760
 
1716
- type userRelation = {
1717
- /**
1718
- * Returns :
1719
- * * `FRIENDS` - The user is a friend.
1720
- * * `OUTGOING` - The user has sent a friend request to the current user.
1721
- * * `INCOMING` - The user has received a friend request from the current user.
1722
- * * `BLOCKED` - The user is blocked by the current user.
1723
- * A blocked user will not be able to request a friend connection.
1724
- * Unblocking the user will automatically reastablish the prior friend status.
1725
- * * `NO_RELATION` - The user has no ongoing relation with the current user.
1726
- *
1727
- */
1728
- status: userRelation.status;
1729
- /**
1730
- * If the user is connectable, you may try to connect to it, otherwise you cannot.
1731
- */
1732
- isConnectable: boolean;
1733
- };
1734
- declare namespace userRelation {
1735
- /**
1736
- * Returns :
1737
- * * `FRIENDS` - The user is a friend.
1738
- * * `OUTGOING` - The user has sent a friend request to the current user.
1739
- * * `INCOMING` - The user has received a friend request from the current user.
1740
- * * `BLOCKED` - The user is blocked by the current user.
1741
- * A blocked user will not be able to request a friend connection.
1742
- * Unblocking the user will automatically reastablish the prior friend status.
1743
- * * `NO_RELATION` - The user has no ongoing relation with the current user.
1744
- *
1745
- */
1746
- enum status {
1747
- FRIENDS = "FRIENDS",
1748
- OUTGOING = "OUTGOING",
1749
- INCOMING = "INCOMING",
1750
- BLOCKED = "BLOCKED",
1751
- NO_RELATION = "NO_RELATION"
1752
- }
1761
+ /**
1762
+ * If provided, only returns user relations which match this status:
1763
+ * Returns :
1764
+ * * `FRIENDS` - The user is a friend.
1765
+ * * `OUTGOING` - The user has sent a friend request to the current user.
1766
+ * * `INCOMING` - The user has received a friend request from the current user.
1767
+ * * `BLOCKED` - The user is blocked by the current user.
1768
+ *
1769
+ */
1770
+ declare enum userRelationStatusParam {
1771
+ FRIENDS = "FRIENDS",
1772
+ OUTGOING = "OUTGOING",
1773
+ INCOMING = "INCOMING",
1774
+ BLOCKED = "BLOCKED"
1753
1775
  }
1754
1776
 
1755
1777
  declare class ActivityServiceV1Service {
@@ -2452,6 +2474,21 @@ declare class AuthorizedService {
2452
2474
  * @throws ApiError
2453
2475
  */
2454
2476
  static removeWaitlistOccasion(id: number): CancelablePromise<any>;
2477
+ /**
2478
+ * Get the relations of the user with a specific relation status
2479
+ * @param offset Number of items to skip before returning the results.
2480
+ * @param limit Maximum number of items to return.
2481
+ * @param userRelationStatus If provided, only returns user relations which match this status:
2482
+ * Returns :
2483
+ * * `FRIENDS` - The user is a friend.
2484
+ * * `OUTGOING` - The user has sent a friend request to the current user.
2485
+ * * `INCOMING` - The user has received a friend request from the current user.
2486
+ * * `BLOCKED` - The user is blocked by the current user.
2487
+ *
2488
+ * @returns listUserRelations Status of friendship, and if you are able to connect to the user
2489
+ * @throws ApiError
2490
+ */
2491
+ static getRelations(offset?: number, limit?: number, userRelationStatus?: 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'BLOCKED'): CancelablePromise<listUserRelations>;
2455
2492
  /**
2456
2493
  * List user's punch cards
2457
2494
  * List user's punch cards
@@ -2942,6 +2979,13 @@ declare class UserServiceV1Service {
2942
2979
  * @throws ApiError
2943
2980
  */
2944
2981
  static getUserProfile(userId: string): CancelablePromise<userPublicProfile>;
2982
+ /**
2983
+ * Get chat profile of requested user
2984
+ * @param userId User ID
2985
+ * @returns userPublicProfile The requested user's chat profile information
2986
+ * @throws ApiError
2987
+ */
2988
+ static getUserChatProfile(userId: string): CancelablePromise<userPublicProfile>;
2945
2989
  /**
2946
2990
  * List all chats for the current user
2947
2991
  * @param userChatStatus If provided, only returns user chats which match this user chat status:
@@ -3062,6 +3106,21 @@ declare class UserServiceV1Service {
3062
3106
  * @throws ApiError
3063
3107
  */
3064
3108
  static updateUsersProfile(requestBody: profile): CancelablePromise<profile>;
3109
+ /**
3110
+ * Get the relations of the user with a specific relation status
3111
+ * @param offset Number of items to skip before returning the results.
3112
+ * @param limit Maximum number of items to return.
3113
+ * @param userRelationStatus If provided, only returns user relations which match this status:
3114
+ * Returns :
3115
+ * * `FRIENDS` - The user is a friend.
3116
+ * * `OUTGOING` - The user has sent a friend request to the current user.
3117
+ * * `INCOMING` - The user has received a friend request from the current user.
3118
+ * * `BLOCKED` - The user is blocked by the current user.
3119
+ *
3120
+ * @returns listUserRelations Status of friendship, and if you are able to connect to the user
3121
+ * @throws ApiError
3122
+ */
3123
+ static getRelations(offset?: number, limit?: number, userRelationStatus?: 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'BLOCKED'): CancelablePromise<listUserRelations>;
3065
3124
  /**
3066
3125
  * Check status of friendship, and if you are able to connect to the user
3067
3126
  * @param userId User ID
@@ -4554,4 +4613,4 @@ declare namespace indexV1 {
4554
4613
  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 };
4555
4614
  }
4556
4615
 
4557
- 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, userChatTargetParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, userRelation, type userValueCard, indexV1 as v1, type valueCardOutcome };
4616
+ 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 listUserRelations, 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, userChatTargetParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, userRelation, userRelationStatusParam, type userValueCard, indexV1 as v1, type valueCardOutcome };
@@ -894,6 +894,51 @@ type listOfChats = {
894
894
  items: Array<chat>;
895
895
  };
896
896
 
897
+ type userRelation = {
898
+ userId: string;
899
+ /**
900
+ * Returns :
901
+ * * `FRIENDS` - The user is a friend.
902
+ * * `OUTGOING` - The user has sent a friend request to the current user.
903
+ * * `INCOMING` - The user has received a friend request from the current user.
904
+ * * `BLOCKED` - The user is blocked by the current user.
905
+ * A blocked user will not be able to request a friend connection.
906
+ * Unblocking the user will automatically reastablish the prior friend status.
907
+ * * `NO_RELATION` - The user has no ongoing relation with the current user.
908
+ *
909
+ */
910
+ status: userRelation.status;
911
+ /**
912
+ * If the user is connectable, you may try to connect to it, otherwise you cannot.
913
+ */
914
+ isConnectable: boolean;
915
+ };
916
+ declare namespace userRelation {
917
+ /**
918
+ * Returns :
919
+ * * `FRIENDS` - The user is a friend.
920
+ * * `OUTGOING` - The user has sent a friend request to the current user.
921
+ * * `INCOMING` - The user has received a friend request from the current user.
922
+ * * `BLOCKED` - The user is blocked by the current user.
923
+ * A blocked user will not be able to request a friend connection.
924
+ * Unblocking the user will automatically reastablish the prior friend status.
925
+ * * `NO_RELATION` - The user has no ongoing relation with the current user.
926
+ *
927
+ */
928
+ enum status {
929
+ FRIENDS = "FRIENDS",
930
+ OUTGOING = "OUTGOING",
931
+ INCOMING = "INCOMING",
932
+ BLOCKED = "BLOCKED",
933
+ NO_RELATION = "NO_RELATION"
934
+ }
935
+ }
936
+
937
+ type listUserRelations = {
938
+ resultSet: resultSet;
939
+ items: Array<userRelation>;
940
+ };
941
+
897
942
  type membershipRequestItem = {
898
943
  membershipTypeId: number;
899
944
  firstname: string;
@@ -1713,43 +1758,20 @@ type userPublicProfile = {
1713
1758
  sportLevels?: sportLevels;
1714
1759
  };
1715
1760
 
1716
- type userRelation = {
1717
- /**
1718
- * Returns :
1719
- * * `FRIENDS` - The user is a friend.
1720
- * * `OUTGOING` - The user has sent a friend request to the current user.
1721
- * * `INCOMING` - The user has received a friend request from the current user.
1722
- * * `BLOCKED` - The user is blocked by the current user.
1723
- * A blocked user will not be able to request a friend connection.
1724
- * Unblocking the user will automatically reastablish the prior friend status.
1725
- * * `NO_RELATION` - The user has no ongoing relation with the current user.
1726
- *
1727
- */
1728
- status: userRelation.status;
1729
- /**
1730
- * If the user is connectable, you may try to connect to it, otherwise you cannot.
1731
- */
1732
- isConnectable: boolean;
1733
- };
1734
- declare namespace userRelation {
1735
- /**
1736
- * Returns :
1737
- * * `FRIENDS` - The user is a friend.
1738
- * * `OUTGOING` - The user has sent a friend request to the current user.
1739
- * * `INCOMING` - The user has received a friend request from the current user.
1740
- * * `BLOCKED` - The user is blocked by the current user.
1741
- * A blocked user will not be able to request a friend connection.
1742
- * Unblocking the user will automatically reastablish the prior friend status.
1743
- * * `NO_RELATION` - The user has no ongoing relation with the current user.
1744
- *
1745
- */
1746
- enum status {
1747
- FRIENDS = "FRIENDS",
1748
- OUTGOING = "OUTGOING",
1749
- INCOMING = "INCOMING",
1750
- BLOCKED = "BLOCKED",
1751
- NO_RELATION = "NO_RELATION"
1752
- }
1761
+ /**
1762
+ * If provided, only returns user relations which match this status:
1763
+ * Returns :
1764
+ * * `FRIENDS` - The user is a friend.
1765
+ * * `OUTGOING` - The user has sent a friend request to the current user.
1766
+ * * `INCOMING` - The user has received a friend request from the current user.
1767
+ * * `BLOCKED` - The user is blocked by the current user.
1768
+ *
1769
+ */
1770
+ declare enum userRelationStatusParam {
1771
+ FRIENDS = "FRIENDS",
1772
+ OUTGOING = "OUTGOING",
1773
+ INCOMING = "INCOMING",
1774
+ BLOCKED = "BLOCKED"
1753
1775
  }
1754
1776
 
1755
1777
  declare class ActivityServiceV1Service {
@@ -2452,6 +2474,21 @@ declare class AuthorizedService {
2452
2474
  * @throws ApiError
2453
2475
  */
2454
2476
  static removeWaitlistOccasion(id: number): CancelablePromise<any>;
2477
+ /**
2478
+ * Get the relations of the user with a specific relation status
2479
+ * @param offset Number of items to skip before returning the results.
2480
+ * @param limit Maximum number of items to return.
2481
+ * @param userRelationStatus If provided, only returns user relations which match this status:
2482
+ * Returns :
2483
+ * * `FRIENDS` - The user is a friend.
2484
+ * * `OUTGOING` - The user has sent a friend request to the current user.
2485
+ * * `INCOMING` - The user has received a friend request from the current user.
2486
+ * * `BLOCKED` - The user is blocked by the current user.
2487
+ *
2488
+ * @returns listUserRelations Status of friendship, and if you are able to connect to the user
2489
+ * @throws ApiError
2490
+ */
2491
+ static getRelations(offset?: number, limit?: number, userRelationStatus?: 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'BLOCKED'): CancelablePromise<listUserRelations>;
2455
2492
  /**
2456
2493
  * List user's punch cards
2457
2494
  * List user's punch cards
@@ -2942,6 +2979,13 @@ declare class UserServiceV1Service {
2942
2979
  * @throws ApiError
2943
2980
  */
2944
2981
  static getUserProfile(userId: string): CancelablePromise<userPublicProfile>;
2982
+ /**
2983
+ * Get chat profile of requested user
2984
+ * @param userId User ID
2985
+ * @returns userPublicProfile The requested user's chat profile information
2986
+ * @throws ApiError
2987
+ */
2988
+ static getUserChatProfile(userId: string): CancelablePromise<userPublicProfile>;
2945
2989
  /**
2946
2990
  * List all chats for the current user
2947
2991
  * @param userChatStatus If provided, only returns user chats which match this user chat status:
@@ -3062,6 +3106,21 @@ declare class UserServiceV1Service {
3062
3106
  * @throws ApiError
3063
3107
  */
3064
3108
  static updateUsersProfile(requestBody: profile): CancelablePromise<profile>;
3109
+ /**
3110
+ * Get the relations of the user with a specific relation status
3111
+ * @param offset Number of items to skip before returning the results.
3112
+ * @param limit Maximum number of items to return.
3113
+ * @param userRelationStatus If provided, only returns user relations which match this status:
3114
+ * Returns :
3115
+ * * `FRIENDS` - The user is a friend.
3116
+ * * `OUTGOING` - The user has sent a friend request to the current user.
3117
+ * * `INCOMING` - The user has received a friend request from the current user.
3118
+ * * `BLOCKED` - The user is blocked by the current user.
3119
+ *
3120
+ * @returns listUserRelations Status of friendship, and if you are able to connect to the user
3121
+ * @throws ApiError
3122
+ */
3123
+ static getRelations(offset?: number, limit?: number, userRelationStatus?: 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'BLOCKED'): CancelablePromise<listUserRelations>;
3065
3124
  /**
3066
3125
  * Check status of friendship, and if you are able to connect to the user
3067
3126
  * @param userId User ID
@@ -4554,4 +4613,4 @@ declare namespace indexV1 {
4554
4613
  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 };
4555
4614
  }
4556
4615
 
4557
- 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, userChatTargetParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, userRelation, type userValueCard, indexV1 as v1, type valueCardOutcome };
4616
+ 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 listUserRelations, 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, userChatTargetParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, userRelation, userRelationStatusParam, type userValueCard, indexV1 as v1, type valueCardOutcome };