@randock/nameshift-api-client 0.0.203 → 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 +4 -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/SeoMetricsDto.d.ts +40 -0
- package/dist/models/{Seo.js → SeoMetricsDto.js} +13 -13
- package/dist/models/UpdateDomainInput.d.ts +7 -0
- package/dist/models/UpdateDomainInput.js +3 -0
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -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/{Seo.ts → SeoMetricsDto.ts} +12 -12
- package/src/models/UpdateDomainInput.ts +15 -0
- package/src/models/index.ts +4 -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 -40
- package/src/models/AccountSettingsLandingDto.ts +0 -102
|
@@ -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,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;
|
|
@@ -13,27 +13,27 @@
|
|
|
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.instanceOfSeoMetricsDto = instanceOfSeoMetricsDto;
|
|
17
|
+
exports.SeoMetricsDtoFromJSON = SeoMetricsDtoFromJSON;
|
|
18
|
+
exports.SeoMetricsDtoFromJSONTyped = SeoMetricsDtoFromJSONTyped;
|
|
19
|
+
exports.SeoMetricsDtoToJSON = SeoMetricsDtoToJSON;
|
|
20
|
+
exports.SeoMetricsDtoToJSONTyped = SeoMetricsDtoToJSONTyped;
|
|
21
21
|
var MajesticMetrics_1 = require("./MajesticMetrics");
|
|
22
22
|
var MozMetrics_1 = require("./MozMetrics");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the SeoMetricsDto interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfSeoMetricsDto(value) {
|
|
27
27
|
if (!('moz' in value) || value['moz'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('majestic' in value) || value['majestic'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function SeoMetricsDtoFromJSON(json) {
|
|
34
|
+
return SeoMetricsDtoFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function SeoMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -42,10 +42,10 @@ function SeoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'majestic': (0, MajesticMetrics_1.MajesticMetricsFromJSON)(json['majestic']),
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
return
|
|
45
|
+
function SeoMetricsDtoToJSON(json) {
|
|
46
|
+
return SeoMetricsDtoToJSONTyped(json, false);
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function SeoMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
49
49
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
@@ -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.
|
|
@@ -19,6 +19,7 @@ exports.UpdateDomainInputFromJSONTyped = UpdateDomainInputFromJSONTyped;
|
|
|
19
19
|
exports.UpdateDomainInputToJSON = UpdateDomainInputToJSON;
|
|
20
20
|
exports.UpdateDomainInputToJSONTyped = UpdateDomainInputToJSONTyped;
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
var LandingPageInput_1 = require("./LandingPageInput");
|
|
22
23
|
var LeaseToOwnConfigurationInput_1 = require("./LeaseToOwnConfigurationInput");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the UpdateDomainInput interface.
|
|
@@ -38,6 +39,7 @@ function UpdateDomainInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
'minOffer': json['minOffer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
39
40
|
'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
|
|
40
41
|
'leaseToOwn': json['leaseToOwn'] == null ? undefined : (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputFromJSON)(json['leaseToOwn']),
|
|
42
|
+
'landingPage': json['landingPage'] == null ? undefined : (0, LandingPageInput_1.LandingPageInputFromJSON)(json['landingPage']),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
function UpdateDomainInputToJSON(json) {
|
|
@@ -53,5 +55,6 @@ function UpdateDomainInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
53
55
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
54
56
|
'currencyCode': value['currencyCode'],
|
|
55
57
|
'leaseToOwn': (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputToJSON)(value['leaseToOwn']),
|
|
58
|
+
'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
|
|
56
59
|
};
|
|
57
60
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export * from './AccountNotificationReadStatusDto';
|
|
|
5
5
|
export * from './AccountPaymentProviderSessionDto';
|
|
6
6
|
export * from './AccountSettingsDto';
|
|
7
7
|
export * from './AccountSettingsInput';
|
|
8
|
-
export * from './AccountSettingsLandingDto';
|
|
9
8
|
export * from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
10
9
|
export * from './AccountSettingsSidnDto';
|
|
11
10
|
export * from './AddressDto';
|
|
@@ -46,9 +45,10 @@ export * from './CreateSubscriptionBillingPeriodicityInput';
|
|
|
46
45
|
export * from './CreateSubscriptionInput';
|
|
47
46
|
export * from './DeleteDomainsInput';
|
|
48
47
|
export * from './DomainDto';
|
|
48
|
+
export * from './DomainSalesInformationDto';
|
|
49
49
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
50
50
|
export * from './DomainSellerDto';
|
|
51
|
-
export * from './
|
|
51
|
+
export * from './DomainStatsDto';
|
|
52
52
|
export * from './DomainTransferAgentDto';
|
|
53
53
|
export * from './DomainTransferDetailSellerPayoutInvoiceDto';
|
|
54
54
|
export * from './DomainTransferDetailWorkflowStepActionDto';
|
|
@@ -84,7 +84,6 @@ export * from './HttpException';
|
|
|
84
84
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
85
85
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
86
86
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
87
|
-
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto';
|
|
88
87
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
89
88
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
90
89
|
export * from './IntersectionTaskListTaskDto';
|
|
@@ -95,6 +94,7 @@ export * from './InvoiceItemTaxDto';
|
|
|
95
94
|
export * from './InvoiceSellerAccountDto';
|
|
96
95
|
export * from './InvoiceTransactionDto';
|
|
97
96
|
export * from './LandingPageInput';
|
|
97
|
+
export * from './LandingPageSettingsDto';
|
|
98
98
|
export * from './LeadDomainDto';
|
|
99
99
|
export * from './LeadDto';
|
|
100
100
|
export * from './LeadMessageData';
|
|
@@ -152,7 +152,7 @@ export * from './SellerSecurityUserAccountDto';
|
|
|
152
152
|
export * from './SellerSecurityUserDto';
|
|
153
153
|
export * from './SellerSubscriptionListItemDto';
|
|
154
154
|
export * from './SellerSubscriptionListItemDtoDomainInformation';
|
|
155
|
-
export * from './
|
|
155
|
+
export * from './SeoMetricsDto';
|
|
156
156
|
export * from './SetDomainTransferConfirmationInput';
|
|
157
157
|
export * from './SetNewPasswordInput';
|
|
158
158
|
export * from './StoreBuyerLocaleInput';
|
package/dist/models/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __exportStar(require("./AccountNotificationReadStatusDto"), exports);
|
|
|
23
23
|
__exportStar(require("./AccountPaymentProviderSessionDto"), exports);
|
|
24
24
|
__exportStar(require("./AccountSettingsDto"), exports);
|
|
25
25
|
__exportStar(require("./AccountSettingsInput"), exports);
|
|
26
|
-
__exportStar(require("./AccountSettingsLandingDto"), exports);
|
|
27
26
|
__exportStar(require("./AccountSettingsLeaseToOwnConfigurationDto"), exports);
|
|
28
27
|
__exportStar(require("./AccountSettingsSidnDto"), exports);
|
|
29
28
|
__exportStar(require("./AddressDto"), exports);
|
|
@@ -64,9 +63,10 @@ __exportStar(require("./CreateSubscriptionBillingPeriodicityInput"), exports);
|
|
|
64
63
|
__exportStar(require("./CreateSubscriptionInput"), exports);
|
|
65
64
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
66
65
|
__exportStar(require("./DomainDto"), exports);
|
|
66
|
+
__exportStar(require("./DomainSalesInformationDto"), exports);
|
|
67
67
|
__exportStar(require("./DomainSalesInformationLeaseToOwnConfigurationDto"), exports);
|
|
68
68
|
__exportStar(require("./DomainSellerDto"), exports);
|
|
69
|
-
__exportStar(require("./
|
|
69
|
+
__exportStar(require("./DomainStatsDto"), exports);
|
|
70
70
|
__exportStar(require("./DomainTransferAgentDto"), exports);
|
|
71
71
|
__exportStar(require("./DomainTransferDetailSellerPayoutInvoiceDto"), exports);
|
|
72
72
|
__exportStar(require("./DomainTransferDetailWorkflowStepActionDto"), exports);
|
|
@@ -102,7 +102,6 @@ __exportStar(require("./HttpException"), exports);
|
|
|
102
102
|
__exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto"), exports);
|
|
103
103
|
__exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
|
|
104
104
|
__exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
|
|
105
|
-
__exportStar(require("./IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto"), exports);
|
|
106
105
|
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto"), exports);
|
|
107
106
|
__exportStar(require("./IntersectionLeadDtoWithListFieldsDto"), exports);
|
|
108
107
|
__exportStar(require("./IntersectionTaskListTaskDto"), exports);
|
|
@@ -113,6 +112,7 @@ __exportStar(require("./InvoiceItemTaxDto"), exports);
|
|
|
113
112
|
__exportStar(require("./InvoiceSellerAccountDto"), exports);
|
|
114
113
|
__exportStar(require("./InvoiceTransactionDto"), exports);
|
|
115
114
|
__exportStar(require("./LandingPageInput"), exports);
|
|
115
|
+
__exportStar(require("./LandingPageSettingsDto"), exports);
|
|
116
116
|
__exportStar(require("./LeadDomainDto"), exports);
|
|
117
117
|
__exportStar(require("./LeadDto"), exports);
|
|
118
118
|
__exportStar(require("./LeadMessageData"), exports);
|
|
@@ -170,7 +170,7 @@ __exportStar(require("./SellerSecurityUserAccountDto"), exports);
|
|
|
170
170
|
__exportStar(require("./SellerSecurityUserDto"), exports);
|
|
171
171
|
__exportStar(require("./SellerSubscriptionListItemDto"), exports);
|
|
172
172
|
__exportStar(require("./SellerSubscriptionListItemDtoDomainInformation"), exports);
|
|
173
|
-
__exportStar(require("./
|
|
173
|
+
__exportStar(require("./SeoMetricsDto"), exports);
|
|
174
174
|
__exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
175
175
|
__exportStar(require("./SetNewPasswordInput"), exports);
|
|
176
176
|
__exportStar(require("./StoreBuyerLocaleInput"), exports);
|
package/package.json
CHANGED
package/src/apis/DomainsApi.ts
CHANGED
|
@@ -19,7 +19,6 @@ import type {
|
|
|
19
19
|
BatchImportPreviewDto,
|
|
20
20
|
BatchUpdateDomainsInput,
|
|
21
21
|
DeleteDomainsInput,
|
|
22
|
-
DomainDto,
|
|
23
22
|
DomainUrlDto,
|
|
24
23
|
GetAllDomainTransfers200Response,
|
|
25
24
|
IntersectionDomainDtoWithHijackerDtoWithAccountDto,
|
|
@@ -40,8 +39,6 @@ import {
|
|
|
40
39
|
BatchUpdateDomainsInputToJSON,
|
|
41
40
|
DeleteDomainsInputFromJSON,
|
|
42
41
|
DeleteDomainsInputToJSON,
|
|
43
|
-
DomainDtoFromJSON,
|
|
44
|
-
DomainDtoToJSON,
|
|
45
42
|
DomainUrlDtoFromJSON,
|
|
46
43
|
DomainUrlDtoToJSON,
|
|
47
44
|
GetAllDomainTransfers200ResponseFromJSON,
|
|
@@ -624,7 +621,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
624
621
|
/**
|
|
625
622
|
*
|
|
626
623
|
*/
|
|
627
|
-
async updateRaw(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
624
|
+
async updateRaw(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
628
625
|
if (requestParameters['domainId'] == null) {
|
|
629
626
|
throw new runtime.RequiredError(
|
|
630
627
|
'domainId',
|
|
@@ -661,15 +658,14 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
661
658
|
body: UpdateDomainInputToJSON(requestParameters['updateDomainInput']),
|
|
662
659
|
}, initOverrides);
|
|
663
660
|
|
|
664
|
-
return new runtime.
|
|
661
|
+
return new runtime.VoidApiResponse(response);
|
|
665
662
|
}
|
|
666
663
|
|
|
667
664
|
/**
|
|
668
665
|
*
|
|
669
666
|
*/
|
|
670
|
-
async update(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
671
|
-
|
|
672
|
-
return await response.value();
|
|
667
|
+
async update(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
668
|
+
await this.updateRaw(requestParameters, initOverrides);
|
|
673
669
|
}
|
|
674
670
|
|
|
675
671
|
/**
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
18
|
+
DomainSalesInformationDto,
|
|
19
19
|
List200Response3,
|
|
20
20
|
NotFoundException,
|
|
21
21
|
ThrottlerException,
|
|
22
22
|
ValidationException,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
DomainSalesInformationDtoFromJSON,
|
|
26
|
+
DomainSalesInformationDtoToJSON,
|
|
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<DomainSalesInformationDto>> {
|
|
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) => DomainSalesInformationDtoFromJSON(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<DomainSalesInformationDto> {
|
|
97
97
|
const response = await this.getDomainSalesInformationRaw(requestParameters, initOverrides);
|
|
98
98
|
return await response.value();
|
|
99
99
|
}
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
AccountSettingsLeaseToOwnConfigurationDtoToJSON,
|
|
35
35
|
AccountSettingsLeaseToOwnConfigurationDtoToJSONTyped,
|
|
36
36
|
} from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
37
|
-
import type {
|
|
37
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from './
|
|
39
|
+
LandingPageSettingsDtoFromJSON,
|
|
40
|
+
LandingPageSettingsDtoFromJSONTyped,
|
|
41
|
+
LandingPageSettingsDtoToJSON,
|
|
42
|
+
LandingPageSettingsDtoToJSONTyped,
|
|
43
|
+
} from './LandingPageSettingsDto';
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
@@ -80,16 +80,28 @@ export interface AccountSettingsDto {
|
|
|
80
80
|
leaseToOwn: AccountSettingsLeaseToOwnConfigurationDto;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
|
-
* @type {
|
|
83
|
+
* @type {LandingPageSettingsDto}
|
|
84
84
|
* @memberof AccountSettingsDto
|
|
85
85
|
*/
|
|
86
|
-
landing:
|
|
86
|
+
landing: LandingPageSettingsDto;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
89
|
* @type {AccountSettingsSidnDto}
|
|
90
90
|
* @memberof AccountSettingsDto
|
|
91
91
|
*/
|
|
92
92
|
sidn: AccountSettingsSidnDto;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof AccountSettingsDto
|
|
97
|
+
*/
|
|
98
|
+
description: string | null;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof AccountSettingsDto
|
|
103
|
+
*/
|
|
104
|
+
avatar: string | null;
|
|
93
105
|
}
|
|
94
106
|
|
|
95
107
|
/**
|
|
@@ -103,6 +115,8 @@ export function instanceOfAccountSettingsDto(value: object): value is AccountSet
|
|
|
103
115
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
104
116
|
if (!('landing' in value) || value['landing'] === undefined) return false;
|
|
105
117
|
if (!('sidn' in value) || value['sidn'] === undefined) return false;
|
|
118
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
119
|
+
if (!('avatar' in value) || value['avatar'] === undefined) return false;
|
|
106
120
|
return true;
|
|
107
121
|
}
|
|
108
122
|
|
|
@@ -121,8 +135,10 @@ export function AccountSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
121
135
|
'defaultCurrencyCode': json['defaultCurrencyCode'],
|
|
122
136
|
'automaticPayouts': json['automaticPayouts'],
|
|
123
137
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
124
|
-
'landing':
|
|
138
|
+
'landing': LandingPageSettingsDtoFromJSON(json['landing']),
|
|
125
139
|
'sidn': AccountSettingsSidnDtoFromJSON(json['sidn']),
|
|
140
|
+
'description': json['description'],
|
|
141
|
+
'avatar': json['avatar'],
|
|
126
142
|
};
|
|
127
143
|
}
|
|
128
144
|
|
|
@@ -142,8 +158,10 @@ export function AccountSettingsDtoToJSONTyped(value?: AccountSettingsDto | null,
|
|
|
142
158
|
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
143
159
|
'automaticPayouts': value['automaticPayouts'],
|
|
144
160
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
145
|
-
'landing':
|
|
161
|
+
'landing': LandingPageSettingsDtoToJSON(value['landing']),
|
|
146
162
|
'sidn': AccountSettingsSidnDtoToJSON(value['sidn']),
|
|
163
|
+
'description': value['description'],
|
|
164
|
+
'avatar': value['avatar'],
|
|
147
165
|
};
|
|
148
166
|
}
|
|
149
167
|
|