@wildix/xbees-users-client 1.2.3 → 1.2.5

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 (48) hide show
  1. package/dist-types/commands/AddIdentityCommand.d.ts +93 -0
  2. package/dist-types/commands/BatchGetUsersCommand.d.ts +110 -0
  3. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +95 -0
  4. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +146 -0
  5. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +146 -0
  6. package/dist-types/commands/ChangeUserEmailCommand.d.ts +100 -0
  7. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +108 -0
  8. package/dist-types/commands/CreateBotCommand.d.ts +210 -0
  9. package/dist-types/commands/CreateSystemBotCommand.d.ts +90 -0
  10. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +92 -0
  11. package/dist-types/commands/DeleteBotCommand.d.ts +89 -0
  12. package/dist-types/commands/GetAccountCommand.d.ts +182 -0
  13. package/dist-types/commands/GetAppVersionCommand.d.ts +88 -0
  14. package/dist-types/commands/GetBotCallbackCommand.d.ts +196 -0
  15. package/dist-types/commands/GetBotCommand.d.ts +102 -0
  16. package/dist-types/commands/GetUserCommand.d.ts +108 -0
  17. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +93 -0
  18. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +144 -0
  19. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +91 -0
  20. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +91 -0
  21. package/dist-types/commands/IntelligenceSearchCommand.d.ts +97 -0
  22. package/dist-types/commands/InviteCommand.d.ts +116 -0
  23. package/dist-types/commands/ListAccountIdentitiesCommand.d.ts +94 -0
  24. package/dist-types/commands/ListBotApiKeysCommand.d.ts +95 -0
  25. package/dist-types/commands/ListBotsCommand.d.ts +101 -0
  26. package/dist-types/commands/ListWorkspacesCommand.d.ts +170 -0
  27. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +93 -0
  28. package/dist-types/commands/QueryColleaguesCommand.d.ts +164 -0
  29. package/dist-types/commands/QueryUserCommand.d.ts +117 -0
  30. package/dist-types/commands/QueryUsersCommand.d.ts +117 -0
  31. package/dist-types/commands/RemoveIdentityCommand.d.ts +87 -0
  32. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +87 -0
  33. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +87 -0
  34. package/dist-types/commands/UnbindWorkspaceCommand.d.ts +87 -0
  35. package/dist-types/commands/UpdateAccountCommand.d.ts +94 -0
  36. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +300 -0
  37. package/dist-types/commands/UpdateBotCommand.d.ts +105 -0
  38. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +93 -0
  39. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +171 -0
  40. package/dist-types/commands/UploadPictureCommand.d.ts +88 -0
  41. package/dist-types/commands/UploadPictureV1Command.d.ts +90 -0
  42. package/dist-types/commands/VerifyAddIdentityCommand.d.ts +95 -0
  43. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +92 -0
  44. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +92 -0
  45. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  46. package/dist-types/runtimeConfig.d.ts +1 -1
  47. package/dist-types/runtimeConfig.native.d.ts +1 -1
  48. package/package.json +2 -2
