@tennac-booking/sdk 1.0.61 → 1.0.63

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 (46) hide show
  1. package/.openapi-generator/FILES +222 -217
  2. package/README.md +17 -7
  3. package/api.ts +792 -107
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +708 -226
  8. package/dist/api.js +331 -18
  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 +708 -226
  16. package/dist/esm/api.js +330 -17
  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/AddOrganizationRequest.md +22 -0
  28. package/docs/ClubSubscriptions.md +26 -0
  29. package/docs/ClubsManagerApi.md +6 -6
  30. package/docs/IUserAttributes.md +10 -0
  31. package/docs/IUserAttributesOrganizationsInner.md +28 -0
  32. package/docs/PlayerSummary.md +2 -0
  33. package/docs/RegisterRequestBody.md +6 -0
  34. package/docs/{UpdateUserRequestBodyLocation.md → RegisterRequestBodyLocation.md} +3 -3
  35. package/docs/{NotImplementedResponse.md → RequestPasswordReset200Response.md} +3 -3
  36. package/docs/ResetPasswordRequest.md +22 -0
  37. package/docs/StaffUserProfileResponse.md +10 -0
  38. package/docs/UpdatePlanRequest.md +0 -2
  39. package/docs/UpdateUserRequestBody.md +1 -1
  40. package/docs/UserClubSubscription.md +42 -0
  41. package/docs/UserProfileResponse.md +10 -0
  42. package/docs/UserSubscriptionsResponse.md +1 -1
  43. package/docs/UsersApi.md +260 -8
  44. package/docs/{DeleteSlotsByClubInRange200Response.md → VerifyEmailRequest.md} +5 -5
  45. package/index.ts +1 -1
  46. 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.61
7
+ * The version of the OpenAPI document: 1.0.62
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -73,6 +73,25 @@ export interface AddClubMemberRequest {
73
73
  */
74
74
  'rights'?: Array<string>;
75
75
  }
76
+ /**
77
+ *
78
+ * @export
79
+ * @interface AddOrganizationRequest
80
+ */
81
+ export interface AddOrganizationRequest {
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof AddOrganizationRequest
86
+ */
87
+ 'organizationEmail'?: string;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof AddOrganizationRequest
92
+ */
93
+ 'organizationId'?: string;
94
+ }
76
95
  /**
77
96
  *
78
97
  * @export
@@ -1342,6 +1361,37 @@ export interface ClubSettingsResponse {
1342
1361
  */
1343
1362
  'updatedAt': string;
1344
1363
  }
1364
+ /**
1365
+ *
1366
+ * @export
1367
+ * @interface ClubSubscriptions
1368
+ */
1369
+ export interface ClubSubscriptions {
1370
+ /**
1371
+ *
1372
+ * @type {Array<UserClubSubscription>}
1373
+ * @memberof ClubSubscriptions
1374
+ */
1375
+ 'subscriptions': Array<UserClubSubscription>;
1376
+ /**
1377
+ *
1378
+ * @type {string}
1379
+ * @memberof ClubSubscriptions
1380
+ */
1381
+ 'picture': string | null;
1382
+ /**
1383
+ *
1384
+ * @type {string}
1385
+ * @memberof ClubSubscriptions
1386
+ */
1387
+ 'clubName': string | null;
1388
+ /**
1389
+ *
1390
+ * @type {string}
1391
+ * @memberof ClubSubscriptions
1392
+ */
1393
+ 'clubId': string | null;
1394
+ }
1345
1395
  /**
1346
1396
  *
1347
1397
  * @export
@@ -2080,19 +2130,6 @@ export interface DeleteEventResponse {
2080
2130
  */
2081
2131
  'message': string;
2082
2132
  }
2083
- /**
2084
- *
2085
- * @export
2086
- * @interface DeleteSlotsByClubInRange200Response
2087
- */
2088
- export interface DeleteSlotsByClubInRange200Response {
2089
- /**
2090
- *
2091
- * @type {string}
2092
- * @memberof DeleteSlotsByClubInRange200Response
2093
- */
2094
- 'message': string;
2095
- }
2096
2133
  /**
2097
2134
  *
2098
2135
  * @export
@@ -2806,6 +2843,36 @@ export interface IUserAttributes {
2806
2843
  * @memberof IUserAttributes
2807
2844
  */
2808
2845
  'profilePicture'?: string;
2846
+ /**
2847
+ *
2848
+ * @type {string}
2849
+ * @memberof IUserAttributes
2850
+ */
2851
+ 'resetPasswordToken'?: string;
2852
+ /**
2853
+ *
2854
+ * @type {string}
2855
+ * @memberof IUserAttributes
2856
+ */
2857
+ 'resetPasswordExpires'?: string;
2858
+ /**
2859
+ *
2860
+ * @type {string}
2861
+ * @memberof IUserAttributes
2862
+ */
2863
+ 'emailVerificationToken'?: string;
2864
+ /**
2865
+ *
2866
+ * @type {string}
2867
+ * @memberof IUserAttributes
2868
+ */
2869
+ 'emailVerificationExpires'?: string;
2870
+ /**
2871
+ *
2872
+ * @type {Array<IUserAttributesOrganizationsInner>}
2873
+ * @memberof IUserAttributes
2874
+ */
2875
+ 'organizations'?: Array<IUserAttributesOrganizationsInner>;
2809
2876
  /**
2810
2877
  *
2811
2878
  * @type {boolean}
@@ -2887,6 +2954,43 @@ export interface IUserAttributes {
2887
2954
  }
2888
2955
 
2889
2956
 
2957
+ /**
2958
+ *
2959
+ * @export
2960
+ * @interface IUserAttributesOrganizationsInner
2961
+ */
2962
+ export interface IUserAttributesOrganizationsInner {
2963
+ /**
2964
+ *
2965
+ * @type {string}
2966
+ * @memberof IUserAttributesOrganizationsInner
2967
+ */
2968
+ 'verificationExpires'?: string;
2969
+ /**
2970
+ *
2971
+ * @type {string}
2972
+ * @memberof IUserAttributesOrganizationsInner
2973
+ */
2974
+ 'verificationToken'?: string;
2975
+ /**
2976
+ *
2977
+ * @type {boolean}
2978
+ * @memberof IUserAttributesOrganizationsInner
2979
+ */
2980
+ 'verified'?: boolean;
2981
+ /**
2982
+ *
2983
+ * @type {string}
2984
+ * @memberof IUserAttributesOrganizationsInner
2985
+ */
2986
+ 'orgEmail': string;
2987
+ /**
2988
+ *
2989
+ * @type {string}
2990
+ * @memberof IUserAttributesOrganizationsInner
2991
+ */
2992
+ 'clubId': string;
2993
+ }
2890
2994
  /**
2891
2995
  *
2892
2996
  * @export
@@ -3235,19 +3339,6 @@ export interface NoShowFeeResponse {
3235
3339
  */
