@squiz/dxp-ai-client
Advanced tools
Comparing version
# @squiz/dxp-ai-client | ||
## 1.2.0 | ||
### Minor Changes | ||
- e3a5c91: Added new optional Search parameters in the create and patch ChatBot APIs | ||
## 1.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -11,3 +11,3 @@ export type AiAuthType = 'none' | 'dxp'; | ||
export type AiTypeGenerative = 'generative'; | ||
export type AiWrite = PickAiAuthTypeOrInstructionOrResponseTemplateOrNameOrTypeOrEnabled & { | ||
export type AiWrite = PickAiAuthTypeOrInstructionOrResponseTemplateOrNameOrTypeOrEnabledOrSearch & { | ||
tags?: string[]; | ||
@@ -284,2 +284,7 @@ }; | ||
responseTemplate?: string; | ||
search?: { | ||
packageName: string; | ||
resultsPageName: string; | ||
url: string; | ||
}; | ||
tags?: string[]; | ||
@@ -294,2 +299,7 @@ type?: AiTypeChatbot; | ||
responseTemplate?: string; | ||
search?: { | ||
packageName: string; | ||
resultsPageName: string; | ||
url: string; | ||
}; | ||
tags?: string[]; | ||
@@ -308,3 +318,3 @@ type?: AiTypeGenerative; | ||
}; | ||
export interface PickAiAuthTypeOrInstructionOrResponseTemplateOrNameOrTypeOrEnabled { | ||
export interface PickAiAuthTypeOrInstructionOrResponseTemplateOrNameOrTypeOrEnabledOrSearch { | ||
authType: AiAuthType; | ||
@@ -315,2 +325,7 @@ enabled: boolean; | ||
responseTemplate: string; | ||
search?: { | ||
packageName: string; | ||
resultsPageName: string; | ||
url: string; | ||
}; | ||
type: AiType; | ||
@@ -325,2 +340,7 @@ } | ||
responseTemplate: string; | ||
search?: { | ||
packageName: string; | ||
resultsPageName: string; | ||
url: string; | ||
}; | ||
tags: string[]; | ||
@@ -327,0 +347,0 @@ type: AiType; |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Exposes the DXP AI service as a package for consumers", | ||
@@ -21,3 +21,3 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@squiz/ai-service": "1.35.0", | ||
"@squiz/ai-service": "1.36.0", | ||
"jest": "^29.7.0", | ||
@@ -24,0 +24,0 @@ "swagger-typescript-api": "^13.0.22", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
295535
0.37%2528
0.8%