@wildix/xbees-users-client 1.0.26 → 1.0.27

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.
@@ -4,6 +4,7 @@ import { BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1Comma
4
4
  import { ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput } from "../commands/ChangeUserEmailCommand";
5
5
  import { CreateBotApiKeyCommandInput, CreateBotApiKeyCommandOutput } from "../commands/CreateBotApiKeyCommand";
6
6
  import { CreateBotCommandInput, CreateBotCommandOutput } from "../commands/CreateBotCommand";
7
+ import { CreateSystemBotCommandInput, CreateSystemBotCommandOutput } from "../commands/CreateSystemBotCommand";
7
8
  import { DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput } from "../commands/DeleteBotApiKeyCommand";
8
9
  import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/DeleteBotCommand";
9
10
  import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "../commands/GetBotCallbackCommand";
@@ -12,10 +13,9 @@ import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCo
12
13
  import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "../commands/GetUserPbxLinkDataCommand";
13
14
  import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "../commands/GetUserPbxLinkSuggestionCommand";
14
15
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "../commands/GetUserPbxLinkSuggestionV1Command";
15
- import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "../commands/GetUserSettingsCommand";
16
16
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
17
17
  import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
18
- import { PartialUpdateUserSettingsCommandInput, PartialUpdateUserSettingsCommandOutput } from "../commands/PartialUpdateUserSettingsCommand";
18
+ import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
19
19
  import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
20
20
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
21
21
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
@@ -50,6 +50,10 @@ export declare const se_CreateBotCommand: (input: CreateBotCommandInput, context
50
50
  * serializeAws_restJson1CreateBotApiKeyCommand
51
51
  */
52
52
  export declare const se_CreateBotApiKeyCommand: (input: CreateBotApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ /**
54
+ * serializeAws_restJson1CreateSystemBotCommand
55
+ */
56
+ export declare const se_CreateSystemBotCommand: (input: CreateSystemBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
57
  /**
54
58
  * serializeAws_restJson1DeleteBotCommand
55
59
  */
@@ -82,10 +86,6 @@ export declare const se_GetUserPbxLinkSuggestionCommand: (input: GetUserPbxLinkS
82
86
  * serializeAws_restJson1GetUserPbxLinkSuggestionV1Command
83
87
  */
84
88
  export declare const se_GetUserPbxLinkSuggestionV1Command: (input: GetUserPbxLinkSuggestionV1CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
- /**
86
- * serializeAws_restJson1GetUserSettingsCommand
87
- */
88
- export declare const se_GetUserSettingsCommand: (input: GetUserSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
89
  /**
90
90
  * serializeAws_restJson1ListBotApiKeysCommand
91
91
  */
@@ -95,9 +95,9 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
95
95
  */
96
96
  export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
97
  /**
98
- * serializeAws_restJson1PartialUpdateUserSettingsCommand
98
+ * serializeAws_restJson1QueryColleaguesCommand
99
99
  */
100
- export declare const se_PartialUpdateUserSettingsCommand: (input: PartialUpdateUserSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
+ export declare const se_QueryColleaguesCommand: (input: QueryColleaguesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
101
101
  /**
102
102
  * serializeAws_restJson1QueryUserCommand
103
103
  */
@@ -154,6 +154,10 @@ export declare const de_CreateBotCommand: (output: __HttpResponse, context: __Se
154
154
  * deserializeAws_restJson1CreateBotApiKeyCommand
155
155
  */
156
156
  export declare const de_CreateBotApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBotApiKeyCommandOutput>;
157
+ /**
158
+ * deserializeAws_restJson1CreateSystemBotCommand
159
+ */
160
+ export declare const de_CreateSystemBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSystemBotCommandOutput>;
157
161
  /**
158
162
  * deserializeAws_restJson1DeleteBotCommand
159
163
  */
@@ -186,10 +190,6 @@ export declare const de_GetUserPbxLinkSuggestionCommand: (output: __HttpResponse
186
190
  * deserializeAws_restJson1GetUserPbxLinkSuggestionV1Command
187
191
  */
188
192
  export declare const de_GetUserPbxLinkSuggestionV1Command: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserPbxLinkSuggestionV1CommandOutput>;
189
- /**
190
- * deserializeAws_restJson1GetUserSettingsCommand
191
- */
192
- export declare const de_GetUserSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserSettingsCommandOutput>;
193
193
  /**
194
194
  * deserializeAws_restJson1ListBotApiKeysCommand
195
195
  */
@@ -199,9 +199,9 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
199
199
  */
200
200
  export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
201
201
  /**
202
- * deserializeAws_restJson1PartialUpdateUserSettingsCommand
202
+ * deserializeAws_restJson1QueryColleaguesCommand
203
203
  */
204
- export declare const de_PartialUpdateUserSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PartialUpdateUserSettingsCommandOutput>;
204
+ export declare const de_QueryColleaguesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryColleaguesCommandOutput>;
205
205
  /**
206
206
  * deserializeAws_restJson1QueryUserCommand
207
207
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-users-client",
3
3
  "description": "@wildix/xbees-users-client client",
4
- "version": "1.0.26",
4
+ "version": "1.0.27",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -76,4 +76,4 @@
76
76
  "react-native": {
77
77
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
78
78
  }
79
- }
79
+ }
@@ -1,17 +0,0 @@
1
- import { de_PartialUpdateUserSettingsCommand, se_PartialUpdateUserSettingsCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class PartialUpdateUserSettingsCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Users", "PartialUpdateUserSettings", {})
12
- .n("UsersClient", "PartialUpdateUserSettingsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_PartialUpdateUserSettingsCommand)
15
- .de(de_PartialUpdateUserSettingsCommand)
16
- .build() {
17
- }
@@ -1,69 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { GetUserSettingsInput, GetUserSettingsOutput } 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 GetUserSettingsCommand}.
14
- */
15
- export interface GetUserSettingsCommandInput extends GetUserSettingsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetUserSettingsCommand}.
21
- */
22
- export interface GetUserSettingsCommandOutput extends GetUserSettingsOutput, __MetadataBearer {
23
- }
24
- declare const GetUserSettingsCommand_base: {
25
- new (input: GetUserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserSettingsCommandInput, GetUserSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetUserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserSettingsCommandInput, GetUserSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Getting settings for the user.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, GetUserSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, GetUserSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // GetUserSettingsInput
38
- * userId: "STRING_VALUE", // required
39
- * };
40
- * const command = new GetUserSettingsCommand(input);
41
- * const response = await client.send(command);
42
- * // { // GetUserSettingsOutput
43
- * // emailNotifications: { // EmailNotificationsSettings
44
- * // unread: true || false, // required
45
- * // transcription: true || false, // required
46
- * // },
47
- * // };
48
- *
49
- * ```
50
- *
51
- * @param GetUserSettingsCommandInput - {@link GetUserSettingsCommandInput}
52
- * @returns {@link GetUserSettingsCommandOutput}
53
- * @see {@link GetUserSettingsCommandInput} for command's `input` shape.
54
- * @see {@link GetUserSettingsCommandOutput} for command's `response` shape.
55
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
56
- *
57
- * @throws {@link UserNotFoundException} (client fault)
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
- * @public
67
- */
68
- export declare class GetUserSettingsCommand extends GetUserSettingsCommand_base {
69
- }
@@ -1,76 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { PartialUpdateUserSettingsInput, PartialUpdateUserSettingsOutput } 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 PartialUpdateUserSettingsCommand}.
14
- */
15
- export interface PartialUpdateUserSettingsCommandInput extends PartialUpdateUserSettingsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link PartialUpdateUserSettingsCommand}.
21
- */
22
- export interface PartialUpdateUserSettingsCommandOutput extends PartialUpdateUserSettingsOutput, __MetadataBearer {
23
- }
24
- declare const PartialUpdateUserSettingsCommand_base: {
25
- new (input: PartialUpdateUserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserSettingsCommandInput, PartialUpdateUserSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: PartialUpdateUserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateUserSettingsCommandInput, PartialUpdateUserSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Getting settings for the user.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, PartialUpdateUserSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, PartialUpdateUserSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // PartialUpdateUserSettingsInput
38
- * userId: "STRING_VALUE",
39
- * token: "STRING_VALUE",
40
- * settings: { // PartialUserSettings
41
- * emailNotifications: { // PartialEmailNotificationsSettings
42
- * unread: true || false,
43
- * transcription: true || false,
44
- * },
45
- * },
46
- * };
47
- * const command = new PartialUpdateUserSettingsCommand(input);
48
- * const response = await client.send(command);
49
- * // { // PartialUpdateUserSettingsOutput
50
- * // emailNotifications: { // EmailNotificationsSettings
51
- * // unread: true || false, // required
52
- * // transcription: true || false, // required
53
- * // },
54
- * // };
55
- *
56
- * ```
57
- *
58
- * @param PartialUpdateUserSettingsCommandInput - {@link PartialUpdateUserSettingsCommandInput}
59
- * @returns {@link PartialUpdateUserSettingsCommandOutput}
60
- * @see {@link PartialUpdateUserSettingsCommandInput} for command's `input` shape.
61
- * @see {@link PartialUpdateUserSettingsCommandOutput} for command's `response` shape.
62
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
63
- *
64
- * @throws {@link UserNotFoundException} (client fault)
65
- *
66
- * @throws {@link ForbiddenException} (client fault)
67
- *
68
- * @throws {@link ValidationException} (client fault)
69
- *
70
- * @throws {@link UsersServiceException}
71
- * <p>Base exception class for all service exceptions from Users service.</p>
72
- *
73
- * @public
74
- */
75
- export declare class PartialUpdateUserSettingsCommand extends PartialUpdateUserSettingsCommand_base {
76
- }