@wildix/xbees-users-client 4.3.3-wms28830.1 → 4.4.0-stage.1
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 +17 -7
- package/dist-cjs/auth/httpAuthSchemeProvider.js +35 -16
- package/dist-cjs/commands/ApplyAccountWorkspaceChangesCommand.js +20 -0
- package/dist-cjs/commands/{LinkIdentityCommand.js → ApplyIdentityRemovalCommand.js} +6 -6
- package/dist-cjs/commands/ConfirmIdentityChallengeCommand.js +20 -0
- package/dist-cjs/commands/{VerifyIdentityCommand.js → ListAccountEmailChangesCommand.js} +6 -6
- package/dist-cjs/commands/ResendIdentityChallengeCodeCommand.js +20 -0
- package/dist-cjs/commands/{UnlinkIdentityCommand.js → StartIdentityChallengeCommand.js} +6 -6
- package/dist-cjs/commands/index.js +6 -3
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/enums.js +88 -5
- package/dist-cjs/models/errors.js +144 -24
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccountEmailChangesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/schemas/schemas_0.js +431 -151
- package/dist-es/Users.js +17 -7
- package/dist-es/auth/httpAuthSchemeProvider.js +35 -16
- package/dist-es/commands/ApplyAccountWorkspaceChangesCommand.js +16 -0
- package/dist-es/commands/{UnlinkIdentityCommand.js → ApplyIdentityRemovalCommand.js} +5 -5
- package/dist-es/commands/ConfirmIdentityChallengeCommand.js +16 -0
- package/dist-es/commands/{LinkIdentityCommand.js → ListAccountEmailChangesCommand.js} +5 -5
- package/dist-es/commands/ResendIdentityChallengeCodeCommand.js +16 -0
- package/dist-es/commands/{VerifyIdentityCommand.js → StartIdentityChallengeCommand.js} +5 -5
- package/dist-es/commands/index.js +6 -3
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +87 -4
- package/dist-es/models/errors.js +132 -20
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccountEmailChangesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +427 -147
- package/dist-types/Users.d.ts +46 -18
- package/dist-types/UsersClient.d.ts +8 -5
- package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +193 -0
- package/dist-types/commands/ApplyIdentityRemovalCommand.d.ts +93 -0
- package/dist-types/commands/ConfirmIdentityChallengeCommand.d.ts +138 -0
- package/dist-types/commands/ListAccountEmailChangesCommand.d.ts +101 -0
- package/dist-types/commands/ListIdentitiesCommand.d.ts +4 -2
- package/dist-types/commands/QueryUserCommand.d.ts +1 -1
- package/dist-types/commands/QueryUsersCommand.d.ts +1 -1
- package/dist-types/commands/ResendIdentityChallengeCodeCommand.d.ts +96 -0
- package/dist-types/commands/StartIdentityChallengeCommand.d.ts +139 -0
- package/dist-types/commands/UpdateAccountCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +6 -3
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +344 -8
- package/dist-types/models/errors.d.ts +158 -17
- package/dist-types/models/models_0.d.ts +659 -69
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAccountEmailChangesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +40 -9
- package/package.json +5 -5
- package/dist-types/commands/LinkIdentityCommand.d.ts +0 -89
- package/dist-types/commands/UnlinkIdentityCommand.d.ts +0 -85
- package/dist-types/commands/VerifyIdentityCommand.d.ts +0 -90
package/dist-es/Users.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
|
+
import { ApplyAccountWorkspaceChangesCommand, } from "./commands/ApplyAccountWorkspaceChangesCommand";
|
|
3
|
+
import { ApplyIdentityRemovalCommand, } from "./commands/ApplyIdentityRemovalCommand";
|
|
2
4
|
import { BatchGetUsersCommand, } from "./commands/BatchGetUsersCommand";
|
|
3
5
|
import { BatchGetUsersEmailNotificationsSettingsCommand, } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
4
6
|
import { BatchGetUsersPbxLinkDataCommand, } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
5
7
|
import { BatchGetUsersPbxLinkDataV1Command, } from "./commands/BatchGetUsersPbxLinkDataV1Command";
|
|
6
8
|
import { ChangeUserEmailCommand, } from "./commands/ChangeUserEmailCommand";
|
|
9
|
+
import { ConfirmIdentityChallengeCommand, } from "./commands/ConfirmIdentityChallengeCommand";
|
|
7
10
|
import { CreateAnonymousSessionCommand, } from "./commands/CreateAnonymousSessionCommand";
|
|
8
11
|
import { CreateBotApiKeyCommand, } from "./commands/CreateBotApiKeyCommand";
|
|
9
12
|
import { CreateBotCommand } from "./commands/CreateBotCommand";
|
|
@@ -21,7 +24,7 @@ import { GetUserPbxLinkSuggestionCommand, } from "./commands/GetUserPbxLinkSugge
|
|
|
21
24
|
import { GetUserPbxLinkSuggestionV1Command, } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
22
25
|
import { IntelligenceSearchCommand, } from "./commands/IntelligenceSearchCommand";
|
|
23
26
|
import { InviteCommand } from "./commands/InviteCommand";
|
|
24
|
-
import {
|
|
27
|
+
import { ListAccountEmailChangesCommand, } from "./commands/ListAccountEmailChangesCommand";
|
|
25
28
|
import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
|
|
26
29
|
import { ListBotsCommand } from "./commands/ListBotsCommand";
|
|
27
30
|
import { ListIdentitiesCommand, } from "./commands/ListIdentitiesCommand";
|
|
@@ -30,10 +33,11 @@ import { PartialUpdateUserEmailNotificationsSettingsCommand, } from "./commands/
|
|
|
30
33
|
import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
|
|
31
34
|
import { QueryUserCommand } from "./commands/QueryUserCommand";
|
|
32
35
|
import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
|
|
36
|
+
import { ResendIdentityChallengeCodeCommand, } from "./commands/ResendIdentityChallengeCodeCommand";
|
|
33
37
|
import { ResetUserChatHistoryCommand, } from "./commands/ResetUserChatHistoryCommand";
|
|
38
|
+
import { StartIdentityChallengeCommand, } from "./commands/StartIdentityChallengeCommand";
|
|
34
39
|
import { ToggleTranscriptionEmailNotificationsSubscriptionCommand, } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
35
40
|
import { ToggleUnreadEmailNotificationsSubscriptionCommand, } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
36
|
-
import { UnlinkIdentityCommand, } from "./commands/UnlinkIdentityCommand";
|
|
37
41
|
import { UnlinkWorkspaceCommand, } from "./commands/UnlinkWorkspaceCommand";
|
|
38
42
|
import { UpdateAccountCommand, } from "./commands/UpdateAccountCommand";
|
|
39
43
|
import { UpdateBotCallbackCommand, } from "./commands/UpdateBotCallbackCommand";
|
|
@@ -44,14 +48,17 @@ import { UploadPictureCommand, } from "./commands/UploadPictureCommand";
|
|
|
44
48
|
import { UploadPictureV1Command, } from "./commands/UploadPictureV1Command";
|
|
45
49
|
import { VerifyBotSecretKeyCommand, } from "./commands/VerifyBotSecretKeyCommand";
|
|
46
50
|
import { VerifyBotSecretKeyV1Command, } from "./commands/VerifyBotSecretKeyV1Command";
|
|
47
|
-
import {
|
|
51
|
+
import { paginateListAccountEmailChanges } from "./pagination/ListAccountEmailChangesPaginator";
|
|
48
52
|
import { UsersClient } from "./UsersClient";
|
|
49
53
|
const commands = {
|
|
54
|
+
ApplyAccountWorkspaceChangesCommand,
|
|
55
|
+
ApplyIdentityRemovalCommand,
|
|
50
56
|
BatchGetUsersCommand,
|
|
51
57
|
BatchGetUsersEmailNotificationsSettingsCommand,
|
|
52
58
|
BatchGetUsersPbxLinkDataCommand,
|
|
53
59
|
BatchGetUsersPbxLinkDataV1Command,
|
|
54
60
|
ChangeUserEmailCommand,
|
|
61
|
+
ConfirmIdentityChallengeCommand,
|
|
55
62
|
CreateAnonymousSessionCommand,
|
|
56
63
|
CreateBotCommand,
|
|
57
64
|
CreateBotApiKeyCommand,
|
|
@@ -69,7 +76,7 @@ const commands = {
|
|
|
69
76
|
GetUserPbxLinkSuggestionV1Command,
|
|
70
77
|
IntelligenceSearchCommand,
|
|
71
78
|
InviteCommand,
|
|
72
|
-
|
|
79
|
+
ListAccountEmailChangesCommand,
|
|
73
80
|
ListBotApiKeysCommand,
|
|
74
81
|
ListBotsCommand,
|
|
75
82
|
ListIdentitiesCommand,
|
|
@@ -78,10 +85,11 @@ const commands = {
|
|
|
78
85
|
QueryColleaguesCommand,
|
|
79
86
|
QueryUserCommand,
|
|
80
87
|
QueryUsersCommand,
|
|
88
|
+
ResendIdentityChallengeCodeCommand,
|
|
81
89
|
ResetUserChatHistoryCommand,
|
|
90
|
+
StartIdentityChallengeCommand,
|
|
82
91
|
ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
83
92
|
ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
84
|
-
UnlinkIdentityCommand,
|
|
85
93
|
UnlinkWorkspaceCommand,
|
|
86
94
|
UpdateAccountCommand,
|
|
87
95
|
UpdateBotCommand,
|
|
@@ -92,8 +100,10 @@ const commands = {
|
|
|
92
100
|
UploadPictureV1Command,
|
|
93
101
|
VerifyBotSecretKeyCommand,
|
|
94
102
|
VerifyBotSecretKeyV1Command,
|
|
95
|
-
|
|
103
|
+
};
|
|
104
|
+
const paginators = {
|
|
105
|
+
paginateListAccountEmailChanges,
|
|
96
106
|
};
|
|
97
107
|
export class Users extends UsersClient {
|
|
98
108
|
}
|
|
99
|
-
createAggregatedClient(commands, Users);
|
|
109
|
+
createAggregatedClient(commands, Users, { paginators });
|
|
@@ -43,6 +43,26 @@ function createWildixAuthXbsHttpAuthOption(authParameters) {
|
|
|
43
43
|
export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
44
44
|
const options = [];
|
|
45
45
|
switch (authParameters.operation) {
|
|
46
|
+
case "ApplyAccountWorkspaceChanges":
|
|
47
|
+
{
|
|
48
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
;
|
|
52
|
+
case "ApplyIdentityRemoval":
|
|
53
|
+
{
|
|
54
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
55
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
;
|
|
59
|
+
case "ConfirmIdentityChallenge":
|
|
60
|
+
{
|
|
61
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
62
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
;
|
|
46
66
|
case "CreateAnonymousSession":
|
|
47
67
|
{
|
|
48
68
|
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
@@ -56,10 +76,9 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
56
76
|
break;
|
|
57
77
|
}
|
|
58
78
|
;
|
|
59
|
-
case "
|
|
79
|
+
case "ListAccountEmailChanges":
|
|
60
80
|
{
|
|
61
81
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
62
|
-
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
63
82
|
break;
|
|
64
83
|
}
|
|
65
84
|
;
|
|
@@ -77,12 +96,26 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
77
96
|
break;
|
|
78
97
|
}
|
|
79
98
|
;
|
|
99
|
+
case "ResendIdentityChallengeCode":
|
|
100
|
+
{
|
|
101
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
102
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
;
|
|
80
106
|
case "ResetUserChatHistory":
|
|
81
107
|
{
|
|
82
108
|
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
83
109
|
break;
|
|
84
110
|
}
|
|
85
111
|
;
|
|
112
|
+
case "StartIdentityChallenge":
|
|
113
|
+
{
|
|
114
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
115
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
;
|
|
86
119
|
case "ToggleTranscriptionEmailNotificationsSubscription":
|
|
87
120
|
{
|
|
88
121
|
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
@@ -107,13 +140,6 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
107
140
|
break;
|
|
108
141
|
}
|
|
109
142
|
;
|
|
110
|
-
case "UnlinkIdentity":
|
|
111
|
-
{
|
|
112
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
113
|
-
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
114
|
-
break;
|
|
115
|
-
}
|
|
116
|
-
;
|
|
117
143
|
case "UnlinkWorkspace":
|
|
118
144
|
{
|
|
119
145
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -134,13 +160,6 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
134
160
|
break;
|
|
135
161
|
}
|
|
136
162
|
;
|
|
137
|
-
case "VerifyIdentity":
|
|
138
|
-
{
|
|
139
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
140
|
-
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
141
|
-
break;
|
|
142
|
-
}
|
|
143
|
-
;
|
|
144
163
|
default: {
|
|
145
164
|
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
146
165
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ApplyAccountWorkspaceChanges$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ApplyAccountWorkspaceChangesCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("Users", "ApplyAccountWorkspaceChanges", {})
|
|
13
|
+
.n("UsersClient", "ApplyAccountWorkspaceChangesCommand")
|
|
14
|
+
.sc(ApplyAccountWorkspaceChanges$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import {
|
|
4
|
+
import { ApplyIdentityRemoval$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class ApplyIdentityRemovalCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
8
8
|
.ep(commonParams)
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
11
|
})
|
|
12
|
-
.s("Users", "
|
|
13
|
-
.n("UsersClient", "
|
|
14
|
-
.sc(
|
|
12
|
+
.s("Users", "ApplyIdentityRemoval", {})
|
|
13
|
+
.n("UsersClient", "ApplyIdentityRemovalCommand")
|
|
14
|
+
.sc(ApplyIdentityRemoval$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ConfirmIdentityChallenge$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ConfirmIdentityChallengeCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("Users", "ConfirmIdentityChallenge", {})
|
|
13
|
+
.n("UsersClient", "ConfirmIdentityChallengeCommand")
|
|
14
|
+
.sc(ConfirmIdentityChallenge$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import {
|
|
4
|
+
import { ListAccountEmailChanges$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class ListAccountEmailChangesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
8
8
|
.ep(commonParams)
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
11
|
})
|
|
12
|
-
.s("Users", "
|
|
13
|
-
.n("UsersClient", "
|
|
14
|
-
.sc(
|
|
12
|
+
.s("Users", "ListAccountEmailChanges", {})
|
|
13
|
+
.n("UsersClient", "ListAccountEmailChangesCommand")
|
|
14
|
+
.sc(ListAccountEmailChanges$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ResendIdentityChallengeCode$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ResendIdentityChallengeCodeCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("Users", "ResendIdentityChallengeCode", {})
|
|
13
|
+
.n("UsersClient", "ResendIdentityChallengeCodeCommand")
|
|
14
|
+
.sc(ResendIdentityChallengeCode$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import {
|
|
4
|
+
import { StartIdentityChallenge$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class StartIdentityChallengeCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
8
8
|
.ep(commonParams)
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
11
|
})
|
|
12
|
-
.s("Users", "
|
|
13
|
-
.n("UsersClient", "
|
|
14
|
-
.sc(
|
|
12
|
+
.s("Users", "StartIdentityChallenge", {})
|
|
13
|
+
.n("UsersClient", "StartIdentityChallengeCommand")
|
|
14
|
+
.sc(StartIdentityChallenge$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
export * from "./ApplyAccountWorkspaceChangesCommand";
|
|
2
|
+
export * from "./ApplyIdentityRemovalCommand";
|
|
1
3
|
export * from "./BatchGetUsersCommand";
|
|
2
4
|
export * from "./BatchGetUsersEmailNotificationsSettingsCommand";
|
|
3
5
|
export * from "./BatchGetUsersPbxLinkDataCommand";
|
|
4
6
|
export * from "./BatchGetUsersPbxLinkDataV1Command";
|
|
5
7
|
export * from "./ChangeUserEmailCommand";
|
|
8
|
+
export * from "./ConfirmIdentityChallengeCommand";
|
|
6
9
|
export * from "./CreateAnonymousSessionCommand";
|
|
7
10
|
export * from "./CreateBotApiKeyCommand";
|
|
8
11
|
export * from "./CreateBotCommand";
|
|
@@ -20,7 +23,7 @@ export * from "./GetUserPbxLinkSuggestionCommand";
|
|
|
20
23
|
export * from "./GetUserPbxLinkSuggestionV1Command";
|
|
21
24
|
export * from "./IntelligenceSearchCommand";
|
|
22
25
|
export * from "./InviteCommand";
|
|
23
|
-
export * from "./
|
|
26
|
+
export * from "./ListAccountEmailChangesCommand";
|
|
24
27
|
export * from "./ListBotApiKeysCommand";
|
|
25
28
|
export * from "./ListBotsCommand";
|
|
26
29
|
export * from "./ListIdentitiesCommand";
|
|
@@ -29,10 +32,11 @@ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
|
29
32
|
export * from "./QueryColleaguesCommand";
|
|
30
33
|
export * from "./QueryUserCommand";
|
|
31
34
|
export * from "./QueryUsersCommand";
|
|
35
|
+
export * from "./ResendIdentityChallengeCodeCommand";
|
|
32
36
|
export * from "./ResetUserChatHistoryCommand";
|
|
37
|
+
export * from "./StartIdentityChallengeCommand";
|
|
33
38
|
export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
34
39
|
export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
35
|
-
export * from "./UnlinkIdentityCommand";
|
|
36
40
|
export * from "./UnlinkWorkspaceCommand";
|
|
37
41
|
export * from "./UpdateAccountCommand";
|
|
38
42
|
export * from "./UpdateBotCallbackCommand";
|
|
@@ -43,4 +47,3 @@ export * from "./UploadPictureCommand";
|
|
|
43
47
|
export * from "./UploadPictureV1Command";
|
|
44
48
|
export * from "./VerifyBotSecretKeyCommand";
|
|
45
49
|
export * from "./VerifyBotSecretKeyV1Command";
|
|
46
|
-
export * from "./VerifyIdentityCommand";
|
package/dist-es/index.js
CHANGED
package/dist-es/models/enums.js
CHANGED
|
@@ -61,6 +61,78 @@ export const AppType = {
|
|
|
61
61
|
X_BEES: "x-bees",
|
|
62
62
|
X_HOPPERS: "x-hoppers",
|
|
63
63
|
};
|
|
64
|
+
export const AccountEmailChangeStatus = {
|
|
65
|
+
ABORTED: "ABORTED",
|
|
66
|
+
FAILED: "FAILED",
|
|
67
|
+
PENDING_REDRIVE: "PENDING_REDRIVE",
|
|
68
|
+
RUNNING: "RUNNING",
|
|
69
|
+
SUCCEEDED: "SUCCEEDED",
|
|
70
|
+
TIMED_OUT: "TIMED_OUT",
|
|
71
|
+
};
|
|
72
|
+
export const AccountWorkspaceChangeOperation = {
|
|
73
|
+
ATTACH: "attach",
|
|
74
|
+
DETACH: "detach",
|
|
75
|
+
MAKE_DEFAULT: "makeDefault",
|
|
76
|
+
};
|
|
77
|
+
export const AccountWorkspaceRefusalCode = {
|
|
78
|
+
DELETED_WORKSPACE: "deleted_workspace",
|
|
79
|
+
EXPECTED_INCOMPLETE: "expected_incomplete",
|
|
80
|
+
FOREIGN_STREAM_EMAIL: "foreign_stream_email",
|
|
81
|
+
NO_DEFAULT: "no_default",
|
|
82
|
+
PBX_OTHER_COMPANY: "pbx_other_company",
|
|
83
|
+
TOO_MANY_WRITES: "too_many_writes",
|
|
84
|
+
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
85
|
+
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
86
|
+
WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
|
|
87
|
+
WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
|
|
88
|
+
};
|
|
89
|
+
export const AccountWorkspaceCheckCode = {
|
|
90
|
+
CONFLICT: "conflict",
|
|
91
|
+
DELETED_WORKSPACE: "deleted_workspace",
|
|
92
|
+
EMAIL_ROUTING_CHANGES: "email_routing_changes",
|
|
93
|
+
EXPECTED_INCOMPLETE: "expected_incomplete",
|
|
94
|
+
FOREIGN_STREAM_EMAIL: "foreign_stream_email",
|
|
95
|
+
NO_DEFAULT: "no_default",
|
|
96
|
+
ORPHAN_DEFAULT_MOVED: "orphan_default_moved",
|
|
97
|
+
ORPHAN_PERSONAL_WORKSPACE_CREATED: "orphan_personal_workspace_created",
|
|
98
|
+
PBX_LINK_MOVES: "pbx_link_moves",
|
|
99
|
+
PBX_LINK_STAYS: "pbx_link_stays",
|
|
100
|
+
PBX_OTHER_COMPANY: "pbx_other_company",
|
|
101
|
+
TOO_MANY_WRITES: "too_many_writes",
|
|
102
|
+
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
103
|
+
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
104
|
+
WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
|
|
105
|
+
WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
|
|
106
|
+
};
|
|
107
|
+
export const AccountWorkspaceEffectName = {
|
|
108
|
+
CACHE: "cache",
|
|
109
|
+
COGNITO: "cognito",
|
|
110
|
+
JOB: "job",
|
|
111
|
+
STREAM: "stream",
|
|
112
|
+
};
|
|
113
|
+
export const AccountWorkspaceEffectStatus = {
|
|
114
|
+
FAILED: "failed",
|
|
115
|
+
OK: "ok",
|
|
116
|
+
SKIPPED: "skipped",
|
|
117
|
+
};
|
|
118
|
+
export const AccountWorkspaceRowEntity = {
|
|
119
|
+
ACCOUNT_SETTINGS: "accountSettings",
|
|
120
|
+
MEMBERSHIP: "membership",
|
|
121
|
+
PBX: "pbx",
|
|
122
|
+
PBX_USER: "pbxUser",
|
|
123
|
+
STREAM: "stream",
|
|
124
|
+
};
|
|
125
|
+
export const WorkspaceType = {
|
|
126
|
+
PERSONAL: "personal",
|
|
127
|
+
SUPPORT: "support",
|
|
128
|
+
WORK: "work",
|
|
129
|
+
};
|
|
130
|
+
export const AccountWorkspaceWriteKind = {
|
|
131
|
+
APPEND: "append",
|
|
132
|
+
DELETE: "delete",
|
|
133
|
+
PUT: "put",
|
|
134
|
+
UPDATE: "update",
|
|
135
|
+
};
|
|
64
136
|
export const BotAccess = {
|
|
65
137
|
EVERYBODY: "EVERYBODY",
|
|
66
138
|
ORGANIZATION: "ORGANIZATION",
|
|
@@ -93,8 +165,19 @@ export const BotLlmFunctionIntegrationMethod = {
|
|
|
93
165
|
export const BotLlmToolType = {
|
|
94
166
|
FUNCTION: "function",
|
|
95
167
|
};
|
|
96
|
-
export const
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
168
|
+
export const IdentityType = {
|
|
169
|
+
EMAIL: "email",
|
|
170
|
+
PHONE: "phone",
|
|
171
|
+
};
|
|
172
|
+
export const IdentityChallengeStep = {
|
|
173
|
+
DONE: "done",
|
|
174
|
+
PRIMARY_CODE: "primaryCode",
|
|
175
|
+
READY_TO_APPLY: "readyToApply",
|
|
176
|
+
TARGET_CODE: "targetCode",
|
|
177
|
+
};
|
|
178
|
+
export const IdentityChallengeOperation = {
|
|
179
|
+
ADD: "add",
|
|
180
|
+
MAKE_PRIMARY: "makePrimary",
|
|
181
|
+
REMOVE: "remove",
|
|
182
|
+
VERIFY: "verify",
|
|
100
183
|
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -31,6 +31,18 @@ export class RateLimitExceededException extends __BaseException {
|
|
|
31
31
|
this.retryAfter = opts.retryAfter;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
35
|
+
name = "ServiceUnavailableException";
|
|
36
|
+
$fault = "server";
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "ServiceUnavailableException",
|
|
40
|
+
$fault: "server",
|
|
41
|
+
...opts,
|
|
42
|
+
});
|
|
43
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
34
46
|
export class ValidationException extends __BaseException {
|
|
35
47
|
name = "ValidationException";
|
|
36
48
|
$fault = "client";
|
|
@@ -79,6 +91,78 @@ export class AccountNotFoundException extends __BaseException {
|
|
|
79
91
|
Object.setPrototypeOf(this, AccountNotFoundException.prototype);
|
|
80
92
|
}
|
|
81
93
|
}
|
|
94
|
+
export class AccountWorkspaceChangeRefusedException extends __BaseException {
|
|
95
|
+
name = "AccountWorkspaceChangeRefusedException";
|
|
96
|
+
$fault = "client";
|
|
97
|
+
code;
|
|
98
|
+
row;
|
|
99
|
+
accountId;
|
|
100
|
+
workspaceId;
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "AccountWorkspaceChangeRefusedException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, AccountWorkspaceChangeRefusedException.prototype);
|
|
108
|
+
this.code = opts.code;
|
|
109
|
+
this.row = opts.row;
|
|
110
|
+
this.accountId = opts.accountId;
|
|
111
|
+
this.workspaceId = opts.workspaceId;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class AccountWorkspaceConflictException extends __BaseException {
|
|
115
|
+
name = "AccountWorkspaceConflictException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
row;
|
|
118
|
+
field;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "AccountWorkspaceConflictException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, AccountWorkspaceConflictException.prototype);
|
|
126
|
+
this.row = opts.row;
|
|
127
|
+
this.field = opts.field;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
131
|
+
name = "CannotRemovePrimaryIdentityException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
constructor(opts) {
|
|
134
|
+
super({
|
|
135
|
+
name: "CannotRemovePrimaryIdentityException",
|
|
136
|
+
$fault: "client",
|
|
137
|
+
...opts,
|
|
138
|
+
});
|
|
139
|
+
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export class ChallengeNotFoundException extends __BaseException {
|
|
143
|
+
name = "ChallengeNotFoundException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
constructor(opts) {
|
|
146
|
+
super({
|
|
147
|
+
name: "ChallengeNotFoundException",
|
|
148
|
+
$fault: "client",
|
|
149
|
+
...opts,
|
|
150
|
+
});
|
|
151
|
+
Object.setPrototypeOf(this, ChallengeNotFoundException.prototype);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
export class IdentityNotFoundException extends __BaseException {
|
|
155
|
+
name = "IdentityNotFoundException";
|
|
156
|
+
$fault = "client";
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "IdentityNotFoundException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
82
166
|
export class BotAlreadyExistsException extends __BaseException {
|
|
83
167
|
name = "BotAlreadyExistsException";
|
|
84
168
|
$fault = "client";
|
|
@@ -127,18 +211,6 @@ export class BotSecretKeyNotValidException extends __BaseException {
|
|
|
127
211
|
Object.setPrototypeOf(this, BotSecretKeyNotValidException.prototype);
|
|
128
212
|
}
|
|
129
213
|
}
|
|
130
|
-
export class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
131
|
-
name = "CannotRemovePrimaryIdentityException";
|
|
132
|
-
$fault = "client";
|
|
133
|
-
constructor(opts) {
|
|
134
|
-
super({
|
|
135
|
-
name: "CannotRemovePrimaryIdentityException",
|
|
136
|
-
$fault: "client",
|
|
137
|
-
...opts,
|
|
138
|
-
});
|
|
139
|
-
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
214
|
export class CannotUnbindDefaultWorkspaceException extends __BaseException {
|
|
143
215
|
name = "CannotUnbindDefaultWorkspaceException";
|
|
144
216
|
$fault = "client";
|
|
@@ -175,16 +247,16 @@ export class UserNotFoundException extends __BaseException {
|
|
|
175
247
|
Object.setPrototypeOf(this, UserNotFoundException.prototype);
|
|
176
248
|
}
|
|
177
249
|
}
|
|
178
|
-
export class
|
|
179
|
-
name = "
|
|
250
|
+
export class CodeExpiredException extends __BaseException {
|
|
251
|
+
name = "CodeExpiredException";
|
|
180
252
|
$fault = "client";
|
|
181
253
|
constructor(opts) {
|
|
182
254
|
super({
|
|
183
|
-
name: "
|
|
255
|
+
name: "CodeExpiredException",
|
|
184
256
|
$fault: "client",
|
|
185
257
|
...opts,
|
|
186
258
|
});
|
|
187
|
-
Object.setPrototypeOf(this,
|
|
259
|
+
Object.setPrototypeOf(this, CodeExpiredException.prototype);
|
|
188
260
|
}
|
|
189
261
|
}
|
|
190
262
|
export class IdentityAlreadyLinkedException extends __BaseException {
|
|
@@ -199,16 +271,56 @@ export class IdentityAlreadyLinkedException extends __BaseException {
|
|
|
199
271
|
Object.setPrototypeOf(this, IdentityAlreadyLinkedException.prototype);
|
|
200
272
|
}
|
|
201
273
|
}
|
|
202
|
-
export class
|
|
203
|
-
name = "
|
|
274
|
+
export class IncorrectCodeException extends __BaseException {
|
|
275
|
+
name = "IncorrectCodeException";
|
|
204
276
|
$fault = "client";
|
|
205
277
|
constructor(opts) {
|
|
206
278
|
super({
|
|
207
|
-
name: "
|
|
279
|
+
name: "IncorrectCodeException",
|
|
208
280
|
$fault: "client",
|
|
209
281
|
...opts,
|
|
210
282
|
});
|
|
211
|
-
Object.setPrototypeOf(this,
|
|
283
|
+
Object.setPrototypeOf(this, IncorrectCodeException.prototype);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
export class RateLimitedException extends __BaseException {
|
|
287
|
+
name = "RateLimitedException";
|
|
288
|
+
$fault = "client";
|
|
289
|
+
retryAfter;
|
|
290
|
+
constructor(opts) {
|
|
291
|
+
super({
|
|
292
|
+
name: "RateLimitedException",
|
|
293
|
+
$fault: "client",
|
|
294
|
+
...opts,
|
|
295
|
+
});
|
|
296
|
+
Object.setPrototypeOf(this, RateLimitedException.prototype);
|
|
297
|
+
this.retryAfter = opts.retryAfter;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
export class TooManyAttemptsException extends __BaseException {
|
|
301
|
+
name = "TooManyAttemptsException";
|
|
302
|
+
$fault = "client";
|
|
303
|
+
retryAfter;
|
|
304
|
+
constructor(opts) {
|
|
305
|
+
super({
|
|
306
|
+
name: "TooManyAttemptsException",
|
|
307
|
+
$fault: "client",
|
|
308
|
+
...opts,
|
|
309
|
+
});
|
|
310
|
+
Object.setPrototypeOf(this, TooManyAttemptsException.prototype);
|
|
311
|
+
this.retryAfter = opts.retryAfter;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
export class PublicAccessIsRestrictedException extends __BaseException {
|
|
315
|
+
name = "PublicAccessIsRestrictedException";
|
|
316
|
+
$fault = "client";
|
|
317
|
+
constructor(opts) {
|
|
318
|
+
super({
|
|
319
|
+
name: "PublicAccessIsRestrictedException",
|
|
320
|
+
$fault: "client",
|
|
321
|
+
...opts,
|
|
322
|
+
});
|
|
323
|
+
Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
|
|
212
324
|
}
|
|
213
325
|
}
|
|
214
326
|
export class UserQueryPredicateNotMetException extends __BaseException {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListAccountEmailChangesCommand, } from "../commands/ListAccountEmailChangesCommand";
|
|
3
|
+
import { UsersClient } from "../UsersClient";
|
|
4
|
+
export const paginateListAccountEmailChanges = createPaginator(UsersClient, ListAccountEmailChangesCommand, "nextToken", "nextToken", "limit");
|