@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
package/.openapi-generator/FILES
CHANGED
|
@@ -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.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.257
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.257 --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
|
-
|
|
47
|
+
0546c915244c70e32db433260c3ebf0e44720a380db786268eca9c84ef400c855008349c2745dbfcc868bd2cad7f052e
|
|
@@ -13,6 +13,8 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { PublicSalesDto } from '../models/index';
|
|
14
14
|
export interface SalesPublicApiGetSalesRequest {
|
|
15
15
|
tlds?: Array<string>;
|
|
16
|
+
output?: GetSalesOutputEnum;
|
|
17
|
+
locale?: string;
|
|
16
18
|
}
|
|
17
19
|
/**
|
|
18
20
|
*
|
|
@@ -27,3 +29,11 @@ export declare class SalesPublicApi extends runtime.BaseAPI {
|
|
|
27
29
|
*/
|
|
28
30
|
getSales(requestParameters?: SalesPublicApiGetSalesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublicSalesDto>;
|
|
29
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const GetSalesOutputEnum: {
|
|
36
|
+
readonly JSON: "json";
|
|
37
|
+
readonly RSS: "rss";
|
|
38
|
+
};
|
|
39
|
+
export type GetSalesOutputEnum = typeof GetSalesOutputEnum[keyof typeof GetSalesOutputEnum];
|
|
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.SalesPublicApi = void 0;
|
|
67
|
+
exports.GetSalesOutputEnum = exports.SalesPublicApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
69
|
var index_1 = require("../models/index");
|
|
70
70
|
/**
|
|
@@ -88,6 +88,12 @@ var SalesPublicApi = /** @class */ (function (_super) {
|
|
|
88
88
|
if (requestParameters['tlds'] != null) {
|
|
89
89
|
queryParameters['tlds'] = requestParameters['tlds'];
|
|
90
90
|
}
|
|
91
|
+
if (requestParameters['output'] != null) {
|
|
92
|
+
queryParameters['output'] = requestParameters['output'];
|
|
93
|
+
}
|
|
94
|
+
if (requestParameters['locale'] != null) {
|
|
95
|
+
queryParameters['locale'] = requestParameters['locale'];
|
|
96
|
+
}
|
|
91
97
|
headerParameters = {};
|
|
92
98
|
return [4 /*yield*/, this.request({
|
|
93
99
|
path: "/sales",
|
|
@@ -123,3 +129,10 @@ var SalesPublicApi = /** @class */ (function (_super) {
|
|
|
123
129
|
return SalesPublicApi;
|
|
124
130
|
}(runtime.BaseAPI));
|
|
125
131
|
exports.SalesPublicApi = SalesPublicApi;
|
|
132
|
+
/**
|
|
133
|
+
* @export
|
|
134
|
+
*/
|
|
135
|
+
exports.GetSalesOutputEnum = {
|
|
136
|
+
JSON: 'json',
|
|
137
|
+
RSS: 'rss'
|
|
138
|
+
};
|
|
@@ -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.
|
package/dist/models/DomainDto.js
CHANGED
|
@@ -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
|
}
|
|
@@ -31,6 +31,8 @@ exports.PublicSaleDtoTypeEnum = {
|
|
|
31
31
|
* Check if a given object implements the PublicSaleDto interface.
|
|
32
32
|
*/
|
|
33
33
|
function instanceOfPublicSaleDto(value) {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
if (!('type' in value) || value['type'] === undefined)
|
|
35
37
|
return false;
|
|
36
38
|
if (!('name' in value) || value['name'] === undefined)
|
|
@@ -51,6 +53,7 @@ function PublicSaleDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
return json;
|
|
52
54
|
}
|
|
53
55
|
return {
|
|
56
|
+
'id': json['id'],
|
|
54
57
|
'type': json['type'],
|
|
55
58
|
'name': json['name'],
|
|
56
59
|
'price': json['price'],
|
|
@@ -67,6 +70,7 @@ function PublicSaleDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
67
70
|
return value;
|
|
68
71
|
}
|
|
69
72
|
return {
|
|
73
|
+
'id': value['id'],
|
|
70
74
|
'type': value['type'],
|
|
71
75
|
'name': value['name'],
|
|
72
76
|
'price': value['price'],
|