@randock/nameshift-api-client 0.0.108 → 0.0.109

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.
@@ -114,6 +114,7 @@ src/models/PutLeadOfferInput.ts
114
114
  src/models/RegisterAccountInput.ts
115
115
  src/models/RelatedSellerDomain.ts
116
116
  src/models/RequestAccessTokenInput.ts
117
+ src/models/SecurityUserAccountDto.ts
117
118
  src/models/SecurityUserDto.ts
118
119
  src/models/SellerDomainTransferAuthCodeDto.ts
119
120
  src/models/SellerDomainTransferDomainDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.108
1
+ ## @randock/nameshift-api-client@0.0.109
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). 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 @randock/nameshift-api-client@0.0.108 --save
39
+ npm install @randock/nameshift-api-client@0.0.109 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 00ef6f22a96247ade912d79fae52fa2ddf7067d08aadc34ecf473017497476abfaba62ff9cc0b868edecd0a89d68578a
47
+ 41815b86406beb373fe5d2c42500b7e3dad1d56aa7f7ebec7b7623261aee3f2fff406a16c112f8e1cc9492dc9e25fac9
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SecurityUserAccountDto
16
+ */
17
+ export interface SecurityUserAccountDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SecurityUserAccountDto
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SecurityUserAccountDto
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SecurityUserAccountDto interface.
33
+ */
34
+ export declare function instanceOfSecurityUserAccountDto(value: object): value is SecurityUserAccountDto;
35
+ export declare function SecurityUserAccountDtoFromJSON(json: any): SecurityUserAccountDto;
36
+ export declare function SecurityUserAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityUserAccountDto;
37
+ export declare function SecurityUserAccountDtoToJSON(value?: SecurityUserAccountDto | null): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSecurityUserAccountDto = instanceOfSecurityUserAccountDto;
17
+ exports.SecurityUserAccountDtoFromJSON = SecurityUserAccountDtoFromJSON;
18
+ exports.SecurityUserAccountDtoFromJSONTyped = SecurityUserAccountDtoFromJSONTyped;
19
+ exports.SecurityUserAccountDtoToJSON = SecurityUserAccountDtoToJSON;
20
+ /**
21
+ * Check if a given object implements the SecurityUserAccountDto interface.
22
+ */
23
+ function instanceOfSecurityUserAccountDto(value) {
24
+ if (!('id' in value) || value['id'] === undefined)
25
+ return false;
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function SecurityUserAccountDtoFromJSON(json) {
31
+ return SecurityUserAccountDtoFromJSONTyped(json, false);
32
+ }
33
+ function SecurityUserAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'id': json['id'],
39
+ 'name': json['name'],
40
+ };
41
+ }
42
+ function SecurityUserAccountDtoToJSON(value) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'id': value['id'],
48
+ 'name': value['name'],
49
+ };
50
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { SecurityUserAccountDto } from './SecurityUserAccountDto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -26,25 +27,31 @@ export interface SecurityUserDto {
26
27
  * @type {string}
27
28
  * @memberof SecurityUserDto
28
29
  */
29
- accountId: string;
30
+ firstname: string;
30
31
  /**
31
32
  *
32
- * @type {Array<string>}
33
+ * @type {string}
33
34
  * @memberof SecurityUserDto
34
35
  */
35
- roles: Array<string>;
36
+ lastname: string;
36
37
  /**
37
38
  *
38
39
  * @type {string}
39
40
  * @memberof SecurityUserDto
40
41
  */
41
- firstname: string;
42
+ email: string;
42
43
  /**
43
44
  *
44
- * @type {string}
45
+ * @type {SecurityUserAccountDto}
45
46
  * @memberof SecurityUserDto
46
47
  */
47
- lastname: string;
48
+ account: SecurityUserAccountDto;
49
+ /**
50
+ *
51
+ * @type {Array<string>}
52
+ * @memberof SecurityUserDto
53
+ */
54
+ roles: Array<string>;
48
55
  /**
49
56
  *
50
57
  * @type {string}
@@ -17,20 +17,23 @@ exports.instanceOfSecurityUserDto = instanceOfSecurityUserDto;
17
17
  exports.SecurityUserDtoFromJSON = SecurityUserDtoFromJSON;
18
18
  exports.SecurityUserDtoFromJSONTyped = SecurityUserDtoFromJSONTyped;
19
19
  exports.SecurityUserDtoToJSON = SecurityUserDtoToJSON;
20
+ var SecurityUserAccountDto_1 = require("./SecurityUserAccountDto");
20
21
  /**
21
22
  * Check if a given object implements the SecurityUserDto interface.
22
23
  */
