@wildix/xbees-users-client 1.0.44 → 1.0.45
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 +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/BatchGetUsersCommand.d.ts +2 -3
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +2 -2
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +2 -2
- package/dist-types/commands/CreateBotCommand.d.ts +5 -2
- package/dist-types/commands/CreateSystemBotCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBotCommand.d.ts +2 -2
- package/dist-types/commands/GetBotCallbackCommand.d.ts +5 -2
- package/dist-types/commands/GetBotCommand.d.ts +2 -2
- package/dist-types/commands/GetUserCommand.d.ts +2 -3
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +2 -2
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +2 -2
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +2 -2
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +2 -2
- package/dist-types/commands/ListBotsCommand.d.ts +2 -2
- package/dist-types/commands/QueryColleaguesCommand.d.ts +2 -3
- package/dist-types/commands/QueryUserCommand.d.ts +2 -3
- package/dist-types/commands/QueryUsersCommand.d.ts +2 -3
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +8 -2
- package/dist-types/commands/UpdateBotCommand.d.ts +2 -2
- package/dist-types/commands/UploadPictureCommand.d.ts +2 -2
- package/dist-types/commands/UploadPictureV1Command.d.ts +2 -3
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +2 -2
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +19 -2
- package/package.json +1 -1
|
@@ -122,6 +122,8 @@ var BotLlmFunctionIntegration;
|
|
|
122
122
|
BotLlmFunctionIntegration.visit = (value, visitor) => {
|
|
123
123
|
if (value.webhook !== undefined)
|
|
124
124
|
return visitor.webhook(value.webhook);
|
|
125
|
+
if (value.tool !== undefined)
|
|
126
|
+
return visitor.tool(value.tool);
|
|
125
127
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
126
128
|
};
|
|
127
129
|
})(BotLlmFunctionIntegration || (exports.BotLlmFunctionIntegration = BotLlmFunctionIntegration = {}));
|
|
@@ -1251,6 +1251,7 @@ const se_BotLlmFunctionDefinition = (input, context) => {
|
|
|
1251
1251
|
};
|
|
1252
1252
|
const se_BotLlmFunctionIntegration = (input, context) => {
|
|
1253
1253
|
return models_0_1.BotLlmFunctionIntegration.visit(input, {
|
|
1254
|
+
tool: value => ({ "tool": (0, smithy_client_1._json)(value) }),
|
|
1254
1255
|
webhook: value => ({ "webhook": se_BotLlmFunctionIntegrationWebhook(value, context) }),
|
|
1255
1256
|
_: (name, value) => ({ [name]: value })
|
|
1256
1257
|
});
|
|
@@ -1350,6 +1351,11 @@ const de_BotLlmFunctionDefinition = (output, context) => {
|
|
|
1350
1351
|
});
|
|
1351
1352
|
};
|
|
1352
1353
|
const de_BotLlmFunctionIntegration = (output, context) => {
|
|
1354
|
+
if (output.tool != null) {
|
|
1355
|
+
return {
|
|
1356
|
+
tool: (0, smithy_client_1._json)(output.tool)
|
|
1357
|
+
};
|
|
1358
|
+
}
|
|
1353
1359
|
if (output.webhook != null) {
|
|
1354
1360
|
return {
|
|
1355
1361
|
webhook: de_BotLlmFunctionIntegrationWebhook(output.webhook, context)
|
|
@@ -116,6 +116,8 @@ export var BotLlmFunctionIntegration;
|
|
|
116
116
|
BotLlmFunctionIntegration.visit = (value, visitor) => {
|
|
117
117
|
if (value.webhook !== undefined)
|
|
118
118
|
return visitor.webhook(value.webhook);
|
|
119
|
+
if (value.tool !== undefined)
|
|
120
|
+
return visitor.tool(value.tool);
|
|
119
121
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
120
122
|
};
|
|
121
123
|
})(BotLlmFunctionIntegration || (BotLlmFunctionIntegration = {}));
|
|
@@ -1181,6 +1181,7 @@ const se_BotLlmFunctionDefinition = (input, context) => {
|
|
|
1181
1181
|
};
|
|
1182
1182
|
const se_BotLlmFunctionIntegration = (input, context) => {
|
|
1183
1183
|
return BotLlmFunctionIntegration.visit(input, {
|
|
1184
|
+
tool: value => ({ "tool": _json(value) }),
|
|
1184
1185
|
webhook: value => ({ "webhook": se_BotLlmFunctionIntegrationWebhook(value, context) }),
|
|
1185
1186
|
_: (name, value) => ({ [name]: value })
|
|
1186
1187
|
});
|
|
@@ -1280,6 +1281,11 @@ const de_BotLlmFunctionDefinition = (output, context) => {
|
|
|
1280
1281
|
});
|
|
1281
1282
|
};
|
|
1282
1283
|
const de_BotLlmFunctionIntegration = (output, context) => {
|
|
1284
|
+
if (output.tool != null) {
|
|
1285
|
+
return {
|
|
1286
|
+
tool: _json(output.tool)
|
|
1287
|
+
};
|
|
1288
|
+
}
|
|
1283
1289
|
if (output.webhook != null) {
|
|
1284
1290
|
return {
|
|
1285
1291
|
webhook: de_BotLlmFunctionIntegrationWebhook(output.webhook, context)
|
|
@@ -27,7 +27,8 @@ declare const BatchGetUsersCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -58,7 +59,6 @@ declare const BatchGetUsersCommand_base: {
|
|
|
58
59
|
* // pbxExtension: "STRING_VALUE",
|
|
59
60
|
* // pbxSerial: "STRING_VALUE",
|
|
60
61
|
* // pbxUserId: "STRING_VALUE",
|
|
61
|
-
* // pbxGroupId: "STRING_VALUE",
|
|
62
62
|
* // createdAt: "STRING_VALUE",
|
|
63
63
|
* // updatedAt: "STRING_VALUE",
|
|
64
64
|
* // },
|
|
@@ -81,7 +81,6 @@ declare const BatchGetUsersCommand_base: {
|
|
|
81
81
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
82
82
|
*
|
|
83
83
|
*
|
|
84
|
-
* @public
|
|
85
84
|
*/
|
|
86
85
|
export declare class BatchGetUsersCommand extends BatchGetUsersCommand_base {
|
|
87
86
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const BatchGetUsersPbxLinkDataCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -117,7 +118,6 @@ declare const BatchGetUsersPbxLinkDataCommand_base: {
|
|
|
117
118
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
118
119
|
*
|
|
119
120
|
*
|
|
120
|
-
* @public
|
|
121
121
|
*/
|
|
122
122
|
export declare class BatchGetUsersPbxLinkDataCommand extends BatchGetUsersPbxLinkDataCommand_base {
|
|
123
123
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const BatchGetUsersPbxLinkDataV1Command_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -117,7 +118,6 @@ declare const BatchGetUsersPbxLinkDataV1Command_base: {
|
|
|
117
118
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
118
119
|
*
|
|
119
120
|
*
|
|
120
|
-
* @public
|
|
121
121
|
*/
|
|
122
122
|
export declare class BatchGetUsersPbxLinkDataV1Command extends BatchGetUsersPbxLinkDataV1Command_base {
|
|
123
123
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const CreateBotApiKeyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -78,7 +79,6 @@ declare const CreateBotApiKeyCommand_base: {
|
|
|
78
79
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
79
80
|
*
|
|
80
81
|
*
|
|
81
|
-
* @public
|
|
82
82
|
*/
|
|
83
83
|
export declare class CreateBotApiKeyCommand extends CreateBotApiKeyCommand_base {
|
|
84
84
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const CreateBotCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -87,6 +88,9 @@ declare const CreateBotCommand_base: {
|
|
|
87
88
|
* timeout: Number("int"),
|
|
88
89
|
* parameters: "DOCUMENT_VALUE",
|
|
89
90
|
* },
|
|
91
|
+
* tool: { // BotLlmFunctionIntegrationTool
|
|
92
|
+
* toolId: "STRING_VALUE", // required
|
|
93
|
+
* },
|
|
90
94
|
* },
|
|
91
95
|
* },
|
|
92
96
|
* },
|
|
@@ -146,7 +150,6 @@ declare const CreateBotCommand_base: {
|
|
|
146
150
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
147
151
|
*
|
|
148
152
|
*
|
|
149
|
-
* @public
|
|
150
153
|
*/
|
|
151
154
|
export declare class CreateBotCommand extends CreateBotCommand_base {
|
|
152
155
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const CreateSystemBotCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -61,7 +62,6 @@ declare const CreateSystemBotCommand_base: {
|
|
|
61
62
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
62
63
|
*
|
|
63
64
|
*
|
|
64
|
-
* @public
|
|
65
65
|
*/
|
|
66
66
|
export declare class CreateSystemBotCommand extends CreateSystemBotCommand_base {
|
|
67
67
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const DeleteBotApiKeyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -63,7 +64,6 @@ declare const DeleteBotApiKeyCommand_base: {
|
|
|
63
64
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
64
65
|
*
|
|
65
66
|
*
|
|
66
|
-
* @public
|
|
67
67
|
*/
|
|
68
68
|
export declare class DeleteBotApiKeyCommand extends DeleteBotApiKeyCommand_base {
|
|
69
69
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const DeleteBotCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -60,7 +61,6 @@ declare const DeleteBotCommand_base: {
|
|
|
60
61
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
61
62
|
*
|
|
62
63
|
*
|
|
63
|
-
* @public
|
|
64
64
|
*/
|
|
65
65
|
export declare class DeleteBotCommand extends DeleteBotCommand_base {
|
|
66
66
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const GetBotCallbackCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -88,6 +89,9 @@ declare const GetBotCallbackCommand_base: {
|
|
|
88
89
|
* // timeout: Number("int"),
|
|
89
90
|
* // parameters: "DOCUMENT_VALUE",
|
|
90
91
|
* // },
|
|
92
|
+
* // tool: { // BotLlmFunctionIntegrationTool
|
|
93
|
+
* // toolId: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
91
95
|
* // },
|
|
92
96
|
* // },
|
|
93
97
|
* // },
|
|
@@ -134,7 +138,6 @@ declare const GetBotCallbackCommand_base: {
|
|
|
134
138
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
135
139
|
*
|
|
136
140
|
*
|
|
137
|
-
* @public
|
|
138
141
|
*/
|
|
139
142
|
export declare class GetBotCallbackCommand extends GetBotCallbackCommand_base {
|
|
140
143
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const GetBotCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -72,7 +73,6 @@ declare const GetBotCommand_base: {
|
|
|
72
73
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
73
74
|
*
|
|
74
75
|
*
|
|
75
|
-
* @public
|
|
76
76
|
*/
|
|
77
77
|
export declare class GetBotCommand extends GetBotCommand_base {
|
|
78
78
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const GetUserCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -55,7 +56,6 @@ declare const GetUserCommand_base: {
|
|
|
55
56
|
* // pbxExtension: "STRING_VALUE",
|
|
56
57
|
* // pbxSerial: "STRING_VALUE",
|
|
57
58
|
* // pbxUserId: "STRING_VALUE",
|
|
58
|
-
* // pbxGroupId: "STRING_VALUE",
|
|
59
59
|
* // createdAt: "STRING_VALUE",
|
|
60
60
|
* // updatedAt: "STRING_VALUE",
|
|
61
61
|
* // },
|
|
@@ -79,7 +79,6 @@ declare const GetUserCommand_base: {
|
|
|
79
79
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
80
80
|
*
|
|
81
81
|
*
|
|
82
|
-
* @public
|
|
83
82
|
*/
|
|
84
83
|
export declare class GetUserCommand extends GetUserCommand_base {
|
|
85
84
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const GetUserPbxLinkDataCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -115,7 +116,6 @@ declare const GetUserPbxLinkDataCommand_base: {
|
|
|
115
116
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
116
117
|
*
|
|
117
118
|
*
|
|
118
|
-
* @public
|
|
119
119
|
*/
|
|
120
120
|
export declare class GetUserPbxLinkDataCommand extends GetUserPbxLinkDataCommand_base {
|
|
121
121
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const GetUserPbxLinkSuggestionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -62,7 +63,6 @@ declare const GetUserPbxLinkSuggestionCommand_base: {
|
|
|
62
63
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
63
64
|
*
|
|
64
65
|
*
|
|
65
|
-
* @public
|
|
66
66
|
*/
|
|
67
67
|
export declare class GetUserPbxLinkSuggestionCommand extends GetUserPbxLinkSuggestionCommand_base {
|
|
68
68
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const GetUserPbxLinkSuggestionV1Command_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -62,7 +63,6 @@ declare const GetUserPbxLinkSuggestionV1Command_base: {
|
|
|
62
63
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
63
64
|
*
|
|
64
65
|
*
|
|
65
|
-
* @public
|
|
66
66
|
*/
|
|
67
67
|
export declare class GetUserPbxLinkSuggestionV1Command extends GetUserPbxLinkSuggestionV1Command_base {
|
|
68
68
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const ListBotApiKeysCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -66,7 +67,6 @@ declare const ListBotApiKeysCommand_base: {
|
|
|
66
67
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
67
68
|
*
|
|
68
69
|
*
|
|
69
|
-
* @public
|
|
70
70
|
*/
|
|
71
71
|
export declare class ListBotApiKeysCommand extends ListBotApiKeysCommand_base {
|
|
72
72
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const ListBotsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -71,7 +72,6 @@ declare const ListBotsCommand_base: {
|
|
|
71
72
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
72
73
|
*
|
|
73
74
|
*
|
|
74
|
-
* @public
|
|
75
75
|
*/
|
|
76
76
|
export declare class ListBotsCommand extends ListBotsCommand_base {
|
|
77
77
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const QueryColleaguesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -88,7 +89,6 @@ declare const QueryColleaguesCommand_base: {
|
|
|
88
89
|
* // pbxExtension: "STRING_VALUE",
|
|
89
90
|
* // pbxSerial: "STRING_VALUE",
|
|
90
91
|
* // pbxUserId: "STRING_VALUE",
|
|
91
|
-
* // pbxGroupId: "STRING_VALUE",
|
|
92
92
|
* // createdAt: "STRING_VALUE",
|
|
93
93
|
* // updatedAt: "STRING_VALUE",
|
|
94
94
|
* // },
|
|
@@ -135,7 +135,6 @@ declare const QueryColleaguesCommand_base: {
|
|
|
135
135
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
136
136
|
*
|
|
137
137
|
*
|
|
138
|
-
* @public
|
|
139
138
|
*/
|
|
140
139
|
export declare class QueryColleaguesCommand extends QueryColleaguesCommand_base {
|
|
141
140
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const QueryUserCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -62,7 +63,6 @@ declare const QueryUserCommand_base: {
|
|
|
62
63
|
* // pbxExtension: "STRING_VALUE",
|
|
63
64
|
* // pbxSerial: "STRING_VALUE",
|
|
64
65
|
* // pbxUserId: "STRING_VALUE",
|
|
65
|
-
* // pbxGroupId: "STRING_VALUE",
|
|
66
66
|
* // createdAt: "STRING_VALUE",
|
|
67
67
|
* // updatedAt: "STRING_VALUE",
|
|
68
68
|
* // },
|
|
@@ -88,7 +88,6 @@ declare const QueryUserCommand_base: {
|
|
|
88
88
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
89
89
|
*
|
|
90
90
|
*
|
|
91
|
-
* @public
|
|
92
91
|
*/
|
|
93
92
|
export declare class QueryUserCommand extends QueryUserCommand_base {
|
|
94
93
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const QueryUsersCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -65,7 +66,6 @@ declare const QueryUsersCommand_base: {
|
|
|
65
66
|
* // pbxExtension: "STRING_VALUE",
|
|
66
67
|
* // pbxSerial: "STRING_VALUE",
|
|
67
68
|
* // pbxUserId: "STRING_VALUE",
|
|
68
|
-
* // pbxGroupId: "STRING_VALUE",
|
|
69
69
|
* // createdAt: "STRING_VALUE",
|
|
70
70
|
* // updatedAt: "STRING_VALUE",
|
|
71
71
|
* // },
|
|
@@ -88,7 +88,6 @@ declare const QueryUsersCommand_base: {
|
|
|
88
88
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
89
89
|
*
|
|
90
90
|
*
|
|
91
|
-
* @public
|
|
92
91
|
*/
|
|
93
92
|
export declare class QueryUsersCommand extends QueryUsersCommand_base {
|
|
94
93
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const UpdateBotCallbackCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -84,6 +85,9 @@ declare const UpdateBotCallbackCommand_base: {
|
|
|
84
85
|
* timeout: Number("int"),
|
|
85
86
|
* parameters: "DOCUMENT_VALUE",
|
|
86
87
|
* },
|
|
88
|
+
* tool: { // BotLlmFunctionIntegrationTool
|
|
89
|
+
* toolId: "STRING_VALUE", // required
|
|
90
|
+
* },
|
|
87
91
|
* },
|
|
88
92
|
* },
|
|
89
93
|
* },
|
|
@@ -161,6 +165,9 @@ declare const UpdateBotCallbackCommand_base: {
|
|
|
161
165
|
* // timeout: Number("int"),
|
|
162
166
|
* // parameters: "DOCUMENT_VALUE",
|
|
163
167
|
* // },
|
|
168
|
+
* // tool: { // BotLlmFunctionIntegrationTool
|
|
169
|
+
* // toolId: "STRING_VALUE", // required
|
|
170
|
+
* // },
|
|
164
171
|
* // },
|
|
165
172
|
* // },
|
|
166
173
|
* // },
|
|
@@ -205,7 +212,6 @@ declare const UpdateBotCallbackCommand_base: {
|
|
|
205
212
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
206
213
|
*
|
|
207
214
|
*
|
|
208
|
-
* @public
|
|
209
215
|
*/
|
|
210
216
|
export declare class UpdateBotCallbackCommand extends UpdateBotCallbackCommand_base {
|
|
211
217
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const UpdateBotCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -74,7 +75,6 @@ declare const UpdateBotCommand_base: {
|
|
|
74
75
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
75
76
|
*
|
|
76
77
|
*
|
|
77
|
-
* @public
|
|
78
78
|
*/
|
|
79
79
|
export declare class UpdateBotCommand extends UpdateBotCommand_base {
|
|
80
80
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const UploadPictureCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -59,7 +60,6 @@ declare const UploadPictureCommand_base: {
|
|
|
59
60
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
60
61
|
*
|
|
61
62
|
*
|
|
62
|
-
* @public
|
|
63
63
|
*/
|
|
64
64
|
export declare class UploadPictureCommand extends UploadPictureCommand_base {
|
|
65
65
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,9 +27,9 @@ declare const UploadPictureV1Command_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* @public
|
|
32
31
|
* @deprecated
|
|
32
|
+
*
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -61,7 +61,6 @@ declare const UploadPictureV1Command_base: {
|
|
|
61
61
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
62
62
|
*
|
|
63
63
|
*
|
|
64
|
-
* @public
|
|
65
64
|
*/
|
|
66
65
|
export declare class UploadPictureV1Command extends UploadPictureV1Command_base {
|
|
67
66
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const VerifyBotSecretKeyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -63,7 +64,6 @@ declare const VerifyBotSecretKeyCommand_base: {
|
|
|
63
64
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
64
65
|
*
|
|
65
66
|
*
|
|
66
|
-
* @public
|
|
67
67
|
*/
|
|
68
68
|
export declare class VerifyBotSecretKeyCommand extends VerifyBotSecretKeyCommand_base {
|
|
69
69
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,7 +27,8 @@ declare const VerifyBotSecretKeyV1Command_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -63,7 +64,6 @@ declare const VerifyBotSecretKeyV1Command_base: {
|
|
|
63
64
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
64
65
|
*
|
|
65
66
|
*
|
|
66
|
-
* @public
|
|
67
67
|
*/
|
|
68
68
|
export declare class VerifyBotSecretKeyV1Command extends VerifyBotSecretKeyV1Command_base {
|
|
69
69
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -56,7 +56,6 @@ export interface User {
|
|
|
56
56
|
pbxExtension?: string | undefined;
|
|
57
57
|
pbxSerial?: string | undefined;
|
|
58
58
|
pbxUserId?: string | undefined;
|
|
59
|
-
pbxGroupId?: string | undefined;
|
|
60
59
|
createdAt?: string | undefined;
|
|
61
60
|
updatedAt?: string | undefined;
|
|
62
61
|
}
|
|
@@ -619,6 +618,16 @@ export interface BotLlmEmbeddedTool {
|
|
|
619
618
|
*/
|
|
620
619
|
parameters?: __DocumentType | undefined;
|
|
621
620
|
}
|
|
621
|
+
/**
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
624
|
+
export interface BotLlmFunctionIntegrationTool {
|
|
625
|
+
/**
|
|
626
|
+
* The ID of the AI Tool from wim-tools service
|
|
627
|
+
* @public
|
|
628
|
+
*/
|
|
629
|
+
toolId: string;
|
|
630
|
+
}
|
|
622
631
|
/**
|
|
623
632
|
* @public
|
|
624
633
|
*/
|
|
@@ -725,13 +734,19 @@ export interface BotLlmFunctionIntegrationWebhook {
|
|
|
725
734
|
/**
|
|
726
735
|
* @public
|
|
727
736
|
*/
|
|
728
|
-
export type BotLlmFunctionIntegration = BotLlmFunctionIntegration.WebhookMember | BotLlmFunctionIntegration.$UnknownMember;
|
|
737
|
+
export type BotLlmFunctionIntegration = BotLlmFunctionIntegration.ToolMember | BotLlmFunctionIntegration.WebhookMember | BotLlmFunctionIntegration.$UnknownMember;
|
|
729
738
|
/**
|
|
730
739
|
* @public
|
|
731
740
|
*/
|
|
732
741
|
export declare namespace BotLlmFunctionIntegration {
|
|
733
742
|
interface WebhookMember {
|
|
734
743
|
webhook: BotLlmFunctionIntegrationWebhook;
|
|
744
|
+
tool?: never;
|
|
745
|
+
$unknown?: never;
|
|
746
|
+
}
|
|
747
|
+
interface ToolMember {
|
|
748
|
+
webhook?: never;
|
|
749
|
+
tool: BotLlmFunctionIntegrationTool;
|
|
735
750
|
$unknown?: never;
|
|
736
751
|
}
|
|
737
752
|
/**
|
|
@@ -739,10 +754,12 @@ export declare namespace BotLlmFunctionIntegration {
|
|
|
739
754
|
*/
|
|
740
755
|
interface $UnknownMember {
|
|
741
756
|
webhook?: never;
|
|
757
|
+
tool?: never;
|
|
742
758
|
$unknown: [string, any];
|
|
743
759
|
}
|
|
744
760
|
interface Visitor<T> {
|
|
745
761
|
webhook: (value: BotLlmFunctionIntegrationWebhook) => T;
|
|
762
|
+
tool: (value: BotLlmFunctionIntegrationTool) => T;
|
|
746
763
|
_: (name: string, value: any) => T;
|
|
747
764
|
}
|
|
748
765
|
const visit: <T>(value: BotLlmFunctionIntegration, visitor: Visitor<T>) => T;
|
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.0.
|
|
4
|
+
"version": "1.0.45",
|
|
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",
|