@matchi/api 0.20250514.1 → 0.20250526.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.
- package/dist/main/index.d.mts +67 -45
- package/dist/main/index.d.ts +67 -45
- package/dist/main/index.js +1 -1
- package/dist/main/index.mjs +1 -1
- package/package.json +1 -1
package/dist/main/index.d.mts
CHANGED
|
@@ -564,6 +564,27 @@ declare namespace chat {
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
|
|
567
|
+
type chatAuth = {
|
|
568
|
+
authToken: string;
|
|
569
|
+
createdAt: timeStamp;
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
type chatCreation = {
|
|
573
|
+
id: string;
|
|
574
|
+
name: string;
|
|
575
|
+
type: chatCreation.type;
|
|
576
|
+
createdAt: timeStamp;
|
|
577
|
+
membersCount: number;
|
|
578
|
+
conversationId?: string;
|
|
579
|
+
};
|
|
580
|
+
declare namespace chatCreation {
|
|
581
|
+
enum type {
|
|
582
|
+
PUBLIC = "public",
|
|
583
|
+
PRIVATE = "private",
|
|
584
|
+
PASSWORD = "password"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
567
588
|
declare enum chatTarget {
|
|
568
589
|
PLAYSESSION = "playsession"
|
|
569
590
|
}
|
|
@@ -698,22 +719,6 @@ type createBookingEventExternal = {
|
|
|
698
719
|
paymentId: number;
|
|
699
720
|
};
|
|
700
721
|
|
|
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
722
|
type createPromoCode = {
|
|
718
723
|
/**
|
|
719
724
|
* Between 3 and 40 characters, should not contain leading or trailing whitespace
|
|
@@ -865,13 +870,6 @@ type friendRelationsResponse = {
|
|
|
865
870
|
items: Array<userId>;
|
|
866
871
|
};
|
|
867
872
|
|
|
868
|
-
type getChatAuthResponse = {
|
|
869
|
-
authToken: string;
|
|
870
|
-
createdAt: timeStamp;
|
|
871
|
-
};
|
|
872
|
-
|
|
873
|
-
type getChatResponse = chat;
|
|
874
|
-
|
|
875
873
|
type hideFullyBooked = boolean;
|
|
876
874
|
|
|
877
875
|
type internalPaymentMethod = {
|
|
@@ -884,7 +882,7 @@ type internalPaymentMethod = {
|
|
|
884
882
|
*/
|
|
885
883
|
type limitParam = number;
|
|
886
884
|
|
|
887
|
-
type
|
|
885
|
+
type listOfChats = {
|
|
888
886
|
resultSet: resultSet;
|
|
889
887
|
items: Array<chat>;
|
|
890
888
|
};
|
|
@@ -1990,14 +1988,14 @@ declare class AuthorizedService {
|
|
|
1990
1988
|
*
|
|
1991
1989
|
* @param offset Number of items to skip before returning the results.
|
|
1992
1990
|
* @param limit Maximum number of items to return.
|
|
1993
|
-
* @returns
|
|
1991
|
+
* @returns listOfChats List of user chats based on the provided filters
|
|
1994
1992
|
* @throws ApiError
|
|
1995
1993
|
*/
|
|
1996
|
-
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<
|
|
1994
|
+
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listOfChats>;
|
|
1997
1995
|
/**
|
|
1998
|
-
* Create a new chat
|
|
1999
|
-
* @param requestBody Create chat
|
|
2000
|
-
* @returns
|
|
1996
|
+
* Create a new chat for a playsession or a group of players
|
|
1997
|
+
* @param requestBody Create chat request.
|
|
1998
|
+
* @returns chatCreation Successfully created chat.
|
|
2001
1999
|
* @throws ApiError
|
|
2002
2000
|
*/
|
|
2003
2001
|
static createChat(requestBody: {
|
|
@@ -2010,10 +2008,15 @@ declare class AuthorizedService {
|
|
|
2010
2008
|
*/
|
|
2011
2009
|
sessionId?: string;
|
|
2012
2010
|
/**
|
|
2013
|
-
*
|
|
2011
|
+
* Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
|
|
2012
|
+
* @deprecated
|
|
2014
2013
|
*/
|
|
2015
|
-
facilityId
|
|
2016
|
-
|
|
2014
|
+
facilityId?: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* List of user ids to create a chat for
|
|
2017
|
+
*/
|
|
2018
|
+
userIds?: Array<string>;
|
|
2019
|
+
}): CancelablePromise<chatCreation>;
|
|
2017
2020
|
/**
|
|
2018
2021
|
* M2M request to create a new chat for a target
|
|
2019
2022
|
* @param requestBody Create chat for a target request.
|
|
@@ -2034,6 +2037,13 @@ declare class AuthorizedService {
|
|
|
2034
2037
|
* @throws ApiError
|
|
2035
2038
|
*/
|
|
2036
2039
|
static getTargetChat(target: chatTarget, targetId: string): CancelablePromise<chat>;
|
|
2040
|
+
/**
|
|
2041
|
+
* Get the chat of the group of users
|
|
2042
|
+
* @param userIds Comma-separated list of user IDs to find the chat for
|
|
2043
|
+
* @returns chat Returns the chat of the group of users
|
|
2044
|
+
* @throws ApiError
|
|
2045
|
+
*/
|
|
2046
|
+
static getUserGroupChat(userIds: string): CancelablePromise<chat>;
|
|
2037
2047
|
/**
|
|
2038
2048
|
* Add user to chat or change existing's user status to active
|
|
2039
2049
|
* @param chatId The unique identifier for the chat
|
|
@@ -2052,10 +2062,10 @@ declare class AuthorizedService {
|
|
|
2052
2062
|
static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
|
|
2053
2063
|
/**
|
|
2054
2064
|
* Get chat authorization token
|
|
2055
|
-
* @returns
|
|
2065
|
+
* @returns chatAuth Chat authorization token
|
|
2056
2066
|
* @throws ApiError
|
|
2057
2067
|
*/
|
|
2058
|
-
static getChatAuth(): CancelablePromise<
|
|
2068
|
+
static getChatAuth(): CancelablePromise<chatAuth>;
|
|
2059
2069
|
/**
|
|
2060
2070
|
* Get details of currently authorized user
|
|
2061
2071
|
* @returns userInfo The requesting user's profile information
|
|
@@ -2858,14 +2868,14 @@ declare class UserServiceV1Service {
|
|
|
2858
2868
|
*
|
|
2859
2869
|
* @param offset Number of items to skip before returning the results.
|
|
2860
2870
|
* @param limit Maximum number of items to return.
|
|
2861
|
-
* @returns
|
|
2871
|
+
* @returns listOfChats List of user chats based on the provided filters
|
|
2862
2872
|
* @throws ApiError
|
|
2863
2873
|
*/
|
|
2864
|
-
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<
|
|
2874
|
+
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listOfChats>;
|
|
2865
2875
|
/**
|
|
2866
|
-
* Create a new chat
|
|
2867
|
-
* @param requestBody Create chat
|
|
2868
|
-
* @returns
|
|
2876
|
+
* Create a new chat for a playsession or a group of players
|
|
2877
|
+
* @param requestBody Create chat request.
|
|
2878
|
+
* @returns chatCreation Successfully created chat.
|
|
2869
2879
|
* @throws ApiError
|
|
2870
2880
|
*/
|
|
2871
2881
|
static createChat(requestBody: {
|
|
@@ -2878,10 +2888,15 @@ declare class UserServiceV1Service {
|
|
|
2878
2888
|
*/
|
|
2879
2889
|
sessionId?: string;
|
|
2880
2890
|
/**
|
|
2881
|
-
*
|
|
2891
|
+
* Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
|
|
2892
|
+
* @deprecated
|
|
2882
2893
|
*/
|
|
2883
|
-
facilityId
|
|
2884
|
-
|
|
2894
|
+
facilityId?: string;
|
|
2895
|
+
/**
|
|
2896
|
+
* List of user ids to create a chat for
|
|
2897
|
+
*/
|
|
2898
|
+
userIds?: Array<string>;
|
|
2899
|
+
}): CancelablePromise<chatCreation>;
|
|
2885
2900
|
/**
|
|
2886
2901
|
* M2M request to create a new chat for a target
|
|
2887
2902
|
* @param requestBody Create chat for a target request.
|
|
@@ -2902,6 +2917,13 @@ declare class UserServiceV1Service {
|
|
|
2902
2917
|
* @throws ApiError
|
|
2903
2918
|
*/
|
|
2904
2919
|
static getTargetChat(target: chatTarget, targetId: string): CancelablePromise<chat>;
|
|
2920
|
+
/**
|
|
2921
|
+
* Get the chat of the group of users
|
|
2922
|
+
* @param userIds Comma-separated list of user IDs to find the chat for
|
|
2923
|
+
* @returns chat Returns the chat of the group of users
|
|
2924
|
+
* @throws ApiError
|
|
2925
|
+
*/
|
|
2926
|
+
static getUserGroupChat(userIds: string): CancelablePromise<chat>;
|
|
2905
2927
|
/**
|
|
2906
2928
|
* Add user to chat or change existing's user status to active
|
|
2907
2929
|
* @param chatId The unique identifier for the chat
|
|
@@ -2920,10 +2942,10 @@ declare class UserServiceV1Service {
|
|
|
2920
2942
|
static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
|
|
2921
2943
|
/**
|
|
2922
2944
|
* Get chat authorization token
|
|
2923
|
-
* @returns
|
|
2945
|
+
* @returns chatAuth Chat authorization token
|
|
2924
2946
|
* @throws ApiError
|
|
2925
2947
|
*/
|
|
2926
|
-
static getChatAuth(): CancelablePromise<
|
|
2948
|
+
static getChatAuth(): CancelablePromise<chatAuth>;
|
|
2927
2949
|
/**
|
|
2928
2950
|
* Handle a message from Cometchat
|
|
2929
2951
|
* @param requestBody Input needed to create a new chat notification
|
|
@@ -4415,4 +4437,4 @@ declare namespace indexV1 {
|
|
|
4415
4437
|
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 };
|
|
4416
4438
|
}
|
|
4417
4439
|
|
|
4418
|
-
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,
|
|
4440
|
+
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 };
|
package/dist/main/index.d.ts
CHANGED
|
@@ -564,6 +564,27 @@ declare namespace chat {
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
|
|
567
|
+
type chatAuth = {
|
|
568
|
+
authToken: string;
|
|
569
|
+
createdAt: timeStamp;
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
type chatCreation = {
|
|
573
|
+
id: string;
|
|
574
|
+
name: string;
|
|
575
|
+
type: chatCreation.type;
|
|
576
|
+
createdAt: timeStamp;
|
|
577
|
+
membersCount: number;
|
|
578
|
+
conversationId?: string;
|
|
579
|
+
};
|
|
580
|
+
declare namespace chatCreation {
|
|
581
|
+
enum type {
|
|
582
|
+
PUBLIC = "public",
|
|
583
|
+
PRIVATE = "private",
|
|
584
|
+
PASSWORD = "password"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
567
588
|
declare enum chatTarget {
|
|
568
589
|
PLAYSESSION = "playsession"
|
|
569
590
|
}
|
|
@@ -698,22 +719,6 @@ type createBookingEventExternal = {
|
|
|
698
719
|
paymentId: number;
|
|
699
720
|
};
|
|
700
721
|
|
|
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
722
|
type createPromoCode = {
|
|
718
723
|
/**
|
|
719
724
|
* Between 3 and 40 characters, should not contain leading or trailing whitespace
|
|
@@ -865,13 +870,6 @@ type friendRelationsResponse = {
|
|
|
865
870
|
items: Array<userId>;
|
|
866
871
|
};
|
|
867
872
|
|
|
868
|
-
type getChatAuthResponse = {
|
|
869
|
-
authToken: string;
|
|
870
|
-
createdAt: timeStamp;
|
|
871
|
-
};
|
|
872
|
-
|
|
873
|
-
type getChatResponse = chat;
|
|
874
|
-
|
|
875
873
|
type hideFullyBooked = boolean;
|
|
876
874
|
|
|
877
875
|
type internalPaymentMethod = {
|
|
@@ -884,7 +882,7 @@ type internalPaymentMethod = {
|
|
|
884
882
|
*/
|
|
885
883
|
type limitParam = number;
|
|
886
884
|
|
|
887
|
-
type
|
|
885
|
+
type listOfChats = {
|
|
888
886
|
resultSet: resultSet;
|
|
889
887
|
items: Array<chat>;
|
|
890
888
|
};
|
|
@@ -1990,14 +1988,14 @@ declare class AuthorizedService {
|
|
|
1990
1988
|
*
|
|
1991
1989
|
* @param offset Number of items to skip before returning the results.
|
|
1992
1990
|
* @param limit Maximum number of items to return.
|
|
1993
|
-
* @returns
|
|
1991
|
+
* @returns listOfChats List of user chats based on the provided filters
|
|
1994
1992
|
* @throws ApiError
|
|
1995
1993
|
*/
|
|
1996
|
-
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<
|
|
1994
|
+
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listOfChats>;
|
|
1997
1995
|
/**
|
|
1998
|
-
* Create a new chat
|
|
1999
|
-
* @param requestBody Create chat
|
|
2000
|
-
* @returns
|
|
1996
|
+
* Create a new chat for a playsession or a group of players
|
|
1997
|
+
* @param requestBody Create chat request.
|
|
1998
|
+
* @returns chatCreation Successfully created chat.
|
|
2001
1999
|
* @throws ApiError
|
|
2002
2000
|
*/
|
|
2003
2001
|
static createChat(requestBody: {
|
|
@@ -2010,10 +2008,15 @@ declare class AuthorizedService {
|
|
|
2010
2008
|
*/
|
|
2011
2009
|
sessionId?: string;
|
|
2012
2010
|
/**
|
|
2013
|
-
*
|
|
2011
|
+
* Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
|
|
2012
|
+
* @deprecated
|
|
2014
2013
|
*/
|
|
2015
|
-
facilityId
|
|
2016
|
-
|
|
2014
|
+
facilityId?: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* List of user ids to create a chat for
|
|
2017
|
+
*/
|
|
2018
|
+
userIds?: Array<string>;
|
|
2019
|
+
}): CancelablePromise<chatCreation>;
|
|
2017
2020
|
/**
|
|
2018
2021
|
* M2M request to create a new chat for a target
|
|
2019
2022
|
* @param requestBody Create chat for a target request.
|
|
@@ -2034,6 +2037,13 @@ declare class AuthorizedService {
|
|
|
2034
2037
|
* @throws ApiError
|
|
2035
2038
|
*/
|
|
2036
2039
|
static getTargetChat(target: chatTarget, targetId: string): CancelablePromise<chat>;
|
|
2040
|
+
/**
|
|
2041
|
+
* Get the chat of the group of users
|
|
2042
|
+
* @param userIds Comma-separated list of user IDs to find the chat for
|
|
2043
|
+
* @returns chat Returns the chat of the group of users
|
|
2044
|
+
* @throws ApiError
|
|
2045
|
+
*/
|
|
2046
|
+
static getUserGroupChat(userIds: string): CancelablePromise<chat>;
|
|
2037
2047
|
/**
|
|
2038
2048
|
* Add user to chat or change existing's user status to active
|
|
2039
2049
|
* @param chatId The unique identifier for the chat
|
|
@@ -2052,10 +2062,10 @@ declare class AuthorizedService {
|
|
|
2052
2062
|
static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
|
|
2053
2063
|
/**
|
|
2054
2064
|
* Get chat authorization token
|
|
2055
|
-
* @returns
|
|
2065
|
+
* @returns chatAuth Chat authorization token
|
|
2056
2066
|
* @throws ApiError
|
|
2057
2067
|
*/
|
|
2058
|
-
static getChatAuth(): CancelablePromise<
|
|
2068
|
+
static getChatAuth(): CancelablePromise<chatAuth>;
|
|
2059
2069
|
/**
|
|
2060
2070
|
* Get details of currently authorized user
|
|
2061
2071
|
* @returns userInfo The requesting user's profile information
|
|
@@ -2858,14 +2868,14 @@ declare class UserServiceV1Service {
|
|
|
2858
2868
|
*
|
|
2859
2869
|
* @param offset Number of items to skip before returning the results.
|
|
2860
2870
|
* @param limit Maximum number of items to return.
|
|
2861
|
-
* @returns
|
|
2871
|
+
* @returns listOfChats List of user chats based on the provided filters
|
|
2862
2872
|
* @throws ApiError
|
|
2863
2873
|
*/
|
|
2864
|
-
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<
|
|
2874
|
+
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', offset?: number, limit?: number): CancelablePromise<listOfChats>;
|
|
2865
2875
|
/**
|
|
2866
|
-
* Create a new chat
|
|
2867
|
-
* @param requestBody Create chat
|
|
2868
|
-
* @returns
|
|
2876
|
+
* Create a new chat for a playsession or a group of players
|
|
2877
|
+
* @param requestBody Create chat request.
|
|
2878
|
+
* @returns chatCreation Successfully created chat.
|
|
2869
2879
|
* @throws ApiError
|
|
2870
2880
|
*/
|
|
2871
2881
|
static createChat(requestBody: {
|
|
@@ -2878,10 +2888,15 @@ declare class UserServiceV1Service {
|
|
|
2878
2888
|
*/
|
|
2879
2889
|
sessionId?: string;
|
|
2880
2890
|
/**
|
|
2881
|
-
*
|
|
2891
|
+
* Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
|
|
2892
|
+
* @deprecated
|
|
2882
2893
|
*/
|
|
2883
|
-
facilityId
|
|
2884
|
-
|
|
2894
|
+
facilityId?: string;
|
|
2895
|
+
/**
|
|
2896
|
+
* List of user ids to create a chat for
|
|
2897
|
+
*/
|
|
2898
|
+
userIds?: Array<string>;
|
|
2899
|
+
}): CancelablePromise<chatCreation>;
|
|
2885
2900
|
/**
|
|
2886
2901
|
* M2M request to create a new chat for a target
|
|
2887
2902
|
* @param requestBody Create chat for a target request.
|
|
@@ -2902,6 +2917,13 @@ declare class UserServiceV1Service {
|
|
|
2902
2917
|
* @throws ApiError
|
|
2903
2918
|
*/
|
|
2904
2919
|
static getTargetChat(target: chatTarget, targetId: string): CancelablePromise<chat>;
|
|
2920
|
+
/**
|
|
2921
|
+
* Get the chat of the group of users
|
|
2922
|
+
* @param userIds Comma-separated list of user IDs to find the chat for
|
|
2923
|
+
* @returns chat Returns the chat of the group of users
|
|
2924
|
+
* @throws ApiError
|
|
2925
|
+
*/
|
|
2926
|
+
static getUserGroupChat(userIds: string): CancelablePromise<chat>;
|
|
2905
2927
|
/**
|
|
2906
2928
|
* Add user to chat or change existing's user status to active
|
|
2907
2929
|
* @param chatId The unique identifier for the chat
|
|
@@ -2920,10 +2942,10 @@ declare class UserServiceV1Service {
|
|
|
2920
2942
|
static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
|
|
2921
2943
|
/**
|
|
2922
2944
|
* Get chat authorization token
|
|
2923
|
-
* @returns
|
|
2945
|
+
* @returns chatAuth Chat authorization token
|
|
2924
2946
|
* @throws ApiError
|
|
2925
2947
|
*/
|
|
2926
|
-
static getChatAuth(): CancelablePromise<
|
|
2948
|
+
static getChatAuth(): CancelablePromise<chatAuth>;
|
|
2927
2949
|
/**
|
|
2928
2950
|
* Handle a message from Cometchat
|
|
2929
2951
|
* @param requestBody Input needed to create a new chat notification
|
|
@@ -4415,4 +4437,4 @@ declare namespace indexV1 {
|
|
|
4415
4437
|
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 };
|
|
4416
4438
|
}
|
|
4417
4439
|
|
|
4418
|
-
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,
|
|
4440
|
+
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 };
|