@wildix/xbees-users-client 4.0.10 → 4.0.12

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 CHANGED
@@ -17,7 +17,6 @@ const GetAccountCommand_1 = require("./commands/GetAccountCommand");
17
17
  const GetAppVersionCommand_1 = require("./commands/GetAppVersionCommand");
18
18
  const GetBotCallbackCommand_1 = require("./commands/GetBotCallbackCommand");
19
19
  const GetBotCommand_1 = require("./commands/GetBotCommand");
20
- const GetPhoneSignInCountriesCommand_1 = require("./commands/GetPhoneSignInCountriesCommand");
21
20
  const GetUserCommand_1 = require("./commands/GetUserCommand");
22
21
  const GetUserEmailNotificationsSettingsCommand_1 = require("./commands/GetUserEmailNotificationsSettingsCommand");
23
22
  const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataCommand");
@@ -65,7 +64,6 @@ const commands = {
65
64
  GetAppVersionCommand: GetAppVersionCommand_1.GetAppVersionCommand,
66
65
  GetBotCommand: GetBotCommand_1.GetBotCommand,
67
66
  GetBotCallbackCommand: GetBotCallbackCommand_1.GetBotCallbackCommand,
68
- GetPhoneSignInCountriesCommand: GetPhoneSignInCountriesCommand_1.GetPhoneSignInCountriesCommand,
69
67
  GetUserCommand: GetUserCommand_1.GetUserCommand,
70
68
  GetUserEmailNotificationsSettingsCommand: GetUserEmailNotificationsSettingsCommand_1.GetUserEmailNotificationsSettingsCommand,
71
69
  GetUserPbxLinkDataCommand: GetUserPbxLinkDataCommand_1.GetUserPbxLinkDataCommand,
@@ -53,12 +53,6 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
53
53
  break;
54
54
  }
55
55
  ;
56
- case "GetPhoneSignInCountries":
57
- {
58
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
59
- break;
60
- }
61
- ;
62
56
  case "ToggleTranscriptionEmailNotificationsSubscription":
63
57
  {
64
58
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
@@ -16,7 +16,6 @@ tslib_1.__exportStar(require("./GetAccountCommand"), exports);
16
16
  tslib_1.__exportStar(require("./GetAppVersionCommand"), exports);
17
17
  tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
18
18
  tslib_1.__exportStar(require("./GetBotCommand"), exports);
19
- tslib_1.__exportStar(require("./GetPhoneSignInCountriesCommand"), exports);
20
19
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
21
20
  tslib_1.__exportStar(require("./GetUserEmailNotificationsSettingsCommand"), exports);
22
21
  tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
@@ -1,20 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WorkspaceType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.SearchThresholdValue = exports.SearchStrategy = exports.BotSessionTimeoutMinutes = exports.PbxLicenseType = exports.PhoneCountry = void 0;
4
- exports.PhoneCountry = {
5
- AT: "AT",
6
- BE: "BE",
7
- CH: "CH",
8
- CZ: "CZ",
9
- DE: "DE",
10
- ES: "ES",
11
- FR: "FR",
12
- GB: "GB",
13
- IT: "IT",
14
- NL: "NL",
15
- PT: "PT",
16
- UA: "UA",
17
- };
3
+ exports.WorkspaceType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.SearchThresholdValue = exports.SearchStrategy = exports.BotSessionTimeoutMinutes = exports.PbxLicenseType = void 0;
18
4
  exports.PbxLicenseType = {
19
5
  BASIC: "basic",
20
6
  BUSINESS: "business",
@@ -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.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.ForbiddenException = void 0;
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";
@@ -67,6 +67,19 @@ class AccountNotFoundException extends UsersServiceException_1.UsersServiceExcep
67
67
  }
68
68
  }
69
69
  exports.AccountNotFoundException = AccountNotFoundException;
