@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/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.163
7
+ * The version of the OpenAPI document: 1.0.171
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -229,6 +229,25 @@ export interface AgendaBookingSlot {
229
229
  */
230
230
  'isIndoor'?: boolean;
231
231
  }
232
+ /**
233
+ *
234
+ * @export
235
+ * @interface AppRegisterRequestBody
236
+ */
237
+ export interface AppRegisterRequestBody {
238
+ /**
239
+ *
240
+ * @type {string}
241
+ * @memberof AppRegisterRequestBody
242
+ */
243
+ 'email': string;
244
+ /**
245
+ *
246
+ * @type {string}
247
+ * @memberof AppRegisterRequestBody
248
+ */
249
+ 'password': string;
250
+ }
232
251
  /**
233
252
  *
234
253
  * @export
@@ -3649,6 +3668,74 @@ export interface ClubUserCountResponse {
3649
3668
  */
3650
3669
  'count': number;
3651
3670
  }
3671
+ /**
3672
+ *
3673
+ * @export
3674
+ * @interface CompleteRegisterRequestBody
3675
+ */
3676
+ export interface CompleteRegisterRequestBody {
3677
+ /**
3678
+ *
3679
+ * @type {string}
3680
+ * @memberof CompleteRegisterRequestBody
3681
+ */
3682
+ 'firstName': string;
3683
+ /**
3684
+ *
3685
+ * @type {string}
3686
+ * @memberof CompleteRegisterRequestBody
3687
+ */
3688
+ 'lastName': string;
3689
+ /**
3690
+ *
3691
+ * @type {string}
3692
+ * @memberof CompleteRegisterRequestBody
3693
+ */
3694
+ 'username': string;
3695
+ /**
3696
+ *
3697
+ * @type {Array<CompleteRegisterRequestBodyLevelBySportsInner>}
3698
+ * @memberof CompleteRegisterRequestBody
3699
+ */
3700
+ 'levelBySports': Array<CompleteRegisterRequestBodyLevelBySportsInner>;
3701
+ /**
3702
+ *
3703
+ * @type {string}
3704
+ * @memberof CompleteRegisterRequestBody
3705
+ */
3706
+ 'city': string;
3707
+ /**
3708
+ *
3709
+ * @type {string}
3710
+ * @memberof CompleteRegisterRequestBody
3711
+ */
3712
+ 'organizationId'?: string;
3713
+ /**
3714
+ *
3715
+ * @type {string}
3716
+ * @memberof CompleteRegisterRequestBody
3717
+ */
3718
+ 'organizationEmail'?: string;
3719
+ }
3720
+ /**
3721
+ *
3722
+ * @export
3723
+ * @interface CompleteRegisterRequestBodyLevelBySportsInner
3724
+ */
3725
+ export interface CompleteRegisterRequestBodyLevelBySportsInner {
3726
+ /**
3727
+ *
3728
+ * @type {string}
3729
+ * @memberof CompleteRegisterRequestBodyLevelBySportsInner
3730
+ */
3731
+ 'level': string;
3732
+ /**
3733
+ *
3734
+ * @type {string}
3735
+ * @memberof CompleteRegisterRequestBodyLevelBySportsInner
3736
+ */
3737
+ 'sport': string;
3738
+ }
3652
3739
  /**
3653
3740
  *
3654
3741
  * @export
@@ -4901,6 +4988,12 @@ export interface EmailExistsResponse {
4901
4988
  * @memberof EmailExistsResponse
4902
4989
  */
4903
4990
  'exists': boolean;
4991
+ /**
4992
+ *
4993
+ * @type {boolean}
4994
+ * @memberof EmailExistsResponse
4995
+ */
4996
+ 'verified': boolean;
4904
4997
  }
4905
4998
  /**
4906
4999
  *
@@ -5117,6 +5210,12 @@ export interface EventBookingDetailSummary {
5117
5210
  * @memberof EventBookingDetailSummary
5118
5211
  */
5119
5212
  'limitCancellationDate'?: string | null;
5213
+ /**
5214
+ * Position dans la file d\'attente si l\'utilisateur est en waitlist pour cet événement
5215
+ * @type {number}
5216
+ * @memberof EventBookingDetailSummary
5217
+ */
5218
+ 'waitListPosition'?: number | null;
5120
5219
  /**
5121
5220
  *
5122
5221
  * @type {string}
@@ -6245,6 +6344,44 @@ export interface GetSlotsByClubById200Response {
6245
6344
  */
6246
6345
  'slots': Array<any>;
6247
6346
  }
6347
+ /**
6348
+ *
6349
+ * @export
6350
+ * @interface GetUserPosition200Response
6351
+ */
6352
+ export interface GetUserPosition200Response {
6353
+ /**
6354
+ *
6355
+ * @type {string}
6356
+ * @memberof GetUserPosition200Response
6357
+ */
6358
+ 'message'?: string;
6359
+ /**
6360
+ *
6361
+ * @type {number}
6362
+ * @memberof GetUserPosition200Response
6363
+ */
6364
+ 'position': number | null;
6365
+ }
6366
+ /**
6367
+ *
6368
+ * @export
6369
+ * @interface GetWaitListForEvent200Response
6370
+ */
6371
+ export interface GetWaitListForEvent200Response {
6372
+ /**
6373
+ *
6374
+ * @type {number}
6375
+ * @memberof GetWaitListForEvent200Response
6376
+ */
6377
+ 'total': number;
6378
+ /**
6379
+ *
6380
+ * @type {Array<WaitListResponse>}
6381
+ * @memberof GetWaitListForEvent200Response
6382
+ */
6383
+ 'waitList': Array<WaitListResponse>;
6384
+ }
6248
6385
  /**
6249
6386
  *
6250
6387
  * @export
@@ -6294,6 +6431,12 @@ export interface GoogleAuthResponse {
6294
6431
  * @memberof GoogleAuthResponse
6295
6432
  */
