@randock/nameshift-api-client 0.0.357 → 0.0.358

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.357
1
+ ## @randock/nameshift-api-client@0.0.358
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.357 --save
39
+ npm install @randock/nameshift-api-client@0.0.358 --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
- f0638cedbbd380a3234dd7e7ad6a4fa850b891418b47dde289d0f57e55e1f53dc4f126f9a96cade95c994a6f049af234
47
+ 8574d748addb0c95628b00e8fe0e175e159bca3d3780a4fabdfaed8d91a20ab8733ac44ff10780d489bdc114a1f9f601
@@ -31,6 +31,12 @@ export interface AuctionListItemDto {
31
31
  * @memberof AuctionListItemDto
32
32
  */
33
33
  status: AuctionListItemDtoStatusEnum;
34
+ /**
35
+ * Initital auction minimum bid
36
+ * @type {MoneyDto}
37
+ * @memberof AuctionListItemDto
38
+ */
39
+ initialMinimumBid: MoneyDto;
34
40
  /**
35
41
  * Auction minimum bid
36
42
  * @type {MoneyDto}
@@ -97,6 +103,12 @@ export interface AuctionListItemDto {
97
103
  * @memberof AuctionListItemDto
98
104
  */
99
105
  bids: Array<AuctionBidDto>;
106
+ /**
107
+ * Account payment ID
108
+ * @type {string}
109
+ * @memberof AuctionListItemDto
110
+ */
111
+ accountPaymentId: string | null;
100
112
  }
101
113
  /**
102
114
  * @export
@@ -41,6 +41,8 @@ function instanceOfAuctionListItemDto(value) {
41
41
  return false;
42
42
  if (!('status' in value) || value['status'] === undefined)
43
43
  return false;
44
+ if (!('initialMinimumBid' in value) || value['initialMinimumBid'] === undefined)
45
+ return false;
44
46
  if (!('minimumBid' in value) || value['minimumBid'] === undefined)
45
47
  return false;
46
48
  if (!('reservePrice' in value) || value['reservePrice'] === undefined)
@@ -63,6 +65,8 @@ function instanceOfAuctionListItemDto(value) {
63
65
  return false;
64
66
  if (!('bids' in value) || value['bids'] === undefined)
65
67
  return false;
68
+ if (!('accountPaymentId' in value) || value['accountPaymentId'] === undefined)
69
+ return false;
66
70
  return true;
67
71
  }
68
72
  function AuctionListItemDtoFromJSON(json) {
@@ -75,6 +79,7 @@ function AuctionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
75
79
  return {
76
80
  'id': json['id'],
77
81
  'status': json['status'],
82
+ 'initialMinimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['initialMinimumBid']),
78
83
  'minimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minimumBid']),
79
84
  'reservePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['reservePrice']),
80
85
  'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
@@ -86,6 +91,7 @@ function AuctionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
86
91
  'sellerAccount': (0, AuctionListItemDtoSellerAccount_1.AuctionListItemDtoSellerAccountFromJSON)(json['sellerAccount']),
87
92
  'numberOfBids': json['numberOfBids'],
88
93
  'bids': (json['bids'].map(AuctionBidDto_1.AuctionBidDtoFromJSON)),
94
+ 'accountPaymentId': json['accountPaymentId'],
89
95
  };
90
96
  }
91
97
  function AuctionListItemDtoToJSON(json) {
@@ -99,6 +105,7 @@ function AuctionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
99
105
  return {
100
106
  'id': value['id'],
101
107
  'status': value['status'],
108
+ 'initialMinimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['initialMinimumBid']),
102
109
  'minimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['minimumBid']),
103
110
  'reservePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['reservePrice']),
104
111
  'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
@@ -110,5 +117,6 @@ function AuctionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
110
117
  'sellerAccount': (0, AuctionListItemDtoSellerAccount_1.AuctionListItemDtoSellerAccountToJSON)(value['sellerAccount']),
111
118
  'numberOfBids': value['numberOfBids'],
112
119
  'bids': (value['bids'].map(AuctionBidDto_1.AuctionBidDtoToJSON)),
120
+ 'accountPaymentId': value['accountPaymentId'],
113
121
  };
114
122
  }
@@ -31,6 +31,12 @@ export interface SellerAuctionListItemDto {
31
31
  * @memberof SellerAuctionListItemDto
32
32
  */
