@wildix/xbees-users-client 4.0.8 → 4.0.10

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,6 +17,7 @@ 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");
20
21
  const GetUserCommand_1 = require("./commands/GetUserCommand");
21
22
  const GetUserEmailNotificationsSettingsCommand_1 = require("./commands/GetUserEmailNotificationsSettingsCommand");
22
23
  const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataCommand");
@@ -64,6 +65,7 @@ const commands = {
64
65
  GetAppVersionCommand: GetAppVersionCommand_1.GetAppVersionCommand,
65
66
  GetBotCommand: GetBotCommand_1.GetBotCommand,
66
67
  GetBotCallbackCommand: GetBotCallbackCommand_1.GetBotCallbackCommand,
68
+ GetPhoneSignInCountriesCommand: GetPhoneSignInCountriesCommand_1.GetPhoneSignInCountriesCommand,
67
69
  GetUserCommand: GetUserCommand_1.GetUserCommand,
68
70
  GetUserEmailNotificationsSettingsCommand: GetUserEmailNotificationsSettingsCommand_1.GetUserEmailNotificationsSettingsCommand,
69
71
  GetUserPbxLinkDataCommand: GetUserPbxLinkDataCommand_1.GetUserPbxLinkDataCommand,
@@ -53,6 +53,12 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
53
53
  break;
54
54
  }
55
55
  ;
56
+ case "GetPhoneSignInCountries":
57
+ {
58
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
59
+ break;
60
+ }
61
+ ;
56
62
  case "ToggleTranscriptionEmailNotificationsSubscription":
57
63
  {
58
64
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.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;
@@ -16,6 +16,7 @@ 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);
19
20
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
20
21
  tslib_1.__exportStar(require("./GetUserEmailNotificationsSettingsCommand"), exports);
21
22
  tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
