@digital8/security-registers-backend-ts-sdk 0.0.57 → 0.0.58
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
|
-
## @digital8/security-registers-backend-ts-sdk@0.0.
|
|
1
|
+
## @digital8/security-registers-backend-ts-sdk@0.0.58
|
|
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 @digital8/security-registers-backend-ts-sdk@0.0.
|
|
39
|
+
npm install @digital8/security-registers-backend-ts-sdk@0.0.58 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -33,6 +33,12 @@ export interface UserLiteResource {
|
|
|
33
33
|
* @memberof UserLiteResource
|
|
34
34
|
*/
|
|
35
35
|
lastName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UserLiteResource
|
|
40
|
+
*/
|
|
41
|
+
fullName: string;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the UserLiteResource interface.
|
|
@@ -28,6 +28,8 @@ function instanceOfUserLiteResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('fullName' in value) || value['fullName'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
function UserLiteResourceFromJSON(json) {
|
|
@@ -41,6 +43,7 @@ function UserLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
43
|
'id': json['id'],
|
|
42
44
|
'firstName': json['firstName'],
|
|
43
45
|
'lastName': json['lastName'],
|
|
46
|
+
'fullName': json['fullName'],
|
|
44
47
|
};
|
|
45
48
|
}
|
|
46
49
|
function UserLiteResourceToJSON(json) {
|
|
@@ -55,5 +58,6 @@ function UserLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
58
|
'id': value['id'],
|
|
56
59
|
'firstName': value['firstName'],
|
|
57
60
|
'lastName': value['lastName'],
|
|
61
|
+
'fullName': value['fullName'],
|
|
58
62
|
};
|
|
59
63
|
}
|
package/package.json
CHANGED
|
@@ -37,6 +37,12 @@ export interface UserLiteResource {
|
|
|
37
37
|
* @memberof UserLiteResource
|
|
38
38
|
*/
|
|
39
39
|
lastName: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UserLiteResource
|
|
44
|
+
*/
|
|
45
|
+
fullName: string;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -46,6 +52,7 @@ export function instanceOfUserLiteResource(value: object): value is UserLiteReso
|
|
|
46
52
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
53
|
if (!('firstName' in value) || value['firstName'] === undefined) return false;
|
|
48
54
|
if (!('lastName' in value) || value['lastName'] === undefined) return false;
|
|
55
|
+
if (!('fullName' in value) || value['fullName'] === undefined) return false;
|
|
49
56
|
return true;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -62,6 +69,7 @@ export function UserLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
62
69
|
'id': json['id'],
|
|
63
70
|
'firstName': json['firstName'],
|
|
64
71
|
'lastName': json['lastName'],
|
|
72
|
+
'fullName': json['fullName'],
|
|
65
73
|
};
|
|
66
74
|
}
|
|
67
75
|
|
|
@@ -79,6 +87,7 @@ export function UserLiteResourceToJSONTyped(value?: UserLiteResource | null, ign
|
|
|
79
87
|
'id': value['id'],
|
|
80
88
|
'firstName': value['firstName'],
|
|
81
89
|
'lastName': value['lastName'],
|
|
90
|
+
'fullName': value['fullName'],
|
|
82
91
|
};
|
|
83
92
|
}
|
|
84
93
|
|