@@ -0,0 +1,171 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { UpdateWorkspaceInput, UpdateWorkspaceOutput } 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 UpdateWorkspaceCommand}.
14
+ */
15
+ export interface UpdateWorkspaceCommandInput extends UpdateWorkspaceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateWorkspaceCommand}.
21
+ */
22
+ export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateWorkspaceCommand_base: {
25
+ new (input: UpdateWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Updates the workspace. Available only via s2s (service-to-service) authentication.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, UpdateWorkspaceCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, UpdateWorkspaceCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // UpdateWorkspaceInput
38
+ * accountId: "STRING_VALUE", // required
39
+ * workspaceId: "STRING_VALUE", // required
40
+ * active: true || false,
41
+ * type: "personal" || "work" || "support",
42
+ * };
43
+ * const command = new UpdateWorkspaceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateWorkspaceOutput
46
+ * // workspace: { // Workspace
47
+ * // companyId: "STRING_VALUE",
48
+ * // pbxUser: { // UserPbxLinkData
49
+ * // id: "STRING_VALUE", // required
50
+ * // company: "STRING_VALUE", // required
51
+ * // companyName: "STRING_VALUE",
52
+ * // domain: "STRING_VALUE", // required
53
+ * // email: "STRING_VALUE",
54
+ * // info: { // UserPersonalInfo
55
+ * // dn: "STRING_VALUE", // required
56
+ * // id: "STRING_VALUE", // required
57
+ * // name: "STRING_VALUE", // required
58
+ * // extension: "STRING_VALUE", // required
59
+ * // officePhone: "STRING_VALUE",
60
+ * // mobilePhone: "STRING_VALUE",
61
+ * // faxNumber: "STRING_VALUE",
62
+ * // email: "STRING_VALUE",
63
+ * // role: "STRING_VALUE", // required
64
+ * // language: "STRING_VALUE", // required
65
+ * // dialplan: "STRING_VALUE", // required
66
+ * // faxDialplan: "STRING_VALUE", // required
67
+ * // departament: "STRING_VALUE",
68
+ * // picture: "STRING_VALUE", // required
69
+ * // groupDn: "STRING_VALUE", // required
70
+ * // groupName: "STRING_VALUE", // required
71
+ * // jid: "STRING_VALUE", // required
72
+ * // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
73
+ * // login: "STRING_VALUE",
74
+ * // pbx: "STRING_VALUE",
75
+ * // pbxDn: "STRING_VALUE", // required
76
+ * // sourceId: "STRING_VALUE",
77
+ * // sipPassword: "STRING_VALUE",
78
+ * // },
79
+ * // pbx: { // UserPbxInfo
80
+ * // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
81
+ * // "STRING_VALUE",
82
+ * // ],
83
+ * // ports: [ // UserPbxInfoPorts // required
84
+ * // "STRING_VALUE",
85
+ * // ],
86
+ * // externalLinePrefix: "STRING_VALUE",
87
+ * // version: "STRING_VALUE", // required
88
+ * // serial: "STRING_VALUE", // required
89
+ * // },
90
+ * // picture: "STRING_VALUE", // required
91
+ * // pictureDeleted: true || false,
92
+ * // port: "STRING_VALUE", // required
93
+ * // serial: "STRING_VALUE", // required
94
+ * // services: { // UserPbxServices
95
+ * // xcaracal: true || false,
96
+ * // wizyWebinar: true || false,
97
+ * // },
98
+ * // personalSettings: {},
99
+ * // dialplanSettings: {},
100
+ * // awsRegion: "STRING_VALUE",
101
+ * // updatedAt: "STRING_VALUE",
102
+ * // },
103
+ * // streamUser: { // User
104
+ * // id: "STRING_VALUE", // required
105
+ * // name: "STRING_VALUE",
106
+ * // email: "STRING_VALUE",
107
+ * // phone: "STRING_VALUE",
108
+ * // picture: "STRING_VALUE",
109
+ * // locale: "STRING_VALUE",
110
+ * // timeZone: "STRING_VALUE",
111
+ * // company: "STRING_VALUE",
112
+ * // bot: true || false,
113
+ * // pbxDomain: "STRING_VALUE",
114
+ * // pbxPort: "STRING_VALUE",
115
+ * // pbxExtension: "STRING_VALUE",
116
+ * // pbxSerial: "STRING_VALUE",
117
+ * // pbxUserId: "STRING_VALUE",
118
+ * // pbxGroupId: "STRING_VALUE",
119
+ * // createdAt: "STRING_VALUE",
120
+ * // updatedAt: "STRING_VALUE",
121
+ * // },
122
+ * // type: "personal" || "work" || "support",
123
+ * // id: "STRING_VALUE", // required
124
+ * // accountId: "STRING_VALUE", // required
125
+ * // active: true || false, // required
126
+ * // },
127
+ * // };
128
+ *
129
+ * ```
130
+ *
131
+ * @param UpdateWorkspaceCommandInput - {@link UpdateWorkspaceCommandInput}
132
+ * @returns {@link UpdateWorkspaceCommandOutput}
133
+ * @see {@link UpdateWorkspaceCommandInput} for command's `input` shape.
134
+ * @see {@link UpdateWorkspaceCommandOutput} for command's `response` shape.
135
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
136
+ *
137
+ * @throws {@link AccountNotFoundException} (client fault)
138
+ *
139
+ * @throws {@link WorkspaceNotFoundException} (client fault)
140
+ *
141
+ * @throws {@link ForbiddenException} (client fault)
142
+ *
143
+ * @throws {@link ValidationException} (client fault)
144
+ *
145
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
146
+ *
147
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
148
+ *
149
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
150
+ *
151
+ * @throws {@link IdentityNotFoundException} (client fault)
152
+ *
153
+ * @throws {@link UsersServiceException}
154
+ * <p>Base exception class for all service exceptions from Users service.</p>
155
+ *
156
+ *
157
+ * @public
158
+ */
159
+ export declare class UpdateWorkspaceCommand extends UpdateWorkspaceCommand_base {
160
+ /** @internal type navigation helper, not in runtime. */
161
+ protected static __types: {
162
+ api: {
163
+ input: UpdateWorkspaceInput;
164
+ output: UpdateWorkspaceOutput;
165
+ };
166
+ sdk: {
167
+ input: UpdateWorkspaceCommandInput;
168
+ output: UpdateWorkspaceCommandOutput;
169
+ };
170
+ };
171
+ }
@@ -0,0 +1,88 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { UploadPictureInput, UploadPictureOutput } 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 UploadPictureCommand}.
14
+ */
15
+ export interface UploadPictureCommandInput extends UploadPictureInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UploadPictureCommand}.
21
+ */
22
+ export interface UploadPictureCommandOutput extends UploadPictureOutput, __MetadataBearer {
23
+ }
24
+ declare const UploadPictureCommand_base: {
25
+ new (input: UploadPictureCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureCommandInput, UploadPictureCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UploadPictureCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureCommandInput, UploadPictureCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Uploads a user profile picture in base64 format and returns the URL where it can be accessed.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, UploadPictureCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, UploadPictureCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // UploadPictureInput
38
+ * picture: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new UploadPictureCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // UploadPictureOutput
43
+ * // url: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param UploadPictureCommandInput - {@link UploadPictureCommandInput}
49
+ * @returns {@link UploadPictureCommandOutput}
50
+ * @see {@link UploadPictureCommandInput} for command's `input` shape.
51
+ * @see {@link UploadPictureCommandOutput} for command's `response` shape.
52
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
53
+ *
54
+ * @throws {@link ForbiddenException} (client fault)
55
+ *
56
+ * @throws {@link ValidationException} (client fault)
57
+ *
58
+ * @throws {@link AccountNotFoundException} (client fault)
59
+ *
60
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
61
+ *
62
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
63
+ *
64
+ * @throws {@link WorkspaceNotFoundException} (client fault)
65
+ *
66
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
67
+ *
68
+ * @throws {@link IdentityNotFoundException} (client fault)
69
+ *
70
+ * @throws {@link UsersServiceException}
71
+ * <p>Base exception class for all service exceptions from Users service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class UploadPictureCommand extends UploadPictureCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: UploadPictureInput;
81
+ output: UploadPictureOutput;
82
+ };
83
+ sdk: {
84
+ input: UploadPictureCommandInput;
85
+ output: UploadPictureCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,90 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { UploadPictureV1Input, UploadPictureV1Output } 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 UploadPictureV1Command}.
14
+ */
15
+ export interface UploadPictureV1CommandInput extends UploadPictureV1Input {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UploadPictureV1Command}.
21
+ */
22
+ export interface UploadPictureV1CommandOutput extends UploadPictureV1Output, __MetadataBearer {
23
+ }
24
+ declare const UploadPictureV1Command_base: {
25
+ new (input: UploadPictureV1CommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureV1CommandInput, UploadPictureV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UploadPictureV1CommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureV1CommandInput, UploadPictureV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Uploads a user profile picture in base64 format and returns the URL where it can be accessed. This is a deprecated operation - use UploadPicture instead.
31
+ *
32
+ * @deprecated
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { UsersClient, UploadPictureV1Command } from "@wildix/xbees-users-client"; // ES Modules import
37
+ * // const { UsersClient, UploadPictureV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
38
+ * const client = new UsersClient(config);
39
+ * const input = { // UploadPictureV1Input
40
+ * picture: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new UploadPictureV1Command(input);
43
+ * const response = await client.send(command);
44
+ * // { // UploadPictureV1Output
45
+ * // url: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param UploadPictureV1CommandInput - {@link UploadPictureV1CommandInput}
51
+ * @returns {@link UploadPictureV1CommandOutput}
52
+ * @see {@link UploadPictureV1CommandInput} for command's `input` shape.
53
+ * @see {@link UploadPictureV1CommandOutput} for command's `response` shape.
54
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
55
+ *
56
+ * @throws {@link ForbiddenException} (client fault)
57
+ *
58
+ * @throws {@link ValidationException} (client fault)
59
+ *
60
+ * @throws {@link AccountNotFoundException} (client fault)
61
+ *
62
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
63
+ *
64
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
65
+ *
66
+ * @throws {@link WorkspaceNotFoundException} (client fault)
67
+ *
68
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
69
+ *
70
+ * @throws {@link IdentityNotFoundException} (client fault)
71
+ *
72
+ * @throws {@link UsersServiceException}
73
+ * <p>Base exception class for all service exceptions from Users service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class UploadPictureV1Command extends UploadPictureV1Command_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: UploadPictureV1Input;
83
+ output: UploadPictureV1Output;
84
+ };
85
+ sdk: {
86
+ input: UploadPictureV1CommandInput;
87
+ output: UploadPictureV1CommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,95 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { VerifyAddIdentityInput, VerifyAddIdentityOutput } 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 VerifyAddIdentityCommand}.
14
+ */
15
+ export interface VerifyAddIdentityCommandInput extends VerifyAddIdentityInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link VerifyAddIdentityCommand}.
21
+ */
22
+ export interface VerifyAddIdentityCommandOutput extends VerifyAddIdentityOutput, __MetadataBearer {
23
+ }
24
+ declare const VerifyAddIdentityCommand_base: {
25
+ new (input: VerifyAddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: VerifyAddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Completes adding an identity by verifying the OTP sent to the new identity. Call after AddIdentity.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, VerifyAddIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, VerifyAddIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // VerifyAddIdentityInput
38
+ * accountId: "STRING_VALUE", // required
39
+ * identity: "STRING_VALUE", // required
40
+ * otp: "STRING_VALUE", // required
41
+ * primaryOtp: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new VerifyAddIdentityCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // VerifyAddIdentityOutput
46
+ * // identity: { // Identity
47
+ * // identity: "STRING_VALUE", // required
48
+ * // account: "STRING_VALUE", // required
49
+ * // verified: true || false,
50
+ * // },
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param VerifyAddIdentityCommandInput - {@link VerifyAddIdentityCommandInput}
56
+ * @returns {@link VerifyAddIdentityCommandOutput}
57
+ * @see {@link VerifyAddIdentityCommandInput} for command's `input` shape.
58
+ * @see {@link VerifyAddIdentityCommandOutput} for command's `response` shape.
59
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
60
+ *
61
+ * @throws {@link AccountNotFoundException} (client fault)
62
+ *
63
+ * @throws {@link IdentityNotFoundException} (client fault)
64
+ *
65
+ * @throws {@link ValidationException} (client fault)
66
+ *
67
+ * @throws {@link ForbiddenException} (client fault)
68
+ *
69
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
70
+ *
71
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
72
+ *
73
+ * @throws {@link WorkspaceNotFoundException} (client fault)
74
+ *
75
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
76
+ *
77
+ * @throws {@link UsersServiceException}
78
+ * <p>Base exception class for all service exceptions from Users service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class VerifyAddIdentityCommand extends VerifyAddIdentityCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: VerifyAddIdentityInput;
88
+ output: VerifyAddIdentityOutput;
89
+ };
90
+ sdk: {
91
+ input: VerifyAddIdentityCommandInput;
92
+ output: VerifyAddIdentityCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,92 @@
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 AccountNotFoundException} (client fault)
63
+ *
64
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
65
+ *
66
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
67
+ *
68
+ * @throws {@link WorkspaceNotFoundException} (client fault)
69
+ *
70
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
71
+ *
72
+ * @throws {@link IdentityNotFoundException} (client fault)
73
+ *
74
+ * @throws {@link UsersServiceException}
75
+ * <p>Base exception class for all service exceptions from Users service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class VerifyBotSecretKeyCommand extends VerifyBotSecretKeyCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: VerifyBotSecretKeyInput;
85
+ output: VerifyBotSecretKeyOutput;
86
+ };
87
+ sdk: {
88
+ input: VerifyBotSecretKeyCommandInput;
89
+ output: VerifyBotSecretKeyCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,92 @@
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 AccountNotFoundException} (client fault)
63
+ *
64
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
65
+ *
66
+ * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
67
+ *
68
+ * @throws {@link WorkspaceNotFoundException} (client fault)
69
+ *
70
+ * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
71
+ *
72
+ * @throws {@link IdentityNotFoundException} (client fault)
73
+ *
74
+ * @throws {@link UsersServiceException}
75
+ * <p>Base exception class for all service exceptions from Users service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class VerifyBotSecretKeyV1Command extends VerifyBotSecretKeyV1Command_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: VerifyBotSecretKeyV1Input;
85
+ output: VerifyBotSecretKeyV1Output;
86
+ };
87
+ sdk: {
88
+ input: VerifyBotSecretKeyV1CommandInput;
89
+ output: VerifyBotSecretKeyV1CommandOutput;
90
+ };
91
+ };
92
+ }
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
12
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
12
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/protocol-http").HttpHandler<any>;
10
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  cacheMiddleware?: boolean | undefined;
12
12
  protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
13
13
  protocolSettings?: {