@randock/nameshift-api-client 0.0.53 → 0.0.55

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.
Files changed (33) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +3 -3
  3. package/dist/apis/DomainsApi.d.ts +2 -1
  4. package/dist/apis/DomainsApi.js +8 -3
  5. package/dist/models/DomainDto.d.ts +7 -1
  6. package/dist/models/DomainDto.js +4 -0
  7. package/dist/models/DomainSalesInformationDto.d.ts +13 -6
  8. package/dist/models/DomainSalesInformationDto.js +10 -5
  9. package/dist/models/DomainSalesInformationDtoBuyNowPrice.d.ts +37 -0
  10. package/dist/models/DomainSalesInformationDtoBuyNowPrice.js +51 -0
  11. package/dist/models/DomainSalesInformationDtoMinOfferPrice.d.ts +37 -0
  12. package/dist/models/DomainSalesInformationDtoMinOfferPrice.js +51 -0
  13. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -1
  14. package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
  15. package/dist/models/IntersectionDomainDtoWithDomainUrlDto.d.ts +99 -0
  16. package/dist/models/IntersectionDomainDtoWithDomainUrlDto.js +92 -0
  17. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -1
  18. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
  19. package/dist/models/List200Response.d.ts +3 -3
  20. package/dist/models/List200Response.js +3 -3
  21. package/dist/models/index.d.ts +3 -0
  22. package/dist/models/index.js +3 -0
  23. package/package.json +1 -1
  24. package/src/apis/DomainsApi.ts +13 -1
  25. package/src/models/DomainDto.ts +10 -1
  26. package/src/models/DomainSalesInformationDto.ts +29 -14
  27. package/src/models/DomainSalesInformationDtoBuyNowPrice.ts +70 -0
  28. package/src/models/DomainSalesInformationDtoMinOfferPrice.ts +70 -0
  29. package/src/models/IntersectionDomainDtoWithAccountDto.ts +10 -1
  30. package/src/models/IntersectionDomainDtoWithDomainUrlDto.ts +168 -0
  31. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +10 -1
  32. package/src/models/List200Response.ts +9 -9
  33. package/src/models/index.ts +3 -0
@@ -34,6 +34,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
34
34
  return false;
35
35
  if (!('name' in value) || value['name'] === undefined)
36
36
  return false;
37
+ if (!('displayName' in value) || value['displayName'] === undefined)
38
+ return false;
37
39
  if (!('currencyCode' in value) || value['currencyCode'] === undefined)
38
40
  return false;
39
41
  if (!('buyNow' in value) || value['buyNow'] === undefined)
@@ -63,6 +65,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
63
65
  'verified': json['verified'],
64
66
  'nameservers': json['nameservers'],
65
67
  'name': json['name'],
68
+ 'displayName': json['displayName'],
66
69
  'currencyCode': json['currencyCode'],