3236
3340
  'creatorChargeResult'?: CreatorChargeResult;
3237
3341
  }
3238
- /**
3239
- *
3240
- * @export
3241
- * @interface NotImplementedResponse
3242
- */
3243
- export interface NotImplementedResponse {
3244
- /**
3245
- *
3246
- * @type {string}
3247
- * @memberof NotImplementedResponse
3248
- */
3249
- 'message': string;
3250
- }
3251
3342
  /**
3252
3343
  *
3253
3344
  * @export
@@ -3636,6 +3727,12 @@ export interface PlayerSummary {
3636
3727
  * @memberof PlayerSummary
3637
3728
  */
3638
3729
  'lastName': string;
3730
+ /**
3731
+ *
3732
+ * @type {string}
3733
+ * @memberof PlayerSummary
3734
+ */
3735
+ 'description'?: string | null;
3639
3736
  /**
3640
3737
  *
3641
3738
  * @type {string}
@@ -3975,6 +4072,148 @@ export interface RegisterRequestBody {
3975
4072
  * @memberof RegisterRequestBody
3976
4073
  */
3977
4074
  'profilePicture'?: string;
4075
+ /**
4076
+ *
4077
+ * @type {RegisterRequestBodyLocation}
4078
+ * @memberof RegisterRequestBody
4079
+ */
4080
+ 'location'?: RegisterRequestBodyLocation;
4081
+ /**
4082
+ *
4083
+ * @type {string}
4084
+ * @memberof RegisterRequestBody
4085
+ */
4086
+ 'organizationId'?: string;
4087
+ /**
4088
+ *
4089
+ * @type {string}
4090
+ * @memberof RegisterRequestBody
4091
+ */
4092
+ 'organizationEmail'?: string;
4093
+ }
4094
+ /**
4095
+ *
4096
+ * @export
4097
+ * @interface RegisterRequestBodyLocation
4098
+ */
4099
+ export interface RegisterRequestBodyLocation {
4100
+ /**
4101
+ *
4102
+ * @type {Array<number>}
4103
+ * @memberof RegisterRequestBodyLocation
4104
+ */
4105
+ 'coordinates': Array<number>;
4106
+ /**
4107
+ *
4108
+ * @type {string}
4109
+ * @memberof RegisterRequestBodyLocation
4110
+ */
4111
+ 'mapboxId'?: string;
4112
+ /**
4113
+ *
4114
+ * @type {Array<string>}
4115
+ * @memberof RegisterRequestBodyLocation
4116
+ */
4117
+ 'mapboxPlaceType'?: Array<string>;
4118
+ /**
4119
+ *
4120
+ * @type {string}
4121
+ * @memberof RegisterRequestBodyLocation
4122
+ */
4123
+ 'mapboxPlaceName'?: string;
4124
+ /**
4125
+ *
4126
+ * @type {string}
4127
+ * @memberof RegisterRequestBodyLocation
4128
+ */
4129
+ 'mapboxAddress'?: string;
4130
+ /**
4131
+ *
4132
+ * @type {Array<{ [key: string]: any; }>}
4133
+ * @memberof RegisterRequestBodyLocation
4134
+ */
4135
+ 'mapboxContext'?: Array<{ [key: string]: any; }>;
4136
+ /**
4137
+ * Construct a type with a set of properties K of type T
4138
+ * @type {{ [key: string]: object; }}
4139
+ * @memberof RegisterRequestBodyLocation
4140
+ */
4141
+ 'mapboxRaw'?: { [key: string]: object; };
4142
+ /**
4143
+ *
4144
+ * @type {string}
4145
+ * @memberof RegisterRequestBodyLocation
4146
+ */
4147
+ 'city'?: string;
4148
+ /**
4149
+ *
4150
+ * @type {string}
4151
+ * @memberof RegisterRequestBodyLocation
4152
+ */
4153
+ 'country'?: string;
4154
+ /**
4155
+ *
4156
+ * @type {string}
4157
+ * @memberof RegisterRequestBodyLocation
4158
+ */
4159
+ 'postalCode'?: string;
4160
+ /**
4161
+ *
4162
+ * @type {string}
4163
+ * @memberof RegisterRequestBodyLocation
4164
+ */
4165
+ 'state'?: string;
4166
+ /**
4167
+ *
4168
+ * @type {string}
4169
+ * @memberof RegisterRequestBodyLocation
4170
+ */
4171
+ 'address'?: string;
4172
+ /**
4173
+ *
4174
+ * @type {string}
4175
+ * @memberof RegisterRequestBodyLocation
4176
+ */
4177
+ 'type'?: RegisterRequestBodyLocationTypeEnum;
4178
+ }
4179
+
4180
+ export const RegisterRequestBodyLocationTypeEnum = {
4181
+ Point: 'Point'
4182
+ } as const;
4183
+
4184
+ export type RegisterRequestBodyLocationTypeEnum = typeof RegisterRequestBodyLocationTypeEnum[keyof typeof RegisterRequestBodyLocationTypeEnum];
4185
+
4186
+ /**
4187
+ *
4188
+ * @export
4189
+ * @interface RequestPasswordReset200Response
4190
+ */
4191
+ export interface RequestPasswordReset200Response {
4192
+ /**
4193
+ *
4194
+ * @type {string}
4195
+ * @memberof RequestPasswordReset200Response
4196
+ */
4197
+ 'message': string;
4198
+ }
4199
+ /**
4200
+ *
4201
+ * @export
4202
+ * @interface ResetPasswordRequest
4203
+ */
4204
+ export interface ResetPasswordRequest {
4205
+ /**
4206
+ *
4207
+ * @type {string}
4208
+ * @memberof ResetPasswordRequest
4209
+ */
4210
+ 'newPassword'?: string;
4211
+ /**
4212
+ *
4213
+ * @type {string}
4214
+ * @memberof ResetPasswordRequest
4215
+ */
4216
+ 'token'?: string;
3978
4217
  }
