@wildix/xbees-users-client 4.4.0-wms29809.2 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Users.js +1 -9
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -12
- package/dist-cjs/commands/index.js +0 -2
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/enums.js +6 -67
- package/dist-cjs/models/errors.js +1 -39
- package/dist-cjs/schemas/schemas_0.js +106 -294
- package/dist-es/Users.js +1 -9
- package/dist-es/auth/httpAuthSchemeProvider.js +0 -12
- package/dist-es/commands/index.js +0 -2
- package/dist-es/index.js +0 -1
- package/dist-es/models/enums.js +5 -66
- package/dist-es/models/errors.js +0 -36
- package/dist-es/schemas/schemas_0.js +102 -290
- package/dist-types/Users.d.ts +1 -22
- package/dist-types/UsersClient.d.ts +2 -4
- package/dist-types/commands/QueryColleaguesCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +0 -2
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/enums.d.ts +22 -264
- package/dist-types/models/errors.d.ts +0 -56
- package/dist-types/models/models_0.d.ts +12 -417
- package/dist-types/schemas/schemas_0.d.ts +0 -19
- package/package.json +1 -1
- package/dist-cjs/commands/ApplyAccountWorkspaceChangesCommand.js +0 -20
- package/dist-cjs/commands/ListAccountEmailChangesCommand.js +0 -20
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListAccountEmailChangesPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -5
- package/dist-es/commands/ApplyAccountWorkspaceChangesCommand.js +0 -16
- package/dist-es/commands/ListAccountEmailChangesCommand.js +0 -16
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAccountEmailChangesPaginator.js +0 -4
- package/dist-es/pagination/index.js +0 -2
- package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +0 -194
- package/dist-types/commands/ListAccountEmailChangesCommand.d.ts +0 -101
- package/dist-types/pagination/Interfaces.d.ts +0 -8
- package/dist-types/pagination/ListAccountEmailChangesPaginator.d.ts +0 -7
- package/dist-types/pagination/index.d.ts +0 -2
package/dist-cjs/Users.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Users = void 0;
|
|
4
4
|
const client_1 = require("@smithy/core/client");
|
|
5
|
-
const ApplyAccountWorkspaceChangesCommand_1 = require("./commands/ApplyAccountWorkspaceChangesCommand");
|
|
6
5
|
const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
|
|
7
6
|
const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
|
|
8
7
|
const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
|
|
@@ -26,7 +25,6 @@ const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSu
|
|
|
26
25
|
const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
|
|
27
26
|
const InviteCommand_1 = require("./commands/InviteCommand");
|
|
28
27
|
const LinkIdentityCommand_1 = require("./commands/LinkIdentityCommand");
|
|
29
|
-
const ListAccountEmailChangesCommand_1 = require("./commands/ListAccountEmailChangesCommand");
|
|
30
28
|
const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
|
|
31
29
|
const ListBotsCommand_1 = require("./commands/ListBotsCommand");
|
|
32
30
|
const ListIdentitiesCommand_1 = require("./commands/ListIdentitiesCommand");
|
|
@@ -49,10 +47,8 @@ const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
|
|
|
49
47
|
const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
|
|
50
48
|
const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
|
|
51
49
|
const VerifyIdentityCommand_1 = require("./commands/VerifyIdentityCommand");
|
|
52
|
-
const ListAccountEmailChangesPaginator_1 = require("./pagination/ListAccountEmailChangesPaginator");
|
|
53
50
|
const UsersClient_1 = require("./UsersClient");
|
|
54
51
|
const commands = {
|
|
55
|
-
ApplyAccountWorkspaceChangesCommand: ApplyAccountWorkspaceChangesCommand_1.ApplyAccountWorkspaceChangesCommand,
|
|
56
52
|
BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
|
|
57
53
|
BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
|
|
58
54
|
BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
|
|
@@ -76,7 +72,6 @@ const commands = {
|
|
|
76
72
|
IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
|
|
77
73
|
InviteCommand: InviteCommand_1.InviteCommand,
|
|
78
74
|
LinkIdentityCommand: LinkIdentityCommand_1.LinkIdentityCommand,
|
|
79
|
-
ListAccountEmailChangesCommand: ListAccountEmailChangesCommand_1.ListAccountEmailChangesCommand,
|
|
80
75
|
ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
|
|
81
76
|
ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
|
|
82
77
|
ListIdentitiesCommand: ListIdentitiesCommand_1.ListIdentitiesCommand,
|
|
@@ -100,10 +95,7 @@ const commands = {
|
|
|
100
95
|
VerifyBotSecretKeyV1Command: VerifyBotSecretKeyV1Command_1.VerifyBotSecretKeyV1Command,
|
|
101
96
|
VerifyIdentityCommand: VerifyIdentityCommand_1.VerifyIdentityCommand,
|
|
102
97
|
};
|
|
103
|
-
const paginators = {
|
|
104
|
-
paginateListAccountEmailChanges: ListAccountEmailChangesPaginator_1.paginateListAccountEmailChanges,
|
|
105
|
-
};
|
|
106
98
|
class Users extends UsersClient_1.UsersClient {
|
|
107
99
|
}
|
|
108
100
|
exports.Users = Users;
|
|
109
|
-
(0, client_1.createAggregatedClient)(commands, Users
|
|
101
|
+
(0, client_1.createAggregatedClient)(commands, Users);
|
|
@@ -47,12 +47,6 @@ function createWildixAuthXbsHttpAuthOption(authParameters) {
|
|
|
47
47
|
const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
48
48
|
const options = [];
|
|
49
49
|
switch (authParameters.operation) {
|
|
50
|
-
case "ApplyAccountWorkspaceChanges":
|
|
51
|
-
{
|
|
52
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
;
|
|
56
50
|
case "CreateAnonymousSession":
|
|
57
51
|
{
|
|
58
52
|
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
@@ -73,12 +67,6 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
73
67
|
break;
|
|
74
68
|
}
|
|
75
69
|
;
|
|
76
|
-
case "ListAccountEmailChanges":
|
|
77
|
-
{
|
|
78
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
;
|
|
82
70
|
case "ListIdentities":
|
|
83
71
|
{
|
|
84
72
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ApplyAccountWorkspaceChangesCommand"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
|
|
7
6
|
tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
|
|
@@ -25,7 +24,6 @@ tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
|
|
|
25
24
|
tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
|
|
26
25
|
tslib_1.__exportStar(require("./InviteCommand"), exports);
|
|
27
26
|
tslib_1.__exportStar(require("./LinkIdentityCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./ListAccountEmailChangesCommand"), exports);
|
|
29
27
|
tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
|
|
30
28
|
tslib_1.__exportStar(require("./ListBotsCommand"), exports);
|
|
31
29
|
tslib_1.__exportStar(require("./ListIdentitiesCommand"), exports);
|
package/dist-cjs/index.js
CHANGED
|
@@ -6,7 +6,6 @@ tslib_1.__exportStar(require("./UsersClient"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./Users"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./schemas/schemas_0"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
9
|
tslib_1.__exportStar(require("./models/enums"), exports);
|
|
11
10
|
tslib_1.__exportStar(require("./models/errors"), exports);
|
|
12
11
|
tslib_1.__exportStar(require("./models/models_0"), exports);
|
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.
|
|
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;
|
|
4
4
|
exports.PbxLicenseType = {
|
|
5
5
|
BASIC: "basic",
|
|
6
6
|
BUSINESS: "business",
|
|
@@ -64,72 +64,6 @@ exports.AppType = {
|
|
|
64
64
|
X_BEES: "x-bees",
|
|
65
65
|
X_HOPPERS: "x-hoppers",
|
|
66
66
|
};
|
|
67
|
-
exports.AccountEmailChangeStatus = {
|
|
68
|
-
ABORTED: "ABORTED",
|
|
69
|
-
FAILED: "FAILED",
|
|
70
|
-
PENDING_REDRIVE: "PENDING_REDRIVE",
|
|
71
|
-
RUNNING: "RUNNING",
|
|
72
|
-
SUCCEEDED: "SUCCEEDED",
|
|
73
|
-
TIMED_OUT: "TIMED_OUT",
|
|
74
|
-
};
|
|
75
|
-
exports.AccountWorkspaceChangeOperation = {
|
|
76
|
-
ATTACH: "attach",
|
|
77
|
-
DETACH: "detach",
|
|
78
|
-
MAKE_DEFAULT: "makeDefault",
|
|
79
|
-
};
|
|
80
|
-
exports.AccountWorkspaceRefusalCode = {
|
|
81
|
-
COMPANY_WORKSPACE_TAKEN: "company_workspace_taken",
|
|
82
|
-
DELETED_WORKSPACE: "deleted_workspace",
|
|
83
|
-
EXPECTED_INCOMPLETE: "expected_incomplete",
|
|
84
|
-
FOREIGN_STREAM_EMAIL: "foreign_stream_email",
|
|
85
|
-
NO_DEFAULT: "no_default",
|
|
86
|
-
TOO_MANY_WRITES: "too_many_writes",
|
|
87
|
-
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
88
|
-
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
89
|
-
WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
|
|
90
|
-
WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
|
|
91
|
-
};
|
|
92
|
-
exports.AccountWorkspaceCheckCode = {
|
|
93
|
-
COMPANY_WORKSPACE_TAKEN: "company_workspace_taken",
|
|
94
|
-
CONFLICT: "conflict",
|
|
95
|
-
DELETED_WORKSPACE: "deleted_workspace",
|
|
96
|
-
EMAIL_ROUTING_CHANGES: "email_routing_changes",
|
|
97
|
-
EXPECTED_INCOMPLETE: "expected_incomplete",
|
|
98
|
-
FOREIGN_STREAM_EMAIL: "foreign_stream_email",
|
|
99
|
-
NO_DEFAULT: "no_default",
|
|
100
|
-
ORPHAN_DEFAULT_MOVED: "orphan_default_moved",
|
|
101
|
-
ORPHAN_PERSONAL_WORKSPACE_CREATED: "orphan_personal_workspace_created",
|
|
102
|
-
TOO_MANY_WRITES: "too_many_writes",
|
|
103
|
-
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
104
|
-
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
105
|
-
WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
|
|
106
|
-
WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
|
|
107
|
-
};
|
|
108
|
-
exports.AccountWorkspaceEffectName = {
|
|
109
|
-
CACHE: "cache",
|
|
110
|
-
COGNITO: "cognito",
|
|
111
|
-
};
|
|
112
|
-
exports.AccountWorkspaceEffectStatus = {
|
|
113
|
-
FAILED: "failed",
|
|
114
|
-
OK: "ok",
|
|
115
|
-
SKIPPED: "skipped",
|
|
116
|
-
};
|
|
117
|
-
exports.AccountWorkspaceRowEntity = {
|
|
118
|
-
ACCOUNT_SETTINGS: "accountSettings",
|
|
119
|
-
MEMBERSHIP: "membership",
|
|
120
|
-
PBX: "pbx",
|
|
121
|
-
STREAM: "stream",
|
|
122
|
-
};
|
|
123
|
-
exports.WorkspaceType = {
|
|
124
|
-
PERSONAL: "personal",
|
|
125
|
-
SUPPORT: "support",
|
|
126
|
-
WORK: "work",
|
|
127
|
-
};
|
|
128
|
-
exports.AccountWorkspaceWriteKind = {
|
|
129
|
-
DELETE: "delete",
|
|
130
|
-
PUT: "put",
|
|
131
|
-
UPDATE: "update",
|
|
132
|
-
};
|
|
133
67
|
exports.BotAccess = {
|
|
134
68
|
EVERYBODY: "EVERYBODY",
|
|
135
69
|
ORGANIZATION: "ORGANIZATION",
|
|
@@ -162,3 +96,8 @@ exports.BotLlmFunctionIntegrationMethod = {
|
|
|
162
96
|
exports.BotLlmToolType = {
|
|
163
97
|
FUNCTION: "function",
|
|
164
98
|
};
|
|
99
|
+
exports.WorkspaceType = {
|
|
100
|
+
PERSONAL: "personal",
|
|
101
|
+
SUPPORT: "support",
|
|
102
|
+
WORK: "work",
|
|
103
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.IdentityNotFoundException = exports.IdentityAlreadyLinkedException = exports.PublicAccessIsRestrictedException = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.CannotUnbindDefaultWorkspaceException = exports.CannotRemovePrimaryIdentityException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotApiKeyNotFoundException = exports.BotAlreadyExistsException = exports.
|
|
3
|
+
exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.IdentityNotFoundException = exports.IdentityAlreadyLinkedException = exports.PublicAccessIsRestrictedException = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.CannotUnbindDefaultWorkspaceException = exports.CannotRemovePrimaryIdentityException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotApiKeyNotFoundException = exports.BotAlreadyExistsException = exports.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
|
|
4
4
|
const UsersServiceException_1 = require("./UsersServiceException");
|
|
5
5
|
class ForbiddenException extends UsersServiceException_1.UsersServiceException {
|
|
6
6
|
name = "ForbiddenException";
|
|
@@ -88,44 +88,6 @@ class AccountNotFoundException extends UsersServiceException_1.UsersServiceExcep
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
exports.AccountNotFoundException = AccountNotFoundException;
|
|
91
|
-
class AccountWorkspaceChangeRefusedException extends UsersServiceException_1.UsersServiceException {
|
|
92
|
-
name = "AccountWorkspaceChangeRefusedException";
|
|
93
|
-
$fault = "client";
|
|
94
|
-
code;
|
|
95
|
-
row;
|
|
96
|
-
accountId;
|
|
97
|
-
workspaceId;
|
|
98
|
-
constructor(opts) {
|
|
99
|
-
super({
|
|
100
|
-
name: "AccountWorkspaceChangeRefusedException",
|
|
101
|
-
$fault: "client",
|
|
102
|
-
...opts,
|
|
103
|
-
});
|
|
104
|
-
Object.setPrototypeOf(this, AccountWorkspaceChangeRefusedException.prototype);
|
|
105
|
-
this.code = opts.code;
|
|
106
|
-
this.row = opts.row;
|
|
107
|
-
this.accountId = opts.accountId;
|
|
108
|
-
this.workspaceId = opts.workspaceId;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
exports.AccountWorkspaceChangeRefusedException = AccountWorkspaceChangeRefusedException;
|
|
112
|
-
class AccountWorkspaceConflictException extends UsersServiceException_1.UsersServiceException {
|
|
113
|
-
name = "AccountWorkspaceConflictException";
|
|
114
|
-
$fault = "client";
|
|
115
|
-
row;
|
|
116
|
-
field;
|
|
117
|
-
constructor(opts) {
|
|
118
|
-
super({
|
|
119
|
-
name: "AccountWorkspaceConflictException",
|
|
120
|
-
$fault: "client",
|
|
121
|
-
...opts,
|
|
122
|
-
});
|
|
123
|
-
Object.setPrototypeOf(this, AccountWorkspaceConflictException.prototype);
|
|
124
|
-
this.row = opts.row;
|
|
125
|
-
this.field = opts.field;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
exports.AccountWorkspaceConflictException = AccountWorkspaceConflictException;
|
|
129
91
|
class BotAlreadyExistsException extends UsersServiceException_1.UsersServiceException {
|
|
130
92
|
name = "BotAlreadyExistsException";
|
|
131
93
|
$fault = "client";
|