@matchi/api 0.20251119.1 → 0.20251124.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 +17 -731
- package/dist/main/index.d.ts +17 -731
- 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
|
@@ -3199,34 +3199,6 @@ declare class UserServiceV1Service {
|
|
|
3199
3199
|
static listUserOfferValueCards(offset?: number, limit?: number): CancelablePromise<userOfferValueCardsResponse>;
|
|
3200
3200
|
}
|
|
3201
3201
|
|
|
3202
|
-
type Booking = {
|
|
3203
|
-
booker: string;
|
|
3204
|
-
created_at: string;
|
|
3205
|
-
created_by: string;
|
|
3206
|
-
end_time: string;
|
|
3207
|
-
id: string;
|
|
3208
|
-
location: string;
|
|
3209
|
-
participants: {
|
|
3210
|
-
guests: Array<Guest>;
|
|
3211
|
-
players: Array<Player>;
|
|
3212
|
-
};
|
|
3213
|
-
payment_reference: string;
|
|
3214
|
-
start_time: string;
|
|
3215
|
-
updated_at: string;
|
|
3216
|
-
updated_by: string;
|
|
3217
|
-
};
|
|
3218
|
-
type CreateBooking = {
|
|
3219
|
-
booker: string;
|
|
3220
|
-
created_by?: string;
|
|
3221
|
-
end_time: string;
|
|
3222
|
-
location: string;
|
|
3223
|
-
participants: {
|
|
3224
|
-
guests?: Array<Guest>;
|
|
3225
|
-
players?: Array<Player>;
|
|
3226
|
-
};
|
|
3227
|
-
payment_reference: string;
|
|
3228
|
-
start_time: string;
|
|
3229
|
-
};
|
|
3230
3202
|
type FacilityOffer = {
|
|
3231
3203
|
data: FacilityPunchCardData | FacilityValueCardData;
|
|
3232
3204
|
type: 'FACILITY_PUNCH_CARD' | 'FACILITY_VALUE_CARD';
|
|
@@ -3305,24 +3277,6 @@ type FacilityValueCardData = {
|
|
|
3305
3277
|
price: string;
|
|
3306
3278
|
user_has_active_membership: boolean;
|
|
3307
3279
|
};
|
|
3308
|
-
type Guest = {
|
|
3309
|
-
email: string;
|
|
3310
|
-
};
|
|
3311
|
-
type Player = {
|
|
3312
|
-
email: string;
|
|
3313
|
-
id: string;
|
|
3314
|
-
};
|
|
3315
|
-
type UpdateBooking = {
|
|
3316
|
-
booker: string;
|
|
3317
|
-
end_time: string;
|
|
3318
|
-
location: string;
|
|
3319
|
-
participants: {
|
|
3320
|
-
guests?: Array<Guest>;
|
|
3321
|
-
players?: Array<Player>;
|
|
3322
|
-
};
|
|
3323
|
-
payment_reference: string;
|
|
3324
|
-
start_time: string;
|
|
3325
|
-
};
|
|
3326
3280
|
type User = {
|
|
3327
3281
|
first_name: string;
|
|
3328
3282
|
last_name: string;
|
|
@@ -3436,224 +3390,6 @@ type PkgOpenapiSharedOffsetLimitParam = number;
|
|
|
3436
3390
|
* Number of items to skip before returning the results.
|
|
3437
3391
|
*/
|
|
3438
3392
|
type PkgOpenapiSharedOffsetParam = number;
|
|
3439
|
-
type FindBookingsData = {
|
|
3440
|
-
body?: never;
|
|
3441
|
-
path?: never;
|
|
3442
|
-
query?: {
|
|
3443
|
-
/**
|
|
3444
|
-
* Number of items to skip before returning the results.
|
|
3445
|
-
*/
|
|
3446
|
-
offset?: number;
|
|
3447
|
-
/**
|
|
3448
|
-
* Maximum number of items to return.
|
|
3449
|
-
*/
|
|
3450
|
-
limit?: number;
|
|
3451
|
-
/**
|
|
3452
|
-
* The location to filter the bookings by.
|
|
3453
|
-
*/
|
|
3454
|
-
location?: string;
|
|
3455
|
-
};
|
|
3456
|
-
url: '/bookings';
|
|
3457
|
-
};
|
|
3458
|
-
type FindBookingsErrors = {
|
|
3459
|
-
/**
|
|
3460
|
-
* Access token is not set or invalid.
|
|
3461
|
-
*/
|
|
3462
|
-
401: PkgOpenapiSharedProblemDetails;
|
|
3463
|
-
/**
|
|
3464
|
-
* The requestor is not authorized to perform this operation on the resource.
|
|
3465
|
-
*/
|
|
3466
|
-
403: PkgOpenapiSharedProblemDetails;
|
|
3467
|
-
/**
|
|
3468
|
-
* The server encountered an unexpected error
|
|
3469
|
-
*/
|
|
3470
|
-
500: PkgOpenapiSharedProblemDetails;
|
|
3471
|
-
/**
|
|
3472
|
-
* The requested operation is not implemented.
|
|
3473
|
-
*/
|
|
3474
|
-
501: PkgOpenapiSharedProblemDetails;
|
|
3475
|
-
};
|
|
3476
|
-
type FindBookingsError = FindBookingsErrors[keyof FindBookingsErrors];
|
|
3477
|
-
type FindBookingsResponses = {
|
|
3478
|
-
/**
|
|
3479
|
-
* OK
|
|
3480
|
-
*/
|
|
3481
|
-
200: {
|
|
3482
|
-
data?: Array<Booking>;
|
|
3483
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet;
|
|
3484
|
-
};
|
|
3485
|
-
};
|
|
3486
|
-
type FindBookingsResponse = FindBookingsResponses[keyof FindBookingsResponses];
|
|
3487
|
-
type AddBookingData = {
|
|
3488
|
-
body: CreateBooking;
|
|
3489
|
-
path?: never;
|
|
3490
|
-
query?: never;
|
|
3491
|
-
url: '/bookings';
|
|
3492
|
-
};
|
|
3493
|
-
type AddBookingErrors = {
|
|
3494
|
-
/**
|
|
3495
|
-
* The request was malformed or could not be processed.
|
|
3496
|
-
*/
|
|
3497
|
-
400: PkgOpenapiSharedProblemDetails;
|
|
3498
|
-
/**
|
|
3499
|
-
* Access token is not set or invalid.
|
|
3500
|
-
*/
|
|
3501
|
-
401: PkgOpenapiSharedProblemDetails;
|
|
3502
|
-
/**
|
|
3503
|
-
* The requestor is not authorized to perform this operation on the resource.
|
|
3504
|
-
*/
|
|
3505
|
-
403: PkgOpenapiSharedProblemDetails;
|
|
3506
|
-
/**
|
|
3507
|
-
* The resource being created is found to already exist on the server.
|
|
3508
|
-
*/
|
|
3509
|
-
409: PkgOpenapiSharedProblemDetails;
|
|
3510
|
-
/**
|
|
3511
|
-
* The server encountered an unexpected error
|
|
3512
|
-
*/
|
|
3513
|
-
500: PkgOpenapiSharedProblemDetails;
|
|
3514
|
-
/**
|
|
3515
|
-
* The service requested is unavailable
|
|
3516
|
-
*/
|
|
3517
|
-
503: PkgOpenapiSharedProblemDetails;
|
|
3518
|
-
};
|
|
3519
|
-
type AddBookingError = AddBookingErrors[keyof AddBookingErrors];
|
|
3520
|
-
type AddBookingResponses = {
|
|
3521
|
-
/**
|
|
3522
|
-
* Created
|
|
3523
|
-
*/
|
|
3524
|
-
201: Booking;
|
|
3525
|
-
};
|
|
3526
|
-
type AddBookingResponse = AddBookingResponses[keyof AddBookingResponses];
|
|
3527
|
-
type DeleteBookingData = {
|
|
3528
|
-
body?: never;
|
|
3529
|
-
path: {
|
|
3530
|
-
bookingId: string;
|
|
3531
|
-
};
|
|
3532
|
-
query?: never;
|
|
3533
|
-
url: '/bookings/{bookingId}';
|
|
3534
|
-
};
|
|
3535
|
-
type DeleteBookingErrors = {
|
|
3536
|
-
/**
|
|
3537
|
-
* Access token is not set or invalid.
|
|
3538
|
-
*/
|
|
3539
|
-
401: PkgOpenapiSharedProblemDetails;
|
|
3540
|
-
/**
|
|
3541
|
-
* The requestor is not authorized to perform this operation on the resource.
|
|
3542
|
-
*/
|
|
3543
|
-
403: PkgOpenapiSharedProblemDetails;
|
|
3544
|
-
/**
|
|
3545
|
-
* The requested resource was not found.
|
|
3546
|
-
*/
|
|
3547
|
-
404: PkgOpenapiSharedProblemDetails;
|
|
3548
|
-
/**
|
|
3549
|
-
* The server encountered an unexpected error
|
|
3550
|
-
*/
|
|
3551
|
-
500: PkgOpenapiSharedProblemDetails;
|
|
3552
|
-
/**
|
|
3553
|
-
* The requested operation is not implemented.
|
|
3554
|
-
*/
|
|
3555
|
-
501: PkgOpenapiSharedProblemDetails;
|
|
3556
|
-
/**
|
|
3557
|
-
* The service requested is unavailable
|
|
3558
|
-
*/
|
|
3559
|
-
503: PkgOpenapiSharedProblemDetails;
|
|
3560
|
-
};
|
|
3561
|
-
type DeleteBookingError = DeleteBookingErrors[keyof DeleteBookingErrors];
|
|
3562
|
-
type DeleteBookingResponses = {
|
|
3563
|
-
/**
|
|
3564
|
-
* No Content
|
|
3565
|
-
*/
|
|
3566
|
-
204: void;
|
|
3567
|
-
};
|
|
3568
|
-
type DeleteBookingResponse = DeleteBookingResponses[keyof DeleteBookingResponses];
|
|
3569
|
-
type FindBookingByIdData = {
|
|
3570
|
-
body?: never;
|
|
3571
|
-
path: {
|
|
3572
|
-
bookingId: string;
|
|
3573
|
-
};
|
|
3574
|
-
query?: never;
|
|
3575
|
-
url: '/bookings/{bookingId}';
|
|
3576
|
-
};
|
|
3577
|
-
type FindBookingByIdErrors = {
|
|
3578
|
-
/**
|
|
3579
|
-
* Access token is not set or invalid.
|
|
3580
|
-
*/
|
|
3581
|
-
401: PkgOpenapiSharedProblemDetails;
|
|
3582
|
-
/**
|
|
3583
|
-
* The requestor is not authorized to perform this operation on the resource.
|
|
3584
|
-
*/
|
|
3585
|
-
403: PkgOpenapiSharedProblemDetails;
|
|
3586
|
-
/**
|
|
3587
|
-
* The requested resource was not found.
|
|
3588
|
-
*/
|
|
3589
|
-
404: PkgOpenapiSharedProblemDetails;
|
|
3590
|
-
/**
|
|
3591
|
-
* The server encountered an unexpected error
|
|
3592
|
-
*/
|
|
3593
|
-
500: PkgOpenapiSharedProblemDetails;
|
|
3594
|
-
/**
|
|
3595
|
-
* The requested operation is not implemented.
|
|
3596
|
-
*/
|
|
3597
|
-
501: PkgOpenapiSharedProblemDetails;
|
|
3598
|
-
/**
|
|
3599
|
-
* The service requested is unavailable
|
|
3600
|
-
*/
|
|
3601
|
-
503: PkgOpenapiSharedProblemDetails;
|
|
3602
|
-
};
|
|
3603
|
-
type FindBookingByIdError = FindBookingByIdErrors[keyof FindBookingByIdErrors];
|
|
3604
|
-
type FindBookingByIdResponses = {
|
|
3605
|
-
/**
|
|
3606
|
-
* OK
|
|
3607
|
-
*/
|
|
3608
|
-
200: Booking;
|
|
3609
|
-
};
|
|
3610
|
-
type FindBookingByIdResponse = FindBookingByIdResponses[keyof FindBookingByIdResponses];
|
|
3611
|
-
type UpdateBookingData = {
|
|
3612
|
-
body: UpdateBooking;
|
|
3613
|
-
path: {
|
|
3614
|
-
bookingId: string;
|
|
3615
|
-
};
|
|
3616
|
-
query?: never;
|
|
3617
|
-
url: '/bookings/{bookingId}';
|
|
3618
|
-
};
|
|
3619
|
-
type UpdateBookingErrors = {
|
|
3620
|
-
/**
|
|
3621
|
-
* The request was malformed or could not be processed.
|
|
3622
|
-
*/
|
|
3623
|
-
400: PkgOpenapiSharedProblemDetails;
|
|
3624
|
-
/**
|
|
3625
|
-
* Access token is not set or invalid.
|
|
3626
|
-
*/
|
|
3627
|
-
401: PkgOpenapiSharedProblemDetails;
|
|
3628
|
-
/**
|
|
3629
|
-
* The requestor is not authorized to perform this operation on the resource.
|
|
3630
|
-
*/
|
|
3631
|
-
403: PkgOpenapiSharedProblemDetails;
|
|
3632
|
-
/**
|
|
3633
|
-
* The requested resource was not found.
|
|
3634
|
-
*/
|
|
3635
|
-
404: PkgOpenapiSharedProblemDetails;
|
|
3636
|
-
/**
|
|
3637
|
-
* The server encountered an unexpected error
|
|
3638
|
-
*/
|
|
3639
|
-
500: PkgOpenapiSharedProblemDetails;
|
|
3640
|
-
/**
|
|
3641
|
-
* The requested operation is not implemented.
|
|
3642
|
-
*/
|
|
3643
|
-
501: PkgOpenapiSharedProblemDetails;
|
|
3644
|
-
/**
|
|
3645
|
-
* The service requested is unavailable
|
|
3646
|
-
*/
|
|
3647
|
-
503: PkgOpenapiSharedProblemDetails;
|
|
3648
|
-
};
|
|
3649
|
-
type UpdateBookingError = UpdateBookingErrors[keyof UpdateBookingErrors];
|
|
3650
|
-
type UpdateBookingResponses = {
|
|
3651
|
-
/**
|
|
3652
|
-
* OK
|
|
3653
|
-
*/
|
|
3654
|
-
200: Booking;
|
|
3655
|
-
};
|
|
3656
|
-
type UpdateBookingResponse = UpdateBookingResponses[keyof UpdateBookingResponses];
|
|
3657
3393
|
type ListFacilityOffersData = {
|
|
3658
3394
|
body?: never;
|
|
3659
3395
|
path: {
|
|
@@ -3737,55 +3473,22 @@ type CreateFacilityOfferOrderResponses = {
|
|
|
3737
3473
|
200: FacilityOfferOrder;
|
|
3738
3474
|
};
|
|
3739
3475
|
type CreateFacilityOfferOrderResponse = CreateFacilityOfferOrderResponses[keyof CreateFacilityOfferOrderResponses];
|
|
3740
|
-
type
|
|
3476
|
+
type SearchUsersData = {
|
|
3741
3477
|
body?: never;
|
|
3742
3478
|
path?: never;
|
|
3743
3479
|
query?: {
|
|
3744
3480
|
/**
|
|
3745
|
-
*
|
|
3746
|
-
*/
|
|
3747
|
-
include_friends?: boolean;
|
|
3748
|
-
/**
|
|
3749
|
-
* Number of items to skip before returning the results.
|
|
3481
|
+
* The search query, must be at least 3 characters long
|
|
3750
3482
|
*/
|
|
3751
|
-
|
|
3483
|
+
name?: string;
|
|
3752
3484
|
/**
|
|
3753
|
-
*
|
|
3485
|
+
* Include friends in the recommended users list (only used if only_recommendations is true)
|
|
3754
3486
|
*/
|
|
3755
|
-
|
|
3756
|
-
};
|
|
3757
|
-
url: '/users/recommended';
|
|
3758
|
-
};
|
|
3759
|
-
type RecommendedUsersErrors = {
|
|
3760
|
-
/**
|
|
3761
|
-
* Access token is not set or invalid.
|
|
3762
|
-
*/
|
|
3763
|
-
401: PkgOpenapiSharedProblemDetails;
|
|
3764
|
-
/**
|
|
3765
|
-
* The server encountered an unexpected error
|
|
3766
|
-
*/
|
|
3767
|
-
500: PkgOpenapiSharedProblemDetails;
|
|
3768
|
-
/**
|
|
3769
|
-
* The requested operation is not implemented.
|
|
3770
|
-
*/
|
|
3771
|
-
501: PkgOpenapiSharedProblemDetails;
|
|
3772
|
-
};
|
|
3773
|
-
type RecommendedUsersError = RecommendedUsersErrors[keyof RecommendedUsersErrors];
|
|
3774
|
-
type RecommendedUsersResponses = {
|
|
3775
|
-
/**
|
|
3776
|
-
* OK
|
|
3777
|
-
*/
|
|
3778
|
-
200: UsersPaginatedResponse;
|
|
3779
|
-
};
|
|
3780
|
-
type RecommendedUsersResponse = RecommendedUsersResponses[keyof RecommendedUsersResponses];
|
|
3781
|
-
type SearchUsersData = {
|
|
3782
|
-
body?: never;
|
|
3783
|
-
path?: never;
|
|
3784
|
-
query: {
|
|
3487
|
+
include_friends?: boolean;
|
|
3785
3488
|
/**
|
|
3786
|
-
*
|
|
3489
|
+
* Only return recommended users
|
|
3787
3490
|
*/
|
|
3788
|
-
|
|
3491
|
+
only_recommendations?: boolean;
|
|
3789
3492
|
/**
|
|
3790
3493
|
* Number of items to skip before returning the results.
|
|
3791
3494
|
*/
|
|
@@ -3795,7 +3498,7 @@ type SearchUsersData = {
|
|
|
3795
3498
|
*/
|
|
3796
3499
|
limit?: number;
|
|
3797
3500
|
};
|
|
3798
|
-
url: '/users/
|
|
3501
|
+
url: '/users/profiles';
|
|
3799
3502
|
};
|
|
3800
3503
|
type SearchUsersErrors = {
|
|
3801
3504
|
/**
|
|
@@ -3806,10 +3509,6 @@ type SearchUsersErrors = {
|
|
|
3806
3509
|
* Access token is not set or invalid.
|
|
3807
3510
|
*/
|
|
3808
3511
|
401: PkgOpenapiSharedProblemDetails;
|
|
3809
|
-
/**
|
|
3810
|
-
* The requestor is not authorized to perform this operation on the resource.
|
|
3811
|
-
*/
|
|
3812
|
-
403: PkgOpenapiSharedProblemDetails;
|
|
3813
3512
|
/**
|
|
3814
3513
|
* The server encountered an unexpected error
|
|
3815
3514
|
*/
|
|
@@ -3833,110 +3532,6 @@ type ClientOptions = {
|
|
|
3833
3532
|
|
|
3834
3533
|
declare const client: _hey_api_client_fetch.Client;
|
|
3835
3534
|
|
|
3836
|
-
declare const BookingSchema: {
|
|
3837
|
-
readonly properties: {
|
|
3838
|
-
readonly booker: {
|
|
3839
|
-
readonly format: "uuid";
|
|
3840
|
-
readonly type: "string";
|
|
3841
|
-
};
|
|
3842
|
-
readonly created_at: {
|
|
3843
|
-
readonly format: "date-time";
|
|
3844
|
-
readonly type: "string";
|
|
3845
|
-
};
|
|
3846
|
-
readonly created_by: {
|
|
3847
|
-
readonly type: "string";
|
|
3848
|
-
};
|
|
3849
|
-
readonly end_time: {
|
|
3850
|
-
readonly format: "date-time";
|
|
3851
|
-
readonly type: "string";
|
|
3852
|
-
};
|
|
3853
|
-
readonly id: {
|
|
3854
|
-
readonly format: "uuid";
|
|
3855
|
-
readonly type: "string";
|
|
3856
|
-
};
|
|
3857
|
-
readonly location: {
|
|
3858
|
-
readonly type: "string";
|
|
3859
|
-
};
|
|
3860
|
-
readonly participants: {
|
|
3861
|
-
readonly properties: {
|
|
3862
|
-
readonly guests: {
|
|
3863
|
-
readonly items: {
|
|
3864
|
-
readonly $ref: "#/components/schemas/Guest";
|
|
3865
|
-
};
|
|
3866
|
-
readonly type: "array";
|
|
3867
|
-
};
|
|
3868
|
-
readonly players: {
|
|
3869
|
-
readonly items: {
|
|
3870
|
-
readonly $ref: "#/components/schemas/Player";
|
|
3871
|
-
};
|
|
3872
|
-
readonly type: "array";
|
|
3873
|
-
};
|
|
3874
|
-
};
|
|
3875
|
-
readonly required: readonly ["guests", "players"];
|
|
3876
|
-
readonly type: "object";
|
|
3877
|
-
};
|
|
3878
|
-
readonly payment_reference: {
|
|
3879
|
-
readonly type: "string";
|
|
3880
|
-
};
|
|
3881
|
-
readonly start_time: {
|
|
3882
|
-
readonly format: "date-time";
|
|
3883
|
-
readonly type: "string";
|
|
3884
|
-
};
|
|
3885
|
-
readonly updated_at: {
|
|
3886
|
-
readonly format: "date-time";
|
|
3887
|
-
readonly type: "string";
|
|
3888
|
-
};
|
|
3889
|
-
readonly updated_by: {
|
|
3890
|
-
readonly type: "string";
|
|
3891
|
-
};
|
|
3892
|
-
};
|
|
3893
|
-
readonly required: readonly ["id", "booker", "location", "start_time", "end_time", "created_at", "updated_at", "participants", "payment_reference", "created_by", "updated_by"];
|
|
3894
|
-
readonly type: "object";
|
|
3895
|
-
};
|
|
3896
|
-
declare const CreateBookingSchema: {
|
|
3897
|
-
readonly properties: {
|
|
3898
|
-
readonly booker: {
|
|
3899
|
-
readonly format: "uuid";
|
|
3900
|
-
readonly type: "string";
|
|
3901
|
-
};
|
|
3902
|
-
readonly created_by: {
|
|
3903
|
-
readonly type: "string";
|
|
3904
|
-
};
|
|
3905
|
-
readonly end_time: {
|
|
3906
|
-
readonly format: "date-time";
|
|
3907
|
-
readonly type: "string";
|
|
3908
|
-
};
|
|
3909
|
-
readonly location: {
|
|
3910
|
-
readonly type: "string";
|
|
3911
|
-
};
|
|
3912
|
-
readonly participants: {
|
|
3913
|
-
readonly properties: {
|
|
3914
|
-
readonly guests: {
|
|
3915
|
-
readonly items: {
|
|
3916
|
-
readonly $ref: "#/components/schemas/Guest";
|
|
3917
|
-
};
|
|
3918
|
-
readonly type: "array";
|
|
3919
|
-
};
|
|
3920
|
-
readonly players: {
|
|
3921
|
-
readonly items: {
|
|
3922
|
-
readonly $ref: "#/components/schemas/Player";
|
|
3923
|
-
};
|
|
3924
|
-
readonly type: "array";
|
|
3925
|
-
};
|
|
3926
|
-
};
|
|
3927
|
-
readonly type: "object";
|
|
3928
|
-
};
|
|
3929
|
-
readonly payment_reference: {
|
|
3930
|
-
readonly type: "string";
|
|
3931
|
-
};
|
|
3932
|
-
readonly start_time: {
|
|
3933
|
-
readonly format: "date-time";
|
|
3934
|
-
readonly type: "string";
|
|
3935
|
-
};
|
|
3936
|
-
};
|
|
3937
|
-
readonly required: readonly ["booker", "location", "start_time", "end_time", "participants", "payment_reference"];
|
|
3938
|
-
readonly type: "object";
|
|
3939
|
-
};
|
|
3940
3535
|
declare const FacilityOfferSchema: {
|
|
3941
3536
|
readonly properties: {
|
|
3942
3537
|
readonly data: {
|
|
@@ -4086,6 +3681,7 @@ declare const FacilityOfferListSchema: {
|
|
|
4086
3681
|
readonly $ref: "#/components/schemas/FacilityOffer";
|
|
4087
3682
|
};
|
|
4088
3683
|
readonly type: "array";
|
|
3684
|
+
readonly 'x-deprecated-pagination-style': true;
|
|
4089
3685
|
};
|
|
4090
3686
|
readonly meta: {
|
|
4091
3687
|
readonly $ref: "#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet";
|
|
@@ -4215,69 +3811,6 @@ declare const FacilityValueCardDataSchema: {
|
|
|
4215
3811
|
readonly required: readonly ["offer_id", "facility_id", "name", "description", "price", "nr_of_days_valid", "amount", "members_only", "user_has_active_membership", "facility_receive_membership_requests", "expire_date", "conditions"];
|
|
4216
3812
|
readonly type: "object";
|
|
4217
3813
|
};
|
|
4218
|
-
declare const GuestSchema: {
|
|
4219
|
-
readonly properties: {
|
|
4220
|
-
readonly email: {
|
|
4221
|
-
readonly type: "string";
|
|
4222
|
-
};
|
|
4223
|
-
};
|
|
4224
|
-
readonly required: readonly ["email"];
|
|
4225
|
-
readonly type: "object";
|
|
4226
|
-
};
|
|
4227
|
-
declare const PlayerSchema: {
|
|
4228
|
-
readonly properties: {
|
|
4229
|
-
readonly email: {
|
|
4230
|
-
readonly type: "string";
|
|
4231
|
-
};
|
|
4232
|
-
readonly id: {
|
|
4233
|
-
readonly format: "uuid";
|
|
4234
|
-
readonly type: "string";
|
|
4235
|
-
};
|
|
4236
|
-
};
|
|
4237
|
-
readonly required: readonly ["id", "email"];
|
|
4238
|
-
readonly type: "object";
|
|
4239
|
-
};
|
|
4240
|
-
declare const UpdateBookingSchema: {
|
|
4241
|
-
readonly properties: {
|
|
4242
|
-
readonly booker: {
|
|
4243
|
-
readonly format: "uuid";
|
|
4244
|
-
readonly type: "string";
|
|
4245
|
-
};
|
|
4246
|
-
readonly end_time: {
|
|
4247
|
-
readonly format: "date-time";
|
|
4248
|
-
readonly type: "string";
|
|
4249
|
-
};
|
|
4250
|
-
readonly location: {
|
|
4251
|
-
readonly type: "string";
|
|
4252
|
-
};
|
|
4253
|
-
readonly participants: {
|
|
4254
|
-
readonly properties: {
|
|
4255
|
-
readonly guests: {
|
|
4256
|
-
readonly items: {
|
|
4257
|
-
readonly $ref: "#/components/schemas/Guest";
|
|
4258
|
-
};
|
|
4259
|
-
readonly type: "array";
|
|
4260
|
-
};
|
|
4261
|
-
readonly players: {
|
|
4262
|
-
readonly items: {
|
|
4263
|
-
readonly $ref: "#/components/schemas/Player";
|
|
4264
|
-
};
|
|
4265
|
-
readonly type: "array";
|
|
4266
|
-
};
|
|
4267
|
-
};
|
|
4268
|
-
readonly type: "object";
|
|
4269
|
-
};
|
|
4270
|
-
readonly payment_reference: {
|
|
4271
|
-
readonly type: "string";
|
|
4272
|
-
};
|
|
4273
|
-
readonly start_time: {
|
|
4274
|
-
readonly format: "date-time";
|
|
4275
|
-
readonly type: "string";
|
|
4276
|
-
};
|
|
4277
|
-
};
|
|
4278
|
-
readonly required: readonly ["booker", "location", "start_time", "end_time", "participants", "payment_reference"];
|
|
4279
|
-
readonly type: "object";
|
|
4280
|
-
};
|
|
4281
3814
|
declare const UserSchema: {
|
|
4282
3815
|
readonly properties: {
|
|
4283
3816
|
readonly first_name: {
|
|
@@ -4410,8 +3943,6 @@ declare const pkgOpenapiSharedProblemDetailsSchema: {
|
|
|
4410
3943
|
readonly type: "object";
|
|
4411
3944
|
};
|
|
4412
3945
|
|
|
4413
|
-
declare const schemas_gen_BookingSchema: typeof BookingSchema;
|
|
4414
|
-
declare const schemas_gen_CreateBookingSchema: typeof CreateBookingSchema;
|
|
4415
3946
|
declare const schemas_gen_FacilityOfferConditionActivitiesSchema: typeof FacilityOfferConditionActivitiesSchema;
|
|
4416
3947
|
declare const schemas_gen_FacilityOfferConditionCourtsSchema: typeof FacilityOfferConditionCourtsSchema;
|
|
4417
3948
|
declare const schemas_gen_FacilityOfferConditionDateSchema: typeof FacilityOfferConditionDateSchema;
|
|
@@ -4424,9 +3955,6 @@ declare const schemas_gen_FacilityOfferOrderSchema: typeof FacilityOfferOrderSch
|
|
|
4424
3955
|
declare const schemas_gen_FacilityOfferSchema: typeof FacilityOfferSchema;
|
|
4425
3956
|
declare const schemas_gen_FacilityPunchCardDataSchema: typeof FacilityPunchCardDataSchema;
|
|
4426
3957
|
declare const schemas_gen_FacilityValueCardDataSchema: typeof FacilityValueCardDataSchema;
|
|
4427
|
-
declare const schemas_gen_GuestSchema: typeof GuestSchema;
|
|
4428
|
-
declare const schemas_gen_PlayerSchema: typeof PlayerSchema;
|
|
4429
|
-
declare const schemas_gen_UpdateBookingSchema: typeof UpdateBookingSchema;
|
|
4430
3958
|
declare const schemas_gen_UserRelationSchema: typeof UserRelationSchema;
|
|
4431
3959
|
declare const schemas_gen_UserSchema: typeof UserSchema;
|
|
4432
3960
|
declare const schemas_gen_UsersPaginatedResponseSchema: typeof UsersPaginatedResponseSchema;
|
|
@@ -4436,7 +3964,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
|
|
|
4436
3964
|
declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
|
|
4437
3965
|
declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
|
|
4438
3966
|
declare namespace schemas_gen {
|
|
4439
|
-
export {
|
|
3967
|
+
export { 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_UserRelationSchema as UserRelationSchema, schemas_gen_UserSchema as UserSchema, schemas_gen_UsersPaginatedResponseSchema as UsersPaginatedResponseSchema, 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 };
|
|
4440
3968
|
}
|
|
4441
3969
|
|
|
4442
3970
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -4452,34 +3980,6 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
4452
3980
|
*/
|
|
4453
3981
|
meta?: Record<string, unknown>;
|
|
4454
3982
|
};
|
|
4455
|
-
/**
|
|
4456
|
-
* Get all bookings
|
|
4457
|
-
* Retrieve a list of all bookings
|
|
4458
|
-
*/
|
|
4459
|
-
declare const findBookings: <ThrowOnError extends boolean = false>(options?: Options<FindBookingsData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<{
|
|
4460
|
-
data?: Booking[] | undefined;
|
|
4461
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4462
|
-
}, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4463
|
-
/**
|
|
4464
|
-
* Create a new booking
|
|
4465
|
-
* Create a new booking with the provided details
|
|
4466
|
-
*/
|
|
4467
|
-
declare const addBooking: <ThrowOnError extends boolean = false>(options: Options<AddBookingData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Booking, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4468
|
-
/**
|
|
4469
|
-
* Delete a booking by ID
|
|
4470
|
-
* Delete a booking with the specified ID
|
|
4471
|
-
*/
|
|
4472
|
-
declare const deleteBooking: <ThrowOnError extends boolean = false>(options: Options<DeleteBookingData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<void, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4473
|
-
/**
|
|
4474
|
-
* Get a booking by ID
|
|
4475
|
-
* Retrieve a booking with the specified ID
|
|
4476
|
-
*/
|
|
4477
|
-
declare const findBookingById: <ThrowOnError extends boolean = false>(options: Options<FindBookingByIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Booking, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4478
|
-
/**
|
|
4479
|
-
* Update a booking by ID
|
|
4480
|
-
* Update a booking with the specified ID using the provided details
|
|
4481
|
-
*/
|
|
4482
|
-
declare const updateBooking: <ThrowOnError extends boolean = false>(options: Options<UpdateBookingData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Booking, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4483
3983
|
/**
|
|
4484
3984
|
* List all offers for a facility
|
|
4485
3985
|
* Retrieve a list of all facility offers
|
|
@@ -4490,16 +3990,11 @@ declare const listFacilityOffers: <ThrowOnError extends boolean = false>(options
|
|
|
4490
3990
|
* Will create a facility offer order and return the order object
|
|
4491
3991
|
*/
|
|
4492
3992
|
declare const createFacilityOfferOrder: <ThrowOnError extends boolean = false>(options: Options<CreateFacilityOfferOrderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4493
|
-
/**
|
|
4494
|
-
* Get user recommendations
|
|
4495
|
-
* Get a list of recommended users based on the current user's interests
|
|
4496
|
-
*/
|
|
4497
|
-
declare const recommendedUsers: <ThrowOnError extends boolean = false>(options?: Options<RecommendedUsersData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4498
3993
|
/**
|
|
4499
3994
|
* Search for users by name
|
|
4500
3995
|
* Get a list of users based on the current user's search query
|
|
4501
3996
|
*/
|
|
4502
|
-
declare const searchUsers: <ThrowOnError extends boolean = false>(options
|
|
3997
|
+
declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Options<SearchUsersData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
|
|
4503
3998
|
|
|
4504
3999
|
type QueryKey<TOptions extends Options> = [
|
|
4505
4000
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
@@ -4507,120 +4002,6 @@ type QueryKey<TOptions extends Options> = [
|
|
|
4507
4002
|
_infinite?: boolean;
|
|
4508
4003
|
}
|
|
4509
4004
|
];
|
|
4510
|
-
declare const findBookingsQueryKey: (options?: Options<FindBookingsData>) => [Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4511
|
-
_id: string;
|
|
4512
|
-
_infinite?: boolean | undefined;
|
|
4513
|
-
}];
|
|
4514
|
-
declare const findBookingsOptions: (options?: Options<FindBookingsData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<{
|
|
4515
|
-
data?: Booking[] | undefined;
|
|
4516
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4517
|
-
}, Error, {
|
|
4518
|
-
data?: Booking[] | undefined;
|
|
4519
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4520
|
-
}, [Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4521
|
-
_id: string;
|
|
4522
|
-
_infinite?: boolean | undefined;
|
|
4523
|
-
}]>, "queryFn"> & {
|
|
4524
|
-
queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<{
|
|
4525
|
-
data?: Booking[] | undefined;
|
|
4526
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4527
|
-
}, [Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4528
|
-
_id: string;
|
|
4529
|
-
_infinite?: boolean | undefined;
|
|
4530
|
-
}], never> | undefined;
|
|
4531
|
-
} & {
|
|
4532
|
-
queryKey: [Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4533
|
-
_id: string;
|
|
4534
|
-
_infinite?: boolean | undefined;
|
|
4535
|
-
}] & {
|
|
4536
|
-
[dataTagSymbol]: {
|
|
4537
|
-
data?: Booking[] | undefined;
|
|
4538
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4539
|
-
};
|
|
4540
|
-
[dataTagErrorSymbol]: Error;
|
|
4541
|
-
};
|
|
4542
|
-
};
|
|
4543
|
-
declare const findBookingsInfiniteQueryKey: (options?: Options<FindBookingsData>) => QueryKey<Options<FindBookingsData>>;
|
|
4544
|
-
declare const findBookingsInfiniteOptions: (options?: Options<FindBookingsData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<{
|
|
4545
|
-
data?: Booking[] | undefined;
|
|
4546
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4547
|
-
}, PkgOpenapiSharedProblemDetails, InfiniteData<{
|
|
4548
|
-
data?: Booking[] | undefined;
|
|
4549
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4550
|
-
}, unknown>, {
|
|
4551
|
-
data?: Booking[] | undefined;
|
|
4552
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4553
|
-
}, QueryKey<Options<FindBookingsData>>, number | Pick<Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4554
|
-
_id: string;
|
|
4555
|
-
_infinite?: boolean | undefined;
|
|
4556
|
-
}, "body" | "headers" | "path" | "query">> & {
|
|
4557
|
-
initialData: InfiniteData<{
|
|
4558
|
-
data?: Booking[] | undefined;
|
|
4559
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4560
|
-
}, number | Pick<Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4561
|
-
_id: string;
|
|
4562
|
-
_infinite?: boolean | undefined;
|
|
4563
|
-
}, "body" | "headers" | "path" | "query">> | (() => InfiniteData<{
|
|
4564
|
-
data?: Booking[] | undefined;
|
|
4565
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4566
|
-
}, number | Pick<Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4567
|
-
_id: string;
|
|
4568
|
-
_infinite?: boolean | undefined;
|
|
4569
|
-
}, "body" | "headers" | "path" | "query">>) | undefined;
|
|
4570
|
-
} & {
|
|
4571
|
-
queryKey: QueryKey<Options<FindBookingsData>> & {
|
|
4572
|
-
[dataTagSymbol]: InfiniteData<{
|
|
4573
|
-
data?: Booking[] | undefined;
|
|
4574
|
-
meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
|
|
4575
|
-
}, unknown>;
|
|
4576
|
-
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4577
|
-
};
|
|
4578
|
-
};
|
|
4579
|
-
declare const addBookingQueryKey: (options: Options<AddBookingData>) => [Pick<Options<AddBookingData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4580
|
-
_id: string;
|
|
4581
|
-
_infinite?: boolean | undefined;
|
|
4582
|
-
}];
|
|
4583
|
-
declare const addBookingOptions: (options: Options<AddBookingData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<Booking, Error, Booking, [Pick<Options<AddBookingData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4584
|
-
_id: string;
|
|
4585
|
-
_infinite?: boolean | undefined;
|
|
4586
|
-
}]>, "queryFn"> & {
|
|
4587
|
-
queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<Booking, [Pick<Options<AddBookingData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4588
|
-
_id: string;
|
|
4589
|
-
_infinite?: boolean | undefined;
|
|
4590
|
-
}], never> | undefined;
|
|
4591
|
-
} & {
|
|
4592
|
-
queryKey: [Pick<Options<AddBookingData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4593
|
-
_id: string;
|
|
4594
|
-
_infinite?: boolean | undefined;
|
|
4595
|
-
}] & {
|
|
4596
|
-
[dataTagSymbol]: Booking;
|
|
4597
|
-
[dataTagErrorSymbol]: Error;
|
|
4598
|
-
};
|
|
4599
|
-
};
|
|
4600
|
-
declare const addBookingMutation: (options?: Partial<Options<AddBookingData>>) => UseMutationOptions<Booking, PkgOpenapiSharedProblemDetails, Options<AddBookingData>, unknown>;
|
|
4601
|
-
declare const deleteBookingMutation: (options?: Partial<Options<DeleteBookingData>>) => UseMutationOptions<void, PkgOpenapiSharedProblemDetails, Options<DeleteBookingData>, unknown>;
|
|
4602
|
-
declare const findBookingByIdQueryKey: (options: Options<FindBookingByIdData>) => [Pick<Options<FindBookingByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4603
|
-
_id: string;
|
|
4604
|
-
_infinite?: boolean | undefined;
|
|
4605
|
-
}];
|
|
4606
|
-
declare const findBookingByIdOptions: (options: Options<FindBookingByIdData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<Booking, Error, Booking, [Pick<Options<FindBookingByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4607
|
-
_id: string;
|
|
4608
|
-
_infinite?: boolean | undefined;
|
|
4609
|
-
}]>, "queryFn"> & {
|
|
4610
|
-
queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<Booking, [Pick<Options<FindBookingByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4611
|
-
_id: string;
|
|
4612
|
-
_infinite?: boolean | undefined;
|
|
4613
|
-
}], never> | undefined;
|
|
4614
|
-
} & {
|
|
4615
|
-
queryKey: [Pick<Options<FindBookingByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4616
|
-
_id: string;
|
|
4617
|
-
_infinite?: boolean | undefined;
|
|
4618
|
-
}] & {
|
|
4619
|
-
[dataTagSymbol]: Booking;
|
|
4620
|
-
[dataTagErrorSymbol]: Error;
|
|
4621
|
-
};
|
|
4622
|
-
};
|
|
4623
|
-
declare const updateBookingMutation: (options?: Partial<Options<UpdateBookingData>>) => UseMutationOptions<Booking, PkgOpenapiSharedProblemDetails, Options<UpdateBookingData>, unknown>;
|
|
4624
4005
|
declare const listFacilityOffersQueryKey: (options: Options<ListFacilityOffersData>) => [Pick<Options<ListFacilityOffersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4625
4006
|
_id: string;
|
|
4626
4007
|
_infinite?: boolean | undefined;
|
|
@@ -4682,50 +4063,11 @@ declare const createFacilityOfferOrderOptions: (options: Options<CreateFacilityO
|
|
|
4682
4063
|
};
|
|
4683
4064
|
};
|
|
4684
4065
|
declare const createFacilityOfferOrderMutation: (options?: Partial<Options<CreateFacilityOfferOrderData>>) => UseMutationOptions<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, Options<CreateFacilityOfferOrderData>, unknown>;
|
|
4685
|
-
declare const
|
|
4686
|
-
_id: string;
|
|
4687
|
-
_infinite?: boolean | undefined;
|
|
4688
|
-
}];
|
|
4689
|
-
declare const recommendedUsersOptions: (options?: Options<RecommendedUsersData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<UsersPaginatedResponse, Error, UsersPaginatedResponse, [Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4690
|
-
_id: string;
|
|
4691
|
-
_infinite?: boolean | undefined;
|
|
4692
|
-
}]>, "queryFn"> & {
|
|
4693
|
-
queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<UsersPaginatedResponse, [Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4694
|
-
_id: string;
|
|
4695
|
-
_infinite?: boolean | undefined;
|
|
4696
|
-
}], never> | undefined;
|
|
4697
|
-
} & {
|
|
4698
|
-
queryKey: [Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4699
|
-
_id: string;
|
|
4700
|
-
_infinite?: boolean | undefined;
|
|
4701
|
-
}] & {
|
|
4702
|
-
[dataTagSymbol]: UsersPaginatedResponse;
|
|
4703
|
-
[dataTagErrorSymbol]: Error;
|
|
4704
|
-
};
|
|
4705
|
-
};
|
|
4706
|
-
declare const recommendedUsersInfiniteQueryKey: (options?: Options<RecommendedUsersData>) => QueryKey<Options<RecommendedUsersData>>;
|
|
4707
|
-
declare const recommendedUsersInfiniteOptions: (options?: Options<RecommendedUsersData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<UsersPaginatedResponse, unknown>, UsersPaginatedResponse, QueryKey<Options<RecommendedUsersData>>, number | Pick<Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4708
|
-
_id: string;
|
|
4709
|
-
_infinite?: boolean | undefined;
|
|
4710
|
-
}, "body" | "headers" | "path" | "query">> & {
|
|
4711
|
-
initialData: InfiniteData<UsersPaginatedResponse, number | Pick<Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4712
|
-
_id: string;
|
|
4713
|
-
_infinite?: boolean | undefined;
|
|
4714
|
-
}, "body" | "headers" | "path" | "query">> | (() => InfiniteData<UsersPaginatedResponse, number | Pick<Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4715
|
-
_id: string;
|
|
4716
|
-
_infinite?: boolean | undefined;
|
|
4717
|
-
}, "body" | "headers" | "path" | "query">>) | undefined;
|
|
4718
|
-
} & {
|
|
4719
|
-
queryKey: QueryKey<Options<RecommendedUsersData>> & {
|
|
4720
|
-
[dataTagSymbol]: InfiniteData<UsersPaginatedResponse, unknown>;
|
|
4721
|
-
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4722
|
-
};
|
|
4723
|
-
};
|
|
4724
|
-
declare const searchUsersQueryKey: (options: Options<SearchUsersData>) => [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4066
|
+
declare const searchUsersQueryKey: (options?: Options<SearchUsersData>) => [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4725
4067
|
_id: string;
|
|
4726
4068
|
_infinite?: boolean | undefined;
|
|
4727
4069
|
}];
|
|
4728
|
-
declare const searchUsersOptions: (options
|
|
4070
|
+
declare const searchUsersOptions: (options?: Options<SearchUsersData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<UsersPaginatedResponse, Error, UsersPaginatedResponse, [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4729
4071
|
_id: string;
|
|
4730
4072
|
_infinite?: boolean | undefined;
|
|
4731
4073
|
}]>, "queryFn"> & {
|
|
@@ -4742,8 +4084,8 @@ declare const searchUsersOptions: (options: Options<SearchUsersData>) => _tansta
|
|
|
4742
4084
|
[dataTagErrorSymbol]: Error;
|
|
4743
4085
|
};
|
|
4744
4086
|
};
|
|
4745
|
-
declare const searchUsersInfiniteQueryKey: (options
|
|
4746
|
-
declare const searchUsersInfiniteOptions: (options
|
|
4087
|
+
declare const searchUsersInfiniteQueryKey: (options?: Options<SearchUsersData>) => QueryKey<Options<SearchUsersData>>;
|
|
4088
|
+
declare const searchUsersInfiniteOptions: (options?: Options<SearchUsersData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<UsersPaginatedResponse, unknown>, UsersPaginatedResponse, QueryKey<Options<SearchUsersData>>, number | Pick<Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4747
4089
|
_id: string;
|
|
4748
4090
|
_infinite?: boolean | undefined;
|
|
4749
4091
|
}, "body" | "headers" | "path" | "query">> & {
|
|
@@ -4762,54 +4104,27 @@ declare const searchUsersInfiniteOptions: (options: Options<SearchUsersData>) =>
|
|
|
4762
4104
|
};
|
|
4763
4105
|
|
|
4764
4106
|
type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
|
|
4765
|
-
declare const reactQuery_gen_addBookingMutation: typeof addBookingMutation;
|
|
4766
|
-
declare const reactQuery_gen_addBookingOptions: typeof addBookingOptions;
|
|
4767
|
-
declare const reactQuery_gen_addBookingQueryKey: typeof addBookingQueryKey;
|
|
4768
4107
|
declare const reactQuery_gen_createFacilityOfferOrderMutation: typeof createFacilityOfferOrderMutation;
|
|
4769
4108
|
declare const reactQuery_gen_createFacilityOfferOrderOptions: typeof createFacilityOfferOrderOptions;
|
|
4770
4109
|
declare const reactQuery_gen_createFacilityOfferOrderQueryKey: typeof createFacilityOfferOrderQueryKey;
|
|
4771
|
-
declare const reactQuery_gen_deleteBookingMutation: typeof deleteBookingMutation;
|
|
4772
|
-
declare const reactQuery_gen_findBookingByIdOptions: typeof findBookingByIdOptions;
|
|
4773
|
-
declare const reactQuery_gen_findBookingByIdQueryKey: typeof findBookingByIdQueryKey;
|
|
4774
|
-
declare const reactQuery_gen_findBookingsInfiniteOptions: typeof findBookingsInfiniteOptions;
|
|
4775
|
-
declare const reactQuery_gen_findBookingsInfiniteQueryKey: typeof findBookingsInfiniteQueryKey;
|
|
4776
|
-
declare const reactQuery_gen_findBookingsOptions: typeof findBookingsOptions;
|
|
4777
|
-
declare const reactQuery_gen_findBookingsQueryKey: typeof findBookingsQueryKey;
|
|
4778
4110
|
declare const reactQuery_gen_listFacilityOffersInfiniteOptions: typeof listFacilityOffersInfiniteOptions;
|
|
4779
4111
|
declare const reactQuery_gen_listFacilityOffersInfiniteQueryKey: typeof listFacilityOffersInfiniteQueryKey;
|
|
4780
4112
|
declare const reactQuery_gen_listFacilityOffersOptions: typeof listFacilityOffersOptions;
|
|
4781
4113
|
declare const reactQuery_gen_listFacilityOffersQueryKey: typeof listFacilityOffersQueryKey;
|
|
4782
|
-
declare const reactQuery_gen_recommendedUsersInfiniteOptions: typeof recommendedUsersInfiniteOptions;
|
|
4783
|
-
declare const reactQuery_gen_recommendedUsersInfiniteQueryKey: typeof recommendedUsersInfiniteQueryKey;
|
|
4784
|
-
declare const reactQuery_gen_recommendedUsersOptions: typeof recommendedUsersOptions;
|
|
4785
|
-
declare const reactQuery_gen_recommendedUsersQueryKey: typeof recommendedUsersQueryKey;
|
|
4786
4114
|
declare const reactQuery_gen_searchUsersInfiniteOptions: typeof searchUsersInfiniteOptions;
|
|
4787
4115
|
declare const reactQuery_gen_searchUsersInfiniteQueryKey: typeof searchUsersInfiniteQueryKey;
|
|
4788
4116
|
declare const reactQuery_gen_searchUsersOptions: typeof searchUsersOptions;
|
|
4789
4117
|
declare const reactQuery_gen_searchUsersQueryKey: typeof searchUsersQueryKey;
|
|
4790
|
-
declare const reactQuery_gen_updateBookingMutation: typeof updateBookingMutation;
|
|
4791
4118
|
declare namespace reactQuery_gen {
|
|
4792
|
-
export { type reactQuery_gen_QueryKey as QueryKey,
|
|
4119
|
+
export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_createFacilityOfferOrderOptions as createFacilityOfferOrderOptions, reactQuery_gen_createFacilityOfferOrderQueryKey as createFacilityOfferOrderQueryKey, 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 };
|
|
4793
4120
|
}
|
|
4794
4121
|
|
|
4795
|
-
type indexV1_AddBookingData = AddBookingData;
|
|
4796
|
-
type indexV1_AddBookingError = AddBookingError;
|
|
4797
|
-
type indexV1_AddBookingErrors = AddBookingErrors;
|
|
4798
|
-
type indexV1_AddBookingResponse = AddBookingResponse;
|
|
4799
|
-
type indexV1_AddBookingResponses = AddBookingResponses;
|
|
4800
|
-
type indexV1_Booking = Booking;
|
|
4801
4122
|
type indexV1_ClientOptions = ClientOptions;
|
|
4802
|
-
type indexV1_CreateBooking = CreateBooking;
|
|
4803
4123
|
type indexV1_CreateFacilityOfferOrderData = CreateFacilityOfferOrderData;
|
|
4804
4124
|
type indexV1_CreateFacilityOfferOrderError = CreateFacilityOfferOrderError;
|
|
4805
4125
|
type indexV1_CreateFacilityOfferOrderErrors = CreateFacilityOfferOrderErrors;
|
|
4806
4126
|
type indexV1_CreateFacilityOfferOrderResponse = CreateFacilityOfferOrderResponse;
|
|
4807
4127
|
type indexV1_CreateFacilityOfferOrderResponses = CreateFacilityOfferOrderResponses;
|
|
4808
|
-
type indexV1_DeleteBookingData = DeleteBookingData;
|
|
4809
|
-
type indexV1_DeleteBookingError = DeleteBookingError;
|
|
4810
|
-
type indexV1_DeleteBookingErrors = DeleteBookingErrors;
|
|
4811
|
-
type indexV1_DeleteBookingResponse = DeleteBookingResponse;
|
|
4812
|
-
type indexV1_DeleteBookingResponses = DeleteBookingResponses;
|
|
4813
4128
|
type indexV1_FacilityIdPath = FacilityIdPath;
|
|
4814
4129
|
type indexV1_FacilityOffer = FacilityOffer;
|
|
4815
4130
|
type indexV1_FacilityOfferCondition = FacilityOfferCondition;
|
|
@@ -4823,17 +4138,6 @@ type indexV1_FacilityOfferList = FacilityOfferList;
|
|
|
4823
4138
|
type indexV1_FacilityOfferOrder = FacilityOfferOrder;
|
|
4824
4139
|
type indexV1_FacilityPunchCardData = FacilityPunchCardData;
|
|
4825
4140
|
type indexV1_FacilityValueCardData = FacilityValueCardData;
|
|
4826
|
-
type indexV1_FindBookingByIdData = FindBookingByIdData;
|
|
4827
|
-
type indexV1_FindBookingByIdError = FindBookingByIdError;
|
|
4828
|
-
type indexV1_FindBookingByIdErrors = FindBookingByIdErrors;
|
|
4829
|
-
type indexV1_FindBookingByIdResponse = FindBookingByIdResponse;
|
|
4830
|
-
type indexV1_FindBookingByIdResponses = FindBookingByIdResponses;
|
|
4831
|
-
type indexV1_FindBookingsData = FindBookingsData;
|
|
4832
|
-
type indexV1_FindBookingsError = FindBookingsError;
|
|
4833
|
-
type indexV1_FindBookingsErrors = FindBookingsErrors;
|
|
4834
|
-
type indexV1_FindBookingsResponse = FindBookingsResponse;
|
|
4835
|
-
type indexV1_FindBookingsResponses = FindBookingsResponses;
|
|
4836
|
-
type indexV1_Guest = Guest;
|
|
4837
4141
|
type indexV1_ListFacilityOffersData = ListFacilityOffersData;
|
|
4838
4142
|
type indexV1_ListFacilityOffersError = ListFacilityOffersError;
|
|
4839
4143
|
type indexV1_ListFacilityOffersErrors = ListFacilityOffersErrors;
|
|
@@ -4850,38 +4154,20 @@ type indexV1_PkgOpenapiSharedOffsetLimitParam = PkgOpenapiSharedOffsetLimitParam
|
|
|
4850
4154
|
type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet = PkgOpenapiSharedOffsetPaginatedResultSet;
|
|
4851
4155
|
type indexV1_PkgOpenapiSharedOffsetParam = PkgOpenapiSharedOffsetParam;
|
|
4852
4156
|
type indexV1_PkgOpenapiSharedProblemDetails = PkgOpenapiSharedProblemDetails;
|
|
4853
|
-
type indexV1_Player = Player;
|
|
4854
|
-
type indexV1_RecommendedUsersData = RecommendedUsersData;
|
|
4855
|
-
type indexV1_RecommendedUsersError = RecommendedUsersError;
|
|
4856
|
-
type indexV1_RecommendedUsersErrors = RecommendedUsersErrors;
|
|
4857
|
-
type indexV1_RecommendedUsersResponse = RecommendedUsersResponse;
|
|
4858
|
-
type indexV1_RecommendedUsersResponses = RecommendedUsersResponses;
|
|
4859
4157
|
type indexV1_SearchUsersData = SearchUsersData;
|
|
4860
4158
|
type indexV1_SearchUsersError = SearchUsersError;
|
|
4861
4159
|
type indexV1_SearchUsersErrors = SearchUsersErrors;
|
|
4862
4160
|
type indexV1_SearchUsersResponse = SearchUsersResponse;
|
|
4863
4161
|
type indexV1_SearchUsersResponses = SearchUsersResponses;
|
|
4864
|
-
type indexV1_UpdateBooking = UpdateBooking;
|
|
4865
|
-
type indexV1_UpdateBookingData = UpdateBookingData;
|
|
4866
|
-
type indexV1_UpdateBookingError = UpdateBookingError;
|
|
4867
|
-
type indexV1_UpdateBookingErrors = UpdateBookingErrors;
|
|
4868
|
-
type indexV1_UpdateBookingResponse = UpdateBookingResponse;
|
|
4869
|
-
type indexV1_UpdateBookingResponses = UpdateBookingResponses;
|
|
4870
4162
|
type indexV1_User = User;
|
|
4871
4163
|
declare const indexV1_UserRelation: typeof UserRelation;
|
|
4872
4164
|
type indexV1_UsersPaginatedResponse = UsersPaginatedResponse;
|
|
4873
|
-
declare const indexV1_addBooking: typeof addBooking;
|
|
4874
4165
|
declare const indexV1_client: typeof client;
|
|
4875
4166
|
declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
|
|
4876
|
-
declare const indexV1_deleteBooking: typeof deleteBooking;
|
|
4877
|
-
declare const indexV1_findBookingById: typeof findBookingById;
|
|
4878
|
-
declare const indexV1_findBookings: typeof findBookings;
|
|
4879
4167
|
declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
|
|
4880
|
-
declare const indexV1_recommendedUsers: typeof recommendedUsers;
|
|
4881
4168
|
declare const indexV1_searchUsers: typeof searchUsers;
|
|
4882
|
-
declare const indexV1_updateBooking: typeof updateBooking;
|
|
4883
4169
|
declare namespace indexV1 {
|
|
4884
|
-
export { type
|
|
4170
|
+
export { type indexV1_ClientOptions as ClientOptions, 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_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_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_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, type indexV1_User as User, indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_searchUsers as searchUsers };
|
|
4885
4171
|
}
|
|
4886
4172
|
|
|
4887
4173
|
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 };
|