@randock/nameshift-api-client 0.0.405 → 0.0.406

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.405
1
+ ## @randock/nameshift-api-client@0.0.406
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.405 --save
39
+ npm install @randock/nameshift-api-client@0.0.406 --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
- 0f6fa80eb5d773ea9dc79d025eebd6e9e14d0598269e7fe5efa0cf722494eb1ac466130deb67cf753031a8d72ef9a9b8
47
+ 323d95971ea7f786f745f7ee1875a63dcb894afc5bf3bdb809462daf36421e9527ff6f96e52d83e83dabb95e21b991b8
@@ -65,6 +65,12 @@ export interface AuctionBidDto {
65
65
  * @memberof AuctionBidDto
66
66
  */
67
67
  isKycCompleted: boolean;
68
+ /**
69
+ * Auction Bid reached reserve price
70
+ * @type {boolean}
71
+ * @memberof AuctionBidDto
72
+ */
73
+ hasReachedReservePrice: boolean;
68
74
  /**
69
75
  * Auction Bidder metrics
70
76
  * @type {AuctionBidMetricsDto}
@@ -40,6 +40,8 @@ function instanceOfAuctionBidDto(value) {
40
40
  return false;
41
41
  if (!('isKycCompleted' in value) || value['isKycCompleted'] === undefined)
42
42
  return false;
43
+ if (!('hasReachedReservePrice' in value) || value['hasReachedReservePrice'] === undefined)
44
+ return false;
43
45
  if (!('metrics' in value) || value['metrics'] === undefined)
44
46
  return false;
45
47
  if (!('email' in value) || value['email'] === undefined)
@@ -62,6 +64,7 @@ function AuctionBidDtoFromJSONTyped(json, ignoreDiscriminator) {
62
64
  'isEmailVerified': json['isEmailVerified'],
63
65
  'isPhoneVerified': json['isPhoneVerified'],
64
66
  'isKycCompleted': json['isKycCompleted'],
67
+ 'hasReachedReservePrice': json['hasReachedReservePrice'],
65
68
  'metrics': (0, AuctionBidMetricsDto_1.AuctionBidMetricsDtoFromJSON)(json['metrics']),
66
69
  'email': json['email'],
67
70
  };
@@ -83,6 +86,7 @@ function AuctionBidDtoToJSONTyped(value, ignoreDiscriminator) {
83
86
  'isEmailVerified': value['isEmailVerified'],
84
87
  'isPhoneVerified': value['isPhoneVerified'],
85
88
  'isKycCompleted': value['isKycCompleted'],
89
+ 'hasReachedReservePrice': value['hasReachedReservePrice'],
86
90
  'metrics': (0, AuctionBidMetricsDto_1.AuctionBidMetricsDtoToJSON)(value['metrics']),
87
91
  'email': value['email'],
88
92
  };
@@ -30,11 +30,17 @@ export interface AuctionDto {
30
30
  */
31
31
  minimumBid: MoneyDto;
32
32
  /**
33
- * Auction reserve price
34
- * @type {MoneyDto}
33
+ * Auction has reserve price
34
+ * @type {boolean}
35
+ * @memberof AuctionDto
36
+ */
37
+ hasReservePrice: boolean;
38
+ /**
39
+ * Auction reserve price was reached
40
+ * @type {boolean}
35
41
  * @memberof AuctionDto
36
42
  */
37
- reservePrice: MoneyDto | null;
43
+ isReservePriceReached: boolean;
38
44
  /**
39
45
  * Auction highest bid
40
46
  * @type {MoneyDto}
@@ -28,7 +28,9 @@ function instanceOfAuctionDto(value) {
28
28
  return false;
29
29
  if (!('minimumBid' in value) || value['minimumBid'] === undefined)
30
30
  return false;
31
- if (!('reservePrice' in value) || value['reservePrice'] === undefined)
31
+ if (!('hasReservePrice' in value) || value['hasReservePrice'] === undefined)
32
+ return false;
33
+ if (!('isReservePriceReached' in value) || value['isReservePriceReached'] === undefined)
32
34
  return false;
33
35
  if (!('highestBid' in value) || value['highestBid'] === undefined)
34
36
  return false;
@@ -58,7 +60,8 @@ function AuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
58
60
  return {
59
61
  'id': json['id'],
60
62
  'minimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minimumBid']),
61
- 'reservePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['reservePrice']),
63
+ 'hasReservePrice': json['hasReservePrice'],
64
+ 'isReservePriceReached': json['isReservePriceReached'],
62
65
  'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
63
66
  'currencyCode': json['currencyCode'],
64
67
  'startDate': (new Date(json['startDate'])),
@@ -80,7 +83,8 @@ function AuctionDtoToJSONTyped(value, ignoreDiscriminator) {
80
83
  return {
81
84
  'id': value['id'],
82
85
  'minimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['minimumBid']),
83
- 'reservePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['reservePrice']),
86
+ 'hasReservePrice': value['hasReservePrice'],
87
+ 'isReservePriceReached': value['isReservePriceReached'],
84
88
  'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
85
89
  'currencyCode': value['currencyCode'],
86
90
  'startDate': ((value['startDate']).toISOString()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.405",
3
+ "version": "0.0.406",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -82,6 +82,12 @@ export interface AuctionBidDto {
82
82
  * @memberof AuctionBidDto
83
83
  */
84
84
  isKycCompleted: boolean;
85
+ /**
86
+ * Auction Bid reached reserve price
87
+ * @type {boolean}
88
+ * @memberof AuctionBidDto
89
+ */
90
+ hasReachedReservePrice: boolean;
85
91
  /**
86
92
  * Auction Bidder metrics
87
93
  * @type {AuctionBidMetricsDto}
@@ -108,6 +114,7 @@ export function instanceOfAuctionBidDto(value: object): value is AuctionBidDto {
108
114
  if (!('isEmailVerified' in value) || value['isEmailVerified'] === undefined) return false;
109
115
  if (!('isPhoneVerified' in value) || value['isPhoneVerified'] === undefined) return false;
110
116
  if (!('isKycCompleted' in value) || value['isKycCompleted'] === undefined) return false;
117
+ if (!('hasReachedReservePrice' in value) || value['hasReachedReservePrice'] === undefined) return false;
111
118
  if (!('metrics' in value) || value['metrics'] === undefined) return false;
112
119
  if (!('email' in value) || value['email'] === undefined) return false;
113
120
  return true;
@@ -131,6 +138,7 @@ export function AuctionBidDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
131
138
  'isEmailVerified': json['isEmailVerified'],
132
139
  'isPhoneVerified': json['isPhoneVerified'],
133
140
  'isKycCompleted': json['isKycCompleted'],
141
+ 'hasReachedReservePrice': json['hasReachedReservePrice'],
134
142
  'metrics': AuctionBidMetricsDtoFromJSON(json['metrics']),
135
143
  'email': json['email'],
136
144
  };
@@ -155,6 +163,7 @@ export function AuctionBidDtoToJSONTyped(value?: AuctionBidDto | null, ignoreDis
155
163
  'isEmailVerified': value['isEmailVerified'],
156
164
  'isPhoneVerified': value['isPhoneVerified'],
157
165
  'isKycCompleted': value['isKycCompleted'],
166
+ 'hasReachedReservePrice': value['hasReachedReservePrice'],
158
167
  'metrics': AuctionBidMetricsDtoToJSON(value['metrics']),
159
168
  'email': value['email'],
160
169
  };
@@ -47,11 +47,17 @@ export interface AuctionDto {
47
47
  */
48
48
  minimumBid: MoneyDto;
49
49
  /**
50
- * Auction reserve price
51
- * @type {MoneyDto}
50
+ * Auction has reserve price
51
+ * @type {boolean}
52
+ * @memberof AuctionDto
53
+ */
54
+ hasReservePrice: boolean;
55
+ /**
56
+ * Auction reserve price was reached
57
+ * @type {boolean}
52
58
  * @memberof AuctionDto
53
59
  */
54
- reservePrice: MoneyDto | null;
60
+ isReservePriceReached: boolean;
55
61
  /**
56
62
  * Auction highest bid
57
63
  * @type {MoneyDto}
@@ -108,7 +114,8 @@ export interface AuctionDto {
108
114
  export function instanceOfAuctionDto(value: object): value is AuctionDto {
109
115
  if (!('id' in value) || value['id'] === undefined) return false;
110
116
  if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
111
- if (!('reservePrice' in value) || value['reservePrice'] === undefined) return false;
117
+ if (!('hasReservePrice' in value) || value['hasReservePrice'] === undefined) return false;
118
+ if (!('isReservePriceReached' in value) || value['isReservePriceReached'] === undefined) return false;
112
119
  if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
113
120
  if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
114
121
  if (!('startDate' in value) || value['startDate'] === undefined) return false;
@@ -132,7 +139,8 @@ export function AuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
132
139
 
133
140
  'id': json['id'],
134
141
  'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
135
- 'reservePrice': MoneyDtoFromJSON(json['reservePrice']),
142
+ 'hasReservePrice': json['hasReservePrice'],
143
+ 'isReservePriceReached': json['isReservePriceReached'],
136
144
  'highestBid': MoneyDtoFromJSON(json['highestBid']),
137
145
  'currencyCode': json['currencyCode'],
138
146
  'startDate': (new Date(json['startDate'])),
@@ -157,7 +165,8 @@ export function AuctionDtoToJSONTyped(value?: AuctionDto | null, ignoreDiscrimin
157
165
 
158
166
  'id': value['id'],
159
167
  'minimumBid': MoneyDtoToJSON(value['minimumBid']),
160
- 'reservePrice': MoneyDtoToJSON(value['reservePrice']),
168
+ 'hasReservePrice': value['hasReservePrice'],
169
+ 'isReservePriceReached': value['isReservePriceReached'],
161
170
  'highestBid': MoneyDtoToJSON(value['highestBid']),
162
171
  'currencyCode': value['currencyCode'],
163
172
  'startDate': ((value['startDate']).toISOString()),