6296
6433
  'role': string | null;
6434
+ /**
6435
+ *
6436
+ * @type {boolean}
6437
+ * @memberof GoogleAuthResponse
6438
+ */
6439
+ 'isOnBoardingInAppCompleted': boolean;
6297
6440
  /**
6298
6441
  *
6299
6442
  * @type {GoogleAuthResponseUser}
@@ -6626,6 +6769,18 @@ export interface IUserAttributes {
6626
6769
  * @memberof IUserAttributes
6627
6770
  */
6628
6771
  'isClient'?: boolean;
6772
+ /**
6773
+ *
6774
+ * @type {boolean}
6775
+ * @memberof IUserAttributes
6776
+ */
6777
+ 'isOnBoardingInAppCompleted'?: boolean;
6778
+ /**
6779
+ *
6780
+ * @type {string}
6781
+ * @memberof IUserAttributes
6782
+ */
6783
+ 'createdFrom'?: IUserAttributesCreatedFromEnum;
6629
6784
  /**
6630
6785
  *
6631
6786
  * @type {string}
@@ -6682,6 +6837,12 @@ export interface IUserAttributes {
6682
6837
  'stripeCustomerId'?: string;
6683
6838
  }
6684
6839
 
6840
+ export const IUserAttributesCreatedFromEnum = {
6841
+ App: 'app',
6842
+ Website: 'website'
6843
+ } as const;
6844
+
6845
+ export type IUserAttributesCreatedFromEnum = typeof IUserAttributesCreatedFromEnum[keyof typeof IUserAttributesCreatedFromEnum];
6685
6846
 
6686
6847
  /**
6687
6848
  *
@@ -7302,6 +7463,58 @@ export interface JoinOpenEventResponse {
7302
7463
  */
7303
7464
  'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
7304
7465
  }
7466
+ /**
7467
+ *
7468
+ * @export
7469
+ * @interface JoinWaitList200Response
7470
+ */
7471
+ export interface JoinWaitList200Response {
7472
+ /**
7473
+ *
7474
+ * @type {boolean}
7475
+ * @memberof JoinWaitList200Response
7476
+ */
7477
+ 'requiresSetup'?: boolean;
7478
+ /**
7479
+ *
7480
+ * @type {string}
7481
+ * @memberof JoinWaitList200Response
7482
+ */
7483
+ 'paymentLink'?: string;
7484
+ /**
7485
+ *
7486
+ * @type {WaitListResponse}
7487
+ * @memberof JoinWaitList200Response
7488
+ */
7489
+ 'waitList': WaitListResponse;
7490
+ /**
7491
+ *
7492
+ * @type {string}
7493
+ * @memberof JoinWaitList200Response
7494
+ */
7495
+ 'message': string;
7496
+ }
7497
+ /**
7498
+ *
7499
+ * @export
7500
+ * @interface JoinWaitListRequest
7501
+ */
7502
+ export interface JoinWaitListRequest {
7503
+ /**
7504
+ *
7505
+ * @type {PaymentMethod}
7506
+ * @memberof JoinWaitListRequest
7507
+ */
7508
+ 'paymentMethod'?: PaymentMethod;
7509
+ /**
7510
+ *
7511
+ * @type {boolean}
7512
+ * @memberof JoinWaitListRequest
7513
+ */
7514
+ 'useDefaultPaymentMethod'?: boolean;
7515
+ }
7516
+
7517
+
7305
7518
  /**
7306
7519
  *
7307
7520
  * @export
@@ -7482,6 +7695,12 @@ export interface LoginResponse {
7482
7695
  * @memberof LoginResponse
7483
7696
  */
7484
7697
  'role': string | null;
7698
+ /**
7699
+ *
7700
+ * @type {boolean}
7701
+ * @memberof LoginResponse
7702
+ */
7703
+ 'isOnBoardingInAppCompleted': boolean;
7485
7704
  }
7486
7705
  /**
7487
7706
  * Réponse listant les clubs gérés par l\'utilisateur
@@ -10514,6 +10733,18 @@ export interface StaffUserProfileResponse {
10514
10733
  * @memberof StaffUserProfileResponse
10515
10734
  */
10516
10735
  'isClient'?: boolean;
10736
+ /**
10737
+ *
10738
+ * @type {boolean}
10739
+ * @memberof StaffUserProfileResponse
10740
+ */
10741
+ 'isOnBoardingInAppCompleted'?: boolean;
10742
+ /**
10743
+ *
10744
+ * @type {string}
10745
+ * @memberof StaffUserProfileResponse
10746
+ */
10747
+ 'createdFrom'?: StaffUserProfileResponseCreatedFromEnum;
10517
10748
  /**
10518
10749
  *
10519
10750
  * @type {string}
@@ -10582,6 +10813,12 @@ export interface StaffUserProfileResponse {
10582
10813
  'creditOnMyClub'?: number;
10583
10814
  }
10584
10815
 
10816
+ export const StaffUserProfileResponseCreatedFromEnum = {
10817
+ App: 'app',
10818
+ Website: 'website'
10819
+ } as const;
10820
+
10821
+ export type StaffUserProfileResponseCreatedFromEnum = typeof StaffUserProfileResponseCreatedFromEnum[keyof typeof StaffUserProfileResponseCreatedFromEnum];
10585
10822
 
10586
10823
  /**
10587
10824
  *
@@ -11927,10 +12164,10 @@ export interface UpdateUserRequestBody {
11927
12164
  'profilePicture'?: string;
11928
12165
  /**
11929
12166
  *
11930
- * @type {Array<UpdateUserRequestBodyLevelBySportsInner>}
12167
+ * @type {Array<CompleteRegisterRequestBodyLevelBySportsInner>}
11931
12168
  * @memberof UpdateUserRequestBody
11932
12169
  */