33
33
  status: SellerAuctionListItemDtoStatusEnum;
34
+ /**
35
+ * Initial auction minimum bid
36
+ * @type {MoneyDto}
37
+ * @memberof SellerAuctionListItemDto
38
+ */
39
+ initialMinimumBid: MoneyDto;
34
40
  /**
35
41
  * Auction minimum bid
36
42
  * @type {MoneyDto}
@@ -41,6 +41,8 @@ function instanceOfSellerAuctionListItemDto(value) {
41
41
  return false;
42
42
  if (!('status' in value) || value['status'] === undefined)
43
43
  return false;
44
+ if (!('initialMinimumBid' in value) || value['initialMinimumBid'] === undefined)
45
+ return false;
44
46
  if (!('minimumBid' in value) || value['minimumBid'] === undefined)
45
47
  return false;
46
48
  if (!('reservePrice' in value) || value['reservePrice'] === undefined)
@@ -77,6 +79,7 @@ function SellerAuctionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
77
79
  return {
78
80
  'id': json['id'],
79
81
  'status': json['status'],
82
+ 'initialMinimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['initialMinimumBid']),
80
83
  'minimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minimumBid']),
81
84
  'reservePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['reservePrice']),
82
85
  'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
@@ -102,6 +105,7 @@ function SellerAuctionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
102
105
  return {
103
106
  'id': value['id'],
104
107
  'status': value['status'],
108
+ 'initialMinimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['initialMinimumBid']),
105
109
  'minimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['minimumBid']),
106
110
  'reservePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['reservePrice']),
107
111
  'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.357",
3
+ "version": "0.0.358",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -60,6 +60,12 @@ export interface AuctionListItemDto {
60
60
  * @memberof AuctionListItemDto
61
61
  */
62
62
  status: AuctionListItemDtoStatusEnum;
63
+ /**
64
+ * Initital auction minimum bid
65
+ * @type {MoneyDto}
66
+ * @memberof AuctionListItemDto
67
+ */
68
+ initialMinimumBid: MoneyDto;
63
69
  /**
64
70
  * Auction minimum bid
65
71
  * @type {MoneyDto}
@@ -126,6 +132,12 @@ export interface AuctionListItemDto {
126
132
  * @memberof AuctionListItemDto
127
133
  */
128
134
  bids: Array<AuctionBidDto>;
135
+ /**
136
+ * Account payment ID
137
+ * @type {string}
138
+ * @memberof AuctionListItemDto
139
+ */
140
+ accountPaymentId: string | null;
129
141
  }
130
142
 
131
143
 
