@wildix/xbees-users-client 1.0.28 → 1.0.30
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.
- package/dist-cjs/Users.js +12 -4
- package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/{GetUserSettingsCommand.js → GetUserEmailNotificationsSettingsCommand.js} +7 -7
- package/dist-cjs/commands/ManageTranscriptionEmailNotificationsSubscriptionCommand.js +21 -0
- package/dist-cjs/commands/ManageUnreadEmailNotificationsSubscriptionCommand.js +21 -0
- package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/{PartialUpdateUserSettingsCommand.js → UpdateUserEmailNotificationsSettingsCommand.js} +7 -7
- package/dist-cjs/commands/index.js +6 -2
- package/dist-cjs/protocols/Aws_restJson1.js +154 -43
- package/dist-es/Users.js +12 -4
- package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/ManageTranscriptionEmailNotificationsSubscriptionCommand.js +17 -0
- package/dist-es/commands/ManageUnreadEmailNotificationsSubscriptionCommand.js +17 -0
- package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/index.js +6 -2
- package/dist-es/protocols/Aws_restJson1.js +136 -33
- package/dist-types/Users.d.ts +40 -13
- package/dist-types/UsersClient.d.ts +8 -4
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +71 -0
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/ManageTranscriptionEmailNotificationsSubscriptionCommand.d.ts +63 -0
- package/dist-types/commands/ManageUnreadEmailNotificationsSubscriptionCommand.d.ts +63 -0
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/index.d.ts +6 -2
- package/dist-types/models/models_0.d.ts +103 -54
- package/dist-types/protocols/Aws_restJson1.d.ts +50 -14
- package/package.json +5 -5
- package/dist-es/commands/GetUserSettingsCommand.js +0 -17
- package/dist-es/commands/PartialUpdateUserSettingsCommand.js +0 -17
- package/dist-types/commands/GetUserSettingsCommand.d.ts +0 -69
- package/dist-types/commands/PartialUpdateUserSettingsCommand.d.ts +0 -76
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "../commands/BatchGetUsersCommand";
|
|
2
|
+
import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "../commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
2
3
|
import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "../commands/BatchGetUsersPbxLinkDataCommand";
|
|
3
4
|
import { BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput } from "../commands/BatchGetUsersPbxLinkDataV1Command";
|
|
4
5
|
import { ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput } from "../commands/ChangeUserEmailCommand";
|
|
@@ -10,18 +11,21 @@ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/Delet
|
|
|
10
11
|
import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "../commands/GetBotCallbackCommand";
|
|
11
12
|
import { GetBotCommandInput, GetBotCommandOutput } from "../commands/GetBotCommand";
|
|
12
13
|
import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
|
|
14
|
+
import { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "../commands/GetUserEmailNotificationsSettingsCommand";
|
|
13
15
|
import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "../commands/GetUserPbxLinkDataCommand";
|
|
14
16
|
import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "../commands/GetUserPbxLinkSuggestionCommand";
|
|
15
17
|
import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "../commands/GetUserPbxLinkSuggestionV1Command";
|
|
16
|
-
import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "../commands/GetUserSettingsCommand";
|
|
17
18
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
|
|
18
19
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
|
|
19
|
-
import {
|
|
20
|
+
import { ManageTranscriptionEmailNotificationsSubscriptionCommandInput, ManageTranscriptionEmailNotificationsSubscriptionCommandOutput } from "../commands/ManageTranscriptionEmailNotificationsSubscriptionCommand";
|
|
21
|
+
import { ManageUnreadEmailNotificationsSubscriptionCommandInput, ManageUnreadEmailNotificationsSubscriptionCommandOutput } from "../commands/ManageUnreadEmailNotificationsSubscriptionCommand";
|
|
22
|
+
import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
20
23
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
|
|
21
24
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
|
|
22
25
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
|
|
23
26
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
|
|
24
27
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
|
|
28
|
+
import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
25
29
|
import { UploadPictureCommandInput, UploadPictureCommandOutput } from "../commands/UploadPictureCommand";
|
|
26
30
|
import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "../commands/UploadPictureV1Command";
|
|
27
31
|
import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "../commands/VerifyBotSecretKeyCommand";
|
|
@@ -32,6 +36,10 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
|
32
36
|
* serializeAws_restJson1BatchGetUsersCommand
|
|
33
37
|
*/
|
|
34
38
|
export declare const se_BatchGetUsersCommand: (input: BatchGetUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
/**
|
|
40
|
+
* serializeAws_restJson1BatchGetUsersEmailNotificationsSettingsCommand
|
|
41
|
+
*/
|
|
42
|
+
export declare const se_BatchGetUsersEmailNotificationsSettingsCommand: (input: BatchGetUsersEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
43
|
/**
|
|
36
44
|
* serializeAws_restJson1BatchGetUsersPbxLinkDataCommand
|
|
37
45
|
*/
|
|
@@ -76,6 +84,10 @@ export declare const se_GetBotCallbackCommand: (input: GetBotCallbackCommandInpu
|
|
|
76
84
|
* serializeAws_restJson1GetUserCommand
|
|
77
85
|
*/
|
|
78
86
|
export declare const se_GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
87
|
+
/**
|
|
88
|
+
* serializeAws_restJson1GetUserEmailNotificationsSettingsCommand
|
|
89
|
+
*/
|
|
90
|
+
export declare const se_GetUserEmailNotificationsSettingsCommand: (input: GetUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
79
91
|
/**
|
|
80
92
|
* serializeAws_restJson1GetUserPbxLinkDataCommand
|
|
81
93
|
*/
|
|
@@ -88,10 +100,6 @@ export declare const se_GetUserPbxLinkSuggestionCommand: (input: GetUserPbxLinkS
|
|
|
88
100
|
* serializeAws_restJson1GetUserPbxLinkSuggestionV1Command
|
|
89
101
|
*/
|
|
90
102
|
export declare const se_GetUserPbxLinkSuggestionV1Command: (input: GetUserPbxLinkSuggestionV1CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
91
|
-
/**
|
|
92
|
-
* serializeAws_restJson1GetUserSettingsCommand
|
|
93
|
-
*/
|
|
94
|
-
export declare const se_GetUserSettingsCommand: (input: GetUserSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
95
103
|
/**
|
|
96
104
|
* serializeAws_restJson1ListBotApiKeysCommand
|
|
97
105
|
*/
|
|
@@ -101,9 +109,17 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
|
|
|
101
109
|
*/
|
|
102
110
|
export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
103
111
|
/**
|
|
104
|
-
*
|
|
112
|
+
* serializeAws_restJson1ManageTranscriptionEmailNotificationsSubscriptionCommand
|
|
105
113
|
*/
|
|
106
|
-
export declare const
|
|
114
|
+
export declare const se_ManageTranscriptionEmailNotificationsSubscriptionCommand: (input: ManageTranscriptionEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
115
|
+
/**
|
|
116
|
+
* serializeAws_restJson1ManageUnreadEmailNotificationsSubscriptionCommand
|
|
117
|
+
*/
|
|
118
|
+
export declare const se_ManageUnreadEmailNotificationsSubscriptionCommand: (input: ManageUnreadEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
119
|
+
/**
|
|
120
|
+
* serializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
|
|
121
|
+
*/
|
|
122
|
+
export declare const se_PartialUpdateUserEmailNotificationsSettingsCommand: (input: PartialUpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
107
123
|
/**
|
|
108
124
|
* serializeAws_restJson1QueryColleaguesCommand
|
|
109
125
|
*/
|
|
@@ -124,6 +140,10 @@ export declare const se_UpdateBotCommand: (input: UpdateBotCommandInput, context
|
|
|
124
140
|
* serializeAws_restJson1UpdateBotCallbackCommand
|
|
125
141
|
*/
|
|
126
142
|
export declare const se_UpdateBotCallbackCommand: (input: UpdateBotCallbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
143
|
+
/**
|
|
144
|
+
* serializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
|
|
145
|
+
*/
|
|
146
|
+
export declare const se_UpdateUserEmailNotificationsSettingsCommand: (input: UpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
127
147
|
/**
|
|
128
148
|
* serializeAws_restJson1UploadPictureCommand
|
|
129
149
|
*/
|
|
@@ -144,6 +164,10 @@ export declare const se_VerifyBotSecretKeyV1Command: (input: VerifyBotSecretKeyV
|
|
|
144
164
|
* deserializeAws_restJson1BatchGetUsersCommand
|
|
145
165
|
*/
|
|
146
166
|
export declare const de_BatchGetUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersCommandOutput>;
|
|
167
|
+
/**
|
|
168
|
+
* deserializeAws_restJson1BatchGetUsersEmailNotificationsSettingsCommand
|
|
169
|
+
*/
|
|
170
|
+
export declare const de_BatchGetUsersEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersEmailNotificationsSettingsCommandOutput>;
|
|
147
171
|
/**
|
|
148
172
|
* deserializeAws_restJson1BatchGetUsersPbxLinkDataCommand
|
|
149
173
|
*/
|
|
@@ -188,6 +212,10 @@ export declare const de_GetBotCallbackCommand: (output: __HttpResponse, context:
|
|
|
188
212
|
* deserializeAws_restJson1GetUserCommand
|
|
189
213
|
*/
|
|
190
214
|
export declare const de_GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
|
|
215
|
+
/**
|
|
216
|
+
* deserializeAws_restJson1GetUserEmailNotificationsSettingsCommand
|
|
217
|
+
*/
|
|
218
|
+
export declare const de_GetUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserEmailNotificationsSettingsCommandOutput>;
|
|
191
219
|
/**
|
|
192
220
|
* deserializeAws_restJson1GetUserPbxLinkDataCommand
|
|
193
221
|
*/
|
|
@@ -200,10 +228,6 @@ export declare const de_GetUserPbxLinkSuggestionCommand: (output: __HttpResponse
|
|
|
200
228
|
* deserializeAws_restJson1GetUserPbxLinkSuggestionV1Command
|
|
201
229
|
*/
|
|
202
230
|
export declare const de_GetUserPbxLinkSuggestionV1Command: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserPbxLinkSuggestionV1CommandOutput>;
|
|
203
|
-
/**
|
|
204
|
-
* deserializeAws_restJson1GetUserSettingsCommand
|
|
205
|
-
*/
|
|
206
|
-
export declare const de_GetUserSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserSettingsCommandOutput>;
|
|
207
231
|
/**
|
|
208
232
|
* deserializeAws_restJson1ListBotApiKeysCommand
|
|
209
233
|
*/
|
|
@@ -213,9 +237,17 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
|
|
|
213
237
|
*/
|
|
214
238
|
export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
|
|
215
239
|
/**
|
|
216
|
-
*
|
|
240
|
+
* deserializeAws_restJson1ManageTranscriptionEmailNotificationsSubscriptionCommand
|
|
217
241
|
*/
|
|
218
|
-
export declare const
|
|
242
|
+
export declare const de_ManageTranscriptionEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ManageTranscriptionEmailNotificationsSubscriptionCommandOutput>;
|
|
243
|
+
/**
|
|
244
|
+
* deserializeAws_restJson1ManageUnreadEmailNotificationsSubscriptionCommand
|
|
245
|
+
*/
|
|
246
|
+
export declare const de_ManageUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ManageUnreadEmailNotificationsSubscriptionCommandOutput>;
|
|
247
|
+
/**
|
|
248
|
+
* deserializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
|
|
249
|
+
*/
|
|
250
|
+
export declare const de_PartialUpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PartialUpdateUserEmailNotificationsSettingsCommandOutput>;
|
|
219
251
|
/**
|
|
220
252
|
* deserializeAws_restJson1QueryColleaguesCommand
|
|
221
253
|
*/
|
|
@@ -236,6 +268,10 @@ export declare const de_UpdateBotCommand: (output: __HttpResponse, context: __Se
|
|
|
236
268
|
* deserializeAws_restJson1UpdateBotCallbackCommand
|
|
237
269
|
*/
|
|
238
270
|
export declare const de_UpdateBotCallbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCallbackCommandOutput>;
|
|
271
|
+
/**
|
|
272
|
+
* deserializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
|
|
273
|
+
*/
|
|
274
|
+
export declare const de_UpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
|
|
239
275
|
/**
|
|
240
276
|
* deserializeAws_restJson1UploadPictureCommand
|
|
241
277
|
*/
|
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.
|
|
4
|
+
"version": "1.0.30",
|
|
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",
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"module": "./dist-es/index.js",
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"tslib": "^2.6.2",
|
|
21
20
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
21
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
22
|
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
@@ -46,15 +45,16 @@
|
|
|
46
45
|
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
47
46
|
"@smithy/util-retry": "^3.0.0",
|
|
48
47
|
"@smithy/util-utf8": "^3.0.0",
|
|
49
|
-
"@wildix/smithy-utils": "^1.0.2"
|
|
48
|
+
"@wildix/smithy-utils": "^1.0.2",
|
|
49
|
+
"tslib": "^2.6.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@tsconfig/node16": "16.1.3",
|
|
53
|
+
"@types/node": "^16.18.96",
|
|
53
54
|
"concurrently": "7.0.0",
|
|
54
55
|
"downlevel-dts": "0.10.1",
|
|
55
56
|
"rimraf": "^3.0.0",
|
|
56
|
-
"typescript": "~4.9.5"
|
|
57
|
-
"@types/node": "^16.18.96"
|
|
57
|
+
"typescript": "~4.9.5"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=16.0.0"
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_GetUserSettingsCommand, se_GetUserSettingsCommand, } 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 GetUserSettingsCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Users", "GetUserSettings", {})
|
|
12
|
-
.n("UsersClient", "GetUserSettingsCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_GetUserSettingsCommand)
|
|
15
|
-
.de(de_GetUserSettingsCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -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 (...[input]: [] | [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",
|
|
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
|
-
}
|