11933
- 'levelBySports'?: Array<UpdateUserRequestBodyLevelBySportsInner>;
12170
+ 'levelBySports'?: Array<CompleteRegisterRequestBodyLevelBySportsInner>;
11934
12171
  /**
11935
12172
  *
11936
12173
  * @type {Array<UpdateUserRequestBodyCharacteristicsInner>}
@@ -11951,10 +12188,10 @@ export interface UpdateUserRequestBody {
11951
12188
  'description'?: string;
11952
12189
  /**
11953
12190
  *
11954
- * @type {RegisterRequestBodyLocation}
12191
+ * @type {IUserLocation}
11955
12192
  * @memberof UpdateUserRequestBody
11956
12193
  */
11957
- 'location'?: RegisterRequestBodyLocation;
12194
+ 'location'?: IUserLocation;
11958
12195
  }
11959
12196
 
11960
12197
 
@@ -11977,25 +12214,6 @@ export interface UpdateUserRequestBodyCharacteristicsInner {
11977
12214
  */
11978
12215
  'key': string;
11979
12216
  }
11980
- /**
11981
- *
11982
- * @export
11983
- * @interface UpdateUserRequestBodyLevelBySportsInner
11984
- */
11985
- export interface UpdateUserRequestBodyLevelBySportsInner {
11986
- /**
11987
- *
11988
- * @type {string}
11989
- * @memberof UpdateUserRequestBodyLevelBySportsInner
11990
- */
11991
- 'level': string;
11992
- /**
11993
- *
11994
- * @type {string}
11995
- * @memberof UpdateUserRequestBodyLevelBySportsInner
11996
- */
11997
- 'sport': string;
11998
- }
11999
12217
  /**
12000
12218
  *
12001
12219
  * @export
@@ -12622,6 +12840,18 @@ export interface UserProfileResponse {
12622
12840
  * @memberof UserProfileResponse
12623
12841
  */
12624
12842
  'isClient'?: boolean;
12843
+ /**
12844
+ *
12845
+ * @type {boolean}
12846
+ * @memberof UserProfileResponse
12847
+ */
12848
+ 'isOnBoardingInAppCompleted'?: boolean;
12849
+ /**
12850
+ *
12851
+ * @type {string}
12852
+ * @memberof UserProfileResponse
12853
+ */
12854
+ 'createdFrom'?: UserProfileResponseCreatedFromEnum;
12625
12855
  /**
12626
12856
  *
12627
12857
  * @type {string}
@@ -12726,6 +12956,12 @@ export interface UserProfileResponse {
12726
12956
  'clubId'?: string | null;
12727
12957
  }
12728
12958
 
12959
+ export const UserProfileResponseCreatedFromEnum = {
12960
+ App: 'app',
12961
+ Website: 'website'
12962
+ } as const;
12963
+
12964
+ export type UserProfileResponseCreatedFromEnum = typeof UserProfileResponseCreatedFromEnum[keyof typeof UserProfileResponseCreatedFromEnum];
12729
12965
 
12730
12966
  /**
12731
12967
  *
@@ -12819,6 +13055,73 @@ export const VisibilityType = {
12819
13055
  export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
12820
13056
 
12821
13057
 
13058
+ /**
13059
+ *
13060
+ * @export
13061
+ * @interface WaitListResponse
13062
+ */
13063
+ export interface WaitListResponse {
13064
+ /**
13065
+ *
13066
+ * @type {string}
13067
+ * @memberof WaitListResponse
13068
+ */
13069
+ 'id': string;
13070
+ /**
13071
+ *
13072
+ * @type {string}
13073
+ * @memberof WaitListResponse
13074
+ */
13075
+ 'eventId': string;
13076
+ /**
13077
+ *
13078
+ * @type {string}
13079
+ * @memberof WaitListResponse
13080
+ */
13081
+ 'userId': string;
13082
+ /**
13083
+ *
13084
+ * @type {string}
13085
+ * @memberof WaitListResponse
13086
+ */
13087
+ 'status': string;
13088
+ /**
13089
+ *
13090
+ * @type {number}
13091
+ * @memberof WaitListResponse
13092
+ */
13093
+ 'position': number;
13094
+ /**
13095
+ *
13096
+ * @type {number}
13097
+ * @memberof WaitListResponse
13098
+ */
13099
+ 'priceInCents': number;
13100
+ /**
13101
+ *
13102
+ * @type {boolean}
13103
+ * @memberof WaitListResponse
13104
+ */
13105
+ 'paymentAuthorized': boolean;
13106
+ /**
13107
+ *
13108
+ * @type {string}
13109
+ * @memberof WaitListResponse
13110
+ */
13111
+ 'joinedAt': string;
13112
+ /**
13113
+ *
13114
+ * @type {string}
13115
+ * @memberof WaitListResponse
13116
+ */
13117
+ 'expiresAt'?: string;
13118
+ /**
13119
+ *
13120
+ * @type {string}
13121
+ * @memberof WaitListResponse
13122
+ */
13123
+ 'paymentLink'?: string;
13124
+ }
12822
13125
  /**
12823
13126
  *
12824
13127
  * @export
@@ -26414,13 +26717,520 @@ export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeo
26414
26717
 
26415
26718
 
26416
26719
  /**
26417
- * ImagesApi - axios parameter creator
26720
+ * EventsWaitListApi - axios parameter creator
26418
26721
  * @export
26419
26722
  */
