@tennac-booking/sdk 1.0.171 → 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.
package/README.md CHANGED
@@ -228,6 +228,7 @@ Class | Method | HTTP request | Description
228
228
  *UsersApi* | [**addFavoritePlayer**](docs/UsersApi.md#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers |
229
229
  *UsersApi* | [**addOrganization**](docs/UsersApi.md#addorganization) | **POST** /api/users/me/add-organization |
230
230
  *UsersApi* | [**changePassword**](docs/UsersApi.md#changepassword) | **PUT** /api/users/me/password |
231
+ *UsersApi* | [**completeRegister**](docs/UsersApi.md#completeregister) | **POST** /api/users/complete-register |
231
232
  *UsersApi* | [**getAllUsers**](docs/UsersApi.md#getallusers) | **GET** /api/users |
232
233
  *UsersApi* | [**getBookingDetail**](docs/UsersApi.md#getbookingdetail) | **GET** /api/users/me/booking-detail/{bookingId} |
233
234
  *UsersApi* | [**getFavoriteClubs**](docs/UsersApi.md#getfavoriteclubs) | **GET** /api/users/me/favorite-clubs |
@@ -249,6 +250,7 @@ Class | Method | HTTP request | Description
249
250
  *UsersApi* | [**loginClubMember**](docs/UsersApi.md#loginclubmember) | **POST** /api/users/club-members/login |
250
251
  *UsersApi* | [**refreshToken**](docs/UsersApi.md#refreshtoken) | **POST** /api/users/refresh-token |
251
252
  *UsersApi* | [**register**](docs/UsersApi.md#register) | **POST** /api/users |
253
+ *UsersApi* | [**registerFromApp**](docs/UsersApi.md#registerfromapp) | **POST** /api/users/register-app |
252
254
  *UsersApi* | [**removeFavoriteClub**](docs/UsersApi.md#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} |
253
255
  *UsersApi* | [**removeFavoritePlayer**](docs/UsersApi.md#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} |
254
256
  *UsersApi* | [**removeOrganization**](docs/UsersApi.md#removeorganization) | **POST** /api/users/me/remove-organization |
@@ -272,6 +274,7 @@ Class | Method | HTTP request | Description
272
274
  - [AgendaBooking](docs/AgendaBooking.md)
273
275
  - [AgendaBookingPlayer](docs/AgendaBookingPlayer.md)
274
276
  - [AgendaBookingSlot](docs/AgendaBookingSlot.md)
277
+ - [AppRegisterRequestBody](docs/AppRegisterRequestBody.md)
275
278
  - [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
276
279
  - [BookingClubInfo](docs/BookingClubInfo.md)
277
280
  - [BookingCourtInfo](docs/BookingCourtInfo.md)
@@ -358,6 +361,8 @@ Class | Method | HTTP request | Description
358
361
  - [ClubSubscriptions](docs/ClubSubscriptions.md)
359
362
  - [ClubSummary](docs/ClubSummary.md)
360
363
  - [ClubUserCountResponse](docs/ClubUserCountResponse.md)
364
+ - [CompleteRegisterRequestBody](docs/CompleteRegisterRequestBody.md)
365
+ - [CompleteRegisterRequestBodyLevelBySportsInner](docs/CompleteRegisterRequestBodyLevelBySportsInner.md)
361
366
  - [ContactRequestBody](docs/ContactRequestBody.md)
362
367
  - [ContactSuccessResponse](docs/ContactSuccessResponse.md)
363
368
  - [CourtBookingShareItem](docs/CourtBookingShareItem.md)
@@ -593,7 +598,6 @@ Class | Method | HTTP request | Description
593
598
  - [UpdateUserCreditsRequest](docs/UpdateUserCreditsRequest.md)
594
599
  - [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
595
600
  - [UpdateUserRequestBodyCharacteristicsInner](docs/UpdateUserRequestBodyCharacteristicsInner.md)
596
- - [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
597
601
  - [UserBookingsResponse](docs/UserBookingsResponse.md)
598
602
  - [UserClubMembership](docs/UserClubMembership.md)
599
603
  - [UserClubMembershipsResponse](docs/UserClubMembershipsResponse.md)
package/api.ts CHANGED
@@ -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
  *
@@ -6338,6 +6431,12 @@ export interface GoogleAuthResponse {
6338
6431
  * @memberof GoogleAuthResponse
6339
6432
  */
6340
6433
  'role': string | null;
6434
+ /**
6435
+ *
6436
+ * @type {boolean}
6437
+ * @memberof GoogleAuthResponse
6438
+ */
6439
+ 'isOnBoardingInAppCompleted': boolean;
6341
6440
  /**
6342
6441
  *
6343
6442
  * @type {GoogleAuthResponseUser}
@@ -6670,6 +6769,18 @@ export interface IUserAttributes {
6670
6769
  * @memberof IUserAttributes
6671
6770
  */
6672
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;
6673
6784
  /**
6674
6785
  *
6675
6786
  * @type {string}
@@ -6726,6 +6837,12 @@ export interface IUserAttributes {
6726
6837
  'stripeCustomerId'?: string;
6727
6838
  }
6728
6839
 
6840
+ export const IUserAttributesCreatedFromEnum = {
6841
+ App: 'app',
6842
+ Website: 'website'
6843
+ } as const;
6844
+
6845
+ export type IUserAttributesCreatedFromEnum = typeof IUserAttributesCreatedFromEnum[keyof typeof IUserAttributesCreatedFromEnum];
6729
6846
 
6730
6847
  /**
6731
6848
  *
@@ -7578,6 +7695,12 @@ export interface LoginResponse {
7578
7695
  * @memberof LoginResponse
7579
7696
  */
7580
7697
  'role': string | null;
7698
+ /**
7699
+ *
7700
+ * @type {boolean}
7701
+ * @memberof LoginResponse
7702
+ */
7703
+ 'isOnBoardingInAppCompleted': boolean;
7581
7704
  }
7582
7705
  /**
7583
7706
  * Réponse listant les clubs gérés par l\'utilisateur
@@ -10610,6 +10733,18 @@ export interface StaffUserProfileResponse {
10610
10733
  * @memberof StaffUserProfileResponse
10611
10734
  */
10612
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;
10613
10748
  /**
10614
10749
  *
10615
10750
  * @type {string}
@@ -10678,6 +10813,12 @@ export interface StaffUserProfileResponse {
10678
10813
  'creditOnMyClub'?: number;
10679
10814
  }
10680
10815
 
10816
+ export const StaffUserProfileResponseCreatedFromEnum = {
10817
+ App: 'app',
10818
+ Website: 'website'
10819
+ } as const;
10820
+
10821
+ export type StaffUserProfileResponseCreatedFromEnum = typeof StaffUserProfileResponseCreatedFromEnum[keyof typeof StaffUserProfileResponseCreatedFromEnum];
10681
10822
 
10682
10823
  /**
10683
10824
  *
@@ -12023,10 +12164,10 @@ export interface UpdateUserRequestBody {
12023
12164
  'profilePicture'?: string;
12024
12165
  /**
12025
12166
  *
12026
- * @type {Array<UpdateUserRequestBodyLevelBySportsInner>}
12167
+ * @type {Array<CompleteRegisterRequestBodyLevelBySportsInner>}
12027
12168
  * @memberof UpdateUserRequestBody
12028
12169
  */
12029
- 'levelBySports'?: Array<UpdateUserRequestBodyLevelBySportsInner>;
12170
+ 'levelBySports'?: Array<CompleteRegisterRequestBodyLevelBySportsInner>;
12030
12171
  /**
12031
12172
  *
12032
12173
  * @type {Array<UpdateUserRequestBodyCharacteristicsInner>}
@@ -12047,10 +12188,10 @@ export interface UpdateUserRequestBody {
12047
12188
  'description'?: string;
12048
12189
  /**
12049
12190
  *
12050
- * @type {RegisterRequestBodyLocation}
12191
+ * @type {IUserLocation}
12051
12192
  * @memberof UpdateUserRequestBody
12052
12193
  */
12053
- 'location'?: RegisterRequestBodyLocation;
12194
+ 'location'?: IUserLocation;
12054
12195
  }
12055
12196
 
12056
12197
 
@@ -12073,25 +12214,6 @@ export interface UpdateUserRequestBodyCharacteristicsInner {
12073
12214
  */
12074
12215
  'key': string;
12075
12216
  }
12076
- /**
12077
- *
12078
- * @export
12079
- * @interface UpdateUserRequestBodyLevelBySportsInner
12080
- */
12081
- export interface UpdateUserRequestBodyLevelBySportsInner {
12082
- /**
12083
- *
12084
- * @type {string}
12085
- * @memberof UpdateUserRequestBodyLevelBySportsInner
12086
- */
12087
- 'level': string;
12088
- /**
12089
- *
12090
- * @type {string}
12091
- * @memberof UpdateUserRequestBodyLevelBySportsInner
12092
- */
12093
- 'sport': string;
12094
- }
12095
12217
  /**
12096
12218
  *
12097
12219
  * @export
@@ -12718,6 +12840,18 @@ export interface UserProfileResponse {
12718
12840
  * @memberof UserProfileResponse
12719
12841
  */
12720
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;
12721
12855
  /**
12722
12856
  *
12723
12857
  * @type {string}
@@ -12822,6 +12956,12 @@ export interface UserProfileResponse {
12822
12956
  'clubId'?: string | null;
12823
12957
  }
12824
12958
 
12959
+ export const UserProfileResponseCreatedFromEnum = {
12960
+ App: 'app',
12961
+ Website: 'website'
12962
+ } as const;
12963
+
12964
+ export type UserProfileResponseCreatedFromEnum = typeof UserProfileResponseCreatedFromEnum[keyof typeof UserProfileResponseCreatedFromEnum];
12825
12965
 
12826
12966
  /**
12827
12967
  *
@@ -26922,7 +27062,7 @@ export const EventsWaitListStaffApiAxiosParamCreator = function (configuration?:
26922
27062
  };
26923
27063
  },
26924
27064
  /**
26925
- * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27065
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
26926
27066
  * @param {string} eventId
26927
27067
  * @param {*} [options] Override http request option.
26928
27068
  * @throws {RequiredError}
@@ -26981,7 +27121,7 @@ export const EventsWaitListStaffApiFp = function(configuration?: Configuration)
26981
27121
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26982
27122
  },
26983
27123
  /**
26984
- * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27124
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
26985
27125
  * @param {string} eventId
26986
27126
  * @param {*} [options] Override http request option.
26987
27127
  * @throws {RequiredError}
@@ -27012,7 +27152,7 @@ export const EventsWaitListStaffApiFactory = function (configuration?: Configura
27012
27152
  return localVarFp.getWaitListForEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
27013
27153
  },
27014
27154
  /**
27015
- * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27155
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27016
27156
  * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
27017
27157
  * @param {*} [options] Override http request option.
27018
27158
  * @throws {RequiredError}
@@ -27070,7 +27210,7 @@ export class EventsWaitListStaffApi extends BaseAPI {
27070
27210
  }
27071
27211
 
27072
27212
  /**
27073
- * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27213
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
27074
27214
  * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
27075
27215
  * @param {*} [options] Override http request option.
27076
27216
  * @throws {RequiredError}
@@ -29232,6 +29372,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
29232
29372
  options: localVarRequestOptions,
29233
29373
  };
29234
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
+ },
29235
29414
  /**
29236
29415
  *
29237
29416
  * @param {*} [options] Override http request option.
@@ -30063,6 +30242,41 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
30063
30242
  options: localVarRequestOptions,
30064
30243
  };
30065
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
+ },
30066
30280
  /**
30067
30281
  *
30068
30282
  * @param {string} clubId
@@ -30598,6 +30812,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
30598
30812
  const localVarOperationServerBasePath = operationServerMap['UsersApi.changePassword']?.[localVarOperationServerIndex]?.url;
30599
30813
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30600
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
+ },
30601
30827
  /**
30602
30828
  *
30603
30829
  * @param {*} [options] Override http request option.
@@ -30861,6 +31087,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
30861
31087
  const localVarOperationServerBasePath = operationServerMap['UsersApi.register']?.[localVarOperationServerIndex]?.url;
30862
31088
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30863
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
+ },
30864
31102
  /**
30865
31103
  *
30866
31104
  * @param {string} clubId
@@ -31062,6 +31300,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
31062
31300
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse> {
31063
31301
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
31064
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
+ },
31065
31312
  /**
31066
31313
  *
31067
31314
  * @param {*} [options] Override http request option.
@@ -31243,6 +31490,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
31243
31490
  register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes> {
31244
31491
  return localVarFp.register(requestParameters.registerRequestBody, options).then((request) => request(axios, basePath));
31245
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
+ },
31246
31502
  /**
31247
31503
  *
31248
31504
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
@@ -31418,6 +31674,20 @@ export interface UsersApiChangePasswordRequest {
31418
31674
  readonly changePasswordRequestBody: ChangePasswordRequestBody
31419
31675
  }
31420
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
+
31421
31691
  /**
31422
31692
  * Request parameters for getBookingDetail operation in UsersApi.
31423
31693
  * @export
@@ -31733,6 +32003,20 @@ export interface UsersApiRegisterRequest {
31733
32003
  readonly registerRequestBody: RegisterRequestBody
31734
32004
  }
31735
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
+
31736
32020
  /**
31737
32021
  * Request parameters for removeFavoriteClub operation in UsersApi.
31738
32022
  * @export
@@ -31952,6 +32236,17 @@ export class UsersApi extends BaseAPI {
31952
32236
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
31953
32237
  }
31954
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
+
31955
32250
  /**
31956
32251
  *
31957
32252
  * @param {*} [options] Override http request option.
@@ -32175,6 +32470,17 @@ export class UsersApi extends BaseAPI {
32175
32470
  return UsersApiFp(this.configuration).register(requestParameters.registerRequestBody, options).then((request) => request(this.axios, this.basePath));
32176
32471
  }
32177
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
+
32178
32484
  /**
32179
32485
  *
32180
32486
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.