@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
@@ -1,5 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
- import { type ApplyAccountWorkspaceChangesCommandInput, type ApplyAccountWorkspaceChangesCommandOutput } from "./commands/ApplyAccountWorkspaceChangesCommand";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
3
2
  import { type BatchGetUsersCommandInput, type BatchGetUsersCommandOutput } from "./commands/BatchGetUsersCommand";
4
3
  import { type BatchGetUsersEmailNotificationsSettingsCommandInput, type BatchGetUsersEmailNotificationsSettingsCommandOutput } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
5
4
  import { type BatchGetUsersPbxLinkDataCommandInput, type BatchGetUsersPbxLinkDataCommandOutput } from "./commands/BatchGetUsersPbxLinkDataCommand";
@@ -23,7 +22,6 @@ import { type GetUserPbxLinkSuggestionV1CommandInput, type GetUserPbxLinkSuggest
23
22
  import { type IntelligenceSearchCommandInput, type IntelligenceSearchCommandOutput } from "./commands/IntelligenceSearchCommand";
24
23
  import { type InviteCommandInput, type InviteCommandOutput } from "./commands/InviteCommand";
25
24
  import { type LinkIdentityCommandInput, type LinkIdentityCommandOutput } from "./commands/LinkIdentityCommand";
26
- import { type ListAccountEmailChangesCommandInput, type ListAccountEmailChangesCommandOutput } from "./commands/ListAccountEmailChangesCommand";
27
25
  import { type ListBotApiKeysCommandInput, type ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
28
26
  import { type ListBotsCommandInput, type ListBotsCommandOutput } from "./commands/ListBotsCommand";
29
27
  import { type ListIdentitiesCommandInput, type ListIdentitiesCommandOutput } from "./commands/ListIdentitiesCommand";
@@ -48,12 +46,6 @@ import { type VerifyBotSecretKeyV1CommandInput, type VerifyBotSecretKeyV1Command
48
46
  import { type VerifyIdentityCommandInput, type VerifyIdentityCommandOutput } from "./commands/VerifyIdentityCommand";
49
47
  import { UsersClient } from "./UsersClient";
50
48
  export interface Users {
51
- /**
52
- * @see {@link ApplyAccountWorkspaceChangesCommand}
53
- */
54
- applyAccountWorkspaceChanges(args: ApplyAccountWorkspaceChangesCommandInput, options?: __HttpHandlerOptions): Promise<ApplyAccountWorkspaceChangesCommandOutput>;
55
- applyAccountWorkspaceChanges(args: ApplyAccountWorkspaceChangesCommandInput, cb: (err: any, data?: ApplyAccountWorkspaceChangesCommandOutput) => void): void;
56
- applyAccountWorkspaceChanges(args: ApplyAccountWorkspaceChangesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApplyAccountWorkspaceChangesCommandOutput) => void): void;
57
49
  /**
58
50
  * @see {@link BatchGetUsersCommand}
59
51
  */
@@ -194,12 +186,6 @@ export interface Users {
194
186
  linkIdentity(args: LinkIdentityCommandInput, options?: __HttpHandlerOptions): Promise<LinkIdentityCommandOutput>;
195
187
  linkIdentity(args: LinkIdentityCommandInput, cb: (err: any, data?: LinkIdentityCommandOutput) => void): void;
196
188
  linkIdentity(args: LinkIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LinkIdentityCommandOutput) => void): void;
197
- /**
198
- * @see {@link ListAccountEmailChangesCommand}
199
- */
200
- listAccountEmailChanges(args: ListAccountEmailChangesCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountEmailChangesCommandOutput>;
201
- listAccountEmailChanges(args: ListAccountEmailChangesCommandInput, cb: (err: any, data?: ListAccountEmailChangesCommandOutput) => void): void;
202
- listAccountEmailChanges(args: ListAccountEmailChangesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountEmailChangesCommandOutput) => void): void;
203
189
  /**
204
190
  * @see {@link ListBotApiKeysCommand}
205
191
  */
@@ -334,13 +320,6 @@ export interface Users {
334
320
  verifyIdentity(args: VerifyIdentityCommandInput, options?: __HttpHandlerOptions): Promise<VerifyIdentityCommandOutput>;
335
321
  verifyIdentity(args: VerifyIdentityCommandInput, cb: (err: any, data?: VerifyIdentityCommandOutput) => void): void;
336
322
  verifyIdentity(args: VerifyIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyIdentityCommandOutput) => void): void;
337
- /**
338
- * @see {@link ListAccountEmailChangesCommand}
339
- * @param args - command input.
340
- * @param paginationConfig - optional pagination config.
341
- * @returns AsyncIterable of {@link ListAccountEmailChangesCommandOutput}.
342
- */
343
- paginateListAccountEmailChanges(args: ListAccountEmailChangesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccountEmailChangesCommandOutput>;
344
323
  }
345
324
  /**
346
325
  * @public
@@ -5,7 +5,6 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
6
6
  import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
7
7
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
8
- import type { ApplyAccountWorkspaceChangesCommandInput, ApplyAccountWorkspaceChangesCommandOutput } from "./commands/ApplyAccountWorkspaceChangesCommand";
9
8
  import type { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "./commands/BatchGetUsersCommand";
10
9
  import type { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
11
10
  import type { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "./commands/BatchGetUsersPbxLinkDataCommand";
@@ -29,7 +28,6 @@ import type { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1
29
28
  import type { IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput } from "./commands/IntelligenceSearchCommand";
30
29
  import type { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
31
30
  import type { LinkIdentityCommandInput, LinkIdentityCommandOutput } from "./commands/LinkIdentityCommand";
32
- import type { ListAccountEmailChangesCommandInput, ListAccountEmailChangesCommandOutput } from "./commands/ListAccountEmailChangesCommand";
33
31
  import type { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
34
32
  import type { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
35
33
  import type { ListIdentitiesCommandInput, ListIdentitiesCommandOutput } from "./commands/ListIdentitiesCommand";
@@ -58,11 +56,11 @@ export { __Client };
58
56
  /**
59
57
  * @public
60
58
  */
61
- export type ServiceInputTypes = ApplyAccountWorkspaceChangesCommandInput | BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateAnonymousSessionCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetAccountCommandInput | GetAppVersionCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | IntelligenceSearchCommandInput | InviteCommandInput | LinkIdentityCommandInput | ListAccountEmailChangesCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | ListIdentitiesCommandInput | ListWorkspacesCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UnlinkIdentityCommandInput | UnlinkWorkspaceCommandInput | UpdateAccountCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UpdateWorkspaceCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput | VerifyIdentityCommandInput;
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;
62
60
  /**
63
61
  * @public
64
62
  */
65
- export type ServiceOutputTypes = ApplyAccountWorkspaceChangesCommandOutput | BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateAnonymousSessionCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetAccountCommandOutput | GetAppVersionCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | IntelligenceSearchCommandOutput | InviteCommandOutput | LinkIdentityCommandOutput | ListAccountEmailChangesCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | ListIdentitiesCommandOutput | ListWorkspacesCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UnlinkIdentityCommandOutput | UnlinkWorkspaceCommandOutput | UpdateAccountCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UpdateWorkspaceCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput | VerifyIdentityCommandOutput;
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;
66
64
  /**
67
65
  * @public
68
66
  */
@@ -64,6 +64,7 @@ declare const QueryColleaguesCommand_base: {
64
64
  * sort: [
65
65
  * "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
66
66
  * ],
67
+ * sortBy: "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
67
68
  * start: Number("int"),
68
69
  * count: Number("int"),
69
70
  * dir: "asc" || "desc",
@@ -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";
@@ -5,7 +5,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
5
5
  export type { UsersExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./schemas/schemas_0";
8
- export * from "./pagination";
9
8
  export * from "./models/enums";
10
9
  export * from "./models/errors";
11
10
  export * from "./models/models_0";
@@ -124,294 +124,6 @@ export declare const AppType: {
124
124
  * @public
125
125
  */
126
126
  export type AppType = (typeof AppType)[keyof typeof AppType];
127
- /**
128
- * @public
129
- * @enum
130
- */
131
- export declare const AccountEmailChangeStatus: {
132
- readonly ABORTED: "ABORTED";
133
- readonly FAILED: "FAILED";
134
- readonly PENDING_REDRIVE: "PENDING_REDRIVE";
135
- readonly RUNNING: "RUNNING";
136
- readonly SUCCEEDED: "SUCCEEDED";
137
- readonly TIMED_OUT: "TIMED_OUT";
138
- };
139
- /**
140
- * @public
141
- */
142
- export type AccountEmailChangeStatus = (typeof AccountEmailChangeStatus)[keyof typeof AccountEmailChangeStatus];
143
- /**
144
- * @public
145
- * @enum
146
- */
147
- export declare const AccountWorkspaceChangeOperation: {
148
- /**
149
- * Move the membership of the workspace from `fromAccountId` to the change's account (keeping its `type`), or, without `fromAccountId`, attach a workspace that has no membership in any account.
150
- */
151
- readonly ATTACH: "attach";
152
- /**
153
- * Remove the membership of the workspace from the change's account. The Stream and Pbx rows of the workspace and its channels stay.
154
- */
155
- readonly DETACH: "detach";
156
- /**
157
- * Make the workspace the account's default (the one sign-in opens). The PBX link moves with the default, see ApplyAccountWorkspaceChanges.
158
- */
159
- readonly MAKE_DEFAULT: "makeDefault";
160
- };
161
- /**
162
- * @public
163
- */
164
- export type AccountWorkspaceChangeOperation = (typeof AccountWorkspaceChangeOperation)[keyof typeof AccountWorkspaceChangeOperation];
165
- /**
166
- * @public
167
- * @enum
168
- */
169
- export declare const AccountWorkspaceRefusalCode: {
170
- /**
171
- * The workspace is deleted.
172
- */
173
- readonly DELETED_WORKSPACE: "deleted_workspace";
174
- /**
175
- * A row the change touches is missing from `expected`, or lacks the fields it must carry.
176
- */
177
- readonly EXPECTED_INCOMPLETE: "expected_incomplete";
178
- /**
179
- * The workspace's Stream email belongs to another person.
180
- */
181
- readonly FOREIGN_STREAM_EMAIL: "foreign_stream_email";
182
- /**
183
- * A login account (one that still has an identity) would be left without a default workspace. It never gets an automatic default.
184
- */
185
- readonly NO_DEFAULT: "no_default";
186
- /**
187
- * makeDefault onto a workspace of another company that has no PBX link of its own: the PBX link does not move there.
188
- */
189
- readonly PBX_OTHER_COMPANY: "pbx_other_company";
190
- /**
191
- * The plan needs more row writes than one DynamoDB transaction holds (100).
192
- */
193
- readonly TOO_MANY_WRITES: "too_many_writes";
194
- /**
195
- * attach: the workspace is already a membership of the change's `accountId`.
196
- */
197
- readonly WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account";
198
- /**
199
- * attach without `fromAccountId`: the workspace is a member of an account (found through the `AccountsByWorkspace` index), so it is not detached. Name the account in `fromAccountId`.
200
- */
201
- readonly WORKSPACE_HAS_ACCOUNT: "workspace_has_account";
202
- /**
203
- * detach or makeDefault: the workspace is not a membership of the change's `accountId`.
204
- */
205
- readonly WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account";
206
- /**
207
- * attach with `fromAccountId`: the workspace is not a membership of `fromAccountId` (or that account does not exist).
208
- */
209
- readonly WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account";
210
- };
211
- /**
212
- * @public
213
- */
214
- export type AccountWorkspaceRefusalCode = (typeof AccountWorkspaceRefusalCode)[keyof typeof AccountWorkspaceRefusalCode];
215
- /**
216
- * @public
217
- * @enum
218
- */
219
- export declare const AccountWorkspaceCheckCode: {
220
- /**
221
- * Blocking. A row differs from `expected`: `row` names it, and `field` the differing attribute when the row exists as expected. On apply: AccountWorkspaceConflictException.
222
- */
223
- readonly CONFLICT: "conflict";
224
- /**
225
- * Blocking, see AccountWorkspaceRefusalCode.
226
- */
227
- readonly DELETED_WORKSPACE: "deleted_workspace";
228
- /**
229
- * Not blocking. The account gets a new default: email resolution (direct messages, invites, call messages) follows it.
230
- */
231
- readonly EMAIL_ROUTING_CHANGES: "email_routing_changes";
232
- /**
233
- * Blocking, see AccountWorkspaceRefusalCode.
234
- */
235
- readonly EXPECTED_INCOMPLETE: "expected_incomplete";
236
- /**
237
- * Blocking, see AccountWorkspaceRefusalCode.
238
- */
239
- readonly FOREIGN_STREAM_EMAIL: "foreign_stream_email";
240
- /**
241
- * Blocking, see AccountWorkspaceRefusalCode.
242
- */
243
- readonly NO_DEFAULT: "no_default";
244
- /**
245
- * Not blocking. An orphaned account loses its default: the default moves to its remaining active workspace with the latest `lastUsedAt` (`workspaceId`, `accountId`).
246
- */
247
- readonly ORPHAN_DEFAULT_MOVED: "orphan_default_moved";
248
- /**
249
- * Not blocking. An orphaned account is left with no active workspace: a new personal workspace is created and becomes its default.
250
- */
251
- readonly ORPHAN_PERSONAL_WORKSPACE_CREATED: "orphan_personal_workspace_created";
252
- /**
253
- * Not blocking. makeDefault: the PBX link moves to the new default (a personal workspace becomes work).
254
- */
255
- readonly PBX_LINK_MOVES: "pbx_link_moves";
256
- /**
257
- * Not blocking. makeDefault onto a workspace of another company with its own PBX link: only the default changes, each workspace keeps its PBX link.
258
- */
259
- readonly PBX_LINK_STAYS: "pbx_link_stays";
260
- /**
261
- * Blocking, see AccountWorkspaceRefusalCode.
262
- */
263
- readonly PBX_OTHER_COMPANY: "pbx_other_company";
264
- /**
265
- * Blocking, see AccountWorkspaceRefusalCode.
266
- */
267
- readonly TOO_MANY_WRITES: "too_many_writes";
268
- /**
269
- * Blocking, see AccountWorkspaceRefusalCode.
270
- */
271
- readonly WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account";
272
- /**
273
- * Blocking, see AccountWorkspaceRefusalCode.
274
- */
275
- readonly WORKSPACE_HAS_ACCOUNT: "workspace_has_account";
276
- /**
277
- * Blocking, see AccountWorkspaceRefusalCode.
278
- */
279
- readonly WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account";
280
- /**
281
- * Blocking, see AccountWorkspaceRefusalCode.
282
- */
283
- readonly WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account";
284
- };
285
- /**
286
- * @public
287
- */
288
- export type AccountWorkspaceCheckCode = (typeof AccountWorkspaceCheckCode)[keyof typeof AccountWorkspaceCheckCode];
289
- /**
290
- * @public
291
- * @enum
292
- */
293
- export declare const AccountWorkspaceEffectName: {
294
- /**
295
- * Workspaces cache of a touched account invalidated (version bump).
296
- */
297
- readonly CACHE: "cache";
298
- /**
299
- * `custom:wid` set to the new default on the Cognito users of the account's identities. Applies at the next token refresh.
300
- */
301
- readonly COGNITO: "cognito";
302
- /**
303
- * External-flag job scheduled for a workspace.
304
- */
305
- readonly JOB: "job";
306
- /**
307
- * GetStream user PBX fields moved between workspaces.
308
- */
309
- readonly STREAM: "stream";
310
- };
311
- /**
312
- * @public
313
- */
314
- export type AccountWorkspaceEffectName = (typeof AccountWorkspaceEffectName)[keyof typeof AccountWorkspaceEffectName];
315
- /**
316
- * @public
317
- * @enum
318
- */
319
- export declare const AccountWorkspaceEffectStatus: {
320
- /**
321
- * Failed. The committed change stays; `detail` says what failed.
322
- */
323
- readonly FAILED: "failed";
324
- /**
325
- * Done.
326
- */
327
- readonly OK: "ok";
328
- /**
329
- * Not needed or nothing to do, e.g. no Cognito user found for an identity; `detail` says why.
330
- */
331
- readonly SKIPPED: "skipped";
332
- };
333
- /**
334
- * @public
335
- */
336
- export type AccountWorkspaceEffectStatus = (typeof AccountWorkspaceEffectStatus)[keyof typeof AccountWorkspaceEffectStatus];
337
- /**
338
- * @public
339
- * @enum
340
- */
341
- export declare const AccountWorkspaceRowEntity: {
342
- /**
343
- * Account settings: `Account#<acc>/Settings` (`defaultWorkspace`).
344
- */
345
- readonly ACCOUNT_SETTINGS: "accountSettings";
346
- /**
347
- * Membership of a workspace in an account: `Account#<acc>/Workspace#<ws>`.
348
- */
349
- readonly MEMBERSHIP: "membership";
350
- /**
351
- * PBX link of a workspace: `Workspace#<ws>/Pbx`.
352
- */
353
- readonly PBX: "pbx";
354
- /**
355
- * PBX user record with its `linkHistory`: `PbxUser#…`.
356
- */
357
- readonly PBX_USER: "pbxUser";
358
- /**
359
- * Stream link of a workspace: `Workspace#<ws>/Stream`.
360
- */
361
- readonly STREAM: "stream";
362
- };
363
- /**
364
- * @public
365
- */
366
- export type AccountWorkspaceRowEntity = (typeof AccountWorkspaceRowEntity)[keyof typeof AccountWorkspaceRowEntity];
367
- /**
368
- * @public
369
- * @enum
370
- */
371
- export declare const WorkspaceType: {
372
- /**
373
- * User is not linked to any company.
374
- */
375
- readonly PERSONAL: "personal";
376
- /**
377
- * Support staff with temporary access to a user's workspace.
378
- */
379
- readonly SUPPORT: "support";
380
- /**
381
- * User is a colleague of the company.
382
- */
383
- readonly WORK: "work";
384
- };
385
- /**
386
- * @public
387
- */
388
- export type WorkspaceType = (typeof WorkspaceType)[keyof typeof WorkspaceType];
389
- /**
390
- * @public
391
- * @enum
392
- */
393
- export declare const AccountWorkspaceWriteKind: {
394
- /**
395
- * Entries are appended to list attributes of a row (`linkHistory`, entries with `source: 'stream-console'`): `after` holds the appended entries only, `before` is absent.
396
- */
397
- readonly APPEND: "append";
398
- /**
399
- * The row is deleted: `before` is the whole deleted row, `after` is absent.
400
- */
401
- readonly DELETE: "delete";
402
- /**
403
- * The row is created or replaced: `after` is the whole new row, `before` the replaced row (absent when the row did not exist).
404
- */
405
- readonly PUT: "put";
406
- /**
407
- * Attributes of an existing row are set or removed: `before` and `after` hold the changed attributes only (`null` = absent).
408
- */
409
- readonly UPDATE: "update";
410
- };
411
- /**
412
- * @public
413
- */
414
- export type AccountWorkspaceWriteKind = (typeof AccountWorkspaceWriteKind)[keyof typeof AccountWorkspaceWriteKind];
415
127
  /**
416
128
  * @public
417
129
  * @enum
@@ -492,3 +204,25 @@ export declare const BotLlmToolType: {
492
204
  * @public
493
205
  */
494
206
  export type BotLlmToolType = (typeof BotLlmToolType)[keyof typeof BotLlmToolType];
207
+ /**
208
+ * @public
209
+ * @enum
210
+ */
211
+ export declare const WorkspaceType: {
212
+ /**
213
+ * User is not linked to any company.
214
+ */
215
+ readonly PERSONAL: "personal";
216
+ /**
217
+ * Support staff with temporary access to a user's workspace.
218
+ */
219
+ readonly SUPPORT: "support";
220
+ /**
221
+ * User is a colleague of the company.
222
+ */
223
+ readonly WORK: "work";
224
+ };
225
+ /**
226
+ * @public
227
+ */
228
+ export type WorkspaceType = (typeof WorkspaceType)[keyof typeof WorkspaceType];
@@ -1,6 +1,4 @@
1
1
  import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
- import type { AccountWorkspaceRefusalCode } from "./enums";
3
- import type { AccountWorkspaceRowKey } from "./models_0";
4
2
  import { UsersServiceException as __BaseException } from "./UsersServiceException";
5
3
  /**
6
4
  * @public
@@ -88,60 +86,6 @@ export declare class AccountNotFoundException extends __BaseException {
88
86
  */
89
87
  constructor(opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>);
90
88
  }
91
- /**
92
- * The change breaks a rule of the owner and is refused (an apply whose checks hold a blocking refusal). Nothing was written. When several refusals apply, the first one found is named; a dry run lists every one as a blocking check.
93
- * @public
94
- */
95
- export declare class AccountWorkspaceChangeRefusedException extends __BaseException {
96
- readonly name: "AccountWorkspaceChangeRefusedException";
97
- readonly $fault: "client";
98
- /**
99
- * Why the change is refused.
100
- * @public
101
- */
102
- code: AccountWorkspaceRefusalCode;
103
- /**
104
- * The row the refusal is about, when it is about one (always for `expected_incomplete`).
105
- * @public
106
- */
107
- row?: AccountWorkspaceRowKey | undefined;
108
- /**
109
- * The account the refusal is about, when it is about one.
110
- * @public
111
- */
112
- accountId?: string | undefined;
113
- /**
114
- * The workspace the refusal is about, when it is about one.
115
- * @public
116
- */
117
- workspaceId?: string | undefined;
118
- /**
119
- * @internal
120
- */
121
- constructor(opts: __ExceptionOptionType<AccountWorkspaceChangeRefusedException, __BaseException>);
122
- }
123
- /**
124
- * A row the change touches no longer holds the values in `expected` (another writer changed it after the caller read it). Nothing was written. When several rows differ, the first one found is named; a dry run lists every one as a `conflict` check. Read the rows again and retry with fresh `expected`.
125
- * @public
126
- */
127
- export declare class AccountWorkspaceConflictException extends __BaseException {
128
- readonly name: "AccountWorkspaceConflictException";
129
- readonly $fault: "client";
130
- /**
131
- * The row that differs.
132
- * @public
133
- */
134
- row: AccountWorkspaceRowKey;
135
- /**
136
- * The attribute of that row whose stored value differs from `expected`. Present when the row exists as expected but a listed field differs; absent when a row expected absent now exists or a row expected present is gone, then only `row` names the conflict.
137
- * @public
138
- */
139
- field?: string | undefined;
140
- /**
141
- * @internal
142
- */
143
- constructor(opts: __ExceptionOptionType<AccountWorkspaceConflictException, __BaseException>);
144
- }
145
89
  /**
146
90
  * @public
147
91
  */