@tennac-booking/sdk 1.0.159 → 1.0.162
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 +374 -371
- package/README.md +6 -3
- package/api.ts +175 -34
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +134 -30
- package/dist/api.js +79 -11
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +134 -30
- package/dist/esm/api.js +78 -10
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgendaBooking.md +1 -1
- package/docs/BookingInvoicePaymentStatus.md +24 -0
- package/docs/ClientOnboardingRequestBody.md +2 -0
- package/docs/ClubDayInterval.md +2 -2
- package/docs/ClubPresentationSettingsResponse.md +2 -0
- package/docs/ClubPricingPeriodResponse.md +2 -2
- package/docs/ClubsApi.md +54 -0
- package/docs/GetClubTimezone200Response.md +20 -0
- package/docs/HotelAccessSettings.md +2 -2
- package/docs/PartialHotelAccessSettings.md +2 -2
- package/docs/Sponsor.md +24 -0
- package/docs/UpdateClubPresentationSettingsRequest.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AgendaPaymentStatus.md +0 -12
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.161
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -132,10 +132,10 @@ export interface AgendaBooking {
|
|
|
132
132
|
'players': Array<AgendaBookingPlayer>;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
|
-
* @type {
|
|
135
|
+
* @type {BookingInvoicePaymentStatus}
|
|
136
136
|
* @memberof AgendaBooking
|
|
137
137
|
*/
|
|
138
|
-
'paymentStatus':
|
|
138
|
+
'paymentStatus': BookingInvoicePaymentStatus;
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
141
141
|
* @type {Array<AgendaBookingSlot>}
|
|
@@ -217,17 +217,6 @@ export interface AgendaBookingSlot {
|
|
|
217
217
|
*/
|
|
218
218
|
'isIndoor'?: boolean;
|
|
219
219
|
}
|
|
220
|
-
/**
|
|
221
|
-
*
|
|
222
|
-
* @export
|
|
223
|
-
* @enum {string}
|
|
224
|
-
*/
|
|
225
|
-
export declare const AgendaPaymentStatus: {
|
|
226
|
-
readonly Pay: "payé";
|
|
227
|
-
readonly NonPay: "non payé";
|
|
228
|
-
readonly EnAttente: "en attente";
|
|
229
|
-
};
|
|
230
|
-
export type AgendaPaymentStatus = typeof AgendaPaymentStatus[keyof typeof AgendaPaymentStatus];
|
|
231
220
|
/**
|
|
232
221
|
*
|
|
233
222
|
* @export
|
|
@@ -505,6 +494,23 @@ export interface BookingInfo {
|
|
|
505
494
|
*/
|
|
506
495
|
'noShowChargeAmount'?: number;
|
|
507
496
|
}
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @export
|
|
500
|
+
* @enum {string}
|
|
501
|
+
*/
|
|
502
|
+
export declare const BookingInvoicePaymentStatus: {
|
|
503
|
+
readonly SetupPending: "setup_pending";
|
|
504
|
+
readonly SetupSuccess: "setup_success";
|
|
505
|
+
readonly Pending: "pending";
|
|
506
|
+
readonly Paid: "paid";
|
|
507
|
+
readonly Failed: "failed";
|
|
508
|
+
readonly Authorized: "authorized";
|
|
509
|
+
readonly Canceled: "canceled";
|
|
510
|
+
readonly Expired: "expired";
|
|
511
|
+
readonly Partial: "partial";
|
|
512
|
+
};
|
|
513
|
+
export type BookingInvoicePaymentStatus = typeof BookingInvoicePaymentStatus[keyof typeof BookingInvoicePaymentStatus];
|
|
508
514
|
/**
|
|
509
515
|
*
|
|
510
516
|
* @export
|
|
@@ -1733,6 +1739,12 @@ export interface ClientOnboardingRequestBody {
|
|
|
1733
1739
|
* @memberof ClientOnboardingRequestBody
|
|
1734
1740
|
*/
|
|
1735
1741
|
'clubType'?: ClientOnboardingRequestBodyClubTypeEnum;
|
|
1742
|
+
/**
|
|
1743
|
+
* Fuseau horaire du club (optionnel)
|
|
1744
|
+
* @type {string}
|
|
1745
|
+
* @memberof ClientOnboardingRequestBody
|
|
1746
|
+
*/
|
|
1747
|
+
'timezone'?: string;
|
|
1736
1748
|
}
|
|
1737
1749
|
export declare const ClientOnboardingRequestBodyClubTypeEnum: {
|
|
1738
1750
|
readonly Public: "public";
|
|
@@ -1988,16 +2000,16 @@ export interface ClubCustomerSettingsResponse {
|
|
|
1988
2000
|
export interface ClubDayInterval {
|
|
1989
2001
|
/**
|
|
1990
2002
|
*
|
|
1991
|
-
* @type {
|
|
2003
|
+
* @type {number}
|
|
1992
2004
|
* @memberof ClubDayInterval
|
|
1993
2005
|
*/
|
|
1994
|
-
'start':
|
|
2006
|
+
'start': number;
|
|
1995
2007
|
/**
|
|
1996
2008
|
*
|
|
1997
|
-
* @type {
|
|
2009
|
+
* @type {number}
|
|
1998
2010
|
* @memberof ClubDayInterval
|
|
1999
2011
|
*/
|
|
2000
|
-
'end':
|
|
2012
|
+
'end': number;
|
|
2001
2013
|
}
|
|
2002
2014
|
/**
|
|
2003
2015
|
*
|
|
@@ -3135,6 +3147,12 @@ export interface ClubPresentationSettingsResponse {
|
|
|
3135
3147
|
* @memberof ClubPresentationSettingsResponse
|
|
3136
3148
|
*/
|
|
3137
3149
|
'galleryImages': Array<string>;
|
|
3150
|
+
/**
|
|
3151
|
+
*
|
|
3152
|
+
* @type {Array<Sponsor>}
|
|
3153
|
+
* @memberof ClubPresentationSettingsResponse
|
|
3154
|
+
*/
|
|
3155
|
+
'sponsors': Array<Sponsor>;
|
|
3138
3156
|
}
|
|
3139
3157
|
/**
|
|
3140
3158
|
*
|
|
@@ -3162,16 +3180,16 @@ export interface ClubPricingPeriodResponse {
|
|
|
3162
3180
|
'days': Array<string>;
|
|
3163
3181
|
/**
|
|
3164
3182
|
*
|
|
3165
|
-
* @type {
|
|
3183
|
+
* @type {number}
|
|
3166
3184
|
* @memberof ClubPricingPeriodResponse
|
|
3167
3185
|
*/
|
|
3168
|
-
'startTime':
|
|
3186
|
+
'startTime': number;
|
|
3169
3187
|
/**
|
|
3170
3188
|
*
|
|
3171
|
-
* @type {
|
|
3189
|
+
* @type {number}
|
|
3172
3190
|
* @memberof ClubPricingPeriodResponse
|
|
3173
3191
|
*/
|
|
3174
|
-
'endTime':
|
|
3192
|
+
'endTime': number;
|
|
3175
3193
|
/**
|
|
3176
3194
|
*
|
|
3177
3195
|
* @type {number}
|
|
@@ -5687,6 +5705,19 @@ export interface GetClubRoles200Response {
|
|
|
5687
5705
|
*/
|
|
5688
5706
|
'roles': Array<any>;
|
|
5689
5707
|
}
|
|
5708
|
+
/**
|
|
5709
|
+
*
|
|
5710
|
+
* @export
|
|
5711
|
+
* @interface GetClubTimezone200Response
|
|
5712
|
+
*/
|
|
5713
|
+
export interface GetClubTimezone200Response {
|
|
5714
|
+
/**
|
|
5715
|
+
*
|
|
5716
|
+
* @type {string}
|
|
5717
|
+
* @memberof GetClubTimezone200Response
|
|
5718
|
+
*/
|
|
5719
|
+
'timezone': string;
|
|
5720
|
+
}
|
|
5690
5721
|
/**
|
|
5691
5722
|
*
|
|
5692
5723
|
* @export
|
|
@@ -6100,16 +6131,16 @@ export interface HotelAccessSettings {
|
|
|
6100
6131
|
'accessCode'?: string | null;
|
|
6101
6132
|
/**
|
|
6102
6133
|
*
|
|
6103
|
-
* @type {
|
|
6134
|
+
* @type {number}
|
|
6104
6135
|
* @memberof HotelAccessSettings
|
|
6105
6136
|
*/
|
|
6106
|
-
'validFrom'?:
|
|
6137
|
+
'validFrom'?: number | null;
|
|
6107
6138
|
/**
|
|
6108
6139
|
*
|
|
6109
|
-
* @type {
|
|
6140
|
+
* @type {number}
|
|
6110
6141
|
* @memberof HotelAccessSettings
|
|
6111
6142
|
*/
|
|
6112
|
-
'validUntil'?:
|
|
6143
|
+
'validUntil'?: number | null;
|
|
6113
6144
|
}
|
|
6114
6145
|
/**
|
|
6115
6146
|
*
|
|
@@ -7606,16 +7637,16 @@ export interface PartialHotelAccessSettings {
|
|
|
7606
7637
|
'accessCode'?: string;
|
|
7607
7638
|
/**
|
|
7608
7639
|
*
|
|
7609
|
-
* @type {
|
|
7640
|
+
* @type {number}
|
|
7610
7641
|
* @memberof PartialHotelAccessSettings
|
|
7611
7642
|
*/
|
|
7612
|
-
'validFrom'?:
|
|
7643
|
+
'validFrom'?: number;
|
|
7613
7644
|
/**
|
|
7614
7645
|
*
|
|
7615
|
-
* @type {
|
|
7646
|
+
* @type {number}
|
|
7616
7647
|
* @memberof PartialHotelAccessSettings
|
|
7617
7648
|
*/
|
|
7618
|
-
'validUntil'?:
|
|
7649
|
+
'validUntil'?: number;
|
|
7619
7650
|
/**
|
|
7620
7651
|
*
|
|
7621
7652
|
* @type {boolean}
|
|
@@ -9281,6 +9312,31 @@ export interface SlotInfo {
|
|
|
9281
9312
|
*/
|
|
9282
9313
|
'court': CourtInfo;
|
|
9283
9314
|
}
|
|
9315
|
+
/**
|
|
9316
|
+
*
|
|
9317
|
+
* @export
|
|
9318
|
+
* @interface Sponsor
|
|
9319
|
+
*/
|
|
9320
|
+
export interface Sponsor {
|
|
9321
|
+
/**
|
|
9322
|
+
*
|
|
9323
|
+
* @type {string}
|
|
9324
|
+
* @memberof Sponsor
|
|
9325
|
+
*/
|
|
9326
|
+
'name': string;
|
|
9327
|
+
/**
|
|
9328
|
+
*
|
|
9329
|
+
* @type {string}
|
|
9330
|
+
* @memberof Sponsor
|
|
9331
|
+
*/
|
|
9332
|
+
'logo'?: string;
|
|
9333
|
+
/**
|
|
9334
|
+
*
|
|
9335
|
+
* @type {string}
|
|
9336
|
+
* @memberof Sponsor
|
|
9337
|
+
*/
|
|
9338
|
+
'websiteUrl'?: string;
|
|
9339
|
+
}
|
|
9284
9340
|
/**
|
|
9285
9341
|
*
|
|
9286
9342
|
* @export
|
|
@@ -10623,6 +10679,12 @@ export interface UpdateClubPresentationSettingsRequest {
|
|
|
10623
10679
|
* @memberof UpdateClubPresentationSettingsRequest
|
|
10624
10680
|
*/
|
|
10625
10681
|
'galleryImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
|
|
10682
|
+
/**
|
|
10683
|
+
*
|
|
10684
|
+
* @type {Array<Sponsor>}
|
|
10685
|
+
* @memberof UpdateClubPresentationSettingsRequest
|
|
10686
|
+
*/
|
|
10687
|
+
'sponsors'?: Array<Sponsor>;
|
|
10626
10688
|
}
|
|
10627
10689
|
/**
|
|
10628
10690
|
*
|
|
@@ -15675,6 +15737,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15675
15737
|
* @throws {RequiredError}
|
|
15676
15738
|
*/
|
|
15677
15739
|
getClubPageInfo: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15740
|
+
/**
|
|
15741
|
+
* Récupère le fuseau horaire d\'un club
|
|
15742
|
+
* @param {string} id
|
|
15743
|
+
* @param {*} [options] Override http request option.
|
|
15744
|
+
* @throws {RequiredError}
|
|
15745
|
+
*/
|
|
15746
|
+
getClubTimezone: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15678
15747
|
/**
|
|
15679
15748
|
*
|
|
15680
15749
|
* @param {string} id
|
|
@@ -15788,6 +15857,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
15788
15857
|
* @throws {RequiredError}
|
|
15789
15858
|
*/
|
|
15790
15859
|
getClubPageInfo(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPageResponse>>;
|
|
15860
|
+
/**
|
|
15861
|
+
* Récupère le fuseau horaire d\'un club
|
|
15862
|
+
* @param {string} id
|
|
15863
|
+
* @param {*} [options] Override http request option.
|
|
15864
|
+
* @throws {RequiredError}
|
|
15865
|
+
*/
|
|
15866
|
+
getClubTimezone(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubTimezone200Response>>;
|
|
15791
15867
|
/**
|
|
15792
15868
|
*
|
|
15793
15869
|
* @param {string} id
|
|
@@ -15898,6 +15974,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
15898
15974
|
* @throws {RequiredError}
|
|
15899
15975
|
*/
|
|
15900
15976
|
getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPageResponse>;
|
|
15977
|
+
/**
|
|
15978
|
+
* Récupère le fuseau horaire d\'un club
|
|
15979
|
+
* @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
|
|
15980
|
+
* @param {*} [options] Override http request option.
|
|
15981
|
+
* @throws {RequiredError}
|
|
15982
|
+
*/
|
|
15983
|
+
getClubTimezone(requestParameters: ClubsApiGetClubTimezoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubTimezone200Response>;
|
|
15901
15984
|
/**
|
|
15902
15985
|
*
|
|
15903
15986
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -16030,6 +16113,19 @@ export interface ClubsApiGetClubPageInfoRequest {
|
|
|
16030
16113
|
*/
|
|
16031
16114
|
readonly clubId: string;
|
|
16032
16115
|
}
|
|
16116
|
+
/**
|
|
16117
|
+
* Request parameters for getClubTimezone operation in ClubsApi.
|
|
16118
|
+
* @export
|
|
16119
|
+
* @interface ClubsApiGetClubTimezoneRequest
|
|
16120
|
+
*/
|
|
16121
|
+
export interface ClubsApiGetClubTimezoneRequest {
|
|
16122
|
+
/**
|
|
16123
|
+
*
|
|
16124
|
+
* @type {string}
|
|
16125
|
+
* @memberof ClubsApiGetClubTimezone
|
|
16126
|
+
*/
|
|
16127
|
+
readonly id: string;
|
|
16128
|
+
}
|
|
16033
16129
|
/**
|
|
16034
16130
|
* Request parameters for getClubUsersById operation in ClubsApi.
|
|
16035
16131
|
* @export
|
|
@@ -16194,6 +16290,14 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
16194
16290
|
* @memberof ClubsApi
|
|
16195
16291
|
*/
|
|
16196
16292
|
getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPageResponse, any, {}>>;
|
|
16293
|
+
/**
|
|
16294
|
+
* Récupère le fuseau horaire d\'un club
|
|
16295
|
+
* @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
|
|
16296
|
+
* @param {*} [options] Override http request option.
|
|
16297
|
+
* @throws {RequiredError}
|
|
16298
|
+
* @memberof ClubsApi
|
|
16299
|
+
*/
|
|
16300
|
+
getClubTimezone(requestParameters: ClubsApiGetClubTimezoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubTimezone200Response, any, {}>>;
|
|
16197
16301
|
/**
|
|
16198
16302
|
*
|
|
16199
16303
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* openapi.json
|
|
6
6
|
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.161
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.VisibilityType = 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.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.
|
|
25
|
+
exports.VisibilityType = 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.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
26
|
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 = 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.WeekdayKey = void 0;
|
|
27
27
|
exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = 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 = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = 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 = void 0;
|
|
28
28
|
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = void 0;
|
|
@@ -32,20 +32,26 @@ const axios_1 = require("axios");
|
|
|
32
32
|
const common_1 = require("./common");
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const base_1 = require("./base");
|
|
35
|
+
exports.BookingHistoryPopulatedPerformedByTypeEnum = {
|
|
36
|
+
User: 'user',
|
|
37
|
+
Manager: 'manager',
|
|
38
|
+
System: 'system'
|
|
39
|
+
};
|
|
35
40
|
/**
|
|
36
41
|
*
|
|
37
42
|
* @export
|
|
38
43
|
* @enum {string}
|
|
39
44
|
*/
|
|
40
|
-
exports.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
exports.BookingInvoicePaymentStatus = {
|
|
46
|
+
SetupPending: 'setup_pending',
|
|
47
|
+
SetupSuccess: 'setup_success',
|
|
48
|
+
Pending: 'pending',
|
|
49
|
+
Paid: 'paid',
|
|
50
|
+
Failed: 'failed',
|
|
51
|
+
Authorized: 'authorized',
|
|
52
|
+
Canceled: 'canceled',
|
|
53
|
+
Expired: 'expired',
|
|
54
|
+
Partial: 'partial'
|
|
49
55
|
};
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
@@ -5925,6 +5931,34 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
5925
5931
|
options: localVarRequestOptions,
|
|
5926
5932
|
};
|
|
5927
5933
|
}),
|
|
5934
|
+
/**
|
|
5935
|
+
* Récupère le fuseau horaire d\'un club
|
|
5936
|
+
* @param {string} id
|
|
5937
|
+
* @param {*} [options] Override http request option.
|
|
5938
|
+
* @throws {RequiredError}
|
|
5939
|
+
*/
|
|
5940
|
+
getClubTimezone: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
5941
|
+
// verify required parameter 'id' is not null or undefined
|
|
5942
|
+
(0, common_1.assertParamExists)('getClubTimezone', 'id', id);
|
|
5943
|
+
const localVarPath = `/api/clubs/{id}/timezone`
|
|
5944
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5945
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5946
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5947
|
+
let baseOptions;
|
|
5948
|
+
if (configuration) {
|
|
5949
|
+
baseOptions = configuration.baseOptions;
|
|
5950
|
+
}
|
|
5951
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5952
|
+
const localVarHeaderParameter = {};
|
|
5953
|
+
const localVarQueryParameter = {};
|
|
5954
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5955
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5956
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5957
|
+
return {
|
|
5958
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5959
|
+
options: localVarRequestOptions,
|
|
5960
|
+
};
|
|
5961
|
+
}),
|
|
5928
5962
|
/**
|
|
5929
5963
|
*
|
|
5930
5964
|
* @param {string} id
|
|
@@ -6259,6 +6293,21 @@ const ClubsApiFp = function (configuration) {
|
|
|
6259
6293
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6260
6294
|
});
|
|
6261
6295
|
},
|
|
6296
|
+
/**
|
|
6297
|
+
* Récupère le fuseau horaire d\'un club
|
|
6298
|
+
* @param {string} id
|
|
6299
|
+
* @param {*} [options] Override http request option.
|
|
6300
|
+
* @throws {RequiredError}
|
|
6301
|
+
*/
|
|
6302
|
+
getClubTimezone(id, options) {
|
|
6303
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6304
|
+
var _a, _b, _c;
|
|
6305
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubTimezone(id, options);
|
|
6306
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6307
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getClubTimezone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6308
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6309
|
+
});
|
|
6310
|
+
},
|
|
6262
6311
|
/**
|
|
6263
6312
|
*
|
|
6264
6313
|
* @param {string} id
|
|
@@ -6445,6 +6494,15 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
6445
6494
|
getClubPageInfo(requestParameters, options) {
|
|
6446
6495
|
return localVarFp.getClubPageInfo(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
6447
6496
|
},
|
|
6497
|
+
/**
|
|
6498
|
+
* Récupère le fuseau horaire d\'un club
|
|
6499
|
+
* @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
|
|
6500
|
+
* @param {*} [options] Override http request option.
|
|
6501
|
+
* @throws {RequiredError}
|
|
6502
|
+
*/
|
|
6503
|
+
getClubTimezone(requestParameters, options) {
|
|
6504
|
+
return localVarFp.getClubTimezone(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6505
|
+
},
|
|
6448
6506
|
/**
|
|
6449
6507
|
*
|
|
6450
6508
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -6594,6 +6652,16 @@ class ClubsApi extends base_1.BaseAPI {
|
|
|
6594
6652
|
getClubPageInfo(requestParameters, options) {
|
|
6595
6653
|
return (0, exports.ClubsApiFp)(this.configuration).getClubPageInfo(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
6596
6654
|
}
|
|
6655
|
+
/**
|
|
6656
|
+
* Récupère le fuseau horaire d\'un club
|
|
6657
|
+
* @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
|
|
6658
|
+
* @param {*} [options] Override http request option.
|
|
6659
|
+
* @throws {RequiredError}
|
|
6660
|
+
* @memberof ClubsApi
|
|
6661
|
+
*/
|
|
6662
|
+
getClubTimezone(requestParameters, options) {
|
|
6663
|
+
return (0, exports.ClubsApiFp)(this.configuration).getClubTimezone(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6664
|
+
}
|
|
6597
6665
|
/**
|
|
6598
6666
|
*
|
|
6599
6667
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED