@tennac-booking/sdk 1.0.170 → 1.0.172

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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +10 -1
  2. package/README.md +17 -3
  3. package/api.ts +1003 -27
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +676 -24
  8. package/dist/api.js +553 -5
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +676 -24
  16. package/dist/esm/api.js +541 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AppRegisterRequestBody.md +22 -0
  28. package/docs/CompleteRegisterRequestBody.md +32 -0
  29. package/docs/{UpdateUserRequestBodyLevelBySportsInner.md → CompleteRegisterRequestBodyLevelBySportsInner.md} +3 -3
  30. package/docs/EmailExistsResponse.md +2 -0
  31. package/docs/EventBookingDetailSummary.md +2 -0
  32. package/docs/EventsWaitListApi.md +175 -0
  33. package/docs/EventsWaitListStaffApi.md +115 -0
  34. package/docs/GetUserPosition200Response.md +22 -0
  35. package/docs/GetWaitListForEvent200Response.md +22 -0
  36. package/docs/GoogleAuthResponse.md +2 -0
  37. package/docs/IUserAttributes.md +4 -0
  38. package/docs/JoinWaitList200Response.md +26 -0
  39. package/docs/JoinWaitListRequest.md +22 -0
  40. package/docs/LoginResponse.md +2 -0
  41. package/docs/StaffUserProfileResponse.md +4 -0
  42. package/docs/UpdateUserRequestBody.md +2 -2
  43. package/docs/UserProfileResponse.md +4 -0
  44. package/docs/UsersApi.md +104 -0
  45. package/docs/WaitListResponse.md +38 -0
  46. package/index.ts +1 -1
  47. 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.163
5
+ * The version of the OpenAPI document: 1.0.171
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
  *
@@ -5030,6 +5123,12 @@ export interface EventBookingDetailSummary {
5030
5123
  * @memberof EventBookingDetailSummary
5031
5124
  */
5032
5125
  'limitCancellationDate'?: string | null;
5126
+ /**
5127
+ * Position dans la file d\'attente si l\'utilisateur est en waitlist pour cet événement
5128
+ * @type {number}
5129
+ * @memberof EventBookingDetailSummary
5130
+ */
5131
+ 'waitListPosition'?: number | null;
5033
5132
  /**
5034
5133
  *
5035
5134
  * @type {string}
@@ -6136,6 +6235,44 @@ export interface GetSlotsByClubById200Response {
6136
6235
  */
6137
6236
  'slots': Array<any>;
6138
6237
  }
6238
+ /**
6239
+ *
6240
+ * @export
6241
+ * @interface GetUserPosition200Response
6242
+ */
6243
+ export interface GetUserPosition200Response {
6244
+ /**
6245
+ *
6246
+ * @type {string}
6247
+ * @memberof GetUserPosition200Response
6248
+ */
6249
+ 'message'?: string;
6250
+ /**
6251
+ *
6252
+ * @type {number}
6253
+ * @memberof GetUserPosition200Response
6254
+ */
6255
+ 'position': number | null;
6256
+ }
6257
+ /**
6258
+ *
6259
+ * @export
6260
+ * @interface GetWaitListForEvent200Response
6261
+ */
6262
+ export interface GetWaitListForEvent200Response {
6263
+ /**
6264
+ *
6265
+ * @type {number}
6266
+ * @memberof GetWaitListForEvent200Response
6267
+ */
6268
+ 'total': number;
6269
+ /**
6270
+ *
6271
+ * @type {Array<WaitListResponse>}
6272
+ * @memberof GetWaitListForEvent200Response
6273
+ */
6274
+ 'waitList': Array<WaitListResponse>;
6275
+ }
6139
6276
  /**
6140
6277
  *
6141
6278
  * @export
@@ -6185,6 +6322,12 @@ export interface GoogleAuthResponse {
6185
6322
  * @memberof GoogleAuthResponse
6186
6323
  */
6187
6324
  'role': string | null;
