@tennac-booking/sdk 1.0.244 → 1.0.245
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 +4 -0
- package/README.md +5 -0
- package/api.ts +370 -1
- package/dist/api.d.ts +322 -1
- package/dist/api.js +84 -5
- package/dist/esm/api.d.ts +322 -1
- package/dist/esm/api.js +79 -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/SubscriptionPaymentSheetResponse.md +3 -1
- package/docs/UsersApi.md +51 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -5787,6 +5787,279 @@ export interface EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo {
|
|
|
5787
5787
|
*/
|
|
5788
5788
|
'hasSubscription': boolean;
|
|
5789
5789
|
}
|
|
5790
|
+
/**
|
|
5791
|
+
*
|
|
5792
|
+
* @export
|
|
5793
|
+
* @interface EventBookingDetailClubInfo
|
|
5794
|
+
*/
|
|
5795
|
+
export interface EventBookingDetailClubInfo {
|
|
5796
|
+
/**
|
|
5797
|
+
*
|
|
5798
|
+
* @type {string}
|
|
5799
|
+
* @memberof EventBookingDetailClubInfo
|
|
5800
|
+
*/
|
|
5801
|
+
'id': string;
|
|
5802
|
+
/**
|
|
5803
|
+
*
|
|
5804
|
+
* @type {string}
|
|
5805
|
+
* @memberof EventBookingDetailClubInfo
|
|
5806
|
+
*/
|
|
5807
|
+
'name'?: string | null;
|
|
5808
|
+
/**
|
|
5809
|
+
*
|
|
5810
|
+
* @type {string}
|
|
5811
|
+
* @memberof EventBookingDetailClubInfo
|
|
5812
|
+
*/
|
|
5813
|
+
'picture'?: string | null;
|
|
5814
|
+
/**
|
|
5815
|
+
*
|
|
5816
|
+
* @type {string}
|
|
5817
|
+
* @memberof EventBookingDetailClubInfo
|
|
5818
|
+
*/
|
|
5819
|
+
'address'?: string | null;
|
|
5820
|
+
}
|
|
5821
|
+
/**
|
|
5822
|
+
*
|
|
5823
|
+
* @export
|
|
5824
|
+
* @interface EventBookingDetailEventSummary
|
|
5825
|
+
*/
|
|
5826
|
+
export interface EventBookingDetailEventSummary {
|
|
5827
|
+
/**
|
|
5828
|
+
*
|
|
5829
|
+
* @type {string}
|
|
5830
|
+
* @memberof EventBookingDetailEventSummary
|
|
5831
|
+
*/
|
|
5832
|
+
'id': string;
|
|
5833
|
+
/**
|
|
5834
|
+
*
|
|
5835
|
+
* @type {string}
|
|
5836
|
+
* @memberof EventBookingDetailEventSummary
|
|
5837
|
+
*/
|
|
5838
|
+
'clubId': string;
|
|
5839
|
+
/**
|
|
5840
|
+
*
|
|
5841
|
+
* @type {string}
|
|
5842
|
+
* @memberof EventBookingDetailEventSummary
|
|
5843
|
+
*/
|
|
5844
|
+
'type': EventBookingDetailEventSummaryTypeEnum;
|
|
5845
|
+
/**
|
|
5846
|
+
*
|
|
5847
|
+
* @type {string}
|
|
5848
|
+
* @memberof EventBookingDetailEventSummary
|
|
5849
|
+
*/
|
|
5850
|
+
'title': string;
|
|
5851
|
+
/**
|
|
5852
|
+
*
|
|
5853
|
+
* @type {string}
|
|
5854
|
+
* @memberof EventBookingDetailEventSummary
|
|
5855
|
+
*/
|
|
5856
|
+
'category'?: string;
|
|
5857
|
+
/**
|
|
5858
|
+
*
|
|
5859
|
+
* @type {string}
|
|
5860
|
+
* @memberof EventBookingDetailEventSummary
|
|
5861
|
+
*/
|
|
5862
|
+
'description'?: string;
|
|
5863
|
+
/**
|
|
5864
|
+
*
|
|
5865
|
+
* @type {string}
|
|
5866
|
+
* @memberof EventBookingDetailEventSummary
|
|
5867
|
+
*/
|
|
5868
|
+
'photoUrl'?: string;
|
|
5869
|
+
/**
|
|
5870
|
+
*
|
|
5871
|
+
* @type {boolean}
|
|
5872
|
+
* @memberof EventBookingDetailEventSummary
|
|
5873
|
+
*/
|
|
5874
|
+
'isAllDay': boolean;
|
|
5875
|
+
/**
|
|
5876
|
+
*
|
|
5877
|
+
* @type {string}
|
|
5878
|
+
* @memberof EventBookingDetailEventSummary
|
|
5879
|
+
*/
|
|
5880
|
+
'date': string;
|
|
5881
|
+
/**
|
|
5882
|
+
*
|
|
5883
|
+
* @type {number}
|
|
5884
|
+
* @memberof EventBookingDetailEventSummary
|
|
5885
|
+
*/
|
|
5886
|
+
'startTime'?: number;
|
|
5887
|
+
/**
|
|
5888
|
+
*
|
|
5889
|
+
* @type {number}
|
|
5890
|
+
* @memberof EventBookingDetailEventSummary
|
|
5891
|
+
*/
|
|
5892
|
+
'endTime'?: number;
|
|
5893
|
+
/**
|
|
5894
|
+
*
|
|
5895
|
+
* @type {Array<string>}
|
|
5896
|
+
* @memberof EventBookingDetailEventSummary
|
|
5897
|
+
*/
|
|
5898
|
+
'courts': Array<string>;
|
|
5899
|
+
/**
|
|
5900
|
+
*
|
|
5901
|
+
* @type {Array<SportWithLevels>}
|
|
5902
|
+
* @memberof EventBookingDetailEventSummary
|
|
5903
|
+
*/
|
|
5904
|
+
'sports': Array<SportWithLevels>;
|
|
5905
|
+
/**
|
|
5906
|
+
*
|
|
5907
|
+
* @type {string}
|
|
5908
|
+
* @memberof EventBookingDetailEventSummary
|
|
5909
|
+
*/
|
|
5910
|
+
'recurringType': EventBookingDetailEventSummaryRecurringTypeEnum;
|
|
5911
|
+
/**
|
|
5912
|
+
*
|
|
5913
|
+
* @type {string}
|
|
5914
|
+
* @memberof EventBookingDetailEventSummary
|
|
5915
|
+
*/
|
|
5916
|
+
'recurrenceEndDate'?: string;
|
|
5917
|
+
/**
|
|
5918
|
+
*
|
|
5919
|
+
* @type {string}
|
|
5920
|
+
* @memberof EventBookingDetailEventSummary
|
|
5921
|
+
*/
|
|
5922
|
+
'participationType': EventBookingDetailEventSummaryParticipationTypeEnum;
|
|
5923
|
+
/**
|
|
5924
|
+
*
|
|
5925
|
+
* @type {number}
|
|
5926
|
+
* @memberof EventBookingDetailEventSummary
|
|
5927
|
+
*/
|
|
5928
|
+
'playersPerTeam'?: number;
|
|
5929
|
+
/**
|
|
5930
|
+
*
|
|
5931
|
+
* @type {Array<string | null>}
|
|
5932
|
+
* @memberof EventBookingDetailEventSummary
|
|
5933
|
+
*/
|
|
5934
|
+
'levels'?: Array<string | null>;
|
|
5935
|
+
/**
|
|
5936
|
+
*
|
|
5937
|
+
* @type {Array<EventSponsor>}
|
|
5938
|
+
* @memberof EventBookingDetailEventSummary
|
|
5939
|
+
*/
|
|
5940
|
+
'sponsors'?: Array<EventSponsor>;
|
|
5941
|
+
}
|
|
5942
|
+
export declare const EventBookingDetailEventSummaryTypeEnum: {
|
|
5943
|
+
readonly Event: "event";
|
|
5944
|
+
readonly Closure: "closure";
|
|
5945
|
+
};
|
|
5946
|
+
export type EventBookingDetailEventSummaryTypeEnum = typeof EventBookingDetailEventSummaryTypeEnum[keyof typeof EventBookingDetailEventSummaryTypeEnum];
|
|
5947
|
+
export declare const EventBookingDetailEventSummaryRecurringTypeEnum: {
|
|
5948
|
+
readonly Unique: "unique";
|
|
5949
|
+
readonly Daily: "daily";
|
|
5950
|
+
readonly Weekly: "weekly";
|
|
5951
|
+
readonly Monthly: "monthly";
|
|
5952
|
+
};
|
|
5953
|
+
export type EventBookingDetailEventSummaryRecurringTypeEnum = typeof EventBookingDetailEventSummaryRecurringTypeEnum[keyof typeof EventBookingDetailEventSummaryRecurringTypeEnum];
|
|
5954
|
+
export declare const EventBookingDetailEventSummaryParticipationTypeEnum: {
|
|
5955
|
+
readonly Solo: "solo";
|
|
5956
|
+
readonly Team: "team";
|
|
5957
|
+
};
|
|
5958
|
+
export type EventBookingDetailEventSummaryParticipationTypeEnum = typeof EventBookingDetailEventSummaryParticipationTypeEnum[keyof typeof EventBookingDetailEventSummaryParticipationTypeEnum];
|
|
5959
|
+
/**
|
|
5960
|
+
*
|
|
5961
|
+
* @export
|
|
5962
|
+
* @interface EventBookingDetailResponse
|
|
5963
|
+
*/
|
|
5964
|
+
export interface EventBookingDetailResponse {
|
|
5965
|
+
/**
|
|
5966
|
+
*
|
|
5967
|
+
* @type {EventBookingDetailClubInfo}
|
|
5968
|
+
* @memberof EventBookingDetailResponse
|
|
5969
|
+
*/
|
|
5970
|
+
'club': EventBookingDetailClubInfo;
|
|
5971
|
+
/**
|
|
5972
|
+
*
|
|
5973
|
+
* @type {EventBookingDetailEventSummary}
|
|
5974
|
+
* @memberof EventBookingDetailResponse
|
|
5975
|
+
*/
|
|
5976
|
+
'event': EventBookingDetailEventSummary;
|
|
5977
|
+
/**
|
|
5978
|
+
*
|
|
5979
|
+
* @type {EventBookingDetailResponseBooking}
|
|
5980
|
+
* @memberof EventBookingDetailResponse
|
|
5981
|
+
*/
|
|
5982
|
+
'booking': EventBookingDetailResponseBooking;
|
|
5983
|
+
/**
|
|
5984
|
+
*
|
|
5985
|
+
* @type {Array<BookingPlayerPaymentSummary>}
|
|
5986
|
+
* @memberof EventBookingDetailResponse
|
|
5987
|
+
*/
|
|
5988
|
+
'players': Array<BookingPlayerPaymentSummary>;
|
|
5989
|
+
/**
|
|
5990
|
+
*
|
|
5991
|
+
* @type {Array<BookingHistoryPopulated>}
|
|
5992
|
+
* @memberof EventBookingDetailResponse
|
|
5993
|
+
*/
|
|
5994
|
+
'history': Array<BookingHistoryPopulated>;
|
|
5995
|
+
}
|
|
5996
|
+
/**
|
|
5997
|
+
*
|
|
5998
|
+
* @export
|
|
5999
|
+
* @interface EventBookingDetailResponseBooking
|
|
6000
|
+
*/
|
|
6001
|
+
export interface EventBookingDetailResponseBooking {
|
|
6002
|
+
/**
|
|
6003
|
+
*
|
|
6004
|
+
* @type {number}
|
|
6005
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6006
|
+
*/
|
|
6007
|
+
'participantsCount': number;
|
|
6008
|
+
/**
|
|
6009
|
+
*
|
|
6010
|
+
* @type {string}
|
|
6011
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6012
|
+
*/
|
|
6013
|
+
'updatedAt': string;
|
|
6014
|
+
/**
|
|
6015
|
+
*
|
|
6016
|
+
* @type {string}
|
|
6017
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6018
|
+
*/
|
|
6019
|
+
'createdAt': string;
|
|
6020
|
+
/**
|
|
6021
|
+
*
|
|
6022
|
+
* @type {string}
|
|
6023
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6024
|
+
*/
|
|
6025
|
+
'limitCancellationDate'?: string | null;
|
|
6026
|
+
/**
|
|
6027
|
+
*
|
|
6028
|
+
* @type {string}
|
|
6029
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6030
|
+
*/
|
|
6031
|
+
'limitSetupDate'?: string | null;
|
|
6032
|
+
/**
|
|
6033
|
+
*
|
|
6034
|
+
* @type {boolean}
|
|
6035
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6036
|
+
*/
|
|
6037
|
+
'paymentMethodSetupCompleted': boolean;
|
|
6038
|
+
/**
|
|
6039
|
+
*
|
|
6040
|
+
* @type {boolean}
|
|
6041
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6042
|
+
*/
|
|
6043
|
+
'isCreatorPayingAll': boolean;
|
|
6044
|
+
/**
|
|
6045
|
+
*
|
|
6046
|
+
* @type {string}
|
|
6047
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6048
|
+
*/
|
|
6049
|
+
'teamName'?: string | null;
|
|
6050
|
+
/**
|
|
6051
|
+
*
|
|
6052
|
+
* @type {EventBookingStatus}
|
|
6053
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6054
|
+
*/
|
|
6055
|
+
'status': EventBookingStatus;
|
|
6056
|
+
/**
|
|
6057
|
+
*
|
|
6058
|
+
* @type {string}
|
|
6059
|
+
* @memberof EventBookingDetailResponseBooking
|
|
6060
|
+
*/
|
|
6061
|
+
'id': string;
|
|
6062
|
+
}
|
|
5790
6063
|
/**
|
|
5791
6064
|
*
|
|
5792
6065
|
* @export
|
|
@@ -13195,7 +13468,13 @@ export interface SubscriptionPaymentSheetResponse {
|
|
|
13195
13468
|
* @type {string}
|
|
13196
13469
|
* @memberof SubscriptionPaymentSheetResponse
|
|
13197
13470
|
*/
|
|
13198
|
-
'
|
|
13471
|
+
'setupIntentClientSecret'?: string;
|
|
13472
|
+
/**
|
|
13473
|
+
*
|
|
13474
|
+
* @type {string}
|
|
13475
|
+
* @memberof SubscriptionPaymentSheetResponse
|
|
13476
|
+
*/
|
|
13477
|
+
'paymentIntentClientSecret'?: string;
|
|
13199
13478
|
}
|
|
13200
13479
|
/**
|
|
13201
13480
|
*
|
|
@@ -26126,6 +26405,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
26126
26405
|
* @throws {RequiredError}
|
|
26127
26406
|
*/
|
|
26128
26407
|
getBookingDetail: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26408
|
+
/**
|
|
26409
|
+
*
|
|
26410
|
+
* @param {string} eventBookingId
|
|
26411
|
+
* @param {*} [options] Override http request option.
|
|
26412
|
+
* @throws {RequiredError}
|
|
26413
|
+
*/
|
|
26414
|
+
getEventBookingDetail: (eventBookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26129
26415
|
/**
|
|
26130
26416
|
*
|
|
26131
26417
|
* @param {*} [options] Override http request option.
|
|
@@ -26486,6 +26772,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
26486
26772
|
* @throws {RequiredError}
|
|
26487
26773
|
*/
|
|
26488
26774
|
getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingSummary>>;
|
|
26775
|
+
/**
|
|
26776
|
+
*
|
|
26777
|
+
* @param {string} eventBookingId
|
|
26778
|
+
* @param {*} [options] Override http request option.
|
|
26779
|
+
* @throws {RequiredError}
|
|
26780
|
+
*/
|
|
26781
|
+
getEventBookingDetail(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventBookingDetailResponse>>;
|
|
26489
26782
|
/**
|
|
26490
26783
|
*
|
|
26491
26784
|
* @param {*} [options] Override http request option.
|
|
@@ -26854,6 +27147,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
26854
27147
|
* @throws {RequiredError}
|
|
26855
27148
|
*/
|
|
26856
27149
|
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingSummary>;
|
|
27150
|
+
/**
|
|
27151
|
+
*
|
|
27152
|
+
* @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
|
|
27153
|
+
* @param {*} [options] Override http request option.
|
|
27154
|
+
* @throws {RequiredError}
|
|
27155
|
+
*/
|
|
27156
|
+
getEventBookingDetail(requestParameters: UsersApiGetEventBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventBookingDetailResponse>;
|
|
26857
27157
|
/**
|
|
26858
27158
|
*
|
|
26859
27159
|
* @param {*} [options] Override http request option.
|
|
@@ -27220,6 +27520,19 @@ export interface UsersApiGetBookingDetailRequest {
|
|
|
27220
27520
|
*/
|
|
27221
27521
|
readonly bookingId: string;
|
|
27222
27522
|
}
|
|
27523
|
+
/**
|
|
27524
|
+
* Request parameters for getEventBookingDetail operation in UsersApi.
|
|
27525
|
+
* @export
|
|
27526
|
+
* @interface UsersApiGetEventBookingDetailRequest
|
|
27527
|
+
*/
|
|
27528
|
+
export interface UsersApiGetEventBookingDetailRequest {
|
|
27529
|
+
/**
|
|
27530
|
+
*
|
|
27531
|
+
* @type {string}
|
|
27532
|
+
* @memberof UsersApiGetEventBookingDetail
|
|
27533
|
+
*/
|
|
27534
|
+
readonly eventBookingId: string;
|
|
27535
|
+
}
|
|
27223
27536
|
/**
|
|
27224
27537
|
* Request parameters for getNearestClubs operation in UsersApi.
|
|
27225
27538
|
* @export
|
|
@@ -27873,6 +28186,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
27873
28186
|
* @memberof UsersApi
|
|
27874
28187
|
*/
|
|
27875
28188
|
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary, any, {}>>;
|
|
28189
|
+
/**
|
|
28190
|
+
*
|
|
28191
|
+
* @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
|
|
28192
|
+
* @param {*} [options] Override http request option.
|
|
28193
|
+
* @throws {RequiredError}
|
|
28194
|
+
* @memberof UsersApi
|
|
28195
|
+
*/
|
|
28196
|
+
getEventBookingDetail(requestParameters: UsersApiGetEventBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventBookingDetailResponse, any, {}>>;
|
|
27876
28197
|
/**
|
|
27877
28198
|
*
|
|
27878
28199
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -22,11 +22,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.GetUserBookingsTimeFilterEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SumUpManagerApi = exports.SumUpManagerApiFactory = exports.SumUpManagerApiFp = exports.SumUpManagerApiAxiosParamCreator = exports.SumUpApi = exports.SumUpApiFactory = exports.SumUpApiFp = exports.SumUpApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = void 0;
|
|
25
|
+
exports.StaffUserProfileResponseCreatedFromEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.QuickReservationCourtType = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentStatus = exports.PaymentProviderType = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.NotificationType = exports.NotificationTargetPreviewTypeEnum = exports.NotificationActorType = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.IUserAttributesCreatedFromEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.EventBookingDetailSummaryUserParticipationStatusEnum = exports.EventBookingDetailEventSummaryParticipationTypeEnum = exports.EventBookingDetailEventSummaryRecurringTypeEnum = exports.EventBookingDetailEventSummaryTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.CourtEnvironment = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingSummaryUserParticipationStatusEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
+
exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.WeekdayKey = exports.WaitListResponseTargetTypeEnum = exports.WaitListEntryWithPlayerTargetTypeEnum = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.SupportedLanguage = void 0;
|
|
27
|
+
exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = void 0;
|
|
28
|
+
exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.PublicEmailApi = exports.PublicEmailApiFactory = exports.PublicEmailApiFp = exports.PublicEmailApiAxiosParamCreator = exports.PaymentsStaffApi = exports.PaymentsStaffApiFactory = exports.PaymentsStaffApiFp = exports.PaymentsStaffApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = void 0;
|
|
29
|
+
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.GetUserBookingsTimeFilterEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SumUpManagerApi = exports.SumUpManagerApiFactory = exports.SumUpManagerApiFp = exports.SumUpManagerApiAxiosParamCreator = exports.SumUpApi = exports.SumUpApiFactory = exports.SumUpApiFp = exports.SumUpApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -148,6 +148,20 @@ exports.DiscountType = {
|
|
|
148
148
|
Percentage: 'percentage',
|
|
149
149
|
OffPeak: 'off_peak'
|
|
150
150
|
};
|
|
151
|
+
exports.EventBookingDetailEventSummaryTypeEnum = {
|
|
152
|
+
Event: 'event',
|
|
153
|
+
Closure: 'closure'
|
|
154
|
+
};
|
|
155
|
+
exports.EventBookingDetailEventSummaryRecurringTypeEnum = {
|
|
156
|
+
Unique: 'unique',
|
|
157
|
+
Daily: 'daily',
|
|
158
|
+
Weekly: 'weekly',
|
|
159
|
+
Monthly: 'monthly'
|
|
160
|
+
};
|
|
161
|
+
exports.EventBookingDetailEventSummaryParticipationTypeEnum = {
|
|
162
|
+
Solo: 'solo',
|
|
163
|
+
Team: 'team'
|
|
164
|
+
};
|
|
151
165
|
exports.EventBookingDetailSummaryUserParticipationStatusEnum = {
|
|
152
166
|
Participant: 'participant',
|
|
153
167
|
WaitingJoinPayment: 'waitingJoinPayment',
|
|
@@ -15632,6 +15646,37 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
15632
15646
|
options: localVarRequestOptions,
|
|
15633
15647
|
};
|
|
15634
15648
|
}),
|
|
15649
|
+
/**
|
|
15650
|
+
*
|
|
15651
|
+
* @param {string} eventBookingId
|
|
15652
|
+
* @param {*} [options] Override http request option.
|
|
15653
|
+
* @throws {RequiredError}
|
|
15654
|
+
*/
|
|
15655
|
+
getEventBookingDetail: (eventBookingId_1, ...args_1) => __awaiter(this, [eventBookingId_1, ...args_1], void 0, function* (eventBookingId, options = {}) {
|
|
15656
|
+
// verify required parameter 'eventBookingId' is not null or undefined
|
|
15657
|
+
(0, common_1.assertParamExists)('getEventBookingDetail', 'eventBookingId', eventBookingId);
|
|
15658
|
+
const localVarPath = `/api/users/me/event-booking-detail/{eventBookingId}`
|
|
15659
|
+
.replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
|
|
15660
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15661
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15662
|
+
let baseOptions;
|
|
15663
|
+
if (configuration) {
|
|
15664
|
+
baseOptions = configuration.baseOptions;
|
|
15665
|
+
}
|
|
15666
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15667
|
+
const localVarHeaderParameter = {};
|
|
15668
|
+
const localVarQueryParameter = {};
|
|
15669
|
+
// authentication bearerAuth required
|
|
15670
|
+
// http bearer authentication required
|
|
15671
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15672
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15673
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15674
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15675
|
+
return {
|
|
15676
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15677
|
+
options: localVarRequestOptions,
|
|
15678
|
+
};
|
|
15679
|
+
}),
|
|
15635
15680
|
/**
|
|
15636
15681
|
*
|
|
15637
15682
|
* @param {*} [options] Override http request option.
|
|
@@ -17075,6 +17120,21 @@ const UsersApiFp = function (configuration) {
|
|
|
17075
17120
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17076
17121
|
});
|
|
17077
17122
|
},
|
|
17123
|
+
/**
|
|
17124
|
+
*
|
|
17125
|
+
* @param {string} eventBookingId
|
|
17126
|
+
* @param {*} [options] Override http request option.
|
|
17127
|
+
* @throws {RequiredError}
|
|
17128
|
+
*/
|
|
17129
|
+
getEventBookingDetail(eventBookingId, options) {
|
|
17130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17131
|
+
var _a, _b, _c;
|
|
17132
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventBookingDetail(eventBookingId, options);
|
|
17133
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17134
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.getEventBookingDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17135
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17136
|
+
});
|
|
17137
|
+
},
|
|
17078
17138
|
/**
|
|
17079
17139
|
*
|
|
17080
17140
|
* @param {*} [options] Override http request option.
|
|
@@ -17781,6 +17841,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
17781
17841
|
getBookingDetail(requestParameters, options) {
|
|
17782
17842
|
return localVarFp.getBookingDetail(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
17783
17843
|
},
|
|
17844
|
+
/**
|
|
17845
|
+
*
|
|
17846
|
+
* @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
|
|
17847
|
+
* @param {*} [options] Override http request option.
|
|
17848
|
+
* @throws {RequiredError}
|
|
17849
|
+
*/
|
|
17850
|
+
getEventBookingDetail(requestParameters, options) {
|
|
17851
|
+
return localVarFp.getEventBookingDetail(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
|
|
17852
|
+
},
|
|
17784
17853
|
/**
|
|
17785
17854
|
*
|
|
17786
17855
|
* @param {*} [options] Override http request option.
|
|
@@ -18221,6 +18290,16 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
18221
18290
|
getBookingDetail(requestParameters, options) {
|
|
18222
18291
|
return (0, exports.UsersApiFp)(this.configuration).getBookingDetail(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
18223
18292
|
}
|
|
18293
|
+
/**
|
|
18294
|
+
*
|
|
18295
|
+
* @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
|
|
18296
|
+
* @param {*} [options] Override http request option.
|
|
18297
|
+
* @throws {RequiredError}
|
|
18298
|
+
* @memberof UsersApi
|
|
18299
|
+
*/
|
|
18300
|
+
getEventBookingDetail(requestParameters, options) {
|
|
18301
|
+
return (0, exports.UsersApiFp)(this.configuration).getEventBookingDetail(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
|
|
18302
|
+
}
|
|
18224
18303
|
/**
|
|
18225
18304
|
*
|
|
18226
18305
|
* @param {*} [options] Override http request option.
|