@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-cjs/Users.js
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Users = void 0;
|
|
4
4
|
const client_1 = require("@smithy/core/client");
|
|
5
|
+
const ApplyAccountWorkspaceChangesCommand_1 = require("./commands/ApplyAccountWorkspaceChangesCommand");
|
|
6
|
+
const ApplyIdentityRemovalCommand_1 = require("./commands/ApplyIdentityRemovalCommand");
|
|
5
7
|
const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
|
|
6
8
|
const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
|
|
7
9
|
const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
|
|
8
10
|
const BatchGetUsersPbxLinkDataV1Command_1 = require("./commands/BatchGetUsersPbxLinkDataV1Command");
|
|
9
11
|
const ChangeUserEmailCommand_1 = require("./commands/ChangeUserEmailCommand");
|
|
12
|
+
const ConfirmIdentityChallengeCommand_1 = require("./commands/ConfirmIdentityChallengeCommand");
|
|
10
13
|
const CreateAnonymousSessionCommand_1 = require("./commands/CreateAnonymousSessionCommand");
|
|
11
14
|
const CreateBotApiKeyCommand_1 = require("./commands/CreateBotApiKeyCommand");
|
|
12
15
|
const CreateBotCommand_1 = require("./commands/CreateBotCommand");
|
|
@@ -24,7 +27,7 @@ const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSugg
|
|
|
24
27
|
const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
|
|
25
28
|
const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
|
|
26
29
|
const InviteCommand_1 = require("./commands/InviteCommand");
|
|
27
|
-
const
|
|
30
|
+
const ListAccountEmailChangesCommand_1 = require("./commands/ListAccountEmailChangesCommand");
|
|
28
31
|
const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
|
|
29
32
|
const ListBotsCommand_1 = require("./commands/ListBotsCommand");
|
|
30
33
|
const ListIdentitiesCommand_1 = require("./commands/ListIdentitiesCommand");
|
|
@@ -33,10 +36,11 @@ const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands
|
|
|
33
36
|
const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
|
|
34
37
|
const QueryUserCommand_1 = require("./commands/QueryUserCommand");
|
|
35
38
|
const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
|
|
39
|
+
const ResendIdentityChallengeCodeCommand_1 = require("./commands/ResendIdentityChallengeCodeCommand");
|
|
36
40
|
const ResetUserChatHistoryCommand_1 = require("./commands/ResetUserChatHistoryCommand");
|
|
41
|
+
const StartIdentityChallengeCommand_1 = require("./commands/StartIdentityChallengeCommand");
|
|
37
42
|
const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
|
|
38
43
|
const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
|
|
39
|
-
const UnlinkIdentityCommand_1 = require("./commands/UnlinkIdentityCommand");
|
|
40
44
|
const UnlinkWorkspaceCommand_1 = require("./commands/UnlinkWorkspaceCommand");
|
|
41
45
|
const UpdateAccountCommand_1 = require("./commands/UpdateAccountCommand");
|
|
42
46
|
const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
|
|
@@ -47,14 +51,17 @@ const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
|
|
|
47
51
|
const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
|
|
48
52
|
const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
|
|
49
53
|
const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
|
|
50
|
-
const
|
|
54
|
+
const ListAccountEmailChangesPaginator_1 = require("./pagination/ListAccountEmailChangesPaginator");
|
|
51
55
|
const UsersClient_1 = require("./UsersClient");
|
|
52
56
|
const commands = {
|
|
57
|
+
ApplyAccountWorkspaceChangesCommand: ApplyAccountWorkspaceChangesCommand_1.ApplyAccountWorkspaceChangesCommand,
|
|
58
|
+
ApplyIdentityRemovalCommand: ApplyIdentityRemovalCommand_1.ApplyIdentityRemovalCommand,
|
|
53
59
|
BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
|
|
54
60
|
BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
|
|
55
61
|
BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
|
|
56
62
|
BatchGetUsersPbxLinkDataV1Command: BatchGetUsersPbxLinkDataV1Command_1.BatchGetUsersPbxLinkDataV1Command,
|
|
57
63
|
ChangeUserEmailCommand: ChangeUserEmailCommand_1.ChangeUserEmailCommand,
|
|
64
|
+
ConfirmIdentityChallengeCommand: ConfirmIdentityChallengeCommand_1.ConfirmIdentityChallengeCommand,
|
|
58
65
|
CreateAnonymousSessionCommand: CreateAnonymousSessionCommand_1.CreateAnonymousSessionCommand,
|
|
59
66
|
CreateBotCommand: CreateBotCommand_1.CreateBotCommand,
|
|
60
67
|
CreateBotApiKeyCommand: CreateBotApiKeyCommand_1.CreateBotApiKeyCommand,
|
|
@@ -72,7 +79,7 @@ const commands = {
|
|
|
72
79
|
GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
|
|
73
80
|
IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
|
|
74
81
|
InviteCommand: InviteCommand_1.InviteCommand,
|
|
75
|
-
|
|
82
|
+
ListAccountEmailChangesCommand: ListAccountEmailChangesCommand_1.ListAccountEmailChangesCommand,
|
|
76
83
|
ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
|
|
77
84
|
ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
|
|
78
85
|
ListIdentitiesCommand: ListIdentitiesCommand_1.ListIdentitiesCommand,
|
|
@@ -81,10 +88,11 @@ const commands = {
|
|
|
81
88
|
QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
|
|
82
89
|
QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
|
|
83
90
|
QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
|
|
91
|
+
ResendIdentityChallengeCodeCommand: ResendIdentityChallengeCodeCommand_1.ResendIdentityChallengeCodeCommand,
|
|
84
92
|
ResetUserChatHistoryCommand: ResetUserChatHistoryCommand_1.ResetUserChatHistoryCommand,
|
|
93
|
+
StartIdentityChallengeCommand: StartIdentityChallengeCommand_1.StartIdentityChallengeCommand,
|
|
85
94
|
ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
86
95
|
ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
87
|
-
UnlinkIdentityCommand: UnlinkIdentityCommand_1.UnlinkIdentityCommand,
|
|
88
96
|
UnlinkWorkspaceCommand: UnlinkWorkspaceCommand_1.UnlinkWorkspaceCommand,
|
|
89
97
|
UpdateAccountCommand: UpdateAccountCommand_1.UpdateAccountCommand,
|
|
90
98
|
UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
|
|
@@ -95,9 +103,11 @@ const commands = {
|
|
|
95
103
|
UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
|
|
96
104
|
VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
|
|
97
105
|
VerifyBotSecretKeyV1Command: VerifyBotSecretKeyV1Command_1.VerifyBotSecretKeyV1Command,
|
|
98
|
-
|
|
106
|
+
};
|
|
107
|
+
const paginators = {
|
|
108
|
+
paginateListAccountEmailChanges: ListAccountEmailChangesPaginator_1.paginateListAccountEmailChanges,
|
|
99
109
|
};
|
|
100
110
|
class Users extends UsersClient_1.UsersClient {
|
|
101
111
|
}
|
|
102
112
|
exports.Users = Users;
|
|
103
|
-
(0, client_1.createAggregatedClient)(commands, Users);
|
|
113
|
+
(0, client_1.createAggregatedClient)(commands, Users, { paginators });
|
|
@@ -47,6 +47,26 @@ function createWildixAuthXbsHttpAuthOption(authParameters) {
|
|
|
47
47
|
const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
48
48
|
const options = [];
|
|
49
49
|
switch (authParameters.operation) {
|
|
50
|
+
case "ApplyAccountWorkspaceChanges":
|
|
51
|
+
{
|
|
52
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
;
|
|
56
|
+
case "ApplyIdentityRemoval":
|
|
57
|
+
{
|
|
58
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
59
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
;
|
|
63
|
+
case "ConfirmIdentityChallenge":
|
|
64
|
+
{
|
|
65
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
66
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
;
|
|
50
70
|
case "CreateAnonymousSession":
|
|
51
71
|
{
|
|
52
72
|
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
@@ -60,10 +80,9 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
60
80
|
break;
|
|
61
81
|
}
|
|
62
82
|
;
|
|
63
|
-
case "
|
|
83
|
+
case "ListAccountEmailChanges":
|
|
64
84
|
{
|
|
65
85
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
66
|
-
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
67
86
|
break;
|
|
68
87
|
}
|
|
69
88
|
;
|
|
@@ -81,12 +100,26 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
81
100
|
break;
|
|
82
101
|
}
|
|
83
102
|
;
|
|
103
|
+
case "ResendIdentityChallengeCode":
|
|
104
|
+
{
|
|
105
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
106
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
;
|
|
84
110
|
case "ResetUserChatHistory":
|
|
85
111
|
{
|
|
86
112
|
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
87
113
|
break;
|
|
88
114
|
}
|
|
89
115
|
;
|
|
116
|
+
case "StartIdentityChallenge":
|
|
117
|
+
{
|
|
118
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
119
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
;
|
|
90
123
|
case "ToggleTranscriptionEmailNotificationsSubscription":
|
|
91
124
|
{
|
|
92
125
|
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
@@ -111,13 +144,6 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
111
144
|
break;
|
|
112
145
|
}
|
|
113
146
|
;
|
|
114
|
-
case "UnlinkIdentity":
|
|
115
|
-
{
|
|
116
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
117
|
-
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
118
|
-
break;
|
|
119
|
-
}
|
|
120
|
-
;
|
|
121
147
|
case "UnlinkWorkspace":
|
|
122
148
|
{
|
|
123
149
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -138,13 +164,6 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
138
164
|
break;
|
|
139
165
|
}
|
|
140
166
|
;
|
|
141
|
-
case "VerifyIdentity":
|
|
142
|
-
{
|
|
143
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
144
|
-
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
145
|
-
break;
|
|
146
|
-
}
|
|
147
|
-
;
|
|
148
167
|
default: {
|
|
149
168
|
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
150
169
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplyAccountWorkspaceChangesCommand = exports.$Command = void 0;
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class ApplyAccountWorkspaceChangesCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("Users", "ApplyAccountWorkspaceChanges", {})
|
|
16
|
+
.n("UsersClient", "ApplyAccountWorkspaceChangesCommand")
|
|
17
|
+
.sc(schemas_0_1.ApplyAccountWorkspaceChanges$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.ApplyAccountWorkspaceChangesCommand = ApplyAccountWorkspaceChangesCommand;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ApplyIdentityRemovalCommand = exports.$Command = void 0;
|
|
4
4
|
const client_1 = require("@smithy/core/client");
|
|
5
5
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
6
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
7
|
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
8
|
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
-
class
|
|
9
|
+
class ApplyIdentityRemovalCommand extends client_1.Command
|
|
10
10
|
.classBuilder()
|
|
11
11
|
.ep(EndpointParameters_1.commonParams)
|
|
12
12
|
.m(function (Command, cs, config, o) {
|
|
13
13
|
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
14
14
|
})
|
|
15
|
-
.s("Users", "
|
|
16
|
-
.n("UsersClient", "
|
|
17
|
-
.sc(schemas_0_1.
|
|
15
|
+
.s("Users", "ApplyIdentityRemoval", {})
|
|
16
|
+
.n("UsersClient", "ApplyIdentityRemovalCommand")
|
|
17
|
+
.sc(schemas_0_1.ApplyIdentityRemoval$)
|
|
18
18
|
.build() {
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
20
|
+
exports.ApplyIdentityRemovalCommand = ApplyIdentityRemovalCommand;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConfirmIdentityChallengeCommand = exports.$Command = void 0;
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class ConfirmIdentityChallengeCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("Users", "ConfirmIdentityChallenge", {})
|
|
16
|
+
.n("UsersClient", "ConfirmIdentityChallengeCommand")
|
|
17
|
+
.sc(schemas_0_1.ConfirmIdentityChallenge$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.ConfirmIdentityChallengeCommand = ConfirmIdentityChallengeCommand;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ListAccountEmailChangesCommand = exports.$Command = void 0;
|
|
4
4
|
const client_1 = require("@smithy/core/client");
|
|
5
5
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
6
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
7
|
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
8
|
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
-
class
|
|
9
|
+
class ListAccountEmailChangesCommand extends client_1.Command
|
|
10
10
|
.classBuilder()
|
|
11
11
|
.ep(EndpointParameters_1.commonParams)
|
|
12
12
|
.m(function (Command, cs, config, o) {
|
|
13
13
|
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
14
14
|
})
|
|
15
|
-
.s("Users", "
|
|
16
|
-
.n("UsersClient", "
|
|
17
|
-
.sc(schemas_0_1.
|
|
15
|
+
.s("Users", "ListAccountEmailChanges", {})
|
|
16
|
+
.n("UsersClient", "ListAccountEmailChangesCommand")
|
|
17
|
+
.sc(schemas_0_1.ListAccountEmailChanges$)
|
|
18
18
|
.build() {
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
20
|
+
exports.ListAccountEmailChangesCommand = ListAccountEmailChangesCommand;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResendIdentityChallengeCodeCommand = exports.$Command = void 0;
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class ResendIdentityChallengeCodeCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("Users", "ResendIdentityChallengeCode", {})
|
|
16
|
+
.n("UsersClient", "ResendIdentityChallengeCodeCommand")
|
|
17
|
+
.sc(schemas_0_1.ResendIdentityChallengeCode$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.ResendIdentityChallengeCodeCommand = ResendIdentityChallengeCodeCommand;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StartIdentityChallengeCommand = exports.$Command = void 0;
|
|
4
4
|
const client_1 = require("@smithy/core/client");
|
|
5
5
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
6
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
7
|
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
8
|
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
-
class
|
|
9
|
+
class StartIdentityChallengeCommand extends client_1.Command
|
|
10
10
|
.classBuilder()
|
|
11
11
|
.ep(EndpointParameters_1.commonParams)
|
|
12
12
|
.m(function (Command, cs, config, o) {
|
|
13
13
|
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
14
14
|
})
|
|
15
|
-
.s("Users", "
|
|
16
|
-
.n("UsersClient", "
|
|
17
|
-
.sc(schemas_0_1.
|
|
15
|
+
.s("Users", "StartIdentityChallenge", {})
|
|
16
|
+
.n("UsersClient", "StartIdentityChallengeCommand")
|
|
17
|
+
.sc(schemas_0_1.StartIdentityChallenge$)
|
|
18
18
|
.build() {
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
20
|
+
exports.StartIdentityChallengeCommand = StartIdentityChallengeCommand;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./ApplyAccountWorkspaceChangesCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ApplyIdentityRemovalCommand"), exports);
|
|
4
6
|
tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
|
|
5
7
|
tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ConfirmIdentityChallengeCommand"), exports);
|
|
9
12
|
tslib_1.__exportStar(require("./CreateAnonymousSessionCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./CreateBotCommand"), exports);
|
|
@@ -23,7 +26,7 @@ tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
|
|
|
23
26
|
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
|
|
24
27
|
tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
|
|
25
28
|
tslib_1.__exportStar(require("./InviteCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./
|
|
29
|
+
tslib_1.__exportStar(require("./ListAccountEmailChangesCommand"), exports);
|
|
27
30
|
tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
|
|
28
31
|
tslib_1.__exportStar(require("./ListBotsCommand"), exports);
|
|
29
32
|
tslib_1.__exportStar(require("./ListIdentitiesCommand"), exports);
|
|
@@ -32,10 +35,11 @@ tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsComma
|
|
|
32
35
|
tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
|
|
33
36
|
tslib_1.__exportStar(require("./QueryUserCommand"), exports);
|
|
34
37
|
tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./ResendIdentityChallengeCodeCommand"), exports);
|
|
35
39
|
tslib_1.__exportStar(require("./ResetUserChatHistoryCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./StartIdentityChallengeCommand"), exports);
|
|
36
41
|
tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
|
|
37
42
|
tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./UnlinkIdentityCommand"), exports);
|
|
39
43
|
tslib_1.__exportStar(require("./UnlinkWorkspaceCommand"), exports);
|
|
40
44
|
tslib_1.__exportStar(require("./UpdateAccountCommand"), exports);
|
|
41
45
|
tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
|
|
@@ -46,4 +50,3 @@ tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
|
|
|
46
50
|
tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
|
|
47
51
|
tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
|
|
48
52
|
tslib_1.__exportStar(require("./VerifyBotSecretKeyV1Command"), exports);
|
|
49
|
-
tslib_1.__exportStar(require("./VerifyIdentityCommand"), exports);
|
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ tslib_1.__exportStar(require("./UsersClient"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./Users"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./schemas/schemas_0"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./models/enums"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./models/errors"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./models/models_0"), exports);
|
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.IdentityChallengeOperation = exports.IdentityChallengeStep = exports.IdentityType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AccountWorkspaceWriteKind = exports.WorkspaceType = exports.AccountWorkspaceRowEntity = exports.AccountWorkspaceEffectStatus = exports.AccountWorkspaceEffectName = exports.AccountWorkspaceCheckCode = exports.AccountWorkspaceRefusalCode = exports.AccountWorkspaceChangeOperation = exports.AccountEmailChangeStatus = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.SearchThresholdValue = exports.SearchStrategy = exports.BotSessionTimeoutMinutes = exports.PbxLicenseType = void 0;
|
|
4
4
|
exports.PbxLicenseType = {
|
|
5
5
|
BASIC: "basic",
|
|
6
6
|
BUSINESS: "business",
|
|
@@ -64,6 +64,78 @@ exports.AppType = {
|
|
|
64
64
|
X_BEES: "x-bees",
|
|
65
65
|
X_HOPPERS: "x-hoppers",
|
|
66
66
|
};
|
|
67
|
+
exports.AccountEmailChangeStatus = {
|
|
68
|
+
ABORTED: "ABORTED",
|
|
69
|
+
FAILED: "FAILED",
|
|
70
|
+
PENDING_REDRIVE: "PENDING_REDRIVE",
|
|
71
|
+
RUNNING: "RUNNING",
|
|
72
|
+
SUCCEEDED: "SUCCEEDED",
|
|
73
|
+
TIMED_OUT: "TIMED_OUT",
|
|
74
|
+
};
|
|
75
|
+
exports.AccountWorkspaceChangeOperation = {
|
|
76
|
+
ATTACH: "attach",
|
|
77
|
+
DETACH: "detach",
|
|
78
|
+
MAKE_DEFAULT: "makeDefault",
|
|
79
|
+
};
|
|
80
|
+
exports.AccountWorkspaceRefusalCode = {
|
|
81
|
+
DELETED_WORKSPACE: "deleted_workspace",
|
|
82
|
+
EXPECTED_INCOMPLETE: "expected_incomplete",
|
|
83
|
+
FOREIGN_STREAM_EMAIL: "foreign_stream_email",
|
|
84
|
+
NO_DEFAULT: "no_default",
|
|
85
|
+
PBX_OTHER_COMPANY: "pbx_other_company",
|
|
86
|
+
TOO_MANY_WRITES: "too_many_writes",
|
|
87
|
+
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
88
|
+
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
89
|
+
WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
|
|
90
|
+
WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
|
|
91
|
+
};
|
|
92
|
+
exports.AccountWorkspaceCheckCode = {
|
|
93
|
+
CONFLICT: "conflict",
|
|
94
|
+
DELETED_WORKSPACE: "deleted_workspace",
|
|
95
|
+
EMAIL_ROUTING_CHANGES: "email_routing_changes",
|
|
96
|
+
EXPECTED_INCOMPLETE: "expected_incomplete",
|
|
97
|
+
FOREIGN_STREAM_EMAIL: "foreign_stream_email",
|
|
98
|
+
NO_DEFAULT: "no_default",
|
|
99
|
+
ORPHAN_DEFAULT_MOVED: "orphan_default_moved",
|
|
100
|
+
ORPHAN_PERSONAL_WORKSPACE_CREATED: "orphan_personal_workspace_created",
|
|
101
|
+
PBX_LINK_MOVES: "pbx_link_moves",
|
|
102
|
+
PBX_LINK_STAYS: "pbx_link_stays",
|
|
103
|
+
PBX_OTHER_COMPANY: "pbx_other_company",
|
|
104
|
+
TOO_MANY_WRITES: "too_many_writes",
|
|
105
|
+
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
106
|
+
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
107
|
+
WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
|
|
108
|
+
WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
|
|
109
|
+
};
|
|
110
|
+
exports.AccountWorkspaceEffectName = {
|
|
111
|
+
CACHE: "cache",
|
|
112
|
+
COGNITO: "cognito",
|
|
113
|
+
JOB: "job",
|
|
114
|
+
STREAM: "stream",
|
|
115
|
+
};
|
|
116
|
+
exports.AccountWorkspaceEffectStatus = {
|
|
117
|
+
FAILED: "failed",
|
|
118
|
+
OK: "ok",
|
|
119
|
+
SKIPPED: "skipped",
|
|
120
|
+
};
|
|
121
|
+
exports.AccountWorkspaceRowEntity = {
|
|
122
|
+
ACCOUNT_SETTINGS: "accountSettings",
|
|
123
|
+
MEMBERSHIP: "membership",
|
|
124
|
+
PBX: "pbx",
|
|
125
|
+
PBX_USER: "pbxUser",
|
|
126
|
+
STREAM: "stream",
|
|
127
|
+
};
|
|
128
|
+
exports.WorkspaceType = {
|
|
129
|
+
PERSONAL: "personal",
|
|
130
|
+
SUPPORT: "support",
|
|
131
|
+
WORK: "work",
|
|
132
|
+
};
|
|
133
|
+
exports.AccountWorkspaceWriteKind = {
|
|
134
|
+
APPEND: "append",
|
|
135
|
+
DELETE: "delete",
|
|
136
|
+
PUT: "put",
|
|
137
|
+
UPDATE: "update",
|
|
138
|
+
};
|
|
67
139
|
exports.BotAccess = {
|
|
68
140
|
EVERYBODY: "EVERYBODY",
|
|
69
141
|
ORGANIZATION: "ORGANIZATION",
|
|
@@ -96,8 +168,19 @@ exports.BotLlmFunctionIntegrationMethod = {
|
|
|
96
168
|
exports.BotLlmToolType = {
|
|
97
169
|
FUNCTION: "function",
|
|
98
170
|
};
|
|
99
|
-
exports.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
171
|
+
exports.IdentityType = {
|
|
172
|
+
EMAIL: "email",
|
|
173
|
+
PHONE: "phone",
|
|
174
|
+
};
|
|
175
|
+
exports.IdentityChallengeStep = {
|
|
176
|
+
DONE: "done",
|
|
177
|
+
PRIMARY_CODE: "primaryCode",
|
|
178
|
+
READY_TO_APPLY: "readyToApply",
|
|
179
|
+
TARGET_CODE: "targetCode",
|
|
180
|
+
};
|
|
181
|
+
exports.IdentityChallengeOperation = {
|
|
182
|
+
ADD: "add",
|
|
183
|
+
MAKE_PRIMARY: "makePrimary",
|
|
184
|
+
REMOVE: "remove",
|
|
185
|
+
VERIFY: "verify",
|
|
103
186
|
};
|