6325
+ /**
6326
+ *
6327
+ * @type {boolean}
6328
+ * @memberof GoogleAuthResponse
6329
+ */
6330
+ 'isOnBoardingInAppCompleted': boolean;
6188
6331
  /**
6189
6332
  *
6190
6333
  * @type {GoogleAuthResponseUser}
@@ -6515,6 +6658,18 @@ export interface IUserAttributes {
6515
6658
  * @memberof IUserAttributes
6516
6659
  */
6517
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;
6518
6673
  /**
6519
6674
  *
6520
6675
  * @type {string}
@@ -6572,6 +6727,11 @@ export interface IUserAttributes {
6572
6727
  */
6573
6728
  'stripeCustomerId'?: string;
6574
6729
  }
6730
+ export declare const IUserAttributesCreatedFromEnum: {
6731
+ readonly App: "app";
6732
+ readonly Website: "website";
6733
+ };
6734
+ export type IUserAttributesCreatedFromEnum = typeof IUserAttributesCreatedFromEnum[keyof typeof IUserAttributesCreatedFromEnum];
6575
6735
  /**
6576
6736
  *
6577
6737
  * @export
@@ -7174,6 +7334,56 @@ export interface JoinOpenEventResponse {
7174
7334
  */
7175
7335
  'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
7176
7336
  }
7337
+ /**
7338
+ *
7339
+ * @export
7340
+ * @interface JoinWaitList200Response
7341
+ */
7342
+ export interface JoinWaitList200Response {
7343
+ /**
7344
+ *
7345
+ * @type {boolean}
7346
+ * @memberof JoinWaitList200Response
7347
+ */
7348
+ 'requiresSetup'?: boolean;
7349
+ /**
7350
+ *
7351
+ * @type {string}
7352
+ * @memberof JoinWaitList200Response
7353
+ */
7354
+ 'paymentLink'?: string;
7355
+ /**
7356
+ *
7357
+ * @type {WaitListResponse}
7358
+ * @memberof JoinWaitList200Response
7359
+ */
7360
+ 'waitList': WaitListResponse;
7361
+ /**
7362
+ *
7363
+ * @type {string}
7364
+ * @memberof JoinWaitList200Response
7365
+ */
7366
+ 'message': string;
7367
+ }
7368
+ /**
7369
+ *
7370
+ * @export
7371
+ * @interface JoinWaitListRequest
7372
+ */
7373
+ export interface JoinWaitListRequest {
7374
+ /**
7375
+ *
7376
+ * @type {PaymentMethod}
7377
+ * @memberof JoinWaitListRequest
7378
+ */
7379
+ 'paymentMethod'?: PaymentMethod;
7380
+ /**
7381
+ *
7382
+ * @type {boolean}
7383
+ * @memberof JoinWaitListRequest
7384
+ */
7385
+ 'useDefaultPaymentMethod'?: boolean;
7386
+ }
7177
7387
  /**
7178
7388
  *
7179
7389
  * @export
@@ -7354,6 +7564,12 @@ export interface LoginResponse {
7354
7564
  * @memberof LoginResponse
7355
7565
  */
7356
7566
  'role': string | null;
7567
+ /**
7568
+ *
7569
+ * @type {boolean}
7570
+ * @memberof LoginResponse
7571
+ */
7572
+ 'isOnBoardingInAppCompleted': boolean;
7357
7573
  }
7358
7574
  /**
7359
7575
  * Réponse listant les clubs gérés par l\'utilisateur
@@ -10330,6 +10546,18 @@ export interface StaffUserProfileResponse {
10330
10546
  * @memberof StaffUserProfileResponse
10331
10547
  */
10332
10548
  'isClient'?: boolean;
10549
+ /**
10550
+ *
10551
+ * @type {boolean}
10552
+ * @memberof StaffUserProfileResponse
10553
+ */
10554
+ 'isOnBoardingInAppCompleted'?: boolean;
10555
+ /**
10556
+ *
10557
+ * @type {string}
10558
+ * @memberof StaffUserProfileResponse
10559
+ */
10560
+ 'createdFrom'?: StaffUserProfileResponseCreatedFromEnum;
10333
10561
  /**
10334
10562
  *
10335
10563
  * @type {string}
@@ -10399,6 +10627,11 @@ export interface StaffUserProfileResponse {
10399
10627
  */
10400
10628
  'creditOnMyClub'?: number;
10401
10629
  }
10630
+ export declare const StaffUserProfileResponseCreatedFromEnum: {
10631
+ readonly App: "app";
10632
+ readonly Website: "website";
10633
+ };
10634
+ export type StaffUserProfileResponseCreatedFromEnum = typeof StaffUserProfileResponseCreatedFromEnum[keyof typeof StaffUserProfileResponseCreatedFromEnum];
10402
10635
  /**
10403
10636
  *
10404
10637
  * @export
@@ -11711,10 +11944,10 @@ export interface UpdateUserRequestBody {
11711
11944
  'profilePicture'?: string;
11712
11945
  /**
11713
11946
  *
11714
- * @type {Array<UpdateUserRequestBodyLevelBySportsInner>}
11947
+ * @type {Array<CompleteRegisterRequestBodyLevelBySportsInner>}
11715
11948
  * @memberof UpdateUserRequestBody
11716
11949
  */
11717
- 'levelBySports'?: Array<UpdateUserRequestBodyLevelBySportsInner>;
11950
+ 'levelBySports'?: Array<CompleteRegisterRequestBodyLevelBySportsInner>;
11718
11951
  /**
11719
11952
  *
11720
11953
  * @type {Array<UpdateUserRequestBodyCharacteristicsInner>}
@@ -11735,10 +11968,10 @@ export interface UpdateUserRequestBody {
11735
11968
  'description'?: string;
11736
11969
  /**
11737
11970
  *
11738
- * @type {RegisterRequestBodyLocation}
11971
+ * @type {IUserLocation}
11739
11972
  * @memberof UpdateUserRequestBody
11740
11973
  */
11741
- 'location'?: RegisterRequestBodyLocation;
11974
+ 'location'?: IUserLocation;
11742
11975
  }
11743
11976
  /**
11744
11977
  *
@@ -11759,25 +11992,6 @@ export interface UpdateUserRequestBodyCharacteristicsInner {
11759
11992
  */
11760
11993
  'key': string;
11761
11994
  }
11762
- /**
11763
- *
11764
- * @export
11765
- * @interface UpdateUserRequestBodyLevelBySportsInner
11766
- */
11767
- export interface UpdateUserRequestBodyLevelBySportsInner {
11768
- /**
11769
- *
11770
- * @type {string}
11771
- * @memberof UpdateUserRequestBodyLevelBySportsInner
11772
- */
11773
- 'level': string;
11774
- /**
11775
- *
11776
- * @type {string}
11777
- * @memberof UpdateUserRequestBodyLevelBySportsInner
11778
- */
11779
- 'sport': string;
11780
- }
11781
11995
  /**
11782
11996
  *
11783
11997
  * @export
@@ -12401,6 +12615,18 @@ export interface UserProfileResponse {
12401
12615
  * @memberof UserProfileResponse
12402
12616
  */
12403
12617
  'isClient'?: boolean;
12618
+ /**
12619
+ *
12620
+ * @type {boolean}
12621
+ * @memberof UserProfileResponse
12622
+ */
12623
+ 'isOnBoardingInAppCompleted'?: boolean;
12624
+ /**
12625
+ *
12626
+ * @type {string}
12627
+ * @memberof UserProfileResponse
12628
+ */
12629
+ 'createdFrom'?: UserProfileResponseCreatedFromEnum;
12404
12630
  /**
12405
12631
  *
12406
12632
  * @type {string}
@@ -12508,6 +12734,11 @@ export interface UserProfileResponse {
12508
12734
  */
12509
12735
  'clubId'?: string | null;
12510
12736
  }
