@randock/nameshift-api-client 0.0.200 → 0.0.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +3 -1
- package/README.md +3 -3
- package/dist/apis/DomainsPublicApi.d.ts +3 -3
- package/dist/apis/DomainsPublicApi.js +1 -1
- package/dist/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts → IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.d.ts} +24 -17
- package/dist/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDto.js → IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.js} +18 -13
- package/dist/models/MozMetrics.d.ts +38 -0
- package/dist/models/MozMetrics.js +55 -0
- package/dist/models/Seo.d.ts +33 -0
- package/dist/models/Seo.js +52 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/DomainsPublicApi.ts +6 -6
- package/src/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts → IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.ts} +35 -19
- package/src/models/MozMetrics.ts +75 -0
- package/src/models/Seo.ts +74 -0
- package/src/models/index.ts +3 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -108,7 +108,7 @@ src/models/HttpException.ts
|
|
|
108
108
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
109
109
|
src/models/IntersectionDomainDtoWithAccountDto.ts
|
|
110
110
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
111
|
-
src/models/
|
|
111
|
+
src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.ts
|
|
112
112
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts
|
|
113
113
|
src/models/IntersectionLeadDtoWithListFieldsDto.ts
|
|
114
114
|
src/models/IntersectionTaskListTaskDto.ts
|
|
@@ -141,6 +141,7 @@ src/models/LoginDto.ts
|
|
|
141
141
|
src/models/LoginInput.ts
|
|
142
142
|
src/models/MoneyDto.ts
|
|
143
143
|
src/models/MoneyInput.ts
|
|
144
|
+
src/models/MozMetrics.ts
|
|
144
145
|
src/models/NotFoundException.ts
|
|
145
146
|
src/models/ObjectId.ts
|
|
146
147
|
src/models/OrderCompanyInfoDto.ts
|
|
@@ -173,6 +174,7 @@ src/models/SellerSecurityUserAccountDto.ts
|
|
|
173
174
|
src/models/SellerSecurityUserDto.ts
|
|
174
175
|
src/models/SellerSubscriptionListItemDto.ts
|
|
175
176
|
src/models/SellerSubscriptionListItemDtoDomainInformation.ts
|
|
177
|
+
src/models/Seo.ts
|
|
176
178
|
src/models/SetDomainTransferConfirmationInput.ts
|
|
177
179
|
src/models/SetNewPasswordInput.ts
|
|
178
180
|
src/models/StoreBuyerLocaleInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.201
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.201 --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
|
-
|
|
47
|
+
79e66c808a1667d8a12380a4c140c46356dbf7de3dfa9ace3e14756b83bf47ed8a90857d0407151e1583df081b98812e
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto, List200Response3 } from '../models/index';
|
|
14
14
|
export interface DomainsPublicApiGetDomainSalesInformationRequest {
|
|
15
15
|
domainName: string;
|
|
16
16
|
includeStats?: boolean;
|
|
@@ -30,11 +30,11 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
|
-
getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
33
|
+
getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto>>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
|
-
getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
37
|
+
getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto>;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
@@ -106,7 +106,7 @@ var DomainsPublicApi = /** @class */ (function (_super) {
|
|
|
106
106
|
}, initOverrides)];
|
|
107
107
|
case 1:
|
|
108
108
|
response = _a.sent();
|
|
109
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
109
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON)(jsonValue); })];
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
112
|
});
|
|
@@ -13,72 +13,79 @@ import type { DomainSellerDto } from './DomainSellerDto';
|
|
|
13
13
|
import type { DomainStats } from './DomainStats';
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
15
|
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
16
|
+
import type { Seo } from './Seo';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
18
19
|
* @export
|
|
19
|
-
* @interface
|
|
20
|
+
* @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
20
21
|
*/
|
|
21
|
-
export interface
|
|
22
|
+
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
22
23
|
/**
|
|
23
24
|
*
|
|
24
25
|
* @type {DomainStats}
|
|
25
|
-
* @memberof
|
|
26
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
26
27
|
*/
|
|
27
28
|
stats: DomainStats | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Seo}
|
|
32
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
33
|
+
*/
|
|
34
|
+
seo: Seo | null;
|
|
28
35
|
/**
|
|
29
36
|
* The domain name (example.com, xn--maana-pta.com)
|
|
30
37
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
38
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
32
39
|
*/
|
|
33
40
|
domain: string;
|
|
34
41
|
/**
|
|
35
42
|
* The domain display name (example.com, mañana.com)
|
|
36
43
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
44
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
38
45
|
*/
|
|
39
46
|
domainDisplayName: string;
|
|
40
47
|
/**
|
|
41
48
|
* Buy now price or null if buy now is not enabled
|
|
42
49
|
* @type {MoneyDto}
|
|
43
|
-
* @memberof
|
|
50
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
44
51
|
*/
|
|
45
52
|
buyNowPrice: MoneyDto | null;
|
|
46
53
|
/**
|
|
47
54
|
* Lease to own configuration or null if it is not enabled
|
|
48
55
|
* @type {DomainSalesInformationLeaseToOwnConfigurationDto}
|
|
49
|
-
* @memberof
|
|
56
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
50
57
|
*/
|
|
51
58
|
leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
|
|
52
59
|
/**
|
|
53
60
|
* min offer price or null if offers are not enabled
|
|
54
61
|
* @type {MoneyDto}
|
|
55
|
-
* @memberof
|
|
62
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
56
63
|
*/
|
|
57
64
|
minOfferPrice: MoneyDto | null;
|
|
58
65
|
/**
|
|
59
66
|
* The domain seller information
|
|
60
67
|
* @type {DomainSellerDto}
|
|
61
|
-
* @memberof
|
|
68
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
62
69
|
*/
|
|
63
70
|
seller: DomainSellerDto | null;
|
|
64
71
|
/**
|
|
65
72
|
* The domain "sold" status
|
|
66
73
|
* @type {boolean}
|
|
67
|
-
* @memberof
|
|
74
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
68
75
|
*/
|
|
69
76
|
sold: boolean;
|
|
70
77
|
/**
|
|
71
78
|
* The domain "isPurchaseable" status
|
|
72
79
|
* @type {boolean}
|
|
73
|
-
* @memberof
|
|
80
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
74
81
|
*/
|
|
75
82
|
isPurchaseable: boolean;
|
|
76
83
|
}
|
|
77
84
|
/**
|
|
78
|
-
* Check if a given object implements the
|
|
85
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto interface.
|
|
79
86
|
*/
|
|
80
|
-
export declare function
|
|
81
|
-
export declare function
|
|
82
|
-
export declare function
|
|
83
|
-
export declare function
|
|
84
|
-
export declare function
|
|
87
|
+
export declare function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
88
|
+
export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
89
|
+
export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
90
|
+
export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
91
|
+
export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,21 +13,24 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto = instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
17
|
+
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON;
|
|
18
|
+
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped;
|
|
19
|
+
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON;
|
|
20
|
+
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped;
|
|
21
21
|
var DomainSellerDto_1 = require("./DomainSellerDto");
|
|
22
22
|
var DomainStats_1 = require("./DomainStats");
|
|
23
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
24
|
var DomainSalesInformationLeaseToOwnConfigurationDto_1 = require("./DomainSalesInformationLeaseToOwnConfigurationDto");
|
|
25
|
+
var Seo_1 = require("./Seo");
|
|
25
26
|
/**
|
|
26
|
-
* Check if a given object implements the
|
|
27
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto interface.
|
|
27
28
|
*/
|
|
28
|
-
function
|
|
29
|
+
function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto(value) {
|
|
29
30
|
if (!('stats' in value) || value['stats'] === undefined)
|
|
30
31
|
return false;
|
|
32
|
+
if (!('seo' in value) || value['seo'] === undefined)
|
|
33
|
+
return false;
|
|
31
34
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
32
35
|
return false;
|
|
33
36
|
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined)
|
|
@@ -46,15 +49,16 @@ function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto(value
|
|
|
46
49
|
return false;
|
|
47
50
|
return true;
|
|
48
51
|
}
|
|
49
|
-
function
|
|
50
|
-
return
|
|
52
|
+
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON(json) {
|
|
53
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json, false);
|
|
51
54
|
}
|
|
52
|
-
function
|
|
55
|
+
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
56
|
if (json == null) {
|
|
54
57
|
return json;
|
|
55
58
|
}
|
|
56
59
|
return {
|
|
57
60
|
'stats': (0, DomainStats_1.DomainStatsFromJSON)(json['stats']),
|
|
61
|
+
'seo': (0, Seo_1.SeoFromJSON)(json['seo']),
|
|
58
62
|
'domain': json['domain'],
|
|
59
63
|
'domainDisplayName': json['domainDisplayName'],
|
|
60
64
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
|
|
@@ -65,16 +69,17 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(js
|
|
|
65
69
|
'isPurchaseable': json['isPurchaseable'],
|
|
66
70
|
};
|
|
67
71
|
}
|
|
68
|
-
function
|
|
69
|
-
return
|
|
72
|
+
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON(json) {
|
|
73
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(json, false);
|
|
70
74
|
}
|
|
71
|
-
function
|
|
75
|
+
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
72
76
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
73
77
|
if (value == null) {
|
|
74
78
|
return value;
|
|
75
79
|
}
|
|
76
80
|
return {
|
|
77
81
|
'stats': (0, DomainStats_1.DomainStatsToJSON)(value['stats']),
|
|
82
|
+
'seo': (0, Seo_1.SeoToJSON)(value['seo']),
|
|
78
83
|
'domain': value['domain'],
|
|
79
84
|
'domainDisplayName': value['domainDisplayName'],
|
|
80
85
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
|
|
@@ -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 MozMetrics
|
|
16
|
+
*/
|
|
17
|
+
export interface MozMetrics {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MozMetrics
|
|
22
|
+
*/
|
|
23
|
+
domainAuthority: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof MozMetrics
|
|
28
|
+
*/
|
|
29
|
+
backlinks: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the MozMetrics interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMozMetrics(value: object): value is MozMetrics;
|
|
35
|
+
export declare function MozMetricsFromJSON(json: any): MozMetrics;
|
|
36
|
+
export declare function MozMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MozMetrics;
|
|
37
|
+
export declare function MozMetricsToJSON(json: any): MozMetrics;
|
|
38
|
+
export declare function MozMetricsToJSONTyped(value?: MozMetrics | 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.instanceOfMozMetrics = instanceOfMozMetrics;
|
|
17
|
+
exports.MozMetricsFromJSON = MozMetricsFromJSON;
|
|
18
|
+
exports.MozMetricsFromJSONTyped = MozMetricsFromJSONTyped;
|
|
19
|
+
exports.MozMetricsToJSON = MozMetricsToJSON;
|
|
20
|
+
exports.MozMetricsToJSONTyped = MozMetricsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MozMetrics interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMozMetrics(value) {
|
|
25
|
+
if (!('domainAuthority' in value) || value['domainAuthority'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('backlinks' in value) || value['backlinks'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function MozMetricsFromJSON(json) {
|
|
32
|
+
return MozMetricsFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function MozMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'domainAuthority': json['domainAuthority'],
|
|
40
|
+
'backlinks': json['backlinks'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function MozMetricsToJSON(json) {
|
|
44
|
+
return MozMetricsToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function MozMetricsToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'domainAuthority': value['domainAuthority'],
|
|
53
|
+
'backlinks': value['backlinks'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { MozMetrics } from './MozMetrics';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Seo
|
|
17
|
+
*/
|
|
18
|
+
export interface Seo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MozMetrics}
|
|
22
|
+
* @memberof Seo
|
|
23
|
+
*/
|
|
24
|
+
moz: MozMetrics | null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the Seo interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSeo(value: object): value is Seo;
|
|
30
|
+
export declare function SeoFromJSON(json: any): Seo;
|
|
31
|
+
export declare function SeoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Seo;
|
|
32
|
+
export declare function SeoToJSON(json: any): Seo;
|
|
33
|
+
export declare function SeoToJSONTyped(value?: Seo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfSeo = instanceOfSeo;
|
|
17
|
+
exports.SeoFromJSON = SeoFromJSON;
|
|
18
|
+
exports.SeoFromJSONTyped = SeoFromJSONTyped;
|
|
19
|
+
exports.SeoToJSON = SeoToJSON;
|
|
20
|
+
exports.SeoToJSONTyped = SeoToJSONTyped;
|
|
21
|
+
var MozMetrics_1 = require("./MozMetrics");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the Seo interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSeo(value) {
|
|
26
|
+
if (!('moz' in value) || value['moz'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function SeoFromJSON(json) {
|
|
31
|
+
return SeoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function SeoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'moz': (0, MozMetrics_1.MozMetricsFromJSON)(json['moz']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function SeoToJSON(json) {
|
|
42
|
+
return SeoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SeoToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'moz': (0, MozMetrics_1.MozMetricsToJSON)(value['moz']),
|
|
51
|
+
};
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export * from './HttpException';
|
|
|
83
83
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
84
84
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
85
85
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
86
|
-
export * from './
|
|
86
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto';
|
|
87
87
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
88
88
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
89
89
|
export * from './IntersectionTaskListTaskDto';
|
|
@@ -116,6 +116,7 @@ export * from './LoginDto';
|
|
|
116
116
|
export * from './LoginInput';
|
|
117
117
|
export * from './MoneyDto';
|
|
118
118
|
export * from './MoneyInput';
|
|
119
|
+
export * from './MozMetrics';
|
|
119
120
|
export * from './NotFoundException';
|
|
120
121
|
export * from './ObjectId';
|
|
121
122
|
export * from './OrderCompanyInfoDto';
|
|
@@ -148,6 +149,7 @@ export * from './SellerSecurityUserAccountDto';
|
|
|
148
149
|
export * from './SellerSecurityUserDto';
|
|
149
150
|
export * from './SellerSubscriptionListItemDto';
|
|
150
151
|
export * from './SellerSubscriptionListItemDtoDomainInformation';
|
|
152
|
+
export * from './Seo';
|
|
151
153
|
export * from './SetDomainTransferConfirmationInput';
|
|
152
154
|
export * from './SetNewPasswordInput';
|
|
153
155
|
export * from './StoreBuyerLocaleInput';
|
package/dist/models/index.js
CHANGED
|
@@ -101,7 +101,7 @@ __exportStar(require("./HttpException"), exports);
|
|
|
101
101
|
__exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto"), exports);
|
|
102
102
|
__exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
|
|
103
103
|
__exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
|
|
104
|
-
__exportStar(require("./
|
|
104
|
+
__exportStar(require("./IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto"), exports);
|
|
105
105
|
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto"), exports);
|
|
106
106
|
__exportStar(require("./IntersectionLeadDtoWithListFieldsDto"), exports);
|
|
107
107
|
__exportStar(require("./IntersectionTaskListTaskDto"), exports);
|
|
@@ -134,6 +134,7 @@ __exportStar(require("./LoginDto"), exports);
|
|
|
134
134
|
__exportStar(require("./LoginInput"), exports);
|
|
135
135
|
__exportStar(require("./MoneyDto"), exports);
|
|
136
136
|
__exportStar(require("./MoneyInput"), exports);
|
|
137
|
+
__exportStar(require("./MozMetrics"), exports);
|
|
137
138
|
__exportStar(require("./NotFoundException"), exports);
|
|
138
139
|
__exportStar(require("./ObjectId"), exports);
|
|
139
140
|
__exportStar(require("./OrderCompanyInfoDto"), exports);
|
|
@@ -166,6 +167,7 @@ __exportStar(require("./SellerSecurityUserAccountDto"), exports);
|
|
|
166
167
|
__exportStar(require("./SellerSecurityUserDto"), exports);
|
|
167
168
|
__exportStar(require("./SellerSubscriptionListItemDto"), exports);
|
|
168
169
|
__exportStar(require("./SellerSubscriptionListItemDtoDomainInformation"), exports);
|
|
170
|
+
__exportStar(require("./Seo"), exports);
|
|
169
171
|
__exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
170
172
|
__exportStar(require("./SetNewPasswordInput"), exports);
|
|
171
173
|
__exportStar(require("./StoreBuyerLocaleInput"), exports);
|
package/package.json
CHANGED
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
18
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto,
|
|
19
19
|
List200Response3,
|
|
20
20
|
NotFoundException,
|
|
21
21
|
ThrottlerException,
|
|
22
22
|
ValidationException,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON,
|
|
26
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON,
|
|
27
27
|
List200Response3FromJSON,
|
|
28
28
|
List200Response3ToJSON,
|
|
29
29
|
NotFoundExceptionFromJSON,
|
|
@@ -56,7 +56,7 @@ export class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
*/
|
|
59
|
-
async getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
59
|
+
async getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto>> {
|
|
60
60
|
if (requestParameters['domainName'] == null) {
|
|
61
61
|
throw new runtime.RequiredError(
|
|
62
62
|
'domainName',
|
|
@@ -87,13 +87,13 @@ export class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
87
87
|
query: queryParameters,
|
|
88
88
|
}, initOverrides);
|
|
89
89
|
|
|
90
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
90
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON(jsonValue));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
*/
|
|
96
|
-
async getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
96
|
+
async getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto> {
|
|
97
97
|
const response = await this.getDomainSalesInformationRaw(requestParameters, initOverrides);
|
|
98
98
|
return await response.value();
|
|
99
99
|
}
|
|
@@ -41,74 +41,88 @@ import {
|
|
|
41
41
|
DomainSalesInformationLeaseToOwnConfigurationDtoToJSON,
|
|
42
42
|
DomainSalesInformationLeaseToOwnConfigurationDtoToJSONTyped,
|
|
43
43
|
} from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
44
|
+
import type { Seo } from './Seo';
|
|
45
|
+
import {
|
|
46
|
+
SeoFromJSON,
|
|
47
|
+
SeoFromJSONTyped,
|
|
48
|
+
SeoToJSON,
|
|
49
|
+
SeoToJSONTyped,
|
|
50
|
+
} from './Seo';
|
|
44
51
|
|
|
45
52
|
/**
|
|
46
53
|
*
|
|
47
54
|
* @export
|
|
48
|
-
* @interface
|
|
55
|
+
* @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
49
56
|
*/
|
|
50
|
-
export interface
|
|
57
|
+
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
51
58
|
/**
|
|
52
59
|
*
|
|
53
60
|
* @type {DomainStats}
|
|
54
|
-
* @memberof
|
|
61
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
55
62
|
*/
|
|
56
63
|
stats: DomainStats | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Seo}
|
|
67
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
68
|
+
*/
|
|
69
|
+
seo: Seo | null;
|
|
57
70
|
/**
|
|
58
71
|
* The domain name (example.com, xn--maana-pta.com)
|
|
59
72
|
* @type {string}
|
|
60
|
-
* @memberof
|
|
73
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
61
74
|
*/
|
|
62
75
|
domain: string;
|
|
63
76
|
/**
|
|
64
77
|
* The domain display name (example.com, mañana.com)
|
|
65
78
|
* @type {string}
|
|
66
|
-
* @memberof
|
|
79
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
67
80
|
*/
|
|
68
81
|
domainDisplayName: string;
|
|
69
82
|
/**
|
|
70
83
|
* Buy now price or null if buy now is not enabled
|
|
71
84
|
* @type {MoneyDto}
|
|
72
|
-
* @memberof
|
|
85
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
73
86
|
*/
|
|
74
87
|
buyNowPrice: MoneyDto | null;
|
|
75
88
|
/**
|
|
76
89
|
* Lease to own configuration or null if it is not enabled
|
|
77
90
|
* @type {DomainSalesInformationLeaseToOwnConfigurationDto}
|
|
78
|
-
* @memberof
|
|
91
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
79
92
|
*/
|
|
80
93
|
leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
|
|
81
94
|
/**
|
|
82
95
|
* min offer price or null if offers are not enabled
|
|
83
96
|
* @type {MoneyDto}
|
|
84
|
-
* @memberof
|
|
97
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
85
98
|
*/
|
|
86
99
|
minOfferPrice: MoneyDto | null;
|
|
87
100
|
/**
|
|
88
101
|
* The domain seller information
|
|
89
102
|
* @type {DomainSellerDto}
|
|
90
|
-
* @memberof
|
|
103
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
91
104
|
*/
|
|
92
105
|
seller: DomainSellerDto | null;
|
|
93
106
|
/**
|
|
94
107
|
* The domain "sold" status
|
|
95
108
|
* @type {boolean}
|
|
96
|
-
* @memberof
|
|
109
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
97
110
|
*/
|
|
98
111
|
sold: boolean;
|
|
99
112
|
/**
|
|
100
113
|
* The domain "isPurchaseable" status
|
|
101
114
|
* @type {boolean}
|
|
102
|
-
* @memberof
|
|
115
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
103
116
|
*/
|
|
104
117
|
isPurchaseable: boolean;
|
|
105
118
|
}
|
|
106
119
|
|
|
107
120
|
/**
|
|
108
|
-
* Check if a given object implements the
|
|
121
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto interface.
|
|
109
122
|
*/
|
|
110
|
-
export function
|
|
123
|
+
export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
111
124
|
if (!('stats' in value) || value['stats'] === undefined) return false;
|
|
125
|
+
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
112
126
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
113
127
|
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined) return false;
|
|
114
128
|
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined) return false;
|
|
@@ -120,17 +134,18 @@ export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDt
|
|
|
120
134
|
return true;
|
|
121
135
|
}
|
|
122
136
|
|
|
123
|
-
export function
|
|
124
|
-
return
|
|
137
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
138
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json, false);
|
|
125
139
|
}
|
|
126
140
|
|
|
127
|
-
export function
|
|
141
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
128
142
|
if (json == null) {
|
|
129
143
|
return json;
|
|
130
144
|
}
|
|
131
145
|
return {
|
|
132
146
|
|
|
133
147
|
'stats': DomainStatsFromJSON(json['stats']),
|
|
148
|
+
'seo': SeoFromJSON(json['seo']),
|
|
134
149
|
'domain': json['domain'],
|
|
135
150
|
'domainDisplayName': json['domainDisplayName'],
|
|
136
151
|
'buyNowPrice': MoneyDtoFromJSON(json['buyNowPrice']),
|
|
@@ -142,11 +157,11 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONT
|
|
|
142
157
|
};
|
|
143
158
|
}
|
|
144
159
|
|
|
145
|
-
export function
|
|
146
|
-
return
|
|
160
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
161
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(json, false);
|
|
147
162
|
}
|
|
148
163
|
|
|
149
|
-
export function
|
|
164
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
150
165
|
if (value == null) {
|
|
151
166
|
return value;
|
|
152
167
|
}
|
|
@@ -154,6 +169,7 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSONTyp
|
|
|
154
169
|
return {
|
|
155
170
|
|
|
156
171
|
'stats': DomainStatsToJSON(value['stats']),
|
|
172
|
+
'seo': SeoToJSON(value['seo']),
|
|
157
173
|
'domain': value['domain'],
|
|
158
174
|
'domainDisplayName': value['domainDisplayName'],
|
|
159
175
|
'buyNowPrice': MoneyDtoToJSON(value['buyNowPrice']),
|
|
@@ -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 MozMetrics
|
|
20
|
+
*/
|
|
21
|
+
export interface MozMetrics {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof MozMetrics
|
|
26
|
+
*/
|
|
27
|
+
domainAuthority: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof MozMetrics
|
|
32
|
+
*/
|
|
33
|
+
backlinks: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the MozMetrics interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfMozMetrics(value: object): value is MozMetrics {
|
|
40
|
+
if (!('domainAuthority' in value) || value['domainAuthority'] === undefined) return false;
|
|
41
|
+
if (!('backlinks' in value) || value['backlinks'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function MozMetricsFromJSON(json: any): MozMetrics {
|
|
46
|
+
return MozMetricsFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function MozMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MozMetrics {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'domainAuthority': json['domainAuthority'],
|
|
56
|
+
'backlinks': json['backlinks'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MozMetricsToJSON(json: any): MozMetrics {
|
|
61
|
+
return MozMetricsToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MozMetricsToJSONTyped(value?: MozMetrics | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'domainAuthority': value['domainAuthority'],
|
|
72
|
+
'backlinks': value['backlinks'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { MozMetrics } from './MozMetrics';
|
|
17
|
+
import {
|
|
18
|
+
MozMetricsFromJSON,
|
|
19
|
+
MozMetricsFromJSONTyped,
|
|
20
|
+
MozMetricsToJSON,
|
|
21
|
+
MozMetricsToJSONTyped,
|
|
22
|
+
} from './MozMetrics';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface Seo
|
|
28
|
+
*/
|
|
29
|
+
export interface Seo {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {MozMetrics}
|
|
33
|
+
* @memberof Seo
|
|
34
|
+
*/
|
|
35
|
+
moz: MozMetrics | null;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the Seo interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfSeo(value: object): value is Seo {
|
|
42
|
+
if (!('moz' in value) || value['moz'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function SeoFromJSON(json: any): Seo {
|
|
47
|
+
return SeoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function SeoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Seo {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'moz': MozMetricsFromJSON(json['moz']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function SeoToJSON(json: any): Seo {
|
|
61
|
+
return SeoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function SeoToJSONTyped(value?: Seo | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'moz': MozMetricsToJSON(value['moz']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -85,7 +85,7 @@ export * from './HttpException';
|
|
|
85
85
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
86
86
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
87
87
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
88
|
-
export * from './
|
|
88
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto';
|
|
89
89
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
90
90
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
91
91
|
export * from './IntersectionTaskListTaskDto';
|
|
@@ -118,6 +118,7 @@ export * from './LoginDto';
|
|
|
118
118
|
export * from './LoginInput';
|
|
119
119
|
export * from './MoneyDto';
|
|
120
120
|
export * from './MoneyInput';
|
|
121
|
+
export * from './MozMetrics';
|
|
121
122
|
export * from './NotFoundException';
|
|
122
123
|
export * from './ObjectId';
|
|
123
124
|
export * from './OrderCompanyInfoDto';
|
|
@@ -150,6 +151,7 @@ export * from './SellerSecurityUserAccountDto';
|
|
|
150
151
|
export * from './SellerSecurityUserDto';
|
|
151
152
|
export * from './SellerSubscriptionListItemDto';
|
|
152
153
|
export * from './SellerSubscriptionListItemDtoDomainInformation';
|
|
154
|
+
export * from './Seo';
|
|
153
155
|
export * from './SetDomainTransferConfirmationInput';
|
|
154
156
|
export * from './SetNewPasswordInput';
|
|
155
157
|
export * from './StoreBuyerLocaleInput';
|