@matchi/api 0.20250703.1 → 0.20250715.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;
@@ -1545,6 +1590,10 @@ type priceDetails = {
1545
1590
  paymentMethods: Array<paymentType>;
1546
1591
  facilityUsesSplitPrices: boolean;
1547
1592
  facilityFeatureCalculateMultiplePlayersPrice?: boolean;
1593
+ /**
1594
+ * A list of allowed split sizes for the booking
1595
+ */
1596
+ allowedSplits?: Array<number>;
1548
1597
  };
1549
1598
 
1550
1599
  type priceDetailsActivity = {
@@ -1709,43 +1758,20 @@ type userPublicProfile = {
1709
1758
  sportLevels?: sportLevels;
1710
1759
  };
1711
1760
 
1712
- type userRelation = {
1713
- /**
1714
- * Returns :
1715
- * * `FRIENDS` - The user is a friend.
1716
- * * `OUTGOING` - The user has sent a friend request to the current user.
1717
- * * `INCOMING` - The user has received a friend request from the current user.
1718
- * * `BLOCKED` - The user is blocked by the current user.
1719
- * A blocked user will not be able to request a friend connection.
1720
- * Unblocking the user will automatically reastablish the prior friend status.
1721
- * * `NO_RELATION` - The user has no ongoing relation with the current user.
1722
- *
1723
- */
1724
- status: userRelation.status;
1725
- /**
1726
- * If the user is connectable, you may try to connect to it, otherwise you cannot.
1727
- */
1728
- isConnectable: boolean;
1729
- };
1730
- declare namespace userRelation {
1731
- /**
1732
- * Returns :
1733
- * * `FRIENDS` - The user is a friend.
1734
- * * `OUTGOING` - The user has sent a friend request to the current user.
1735
- * * `INCOMING` - The user has received a friend request from the current user.
1736
- * * `BLOCKED` - The user is blocked by the current user.
1737
- * A blocked user will not be able to request a friend connection.
1738
- * Unblocking the user will automatically reastablish the prior friend status.
1739
- * * `NO_RELATION` - The user has no ongoing relation with the current user.
1740
- *
1741
- */
1742
- enum status {
1743
- FRIENDS = "FRIENDS",
1744
- OUTGOING = "OUTGOING",
1745
- INCOMING = "INCOMING",
1746
- BLOCKED = "BLOCKED",
1747
- NO_RELATION = "NO_RELATION"
1748
- }
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"
1749
1775
  }
1750
1776
 
1751
1777
  declare class ActivityServiceV1Service {
@@ -2448,6 +2474,21 @@ declare class AuthorizedService {
2448
2474
  * @throws ApiError
2449
2475
  */
2450
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>;
2451
2492
  /**
2452
2493
  * List user's punch cards
2453
2494
  * List user's punch cards
@@ -3058,6 +3099,21 @@ declare class UserServiceV1Service {
3058
3099
  * @throws ApiError
3059
3100
  */
3060
3101
  static updateUsersProfile(requestBody: profile): CancelablePromise<profile>;
3102
+ /**
3103
+ * Get the relations of the user with a specific relation status
3104
+ * @param offset Number of items to skip before returning the results.
3105
+ * @param limit Maximum number of items to return.
3106
+ * @param userRelationStatus If provided, only returns user relations which match this status:
3107
+ * Returns :
3108
+ * * `FRIENDS` - The user is a friend.
3109
+ * * `OUTGOING` - The user has sent a friend request to the current user.
3110
+ * * `INCOMING` - The user has received a friend request from the current user.
3111
+ * * `BLOCKED` - The user is blocked by the current user.
3112
+ *
3113
+ * @returns listUserRelations Status of friendship, and if you are able to connect to the user
3114
+ * @throws ApiError
3115
+ */
3116
+ static getRelations(offset?: number, limit?: number, userRelationStatus?: 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'BLOCKED'): CancelablePromise<listUserRelations>;
3061
3117
  /**
3062
3118
  * Check status of friendship, and if you are able to connect to the user
3063
3119
  * @param userId User ID
@@ -4550,4 +4606,4 @@ declare namespace indexV1 {
4550
4606
  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 };
4551
4607
  }
4552
4608
 
4553
- 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 };
4609
+ 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;
@@ -1545,6 +1590,10 @@ type priceDetails = {
1545
1590
  paymentMethods: Array<paymentType>;
1546
1591
  facilityUsesSplitPrices: boolean;
1547
1592
  facilityFeatureCalculateMultiplePlayersPrice?: boolean;
1593
+ /**
1594
+ * A list of allowed split sizes for the booking
1595
+ */
1596
+ allowedSplits?: Array<number>;
1548
1597
  };
1549
1598
 
1550
1599
  type priceDetailsActivity = {
@@ -1709,43 +1758,20 @@ type userPublicProfile = {
1709
1758
  sportLevels?: sportLevels;
1710
1759
  };
1711
1760
 
1712
- type userRelation = {
1713
- /**
1714
- * Returns :
1715
- * * `FRIENDS` - The user is a friend.
1716
- * * `OUTGOING` - The user has sent a friend request to the current user.
1717
- * * `INCOMING` - The user has received a friend request from the current user.
1718
- * * `BLOCKED` - The user is blocked by the current user.
1719
- * A blocked user will not be able to request a friend connection.
1720
- * Unblocking the user will automatically reastablish the prior friend status.
1721
- * * `NO_RELATION` - The user has no ongoing relation with the current user.
1722
- *
1723
- */
1724
- status: userRelation.status;
1725
- /**
1726
- * If the user is connectable, you may try to connect to it, otherwise you cannot.
1727
- */
1728
- isConnectable: boolean;
1729
- };
1730
- declare namespace userRelation {
1731
- /**
1732
- * Returns :
1733
- * * `FRIENDS` - The user is a friend.
1734
- * * `OUTGOING` - The user has sent a friend request to the current user.
1735
- * * `INCOMING` - The user has received a friend request from the current user.
1736
- * * `BLOCKED` - The user is blocked by the current user.
1737
- * A blocked user will not be able to request a friend connection.
1738
- * Unblocking the user will automatically reastablish the prior friend status.
1739
- * * `NO_RELATION` - The user has no ongoing relation with the current user.
1740
- *
1741
- */
1742
- enum status {
1743
- FRIENDS = "FRIENDS",
1744
- OUTGOING = "OUTGOING",
1745
- INCOMING = "INCOMING",
1746
- BLOCKED = "BLOCKED",
1747
- NO_RELATION = "NO_RELATION"
1748
- }
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"
1749
1775
  }
1750
1776
 
1751
1777
  declare class ActivityServiceV1Service {
@@ -2448,6 +2474,21 @@ declare class AuthorizedService {
2448
2474
  * @throws ApiError
2449
2475
  */
2450
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>;
2451
2492
  /**
2452
2493
  * List user's punch cards
2453
2494
  * List user's punch cards
@@ -3058,6 +3099,21 @@ declare class UserServiceV1Service {
3058
3099
  * @throws ApiError
3059
3100
  */
3060
3101
  static updateUsersProfile(requestBody: profile): CancelablePromise<profile>;
3102
+ /**
3103
+ * Get the relations of the user with a specific relation status
3104
+ * @param offset Number of items to skip before returning the results.
3105
+ * @param limit Maximum number of items to return.
3106
+ * @param userRelationStatus If provided, only returns user relations which match this status:
3107
+ * Returns :
3108
+ * * `FRIENDS` - The user is a friend.
3109
+ * * `OUTGOING` - The user has sent a friend request to the current user.
3110
+ * * `INCOMING` - The user has received a friend request from the current user.
3111
+ * * `BLOCKED` - The user is blocked by the current user.
3112
+ *
3113
+ * @returns listUserRelations Status of friendship, and if you are able to connect to the user
3114
+ * @throws ApiError
3115
+ */
3116
+ static getRelations(offset?: number, limit?: number, userRelationStatus?: 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'BLOCKED'): CancelablePromise<listUserRelations>;
3061
3117
  /**
3062
3118
  * Check status of friendship, and if you are able to connect to the user
3063
3119
  * @param userId User ID
@@ -4550,4 +4606,4 @@ declare namespace indexV1 {
4550
4606
  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 };
4551
4607
  }
4552
4608
 
4553
- 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 };
4609
+ 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 };