Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@squiz/dxp-ai-client

Package Overview
Dependencies
Maintainers
50
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squiz/dxp-ai-client - npm Package Compare versions

Comparing version 0.19.0 to 0.20.0

6

CHANGELOG.md
# @squiz/dxp-ai-client
## 0.20.0
### Minor Changes
- 918135e: Added endpoint for rating a chatbot thread.
## 0.19.0

@@ -4,0 +10,0 @@

18

dist/generated/DxpAiService.d.ts

@@ -334,2 +334,5 @@ export type AiAuthType = 'none' | 'dxp';

}
export interface RateBody {
rating: ThreadRating;
}
export interface RatePayload {

@@ -432,2 +435,12 @@ rating: ThreadRating;

}
namespace Rate {
type RequestParams = {
aiId: string;
threadId: string;
};
type RequestQuery = {};
type RequestBody = RatePayload;
type RequestHeaders = {};
type ResponseBody = Thread;
}
namespace Set {

@@ -655,3 +668,3 @@ type RequestParams = {

type RequestQuery = {};
type RequestBody = RatePayload;
type RequestBody = RateBody;
type RequestHeaders = {};

@@ -739,2 +752,3 @@ type ResponseBody = Thread;

list: (query: ListParams, params?: RequestParams) => Promise<PageResultAiResponse>;
rate: (aiId: string, threadId: string, data: RatePayload, params?: RequestParams) => Promise<Thread>;
set: (id: string, data: ChatBotWrite, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;

@@ -767,3 +781,3 @@ update: (id: string, data: ChatBotPatch, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;

list: (query: ListParams6, params?: RequestParams) => Promise<PageResultAiResponse>;
rate: (aiId: string, threadId: string, data: RatePayload, params?: RequestParams) => Promise<Thread>;
rate: (aiId: string, threadId: string, data: RateBody, params?: RequestParams) => Promise<Thread>;
set: (id: string, data: GenerativeWrite, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;

@@ -770,0 +784,0 @@ update: (id: string, data: GenerativePatch, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;

4

package.json

@@ -5,3 +5,3 @@ {

"private": false,
"version": "0.19.0",
"version": "0.20.0",
"description": "Exposes the DXP AI service as a package for consumers",

@@ -21,5 +21,5 @@ "main": "dist/index.js",

"jest": "^29.7.0",
"@squiz/ai-service": "1.13.0"
"@squiz/ai-service": "1.14.0"
},
"dependencies": {}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc