@randock/nameshift-api-client 0.0.254 → 0.0.256

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.
Files changed (33) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +3 -3
  3. package/dist/apis/DomainsPublicApi.d.ts +1 -0
  4. package/dist/apis/DomainsPublicApi.js +3 -0
  5. package/dist/models/DomainDto.d.ts +7 -0
  6. package/dist/models/DomainDto.js +5 -0
  7. package/dist/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.d.ts +54 -0
  8. package/dist/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.js +69 -0
  9. package/dist/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.d.ts +54 -0
  10. package/dist/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.js +63 -0
  11. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  12. package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
  13. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  14. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  15. package/dist/models/LeadPriceNegotiatorAiAgentConfigurationDto.d.ts +15 -0
  16. package/dist/models/LeadPriceNegotiatorAiAgentConfigurationDto.js +13 -0
  17. package/dist/models/LeadPriceNegotiatorAiAgentConfigurationInput.d.ts +15 -0
  18. package/dist/models/LeadPriceNegotiatorAiAgentConfigurationInput.js +11 -0
  19. package/dist/models/UpdateDomainInput.d.ts +7 -0
  20. package/dist/models/UpdateDomainInput.js +3 -0
  21. package/dist/models/index.d.ts +2 -0
  22. package/dist/models/index.js +2 -0
  23. package/package.json +1 -1
  24. package/src/apis/DomainsPublicApi.ts +5 -0
  25. package/src/models/DomainDto.ts +16 -0
  26. package/src/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.ts +104 -0
  27. package/src/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.ts +101 -0
  28. package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
  29. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  30. package/src/models/LeadPriceNegotiatorAiAgentConfigurationDto.ts +21 -0
  31. package/src/models/LeadPriceNegotiatorAiAgentConfigurationInput.ts +20 -0
  32. package/src/models/UpdateDomainInput.ts +15 -0
  33. package/src/models/index.ts +2 -0
@@ -91,6 +91,8 @@ src/models/CursorBasedPaginationResponse.ts
91
91
  src/models/DeleteDomainsInput.ts
92
92
  src/models/DomainDto.ts
93
93
  src/models/DomainExchangeRateDto.ts
94
+ src/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.ts
95
+ src/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.ts
94
96
  src/models/DomainSalesInformationDto.ts
95
97
  src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts
96
98
  src/models/DomainSalesInformationRentConfigurationDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.254
1
+ ## @randock/nameshift-api-client@0.0.256
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.254 --save
39
+ npm install @randock/nameshift-api-client@0.0.256 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 1a919e357af0b16ec17dde8b9af508d00dd5ff0a2349182cb9be0d00d448e6a8ddc317dc6afbce470bb1d17dd7f4326d
47
+ b169d536d0449f1e6955e9ae1967a5134c998496dd0311bcf86d11d5121c9613e7710bf0fc6366814d1a5c898905ed47
@@ -21,6 +21,7 @@ export interface DomainsPublicApiListRequest {
21
21
  limit?: number;
22
22
  sort?: Array<SortDto>;
23
23
  filter?: string;
24
+ search?: string;
24
25
  cursor?: string;
25
26
  }
26
27
  /**
@@ -147,6 +147,9 @@ var DomainsPublicApi = /** @class */ (function (_super) {
147
147
  if (requestParameters['filter'] != null) {
148
148
  queryParameters['filter'] = requestParameters['filter'];
149
149
  }
150
+ if (requestParameters['search'] != null) {
151
+ queryParameters['search'] = requestParameters['search'];
152
+ }
150
153
  if (requestParameters['cursor'] != null) {
151
154
  queryParameters['cursor'] = requestParameters['cursor'];
152
155
  }
@@ -13,6 +13,7 @@ import type { MoneyDto } from './MoneyDto';
13
13
  import type { RentConfigurationDto } from './RentConfigurationDto';
14
14
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
15
15
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
16
+ import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
16
17
  /**
17
18
  *
18
19
  * @export
@@ -128,6 +129,12 @@ export interface DomainDto {
128
129
  * @memberof DomainDto
129
130
  */
130
131
  allowThirdPartySalesDataSharing: boolean | null;
132
+ /**
133
+ * The lead price negotiator configuration (AI Agent)
134
+ * @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
135
+ * @memberof DomainDto
136
+ */
137
+ leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
131
138
  }
132
139
  /**
133
140
  * Check if a given object implements the DomainDto interface.
@@ -22,6 +22,7 @@ var MoneyDto_1 = require("./MoneyDto");
22
22
  var RentConfigurationDto_1 = require("./RentConfigurationDto");
23
23
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
24
24
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
25
+ var DomainLeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto");
25
26
  /**
26
27
  * Check if a given object implements the DomainDto interface.
27
28
  */
@@ -62,6 +63,8 @@ function instanceOfDomainDto(value) {
62
63
  return false;
63
64
  if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined)
64
65
  return false;
66
+ if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined)
67
+ return false;
65
68
  return true;
