@randock/nameshift-api-client 0.0.202 → 0.0.204
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 +6 -4
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +3 -3
- package/dist/apis/DomainsApi.js +3 -5
- package/dist/apis/DomainsPublicApi.d.ts +3 -3
- package/dist/apis/DomainsPublicApi.js +1 -1
- package/dist/models/AccountSettingsDto.d.ts +15 -3
- package/dist/models/AccountSettingsDto.js +11 -3
- package/dist/models/AccountSettingsInput.d.ts +6 -0
- package/dist/models/AccountSettingsInput.js +2 -0
- package/dist/models/DomainDto.d.ts +7 -0
- package/dist/models/DomainDto.js +5 -0
- package/dist/models/DomainSalesInformationDto.d.ts +91 -0
- package/dist/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.js → DomainSalesInformationDto.js} +23 -23
- package/dist/models/DomainStatsDto.d.ts +59 -0
- package/dist/models/{DomainStats.js → DomainStatsDto.js} +15 -15
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
- package/dist/models/LandingPageInput.d.ts +3 -9
- package/dist/models/LandingPageInput.js +0 -2
- package/dist/models/LandingPageSettingsDto.d.ts +44 -0
- package/dist/models/LandingPageSettingsDto.js +59 -0
- package/dist/models/MajesticMetrics.d.ts +69 -0
- package/dist/models/MajesticMetrics.js +76 -0
- package/dist/models/MajesticTopicTrustFlow.d.ts +44 -0
- package/dist/models/MajesticTopicTrustFlow.js +59 -0
- package/dist/models/MozMetrics.d.ts +12 -0
- package/dist/models/MozMetrics.js +8 -0
- package/dist/models/SeoMetricsDto.d.ts +40 -0
- package/dist/models/SeoMetricsDto.js +57 -0
- package/dist/models/UpdateDomainInput.d.ts +7 -0
- package/dist/models/UpdateDomainInput.js +3 -0
- package/dist/models/index.d.ts +6 -4
- package/dist/models/index.js +6 -4
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +4 -8
- package/src/apis/DomainsPublicApi.ts +6 -6
- package/src/models/AccountSettingsDto.ts +28 -10
- package/src/models/AccountSettingsInput.ts +8 -0
- package/src/models/DomainDto.ts +16 -0
- package/src/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.ts → DomainSalesInformationDto.ts} +49 -49
- package/src/models/{DomainStats.ts → DomainStatsDto.ts} +17 -17
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/LandingPageInput.ts +3 -11
- package/src/models/LandingPageSettingsDto.ts +84 -0
- package/src/models/MajesticMetrics.ts +128 -0
- package/src/models/MajesticTopicTrustFlow.ts +84 -0
- package/src/models/MozMetrics.ts +18 -0
- package/src/models/SeoMetricsDto.ts +90 -0
- package/src/models/UpdateDomainInput.ts +15 -0
- package/src/models/index.ts +6 -4
- package/dist/models/AccountSettingsLandingDto.d.ts +0 -56
- package/dist/models/AccountSettingsLandingDto.js +0 -67
- package/dist/models/DomainStats.d.ts +0 -59
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.d.ts +0 -91
- package/dist/models/Seo.d.ts +0 -33
- package/dist/models/Seo.js +0 -52
- package/src/models/AccountSettingsLandingDto.ts +0 -102
- package/src/models/Seo.ts +0 -74
|
@@ -20,6 +20,7 @@ exports.IntersectionDomainDtoWithAccountDtoToJSON = IntersectionDomainDtoWithAcc
|
|
|
20
20
|
exports.IntersectionDomainDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithAccountDtoToJSONTyped;
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
22
|
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
23
|
+
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
23
24
|
var AccountDto_1 = require("./AccountDto");
|
|
24
25
|
/**
|
|
25
26
|
* Check if a given object implements the IntersectionDomainDtoWithAccountDto interface.
|
|
@@ -47,6 +48,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
47
48
|
return false;
|
|
48
49
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
49
50
|
return false;
|
|
51
|
+
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined)
|
|
52
|
+
return false;
|
|
50
53
|
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
51
54
|
return false;
|
|
52
55
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -78,6 +81,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
78
81
|
'currencyCode': json['currencyCode'],
|
|
79
82
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
80
83
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
84
|
+
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landingPageSettings']),
|
|
81
85
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
82
86
|
'createdAt': (new Date(json['createdAt'])),
|
|
83
87
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
@@ -105,6 +109,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
105
109
|
'currencyCode': value['currencyCode'],
|
|
106
110
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
107
111
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
112
|
+
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landingPageSettings']),
|
|
108
113
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
109
114
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
110
115
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
14
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
14
15
|
import type { AccountDto } from './AccountDto';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -85,6 +86,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
85
86
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
86
87
|
*/
|
|
87
88
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
89
|
+
/**
|
|
90
|
+
* The lease to own configuration
|
|
91
|
+
* @type {LandingPageSettingsDto}
|
|
92
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
93
|
+
*/
|
|
94
|
+
landingPageSettings: LandingPageSettingsDto;
|
|
88
95
|
/**
|
|
89
96
|
* The minimum offer
|
|
90
97
|
* @type {MoneyDto}
|
|
@@ -20,6 +20,7 @@ exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = IntersectionD
|
|
|
20
20
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped;
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
22
|
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
23
|
+
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
23
24
|
var AccountDto_1 = require("./AccountDto");
|
|
24
25
|
/**
|
|
25
26
|
* Check if a given object implements the IntersectionDomainDtoWithHijackerDtoWithAccountDto interface.
|
|
@@ -47,6 +48,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
47
48
|
return false;
|
|
48
49
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
49
50
|
return false;
|
|
51
|
+
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined)
|
|
52
|
+
return false;
|
|
50
53
|
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
51
54
|
return false;
|
|
52
55
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -80,6 +83,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
80
83
|
'currencyCode': json['currencyCode'],
|
|
81
84
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
82
85
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
86
|
+
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landingPageSettings']),
|
|
83
87
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
84
88
|
'createdAt': (new Date(json['createdAt'])),
|
|
85
89
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
@@ -108,6 +112,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
108
112
|
'currencyCode': value['currencyCode'],
|
|
109
113
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
110
114
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
115
|
+
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landingPageSettings']),
|
|
111
116
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
112
117
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
113
118
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
@@ -20,25 +20,19 @@ export interface LandingPageInput {
|
|
|
20
20
|
* @type {boolean}
|
|
21
21
|
* @memberof LandingPageInput
|
|
22
22
|
*/
|
|
23
|
-
anonymous?: boolean;
|
|
23
|
+
anonymous?: boolean | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {boolean}
|
|
27
27
|
* @memberof LandingPageInput
|
|
28
28
|
*/
|
|
29
|
-
showRelatedDomains?: boolean;
|
|
29
|
+
showRelatedDomains?: boolean | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {boolean}
|
|
33
33
|
* @memberof LandingPageInput
|
|
34
34
|
*/
|
|
35
|
-
seoMetrics?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof LandingPageInput
|
|
40
|
-
*/
|
|
41
|
-
description?: string | null;
|
|
35
|
+
seoMetrics?: boolean | null;
|
|
42
36
|
}
|
|
43
37
|
/**
|
|
44
38
|
* Check if a given object implements the LandingPageInput interface.
|
|
@@ -35,7 +35,6 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
|
|
36
36
|
'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
|
|
37
37
|
'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
|
|
38
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
40
|
function LandingPageInputToJSON(json) {
|
|
@@ -50,6 +49,5 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
50
49
|
'anonymous': value['anonymous'],
|
|
51
50
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
52
51
|
'seoMetrics': value['seoMetrics'],
|
|
53
|
-
'description': value['description'],
|
|
54
52
|
};
|
|
55
53
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 LandingPageSettingsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LandingPageSettingsDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof LandingPageSettingsDto
|
|
22
|
+
*/
|
|
23
|
+
anonymous: boolean | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof LandingPageSettingsDto
|
|
28
|
+
*/
|
|
29
|
+
showRelatedDomains: boolean | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof LandingPageSettingsDto
|
|
34
|
+
*/
|
|
35
|
+
seoMetrics: boolean | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfLandingPageSettingsDto(value: object): value is LandingPageSettingsDto;
|
|
41
|
+
export declare function LandingPageSettingsDtoFromJSON(json: any): LandingPageSettingsDto;
|
|
42
|
+
export declare function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingPageSettingsDto;
|
|
43
|
+
export declare function LandingPageSettingsDtoToJSON(json: any): LandingPageSettingsDto;
|
|
44
|
+
export declare function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfLandingPageSettingsDto = instanceOfLandingPageSettingsDto;
|
|
17
|
+
exports.LandingPageSettingsDtoFromJSON = LandingPageSettingsDtoFromJSON;
|
|
18
|
+
exports.LandingPageSettingsDtoFromJSONTyped = LandingPageSettingsDtoFromJSONTyped;
|
|
19
|
+
exports.LandingPageSettingsDtoToJSON = LandingPageSettingsDtoToJSON;
|
|
20
|
+
exports.LandingPageSettingsDtoToJSONTyped = LandingPageSettingsDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLandingPageSettingsDto(value) {
|
|
25
|
+
if (!('anonymous' in value) || value['anonymous'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function LandingPageSettingsDtoFromJSON(json) {
|
|
34
|
+
return LandingPageSettingsDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'anonymous': json['anonymous'],
|
|
42
|
+
'showRelatedDomains': json['showRelatedDomains'],
|
|
43
|
+
'seoMetrics': json['seoMetrics'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function LandingPageSettingsDtoToJSON(json) {
|
|
47
|
+
return LandingPageSettingsDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'anonymous': value['anonymous'],
|
|
56
|
+
'showRelatedDomains': value['showRelatedDomains'],
|
|
57
|
+
'seoMetrics': value['seoMetrics'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { MajesticTopicTrustFlow } from './MajesticTopicTrustFlow';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MajesticMetrics
|
|
17
|
+
*/
|
|
18
|
+
export interface MajesticMetrics {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof MajesticMetrics
|
|
23
|
+
*/
|
|
24
|
+
backlinks: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof MajesticMetrics
|
|
29
|
+
*/
|
|
30
|
+
referringDomains: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof MajesticMetrics
|
|
35
|
+
*/
|
|
36
|
+
referringDomainsEdu: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof MajesticMetrics
|
|
41
|
+
*/
|
|
42
|
+
referringDomainsGov: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof MajesticMetrics
|
|
47
|
+
*/
|
|
48
|
+
citationFlow: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof MajesticMetrics
|
|
53
|
+
*/
|
|
54
|
+
trustFlow: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<MajesticTopicTrustFlow>}
|
|
58
|
+
* @memberof MajesticMetrics
|
|
59
|
+
*/
|
|
60
|
+
topicalTrustFlow: Array<MajesticTopicTrustFlow>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the MajesticMetrics interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfMajesticMetrics(value: object): value is MajesticMetrics;
|
|
66
|
+
export declare function MajesticMetricsFromJSON(json: any): MajesticMetrics;
|
|
67
|
+
export declare function MajesticMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MajesticMetrics;
|
|
68
|
+
export declare function MajesticMetricsToJSON(json: any): MajesticMetrics;
|
|
69
|
+
export declare function MajesticMetricsToJSONTyped(value?: MajesticMetrics | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.instanceOfMajesticMetrics = instanceOfMajesticMetrics;
|
|
17
|
+
exports.MajesticMetricsFromJSON = MajesticMetricsFromJSON;
|
|
18
|
+
exports.MajesticMetricsFromJSONTyped = MajesticMetricsFromJSONTyped;
|
|
19
|
+
exports.MajesticMetricsToJSON = MajesticMetricsToJSON;
|
|
20
|
+
exports.MajesticMetricsToJSONTyped = MajesticMetricsToJSONTyped;
|
|
21
|
+
var MajesticTopicTrustFlow_1 = require("./MajesticTopicTrustFlow");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the MajesticMetrics interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfMajesticMetrics(value) {
|
|
26
|
+
if (!('backlinks' in value) || value['backlinks'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('referringDomains' in value) || value['referringDomains'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('referringDomainsEdu' in value) || value['referringDomainsEdu'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('referringDomainsGov' in value) || value['referringDomainsGov'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('citationFlow' in value) || value['citationFlow'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('trustFlow' in value) || value['trustFlow'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('topicalTrustFlow' in value) || value['topicalTrustFlow'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function MajesticMetricsFromJSON(json) {
|
|
43
|
+
return MajesticMetricsFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function MajesticMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'backlinks': json['backlinks'],
|
|
51
|
+
'referringDomains': json['referringDomains'],
|
|
52
|
+
'referringDomainsEdu': json['referringDomainsEdu'],
|
|
53
|
+
'referringDomainsGov': json['referringDomainsGov'],
|
|
54
|
+
'citationFlow': json['citationFlow'],
|
|
55
|
+
'trustFlow': json['trustFlow'],
|
|
56
|
+
'topicalTrustFlow': (json['topicalTrustFlow'].map(MajesticTopicTrustFlow_1.MajesticTopicTrustFlowFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function MajesticMetricsToJSON(json) {
|
|
60
|
+
return MajesticMetricsToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function MajesticMetricsToJSONTyped(value, ignoreDiscriminator) {
|
|
63
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'backlinks': value['backlinks'],
|
|
69
|
+
'referringDomains': value['referringDomains'],
|
|
70
|
+
'referringDomainsEdu': value['referringDomainsEdu'],
|
|
71
|
+
'referringDomainsGov': value['referringDomainsGov'],
|
|
72
|
+
'citationFlow': value['citationFlow'],
|
|
73
|
+
'trustFlow': value['trustFlow'],
|
|
74
|
+
'topicalTrustFlow': (value['topicalTrustFlow'].map(MajesticTopicTrustFlow_1.MajesticTopicTrustFlowToJSON)),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 MajesticTopicTrustFlow
|
|
16
|
+
*/
|
|
17
|
+
export interface MajesticTopicTrustFlow {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MajesticTopicTrustFlow
|
|
22
|
+
*/
|
|
23
|
+
index: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MajesticTopicTrustFlow
|
|
28
|
+
*/
|
|
29
|
+
topic: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof MajesticTopicTrustFlow
|
|
34
|
+
*/
|
|
35
|
+
value: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the MajesticTopicTrustFlow interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfMajesticTopicTrustFlow(value: object): value is MajesticTopicTrustFlow;
|
|
41
|
+
export declare function MajesticTopicTrustFlowFromJSON(json: any): MajesticTopicTrustFlow;
|
|
42
|
+
export declare function MajesticTopicTrustFlowFromJSONTyped(json: any, ignoreDiscriminator: boolean): MajesticTopicTrustFlow;
|
|
43
|
+
export declare function MajesticTopicTrustFlowToJSON(json: any): MajesticTopicTrustFlow;
|
|
44
|
+
export declare function MajesticTopicTrustFlowToJSONTyped(value?: MajesticTopicTrustFlow | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfMajesticTopicTrustFlow = instanceOfMajesticTopicTrustFlow;
|
|
17
|
+
exports.MajesticTopicTrustFlowFromJSON = MajesticTopicTrustFlowFromJSON;
|
|
18
|
+
exports.MajesticTopicTrustFlowFromJSONTyped = MajesticTopicTrustFlowFromJSONTyped;
|
|
19
|
+
exports.MajesticTopicTrustFlowToJSON = MajesticTopicTrustFlowToJSON;
|
|
20
|
+
exports.MajesticTopicTrustFlowToJSONTyped = MajesticTopicTrustFlowToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MajesticTopicTrustFlow interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMajesticTopicTrustFlow(value) {
|
|
25
|
+
if (!('index' in value) || value['index'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('topic' in value) || value['topic'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function MajesticTopicTrustFlowFromJSON(json) {
|
|
34
|
+
return MajesticTopicTrustFlowFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function MajesticTopicTrustFlowFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'index': json['index'],
|
|
42
|
+
'topic': json['topic'],
|
|
43
|
+
'value': json['value'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function MajesticTopicTrustFlowToJSON(json) {
|
|
47
|
+
return MajesticTopicTrustFlowToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function MajesticTopicTrustFlowToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'index': value['index'],
|
|
56
|
+
'topic': value['topic'],
|
|
57
|
+
'value': value['value'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -21,12 +21,24 @@ export interface MozMetrics {
|
|
|
21
21
|
* @memberof MozMetrics
|
|
22
22
|
*/
|
|
23
23
|
domainAuthority: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof MozMetrics
|
|
28
|
+
*/
|
|
29
|
+
pageAuthority: number;
|
|
24
30
|
/**
|
|
25
31
|
*
|
|
26
32
|
* @type {number}
|
|
27
33
|
* @memberof MozMetrics
|
|
28
34
|
*/
|
|
29
35
|
backlinks: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof MozMetrics
|
|
40
|
+
*/
|
|
41
|
+
spamScore: number | null;
|
|
30
42
|
}
|
|
31
43
|
/**
|
|
32
44
|
* Check if a given object implements the MozMetrics interface.
|
|
@@ -24,8 +24,12 @@ exports.MozMetricsToJSONTyped = MozMetricsToJSONTyped;
|
|
|
24
24
|
function instanceOfMozMetrics(value) {
|
|
25
25
|
if (!('domainAuthority' in value) || value['domainAuthority'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('pageAuthority' in value) || value['pageAuthority'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('backlinks' in value) || value['backlinks'] === undefined)
|
|
28
30
|
return false;
|
|
31
|
+
if (!('spamScore' in value) || value['spamScore'] === undefined)
|
|
32
|
+
return false;
|
|
29
33
|
return true;
|
|
30
34
|
}
|
|
31
35
|
function MozMetricsFromJSON(json) {
|
|
@@ -37,7 +41,9 @@ function MozMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
41
|
}
|
|
38
42
|
return {
|
|
39
43
|
'domainAuthority': json['domainAuthority'],
|
|
44
|
+
'pageAuthority': json['pageAuthority'],
|
|
40
45
|
'backlinks': json['backlinks'],
|
|
46
|
+
'spamScore': json['spamScore'],
|
|
41
47
|
};
|
|
42
48
|
}
|
|
43
49
|
function MozMetricsToJSON(json) {
|
|
@@ -50,6 +56,8 @@ function MozMetricsToJSONTyped(value, ignoreDiscriminator) {
|
|
|
50
56
|
}
|
|
51
57
|
return {
|
|
52
58
|
'domainAuthority': value['domainAuthority'],
|
|
59
|
+
'pageAuthority': value['pageAuthority'],
|
|
53
60
|
'backlinks': value['backlinks'],
|
|
61
|
+
'spamScore': value['spamScore'],
|
|
54
62
|
};
|
|
55
63
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { MajesticMetrics } from './MajesticMetrics';
|
|
13
|
+
import type { MozMetrics } from './MozMetrics';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SeoMetricsDto
|
|
18
|
+
*/
|
|
19
|
+
export interface SeoMetricsDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {MozMetrics}
|
|
23
|
+
* @memberof SeoMetricsDto
|
|
24
|
+
*/
|
|
25
|
+
moz: MozMetrics | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {MajesticMetrics}
|
|
29
|
+
* @memberof SeoMetricsDto
|
|
30
|
+
*/
|
|
31
|
+
majestic: MajesticMetrics | null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the SeoMetricsDto interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfSeoMetricsDto(value: object): value is SeoMetricsDto;
|
|
37
|
+
export declare function SeoMetricsDtoFromJSON(json: any): SeoMetricsDto;
|
|
38
|
+
export declare function SeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeoMetricsDto;
|
|
39
|
+
export declare function SeoMetricsDtoToJSON(json: any): SeoMetricsDto;
|
|
40
|
+
export declare function SeoMetricsDtoToJSONTyped(value?: SeoMetricsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfSeoMetricsDto = instanceOfSeoMetricsDto;
|
|
17
|
+
exports.SeoMetricsDtoFromJSON = SeoMetricsDtoFromJSON;
|
|
18
|
+
exports.SeoMetricsDtoFromJSONTyped = SeoMetricsDtoFromJSONTyped;
|
|
19
|
+
exports.SeoMetricsDtoToJSON = SeoMetricsDtoToJSON;
|
|
20
|
+
exports.SeoMetricsDtoToJSONTyped = SeoMetricsDtoToJSONTyped;
|
|
21
|
+
var MajesticMetrics_1 = require("./MajesticMetrics");
|
|
22
|
+
var MozMetrics_1 = require("./MozMetrics");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the SeoMetricsDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfSeoMetricsDto(value) {
|
|
27
|
+
if (!('moz' in value) || value['moz'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('majestic' in value) || value['majestic'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function SeoMetricsDtoFromJSON(json) {
|
|
34
|
+
return SeoMetricsDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function SeoMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'moz': (0, MozMetrics_1.MozMetricsFromJSON)(json['moz']),
|
|
42
|
+
'majestic': (0, MajesticMetrics_1.MajesticMetricsFromJSON)(json['majestic']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function SeoMetricsDtoToJSON(json) {
|
|
46
|
+
return SeoMetricsDtoToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function SeoMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'moz': (0, MozMetrics_1.MozMetricsToJSON)(value['moz']),
|
|
55
|
+
'majestic': (0, MajesticMetrics_1.MajesticMetricsToJSON)(value['majestic']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
import type { LandingPageInput } from './LandingPageInput';
|
|
13
14
|
import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -41,6 +42,12 @@ export interface UpdateDomainInput {
|
|
|
41
42
|
* @memberof UpdateDomainInput
|
|
42
43
|
*/
|
|
43
44
|
leaseToOwn?: LeaseToOwnConfigurationInput;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {LandingPageInput}
|
|
48
|
+
* @memberof UpdateDomainInput
|
|
49
|
+
*/
|
|
50
|
+
landingPage?: LandingPageInput;
|
|
44
51
|
}
|
|
45
52
|
/**
|
|
46
53
|
* Check if a given object implements the UpdateDomainInput interface.
|