@randock/nameshift-api-client 0.0.340 → 0.0.341

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.340
1
+ ## @randock/nameshift-api-client@0.0.341
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.340 --save
39
+ npm install @randock/nameshift-api-client@0.0.341 --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
- d32dd46bceb82ad61c3a2b96a389443b4a8a8f4d22614af5a525cd63ac515df85aaf6d9e661c7a133f812ebd20de959b
47
+ f263586267e39b82cd4443dde03a33e420104cefd18f666a008c888842053a6c1db3eebbde1cebecaa86af96da92da3d
@@ -41,6 +41,12 @@ export interface AuctionDto {
41
41
  * @memberof AuctionDto
42
42
  */
43
43
  highestBid: MoneyDto | null;
44
+ /**
45
+ * Auction currency code
46
+ * @type {string}
47
+ * @memberof AuctionDto
48
+ */
49
+ currencyCode: string;
44
50
  /**
45
51
  * Auction start date
46
52
  * @type {Date}
@@ -32,6 +32,8 @@ function instanceOfAuctionDto(value) {
32
32
  return false;
33
33
  if (!('highestBid' in value) || value['highestBid'] === undefined)
34
34
  return false;
35
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
36
+ return false;
35
37
  if (!('startDate' in value) || value['startDate'] === undefined)
36
38
  return false;
37
39
  if (!('endDate' in value) || value['endDate'] === undefined)
@@ -58,6 +60,7 @@ function AuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'minimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minimumBid']),
59
61
  'reservePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['reservePrice']),
60
62
  'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
63
+ 'currencyCode': json['currencyCode'],
61
64
  'startDate': (new Date(json['startDate'])),
62
65
  'endDate': (new Date(json['endDate'])),
63
66
  'finished': json['finished'],
@@ -79,6 +82,7 @@ function AuctionDtoToJSONTyped(value, ignoreDiscriminator) {
79
82
  'minimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['minimumBid']),
80
83
  'reservePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['reservePrice']),
81
84
  'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
85
+ 'currencyCode': value['currencyCode'],
82
86
  'startDate': ((value['startDate']).toISOString()),
83
87
  'endDate': ((value['endDate']).toISOString()),
84
88
  'finished': value['finished'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.340",
3
+ "version": "0.0.341",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -58,6 +58,12 @@ export interface AuctionDto {
58
58
  * @memberof AuctionDto
59
59
  */
60
60
  highestBid: MoneyDto | null;
61
+ /**
62
+ * Auction currency code
63
+ * @type {string}
64
+ * @memberof AuctionDto
65
+ */
66
+ currencyCode: string;
61
67
  /**
62
68
  * Auction start date
63
69
  * @type {Date}
@@ -104,6 +110,7 @@ export function instanceOfAuctionDto(value: object): value is AuctionDto {
104
110
  if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
105
111
  if (!('reservePrice' in value) || value['reservePrice'] === undefined) return false;
106
112
  if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
113
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
107
114
  if (!('startDate' in value) || value['startDate'] === undefined) return false;
108
115
  if (!('endDate' in value) || value['endDate'] === undefined) return false;
109
116
  if (!('finished' in value) || value['finished'] === undefined) return false;
@@ -127,6 +134,7 @@ export function AuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
127
134
  'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
128
135
  'reservePrice': MoneyDtoFromJSON(json['reservePrice']),
129
136
  'highestBid': MoneyDtoFromJSON(json['highestBid']),
137
+ 'currencyCode': json['currencyCode'],
130
138
  'startDate': (new Date(json['startDate'])),
131
139
  'endDate': (new Date(json['endDate'])),
132
140
  'finished': json['finished'],
@@ -151,6 +159,7 @@ export function AuctionDtoToJSONTyped(value?: AuctionDto | null, ignoreDiscrimin
151
159
  'minimumBid': MoneyDtoToJSON(value['minimumBid']),
152
160
  'reservePrice': MoneyDtoToJSON(value['reservePrice']),
153
161
  'highestBid': MoneyDtoToJSON(value['highestBid']),
162
+ 'currencyCode': value['currencyCode'],
154
163
  'startDate': ((value['startDate']).toISOString()),
155
164
  'endDate': ((value['endDate']).toISOString()),
156
165
  'finished': value['finished'],