3979
4218
  /**
3980
4219
  *
@@ -4289,6 +4528,36 @@ export interface StaffUserProfileResponse {
4289
4528
  * @memberof StaffUserProfileResponse
4290
4529
  */
4291
4530
  'profilePicture'?: string;
4531
+ /**
4532
+ *
4533
+ * @type {string}
4534
+ * @memberof StaffUserProfileResponse
4535
+ */
4536
+ 'resetPasswordToken'?: string;
4537
+ /**
4538
+ *
4539
+ * @type {string}
4540
+ * @memberof StaffUserProfileResponse
4541
+ */
4542
+ 'resetPasswordExpires'?: string;
4543
+ /**
4544
+ *
4545
+ * @type {string}
4546
+ * @memberof StaffUserProfileResponse
4547
+ */
4548
+ 'emailVerificationToken'?: string;
4549
+ /**
4550
+ *
4551
+ * @type {string}
4552
+ * @memberof StaffUserProfileResponse
4553
+ */
4554
+ 'emailVerificationExpires'?: string;
4555
+ /**
4556
+ *
4557
+ * @type {Array<IUserAttributesOrganizationsInner>}
4558
+ * @memberof StaffUserProfileResponse
4559
+ */
4560
+ 'organizations'?: Array<IUserAttributesOrganizationsInner>;
4292
4561
  /**
4293
4562
  *
4294
4563
  * @type {boolean}
@@ -5998,12 +6267,6 @@ export interface UpdateLevelBySportsRequestBody {
5998
6267
  * @interface UpdatePlanRequest
5999
6268
  */
6000
6269
  export interface UpdatePlanRequest {
6001
- /**
6002
- *
6003
- * @type {string}
6004
- * @memberof UpdatePlanRequest
6005
- */
6006
- 'clubId'?: string;
6007
6270
  /**
6008
6271
  *
6009
6272
  * @type {number}
@@ -6105,10 +6368,10 @@ export interface UpdateUserRequestBody {
6105
6368
  'description'?: string;
6106
6369
  /**
6107
6370
  *
6108
- * @type {UpdateUserRequestBodyLocation}
6371
+ * @type {RegisterRequestBodyLocation}
6109
6372
  * @memberof UpdateUserRequestBody
6110
6373
  */
6111
- 'location'?: UpdateUserRequestBodyLocation;
6374
+ 'location'?: RegisterRequestBodyLocation;
6112
6375
  }
6113
6376
  /**
6114
6377
  *
@@ -6132,94 +6395,83 @@ export interface UpdateUserRequestBodyLevelBySportsInner {
6132
6395
  /**
6133
6396
  *
6134
6397
  * @export
6135
- * @interface UpdateUserRequestBodyLocation
6398
+ * @interface UserClubSubscription
6136
6399
  */
