@wildix/xbees-users-client 4.2.1 → 4.3.0
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 +2 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +6 -0
- package/dist-cjs/commands/ResetUserChatHistoryCommand.js +20 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/schemas/schemas_0.js +23 -3
- package/dist-es/Users.js +2 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +6 -0
- package/dist-es/commands/ResetUserChatHistoryCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +20 -0
- package/dist-types/Users.d.ts +7 -0
- package/dist-types/UsersClient.d.ts +3 -2
- package/dist-types/commands/ResetUserChatHistoryCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +37 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
package/dist-cjs/Users.js
CHANGED
|
@@ -33,6 +33,7 @@ const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands
|
|
|
33
33
|
const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
|
|
34
34
|
const QueryUserCommand_1 = require("./commands/QueryUserCommand");
|
|
35
35
|
const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
|
|
36
|
+
const ResetUserChatHistoryCommand_1 = require("./commands/ResetUserChatHistoryCommand");
|
|
36
37
|
const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
|
|
37
38
|
const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
|
|
38
39
|
const UnlinkIdentityCommand_1 = require("./commands/UnlinkIdentityCommand");
|
|
@@ -80,6 +81,7 @@ const commands = {
|
|
|
80
81
|
QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
|
|
81
82
|
QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
|
|
82
83
|
QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
|
|
84
|
+
ResetUserChatHistoryCommand: ResetUserChatHistoryCommand_1.ResetUserChatHistoryCommand,
|
|
83
85
|
ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
84
86
|
ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
85
87
|
UnlinkIdentityCommand: UnlinkIdentityCommand_1.UnlinkIdentityCommand,
|
|
@@ -53,6 +53,12 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
53
53
|
break;
|
|
54
54
|
}
|
|
55
55
|
;
|
|
56
|
+
case "ResetUserChatHistory":
|
|
57
|
+
{
|
|
58
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
;
|
|
56
62
|
case "ToggleTranscriptionEmailNotificationsSubscription":
|
|
57
63
|
{
|
|
58
64
|
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResetUserChatHistoryCommand = 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 ResetUserChatHistoryCommand 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", "ResetUserChatHistory", {})
|
|
16
|
+
.n("UsersClient", "ResetUserChatHistoryCommand")
|
|
17
|
+
.sc(schemas_0_1.ResetUserChatHistory$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.ResetUserChatHistoryCommand = ResetUserChatHistoryCommand;
|
|
@@ -32,6 +32,7 @@ tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsComma
|
|
|
32
32
|
tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
|
|
33
33
|
tslib_1.__exportStar(require("./QueryUserCommand"), exports);
|
|
34
34
|
tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./ResetUserChatHistoryCommand"), exports);
|
|
35
36
|
tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
|
|
36
37
|
tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
|
|
37
38
|
tslib_1.__exportStar(require("./UnlinkIdentityCommand"), exports);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BotLlmFunctionIntegrationWebhookHeader$ = exports.BotLlmFunctionIntegrationWebhookAuthorizationOAuth$ = exports.BotLlmFunctionIntegrationWebhookAuthorizationBearer$ = exports.BotLlmFunctionIntegrationWebhookAuthorizationBasic$ = exports.BotLlmFunctionIntegrationWebhook$ = exports.BotLlmFunctionDefinition$ = exports.BotLlmEndpoint$ = exports.BotLlmEmbeddedTool$ = exports.BotKnowledgeBase$ = exports.BotDialogflowCxEndpoint$ = exports.BotCapabilityToolPipeline$ = exports.BotCapabilityTool$ = exports.BotCallback$ = exports.BotApiKey$ = exports.Bot$ = exports.BatchGetUsersPbxLinkDataV1Output$ = exports.BatchGetUsersPbxLinkDataV1Input$ = exports.BatchGetUsersPbxLinkDataOutput$ = exports.BatchGetUsersPbxLinkDataInput$ = exports.BatchGetUsersOutput$ = exports.BatchGetUsersInput$ = exports.BatchGetUsersEmailNotificationsSettingsOutput$ = exports.BatchGetUsersEmailNotificationsSettingsInput$ = exports.Account$ = exports.UserToInvite$ = exports.User$ = exports.SkippedMember$ = exports.InvitedUser$ = exports.PbxColleague$ = exports.errorTypeRegistries = exports.WorkspaceNotFoundException$ = exports.UserQueryPredicateNotMetException$ = exports.UserNotFoundException$ = exports.UserCompanyNotValidException$ = exports.PublicAccessIsRestrictedException$ = exports.IdentityNotFoundException$ = exports.IdentityAlreadyLinkedException$ = exports.CannotUnbindDefaultWorkspaceException$ = exports.CannotRemovePrimaryIdentityException$ = exports.BotSecretKeyNotValidException$ = exports.BotNotFoundException$ = exports.BotApiKeyNotFoundException$ = exports.BotAlreadyExistsException$ = exports.AccountNotFoundException$ = exports.WidgetNotFoundException$ = exports.ChannelNotFoundException$ = exports.ValidationException$ = exports.RateLimitExceededException$ = exports.ForbiddenException$ = exports.UsersServiceException$ = void 0;
|
|
4
4
|
exports.InviteOutput$ = exports.InviteInput$ = exports.IntelligenceSearchOutput$ = exports.IntelligenceSearchInput$ = exports.Identity$ = exports.GetUserPbxLinkSuggestionV1Output$ = exports.GetUserPbxLinkSuggestionV1Input$ = exports.GetUserPbxLinkSuggestionOutput$ = exports.GetUserPbxLinkSuggestionInput$ = exports.GetUserPbxLinkDataOutput$ = exports.GetUserPbxLinkDataInput$ = exports.GetUserOutput$ = exports.GetUserInput$ = exports.GetUserEmailNotificationsSettingsOutput$ = exports.GetUserEmailNotificationsSettingsInput$ = exports.GetBotOutput$ = exports.GetBotInput$ = exports.GetBotCallbackOutput$ = exports.GetBotCallbackInput$ = exports.GetAppVersionOutput$ = exports.GetAppVersionInput$ = exports.GetAccountOutput$ = exports.GetAccountInput$ = exports.DirectoryItem$ = exports.DeleteBotOutput$ = exports.DeleteBotInput$ = exports.DeleteBotApiKeyOutput$ = exports.DeleteBotApiKeyInput$ = exports.CreateSystemBotOutput$ = exports.CreateSystemBotInput$ = exports.CreateBotOutput$ = exports.CreateBotInput$ = exports.CreateBotApiKeyOutput$ = exports.CreateBotApiKeyInput$ = exports.CreateAnonymousSessionOutput$ = exports.CreateAnonymousSessionInput$ = exports.ChangeUserEmailOutput$ = exports.ChangeUserEmailInput$ = exports.BotWebhookEndpoint$ = exports.BotToolVariablesAnnotation$ = exports.BotToolVariablePredefinedHandler$ = exports.BotToolVariableGuidedHandler$ = exports.BotToolVariableAutoHandler$ = exports.BotToolVariable$ = exports.BotToolTagAnnotation$ = exports.BotToolResultAnnotation$ = exports.BotToolCommentAnnotation$ = exports.BotSqsEndpoint$ = exports.BotOpenAiAssistantEndpoint$ = exports.BotLlmTool$ = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.VerifyIdentity$ = exports.VerifyBotSecretKeyV1$ = exports.VerifyBotSecretKey$ = exports.UploadPictureV1$ = exports.UploadPicture$ = exports.UpdateWorkspace$ = exports.UpdateUserEmailNotificationsSettings$ = exports.UpdateBotCallback$ = exports.UpdateBot$ = exports.UpdateAccount$ = exports.UnlinkWorkspace$ = exports.UnlinkIdentity$ = exports.ToggleUnreadEmailNotificationsSubscription$ = void 0;
|
|
5
|
+
exports.UserPbxLinkData$ = exports.UserPbxInfo$ = exports.UserPbxDialplanSettings$ = exports.UserEmailNotificationsSettings$ = exports.UploadPictureV1Output$ = exports.UploadPictureV1Input$ = exports.UploadPictureOutput$ = exports.UploadPictureInput$ = exports.UpdateWorkspaceOutput$ = exports.UpdateWorkspaceInput$ = exports.UpdateUserEmailNotificationsSettingsOutput$ = exports.UpdateUserEmailNotificationsSettingsInput$ = exports.UpdateBotOutput$ = exports.UpdateBotInput$ = exports.UpdateBotCallbackOutput$ = exports.UpdateBotCallbackInput$ = exports.UpdateAccountOutput$ = exports.UpdateAccountInput$ = exports.UnlinkWorkspaceOutput$ = exports.UnlinkWorkspaceInput$ = exports.UnlinkIdentityOutput$ = exports.UnlinkIdentityInput$ = exports.ToggleUnreadEmailNotificationsSubscriptionOutput$ = exports.ToggleUnreadEmailNotificationsSubscriptionInput$ = exports.ToggleTranscriptionEmailNotificationsSubscriptionOutput$ = exports.ToggleTranscriptionEmailNotificationsSubscriptionInput$ = exports.ResetUserChatHistoryOutput$ = exports.ResetUserChatHistoryInput$ = exports.QueryUsersOutput$ = exports.QueryUsersInput$ = exports.QueryUserOutput$ = exports.QueryUserInput$ = exports.QueryColleaguesParameters$ = exports.QueryColleaguesOutputItem$ = exports.QueryColleaguesOutput$ = exports.QueryColleaguesInput$ = exports.PartialUpdateUserEmailNotificationsSettingsOutput$ = exports.PartialUpdateUserEmailNotificationsSettingsInput$ = exports.OldEmailData$ = exports.NewEmailData$ = exports.ListWorkspacesOutput$ = exports.ListWorkspacesInput$ = exports.ListIdentitiesOutput$ = exports.ListIdentitiesInput$ = exports.ListBotsOutput$ = exports.ListBotsInput$ = exports.ListBotApiKeysOutput$ = exports.ListBotApiKeysInput$ = exports.LinkIdentityOutput$ = exports.LinkIdentityInput$ = void 0;
|
|
6
|
+
exports.QueryUser$ = exports.QueryColleagues$ = exports.PartialUpdateUserEmailNotificationsSettings$ = exports.ListWorkspaces$ = exports.ListIdentities$ = exports.ListBots$ = exports.ListBotApiKeys$ = exports.LinkIdentity$ = exports.Invite$ = exports.IntelligenceSearch$ = exports.GetUserPbxLinkSuggestionV1$ = exports.GetUserPbxLinkSuggestion$ = exports.GetUserPbxLinkData$ = exports.GetUserEmailNotificationsSettings$ = exports.GetUser$ = exports.GetBotCallback$ = exports.GetBot$ = exports.GetAppVersion$ = exports.GetAccount$ = exports.DeleteBotApiKey$ = exports.DeleteBot$ = exports.CreateSystemBot$ = exports.CreateBotApiKey$ = exports.CreateBot$ = exports.CreateAnonymousSession$ = exports.ChangeUserEmail$ = exports.BatchGetUsersPbxLinkDataV1$ = exports.BatchGetUsersPbxLinkData$ = exports.BatchGetUsersEmailNotificationsSettings$ = exports.BatchGetUsers$ = exports.UserQuery$ = exports.BotToolVariableHandler$ = exports.BotToolAnnotation$ = exports.BotLlmFunctionIntegrationWebhookAuthorization$ = exports.BotLlmFunctionIntegration$ = exports.BotEndpoint$ = exports.BotCapability$ = exports.AnonymousEntryContext$ = exports.Workspace$ = exports.VerifyIdentityOutput$ = exports.VerifyIdentityInput$ = exports.VerifyBotSecretKeyV1Output$ = exports.VerifyBotSecretKeyV1Input$ = exports.VerifyBotSecretKeyOutput$ = exports.VerifyBotSecretKeyInput$ = exports.UserQueryPredicate$ = exports.UserPersonalInfo$ = exports.UserPbxServices$ = exports.UserPbxPersonalSettings$ = exports.UserPbxLinkSuggestion$ = void 0;
|
|
7
|
+
exports.VerifyIdentity$ = exports.VerifyBotSecretKeyV1$ = exports.VerifyBotSecretKey$ = exports.UploadPictureV1$ = exports.UploadPicture$ = exports.UpdateWorkspace$ = exports.UpdateUserEmailNotificationsSettings$ = exports.UpdateBotCallback$ = exports.UpdateBot$ = exports.UpdateAccount$ = exports.UnlinkWorkspace$ = exports.UnlinkIdentity$ = exports.ToggleUnreadEmailNotificationsSubscription$ = exports.ToggleTranscriptionEmailNotificationsSubscription$ = exports.ResetUserChatHistory$ = exports.QueryUsers$ = void 0;
|
|
8
8
|
const _A = "Account";
|
|
9
9
|
const _AEC = "AnonymousEntryContext";
|
|
10
10
|
const _ANFE = "AccountNotFoundException";
|
|
@@ -167,6 +167,9 @@ const _QUOu = "QueryUsersOutput";
|
|
|
167
167
|
const _QUu = "QueryUsers";
|
|
168
168
|
const _RA = "Retry-After";
|
|
169
169
|
const _RLEE = "RateLimitExceededException";
|
|
170
|
+
const _RUCH = "ResetUserChatHistory";
|
|
171
|
+
const _RUCHI = "ResetUserChatHistoryInput";
|
|
172
|
+
const _RUCHO = "ResetUserChatHistoryOutput";
|
|
170
173
|
const _SM = "SkippedMember";
|
|
171
174
|
const _SML = "SkippedMembersList";
|
|
172
175
|
const _TTENS = "ToggleTranscriptionEmailNotificationsSubscription";
|
|
@@ -267,6 +270,7 @@ const _cIo = "companyId";
|
|
|
267
270
|
const _cN = "companyName";
|
|
268
271
|
const _cP = "captchaProof";
|
|
269
272
|
const _cS = "clientSecret";
|
|
273
|
+
const _cWI = "createdWorkspaceIds";
|
|
270
274
|
const _ca = "category";
|
|
271
275
|
const _cal = "callback";
|
|
272
276
|
const _cap = "capabilities";
|
|
@@ -281,6 +285,7 @@ const _d = "dialplan";
|
|
|
281
285
|
const _dC = "dialogflowCx";
|
|
282
286
|
const _dS = "dialplanSettings";
|
|
283
287
|
const _dW = "defaultWorkspace";
|
|
288
|
+
const _dWI = "deletedWorkspaceIds";
|
|
284
289
|
const _de = "department";
|
|
285
290
|
const _dep = "departament";
|
|
286
291
|
const _des = "description";
|
|
@@ -374,6 +379,7 @@ const _q = "query";
|
|
|
374
379
|
const _qu = "queries";
|
|
375
380
|
const _r = "role";
|
|
376
381
|
const _rA = "retryAfter";
|
|
382
|
+
const _rI = "requestId";
|
|
377
383
|
const _rL = "rateLimit";
|
|
378
384
|
const _rLR = "rateLimitRemaining";
|
|
379
385
|
const _rLRa = "rateLimitReset";
|
|
@@ -414,6 +420,7 @@ const _u = "users";
|
|
|
414
420
|
const _uA = "updatedAt";
|
|
415
421
|
const _uI = "usersIds";
|
|
416
422
|
const _uIs = "userId";
|
|
423
|
+
const _uR = "userRemains";
|
|
417
424
|
const _uT = "unsubscribeToken";
|
|
418
425
|
const _un = "unread";
|
|
419
426
|
const _up = "updated";
|
|
@@ -1072,6 +1079,16 @@ exports.QueryUsersOutput$ = [3, n3, _QUOu,
|
|
|
1072
1079
|
[_u],
|
|
1073
1080
|
[() => UsersList], 1
|
|
1074
1081
|
];
|
|
1082
|
+
exports.ResetUserChatHistoryInput$ = [3, n3, _RUCHI,
|
|
1083
|
+
0,
|
|
1084
|
+
[_rI, _pUI, _uR, _em, _mP],
|
|
1085
|
+
[0, 0, 2, 0, 0], 3
|
|
1086
|
+
];
|
|
1087
|
+
exports.ResetUserChatHistoryOutput$ = [3, n3, _RUCHO,
|
|
1088
|
+
0,
|
|
1089
|
+
[_dWI, _cWI],
|
|
1090
|
+
[64 | 0, 64 | 0], 2
|
|
1091
|
+
];
|
|
1075
1092
|
exports.ToggleTranscriptionEmailNotificationsSubscriptionInput$ = [3, n3, _TTENSI,
|
|
1076
1093
|
0,
|
|
1077
1094
|
[_uT, _sub],
|
|
@@ -1458,6 +1475,9 @@ exports.QueryUser$ = [9, n3, _QU,
|
|
|
1458
1475
|
exports.QueryUsers$ = [9, n3, _QUu,
|
|
1459
1476
|
{ [_ht]: ["POST", "/v2/users/query-users", 200] }, () => exports.QueryUsersInput$, () => exports.QueryUsersOutput$
|
|
1460
1477
|
];
|
|
1478
|
+
exports.ResetUserChatHistory$ = [9, n3, _RUCH,
|
|
1479
|
+
{ [_ht]: ["POST", "/v2/users/reset-chat-history", 200] }, () => exports.ResetUserChatHistoryInput$, () => exports.ResetUserChatHistoryOutput$
|
|
1480
|
+
];
|
|
1461
1481
|
exports.ToggleTranscriptionEmailNotificationsSubscription$ = [9, n3, _TTENS,
|
|
1462
1482
|
{ [_ht]: ["POST", "/v2/users/toggle-transcription-email-notifications-subscription", 200] }, () => exports.ToggleTranscriptionEmailNotificationsSubscriptionInput$, () => exports.ToggleTranscriptionEmailNotificationsSubscriptionOutput$
|
|
1463
1483
|
];
|
package/dist-es/Users.js
CHANGED
|
@@ -30,6 +30,7 @@ import { PartialUpdateUserEmailNotificationsSettingsCommand, } from "./commands/
|
|
|
30
30
|
import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
|
|
31
31
|
import { QueryUserCommand } from "./commands/QueryUserCommand";
|
|
32
32
|
import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
|
|
33
|
+
import { ResetUserChatHistoryCommand, } from "./commands/ResetUserChatHistoryCommand";
|
|
33
34
|
import { ToggleTranscriptionEmailNotificationsSubscriptionCommand, } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
34
35
|
import { ToggleUnreadEmailNotificationsSubscriptionCommand, } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
35
36
|
import { UnlinkIdentityCommand, } from "./commands/UnlinkIdentityCommand";
|
|
@@ -77,6 +78,7 @@ const commands = {
|
|
|
77
78
|
QueryColleaguesCommand,
|
|
78
79
|
QueryUserCommand,
|
|
79
80
|
QueryUsersCommand,
|
|
81
|
+
ResetUserChatHistoryCommand,
|
|
80
82
|
ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
81
83
|
ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
82
84
|
UnlinkIdentityCommand,
|
|
@@ -49,6 +49,12 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
49
49
|
break;
|
|
50
50
|
}
|
|
51
51
|
;
|
|
52
|
+
case "ResetUserChatHistory":
|
|
53
|
+
{
|
|
54
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
;
|
|
52
58
|
case "ToggleTranscriptionEmailNotificationsSubscription":
|
|
53
59
|
{
|
|
54
60
|
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(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 { ResetUserChatHistory$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ResetUserChatHistoryCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("Users", "ResetUserChatHistory", {})
|
|
13
|
+
.n("UsersClient", "ResetUserChatHistoryCommand")
|
|
14
|
+
.sc(ResetUserChatHistory$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -29,6 +29,7 @@ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
|
29
29
|
export * from "./QueryColleaguesCommand";
|
|
30
30
|
export * from "./QueryUserCommand";
|
|
31
31
|
export * from "./QueryUsersCommand";
|
|
32
|
+
export * from "./ResetUserChatHistoryCommand";
|
|
32
33
|
export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
33
34
|
export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
34
35
|
export * from "./UnlinkIdentityCommand";
|
|
@@ -160,6 +160,9 @@ const _QUOu = "QueryUsersOutput";
|
|
|
160
160
|
const _QUu = "QueryUsers";
|
|
161
161
|
const _RA = "Retry-After";
|
|
162
162
|
const _RLEE = "RateLimitExceededException";
|
|
163
|
+
const _RUCH = "ResetUserChatHistory";
|
|
164
|
+
const _RUCHI = "ResetUserChatHistoryInput";
|
|
165
|
+
const _RUCHO = "ResetUserChatHistoryOutput";
|
|
163
166
|
const _SM = "SkippedMember";
|
|
164
167
|
const _SML = "SkippedMembersList";
|
|
165
168
|
const _TTENS = "ToggleTranscriptionEmailNotificationsSubscription";
|
|
@@ -260,6 +263,7 @@ const _cIo = "companyId";
|
|
|
260
263
|
const _cN = "companyName";
|
|
261
264
|
const _cP = "captchaProof";
|
|
262
265
|
const _cS = "clientSecret";
|
|
266
|
+
const _cWI = "createdWorkspaceIds";
|
|
263
267
|
const _ca = "category";
|
|
264
268
|
const _cal = "callback";
|
|
265
269
|
const _cap = "capabilities";
|
|
@@ -274,6 +278,7 @@ const _d = "dialplan";
|
|
|
274
278
|
const _dC = "dialogflowCx";
|
|
275
279
|
const _dS = "dialplanSettings";
|
|
276
280
|
const _dW = "defaultWorkspace";
|
|
281
|
+
const _dWI = "deletedWorkspaceIds";
|
|
277
282
|
const _de = "department";
|
|
278
283
|
const _dep = "departament";
|
|
279
284
|
const _des = "description";
|
|
@@ -367,6 +372,7 @@ const _q = "query";
|
|
|
367
372
|
const _qu = "queries";
|
|
368
373
|
const _r = "role";
|
|
369
374
|
const _rA = "retryAfter";
|
|
375
|
+
const _rI = "requestId";
|
|
370
376
|
const _rL = "rateLimit";
|
|
371
377
|
const _rLR = "rateLimitRemaining";
|
|
372
378
|
const _rLRa = "rateLimitReset";
|
|
@@ -407,6 +413,7 @@ const _u = "users";
|
|
|
407
413
|
const _uA = "updatedAt";
|
|
408
414
|
const _uI = "usersIds";
|
|
409
415
|
const _uIs = "userId";
|
|
416
|
+
const _uR = "userRemains";
|
|
410
417
|
const _uT = "unsubscribeToken";
|
|
411
418
|
const _un = "unread";
|
|
412
419
|
const _up = "updated";
|
|
@@ -1065,6 +1072,16 @@ export var QueryUsersOutput$ = [3, n3, _QUOu,
|
|
|
1065
1072
|
[_u],
|
|
1066
1073
|
[() => UsersList], 1
|
|
1067
1074
|
];
|
|
1075
|
+
export var ResetUserChatHistoryInput$ = [3, n3, _RUCHI,
|
|
1076
|
+
0,
|
|
1077
|
+
[_rI, _pUI, _uR, _em, _mP],
|
|
1078
|
+
[0, 0, 2, 0, 0], 3
|
|
1079
|
+
];
|
|
1080
|
+
export var ResetUserChatHistoryOutput$ = [3, n3, _RUCHO,
|
|
1081
|
+
0,
|
|
1082
|
+
[_dWI, _cWI],
|
|
1083
|
+
[64 | 0, 64 | 0], 2
|
|
1084
|
+
];
|
|
1068
1085
|
export var ToggleTranscriptionEmailNotificationsSubscriptionInput$ = [3, n3, _TTENSI,
|
|
1069
1086
|
0,
|
|
1070
1087
|
[_uT, _sub],
|
|
@@ -1451,6 +1468,9 @@ export var QueryUser$ = [9, n3, _QU,
|
|
|
1451
1468
|
export var QueryUsers$ = [9, n3, _QUu,
|
|
1452
1469
|
{ [_ht]: ["POST", "/v2/users/query-users", 200] }, () => QueryUsersInput$, () => QueryUsersOutput$
|
|
1453
1470
|
];
|
|
1471
|
+
export var ResetUserChatHistory$ = [9, n3, _RUCH,
|
|
1472
|
+
{ [_ht]: ["POST", "/v2/users/reset-chat-history", 200] }, () => ResetUserChatHistoryInput$, () => ResetUserChatHistoryOutput$
|
|
1473
|
+
];
|
|
1454
1474
|
export var ToggleTranscriptionEmailNotificationsSubscription$ = [9, n3, _TTENS,
|
|
1455
1475
|
{ [_ht]: ["POST", "/v2/users/toggle-transcription-email-notifications-subscription", 200] }, () => ToggleTranscriptionEmailNotificationsSubscriptionInput$, () => ToggleTranscriptionEmailNotificationsSubscriptionOutput$
|
|
1456
1476
|
];
|
package/dist-types/Users.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import { type PartialUpdateUserEmailNotificationsSettingsCommandInput, type Part
|
|
|
30
30
|
import { type QueryColleaguesCommandInput, type QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
31
31
|
import { type QueryUserCommandInput, type QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
32
32
|
import { type QueryUsersCommandInput, type QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
33
|
+
import { type ResetUserChatHistoryCommandInput, type ResetUserChatHistoryCommandOutput } from "./commands/ResetUserChatHistoryCommand";
|
|
33
34
|
import { type ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, type ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
34
35
|
import { type ToggleUnreadEmailNotificationsSubscriptionCommandInput, type ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
35
36
|
import { type UnlinkIdentityCommandInput, type UnlinkIdentityCommandOutput } from "./commands/UnlinkIdentityCommand";
|
|
@@ -236,6 +237,12 @@ export interface Users {
|
|
|
236
237
|
queryUsers(args: QueryUsersCommandInput, options?: __HttpHandlerOptions): Promise<QueryUsersCommandOutput>;
|
|
237
238
|
queryUsers(args: QueryUsersCommandInput, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
238
239
|
queryUsers(args: QueryUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
240
|
+
/**
|
|
241
|
+
* @see {@link ResetUserChatHistoryCommand}
|
|
242
|
+
*/
|
|
243
|
+
resetUserChatHistory(args: ResetUserChatHistoryCommandInput, options?: __HttpHandlerOptions): Promise<ResetUserChatHistoryCommandOutput>;
|
|
244
|
+
resetUserChatHistory(args: ResetUserChatHistoryCommandInput, cb: (err: any, data?: ResetUserChatHistoryCommandOutput) => void): void;
|
|
245
|
+
resetUserChatHistory(args: ResetUserChatHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetUserChatHistoryCommandOutput) => void): void;
|
|
239
246
|
/**
|
|
240
247
|
* @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommand}
|
|
241
248
|
*/
|
|
@@ -36,6 +36,7 @@ import type { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUp
|
|
|
36
36
|
import type { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
37
37
|
import type { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
38
38
|
import type { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
39
|
+
import type { ResetUserChatHistoryCommandInput, ResetUserChatHistoryCommandOutput } from "./commands/ResetUserChatHistoryCommand";
|
|
39
40
|
import type { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
40
41
|
import type { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
41
42
|
import type { UnlinkIdentityCommandInput, UnlinkIdentityCommandOutput } from "./commands/UnlinkIdentityCommand";
|
|
@@ -56,11 +57,11 @@ export { __Client };
|
|
|
56
57
|
/**
|
|
57
58
|
* @public
|
|
58
59
|
*/
|
|
59
|
-
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateAnonymousSessionCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetAccountCommandInput | GetAppVersionCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | IntelligenceSearchCommandInput | InviteCommandInput | LinkIdentityCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | ListIdentitiesCommandInput | ListWorkspacesCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UnlinkIdentityCommandInput | UnlinkWorkspaceCommandInput | UpdateAccountCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UpdateWorkspaceCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput | VerifyIdentityCommandInput;
|
|
60
|
+
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateAnonymousSessionCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetAccountCommandInput | GetAppVersionCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | IntelligenceSearchCommandInput | InviteCommandInput | LinkIdentityCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | ListIdentitiesCommandInput | ListWorkspacesCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ResetUserChatHistoryCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UnlinkIdentityCommandInput | UnlinkWorkspaceCommandInput | UpdateAccountCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UpdateWorkspaceCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput | VerifyIdentityCommandInput;
|
|
60
61
|
/**
|
|
61
62
|
* @public
|
|
62
63
|
*/
|
|
63
|
-
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateAnonymousSessionCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetAccountCommandOutput | GetAppVersionCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | IntelligenceSearchCommandOutput | InviteCommandOutput | LinkIdentityCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | ListIdentitiesCommandOutput | ListWorkspacesCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UnlinkIdentityCommandOutput | UnlinkWorkspaceCommandOutput | UpdateAccountCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UpdateWorkspaceCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput | VerifyIdentityCommandOutput;
|
|
64
|
+
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateAnonymousSessionCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetAccountCommandOutput | GetAppVersionCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | IntelligenceSearchCommandOutput | InviteCommandOutput | LinkIdentityCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | ListIdentitiesCommandOutput | ListWorkspacesCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ResetUserChatHistoryCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UnlinkIdentityCommandOutput | UnlinkWorkspaceCommandOutput | UpdateAccountCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UpdateWorkspaceCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput | VerifyIdentityCommandOutput;
|
|
64
65
|
/**
|
|
65
66
|
* @public
|
|
66
67
|
*/
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ResetUserChatHistoryInput, ResetUserChatHistoryOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ResetUserChatHistoryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ResetUserChatHistoryCommandInput extends ResetUserChatHistoryInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ResetUserChatHistoryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ResetUserChatHistoryCommandOutput extends ResetUserChatHistoryOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ResetUserChatHistoryCommand_base: {
|
|
25
|
+
new (input: ResetUserChatHistoryCommandInput): import("@smithy/core/client").CommandImpl<ResetUserChatHistoryCommandInput, ResetUserChatHistoryCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ResetUserChatHistoryCommandInput): import("@smithy/core/client").CommandImpl<ResetUserChatHistoryCommandInput, ResetUserChatHistoryCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Starts a PBX user's x-bees history over when a PBX admin removes the user with their chat history. Every workspace of the caller's company linked to this PBX user, or reached by the given email or mobile phone, is marked deleted. When the user stays on the PBX, a new work workspace is created for each affected account first and becomes its default. Available only with PBX authorization: the company comes from the token. A request repeated with the same requestId within 24 hours returns the first result.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { UsersClient, ResetUserChatHistoryCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
+
* // const { UsersClient, ResetUserChatHistoryCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
+
* // import type { UsersClientConfig } from "@wildix/xbees-users-client";
|
|
37
|
+
* const config = {}; // type is UsersClientConfig
|
|
38
|
+
* const client = new UsersClient(config);
|
|
39
|
+
* const input = { // ResetUserChatHistoryInput
|
|
40
|
+
* requestId: "STRING_VALUE", // required
|
|
41
|
+
* pbxUserId: "STRING_VALUE", // required
|
|
42
|
+
* email: "STRING_VALUE",
|
|
43
|
+
* mobilePhone: "STRING_VALUE",
|
|
44
|
+
* userRemains: true || false, // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ResetUserChatHistoryCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ResetUserChatHistoryOutput
|
|
49
|
+
* // deletedWorkspaceIds: [ // UsersIdList // required
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // createdWorkspaceIds: [ // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ResetUserChatHistoryCommandInput - {@link ResetUserChatHistoryCommandInput}
|
|
60
|
+
* @returns {@link ResetUserChatHistoryCommandOutput}
|
|
61
|
+
* @see {@link ResetUserChatHistoryCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ResetUserChatHistoryCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link UsersServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class ResetUserChatHistoryCommand extends ResetUserChatHistoryCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: ResetUserChatHistoryInput;
|
|
82
|
+
output: ResetUserChatHistoryOutput;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: ResetUserChatHistoryCommandInput;
|
|
86
|
+
output: ResetUserChatHistoryCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -29,6 +29,7 @@ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
|
29
29
|
export * from "./QueryColleaguesCommand";
|
|
30
30
|
export * from "./QueryUserCommand";
|
|
31
31
|
export * from "./QueryUsersCommand";
|
|
32
|
+
export * from "./ResetUserChatHistoryCommand";
|
|
32
33
|
export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
33
34
|
export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
34
35
|
export * from "./UnlinkIdentityCommand";
|
|
@@ -1900,6 +1900,43 @@ export interface QueryUsersOutput {
|
|
|
1900
1900
|
*/
|
|
1901
1901
|
users: User[];
|
|
1902
1902
|
}
|
|
1903
|
+
/**
|
|
1904
|
+
* @public
|
|
1905
|
+
*/
|
|
1906
|
+
export interface ResetUserChatHistoryInput {
|
|
1907
|
+
/**
|
|
1908
|
+
* Identifies the reset. A retry of the same reset must send the same value.
|
|
1909
|
+
* @public
|
|
1910
|
+
*/
|
|
1911
|
+
requestId: string;
|
|
1912
|
+
/**
|
|
1913
|
+
* The id of the user on the PBX.
|
|
1914
|
+
* @public
|
|
1915
|
+
*/
|
|
1916
|
+
pbxUserId: string;
|
|
1917
|
+
/**
|
|
1918
|
+
* The user's email, as it was before the removal.
|
|
1919
|
+
* @public
|
|
1920
|
+
*/
|
|
1921
|
+
email?: string | undefined;
|
|
1922
|
+
/**
|
|
1923
|
+
* The user's mobile phone, as it was before the removal.
|
|
1924
|
+
* @public
|
|
1925
|
+
*/
|
|
1926
|
+
mobilePhone?: string | undefined;
|
|
1927
|
+
/**
|
|
1928
|
+
* Whether the user stays on the PBX after the removal. Only then are new workspaces created.
|
|
1929
|
+
* @public
|
|
1930
|
+
*/
|
|
1931
|
+
userRemains: boolean;
|
|
1932
|
+
}
|
|
1933
|
+
/**
|
|
1934
|
+
* @public
|
|
1935
|
+
*/
|
|
1936
|
+
export interface ResetUserChatHistoryOutput {
|
|
1937
|
+
deletedWorkspaceIds: string[];
|
|
1938
|
+
createdWorkspaceIds: string[];
|
|
1939
|
+
}
|
|
1903
1940
|
/**
|
|
1904
1941
|
* @public
|
|
1905
1942
|
*/
|
|
@@ -127,6 +127,8 @@ export declare var QueryUserInput$: StaticStructureSchema;
|
|
|
127
127
|
export declare var QueryUserOutput$: StaticStructureSchema;
|
|
128
128
|
export declare var QueryUsersInput$: StaticStructureSchema;
|
|
129
129
|
export declare var QueryUsersOutput$: StaticStructureSchema;
|
|
130
|
+
export declare var ResetUserChatHistoryInput$: StaticStructureSchema;
|
|
131
|
+
export declare var ResetUserChatHistoryOutput$: StaticStructureSchema;
|
|
130
132
|
export declare var ToggleTranscriptionEmailNotificationsSubscriptionInput$: StaticStructureSchema;
|
|
131
133
|
export declare var ToggleTranscriptionEmailNotificationsSubscriptionOutput$: StaticStructureSchema;
|
|
132
134
|
export declare var ToggleUnreadEmailNotificationsSubscriptionInput$: StaticStructureSchema;
|
|
@@ -204,6 +206,7 @@ export declare var PartialUpdateUserEmailNotificationsSettings$: StaticOperation
|
|
|
204
206
|
export declare var QueryColleagues$: StaticOperationSchema;
|
|
205
207
|
export declare var QueryUser$: StaticOperationSchema;
|
|
206
208
|
export declare var QueryUsers$: StaticOperationSchema;
|
|
209
|
+
export declare var ResetUserChatHistory$: StaticOperationSchema;
|
|
207
210
|
export declare var ToggleTranscriptionEmailNotificationsSubscription$: StaticOperationSchema;
|
|
208
211
|
export declare var ToggleUnreadEmailNotificationsSubscription$: StaticOperationSchema;
|
|
209
212
|
export declare var UnlinkIdentity$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-users-client",
|
|
3
3
|
"description": "@wildix/xbees-users-client client",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.3.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|