@@ -1,6 +1,20 @@
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 = void 0;
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
+ };
4
18
  exports.PbxLicenseType = {
5
19
  BASIC: "basic",
6
20
  BUSINESS: "business",
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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.ListBotApiKeysInput$ = 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$ = void 0;
5
- exports.UserQueryPredicate$ = 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$ = void 0;
6
- exports.UnlinkWorkspace$ = 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$ = void 0;
7
- exports.VerifyIdentity$ = exports.VerifyBotSecretKeyV1$ = exports.VerifyBotSecretKey$ = exports.UploadPictureV1$ = exports.UploadPicture$ = exports.UpdateWorkspace$ = exports.UpdateUserEmailNotificationsSettings$ = exports.UpdateBotCallback$ = exports.UpdateBot$ = exports.UpdateAccount$ = 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;
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;
8
8
  const _A = "Account";
9
9
  const _AEC = "AnonymousEntryContext";
10
10
  const _ANFE = "AccountNotFoundException";
@@ -103,6 +103,8 @@ const _GBCI = "GetBotCallbackInput";
103
103
  const _GBCO = "GetBotCallbackOutput";
104
104
  const _GBI = "GetBotInput";
105
105
  const _GBO = "GetBotOutput";
106
+ const _GPSIC = "GetPhoneSignInCountries";
107
+ const _GPSICO = "GetPhoneSignInCountriesOutput";
106
108
  const _GU = "GetUser";
107
109
  const _GUENS = "GetUserEmailNotificationsSettings";
108
110
  const _GUENSI = "GetUserEmailNotificationsSettingsInput";
@@ -267,7 +269,8 @@ const _col = "colleague";
267
269
  const _coll = "colleagues";
268
270
  const _com = "comment";
269
271
  const _con = "context";
270
- const _cou = "count";
272
+ const _cou = "countries";
273
+ const _coun = "count";
271
274
  const _cr = "credentials";
272
275
  const _d = "dialplan";
273
276
  const _dC = "dialogflowCx";
@@ -304,8 +307,8 @@ const _ht = "http";
304
307
  const _i = "id";
305
308
  const _iAKC = "integrationApiKeysCount";
306
309
  const _iT = "integrationType";
307
- const _id = "identities";
308
- const _ide = "identity";
310
+ const _id = "identity";
311
+ const _ide = "identities";
309
312
  const _in = "instructions";
310
313
  const _inf = "info";
311
314
  const _int = "integration";
@@ -539,6 +542,7 @@ exports.errorTypeRegistries = [
539
542
  n2_registry,
540
543
  n3_registry,
541
544
  ];
545
+ var __Unit = "unit";
542
546
  exports.PbxColleague$ = [3, n4, _PC,
543
547
  0,
544
548
  [_i, _ex, _pD, _p, _r, _gN, _gD, _l, _d, _fD, _pi, _lT, _j, _n, _lo, _oP, _mP, _fN, _em, _de, _sI],
@@ -821,8 +825,8 @@ exports.GetAccountInput$ = [3, n3, _GAI,
821
825
  ];
822
826
  exports.GetAccountOutput$ = [3, n3, _GAO,
823
827
  0,
824
- [_ac, _w, _id],
825
- [() => exports.Account$, () => WorkspaceList, () => IdentityList], 3
828
+ [_ac],
829
+ [() => exports.Account$], 1
826
830
  ];
827
831
  exports.GetAppVersionInput$ = [3, n3, _GAVI,
828
832
  0,
@@ -854,6 +858,11 @@ exports.GetBotOutput$ = [3, n3, _GBO,
854
858
  [_b],
855
859
  [() => exports.Bot$], 1
856
860
  ];
861
+ exports.GetPhoneSignInCountriesOutput$ = [3, n3, _GPSICO,
862
+ 0,
863
+ [_cou],
864
+ [64 | 0], 1
865
+ ];
857
866
  exports.GetUserEmailNotificationsSettingsInput$ = [3, n3, _GUENSI,
858
867
  0,
859
868
  [_uIs],
@@ -906,7 +915,7 @@ exports.GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
906
915
  ];
907
916
  exports.Identity$ = [3, n3, _I,
908
917
  0,
909
- [_ide, _ac, _ver],
918
+ [_id, _ac, _ver],
910
919
  [0, 0, 2], 2
911
920
  ];
912
921
  exports.IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -931,12 +940,12 @@ exports.InviteOutput$ = [3, n3, _IO,
931
940
  ];
932
941
  exports.LinkIdentityInput$ = [3, n3, _LII,
933
942
  0,
934
- [_aIc, _ide],
943
+ [_aIc, _id],
935
944
  [[0, 1], 0], 2
936
945
  ];
937
946
  exports.LinkIdentityOutput$ = [3, n3, _LIO,
938
947
  0,
939
- [_ide],
948
+ [_id],
940
949
  [() => exports.Identity$], 1
941
950
  ];
942
951
  exports.ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -966,7 +975,7 @@ exports.ListIdentitiesInput$ = [3, n3, _LIIi,
966
975
  ];
967
976
  exports.ListIdentitiesOutput$ = [3, n3, _LIOi,
968
977
  0,
969
- [_id],
978
+ [_ide],
970
979
  [() => IdentityList], 1
971
980
  ];
972
981
  exports.ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1016,7 +1025,7 @@ exports.QueryColleaguesOutputItem$ = [3, n3, _QCOI,
1016
1025
  ];
1017
1026
  exports.QueryColleaguesParameters$ = [3, n3, _QCP,
1018
1027
  0,
1019
- [_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _cou, _di],
1028
+ [_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _coun, _di],
1020
1029
  [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 64 | 0, 0, 64 | 0, 1, 1, 0]
1021
1030
  ];
1022
1031
  exports.QueryUserInput$ = [3, n3, _QUI,
@@ -1061,7 +1070,7 @@ exports.ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1061
1070
  ];
1062
1071
  exports.UnlinkIdentityInput$ = [3, n3, _UII,
1063
1072
  0,
1064
- [_aIc, _ide],
1073
+ [_aIc, _id],
1065
1074
  [[0, 1], [0, 1]], 2
1066
1075
  ];
1067
1076
  exports.UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1216,12 +1225,12 @@ exports.VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1216
1225
  ];
1217
1226
  exports.VerifyIdentityInput$ = [3, n3, _VII,
1218
1227
  0,
1219
- [_aIc, _ide, _o],
1228
+ [_aIc, _id, _o],
1220
1229
  [[0, 1], 0, 0], 3
1221
1230
  ];
1222
1231
  exports.VerifyIdentityOutput$ = [3, n3, _VIO,
1223
1232
  0,
1224
- [_ide],
1233
+ [_id],
1225
1234
  [() => exports.Identity$], 1
1226
1235
  ];
1227
1236
  exports.Workspace$ = [3, n3, _W,
@@ -1271,6 +1280,7 @@ var DirectoryItems = [1, n3, _DIi,
1271
1280
  var IdentityList = [1, n3, _IL,
1272
1281
  0, () => exports.Identity$
1273
1282
  ];
1283
+ var PhoneCountryList = 64 | 0;
1274
1284
  var QueryColleaguesOutputItemList = [1, n3, _QCOIL,
1275
1285
  0, () => exports.QueryColleaguesOutputItem$
1276
1286
  ];
@@ -1374,6 +1384,9 @@ exports.GetBot$ = [9, n3, _GB,
1374
1384
  exports.GetBotCallback$ = [9, n3, _GBC,
1375
1385
  { [_ht]: ["GET", "/v2/users/bots/{botId}/callback", 200] }, () => exports.GetBotCallbackInput$, () => exports.GetBotCallbackOutput$
1376
1386
  ];
1387
+ exports.GetPhoneSignInCountries$ = [9, n3, _GPSIC,
1388
+ { [_ht]: ["GET", "/v2/users/phone-sign-in-countries", 200] }, () => __Unit, () => exports.GetPhoneSignInCountriesOutput$
1389
+ ];
1377
1390
  exports.GetUser$ = [9, n3, _GU,
1378
1391
  { [_ht]: ["GET", "/v2/users/cloud/{userId}", 200] }, () => exports.GetUserInput$, () => exports.GetUserOutput$
1379
1392
  ];
package/dist-es/Users.js CHANGED
@@ -14,6 +14,7 @@ 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";
17
18
  import { GetUserCommand } from "./commands/GetUserCommand";
18
19
  import { GetUserEmailNotificationsSettingsCommand, } from "./commands/GetUserEmailNotificationsSettingsCommand";
19
20
  import { GetUserPbxLinkDataCommand, } from "./commands/GetUserPbxLinkDataCommand";
@@ -61,6 +62,7 @@ const commands = {
61
62
  GetAppVersionCommand,
62
63
  GetBotCommand,
63
64
  GetBotCallbackCommand,
65
+ GetPhoneSignInCountriesCommand,
64
66
  GetUserCommand,
65
67
  GetUserEmailNotificationsSettingsCommand,
66
68
  GetUserPbxLinkDataCommand,
@@ -49,6 +49,12 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
49
49
  break;
50
50
  }
51
51
  ;
52
+ case "GetPhoneSignInCountries":
53
+ {
54
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
55
+ break;
56
+ }
57
+ ;
52
58
  case "ToggleTranscriptionEmailNotificationsSubscription":
53
59
  {
54
60
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { 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
+ }
@@ -13,6 +13,7 @@ export * from "./GetAccountCommand";
13
13
  export * from "./GetAppVersionCommand";
14
14
  export * from "./GetBotCallbackCommand";
15
15
  export * from "./GetBotCommand";
16
+ export * from "./GetPhoneSignInCountriesCommand";
16
17
  export * from "./GetUserCommand";
17
18
  export * from "./GetUserEmailNotificationsSettingsCommand";
18
19
  export * from "./GetUserPbxLinkDataCommand";
@@ -1,3 +1,17 @@
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
+ };
1
15
  export const PbxLicenseType = {
2
16
  BASIC: "basic",
3
17
  BUSINESS: "business",
@@ -96,6 +96,8 @@ const _GBCI = "GetBotCallbackInput";
96
96
  const _GBCO = "GetBotCallbackOutput";
97
97
  const _GBI = "GetBotInput";
98
98
  const _GBO = "GetBotOutput";
99
+ const _GPSIC = "GetPhoneSignInCountries";
100
+ const _GPSICO = "GetPhoneSignInCountriesOutput";
99
101
  const _GU = "GetUser";
100
102
  const _GUENS = "GetUserEmailNotificationsSettings";
101
103
  const _GUENSI = "GetUserEmailNotificationsSettingsInput";
@@ -260,7 +262,8 @@ const _col = "colleague";
260
262
  const _coll = "colleagues";
261
263
  const _com = "comment";
262
264
  const _con = "context";
263
- const _cou = "count";
265
+ const _cou = "countries";
266
+ const _coun = "count";
264
267
  const _cr = "credentials";
265
268
  const _d = "dialplan";
266
269
  const _dC = "dialogflowCx";
@@ -297,8 +300,8 @@ const _ht = "http";
297
300
  const _i = "id";
298
301
  const _iAKC = "integrationApiKeysCount";
299
302
  const _iT = "integrationType";
300
- const _id = "identities";
301
- const _ide = "identity";
303
+ const _id = "identity";
304
+ const _ide = "identities";
302
305
  const _in = "instructions";
303
306
  const _inf = "info";
304
307
  const _int = "integration";
@@ -532,6 +535,7 @@ export const errorTypeRegistries = [
532
535
  n2_registry,
533
536
  n3_registry,
534
537
  ];
538
+ var __Unit = "unit";
535
539
  export var PbxColleague$ = [3, n4, _PC,
536
540
  0,
537
541
  [_i, _ex, _pD, _p, _r, _gN, _gD, _l, _d, _fD, _pi, _lT, _j, _n, _lo, _oP, _mP, _fN, _em, _de, _sI],
@@ -814,8 +818,8 @@ export var GetAccountInput$ = [3, n3, _GAI,
814
818
  ];
815
819
  export var GetAccountOutput$ = [3, n3, _GAO,
816
820
  0,
817
- [_ac, _w, _id],
818
- [() => Account$, () => WorkspaceList, () => IdentityList], 3
821
+ [_ac],
822
+ [() => Account$], 1
819
823
  ];
820
824
  export var GetAppVersionInput$ = [3, n3, _GAVI,
821
825
  0,
@@ -847,6 +851,11 @@ export var GetBotOutput$ = [3, n3, _GBO,
847
851
  [_b],
848
852
  [() => Bot$], 1
849
853
  ];
854
+ export var GetPhoneSignInCountriesOutput$ = [3, n3, _GPSICO,
855
+ 0,
856
+ [_cou],
857
+ [64 | 0], 1
858
+ ];
850
859
  export var GetUserEmailNotificationsSettingsInput$ = [3, n3, _GUENSI,
851
860
  0,
852
861
  [_uIs],
@@ -899,7 +908,7 @@ export var GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
899
908
  ];
900
909
  export var Identity$ = [3, n3, _I,
901
910
  0,
902
- [_ide, _ac, _ver],
911
+ [_id, _ac, _ver],
903
912
  [0, 0, 2], 2
904
913
  ];
905
914
  export var IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -924,12 +933,12 @@ export var InviteOutput$ = [3, n3, _IO,
924
933
  ];
925
934
  export var LinkIdentityInput$ = [3, n3, _LII,
926
935
  0,
927
- [_aIc, _ide],
936
+ [_aIc, _id],
928
937
  [[0, 1], 0], 2
929
938
  ];
930
939
  export var LinkIdentityOutput$ = [3, n3, _LIO,
931
940
  0,
932
- [_ide],
941
+ [_id],
933
942
  [() => Identity$], 1
934
943
  ];
935
944
  export var ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -959,7 +968,7 @@ export var ListIdentitiesInput$ = [3, n3, _LIIi,
959
968
  ];
960
969
  export var ListIdentitiesOutput$ = [3, n3, _LIOi,
961
970
  0,
962
- [_id],
971
+ [_ide],
963
972
  [() => IdentityList], 1
964
973
  ];
965
974
  export var ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1009,7 +1018,7 @@ export var QueryColleaguesOutputItem$ = [3, n3, _QCOI,
1009
1018
  ];
1010
1019
  export var QueryColleaguesParameters$ = [3, n3, _QCP,
1011
1020
  0,
1012
- [_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _cou, _di],
1021
+ [_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _coun, _di],
1013
1022
  [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 64 | 0, 0, 64 | 0, 1, 1, 0]
1014
1023
  ];
1015
1024
  export var QueryUserInput$ = [3, n3, _QUI,
@@ -1054,7 +1063,7 @@ export var ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1054
1063
  ];
1055
1064
  export var UnlinkIdentityInput$ = [3, n3, _UII,
1056
1065
  0,
1057
- [_aIc, _ide],
1066
+ [_aIc, _id],
1058
1067
  [[0, 1], [0, 1]], 2
1059
1068
  ];
1060
1069
  export var UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1209,12 +1218,12 @@ export var VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1209
1218
  ];
1210
1219
  export var VerifyIdentityInput$ = [3, n3, _VII,
1211
1220
  0,
1212
- [_aIc, _ide, _o],
1221
+ [_aIc, _id, _o],
1213
1222
  [[0, 1], 0, 0], 3
1214
1223
  ];
1215
1224
  export var VerifyIdentityOutput$ = [3, n3, _VIO,
1216
1225
  0,
1217
- [_ide],
1226
+ [_id],
1218
1227
  [() => Identity$], 1
1219
1228
  ];
1220
1229
  export var Workspace$ = [3, n3, _W,
@@ -1264,6 +1273,7 @@ var DirectoryItems = [1, n3, _DIi,
1264
1273
  var IdentityList = [1, n3, _IL,
1265
1274
  0, () => Identity$
1266
1275
  ];
1276
+ var PhoneCountryList = 64 | 0;
1267
1277
  var QueryColleaguesOutputItemList = [1, n3, _QCOIL,
1268
1278
  0, () => QueryColleaguesOutputItem$
1269
1279
  ];
@@ -1367,6 +1377,9 @@ export var GetBot$ = [9, n3, _GB,
1367
1377
  export var GetBotCallback$ = [9, n3, _GBC,
1368
1378
  { [_ht]: ["GET", "/v2/users/bots/{botId}/callback", 200] }, () => GetBotCallbackInput$, () => GetBotCallbackOutput$
1369
1379
  ];
1380
+ export var GetPhoneSignInCountries$ = [9, n3, _GPSIC,
1381
+ { [_ht]: ["GET", "/v2/users/phone-sign-in-countries", 200] }, () => __Unit, () => GetPhoneSignInCountriesOutput$
1382
+ ];
1370
1383
  export var GetUser$ = [9, n3, _GU,
1371
1384
  { [_ht]: ["GET", "/v2/users/cloud/{userId}", 200] }, () => GetUserInput$, () => GetUserOutput$
1372
1385
  ];
@@ -14,6 +14,7 @@ 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";
17
18
  import { type GetUserCommandInput, type GetUserCommandOutput } from "./commands/GetUserCommand";
18
19
  import { type GetUserEmailNotificationsSettingsCommandInput, type GetUserEmailNotificationsSettingsCommandOutput } from "./commands/GetUserEmailNotificationsSettingsCommand";
19
20
  import { type GetUserPbxLinkDataCommandInput, type GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
@@ -136,6 +137,13 @@ export interface Users {
136
137
  getBotCallback(args: GetBotCallbackCommandInput, options?: __HttpHandlerOptions): Promise<GetBotCallbackCommandOutput>;
137
138
  getBotCallback(args: GetBotCallbackCommandInput, cb: (err: any, data?: GetBotCallbackCommandOutput) => void): void;
138
139
  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;
139
147
  /**
140
148
  * @see {@link GetUserCommand}
141
149
  */
@@ -20,6 +20,7 @@ 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";
23
24
  import type { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
24
25
  import type { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "./commands/GetUserEmailNotificationsSettingsCommand";
25
26
  import type { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
@@ -56,11 +57,11 @@ export { __Client };
56
57
  /**
57
58
  * @public
58
59
  */
59
- export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateAnonymousSessionCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetAccountCommandInput | GetAppVersionCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | IntelligenceSearchCommandInput | InviteCommandInput | LinkIdentityCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | ListIdentitiesCommandInput | ListWorkspacesCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UnlinkIdentityCommandInput | UnlinkWorkspaceCommandInput | UpdateAccountCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UpdateWorkspaceCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput | VerifyIdentityCommandInput;
60
+ export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateAnonymousSessionCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetAccountCommandInput | GetAppVersionCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | 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;
60
61
  /**
61
62
  * @public
62
63
  */
63
- export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateAnonymousSessionCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetAccountCommandOutput | GetAppVersionCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | IntelligenceSearchCommandOutput | InviteCommandOutput | LinkIdentityCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | ListIdentitiesCommandOutput | ListWorkspacesCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UnlinkIdentityCommandOutput | UnlinkWorkspaceCommandOutput | UpdateAccountCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UpdateWorkspaceCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput | VerifyIdentityCommandOutput;
64
+ export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateAnonymousSessionCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetAccountCommandOutput | GetAppVersionCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | 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;
64
65
  /**
65
66
  * @public
66
67
  */
@@ -27,7 +27,7 @@ declare const GetAccountCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Retrieves the current account with identities and workspaces.
30
+ * Retrieves the account.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -47,96 +47,6 @@ 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
- * // ],
140
50
  * // };
141
51
  *
142
52
  * ```
@@ -0,0 +1,85 @@
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
+ }
@@ -13,6 +13,7 @@ export * from "./GetAccountCommand";
13
13
  export * from "./GetAppVersionCommand";
14
14
  export * from "./GetBotCallbackCommand";
15
15
  export * from "./GetBotCommand";
16
+ export * from "./GetPhoneSignInCountriesCommand";
16
17
  export * from "./GetUserCommand";
17
18
  export * from "./GetUserEmailNotificationsSettingsCommand";
18
19
  export * from "./GetUserPbxLinkDataCommand";
@@ -1,3 +1,25 @@
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];
1
23
  /**
2
24
  * @public
3
25
  * @enum
@@ -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, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
2
+ import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, BotSessionTimeoutMinutes, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, PhoneCountry, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1306,73 +1306,11 @@ export interface GetAccountInput {
1306
1306
  */
1307
1307
  accountId: string;
1308
1308
  }
1309
- /**
1310
- * @public
1311
- */
1312
- export interface Identity {
1313
- /**
1314
- * The identity value (email address or phone number in E.164)
1315
- * @public
1316
- */
1317
- identity: string;
1318
- /**
1319
- * The unique identifier of the account.
1320
- * @public
1321
- */
1322
- account: string;
1323
- /**
1324
- * Indicates if the identity is verified.
1325
- * @public
1326
- */
1327
- verified?: boolean | undefined;
1328
- }
1329
- /**
1330
- * @public
1331
- */
1332
- export interface Workspace {
1333
- /**
1334
- * The unique identifier of the tenant (company).
1335
- * @public
1336
- */
1337
- companyId?: string | undefined;
1338
- /**
1339
- * PBX information where user connected to.
1340
- * @public
1341
- */
1342
- pbxUser?: UserPbxLinkData | undefined;
1343
- /**
1344
- * Personal information of the user. If user is not logged in yet, this field will might be empty.
1345
- * @public
1346
- */
1347
- streamUser?: User | undefined;
1348
- /**
1349
- * The type of workspace.
1350
- * @public
1351
- */
1352
- type?: WorkspaceType | undefined;
1353
- /**
1354
- * The unique identifier
1355
- * @public
1356
- */
1357
- id: string;
1358
- /**
1359
- * The unique identifier of the account.
1360
- * @public
1361
- */
1362
- accountId: string;
1363
- /**
1364
- * Indicates if the workspace is active.
1365
- * @public
1366
- */
1367
- active: boolean;
1368
- }
1369
1309
  /**
1370
1310
  * @public
1371
1311
  */
1372
1312
  export interface GetAccountOutput {
1373
1313
  account: Account;
1374
- workspaces: Workspace[];
1375
- identities: Identity[];
1376
1314
  }
1377
1315
  /**
1378
1316
  * @public
@@ -1412,6 +1350,16 @@ export interface GetBotCallbackInput {
1412
1350
  export interface GetBotCallbackOutput {
1413
1351
  callback: BotCallback;
1414
1352
  }
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
+ }
1415
1363
  /**
1416
1364
  * @public
1417
1365
  */
@@ -1515,6 +1463,26 @@ export interface GetUserPbxLinkSuggestionV1Output {
1515
1463
  */
1516
1464
  suggestion?: UserPbxLinkSuggestion | undefined;
1517
1465
  }
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
+ }
1518
1486
  /**
1519
1487
  * @public
1520
1488
  */
@@ -1643,6 +1611,46 @@ export interface ListWorkspacesInput {
1643
1611
  */
1644
1612
  accountId: string;
1645
1613
  }
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
+ }
1646
1654
  /**
1647
1655
  * @public
1648
1656
  */
@@ -39,6 +39,7 @@ 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;
42
43
  serviceConfiguredEndpoint?: never;
43
44
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
45
  httpAuthSchemes: ({
@@ -39,6 +39,7 @@ 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;
42
43
  serviceConfiguredEndpoint?: never;
43
44
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
45
  httpAuthSchemes: ({
@@ -39,6 +39,7 @@ 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;
42
43
  serviceConfiguredEndpoint?: never;
43
44
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
45
  httpAuthSchemes: ({
@@ -87,6 +87,7 @@ export declare var GetBotCallbackInput$: StaticStructureSchema;
87
87
  export declare var GetBotCallbackOutput$: StaticStructureSchema;
88
88
  export declare var GetBotInput$: StaticStructureSchema;
89
89
  export declare var GetBotOutput$: StaticStructureSchema;
90
+ export declare var GetPhoneSignInCountriesOutput$: StaticStructureSchema;
90
91
  export declare var GetUserEmailNotificationsSettingsInput$: StaticStructureSchema;
91
92
  export declare var GetUserEmailNotificationsSettingsOutput$: StaticStructureSchema;
92
93
  export declare var GetUserInput$: StaticStructureSchema;
@@ -185,6 +186,7 @@ export declare var GetAccount$: StaticOperationSchema;
185
186
  export declare var GetAppVersion$: StaticOperationSchema;
186
187
  export declare var GetBot$: StaticOperationSchema;
187
188
  export declare var GetBotCallback$: StaticOperationSchema;
189
+ export declare var GetPhoneSignInCountries$: StaticOperationSchema;
188
190
  export declare var GetUser$: StaticOperationSchema;
189
191
  export declare var GetUserEmailNotificationsSettings$: StaticOperationSchema;
190
192
  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.8",
4
+ "version": "4.0.10",
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",