@wildix/xbees-users-client 1.2.8 → 1.3.0
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/models_0.js +40 -1
- package/dist-cjs/protocols/Aws_restJson1.js +50 -0
- package/dist-es/models/models_0.js +36 -0
- package/dist-es/protocols/Aws_restJson1.js +51 -1
- package/dist-types/commands/CreateAnonymousSessionCommand.d.ts +6 -0
- 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/models_0.d.ts +48 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.IdentityNotFoundException = exports.IdentityAlreadyLinkedException = exports.WorkspaceType = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.CannotUnbindDefaultWorkspaceException = exports.CannotRemovePrimaryIdentityException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotLlmToolType = exports.BotLlmFunctionIntegration = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmEmbeddedToolType = exports.BotCapability = exports.BotToolVariableHandler = exports.BotCapabilityToolPipelineType = exports.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.AnonymousEntryContext = exports.AccountNotFoundException = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
3
|
+
exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.IdentityNotFoundException = exports.IdentityAlreadyLinkedException = exports.WorkspaceType = exports.PublicAccessIsRestrictedException = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.CannotUnbindDefaultWorkspaceException = exports.CannotRemovePrimaryIdentityException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotLlmToolType = exports.BotLlmFunctionIntegration = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmEmbeddedToolType = exports.BotCapability = exports.BotToolVariableHandler = exports.BotCapabilityToolPipelineType = exports.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.AnonymousEntryContext = exports.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
4
|
const UsersServiceException_1 = require("./UsersServiceException");
|
|
5
5
|
class ForbiddenException extends UsersServiceException_1.UsersServiceException {
|
|
6
6
|
name = "ForbiddenException";
|
|
@@ -69,6 +69,32 @@ exports.PbxColleaguesSearchStrategy = {
|
|
|
69
69
|
CONTAIN: "contain",
|
|
70
70
|
STARTS_WITH: "startsWith",
|
|
71
71
|
};
|
|
72
|
+
class ChannelNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
73
|
+
name = "ChannelNotFoundException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "ChannelNotFoundException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, ChannelNotFoundException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.ChannelNotFoundException = ChannelNotFoundException;
|
|
85
|
+
class WidgetNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
86
|
+
name = "WidgetNotFoundException";
|
|
87
|
+
$fault = "client";
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "WidgetNotFoundException",
|
|
91
|
+
$fault: "client",
|
|
92
|
+
...opts
|
|
93
|
+
});
|
|
94
|
+
Object.setPrototypeOf(this, WidgetNotFoundException.prototype);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.WidgetNotFoundException = WidgetNotFoundException;
|
|
72
98
|
class AccountNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
73
99
|
name = "AccountNotFoundException";
|
|
74
100
|
$fault = "client";
|
|
@@ -278,6 +304,19 @@ class UserNotFoundException extends UsersServiceException_1.UsersServiceExceptio
|
|
|
278
304
|
}
|
|
279
305
|
}
|
|
280
306
|
exports.UserNotFoundException = UserNotFoundException;
|
|
307
|
+
class PublicAccessIsRestrictedException extends UsersServiceException_1.UsersServiceException {
|
|
308
|
+
name = "PublicAccessIsRestrictedException";
|
|
309
|
+
$fault = "client";
|
|
310
|
+
constructor(opts) {
|
|
311
|
+
super({
|
|
312
|
+
name: "PublicAccessIsRestrictedException",
|
|
313
|
+
$fault: "client",
|
|
314
|
+
...opts
|
|
315
|
+
});
|
|
316
|
+
Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
exports.PublicAccessIsRestrictedException = PublicAccessIsRestrictedException;
|
|
281
320
|
exports.WorkspaceType = {
|
|
282
321
|
PERSONAL: "personal",
|
|
283
322
|
SUPPORT: "support",
|
|
@@ -120,6 +120,7 @@ const se_CreateBotCommand = async (input, context) => {
|
|
|
120
120
|
'access': [],
|
|
121
121
|
'callback': _ => se_BotCallback(_, context),
|
|
122
122
|
'category': [],
|
|
123
|
+
'groupId': [],
|
|
123
124
|
'name': [],
|
|
124
125
|
'picture': [],
|
|
125
126
|
'searchable': [],
|
|
@@ -605,6 +606,7 @@ const se_UpdateBotCommand = async (input, context) => {
|
|
|
605
606
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
606
607
|
'access': [],
|
|
607
608
|
'category': [],
|
|
609
|
+
'groupId': [],
|
|
608
610
|
'name': [],
|
|
609
611
|
'picture': [],
|
|
610
612
|
'searchable': [],
|
|
@@ -1433,6 +1435,15 @@ const de_CommandError = async (output, context) => {
|
|
|
1433
1435
|
case "UserNotFoundException":
|
|
1434
1436
|
case "wildix.xbees.users#UserNotFoundException":
|
|
1435
1437
|
throw await de_UserNotFoundExceptionRes(parsedOutput, context);
|
|
1438
|
+
case "ChannelNotFoundException":
|
|
1439
|
+
case "wildix.xbees.conversations#ChannelNotFoundException":
|
|
1440
|
+
throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
|
|
1441
|
+
case "PublicAccessIsRestrictedException":
|
|
1442
|
+
case "wildix.xbees.users#PublicAccessIsRestrictedException":
|
|
1443
|
+
throw await de_PublicAccessIsRestrictedExceptionRes(parsedOutput, context);
|
|
1444
|
+
case "WidgetNotFoundException":
|
|
1445
|
+
case "wildix.xbees.kite#WidgetNotFoundException":
|
|
1446
|
+
throw await de_WidgetNotFoundExceptionRes(parsedOutput, context);
|
|
1436
1447
|
case "BotNotFoundException":
|
|
1437
1448
|
case "wildix.xbees.users#BotNotFoundException":
|
|
1438
1449
|
throw await de_BotNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -1499,6 +1510,32 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
1499
1510
|
});
|
|
1500
1511
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1501
1512
|
};
|
|
1513
|
+
const de_ChannelNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1514
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1515
|
+
const data = parsedOutput.body;
|
|
1516
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1517
|
+
'message': smithy_client_1.expectString,
|
|
1518
|
+
});
|
|
1519
|
+
Object.assign(contents, doc);
|
|
1520
|
+
const exception = new models_0_1.ChannelNotFoundException({
|
|
1521
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1522
|
+
...contents
|
|
1523
|
+
});
|
|
1524
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1525
|
+
};
|
|
1526
|
+
const de_WidgetNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1527
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1528
|
+
const data = parsedOutput.body;
|
|
1529
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1530
|
+
'message': smithy_client_1.expectString,
|
|
1531
|
+
});
|
|
1532
|
+
Object.assign(contents, doc);
|
|
1533
|
+
const exception = new models_0_1.WidgetNotFoundException({
|
|
1534
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1535
|
+
...contents
|
|
1536
|
+
});
|
|
1537
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1538
|
+
};
|
|
1502
1539
|
const de_AccountNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1503
1540
|
const contents = (0, smithy_client_1.map)({});
|
|
1504
1541
|
const data = parsedOutput.body;
|
|
@@ -1603,6 +1640,19 @@ const de_IdentityNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1603
1640
|
});
|
|
1604
1641
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1605
1642
|
};
|
|
1643
|
+
const de_PublicAccessIsRestrictedExceptionRes = async (parsedOutput, context) => {
|
|
1644
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1645
|
+
const data = parsedOutput.body;
|
|
1646
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1647
|
+
'message': smithy_client_1.expectString,
|
|
1648
|
+
});
|
|
1649
|
+
Object.assign(contents, doc);
|
|
1650
|
+
const exception = new models_0_1.PublicAccessIsRestrictedException({
|
|
1651
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1652
|
+
...contents
|
|
1653
|
+
});
|
|
1654
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1655
|
+
};
|
|
1606
1656
|
const de_UserCompanyNotValidExceptionRes = async (parsedOutput, context) => {
|
|
1607
1657
|
const contents = (0, smithy_client_1.map)({});
|
|
1608
1658
|
const data = parsedOutput.body;
|
|
@@ -64,6 +64,30 @@ export const PbxColleaguesSearchStrategy = {
|
|
|
64
64
|
CONTAIN: "contain",
|
|
65
65
|
STARTS_WITH: "startsWith",
|
|
66
66
|
};
|
|
67
|
+
export class ChannelNotFoundException extends __BaseException {
|
|
68
|
+
name = "ChannelNotFoundException";
|
|
69
|
+
$fault = "client";
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ChannelNotFoundException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts
|
|
75
|
+
});
|
|
76
|
+
Object.setPrototypeOf(this, ChannelNotFoundException.prototype);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export class WidgetNotFoundException extends __BaseException {
|
|
80
|
+
name = "WidgetNotFoundException";
|
|
81
|
+
$fault = "client";
|
|
82
|
+
constructor(opts) {
|
|
83
|
+
super({
|
|
84
|
+
name: "WidgetNotFoundException",
|
|
85
|
+
$fault: "client",
|
|
86
|
+
...opts
|
|
87
|
+
});
|
|
88
|
+
Object.setPrototypeOf(this, WidgetNotFoundException.prototype);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
67
91
|
export class AccountNotFoundException extends __BaseException {
|
|
68
92
|
name = "AccountNotFoundException";
|
|
69
93
|
$fault = "client";
|
|
@@ -265,6 +289,18 @@ export class UserNotFoundException extends __BaseException {
|
|
|
265
289
|
Object.setPrototypeOf(this, UserNotFoundException.prototype);
|
|
266
290
|
}
|
|
267
291
|
}
|
|
292
|
+
export class PublicAccessIsRestrictedException extends __BaseException {
|
|
293
|
+
name = "PublicAccessIsRestrictedException";
|
|
294
|
+
$fault = "client";
|
|
295
|
+
constructor(opts) {
|
|
296
|
+
super({
|
|
297
|
+
name: "PublicAccessIsRestrictedException",
|
|
298
|
+
$fault: "client",
|
|
299
|
+
...opts
|
|
300
|
+
});
|
|
301
|
+
Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
268
304
|
export const WorkspaceType = {
|
|
269
305
|
PERSONAL: "personal",
|
|
270
306
|
SUPPORT: "support",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UsersServiceException as __BaseException } from "../models/UsersServiceException";
|
|
2
|
-
import { AccountNotFoundException, BotApiKeyNotFoundException, BotEndpoint, BotLlmFunctionIntegration, BotNotFoundException, BotSecretKeyNotValidException, CannotRemovePrimaryIdentityException, CannotUnbindDefaultWorkspaceException, ForbiddenException, IdentityAlreadyLinkedException, IdentityNotFoundException, UserCompanyNotValidException, UserNotFoundException, UserQueryPredicateNotMetException, ValidationException, WorkspaceNotFoundException, } from "../models/models_0";
|
|
2
|
+
import { AccountNotFoundException, BotApiKeyNotFoundException, BotEndpoint, BotLlmFunctionIntegration, BotNotFoundException, BotSecretKeyNotValidException, CannotRemovePrimaryIdentityException, CannotUnbindDefaultWorkspaceException, ChannelNotFoundException, ForbiddenException, IdentityAlreadyLinkedException, IdentityNotFoundException, PublicAccessIsRestrictedException, UserCompanyNotValidException, UserNotFoundException, UserQueryPredicateNotMetException, ValidationException, WidgetNotFoundException, WorkspaceNotFoundException, } from "../models/models_0";
|
|
3
3
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
4
4
|
import { requestBuilder as rb } from "@smithy/core";
|
|
5
5
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
@@ -110,6 +110,7 @@ export const se_CreateBotCommand = async (input, context) => {
|
|
|
110
110
|
'access': [],
|
|
111
111
|
'callback': _ => se_BotCallback(_, context),
|
|
112
112
|
'category': [],
|
|
113
|
+
'groupId': [],
|
|
113
114
|
'name': [],
|
|
114
115
|
'picture': [],
|
|
115
116
|
'searchable': [],
|
|
@@ -565,6 +566,7 @@ export const se_UpdateBotCommand = async (input, context) => {
|
|
|
565
566
|
body = JSON.stringify(take(input, {
|
|
566
567
|
'access': [],
|
|
567
568
|
'category': [],
|
|
569
|
+
'groupId': [],
|
|
568
570
|
'name': [],
|
|
569
571
|
'picture': [],
|
|
570
572
|
'searchable': [],
|
|
@@ -1339,6 +1341,15 @@ const de_CommandError = async (output, context) => {
|
|
|
1339
1341
|
case "UserNotFoundException":
|
|
1340
1342
|
case "wildix.xbees.users#UserNotFoundException":
|
|
1341
1343
|
throw await de_UserNotFoundExceptionRes(parsedOutput, context);
|
|
1344
|
+
case "ChannelNotFoundException":
|
|
1345
|
+
case "wildix.xbees.conversations#ChannelNotFoundException":
|
|
1346
|
+
throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
|
|
1347
|
+
case "PublicAccessIsRestrictedException":
|
|
1348
|
+
case "wildix.xbees.users#PublicAccessIsRestrictedException":
|
|
1349
|
+
throw await de_PublicAccessIsRestrictedExceptionRes(parsedOutput, context);
|
|
1350
|
+
case "WidgetNotFoundException":
|
|
1351
|
+
case "wildix.xbees.kite#WidgetNotFoundException":
|
|
1352
|
+
throw await de_WidgetNotFoundExceptionRes(parsedOutput, context);
|
|
1342
1353
|
case "BotNotFoundException":
|
|
1343
1354
|
case "wildix.xbees.users#BotNotFoundException":
|
|
1344
1355
|
throw await de_BotNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -1405,6 +1416,32 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
1405
1416
|
});
|
|
1406
1417
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1407
1418
|
};
|
|
1419
|
+
const de_ChannelNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1420
|
+
const contents = map({});
|
|
1421
|
+
const data = parsedOutput.body;
|
|
1422
|
+
const doc = take(data, {
|
|
1423
|
+
'message': __expectString,
|
|
1424
|
+
});
|
|
1425
|
+
Object.assign(contents, doc);
|
|
1426
|
+
const exception = new ChannelNotFoundException({
|
|
1427
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1428
|
+
...contents
|
|
1429
|
+
});
|
|
1430
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1431
|
+
};
|
|
1432
|
+
const de_WidgetNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1433
|
+
const contents = map({});
|
|
1434
|
+
const data = parsedOutput.body;
|
|
1435
|
+
const doc = take(data, {
|
|
1436
|
+
'message': __expectString,
|
|
1437
|
+
});
|
|
1438
|
+
Object.assign(contents, doc);
|
|
1439
|
+
const exception = new WidgetNotFoundException({
|
|
1440
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1441
|
+
...contents
|
|
1442
|
+
});
|
|
1443
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1444
|
+
};
|
|
1408
1445
|
const de_AccountNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1409
1446
|
const contents = map({});
|
|
1410
1447
|
const data = parsedOutput.body;
|
|
@@ -1509,6 +1546,19 @@ const de_IdentityNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1509
1546
|
});
|
|
1510
1547
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1511
1548
|
};
|
|
1549
|
+
const de_PublicAccessIsRestrictedExceptionRes = async (parsedOutput, context) => {
|
|
1550
|
+
const contents = map({});
|
|
1551
|
+
const data = parsedOutput.body;
|
|
1552
|
+
const doc = take(data, {
|
|
1553
|
+
'message': __expectString,
|
|
1554
|
+
});
|
|
1555
|
+
Object.assign(contents, doc);
|
|
1556
|
+
const exception = new PublicAccessIsRestrictedException({
|
|
1557
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1558
|
+
...contents
|
|
1559
|
+
});
|
|
1560
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1561
|
+
};
|
|
1512
1562
|
const de_UserCompanyNotValidExceptionRes = async (parsedOutput, context) => {
|
|
1513
1563
|
const contents = map({});
|
|
1514
1564
|
const data = parsedOutput.body;
|
|
@@ -57,6 +57,12 @@ declare const CreateAnonymousSessionCommand_base: {
|
|
|
57
57
|
* @see {@link CreateAnonymousSessionCommandOutput} for command's `response` shape.
|
|
58
58
|
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
59
59
|
*
|
|
60
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link WidgetNotFoundException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link PublicAccessIsRestrictedException} (client fault)
|
|
65
|
+
*
|
|
60
66
|
* @throws {@link ForbiddenException} (client fault)
|
|
61
67
|
*
|
|
62
68
|
* @throws {@link ValidationException} (client fault)
|
|
@@ -48,6 +48,7 @@ declare const CreateBotApiKeyCommand_base: {
|
|
|
48
48
|
* // picture: "STRING_VALUE",
|
|
49
49
|
* // searchable: true || false,
|
|
50
50
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
51
|
+
* // groupId: "STRING_VALUE",
|
|
51
52
|
* // id: "STRING_VALUE", // required
|
|
52
53
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
53
54
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -40,6 +40,7 @@ declare const CreateBotCommand_base: {
|
|
|
40
40
|
* picture: "STRING_VALUE",
|
|
41
41
|
* searchable: true || false,
|
|
42
42
|
* access: "EVERYBODY" || "ORGANIZATION",
|
|
43
|
+
* groupId: "STRING_VALUE",
|
|
43
44
|
* company: "STRING_VALUE",
|
|
44
45
|
* callback: { // BotCallback
|
|
45
46
|
* endpoint: { // BotEndpoint Union: only one key present
|
|
@@ -157,6 +158,7 @@ declare const CreateBotCommand_base: {
|
|
|
157
158
|
* // picture: "STRING_VALUE",
|
|
158
159
|
* // searchable: true || false,
|
|
159
160
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
161
|
+
* // groupId: "STRING_VALUE",
|
|
160
162
|
* // id: "STRING_VALUE", // required
|
|
161
163
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
162
164
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -47,6 +47,7 @@ declare const GetBotCommand_base: {
|
|
|
47
47
|
* // picture: "STRING_VALUE",
|
|
48
48
|
* // searchable: true || false,
|
|
49
49
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
50
|
+
* // groupId: "STRING_VALUE",
|
|
50
51
|
* // id: "STRING_VALUE", // required
|
|
51
52
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
52
53
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -47,6 +47,7 @@ declare const ListBotsCommand_base: {
|
|
|
47
47
|
* // picture: "STRING_VALUE",
|
|
48
48
|
* // searchable: true || false,
|
|
49
49
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
50
|
+
* // groupId: "STRING_VALUE",
|
|
50
51
|
* // id: "STRING_VALUE", // required
|
|
51
52
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
52
53
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -40,6 +40,7 @@ declare const UpdateBotCommand_base: {
|
|
|
40
40
|
* picture: "STRING_VALUE",
|
|
41
41
|
* searchable: true || false,
|
|
42
42
|
* access: "EVERYBODY" || "ORGANIZATION",
|
|
43
|
+
* groupId: "STRING_VALUE",
|
|
43
44
|
* company: "STRING_VALUE",
|
|
44
45
|
* botId: "STRING_VALUE", // required
|
|
45
46
|
* };
|
|
@@ -52,6 +53,7 @@ declare const UpdateBotCommand_base: {
|
|
|
52
53
|
* // picture: "STRING_VALUE",
|
|
53
54
|
* // searchable: true || false,
|
|
54
55
|
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
56
|
+
* // groupId: "STRING_VALUE",
|
|
55
57
|
* // id: "STRING_VALUE", // required
|
|
56
58
|
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
57
59
|
* // integrationApiKeysCount: Number("int"), // required
|
|
@@ -227,6 +227,28 @@ export interface UserToInvite {
|
|
|
227
227
|
*/
|
|
228
228
|
colleague?: boolean | undefined;
|
|
229
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
export declare class ChannelNotFoundException extends __BaseException {
|
|
234
|
+
readonly name: "ChannelNotFoundException";
|
|
235
|
+
readonly $fault: "client";
|
|
236
|
+
/**
|
|
237
|
+
* @internal
|
|
238
|
+
*/
|
|
239
|
+
constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
export declare class WidgetNotFoundException extends __BaseException {
|
|
245
|
+
readonly name: "WidgetNotFoundException";
|
|
246
|
+
readonly $fault: "client";
|
|
247
|
+
/**
|
|
248
|
+
* @internal
|
|
249
|
+
*/
|
|
250
|
+
constructor(opts: __ExceptionOptionType<WidgetNotFoundException, __BaseException>);
|
|
251
|
+
}
|
|
230
252
|
/**
|
|
231
253
|
* @public
|
|
232
254
|
*/
|
|
@@ -679,6 +701,11 @@ export interface Bot {
|
|
|
679
701
|
* @public
|
|
680
702
|
*/
|
|
681
703
|
access?: BotAccess | undefined;
|
|
704
|
+
/**
|
|
705
|
+
* PBX group ID for ACL-based visibility in Sales Intelligence.
|
|
706
|
+
* @public
|
|
707
|
+
*/
|
|
708
|
+
groupId?: string | undefined;
|
|
682
709
|
id: string;
|
|
683
710
|
integrationType: BotIntegrationType;
|
|
684
711
|
integrationApiKeysCount: number;
|
|
@@ -1270,6 +1297,17 @@ export interface CreateAnonymousSessionInput {
|
|
|
1270
1297
|
export interface CreateAnonymousSessionOutput {
|
|
1271
1298
|
syntheticEmail: string;
|
|
1272
1299
|
}
|
|
1300
|
+
/**
|
|
1301
|
+
* @public
|
|
1302
|
+
*/
|
|
1303
|
+
export declare class PublicAccessIsRestrictedException extends __BaseException {
|
|
1304
|
+
readonly name: "PublicAccessIsRestrictedException";
|
|
1305
|
+
readonly $fault: "client";
|
|
1306
|
+
/**
|
|
1307
|
+
* @internal
|
|
1308
|
+
*/
|
|
1309
|
+
constructor(opts: __ExceptionOptionType<PublicAccessIsRestrictedException, __BaseException>);
|
|
1310
|
+
}
|
|
1273
1311
|
/**
|
|
1274
1312
|
* @public
|
|
1275
1313
|
*/
|
|
@@ -1295,6 +1333,11 @@ export interface CreateBotInput {
|
|
|
1295
1333
|
* @public
|
|
1296
1334
|
*/
|
|
1297
1335
|
access?: BotAccess | undefined;
|
|
1336
|
+
/**
|
|
1337
|
+
* PBX group ID for ACL-based visibility in Sales Intelligence.
|
|
1338
|
+
* @public
|
|
1339
|
+
*/
|
|
1340
|
+
groupId?: string | undefined;
|
|
1298
1341
|
company?: string | undefined;
|
|
1299
1342
|
callback: BotCallback;
|
|
1300
1343
|
}
|
|
@@ -2097,6 +2140,11 @@ export interface UpdateBotInput {
|
|
|
2097
2140
|
* @public
|
|
2098
2141
|
*/
|
|
2099
2142
|
access?: BotAccess | undefined;
|
|
2143
|
+
/**
|
|
2144
|
+
* PBX group ID for ACL-based visibility in Sales Intelligence.
|
|
2145
|
+
* @public
|
|
2146
|
+
*/
|
|
2147
|
+
groupId?: string | undefined;
|
|
2100
2148
|
company?: string | undefined;
|
|
2101
2149
|
botId: string;
|
|
2102
2150
|
}
|
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": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
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",
|