@wildix/xbees-users-client 1.1.0 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist-cjs/Users.js +20 -0
  2. package/dist-cjs/commands/AddIdentityCommand.js +21 -0
  3. package/dist-cjs/commands/GetAccountCommand.js +21 -0
  4. package/dist-cjs/commands/InviteCommand.js +21 -0
  5. package/dist-cjs/commands/ListAccountIdentitiesCommand.js +21 -0
  6. package/dist-cjs/commands/ListWorkspacesCommand.js +21 -0
  7. package/dist-cjs/commands/RemoveIdentityCommand.js +21 -0
  8. package/dist-cjs/commands/UnbindWorkspaceCommand.js +21 -0
  9. package/dist-cjs/commands/UpdateAccountCommand.js +21 -0
  10. package/dist-cjs/commands/UpdateWorkspaceCommand.js +21 -0
  11. package/dist-cjs/commands/VerifyAddIdentityCommand.js +21 -0
  12. package/dist-cjs/commands/index.js +10 -0
  13. package/dist-cjs/models/models_0.js +84 -1
  14. package/dist-cjs/protocols/Aws_restJson1.js +398 -2
  15. package/dist-es/Users.js +20 -0
  16. package/dist-es/commands/AddIdentityCommand.js +17 -0
  17. package/dist-es/commands/GetAccountCommand.js +17 -0
  18. package/dist-es/commands/InviteCommand.js +17 -0
  19. package/dist-es/commands/ListAccountIdentitiesCommand.js +17 -0
  20. package/dist-es/commands/ListWorkspacesCommand.js +17 -0
  21. package/dist-es/commands/RemoveIdentityCommand.js +17 -0
  22. package/dist-es/commands/UnbindWorkspaceCommand.js +17 -0
  23. package/dist-es/commands/UpdateAccountCommand.js +17 -0
  24. package/dist-es/commands/UpdateWorkspaceCommand.js +17 -0
  25. package/dist-es/commands/VerifyAddIdentityCommand.js +17 -0
  26. package/dist-es/commands/index.js +10 -0
  27. package/dist-es/models/models_0.js +77 -0
  28. package/dist-es/protocols/Aws_restJson1.js +377 -1
  29. package/dist-types/Users.d.ts +70 -0
  30. package/dist-types/UsersClient.d.ts +12 -2
  31. package/dist-types/commands/index.d.ts +10 -0
  32. package/dist-types/models/models_0.d.ts +420 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/package.json +3 -3
  38. package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -98
  39. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -83
  40. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -134
  41. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -134
  42. package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -88
  43. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -96
  44. package/dist-types/commands/CreateBotCommand.d.ts +0 -198
  45. package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -78
  46. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -80
  47. package/dist-types/commands/DeleteBotCommand.d.ts +0 -77
  48. package/dist-types/commands/GetAppVersionCommand.d.ts +0 -76
  49. package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -184
  50. package/dist-types/commands/GetBotCommand.d.ts +0 -90
  51. package/dist-types/commands/GetUserCommand.d.ts +0 -96
  52. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -81
  53. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -132
  54. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -79
  55. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -79
  56. package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -85
  57. package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -83
  58. package/dist-types/commands/ListBotsCommand.d.ts +0 -89
  59. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  60. package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -152
  61. package/dist-types/commands/QueryUserCommand.d.ts +0 -105
  62. package/dist-types/commands/QueryUsersCommand.d.ts +0 -105
  63. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -75
  64. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -75
  65. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -288
  66. package/dist-types/commands/UpdateBotCommand.d.ts +0 -93
  67. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  68. package/dist-types/commands/UploadPictureCommand.d.ts +0 -76
  69. package/dist-types/commands/UploadPictureV1Command.d.ts +0 -78
  70. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -80
  71. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -80