66
69
  }
67
70
  function DomainDtoFromJSON(json) {
@@ -90,6 +93,7 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
90
93
  'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
91
94
  'pageviews': json['pageviews'],
92
95
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
96
+ 'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
93
97
  };
94
98
  }
95
99
  function DomainDtoToJSON(json) {
@@ -119,5 +123,6 @@ function DomainDtoToJSONTyped(value, ignoreDiscriminator) {
119
123
  'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
120
124
  'pageviews': value['pageviews'],
121
125
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
126
+ 'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
122
127
  };
123
128
  }
@@ -0,0 +1,54 @@
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 { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DomainLeadPriceNegotiatorAiAgentConfigurationDto
17
+ */
18
+ export interface DomainLeadPriceNegotiatorAiAgentConfigurationDto {
19
+ /**
20
+ *
21
+ * @type {MoneyDto}
22
+ * @memberof DomainLeadPriceNegotiatorAiAgentConfigurationDto
23
+ */
24
+ minOffer: MoneyDto | null;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof DomainLeadPriceNegotiatorAiAgentConfigurationDto
29
+ */
30
+ enabled: boolean;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof DomainLeadPriceNegotiatorAiAgentConfigurationDto
35
+ */
36
+ salesImportance: DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum;
37
+ }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum: {
42
+ readonly LOW: "low";
43
+ readonly MEDIUM: "medium";
44
+ readonly HIGH: "high";
45
+ };
46
+ export type DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = typeof DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum[keyof typeof DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum];
47
+ /**
48
+ * Check if a given object implements the DomainLeadPriceNegotiatorAiAgentConfigurationDto interface.
49
+ */
50
+ export declare function instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationDto(value: object): value is DomainLeadPriceNegotiatorAiAgentConfigurationDto;
51
+ export declare function DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json: any): DomainLeadPriceNegotiatorAiAgentConfigurationDto;
52
+ export declare function DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainLeadPriceNegotiatorAiAgentConfigurationDto;
53
+ export declare function DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(json: any): DomainLeadPriceNegotiatorAiAgentConfigurationDto;
54
+ export declare function DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(value?: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
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.DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = void 0;
17
+ exports.instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationDto = instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationDto;
18
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON = DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON;
19
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped = DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped;
20
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON = DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON;
21
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped = DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped;
22
+ var MoneyDto_1 = require("./MoneyDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = {
27
+ LOW: 'low',
28
+ MEDIUM: 'medium',
29
+ HIGH: 'high'
30
+ };
31
+ /**
32
+ * Check if a given object implements the DomainLeadPriceNegotiatorAiAgentConfigurationDto interface.
33
+ */
34
+ function instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationDto(value) {
35
+ if (!('minOffer' in value) || value['minOffer'] === undefined)
36
+ return false;
37
+ if (!('enabled' in value) || value['enabled'] === undefined)
38
+ return false;
39
+ if (!('salesImportance' in value) || value['salesImportance'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json) {
44
+ return DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json, false);
45
+ }
46
+ function DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
52
+ 'enabled': json['enabled'],
53
+ 'salesImportance': json['salesImportance'],
54
+ };
55
+ }
56
+ function DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(json) {
57
+ return DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(json, false);
58
+ }
59
+ function DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
66
+ 'enabled': value['enabled'],
67
+ 'salesImportance': value['salesImportance'],
68
+ };
69
+ }
@@ -0,0 +1,54 @@
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 { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DomainLeadPriceNegotiatorAiAgentConfigurationInput
17
+ */
18
+ export interface DomainLeadPriceNegotiatorAiAgentConfigurationInput {
19
+ /**
20
+ *
21
+ * @type {MoneyDto}
22
+ * @memberof DomainLeadPriceNegotiatorAiAgentConfigurationInput
23
+ */
24
+ minOffer?: MoneyDto | null;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof DomainLeadPriceNegotiatorAiAgentConfigurationInput
29
+ */
30
+ enabled?: boolean;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof DomainLeadPriceNegotiatorAiAgentConfigurationInput
35
+ */
36
+ salesImportance?: DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum;
37
+ }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum: {
42
+ readonly LOW: "low";
43
+ readonly MEDIUM: "medium";
44
+ readonly HIGH: "high";
45
+ };
46
+ export type DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = typeof DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum[keyof typeof DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum];
47
+ /**
48
+ * Check if a given object implements the DomainLeadPriceNegotiatorAiAgentConfigurationInput interface.
49
+ */
50
+ export declare function instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationInput(value: object): value is DomainLeadPriceNegotiatorAiAgentConfigurationInput;
51
+ export declare function DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json: any): DomainLeadPriceNegotiatorAiAgentConfigurationInput;
52
+ export declare function DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainLeadPriceNegotiatorAiAgentConfigurationInput;
53
+ export declare function DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON(json: any): DomainLeadPriceNegotiatorAiAgentConfigurationInput;
54
+ export declare function DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(value?: DomainLeadPriceNegotiatorAiAgentConfigurationInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = void 0;
17
+ exports.instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationInput = instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationInput;
18
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON = DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON;
19
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped = DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped;
20
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON = DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON;
21
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped = DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped;
22
+ var MoneyDto_1 = require("./MoneyDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.DomainLeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = {
27
+ LOW: 'low',
28
+ MEDIUM: 'medium',
29
+ HIGH: 'high'
30
+ };
31
+ /**
32
+ * Check if a given object implements the DomainLeadPriceNegotiatorAiAgentConfigurationInput interface.
33
+ */
34
+ function instanceOfDomainLeadPriceNegotiatorAiAgentConfigurationInput(value) {
35
+ return true;
36
+ }
37
+ function DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json) {
38
+ return DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json, false);
39
+ }
40
+ function DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'minOffer': json['minOffer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
46
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
47
+ 'salesImportance': json['salesImportance'] == null ? undefined : json['salesImportance'],
48
+ };
49
+ }
50
+ function DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON(json) {
51
+ return DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(json, false);
52
+ }
53
+ function DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
60
+ 'enabled': value['enabled'],
61
+ 'salesImportance': value['salesImportance'],
62
+ };
63
+ }
@@ -14,6 +14,7 @@ import type { RentConfigurationDto } from './RentConfigurationDto';
14
14
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
15
15
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
16
16
  import type { AccountDto } from './AccountDto';