26420
- export const ImagesApiAxiosParamCreator = function (configuration?: Configuration) {
26723
+ export const EventsWaitListApiAxiosParamCreator = function (configuration?: Configuration) {
26421
26724
  return {
26422
26725
  /**
26423
- *
26726
+ * Obtenir la position actuelle dans la file d\'attente
26727
+ * @param {string} eventId
26728
+ * @param {*} [options] Override http request option.
26729
+ * @throws {RequiredError}
26730
+ */
26731
+ getUserPosition: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26732
+ // verify required parameter 'eventId' is not null or undefined
26733
+ assertParamExists('getUserPosition', 'eventId', eventId)
26734
+ const localVarPath = `/api/events/waitlist/{eventId}/position`
26735
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
26736
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26737
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26738
+ let baseOptions;
26739
+ if (configuration) {
26740
+ baseOptions = configuration.baseOptions;
26741
+ }
26742
+
26743
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26744
+ const localVarHeaderParameter = {} as any;
26745
+ const localVarQueryParameter = {} as any;
26746
+
26747
+ // authentication bearerAuth required
26748
+ // http bearer authentication required
26749
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26750
+
26751
+
26752
+
26753
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26754
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26755
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26756
+
26757
+ return {
26758
+ url: toPathString(localVarUrlObj),
26759
+ options: localVarRequestOptions,
26760
+ };
26761
+ },
26762
+ /**
26763
+ * Rejoindre la file d\'attente pour un événement
26764
+ * @param {string} eventId
26765
+ * @param {JoinWaitListRequest} joinWaitListRequest
26766
+ * @param {*} [options] Override http request option.
26767
+ * @throws {RequiredError}
26768
+ */
26769
+ joinWaitList: async (eventId: string, joinWaitListRequest: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26770
+ // verify required parameter 'eventId' is not null or undefined
26771
+ assertParamExists('joinWaitList', 'eventId', eventId)
26772
+ // verify required parameter 'joinWaitListRequest' is not null or undefined
26773
+ assertParamExists('joinWaitList', 'joinWaitListRequest', joinWaitListRequest)
26774
+ const localVarPath = `/api/events/waitlist/{eventId}/join`
26775
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
26776
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26777
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26778
+ let baseOptions;
26779
+ if (configuration) {
26780
+ baseOptions = configuration.baseOptions;
26781
+ }
26782
+
26783
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26784
+ const localVarHeaderParameter = {} as any;
26785
+ const localVarQueryParameter = {} as any;
26786
+
26787
+ // authentication bearerAuth required
26788
+ // http bearer authentication required
26789
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26790
+
26791
+
26792
+
26793
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26794
+
26795
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26796
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26797
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26798
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
26799
+
26800
+ return {
26801
+ url: toPathString(localVarUrlObj),
26802
+ options: localVarRequestOptions,
26803
+ };
26804
+ },
26805
+ /**
26806
+ * Quitter la file d\'attente
26807
+ * @param {string} eventId
26808
+ * @param {*} [options] Override http request option.
26809
+ * @throws {RequiredError}
26810
+ */
26811
+ leaveWaitList: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26812
+ // verify required parameter 'eventId' is not null or undefined
26813
+ assertParamExists('leaveWaitList', 'eventId', eventId)
26814
+ const localVarPath = `/api/events/waitlist/{eventId}/leave`
26815
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
26816
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26817
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26818
+ let baseOptions;
26819
+ if (configuration) {
26820
+ baseOptions = configuration.baseOptions;
26821
+ }
26822
+
26823
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
26824
+ const localVarHeaderParameter = {} as any;
26825
+ const localVarQueryParameter = {} as any;
26826
+
26827
+ // authentication bearerAuth required
26828
+ // http bearer authentication required
26829
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26830
+
26831
+
26832
+
26833
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26834
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26835
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26836
+
26837
+ return {
26838
+ url: toPathString(localVarUrlObj),
26839
+ options: localVarRequestOptions,
26840
+ };
26841
+ },
26842
+ }
26843
+ };
26844
+
26845
+ /**
26846
+ * EventsWaitListApi - functional programming interface
26847
+ * @export
26848
+ */
26849
+ export const EventsWaitListApiFp = function(configuration?: Configuration) {
26850
+ const localVarAxiosParamCreator = EventsWaitListApiAxiosParamCreator(configuration)
26851
+ return {
26852
+ /**
26853
+ * Obtenir la position actuelle dans la file d\'attente
26854
+ * @param {string} eventId
26855
+ * @param {*} [options] Override http request option.
26856
+ * @throws {RequiredError}
26857
+ */
26858
+ async getUserPosition(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserPosition200Response>> {
26859
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserPosition(eventId, options);
26860
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26861
+ const localVarOperationServerBasePath = operationServerMap['EventsWaitListApi.getUserPosition']?.[localVarOperationServerIndex]?.url;
26862
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26863
+ },
26864
+ /**
26865
+ * Rejoindre la file d\'attente pour un événement
26866
+ * @param {string} eventId
26867
+ * @param {JoinWaitListRequest} joinWaitListRequest
26868
+ * @param {*} [options] Override http request option.
26869
+ * @throws {RequiredError}
26870
+ */
26871
+ async joinWaitList(eventId: string, joinWaitListRequest: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinWaitList200Response>> {
26872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.joinWaitList(eventId, joinWaitListRequest, options);
26873
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26874
+ const localVarOperationServerBasePath = operationServerMap['EventsWaitListApi.joinWaitList']?.[localVarOperationServerIndex]?.url;
26875
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26876
+ },
26877
+ /**
26878
+ * Quitter la file d\'attente
26879
+ * @param {string} eventId
26880
+ * @param {*} [options] Override http request option.
26881
+ * @throws {RequiredError}
26882
+ */
26883
+ async leaveWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
26884
+ const localVarAxiosArgs = await localVarAxiosParamCreator.leaveWaitList(eventId, options);
26885
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26886
+ const localVarOperationServerBasePath = operationServerMap['EventsWaitListApi.leaveWaitList']?.[localVarOperationServerIndex]?.url;
26887
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26888
+ },
26889
+ }
26890
+ };
26891
+
26892
+ /**
26893
+ * EventsWaitListApi - factory interface
26894
+ * @export
26895
+ */
26896
+ export const EventsWaitListApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
26897
+ const localVarFp = EventsWaitListApiFp(configuration)
26898
+ return {
26899
+ /**
26900
+ * Obtenir la position actuelle dans la file d\'attente
26901
+ * @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
26902
+ * @param {*} [options] Override http request option.
26903
+ * @throws {RequiredError}
26904
+ */
26905
+ getUserPosition(requestParameters: EventsWaitListApiGetUserPositionRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPosition200Response> {
26906
+ return localVarFp.getUserPosition(requestParameters.eventId, options).then((request) => request(axios, basePath));
26907
+ },
26908
+ /**
26909
+ * Rejoindre la file d\'attente pour un événement
26910
+ * @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
26911
+ * @param {*} [options] Override http request option.
26912
+ * @throws {RequiredError}
26913
+ */
26914
+ joinWaitList(requestParameters: EventsWaitListApiJoinWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinWaitList200Response> {
26915
+ return localVarFp.joinWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
26916
+ },
26917
+ /**
26918
+ * Quitter la file d\'attente
26919
+ * @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
26920
+ * @param {*} [options] Override http request option.
26921
+ * @throws {RequiredError}
26922
+ */
26923
+ leaveWaitList(requestParameters: EventsWaitListApiLeaveWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
26924
+ return localVarFp.leaveWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
26925
+ },
26926
+ };
26927
+ };
26928
+
26929
+ /**
26930
+ * Request parameters for getUserPosition operation in EventsWaitListApi.
26931
+ * @export
26932
+ * @interface EventsWaitListApiGetUserPositionRequest
26933
+ */
26934
+ export interface EventsWaitListApiGetUserPositionRequest {
26935
+ /**
26936
+ *
26937
+ * @type {string}
26938
+ * @memberof EventsWaitListApiGetUserPosition
26939
+ */
26940
+ readonly eventId: string
26941
+ }
26942
+
26943
+ /**
26944
+ * Request parameters for joinWaitList operation in EventsWaitListApi.
26945
+ * @export
26946
+ * @interface EventsWaitListApiJoinWaitListRequest
26947
+ */
26948
+ export interface EventsWaitListApiJoinWaitListRequest {
26949
+ /**
26950
+ *
26951
+ * @type {string}
26952
+ * @memberof EventsWaitListApiJoinWaitList
26953
+ */
26954
+ readonly eventId: string
26955
+
26956
+ /**
26957
+ *
26958
+ * @type {JoinWaitListRequest}
26959
+ * @memberof EventsWaitListApiJoinWaitList
26960
+ */
26961
+ readonly joinWaitListRequest: JoinWaitListRequest
26962
+ }
26963
+
26964
+ /**
26965
+ * Request parameters for leaveWaitList operation in EventsWaitListApi.
26966
+ * @export
26967
+ * @interface EventsWaitListApiLeaveWaitListRequest
26968
+ */
26969
+ export interface EventsWaitListApiLeaveWaitListRequest {
26970
+ /**
26971
+ *
26972
+ * @type {string}
26973
+ * @memberof EventsWaitListApiLeaveWaitList
26974
+ */
26975
+ readonly eventId: string
26976
+ }
26977
+
26978
+ /**
26979
+ * EventsWaitListApi - object-oriented interface
26980
+ * @export
26981
+ * @class EventsWaitListApi
26982
+ * @extends {BaseAPI}
26983
+ */
26984
+ export class EventsWaitListApi extends BaseAPI {
26985
+ /**
26986
+ * Obtenir la position actuelle dans la file d\'attente
26987
+ * @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
26988
+ * @param {*} [options] Override http request option.
26989
+ * @throws {RequiredError}
26990
+ * @memberof EventsWaitListApi
26991
+ */
26992
+ public getUserPosition(requestParameters: EventsWaitListApiGetUserPositionRequest, options?: RawAxiosRequestConfig) {
26993
+ return EventsWaitListApiFp(this.configuration).getUserPosition(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
26994
+ }
26995
+
26996
+ /**
26997
+ * Rejoindre la file d\'attente pour un événement
26998
+ * @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
26999
+ * @param {*} [options] Override http request option.
27000
+ * @throws {RequiredError}
27001
+ * @memberof EventsWaitListApi
27002
+ */
27003
+ public joinWaitList(requestParameters: EventsWaitListApiJoinWaitListRequest, options?: RawAxiosRequestConfig) {
27004
+ return EventsWaitListApiFp(this.configuration).joinWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
27005
+ }
27006
+
27007
+ /**
27008
+ * Quitter la file d\'attente
27009
+ * @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
27010
+ * @param {*} [options] Override http request option.
27011
+ * @throws {RequiredError}
27012
+ * @memberof EventsWaitListApi
27013
+ */
27014
+ public leaveWaitList(requestParameters: EventsWaitListApiLeaveWaitListRequest, options?: RawAxiosRequestConfig) {
27015
+ return EventsWaitListApiFp(this.configuration).leaveWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
27016
+ }
27017
+ }
27018
+
27019
+
27020
+
27021
+ /**
27022
+ * EventsWaitListStaffApi - axios parameter creator
27023
+ * @export
27024
+ */
27025
+ export const EventsWaitListStaffApiAxiosParamCreator = function (configuration?: Configuration) {
27026
+ return {
27027
+ /**
27028
+ * Obtenir la liste complète de la file d\'attente (staff only)
27029
+ * @param {string} eventId
27030
+ * @param {*} [options] Override http request option.
27031
+ * @throws {RequiredError}
27032
+ */
27033
+ getWaitListForEvent: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27034
+ // verify required parameter 'eventId' is not null or undefined
27035
+ assertParamExists('getWaitListForEvent', 'eventId', eventId)
27036
+ const localVarPath = `/api/events/waitlist/{eventId}`
27037
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
27038
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27039
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27040
+ let baseOptions;
27041
+ if (configuration) {
27042
+ baseOptions = configuration.baseOptions;
27043
+ }
27044
+
27045
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
27046
+ const localVarHeaderParameter = {} as any;
27047
+ const localVarQueryParameter = {} as any;
27048
+
27049
+ // authentication bearerAuth required
27050
+ // http bearer authentication required
27051
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
27052
+
27053
+
27054
+
27055
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27056
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27057
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27058
+
27059
+ return {
27060
+ url: toPathString(localVarUrlObj),
27061
+ options: localVarRequestOptions,
27062
+ };
27063
+ },
27064
+ /**
27065
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27066
+ * @param {string} eventId
27067
+ * @param {*} [options] Override http request option.
27068
+ * @throws {RequiredError}
27069
+ */
27070
+ processWaitList: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27071
+ // verify required parameter 'eventId' is not null or undefined
27072
+ assertParamExists('processWaitList', 'eventId', eventId)
27073
+ const localVarPath = `/api/events/waitlist/{eventId}/process`
27074
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
27075
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27076
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27077
+ let baseOptions;
27078
+ if (configuration) {
27079
+ baseOptions = configuration.baseOptions;
27080
+ }
27081
+
27082
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
27083
+ const localVarHeaderParameter = {} as any;
27084
+ const localVarQueryParameter = {} as any;
27085
+
27086
+ // authentication bearerAuth required
27087
+ // http bearer authentication required
27088
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
27089
+
27090
+
27091
+
27092
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27093
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27094
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27095
+
27096
+ return {
27097
+ url: toPathString(localVarUrlObj),
27098
+ options: localVarRequestOptions,
27099
+ };
27100
+ },
27101
+ }
27102
+ };
27103
+
27104
+ /**
27105
+ * EventsWaitListStaffApi - functional programming interface
27106
+ * @export
27107
+ */
27108
+ export const EventsWaitListStaffApiFp = function(configuration?: Configuration) {
27109
+ const localVarAxiosParamCreator = EventsWaitListStaffApiAxiosParamCreator(configuration)
27110
+ return {
27111
+ /**
27112
+ * Obtenir la liste complète de la file d\'attente (staff only)
27113
+ * @param {string} eventId
27114
+ * @param {*} [options] Override http request option.
27115
+ * @throws {RequiredError}
27116
+ */
27117
+ async getWaitListForEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWaitListForEvent200Response>> {
27118
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getWaitListForEvent(eventId, options);
27119
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27120
+ const localVarOperationServerBasePath = operationServerMap['EventsWaitListStaffApi.getWaitListForEvent']?.[localVarOperationServerIndex]?.url;
27121
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27122
+ },
27123
+ /**
27124
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27125
+ * @param {string} eventId
27126
+ * @param {*} [options] Override http request option.
27127
+ * @throws {RequiredError}
27128
+ */
27129
+ async processWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
27130
+ const localVarAxiosArgs = await localVarAxiosParamCreator.processWaitList(eventId, options);
27131
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27132
+ const localVarOperationServerBasePath = operationServerMap['EventsWaitListStaffApi.processWaitList']?.[localVarOperationServerIndex]?.url;
27133
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27134
+ },
27135
+ }
27136
+ };
27137
+
27138
+ /**
27139
+ * EventsWaitListStaffApi - factory interface
27140
+ * @export
27141
+ */
27142
+ export const EventsWaitListStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
27143
+ const localVarFp = EventsWaitListStaffApiFp(configuration)
27144
+ return {
27145
+ /**
27146
+ * Obtenir la liste complète de la file d\'attente (staff only)
27147
+ * @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
27148
+ * @param {*} [options] Override http request option.
27149
+ * @throws {RequiredError}
27150
+ */
27151
+ getWaitListForEvent(requestParameters: EventsWaitListStaffApiGetWaitListForEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetWaitListForEvent200Response> {
27152
+ return localVarFp.getWaitListForEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
27153
+ },
27154
+ /**
27155
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27156
+ * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
27157
+ * @param {*} [options] Override http request option.
27158
+ * @throws {RequiredError}
27159
+ */
27160
+ processWaitList(requestParameters: EventsWaitListStaffApiProcessWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
27161
+ return localVarFp.processWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
27162
+ },
27163
+ };
27164
+ };
27165
+
27166
+ /**
27167
+ * Request parameters for getWaitListForEvent operation in EventsWaitListStaffApi.
27168
+ * @export
27169
+ * @interface EventsWaitListStaffApiGetWaitListForEventRequest
27170
+ */
27171
+ export interface EventsWaitListStaffApiGetWaitListForEventRequest {
27172
+ /**
27173
+ *
27174
+ * @type {string}
27175
+ * @memberof EventsWaitListStaffApiGetWaitListForEvent
27176
+ */
27177
+ readonly eventId: string
27178
+ }
27179
+
27180
+ /**
27181
+ * Request parameters for processWaitList operation in EventsWaitListStaffApi.
27182
+ * @export
27183
+ * @interface EventsWaitListStaffApiProcessWaitListRequest
27184
+ */
27185
+ export interface EventsWaitListStaffApiProcessWaitListRequest {
27186
+ /**
27187
+ *
27188
+ * @type {string}
27189
+ * @memberof EventsWaitListStaffApiProcessWaitList
27190
+ */
27191
+ readonly eventId: string
27192
+ }
27193
+
27194
+ /**
27195
+ * EventsWaitListStaffApi - object-oriented interface
27196
+ * @export
27197
+ * @class EventsWaitListStaffApi
27198
+ * @extends {BaseAPI}
27199
+ */
27200
+ export class EventsWaitListStaffApi extends BaseAPI {
27201
+ /**
27202
+ * Obtenir la liste complète de la file d\'attente (staff only)
27203
+ * @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
27204
+ * @param {*} [options] Override http request option.
27205
+ * @throws {RequiredError}
27206
+ * @memberof EventsWaitListStaffApi
27207
+ */
27208
+ public getWaitListForEvent(requestParameters: EventsWaitListStaffApiGetWaitListForEventRequest, options?: RawAxiosRequestConfig) {
27209
+ return EventsWaitListStaffApiFp(this.configuration).getWaitListForEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
27210
+ }
27211
+
27212
+ /**
27213
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27214
+ * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
27215
+ * @param {*} [options] Override http request option.
27216
+ * @throws {RequiredError}
27217
+ * @memberof EventsWaitListStaffApi
27218
+ */
27219
+ public processWaitList(requestParameters: EventsWaitListStaffApiProcessWaitListRequest, options?: RawAxiosRequestConfig) {
27220
+ return EventsWaitListStaffApiFp(this.configuration).processWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
27221
+ }
27222
+ }
27223
+
27224
+
27225
+
27226
+ /**
27227
+ * ImagesApi - axios parameter creator
27228
+ * @export
27229
+ */
27230
+ export const ImagesApiAxiosParamCreator = function (configuration?: Configuration) {
27231
+ return {
27232
+ /**
27233
+ *
26424
27234
  * @param {ImageCleanupRequestBody} imageCleanupRequestBody
26425
27235
  * @param {*} [options] Override http request option.
26426
27236
  * @throws {RequiredError}
@@ -28562,6 +29372,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
28562
29372
  options: localVarRequestOptions,
28563
29373
  };
28564
29374
  },
29375
+ /**
29376
+ *
29377
+ * @param {CompleteRegisterRequestBody} completeRegisterRequestBody
29378
+ * @param {*} [options] Override http request option.
29379
+ * @throws {RequiredError}
29380
+ */
29381
+ completeRegister: async (completeRegisterRequestBody: CompleteRegisterRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29382
+ // verify required parameter 'completeRegisterRequestBody' is not null or undefined
29383
+ assertParamExists('completeRegister', 'completeRegisterRequestBody', completeRegisterRequestBody)
29384
+ const localVarPath = `/api/users/complete-register`;
29385
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29386
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29387
+ let baseOptions;
29388
+ if (configuration) {
29389
+ baseOptions = configuration.baseOptions;
29390
+ }
29391
+
29392
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
29393
+ const localVarHeaderParameter = {} as any;
29394
+ const localVarQueryParameter = {} as any;
29395
+
29396
+ // authentication bearerAuth required
29397
+ // http bearer authentication required
29398
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29399
+
29400
+
29401
+
29402
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29403
+
29404
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29405
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29406
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29407
+ localVarRequestOptions.data = serializeDataIfNeeded(completeRegisterRequestBody, localVarRequestOptions, configuration)
29408
+
29409
+ return {
29410
+ url: toPathString(localVarUrlObj),
29411
+ options: localVarRequestOptions,
29412
+ };
29413
+ },
28565
29414
  /**
28566
29415
  *
28567
29416
  * @param {*} [options] Override http request option.
@@ -29393,6 +30242,41 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
29393
30242
  options: localVarRequestOptions,
29394
30243
  };
29395
30244
  },
30245
+ /**
30246
+ *
30247
+ * @param {AppRegisterRequestBody} appRegisterRequestBody
30248
+ * @param {*} [options] Override http request option.
30249
+ * @throws {RequiredError}
30250
+ */
30251
+ registerFromApp: async (appRegisterRequestBody: AppRegisterRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30252
+ // verify required parameter 'appRegisterRequestBody' is not null or undefined
30253
+ assertParamExists('registerFromApp', 'appRegisterRequestBody', appRegisterRequestBody)
30254
+ const localVarPath = `/api/users/register-app`;
30255
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30256
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30257
+ let baseOptions;
30258
+ if (configuration) {
30259
+ baseOptions = configuration.baseOptions;
30260
+ }
30261
+
30262
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
30263
+ const localVarHeaderParameter = {} as any;
30264
+ const localVarQueryParameter = {} as any;
30265
+
30266
+
30267
+
30268
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30269
+
30270
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30271
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30272
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30273
+ localVarRequestOptions.data = serializeDataIfNeeded(appRegisterRequestBody, localVarRequestOptions, configuration)
30274
+
30275
+ return {
30276
+ url: toPathString(localVarUrlObj),
30277
+ options: localVarRequestOptions,
30278
+ };
30279
+ },
29396
30280
  /**
29397
30281
  *
29398
30282
  * @param {string} clubId
@@ -29928,6 +30812,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
29928
30812
  const localVarOperationServerBasePath = operationServerMap['UsersApi.changePassword']?.[localVarOperationServerIndex]?.url;
29929
30813
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29930
30814
  },
30815
+ /**
30816
+ *
30817
+ * @param {CompleteRegisterRequestBody} completeRegisterRequestBody
30818
+ * @param {*} [options] Override http request option.
30819
+ * @throws {RequiredError}
30820
+ */
30821
+ async completeRegister(completeRegisterRequestBody: CompleteRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>> {
30822
+ const localVarAxiosArgs = await localVarAxiosParamCreator.completeRegister(completeRegisterRequestBody, options);
30823
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30824
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.completeRegister']?.[localVarOperationServerIndex]?.url;
30825
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30826
+ },
29931
30827
  /**
29932
30828
  *
29933
30829
  * @param {*} [options] Override http request option.
@@ -30191,6 +31087,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
30191
31087
  const localVarOperationServerBasePath = operationServerMap['UsersApi.register']?.[localVarOperationServerIndex]?.url;
30192
31088
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30193
31089
  },
31090
+ /**
31091
+ *
31092
+ * @param {AppRegisterRequestBody} appRegisterRequestBody
31093
+ * @param {*} [options] Override http request option.
31094
+ * @throws {RequiredError}
31095
+ */
31096
+ async registerFromApp(appRegisterRequestBody: AppRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>> {
31097
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registerFromApp(appRegisterRequestBody, options);
31098
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31099
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.registerFromApp']?.[localVarOperationServerIndex]?.url;
31100
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31101
+ },
30194
31102
  /**
30195
31103
  *
30196
31104
  * @param {string} clubId
@@ -30392,6 +31300,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
30392
31300
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse> {
30393
31301
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
30394
31302
  },
31303
+ /**
31304
+ *
31305
+ * @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
31306
+ * @param {*} [options] Override http request option.
31307
+ * @throws {RequiredError}
31308
+ */
31309
+ completeRegister(requestParameters: UsersApiCompleteRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes> {
31310
+ return localVarFp.completeRegister(requestParameters.completeRegisterRequestBody, options).then((request) => request(axios, basePath));
31311
+ },
30395
31312
  /**
30396
31313
  *
30397
31314
  * @param {*} [options] Override http request option.
@@ -30573,6 +31490,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
30573
31490
  register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes> {
30574
31491
  return localVarFp.register(requestParameters.registerRequestBody, options).then((request) => request(axios, basePath));
30575
31492
  },
31493
+ /**
31494
+ *
31495
+ * @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
31496
+ * @param {*} [options] Override http request option.
31497
+ * @throws {RequiredError}
31498
+ */
31499
+ registerFromApp(requestParameters: UsersApiRegisterFromAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes> {
31500
+ return localVarFp.registerFromApp(requestParameters.appRegisterRequestBody, options).then((request) => request(axios, basePath));
31501
+ },
30576
31502
  /**
30577
31503
  *
30578
31504
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
@@ -30748,6 +31674,20 @@ export interface UsersApiChangePasswordRequest {
30748
31674
  readonly changePasswordRequestBody: ChangePasswordRequestBody
30749
31675
  }
30750
31676
 
31677
+ /**
31678
+ * Request parameters for completeRegister operation in UsersApi.
31679
+ * @export
31680
+ * @interface UsersApiCompleteRegisterRequest
31681
+ */
31682
+ export interface UsersApiCompleteRegisterRequest {
31683
+ /**
31684
+ *
31685
+ * @type {CompleteRegisterRequestBody}
31686
+ * @memberof UsersApiCompleteRegister
31687
+ */
31688
+ readonly completeRegisterRequestBody: CompleteRegisterRequestBody
31689
+ }
31690
+
30751
31691
  /**
30752
31692
  * Request parameters for getBookingDetail operation in UsersApi.
30753
31693
  * @export
@@ -31063,6 +32003,20 @@ export interface UsersApiRegisterRequest {
31063
32003
  readonly registerRequestBody: RegisterRequestBody
31064
32004
  }
31065
32005
 
32006
+ /**
32007
+ * Request parameters for registerFromApp operation in UsersApi.
32008
+ * @export
32009
+ * @interface UsersApiRegisterFromAppRequest
32010
+ */
32011
+ export interface UsersApiRegisterFromAppRequest {
32012
+ /**
32013
+ *
32014
+ * @type {AppRegisterRequestBody}
32015
+ * @memberof UsersApiRegisterFromApp
32016
+ */
32017
+ readonly appRegisterRequestBody: AppRegisterRequestBody
32018
+ }
32019
+
31066
32020
  /**
31067
32021
  * Request parameters for removeFavoriteClub operation in UsersApi.
31068
32022
  * @export
@@ -31282,6 +32236,17 @@ export class UsersApi extends BaseAPI {
31282
32236
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
31283
32237
  }
31284
32238
 
32239
+ /**
32240
+ *
32241
+ * @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
32242
+ * @param {*} [options] Override http request option.
32243
+ * @throws {RequiredError}
32244
+ * @memberof UsersApi
32245
+ */
32246
+ public completeRegister(requestParameters: UsersApiCompleteRegisterRequest, options?: RawAxiosRequestConfig) {
32247
+ return UsersApiFp(this.configuration).completeRegister(requestParameters.completeRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
32248
+ }
32249
+
31285
32250
  /**
31286
32251
  *
31287
32252
  * @param {*} [options] Override http request option.
@@ -31505,6 +32470,17 @@ export class UsersApi extends BaseAPI {
31505
32470
  return UsersApiFp(this.configuration).register(requestParameters.registerRequestBody, options).then((request) => request(this.axios, this.basePath));
31506
32471
  }
31507
32472
 
32473
+ /**
32474
+ *
32475
+ * @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
32476
+ * @param {*} [options] Override http request option.
32477
+ * @throws {RequiredError}
32478
+ * @memberof UsersApi
32479
+ */
32480
+ public registerFromApp(requestParameters: UsersApiRegisterFromAppRequest, options?: RawAxiosRequestConfig) {
32481
+ return UsersApiFp(this.configuration).registerFromApp(requestParameters.appRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
32482
+ }
32483
+
31508
32484
  /**
31509
32485
  *
31510
32486
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.