@randock/nameshift-api-client 0.0.255 → 0.0.257
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 +2 -0
- package/README.md +3 -3
- package/dist/apis/SalesPublicApi.d.ts +10 -0
- package/dist/apis/SalesPublicApi.js +14 -1
- package/dist/models/DomainDto.d.ts +7 -0
- package/dist/models/DomainDto.js +5 -0
- package/dist/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.d.ts +54 -0
- package/dist/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.js +69 -0
- package/dist/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.d.ts +54 -0
- package/dist/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.js +63 -0
- 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/LeadPriceNegotiatorAiAgentConfigurationDto.d.ts +15 -0
- package/dist/models/LeadPriceNegotiatorAiAgentConfigurationDto.js +13 -0
- package/dist/models/LeadPriceNegotiatorAiAgentConfigurationInput.d.ts +15 -0
- package/dist/models/LeadPriceNegotiatorAiAgentConfigurationInput.js +11 -0
- package/dist/models/PublicSaleDto.d.ts +6 -0
- package/dist/models/PublicSaleDto.js +4 -0
- package/dist/models/UpdateDomainInput.d.ts +7 -0
- package/dist/models/UpdateDomainInput.js +3 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/SalesPublicApi.ts +19 -0
- package/src/models/DomainDto.ts +16 -0
- package/src/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.ts +104 -0
- package/src/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.ts +101 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/LeadPriceNegotiatorAiAgentConfigurationDto.ts +21 -0
- package/src/models/LeadPriceNegotiatorAiAgentConfigurationInput.ts +20 -0
- package/src/models/PublicSaleDto.ts +9 -0
- package/src/models/UpdateDomainInput.ts +15 -0
- package/src/models/index.ts +2 -0
|
@@ -13,6 +13,7 @@ import type { MoneyDto } from './MoneyDto';
|
|
|
13
13
|
import type { LandingPageInput } from './LandingPageInput';
|
|
14
14
|
import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
|
|
15
15
|
import type { RentConfigurationInput } from './RentConfigurationInput';
|
|
16
|
+
import type { DomainLeadPriceNegotiatorAiAgentConfigurationInput } from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
18
19
|
* @export
|
|
@@ -61,6 +62,12 @@ export interface UpdateDomainInput {
|
|
|
61
62
|
* @memberof UpdateDomainInput
|
|
62
63
|
*/
|
|
63
64
|
allowThirdPartySalesDataSharing?: boolean | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationInput}
|
|
68
|
+
* @memberof UpdateDomainInput
|
|
69
|
+
*/
|
|
70
|
+
leadPriceNegotiator?: DomainLeadPriceNegotiatorAiAgentConfigurationInput | null;
|
|
64
71
|
}
|
|
65
72
|
/**
|
|
66
73
|
* Check if a given object implements the UpdateDomainInput interface.
|
|
@@ -22,6 +22,7 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
22
22
|
var LandingPageInput_1 = require("./LandingPageInput");
|
|
23
23
|
var LeaseToOwnConfigurationInput_1 = require("./LeaseToOwnConfigurationInput");
|
|
24
24
|
var RentConfigurationInput_1 = require("./RentConfigurationInput");
|
|
25
|
+
var DomainLeadPriceNegotiatorAiAgentConfigurationInput_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationInput");
|
|
25
26
|
/**
|
|
26
27
|
* Check if a given object implements the UpdateDomainInput interface.
|
|
27
28
|
*/
|
|
@@ -43,6 +44,7 @@ function UpdateDomainInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
'rent': json['rent'] == null ? undefined : (0, RentConfigurationInput_1.RentConfigurationInputFromJSON)(json['rent']),
|
|
44
45
|
'landingPage': json['landingPage'] == null ? undefined : (0, LandingPageInput_1.LandingPageInputFromJSON)(json['landingPage']),
|
|
45
46
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
|
|
47
|
+
'leadPriceNegotiator': json['leadPriceNegotiator'] == null ? undefined : (0, DomainLeadPriceNegotiatorAiAgentConfigurationInput_1.DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiator']),
|
|
46
48
|
};
|
|
47
49
|
}
|
|
48
50
|
function UpdateDomainInputToJSON(json) {
|
|
@@ -61,5 +63,6 @@ function UpdateDomainInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
61
63
|
'rent': (0, RentConfigurationInput_1.RentConfigurationInputToJSON)(value['rent']),
|
|
62
64
|
'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
|
|
63
65
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
66
|
+
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationInput_1.DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiator']),
|
|
64
67
|
};
|
|
65
68
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -64,6 +64,8 @@ export * from './CursorBasedPaginationResponse';
|
|
|
64
64
|
export * from './DeleteDomainsInput';
|
|
65
65
|
export * from './DomainDto';
|
|
66
66
|
export * from './DomainExchangeRateDto';
|
|
67
|
+
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
68
|
+
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
67
69
|
export * from './DomainSalesInformationDto';
|
|
68
70
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
69
71
|
export * from './DomainSalesInformationRentConfigurationDto';
|
package/dist/models/index.js
CHANGED
|
@@ -82,6 +82,8 @@ __exportStar(require("./CursorBasedPaginationResponse"), exports);
|
|
|
82
82
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
83
83
|
__exportStar(require("./DomainDto"), exports);
|
|
84
84
|
__exportStar(require("./DomainExchangeRateDto"), exports);
|
|
85
|
+
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), exports);
|
|
86
|
+
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationInput"), exports);
|
|
85
87
|
__exportStar(require("./DomainSalesInformationDto"), exports);
|
|
86
88
|
__exportStar(require("./DomainSalesInformationLeaseToOwnConfigurationDto"), exports);
|
|
87
89
|
__exportStar(require("./DomainSalesInformationRentConfigurationDto"), exports);
|
package/package.json
CHANGED
|
@@ -24,6 +24,8 @@ import {
|
|
|
24
24
|
|
|
25
25
|
export interface SalesPublicApiGetSalesRequest {
|
|
26
26
|
tlds?: Array<string>;
|
|
27
|
+
output?: GetSalesOutputEnum;
|
|
28
|
+
locale?: string;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
/**
|
|
@@ -41,6 +43,14 @@ export class SalesPublicApi extends runtime.BaseAPI {
|
|
|
41
43
|
queryParameters['tlds'] = requestParameters['tlds'];
|
|
42
44
|
}
|
|
43
45
|
|
|
46
|
+
if (requestParameters['output'] != null) {
|
|
47
|
+
queryParameters['output'] = requestParameters['output'];
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (requestParameters['locale'] != null) {
|
|
51
|
+
queryParameters['locale'] = requestParameters['locale'];
|
|
52
|
+
}
|
|
53
|
+
|
|
44
54
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
45
55
|
|
|
46
56
|
const response = await this.request({
|
|
@@ -62,3 +72,12 @@ export class SalesPublicApi extends runtime.BaseAPI {
|
|
|
62
72
|
}
|
|
63
73
|
|
|
64
74
|
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @export
|
|
78
|
+
*/
|
|
79
|
+
export const GetSalesOutputEnum = {
|
|
80
|
+
JSON: 'json',
|
|
81
|
+
RSS: 'rss'
|
|
82
|
+
} as const;
|
|
83
|
+
export type GetSalesOutputEnum = typeof GetSalesOutputEnum[keyof typeof GetSalesOutputEnum];
|
package/src/models/DomainDto.ts
CHANGED
|
@@ -41,6 +41,13 @@ import {
|
|
|
41
41
|
LandingPageSettingsDtoToJSON,
|
|
42
42
|
LandingPageSettingsDtoToJSONTyped,
|
|
43
43
|
} from './LandingPageSettingsDto';
|
|
44
|
+
import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
45
|
+
import {
|
|
46
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON,
|
|
47
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped,
|
|
48
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON,
|
|
49
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped,
|
|
50
|
+
} from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
44
51
|
|
|
45
52
|
/**
|
|
46
53
|
*
|
|
@@ -157,6 +164,12 @@ export interface DomainDto {
|
|
|
157
164
|
* @memberof DomainDto
|
|
158
165
|
*/
|
|
159
166
|
allowThirdPartySalesDataSharing: boolean | null;
|
|
167
|
+
/**
|
|
168
|
+
* The lead price negotiator configuration (AI Agent)
|
|
169
|
+
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
|
|
170
|
+
* @memberof DomainDto
|
|
171
|
+
*/
|
|
172
|
+
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
160
173
|
}
|
|
161
174
|
|
|
162
175
|
/**
|
|
@@ -181,6 +194,7 @@ export function instanceOfDomainDto(value: object): value is DomainDto {
|
|
|
181
194
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
182
195
|
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
183
196
|
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
197
|
+
if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
|
|
184
198
|
return true;
|
|
185
199
|
}
|
|
186
200
|
|
|
@@ -212,6 +226,7 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
212
226
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
213
227
|
'pageviews': json['pageviews'],
|
|
214
228
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
229
|
+
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
|
|
215
230
|
};
|
|
216
231
|
}
|
|
217
232
|
|
|
@@ -244,6 +259,7 @@ export function DomainDtoToJSONTyped(value?: DomainDto | null, ignoreDiscriminat
|
|
|
244
259
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
245
260
|
'pageviews': value['pageviews'],
|
|
246
261
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
262
|
+
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
|
|
247
263
|
};
|
|
248
264
|
}
|
|
249
265
|
|
|
@@ -0,0 +1,104 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
MoneyDtoToJSONTyped,
|
|
22
|
+
} from './MoneyDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainLeadPriceNegotiatorAiAgentConfigurationDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainLeadPriceNegotiatorAiAgentConfigurationDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {MoneyDto}
|
|
33
|
+
* @memberof DomainLeadPriceNegotiatorAiAgentConfigurationDto
|
|
34
|
+
*/
|
|
35
|
+
minOffer: MoneyDto | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof DomainLeadPriceNegotiatorAiAgentConfigurationDto
|
|
40
|
+
*/
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DomainLeadPriceNegotiatorAiAgentConfigurationDto
|
|
46
|
+
*/
|
|
47
|
+
salesImportance: DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export const DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = {
|
|
55
|
+
LOW: 'low',
|
|
56
|
+
MEDIUM: 'medium',
|
|
57
|
+
HIGH: 'high'
|
|
58
|
+
} as const;
|
|
59
|
+
export type DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = typeof DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum[keyof typeof DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum];
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the DomainLeadPriceNegotiatorAiAgentConfigurationDto interface.
|
|
64
|
+
*/
|
|
65
|
+
export function instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationDto(value: object): value is DomainLeadPriceNegotiatorAiAgentConfigurationDto {
|
|
66
|
+
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
67
|
+
if (!('enabled' in value) || value['enabled'] === undefined) return false;
|
|
68
|
+
if (!('salesImportance' in value) || value['salesImportance'] === undefined) return false;
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json: any): DomainLeadPriceNegotiatorAiAgentConfigurationDto {
|
|
73
|
+
return DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainLeadPriceNegotiatorAiAgentConfigurationDto {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
83
|
+
'enabled': json['enabled'],
|
|
84
|
+
'salesImportance': json['salesImportance'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(json: any): DomainLeadPriceNegotiatorAiAgentConfigurationDto {
|
|
89
|
+
return DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(value?: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
93
|
+
if (value == null) {
|
|
94
|
+
return value;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
100
|
+
'enabled': value['enabled'],
|
|
101
|
+
'salesImportance': value['salesImportance'],
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -0,0 +1,101 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
MoneyDtoToJSONTyped,
|
|
22
|
+
} from './MoneyDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainLeadPriceNegotiatorAiAgentConfigurationInput
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainLeadPriceNegotiatorAiAgentConfigurationInput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {MoneyDto}
|
|
33
|
+
* @memberof DomainLeadPriceNegotiatorAiAgentConfigurationInput
|
|
34
|
+
*/
|
|
35
|
+
minOffer?: MoneyDto | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof DomainLeadPriceNegotiatorAiAgentConfigurationInput
|
|
40
|
+
*/
|
|
41
|
+
enabled?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DomainLeadPriceNegotiatorAiAgentConfigurationInput
|
|
46
|
+
*/
|
|
47
|
+
salesImportance?: DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export const DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = {
|
|
55
|
+
LOW: 'low',
|
|
56
|
+
MEDIUM: 'medium',
|
|
57
|
+
HIGH: 'high'
|
|
58
|
+
} as const;
|
|
59
|
+
export type DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = typeof DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum[keyof typeof DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum];
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the DomainLeadPriceNegotiatorAiAgentConfigurationInput interface.
|
|
64
|
+
*/
|
|
65
|
+
export function instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationInput(value: object): value is DomainLeadPriceNegotiatorAiAgentConfigurationInput {
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json: any): DomainLeadPriceNegotiatorAiAgentConfigurationInput {
|
|
70
|
+
return DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainLeadPriceNegotiatorAiAgentConfigurationInput {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'minOffer': json['minOffer'] == null ? undefined : MoneyDtoFromJSON(json['minOffer']),
|
|
80
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
81
|
+
'salesImportance': json['salesImportance'] == null ? undefined : json['salesImportance'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON(json: any): DomainLeadPriceNegotiatorAiAgentConfigurationInput {
|
|
86
|
+
return DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(value?: DomainLeadPriceNegotiatorAiAgentConfigurationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
90
|
+
if (value == null) {
|
|
91
|
+
return value;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
return {
|
|
95
|
+
|
|
96
|
+
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
97
|
+
'enabled': value['enabled'],
|
|
98
|
+
'salesImportance': value['salesImportance'],
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
AccountDtoToJSON,
|
|
49
49
|
AccountDtoToJSONTyped,
|
|
50
50
|
} from './AccountDto';
|
|
51
|
+
import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
52
|
+
import {
|
|
53
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON,
|
|
54
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped,
|
|
55
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON,
|
|
56
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped,
|
|
57
|
+
} from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
51
58
|
|
|
52
59
|
/**
|
|
53
60
|
*
|
|
@@ -164,6 +171,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
164
171
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
165
172
|
*/
|
|
166
173
|
allowThirdPartySalesDataSharing: boolean | null;
|
|
174
|
+
/**
|
|
175
|
+
* The lead price negotiator configuration (AI Agent)
|
|
176
|
+
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
|
|
177
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
178
|
+
*/
|
|
179
|
+
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
167
180
|
/**
|
|
168
181
|
*
|
|
169
182
|
* @type {AccountDto}
|
|
@@ -194,6 +207,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
194
207
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
195
208
|
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
196
209
|
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
210
|
+
if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
|
|
197
211
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
198
212
|
return true;
|
|
199
213
|
}
|
|
@@ -226,6 +240,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
226
240
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
227
241
|
'pageviews': json['pageviews'],
|
|
228
242
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
243
|
+
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
|
|
229
244
|
'account': AccountDtoFromJSON(json['account']),
|
|
230
245
|
};
|
|
231
246
|
}
|
|
@@ -259,6 +274,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
|
|
|
259
274
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
260
275
|
'pageviews': value['pageviews'],
|
|
261
276
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
277
|
+
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
|
|
262
278
|
'account': AccountDtoToJSON(value['account']),
|
|
263
279
|
};
|
|
264
280
|
}
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
AccountDtoToJSON,
|
|
49
49
|
AccountDtoToJSONTyped,
|
|
50
50
|
} from './AccountDto';
|
|
51
|
+
import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
52
|
+
import {
|
|
53
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON,
|
|
54
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped,
|
|
55
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON,
|
|
56
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped,
|
|
57
|
+
} from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
51
58
|
|
|
52
59
|
/**
|
|
53
60
|
*
|
|
@@ -164,6 +171,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
164
171
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
165
172
|
*/
|
|
166
173
|
allowThirdPartySalesDataSharing: boolean | null;
|
|
174
|
+
/**
|
|
175
|
+
* The lead price negotiator configuration (AI Agent)
|
|
176
|
+
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
|
|
177
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
178
|
+
*/
|
|
179
|
+
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
167
180
|
/**
|
|
168
181
|
*
|
|
169
182
|
* @type {AccountDto}
|
|
@@ -200,6 +213,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
200
213
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
201
214
|
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
202
215
|
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
216
|
+
if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
|
|
203
217
|
if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
|
|
204
218
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
205
219
|
return true;
|
|
@@ -233,6 +247,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
233
247
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
234
248
|
'pageviews': json['pageviews'],
|
|
235
249
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
250
|
+
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
|
|
236
251
|
'hijacker': AccountDtoFromJSON(json['hijacker']),
|
|
237
252
|
'account': AccountDtoFromJSON(json['account']),
|
|
238
253
|
};
|
|
@@ -267,6 +282,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
|
|
|
267
282
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
268
283
|
'pageviews': value['pageviews'],
|
|
269
284
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
285
|
+
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
|
|
270
286
|
'hijacker': AccountDtoToJSON(value['hijacker']),
|
|
271
287
|
'account': AccountDtoToJSON(value['account']),
|
|
272
288
|
};
|
|
@@ -25,13 +25,32 @@ export interface LeadPriceNegotiatorAiAgentConfigurationDto {
|
|
|
25
25
|
* @memberof LeadPriceNegotiatorAiAgentConfigurationDto
|
|
26
26
|
*/
|
|
27
27
|
enabled: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LeadPriceNegotiatorAiAgentConfigurationDto
|
|
32
|
+
*/
|
|
33
|
+
salesImportance: LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum;
|
|
28
34
|
}
|
|
29
35
|
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = {
|
|
41
|
+
LOW: 'low',
|
|
42
|
+
MEDIUM: 'medium',
|
|
43
|
+
HIGH: 'high'
|
|
44
|
+
} as const;
|
|
45
|
+
export type LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = typeof LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum[keyof typeof LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum];
|
|
46
|
+
|
|
47
|
+
|
|
30
48
|
/**
|
|
31
49
|
* Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationDto interface.
|
|
32
50
|
*/
|
|
33
51
|
export function instanceOfLeadPriceNegotiatorAiAgentConfigurationDto(value: object): value is LeadPriceNegotiatorAiAgentConfigurationDto {
|
|
34
52
|
if (!('enabled' in value) || value['enabled'] === undefined) return false;
|
|
53
|
+
if (!('salesImportance' in value) || value['salesImportance'] === undefined) return false;
|
|
35
54
|
return true;
|
|
36
55
|
}
|
|
37
56
|
|
|
@@ -46,6 +65,7 @@ export function LeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json: an
|
|
|
46
65
|
return {
|
|
47
66
|
|
|
48
67
|
'enabled': json['enabled'],
|
|
68
|
+
'salesImportance': json['salesImportance'],
|
|
49
69
|
};
|
|
50
70
|
}
|
|
51
71
|
|
|
@@ -61,6 +81,7 @@ export function LeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(value?: Le
|
|
|
61
81
|
return {
|
|
62
82
|
|
|
63
83
|
'enabled': value['enabled'],
|
|
84
|
+
'salesImportance': value['salesImportance'],
|
|
64
85
|
};
|
|
65
86
|
}
|
|
66
87
|
|
|
@@ -25,8 +25,26 @@ export interface LeadPriceNegotiatorAiAgentConfigurationInput {
|
|
|
25
25
|
* @memberof LeadPriceNegotiatorAiAgentConfigurationInput
|
|
26
26
|
*/
|
|
27
27
|
enabled?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LeadPriceNegotiatorAiAgentConfigurationInput
|
|
32
|
+
*/
|
|
33
|
+
salesImportance?: LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum;
|
|
28
34
|
}
|
|
29
35
|
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = {
|
|
41
|
+
LOW: 'low',
|
|
42
|
+
MEDIUM: 'medium',
|
|
43
|
+
HIGH: 'high'
|
|
44
|
+
} as const;
|
|
45
|
+
export type LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = typeof LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum[keyof typeof LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum];
|
|
46
|
+
|
|
47
|
+
|
|
30
48
|
/**
|
|
31
49
|
* Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationInput interface.
|
|
32
50
|
*/
|
|
@@ -45,6 +63,7 @@ export function LeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json:
|
|
|
45
63
|
return {
|
|
46
64
|
|
|
47
65
|
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
66
|
+
'salesImportance': json['salesImportance'] == null ? undefined : json['salesImportance'],
|
|
48
67
|
};
|
|
49
68
|
}
|
|
50
69
|
|
|
@@ -60,6 +79,7 @@ export function LeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(value?:
|
|
|
60
79
|
return {
|
|
61
80
|
|
|
62
81
|
'enabled': value['enabled'],
|
|
82
|
+
'salesImportance': value['salesImportance'],
|
|
63
83
|
};
|
|
64
84
|
}
|
|
65
85
|
|
|
@@ -19,6 +19,12 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface PublicSaleDto
|
|
20
20
|
*/
|
|
21
21
|
export interface PublicSaleDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PublicSaleDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
22
28
|
/**
|
|
23
29
|
*
|
|
24
30
|
* @type {string}
|
|
@@ -67,6 +73,7 @@ export type PublicSaleDtoTypeEnum = typeof PublicSaleDtoTypeEnum[keyof typeof Pu
|
|
|
67
73
|
* Check if a given object implements the PublicSaleDto interface.
|
|
68
74
|
*/
|
|
69
75
|
export function instanceOfPublicSaleDto(value: object): value is PublicSaleDto {
|
|
76
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
70
77
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
71
78
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
72
79
|
if (!('price' in value) || value['price'] === undefined) return false;
|
|
@@ -85,6 +92,7 @@ export function PublicSaleDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
85
92
|
}
|
|
86
93
|
return {
|
|
87
94
|
|
|
95
|
+
'id': json['id'],
|
|
88
96
|
'type': json['type'],
|
|
89
97
|
'name': json['name'],
|
|
90
98
|
'price': json['price'],
|
|
@@ -104,6 +112,7 @@ export function PublicSaleDtoToJSONTyped(value?: PublicSaleDto | null, ignoreDis
|
|
|
104
112
|
|
|
105
113
|
return {
|
|
106
114
|
|
|
115
|
+
'id': value['id'],
|
|
107
116
|
'type': value['type'],
|
|
108
117
|
'name': value['name'],
|
|
109
118
|
'price': value['price'],
|
|
@@ -41,6 +41,13 @@ import {
|
|
|
41
41
|
RentConfigurationInputToJSON,
|
|
42
42
|
RentConfigurationInputToJSONTyped,
|
|
43
43
|
} from './RentConfigurationInput';
|
|
44
|
+
import type { DomainLeadPriceNegotiatorAiAgentConfigurationInput } from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
45
|
+
import {
|
|
46
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON,
|
|
47
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped,
|
|
48
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON,
|
|
49
|
+
DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped,
|
|
50
|
+
} from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
44
51
|
|
|
45
52
|
/**
|
|
46
53
|
*
|
|
@@ -90,6 +97,12 @@ export interface UpdateDomainInput {
|
|
|
90
97
|
* @memberof UpdateDomainInput
|
|
91
98
|
*/
|
|
92
99
|
allowThirdPartySalesDataSharing?: boolean | null;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationInput}
|
|
103
|
+
* @memberof UpdateDomainInput
|
|
104
|
+
*/
|
|
105
|
+
leadPriceNegotiator?: DomainLeadPriceNegotiatorAiAgentConfigurationInput | null;
|
|
93
106
|
}
|
|
94
107
|
|
|
95
108
|
/**
|
|
@@ -116,6 +129,7 @@ export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
116
129
|
'rent': json['rent'] == null ? undefined : RentConfigurationInputFromJSON(json['rent']),
|
|
117
130
|
'landingPage': json['landingPage'] == null ? undefined : LandingPageInputFromJSON(json['landingPage']),
|
|
118
131
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
|
|
132
|
+
'leadPriceNegotiator': json['leadPriceNegotiator'] == null ? undefined : DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json['leadPriceNegotiator']),
|
|
119
133
|
};
|
|
120
134
|
}
|
|
121
135
|
|
|
@@ -137,6 +151,7 @@ export function UpdateDomainInputToJSONTyped(value?: UpdateDomainInput | null, i
|
|
|
137
151
|
'rent': RentConfigurationInputToJSON(value['rent']),
|
|
138
152
|
'landingPage': LandingPageInputToJSON(value['landingPage']),
|
|
139
153
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
154
|
+
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON(value['leadPriceNegotiator']),
|
|
140
155
|
};
|
|
141
156
|
}
|
|
142
157
|
|
package/src/models/index.ts
CHANGED
|
@@ -66,6 +66,8 @@ export * from './CursorBasedPaginationResponse';
|
|
|
66
66
|
export * from './DeleteDomainsInput';
|
|
67
67
|
export * from './DomainDto';
|
|
68
68
|
export * from './DomainExchangeRateDto';
|
|
69
|
+
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
70
|
+
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
69
71
|
export * from './DomainSalesInformationDto';
|
|
70
72
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
71
73
|
export * from './DomainSalesInformationRentConfigurationDto';
|