@randock/nameshift-api-client 0.0.158 → 0.0.160

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.
@@ -75,6 +75,7 @@ src/models/DomainTransferDetailsValidationDto.ts
75
75
  src/models/DomainTransferDomainDto.ts
76
76
  src/models/DomainTransferDto.ts
77
77
  src/models/DomainTransferOrderDto.ts
78
+ src/models/DomainUrlDto.ts
78
79
  src/models/ForgotPasswordRequestInput.ts
79
80
  src/models/GetAllDomainTransfers200Response.ts
80
81
  src/models/GetAllInvoices200Response.ts
@@ -84,8 +85,8 @@ src/models/GetBuyerLeads200Response.ts
84
85
  src/models/GetBuyerTransfers200Response.ts
85
86
  src/models/HttpException.ts
86
87
  src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts
88
+ src/models/IntersectionDomainDtoDomainUrlDto.ts
87
89
  src/models/IntersectionDomainDtoWithAccountDto.ts
88
- src/models/IntersectionDomainDtoWithDomainUrlDto.ts
89
90
  src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
90
91
  src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts
91
92
  src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.158
1
+ ## @randock/nameshift-api-client@0.0.160
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.158 --save
39
+ npm install @randock/nameshift-api-client@0.0.160 --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
- 09757405b23ba65efed1805a9841da3b8ca8ddc0e786007261a6f62e7f820a8a044f202aebd00966181a24d071a60607
47
+ e6dee068078d0d3e84b25908b929d9934c2fb4e83e015e9fcfee49c3ffe3957e3fe9877a2cb49caf8e416224166291d2
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response1, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
13
+ import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response1, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
14
14
  export interface DomainsApiBatchImportRequest {
15
15
  file?: Blob | null;
16
16
  domains?: Array<string>;
@@ -39,6 +39,9 @@ export interface DomainsApiGetDomainRequest {
39
39
  export interface DomainsApiGetDomainTransferRequest {
40
40
  transferId: string;
41
41
  }
42
+ export interface DomainsApiGetDomainUrlRequest {
43
+ domainId: string;
44
+ }
42
45
  export interface DomainsApiList0Request {
43
46
  filter?: object;
44
47
  page?: number;
@@ -121,6 +124,14 @@ export declare class DomainsApi extends runtime.BaseAPI {
121
124
  *
122
125
  */
123
126
  getDomainTransfer(requestParameters: DomainsApiGetDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SellerDomainTransferDto>;
127
+ /**
128
+ *
129
+ */
130
+ getDomainUrlRaw(requestParameters: DomainsApiGetDomainUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainUrlDto>>;
131
+ /**
132
+ *
133
+ */
134
+ getDomainUrl(requestParameters: DomainsApiGetDomainUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainUrlDto>;
124
135
  /**
125
136
  *
126
137
  */
@@ -540,6 +540,59 @@ var DomainsApi = /** @class */ (function (_super) {
540
540
  });
541
541
  });
542
542
  };
543
+ /**
544
+ *
545
+ */
546
+ DomainsApi.prototype.getDomainUrlRaw = function (requestParameters, initOverrides) {
547
+ return __awaiter(this, void 0, void 0, function () {
548
+ var queryParameters, headerParameters, token, tokenString, response;
549
+ return __generator(this, function (_a) {
550
+ switch (_a.label) {
551
+ case 0:
552
+ if (requestParameters['domainId'] == null) {
553
+ throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling getDomainUrl().');
554
+ }
555
+ queryParameters = {};
556
+ headerParameters = {};
557
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
558
+ token = this.configuration.accessToken;
559
+ return [4 /*yield*/, token("bearer", [])];
560
+ case 1:
561
+ tokenString = _a.sent();
562
+ if (tokenString) {
563
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
564
+ }
565
+ _a.label = 2;
566
+ case 2: return [4 /*yield*/, this.request({
567
+ path: "/private/domains/{domainId}/url".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))),
568
+ method: 'GET',
569
+ headers: headerParameters,
570
+ query: queryParameters,
571
+ }, initOverrides)];
572
+ case 3:
573
+ response = _a.sent();
574
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DomainUrlDtoFromJSON)(jsonValue); })];
575
+ }
576
+ });
577
+ });
578
+ };
579
+ /**
580
+ *
581
+ */
582
+ DomainsApi.prototype.getDomainUrl = function (requestParameters, initOverrides) {
583
+ return __awaiter(this, void 0, void 0, function () {
584
+ var response;
585
+ return __generator(this, function (_a) {
586
+ switch (_a.label) {
587
+ case 0: return [4 /*yield*/, this.getDomainUrlRaw(requestParameters, initOverrides)];
588
+ case 1:
589
+ response = _a.sent();
590
+ return [4 /*yield*/, response.value()];
591
+ case 2: return [2 /*return*/, _a.sent()];
592
+ }
593
+ });
594
+ });
595
+ };
543
596
  /**
544
597
  *
545
598
  */
