@matchi/api 0.20250305.2 → 0.20250306.2
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 +557 -1
- package/dist/main/index.d.ts +557 -1
- package/dist/main/index.js +1 -1
- package/dist/main/index.mjs +1 -1
- package/package.json +1 -11
package/dist/main/index.d.mts
CHANGED
|
@@ -1179,12 +1179,14 @@ type OrderPaymentDetails = {
|
|
|
1179
1179
|
totalRefunded: string;
|
|
1180
1180
|
numberUnpaidSplits?: number;
|
|
1181
1181
|
unpaidSplitPrice?: string;
|
|
1182
|
+
splitSettledAt?: timeStamp;
|
|
1182
1183
|
payments?: Array<paymentMethodPaymentDetail>;
|
|
1183
1184
|
promoCodeOutcome?: {
|
|
1184
1185
|
code: string;
|
|
1185
1186
|
discountAmount?: string;
|
|
1186
1187
|
discountPercent?: string;
|
|
1187
1188
|
amount?: string;
|
|
1189
|
+
discountOutcome?: string;
|
|
1188
1190
|
};
|
|
1189
1191
|
serviceFeeSettings?: ServiceFeeSettings;
|
|
1190
1192
|
standardPrice?: OrderPriceDetails;
|
|
@@ -3454,6 +3456,559 @@ type ClientOptions = {
|
|
|
3454
3456
|
baseUrl: 'https://api.matchi.com/v1' | (string & {});
|
|
3455
3457
|
};
|
|
3456
3458
|
|
|
3459
|
+
declare const client: _hey_api_client_fetch.Client;
|
|
3460
|
+
|
|
3461
|
+
declare const BookingSchema: {
|
|
3462
|
+
readonly properties: {
|
|
3463
|
+
readonly booker: {
|
|
3464
|
+
readonly format: "uuid";
|
|
3465
|
+
readonly type: "string";
|
|
3466
|
+
};
|
|
3467
|
+
readonly created_at: {
|
|
3468
|
+
readonly format: "date-time";
|
|
3469
|
+
readonly type: "string";
|
|
3470
|
+
};
|
|
3471
|
+
readonly created_by: {
|
|
3472
|
+
readonly type: "string";
|
|
3473
|
+
};
|
|
3474
|
+
readonly end_time: {
|
|
3475
|
+
readonly format: "date-time";
|
|
3476
|
+
readonly type: "string";
|
|
3477
|
+
};
|
|
3478
|
+
readonly id: {
|
|
3479
|
+
readonly format: "uuid";
|
|
3480
|
+
readonly type: "string";
|
|
3481
|
+
};
|
|
3482
|
+
readonly location: {
|
|
3483
|
+
readonly type: "string";
|
|
3484
|
+
};
|
|
3485
|
+
readonly participants: {
|
|
3486
|
+
readonly properties: {
|
|
3487
|
+
readonly guests: {
|
|
3488
|
+
readonly items: {
|
|
3489
|
+
readonly $ref: "#/components/schemas/Guest";
|
|
3490
|
+
};
|
|
3491
|
+
readonly type: "array";
|
|
3492
|
+
};
|
|
3493
|
+
readonly players: {
|
|
3494
|
+
readonly items: {
|
|
3495
|
+
readonly $ref: "#/components/schemas/Player";
|
|
3496
|
+
};
|
|
3497
|
+
readonly type: "array";
|
|
3498
|
+
};
|
|
3499
|
+
};
|
|
3500
|
+
readonly required: readonly ["guests", "players"];
|
|
3501
|
+
readonly type: "object";
|
|
3502
|
+
};
|
|
3503
|
+
readonly payment_reference: {
|
|
3504
|
+
readonly type: "string";
|
|
3505
|
+
};
|
|
3506
|
+
readonly start_time: {
|
|
3507
|
+
readonly format: "date-time";
|
|
3508
|
+
readonly type: "string";
|
|
3509
|
+
};
|
|
3510
|
+
readonly updated_at: {
|
|
3511
|
+
readonly format: "date-time";
|
|
3512
|
+
readonly type: "string";
|
|
3513
|
+
};
|
|
3514
|
+
readonly updated_by: {
|
|
3515
|
+
readonly type: "string";
|
|
3516
|
+
};
|
|
3517
|
+
};
|
|
3518
|
+
readonly required: readonly ["id", "booker", "location", "start_time", "end_time", "created_at", "updated_at", "participants", "payment_reference", "created_by", "updated_by"];
|
|
3519
|
+
readonly type: "object";
|
|
3520
|
+
};
|
|
3521
|
+
declare const CreateBookingSchema: {
|
|
3522
|
+
readonly properties: {
|
|
3523
|
+
readonly booker: {
|
|
3524
|
+
readonly format: "uuid";
|
|
3525
|
+
readonly type: "string";
|
|
3526
|
+
};
|
|
3527
|
+
readonly created_by: {
|
|
3528
|
+
readonly type: "string";
|
|
3529
|
+
};
|
|
3530
|
+
readonly end_time: {
|
|
3531
|
+
readonly format: "date-time";
|
|
3532
|
+
readonly type: "string";
|
|
3533
|
+
};
|
|
3534
|
+
readonly location: {
|
|
3535
|
+
readonly type: "string";
|
|
3536
|
+
};
|
|
3537
|
+
readonly participants: {
|
|
3538
|
+
readonly properties: {
|
|
3539
|
+
readonly guests: {
|
|
3540
|
+
readonly items: {
|
|
3541
|
+
readonly $ref: "#/components/schemas/Guest";
|
|
3542
|
+
};
|
|
3543
|
+
readonly type: "array";
|
|
3544
|
+
};
|
|
3545
|
+
readonly players: {
|
|
3546
|
+
readonly items: {
|
|
3547
|
+
readonly $ref: "#/components/schemas/Player";
|
|
3548
|
+
};
|
|
3549
|
+
readonly type: "array";
|
|
3550
|
+
};
|
|
3551
|
+
};
|
|
3552
|
+
readonly type: "object";
|
|
3553
|
+
};
|
|
3554
|
+
readonly payment_reference: {
|
|
3555
|
+
readonly type: "string";
|
|
3556
|
+
};
|
|
3557
|
+
readonly start_time: {
|
|
3558
|
+
readonly format: "date-time";
|
|
3559
|
+
readonly type: "string";
|
|
3560
|
+
};
|
|
3561
|
+
};
|
|
3562
|
+
readonly required: readonly ["booker", "location", "start_time", "end_time", "participants", "payment_reference"];
|
|
3563
|
+
readonly type: "object";
|
|
3564
|
+
};
|
|
3565
|
+
declare const FacilityOfferSchema: {
|
|
3566
|
+
readonly properties: {
|
|
3567
|
+
readonly data: {
|
|
3568
|
+
readonly oneOf: readonly [{
|
|
3569
|
+
readonly $ref: "#/components/schemas/FacilityPunchCardData";
|
|
3570
|
+
}, {
|
|
3571
|
+
readonly $ref: "#/components/schemas/FacilityValueCardData";
|
|
3572
|
+
}];
|
|
3573
|
+
};
|
|
3574
|
+
readonly type: {
|
|
3575
|
+
readonly enum: readonly ["FACILITY_PUNCH_CARD", "FACILITY_VALUE_CARD"];
|
|
3576
|
+
readonly type: "string";
|
|
3577
|
+
};
|
|
3578
|
+
};
|
|
3579
|
+
readonly required: readonly ["type", "data"];
|
|
3580
|
+
readonly type: "object";
|
|
3581
|
+
};
|
|
3582
|
+
declare const FacilityOfferConditionSchema: {
|
|
3583
|
+
readonly oneOf: readonly [{
|
|
3584
|
+
readonly $ref: "#/components/schemas/FacilityOfferConditionWeekdays";
|
|
3585
|
+
}, {
|
|
3586
|
+
readonly $ref: "#/components/schemas/FacilityOfferConditionCourts";
|
|
3587
|
+
}, {
|
|
3588
|
+
readonly $ref: "#/components/schemas/FacilityOfferConditionDate";
|
|
3589
|
+
}, {
|
|
3590
|
+
readonly $ref: "#/components/schemas/FacilityOfferConditionTime";
|
|
3591
|
+
}, {
|
|
3592
|
+
readonly $ref: "#/components/schemas/FacilityOfferConditionHoursinadvance";
|
|
3593
|
+
}, {
|
|
3594
|
+
readonly $ref: "#/components/schemas/FacilityOfferConditionActivities";
|
|
3595
|
+
}, {
|
|
3596
|
+
readonly $ref: "#/components/schemas/FacilityOfferConditionNotImplemented";
|
|
3597
|
+
}];
|
|
3598
|
+
readonly properties: {
|
|
3599
|
+
readonly type: {
|
|
3600
|
+
readonly enum: readonly ["WEEKDAYS", "COURTS", "DATE", "TIME", "HOURSINADVANCE", "ACTIVITIES", "NOT_IMPLEMENTED"];
|
|
3601
|
+
readonly type: "string";
|
|
3602
|
+
};
|
|
3603
|
+
};
|
|
3604
|
+
readonly type: "object";
|
|
3605
|
+
};
|
|
3606
|
+
declare const FacilityOfferConditionActivitiesSchema: {
|
|
3607
|
+
readonly properties: {
|
|
3608
|
+
readonly all_activities: {
|
|
3609
|
+
readonly type: "boolean";
|
|
3610
|
+
};
|
|
3611
|
+
readonly not_valid_for_activities: {
|
|
3612
|
+
readonly type: "boolean";
|
|
3613
|
+
};
|
|
3614
|
+
readonly type: {
|
|
3615
|
+
readonly type: "string";
|
|
3616
|
+
};
|
|
3617
|
+
};
|
|
3618
|
+
readonly required: readonly ["type", "not_valid_for_activities", "all_activities"];
|
|
3619
|
+
readonly type: "object";
|
|
3620
|
+
};
|
|
3621
|
+
declare const FacilityOfferConditionCourtsSchema: {
|
|
3622
|
+
readonly properties: {
|
|
3623
|
+
readonly name: {
|
|
3624
|
+
readonly type: "string";
|
|
3625
|
+
};
|
|
3626
|
+
readonly type: {
|
|
3627
|
+
readonly type: "string";
|
|
3628
|
+
};
|
|
3629
|
+
};
|
|
3630
|
+
readonly required: readonly ["type"];
|
|
3631
|
+
readonly type: "object";
|
|
3632
|
+
};
|
|
3633
|
+
declare const FacilityOfferConditionDateSchema: {
|
|
3634
|
+
readonly properties: {
|
|
3635
|
+
readonly end_date: {
|
|
3636
|
+
readonly format: "date-time";
|
|
3637
|
+
readonly type: "string";
|
|
3638
|
+
};
|
|
3639
|
+
readonly start_date: {
|
|
3640
|
+
readonly format: "date-time";
|
|
3641
|
+
readonly type: "string";
|
|
3642
|
+
};
|
|
3643
|
+
readonly type: {
|
|
3644
|
+
readonly type: "string";
|
|
3645
|
+
};
|
|
3646
|
+
};
|
|
3647
|
+
readonly required: readonly ["type", "start_date", "end_date"];
|
|
3648
|
+
readonly type: "object";
|
|
3649
|
+
};
|
|
3650
|
+
declare const FacilityOfferConditionHoursinadvanceSchema: {
|
|
3651
|
+
readonly properties: {
|
|
3652
|
+
readonly nr_of_hours: {
|
|
3653
|
+
readonly type: "integer";
|
|
3654
|
+
};
|
|
3655
|
+
readonly type: {
|
|
3656
|
+
readonly type: "string";
|
|
3657
|
+
};
|
|
3658
|
+
};
|
|
3659
|
+
readonly required: readonly ["type", "nr_of_hours"];
|
|
3660
|
+
readonly type: "object";
|
|
3661
|
+
};
|
|
3662
|
+
declare const FacilityOfferConditionNotImplementedSchema: {
|
|
3663
|
+
readonly properties: {
|
|
3664
|
+
readonly type: {
|
|
3665
|
+
readonly type: "string";
|
|
3666
|
+
};
|
|
3667
|
+
};
|
|
3668
|
+
readonly required: readonly ["type"];
|
|
3669
|
+
readonly type: "object";
|
|
3670
|
+
};
|
|
3671
|
+
declare const FacilityOfferConditionTimeSchema: {
|
|
3672
|
+
readonly properties: {
|
|
3673
|
+
readonly end_time: {
|
|
3674
|
+
readonly format: "time";
|
|
3675
|
+
readonly type: "string";
|
|
3676
|
+
};
|
|
3677
|
+
readonly start_time: {
|
|
3678
|
+
readonly format: "time";
|
|
3679
|
+
readonly type: "string";
|
|
3680
|
+
};
|
|
3681
|
+
readonly type: {
|
|
3682
|
+
readonly type: "string";
|
|
3683
|
+
};
|
|
3684
|
+
};
|
|
3685
|
+
readonly required: readonly ["type", "start_time", "end_time"];
|
|
3686
|
+
readonly type: "object";
|
|
3687
|
+
};
|
|
3688
|
+
declare const FacilityOfferConditionWeekdaysSchema: {
|
|
3689
|
+
readonly properties: {
|
|
3690
|
+
readonly type: {
|
|
3691
|
+
readonly type: "string";
|
|
3692
|
+
};
|
|
3693
|
+
readonly weekdays: {
|
|
3694
|
+
readonly items: {
|
|
3695
|
+
readonly description: "Interger representation of weekday. 1 (Monday), 7 (Sunday).";
|
|
3696
|
+
readonly type: "integer";
|
|
3697
|
+
};
|
|
3698
|
+
readonly type: "array";
|
|
3699
|
+
};
|
|
3700
|
+
};
|
|
3701
|
+
readonly required: readonly ["type", "weekdays"];
|
|
3702
|
+
readonly type: "object";
|
|
3703
|
+
};
|
|
3704
|
+
declare const FacilityOfferListSchema: {
|
|
3705
|
+
readonly properties: {
|
|
3706
|
+
readonly data: {
|
|
3707
|
+
readonly items: {
|
|
3708
|
+
readonly $ref: "#/components/schemas/FacilityOffer";
|
|
3709
|
+
};
|
|
3710
|
+
readonly type: "array";
|
|
3711
|
+
};
|
|
3712
|
+
readonly meta: {
|
|
3713
|
+
readonly $ref: "#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet";
|
|
3714
|
+
};
|
|
3715
|
+
};
|
|
3716
|
+
readonly required: readonly ["data", "meta"];
|
|
3717
|
+
readonly type: "object";
|
|
3718
|
+
};
|
|
3719
|
+
declare const FacilityOfferOrderSchema: {
|
|
3720
|
+
readonly properties: {
|
|
3721
|
+
readonly checkout_url: {
|
|
3722
|
+
readonly description: "The URL to the checkout page for the facility offer order";
|
|
3723
|
+
readonly example: "https://checkout.matchi.com/pay/1b44a93b24a3413dadsee96e1bc7a4350ecac";
|
|
3724
|
+
readonly format: "uri";
|
|
3725
|
+
readonly type: "string";
|
|
3726
|
+
};
|
|
3727
|
+
readonly id: {
|
|
3728
|
+
readonly type: "string";
|
|
3729
|
+
};
|
|
3730
|
+
};
|
|
3731
|
+
readonly required: readonly ["id", "checkout_url"];
|
|
3732
|
+
readonly type: "object";
|
|
3733
|
+
};
|
|
3734
|
+
declare const FacilityPunchCardDataSchema: {
|
|
3735
|
+
readonly properties: {
|
|
3736
|
+
readonly conditions: {
|
|
3737
|
+
readonly items: {
|
|
3738
|
+
readonly $ref: "#/components/schemas/FacilityOfferCondition";
|
|
3739
|
+
};
|
|
3740
|
+
readonly type: "array";
|
|
3741
|
+
};
|
|
3742
|
+
readonly description: {
|
|
3743
|
+
readonly nullable: true;
|
|
3744
|
+
readonly type: "string";
|
|
3745
|
+
};
|
|
3746
|
+
readonly expire_date: {
|
|
3747
|
+
readonly format: "date-time";
|
|
3748
|
+
readonly type: "string";
|
|
3749
|
+
};
|
|
3750
|
+
readonly facility_id: {
|
|
3751
|
+
readonly type: "integer";
|
|
3752
|
+
};
|
|
3753
|
+
readonly facility_receive_membership_requests: {
|
|
3754
|
+
readonly type: "boolean";
|
|
3755
|
+
};
|
|
3756
|
+
readonly max_duration: {
|
|
3757
|
+
readonly type: "integer";
|
|
3758
|
+
};
|
|
3759
|
+
readonly members_only: {
|
|
3760
|
+
readonly type: "boolean";
|
|
3761
|
+
};
|
|
3762
|
+
readonly name: {
|
|
3763
|
+
readonly type: "string";
|
|
3764
|
+
};
|
|
3765
|
+
readonly nr_of_bookings_in_period: {
|
|
3766
|
+
readonly nullable: true;
|
|
3767
|
+
readonly type: "integer";
|
|
3768
|
+
};
|
|
3769
|
+
readonly nr_of_days_valid: {
|
|
3770
|
+
readonly type: "integer";
|
|
3771
|
+
};
|
|
3772
|
+
readonly nr_of_tickets: {
|
|
3773
|
+
readonly type: "integer";
|
|
3774
|
+
};
|
|
3775
|
+
readonly offer_id: {
|
|
3776
|
+
readonly type: "integer";
|
|
3777
|
+
};
|
|
3778
|
+
readonly price: {
|
|
3779
|
+
readonly type: "string";
|
|
3780
|
+
};
|
|
3781
|
+
readonly unlimited: {
|
|
3782
|
+
readonly type: "boolean";
|
|
3783
|
+
};
|
|
3784
|
+
readonly user_has_active_membership: {
|
|
3785
|
+
readonly type: "boolean";
|
|
3786
|
+
};
|
|
3787
|
+
};
|
|
3788
|
+
readonly required: readonly ["offer_id", "facility_id", "name", "description", "price", "unlimited", "max_duration", "nr_of_days_valid", "nr_of_tickets", "members_only", "user_has_active_membership", "facility_receive_membership_requests", "expire_date", "conditions", "nr_of_bookings_in_period"];
|
|
3789
|
+
readonly type: "object";
|
|
3790
|
+
};
|
|
3791
|
+
declare const FacilityValueCardDataSchema: {
|
|
3792
|
+
readonly properties: {
|
|
3793
|
+
readonly amount: {
|
|
3794
|
+
readonly type: "string";
|
|
3795
|
+
};
|
|
3796
|
+
readonly description: {
|
|
3797
|
+
readonly nullable: true;
|
|
3798
|
+
readonly type: "string";
|
|
3799
|
+
};
|
|
3800
|
+
readonly expire_date: {
|
|
3801
|
+
readonly format: "date-time";
|
|
3802
|
+
readonly type: "string";
|
|
3803
|
+
};
|
|
3804
|
+
readonly facility_id: {
|
|
3805
|
+
readonly type: "integer";
|
|
3806
|
+
};
|
|
3807
|
+
readonly facility_receive_membership_requests: {
|
|
3808
|
+
readonly type: "boolean";
|
|
3809
|
+
};
|
|
3810
|
+
readonly members_only: {
|
|
3811
|
+
readonly type: "boolean";
|
|
3812
|
+
};
|
|
3813
|
+
readonly name: {
|
|
3814
|
+
readonly type: "string";
|
|
3815
|
+
};
|
|
3816
|
+
readonly nr_of_days_valid: {
|
|
3817
|
+
readonly type: "integer";
|
|
3818
|
+
};
|
|
3819
|
+
readonly offer_id: {
|
|
3820
|
+
readonly type: "integer";
|
|
3821
|
+
};
|
|
3822
|
+
readonly price: {
|
|
3823
|
+
readonly type: "string";
|
|
3824
|
+
};
|
|
3825
|
+
readonly user_has_active_membership: {
|
|
3826
|
+
readonly type: "boolean";
|
|
3827
|
+
};
|
|
3828
|
+
};
|
|
3829
|
+
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"];
|
|
3830
|
+
readonly type: "object";
|
|
3831
|
+
};
|
|
3832
|
+
declare const GuestSchema: {
|
|
3833
|
+
readonly properties: {
|
|
3834
|
+
readonly email: {
|
|
3835
|
+
readonly type: "string";
|
|
3836
|
+
};
|
|
3837
|
+
};
|
|
3838
|
+
readonly required: readonly ["email"];
|
|
3839
|
+
readonly type: "object";
|
|
3840
|
+
};
|
|
3841
|
+
declare const PlayerSchema: {
|
|
3842
|
+
readonly properties: {
|
|
3843
|
+
readonly email: {
|
|
3844
|
+
readonly type: "string";
|
|
3845
|
+
};
|
|
3846
|
+
readonly id: {
|
|
3847
|
+
readonly format: "uuid";
|
|
3848
|
+
readonly type: "string";
|
|
3849
|
+
};
|
|
3850
|
+
};
|
|
3851
|
+
readonly required: readonly ["id", "email"];
|
|
3852
|
+
readonly type: "object";
|
|
3853
|
+
};
|
|
3854
|
+
declare const UpdateBookingSchema: {
|
|
3855
|
+
readonly properties: {
|
|
3856
|
+
readonly booker: {
|
|
3857
|
+
readonly format: "uuid";
|
|
3858
|
+
readonly type: "string";
|
|
3859
|
+
};
|
|
3860
|
+
readonly end_time: {
|
|
3861
|
+
readonly format: "date-time";
|
|
3862
|
+
readonly type: "string";
|
|
3863
|
+
};
|
|
3864
|
+
readonly location: {
|
|
3865
|
+
readonly type: "string";
|
|
3866
|
+
};
|
|
3867
|
+
readonly participants: {
|
|
3868
|
+
readonly properties: {
|
|
3869
|
+
readonly guests: {
|
|
3870
|
+
readonly items: {
|
|
3871
|
+
readonly $ref: "#/components/schemas/Guest";
|
|
3872
|
+
};
|
|
3873
|
+
readonly type: "array";
|
|
3874
|
+
};
|
|
3875
|
+
readonly players: {
|
|
3876
|
+
readonly items: {
|
|
3877
|
+
readonly $ref: "#/components/schemas/Player";
|
|
3878
|
+
};
|
|
3879
|
+
readonly type: "array";
|
|
3880
|
+
};
|
|
3881
|
+
};
|
|
3882
|
+
readonly type: "object";
|
|
3883
|
+
};
|
|
3884
|
+
readonly payment_reference: {
|
|
3885
|
+
readonly type: "string";
|
|
3886
|
+
};
|
|
3887
|
+
readonly start_time: {
|
|
3888
|
+
readonly format: "date-time";
|
|
3889
|
+
readonly type: "string";
|
|
3890
|
+
};
|
|
3891
|
+
};
|
|
3892
|
+
readonly required: readonly ["booker", "location", "start_time", "end_time", "participants", "payment_reference"];
|
|
3893
|
+
readonly type: "object";
|
|
3894
|
+
};
|
|
3895
|
+
declare const pkgOpenapiSharedCursorPaginatedResultSetSchema: {
|
|
3896
|
+
readonly description: "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.\n";
|
|
3897
|
+
readonly properties: {
|
|
3898
|
+
readonly current_cursor: {
|
|
3899
|
+
readonly description: "Cursor used to retrieve the current page of results.";
|
|
3900
|
+
readonly type: "string";
|
|
3901
|
+
};
|
|
3902
|
+
readonly more_results: {
|
|
3903
|
+
readonly description: "Indicates if there are more results available.";
|
|
3904
|
+
readonly type: "boolean";
|
|
3905
|
+
};
|
|
3906
|
+
readonly next_cursor: {
|
|
3907
|
+
readonly description: "Cursor to retrieve the next page of results.";
|
|
3908
|
+
readonly type: "string";
|
|
3909
|
+
};
|
|
3910
|
+
};
|
|
3911
|
+
readonly required: readonly ["current_cursor", "more_results"];
|
|
3912
|
+
readonly type: "object";
|
|
3913
|
+
};
|
|
3914
|
+
declare const pkgOpenapiSharedErrorSchema: {
|
|
3915
|
+
readonly properties: {
|
|
3916
|
+
readonly message: {
|
|
3917
|
+
readonly description: "The error message";
|
|
3918
|
+
readonly type: "string";
|
|
3919
|
+
};
|
|
3920
|
+
};
|
|
3921
|
+
readonly type: "object";
|
|
3922
|
+
};
|
|
3923
|
+
declare const pkgOpenapiSharedErrorsSchema: {
|
|
3924
|
+
readonly description: "An array of error details to accompany a problem details response.";
|
|
3925
|
+
readonly items: {
|
|
3926
|
+
readonly $ref: "#/components/schemas/pkgOpenapiSharedError";
|
|
3927
|
+
};
|
|
3928
|
+
readonly maxItems: 1000;
|
|
3929
|
+
readonly type: "array";
|
|
3930
|
+
};
|
|
3931
|
+
declare const pkgOpenapiSharedOffsetPaginatedResultSetSchema: {
|
|
3932
|
+
readonly description: "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.\n";
|
|
3933
|
+
readonly properties: {
|
|
3934
|
+
readonly limit: {
|
|
3935
|
+
readonly type: "integer";
|
|
3936
|
+
};
|
|
3937
|
+
readonly more_results: {
|
|
3938
|
+
readonly type: "boolean";
|
|
3939
|
+
};
|
|
3940
|
+
readonly offset: {
|
|
3941
|
+
readonly type: "integer";
|
|
3942
|
+
};
|
|
3943
|
+
};
|
|
3944
|
+
readonly required: readonly ["offset", "limit", "more_results"];
|
|
3945
|
+
readonly type: "object";
|
|
3946
|
+
};
|
|
3947
|
+
declare const pkgOpenapiSharedProblemDetailsSchema: {
|
|
3948
|
+
readonly properties: {
|
|
3949
|
+
readonly detail: {
|
|
3950
|
+
readonly description: "A human-readable explanation specific to this occurrence of the problem.";
|
|
3951
|
+
readonly maxLength: 4096;
|
|
3952
|
+
readonly type: "string";
|
|
3953
|
+
};
|
|
3954
|
+
readonly errors: {
|
|
3955
|
+
readonly $ref: "#/components/schemas/pkgOpenapiSharedErrors";
|
|
3956
|
+
};
|
|
3957
|
+
readonly instance: {
|
|
3958
|
+
readonly description: "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.";
|
|
3959
|
+
readonly maxLength: 1024;
|
|
3960
|
+
readonly type: "string";
|
|
3961
|
+
};
|
|
3962
|
+
readonly status: {
|
|
3963
|
+
readonly description: "The HTTP status code generated by the origin server for this occurrence of the problem.";
|
|
3964
|
+
readonly format: "int32";
|
|
3965
|
+
readonly maximum: 599;
|
|
3966
|
+
readonly minimum: 100;
|
|
3967
|
+
readonly type: "integer";
|
|
3968
|
+
};
|
|
3969
|
+
readonly title: {
|
|
3970
|
+
readonly description: "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.";
|
|
3971
|
+
readonly maxLength: 1024;
|
|
3972
|
+
readonly type: "string";
|
|
3973
|
+
};
|
|
3974
|
+
readonly type: {
|
|
3975
|
+
readonly description: "A URI reference that identifies the problem type.";
|
|
3976
|
+
readonly format: "uri";
|
|
3977
|
+
readonly maxLength: 1024;
|
|
3978
|
+
readonly type: "string";
|
|
3979
|
+
};
|
|
3980
|
+
};
|
|
3981
|
+
readonly required: readonly ["title"];
|
|
3982
|
+
readonly type: "object";
|
|
3983
|
+
};
|
|
3984
|
+
|
|
3985
|
+
declare const schemas_gen_BookingSchema: typeof BookingSchema;
|
|
3986
|
+
declare const schemas_gen_CreateBookingSchema: typeof CreateBookingSchema;
|
|
3987
|
+
declare const schemas_gen_FacilityOfferConditionActivitiesSchema: typeof FacilityOfferConditionActivitiesSchema;
|
|
3988
|
+
declare const schemas_gen_FacilityOfferConditionCourtsSchema: typeof FacilityOfferConditionCourtsSchema;
|
|
3989
|
+
declare const schemas_gen_FacilityOfferConditionDateSchema: typeof FacilityOfferConditionDateSchema;
|
|
3990
|
+
declare const schemas_gen_FacilityOfferConditionHoursinadvanceSchema: typeof FacilityOfferConditionHoursinadvanceSchema;
|
|
3991
|
+
declare const schemas_gen_FacilityOfferConditionNotImplementedSchema: typeof FacilityOfferConditionNotImplementedSchema;
|
|
3992
|
+
declare const schemas_gen_FacilityOfferConditionSchema: typeof FacilityOfferConditionSchema;
|
|
3993
|
+
declare const schemas_gen_FacilityOfferConditionTimeSchema: typeof FacilityOfferConditionTimeSchema;
|
|
3994
|
+
declare const schemas_gen_FacilityOfferConditionWeekdaysSchema: typeof FacilityOfferConditionWeekdaysSchema;
|
|
3995
|
+
declare const schemas_gen_FacilityOfferListSchema: typeof FacilityOfferListSchema;
|
|
3996
|
+
declare const schemas_gen_FacilityOfferOrderSchema: typeof FacilityOfferOrderSchema;
|
|
3997
|
+
declare const schemas_gen_FacilityOfferSchema: typeof FacilityOfferSchema;
|
|
3998
|
+
declare const schemas_gen_FacilityPunchCardDataSchema: typeof FacilityPunchCardDataSchema;
|
|
3999
|
+
declare const schemas_gen_FacilityValueCardDataSchema: typeof FacilityValueCardDataSchema;
|
|
4000
|
+
declare const schemas_gen_GuestSchema: typeof GuestSchema;
|
|
4001
|
+
declare const schemas_gen_PlayerSchema: typeof PlayerSchema;
|
|
4002
|
+
declare const schemas_gen_UpdateBookingSchema: typeof UpdateBookingSchema;
|
|
4003
|
+
declare const schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema: typeof pkgOpenapiSharedCursorPaginatedResultSetSchema;
|
|
4004
|
+
declare const schemas_gen_pkgOpenapiSharedErrorSchema: typeof pkgOpenapiSharedErrorSchema;
|
|
4005
|
+
declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedErrorsSchema;
|
|
4006
|
+
declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
|
|
4007
|
+
declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
|
|
4008
|
+
declare namespace schemas_gen {
|
|
4009
|
+
export { schemas_gen_BookingSchema as BookingSchema, schemas_gen_CreateBookingSchema as CreateBookingSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionNotImplementedSchema as FacilityOfferConditionNotImplementedSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_GuestSchema as GuestSchema, schemas_gen_PlayerSchema as PlayerSchema, schemas_gen_UpdateBookingSchema as UpdateBookingSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
|
|
4010
|
+
}
|
|
4011
|
+
|
|
3457
4012
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
3458
4013
|
/**
|
|
3459
4014
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -3778,6 +4333,7 @@ type indexV1_UpdateBookingErrors = UpdateBookingErrors;
|
|
|
3778
4333
|
type indexV1_UpdateBookingResponse = UpdateBookingResponse;
|
|
3779
4334
|
type indexV1_UpdateBookingResponses = UpdateBookingResponses;
|
|
3780
4335
|
declare const indexV1_addBooking: typeof addBooking;
|
|
4336
|
+
declare const indexV1_client: typeof client;
|
|
3781
4337
|
declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
|
|
3782
4338
|
declare const indexV1_deleteBooking: typeof deleteBooking;
|
|
3783
4339
|
declare const indexV1_findBookingById: typeof findBookingById;
|
|
@@ -3785,7 +4341,7 @@ declare const indexV1_findBookings: typeof findBookings;
|
|
|
3785
4341
|
declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
|
|
3786
4342
|
declare const indexV1_updateBooking: typeof updateBooking;
|
|
3787
4343
|
declare namespace indexV1 {
|
|
3788
|
-
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 };
|
|
4344
|
+
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_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_deleteBooking as deleteBooking, indexV1_findBookingById as findBookingById, indexV1_findBookings as findBookings, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_updateBooking as updateBooking };
|
|
3789
4345
|
}
|
|
3790
4346
|
|
|
3791
4347
|
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 };
|