@wildix/xbees-users-client 4.0.10 → 4.0.11
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 +0 -2
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -6
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/models/enums.js +1 -15
- package/dist-cjs/schemas/schemas_0.js +6 -19
- package/dist-es/Users.js +0 -2
- package/dist-es/auth/httpAuthSchemeProvider.js +0 -6
- package/dist-es/commands/index.js +0 -1
- package/dist-es/models/enums.js +0 -14
- package/dist-es/schemas/schemas_0.js +2 -15
- package/dist-types/Users.d.ts +0 -8
- package/dist-types/UsersClient.d.ts +2 -3
- package/dist-types/commands/index.d.ts +0 -1
- package/dist-types/models/enums.d.ts +0 -22
- package/dist-types/models/models_0.d.ts +2 -12
- package/dist-types/schemas/schemas_0.d.ts +0 -2
- package/package.json +1 -1
- package/dist-cjs/commands/GetPhoneSignInCountriesCommand.js +0 -20
- package/dist-es/commands/GetPhoneSignInCountriesCommand.js +0 -16
- package/dist-types/commands/GetPhoneSignInCountriesCommand.d.ts +0 -85
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);
|
package/dist-cjs/models/enums.js
CHANGED
|
@@ -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 =
|
|
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,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.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.
|
|
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$ =
|
|
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.
|
|
7
|
-
exports.VerifyIdentity$ = exports.VerifyBotSecretKeyV1$ = exports.VerifyBotSecretKey$ = exports.UploadPictureV1$ = exports.UploadPicture$ = exports.UpdateWorkspace$ = exports.UpdateUserEmailNotificationsSettings$ = exports.UpdateBotCallback$ = exports.UpdateBot$ = exports.UpdateAccount$ =
|
|
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;
|
|
8
8
|
const _A = "Account";
|
|
9
9
|
const _AEC = "AnonymousEntryContext";
|
|
10
10
|
const _ANFE = "AccountNotFoundException";
|
|
@@ -103,8 +103,6 @@ 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";
|
|
108
106
|
const _GU = "GetUser";
|
|
109
107
|
const _GUENS = "GetUserEmailNotificationsSettings";
|
|
110
108
|
const _GUENSI = "GetUserEmailNotificationsSettingsInput";
|
|
@@ -269,8 +267,7 @@ const _col = "colleague";
|
|
|
269
267
|
const _coll = "colleagues";
|
|
270
268
|
const _com = "comment";
|
|
271
269
|
const _con = "context";
|
|
272
|
-
const _cou = "
|
|
273
|
-
const _coun = "count";
|
|
270
|
+
const _cou = "count";
|
|
274
271
|
const _cr = "credentials";
|
|
275
272
|
const _d = "dialplan";
|
|
276
273
|
const _dC = "dialogflowCx";
|
|
@@ -542,7 +539,6 @@ exports.errorTypeRegistries = [
|
|
|
542
539
|
n2_registry,
|
|
543
540
|
n3_registry,
|
|
544
541
|
];
|
|
545
|
-
var __Unit = "unit";
|
|
546
542
|
exports.PbxColleague$ = [3, n4, _PC,
|
|
547
543
|
0,
|
|
548
544
|
[_i, _ex, _pD, _p, _r, _gN, _gD, _l, _d, _fD, _pi, _lT, _j, _n, _lo, _oP, _mP, _fN, _em, _de, _sI],
|
|
@@ -858,11 +854,6 @@ exports.GetBotOutput$ = [3, n3, _GBO,
|
|
|
858
854
|
[_b],
|
|
859
855
|
[() => exports.Bot$], 1
|
|
860
856
|
];
|
|
861
|
-
exports.GetPhoneSignInCountriesOutput$ = [3, n3, _GPSICO,
|
|
862
|
-
0,
|
|
863
|
-
[_cou],
|
|
864
|
-
[64 | 0], 1
|
|
865
|
-
];
|
|
866
857
|
exports.GetUserEmailNotificationsSettingsInput$ = [3, n3, _GUENSI,
|
|
867
858
|
0,
|
|
868
859
|
[_uIs],
|
|
@@ -1025,7 +1016,7 @@ exports.QueryColleaguesOutputItem$ = [3, n3, _QCOI,
|
|
|
1025
1016
|
];
|
|
1026
1017
|
exports.QueryColleaguesParameters$ = [3, n3, _QCP,
|
|
1027
1018
|
0,
|
|
1028
|
-
[_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st,
|
|
1019
|
+
[_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _cou, _di],
|
|
1029
1020
|
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 64 | 0, 0, 64 | 0, 1, 1, 0]
|
|
1030
1021
|
];
|
|
1031
1022
|
exports.QueryUserInput$ = [3, n3, _QUI,
|
|
@@ -1280,7 +1271,6 @@ var DirectoryItems = [1, n3, _DIi,
|
|
|
1280
1271
|
var IdentityList = [1, n3, _IL,
|
|
1281
1272
|
0, () => exports.Identity$
|
|
1282
1273
|
];
|
|
1283
|
-
var PhoneCountryList = 64 | 0;
|
|
1284
1274
|
var QueryColleaguesOutputItemList = [1, n3, _QCOIL,
|
|
1285
1275
|
0, () => exports.QueryColleaguesOutputItem$
|
|
1286
1276
|
];
|
|
@@ -1384,9 +1374,6 @@ exports.GetBot$ = [9, n3, _GB,
|
|
|
1384
1374
|
exports.GetBotCallback$ = [9, n3, _GBC,
|
|
1385
1375
|
{ [_ht]: ["GET", "/v2/users/bots/{botId}/callback", 200] }, () => exports.GetBotCallbackInput$, () => exports.GetBotCallbackOutput$
|
|
1386
1376
|
];
|
|
1387
|
-
exports.GetPhoneSignInCountries$ = [9, n3, _GPSIC,
|
|
1388
|
-
{ [_ht]: ["GET", "/v2/users/phone-sign-in-countries", 200] }, () => __Unit, () => exports.GetPhoneSignInCountriesOutput$
|
|
1389
|
-
];
|
|
1390
1377
|
exports.GetUser$ = [9, n3, _GU,
|
|
1391
1378
|
{ [_ht]: ["GET", "/v2/users/cloud/{userId}", 200] }, () => exports.GetUserInput$, () => exports.GetUserOutput$
|
|
1392
1379
|
];
|
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";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -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",
|
|
@@ -96,8 +96,6 @@ 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";
|
|
101
99
|
const _GU = "GetUser";
|
|
102
100
|
const _GUENS = "GetUserEmailNotificationsSettings";
|
|
103
101
|
const _GUENSI = "GetUserEmailNotificationsSettingsInput";
|
|
@@ -262,8 +260,7 @@ const _col = "colleague";
|
|
|
262
260
|
const _coll = "colleagues";
|
|
263
261
|
const _com = "comment";
|
|
264
262
|
const _con = "context";
|
|
265
|
-
const _cou = "
|
|
266
|
-
const _coun = "count";
|
|
263
|
+
const _cou = "count";
|
|
267
264
|
const _cr = "credentials";
|
|
268
265
|
const _d = "dialplan";
|
|
269
266
|
const _dC = "dialogflowCx";
|
|
@@ -535,7 +532,6 @@ export const errorTypeRegistries = [
|
|
|
535
532
|
n2_registry,
|
|
536
533
|
n3_registry,
|
|
537
534
|
];
|
|
538
|
-
var __Unit = "unit";
|
|
539
535
|
export var PbxColleague$ = [3, n4, _PC,
|
|
540
536
|
0,
|
|
541
537
|
[_i, _ex, _pD, _p, _r, _gN, _gD, _l, _d, _fD, _pi, _lT, _j, _n, _lo, _oP, _mP, _fN, _em, _de, _sI],
|
|
@@ -851,11 +847,6 @@ export var GetBotOutput$ = [3, n3, _GBO,
|
|
|
851
847
|
[_b],
|
|
852
848
|
[() => Bot$], 1
|
|
853
849
|
];
|
|
854
|
-
export var GetPhoneSignInCountriesOutput$ = [3, n3, _GPSICO,
|
|
855
|
-
0,
|
|
856
|
-
[_cou],
|
|
857
|
-
[64 | 0], 1
|
|
858
|
-
];
|
|
859
850
|
export var GetUserEmailNotificationsSettingsInput$ = [3, n3, _GUENSI,
|
|
860
851
|
0,
|
|
861
852
|
[_uIs],
|
|
@@ -1018,7 +1009,7 @@ export var QueryColleaguesOutputItem$ = [3, n3, _QCOI,
|
|
|
1018
1009
|
];
|
|
1019
1010
|
export var QueryColleaguesParameters$ = [3, n3, _QCP,
|
|
1020
1011
|
0,
|
|
1021
|
-
[_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st,
|
|
1012
|
+
[_i, _ex, _oP, _mP, _n, _em, _de, _sea, _sF, _sS, _so, _st, _cou, _di],
|
|
1022
1013
|
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 64 | 0, 0, 64 | 0, 1, 1, 0]
|
|
1023
1014
|
];
|
|
1024
1015
|
export var QueryUserInput$ = [3, n3, _QUI,
|
|
@@ -1273,7 +1264,6 @@ var DirectoryItems = [1, n3, _DIi,
|
|
|
1273
1264
|
var IdentityList = [1, n3, _IL,
|
|
1274
1265
|
0, () => Identity$
|
|
1275
1266
|
];
|
|
1276
|
-
var PhoneCountryList = 64 | 0;
|
|
1277
1267
|
var QueryColleaguesOutputItemList = [1, n3, _QCOIL,
|
|
1278
1268
|
0, () => QueryColleaguesOutputItem$
|
|
1279
1269
|
];
|
|
@@ -1377,9 +1367,6 @@ export var GetBot$ = [9, n3, _GB,
|
|
|
1377
1367
|
export var GetBotCallback$ = [9, n3, _GBC,
|
|
1378
1368
|
{ [_ht]: ["GET", "/v2/users/bots/{botId}/callback", 200] }, () => GetBotCallbackInput$, () => GetBotCallbackOutput$
|
|
1379
1369
|
];
|
|
1380
|
-
export var GetPhoneSignInCountries$ = [9, n3, _GPSIC,
|
|
1381
|
-
{ [_ht]: ["GET", "/v2/users/phone-sign-in-countries", 200] }, () => __Unit, () => GetPhoneSignInCountriesOutput$
|
|
1382
|
-
];
|
|
1383
1370
|
export var GetUser$ = [9, n3, _GU,
|
|
1384
1371
|
{ [_ht]: ["GET", "/v2/users/cloud/{userId}", 200] }, () => GetUserInput$, () => GetUserOutput$
|
|
1385
1372
|
];
|
package/dist-types/Users.d.ts
CHANGED
|
@@ -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 |
|
|
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 |
|
|
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
|
*/
|
|
@@ -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
|
|
@@ -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,
|
|
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;
|
|
@@ -1350,16 +1350,6 @@ export interface GetBotCallbackInput {
|
|
|
1350
1350
|
export interface GetBotCallbackOutput {
|
|
1351
1351
|
callback: BotCallback;
|
|
1352
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
|
-
}
|
|
1363
1353
|
/**
|
|
1364
1354
|
* @public
|
|
1365
1355
|
*/
|
|
@@ -87,7 +87,6 @@ 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;
|
|
91
90
|
export declare var GetUserEmailNotificationsSettingsInput$: StaticStructureSchema;
|
|
92
91
|
export declare var GetUserEmailNotificationsSettingsOutput$: StaticStructureSchema;
|
|
93
92
|
export declare var GetUserInput$: StaticStructureSchema;
|
|
@@ -186,7 +185,6 @@ export declare var GetAccount$: StaticOperationSchema;
|
|
|
186
185
|
export declare var GetAppVersion$: StaticOperationSchema;
|
|
187
186
|
export declare var GetBot$: StaticOperationSchema;
|
|
188
187
|
export declare var GetBotCallback$: StaticOperationSchema;
|
|
189
|
-
export declare var GetPhoneSignInCountries$: StaticOperationSchema;
|
|
190
188
|
export declare var GetUser$: StaticOperationSchema;
|
|
191
189
|
export declare var GetUserEmailNotificationsSettings$: StaticOperationSchema;
|
|
192
190
|
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.
|
|
4
|
+
"version": "4.0.11",
|
|
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",
|
|
@@ -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
|
-
}
|