23
24
  function instanceOfSecurityUserDto(value) {
24
25
  if (!('id' in value) || value['id'] === undefined)
25
26
  return false;
26
- if (!('accountId' in value) || value['accountId'] === undefined)
27
- return false;
28
- if (!('roles' in value) || value['roles'] === undefined)
29
- return false;
30
27
  if (!('firstname' in value) || value['firstname'] === undefined)
31
28
  return false;
32
29
  if (!('lastname' in value) || value['lastname'] === undefined)
33
30
  return false;
31
+ if (!('email' in value) || value['email'] === undefined)
32
+ return false;
33
+ if (!('account' in value) || value['account'] === undefined)
34
+ return false;
35
+ if (!('roles' in value) || value['roles'] === undefined)
36
+ return false;
34
37
  if (!('intercomHash' in value) || value['intercomHash'] === undefined)
35
38
  return false;
36
39
  return true;
@@ -44,10 +47,11 @@ function SecurityUserDtoFromJSONTyped(json, ignoreDiscriminator) {
44
47
  }
45
48
  return {
46
49
  'id': json['id'],
47
- 'accountId': json['accountId'],
48
- 'roles': json['roles'],
49
50
  'firstname': json['firstname'],
50
51
  'lastname': json['lastname'],
52
+ 'email': json['email'],
53
+ 'account': (0, SecurityUserAccountDto_1.SecurityUserAccountDtoFromJSON)(json['account']),
54
+ 'roles': json['roles'],
51
55
  'intercomHash': json['intercomHash'],
52
56
  };
53
57
  }
@@ -57,10 +61,11 @@ function SecurityUserDtoToJSON(value) {
57
61
  }
58
62
  return {
59
63
  'id': value['id'],
60
- 'accountId': value['accountId'],
61
- 'roles': value['roles'],
62
64
  'firstname': value['firstname'],
63
65
  'lastname': value['lastname'],
66
+ 'email': value['email'],
67
+ 'account': (0, SecurityUserAccountDto_1.SecurityUserAccountDtoToJSON)(value['account']),
68
+ 'roles': value['roles'],
64
69
  'intercomHash': value['intercomHash'],
65
70
  };
66
71
  }
@@ -94,6 +94,7 @@ export * from './PutLeadOfferInput';
94
94
  export * from './RegisterAccountInput';
95
95
  export * from './RelatedSellerDomain';
96
96
  export * from './RequestAccessTokenInput';
97
+ export * from './SecurityUserAccountDto';
97
98
  export * from './SecurityUserDto';
98
99
  export * from './SellerDomainTransferAuthCodeDto';
99
100
  export * from './SellerDomainTransferDomainDto';
@@ -112,6 +112,7 @@ __exportStar(require("./PutLeadOfferInput"), exports);
112
112
  __exportStar(require("./RegisterAccountInput"), exports);
113
113
  __exportStar(require("./RelatedSellerDomain"), exports);
114
114
  __exportStar(require("./RequestAccessTokenInput"), exports);
115
+ __exportStar(require("./SecurityUserAccountDto"), exports);
115
116
  __exportStar(require("./SecurityUserDto"), exports);
116
117
  __exportStar(require("./SellerDomainTransferAuthCodeDto"), exports);
