@randock/nameshift-api-client 0.0.203 → 0.0.205
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 +46 -0
- package/dist/models/{Seo.js → SeoMetricsDto.js} +17 -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} +21 -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
|
@@ -0,0 +1,84 @@
|
|
|
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 LandingPageSettingsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LandingPageSettingsDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof LandingPageSettingsDto
|
|
26
|
+
*/
|
|
27
|
+
anonymous: boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof LandingPageSettingsDto
|
|
32
|
+
*/
|
|
33
|
+
showRelatedDomains: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof LandingPageSettingsDto
|
|
38
|
+
*/
|
|
39
|
+
seoMetrics: boolean | null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfLandingPageSettingsDto(value: object): value is LandingPageSettingsDto {
|
|
46
|
+
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
47
|
+
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
48
|
+
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LandingPageSettingsDtoFromJSON(json: any): LandingPageSettingsDto {
|
|
53
|
+
return LandingPageSettingsDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingPageSettingsDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'anonymous': json['anonymous'],
|
|
63
|
+
'showRelatedDomains': json['showRelatedDomains'],
|
|
64
|
+
'seoMetrics': json['seoMetrics'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function LandingPageSettingsDtoToJSON(json: any): LandingPageSettingsDto {
|
|
69
|
+
return LandingPageSettingsDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'anonymous': value['anonymous'],
|
|
80
|
+
'showRelatedDomains': value['showRelatedDomains'],
|
|
81
|
+
'seoMetrics': value['seoMetrics'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -31,37 +31,44 @@ import {
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
34
|
-
* @interface
|
|
34
|
+
* @interface SeoMetricsDto
|
|
35
35
|
*/
|
|
36
|
-
export interface
|
|
36
|
+
export interface SeoMetricsDto {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {MozMetrics}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof SeoMetricsDto
|
|
41
41
|
*/
|
|
42
42
|
moz: MozMetrics | null;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {MajesticMetrics}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof SeoMetricsDto
|
|
47
47
|
*/
|
|
48
48
|
majestic: MajesticMetrics | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {MajesticMetrics}
|
|
52
|
+
* @memberof SeoMetricsDto
|
|
53
|
+
*/
|
|
54
|
+
historical: MajesticMetrics | null;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
/**
|
|
52
|
-
* Check if a given object implements the
|
|
58
|
+
* Check if a given object implements the SeoMetricsDto interface.
|
|
53
59
|
*/
|
|
54
|
-
export function
|
|
60
|
+
export function instanceOfSeoMetricsDto(value: object): value is SeoMetricsDto {
|
|
55
61
|
if (!('moz' in value) || value['moz'] === undefined) return false;
|
|
56
62
|
if (!('majestic' in value) || value['majestic'] === undefined) return false;
|
|
63
|
+
if (!('historical' in value) || value['historical'] === undefined) return false;
|
|
57
64
|
return true;
|
|
58
65
|
}
|
|
59
66
|
|
|
60
|
-
export function
|
|
61
|
-
return
|
|
67
|
+
export function SeoMetricsDtoFromJSON(json: any): SeoMetricsDto {
|
|
68
|
+
return SeoMetricsDtoFromJSONTyped(json, false);
|
|
62
69
|
}
|
|
63
70
|
|
|
64
|
-
export function
|
|
71
|
+
export function SeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeoMetricsDto {
|
|
65
72
|
if (json == null) {
|
|
66
73
|
return json;
|
|
67
74
|
}
|
|
@@ -69,14 +76,15 @@ export function SeoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Seo {
|
|
|
69
76
|
|
|
70
77
|
'moz': MozMetricsFromJSON(json['moz']),
|
|
71
78
|
'majestic': MajesticMetricsFromJSON(json['majestic']),
|
|
79
|
+
'historical': MajesticMetricsFromJSON(json['historical']),
|
|
72
80
|
};
|
|
73
81
|
}
|
|
74
82
|
|
|
75
|
-
export function
|
|
76
|
-
return
|
|
83
|
+
export function SeoMetricsDtoToJSON(json: any): SeoMetricsDto {
|
|
84
|
+
return SeoMetricsDtoToJSONTyped(json, false);
|
|
77
85
|
}
|
|
78
86
|
|
|
79
|
-
export function
|
|
87
|
+
export function SeoMetricsDtoToJSONTyped(value?: SeoMetricsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
80
88
|
if (value == null) {
|
|
81
89
|
return value;
|
|
82
90
|
}
|
|
@@ -85,6 +93,7 @@ export function SeoToJSONTyped(value?: Seo | null, ignoreDiscriminator: boolean
|
|
|
85
93
|
|
|
86
94
|
'moz': MozMetricsToJSON(value['moz']),
|
|
87
95
|
'majestic': MajesticMetricsToJSON(value['majestic']),
|
|
96
|
+
'historical': MajesticMetricsToJSON(value['historical']),
|
|
88
97
|
};
|
|
89
98
|
}
|
|
90
99
|
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
MoneyDtoToJSON,
|
|
21
21
|
MoneyDtoToJSONTyped,
|
|
22
22
|
} from './MoneyDto';
|
|
23
|
+
import type { LandingPageInput } from './LandingPageInput';
|
|
24
|
+
import {
|
|
25
|
+
LandingPageInputFromJSON,
|
|
26
|
+
LandingPageInputFromJSONTyped,
|
|
27
|
+
LandingPageInputToJSON,
|
|
28
|
+
LandingPageInputToJSONTyped,
|
|
29
|
+
} from './LandingPageInput';
|
|
23
30
|
import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
|
|
24
31
|
import {
|
|
25
32
|
LeaseToOwnConfigurationInputFromJSON,
|
|
@@ -58,6 +65,12 @@ export interface UpdateDomainInput {
|
|
|
58
65
|
* @memberof UpdateDomainInput
|
|
59
66
|
*/
|
|
60
67
|
leaseToOwn?: LeaseToOwnConfigurationInput;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {LandingPageInput}
|
|
71
|
+
* @memberof UpdateDomainInput
|
|
72
|
+
*/
|
|
73
|
+
landingPage?: LandingPageInput;
|
|
61
74
|
}
|
|
62
75
|
|
|
63
76
|
/**
|
|
@@ -81,6 +94,7 @@ export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
81
94
|
'minOffer': json['minOffer'] == null ? undefined : MoneyDtoFromJSON(json['minOffer']),
|
|
82
95
|
'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
|
|
83
96
|
'leaseToOwn': json['leaseToOwn'] == null ? undefined : LeaseToOwnConfigurationInputFromJSON(json['leaseToOwn']),
|
|
97
|
+
'landingPage': json['landingPage'] == null ? undefined : LandingPageInputFromJSON(json['landingPage']),
|
|
84
98
|
};
|
|
85
99
|
}
|
|
86
100
|
|
|
@@ -99,6 +113,7 @@ export function UpdateDomainInputToJSONTyped(value?: UpdateDomainInput | null, i
|
|
|
99
113
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
100
114
|
'currencyCode': value['currencyCode'],
|
|
101
115
|
'leaseToOwn': LeaseToOwnConfigurationInputToJSON(value['leaseToOwn']),
|
|
116
|
+
'landingPage': LandingPageInputToJSON(value['landingPage']),
|
|
102
117
|
};
|
|
103
118
|
}
|
|
104
119
|
|
package/src/models/index.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from './AccountNotificationReadStatusDto';
|
|
|
7
7
|
export * from './AccountPaymentProviderSessionDto';
|
|
8
8
|
export * from './AccountSettingsDto';
|
|
9
9
|
export * from './AccountSettingsInput';
|
|
10
|
-
export * from './AccountSettingsLandingDto';
|
|
11
10
|
export * from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
12
11
|
export * from './AccountSettingsSidnDto';
|
|
13
12
|
export * from './AddressDto';
|
|
@@ -48,9 +47,10 @@ export * from './CreateSubscriptionBillingPeriodicityInput';
|
|
|
48
47
|
export * from './CreateSubscriptionInput';
|
|
49
48
|
export * from './DeleteDomainsInput';
|
|
50
49
|
export * from './DomainDto';
|
|
50
|
+
export * from './DomainSalesInformationDto';
|
|
51
51
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
52
52
|
export * from './DomainSellerDto';
|
|
53
|
-
export * from './
|
|
53
|
+
export * from './DomainStatsDto';
|
|
54
54
|
export * from './DomainTransferAgentDto';
|
|
55
55
|
export * from './DomainTransferDetailSellerPayoutInvoiceDto';
|
|
56
56
|
export * from './DomainTransferDetailWorkflowStepActionDto';
|
|
@@ -86,7 +86,6 @@ export * from './HttpException';
|
|
|
86
86
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
87
87
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
88
88
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
89
|
-
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto';
|
|
90
89
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
91
90
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
92
91
|
export * from './IntersectionTaskListTaskDto';
|
|
@@ -97,6 +96,7 @@ export * from './InvoiceItemTaxDto';
|
|
|
97
96
|
export * from './InvoiceSellerAccountDto';
|
|
98
97
|
export * from './InvoiceTransactionDto';
|
|
99
98
|
export * from './LandingPageInput';
|
|
99
|
+
export * from './LandingPageSettingsDto';
|
|
100
100
|
export * from './LeadDomainDto';
|
|
101
101
|
export * from './LeadDto';
|
|
102
102
|
export * from './LeadMessageData';
|
|
@@ -154,7 +154,7 @@ export * from './SellerSecurityUserAccountDto';
|
|
|
154
154
|
export * from './SellerSecurityUserDto';
|
|
155
155
|
export * from './SellerSubscriptionListItemDto';
|
|
156
156
|
export * from './SellerSubscriptionListItemDtoDomainInformation';
|
|
157
|
-
export * from './
|
|
157
|
+
export * from './SeoMetricsDto';
|
|
158
158
|
export * from './SetDomainTransferConfirmationInput';
|
|
159
159
|
export * from './SetNewPasswordInput';
|
|
160
160
|
export * from './StoreBuyerLocaleInput';
|
|
@@ -1,56 +0,0 @@
|
|
|
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 AccountSettingsLandingDto
|
|
16
|
-
*/
|
|
17
|
-
export interface AccountSettingsLandingDto {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof AccountSettingsLandingDto
|
|
22
|
-
*/
|
|
23
|
-
anonymous: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof AccountSettingsLandingDto
|
|
28
|
-
*/
|
|
29
|
-
showRelatedDomains: boolean;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof AccountSettingsLandingDto
|
|
34
|
-
*/
|
|
35
|
-
seoMetrics: boolean;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AccountSettingsLandingDto
|
|
40
|
-
*/
|
|
41
|
-
description: string | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof AccountSettingsLandingDto
|
|
46
|
-
*/
|
|
47
|
-
avatar: string | null;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the AccountSettingsLandingDto interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfAccountSettingsLandingDto(value: object): value is AccountSettingsLandingDto;
|
|
53
|
-
export declare function AccountSettingsLandingDtoFromJSON(json: any): AccountSettingsLandingDto;
|
|
54
|
-
export declare function AccountSettingsLandingDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsLandingDto;
|
|
55
|
-
export declare function AccountSettingsLandingDtoToJSON(json: any): AccountSettingsLandingDto;
|
|
56
|
-
export declare function AccountSettingsLandingDtoToJSONTyped(value?: AccountSettingsLandingDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,67 +0,0 @@
|
|
|
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.instanceOfAccountSettingsLandingDto = instanceOfAccountSettingsLandingDto;
|
|
17
|
-
exports.AccountSettingsLandingDtoFromJSON = AccountSettingsLandingDtoFromJSON;
|
|
18
|
-
exports.AccountSettingsLandingDtoFromJSONTyped = AccountSettingsLandingDtoFromJSONTyped;
|
|
19
|
-
exports.AccountSettingsLandingDtoToJSON = AccountSettingsLandingDtoToJSON;
|
|
20
|
-
exports.AccountSettingsLandingDtoToJSONTyped = AccountSettingsLandingDtoToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AccountSettingsLandingDto interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAccountSettingsLandingDto(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
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('avatar' in value) || value['avatar'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
function AccountSettingsLandingDtoFromJSON(json) {
|
|
38
|
-
return AccountSettingsLandingDtoFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
function AccountSettingsLandingDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (json == null) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'anonymous': json['anonymous'],
|
|
46
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
47
|
-
'seoMetrics': json['seoMetrics'],
|
|
48
|
-
'description': json['description'],
|
|
49
|
-
'avatar': json['avatar'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function AccountSettingsLandingDtoToJSON(json) {
|
|
53
|
-
return AccountSettingsLandingDtoToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
function AccountSettingsLandingDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
'anonymous': value['anonymous'],
|
|
62
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
63
|
-
'seoMetrics': value['seoMetrics'],
|
|
64
|
-
'description': value['description'],
|
|
65
|
-
'avatar': value['avatar'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
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 { ChartDataPoint } from './ChartDataPoint';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DomainStats
|
|
17
|
-
*/
|
|
18
|
-
export interface DomainStats {
|
|
19
|
-
/**
|
|
20
|
-
* The id for this website.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof DomainStats
|
|
23
|
-
*/
|
|
24
|
-
websiteId: string;
|
|
25
|
-
/**
|
|
26
|
-
* The url for public stats for this website.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof DomainStats
|
|
29
|
-
*/
|
|
30
|
-
shareUrl: string;
|
|
31
|
-
/**
|
|
32
|
-
* The time unit
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof DomainStats
|
|
35
|
-
*/
|
|
36
|
-
chartUnit: DomainStatsChartUnitEnum | null;
|
|
37
|
-
/**
|
|
38
|
-
* The data for the chart
|
|
39
|
-
* @type {Array<ChartDataPoint>}
|
|
40
|
-
* @memberof DomainStats
|
|
41
|
-
*/
|
|
42
|
-
chartData: Array<ChartDataPoint> | null;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @export
|
|
46
|
-
*/
|
|
47
|
-
export declare const DomainStatsChartUnitEnum: {
|
|
48
|
-
readonly DAY: "day";
|
|
49
|
-
readonly MONTH: "month";
|
|
50
|
-
};
|
|
51
|
-
export type DomainStatsChartUnitEnum = typeof DomainStatsChartUnitEnum[keyof typeof DomainStatsChartUnitEnum];
|
|
52
|
-
/**
|
|
53
|
-
* Check if a given object implements the DomainStats interface.
|
|
54
|
-
*/
|
|
55
|
-
export declare function instanceOfDomainStats(value: object): value is DomainStats;
|
|
56
|
-
export declare function DomainStatsFromJSON(json: any): DomainStats;
|
|
57
|
-
export declare function DomainStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainStats;
|
|
58
|
-
export declare function DomainStatsToJSON(json: any): DomainStats;
|
|
59
|
-
export declare function DomainStatsToJSONTyped(value?: DomainStats | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.d.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
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 { DomainSellerDto } from './DomainSellerDto';
|
|
13
|
-
import type { DomainStats } from './DomainStats';
|
|
14
|
-
import type { MoneyDto } from './MoneyDto';
|
|
15
|
-
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
16
|
-
import type { Seo } from './Seo';
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
21
|
-
*/
|
|
22
|
-
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {DomainStats}
|
|
26
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
27
|
-
*/
|
|
28
|
-
stats: DomainStats | null;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Seo}
|
|
32
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
33
|
-
*/
|
|
34
|
-
seo: Seo | null;
|
|
35
|
-
/**
|
|
36
|
-
* The domain name (example.com, xn--maana-pta.com)
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
39
|
-
*/
|
|
40
|
-
domain: string;
|
|
41
|
-
/**
|
|
42
|
-
* The domain display name (example.com, mañana.com)
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
45
|
-
*/
|
|
46
|
-
domainDisplayName: string;
|
|
47
|
-
/**
|
|
48
|
-
* Buy now price or null if buy now is not enabled
|
|
49
|
-
* @type {MoneyDto}
|
|
50
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
51
|
-
*/
|
|
52
|
-
buyNowPrice: MoneyDto | null;
|
|
53
|
-
/**
|
|
54
|
-
* Lease to own configuration or null if it is not enabled
|
|
55
|
-
* @type {DomainSalesInformationLeaseToOwnConfigurationDto}
|
|
56
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
57
|
-
*/
|
|
58
|
-
leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
|
|
59
|
-
/**
|
|
60
|
-
* min offer price or null if offers are not enabled
|
|
61
|
-
* @type {MoneyDto}
|
|
62
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
63
|
-
*/
|
|
64
|
-
minOfferPrice: MoneyDto | null;
|
|
65
|
-
/**
|
|
66
|
-
* The domain seller information
|
|
67
|
-
* @type {DomainSellerDto}
|
|
68
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
69
|
-
*/
|
|
70
|
-
seller: DomainSellerDto | null;
|
|
71
|
-
/**
|
|
72
|
-
* The domain "sold" status
|
|
73
|
-
* @type {boolean}
|
|
74
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
75
|
-
*/
|
|
76
|
-
sold: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* The domain "isPurchaseable" status
|
|
79
|
-
* @type {boolean}
|
|
80
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
81
|
-
*/
|
|
82
|
-
isPurchaseable: boolean;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto interface.
|
|
86
|
-
*/
|
|
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;
|
package/dist/models/Seo.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
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 Seo
|
|
18
|
-
*/
|
|
19
|
-
export interface Seo {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {MozMetrics}
|
|
23
|
-
* @memberof Seo
|
|
24
|
-
*/
|
|
25
|
-
moz: MozMetrics | null;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {MajesticMetrics}
|
|
29
|
-
* @memberof Seo
|
|
30
|
-
*/
|
|
31
|
-
majestic: MajesticMetrics | null;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the Seo interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfSeo(value: object): value is Seo;
|
|
37
|
-
export declare function SeoFromJSON(json: any): Seo;
|
|
38
|
-
export declare function SeoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Seo;
|
|
39
|
-
export declare function SeoToJSON(json: any): Seo;
|
|
40
|
-
export declare function SeoToJSONTyped(value?: Seo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,102 +0,0 @@
|
|
|
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 AccountSettingsLandingDto
|
|
20
|
-
*/
|
|
21
|
-
export interface AccountSettingsLandingDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof AccountSettingsLandingDto
|
|
26
|
-
*/
|
|
27
|
-
anonymous: boolean;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof AccountSettingsLandingDto
|
|
32
|
-
*/
|
|
33
|
-
showRelatedDomains: boolean;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof AccountSettingsLandingDto
|
|
38
|
-
*/
|
|
39
|
-
seoMetrics: boolean;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AccountSettingsLandingDto
|
|
44
|
-
*/
|
|
45
|
-
description: string | null;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AccountSettingsLandingDto
|
|
50
|
-
*/
|
|
51
|
-
avatar: string | null;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the AccountSettingsLandingDto interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfAccountSettingsLandingDto(value: object): value is AccountSettingsLandingDto {
|
|
58
|
-
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
59
|
-
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
60
|
-
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
61
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
62
|
-
if (!('avatar' in value) || value['avatar'] === undefined) return false;
|
|
63
|
-
return true;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function AccountSettingsLandingDtoFromJSON(json: any): AccountSettingsLandingDto {
|
|
67
|
-
return AccountSettingsLandingDtoFromJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function AccountSettingsLandingDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsLandingDto {
|
|
71
|
-
if (json == null) {
|
|
72
|
-
return json;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
|
|
76
|
-
'anonymous': json['anonymous'],
|
|
77
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
78
|
-
'seoMetrics': json['seoMetrics'],
|
|
79
|
-
'description': json['description'],
|
|
80
|
-
'avatar': json['avatar'],
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function AccountSettingsLandingDtoToJSON(json: any): AccountSettingsLandingDto {
|
|
85
|
-
return AccountSettingsLandingDtoToJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function AccountSettingsLandingDtoToJSONTyped(value?: AccountSettingsLandingDto | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
-
if (value == null) {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'anonymous': value['anonymous'],
|
|
96
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
97
|
-
'seoMetrics': value['seoMetrics'],
|
|
98
|
-
'description': value['description'],
|
|
99
|
-
'avatar': value['avatar'],
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|