@randock/nameshift-api-client 0.0.50 → 0.0.52

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.50
1
+ ## @randock/nameshift-api-client@0.0.52
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.50 --save
39
+ npm install @randock/nameshift-api-client@0.0.52 --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
- 12d38b1e6cd2ef344d8359c5f38e1ceb31d4e5f0bc6d8a0f33df89e1d8b56686a5feba47ce653232407afd5dd302a5d9
47
+ 1386ce900b8d4349730cfcff1a6e65c70cc125085350b4d4d719b7bc593cdb584c24b665479ec27f04757d248a8201f3
@@ -22,6 +22,18 @@ export interface DomainDto {
22
22
  * @memberof DomainDto
23
23
  */
24
24
  id: string;
25
+ /**
26
+ * The current owner for the domain
27
+ * @type {string}
28
+ * @memberof DomainDto
29
+ */
30
+ accountId: string;
31
+ /**
32
+ * The hijacker for the domain
33
+ * @type {string}
34
+ * @memberof DomainDto
35
+ */
36
+ hijackerId: string | null;
25
37
  /**
26
38
  * The TLD for this domain.
27
39
  * @type {string}
@@ -48,11 +60,11 @@ export interface DomainDto {
48
60
  name: string;
49
61
  /**
50
62
  * /**
51
- * The domain's currency
63
+ * The domain's currency code (ISO 4217)
52
64
  * @type {string}
53
65
  * @memberof DomainDto
54
66
  */
55
- currency: string;
67
+ currencyCode: string;
56
68
  /**
57
69
  * The BIN
58
70
  * @type {MoneyDto}
@@ -21,6 +21,10 @@ var MoneyDto_1 = require("./MoneyDto");
21
21
  function instanceOfDomainDto(value) {
22
22
  if (!('id' in value) || value['id'] === undefined)
23
23
  return false;
24
+ if (!('accountId' in value) || value['accountId'] === undefined)
25
+ return false;
26
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined)
27
+ return false;
24
28
  if (!('tld' in value) || value['tld'] === undefined)
25
29
  return false;
26
30
  if (!('verified' in value) || value['verified'] === undefined)
@@ -29,7 +33,7 @@ function instanceOfDomainDto(value) {
29
33
  return false;
30
34
  if (!('name' in value) || value['name'] === undefined)
31
35
  return false;
32
- if (!('currency' in value) || value['currency'] === undefined)
36
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
33
37
  return false;
34
38
  if (!('buyNow' in value) || value['buyNow'] === undefined)
35
39
  return false;
@@ -48,11 +52,13 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
48
52
  }
49
53
  return {
50
54
  'id': json['id'],
55
+ 'accountId': json['accountId'],
56
+ 'hijackerId': json['hijackerId'],
51
57
  'tld': json['tld'],
52
58
  'verified': json['verified'],
53
59
  'nameservers': json['nameservers'],
54
60
  'name': json['name'],
55
- 'currency': json['currency'],
61
+ 'currencyCode': json['currencyCode'],
56
62
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
57
63
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
58
64
  };
@@ -64,11 +70,13 @@ function DomainDtoToJSON(value) {
64
70
  }
65
71
  return {
66
72
  'id': value['id'],
73
+ 'accountId': value['accountId'],
74
+ 'hijackerId': value['hijackerId'],
67
75
  'tld': value['tld'],
68
76
  'verified': value['verified'],
69
77
  'nameservers': value['nameservers'],
70
78
  'name': value['name'],
71
- 'currency': value['currency'],
79
+ 'currencyCode': value['currencyCode'],
72
80
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
73
81
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
74
82
  };
@@ -23,6 +23,18 @@ export interface IntersectionDomainDtoWithAccountDto {
23
23
  * @memberof IntersectionDomainDtoWithAccountDto
24
24
  */
25
25
  id: string;
26
+ /**
27
+ * The current owner for the domain
28
+ * @type {string}
29
+ * @memberof IntersectionDomainDtoWithAccountDto
30
+ */
31
+ accountId: string;
32
+ /**
33
+ * The hijacker for the domain
34
+ * @type {string}
35
+ * @memberof IntersectionDomainDtoWithAccountDto
36
+ */
37
+ hijackerId: string | null;
26
38
  /**
27
39
  * The TLD for this domain.
28
40
  * @type {string}
@@ -49,11 +61,11 @@ export interface IntersectionDomainDtoWithAccountDto {
49
61
  name: string;
50
62
  /**
51
63
  * /**
52
- * The domain's currency
64
+ * The domain's currency code (ISO 4217)
53
65
  * @type {string}
54
66
  * @memberof IntersectionDomainDtoWithAccountDto
55
67
  */
56
- currency: string;
68
+ currencyCode: string;
57
69
  /**
58
70
  * The BIN
59
71
  * @type {MoneyDto}
@@ -22,6 +22,10 @@ var AccountDto_1 = require("./AccountDto");
22
22
  function instanceOfIntersectionDomainDtoWithAccountDto(value) {
23
23
  if (!('id' in value) || value['id'] === undefined)
24
24
  return false;
25
+ if (!('accountId' in value) || value['accountId'] === undefined)
26
+ return false;
27
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined)
28
+ return false;
25
29
  if (!('tld' in value) || value['tld'] === undefined)
26
30
  return false;
27
31
  if (!('verified' in value) || value['verified'] === undefined)
@@ -30,7 +34,7 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
30
34
  return false;
31
35
  if (!('name' in value) || value['name'] === undefined)
32
36
  return false;
33
- if (!('currency' in value) || value['currency'] === undefined)
37
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
34
38
  return false;
35
39
  if (!('buyNow' in value) || value['buyNow'] === undefined)
36
40
  return false;
@@ -51,11 +55,13 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
51
55
  }
52
56
  return {
53
57
  'id': json['id'],
58
+ 'accountId': json['accountId'],
59
+ 'hijackerId': json['hijackerId'],
54
60
  'tld': json['tld'],
55
61
  'verified': json['verified'],
56
62
  'nameservers': json['nameservers'],
57
63
  'name': json['name'],
58
- 'currency': json['currency'],
64
+ 'currencyCode': json['currencyCode'],
59
65
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
60
66
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
61
67
  'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
@@ -68,11 +74,13 @@ function IntersectionDomainDtoWithAccountDtoToJSON(value) {
68
74
  }
69
75
  return {
70
76
  'id': value['id'],
77
+ 'accountId': value['accountId'],
78
+ 'hijackerId': value['hijackerId'],
71
79
  'tld': value['tld'],
72
80
  'verified': value['verified'],
73
81
  'nameservers': value['nameservers'],
74
82
  'name': value['name'],
75
- 'currency': value['currency'],
83
+ 'currencyCode': value['currencyCode'],
76
84
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
77
85
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
78
86
  'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
@@ -23,6 +23,18 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
23
23
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
24
24
  */
25
25
  id: string;
26
+ /**
27
+ * The current owner for the domain
28
+ * @type {string}
29
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
30
+ */
31
+ accountId: string;
32
+ /**
33
+ * The hijacker for the domain
34
+ * @type {string}
35
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
36
+ */
37
+ hijackerId: string | null;
26
38
  /**
27
39
  * The TLD for this domain.
28
40
  * @type {string}
@@ -49,11 +61,11 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
49
61
  name: string;
50
62
  /**
51
63
  * /**
52
- * The domain's currency
64
+ * The domain's currency code (ISO 4217)
53
65
  * @type {string}
54
66
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
55
67
  */
56
- currency: string;
68
+ currencyCode: string;
57
69
  /**
58
70
  * The BIN
59
71
  * @type {MoneyDto}
@@ -22,6 +22,10 @@ var AccountDto_1 = require("./AccountDto");
22
22
  function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
23
23
  if (!('id' in value) || value['id'] === undefined)
24
24
  return false;
25
+ if (!('accountId' in value) || value['accountId'] === undefined)
26
+ return false;
27
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined)
28
+ return false;
25
29
  if (!('tld' in value) || value['tld'] === undefined)
26
30
  return false;
27
31
  if (!('verified' in value) || value['verified'] === undefined)
@@ -30,7 +34,7 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
30
34
  return false;
31
35
  if (!('name' in value) || value['name'] === undefined)
32
36
  return false;
33
- if (!('currency' in value) || value['currency'] === undefined)
37
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
34
38
  return false;
35
39
  if (!('buyNow' in value) || value['buyNow'] === undefined)
36
40
  return false;
@@ -53,11 +57,13 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
53
57
  }
54
58
  return {
55
59
  'id': json['id'],
60
+ 'accountId': json['accountId'],
61
+ 'hijackerId': json['hijackerId'],
56
62
  'tld': json['tld'],
57
63
  'verified': json['verified'],
58
64
  'nameservers': json['nameservers'],
59
65
  'name': json['name'],
60
- 'currency': json['currency'],
66
+ 'currencyCode': json['currencyCode'],
61
67
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
62
68
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
63
69
  'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
@@ -71,11 +77,13 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value) {
71
77
  }
72
78
  return {
73
79
  'id': value['id'],
80
+ 'accountId': value['accountId'],
81
+ 'hijackerId': value['hijackerId'],
74
82
  'tld': value['tld'],
75
83
  'verified': value['verified'],
76
84
  'nameservers': value['nameservers'],
77
85
  'name': value['name'],
78
- 'currency': value['currency'],
86
+ 'currencyCode': value['currencyCode'],
79
87
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
80
88
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
81
89
  'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
@@ -28,6 +28,12 @@ export interface UpdateDomainInput {
28
28
  * @memberof UpdateDomainInput
29
29
  */
30
30
  minOffer?: MoneyInput;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof UpdateDomainInput
35
+ */
36
+ currencyCode?: string;
31
37
  }