67
70
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
68
71
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
@@ -83,6 +86,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value) {
83
86
  'verified': value['verified'],
84
87
  'nameservers': value['nameservers'],
85
88
  'name': value['name'],
89
+ 'displayName': value['displayName'],
86
90
  'currencyCode': value['currencyCode'],
87
91
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
88
92
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
- import type { DomainDto } from './DomainDto';
13
+ import type { IntersectionDomainDtoWithDomainUrlDto } from './IntersectionDomainDtoWithDomainUrlDto';
14
14
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
15
  /**
16
16
  *
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
20
20
  export interface List200Response {
21
21
  /**
22
22
  *
23
- * @type {Array<DomainDto>}
23
+ * @type {Array<IntersectionDomainDtoWithDomainUrlDto>}
24
24
  * @memberof List200Response
25
25
  */
26
- data: Array<DomainDto>;
26
+ data: Array<IntersectionDomainDtoWithDomainUrlDto>;
27
27
  /**
28
28
  *
29
29
  * @type {PaginateResponseMeta}
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.List200ResponseToJSON = exports.List200ResponseFromJSONTyped = exports.List200ResponseFromJSON = exports.instanceOfList200Response = void 0;
17
17
  var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
18
- var DomainDto_1 = require("./DomainDto");
18
+ var IntersectionDomainDtoWithDomainUrlDto_1 = require("./IntersectionDomainDtoWithDomainUrlDto");
19
19
  var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
20
20
  /**
21
21
  * Check if a given object implements the List200Response interface.
@@ -39,7 +39,7 @@ function List200ResponseFromJSONTyped(json, ignoreDiscriminator) {
39
39
  return json;
40
40
  }
41
41
  return {
42
- 'data': (json['data'].map(DomainDto_1.DomainDtoFromJSON)),
42
+ 'data': (json['data'].map(IntersectionDomainDtoWithDomainUrlDto_1.IntersectionDomainDtoWithDomainUrlDtoFromJSON)),
43
43
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
44
44
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
45
45
  };
@@ -50,7 +50,7 @@ function List200ResponseToJSON(value) {
50
50
  return value;
51
51
  }
52
52
  return {
53
- 'data': (value['data'].map(DomainDto_1.DomainDtoToJSON)),
53
+ 'data': (value['data'].map(IntersectionDomainDtoWithDomainUrlDto_1.IntersectionDomainDtoWithDomainUrlDtoToJSON)),
54
54
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
55
55
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
56
56
  };
@@ -14,6 +14,8 @@ export * from './DashboardStatsDto';
14
14
  export * from './DeleteDomainsInput';
15
15
  export * from './DomainDto';
16
16
  export * from './DomainSalesInformationDto';
17
+ export * from './DomainSalesInformationDtoBuyNowPrice';
18
+ export * from './DomainSalesInformationDtoMinOfferPrice';
17
19
  export * from './DomainSellerDto';
18
20
  export * from './DomainTransferAgentDto';
19
21
  export * from './DomainTransferDomainDto';
@@ -25,6 +27,7 @@ export * from './GetAllDomainTransfers200Response';
25
27
  export * from './HttpException';
26
28
  export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
27
29
  export * from './IntersectionDomainDtoWithAccountDto';
30
+ export * from './IntersectionDomainDtoWithDomainUrlDto';
28
31
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
29
32
  export * from './IntersectionLeadDtoWithLeadDetailsDto';
30
33
  export * from './IntersectionLeadDtoWithListFieldsDto';
@@ -32,6 +32,8 @@ __exportStar(require("./DashboardStatsDto"), exports);
32
32
  __exportStar(require("./DeleteDomainsInput"), exports);
33
33
  __exportStar(require("./DomainDto"), exports);
34
34
  __exportStar(require("./DomainSalesInformationDto"), exports);
35
+ __exportStar(require("./DomainSalesInformationDtoBuyNowPrice"), exports);
36
+ __exportStar(require("./DomainSalesInformationDtoMinOfferPrice"), exports);
35
37
  __exportStar(require("./DomainSellerDto"), exports);
36
38
  __exportStar(require("./DomainTransferAgentDto"), exports);
37
39
  __exportStar(require("./DomainTransferDomainDto"), exports);
@@ -43,6 +45,7 @@ __exportStar(require("./GetAllDomainTransfers200Response"), exports);
43
45
  __exportStar(require("./HttpException"), exports);
44
46
  __exportStar(require("./IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto"), exports);
45
47
  __exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
48
+ __exportStar(require("./IntersectionDomainDtoWithDomainUrlDto"), exports);
46
49
  __exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
47
50
  __exportStar(require("./IntersectionLeadDtoWithLeadDetailsDto"), exports);
48
51
  __exportStar(require("./IntersectionLeadDtoWithListFieldsDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -88,6 +88,7 @@ export interface DomainsApiGetDomainTransferRequest {
88
88
  }
89
89
 
90
90
  export interface DomainsApiListRequest {
91
+ locale: string;
91
92
  filter?: object;
92
93
  page?: number;
93
94
  limit?: number;
@@ -429,8 +430,19 @@ export class DomainsApi extends runtime.BaseAPI {
429
430
  *
430
431
  */
431
432
  async listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response>> {
433
+ if (requestParameters['locale'] == null) {
434
+ throw new runtime.RequiredError(
435
+ 'locale',
436
+ 'Required parameter "locale" was null or undefined when calling list().'
437
+ );
438
+ }
439
+
432
440
  const queryParameters: any = {};
433
441
 
442
+ if (requestParameters['locale'] != null) {
443
+ queryParameters['locale'] = requestParameters['locale'];
444
+ }
445
+
434
446
  if (requestParameters['filter'] != null) {
435
447
  queryParameters['filter'] = requestParameters['filter'];
436
448
  }
@@ -470,7 +482,7 @@ export class DomainsApi extends runtime.BaseAPI {
470
482
  /**
471
483
  *
472
484
  */
473
- async list(requestParameters: DomainsApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response> {
485
+ async list(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response> {
474
486
  const response = await this.listRaw(requestParameters, initOverrides);
475
487
  return await response.value();
476
488
  }
@@ -63,11 +63,17 @@ export interface DomainDto {
63
63
  */
64
64
  nameservers: boolean;
65
65
  /**
66
- * The domain name (example.com)
66
+ * The ASCII domain name (example.com, xn--maana-pta.com)
67
67
  * @type {string}
68
68
  * @memberof DomainDto
69
69
  */
70
70
  name: string;
71
+ /**
72
+ * The unicode domain name (example.com, mañana.com)
73
+ * @type {string}
74
+ * @memberof DomainDto
75
+ */
76
+ displayName: string;
71
77
  /**
72
78
  * /**
73
79
  * The domain's currency code (ISO 4217)
@@ -100,6 +106,7 @@ export function instanceOfDomainDto(value: object): value is DomainDto {
100
106
  if (!('verified' in value) || value['verified'] === undefined) return false;
101
107
  if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
102
108
  if (!('name' in value) || value['name'] === undefined) return false;
109
+ if (!('displayName' in value) || value['displayName'] === undefined) return false;
103
110
  if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
104
111
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
105
112
  if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
@@ -123,6 +130,7 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
123
130
  'verified': json['verified'],
124
131
  'nameservers': json['nameservers'],
125
132
  'name': json['name'],
133
+ 'displayName': json['displayName'],
126
134
  'currencyCode': json['currencyCode'],
127
135
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
128
136
  'minOffer': MoneyDtoFromJSON(json['minOffer']),
@@ -142,6 +150,7 @@ export function DomainDtoToJSON(value?: DomainDto | null): any {
142
150
  'verified': value['verified'],
143
151
  'nameservers': value['nameservers'],
144
152
  'name': value['name'],
153
+ 'displayName': value['displayName'],
145
154
  'currencyCode': value['currencyCode'],
146
155
  'buyNow': MoneyDtoToJSON(value['buyNow']),
147
156
  'minOffer': MoneyDtoToJSON(value['minOffer']),
@@ -13,18 +13,24 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { DomainSalesInformationDtoMinOfferPrice } from './DomainSalesInformationDtoMinOfferPrice';
17
+ import {
18
+ DomainSalesInformationDtoMinOfferPriceFromJSON,
19
+ DomainSalesInformationDtoMinOfferPriceFromJSONTyped,
20
+ DomainSalesInformationDtoMinOfferPriceToJSON,
21
+ } from './DomainSalesInformationDtoMinOfferPrice';
16
22
  import type { DomainSellerDto } from './DomainSellerDto';
17
23
  import {
18
24
  DomainSellerDtoFromJSON,
19
25
  DomainSellerDtoFromJSONTyped,
20
26
  DomainSellerDtoToJSON,
21
27
  } from './DomainSellerDto';
22
- import type { MoneyDto } from './MoneyDto';
28
+ import type { DomainSalesInformationDtoBuyNowPrice } from './DomainSalesInformationDtoBuyNowPrice';
23
29
  import {
24
- MoneyDtoFromJSON,
25
- MoneyDtoFromJSONTyped,
26
- MoneyDtoToJSON,
27
- } from './MoneyDto';
30
+ DomainSalesInformationDtoBuyNowPriceFromJSON,
31
+ DomainSalesInformationDtoBuyNowPriceFromJSONTyped,
32
+ DomainSalesInformationDtoBuyNowPriceToJSON,
33
+ } from './DomainSalesInformationDtoBuyNowPrice';
28
34
 
29
35
  /**
30
36
  *
@@ -33,23 +39,29 @@ import {
33
39
  */
34
40
  export interface DomainSalesInformationDto {
35
41
  /**
36
- * The domain name (example.com)
42
+ * The domain name (example.com, xn--maana-pta.com)
37
43
  * @type {string}
38
44
  * @memberof DomainSalesInformationDto
39
45
  */
40
46
  domain: string;
47
+ /**
48
+ * The domain display name (example.com, mañana.com)
49
+ * @type {string}
50
+ * @memberof DomainSalesInformationDto
51
+ */
52
+ domainDisplayName: string;
41
53
  /**
42
54
  *
43
- * @type {MoneyDto}
55
+ * @type {DomainSalesInformationDtoBuyNowPrice}
44
56
  * @memberof DomainSalesInformationDto
45
57
  */
46
- buyNowPrice: MoneyDto | null;
58
+ buyNowPrice: DomainSalesInformationDtoBuyNowPrice | null;
47
59
  /**
48
60
  *
49
- * @type {MoneyDto}
61
+ * @type {DomainSalesInformationDtoMinOfferPrice}
50
62
  * @memberof DomainSalesInformationDto
51
63
  */
52
- minOfferPrice: MoneyDto | null;
64
+ minOfferPrice: DomainSalesInformationDtoMinOfferPrice | null;
53
65
  /**
54
66
  * The domain seller information
55
67
  * @type {DomainSellerDto}
@@ -63,6 +75,7 @@ export interface DomainSalesInformationDto {
63
75
  */
64
76
  export function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto {
65
77
  if (!('domain' in value) || value['domain'] === undefined) return false;
78
+ if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined) return false;
66
79
  if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined) return false;
67
80
  if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined) return false;
68
81
  if (!('seller' in value) || value['seller'] === undefined) return false;
@@ -80,8 +93,9 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
80
93
  return {
81
94
 
82
95
  'domain': json['domain'],
83
- 'buyNowPrice': MoneyDtoFromJSON(json['buyNowPrice']),
84
- 'minOfferPrice': MoneyDtoFromJSON(json['minOfferPrice']),
96
+ 'domainDisplayName': json['domainDisplayName'],
97
+ 'buyNowPrice': DomainSalesInformationDtoBuyNowPriceFromJSON(json['buyNowPrice']),
98
+ 'minOfferPrice': DomainSalesInformationDtoMinOfferPriceFromJSON(json['minOfferPrice']),
85
99
  'seller': DomainSellerDtoFromJSON(json['seller']),
86
100
  };
87
101
  }
@@ -93,8 +107,9 @@ export function DomainSalesInformationDtoToJSON(value?: DomainSalesInformationDt
93
107
  return {
94
108
 
95
109
  'domain': value['domain'],
96
- 'buyNowPrice': MoneyDtoToJSON(value['buyNowPrice']),
97
- 'minOfferPrice': MoneyDtoToJSON(value['minOfferPrice']),
110
+ 'domainDisplayName': value['domainDisplayName'],
111
+ 'buyNowPrice': DomainSalesInformationDtoBuyNowPriceToJSON(value['buyNowPrice']),
112
+ 'minOfferPrice': DomainSalesInformationDtoMinOfferPriceToJSON(value['minOfferPrice']),
98
113
  'seller': DomainSellerDtoToJSON(value['seller']),
99
114
  };
100
115
  }
@@ -0,0 +1,70 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * Buy now price or null if buy now is not enabled
18
+ * @export
19
+ * @interface DomainSalesInformationDtoBuyNowPrice
20
+ */
21
+ export interface DomainSalesInformationDtoBuyNowPrice {
22
+ /**
23
+ * Monetary amount, represented as an integer without scale/decimals.
24
+ * @type {number}
25
+ * @memberof DomainSalesInformationDtoBuyNowPrice
26
+ */
27
+ amount: number;
28
+ /**
29
+ * Three letter ISO currency code
30
+ * @type {string}
31
+ * @memberof DomainSalesInformationDtoBuyNowPrice
32
+ */
33
+ currencyCode: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the DomainSalesInformationDtoBuyNowPrice interface.
38
+ */
39
+ export function instanceOfDomainSalesInformationDtoBuyNowPrice(value: object): value is DomainSalesInformationDtoBuyNowPrice {
40
+ if (!('amount' in value) || value['amount'] === undefined) return false;
41
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function DomainSalesInformationDtoBuyNowPriceFromJSON(json: any): DomainSalesInformationDtoBuyNowPrice {
46
+ return DomainSalesInformationDtoBuyNowPriceFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function DomainSalesInformationDtoBuyNowPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDtoBuyNowPrice {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'amount': json['amount'],
56
+ 'currencyCode': json['currencyCode'],
57
+ };
58
+ }
59
+
60
+ export function DomainSalesInformationDtoBuyNowPriceToJSON(value?: DomainSalesInformationDtoBuyNowPrice | null): any {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+
66
+ 'amount': value['amount'],
67
+ 'currencyCode': value['currencyCode'],
68
+ };
69
+ }
70
+
@@ -0,0 +1,70 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * min offer price or null if offers are not enabled
18
+ * @export
19
+ * @interface DomainSalesInformationDtoMinOfferPrice
20
+ */
21
+ export interface DomainSalesInformationDtoMinOfferPrice {
22
+ /**
23
+ * Monetary amount, represented as an integer without scale/decimals.
24
+ * @type {number}
25
+ * @memberof DomainSalesInformationDtoMinOfferPrice
26
+ */
27
+ amount: number;
28
+ /**
29
+ * Three letter ISO currency code
30
+ * @type {string}
31
+ * @memberof DomainSalesInformationDtoMinOfferPrice
32
+ */
33
+ currencyCode: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the DomainSalesInformationDtoMinOfferPrice interface.
38
+ */
39
+ export function instanceOfDomainSalesInformationDtoMinOfferPrice(value: object): value is DomainSalesInformationDtoMinOfferPrice {
40
+ if (!('amount' in value) || value['amount'] === undefined) return false;
41
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function DomainSalesInformationDtoMinOfferPriceFromJSON(json: any): DomainSalesInformationDtoMinOfferPrice {
46
+ return DomainSalesInformationDtoMinOfferPriceFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function DomainSalesInformationDtoMinOfferPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDtoMinOfferPrice {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'amount': json['amount'],
56
+ 'currencyCode': json['currencyCode'],
57
+ };
58
+ }
59
+
60
+ export function DomainSalesInformationDtoMinOfferPriceToJSON(value?: DomainSalesInformationDtoMinOfferPrice | null): any {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+
66
+ 'amount': value['amount'],
67
+ 'currencyCode': value['currencyCode'],
68
+ };
69
+ }
70
+
@@ -69,11 +69,17 @@ export interface IntersectionDomainDtoWithAccountDto {
69
69
  */
70
70
  nameservers: boolean;
71
71
  /**
72
- * The domain name (example.com)
72
+ * The ASCII domain name (example.com, xn--maana-pta.com)
73
73
  * @type {string}
74
74
  * @memberof IntersectionDomainDtoWithAccountDto
75
75
  */
76
76
  name: string;
77
+ /**
78
+ * The unicode domain name (example.com, mañana.com)
79
+ * @type {string}
80
+ * @memberof IntersectionDomainDtoWithAccountDto
81
+ */
82
+ displayName: string;
77
83
  /**
78
84
  * /**
79
85
  * The domain's currency code (ISO 4217)
@@ -112,6 +118,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
112
118
  if (!('verified' in value) || value['verified'] === undefined) return false;
113
119
  if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
114
120
  if (!('name' in value) || value['name'] === undefined) return false;
121
+ if (!('displayName' in value) || value['displayName'] === undefined) return false;
115
122
  if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
116
123
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
117
124
  if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
@@ -136,6 +143,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
136
143
  'verified': json['verified'],
137
144
  'nameservers': json['nameservers'],
138
145
  'name': json['name'],
146
+ 'displayName': json['displayName'],
139
147
  'currencyCode': json['currencyCode'],
140
148
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
141
149
  'minOffer': MoneyDtoFromJSON(json['minOffer']),
@@ -156,6 +164,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSON(value?: IntersectionDo
156
164
  'verified': value['verified'],
157
165
  'nameservers': value['nameservers'],
158
166
  'name': value['name'],
167
+ 'displayName': value['displayName'],
159
168
  'currencyCode': value['currencyCode'],
160
169
  'buyNow': MoneyDtoToJSON(value['buyNow']),
161
170
  'minOffer': MoneyDtoToJSON(value['minOffer']),
@@ -0,0 +1,168 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { MoneyDto } from './MoneyDto';
17
+ import {
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ } from './MoneyDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface IntersectionDomainDtoWithDomainUrlDto
27
+ */
28
+ export interface IntersectionDomainDtoWithDomainUrlDto {
29
+ /**
30
+ * The uuid for this domain.
31
+ * @type {string}
32
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
33
+ */
34
+ id: string;
35
+ /**
36
+ * The current owner for the domain
37
+ * @type {string}
38
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
39
+ */
40
+ accountId: string;
41
+ /**
42
+ * The hijacker for the domain
43
+ * @type {string}
44
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
45
+ */
46
+ hijackerId: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
51
+ */
52
+ url: string;
53
+ /**
54
+ * The TLD for this domain.
55
+ * @type {string}
56
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
57
+ */
58
+ tld: string;
59
+ /**
60
+ * Whether this domain is verified by the owner (ns3, txt) or not.
61
+ * @type {boolean}
62
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
63
+ */
64
+ verified: boolean;
65
+ /**
66
+ * Whether the nameservers (ns1,ns2) are set or not.
67
+ * @type {boolean}
68
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
69
+ */
70
+ nameservers: boolean;
71
+ /**
72
+ * The ASCII domain name (example.com, xn--maana-pta.com)
73
+ * @type {string}
74
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
75
+ */
76
+ name: string;
77
+ /**
78
+ * The unicode domain name (example.com, mañana.com)
79
+ * @type {string}
80
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
81
+ */
82
+ displayName: string;
83
+ /**
84
+ * /**
85
+ * The domain's currency code (ISO 4217)
86
+ * @type {string}
87
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
88
+ */
89
+ currencyCode: string;
90
+ /**
91
+ * The BIN
92
+ * @type {MoneyDto}
93
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
94
+ */
95
+ buyNow: MoneyDto;
96
+ /**
97
+ * The minimum offer
98
+ * @type {MoneyDto}
99
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
100
+ */
101
+ minOffer: MoneyDto;
102
+ }
103
+
104
+ /**
105
+ * Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
106
+ */
107
+ export function instanceOfIntersectionDomainDtoWithDomainUrlDto(value: object): value is IntersectionDomainDtoWithDomainUrlDto {
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;
111
+ if (!('url' in value) || value['url'] === undefined) return false;
112
+ if (!('tld' in value) || value['tld'] === undefined) return false;
113
+ if (!('verified' in value) || value['verified'] === undefined) return false;
114
+ if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
115
+ if (!('name' in value) || value['name'] === undefined) return false;
116
+ if (!('displayName' in value) || value['displayName'] === undefined) return false;
117
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
118
+ if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
119
+ if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
120
+ return true;
121
+ }
122
+
123
+ export function IntersectionDomainDtoWithDomainUrlDtoFromJSON(json: any): IntersectionDomainDtoWithDomainUrlDto {
124
+ return IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, false);
125
+ }
126
+
127
+ export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithDomainUrlDto {
128
+ if (json == null) {
129
+ return json;
130
+ }
131
+ return {
132
+
133
+ 'id': json['id'],
134
+ 'accountId': json['accountId'],
135
+ 'hijackerId': json['hijackerId'],
136
+ 'url': json['url'],
137
+ 'tld': json['tld'],
138
+ 'verified': json['verified'],
139
+ 'nameservers': json['nameservers'],
140
+ 'name': json['name'],
141
+ 'displayName': json['displayName'],
142
+ 'currencyCode': json['currencyCode'],
143
+ 'buyNow': MoneyDtoFromJSON(json['buyNow']),
144
+ 'minOffer': MoneyDtoFromJSON(json['minOffer']),
145
+ };
146
+ }
147
+
148
+ export function IntersectionDomainDtoWithDomainUrlDtoToJSON(value?: IntersectionDomainDtoWithDomainUrlDto | null): any {
149
+ if (value == null) {
150
+ return value;
151
+ }
152
+ return {
153
+
154
+ 'id': value['id'],
155
+ 'accountId': value['accountId'],
156
+ 'hijackerId': value['hijackerId'],
157
+ 'url': value['url'],
158
+ 'tld': value['tld'],
159
+ 'verified': value['verified'],
160
+ 'nameservers': value['nameservers'],
161
+ 'name': value['name'],
162
+ 'displayName': value['displayName'],
163
+ 'currencyCode': value['currencyCode'],
164
+ 'buyNow': MoneyDtoToJSON(value['buyNow']),
165
+ 'minOffer': MoneyDtoToJSON(value['minOffer']),
166
+ };
167
+ }
168
+