@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
|
@@ -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
|
|
|
@@ -71,6 +71,12 @@ export interface AccountSettingsInput {
|
|
|
71
71
|
* @memberof AccountSettingsInput
|
|
72
72
|
*/
|
|
73
73
|
leaseToOwn?: LeaseToOwnConfigurationInput;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof AccountSettingsInput
|
|
78
|
+
*/
|
|
79
|
+
description?: string | null;
|
|
74
80
|
}
|
|
75
81
|
|
|
76
82
|
/**
|
|
@@ -95,6 +101,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
95
101
|
'sidnIdcode': json['sidnIdcode'] == null ? undefined : json['sidnIdcode'],
|
|
96
102
|
'landingPage': json['landingPage'] == null ? undefined : LandingPageInputFromJSON(json['landingPage']),
|
|
97
103
|
'leaseToOwn': json['leaseToOwn'] == null ? undefined : LeaseToOwnConfigurationInputFromJSON(json['leaseToOwn']),
|
|
104
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
98
105
|
};
|
|
99
106
|
}
|
|
100
107
|
|
|
@@ -114,6 +121,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
|
|
|
114
121
|
'sidnIdcode': value['sidnIdcode'],
|
|
115
122
|
'landingPage': LandingPageInputToJSON(value['landingPage']),
|
|
116
123
|
'leaseToOwn': LeaseToOwnConfigurationInputToJSON(value['leaseToOwn']),
|
|
124
|
+
'description': value['description'],
|
|
117
125
|
};
|
|
118
126
|
}
|
|
119
127
|
|
package/src/models/DomainDto.ts
CHANGED
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
LeaseToOwnConfigurationDtoToJSON,
|
|
28
28
|
LeaseToOwnConfigurationDtoToJSONTyped,
|
|
29
29
|
} from './LeaseToOwnConfigurationDto';
|
|
30
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
31
|
+
import {
|
|
32
|
+
LandingPageSettingsDtoFromJSON,
|
|
33
|
+
LandingPageSettingsDtoFromJSONTyped,
|
|
34
|
+
LandingPageSettingsDtoToJSON,
|
|
35
|
+
LandingPageSettingsDtoToJSONTyped,
|
|
36
|
+
} from './LandingPageSettingsDto';
|
|
30
37
|
|
|
31
38
|
/**
|
|
32
39
|
*
|
|
@@ -101,6 +108,12 @@ export interface DomainDto {
|
|
|
101
108
|
* @memberof DomainDto
|
|
102
109
|
*/
|
|
103
110
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
111
|
+
/**
|
|
112
|
+
* The lease to own configuration
|
|
113
|
+
* @type {LandingPageSettingsDto}
|
|
114
|
+
* @memberof DomainDto
|
|
115
|
+
*/
|
|
116
|
+
landingPageSettings: LandingPageSettingsDto;
|
|
104
117
|
/**
|
|
105
118
|
* The minimum offer
|
|
106
119
|
* @type {MoneyDto}
|
|
@@ -142,6 +155,7 @@ export function instanceOfDomainDto(value: object): value is DomainDto {
|
|
|
142
155
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
143
156
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
144
157
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
158
|
+
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined) return false;
|
|
145
159
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
146
160
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
147
161
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
@@ -170,6 +184,7 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
170
184
|
'currencyCode': json['currencyCode'],
|
|
171
185
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
172
186
|
'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
187
|
+
'landingPageSettings': LandingPageSettingsDtoFromJSON(json['landingPageSettings']),
|
|
173
188
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
174
189
|
'createdAt': (new Date(json['createdAt'])),
|
|
175
190
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
@@ -199,6 +214,7 @@ export function DomainDtoToJSONTyped(value?: DomainDto | null, ignoreDiscriminat
|
|
|
199
214
|
'currencyCode': value['currencyCode'],
|
|
200
215
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
201
216
|
'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
217
|
+
'landingPageSettings': LandingPageSettingsDtoToJSON(value['landingPageSettings']),
|
|
202
218
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
203
219
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
204
220
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
@@ -20,13 +20,6 @@ import {
|
|
|
20
20
|
DomainSellerDtoToJSON,
|
|
21
21
|
DomainSellerDtoToJSONTyped,
|
|
22
22
|
} from './DomainSellerDto';
|
|
23
|
-
import type { DomainStats } from './DomainStats';
|
|
24
|
-
import {
|
|
25
|
-
DomainStatsFromJSON,
|
|
26
|
-
DomainStatsFromJSONTyped,
|
|
27
|
-
DomainStatsToJSON,
|
|
28
|
-
DomainStatsToJSONTyped,
|
|
29
|
-
} from './DomainStats';
|
|
30
23
|
import type { MoneyDto } from './MoneyDto';
|
|
31
24
|
import {
|
|
32
25
|
MoneyDtoFromJSON,
|
|
@@ -34,6 +27,13 @@ import {
|
|
|
34
27
|
MoneyDtoToJSON,
|
|
35
28
|
MoneyDtoToJSONTyped,
|
|
36
29
|
} from './MoneyDto';
|
|
30
|
+
import type { DomainStatsDto } from './DomainStatsDto';
|
|
31
|
+
import {
|
|
32
|
+
DomainStatsDtoFromJSON,
|
|
33
|
+
DomainStatsDtoFromJSONTyped,
|
|
34
|
+
DomainStatsDtoToJSON,
|
|
35
|
+
DomainStatsDtoToJSONTyped,
|
|
36
|
+
} from './DomainStatsDto';
|
|
37
37
|
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
38
38
|
import {
|
|
39
39
|
DomainSalesInformationLeaseToOwnConfigurationDtoFromJSON,
|
|
@@ -41,88 +41,86 @@ import {
|
|
|
41
41
|
DomainSalesInformationLeaseToOwnConfigurationDtoToJSON,
|
|
42
42
|
DomainSalesInformationLeaseToOwnConfigurationDtoToJSONTyped,
|
|
43
43
|
} from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
44
|
-
import type {
|
|
44
|
+
import type { SeoMetricsDto } from './SeoMetricsDto';
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from './
|
|
46
|
+
SeoMetricsDtoFromJSON,
|
|
47
|
+
SeoMetricsDtoFromJSONTyped,
|
|
48
|
+
SeoMetricsDtoToJSON,
|
|
49
|
+
SeoMetricsDtoToJSONTyped,
|
|
50
|
+
} from './SeoMetricsDto';
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @export
|
|
55
|
-
* @interface
|
|
55
|
+
* @interface DomainSalesInformationDto
|
|
56
56
|
*/
|
|
57
|
-
export interface
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {DomainStats}
|
|
61
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
62
|
-
*/
|
|
63
|
-
stats: DomainStats | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Seo}
|
|
67
|
-
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
68
|
-
*/
|
|
69
|
-
seo: Seo | null;
|
|
57
|
+
export interface DomainSalesInformationDto {
|
|
70
58
|
/**
|
|
71
59
|
* The domain name (example.com, xn--maana-pta.com)
|
|
72
60
|
* @type {string}
|
|
73
|
-
* @memberof
|
|
61
|
+
* @memberof DomainSalesInformationDto
|
|
74
62
|
*/
|
|
75
63
|
domain: string;
|
|
76
64
|
/**
|
|
77
65
|
* The domain display name (example.com, mañana.com)
|
|
78
66
|
* @type {string}
|
|
79
|
-
* @memberof
|
|
67
|
+
* @memberof DomainSalesInformationDto
|
|
80
68
|
*/
|
|
81
69
|
domainDisplayName: string;
|
|
82
70
|
/**
|
|
83
71
|
* Buy now price or null if buy now is not enabled
|
|
84
72
|
* @type {MoneyDto}
|
|
85
|
-
* @memberof
|
|
73
|
+
* @memberof DomainSalesInformationDto
|
|
86
74
|
*/
|
|
87
75
|
buyNowPrice: MoneyDto | null;
|
|
88
76
|
/**
|
|
89
77
|
* Lease to own configuration or null if it is not enabled
|
|
90
78
|
* @type {DomainSalesInformationLeaseToOwnConfigurationDto}
|
|
91
|
-
* @memberof
|
|
79
|
+
* @memberof DomainSalesInformationDto
|
|
92
80
|
*/
|
|
93
81
|
leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
|
|
94
82
|
/**
|
|
95
83
|
* min offer price or null if offers are not enabled
|
|
96
84
|
* @type {MoneyDto}
|
|
97
|
-
* @memberof
|
|
85
|
+
* @memberof DomainSalesInformationDto
|
|
98
86
|
*/
|
|
99
87
|
minOfferPrice: MoneyDto | null;
|
|
100
88
|
/**
|
|
101
89
|
* The domain seller information
|
|
102
90
|
* @type {DomainSellerDto}
|
|
103
|
-
* @memberof
|
|
91
|
+
* @memberof DomainSalesInformationDto
|
|
104
92
|
*/
|
|
105
93
|
seller: DomainSellerDto | null;
|
|
106
94
|
/**
|
|
107
95
|
* The domain "sold" status
|
|
108
96
|
* @type {boolean}
|
|
109
|
-
* @memberof
|
|
97
|
+
* @memberof DomainSalesInformationDto
|
|
110
98
|
*/
|
|
111
99
|
sold: boolean;
|
|
112
100
|
/**
|
|
113
101
|
* The domain "isPurchaseable" status
|
|
114
102
|
* @type {boolean}
|
|
115
|
-
* @memberof
|
|
103
|
+
* @memberof DomainSalesInformationDto
|
|
116
104
|
*/
|
|
117
105
|
isPurchaseable: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* SEO metrics
|
|
108
|
+
* @type {SeoMetricsDto}
|
|
109
|
+
* @memberof DomainSalesInformationDto
|
|
110
|
+
*/
|
|
111
|
+
seo: SeoMetricsDto | null;
|
|
112
|
+
/**
|
|
113
|
+
* SEO metrics
|
|
114
|
+
* @type {DomainStatsDto}
|
|
115
|
+
* @memberof DomainSalesInformationDto
|
|
116
|
+
*/
|
|
117
|
+
stats: DomainStatsDto | null;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* Check if a given object implements the
|
|
121
|
+
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
122
122
|
*/
|
|
123
|
-
export function
|
|
124
|
-
if (!('stats' in value) || value['stats'] === undefined) return false;
|
|
125
|
-
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
123
|
+
export function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto {
|
|
126
124
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
127
125
|
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined) return false;
|
|
128
126
|
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined) return false;
|
|
@@ -131,21 +129,21 @@ export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDt
|
|
|
131
129
|
if (!('seller' in value) || value['seller'] === undefined) return false;
|
|
132
130
|
if (!('sold' in value) || value['sold'] === undefined) return false;
|
|
133
131
|
if (!('isPurchaseable' in value) || value['isPurchaseable'] === undefined) return false;
|
|
132
|
+
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
133
|
+
if (!('stats' in value) || value['stats'] === undefined) return false;
|
|
134
134
|
return true;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export function
|
|
138
|
-
return
|
|
137
|
+
export function DomainSalesInformationDtoFromJSON(json: any): DomainSalesInformationDto {
|
|
138
|
+
return DomainSalesInformationDtoFromJSONTyped(json, false);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export function
|
|
141
|
+
export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDto {
|
|
142
142
|
if (json == null) {
|
|
143
143
|
return json;
|
|
144
144
|
}
|
|
145
145
|
return {
|
|
146
146
|
|
|
147
|
-
'stats': DomainStatsFromJSON(json['stats']),
|
|
148
|
-
'seo': SeoFromJSON(json['seo']),
|
|
149
147
|
'domain': json['domain'],
|
|
150
148
|
'domainDisplayName': json['domainDisplayName'],
|
|
151
149
|
'buyNowPrice': MoneyDtoFromJSON(json['buyNowPrice']),
|
|
@@ -154,22 +152,22 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMe
|
|
|
154
152
|
'seller': DomainSellerDtoFromJSON(json['seller']),
|
|
155
153
|
'sold': json['sold'],
|
|
156
154
|
'isPurchaseable': json['isPurchaseable'],
|
|
155
|
+
'seo': SeoMetricsDtoFromJSON(json['seo']),
|
|
156
|
+
'stats': DomainStatsDtoFromJSON(json['stats']),
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
export function
|
|
161
|
-
return
|
|
160
|
+
export function DomainSalesInformationDtoToJSON(json: any): DomainSalesInformationDto {
|
|
161
|
+
return DomainSalesInformationDtoToJSONTyped(json, false);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export function
|
|
164
|
+
export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
165
165
|
if (value == null) {
|
|
166
166
|
return value;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
return {
|
|
170
170
|
|
|
171
|
-
'stats': DomainStatsToJSON(value['stats']),
|
|
172
|
-
'seo': SeoToJSON(value['seo']),
|
|
173
171
|
'domain': value['domain'],
|
|
174
172
|
'domainDisplayName': value['domainDisplayName'],
|
|
175
173
|
'buyNowPrice': MoneyDtoToJSON(value['buyNowPrice']),
|
|
@@ -178,6 +176,8 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMe
|
|
|
178
176
|
'seller': DomainSellerDtoToJSON(value['seller']),
|
|
179
177
|
'sold': value['sold'],
|
|
180
178
|
'isPurchaseable': value['isPurchaseable'],
|
|
179
|
+
'seo': SeoMetricsDtoToJSON(value['seo']),
|
|
180
|
+
'stats': DomainStatsDtoToJSON(value['stats']),
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -24,31 +24,31 @@ import {
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
27
|
-
* @interface
|
|
27
|
+
* @interface DomainStatsDto
|
|
28
28
|
*/
|
|
29
|
-
export interface
|
|
29
|
+
export interface DomainStatsDto {
|
|
30
30
|
/**
|
|
31
31
|
* The id for this website.
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof DomainStatsDto
|
|
34
34
|
*/
|
|
35
35
|
websiteId: string;
|
|
36
36
|
/**
|
|
37
37
|
* The url for public stats for this website.
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof DomainStatsDto
|
|
40
40
|
*/
|
|
41
41
|
shareUrl: string;
|
|
42
42
|
/**
|
|
43
43
|
* The time unit
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof DomainStatsDto
|
|
46
46
|
*/
|
|
47
|
-
chartUnit:
|
|
47
|
+
chartUnit: DomainStatsDtoChartUnitEnum | null;
|
|
48
48
|
/**
|
|
49
49
|
* The data for the chart
|
|
50
50
|
* @type {Array<ChartDataPoint>}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof DomainStatsDto
|
|
52
52
|
*/
|
|
53
53
|
chartData: Array<ChartDataPoint> | null;
|
|
54
54
|
}
|
|
@@ -57,17 +57,17 @@ export interface DomainStats {
|
|
|
57
57
|
/**
|
|
58
58
|
* @export
|
|
59
59
|
*/
|
|
60
|
-
export const
|
|
60
|
+
export const DomainStatsDtoChartUnitEnum = {
|
|
61
61
|
DAY: 'day',
|
|
62
62
|
MONTH: 'month'
|
|
63
63
|
} as const;
|
|
64
|
-
export type
|
|
64
|
+
export type DomainStatsDtoChartUnitEnum = typeof DomainStatsDtoChartUnitEnum[keyof typeof DomainStatsDtoChartUnitEnum];
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Check if a given object implements the
|
|
68
|
+
* Check if a given object implements the DomainStatsDto interface.
|
|
69
69
|
*/
|
|
70
|
-
export function
|
|
70
|
+
export function instanceOfDomainStatsDto(value: object): value is DomainStatsDto {
|
|
71
71
|
if (!('websiteId' in value) || value['websiteId'] === undefined) return false;
|
|
72
72
|
if (!('shareUrl' in value) || value['shareUrl'] === undefined) return false;
|
|
73
73
|
if (!('chartUnit' in value) || value['chartUnit'] === undefined) return false;
|
|
@@ -75,11 +75,11 @@ export function instanceOfDomainStats(value: object): value is DomainStats {
|
|
|
75
75
|
return true;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export function
|
|
79
|
-
return
|
|
78
|
+
export function DomainStatsDtoFromJSON(json: any): DomainStatsDto {
|
|
79
|
+
return DomainStatsDtoFromJSONTyped(json, false);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
export function
|
|
82
|
+
export function DomainStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainStatsDto {
|
|
83
83
|
if (json == null) {
|
|
84
84
|
return json;
|
|
85
85
|
}
|
|
@@ -92,11 +92,11 @@ export function DomainStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
export function
|
|
96
|
-
return
|
|
95
|
+
export function DomainStatsDtoToJSON(json: any): DomainStatsDto {
|
|
96
|
+
return DomainStatsDtoToJSONTyped(json, false);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
export function
|
|
99
|
+
export function DomainStatsDtoToJSONTyped(value?: DomainStatsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
100
100
|
if (value == null) {
|
|
101
101
|
return value;
|
|
102
102
|
}
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
LeaseToOwnConfigurationDtoToJSON,
|
|
28
28
|
LeaseToOwnConfigurationDtoToJSONTyped,
|
|
29
29
|
} from './LeaseToOwnConfigurationDto';
|
|
30
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
31
|
+
import {
|
|
32
|
+
LandingPageSettingsDtoFromJSON,
|
|
33
|
+
LandingPageSettingsDtoFromJSONTyped,
|
|
34
|
+
LandingPageSettingsDtoToJSON,
|
|
35
|
+
LandingPageSettingsDtoToJSONTyped,
|
|
36
|
+
} from './LandingPageSettingsDto';
|
|
30
37
|
import type { AccountDto } from './AccountDto';
|
|
31
38
|
import {
|
|
32
39
|
AccountDtoFromJSON,
|
|
@@ -108,6 +115,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
108
115
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
109
116
|
*/
|
|
110
117
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
118
|
+
/**
|
|
119
|
+
* The lease to own configuration
|
|
120
|
+
* @type {LandingPageSettingsDto}
|
|
121
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
122
|
+
*/
|
|
123
|
+
landingPageSettings: LandingPageSettingsDto;
|
|
111
124
|
/**
|
|
112
125
|
* The minimum offer
|
|
113
126
|
* @type {MoneyDto}
|
|
@@ -155,6 +168,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
155
168
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
156
169
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
157
170
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
171
|
+
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined) return false;
|
|
158
172
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
159
173
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
160
174
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
@@ -184,6 +198,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
184
198
|
'currencyCode': json['currencyCode'],
|
|
185
199
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
186
200
|
'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
201
|
+
'landingPageSettings': LandingPageSettingsDtoFromJSON(json['landingPageSettings']),
|
|
187
202
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
188
203
|
'createdAt': (new Date(json['createdAt'])),
|
|
189
204
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
@@ -214,6 +229,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
|
|
|
214
229
|
'currencyCode': value['currencyCode'],
|
|
215
230
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
216
231
|
'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
232
|
+
'landingPageSettings': LandingPageSettingsDtoToJSON(value['landingPageSettings']),
|
|
217
233
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
218
234
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
219
235
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
LeaseToOwnConfigurationDtoToJSON,
|
|
28
28
|
LeaseToOwnConfigurationDtoToJSONTyped,
|
|
29
29
|
} from './LeaseToOwnConfigurationDto';
|
|
30
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
31
|
+
import {
|
|
32
|
+
LandingPageSettingsDtoFromJSON,
|
|
33
|
+
LandingPageSettingsDtoFromJSONTyped,
|
|
34
|
+
LandingPageSettingsDtoToJSON,
|
|
35
|
+
LandingPageSettingsDtoToJSONTyped,
|
|
36
|
+
} from './LandingPageSettingsDto';
|
|
30
37
|
import type { AccountDto } from './AccountDto';
|
|
31
38
|
import {
|
|
32
39
|
AccountDtoFromJSON,
|
|
@@ -108,6 +115,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
108
115
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
109
116
|
*/
|
|
110
117
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
118
|
+
/**
|
|
119
|
+
* The lease to own configuration
|
|
120
|
+
* @type {LandingPageSettingsDto}
|
|
121
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
122
|
+
*/
|
|
123
|
+
landingPageSettings: LandingPageSettingsDto;
|
|
111
124
|
/**
|
|
112
125
|
* The minimum offer
|
|
113
126
|
* @type {MoneyDto}
|
|
@@ -161,6 +174,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
161
174
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
162
175
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
163
176
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
177
|
+
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined) return false;
|
|
164
178
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
165
179
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
166
180
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
@@ -191,6 +205,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
191
205
|
'currencyCode': json['currencyCode'],
|
|
192
206
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
193
207
|
'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
208
|
+
'landingPageSettings': LandingPageSettingsDtoFromJSON(json['landingPageSettings']),
|
|
194
209
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
195
210
|
'createdAt': (new Date(json['createdAt'])),
|
|
196
211
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
@@ -222,6 +237,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
|
|
|
222
237
|
'currencyCode': value['currencyCode'],
|
|
223
238
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
224
239
|
'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
240
|
+
'landingPageSettings': LandingPageSettingsDtoToJSON(value['landingPageSettings']),
|
|
225
241
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
226
242
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
227
243
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
@@ -24,25 +24,19 @@ export interface LandingPageInput {
|
|
|
24
24
|
* @type {boolean}
|
|
25
25
|
* @memberof LandingPageInput
|
|
26
26
|
*/
|
|
27
|
-
anonymous?: boolean;
|
|
27
|
+
anonymous?: boolean | null;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {boolean}
|
|
31
31
|
* @memberof LandingPageInput
|
|
32
32
|
*/
|
|
33
|
-
showRelatedDomains?: boolean;
|
|
33
|
+
showRelatedDomains?: boolean | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {boolean}
|
|
37
37
|
* @memberof LandingPageInput
|
|
38
38
|
*/
|
|
39
|
-
seoMetrics?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof LandingPageInput
|
|
44
|
-
*/
|
|
45
|
-
description?: string | null;
|
|
39
|
+
seoMetrics?: boolean | null;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
42
|
/**
|
|
@@ -65,7 +59,6 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
65
59
|
'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
|
|
66
60
|
'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
|
|
67
61
|
'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
|
|
68
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
69
62
|
};
|
|
70
63
|
}
|
|
71
64
|
|
|
@@ -83,7 +76,6 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
83
76
|
'anonymous': value['anonymous'],
|
|
84
77
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
85
78
|
'seoMetrics': value['seoMetrics'],
|
|
86
|
-
'description': value['description'],
|
|
87
79
|
};
|
|
88
80
|
}
|
|
89
81
|
|