@cherryin/passport-api-client 0.1.4 → 0.1.7

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.4
1
+ ## @cherryin/passport-api-client@0.1.7
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.4 --save
39
+ npm install @cherryin/passport-api-client@0.1.7 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -476,7 +476,7 @@ export interface PassportAuthEnterpriseGetSessionResponse {
476
476
  export interface PassportAuthEnterpriseInfoGetResponse {
477
477
  'code'?: string;
478
478
  'message'?: string;
479
- 'users'?: Array<AuthUser>;
479
+ 'enterprise_users'?: Array<AuthEnterpriseUser>;
480
480
  }
481
481
  export interface PassportAuthEnterpriseListSessionsResponse {
482
482
  'code'?: string;
@@ -484,21 +484,9 @@ export interface PassportAuthEnterpriseListSessionsResponse {
484
484
  'sessions'?: Array<AuthUserSession>;
485
485
  }
486
486
  export interface PassportAuthEnterpriseMaterialUploadRequest {
487
- /**
488
- * EnterpriseMaterials.CompanyName
489
- */
490
487
  'company_name'?: string;
491
- /**
492
- * EnterpriseMaterials.UnifiedSocialCreditCode
493
- */
494
488
  'unified_social_credit_code'?: string;
495
- /**
496
- * EnterpriseMaterials.LegalPersonName
497
- */
498
489
  'legal_person_name'?: string;
499
- /**
500
- * EnterpriseMaterials.LegalPersonIDNumber
501
- */
502
490
  'legal_person_id_number'?: string;
503
491
  }
504
492
  export interface PassportAuthEnterpriseMaterialUploadResponse {
package/dist/api.d.ts CHANGED
@@ -465,7 +465,7 @@ export interface PassportAuthEnterpriseGetSessionResponse {
465
465
  export interface PassportAuthEnterpriseInfoGetResponse {
466
466
  'code'?: string;
467
467
  'message'?: string;
468
- 'users'?: Array<AuthUser>;
468
+ 'enterprise_users'?: Array<AuthEnterpriseUser>;
469
469
  }
470
470
  export interface PassportAuthEnterpriseListSessionsResponse {
471
471
  'code'?: string;
@@ -473,21 +473,9 @@ export interface PassportAuthEnterpriseListSessionsResponse {
473
473
  'sessions'?: Array<AuthUserSession>;
474
474
  }
475
475
  export interface PassportAuthEnterpriseMaterialUploadRequest {
476
- /**
477
- * EnterpriseMaterials.CompanyName
478
- */
479
476
  'company_name'?: string;
480
- /**
481
- * EnterpriseMaterials.UnifiedSocialCreditCode
482
- */
483
477
  'unified_social_credit_code'?: string;
484
- /**
485
- * EnterpriseMaterials.LegalPersonName
486
- */
487
478
  'legal_person_name'?: string;
488
- /**
489
- * EnterpriseMaterials.LegalPersonIDNumber
490
- */
491
479
  'legal_person_id_number'?: string;
492
480
  }
493
481
  export interface PassportAuthEnterpriseMaterialUploadResponse {
package/dist/esm/api.d.ts CHANGED
@@ -465,7 +465,7 @@ export interface PassportAuthEnterpriseGetSessionResponse {
465
465
  export interface PassportAuthEnterpriseInfoGetResponse {
466
466
  'code'?: string;
467
467
  'message'?: string;
468
- 'users'?: Array<AuthUser>;
468
+ 'enterprise_users'?: Array<AuthEnterpriseUser>;
469
469
  }
470
470
  export interface PassportAuthEnterpriseListSessionsResponse {
471
471
  'code'?: string;
@@ -473,21 +473,9 @@ export interface PassportAuthEnterpriseListSessionsResponse {
473
473
  'sessions'?: Array<AuthUserSession>;
474
474
  }
475
475
  export interface PassportAuthEnterpriseMaterialUploadRequest {
476
- /**
477
- * EnterpriseMaterials.CompanyName
478
- */
479
476
  'company_name'?: string;
480
- /**
481
- * EnterpriseMaterials.UnifiedSocialCreditCode
482
- */
483
477
  'unified_social_credit_code'?: string;
484
- /**
485
- * EnterpriseMaterials.LegalPersonName
486
- */
487
478
  'legal_person_name'?: string;
488
- /**
489
- * EnterpriseMaterials.LegalPersonIDNumber
490
- */
491
479
  'legal_person_id_number'?: string;
492
480
  }
493
481
  export interface PassportAuthEnterpriseMaterialUploadResponse {
@@ -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.4",
3
+ "version": "0.1.7",
4
4
  "description": "OpenAPI client for @cherryin/passport-api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {