@wildix/xbees-users-client 1.1.0 → 1.2.3

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 (71) hide show
  1. package/dist-cjs/Users.js +20 -0
  2. package/dist-cjs/commands/AddIdentityCommand.js +21 -0
  3. package/dist-cjs/commands/GetAccountCommand.js +21 -0
  4. package/dist-cjs/commands/InviteCommand.js +21 -0
  5. package/dist-cjs/commands/ListAccountIdentitiesCommand.js +21 -0
  6. package/dist-cjs/commands/ListWorkspacesCommand.js +21 -0
  7. package/dist-cjs/commands/RemoveIdentityCommand.js +21 -0
  8. package/dist-cjs/commands/UnbindWorkspaceCommand.js +21 -0
  9. package/dist-cjs/commands/UpdateAccountCommand.js +21 -0
  10. package/dist-cjs/commands/UpdateWorkspaceCommand.js +21 -0
  11. package/dist-cjs/commands/VerifyAddIdentityCommand.js +21 -0
  12. package/dist-cjs/commands/index.js +10 -0
  13. package/dist-cjs/models/models_0.js +84 -1
  14. package/dist-cjs/protocols/Aws_restJson1.js +398 -2
  15. package/dist-es/Users.js +20 -0
  16. package/dist-es/commands/AddIdentityCommand.js +17 -0
  17. package/dist-es/commands/GetAccountCommand.js +17 -0
  18. package/dist-es/commands/InviteCommand.js +17 -0
  19. package/dist-es/commands/ListAccountIdentitiesCommand.js +17 -0
  20. package/dist-es/commands/ListWorkspacesCommand.js +17 -0
  21. package/dist-es/commands/RemoveIdentityCommand.js +17 -0
  22. package/dist-es/commands/UnbindWorkspaceCommand.js +17 -0
  23. package/dist-es/commands/UpdateAccountCommand.js +17 -0
  24. package/dist-es/commands/UpdateWorkspaceCommand.js +17 -0
  25. package/dist-es/commands/VerifyAddIdentityCommand.js +17 -0
  26. package/dist-es/commands/index.js +10 -0
  27. package/dist-es/models/models_0.js +77 -0
  28. package/dist-es/protocols/Aws_restJson1.js +377 -1
  29. package/dist-types/Users.d.ts +70 -0
  30. package/dist-types/UsersClient.d.ts +12 -2
  31. package/dist-types/commands/index.d.ts +10 -0
  32. package/dist-types/models/models_0.d.ts +420 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/package.json +3 -3
  38. package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -98
  39. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -83
  40. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -134
  41. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -134
  42. package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -88
  43. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -96
  44. package/dist-types/commands/CreateBotCommand.d.ts +0 -198
  45. package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -78
  46. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -80
  47. package/dist-types/commands/DeleteBotCommand.d.ts +0 -77
  48. package/dist-types/commands/GetAppVersionCommand.d.ts +0 -76
  49. package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -184
  50. package/dist-types/commands/GetBotCommand.d.ts +0 -90
  51. package/dist-types/commands/GetUserCommand.d.ts +0 -96
  52. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -81
  53. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -132
  54. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -79
  55. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -79
  56. package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -85
  57. package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -83
  58. package/dist-types/commands/ListBotsCommand.d.ts +0 -89
  59. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  60. package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -152
  61. package/dist-types/commands/QueryUserCommand.d.ts +0 -105
  62. package/dist-types/commands/QueryUsersCommand.d.ts +0 -105
  63. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -75
  64. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -75
  65. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -288
  66. package/dist-types/commands/UpdateBotCommand.d.ts +0 -93
  67. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  68. package/dist-types/commands/UploadPictureCommand.d.ts +0 -76
  69. package/dist-types/commands/UploadPictureV1Command.d.ts +0 -78
  70. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -80
  71. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -80