17
+ import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
17
18
  /**
18
19
  *
19
20
  * @export
@@ -129,6 +130,12 @@ export interface IntersectionDomainDtoWithAccountDto {
129
130
  * @memberof IntersectionDomainDtoWithAccountDto
130
131
  */
131
132
  allowThirdPartySalesDataSharing: boolean | null;
133
+ /**
134
+ * The lead price negotiator configuration (AI Agent)
135
+ * @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
136
+ * @memberof IntersectionDomainDtoWithAccountDto
137
+ */
138
+ leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
132
139
  /**
133
140
  *
134
141
  * @type {AccountDto}
@@ -23,6 +23,7 @@ var RentConfigurationDto_1 = require("./RentConfigurationDto");
23
23
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
24
24
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
25
25
  var AccountDto_1 = require("./AccountDto");
26
+ var DomainLeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto");
26
27
  /**
27
28
  * Check if a given object implements the IntersectionDomainDtoWithAccountDto interface.
28
29
  */
@@ -63,6 +64,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
63
64
  return false;
64
65
  if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined)
65
66
  return false;
67
+ if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined)
68
+ return false;
66
69
  if (!('account' in value) || value['account'] === undefined)
67
70
  return false;
68
71
  return true;
@@ -93,6 +96,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
93
96
  'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
