@matchi/api 0.20250916.1 → 0.20250925.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 +188 -17
- package/dist/main/index.d.ts +188 -17
- 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
|
@@ -2065,13 +2065,6 @@ declare class AuthorizedService {
|
|
|
2065
2065
|
* @throws ApiError
|
|
2066
2066
|
*/
|
|
2067
2067
|
static getBookingUsers(bookingId: number): CancelablePromise<bookingUsersResponse>;
|
|
2068
|
-
/**
|
|
2069
|
-
* Search for users
|
|
2070
|
-
* @param key The search query
|
|
2071
|
-
* @returns userPublicProfile List of public profiles found
|
|
2072
|
-
* @throws ApiError
|
|
2073
|
-
*/
|
|
2074
|
-
static searchUsers(key: string): CancelablePromise<Array<userPublicProfile>>;
|
|
2075
2068
|
/**
|
|
2076
2069
|
* List all chats for the current user
|
|
2077
2070
|
* @param userChatStatus If provided, only returns user chats which match this user chat status:
|
|
@@ -2969,13 +2962,6 @@ declare class PlaySessionServiceV1Service {
|
|
|
2969
2962
|
}
|
|
2970
2963
|
|
|
2971
2964
|
declare class UserServiceV1Service {
|
|
2972
|
-
/**
|
|
2973
|
-
* Search for users
|
|
2974
|
-
* @param key The search query
|
|
2975
|
-
* @returns userPublicProfile List of public profiles found
|
|
2976
|
-
* @throws ApiError
|
|
2977
|
-
*/
|
|
2978
|
-
static searchUsers(key: string): CancelablePromise<Array<userPublicProfile>>;
|
|
2979
2965
|
/**
|
|
2980
2966
|
* Get public profile of requested user
|
|
2981
2967
|
* @param userId User ID
|
|
@@ -3325,6 +3311,40 @@ type Player = {
|
|
|
3325
3311
|
email: string;
|
|
3326
3312
|
id: string;
|
|
3327
3313
|
};
|
|
3314
|
+
type SearchUser = {
|
|
3315
|
+
firstname: string;
|
|
3316
|
+
lastname: string;
|
|
3317
|
+
profileImageUrl?: string;
|
|
3318
|
+
relationStatus: SearchUserRelation;
|
|
3319
|
+
userId: string;
|
|
3320
|
+
};
|
|
3321
|
+
/**
|
|
3322
|
+
* Returns :
|
|
3323
|
+
* * `FRIENDS` - The user is a friend.
|
|
3324
|
+
* * `OUTGOING` - The user has sent a friend request to the current user.
|
|
3325
|
+
* * `INCOMING` - The user has received a friend request from the current user.
|
|
3326
|
+
* * `NO_RELATION` - The user has no ongoing relation with the current user.
|
|
3327
|
+
*
|
|
3328
|
+
*/
|
|
3329
|
+
type SearchUserRelation = 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'NO_RELATION';
|
|
3330
|
+
/**
|
|
3331
|
+
* Returns :
|
|
3332
|
+
* * `FRIENDS` - The user is a friend.
|
|
3333
|
+
* * `OUTGOING` - The user has sent a friend request to the current user.
|
|
3334
|
+
* * `INCOMING` - The user has received a friend request from the current user.
|
|
3335
|
+
* * `NO_RELATION` - The user has no ongoing relation with the current user.
|
|
3336
|
+
*
|
|
3337
|
+
*/
|
|
3338
|
+
declare const SearchUserRelation: {
|
|
3339
|
+
readonly FRIENDS: "FRIENDS";
|
|
3340
|
+
readonly OUTGOING: "OUTGOING";
|
|
3341
|
+
readonly INCOMING: "INCOMING";
|
|
3342
|
+
readonly NO_RELATION: "NO_RELATION";
|
|
3343
|
+
};
|
|
3344
|
+
type SearchUsersListPaginatedResponse = {
|
|
3345
|
+
items: Array<SearchUser>;
|
|
3346
|
+
meta: PkgOpenapiSharedOffsetPaginatedResultSet;
|
|
3347
|
+
};
|
|
3328
3348
|
type UpdateBooking = {
|
|
3329
3349
|
booker: string;
|
|
3330
3350
|
end_time: string;
|
|
@@ -3716,6 +3736,55 @@ type CreateFacilityOfferOrderResponses = {
|
|
|
3716
3736
|
200: FacilityOfferOrder;
|
|
3717
3737
|
};
|
|
3718
3738
|
type CreateFacilityOfferOrderResponse = CreateFacilityOfferOrderResponses[keyof CreateFacilityOfferOrderResponses];
|
|
3739
|
+
type SearchUsersData = {
|
|
3740
|
+
body?: never;
|
|
3741
|
+
path?: never;
|
|
3742
|
+
query?: {
|
|
3743
|
+
/**
|
|
3744
|
+
* The search query
|
|
3745
|
+
*/
|
|
3746
|
+
name?: string;
|
|
3747
|
+
/**
|
|
3748
|
+
* Number of items to skip before returning the results.
|
|
3749
|
+
*/
|
|
3750
|
+
offset?: number;
|
|
3751
|
+
/**
|
|
3752
|
+
* Maximum number of items to return.
|
|
3753
|
+
*/
|
|
3754
|
+
limit?: number;
|
|
3755
|
+
};
|
|
3756
|
+
url: '/users/search';
|
|
3757
|
+
};
|
|
3758
|
+
type SearchUsersErrors = {
|
|
3759
|
+
/**
|
|
3760
|
+
* The request was malformed or could not be processed.
|
|
3761
|
+
*/
|
|
3762
|
+
400: PkgOpenapiSharedProblemDetails;
|
|
3763
|
+
/**
|
|
3764
|
+
* Access token is not set or invalid.
|
|
3765
|
+
*/
|
|
3766
|
+
401: PkgOpenapiSharedProblemDetails;
|
|
3767
|
+
/**
|
|
3768
|
+
* The requestor is not authorized to perform this operation on the resource.
|
|
3769
|
+
*/
|
|
3770
|
+
403: PkgOpenapiSharedProblemDetails;
|
|
3771
|
+
/**
|
|
3772
|
+
* The server encountered an unexpected error
|
|
3773
|
+
*/
|
|
3774
|
+
500: PkgOpenapiSharedProblemDetails;
|
|
3775
|
+
/**
|
|
3776
|
+
* The requested operation is not implemented.
|
|
3777
|
+
*/
|
|
3778
|
+
501: PkgOpenapiSharedProblemDetails;
|
|
3779
|
+
};
|
|
3780
|
+
type SearchUsersError = SearchUsersErrors[keyof SearchUsersErrors];
|
|
3781
|
+
type SearchUsersResponses = {
|
|
3782
|
+
/**
|
|
3783
|
+
* OK
|
|
3784
|
+
*/
|
|
3785
|
+
200: SearchUsersListPaginatedResponse;
|
|
3786
|
+
};
|
|
3787
|
+
type SearchUsersResponse = SearchUsersResponses[keyof SearchUsersResponses];
|
|
3719
3788
|
type ClientOptions = {
|
|
3720
3789
|
baseUrl: 'https://api.matchi.com/v1' | (string & {});
|
|
3721
3790
|
};
|
|
@@ -4126,6 +4195,48 @@ declare const PlayerSchema: {
|
|
|
4126
4195
|
readonly required: readonly ["id", "email"];
|
|
4127
4196
|
readonly type: "object";
|
|
4128
4197
|
};
|
|
4198
|
+
declare const SearchUserSchema: {
|
|
4199
|
+
readonly properties: {
|
|
4200
|
+
readonly firstname: {
|
|
4201
|
+
readonly type: "string";
|
|
4202
|
+
};
|
|
4203
|
+
readonly lastname: {
|
|
4204
|
+
readonly type: "string";
|
|
4205
|
+
};
|
|
4206
|
+
readonly profileImageUrl: {
|
|
4207
|
+
readonly type: "string";
|
|
4208
|
+
};
|
|
4209
|
+
readonly relationStatus: {
|
|
4210
|
+
readonly $ref: "#/components/schemas/SearchUserRelation";
|
|
4211
|
+
};
|
|
4212
|
+
readonly userId: {
|
|
4213
|
+
readonly format: "uuid";
|
|
4214
|
+
readonly type: "string";
|
|
4215
|
+
};
|
|
4216
|
+
};
|
|
4217
|
+
readonly required: readonly ["userId", "firstname", "lastname", "relationStatus"];
|
|
4218
|
+
readonly type: "object";
|
|
4219
|
+
};
|
|
4220
|
+
declare const SearchUserRelationSchema: {
|
|
4221
|
+
readonly description: "Returns :\n* `FRIENDS` - The user is a friend.\n* `OUTGOING` - The user has sent a friend request to the current user.\n* `INCOMING` - The user has received a friend request from the current user.\n* `NO_RELATION` - The user has no ongoing relation with the current user.\n";
|
|
4222
|
+
readonly enum: readonly ["FRIENDS", "OUTGOING", "INCOMING", "NO_RELATION"];
|
|
4223
|
+
readonly type: "string";
|
|
4224
|
+
};
|
|
4225
|
+
declare const SearchUsersListPaginatedResponseSchema: {
|
|
4226
|
+
readonly properties: {
|
|
4227
|
+
readonly items: {
|
|
4228
|
+
readonly items: {
|
|
4229
|
+
readonly $ref: "#/components/schemas/SearchUser";
|
|
4230
|
+
};
|
|
4231
|
+
readonly type: "array";
|
|
4232
|
+
};
|
|
4233
|
+
readonly meta: {
|
|
4234
|
+
readonly $ref: "#/components/schemas/pkgOpenapiSharedOffsetPaginatedResultSet";
|
|
4235
|
+
};
|
|
4236
|
+
};
|
|
4237
|
+
readonly required: readonly ["items", "meta"];
|
|
4238
|
+
readonly type: "object";
|
|
4239
|
+
};
|
|
4129
4240
|
declare const UpdateBookingSchema: {
|
|
4130
4241
|
readonly properties: {
|
|
4131
4242
|
readonly booker: {
|
|
@@ -4273,6 +4384,9 @@ declare const schemas_gen_FacilityPunchCardDataSchema: typeof FacilityPunchCardD
|
|
|
4273
4384
|
declare const schemas_gen_FacilityValueCardDataSchema: typeof FacilityValueCardDataSchema;
|
|
4274
4385
|
declare const schemas_gen_GuestSchema: typeof GuestSchema;
|
|
4275
4386
|
declare const schemas_gen_PlayerSchema: typeof PlayerSchema;
|
|
4387
|
+
declare const schemas_gen_SearchUserRelationSchema: typeof SearchUserRelationSchema;
|
|
4388
|
+
declare const schemas_gen_SearchUserSchema: typeof SearchUserSchema;
|
|
4389
|
+
declare const schemas_gen_SearchUsersListPaginatedResponseSchema: typeof SearchUsersListPaginatedResponseSchema;
|
|
4276
4390
|
declare const schemas_gen_UpdateBookingSchema: typeof UpdateBookingSchema;
|
|
4277
4391
|
declare const schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema: typeof pkgOpenapiSharedCursorPaginatedResultSetSchema;
|
|
4278
4392
|
declare const schemas_gen_pkgOpenapiSharedErrorSchema: typeof pkgOpenapiSharedErrorSchema;
|
|
@@ -4280,7 +4394,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
|
|
|
4280
4394
|
declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
|
|
4281
4395
|
declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
|
|
4282
4396
|
declare namespace schemas_gen {
|
|
4283
|
-
export { schemas_gen_BookingSchema as BookingSchema, schemas_gen_CreateBookingSchema as CreateBookingSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_GuestSchema as GuestSchema, schemas_gen_PlayerSchema as PlayerSchema, schemas_gen_UpdateBookingSchema as UpdateBookingSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
|
|
4397
|
+
export { schemas_gen_BookingSchema as BookingSchema, schemas_gen_CreateBookingSchema as CreateBookingSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_GuestSchema as GuestSchema, schemas_gen_PlayerSchema as PlayerSchema, schemas_gen_SearchUserRelationSchema as SearchUserRelationSchema, schemas_gen_SearchUserSchema as SearchUserSchema, schemas_gen_SearchUsersListPaginatedResponseSchema as SearchUsersListPaginatedResponseSchema, schemas_gen_UpdateBookingSchema as UpdateBookingSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
|
|
4284
4398
|
}
|
|
4285
4399
|
|
|
4286
4400
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -4334,6 +4448,11 @@ declare const listFacilityOffers: <ThrowOnError extends boolean = false>(options
|
|
|
4334
4448
|
* Will create a facility offer order and return the order object
|
|
4335
4449
|
*/
|
|
4336
4450
|
declare const createFacilityOfferOrder: <ThrowOnError extends boolean = false>(options: Options<CreateFacilityOfferOrderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4451
|
+
/**
|
|
4452
|
+
* Search for users by name
|
|
4453
|
+
* Search for users by name
|
|
4454
|
+
*/
|
|
4455
|
+
declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Options<SearchUsersData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<SearchUsersListPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4337
4456
|
|
|
4338
4457
|
type QueryKey<TOptions extends Options> = [
|
|
4339
4458
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
@@ -4516,6 +4635,45 @@ declare const createFacilityOfferOrderOptions: (options: Options<CreateFacilityO
|
|
|
4516
4635
|
};
|
|
4517
4636
|
};
|
|
4518
4637
|
declare const createFacilityOfferOrderMutation: (options?: Partial<Options<CreateFacilityOfferOrderData>>) => UseMutationOptions<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, Options<CreateFacilityOfferOrderData>, unknown>;
|
|
4638
|
+
declare const searchUsersQueryKey: (options?: Options<SearchUsersData>) => [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4639
|
+
_id: string;
|
|
4640
|
+
_infinite?: boolean | undefined;
|
|
4641
|
+
}];
|
|
4642
|
+
declare const searchUsersOptions: (options?: Options<SearchUsersData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<SearchUsersListPaginatedResponse, Error, SearchUsersListPaginatedResponse, [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4643
|
+
_id: string;
|
|
4644
|
+
_infinite?: boolean | undefined;
|
|
4645
|
+
}]>, "queryFn"> & {
|
|
4646
|
+
queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<SearchUsersListPaginatedResponse, [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4647
|
+
_id: string;
|
|
4648
|
+
_infinite?: boolean | undefined;
|
|
4649
|
+
}], never> | undefined;
|
|
4650
|
+
} & {
|
|
4651
|
+
queryKey: [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4652
|
+
_id: string;
|
|
4653
|
+
_infinite?: boolean | undefined;
|
|
4654
|
+
}] & {
|
|
4655
|
+
[dataTagSymbol]: SearchUsersListPaginatedResponse;
|
|
4656
|
+
[dataTagErrorSymbol]: Error;
|
|
4657
|
+
};
|
|
4658
|
+
};
|
|
4659
|
+
declare const searchUsersInfiniteQueryKey: (options?: Options<SearchUsersData>) => QueryKey<Options<SearchUsersData>>;
|
|
4660
|
+
declare const searchUsersInfiniteOptions: (options?: Options<SearchUsersData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<SearchUsersListPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<SearchUsersListPaginatedResponse, unknown>, SearchUsersListPaginatedResponse, QueryKey<Options<SearchUsersData>>, number | Pick<Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4661
|
+
_id: string;
|
|
4662
|
+
_infinite?: boolean | undefined;
|
|
4663
|
+
}, "body" | "headers" | "path" | "query">> & {
|
|
4664
|
+
initialData: InfiniteData<SearchUsersListPaginatedResponse, number | Pick<Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4665
|
+
_id: string;
|
|
4666
|
+
_infinite?: boolean | undefined;
|
|
4667
|
+
}, "body" | "headers" | "path" | "query">> | (() => InfiniteData<SearchUsersListPaginatedResponse, number | Pick<Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4668
|
+
_id: string;
|
|
4669
|
+
_infinite?: boolean | undefined;
|
|
4670
|
+
}, "body" | "headers" | "path" | "query">>) | undefined;
|
|
4671
|
+
} & {
|
|
4672
|
+
queryKey: QueryKey<Options<SearchUsersData>> & {
|
|
4673
|
+
[dataTagSymbol]: InfiniteData<SearchUsersListPaginatedResponse, unknown>;
|
|
4674
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4675
|
+
};
|
|
4676
|
+
};
|
|
4519
4677
|
|
|
4520
4678
|
type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
|
|
4521
4679
|
declare const reactQuery_gen_addBookingMutation: typeof addBookingMutation;
|
|
@@ -4535,9 +4693,13 @@ declare const reactQuery_gen_listFacilityOffersInfiniteOptions: typeof listFacil
|
|
|
4535
4693
|
declare const reactQuery_gen_listFacilityOffersInfiniteQueryKey: typeof listFacilityOffersInfiniteQueryKey;
|
|
4536
4694
|
declare const reactQuery_gen_listFacilityOffersOptions: typeof listFacilityOffersOptions;
|
|
4537
4695
|
declare const reactQuery_gen_listFacilityOffersQueryKey: typeof listFacilityOffersQueryKey;
|
|
4696
|
+
declare const reactQuery_gen_searchUsersInfiniteOptions: typeof searchUsersInfiniteOptions;
|
|
4697
|
+
declare const reactQuery_gen_searchUsersInfiniteQueryKey: typeof searchUsersInfiniteQueryKey;
|
|
4698
|
+
declare const reactQuery_gen_searchUsersOptions: typeof searchUsersOptions;
|
|
4699
|
+
declare const reactQuery_gen_searchUsersQueryKey: typeof searchUsersQueryKey;
|
|
4538
4700
|
declare const reactQuery_gen_updateBookingMutation: typeof updateBookingMutation;
|
|
4539
4701
|
declare namespace reactQuery_gen {
|
|
4540
|
-
export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_addBookingMutation as addBookingMutation, reactQuery_gen_addBookingOptions as addBookingOptions, reactQuery_gen_addBookingQueryKey as addBookingQueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_createFacilityOfferOrderOptions as createFacilityOfferOrderOptions, reactQuery_gen_createFacilityOfferOrderQueryKey as createFacilityOfferOrderQueryKey, reactQuery_gen_deleteBookingMutation as deleteBookingMutation, reactQuery_gen_findBookingByIdOptions as findBookingByIdOptions, reactQuery_gen_findBookingByIdQueryKey as findBookingByIdQueryKey, reactQuery_gen_findBookingsInfiniteOptions as findBookingsInfiniteOptions, reactQuery_gen_findBookingsInfiniteQueryKey as findBookingsInfiniteQueryKey, reactQuery_gen_findBookingsOptions as findBookingsOptions, reactQuery_gen_findBookingsQueryKey as findBookingsQueryKey, reactQuery_gen_listFacilityOffersInfiniteOptions as listFacilityOffersInfiniteOptions, reactQuery_gen_listFacilityOffersInfiniteQueryKey as listFacilityOffersInfiniteQueryKey, reactQuery_gen_listFacilityOffersOptions as listFacilityOffersOptions, reactQuery_gen_listFacilityOffersQueryKey as listFacilityOffersQueryKey, reactQuery_gen_updateBookingMutation as updateBookingMutation };
|
|
4702
|
+
export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_addBookingMutation as addBookingMutation, reactQuery_gen_addBookingOptions as addBookingOptions, reactQuery_gen_addBookingQueryKey as addBookingQueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_createFacilityOfferOrderOptions as createFacilityOfferOrderOptions, reactQuery_gen_createFacilityOfferOrderQueryKey as createFacilityOfferOrderQueryKey, reactQuery_gen_deleteBookingMutation as deleteBookingMutation, reactQuery_gen_findBookingByIdOptions as findBookingByIdOptions, reactQuery_gen_findBookingByIdQueryKey as findBookingByIdQueryKey, reactQuery_gen_findBookingsInfiniteOptions as findBookingsInfiniteOptions, reactQuery_gen_findBookingsInfiniteQueryKey as findBookingsInfiniteQueryKey, reactQuery_gen_findBookingsOptions as findBookingsOptions, reactQuery_gen_findBookingsQueryKey as findBookingsQueryKey, reactQuery_gen_listFacilityOffersInfiniteOptions as listFacilityOffersInfiniteOptions, reactQuery_gen_listFacilityOffersInfiniteQueryKey as listFacilityOffersInfiniteQueryKey, reactQuery_gen_listFacilityOffersOptions as listFacilityOffersOptions, reactQuery_gen_listFacilityOffersQueryKey as listFacilityOffersQueryKey, reactQuery_gen_searchUsersInfiniteOptions as searchUsersInfiniteOptions, reactQuery_gen_searchUsersInfiniteQueryKey as searchUsersInfiniteQueryKey, reactQuery_gen_searchUsersOptions as searchUsersOptions, reactQuery_gen_searchUsersQueryKey as searchUsersQueryKey, reactQuery_gen_updateBookingMutation as updateBookingMutation };
|
|
4541
4703
|
}
|
|
4542
4704
|
|
|
4543
4705
|
type indexV1_AddBookingData = AddBookingData;
|
|
@@ -4599,6 +4761,14 @@ type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet = PkgOpenapiSharedOffsetPa
|
|
|
4599
4761
|
type indexV1_PkgOpenapiSharedOffsetParam = PkgOpenapiSharedOffsetParam;
|
|
4600
4762
|
type indexV1_PkgOpenapiSharedProblemDetails = PkgOpenapiSharedProblemDetails;
|
|
4601
4763
|
type indexV1_Player = Player;
|
|
4764
|
+
type indexV1_SearchUser = SearchUser;
|
|
4765
|
+
declare const indexV1_SearchUserRelation: typeof SearchUserRelation;
|
|
4766
|
+
type indexV1_SearchUsersData = SearchUsersData;
|
|
4767
|
+
type indexV1_SearchUsersError = SearchUsersError;
|
|
4768
|
+
type indexV1_SearchUsersErrors = SearchUsersErrors;
|
|
4769
|
+
type indexV1_SearchUsersListPaginatedResponse = SearchUsersListPaginatedResponse;
|
|
4770
|
+
type indexV1_SearchUsersResponse = SearchUsersResponse;
|
|
4771
|
+
type indexV1_SearchUsersResponses = SearchUsersResponses;
|
|
4602
4772
|
type indexV1_UpdateBooking = UpdateBooking;
|
|
4603
4773
|
type indexV1_UpdateBookingData = UpdateBookingData;
|
|
4604
4774
|
type indexV1_UpdateBookingError = UpdateBookingError;
|
|
@@ -4612,9 +4782,10 @@ declare const indexV1_deleteBooking: typeof deleteBooking;
|
|
|
4612
4782
|
declare const indexV1_findBookingById: typeof findBookingById;
|
|
4613
4783
|
declare const indexV1_findBookings: typeof findBookings;
|
|
4614
4784
|
declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
|
|
4785
|
+
declare const indexV1_searchUsers: typeof searchUsers;
|
|
4615
4786
|
declare const indexV1_updateBooking: typeof updateBooking;
|
|
4616
4787
|
declare namespace indexV1 {
|
|
4617
|
-
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 };
|
|
4788
|
+
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_SearchUser as SearchUser, indexV1_SearchUserRelation as SearchUserRelation, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersListPaginatedResponse as SearchUsersListPaginatedResponse, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, 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_searchUsers as searchUsers, indexV1_updateBooking as updateBooking };
|
|
4618
4789
|
}
|
|
4619
4790
|
|
|
4620
4791
|
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, type 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 };
|
package/dist/main/index.d.ts
CHANGED
|
@@ -2065,13 +2065,6 @@ declare class AuthorizedService {
|
|
|
2065
2065
|
* @throws ApiError
|
|
2066
2066
|
*/
|
|
2067
2067
|
static getBookingUsers(bookingId: number): CancelablePromise<bookingUsersResponse>;
|
|
2068
|
-
/**
|
|
2069
|
-
* Search for users
|
|
2070
|
-
* @param key The search query
|
|
2071
|
-
* @returns userPublicProfile List of public profiles found
|
|
2072
|
-
* @throws ApiError
|
|
2073
|
-
*/
|
|
2074
|
-
static searchUsers(key: string): CancelablePromise<Array<userPublicProfile>>;
|
|
2075
2068
|
/**
|
|
2076
2069
|
* List all chats for the current user
|
|
2077
2070
|
* @param userChatStatus If provided, only returns user chats which match this user chat status:
|
|
@@ -2969,13 +2962,6 @@ declare class PlaySessionServiceV1Service {
|
|
|
2969
2962
|
}
|
|
2970
2963
|
|
|
2971
2964
|
declare class UserServiceV1Service {
|
|
2972
|
-
/**
|
|
2973
|
-
* Search for users
|
|
2974
|
-
* @param key The search query
|
|
2975
|
-
* @returns userPublicProfile List of public profiles found
|
|
2976
|
-
* @throws ApiError
|
|
2977
|
-
*/
|
|
2978
|
-
static searchUsers(key: string): CancelablePromise<Array<userPublicProfile>>;
|
|
2979
2965
|
/**
|
|
2980
2966
|
* Get public profile of requested user
|
|
2981
2967
|
* @param userId User ID
|
|
@@ -3325,6 +3311,40 @@ type Player = {
|
|
|
3325
3311
|
email: string;
|
|
3326
3312
|
id: string;
|
|
3327
3313
|
};
|
|
3314
|
+
type SearchUser = {
|
|
3315
|
+
firstname: string;
|
|
3316
|
+
lastname: string;
|
|
3317
|
+
profileImageUrl?: string;
|
|
3318
|
+
relationStatus: SearchUserRelation;
|
|
3319
|
+
userId: string;
|
|
3320
|
+
};
|
|
3321
|
+
/**
|
|
3322
|
+
* Returns :
|
|
3323
|
+
* * `FRIENDS` - The user is a friend.
|
|
3324
|
+
* * `OUTGOING` - The user has sent a friend request to the current user.
|
|
3325
|
+
* * `INCOMING` - The user has received a friend request from the current user.
|
|
3326
|
+
* * `NO_RELATION` - The user has no ongoing relation with the current user.
|
|
3327
|
+
*
|
|
3328
|
+
*/
|
|
3329
|
+
type SearchUserRelation = 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'NO_RELATION';
|
|
3330
|
+
/**
|
|
3331
|
+
* Returns :
|
|
3332
|
+
* * `FRIENDS` - The user is a friend.
|
|
3333
|
+
* * `OUTGOING` - The user has sent a friend request to the current user.
|
|
3334
|
+
* * `INCOMING` - The user has received a friend request from the current user.
|
|
3335
|
+
* * `NO_RELATION` - The user has no ongoing relation with the current user.
|
|
3336
|
+
*
|
|
3337
|
+
*/
|
|
3338
|
+
declare const SearchUserRelation: {
|
|
3339
|
+
readonly FRIENDS: "FRIENDS";
|
|
3340
|
+
readonly OUTGOING: "OUTGOING";
|
|
3341
|
+
readonly INCOMING: "INCOMING";
|
|
3342
|
+
readonly NO_RELATION: "NO_RELATION";
|
|
3343
|
+
};
|
|
3344
|
+
type SearchUsersListPaginatedResponse = {
|
|
3345
|
+
items: Array<SearchUser>;
|
|
3346
|
+
meta: PkgOpenapiSharedOffsetPaginatedResultSet;
|
|
3347
|
+
};
|
|
3328
3348
|
type UpdateBooking = {
|
|
3329
3349
|
booker: string;
|
|
3330
3350
|
end_time: string;
|
|
@@ -3716,6 +3736,55 @@ type CreateFacilityOfferOrderResponses = {
|
|
|
3716
3736
|
200: FacilityOfferOrder;
|
|
3717
3737
|
};
|
|
3718
3738
|
type CreateFacilityOfferOrderResponse = CreateFacilityOfferOrderResponses[keyof CreateFacilityOfferOrderResponses];
|
|
3739
|
+
type SearchUsersData = {
|
|
3740
|
+
body?: never;
|
|
3741
|
+
path?: never;
|
|
3742
|
+
query?: {
|
|
3743
|
+
/**
|
|
3744
|
+
* The search query
|
|
3745
|
+
*/
|
|
3746
|
+
name?: string;
|
|
3747
|
+
/**
|
|
3748
|
+
* Number of items to skip before returning the results.
|
|
3749
|
+
*/
|
|
3750
|
+
offset?: number;
|
|
3751
|
+
/**
|
|
3752
|
+
* Maximum number of items to return.
|
|
3753
|
+
*/
|
|
3754
|
+
limit?: number;
|
|
3755
|
+
};
|
|
3756
|
+
url: '/users/search';
|
|
3757
|
+
};
|
|
3758
|
+
type SearchUsersErrors = {
|
|
3759
|
+
/**
|
|
3760
|
+
* The request was malformed or could not be processed.
|
|
3761
|
+
*/
|
|
3762
|
+
400: PkgOpenapiSharedProblemDetails;
|
|
3763
|
+
/**
|
|
3764
|
+
* Access token is not set or invalid.
|
|
3765
|
+
*/
|
|
3766
|
+
401: PkgOpenapiSharedProblemDetails;
|
|
3767
|
+
/**
|
|
3768
|
+
* The requestor is not authorized to perform this operation on the resource.
|
|
3769
|
+
*/
|
|
3770
|
+
403: PkgOpenapiSharedProblemDetails;
|
|
3771
|
+
/**
|
|
3772
|
+
* The server encountered an unexpected error
|
|
3773
|
+
*/
|
|
3774
|
+
500: PkgOpenapiSharedProblemDetails;
|
|
3775
|
+
/**
|
|
3776
|
+
* The requested operation is not implemented.
|
|
3777
|
+
*/
|
|
3778
|
+
501: PkgOpenapiSharedProblemDetails;
|
|
3779
|
+
};
|
|
3780
|
+
type SearchUsersError = SearchUsersErrors[keyof SearchUsersErrors];
|
|
3781
|
+
type SearchUsersResponses = {
|
|
3782
|
+
/**
|
|
3783
|
+
* OK
|
|
3784
|
+
*/
|
|
3785
|
+
200: SearchUsersListPaginatedResponse;
|
|
3786
|
+
};
|
|
3787
|
+
type SearchUsersResponse = SearchUsersResponses[keyof SearchUsersResponses];
|
|
3719
3788
|
type ClientOptions = {
|
|
3720
3789
|
baseUrl: 'https://api.matchi.com/v1' | (string & {});
|
|
3721
3790
|
};
|
|
@@ -4126,6 +4195,48 @@ declare const PlayerSchema: {
|
|
|
4126
4195
|
readonly required: readonly ["id", "email"];
|
|
4127
4196
|
readonly type: "object";
|
|
4128
4197
|
};
|
|
4198
|
+
declare const SearchUserSchema: {
|
|
4199
|
+
readonly properties: {
|
|
4200
|
+
readonly firstname: {
|
|
4201
|
+
readonly type: "string";
|
|
4202
|
+
};
|
|
4203
|
+
readonly lastname: {
|
|
4204
|
+
readonly type: "string";
|
|
4205
|
+
};
|
|
4206
|
+
readonly profileImageUrl: {
|
|
4207
|
+
readonly type: "string";
|
|
4208
|
+
};
|
|
4209
|
+
readonly relationStatus: {
|
|
4210
|
+
readonly $ref: "#/components/schemas/SearchUserRelation";
|
|
4211
|
+
};
|
|
4212
|
+
readonly userId: {
|
|
4213
|
+
readonly format: "uuid";
|
|
4214
|
+
readonly type: "string";
|
|
4215
|
+
};
|
|
4216
|
+
};
|
|
4217
|
+
readonly required: readonly ["userId", "firstname", "lastname", "relationStatus"];
|
|
4218
|
+
readonly type: "object";
|
|
4219
|
+
};
|
|
4220
|
+
declare const SearchUserRelationSchema: {
|
|
4221
|
+
readonly description: "Returns :\n* `FRIENDS` - The user is a friend.\n* `OUTGOING` - The user has sent a friend request to the current user.\n* `INCOMING` - The user has received a friend request from the current user.\n* `NO_RELATION` - The user has no ongoing relation with the current user.\n";
|
|
4222
|
+
readonly enum: readonly ["FRIENDS", "OUTGOING", "INCOMING", "NO_RELATION"];
|
|
4223
|
+
readonly type: "string";
|
|
4224
|
+
};
|
|
4225
|
+
declare const SearchUsersListPaginatedResponseSchema: {
|
|
4226
|
+
readonly properties: {
|
|
4227
|
+
readonly items: {
|
|
4228
|
+
readonly items: {
|
|
4229
|
+
readonly $ref: "#/components/schemas/SearchUser";
|
|
4230
|
+
};
|
|
4231
|
+
readonly type: "array";
|
|
4232
|
+
};
|
|
4233
|
+
readonly meta: {
|
|
4234
|
+
readonly $ref: "#/components/schemas/pkgOpenapiSharedOffsetPaginatedResultSet";
|
|
4235
|
+
};
|
|
4236
|
+
};
|
|
4237
|
+
readonly required: readonly ["items", "meta"];
|
|
4238
|
+
readonly type: "object";
|
|
4239
|
+
};
|
|
4129
4240
|
declare const UpdateBookingSchema: {
|
|
4130
4241
|
readonly properties: {
|
|
4131
4242
|
readonly booker: {
|
|
@@ -4273,6 +4384,9 @@ declare const schemas_gen_FacilityPunchCardDataSchema: typeof FacilityPunchCardD
|
|
|
4273
4384
|
declare const schemas_gen_FacilityValueCardDataSchema: typeof FacilityValueCardDataSchema;
|
|
4274
4385
|
declare const schemas_gen_GuestSchema: typeof GuestSchema;
|
|
4275
4386
|
declare const schemas_gen_PlayerSchema: typeof PlayerSchema;
|
|
4387
|
+
declare const schemas_gen_SearchUserRelationSchema: typeof SearchUserRelationSchema;
|
|
4388
|
+
declare const schemas_gen_SearchUserSchema: typeof SearchUserSchema;
|
|
4389
|
+
declare const schemas_gen_SearchUsersListPaginatedResponseSchema: typeof SearchUsersListPaginatedResponseSchema;
|
|
4276
4390
|
declare const schemas_gen_UpdateBookingSchema: typeof UpdateBookingSchema;
|
|
4277
4391
|
declare const schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema: typeof pkgOpenapiSharedCursorPaginatedResultSetSchema;
|
|
4278
4392
|
declare const schemas_gen_pkgOpenapiSharedErrorSchema: typeof pkgOpenapiSharedErrorSchema;
|
|
@@ -4280,7 +4394,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
|
|
|
4280
4394
|
declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
|
|
4281
4395
|
declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
|
|
4282
4396
|
declare namespace schemas_gen {
|
|
4283
|
-
export { schemas_gen_BookingSchema as BookingSchema, schemas_gen_CreateBookingSchema as CreateBookingSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_GuestSchema as GuestSchema, schemas_gen_PlayerSchema as PlayerSchema, schemas_gen_UpdateBookingSchema as UpdateBookingSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
|
|
4397
|
+
export { schemas_gen_BookingSchema as BookingSchema, schemas_gen_CreateBookingSchema as CreateBookingSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_GuestSchema as GuestSchema, schemas_gen_PlayerSchema as PlayerSchema, schemas_gen_SearchUserRelationSchema as SearchUserRelationSchema, schemas_gen_SearchUserSchema as SearchUserSchema, schemas_gen_SearchUsersListPaginatedResponseSchema as SearchUsersListPaginatedResponseSchema, schemas_gen_UpdateBookingSchema as UpdateBookingSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
|
|
4284
4398
|
}
|
|
4285
4399
|
|
|
4286
4400
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -4334,6 +4448,11 @@ declare const listFacilityOffers: <ThrowOnError extends boolean = false>(options
|
|
|
4334
4448
|
* Will create a facility offer order and return the order object
|
|
4335
4449
|
*/
|
|
4336
4450
|
declare const createFacilityOfferOrder: <ThrowOnError extends boolean = false>(options: Options<CreateFacilityOfferOrderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4451
|
+
/**
|
|
4452
|
+
* Search for users by name
|
|
4453
|
+
* Search for users by name
|
|
4454
|
+
*/
|
|
4455
|
+
declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Options<SearchUsersData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<SearchUsersListPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4337
4456
|
|
|
4338
4457
|
type QueryKey<TOptions extends Options> = [
|
|
4339
4458
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
@@ -4516,6 +4635,45 @@ declare const createFacilityOfferOrderOptions: (options: Options<CreateFacilityO
|
|
|
4516
4635
|
};
|
|
4517
4636
|
};
|
|
4518
4637
|
declare const createFacilityOfferOrderMutation: (options?: Partial<Options<CreateFacilityOfferOrderData>>) => UseMutationOptions<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, Options<CreateFacilityOfferOrderData>, unknown>;
|
|
4638
|
+
declare const searchUsersQueryKey: (options?: Options<SearchUsersData>) => [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4639
|
+
_id: string;
|
|
4640
|
+
_infinite?: boolean | undefined;
|
|
4641
|
+
}];
|
|
4642
|
+
declare const searchUsersOptions: (options?: Options<SearchUsersData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<SearchUsersListPaginatedResponse, Error, SearchUsersListPaginatedResponse, [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4643
|
+
_id: string;
|
|
4644
|
+
_infinite?: boolean | undefined;
|
|
4645
|
+
}]>, "queryFn"> & {
|
|
4646
|
+
queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<SearchUsersListPaginatedResponse, [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4647
|
+
_id: string;
|
|
4648
|
+
_infinite?: boolean | undefined;
|
|
4649
|
+
}], never> | undefined;
|
|
4650
|
+
} & {
|
|
4651
|
+
queryKey: [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4652
|
+
_id: string;
|
|
4653
|
+
_infinite?: boolean | undefined;
|
|
4654
|
+
}] & {
|
|
4655
|
+
[dataTagSymbol]: SearchUsersListPaginatedResponse;
|
|
4656
|
+
[dataTagErrorSymbol]: Error;
|
|
4657
|
+
};
|
|
4658
|
+
};
|
|
4659
|
+
declare const searchUsersInfiniteQueryKey: (options?: Options<SearchUsersData>) => QueryKey<Options<SearchUsersData>>;
|
|
4660
|
+
declare const searchUsersInfiniteOptions: (options?: Options<SearchUsersData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<SearchUsersListPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<SearchUsersListPaginatedResponse, unknown>, SearchUsersListPaginatedResponse, QueryKey<Options<SearchUsersData>>, number | Pick<Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4661
|
+
_id: string;
|
|
4662
|
+
_infinite?: boolean | undefined;
|
|
4663
|
+
}, "body" | "headers" | "path" | "query">> & {
|
|
4664
|
+
initialData: InfiniteData<SearchUsersListPaginatedResponse, number | Pick<Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4665
|
+
_id: string;
|
|
4666
|
+
_infinite?: boolean | undefined;
|
|
4667
|
+
}, "body" | "headers" | "path" | "query">> | (() => InfiniteData<SearchUsersListPaginatedResponse, number | Pick<Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4668
|
+
_id: string;
|
|
4669
|
+
_infinite?: boolean | undefined;
|
|
4670
|
+
}, "body" | "headers" | "path" | "query">>) | undefined;
|
|
4671
|
+
} & {
|
|
4672
|
+
queryKey: QueryKey<Options<SearchUsersData>> & {
|
|
4673
|
+
[dataTagSymbol]: InfiniteData<SearchUsersListPaginatedResponse, unknown>;
|
|
4674
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4675
|
+
};
|
|
4676
|
+
};
|
|
4519
4677
|
|
|
4520
4678
|
type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
|
|
4521
4679
|
declare const reactQuery_gen_addBookingMutation: typeof addBookingMutation;
|
|
@@ -4535,9 +4693,13 @@ declare const reactQuery_gen_listFacilityOffersInfiniteOptions: typeof listFacil
|
|
|
4535
4693
|
declare const reactQuery_gen_listFacilityOffersInfiniteQueryKey: typeof listFacilityOffersInfiniteQueryKey;
|
|
4536
4694
|
declare const reactQuery_gen_listFacilityOffersOptions: typeof listFacilityOffersOptions;
|
|
4537
4695
|
declare const reactQuery_gen_listFacilityOffersQueryKey: typeof listFacilityOffersQueryKey;
|
|
4696
|
+
declare const reactQuery_gen_searchUsersInfiniteOptions: typeof searchUsersInfiniteOptions;
|
|
4697
|
+
declare const reactQuery_gen_searchUsersInfiniteQueryKey: typeof searchUsersInfiniteQueryKey;
|
|
4698
|
+
declare const reactQuery_gen_searchUsersOptions: typeof searchUsersOptions;
|
|
4699
|
+
declare const reactQuery_gen_searchUsersQueryKey: typeof searchUsersQueryKey;
|
|
4538
4700
|
declare const reactQuery_gen_updateBookingMutation: typeof updateBookingMutation;
|
|
4539
4701
|
declare namespace reactQuery_gen {
|
|
4540
|
-
export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_addBookingMutation as addBookingMutation, reactQuery_gen_addBookingOptions as addBookingOptions, reactQuery_gen_addBookingQueryKey as addBookingQueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_createFacilityOfferOrderOptions as createFacilityOfferOrderOptions, reactQuery_gen_createFacilityOfferOrderQueryKey as createFacilityOfferOrderQueryKey, reactQuery_gen_deleteBookingMutation as deleteBookingMutation, reactQuery_gen_findBookingByIdOptions as findBookingByIdOptions, reactQuery_gen_findBookingByIdQueryKey as findBookingByIdQueryKey, reactQuery_gen_findBookingsInfiniteOptions as findBookingsInfiniteOptions, reactQuery_gen_findBookingsInfiniteQueryKey as findBookingsInfiniteQueryKey, reactQuery_gen_findBookingsOptions as findBookingsOptions, reactQuery_gen_findBookingsQueryKey as findBookingsQueryKey, reactQuery_gen_listFacilityOffersInfiniteOptions as listFacilityOffersInfiniteOptions, reactQuery_gen_listFacilityOffersInfiniteQueryKey as listFacilityOffersInfiniteQueryKey, reactQuery_gen_listFacilityOffersOptions as listFacilityOffersOptions, reactQuery_gen_listFacilityOffersQueryKey as listFacilityOffersQueryKey, reactQuery_gen_updateBookingMutation as updateBookingMutation };
|
|
4702
|
+
export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_addBookingMutation as addBookingMutation, reactQuery_gen_addBookingOptions as addBookingOptions, reactQuery_gen_addBookingQueryKey as addBookingQueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_createFacilityOfferOrderOptions as createFacilityOfferOrderOptions, reactQuery_gen_createFacilityOfferOrderQueryKey as createFacilityOfferOrderQueryKey, reactQuery_gen_deleteBookingMutation as deleteBookingMutation, reactQuery_gen_findBookingByIdOptions as findBookingByIdOptions, reactQuery_gen_findBookingByIdQueryKey as findBookingByIdQueryKey, reactQuery_gen_findBookingsInfiniteOptions as findBookingsInfiniteOptions, reactQuery_gen_findBookingsInfiniteQueryKey as findBookingsInfiniteQueryKey, reactQuery_gen_findBookingsOptions as findBookingsOptions, reactQuery_gen_findBookingsQueryKey as findBookingsQueryKey, reactQuery_gen_listFacilityOffersInfiniteOptions as listFacilityOffersInfiniteOptions, reactQuery_gen_listFacilityOffersInfiniteQueryKey as listFacilityOffersInfiniteQueryKey, reactQuery_gen_listFacilityOffersOptions as listFacilityOffersOptions, reactQuery_gen_listFacilityOffersQueryKey as listFacilityOffersQueryKey, reactQuery_gen_searchUsersInfiniteOptions as searchUsersInfiniteOptions, reactQuery_gen_searchUsersInfiniteQueryKey as searchUsersInfiniteQueryKey, reactQuery_gen_searchUsersOptions as searchUsersOptions, reactQuery_gen_searchUsersQueryKey as searchUsersQueryKey, reactQuery_gen_updateBookingMutation as updateBookingMutation };
|
|
4541
4703
|
}
|
|
4542
4704
|
|
|
4543
4705
|
type indexV1_AddBookingData = AddBookingData;
|
|
@@ -4599,6 +4761,14 @@ type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet = PkgOpenapiSharedOffsetPa
|
|
|
4599
4761
|
type indexV1_PkgOpenapiSharedOffsetParam = PkgOpenapiSharedOffsetParam;
|
|
4600
4762
|
type indexV1_PkgOpenapiSharedProblemDetails = PkgOpenapiSharedProblemDetails;
|
|
4601
4763
|
type indexV1_Player = Player;
|
|
4764
|
+
type indexV1_SearchUser = SearchUser;
|
|
4765
|
+
declare const indexV1_SearchUserRelation: typeof SearchUserRelation;
|
|
4766
|
+
type indexV1_SearchUsersData = SearchUsersData;
|
|
4767
|
+
type indexV1_SearchUsersError = SearchUsersError;
|
|
4768
|
+
type indexV1_SearchUsersErrors = SearchUsersErrors;
|
|
4769
|
+
type indexV1_SearchUsersListPaginatedResponse = SearchUsersListPaginatedResponse;
|
|
4770
|
+
type indexV1_SearchUsersResponse = SearchUsersResponse;
|
|
4771
|
+
type indexV1_SearchUsersResponses = SearchUsersResponses;
|
|
4602
4772
|
type indexV1_UpdateBooking = UpdateBooking;
|
|
4603
4773
|
type indexV1_UpdateBookingData = UpdateBookingData;
|
|
4604
4774
|
type indexV1_UpdateBookingError = UpdateBookingError;
|
|
@@ -4612,9 +4782,10 @@ declare const indexV1_deleteBooking: typeof deleteBooking;
|
|
|
4612
4782
|
declare const indexV1_findBookingById: typeof findBookingById;
|
|
4613
4783
|
declare const indexV1_findBookings: typeof findBookings;
|
|
4614
4784
|
declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
|
|
4785
|
+
declare const indexV1_searchUsers: typeof searchUsers;
|
|
4615
4786
|
declare const indexV1_updateBooking: typeof updateBooking;
|
|
4616
4787
|
declare namespace indexV1 {
|
|
4617
|
-
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 };
|
|
4788
|
+
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_SearchUser as SearchUser, indexV1_SearchUserRelation as SearchUserRelation, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersListPaginatedResponse as SearchUsersListPaginatedResponse, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, 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_searchUsers as searchUsers, indexV1_updateBooking as updateBooking };
|
|
4618
4789
|
}
|
|
4619
4790
|
|
|
4620
4791
|
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, type 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 };
|