@matchi/api 0.20250411.1 → 0.20250417.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 +129 -65
- package/dist/main/index.d.ts +129 -65
- 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
|
@@ -1140,7 +1140,7 @@ type order = {
|
|
|
1140
1140
|
|
|
1141
1141
|
type OrderPriceDetails = {
|
|
1142
1142
|
totalPrice?: string;
|
|
1143
|
-
price
|
|
1143
|
+
price?: string;
|
|
1144
1144
|
fee?: string;
|
|
1145
1145
|
priceVat?: string;
|
|
1146
1146
|
feeVat?: string;
|
|
@@ -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;
|
|
@@ -1445,6 +1447,10 @@ type playSessionSettings = {
|
|
|
1445
1447
|
* Contact details can be email, phone number or other contact information.
|
|
1446
1448
|
*/
|
|
1447
1449
|
contactDetails?: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* Self-assessed level of the booking owner.
|
|
1452
|
+
*/
|
|
1453
|
+
ownerLevel?: string;
|
|
1448
1454
|
/**
|
|
1449
1455
|
* The number of available spots on the play session.
|
|
1450
1456
|
*/
|
|
@@ -1538,6 +1544,8 @@ type priceDetailsActivity = {
|
|
|
1538
1544
|
paymentMethods: Array<paymentType>;
|
|
1539
1545
|
};
|
|
1540
1546
|
|
|
1547
|
+
type sportLevels = Record<string, string>;
|
|
1548
|
+
|
|
1541
1549
|
type profile = {
|
|
1542
1550
|
address?: address;
|
|
1543
1551
|
dateOfBirth?: string;
|
|
@@ -1547,6 +1555,7 @@ type profile = {
|
|
|
1547
1555
|
profileImageUrl?: string;
|
|
1548
1556
|
private?: boolean;
|
|
1549
1557
|
access?: Array<access>;
|
|
1558
|
+
sportLevels?: sportLevels;
|
|
1550
1559
|
};
|
|
1551
1560
|
|
|
1552
1561
|
type promoCode = {
|
|
@@ -1674,6 +1683,7 @@ type userPublicProfile = {
|
|
|
1674
1683
|
firstname?: string;
|
|
1675
1684
|
lastname?: string;
|
|
1676
1685
|
profileImageUrl?: string;
|
|
1686
|
+
sportLevels?: sportLevels;
|
|
1677
1687
|
};
|
|
1678
1688
|
|
|
1679
1689
|
declare class ActivityServiceV1Service {
|
|
@@ -1959,6 +1969,13 @@ declare class AuthorizedService {
|
|
|
1959
1969
|
* @throws ApiError
|
|
1960
1970
|
*/
|
|
1961
1971
|
static getBookingUsers(bookingId: number): CancelablePromise<bookingUsersResponse>;
|
|
1972
|
+
/**
|
|
1973
|
+
* Search for users
|
|
1974
|
+
* @param key The search query
|
|
1975
|
+
* @returns userPublicProfile List of public profiles found
|
|
1976
|
+
* @throws ApiError
|
|
1977
|
+
*/
|
|
1978
|
+
static searchUsers(key: string): CancelablePromise<Array<userPublicProfile>>;
|
|
1962
1979
|
/**
|
|
1963
1980
|
* List all chats for the current user
|
|
1964
1981
|
* @param userChatStatus If provided, only returns user chats which match this user chat status:
|
|
@@ -1993,6 +2010,18 @@ declare class AuthorizedService {
|
|
|
1993
2010
|
*/
|
|
1994
2011
|
facilityId: string;
|
|
1995
2012
|
}): CancelablePromise<createChatResponse>;
|
|
2013
|
+
/**
|
|
2014
|
+
* M2M request to create a new chat for a target
|
|
2015
|
+
* @param requestBody Create chat for a target request.
|
|
2016
|
+
* @returns any Successfully created chat.
|
|
2017
|
+
* @throws ApiError
|
|
2018
|
+
*/
|
|
2019
|
+
static adminCreateChat(requestBody: {
|
|
2020
|
+
target: chatTarget;
|
|
2021
|
+
targetId: string;
|
|
2022
|
+
}): CancelablePromise<{
|
|
2023
|
+
chatId: string;
|
|
2024
|
+
}>;
|
|
1996
2025
|
/**
|
|
1997
2026
|
* Get the chat of the specified target id
|
|
1998
2027
|
* @param target The type of the target
|
|
@@ -2306,11 +2335,10 @@ declare class AuthorizedService {
|
|
|
2306
2335
|
* @param endDateTime String end DateTime (UTC)
|
|
2307
2336
|
* @param sportIds String ID of the sport
|
|
2308
2337
|
* @param availableSpots Number of minimum available spots (0 for returning only full matches)
|
|
2309
|
-
* @param limit Maximum number of items to return.
|
|
2310
2338
|
* @returns playSessionResponse List of open play session available for the user
|
|
2311
2339
|
* @throws ApiError
|
|
2312
2340
|
*/
|
|
2313
|
-
static getUserPlaySessionsMarketplace(facilityIds: Array<string>, startDateTime: timeStamp, endDateTime: timeStamp, sportIds?: Array<string>, availableSpots?: number
|
|
2341
|
+
static getUserPlaySessionsMarketplace(facilityIds: Array<string>, startDateTime: timeStamp, endDateTime: timeStamp, sportIds?: Array<string>, availableSpots?: number): CancelablePromise<playSessionResponse>;
|
|
2314
2342
|
/**
|
|
2315
2343
|
* Add user to waitlist on occasion with id
|
|
2316
2344
|
* @param id Activity occasion id
|
|
@@ -2723,6 +2751,15 @@ declare class PlaySessionServiceV1Service {
|
|
|
2723
2751
|
* @throws ApiError
|
|
2724
2752
|
*/
|
|
2725
2753
|
static addUserWithId(sessionId: string, userId: string, requestBody: playsessionUserDetails): CancelablePromise<playSession>;
|
|
2754
|
+
/**
|
|
2755
|
+
* Update player in play session given user id
|
|
2756
|
+
* @param sessionId Play Session ID
|
|
2757
|
+
* @param userId The user ID of the play session participant to update
|
|
2758
|
+
* @param requestBody
|
|
2759
|
+
* @returns playSession User is updated in the playsession
|
|
2760
|
+
* @throws ApiError
|
|
2761
|
+
*/
|
|
2762
|
+
static updateUserWithId(sessionId: string, userId: string, requestBody: playsessionUserDetails): CancelablePromise<playSession>;
|
|
2726
2763
|
/**
|
|
2727
2764
|
* Remove player from play session given user email
|
|
2728
2765
|
* @param sessionId Play Session ID
|
|
@@ -2783,14 +2820,20 @@ declare class PlaySessionServiceV1Service {
|
|
|
2783
2820
|
* @param endDateTime String end DateTime (UTC)
|
|
2784
2821
|
* @param sportIds String ID of the sport
|
|
2785
2822
|
* @param availableSpots Number of minimum available spots (0 for returning only full matches)
|
|
2786
|
-
* @param limit Maximum number of items to return.
|
|
2787
2823
|
* @returns playSessionResponse List of open play session available for the user
|
|
2788
2824
|
* @throws ApiError
|
|
2789
2825
|
*/
|
|
2790
|
-
static getUserPlaySessionsMarketplace(facilityIds: Array<string>, startDateTime: timeStamp, endDateTime: timeStamp, sportIds?: Array<string>, availableSpots?: number
|
|
2826
|
+
static getUserPlaySessionsMarketplace(facilityIds: Array<string>, startDateTime: timeStamp, endDateTime: timeStamp, sportIds?: Array<string>, availableSpots?: number): CancelablePromise<playSessionResponse>;
|
|
2791
2827
|
}
|
|
2792
2828
|
|
|
2793
2829
|
declare class UserServiceV1Service {
|
|
2830
|
+
/**
|
|
2831
|
+
* Search for users
|
|
2832
|
+
* @param key The search query
|
|
2833
|
+
* @returns userPublicProfile List of public profiles found
|
|
2834
|
+
* @throws ApiError
|
|
2835
|
+
*/
|
|
2836
|
+
static searchUsers(key: string): CancelablePromise<Array<userPublicProfile>>;
|
|
2794
2837
|
/**
|
|
2795
2838
|
* Get public profile of requested user
|
|
2796
2839
|
* @param userId User ID
|
|
@@ -2832,6 +2875,18 @@ declare class UserServiceV1Service {
|
|
|
2832
2875
|
*/
|
|
2833
2876
|
facilityId: string;
|
|
2834
2877
|
}): CancelablePromise<createChatResponse>;
|
|
2878
|
+
/**
|
|
2879
|
+
* M2M request to create a new chat for a target
|
|
2880
|
+
* @param requestBody Create chat for a target request.
|
|
2881
|
+
* @returns any Successfully created chat.
|
|
2882
|
+
* @throws ApiError
|
|
2883
|
+
*/
|
|
2884
|
+
static adminCreateChat(requestBody: {
|
|
2885
|
+
target: chatTarget;
|
|
2886
|
+
targetId: string;
|
|
2887
|
+
}): CancelablePromise<{
|
|
2888
|
+
chatId: string;
|
|
2889
|
+
}>;
|
|
2835
2890
|
/**
|
|
2836
2891
|
* Get the chat of the specified target id
|
|
2837
2892
|
* @param target The type of the target
|
|
@@ -2980,37 +3035,36 @@ type FacilityOffer = {
|
|
|
2980
3035
|
data: FacilityPunchCardData | FacilityValueCardData;
|
|
2981
3036
|
type: 'FACILITY_PUNCH_CARD' | 'FACILITY_VALUE_CARD';
|
|
2982
3037
|
};
|
|
2983
|
-
type FacilityOfferCondition = (FacilityOfferConditionWeekdays | FacilityOfferConditionCourts | FacilityOfferConditionDate | FacilityOfferConditionTime | FacilityOfferConditionHoursinadvance | FacilityOfferConditionActivities
|
|
2984
|
-
type
|
|
3038
|
+
type FacilityOfferCondition = (FacilityOfferConditionWeekdays | FacilityOfferConditionCourts | FacilityOfferConditionDate | FacilityOfferConditionTime | FacilityOfferConditionHoursinadvance | FacilityOfferConditionActivities) & {
|
|
3039
|
+
type: 'WEEKDAYS' | 'COURTS' | 'DATE' | 'TIME' | 'HOURSINADVANCE' | 'ACTIVITIES';
|
|
2985
3040
|
};
|
|
2986
3041
|
type FacilityOfferConditionActivities = {
|
|
3042
|
+
activities: Array<{
|
|
3043
|
+
id: number;
|
|
3044
|
+
name: string;
|
|
3045
|
+
type: string | null;
|
|
3046
|
+
}>;
|
|
2987
3047
|
all_activities: boolean;
|
|
2988
3048
|
not_valid_for_activities: boolean;
|
|
2989
|
-
type: string;
|
|
2990
3049
|
};
|
|
2991
3050
|
type FacilityOfferConditionCourts = {
|
|
2992
|
-
|
|
2993
|
-
|
|
3051
|
+
courts: Array<{
|
|
3052
|
+
id: number;
|
|
3053
|
+
name: string;
|
|
3054
|
+
}>;
|
|
2994
3055
|
};
|
|
2995
3056
|
type FacilityOfferConditionDate = {
|
|
2996
3057
|
end_date: string;
|
|
2997
3058
|
start_date: string;
|
|
2998
|
-
type: string;
|
|
2999
3059
|
};
|
|
3000
3060
|
type FacilityOfferConditionHoursinadvance = {
|
|
3001
3061
|
nr_of_hours: number;
|
|
3002
|
-
type: string;
|
|
3003
|
-
};
|
|
3004
|
-
type FacilityOfferConditionNotImplemented = {
|
|
3005
|
-
type: string;
|
|
3006
3062
|
};
|
|
3007
3063
|
type FacilityOfferConditionTime = {
|
|
3008
3064
|
end_time: string;
|
|
3009
3065
|
start_time: string;
|
|
3010
|
-
type: string;
|
|
3011
3066
|
};
|
|
3012
3067
|
type FacilityOfferConditionWeekdays = {
|
|
3013
|
-
type: string;
|
|
3014
3068
|
weekdays: Array<number>;
|
|
3015
3069
|
};
|
|
3016
3070
|
type FacilityOfferList = {
|
|
@@ -3034,7 +3088,7 @@ type FacilityPunchCardData = {
|
|
|
3034
3088
|
members_only: boolean;
|
|
3035
3089
|
name: string;
|
|
3036
3090
|
nr_of_bookings_in_period: number | null;
|
|
3037
|
-
nr_of_days_valid: number;
|
|
3091
|
+
nr_of_days_valid: number | null;
|
|
3038
3092
|
nr_of_tickets: number;
|
|
3039
3093
|
offer_id: number;
|
|
3040
3094
|
price: string;
|
|
@@ -3043,13 +3097,14 @@ type FacilityPunchCardData = {
|
|
|
3043
3097
|
};
|
|
3044
3098
|
type FacilityValueCardData = {
|
|
3045
3099
|
amount: string;
|
|
3100
|
+
conditions: Array<FacilityOfferCondition>;
|
|
3046
3101
|
description: string | null;
|
|
3047
3102
|
expire_date: string;
|
|
3048
3103
|
facility_id: number;
|
|
3049
3104
|
facility_receive_membership_requests: boolean;
|
|
3050
3105
|
members_only: boolean;
|
|
3051
3106
|
name: string;
|
|
3052
|
-
nr_of_days_valid: number;
|
|
3107
|
+
nr_of_days_valid: number | null;
|
|
3053
3108
|
offer_id: number;
|
|
3054
3109
|
price: string;
|
|
3055
3110
|
user_has_active_membership: boolean;
|
|
@@ -3592,59 +3647,80 @@ declare const FacilityOfferConditionSchema: {
|
|
|
3592
3647
|
readonly $ref: "#/components/schemas/FacilityOfferConditionHoursinadvance";
|
|
3593
3648
|
}, {
|
|
3594
3649
|
readonly $ref: "#/components/schemas/FacilityOfferConditionActivities";
|
|
3595
|
-
}, {
|
|
3596
|
-
readonly $ref: "#/components/schemas/FacilityOfferConditionNotImplemented";
|
|
3597
3650
|
}];
|
|
3598
3651
|
readonly properties: {
|
|
3599
3652
|
readonly type: {
|
|
3600
|
-
readonly enum: readonly ["WEEKDAYS", "COURTS", "DATE", "TIME", "HOURSINADVANCE", "ACTIVITIES"
|
|
3653
|
+
readonly enum: readonly ["WEEKDAYS", "COURTS", "DATE", "TIME", "HOURSINADVANCE", "ACTIVITIES"];
|
|
3601
3654
|
readonly type: "string";
|
|
3602
3655
|
};
|
|
3603
3656
|
};
|
|
3657
|
+
readonly required: readonly ["type"];
|
|
3604
3658
|
readonly type: "object";
|
|
3605
3659
|
};
|
|
3606
3660
|
declare const FacilityOfferConditionActivitiesSchema: {
|
|
3607
3661
|
readonly properties: {
|
|
3662
|
+
readonly activities: {
|
|
3663
|
+
readonly items: {
|
|
3664
|
+
readonly properties: {
|
|
3665
|
+
readonly id: {
|
|
3666
|
+
readonly type: "integer";
|
|
3667
|
+
};
|
|
3668
|
+
readonly name: {
|
|
3669
|
+
readonly type: "string";
|
|
3670
|
+
};
|
|
3671
|
+
readonly type: {
|
|
3672
|
+
readonly nullable: true;
|
|
3673
|
+
readonly type: "string";
|
|
3674
|
+
};
|
|
3675
|
+
};
|
|
3676
|
+
readonly required: readonly ["id", "name", "type"];
|
|
3677
|
+
readonly type: "object";
|
|
3678
|
+
};
|
|
3679
|
+
readonly type: "array";
|
|
3680
|
+
};
|
|
3608
3681
|
readonly all_activities: {
|
|
3609
3682
|
readonly type: "boolean";
|
|
3610
3683
|
};
|
|
3611
3684
|
readonly not_valid_for_activities: {
|
|
3612
3685
|
readonly type: "boolean";
|
|
3613
3686
|
};
|
|
3614
|
-
readonly type: {
|
|
3615
|
-
readonly type: "string";
|
|
3616
|
-
};
|
|
3617
3687
|
};
|
|
3618
|
-
readonly required: readonly ["
|
|
3688
|
+
readonly required: readonly ["not_valid_for_activities", "all_activities", "activities"];
|
|
3619
3689
|
readonly type: "object";
|
|
3620
3690
|
};
|
|
3621
3691
|
declare const FacilityOfferConditionCourtsSchema: {
|
|
3622
3692
|
readonly properties: {
|
|
3623
|
-
readonly
|
|
3624
|
-
readonly
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3693
|
+
readonly courts: {
|
|
3694
|
+
readonly items: {
|
|
3695
|
+
readonly properties: {
|
|
3696
|
+
readonly id: {
|
|
3697
|
+
readonly type: "integer";
|
|
3698
|
+
};
|
|
3699
|
+
readonly name: {
|
|
3700
|
+
readonly type: "string";
|
|
3701
|
+
};
|
|
3702
|
+
};
|
|
3703
|
+
readonly required: readonly ["id", "name"];
|
|
3704
|
+
readonly type: "object";
|
|
3705
|
+
};
|
|
3706
|
+
readonly type: "array";
|
|
3628
3707
|
};
|
|
3629
3708
|
};
|
|
3630
|
-
readonly required: readonly ["
|
|
3709
|
+
readonly required: readonly ["courts"];
|
|
3631
3710
|
readonly type: "object";
|
|
3632
3711
|
};
|
|
3633
3712
|
declare const FacilityOfferConditionDateSchema: {
|
|
3634
3713
|
readonly properties: {
|
|
3635
3714
|
readonly end_date: {
|
|
3636
|
-
readonly format: "date
|
|
3715
|
+
readonly format: "date";
|
|
3637
3716
|
readonly type: "string";
|
|
3638
3717
|
};
|
|
3639
3718
|
readonly start_date: {
|
|
3640
|
-
readonly format: "date
|
|
3641
|
-
readonly type: "string";
|
|
3642
|
-
};
|
|
3643
|
-
readonly type: {
|
|
3719
|
+
readonly format: "date";
|
|
3644
3720
|
readonly type: "string";
|
|
3645
3721
|
};
|
|
3646
3722
|
};
|
|
3647
|
-
readonly required: readonly ["
|
|
3723
|
+
readonly required: readonly ["start_date", "end_date"];
|
|
3648
3724
|
readonly type: "object";
|
|
3649
3725
|
};
|
|
3650
3726
|
declare const FacilityOfferConditionHoursinadvanceSchema: {
|
|
@@ -3652,20 +3728,8 @@ declare const FacilityOfferConditionHoursinadvanceSchema: {
|
|
|
3652
3728
|
readonly nr_of_hours: {
|
|
3653
3729
|
readonly type: "integer";
|
|
3654
3730
|
};
|
|
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
3731
|
};
|
|
3668
|
-
readonly required: readonly ["
|
|
3732
|
+
readonly required: readonly ["nr_of_hours"];
|
|
3669
3733
|
readonly type: "object";
|
|
3670
3734
|
};
|
|
3671
3735
|
declare const FacilityOfferConditionTimeSchema: {
|
|
@@ -3678,18 +3742,12 @@ declare const FacilityOfferConditionTimeSchema: {
|
|
|
3678
3742
|
readonly format: "time";
|
|
3679
3743
|
readonly type: "string";
|
|
3680
3744
|
};
|
|
3681
|
-
readonly type: {
|
|
3682
|
-
readonly type: "string";
|
|
3683
|
-
};
|
|
3684
3745
|
};
|
|
3685
|
-
readonly required: readonly ["
|
|
3746
|
+
readonly required: readonly ["start_time", "end_time"];
|
|
3686
3747
|
readonly type: "object";
|
|
3687
3748
|
};
|
|
3688
3749
|
declare const FacilityOfferConditionWeekdaysSchema: {
|
|
3689
3750
|
readonly properties: {
|
|
3690
|
-
readonly type: {
|
|
3691
|
-
readonly type: "string";
|
|
3692
|
-
};
|
|
3693
3751
|
readonly weekdays: {
|
|
3694
3752
|
readonly items: {
|
|
3695
3753
|
readonly description: "Interger representation of weekday. 1 (Monday), 7 (Sunday).";
|
|
@@ -3698,7 +3756,7 @@ declare const FacilityOfferConditionWeekdaysSchema: {
|
|
|
3698
3756
|
readonly type: "array";
|
|
3699
3757
|
};
|
|
3700
3758
|
};
|
|
3701
|
-
readonly required: readonly ["
|
|
3759
|
+
readonly required: readonly ["weekdays"];
|
|
3702
3760
|
readonly type: "object";
|
|
3703
3761
|
};
|
|
3704
3762
|
declare const FacilityOfferListSchema: {
|
|
@@ -3767,6 +3825,7 @@ declare const FacilityPunchCardDataSchema: {
|
|
|
3767
3825
|
readonly type: "integer";
|
|
3768
3826
|
};
|
|
3769
3827
|
readonly nr_of_days_valid: {
|
|
3828
|
+
readonly nullable: true;
|
|
3770
3829
|
readonly type: "integer";
|
|
3771
3830
|
};
|
|
3772
3831
|
readonly nr_of_tickets: {
|
|
@@ -3793,6 +3852,12 @@ declare const FacilityValueCardDataSchema: {
|
|
|
3793
3852
|
readonly amount: {
|
|
3794
3853
|
readonly type: "string";
|
|
3795
3854
|
};
|
|
3855
|
+
readonly conditions: {
|
|
3856
|
+
readonly items: {
|
|
3857
|
+
readonly $ref: "#/components/schemas/FacilityOfferCondition";
|
|
3858
|
+
};
|
|
3859
|
+
readonly type: "array";
|
|
3860
|
+
};
|
|
3796
3861
|
readonly description: {
|
|
3797
3862
|
readonly nullable: true;
|
|
3798
3863
|
readonly type: "string";
|
|
@@ -3814,6 +3879,7 @@ declare const FacilityValueCardDataSchema: {
|
|
|
3814
3879
|
readonly type: "string";
|
|
3815
3880
|
};
|
|
3816
3881
|
readonly nr_of_days_valid: {
|
|
3882
|
+
readonly nullable: true;
|
|
3817
3883
|
readonly type: "integer";
|
|
3818
3884
|
};
|
|
3819
3885
|
readonly offer_id: {
|
|
@@ -3826,7 +3892,7 @@ declare const FacilityValueCardDataSchema: {
|
|
|
3826
3892
|
readonly type: "boolean";
|
|
3827
3893
|
};
|
|
3828
3894
|
};
|
|
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"];
|
|
3895
|
+
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"];
|
|
3830
3896
|
readonly type: "object";
|
|
3831
3897
|
};
|
|
3832
3898
|
declare const GuestSchema: {
|
|
@@ -3988,7 +4054,6 @@ declare const schemas_gen_FacilityOfferConditionActivitiesSchema: typeof Facilit
|
|
|
3988
4054
|
declare const schemas_gen_FacilityOfferConditionCourtsSchema: typeof FacilityOfferConditionCourtsSchema;
|
|
3989
4055
|
declare const schemas_gen_FacilityOfferConditionDateSchema: typeof FacilityOfferConditionDateSchema;
|
|
3990
4056
|
declare const schemas_gen_FacilityOfferConditionHoursinadvanceSchema: typeof FacilityOfferConditionHoursinadvanceSchema;
|
|
3991
|
-
declare const schemas_gen_FacilityOfferConditionNotImplementedSchema: typeof FacilityOfferConditionNotImplementedSchema;
|
|
3992
4057
|
declare const schemas_gen_FacilityOfferConditionSchema: typeof FacilityOfferConditionSchema;
|
|
3993
4058
|
declare const schemas_gen_FacilityOfferConditionTimeSchema: typeof FacilityOfferConditionTimeSchema;
|
|
3994
4059
|
declare const schemas_gen_FacilityOfferConditionWeekdaysSchema: typeof FacilityOfferConditionWeekdaysSchema;
|
|
@@ -4006,7 +4071,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
|
|
|
4006
4071
|
declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
|
|
4007
4072
|
declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
|
|
4008
4073
|
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,
|
|
4074
|
+
export { schemas_gen_BookingSchema as BookingSchema, schemas_gen_CreateBookingSchema as CreateBookingSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_GuestSchema as GuestSchema, schemas_gen_PlayerSchema as PlayerSchema, schemas_gen_UpdateBookingSchema as UpdateBookingSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
|
|
4010
4075
|
}
|
|
4011
4076
|
|
|
4012
4077
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -4291,7 +4356,6 @@ type indexV1_FacilityOfferConditionActivities = FacilityOfferConditionActivities
|
|
|
4291
4356
|
type indexV1_FacilityOfferConditionCourts = FacilityOfferConditionCourts;
|
|
4292
4357
|
type indexV1_FacilityOfferConditionDate = FacilityOfferConditionDate;
|
|
4293
4358
|
type indexV1_FacilityOfferConditionHoursinadvance = FacilityOfferConditionHoursinadvance;
|
|
4294
|
-
type indexV1_FacilityOfferConditionNotImplemented = FacilityOfferConditionNotImplemented;
|
|
4295
4359
|
type indexV1_FacilityOfferConditionTime = FacilityOfferConditionTime;
|
|
4296
4360
|
type indexV1_FacilityOfferConditionWeekdays = FacilityOfferConditionWeekdays;
|
|
4297
4361
|
type indexV1_FacilityOfferList = FacilityOfferList;
|
|
@@ -4341,7 +4405,7 @@ declare const indexV1_findBookings: typeof findBookings;
|
|
|
4341
4405
|
declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
|
|
4342
4406
|
declare const indexV1_updateBooking: typeof updateBooking;
|
|
4343
4407
|
declare namespace indexV1 {
|
|
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
|
|
4408
|
+
export { type indexV1_AddBookingData as AddBookingData, type indexV1_AddBookingError as AddBookingError, type indexV1_AddBookingErrors as AddBookingErrors, type indexV1_AddBookingResponse as AddBookingResponse, type indexV1_AddBookingResponses as AddBookingResponses, type indexV1_Booking as Booking, type indexV1_ClientOptions as ClientOptions, type indexV1_CreateBooking as CreateBooking, type indexV1_CreateFacilityOfferOrderData as CreateFacilityOfferOrderData, type indexV1_CreateFacilityOfferOrderError as CreateFacilityOfferOrderError, type indexV1_CreateFacilityOfferOrderErrors as CreateFacilityOfferOrderErrors, type indexV1_CreateFacilityOfferOrderResponse as CreateFacilityOfferOrderResponse, type indexV1_CreateFacilityOfferOrderResponses as CreateFacilityOfferOrderResponses, type indexV1_DeleteBookingData as DeleteBookingData, type indexV1_DeleteBookingError as DeleteBookingError, type indexV1_DeleteBookingErrors as DeleteBookingErrors, type indexV1_DeleteBookingResponse as DeleteBookingResponse, type indexV1_DeleteBookingResponses as DeleteBookingResponses, type indexV1_FacilityIdPath as FacilityIdPath, type indexV1_FacilityOffer as FacilityOffer, type indexV1_FacilityOfferCondition as FacilityOfferCondition, type indexV1_FacilityOfferConditionActivities as FacilityOfferConditionActivities, type indexV1_FacilityOfferConditionCourts as FacilityOfferConditionCourts, type indexV1_FacilityOfferConditionDate as FacilityOfferConditionDate, type indexV1_FacilityOfferConditionHoursinadvance as FacilityOfferConditionHoursinadvance, type indexV1_FacilityOfferConditionTime as FacilityOfferConditionTime, type indexV1_FacilityOfferConditionWeekdays as FacilityOfferConditionWeekdays, type indexV1_FacilityOfferList as FacilityOfferList, type indexV1_FacilityOfferOrder as FacilityOfferOrder, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, type indexV1_FindBookingByIdData as FindBookingByIdData, type indexV1_FindBookingByIdError as FindBookingByIdError, type indexV1_FindBookingByIdErrors as FindBookingByIdErrors, type indexV1_FindBookingByIdResponse as FindBookingByIdResponse, type indexV1_FindBookingByIdResponses as FindBookingByIdResponses, type indexV1_FindBookingsData as FindBookingsData, type indexV1_FindBookingsError as FindBookingsError, type indexV1_FindBookingsErrors as FindBookingsErrors, type indexV1_FindBookingsResponse as FindBookingsResponse, type indexV1_FindBookingsResponses as FindBookingsResponses, type indexV1_Guest as Guest, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Player as Player, type indexV1_UpdateBooking as UpdateBooking, type indexV1_UpdateBookingData as UpdateBookingData, type indexV1_UpdateBookingError as UpdateBookingError, type indexV1_UpdateBookingErrors as UpdateBookingErrors, type indexV1_UpdateBookingResponse as UpdateBookingResponse, type indexV1_UpdateBookingResponses as UpdateBookingResponses, indexV1_addBooking as addBooking, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_deleteBooking as deleteBooking, indexV1_findBookingById as findBookingById, indexV1_findBookings as findBookings, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_updateBooking as updateBooking };
|
|
4345
4409
|
}
|
|
4346
4410
|
|
|
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 };
|
|
4411
|
+
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 sportLevels, type timeOfDay, type timeStamp, type usagePlan, userChatStatusParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, type userValueCard, indexV1 as v1, type valueCardOutcome };
|