@matchi/api 0.20250522.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 +49 -37
- package/dist/main/index.d.ts +49 -37
- 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
1996
|
* Create a new chat for a playsession or a group of players
|
|
1999
1997
|
* @param requestBody Create chat request.
|
|
2000
|
-
* @returns
|
|
1998
|
+
* @returns chatCreation Successfully created chat.
|
|
2001
1999
|
* @throws ApiError
|
|
2002
2000
|
*/
|
|
2003
2001
|
static createChat(requestBody: {
|
|
@@ -2018,7 +2016,7 @@ declare class AuthorizedService {
|
|
|
2018
2016
|
* List of user ids to create a chat for
|
|
2019
2017
|
*/
|
|
2020
2018
|
userIds?: Array<string>;
|
|
2021
|
-
}): CancelablePromise<
|
|
2019
|
+
}): CancelablePromise<chatCreation>;
|
|
2022
2020
|
/**
|
|
2023
2021
|
* M2M request to create a new chat for a target
|
|
2024
2022
|
* @param requestBody Create chat for a target request.
|
|
@@ -2039,6 +2037,13 @@ declare class AuthorizedService {
|
|
|
2039
2037
|
* @throws ApiError
|
|
2040
2038
|
*/
|
|
2041
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>;
|
|
2042
2047
|
/**
|
|
2043
2048
|
* Add user to chat or change existing's user status to active
|
|
2044
2049
|
* @param chatId The unique identifier for the chat
|
|
@@ -2057,10 +2062,10 @@ declare class AuthorizedService {
|
|
|
2057
2062
|
static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
|
|
2058
2063
|
/**
|
|
2059
2064
|
* Get chat authorization token
|
|
2060
|
-
* @returns
|
|
2065
|
+
* @returns chatAuth Chat authorization token
|
|
2061
2066
|
* @throws ApiError
|
|
2062
2067
|
*/
|
|
2063
|
-
static getChatAuth(): CancelablePromise<
|
|
2068
|
+
static getChatAuth(): CancelablePromise<chatAuth>;
|
|
2064
2069
|
/**
|
|
2065
2070
|
* Get details of currently authorized user
|
|
2066
2071
|
* @returns userInfo The requesting user's profile information
|
|
@@ -2863,14 +2868,14 @@ declare class UserServiceV1Service {
|
|
|
2863
2868
|
*
|
|
2864
2869
|
* @param offset Number of items to skip before returning the results.
|
|
2865
2870
|
* @param limit Maximum number of items to return.
|
|
2866
|
-
* @returns
|
|
2871
|
+
* @returns listOfChats List of user chats based on the provided filters
|
|
2867
2872
|
* @throws ApiError
|
|
2868
2873
|
*/
|
|
2869
|
-
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>;
|
|
2870
2875
|
/**
|
|
2871
2876
|
* Create a new chat for a playsession or a group of players
|
|
2872
2877
|
* @param requestBody Create chat request.
|
|
2873
|
-
* @returns
|
|
2878
|
+
* @returns chatCreation Successfully created chat.
|
|
2874
2879
|
* @throws ApiError
|
|
2875
2880
|
*/
|
|
2876
2881
|
static createChat(requestBody: {
|
|
@@ -2891,7 +2896,7 @@ declare class UserServiceV1Service {
|
|
|
2891
2896
|
* List of user ids to create a chat for
|
|
2892
2897
|
*/
|
|
2893
2898
|
userIds?: Array<string>;
|
|
2894
|
-
}): CancelablePromise<
|
|
2899
|
+
}): CancelablePromise<chatCreation>;
|
|
2895
2900
|
/**
|
|
2896
2901
|
* M2M request to create a new chat for a target
|
|
2897
2902
|
* @param requestBody Create chat for a target request.
|
|
@@ -2912,6 +2917,13 @@ declare class UserServiceV1Service {
|
|
|
2912
2917
|
* @throws ApiError
|
|
2913
2918
|
*/
|
|
2914
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>;
|
|
2915
2927
|
/**
|
|
2916
2928
|
* Add user to chat or change existing's user status to active
|
|
2917
2929
|
* @param chatId The unique identifier for the chat
|
|
@@ -2930,10 +2942,10 @@ declare class UserServiceV1Service {
|
|
|
2930
2942
|
static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
|
|
2931
2943
|
/**
|
|
2932
2944
|
* Get chat authorization token
|
|
2933
|
-
* @returns
|
|
2945
|
+
* @returns chatAuth Chat authorization token
|
|
2934
2946
|
* @throws ApiError
|
|
2935
2947
|
*/
|
|
2936
|
-
static getChatAuth(): CancelablePromise<
|
|
2948
|
+
static getChatAuth(): CancelablePromise<chatAuth>;
|
|
2937
2949
|
/**
|
|
2938
2950
|
* Handle a message from Cometchat
|
|
2939
2951
|
* @param requestBody Input needed to create a new chat notification
|
|
@@ -4425,4 +4437,4 @@ declare namespace indexV1 {
|
|
|
4425
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 };
|
|
4426
4438
|
}
|
|
4427
4439
|
|
|
4428
|
-
export { type ActivityEvent, ActivityServiceV1Service, type AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, type Error$1 as Error, type ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, type OccasionCourt, OpenAPI, type OpenAPIConfig, type OrderPaymentDetails, type OrderPriceDetails, type OrderSplitPayments, type OrderSplitPaymentsRow, type OrderSplitPrice, type PaymentMethodPaymentRefund, PlaySessionServiceV1Service, type ServiceFeeSettings, UserServiceV1Service, access, type activitiesResponse, type activity, type activityOccasion, type activityType, type actor, type address, type adyenGiftCardOutcome, type apiClient, type apiClientInput, type apiClientListResponse, type article, type articleMetadata, type availability, type booking, type bookingGroup, bookingRestriction, type bookingRestrictions, bookingSubType, bookingSubscription, type bookingSubscriptionPayment, type bookingUser, bookingUserStatus, type bookingUsersResponse, type bookingsResponse, type camera, cancellationPolicy, chat, chatTarget, type checkoutResponse, clientType, type competitionAdminAccount, type config, type configuration, type configurationEntry, type configurationMap, type configurationResource, type coupon, type createBookingEventExternal,
|
|
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
1996
|
* Create a new chat for a playsession or a group of players
|
|
1999
1997
|
* @param requestBody Create chat request.
|
|
2000
|
-
* @returns
|
|
1998
|
+
* @returns chatCreation Successfully created chat.
|
|
2001
1999
|
* @throws ApiError
|
|
2002
2000
|
*/
|
|
2003
2001
|
static createChat(requestBody: {
|
|
@@ -2018,7 +2016,7 @@ declare class AuthorizedService {
|
|
|
2018
2016
|
* List of user ids to create a chat for
|
|
2019
2017
|
*/
|
|
2020
2018
|
userIds?: Array<string>;
|
|
2021
|
-
}): CancelablePromise<
|
|
2019
|
+
}): CancelablePromise<chatCreation>;
|
|
2022
2020
|
/**
|
|
2023
2021
|
* M2M request to create a new chat for a target
|
|
2024
2022
|
* @param requestBody Create chat for a target request.
|
|
@@ -2039,6 +2037,13 @@ declare class AuthorizedService {
|
|
|
2039
2037
|
* @throws ApiError
|
|
2040
2038
|
*/
|
|
2041
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>;
|
|
2042
2047
|
/**
|
|
2043
2048
|
* Add user to chat or change existing's user status to active
|
|
2044
2049
|
* @param chatId The unique identifier for the chat
|
|
@@ -2057,10 +2062,10 @@ declare class AuthorizedService {
|
|
|
2057
2062
|
static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
|
|
2058
2063
|
/**
|
|
2059
2064
|
* Get chat authorization token
|
|
2060
|
-
* @returns
|
|
2065
|
+
* @returns chatAuth Chat authorization token
|
|
2061
2066
|
* @throws ApiError
|
|
2062
2067
|
*/
|
|
2063
|
-
static getChatAuth(): CancelablePromise<
|
|
2068
|
+
static getChatAuth(): CancelablePromise<chatAuth>;
|
|
2064
2069
|
/**
|
|
2065
2070
|
* Get details of currently authorized user
|
|
2066
2071
|
* @returns userInfo The requesting user's profile information
|
|
@@ -2863,14 +2868,14 @@ declare class UserServiceV1Service {
|
|
|
2863
2868
|
*
|
|
2864
2869
|
* @param offset Number of items to skip before returning the results.
|
|
2865
2870
|
* @param limit Maximum number of items to return.
|
|
2866
|
-
* @returns
|
|
2871
|
+
* @returns listOfChats List of user chats based on the provided filters
|
|
2867
2872
|
* @throws ApiError
|
|
2868
2873
|
*/
|
|
2869
|
-
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>;
|
|
2870
2875
|
/**
|
|
2871
2876
|
* Create a new chat for a playsession or a group of players
|
|
2872
2877
|
* @param requestBody Create chat request.
|
|
2873
|
-
* @returns
|
|
2878
|
+
* @returns chatCreation Successfully created chat.
|
|
2874
2879
|
* @throws ApiError
|
|
2875
2880
|
*/
|
|
2876
2881
|
static createChat(requestBody: {
|
|
@@ -2891,7 +2896,7 @@ declare class UserServiceV1Service {
|
|
|
2891
2896
|
* List of user ids to create a chat for
|
|
2892
2897
|
*/
|
|
2893
2898
|
userIds?: Array<string>;
|
|
2894
|
-
}): CancelablePromise<
|
|
2899
|
+
}): CancelablePromise<chatCreation>;
|
|
2895
2900
|
/**
|
|
2896
2901
|
* M2M request to create a new chat for a target
|
|
2897
2902
|
* @param requestBody Create chat for a target request.
|
|
@@ -2912,6 +2917,13 @@ declare class UserServiceV1Service {
|
|
|
2912
2917
|
* @throws ApiError
|
|
2913
2918
|
*/
|
|
2914
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>;
|
|
2915
2927
|
/**
|
|
2916
2928
|
* Add user to chat or change existing's user status to active
|
|
2917
2929
|
* @param chatId The unique identifier for the chat
|
|
@@ -2930,10 +2942,10 @@ declare class UserServiceV1Service {
|
|
|
2930
2942
|
static removeUserFromChat(chatId: string, userId: string): CancelablePromise<any>;
|
|
2931
2943
|
/**
|
|
2932
2944
|
* Get chat authorization token
|
|
2933
|
-
* @returns
|
|
2945
|
+
* @returns chatAuth Chat authorization token
|
|
2934
2946
|
* @throws ApiError
|
|
2935
2947
|
*/
|
|
2936
|
-
static getChatAuth(): CancelablePromise<
|
|
2948
|
+
static getChatAuth(): CancelablePromise<chatAuth>;
|
|
2937
2949
|
/**
|
|
2938
2950
|
* Handle a message from Cometchat
|
|
2939
2951
|
* @param requestBody Input needed to create a new chat notification
|
|
@@ -4425,4 +4437,4 @@ declare namespace indexV1 {
|
|
|
4425
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 };
|
|
4426
4438
|
}
|
|
4427
4439
|
|
|
4428
|
-
export { type ActivityEvent, ActivityServiceV1Service, type AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, type Error$1 as Error, type ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, type OccasionCourt, OpenAPI, type OpenAPIConfig, type OrderPaymentDetails, type OrderPriceDetails, type OrderSplitPayments, type OrderSplitPaymentsRow, type OrderSplitPrice, type PaymentMethodPaymentRefund, PlaySessionServiceV1Service, type ServiceFeeSettings, UserServiceV1Service, access, type activitiesResponse, type activity, type activityOccasion, type activityType, type actor, type address, type adyenGiftCardOutcome, type apiClient, type apiClientInput, type apiClientListResponse, type article, type articleMetadata, type availability, type booking, type bookingGroup, bookingRestriction, type bookingRestrictions, bookingSubType, bookingSubscription, type bookingSubscriptionPayment, type bookingUser, bookingUserStatus, type bookingUsersResponse, type bookingsResponse, type camera, cancellationPolicy, chat, chatTarget, type checkoutResponse, clientType, type competitionAdminAccount, type config, type configuration, type configurationEntry, type configurationMap, type configurationResource, type coupon, type createBookingEventExternal,
|
|
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 };
|