6137
- export interface UpdateUserRequestBodyLocation {
6400
+ export interface UserClubSubscription {
6138
6401
  /**
6139
6402
  *
6140
- * @type {Array<number>}
6141
- * @memberof UpdateUserRequestBodyLocation
6403
+ * @type {string}
6404
+ * @memberof UserClubSubscription
6142
6405
  */
6143
- 'coordinates': Array<number>;
6406
+ 'id': string;
6144
6407
  /**
6145
6408
  *
6146
6409
  * @type {string}
6147
- * @memberof UpdateUserRequestBodyLocation
6410
+ * @memberof UserClubSubscription
6148
6411
  */
6149
- 'mapboxId'?: string;
6412
+ 'status': string;
6150
6413
  /**
6151
6414
  *
6152
- * @type {Array<string>}
6153
- * @memberof UpdateUserRequestBodyLocation
6415
+ * @type {number}
6416
+ * @memberof UserClubSubscription
6154
6417
  */
6155
- 'mapboxPlaceType'?: Array<string>;
6418
+ 'currentPeriodStart': number | null;
6156
6419
  /**
6157
6420
  *
6158
- * @type {string}
6159
- * @memberof UpdateUserRequestBodyLocation
6421
+ * @type {number}
6422
+ * @memberof UserClubSubscription
6160
6423
  */
6161
- 'mapboxPlaceName'?: string;
6424
+ 'currentPeriodEnd': number | null;
6162
6425
  /**
6163
6426
  *
6164
- * @type {string}
6165
- * @memberof UpdateUserRequestBodyLocation
6427
+ * @type {number}
6428
+ * @memberof UserClubSubscription
6166
6429
  */
6167
- 'mapboxAddress'?: string;
6430
+ 'cancelAt': number | null;
6168
6431
  /**
6169
6432
  *
6170
- * @type {Array<{ [key: string]: any; }>}
6171
- * @memberof UpdateUserRequestBodyLocation
6172
- */
6173
- 'mapboxContext'?: Array<{ [key: string]: any; }>;
6174
- /**
6175
- * Construct a type with a set of properties K of type T
6176
- * @type {{ [key: string]: object; }}
6177
- * @memberof UpdateUserRequestBodyLocation
6433
+ * @type {number}
6434
+ * @memberof UserClubSubscription
6178
6435
  */
6179
- 'mapboxRaw'?: { [key: string]: object; };
6436
+ 'canceledAt': number | null;
6180
6437
  /**
6181
6438
  *
6182
6439
  * @type {string}
6183
- * @memberof UpdateUserRequestBodyLocation
6440
+ * @memberof UserClubSubscription
6184
6441
  */
6185
- 'city'?: string;
6442
+ 'priceId': string | null;
6186
6443
  /**
6187
6444
  *
6188
6445
  * @type {string}
6189
- * @memberof UpdateUserRequestBodyLocation
6446
+ * @memberof UserClubSubscription
6190
6447
  */
6191
- 'country'?: string;
6448
+ 'planId': string | null;
6192
6449
  /**
6193
6450
  *
6194
6451
  * @type {string}
6195
- * @memberof UpdateUserRequestBodyLocation
6452
+ * @memberof UserClubSubscription
6196
6453
  */
6197
- 'postalCode'?: string;
6454
+ 'planName': string | null;
6198
6455
  /**
6199
6456
  *
6200
- * @type {string}
6201
- * @memberof UpdateUserRequestBodyLocation
6457
+ * @type {number}
6458
+ * @memberof UserClubSubscription
6202
6459
  */
6203
- 'state'?: string;
6460
+ 'amountInCents': number | null;
6204
6461
  /**
6205
6462
  *
6206
6463
  * @type {string}
6207
- * @memberof UpdateUserRequestBodyLocation
6464
+ * @memberof UserClubSubscription
6208
6465
  */
6209
- 'address'?: string;
6466
+ 'currency': string | null;
6210
6467
  /**
6211
6468
  *
6212
- * @type {string}
6213
- * @memberof UpdateUserRequestBodyLocation
6469
+ * @type {PlanInterval}
6470
+ * @memberof UserClubSubscription
6214
6471
  */
6215
- 'type'?: UpdateUserRequestBodyLocationTypeEnum;
6472
+ 'interval': PlanInterval | null;
6216
6473
  }
6217
6474
 
6218
- export const UpdateUserRequestBodyLocationTypeEnum = {
6219
- Point: 'Point'
6220
- } as const;
6221
-
6222
- export type UpdateUserRequestBodyLocationTypeEnum = typeof UpdateUserRequestBodyLocationTypeEnum[keyof typeof UpdateUserRequestBodyLocationTypeEnum];
6223
6475
 
6224
6476
  /**
6225
6477
  *
@@ -6428,6 +6680,36 @@ export interface UserProfileResponse {
6428
6680
  * @memberof UserProfileResponse
6429
6681
  */
6430
6682
  'profilePicture'?: string;
6683
+ /**
6684
+ *
6685
+ * @type {string}
6686
+ * @memberof UserProfileResponse
6687
+ */
6688
+ 'resetPasswordToken'?: string;
6689
+ /**
6690
+ *
6691
+ * @type {string}
6692
+ * @memberof UserProfileResponse
6693
+ */
6694
+ 'resetPasswordExpires'?: string;
6695
+ /**
6696
+ *
6697
+ * @type {string}
6698
+ * @memberof UserProfileResponse
6699
+ */
6700
+ 'emailVerificationToken'?: string;
6701
+ /**
6702
+ *
6703
+ * @type {string}
6704
+ * @memberof UserProfileResponse
6705
+ */
6706
+ 'emailVerificationExpires'?: string;
6707
+ /**
6708
+ *
6709
+ * @type {Array<IUserAttributesOrganizationsInner>}
6710
+ * @memberof UserProfileResponse
6711
+ */
6712
+ 'organizations'?: Array<IUserAttributesOrganizationsInner>;
6431
6713
  /**
6432
6714
  *
6433
6715
  * @type {boolean}
@@ -6559,11 +6841,24 @@ export interface UserRolesResponse {
6559
6841
  */
6560
6842
  export interface UserSubscriptionsResponse {
6561
6843
  /**
6562
- * Construct a type with a set of properties K of type T
6563
- * @type {{ [key: string]: { [key: string]: any; }; }}
6844
+ *
6845
+ * @type {Array<ClubSubscriptions>}
6564
6846
  * @memberof UserSubscriptionsResponse
6565
6847
  */
6566
- 'subscriptions': { [key: string]: { [key: string]: any; }; };
6848
+ 'subscriptions': Array<ClubSubscriptions>;
6849
+ }
6850
+ /**
6851
+ *
6852
+ * @export
6853
+ * @interface VerifyEmailRequest
6854
+ */
6855
+ export interface VerifyEmailRequest {
6856
+ /**
6857
+ *
6858
+ * @type {string}
6859
+ * @memberof VerifyEmailRequest
6860
+ */
6861
+ 'token'?: string;
6567
6862
  }
6568
6863
  /**
6569
6864
  *
@@ -11246,7 +11541,7 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
11246
11541
  * @param {*} [options] Override http request option.
11247
11542
  * @throws {RequiredError}
11248
11543
  */
11249
- async deleteActuality(actualityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSlotsByClubInRange200Response>> {
11544
+ async deleteActuality(actualityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
11250
11545
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteActuality(actualityId, options);
11251
11546
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11252
11547
  const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.deleteActuality']?.[localVarOperationServerIndex]?.url;
@@ -11269,7 +11564,7 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
11269
11564
  * @param {*} [options] Override http request option.
11270
11565
  * @throws {RequiredError}
11271
11566
  */
11272
- async deleteSlotsByClubInRange(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSlotsByClubInRange200Response>> {
11567
+ async deleteSlotsByClubInRange(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
11273
11568
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSlotsByClubInRange(options);
11274
11569
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11275
11570
  const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.deleteSlotsByClubInRange']?.[localVarOperationServerIndex]?.url;
@@ -11305,7 +11600,7 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
11305
11600
  * @param {*} [options] Override http request option.
11306
11601
  * @throws {RequiredError}
11307
11602
  */
11308
- async restoreSubscriptionPlanForClub(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSlotsByClubInRange200Response>> {
11603
+ async restoreSubscriptionPlanForClub(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
11309
11604
  const localVarAxiosArgs = await localVarAxiosParamCreator.restoreSubscriptionPlanForClub(productId, options);
11310
11605
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11311
11606
  const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.restoreSubscriptionPlanForClub']?.[localVarOperationServerIndex]?.url;
@@ -11456,7 +11751,7 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
11456
11751
  * @param {*} [options] Override http request option.
11457
11752
  * @throws {RequiredError}
11458
11753
  */
11459
- deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSlotsByClubInRange200Response> {
11754
+ deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
11460
11755
  return localVarFp.deleteActuality(requestParameters.actualityId, options).then((request) => request(axios, basePath));
11461
11756
  },
11462
11757
  /**
@@ -11473,7 +11768,7 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
11473
11768
  * @param {*} [options] Override http request option.
11474
11769
  * @throws {RequiredError}
11475
11770
  */
11476
- deleteSlotsByClubInRange(options?: RawAxiosRequestConfig): AxiosPromise<DeleteSlotsByClubInRange200Response> {
11771
+ deleteSlotsByClubInRange(options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
11477
11772
  return localVarFp.deleteSlotsByClubInRange(options).then((request) => request(axios, basePath));
11478
11773
  },
11479
11774
  /**
@@ -11500,7 +11795,7 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
11500
11795
  * @param {*} [options] Override http request option.
11501
11796
  * @throws {RequiredError}
11502
11797
  */
11503
- restoreSubscriptionPlanForClub(requestParameters: ClubsManagerApiRestoreSubscriptionPlanForClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSlotsByClubInRange200Response> {
11798
+ restoreSubscriptionPlanForClub(requestParameters: ClubsManagerApiRestoreSubscriptionPlanForClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
11504
11799
  return localVarFp.restoreSubscriptionPlanForClub(requestParameters.productId, options).then((request) => request(axios, basePath));
11505
11800
  },
11506
11801
  /**
@@ -14713,6 +15008,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
14713
15008
  options: localVarRequestOptions,
14714
15009
  };
14715
15010
  },
15011
+ /**
15012
+ *
15013
+ * @param {AddOrganizationRequest} addOrganizationRequest
15014
+ * @param {*} [options] Override http request option.
15015
+ * @throws {RequiredError}
15016
+ */
15017
+ addOrganization: async (addOrganizationRequest: AddOrganizationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15018
+ // verify required parameter 'addOrganizationRequest' is not null or undefined
15019
+ assertParamExists('addOrganization', 'addOrganizationRequest', addOrganizationRequest)
15020
+ const localVarPath = `/api/users/me/add-organization`;
15021
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15022
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15023
+ let baseOptions;
15024
+ if (configuration) {
15025
+ baseOptions = configuration.baseOptions;
15026
+ }
15027
+
15028
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15029
+ const localVarHeaderParameter = {} as any;
15030
+ const localVarQueryParameter = {} as any;
15031
+
15032
+ // authentication bearerAuth required
15033
+ // http bearer authentication required
15034
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15035
+
15036
+
15037
+
15038
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15039
+
15040
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15041
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15042
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15043
+ localVarRequestOptions.data = serializeDataIfNeeded(addOrganizationRequest, localVarRequestOptions, configuration)
15044
+
15045
+ return {
15046
+ url: toPathString(localVarUrlObj),
15047
+ options: localVarRequestOptions,
15048
+ };
15049
+ },
14716
15050
  /**
14717
15051
  *
14718
15052
  * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
@@ -15499,6 +15833,39 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
15499
15833
 
15500
15834
 
15501
15835
 
15836
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15837
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15838
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15839
+
15840
+ return {
15841
+ url: toPathString(localVarUrlObj),
15842
+ options: localVarRequestOptions,
15843
+ };
15844
+ },
15845
+ /**
15846
+ *
15847
+ * @param {*} [options] Override http request option.
15848
+ * @throws {RequiredError}
15849
+ */
15850
+ requestEmailVerification: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15851
+ const localVarPath = `/api/users/me/request-email-verification`;
15852
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15853
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15854
+ let baseOptions;
15855
+ if (configuration) {
15856
+ baseOptions = configuration.baseOptions;
15857
+ }
15858
+
15859
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15860
+ const localVarHeaderParameter = {} as any;
15861
+ const localVarQueryParameter = {} as any;
15862
+
15863
+ // authentication bearerAuth required
15864
+ // http bearer authentication required
15865
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15866
+
15867
+
15868
+
15502
15869
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15503
15870
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15504
15871
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15517,7 +15884,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
15517
15884
  requestPasswordReset: async (passwordResetRequestBody: PasswordResetRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15518
15885
  // verify required parameter 'passwordResetRequestBody' is not null or undefined
15519
15886
  assertParamExists('requestPasswordReset', 'passwordResetRequestBody', passwordResetRequestBody)
15520
- const localVarPath = `/api/users/me/request-password-rest`;
15887
+ const localVarPath = `/api/users/request-password-reset`;
15521
15888
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
15522
15889
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15523
15890
  let baseOptions;
@@ -15543,16 +15910,51 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
15543
15910
  options: localVarRequestOptions,
15544
15911
  };
15545
15912
  },
15913
+ /**
15914
+ *
15915
+ * @param {ResetPasswordRequest} resetPasswordRequest
15916
+ * @param {*} [options] Override http request option.
15917
+ * @throws {RequiredError}
15918
+ */
15919
+ resetPassword: async (resetPasswordRequest: ResetPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15920
+ // verify required parameter 'resetPasswordRequest' is not null or undefined
15921
+ assertParamExists('resetPassword', 'resetPasswordRequest', resetPasswordRequest)
15922
+ const localVarPath = `/api/users/reset-password`;
15923
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15924
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15925
+ let baseOptions;
15926
+ if (configuration) {
15927
+ baseOptions = configuration.baseOptions;
15928
+ }
15929
+
15930
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15931
+ const localVarHeaderParameter = {} as any;
15932
+ const localVarQueryParameter = {} as any;
15933
+
15934
+
15935
+
15936
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15937
+
15938
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15939
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15940
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15941
+ localVarRequestOptions.data = serializeDataIfNeeded(resetPasswordRequest, localVarRequestOptions, configuration)
15942
+
15943
+ return {
15944
+ url: toPathString(localVarUrlObj),
15945
+ options: localVarRequestOptions,
15946
+ };
15947
+ },
15546
15948
  /**
15547
15949
  *
15548
15950
  * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
15549
15951
  * @param {*} [options] Override http request option.
15550
15952
  * @throws {RequiredError}
15551
15953
  */
15552
- setupNoShowPaymentMethod: async (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15954
+ setupOffSessionPaymentMethod: async (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15553
15955
  // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
15554
- assertParamExists('setupNoShowPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody)
15555
- const localVarPath = `/api/users/setupNoShowPaymentMethod`;
15956
+ assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody)
15957
+ const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
15556
15958
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
15557
15959
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15558
15960
  let baseOptions;
@@ -15768,6 +16170,76 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
15768
16170
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15769
16171
  localVarRequestOptions.data = serializeDataIfNeeded(profilePictureUpdateRequestBody, localVarRequestOptions, configuration)
15770
16172
 
16173
+ return {
16174
+ url: toPathString(localVarUrlObj),
16175
+ options: localVarRequestOptions,
16176
+ };
16177
+ },
16178
+ /**
16179
+ *
16180
+ * @param {VerifyEmailRequest} verifyEmailRequest
16181
+ * @param {*} [options] Override http request option.
16182
+ * @throws {RequiredError}
16183
+ */
16184
+ verifyEmail: async (verifyEmailRequest: VerifyEmailRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16185
+ // verify required parameter 'verifyEmailRequest' is not null or undefined
16186
+ assertParamExists('verifyEmail', 'verifyEmailRequest', verifyEmailRequest)
16187
+ const localVarPath = `/api/users/verify-email`;
16188
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16189
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16190
+ let baseOptions;
16191
+ if (configuration) {
16192
+ baseOptions = configuration.baseOptions;
16193
+ }
16194
+
16195
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16196
+ const localVarHeaderParameter = {} as any;
16197
+ const localVarQueryParameter = {} as any;
16198
+
16199
+
16200
+
16201
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16202
+
16203
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16204
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16205
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16206
+ localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailRequest, localVarRequestOptions, configuration)
16207
+
16208
+ return {
16209
+ url: toPathString(localVarUrlObj),
16210
+ options: localVarRequestOptions,
16211
+ };
16212
+ },
16213
+ /**
16214
+ *
16215
+ * @param {VerifyEmailRequest} verifyEmailRequest
16216
+ * @param {*} [options] Override http request option.
16217
+ * @throws {RequiredError}
16218
+ */
16219
+ verifyOrganization: async (verifyEmailRequest: VerifyEmailRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16220
+ // verify required parameter 'verifyEmailRequest' is not null or undefined
16221
+ assertParamExists('verifyOrganization', 'verifyEmailRequest', verifyEmailRequest)
16222
+ const localVarPath = `/api/users/verify-organization`;
16223
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16224
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16225
+ let baseOptions;
16226
+ if (configuration) {
16227
+ baseOptions = configuration.baseOptions;
16228
+ }
16229
+
16230
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16231
+ const localVarHeaderParameter = {} as any;
16232
+ const localVarQueryParameter = {} as any;
16233
+
16234
+
16235
+
16236
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16237
+
16238
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16239
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16240
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16241
+ localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailRequest, localVarRequestOptions, configuration)
16242
+
15771
16243
  return {
15772
16244
  url: toPathString(localVarUrlObj),
15773
16245
  options: localVarRequestOptions,
@@ -15807,6 +16279,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
15807
16279
  const localVarOperationServerBasePath = operationServerMap['UsersApi.addFavoritePlayer']?.[localVarOperationServerIndex]?.url;
15808
16280
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15809
16281
  },
16282
+ /**
16283
+ *
16284
+ * @param {AddOrganizationRequest} addOrganizationRequest
16285
+ * @param {*} [options] Override http request option.
16286
+ * @throws {RequiredError}
16287
+ */
16288
+ async addOrganization(addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
16289
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addOrganization(addOrganizationRequest, options);
16290
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16291
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.addOrganization']?.[localVarOperationServerIndex]?.url;
16292
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16293
+ },
15810
16294
  /**
15811
16295
  *
15812
16296
  * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
@@ -16062,28 +16546,51 @@ export const UsersApiFp = function(configuration?: Configuration) {
16062
16546
  const localVarOperationServerBasePath = operationServerMap['UsersApi.removeFavoritePlayer']?.[localVarOperationServerIndex]?.url;
16063
16547
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16064
16548
  },
16549
+ /**
16550
+ *
16551
+ * @param {*} [options] Override http request option.
16552
+ * @throws {RequiredError}
16553
+ */
16554
+ async requestEmailVerification(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
16555
+ const localVarAxiosArgs = await localVarAxiosParamCreator.requestEmailVerification(options);
16556
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16557
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.requestEmailVerification']?.[localVarOperationServerIndex]?.url;
16558
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16559
+ },
16065
16560
  /**
16066
16561
  *
16067
16562
  * @param {PasswordResetRequestBody} passwordResetRequestBody
16068
16563
  * @param {*} [options] Override http request option.
16069
16564
  * @throws {RequiredError}
16070
16565
  */
16071
- async requestPasswordReset(passwordResetRequestBody: PasswordResetRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16566
+ async requestPasswordReset(passwordResetRequestBody: PasswordResetRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
16072
16567
  const localVarAxiosArgs = await localVarAxiosParamCreator.requestPasswordReset(passwordResetRequestBody, options);
16073
16568
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16074
16569
  const localVarOperationServerBasePath = operationServerMap['UsersApi.requestPasswordReset']?.[localVarOperationServerIndex]?.url;
16075
16570
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16076
16571
  },
16572
+ /**
16573
+ *
16574
+ * @param {ResetPasswordRequest} resetPasswordRequest
16575
+ * @param {*} [options] Override http request option.
16576
+ * @throws {RequiredError}
16577
+ */
16578
+ async resetPassword(resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
16579
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resetPassword(resetPasswordRequest, options);
16580
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16581
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
16582
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16583
+ },
16077
16584
  /**
16078
16585
  *
16079
16586
  * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
16080
16587
  * @param {*} [options] Override http request option.
16081
16588
  * @throws {RequiredError}
16082
16589
  */
16083
- async setupNoShowPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>> {
16084
- const localVarAxiosArgs = await localVarAxiosParamCreator.setupNoShowPaymentMethod(setupPaymentMethodRequestBody, options);
16590
+ async setupOffSessionPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>> {
16591
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
16085
16592
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16086
- const localVarOperationServerBasePath = operationServerMap['UsersApi.setupNoShowPaymentMethod']?.[localVarOperationServerIndex]?.url;
16593
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.setupOffSessionPaymentMethod']?.[localVarOperationServerIndex]?.url;
16087
16594
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16088
16595
  },
16089
16596
  /**
@@ -16146,6 +16653,30 @@ export const UsersApiFp = function(configuration?: Configuration) {
16146
16653
  const localVarOperationServerBasePath = operationServerMap['UsersApi.updateProfilePicture']?.[localVarOperationServerIndex]?.url;
16147
16654
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16148
16655
  },
16656
+ /**
16657
+ *
16658
+ * @param {VerifyEmailRequest} verifyEmailRequest
16659
+ * @param {*} [options] Override http request option.
16660
+ * @throws {RequiredError}
16661
+ */
16662
+ async verifyEmail(verifyEmailRequest: VerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
16663
+ const localVarAxiosArgs = await localVarAxiosParamCreator.verifyEmail(verifyEmailRequest, options);
16664
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16665
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.verifyEmail']?.[localVarOperationServerIndex]?.url;
16666
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16667
+ },
16668
+ /**
16669
+ *
16670
+ * @param {VerifyEmailRequest} verifyEmailRequest
16671
+ * @param {*} [options] Override http request option.
16672
+ * @throws {RequiredError}
16673
+ */
16674
+ async verifyOrganization(verifyEmailRequest: VerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>> {
16675
+ const localVarAxiosArgs = await localVarAxiosParamCreator.verifyOrganization(verifyEmailRequest, options);
16676
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16677
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.verifyOrganization']?.[localVarOperationServerIndex]?.url;
16678
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16679
+ },
16149
16680
  }
16150
16681
  };
16151
16682
 
@@ -16174,6 +16705,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
16174
16705
  addFavoritePlayer(requestParameters: UsersApiAddFavoritePlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoritePlayerMutationResponse> {
16175
16706
  return localVarFp.addFavoritePlayer(requestParameters.favoritePlayerRequestBody, options).then((request) => request(axios, basePath));
16176
16707
  },
16708
+ /**
16709
+ *
16710
+ * @param {UsersApiAddOrganizationRequest} requestParameters Request parameters.
16711
+ * @param {*} [options] Override http request option.
16712
+ * @throws {RequiredError}
16713
+ */
16714
+ addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
16715
+ return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
16716
+ },
16177
16717
  /**
16178
16718
  *
16179
16719
  * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
@@ -16357,23 +16897,40 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
16357
16897
  removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoritePlayerMutationResponse> {
16358
16898
  return localVarFp.removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(axios, basePath));
16359
16899
  },
16900
+ /**
16901
+ *
16902
+ * @param {*} [options] Override http request option.
16903
+ * @throws {RequiredError}
16904
+ */
16905
+ requestEmailVerification(options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
16906
+ return localVarFp.requestEmailVerification(options).then((request) => request(axios, basePath));
16907
+ },
16360
16908
  /**
16361
16909
  *
16362
16910
  * @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
16363
16911
  * @param {*} [options] Override http request option.
16364
16912
  * @throws {RequiredError}
16365
16913
  */
16366
- requestPasswordReset(requestParameters: UsersApiRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
16914
+ requestPasswordReset(requestParameters: UsersApiRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
16367
16915
  return localVarFp.requestPasswordReset(requestParameters.passwordResetRequestBody, options).then((request) => request(axios, basePath));
16368
16916
  },
16369
16917
  /**
16370
16918
  *
16371
- * @param {UsersApiSetupNoShowPaymentMethodRequest} requestParameters Request parameters.
16919
+ * @param {UsersApiResetPasswordRequest} requestParameters Request parameters.
16920
+ * @param {*} [options] Override http request option.
16921
+ * @throws {RequiredError}
16922
+ */
16923
+ resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
16924
+ return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
16925
+ },
16926
+ /**
16927
+ *
16928
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
16372
16929
  * @param {*} [options] Override http request option.
16373
16930
  * @throws {RequiredError}
16374
16931
  */
16375
- setupNoShowPaymentMethod(requestParameters: UsersApiSetupNoShowPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse> {
16376
- return localVarFp.setupNoShowPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
16932
+ setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse> {
16933
+ return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
16377
16934
  },
16378
16935
  /**
16379
16936
  *
@@ -16420,6 +16977,24 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
16420
16977
  updateProfilePicture(requestParameters: UsersApiUpdateProfilePictureRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProfilePictureResponse> {
16421
16978
  return localVarFp.updateProfilePicture(requestParameters.profilePictureUpdateRequestBody, options).then((request) => request(axios, basePath));
16422
16979
  },
16980
+ /**
16981
+ *
16982
+ * @param {UsersApiVerifyEmailRequest} requestParameters Request parameters.
16983
+ * @param {*} [options] Override http request option.
16984
+ * @throws {RequiredError}
16985
+ */
16986
+ verifyEmail(requestParameters: UsersApiVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
16987
+ return localVarFp.verifyEmail(requestParameters.verifyEmailRequest, options).then((request) => request(axios, basePath));
16988
+ },
16989
+ /**
16990
+ *
16991
+ * @param {UsersApiVerifyOrganizationRequest} requestParameters Request parameters.
16992
+ * @param {*} [options] Override http request option.
16993
+ * @throws {RequiredError}
16994
+ */
16995
+ verifyOrganization(requestParameters: UsersApiVerifyOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
16996
+ return localVarFp.verifyOrganization(requestParameters.verifyEmailRequest, options).then((request) => request(axios, basePath));
16997
+ },
16423
16998
  };
16424
16999
  };
16425
17000
 
@@ -16451,6 +17026,20 @@ export interface UsersApiAddFavoritePlayerRequest {
16451
17026
  readonly favoritePlayerRequestBody: FavoritePlayerRequestBody
16452
17027
  }
16453
17028
 
17029
+ /**
17030
+ * Request parameters for addOrganization operation in UsersApi.
17031
+ * @export
17032
+ * @interface UsersApiAddOrganizationRequest
17033
+ */
17034
+ export interface UsersApiAddOrganizationRequest {
17035
+ /**
17036
+ *
17037
+ * @type {AddOrganizationRequest}
17038
+ * @memberof UsersApiAddOrganization
17039
+ */
17040
+ readonly addOrganizationRequest: AddOrganizationRequest
17041
+ }
17042
+
16454
17043
  /**
16455
17044
  * Request parameters for addPaymentMethodSetup operation in UsersApi.
16456
17045
  * @export
@@ -16739,15 +17328,29 @@ export interface UsersApiRequestPasswordResetRequest {
16739
17328
  }
16740
17329
 
16741
17330
  /**
16742
- * Request parameters for setupNoShowPaymentMethod operation in UsersApi.
17331
+ * Request parameters for resetPassword operation in UsersApi.
16743
17332
  * @export
16744
- * @interface UsersApiSetupNoShowPaymentMethodRequest
17333
+ * @interface UsersApiResetPasswordRequest
16745
17334
  */
16746
- export interface UsersApiSetupNoShowPaymentMethodRequest {
17335
+ export interface UsersApiResetPasswordRequest {
17336
+ /**
17337
+ *
17338
+ * @type {ResetPasswordRequest}
17339
+ * @memberof UsersApiResetPassword
17340
+ */
17341
+ readonly resetPasswordRequest: ResetPasswordRequest
17342
+ }
17343
+
17344
+ /**
17345
+ * Request parameters for setupOffSessionPaymentMethod operation in UsersApi.
17346
+ * @export
17347
+ * @interface UsersApiSetupOffSessionPaymentMethodRequest
17348
+ */
17349
+ export interface UsersApiSetupOffSessionPaymentMethodRequest {
16747
17350
  /**
16748
17351
  *
16749
17352
  * @type {SetupPaymentMethodRequestBody}
16750
- * @memberof UsersApiSetupNoShowPaymentMethod
17353
+ * @memberof UsersApiSetupOffSessionPaymentMethod
16751
17354
  */
16752
17355
  readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody
16753
17356
  }
@@ -16822,6 +17425,34 @@ export interface UsersApiUpdateProfilePictureRequest {
16822
17425
  readonly profilePictureUpdateRequestBody: ProfilePictureUpdateRequestBody
16823
17426
  }
16824
17427
 
17428
+ /**
17429
+ * Request parameters for verifyEmail operation in UsersApi.
17430
+ * @export
17431
+ * @interface UsersApiVerifyEmailRequest
17432
+ */
17433
+ export interface UsersApiVerifyEmailRequest {
17434
+ /**
17435
+ *
17436
+ * @type {VerifyEmailRequest}
17437
+ * @memberof UsersApiVerifyEmail
17438
+ */
17439
+ readonly verifyEmailRequest: VerifyEmailRequest
17440
+ }
17441
+
17442
+ /**
17443
+ * Request parameters for verifyOrganization operation in UsersApi.
17444
+ * @export
17445
+ * @interface UsersApiVerifyOrganizationRequest
17446
+ */
17447
+ export interface UsersApiVerifyOrganizationRequest {
17448
+ /**
17449
+ *
17450
+ * @type {VerifyEmailRequest}
17451
+ * @memberof UsersApiVerifyOrganization
17452
+ */
17453
+ readonly verifyEmailRequest: VerifyEmailRequest
17454
+ }
17455
+
16825
17456
  /**
16826
17457
  * UsersApi - object-oriented interface
16827
17458
  * @export
@@ -16851,6 +17482,17 @@ export class UsersApi extends BaseAPI {
16851
17482
  return UsersApiFp(this.configuration).addFavoritePlayer(requestParameters.favoritePlayerRequestBody, options).then((request) => request(this.axios, this.basePath));
16852
17483
  }
16853
17484
 
17485
+ /**
17486
+ *
17487
+ * @param {UsersApiAddOrganizationRequest} requestParameters Request parameters.
17488
+ * @param {*} [options] Override http request option.
17489
+ * @throws {RequiredError}
17490
+ * @memberof UsersApi
17491
+ */
17492
+ public addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig) {
17493
+ return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
17494
+ }
17495
+
16854
17496
  /**
16855
17497
  *
16856
17498
  * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
@@ -17076,6 +17718,16 @@ export class UsersApi extends BaseAPI {
17076
17718
  return UsersApiFp(this.configuration).removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(this.axios, this.basePath));
17077
17719
  }
17078
17720
 
17721
+ /**
17722
+ *
17723
+ * @param {*} [options] Override http request option.
17724
+ * @throws {RequiredError}
17725
+ * @memberof UsersApi
17726
+ */
17727
+ public requestEmailVerification(options?: RawAxiosRequestConfig) {
17728
+ return UsersApiFp(this.configuration).requestEmailVerification(options).then((request) => request(this.axios, this.basePath));
17729
+ }
17730
+
17079
17731
  /**
17080
17732
  *
17081
17733
  * @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
@@ -17089,13 +17741,24 @@ export class UsersApi extends BaseAPI {
17089
17741
 
17090
17742
  /**
17091
17743
  *
17092
- * @param {UsersApiSetupNoShowPaymentMethodRequest} requestParameters Request parameters.
17744
+ * @param {UsersApiResetPasswordRequest} requestParameters Request parameters.
17745
+ * @param {*} [options] Override http request option.
17746
+ * @throws {RequiredError}
17747
+ * @memberof UsersApi
17748
+ */
17749
+ public resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig) {
17750
+ return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
17751
+ }
17752
+
17753
+ /**
17754
+ *
17755
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
17093
17756
  * @param {*} [options] Override http request option.
17094
17757
  * @throws {RequiredError}
17095
17758
  * @memberof UsersApi
17096
17759
  */
17097
- public setupNoShowPaymentMethod(requestParameters: UsersApiSetupNoShowPaymentMethodRequest, options?: RawAxiosRequestConfig) {
17098
- return UsersApiFp(this.configuration).setupNoShowPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
17760
+ public setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig) {
17761
+ return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
17099
17762
  }
17100
17763
 
17101
17764
  /**
@@ -17152,6 +17815,28 @@ export class UsersApi extends BaseAPI {
17152
17815
  public updateProfilePicture(requestParameters: UsersApiUpdateProfilePictureRequest, options?: RawAxiosRequestConfig) {
17153
17816
  return UsersApiFp(this.configuration).updateProfilePicture(requestParameters.profilePictureUpdateRequestBody, options).then((request) => request(this.axios, this.basePath));
17154
17817
  }
17818
+
17819
+ /**
17820
+ *
17821
+ * @param {UsersApiVerifyEmailRequest} requestParameters Request parameters.
17822
+ * @param {*} [options] Override http request option.
17823
+ * @throws {RequiredError}
17824
+ * @memberof UsersApi
17825
+ */
17826
+ public verifyEmail(requestParameters: UsersApiVerifyEmailRequest, options?: RawAxiosRequestConfig) {
17827
+ return UsersApiFp(this.configuration).verifyEmail(requestParameters.verifyEmailRequest, options).then((request) => request(this.axios, this.basePath));
17828
+ }
17829
+
17830
+ /**
17831
+ *
17832
+ * @param {UsersApiVerifyOrganizationRequest} requestParameters Request parameters.
17833
+ * @param {*} [options] Override http request option.
17834
+ * @throws {RequiredError}
17835
+ * @memberof UsersApi
17836
+ */
17837
+ public verifyOrganization(requestParameters: UsersApiVerifyOrganizationRequest, options?: RawAxiosRequestConfig) {
17838
+ return UsersApiFp(this.configuration).verifyOrganization(requestParameters.verifyEmailRequest, options).then((request) => request(this.axios, this.basePath));
17839
+ }
17155
17840
  }
17156
17841
 
17157
17842