94
97
  'pageviews': json['pageviews'],
95
98
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
99
+ 'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
96
100
  'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
97
101
  };
98
102
  }
@@ -123,6 +127,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
123
127
  'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
124
128
  'pageviews': value['pageviews'],
125
129
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
130
+ 'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
126
131
  'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
127
132
  };
128
133
  }
@@ -14,6 +14,7 @@ import type { RentConfigurationDto } from './RentConfigurationDto';
14
14
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
15
15
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
16
16
  import type { AccountDto } from './AccountDto';
17
+ import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
17
18
  /**
18
19
  *
19
20
  * @export
@@ -129,6 +130,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
129
130
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
130
131
  */
131
132
  allowThirdPartySalesDataSharing: boolean | null;
133
+ /**
134
+ * The lead price negotiator configuration (AI Agent)
135
+ * @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
136
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
137
+ */
138
+ leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
132
139
  /**
133
140
  *
134
141
  * @type {AccountDto}
@@ -23,6 +23,7 @@ var RentConfigurationDto_1 = require("./RentConfigurationDto");
23
23
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
24
24
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
25
25
  var AccountDto_1 = require("./AccountDto");
26
+ var DomainLeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto");
26
27
  /**
27
28
  * Check if a given object implements the IntersectionDomainDtoWithHijackerDtoWithAccountDto interface.
28
29
  */
@@ -63,6 +64,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
63
64
  return false;
64
65
  if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined)
65
66
  return false;
67
+ if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined)
68
+ return false;
66
69
  if (!('hijacker' in value) || value['hijacker'] === undefined)
67
70
  return false;
68
71
  if (!('account' in value) || value['account'] === undefined)
@@ -95,6 +98,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
95
98
  'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
96
99
  'pageviews': json['pageviews'],
97
100
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
101
+ 'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
98
102
  'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
99
103
  'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
100
104
  };
@@ -126,6 +130,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
126
130
  'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
127
131
  'pageviews': value['pageviews'],
128
132
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
133
+ 'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
129
134
  'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
130
135
  'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
131
136
  };
@@ -21,7 +21,22 @@ export interface LeadPriceNegotiatorAiAgentConfigurationDto {
21
21
  * @memberof LeadPriceNegotiatorAiAgentConfigurationDto
22
22
  */
23
23
  enabled: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LeadPriceNegotiatorAiAgentConfigurationDto
28
+ */
29
+ salesImportance: LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum;
24
30
  }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum: {
35
+ readonly LOW: "low";
36
+ readonly MEDIUM: "medium";
37
+ readonly HIGH: "high";
38
+ };
39
+ export type LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = typeof LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum[keyof typeof LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum];
25
40
  /**
26
41
  * Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationDto interface.
27
42
  */
@@ -13,17 +13,28 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = void 0;
16
17
  exports.instanceOfLeadPriceNegotiatorAiAgentConfigurationDto = instanceOfLeadPriceNegotiatorAiAgentConfigurationDto;
17
18
  exports.LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON = LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON;
18
19
  exports.LeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped = LeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped;
19
20
  exports.LeadPriceNegotiatorAiAgentConfigurationDtoToJSON = LeadPriceNegotiatorAiAgentConfigurationDtoToJSON;
20
21
  exports.LeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped = LeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LeadPriceNegotiatorAiAgentConfigurationDtoSalesImportanceEnum = {
26
+ LOW: 'low',
27
+ MEDIUM: 'medium',
28
+ HIGH: 'high'
29
+ };
21
30
  /**
22
31
  * Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationDto interface.
23
32
  */
