@wildix/xbees-users-client 1.0.34 → 1.0.36

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.
Files changed (35) hide show
  1. package/dist-cjs/Users.js +12 -0
  2. package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +21 -0
  4. package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +21 -0
  5. package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +21 -0
  6. package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +21 -0
  7. package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +21 -0
  8. package/dist-cjs/commands/index.js +6 -0
  9. package/dist-cjs/models/models_0.js +13 -13
  10. package/dist-cjs/protocols/Aws_restJson1.js +239 -59
  11. package/dist-es/Users.js +12 -0
  12. package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +17 -0
  13. package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +17 -0
  14. package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +17 -0
  15. package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +17 -0
  16. package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +17 -0
  17. package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +17 -0
  18. package/dist-es/commands/index.js +6 -0
  19. package/dist-es/models/models_0.js +12 -12
  20. package/dist-es/protocols/Aws_restJson1.js +226 -58
  21. package/dist-types/Users.d.ts +42 -0
  22. package/dist-types/UsersClient.d.ts +8 -2
  23. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +71 -0
  24. package/dist-types/commands/CreateBotCommand.d.ts +13 -13
  25. package/dist-types/commands/GetBotCallbackCommand.d.ts +13 -13
  26. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +69 -0
  27. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  28. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +63 -0
  29. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +63 -0
  30. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +26 -26
  31. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  32. package/dist-types/commands/index.d.ts +6 -0
  33. package/dist-types/models/models_0.d.ts +171 -40
  34. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  35. package/package.json +2 -2
package/dist-cjs/Users.js CHANGED
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Users = void 0;
4
4
  const UsersClient_1 = require("./UsersClient");
5
5
  const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
6
+ const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
6
7
  const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
7
8
  const BatchGetUsersPbxLinkDataV1Command_1 = require("./commands/BatchGetUsersPbxLinkDataV1Command");
8
9
  const ChangeUserEmailCommand_1 = require("./commands/ChangeUserEmailCommand");
@@ -14,16 +15,21 @@ const DeleteBotCommand_1 = require("./commands/DeleteBotCommand");
14
15
  const GetBotCallbackCommand_1 = require("./commands/GetBotCallbackCommand");
15
16
  const GetBotCommand_1 = require("./commands/GetBotCommand");
16
17
  const GetUserCommand_1 = require("./commands/GetUserCommand");
18
+ const GetUserEmailNotificationsSettingsCommand_1 = require("./commands/GetUserEmailNotificationsSettingsCommand");
17
19
  const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataCommand");
18
20
  const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSuggestionCommand");
19
21
  const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
20
22
  const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
21
23
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
24
+ const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/PartialUpdateUserEmailNotificationsSettingsCommand");
22
25
  const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
23
26
  const QueryUserCommand_1 = require("./commands/QueryUserCommand");
24
27
  const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
28
+ const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
29
+ const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
25
30
  const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
26
31
  const UpdateBotCommand_1 = require("./commands/UpdateBotCommand");
32
+ const UpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/UpdateUserEmailNotificationsSettingsCommand");
27
33
  const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
28
34
  const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
29
35
  const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
@@ -31,6 +37,7 @@ const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Co
31
37
  const smithy_client_1 = require("@smithy/smithy-client");
