@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
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_BatchGetUsersEmailNotificationsSettingsCommand, se_BatchGetUsersEmailNotificationsSettingsCommand, } 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 BatchGetUsersEmailNotificationsSettingsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "BatchGetUsersEmailNotificationsSettings", {})
|
|
12
|
+
.n("UsersClient", "BatchGetUsersEmailNotificationsSettingsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_BatchGetUsersEmailNotificationsSettingsCommand)
|
|
15
|
+
.de(de_BatchGetUsersEmailNotificationsSettingsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetUserEmailNotificationsSettingsCommand, se_GetUserEmailNotificationsSettingsCommand, } 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 GetUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "GetUserEmailNotificationsSettings", {})
|
|
12
|
+
.n("UsersClient", "GetUserEmailNotificationsSettingsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetUserEmailNotificationsSettingsCommand)
|
|
15
|
+
.de(de_GetUserEmailNotificationsSettingsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_ManageTranscriptionEmailNotificationsSubscriptionCommand, se_ManageTranscriptionEmailNotificationsSubscriptionCommand, } 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 ManageTranscriptionEmailNotificationsSubscriptionCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "ManageTranscriptionEmailNotificationsSubscription", {})
|
|
12
|
+
.n("UsersClient", "ManageTranscriptionEmailNotificationsSubscriptionCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_ManageTranscriptionEmailNotificationsSubscriptionCommand)
|
|
15
|
+
.de(de_ManageTranscriptionEmailNotificationsSubscriptionCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_ManageUnreadEmailNotificationsSubscriptionCommand, se_ManageUnreadEmailNotificationsSubscriptionCommand, } 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 ManageUnreadEmailNotificationsSubscriptionCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "ManageUnreadEmailNotificationsSubscription", {})
|
|
12
|
+
.n("UsersClient", "ManageUnreadEmailNotificationsSubscriptionCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_ManageUnreadEmailNotificationsSubscriptionCommand)
|
|
15
|
+
.de(de_ManageUnreadEmailNotificationsSubscriptionCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_PartialUpdateUserEmailNotificationsSettingsCommand, se_PartialUpdateUserEmailNotificationsSettingsCommand, } 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 PartialUpdateUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "PartialUpdateUserEmailNotificationsSettings", {})
|
|
12
|
+
.n("UsersClient", "PartialUpdateUserEmailNotificationsSettingsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_PartialUpdateUserEmailNotificationsSettingsCommand)
|
|
15
|
+
.de(de_PartialUpdateUserEmailNotificationsSettingsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UpdateUserEmailNotificationsSettingsCommand, se_UpdateUserEmailNotificationsSettingsCommand, } 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 UpdateUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "UpdateUserEmailNotificationsSettings", {})
|
|
12
|
+
.n("UsersClient", "UpdateUserEmailNotificationsSettingsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UpdateUserEmailNotificationsSettingsCommand)
|
|
15
|
+
.de(de_UpdateUserEmailNotificationsSettingsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./BatchGetUsersCommand";
|
|
2
|
+
export * from "./BatchGetUsersEmailNotificationsSettingsCommand";
|
|
2
3
|
export * from "./BatchGetUsersPbxLinkDataCommand";
|
|
3
4
|
export * from "./BatchGetUsersPbxLinkDataV1Command";
|
|
4
5
|
export * from "./ChangeUserEmailCommand";
|
|
@@ -10,18 +11,21 @@ export * from "./DeleteBotApiKeyCommand";
|
|
|
10
11
|
export * from "./GetBotCommand";
|
|
11
12
|
export * from "./GetBotCallbackCommand";
|
|
12
13
|
export * from "./GetUserCommand";
|
|
14
|
+
export * from "./GetUserEmailNotificationsSettingsCommand";
|
|
13
15
|
export * from "./GetUserPbxLinkDataCommand";
|
|
14
16
|
export * from "./GetUserPbxLinkSuggestionCommand";
|
|
15
17
|
export * from "./GetUserPbxLinkSuggestionV1Command";
|
|
16
|
-
export * from "./GetUserSettingsCommand";
|
|
17
18
|
export * from "./ListBotApiKeysCommand";
|
|
18
19
|
export * from "./ListBotsCommand";
|
|
19
|
-
export * from "./
|
|
20
|
+
export * from "./ManageTranscriptionEmailNotificationsSubscriptionCommand";
|
|
21
|
+
export * from "./ManageUnreadEmailNotificationsSubscriptionCommand";
|
|
22
|
+
export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
20
23
|
export * from "./QueryColleaguesCommand";
|
|
21
24
|
export * from "./QueryUserCommand";
|
|
22
25
|
export * from "./QueryUsersCommand";
|
|
23
26
|
export * from "./UpdateBotCommand";
|
|
24
27
|
export * from "./UpdateBotCallbackCommand";
|
|
28
|
+
export * from "./UpdateUserEmailNotificationsSettingsCommand";
|
|
25
29
|
export * from "./UploadPictureCommand";
|
|
26
30
|
export * from "./UploadPictureV1Command";
|
|
27
31
|
export * from "./VerifyBotSecretKeyCommand";
|
|
@@ -17,6 +17,21 @@ export const se_BatchGetUsersCommand = async (input, context) => {
|
|
|
17
17
|
.b(body);
|
|
18
18
|
return b.build();
|
|
19
19
|
};
|
|
20
|
+
export const se_BatchGetUsersEmailNotificationsSettingsCommand = async (input, context) => {
|
|
21
|
+
const b = rb(input, context);
|
|
22
|
+
const headers = {
|
|
23
|
+
'content-type': 'application/json',
|
|
24
|
+
};
|
|
25
|
+
b.bp("/v2/users/batch-get-users-email-notifications-settings");
|
|
26
|
+
let body;
|
|
27
|
+
body = JSON.stringify(take(input, {
|
|
28
|
+
'usersIds': _ => _json(_),
|
|
29
|
+
}));
|
|
30
|
+
b.m("POST")
|
|
31
|
+
.h(headers)
|
|
32
|
+
.b(body);
|
|
33
|
+
return b.build();
|
|
34
|
+
};
|
|
20
35
|
export const se_BatchGetUsersPbxLinkDataCommand = async (input, context) => {
|
|
21
36
|
const b = rb(input, context);
|
|
22
37
|
const headers = {
|
|
@@ -197,10 +212,10 @@ export const se_GetUserCommand = async (input, context) => {
|
|
|
197
212
|
.b(body);
|
|
198
213
|
return b.build();
|
|
199
214
|
};
|
|
200
|
-
export const
|
|
215
|
+
export const se_GetUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
201
216
|
const b = rb(input, context);
|
|
202
217
|
const headers = {};
|
|
203
|
-
b.bp("/v2/users/cloud/{userId}/
|
|
218
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
204
219
|
b.p('userId', () => input.userId, '{userId}', false);
|
|
205
220
|
let body;
|
|
206
221
|
b.m("GET")
|
|
@@ -208,24 +223,21 @@ export const se_GetUserPbxLinkDataCommand = async (input, context) => {
|
|
|
208
223
|
.b(body);
|
|
209
224
|
return b.build();
|
|
210
225
|
};
|
|
211
|
-
export const
|
|
226
|
+
export const se_GetUserPbxLinkDataCommand = async (input, context) => {
|
|
212
227
|
const b = rb(input, context);
|
|
213
228
|
const headers = {};
|
|
214
|
-
b.bp("/v2/users/
|
|
215
|
-
|
|
216
|
-
[_e]: [, input[_e]],
|
|
217
|
-
});
|
|
229
|
+
b.bp("/v2/users/cloud/{userId}/pbx-link-data");
|
|
230
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
218
231
|
let body;
|
|
219
232
|
b.m("GET")
|
|
220
233
|
.h(headers)
|
|
221
|
-
.q(query)
|
|
222
234
|
.b(body);
|
|
223
235
|
return b.build();
|
|
224
236
|
};
|
|
225
|
-
export const
|
|
237
|
+
export const se_GetUserPbxLinkSuggestionCommand = async (input, context) => {
|
|
226
238
|
const b = rb(input, context);
|
|
227
239
|
const headers = {};
|
|
228
|
-
b.bp("/v2/users/
|
|
240
|
+
b.bp("/v2/users/get-user-pbx-link-suggestion");
|
|
229
241
|
const query = map({
|
|
230
242
|
[_e]: [, input[_e]],
|
|
231
243
|
});
|
|
@@ -236,12 +248,12 @@ export const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
|
|
|
236
248
|
.b(body);
|
|
237
249
|
return b.build();
|
|
238
250
|
};
|
|
239
|
-
export const
|
|
251
|
+
export const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
|
|
240
252
|
const b = rb(input, context);
|
|
241
253
|
const headers = {};
|
|
242
|
-
b.bp("/v2/users/
|
|
254
|
+
b.bp("/v2/users/GetUserPbxLinkSuggestion");
|
|
243
255
|
const query = map({
|
|
244
|
-
[
|
|
256
|
+
[_e]: [, input[_e]],
|
|
245
257
|
});
|
|
246
258
|
let body;
|
|
247
259
|
b.m("GET")
|
|
@@ -279,23 +291,52 @@ export const se_ListBotsCommand = async (input, context) => {
|
|
|
279
291
|
.b(body);
|
|
280
292
|
return b.build();
|
|
281
293
|
};
|
|
282
|
-
export const
|
|
294
|
+
export const se_ManageTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
283
295
|
const b = rb(input, context);
|
|
284
296
|
const headers = {
|
|
285
297
|
'content-type': 'application/json',
|
|
286
298
|
};
|
|
287
|
-
b.bp("/v2/users/
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
299
|
+
b.bp("/v2/users/manage-transcription-email-notifications-subscription");
|
|
300
|
+
let body;
|
|
301
|
+
body = JSON.stringify(take(input, {
|
|
302
|
+
'subscribe': [],
|
|
303
|
+
'unsubscribeToken': [],
|
|
304
|
+
}));
|
|
305
|
+
b.m("POST")
|
|
306
|
+
.h(headers)
|
|
307
|
+
.b(body);
|
|
308
|
+
return b.build();
|
|
309
|
+
};
|
|
310
|
+
export const se_ManageUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
311
|
+
const b = rb(input, context);
|
|
312
|
+
const headers = {
|
|
313
|
+
'content-type': 'application/json',
|
|
314
|
+
};
|
|
315
|
+
b.bp("/v2/users/manage-unread-email-notifications-subscription");
|
|
291
316
|
let body;
|
|
292
317
|
body = JSON.stringify(take(input, {
|
|
293
|
-
'
|
|
294
|
-
'
|
|
318
|
+
'subscribe': [],
|
|
319
|
+
'unsubscribeToken': [],
|
|
320
|
+
}));
|
|
321
|
+
b.m("POST")
|
|
322
|
+
.h(headers)
|
|
323
|
+
.b(body);
|
|
324
|
+
return b.build();
|
|
325
|
+
};
|
|
326
|
+
export const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
327
|
+
const b = rb(input, context);
|
|
328
|
+
const headers = {
|
|
329
|
+
'content-type': 'application/json',
|
|
330
|
+
};
|
|
331
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
332
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
333
|
+
let body;
|
|
334
|
+
body = JSON.stringify(take(input, {
|
|
335
|
+
'transcription': [],
|
|
336
|
+
'unread': [],
|
|
295
337
|
}));
|
|
296
338
|
b.m("PATCH")
|
|
297
339
|
.h(headers)
|
|
298
|
-
.q(query)
|
|
299
340
|
.b(body);
|
|
300
341
|
return b.build();
|
|
301
342
|
};
|
|
@@ -392,6 +433,23 @@ export const se_UpdateBotCallbackCommand = async (input, context) => {
|
|
|
392
433
|
.b(body);
|
|
393
434
|
return b.build();
|
|
394
435
|
};
|
|
436
|
+
export const se_UpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
437
|
+
const b = rb(input, context);
|
|
438
|
+
const headers = {
|
|
439
|
+
'content-type': 'application/json',
|
|
440
|
+
};
|
|
441
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
442
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
443
|
+
let body;
|
|
444
|
+
body = JSON.stringify(take(input, {
|
|
445
|
+
'transcription': [],
|
|
446
|
+
'unread': [],
|
|
447
|
+
}));
|
|
448
|
+
b.m("POST")
|
|
449
|
+
.h(headers)
|
|
450
|
+
.b(body);
|
|
451
|
+
return b.build();
|
|
452
|
+
};
|
|
395
453
|
export const se_UploadPictureCommand = async (input, context) => {
|
|
396
454
|
const b = rb(input, context);
|
|
397
455
|
const headers = {
|
|
@@ -466,6 +524,20 @@ export const de_BatchGetUsersCommand = async (output, context) => {
|
|
|
466
524
|
Object.assign(contents, doc);
|
|
467
525
|
return contents;
|
|
468
526
|
};
|
|
527
|
+
export const de_BatchGetUsersEmailNotificationsSettingsCommand = async (output, context) => {
|
|
528
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
529
|
+
return de_CommandError(output, context);
|
|
530
|
+
}
|
|
531
|
+
const contents = map({
|
|
532
|
+
$metadata: deserializeMetadata(output),
|
|
533
|
+
});
|
|
534
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
535
|
+
const doc = take(data, {
|
|
536
|
+
'notifications': _json,
|
|
537
|
+
});
|
|
538
|
+
Object.assign(contents, doc);
|
|
539
|
+
return contents;
|
|
540
|
+
};
|
|
469
541
|
export const de_BatchGetUsersPbxLinkDataCommand = async (output, context) => {
|
|
470
542
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
471
543
|
return de_CommandError(output, context);
|
|
@@ -613,7 +685,7 @@ export const de_GetUserCommand = async (output, context) => {
|
|
|
613
685
|
Object.assign(contents, doc);
|
|
614
686
|
return contents;
|
|
615
687
|
};
|
|
616
|
-
export const
|
|
688
|
+
export const de_GetUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
617
689
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
618
690
|
return de_CommandError(output, context);
|
|
619
691
|
}
|
|
@@ -622,12 +694,12 @@ export const de_GetUserPbxLinkDataCommand = async (output, context) => {
|
|
|
622
694
|
});
|
|
623
695
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
624
696
|
const doc = take(data, {
|
|
625
|
-
'
|
|
697
|
+
'notifications': _json,
|
|
626
698
|
});
|
|
627
699
|
Object.assign(contents, doc);
|
|
628
700
|
return contents;
|
|
629
701
|
};
|
|
630
|
-
export const
|
|
702
|
+
export const de_GetUserPbxLinkDataCommand = async (output, context) => {
|
|
631
703
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
632
704
|
return de_CommandError(output, context);
|
|
633
705
|
}
|
|
@@ -636,12 +708,12 @@ export const de_GetUserPbxLinkSuggestionCommand = async (output, context) => {
|
|
|
636
708
|
});
|
|
637
709
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
638
710
|
const doc = take(data, {
|
|
639
|
-
'
|
|
711
|
+
'user': _json,
|
|
640
712
|
});
|
|
641
713
|
Object.assign(contents, doc);
|
|
642
714
|
return contents;
|
|
643
715
|
};
|
|
644
|
-
export const
|
|
716
|
+
export const de_GetUserPbxLinkSuggestionCommand = async (output, context) => {
|
|
645
717
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
646
718
|
return de_CommandError(output, context);
|
|
647
719
|
}
|
|
@@ -655,7 +727,7 @@ export const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
|
|
|
655
727
|
Object.assign(contents, doc);
|
|
656
728
|
return contents;
|
|
657
729
|
};
|
|
658
|
-
export const
|
|
730
|
+
export const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
|
|
659
731
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
660
732
|
return de_CommandError(output, context);
|
|
661
733
|
}
|
|
@@ -664,7 +736,7 @@ export const de_GetUserSettingsCommand = async (output, context) => {
|
|
|
664
736
|
});
|
|
665
737
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
666
738
|
const doc = take(data, {
|
|
667
|
-
'
|
|
739
|
+
'suggestion': _json,
|
|
668
740
|
});
|
|
669
741
|
Object.assign(contents, doc);
|
|
670
742
|
return contents;
|
|
@@ -697,7 +769,27 @@ export const de_ListBotsCommand = async (output, context) => {
|
|
|
697
769
|
Object.assign(contents, doc);
|
|
698
770
|
return contents;
|
|
699
771
|
};
|
|
700
|
-
export const
|
|
772
|
+
export const de_ManageTranscriptionEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
773
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
774
|
+
return de_CommandError(output, context);
|
|
775
|
+
}
|
|
776
|
+
const contents = map({
|
|
777
|
+
$metadata: deserializeMetadata(output),
|
|
778
|
+
});
|
|
779
|
+
await collectBody(output.body, context);
|
|
780
|
+
return contents;
|
|
781
|
+
};
|
|
782
|
+
export const de_ManageUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
783
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
784
|
+
return de_CommandError(output, context);
|
|
785
|
+
}
|
|
786
|
+
const contents = map({
|
|
787
|
+
$metadata: deserializeMetadata(output),
|
|
788
|
+
});
|
|
789
|
+
await collectBody(output.body, context);
|
|
790
|
+
return contents;
|
|
791
|
+
};
|
|
792
|
+
export const de_PartialUpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
701
793
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
702
794
|
return de_CommandError(output, context);
|
|
703
795
|
}
|
|
@@ -706,7 +798,7 @@ export const de_PartialUpdateUserSettingsCommand = async (output, context) => {
|
|
|
706
798
|
});
|
|
707
799
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
708
800
|
const doc = take(data, {
|
|
709
|
-
'
|
|
801
|
+
'notifications': _json,
|
|
710
802
|
});
|
|
711
803
|
Object.assign(contents, doc);
|
|
712
804
|
return contents;
|
|
@@ -781,6 +873,20 @@ export const de_UpdateBotCallbackCommand = async (output, context) => {
|
|
|
781
873
|
Object.assign(contents, doc);
|
|
782
874
|
return contents;
|
|
783
875
|
};
|
|
876
|
+
export const de_UpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
877
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
878
|
+
return de_CommandError(output, context);
|
|
879
|
+
}
|
|
880
|
+
const contents = map({
|
|
881
|
+
$metadata: deserializeMetadata(output),
|
|
882
|
+
});
|
|
883
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
884
|
+
const doc = take(data, {
|
|
885
|
+
'notifications': _json,
|
|
886
|
+
});
|
|
887
|
+
Object.assign(contents, doc);
|
|
888
|
+
return contents;
|
|
889
|
+
};
|
|
784
890
|
export const de_UploadPictureCommand = async (output, context) => {
|
|
785
891
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
786
892
|
return de_CommandError(output, context);
|
|
@@ -1065,9 +1171,6 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1065
1171
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1066
1172
|
const _c = "company";
|
|
1067
1173
|
const _e = "email";
|
|
1068
|
-
const _t = "token";
|
|
1069
|
-
const _u = "user";
|
|
1070
|
-
const _uI = "userId";
|
|
1071
1174
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
|
|
1072
1175
|
if (encoded.length) {
|
|
1073
1176
|
return JSON.parse(encoded);
|
package/dist-types/Users.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UsersClient } from "./UsersClient";
|
|
2
2
|
import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "./commands/BatchGetUsersCommand";
|
|
3
|
+
import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
3
4
|
import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
4
5
|
import { BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput } from "./commands/BatchGetUsersPbxLinkDataV1Command";
|
|
5
6
|
import { ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput } from "./commands/ChangeUserEmailCommand";
|
|
@@ -11,18 +12,21 @@ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/Delete
|
|
|
11
12
|
import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "./commands/GetBotCallbackCommand";
|
|
12
13
|
import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
|
|
13
14
|
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
15
|
+
import { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "./commands/GetUserEmailNotificationsSettingsCommand";
|
|
14
16
|
import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
|
|
15
17
|
import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "./commands/GetUserPbxLinkSuggestionCommand";
|
|
16
18
|
import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
17
|
-
import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "./commands/GetUserSettingsCommand";
|
|
18
19
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
|
|
19
20
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
20
|
-
import {
|
|
21
|
+
import { ManageTranscriptionEmailNotificationsSubscriptionCommandInput, ManageTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ManageTranscriptionEmailNotificationsSubscriptionCommand";
|
|
22
|
+
import { ManageUnreadEmailNotificationsSubscriptionCommandInput, ManageUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ManageUnreadEmailNotificationsSubscriptionCommand";
|
|
23
|
+
import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
21
24
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
22
25
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
23
26
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
24
27
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
|
|
25
28
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
29
|
+
import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
26
30
|
import { UploadPictureCommandInput, UploadPictureCommandOutput } from "./commands/UploadPictureCommand";
|
|
27
31
|
import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "./commands/UploadPictureV1Command";
|
|
28
32
|
import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "./commands/VerifyBotSecretKeyCommand";
|
|
@@ -35,6 +39,12 @@ export interface Users {
|
|
|
35
39
|
batchGetUsers(args: BatchGetUsersCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetUsersCommandOutput>;
|
|
36
40
|
batchGetUsers(args: BatchGetUsersCommandInput, cb: (err: any, data?: BatchGetUsersCommandOutput) => void): void;
|
|
37
41
|
batchGetUsers(args: BatchGetUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetUsersCommandOutput) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* @see {@link BatchGetUsersEmailNotificationsSettingsCommand}
|
|
44
|
+
*/
|
|
45
|
+
batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetUsersEmailNotificationsSettingsCommandOutput>;
|
|
46
|
+
batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, cb: (err: any, data?: BatchGetUsersEmailNotificationsSettingsCommandOutput) => void): void;
|
|
47
|
+
batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetUsersEmailNotificationsSettingsCommandOutput) => void): void;
|
|
38
48
|
/**
|
|
39
49
|
* @see {@link BatchGetUsersPbxLinkDataCommand}
|
|
40
50
|
*/
|
|
@@ -101,6 +111,12 @@ export interface Users {
|
|
|
101
111
|
getUser(args: GetUserCommandInput, options?: __HttpHandlerOptions): Promise<GetUserCommandOutput>;
|
|
102
112
|
getUser(args: GetUserCommandInput, cb: (err: any, data?: GetUserCommandOutput) => void): void;
|
|
103
113
|
getUser(args: GetUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link GetUserEmailNotificationsSettingsCommand}
|
|
116
|
+
*/
|
|
117
|
+
getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetUserEmailNotificationsSettingsCommandOutput>;
|
|
118
|
+
getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: GetUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
119
|
+
getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
104
120
|
/**
|
|
105
121
|
* @see {@link GetUserPbxLinkDataCommand}
|
|
106
122
|
*/
|
|
@@ -121,13 +137,6 @@ export interface Users {
|
|
|
121
137
|
getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options?: __HttpHandlerOptions): Promise<GetUserPbxLinkSuggestionV1CommandOutput>;
|
|
122
138
|
getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
|
|
123
139
|
getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
|
|
124
|
-
/**
|
|
125
|
-
* @see {@link GetUserSettingsCommand}
|
|
126
|
-
*/
|
|
127
|
-
getUserSettings(): Promise<GetUserSettingsCommandOutput>;
|
|
128
|
-
getUserSettings(args: GetUserSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetUserSettingsCommandOutput>;
|
|
129
|
-
getUserSettings(args: GetUserSettingsCommandInput, cb: (err: any, data?: GetUserSettingsCommandOutput) => void): void;
|
|
130
|
-
getUserSettings(args: GetUserSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserSettingsCommandOutput) => void): void;
|
|
131
140
|
/**
|
|
132
141
|
* @see {@link ListBotApiKeysCommand}
|
|
133
142
|
*/
|
|
@@ -142,11 +151,23 @@ export interface Users {
|
|
|
142
151
|
listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
143
152
|
listBots(args: ListBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
144
153
|
/**
|
|
145
|
-
* @see {@link
|
|
154
|
+
* @see {@link ManageTranscriptionEmailNotificationsSubscriptionCommand}
|
|
146
155
|
*/
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
156
|
+
manageTranscriptionEmailNotificationsSubscription(args: ManageTranscriptionEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ManageTranscriptionEmailNotificationsSubscriptionCommandOutput>;
|
|
157
|
+
manageTranscriptionEmailNotificationsSubscription(args: ManageTranscriptionEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ManageTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
158
|
+
manageTranscriptionEmailNotificationsSubscription(args: ManageTranscriptionEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ManageTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link ManageUnreadEmailNotificationsSubscriptionCommand}
|
|
161
|
+
*/
|
|
162
|
+
manageUnreadEmailNotificationsSubscription(args: ManageUnreadEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ManageUnreadEmailNotificationsSubscriptionCommandOutput>;
|
|
163
|
+
manageUnreadEmailNotificationsSubscription(args: ManageUnreadEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ManageUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
164
|
+
manageUnreadEmailNotificationsSubscription(args: ManageUnreadEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ManageUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
165
|
+
/**
|
|
166
|
+
* @see {@link PartialUpdateUserEmailNotificationsSettingsCommand}
|
|
167
|
+
*/
|
|
168
|
+
partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PartialUpdateUserEmailNotificationsSettingsCommandOutput>;
|
|
169
|
+
partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: PartialUpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
170
|
+
partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PartialUpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
150
171
|
/**
|
|
151
172
|
* @see {@link QueryColleaguesCommand}
|
|
152
173
|
*/
|
|
@@ -178,6 +199,12 @@ export interface Users {
|
|
|
178
199
|
updateBotCallback(args: UpdateBotCallbackCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotCallbackCommandOutput>;
|
|
179
200
|
updateBotCallback(args: UpdateBotCallbackCommandInput, cb: (err: any, data?: UpdateBotCallbackCommandOutput) => void): void;
|
|
180
201
|
updateBotCallback(args: UpdateBotCallbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotCallbackCommandOutput) => void): void;
|
|
202
|
+
/**
|
|
203
|
+
* @see {@link UpdateUserEmailNotificationsSettingsCommand}
|
|
204
|
+
*/
|
|
205
|
+
updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
|
|
206
|
+
updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: UpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
207
|
+
updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
181
208
|
/**
|
|
182
209
|
* @see {@link UploadPictureCommand}
|
|
183
210
|
*/
|
|
@@ -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/Delete
|
|
|
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";
|
|
@@ -37,11 +41,11 @@ export { __Client };
|
|
|
37
41
|
/**
|
|
38
42
|
* @public
|
|
39
43
|
*/
|
|
40
|
-
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput |
|
|
44
|
+
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | ManageTranscriptionEmailNotificationsSubscriptionCommandInput | ManageUnreadEmailNotificationsSubscriptionCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
|
|
41
45
|
/**
|
|
42
46
|
* @public
|
|
43
47
|
*/
|
|
44
|
-
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput |
|
|
48
|
+
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | ManageTranscriptionEmailNotificationsSubscriptionCommandOutput | ManageUnreadEmailNotificationsSubscriptionCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
|
|
45
49
|
/**
|
|
46
50
|
* @public
|
|
47
51
|
*/
|