@@ -1,80 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { VerifyBotSecretKeyInput, VerifyBotSecretKeyOutput } 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 type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link VerifyBotSecretKeyCommand}.
14
- */
15
- export interface VerifyBotSecretKeyCommandInput extends VerifyBotSecretKeyInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link VerifyBotSecretKeyCommand}.
21
- */
22
- export interface VerifyBotSecretKeyCommandOutput extends VerifyBotSecretKeyOutput, __MetadataBearer {
23
- }
24
- declare const VerifyBotSecretKeyCommand_base: {
25
- new (input: VerifyBotSecretKeyCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: VerifyBotSecretKeyCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Verifies a bot secret key and returns bot information if valid.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, VerifyBotSecretKeyCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, VerifyBotSecretKeyCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // VerifyBotSecretKeyInput
38
- * secret: "STRING_VALUE", // required
39
- * };
40
- * const command = new VerifyBotSecretKeyCommand(input);
41
- * const response = await client.send(command);
42
- * // { // VerifyBotSecretKeyOutput
43
- * // company: "STRING_VALUE", // required
44
- * // id: "STRING_VALUE", // required
45
- * // name: "STRING_VALUE",
46
- * // };
47
- *
48
- * ```
49
- *
50
- * @param VerifyBotSecretKeyCommandInput - {@link VerifyBotSecretKeyCommandInput}
51
- * @returns {@link VerifyBotSecretKeyCommandOutput}
52
- * @see {@link VerifyBotSecretKeyCommandInput} for command's `input` shape.
53
- * @see {@link VerifyBotSecretKeyCommandOutput} for command's `response` shape.
54
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
55
- *
56
- * @throws {@link BotSecretKeyNotValidException} (client fault)
57
- *
58
- * @throws {@link ForbiddenException} (client fault)
59
- *
60
- * @throws {@link ValidationException} (client fault)
61
- *
62
- * @throws {@link UsersServiceException}
63
- * <p>Base exception class for all service exceptions from Users service.</p>
64
- *
65
- *
66
- * @public
67
- */
68
- export declare class VerifyBotSecretKeyCommand extends VerifyBotSecretKeyCommand_base {
69
- /** @internal type navigation helper, not in runtime. */
70
- protected static __types: {
71
- api: {
72
- input: VerifyBotSecretKeyInput;
73
- output: VerifyBotSecretKeyOutput;
74
- };
75
- sdk: {
76
- input: VerifyBotSecretKeyCommandInput;
77
- output: VerifyBotSecretKeyCommandOutput;
78
- };
79
- };
80
- }
@@ -1,80 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { VerifyBotSecretKeyV1Input, VerifyBotSecretKeyV1Output } 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 type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link VerifyBotSecretKeyV1Command}.
14
- */
15
- export interface VerifyBotSecretKeyV1CommandInput extends VerifyBotSecretKeyV1Input {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link VerifyBotSecretKeyV1Command}.
21
- */
22
- export interface VerifyBotSecretKeyV1CommandOutput extends VerifyBotSecretKeyV1Output, __MetadataBearer {
23
- }
24
- declare const VerifyBotSecretKeyV1Command_base: {
25
- new (input: VerifyBotSecretKeyV1CommandInput): import("@smithy/smithy-client").CommandImpl<VerifyBotSecretKeyV1CommandInput, VerifyBotSecretKeyV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: VerifyBotSecretKeyV1CommandInput): import("@smithy/smithy-client").CommandImpl<VerifyBotSecretKeyV1CommandInput, VerifyBotSecretKeyV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Verifies a bot secret key and returns bot information if valid. This is a deprecated operation - use VerifyBotSecretKey instead.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, VerifyBotSecretKeyV1Command } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, VerifyBotSecretKeyV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // VerifyBotSecretKeyV1Input
38
- * secret: "STRING_VALUE", // required
39
- * };
40
- * const command = new VerifyBotSecretKeyV1Command(input);
41
- * const response = await client.send(command);
42
- * // { // VerifyBotSecretKeyV1Output
43
- * // company: "STRING_VALUE", // required
44
- * // id: "STRING_VALUE", // required
45
- * // name: "STRING_VALUE",
46
- * // };
47
- *
48
- * ```
49
- *
50
- * @param VerifyBotSecretKeyV1CommandInput - {@link VerifyBotSecretKeyV1CommandInput}
51
- * @returns {@link VerifyBotSecretKeyV1CommandOutput}
52
- * @see {@link VerifyBotSecretKeyV1CommandInput} for command's `input` shape.
53
- * @see {@link VerifyBotSecretKeyV1CommandOutput} for command's `response` shape.
54
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
55
- *
56
- * @throws {@link BotSecretKeyNotValidException} (client fault)
57
- *
58
- * @throws {@link ForbiddenException} (client fault)
59
- *
60
- * @throws {@link ValidationException} (client fault)
61
- *
62
- * @throws {@link UsersServiceException}
63
- * <p>Base exception class for all service exceptions from Users service.</p>
64
- *
65
- *
66
- * @public
67
- */
68
- export declare class VerifyBotSecretKeyV1Command extends VerifyBotSecretKeyV1Command_base {
69
- /** @internal type navigation helper, not in runtime. */
70
- protected static __types: {
71
- api: {
72
- input: VerifyBotSecretKeyV1Input;
73
- output: VerifyBotSecretKeyV1Output;
74
- };
75
- sdk: {
76
- input: VerifyBotSecretKeyV1CommandInput;
77
- output: VerifyBotSecretKeyV1CommandOutput;
78
- };
79
- };
80
- }