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.17.0 to 0.18.0

6

CHANGELOG.md
# @squiz/dxp-ai-client
## 0.18.0
### Minor Changes
- e082981: chatbot messages endpoint
## 0.17.0

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

33

dist/generated/DxpAiService.d.ts

@@ -83,5 +83,13 @@ export type AiAuthType = 'none' | 'dxp';

pageSize?: PaginationPageLimit;
sortDirection?: SortDirectionEnum4;
}
export type GetAllGenerativeThreadsParams1SortDirectionEnum = 'asc' | 'desc';
export interface GetChatBotThreadMessagesParams {
aiId: string;
cursor?: number;
pageSize?: PaginationPageLimit;
sortDirection?: SortDirectionEnum3;
threadId: string;
}
export type GetAllGenerativeThreadsParams1SortDirectionEnum = 'asc' | 'desc';
export type GetChatBotThreadMessagesParams1SortDirectionEnum = 'asc' | 'desc';
export interface JSONSchema7 {

@@ -207,2 +215,9 @@ $comment?: string;

}
export interface PageResultMessage {
items: Message[];
links?: {
nextPage?: string;
prevPage?: string;
};
}
export interface PageResultPersistedContextItem {

@@ -328,2 +343,3 @@ items: PersistedContextItem[];

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

@@ -389,2 +405,16 @@ aiId: string;

}
namespace GetChatBotThreadMessages {
type RequestParams = {
aiId: string;
threadId: string;
};
type RequestQuery = {
cursor?: number;
pageSize?: PaginationPageLimit;
sortDirection?: GetChatBotThreadMessagesParams1SortDirectionEnum;
};
type RequestBody = never;
type RequestHeaders = {};
type ResponseBody = PageResultMessage;
}
namespace List {

@@ -706,2 +736,3 @@ type RequestParams = {};

getAllChatBotThreads: ({ aiId, ...query }: GetAllChatBotThreadsParams, params?: RequestParams) => Promise<PageResultThread>;
getChatBotThreadMessages: ({ aiId, threadId, ...query }: GetChatBotThreadMessagesParams, params?: RequestParams) => Promise<PageResultMessage>;
list: (query: ListParams, params?: RequestParams) => Promise<PageResultAiResponse>;

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

4

package.json

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

"private": false,
"version": "0.17.0",
"version": "0.18.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.11.0"
"@squiz/ai-service": "1.12.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