@tennac-booking/sdk 1.0.186 → 1.0.187
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +11 -0
- package/README.md +15 -1
- package/api.ts +603 -15
- package/dist/api.d.ts +415 -10
- package/dist/api.js +320 -15
- package/dist/esm/api.d.ts +415 -10
- package/dist/esm/api.js +312 -11
- package/docs/AuthApi.md +113 -0
- package/docs/PublicEmailApi.md +4 -4
- package/docs/RequestOrganizationEmailCodeBody.md +22 -0
- package/docs/RequestOrganizationEmailCodeResponse.md +22 -0
- package/docs/RequestVerificationCodeBody.md +26 -0
- package/docs/RequestVerificationCodeResponse.md +20 -0
- package/docs/SupportedLanguage.md +10 -0
- package/docs/UserNextBookingSummary.md +26 -0
- package/docs/UserProfileResponse.md +2 -0
- package/docs/UsersApi.md +104 -0
- package/docs/VerifyOrganizationEmailCodeBody.md +24 -0
- package/docs/VerifyOrganizationEmailCodeResponse.md +22 -0
- package/docs/VerifyVerificationCodeBody.md +24 -0
- package/docs/VerifyVerificationCodeResponse.md +20 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -10175,6 +10175,90 @@ export interface RequestEmailCodeResponse {
|
|
|
10175
10175
|
*/
|
|
10176
10176
|
'alreadyVerified'?: boolean;
|
|
10177
10177
|
}
|
|
10178
|
+
/**
|
|
10179
|
+
*
|
|
10180
|
+
* @export
|
|
10181
|
+
* @interface RequestOrganizationEmailCodeBody
|
|
10182
|
+
*/
|
|
10183
|
+
export interface RequestOrganizationEmailCodeBody {
|
|
10184
|
+
/**
|
|
10185
|
+
*
|
|
10186
|
+
* @type {string}
|
|
10187
|
+
* @memberof RequestOrganizationEmailCodeBody
|
|
10188
|
+
*/
|
|
10189
|
+
'organizationId': string;
|
|
10190
|
+
/**
|
|
10191
|
+
*
|
|
10192
|
+
* @type {string}
|
|
10193
|
+
* @memberof RequestOrganizationEmailCodeBody
|
|
10194
|
+
*/
|
|
10195
|
+
'organizationEmail': string;
|
|
10196
|
+
}
|
|
10197
|
+
/**
|
|
10198
|
+
*
|
|
10199
|
+
* @export
|
|
10200
|
+
* @interface RequestOrganizationEmailCodeResponse
|
|
10201
|
+
*/
|
|
10202
|
+
export interface RequestOrganizationEmailCodeResponse {
|
|
10203
|
+
/**
|
|
10204
|
+
*
|
|
10205
|
+
* @type {boolean}
|
|
10206
|
+
* @memberof RequestOrganizationEmailCodeResponse
|
|
10207
|
+
*/
|
|
10208
|
+
'sent': boolean;
|
|
10209
|
+
/**
|
|
10210
|
+
*
|
|
10211
|
+
* @type {boolean}
|
|
10212
|
+
* @memberof RequestOrganizationEmailCodeResponse
|
|
10213
|
+
*/
|
|
10214
|
+
'alreadyVerified'?: boolean;
|
|
10215
|
+
}
|
|
10216
|
+
/**
|
|
10217
|
+
*
|
|
10218
|
+
* @export
|
|
10219
|
+
* @interface RequestVerificationCodeBody
|
|
10220
|
+
*/
|
|
10221
|
+
export interface RequestVerificationCodeBody {
|
|
10222
|
+
/**
|
|
10223
|
+
*
|
|
10224
|
+
* @type {string}
|
|
10225
|
+
* @memberof RequestVerificationCodeBody
|
|
10226
|
+
*/
|
|
10227
|
+
'email': string;
|
|
10228
|
+
/**
|
|
10229
|
+
*
|
|
10230
|
+
* @type {string}
|
|
10231
|
+
* @memberof RequestVerificationCodeBody
|
|
10232
|
+
*/
|
|
10233
|
+
'context'?: string;
|
|
10234
|
+
/**
|
|
10235
|
+
*
|
|
10236
|
+
* @type {SupportedLanguage}
|
|
10237
|
+
* @memberof RequestVerificationCodeBody
|
|
10238
|
+
*/
|
|
10239
|
+
'lang'?: SupportedLanguage;
|
|
10240
|
+
/**
|
|
10241
|
+
*
|
|
10242
|
+
* @type {string}
|
|
10243
|
+
* @memberof RequestVerificationCodeBody
|
|
10244
|
+
*/
|
|
10245
|
+
'requestId'?: string;
|
|
10246
|
+
}
|
|
10247
|
+
|
|
10248
|
+
|
|
10249
|
+
/**
|
|
10250
|
+
*
|
|
10251
|
+
* @export
|
|
10252
|
+
* @interface RequestVerificationCodeResponse
|
|
10253
|
+
*/
|
|
10254
|
+
export interface RequestVerificationCodeResponse {
|
|
10255
|
+
/**
|
|
10256
|
+
*
|
|
10257
|
+
* @type {boolean}
|
|
10258
|
+
* @memberof RequestVerificationCodeResponse
|
|
10259
|
+
*/
|
|
10260
|
+
'sent': boolean;
|
|
10261
|
+
}
|
|
10178
10262
|
/**
|
|
10179
10263
|
*
|
|
10180
10264
|
* @export
|
|
@@ -11700,6 +11784,20 @@ export interface SubscriptionPlanResponse {
|
|
|
11700
11784
|
}
|
|
11701
11785
|
|
|
11702
11786
|
|
|
11787
|
+
/**
|
|
11788
|
+
*
|
|
11789
|
+
* @export
|
|
11790
|
+
* @enum {string}
|
|
11791
|
+
*/
|
|
11792
|
+
|
|
11793
|
+
export const SupportedLanguage = {
|
|
11794
|
+
Fr: 'fr',
|
|
11795
|
+
En: 'en'
|
|
11796
|
+
} as const;
|
|
11797
|
+
|
|
11798
|
+
export type SupportedLanguage = typeof SupportedLanguage[keyof typeof SupportedLanguage];
|
|
11799
|
+
|
|
11800
|
+
|
|
11703
11801
|
/**
|
|
11704
11802
|
*
|
|
11705
11803
|
* @export
|
|
@@ -13360,6 +13458,37 @@ export const UserLocationSummaryTypeEnum = {
|
|
|
13360
13458
|
|
|
13361
13459
|
export type UserLocationSummaryTypeEnum = typeof UserLocationSummaryTypeEnum[keyof typeof UserLocationSummaryTypeEnum];
|
|
13362
13460
|
|
|
13461
|
+
/**
|
|
13462
|
+
*
|
|
13463
|
+
* @export
|
|
13464
|
+
* @interface UserNextBookingSummary
|
|
13465
|
+
*/
|
|
13466
|
+
export interface UserNextBookingSummary {
|
|
13467
|
+
/**
|
|
13468
|
+
*
|
|
13469
|
+
* @type {string}
|
|
13470
|
+
* @memberof UserNextBookingSummary
|
|
13471
|
+
*/
|
|
13472
|
+
'id': string;
|
|
13473
|
+
/**
|
|
13474
|
+
*
|
|
13475
|
+
* @type {string}
|
|
13476
|
+
* @memberof UserNextBookingSummary
|
|
13477
|
+
*/
|
|
13478
|
+
'date': string | null;
|
|
13479
|
+
/**
|
|
13480
|
+
*
|
|
13481
|
+
* @type {Array<BookingSlotInfo>}
|
|
13482
|
+
* @memberof UserNextBookingSummary
|
|
13483
|
+
*/
|
|
13484
|
+
'slots': Array<BookingSlotInfo>;
|
|
13485
|
+
/**
|
|
13486
|
+
*
|
|
13487
|
+
* @type {BookingClubInfo}
|
|
13488
|
+
* @memberof UserNextBookingSummary
|
|
13489
|
+
*/
|
|
13490
|
+
'club': BookingClubInfo | null;
|
|
13491
|
+
}
|
|
13363
13492
|
/**
|
|
13364
13493
|
*
|
|
13365
13494
|
* @export
|
|
@@ -13570,6 +13699,12 @@ export interface UserProfileResponse {
|
|
|
13570
13699
|
* @memberof UserProfileResponse
|
|
13571
13700
|
*/
|
|
13572
13701
|
'upcomingBookingsCount'?: number;
|
|
13702
|
+
/**
|
|
13703
|
+
*
|
|
13704
|
+
* @type {UserNextBookingSummary}
|
|
13705
|
+
* @memberof UserProfileResponse
|
|
13706
|
+
*/
|
|
13707
|
+
'nextBooking'?: UserNextBookingSummary | null;
|
|
13573
13708
|
/**
|
|
13574
13709
|
*
|
|
13575
13710
|
* @type {number}
|
|
@@ -13710,6 +13845,88 @@ export interface VerifyEmailRequest {
|
|
|
13710
13845
|
*/
|
|
13711
13846
|
'token'?: string;
|
|
13712
13847
|
}
|
|
13848
|
+
/**
|
|
13849
|
+
*
|
|
13850
|
+
* @export
|
|
13851
|
+
* @interface VerifyOrganizationEmailCodeBody
|
|
13852
|
+
*/
|
|
13853
|
+
export interface VerifyOrganizationEmailCodeBody {
|
|
13854
|
+
/**
|
|
13855
|
+
*
|
|
13856
|
+
* @type {string}
|
|
13857
|
+
* @memberof VerifyOrganizationEmailCodeBody
|
|
13858
|
+
*/
|
|
13859
|
+
'organizationId': string;
|
|
13860
|
+
/**
|
|
13861
|
+
*
|
|
13862
|
+
* @type {string}
|
|
13863
|
+
* @memberof VerifyOrganizationEmailCodeBody
|
|
13864
|
+
*/
|
|
13865
|
+
'organizationEmail': string;
|
|
13866
|
+
/**
|
|
13867
|
+
*
|
|
13868
|
+
* @type {string}
|
|
13869
|
+
* @memberof VerifyOrganizationEmailCodeBody
|
|
13870
|
+
*/
|
|
13871
|
+
'code': string;
|
|
13872
|
+
}
|
|
13873
|
+
/**
|
|
13874
|
+
*
|
|
13875
|
+
* @export
|
|
13876
|
+
* @interface VerifyOrganizationEmailCodeResponse
|
|
13877
|
+
*/
|
|
13878
|
+
export interface VerifyOrganizationEmailCodeResponse {
|
|
13879
|
+
/**
|
|
13880
|
+
*
|
|
13881
|
+
* @type {boolean}
|
|
13882
|
+
* @memberof VerifyOrganizationEmailCodeResponse
|
|
13883
|
+
*/
|
|
13884
|
+
'verified': boolean;
|
|
13885
|
+
/**
|
|
13886
|
+
*
|
|
13887
|
+
* @type {boolean}
|
|
13888
|
+
* @memberof VerifyOrganizationEmailCodeResponse
|
|
13889
|
+
*/
|
|
13890
|
+
'alreadyVerified'?: boolean;
|
|
13891
|
+
}
|
|
13892
|
+
/**
|
|
13893
|
+
*
|
|
13894
|
+
* @export
|
|
13895
|
+
* @interface VerifyVerificationCodeBody
|
|
13896
|
+
*/
|
|
13897
|
+
export interface VerifyVerificationCodeBody {
|
|
13898
|
+
/**
|
|
13899
|
+
*
|
|
13900
|
+
* @type {string}
|
|
13901
|
+
* @memberof VerifyVerificationCodeBody
|
|
13902
|
+
*/
|
|
13903
|
+
'email': string;
|
|
13904
|
+
/**
|
|
13905
|
+
*
|
|
13906
|
+
* @type {string}
|
|
13907
|
+
* @memberof VerifyVerificationCodeBody
|
|
13908
|
+
*/
|
|
13909
|
+
'code': string;
|
|
13910
|
+
/**
|
|
13911
|
+
*
|
|
13912
|
+
* @type {string}
|
|
13913
|
+
* @memberof VerifyVerificationCodeBody
|
|
13914
|
+
*/
|
|
13915
|
+
'context'?: string;
|
|
13916
|
+
}
|
|
13917
|
+
/**
|
|
13918
|
+
*
|
|
13919
|
+
* @export
|
|
13920
|
+
* @interface VerifyVerificationCodeResponse
|
|
13921
|
+
*/
|
|
13922
|
+
export interface VerifyVerificationCodeResponse {
|
|
13923
|
+
/**
|
|
13924
|
+
*
|
|
13925
|
+
* @type {boolean}
|
|
13926
|
+
* @memberof VerifyVerificationCodeResponse
|
|
13927
|
+
*/
|
|
13928
|
+
'verified': boolean;
|
|
13929
|
+
}
|
|
13713
13930
|
/**
|
|
13714
13931
|
*
|
|
13715
13932
|
* @export
|
|
@@ -13945,6 +14162,207 @@ export interface YearlyTurnoverResponse {
|
|
|
13945
14162
|
'monthlyBreakdown': Array<MonthlyBreakdown>;
|
|
13946
14163
|
}
|
|
13947
14164
|
|
|
14165
|
+
/**
|
|
14166
|
+
* AuthApi - axios parameter creator
|
|
14167
|
+
* @export
|
|
14168
|
+
*/
|
|
14169
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14170
|
+
return {
|
|
14171
|
+
/**
|
|
14172
|
+
*
|
|
14173
|
+
* @param {RequestVerificationCodeBody} requestVerificationCodeBody
|
|
14174
|
+
* @param {*} [options] Override http request option.
|
|
14175
|
+
* @throws {RequiredError}
|
|
14176
|
+
*/
|
|
14177
|
+
requestVerificationCode: async (requestVerificationCodeBody: RequestVerificationCodeBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14178
|
+
// verify required parameter 'requestVerificationCodeBody' is not null or undefined
|
|
14179
|
+
assertParamExists('requestVerificationCode', 'requestVerificationCodeBody', requestVerificationCodeBody)
|
|
14180
|
+
const localVarPath = `/api/auth/verification-code`;
|
|
14181
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14182
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14183
|
+
let baseOptions;
|
|
14184
|
+
if (configuration) {
|
|
14185
|
+
baseOptions = configuration.baseOptions;
|
|
14186
|
+
}
|
|
14187
|
+
|
|
14188
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14189
|
+
const localVarHeaderParameter = {} as any;
|
|
14190
|
+
const localVarQueryParameter = {} as any;
|
|
14191
|
+
|
|
14192
|
+
|
|
14193
|
+
|
|
14194
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14195
|
+
|
|
14196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14198
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestVerificationCodeBody, localVarRequestOptions, configuration)
|
|
14200
|
+
|
|
14201
|
+
return {
|
|
14202
|
+
url: toPathString(localVarUrlObj),
|
|
14203
|
+
options: localVarRequestOptions,
|
|
14204
|
+
};
|
|
14205
|
+
},
|
|
14206
|
+
/**
|
|
14207
|
+
*
|
|
14208
|
+
* @param {VerifyVerificationCodeBody} verifyVerificationCodeBody
|
|
14209
|
+
* @param {*} [options] Override http request option.
|
|
14210
|
+
* @throws {RequiredError}
|
|
14211
|
+
*/
|
|
14212
|
+
verifyVerificationCode: async (verifyVerificationCodeBody: VerifyVerificationCodeBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14213
|
+
// verify required parameter 'verifyVerificationCodeBody' is not null or undefined
|
|
14214
|
+
assertParamExists('verifyVerificationCode', 'verifyVerificationCodeBody', verifyVerificationCodeBody)
|
|
14215
|
+
const localVarPath = `/api/auth/verification-code/verify`;
|
|
14216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14218
|
+
let baseOptions;
|
|
14219
|
+
if (configuration) {
|
|
14220
|
+
baseOptions = configuration.baseOptions;
|
|
14221
|
+
}
|
|
14222
|
+
|
|
14223
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14224
|
+
const localVarHeaderParameter = {} as any;
|
|
14225
|
+
const localVarQueryParameter = {} as any;
|
|
14226
|
+
|
|
14227
|
+
|
|
14228
|
+
|
|
14229
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14230
|
+
|
|
14231
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14232
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14233
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14234
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyVerificationCodeBody, localVarRequestOptions, configuration)
|
|
14235
|
+
|
|
14236
|
+
return {
|
|
14237
|
+
url: toPathString(localVarUrlObj),
|
|
14238
|
+
options: localVarRequestOptions,
|
|
14239
|
+
};
|
|
14240
|
+
},
|
|
14241
|
+
}
|
|
14242
|
+
};
|
|
14243
|
+
|
|
14244
|
+
/**
|
|
14245
|
+
* AuthApi - functional programming interface
|
|
14246
|
+
* @export
|
|
14247
|
+
*/
|
|
14248
|
+
export const AuthApiFp = function(configuration?: Configuration) {
|
|
14249
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
14250
|
+
return {
|
|
14251
|
+
/**
|
|
14252
|
+
*
|
|
14253
|
+
* @param {RequestVerificationCodeBody} requestVerificationCodeBody
|
|
14254
|
+
* @param {*} [options] Override http request option.
|
|
14255
|
+
* @throws {RequiredError}
|
|
14256
|
+
*/
|
|
14257
|
+
async requestVerificationCode(requestVerificationCodeBody: RequestVerificationCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestVerificationCodeResponse>> {
|
|
14258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestVerificationCode(requestVerificationCodeBody, options);
|
|
14259
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14260
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.requestVerificationCode']?.[localVarOperationServerIndex]?.url;
|
|
14261
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14262
|
+
},
|
|
14263
|
+
/**
|
|
14264
|
+
*
|
|
14265
|
+
* @param {VerifyVerificationCodeBody} verifyVerificationCodeBody
|
|
14266
|
+
* @param {*} [options] Override http request option.
|
|
14267
|
+
* @throws {RequiredError}
|
|
14268
|
+
*/
|
|
14269
|
+
async verifyVerificationCode(verifyVerificationCodeBody: VerifyVerificationCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyVerificationCodeResponse>> {
|
|
14270
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.verifyVerificationCode(verifyVerificationCodeBody, options);
|
|
14271
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14272
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.verifyVerificationCode']?.[localVarOperationServerIndex]?.url;
|
|
14273
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14274
|
+
},
|
|
14275
|
+
}
|
|
14276
|
+
};
|
|
14277
|
+
|
|
14278
|
+
/**
|
|
14279
|
+
* AuthApi - factory interface
|
|
14280
|
+
* @export
|
|
14281
|
+
*/
|
|
14282
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
14283
|
+
const localVarFp = AuthApiFp(configuration)
|
|
14284
|
+
return {
|
|
14285
|
+
/**
|
|
14286
|
+
*
|
|
14287
|
+
* @param {AuthApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
14288
|
+
* @param {*} [options] Override http request option.
|
|
14289
|
+
* @throws {RequiredError}
|
|
14290
|
+
*/
|
|
14291
|
+
requestVerificationCode(requestParameters: AuthApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestVerificationCodeResponse> {
|
|
14292
|
+
return localVarFp.requestVerificationCode(requestParameters.requestVerificationCodeBody, options).then((request) => request(axios, basePath));
|
|
14293
|
+
},
|
|
14294
|
+
/**
|
|
14295
|
+
*
|
|
14296
|
+
* @param {AuthApiVerifyVerificationCodeRequest} requestParameters Request parameters.
|
|
14297
|
+
* @param {*} [options] Override http request option.
|
|
14298
|
+
* @throws {RequiredError}
|
|
14299
|
+
*/
|
|
14300
|
+
verifyVerificationCode(requestParameters: AuthApiVerifyVerificationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<VerifyVerificationCodeResponse> {
|
|
14301
|
+
return localVarFp.verifyVerificationCode(requestParameters.verifyVerificationCodeBody, options).then((request) => request(axios, basePath));
|
|
14302
|
+
},
|
|
14303
|
+
};
|
|
14304
|
+
};
|
|
14305
|
+
|
|
14306
|
+
/**
|
|
14307
|
+
* Request parameters for requestVerificationCode operation in AuthApi.
|
|
14308
|
+
* @export
|
|
14309
|
+
* @interface AuthApiRequestVerificationCodeRequest
|
|
14310
|
+
*/
|
|
14311
|
+
export interface AuthApiRequestVerificationCodeRequest {
|
|
14312
|
+
/**
|
|
14313
|
+
*
|
|
14314
|
+
* @type {RequestVerificationCodeBody}
|
|
14315
|
+
* @memberof AuthApiRequestVerificationCode
|
|
14316
|
+
*/
|
|
14317
|
+
readonly requestVerificationCodeBody: RequestVerificationCodeBody
|
|
14318
|
+
}
|
|
14319
|
+
|
|
14320
|
+
/**
|
|
14321
|
+
* Request parameters for verifyVerificationCode operation in AuthApi.
|
|
14322
|
+
* @export
|
|
14323
|
+
* @interface AuthApiVerifyVerificationCodeRequest
|
|
14324
|
+
*/
|
|
14325
|
+
export interface AuthApiVerifyVerificationCodeRequest {
|
|
14326
|
+
/**
|
|
14327
|
+
*
|
|
14328
|
+
* @type {VerifyVerificationCodeBody}
|
|
14329
|
+
* @memberof AuthApiVerifyVerificationCode
|
|
14330
|
+
*/
|
|
14331
|
+
readonly verifyVerificationCodeBody: VerifyVerificationCodeBody
|
|
14332
|
+
}
|
|
14333
|
+
|
|
14334
|
+
/**
|
|
14335
|
+
* AuthApi - object-oriented interface
|
|
14336
|
+
* @export
|
|
14337
|
+
* @class AuthApi
|
|
14338
|
+
* @extends {BaseAPI}
|
|
14339
|
+
*/
|
|
14340
|
+
export class AuthApi extends BaseAPI {
|
|
14341
|
+
/**
|
|
14342
|
+
*
|
|
14343
|
+
* @param {AuthApiRequestVerificationCodeRequest} requestParameters Request parameters.
|
|
14344
|
+
* @param {*} [options] Override http request option.
|
|
14345
|
+
* @throws {RequiredError}
|
|
14346
|
+
* @memberof AuthApi
|
|
14347
|
+
*/
|
|
14348
|
+
public requestVerificationCode(requestParameters: AuthApiRequestVerificationCodeRequest, options?: RawAxiosRequestConfig) {
|
|
14349
|
+
return AuthApiFp(this.configuration).requestVerificationCode(requestParameters.requestVerificationCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
14350
|
+
}
|
|
14351
|
+
|
|
14352
|
+
/**
|
|
14353
|
+
*
|
|
14354
|
+
* @param {AuthApiVerifyVerificationCodeRequest} requestParameters Request parameters.
|
|
14355
|
+
* @param {*} [options] Override http request option.
|
|
14356
|
+
* @throws {RequiredError}
|
|
14357
|
+
* @memberof AuthApi
|
|
14358
|
+
*/
|
|
14359
|
+
public verifyVerificationCode(requestParameters: AuthApiVerifyVerificationCodeRequest, options?: RawAxiosRequestConfig) {
|
|
14360
|
+
return AuthApiFp(this.configuration).verifyVerificationCode(requestParameters.verifyVerificationCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
14361
|
+
}
|
|
14362
|
+
}
|
|
14363
|
+
|
|
14364
|
+
|
|
14365
|
+
|
|
13948
14366
|
/**
|
|
13949
14367
|
* BookingsApi - axios parameter creator
|
|
13950
14368
|
* @export
|
|
@@ -28107,9 +28525,9 @@ export const PublicEmailApiAxiosParamCreator = function (configuration?: Configu
|
|
|
28107
28525
|
* @param {*} [options] Override http request option.
|
|
28108
28526
|
* @throws {RequiredError}
|
|
28109
28527
|
*/
|
|
28110
|
-
|
|
28528
|
+
requestPublicEmailVerificationCode: async (requestEmailCodeBody: RequestEmailCodeBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28111
28529
|
// verify required parameter 'requestEmailCodeBody' is not null or undefined
|
|
28112
|
-
assertParamExists('
|
|
28530
|
+
assertParamExists('requestPublicEmailVerificationCode', 'requestEmailCodeBody', requestEmailCodeBody)
|
|
28113
28531
|
const localVarPath = `/api/public-email/request-verification-code`;
|
|
28114
28532
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28115
28533
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -28199,10 +28617,10 @@ export const PublicEmailApiFp = function(configuration?: Configuration) {
|
|
|
28199
28617
|
* @param {*} [options] Override http request option.
|
|
28200
28618
|
* @throws {RequiredError}
|
|
28201
28619
|
*/
|
|
28202
|
-
async
|
|
28203
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
28620
|
+
async requestPublicEmailVerificationCode(requestEmailCodeBody: RequestEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestEmailCodeResponse>> {
|
|
28621
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestPublicEmailVerificationCode(requestEmailCodeBody, options);
|
|
28204
28622
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28205
|
-
const localVarOperationServerBasePath = operationServerMap['PublicEmailApi.
|
|
28623
|
+
const localVarOperationServerBasePath = operationServerMap['PublicEmailApi.requestPublicEmailVerificationCode']?.[localVarOperationServerIndex]?.url;
|
|
28206
28624
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28207
28625
|
},
|
|
28208
28626
|
/**
|
|
@@ -28238,12 +28656,12 @@ export const PublicEmailApiFactory = function (configuration?: Configuration, ba
|
|
|
28238
28656
|
},
|
|
28239
28657
|
/**
|
|
28240
28658
|
*
|
|
28241
|
-
* @param {
|
|
28659
|
+
* @param {PublicEmailApiRequestPublicEmailVerificationCodeRequest} requestParameters Request parameters.
|
|
28242
28660
|
* @param {*} [options] Override http request option.
|
|
28243
28661
|
* @throws {RequiredError}
|
|
28244
28662
|
*/
|
|
28245
|
-
|
|
28246
|
-
return localVarFp.
|
|
28663
|
+
requestPublicEmailVerificationCode(requestParameters: PublicEmailApiRequestPublicEmailVerificationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestEmailCodeResponse> {
|
|
28664
|
+
return localVarFp.requestPublicEmailVerificationCode(requestParameters.requestEmailCodeBody, options).then((request) => request(axios, basePath));
|
|
28247
28665
|
},
|
|
28248
28666
|
/**
|
|
28249
28667
|
*
|
|
@@ -28272,15 +28690,15 @@ export interface PublicEmailApiAuthEmailExistsRequest {
|
|
|
28272
28690
|
}
|
|
28273
28691
|
|
|
28274
28692
|
/**
|
|
28275
|
-
* Request parameters for
|
|
28693
|
+
* Request parameters for requestPublicEmailVerificationCode operation in PublicEmailApi.
|
|
28276
28694
|
* @export
|
|
28277
|
-
* @interface
|
|
28695
|
+
* @interface PublicEmailApiRequestPublicEmailVerificationCodeRequest
|
|
28278
28696
|
*/
|
|
28279
|
-
export interface
|
|
28697
|
+
export interface PublicEmailApiRequestPublicEmailVerificationCodeRequest {
|
|
28280
28698
|
/**
|
|
28281
28699
|
*
|
|
28282
28700
|
* @type {RequestEmailCodeBody}
|
|
28283
|
-
* @memberof
|
|
28701
|
+
* @memberof PublicEmailApiRequestPublicEmailVerificationCode
|
|
28284
28702
|
*/
|
|
28285
28703
|
readonly requestEmailCodeBody: RequestEmailCodeBody
|
|
28286
28704
|
}
|
|
@@ -28319,13 +28737,13 @@ export class PublicEmailApi extends BaseAPI {
|
|
|
28319
28737
|
|
|
28320
28738
|
/**
|
|
28321
28739
|
*
|
|
28322
|
-
* @param {
|
|
28740
|
+
* @param {PublicEmailApiRequestPublicEmailVerificationCodeRequest} requestParameters Request parameters.
|
|
28323
28741
|
* @param {*} [options] Override http request option.
|
|
28324
28742
|
* @throws {RequiredError}
|
|
28325
28743
|
* @memberof PublicEmailApi
|
|
28326
28744
|
*/
|
|
28327
|
-
public
|
|
28328
|
-
return PublicEmailApiFp(this.configuration).
|
|
28745
|
+
public requestPublicEmailVerificationCode(requestParameters: PublicEmailApiRequestPublicEmailVerificationCodeRequest, options?: RawAxiosRequestConfig) {
|
|
28746
|
+
return PublicEmailApiFp(this.configuration).requestPublicEmailVerificationCode(requestParameters.requestEmailCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
28329
28747
|
}
|
|
28330
28748
|
|
|
28331
28749
|
/**
|
|
@@ -31173,6 +31591,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
31173
31591
|
options: localVarRequestOptions,
|
|
31174
31592
|
};
|
|
31175
31593
|
},
|
|
31594
|
+
/**
|
|
31595
|
+
*
|
|
31596
|
+
* @param {RequestOrganizationEmailCodeBody} requestOrganizationEmailCodeBody
|
|
31597
|
+
* @param {*} [options] Override http request option.
|
|
31598
|
+
* @throws {RequiredError}
|
|
31599
|
+
*/
|
|
31600
|
+
requestOrganizationCode: async (requestOrganizationEmailCodeBody: RequestOrganizationEmailCodeBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31601
|
+
// verify required parameter 'requestOrganizationEmailCodeBody' is not null or undefined
|
|
31602
|
+
assertParamExists('requestOrganizationCode', 'requestOrganizationEmailCodeBody', requestOrganizationEmailCodeBody)
|
|
31603
|
+
const localVarPath = `/api/users/me/request-organization-code`;
|
|
31604
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31605
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31606
|
+
let baseOptions;
|
|
31607
|
+
if (configuration) {
|
|
31608
|
+
baseOptions = configuration.baseOptions;
|
|
31609
|
+
}
|
|
31610
|
+
|
|
31611
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31612
|
+
const localVarHeaderParameter = {} as any;
|
|
31613
|
+
const localVarQueryParameter = {} as any;
|
|
31614
|
+
|
|
31615
|
+
// authentication bearerAuth required
|
|
31616
|
+
// http bearer authentication required
|
|
31617
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31618
|
+
|
|
31619
|
+
|
|
31620
|
+
|
|
31621
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31622
|
+
|
|
31623
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31624
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31625
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31626
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestOrganizationEmailCodeBody, localVarRequestOptions, configuration)
|
|
31627
|
+
|
|
31628
|
+
return {
|
|
31629
|
+
url: toPathString(localVarUrlObj),
|
|
31630
|
+
options: localVarRequestOptions,
|
|
31631
|
+
};
|
|
31632
|
+
},
|
|
31176
31633
|
/**
|
|
31177
31634
|
*
|
|
31178
31635
|
* @param {PasswordResetRequestBody} passwordResetRequestBody
|
|
@@ -31499,6 +31956,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
31499
31956
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31500
31957
|
localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailRequest, localVarRequestOptions, configuration)
|
|
31501
31958
|
|
|
31959
|
+
return {
|
|
31960
|
+
url: toPathString(localVarUrlObj),
|
|
31961
|
+
options: localVarRequestOptions,
|
|
31962
|
+
};
|
|
31963
|
+
},
|
|
31964
|
+
/**
|
|
31965
|
+
*
|
|
31966
|
+
* @param {VerifyOrganizationEmailCodeBody} verifyOrganizationEmailCodeBody
|
|
31967
|
+
* @param {*} [options] Override http request option.
|
|
31968
|
+
* @throws {RequiredError}
|
|
31969
|
+
*/
|
|
31970
|
+
verifyOrganizationCode: async (verifyOrganizationEmailCodeBody: VerifyOrganizationEmailCodeBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31971
|
+
// verify required parameter 'verifyOrganizationEmailCodeBody' is not null or undefined
|
|
31972
|
+
assertParamExists('verifyOrganizationCode', 'verifyOrganizationEmailCodeBody', verifyOrganizationEmailCodeBody)
|
|
31973
|
+
const localVarPath = `/api/users/me/verify-organization-code`;
|
|
31974
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31975
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31976
|
+
let baseOptions;
|
|
31977
|
+
if (configuration) {
|
|
31978
|
+
baseOptions = configuration.baseOptions;
|
|
31979
|
+
}
|
|
31980
|
+
|
|
31981
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31982
|
+
const localVarHeaderParameter = {} as any;
|
|
31983
|
+
const localVarQueryParameter = {} as any;
|
|
31984
|
+
|
|
31985
|
+
// authentication bearerAuth required
|
|
31986
|
+
// http bearer authentication required
|
|
31987
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31988
|
+
|
|
31989
|
+
|
|
31990
|
+
|
|
31991
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31992
|
+
|
|
31993
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31994
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31995
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31996
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyOrganizationEmailCodeBody, localVarRequestOptions, configuration)
|
|
31997
|
+
|
|
31502
31998
|
return {
|
|
31503
31999
|
url: toPathString(localVarUrlObj),
|
|
31504
32000
|
options: localVarRequestOptions,
|
|
@@ -31908,6 +32404,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
31908
32404
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.requestEmailVerification']?.[localVarOperationServerIndex]?.url;
|
|
31909
32405
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31910
32406
|
},
|
|
32407
|
+
/**
|
|
32408
|
+
*
|
|
32409
|
+
* @param {RequestOrganizationEmailCodeBody} requestOrganizationEmailCodeBody
|
|
32410
|
+
* @param {*} [options] Override http request option.
|
|
32411
|
+
* @throws {RequiredError}
|
|
32412
|
+
*/
|
|
32413
|
+
async requestOrganizationCode(requestOrganizationEmailCodeBody: RequestOrganizationEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestOrganizationEmailCodeResponse>> {
|
|
32414
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestOrganizationCode(requestOrganizationEmailCodeBody, options);
|
|
32415
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32416
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.requestOrganizationCode']?.[localVarOperationServerIndex]?.url;
|
|
32417
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32418
|
+
},
|
|
31911
32419
|
/**
|
|
31912
32420
|
*
|
|
31913
32421
|
* @param {PasswordResetRequestBody} passwordResetRequestBody
|
|
@@ -32016,6 +32524,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
32016
32524
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.verifyOrganization']?.[localVarOperationServerIndex]?.url;
|
|
32017
32525
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32018
32526
|
},
|
|
32527
|
+
/**
|
|
32528
|
+
*
|
|
32529
|
+
* @param {VerifyOrganizationEmailCodeBody} verifyOrganizationEmailCodeBody
|
|
32530
|
+
* @param {*} [options] Override http request option.
|
|
32531
|
+
* @throws {RequiredError}
|
|
32532
|
+
*/
|
|
32533
|
+
async verifyOrganizationCode(verifyOrganizationEmailCodeBody: VerifyOrganizationEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyOrganizationEmailCodeResponse>> {
|
|
32534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.verifyOrganizationCode(verifyOrganizationEmailCodeBody, options);
|
|
32535
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32536
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.verifyOrganizationCode']?.[localVarOperationServerIndex]?.url;
|
|
32537
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32538
|
+
},
|
|
32019
32539
|
}
|
|
32020
32540
|
};
|
|
32021
32541
|
|
|
@@ -32305,6 +32825,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
32305
32825
|
requestEmailVerification(options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response> {
|
|
32306
32826
|
return localVarFp.requestEmailVerification(options).then((request) => request(axios, basePath));
|
|
32307
32827
|
},
|
|
32828
|
+
/**
|
|
32829
|
+
*
|
|
32830
|
+
* @param {UsersApiRequestOrganizationCodeRequest} requestParameters Request parameters.
|
|
32831
|
+
* @param {*} [options] Override http request option.
|
|
32832
|
+
* @throws {RequiredError}
|
|
32833
|
+
*/
|
|
32834
|
+
requestOrganizationCode(requestParameters: UsersApiRequestOrganizationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestOrganizationEmailCodeResponse> {
|
|
32835
|
+
return localVarFp.requestOrganizationCode(requestParameters.requestOrganizationEmailCodeBody, options).then((request) => request(axios, basePath));
|
|
32836
|
+
},
|
|
32308
32837
|
/**
|
|
32309
32838
|
*
|
|
32310
32839
|
* @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
|
|
@@ -32386,6 +32915,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
32386
32915
|
verifyOrganization(requestParameters: UsersApiVerifyOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response> {
|
|
32387
32916
|
return localVarFp.verifyOrganization(requestParameters.verifyEmailRequest, options).then((request) => request(axios, basePath));
|
|
32388
32917
|
},
|
|
32918
|
+
/**
|
|
32919
|
+
*
|
|
32920
|
+
* @param {UsersApiVerifyOrganizationCodeRequest} requestParameters Request parameters.
|
|
32921
|
+
* @param {*} [options] Override http request option.
|
|
32922
|
+
* @throws {RequiredError}
|
|
32923
|
+
*/
|
|
32924
|
+
verifyOrganizationCode(requestParameters: UsersApiVerifyOrganizationCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<VerifyOrganizationEmailCodeResponse> {
|
|
32925
|
+
return localVarFp.verifyOrganizationCode(requestParameters.verifyOrganizationEmailCodeBody, options).then((request) => request(axios, basePath));
|
|
32926
|
+
},
|
|
32389
32927
|
};
|
|
32390
32928
|
};
|
|
32391
32929
|
|
|
@@ -32844,6 +33382,20 @@ export interface UsersApiRemoveOrganizationRequest {
|
|
|
32844
33382
|
readonly addOrganizationRequest: AddOrganizationRequest
|
|
32845
33383
|
}
|
|
32846
33384
|
|
|
33385
|
+
/**
|
|
33386
|
+
* Request parameters for requestOrganizationCode operation in UsersApi.
|
|
33387
|
+
* @export
|
|
33388
|
+
* @interface UsersApiRequestOrganizationCodeRequest
|
|
33389
|
+
*/
|
|
33390
|
+
export interface UsersApiRequestOrganizationCodeRequest {
|
|
33391
|
+
/**
|
|
33392
|
+
*
|
|
33393
|
+
* @type {RequestOrganizationEmailCodeBody}
|
|
33394
|
+
* @memberof UsersApiRequestOrganizationCode
|
|
33395
|
+
*/
|
|
33396
|
+
readonly requestOrganizationEmailCodeBody: RequestOrganizationEmailCodeBody
|
|
33397
|
+
}
|
|
33398
|
+
|
|
32847
33399
|
/**
|
|
32848
33400
|
* Request parameters for requestPasswordReset operation in UsersApi.
|
|
32849
33401
|
* @export
|
|
@@ -32970,6 +33522,20 @@ export interface UsersApiVerifyOrganizationRequest {
|
|
|
32970
33522
|
readonly verifyEmailRequest: VerifyEmailRequest
|
|
32971
33523
|
}
|
|
32972
33524
|
|
|
33525
|
+
/**
|
|
33526
|
+
* Request parameters for verifyOrganizationCode operation in UsersApi.
|
|
33527
|
+
* @export
|
|
33528
|
+
* @interface UsersApiVerifyOrganizationCodeRequest
|
|
33529
|
+
*/
|
|
33530
|
+
export interface UsersApiVerifyOrganizationCodeRequest {
|
|
33531
|
+
/**
|
|
33532
|
+
*
|
|
33533
|
+
* @type {VerifyOrganizationEmailCodeBody}
|
|
33534
|
+
* @memberof UsersApiVerifyOrganizationCode
|
|
33535
|
+
*/
|
|
33536
|
+
readonly verifyOrganizationEmailCodeBody: VerifyOrganizationEmailCodeBody
|
|
33537
|
+
}
|
|
33538
|
+
|
|
32973
33539
|
/**
|
|
32974
33540
|
* UsersApi - object-oriented interface
|
|
32975
33541
|
* @export
|
|
@@ -33320,6 +33886,17 @@ export class UsersApi extends BaseAPI {
|
|
|
33320
33886
|
return UsersApiFp(this.configuration).requestEmailVerification(options).then((request) => request(this.axios, this.basePath));
|
|
33321
33887
|
}
|
|
33322
33888
|
|
|
33889
|
+
/**
|
|
33890
|
+
*
|
|
33891
|
+
* @param {UsersApiRequestOrganizationCodeRequest} requestParameters Request parameters.
|
|
33892
|
+
* @param {*} [options] Override http request option.
|
|
33893
|
+
* @throws {RequiredError}
|
|
33894
|
+
* @memberof UsersApi
|
|
33895
|
+
*/
|
|
33896
|
+
public requestOrganizationCode(requestParameters: UsersApiRequestOrganizationCodeRequest, options?: RawAxiosRequestConfig) {
|
|
33897
|
+
return UsersApiFp(this.configuration).requestOrganizationCode(requestParameters.requestOrganizationEmailCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
33898
|
+
}
|
|
33899
|
+
|
|
33323
33900
|
/**
|
|
33324
33901
|
*
|
|
33325
33902
|
* @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
|
|
@@ -33418,6 +33995,17 @@ export class UsersApi extends BaseAPI {
|
|
|
33418
33995
|
public verifyOrganization(requestParameters: UsersApiVerifyOrganizationRequest, options?: RawAxiosRequestConfig) {
|
|
33419
33996
|
return UsersApiFp(this.configuration).verifyOrganization(requestParameters.verifyEmailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33420
33997
|
}
|
|
33998
|
+
|
|
33999
|
+
/**
|
|
34000
|
+
*
|
|
34001
|
+
* @param {UsersApiVerifyOrganizationCodeRequest} requestParameters Request parameters.
|
|
34002
|
+
* @param {*} [options] Override http request option.
|
|
34003
|
+
* @throws {RequiredError}
|
|
34004
|
+
* @memberof UsersApi
|
|
34005
|
+
*/
|
|
34006
|
+
public verifyOrganizationCode(requestParameters: UsersApiVerifyOrganizationCodeRequest, options?: RawAxiosRequestConfig) {
|
|
34007
|
+
return UsersApiFp(this.configuration).verifyOrganizationCode(requestParameters.verifyOrganizationEmailCodeBody, options).then((request) => request(this.axios, this.basePath));
|
|
34008
|
+
}
|
|
33421
34009
|
}
|
|
33422
34010
|
|
|
33423
34011
|
|