32
38
  /**
33
39
  * Check if a given object implements the UpdateDomainInput interface.
@@ -33,6 +33,7 @@ function UpdateDomainInputFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return {
34
34
  'bin': json['bin'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['bin']),
35
35
  'minOffer': json['minOffer'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['minOffer']),
36
+ 'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
36
37
  };
37
38
  }
38
39
  exports.UpdateDomainInputFromJSONTyped = UpdateDomainInputFromJSONTyped;
@@ -43,6 +44,7 @@ function UpdateDomainInputToJSON(value) {
43
44
  return {
44
45
  'bin': (0, MoneyInput_1.MoneyInputToJSON)(value['bin']),
45
46
  'minOffer': (0, MoneyInput_1.MoneyInputToJSON)(value['minOffer']),
47
+ 'currencyCode': value['currencyCode'],
46
48
  };
47
49
  }
48
50
  exports.UpdateDomainInputToJSON = UpdateDomainInputToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -32,6 +32,18 @@ export interface DomainDto {
32
32
  * @memberof DomainDto
33
33
  */
34
34
  id: string;
35
+ /**
36
+ * The current owner for the domain
37
+ * @type {string}
38
+ * @memberof DomainDto
39
+ */
40
+ accountId: string;
41
+ /**
42
+ * The hijacker for the domain
43
+ * @type {string}
44
+ * @memberof DomainDto
45
+ */
46
+ hijackerId: string | null;
35
47
  /**
36
48
  * The TLD for this domain.
37
49
  * @type {string}
@@ -58,11 +70,11 @@ export interface DomainDto {
58
70
  name: string;
59
71
  /**
60
72
  * /**
61
- * The domain's currency
73
+ * The domain's currency code (ISO 4217)
62
74
  * @type {string}
63
75
  * @memberof DomainDto
64
76
  */
