@wildix/xbees-users-client 4.0.7 → 4.0.8
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 +18 -17
- package/dist-es/models/enums.js +7 -0
- package/dist-es/schemas/schemas_0.js +18 -17
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +1 -0
- package/dist-types/commands/CreateBotCommand.d.ts +2 -0
- package/dist-types/commands/GetAccountCommand.d.ts +91 -1
- 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 +78 -61
- package/dist-types/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/runtimeConfig.d.ts +0 -1
- package/dist-types/runtimeConfig.native.d.ts +0 -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.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",
|
|
@@ -304,8 +304,8 @@ const _ht = "http";
|
|
|
304
304
|
const _i = "id";
|
|
305
305
|
const _iAKC = "integrationApiKeysCount";
|
|
306
306
|
const _iT = "integrationType";
|
|
307
|
-
const _id = "
|
|
308
|
-
const _ide = "
|
|
307
|
+
const _id = "identities";
|
|
308
|
+
const _ide = "identity";
|
|
309
309
|
const _in = "instructions";
|
|
310
310
|
const _inf = "info";
|
|
311
311
|
const _int = "integration";
|
|
@@ -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,
|
|
@@ -820,8 +821,8 @@ exports.GetAccountInput$ = [3, n3, _GAI,
|
|
|
820
821
|
];
|
|
821
822
|
exports.GetAccountOutput$ = [3, n3, _GAO,
|
|
822
823
|
0,
|
|
823
|
-
[_ac],
|
|
824
|
-
[() => exports.Account
|
|
824
|
+
[_ac, _w, _id],
|
|
825
|
+
[() => exports.Account$, () => WorkspaceList, () => IdentityList], 3
|
|
825
826
|
];
|
|
826
827
|
exports.GetAppVersionInput$ = [3, n3, _GAVI,
|
|
827
828
|
0,
|
|
@@ -905,7 +906,7 @@ exports.GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
|
|
|
905
906
|
];
|
|
906
907
|
exports.Identity$ = [3, n3, _I,
|
|
907
908
|
0,
|
|
908
|
-
[
|
|
909
|
+
[_ide, _ac, _ver],
|
|
909
910
|
[0, 0, 2], 2
|
|
910
911
|
];
|
|
911
912
|
exports.IntelligenceSearchInput$ = [3, n3, _ISI,
|
|
@@ -930,12 +931,12 @@ exports.InviteOutput$ = [3, n3, _IO,
|
|
|
930
931
|
];
|
|
931
932
|
exports.LinkIdentityInput$ = [3, n3, _LII,
|
|
932
933
|
0,
|
|
933
|
-
[_aIc,
|
|
934
|
+
[_aIc, _ide],
|
|
934
935
|
[[0, 1], 0], 2
|
|
935
936
|
];
|
|
936
937
|
exports.LinkIdentityOutput$ = [3, n3, _LIO,
|
|
937
938
|
0,
|
|
938
|
-
[
|
|
939
|
+
[_ide],
|
|
939
940
|
[() => exports.Identity$], 1
|
|
940
941
|
];
|
|
941
942
|
exports.ListBotApiKeysInput$ = [3, n3, _LBAKI,
|
|
@@ -965,7 +966,7 @@ exports.ListIdentitiesInput$ = [3, n3, _LIIi,
|
|
|
965
966
|
];
|
|
966
967
|
exports.ListIdentitiesOutput$ = [3, n3, _LIOi,
|
|
967
968
|
0,
|
|
968
|
-
[
|
|
969
|
+
[_id],
|
|
969
970
|
[() => IdentityList], 1
|
|
970
971
|
];
|
|
971
972
|
exports.ListWorkspacesInput$ = [3, n3, _LWI,
|
|
@@ -1060,7 +1061,7 @@ exports.ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
|
|
|
1060
1061
|
];
|
|
1061
1062
|
exports.UnlinkIdentityInput$ = [3, n3, _UII,
|
|
1062
1063
|
0,
|
|
1063
|
-
[_aIc,
|
|
1064
|
+
[_aIc, _ide],
|
|
1064
1065
|
[[0, 1], [0, 1]], 2
|
|
1065
1066
|
];
|
|
1066
1067
|
exports.UnlinkIdentityOutput$ = [3, n3, _UIO,
|
|
@@ -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,
|
|
@@ -1215,12 +1216,12 @@ exports.VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
|
|
|
1215
1216
|
];
|
|
1216
1217
|
exports.VerifyIdentityInput$ = [3, n3, _VII,
|
|
1217
1218
|
0,
|
|
1218
|
-
[_aIc,
|
|
1219
|
+
[_aIc, _ide, _o],
|
|
1219
1220
|
[[0, 1], 0, 0], 3
|
|
1220
1221
|
];
|
|
1221
1222
|
exports.VerifyIdentityOutput$ = [3, n3, _VIO,
|
|
1222
1223
|
0,
|
|
1223
|
-
[
|
|
1224
|
+
[_ide],
|
|
1224
1225
|
[() => exports.Identity$], 1
|
|
1225
1226
|
];
|
|
1226
1227
|
exports.Workspace$ = [3, n3, _W,
|
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",
|
|
@@ -297,8 +297,8 @@ const _ht = "http";
|
|
|
297
297
|
const _i = "id";
|
|
298
298
|
const _iAKC = "integrationApiKeysCount";
|
|
299
299
|
const _iT = "integrationType";
|
|
300
|
-
const _id = "
|
|
301
|
-
const _ide = "
|
|
300
|
+
const _id = "identities";
|
|
301
|
+
const _ide = "identity";
|
|
302
302
|
const _in = "instructions";
|
|
303
303
|
const _inf = "info";
|
|
304
304
|
const _int = "integration";
|
|
@@ -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,
|
|
@@ -813,8 +814,8 @@ export var GetAccountInput$ = [3, n3, _GAI,
|
|
|
813
814
|
];
|
|
814
815
|
export var GetAccountOutput$ = [3, n3, _GAO,
|
|
815
816
|
0,
|
|
816
|
-
[_ac],
|
|
817
|
-
[() => Account
|
|
817
|
+
[_ac, _w, _id],
|
|
818
|
+
[() => Account$, () => WorkspaceList, () => IdentityList], 3
|
|
818
819
|
];
|
|
819
820
|
export var GetAppVersionInput$ = [3, n3, _GAVI,
|
|
820
821
|
0,
|
|
@@ -898,7 +899,7 @@ export var GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
|
|
|
898
899
|
];
|
|
899
900
|
export var Identity$ = [3, n3, _I,
|
|
900
901
|
0,
|
|
901
|
-
[
|
|
902
|
+
[_ide, _ac, _ver],
|
|
902
903
|
[0, 0, 2], 2
|
|
903
904
|
];
|
|
904
905
|
export var IntelligenceSearchInput$ = [3, n3, _ISI,
|
|
@@ -923,12 +924,12 @@ export var InviteOutput$ = [3, n3, _IO,
|
|
|
923
924
|
];
|
|
924
925
|
export var LinkIdentityInput$ = [3, n3, _LII,
|
|
925
926
|
0,
|
|
926
|
-
[_aIc,
|
|
927
|
+
[_aIc, _ide],
|
|
927
928
|
[[0, 1], 0], 2
|
|
928
929
|
];
|
|
929
930
|
export var LinkIdentityOutput$ = [3, n3, _LIO,
|
|
930
931
|
0,
|
|
931
|
-
[
|
|
932
|
+
[_ide],
|
|
932
933
|
[() => Identity$], 1
|
|
933
934
|
];
|
|
934
935
|
export var ListBotApiKeysInput$ = [3, n3, _LBAKI,
|
|
@@ -958,7 +959,7 @@ export var ListIdentitiesInput$ = [3, n3, _LIIi,
|
|
|
958
959
|
];
|
|
959
960
|
export var ListIdentitiesOutput$ = [3, n3, _LIOi,
|
|
960
961
|
0,
|
|
961
|
-
[
|
|
962
|
+
[_id],
|
|
962
963
|
[() => IdentityList], 1
|
|
963
964
|
];
|
|
964
965
|
export var ListWorkspacesInput$ = [3, n3, _LWI,
|
|
@@ -1053,7 +1054,7 @@ export var ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
|
|
|
1053
1054
|
];
|
|
1054
1055
|
export var UnlinkIdentityInput$ = [3, n3, _UII,
|
|
1055
1056
|
0,
|
|
1056
|
-
[_aIc,
|
|
1057
|
+
[_aIc, _ide],
|
|
1057
1058
|
[[0, 1], [0, 1]], 2
|
|
1058
1059
|
];
|
|
1059
1060
|
export var UnlinkIdentityOutput$ = [3, n3, _UIO,
|
|
@@ -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,
|
|
@@ -1208,12 +1209,12 @@ export var VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
|
|
|
1208
1209
|
];
|
|
1209
1210
|
export var VerifyIdentityInput$ = [3, n3, _VII,
|
|
1210
1211
|
0,
|
|
1211
|
-
[_aIc,
|
|
1212
|
+
[_aIc, _ide, _o],
|
|
1212
1213
|
[[0, 1], 0, 0], 3
|
|
1213
1214
|
];
|
|
1214
1215
|
export var VerifyIdentityOutput$ = [3, n3, _VIO,
|
|
1215
1216
|
0,
|
|
1216
|
-
[
|
|
1217
|
+
[_ide],
|
|
1217
1218
|
[() => Identity$], 1
|
|
1218
1219
|
];
|
|
1219
1220
|
export var Workspace$ = [3, n3, _W,
|
|
@@ -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
|
|
@@ -27,7 +27,7 @@ declare const GetAccountCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Retrieves the account.
|
|
30
|
+
* Retrieves the current account with identities and workspaces.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -47,6 +47,96 @@ declare const GetAccountCommand_base: {
|
|
|
47
47
|
* // defaultWorkspace: "STRING_VALUE",
|
|
48
48
|
* // primaryIdentity: "STRING_VALUE",
|
|
49
49
|
* // },
|
|
50
|
+
* // workspaces: [ // WorkspaceList // required
|
|
51
|
+
* // { // Workspace
|
|
52
|
+
* // companyId: "STRING_VALUE",
|
|
53
|
+
* // pbxUser: { // UserPbxLinkData
|
|
54
|
+
* // id: "STRING_VALUE", // required
|
|
55
|
+
* // company: "STRING_VALUE", // required
|
|
56
|
+
* // companyName: "STRING_VALUE",
|
|
57
|
+
* // domain: "STRING_VALUE", // required
|
|
58
|
+
* // email: "STRING_VALUE",
|
|
59
|
+
* // info: { // UserPersonalInfo
|
|
60
|
+
* // dn: "STRING_VALUE", // required
|
|
61
|
+
* // id: "STRING_VALUE", // required
|
|
62
|
+
* // name: "STRING_VALUE", // required
|
|
63
|
+
* // extension: "STRING_VALUE", // required
|
|
64
|
+
* // officePhone: "STRING_VALUE",
|
|
65
|
+
* // mobilePhone: "STRING_VALUE",
|
|
66
|
+
* // faxNumber: "STRING_VALUE",
|
|
67
|
+
* // email: "STRING_VALUE",
|
|
68
|
+
* // role: "STRING_VALUE", // required
|
|
69
|
+
* // language: "STRING_VALUE", // required
|
|
70
|
+
* // dialplan: "STRING_VALUE", // required
|
|
71
|
+
* // faxDialplan: "STRING_VALUE", // required
|
|
72
|
+
* // departament: "STRING_VALUE",
|
|
73
|
+
* // picture: "STRING_VALUE", // required
|
|
74
|
+
* // groupDn: "STRING_VALUE", // required
|
|
75
|
+
* // groupName: "STRING_VALUE", // required
|
|
76
|
+
* // jid: "STRING_VALUE", // required
|
|
77
|
+
* // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
|
|
78
|
+
* // login: "STRING_VALUE",
|
|
79
|
+
* // pbx: "STRING_VALUE",
|
|
80
|
+
* // pbxDn: "STRING_VALUE", // required
|
|
81
|
+
* // sourceId: "STRING_VALUE",
|
|
82
|
+
* // sipPassword: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // pbx: { // UserPbxInfo
|
|
85
|
+
* // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
|
|
86
|
+
* // "STRING_VALUE",
|
|
87
|
+
* // ],
|
|
88
|
+
* // ports: [ // UserPbxInfoPorts // required
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // externalLinePrefix: "STRING_VALUE",
|
|
92
|
+
* // version: "STRING_VALUE", // required
|
|
93
|
+
* // serial: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // picture: "STRING_VALUE", // required
|
|
96
|
+
* // pictureDeleted: true || false,
|
|
97
|
+
* // port: "STRING_VALUE", // required
|
|
98
|
+
* // serial: "STRING_VALUE", // required
|
|
99
|
+
* // services: { // UserPbxServices
|
|
100
|
+
* // xcaracal: true || false,
|
|
101
|
+
* // wizyWebinar: true || false,
|
|
102
|
+
* // },
|
|
103
|
+
* // personalSettings: {},
|
|
104
|
+
* // dialplanSettings: {},
|
|
105
|
+
* // awsRegion: "STRING_VALUE",
|
|
106
|
+
* // updatedAt: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // streamUser: { // User
|
|
109
|
+
* // id: "STRING_VALUE", // required
|
|
110
|
+
* // name: "STRING_VALUE",
|
|
111
|
+
* // email: "STRING_VALUE",
|
|
112
|
+
* // phone: "STRING_VALUE",
|
|
113
|
+
* // picture: "STRING_VALUE",
|
|
114
|
+
* // locale: "STRING_VALUE",
|
|
115
|
+
* // timeZone: "STRING_VALUE",
|
|
116
|
+
* // company: "STRING_VALUE",
|
|
117
|
+
* // bot: true || false,
|
|
118
|
+
* // pbxDomain: "STRING_VALUE",
|
|
119
|
+
* // pbxPort: "STRING_VALUE",
|
|
120
|
+
* // pbxExtension: "STRING_VALUE",
|
|
121
|
+
* // pbxSerial: "STRING_VALUE",
|
|
122
|
+
* // pbxUserId: "STRING_VALUE",
|
|
123
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
124
|
+
* // createdAt: "STRING_VALUE",
|
|
125
|
+
* // updatedAt: "STRING_VALUE",
|
|
126
|
+
* // },
|
|
127
|
+
* // type: "personal" || "work" || "support",
|
|
128
|
+
* // id: "STRING_VALUE", // required
|
|
129
|
+
* // accountId: "STRING_VALUE", // required
|
|
130
|
+
* // active: true || false, // required
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // identities: [ // IdentityList // required
|
|
134
|
+
* // { // Identity
|
|
135
|
+
* // identity: "STRING_VALUE", // required
|
|
136
|
+
* // account: "STRING_VALUE", // required
|
|
137
|
+
* // verified: true || false,
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
50
140
|
* // };
|
|
51
141
|
*
|
|
52
142
|
* ```
|
|
@@ -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
|
}
|
|
@@ -1296,11 +1306,73 @@ export interface GetAccountInput {
|
|
|
1296
1306
|
*/
|
|
1297
1307
|
accountId: string;
|
|
1298
1308
|
}
|
|
1309
|
+
/**
|
|
1310
|
+
* @public
|
|
1311
|
+
*/
|
|
1312
|
+
export interface Identity {
|
|
1313
|
+
/**
|
|
1314
|
+
* The identity value (email address or phone number in E.164)
|
|
1315
|
+
* @public
|
|
1316
|
+
*/
|
|
1317
|
+
identity: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* The unique identifier of the account.
|
|
1320
|
+
* @public
|
|
1321
|
+
*/
|
|
1322
|
+
account: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* Indicates if the identity is verified.
|
|
1325
|
+
* @public
|
|
1326
|
+
*/
|
|
1327
|
+
verified?: boolean | undefined;
|
|
1328
|
+
}
|
|
1329
|
+
/**
|
|
1330
|
+
* @public
|
|
1331
|
+
*/
|
|
1332
|
+
export interface Workspace {
|
|
1333
|
+
/**
|
|
1334
|
+
* The unique identifier of the tenant (company).
|
|
1335
|
+
* @public
|
|
1336
|
+
*/
|
|
1337
|
+
companyId?: string | undefined;
|
|
1338
|
+
/**
|
|
1339
|
+
* PBX information where user connected to.
|
|
1340
|
+
* @public
|
|
1341
|
+
*/
|
|
1342
|
+
pbxUser?: UserPbxLinkData | undefined;
|
|
1343
|
+
/**
|
|
1344
|
+
* Personal information of the user. If user is not logged in yet, this field will might be empty.
|
|
1345
|
+
* @public
|
|
1346
|
+
*/
|
|
1347
|
+
streamUser?: User | undefined;
|
|
1348
|
+
/**
|
|
1349
|
+
* The type of workspace.
|
|
1350
|
+
* @public
|
|
1351
|
+
*/
|
|
1352
|
+
type?: WorkspaceType | undefined;
|
|
1353
|
+
/**
|
|
1354
|
+
* The unique identifier
|
|
1355
|
+
* @public
|
|
1356
|
+
*/
|
|
1357
|
+
id: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* The unique identifier of the account.
|
|
1360
|
+
* @public
|
|
1361
|
+
*/
|
|
1362
|
+
accountId: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* Indicates if the workspace is active.
|
|
1365
|
+
* @public
|
|
1366
|
+
*/
|
|
1367
|
+
active: boolean;
|
|
1368
|
+
}
|
|
1299
1369
|
/**
|
|
1300
1370
|
* @public
|
|
1301
1371
|
*/
|
|
1302
1372
|
export interface GetAccountOutput {
|
|
1303
1373
|
account: Account;
|
|
1374
|
+
workspaces: Workspace[];
|
|
1375
|
+
identities: Identity[];
|
|
1304
1376
|
}
|
|
1305
1377
|
/**
|
|
1306
1378
|
* @public
|
|
@@ -1443,26 +1515,6 @@ export interface GetUserPbxLinkSuggestionV1Output {
|
|
|
1443
1515
|
*/
|
|
1444
1516
|
suggestion?: UserPbxLinkSuggestion | undefined;
|
|
1445
1517
|
}
|
|
1446
|
-
/**
|
|
1447
|
-
* @public
|
|
1448
|
-
*/
|
|
1449
|
-
export interface Identity {
|
|
1450
|
-
/**
|
|
1451
|
-
* The identity value (email address or phone number in E.164)
|
|
1452
|
-
* @public
|
|
1453
|
-
*/
|
|
1454
|
-
identity: string;
|
|
1455
|
-
/**
|
|
1456
|
-
* The unique identifier of the account.
|
|
1457
|
-
* @public
|
|
1458
|
-
*/
|
|
1459
|
-
account: string;
|
|
1460
|
-
/**
|
|
1461
|
-
* Indicates if the identity is verified.
|
|
1462
|
-
* @public
|
|
1463
|
-
*/
|
|
1464
|
-
verified?: boolean | undefined;
|
|
1465
|
-
}
|
|
1466
1518
|
/**
|
|
1467
1519
|
* @public
|
|
1468
1520
|
*/
|
|
@@ -1591,46 +1643,6 @@ export interface ListWorkspacesInput {
|
|
|
1591
1643
|
*/
|
|
1592
1644
|
accountId: string;
|
|
1593
1645
|
}
|
|
1594
|
-
/**
|
|
1595
|
-
* @public
|
|
1596
|
-
*/
|
|
1597
|
-
export interface Workspace {
|
|
1598
|
-
/**
|
|
1599
|
-
* The unique identifier of the tenant (company).
|
|
1600
|
-
* @public
|
|
1601
|
-
*/
|
|
1602
|
-
companyId?: string | undefined;
|
|
1603
|
-
/**
|
|
1604
|
-
* PBX information where user connected to.
|
|
1605
|
-
* @public
|
|
1606
|
-
*/
|
|
1607
|
-
pbxUser?: UserPbxLinkData | undefined;
|
|
1608
|
-
/**
|
|
1609
|
-
* Personal information of the user. If user is not logged in yet, this field will might be empty.
|
|
1610
|
-
* @public
|
|
1611
|
-
*/
|
|
1612
|
-
streamUser?: User | undefined;
|
|
1613
|
-
/**
|
|
1614
|
-
* The type of workspace.
|
|
1615
|
-
* @public
|
|
1616
|
-
*/
|
|
1617
|
-
type?: WorkspaceType | undefined;
|
|
1618
|
-
/**
|
|
1619
|
-
* The unique identifier
|
|
1620
|
-
* @public
|
|
1621
|
-
*/
|
|
1622
|
-
id: string;
|
|
1623
|
-
/**
|
|
1624
|
-
* The unique identifier of the account.
|
|
1625
|
-
* @public
|
|
1626
|
-
*/
|
|
1627
|
-
accountId: string;
|
|
1628
|
-
/**
|
|
1629
|
-
* Indicates if the workspace is active.
|
|
1630
|
-
* @public
|
|
1631
|
-
*/
|
|
1632
|
-
active: boolean;
|
|
1633
|
-
}
|
|
1634
1646
|
/**
|
|
1635
1647
|
* @public
|
|
1636
1648
|
*/
|
|
@@ -1953,6 +1965,11 @@ export interface UpdateBotInput {
|
|
|
1953
1965
|
* @public
|
|
1954
1966
|
*/
|
|
1955
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;
|
|
1956
1973
|
company?: string | undefined;
|
|
1957
1974
|
botId: string;
|
|
1958
1975
|
}
|
|
@@ -39,7 +39,6 @@ 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;
|
|
43
42
|
serviceConfiguredEndpoint?: never;
|
|
44
43
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
44
|
httpAuthSchemes: ({
|
|
@@ -39,7 +39,6 @@ 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;
|
|
43
42
|
serviceConfiguredEndpoint?: never;
|
|
44
43
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
44
|
httpAuthSchemes: ({
|
|
@@ -39,7 +39,6 @@ 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;
|
|
43
42
|
serviceConfiguredEndpoint?: never;
|
|
44
43
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
44
|
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.8",
|
|
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",
|