@wildix/xbees-users-client 1.2.5 → 1.2.6

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 (74) hide show
  1. package/dist-cjs/Users.js +10 -10
  2. package/dist-cjs/commands/{AddIdentityCommand.js → LinkIdentityCommand.js} +7 -7
  3. package/dist-cjs/commands/{RemoveIdentityCommand.js → ListIdentitiesCommand.js} +7 -7
  4. package/dist-cjs/commands/{VerifyAddIdentityCommand.js → UnlinkIdentityCommand.js} +7 -7
  5. package/dist-cjs/commands/{UnbindWorkspaceCommand.js → UnlinkWorkspaceCommand.js} +7 -7
  6. package/dist-cjs/commands/VerifyIdentityCommand.js +21 -0
  7. package/dist-cjs/commands/index.js +5 -5
  8. package/dist-cjs/models/models_0.js +66 -66
  9. package/dist-cjs/protocols/Aws_restJson1.js +105 -106
  10. package/dist-es/Users.js +10 -10
  11. package/dist-es/commands/{AddIdentityCommand.js → LinkIdentityCommand.js} +6 -6
  12. package/dist-es/commands/{RemoveIdentityCommand.js → ListIdentitiesCommand.js} +6 -6
  13. package/dist-es/commands/UnlinkIdentityCommand.js +17 -0
  14. package/dist-es/commands/{UnbindWorkspaceCommand.js → UnlinkWorkspaceCommand.js} +6 -6
  15. package/dist-es/commands/VerifyIdentityCommand.js +17 -0
  16. package/dist-es/commands/index.js +5 -5
  17. package/dist-es/models/models_0.js +60 -60
  18. package/dist-es/protocols/Aws_restJson1.js +87 -88
  19. package/dist-types/Users.d.ts +31 -31
  20. package/dist-types/UsersClient.d.ts +7 -7
  21. package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -12
  22. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -12
  23. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -12
  24. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -12
  25. package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -12
  26. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -12
  27. package/dist-types/commands/CreateBotCommand.d.ts +0 -12
  28. package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -12
  29. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -12
  30. package/dist-types/commands/DeleteBotCommand.d.ts +0 -12
  31. package/dist-types/commands/GetAccountCommand.d.ts +0 -10
  32. package/dist-types/commands/GetAppVersionCommand.d.ts +0 -12
  33. package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -12
  34. package/dist-types/commands/GetBotCommand.d.ts +0 -12
  35. package/dist-types/commands/GetUserCommand.d.ts +0 -12
  36. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -12
  37. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -12
  38. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -12
  39. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -12
  40. package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -12
  41. package/dist-types/commands/InviteCommand.d.ts +0 -12
  42. package/dist-types/commands/LinkIdentityCommand.d.ts +85 -0
  43. package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -12
  44. package/dist-types/commands/ListBotsCommand.d.ts +0 -12
  45. package/dist-types/commands/ListIdentitiesCommand.d.ts +84 -0
  46. package/dist-types/commands/ListWorkspacesCommand.d.ts +0 -10
  47. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -12
  48. package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -12
  49. package/dist-types/commands/QueryUserCommand.d.ts +0 -12
  50. package/dist-types/commands/QueryUsersCommand.d.ts +0 -12
  51. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -12
  52. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -12
  53. package/dist-types/commands/{RemoveIdentityCommand.d.ts → UnlinkIdentityCommand.d.ts} +20 -26
  54. package/dist-types/commands/{UnbindWorkspaceCommand.d.ts → UnlinkWorkspaceCommand.d.ts} +20 -26
  55. package/dist-types/commands/UpdateAccountCommand.d.ts +0 -6
  56. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -12
  57. package/dist-types/commands/UpdateBotCommand.d.ts +0 -12
  58. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -12
  59. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +0 -8
  60. package/dist-types/commands/UploadPictureCommand.d.ts +0 -12
  61. package/dist-types/commands/UploadPictureV1Command.d.ts +0 -12
  62. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -12
  63. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -12
  64. package/dist-types/commands/VerifyIdentityCommand.d.ts +86 -0
  65. package/dist-types/commands/index.d.ts +5 -5
  66. package/dist-types/models/models_0.d.ts +152 -153
  67. package/dist-types/protocols/Aws_restJson1.d.ts +35 -35
  68. package/package.json +1 -1
  69. package/dist-cjs/commands/ListAccountIdentitiesCommand.js +0 -21
  70. package/dist-es/commands/ListAccountIdentitiesCommand.js +0 -17
  71. package/dist-es/commands/VerifyAddIdentityCommand.js +0 -17
  72. package/dist-types/commands/AddIdentityCommand.d.ts +0 -93
  73. package/dist-types/commands/ListAccountIdentitiesCommand.d.ts +0 -94
  74. package/dist-types/commands/VerifyAddIdentityCommand.d.ts +0 -95
