@tennac-booking/sdk 1.0.128 → 1.0.130
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 +10 -0
- package/README.md +12 -0
- package/api.ts +427 -0
- package/dist/api.d.ts +341 -0
- package/dist/api.js +138 -4
- package/dist/esm/api.d.ts +341 -0
- package/dist/esm/api.js +134 -0
- package/docs/ClubAccessSettingsResponse.md +26 -0
- package/docs/ClubSettingsManagerApi.md +52 -0
- package/docs/ClubSettingsStaffApi.md +44 -0
- package/docs/HotelAccessSettings.md +26 -0
- package/docs/PartialHotelAccessSettings.md +27 -0
- package/docs/PartialPaymentRequirementsSettings.md +23 -0
- package/docs/PartialPublicAccessSettings.md +25 -0
- package/docs/PartialSchoolAccessSettings.md +25 -0
- package/docs/PaymentRequirementsSettings.md +22 -0
- package/docs/PublicAccessSettings.md +24 -0
- package/docs/SchoolAccessSettings.md +24 -0
- package/docs/UpdateClubAccessSettingsRequest.md +26 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -58,6 +58,7 @@ docs/ClientRegisterRequest.md
|
|
|
58
58
|
docs/ClientSubscription.md
|
|
59
59
|
docs/ClientSubscriptionItem.md
|
|
60
60
|
docs/ClientSubscriptionsResponse.md
|
|
61
|
+
docs/ClubAccessSettingsResponse.md
|
|
61
62
|
docs/ClubAnalyticsApi.md
|
|
62
63
|
docs/ClubAnalyticsStaffApi.md
|
|
63
64
|
docs/ClubDaySchedule.md
|
|
@@ -165,6 +166,7 @@ docs/GetSlotsByClubById200Response.md
|
|
|
165
166
|
docs/GoogleAuthRequestBody.md
|
|
166
167
|
docs/GoogleAuthResponse.md
|
|
167
168
|
docs/GoogleAuthResponseUser.md
|
|
169
|
+
docs/HotelAccessSettings.md
|
|
168
170
|
docs/ICourtData.md
|
|
169
171
|
docs/ILevelBySports.md
|
|
170
172
|
docs/IUserAttributes.md
|
|
@@ -198,9 +200,14 @@ docs/OffPeakRule.md
|
|
|
198
200
|
docs/PartialClubActiveResponse.md
|
|
199
201
|
docs/PartialClubActiveResponseLocation.md
|
|
200
202
|
docs/PartialClubWeeklySchedule.md
|
|
203
|
+
docs/PartialHotelAccessSettings.md
|
|
204
|
+
docs/PartialPaymentRequirementsSettings.md
|
|
205
|
+
docs/PartialPublicAccessSettings.md
|
|
206
|
+
docs/PartialSchoolAccessSettings.md
|
|
201
207
|
docs/PasswordResetRequestBody.md
|
|
202
208
|
docs/PaymentByPlayerInfo.md
|
|
203
209
|
docs/PaymentMethod.md
|
|
210
|
+
docs/PaymentRequirementsSettings.md
|
|
204
211
|
docs/PickIUserLocationExcludeKeyofIUserLocationType.md
|
|
205
212
|
docs/PlanInterval.md
|
|
206
213
|
docs/PlanPrice.md
|
|
@@ -216,6 +223,7 @@ docs/PlayerSummary.md
|
|
|
216
223
|
docs/PlayerWithPaymentMethod.md
|
|
217
224
|
docs/ProfilePictureResponse.md
|
|
218
225
|
docs/ProfilePictureUpdateRequestBody.md
|
|
226
|
+
docs/PublicAccessSettings.md
|
|
219
227
|
docs/PublicSubscriptionPlanResponse.md
|
|
220
228
|
docs/PublicUserProfileResponse.md
|
|
221
229
|
docs/PublishEventResponse.md
|
|
@@ -232,6 +240,7 @@ docs/RequestPasswordReset200Response.md
|
|
|
232
240
|
docs/ResetPasswordRequest.md
|
|
233
241
|
docs/RetentionRateResponse.md
|
|
234
242
|
docs/RevenueBySportItem.md
|
|
243
|
+
docs/SchoolAccessSettings.md
|
|
235
244
|
docs/SendSubscriptionInvitationRequest.md
|
|
236
245
|
docs/SendSubscriptionInvitationResponse.md
|
|
237
246
|
docs/SlotInfo.md
|
|
@@ -294,6 +303,7 @@ docs/SurfaceType.md
|
|
|
294
303
|
docs/Team.md
|
|
295
304
|
docs/TimeBounds.md
|
|
296
305
|
docs/UpdateActuality200Response.md
|
|
306
|
+
docs/UpdateClubAccessSettingsRequest.md
|
|
297
307
|
docs/UpdateClubGeneralSettingsRequest.md
|
|
298
308
|
docs/UpdateClubGeneralSettingsRequestLogo.md
|
|
299
309
|
docs/UpdateClubHoursSettingsRequest.md
|
package/README.md
CHANGED
|
@@ -94,10 +94,12 @@ Class | Method | HTTP request | Description
|
|
|
94
94
|
*ClubRolesStaffApi* | [**getAllClubRoles**](docs/ClubRolesStaffApi.md#getallclubroles) | **GET** /api/club-roles |
|
|
95
95
|
*ClubRolesStaffApi* | [**getClubRoleById**](docs/ClubRolesStaffApi.md#getclubrolebyid) | **GET** /api/club-roles/{id} |
|
|
96
96
|
*ClubRolesStaffApi* | [**getUserRolesInClubs**](docs/ClubRolesStaffApi.md#getuserrolesinclubs) | **GET** /api/club-roles/me/roles |
|
|
97
|
+
*ClubSettingsManagerApi* | [**updateAccessSettings**](docs/ClubSettingsManagerApi.md#updateaccesssettings) | **PATCH** /api/club-settings/access |
|
|
97
98
|
*ClubSettingsManagerApi* | [**updateClubGeneralSettings**](docs/ClubSettingsManagerApi.md#updateclubgeneralsettings) | **PATCH** /api/club-settings/settings/general |
|
|
98
99
|
*ClubSettingsManagerApi* | [**updateHoursSettings**](docs/ClubSettingsManagerApi.md#updatehourssettings) | **PUT** /api/club-settings/hours |
|
|
99
100
|
*ClubSettingsManagerApi* | [**updatePresentationSettings**](docs/ClubSettingsManagerApi.md#updatepresentationsettings) | **PATCH** /api/club-settings/presentation |
|
|
100
101
|
*ClubSettingsManagerApi* | [**updateReservationSettings**](docs/ClubSettingsManagerApi.md#updatereservationsettings) | **PUT** /api/club-settings/reservation |
|
|
102
|
+
*ClubSettingsStaffApi* | [**getAccessSettings**](docs/ClubSettingsStaffApi.md#getaccesssettings) | **GET** /api/club-settings/access |
|
|
101
103
|
*ClubSettingsStaffApi* | [**getClubGeneralSettings**](docs/ClubSettingsStaffApi.md#getclubgeneralsettings) | **GET** /api/club-settings/settings/general |
|
|
102
104
|
*ClubSettingsStaffApi* | [**getHoursSettings**](docs/ClubSettingsStaffApi.md#gethourssettings) | **GET** /api/club-settings/hours |
|
|
103
105
|
*ClubSettingsStaffApi* | [**getPresentationSettings**](docs/ClubSettingsStaffApi.md#getpresentationsettings) | **GET** /api/club-settings/presentation |
|
|
@@ -271,6 +273,7 @@ Class | Method | HTTP request | Description
|
|
|
271
273
|
- [ClientSubscription](docs/ClientSubscription.md)
|
|
272
274
|
- [ClientSubscriptionItem](docs/ClientSubscriptionItem.md)
|
|
273
275
|
- [ClientSubscriptionsResponse](docs/ClientSubscriptionsResponse.md)
|
|
276
|
+
- [ClubAccessSettingsResponse](docs/ClubAccessSettingsResponse.md)
|
|
274
277
|
- [ClubDaySchedule](docs/ClubDaySchedule.md)
|
|
275
278
|
- [ClubEvent](docs/ClubEvent.md)
|
|
276
279
|
- [ClubGeneralSettingsResponse](docs/ClubGeneralSettingsResponse.md)
|
|
@@ -365,6 +368,7 @@ Class | Method | HTTP request | Description
|
|
|
365
368
|
- [GoogleAuthRequestBody](docs/GoogleAuthRequestBody.md)
|
|
366
369
|
- [GoogleAuthResponse](docs/GoogleAuthResponse.md)
|
|
367
370
|
- [GoogleAuthResponseUser](docs/GoogleAuthResponseUser.md)
|
|
371
|
+
- [HotelAccessSettings](docs/HotelAccessSettings.md)
|
|
368
372
|
- [ICourtData](docs/ICourtData.md)
|
|
369
373
|
- [ILevelBySports](docs/ILevelBySports.md)
|
|
370
374
|
- [IUserAttributes](docs/IUserAttributes.md)
|
|
@@ -397,9 +401,14 @@ Class | Method | HTTP request | Description
|
|
|
397
401
|
- [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
|
|
398
402
|
- [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
|
|
399
403
|
- [PartialClubWeeklySchedule](docs/PartialClubWeeklySchedule.md)
|
|
404
|
+
- [PartialHotelAccessSettings](docs/PartialHotelAccessSettings.md)
|
|
405
|
+
- [PartialPaymentRequirementsSettings](docs/PartialPaymentRequirementsSettings.md)
|
|
406
|
+
- [PartialPublicAccessSettings](docs/PartialPublicAccessSettings.md)
|
|
407
|
+
- [PartialSchoolAccessSettings](docs/PartialSchoolAccessSettings.md)
|
|
400
408
|
- [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
|
|
401
409
|
- [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
|
|
402
410
|
- [PaymentMethod](docs/PaymentMethod.md)
|
|
411
|
+
- [PaymentRequirementsSettings](docs/PaymentRequirementsSettings.md)
|
|
403
412
|
- [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
|
|
404
413
|
- [PlanInterval](docs/PlanInterval.md)
|
|
405
414
|
- [PlanPrice](docs/PlanPrice.md)
|
|
@@ -415,6 +424,7 @@ Class | Method | HTTP request | Description
|
|
|
415
424
|
- [PlayerWithPaymentMethod](docs/PlayerWithPaymentMethod.md)
|
|
416
425
|
- [ProfilePictureResponse](docs/ProfilePictureResponse.md)
|
|
417
426
|
- [ProfilePictureUpdateRequestBody](docs/ProfilePictureUpdateRequestBody.md)
|
|
427
|
+
- [PublicAccessSettings](docs/PublicAccessSettings.md)
|
|
418
428
|
- [PublicSubscriptionPlanResponse](docs/PublicSubscriptionPlanResponse.md)
|
|
419
429
|
- [PublicUserProfileResponse](docs/PublicUserProfileResponse.md)
|
|
420
430
|
- [PublishEventResponse](docs/PublishEventResponse.md)
|
|
@@ -431,6 +441,7 @@ Class | Method | HTTP request | Description
|
|
|
431
441
|
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
|
|
432
442
|
- [RetentionRateResponse](docs/RetentionRateResponse.md)
|
|
433
443
|
- [RevenueBySportItem](docs/RevenueBySportItem.md)
|
|
444
|
+
- [SchoolAccessSettings](docs/SchoolAccessSettings.md)
|
|
434
445
|
- [SendSubscriptionInvitationRequest](docs/SendSubscriptionInvitationRequest.md)
|
|
435
446
|
- [SendSubscriptionInvitationResponse](docs/SendSubscriptionInvitationResponse.md)
|
|
436
447
|
- [SlotInfo](docs/SlotInfo.md)
|
|
@@ -487,6 +498,7 @@ Class | Method | HTTP request | Description
|
|
|
487
498
|
- [Team](docs/Team.md)
|
|
488
499
|
- [TimeBounds](docs/TimeBounds.md)
|
|
489
500
|
- [UpdateActuality200Response](docs/UpdateActuality200Response.md)
|
|
501
|
+
- [UpdateClubAccessSettingsRequest](docs/UpdateClubAccessSettingsRequest.md)
|
|
490
502
|
- [UpdateClubGeneralSettingsRequest](docs/UpdateClubGeneralSettingsRequest.md)
|
|
491
503
|
- [UpdateClubGeneralSettingsRequestLogo](docs/UpdateClubGeneralSettingsRequestLogo.md)
|
|
492
504
|
- [UpdateClubHoursSettingsRequest](docs/UpdateClubHoursSettingsRequest.md)
|
package/api.ts
CHANGED
|
@@ -1837,6 +1837,37 @@ export interface ClientSubscriptionsResponse {
|
|
|
1837
1837
|
*/
|
|
1838
1838
|
'subscriptions': Array<ClientSubscription>;
|
|
1839
1839
|
}
|
|
1840
|
+
/**
|
|
1841
|
+
*
|
|
1842
|
+
* @export
|
|
1843
|
+
* @interface ClubAccessSettingsResponse
|
|
1844
|
+
*/
|
|
1845
|
+
export interface ClubAccessSettingsResponse {
|
|
1846
|
+
/**
|
|
1847
|
+
*
|
|
1848
|
+
* @type {PublicAccessSettings}
|
|
1849
|
+
* @memberof ClubAccessSettingsResponse
|
|
1850
|
+
*/
|
|
1851
|
+
'publicAccess': PublicAccessSettings | null;
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @type {SchoolAccessSettings}
|
|
1855
|
+
* @memberof ClubAccessSettingsResponse
|
|
1856
|
+
*/
|
|
1857
|
+
'schoolAccess': SchoolAccessSettings | null;
|
|
1858
|
+
/**
|
|
1859
|
+
*
|
|
1860
|
+
* @type {HotelAccessSettings}
|
|
1861
|
+
* @memberof ClubAccessSettingsResponse
|
|
1862
|
+
*/
|
|
1863
|
+
'hotelAccess': HotelAccessSettings | null;
|
|
1864
|
+
/**
|
|
1865
|
+
*
|
|
1866
|
+
* @type {PaymentRequirementsSettings}
|
|
1867
|
+
* @memberof ClubAccessSettingsResponse
|
|
1868
|
+
*/
|
|
1869
|
+
'paymentRequirements': PaymentRequirementsSettings | null;
|
|
1870
|
+
}
|
|
1840
1871
|
/**
|
|
1841
1872
|
*
|
|
1842
1873
|
* @export
|
|
@@ -5184,6 +5215,37 @@ export interface GoogleAuthResponseUser {
|
|
|
5184
5215
|
*/
|
|
5185
5216
|
'id': string;
|
|
5186
5217
|
}
|
|
5218
|
+
/**
|
|
5219
|
+
*
|
|
5220
|
+
* @export
|
|
5221
|
+
* @interface HotelAccessSettings
|
|
5222
|
+
*/
|
|
5223
|
+
export interface HotelAccessSettings {
|
|
5224
|
+
/**
|
|
5225
|
+
*
|
|
5226
|
+
* @type {boolean}
|
|
5227
|
+
* @memberof HotelAccessSettings
|
|
5228
|
+
*/
|
|
5229
|
+
'enabled': boolean;
|
|
5230
|
+
/**
|
|
5231
|
+
*
|
|
5232
|
+
* @type {string}
|
|
5233
|
+
* @memberof HotelAccessSettings
|
|
5234
|
+
*/
|
|
5235
|
+
'accessCode'?: string | null;
|
|
5236
|
+
/**
|
|
5237
|
+
*
|
|
5238
|
+
* @type {string}
|
|
5239
|
+
* @memberof HotelAccessSettings
|
|
5240
|
+
*/
|
|
5241
|
+
'validFrom'?: string | null;
|
|
5242
|
+
/**
|
|
5243
|
+
*
|
|
5244
|
+
* @type {string}
|
|
5245
|
+
* @memberof HotelAccessSettings
|
|
5246
|
+
*/
|
|
5247
|
+
'validUntil'?: string | null;
|
|
5248
|
+
}
|
|
5187
5249
|
/**
|
|
5188
5250
|
*
|
|
5189
5251
|
* @export
|
|
@@ -6420,6 +6482,115 @@ export interface PartialClubWeeklySchedule {
|
|
|
6420
6482
|
*/
|
|
6421
6483
|
'sunday'?: ClubDaySchedule;
|
|
6422
6484
|
}
|
|
6485
|
+
/**
|
|
6486
|
+
* Make all properties in T optional
|
|
6487
|
+
* @export
|
|
6488
|
+
* @interface PartialHotelAccessSettings
|
|
6489
|
+
*/
|
|
6490
|
+
export interface PartialHotelAccessSettings {
|
|
6491
|
+
/**
|
|
6492
|
+
*
|
|
6493
|
+
* @type {string}
|
|
6494
|
+
* @memberof PartialHotelAccessSettings
|
|
6495
|
+
*/
|
|
6496
|
+
'accessCode'?: string;
|
|
6497
|
+
/**
|
|
6498
|
+
*
|
|
6499
|
+
* @type {string}
|
|
6500
|
+
* @memberof PartialHotelAccessSettings
|
|
6501
|
+
*/
|
|
6502
|
+
'validFrom'?: string;
|
|
6503
|
+
/**
|
|
6504
|
+
*
|
|
6505
|
+
* @type {string}
|
|
6506
|
+
* @memberof PartialHotelAccessSettings
|
|
6507
|
+
*/
|
|
6508
|
+
'validUntil'?: string;
|
|
6509
|
+
/**
|
|
6510
|
+
*
|
|
6511
|
+
* @type {boolean}
|
|
6512
|
+
* @memberof PartialHotelAccessSettings
|
|
6513
|
+
*/
|
|
6514
|
+
'enabled'?: boolean;
|
|
6515
|
+
}
|
|
6516
|
+
/**
|
|
6517
|
+
* Make all properties in T optional
|
|
6518
|
+
* @export
|
|
6519
|
+
* @interface PartialPaymentRequirementsSettings
|
|
6520
|
+
*/
|
|
6521
|
+
export interface PartialPaymentRequirementsSettings {
|
|
6522
|
+
/**
|
|
6523
|
+
*
|
|
6524
|
+
* @type {boolean}
|
|
6525
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
6526
|
+
*/
|
|
6527
|
+
'isNoShowEnabled'?: boolean;
|
|
6528
|
+
/**
|
|
6529
|
+
*
|
|
6530
|
+
* @type {boolean}
|
|
6531
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
6532
|
+
*/
|
|
6533
|
+
'requireOnlinePayment'?: boolean;
|
|
6534
|
+
}
|
|
6535
|
+
/**
|
|
6536
|
+
* Make all properties in T optional
|
|
6537
|
+
* @export
|
|
6538
|
+
* @interface PartialPublicAccessSettings
|
|
6539
|
+
*/
|
|
6540
|
+
export interface PartialPublicAccessSettings {
|
|
6541
|
+
/**
|
|
6542
|
+
*
|
|
6543
|
+
* @type {string}
|
|
6544
|
+
* @memberof PartialPublicAccessSettings
|
|
6545
|
+
*/
|
|
6546
|
+
'paymentMode'?: PartialPublicAccessSettingsPaymentModeEnum;
|
|
6547
|
+
/**
|
|
6548
|
+
*
|
|
6549
|
+
* @type {number}
|
|
6550
|
+
* @memberof PartialPublicAccessSettings
|
|
6551
|
+
*/
|
|
6552
|
+
'pricePerAccess'?: number;
|
|
6553
|
+
/**
|
|
6554
|
+
*
|
|
6555
|
+
* @type {boolean}
|
|
6556
|
+
* @memberof PartialPublicAccessSettings
|
|
6557
|
+
*/
|
|
6558
|
+
'enabled'?: boolean;
|
|
6559
|
+
}
|
|
6560
|
+
|
|
6561
|
+
export const PartialPublicAccessSettingsPaymentModeEnum = {
|
|
6562
|
+
Free: 'free',
|
|
6563
|
+
AccessFee: 'access_fee',
|
|
6564
|
+
PerCourt: 'per_court'
|
|
6565
|
+
} as const;
|
|
6566
|
+
|
|
6567
|
+
export type PartialPublicAccessSettingsPaymentModeEnum = typeof PartialPublicAccessSettingsPaymentModeEnum[keyof typeof PartialPublicAccessSettingsPaymentModeEnum];
|
|
6568
|
+
|
|
6569
|
+
/**
|
|
6570
|
+
* Make all properties in T optional
|
|
6571
|
+
* @export
|
|
6572
|
+
* @interface PartialSchoolAccessSettings
|
|
6573
|
+
*/
|
|
6574
|
+
export interface PartialSchoolAccessSettings {
|
|
6575
|
+
/**
|
|
6576
|
+
*
|
|
6577
|
+
* @type {Array<string>}
|
|
6578
|
+
* @memberof PartialSchoolAccessSettings
|
|
6579
|
+
*/
|
|
6580
|
+
'emailSuffixes'?: Array<string>;
|
|
6581
|
+
/**
|
|
6582
|
+
*
|
|
6583
|
+
* @type {boolean}
|
|
6584
|
+
* @memberof PartialSchoolAccessSettings
|
|
6585
|
+
*/
|
|
6586
|
+
'requireCertification'?: boolean;
|
|
6587
|
+
/**
|
|
6588
|
+
*
|
|
6589
|
+
* @type {boolean}
|
|
6590
|
+
* @memberof PartialSchoolAccessSettings
|
|
6591
|
+
*/
|
|
6592
|
+
'enabled'?: boolean;
|
|
6593
|
+
}
|
|
6423
6594
|
/**
|
|
6424
6595
|
*
|
|
6425
6596
|
* @export
|
|
@@ -6469,6 +6640,25 @@ export const PaymentMethod = {
|
|
|
6469
6640
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
6470
6641
|
|
|
6471
6642
|
|
|
6643
|
+
/**
|
|
6644
|
+
*
|
|
6645
|
+
* @export
|
|
6646
|
+
* @interface PaymentRequirementsSettings
|
|
6647
|
+
*/
|
|
6648
|
+
export interface PaymentRequirementsSettings {
|
|
6649
|
+
/**
|
|
6650
|
+
*
|
|
6651
|
+
* @type {boolean}
|
|
6652
|
+
* @memberof PaymentRequirementsSettings
|
|
6653
|
+
*/
|
|
6654
|
+
'isNoShowEnabled': boolean;
|
|
6655
|
+
/**
|
|
6656
|
+
*
|
|
6657
|
+
* @type {boolean}
|
|
6658
|
+
* @memberof PaymentRequirementsSettings
|
|
6659
|
+
*/
|
|
6660
|
+
'requireOnlinePayment': boolean;
|
|
6661
|
+
}
|
|
6472
6662
|
/**
|
|
6473
6663
|
* From T, pick a set of properties whose keys are in the union K
|
|
6474
6664
|
* @export
|
|
@@ -6977,6 +7167,40 @@ export interface ProfilePictureUpdateRequestBody {
|
|
|
6977
7167
|
*/
|
|
6978
7168
|
'profilePicture': string;
|
|
6979
7169
|
}
|
|
7170
|
+
/**
|
|
7171
|
+
*
|
|
7172
|
+
* @export
|
|
7173
|
+
* @interface PublicAccessSettings
|
|
7174
|
+
*/
|
|
7175
|
+
export interface PublicAccessSettings {
|
|
7176
|
+
/**
|
|
7177
|
+
*
|
|
7178
|
+
* @type {boolean}
|
|
7179
|
+
* @memberof PublicAccessSettings
|
|
7180
|
+
*/
|
|
7181
|
+
'enabled': boolean;
|
|
7182
|
+
/**
|
|
7183
|
+
*
|
|
7184
|
+
* @type {string}
|
|
7185
|
+
* @memberof PublicAccessSettings
|
|
7186
|
+
*/
|
|
7187
|
+
'paymentMode': PublicAccessSettingsPaymentModeEnum;
|
|
7188
|
+
/**
|
|
7189
|
+
*
|
|
7190
|
+
* @type {number}
|
|
7191
|
+
* @memberof PublicAccessSettings
|
|
7192
|
+
*/
|
|
7193
|
+
'pricePerAccess': number | null;
|
|
7194
|
+
}
|
|
7195
|
+
|
|
7196
|
+
export const PublicAccessSettingsPaymentModeEnum = {
|
|
7197
|
+
Free: 'free',
|
|
7198
|
+
AccessFee: 'access_fee',
|
|
7199
|
+
PerCourt: 'per_court'
|
|
7200
|
+
} as const;
|
|
7201
|
+
|
|
7202
|
+
export type PublicAccessSettingsPaymentModeEnum = typeof PublicAccessSettingsPaymentModeEnum[keyof typeof PublicAccessSettingsPaymentModeEnum];
|
|
7203
|
+
|
|
6980
7204
|
/**
|
|
6981
7205
|
*
|
|
6982
7206
|
* @export
|
|
@@ -7644,6 +7868,31 @@ export interface RevenueBySportItem {
|
|
|
7644
7868
|
*/
|
|
7645
7869
|
'totalTurnover': number;
|
|
7646
7870
|
}
|
|
7871
|
+
/**
|
|
7872
|
+
*
|
|
7873
|
+
* @export
|
|
7874
|
+
* @interface SchoolAccessSettings
|
|
7875
|
+
*/
|
|
7876
|
+
export interface SchoolAccessSettings {
|
|
7877
|
+
/**
|
|
7878
|
+
*
|
|
7879
|
+
* @type {boolean}
|
|
7880
|
+
* @memberof SchoolAccessSettings
|
|
7881
|
+
*/
|
|
7882
|
+
'enabled': boolean;
|
|
7883
|
+
/**
|
|
7884
|
+
*
|
|
7885
|
+
* @type {Array<string>}
|
|
7886
|
+
* @memberof SchoolAccessSettings
|
|
7887
|
+
*/
|
|
7888
|
+
'emailSuffixes': Array<string>;
|
|
7889
|
+
/**
|
|
7890
|
+
*
|
|
7891
|
+
* @type {boolean}
|
|
7892
|
+
* @memberof SchoolAccessSettings
|
|
7893
|
+
*/
|
|
7894
|
+
'requireCertification': boolean;
|
|
7895
|
+
}
|
|
7647
7896
|
/**
|
|
7648
7897
|
*
|
|
7649
7898
|
* @export
|
|
@@ -10031,6 +10280,37 @@ export interface UpdateActuality200Response {
|
|
|
10031
10280
|
*/
|
|
10032
10281
|
'actuality': any;
|
|
10033
10282
|
}
|
|
10283
|
+
/**
|
|
10284
|
+
*
|
|
10285
|
+
* @export
|
|
10286
|
+
* @interface UpdateClubAccessSettingsRequest
|
|
10287
|
+
*/
|
|
10288
|
+
export interface UpdateClubAccessSettingsRequest {
|
|
10289
|
+
/**
|
|
10290
|
+
*
|
|
10291
|
+
* @type {PartialPublicAccessSettings}
|
|
10292
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10293
|
+
*/
|
|
10294
|
+
'publicAccess'?: PartialPublicAccessSettings;
|
|
10295
|
+
/**
|
|
10296
|
+
*
|
|
10297
|
+
* @type {PartialSchoolAccessSettings}
|
|
10298
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10299
|
+
*/
|
|
10300
|
+
'schoolAccess'?: PartialSchoolAccessSettings;
|
|
10301
|
+
/**
|
|
10302
|
+
*
|
|
10303
|
+
* @type {PartialHotelAccessSettings}
|
|
10304
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10305
|
+
*/
|
|
10306
|
+
'hotelAccess'?: PartialHotelAccessSettings;
|
|
10307
|
+
/**
|
|
10308
|
+
*
|
|
10309
|
+
* @type {PartialPaymentRequirementsSettings}
|
|
10310
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
10311
|
+
*/
|
|
10312
|
+
'paymentRequirements'?: PartialPaymentRequirementsSettings;
|
|
10313
|
+
}
|
|
10034
10314
|
/**
|
|
10035
10315
|
*
|
|
10036
10316
|
* @export
|
|
@@ -15366,6 +15646,45 @@ export class ClubRolesStaffApi extends BaseAPI {
|
|
|
15366
15646
|
*/
|
|
15367
15647
|
export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15368
15648
|
return {
|
|
15649
|
+
/**
|
|
15650
|
+
*
|
|
15651
|
+
* @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
|
|
15652
|
+
* @param {*} [options] Override http request option.
|
|
15653
|
+
* @throws {RequiredError}
|
|
15654
|
+
*/
|
|
15655
|
+
updateAccessSettings: async (updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15656
|
+
// verify required parameter 'updateClubAccessSettingsRequest' is not null or undefined
|
|
15657
|
+
assertParamExists('updateAccessSettings', 'updateClubAccessSettingsRequest', updateClubAccessSettingsRequest)
|
|
15658
|
+
const localVarPath = `/api/club-settings/access`;
|
|
15659
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15660
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15661
|
+
let baseOptions;
|
|
15662
|
+
if (configuration) {
|
|
15663
|
+
baseOptions = configuration.baseOptions;
|
|
15664
|
+
}
|
|
15665
|
+
|
|
15666
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
15667
|
+
const localVarHeaderParameter = {} as any;
|
|
15668
|
+
const localVarQueryParameter = {} as any;
|
|
15669
|
+
|
|
15670
|
+
// authentication bearerAuth required
|
|
15671
|
+
// http bearer authentication required
|
|
15672
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15673
|
+
|
|
15674
|
+
|
|
15675
|
+
|
|
15676
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15677
|
+
|
|
15678
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15679
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15680
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15681
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClubAccessSettingsRequest, localVarRequestOptions, configuration)
|
|
15682
|
+
|
|
15683
|
+
return {
|
|
15684
|
+
url: toPathString(localVarUrlObj),
|
|
15685
|
+
options: localVarRequestOptions,
|
|
15686
|
+
};
|
|
15687
|
+
},
|
|
15369
15688
|
/**
|
|
15370
15689
|
*
|
|
15371
15690
|
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
@@ -15532,6 +15851,18 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
|
|
|
15532
15851
|
export const ClubSettingsManagerApiFp = function(configuration?: Configuration) {
|
|
15533
15852
|
const localVarAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator(configuration)
|
|
15534
15853
|
return {
|
|
15854
|
+
/**
|
|
15855
|
+
*
|
|
15856
|
+
* @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
|
|
15857
|
+
* @param {*} [options] Override http request option.
|
|
15858
|
+
* @throws {RequiredError}
|
|
15859
|
+
*/
|
|
15860
|
+
async updateAccessSettings(updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubAccessSettingsResponse>> {
|
|
15861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAccessSettings(updateClubAccessSettingsRequest, options);
|
|
15862
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15863
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateAccessSettings']?.[localVarOperationServerIndex]?.url;
|
|
15864
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15865
|
+
},
|
|
15535
15866
|
/**
|
|
15536
15867
|
*
|
|
15537
15868
|
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
@@ -15590,6 +15921,15 @@ export const ClubSettingsManagerApiFp = function(configuration?: Configuration)
|
|
|
15590
15921
|
export const ClubSettingsManagerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15591
15922
|
const localVarFp = ClubSettingsManagerApiFp(configuration)
|
|
15592
15923
|
return {
|
|
15924
|
+
/**
|
|
15925
|
+
*
|
|
15926
|
+
* @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
|
|
15927
|
+
* @param {*} [options] Override http request option.
|
|
15928
|
+
* @throws {RequiredError}
|
|
15929
|
+
*/
|
|
15930
|
+
updateAccessSettings(requestParameters: ClubSettingsManagerApiUpdateAccessSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubAccessSettingsResponse> {
|
|
15931
|
+
return localVarFp.updateAccessSettings(requestParameters.updateClubAccessSettingsRequest, options).then((request) => request(axios, basePath));
|
|
15932
|
+
},
|
|
15593
15933
|
/**
|
|
15594
15934
|
*
|
|
15595
15935
|
* @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
@@ -15629,6 +15969,20 @@ export const ClubSettingsManagerApiFactory = function (configuration?: Configura
|
|
|
15629
15969
|
};
|
|
15630
15970
|
};
|
|
15631
15971
|
|
|
15972
|
+
/**
|
|
15973
|
+
* Request parameters for updateAccessSettings operation in ClubSettingsManagerApi.
|
|
15974
|
+
* @export
|
|
15975
|
+
* @interface ClubSettingsManagerApiUpdateAccessSettingsRequest
|
|
15976
|
+
*/
|
|
15977
|
+
export interface ClubSettingsManagerApiUpdateAccessSettingsRequest {
|
|
15978
|
+
/**
|
|
15979
|
+
*
|
|
15980
|
+
* @type {UpdateClubAccessSettingsRequest}
|
|
15981
|
+
* @memberof ClubSettingsManagerApiUpdateAccessSettings
|
|
15982
|
+
*/
|
|
15983
|
+
readonly updateClubAccessSettingsRequest: UpdateClubAccessSettingsRequest
|
|
15984
|
+
}
|
|
15985
|
+
|
|
15632
15986
|
/**
|
|
15633
15987
|
* Request parameters for updateClubGeneralSettings operation in ClubSettingsManagerApi.
|
|
15634
15988
|
* @export
|
|
@@ -15692,6 +16046,17 @@ export interface ClubSettingsManagerApiUpdateReservationSettingsRequest {
|
|
|
15692
16046
|
* @extends {BaseAPI}
|
|
15693
16047
|
*/
|
|
15694
16048
|
export class ClubSettingsManagerApi extends BaseAPI {
|
|
16049
|
+
/**
|
|
16050
|
+
*
|
|
16051
|
+
* @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
|
|
16052
|
+
* @param {*} [options] Override http request option.
|
|
16053
|
+
* @throws {RequiredError}
|
|
16054
|
+
* @memberof ClubSettingsManagerApi
|
|
16055
|
+
*/
|
|
16056
|
+
public updateAccessSettings(requestParameters: ClubSettingsManagerApiUpdateAccessSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
16057
|
+
return ClubSettingsManagerApiFp(this.configuration).updateAccessSettings(requestParameters.updateClubAccessSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16058
|
+
}
|
|
16059
|
+
|
|
15695
16060
|
/**
|
|
15696
16061
|
*
|
|
15697
16062
|
* @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
@@ -15745,6 +16110,39 @@ export class ClubSettingsManagerApi extends BaseAPI {
|
|
|
15745
16110
|
*/
|
|
15746
16111
|
export const ClubSettingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15747
16112
|
return {
|
|
16113
|
+
/**
|
|
16114
|
+
*
|
|
16115
|
+
* @param {*} [options] Override http request option.
|
|
16116
|
+
* @throws {RequiredError}
|
|
16117
|
+
*/
|
|
16118
|
+
getAccessSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16119
|
+
const localVarPath = `/api/club-settings/access`;
|
|
16120
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16121
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16122
|
+
let baseOptions;
|
|
16123
|
+
if (configuration) {
|
|
16124
|
+
baseOptions = configuration.baseOptions;
|
|
16125
|
+
}
|
|
16126
|
+
|
|
16127
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16128
|
+
const localVarHeaderParameter = {} as any;
|
|
16129
|
+
const localVarQueryParameter = {} as any;
|
|
16130
|
+
|
|
16131
|
+
// authentication bearerAuth required
|
|
16132
|
+
// http bearer authentication required
|
|
16133
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16134
|
+
|
|
16135
|
+
|
|
16136
|
+
|
|
16137
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16139
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16140
|
+
|
|
16141
|
+
return {
|
|
16142
|
+
url: toPathString(localVarUrlObj),
|
|
16143
|
+
options: localVarRequestOptions,
|
|
16144
|
+
};
|
|
16145
|
+
},
|
|
15748
16146
|
/**
|
|
15749
16147
|
*
|
|
15750
16148
|
* @param {*} [options] Override http request option.
|
|
@@ -15887,6 +16285,17 @@ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration?: C
|
|
|
15887
16285
|
export const ClubSettingsStaffApiFp = function(configuration?: Configuration) {
|
|
15888
16286
|
const localVarAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator(configuration)
|
|
15889
16287
|
return {
|
|
16288
|
+
/**
|
|
16289
|
+
*
|
|
16290
|
+
* @param {*} [options] Override http request option.
|
|
16291
|
+
* @throws {RequiredError}
|
|
16292
|
+
*/
|
|
16293
|
+
async getAccessSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubAccessSettingsResponse>> {
|
|
16294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccessSettings(options);
|
|
16295
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16296
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getAccessSettings']?.[localVarOperationServerIndex]?.url;
|
|
16297
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16298
|
+
},
|
|
15890
16299
|
/**
|
|
15891
16300
|
*
|
|
15892
16301
|
* @param {*} [options] Override http request option.
|
|
@@ -15941,6 +16350,14 @@ export const ClubSettingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
15941
16350
|
export const ClubSettingsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15942
16351
|
const localVarFp = ClubSettingsStaffApiFp(configuration)
|
|
15943
16352
|
return {
|
|
16353
|
+
/**
|
|
16354
|
+
*
|
|
16355
|
+
* @param {*} [options] Override http request option.
|
|
16356
|
+
* @throws {RequiredError}
|
|
16357
|
+
*/
|
|
16358
|
+
getAccessSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubAccessSettingsResponse> {
|
|
16359
|
+
return localVarFp.getAccessSettings(options).then((request) => request(axios, basePath));
|
|
16360
|
+
},
|
|
15944
16361
|
/**
|
|
15945
16362
|
*
|
|
15946
16363
|
* @param {*} [options] Override http request option.
|
|
@@ -15983,6 +16400,16 @@ export const ClubSettingsStaffApiFactory = function (configuration?: Configurati
|
|
|
15983
16400
|
* @extends {BaseAPI}
|
|
15984
16401
|
*/
|
|
15985
16402
|
export class ClubSettingsStaffApi extends BaseAPI {
|
|
16403
|
+
/**
|
|
16404
|
+
*
|
|
16405
|
+
* @param {*} [options] Override http request option.
|
|
16406
|
+
* @throws {RequiredError}
|
|
16407
|
+
* @memberof ClubSettingsStaffApi
|
|
16408
|
+
*/
|
|
16409
|
+
public getAccessSettings(options?: RawAxiosRequestConfig) {
|
|
16410
|
+
return ClubSettingsStaffApiFp(this.configuration).getAccessSettings(options).then((request) => request(this.axios, this.basePath));
|
|
16411
|
+
}
|
|
16412
|
+
|
|
15986
16413
|
/**
|
|
15987
16414
|
*
|
|
15988
16415
|
* @param {*} [options] Override http request option.
|