@@ -0,0 +1,38 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface DomainUrlDto
16
+ */
17
+ export interface DomainUrlDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DomainUrlDto
22
+ */
23
+ url: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof DomainUrlDto
28
+ */
29
+ namservers: boolean;
30
+ }
31
+ /**
32
+ * Check if a given object implements the DomainUrlDto interface.
33
+ */
34
+ export declare function instanceOfDomainUrlDto(value: object): value is DomainUrlDto;
35
+ export declare function DomainUrlDtoFromJSON(json: any): DomainUrlDto;
36
+ export declare function DomainUrlDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainUrlDto;
37
+ export declare function DomainUrlDtoToJSON(json: any): DomainUrlDto;
38
+ export declare function DomainUrlDtoToJSONTyped(value?: DomainUrlDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfDomainUrlDto = instanceOfDomainUrlDto;
17
+ exports.DomainUrlDtoFromJSON = DomainUrlDtoFromJSON;
18
+ exports.DomainUrlDtoFromJSONTyped = DomainUrlDtoFromJSONTyped;
19
+ exports.DomainUrlDtoToJSON = DomainUrlDtoToJSON;
20
+ exports.DomainUrlDtoToJSONTyped = DomainUrlDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the DomainUrlDto interface.
23
+ */
24
+ function instanceOfDomainUrlDto(value) {
25
+ if (!('url' in value) || value['url'] === undefined)
26
+ return false;
27
+ if (!('namservers' in value) || value['namservers'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function DomainUrlDtoFromJSON(json) {
32
+ return DomainUrlDtoFromJSONTyped(json, false);
33
+ }
34
+ function DomainUrlDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'url': json['url'],
40
+ 'namservers': json['namservers'],
41
+ };
42
+ }
43
+ function DomainUrlDtoToJSON(json) {
44
+ return DomainUrlDtoToJSONTyped(json, false);
45
+ }
46
+ function DomainUrlDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'url': value['url'],
53
+ 'namservers': value['namservers'],
54
+ };
55
+ }
@@ -13,106 +13,112 @@ import type { MoneyDto } from './MoneyDto';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface IntersectionDomainDtoWithDomainUrlDto
16
+ * @interface IntersectionDomainDtoDomainUrlDto
17
17
  */
