@wildix/xbees-users-client 1.0.41 → 1.0.42

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.
@@ -362,6 +362,7 @@ const se_QueryColleaguesCommand = async (input, context) => {
362
362
  });
363
363
  let body;
364
364
  body = JSON.stringify((0, smithy_client_1.take)(input, {
365
+ 'invite': [],
365
366
  'query': _ => (0, smithy_client_1._json)(_),
366
367
  }));
367
368
  b.m("POST")
@@ -1261,7 +1262,6 @@ const se_BotLlmFunctionIntegrationWebhook = (input, context) => {
1261
1262
  'headers': smithy_client_1._json,
1262
1263
  'method': [],
1263
1264
  'parameters': _ => se_Document(_, context),
1264
- 'timeout': [],
1265
1265
  'url': [],
1266
1266
  });
1267
1267
  };
@@ -1363,7 +1363,6 @@ const de_BotLlmFunctionIntegrationWebhook = (output, context) => {
1363
1363
  'headers': smithy_client_1._json,
1364
1364
  'method': smithy_client_1.expectString,
1365
1365
  'parameters': (_) => de_Document(_, context),
1366
- 'timeout': smithy_client_1.expectInt32,
1367
1366
  'url': smithy_client_1.expectString,
1368
1367
  });
1369
1368
  };
@@ -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, expectInt32 as __expectInt32, 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, 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 = {
@@ -337,6 +337,7 @@ export const se_QueryColleaguesCommand = async (input, context) => {
337
337
  });
338
338
  let body;
339
339
  body = JSON.stringify(take(input, {
340
+ 'invite': [],
340
341
  'query': _ => _json(_),
341
342
  }));
342
343
  b.m("POST")
@@ -1191,7 +1192,6 @@ const se_BotLlmFunctionIntegrationWebhook = (input, context) => {
1191
1192
  'headers': _json,
1192
1193
  'method': [],
1193
1194
  'parameters': _ => se_Document(_, context),
1194
- 'timeout': [],
1195
1195
  'url': [],
1196
1196
  });
1197
1197
  };
@@ -1293,7 +1293,6 @@ const de_BotLlmFunctionIntegrationWebhook = (output, context) => {
1293
1293
  'headers': _json,
1294
1294
  'method': __expectString,
1295
1295
  'parameters': (_) => de_Document(_, context),
1296
- 'timeout': __expectInt32,
1297
1296
  'url': __expectString,
1298
1297
  });
1299
1298
  };
@@ -85,7 +85,6 @@ declare const CreateBotCommand_base: {
85
85
  * value: "STRING_VALUE", // required
86
86
  * },
87
87
  * ],
88
- * timeout: Number("int"),
89
88
  * parameters: "DOCUMENT_VALUE",
90
89
  * },
91
90
  * },
@@ -86,7 +86,6 @@ declare const GetBotCallbackCommand_base: {
86
86
  * // value: "STRING_VALUE", // required
87
87
  * // },
88
88
  * // ],
89
- * // timeout: Number("int"),
90
89
  * // parameters: "DOCUMENT_VALUE",
91
90
  * // },
92
91
  * // },
@@ -67,6 +67,7 @@ declare const QueryColleaguesCommand_base: {
67
67
  * count: Number("int"),
68
68
  * dir: "asc" || "desc",
69
69
  * },
70
+ * invite: true || false,
70
71
  * };
71
72
  * const command = new QueryColleaguesCommand(input);
72
73
  * const response = await client.send(command);
@@ -82,7 +82,6 @@ declare const UpdateBotCallbackCommand_base: {
82
82
  * value: "STRING_VALUE", // required
83
83
  * },
84
84
  * ],
85
- * timeout: Number("int"),
86
85
  * parameters: "DOCUMENT_VALUE",
87
86
  * },
88
87
  * },
@@ -159,7 +158,6 @@ declare const UpdateBotCallbackCommand_base: {
159
158
  * // value: "STRING_VALUE", // required
160
159
  * // },
161
160
  * // ],
162
- * // timeout: Number("int"),
163
161
  * // parameters: "DOCUMENT_VALUE",
164
162
  * // },
165
163
  * // },
@@ -28,7 +28,6 @@ declare const UploadPictureV1Command_base: {
28
28
  };
29
29
  /**
30
30
  * @public
31
- * @deprecated
32
31
  *
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -714,11 +714,6 @@ 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;
722
717
  parameters?: __DocumentType | undefined;
723
718
  }
724
719
  /**
@@ -1291,6 +1286,11 @@ export interface QueryColleaguesInput {
1291
1286
  */
1292
1287
  company?: string | undefined;
1293
1288
  query?: QueryColleaguesParameters | undefined;
1289
+ /**
1290
+ * If enabled, the system will automatically invite users for colleagues returned from the PBX if they haven't logged in yet.
1291
+ * @public
1292
+ */
1293
+ invite?: boolean | undefined;
1294
1294
  }
1295
1295
  /**
1296
1296
  * @public
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.41",
4
+ "version": "1.0.42",
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",