@matchi/api 0.20250304.1 → 0.20250305.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.
@@ -1,3 +1,9 @@
1
+ import * as _hey_api_client_fetch from '@hey-api/client-fetch';
2
+ import { TDataShape, Options as Options$1, Client } from '@hey-api/client-fetch';
3
+ import * as _tanstack_query_core_build_legacy_hydration_ClXcjjG9 from '@tanstack/query-core/build/legacy/hydration-ClXcjjG9';
4
+ import * as _tanstack_react_query_build_legacy_types from '@tanstack/react-query/build/legacy/types';
5
+ import { InfiniteData, UseMutationOptions } from '@tanstack/react-query';
6
+
1
7
  type ApiRequestOptions = {
2
8
  readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
3
9
  readonly url: string;
@@ -1171,7 +1177,7 @@ type OrderPaymentDetails = {
1171
1177
  totalPaidWithoutFee?: string;
1172
1178
  splitPart?: string | null;
1173
1179
  totalRefunded: string;
1174
- numberUnpaidSplits?: string;
1180
+ numberUnpaidSplits?: number;
1175
1181
  unpaidSplitPrice?: string;
1176
1182
  payments?: Array<paymentMethodPaymentDetail>;
1177
1183
  promoCodeOutcome?: {
@@ -2942,4 +2948,846 @@ declare class UserServiceV1Service {
2942
2948
  static listUserOfferValueCards(offset?: number, limit?: number): CancelablePromise<userOfferValueCardsResponse>;
2943
2949
  }
2944
2950
 
2945
- export { type ActivityEvent, ActivityServiceV1Service, type AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, type Error$1 as Error, type ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, type OccasionCourt, OpenAPI, type OpenAPIConfig, type OrderPaymentDetails, type OrderPriceDetails, type OrderSplitPayments, type OrderSplitPaymentsRow, type OrderSplitPrice, type PaymentMethodPaymentRefund, PlaySessionServiceV1Service, type ServiceFeeSettings, UserServiceV1Service, access, type activitiesResponse, type activity, type activityOccasion, type activityType, type actor, type address, type adyenGiftCardOutcome, type apiClient, type apiClientInput, type apiClientListResponse, type article, type articleMetadata, type availability, type booking, type bookingGroup, bookingRestriction, type bookingRestrictions, bookingSubType, bookingSubscription, type bookingSubscriptionPayment, type bookingUser, bookingUserStatus, type bookingUsersResponse, type bookingsResponse, type camera, cancellationPolicy, chat, chatTarget, type checkoutResponse, clientType, type competitionAdminAccount, type config, type configuration, type configurationEntry, type configurationMap, type configurationResource, type coupon, type createBookingEventExternal, createChatResponse, 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 getChatAuthResponse, type getChatResponse, type giftCard, type hideFullyBooked, type hours, type internalPaymentMethod, type levelRange, type limitParam, type listChatsResponse, 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 timeOfDay, type timeStamp, type usagePlan, userChatStatusParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, type userValueCard, type valueCardOutcome };
2951
+ type Booking = {
2952
+ booker: string;
2953
+ created_at: string;
2954
+ created_by: string;
2955
+ end_time: string;
2956
+ id: string;
2957
+ location: string;
2958
+ participants: {
2959
+ guests: Array<Guest>;
2960
+ players: Array<Player>;
2961
+ };
2962
+ payment_reference: string;
2963
+ start_time: string;
2964
+ updated_at: string;
2965
+ updated_by: string;
2966
+ };
2967
+ type CreateBooking = {
2968
+ booker: string;
2969
+ created_by?: string;
2970
+ end_time: string;
2971
+ location: string;
2972
+ participants: {
2973
+ guests?: Array<Guest>;
2974
+ players?: Array<Player>;
2975
+ };
2976
+ payment_reference: string;
2977
+ start_time: string;
2978
+ };
2979
+ type FacilityOffer = {
2980
+ data: FacilityPunchCardData | FacilityValueCardData;
2981
+ type: 'FACILITY_PUNCH_CARD' | 'FACILITY_VALUE_CARD';
2982
+ };
2983
+ type FacilityOfferCondition = (FacilityOfferConditionWeekdays | FacilityOfferConditionCourts | FacilityOfferConditionDate | FacilityOfferConditionTime | FacilityOfferConditionHoursinadvance | FacilityOfferConditionActivities | FacilityOfferConditionNotImplemented) & {
2984
+ type?: 'WEEKDAYS' | 'COURTS' | 'DATE' | 'TIME' | 'HOURSINADVANCE' | 'ACTIVITIES' | 'NOT_IMPLEMENTED';
2985
+ };
2986
+ type FacilityOfferConditionActivities = {
2987
+ all_activities: boolean;
2988
+ not_valid_for_activities: boolean;
2989
+ type: string;
2990
+ };
2991
+ type FacilityOfferConditionCourts = {
2992
+ name?: string;
2993
+ type: string;
2994
+ };
2995
+ type FacilityOfferConditionDate = {
2996
+ end_date: string;
2997
+ start_date: string;
2998
+ type: string;
2999
+ };
3000
+ type FacilityOfferConditionHoursinadvance = {
3001
+ nr_of_hours: number;
3002
+ type: string;
3003
+ };
3004
+ type FacilityOfferConditionNotImplemented = {
3005
+ type: string;
3006
+ };
3007
+ type FacilityOfferConditionTime = {
3008
+ end_time: string;
3009
+ start_time: string;
3010
+ type: string;
3011
+ };
3012
+ type FacilityOfferConditionWeekdays = {
3013
+ type: string;
3014
+ weekdays: Array<number>;
3015
+ };
3016
+ type FacilityOfferList = {
3017
+ data: Array<FacilityOffer>;
3018
+ meta: PkgOpenapiSharedCursorPaginatedResultSet;
3019
+ };
3020
+ type FacilityOfferOrder = {
3021
+ /**
3022
+ * The URL to the checkout page for the facility offer order
3023
+ */
3024
+ checkout_url: string;
3025
+ id: string;
3026
+ };
3027
+ type FacilityPunchCardData = {
3028
+ conditions: Array<FacilityOfferCondition>;
3029
+ description: string | null;
3030
+ expire_date: string;
3031
+ facility_id: number;
3032
+ facility_receive_membership_requests: boolean;
3033
+ max_duration: number;
3034
+ members_only: boolean;
3035
+ name: string;
3036
+ nr_of_bookings_in_period: number | null;
3037
+ nr_of_days_valid: number;
3038
+ nr_of_tickets: number;
3039
+ offer_id: number;
3040
+ price: string;
3041
+ unlimited: boolean;
3042
+ user_has_active_membership: boolean;
3043
+ };
3044
+ type FacilityValueCardData = {
3045
+ amount: string;
3046
+ description: string | null;
3047
+ expire_date: string;
3048
+ facility_id: number;
3049
+ facility_receive_membership_requests: boolean;
3050
+ members_only: boolean;
3051
+ name: string;
3052
+ nr_of_days_valid: number;
3053
+ offer_id: number;
3054
+ price: string;
3055
+ user_has_active_membership: boolean;
3056
+ };
3057
+ type Guest = {
3058
+ email: string;
3059
+ };
3060
+ type Player = {
3061
+ email: string;
3062
+ id: string;
3063
+ };
3064
+ type UpdateBooking = {
3065
+ booker: string;
3066
+ end_time: string;
3067
+ location: string;
3068
+ participants: {
3069
+ guests?: Array<Guest>;
3070
+ players?: Array<Player>;
3071
+ };
3072
+ payment_reference: string;
3073
+ start_time: string;
3074
+ };
3075
+ /**
3076
+ * Metadata about the cursor based pagination for the result. This information is coupled with the CursorParam and CursorLimitParam. Intended to be used as the `meta` field in a list response, next to an `items` array field containing the data.
3077
+ *
3078
+ */
3079
+ type PkgOpenapiSharedCursorPaginatedResultSet = {
3080
+ /**
3081
+ * Cursor used to retrieve the current page of results.
3082
+ */
3083
+ current_cursor: string;
3084
+ /**
3085
+ * Indicates if there are more results available.
3086
+ */
3087
+ more_results: boolean;
3088
+ /**
3089
+ * Cursor to retrieve the next page of results.
3090
+ */
3091
+ next_cursor?: string;
3092
+ };
3093
+ type PkgOpenapiSharedError = {
3094
+ /**
3095
+ * The error message
3096
+ */
3097
+ message?: string;
3098
+ };
3099
+ /**
3100
+ * An array of error details to accompany a problem details response.
3101
+ */
3102
+ type PkgOpenapiSharedErrors = Array<PkgOpenapiSharedError>;
3103
+ /**
3104
+ * Metadata about the offset based pagination for the result. This information is coupled with the OffsetParam and OffsetLimitParam. Intended to be used as the `meta` field in a list response, next to an `items` array field containing the data.
3105
+ *
3106
+ */
3107
+ type PkgOpenapiSharedOffsetPaginatedResultSet = {
3108
+ limit: number;
3109
+ more_results: boolean;
3110
+ offset: number;
3111
+ };
3112
+ type PkgOpenapiSharedProblemDetails = {
3113
+ /**
3114
+ * A human-readable explanation specific to this occurrence of the problem.
3115
+ */
3116
+ detail?: string;
3117
+ errors?: PkgOpenapiSharedErrors;
3118
+ /**
3119
+ * A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
3120
+ */
3121
+ instance?: string;
3122
+ /**
3123
+ * The HTTP status code generated by the origin server for this occurrence of the problem.
3124
+ */
3125
+ status?: number;
3126
+ /**
3127
+ * A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization.
3128
+ */
3129
+ title: string;
3130
+ /**
3131
+ * A URI reference that identifies the problem type.
3132
+ */
3133
+ type?: string;
3134
+ };
3135
+ type FacilityIdPath = string;
3136
+ type OfferIdPath = string;
3137
+ /**
3138
+ * Maximum number of items to return per page.
3139
+ */
3140
+ type PkgOpenapiSharedCursorLimitParam = number;
3141
+ /**
3142
+ * Cursor for pagination. An opaque value to request the next page. Should not be set for the first call to the resource. Subsequent should use the value from `meta.next_cursor` in the response, until `meta.more_results` is false.
3143
+ *
3144
+ */
3145
+ type PkgOpenapiSharedCursorParam = string;
3146
+ /**
3147
+ * Maximum number of items to return.
3148
+ */
3149
+ type PkgOpenapiSharedOffsetLimitParam = number;
3150
+ /**
3151
+ * Number of items to skip before returning the results.
3152
+ */
3153
+ type PkgOpenapiSharedOffsetParam = number;
3154
+ type FindBookingsData = {
3155
+ body?: never;
3156
+ path?: never;
3157
+ query?: {
3158
+ /**
3159
+ * Number of items to skip before returning the results.
3160
+ */
3161
+ offset?: number;
3162
+ /**
3163
+ * Maximum number of items to return.
3164
+ */
3165
+ limit?: number;
3166
+ /**
3167
+ * The location to filter the bookings by.
3168
+ */
3169
+ location?: string;
3170
+ };
3171
+ url: '/bookings';
3172
+ };
3173
+ type FindBookingsErrors = {
3174
+ /**
3175
+ * Access token is not set or invalid.
3176
+ */
3177
+ 401: PkgOpenapiSharedProblemDetails;
3178
+ /**
3179
+ * The requestor is not authorized to perform this operation on the resource.
3180
+ */
3181
+ 403: PkgOpenapiSharedProblemDetails;
3182
+ /**
3183
+ * The server encountered an unexpected error
3184
+ */
3185
+ 500: PkgOpenapiSharedProblemDetails;
3186
+ /**
3187
+ * The requested operation is not implemented.
3188
+ */
3189
+ 501: PkgOpenapiSharedProblemDetails;
3190
+ };
3191
+ type FindBookingsError = FindBookingsErrors[keyof FindBookingsErrors];
3192
+ type FindBookingsResponses = {
3193
+ /**
3194
+ * OK
3195
+ */
3196
+ 200: {
3197
+ data?: Array<Booking>;
3198
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet;
3199
+ };
3200
+ };
3201
+ type FindBookingsResponse = FindBookingsResponses[keyof FindBookingsResponses];
3202
+ type AddBookingData = {
3203
+ body: CreateBooking;
3204
+ path?: never;
3205
+ query?: never;
3206
+ url: '/bookings';
3207
+ };
3208
+ type AddBookingErrors = {
3209
+ /**
3210
+ * The request was malformed or could not be processed.
3211
+ */
3212
+ 400: PkgOpenapiSharedProblemDetails;
3213
+ /**
3214
+ * Access token is not set or invalid.
3215
+ */
3216
+ 401: PkgOpenapiSharedProblemDetails;
3217
+ /**
3218
+ * The requestor is not authorized to perform this operation on the resource.
3219
+ */
3220
+ 403: PkgOpenapiSharedProblemDetails;
3221
+ /**
3222
+ * The resource being created is found to already exist on the server.
3223
+ */
3224
+ 409: PkgOpenapiSharedProblemDetails;
3225
+ /**
3226
+ * The server encountered an unexpected error
3227
+ */
3228
+ 500: PkgOpenapiSharedProblemDetails;
3229
+ /**
3230
+ * The service requested is unavailable
3231
+ */
3232
+ 503: PkgOpenapiSharedProblemDetails;
3233
+ };
3234
+ type AddBookingError = AddBookingErrors[keyof AddBookingErrors];
3235
+ type AddBookingResponses = {
3236
+ /**
3237
+ * Created
3238
+ */
3239
+ 201: Booking;
3240
+ };
3241
+ type AddBookingResponse = AddBookingResponses[keyof AddBookingResponses];
3242
+ type DeleteBookingData = {
3243
+ body?: never;
3244
+ path: {
3245
+ bookingId: string;
3246
+ };
3247
+ query?: never;
3248
+ url: '/bookings/{bookingId}';
3249
+ };
3250
+ type DeleteBookingErrors = {
3251
+ /**
3252
+ * Access token is not set or invalid.
3253
+ */
3254
+ 401: PkgOpenapiSharedProblemDetails;
3255
+ /**
3256
+ * The requestor is not authorized to perform this operation on the resource.
3257
+ */
3258
+ 403: PkgOpenapiSharedProblemDetails;
3259
+ /**
3260
+ * The requested resource was not found.
3261
+ */
3262
+ 404: PkgOpenapiSharedProblemDetails;
3263
+ /**
3264
+ * The server encountered an unexpected error
3265
+ */
3266
+ 500: PkgOpenapiSharedProblemDetails;
3267
+ /**
3268
+ * The requested operation is not implemented.
3269
+ */
3270
+ 501: PkgOpenapiSharedProblemDetails;
3271
+ /**
3272
+ * The service requested is unavailable
3273
+ */
3274
+ 503: PkgOpenapiSharedProblemDetails;
3275
+ };
3276
+ type DeleteBookingError = DeleteBookingErrors[keyof DeleteBookingErrors];
3277
+ type DeleteBookingResponses = {
3278
+ /**
3279
+ * No Content
3280
+ */
3281
+ 204: void;
3282
+ };
3283
+ type DeleteBookingResponse = DeleteBookingResponses[keyof DeleteBookingResponses];
3284
+ type FindBookingByIdData = {
3285
+ body?: never;
3286
+ path: {
3287
+ bookingId: string;
3288
+ };
3289
+ query?: never;
3290
+ url: '/bookings/{bookingId}';
3291
+ };
3292
+ type FindBookingByIdErrors = {
3293
+ /**
3294
+ * Access token is not set or invalid.
3295
+ */
3296
+ 401: PkgOpenapiSharedProblemDetails;
3297
+ /**
3298
+ * The requestor is not authorized to perform this operation on the resource.
3299
+ */
3300
+ 403: PkgOpenapiSharedProblemDetails;
3301
+ /**
3302
+ * The requested resource was not found.
3303
+ */
3304
+ 404: PkgOpenapiSharedProblemDetails;
3305
+ /**
3306
+ * The server encountered an unexpected error
3307
+ */
3308
+ 500: PkgOpenapiSharedProblemDetails;
3309
+ /**
3310
+ * The requested operation is not implemented.
3311
+ */
3312
+ 501: PkgOpenapiSharedProblemDetails;
3313
+ /**
3314
+ * The service requested is unavailable
3315
+ */
3316
+ 503: PkgOpenapiSharedProblemDetails;
3317
+ };
3318
+ type FindBookingByIdError = FindBookingByIdErrors[keyof FindBookingByIdErrors];
3319
+ type FindBookingByIdResponses = {
3320
+ /**
3321
+ * OK
3322
+ */
3323
+ 200: Booking;
3324
+ };
3325
+ type FindBookingByIdResponse = FindBookingByIdResponses[keyof FindBookingByIdResponses];
3326
+ type UpdateBookingData = {
3327
+ body: UpdateBooking;
3328
+ path: {
3329
+ bookingId: string;
3330
+ };
3331
+ query?: never;
3332
+ url: '/bookings/{bookingId}';
3333
+ };
3334
+ type UpdateBookingErrors = {
3335
+ /**
3336
+ * The request was malformed or could not be processed.
3337
+ */
3338
+ 400: PkgOpenapiSharedProblemDetails;
3339
+ /**
3340
+ * Access token is not set or invalid.
3341
+ */
3342
+ 401: PkgOpenapiSharedProblemDetails;
3343
+ /**
3344
+ * The requestor is not authorized to perform this operation on the resource.
3345
+ */
3346
+ 403: PkgOpenapiSharedProblemDetails;
3347
+ /**
3348
+ * The requested resource was not found.
3349
+ */
3350
+ 404: PkgOpenapiSharedProblemDetails;
3351
+ /**
3352
+ * The server encountered an unexpected error
3353
+ */
3354
+ 500: PkgOpenapiSharedProblemDetails;
3355
+ /**
3356
+ * The requested operation is not implemented.
3357
+ */
3358
+ 501: PkgOpenapiSharedProblemDetails;
3359
+ /**
3360
+ * The service requested is unavailable
3361
+ */
3362
+ 503: PkgOpenapiSharedProblemDetails;
3363
+ };
3364
+ type UpdateBookingError = UpdateBookingErrors[keyof UpdateBookingErrors];
3365
+ type UpdateBookingResponses = {
3366
+ /**
3367
+ * OK
3368
+ */
3369
+ 200: Booking;
3370
+ };
3371
+ type UpdateBookingResponse = UpdateBookingResponses[keyof UpdateBookingResponses];
3372
+ type ListFacilityOffersData = {
3373
+ body?: never;
3374
+ path: {
3375
+ facility_id: string;
3376
+ };
3377
+ query?: {
3378
+ /**
3379
+ * Cursor for pagination. An opaque value to request the next page. Should not be set for the first call to the resource. Subsequent should use the value from `meta.next_cursor` in the response, until `meta.more_results` is false.
3380
+ *
3381
+ */
3382
+ cursor?: string;
3383
+ /**
3384
+ * Maximum number of items to return per page.
3385
+ */
3386
+ limit?: number;
3387
+ };
3388
+ url: '/facilities/{facility_id}/offers';
3389
+ };
3390
+ type ListFacilityOffersErrors = {
3391
+ /**
3392
+ * Access token is not set or invalid.
3393
+ */
3394
+ 401: PkgOpenapiSharedProblemDetails;
3395
+ /**
3396
+ * The requestor is not authorized to perform this operation on the resource.
3397
+ */
3398
+ 403: PkgOpenapiSharedProblemDetails;
3399
+ /**
3400
+ * The server encountered an unexpected error
3401
+ */
3402
+ 500: PkgOpenapiSharedProblemDetails;
3403
+ /**
3404
+ * The requested operation is not implemented.
3405
+ */
3406
+ 501: PkgOpenapiSharedProblemDetails;
3407
+ };
3408
+ type ListFacilityOffersError = ListFacilityOffersErrors[keyof ListFacilityOffersErrors];
3409
+ type ListFacilityOffersResponses = {
3410
+ /**
3411
+ * OK
3412
+ */
3413
+ 200: FacilityOfferList;
3414
+ };
3415
+ type ListFacilityOffersResponse = ListFacilityOffersResponses[keyof ListFacilityOffersResponses];
3416
+ type CreateFacilityOfferOrderData = {
3417
+ body?: never;
3418
+ path: {
3419
+ facility_id: string;
3420
+ offer_id: string;
3421
+ };
3422
+ query?: never;
3423
+ url: '/facilities/{facility_id}/offers/{offer_id}';
3424
+ };
3425
+ type CreateFacilityOfferOrderErrors = {
3426
+ /**
3427
+ * Access token is not set or invalid.
3428
+ */
3429
+ 401: PkgOpenapiSharedProblemDetails;
3430
+ /**
3431
+ * The requestor is not authorized to perform this operation on the resource.
3432
+ */
3433
+ 403: PkgOpenapiSharedProblemDetails;
3434
+ /**
3435
+ * The requested resource was not found.
3436
+ */
3437
+ 404: PkgOpenapiSharedProblemDetails;
3438
+ /**
3439
+ * The server encountered an unexpected error
3440
+ */
3441
+ 500: PkgOpenapiSharedProblemDetails;
3442
+ /**
3443
+ * The requested operation is not implemented.
3444
+ */
3445
+ 501: PkgOpenapiSharedProblemDetails;
3446
+ };
3447
+ type CreateFacilityOfferOrderError = CreateFacilityOfferOrderErrors[keyof CreateFacilityOfferOrderErrors];
3448
+ type CreateFacilityOfferOrderResponses = {
3449
+ /**
3450
+ * OK
3451
+ */
3452
+ 200: FacilityOfferOrder;
3453
+ };
3454
+ type CreateFacilityOfferOrderResponse = CreateFacilityOfferOrderResponses[keyof CreateFacilityOfferOrderResponses];
3455
+ type ClientOptions = {
3456
+ baseUrl: 'https://api.matchi.com/v1' | (string & {});
3457
+ };
3458
+
3459
+ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
3460
+ /**
3461
+ * You can provide a client instance returned by `createClient()` instead of
3462
+ * individual options. This might be also useful if you want to implement a
3463
+ * custom client.
3464
+ */
3465
+ client?: Client;
3466
+ /**
3467
+ * You can pass arbitrary values through the `meta` object. This can be
3468
+ * used to access values that aren't defined as part of the SDK function.
3469
+ */
3470
+ meta?: Record<string, unknown>;
3471
+ };
3472
+ /**
3473
+ * Get all bookings
3474
+ * Retrieve a list of all bookings
3475
+ */
3476
+ declare const findBookings: <ThrowOnError extends boolean = false>(options?: Options<FindBookingsData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<{
3477
+ data?: Booking[] | undefined;
3478
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3479
+ }, PkgOpenapiSharedProblemDetails, ThrowOnError>;
3480
+ /**
3481
+ * Create a new booking
3482
+ * Create a new booking with the provided details
3483
+ */
3484
+ declare const addBooking: <ThrowOnError extends boolean = false>(options: Options<AddBookingData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Booking, PkgOpenapiSharedProblemDetails, ThrowOnError>;
3485
+ /**
3486
+ * Delete a booking by ID
3487
+ * Delete a booking with the specified ID
3488
+ */
3489
+ declare const deleteBooking: <ThrowOnError extends boolean = false>(options: Options<DeleteBookingData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<void, PkgOpenapiSharedProblemDetails, ThrowOnError>;
3490
+ /**
3491
+ * Get a booking by ID
3492
+ * Retrieve a booking with the specified ID
3493
+ */
3494
+ declare const findBookingById: <ThrowOnError extends boolean = false>(options: Options<FindBookingByIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Booking, PkgOpenapiSharedProblemDetails, ThrowOnError>;
3495
+ /**
3496
+ * Update a booking by ID
3497
+ * Update a booking with the specified ID using the provided details
3498
+ */
3499
+ declare const updateBooking: <ThrowOnError extends boolean = false>(options: Options<UpdateBookingData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Booking, PkgOpenapiSharedProblemDetails, ThrowOnError>;
3500
+ /**
3501
+ * List all offers for a facility
3502
+ * Retrieve a list of all facility offers
3503
+ */
3504
+ declare const listFacilityOffers: <ThrowOnError extends boolean = false>(options: Options<ListFacilityOffersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<FacilityOfferList, PkgOpenapiSharedProblemDetails, ThrowOnError>;
3505
+ /**
3506
+ * Create a facility offer order
3507
+ * Will create a facility offer order and return the order object
3508
+ */
3509
+ declare const createFacilityOfferOrder: <ThrowOnError extends boolean = false>(options: Options<CreateFacilityOfferOrderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, ThrowOnError>;
3510
+
3511
+ type QueryKey<TOptions extends Options> = [
3512
+ Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
3513
+ _id: string;
3514
+ _infinite?: boolean;
3515
+ }
3516
+ ];
3517
+ declare const findBookingsQueryKey: (options?: Options<FindBookingsData>) => [Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3518
+ _id: string;
3519
+ _infinite?: boolean | undefined;
3520
+ }];
3521
+ declare const findBookingsOptions: (options?: Options<FindBookingsData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<{
3522
+ data?: Booking[] | undefined;
3523
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3524
+ }, Error, {
3525
+ data?: Booking[] | undefined;
3526
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3527
+ }, [Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3528
+ _id: string;
3529
+ _infinite?: boolean | undefined;
3530
+ }]>, "queryFn"> & {
3531
+ queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<{
3532
+ data?: Booking[] | undefined;
3533
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3534
+ }, [Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3535
+ _id: string;
3536
+ _infinite?: boolean | undefined;
3537
+ }], never> | undefined;
3538
+ } & {
3539
+ queryKey: [Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3540
+ _id: string;
3541
+ _infinite?: boolean | undefined;
3542
+ }] & {
3543
+ [dataTagSymbol]: {
3544
+ data?: Booking[] | undefined;
3545
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3546
+ };
3547
+ [dataTagErrorSymbol]: Error;
3548
+ };
3549
+ };
3550
+ declare const findBookingsInfiniteQueryKey: (options?: Options<FindBookingsData>) => QueryKey<Options<FindBookingsData>>;
3551
+ declare const findBookingsInfiniteOptions: (options?: Options<FindBookingsData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<{
3552
+ data?: Booking[] | undefined;
3553
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3554
+ }, PkgOpenapiSharedProblemDetails, InfiniteData<{
3555
+ data?: Booking[] | undefined;
3556
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3557
+ }, unknown>, {
3558
+ data?: Booking[] | undefined;
3559
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3560
+ }, QueryKey<Options<FindBookingsData>>, number | Pick<Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3561
+ _id: string;
3562
+ _infinite?: boolean | undefined;
3563
+ }, "body" | "headers" | "path" | "query">> & {
3564
+ initialData: InfiniteData<{
3565
+ data?: Booking[] | undefined;
3566
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3567
+ }, number | Pick<Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3568
+ _id: string;
3569
+ _infinite?: boolean | undefined;
3570
+ }, "body" | "headers" | "path" | "query">> | (() => InfiniteData<{
3571
+ data?: Booking[] | undefined;
3572
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3573
+ }, number | Pick<Pick<Options<FindBookingsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3574
+ _id: string;
3575
+ _infinite?: boolean | undefined;
3576
+ }, "body" | "headers" | "path" | "query">>) | undefined;
3577
+ } & {
3578
+ queryKey: QueryKey<Options<FindBookingsData>> & {
3579
+ [dataTagSymbol]: InfiniteData<{
3580
+ data?: Booking[] | undefined;
3581
+ meta?: PkgOpenapiSharedOffsetPaginatedResultSet | undefined;
3582
+ }, unknown>;
3583
+ [dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
3584
+ };
3585
+ };
3586
+ declare const addBookingQueryKey: (options: Options<AddBookingData>) => [Pick<Options<AddBookingData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3587
+ _id: string;
3588
+ _infinite?: boolean | undefined;
3589
+ }];
3590
+ 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"> & {
3591
+ _id: string;
3592
+ _infinite?: boolean | undefined;
3593
+ }]>, "queryFn"> & {
3594
+ queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<Booking, [Pick<Options<AddBookingData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3595
+ _id: string;
3596
+ _infinite?: boolean | undefined;
3597
+ }], never> | undefined;
3598
+ } & {
3599
+ queryKey: [Pick<Options<AddBookingData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3600
+ _id: string;
3601
+ _infinite?: boolean | undefined;
3602
+ }] & {
3603
+ [dataTagSymbol]: Booking;
3604
+ [dataTagErrorSymbol]: Error;
3605
+ };
3606
+ };
3607
+ declare const addBookingMutation: (options?: Partial<Options<AddBookingData>>) => UseMutationOptions<Booking, PkgOpenapiSharedProblemDetails, Options<AddBookingData>, unknown>;
3608
+ declare const deleteBookingMutation: (options?: Partial<Options<DeleteBookingData>>) => UseMutationOptions<void, PkgOpenapiSharedProblemDetails, Options<DeleteBookingData>, unknown>;
3609
+ declare const findBookingByIdQueryKey: (options: Options<FindBookingByIdData>) => [Pick<Options<FindBookingByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3610
+ _id: string;
3611
+ _infinite?: boolean | undefined;
3612
+ }];
3613
+ 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"> & {
3614
+ _id: string;
3615
+ _infinite?: boolean | undefined;
3616
+ }]>, "queryFn"> & {
3617
+ queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<Booking, [Pick<Options<FindBookingByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3618
+ _id: string;
3619
+ _infinite?: boolean | undefined;
3620
+ }], never> | undefined;
3621
+ } & {
3622
+ queryKey: [Pick<Options<FindBookingByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3623
+ _id: string;
3624
+ _infinite?: boolean | undefined;
3625
+ }] & {
3626
+ [dataTagSymbol]: Booking;
3627
+ [dataTagErrorSymbol]: Error;
3628
+ };
3629
+ };
3630
+ declare const updateBookingMutation: (options?: Partial<Options<UpdateBookingData>>) => UseMutationOptions<Booking, PkgOpenapiSharedProblemDetails, Options<UpdateBookingData>, unknown>;
3631
+ declare const listFacilityOffersQueryKey: (options: Options<ListFacilityOffersData>) => [Pick<Options<ListFacilityOffersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3632
+ _id: string;
3633
+ _infinite?: boolean | undefined;
3634
+ }];
3635
+ declare const listFacilityOffersOptions: (options: Options<ListFacilityOffersData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<FacilityOfferList, Error, FacilityOfferList, [Pick<Options<ListFacilityOffersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3636
+ _id: string;
3637
+ _infinite?: boolean | undefined;
3638
+ }]>, "queryFn"> & {
3639
+ queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<FacilityOfferList, [Pick<Options<ListFacilityOffersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3640
+ _id: string;
3641
+ _infinite?: boolean | undefined;
3642
+ }], never> | undefined;
3643
+ } & {
3644
+ queryKey: [Pick<Options<ListFacilityOffersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3645
+ _id: string;
3646
+ _infinite?: boolean | undefined;
3647
+ }] & {
3648
+ [dataTagSymbol]: FacilityOfferList;
3649
+ [dataTagErrorSymbol]: Error;
3650
+ };
3651
+ };
3652
+ declare const listFacilityOffersInfiniteQueryKey: (options: Options<ListFacilityOffersData>) => QueryKey<Options<ListFacilityOffersData>>;
3653
+ declare const listFacilityOffersInfiniteOptions: (options: Options<ListFacilityOffersData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<FacilityOfferList, PkgOpenapiSharedProblemDetails, InfiniteData<FacilityOfferList, unknown>, FacilityOfferList, QueryKey<Options<ListFacilityOffersData>>, string | Pick<Pick<Options<ListFacilityOffersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3654
+ _id: string;
3655
+ _infinite?: boolean | undefined;
3656
+ }, "body" | "headers" | "path" | "query">> & {
3657
+ initialData: InfiniteData<FacilityOfferList, string | Pick<Pick<Options<ListFacilityOffersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3658
+ _id: string;
3659
+ _infinite?: boolean | undefined;
3660
+ }, "body" | "headers" | "path" | "query">> | (() => InfiniteData<FacilityOfferList, string | Pick<Pick<Options<ListFacilityOffersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3661
+ _id: string;
3662
+ _infinite?: boolean | undefined;
3663
+ }, "body" | "headers" | "path" | "query">>) | undefined;
3664
+ } & {
3665
+ queryKey: QueryKey<Options<ListFacilityOffersData>> & {
3666
+ [dataTagSymbol]: InfiniteData<FacilityOfferList, unknown>;
3667
+ [dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
3668
+ };
3669
+ };
3670
+ declare const createFacilityOfferOrderQueryKey: (options: Options<CreateFacilityOfferOrderData>) => [Pick<Options<CreateFacilityOfferOrderData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3671
+ _id: string;
3672
+ _infinite?: boolean | undefined;
3673
+ }];
3674
+ declare const createFacilityOfferOrderOptions: (options: Options<CreateFacilityOfferOrderData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<FacilityOfferOrder, Error, FacilityOfferOrder, [Pick<Options<CreateFacilityOfferOrderData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3675
+ _id: string;
3676
+ _infinite?: boolean | undefined;
3677
+ }]>, "queryFn"> & {
3678
+ queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<FacilityOfferOrder, [Pick<Options<CreateFacilityOfferOrderData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3679
+ _id: string;
3680
+ _infinite?: boolean | undefined;
3681
+ }], never> | undefined;
3682
+ } & {
3683
+ queryKey: [Pick<Options<CreateFacilityOfferOrderData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
3684
+ _id: string;
3685
+ _infinite?: boolean | undefined;
3686
+ }] & {
3687
+ [dataTagSymbol]: FacilityOfferOrder;
3688
+ [dataTagErrorSymbol]: Error;
3689
+ };
3690
+ };
3691
+ declare const createFacilityOfferOrderMutation: (options?: Partial<Options<CreateFacilityOfferOrderData>>) => UseMutationOptions<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, Options<CreateFacilityOfferOrderData>, unknown>;
3692
+
3693
+ type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
3694
+ declare const reactQuery_gen_addBookingMutation: typeof addBookingMutation;
3695
+ declare const reactQuery_gen_addBookingOptions: typeof addBookingOptions;
3696
+ declare const reactQuery_gen_addBookingQueryKey: typeof addBookingQueryKey;
3697
+ declare const reactQuery_gen_createFacilityOfferOrderMutation: typeof createFacilityOfferOrderMutation;
3698
+ declare const reactQuery_gen_createFacilityOfferOrderOptions: typeof createFacilityOfferOrderOptions;
3699
+ declare const reactQuery_gen_createFacilityOfferOrderQueryKey: typeof createFacilityOfferOrderQueryKey;
3700
+ declare const reactQuery_gen_deleteBookingMutation: typeof deleteBookingMutation;
3701
+ declare const reactQuery_gen_findBookingByIdOptions: typeof findBookingByIdOptions;
3702
+ declare const reactQuery_gen_findBookingByIdQueryKey: typeof findBookingByIdQueryKey;
3703
+ declare const reactQuery_gen_findBookingsInfiniteOptions: typeof findBookingsInfiniteOptions;
3704
+ declare const reactQuery_gen_findBookingsInfiniteQueryKey: typeof findBookingsInfiniteQueryKey;
3705
+ declare const reactQuery_gen_findBookingsOptions: typeof findBookingsOptions;
3706
+ declare const reactQuery_gen_findBookingsQueryKey: typeof findBookingsQueryKey;
3707
+ declare const reactQuery_gen_listFacilityOffersInfiniteOptions: typeof listFacilityOffersInfiniteOptions;
3708
+ declare const reactQuery_gen_listFacilityOffersInfiniteQueryKey: typeof listFacilityOffersInfiniteQueryKey;
3709
+ declare const reactQuery_gen_listFacilityOffersOptions: typeof listFacilityOffersOptions;
3710
+ declare const reactQuery_gen_listFacilityOffersQueryKey: typeof listFacilityOffersQueryKey;
3711
+ declare const reactQuery_gen_updateBookingMutation: typeof updateBookingMutation;
3712
+ declare namespace reactQuery_gen {
3713
+ 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 };
3714
+ }
3715
+
3716
+ type indexV1_AddBookingData = AddBookingData;
3717
+ type indexV1_AddBookingError = AddBookingError;
3718
+ type indexV1_AddBookingErrors = AddBookingErrors;
3719
+ type indexV1_AddBookingResponse = AddBookingResponse;
3720
+ type indexV1_AddBookingResponses = AddBookingResponses;
3721
+ type indexV1_Booking = Booking;
3722
+ type indexV1_ClientOptions = ClientOptions;
3723
+ type indexV1_CreateBooking = CreateBooking;
3724
+ type indexV1_CreateFacilityOfferOrderData = CreateFacilityOfferOrderData;
3725
+ type indexV1_CreateFacilityOfferOrderError = CreateFacilityOfferOrderError;
3726
+ type indexV1_CreateFacilityOfferOrderErrors = CreateFacilityOfferOrderErrors;
3727
+ type indexV1_CreateFacilityOfferOrderResponse = CreateFacilityOfferOrderResponse;
3728
+ type indexV1_CreateFacilityOfferOrderResponses = CreateFacilityOfferOrderResponses;
3729
+ type indexV1_DeleteBookingData = DeleteBookingData;
3730
+ type indexV1_DeleteBookingError = DeleteBookingError;
3731
+ type indexV1_DeleteBookingErrors = DeleteBookingErrors;
3732
+ type indexV1_DeleteBookingResponse = DeleteBookingResponse;
3733
+ type indexV1_DeleteBookingResponses = DeleteBookingResponses;
3734
+ type indexV1_FacilityIdPath = FacilityIdPath;
3735
+ type indexV1_FacilityOffer = FacilityOffer;
3736
+ type indexV1_FacilityOfferCondition = FacilityOfferCondition;
3737
+ type indexV1_FacilityOfferConditionActivities = FacilityOfferConditionActivities;
3738
+ type indexV1_FacilityOfferConditionCourts = FacilityOfferConditionCourts;
3739
+ type indexV1_FacilityOfferConditionDate = FacilityOfferConditionDate;
3740
+ type indexV1_FacilityOfferConditionHoursinadvance = FacilityOfferConditionHoursinadvance;
3741
+ type indexV1_FacilityOfferConditionNotImplemented = FacilityOfferConditionNotImplemented;
3742
+ type indexV1_FacilityOfferConditionTime = FacilityOfferConditionTime;
3743
+ type indexV1_FacilityOfferConditionWeekdays = FacilityOfferConditionWeekdays;
3744
+ type indexV1_FacilityOfferList = FacilityOfferList;
3745
+ type indexV1_FacilityOfferOrder = FacilityOfferOrder;
3746
+ type indexV1_FacilityPunchCardData = FacilityPunchCardData;
3747
+ type indexV1_FacilityValueCardData = FacilityValueCardData;
3748
+ type indexV1_FindBookingByIdData = FindBookingByIdData;
3749
+ type indexV1_FindBookingByIdError = FindBookingByIdError;
3750
+ type indexV1_FindBookingByIdErrors = FindBookingByIdErrors;
3751
+ type indexV1_FindBookingByIdResponse = FindBookingByIdResponse;
3752
+ type indexV1_FindBookingByIdResponses = FindBookingByIdResponses;
3753
+ type indexV1_FindBookingsData = FindBookingsData;
3754
+ type indexV1_FindBookingsError = FindBookingsError;
3755
+ type indexV1_FindBookingsErrors = FindBookingsErrors;
3756
+ type indexV1_FindBookingsResponse = FindBookingsResponse;
3757
+ type indexV1_FindBookingsResponses = FindBookingsResponses;
3758
+ type indexV1_Guest = Guest;
3759
+ type indexV1_ListFacilityOffersData = ListFacilityOffersData;
3760
+ type indexV1_ListFacilityOffersError = ListFacilityOffersError;
3761
+ type indexV1_ListFacilityOffersErrors = ListFacilityOffersErrors;
3762
+ type indexV1_ListFacilityOffersResponse = ListFacilityOffersResponse;
3763
+ type indexV1_ListFacilityOffersResponses = ListFacilityOffersResponses;
3764
+ type indexV1_OfferIdPath = OfferIdPath;
3765
+ type indexV1_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options<TData, ThrowOnError>;
3766
+ type indexV1_PkgOpenapiSharedCursorLimitParam = PkgOpenapiSharedCursorLimitParam;
3767
+ type indexV1_PkgOpenapiSharedCursorPaginatedResultSet = PkgOpenapiSharedCursorPaginatedResultSet;
3768
+ type indexV1_PkgOpenapiSharedCursorParam = PkgOpenapiSharedCursorParam;
3769
+ type indexV1_PkgOpenapiSharedError = PkgOpenapiSharedError;
3770
+ type indexV1_PkgOpenapiSharedErrors = PkgOpenapiSharedErrors;
3771
+ type indexV1_PkgOpenapiSharedOffsetLimitParam = PkgOpenapiSharedOffsetLimitParam;
3772
+ type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet = PkgOpenapiSharedOffsetPaginatedResultSet;
3773
+ type indexV1_PkgOpenapiSharedOffsetParam = PkgOpenapiSharedOffsetParam;
3774
+ type indexV1_PkgOpenapiSharedProblemDetails = PkgOpenapiSharedProblemDetails;
3775
+ type indexV1_Player = Player;
3776
+ type indexV1_UpdateBooking = UpdateBooking;
3777
+ type indexV1_UpdateBookingData = UpdateBookingData;
3778
+ type indexV1_UpdateBookingError = UpdateBookingError;
3779
+ type indexV1_UpdateBookingErrors = UpdateBookingErrors;
3780
+ type indexV1_UpdateBookingResponse = UpdateBookingResponse;
3781
+ type indexV1_UpdateBookingResponses = UpdateBookingResponses;
3782
+ declare const indexV1_addBooking: typeof addBooking;
3783
+ declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
3784
+ declare const indexV1_deleteBooking: typeof deleteBooking;
3785
+ declare const indexV1_findBookingById: typeof findBookingById;
3786
+ declare const indexV1_findBookings: typeof findBookings;
3787
+ declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
3788
+ declare const indexV1_updateBooking: typeof updateBooking;
3789
+ declare namespace indexV1 {
3790
+ 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_FacilityOfferConditionNotImplemented as FacilityOfferConditionNotImplemented, 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_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_deleteBooking as deleteBooking, indexV1_findBookingById as findBookingById, indexV1_findBookings as findBookings, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, indexV1_updateBooking as updateBooking };
3791
+ }
3792
+
3793
+ export { type ActivityEvent, ActivityServiceV1Service, type AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, type Error$1 as Error, type ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, type OccasionCourt, OpenAPI, type OpenAPIConfig, type OrderPaymentDetails, type OrderPriceDetails, type OrderSplitPayments, type OrderSplitPaymentsRow, type OrderSplitPrice, type PaymentMethodPaymentRefund, PlaySessionServiceV1Service, type ServiceFeeSettings, UserServiceV1Service, access, type activitiesResponse, type activity, type activityOccasion, type activityType, type actor, type address, type adyenGiftCardOutcome, type apiClient, type apiClientInput, type apiClientListResponse, type article, type articleMetadata, type availability, type booking, type bookingGroup, bookingRestriction, type bookingRestrictions, bookingSubType, bookingSubscription, type bookingSubscriptionPayment, type bookingUser, bookingUserStatus, type bookingUsersResponse, type bookingsResponse, type camera, cancellationPolicy, chat, chatTarget, type checkoutResponse, clientType, type competitionAdminAccount, type config, type configuration, type configurationEntry, type configurationMap, type configurationResource, type coupon, type createBookingEventExternal, createChatResponse, 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 getChatAuthResponse, type getChatResponse, type giftCard, type hideFullyBooked, type hours, type internalPaymentMethod, type levelRange, type limitParam, type listChatsResponse, 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 timeOfDay, type timeStamp, type usagePlan, userChatStatusParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, type userValueCard, indexV1 as v1, type valueCardOutcome };