@@ -148,6 +160,7 @@ export type AuctionListItemDtoStatusEnum = typeof AuctionListItemDtoStatusEnum[k
148
160
  export function instanceOfAuctionListItemDto(value: object): value is AuctionListItemDto {
149
161
  if (!('id' in value) || value['id'] === undefined) return false;
150
162
  if (!('status' in value) || value['status'] === undefined) return false;
163
+ if (!('initialMinimumBid' in value) || value['initialMinimumBid'] === undefined) return false;
151
164
  if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
152
165
  if (!('reservePrice' in value) || value['reservePrice'] === undefined) return false;
153
166
  if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
@@ -159,6 +172,7 @@ export function instanceOfAuctionListItemDto(value: object): value is AuctionLis
159
172
  if (!('sellerAccount' in value) || value['sellerAccount'] === undefined) return false;
160
173
  if (!('numberOfBids' in value) || value['numberOfBids'] === undefined) return false;
161
174
  if (!('bids' in value) || value['bids'] === undefined) return false;
175
+ if (!('accountPaymentId' in value) || value['accountPaymentId'] === undefined) return false;
162
176
  return true;
163
177
  }
164
178
 
@@ -174,6 +188,7 @@ export function AuctionListItemDtoFromJSONTyped(json: any, ignoreDiscriminator:
174
188
 
175
189
  'id': json['id'],
176
190
  'status': json['status'],
191
+ 'initialMinimumBid': MoneyDtoFromJSON(json['initialMinimumBid']),
177
192
  'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
178
193
  'reservePrice': MoneyDtoFromJSON(json['reservePrice']),
179
194
  'highestBid': MoneyDtoFromJSON(json['highestBid']),
@@ -185,6 +200,7 @@ export function AuctionListItemDtoFromJSONTyped(json: any, ignoreDiscriminator:
185
200
  'sellerAccount': AuctionListItemDtoSellerAccountFromJSON(json['sellerAccount']),
186
201
  'numberOfBids': json['numberOfBids'],
187
202
  'bids': ((json['bids'] as Array<any>).map(AuctionBidDtoFromJSON)),
203
+ 'accountPaymentId': json['accountPaymentId'],
188
204
  };
189
205
  }
190
206
 
@@ -201,6 +217,7 @@ export function AuctionListItemDtoToJSONTyped(value?: AuctionListItemDto | null,
201
217
 
202
218
  'id': value['id'],
203
219
  'status': value['status'],
220
+ 'initialMinimumBid': MoneyDtoToJSON(value['initialMinimumBid']),
204
221
  'minimumBid': MoneyDtoToJSON(value['minimumBid']),
205
222
  'reservePrice': MoneyDtoToJSON(value['reservePrice']),
206
223
  'highestBid': MoneyDtoToJSON(value['highestBid']),
@@ -212,6 +229,7 @@ export function AuctionListItemDtoToJSONTyped(value?: AuctionListItemDto | null,
212
229
  'sellerAccount': AuctionListItemDtoSellerAccountToJSON(value['sellerAccount']),
213
230
  'numberOfBids': value['numberOfBids'],
214
231
  'bids': ((value['bids'] as Array<any>).map(AuctionBidDtoToJSON)),
232
+ 'accountPaymentId': value['accountPaymentId'],
215
233
  };
216
234
  }
217
235
 
@@ -60,6 +60,12 @@ export interface SellerAuctionListItemDto {
60
60
  * @memberof SellerAuctionListItemDto
61
61
  */
62
62
  status: SellerAuctionListItemDtoStatusEnum;
63
+ /**
64
+ * Initial auction minimum bid
65
+ * @type {MoneyDto}
66
+ * @memberof SellerAuctionListItemDto
67
+ */
68
+ initialMinimumBid: MoneyDto;
63
69
  /**
64
70
  * Auction minimum bid
65
71
  * @type {MoneyDto}
@@ -154,6 +160,7 @@ export type SellerAuctionListItemDtoStatusEnum = typeof SellerAuctionListItemDto
154
160
  export function instanceOfSellerAuctionListItemDto(value: object): value is SellerAuctionListItemDto {
155
161
  if (!('id' in value) || value['id'] === undefined) return false;
156
162
  if (!('status' in value) || value['status'] === undefined) return false;
163
+ if (!('initialMinimumBid' in value) || value['initialMinimumBid'] === undefined) return false;
157
164
  if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
158
165
  if (!('reservePrice' in value) || value['reservePrice'] === undefined) return false;
159
166
  if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
@@ -181,6 +188,7 @@ export function SellerAuctionListItemDtoFromJSONTyped(json: any, ignoreDiscrimin
181
188
 
182
189
  'id': json['id'],
183
190
  'status': json['status'],
191
+ 'initialMinimumBid': MoneyDtoFromJSON(json['initialMinimumBid']),
184
192
  'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
185
193
  'reservePrice': MoneyDtoFromJSON(json['reservePrice']),
186
194
  'highestBid': MoneyDtoFromJSON(json['highestBid']),
@@ -209,6 +217,7 @@ export function SellerAuctionListItemDtoToJSONTyped(value?: SellerAuctionListIte
209
217
 
210
218
  'id': value['id'],
211
219
  'status': value['status'],
220
+ 'initialMinimumBid': MoneyDtoToJSON(value['initialMinimumBid']),
212
221
  'minimumBid': MoneyDtoToJSON(value['minimumBid']),
213
222
  'reservePrice': MoneyDtoToJSON(value['reservePrice']),
214
223
  'highestBid': MoneyDtoToJSON(value['highestBid']),