@randock/nameshift-api-client 0.0.53 → 0.0.54

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.
@@ -42,6 +42,7 @@ src/models/GetAllDomainTransfers200Response.ts
42
42
  src/models/HttpException.ts
43
43
  src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts
44
44
  src/models/IntersectionDomainDtoWithAccountDto.ts
45
+ src/models/IntersectionDomainDtoWithDomainUrlDto.ts
45
46
  src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
46
47
  src/models/IntersectionLeadDtoWithLeadDetailsDto.ts
47
48
  src/models/IntersectionLeadDtoWithListFieldsDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.53
1
+ ## @randock/nameshift-api-client@0.0.54
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.53 --save
39
+ npm install @randock/nameshift-api-client@0.0.54 --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
- a5c5b964309b745f1f2778dbc910fa161ce4cfd07931e4f3c79684fc029a1d15fee5e643666c901f147815bfd56436a2
47
+ 579f249c9ee16d7bddf5636241f365a7bb1ae65c589730dba57f867160e3a5da2ac56fb52b46a29cf7ec84958e96e1a5
@@ -37,6 +37,7 @@ export interface DomainsApiGetDomainTransferRequest {
37
37
  transferId: string;
38
38
  }
39
39
  export interface DomainsApiListRequest {
40
+ locale: string;
40
41
  filter?: object;
41
42
  page?: number;
42
43
  limit?: number;
@@ -117,7 +118,7 @@ export declare class DomainsApi extends runtime.BaseAPI {
117
118
  /**
118
119
  *
119
120
  */
120
- list(requestParameters?: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response>;
121
+ list(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response>;
121
122
  /**
122
123
  *
123
124
  */
@@ -480,7 +480,13 @@ var DomainsApi = /** @class */ (function (_super) {
480
480
  return __generator(this, function (_a) {
481
481
  switch (_a.label) {
482
482
  case 0:
483
+ if (requestParameters['locale'] == null) {
484
+ throw new runtime.RequiredError('locale', 'Required parameter "locale" was null or undefined when calling list().');
485
+ }
483
486
  queryParameters = {};
487
+ if (requestParameters['locale'] != null) {
488
+ queryParameters['locale'] = requestParameters['locale'];
489
+ }
484
490
  if (requestParameters['filter'] != null) {
485
491
  queryParameters['filter'] = requestParameters['filter'];
486
492
  }
@@ -519,10 +525,9 @@ var DomainsApi = /** @class */ (function (_super) {
519
525
  /**
520
526
  *
521
527
  */
522
- DomainsApi.prototype.list = function () {
523
- return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
528
+ DomainsApi.prototype.list = function (requestParameters, initOverrides) {
529
+ return __awaiter(this, void 0, void 0, function () {
524
530
  var response;
525
- if (requestParameters === void 0) { requestParameters = {}; }
526
531
  return __generator(this, function (_a) {
527
532
  switch (_a.label) {
528
533
  case 0: return [4 /*yield*/, this.listRaw(requestParameters, initOverrides)];
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface IntersectionDomainDtoWithDomainUrlDto
17
+ */
18
+ export interface IntersectionDomainDtoWithDomainUrlDto {
19
+ /**
20
+ * The uuid for this domain.
21
+ * @type {string}
22
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
23
+ */
24
+ id: string;
25
+ /**
26
+ * The current owner for the domain
27
+ * @type {string}
28
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
29
+ */
30
+ accountId: string;
31
+ /**
32
+ * The hijacker for the domain
33
+ * @type {string}
34
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
35
+ */
36
+ hijackerId: string | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
41
+ */
42
+ url: string;
43
+ /**
44
+ * The TLD for this domain.
45
+ * @type {string}
46
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
47
+ */
48
+ tld: string;
49
+ /**
50
+ * Whether this domain is verified by the owner (ns3, txt) or not.
51
+ * @type {boolean}
52
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
53
+ */
54
+ verified: boolean;
55
+ /**
56
+ * Whether the nameservers (ns1,ns2) are set or not.
57
+ * @type {boolean}
58
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
59
+ */
60
+ nameservers: boolean;
61
+ /**
62
+ * The domain name (example.com)
63
+ * @type {string}
64
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
65
+ */
66
+ name: string;
67
+ /**
68
+ * /**
69
+ * The domain's currency code (ISO 4217)
70
+ * @type {string}
71
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
72
+ */
73
+ currencyCode: string;
74
+ /**
75
+ * The BIN
76
+ * @type {MoneyDto}
77
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
78
+ */
79
+ buyNow: MoneyDto;
80
+ /**
81
+ * The minimum offer
82
+ * @type {MoneyDto}
83
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
84
+ */
85
+ minOffer: MoneyDto;
86
+ }
87
+ /**
88
+ * Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
89
+ */
90
+ export declare function instanceOfIntersectionDomainDtoWithDomainUrlDto(value: object): value is IntersectionDomainDtoWithDomainUrlDto;
91
+ export declare function IntersectionDomainDtoWithDomainUrlDtoFromJSON(json: any): IntersectionDomainDtoWithDomainUrlDto;
92
+ export declare function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithDomainUrlDto;
93
+ export declare function IntersectionDomainDtoWithDomainUrlDtoToJSON(value?: IntersectionDomainDtoWithDomainUrlDto | null): any;
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.IntersectionDomainDtoWithDomainUrlDtoToJSON = exports.IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped = exports.IntersectionDomainDtoWithDomainUrlDtoFromJSON = exports.instanceOfIntersectionDomainDtoWithDomainUrlDto = void 0;
17
+ var MoneyDto_1 = require("./MoneyDto");
18
+ /**
19
+ * Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
20
+ */
21
+ function instanceOfIntersectionDomainDtoWithDomainUrlDto(value) {
22
+ if (!('id' in value) || value['id'] === undefined)
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;
28
+ if (!('url' in value) || value['url'] === undefined)
29
+ return false;
30
+ if (!('tld' in value) || value['tld'] === undefined)
31
+ return false;
32
+ if (!('verified' in value) || value['verified'] === undefined)
33
+ return false;
34
+ if (!('nameservers' in value) || value['nameservers'] === undefined)
35
+ return false;
36
+ if (!('name' in value) || value['name'] === undefined)
37
+ return false;
38
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
39
+ return false;
40
+ if (!('buyNow' in value) || value['buyNow'] === undefined)
41
+ return false;
42
+ if (!('minOffer' in value) || value['minOffer'] === undefined)
43
+ return false;
44
+ return true;
45
+ }
46
+ exports.instanceOfIntersectionDomainDtoWithDomainUrlDto = instanceOfIntersectionDomainDtoWithDomainUrlDto;
47
+ function IntersectionDomainDtoWithDomainUrlDtoFromJSON(json) {
48
+ return IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, false);
49
+ }
50
+ exports.IntersectionDomainDtoWithDomainUrlDtoFromJSON = IntersectionDomainDtoWithDomainUrlDtoFromJSON;
51
+ function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'id': json['id'],
57
+ 'accountId': json['accountId'],
58
+ 'hijackerId': json['hijackerId'],
59
+ 'url': json['url'],
60
+ 'tld': json['tld'],
61
+ 'verified': json['verified'],
62
+ 'nameservers': json['nameservers'],
63
+ 'name': json['name'],
64
+ 'currencyCode': json['currencyCode'],
65
+ 'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
66
+ 'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
67
+ };
68
+ }
69
+ exports.IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped = IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped;
70
+ function IntersectionDomainDtoWithDomainUrlDtoToJSON(value) {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+ return {
75
+ 'id': value['id'],
76
+ 'accountId': value['accountId'],
77
+ 'hijackerId': value['hijackerId'],
78
+ 'url': value['url'],
79
+ 'tld': value['tld'],
80
+ 'verified': value['verified'],
81
+ 'nameservers': value['nameservers'],
82
+ 'name': value['name'],
83
+ 'currencyCode': value['currencyCode'],
84
+ 'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
85
+ 'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
86
+ };
87
+ }
88
+ exports.IntersectionDomainDtoWithDomainUrlDtoToJSON = IntersectionDomainDtoWithDomainUrlDtoToJSON;
@@ -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
  };
@@ -25,6 +25,7 @@ export * from './GetAllDomainTransfers200Response';
25
25
  export * from './HttpException';
26
26
  export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
27
27
  export * from './IntersectionDomainDtoWithAccountDto';
28
+ export * from './IntersectionDomainDtoWithDomainUrlDto';
28
29
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
29
30
  export * from './IntersectionLeadDtoWithLeadDetailsDto';
30
31
  export * from './IntersectionLeadDtoWithListFieldsDto';
@@ -43,6 +43,7 @@ __exportStar(require("./GetAllDomainTransfers200Response"), exports);
43
43
  __exportStar(require("./HttpException"), exports);
44
44
  __exportStar(require("./IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto"), exports);
45
45
  __exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
46
+ __exportStar(require("./IntersectionDomainDtoWithDomainUrlDto"), exports);
46
47
  __exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
47
48
  __exportStar(require("./IntersectionLeadDtoWithLeadDetailsDto"), exports);
48
49
  __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.54",
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
  }
@@ -0,0 +1,159 @@
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 domain name (example.com)
73
+ * @type {string}
74
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
75
+ */
76
+ name: string;
77
+ /**
78
+ * /**
79
+ * The domain's currency code (ISO 4217)
80
+ * @type {string}
81
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
82
+ */
83
+ currencyCode: string;
84
+ /**
85
+ * The BIN
86
+ * @type {MoneyDto}
87
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
88
+ */
89
+ buyNow: MoneyDto;
90
+ /**
91
+ * The minimum offer
92
+ * @type {MoneyDto}
93
+ * @memberof IntersectionDomainDtoWithDomainUrlDto
94
+ */
95
+ minOffer: MoneyDto;
96
+ }
97
+
98
+ /**
99
+ * Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
100
+ */
101
+ export function instanceOfIntersectionDomainDtoWithDomainUrlDto(value: object): value is IntersectionDomainDtoWithDomainUrlDto {
102
+ if (!('id' in value) || value['id'] === undefined) return false;
103
+ if (!('accountId' in value) || value['accountId'] === undefined) return false;
104
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
105
+ if (!('url' in value) || value['url'] === undefined) return false;
106
+ if (!('tld' in value) || value['tld'] === undefined) return false;
107
+ if (!('verified' in value) || value['verified'] === undefined) return false;
108
+ if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
109
+ if (!('name' in value) || value['name'] === undefined) return false;
110
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
111
+ if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
112
+ if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
113
+ return true;
114
+ }
115
+
116
+ export function IntersectionDomainDtoWithDomainUrlDtoFromJSON(json: any): IntersectionDomainDtoWithDomainUrlDto {
117
+ return IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, false);
118
+ }
119
+
120
+ export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithDomainUrlDto {
121
+ if (json == null) {
122
+ return json;
123
+ }
124
+ return {
125
+
126
+ 'id': json['id'],
127
+ 'accountId': json['accountId'],
128
+ 'hijackerId': json['hijackerId'],
129
+ 'url': json['url'],
130
+ 'tld': json['tld'],
131
+ 'verified': json['verified'],
132
+ 'nameservers': json['nameservers'],
133
+ 'name': json['name'],
134
+ 'currencyCode': json['currencyCode'],
135
+ 'buyNow': MoneyDtoFromJSON(json['buyNow']),
136
+ 'minOffer': MoneyDtoFromJSON(json['minOffer']),
137
+ };
138
+ }
139
+
140
+ export function IntersectionDomainDtoWithDomainUrlDtoToJSON(value?: IntersectionDomainDtoWithDomainUrlDto | null): any {
141
+ if (value == null) {
142
+ return value;
143
+ }
144
+ return {
145
+
146
+ 'id': value['id'],
147
+ 'accountId': value['accountId'],
148
+ 'hijackerId': value['hijackerId'],
149
+ 'url': value['url'],
150
+ 'tld': value['tld'],
151
+ 'verified': value['verified'],
152
+ 'nameservers': value['nameservers'],
153
+ 'name': value['name'],
154
+ 'currencyCode': value['currencyCode'],
155
+ 'buyNow': MoneyDtoToJSON(value['buyNow']),
156
+ 'minOffer': MoneyDtoToJSON(value['minOffer']),
157
+ };
158
+ }
159
+
@@ -19,12 +19,12 @@ import {
19
19
  PaginateResponseLinksFromJSONTyped,
20
20
  PaginateResponseLinksToJSON,
21
21
  } from './PaginateResponseLinks';
22
- import type { DomainDto } from './DomainDto';
22
+ import type { IntersectionDomainDtoWithDomainUrlDto } from './IntersectionDomainDtoWithDomainUrlDto';
23
23
  import {
24
- DomainDtoFromJSON,
25
- DomainDtoFromJSONTyped,
26
- DomainDtoToJSON,
27
- } from './DomainDto';
24
+ IntersectionDomainDtoWithDomainUrlDtoFromJSON,
25
+ IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped,
26
+ IntersectionDomainDtoWithDomainUrlDtoToJSON,
27
+ } from './IntersectionDomainDtoWithDomainUrlDto';
28
28
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
29
29
  import {
30
30
  PaginateResponseMetaFromJSON,
@@ -40,10 +40,10 @@ import {
40
40
  export interface List200Response {
41
41
  /**
42
42
  *
43
- * @type {Array<DomainDto>}
43
+ * @type {Array<IntersectionDomainDtoWithDomainUrlDto>}
44
44
  * @memberof List200Response
45
45
  */
46
- data: Array<DomainDto>;
46
+ data: Array<IntersectionDomainDtoWithDomainUrlDto>;
47
47
  /**
48
48
  *
49
49
  * @type {PaginateResponseMeta}
@@ -78,7 +78,7 @@ export function List200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boo
78
78
  }
79
79
  return {
80
80
 
81
- 'data': ((json['data'] as Array<any>).map(DomainDtoFromJSON)),
81
+ 'data': ((json['data'] as Array<any>).map(IntersectionDomainDtoWithDomainUrlDtoFromJSON)),
82
82
  'meta': PaginateResponseMetaFromJSON(json['meta']),
83
83
  'links': PaginateResponseLinksFromJSON(json['links']),
84
84
  };
@@ -90,7 +90,7 @@ export function List200ResponseToJSON(value?: List200Response | null): any {
90
90
  }
91
91
  return {
92
92
 
93
- 'data': ((value['data'] as Array<any>).map(DomainDtoToJSON)),
93
+ 'data': ((value['data'] as Array<any>).map(IntersectionDomainDtoWithDomainUrlDtoToJSON)),
94
94
  'meta': PaginateResponseMetaToJSON(value['meta']),
95
95
  'links': PaginateResponseLinksToJSON(value['links']),
96
96
  };
@@ -27,6 +27,7 @@ export * from './GetAllDomainTransfers200Response';
27
27
  export * from './HttpException';
28
28
  export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
29
29
  export * from './IntersectionDomainDtoWithAccountDto';
30
+ export * from './IntersectionDomainDtoWithDomainUrlDto';
30
31
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
31
32
  export * from './IntersectionLeadDtoWithLeadDetailsDto';
32
33
  export * from './IntersectionLeadDtoWithListFieldsDto';