@randock/nameshift-api-client 0.0.362 → 0.0.364
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 +5 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +24 -1
- package/dist/apis/AdminApi.js +107 -0
- package/dist/apis/LeadsApi.d.ts +13 -1
- package/dist/apis/LeadsApi.js +56 -0
- package/dist/models/AccountSettingsDto.d.ts +7 -0
- package/dist/models/AccountSettingsDto.js +5 -0
- package/dist/models/AccountSettingsInput.d.ts +7 -0
- package/dist/models/AccountSettingsInput.js +3 -0
- package/dist/models/AdminAccountSettingsInput.d.ts +7 -0
- package/dist/models/AdminAccountSettingsInput.js +3 -0
- package/dist/models/DomainLockConfigurationDto.d.ts +39 -0
- package/dist/models/DomainLockConfigurationDto.js +56 -0
- package/dist/models/DomainLockDto.d.ts +56 -0
- package/dist/models/DomainLockDto.js +67 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
- package/dist/models/LeadDomainDto.d.ts +6 -0
- package/dist/models/LeadDomainDto.js +4 -0
- package/dist/models/LockConfigurationInput.d.ts +39 -0
- package/dist/models/LockConfigurationInput.js +52 -0
- package/dist/models/LockDurationDto.d.ts +47 -0
- package/dist/models/LockDurationDto.js +64 -0
- package/dist/models/LockDurationInput.d.ts +47 -0
- package/dist/models/LockDurationInput.js +60 -0
- package/dist/models/SellerLeadDetails.d.ts +7 -0
- package/dist/models/SellerLeadDetails.js +5 -0
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +100 -0
- package/src/apis/LeadsApi.ts +58 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +15 -0
- package/src/models/AdminAccountSettingsInput.ts +15 -0
- package/src/models/DomainLockConfigurationDto.ts +83 -0
- package/src/models/DomainLockDto.ts +102 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +9 -0
- package/src/models/LeadDomainDto.ts +9 -0
- package/src/models/LockConfigurationInput.ts +81 -0
- package/src/models/LockDurationDto.ts +87 -0
- package/src/models/LockDurationInput.ts +85 -0
- package/src/models/SellerLeadDetails.ts +16 -0
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +5 -0
|
@@ -93,6 +93,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
93
93
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
94
94
|
*/
|
|
95
95
|
isDeleteable: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Whether the domain is currently locked
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
100
|
+
*/
|
|
101
|
+
isLocked: boolean;
|
|
96
102
|
/**
|
|
97
103
|
* The TLD for this domain.
|
|
98
104
|
* @type {string}
|
|
@@ -230,6 +236,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(
|
|
|
230
236
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
231
237
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
232
238
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
239
|
+
if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
|
|
233
240
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
234
241
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
235
242
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
@@ -268,6 +275,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyp
|
|
|
268
275
|
'accountId': json['accountId'],
|
|
269
276
|
'hijackerId': json['hijackerId'],
|
|
270
277
|
'isDeleteable': json['isDeleteable'],
|
|
278
|
+
'isLocked': json['isLocked'],
|
|
271
279
|
'tld': json['tld'],
|
|
272
280
|
'verified': json['verified'],
|
|
273
281
|
'nameservers': json['nameservers'],
|
|
@@ -307,6 +315,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped
|
|
|
307
315
|
'accountId': value['accountId'],
|
|
308
316
|
'hijackerId': value['hijackerId'],
|
|
309
317
|
'isDeleteable': value['isDeleteable'],
|
|
318
|
+
'isLocked': value['isLocked'],
|
|
310
319
|
'tld': value['tld'],
|
|
311
320
|
'verified': value['verified'],
|
|
312
321
|
'nameservers': value['nameservers'],
|
|
@@ -93,6 +93,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
93
93
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
94
94
|
*/
|
|
95
95
|
isDeleteable: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Whether the domain is currently locked
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
100
|
+
*/
|
|
101
|
+
isLocked: boolean;
|
|
96
102
|
/**
|
|
97
103
|
* The TLD for this domain.
|
|
98
104
|
* @type {string}
|
|
@@ -230,6 +236,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
230
236
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
231
237
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
232
238
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
239
|
+
if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
|
|
233
240
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
234
241
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
235
242
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
@@ -268,6 +275,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
268
275
|
'accountId': json['accountId'],
|
|
269
276
|
'hijackerId': json['hijackerId'],
|
|
270
277
|
'isDeleteable': json['isDeleteable'],
|
|
278
|
+
'isLocked': json['isLocked'],
|
|
271
279
|
'tld': json['tld'],
|
|
272
280
|
'verified': json['verified'],
|
|
273
281
|
'nameservers': json['nameservers'],
|
|
@@ -307,6 +315,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
|
|
|
307
315
|
'accountId': value['accountId'],
|
|
308
316
|
'hijackerId': value['hijackerId'],
|
|
309
317
|
'isDeleteable': value['isDeleteable'],
|
|
318
|
+
'isLocked': value['isLocked'],
|
|
310
319
|
'tld': value['tld'],
|
|
311
320
|
'verified': value['verified'],
|
|
312
321
|
'nameservers': value['nameservers'],
|
|
@@ -93,6 +93,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
93
93
|
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
94
94
|
*/
|
|
95
95
|
isDeleteable: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Whether the domain is currently locked
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
100
|
+
*/
|
|
101
|
+
isLocked: boolean;
|
|
96
102
|
/**
|
|
97
103
|
* The SEO metrics for this domain
|
|
98
104
|
* @type {SeoMetricsDto}
|
|
@@ -224,6 +230,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
|
|
|
224
230
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
225
231
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
226
232
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
233
|
+
if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
|
|
227
234
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
228
235
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
229
236
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
@@ -261,6 +268,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
|
|
|
261
268
|
'accountId': json['accountId'],
|
|
262
269
|
'hijackerId': json['hijackerId'],
|
|
263
270
|
'isDeleteable': json['isDeleteable'],
|
|
271
|
+
'isLocked': json['isLocked'],
|
|
264
272
|
'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
|
|
265
273
|
'tld': json['tld'],
|
|
266
274
|
'verified': json['verified'],
|
|
@@ -299,6 +307,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
|
|
|
299
307
|
'accountId': value['accountId'],
|
|
300
308
|
'hijackerId': value['hijackerId'],
|
|
301
309
|
'isDeleteable': value['isDeleteable'],
|
|
310
|
+
'isLocked': value['isLocked'],
|
|
302
311
|
'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
|
|
303
312
|
'tld': value['tld'],
|
|
304
313
|
'verified': value['verified'],
|
|
@@ -33,6 +33,12 @@ export interface LeadDomainDto {
|
|
|
33
33
|
* @memberof LeadDomainDto
|
|
34
34
|
*/
|
|
35
35
|
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the domain is currently locked
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof LeadDomainDto
|
|
40
|
+
*/
|
|
41
|
+
isLocked: boolean;
|
|
36
42
|
/**
|
|
37
43
|
* Domain name
|
|
38
44
|
* @type {string}
|
|
@@ -76,6 +82,7 @@ export interface LeadDomainDto {
|
|
|
76
82
|
*/
|
|
77
83
|
export function instanceOfLeadDomainDto(value: object): value is LeadDomainDto {
|
|
78
84
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
85
|
+
if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
|
|
79
86
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
80
87
|
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
81
88
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
@@ -96,6 +103,7 @@ export function LeadDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
96
103
|
return {
|
|
97
104
|
|
|
98
105
|
'id': json['id'],
|
|
106
|
+
'isLocked': json['isLocked'],
|
|
99
107
|
'name': json['name'],
|
|
100
108
|
'displayName': json['displayName'],
|
|
101
109
|
'currencyCode': json['currencyCode'],
|
|
@@ -117,6 +125,7 @@ export function LeadDomainDtoToJSONTyped(value?: LeadDomainDto | null, ignoreDis
|
|
|
117
125
|
return {
|
|
118
126
|
|
|
119
127
|
'id': value['id'],
|
|
128
|
+
'isLocked': value['isLocked'],
|
|
120
129
|
'name': value['name'],
|
|
121
130
|
'displayName': value['displayName'],
|
|
122
131
|
'currencyCode': value['currencyCode'],
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LockDurationInput } from './LockDurationInput';
|
|
17
|
+
import {
|
|
18
|
+
LockDurationInputFromJSON,
|
|
19
|
+
LockDurationInputFromJSONTyped,
|
|
20
|
+
LockDurationInputToJSON,
|
|
21
|
+
LockDurationInputToJSONTyped,
|
|
22
|
+
} from './LockDurationInput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LockConfigurationInput
|
|
28
|
+
*/
|
|
29
|
+
export interface LockConfigurationInput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof LockConfigurationInput
|
|
34
|
+
*/
|
|
35
|
+
enabled?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {LockDurationInput}
|
|
39
|
+
* @memberof LockConfigurationInput
|
|
40
|
+
*/
|
|
41
|
+
duration?: LockDurationInput;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the LockConfigurationInput interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfLockConfigurationInput(value: object): value is LockConfigurationInput {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function LockConfigurationInputFromJSON(json: any): LockConfigurationInput {
|
|
52
|
+
return LockConfigurationInputFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function LockConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LockConfigurationInput {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
62
|
+
'duration': json['duration'] == null ? undefined : LockDurationInputFromJSON(json['duration']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function LockConfigurationInputToJSON(json: any): LockConfigurationInput {
|
|
67
|
+
return LockConfigurationInputToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function LockConfigurationInputToJSONTyped(value?: LockConfigurationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'enabled': value['enabled'],
|
|
78
|
+
'duration': LockDurationInputToJSON(value['duration']),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
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 LockDurationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LockDurationDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LockDurationDto
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LockDurationDto
|
|
32
|
+
*/
|
|
33
|
+
unit: LockDurationDtoUnitEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const LockDurationDtoUnitEnum = {
|
|
41
|
+
MINUTE: 'minute',
|
|
42
|
+
HOUR: 'hour',
|
|
43
|
+
DAY: 'day'
|
|
44
|
+
} as const;
|
|
45
|
+
export type LockDurationDtoUnitEnum = typeof LockDurationDtoUnitEnum[keyof typeof LockDurationDtoUnitEnum];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the LockDurationDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfLockDurationDto(value: object): value is LockDurationDto {
|
|
52
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
53
|
+
if (!('unit' in value) || value['unit'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function LockDurationDtoFromJSON(json: any): LockDurationDto {
|
|
58
|
+
return LockDurationDtoFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function LockDurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LockDurationDto {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'amount': json['amount'],
|
|
68
|
+
'unit': json['unit'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LockDurationDtoToJSON(json: any): LockDurationDto {
|
|
73
|
+
return LockDurationDtoToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function LockDurationDtoToJSONTyped(value?: LockDurationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'amount': value['amount'],
|
|
84
|
+
'unit': value['unit'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
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 LockDurationInput
|
|
20
|
+
*/
|
|
21
|
+
export interface LockDurationInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LockDurationInput
|
|
26
|
+
*/
|
|
27
|
+
amount?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LockDurationInput
|
|
32
|
+
*/
|
|
33
|
+
unit?: LockDurationInputUnitEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const LockDurationInputUnitEnum = {
|
|
41
|
+
MINUTE: 'minute',
|
|
42
|
+
HOUR: 'hour',
|
|
43
|
+
DAY: 'day'
|
|
44
|
+
} as const;
|
|
45
|
+
export type LockDurationInputUnitEnum = typeof LockDurationInputUnitEnum[keyof typeof LockDurationInputUnitEnum];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the LockDurationInput interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfLockDurationInput(value: object): value is LockDurationInput {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function LockDurationInputFromJSON(json: any): LockDurationInput {
|
|
56
|
+
return LockDurationInputFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function LockDurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LockDurationInput {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
66
|
+
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function LockDurationInputToJSON(json: any): LockDurationInput {
|
|
71
|
+
return LockDurationInputToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function LockDurationInputToJSONTyped(value?: LockDurationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'amount': value['amount'],
|
|
82
|
+
'unit': value['unit'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
LeadRentConfigurationDtoToJSON,
|
|
49
49
|
LeadRentConfigurationDtoToJSONTyped,
|
|
50
50
|
} from './LeadRentConfigurationDto';
|
|
51
|
+
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
52
|
+
import {
|
|
53
|
+
DomainLockConfigurationDtoFromJSON,
|
|
54
|
+
DomainLockConfigurationDtoFromJSONTyped,
|
|
55
|
+
DomainLockConfigurationDtoToJSON,
|
|
56
|
+
DomainLockConfigurationDtoToJSONTyped,
|
|
57
|
+
} from './DomainLockConfigurationDto';
|
|
51
58
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
52
59
|
import {
|
|
53
60
|
LeadOfferDtoFromJSON,
|
|
@@ -122,6 +129,12 @@ export interface SellerLeadDetails {
|
|
|
122
129
|
* @memberof SellerLeadDetails
|
|
123
130
|
*/
|
|
124
131
|
isMutedForBuyer: boolean;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {DomainLockConfigurationDto}
|
|
135
|
+
* @memberof SellerLeadDetails
|
|
136
|
+
*/
|
|
137
|
+
domainLockConfiguration: DomainLockConfigurationDto;
|
|
125
138
|
/**
|
|
126
139
|
* Archived status
|
|
127
140
|
* @type {boolean}
|
|
@@ -251,6 +264,7 @@ export function instanceOfSellerLeadDetails(value: object): value is SellerLeadD
|
|
|
251
264
|
if (!('buyer' in value) || value['buyer'] === undefined) return false;
|
|
252
265
|
if (!('isMutedForSeller' in value) || value['isMutedForSeller'] === undefined) return false;
|
|
253
266
|
if (!('isMutedForBuyer' in value) || value['isMutedForBuyer'] === undefined) return false;
|
|
267
|
+
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
|
|
254
268
|
if (!('archived' in value) || value['archived'] === undefined) return false;
|
|
255
269
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
256
270
|
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
@@ -285,6 +299,7 @@ export function SellerLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
285
299
|
'buyer': BuyerDtoFromJSON(json['buyer']),
|
|
286
300
|
'isMutedForSeller': json['isMutedForSeller'],
|
|
287
301
|
'isMutedForBuyer': json['isMutedForBuyer'],
|
|
302
|
+
'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
|
|
288
303
|
'archived': json['archived'],
|
|
289
304
|
'createdAt': (new Date(json['createdAt'])),
|
|
290
305
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
@@ -320,6 +335,7 @@ export function SellerLeadDetailsToJSONTyped(value?: SellerLeadDetails | null, i
|
|
|
320
335
|
'buyer': BuyerDtoToJSON(value['buyer']),
|
|
321
336
|
'isMutedForSeller': value['isMutedForSeller'],
|
|
322
337
|
'isMutedForBuyer': value['isMutedForBuyer'],
|
|
338
|
+
'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
|
|
323
339
|
'archived': value['archived'],
|
|
324
340
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
325
341
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
@@ -69,6 +69,13 @@ import {
|
|
|
69
69
|
TimeTableConfigurationDtoToJSON,
|
|
70
70
|
TimeTableConfigurationDtoToJSONTyped,
|
|
71
71
|
} from './TimeTableConfigurationDto';
|
|
72
|
+
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
73
|
+
import {
|
|
74
|
+
DomainLockConfigurationDtoFromJSON,
|
|
75
|
+
DomainLockConfigurationDtoFromJSONTyped,
|
|
76
|
+
DomainLockConfigurationDtoToJSON,
|
|
77
|
+
DomainLockConfigurationDtoToJSONTyped,
|
|
78
|
+
} from './DomainLockConfigurationDto';
|
|
72
79
|
import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
|
|
73
80
|
import {
|
|
74
81
|
AccountSettingsRentConfigurationDtoFromJSON,
|
|
@@ -215,6 +222,12 @@ export interface WithSettingsInner {
|
|
|
215
222
|
* @memberof WithSettingsInner
|
|
216
223
|
*/
|
|
217
224
|
auctionConfiguration: AuctionConfigurationDto;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @type {DomainLockConfigurationDto}
|
|
228
|
+
* @memberof WithSettingsInner
|
|
229
|
+
*/
|
|
230
|
+
domainLockConfiguration: DomainLockConfigurationDto;
|
|
218
231
|
}
|
|
219
232
|
|
|
220
233
|
/**
|
|
@@ -243,6 +256,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
|
|
|
243
256
|
if (!('commissionPercentage' in value) || value['commissionPercentage'] === undefined) return false;
|
|
244
257
|
if (!('commissionsByDateRange' in value) || value['commissionsByDateRange'] === undefined) return false;
|
|
245
258
|
if (!('auctionConfiguration' in value) || value['auctionConfiguration'] === undefined) return false;
|
|
259
|
+
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
|
|
246
260
|
return true;
|
|
247
261
|
}
|
|
248
262
|
|
|
@@ -278,6 +292,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
278
292
|
'commissionPercentage': json['commissionPercentage'],
|
|
279
293
|
'commissionsByDateRange': ((json['commissionsByDateRange'] as Array<any>).map(AccountCommissionByDateRangeDtoFromJSON)),
|
|
280
294
|
'auctionConfiguration': AuctionConfigurationDtoFromJSON(json['auctionConfiguration']),
|
|
295
|
+
'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
|
|
281
296
|
};
|
|
282
297
|
}
|
|
283
298
|
|
|
@@ -314,6 +329,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
314
329
|
'commissionPercentage': value['commissionPercentage'],
|
|
315
330
|
'commissionsByDateRange': ((value['commissionsByDateRange'] as Array<any>).map(AccountCommissionByDateRangeDtoToJSON)),
|
|
316
331
|
'auctionConfiguration': AuctionConfigurationDtoToJSON(value['auctionConfiguration']),
|
|
332
|
+
'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
|
|
317
333
|
};
|
|
318
334
|
}
|
|
319
335
|
|
package/src/models/index.ts
CHANGED
|
@@ -122,6 +122,8 @@ export * from './DomainExchangeRateDto';
|
|
|
122
122
|
export * from './DomainFiltersDto';
|
|
123
123
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
124
124
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
125
|
+
export * from './DomainLockConfigurationDto';
|
|
126
|
+
export * from './DomainLockDto';
|
|
125
127
|
export * from './DomainPricesChangeDto';
|
|
126
128
|
export * from './DomainSalesInformationDto';
|
|
127
129
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
@@ -223,6 +225,9 @@ export * from './ListDomainsWithUpdatedPricing200Response';
|
|
|
223
225
|
export * from './ListLeadMessagesDto';
|
|
224
226
|
export * from './ListLeadsResultItem';
|
|
225
227
|
export * from './ListNotifications200Response';
|
|
228
|
+
export * from './LockConfigurationInput';
|
|
229
|
+
export * from './LockDurationDto';
|
|
230
|
+
export * from './LockDurationInput';
|
|
226
231
|
export * from './LoginDto';
|
|
227
232
|
export * from './LoginInput';
|
|
228
233
|
export * from './MajesticMetrics';
|