@randock/nameshift-api-client 0.0.29 → 0.0.30
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.30
|
|
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.30 --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
|
+
a8ce60dc8dd142fce18f67ee7471a58bdfa8c870a7b45d7b16966f180f5e9787951d4e0efc21fcec2ebcd2224157ed7e
|
|
@@ -45,6 +45,12 @@ export interface SecurityUserDto {
|
|
|
45
45
|
* @memberof SecurityUserDto
|
|
46
46
|
*/
|
|
47
47
|
lastname: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SecurityUserDto
|
|
52
|
+
*/
|
|
53
|
+
intercomHash: string;
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
56
|
* Check if a given object implements the SecurityUserDto interface.
|
|
@@ -28,6 +28,8 @@ function instanceOfSecurityUserDto(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('lastname' in value))
|
|
30
30
|
return false;
|
|
31
|
+
if (!('intercomHash' in value))
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
exports.instanceOfSecurityUserDto = instanceOfSecurityUserDto;
|
|
@@ -45,6 +47,7 @@ function SecurityUserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
'roles': json['roles'],
|
|
46
48
|
'firstname': json['firstname'],
|
|
47
49
|
'lastname': json['lastname'],
|
|
50
|
+
'intercomHash': json['intercomHash'],
|
|
48
51
|
};
|
|
49
52
|
}
|
|
50
53
|
exports.SecurityUserDtoFromJSONTyped = SecurityUserDtoFromJSONTyped;
|
|
@@ -58,6 +61,7 @@ function SecurityUserDtoToJSON(value) {
|
|
|
58
61
|
'roles': value['roles'],
|
|
59
62
|
'firstname': value['firstname'],
|
|
60
63
|
'lastname': value['lastname'],
|
|
64
|
+
'intercomHash': value['intercomHash'],
|
|
61
65
|
};
|
|
62
66
|
}
|
|
63
67
|
exports.SecurityUserDtoToJSON = SecurityUserDtoToJSON;
|
package/package.json
CHANGED
|
@@ -49,6 +49,12 @@ export interface SecurityUserDto {
|
|
|
49
49
|
* @memberof SecurityUserDto
|
|
50
50
|
*/
|
|
51
51
|
lastname: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof SecurityUserDto
|
|
56
|
+
*/
|
|
57
|
+
intercomHash: string;
|
|
52
58
|
}
|
|
53
59
|
|
|
54
60
|
/**
|
|
@@ -60,6 +66,7 @@ export function instanceOfSecurityUserDto(value: object): boolean {
|
|
|
60
66
|
if (!('roles' in value)) return false;
|
|
61
67
|
if (!('firstname' in value)) return false;
|
|
62
68
|
if (!('lastname' in value)) return false;
|
|
69
|
+
if (!('intercomHash' in value)) return false;
|
|
63
70
|
return true;
|
|
64
71
|
}
|
|
65
72
|
|
|
@@ -78,6 +85,7 @@ export function SecurityUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
78
85
|
'roles': json['roles'],
|
|
79
86
|
'firstname': json['firstname'],
|
|
80
87
|
'lastname': json['lastname'],
|
|
88
|
+
'intercomHash': json['intercomHash'],
|
|
81
89
|
};
|
|
82
90
|
}
|
|
83
91
|
|
|
@@ -92,6 +100,7 @@ export function SecurityUserDtoToJSON(value?: SecurityUserDto | null): any {
|
|
|
92
100
|
'roles': value['roles'],
|
|
93
101
|
'firstname': value['firstname'],
|
|
94
102
|
'lastname': value['lastname'],
|
|
103
|
+
'intercomHash': value['intercomHash'],
|
|
95
104
|
};
|
|
96
105
|
}
|
|
97
106
|
|