@@ -0,0 +1,84 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { ListIdentitiesInput, ListIdentitiesOutput } 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 ListIdentitiesCommand}.
14
+ */
15
+ export interface ListIdentitiesCommandInput extends ListIdentitiesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListIdentitiesCommand}.
21
+ */
22
+ export interface ListIdentitiesCommandOutput extends ListIdentitiesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListIdentitiesCommand_base: {
25
+ new (input: ListIdentitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListIdentitiesCommandInput, ListIdentitiesCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListIdentitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListIdentitiesCommandInput, ListIdentitiesCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Lists all identities (login methods) for the current account.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, ListIdentitiesCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, ListIdentitiesCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // ListIdentitiesInput
38
+ * accountId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new ListIdentitiesCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListIdentitiesOutput
43
+ * // identities: [ // IdentityList // required
44
+ * // { // Identity
45
+ * // identity: "STRING_VALUE", // required
46
+ * // account: "STRING_VALUE", // required
47
+ * // verified: true || false,
48
+ * // },
49
+ * // ],
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListIdentitiesCommandInput - {@link ListIdentitiesCommandInput}
55
+ * @returns {@link ListIdentitiesCommandOutput}
56
+ * @see {@link ListIdentitiesCommandInput} for command's `input` shape.
57
+ * @see {@link ListIdentitiesCommandOutput} for command's `response` shape.
58
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
59
+ *
60
+ * @throws {@link AccountNotFoundException} (client fault)
61
+ *
62
+ * @throws {@link ForbiddenException} (client fault)
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ *
66
+ * @throws {@link UsersServiceException}
67
+ * <p>Base exception class for all service exceptions from Users service.</p>
68
+ *
69
+ *
70
+ * @public
71
+ */
72
+ export declare class ListIdentitiesCommand extends ListIdentitiesCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: ListIdentitiesInput;
77
+ output: ListIdentitiesOutput;
78
+ };
79
+ sdk: {
80
+ input: ListIdentitiesCommandInput;
81
+ output: ListIdentitiesCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -139,16 +139,6 @@ declare const ListWorkspacesCommand_base: {
139
139
  *
140
140
  * @throws {@link ValidationException} (client fault)
141
141
  *
142
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
143
- *
144
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
145
- *
146
- * @throws {@link WorkspaceNotFoundException} (client fault)
147
- *
148
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
149
- *
150
- * @throws {@link IdentityNotFoundException} (client fault)
151
- *
152
142
  * @throws {@link UsersServiceException}
153
143
  * <p>Base exception class for all service exceptions from Users service.</p>
154
144
  *
@@ -60,18 +60,6 @@ declare const PartialUpdateUserEmailNotificationsSettingsCommand_base: {
60
60
  *
61
61
  * @throws {@link ValidationException} (client fault)
62
62
  *
63
- * @throws {@link AccountNotFoundException} (client fault)
64
- *
65
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
66
- *
67
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
68
- *
69
- * @throws {@link WorkspaceNotFoundException} (client fault)
70
- *
71
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
72
- *
73
- * @throws {@link IdentityNotFoundException} (client fault)
74
- *
75
63
  * @throws {@link UsersServiceException}
76
64
  * <p>Base exception class for all service exceptions from Users service.</p>
77
65
  *
@@ -131,18 +131,6 @@ declare const QueryColleaguesCommand_base: {
131
131
  *
132
132
  * @throws {@link ValidationException} (client fault)
133
133
  *
134
- * @throws {@link AccountNotFoundException} (client fault)
135
- *
136
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
137
- *
138
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
139
- *
140
- * @throws {@link WorkspaceNotFoundException} (client fault)
141
- *
142
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
143
- *
144
- * @throws {@link IdentityNotFoundException} (client fault)
145
- *
146
134
  * @throws {@link UsersServiceException}
147
135
  * <p>Base exception class for all service exceptions from Users service.</p>
148
136
  *
@@ -84,18 +84,6 @@ declare const QueryUserCommand_base: {
84
84
  *
85
85
  * @throws {@link ValidationException} (client fault)
86
86
  *
87
- * @throws {@link AccountNotFoundException} (client fault)
88
- *
89
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
90
- *
91
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
92
- *
93
- * @throws {@link WorkspaceNotFoundException} (client fault)
94
- *
95
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
96
- *
97
- * @throws {@link IdentityNotFoundException} (client fault)
98
- *
99
87
  * @throws {@link UsersServiceException}
100
88
  * <p>Base exception class for all service exceptions from Users service.</p>
101
89
  *
@@ -84,18 +84,6 @@ declare const QueryUsersCommand_base: {
84
84
  *
85
85
  * @throws {@link ValidationException} (client fault)
86
86
  *
87
- * @throws {@link AccountNotFoundException} (client fault)
88
- *
89
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
90
- *
91
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
92
- *
93
- * @throws {@link WorkspaceNotFoundException} (client fault)
94
- *
95
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
96
- *
97
- * @throws {@link IdentityNotFoundException} (client fault)
98
- *
99
87
  * @throws {@link UsersServiceException}
100
88
  * <p>Base exception class for all service exceptions from Users service.</p>
101
89
  *
@@ -54,18 +54,6 @@ declare const ToggleTranscriptionEmailNotificationsSubscriptionCommand_base: {
54
54
  *
55
55
  * @throws {@link ValidationException} (client fault)
56
56
  *
57
- * @throws {@link AccountNotFoundException} (client fault)
58
- *
59
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
60
- *
61
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
62
- *
63
- * @throws {@link WorkspaceNotFoundException} (client fault)
64
- *
65
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
66
- *
67
- * @throws {@link IdentityNotFoundException} (client fault)
68
- *
69
57
  * @throws {@link UsersServiceException}
70
58
  * <p>Base exception class for all service exceptions from Users service.</p>
71
59
  *
@@ -54,18 +54,6 @@ declare const ToggleUnreadEmailNotificationsSubscriptionCommand_base: {
54
54
  *
55
55
  * @throws {@link ValidationException} (client fault)
56
56
  *
57
- * @throws {@link AccountNotFoundException} (client fault)
58
- *
59
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
60
- *
61
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
62
- *
63
- * @throws {@link WorkspaceNotFoundException} (client fault)
64
- *
65
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
66
- *
67
- * @throws {@link IdentityNotFoundException} (client fault)
68
- *
69
57
  * @throws {@link UsersServiceException}
70
58
  * <p>Base exception class for all service exceptions from Users service.</p>
71
59
  *
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { RemoveIdentityInput, RemoveIdentityOutput } from "../models/models_0";
2
+ import { UnlinkIdentityInput, UnlinkIdentityOutput } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -10,20 +10,20 @@ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
13
- * The input for {@link RemoveIdentityCommand}.
13
+ * The input for {@link UnlinkIdentityCommand}.
14
14
  */
15
- export interface RemoveIdentityCommandInput extends RemoveIdentityInput {
15
+ export interface UnlinkIdentityCommandInput extends UnlinkIdentityInput {
16
16
  }
17
17
  /**
18
18
  * @public
19
19
  *
20
- * The output of {@link RemoveIdentityCommand}.
20
+ * The output of {@link UnlinkIdentityCommand}.
21
21
  */
22
- export interface RemoveIdentityCommandOutput extends RemoveIdentityOutput, __MetadataBearer {
22
+ export interface UnlinkIdentityCommandOutput extends UnlinkIdentityOutput, __MetadataBearer {
23
23
  }
24
- declare const RemoveIdentityCommand_base: {
25
- new (input: RemoveIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveIdentityCommandInput, RemoveIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: RemoveIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveIdentityCommandInput, RemoveIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
24
+ declare const UnlinkIdentityCommand_base: {
25
+ new (input: UnlinkIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkIdentityCommandInput, UnlinkIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UnlinkIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkIdentityCommandInput, UnlinkIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -31,23 +31,23 @@ declare const RemoveIdentityCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { UsersClient, RemoveIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, RemoveIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
34
+ * import { UsersClient, UnlinkIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, UnlinkIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
36
  * const client = new UsersClient(config);
37
- * const input = { // RemoveIdentityInput
37
+ * const input = { // UnlinkIdentityInput
38
38
  * accountId: "STRING_VALUE", // required
39
39
  * identity: "STRING_VALUE", // required
40
40
  * };
41
- * const command = new RemoveIdentityCommand(input);
41
+ * const command = new UnlinkIdentityCommand(input);
42
42
  * const response = await client.send(command);
43
43
  * // {};
44
44
  *
45
45
  * ```
46
46
  *
47
- * @param RemoveIdentityCommandInput - {@link RemoveIdentityCommandInput}
48
- * @returns {@link RemoveIdentityCommandOutput}
49
- * @see {@link RemoveIdentityCommandInput} for command's `input` shape.
50
- * @see {@link RemoveIdentityCommandOutput} for command's `response` shape.
47
+ * @param UnlinkIdentityCommandInput - {@link UnlinkIdentityCommandInput}
48
+ * @returns {@link UnlinkIdentityCommandOutput}
49
+ * @see {@link UnlinkIdentityCommandInput} for command's `input` shape.
50
+ * @see {@link UnlinkIdentityCommandOutput} for command's `response` shape.
51
51
  * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
52
52
  *
53
53
  * @throws {@link AccountNotFoundException} (client fault)
@@ -60,28 +60,22 @@ declare const RemoveIdentityCommand_base: {
60
60
  *
61
61
  * @throws {@link ForbiddenException} (client fault)
62
62
  *
63
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
64
- *
65
- * @throws {@link WorkspaceNotFoundException} (client fault)
66
- *
67
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
68
- *
69
63
  * @throws {@link UsersServiceException}
70
64
  * <p>Base exception class for all service exceptions from Users service.</p>
71
65
  *
72
66
  *
73
67
  * @public
74
68
  */
75
- export declare class RemoveIdentityCommand extends RemoveIdentityCommand_base {
69
+ export declare class UnlinkIdentityCommand extends UnlinkIdentityCommand_base {
76
70
  /** @internal type navigation helper, not in runtime. */
77
71
  protected static __types: {
78
72
  api: {
79
- input: RemoveIdentityInput;
73
+ input: UnlinkIdentityInput;
80
74
  output: {};
81
75
  };
82
76
  sdk: {
83
- input: RemoveIdentityCommandInput;
84
- output: RemoveIdentityCommandOutput;
77
+ input: UnlinkIdentityCommandInput;
78
+ output: UnlinkIdentityCommandOutput;
85
79
  };
86
80
  };
87
81
  }
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { UnbindWorkspaceInput, UnbindWorkspaceOutput } from "../models/models_0";
2
+ import { UnlinkWorkspaceInput, UnlinkWorkspaceOutput } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -10,20 +10,20 @@ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
13
- * The input for {@link UnbindWorkspaceCommand}.
13
+ * The input for {@link UnlinkWorkspaceCommand}.
14
14
  */
15
- export interface UnbindWorkspaceCommandInput extends UnbindWorkspaceInput {
15
+ export interface UnlinkWorkspaceCommandInput extends UnlinkWorkspaceInput {
16
16
  }
17
17
  /**
18
18
  * @public
19
19
  *
20
- * The output of {@link UnbindWorkspaceCommand}.
20
+ * The output of {@link UnlinkWorkspaceCommand}.
21
21
  */
22
- export interface UnbindWorkspaceCommandOutput extends UnbindWorkspaceOutput, __MetadataBearer {
22
+ export interface UnlinkWorkspaceCommandOutput extends UnlinkWorkspaceOutput, __MetadataBearer {
23
23
  }
24
- declare const UnbindWorkspaceCommand_base: {
25
- new (input: UnbindWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<UnbindWorkspaceCommandInput, UnbindWorkspaceCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UnbindWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<UnbindWorkspaceCommandInput, UnbindWorkspaceCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
24
+ declare const UnlinkWorkspaceCommand_base: {
25
+ new (input: UnlinkWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkWorkspaceCommandInput, UnlinkWorkspaceCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UnlinkWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkWorkspaceCommandInput, UnlinkWorkspaceCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -31,23 +31,23 @@ declare const UnbindWorkspaceCommand_base: {
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { UsersClient, UnbindWorkspaceCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, UnbindWorkspaceCommand } = require("@wildix/xbees-users-client"); // CommonJS import
34
+ * import { UsersClient, UnlinkWorkspaceCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, UnlinkWorkspaceCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
36
  * const client = new UsersClient(config);
37
- * const input = { // UnbindWorkspaceInput
37
+ * const input = { // UnlinkWorkspaceInput
38
38
  * workspaceId: "STRING_VALUE", // required
39
39
  * accountId: "STRING_VALUE", // required
40
40
  * };
41
- * const command = new UnbindWorkspaceCommand(input);
41
+ * const command = new UnlinkWorkspaceCommand(input);
42
42
  * const response = await client.send(command);
43
43
  * // {};
44
44
  *
45
45
  * ```
46
46
  *
47
- * @param UnbindWorkspaceCommandInput - {@link UnbindWorkspaceCommandInput}
48
- * @returns {@link UnbindWorkspaceCommandOutput}
49
- * @see {@link UnbindWorkspaceCommandInput} for command's `input` shape.
50
- * @see {@link UnbindWorkspaceCommandOutput} for command's `response` shape.
47
+ * @param UnlinkWorkspaceCommandInput - {@link UnlinkWorkspaceCommandInput}
48
+ * @returns {@link UnlinkWorkspaceCommandOutput}
49
+ * @see {@link UnlinkWorkspaceCommandInput} for command's `input` shape.
50
+ * @see {@link UnlinkWorkspaceCommandOutput} for command's `response` shape.
51
51
  * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
52
52
  *
53
53
  * @throws {@link AccountNotFoundException} (client fault)
@@ -60,28 +60,22 @@ declare const UnbindWorkspaceCommand_base: {
60
60
  *
61
61
  * @throws {@link ValidationException} (client fault)
62
62
  *
63
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
64
- *
65
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
66
- *
67
- * @throws {@link IdentityNotFoundException} (client fault)
68
- *
69
63
  * @throws {@link UsersServiceException}
70
64
  * <p>Base exception class for all service exceptions from Users service.</p>
71
65
  *
72
66
  *
73
67
  * @public
74
68
  */
75
- export declare class UnbindWorkspaceCommand extends UnbindWorkspaceCommand_base {
69
+ export declare class UnlinkWorkspaceCommand extends UnlinkWorkspaceCommand_base {
76
70
  /** @internal type navigation helper, not in runtime. */
77
71
  protected static __types: {
78
72
  api: {
79
- input: UnbindWorkspaceInput;
73
+ input: UnlinkWorkspaceInput;
80
74
  output: {};
81
75
  };
82
76
  sdk: {
83
- input: UnbindWorkspaceCommandInput;
84
- output: UnbindWorkspaceCommandOutput;
77
+ input: UnlinkWorkspaceCommandInput;
78
+ output: UnlinkWorkspaceCommandOutput;
85
79
  };
86
80
  };
87
81
  }
@@ -67,12 +67,6 @@ declare const UpdateAccountCommand_base: {
67
67
  *
68
68
  * @throws {@link ForbiddenException} (client fault)
69
69
  *
70
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
71
- *
72
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
73
- *
74
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
75
- *
76
70
  * @throws {@link UsersServiceException}
77
71
  * <p>Base exception class for all service exceptions from Users service.</p>
78
72
  *
@@ -267,18 +267,6 @@ declare const UpdateBotCallbackCommand_base: {
267
267
  *
268
268
  * @throws {@link ValidationException} (client fault)
269
269
  *
270
- * @throws {@link AccountNotFoundException} (client fault)
271
- *
272
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
273
- *
274
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
275
- *
276
- * @throws {@link WorkspaceNotFoundException} (client fault)
277
- *
278
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
279
- *
280
- * @throws {@link IdentityNotFoundException} (client fault)
281
- *
282
270
  * @throws {@link UsersServiceException}
283
271
  * <p>Base exception class for all service exceptions from Users service.</p>
284
272
  *
@@ -72,18 +72,6 @@ declare const UpdateBotCommand_base: {
72
72
  *
73
73
  * @throws {@link ValidationException} (client fault)
74
74
  *
75
- * @throws {@link AccountNotFoundException} (client fault)
76
- *
77
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
78
- *
79
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
80
- *
81
- * @throws {@link WorkspaceNotFoundException} (client fault)
82
- *
83
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
84
- *
85
- * @throws {@link IdentityNotFoundException} (client fault)
86
- *
87
75
  * @throws {@link UsersServiceException}
88
76
  * <p>Base exception class for all service exceptions from Users service.</p>
89
77
  *
@@ -60,18 +60,6 @@ declare const UpdateUserEmailNotificationsSettingsCommand_base: {
60
60
  *
61
61
  * @throws {@link ValidationException} (client fault)
62
62
  *
63
- * @throws {@link AccountNotFoundException} (client fault)
64
- *
65
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
66
- *
67
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
68
- *
69
- * @throws {@link WorkspaceNotFoundException} (client fault)
70
- *
71
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
72
- *
73
- * @throws {@link IdentityNotFoundException} (client fault)
74
- *
75
63
  * @throws {@link UsersServiceException}
76
64
  * <p>Base exception class for all service exceptions from Users service.</p>
77
65
  *
@@ -142,14 +142,6 @@ declare const UpdateWorkspaceCommand_base: {
142
142
  *
143
143
  * @throws {@link ValidationException} (client fault)
144
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
145
  * @throws {@link UsersServiceException}
154
146
  * <p>Base exception class for all service exceptions from Users service.</p>
155
147
  *
@@ -55,18 +55,6 @@ declare const UploadPictureCommand_base: {
55
55
  *
56
56
  * @throws {@link ValidationException} (client fault)
57
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
58
  * @throws {@link UsersServiceException}
71
59
  * <p>Base exception class for all service exceptions from Users service.</p>
72
60
  *
@@ -57,18 +57,6 @@ declare const UploadPictureV1Command_base: {
57
57
  *
58
58
  * @throws {@link ValidationException} (client fault)
59
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
60
  * @throws {@link UsersServiceException}
73
61
  * <p>Base exception class for all service exceptions from Users service.</p>
74
62
  *
@@ -59,18 +59,6 @@ declare const VerifyBotSecretKeyCommand_base: {
59
59
  *
60
60
  * @throws {@link ValidationException} (client fault)
61
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
62
  * @throws {@link UsersServiceException}
75
63
  * <p>Base exception class for all service exceptions from Users service.</p>
76
64
  *
@@ -59,18 +59,6 @@ declare const VerifyBotSecretKeyV1Command_base: {
59
59
  *
60
60
  * @throws {@link ValidationException} (client fault)
61
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
62
  * @throws {@link UsersServiceException}
75
63
  * <p>Base exception class for all service exceptions from Users service.</p>
76
64
  *