@wildix/xbees-users-client 4.4.0-wms29809.1 → 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.
Files changed (39) hide show
  1. package/dist-cjs/Users.js +1 -9
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -12
  3. package/dist-cjs/commands/index.js +0 -2
  4. package/dist-cjs/index.js +0 -1
  5. package/dist-cjs/models/enums.js +6 -73
  6. package/dist-cjs/models/errors.js +1 -39
  7. package/dist-cjs/schemas/schemas_0.js +106 -294
  8. package/dist-es/Users.js +1 -9
  9. package/dist-es/auth/httpAuthSchemeProvider.js +0 -12
  10. package/dist-es/commands/index.js +0 -2
  11. package/dist-es/index.js +0 -1
  12. package/dist-es/models/enums.js +5 -72
  13. package/dist-es/models/errors.js +0 -36
  14. package/dist-es/schemas/schemas_0.js +102 -290
  15. package/dist-types/Users.d.ts +1 -22
  16. package/dist-types/UsersClient.d.ts +2 -4
  17. package/dist-types/commands/QueryColleaguesCommand.d.ts +1 -0
  18. package/dist-types/commands/index.d.ts +0 -2
  19. package/dist-types/index.d.ts +0 -1
  20. package/dist-types/models/enums.d.ts +22 -288
  21. package/dist-types/models/errors.d.ts +0 -56
  22. package/dist-types/models/models_0.d.ts +12 -417
  23. package/dist-types/schemas/schemas_0.d.ts +0 -19
  24. package/package.json +1 -1
  25. package/dist-cjs/commands/ApplyAccountWorkspaceChangesCommand.js +0 -20
  26. package/dist-cjs/commands/ListAccountEmailChangesCommand.js +0 -20
  27. package/dist-cjs/pagination/Interfaces.js +0 -2
  28. package/dist-cjs/pagination/ListAccountEmailChangesPaginator.js +0 -7
  29. package/dist-cjs/pagination/index.js +0 -5
  30. package/dist-es/commands/ApplyAccountWorkspaceChangesCommand.js +0 -16
  31. package/dist-es/commands/ListAccountEmailChangesCommand.js +0 -16
  32. package/dist-es/pagination/Interfaces.js +0 -1
  33. package/dist-es/pagination/ListAccountEmailChangesPaginator.js +0 -4
  34. package/dist-es/pagination/index.js +0 -2
  35. package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +0 -193
  36. package/dist-types/commands/ListAccountEmailChangesCommand.d.ts +0 -101
  37. package/dist-types/pagination/Interfaces.d.ts +0 -8
  38. package/dist-types/pagination/ListAccountEmailChangesPaginator.d.ts +0 -7
  39. 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, { paginators });
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);
@@ -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.AccountWorkspaceWriteKind = exports.WorkspaceType = exports.AccountWorkspaceRowEntity = exports.AccountWorkspaceEffectStatus = exports.AccountWorkspaceEffectName = exports.AccountWorkspaceCheckCode = exports.AccountWorkspaceRefusalCode = exports.AccountWorkspaceChangeOperation = exports.AccountEmailChangeStatus = 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 = void 0;
4
4
  exports.PbxLicenseType = {
5
5
  BASIC: "basic",
6
6
  BUSINESS: "business",
@@ -64,78 +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
- DELETED_WORKSPACE: "deleted_workspace",
82
- EXPECTED_INCOMPLETE: "expected_incomplete",
83
- FOREIGN_STREAM_EMAIL: "foreign_stream_email",
84
- NO_DEFAULT: "no_default",
85
- PBX_OTHER_COMPANY: "pbx_other_company",
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
- CONFLICT: "conflict",
94
- DELETED_WORKSPACE: "deleted_workspace",
95
- EMAIL_ROUTING_CHANGES: "email_routing_changes",
96
- EXPECTED_INCOMPLETE: "expected_incomplete",
97
- FOREIGN_STREAM_EMAIL: "foreign_stream_email",
98
- NO_DEFAULT: "no_default",
99
- ORPHAN_DEFAULT_MOVED: "orphan_default_moved",
100
- ORPHAN_PERSONAL_WORKSPACE_CREATED: "orphan_personal_workspace_created",
101
- PBX_LINK_MOVES: "pbx_link_moves",
102
- PBX_LINK_STAYS: "pbx_link_stays",
103
- PBX_OTHER_COMPANY: "pbx_other_company",
104
- TOO_MANY_WRITES: "too_many_writes",
105
- WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
106
- WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
107
- WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
108
- WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
109
- };
110
- exports.AccountWorkspaceEffectName = {
111
- CACHE: "cache",
112
- COGNITO: "cognito",
113
- JOB: "job",
114
- STREAM: "stream",
115
- };
116
- exports.AccountWorkspaceEffectStatus = {
117
- FAILED: "failed",
118
- OK: "ok",
119
- SKIPPED: "skipped",
120
- };
121
- exports.AccountWorkspaceRowEntity = {
122
- ACCOUNT_SETTINGS: "accountSettings",
123
- MEMBERSHIP: "membership",
124
- PBX: "pbx",
125
- PBX_USER: "pbxUser",
126
- STREAM: "stream",
127
- };
128
- exports.WorkspaceType = {
129
- PERSONAL: "personal",
130
- SUPPORT: "support",
131
- WORK: "work",
132
- };
133
- exports.AccountWorkspaceWriteKind = {
134
- APPEND: "append",
135
- DELETE: "delete",
136
- PUT: "put",
137
- UPDATE: "update",
138
- };
139
67
  exports.BotAccess = {
140
68
  EVERYBODY: "EVERYBODY",
141
69
  ORGANIZATION: "ORGANIZATION",
@@ -168,3 +96,8 @@ exports.BotLlmFunctionIntegrationMethod = {
168
96
  exports.BotLlmToolType = {
169
97
  FUNCTION: "function",
170
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.AccountWorkspaceConflictException = exports.AccountWorkspaceChangeRefusedException = exports.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
3
+ exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.IdentityNotFoundException = exports.IdentityAlreadyLinkedException = exports.PublicAccessIsRestrictedException = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.CannotUnbindDefaultWorkspaceException = exports.CannotRemovePrimaryIdentityException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotApiKeyNotFoundException = exports.BotAlreadyExistsException = exports.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.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";