@wildix/xbees-users-client 4.1.2 → 4.1.3
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/models/errors.js +1 -22
- package/dist-cjs/schemas/schemas_0.js +17 -40
- package/dist-es/models/errors.js +0 -20
- package/dist-es/schemas/schemas_0.js +13 -36
- package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -2
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -2
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -2
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -2
- package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -2
- package/dist-types/commands/CreateAnonymousSessionCommand.d.ts +0 -2
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -2
- package/dist-types/commands/CreateBotCommand.d.ts +0 -2
- package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -2
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -2
- package/dist-types/commands/DeleteBotCommand.d.ts +0 -2
- package/dist-types/commands/GetAccountCommand.d.ts +0 -2
- package/dist-types/commands/GetAppVersionCommand.d.ts +0 -2
- package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -2
- package/dist-types/commands/GetBotCommand.d.ts +0 -2
- package/dist-types/commands/GetUserCommand.d.ts +0 -2
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -2
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -2
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -2
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -2
- package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -2
- package/dist-types/commands/InviteCommand.d.ts +13 -4
- package/dist-types/commands/LinkIdentityCommand.d.ts +0 -2
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -2
- package/dist-types/commands/ListBotsCommand.d.ts +0 -2
- package/dist-types/commands/ListIdentitiesCommand.d.ts +0 -2
- package/dist-types/commands/ListWorkspacesCommand.d.ts +5 -3
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -2
- package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -2
- package/dist-types/commands/QueryUserCommand.d.ts +0 -2
- package/dist-types/commands/QueryUsersCommand.d.ts +0 -2
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -2
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -2
- package/dist-types/commands/UnlinkIdentityCommand.d.ts +0 -2
- package/dist-types/commands/UnlinkWorkspaceCommand.d.ts +0 -2
- package/dist-types/commands/UpdateAccountCommand.d.ts +0 -2
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -2
- package/dist-types/commands/UpdateBotCommand.d.ts +0 -2
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -2
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +0 -2
- package/dist-types/commands/UploadPictureCommand.d.ts +0 -2
- package/dist-types/commands/UploadPictureV1Command.d.ts +0 -2
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -2
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -2
- package/dist-types/commands/VerifyIdentityCommand.d.ts +0 -2
- package/dist-types/models/errors.d.ts +0 -31
- package/dist-types/models/models_0.d.ts +28 -26
- package/dist-types/schemas/schemas_0.d.ts +0 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.IdentityNotFoundException = exports.IdentityAlreadyLinkedException = exports.PublicAccessIsRestrictedException = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.CannotUnbindDefaultWorkspaceException = exports.CannotRemovePrimaryIdentityException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotApiKeyNotFoundException = exports.BotAlreadyExistsException = exports.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.
|
|
3
|
+
exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.IdentityNotFoundException = exports.IdentityAlreadyLinkedException = exports.PublicAccessIsRestrictedException = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.CannotUnbindDefaultWorkspaceException = exports.CannotRemovePrimaryIdentityException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotApiKeyNotFoundException = exports.BotAlreadyExistsException = exports.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
4
|
const UsersServiceException_1 = require("./UsersServiceException");
|
|
5
5
|
class ForbiddenException extends UsersServiceException_1.UsersServiceException {
|
|
6
6
|
name = "ForbiddenException";
|
|
@@ -15,27 +15,6 @@ class ForbiddenException extends UsersServiceException_1.UsersServiceException {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.ForbiddenException = ForbiddenException;
|
|
18
|
-
class RateLimitExceededException extends UsersServiceException_1.UsersServiceException {
|
|
19
|
-
name = "RateLimitExceededException";
|
|
20
|
-
$fault = "client";
|
|
21
|
-
rateLimit;
|
|
22
|
-
rateLimitRemaining;
|
|
23
|
-
rateLimitReset;
|
|
24
|
-
retryAfter;
|
|
25
|
-
constructor(opts) {
|
|
26
|
-
super({
|
|
27
|
-
name: "RateLimitExceededException",
|
|
28
|
-
$fault: "client",
|
|
29
|
-
...opts,
|
|
30
|
-
});
|
|
31
|
-
Object.setPrototypeOf(this, RateLimitExceededException.prototype);
|
|
32
|
-
this.rateLimit = opts.rateLimit;
|
|
33
|
-
this.rateLimitRemaining = opts.rateLimitRemaining;
|
|
34
|
-
this.rateLimitReset = opts.rateLimitReset;
|
|
35
|
-
this.retryAfter = opts.retryAfter;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.RateLimitExceededException = RateLimitExceededException;
|
|
39
18
|
class ValidationException extends UsersServiceException_1.UsersServiceException {
|
|
40
19
|
name = "ValidationException";
|
|
41
20
|
$fault = "client";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.
|
|
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$ =
|
|
5
|
-
exports.UserPbxPersonalSettings$ = exports.UserPbxLinkSuggestion$ = 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.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$ =
|
|
6
|
-
exports.ToggleTranscriptionEmailNotificationsSubscription$ = exports.QueryUsers$ = 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$ =
|
|
7
|
-
exports.VerifyIdentity$ = exports.VerifyBotSecretKeyV1$ = exports.VerifyBotSecretKey$ = exports.UploadPictureV1$ = exports.UploadPicture$ = exports.UpdateWorkspace$ = exports.UpdateUserEmailNotificationsSettings$ = exports.UpdateBotCallback$ = exports.UpdateBot$ = exports.UpdateAccount$ = exports.UnlinkWorkspace$ =
|
|
3
|
+
exports.BotOpenAiAssistantEndpoint$ = exports.BotLlmTool$ = 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.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.ForbiddenException$ = exports.UsersServiceException$ = void 0;
|
|
4
|
+
exports.LinkIdentityOutput$ = exports.LinkIdentityInput$ = 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$ = void 0;
|
|
5
|
+
exports.UserPersonalInfo$ = exports.UserPbxServices$ = exports.UserPbxPersonalSettings$ = exports.UserPbxLinkSuggestion$ = 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.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$ = void 0;
|
|
6
|
+
exports.UnlinkIdentity$ = exports.ToggleUnreadEmailNotificationsSubscription$ = exports.ToggleTranscriptionEmailNotificationsSubscription$ = exports.QueryUsers$ = 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$ = 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$ = void 0;
|
|
8
8
|
const _A = "Account";
|
|
9
9
|
const _AEC = "AnonymousEntryContext";
|
|
10
10
|
const _ANFE = "AccountNotFoundException";
|
|
@@ -128,8 +128,6 @@ const _IO = "InviteOutput";
|
|
|
128
128
|
const _IS = "IntelligenceSearch";
|
|
129
129
|
const _ISI = "IntelligenceSearchInput";
|
|
130
130
|
const _ISO = "IntelligenceSearchOutput";
|
|
131
|
-
const _IU = "InvitedUser";
|
|
132
|
-
const _IUL = "InvitedUsersList";
|
|
133
131
|
const _In = "Invite";
|
|
134
132
|
const _LB = "ListBots";
|
|
135
133
|
const _LBAK = "ListBotApiKeys";
|
|
@@ -165,8 +163,6 @@ const _QUIu = "QueryUsersInput";
|
|
|
165
163
|
const _QUO = "QueryUserOutput";
|
|
166
164
|
const _QUOu = "QueryUsersOutput";
|
|
167
165
|
const _QUu = "QueryUsers";
|
|
168
|
-
const _RA = "Retry-After";
|
|
169
|
-
const _RLEE = "RateLimitExceededException";
|
|
170
166
|
const _SM = "SkippedMember";
|
|
171
167
|
const _SML = "SkippedMembersList";
|
|
172
168
|
const _TTENS = "ToggleTranscriptionEmailNotificationsSubscription";
|
|
@@ -236,9 +232,6 @@ const _W = "Workspace";
|
|
|
236
232
|
const _WL = "WorkspaceList";
|
|
237
233
|
const _WNFE = "WidgetNotFoundException";
|
|
238
234
|
const _WNFEo = "WorkspaceNotFoundException";
|
|
239
|
-
const _XRL = "X-RateLimit-Limit";
|
|
240
|
-
const _XRR = "X-RateLimit-Remaining";
|
|
241
|
-
const _XRR_ = "X-RateLimit-Reset";
|
|
242
235
|
const _a = "access";
|
|
243
236
|
const _aI = "assistantId";
|
|
244
237
|
const _aIc = "accountId";
|
|
@@ -306,7 +299,6 @@ const _gr = "group";
|
|
|
306
299
|
const _gu = "guided";
|
|
307
300
|
const _h = "headers";
|
|
308
301
|
const _hE = "httpError";
|
|
309
|
-
const _hH = "httpHeader";
|
|
310
302
|
const _hQ = "httpQuery";
|
|
311
303
|
const _ha = "handler";
|
|
312
304
|
const _ht = "http";
|
|
@@ -328,7 +320,8 @@ const _kb = "kb";
|
|
|
328
320
|
const _ke = "keys";
|
|
329
321
|
const _l = "language";
|
|
330
322
|
const _lT = "licenseType";
|
|
331
|
-
const _li = "
|
|
323
|
+
const _li = "limit";
|
|
324
|
+
const _lic = "license";
|
|
332
325
|
const _ll = "llm";
|
|
333
326
|
const _lo = "login";
|
|
334
327
|
const _loc = "locale";
|
|
@@ -341,11 +334,12 @@ const _n = "name";
|
|
|
341
334
|
const _nA = "networkAddresses";
|
|
342
335
|
const _nD = "newData";
|
|
343
336
|
const _no = "notifications";
|
|
344
|
-
const _o = "
|
|
337
|
+
const _o = "offset";
|
|
345
338
|
const _oAA = "openAiAssistant";
|
|
346
339
|
const _oD = "oldData";
|
|
347
340
|
const _oP = "officePhone";
|
|
348
341
|
const _oa = "oauth";
|
|
342
|
+
const _ot = "otp";
|
|
349
343
|
const _p = "pbx";
|
|
350
344
|
const _pD = "pbxDn";
|
|
351
345
|
const _pDb = "pbxDomain";
|
|
@@ -371,10 +365,6 @@ const _pred = "predefined";
|
|
|
371
365
|
const _q = "query";
|
|
372
366
|
const _qu = "queries";
|
|
373
367
|
const _r = "role";
|
|
374
|
-
const _rA = "retryAfter";
|
|
375
|
-
const _rL = "rateLimit";
|
|
376
|
-
const _rLR = "rateLimitRemaining";
|
|
377
|
-
const _rLRa = "rateLimitReset";
|
|
378
368
|
const _re = "result";
|
|
379
369
|
const _s = "smithy.ts.sdk.synthetic.wildix.xbees.users";
|
|
380
370
|
const _sA = "sfnArn";
|
|
@@ -406,6 +396,7 @@ const _ti = "timeout";
|
|
|
406
396
|
const _to = "tools";
|
|
407
397
|
const _tok = "token";
|
|
408
398
|
const _too = "tool";
|
|
399
|
+
const _tot = "total";
|
|
409
400
|
const _tr = "transcription";
|
|
410
401
|
const _u = "users";
|
|
411
402
|
const _uA = "updatedAt";
|
|
@@ -449,12 +440,6 @@ exports.ForbiddenException$ = [-3, n0, _FE,
|
|
|
449
440
|
[0], 1
|
|
450
441
|
];
|
|
451
442
|
n0_registry.registerError(exports.ForbiddenException$, errors_1.ForbiddenException);
|
|
452
|
-
exports.RateLimitExceededException$ = [-3, n0, _RLEE,
|
|
453
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
454
|
-
[_m, _rL, _rLR, _rLRa, _rA],
|
|
455
|
-
[0, [0, { [_hH]: _XRL }], [1, { [_hH]: _XRR }], [1, { [_hH]: _XRR_ }], [1, { [_hH]: _RA }]], 1
|
|
456
|
-
];
|
|
457
|
-
n0_registry.registerError(exports.RateLimitExceededException$, errors_1.RateLimitExceededException);
|
|
458
443
|
exports.ValidationException$ = [-3, n0, _VE,
|
|
459
444
|
{ [_e]: _c, [_hE]: 400 },
|
|
460
445
|
[_m],
|
|
@@ -569,11 +554,6 @@ exports.PbxColleague$ = [3, n4, _PC,
|
|
|
569
554
|
[_i, _ex, _pD, _p, _r, _gN, _gD, _l, _d, _fD, _pi, _lT, _j, _n, _lo, _oP, _mP, _fN, _em, _de, _sI],
|
|
570
555
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 13
|
|
571
556
|
];
|
|
572
|
-
exports.InvitedUser$ = [3, n1, _IU,
|
|
573
|
-
0,
|
|
574
|
-
[_i, _n, _em, _ph, _co, _pUI],
|
|
575
|
-
[0, 0, 0, 0, 0, 0], 1
|
|
576
|
-
];
|
|
577
557
|
exports.SkippedMember$ = [3, n1, _SM,
|
|
578
558
|
0,
|
|
579
559
|
[_i, _em, _ph],
|
|
@@ -957,7 +937,7 @@ exports.InviteInput$ = [3, n3, _II,
|
|
|
957
937
|
exports.InviteOutput$ = [3, n3, _IO,
|
|
958
938
|
0,
|
|
959
939
|
[_u, _sIk],
|
|
960
|
-
[() =>
|
|
940
|
+
[() => UsersList, () => SkippedMembersList], 2
|
|
961
941
|
];
|
|
962
942
|
exports.LinkIdentityInput$ = [3, n3, _LII,
|
|
963
943
|
0,
|
|
@@ -1001,13 +981,13 @@ exports.ListIdentitiesOutput$ = [3, n3, _LIOi,
|
|
|
1001
981
|
];
|
|
1002
982
|
exports.ListWorkspacesInput$ = [3, n3, _LWI,
|
|
1003
983
|
0,
|
|
1004
|
-
[_aIc],
|
|
1005
|
-
[[0, 1]], 1
|
|
984
|
+
[_aIc, _li, _o, _q],
|
|
985
|
+
[[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _o }], [0, { [_hQ]: _q }]], 1
|
|
1006
986
|
];
|
|
1007
987
|
exports.ListWorkspacesOutput$ = [3, n3, _LWO,
|
|
1008
988
|
0,
|
|
1009
|
-
[_w],
|
|
1010
|
-
[() => WorkspaceList], 1
|
|
989
|
+
[_w, _tot],
|
|
990
|
+
[() => WorkspaceList, 1], 1
|
|
1011
991
|
];
|
|
1012
992
|
exports.NewEmailData$ = [3, n3, _NED,
|
|
1013
993
|
0,
|
|
@@ -1221,7 +1201,7 @@ exports.UserPersonalInfo$ = [3, n3, _UPIse,
|
|
|
1221
1201
|
];
|
|
1222
1202
|
exports.UserQueryPredicate$ = [3, n3, _UQP,
|
|
1223
1203
|
0,
|
|
1224
|
-
[
|
|
1204
|
+
[_lic],
|
|
1225
1205
|
[0]
|
|
1226
1206
|
];
|
|
1227
1207
|
exports.VerifyBotSecretKeyInput$ = [3, n3, _VBSKI,
|
|
@@ -1246,7 +1226,7 @@ exports.VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
|
|
|
1246
1226
|
];
|
|
1247
1227
|
exports.VerifyIdentityInput$ = [3, n3, _VII,
|
|
1248
1228
|
0,
|
|
1249
|
-
[_aIc, _id,
|
|
1229
|
+
[_aIc, _id, _ot],
|
|
1250
1230
|
[[0, 1], 0, 0], 3
|
|
1251
1231
|
];
|
|
1252
1232
|
exports.VerifyIdentityOutput$ = [3, n3, _VIO,
|
|
@@ -1262,9 +1242,6 @@ exports.Workspace$ = [3, n3, _W,
|
|
|
1262
1242
|
var AgentGuidelinesList = 64 | 0;
|
|
1263
1243
|
var ColleaguesFilterList = 64 | 0;
|
|
1264
1244
|
var PbxColleaguesQueryFieldList = 64 | 0;
|
|
1265
|
-
var InvitedUsersList = [1, n1, _IUL,
|
|
1266
|
-
0, () => exports.InvitedUser$
|
|
1267
|
-
];
|
|
1268
1245
|
var SkippedMembersList = [1, n1, _SML,
|
|
1269
1246
|
0, () => exports.SkippedMember$
|
|
1270
1247
|
];
|
package/dist-es/models/errors.js
CHANGED
|
@@ -11,26 +11,6 @@ export class ForbiddenException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export class RateLimitExceededException extends __BaseException {
|
|
15
|
-
name = "RateLimitExceededException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
rateLimit;
|
|
18
|
-
rateLimitRemaining;
|
|
19
|
-
rateLimitReset;
|
|
20
|
-
retryAfter;
|
|
21
|
-
constructor(opts) {
|
|
22
|
-
super({
|
|
23
|
-
name: "RateLimitExceededException",
|
|
24
|
-
$fault: "client",
|
|
25
|
-
...opts,
|
|
26
|
-
});
|
|
27
|
-
Object.setPrototypeOf(this, RateLimitExceededException.prototype);
|
|
28
|
-
this.rateLimit = opts.rateLimit;
|
|
29
|
-
this.rateLimitRemaining = opts.rateLimitRemaining;
|
|
30
|
-
this.rateLimitReset = opts.rateLimitReset;
|
|
31
|
-
this.retryAfter = opts.retryAfter;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
14
|
export class ValidationException extends __BaseException {
|
|
35
15
|
name = "ValidationException";
|
|
36
16
|
$fault = "client";
|
|
@@ -121,8 +121,6 @@ const _IO = "InviteOutput";
|
|
|
121
121
|
const _IS = "IntelligenceSearch";
|
|
122
122
|
const _ISI = "IntelligenceSearchInput";
|
|
123
123
|
const _ISO = "IntelligenceSearchOutput";
|
|
124
|
-
const _IU = "InvitedUser";
|
|
125
|
-
const _IUL = "InvitedUsersList";
|
|
126
124
|
const _In = "Invite";
|
|
127
125
|
const _LB = "ListBots";
|
|
128
126
|
const _LBAK = "ListBotApiKeys";
|
|
@@ -158,8 +156,6 @@ const _QUIu = "QueryUsersInput";
|
|
|
158
156
|
const _QUO = "QueryUserOutput";
|
|
159
157
|
const _QUOu = "QueryUsersOutput";
|
|
160
158
|
const _QUu = "QueryUsers";
|
|
161
|
-
const _RA = "Retry-After";
|
|
162
|
-
const _RLEE = "RateLimitExceededException";
|
|
163
159
|
const _SM = "SkippedMember";
|
|
164
160
|
const _SML = "SkippedMembersList";
|
|
165
161
|
const _TTENS = "ToggleTranscriptionEmailNotificationsSubscription";
|
|
@@ -229,9 +225,6 @@ const _W = "Workspace";
|
|
|
229
225
|
const _WL = "WorkspaceList";
|
|
230
226
|
const _WNFE = "WidgetNotFoundException";
|
|
231
227
|
const _WNFEo = "WorkspaceNotFoundException";
|
|
232
|
-
const _XRL = "X-RateLimit-Limit";
|
|
233
|
-
const _XRR = "X-RateLimit-Remaining";
|
|
234
|
-
const _XRR_ = "X-RateLimit-Reset";
|
|
235
228
|
const _a = "access";
|
|
236
229
|
const _aI = "assistantId";
|
|
237
230
|
const _aIc = "accountId";
|
|
@@ -299,7 +292,6 @@ const _gr = "group";
|
|
|
299
292
|
const _gu = "guided";
|
|
300
293
|
const _h = "headers";
|
|
301
294
|
const _hE = "httpError";
|
|
302
|
-
const _hH = "httpHeader";
|
|
303
295
|
const _hQ = "httpQuery";
|
|
304
296
|
const _ha = "handler";
|
|
305
297
|
const _ht = "http";
|
|
@@ -321,7 +313,8 @@ const _kb = "kb";
|
|
|
321
313
|
const _ke = "keys";
|
|
322
314
|
const _l = "language";
|
|
323
315
|
const _lT = "licenseType";
|
|
324
|
-
const _li = "
|
|
316
|
+
const _li = "limit";
|
|
317
|
+
const _lic = "license";
|
|
325
318
|
const _ll = "llm";
|
|
326
319
|
const _lo = "login";
|
|
327
320
|
const _loc = "locale";
|
|
@@ -334,11 +327,12 @@ const _n = "name";
|
|
|
334
327
|
const _nA = "networkAddresses";
|
|
335
328
|
const _nD = "newData";
|
|
336
329
|
const _no = "notifications";
|
|
337
|
-
const _o = "
|
|
330
|
+
const _o = "offset";
|
|
338
331
|
const _oAA = "openAiAssistant";
|
|
339
332
|
const _oD = "oldData";
|
|
340
333
|
const _oP = "officePhone";
|
|
341
334
|
const _oa = "oauth";
|
|
335
|
+
const _ot = "otp";
|
|
342
336
|
const _p = "pbx";
|
|
343
337
|
const _pD = "pbxDn";
|
|
344
338
|
const _pDb = "pbxDomain";
|
|
@@ -364,10 +358,6 @@ const _pred = "predefined";
|
|
|
364
358
|
const _q = "query";
|
|
365
359
|
const _qu = "queries";
|
|
366
360
|
const _r = "role";
|
|
367
|
-
const _rA = "retryAfter";
|
|
368
|
-
const _rL = "rateLimit";
|
|
369
|
-
const _rLR = "rateLimitRemaining";
|
|
370
|
-
const _rLRa = "rateLimitReset";
|
|
371
361
|
const _re = "result";
|
|
372
362
|
const _s = "smithy.ts.sdk.synthetic.wildix.xbees.users";
|
|
373
363
|
const _sA = "sfnArn";
|
|
@@ -399,6 +389,7 @@ const _ti = "timeout";
|
|
|
399
389
|
const _to = "tools";
|
|
400
390
|
const _tok = "token";
|
|
401
391
|
const _too = "tool";
|
|
392
|
+
const _tot = "total";
|
|
402
393
|
const _tr = "transcription";
|
|
403
394
|
const _u = "users";
|
|
404
395
|
const _uA = "updatedAt";
|
|
@@ -427,7 +418,7 @@ const n2 = "wildix.xbees.kite";
|
|
|
427
418
|
const n3 = "wildix.xbees.users";
|
|
428
419
|
const n4 = "wildix.wms.api";
|
|
429
420
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
430
|
-
import { AccountNotFoundException, BotAlreadyExistsException, BotApiKeyNotFoundException, BotNotFoundException, BotSecretKeyNotValidException, CannotRemovePrimaryIdentityException, CannotUnbindDefaultWorkspaceException, ChannelNotFoundException, ForbiddenException, IdentityAlreadyLinkedException, IdentityNotFoundException, PublicAccessIsRestrictedException,
|
|
421
|
+
import { AccountNotFoundException, BotAlreadyExistsException, BotApiKeyNotFoundException, BotNotFoundException, BotSecretKeyNotValidException, CannotRemovePrimaryIdentityException, CannotUnbindDefaultWorkspaceException, ChannelNotFoundException, ForbiddenException, IdentityAlreadyLinkedException, IdentityNotFoundException, PublicAccessIsRestrictedException, UserCompanyNotValidException, UserNotFoundException, UserQueryPredicateNotMetException, ValidationException, WidgetNotFoundException, WorkspaceNotFoundException, } from "../models/errors";
|
|
431
422
|
import { UsersServiceException } from "../models/UsersServiceException";
|
|
432
423
|
const _s_registry = TypeRegistry.for(_s);
|
|
433
424
|
export var UsersServiceException$ = [-3, _s, "UsersServiceException", 0, [], []];
|
|
@@ -442,12 +433,6 @@ export var ForbiddenException$ = [-3, n0, _FE,
|
|
|
442
433
|
[0], 1
|
|
443
434
|
];
|
|
444
435
|
n0_registry.registerError(ForbiddenException$, ForbiddenException);
|
|
445
|
-
export var RateLimitExceededException$ = [-3, n0, _RLEE,
|
|
446
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
447
|
-
[_m, _rL, _rLR, _rLRa, _rA],
|
|
448
|
-
[0, [0, { [_hH]: _XRL }], [1, { [_hH]: _XRR }], [1, { [_hH]: _XRR_ }], [1, { [_hH]: _RA }]], 1
|
|
449
|
-
];
|
|
450
|
-
n0_registry.registerError(RateLimitExceededException$, RateLimitExceededException);
|
|
451
436
|
export var ValidationException$ = [-3, n0, _VE,
|
|
452
437
|
{ [_e]: _c, [_hE]: 400 },
|
|
453
438
|
[_m],
|
|
@@ -562,11 +547,6 @@ export var PbxColleague$ = [3, n4, _PC,
|
|
|
562
547
|
[_i, _ex, _pD, _p, _r, _gN, _gD, _l, _d, _fD, _pi, _lT, _j, _n, _lo, _oP, _mP, _fN, _em, _de, _sI],
|
|
563
548
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 13
|
|
564
549
|
];
|
|
565
|
-
export var InvitedUser$ = [3, n1, _IU,
|
|
566
|
-
0,
|
|
567
|
-
[_i, _n, _em, _ph, _co, _pUI],
|
|
568
|
-
[0, 0, 0, 0, 0, 0], 1
|
|
569
|
-
];
|
|
570
550
|
export var SkippedMember$ = [3, n1, _SM,
|
|
571
551
|
0,
|
|
572
552
|
[_i, _em, _ph],
|
|
@@ -950,7 +930,7 @@ export var InviteInput$ = [3, n3, _II,
|
|
|
950
930
|
export var InviteOutput$ = [3, n3, _IO,
|
|
951
931
|
0,
|
|
952
932
|
[_u, _sIk],
|
|
953
|
-
[() =>
|
|
933
|
+
[() => UsersList, () => SkippedMembersList], 2
|
|
954
934
|
];
|
|
955
935
|
export var LinkIdentityInput$ = [3, n3, _LII,
|
|
956
936
|
0,
|
|
@@ -994,13 +974,13 @@ export var ListIdentitiesOutput$ = [3, n3, _LIOi,
|
|
|
994
974
|
];
|
|
995
975
|
export var ListWorkspacesInput$ = [3, n3, _LWI,
|
|
996
976
|
0,
|
|
997
|
-
[_aIc],
|
|
998
|
-
[[0, 1]], 1
|
|
977
|
+
[_aIc, _li, _o, _q],
|
|
978
|
+
[[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _o }], [0, { [_hQ]: _q }]], 1
|
|
999
979
|
];
|
|
1000
980
|
export var ListWorkspacesOutput$ = [3, n3, _LWO,
|
|
1001
981
|
0,
|
|
1002
|
-
[_w],
|
|
1003
|
-
[() => WorkspaceList], 1
|
|
982
|
+
[_w, _tot],
|
|
983
|
+
[() => WorkspaceList, 1], 1
|
|
1004
984
|
];
|
|
1005
985
|
export var NewEmailData$ = [3, n3, _NED,
|
|
1006
986
|
0,
|
|
@@ -1214,7 +1194,7 @@ export var UserPersonalInfo$ = [3, n3, _UPIse,
|
|
|
1214
1194
|
];
|
|
1215
1195
|
export var UserQueryPredicate$ = [3, n3, _UQP,
|
|
1216
1196
|
0,
|
|
1217
|
-
[
|
|
1197
|
+
[_lic],
|
|
1218
1198
|
[0]
|
|
1219
1199
|
];
|
|
1220
1200
|
export var VerifyBotSecretKeyInput$ = [3, n3, _VBSKI,
|
|
@@ -1239,7 +1219,7 @@ export var VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
|
|
|
1239
1219
|
];
|
|
1240
1220
|
export var VerifyIdentityInput$ = [3, n3, _VII,
|
|
1241
1221
|
0,
|
|
1242
|
-
[_aIc, _id,
|
|
1222
|
+
[_aIc, _id, _ot],
|
|
1243
1223
|
[[0, 1], 0, 0], 3
|
|
1244
1224
|
];
|
|
1245
1225
|
export var VerifyIdentityOutput$ = [3, n3, _VIO,
|
|
@@ -1255,9 +1235,6 @@ export var Workspace$ = [3, n3, _W,
|
|
|
1255
1235
|
var AgentGuidelinesList = 64 | 0;
|
|
1256
1236
|
var ColleaguesFilterList = 64 | 0;
|
|
1257
1237
|
var PbxColleaguesQueryFieldList = 64 | 0;
|
|
1258
|
-
var InvitedUsersList = [1, n1, _IUL,
|
|
1259
|
-
0, () => InvitedUser$
|
|
1260
|
-
];
|
|
1261
1238
|
var SkippedMembersList = [1, n1, _SML,
|
|
1262
1239
|
0, () => SkippedMember$
|
|
1263
1240
|
];
|
|
@@ -79,8 +79,6 @@ declare const BatchGetUsersCommand_base: {
|
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ValidationException} (client fault)
|
|
81
81
|
*
|
|
82
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
83
|
-
*
|
|
84
82
|
* @throws {@link UsersServiceException}
|
|
85
83
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
86
84
|
*
|
|
@@ -64,8 +64,6 @@ declare const BatchGetUsersEmailNotificationsSettingsCommand_base: {
|
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ValidationException} (client fault)
|
|
66
66
|
*
|
|
67
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
68
|
-
*
|
|
69
67
|
* @throws {@link UsersServiceException}
|
|
70
68
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
71
69
|
*
|
|
@@ -115,8 +115,6 @@ declare const BatchGetUsersPbxLinkDataCommand_base: {
|
|
|
115
115
|
*
|
|
116
116
|
* @throws {@link ValidationException} (client fault)
|
|
117
117
|
*
|
|
118
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
119
|
-
*
|
|
120
118
|
* @throws {@link UsersServiceException}
|
|
121
119
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
122
120
|
*
|
|
@@ -115,8 +115,6 @@ declare const BatchGetUsersPbxLinkDataV1Command_base: {
|
|
|
115
115
|
*
|
|
116
116
|
* @throws {@link ValidationException} (client fault)
|
|
117
117
|
*
|
|
118
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
119
|
-
*
|
|
120
118
|
* @throws {@link UsersServiceException}
|
|
121
119
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
122
120
|
*
|
|
@@ -69,8 +69,6 @@ declare const ChangeUserEmailCommand_base: {
|
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ValidationException} (client fault)
|
|
71
71
|
*
|
|
72
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
73
|
-
*
|
|
74
72
|
* @throws {@link UsersServiceException}
|
|
75
73
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
76
74
|
*
|
|
@@ -69,8 +69,6 @@ declare const CreateAnonymousSessionCommand_base: {
|
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ValidationException} (client fault)
|
|
71
71
|
*
|
|
72
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
73
|
-
*
|
|
74
72
|
* @throws {@link UsersServiceException}
|
|
75
73
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
76
74
|
*
|
|
@@ -79,8 +79,6 @@ declare const CreateBotApiKeyCommand_base: {
|
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ValidationException} (client fault)
|
|
81
81
|
*
|
|
82
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
83
|
-
*
|
|
84
82
|
* @throws {@link UsersServiceException}
|
|
85
83
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
86
84
|
*
|
|
@@ -253,8 +253,6 @@ declare const CreateBotCommand_base: {
|
|
|
253
253
|
*
|
|
254
254
|
* @throws {@link ValidationException} (client fault)
|
|
255
255
|
*
|
|
256
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
257
|
-
*
|
|
258
256
|
* @throws {@link UsersServiceException}
|
|
259
257
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
260
258
|
*
|
|
@@ -59,8 +59,6 @@ declare const CreateSystemBotCommand_base: {
|
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ValidationException} (client fault)
|
|
61
61
|
*
|
|
62
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
63
|
-
*
|
|
64
62
|
* @throws {@link UsersServiceException}
|
|
65
63
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
66
64
|
*
|
|
@@ -61,8 +61,6 @@ declare const DeleteBotApiKeyCommand_base: {
|
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link ValidationException} (client fault)
|
|
63
63
|
*
|
|
64
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
65
|
-
*
|
|
66
64
|
* @throws {@link UsersServiceException}
|
|
67
65
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
68
66
|
*
|
|
@@ -58,8 +58,6 @@ declare const DeleteBotCommand_base: {
|
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ValidationException} (client fault)
|
|
60
60
|
*
|
|
61
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
62
|
-
*
|
|
63
61
|
* @throws {@link UsersServiceException}
|
|
64
62
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
65
63
|
*
|
|
@@ -63,8 +63,6 @@ declare const GetAccountCommand_base: {
|
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ValidationException} (client fault)
|
|
65
65
|
*
|
|
66
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
67
|
-
*
|
|
68
66
|
* @throws {@link UsersServiceException}
|
|
69
67
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
70
68
|
*
|
|
@@ -57,8 +57,6 @@ declare const GetAppVersionCommand_base: {
|
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ValidationException} (client fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
61
|
-
*
|
|
62
60
|
* @throws {@link UsersServiceException}
|
|
63
61
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
64
62
|
*
|
|
@@ -232,8 +232,6 @@ declare const GetBotCallbackCommand_base: {
|
|
|
232
232
|
*
|
|
233
233
|
* @throws {@link ValidationException} (client fault)
|
|
234
234
|
*
|
|
235
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
236
|
-
*
|
|
237
235
|
* @throws {@link UsersServiceException}
|
|
238
236
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
239
237
|
*
|
|
@@ -73,8 +73,6 @@ declare const GetBotCommand_base: {
|
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ValidationException} (client fault)
|
|
75
75
|
*
|
|
76
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
77
|
-
*
|
|
78
76
|
* @throws {@link UsersServiceException}
|
|
79
77
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
80
78
|
*
|
|
@@ -77,8 +77,6 @@ declare const GetUserCommand_base: {
|
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link ValidationException} (client fault)
|
|
79
79
|
*
|
|
80
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
81
|
-
*
|
|
82
80
|
* @throws {@link UsersServiceException}
|
|
83
81
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
84
82
|
*
|
|
@@ -62,8 +62,6 @@ declare const GetUserEmailNotificationsSettingsCommand_base: {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
65
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
66
|
-
*
|
|
67
65
|
* @throws {@link UsersServiceException}
|
|
68
66
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
69
67
|
*
|
|
@@ -113,8 +113,6 @@ declare const GetUserPbxLinkDataCommand_base: {
|
|
|
113
113
|
*
|
|
114
114
|
* @throws {@link ValidationException} (client fault)
|
|
115
115
|
*
|
|
116
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
117
|
-
*
|
|
118
116
|
* @throws {@link UsersServiceException}
|
|
119
117
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
120
118
|
*
|
|
@@ -60,8 +60,6 @@ declare const GetUserPbxLinkSuggestionCommand_base: {
|
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ValidationException} (client fault)
|
|
62
62
|
*
|
|
63
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
64
|
-
*
|
|
65
63
|
* @throws {@link UsersServiceException}
|
|
66
64
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
67
65
|
*
|
|
@@ -60,8 +60,6 @@ declare const GetUserPbxLinkSuggestionV1Command_base: {
|
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ValidationException} (client fault)
|
|
62
62
|
*
|
|
63
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
64
|
-
*
|
|
65
63
|
* @throws {@link UsersServiceException}
|
|
66
64
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
67
65
|
*
|
|
@@ -66,8 +66,6 @@ declare const IntelligenceSearchCommand_base: {
|
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ValidationException} (client fault)
|
|
68
68
|
*
|
|
69
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
70
|
-
*
|
|
71
69
|
* @throws {@link UsersServiceException}
|
|
72
70
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
73
71
|
*
|
|
@@ -52,14 +52,25 @@ declare const InviteCommand_base: {
|
|
|
52
52
|
* const command = new InviteCommand(input);
|
|
53
53
|
* const response = await client.send(command);
|
|
54
54
|
* // { // InviteOutput
|
|
55
|
-
* // users: [ //
|
|
56
|
-
* // { //
|
|
55
|
+
* // users: [ // UsersList // required
|
|
56
|
+
* // { // User
|
|
57
57
|
* // id: "STRING_VALUE", // required
|
|
58
58
|
* // name: "STRING_VALUE",
|
|
59
59
|
* // email: "STRING_VALUE",
|
|
60
60
|
* // phone: "STRING_VALUE",
|
|
61
|
+
* // picture: "STRING_VALUE",
|
|
62
|
+
* // locale: "STRING_VALUE",
|
|
63
|
+
* // timeZone: "STRING_VALUE",
|
|
61
64
|
* // company: "STRING_VALUE",
|
|
65
|
+
* // bot: true || false,
|
|
66
|
+
* // pbxDomain: "STRING_VALUE",
|
|
67
|
+
* // pbxPort: "STRING_VALUE",
|
|
68
|
+
* // pbxExtension: "STRING_VALUE",
|
|
69
|
+
* // pbxSerial: "STRING_VALUE",
|
|
62
70
|
* // pbxUserId: "STRING_VALUE",
|
|
71
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
72
|
+
* // createdAt: "STRING_VALUE",
|
|
73
|
+
* // updatedAt: "STRING_VALUE",
|
|
63
74
|
* // },
|
|
64
75
|
* // ],
|
|
65
76
|
* // skippedInvitees: [ // SkippedMembersList // required
|
|
@@ -83,8 +94,6 @@ declare const InviteCommand_base: {
|
|
|
83
94
|
*
|
|
84
95
|
* @throws {@link ValidationException} (client fault)
|
|
85
96
|
*
|
|
86
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
87
|
-
*
|
|
88
97
|
* @throws {@link UsersServiceException}
|
|
89
98
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
90
99
|
*
|
|
@@ -66,8 +66,6 @@ declare const LinkIdentityCommand_base: {
|
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ForbiddenException} (client fault)
|
|
68
68
|
*
|
|
69
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
70
|
-
*
|
|
71
69
|
* @throws {@link UsersServiceException}
|
|
72
70
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
73
71
|
*
|
|
@@ -64,8 +64,6 @@ declare const ListBotApiKeysCommand_base: {
|
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ValidationException} (client fault)
|
|
66
66
|
*
|
|
67
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
68
|
-
*
|
|
69
67
|
* @throws {@link UsersServiceException}
|
|
70
68
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
71
69
|
*
|
|
@@ -72,8 +72,6 @@ declare const ListBotsCommand_base: {
|
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link ValidationException} (client fault)
|
|
74
74
|
*
|
|
75
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
76
|
-
*
|
|
77
75
|
* @throws {@link UsersServiceException}
|
|
78
76
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
79
77
|
*
|
|
@@ -65,8 +65,6 @@ declare const ListIdentitiesCommand_base: {
|
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ValidationException} (client fault)
|
|
67
67
|
*
|
|
68
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
69
|
-
*
|
|
70
68
|
* @throws {@link UsersServiceException}
|
|
71
69
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
72
70
|
*
|
|
@@ -27,7 +27,7 @@ declare const ListWorkspacesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Lists
|
|
30
|
+
* Lists workspaces available to the account. Without limit, returns every workspace. With limit, returns one page of active work workspaces: query narrows that set by PBX domain before the page is sliced, offset skips into the filtered set, and each workspace includes pbxUser when a PBX record exists.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -38,6 +38,9 @@ declare const ListWorkspacesCommand_base: {
|
|
|
38
38
|
* const client = new UsersClient(config);
|
|
39
39
|
* const input = { // ListWorkspacesInput
|
|
40
40
|
* accountId: "STRING_VALUE", // required
|
|
41
|
+
* limit: Number("int"),
|
|
42
|
+
* offset: Number("int"),
|
|
43
|
+
* query: "STRING_VALUE",
|
|
41
44
|
* };
|
|
42
45
|
* const command = new ListWorkspacesCommand(input);
|
|
43
46
|
* const response = await client.send(command);
|
|
@@ -125,6 +128,7 @@ declare const ListWorkspacesCommand_base: {
|
|
|
125
128
|
* // active: true || false, // required
|
|
126
129
|
* // },
|
|
127
130
|
* // ],
|
|
131
|
+
* // total: Number("int"),
|
|
128
132
|
* // };
|
|
129
133
|
*
|
|
130
134
|
* ```
|
|
@@ -141,8 +145,6 @@ declare const ListWorkspacesCommand_base: {
|
|
|
141
145
|
*
|
|
142
146
|
* @throws {@link ValidationException} (client fault)
|
|
143
147
|
*
|
|
144
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
145
|
-
*
|
|
146
148
|
* @throws {@link UsersServiceException}
|
|
147
149
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
148
150
|
*
|
|
@@ -62,8 +62,6 @@ declare const PartialUpdateUserEmailNotificationsSettingsCommand_base: {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
65
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
66
|
-
*
|
|
67
65
|
* @throws {@link UsersServiceException}
|
|
68
66
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
69
67
|
*
|
|
@@ -133,8 +133,6 @@ declare const QueryColleaguesCommand_base: {
|
|
|
133
133
|
*
|
|
134
134
|
* @throws {@link ValidationException} (client fault)
|
|
135
135
|
*
|
|
136
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
137
|
-
*
|
|
138
136
|
* @throws {@link UsersServiceException}
|
|
139
137
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
140
138
|
*
|
|
@@ -86,8 +86,6 @@ declare const QueryUserCommand_base: {
|
|
|
86
86
|
*
|
|
87
87
|
* @throws {@link ValidationException} (client fault)
|
|
88
88
|
*
|
|
89
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
90
|
-
*
|
|
91
89
|
* @throws {@link UsersServiceException}
|
|
92
90
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
93
91
|
*
|
|
@@ -86,8 +86,6 @@ declare const QueryUsersCommand_base: {
|
|
|
86
86
|
*
|
|
87
87
|
* @throws {@link ValidationException} (client fault)
|
|
88
88
|
*
|
|
89
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
90
|
-
*
|
|
91
89
|
* @throws {@link UsersServiceException}
|
|
92
90
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
93
91
|
*
|
|
@@ -56,8 +56,6 @@ declare const ToggleTranscriptionEmailNotificationsSubscriptionCommand_base: {
|
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ValidationException} (client fault)
|
|
58
58
|
*
|
|
59
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
60
|
-
*
|
|
61
59
|
* @throws {@link UsersServiceException}
|
|
62
60
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
63
61
|
*
|
|
@@ -56,8 +56,6 @@ declare const ToggleUnreadEmailNotificationsSubscriptionCommand_base: {
|
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ValidationException} (client fault)
|
|
58
58
|
*
|
|
59
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
60
|
-
*
|
|
61
59
|
* @throws {@link UsersServiceException}
|
|
62
60
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
63
61
|
*
|
|
@@ -62,8 +62,6 @@ declare const UnlinkIdentityCommand_base: {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ForbiddenException} (client fault)
|
|
64
64
|
*
|
|
65
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
66
|
-
*
|
|
67
65
|
* @throws {@link UsersServiceException}
|
|
68
66
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
69
67
|
*
|
|
@@ -62,8 +62,6 @@ declare const UnlinkWorkspaceCommand_base: {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
65
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
66
|
-
*
|
|
67
65
|
* @throws {@link UsersServiceException}
|
|
68
66
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
69
67
|
*
|
|
@@ -69,8 +69,6 @@ declare const UpdateAccountCommand_base: {
|
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ForbiddenException} (client fault)
|
|
71
71
|
*
|
|
72
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
73
|
-
*
|
|
74
72
|
* @throws {@link UsersServiceException}
|
|
75
73
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
76
74
|
*
|
|
@@ -403,8 +403,6 @@ declare const UpdateBotCallbackCommand_base: {
|
|
|
403
403
|
*
|
|
404
404
|
* @throws {@link ValidationException} (client fault)
|
|
405
405
|
*
|
|
406
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
407
|
-
*
|
|
408
406
|
* @throws {@link UsersServiceException}
|
|
409
407
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
410
408
|
*
|
|
@@ -78,8 +78,6 @@ declare const UpdateBotCommand_base: {
|
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link ValidationException} (client fault)
|
|
80
80
|
*
|
|
81
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
82
|
-
*
|
|
83
81
|
* @throws {@link UsersServiceException}
|
|
84
82
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
85
83
|
*
|
|
@@ -62,8 +62,6 @@ declare const UpdateUserEmailNotificationsSettingsCommand_base: {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
65
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
66
|
-
*
|
|
67
65
|
* @throws {@link UsersServiceException}
|
|
68
66
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
69
67
|
*
|
|
@@ -144,8 +144,6 @@ declare const UpdateWorkspaceCommand_base: {
|
|
|
144
144
|
*
|
|
145
145
|
* @throws {@link ValidationException} (client fault)
|
|
146
146
|
*
|
|
147
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
148
|
-
*
|
|
149
147
|
* @throws {@link UsersServiceException}
|
|
150
148
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
151
149
|
*
|
|
@@ -57,8 +57,6 @@ declare const UploadPictureCommand_base: {
|
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ValidationException} (client fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
61
|
-
*
|
|
62
60
|
* @throws {@link UsersServiceException}
|
|
63
61
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
64
62
|
*
|
|
@@ -59,8 +59,6 @@ declare const UploadPictureV1Command_base: {
|
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ValidationException} (client fault)
|
|
61
61
|
*
|
|
62
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
63
|
-
*
|
|
64
62
|
* @throws {@link UsersServiceException}
|
|
65
63
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
66
64
|
*
|
|
@@ -61,8 +61,6 @@ declare const VerifyBotSecretKeyCommand_base: {
|
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link ValidationException} (client fault)
|
|
63
63
|
*
|
|
64
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
65
|
-
*
|
|
66
64
|
* @throws {@link UsersServiceException}
|
|
67
65
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
68
66
|
*
|
|
@@ -61,8 +61,6 @@ declare const VerifyBotSecretKeyV1Command_base: {
|
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link ValidationException} (client fault)
|
|
63
63
|
*
|
|
64
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
65
|
-
*
|
|
66
64
|
* @throws {@link UsersServiceException}
|
|
67
65
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
68
66
|
*
|
|
@@ -67,8 +67,6 @@ declare const VerifyIdentityCommand_base: {
|
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ForbiddenException} (client fault)
|
|
69
69
|
*
|
|
70
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
71
|
-
*
|
|
72
70
|
* @throws {@link UsersServiceException}
|
|
73
71
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
74
72
|
*
|
|
@@ -11,37 +11,6 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
11
11
|
*/
|
|
12
12
|
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
13
13
|
}
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
export declare class RateLimitExceededException extends __BaseException {
|
|
18
|
-
readonly name: "RateLimitExceededException";
|
|
19
|
-
readonly $fault: "client";
|
|
20
|
-
/**
|
|
21
|
-
* Displays the applicable rate limits for the current request.
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
rateLimit?: string | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Indicates how many requests a user can still make within the current time window.
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
rateLimitRemaining?: number | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* Shows the time in seconds until the rate limit resets.
|
|
32
|
-
* @public
|
|
33
|
-
*/
|
|
34
|
-
rateLimitReset?: number | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Displays how many seconds the user agent should wait before making a follow-up request.
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
retryAfter?: number | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
|
-
constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
|
|
44
|
-
}
|
|
45
14
|
/**
|
|
46
15
|
* @public
|
|
47
16
|
*/
|
|
@@ -105,7 +105,7 @@ export interface UserToInvite {
|
|
|
105
105
|
*/
|
|
106
106
|
email?: string | undefined;
|
|
107
107
|
/**
|
|
108
|
-
* The phone number of the invited user. This phone number is used to create or find the user if an email address is not provided. On a customer messaging channel (see MessagingChannel) it is not a phone number at all: the caller passes the channel's own customer id, the Page Scoped ID on Messenger, so the identity key stays the one the supplier reports.
|
|
108
|
+
* The phone number of the invited user. This phone number is used to create or find the user if an email address is not provided. On a customer messaging channel (see MessagingChannel) it is not a phone number at all: the caller passes the channel's own customer id, the Page Scoped ID on Messenger, so the identity key stays the one the supplier reports. A phone number allows up to 17 digits and a Page Scoped ID is 17, so there is no headroom left, and the Instagram scoped id has to be checked against the same limit. A WhatsApp user who hides the number is invited by the BSUID exactly as Meta spells it (see InviteePhone).
|
|
109
109
|
* @public
|
|
110
110
|
*/
|
|
111
111
|
phone?: string | undefined;
|
|
@@ -143,28 +143,6 @@ export interface SkippedMember {
|
|
|
143
143
|
*/
|
|
144
144
|
phone?: string | undefined;
|
|
145
145
|
}
|
|
146
|
-
/**
|
|
147
|
-
* Reduced user record returned by Invite. Callers receive only the fields they use to correlate the invitee and continue the conversation flow: id, name, email, phone, company, and pbxUserId.
|
|
148
|
-
* PBX installation details (domain, port, extension, serial, group), profile metadata (picture, locale, time zone, bot), and timestamps are not included.
|
|
149
|
-
*
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
export interface InvitedUser {
|
|
153
|
-
id: string;
|
|
154
|
-
name?: string | undefined;
|
|
155
|
-
email?: string | undefined;
|
|
156
|
-
phone?: string | undefined;
|
|
157
|
-
/**
|
|
158
|
-
* Tenant id. Callers use it to tell a colleague from an external user.
|
|
159
|
-
* @public
|
|
160
|
-
*/
|
|
161
|
-
company?: string | undefined;
|
|
162
|
-
/**
|
|
163
|
-
* PBX user id of a colleague. A caller that already knows the colleague matches the invite result by this value.
|
|
164
|
-
* @public
|
|
165
|
-
*/
|
|
166
|
-
pbxUserId?: string | undefined;
|
|
167
|
-
}
|
|
168
146
|
/**
|
|
169
147
|
* @public
|
|
170
148
|
*/
|
|
@@ -1546,10 +1524,10 @@ export interface InviteInput {
|
|
|
1546
1524
|
*/
|
|
1547
1525
|
export interface InviteOutput {
|
|
1548
1526
|
/**
|
|
1549
|
-
* A list of users who were successfully invited.
|
|
1527
|
+
* A list of users who were successfully invited.
|
|
1550
1528
|
* @public
|
|
1551
1529
|
*/
|
|
1552
|
-
users:
|
|
1530
|
+
users: User[];
|
|
1553
1531
|
/**
|
|
1554
1532
|
* A list of invitees that were skipped during the operation, for example because the resolved account is deactivated in GetStream. Each entry carries the email or phone supplied in the request, and the user id when it was already known.
|
|
1555
1533
|
* @public
|
|
@@ -1631,6 +1609,21 @@ export interface ListWorkspacesInput {
|
|
|
1631
1609
|
* @public
|
|
1632
1610
|
*/
|
|
1633
1611
|
accountId: string;
|
|
1612
|
+
/**
|
|
1613
|
+
* Maximum number of selectable workspaces to return, from 1 to 100. When omitted, every workspace is returned and offset and query are ignored.
|
|
1614
|
+
* @public
|
|
1615
|
+
*/
|
|
1616
|
+
limit?: number | undefined;
|
|
1617
|
+
/**
|
|
1618
|
+
* Number of selectable workspaces to skip before this page. Applied only when limit is set. Defaults to 0. An offset past the end returns an empty page.
|
|
1619
|
+
* @public
|
|
1620
|
+
*/
|
|
1621
|
+
offset?: number | undefined;
|
|
1622
|
+
/**
|
|
1623
|
+
* Case-insensitive substring matched against the PBX domain. Applied only when limit is set. Blank values are ignored. Narrows total as well as the page.
|
|
1624
|
+
* @public
|
|
1625
|
+
*/
|
|
1626
|
+
query?: string | undefined;
|
|
1634
1627
|
}
|
|
1635
1628
|
/**
|
|
1636
1629
|
* @public
|
|
@@ -1642,7 +1635,7 @@ export interface Workspace {
|
|
|
1642
1635
|
*/
|
|
1643
1636
|
companyId?: string | undefined;
|
|
1644
1637
|
/**
|
|
1645
|
-
* PBX
|
|
1638
|
+
* Stored PBX link for this workspace. ListWorkspaces sets it on each returned workspace so the page includes domain and port. Omitted when the workspace has no PBX record.
|
|
1646
1639
|
* @public
|
|
1647
1640
|
*/
|
|
1648
1641
|
pbxUser?: UserPbxLinkData | undefined;
|
|
@@ -1676,7 +1669,16 @@ export interface Workspace {
|
|
|
1676
1669
|
* @public
|
|
1677
1670
|
*/
|
|
1678
1671
|
export interface ListWorkspacesOutput {
|
|
1672
|
+
/**
|
|
1673
|
+
* Workspaces for this request. A paged response contains only active work workspaces, ordered with the account default first and the rest by domain.
|
|
1674
|
+
* @public
|
|
1675
|
+
*/
|
|
1679
1676
|
workspaces: Workspace[];
|
|
1677
|
+
/**
|
|
1678
|
+
* Number of selectable workspaces (active and type work) that match query, ignoring offset. Present when limit is set.
|
|
1679
|
+
* @public
|
|
1680
|
+
*/
|
|
1681
|
+
total?: number | undefined;
|
|
1680
1682
|
}
|
|
1681
1683
|
/**
|
|
1682
1684
|
* @public
|
|
@@ -2,7 +2,6 @@ import { TypeRegistry } from "@smithy/core/schema";
|
|
|
2
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
3
|
export declare var UsersServiceException$: StaticErrorSchema;
|
|
4
4
|
export declare var ForbiddenException$: StaticErrorSchema;
|
|
5
|
-
export declare var RateLimitExceededException$: StaticErrorSchema;
|
|
6
5
|
export declare var ValidationException$: StaticErrorSchema;
|
|
7
6
|
export declare var ChannelNotFoundException$: StaticErrorSchema;
|
|
8
7
|
export declare var WidgetNotFoundException$: StaticErrorSchema;
|
|
@@ -27,7 +26,6 @@ export declare var WorkspaceNotFoundException$: StaticErrorSchema;
|
|
|
27
26
|
*/
|
|
28
27
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
29
28
|
export declare var PbxColleague$: StaticStructureSchema;
|
|
30
|
-
export declare var InvitedUser$: StaticStructureSchema;
|
|
31
29
|
export declare var SkippedMember$: StaticStructureSchema;
|
|
32
30
|
export declare var User$: StaticStructureSchema;
|
|
33
31
|
export declare var UserToInvite$: StaticStructureSchema;
|
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.1.
|
|
4
|
+
"version": "4.1.3",
|
|
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",
|