70
+ class BotAlreadyExistsException extends UsersServiceException_1.UsersServiceException {
71
+ name = "BotAlreadyExistsException";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "BotAlreadyExistsException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, BotAlreadyExistsException.prototype);
80
+ }
81
+ }
82
+ exports.BotAlreadyExistsException = BotAlreadyExistsException;
70
83
  class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceException {
71
84
  name = "BotApiKeyNotFoundException";
72
85
  $fault = "client";
@@ -1,14 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BotSqsEndpoint$ = 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.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.GetPhoneSignInCountriesOutput$ = 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$ = void 0;
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
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.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.GetPhoneSignInCountries$ = 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$ = exports.UnlinkIdentity$ = 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";
11
11
  const _B = "Bot";
12
+ const _BAEE = "BotAlreadyExistsException";
12
13
  const _BAK = "BotApiKey";
13
14
  const _BAKL = "BotApiKeysList";
14
15
  const _BAKNFE = "BotApiKeyNotFoundException";
@@ -103,8 +104,6 @@ const _GBCI = "GetBotCallbackInput";
103
104
  const _GBCO = "GetBotCallbackOutput";
104
105
  const _GBI = "GetBotInput";
105
106
  const _GBO = "GetBotOutput";
106
- const _GPSIC = "GetPhoneSignInCountries";
107
- const _GPSICO = "GetPhoneSignInCountriesOutput";
108
107
  const _GU = "GetUser";
109
108
  const _GUENS = "GetUserEmailNotificationsSettings";
110
109
  const _GUENSI = "GetUserEmailNotificationsSettingsInput";
@@ -269,8 +268,7 @@ const _col = "colleague";
269
268
  const _coll = "colleagues";
270
269
  const _com = "comment";
271
270
  const _con = "context";
272
- const _cou = "countries";
273
- const _coun = "count";
271
+ const _cou = "count";
274
272
  const _cr = "credentials";
275
273
  const _d = "dialplan";
276
274
  const _dC = "dialogflowCx";
@@ -307,8 +305,8 @@ const _ht = "http";
307
305
  const _i = "id";
308
306
  const _iAKC = "integrationApiKeysCount";
309
307
  const _iT = "integrationType";
310
- const _id = "identity";
311
- const _ide = "identities";
308
+ const _id = "identities";
309
+ const _ide = "identity";
312
310
  const _in = "instructions";
313
311
  const _inf = "info";
314
312
  const _int = "integration";
@@ -463,6 +461,12 @@ exports.AccountNotFoundException$ = [-3, n3, _ANFE,
463
461
  [0], 1
464
462
  ];
465
463
  n3_registry.registerError(exports.AccountNotFoundException$, errors_1.AccountNotFoundException);
464
+ exports.BotAlreadyExistsException$ = [-3, n3, _BAEE,
465
+ { [_e]: _c, [_hE]: 409 },
466
+ [_m],
467
+ [0], 1
468
+ ];
469
+ n3_registry.registerError(exports.BotAlreadyExistsException$, errors_1.BotAlreadyExistsException);
466
470
  exports.BotApiKeyNotFoundException$ = [-3, n3, _BAKNFE,
467
471
  { [_e]: _c, [_hE]: 404 },
468
472
  [_m],
@@ -542,7 +546,6 @@ exports.errorTypeRegistries = [
542
546
  n2_registry,
543
547
  n3_registry,
544
548
  ];
545
- var __Unit = "unit";
546
549
  exports.PbxColleague$ = [3, n4, _PC,
547
550
  0,
548
551
  [_i, _ex, _pD, _p, _r, _gN, _gD, _l, _d, _fD, _pi, _lT, _j, _n, _lo, _oP, _mP, _fN, _em, _de, _sI],
@@ -775,8 +778,8 @@ exports.CreateBotApiKeyOutput$ = [3, n3, _CBAKO,
775
778
  ];
776
779
  exports.CreateBotInput$ = [3, n3, _CBI,
777
780
  0,
778
- [_n, _cal, _ca, _pi, _se, _a, _gI, _sTM, _co],
779
- [0, () => exports.BotCallback$, 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
781
+ [_n, _cal, _ca, _pi, _se, _a, _gI, _sTM, _co, _i],
782
+ [0, () => exports.BotCallback$, 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }], 0], 2
780
783
  ];
781
784
  exports.CreateBotOutput$ = [3, n3, _CBO,
782
785
  0,
@@ -825,8 +828,8 @@ exports.GetAccountInput$ = [3, n3, _GAI,
825
828
  ];
826
829
  exports.GetAccountOutput$ = [3, n3, _GAO,
827
830
  0,
828
- [_ac],
829
- [() => exports.Account$], 1
831
+ [_ac, _w, _id],
832
+ [() => exports.Account$, () => WorkspaceList, () => IdentityList], 3
830
833
  ];
831
834
  exports.GetAppVersionInput$ = [3, n3, _GAVI,
832
835
  0,
@@ -858,11 +861,6 @@ exports.GetBotOutput$ = [3, n3, _GBO,
858
861
  [_b],
859
862
  [() => exports.Bot$], 1
860
863
  ];
861
- exports.GetPhoneSignInCountriesOutput$ = [3, n3, _GPSICO,
862
- 0,
863
- [_cou],
864
- [64 | 0], 1
865
- ];
866
864
  exports.GetUserEmailNotificationsSettingsInput$ = [3, n3, _GUENSI,
867
865
  0,
868
866
  [_uIs],
@@ -915,7 +913,7 @@ exports.GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
915
913
  ];
916
914
  exports.Identity$ = [3, n3, _I,
917
915
  0,
918
- [_id, _ac, _ver],
916
+ [_ide, _ac, _ver],
919
917
  [0, 0, 2], 2
920
918
  ];
921
919
  exports.IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -940,12 +938,12 @@ exports.InviteOutput$ = [3, n3, _IO,
940
938
  ];
941
939
  exports.LinkIdentityInput$ = [3, n3, _LII,
942
940
  0,
943
- [_aIc, _id],
941
+ [_aIc, _ide],
944
942
  [[0, 1], 0], 2
945
943
  ];
946
944
  exports.LinkIdentityOutput$ = [3, n3, _LIO,
947
945
  0,
948
- [_id],
946
+ [_ide],
949
947
  [() => exports.Identity$], 1
950
948
  ];
951
949
  exports.ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -975,7 +973,7 @@ exports.ListIdentitiesInput$ = [3, n3, _LIIi,
975
973
  ];
976
974
  exports.ListIdentitiesOutput$ = [3, n3, _LIOi,
977
975
  0,
978
- [_ide],
976
+ [_id],
979
977
  [() => IdentityList], 1
980
978
  ];
981
979
  exports.ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1025,7 +1023,7 @@ exports.QueryColleaguesOutputItem$ = [3, n3, _QCOI,
1025
1023
  ];
1026
1024
  exports.QueryColleaguesParameters$ = [3, n3, _QCP,
1027
1025
  0,
1028
- [_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _coun, _di],
1026
+ [_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _cou, _di],
1029
1027
  [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 64 | 0, 0, 64 | 0, 1, 1, 0]
1030
1028
  ];
1031
1029
  exports.QueryUserInput$ = [3, n3, _QUI,
@@ -1070,7 +1068,7 @@ exports.ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1070
1068
  ];
1071
1069
  exports.UnlinkIdentityInput$ = [3, n3, _UII,
1072
1070
  0,
1073
- [_aIc, _id],
1071
+ [_aIc, _ide],
1074
1072
  [[0, 1], [0, 1]], 2
1075
1073
  ];
1076
1074
  exports.UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1225,12 +1223,12 @@ exports.VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1225
1223
  ];
1226
1224
  exports.VerifyIdentityInput$ = [3, n3, _VII,
1227
1225
  0,
1228
- [_aIc, _id, _o],
1226
+ [_aIc, _ide, _o],
1229
1227
  [[0, 1], 0, 0], 3
1230
1228
  ];
1231
1229
  exports.VerifyIdentityOutput$ = [3, n3, _VIO,
1232
1230
  0,
1233
- [_id],
1231
+ [_ide],
1234
1232
  [() => exports.Identity$], 1
1235
1233
  ];
1236
1234
  exports.Workspace$ = [3, n3, _W,
@@ -1280,7 +1278,6 @@ var DirectoryItems = [1, n3, _DIi,
1280
1278
  var IdentityList = [1, n3, _IL,
1281
1279
  0, () => exports.Identity$
1282
1280
  ];
1283
- var PhoneCountryList = 64 | 0;
1284
1281
  var QueryColleaguesOutputItemList = [1, n3, _QCOIL,
1285
1282
  0, () => exports.QueryColleaguesOutputItem$
1286
1283
  ];
@@ -1384,9 +1381,6 @@ exports.GetBot$ = [9, n3, _GB,
1384
1381
  exports.GetBotCallback$ = [9, n3, _GBC,
1385
1382
  { [_ht]: ["GET", "/v2/users/bots/{botId}/callback", 200] }, () => exports.GetBotCallbackInput$, () => exports.GetBotCallbackOutput$
1386
1383
  ];
1387
- exports.GetPhoneSignInCountries$ = [9, n3, _GPSIC,
1388
- { [_ht]: ["GET", "/v2/users/phone-sign-in-countries", 200] }, () => __Unit, () => exports.GetPhoneSignInCountriesOutput$
1389
- ];
1390
1384
  exports.GetUser$ = [9, n3, _GU,
1391
1385
  { [_ht]: ["GET", "/v2/users/cloud/{userId}", 200] }, () => exports.GetUserInput$, () => exports.GetUserOutput$
1392
1386
  ];
package/dist-es/Users.js CHANGED
@@ -14,7 +14,6 @@ import { GetAccountCommand, } from "./commands/GetAccountCommand";
14
14
  import { GetAppVersionCommand, } from "./commands/GetAppVersionCommand";
15
15
  import { GetBotCallbackCommand, } from "./commands/GetBotCallbackCommand";
16
16
  import { GetBotCommand } from "./commands/GetBotCommand";
17
- import { GetPhoneSignInCountriesCommand, } from "./commands/GetPhoneSignInCountriesCommand";
18
17
  import { GetUserCommand } from "./commands/GetUserCommand";
19
18
  import { GetUserEmailNotificationsSettingsCommand, } from "./commands/GetUserEmailNotificationsSettingsCommand";
20
19
  import { GetUserPbxLinkDataCommand, } from "./commands/GetUserPbxLinkDataCommand";
@@ -62,7 +61,6 @@ const commands = {
62
61
  GetAppVersionCommand,
63
62
  GetBotCommand,
64
63
  GetBotCallbackCommand,
65
- GetPhoneSignInCountriesCommand,
66
64
  GetUserCommand,
67
65
  GetUserEmailNotificationsSettingsCommand,
68
66
  GetUserPbxLinkDataCommand,
@@ -49,12 +49,6 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
49
49
  break;
50
50
  }
51
51
  ;
52
- case "GetPhoneSignInCountries":
53
- {
54
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
55
- break;
56
- }
57
- ;
58
52
  case "ToggleTranscriptionEmailNotificationsSubscription":
59
53
  {
60
54
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
@@ -13,7 +13,6 @@ export * from "./GetAccountCommand";
13
13
  export * from "./GetAppVersionCommand";
14
14
  export * from "./GetBotCallbackCommand";
15
15
  export * from "./GetBotCommand";
16
- export * from "./GetPhoneSignInCountriesCommand";
17
16
  export * from "./GetUserCommand";
18
17
  export * from "./GetUserEmailNotificationsSettingsCommand";
19
18
  export * from "./GetUserPbxLinkDataCommand";
@@ -1,17 +1,3 @@
1
- export const PhoneCountry = {
2
- AT: "AT",
3
- BE: "BE",
4
- CH: "CH",
5
- CZ: "CZ",
6
- DE: "DE",
7
- ES: "ES",
8
- FR: "FR",
9
- GB: "GB",
10
- IT: "IT",
11
- NL: "NL",
12
- PT: "PT",
13
- UA: "UA",
14
- };
15
1
  export const PbxLicenseType = {
16
2
  BASIC: "basic",
17
3
  BUSINESS: "business",
@@ -59,6 +59,18 @@ export class AccountNotFoundException extends __BaseException {
59
59
  Object.setPrototypeOf(this, AccountNotFoundException.prototype);
60
60
  }
61
61
  }
62
+ export class BotAlreadyExistsException extends __BaseException {
63
+ name = "BotAlreadyExistsException";
64
+ $fault = "client";
65
+ constructor(opts) {
66
+ super({
67
+ name: "BotAlreadyExistsException",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ Object.setPrototypeOf(this, BotAlreadyExistsException.prototype);
72
+ }
73
+ }
62
74
  export class BotApiKeyNotFoundException extends __BaseException {
63
75
  name = "BotApiKeyNotFoundException";
64
76
  $fault = "client";
@@ -2,6 +2,7 @@ const _A = "Account";
2
2
  const _AEC = "AnonymousEntryContext";
3
3
  const _ANFE = "AccountNotFoundException";
4
4
  const _B = "Bot";
5
+ const _BAEE = "BotAlreadyExistsException";
5
6
  const _BAK = "BotApiKey";
6
7
  const _BAKL = "BotApiKeysList";
7
8
  const _BAKNFE = "BotApiKeyNotFoundException";
@@ -96,8 +97,6 @@ const _GBCI = "GetBotCallbackInput";
96
97
  const _GBCO = "GetBotCallbackOutput";
97
98
  const _GBI = "GetBotInput";
98
99
  const _GBO = "GetBotOutput";
99
- const _GPSIC = "GetPhoneSignInCountries";
100
- const _GPSICO = "GetPhoneSignInCountriesOutput";
101
100
  const _GU = "GetUser";
102
101
  const _GUENS = "GetUserEmailNotificationsSettings";
103
102
  const _GUENSI = "GetUserEmailNotificationsSettingsInput";
@@ -262,8 +261,7 @@ const _col = "colleague";
262
261
  const _coll = "colleagues";
263
262
  const _com = "comment";
264
263
  const _con = "context";
265
- const _cou = "countries";
266
- const _coun = "count";
264
+ const _cou = "count";
267
265
  const _cr = "credentials";
268
266
  const _d = "dialplan";
269
267
  const _dC = "dialogflowCx";
@@ -300,8 +298,8 @@ const _ht = "http";
300
298
  const _i = "id";
301
299
  const _iAKC = "integrationApiKeysCount";
302
300
  const _iT = "integrationType";
303
- const _id = "identity";
304
- const _ide = "identities";
301
+ const _id = "identities";
302
+ const _ide = "identity";
305
303
  const _in = "instructions";
306
304
  const _inf = "info";
307
305
  const _int = "integration";
@@ -417,7 +415,7 @@ const n2 = "wildix.xbees.kite";
417
415
  const n3 = "wildix.xbees.users";
418
416
  const n4 = "wildix.wms.api";
419
417
  import { TypeRegistry } from "@smithy/core/schema";
420
- import { AccountNotFoundException, BotApiKeyNotFoundException, BotNotFoundException, BotSecretKeyNotValidException, CannotRemovePrimaryIdentityException, CannotUnbindDefaultWorkspaceException, ChannelNotFoundException, ForbiddenException, IdentityAlreadyLinkedException, IdentityNotFoundException, PublicAccessIsRestrictedException, UserCompanyNotValidException, UserNotFoundException, UserQueryPredicateNotMetException, ValidationException, WidgetNotFoundException, WorkspaceNotFoundException, } from "../models/errors";
418
+ import { AccountNotFoundException, BotAlreadyExistsException, BotApiKeyNotFoundException, BotNotFoundException, BotSecretKeyNotValidException, CannotRemovePrimaryIdentityException, CannotUnbindDefaultWorkspaceException, ChannelNotFoundException, ForbiddenException, IdentityAlreadyLinkedException, IdentityNotFoundException, PublicAccessIsRestrictedException, UserCompanyNotValidException, UserNotFoundException, UserQueryPredicateNotMetException, ValidationException, WidgetNotFoundException, WorkspaceNotFoundException, } from "../models/errors";
421
419
  import { UsersServiceException } from "../models/UsersServiceException";
422
420
  const _s_registry = TypeRegistry.for(_s);
423
421
  export var UsersServiceException$ = [-3, _s, "UsersServiceException", 0, [], []];
@@ -456,6 +454,12 @@ export var AccountNotFoundException$ = [-3, n3, _ANFE,
456
454
  [0], 1
457
455
  ];
458
456
  n3_registry.registerError(AccountNotFoundException$, AccountNotFoundException);
457
+ export var BotAlreadyExistsException$ = [-3, n3, _BAEE,
458
+ { [_e]: _c, [_hE]: 409 },
459
+ [_m],
460
+ [0], 1
461
+ ];
462
+ n3_registry.registerError(BotAlreadyExistsException$, BotAlreadyExistsException);
459
463
  export var BotApiKeyNotFoundException$ = [-3, n3, _BAKNFE,
460
464
  { [_e]: _c, [_hE]: 404 },
461
465
  [_m],
@@ -535,7 +539,6 @@ export const errorTypeRegistries = [
535
539
  n2_registry,
536
540
  n3_registry,
537
541
  ];
538
- var __Unit = "unit";
539
542
  export var PbxColleague$ = [3, n4, _PC,
540
543
  0,
541
544
  [_i, _ex, _pD, _p, _r, _gN, _gD, _l, _d, _fD, _pi, _lT, _j, _n, _lo, _oP, _mP, _fN, _em, _de, _sI],
@@ -768,8 +771,8 @@ export var CreateBotApiKeyOutput$ = [3, n3, _CBAKO,
768
771
  ];
769
772
  export var CreateBotInput$ = [3, n3, _CBI,
770
773
  0,
771
- [_n, _cal, _ca, _pi, _se, _a, _gI, _sTM, _co],
772
- [0, () => BotCallback$, 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }]], 2
774
+ [_n, _cal, _ca, _pi, _se, _a, _gI, _sTM, _co, _i],
775
+ [0, () => BotCallback$, 0, 0, 2, 0, 0, 1, [0, { [_hQ]: _co }], 0], 2
773
776
  ];
774
777
  export var CreateBotOutput$ = [3, n3, _CBO,
775
778
  0,
@@ -818,8 +821,8 @@ export var GetAccountInput$ = [3, n3, _GAI,
818
821
  ];
819
822
  export var GetAccountOutput$ = [3, n3, _GAO,
820
823
  0,
821
- [_ac],
822
- [() => Account$], 1
824
+ [_ac, _w, _id],
825
+ [() => Account$, () => WorkspaceList, () => IdentityList], 3
823
826
  ];
824
827
  export var GetAppVersionInput$ = [3, n3, _GAVI,
825
828
  0,
@@ -851,11 +854,6 @@ export var GetBotOutput$ = [3, n3, _GBO,
851
854
  [_b],
852
855
  [() => Bot$], 1
853
856
  ];
854
- export var GetPhoneSignInCountriesOutput$ = [3, n3, _GPSICO,
855
- 0,
856
- [_cou],
857
- [64 | 0], 1
858
- ];
859
857
  export var GetUserEmailNotificationsSettingsInput$ = [3, n3, _GUENSI,
860
858
  0,
861
859
  [_uIs],
@@ -908,7 +906,7 @@ export var GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
908
906
  ];
909
907
  export var Identity$ = [3, n3, _I,
910
908
  0,
911
- [_id, _ac, _ver],
909
+ [_ide, _ac, _ver],
912
910
  [0, 0, 2], 2
913
911
  ];
914
912
  export var IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -933,12 +931,12 @@ export var InviteOutput$ = [3, n3, _IO,
933
931
  ];
934
932
  export var LinkIdentityInput$ = [3, n3, _LII,
935
933
  0,
936
- [_aIc, _id],
934
+ [_aIc, _ide],
937
935
  [[0, 1], 0], 2
938
936
  ];
939
937
  export var LinkIdentityOutput$ = [3, n3, _LIO,
940
938
  0,
941
- [_id],
939
+ [_ide],
942
940
  [() => Identity$], 1
943
941
  ];
944
942
  export var ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -968,7 +966,7 @@ export var ListIdentitiesInput$ = [3, n3, _LIIi,
968
966
  ];
969
967
  export var ListIdentitiesOutput$ = [3, n3, _LIOi,
970
968
  0,
971
- [_ide],
969
+ [_id],
972
970
  [() => IdentityList], 1
973
971
  ];
974
972
  export var ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1018,7 +1016,7 @@ export var QueryColleaguesOutputItem$ = [3, n3, _QCOI,
1018
1016
  ];
1019
1017
  export var QueryColleaguesParameters$ = [3, n3, _QCP,
1020
1018
  0,
1021
- [_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _coun, _di],
1019
+ [_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _cou, _di],
1022
1020
  [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 64 | 0, 0, 64 | 0, 1, 1, 0]
1023
1021
  ];
1024
1022
  export var QueryUserInput$ = [3, n3, _QUI,
@@ -1063,7 +1061,7 @@ export var ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1063
1061
  ];
1064
1062
  export var UnlinkIdentityInput$ = [3, n3, _UII,
1065
1063
  0,
1066
- [_aIc, _id],
1064
+ [_aIc, _ide],
1067
1065
  [[0, 1], [0, 1]], 2
1068
1066
  ];
1069
1067
  export var UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1218,12 +1216,12 @@ export var VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1218
1216
  ];
1219
1217
  export var VerifyIdentityInput$ = [3, n3, _VII,
1220
1218
  0,
1221
- [_aIc, _id, _o],
1219
+ [_aIc, _ide, _o],
1222
1220
  [[0, 1], 0, 0], 3
1223
1221
  ];
1224
1222
  export var VerifyIdentityOutput$ = [3, n3, _VIO,
1225
1223
  0,
1226
- [_id],
1224
+ [_ide],
1227
1225
  [() => Identity$], 1
1228
1226
  ];
1229
1227
  export var Workspace$ = [3, n3, _W,
@@ -1273,7 +1271,6 @@ var DirectoryItems = [1, n3, _DIi,
1273
1271
  var IdentityList = [1, n3, _IL,
1274
1272
  0, () => Identity$
1275
1273
  ];
1276
- var PhoneCountryList = 64 | 0;
1277
1274
  var QueryColleaguesOutputItemList = [1, n3, _QCOIL,
1278
1275
  0, () => QueryColleaguesOutputItem$
1279
1276
  ];
@@ -1377,9 +1374,6 @@ export var GetBot$ = [9, n3, _GB,
1377
1374
  export var GetBotCallback$ = [9, n3, _GBC,
1378
1375
  { [_ht]: ["GET", "/v2/users/bots/{botId}/callback", 200] }, () => GetBotCallbackInput$, () => GetBotCallbackOutput$
1379
1376
  ];
1380
- export var GetPhoneSignInCountries$ = [9, n3, _GPSIC,
1381
- { [_ht]: ["GET", "/v2/users/phone-sign-in-countries", 200] }, () => __Unit, () => GetPhoneSignInCountriesOutput$
1382
- ];
1383
1377
  export var GetUser$ = [9, n3, _GU,
1384
1378
  { [_ht]: ["GET", "/v2/users/cloud/{userId}", 200] }, () => GetUserInput$, () => GetUserOutput$
1385
1379
  ];
@@ -14,7 +14,6 @@ import { type GetAccountCommandInput, type GetAccountCommandOutput } from "./com
14
14
  import { type GetAppVersionCommandInput, type GetAppVersionCommandOutput } from "./commands/GetAppVersionCommand";
15
15
  import { type GetBotCallbackCommandInput, type GetBotCallbackCommandOutput } from "./commands/GetBotCallbackCommand";
16
16
  import { type GetBotCommandInput, type GetBotCommandOutput } from "./commands/GetBotCommand";
17
- import { type GetPhoneSignInCountriesCommandInput, type GetPhoneSignInCountriesCommandOutput } from "./commands/GetPhoneSignInCountriesCommand";
18
17
  import { type GetUserCommandInput, type GetUserCommandOutput } from "./commands/GetUserCommand";
19
18
  import { type GetUserEmailNotificationsSettingsCommandInput, type GetUserEmailNotificationsSettingsCommandOutput } from "./commands/GetUserEmailNotificationsSettingsCommand";
20
19
  import { type GetUserPbxLinkDataCommandInput, type GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
@@ -137,13 +136,6 @@ export interface Users {
137
136
  getBotCallback(args: GetBotCallbackCommandInput, options?: __HttpHandlerOptions): Promise<GetBotCallbackCommandOutput>;
138
137
  getBotCallback(args: GetBotCallbackCommandInput, cb: (err: any, data?: GetBotCallbackCommandOutput) => void): void;
139
138
  getBotCallback(args: GetBotCallbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBotCallbackCommandOutput) => void): void;
140
- /**
141
- * @see {@link GetPhoneSignInCountriesCommand}
142
- */
143
- getPhoneSignInCountries(): Promise<GetPhoneSignInCountriesCommandOutput>;
144
- getPhoneSignInCountries(args: GetPhoneSignInCountriesCommandInput, options?: __HttpHandlerOptions): Promise<GetPhoneSignInCountriesCommandOutput>;
145
- getPhoneSignInCountries(args: GetPhoneSignInCountriesCommandInput, cb: (err: any, data?: GetPhoneSignInCountriesCommandOutput) => void): void;
146
- getPhoneSignInCountries(args: GetPhoneSignInCountriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPhoneSignInCountriesCommandOutput) => void): void;
147
139
  /**
148
140
  * @see {@link GetUserCommand}
149
141
  */
@@ -20,7 +20,6 @@ import type { GetAccountCommandInput, GetAccountCommandOutput } from "./commands
20
20
  import type { GetAppVersionCommandInput, GetAppVersionCommandOutput } from "./commands/GetAppVersionCommand";
21
21
  import type { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "./commands/GetBotCallbackCommand";
22
22
  import type { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
23
- import type { GetPhoneSignInCountriesCommandInput, GetPhoneSignInCountriesCommandOutput } from "./commands/GetPhoneSignInCountriesCommand";
24
23
  import type { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
25
24
  import type { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "./commands/GetUserEmailNotificationsSettingsCommand";
26
25
  import type { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
@@ -57,11 +56,11 @@ export { __Client };
57
56
  /**
58
57
  * @public
59
58
  */
60
- export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateAnonymousSessionCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetAccountCommandInput | GetAppVersionCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetPhoneSignInCountriesCommandInput | 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;
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;
61
60
  /**
62
61
  * @public
63
62
  */
64
- export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateAnonymousSessionCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetAccountCommandOutput | GetAppVersionCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetPhoneSignInCountriesCommandOutput | 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;
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;
65
64
  /**
66
65
  * @public
67
66
  */
@@ -45,6 +45,7 @@ declare const CreateBotCommand_base: {
45
45
  * groupId: "STRING_VALUE",
46
46
  * sessionTimeoutMinutes: 15 || 30 || 60 || 120,
47
47
  * company: "STRING_VALUE",
48
+ * id: "STRING_VALUE",
48
49
  * callback: { // BotCallback
49
50
  * endpoint: { // BotEndpoint Union: only one key present
50
51
  * llm: { // BotLlmEndpoint
@@ -246,6 +247,8 @@ declare const CreateBotCommand_base: {
246
247
  * @see {@link CreateBotCommandOutput} for command's `response` shape.
247
248
  * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
248
249
  *
250
+ * @throws {@link BotAlreadyExistsException} (client fault)
251
+ *
249
252
  * @throws {@link ForbiddenException} (client fault)
250
253
  *
251
254
  * @throws {@link ValidationException} (client fault)
@@ -27,7 +27,7 @@ declare const GetAccountCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Retrieves the account.
30
+ * Retrieves the current account with identities and workspaces.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -47,6 +47,96 @@ declare const GetAccountCommand_base: {
47
47
  * // defaultWorkspace: "STRING_VALUE",
48
48
  * // primaryIdentity: "STRING_VALUE",
49
49
  * // },
50
+ * // workspaces: [ // WorkspaceList // required
51
+ * // { // Workspace
52
+ * // companyId: "STRING_VALUE",
53
+ * // pbxUser: { // UserPbxLinkData
54
+ * // id: "STRING_VALUE", // required
55
+ * // company: "STRING_VALUE", // required
56
+ * // companyName: "STRING_VALUE",
57
+ * // domain: "STRING_VALUE", // required
58
+ * // email: "STRING_VALUE",
59
+ * // info: { // UserPersonalInfo
60
+ * // dn: "STRING_VALUE", // required
61
+ * // id: "STRING_VALUE", // required
62
+ * // name: "STRING_VALUE", // required
63
+ * // extension: "STRING_VALUE", // required
64
+ * // officePhone: "STRING_VALUE",
65
+ * // mobilePhone: "STRING_VALUE",
66
+ * // faxNumber: "STRING_VALUE",
67
+ * // email: "STRING_VALUE",
68
+ * // role: "STRING_VALUE", // required
69
+ * // language: "STRING_VALUE", // required
70
+ * // dialplan: "STRING_VALUE", // required
71
+ * // faxDialplan: "STRING_VALUE", // required
72
+ * // departament: "STRING_VALUE",
73
+ * // picture: "STRING_VALUE", // required
74
+ * // groupDn: "STRING_VALUE", // required
75
+ * // groupName: "STRING_VALUE", // required
76
+ * // jid: "STRING_VALUE", // required
77
+ * // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
78
+ * // login: "STRING_VALUE",
79
+ * // pbx: "STRING_VALUE",
80
+ * // pbxDn: "STRING_VALUE", // required
81
+ * // sourceId: "STRING_VALUE",
82
+ * // sipPassword: "STRING_VALUE",
83
+ * // },
84
+ * // pbx: { // UserPbxInfo
85
+ * // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
86
+ * // "STRING_VALUE",
87
+ * // ],
88
+ * // ports: [ // UserPbxInfoPorts // required
89
+ * // "STRING_VALUE",
90
+ * // ],
91
+ * // externalLinePrefix: "STRING_VALUE",
92
+ * // version: "STRING_VALUE", // required
93
+ * // serial: "STRING_VALUE", // required
94
+ * // },
95
+ * // picture: "STRING_VALUE", // required
96
+ * // pictureDeleted: true || false,
97
+ * // port: "STRING_VALUE", // required
98
+ * // serial: "STRING_VALUE", // required
99
+ * // services: { // UserPbxServices
100
+ * // xcaracal: true || false,
101
+ * // wizyWebinar: true || false,
102
+ * // },
103
+ * // personalSettings: {},
104
+ * // dialplanSettings: {},
105
+ * // awsRegion: "STRING_VALUE",
106
+ * // updatedAt: "STRING_VALUE",
107
+ * // },
108
+ * // streamUser: { // User
109
+ * // id: "STRING_VALUE", // required
110
+ * // name: "STRING_VALUE",
111
+ * // email: "STRING_VALUE",
112
+ * // phone: "STRING_VALUE",
113
+ * // picture: "STRING_VALUE",
114
+ * // locale: "STRING_VALUE",
115
+ * // timeZone: "STRING_VALUE",
116
+ * // company: "STRING_VALUE",
117
+ * // bot: true || false,
118
+ * // pbxDomain: "STRING_VALUE",
119
+ * // pbxPort: "STRING_VALUE",
120
+ * // pbxExtension: "STRING_VALUE",
121
+ * // pbxSerial: "STRING_VALUE",
122
+ * // pbxUserId: "STRING_VALUE",
123
+ * // pbxGroupId: "STRING_VALUE",
124
+ * // createdAt: "STRING_VALUE",
125
+ * // updatedAt: "STRING_VALUE",
126
+ * // },
127
+ * // type: "personal" || "work" || "support",
128
+ * // id: "STRING_VALUE", // required
129
+ * // accountId: "STRING_VALUE", // required
130
+ * // active: true || false, // required
131
+ * // },
132
+ * // ],
133
+ * // identities: [ // IdentityList // required
134
+ * // { // Identity
135
+ * // identity: "STRING_VALUE", // required
136
+ * // account: "STRING_VALUE", // required
137
+ * // verified: true || false,
138
+ * // },
139
+ * // ],
50
140
  * // };
51
141
  *
52
142
  * ```
@@ -13,7 +13,6 @@ export * from "./GetAccountCommand";
13
13
  export * from "./GetAppVersionCommand";
14
14
  export * from "./GetBotCallbackCommand";
15
15
  export * from "./GetBotCommand";
16
- export * from "./GetPhoneSignInCountriesCommand";
17
16
  export * from "./GetUserCommand";
18
17
  export * from "./GetUserEmailNotificationsSettingsCommand";
19
18
  export * from "./GetUserPbxLinkDataCommand";
@@ -1,25 +1,3 @@
1
- /**
2
- * @public
3
- * @enum
4
- */
5
- export declare const PhoneCountry: {
6
- readonly AT: "AT";
7
- readonly BE: "BE";
8
- readonly CH: "CH";
9
- readonly CZ: "CZ";
10
- readonly DE: "DE";
11
- readonly ES: "ES";
12
- readonly FR: "FR";
13
- readonly GB: "GB";
14
- readonly IT: "IT";
15
- readonly NL: "NL";
16
- readonly PT: "PT";
17
- readonly UA: "UA";
18
- };
19
- /**
20
- * @public
21
- */
22
- export type PhoneCountry = (typeof PhoneCountry)[keyof typeof PhoneCountry];
23
1
  /**
24
2
  * @public
25
3
  * @enum
@@ -55,6 +55,17 @@ export declare class AccountNotFoundException extends __BaseException {
55
55
  */
56
56
  constructor(opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>);
57
57
  }
58
+ /**
59
+ * @public
60
+ */
61
+ export declare class BotAlreadyExistsException extends __BaseException {
62
+ readonly name: "BotAlreadyExistsException";
63
+ readonly $fault: "client";
64
+ /**
65
+ * @internal
66
+ */
67
+ constructor(opts: __ExceptionOptionType<BotAlreadyExistsException, __BaseException>);
68
+ }
58
69
  /**
59
70
  * @public
60
71
  */
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, BotSessionTimeoutMinutes, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, PhoneCountry, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
2
+ import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, BotSessionTimeoutMinutes, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -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.
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 Facebook Messenger it is not a phone number at all: the caller passes the Page Scoped ID, so the identity key stays the one the supplier reports. UserPhone allows up to 17 digits and a Page Scoped ID is 17, so there is no headroom left.
109
109
  * @public
110
110
  */
111
111
  phone?: string | undefined;
@@ -176,6 +176,10 @@ export declare namespace AnonymousEntryContext {
176
176
  channelId?: never;
177
177
  $unknown?: never;
178
178
  }
179
+ /**
180
+ * Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
181
+ * @public
182
+ */
179
183
  interface ChannelIdMember {
180
184
  widgetId?: never;
181
185
  channelId: string;
@@ -1217,6 +1221,11 @@ export interface CreateBotInput {
1217
1221
  */
1218
1222
  sessionTimeoutMinutes?: BotSessionTimeoutMinutes | undefined;
1219
1223
  company?: string | undefined;
1224
+ /**
1225
+ * Optional bot id. Omit to mint a random 12-character id. Supply a Wilma agent id (`a_` plus 10) so RNA search and conversation members share that id. Conflicts if the id already exists.
1226
+ * @public
1227
+ */
1228
+ id?: string | undefined;
1220
1229
  callback: BotCallback;
1221
1230
  }
1222
1231
  /**
@@ -1306,11 +1315,73 @@ export interface GetAccountInput {
1306
1315
  */
1307
1316
  accountId: string;
1308
1317
  }
1318
+ /**
1319
+ * @public
1320
+ */
1321
+ export interface Identity {
1322
+ /**
1323
+ * The identity value (email address or phone number in E.164)
1324
+ * @public
1325
+ */
1326
+ identity: string;
1327
+ /**
1328
+ * The unique identifier of the account.
1329
+ * @public
1330
+ */
1331
+ account: string;
1332
+ /**
1333
+ * Indicates if the identity is verified.
1334
+ * @public
1335
+ */
1336
+ verified?: boolean | undefined;
1337
+ }
1338
+ /**
1339
+ * @public
1340
+ */
1341
+ export interface Workspace {
1342
+ /**
1343
+ * The unique identifier of the tenant (company).
1344
+ * @public
1345
+ */
1346
+ companyId?: string | undefined;
1347
+ /**
1348
+ * PBX information where user connected to.
1349
+ * @public
1350
+ */
1351
+ pbxUser?: UserPbxLinkData | undefined;
1352
+ /**
1353
+ * Personal information of the user. If user is not logged in yet, this field will might be empty.
1354
+ * @public
1355
+ */
1356
+ streamUser?: User | undefined;
1357
+ /**
1358
+ * The type of workspace.
1359
+ * @public
1360
+ */
1361
+ type?: WorkspaceType | undefined;
1362
+ /**
1363
+ * The unique identifier
1364
+ * @public
1365
+ */
1366
+ id: string;
1367
+ /**
1368
+ * The unique identifier of the account.
1369
+ * @public
1370
+ */
1371
+ accountId: string;
1372
+ /**
1373
+ * Indicates if the workspace is active.
1374
+ * @public
1375
+ */
1376
+ active: boolean;
1377
+ }
1309
1378
  /**
1310
1379
  * @public
1311
1380
  */
1312
1381
  export interface GetAccountOutput {
1313
1382
  account: Account;
1383
+ workspaces: Workspace[];
1384
+ identities: Identity[];
1314
1385
  }
1315
1386
  /**
1316
1387
  * @public
@@ -1350,16 +1421,6 @@ export interface GetBotCallbackInput {
1350
1421
  export interface GetBotCallbackOutput {
1351
1422
  callback: BotCallback;
1352
1423
  }
1353
- /**
1354
- * @public
1355
- */
1356
- export interface GetPhoneSignInCountriesOutput {
1357
- /**
1358
- * Supported ISO 3166-1 alpha-2 country codes.
1359
- * @public
1360
- */
1361
- countries: PhoneCountry[];
1362
- }
1363
1424
  /**
1364
1425
  * @public
1365
1426
  */
@@ -1463,26 +1524,6 @@ export interface GetUserPbxLinkSuggestionV1Output {
1463
1524
  */
1464
1525
  suggestion?: UserPbxLinkSuggestion | undefined;
1465
1526
  }
1466
- /**
1467
- * @public
1468
- */
1469
- export interface Identity {
1470
- /**
1471
- * The identity value (email address or phone number in E.164)
1472
- * @public
1473
- */
1474
- identity: string;
1475
- /**
1476
- * The unique identifier of the account.
1477
- * @public
1478
- */
1479
- account: string;
1480
- /**
1481
- * Indicates if the identity is verified.
1482
- * @public
1483
- */
1484
- verified?: boolean | undefined;
1485
- }
1486
1527
  /**
1487
1528
  * @public
1488
1529
  */
@@ -1611,46 +1652,6 @@ export interface ListWorkspacesInput {
1611
1652
  */
1612
1653
  accountId: string;
1613
1654
  }
1614
- /**
1615
- * @public
1616
- */
1617
- export interface Workspace {
1618
- /**
1619
- * The unique identifier of the tenant (company).
1620
- * @public
1621
- */
1622
- companyId?: string | undefined;
1623
- /**
1624
- * PBX information where user connected to.
1625
- * @public
1626
- */
1627
- pbxUser?: UserPbxLinkData | undefined;
1628
- /**
1629
- * Personal information of the user. If user is not logged in yet, this field will might be empty.
1630
- * @public
1631
- */
1632
- streamUser?: User | undefined;
1633
- /**
1634
- * The type of workspace.
1635
- * @public
1636
- */
1637
- type?: WorkspaceType | undefined;
1638
- /**
1639
- * The unique identifier
1640
- * @public
1641
- */
1642
- id: string;
1643
- /**
1644
- * The unique identifier of the account.
1645
- * @public
1646
- */
1647
- accountId: string;
1648
- /**
1649
- * Indicates if the workspace is active.
1650
- * @public
1651
- */
1652
- active: boolean;
1653
- }
1654
1655
  /**
1655
1656
  * @public
1656
1657
  */
@@ -39,7 +39,6 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
39
39
  tls?: boolean;
40
40
  useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
41
41
  useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
42
- ignoreConfiguredEndpointUrls?: boolean;
43
42
  serviceConfiguredEndpoint?: never;
44
43
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
45
44
  httpAuthSchemes: ({
@@ -39,7 +39,6 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
39
39
  tls?: boolean;
40
40
  useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
41
41
  useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
42
- ignoreConfiguredEndpointUrls?: boolean;
43
42
  serviceConfiguredEndpoint?: never;
44
43
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
45
44
  httpAuthSchemes: ({
@@ -39,7 +39,6 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
39
39
  tls?: boolean;
40
40
  useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
41
41
  useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
42
- ignoreConfiguredEndpointUrls?: boolean;
43
42
  serviceConfiguredEndpoint?: never;
44
43
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
45
44
  httpAuthSchemes: ({
@@ -6,6 +6,7 @@ export declare var ValidationException$: StaticErrorSchema;
6
6
  export declare var ChannelNotFoundException$: StaticErrorSchema;
7
7
  export declare var WidgetNotFoundException$: StaticErrorSchema;
8
8
  export declare var AccountNotFoundException$: StaticErrorSchema;
9
+ export declare var BotAlreadyExistsException$: StaticErrorSchema;
9
10
  export declare var BotApiKeyNotFoundException$: StaticErrorSchema;
10
11
  export declare var BotNotFoundException$: StaticErrorSchema;
11
12
  export declare var BotSecretKeyNotValidException$: StaticErrorSchema;
@@ -87,7 +88,6 @@ export declare var GetBotCallbackInput$: StaticStructureSchema;
87
88
  export declare var GetBotCallbackOutput$: StaticStructureSchema;
88
89
  export declare var GetBotInput$: StaticStructureSchema;
89
90
  export declare var GetBotOutput$: StaticStructureSchema;
90
- export declare var GetPhoneSignInCountriesOutput$: StaticStructureSchema;
91
91
  export declare var GetUserEmailNotificationsSettingsInput$: StaticStructureSchema;
92
92
  export declare var GetUserEmailNotificationsSettingsOutput$: StaticStructureSchema;
93
93
  export declare var GetUserInput$: StaticStructureSchema;
@@ -186,7 +186,6 @@ export declare var GetAccount$: StaticOperationSchema;
186
186
  export declare var GetAppVersion$: StaticOperationSchema;
187
187
  export declare var GetBot$: StaticOperationSchema;
188
188
  export declare var GetBotCallback$: StaticOperationSchema;
189
- export declare var GetPhoneSignInCountries$: StaticOperationSchema;
190
189
  export declare var GetUser$: StaticOperationSchema;
191
190
  export declare var GetUserEmailNotificationsSettings$: StaticOperationSchema;
192
191
  export declare var GetUserPbxLinkData$: 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.0.10",
4
+ "version": "4.0.12",
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",
@@ -56,4 +56,4 @@
56
56
  "browser": {
57
57
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
58
58
  }
59
- }
59
+ }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetPhoneSignInCountriesCommand = 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 GetPhoneSignInCountriesCommand 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", "GetPhoneSignInCountries", {})
16
- .n("UsersClient", "GetPhoneSignInCountriesCommand")
17
- .sc(schemas_0_1.GetPhoneSignInCountries$)
18
- .build() {
19
- }
20
- exports.GetPhoneSignInCountriesCommand = GetPhoneSignInCountriesCommand;
@@ -1,16 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPhoneSignInCountries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPhoneSignInCountriesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Users", "GetPhoneSignInCountries", {})
13
- .n("UsersClient", "GetPhoneSignInCountriesCommand")
14
- .sc(GetPhoneSignInCountries$)
15
- .build() {
16
- }
@@ -1,85 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GetPhoneSignInCountriesOutput } 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 GetPhoneSignInCountriesCommand}.
14
- */
15
- export interface GetPhoneSignInCountriesCommandInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetPhoneSignInCountriesCommand}.
21
- */
22
- export interface GetPhoneSignInCountriesCommandOutput extends GetPhoneSignInCountriesOutput, __MetadataBearer {
23
- }
24
- declare const GetPhoneSignInCountriesCommand_base: {
25
- new (input: GetPhoneSignInCountriesCommandInput): import("@smithy/core/client").CommandImpl<GetPhoneSignInCountriesCommandInput, GetPhoneSignInCountriesCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetPhoneSignInCountriesCommandInput]): import("@smithy/core/client").CommandImpl<GetPhoneSignInCountriesCommandInput, GetPhoneSignInCountriesCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Countries that phone sign-in supports - the PhoneCountry allowlist, whose single source of truth is
31
- * wildix.shapes. Unauthenticated, because it is read before sign-in.
32
- *
33
- * Clients take the generated PhoneCountry enum at build time and do not need to call this, so the
34
- * operation exists for two other reasons: it makes the enum reachable from the service, which is what
35
- * puts it in the generated Users client at all, and it leaves the door open to serving the list
36
- * dynamically later.
37
- *
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { UsersClient, GetPhoneSignInCountriesCommand } from "@wildix/xbees-users-client"; // ES Modules import
42
- * // const { UsersClient, GetPhoneSignInCountriesCommand } = require("@wildix/xbees-users-client"); // CommonJS import
43
- * // import type { UsersClientConfig } from "@wildix/xbees-users-client";
44
- * const config = {}; // type is UsersClientConfig
45
- * const client = new UsersClient(config);
46
- * const input = {};
47
- * const command = new GetPhoneSignInCountriesCommand(input);
48
- * const response = await client.send(command);
49
- * // { // GetPhoneSignInCountriesOutput
50
- * // countries: [ // PhoneCountryList // required
51
- * // "IT" || "DE" || "FR" || "ES" || "GB" || "NL" || "BE" || "AT" || "CH" || "PT" || "UA" || "CZ",
52
- * // ],
53
- * // };
54
- *
55
- * ```
56
- *
57
- * @param GetPhoneSignInCountriesCommandInput - {@link GetPhoneSignInCountriesCommandInput}
58
- * @returns {@link GetPhoneSignInCountriesCommandOutput}
59
- * @see {@link GetPhoneSignInCountriesCommandInput} for command's `input` shape.
60
- * @see {@link GetPhoneSignInCountriesCommandOutput} for command's `response` shape.
61
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
62
- *
63
- * @throws {@link ForbiddenException} (client fault)
64
- *
65
- * @throws {@link ValidationException} (client fault)
66
- *
67
- * @throws {@link UsersServiceException}
68
- * <p>Base exception class for all service exceptions from Users service.</p>
69
- *
70
- *
71
- * @public
72
- */
73
- export declare class GetPhoneSignInCountriesCommand extends GetPhoneSignInCountriesCommand_base {
74
- /** @internal type navigation helper, not in runtime. */
75
- protected static __types: {
76
- api: {
77
- input: {};
78
- output: GetPhoneSignInCountriesOutput;
79
- };
80
- sdk: {
81
- input: GetPhoneSignInCountriesCommandInput;
82
- output: GetPhoneSignInCountriesCommandOutput;
83
- };
84
- };
85
- }