@wildix/xbees-users-client 4.0.5 → 4.0.6
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 +8 -1
- package/dist-cjs/schemas/schemas_0.js +7 -6
- package/dist-es/models/enums.js +7 -0
- package/dist-es/schemas/schemas_0.js +7 -6
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +1 -0
- package/dist-types/commands/CreateBotCommand.d.ts +2 -0
- package/dist-types/commands/GetBotCommand.d.ts +1 -0
- package/dist-types/commands/ListBotsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateBotCommand.d.ts +2 -0
- package/dist-types/models/enums.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +16 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +2 -2
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.SearchThresholdValue = exports.SearchStrategy = 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.BotSessionTimeoutMinutes = exports.PbxLicenseType = void 0;
|
|
4
4
|
exports.PbxLicenseType = {
|
|
5
5
|
BASIC: "basic",
|
|
6
6
|
BUSINESS: "business",
|
|
@@ -8,6 +8,13 @@ exports.PbxLicenseType = {
|
|
|
8
8
|
PREMIUM: "premium",
|
|
9
9
|
WIZYCONF: "wizyconf",
|
|
10
10
|
};
|
|
11
|
+
var BotSessionTimeoutMinutes;
|
|
12
|
+
(function (BotSessionTimeoutMinutes) {
|
|
13
|
+
BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["MINUTES_15"] = 15] = "MINUTES_15";
|
|
14
|
+
BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["MINUTES_30"] = 30] = "MINUTES_30";
|
|
15
|
+
BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["HOUR_1"] = 60] = "HOUR_1";
|
|
16
|
+
BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["HOURS_2"] = 120] = "HOURS_2";
|
|
17
|
+
})(BotSessionTimeoutMinutes || (exports.BotSessionTimeoutMinutes = BotSessionTimeoutMinutes = {}));
|
|
11
18
|
exports.SearchStrategy = {
|
|
12
19
|
BM25: "bm25",
|
|
13
20
|
HYBRID: "hybrid",
|
|
@@ -373,6 +373,7 @@ const _sL = "searchLimit";
|
|
|
373
373
|
const _sP = "sipPassword";
|
|
374
374
|
const _sS = "searchStrategy";
|
|
375
375
|
const _sT = "searchThreshold";
|
|
376
|
+
const _sTM = "sessionTimeoutMinutes";
|
|
376
377
|
const _sU = "streamUser";
|
|
377
378
|
const _sc = "scope";
|
|
378
379
|
const _se = "searchable";
|
|
@@ -605,8 +606,8 @@ exports.BatchGetUsersPbxLinkDataV1Output$ = [3, n3, _BGUPLDVO,
|
|
|
605
606
|
];
|
|
606
607
|
exports.Bot$ = [3, n3, _B,
|
|
607
608
|
0,
|
|
608
|
-
[_n, _i, _iT, _iAKC, _cA, _ca, _pi, _se, _a, _gI, _up],
|
|
609
|
-
[0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0], 5
|
|
609
|
+
[_n, _i, _iT, _iAKC, _cA, _ca, _pi, _se, _a, _gI, _sTM, _up],
|
|
610
|
+
[0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 1, 0], 5
|
|
610
611
|
];
|
|
611
612
|
exports.BotApiKey$ = [3, n3, _BAK,
|
|
612
613
|
0,
|
|
@@ -770,8 +771,8 @@ exports.CreateBotApiKeyOutput$ = [3, n3, _CBAKO,
|
|
|
770
771
|
];
|
|
771
772
|
exports.CreateBotInput$ = [3, n3, _CBI,
|
|
772
773
|
0,
|
|
773
|
-
[_n, _cal, _ca, _pi, _se, _a, _gI, _co],
|
|
774
|
-
[0, () => exports.BotCallback$, 0, 0, 2, 0, 0, [0, { [_hQ]: _co }]], 2
|
|
774
|
+
[_n, _cal, _ca, _pi, _se, _a, _gI, _sTM, _co],
|
|
775
|
+
[0, () => exports.BotCallback$, 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
|
|
775
776
|
];
|
|
776
777
|
exports.CreateBotOutput$ = [3, n3, _CBO,
|
|
777
778
|
0,
|
|
@@ -1100,8 +1101,8 @@ exports.UpdateBotCallbackOutput$ = [3, n3, _UBCO,
|
|
|
1100
1101
|
];
|
|
1101
1102
|
exports.UpdateBotInput$ = [3, n3, _UBI,
|
|
1102
1103
|
0,
|
|
1103
|
-
[_n, _bI, _ca, _pi, _se, _a, _gI, _co],
|
|
1104
|
-
[0, [0, 1], 0, 0, 2, 0, 0, [0, { [_hQ]: _co }]], 2
|
|
1104
|
+
[_n, _bI, _ca, _pi, _se, _a, _gI, _sTM, _co],
|
|
1105
|
+
[0, [0, 1], 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
|
|
1105
1106
|
];
|
|
1106
1107
|
exports.UpdateBotOutput$ = [3, n3, _UBO,
|
|
1107
1108
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -5,6 +5,13 @@ export const PbxLicenseType = {
|
|
|
5
5
|
PREMIUM: "premium",
|
|
6
6
|
WIZYCONF: "wizyconf",
|
|
7
7
|
};
|
|
8
|
+
export var BotSessionTimeoutMinutes;
|
|
9
|
+
(function (BotSessionTimeoutMinutes) {
|
|
10
|
+
BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["MINUTES_15"] = 15] = "MINUTES_15";
|
|
11
|
+
BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["MINUTES_30"] = 30] = "MINUTES_30";
|
|
12
|
+
BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["HOUR_1"] = 60] = "HOUR_1";
|
|
13
|
+
BotSessionTimeoutMinutes[BotSessionTimeoutMinutes["HOURS_2"] = 120] = "HOURS_2";
|
|
14
|
+
})(BotSessionTimeoutMinutes || (BotSessionTimeoutMinutes = {}));
|
|
8
15
|
export const SearchStrategy = {
|
|
9
16
|
BM25: "bm25",
|
|
10
17
|
HYBRID: "hybrid",
|
|
@@ -366,6 +366,7 @@ const _sL = "searchLimit";
|
|
|
366
366
|
const _sP = "sipPassword";
|
|
367
367
|
const _sS = "searchStrategy";
|
|
368
368
|
const _sT = "searchThreshold";
|
|
369
|
+
const _sTM = "sessionTimeoutMinutes";
|
|
369
370
|
const _sU = "streamUser";
|
|
370
371
|
const _sc = "scope";
|
|
371
372
|
const _se = "searchable";
|
|
@@ -598,8 +599,8 @@ export var BatchGetUsersPbxLinkDataV1Output$ = [3, n3, _BGUPLDVO,
|
|
|
598
599
|
];
|
|
599
600
|
export var Bot$ = [3, n3, _B,
|
|
600
601
|
0,
|
|
601
|
-
[_n, _i, _iT, _iAKC, _cA, _ca, _pi, _se, _a, _gI, _up],
|
|
602
|
-
[0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0], 5
|
|
602
|
+
[_n, _i, _iT, _iAKC, _cA, _ca, _pi, _se, _a, _gI, _sTM, _up],
|
|
603
|
+
[0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 1, 0], 5
|
|
603
604
|
];
|
|
604
605
|
export var BotApiKey$ = [3, n3, _BAK,
|
|
605
606
|
0,
|
|
@@ -763,8 +764,8 @@ export var CreateBotApiKeyOutput$ = [3, n3, _CBAKO,
|
|
|
763
764
|
];
|
|
764
765
|
export var CreateBotInput$ = [3, n3, _CBI,
|
|
765
766
|
0,
|
|
766
|
-
[_n, _cal, _ca, _pi, _se, _a, _gI, _co],
|
|
767
|
-
[0, () => BotCallback$, 0, 0, 2, 0, 0, [0, { [_hQ]: _co }]], 2
|
|
767
|
+
[_n, _cal, _ca, _pi, _se, _a, _gI, _sTM, _co],
|
|
768
|
+
[0, () => BotCallback$, 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
|
|
768
769
|
];
|
|
769
770
|
export var CreateBotOutput$ = [3, n3, _CBO,
|
|
770
771
|
0,
|
|
@@ -1093,8 +1094,8 @@ export var UpdateBotCallbackOutput$ = [3, n3, _UBCO,
|
|
|
1093
1094
|
];
|
|
1094
1095
|
export var UpdateBotInput$ = [3, n3, _UBI,
|
|
1095
1096
|
0,
|
|
1096
|
-
[_n, _bI, _ca, _pi, _se, _a, _gI, _co],
|
|
1097
|
-
[0, [0, 1], 0, 0, 2, 0, 0, [0, { [_hQ]: _co }]], 2
|
|
1097
|
+
[_n, _bI, _ca, _pi, _se, _a, _gI, _sTM, _co],
|
|
1098
|
+
[0, [0, 1], 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
|
|
1098
1099
|
];
|
|
1099
1100
|
export var UpdateBotOutput$ = [3, n3, _UBO,
|
|
1100
1101
|
0,
|
|
@@ -51,6 +51,7 @@ declare const CreateBotApiKeyCommand_base: {
|
|
|
51
51
|
* // searchable: true || false,
|
|
52
52
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
53
53
|
* // groupId: "STRING_VALUE",
|
|
54
|
+
* // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
|
|
54
55
|
* // id: "STRING_VALUE", // required
|
|
55
56
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
56
57
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -43,6 +43,7 @@ declare const CreateBotCommand_base: {
|
|
|
43
43
|
* searchable: true || false,
|
|
44
44
|
* access: "EVERYBODY" || "ORGANIZATION",
|
|
45
45
|
* groupId: "STRING_VALUE",
|
|
46
|
+
* sessionTimeoutMinutes: 15 || 30 || 60 || 120,
|
|
46
47
|
* company: "STRING_VALUE",
|
|
47
48
|
* callback: { // BotCallback
|
|
48
49
|
* endpoint: { // BotEndpoint Union: only one key present
|
|
@@ -228,6 +229,7 @@ declare const CreateBotCommand_base: {
|
|
|
228
229
|
* // searchable: true || false,
|
|
229
230
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
230
231
|
* // groupId: "STRING_VALUE",
|
|
232
|
+
* // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
|
|
231
233
|
* // id: "STRING_VALUE", // required
|
|
232
234
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
233
235
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -50,6 +50,7 @@ declare const GetBotCommand_base: {
|
|
|
50
50
|
* // searchable: true || false,
|
|
51
51
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
52
52
|
* // groupId: "STRING_VALUE",
|
|
53
|
+
* // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
|
|
53
54
|
* // id: "STRING_VALUE", // required
|
|
54
55
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
55
56
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -50,6 +50,7 @@ declare const ListBotsCommand_base: {
|
|
|
50
50
|
* // searchable: true || false,
|
|
51
51
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
52
52
|
* // groupId: "STRING_VALUE",
|
|
53
|
+
* // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
|
|
53
54
|
* // id: "STRING_VALUE", // required
|
|
54
55
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
55
56
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -43,6 +43,7 @@ declare const UpdateBotCommand_base: {
|
|
|
43
43
|
* searchable: true || false,
|
|
44
44
|
* access: "EVERYBODY" || "ORGANIZATION",
|
|
45
45
|
* groupId: "STRING_VALUE",
|
|
46
|
+
* sessionTimeoutMinutes: 15 || 30 || 60 || 120,
|
|
46
47
|
* company: "STRING_VALUE",
|
|
47
48
|
* botId: "STRING_VALUE", // required
|
|
48
49
|
* };
|
|
@@ -56,6 +57,7 @@ declare const UpdateBotCommand_base: {
|
|
|
56
57
|
* // searchable: true || false,
|
|
57
58
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
58
59
|
* // groupId: "STRING_VALUE",
|
|
60
|
+
* // sessionTimeoutMinutes: 15 || 30 || 60 || 120,
|
|
59
61
|
* // id: "STRING_VALUE", // required
|
|
60
62
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
61
63
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -13,6 +13,12 @@ export declare const PbxLicenseType: {
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
export type PbxLicenseType = (typeof PbxLicenseType)[keyof typeof PbxLicenseType];
|
|
16
|
+
export declare enum BotSessionTimeoutMinutes {
|
|
17
|
+
MINUTES_15 = 15,
|
|
18
|
+
MINUTES_30 = 30,
|
|
19
|
+
HOUR_1 = 60,
|
|
20
|
+
HOURS_2 = 120
|
|
21
|
+
}
|
|
16
22
|
/**
|
|
17
23
|
* @public
|
|
18
24
|
* @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, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
|
|
2
|
+
import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, BotSessionTimeoutMinutes, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -552,6 +552,11 @@ export interface Bot {
|
|
|
552
552
|
* @public
|
|
553
553
|
*/
|
|
554
554
|
groupId?: string | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* Closes the chat session after this many minutes of inactivity. When omitted, the session closes at the end of the local day.
|
|
557
|
+
* @public
|
|
558
|
+
*/
|
|
559
|
+
sessionTimeoutMinutes?: BotSessionTimeoutMinutes | undefined;
|
|
555
560
|
id: string;
|
|
556
561
|
integrationType: BotIntegrationType;
|
|
557
562
|
integrationApiKeysCount: number;
|
|
@@ -1206,6 +1211,11 @@ export interface CreateBotInput {
|
|
|
1206
1211
|
* @public
|
|
1207
1212
|
*/
|
|
1208
1213
|
groupId?: string | undefined;
|
|
1214
|
+
/**
|
|
1215
|
+
* Closes the chat session after this many minutes of inactivity. When omitted, the session closes at the end of the local day.
|
|
1216
|
+
* @public
|
|
1217
|
+
*/
|
|
1218
|
+
sessionTimeoutMinutes?: BotSessionTimeoutMinutes | undefined;
|
|
1209
1219
|
company?: string | undefined;
|
|
1210
1220
|
callback: BotCallback;
|
|
1211
1221
|
}
|
|
@@ -1955,6 +1965,11 @@ export interface UpdateBotInput {
|
|
|
1955
1965
|
* @public
|
|
1956
1966
|
*/
|
|
1957
1967
|
groupId?: string | undefined;
|
|
1968
|
+
/**
|
|
1969
|
+
* Closes the chat session after this many minutes of inactivity. When omitted, the session closes at the end of the local day.
|
|
1970
|
+
* @public
|
|
1971
|
+
*/
|
|
1972
|
+
sessionTimeoutMinutes?: BotSessionTimeoutMinutes | undefined;
|
|
1958
1973
|
company?: string | undefined;
|
|
1959
1974
|
botId: string;
|
|
1960
1975
|
}
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
39
39
|
tls?: boolean;
|
|
40
40
|
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
41
|
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
45
|
httpAuthSchemes: ({
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
39
39
|
tls?: boolean;
|
|
40
40
|
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
41
|
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
45
|
httpAuthSchemes: ({
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
39
39
|
tls?: boolean;
|
|
40
40
|
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
41
|
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
45
|
httpAuthSchemes: ({
|
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.6",
|
|
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",
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
"browser": {
|
|
57
57
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
58
58
|
}
|
|
59
|
-
}
|
|
59
|
+
}
|