@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-es/Users.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
|
-
import { ApplyAccountWorkspaceChangesCommand, } from "./commands/ApplyAccountWorkspaceChangesCommand";
|
|
3
2
|
import { BatchGetUsersCommand, } from "./commands/BatchGetUsersCommand";
|
|
4
3
|
import { BatchGetUsersEmailNotificationsSettingsCommand, } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
5
4
|
import { BatchGetUsersPbxLinkDataCommand, } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
@@ -23,7 +22,6 @@ import { GetUserPbxLinkSuggestionV1Command, } from "./commands/GetUserPbxLinkSug
|
|
|
23
22
|
import { IntelligenceSearchCommand, } from "./commands/IntelligenceSearchCommand";
|
|
24
23
|
import { InviteCommand } from "./commands/InviteCommand";
|
|
25
24
|
import { LinkIdentityCommand, } from "./commands/LinkIdentityCommand";
|
|
26
|
-
import { ListAccountEmailChangesCommand, } from "./commands/ListAccountEmailChangesCommand";
|
|
27
25
|
import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
|
|
28
26
|
import { ListBotsCommand } from "./commands/ListBotsCommand";
|
|
29
27
|
import { ListIdentitiesCommand, } from "./commands/ListIdentitiesCommand";
|
|
@@ -46,10 +44,8 @@ import { UploadPictureV1Command, } from "./commands/UploadPictureV1Command";
|
|
|
46
44
|
import { VerifyBotSecretKeyCommand, } from "./commands/VerifyBotSecretKeyCommand";
|
|
47
45
|
import { VerifyBotSecretKeyV1Command, } from "./commands/VerifyBotSecretKeyV1Command";
|
|
48
46
|
import { VerifyIdentityCommand, } from "./commands/VerifyIdentityCommand";
|
|
49
|
-
import { paginateListAccountEmailChanges } from "./pagination/ListAccountEmailChangesPaginator";
|
|
50
47
|
import { UsersClient } from "./UsersClient";
|
|
51
48
|
const commands = {
|
|
52
|
-
ApplyAccountWorkspaceChangesCommand,
|
|
53
49
|
BatchGetUsersCommand,
|
|
54
50
|
BatchGetUsersEmailNotificationsSettingsCommand,
|
|
55
51
|
BatchGetUsersPbxLinkDataCommand,
|
|
@@ -73,7 +69,6 @@ const commands = {
|
|
|
73
69
|
IntelligenceSearchCommand,
|
|
74
70
|
InviteCommand,
|
|
75
71
|
LinkIdentityCommand,
|
|
76
|
-
ListAccountEmailChangesCommand,
|
|
77
72
|
ListBotApiKeysCommand,
|
|
78
73
|
ListBotsCommand,
|
|
79
74
|
ListIdentitiesCommand,
|
|
@@ -97,9 +92,6 @@ const commands = {
|
|
|
97
92
|
VerifyBotSecretKeyV1Command,
|
|
98
93
|
VerifyIdentityCommand,
|
|
99
94
|
};
|
|
100
|
-
const paginators = {
|
|
101
|
-
paginateListAccountEmailChanges,
|
|
102
|
-
};
|
|
103
95
|
export class Users extends UsersClient {
|
|
104
96
|
}
|
|
105
|
-
createAggregatedClient(commands, Users
|
|
97
|
+
createAggregatedClient(commands, Users);
|
|
@@ -43,12 +43,6 @@ function createWildixAuthXbsHttpAuthOption(authParameters) {
|
|
|
43
43
|
export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
44
44
|
const options = [];
|
|
45
45
|
switch (authParameters.operation) {
|
|
46
|
-
case "ApplyAccountWorkspaceChanges":
|
|
47
|
-
{
|
|
48
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
;
|
|
52
46
|
case "CreateAnonymousSession":
|
|
53
47
|
{
|
|
54
48
|
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
@@ -69,12 +63,6 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
69
63
|
break;
|
|
70
64
|
}
|
|
71
65
|
;
|
|
72
|
-
case "ListAccountEmailChanges":
|
|
73
|
-
{
|
|
74
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
75
|
-
break;
|
|
76
|
-
}
|
|
77
|
-
;
|
|
78
66
|
case "ListIdentities":
|
|
79
67
|
{
|
|
80
68
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./ApplyAccountWorkspaceChangesCommand";
|
|
2
1
|
export * from "./BatchGetUsersCommand";
|
|
3
2
|
export * from "./BatchGetUsersEmailNotificationsSettingsCommand";
|
|
4
3
|
export * from "./BatchGetUsersPbxLinkDataCommand";
|
|
@@ -22,7 +21,6 @@ export * from "./GetUserPbxLinkSuggestionV1Command";
|
|
|
22
21
|
export * from "./IntelligenceSearchCommand";
|
|
23
22
|
export * from "./InviteCommand";
|
|
24
23
|
export * from "./LinkIdentityCommand";
|
|
25
|
-
export * from "./ListAccountEmailChangesCommand";
|
|
26
24
|
export * from "./ListBotApiKeysCommand";
|
|
27
25
|
export * from "./ListBotsCommand";
|
|
28
26
|
export * from "./ListIdentitiesCommand";
|
package/dist-es/index.js
CHANGED
package/dist-es/models/enums.js
CHANGED
|
@@ -61,72 +61,6 @@ export const AppType = {
|
|
|
61
61
|
X_BEES: "x-bees",
|
|
62
62
|
X_HOPPERS: "x-hoppers",
|
|
63
63
|
};
|
|
64
|
-
export const AccountEmailChangeStatus = {
|
|
65
|
-
ABORTED: "ABORTED",
|
|
66
|
-
FAILED: "FAILED",
|
|
67
|
-
PENDING_REDRIVE: "PENDING_REDRIVE",
|
|
68
|
-
RUNNING: "RUNNING",
|
|
69
|
-
SUCCEEDED: "SUCCEEDED",
|
|
70
|
-
TIMED_OUT: "TIMED_OUT",
|
|
71
|
-
};
|
|
72
|
-
export const AccountWorkspaceChangeOperation = {
|
|
73
|
-
ATTACH: "attach",
|
|
74
|
-
DETACH: "detach",
|
|
75
|
-
MAKE_DEFAULT: "makeDefault",
|
|
76
|
-
};
|
|
77
|
-
export const AccountWorkspaceRefusalCode = {
|
|
78
|
-
COMPANY_WORKSPACE_TAKEN: "company_workspace_taken",
|
|
79
|
-
DELETED_WORKSPACE: "deleted_workspace",
|
|
80
|
-
EXPECTED_INCOMPLETE: "expected_incomplete",
|
|
81
|
-
FOREIGN_STREAM_EMAIL: "foreign_stream_email",
|
|
82
|
-
NO_DEFAULT: "no_default",
|
|
83
|
-
TOO_MANY_WRITES: "too_many_writes",
|
|
84
|
-
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
85
|
-
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
86
|
-
WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
|
|
87
|
-
WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
|
|
88
|
-
};
|
|
89
|
-
export const AccountWorkspaceCheckCode = {
|
|
90
|
-
COMPANY_WORKSPACE_TAKEN: "company_workspace_taken",
|
|
91
|
-
CONFLICT: "conflict",
|
|
92
|
-
DELETED_WORKSPACE: "deleted_workspace",
|
|
93
|
-
EMAIL_ROUTING_CHANGES: "email_routing_changes",
|
|
94
|
-
EXPECTED_INCOMPLETE: "expected_incomplete",
|
|
95
|
-
FOREIGN_STREAM_EMAIL: "foreign_stream_email",
|
|
96
|
-
NO_DEFAULT: "no_default",
|
|
97
|
-
ORPHAN_DEFAULT_MOVED: "orphan_default_moved",
|
|
98
|
-
ORPHAN_PERSONAL_WORKSPACE_CREATED: "orphan_personal_workspace_created",
|
|
99
|
-
TOO_MANY_WRITES: "too_many_writes",
|
|
100
|
-
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
101
|
-
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
102
|
-
WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
|
|
103
|
-
WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
|
|
104
|
-
};
|
|
105
|
-
export const AccountWorkspaceEffectName = {
|
|
106
|
-
CACHE: "cache",
|
|
107
|
-
COGNITO: "cognito",
|
|
108
|
-
};
|
|
109
|
-
export const AccountWorkspaceEffectStatus = {
|
|
110
|
-
FAILED: "failed",
|
|
111
|
-
OK: "ok",
|
|
112
|
-
SKIPPED: "skipped",
|
|
113
|
-
};
|
|
114
|
-
export const AccountWorkspaceRowEntity = {
|
|
115
|
-
ACCOUNT_SETTINGS: "accountSettings",
|
|
116
|
-
MEMBERSHIP: "membership",
|
|
117
|
-
PBX: "pbx",
|
|
118
|
-
STREAM: "stream",
|
|
119
|
-
};
|
|
120
|
-
export const WorkspaceType = {
|
|
121
|
-
PERSONAL: "personal",
|
|
122
|
-
SUPPORT: "support",
|
|
123
|
-
WORK: "work",
|
|
124
|
-
};
|
|
125
|
-
export const AccountWorkspaceWriteKind = {
|
|
126
|
-
DELETE: "delete",
|
|
127
|
-
PUT: "put",
|
|
128
|
-
UPDATE: "update",
|
|
129
|
-
};
|
|
130
64
|
export const BotAccess = {
|
|
131
65
|
EVERYBODY: "EVERYBODY",
|
|
132
66
|
ORGANIZATION: "ORGANIZATION",
|
|
@@ -159,3 +93,8 @@ export const BotLlmFunctionIntegrationMethod = {
|
|
|
159
93
|
export const BotLlmToolType = {
|
|
160
94
|
FUNCTION: "function",
|
|
161
95
|
};
|
|
96
|
+
export const WorkspaceType = {
|
|
97
|
+
PERSONAL: "personal",
|
|
98
|
+
SUPPORT: "support",
|
|
99
|
+
WORK: "work",
|
|
100
|
+
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -79,42 +79,6 @@ export class AccountNotFoundException extends __BaseException {
|
|
|
79
79
|
Object.setPrototypeOf(this, AccountNotFoundException.prototype);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
export class AccountWorkspaceChangeRefusedException extends __BaseException {
|
|
83
|
-
name = "AccountWorkspaceChangeRefusedException";
|
|
84
|
-
$fault = "client";
|
|
85
|
-
code;
|
|
86
|
-
row;
|
|
87
|
-
accountId;
|
|
88
|
-
workspaceId;
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "AccountWorkspaceChangeRefusedException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, AccountWorkspaceChangeRefusedException.prototype);
|
|
96
|
-
this.code = opts.code;
|
|
97
|
-
this.row = opts.row;
|
|
98
|
-
this.accountId = opts.accountId;
|
|
99
|
-
this.workspaceId = opts.workspaceId;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
export class AccountWorkspaceConflictException extends __BaseException {
|
|
103
|
-
name = "AccountWorkspaceConflictException";
|
|
104
|
-
$fault = "client";
|
|
105
|
-
row;
|
|
106
|
-
field;
|
|
107
|
-
constructor(opts) {
|
|
108
|
-
super({
|
|
109
|
-
name: "AccountWorkspaceConflictException",
|
|
110
|
-
$fault: "client",
|
|
111
|
-
...opts,
|
|
112
|
-
});
|
|
113
|
-
Object.setPrototypeOf(this, AccountWorkspaceConflictException.prototype);
|
|
114
|
-
this.row = opts.row;
|
|
115
|
-
this.field = opts.field;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
82
|
export class BotAlreadyExistsException extends __BaseException {
|
|
119
83
|
name = "BotAlreadyExistsException";
|
|
120
84
|
$fault = "client";
|