@randock/nameshift-api-client 0.0.273 → 0.0.275
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 +1 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +2 -2
- package/dist/apis/AdminApi.js +1 -1
- package/dist/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.d.ts +4 -3
- package/dist/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.js +4 -5
- package/dist/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel.d.ts +44 -0
- package/dist/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel.js +59 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +3 -3
- package/src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.ts +13 -7
- package/src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel.ts +84 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -228,6 +228,7 @@ src/models/SellerSecurityUserDto.ts
|
|
|
228
228
|
src/models/SellerSubscriptionListItemDto.ts
|
|
229
229
|
src/models/SellerSubscriptionListItemDtoDomainInformation.ts
|
|
230
230
|
src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.ts
|
|
231
|
+
src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel.ts
|
|
231
232
|
src/models/SeoMetricsDto.ts
|
|
232
233
|
src/models/SepaBankAccountDetails.ts
|
|
233
234
|
src/models/SetDomainTransferConfirmationInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.275
|
|
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.275 --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
|
+
d86f6a5d8ec95e3c01b8f8c7108b3ff7b97af70de7f295c83da567b99384990cb587d58913ddb2ab29d360da5d2d9cfd
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -307,11 +307,11 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
307
307
|
/**
|
|
308
308
|
*
|
|
309
309
|
*/
|
|
310
|
-
postAiPriceNegotiatorAgentChatMessageRaw(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadMessageDto
|
|
310
|
+
postAiPriceNegotiatorAgentChatMessageRaw(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<LeadMessageDto>>>;
|
|
311
311
|
/**
|
|
312
312
|
*
|
|
313
313
|
*/
|
|
314
|
-
postAiPriceNegotiatorAgentChatMessage(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadMessageDto
|
|
314
|
+
postAiPriceNegotiatorAgentChatMessage(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<LeadMessageDto>>;
|
|
315
315
|
/**
|
|
316
316
|
*
|
|
317
317
|
*/
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -1397,7 +1397,7 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
1397
1397
|
}, initOverrides)];
|
|
1398
1398
|
case 3:
|
|
1399
1399
|
response = _a.sent();
|
|
1400
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (
|
|
1400
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.LeadMessageDtoFromJSON); })];
|
|
1401
1401
|
}
|
|
1402
1402
|
});
|
|
1403
1403
|
});
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
import type { LeadMessageDto } from './LeadMessageDto';
|
|
14
|
+
import type { SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel } from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -19,10 +20,10 @@ import type { LeadMessageDto } from './LeadMessageDto';
|
|
|
19
20
|
export interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
|
|
20
21
|
/**
|
|
21
22
|
*
|
|
22
|
-
* @type {
|
|
23
|
+
* @type {SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel}
|
|
23
24
|
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
|
|
24
25
|
*/
|
|
25
|
-
aiModel:
|
|
26
|
+
aiModel: SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel;
|
|
26
27
|
/**
|
|
27
28
|
*
|
|
28
29
|
* @type {number}
|
|
@@ -88,7 +89,7 @@ export interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
|
|
|
88
89
|
* @type {string}
|
|
89
90
|
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
|
|
90
91
|
*/
|
|
91
|
-
buyerMessage
|
|
92
|
+
buyerMessage?: string;
|
|
92
93
|
}
|
|
93
94
|
/**
|
|
94
95
|
* @export
|
|
@@ -21,6 +21,7 @@ exports.SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON = SendAdminLea
|
|
|
21
21
|
exports.SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSONTyped = SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSONTyped;
|
|
22
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
23
|
var LeadMessageDto_1 = require("./LeadMessageDto");
|
|
24
|
+
var SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel_1 = require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel");
|
|
24
25
|
/**
|
|
25
26
|
* @export
|
|
26
27
|
*/
|
|
@@ -55,8 +56,6 @@ function instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInput(value) {
|
|
|
55
56
|
return false;
|
|
56
57
|
if (!('chatHistory' in value) || value['chatHistory'] === undefined)
|
|
57
58
|
return false;
|
|
58
|
-
if (!('buyerMessage' in value) || value['buyerMessage'] === undefined)
|
|
59
|
-
return false;
|
|
60
59
|
return true;
|
|
61
60
|
}
|
|
62
61
|
function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSON(json) {
|
|
@@ -67,7 +66,7 @@ function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSONTyped(json,
|
|
|
67
66
|
return json;
|
|
68
67
|
}
|
|
69
68
|
return {
|
|
70
|
-
'aiModel': json['aiModel'],
|
|
69
|
+
'aiModel': (0, SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel_1.SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSON)(json['aiModel']),
|
|
71
70
|
'aiModelTemperature': json['aiModelTemperature'],
|
|
72
71
|
'domainName': json['domainName'],
|
|
73
72
|
'locale': json['locale'],
|
|
@@ -78,7 +77,7 @@ function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSONTyped(json,
|
|
|
78
77
|
'sellImportanceMediumPrompt': json['sellImportanceMediumPrompt'],
|
|
79
78
|
'sellImportanceHighPrompt': json['sellImportanceHighPrompt'],
|
|
80
79
|
'chatHistory': (json['chatHistory'].map(LeadMessageDto_1.LeadMessageDtoFromJSON)),
|
|
81
|
-
'buyerMessage': json['buyerMessage'],
|
|
80
|
+
'buyerMessage': json['buyerMessage'] == null ? undefined : json['buyerMessage'],
|
|
82
81
|
};
|
|
83
82
|
}
|
|
84
83
|
function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON(json) {
|
|
@@ -90,7 +89,7 @@ function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSONTyped(value, i
|
|
|
90
89
|
return value;
|
|
91
90
|
}
|
|
92
91
|
return {
|
|
93
|
-
'aiModel': value['aiModel'],
|
|
92
|
+
'aiModel': (0, SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel_1.SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSON)(value['aiModel']),
|
|
94
93
|
'aiModelTemperature': value['aiModelTemperature'],
|
|
95
94
|
'domainName': value['domainName'],
|
|
96
95
|
'locale': value['locale'],
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel
|
|
16
|
+
*/
|
|
17
|
+
export interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel
|
|
22
|
+
*/
|
|
23
|
+
conversationAnalyzer: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel
|
|
28
|
+
*/
|
|
29
|
+
offerHandler: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel
|
|
34
|
+
*/
|
|
35
|
+
messageHandler: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel(value: object): value is SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel;
|
|
41
|
+
export declare function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSON(json: any): SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel;
|
|
42
|
+
export declare function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel;
|
|
43
|
+
export declare function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSON(json: any): SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel;
|
|
44
|
+
export declare function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSONTyped(value?: SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel = instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel;
|
|
17
|
+
exports.SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSON = SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSON;
|
|
18
|
+
exports.SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSONTyped = SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSONTyped;
|
|
19
|
+
exports.SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSON = SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSON;
|
|
20
|
+
exports.SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSONTyped = SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel(value) {
|
|
25
|
+
if (!('conversationAnalyzer' in value) || value['conversationAnalyzer'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('offerHandler' in value) || value['offerHandler'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('messageHandler' in value) || value['messageHandler'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSON(json) {
|
|
34
|
+
return SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'conversationAnalyzer': json['conversationAnalyzer'],
|
|
42
|
+
'offerHandler': json['offerHandler'],
|
|
43
|
+
'messageHandler': json['messageHandler'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSON(json) {
|
|
47
|
+
return SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'conversationAnalyzer': value['conversationAnalyzer'],
|
|
56
|
+
'offerHandler': value['offerHandler'],
|
|
57
|
+
'messageHandler': value['messageHandler'],
|
|
58
|
+
};
|
|
59
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -201,6 +201,7 @@ export * from './SellerSecurityUserDto';
|
|
|
201
201
|
export * from './SellerSubscriptionListItemDto';
|
|
202
202
|
export * from './SellerSubscriptionListItemDtoDomainInformation';
|
|
203
203
|
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInput';
|
|
204
|
+
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
|
|
204
205
|
export * from './SeoMetricsDto';
|
|
205
206
|
export * from './SepaBankAccountDetails';
|
|
206
207
|
export * from './SetDomainTransferConfirmationInput';
|
package/dist/models/index.js
CHANGED
|
@@ -219,6 +219,7 @@ __exportStar(require("./SellerSecurityUserDto"), exports);
|
|
|
219
219
|
__exportStar(require("./SellerSubscriptionListItemDto"), exports);
|
|
220
220
|
__exportStar(require("./SellerSubscriptionListItemDtoDomainInformation"), exports);
|
|
221
221
|
__exportStar(require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInput"), exports);
|
|
222
|
+
__exportStar(require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel"), exports);
|
|
222
223
|
__exportStar(require("./SeoMetricsDto"), exports);
|
|
223
224
|
__exportStar(require("./SepaBankAccountDetails"), exports);
|
|
224
225
|
__exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -1310,7 +1310,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1310
1310
|
/**
|
|
1311
1311
|
*
|
|
1312
1312
|
*/
|
|
1313
|
-
async postAiPriceNegotiatorAgentChatMessageRaw(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadMessageDto
|
|
1313
|
+
async postAiPriceNegotiatorAgentChatMessageRaw(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<LeadMessageDto>>> {
|
|
1314
1314
|
if (requestParameters['sendAdminLeadAiPriceNegotiatorAgentChatMessageInput'] == null) {
|
|
1315
1315
|
throw new runtime.RequiredError(
|
|
1316
1316
|
'sendAdminLeadAiPriceNegotiatorAgentChatMessageInput',
|
|
@@ -1340,13 +1340,13 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1340
1340
|
body: SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON(requestParameters['sendAdminLeadAiPriceNegotiatorAgentChatMessageInput']),
|
|
1341
1341
|
}, initOverrides);
|
|
1342
1342
|
|
|
1343
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => LeadMessageDtoFromJSON
|
|
1343
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(LeadMessageDtoFromJSON));
|
|
1344
1344
|
}
|
|
1345
1345
|
|
|
1346
1346
|
/**
|
|
1347
1347
|
*
|
|
1348
1348
|
*/
|
|
1349
|
-
async postAiPriceNegotiatorAgentChatMessage(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadMessageDto
|
|
1349
|
+
async postAiPriceNegotiatorAgentChatMessage(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<LeadMessageDto>> {
|
|
1350
1350
|
const response = await this.postAiPriceNegotiatorAgentChatMessageRaw(requestParameters, initOverrides);
|
|
1351
1351
|
return await response.value();
|
|
1352
1352
|
}
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
LeadMessageDtoToJSON,
|
|
28
28
|
LeadMessageDtoToJSONTyped,
|
|
29
29
|
} from './LeadMessageDto';
|
|
30
|
+
import type { SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel } from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
|
|
31
|
+
import {
|
|
32
|
+
SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSON,
|
|
33
|
+
SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSONTyped,
|
|
34
|
+
SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSON,
|
|
35
|
+
SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSONTyped,
|
|
36
|
+
} from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
|
|
30
37
|
|
|
31
38
|
/**
|
|
32
39
|
*
|
|
@@ -36,10 +43,10 @@ import {
|
|
|
36
43
|
export interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
|
-
* @type {
|
|
46
|
+
* @type {SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel}
|
|
40
47
|
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
|
|
41
48
|
*/
|
|
42
|
-
aiModel:
|
|
49
|
+
aiModel: SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel;
|
|
43
50
|
/**
|
|
44
51
|
*
|
|
45
52
|
* @type {number}
|
|
@@ -105,7 +112,7 @@ export interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
|
|
|
105
112
|
* @type {string}
|
|
106
113
|
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
|
|
107
114
|
*/
|
|
108
|
-
buyerMessage
|
|
115
|
+
buyerMessage?: string;
|
|
109
116
|
}
|
|
110
117
|
|
|
111
118
|
|
|
@@ -135,7 +142,6 @@ export function instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInput(va
|
|
|
135
142
|
if (!('sellImportanceMediumPrompt' in value) || value['sellImportanceMediumPrompt'] === undefined) return false;
|
|
136
143
|
if (!('sellImportanceHighPrompt' in value) || value['sellImportanceHighPrompt'] === undefined) return false;
|
|
137
144
|
if (!('chatHistory' in value) || value['chatHistory'] === undefined) return false;
|
|
138
|
-
if (!('buyerMessage' in value) || value['buyerMessage'] === undefined) return false;
|
|
139
145
|
return true;
|
|
140
146
|
}
|
|
141
147
|
|
|
@@ -149,7 +155,7 @@ export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSONTyped
|
|
|
149
155
|
}
|
|
150
156
|
return {
|
|
151
157
|
|
|
152
|
-
'aiModel': json['aiModel'],
|
|
158
|
+
'aiModel': SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSON(json['aiModel']),
|
|
153
159
|
'aiModelTemperature': json['aiModelTemperature'],
|
|
154
160
|
'domainName': json['domainName'],
|
|
155
161
|
'locale': json['locale'],
|
|
@@ -160,7 +166,7 @@ export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSONTyped
|
|
|
160
166
|
'sellImportanceMediumPrompt': json['sellImportanceMediumPrompt'],
|
|
161
167
|
'sellImportanceHighPrompt': json['sellImportanceHighPrompt'],
|
|
162
168
|
'chatHistory': ((json['chatHistory'] as Array<any>).map(LeadMessageDtoFromJSON)),
|
|
163
|
-
'buyerMessage': json['buyerMessage'],
|
|
169
|
+
'buyerMessage': json['buyerMessage'] == null ? undefined : json['buyerMessage'],
|
|
164
170
|
};
|
|
165
171
|
}
|
|
166
172
|
|
|
@@ -175,7 +181,7 @@ export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSONTyped(v
|
|
|
175
181
|
|
|
176
182
|
return {
|
|
177
183
|
|
|
178
|
-
'aiModel': value['aiModel'],
|
|
184
|
+
'aiModel': SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSON(value['aiModel']),
|
|
179
185
|
'aiModelTemperature': value['aiModelTemperature'],
|
|
180
186
|
'domainName': value['domainName'],
|
|
181
187
|
'locale': value['locale'],
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel
|
|
20
|
+
*/
|
|
21
|
+
export interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel
|
|
26
|
+
*/
|
|
27
|
+
conversationAnalyzer: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel
|
|
32
|
+
*/
|
|
33
|
+
offerHandler: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel
|
|
38
|
+
*/
|
|
39
|
+
messageHandler: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel(value: object): value is SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel {
|
|
46
|
+
if (!('conversationAnalyzer' in value) || value['conversationAnalyzer'] === undefined) return false;
|
|
47
|
+
if (!('offerHandler' in value) || value['offerHandler'] === undefined) return false;
|
|
48
|
+
if (!('messageHandler' in value) || value['messageHandler'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSON(json: any): SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel {
|
|
53
|
+
return SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'conversationAnalyzer': json['conversationAnalyzer'],
|
|
63
|
+
'offerHandler': json['offerHandler'],
|
|
64
|
+
'messageHandler': json['messageHandler'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSON(json: any): SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel {
|
|
69
|
+
return SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModelToJSONTyped(value?: SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'conversationAnalyzer': value['conversationAnalyzer'],
|
|
80
|
+
'offerHandler': value['offerHandler'],
|
|
81
|
+
'messageHandler': value['messageHandler'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -203,6 +203,7 @@ export * from './SellerSecurityUserDto';
|
|
|
203
203
|
export * from './SellerSubscriptionListItemDto';
|
|
204
204
|
export * from './SellerSubscriptionListItemDtoDomainInformation';
|
|
205
205
|
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInput';
|
|
206
|
+
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
|
|
206
207
|
export * from './SeoMetricsDto';
|
|
207
208
|
export * from './SepaBankAccountDetails';
|
|
208
209
|
export * from './SetDomainTransferConfirmationInput';
|