@matchi/api 0.20250411.1 → 0.20250423.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 +130 -65
- package/dist/main/index.d.ts +130 -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;
|
|
@@ -1170,6 +1170,7 @@ type ServiceFeeSettings = {
|
|
|
1170
1170
|
};
|
|
1171
1171
|
|
|
1172
1172
|
type OrderPaymentDetails = {
|
|
1173
|
+
method?: string;
|
|
1173
1174
|
totalAmount: string;
|
|
1174
1175
|
isSettled: boolean;
|
|
1175
1176
|
isMainBooker: boolean;
|
|
@@ -1179,12 +1180,14 @@ type OrderPaymentDetails = {
|
|
|
1179
1180
|
totalRefunded: string;
|
|
1180
1181
|
numberUnpaidSplits?: number;
|
|
1181
1182
|
unpaidSplitPrice?: string;
|
|
1183
|
+
splitSettledAt?: timeStamp;
|
|
1182
1184
|
payments?: Array<paymentMethodPaymentDetail>;
|
|
1183
1185
|
promoCodeOutcome?: {
|
|
1184
1186
|
code: string;
|
|
1185
1187
|
discountAmount?: string;
|
|
1186
1188
|
discountPercent?: string;
|
|
1187
1189
|
amount?: string;
|
|
1190
|
+
discountOutcome?: string;
|
|
1188
1191
|
};
|
|
1189
1192
|
serviceFeeSettings?: ServiceFeeSettings;
|
|
1190
1193
|
standardPrice?: OrderPriceDetails;
|
|
@@ -1445,6 +1448,10 @@ type playSessionSettings = {
|
|
|
1445
1448
|
* Contact details can be email, phone number or other contact information.
|
|
1446
1449
|
*/
|
|
1447
1450
|
contactDetails?: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* Self-assessed level of the booking owner.
|
|
1453
|
+
*/
|
|
1454
|
+
ownerLevel?: string;
|
|
1448
1455
|
/**
|
|
1449
1456
|
* The number of available spots on the play session.
|
|
1450
1457
|
*/
|
|
@@ -1538,6 +1545,8 @@ type priceDetailsActivity = {
|
|
|
1538
1545
|
paymentMethods: Array<paymentType>;
|
|
1539
1546
|
};
|
|
1540
1547
|
|
|
1548
|
+
type sportLevels = Record<string, string>;
|
|
1549
|
+
|
|
1541
1550
|
type profile = {
|
|
1542
1551
|
address?: address;
|
|
1543
1552
|
dateOfBirth?: string;
|
|
@@ -1547,6 +1556,7 @@ type profile = {
|
|
|
1547
1556
|
profileImageUrl?: string;
|
|
1548
1557
|
private?: boolean;
|
|
1549
1558
|
access?: Array<access>;
|
|
1559
|
+
sportLevels?: sportLevels;
|
|
1550
1560
|
};
|
|
1551
1561
|
|
|
1552
1562
|
type promoCode = {
|
|
@@ -1674,6 +1684,7 @@ type userPublicProfile = {
|
|
|
1674
1684
|
firstname?: string;
|
|
1675
1685
|
lastname?: string;
|
|
1676
1686
|
profileImageUrl?: string;
|
|
1687
|
+
sportLevels?: sportLevels;
|
|
1677
1688
|
};
|
|
1678
1689
|
|
|
1679
1690
|
declare class ActivityServiceV1Service {
|
|
@@ -1959,6 +1970,13 @@ declare class AuthorizedService {
|
|
|
1959
1970
|
* @throws ApiError
|
|
1960
1971
|
*/
|
|
1961
1972
|
static getBookingUsers(bookingId: number): CancelablePromise<bookingUsersResponse>;
|
|
1973
|
+
/**
|
|
1974
|
+
* Search for users
|
|
1975
|
+
* @param key The search query
|
|
1976
|
+
* @returns userPublicProfile List of public profiles found
|
|
1977
|
+
* @throws ApiError
|
|
1978
|
+
*/
|
|
1979
|
+
static searchUsers(key: string): CancelablePromise<Array<userPublicProfile>>;
|
|
1962
1980
|
/**
|
|
1963
1981
|
* List all chats for the current user
|
|
1964
1982
|
* @param userChatStatus If provided, only returns user chats which match this user chat status:
|
|
@@ -1993,6 +2011,18 @@ declare class AuthorizedService {
|
|
|
1993
2011
|
*/
|
|
1994
2012
|
facilityId: string;
|
|
1995
2013
|
}): CancelablePromise<createChatResponse>;
|
|
2014
|
+
/**
|
|
2015
|
+
* M2M request to create a new chat for a target
|
|
2016
|
+
* @param requestBody Create chat for a target request.
|
|
2017
|
+
* @returns any Successfully created chat.
|
|
2018
|
+
* @throws ApiError
|
|
2019
|
+
*/
|
|
2020
|
+
static adminCreateChat(requestBody: {
|
|
2021
|
+
target: chatTarget;
|
|
2022
|
+
targetId: string;
|
|
2023
|
+
}): CancelablePromise<{
|
|
2024
|
+
chatId: string;
|
|
2025
|
+
}>;
|
|
1996
2026
|
/**
|
|
1997
2027
|
* Get the chat of the specified target id
|
|
1998
2028
|
* @param target The type of the target
|
|
@@ -2306,11 +2336,10 @@ declare class AuthorizedService {
|
|
|
2306
2336
|
* @param endDateTime String end DateTime (UTC)
|
|
2307
2337
|
* @param sportIds String ID of the sport
|
|
2308
2338
|
* @param availableSpots Number of minimum available spots (0 for returning only full matches)
|
|
2309
|
-
* @param limit Maximum number of items to return.
|
|
2310
2339
|
* @returns playSessionResponse List of open play session available for the user
|
|
2311
2340
|
* @throws ApiError
|
|
2312
2341
|
*/
|
|
2313
|
-
static getUserPlaySessionsMarketplace(facilityIds: Array<string>, startDateTime: timeStamp, endDateTime: timeStamp, sportIds?: Array<string>, availableSpots?: number
|
|
2342
|
+
static getUserPlaySessionsMarketplace(facilityIds: Array<string>, startDateTime: timeStamp, endDateTime: timeStamp, sportIds?: Array<string>, availableSpots?: number): CancelablePromise<playSessionResponse>;
|
|
2314
2343
|
/**
|
|
2315
2344
|
* Add user to waitlist on occasion with id
|
|
2316
2345
|
* @param id Activity occasion id
|
|
@@ -2723,6 +2752,15 @@ declare class PlaySessionServiceV1Service {
|
|
|
2723
2752
|
* @throws ApiError
|
|
2724
2753
|
*/
|
|
2725
2754
|
static addUserWithId(sessionId: string, userId: string, requestBody: playsessionUserDetails): CancelablePromise<playSession>;
|
|
2755
|
+
/**
|
|
2756
|
+
* Update player in play session given user id
|
|
2757
|
+
* @param sessionId Play Session ID
|
|
2758
|
+
* @param userId The user ID of the play session participant to update
|
|
2759
|
+
* @param requestBody
|
|
2760
|
+
* @returns playSession User is updated in the playsession
|
|
2761
|
+
* @throws ApiError
|
|
2762
|
+
*/
|
|
2763
|
+
static updateUserWithId(sessionId: string, userId: string, requestBody: playsessionUserDetails): CancelablePromise<playSession>;
|
|
2726
2764
|
/**
|
|
2727
2765
|
* Remove player from play session given user email
|
|
2728
2766
|
* @param sessionId Play Session ID
|
|
@@ -2783,14 +2821,20 @@ declare class PlaySessionServiceV1Service {
|
|
|
2783
2821
|
* @param endDateTime String end DateTime (UTC)
|
|
2784
2822
|
* @param sportIds String ID of the sport
|
|
2785
2823
|
* @param availableSpots Number of minimum available spots (0 for returning only full matches)
|
|
2786
|
-
* @param limit Maximum number of items to return.
|
|
2787
2824
|
* @returns playSessionResponse List of open play session available for the user
|
|
2788
2825
|
* @throws ApiError
|
|
2789
2826
|
*/
|
|
2790
|
-
static getUserPlaySessionsMarketplace(facilityIds: Array<string>, startDateTime: timeStamp, endDateTime: timeStamp, sportIds?: Array<string>, availableSpots?: number
|
|
2827
|
+
static getUserPlaySessionsMarketplace(facilityIds: Array<string>, startDateTime: timeStamp, endDateTime: timeStamp, sportIds?: Array<string>, availableSpots?: number): CancelablePromise<playSessionResponse>;
|
|
2791
2828
|
}
|
|
2792
2829
|
|
|
2793
2830
|
declare class UserServiceV1Service {
|
|
2831
|
+
/**
|
|
2832
|
+
* Search for users
|
|
2833
|
+
* @param key The search query
|
|
2834
|
+
* @returns userPublicProfile List of public profiles found
|
|
2835
|
+
* @throws ApiError
|
|
2836
|
+
*/
|
|
2837
|
+
static searchUsers(key: string): CancelablePromise<Array<userPublicProfile>>;
|
|
2794
2838
|
/**
|
|
2795
2839
|
* Get public profile of requested user
|
|
2796
2840
|
* @param userId User ID
|
|
@@ -2832,6 +2876,18 @@ declare class UserServiceV1Service {
|
|
|
2832
2876
|
*/
|
|
2833
2877
|
facilityId: string;
|
|
2834
2878
|
}): CancelablePromise<createChatResponse>;
|
|
2879
|
+
/**
|
|
2880
|
+
* M2M request to create a new chat for a target
|
|
2881
|
+
* @param requestBody Create chat for a target request.
|
|
2882
|
+
* @returns any Successfully created chat.
|
|
2883
|
+
* @throws ApiError
|
|
2884
|
+
*/
|
|
2885
|
+
static adminCreateChat(requestBody: {
|
|
2886
|
+
target: chatTarget;
|
|
2887
|
+
targetId: string;
|
|
2888
|
+
}): CancelablePromise<{
|
|
2889
|
+
chatId: string;
|
|
2890
|
+
}>;
|
|
2835
2891
|
/**
|
|
2836
2892
|
* Get the chat of the specified target id
|
|
2837
2893
|
* @param target The type of the target
|
|
@@ -2980,37 +3036,36 @@ type FacilityOffer = {
|
|
|
2980
3036
|
data: FacilityPunchCardData | FacilityValueCardData;
|
|
2981
3037
|
type: 'FACILITY_PUNCH_CARD' | 'FACILITY_VALUE_CARD';
|
|
2982
3038
|
};
|
|
2983
|
-
type FacilityOfferCondition = (FacilityOfferConditionWeekdays | FacilityOfferConditionCourts | FacilityOfferConditionDate | FacilityOfferConditionTime | FacilityOfferConditionHoursinadvance | FacilityOfferConditionActivities
|
|
2984
|
-
type
|
|
3039
|
+
type FacilityOfferCondition = (FacilityOfferConditionWeekdays | FacilityOfferConditionCourts | FacilityOfferConditionDate | FacilityOfferConditionTime | FacilityOfferConditionHoursinadvance | FacilityOfferConditionActivities) & {
|
|
3040
|
+
type: 'WEEKDAYS' | 'COURTS' | 'DATE' | 'TIME' | 'HOURSINADVANCE' | 'ACTIVITIES';
|
|
2985
3041
|
};
|
|
2986
3042
|
type FacilityOfferConditionActivities = {
|
|
3043
|
+
activities: Array<{
|
|
3044
|
+
id: number;
|
|
3045
|
+
name: string;
|
|
3046
|
+
type: string | null;
|
|
3047
|
+
}>;
|
|
2987
3048
|
all_activities: boolean;
|
|
2988
3049
|
not_valid_for_activities: boolean;
|
|
2989
|
-
type: string;
|
|
2990
3050
|
};
|
|
2991
3051
|
type FacilityOfferConditionCourts = {
|
|
2992
|
-
|
|
2993
|
-
|
|
3052
|
+
courts: Array<{
|
|
3053
|
+
id: number;
|
|
3054
|
+
name: string;
|
|
3055
|
+
}>;
|
|
2994
3056
|
};
|
|
2995
3057
|
type FacilityOfferConditionDate = {
|
|
2996
3058
|
end_date: string;
|
|
2997
3059
|
start_date: string;
|
|
2998
|
-
type: string;
|
|
2999
3060
|
};
|
|
3000
3061
|
type FacilityOfferConditionHoursinadvance = {
|
|
3001
3062
|
nr_of_hours: number;
|
|
3002
|
-
type: string;
|
|
3003
|
-
};
|
|
3004
|
-
type FacilityOfferConditionNotImplemented = {
|
|
3005
|
-
type: string;
|
|
3006
3063
|
};
|
|
3007
3064
|
type FacilityOfferConditionTime = {
|
|
3008
3065
|
end_time: string;
|
|
3009
3066
|
start_time: string;
|
|
3010
|
-
type: string;
|
|
3011
3067
|
};
|
|
3012
3068
|
type FacilityOfferConditionWeekdays = {
|
|
3013
|
-
type: string;
|
|
3014
3069
|
weekdays: Array<number>;
|
|
3015
3070
|
};
|
|
3016
3071
|
type FacilityOfferList = {
|
|
@@ -3034,7 +3089,7 @@ type FacilityPunchCardData = {
|
|
|
3034
3089
|
members_only: boolean;
|
|
3035
3090
|
name: string;
|
|
3036
3091
|
nr_of_bookings_in_period: number | null;
|
|
3037
|
-
nr_of_days_valid: number;
|
|
3092
|
+
nr_of_days_valid: number | null;
|
|
3038
3093
|
nr_of_tickets: number;
|
|
3039
3094
|
offer_id: number;
|
|
3040
3095
|
price: string;
|
|
@@ -3043,13 +3098,14 @@ type FacilityPunchCardData = {
|
|
|
3043
3098
|
};
|
|
3044
3099
|
type FacilityValueCardData = {
|
|
3045
3100
|
amount: string;
|
|
3101
|
+
conditions: Array<FacilityOfferCondition>;
|
|
3046
3102
|
description: string | null;
|
|
3047
3103
|
expire_date: string;
|
|
3048
3104
|
facility_id: number;
|
|
3049
3105
|
facility_receive_membership_requests: boolean;
|
|
3050
3106
|
members_only: boolean;
|
|
3051
3107
|
name: string;
|
|
3052
|
-
nr_of_days_valid: number;
|
|
3108
|
+
nr_of_days_valid: number | null;
|
|
3053
3109
|
offer_id: number;
|
|
3054
3110
|
price: string;
|
|
3055
3111
|
user_has_active_membership: boolean;
|
|
@@ -3592,59 +3648,80 @@ declare const FacilityOfferConditionSchema: {
|
|
|
3592
3648
|
readonly $ref: "#/components/schemas/FacilityOfferConditionHoursinadvance";
|
|
3593
3649
|
}, {
|
|
3594
3650
|
readonly $ref: "#/components/schemas/FacilityOfferConditionActivities";
|
|
3595
|
-
}, {
|
|
3596
|
-
readonly $ref: "#/components/schemas/FacilityOfferConditionNotImplemented";
|
|
3597
3651
|
}];
|
|
3598
3652
|
readonly properties: {
|
|
3599
3653
|
readonly type: {
|
|
3600
|
-
readonly enum: readonly ["WEEKDAYS", "COURTS", "DATE", "TIME", "HOURSINADVANCE", "ACTIVITIES"
|
|
3654
|
+
readonly enum: readonly ["WEEKDAYS", "COURTS", "DATE", "TIME", "HOURSINADVANCE", "ACTIVITIES"];
|
|
3601
3655
|
readonly type: "string";
|
|
3602
3656
|
};
|
|
3603
3657
|
};
|
|
3658
|
+
readonly required: readonly ["type"];
|
|
3604
3659
|
readonly type: "object";
|
|
3605
3660
|
};
|
|
3606
3661
|
declare const FacilityOfferConditionActivitiesSchema: {
|
|
3607
3662
|
readonly properties: {
|
|
3663
|
+
readonly activities: {
|
|
3664
|
+
readonly items: {
|
|
3665
|
+
readonly properties: {
|
|
3666
|
+
readonly id: {
|
|
3667
|
+
readonly type: "integer";
|
|
3668
|
+
};
|
|
3669
|
+
readonly name: {
|
|
3670
|
+
readonly type: "string";
|
|
3671
|
+
};
|
|
3672
|
+
readonly type: {
|
|
3673
|
+
readonly nullable: true;
|
|
3674
|
+
readonly type: "string";
|
|
3675
|
+
};
|
|
3676
|
+
};
|
|
3677
|
+
readonly required: readonly ["id", "name", "type"];
|
|
3678
|
+
readonly type: "object";
|
|
3679
|
+
};
|
|
3680
|
+
readonly type: "array";
|
|
3681
|
+
};
|
|
3608
3682
|
readonly all_activities: {
|
|
3609
3683
|
readonly type: "boolean";
|
|
3610
3684
|
};
|
|
3611
3685
|
readonly not_valid_for_activities: {
|
|
3612
3686
|
readonly type: "boolean";
|
|
3613
3687
|
};
|
|
3614
|
-
readonly type: {
|
|
3615
|
-
readonly type: "string";
|
|
3616
|
-
};
|
|
3617
3688
|
};
|
|
3618
|
-
readonly required: readonly ["
|
|
3689
|
+
readonly required: readonly ["not_valid_for_activities", "all_activities", "activities"];
|
|
3619
3690
|
readonly type: "object";
|
|
3620
3691
|
};
|
|
3621
3692
|
declare const FacilityOfferConditionCourtsSchema: {
|
|
3622
3693
|
readonly properties: {
|
|
3623
|
-
readonly
|
|
3624
|
-
readonly
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3694
|
+
readonly courts: {
|
|
3695
|
+
readonly items: {
|
|
3696
|
+
readonly properties: {
|
|
3697
|
+
readonly id: {
|
|
3698
|
+
readonly type: "integer";
|
|
3699
|
+
};
|
|
3700
|
+
readonly name: {
|
|
3701
|
+
readonly type: "string";
|
|
3702
|
+
};
|
|
3703
|
+
};
|
|
3704
|
+
readonly required: readonly ["id", "name"];
|
|
3705
|
+
readonly type: "object";
|
|
3706
|
+
};
|
|
3707
|
+
readonly type: "array";
|
|
3628
3708
|
};
|
|
3629
3709
|
};
|
|
3630
|
-
readonly required: readonly ["
|
|
3710
|
+
readonly required: readonly ["courts"];
|
|
3631
3711
|
readonly type: "object";
|
|
3632
3712
|
};
|
|
3633
3713
|
declare const FacilityOfferConditionDateSchema: {
|
|
3634
3714
|
readonly properties: {
|
|
3635
3715
|
readonly end_date: {
|
|
3636
|
-
readonly format: "date
|
|
3716
|
+
readonly format: "date";
|
|
3637
3717
|
readonly type: "string";
|
|
3638
3718
|
};
|
|
3639
3719
|
readonly start_date: {
|
|
3640
|
-
readonly format: "date
|
|
3641
|
-
readonly type: "string";
|
|
3642
|
-
};
|
|
3643
|
-
readonly type: {
|
|
3720
|
+
readonly format: "date";
|
|
3644
3721
|
readonly type: "string";
|
|
3645
3722
|
};
|
|
3646
3723
|
};
|
|
3647
|
-
readonly required: readonly ["
|
|
3724
|
+
readonly required: readonly ["start_date", "end_date"];
|
|
3648
3725
|
readonly type: "object";
|
|
3649
3726
|
};
|
|
3650
3727
|
declare const FacilityOfferConditionHoursinadvanceSchema: {
|
|
@@ -3652,20 +3729,8 @@ declare const FacilityOfferConditionHoursinadvanceSchema: {
|
|
|
3652
3729
|
readonly nr_of_hours: {
|
|
3653
3730
|
readonly type: "integer";
|
|
3654
3731
|
};
|
|
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
3732
|
};
|
|
3668
|
-
readonly required: readonly ["
|
|
3733
|
+
readonly required: readonly ["nr_of_hours"];
|
|
3669
3734
|
readonly type: "object";
|
|
3670
3735
|
};
|
|
3671
3736
|
declare const FacilityOfferConditionTimeSchema: {
|
|
@@ -3678,18 +3743,12 @@ declare const FacilityOfferConditionTimeSchema: {
|
|
|
3678
3743
|
readonly format: "time";
|
|
3679
3744
|
readonly type: "string";
|
|
3680
3745
|
};
|
|
3681
|
-
readonly type: {
|
|
3682
|
-
readonly type: "string";
|
|
3683
|
-
};
|
|
3684
3746
|
};
|
|
3685
|
-
readonly required: readonly ["
|
|
3747
|
+
readonly required: readonly ["start_time", "end_time"];
|
|
3686
3748
|
readonly type: "object";
|
|
3687
3749
|
};
|
|
3688
3750
|
declare const FacilityOfferConditionWeekdaysSchema: {
|
|
3689
3751
|
readonly properties: {
|
|
3690
|
-
readonly type: {
|
|
3691
|
-
readonly type: "string";
|
|
3692
|
-
};
|
|
3693
3752
|
readonly weekdays: {
|
|
3694
3753
|
readonly items: {
|
|
3695
3754
|
readonly description: "Interger representation of weekday. 1 (Monday), 7 (Sunday).";
|
|
@@ -3698,7 +3757,7 @@ declare const FacilityOfferConditionWeekdaysSchema: {
|
|
|
3698
3757
|
readonly type: "array";
|
|
3699
3758
|
};
|
|
3700
3759
|
};
|
|
3701
|
-
readonly required: readonly ["
|
|
3760
|
+
readonly required: readonly ["weekdays"];
|
|
3702
3761
|
readonly type: "object";
|
|
3703
3762
|
};
|
|
3704
3763
|
declare const FacilityOfferListSchema: {
|
|
@@ -3767,6 +3826,7 @@ declare const FacilityPunchCardDataSchema: {
|
|
|
3767
3826
|
readonly type: "integer";
|
|
3768
3827
|
};
|
|
3769
3828
|
readonly nr_of_days_valid: {
|
|
3829
|
+
readonly nullable: true;
|
|
3770
3830
|
readonly type: "integer";
|
|
3771
3831
|
};
|
|
3772
3832
|
readonly nr_of_tickets: {
|
|
@@ -3793,6 +3853,12 @@ declare const FacilityValueCardDataSchema: {
|
|
|
3793
3853
|
readonly amount: {
|
|
3794
3854
|
readonly type: "string";
|
|
3795
3855
|
};
|
|
3856
|
+
readonly conditions: {
|
|
3857
|
+
readonly items: {
|
|
3858
|
+
readonly $ref: "#/components/schemas/FacilityOfferCondition";
|
|
3859
|
+
};
|
|
3860
|
+
readonly type: "array";
|
|
3861
|
+
};
|
|
3796
3862
|
readonly description: {
|
|
3797
3863
|
readonly nullable: true;
|
|
3798
3864
|
readonly type: "string";
|
|
@@ -3814,6 +3880,7 @@ declare const FacilityValueCardDataSchema: {
|
|
|
3814
3880
|
readonly type: "string";
|
|
3815
3881
|
};
|
|
3816
3882
|
readonly nr_of_days_valid: {
|
|
3883
|
+
readonly nullable: true;
|
|
3817
3884
|
readonly type: "integer";
|
|
3818
3885
|
};
|
|
3819
3886
|
readonly offer_id: {
|
|
@@ -3826,7 +3893,7 @@ declare const FacilityValueCardDataSchema: {
|
|
|
3826
3893
|
readonly type: "boolean";
|
|
3827
3894
|
};
|
|
3828
3895
|
};
|
|
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"];
|
|
3896
|
+
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
3897
|
readonly type: "object";
|
|
3831
3898
|
};
|
|
3832
3899
|
declare const GuestSchema: {
|
|
@@ -3988,7 +4055,6 @@ declare const schemas_gen_FacilityOfferConditionActivitiesSchema: typeof Facilit
|
|
|
3988
4055
|
declare const schemas_gen_FacilityOfferConditionCourtsSchema: typeof FacilityOfferConditionCourtsSchema;
|
|
3989
4056
|
declare const schemas_gen_FacilityOfferConditionDateSchema: typeof FacilityOfferConditionDateSchema;
|
|
3990
4057
|
declare const schemas_gen_FacilityOfferConditionHoursinadvanceSchema: typeof FacilityOfferConditionHoursinadvanceSchema;
|
|
3991
|
-
declare const schemas_gen_FacilityOfferConditionNotImplementedSchema: typeof FacilityOfferConditionNotImplementedSchema;
|
|
3992
4058
|
declare const schemas_gen_FacilityOfferConditionSchema: typeof FacilityOfferConditionSchema;
|
|
3993
4059
|
declare const schemas_gen_FacilityOfferConditionTimeSchema: typeof FacilityOfferConditionTimeSchema;
|
|
3994
4060
|
declare const schemas_gen_FacilityOfferConditionWeekdaysSchema: typeof FacilityOfferConditionWeekdaysSchema;
|
|
@@ -4006,7 +4072,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
|
|
|
4006
4072
|
declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
|
|
4007
4073
|
declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
|
|
4008
4074
|
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,
|
|
4075
|
+
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
4076
|
}
|
|
4011
4077
|
|
|
4012
4078
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -4291,7 +4357,6 @@ type indexV1_FacilityOfferConditionActivities = FacilityOfferConditionActivities
|
|
|
4291
4357
|
type indexV1_FacilityOfferConditionCourts = FacilityOfferConditionCourts;
|
|
4292
4358
|
type indexV1_FacilityOfferConditionDate = FacilityOfferConditionDate;
|
|
4293
4359
|
type indexV1_FacilityOfferConditionHoursinadvance = FacilityOfferConditionHoursinadvance;
|
|
4294
|
-
type indexV1_FacilityOfferConditionNotImplemented = FacilityOfferConditionNotImplemented;
|
|
4295
4360
|
type indexV1_FacilityOfferConditionTime = FacilityOfferConditionTime;
|
|
4296
4361
|
type indexV1_FacilityOfferConditionWeekdays = FacilityOfferConditionWeekdays;
|
|
4297
4362
|
type indexV1_FacilityOfferList = FacilityOfferList;
|
|
@@ -4341,7 +4406,7 @@ declare const indexV1_findBookings: typeof findBookings;
|
|
|
4341
4406
|
declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
|
|
4342
4407
|
declare const indexV1_updateBooking: typeof updateBooking;
|
|
4343
4408
|
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
|
|
4409
|
+
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
4410
|
}
|
|
4346
4411
|
|
|
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 };
|
|
4412
|
+
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 };
|