@wildix/xbees-users-client 1.0.40 → 1.0.41
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/protocols/Aws_restJson1.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -1
- package/dist-types/commands/CreateBotCommand.d.ts +1 -0
- package/dist-types/commands/GetBotCallbackCommand.d.ts +1 -0
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +2 -0
- package/dist-types/commands/UploadPictureV1Command.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/package.json +2 -2
|
@@ -1261,6 +1261,7 @@ const se_BotLlmFunctionIntegrationWebhook = (input, context) => {
|
|
|
1261
1261
|
'headers': smithy_client_1._json,
|
|
1262
1262
|
'method': [],
|
|
1263
1263
|
'parameters': _ => se_Document(_, context),
|
|
1264
|
+
'timeout': [],
|
|
1264
1265
|
'url': [],
|
|
1265
1266
|
});
|
|
1266
1267
|
};
|
|
@@ -1362,6 +1363,7 @@ const de_BotLlmFunctionIntegrationWebhook = (output, context) => {
|
|
|
1362
1363
|
'headers': smithy_client_1._json,
|
|
1363
1364
|
'method': smithy_client_1.expectString,
|
|
1364
1365
|
'parameters': (_) => de_Document(_, context),
|
|
1366
|
+
'timeout': smithy_client_1.expectInt32,
|
|
1365
1367
|
'url': smithy_client_1.expectString,
|
|
1366
1368
|
});
|
|
1367
1369
|
};
|
|
@@ -2,7 +2,7 @@ import { UsersServiceException as __BaseException } from "../models/UsersService
|
|
|
2
2
|
import { BotApiKeyNotFoundException, BotEndpoint, BotLlmFunctionIntegration, BotNotFoundException, BotSecretKeyNotValidException, ForbiddenException, UserCompanyNotValidException, UserNotFoundException, UserQueryPredicateNotMetException, ValidationException, } 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
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
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";
|
|
6
6
|
export const se_BatchGetUsersCommand = async (input, context) => {
|
|
7
7
|
const b = rb(input, context);
|
|
8
8
|
const headers = {
|
|
@@ -1191,6 +1191,7 @@ const se_BotLlmFunctionIntegrationWebhook = (input, context) => {
|
|
|
1191
1191
|
'headers': _json,
|
|
1192
1192
|
'method': [],
|
|
1193
1193
|
'parameters': _ => se_Document(_, context),
|
|
1194
|
+
'timeout': [],
|
|
1194
1195
|
'url': [],
|
|
1195
1196
|
});
|
|
1196
1197
|
};
|
|
@@ -1292,6 +1293,7 @@ const de_BotLlmFunctionIntegrationWebhook = (output, context) => {
|
|
|
1292
1293
|
'headers': _json,
|
|
1293
1294
|
'method': __expectString,
|
|
1294
1295
|
'parameters': (_) => de_Document(_, context),
|
|
1296
|
+
'timeout': __expectInt32,
|
|
1295
1297
|
'url': __expectString,
|
|
1296
1298
|
});
|
|
1297
1299
|
};
|
|
@@ -82,6 +82,7 @@ declare const UpdateBotCallbackCommand_base: {
|
|
|
82
82
|
* value: "STRING_VALUE", // required
|
|
83
83
|
* },
|
|
84
84
|
* ],
|
|
85
|
+
* timeout: Number("int"),
|
|
85
86
|
* parameters: "DOCUMENT_VALUE",
|
|
86
87
|
* },
|
|
87
88
|
* },
|
|
@@ -158,6 +159,7 @@ declare const UpdateBotCallbackCommand_base: {
|
|
|
158
159
|
* // value: "STRING_VALUE", // required
|
|
159
160
|
* // },
|
|
160
161
|
* // ],
|
|
162
|
+
* // timeout: Number("int"),
|
|
161
163
|
* // parameters: "DOCUMENT_VALUE",
|
|
162
164
|
* // },
|
|
163
165
|
* // },
|
|
@@ -714,6 +714,11 @@ export interface BotLlmFunctionIntegrationWebhook {
|
|
|
714
714
|
async?: boolean | undefined;
|
|
715
715
|
authorization?: BotLlmFunctionIntegrationWebhookAuthorization | undefined;
|
|
716
716
|
headers?: (BotLlmFunctionIntegrationWebhookHeader)[] | undefined;
|
|
717
|
+
/**
|
|
718
|
+
* Timeout in milliseconds for the webhook request.
|
|
719
|
+
* @public
|
|
720
|
+
*/
|
|
721
|
+
timeout?: number | undefined;
|
|
717
722
|
parameters?: __DocumentType | undefined;
|
|
718
723
|
}
|
|
719
724
|
/**
|
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.41",
|
|
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",
|
|
@@ -80,4 +80,4 @@
|
|
|
80
80
|
"react-native": {
|
|
81
81
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|