24
33
  function instanceOfLeadPriceNegotiatorAiAgentConfigurationDto(value) {
25
34
  if (!('enabled' in value) || value['enabled'] === undefined)
26
35
  return false;
36
+ if (!('salesImportance' in value) || value['salesImportance'] === undefined)
37
+ return false;
27
38
  return true;
28
39
  }
29
40
  function LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json) {
@@ -35,6 +46,7 @@ function LeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json, ignoreDis
35
46
  }
36
47
  return {
37
48
  'enabled': json['enabled'],
49
+ 'salesImportance': json['salesImportance'],
38
50
  };
39
51
  }
40
52
  function LeadPriceNegotiatorAiAgentConfigurationDtoToJSON(json) {
@@ -47,5 +59,6 @@ function LeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(value, ignoreDisc
47
59
  }
48
60
  return {
49
61
  'enabled': value['enabled'],
62
+ 'salesImportance': value['salesImportance'],
50
63
  };
51
64
  }
@@ -21,7 +21,22 @@ export interface LeadPriceNegotiatorAiAgentConfigurationInput {
21
21
  * @memberof LeadPriceNegotiatorAiAgentConfigurationInput
22
22
  */
23
23
  enabled?: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LeadPriceNegotiatorAiAgentConfigurationInput
28
+ */
29
+ salesImportance?: LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum;
24
30
  }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum: {
35
+ readonly LOW: "low";
36
+ readonly MEDIUM: "medium";
37
+ readonly HIGH: "high";
38
+ };
39
+ export type LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = typeof LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum[keyof typeof LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum];
25
40
  /**
26
41
  * Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationInput interface.
27
42
  */
@@ -13,11 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = void 0;
16
17
  exports.instanceOfLeadPriceNegotiatorAiAgentConfigurationInput = instanceOfLeadPriceNegotiatorAiAgentConfigurationInput;
17
18
  exports.LeadPriceNegotiatorAiAgentConfigurationInputFromJSON = LeadPriceNegotiatorAiAgentConfigurationInputFromJSON;
18
19
  exports.LeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped = LeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped;
19
20
  exports.LeadPriceNegotiatorAiAgentConfigurationInputToJSON = LeadPriceNegotiatorAiAgentConfigurationInputToJSON;
20
21
  exports.LeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped = LeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LeadPriceNegotiatorAiAgentConfigurationInputSalesImportanceEnum = {
26
+ LOW: 'low',
27
+ MEDIUM: 'medium',
28
+ HIGH: 'high'
29
+ };
21
30
  /**
22
31
  * Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationInput interface.
23
32
  */
@@ -33,6 +42,7 @@ function LeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json, ignoreD
33
42
  }
34
43
  return {
35
44
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
45
+ 'salesImportance': json['salesImportance'] == null ? undefined : json['salesImportance'],
36
46
  };
37
47
  }
38
48
  function LeadPriceNegotiatorAiAgentConfigurationInputToJSON(json) {
@@ -45,5 +55,6 @@ function LeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(value, ignoreDi
45
55
  }
46
56
  return {
47
57
  'enabled': value['enabled'],
58
+ 'salesImportance': value['salesImportance'],
48
59
  };
49
60
  }
@@ -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
  }
@@ -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';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.254",
3
+ "version": "0.0.256",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -48,6 +48,7 @@ export interface DomainsPublicApiListRequest {
48
48
  limit?: number;
49
49
  sort?: Array<SortDto>;
50
50
  filter?: string;
51
+ search?: string;
51
52
  cursor?: string;
52
53
  }
53
54
 
@@ -119,6 +120,10 @@ export class DomainsPublicApi extends runtime.BaseAPI {
119
120
  queryParameters['filter'] = requestParameters['filter'];
120
121
  }
121
122
 
123
+ if (requestParameters['search'] != null) {
124
+ queryParameters['search'] = requestParameters['search'];
125
+ }
126
+
122
127
  if (requestParameters['cursor'] != null) {
123
128
  queryParameters['cursor'] = requestParameters['cursor'];
124
129
  }
@@ -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
 
@@ -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
 
@@ -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';