18
- export interface IntersectionDomainDtoWithDomainUrlDto {
18
+ export interface IntersectionDomainDtoDomainUrlDto {
19
19
  /**
20
20
  * The uuid for this domain.
21
21
  * @type {string}
22
- * @memberof IntersectionDomainDtoWithDomainUrlDto
22
+ * @memberof IntersectionDomainDtoDomainUrlDto
23
23
  */
24
24
  id: string;
25
25
  /**
26
26
  * The current owner for the domain
27
27
  * @type {string}
28
- * @memberof IntersectionDomainDtoWithDomainUrlDto
28
+ * @memberof IntersectionDomainDtoDomainUrlDto
29
29
  */
30
30
  accountId: string;
31
31
  /**
32
32
  * The hijacker for the domain
33
33
  * @type {string}
34
- * @memberof IntersectionDomainDtoWithDomainUrlDto
34
+ * @memberof IntersectionDomainDtoDomainUrlDto
35
35
  */
36
36
  hijackerId: string | null;
37
37
  /**
38
38
  *
39
39
  * @type {string}
40
- * @memberof IntersectionDomainDtoWithDomainUrlDto
40
+ * @memberof IntersectionDomainDtoDomainUrlDto
41
41
  */
42
42
  url: string;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof IntersectionDomainDtoDomainUrlDto
47
+ */
48
+ namservers: boolean;
43
49
  /**
44
50
  * The TLD for this domain.
45
51
  * @type {string}
46
- * @memberof IntersectionDomainDtoWithDomainUrlDto
52
+ * @memberof IntersectionDomainDtoDomainUrlDto
47
53
  */
48
54
  tld: string;
49
55
  /**
50
56
  * Whether this domain is verified by the owner (ns3, txt) or not.
51
57
  * @type {boolean}
52
- * @memberof IntersectionDomainDtoWithDomainUrlDto
58
+ * @memberof IntersectionDomainDtoDomainUrlDto
53
59
  */
54
60
  verified: boolean;
55
61
  /**
56
62
  * Whether the nameservers (ns1,ns2) are set or not.
57
63
  * @type {boolean}
58
- * @memberof IntersectionDomainDtoWithDomainUrlDto
64
+ * @memberof IntersectionDomainDtoDomainUrlDto
59
65
  */
60
66
  nameservers: boolean;
61
67
  /**
62
68
  * The ASCII domain name (example.com, xn--maana-pta.com)
63
69
  * @type {string}
64
- * @memberof IntersectionDomainDtoWithDomainUrlDto
70
+ * @memberof IntersectionDomainDtoDomainUrlDto
65
71
  */
66
72
  name: string;
67
73
  /**
68
74
  * The unicode domain name (example.com, mañana.com)
69
75
  * @type {string}
70
- * @memberof IntersectionDomainDtoWithDomainUrlDto
76
+ * @memberof IntersectionDomainDtoDomainUrlDto
71
77
  */
72
78
  displayName: string;
73
79
  /**
74
80
  * /**
75
81
  * The domain's currency code (ISO 4217)
76
82
  * @type {string}
77
- * @memberof IntersectionDomainDtoWithDomainUrlDto
83
+ * @memberof IntersectionDomainDtoDomainUrlDto
78
84
  */
79
85
  currencyCode: string;
80
86
  /**
81
87
  * The BIN
82
88
  * @type {MoneyDto}
83
- * @memberof IntersectionDomainDtoWithDomainUrlDto
89
+ * @memberof IntersectionDomainDtoDomainUrlDto
84
90
  */
85
91
  buyNow: MoneyDto;
86
92
  /**
87
93
  * The minimum offer
88
94
  * @type {MoneyDto}
89
- * @memberof IntersectionDomainDtoWithDomainUrlDto
95
+ * @memberof IntersectionDomainDtoDomainUrlDto
90
96
  */
91
97
  minOffer: MoneyDto;
92
98
  /**
93
99
  * The creation date
94
100
  * @type {Date}
95
- * @memberof IntersectionDomainDtoWithDomainUrlDto
101
+ * @memberof IntersectionDomainDtoDomainUrlDto
96
102
  */
97
103
  createdAt: Date;
98
104
  /**
99
105
  * The deletion date
100
106
  * @type {Date}
101
- * @memberof IntersectionDomainDtoWithDomainUrlDto
107
+ * @memberof IntersectionDomainDtoDomainUrlDto
102
108
  */
103
109
  deletedAt: Date | null;
104
110
  /**
105
111
  * The amount of pageviews for this domain, or null if none are tracked.
106
112
  * @type {number}
107
- * @memberof IntersectionDomainDtoWithDomainUrlDto
113
+ * @memberof IntersectionDomainDtoDomainUrlDto
108
114
  */
109
115
  pageviews: number;
110
116
  }
111
117
  /**
112
- * Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
118
+ * Check if a given object implements the IntersectionDomainDtoDomainUrlDto interface.
113
119
  */
114
- export declare function instanceOfIntersectionDomainDtoWithDomainUrlDto(value: object): value is IntersectionDomainDtoWithDomainUrlDto;
115
- export declare function IntersectionDomainDtoWithDomainUrlDtoFromJSON(json: any): IntersectionDomainDtoWithDomainUrlDto;
116
- export declare function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithDomainUrlDto;
117
- export declare function IntersectionDomainDtoWithDomainUrlDtoToJSON(json: any): IntersectionDomainDtoWithDomainUrlDto;
118
- export declare function IntersectionDomainDtoWithDomainUrlDtoToJSONTyped(value?: IntersectionDomainDtoWithDomainUrlDto | null, ignoreDiscriminator?: boolean): any;
120
+ export declare function instanceOfIntersectionDomainDtoDomainUrlDto(value: object): value is IntersectionDomainDtoDomainUrlDto;
121
+ export declare function IntersectionDomainDtoDomainUrlDtoFromJSON(json: any): IntersectionDomainDtoDomainUrlDto;
122
+ export declare function IntersectionDomainDtoDomainUrlDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoDomainUrlDto;
123
+ export declare function IntersectionDomainDtoDomainUrlDtoToJSON(json: any): IntersectionDomainDtoDomainUrlDto;
124
+ export declare function IntersectionDomainDtoDomainUrlDtoToJSONTyped(value?: IntersectionDomainDtoDomainUrlDto | null, ignoreDiscriminator?: boolean): any;
@@ -13,16 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfIntersectionDomainDtoWithDomainUrlDto = instanceOfIntersectionDomainDtoWithDomainUrlDto;
17
- exports.IntersectionDomainDtoWithDomainUrlDtoFromJSON = IntersectionDomainDtoWithDomainUrlDtoFromJSON;
18
- exports.IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped = IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped;
19
- exports.IntersectionDomainDtoWithDomainUrlDtoToJSON = IntersectionDomainDtoWithDomainUrlDtoToJSON;
20
- exports.IntersectionDomainDtoWithDomainUrlDtoToJSONTyped = IntersectionDomainDtoWithDomainUrlDtoToJSONTyped;
16
+ exports.instanceOfIntersectionDomainDtoDomainUrlDto = instanceOfIntersectionDomainDtoDomainUrlDto;
17
+ exports.IntersectionDomainDtoDomainUrlDtoFromJSON = IntersectionDomainDtoDomainUrlDtoFromJSON;
18
+ exports.IntersectionDomainDtoDomainUrlDtoFromJSONTyped = IntersectionDomainDtoDomainUrlDtoFromJSONTyped;
19
+ exports.IntersectionDomainDtoDomainUrlDtoToJSON = IntersectionDomainDtoDomainUrlDtoToJSON;
20
+ exports.IntersectionDomainDtoDomainUrlDtoToJSONTyped = IntersectionDomainDtoDomainUrlDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
22
  /**
23
- * Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
23
+ * Check if a given object implements the IntersectionDomainDtoDomainUrlDto interface.
24
24
  */
25
- function instanceOfIntersectionDomainDtoWithDomainUrlDto(value) {
25
+ function instanceOfIntersectionDomainDtoDomainUrlDto(value) {
26
26
  if (!('id' in value) || value['id'] === undefined)
27
27
  return false;
28
28
  if (!('accountId' in value) || value['accountId'] === undefined)
@@ -31,6 +31,8 @@ function instanceOfIntersectionDomainDtoWithDomainUrlDto(value) {
31
31
  return false;
32
32
  if (!('url' in value) || value['url'] === undefined)
33
33
  return false;
34
+ if (!('namservers' in value) || value['namservers'] === undefined)
35
+ return false;
34
36
  if (!('tld' in value) || value['tld'] === undefined)
35
37
  return false;
36
38
  if (!('verified' in value) || value['verified'] === undefined)
@@ -55,10 +57,10 @@ function instanceOfIntersectionDomainDtoWithDomainUrlDto(value) {
55
57
  return false;
56
58
  return true;
57
59
  }
58
- function IntersectionDomainDtoWithDomainUrlDtoFromJSON(json) {
59
- return IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, false);
60
+ function IntersectionDomainDtoDomainUrlDtoFromJSON(json) {
61
+ return IntersectionDomainDtoDomainUrlDtoFromJSONTyped(json, false);
60
62
  }
61
- function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, ignoreDiscriminator) {
63
+ function IntersectionDomainDtoDomainUrlDtoFromJSONTyped(json, ignoreDiscriminator) {
62
64
  if (json == null) {
63
65
  return json;
64
66
  }
@@ -67,6 +69,7 @@ function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, ignoreDiscrimi
67
69
  'accountId': json['accountId'],
68
70
  'hijackerId': json['hijackerId'],
69
71
  'url': json['url'],
72
+ 'namservers': json['namservers'],
70
73
  'tld': json['tld'],
71
74
  'verified': json['verified'],
72
75
  'nameservers': json['nameservers'],
@@ -80,10 +83,10 @@ function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, ignoreDiscrimi
80
83
  'pageviews': json['pageviews'],
81
84
  };
82
85
  }
83
- function IntersectionDomainDtoWithDomainUrlDtoToJSON(json) {
84
- return IntersectionDomainDtoWithDomainUrlDtoToJSONTyped(json, false);
86
+ function IntersectionDomainDtoDomainUrlDtoToJSON(json) {
87
+ return IntersectionDomainDtoDomainUrlDtoToJSONTyped(json, false);
85
88
  }
86
- function IntersectionDomainDtoWithDomainUrlDtoToJSONTyped(value, ignoreDiscriminator) {
89
+ function IntersectionDomainDtoDomainUrlDtoToJSONTyped(value, ignoreDiscriminator) {
87
90
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
88
91
  if (value == null) {
89
92
  return value;
@@ -93,6 +96,7 @@ function IntersectionDomainDtoWithDomainUrlDtoToJSONTyped(value, ignoreDiscrimin
93
96
  'accountId': value['accountId'],
94
97
  'hijackerId': value['hijackerId'],
95
98
  'url': value['url'],
99
+ 'namservers': value['namservers'],
96
100
  'tld': value['tld'],
97
101
  'verified': value['verified'],
98
102
  'nameservers': value['nameservers'],
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
- import type { IntersectionDomainDtoWithDomainUrlDto } from './IntersectionDomainDtoWithDomainUrlDto';
13
+ import type { IntersectionDomainDtoDomainUrlDto } from './IntersectionDomainDtoDomainUrlDto';
14
14
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
15
  /**
16
16
  *
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
20
20
  export interface List200Response1 {
21
21
  /**
22
22
  *
23
- * @type {Array<IntersectionDomainDtoWithDomainUrlDto>}
23
+ * @type {Array<IntersectionDomainDtoDomainUrlDto>}
24
24
  * @memberof List200Response1
25
25
  */
26
- data: Array<IntersectionDomainDtoWithDomainUrlDto>;
26
+ data: Array<IntersectionDomainDtoDomainUrlDto>;
27
27
  /**
28
28
  *
29
29
  * @type {PaginateResponseMeta}
@@ -19,7 +19,7 @@ exports.List200Response1FromJSONTyped = List200Response1FromJSONTyped;
19
19
  exports.List200Response1ToJSON = List200Response1ToJSON;
20
20
  exports.List200Response1ToJSONTyped = List200Response1ToJSONTyped;
21
21
  var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
- var IntersectionDomainDtoWithDomainUrlDto_1 = require("./IntersectionDomainDtoWithDomainUrlDto");
22
+ var IntersectionDomainDtoDomainUrlDto_1 = require("./IntersectionDomainDtoDomainUrlDto");
23
23
  var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
24
  /**
25
25
  * Check if a given object implements the List200Response1 interface.
@@ -41,7 +41,7 @@ function List200Response1FromJSONTyped(json, ignoreDiscriminator) {
41
41
  return json;
42
42
  }
43
43
  return {
44
- 'data': (json['data'].map(IntersectionDomainDtoWithDomainUrlDto_1.IntersectionDomainDtoWithDomainUrlDtoFromJSON)),
44
+ 'data': (json['data'].map(IntersectionDomainDtoDomainUrlDto_1.IntersectionDomainDtoDomainUrlDtoFromJSON)),
45
45
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
46
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
47
  };
@@ -55,7 +55,7 @@ function List200Response1ToJSONTyped(value, ignoreDiscriminator) {
55
55
  return value;
56
56
  }
57
57
  return {
58
- 'data': (value['data'].map(IntersectionDomainDtoWithDomainUrlDto_1.IntersectionDomainDtoWithDomainUrlDtoToJSON)),
58
+ 'data': (value['data'].map(IntersectionDomainDtoDomainUrlDto_1.IntersectionDomainDtoDomainUrlDtoToJSON)),
59
59
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
60
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
61
  };
@@ -26,13 +26,13 @@ export interface ValidationError {
26
26
  * @type {string}
27
27
  * @memberof ValidationError
28
28
  */
29
- property: string;
29
+ message: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof ValidationError
34
34
  */
35
- message: string;
35
+ property: string | null;
36
36
  }
37
37
  /**
38
38
  * Check if a given object implements the ValidationError interface.
@@ -24,10 +24,10 @@ exports.ValidationErrorToJSONTyped = ValidationErrorToJSONTyped;
24
24
  function instanceOfValidationError(value) {
25
25
  if (!('code' in value) || value['code'] === undefined)
26
26
  return false;
27
- if (!('property' in value) || value['property'] === undefined)
28
- return false;
29
27
  if (!('message' in value) || value['message'] === undefined)
30
28
  return false;
29
+ if (!('property' in value) || value['property'] === undefined)
30
+ return false;
31
31
  return true;
32
32
  }
33
33
  function ValidationErrorFromJSON(json) {
@@ -39,8 +39,8 @@ function ValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
39
39
  }
40
40
  return {
41
41
  'code': json['code'],
42
- 'property': json['property'],
43
42
  'message': json['message'],
43
+ 'property': json['property'],
44
44
  };
45
45
  }
46
46
  function ValidationErrorToJSON(json) {
@@ -53,7 +53,7 @@ function ValidationErrorToJSONTyped(value, ignoreDiscriminator) {
53
53
  }
54
54
  return {
55
55
  'code': value['code'],
56
- 'property': value['property'],
57
56
  'message': value['message'],
57
+ 'property': value['property'],
58
58
  };
59
59
  }
@@ -53,6 +53,7 @@ export * from './DomainTransferDetailsValidationDto';
53
53
  export * from './DomainTransferDomainDto';
54
54
  export * from './DomainTransferDto';
55
55
  export * from './DomainTransferOrderDto';
56
+ export * from './DomainUrlDto';
56
57
  export * from './ForgotPasswordRequestInput';
57
58
  export * from './GetAllDomainTransfers200Response';
58
59
  export * from './GetAllInvoices200Response';
@@ -62,8 +63,8 @@ export * from './GetBuyerLeads200Response';
62
63
  export * from './GetBuyerTransfers200Response';
63
64
  export * from './HttpException';
64
65
  export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDto';
66
+ export * from './IntersectionDomainDtoDomainUrlDto';
65
67
  export * from './IntersectionDomainDtoWithAccountDto';
66
- export * from './IntersectionDomainDtoWithDomainUrlDto';
67
68
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
68
69
  export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
69
70
  export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
@@ -71,6 +71,7 @@ __exportStar(require("./DomainTransferDetailsValidationDto"), exports);
71
71
  __exportStar(require("./DomainTransferDomainDto"), exports);
72
72
  __exportStar(require("./DomainTransferDto"), exports);
73
73
  __exportStar(require("./DomainTransferOrderDto"), exports);
74
+ __exportStar(require("./DomainUrlDto"), exports);
74
75
  __exportStar(require("./ForgotPasswordRequestInput"), exports);
75
76
  __exportStar(require("./GetAllDomainTransfers200Response"), exports);
76
77
  __exportStar(require("./GetAllInvoices200Response"), exports);
@@ -80,8 +81,8 @@ __exportStar(require("./GetBuyerLeads200Response"), exports);
80
81
  __exportStar(require("./GetBuyerTransfers200Response"), exports);
81
82
  __exportStar(require("./HttpException"), exports);
82
83
  __exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDto"), exports);
84
+ __exportStar(require("./IntersectionDomainDtoDomainUrlDto"), exports);
83
85
  __exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
84
- __exportStar(require("./IntersectionDomainDtoWithDomainUrlDto"), exports);
85
86
  __exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
86
87
  __exportStar(require("./IntersectionDomainSalesInformationDtoWithDomainStatsDto"), exports);
87
88
  __exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.158",
3
+ "version": "0.0.160",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -19,6 +19,7 @@ import type {
19
19
  BatchUpdateDomainsInput,
20
20
  DeleteDomainsInput,
21
21
  DomainDto,
22
+ DomainUrlDto,
22
23
  GetAllDomainTransfers200Response,
23
24
  IntersectionDomainDtoWithHijackerDtoWithAccountDto,
24
25
  List200Response1,
@@ -38,6 +39,8 @@ import {
38
39
  DeleteDomainsInputToJSON,
39
40
  DomainDtoFromJSON,
40
41
  DomainDtoToJSON,
42
+ DomainUrlDtoFromJSON,
43
+ DomainUrlDtoToJSON,
41
44
  GetAllDomainTransfers200ResponseFromJSON,
42
45
  GetAllDomainTransfers200ResponseToJSON,
43
46
  IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON,
@@ -94,6 +97,10 @@ export interface DomainsApiGetDomainTransferRequest {
94
97
  transferId: string;
95
98
  }
96
99
 
100
+ export interface DomainsApiGetDomainUrlRequest {
101
+ domainId: string;
102
+ }
103
+
97
104
  export interface DomainsApiList0Request {
98
105
  filter?: object;
99
106
  page?: number;
@@ -487,6 +494,47 @@ export class DomainsApi extends runtime.BaseAPI {
487
494
  return await response.value();
488
495
  }
489
496
 
497
+ /**
498
+ *
499
+ */
500
+ async getDomainUrlRaw(requestParameters: DomainsApiGetDomainUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainUrlDto>> {
501
+ if (requestParameters['domainId'] == null) {
502
+ throw new runtime.RequiredError(
503
+ 'domainId',
504
+ 'Required parameter "domainId" was null or undefined when calling getDomainUrl().'
505
+ );
506
+ }
507
+
508
+ const queryParameters: any = {};
509
+
510
+ const headerParameters: runtime.HTTPHeaders = {};
511
+
512
+ if (this.configuration && this.configuration.accessToken) {
513
+ const token = this.configuration.accessToken;
514
+ const tokenString = await token("bearer", []);
515
+
516
+ if (tokenString) {
517
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
518
+ }
519
+ }
520
+ const response = await this.request({
521
+ path: `/private/domains/{domainId}/url`.replace(`{${"domainId"}}`, encodeURIComponent(String(requestParameters['domainId']))),
522
+ method: 'GET',
523
+ headers: headerParameters,
524
+ query: queryParameters,
525
+ }, initOverrides);
526
+
527
+ return new runtime.JSONApiResponse(response, (jsonValue) => DomainUrlDtoFromJSON(jsonValue));
528
+ }
529
+
530
+ /**
531
+ *
532
+ */
533
+ async getDomainUrl(requestParameters: DomainsApiGetDomainUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainUrlDto> {
534
+ const response = await this.getDomainUrlRaw(requestParameters, initOverrides);
535
+ return await response.value();
536
+ }
537
+
490
538
  /**
491
539
  *
492
540
  */
@@ -0,0 +1,75 @@
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
+ *
18
+ * @export
19
+ * @interface DomainUrlDto
20
+ */
21
+ export interface DomainUrlDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof DomainUrlDto
26
+ */
27
+ url: string;
28
+ /**
29
+ *
30
+ * @type {boolean}
31
+ * @memberof DomainUrlDto
32
+ */
33
+ namservers: boolean;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the DomainUrlDto interface.
38
+ */
39
+ export function instanceOfDomainUrlDto(value: object): value is DomainUrlDto {
40
+ if (!('url' in value) || value['url'] === undefined) return false;
41
+ if (!('namservers' in value) || value['namservers'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function DomainUrlDtoFromJSON(json: any): DomainUrlDto {
46
+ return DomainUrlDtoFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function DomainUrlDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainUrlDto {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'url': json['url'],
56
+ 'namservers': json['namservers'],
57
+ };
58
+ }
59
+
60
+ export function DomainUrlDtoToJSON(json: any): DomainUrlDto {
61
+ return DomainUrlDtoToJSONTyped(json, false);
62
+ }
63
+
64
+ export function DomainUrlDtoToJSONTyped(value?: DomainUrlDto | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'url': value['url'],
72
+ 'namservers': value['namservers'],
73
+ };
74
+ }
75
+
@@ -24,110 +24,117 @@ import {
24
24
  /**
25
25
  *
26
26
  * @export
27
- * @interface IntersectionDomainDtoWithDomainUrlDto
27
+ * @interface IntersectionDomainDtoDomainUrlDto
28
28
  */
29
- export interface IntersectionDomainDtoWithDomainUrlDto {
29
+ export interface IntersectionDomainDtoDomainUrlDto {
30
30
  /**
31
31
  * The uuid for this domain.
32
32
  * @type {string}
33
- * @memberof IntersectionDomainDtoWithDomainUrlDto
33
+ * @memberof IntersectionDomainDtoDomainUrlDto
34
34
  */
35
35
  id: string;
36
36
  /**
37
37
  * The current owner for the domain
38
38
  * @type {string}
39
- * @memberof IntersectionDomainDtoWithDomainUrlDto
39
+ * @memberof IntersectionDomainDtoDomainUrlDto
40
40
  */
41
41
  accountId: string;
42
42
  /**
43
43
  * The hijacker for the domain
44
44
  * @type {string}
45
- * @memberof IntersectionDomainDtoWithDomainUrlDto
45
+ * @memberof IntersectionDomainDtoDomainUrlDto
46
46
  */
47
47
  hijackerId: string | null;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
- * @memberof IntersectionDomainDtoWithDomainUrlDto
51
+ * @memberof IntersectionDomainDtoDomainUrlDto
52
52
  */
53
53
  url: string;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof IntersectionDomainDtoDomainUrlDto
58
+ */
59
+ namservers: boolean;
54
60
  /**
55
61
  * The TLD for this domain.
56
62
  * @type {string}
57
- * @memberof IntersectionDomainDtoWithDomainUrlDto
63
+ * @memberof IntersectionDomainDtoDomainUrlDto
58
64
  */
59
65
  tld: string;
60
66
  /**
61
67
  * Whether this domain is verified by the owner (ns3, txt) or not.
62
68
  * @type {boolean}
63
- * @memberof IntersectionDomainDtoWithDomainUrlDto
69
+ * @memberof IntersectionDomainDtoDomainUrlDto
64
70
  */
65
71
  verified: boolean;
66
72
  /**
67
73
  * Whether the nameservers (ns1,ns2) are set or not.
68
74
  * @type {boolean}
69
- * @memberof IntersectionDomainDtoWithDomainUrlDto
75
+ * @memberof IntersectionDomainDtoDomainUrlDto
70
76
  */
71
77
  nameservers: boolean;
72
78
  /**
73
79
  * The ASCII domain name (example.com, xn--maana-pta.com)
74
80
  * @type {string}
75
- * @memberof IntersectionDomainDtoWithDomainUrlDto
81
+ * @memberof IntersectionDomainDtoDomainUrlDto
76
82
  */
77
83
  name: string;
78
84
  /**
79
85
  * The unicode domain name (example.com, mañana.com)
80
86
  * @type {string}
81
- * @memberof IntersectionDomainDtoWithDomainUrlDto
87
+ * @memberof IntersectionDomainDtoDomainUrlDto
82
88
  */
83
89
  displayName: string;
84
90
  /**
85
91
  * /**
86
92
  * The domain's currency code (ISO 4217)
87
93
  * @type {string}
88
- * @memberof IntersectionDomainDtoWithDomainUrlDto
94
+ * @memberof IntersectionDomainDtoDomainUrlDto
89
95
  */
90
96
  currencyCode: string;
91
97
  /**
92
98
  * The BIN
93
99
  * @type {MoneyDto}
94
- * @memberof IntersectionDomainDtoWithDomainUrlDto
100
+ * @memberof IntersectionDomainDtoDomainUrlDto
95
101
  */
96
102
  buyNow: MoneyDto;
97
103
  /**
98
104
  * The minimum offer
99
105
  * @type {MoneyDto}
100
- * @memberof IntersectionDomainDtoWithDomainUrlDto
106
+ * @memberof IntersectionDomainDtoDomainUrlDto
101
107
  */
102
108
  minOffer: MoneyDto;
103
109
  /**
104
110
  * The creation date
105
111
  * @type {Date}
106
- * @memberof IntersectionDomainDtoWithDomainUrlDto
112
+ * @memberof IntersectionDomainDtoDomainUrlDto
107
113
  */
108
114
  createdAt: Date;
109
115
  /**
110
116
  * The deletion date
111
117
  * @type {Date}
112
- * @memberof IntersectionDomainDtoWithDomainUrlDto
118
+ * @memberof IntersectionDomainDtoDomainUrlDto
113
119
  */
114
120
  deletedAt: Date | null;
115
121
  /**
116
122
  * The amount of pageviews for this domain, or null if none are tracked.
117
123
  * @type {number}
118
- * @memberof IntersectionDomainDtoWithDomainUrlDto
124
+ * @memberof IntersectionDomainDtoDomainUrlDto
119
125
  */
120
126
  pageviews: number;
121
127
  }
122
128
 
123
129
  /**
124
- * Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
130
+ * Check if a given object implements the IntersectionDomainDtoDomainUrlDto interface.
125
131
  */
126
- export function instanceOfIntersectionDomainDtoWithDomainUrlDto(value: object): value is IntersectionDomainDtoWithDomainUrlDto {
132
+ export function instanceOfIntersectionDomainDtoDomainUrlDto(value: object): value is IntersectionDomainDtoDomainUrlDto {
127
133
  if (!('id' in value) || value['id'] === undefined) return false;
128
134
  if (!('accountId' in value) || value['accountId'] === undefined) return false;
129
135
  if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
130
136
  if (!('url' in value) || value['url'] === undefined) return false;
137
+ if (!('namservers' in value) || value['namservers'] === undefined) return false;
131
138
  if (!('tld' in value) || value['tld'] === undefined) return false;
132
139
  if (!('verified' in value) || value['verified'] === undefined) return false;
133
140
  if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
@@ -142,11 +149,11 @@ export function instanceOfIntersectionDomainDtoWithDomainUrlDto(value: object):
142
149
  return true;
143
150
  }
144
151
 
145
- export function IntersectionDomainDtoWithDomainUrlDtoFromJSON(json: any): IntersectionDomainDtoWithDomainUrlDto {
146
- return IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, false);
152
+ export function IntersectionDomainDtoDomainUrlDtoFromJSON(json: any): IntersectionDomainDtoDomainUrlDto {
153
+ return IntersectionDomainDtoDomainUrlDtoFromJSONTyped(json, false);
147
154
  }
148
155
 
149
- export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithDomainUrlDto {
156
+ export function IntersectionDomainDtoDomainUrlDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoDomainUrlDto {
150
157
  if (json == null) {
151
158
  return json;
152
159
  }
@@ -156,6 +163,7 @@ export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ig
156
163
  'accountId': json['accountId'],
157
164
  'hijackerId': json['hijackerId'],
158
165
  'url': json['url'],
166
+ 'namservers': json['namservers'],
159
167
  'tld': json['tld'],
160
168
  'verified': json['verified'],
161
169
  'nameservers': json['nameservers'],
@@ -170,11 +178,11 @@ export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ig
170
178
  };
171
179
  }
172
180
 
173
- export function IntersectionDomainDtoWithDomainUrlDtoToJSON(json: any): IntersectionDomainDtoWithDomainUrlDto {
174
- return IntersectionDomainDtoWithDomainUrlDtoToJSONTyped(json, false);
181
+ export function IntersectionDomainDtoDomainUrlDtoToJSON(json: any): IntersectionDomainDtoDomainUrlDto {
182
+ return IntersectionDomainDtoDomainUrlDtoToJSONTyped(json, false);
175
183
  }
176
184
 
177
- export function IntersectionDomainDtoWithDomainUrlDtoToJSONTyped(value?: IntersectionDomainDtoWithDomainUrlDto | null, ignoreDiscriminator: boolean = false): any {
185
+ export function IntersectionDomainDtoDomainUrlDtoToJSONTyped(value?: IntersectionDomainDtoDomainUrlDto | null, ignoreDiscriminator: boolean = false): any {
178
186
  if (value == null) {
179
187
  return value;
180
188
  }
@@ -185,6 +193,7 @@ export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ig
185
193
  'accountId': value['accountId'],
186
194
  'hijackerId': value['hijackerId'],
187
195
  'url': value['url'],
196
+ 'namservers': value['namservers'],
188
197
  'tld': value['tld'],
189
198
  'verified': value['verified'],
190
199
  'nameservers': value['nameservers'],
@@ -20,13 +20,13 @@ import {
20
20
  PaginateResponseLinksToJSON,
21
21
  PaginateResponseLinksToJSONTyped,
22
22
  } from './PaginateResponseLinks';
23
- import type { IntersectionDomainDtoWithDomainUrlDto } from './IntersectionDomainDtoWithDomainUrlDto';
23
+ import type { IntersectionDomainDtoDomainUrlDto } from './IntersectionDomainDtoDomainUrlDto';
24
24
  import {
25
- IntersectionDomainDtoWithDomainUrlDtoFromJSON,
26
- IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped,
27
- IntersectionDomainDtoWithDomainUrlDtoToJSON,
28
- IntersectionDomainDtoWithDomainUrlDtoToJSONTyped,
29
- } from './IntersectionDomainDtoWithDomainUrlDto';
25
+ IntersectionDomainDtoDomainUrlDtoFromJSON,
26
+ IntersectionDomainDtoDomainUrlDtoFromJSONTyped,
27
+ IntersectionDomainDtoDomainUrlDtoToJSON,
28
+ IntersectionDomainDtoDomainUrlDtoToJSONTyped,
29
+ } from './IntersectionDomainDtoDomainUrlDto';
30
30
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
31
  import {
32
32
  PaginateResponseMetaFromJSON,
@@ -43,10 +43,10 @@ import {
43
43
  export interface List200Response1 {
44
44
  /**
45
45
  *
46
- * @type {Array<IntersectionDomainDtoWithDomainUrlDto>}
46
+ * @type {Array<IntersectionDomainDtoDomainUrlDto>}
47
47
  * @memberof List200Response1
48
48
  */
49
- data: Array<IntersectionDomainDtoWithDomainUrlDto>;
49
+ data: Array<IntersectionDomainDtoDomainUrlDto>;
50
50
  /**
51
51
  *
52
52
  * @type {PaginateResponseMeta}
@@ -81,7 +81,7 @@ export function List200Response1FromJSONTyped(json: any, ignoreDiscriminator: bo
81
81
  }
82
82
  return {
83
83
 
84
- 'data': ((json['data'] as Array<any>).map(IntersectionDomainDtoWithDomainUrlDtoFromJSON)),
84
+ 'data': ((json['data'] as Array<any>).map(IntersectionDomainDtoDomainUrlDtoFromJSON)),
85
85
  'meta': PaginateResponseMetaFromJSON(json['meta']),
86
86
  'links': PaginateResponseLinksFromJSON(json['links']),
87
87
  };
@@ -98,7 +98,7 @@ export function List200Response1FromJSONTyped(json: any, ignoreDiscriminator: bo
98
98
 
99
99
  return {
100
100
 
101
- 'data': ((value['data'] as Array<any>).map(IntersectionDomainDtoWithDomainUrlDtoToJSON)),
101
+ 'data': ((value['data'] as Array<any>).map(IntersectionDomainDtoDomainUrlDtoToJSON)),
102
102
  'meta': PaginateResponseMetaToJSON(value['meta']),
103
103
  'links': PaginateResponseLinksToJSON(value['links']),
104
104
  };
@@ -30,13 +30,13 @@ export interface ValidationError {
30
30
  * @type {string}
31
31
  * @memberof ValidationError
32
32
  */
33
- property: string;
33
+ message: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof ValidationError
38
38
  */
39
- message: string;
39
+ property: string | null;
40
40
  }
41
41
 
42
42
  /**
@@ -44,8 +44,8 @@ export interface ValidationError {
44
44
  */
45
45
  export function instanceOfValidationError(value: object): value is ValidationError {
46
46
  if (!('code' in value) || value['code'] === undefined) return false;
47
- if (!('property' in value) || value['property'] === undefined) return false;
48
47
  if (!('message' in value) || value['message'] === undefined) return false;
48
+ if (!('property' in value) || value['property'] === undefined) return false;
49
49
  return true;
50
50
  }
51
51
 
@@ -60,8 +60,8 @@ export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boo
60
60
  return {
61
61
 
62
62
  'code': json['code'],
63
- 'property': json['property'],
64
63
  'message': json['message'],
64
+ 'property': json['property'],
65
65
  };
66
66
  }
67
67
 
@@ -77,8 +77,8 @@ export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boo
77
77
  return {
78
78
 
79
79
  'code': value['code'],
80
- 'property': value['property'],
81
80
  'message': value['message'],
81
+ 'property': value['property'],
82
82
  };
83
83
  }
84
84
 
@@ -55,6 +55,7 @@ export * from './DomainTransferDetailsValidationDto';
55
55
  export * from './DomainTransferDomainDto';
56
56
  export * from './DomainTransferDto';
57
57
  export * from './DomainTransferOrderDto';
58
+ export * from './DomainUrlDto';
58
59
  export * from './ForgotPasswordRequestInput';
59
60
  export * from './GetAllDomainTransfers200Response';
60
61
  export * from './GetAllInvoices200Response';
@@ -64,8 +65,8 @@ export * from './GetBuyerLeads200Response';
64
65
  export * from './GetBuyerTransfers200Response';
65
66
  export * from './HttpException';
66
67
  export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDto';
68
+ export * from './IntersectionDomainDtoDomainUrlDto';
67
69
  export * from './IntersectionDomainDtoWithAccountDto';
68
- export * from './IntersectionDomainDtoWithDomainUrlDto';
69
70
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
70
71
  export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
71
72
  export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';