12737
+ export declare const UserProfileResponseCreatedFromEnum: {
12738
+ readonly App: "app";
12739
+ readonly Website: "website";
12740
+ };
12741
+ export type UserProfileResponseCreatedFromEnum = typeof UserProfileResponseCreatedFromEnum[keyof typeof UserProfileResponseCreatedFromEnum];
12511
12742
  /**
12512
12743
  *
12513
12744
  * @export
@@ -12598,6 +12829,73 @@ export declare const VisibilityType: {
12598
12829
  readonly Invitation: "invitation";
12599
12830
  };
12600
12831
  export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
12832
+ /**
12833
+ *
12834
+ * @export
12835
+ * @interface WaitListResponse
12836
+ */
12837
+ export interface WaitListResponse {
12838
+ /**
12839
+ *
12840
+ * @type {string}
12841
+ * @memberof WaitListResponse
12842
+ */
12843
+ 'id': string;
12844
+ /**
12845
+ *
12846
+ * @type {string}
12847
+ * @memberof WaitListResponse
12848
+ */
12849
+ 'eventId': string;
12850
+ /**
12851
+ *
12852
+ * @type {string}
12853
+ * @memberof WaitListResponse
12854
+ */
12855
+ 'userId': string;
12856
+ /**
12857
+ *
12858
+ * @type {string}
12859
+ * @memberof WaitListResponse
12860
+ */
12861
+ 'status': string;
12862
+ /**
12863
+ *
12864
+ * @type {number}
12865
+ * @memberof WaitListResponse
12866
+ */
12867
+ 'position': number;
12868
+ /**
12869
+ *
12870
+ * @type {number}
12871
+ * @memberof WaitListResponse
12872
+ */
12873
+ 'priceInCents': number;
12874
+ /**
12875
+ *
12876
+ * @type {boolean}
12877
+ * @memberof WaitListResponse
12878
+ */
12879
+ 'paymentAuthorized': boolean;
12880
+ /**
12881
+ *
12882
+ * @type {string}
12883
+ * @memberof WaitListResponse
12884
+ */
12885
+ 'joinedAt': string;
12886
+ /**
12887
+ *
12888
+ * @type {string}
12889
+ * @memberof WaitListResponse
12890
+ */
12891
+ 'expiresAt'?: string;
12892
+ /**
12893
+ *
12894
+ * @type {string}
12895
+ * @memberof WaitListResponse
12896
+ */
12897
+ 'paymentLink'?: string;
12898
+ }
12601
12899
  /**
12602
12900
  *
12603
12901
  * @export
@@ -19591,6 +19889,276 @@ export declare const GetWeeklyEventsTypeEnum: {
19591
19889
  readonly Closure: "closure";
19592
19890
  };
19593
19891
  export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
19892
+ /**
19893
+ * EventsWaitListApi - axios parameter creator
19894
+ * @export
19895
+ */
19896
+ export declare const EventsWaitListApiAxiosParamCreator: (configuration?: Configuration) => {
19897
+ /**
19898
+ * Obtenir la position actuelle dans la file d\'attente
19899
+ * @param {string} eventId
19900
+ * @param {*} [options] Override http request option.
19901
+ * @throws {RequiredError}
19902
+ */
19903
+ getUserPosition: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19904
+ /**
19905
+ * Rejoindre la file d\'attente pour un événement
19906
+ * @param {string} eventId
19907
+ * @param {JoinWaitListRequest} joinWaitListRequest
19908
+ * @param {*} [options] Override http request option.
19909
+ * @throws {RequiredError}
19910
+ */
19911
+ joinWaitList: (eventId: string, joinWaitListRequest: JoinWaitListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19912
+ /**
19913
+ * Quitter la file d\'attente
19914
+ * @param {string} eventId
19915
+ * @param {*} [options] Override http request option.
19916
+ * @throws {RequiredError}
19917
+ */
19918
+ leaveWaitList: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19919
+ };
19920
+ /**
19921
+ * EventsWaitListApi - functional programming interface
19922
+ * @export
19923
+ */
19924
+ export declare const EventsWaitListApiFp: (configuration?: Configuration) => {
19925
+ /**
19926
+ * Obtenir la position actuelle dans la file d\'attente
19927
+ * @param {string} eventId
19928
+ * @param {*} [options] Override http request option.
19929
+ * @throws {RequiredError}
19930
+ */
19931
+ getUserPosition(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserPosition200Response>>;
19932
+ /**
19933
+ * Rejoindre la file d\'attente pour un événement
19934
+ * @param {string} eventId
19935
+ * @param {JoinWaitListRequest} joinWaitListRequest
19936
+ * @param {*} [options] Override http request option.
19937
+ * @throws {RequiredError}
19938
+ */
19939
+ joinWaitList(eventId: string, joinWaitListRequest: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinWaitList200Response>>;
19940
+ /**
19941
+ * Quitter la file d\'attente
19942
+ * @param {string} eventId
19943
+ * @param {*} [options] Override http request option.
19944
+ * @throws {RequiredError}
19945
+ */
19946
+ leaveWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
19947
+ };
19948
+ /**
19949
+ * EventsWaitListApi - factory interface
19950
+ * @export
19951
+ */
19952
+ export declare const EventsWaitListApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
19953
+ /**
19954
+ * Obtenir la position actuelle dans la file d\'attente
19955
+ * @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
19956
+ * @param {*} [options] Override http request option.
19957
+ * @throws {RequiredError}
19958
+ */
19959
+ getUserPosition(requestParameters: EventsWaitListApiGetUserPositionRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPosition200Response>;
19960
+ /**
19961
+ * Rejoindre la file d\'attente pour un événement
19962
+ * @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
19963
+ * @param {*} [options] Override http request option.
19964
+ * @throws {RequiredError}
19965
+ */
19966
+ joinWaitList(requestParameters: EventsWaitListApiJoinWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinWaitList200Response>;
19967
+ /**
19968
+ * Quitter la file d\'attente
19969
+ * @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
19970
+ * @param {*} [options] Override http request option.
19971
+ * @throws {RequiredError}
19972
+ */
19973
+ leaveWaitList(requestParameters: EventsWaitListApiLeaveWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
19974
+ };
19975
+ /**
19976
+ * Request parameters for getUserPosition operation in EventsWaitListApi.
19977
+ * @export
19978
+ * @interface EventsWaitListApiGetUserPositionRequest
19979
+ */
19980
+ export interface EventsWaitListApiGetUserPositionRequest {
19981
+ /**
19982
+ *
19983
+ * @type {string}
19984
+ * @memberof EventsWaitListApiGetUserPosition
19985
+ */
19986
+ readonly eventId: string;
19987
+ }
19988
+ /**
19989
+ * Request parameters for joinWaitList operation in EventsWaitListApi.
19990
+ * @export
19991
+ * @interface EventsWaitListApiJoinWaitListRequest
19992
+ */
19993
+ export interface EventsWaitListApiJoinWaitListRequest {
19994
+ /**
19995
+ *
19996
+ * @type {string}
19997
+ * @memberof EventsWaitListApiJoinWaitList
19998
+ */
19999
+ readonly eventId: string;
20000
+ /**
20001
+ *
20002
+ * @type {JoinWaitListRequest}
20003
+ * @memberof EventsWaitListApiJoinWaitList
20004
+ */
20005
+ readonly joinWaitListRequest: JoinWaitListRequest;
20006
+ }
20007
+ /**
20008
+ * Request parameters for leaveWaitList operation in EventsWaitListApi.
20009
+ * @export
20010
+ * @interface EventsWaitListApiLeaveWaitListRequest
20011
+ */
20012
+ export interface EventsWaitListApiLeaveWaitListRequest {
20013
+ /**
20014
+ *
20015
+ * @type {string}
20016
+ * @memberof EventsWaitListApiLeaveWaitList
20017
+ */
20018
+ readonly eventId: string;
20019
+ }
20020
+ /**
20021
+ * EventsWaitListApi - object-oriented interface
20022
+ * @export
20023
+ * @class EventsWaitListApi
20024
+ * @extends {BaseAPI}
20025
+ */
20026
+ export declare class EventsWaitListApi extends BaseAPI {
20027
+ /**
20028
+ * Obtenir la position actuelle dans la file d\'attente
20029
+ * @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
20030
+ * @param {*} [options] Override http request option.
20031
+ * @throws {RequiredError}
20032
+ * @memberof EventsWaitListApi
20033
+ */
20034
+ getUserPosition(requestParameters: EventsWaitListApiGetUserPositionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPosition200Response, any, {}>>;
20035
+ /**
20036
+ * Rejoindre la file d\'attente pour un événement
20037
+ * @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
20038
+ * @param {*} [options] Override http request option.
20039
+ * @throws {RequiredError}
20040
+ * @memberof EventsWaitListApi
20041
+ */
20042
+ joinWaitList(requestParameters: EventsWaitListApiJoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JoinWaitList200Response, any, {}>>;
20043
+ /**
20044
+ * Quitter la file d\'attente
20045
+ * @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
20046
+ * @param {*} [options] Override http request option.
20047
+ * @throws {RequiredError}
20048
+ * @memberof EventsWaitListApi
20049
+ */
20050
+ leaveWaitList(requestParameters: EventsWaitListApiLeaveWaitListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
20051
+ }
20052
+ /**
20053
+ * EventsWaitListStaffApi - axios parameter creator
20054
+ * @export
20055
+ */
20056
+ export declare const EventsWaitListStaffApiAxiosParamCreator: (configuration?: Configuration) => {
20057
+ /**
20058
+ * Obtenir la liste complète de la file d\'attente (staff only)
20059
+ * @param {string} eventId
20060
+ * @param {*} [options] Override http request option.
20061
+ * @throws {RequiredError}
20062
+ */
20063
+ getWaitListForEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20064
+ /**
20065
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
20066
+ * @param {string} eventId
20067
+ * @param {*} [options] Override http request option.
20068
+ * @throws {RequiredError}
20069
+ */
20070
+ processWaitList: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20071
+ };
20072
+ /**
20073
+ * EventsWaitListStaffApi - functional programming interface
20074
+ * @export
20075
+ */
20076
+ export declare const EventsWaitListStaffApiFp: (configuration?: Configuration) => {
20077
+ /**
20078
+ * Obtenir la liste complète de la file d\'attente (staff only)
20079
+ * @param {string} eventId
20080
+ * @param {*} [options] Override http request option.
20081
+ * @throws {RequiredError}
20082
+ */
20083
+ getWaitListForEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWaitListForEvent200Response>>;
20084
+ /**
20085
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
20086
+ * @param {string} eventId
20087
+ * @param {*} [options] Override http request option.
20088
+ * @throws {RequiredError}
20089
+ */
20090
+ processWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
20091
+ };
20092
+ /**
20093
+ * EventsWaitListStaffApi - factory interface
20094
+ * @export
20095
+ */
20096
+ export declare const EventsWaitListStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
20097
+ /**
20098
+ * Obtenir la liste complète de la file d\'attente (staff only)
20099
+ * @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
20100
+ * @param {*} [options] Override http request option.
20101
+ * @throws {RequiredError}
20102
+ */
20103
+ getWaitListForEvent(requestParameters: EventsWaitListStaffApiGetWaitListForEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetWaitListForEvent200Response>;
20104
+ /**
20105
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
20106
+ * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
20107
+ * @param {*} [options] Override http request option.
20108
+ * @throws {RequiredError}
20109
+ */
20110
+ processWaitList(requestParameters: EventsWaitListStaffApiProcessWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
20111
+ };
20112
+ /**
20113
+ * Request parameters for getWaitListForEvent operation in EventsWaitListStaffApi.
20114
+ * @export
20115
+ * @interface EventsWaitListStaffApiGetWaitListForEventRequest
20116
+ */
20117
+ export interface EventsWaitListStaffApiGetWaitListForEventRequest {
20118
+ /**
20119
+ *
20120
+ * @type {string}
20121
+ * @memberof EventsWaitListStaffApiGetWaitListForEvent
20122
+ */
20123
+ readonly eventId: string;
20124
+ }
20125
+ /**
20126
+ * Request parameters for processWaitList operation in EventsWaitListStaffApi.
20127
+ * @export
20128
+ * @interface EventsWaitListStaffApiProcessWaitListRequest
20129
+ */
20130
+ export interface EventsWaitListStaffApiProcessWaitListRequest {
20131
+ /**
20132
+ *
20133
+ * @type {string}
20134
+ * @memberof EventsWaitListStaffApiProcessWaitList
20135
+ */
20136
+ readonly eventId: string;
20137
+ }
20138
+ /**
20139
+ * EventsWaitListStaffApi - object-oriented interface
20140
+ * @export
20141
+ * @class EventsWaitListStaffApi
20142
+ * @extends {BaseAPI}
20143
+ */
20144
+ export declare class EventsWaitListStaffApi extends BaseAPI {
20145
+ /**
20146
+ * Obtenir la liste complète de la file d\'attente (staff only)
20147
+ * @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
20148
+ * @param {*} [options] Override http request option.
20149
+ * @throws {RequiredError}
20150
+ * @memberof EventsWaitListStaffApi
20151
+ */
20152
+ getWaitListForEvent(requestParameters: EventsWaitListStaffApiGetWaitListForEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetWaitListForEvent200Response, any, {}>>;
20153
+ /**
20154
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
20155
+ * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
20156
+ * @param {*} [options] Override http request option.
20157
+ * @throws {RequiredError}
20158
+ * @memberof EventsWaitListStaffApi
20159
+ */
20160
+ processWaitList(requestParameters: EventsWaitListStaffApiProcessWaitListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
20161
+ }
19594
20162
  /**
19595
20163
  * ImagesApi - axios parameter creator
19596
20164
  * @export
@@ -20671,6 +21239,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
20671
21239
  * @throws {RequiredError}
20672
21240
  */
20673
21241
  changePassword: (changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21242
+ /**
21243
+ *
21244
+ * @param {CompleteRegisterRequestBody} completeRegisterRequestBody
21245
+ * @param {*} [options] Override http request option.
21246
+ * @throws {RequiredError}
21247
+ */
21248
+ completeRegister: (completeRegisterRequestBody: CompleteRegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20674
21249
  /**
20675
21250
  *
20676
21251
  * @param {*} [options] Override http request option.
@@ -20829,6 +21404,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
20829
21404
  * @throws {RequiredError}
20830
21405
  */
20831
21406
  register: (registerRequestBody: RegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21407
+ /**
21408
+ *
21409
+ * @param {AppRegisterRequestBody} appRegisterRequestBody
21410
+ * @param {*} [options] Override http request option.
21411
+ * @throws {RequiredError}
21412
+ */
21413
+ registerFromApp: (appRegisterRequestBody: AppRegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20832
21414
  /**
20833
21415
  *
20834
21416
  * @param {string} clubId
@@ -20953,6 +21535,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
20953
21535
  * @throws {RequiredError}
20954
21536
  */
20955
21537
  changePassword(changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePasswordResponse>>;
21538
+ /**
21539
+ *
21540
+ * @param {CompleteRegisterRequestBody} completeRegisterRequestBody
21541
+ * @param {*} [options] Override http request option.
21542
+ * @throws {RequiredError}
21543
+ */
21544
+ completeRegister(completeRegisterRequestBody: CompleteRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>>;
20956
21545
  /**
20957
21546
  *
20958
21547
  * @param {*} [options] Override http request option.
@@ -21119,6 +21708,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
21119
21708
  * @throws {RequiredError}
21120
21709
  */
21121
21710
  register(registerRequestBody: RegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>>;
21711
+ /**
21712
+ *
21713
+ * @param {AppRegisterRequestBody} appRegisterRequestBody
21714
+ * @param {*} [options] Override http request option.
21715
+ * @throws {RequiredError}
21716
+ */
21717
+ registerFromApp(appRegisterRequestBody: AppRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>>;
21122
21718
  /**
21123
21719
  *
21124
21720
  * @param {string} clubId
@@ -21243,6 +21839,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
21243
21839
  * @throws {RequiredError}
21244
21840
  */
21245
21841
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse>;
21842
+ /**
21843
+ *
21844
+ * @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
21845
+ * @param {*} [options] Override http request option.
21846
+ * @throws {RequiredError}
21847
+ */
21848
+ completeRegister(requestParameters: UsersApiCompleteRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes>;
21246
21849
  /**
21247
21850
  *
21248
21851
  * @param {*} [options] Override http request option.
@@ -21390,6 +21993,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
21390
21993
  * @throws {RequiredError}
21391
21994
  */
21392
21995
  register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes>;
21996
+ /**
21997
+ *
21998
+ * @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
21999
+ * @param {*} [options] Override http request option.
22000
+ * @throws {RequiredError}
22001
+ */
22002
+ registerFromApp(requestParameters: UsersApiRegisterFromAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes>;
21393
22003
  /**
21394
22004
  *
21395
22005
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
@@ -21533,6 +22143,19 @@ export interface UsersApiChangePasswordRequest {
21533
22143
  */
21534
22144
  readonly changePasswordRequestBody: ChangePasswordRequestBody;
21535
22145
  }
22146
+ /**
22147
+ * Request parameters for completeRegister operation in UsersApi.
22148
+ * @export
22149
+ * @interface UsersApiCompleteRegisterRequest
22150
+ */
22151
+ export interface UsersApiCompleteRegisterRequest {
22152
+ /**
22153
+ *
22154
+ * @type {CompleteRegisterRequestBody}
22155
+ * @memberof UsersApiCompleteRegister
22156
+ */
22157
+ readonly completeRegisterRequestBody: CompleteRegisterRequestBody;
22158
+ }
21536
22159
  /**
21537
22160
  * Request parameters for getBookingDetail operation in UsersApi.
21538
22161
  * @export
@@ -21816,6 +22439,19 @@ export interface UsersApiRegisterRequest {
21816
22439
  */
21817
22440
  readonly registerRequestBody: RegisterRequestBody;
21818
22441
  }
22442
+ /**
22443
+ * Request parameters for registerFromApp operation in UsersApi.
22444
+ * @export
22445
+ * @interface UsersApiRegisterFromAppRequest
22446
+ */
22447
+ export interface UsersApiRegisterFromAppRequest {
22448
+ /**
22449
+ *
22450
+ * @type {AppRegisterRequestBody}
22451
+ * @memberof UsersApiRegisterFromApp
22452
+ */
22453
+ readonly appRegisterRequestBody: AppRegisterRequestBody;
22454
+ }
21819
22455
  /**
21820
22456
  * Request parameters for removeFavoriteClub operation in UsersApi.
21821
22457
  * @export
@@ -22011,6 +22647,14 @@ export declare class UsersApi extends BaseAPI {
22011
22647
  * @memberof UsersApi
22012
22648
  */
22013
22649
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponse, any, {}>>;
22650
+ /**
22651
+ *
22652
+ * @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
22653
+ * @param {*} [options] Override http request option.
22654
+ * @throws {RequiredError}
22655
+ * @memberof UsersApi
22656
+ */
22657
+ completeRegister(requestParameters: UsersApiCompleteRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes, any, {}>>;
22014
22658
  /**
22015
22659
  *
22016
22660
  * @param {*} [options] Override http request option.
@@ -22179,6 +22823,14 @@ export declare class UsersApi extends BaseAPI {
22179
22823
  * @memberof UsersApi
22180
22824
  */
22181
22825
  register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes, any, {}>>;
22826
+ /**
22827
+ *
22828
+ * @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
22829
+ * @param {*} [options] Override http request option.
22830
+ * @throws {RequiredError}
22831
+ * @memberof UsersApi
22832
+ */
22833
+ registerFromApp(requestParameters: UsersApiRegisterFromAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes, any, {}>>;
22182
22834
  /**
22183
22835
  *
22184
22836
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.