@tennac-booking/sdk 1.0.171 → 1.0.173
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 +399 -394
- package/README.md +11 -3
- package/api.ts +562 -28
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +432 -28
- package/dist/api.js +215 -9
- 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 +432 -28
- package/dist/esm/api.js +211 -5
- 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/AppRegisterRequestBody.md +22 -0
- package/docs/CompleteRegisterRequestBody.md +32 -0
- package/docs/{UpdateUserRequestBodyLevelBySportsInner.md → CompleteRegisterRequestBodyLevelBySportsInner.md} +3 -3
- package/docs/EmailExistsResponse.md +2 -0
- package/docs/EventsStaffApi.md +54 -0
- package/docs/EventsWaitListStaffApi.md +1 -1
- package/docs/GoogleAuthResponse.md +2 -0
- package/docs/IUserAttributes.md +4 -0
- package/docs/LoginResponse.md +2 -0
- package/docs/StaffEventBookingInvoiceResponse.md +32 -0
- package/docs/StaffEventBookingResponse.md +40 -0
- package/docs/StaffEventDetailResponse.md +22 -0
- package/docs/StaffUserProfileResponse.md +4 -0
- package/docs/UpdateUserRequestBody.md +2 -2
- package/docs/UserProfileResponse.md +4 -0
- package/docs/UsersApi.md +104 -0
- package/index.ts +1 -1
- package/package.json +1 -1
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.172
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -217,6 +217,25 @@ export interface AgendaBookingSlot {
|
|
|
217
217
|
*/
|
|
218
218
|
'isIndoor'?: boolean;
|
|
219
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @export
|
|
223
|
+
* @interface AppRegisterRequestBody
|
|
224
|
+
*/
|
|
225
|
+
export interface AppRegisterRequestBody {
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof AppRegisterRequestBody
|
|
230
|
+
*/
|
|
231
|
+
'email': string;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @memberof AppRegisterRequestBody
|
|
236
|
+
*/
|
|
237
|
+
'password': string;
|
|
238
|
+
}
|
|
220
239
|
/**
|
|
221
240
|
*
|
|
222
241
|
* @export
|
|
@@ -3598,6 +3617,74 @@ export interface ClubUserCountResponse {
|
|
|
3598
3617
|
*/
|
|
3599
3618
|
'count': number;
|
|
3600
3619
|
}
|
|
3620
|
+
/**
|
|
3621
|
+
*
|
|
3622
|
+
* @export
|
|
3623
|
+
* @interface CompleteRegisterRequestBody
|
|
3624
|
+
*/
|
|
3625
|
+
export interface CompleteRegisterRequestBody {
|
|
3626
|
+
/**
|
|
3627
|
+
*
|
|
3628
|
+
* @type {string}
|
|
3629
|
+
* @memberof CompleteRegisterRequestBody
|
|
3630
|
+
*/
|
|
3631
|
+
'firstName': string;
|
|
3632
|
+
/**
|
|
3633
|
+
*
|
|
3634
|
+
* @type {string}
|
|
3635
|
+
* @memberof CompleteRegisterRequestBody
|
|
3636
|
+
*/
|
|
3637
|
+
'lastName': string;
|
|
3638
|
+
/**
|
|
3639
|
+
*
|
|
3640
|
+
* @type {string}
|
|
3641
|
+
* @memberof CompleteRegisterRequestBody
|
|
3642
|
+
*/
|
|
3643
|
+
'username': string;
|
|
3644
|
+
/**
|
|
3645
|
+
*
|
|
3646
|
+
* @type {Array<CompleteRegisterRequestBodyLevelBySportsInner>}
|
|
3647
|
+
* @memberof CompleteRegisterRequestBody
|
|
3648
|
+
*/
|
|
3649
|
+
'levelBySports': Array<CompleteRegisterRequestBodyLevelBySportsInner>;
|
|
3650
|
+
/**
|
|
3651
|
+
*
|
|
3652
|
+
* @type {string}
|
|
3653
|
+
* @memberof CompleteRegisterRequestBody
|
|
3654
|
+
*/
|
|
3655
|
+
'city': string;
|
|
3656
|
+
/**
|
|
3657
|
+
*
|
|
3658
|
+
* @type {string}
|
|
3659
|
+
* @memberof CompleteRegisterRequestBody
|
|
3660
|
+
*/
|
|
3661
|
+
'organizationId'?: string;
|
|
3662
|
+
/**
|
|
3663
|
+
*
|
|
3664
|
+
* @type {string}
|
|
3665
|
+
* @memberof CompleteRegisterRequestBody
|
|
3666
|
+
*/
|
|
3667
|
+
'organizationEmail'?: string;
|
|
3668
|
+
}
|
|
3669
|
+
/**
|
|
3670
|
+
*
|
|
3671
|
+
* @export
|
|
3672
|
+
* @interface CompleteRegisterRequestBodyLevelBySportsInner
|
|
3673
|
+
*/
|
|
3674
|
+
export interface CompleteRegisterRequestBodyLevelBySportsInner {
|
|
3675
|
+
/**
|
|
3676
|
+
*
|
|
3677
|
+
* @type {string}
|
|
3678
|
+
* @memberof CompleteRegisterRequestBodyLevelBySportsInner
|
|
3679
|
+
*/
|
|
3680
|
+
'level': string;
|
|
3681
|
+
/**
|
|
3682
|
+
*
|
|
3683
|
+
* @type {string}
|
|
3684
|
+
* @memberof CompleteRegisterRequestBodyLevelBySportsInner
|
|
3685
|
+
*/
|
|
3686
|
+
'sport': string;
|
|
3687
|
+
}
|
|
3601
3688
|
/**
|
|
3602
3689
|
*
|
|
3603
3690
|
* @export
|
|
@@ -4810,6 +4897,12 @@ export interface EmailExistsResponse {
|
|
|
4810
4897
|
* @memberof EmailExistsResponse
|
|
4811
4898
|
*/
|
|
4812
4899
|
'exists': boolean;
|
|
4900
|
+
/**
|
|
4901
|
+
*
|
|
4902
|
+
* @type {boolean}
|
|
4903
|
+
* @memberof EmailExistsResponse
|
|
4904
|
+
*/
|
|
4905
|
+
'verified': boolean;
|
|
4813
4906
|
}
|
|
4814
4907
|
/**
|
|
4815
4908
|
*
|
|
@@ -6229,6 +6322,12 @@ export interface GoogleAuthResponse {
|
|
|
6229
6322
|
* @memberof GoogleAuthResponse
|
|
6230
6323
|
*/
|
|
6231
6324
|
'role': string | null;
|
|
6325
|
+
/**
|
|
6326
|
+
*
|
|
6327
|
+
* @type {boolean}
|
|
6328
|
+
* @memberof GoogleAuthResponse
|
|
6329
|
+
*/
|
|
6330
|
+
'isOnBoardingInAppCompleted': boolean;
|
|
6232
6331
|
/**
|
|
6233
6332
|
*
|
|
6234
6333
|
* @type {GoogleAuthResponseUser}
|
|
@@ -6559,6 +6658,18 @@ export interface IUserAttributes {
|
|
|
6559
6658
|
* @memberof IUserAttributes
|
|
6560
6659
|
*/
|
|
6561
6660
|
'isClient'?: boolean;
|
|
6661
|
+
/**
|
|
6662
|
+
*
|
|
6663
|
+
* @type {boolean}
|
|
6664
|
+
* @memberof IUserAttributes
|
|
6665
|
+
*/
|
|
6666
|
+
'isOnBoardingInAppCompleted'?: boolean;
|
|
6667
|
+
/**
|
|
6668
|
+
*
|
|
6669
|
+
* @type {string}
|
|
6670
|
+
* @memberof IUserAttributes
|
|
6671
|
+
*/
|
|
6672
|
+
'createdFrom'?: IUserAttributesCreatedFromEnum;
|
|
6562
6673
|
/**
|
|
6563
6674
|
*
|
|
6564
6675
|
* @type {string}
|
|
@@ -6616,6 +6727,11 @@ export interface IUserAttributes {
|
|
|
6616
6727
|
*/
|
|
6617
6728
|
'stripeCustomerId'?: string;
|
|
6618
6729
|
}
|
|
6730
|
+
export declare const IUserAttributesCreatedFromEnum: {
|
|
6731
|
+
readonly App: "app";
|
|
6732
|
+
readonly Website: "website";
|
|
6733
|
+
};
|
|
6734
|
+
export type IUserAttributesCreatedFromEnum = typeof IUserAttributesCreatedFromEnum[keyof typeof IUserAttributesCreatedFromEnum];
|
|
6619
6735
|
/**
|
|
6620
6736
|
*
|
|
6621
6737
|
* @export
|
|
@@ -7448,6 +7564,12 @@ export interface LoginResponse {
|
|
|
7448
7564
|
* @memberof LoginResponse
|
|
7449
7565
|
*/
|
|
7450
7566
|
'role': string | null;
|
|
7567
|
+
/**
|
|
7568
|
+
*
|
|
7569
|
+
* @type {boolean}
|
|
7570
|
+
* @memberof LoginResponse
|
|
7571
|
+
*/
|
|
7572
|
+
'isOnBoardingInAppCompleted': boolean;
|
|
7451
7573
|
}
|
|
7452
7574
|
/**
|
|
7453
7575
|
* Réponse listant les clubs gérés par l\'utilisateur
|
|
@@ -10255,6 +10377,147 @@ export interface StaffCreateBookingRequest {
|
|
|
10255
10377
|
*/
|
|
10256
10378
|
'paymentMethod'?: PaymentMethod;
|
|
10257
10379
|
}
|
|
10380
|
+
/**
|
|
10381
|
+
*
|
|
10382
|
+
* @export
|
|
10383
|
+
* @interface StaffEventBookingInvoiceResponse
|
|
10384
|
+
*/
|
|
10385
|
+
export interface StaffEventBookingInvoiceResponse {
|
|
10386
|
+
/**
|
|
10387
|
+
*
|
|
10388
|
+
* @type {string}
|
|
10389
|
+
* @memberof StaffEventBookingInvoiceResponse
|
|
10390
|
+
*/
|
|
10391
|
+
'id': string;
|
|
10392
|
+
/**
|
|
10393
|
+
*
|
|
10394
|
+
* @type {string}
|
|
10395
|
+
* @memberof StaffEventBookingInvoiceResponse
|
|
10396
|
+
*/
|
|
10397
|
+
'userId': string;
|
|
10398
|
+
/**
|
|
10399
|
+
*
|
|
10400
|
+
* @type {InvoiceStatus}
|
|
10401
|
+
* @memberof StaffEventBookingInvoiceResponse
|
|
10402
|
+
*/
|
|
10403
|
+
'status': InvoiceStatus;
|
|
10404
|
+
/**
|
|
10405
|
+
*
|
|
10406
|
+
* @type {number}
|
|
10407
|
+
* @memberof StaffEventBookingInvoiceResponse
|
|
10408
|
+
*/
|
|
10409
|
+
'amount': number;
|
|
10410
|
+
/**
|
|
10411
|
+
*
|
|
10412
|
+
* @type {PaymentMethod}
|
|
10413
|
+
* @memberof StaffEventBookingInvoiceResponse
|
|
10414
|
+
*/
|
|
10415
|
+
'paymentMethod': PaymentMethod;
|
|
10416
|
+
/**
|
|
10417
|
+
*
|
|
10418
|
+
* @type {string}
|
|
10419
|
+
* @memberof StaffEventBookingInvoiceResponse
|
|
10420
|
+
*/
|
|
10421
|
+
'createdAt': string;
|
|
10422
|
+
/**
|
|
10423
|
+
*
|
|
10424
|
+
* @type {string}
|
|
10425
|
+
* @memberof StaffEventBookingInvoiceResponse
|
|
10426
|
+
*/
|
|
10427
|
+
'updatedAt': string;
|
|
10428
|
+
}
|
|
10429
|
+
/**
|
|
10430
|
+
*
|
|
10431
|
+
* @export
|
|
10432
|
+
* @interface StaffEventBookingResponse
|
|
10433
|
+
*/
|
|
10434
|
+
export interface StaffEventBookingResponse {
|
|
10435
|
+
/**
|
|
10436
|
+
*
|
|
10437
|
+
* @type {string}
|
|
10438
|
+
* @memberof StaffEventBookingResponse
|
|
10439
|
+
*/
|
|
10440
|
+
'id': string;
|
|
10441
|
+
/**
|
|
10442
|
+
*
|
|
10443
|
+
* @type {string}
|
|
10444
|
+
* @memberof StaffEventBookingResponse
|
|
10445
|
+
*/
|
|
10446
|
+
'eventId': string;
|
|
10447
|
+
/**
|
|
10448
|
+
*
|
|
10449
|
+
* @type {EventBookingStatus}
|
|
10450
|
+
* @memberof StaffEventBookingResponse
|
|
10451
|
+
*/
|
|
10452
|
+
'status': EventBookingStatus;
|
|
10453
|
+
/**
|
|
10454
|
+
*
|
|
10455
|
+
* @type {boolean}
|
|
10456
|
+
* @memberof StaffEventBookingResponse
|
|
10457
|
+
*/
|
|
10458
|
+
'isOpen': boolean;
|
|
10459
|
+
/**
|
|
10460
|
+
*
|
|
10461
|
+
* @type {string}
|
|
10462
|
+
* @memberof StaffEventBookingResponse
|
|
10463
|
+
*/
|
|
10464
|
+
'teamName'?: string | null;
|
|
10465
|
+
/**
|
|
10466
|
+
*
|
|
10467
|
+
* @type {Array<EventUser>}
|
|
10468
|
+
* @memberof StaffEventBookingResponse
|
|
10469
|
+
*/
|
|
10470
|
+
'players': Array<EventUser>;
|
|
10471
|
+
/**
|
|
10472
|
+
*
|
|
10473
|
+
* @type {Array<StaffEventBookingInvoiceResponse>}
|
|
10474
|
+
* @memberof StaffEventBookingResponse
|
|
10475
|
+
*/
|
|
10476
|
+
'invoices': Array<StaffEventBookingInvoiceResponse>;
|
|
10477
|
+
/**
|
|
10478
|
+
*
|
|
10479
|
+
* @type {string}
|
|
10480
|
+
* @memberof StaffEventBookingResponse
|
|
10481
|
+
*/
|
|
10482
|
+
'limitSetupDate'?: string | null;
|
|
10483
|
+
/**
|
|
10484
|
+
*
|
|
10485
|
+
* @type {string}
|
|
10486
|
+
* @memberof StaffEventBookingResponse
|
|
10487
|
+
*/
|
|
10488
|
+
'limitCancellationDate'?: string | null;
|
|
10489
|
+
/**
|
|
10490
|
+
*
|
|
10491
|
+
* @type {string}
|
|
10492
|
+
* @memberof StaffEventBookingResponse
|
|
10493
|
+
*/
|
|
10494
|
+
'createdAt': string;
|
|
10495
|
+
/**
|
|
10496
|
+
*
|
|
10497
|
+
* @type {string}
|
|
10498
|
+
* @memberof StaffEventBookingResponse
|
|
10499
|
+
*/
|
|
10500
|
+
'updatedAt': string;
|
|
10501
|
+
}
|
|
10502
|
+
/**
|
|
10503
|
+
*
|
|
10504
|
+
* @export
|
|
10505
|
+
* @interface StaffEventDetailResponse
|
|
10506
|
+
*/
|
|
10507
|
+
export interface StaffEventDetailResponse {
|
|
10508
|
+
/**
|
|
10509
|
+
*
|
|
10510
|
+
* @type {EventResponse}
|
|
10511
|
+
* @memberof StaffEventDetailResponse
|
|
10512
|
+
*/
|
|
10513
|
+
'event': EventResponse;
|
|
10514
|
+
/**
|
|
10515
|
+
*
|
|
10516
|
+
* @type {Array<StaffEventBookingResponse>}
|
|
10517
|
+
* @memberof StaffEventDetailResponse
|
|
10518
|
+
*/
|
|
10519
|
+
'bookings': Array<StaffEventBookingResponse>;
|
|
10520
|
+
}
|
|
10258
10521
|
/**
|
|
10259
10522
|
*
|
|
10260
10523
|
* @export
|
|
@@ -10424,6 +10687,18 @@ export interface StaffUserProfileResponse {
|
|
|
10424
10687
|
* @memberof StaffUserProfileResponse
|
|
10425
10688
|
*/
|
|
10426
10689
|
'isClient'?: boolean;
|
|
10690
|
+
/**
|
|
10691
|
+
*
|
|
10692
|
+
* @type {boolean}
|
|
10693
|
+
* @memberof StaffUserProfileResponse
|
|
10694
|
+
*/
|
|
10695
|
+
'isOnBoardingInAppCompleted'?: boolean;
|
|
10696
|
+
/**
|
|
10697
|
+
*
|
|
10698
|
+
* @type {string}
|
|
10699
|
+
* @memberof StaffUserProfileResponse
|
|
10700
|
+
*/
|
|
10701
|
+
'createdFrom'?: StaffUserProfileResponseCreatedFromEnum;
|
|
10427
10702
|
/**
|
|
10428
10703
|
*
|
|
10429
10704
|
* @type {string}
|
|
@@ -10493,6 +10768,11 @@ export interface StaffUserProfileResponse {
|
|
|
10493
10768
|
*/
|
|
10494
10769
|
'creditOnMyClub'?: number;
|
|
10495
10770
|
}
|
|
10771
|
+
export declare const StaffUserProfileResponseCreatedFromEnum: {
|
|
10772
|
+
readonly App: "app";
|
|
10773
|
+
readonly Website: "website";
|
|
10774
|
+
};
|
|
10775
|
+
export type StaffUserProfileResponseCreatedFromEnum = typeof StaffUserProfileResponseCreatedFromEnum[keyof typeof StaffUserProfileResponseCreatedFromEnum];
|
|
10496
10776
|
/**
|
|
10497
10777
|
*
|
|
10498
10778
|
* @export
|
|
@@ -11805,10 +12085,10 @@ export interface UpdateUserRequestBody {
|
|
|
11805
12085
|
'profilePicture'?: string;
|
|
11806
12086
|
/**
|
|
11807
12087
|
*
|
|
11808
|
-
* @type {Array<
|
|
12088
|
+
* @type {Array<CompleteRegisterRequestBodyLevelBySportsInner>}
|
|
11809
12089
|
* @memberof UpdateUserRequestBody
|
|
11810
12090
|
*/
|
|
11811
|
-
'levelBySports'?: Array<
|
|
12091
|
+
'levelBySports'?: Array<CompleteRegisterRequestBodyLevelBySportsInner>;
|
|
11812
12092
|
/**
|
|
11813
12093
|
*
|
|
11814
12094
|
* @type {Array<UpdateUserRequestBodyCharacteristicsInner>}
|
|
@@ -11829,10 +12109,10 @@ export interface UpdateUserRequestBody {
|
|
|
11829
12109
|
'description'?: string;
|
|
11830
12110
|
/**
|
|
11831
12111
|
*
|
|
11832
|
-
* @type {
|
|
12112
|
+
* @type {IUserLocation}
|
|
11833
12113
|
* @memberof UpdateUserRequestBody
|
|
11834
12114
|
*/
|
|
11835
|
-
'location'?:
|
|
12115
|
+
'location'?: IUserLocation;
|
|
11836
12116
|
}
|
|
11837
12117
|
/**
|
|
11838
12118
|
*
|
|
@@ -11853,25 +12133,6 @@ export interface UpdateUserRequestBodyCharacteristicsInner {
|
|
|
11853
12133
|
*/
|
|
11854
12134
|
'key': string;
|
|
11855
12135
|
}
|
|
11856
|
-
/**
|
|
11857
|
-
*
|
|
11858
|
-
* @export
|
|
11859
|
-
* @interface UpdateUserRequestBodyLevelBySportsInner
|
|
11860
|
-
*/
|
|
11861
|
-
export interface UpdateUserRequestBodyLevelBySportsInner {
|
|
11862
|
-
/**
|
|
11863
|
-
*
|
|
11864
|
-
* @type {string}
|
|
11865
|
-
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
11866
|
-
*/
|
|
11867
|
-
'level': string;
|
|
11868
|
-
/**
|
|
11869
|
-
*
|
|
11870
|
-
* @type {string}
|
|
11871
|
-
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
11872
|
-
*/
|
|
11873
|
-
'sport': string;
|
|
11874
|
-
}
|
|
11875
12136
|
/**
|
|
11876
12137
|
*
|
|
11877
12138
|
* @export
|
|
@@ -12495,6 +12756,18 @@ export interface UserProfileResponse {
|
|
|
12495
12756
|
* @memberof UserProfileResponse
|
|
12496
12757
|
*/
|
|
12497
12758
|
'isClient'?: boolean;
|
|
12759
|
+
/**
|
|
12760
|
+
*
|
|
12761
|
+
* @type {boolean}
|
|
12762
|
+
* @memberof UserProfileResponse
|
|
12763
|
+
*/
|
|
12764
|
+
'isOnBoardingInAppCompleted'?: boolean;
|
|
12765
|
+
/**
|
|
12766
|
+
*
|
|
12767
|
+
* @type {string}
|
|
12768
|
+
* @memberof UserProfileResponse
|
|
12769
|
+
*/
|
|
12770
|
+
'createdFrom'?: UserProfileResponseCreatedFromEnum;
|
|
12498
12771
|
/**
|
|
12499
12772
|
*
|
|
12500
12773
|
* @type {string}
|
|
@@ -12602,6 +12875,11 @@ export interface UserProfileResponse {
|
|
|
12602
12875
|
*/
|
|
12603
12876
|
'clubId'?: string | null;
|
|
12604
12877
|
}
|
|
12878
|
+
export declare const UserProfileResponseCreatedFromEnum: {
|
|
12879
|
+
readonly App: "app";
|
|
12880
|
+
readonly Website: "website";
|
|
12881
|
+
};
|
|
12882
|
+
export type UserProfileResponseCreatedFromEnum = typeof UserProfileResponseCreatedFromEnum[keyof typeof UserProfileResponseCreatedFromEnum];
|
|
12605
12883
|
/**
|
|
12606
12884
|
*
|
|
12607
12885
|
* @export
|
|
@@ -19402,6 +19680,13 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
|
|
|
19402
19680
|
* @throws {RequiredError}
|
|
19403
19681
|
*/
|
|
19404
19682
|
getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19683
|
+
/**
|
|
19684
|
+
* Get a specific event by ID (staff)
|
|
19685
|
+
* @param {string} eventId
|
|
19686
|
+
* @param {*} [options] Override http request option.
|
|
19687
|
+
* @throws {RequiredError}
|
|
19688
|
+
*/
|
|
19689
|
+
getEventByIdForStaff: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19405
19690
|
/**
|
|
19406
19691
|
* // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
|
|
19407
19692
|
* @param {*} [options] Override http request option.
|
|
@@ -19455,6 +19740,13 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
|
|
|
19455
19740
|
* @throws {RequiredError}
|
|
19456
19741
|
*/
|
|
19457
19742
|
getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
19743
|
+
/**
|
|
19744
|
+
* Get a specific event by ID (staff)
|
|
19745
|
+
* @param {string} eventId
|
|
19746
|
+
* @param {*} [options] Override http request option.
|
|
19747
|
+
* @throws {RequiredError}
|
|
19748
|
+
*/
|
|
19749
|
+
getEventByIdForStaff(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventDetailResponse>>;
|
|
19458
19750
|
/**
|
|
19459
19751
|
* // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
|
|
19460
19752
|
* @param {*} [options] Override http request option.
|
|
@@ -19503,6 +19795,13 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
|
|
|
19503
19795
|
* @throws {RequiredError}
|
|
19504
19796
|
*/
|
|
19505
19797
|
getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
19798
|
+
/**
|
|
19799
|
+
* Get a specific event by ID (staff)
|
|
19800
|
+
* @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
|
|
19801
|
+
* @param {*} [options] Override http request option.
|
|
19802
|
+
* @throws {RequiredError}
|
|
19803
|
+
*/
|
|
19804
|
+
getEventByIdForStaff(requestParameters: EventsStaffApiGetEventByIdForStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffEventDetailResponse>;
|
|
19506
19805
|
/**
|
|
19507
19806
|
* // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
|
|
19508
19807
|
* @param {*} [options] Override http request option.
|
|
@@ -19580,6 +19879,19 @@ export interface EventsStaffApiGetDailyEventsRequest {
|
|
|
19580
19879
|
*/
|
|
19581
19880
|
readonly sportId?: string;
|
|
19582
19881
|
}
|
|
19882
|
+
/**
|
|
19883
|
+
* Request parameters for getEventByIdForStaff operation in EventsStaffApi.
|
|
19884
|
+
* @export
|
|
19885
|
+
* @interface EventsStaffApiGetEventByIdForStaffRequest
|
|
19886
|
+
*/
|
|
19887
|
+
export interface EventsStaffApiGetEventByIdForStaffRequest {
|
|
19888
|
+
/**
|
|
19889
|
+
*
|
|
19890
|
+
* @type {string}
|
|
19891
|
+
* @memberof EventsStaffApiGetEventByIdForStaff
|
|
19892
|
+
*/
|
|
19893
|
+
readonly eventId: string;
|
|
19894
|
+
}
|
|
19583
19895
|
/**
|
|
19584
19896
|
* Request parameters for getMonthlyEvents operation in EventsStaffApi.
|
|
19585
19897
|
* @export
|
|
@@ -19677,6 +19989,14 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
19677
19989
|
* @memberof EventsStaffApi
|
|
19678
19990
|
*/
|
|
19679
19991
|
getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
19992
|
+
/**
|
|
19993
|
+
* Get a specific event by ID (staff)
|
|
19994
|
+
* @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
|
|
19995
|
+
* @param {*} [options] Override http request option.
|
|
19996
|
+
* @throws {RequiredError}
|
|
19997
|
+
* @memberof EventsStaffApi
|
|
19998
|
+
*/
|
|
19999
|
+
getEventByIdForStaff(requestParameters: EventsStaffApiGetEventByIdForStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventDetailResponse, any, {}>>;
|
|
19680
20000
|
/**
|
|
19681
20001
|
* // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
|
|
19682
20002
|
* @param {*} [options] Override http request option.
|
|
@@ -19925,7 +20245,7 @@ export declare const EventsWaitListStaffApiAxiosParamCreator: (configuration?: C
|
|
|
19925
20245
|
*/
|
|
19926
20246
|
getWaitListForEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19927
20247
|
/**
|
|
19928
|
-
* Forcer le traitement de la waitlist (staff only)
|
|
20248
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
19929
20249
|
* @param {string} eventId
|
|
19930
20250
|
* @param {*} [options] Override http request option.
|
|
19931
20251
|
* @throws {RequiredError}
|
|
@@ -19945,7 +20265,7 @@ export declare const EventsWaitListStaffApiFp: (configuration?: Configuration) =
|
|
|
19945
20265
|
*/
|
|
19946
20266
|
getWaitListForEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWaitListForEvent200Response>>;
|
|
19947
20267
|
/**
|
|
19948
|
-
* Forcer le traitement de la waitlist (staff only)
|
|
20268
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
19949
20269
|
* @param {string} eventId
|
|
19950
20270
|
* @param {*} [options] Override http request option.
|
|
19951
20271
|
* @throws {RequiredError}
|
|
@@ -19965,7 +20285,7 @@ export declare const EventsWaitListStaffApiFactory: (configuration?: Configurati
|
|
|
19965
20285
|
*/
|
|
19966
20286
|
getWaitListForEvent(requestParameters: EventsWaitListStaffApiGetWaitListForEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetWaitListForEvent200Response>;
|
|
19967
20287
|
/**
|
|
19968
|
-
* Forcer le traitement de la waitlist (staff only)
|
|
20288
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
19969
20289
|
* @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
|
|
19970
20290
|
* @param {*} [options] Override http request option.
|
|
19971
20291
|
* @throws {RequiredError}
|
|
@@ -20014,7 +20334,7 @@ export declare class EventsWaitListStaffApi extends BaseAPI {
|
|
|
20014
20334
|
*/
|
|
20015
20335
|
getWaitListForEvent(requestParameters: EventsWaitListStaffApiGetWaitListForEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetWaitListForEvent200Response, any, {}>>;
|
|
20016
20336
|
/**
|
|
20017
|
-
* Forcer le traitement de la waitlist (staff only)
|
|
20337
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
20018
20338
|
* @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
|
|
20019
20339
|
* @param {*} [options] Override http request option.
|
|
20020
20340
|
* @throws {RequiredError}
|
|
@@ -21102,6 +21422,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
21102
21422
|
* @throws {RequiredError}
|
|
21103
21423
|
*/
|
|
21104
21424
|
changePassword: (changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21425
|
+
/**
|
|
21426
|
+
*
|
|
21427
|
+
* @param {CompleteRegisterRequestBody} completeRegisterRequestBody
|
|
21428
|
+
* @param {*} [options] Override http request option.
|
|
21429
|
+
* @throws {RequiredError}
|
|
21430
|
+
*/
|
|
21431
|
+
completeRegister: (completeRegisterRequestBody: CompleteRegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21105
21432
|
/**
|
|
21106
21433
|
*
|
|
21107
21434
|
* @param {*} [options] Override http request option.
|
|
@@ -21260,6 +21587,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
21260
21587
|
* @throws {RequiredError}
|
|
21261
21588
|
*/
|
|
21262
21589
|
register: (registerRequestBody: RegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21590
|
+
/**
|
|
21591
|
+
*
|
|
21592
|
+
* @param {AppRegisterRequestBody} appRegisterRequestBody
|
|
21593
|
+
* @param {*} [options] Override http request option.
|
|
21594
|
+
* @throws {RequiredError}
|
|
21595
|
+
*/
|
|
21596
|
+
registerFromApp: (appRegisterRequestBody: AppRegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21263
21597
|
/**
|
|
21264
21598
|
*
|
|
21265
21599
|
* @param {string} clubId
|
|
@@ -21384,6 +21718,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
21384
21718
|
* @throws {RequiredError}
|
|
21385
21719
|
*/
|
|
21386
21720
|
changePassword(changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePasswordResponse>>;
|
|
21721
|
+
/**
|
|
21722
|
+
*
|
|
21723
|
+
* @param {CompleteRegisterRequestBody} completeRegisterRequestBody
|
|
21724
|
+
* @param {*} [options] Override http request option.
|
|
21725
|
+
* @throws {RequiredError}
|
|
21726
|
+
*/
|
|
21727
|
+
completeRegister(completeRegisterRequestBody: CompleteRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>>;
|
|
21387
21728
|
/**
|
|
21388
21729
|
*
|
|
21389
21730
|
* @param {*} [options] Override http request option.
|
|
@@ -21550,6 +21891,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
21550
21891
|
* @throws {RequiredError}
|
|
21551
21892
|
*/
|
|
21552
21893
|
register(registerRequestBody: RegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>>;
|
|
21894
|
+
/**
|
|
21895
|
+
*
|
|
21896
|
+
* @param {AppRegisterRequestBody} appRegisterRequestBody
|
|
21897
|
+
* @param {*} [options] Override http request option.
|
|
21898
|
+
* @throws {RequiredError}
|
|
21899
|
+
*/
|
|
21900
|
+
registerFromApp(appRegisterRequestBody: AppRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>>;
|
|
21553
21901
|
/**
|
|
21554
21902
|
*
|
|
21555
21903
|
* @param {string} clubId
|
|
@@ -21674,6 +22022,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
21674
22022
|
* @throws {RequiredError}
|
|
21675
22023
|
*/
|
|
21676
22024
|
changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse>;
|
|
22025
|
+
/**
|
|
22026
|
+
*
|
|
22027
|
+
* @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
|
|
22028
|
+
* @param {*} [options] Override http request option.
|
|
22029
|
+
* @throws {RequiredError}
|
|
22030
|
+
*/
|
|
22031
|
+
completeRegister(requestParameters: UsersApiCompleteRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes>;
|
|
21677
22032
|
/**
|
|
21678
22033
|
*
|
|
21679
22034
|
* @param {*} [options] Override http request option.
|
|
@@ -21821,6 +22176,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
21821
22176
|
* @throws {RequiredError}
|
|
21822
22177
|
*/
|
|
21823
22178
|
register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes>;
|
|
22179
|
+
/**
|
|
22180
|
+
*
|
|
22181
|
+
* @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
|
|
22182
|
+
* @param {*} [options] Override http request option.
|
|
22183
|
+
* @throws {RequiredError}
|
|
22184
|
+
*/
|
|
22185
|
+
registerFromApp(requestParameters: UsersApiRegisterFromAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes>;
|
|
21824
22186
|
/**
|
|
21825
22187
|
*
|
|
21826
22188
|
* @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
|
|
@@ -21964,6 +22326,19 @@ export interface UsersApiChangePasswordRequest {
|
|
|
21964
22326
|
*/
|
|
21965
22327
|
readonly changePasswordRequestBody: ChangePasswordRequestBody;
|
|
21966
22328
|
}
|
|
22329
|
+
/**
|
|
22330
|
+
* Request parameters for completeRegister operation in UsersApi.
|
|
22331
|
+
* @export
|
|
22332
|
+
* @interface UsersApiCompleteRegisterRequest
|
|
22333
|
+
*/
|
|
22334
|
+
export interface UsersApiCompleteRegisterRequest {
|
|
22335
|
+
/**
|
|
22336
|
+
*
|
|
22337
|
+
* @type {CompleteRegisterRequestBody}
|
|
22338
|
+
* @memberof UsersApiCompleteRegister
|
|
22339
|
+
*/
|
|
22340
|
+
readonly completeRegisterRequestBody: CompleteRegisterRequestBody;
|
|
22341
|
+
}
|
|
21967
22342
|
/**
|
|
21968
22343
|
* Request parameters for getBookingDetail operation in UsersApi.
|
|
21969
22344
|
* @export
|
|
@@ -22247,6 +22622,19 @@ export interface UsersApiRegisterRequest {
|
|
|
22247
22622
|
*/
|
|
22248
22623
|
readonly registerRequestBody: RegisterRequestBody;
|
|
22249
22624
|
}
|
|
22625
|
+
/**
|
|
22626
|
+
* Request parameters for registerFromApp operation in UsersApi.
|
|
22627
|
+
* @export
|
|
22628
|
+
* @interface UsersApiRegisterFromAppRequest
|
|
22629
|
+
*/
|
|
22630
|
+
export interface UsersApiRegisterFromAppRequest {
|
|
22631
|
+
/**
|
|
22632
|
+
*
|
|
22633
|
+
* @type {AppRegisterRequestBody}
|
|
22634
|
+
* @memberof UsersApiRegisterFromApp
|
|
22635
|
+
*/
|
|
22636
|
+
readonly appRegisterRequestBody: AppRegisterRequestBody;
|
|
22637
|
+
}
|
|
22250
22638
|
/**
|
|
22251
22639
|
* Request parameters for removeFavoriteClub operation in UsersApi.
|
|
22252
22640
|
* @export
|
|
@@ -22442,6 +22830,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
22442
22830
|
* @memberof UsersApi
|
|
22443
22831
|
*/
|
|
22444
22832
|
changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponse, any, {}>>;
|
|
22833
|
+
/**
|
|
22834
|
+
*
|
|
22835
|
+
* @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
|
|
22836
|
+
* @param {*} [options] Override http request option.
|
|
22837
|
+
* @throws {RequiredError}
|
|
22838
|
+
* @memberof UsersApi
|
|
22839
|
+
*/
|
|
22840
|
+
completeRegister(requestParameters: UsersApiCompleteRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes, any, {}>>;
|
|
22445
22841
|
/**
|
|
22446
22842
|
*
|
|
22447
22843
|
* @param {*} [options] Override http request option.
|
|
@@ -22610,6 +23006,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
22610
23006
|
* @memberof UsersApi
|
|
22611
23007
|
*/
|
|
22612
23008
|
register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes, any, {}>>;
|
|
23009
|
+
/**
|
|
23010
|
+
*
|
|
23011
|
+
* @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
|
|
23012
|
+
* @param {*} [options] Override http request option.
|
|
23013
|
+
* @throws {RequiredError}
|
|
23014
|
+
* @memberof UsersApi
|
|
23015
|
+
*/
|
|
23016
|
+
registerFromApp(requestParameters: UsersApiRegisterFromAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes, any, {}>>;
|
|
22613
23017
|
/**
|
|
22614
23018
|
*
|
|
22615
23019
|
* @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
|