@wildix/xbees-users-client 1.0.12 → 1.0.15

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 (46) hide show
  1. package/dist-cjs/Users.js +10 -2
  2. package/dist-cjs/commands/{BatchGetUsersStreamLinkDataCommand.js → BatchGetUsersCommand.js} +7 -7
  3. package/dist-cjs/commands/GetUserCommand.js +21 -0
  4. package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +21 -0
  5. package/dist-cjs/commands/QueryUserCommand.js +21 -0
  6. package/dist-cjs/commands/QueryUsersCommand.js +21 -0
  7. package/dist-cjs/commands/index.js +5 -1
  8. package/dist-cjs/models/models_0.js +46 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +165 -11
  10. package/dist-es/Users.js +10 -2
  11. package/dist-es/commands/BatchGetUsersCommand.js +17 -0
  12. package/dist-es/commands/GetUserCommand.js +17 -0
  13. package/dist-es/commands/GetUserPbxLinkDataCommand.js +17 -0
  14. package/dist-es/commands/QueryUserCommand.js +17 -0
  15. package/dist-es/commands/QueryUsersCommand.js +17 -0
  16. package/dist-es/commands/index.js +5 -1
  17. package/dist-es/models/models_0.js +43 -0
  18. package/dist-es/protocols/Aws_restJson1.js +153 -7
  19. package/dist-types/Users.d.ts +35 -7
  20. package/dist-types/UsersClient.d.ts +7 -3
  21. package/dist-types/commands/BatchGetUsersCommand.d.ts +85 -0
  22. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +55 -5
  23. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateBotCommand.d.ts +2 -1
  25. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +2 -1
  26. package/dist-types/commands/DeleteBotCommand.d.ts +2 -1
  27. package/dist-types/commands/GetBotCallbackCommand.d.ts +2 -1
  28. package/dist-types/commands/GetBotCommand.d.ts +2 -1
  29. package/dist-types/commands/GetUserCommand.d.ts +83 -0
  30. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +120 -0
  31. package/dist-types/commands/ListBotApiKeysCommand.d.ts +2 -1
  32. package/dist-types/commands/ListBotsCommand.d.ts +2 -1
  33. package/dist-types/commands/QueryUserCommand.d.ts +92 -0
  34. package/dist-types/commands/QueryUsersCommand.d.ts +92 -0
  35. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +2 -1
  36. package/dist-types/commands/UpdateBotCommand.d.ts +2 -1
  37. package/dist-types/commands/UploadPictureCommand.d.ts +2 -1
  38. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +2 -1
  39. package/dist-types/commands/index.d.ts +5 -1
  40. package/dist-types/index.d.ts +2 -2
  41. package/dist-types/models/UsersServiceException.d.ts +2 -1
  42. package/dist-types/models/models_0.d.ts +435 -22
  43. package/dist-types/protocols/Aws_restJson1.d.ts +45 -9
  44. package/package.json +9 -9
  45. package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +0 -17
  46. package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +0 -82
@@ -1,82 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { BatchGetUsersStreamLinkDataInput, BatchGetUsersStreamLinkDataOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export { __MetadataBearer, $Command };
9
- /**
10
- * @public
11
- *
12
- * The input for {@link BatchGetUsersStreamLinkDataCommand}.
13
- */
14
- export interface BatchGetUsersStreamLinkDataCommandInput extends BatchGetUsersStreamLinkDataInput {
15
- }
16
- /**
17
- * @public
18
- *
19
- * The output of {@link BatchGetUsersStreamLinkDataCommand}.
20
- */
21
- export interface BatchGetUsersStreamLinkDataCommandOutput extends BatchGetUsersStreamLinkDataOutput, __MetadataBearer {
22
- }
23
- declare const BatchGetUsersStreamLinkDataCommand_base: {
24
- new (input: BatchGetUsersStreamLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersStreamLinkDataCommandInput, BatchGetUsersStreamLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
- new (__0_0: BatchGetUsersStreamLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersStreamLinkDataCommandInput, BatchGetUsersStreamLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
- };
28
- /**
29
- * @public
30
- *
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, BatchGetUsersStreamLinkDataCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, BatchGetUsersStreamLinkDataCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // BatchGetUsersStreamLinkDataInput
38
- * id: [ // BatchUsersIdList // required
39
- * "STRING_VALUE",
40
- * ],
41
- * };
42
- * const command = new BatchGetUsersStreamLinkDataCommand(input);
43
- * const response = await client.send(command);
44
- * // { // BatchGetUsersStreamLinkDataOutput
45
- * // users: { // BatchGetUsersStreamLinkDataResponseMap // required
46
- * // "<keys>": { // StreamLinkData
47
- * // id: "STRING_VALUE", // required
48
- * // email: "STRING_VALUE",
49
- * // phone: "STRING_VALUE",
50
- * // name: "STRING_VALUE",
51
- * // picture: "STRING_VALUE",
52
- * // company: "STRING_VALUE",
53
- * // pbxExtension: "STRING_VALUE",
54
- * // pbxSerial: "STRING_VALUE",
55
- * // pbxDomain: "STRING_VALUE",
56
- * // pbxPort: "STRING_VALUE",
57
- * // pbxUserId: "STRING_VALUE",
58
- * // pbxUpdatedAt: "STRING_VALUE",
59
- * // locale: "STRING_VALUE",
60
- * // timeZone: "STRING_VALUE",
61
- * // },
62
- * // },
63
- * // };
64
- *
65
- * ```
66
- *
67
- * @param BatchGetUsersStreamLinkDataCommandInput - {@link BatchGetUsersStreamLinkDataCommandInput}
68
- * @returns {@link BatchGetUsersStreamLinkDataCommandOutput}
69
- * @see {@link BatchGetUsersStreamLinkDataCommandInput} for command's `input` shape.
70
- * @see {@link BatchGetUsersStreamLinkDataCommandOutput} for command's `response` shape.
71
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
72
- *
73
- * @throws {@link ForbiddenException} (client fault)
74
- *
75
- * @throws {@link ValidationException} (client fault)
76
- *
77
- * @throws {@link UsersServiceException}
78
- * <p>Base exception class for all service exceptions from Users service.</p>
79
- *
80
- */
81
- export declare class BatchGetUsersStreamLinkDataCommand extends BatchGetUsersStreamLinkDataCommand_base {
82
- }