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
49
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.12.0 to 0.13.0

6

CHANGELOG.md
# @squiz/dxp-ai-client
## 0.13.0
### Minor Changes
- 0ce3fb7: expose chatbot getAllThreads
## 0.12.0

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

30

dist/generated/DxpAiService.d.ts

@@ -59,3 +59,3 @@ export type AiAuthType = 'none' | 'dxp';

};
export interface GetAllGenerativeThreadsParams {
export interface GetAllChatBotThreadsParams {
aiId: string;

@@ -69,2 +69,12 @@ cursor?: number;

}
export type GetAllChatBotThreadsParams1SortDirectionEnum = 'asc' | 'desc';
export interface GetAllGenerativeThreadsParams {
aiId: string;
cursor?: number;
filterByDateFrom?: string;
filterByDateTo?: string;
filterByRating?: ThreadRatingParameter;
pageSize?: PaginationPageLimit;
sortDirection?: SortDirectionEnum3;
}
export type GetAllGenerativeThreadsParams1SortDirectionEnum = 'asc' | 'desc';

@@ -316,2 +326,3 @@ export interface GetExecutionOutputsResponse {

export type SortDirectionEnum2 = 'asc' | 'desc';
export type SortDirectionEnum3 = 'asc' | 'desc';
export interface Thread {

@@ -361,2 +372,18 @@ aiId: string;

}
namespace GetAllChatBotThreads {
type RequestParams = {
aiId: string;
};
type RequestQuery = {
cursor?: number;
filterByDateFrom?: string;
filterByDateTo?: string;
filterByRating?: ThreadRatingParameter;
pageSize?: PaginationPageLimit;
sortDirection?: GetAllChatBotThreadsParams1SortDirectionEnum;
};
type RequestBody = never;
type RequestHeaders = {};
type ResponseBody = PageResultThread;
}
namespace List {

@@ -652,2 +679,3 @@ type RequestParams = {};

get: (id: string, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;
getAllChatBotThreads: ({ aiId, ...query }: GetAllChatBotThreadsParams, params?: RequestParams) => Promise<PageResultThread>;
list: (query: ListParams, params?: RequestParams) => Promise<PageResultAiResponse>;

@@ -654,0 +682,0 @@ set: (id: string, data: ChatBotWrite, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;

2

package.json

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

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

@@ -8,0 +8,0 @@ "main": "dist/index.js",

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