@wildix/xbees-users-client 4.3.3-wms26787.2 → 4.4.0-stage.1
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 +9 -1
- package/dist-cjs/auth/httpAuthSchemeProvider.js +12 -0
- package/dist-cjs/commands/ApplyAccountWorkspaceChangesCommand.js +20 -0
- package/dist-cjs/commands/ListAccountEmailChangesCommand.js +20 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/enums.js +73 -6
- package/dist-cjs/models/errors.js +39 -1
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccountEmailChangesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/schemas/schemas_0.js +288 -102
- package/dist-es/Users.js +9 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +12 -0
- package/dist-es/commands/ApplyAccountWorkspaceChangesCommand.js +16 -0
- package/dist-es/commands/ListAccountEmailChangesCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +72 -5
- package/dist-es/models/errors.js +36 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccountEmailChangesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +284 -98
- package/dist-types/Users.d.ts +22 -1
- package/dist-types/UsersClient.d.ts +4 -2
- package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +193 -0
- package/dist-types/commands/ListAccountEmailChangesCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +288 -22
- package/dist-types/models/errors.d.ts +56 -0
- package/dist-types/models/models_0.d.ts +418 -2
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAccountEmailChangesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +19 -0
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, BotSessionTimeoutMinutes, GetPbxColleaguesDir, IdentityChallengeOperation, IdentityChallengeStep, IdentityType, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
|
|
2
|
+
import type { AccountEmailChangeStatus, AccountWorkspaceChangeOperation, AccountWorkspaceCheckCode, AccountWorkspaceEffectName, AccountWorkspaceEffectStatus, AccountWorkspaceRowEntity, AccountWorkspaceWriteKind, AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, BotSessionTimeoutMinutes, GetPbxColleaguesDir, IdentityChallengeOperation, IdentityChallengeStep, IdentityType, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -105,7 +105,7 @@ export interface UserToInvite {
|
|
|
105
105
|
*/
|
|
106
106
|
email?: string | undefined;
|
|
107
107
|
/**
|
|
108
|
-
* The phone number of the invited SMS/WhatsApp contact: an external customer who never signs in. This phone number is used to create or find the contact if an email address is not provided; it never finds the user who signs in via SMS with that number. On
|
|
108
|
+
* The phone number of the invited SMS/WhatsApp contact: an external customer who never signs in. This phone number is used to create or find the contact if an email address is not provided; it never finds the user who signs in via SMS with that number. On Messenger and Instagram it is not a phone number at all: the caller passes the channel's own customer id, the Page Scoped ID on Messenger, so the identity key stays the one the supplier reports. On RCS it is the person's phone number. A phone number allows up to 17 digits and a Page Scoped ID is 17, so there is no headroom left, and the Instagram scoped id has to be checked against the same limit. A WhatsApp user who hides the number is invited by the BSUID exactly as Meta spells it (see InviteePhone).
|
|
109
109
|
* @public
|
|
110
110
|
*/
|
|
111
111
|
phone?: string | undefined;
|
|
@@ -195,6 +195,332 @@ export interface Account {
|
|
|
195
195
|
*/
|
|
196
196
|
primaryIdentity?: string | undefined;
|
|
197
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* One execution of the change-email state machine.
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export interface AccountEmailChange {
|
|
203
|
+
/**
|
|
204
|
+
* ARN of the execution (the `sfnArn` ChangeUserEmail returned).
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
executionArn: string;
|
|
208
|
+
/**
|
|
209
|
+
* Status of the execution.
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
status: AccountEmailChangeStatus;
|
|
213
|
+
/**
|
|
214
|
+
* When the execution started, ISO-8601 UTC (e.g. `2026-05-07T05:35:00.000Z`).
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
startedAt: string;
|
|
218
|
+
/**
|
|
219
|
+
* When the execution stopped, ISO-8601 UTC. Absent while it runs.
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
stoppedAt?: string | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* The email the user had (`oldData.email` of the execution input).
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
oldEmail: string;
|
|
228
|
+
/**
|
|
229
|
+
* The email the user changes to (`newData.email` of the execution input).
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
newEmail: string;
|
|
233
|
+
/**
|
|
234
|
+
* The company of the old email (`oldData.companyId`), when the input holds it.
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
oldCompanyId?: string | undefined;
|
|
238
|
+
/**
|
|
239
|
+
* The company of the new email (`newData.companyId`), when the input holds it.
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
newCompanyId?: string | undefined;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* One change to the workspaces of an account.
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
export interface AccountWorkspaceChange {
|
|
249
|
+
/**
|
|
250
|
+
* The account the change acts on: for attach the destination account (it receives the workspace), for detach the account that loses it, for makeDefault the account whose default changes.
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
accountId: string;
|
|
254
|
+
/**
|
|
255
|
+
* What the change does.
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
op: AccountWorkspaceChangeOperation;
|
|
259
|
+
/**
|
|
260
|
+
* The workspace the change is about.
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
workspaceId: string;
|
|
264
|
+
/**
|
|
265
|
+
* attach only (refused for detach and makeDefault): the account the workspace is taken from (usually an orphaned account of the same person). Required when the workspace is a member of another account; omit it to attach a workspace that has no membership in any account (`workspace_has_account` otherwise). Must differ from `accountId`.
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
fromAccountId?: string | undefined;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* The console operator on whose behalf the change is made.
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
export interface AccountWorkspaceChangeOperator {
|
|
275
|
+
/**
|
|
276
|
+
* Email of the operator.
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
email: string;
|
|
280
|
+
/**
|
|
281
|
+
* Identifier of the operator in the caller's identity provider.
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
id?: string | undefined;
|
|
285
|
+
/**
|
|
286
|
+
* Display name of the operator.
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
name?: string | undefined;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* The key of an `XBeesUsers` row.
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export interface AccountWorkspaceRowKey {
|
|
296
|
+
/**
|
|
297
|
+
* Partition key of the row.
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
pk: string;
|
|
301
|
+
/**
|
|
302
|
+
* Sort key of the row.
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
sk: string;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* A finding of the plan's checks.
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
311
|
+
export interface AccountWorkspaceCheck {
|
|
312
|
+
/**
|
|
313
|
+
* What was found.
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
code: AccountWorkspaceCheckCode;
|
|
317
|
+
/**
|
|
318
|
+
* true when the change cannot be applied as long as this check is raised.
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
blocking: boolean;
|
|
322
|
+
/**
|
|
323
|
+
* The row the check is about, when it is about one (always for `conflict` and `expected_incomplete`).
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
row?: AccountWorkspaceRowKey | undefined;
|
|
327
|
+
/**
|
|
328
|
+
* For `conflict`: the attribute whose stored value differs from `expected`. Absent when a row expected absent now exists or a row expected present is gone: then only `row` names the conflict.
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
field?: string | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* The account the check is about, when it is about one.
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
accountId?: string | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* The workspace the check is about, when it is about one.
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
workspaceId?: string | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* Human-readable explanation, for the operator.
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
message: string;
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* One side effect and its outcome.
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
export interface AccountWorkspaceEffect {
|
|
353
|
+
/**
|
|
354
|
+
* Which side effect.
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
name: AccountWorkspaceEffectName;
|
|
358
|
+
/**
|
|
359
|
+
* Its outcome.
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
status: AccountWorkspaceEffectStatus;
|
|
363
|
+
/**
|
|
364
|
+
* What it was applied to: the Cognito username, the workspace id or the account id.
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
target?: string | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* Details: the error of a failure, the reason of a skip.
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
detail?: string | undefined;
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* A row as the caller read it: the condition the transaction checks before writing. Without `fields` the row is expected absent.
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
export interface AccountWorkspaceExpectedRow {
|
|
379
|
+
/**
|
|
380
|
+
* Partition key of the row.
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
pk: string;
|
|
384
|
+
/**
|
|
385
|
+
* Sort key of the row.
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
sk: string;
|
|
389
|
+
/**
|
|
390
|
+
* Omitted: the row is expected absent. Present (1 to 50 entries): the row is expected to exist, with the attributes the caller read, each a string, boolean, number or `null` (`\{attr: null\}`: the row exists and the attribute is absent). The owner compares every listed field with the stored row (an absent row must not exist). At least: membership rows `active` and `type`; `Settings` rows `defaultWorkspace`; `Pbx` and `Stream` rows the fields the caller shows (e.g. Pbx `company`, `domain`, `serial`; Stream `email`). Never `lastUsedAt` (a sign-in is not a conflict) and never Pbx credentials (`sipPassword`, `xmppPassword`): such fields, objects or lists answer ValidationException.
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
fields?: Record<string, __DocumentType | null> | undefined;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* The PBX link a workspace holds, without credentials.
|
|
397
|
+
* @public
|
|
398
|
+
*/
|
|
399
|
+
export interface AccountWorkspacePbxLink {
|
|
400
|
+
/**
|
|
401
|
+
* The company (tenant) of the PBX.
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
companyId: string;
|
|
405
|
+
/**
|
|
406
|
+
* The PBX domain.
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
domain: string;
|
|
410
|
+
/**
|
|
411
|
+
* The serial number of the PBX.
|
|
412
|
+
* @public
|
|
413
|
+
*/
|
|
414
|
+
serial: string;
|
|
415
|
+
/**
|
|
416
|
+
* The id of the user on the PBX.
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
pbxUserId?: string | undefined;
|
|
420
|
+
/**
|
|
421
|
+
* The extension of the user on the PBX.
|
|
422
|
+
* @public
|
|
423
|
+
*/
|
|
424
|
+
extension?: string | undefined;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* A workspace of an account after the change.
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
export interface AccountWorkspaceState {
|
|
431
|
+
/**
|
|
432
|
+
* The workspace (Stream user id).
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
435
|
+
id: string;
|
|
436
|
+
/**
|
|
437
|
+
* The membership type after the change.
|
|
438
|
+
* @public
|
|
439
|
+
*/
|
|
440
|
+
type?: WorkspaceType | undefined;
|
|
441
|
+
/**
|
|
442
|
+
* Whether the membership is active.
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
445
|
+
active: boolean;
|
|
446
|
+
/**
|
|
447
|
+
* Whether it is the account's default workspace (the one sign-in opens).
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
isDefault: boolean;
|
|
451
|
+
/**
|
|
452
|
+
* The company of the workspace, if any.
|
|
453
|
+
* @public
|
|
454
|
+
*/
|
|
455
|
+
companyId?: string | undefined;
|
|
456
|
+
/**
|
|
457
|
+
* The PBX link the workspace holds after the change. Absent when it holds none.
|
|
458
|
+
* @public
|
|
459
|
+
*/
|
|
460
|
+
pbxLink?: AccountWorkspacePbxLink | undefined;
|
|
461
|
+
/**
|
|
462
|
+
* true when the change creates this workspace: the new personal workspace of an orphaned account left with no active workspace.
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
created?: boolean | undefined;
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* A touched account and its workspaces after the change.
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
export interface AccountWorkspacesState {
|
|
472
|
+
/**
|
|
473
|
+
* The account (any account touched by the changes).
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
accountId: string;
|
|
477
|
+
/**
|
|
478
|
+
* The default workspace after the change. Absent when the account is left without one (a blocking `no_default` for a login account).
|
|
479
|
+
* @public
|
|
480
|
+
*/
|
|
481
|
+
defaultWorkspace?: string | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* Every workspace membership of the account after the change.
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
workspaces: AccountWorkspaceState[];
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* One row write of the change.
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
export interface AccountWorkspaceWrite {
|
|
493
|
+
/**
|
|
494
|
+
* Partition key of the row.
|
|
495
|
+
* @public
|
|
496
|
+
*/
|
|
497
|
+
pk: string;
|
|
498
|
+
/**
|
|
499
|
+
* Sort key of the row.
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
sk: string;
|
|
503
|
+
/**
|
|
504
|
+
* How the row is written.
|
|
505
|
+
* @public
|
|
506
|
+
*/
|
|
507
|
+
kind: AccountWorkspaceWriteKind;
|
|
508
|
+
/**
|
|
509
|
+
* What kind of row it is.
|
|
510
|
+
* @public
|
|
511
|
+
*/
|
|
512
|
+
entity: AccountWorkspaceRowEntity;
|
|
513
|
+
/**
|
|
514
|
+
* The row, or the changed attributes, before the write (see `kind`). Pbx credentials (`sipPassword`, `xmppPassword`) are never returned, wherever they sit in the row: a Pbx row restored from this value lacks them and needs a re-link or refresh from the PBX.
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
before?: Record<string, __DocumentType | null> | undefined;
|
|
518
|
+
/**
|
|
519
|
+
* The row, or the changed attributes, after the write (see `kind`). In a dry run, timestamps the write sets (e.g. `domainLinkedAt`) are those of the dry run; keep the backup from the apply output. Pbx credentials are never returned.
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
after?: Record<string, __DocumentType | null> | undefined;
|
|
523
|
+
}
|
|
198
524
|
/**
|
|
199
525
|
* @public
|
|
200
526
|
*/
|
|
@@ -235,6 +561,61 @@ export declare namespace AnonymousEntryContext {
|
|
|
235
561
|
_: (name: string, value: any) => T;
|
|
236
562
|
}
|
|
237
563
|
}
|
|
564
|
+
/**
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
export interface ApplyAccountWorkspaceChangesInput {
|
|
568
|
+
/**
|
|
569
|
+
* The changes of the whole draft, across accounts, evaluated together as one plan (their order does not matter); an unknown `accountId` of a change answers AccountNotFoundException, in a dry run too, while an unknown `fromAccountId` is the refusal `workspace_not_in_source_account`. Malformed lists answer ValidationException in both modes: `fromAccountId` present on detach/makeDefault, `fromAccountId` equal to `accountId`, more than one attach/detach of the same workspace on the same account (an attach with `fromAccountId` counts for its destination and for its source account), more than one makeDefault for the same account, detach and makeDefault of the same workspace in the same account, more than one attach of the same workspace in the whole list, a workspace detached from one account and attached to another in the same call other than as one attach with `fromAccountId` set to the account it leaves. A workspace may be detached from two accounts in one call. attach and makeDefault of the same workspace in the same account are allowed: the workspace is moved in and becomes the default.
|
|
570
|
+
* @public
|
|
571
|
+
*/
|
|
572
|
+
changes: AccountWorkspaceChange[];
|
|
573
|
+
/**
|
|
574
|
+
* The rows the caller read, with the values it read, for every row the changes touch: the membership rows (`Account#<acc>/Workspace#<ws>`) and the `Settings` rows (`defaultWorkspace`) of every account touched, that is every `accountId` and every `fromAccountId` of the changes (for an attach without `fromAccountId` the destination membership row of the workspace, sent without `fields`: expected absent), and the `Pbx` and `Stream` rows (`Workspace#<ws>/Pbx`, `Workspace#<ws>/Stream`) of the touched workspaces, including the workspace the PBX link leaves. Rows the owner creates with a new id (an orphaned account's new personal workspace) and `PbxUser#…` link-history rows are not part of it. Stream Console passes the `observed` rows of its board read through unchanged.
|
|
575
|
+
* @public
|
|
576
|
+
*/
|
|
577
|
+
expected: AccountWorkspaceExpectedRow[];
|
|
578
|
+
/**
|
|
579
|
+
* true: preview, writes nothing and always answers 200 with the checks, blocking ones included. false: apply, re-runs every check and throws the typed error of the first blocking one, writing nothing; otherwise writes and runs the side effects.
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
dryRun: boolean;
|
|
583
|
+
/**
|
|
584
|
+
* The console operator who requests the change. Recorded with the change in the owner's logs.
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
operator: AccountWorkspaceChangeOperator;
|
|
588
|
+
/**
|
|
589
|
+
* Why the change is made, 10 to 2000 characters. Recorded with the change in the owner's logs; the caller keeps it in its own audit entry.
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
reason: string;
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
export interface ApplyAccountWorkspaceChangesOutput {
|
|
598
|
+
/**
|
|
599
|
+
* The row writes of the change: planned (dry run) or done (apply), in the order of the transaction. Enough to show a diff and to keep a backup; how to build the inverse plan and what a restored Pbx row lacks: see the Inverse and backup paragraph of the operation documentation.
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
writes: AccountWorkspaceWrite[];
|
|
603
|
+
/**
|
|
604
|
+
* The workspaces after the change of every account touched (every `accountId` and every `fromAccountId` of the changes), every `accountId`, then every `fromAccountId`, each account once, in order of first appearance in `changes` (first appearance within each group).
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
after: AccountWorkspacesState[];
|
|
608
|
+
/**
|
|
609
|
+
* Every check the plan raised. In a dry run blocking checks are listed here instead of being thrown; after an apply only non-blocking checks can be present.
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
checks: AccountWorkspaceCheck[];
|
|
613
|
+
/**
|
|
614
|
+
* The post-commit side effects with their outcome. Always empty in a dry run.
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
effects: AccountWorkspaceEffect[];
|
|
618
|
+
}
|
|
238
619
|
/**
|
|
239
620
|
* @public
|
|
240
621
|
*/
|
|
@@ -1701,6 +2082,41 @@ export interface InviteOutput {
|
|
|
1701
2082
|
*/
|
|
1702
2083
|
skippedInvitees: SkippedMember[];
|
|
1703
2084
|
}
|
|
2085
|
+
/**
|
|
2086
|
+
* @public
|
|
2087
|
+
*/
|
|
2088
|
+
export interface ListAccountEmailChangesInput {
|
|
2089
|
+
/**
|
|
2090
|
+
* The emails to look for, 1 to 20: an execution matches when its old or its new email is one of them. A phone identity is looked up by its sign-in address `<E.164 without +>@phone.wildix.com`.
|
|
2091
|
+
* @public
|
|
2092
|
+
*/
|
|
2093
|
+
emails: string[];
|
|
2094
|
+
/**
|
|
2095
|
+
* Maximum number of executions in the page, from 1 to 50. Defaults to 20.
|
|
2096
|
+
* @public
|
|
2097
|
+
*/
|
|
2098
|
+
limit?: number | undefined;
|
|
2099
|
+
/**
|
|
2100
|
+
* Opaque token from the previous page's `nextToken`. Valid only with the same `emails`.
|
|
2101
|
+
* @public
|
|
2102
|
+
*/
|
|
2103
|
+
nextToken?: string | undefined;
|
|
2104
|
+
}
|
|
2105
|
+
/**
|
|
2106
|
+
* @public
|
|
2107
|
+
*/
|
|
2108
|
+
export interface ListAccountEmailChangesOutput {
|
|
2109
|
+
/**
|
|
2110
|
+
* The matching executions of this page, newest first by `startedAt`.
|
|
2111
|
+
* @public
|
|
2112
|
+
*/
|
|
2113
|
+
executions: AccountEmailChange[];
|
|
2114
|
+
/**
|
|
2115
|
+
* Token for the next page. Absent when there are no more executions to examine.
|
|
2116
|
+
* @public
|
|
2117
|
+
*/
|
|
2118
|
+
nextToken?: string | undefined;
|
|
2119
|
+
}
|
|
1704
2120
|
/**
|
|
1705
2121
|
* @public
|
|
1706
2122
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAccountEmailChangesCommandInput, ListAccountEmailChangesCommandOutput } from "../commands/ListAccountEmailChangesCommand";
|
|
3
|
+
import type { UsersPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAccountEmailChanges: (config: UsersPaginationConfiguration, input: ListAccountEmailChangesCommandInput, ...rest: any[]) => Paginator<ListAccountEmailChangesCommandOutput>;
|
|
@@ -8,6 +8,8 @@ export declare var ValidationException$: StaticErrorSchema;
|
|
|
8
8
|
export declare var ChannelNotFoundException$: StaticErrorSchema;
|
|
9
9
|
export declare var WidgetNotFoundException$: StaticErrorSchema;
|
|
10
10
|
export declare var AccountNotFoundException$: StaticErrorSchema;
|
|
11
|
+
export declare var AccountWorkspaceChangeRefusedException$: StaticErrorSchema;
|
|
12
|
+
export declare var AccountWorkspaceConflictException$: StaticErrorSchema;
|
|
11
13
|
export declare var BotAlreadyExistsException$: StaticErrorSchema;
|
|
12
14
|
export declare var BotApiKeyNotFoundException$: StaticErrorSchema;
|
|
13
15
|
export declare var BotNotFoundException$: StaticErrorSchema;
|
|
@@ -38,6 +40,19 @@ export declare var SkippedMember$: StaticStructureSchema;
|
|
|
38
40
|
export declare var User$: StaticStructureSchema;
|
|
39
41
|
export declare var UserToInvite$: StaticStructureSchema;
|
|
40
42
|
export declare var Account$: StaticStructureSchema;
|
|
43
|
+
export declare var AccountEmailChange$: StaticStructureSchema;
|
|
44
|
+
export declare var AccountWorkspaceChange$: StaticStructureSchema;
|
|
45
|
+
export declare var AccountWorkspaceChangeOperator$: StaticStructureSchema;
|
|
46
|
+
export declare var AccountWorkspaceCheck$: StaticStructureSchema;
|
|
47
|
+
export declare var AccountWorkspaceEffect$: StaticStructureSchema;
|
|
48
|
+
export declare var AccountWorkspaceExpectedRow$: StaticStructureSchema;
|
|
49
|
+
export declare var AccountWorkspacePbxLink$: StaticStructureSchema;
|
|
50
|
+
export declare var AccountWorkspaceRowKey$: StaticStructureSchema;
|
|
51
|
+
export declare var AccountWorkspacesState$: StaticStructureSchema;
|
|
52
|
+
export declare var AccountWorkspaceState$: StaticStructureSchema;
|
|
53
|
+
export declare var AccountWorkspaceWrite$: StaticStructureSchema;
|
|
54
|
+
export declare var ApplyAccountWorkspaceChangesInput$: StaticStructureSchema;
|
|
55
|
+
export declare var ApplyAccountWorkspaceChangesOutput$: StaticStructureSchema;
|
|
41
56
|
export declare var ApplyIdentityRemovalInput$: StaticStructureSchema;
|
|
42
57
|
export declare var ApplyIdentityRemovalOutput$: StaticStructureSchema;
|
|
43
58
|
export declare var BatchGetUsersEmailNotificationsSettingsInput$: StaticStructureSchema;
|
|
@@ -118,6 +133,8 @@ export declare var IntelligenceSearchInput$: StaticStructureSchema;
|
|
|
118
133
|
export declare var IntelligenceSearchOutput$: StaticStructureSchema;
|
|
119
134
|
export declare var InviteInput$: StaticStructureSchema;
|
|
120
135
|
export declare var InviteOutput$: StaticStructureSchema;
|
|
136
|
+
export declare var ListAccountEmailChangesInput$: StaticStructureSchema;
|
|
137
|
+
export declare var ListAccountEmailChangesOutput$: StaticStructureSchema;
|
|
121
138
|
export declare var ListBotApiKeysInput$: StaticStructureSchema;
|
|
122
139
|
export declare var ListBotApiKeysOutput$: StaticStructureSchema;
|
|
123
140
|
export declare var ListBotsInput$: StaticStructureSchema;
|
|
@@ -186,6 +203,7 @@ export declare var BotLlmFunctionIntegrationWebhookAuthorization$: StaticUnionSc
|
|
|
186
203
|
export declare var BotToolAnnotation$: StaticUnionSchema;
|
|
187
204
|
export declare var BotToolVariableHandler$: StaticUnionSchema;
|
|
188
205
|
export declare var UserQuery$: StaticUnionSchema;
|
|
206
|
+
export declare var ApplyAccountWorkspaceChanges$: StaticOperationSchema;
|
|
189
207
|
export declare var ApplyIdentityRemoval$: StaticOperationSchema;
|
|
190
208
|
export declare var BatchGetUsers$: StaticOperationSchema;
|
|
191
209
|
export declare var BatchGetUsersEmailNotificationsSettings$: StaticOperationSchema;
|
|
@@ -210,6 +228,7 @@ export declare var GetUserPbxLinkSuggestion$: StaticOperationSchema;
|
|
|
210
228
|
export declare var GetUserPbxLinkSuggestionV1$: StaticOperationSchema;
|
|
211
229
|
export declare var IntelligenceSearch$: StaticOperationSchema;
|
|
212
230
|
export declare var Invite$: StaticOperationSchema;
|
|
231
|
+
export declare var ListAccountEmailChanges$: StaticOperationSchema;
|
|
213
232
|
export declare var ListBotApiKeys$: StaticOperationSchema;
|
|
214
233
|
export declare var ListBots$: StaticOperationSchema;
|
|
215
234
|
export declare var ListIdentities$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-users-client",
|
|
3
3
|
"description": "@wildix/xbees-users-client client",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.4.0-stage.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -17,24 +17,24 @@
|
|
|
17
17
|
"module": "./dist-es/index.js",
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"dependencies": {
|
|
20
|
+
"tslib": "^2.6.2",
|
|
20
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
21
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
22
23
|
"@aws-sdk/core": "^3.974.15",
|
|
23
24
|
"@smithy/core": "^3.24.5",
|
|
24
25
|
"@smithy/fetch-http-handler": "^5.4.5",
|
|
25
|
-
"@smithy/middleware-endpoint": "^4.7.2",
|
|
26
26
|
"@smithy/node-http-handler": "^4.7.5",
|
|
27
27
|
"@smithy/types": "^4.14.2",
|
|
28
28
|
"@wildix/smithy-react-native": "^1.0.0",
|
|
29
|
-
"
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.7.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@tsconfig/node20": "20.1.8",
|
|
33
|
-
"@types/node": "^20.14.8",
|
|
34
33
|
"concurrently": "7.0.0",
|
|
35
34
|
"downlevel-dts": "0.10.1",
|
|
36
35
|
"premove": "4.0.0",
|
|
37
|
-
"typescript": "~5.8.3"
|
|
36
|
+
"typescript": "~5.8.3",
|
|
37
|
+
"@types/node": "^20.14.8"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=20.0.0"
|