@@ -1,132 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { GetUserPbxLinkDataInput, GetUserPbxLinkDataOutput } 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 GetUserPbxLinkDataCommand}.
14
- */
15
- export interface GetUserPbxLinkDataCommandInput extends GetUserPbxLinkDataInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetUserPbxLinkDataCommand}.
21
- */
22
- export interface GetUserPbxLinkDataCommandOutput extends GetUserPbxLinkDataOutput, __MetadataBearer {
23
- }
24
- declare const GetUserPbxLinkDataCommand_base: {
25
- new (input: GetUserPbxLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetUserPbxLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves PBX link data for a specific user.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, GetUserPbxLinkDataCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetUserPbxLinkDataCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetUserPbxLinkDataInput
38
- * userId: "STRING_VALUE", // required
39
- * };
40
- * const command = new GetUserPbxLinkDataCommand(input);
41
- * const response = await client.send(command);
42
- * // { // GetUserPbxLinkDataOutput
43
- * // user: { // UserPbxLinkData
44
- * // id: "STRING_VALUE", // required
45
- * // company: "STRING_VALUE", // required
46
- * // companyName: "STRING_VALUE",
47
- * // domain: "STRING_VALUE", // required
48
- * // email: "STRING_VALUE",
49
- * // info: { // UserPersonalInfo
50
- * // dn: "STRING_VALUE", // required
51
- * // id: "STRING_VALUE", // required
52
- * // name: "STRING_VALUE", // required
53
- * // extension: "STRING_VALUE", // required
54
- * // officePhone: "STRING_VALUE",
55
- * // mobilePhone: "STRING_VALUE",
56
- * // faxNumber: "STRING_VALUE",
57
- * // email: "STRING_VALUE",
58
- * // role: "STRING_VALUE", // required
59
- * // language: "STRING_VALUE", // required
60
- * // dialplan: "STRING_VALUE", // required
61
- * // faxDialplan: "STRING_VALUE", // required
62
- * // departament: "STRING_VALUE",
63
- * // picture: "STRING_VALUE", // required
64
- * // groupDn: "STRING_VALUE", // required
65
- * // groupName: "STRING_VALUE", // required
66
- * // jid: "STRING_VALUE", // required
67
- * // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
68
- * // login: "STRING_VALUE",
69
- * // pbx: "STRING_VALUE",
70
- * // pbxDn: "STRING_VALUE", // required
71
- * // sourceId: "STRING_VALUE",
72
- * // sipPassword: "STRING_VALUE",
73
- * // },
74
- * // pbx: { // UserPbxInfo
75
- * // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
76
- * // "STRING_VALUE",
77
- * // ],
78
- * // ports: [ // UserPbxInfoPorts // required
79
- * // "STRING_VALUE",
80
- * // ],
81
- * // externalLinePrefix: "STRING_VALUE",
82
- * // version: "STRING_VALUE", // required
83
- * // serial: "STRING_VALUE", // required
84
- * // },
85
- * // picture: "STRING_VALUE", // required
86
- * // pictureDeleted: true || false,
87
- * // port: "STRING_VALUE", // required
88
- * // serial: "STRING_VALUE", // required
89
- * // services: { // UserPbxServices
90
- * // xcaracal: true || false,
91
- * // wizyWebinar: true || false,
92
- * // },
93
- * // personalSettings: {},
94
- * // dialplanSettings: {},
95
- * // awsRegion: "STRING_VALUE",
96
- * // updatedAt: "STRING_VALUE",
97
- * // },
98
- * // };
99
- *
100
- * ```
101
- *
102
- * @param GetUserPbxLinkDataCommandInput - {@link GetUserPbxLinkDataCommandInput}
103
- * @returns {@link GetUserPbxLinkDataCommandOutput}
104
- * @see {@link GetUserPbxLinkDataCommandInput} for command's `input` shape.
105
- * @see {@link GetUserPbxLinkDataCommandOutput} for command's `response` shape.
106
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
107
- *
108
- * @throws {@link UserNotFoundException} (client fault)
109
- *
110
- * @throws {@link ForbiddenException} (client fault)
111
- *
112
- * @throws {@link ValidationException} (client fault)
113
- *
114
- * @throws {@link UsersServiceException}
115
- * <p>Base exception class for all service exceptions from Users service.</p>
116
- *
117
- *
118
- * @public
119
- */
120
- export declare class GetUserPbxLinkDataCommand extends GetUserPbxLinkDataCommand_base {
121
- /** @internal type navigation helper, not in runtime. */
122
- protected static __types: {
123
- api: {
124
- input: GetUserPbxLinkDataInput;
125
- output: GetUserPbxLinkDataOutput;
126
- };
127
- sdk: {
128
- input: GetUserPbxLinkDataCommandInput;
129
- output: GetUserPbxLinkDataCommandOutput;
130
- };
131
- };
132
- }
@@ -1,79 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { GetUserPbxLinkSuggestionInput, GetUserPbxLinkSuggestionOutput } 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 GetUserPbxLinkSuggestionCommand}.
14
- */
15
- export interface GetUserPbxLinkSuggestionCommandInput extends GetUserPbxLinkSuggestionInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetUserPbxLinkSuggestionCommand}.
21
- */
22
- export interface GetUserPbxLinkSuggestionCommandOutput extends GetUserPbxLinkSuggestionOutput, __MetadataBearer {
23
- }
24
- declare const GetUserPbxLinkSuggestionCommand_base: {
25
- new (input: GetUserPbxLinkSuggestionCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetUserPbxLinkSuggestionCommandInput]): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves PBX link suggestion information for a user based on their email address.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, GetUserPbxLinkSuggestionCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetUserPbxLinkSuggestionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetUserPbxLinkSuggestionInput
38
- * email: "STRING_VALUE",
39
- * };
40
- * const command = new GetUserPbxLinkSuggestionCommand(input);
41
- * const response = await client.send(command);
42
- * // { // GetUserPbxLinkSuggestionOutput
43
- * // suggestion: { // UserPbxLinkSuggestion
44
- * // domain: "STRING_VALUE", // required
45
- * // port: "STRING_VALUE", // required
46
- * // },
47
- * // };
48
- *
49
- * ```
50
- *
51
- * @param GetUserPbxLinkSuggestionCommandInput - {@link GetUserPbxLinkSuggestionCommandInput}
52
- * @returns {@link GetUserPbxLinkSuggestionCommandOutput}
53
- * @see {@link GetUserPbxLinkSuggestionCommandInput} for command's `input` shape.
54
- * @see {@link GetUserPbxLinkSuggestionCommandOutput} for command's `response` shape.
55
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
56
- *
57
- * @throws {@link ForbiddenException} (client fault)
58
- *
59
- * @throws {@link ValidationException} (client fault)
60
- *
61
- * @throws {@link UsersServiceException}
62
- * <p>Base exception class for all service exceptions from Users service.</p>
63
- *
64
- *
65
- * @public
66
- */
67
- export declare class GetUserPbxLinkSuggestionCommand extends GetUserPbxLinkSuggestionCommand_base {
68
- /** @internal type navigation helper, not in runtime. */
69
- protected static __types: {
70
- api: {
71
- input: GetUserPbxLinkSuggestionInput;
72
- output: GetUserPbxLinkSuggestionOutput;
73
- };
74
- sdk: {
75
- input: GetUserPbxLinkSuggestionCommandInput;
76
- output: GetUserPbxLinkSuggestionCommandOutput;
77
- };
78
- };
79
- }
@@ -1,79 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { GetUserPbxLinkSuggestionV1Input, GetUserPbxLinkSuggestionV1Output } 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 GetUserPbxLinkSuggestionV1Command}.
14
- */
15
- export interface GetUserPbxLinkSuggestionV1CommandInput extends GetUserPbxLinkSuggestionV1Input {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetUserPbxLinkSuggestionV1Command}.
21
- */
22
- export interface GetUserPbxLinkSuggestionV1CommandOutput extends GetUserPbxLinkSuggestionV1Output, __MetadataBearer {
23
- }
24
- declare const GetUserPbxLinkSuggestionV1Command_base: {
25
- new (input: GetUserPbxLinkSuggestionV1CommandInput): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetUserPbxLinkSuggestionV1CommandInput]): import("@smithy/smithy-client").CommandImpl<GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves PBX link suggestion information for a user based on their email address. This is a deprecated operation - use GetUserPbxLinkSuggestion instead.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, GetUserPbxLinkSuggestionV1Command } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetUserPbxLinkSuggestionV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetUserPbxLinkSuggestionV1Input
38
- * email: "STRING_VALUE",
39
- * };
40
- * const command = new GetUserPbxLinkSuggestionV1Command(input);
41
- * const response = await client.send(command);
42
- * // { // GetUserPbxLinkSuggestionV1Output
43
- * // suggestion: { // UserPbxLinkSuggestion
44
- * // domain: "STRING_VALUE", // required
45
- * // port: "STRING_VALUE", // required
46
- * // },
47
- * // };
48
- *
49
- * ```
50
- *
51
- * @param GetUserPbxLinkSuggestionV1CommandInput - {@link GetUserPbxLinkSuggestionV1CommandInput}
52
- * @returns {@link GetUserPbxLinkSuggestionV1CommandOutput}
53
- * @see {@link GetUserPbxLinkSuggestionV1CommandInput} for command's `input` shape.
54
- * @see {@link GetUserPbxLinkSuggestionV1CommandOutput} for command's `response` shape.
55
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
56
- *
57
- * @throws {@link ForbiddenException} (client fault)
58
- *
59
- * @throws {@link ValidationException} (client fault)
60
- *
61
- * @throws {@link UsersServiceException}
62
- * <p>Base exception class for all service exceptions from Users service.</p>
63
- *
64
- *
65
- * @public
66
- */
67
- export declare class GetUserPbxLinkSuggestionV1Command extends GetUserPbxLinkSuggestionV1Command_base {
68
- /** @internal type navigation helper, not in runtime. */
69
- protected static __types: {
70
- api: {
71
- input: GetUserPbxLinkSuggestionV1Input;
72
- output: GetUserPbxLinkSuggestionV1Output;
73
- };
74
- sdk: {
75
- input: GetUserPbxLinkSuggestionV1CommandInput;
76
- output: GetUserPbxLinkSuggestionV1CommandOutput;
77
- };
78
- };
79
- }
@@ -1,85 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { IntelligenceSearchInput, IntelligenceSearchOutput } 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 IntelligenceSearchCommand}.
14
- */
15
- export interface IntelligenceSearchCommandInput extends IntelligenceSearchInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link IntelligenceSearchCommand}.
21
- */
22
- export interface IntelligenceSearchCommandOutput extends IntelligenceSearchOutput, __MetadataBearer {
23
- }
24
- declare const IntelligenceSearchCommand_base: {
25
- new (input: IntelligenceSearchCommandInput): import("@smithy/smithy-client").CommandImpl<IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: IntelligenceSearchCommandInput): import("@smithy/smithy-client").CommandImpl<IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Search user in the directory using AI. Result is sorted by relevance.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, IntelligenceSearchCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, IntelligenceSearchCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // IntelligenceSearchInput
38
- * company: "STRING_VALUE",
39
- * search: "STRING_VALUE", // required
40
- * excludeExtension: "STRING_VALUE",
41
- * };
42
- * const command = new IntelligenceSearchCommand(input);
43
- * const response = await client.send(command);
44
- * // { // IntelligenceSearchOutput
45
- * // items: [ // DirectoryItems // required
46
- * // { // DirectoryItem
47
- * // extension: "STRING_VALUE", // required
48
- * // name: "STRING_VALUE", // required
49
- * // department: "STRING_VALUE",
50
- * // group: "STRING_VALUE",
51
- * // },
52
- * // ],
53
- * // };
54
- *
55
- * ```
56
- *
57
- * @param IntelligenceSearchCommandInput - {@link IntelligenceSearchCommandInput}
58
- * @returns {@link IntelligenceSearchCommandOutput}
59
- * @see {@link IntelligenceSearchCommandInput} for command's `input` shape.
60
- * @see {@link IntelligenceSearchCommandOutput} for command's `response` shape.
61
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
62
- *
63
- * @throws {@link ForbiddenException} (client fault)
64
- *
65
- * @throws {@link ValidationException} (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 IntelligenceSearchCommand extends IntelligenceSearchCommand_base {
74
- /** @internal type navigation helper, not in runtime. */
75
- protected static __types: {
76
- api: {
77
- input: IntelligenceSearchInput;
78
- output: IntelligenceSearchOutput;
79
- };
80
- sdk: {
81
- input: IntelligenceSearchCommandInput;
82
- output: IntelligenceSearchCommandOutput;
83
- };
84
- };
85
- }
@@ -1,83 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { ListBotApiKeysInput, ListBotApiKeysOutput } 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 ListBotApiKeysCommand}.
14
- */
15
- export interface ListBotApiKeysCommandInput extends ListBotApiKeysInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ListBotApiKeysCommand}.
21
- */
22
- export interface ListBotApiKeysCommandOutput extends ListBotApiKeysOutput, __MetadataBearer {
23
- }
24
- declare const ListBotApiKeysCommand_base: {
25
- new (input: ListBotApiKeysCommandInput): import("@smithy/smithy-client").CommandImpl<ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListBotApiKeysCommandInput): import("@smithy/smithy-client").CommandImpl<ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves a list of API keys associated with a specific bot.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, ListBotApiKeysCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, ListBotApiKeysCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // ListBotApiKeysInput
38
- * company: "STRING_VALUE",
39
- * botId: "STRING_VALUE", // required
40
- * };
41
- * const command = new ListBotApiKeysCommand(input);
42
- * const response = await client.send(command);
43
- * // { // ListBotApiKeysOutput
44
- * // keys: [ // BotApiKeysList // required
45
- * // { // BotApiKey
46
- * // secret: "STRING_VALUE", // required
47
- * // name: "STRING_VALUE",
48
- * // createdAt: "STRING_VALUE", // required
49
- * // },
50
- * // ],
51
- * // };
52
- *
53
- * ```
54
- *
55
- * @param ListBotApiKeysCommandInput - {@link ListBotApiKeysCommandInput}
56
- * @returns {@link ListBotApiKeysCommandOutput}
57
- * @see {@link ListBotApiKeysCommandInput} for command's `input` shape.
58
- * @see {@link ListBotApiKeysCommandOutput} for command's `response` shape.
59
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
60
- *
61
- * @throws {@link ForbiddenException} (client fault)
62
- *
63
- * @throws {@link ValidationException} (client fault)
64
- *
65
- * @throws {@link UsersServiceException}
66
- * <p>Base exception class for all service exceptions from Users service.</p>
67
- *
68
- *
69
- * @public
70
- */
71
- export declare class ListBotApiKeysCommand extends ListBotApiKeysCommand_base {
72
- /** @internal type navigation helper, not in runtime. */
73
- protected static __types: {
74
- api: {
75
- input: ListBotApiKeysInput;
76
- output: ListBotApiKeysOutput;
77
- };
78
- sdk: {
79
- input: ListBotApiKeysCommandInput;
80
- output: ListBotApiKeysCommandOutput;
81
- };
82
- };
83
- }
@@ -1,89 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { ListBotsInput, ListBotsOutput } 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 ListBotsCommand}.
14
- */
15
- export interface ListBotsCommandInput extends ListBotsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ListBotsCommand}.
21
- */
22
- export interface ListBotsCommandOutput extends ListBotsOutput, __MetadataBearer {
23
- }
24
- declare const ListBotsCommand_base: {
25
- new (input: ListBotsCommandInput): import("@smithy/smithy-client").CommandImpl<ListBotsCommandInput, ListBotsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListBotsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListBotsCommandInput, ListBotsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves a list of all bots for the specified company.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, ListBotsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, ListBotsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // ListBotsInput
38
- * company: "STRING_VALUE",
39
- * };
40
- * const command = new ListBotsCommand(input);
41
- * const response = await client.send(command);
42
- * // { // ListBotsOutput
43
- * // bots: [ // BotList // required
44
- * // { // Bot
45
- * // name: "STRING_VALUE", // required
46
- * // category: "STRING_VALUE",
47
- * // picture: "STRING_VALUE",
48
- * // searchable: true || false,
49
- * // access: "EVERYBODY" || "ORGANIZATION",
50
- * // id: "STRING_VALUE", // required
51
- * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
52
- * // integrationApiKeysCount: Number("int"), // required
53
- * // createdAt: "STRING_VALUE", // required
54
- * // updated: "STRING_VALUE",
55
- * // },
56
- * // ],
57
- * // };
58
- *
59
- * ```
60
- *
61
- * @param ListBotsCommandInput - {@link ListBotsCommandInput}
62
- * @returns {@link ListBotsCommandOutput}
63
- * @see {@link ListBotsCommandInput} for command's `input` shape.
64
- * @see {@link ListBotsCommandOutput} for command's `response` shape.
65
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
66
- *
67
- * @throws {@link ForbiddenException} (client fault)
68
- *
69
- * @throws {@link ValidationException} (client fault)
70
- *
71
- * @throws {@link UsersServiceException}
72
- * <p>Base exception class for all service exceptions from Users service.</p>
73
- *
74
- *
75
- * @public
76
- */
77
- export declare class ListBotsCommand extends ListBotsCommand_base {
78
- /** @internal type navigation helper, not in runtime. */
79
- protected static __types: {
80
- api: {
81
- input: ListBotsInput;
82
- output: ListBotsOutput;
83
- };
84
- sdk: {
85
- input: ListBotsCommandInput;
86
- output: ListBotsCommandOutput;
87
- };
88
- };
89
- }
@@ -1,81 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { PartialUpdateUserEmailNotificationsSettingsInput, PartialUpdateUserEmailNotificationsSettingsOutput } 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 PartialUpdateUserEmailNotificationsSettingsCommand}.
14
- */
15
- export interface PartialUpdateUserEmailNotificationsSettingsCommandInput extends PartialUpdateUserEmailNotificationsSettingsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link PartialUpdateUserEmailNotificationsSettingsCommand}.
21
- */
22
- export interface PartialUpdateUserEmailNotificationsSettingsCommandOutput extends PartialUpdateUserEmailNotificationsSettingsOutput, __MetadataBearer {
23
- }
24
- declare const PartialUpdateUserEmailNotificationsSettingsCommand_base: {
25
- new (input: PartialUpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: PartialUpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Partially update user email notifications settings
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, PartialUpdateUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, PartialUpdateUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // PartialUpdateUserEmailNotificationsSettingsInput
38
- * unread: true || false,
39
- * transcription: true || false,
40
- * userId: "STRING_VALUE", // required
41
- * };
42
- * const command = new PartialUpdateUserEmailNotificationsSettingsCommand(input);
43
- * const response = await client.send(command);
44
- * // { // PartialUpdateUserEmailNotificationsSettingsOutput
45
- * // notifications: { // UserEmailNotificationsSettings
46
- * // unread: true || false, // required
47
- * // transcription: true || false, // required
48
- * // },
49
- * // };
50
- *
51
- * ```
52
- *
53
- * @param PartialUpdateUserEmailNotificationsSettingsCommandInput - {@link PartialUpdateUserEmailNotificationsSettingsCommandInput}
54
- * @returns {@link PartialUpdateUserEmailNotificationsSettingsCommandOutput}
55
- * @see {@link PartialUpdateUserEmailNotificationsSettingsCommandInput} for command's `input` shape.
56
- * @see {@link PartialUpdateUserEmailNotificationsSettingsCommandOutput} for command's `response` shape.
57
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
58
- *
59
- * @throws {@link ForbiddenException} (client fault)
60
- *
61
- * @throws {@link ValidationException} (client fault)
62
- *
63
- * @throws {@link UsersServiceException}
64
- * <p>Base exception class for all service exceptions from Users service.</p>
65
- *
66
- *
67
- * @public
68
- */
69
- export declare class PartialUpdateUserEmailNotificationsSettingsCommand extends PartialUpdateUserEmailNotificationsSettingsCommand_base {
70
- /** @internal type navigation helper, not in runtime. */
71
- protected static __types: {
72
- api: {
73
- input: PartialUpdateUserEmailNotificationsSettingsInput;
74
- output: PartialUpdateUserEmailNotificationsSettingsOutput;
75
- };
76
- sdk: {
77
- input: PartialUpdateUserEmailNotificationsSettingsCommandInput;
78
- output: PartialUpdateUserEmailNotificationsSettingsCommandOutput;
79
- };
80
- };
81
- }