@wildix/xbees-users-client 4.0.3 → 4.0.4
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/dist-cjs/models/enums.js +11 -1
- package/dist-cjs/schemas/schemas_0.js +4 -2
- package/dist-es/models/enums.js +10 -0
- package/dist-es/schemas/schemas_0.js +4 -2
- package/dist-types/commands/CreateBotCommand.d.ts +3 -0
- package/dist-types/commands/GetBotCallbackCommand.d.ts +3 -0
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +6 -0
- package/dist-types/models/enums.d.ts +26 -0
- package/dist-types/models/models_0.d.ts +16 -1
- package/package.json +1 -1
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkspaceType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = void 0;
|
|
3
|
+
exports.WorkspaceType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.SearchThresholdValue = exports.SearchStrategy = exports.PbxLicenseType = void 0;
|
|
4
4
|
exports.PbxLicenseType = {
|
|
5
5
|
BASIC: "basic",
|
|
6
6
|
BUSINESS: "business",
|
|
@@ -8,6 +8,16 @@ exports.PbxLicenseType = {
|
|
|
8
8
|
PREMIUM: "premium",
|
|
9
9
|
WIZYCONF: "wizyconf",
|
|
10
10
|
};
|
|
11
|
+
exports.SearchStrategy = {
|
|
12
|
+
BM25: "bm25",
|
|
13
|
+
HYBRID: "hybrid",
|
|
14
|
+
VECTOR: "vector",
|
|
15
|
+
};
|
|
16
|
+
exports.SearchThresholdValue = {
|
|
17
|
+
HIGH: "high",
|
|
18
|
+
LOW: "low",
|
|
19
|
+
MEDIUM: "medium",
|
|
20
|
+
};
|
|
11
21
|
exports.PbxColleagueRole = {
|
|
12
22
|
ADMIN: "admin",
|
|
13
23
|
FAX: "fax",
|
|
@@ -369,8 +369,10 @@ const _sE = "syntheticEmail";
|
|
|
369
369
|
const _sF = "searchFields";
|
|
370
370
|
const _sI = "sourceId";
|
|
371
371
|
const _sIk = "skippedInvitees";
|
|
372
|
+
const _sL = "searchLimit";
|
|
372
373
|
const _sP = "sipPassword";
|
|
373
374
|
const _sS = "searchStrategy";
|
|
375
|
+
const _sT = "searchThreshold";
|
|
374
376
|
const _sU = "streamUser";
|
|
375
377
|
const _sc = "scope";
|
|
376
378
|
const _se = "searchable";
|
|
@@ -633,8 +635,8 @@ exports.BotDialogflowCxEndpoint$ = [3, n3, _BDCE,
|
|
|
633
635
|
];
|
|
634
636
|
exports.BotKnowledgeBase$ = [3, n3, _BKB,
|
|
635
637
|
0,
|
|
636
|
-
[_kBI, _in, _an],
|
|
637
|
-
[0, 0, () => BotToolAnnotationsList]
|
|
638
|
+
[_kBI, _in, _sS, _sT, _sL, _an],
|
|
639
|
+
[0, 0, 0, 0, 1, () => BotToolAnnotationsList]
|
|
638
640
|
];
|
|
639
641
|
exports.BotLlmEmbeddedTool$ = [3, n3, _BLET,
|
|
640
642
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -5,6 +5,16 @@ export const PbxLicenseType = {
|
|
|
5
5
|
PREMIUM: "premium",
|
|
6
6
|
WIZYCONF: "wizyconf",
|
|
7
7
|
};
|
|
8
|
+
export const SearchStrategy = {
|
|
9
|
+
BM25: "bm25",
|
|
10
|
+
HYBRID: "hybrid",
|
|
11
|
+
VECTOR: "vector",
|
|
12
|
+
};
|
|
13
|
+
export const SearchThresholdValue = {
|
|
14
|
+
HIGH: "high",
|
|
15
|
+
LOW: "low",
|
|
16
|
+
MEDIUM: "medium",
|
|
17
|
+
};
|
|
8
18
|
export const PbxColleagueRole = {
|
|
9
19
|
ADMIN: "admin",
|
|
10
20
|
FAX: "fax",
|
|
@@ -362,8 +362,10 @@ const _sE = "syntheticEmail";
|
|
|
362
362
|
const _sF = "searchFields";
|
|
363
363
|
const _sI = "sourceId";
|
|
364
364
|
const _sIk = "skippedInvitees";
|
|
365
|
+
const _sL = "searchLimit";
|
|
365
366
|
const _sP = "sipPassword";
|
|
366
367
|
const _sS = "searchStrategy";
|
|
368
|
+
const _sT = "searchThreshold";
|
|
367
369
|
const _sU = "streamUser";
|
|
368
370
|
const _sc = "scope";
|
|
369
371
|
const _se = "searchable";
|
|
@@ -626,8 +628,8 @@ export var BotDialogflowCxEndpoint$ = [3, n3, _BDCE,
|
|
|
626
628
|
];
|
|
627
629
|
export var BotKnowledgeBase$ = [3, n3, _BKB,
|
|
628
630
|
0,
|
|
629
|
-
[_kBI, _in, _an],
|
|
630
|
-
[0, 0, () => BotToolAnnotationsList]
|
|
631
|
+
[_kBI, _in, _sS, _sT, _sL, _an],
|
|
632
|
+
[0, 0, 0, 0, 1, () => BotToolAnnotationsList]
|
|
631
633
|
];
|
|
632
634
|
export var BotLlmEmbeddedTool$ = [3, n3, _BLET,
|
|
633
635
|
0,
|
|
@@ -173,6 +173,9 @@ declare const CreateBotCommand_base: {
|
|
|
173
173
|
* kb: { // BotKnowledgeBase
|
|
174
174
|
* knowledgeBaseId: "STRING_VALUE",
|
|
175
175
|
* instructions: "STRING_VALUE",
|
|
176
|
+
* searchStrategy: "bm25" || "vector" || "hybrid",
|
|
177
|
+
* searchThreshold: "low" || "medium" || "high",
|
|
178
|
+
* searchLimit: Number("int"),
|
|
176
179
|
* annotations: [
|
|
177
180
|
* {// Union: only one key present
|
|
178
181
|
* tag: {
|
|
@@ -172,6 +172,9 @@ declare const GetBotCallbackCommand_base: {
|
|
|
172
172
|
* // kb: { // BotKnowledgeBase
|
|
173
173
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
174
174
|
* // instructions: "STRING_VALUE",
|
|
175
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
176
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
177
|
+
* // searchLimit: Number("int"),
|
|
175
178
|
* // annotations: [
|
|
176
179
|
* // {// Union: only one key present
|
|
177
180
|
* // tag: {
|
|
@@ -168,6 +168,9 @@ declare const UpdateBotCallbackCommand_base: {
|
|
|
168
168
|
* kb: { // BotKnowledgeBase
|
|
169
169
|
* knowledgeBaseId: "STRING_VALUE",
|
|
170
170
|
* instructions: "STRING_VALUE",
|
|
171
|
+
* searchStrategy: "bm25" || "vector" || "hybrid",
|
|
172
|
+
* searchThreshold: "low" || "medium" || "high",
|
|
173
|
+
* searchLimit: Number("int"),
|
|
171
174
|
* annotations: [
|
|
172
175
|
* {// Union: only one key present
|
|
173
176
|
* tag: {
|
|
@@ -342,6 +345,9 @@ declare const UpdateBotCallbackCommand_base: {
|
|
|
342
345
|
* // kb: { // BotKnowledgeBase
|
|
343
346
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
344
347
|
* // instructions: "STRING_VALUE",
|
|
348
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
349
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
350
|
+
* // searchLimit: Number("int"),
|
|
345
351
|
* // annotations: [
|
|
346
352
|
* // {// Union: only one key present
|
|
347
353
|
* // tag: {
|
|
@@ -13,6 +13,32 @@ export declare const PbxLicenseType: {
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
export type PbxLicenseType = (typeof PbxLicenseType)[keyof typeof PbxLicenseType];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @enum
|
|
19
|
+
*/
|
|
20
|
+
export declare const SearchStrategy: {
|
|
21
|
+
readonly BM25: "bm25";
|
|
22
|
+
readonly HYBRID: "hybrid";
|
|
23
|
+
readonly VECTOR: "vector";
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type SearchStrategy = (typeof SearchStrategy)[keyof typeof SearchStrategy];
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* @enum
|
|
32
|
+
*/
|
|
33
|
+
export declare const SearchThresholdValue: {
|
|
34
|
+
readonly HIGH: "high";
|
|
35
|
+
readonly LOW: "low";
|
|
36
|
+
readonly MEDIUM: "medium";
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type SearchThresholdValue = (typeof SearchThresholdValue)[keyof typeof SearchThresholdValue];
|
|
16
42
|
/**
|
|
17
43
|
* @public
|
|
18
44
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, WorkspaceType } from "./enums";
|
|
2
|
+
import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -705,6 +705,21 @@ export interface BotKnowledgeBase {
|
|
|
705
705
|
* @public
|
|
706
706
|
*/
|
|
707
707
|
instructions?: string | undefined;
|
|
708
|
+
/**
|
|
709
|
+
* Search algorithm strategy used for this knowledge base capability.
|
|
710
|
+
* @public
|
|
711
|
+
*/
|
|
712
|
+
searchStrategy?: SearchStrategy | undefined;
|
|
713
|
+
/**
|
|
714
|
+
* Minimum similarity threshold used for this knowledge base capability.
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
717
|
+
searchThreshold?: SearchThresholdValue | undefined;
|
|
718
|
+
/**
|
|
719
|
+
* Maximum number of search results returned by this knowledge base capability.
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
searchLimit?: number | undefined;
|
|
708
723
|
annotations?: BotToolAnnotation[] | undefined;
|
|
709
724
|
}
|
|
710
725
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-users-client",
|
|
3
3
|
"description": "@wildix/xbees-users-client client",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.4",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|