@randock/nameshift-api-client 0.0.190 → 0.0.191
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
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.191
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.191 --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
|
-
|
|
47
|
+
03746901ad94fc947d652ecd87de2adfe64783f200fc128fbb93594c5b54267ea6cacdd0ce8a021ee16ba058699c143e
|
|
@@ -27,6 +27,12 @@ export interface ListAccountUserDto {
|
|
|
27
27
|
* @memberof ListAccountUserDto
|
|
28
28
|
*/
|
|
29
29
|
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListAccountUserDto
|
|
34
|
+
*/
|
|
35
|
+
phone: string | null;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the ListAccountUserDto interface.
|
|
@@ -26,6 +26,8 @@ function instanceOfListAccountUserDto(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('email' in value) || value['email'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
return true;
|
|
30
32
|
}
|
|
31
33
|
function ListAccountUserDtoFromJSON(json) {
|
|
@@ -38,6 +40,7 @@ function ListAccountUserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
return {
|
|
39
41
|
'name': json['name'],
|
|
40
42
|
'email': json['email'],
|
|
43
|
+
'phone': json['phone'],
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
function ListAccountUserDtoToJSON(json) {
|
|
@@ -51,5 +54,6 @@ function ListAccountUserDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
54
|
return {
|
|
52
55
|
'name': value['name'],
|
|
53
56
|
'email': value['email'],
|
|
57
|
+
'phone': value['phone'],
|
|
54
58
|
};
|
|
55
59
|
}
|
package/package.json
CHANGED
|
@@ -31,6 +31,12 @@ export interface ListAccountUserDto {
|
|
|
31
31
|
* @memberof ListAccountUserDto
|
|
32
32
|
*/
|
|
33
33
|
email: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ListAccountUserDto
|
|
38
|
+
*/
|
|
39
|
+
phone: string | null;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -39,6 +45,7 @@ export interface ListAccountUserDto {
|
|
|
39
45
|
export function instanceOfListAccountUserDto(value: object): value is ListAccountUserDto {
|
|
40
46
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
47
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
48
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
42
49
|
return true;
|
|
43
50
|
}
|
|
44
51
|
|
|
@@ -54,6 +61,7 @@ export function ListAccountUserDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
54
61
|
|
|
55
62
|
'name': json['name'],
|
|
56
63
|
'email': json['email'],
|
|
64
|
+
'phone': json['phone'],
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -70,6 +78,7 @@ export function ListAccountUserDtoToJSONTyped(value?: ListAccountUserDto | null,
|
|
|
70
78
|
|
|
71
79
|
'name': value['name'],
|
|
72
80
|
'email': value['email'],
|
|
81
|
+
'phone': value['phone'],
|
|
73
82
|
};
|
|
74
83
|
}
|
|
75
84
|
|