65
- currency: string;
77
+ currencyCode: string;
66
78
  /**
67
79
  * The BIN
68
80
  * @type {MoneyDto}
@@ -82,11 +94,13 @@ export interface DomainDto {
82
94
  */
83
95
  export function instanceOfDomainDto(value: object): value is DomainDto {
84
96
  if (!('id' in value) || value['id'] === undefined) return false;
97
+ if (!('accountId' in value) || value['accountId'] === undefined) return false;
98
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
85
99
  if (!('tld' in value) || value['tld'] === undefined) return false;
86
100
  if (!('verified' in value) || value['verified'] === undefined) return false;
87
101
  if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
88
102
  if (!('name' in value) || value['name'] === undefined) return false;
89
- if (!('currency' in value) || value['currency'] === undefined) return false;
103
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
90
104
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
91
105
  if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
92
106
  return true;
@@ -103,11 +117,13 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
103
117
  return {
104
118
 
105
119
  'id': json['id'],
120
+ 'accountId': json['accountId'],
121
+ 'hijackerId': json['hijackerId'],
106
122
  'tld': json['tld'],
107
123
  'verified': json['verified'],
108
124
  'nameservers': json['nameservers'],
109
125
  'name': json['name'],
110
- 'currency': json['currency'],
126
+ 'currencyCode': json['currencyCode'],
111
127
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
112
128
  'minOffer': MoneyDtoFromJSON(json['minOffer']),
113
129
  };
@@ -120,11 +136,13 @@ export function DomainDtoToJSON(value?: DomainDto | null): any {
120
136
  return {
121
137
 
122
138
  'id': value['id'],
139
+ 'accountId': value['accountId'],
140
+ 'hijackerId': value['hijackerId'],
123
141
  'tld': value['tld'],
124
142
  'verified': value['verified'],
125
143
  'nameservers': value['nameservers'],
126
144
  'name': value['name'],
127
- 'currency': value['currency'],
145
+ 'currencyCode': value['currencyCode'],
128
146
  'buyNow': MoneyDtoToJSON(value['buyNow']),
129
147
  'minOffer': MoneyDtoToJSON(value['minOffer']),
130
148
  };
@@ -38,6 +38,18 @@ export interface IntersectionDomainDtoWithAccountDto {
38
38
  * @memberof IntersectionDomainDtoWithAccountDto
39
39
  */
40
40
  id: string;
41
+ /**
42
+ * The current owner for the domain
43
+ * @type {string}
44
+ * @memberof IntersectionDomainDtoWithAccountDto
45
+ */
46
+ accountId: string;
47
+ /**
48
+ * The hijacker for the domain
49
+ * @type {string}
50
+ * @memberof IntersectionDomainDtoWithAccountDto
51
+ */
52
+ hijackerId: string | null;
41
53
  /**
42
54
  * The TLD for this domain.
43
55
  * @type {string}
@@ -64,11 +76,11 @@ export interface IntersectionDomainDtoWithAccountDto {
64
76
  name: string;
65
77
  /**
66
78
  * /**
67
- * The domain's currency
79
+ * The domain's currency code (ISO 4217)
68
80
  * @type {string}
69
81
  * @memberof IntersectionDomainDtoWithAccountDto
70
82
  */
71
- currency: string;
83
+ currencyCode: string;
72
84
  /**
73
85
  * The BIN
74
86
  * @type {MoneyDto}
@@ -94,11 +106,13 @@ export interface IntersectionDomainDtoWithAccountDto {
94
106
  */
95
107
  export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): value is IntersectionDomainDtoWithAccountDto {
96
108
  if (!('id' in value) || value['id'] === undefined) return false;
109
+ if (!('accountId' in value) || value['accountId'] === undefined) return false;
110
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
97
111
  if (!('tld' in value) || value['tld'] === undefined) return false;
98
112
  if (!('verified' in value) || value['verified'] === undefined) return false;
99
113
  if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
100
114
  if (!('name' in value) || value['name'] === undefined) return false;
101
- if (!('currency' in value) || value['currency'] === undefined) return false;
115
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
102
116
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
103
117
  if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
104
118
  if (!('account' in value) || value['account'] === undefined) return false;
@@ -116,11 +130,13 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
116
130
  return {
117
131
 
118
132
  'id': json['id'],
133
+ 'accountId': json['accountId'],
134
+ 'hijackerId': json['hijackerId'],
119
135
  'tld': json['tld'],
120
136
  'verified': json['verified'],
121
137
  'nameservers': json['nameservers'],
122
138
  'name': json['name'],
123
- 'currency': json['currency'],
139
+ 'currencyCode': json['currencyCode'],
124
140
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
125
141
  'minOffer': MoneyDtoFromJSON(json['minOffer']),
126
142
  'account': AccountDtoFromJSON(json['account']),
@@ -134,11 +150,13 @@ export function IntersectionDomainDtoWithAccountDtoToJSON(value?: IntersectionDo
134
150
  return {
135
151
 
136
152
  'id': value['id'],
153
+ 'accountId': value['accountId'],
154
+ 'hijackerId': value['hijackerId'],
137
155
  'tld': value['tld'],
138
156
  'verified': value['verified'],
139
157
  'nameservers': value['nameservers'],
140
158
  'name': value['name'],
141
- 'currency': value['currency'],
159
+ 'currencyCode': value['currencyCode'],
142
160
  'buyNow': MoneyDtoToJSON(value['buyNow']),
143
161
  'minOffer': MoneyDtoToJSON(value['minOffer']),
144
162
  'account': AccountDtoToJSON(value['account']),
@@ -38,6 +38,18 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
38
38
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
39
39
  */
40
40
  id: string;
41
+ /**
42
+ * The current owner for the domain
43
+ * @type {string}
44
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
45
+ */
46
+ accountId: string;
47
+ /**
48
+ * The hijacker for the domain
49
+ * @type {string}
50
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
51
+ */
52
+ hijackerId: string | null;
41
53
  /**
42
54
  * The TLD for this domain.
43
55
  * @type {string}
@@ -64,11 +76,11 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
64
76
  name: string;
65
77
  /**
66
78
  * /**
67
- * The domain's currency
79
+ * The domain's currency code (ISO 4217)
68
80
  * @type {string}
69
81
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
70
82
  */
71
- currency: string;
83
+ currencyCode: string;
72
84
  /**
73
85
  * The BIN
74
86
  * @type {MoneyDto}
@@ -100,11 +112,13 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
100
112
  */
101
113
  export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value: object): value is IntersectionDomainDtoWithHijackerDtoWithAccountDto {
102
114
  if (!('id' in value) || value['id'] === undefined) return false;
115
+ if (!('accountId' in value) || value['accountId'] === undefined) return false;
116
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
103
117
  if (!('tld' in value) || value['tld'] === undefined) return false;
104
118
  if (!('verified' in value) || value['verified'] === undefined) return false;
105
119
  if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
106
120
  if (!('name' in value) || value['name'] === undefined) return false;
107
- if (!('currency' in value) || value['currency'] === undefined) return false;
121
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
108
122
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
109
123
  if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
110
124
  if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
@@ -123,11 +137,13 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
123
137
  return {
124
138
 
125
139
  'id': json['id'],
140
+ 'accountId': json['accountId'],
141
+ 'hijackerId': json['hijackerId'],
126
142
  'tld': json['tld'],
127
143
  'verified': json['verified'],
128
144
  'nameservers': json['nameservers'],
129
145
  'name': json['name'],
130
- 'currency': json['currency'],
146
+ 'currencyCode': json['currencyCode'],
131
147
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
132
148
  'minOffer': MoneyDtoFromJSON(json['minOffer']),
133
149
  'hijacker': AccountDtoFromJSON(json['hijacker']),
@@ -142,11 +158,13 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value?:
142
158
  return {
143
159
 
144
160
  'id': value['id'],
161
+ 'accountId': value['accountId'],
162
+ 'hijackerId': value['hijackerId'],
145
163
  'tld': value['tld'],
146
164
  'verified': value['verified'],
147
165
  'nameservers': value['nameservers'],
148
166
  'name': value['name'],
149
- 'currency': value['currency'],
167
+ 'currencyCode': value['currencyCode'],
150
168
  'buyNow': MoneyDtoToJSON(value['buyNow']),
151
169
  'minOffer': MoneyDtoToJSON(value['minOffer']),
152
170
  'hijacker': AccountDtoToJSON(value['hijacker']),
@@ -38,6 +38,12 @@ export interface UpdateDomainInput {
38
38
  * @memberof UpdateDomainInput
39
39
  */
40
40
  minOffer?: MoneyInput;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof UpdateDomainInput
45
+ */
46
+ currencyCode?: string;
41
47
  }
42
48
 
43
49
  /**
@@ -59,6 +65,7 @@ export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: b
59
65
 
60
66
  'bin': json['bin'] == null ? undefined : MoneyInputFromJSON(json['bin']),
61
67
  'minOffer': json['minOffer'] == null ? undefined : MoneyInputFromJSON(json['minOffer']),
68
+ 'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
62
69
  };
63
70
  }
64
71
 
@@ -70,6 +77,7 @@ export function UpdateDomainInputToJSON(value?: UpdateDomainInput | null): any {
70
77
 
71
78
  'bin': MoneyInputToJSON(value['bin']),
72
79
  'minOffer': MoneyInputToJSON(value['minOffer']),
80
+ 'currencyCode': value['currencyCode'],
73
81
  };
74
82
  }
75
83