@cherryin/passport-api-client 0.1.3 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @cherryin/passport-api-client@0.1.3
1
+ ## @cherryin/passport-api-client@0.1.6
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.3 --save
39
+ npm install @cherryin/passport-api-client@0.1.6 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -184,10 +184,11 @@ export interface AuthUserSession {
184
184
  'user_agent'?: string;
185
185
  }
186
186
  export interface GeeTestAuthCaptcha {
187
- 'lotNumber'?: string;
188
- 'captchaOutput'?: string;
189
- 'passToken'?: string;
190
- 'genTime'?: string;
187
+ 'captcha_id'?: string;
188
+ 'lot_number'?: string;
189
+ 'captcha_output'?: string;
190
+ 'pass_token'?: string;
191
+ 'gen_time'?: string;
191
192
  }
192
193
  export interface PassportAdminPasswordForgetRequest {
193
194
  'email'?: string;
@@ -475,7 +476,7 @@ export interface PassportAuthEnterpriseGetSessionResponse {
475
476
  export interface PassportAuthEnterpriseInfoGetResponse {
476
477
  'code'?: string;
477
478
  'message'?: string;
478
- 'users'?: Array<AuthUser>;
479
+ 'enterprise_users'?: Array<AuthEnterpriseUser>;
479
480
  }
480
481
  export interface PassportAuthEnterpriseListSessionsResponse {
481
482
  'code'?: string;
@@ -483,21 +484,9 @@ export interface PassportAuthEnterpriseListSessionsResponse {
483
484
  'sessions'?: Array<AuthUserSession>;
484
485
  }
485
486
  export interface PassportAuthEnterpriseMaterialUploadRequest {
486
- /**
487
- * EnterpriseMaterials.CompanyName
488
- */
489
487
  'company_name'?: string;
490
- /**
491
- * EnterpriseMaterials.UnifiedSocialCreditCode
492
- */
493
488
  'unified_social_credit_code'?: string;
494
- /**
495
- * EnterpriseMaterials.LegalPersonName
496
- */
497
489
  'legal_person_name'?: string;
498
- /**
499
- * EnterpriseMaterials.LegalPersonIDNumber
500
- */
501
490
  'legal_person_id_number'?: string;
502
491
  }
503
492
  export interface PassportAuthEnterpriseMaterialUploadResponse {
package/dist/api.d.ts CHANGED
@@ -173,10 +173,11 @@ export interface AuthUserSession {
173
173
  'user_agent'?: string;
174
174
  }
175
175
  export interface GeeTestAuthCaptcha {
176
- 'lotNumber'?: string;
177
- 'captchaOutput'?: string;
178
- 'passToken'?: string;
179
- 'genTime'?: string;
176
+ 'captcha_id'?: string;
177
+ 'lot_number'?: string;
178
+ 'captcha_output'?: string;
179
+ 'pass_token'?: string;
180
+ 'gen_time'?: string;
180
181
  }
181
182
  export interface PassportAdminPasswordForgetRequest {
182
183
  'email'?: string;
@@ -464,7 +465,7 @@ export interface PassportAuthEnterpriseGetSessionResponse {
464
465
  export interface PassportAuthEnterpriseInfoGetResponse {
465
466
  'code'?: string;
466
467
  'message'?: string;
467
- 'users'?: Array<AuthUser>;
468
+ 'enterprise_users'?: Array<AuthEnterpriseUser>;
468
469
  }
469
470
  export interface PassportAuthEnterpriseListSessionsResponse {
470
471
  'code'?: string;
@@ -472,21 +473,9 @@ export interface PassportAuthEnterpriseListSessionsResponse {
472
473
  'sessions'?: Array<AuthUserSession>;
473
474
  }
474
475
  export interface PassportAuthEnterpriseMaterialUploadRequest {
475
- /**
476
- * EnterpriseMaterials.CompanyName
477
- */
478
476
  'company_name'?: string;
479
- /**
480
- * EnterpriseMaterials.UnifiedSocialCreditCode
481
- */
482
477
  'unified_social_credit_code'?: string;
483
- /**
484
- * EnterpriseMaterials.LegalPersonName
485
- */
486
478
  'legal_person_name'?: string;
487
- /**
488
- * EnterpriseMaterials.LegalPersonIDNumber
489
- */
490
479
  'legal_person_id_number'?: string;
491
480
  }
492
481
  export interface PassportAuthEnterpriseMaterialUploadResponse {
package/dist/esm/api.d.ts CHANGED
@@ -173,10 +173,11 @@ export interface AuthUserSession {
173
173
  'user_agent'?: string;
174
174
  }
175
175
  export interface GeeTestAuthCaptcha {
176
- 'lotNumber'?: string;
177
- 'captchaOutput'?: string;
178
- 'passToken'?: string;
179
- 'genTime'?: string;
176
+ 'captcha_id'?: string;
177
+ 'lot_number'?: string;
178
+ 'captcha_output'?: string;
179
+ 'pass_token'?: string;
180
+ 'gen_time'?: string;
180
181
  }
181
182
  export interface PassportAdminPasswordForgetRequest {
182
183
  'email'?: string;
@@ -464,7 +465,7 @@ export interface PassportAuthEnterpriseGetSessionResponse {
464
465
  export interface PassportAuthEnterpriseInfoGetResponse {
465
466
  'code'?: string;
466
467
  'message'?: string;
467
- 'users'?: Array<AuthUser>;
468
+ 'enterprise_users'?: Array<AuthEnterpriseUser>;
468
469
  }
469
470
  export interface PassportAuthEnterpriseListSessionsResponse {
470
471
  'code'?: string;
@@ -472,21 +473,9 @@ export interface PassportAuthEnterpriseListSessionsResponse {
472
473
  'sessions'?: Array<AuthUserSession>;
473
474
  }
474
475
  export interface PassportAuthEnterpriseMaterialUploadRequest {
475
- /**
476
- * EnterpriseMaterials.CompanyName
477
- */
478
476
  'company_name'?: string;
479
- /**
480
- * EnterpriseMaterials.UnifiedSocialCreditCode
481
- */
482
477
  'unified_social_credit_code'?: string;
483
- /**
484
- * EnterpriseMaterials.LegalPersonName
485
- */
486
478
  'legal_person_name'?: string;
487
- /**
488
- * EnterpriseMaterials.LegalPersonIDNumber
489
- */
490
479
  'legal_person_id_number'?: string;
491
480
  }
492
481
  export interface PassportAuthEnterpriseMaterialUploadResponse {
@@ -5,10 +5,11 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **lotNumber** | **string** | | [optional] [default to undefined]
9
- **captchaOutput** | **string** | | [optional] [default to undefined]
10
- **passToken** | **string** | | [optional] [default to undefined]
11
- **genTime** | **string** | | [optional] [default to undefined]
8
+ **captcha_id** | **string** | | [optional] [default to undefined]
9
+ **lot_number** | **string** | | [optional] [default to undefined]
10
+ **captcha_output** | **string** | | [optional] [default to undefined]
11
+ **pass_token** | **string** | | [optional] [default to undefined]
12
+ **gen_time** | **string** | | [optional] [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -16,10 +17,11 @@ Name | Type | Description | Notes
16
17
  import { GeeTestAuthCaptcha } from '@cherryin/passport-api-client';
17
18
 
18
19
  const instance: GeeTestAuthCaptcha = {
19
- lotNumber,
20
- captchaOutput,
21
- passToken,
22
- genTime,
20
+ captcha_id,
21
+ lot_number,
22
+ captcha_output,
23
+ pass_token,
24
+ gen_time,
23
25
  };
24
26
  ```
25
27
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **code** | **string** | | [optional] [default to undefined]
9
9
  **message** | **string** | | [optional] [default to undefined]
10
- **users** | [**Array&lt;AuthUser&gt;**](AuthUser.md) | | [optional] [default to undefined]
10
+ **enterprise_users** | [**Array&lt;AuthEnterpriseUser&gt;**](AuthEnterpriseUser.md) | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -17,7 +17,7 @@ import { PassportAuthEnterpriseInfoGetResponse } from '@cherryin/passport-api-cl
17
17
  const instance: PassportAuthEnterpriseInfoGetResponse = {
18
18
  code,
19
19
  message,
20
- users,
20
+ enterprise_users,
21
21
  };
22
22
  ```
23
23
 
@@ -5,10 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **company_name** | **string** | EnterpriseMaterials.CompanyName | [optional] [default to undefined]
9
- **unified_social_credit_code** | **string** | EnterpriseMaterials.UnifiedSocialCreditCode | [optional] [default to undefined]
10
- **legal_person_name** | **string** | EnterpriseMaterials.LegalPersonName | [optional] [default to undefined]
11
- **legal_person_id_number** | **string** | EnterpriseMaterials.LegalPersonIDNumber | [optional] [default to undefined]
8
+ **company_name** | **string** | | [optional] [default to undefined]
9
+ **unified_social_credit_code** | **string** | | [optional] [default to undefined]
10
+ **legal_person_name** | **string** | | [optional] [default to undefined]
11
+ **legal_person_id_number** | **string** | | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherryin/passport-api-client",
3
- "version": "0.1.3",
3
+ "version": "0.1.6",
4
4
  "description": "OpenAPI client for @cherryin/passport-api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {