@tennac-booking/sdk 1.0.244 → 1.0.246
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/.openapi-generator/FILES +9 -0
- package/README.md +12 -0
- package/api.ts +781 -2
- package/dist/api.d.ts +593 -2
- package/dist/api.js +319 -5
- package/dist/esm/api.d.ts +593 -2
- package/dist/esm/api.js +310 -0
- package/docs/CancelIncompleteBody.md +22 -0
- package/docs/CancelIncompleteResponse.md +24 -0
- package/docs/EventBookingDetailClubInfo.md +26 -0
- package/docs/EventBookingDetailEventSummary.md +56 -0
- package/docs/EventBookingDetailResponse.md +28 -0
- package/docs/EventBookingDetailResponseBooking.md +38 -0
- package/docs/MobilePaymentSheetBody.md +24 -0
- package/docs/MyClubCustomerSettingsResponse.md +32 -0
- package/docs/SubscriptionPaymentSheetResponse.md +4 -1
- package/docs/SubscriptionsMobileApi.md +117 -0
- package/docs/UserApi.md +54 -0
- package/docs/UsersApi.md +51 -0
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1522,6 +1522,50 @@ export interface CancelBookingResponse {
|
|
|
1522
1522
|
*/
|
|
1523
1523
|
'booking': BookingInfo;
|
|
1524
1524
|
}
|
|
1525
|
+
/**
|
|
1526
|
+
*
|
|
1527
|
+
* @export
|
|
1528
|
+
* @interface CancelIncompleteBody
|
|
1529
|
+
*/
|
|
1530
|
+
export interface CancelIncompleteBody {
|
|
1531
|
+
/**
|
|
1532
|
+
*
|
|
1533
|
+
* @type {string}
|
|
1534
|
+
* @memberof CancelIncompleteBody
|
|
1535
|
+
*/
|
|
1536
|
+
'subscriptionId': string;
|
|
1537
|
+
/**
|
|
1538
|
+
*
|
|
1539
|
+
* @type {string}
|
|
1540
|
+
* @memberof CancelIncompleteBody
|
|
1541
|
+
*/
|
|
1542
|
+
'clubId': string;
|
|
1543
|
+
}
|
|
1544
|
+
/**
|
|
1545
|
+
*
|
|
1546
|
+
* @export
|
|
1547
|
+
* @interface CancelIncompleteResponse
|
|
1548
|
+
*/
|
|
1549
|
+
export interface CancelIncompleteResponse {
|
|
1550
|
+
/**
|
|
1551
|
+
*
|
|
1552
|
+
* @type {string}
|
|
1553
|
+
* @memberof CancelIncompleteResponse
|
|
1554
|
+
*/
|
|
1555
|
+
'subscriptionId'?: string;
|
|
1556
|
+
/**
|
|
1557
|
+
*
|
|
1558
|
+
* @type {string}
|
|
1559
|
+
* @memberof CancelIncompleteResponse
|
|
1560
|
+
*/
|
|
1561
|
+
'status'?: string;
|
|
1562
|
+
/**
|
|
1563
|
+
*
|
|
1564
|
+
* @type {boolean}
|
|
1565
|
+
* @memberof CancelIncompleteResponse
|
|
1566
|
+
*/
|
|
1567
|
+
'canceled': boolean;
|
|
1568
|
+
}
|
|
1525
1569
|
/**
|
|
1526
1570
|
*
|
|
1527
1571
|
* @export
|
|
@@ -5787,6 +5831,279 @@ export interface EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo {
|
|
|
5787
5831
|
*/
|
|
5788
5832
|
'hasSubscription': boolean;
|
|
5789
5833
|
}
|
|
5834
|
+
/**
|
|
5835
|
+
*
|
|
5836
|
+
* @export
|
|
5837
|
+
* @interface EventBookingDetailClubInfo
|
|
5838
|
+
*/
|
|
5839
|
+
export interface EventBookingDetailClubInfo {
|
|
5840
|
+
/**
|
|
5841
|
+
*
|
|
5842
|
+
* @type {string}
|
|
5843
|
+
* @memberof EventBookingDetailClubInfo
|
|
5844
|
+
*/
|
|
5845
|
+
'id': string;
|
|
5846
|
+
/**
|
|
5847
|
+
*
|
|
5848
|
+
* @type {string}
|
|
5849
|
+
* @memberof EventBookingDetailClubInfo
|
|
5850
|
+
*/
|
|
5851
|
+
'name'?: string | null;
|
|
5852
|
+
/**
|
|
5853
|
+
*
|
|
5854
|
+
* @type {string}
|
|
5855
|
+
* @memberof EventBookingDetailClubInfo
|
|
5856
|
+
*/
|
|
5857
|
+
'picture'?: string | null;
|
|
5858
|
+
/**
|
|
5859
|
+
*
|
|
5860
|
+
* @type {string}
|
|
5861
|
+
* @memberof EventBookingDetailClubInfo
|
|
5862
|
+
*/
|
|
5863
|
+
'address'?: string | null;
|
|
5864
|
+
}
|
|
5865
|
+
/**
|
|
5866
|
+
*
|
|
5867
|
+
* @export
|
|
5868
|
+
* @interface EventBookingDetailEventSummary
|
|
5869
|
+
*/
|
|
5870
|
+
export interface EventBookingDetailEventSummary {
|
|
5871
|
+
/**
|
|
5872
|
+
*
|
|
5873
|
+
* @type {string}
|
|
5874
|
+
* @memberof EventBookingDetailEventSummary
|
|
5875
|
+
*/
|
|
5876
|
+
'id': string;
|
|
5877
|
+
/**
|
|
5878
|
+
*
|
|
5879
|
+
* @type {string}
|
|
5880
|
+
* @memberof EventBookingDetailEventSummary
|
|
5881
|
+
*/
|
|
5882
|
+
'clubId': string;
|
|
5883
|
+
/**
|
|
5884
|
+
*
|
|
5885
|
+
* @type {string}
|
|
5886
|
+
* @memberof EventBookingDetailEventSummary
|
|
5887
|
+
*/
|
|
5888
|
+
'type': EventBookingDetailEventSummaryTypeEnum;
|
|
5889
|
+
/**
|
|
5890
|
+
*
|
|
5891
|
+
* @type {string}
|
|
5892
|
+
* @memberof EventBookingDetailEventSummary
|
|
5893
|
+
*/
|
|
5894
|
+
'title': string;
|
|
5895
|
+
/**
|
|
5896
|
+
*
|
|
5897
|
+
* @type {string}
|
|
5898
|
+
* @memberof EventBookingDetailEventSummary
|
|
5899
|
+
*/
|
|
5900
|
+
'category'?: string;
|
|
5901
|
+
/**
|
|
5902
|
+
*
|
|
5903
|
+
* @type {string}
|
|
5904
|
+
* @memberof EventBookingDetailEventSummary
|
|
5905
|
+
*/
|
|
5906
|
+
'description'?: string;
|
|
5907
|
+
/**
|
|
5908
|
+
*
|
|
5909
|
+
* @type {string}
|
|
5910
|
+
* @memberof EventBookingDetailEventSummary
|
|
5911
|
+
*/
|
|
5912
|
+
'photoUrl'?: string;
|
|
5913
|
+
/**
|
|
5914
|
+
*
|
|
5915
|
+
* @type {boolean}
|
|
5916
|
+
* @memberof EventBookingDetailEventSummary
|
|
5917
|
+
*/
|
|
5918
|
+
'isAllDay': boolean;
|
|
5919
|
+
/**
|
|
5920
|
+
*
|
|
5921
|
+
* @type {string}
|
|
5922
|
+
* @memberof EventBookingDetailEventSummary
|
|
5923
|
+
*/
|
|
5924
|
+
'date': string;
|
|
5925
|
+
/**
|
|
5926
|
+
*
|
|
5927
|
+
* @type {number}
|
|
5928
|
+
* @memberof EventBookingDetailEventSummary
|
|
5929
|
+
*/
|
|
5930
|
+
'startTime'?: number;
|
|
5931
|
+
/**
|
|
5932
|
+
*
|
|
5933
|
+
* @type {number}
|
|
5934
|
+
* @memberof EventBookingDetailEventSummary
|
|
5935
|
+
*/
|
|
5936
|
+
'endTime'?: number;
|
|
5937
|
+
/**
|
|
5938
|
+
*
|
|
5939
|
+
* @type {Array<string>}
|
|
5940
|
+
* @memberof EventBookingDetailEventSummary
|
|
5941
|
+
*/
|
|
5942
|
+
'courts': Array<string>;
|
|
5943
|
+
/**
|
|
5944
|
+
*
|
|
5945
|
+
* @type {Array<SportWithLevels>}
|
|
5946
|
+
* @memberof EventBookingDetailEventSummary
|
|
5947
|
+
*/
|
|
5948
|
+
'sports': Array<SportWithLevels>;
|
|
5949
|
+
/**
|
|
5950
|
+
*
|
|
5951
|
+
* @type {string}
|
|
5952
|
+
* @memberof EventBookingDetailEventSummary
|
|
5953
|
+
*/
|
|
5954
|
+
'recurringType': EventBookingDetailEventSummaryRecurringTypeEnum;
|
|
5955
|
+
/**
|
|
5956
|
+
*
|
|
5957
|
+
* @type {string}
|
|
5958
|
+
* @memberof EventBookingDetailEventSummary
|
|
5959
|
+
*/
|
|
5960
|
+
'recurrenceEndDate'?: string;
|
|
5961
|
+
/**
|
|
5962
|
+
*
|
|
5963
|
+
* @type {string}
|
|
5964
|
+
* @memberof EventBookingDetailEventSummary
|
|
5965
|
+
*/
|
|
5966
|
+
'participationType': EventBookingDetailEventSummaryParticipationTypeEnum;
|
|
5967
|
+
/**
|
|
5968
|
+
*
|
|
5969
|
+
* @type {number}
|
|
5970
|
+
* @memberof EventBookingDetailEventSummary
|
|
5971
|
+
*/
|
|
5972
|
+
'playersPerTeam'?: number;
|
|
5973
|
+
/**
|
|
5974
|
+
*
|
|
5975
|
+
* @type {Array<string | null>}
|
|
5976
|
+
* @memberof EventBookingDetailEventSummary
|
|
5977
|
+
*/
|
|
5978
|
+
'levels'?: Array<string | null>;
|
|
5979
|
+
/**
|
|
5980
|
+
*
|
|
5981
|
+
* @type {Array<EventSponsor>}
|
|
5982
|
+
* @memberof EventBookingDetailEventSummary
|
|
5983
|
+
*/
|
|
5984
|
+
'sponsors'?: Array<EventSponsor>;
|
|
5985
|
+
}
|
|
5986
|
+
export declare const EventBookingDetailEventSummaryTypeEnum: {
|
|
5987
|
+
readonly Event: "event";
|
|
5988
|
+
readonly Closure: "closure";
|
|
5989
|
+
};
|
|
5990
|
+
export type EventBookingDetailEventSummaryTypeEnum = typeof EventBookingDetailEventSummaryTypeEnum[keyof typeof EventBookingDetailEventSummaryTypeEnum];
|
|
5991
|
+
export declare const EventBookingDetailEventSummaryRecurringTypeEnum: {
|
|
5992
|
+
readonly Unique: "unique";
|
|
5993
|
+
readonly Daily: "daily";
|
|
5994
|
+
readonly Weekly: "weekly";
|
|
5995
|
+
readonly Monthly: "monthly";
|
|
5996
|
+
};
|
|
5997
|
+
export type EventBookingDetailEventSummaryRecurringTypeEnum = typeof EventBookingDetailEventSummaryRecurringTypeEnum[keyof typeof EventBookingDetailEventSummaryRecurringTypeEnum];
|
|
5998
|
+
export declare const EventBookingDetailEventSummaryParticipationTypeEnum: {
|
|
5999
|
+
readonly Solo: "solo";
|
|
6000
|
+
readonly Team: "team";
|
|
6001
|
+
};
|
|
6002
|
+
export type EventBookingDetailEventSummaryParticipationTypeEnum = typeof EventBookingDetailEventSummaryParticipationTypeEnum[keyof typeof EventBookingDetailEventSummaryParticipationTypeEnum];
|
|
6003
|
+
/**
|
|
6004
|
+
*
|
|
6005
|
+
* @export
|
|
6006
|
+
* @interface EventBookingDetailResponse
|
|
6007
|
+
*/
|
|
6008
|
+
export interface EventBookingDetailResponse {
|
|
6009
|
+
/**
|
|
6010
|
+
*
|
|
6011
|
+
* @type {EventBookingDetailClubInfo}
|
|
6012
|
+
* @memberof EventBookingDetailResponse
|
|
6013
|
+
*/
|
|
6014
|
+
'club': EventBookingDetailClubInfo;
|
|
6015
|
+
/**
|
|
6016
|
+
*
|
|
6017
|
+
* @type {EventBookingDetailEventSummary}
|
|
6018
|
+
* @memberof EventBookingDetailResponse
|
|
6019
|
+
*/
|
|
6020
|
+
'event': EventBookingDetailEventSummary;
|
|
6021
|
+
/**
|
|
6022
|
+
*
|
|
6023
|
+
* @type {EventBookingDetailResponseBooking}
|
|
6024
|
+
* @memberof EventBookingDetailResponse
|
|
6025
|
+
*/
|
|
6026
|
+
'booking': EventBookingDetailResponseBooking;
|
|
6027
|
+
/**
|
|
6028
|
+
*
|
|
6029
|
+
* @type {Array<BookingPlayerPaymentSummary>}
|
|
6030
|
+
* @memberof EventBookingDetailResponse
|
|
6031
|
+
*/
|
|
6032
|
+
'players': Array<BookingPlayerPaymentSummary>;
|
|
6033
|
+
/**
|
|
6034
|
+
*
|
|
6035
|
+
* @type {Array<BookingHistoryPopulated>}
|
|
6036
|
+
* @memberof EventBookingDetailResponse
|
|
6037
|
+
*/
|
|
6038
|
+
'history': Array<BookingHistoryPopulated>;
|
|
6039
|
+
}
|
|
6040
|
+
/**
|
|
6041
|
+
*
|
|
6042
|
+
* @export
|
|
6043
|
+
* @interface EventBookingDetailResponseBooking
|
|
6044
|
+
*/
|
|
6045
|
+
export interface EventBookingDetailResponseBooking {
|
|
6046
|
+
/**
|
|
6047
|
+
*
|
|
6048
|
+
* @type {number}
|
|
6049
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6050
|
+
*/
|
|
6051
|
+
'participantsCount': number;
|
|
6052
|
+
/**
|
|
6053
|
+
*
|
|
6054
|
+
* @type {string}
|
|
6055
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6056
|
+
*/
|
|
6057
|
+
'updatedAt': string;
|
|
6058
|
+
/**
|
|
6059
|
+
*
|
|
6060
|
+
* @type {string}
|
|
6061
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6062
|
+
*/
|
|
6063
|
+
'createdAt': string;
|
|
6064
|
+
/**
|
|
6065
|
+
*
|
|
6066
|
+
* @type {string}
|
|
6067
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6068
|
+
*/
|
|
6069
|
+
'limitCancellationDate'?: string | null;
|
|
6070
|
+
/**
|
|
6071
|
+
*
|
|
6072
|
+
* @type {string}
|
|
6073
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6074
|
+
*/
|
|
6075
|
+
'limitSetupDate'?: string | null;
|
|
6076
|
+
/**
|
|
6077
|
+
*
|
|
6078
|
+
* @type {boolean}
|
|
6079
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6080
|
+
*/
|
|
6081
|
+
'paymentMethodSetupCompleted': boolean;
|
|
6082
|
+
/**
|
|
6083
|
+
*
|
|
6084
|
+
* @type {boolean}
|
|
6085
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6086
|
+
*/
|
|
6087
|
+
'isCreatorPayingAll': boolean;
|
|
6088
|
+
/**
|
|
6089
|
+
*
|
|
6090
|
+
* @type {string}
|
|
6091
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6092
|
+
*/
|
|
6093
|
+
'teamName'?: string | null;
|
|
6094
|
+
/**
|
|
6095
|
+
*
|
|
6096
|
+
* @type {EventBookingStatus}
|
|
6097
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6098
|
+
*/
|
|
6099
|
+
'status': EventBookingStatus;
|
|
6100
|
+
/**
|
|
6101
|
+
*
|
|
6102
|
+
* @type {string}
|
|
6103
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6104
|
+
*/
|
|
6105
|
+
'id': string;
|
|
6106
|
+
}
|
|
5790
6107
|
/**
|
|
5791
6108
|
*
|
|
5792
6109
|
* @export
|
|
@@ -8759,6 +9076,31 @@ export interface MigrateUserRequest {
|
|
|
8759
9076
|
*/
|
|
8760
9077
|
'firstName': string;
|
|
8761
9078
|
}
|
|
9079
|
+
/**
|
|
9080
|
+
*
|
|
9081
|
+
* @export
|
|
9082
|
+
* @interface MobilePaymentSheetBody
|
|
9083
|
+
*/
|
|
9084
|
+
export interface MobilePaymentSheetBody {
|
|
9085
|
+
/**
|
|
9086
|
+
*
|
|
9087
|
+
* @type {boolean}
|
|
9088
|
+
* @memberof MobilePaymentSheetBody
|
|
9089
|
+
*/
|
|
9090
|
+
'useEphemeralKey'?: boolean;
|
|
9091
|
+
/**
|
|
9092
|
+
*
|
|
9093
|
+
* @type {string}
|
|
9094
|
+
* @memberof MobilePaymentSheetBody
|
|
9095
|
+
*/
|
|
9096
|
+
'priceId': string;
|
|
9097
|
+
/**
|
|
9098
|
+
*
|
|
9099
|
+
* @type {string}
|
|
9100
|
+
* @memberof MobilePaymentSheetBody
|
|
9101
|
+
*/
|
|
9102
|
+
'clubId': string;
|
|
9103
|
+
}
|
|
8762
9104
|
/**
|
|
8763
9105
|
*
|
|
8764
9106
|
* @export
|
|
@@ -8845,6 +9187,55 @@ export interface MonthlyTurnoverResponse {
|
|
|
8845
9187
|
*/
|
|
8846
9188
|
'period': string;
|
|
8847
9189
|
}
|
|
9190
|
+
/**
|
|
9191
|
+
*
|
|
9192
|
+
* @export
|
|
9193
|
+
* @interface MyClubCustomerSettingsResponse
|
|
9194
|
+
*/
|
|
9195
|
+
export interface MyClubCustomerSettingsResponse {
|
|
9196
|
+
/**
|
|
9197
|
+
*
|
|
9198
|
+
* @type {number}
|
|
9199
|
+
* @memberof MyClubCustomerSettingsResponse
|
|
9200
|
+
*/
|
|
9201
|
+
'maxSlotsPerBooking': number | null;
|
|
9202
|
+
/**
|
|
9203
|
+
*
|
|
9204
|
+
* @type {number}
|
|
9205
|
+
* @memberof MyClubCustomerSettingsResponse
|
|
9206
|
+
*/
|
|
9207
|
+
'maxWeeklyBookings': number | null;
|
|
9208
|
+
/**
|
|
9209
|
+
*
|
|
9210
|
+
* @type {number}
|
|
9211
|
+
* @memberof MyClubCustomerSettingsResponse
|
|
9212
|
+
*/
|
|
9213
|
+
'cancellationLimitHours': number | null;
|
|
9214
|
+
/**
|
|
9215
|
+
*
|
|
9216
|
+
* @type {boolean}
|
|
9217
|
+
* @memberof MyClubCustomerSettingsResponse
|
|
9218
|
+
*/
|
|
9219
|
+
'isBanned': boolean;
|
|
9220
|
+
/**
|
|
9221
|
+
*
|
|
9222
|
+
* @type {boolean}
|
|
9223
|
+
* @memberof MyClubCustomerSettingsResponse
|
|
9224
|
+
*/
|
|
9225
|
+
'isFree': boolean;
|
|
9226
|
+
/**
|
|
9227
|
+
*
|
|
9228
|
+
* @type {boolean}
|
|
9229
|
+
* @memberof MyClubCustomerSettingsResponse
|
|
9230
|
+
*/
|
|
9231
|
+
'isIllimited': boolean;
|
|
9232
|
+
/**
|
|
9233
|
+
*
|
|
9234
|
+
* @type {boolean}
|
|
9235
|
+
* @memberof MyClubCustomerSettingsResponse
|
|
9236
|
+
*/
|
|
9237
|
+
'isNoShowForced': boolean;
|
|
9238
|
+
}
|
|
8848
9239
|
/**
|
|
8849
9240
|
*
|
|
8850
9241
|
* @export
|
|
@@ -13149,7 +13540,7 @@ export interface SubscriptionPaymentSheetRequest {
|
|
|
13149
13540
|
'clubId': string;
|
|
13150
13541
|
}
|
|
13151
13542
|
/**
|
|
13152
|
-
*
|
|
13543
|
+
* Réponse utilisée pour préparer la PaymentSheet mobile. Si `paymentIntentClientSecret` est undefined et amount est 0, la subscription est déjà active/gratuite.
|
|
13153
13544
|
* @export
|
|
13154
13545
|
* @interface SubscriptionPaymentSheetResponse
|
|
13155
13546
|
*/
|
|
@@ -13195,7 +13586,13 @@ export interface SubscriptionPaymentSheetResponse {
|
|
|
13195
13586
|
* @type {string}
|
|
13196
13587
|
* @memberof SubscriptionPaymentSheetResponse
|
|
13197
13588
|
*/
|
|
13198
|
-
'
|
|
13589
|
+
'setupIntentClientSecret'?: string;
|
|
13590
|
+
/**
|
|
13591
|
+
*
|
|
13592
|
+
* @type {string}
|
|
13593
|
+
* @memberof SubscriptionPaymentSheetResponse
|
|
13594
|
+
*/
|
|
13595
|
+
'paymentIntentClientSecret'?: string;
|
|
13199
13596
|
}
|
|
13200
13597
|
/**
|
|
13201
13598
|
*
|
|
@@ -24981,6 +25378,116 @@ export declare class SubscriptionsManagerApi extends BaseAPI {
|
|
|
24981
25378
|
*/
|
|
24982
25379
|
updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
24983
25380
|
}
|
|
25381
|
+
/**
|
|
25382
|
+
* SubscriptionsMobileApi - axios parameter creator
|
|
25383
|
+
* @export
|
|
25384
|
+
*/
|
|
25385
|
+
export declare const SubscriptionsMobileApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25386
|
+
/**
|
|
25387
|
+
* Annule immédiatement une subscription restée en statut \"incomplete\" (après fermeture PaymentSheet).
|
|
25388
|
+
* @param {CancelIncompleteBody} cancelIncompleteBody
|
|
25389
|
+
* @param {*} [options] Override http request option.
|
|
25390
|
+
* @throws {RequiredError}
|
|
25391
|
+
*/
|
|
25392
|
+
cancelIncomplete: (cancelIncompleteBody: CancelIncompleteBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25393
|
+
/**
|
|
25394
|
+
* Prépare une PaymentSheet pour l\'app mobile (compte connecté du club). Renvoie soit un PaymentIntent client secret, soit un SetupIntent si Stripe n\'a pas généré de PI.
|
|
25395
|
+
* @param {MobilePaymentSheetBody} mobilePaymentSheetBody
|
|
25396
|
+
* @param {*} [options] Override http request option.
|
|
25397
|
+
* @throws {RequiredError}
|
|
25398
|
+
*/
|
|
25399
|
+
mobilePaymentSheet: (mobilePaymentSheetBody: MobilePaymentSheetBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25400
|
+
};
|
|
25401
|
+
/**
|
|
25402
|
+
* SubscriptionsMobileApi - functional programming interface
|
|
25403
|
+
* @export
|
|
25404
|
+
*/
|
|
25405
|
+
export declare const SubscriptionsMobileApiFp: (configuration?: Configuration) => {
|
|
25406
|
+
/**
|
|
25407
|
+
* Annule immédiatement une subscription restée en statut \"incomplete\" (après fermeture PaymentSheet).
|
|
25408
|
+
* @param {CancelIncompleteBody} cancelIncompleteBody
|
|
25409
|
+
* @param {*} [options] Override http request option.
|
|
25410
|
+
* @throws {RequiredError}
|
|
25411
|
+
*/
|
|
25412
|
+
cancelIncomplete(cancelIncompleteBody: CancelIncompleteBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelIncompleteResponse>>;
|
|
25413
|
+
/**
|
|
25414
|
+
* Prépare une PaymentSheet pour l\'app mobile (compte connecté du club). Renvoie soit un PaymentIntent client secret, soit un SetupIntent si Stripe n\'a pas généré de PI.
|
|
25415
|
+
* @param {MobilePaymentSheetBody} mobilePaymentSheetBody
|
|
25416
|
+
* @param {*} [options] Override http request option.
|
|
25417
|
+
* @throws {RequiredError}
|
|
25418
|
+
*/
|
|
25419
|
+
mobilePaymentSheet(mobilePaymentSheetBody: MobilePaymentSheetBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionPaymentSheetResponse>>;
|
|
25420
|
+
};
|
|
25421
|
+
/**
|
|
25422
|
+
* SubscriptionsMobileApi - factory interface
|
|
25423
|
+
* @export
|
|
25424
|
+
*/
|
|
25425
|
+
export declare const SubscriptionsMobileApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25426
|
+
/**
|
|
25427
|
+
* Annule immédiatement une subscription restée en statut \"incomplete\" (après fermeture PaymentSheet).
|
|
25428
|
+
* @param {SubscriptionsMobileApiCancelIncompleteRequest} requestParameters Request parameters.
|
|
25429
|
+
* @param {*} [options] Override http request option.
|
|
25430
|
+
* @throws {RequiredError}
|
|
25431
|
+
*/
|
|
25432
|
+
cancelIncomplete(requestParameters: SubscriptionsMobileApiCancelIncompleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelIncompleteResponse>;
|
|
25433
|
+
/**
|
|
25434
|
+
* Prépare une PaymentSheet pour l\'app mobile (compte connecté du club). Renvoie soit un PaymentIntent client secret, soit un SetupIntent si Stripe n\'a pas généré de PI.
|
|
25435
|
+
* @param {SubscriptionsMobileApiMobilePaymentSheetRequest} requestParameters Request parameters.
|
|
25436
|
+
* @param {*} [options] Override http request option.
|
|
25437
|
+
* @throws {RequiredError}
|
|
25438
|
+
*/
|
|
25439
|
+
mobilePaymentSheet(requestParameters: SubscriptionsMobileApiMobilePaymentSheetRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubscriptionPaymentSheetResponse>;
|
|
25440
|
+
};
|
|
25441
|
+
/**
|
|
25442
|
+
* Request parameters for cancelIncomplete operation in SubscriptionsMobileApi.
|
|
25443
|
+
* @export
|
|
25444
|
+
* @interface SubscriptionsMobileApiCancelIncompleteRequest
|
|
25445
|
+
*/
|
|
25446
|
+
export interface SubscriptionsMobileApiCancelIncompleteRequest {
|
|
25447
|
+
/**
|
|
25448
|
+
*
|
|
25449
|
+
* @type {CancelIncompleteBody}
|
|
25450
|
+
* @memberof SubscriptionsMobileApiCancelIncomplete
|
|
25451
|
+
*/
|
|
25452
|
+
readonly cancelIncompleteBody: CancelIncompleteBody;
|
|
25453
|
+
}
|
|
25454
|
+
/**
|
|
25455
|
+
* Request parameters for mobilePaymentSheet operation in SubscriptionsMobileApi.
|
|
25456
|
+
* @export
|
|
25457
|
+
* @interface SubscriptionsMobileApiMobilePaymentSheetRequest
|
|
25458
|
+
*/
|
|
25459
|
+
export interface SubscriptionsMobileApiMobilePaymentSheetRequest {
|
|
25460
|
+
/**
|
|
25461
|
+
*
|
|
25462
|
+
* @type {MobilePaymentSheetBody}
|
|
25463
|
+
* @memberof SubscriptionsMobileApiMobilePaymentSheet
|
|
25464
|
+
*/
|
|
25465
|
+
readonly mobilePaymentSheetBody: MobilePaymentSheetBody;
|
|
25466
|
+
}
|
|
25467
|
+
/**
|
|
25468
|
+
* SubscriptionsMobileApi - object-oriented interface
|
|
25469
|
+
* @export
|
|
25470
|
+
* @class SubscriptionsMobileApi
|
|
25471
|
+
* @extends {BaseAPI}
|
|
25472
|
+
*/
|
|
25473
|
+
export declare class SubscriptionsMobileApi extends BaseAPI {
|
|
25474
|
+
/**
|
|
25475
|
+
* Annule immédiatement une subscription restée en statut \"incomplete\" (après fermeture PaymentSheet).
|
|
25476
|
+
* @param {SubscriptionsMobileApiCancelIncompleteRequest} requestParameters Request parameters.
|
|
25477
|
+
* @param {*} [options] Override http request option.
|
|
25478
|
+
* @throws {RequiredError}
|
|
25479
|
+
* @memberof SubscriptionsMobileApi
|
|
25480
|
+
*/
|
|
25481
|
+
cancelIncomplete(requestParameters: SubscriptionsMobileApiCancelIncompleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelIncompleteResponse, any, {}>>;
|
|
25482
|
+
/**
|
|
25483
|
+
* Prépare une PaymentSheet pour l\'app mobile (compte connecté du club). Renvoie soit un PaymentIntent client secret, soit un SetupIntent si Stripe n\'a pas généré de PI.
|
|
25484
|
+
* @param {SubscriptionsMobileApiMobilePaymentSheetRequest} requestParameters Request parameters.
|
|
25485
|
+
* @param {*} [options] Override http request option.
|
|
25486
|
+
* @throws {RequiredError}
|
|
25487
|
+
* @memberof SubscriptionsMobileApi
|
|
25488
|
+
*/
|
|
25489
|
+
mobilePaymentSheet(requestParameters: SubscriptionsMobileApiMobilePaymentSheetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionPaymentSheetResponse, any, {}>>;
|
|
25490
|
+
}
|
|
24984
25491
|
/**
|
|
24985
25492
|
* SubscriptionsPublicApi - axios parameter creator
|
|
24986
25493
|
* @export
|
|
@@ -26010,6 +26517,13 @@ export declare class SumUpManagerApi extends BaseAPI {
|
|
|
26010
26517
|
* @export
|
|
26011
26518
|
*/
|
|
26012
26519
|
export declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26520
|
+
/**
|
|
26521
|
+
* Récupère les paramètres ClubCustomer et les settings du club pour l\'utilisateur
|
|
26522
|
+
* @param {string} clubId
|
|
26523
|
+
* @param {*} [options] Override http request option.
|
|
26524
|
+
* @throws {RequiredError}
|
|
26525
|
+
*/
|
|
26526
|
+
getMyClubCustomerSettings: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26013
26527
|
/**
|
|
26014
26528
|
* Récupère les informations du club de l\'utilisateur
|
|
26015
26529
|
* @param {string} clubId
|
|
@@ -26023,6 +26537,13 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
26023
26537
|
* @export
|
|
26024
26538
|
*/
|
|
26025
26539
|
export declare const UserApiFp: (configuration?: Configuration) => {
|
|
26540
|
+
/**
|
|
26541
|
+
* Récupère les paramètres ClubCustomer et les settings du club pour l\'utilisateur
|
|
26542
|
+
* @param {string} clubId
|
|
26543
|
+
* @param {*} [options] Override http request option.
|
|
26544
|
+
* @throws {RequiredError}
|
|
26545
|
+
*/
|
|
26546
|
+
getMyClubCustomerSettings(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MyClubCustomerSettingsResponse>>;
|
|
26026
26547
|
/**
|
|
26027
26548
|
* Récupère les informations du club de l\'utilisateur
|
|
26028
26549
|
* @param {string} clubId
|
|
@@ -26036,6 +26557,13 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
26036
26557
|
* @export
|
|
26037
26558
|
*/
|
|
26038
26559
|
export declare const UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26560
|
+
/**
|
|
26561
|
+
* Récupère les paramètres ClubCustomer et les settings du club pour l\'utilisateur
|
|
26562
|
+
* @param {UserApiGetMyClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
26563
|
+
* @param {*} [options] Override http request option.
|
|
26564
|
+
* @throws {RequiredError}
|
|
26565
|
+
*/
|
|
26566
|
+
getMyClubCustomerSettings(requestParameters: UserApiGetMyClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<MyClubCustomerSettingsResponse>;
|
|
26039
26567
|
/**
|
|
26040
26568
|
* Récupère les informations du club de l\'utilisateur
|
|
26041
26569
|
* @param {UserApiGetMyClubInfosRequest} requestParameters Request parameters.
|
|
@@ -26044,6 +26572,19 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
26044
26572
|
*/
|
|
26045
26573
|
getMyClubInfos(requestParameters: UserApiGetMyClubInfosRequest, options?: RawAxiosRequestConfig): AxiosPromise<MyClubInfosResponse>;
|
|
26046
26574
|
};
|
|
26575
|
+
/**
|
|
26576
|
+
* Request parameters for getMyClubCustomerSettings operation in UserApi.
|
|
26577
|
+
* @export
|
|
26578
|
+
* @interface UserApiGetMyClubCustomerSettingsRequest
|
|
26579
|
+
*/
|
|
26580
|
+
export interface UserApiGetMyClubCustomerSettingsRequest {
|
|
26581
|
+
/**
|
|
26582
|
+
*
|
|
26583
|
+
* @type {string}
|
|
26584
|
+
* @memberof UserApiGetMyClubCustomerSettings
|
|
26585
|
+
*/
|
|
26586
|
+
readonly clubId: string;
|
|
26587
|
+
}
|
|
26047
26588
|
/**
|
|
26048
26589
|
* Request parameters for getMyClubInfos operation in UserApi.
|
|
26049
26590
|
* @export
|
|
@@ -26064,6 +26605,14 @@ export interface UserApiGetMyClubInfosRequest {
|
|
|
26064
26605
|
* @extends {BaseAPI}
|
|
26065
26606
|
*/
|
|
26066
26607
|
export declare class UserApi extends BaseAPI {
|
|
26608
|
+
/**
|
|
26609
|
+
* Récupère les paramètres ClubCustomer et les settings du club pour l\'utilisateur
|
|
26610
|
+
* @param {UserApiGetMyClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
26611
|
+
* @param {*} [options] Override http request option.
|
|
26612
|
+
* @throws {RequiredError}
|
|
26613
|
+
* @memberof UserApi
|
|
26614
|
+
*/
|
|
26615
|
+
getMyClubCustomerSettings(requestParameters: UserApiGetMyClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MyClubCustomerSettingsResponse, any, {}>>;
|
|
26067
26616
|
/**
|
|
26068
26617
|
* Récupère les informations du club de l\'utilisateur
|
|
26069
26618
|
* @param {UserApiGetMyClubInfosRequest} requestParameters Request parameters.
|
|
@@ -26126,6 +26675,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
26126
26675
|
* @throws {RequiredError}
|
|
26127
26676
|
*/
|
|
26128
26677
|
getBookingDetail: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26678
|
+
/**
|
|
26679
|
+
*
|
|
26680
|
+
* @param {string} eventBookingId
|
|
26681
|
+
* @param {*} [options] Override http request option.
|
|
26682
|
+
* @throws {RequiredError}
|
|
26683
|
+
*/
|
|
26684
|
+
getEventBookingDetail: (eventBookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26129
26685
|
/**
|
|
26130
26686
|
*
|
|
26131
26687
|
* @param {*} [options] Override http request option.
|
|
@@ -26486,6 +27042,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
26486
27042
|
* @throws {RequiredError}
|
|
26487
27043
|
*/
|
|
26488
27044
|
getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingSummary>>;
|
|
27045
|
+
/**
|
|
27046
|
+
*
|
|
27047
|
+
* @param {string} eventBookingId
|
|
27048
|
+
* @param {*} [options] Override http request option.
|
|
27049
|
+
* @throws {RequiredError}
|
|
27050
|
+
*/
|
|
27051
|
+
getEventBookingDetail(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventBookingDetailResponse>>;
|
|
26489
27052
|
/**
|
|
26490
27053
|
*
|
|
26491
27054
|
* @param {*} [options] Override http request option.
|
|
@@ -26854,6 +27417,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
26854
27417
|
* @throws {RequiredError}
|
|
26855
27418
|
*/
|
|
26856
27419
|
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingSummary>;
|
|
27420
|
+
/**
|
|
27421
|
+
*
|
|
27422
|
+
* @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
|
|
27423
|
+
* @param {*} [options] Override http request option.
|
|
27424
|
+
* @throws {RequiredError}
|
|
27425
|
+
*/
|
|
27426
|
+
getEventBookingDetail(requestParameters: UsersApiGetEventBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventBookingDetailResponse>;
|
|
26857
27427
|
/**
|
|
26858
27428
|
*
|
|
26859
27429
|
* @param {*} [options] Override http request option.
|
|
@@ -27220,6 +27790,19 @@ export interface UsersApiGetBookingDetailRequest {
|
|
|
27220
27790
|
*/
|
|
27221
27791
|
readonly bookingId: string;
|
|
27222
27792
|
}
|
|
27793
|
+
/**
|
|
27794
|
+
* Request parameters for getEventBookingDetail operation in UsersApi.
|
|
27795
|
+
* @export
|
|
27796
|
+
* @interface UsersApiGetEventBookingDetailRequest
|
|
27797
|
+
*/
|
|
27798
|
+
export interface UsersApiGetEventBookingDetailRequest {
|
|
27799
|
+
/**
|
|
27800
|
+
*
|
|
27801
|
+
* @type {string}
|
|
27802
|
+
* @memberof UsersApiGetEventBookingDetail
|
|
27803
|
+
*/
|
|
27804
|
+
readonly eventBookingId: string;
|
|
27805
|
+
}
|
|
27223
27806
|
/**
|
|
27224
27807
|
* Request parameters for getNearestClubs operation in UsersApi.
|
|
27225
27808
|
* @export
|
|
@@ -27873,6 +28456,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
27873
28456
|
* @memberof UsersApi
|
|
27874
28457
|
*/
|
|
27875
28458
|
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary, any, {}>>;
|
|
28459
|
+
/**
|
|
28460
|
+
*
|
|
28461
|
+
* @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
|
|
28462
|
+
* @param {*} [options] Override http request option.
|
|
28463
|
+
* @throws {RequiredError}
|
|
28464
|
+
* @memberof UsersApi
|
|
28465
|
+
*/
|
|
28466
|
+
getEventBookingDetail(requestParameters: UsersApiGetEventBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventBookingDetailResponse, any, {}>>;
|
|
27876
28467
|
/**
|
|
27877
28468
|
*
|
|
27878
28469
|
* @param {*} [options] Override http request option.
|