117
118
  __exportStar(require("./SellerDomainTransferDomainDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.108",
3
+ "version": "0.0.109",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,70 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SecurityUserAccountDto
20
+ */
21
+ export interface SecurityUserAccountDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof SecurityUserAccountDto
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof SecurityUserAccountDto
32
+ */
33
+ name: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the SecurityUserAccountDto interface.
38
+ */
39
+ export function instanceOfSecurityUserAccountDto(value: object): value is SecurityUserAccountDto {
40
+ if (!('id' in value) || value['id'] === undefined) return false;
41
+ if (!('name' in value) || value['name'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function SecurityUserAccountDtoFromJSON(json: any): SecurityUserAccountDto {
46
+ return SecurityUserAccountDtoFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function SecurityUserAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityUserAccountDto {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'id': json['id'],
56
+ 'name': json['name'],
57
+ };
58
+ }
59
+
60
+ export function SecurityUserAccountDtoToJSON(value?: SecurityUserAccountDto | null): any {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+
66
+ 'id': value['id'],
67
+ 'name': value['name'],
68
+ };
69
+ }
70
+
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { SecurityUserAccountDto } from './SecurityUserAccountDto';
17
+ import {
18
+ SecurityUserAccountDtoFromJSON,
19
+ SecurityUserAccountDtoFromJSONTyped,
20
+ SecurityUserAccountDtoToJSON,
21
+ } from './SecurityUserAccountDto';
22
+
16
23
  /**
17
24
  *
18
25
  * @export
@@ -30,25 +37,31 @@ export interface SecurityUserDto {
30
37
  * @type {string}
31
38
  * @memberof SecurityUserDto
32
39
  */
33
- accountId: string;
40
+ firstname: string;
34
41
  /**
35
42
  *
36
- * @type {Array<string>}
43
+ * @type {string}
37
44
  * @memberof SecurityUserDto
38
45
  */
39
- roles: Array<string>;
46
+ lastname: string;
40
47
  /**
41
48
  *
42
49
  * @type {string}
43
50
  * @memberof SecurityUserDto
44
51
  */
45
- firstname: string;
52
+ email: string;
46
53
  /**
47
54
  *
48
- * @type {string}
55
+ * @type {SecurityUserAccountDto}
49
56
  * @memberof SecurityUserDto
50
57
  */
51
- lastname: string;
58
+ account: SecurityUserAccountDto;
59
+ /**
60
+ *
61
+ * @type {Array<string>}
62
+ * @memberof SecurityUserDto
63
+ */
64
+ roles: Array<string>;
52
65
  /**
53
66
  *
54
67
  * @type {string}
@@ -62,10 +75,11 @@ export interface SecurityUserDto {
62
75
  */
63
76
  export function instanceOfSecurityUserDto(value: object): value is SecurityUserDto {
64
77
  if (!('id' in value) || value['id'] === undefined) return false;
65
- if (!('accountId' in value) || value['accountId'] === undefined) return false;
66
- if (!('roles' in value) || value['roles'] === undefined) return false;
67
78
  if (!('firstname' in value) || value['firstname'] === undefined) return false;
68
79
  if (!('lastname' in value) || value['lastname'] === undefined) return false;
80
+ if (!('email' in value) || value['email'] === undefined) return false;
81
+ if (!('account' in value) || value['account'] === undefined) return false;
82
+ if (!('roles' in value) || value['roles'] === undefined) return false;
69
83
  if (!('intercomHash' in value) || value['intercomHash'] === undefined) return false;
70
84
  return true;
71
85
  }
@@ -81,10 +95,11 @@ export function SecurityUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
81
95
  return {
82
96
 
83
97
  'id': json['id'],
84
- 'accountId': json['accountId'],
85
- 'roles': json['roles'],
86
98
  'firstname': json['firstname'],
87
99
  'lastname': json['lastname'],
100
+ 'email': json['email'],
101
+ 'account': SecurityUserAccountDtoFromJSON(json['account']),
102
+ 'roles': json['roles'],
88
103
  'intercomHash': json['intercomHash'],
89
104
  };
90
105
  }
@@ -96,10 +111,11 @@ export function SecurityUserDtoToJSON(value?: SecurityUserDto | null): any {
96
111
  return {
97
112
 
98
113
  'id': value['id'],
99
- 'accountId': value['accountId'],
100
- 'roles': value['roles'],
101
114
  'firstname': value['firstname'],
102
115
  'lastname': value['lastname'],
116
+ 'email': value['email'],
117
+ 'account': SecurityUserAccountDtoToJSON(value['account']),
118
+ 'roles': value['roles'],
103
119
  'intercomHash': value['intercomHash'],
104
120
  };
105
121
  }
@@ -96,6 +96,7 @@ export * from './PutLeadOfferInput';
96
96
  export * from './RegisterAccountInput';
97
97
  export * from './RelatedSellerDomain';
98
98
  export * from './RequestAccessTokenInput';
99
+ export * from './SecurityUserAccountDto';
99
100
  export * from './SecurityUserDto';
100
101
  export * from './SellerDomainTransferAuthCodeDto';
101
102
  export * from './SellerDomainTransferDomainDto';