@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-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, { paginators });
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
@@ -2,7 +2,6 @@ export * from "./UsersClient";
2
2
  export * from "./Users";
3
3
  export * from "./commands";
4
4
  export * from "./schemas/schemas_0";
5
- export * from "./pagination";
6
5
  export * from "./models/enums";
7
6
  export * from "./models/errors";
8
7
  export * from "./models/models_0";
@@ -61,78 +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
- DELETED_WORKSPACE: "deleted_workspace",
79
- EXPECTED_INCOMPLETE: "expected_incomplete",
80
- FOREIGN_STREAM_EMAIL: "foreign_stream_email",
81
- NO_DEFAULT: "no_default",
82
- PBX_OTHER_COMPANY: "pbx_other_company",
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
- CONFLICT: "conflict",
91
- DELETED_WORKSPACE: "deleted_workspace",
92
- EMAIL_ROUTING_CHANGES: "email_routing_changes",
93
- EXPECTED_INCOMPLETE: "expected_incomplete",
94
- FOREIGN_STREAM_EMAIL: "foreign_stream_email",
95
- NO_DEFAULT: "no_default",
96
- ORPHAN_DEFAULT_MOVED: "orphan_default_moved",
97
- ORPHAN_PERSONAL_WORKSPACE_CREATED: "orphan_personal_workspace_created",
98
- PBX_LINK_MOVES: "pbx_link_moves",
99
- PBX_LINK_STAYS: "pbx_link_stays",
100
- PBX_OTHER_COMPANY: "pbx_other_company",
101
- TOO_MANY_WRITES: "too_many_writes",
102
- WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
103
- WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
104
- WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
105
- WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
106
- };
107
- export const AccountWorkspaceEffectName = {
108
- CACHE: "cache",
109
- COGNITO: "cognito",
110
- JOB: "job",
111
- STREAM: "stream",
112
- };
113
- export const AccountWorkspaceEffectStatus = {
114
- FAILED: "failed",
115
- OK: "ok",
116
- SKIPPED: "skipped",
117
- };
118
- export const AccountWorkspaceRowEntity = {
119
- ACCOUNT_SETTINGS: "accountSettings",
120
- MEMBERSHIP: "membership",
121
- PBX: "pbx",
122
- PBX_USER: "pbxUser",
123
- STREAM: "stream",
124
- };
125
- export const WorkspaceType = {
126
- PERSONAL: "personal",
127
- SUPPORT: "support",
128
- WORK: "work",
129
- };
130
- export const AccountWorkspaceWriteKind = {
131
- APPEND: "append",
132
- DELETE: "delete",
133
- PUT: "put",
134
- UPDATE: "update",
135
- };
136
64
  export const BotAccess = {
137
65
  EVERYBODY: "EVERYBODY",
138
66
  ORGANIZATION: "ORGANIZATION",
@@ -165,3 +93,8 @@ export const BotLlmFunctionIntegrationMethod = {
165
93
  export const BotLlmToolType = {
166
94
  FUNCTION: "function",
167
95
  };
96
+ export const WorkspaceType = {
97
+ PERSONAL: "personal",
98
+ SUPPORT: "support",
99
+ WORK: "work",
100
+ };
@@ -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";