@cherryin/passport-api-client 0.1.19 → 0.1.20
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 +6 -0
- package/README.md +14 -4
- package/api.ts +353 -11
- package/dist/api.d.ts +196 -10
- package/dist/api.js +273 -9
- package/dist/esm/api.d.ts +196 -10
- package/dist/esm/api.js +273 -9
- package/docs/PassportAuthEnterpriseBindEmailRequest.md +24 -0
- package/docs/PassportAuthEnterpriseBindEmailResponse.md +22 -0
- package/docs/PassportAuthEnterpriseBindPhoneRequest.md +22 -0
- package/docs/PassportAuthEnterpriseBindPhoneResponse.md +22 -0
- package/docs/PassportAuthEnterpriseChangeEmailRequest.md +24 -0
- package/docs/PassportAuthEnterpriseChangeEmailResponse.md +22 -0
- package/docs/PassportAuthEnterpriseServiceApi.md +214 -2
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -482,6 +482,32 @@ export interface PassportAuthDeleteAllResponse {
|
|
|
482
482
|
'code'?: string;
|
|
483
483
|
'message'?: string;
|
|
484
484
|
}
|
|
485
|
+
export interface PassportAuthEnterpriseBindEmailRequest {
|
|
486
|
+
'email'?: string;
|
|
487
|
+
'verify_code'?: string;
|
|
488
|
+
'callback_url'?: string;
|
|
489
|
+
}
|
|
490
|
+
export interface PassportAuthEnterpriseBindEmailResponse {
|
|
491
|
+
'code'?: string;
|
|
492
|
+
'message'?: string;
|
|
493
|
+
}
|
|
494
|
+
export interface PassportAuthEnterpriseBindPhoneRequest {
|
|
495
|
+
'phone'?: string;
|
|
496
|
+
'verify_code'?: string;
|
|
497
|
+
}
|
|
498
|
+
export interface PassportAuthEnterpriseBindPhoneResponse {
|
|
499
|
+
'code'?: string;
|
|
500
|
+
'message'?: string;
|
|
501
|
+
}
|
|
502
|
+
export interface PassportAuthEnterpriseChangeEmailRequest {
|
|
503
|
+
'email'?: string;
|
|
504
|
+
'verify_code'?: string;
|
|
505
|
+
'callback_url'?: string;
|
|
506
|
+
}
|
|
507
|
+
export interface PassportAuthEnterpriseChangeEmailResponse {
|
|
508
|
+
'code'?: string;
|
|
509
|
+
'message'?: string;
|
|
510
|
+
}
|
|
485
511
|
export interface PassportAuthEnterpriseChangePasswordRequest {
|
|
486
512
|
'new_password'?: string;
|
|
487
513
|
'current_password'?: string;
|
|
@@ -2283,6 +2309,30 @@ export declare class PassportAuthEnterpriseRPCServiceApi extends BaseAPI impleme
|
|
|
2283
2309
|
* PassportAuthEnterpriseServiceApi - axios parameter creator
|
|
2284
2310
|
*/
|
|
2285
2311
|
export declare const PassportAuthEnterpriseServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2312
|
+
/**
|
|
2313
|
+
*
|
|
2314
|
+
* @summary 已登录用户绑定邮箱(未绑定邮箱的用户使用)
|
|
2315
|
+
* @param {PassportAuthEnterpriseBindEmailRequest} body
|
|
2316
|
+
* @param {*} [options] Override http request option.
|
|
2317
|
+
* @throws {RequiredError}
|
|
2318
|
+
*/
|
|
2319
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindEmail: (body: PassportAuthEnterpriseBindEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2320
|
+
/**
|
|
2321
|
+
*
|
|
2322
|
+
* @summary 已登录用户绑定手机号
|
|
2323
|
+
* @param {PassportAuthEnterpriseBindPhoneRequest} body
|
|
2324
|
+
* @param {*} [options] Override http request option.
|
|
2325
|
+
* @throws {RequiredError}
|
|
2326
|
+
*/
|
|
2327
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindPhone: (body: PassportAuthEnterpriseBindPhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2328
|
+
/**
|
|
2329
|
+
*
|
|
2330
|
+
* @summary 已登录用户修改登录邮箱(已绑定邮箱的用户使用)
|
|
2331
|
+
* @param {PassportAuthEnterpriseChangeEmailRequest} body
|
|
2332
|
+
* @param {*} [options] Override http request option.
|
|
2333
|
+
* @throws {RequiredError}
|
|
2334
|
+
*/
|
|
2335
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangeEmail: (body: PassportAuthEnterpriseChangeEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2286
2336
|
/**
|
|
2287
2337
|
*
|
|
2288
2338
|
* @summary 已登录用户修改密码
|
|
@@ -2418,7 +2468,7 @@ export declare const PassportAuthEnterpriseServiceApiAxiosParamCreator: (configu
|
|
|
2418
2468
|
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo: (body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2419
2469
|
/**
|
|
2420
2470
|
*
|
|
2421
|
-
* @summary 已登录用户验证邮箱
|
|
2471
|
+
* @summary 已登录用户验证邮箱(不用于登录,而是作为企业认证材料的一部分)
|
|
2422
2472
|
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
2423
2473
|
* @param {*} [options] Override http request option.
|
|
2424
2474
|
* @throws {RequiredError}
|
|
@@ -2426,13 +2476,21 @@ export declare const PassportAuthEnterpriseServiceApiAxiosParamCreator: (configu
|
|
|
2426
2476
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail: (body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2427
2477
|
/**
|
|
2428
2478
|
*
|
|
2429
|
-
* @summary 已登录用户验证手机号
|
|
2479
|
+
* @summary 已登录用户验证手机号(不用于登录,而是作为企业认证材料的一部分)
|
|
2430
2480
|
* @param {string} [phone]
|
|
2431
2481
|
* @param {string} [verifyCode]
|
|
2432
2482
|
* @param {*} [options] Override http request option.
|
|
2433
2483
|
* @throws {RequiredError}
|
|
2434
2484
|
*/
|
|
2435
2485
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone: (phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2486
|
+
/**
|
|
2487
|
+
*
|
|
2488
|
+
* @summary 请求重置密码
|
|
2489
|
+
* @param {PassportEnterprisePasswordResetRequest} body
|
|
2490
|
+
* @param {*} [options] Override http request option.
|
|
2491
|
+
* @throws {RequiredError}
|
|
2492
|
+
*/
|
|
2493
|
+
passportAuthEnterpriseServicePassportEnterprisePasswordReset: (body: PassportEnterprisePasswordResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2436
2494
|
/**
|
|
2437
2495
|
*
|
|
2438
2496
|
* @summary 登录/注册流程中发送验证码
|
|
@@ -2478,6 +2536,30 @@ export declare const PassportAuthEnterpriseServiceApiAxiosParamCreator: (configu
|
|
|
2478
2536
|
* PassportAuthEnterpriseServiceApi - functional programming interface
|
|
2479
2537
|
*/
|
|
2480
2538
|
export declare const PassportAuthEnterpriseServiceApiFp: (configuration?: Configuration) => {
|
|
2539
|
+
/**
|
|
2540
|
+
*
|
|
2541
|
+
* @summary 已登录用户绑定邮箱(未绑定邮箱的用户使用)
|
|
2542
|
+
* @param {PassportAuthEnterpriseBindEmailRequest} body
|
|
2543
|
+
* @param {*} [options] Override http request option.
|
|
2544
|
+
* @throws {RequiredError}
|
|
2545
|
+
*/
|
|
2546
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindEmail(body: PassportAuthEnterpriseBindEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseBindEmailResponse>>;
|
|
2547
|
+
/**
|
|
2548
|
+
*
|
|
2549
|
+
* @summary 已登录用户绑定手机号
|
|
2550
|
+
* @param {PassportAuthEnterpriseBindPhoneRequest} body
|
|
2551
|
+
* @param {*} [options] Override http request option.
|
|
2552
|
+
* @throws {RequiredError}
|
|
2553
|
+
*/
|
|
2554
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindPhone(body: PassportAuthEnterpriseBindPhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseBindPhoneResponse>>;
|
|
2555
|
+
/**
|
|
2556
|
+
*
|
|
2557
|
+
* @summary 已登录用户修改登录邮箱(已绑定邮箱的用户使用)
|
|
2558
|
+
* @param {PassportAuthEnterpriseChangeEmailRequest} body
|
|
2559
|
+
* @param {*} [options] Override http request option.
|
|
2560
|
+
* @throws {RequiredError}
|
|
2561
|
+
*/
|
|
2562
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangeEmail(body: PassportAuthEnterpriseChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseChangeEmailResponse>>;
|
|
2481
2563
|
/**
|
|
2482
2564
|
*
|
|
2483
2565
|
* @summary 已登录用户修改密码
|
|
@@ -2613,7 +2695,7 @@ export declare const PassportAuthEnterpriseServiceApiFp: (configuration?: Config
|
|
|
2613
2695
|
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseUpdateInfoResponse>>;
|
|
2614
2696
|
/**
|
|
2615
2697
|
*
|
|
2616
|
-
* @summary 已登录用户验证邮箱
|
|
2698
|
+
* @summary 已登录用户验证邮箱(不用于登录,而是作为企业认证材料的一部分)
|
|
2617
2699
|
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
2618
2700
|
* @param {*} [options] Override http request option.
|
|
2619
2701
|
* @throws {RequiredError}
|
|
@@ -2621,13 +2703,21 @@ export declare const PassportAuthEnterpriseServiceApiFp: (configuration?: Config
|
|
|
2621
2703
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseVerifyEmailResponse>>;
|
|
2622
2704
|
/**
|
|
2623
2705
|
*
|
|
2624
|
-
* @summary 已登录用户验证手机号
|
|
2706
|
+
* @summary 已登录用户验证手机号(不用于登录,而是作为企业认证材料的一部分)
|
|
2625
2707
|
* @param {string} [phone]
|
|
2626
2708
|
* @param {string} [verifyCode]
|
|
2627
2709
|
* @param {*} [options] Override http request option.
|
|
2628
2710
|
* @throws {RequiredError}
|
|
2629
2711
|
*/
|
|
2630
2712
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone(phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseVerifyPhoneResponse>>;
|
|
2713
|
+
/**
|
|
2714
|
+
*
|
|
2715
|
+
* @summary 请求重置密码
|
|
2716
|
+
* @param {PassportEnterprisePasswordResetRequest} body
|
|
2717
|
+
* @param {*} [options] Override http request option.
|
|
2718
|
+
* @throws {RequiredError}
|
|
2719
|
+
*/
|
|
2720
|
+
passportAuthEnterpriseServicePassportEnterprisePasswordReset(body: PassportEnterprisePasswordResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportEnterprisePasswordResetResponse>>;
|
|
2631
2721
|
/**
|
|
2632
2722
|
*
|
|
2633
2723
|
* @summary 登录/注册流程中发送验证码
|
|
@@ -2673,6 +2763,30 @@ export declare const PassportAuthEnterpriseServiceApiFp: (configuration?: Config
|
|
|
2673
2763
|
* PassportAuthEnterpriseServiceApi - factory interface
|
|
2674
2764
|
*/
|
|
2675
2765
|
export declare const PassportAuthEnterpriseServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2766
|
+
/**
|
|
2767
|
+
*
|
|
2768
|
+
* @summary 已登录用户绑定邮箱(未绑定邮箱的用户使用)
|
|
2769
|
+
* @param {PassportAuthEnterpriseBindEmailRequest} body
|
|
2770
|
+
* @param {*} [options] Override http request option.
|
|
2771
|
+
* @throws {RequiredError}
|
|
2772
|
+
*/
|
|
2773
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindEmail(body: PassportAuthEnterpriseBindEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseBindEmailResponse>;
|
|
2774
|
+
/**
|
|
2775
|
+
*
|
|
2776
|
+
* @summary 已登录用户绑定手机号
|
|
2777
|
+
* @param {PassportAuthEnterpriseBindPhoneRequest} body
|
|
2778
|
+
* @param {*} [options] Override http request option.
|
|
2779
|
+
* @throws {RequiredError}
|
|
2780
|
+
*/
|
|
2781
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindPhone(body: PassportAuthEnterpriseBindPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseBindPhoneResponse>;
|
|
2782
|
+
/**
|
|
2783
|
+
*
|
|
2784
|
+
* @summary 已登录用户修改登录邮箱(已绑定邮箱的用户使用)
|
|
2785
|
+
* @param {PassportAuthEnterpriseChangeEmailRequest} body
|
|
2786
|
+
* @param {*} [options] Override http request option.
|
|
2787
|
+
* @throws {RequiredError}
|
|
2788
|
+
*/
|
|
2789
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangeEmail(body: PassportAuthEnterpriseChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseChangeEmailResponse>;
|
|
2676
2790
|
/**
|
|
2677
2791
|
*
|
|
2678
2792
|
* @summary 已登录用户修改密码
|
|
@@ -2808,7 +2922,7 @@ export declare const PassportAuthEnterpriseServiceApiFactory: (configuration?: C
|
|
|
2808
2922
|
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseUpdateInfoResponse>;
|
|
2809
2923
|
/**
|
|
2810
2924
|
*
|
|
2811
|
-
* @summary 已登录用户验证邮箱
|
|
2925
|
+
* @summary 已登录用户验证邮箱(不用于登录,而是作为企业认证材料的一部分)
|
|
2812
2926
|
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
2813
2927
|
* @param {*} [options] Override http request option.
|
|
2814
2928
|
* @throws {RequiredError}
|
|
@@ -2816,13 +2930,21 @@ export declare const PassportAuthEnterpriseServiceApiFactory: (configuration?: C
|
|
|
2816
2930
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseVerifyEmailResponse>;
|
|
2817
2931
|
/**
|
|
2818
2932
|
*
|
|
2819
|
-
* @summary 已登录用户验证手机号
|
|
2933
|
+
* @summary 已登录用户验证手机号(不用于登录,而是作为企业认证材料的一部分)
|
|
2820
2934
|
* @param {string} [phone]
|
|
2821
2935
|
* @param {string} [verifyCode]
|
|
2822
2936
|
* @param {*} [options] Override http request option.
|
|
2823
2937
|
* @throws {RequiredError}
|
|
2824
2938
|
*/
|
|
2825
2939
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone(phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseVerifyPhoneResponse>;
|
|
2940
|
+
/**
|
|
2941
|
+
*
|
|
2942
|
+
* @summary 请求重置密码
|
|
2943
|
+
* @param {PassportEnterprisePasswordResetRequest} body
|
|
2944
|
+
* @param {*} [options] Override http request option.
|
|
2945
|
+
* @throws {RequiredError}
|
|
2946
|
+
*/
|
|
2947
|
+
passportAuthEnterpriseServicePassportEnterprisePasswordReset(body: PassportEnterprisePasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterprisePasswordResetResponse>;
|
|
2826
2948
|
/**
|
|
2827
2949
|
*
|
|
2828
2950
|
* @summary 登录/注册流程中发送验证码
|
|
@@ -2868,6 +2990,30 @@ export declare const PassportAuthEnterpriseServiceApiFactory: (configuration?: C
|
|
|
2868
2990
|
* PassportAuthEnterpriseServiceApi - interface
|
|
2869
2991
|
*/
|
|
2870
2992
|
export interface PassportAuthEnterpriseServiceApiInterface {
|
|
2993
|
+
/**
|
|
2994
|
+
*
|
|
2995
|
+
* @summary 已登录用户绑定邮箱(未绑定邮箱的用户使用)
|
|
2996
|
+
* @param {PassportAuthEnterpriseBindEmailRequest} body
|
|
2997
|
+
* @param {*} [options] Override http request option.
|
|
2998
|
+
* @throws {RequiredError}
|
|
2999
|
+
*/
|
|
3000
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindEmail(body: PassportAuthEnterpriseBindEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseBindEmailResponse>;
|
|
3001
|
+
/**
|
|
3002
|
+
*
|
|
3003
|
+
* @summary 已登录用户绑定手机号
|
|
3004
|
+
* @param {PassportAuthEnterpriseBindPhoneRequest} body
|
|
3005
|
+
* @param {*} [options] Override http request option.
|
|
3006
|
+
* @throws {RequiredError}
|
|
3007
|
+
*/
|
|
3008
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindPhone(body: PassportAuthEnterpriseBindPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseBindPhoneResponse>;
|
|
3009
|
+
/**
|
|
3010
|
+
*
|
|
3011
|
+
* @summary 已登录用户修改登录邮箱(已绑定邮箱的用户使用)
|
|
3012
|
+
* @param {PassportAuthEnterpriseChangeEmailRequest} body
|
|
3013
|
+
* @param {*} [options] Override http request option.
|
|
3014
|
+
* @throws {RequiredError}
|
|
3015
|
+
*/
|
|
3016
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangeEmail(body: PassportAuthEnterpriseChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseChangeEmailResponse>;
|
|
2871
3017
|
/**
|
|
2872
3018
|
*
|
|
2873
3019
|
* @summary 已登录用户修改密码
|
|
@@ -3003,7 +3149,7 @@ export interface PassportAuthEnterpriseServiceApiInterface {
|
|
|
3003
3149
|
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseUpdateInfoResponse>;
|
|
3004
3150
|
/**
|
|
3005
3151
|
*
|
|
3006
|
-
* @summary 已登录用户验证邮箱
|
|
3152
|
+
* @summary 已登录用户验证邮箱(不用于登录,而是作为企业认证材料的一部分)
|
|
3007
3153
|
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
3008
3154
|
* @param {*} [options] Override http request option.
|
|
3009
3155
|
* @throws {RequiredError}
|
|
@@ -3011,13 +3157,21 @@ export interface PassportAuthEnterpriseServiceApiInterface {
|
|
|
3011
3157
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseVerifyEmailResponse>;
|
|
3012
3158
|
/**
|
|
3013
3159
|
*
|
|
3014
|
-
* @summary 已登录用户验证手机号
|
|
3160
|
+
* @summary 已登录用户验证手机号(不用于登录,而是作为企业认证材料的一部分)
|
|
3015
3161
|
* @param {string} [phone]
|
|
3016
3162
|
* @param {string} [verifyCode]
|
|
3017
3163
|
* @param {*} [options] Override http request option.
|
|
3018
3164
|
* @throws {RequiredError}
|
|
3019
3165
|
*/
|
|
3020
3166
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone(phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseVerifyPhoneResponse>;
|
|
3167
|
+
/**
|
|
3168
|
+
*
|
|
3169
|
+
* @summary 请求重置密码
|
|
3170
|
+
* @param {PassportEnterprisePasswordResetRequest} body
|
|
3171
|
+
* @param {*} [options] Override http request option.
|
|
3172
|
+
* @throws {RequiredError}
|
|
3173
|
+
*/
|
|
3174
|
+
passportAuthEnterpriseServicePassportEnterprisePasswordReset(body: PassportEnterprisePasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterprisePasswordResetResponse>;
|
|
3021
3175
|
/**
|
|
3022
3176
|
*
|
|
3023
3177
|
* @summary 登录/注册流程中发送验证码
|
|
@@ -3063,6 +3217,30 @@ export interface PassportAuthEnterpriseServiceApiInterface {
|
|
|
3063
3217
|
* PassportAuthEnterpriseServiceApi - object-oriented interface
|
|
3064
3218
|
*/
|
|
3065
3219
|
export declare class PassportAuthEnterpriseServiceApi extends BaseAPI implements PassportAuthEnterpriseServiceApiInterface {
|
|
3220
|
+
/**
|
|
3221
|
+
*
|
|
3222
|
+
* @summary 已登录用户绑定邮箱(未绑定邮箱的用户使用)
|
|
3223
|
+
* @param {PassportAuthEnterpriseBindEmailRequest} body
|
|
3224
|
+
* @param {*} [options] Override http request option.
|
|
3225
|
+
* @throws {RequiredError}
|
|
3226
|
+
*/
|
|
3227
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindEmail(body: PassportAuthEnterpriseBindEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseBindEmailResponse, any, {}>>;
|
|
3228
|
+
/**
|
|
3229
|
+
*
|
|
3230
|
+
* @summary 已登录用户绑定手机号
|
|
3231
|
+
* @param {PassportAuthEnterpriseBindPhoneRequest} body
|
|
3232
|
+
* @param {*} [options] Override http request option.
|
|
3233
|
+
* @throws {RequiredError}
|
|
3234
|
+
*/
|
|
3235
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseBindPhone(body: PassportAuthEnterpriseBindPhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseBindPhoneResponse, any, {}>>;
|
|
3236
|
+
/**
|
|
3237
|
+
*
|
|
3238
|
+
* @summary 已登录用户修改登录邮箱(已绑定邮箱的用户使用)
|
|
3239
|
+
* @param {PassportAuthEnterpriseChangeEmailRequest} body
|
|
3240
|
+
* @param {*} [options] Override http request option.
|
|
3241
|
+
* @throws {RequiredError}
|
|
3242
|
+
*/
|
|
3243
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangeEmail(body: PassportAuthEnterpriseChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseChangeEmailResponse, any, {}>>;
|
|
3066
3244
|
/**
|
|
3067
3245
|
*
|
|
3068
3246
|
* @summary 已登录用户修改密码
|
|
@@ -3198,7 +3376,7 @@ export declare class PassportAuthEnterpriseServiceApi extends BaseAPI implements
|
|
|
3198
3376
|
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseUpdateInfoResponse, any, {}>>;
|
|
3199
3377
|
/**
|
|
3200
3378
|
*
|
|
3201
|
-
* @summary 已登录用户验证邮箱
|
|
3379
|
+
* @summary 已登录用户验证邮箱(不用于登录,而是作为企业认证材料的一部分)
|
|
3202
3380
|
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
3203
3381
|
* @param {*} [options] Override http request option.
|
|
3204
3382
|
* @throws {RequiredError}
|
|
@@ -3206,13 +3384,21 @@ export declare class PassportAuthEnterpriseServiceApi extends BaseAPI implements
|
|
|
3206
3384
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseVerifyEmailResponse, any, {}>>;
|
|
3207
3385
|
/**
|
|
3208
3386
|
*
|
|
3209
|
-
* @summary 已登录用户验证手机号
|
|
3387
|
+
* @summary 已登录用户验证手机号(不用于登录,而是作为企业认证材料的一部分)
|
|
3210
3388
|
* @param {string} [phone]
|
|
3211
3389
|
* @param {string} [verifyCode]
|
|
3212
3390
|
* @param {*} [options] Override http request option.
|
|
3213
3391
|
* @throws {RequiredError}
|
|
3214
3392
|
*/
|
|
3215
3393
|
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone(phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseVerifyPhoneResponse, any, {}>>;
|
|
3394
|
+
/**
|
|
3395
|
+
*
|
|
3396
|
+
* @summary 请求重置密码
|
|
3397
|
+
* @param {PassportEnterprisePasswordResetRequest} body
|
|
3398
|
+
* @param {*} [options] Override http request option.
|
|
3399
|
+
* @throws {RequiredError}
|
|
3400
|
+
*/
|
|
3401
|
+
passportAuthEnterpriseServicePassportEnterprisePasswordReset(body: PassportEnterprisePasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportEnterprisePasswordResetResponse, any, {}>>;
|
|
3216
3402
|
/**
|
|
3217
3403
|
*
|
|
3218
3404
|
* @summary 登录/注册流程中发送验证码
|