@wildix/xbees-conversations-client 1.1.11 → 1.1.12
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.
|
@@ -1355,7 +1355,7 @@ const de_GetTokenCommand = async (output, context) => {
|
|
|
1355
1355
|
});
|
|
1356
1356
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
1357
1357
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1358
|
-
'
|
|
1358
|
+
'expires': smithy_client_1.expectInt32,
|
|
1359
1359
|
'token': smithy_client_1.expectString,
|
|
1360
1360
|
});
|
|
1361
1361
|
Object.assign(contents, doc);
|
|
@@ -1275,7 +1275,7 @@ export const de_GetTokenCommand = async (output, context) => {
|
|
|
1275
1275
|
});
|
|
1276
1276
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1277
1277
|
const doc = take(data, {
|
|
1278
|
-
'
|
|
1278
|
+
'expires': __expectInt32,
|
|
1279
1279
|
'token': __expectString,
|
|
1280
1280
|
});
|
|
1281
1281
|
Object.assign(contents, doc);
|
|
@@ -27,7 +27,7 @@ declare const GetTokenCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Retrieve
|
|
30
|
+
* Retrieve an authorization token for chat.wildix-chat.com
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -39,7 +39,7 @@ declare const GetTokenCommand_base: {
|
|
|
39
39
|
* const response = await client.send(command);
|
|
40
40
|
* // { // GetTokenOutput
|
|
41
41
|
* // token: "STRING_VALUE", // required
|
|
42
|
-
* //
|
|
42
|
+
* // expires: Number("int"), // required
|
|
43
43
|
* // };
|
|
44
44
|
*
|
|
45
45
|
* ```
|
|
@@ -1535,10 +1535,10 @@ export interface GetTokenOutput {
|
|
|
1535
1535
|
*/
|
|
1536
1536
|
token: string;
|
|
1537
1537
|
/**
|
|
1538
|
-
* A
|
|
1538
|
+
* A token's expiration time.
|
|
1539
1539
|
* @public
|
|
1540
1540
|
*/
|
|
1541
|
-
|
|
1541
|
+
expires: number;
|
|
1542
1542
|
}
|
|
1543
1543
|
/**
|
|
1544
1544
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.12",
|
|
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",
|