32
38
  const commands = {
33
39
  BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
40
+ BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
34
41
  BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
35
42
  BatchGetUsersPbxLinkDataV1Command: BatchGetUsersPbxLinkDataV1Command_1.BatchGetUsersPbxLinkDataV1Command,
36
43
  ChangeUserEmailCommand: ChangeUserEmailCommand_1.ChangeUserEmailCommand,
@@ -42,16 +49,21 @@ const commands = {
42
49
  GetBotCommand: GetBotCommand_1.GetBotCommand,
43
50
  GetBotCallbackCommand: GetBotCallbackCommand_1.GetBotCallbackCommand,
44
51
  GetUserCommand: GetUserCommand_1.GetUserCommand,
52
+ GetUserEmailNotificationsSettingsCommand: GetUserEmailNotificationsSettingsCommand_1.GetUserEmailNotificationsSettingsCommand,
45
53
  GetUserPbxLinkDataCommand: GetUserPbxLinkDataCommand_1.GetUserPbxLinkDataCommand,
46
54
  GetUserPbxLinkSuggestionCommand: GetUserPbxLinkSuggestionCommand_1.GetUserPbxLinkSuggestionCommand,
47
55
  GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
48
56
  ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
49
57
  ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
58
+ PartialUpdateUserEmailNotificationsSettingsCommand: PartialUpdateUserEmailNotificationsSettingsCommand_1.PartialUpdateUserEmailNotificationsSettingsCommand,
50
59
  QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
51
60
  QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
52
61
  QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
62
+ ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
63
+ ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
53
64
  UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
54
65
  UpdateBotCallbackCommand: UpdateBotCallbackCommand_1.UpdateBotCallbackCommand,
66
+ UpdateUserEmailNotificationsSettingsCommand: UpdateUserEmailNotificationsSettingsCommand_1.UpdateUserEmailNotificationsSettingsCommand,
55
67
  UploadPictureCommand: UploadPictureCommand_1.UploadPictureCommand,
56
68
  UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
57
69
  VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetUsersEmailNotificationsSettingsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class BatchGetUsersEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "BatchGetUsersEmailNotificationsSettings", {})
15
+ .n("UsersClient", "BatchGetUsersEmailNotificationsSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_BatchGetUsersEmailNotificationsSettingsCommand)
18
+ .de(Aws_restJson1_1.de_BatchGetUsersEmailNotificationsSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.BatchGetUsersEmailNotificationsSettingsCommand = BatchGetUsersEmailNotificationsSettingsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetUserEmailNotificationsSettingsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetUserEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "GetUserEmailNotificationsSettings", {})
15
+ .n("UsersClient", "GetUserEmailNotificationsSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetUserEmailNotificationsSettingsCommand)
18
+ .de(Aws_restJson1_1.de_GetUserEmailNotificationsSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.GetUserEmailNotificationsSettingsCommand = GetUserEmailNotificationsSettingsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PartialUpdateUserEmailNotificationsSettingsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class PartialUpdateUserEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "PartialUpdateUserEmailNotificationsSettings", {})
15
+ .n("UsersClient", "PartialUpdateUserEmailNotificationsSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_PartialUpdateUserEmailNotificationsSettingsCommand)
18
+ .de(Aws_restJson1_1.de_PartialUpdateUserEmailNotificationsSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.PartialUpdateUserEmailNotificationsSettingsCommand = PartialUpdateUserEmailNotificationsSettingsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class ToggleTranscriptionEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "ToggleTranscriptionEmailNotificationsSubscription", {})
15
+ .n("UsersClient", "ToggleTranscriptionEmailNotificationsSubscriptionCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
18
+ .de(Aws_restJson1_1.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
19
+ .build() {
20
+ }
21
+ exports.ToggleTranscriptionEmailNotificationsSubscriptionCommand = ToggleTranscriptionEmailNotificationsSubscriptionCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ToggleUnreadEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class ToggleUnreadEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "ToggleUnreadEmailNotificationsSubscription", {})
15
+ .n("UsersClient", "ToggleUnreadEmailNotificationsSubscriptionCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ToggleUnreadEmailNotificationsSubscriptionCommand)
18
+ .de(Aws_restJson1_1.de_ToggleUnreadEmailNotificationsSubscriptionCommand)
19
+ .build() {
20
+ }
21
+ exports.ToggleUnreadEmailNotificationsSubscriptionCommand = ToggleUnreadEmailNotificationsSubscriptionCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateUserEmailNotificationsSettingsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class UpdateUserEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "UpdateUserEmailNotificationsSettings", {})
15
+ .n("UsersClient", "UpdateUserEmailNotificationsSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_UpdateUserEmailNotificationsSettingsCommand)
18
+ .de(Aws_restJson1_1.de_UpdateUserEmailNotificationsSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.UpdateUserEmailNotificationsSettingsCommand = UpdateUserEmailNotificationsSettingsCommand;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
5
+ tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
5
6
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
6
7
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
7
8
  tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
@@ -13,16 +14,21 @@ tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
13
14
  tslib_1.__exportStar(require("./GetBotCommand"), exports);
14
15
  tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
15
16
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
17
+ tslib_1.__exportStar(require("./GetUserEmailNotificationsSettingsCommand"), exports);
16
18
  tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
17
19
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
18
20
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
19
21
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
20
22
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
23
+ tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsCommand"), exports);
21
24
  tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
22
25
  tslib_1.__exportStar(require("./QueryUserCommand"), exports);
23
26
  tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
27
+ tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
28
+ tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
24
29
  tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
25
30
  tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
31
+ tslib_1.__exportStar(require("./UpdateUserEmailNotificationsSettingsCommand"), exports);
26
32
  tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
27
33
  tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
28
34
  tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotToolType = exports.BotFunctionIntegration = exports.BotFunctionIntegrationMethod = exports.BotFunctionIntegrationWebhookAuthorization = exports.BotEmbeddedToolType = exports.BotApiKeyNotFoundException = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ForbiddenException = exports.ValidationException = void 0;
3
+ exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotLlmToolType = exports.BotLlmFunctionIntegration = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmEmbeddedToolType = exports.BotApiKeyNotFoundException = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ForbiddenException = exports.ValidationException = void 0;
4
4
  const UsersServiceException_1 = require("./UsersServiceException");
5
5
  class ValidationException extends UsersServiceException_1.UsersServiceException {
6
6
  constructor(opts) {
@@ -82,13 +82,13 @@ class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceExc
82
82
  }
83
83
  }
84
84
  exports.BotApiKeyNotFoundException = BotApiKeyNotFoundException;
85
- exports.BotEmbeddedToolType = {
85
+ exports.BotLlmEmbeddedToolType = {
86
86
  DELEGATE: "DELEGATE",
87
- TRANSFER: "HANDOVER",
87
+ HANDOVER: "HANDOVER",
88
88
  };
89
- var BotFunctionIntegrationWebhookAuthorization;
90
- (function (BotFunctionIntegrationWebhookAuthorization) {
91
- BotFunctionIntegrationWebhookAuthorization.visit = (value, visitor) => {
89
+ var BotLlmFunctionIntegrationWebhookAuthorization;
90
+ (function (BotLlmFunctionIntegrationWebhookAuthorization) {
91
+ BotLlmFunctionIntegrationWebhookAuthorization.visit = (value, visitor) => {
92
92
  if (value.bearer !== undefined)
93
93
  return visitor.bearer(value.bearer);
94
94
  if (value.basic !== undefined)
@@ -97,23 +97,23 @@ var BotFunctionIntegrationWebhookAuthorization;
97
97
  return visitor.oauth(value.oauth);
98
98
  return visitor._(value.$unknown[0], value.$unknown[1]);
99
99
  };
100
- })(BotFunctionIntegrationWebhookAuthorization = exports.BotFunctionIntegrationWebhookAuthorization || (exports.BotFunctionIntegrationWebhookAuthorization = {}));
101
- exports.BotFunctionIntegrationMethod = {
100
+ })(BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmFunctionIntegrationWebhookAuthorization || (exports.BotLlmFunctionIntegrationWebhookAuthorization = {}));
101
+ exports.BotLlmFunctionIntegrationMethod = {
102
102
  DELETE: "delete",
103
103
  GET: "get",
104
104
  PATCH: "patch",
105
105
  POST: "post",
106
106
  PUT: "put",
107
107
  };
108
- var BotFunctionIntegration;
109
- (function (BotFunctionIntegration) {
110
- BotFunctionIntegration.visit = (value, visitor) => {
108
+ var BotLlmFunctionIntegration;
109
+ (function (BotLlmFunctionIntegration) {
110
+ BotLlmFunctionIntegration.visit = (value, visitor) => {
111
111
  if (value.webhook !== undefined)
112
112
  return visitor.webhook(value.webhook);
113
113
  return visitor._(value.$unknown[0], value.$unknown[1]);
114
114
  };
115
- })(BotFunctionIntegration = exports.BotFunctionIntegration || (exports.BotFunctionIntegration = {}));
116
- exports.BotToolType = {
115
+ })(BotLlmFunctionIntegration = exports.BotLlmFunctionIntegration || (exports.BotLlmFunctionIntegration = {}));
116
+ exports.BotLlmToolType = {
117
117
  FUNCTION: "function",
118
118
  };
119
119
  var BotEndpoint;