@wildix/xbees-users-client 1.2.5 → 1.2.7

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 +107 -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 +89 -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 +1 -12
  27. package/dist-types/commands/CreateBotCommand.d.ts +2 -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 +1 -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 +1 -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 +2 -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 +167 -153
  67. package/dist-types/protocols/Aws_restJson1.d.ts +35 -35
  68. package/package.json +2 -2
  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
@@ -83,18 +83,6 @@ declare const InviteCommand_base: {
83
83
  *
84
84
  * @throws {@link ValidationException} (client fault)
85
85
  *
86
- * @throws {@link AccountNotFoundException} (client fault)
87
- *
88
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
89
- *
90
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
91
- *
92
- * @throws {@link WorkspaceNotFoundException} (client fault)
93
- *
94
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
95
- *
96
- * @throws {@link IdentityNotFoundException} (client fault)
97
- *
98
86
  * @throws {@link UsersServiceException}
99
87
  * <p>Base exception class for all service exceptions from Users service.</p>
100
88
  *
@@ -0,0 +1,85 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
+ import { LinkIdentityInput, LinkIdentityOutput } 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 LinkIdentityCommand}.
14
+ */
15
+ export interface LinkIdentityCommandInput extends LinkIdentityInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link LinkIdentityCommand}.
21
+ */
22
+ export interface LinkIdentityCommandOutput extends LinkIdentityOutput, __MetadataBearer {
23
+ }
24
+ declare const LinkIdentityCommand_base: {
25
+ new (input: LinkIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<LinkIdentityCommandInput, LinkIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: LinkIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<LinkIdentityCommandInput, LinkIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Adds a new identity (email or phone) to the account. Requires OTP verification for the new identity
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UsersClient, LinkIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, LinkIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
+ * const client = new UsersClient(config);
37
+ * const input = { // LinkIdentityInput
38
+ * accountId: "STRING_VALUE", // required
39
+ * identity: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new LinkIdentityCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // LinkIdentityOutput
44
+ * // identity: { // Identity
45
+ * // identity: "STRING_VALUE", // required
46
+ * // account: "STRING_VALUE", // required
47
+ * // verified: true || false,
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param LinkIdentityCommandInput - {@link LinkIdentityCommandInput}
54
+ * @returns {@link LinkIdentityCommandOutput}
55
+ * @see {@link LinkIdentityCommandInput} for command's `input` shape.
56
+ * @see {@link LinkIdentityCommandOutput} for command's `response` shape.
57
+ * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
58
+ *
59
+ * @throws {@link AccountNotFoundException} (client fault)
60
+ *
61
+ * @throws {@link IdentityAlreadyLinkedException} (client fault)
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ *
65
+ * @throws {@link ForbiddenException} (client fault)
66
+ *
67
+ * @throws {@link UsersServiceException}
68
+ * <p>Base exception class for all service exceptions from Users service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class LinkIdentityCommand extends LinkIdentityCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: LinkIdentityInput;
78
+ output: LinkIdentityOutput;
79
+ };
80
+ sdk: {
81
+ input: LinkIdentityCommandInput;
82
+ output: LinkIdentityCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -62,18 +62,6 @@ declare const ListBotApiKeysCommand_base: {
62
62
  *
63
63
  * @throws {@link ValidationException} (client fault)
64
64
  *
65
- * @throws {@link AccountNotFoundException} (client fault)
66
- *
67
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
68
- *
69
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
70
- *
71
- * @throws {@link WorkspaceNotFoundException} (client fault)
72
- *
73
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
74
- *
75
- * @throws {@link IdentityNotFoundException} (client fault)
76
- *
77
65
  * @throws {@link UsersServiceException}
78
66
  * <p>Base exception class for all service exceptions from Users service.</p>
79
67
  *
@@ -47,6 +47,7 @@ declare const ListBotsCommand_base: {
47
47
  * // picture: "STRING_VALUE",
48
48
  * // searchable: true || false,
49
49
  * // access: "EVERYBODY" || "ORGANIZATION",
50
+ * // groupId: "STRING_VALUE",
50
51
  * // id: "STRING_VALUE", // required
51
52
  * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
52
53
  * // integrationApiKeysCount: Number("int"), // required
@@ -68,18 +69,6 @@ declare const ListBotsCommand_base: {
68
69
  *
69
70
  * @throws {@link ValidationException} (client fault)
70
71
  *
71
- * @throws {@link AccountNotFoundException} (client fault)
72
- *
73
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
74
- *
75
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
76
- *
77
- * @throws {@link WorkspaceNotFoundException} (client fault)
78
- *
79
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
80
- *
81
- * @throws {@link IdentityNotFoundException} (client fault)
82
- *
83
72
  * @throws {@link UsersServiceException}
84
73
  * <p>Base exception class for all service exceptions from Users service.</p>
85
74
  *
@@ -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
  *
@@ -40,6 +40,7 @@ declare const UpdateBotCommand_base: {
40
40
  * picture: "STRING_VALUE",
41
41
  * searchable: true || false,
42
42
  * access: "EVERYBODY" || "ORGANIZATION",
43
+ * groupId: "STRING_VALUE",
43
44
  * company: "STRING_VALUE",
44
45
  * botId: "STRING_VALUE", // required
45
46
  * };
@@ -52,6 +53,7 @@ declare const UpdateBotCommand_base: {
52
53
  * // picture: "STRING_VALUE",
53
54
  * // searchable: true || false,
54
55
  * // access: "EVERYBODY" || "ORGANIZATION",
56
+ * // groupId: "STRING_VALUE",
55
57
  * // id: "STRING_VALUE", // required
56
58
  * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
57
59
  * // integrationApiKeysCount: Number("int"), // required
@@ -72,18 +74,6 @@ declare const UpdateBotCommand_base: {
72
74
  *
73
75
  * @throws {@link ValidationException} (client fault)
74
76
  *
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
77
  * @throws {@link UsersServiceException}
88
78
  * <p>Base exception class for all service exceptions from Users service.</p>
89
79
  *
@@ -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
  *