@randock/nameshift-api-client 0.0.339 → 0.0.340
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.340
|
|
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.340 --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
|
+
d32dd46bceb82ad61c3a2b96a389443b4a8a8f4d22614af5a525cd63ac515df85aaf6d9e661c7a133f812ebd20de959b
|
|
@@ -26,6 +26,8 @@ var AuctionBidMetricsDto_1 = require("./AuctionBidMetricsDto");
|
|
|
26
26
|
function instanceOfAuctionBidDto(value) {
|
|
27
27
|
if (!('id' in value) || value['id'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('bidderId' in value) || value['bidderId'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('amount' in value) || value['amount'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('nickname' in value) || value['nickname'] === undefined)
|
|
@@ -53,6 +55,7 @@ function AuctionBidDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
55
|
}
|
|
54
56
|
return {
|
|
55
57
|
'id': json['id'],
|
|
58
|
+
'bidderId': json['bidderId'],
|
|
56
59
|
'amount': (0, MoneyDto_1.MoneyDtoFromJSON)(json['amount']),
|
|
57
60
|
'nickname': json['nickname'],
|
|
58
61
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -73,6 +76,7 @@ function AuctionBidDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
76
|
}
|
|
74
77
|
return {
|
|
75
78
|
'id': value['id'],
|
|
79
|
+
'bidderId': value['bidderId'],
|
|
76
80
|
'amount': (0, MoneyDto_1.MoneyDtoToJSON)(value['amount']),
|
|
77
81
|
'nickname': value['nickname'],
|
|
78
82
|
'createdAt': ((value['createdAt']).toISOString()),
|
package/package.json
CHANGED
|
@@ -40,6 +40,12 @@ export interface AuctionBidDto {
|
|
|
40
40
|
* @memberof AuctionBidDto
|
|
41
41
|
*/
|
|
42
42
|
id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Bidder Id
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AuctionBidDto
|
|
47
|
+
*/
|
|
48
|
+
bidderId: string;
|
|
43
49
|
/**
|
|
44
50
|
* Auction Bid amount
|
|
45
51
|
* @type {MoneyDto}
|
|
@@ -95,6 +101,7 @@ export interface AuctionBidDto {
|
|
|
95
101
|
*/
|
|
96
102
|
export function instanceOfAuctionBidDto(value: object): value is AuctionBidDto {
|
|
97
103
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
104
|
+
if (!('bidderId' in value) || value['bidderId'] === undefined) return false;
|
|
98
105
|
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
99
106
|
if (!('nickname' in value) || value['nickname'] === undefined) return false;
|
|
100
107
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
@@ -117,6 +124,7 @@ export function AuctionBidDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
117
124
|
return {
|
|
118
125
|
|
|
119
126
|
'id': json['id'],
|
|
127
|
+
'bidderId': json['bidderId'],
|
|
120
128
|
'amount': MoneyDtoFromJSON(json['amount']),
|
|
121
129
|
'nickname': json['nickname'],
|
|
122
130
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -140,6 +148,7 @@ export function AuctionBidDtoToJSONTyped(value?: AuctionBidDto | null, ignoreDis
|
|
|
140
148
|
return {
|
|
141
149
|
|
|
142
150
|
'id': value['id'],
|
|
151
|
+
'bidderId': value['bidderId'],
|
|
143
152
|
'amount': MoneyDtoToJSON(value['amount']),
|
|
144
153
|
'nickname': value['nickname'],
|
|
145
154
|
'createdAt': ((value['createdAt']).toISOString()),
|