@randock/nameshift-api-client 0.0.273 → 0.0.274
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/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 +1 -1
- package/dist/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.js +1 -3
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +3 -3
- package/src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.ts +2 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.274
|
|
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.274 --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
|
+
03b09b2b4375dd2c580973ce8348741b59fbf58e1986b60af4ce8378f8a0b21e7d65b5f4ecdab4a0d525f4b8717e8a8a
|
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
|
});
|
|
@@ -55,8 +55,6 @@ function instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInput(value) {
|
|
|
55
55
|
return false;
|
|
56
56
|
if (!('chatHistory' in value) || value['chatHistory'] === undefined)
|
|
57
57
|
return false;
|
|
58
|
-
if (!('buyerMessage' in value) || value['buyerMessage'] === undefined)
|
|
59
|
-
return false;
|
|
60
58
|
return true;
|
|
61
59
|
}
|
|
62
60
|
function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSON(json) {
|
|
@@ -78,7 +76,7 @@ function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSONTyped(json,
|
|
|
78
76
|
'sellImportanceMediumPrompt': json['sellImportanceMediumPrompt'],
|
|
79
77
|
'sellImportanceHighPrompt': json['sellImportanceHighPrompt'],
|
|
80
78
|
'chatHistory': (json['chatHistory'].map(LeadMessageDto_1.LeadMessageDtoFromJSON)),
|
|
81
|
-
'buyerMessage': json['buyerMessage'],
|
|
79
|
+
'buyerMessage': json['buyerMessage'] == null ? undefined : json['buyerMessage'],
|
|
82
80
|
};
|
|
83
81
|
}
|
|
84
82
|
function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON(json) {
|
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
|
}
|
|
@@ -105,7 +105,7 @@ export interface SendAdminLeadAiPriceNegotiatorAgentChatMessageInput {
|
|
|
105
105
|
* @type {string}
|
|
106
106
|
* @memberof SendAdminLeadAiPriceNegotiatorAgentChatMessageInput
|
|
107
107
|
*/
|
|
108
|
-
buyerMessage
|
|
108
|
+
buyerMessage?: string;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
|
|
@@ -135,7 +135,6 @@ export function instanceOfSendAdminLeadAiPriceNegotiatorAgentChatMessageInput(va
|
|
|
135
135
|
if (!('sellImportanceMediumPrompt' in value) || value['sellImportanceMediumPrompt'] === undefined) return false;
|
|
136
136
|
if (!('sellImportanceHighPrompt' in value) || value['sellImportanceHighPrompt'] === undefined) return false;
|
|
137
137
|
if (!('chatHistory' in value) || value['chatHistory'] === undefined) return false;
|
|
138
|
-
if (!('buyerMessage' in value) || value['buyerMessage'] === undefined) return false;
|
|
139
138
|
return true;
|
|
140
139
|
}
|
|
141
140
|
|
|
@@ -160,7 +159,7 @@ export function SendAdminLeadAiPriceNegotiatorAgentChatMessageInputFromJSONTyped
|
|
|
160
159
|
'sellImportanceMediumPrompt': json['sellImportanceMediumPrompt'],
|
|
161
160
|
'sellImportanceHighPrompt': json['sellImportanceHighPrompt'],
|
|
162
161
|
'chatHistory': ((json['chatHistory'] as Array<any>).map(LeadMessageDtoFromJSON)),
|
|
163
|
-
'buyerMessage': json['buyerMessage'],
|
|
162
|
+
'buyerMessage': json['buyerMessage'] == null ? undefined : json['buyerMessage'],
|
|
164
163
|
};
|
|
165
164
|
}
|
|
166
165
|
|