@cherryin/passport-api-client 0.1.7 → 0.1.9
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 +13 -2
- package/README.md +18 -5
- package/api.ts +267 -41
- package/dist/api.d.ts +185 -35
- package/dist/api.js +154 -22
- package/dist/esm/api.d.ts +185 -35
- package/dist/esm/api.js +154 -22
- package/docs/AuthEnterpriseMaterials.md +5 -1
- package/docs/EnterpriseOCRBusinessLicense.md +48 -0
- package/docs/EnterpriseOCRBusinessLicenseWarning.md +22 -0
- package/docs/EnterpriseOCRPersonIDCard.md +24 -0
- package/docs/EnterpriseOCRPersonIDCardBack.md +22 -0
- package/docs/EnterpriseOCRPersonIDCardFace.md +30 -0
- package/docs/EnterpriseOCRPersonIDCardWarning.md +28 -0
- package/docs/PassportAuthEnterpriseMaterialBizLicenseRequest.md +22 -0
- package/docs/PassportAuthEnterpriseMaterialBizLicenseResponse.md +26 -0
- package/docs/PassportAuthEnterpriseMaterialIDCardRequest.md +24 -0
- package/docs/PassportAuthEnterpriseMaterialIDCardResponse.md +26 -0
- package/docs/PassportAuthEnterpriseMaterialVerifyRequest.md +20 -0
- package/docs/{PassportAuthEnterpriseMaterialUploadResponse.md → PassportAuthEnterpriseMaterialVerifyResponse.md} +3 -3
- package/docs/PassportAuthEnterpriseMaterialVerifyStateRequest.md +20 -0
- package/docs/PassportAuthEnterpriseServiceApi.md +118 -11
- package/docs/PassportAuthEnterpriseUpdateInfoResponse.md +1 -1
- package/package.json +1 -1
- package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +0 -26
package/.openapi-generator/FILES
CHANGED
|
@@ -23,6 +23,12 @@ docs/AuthPassport.md
|
|
|
23
23
|
docs/AuthUser.md
|
|
24
24
|
docs/AuthUserMethod.md
|
|
25
25
|
docs/AuthUserSession.md
|
|
26
|
+
docs/EnterpriseOCRBusinessLicense.md
|
|
27
|
+
docs/EnterpriseOCRBusinessLicenseWarning.md
|
|
28
|
+
docs/EnterpriseOCRPersonIDCard.md
|
|
29
|
+
docs/EnterpriseOCRPersonIDCardBack.md
|
|
30
|
+
docs/EnterpriseOCRPersonIDCardFace.md
|
|
31
|
+
docs/EnterpriseOCRPersonIDCardWarning.md
|
|
26
32
|
docs/GeeTestAuthCaptcha.md
|
|
27
33
|
docs/PassportAdminPasswordForgetRequest.md
|
|
28
34
|
docs/PassportAdminPasswordForgetResponse.md
|
|
@@ -82,8 +88,13 @@ docs/PassportAuthEnterpriseDeleteResponse.md
|
|
|
82
88
|
docs/PassportAuthEnterpriseGetSessionResponse.md
|
|
83
89
|
docs/PassportAuthEnterpriseInfoGetResponse.md
|
|
84
90
|
docs/PassportAuthEnterpriseListSessionsResponse.md
|
|
85
|
-
docs/
|
|
86
|
-
docs/
|
|
91
|
+
docs/PassportAuthEnterpriseMaterialBizLicenseRequest.md
|
|
92
|
+
docs/PassportAuthEnterpriseMaterialBizLicenseResponse.md
|
|
93
|
+
docs/PassportAuthEnterpriseMaterialIDCardRequest.md
|
|
94
|
+
docs/PassportAuthEnterpriseMaterialIDCardResponse.md
|
|
95
|
+
docs/PassportAuthEnterpriseMaterialVerifyRequest.md
|
|
96
|
+
docs/PassportAuthEnterpriseMaterialVerifyResponse.md
|
|
97
|
+
docs/PassportAuthEnterpriseMaterialVerifyStateRequest.md
|
|
87
98
|
docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md
|
|
88
99
|
docs/PassportAuthEnterpriseRPCServiceApi.md
|
|
89
100
|
docs/PassportAuthEnterpriseRefreshTokenRequest.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @cherryin/passport-api-client@0.1.
|
|
1
|
+
## @cherryin/passport-api-client@0.1.9
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cherryin/passport-api-client@0.1.
|
|
39
|
+
npm install @cherryin/passport-api-client@0.1.9 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -83,7 +83,9 @@ Class | Method | HTTP request | Description
|
|
|
83
83
|
*PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseGetSession**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterprisegetsession) | **GET** /passport/enterprise/authed/v1/session/get | 获取当前会话信息
|
|
84
84
|
*PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriseinfoget) | **GET** /passport/enterprise/authed/v1/user/info | 获取用户信息
|
|
85
85
|
*PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseListSessions**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriselistsessions) | **GET** /passport/enterprise/authed/v1/sessions/list | 获取当前用户的所有会话列表
|
|
86
|
-
*PassportAuthEnterpriseServiceApi* | [**
|
|
86
|
+
*PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterprisematerialbizlicense) | **POST** /passport/enterprise/authed/v1/materials/upload/biz-license | 上传企业营业执照
|
|
87
|
+
*PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterprisematerialidcard) | **POST** /passport/enterprise/authed/v1/materials/upload/id-card | 上传法定代表人身份证
|
|
88
|
+
*PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterprisematerialverify) | **POST** /passport/enterprise/authed/v1/materials/verify | 提交企业认证材料审核
|
|
87
89
|
*PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterprisematerialverifystate) | **POST** /passport/enterprise/authed/v1/materials/verified-state | 获取企业认证材料审核状态
|
|
88
90
|
*PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriserefreshtoken) | **POST** /passport/enterprise/authed/v1/session/refresh-token | 会话 token 刷新
|
|
89
91
|
*PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriseresetpassword) | **POST** /passport/enterprise/authed/v1/password/request-reset | 已登录用户重置密码
|
|
@@ -161,6 +163,12 @@ Class | Method | HTTP request | Description
|
|
|
161
163
|
- [AuthUser](docs/AuthUser.md)
|
|
162
164
|
- [AuthUserMethod](docs/AuthUserMethod.md)
|
|
163
165
|
- [AuthUserSession](docs/AuthUserSession.md)
|
|
166
|
+
- [EnterpriseOCRBusinessLicense](docs/EnterpriseOCRBusinessLicense.md)
|
|
167
|
+
- [EnterpriseOCRBusinessLicenseWarning](docs/EnterpriseOCRBusinessLicenseWarning.md)
|
|
168
|
+
- [EnterpriseOCRPersonIDCard](docs/EnterpriseOCRPersonIDCard.md)
|
|
169
|
+
- [EnterpriseOCRPersonIDCardBack](docs/EnterpriseOCRPersonIDCardBack.md)
|
|
170
|
+
- [EnterpriseOCRPersonIDCardFace](docs/EnterpriseOCRPersonIDCardFace.md)
|
|
171
|
+
- [EnterpriseOCRPersonIDCardWarning](docs/EnterpriseOCRPersonIDCardWarning.md)
|
|
164
172
|
- [GeeTestAuthCaptcha](docs/GeeTestAuthCaptcha.md)
|
|
165
173
|
- [PassportAdminPasswordForgetRequest](docs/PassportAdminPasswordForgetRequest.md)
|
|
166
174
|
- [PassportAdminPasswordForgetResponse](docs/PassportAdminPasswordForgetResponse.md)
|
|
@@ -218,8 +226,13 @@ Class | Method | HTTP request | Description
|
|
|
218
226
|
- [PassportAuthEnterpriseGetSessionResponse](docs/PassportAuthEnterpriseGetSessionResponse.md)
|
|
219
227
|
- [PassportAuthEnterpriseInfoGetResponse](docs/PassportAuthEnterpriseInfoGetResponse.md)
|
|
220
228
|
- [PassportAuthEnterpriseListSessionsResponse](docs/PassportAuthEnterpriseListSessionsResponse.md)
|
|
221
|
-
- [
|
|
222
|
-
- [
|
|
229
|
+
- [PassportAuthEnterpriseMaterialBizLicenseRequest](docs/PassportAuthEnterpriseMaterialBizLicenseRequest.md)
|
|
230
|
+
- [PassportAuthEnterpriseMaterialBizLicenseResponse](docs/PassportAuthEnterpriseMaterialBizLicenseResponse.md)
|
|
231
|
+
- [PassportAuthEnterpriseMaterialIDCardRequest](docs/PassportAuthEnterpriseMaterialIDCardRequest.md)
|
|
232
|
+
- [PassportAuthEnterpriseMaterialIDCardResponse](docs/PassportAuthEnterpriseMaterialIDCardResponse.md)
|
|
233
|
+
- [PassportAuthEnterpriseMaterialVerifyRequest](docs/PassportAuthEnterpriseMaterialVerifyRequest.md)
|
|
234
|
+
- [PassportAuthEnterpriseMaterialVerifyResponse](docs/PassportAuthEnterpriseMaterialVerifyResponse.md)
|
|
235
|
+
- [PassportAuthEnterpriseMaterialVerifyStateRequest](docs/PassportAuthEnterpriseMaterialVerifyStateRequest.md)
|
|
223
236
|
- [PassportAuthEnterpriseMaterialVerifyStateResponse](docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md)
|
|
224
237
|
- [PassportAuthEnterpriseRefreshTokenRequest](docs/PassportAuthEnterpriseRefreshTokenRequest.md)
|
|
225
238
|
- [PassportAuthEnterpriseRefreshTokenResponse](docs/PassportAuthEnterpriseRefreshTokenResponse.md)
|
package/api.ts
CHANGED
|
@@ -102,10 +102,9 @@ export interface AuthEnterpriseMaterials {
|
|
|
102
102
|
* EnterpriseMaterials.LegalPersonIDNumber
|
|
103
103
|
*/
|
|
104
104
|
'legal_person_id_number'?: string;
|
|
105
|
-
/**
|
|
106
|
-
* EnterpriseMaterials.ReviewStatus
|
|
107
|
-
*/
|
|
108
105
|
'review_status'?: number;
|
|
106
|
+
'business_license'?: EnterpriseOCRBusinessLicense;
|
|
107
|
+
'id_card'?: EnterpriseOCRPersonIDCard;
|
|
109
108
|
}
|
|
110
109
|
export interface AuthEnterpriseSession {
|
|
111
110
|
'session_token'?: string;
|
|
@@ -183,6 +182,54 @@ export interface AuthUserSession {
|
|
|
183
182
|
'ip'?: string;
|
|
184
183
|
'user_agent'?: string;
|
|
185
184
|
}
|
|
185
|
+
export interface EnterpriseOCRBusinessLicense {
|
|
186
|
+
'credit_code'?: string;
|
|
187
|
+
'company_name'?: string;
|
|
188
|
+
'company_type'?: string;
|
|
189
|
+
'business_address'?: string;
|
|
190
|
+
'legal_person'?: string;
|
|
191
|
+
'business_scope'?: string;
|
|
192
|
+
'registered_capital'?: string;
|
|
193
|
+
'registration_date'?: string;
|
|
194
|
+
'valid_period'?: string;
|
|
195
|
+
'valid_from_date'?: string;
|
|
196
|
+
'valid_to_date'?: string;
|
|
197
|
+
'company_form'?: string;
|
|
198
|
+
'issue_date'?: string;
|
|
199
|
+
'title'?: string;
|
|
200
|
+
'warning'?: EnterpriseOCRBusinessLicenseWarning;
|
|
201
|
+
}
|
|
202
|
+
export interface EnterpriseOCRBusinessLicenseWarning {
|
|
203
|
+
'is_copy'?: number;
|
|
204
|
+
/**
|
|
205
|
+
* 字段置信度
|
|
206
|
+
*/
|
|
207
|
+
'value_probs'?: { [key: string]: number; };
|
|
208
|
+
}
|
|
209
|
+
export interface EnterpriseOCRPersonIDCard {
|
|
210
|
+
'face'?: EnterpriseOCRPersonIDCardFace;
|
|
211
|
+
'back'?: EnterpriseOCRPersonIDCardBack;
|
|
212
|
+
'warning'?: EnterpriseOCRPersonIDCardWarning;
|
|
213
|
+
}
|
|
214
|
+
export interface EnterpriseOCRPersonIDCardBack {
|
|
215
|
+
'issue_authority'?: string;
|
|
216
|
+
'valid_period'?: string;
|
|
217
|
+
}
|
|
218
|
+
export interface EnterpriseOCRPersonIDCardFace {
|
|
219
|
+
'name'?: string;
|
|
220
|
+
'sex'?: string;
|
|
221
|
+
'ethnicity'?: string;
|
|
222
|
+
'birth_date'?: string;
|
|
223
|
+
'address'?: string;
|
|
224
|
+
'id_number'?: string;
|
|
225
|
+
}
|
|
226
|
+
export interface EnterpriseOCRPersonIDCardWarning {
|
|
227
|
+
'is_copy'?: number;
|
|
228
|
+
'is_reshoot'?: number;
|
|
229
|
+
'completeness_score'?: number;
|
|
230
|
+
'quality_score'?: number;
|
|
231
|
+
'tamper_score'?: number;
|
|
232
|
+
}
|
|
186
233
|
export interface GeeTestAuthCaptcha {
|
|
187
234
|
'captcha_id'?: string;
|
|
188
235
|
'lot_number'?: string;
|
|
@@ -483,15 +530,36 @@ export interface PassportAuthEnterpriseListSessionsResponse {
|
|
|
483
530
|
'message'?: string;
|
|
484
531
|
'sessions'?: Array<AuthUserSession>;
|
|
485
532
|
}
|
|
486
|
-
export interface
|
|
487
|
-
'
|
|
488
|
-
'
|
|
489
|
-
'legal_person_name'?: string;
|
|
490
|
-
'legal_person_id_number'?: string;
|
|
533
|
+
export interface PassportAuthEnterpriseMaterialBizLicenseRequest {
|
|
534
|
+
'image_base64'?: string;
|
|
535
|
+
'submission_id'?: string;
|
|
491
536
|
}
|
|
492
|
-
export interface
|
|
537
|
+
export interface PassportAuthEnterpriseMaterialBizLicenseResponse {
|
|
493
538
|
'code'?: string;
|
|
494
539
|
'message'?: string;
|
|
540
|
+
'submission_id'?: string;
|
|
541
|
+
'business_license'?: EnterpriseOCRBusinessLicense;
|
|
542
|
+
}
|
|
543
|
+
export interface PassportAuthEnterpriseMaterialIDCardRequest {
|
|
544
|
+
'image_base64_face'?: string;
|
|
545
|
+
'image_base64_back'?: string;
|
|
546
|
+
'submission_id'?: string;
|
|
547
|
+
}
|
|
548
|
+
export interface PassportAuthEnterpriseMaterialIDCardResponse {
|
|
549
|
+
'code'?: string;
|
|
550
|
+
'message'?: string;
|
|
551
|
+
'submission_id'?: string;
|
|
552
|
+
'id_card'?: EnterpriseOCRPersonIDCard;
|
|
553
|
+
}
|
|
554
|
+
export interface PassportAuthEnterpriseMaterialVerifyRequest {
|
|
555
|
+
'submission_id'?: string;
|
|
556
|
+
}
|
|
557
|
+
export interface PassportAuthEnterpriseMaterialVerifyResponse {
|
|
558
|
+
'code'?: string;
|
|
559
|
+
'message'?: string;
|
|
560
|
+
}
|
|
561
|
+
export interface PassportAuthEnterpriseMaterialVerifyStateRequest {
|
|
562
|
+
'submission_id'?: string;
|
|
495
563
|
}
|
|
496
564
|
export interface PassportAuthEnterpriseMaterialVerifyStateResponse {
|
|
497
565
|
'code'?: string;
|
|
@@ -543,7 +611,7 @@ export interface PassportAuthEnterpriseUpdateInfoRequest {
|
|
|
543
611
|
export interface PassportAuthEnterpriseUpdateInfoResponse {
|
|
544
612
|
'code'?: string;
|
|
545
613
|
'message'?: string;
|
|
546
|
-
'users'?: Array<
|
|
614
|
+
'users'?: Array<AuthEnterpriseUser>;
|
|
547
615
|
}
|
|
548
616
|
export interface PassportAuthEnterpriseVerifyEmailRequest {
|
|
549
617
|
'email'?: string;
|
|
@@ -3476,15 +3544,87 @@ export const PassportAuthEnterpriseServiceApiAxiosParamCreator = function (confi
|
|
|
3476
3544
|
},
|
|
3477
3545
|
/**
|
|
3478
3546
|
*
|
|
3479
|
-
* @summary
|
|
3480
|
-
* @param {
|
|
3547
|
+
* @summary 上传企业营业执照
|
|
3548
|
+
* @param {PassportAuthEnterpriseMaterialBizLicenseRequest} body
|
|
3549
|
+
* @param {*} [options] Override http request option.
|
|
3550
|
+
* @throws {RequiredError}
|
|
3551
|
+
*/
|
|
3552
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense: async (body: PassportAuthEnterpriseMaterialBizLicenseRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3553
|
+
// verify required parameter 'body' is not null or undefined
|
|
3554
|
+
assertParamExists('passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense', 'body', body)
|
|
3555
|
+
const localVarPath = `/passport/enterprise/authed/v1/materials/upload/biz-license`;
|
|
3556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3558
|
+
let baseOptions;
|
|
3559
|
+
if (configuration) {
|
|
3560
|
+
baseOptions = configuration.baseOptions;
|
|
3561
|
+
}
|
|
3562
|
+
|
|
3563
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3564
|
+
const localVarHeaderParameter = {} as any;
|
|
3565
|
+
const localVarQueryParameter = {} as any;
|
|
3566
|
+
|
|
3567
|
+
|
|
3568
|
+
|
|
3569
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3570
|
+
|
|
3571
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3572
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3573
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3574
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
3575
|
+
|
|
3576
|
+
return {
|
|
3577
|
+
url: toPathString(localVarUrlObj),
|
|
3578
|
+
options: localVarRequestOptions,
|
|
3579
|
+
};
|
|
3580
|
+
},
|
|
3581
|
+
/**
|
|
3582
|
+
*
|
|
3583
|
+
* @summary 上传法定代表人身份证
|
|
3584
|
+
* @param {PassportAuthEnterpriseMaterialIDCardRequest} body
|
|
3585
|
+
* @param {*} [options] Override http request option.
|
|
3586
|
+
* @throws {RequiredError}
|
|
3587
|
+
*/
|
|
3588
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard: async (body: PassportAuthEnterpriseMaterialIDCardRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3589
|
+
// verify required parameter 'body' is not null or undefined
|
|
3590
|
+
assertParamExists('passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard', 'body', body)
|
|
3591
|
+
const localVarPath = `/passport/enterprise/authed/v1/materials/upload/id-card`;
|
|
3592
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3593
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3594
|
+
let baseOptions;
|
|
3595
|
+
if (configuration) {
|
|
3596
|
+
baseOptions = configuration.baseOptions;
|
|
3597
|
+
}
|
|
3598
|
+
|
|
3599
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3600
|
+
const localVarHeaderParameter = {} as any;
|
|
3601
|
+
const localVarQueryParameter = {} as any;
|
|
3602
|
+
|
|
3603
|
+
|
|
3604
|
+
|
|
3605
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3606
|
+
|
|
3607
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3608
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3609
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3610
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
3611
|
+
|
|
3612
|
+
return {
|
|
3613
|
+
url: toPathString(localVarUrlObj),
|
|
3614
|
+
options: localVarRequestOptions,
|
|
3615
|
+
};
|
|
3616
|
+
},
|
|
3617
|
+
/**
|
|
3618
|
+
*
|
|
3619
|
+
* @summary 提交企业认证材料审核
|
|
3620
|
+
* @param {PassportAuthEnterpriseMaterialVerifyRequest} body
|
|
3481
3621
|
* @param {*} [options] Override http request option.
|
|
3482
3622
|
* @throws {RequiredError}
|
|
3483
3623
|
*/
|
|
3484
|
-
|
|
3624
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify: async (body: PassportAuthEnterpriseMaterialVerifyRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3485
3625
|
// verify required parameter 'body' is not null or undefined
|
|
3486
|
-
assertParamExists('
|
|
3487
|
-
const localVarPath = `/passport/enterprise/authed/v1/materials/
|
|
3626
|
+
assertParamExists('passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify', 'body', body)
|
|
3627
|
+
const localVarPath = `/passport/enterprise/authed/v1/materials/verify`;
|
|
3488
3628
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3489
3629
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3490
3630
|
let baseOptions;
|
|
@@ -3513,11 +3653,11 @@ export const PassportAuthEnterpriseServiceApiAxiosParamCreator = function (confi
|
|
|
3513
3653
|
/**
|
|
3514
3654
|
*
|
|
3515
3655
|
* @summary 获取企业认证材料审核状态
|
|
3516
|
-
* @param {
|
|
3656
|
+
* @param {PassportAuthEnterpriseMaterialVerifyStateRequest} body
|
|
3517
3657
|
* @param {*} [options] Override http request option.
|
|
3518
3658
|
* @throws {RequiredError}
|
|
3519
3659
|
*/
|
|
3520
|
-
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState: async (body:
|
|
3660
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState: async (body: PassportAuthEnterpriseMaterialVerifyStateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3521
3661
|
// verify required parameter 'body' is not null or undefined
|
|
3522
3662
|
assertParamExists('passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState', 'body', body)
|
|
3523
3663
|
const localVarPath = `/passport/enterprise/authed/v1/materials/verified-state`;
|
|
@@ -4140,25 +4280,51 @@ export const PassportAuthEnterpriseServiceApiFp = function(configuration?: Confi
|
|
|
4140
4280
|
},
|
|
4141
4281
|
/**
|
|
4142
4282
|
*
|
|
4143
|
-
* @summary
|
|
4144
|
-
* @param {
|
|
4283
|
+
* @summary 上传企业营业执照
|
|
4284
|
+
* @param {PassportAuthEnterpriseMaterialBizLicenseRequest} body
|
|
4145
4285
|
* @param {*} [options] Override http request option.
|
|
4146
4286
|
* @throws {RequiredError}
|
|
4147
4287
|
*/
|
|
4148
|
-
async
|
|
4149
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4288
|
+
async passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense(body: PassportAuthEnterpriseMaterialBizLicenseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseMaterialBizLicenseResponse>> {
|
|
4289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense(body, options);
|
|
4150
4290
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4151
|
-
const localVarOperationServerBasePath = operationServerMap['PassportAuthEnterpriseServiceApi.
|
|
4291
|
+
const localVarOperationServerBasePath = operationServerMap['PassportAuthEnterpriseServiceApi.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense']?.[localVarOperationServerIndex]?.url;
|
|
4292
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4293
|
+
},
|
|
4294
|
+
/**
|
|
4295
|
+
*
|
|
4296
|
+
* @summary 上传法定代表人身份证
|
|
4297
|
+
* @param {PassportAuthEnterpriseMaterialIDCardRequest} body
|
|
4298
|
+
* @param {*} [options] Override http request option.
|
|
4299
|
+
* @throws {RequiredError}
|
|
4300
|
+
*/
|
|
4301
|
+
async passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard(body: PassportAuthEnterpriseMaterialIDCardRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseMaterialIDCardResponse>> {
|
|
4302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard(body, options);
|
|
4303
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4304
|
+
const localVarOperationServerBasePath = operationServerMap['PassportAuthEnterpriseServiceApi.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard']?.[localVarOperationServerIndex]?.url;
|
|
4305
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4306
|
+
},
|
|
4307
|
+
/**
|
|
4308
|
+
*
|
|
4309
|
+
* @summary 提交企业认证材料审核
|
|
4310
|
+
* @param {PassportAuthEnterpriseMaterialVerifyRequest} body
|
|
4311
|
+
* @param {*} [options] Override http request option.
|
|
4312
|
+
* @throws {RequiredError}
|
|
4313
|
+
*/
|
|
4314
|
+
async passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify(body: PassportAuthEnterpriseMaterialVerifyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseMaterialVerifyResponse>> {
|
|
4315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify(body, options);
|
|
4316
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4317
|
+
const localVarOperationServerBasePath = operationServerMap['PassportAuthEnterpriseServiceApi.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify']?.[localVarOperationServerIndex]?.url;
|
|
4152
4318
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4153
4319
|
},
|
|
4154
4320
|
/**
|
|
4155
4321
|
*
|
|
4156
4322
|
* @summary 获取企业认证材料审核状态
|
|
4157
|
-
* @param {
|
|
4323
|
+
* @param {PassportAuthEnterpriseMaterialVerifyStateRequest} body
|
|
4158
4324
|
* @param {*} [options] Override http request option.
|
|
4159
4325
|
* @throws {RequiredError}
|
|
4160
4326
|
*/
|
|
4161
|
-
async passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body:
|
|
4327
|
+
async passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body: PassportAuthEnterpriseMaterialVerifyStateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseMaterialVerifyStateResponse>> {
|
|
4162
4328
|
const localVarAxiosArgs = await localVarAxiosParamCreator.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body, options);
|
|
4163
4329
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4164
4330
|
const localVarOperationServerBasePath = operationServerMap['PassportAuthEnterpriseServiceApi.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState']?.[localVarOperationServerIndex]?.url;
|
|
@@ -4415,22 +4581,42 @@ export const PassportAuthEnterpriseServiceApiFactory = function (configuration?:
|
|
|
4415
4581
|
},
|
|
4416
4582
|
/**
|
|
4417
4583
|
*
|
|
4418
|
-
* @summary
|
|
4419
|
-
* @param {
|
|
4584
|
+
* @summary 上传企业营业执照
|
|
4585
|
+
* @param {PassportAuthEnterpriseMaterialBizLicenseRequest} body
|
|
4586
|
+
* @param {*} [options] Override http request option.
|
|
4587
|
+
* @throws {RequiredError}
|
|
4588
|
+
*/
|
|
4589
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense(body: PassportAuthEnterpriseMaterialBizLicenseRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialBizLicenseResponse> {
|
|
4590
|
+
return localVarFp.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense(body, options).then((request) => request(axios, basePath));
|
|
4591
|
+
},
|
|
4592
|
+
/**
|
|
4593
|
+
*
|
|
4594
|
+
* @summary 上传法定代表人身份证
|
|
4595
|
+
* @param {PassportAuthEnterpriseMaterialIDCardRequest} body
|
|
4420
4596
|
* @param {*} [options] Override http request option.
|
|
4421
4597
|
* @throws {RequiredError}
|
|
4422
4598
|
*/
|
|
4423
|
-
|
|
4424
|
-
return localVarFp.
|
|
4599
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard(body: PassportAuthEnterpriseMaterialIDCardRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialIDCardResponse> {
|
|
4600
|
+
return localVarFp.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard(body, options).then((request) => request(axios, basePath));
|
|
4601
|
+
},
|
|
4602
|
+
/**
|
|
4603
|
+
*
|
|
4604
|
+
* @summary 提交企业认证材料审核
|
|
4605
|
+
* @param {PassportAuthEnterpriseMaterialVerifyRequest} body
|
|
4606
|
+
* @param {*} [options] Override http request option.
|
|
4607
|
+
* @throws {RequiredError}
|
|
4608
|
+
*/
|
|
4609
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify(body: PassportAuthEnterpriseMaterialVerifyRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialVerifyResponse> {
|
|
4610
|
+
return localVarFp.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify(body, options).then((request) => request(axios, basePath));
|
|
4425
4611
|
},
|
|
4426
4612
|
/**
|
|
4427
4613
|
*
|
|
4428
4614
|
* @summary 获取企业认证材料审核状态
|
|
4429
|
-
* @param {
|
|
4615
|
+
* @param {PassportAuthEnterpriseMaterialVerifyStateRequest} body
|
|
4430
4616
|
* @param {*} [options] Override http request option.
|
|
4431
4617
|
* @throws {RequiredError}
|
|
4432
4618
|
*/
|
|
4433
|
-
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body:
|
|
4619
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body: PassportAuthEnterpriseMaterialVerifyStateRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialVerifyStateResponse> {
|
|
4434
4620
|
return localVarFp.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body, options).then((request) => request(axios, basePath));
|
|
4435
4621
|
},
|
|
4436
4622
|
/**
|
|
@@ -4634,21 +4820,39 @@ export interface PassportAuthEnterpriseServiceApiInterface {
|
|
|
4634
4820
|
|
|
4635
4821
|
/**
|
|
4636
4822
|
*
|
|
4637
|
-
* @summary
|
|
4638
|
-
* @param {
|
|
4823
|
+
* @summary 上传企业营业执照
|
|
4824
|
+
* @param {PassportAuthEnterpriseMaterialBizLicenseRequest} body
|
|
4825
|
+
* @param {*} [options] Override http request option.
|
|
4826
|
+
* @throws {RequiredError}
|
|
4827
|
+
*/
|
|
4828
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense(body: PassportAuthEnterpriseMaterialBizLicenseRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialBizLicenseResponse>;
|
|
4829
|
+
|
|
4830
|
+
/**
|
|
4831
|
+
*
|
|
4832
|
+
* @summary 上传法定代表人身份证
|
|
4833
|
+
* @param {PassportAuthEnterpriseMaterialIDCardRequest} body
|
|
4639
4834
|
* @param {*} [options] Override http request option.
|
|
4640
4835
|
* @throws {RequiredError}
|
|
4641
4836
|
*/
|
|
4642
|
-
|
|
4837
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard(body: PassportAuthEnterpriseMaterialIDCardRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialIDCardResponse>;
|
|
4838
|
+
|
|
4839
|
+
/**
|
|
4840
|
+
*
|
|
4841
|
+
* @summary 提交企业认证材料审核
|
|
4842
|
+
* @param {PassportAuthEnterpriseMaterialVerifyRequest} body
|
|
4843
|
+
* @param {*} [options] Override http request option.
|
|
4844
|
+
* @throws {RequiredError}
|
|
4845
|
+
*/
|
|
4846
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify(body: PassportAuthEnterpriseMaterialVerifyRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialVerifyResponse>;
|
|
4643
4847
|
|
|
4644
4848
|
/**
|
|
4645
4849
|
*
|
|
4646
4850
|
* @summary 获取企业认证材料审核状态
|
|
4647
|
-
* @param {
|
|
4851
|
+
* @param {PassportAuthEnterpriseMaterialVerifyStateRequest} body
|
|
4648
4852
|
* @param {*} [options] Override http request option.
|
|
4649
4853
|
* @throws {RequiredError}
|
|
4650
4854
|
*/
|
|
4651
|
-
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body:
|
|
4855
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body: PassportAuthEnterpriseMaterialVerifyStateRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialVerifyStateResponse>;
|
|
4652
4856
|
|
|
4653
4857
|
/**
|
|
4654
4858
|
*
|
|
@@ -4848,23 +5052,45 @@ export class PassportAuthEnterpriseServiceApi extends BaseAPI implements Passpor
|
|
|
4848
5052
|
|
|
4849
5053
|
/**
|
|
4850
5054
|
*
|
|
4851
|
-
* @summary
|
|
4852
|
-
* @param {
|
|
5055
|
+
* @summary 上传企业营业执照
|
|
5056
|
+
* @param {PassportAuthEnterpriseMaterialBizLicenseRequest} body
|
|
5057
|
+
* @param {*} [options] Override http request option.
|
|
5058
|
+
* @throws {RequiredError}
|
|
5059
|
+
*/
|
|
5060
|
+
public passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense(body: PassportAuthEnterpriseMaterialBizLicenseRequest, options?: RawAxiosRequestConfig) {
|
|
5061
|
+
return PassportAuthEnterpriseServiceApiFp(this.configuration).passportAuthEnterpriseServicePassportAuthEnterpriseMaterialBizLicense(body, options).then((request) => request(this.axios, this.basePath));
|
|
5062
|
+
}
|
|
5063
|
+
|
|
5064
|
+
/**
|
|
5065
|
+
*
|
|
5066
|
+
* @summary 上传法定代表人身份证
|
|
5067
|
+
* @param {PassportAuthEnterpriseMaterialIDCardRequest} body
|
|
4853
5068
|
* @param {*} [options] Override http request option.
|
|
4854
5069
|
* @throws {RequiredError}
|
|
4855
5070
|
*/
|
|
4856
|
-
public
|
|
4857
|
-
return PassportAuthEnterpriseServiceApiFp(this.configuration).
|
|
5071
|
+
public passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard(body: PassportAuthEnterpriseMaterialIDCardRequest, options?: RawAxiosRequestConfig) {
|
|
5072
|
+
return PassportAuthEnterpriseServiceApiFp(this.configuration).passportAuthEnterpriseServicePassportAuthEnterpriseMaterialIDCard(body, options).then((request) => request(this.axios, this.basePath));
|
|
5073
|
+
}
|
|
5074
|
+
|
|
5075
|
+
/**
|
|
5076
|
+
*
|
|
5077
|
+
* @summary 提交企业认证材料审核
|
|
5078
|
+
* @param {PassportAuthEnterpriseMaterialVerifyRequest} body
|
|
5079
|
+
* @param {*} [options] Override http request option.
|
|
5080
|
+
* @throws {RequiredError}
|
|
5081
|
+
*/
|
|
5082
|
+
public passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify(body: PassportAuthEnterpriseMaterialVerifyRequest, options?: RawAxiosRequestConfig) {
|
|
5083
|
+
return PassportAuthEnterpriseServiceApiFp(this.configuration).passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerify(body, options).then((request) => request(this.axios, this.basePath));
|
|
4858
5084
|
}
|
|
4859
5085
|
|
|
4860
5086
|
/**
|
|
4861
5087
|
*
|
|
4862
5088
|
* @summary 获取企业认证材料审核状态
|
|
4863
|
-
* @param {
|
|
5089
|
+
* @param {PassportAuthEnterpriseMaterialVerifyStateRequest} body
|
|
4864
5090
|
* @param {*} [options] Override http request option.
|
|
4865
5091
|
* @throws {RequiredError}
|
|
4866
5092
|
*/
|
|
4867
|
-
public passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body:
|
|
5093
|
+
public passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body: PassportAuthEnterpriseMaterialVerifyStateRequest, options?: RawAxiosRequestConfig) {
|
|
4868
5094
|
return PassportAuthEnterpriseServiceApiFp(this.configuration).passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body, options).then((request) => request(this.axios, this.basePath));
|
|
4869
5095
|
}
|
|
4870
5096
|
|