@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.
- 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 -73
- 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 -72
- 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 -288
- 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 -193
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type {
|
|
2
|
+
import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, BotSessionTimeoutMinutes, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, SearchStrategy, SearchThresholdValue, WorkspaceType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -195,332 +195,6 @@ 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
|
-
}
|
|
524
198
|
/**
|
|
525
199
|
* @public
|
|
526
200
|
*/
|
|
@@ -561,61 +235,6 @@ export declare namespace AnonymousEntryContext {
|
|
|
561
235
|
_: (name: string, value: any) => T;
|
|
562
236
|
}
|
|
563
237
|
}
|
|
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
|
-
}
|
|
619
238
|
/**
|
|
620
239
|
* @public
|
|
621
240
|
*/
|
|
@@ -1972,41 +1591,6 @@ export interface LinkIdentityOutput {
|
|
|
1972
1591
|
*/
|
|
1973
1592
|
identity: Identity;
|
|
1974
1593
|
}
|
|
1975
|
-
/**
|
|
1976
|
-
* @public
|
|
1977
|
-
*/
|
|
1978
|
-
export interface ListAccountEmailChangesInput {
|
|
1979
|
-
/**
|
|
1980
|
-
* 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`.
|
|
1981
|
-
* @public
|
|
1982
|
-
*/
|
|
1983
|
-
emails: string[];
|
|
1984
|
-
/**
|
|
1985
|
-
* Maximum number of executions in the page, from 1 to 50. Defaults to 20.
|
|
1986
|
-
* @public
|
|
1987
|
-
*/
|
|
1988
|
-
limit?: number | undefined;
|
|
1989
|
-
/**
|
|
1990
|
-
* Opaque token from the previous page's `nextToken`. Valid only with the same `emails`.
|
|
1991
|
-
* @public
|
|
1992
|
-
*/
|
|
1993
|
-
nextToken?: string | undefined;
|
|
1994
|
-
}
|
|
1995
|
-
/**
|
|
1996
|
-
* @public
|
|
1997
|
-
*/
|
|
1998
|
-
export interface ListAccountEmailChangesOutput {
|
|
1999
|
-
/**
|
|
2000
|
-
* The matching executions of this page, newest first by `startedAt`.
|
|
2001
|
-
* @public
|
|
2002
|
-
*/
|
|
2003
|
-
executions: AccountEmailChange[];
|
|
2004
|
-
/**
|
|
2005
|
-
* Token for the next page. Absent when there are no more executions to examine.
|
|
2006
|
-
* @public
|
|
2007
|
-
*/
|
|
2008
|
-
nextToken?: string | undefined;
|
|
2009
|
-
}
|
|
2010
1594
|
/**
|
|
2011
1595
|
* @public
|
|
2012
1596
|
*/
|
|
@@ -2168,7 +1752,18 @@ export interface QueryColleaguesParameters {
|
|
|
2168
1752
|
search?: string | undefined;
|
|
2169
1753
|
searchFields?: PbxColleaguesQueryField[] | undefined;
|
|
2170
1754
|
searchStrategy?: PbxColleaguesSearchStrategy | undefined;
|
|
1755
|
+
/**
|
|
1756
|
+
* Deprecated: use `sortBy`. The PBX sorts by one field, so only the last item is used; ignored when `sortBy` is set.
|
|
1757
|
+
*
|
|
1758
|
+
* @deprecated (since 2026-11-18) Use `sortBy`. The PBX sorts by one field, so only the last item of this list is used.
|
|
1759
|
+
* @public
|
|
1760
|
+
*/
|
|
2171
1761
|
sort?: PbxColleaguesQueryField[] | undefined;
|
|
1762
|
+
/**
|
|
1763
|
+
* The field to sort by. The PBX sorts by one field; the direction is `dir`.
|
|
1764
|
+
* @public
|
|
1765
|
+
*/
|
|
1766
|
+
sortBy?: PbxColleaguesQueryField | undefined;
|
|
2172
1767
|
start?: number | undefined;
|
|
2173
1768
|
count?: number | undefined;
|
|
2174
1769
|
dir?: GetPbxColleaguesDir | undefined;
|
|
@@ -7,8 +7,6 @@ export declare var ValidationException$: StaticErrorSchema;
|
|
|
7
7
|
export declare var ChannelNotFoundException$: StaticErrorSchema;
|
|
8
8
|
export declare var WidgetNotFoundException$: StaticErrorSchema;
|
|
9
9
|
export declare var AccountNotFoundException$: StaticErrorSchema;
|
|
10
|
-
export declare var AccountWorkspaceChangeRefusedException$: StaticErrorSchema;
|
|
11
|
-
export declare var AccountWorkspaceConflictException$: StaticErrorSchema;
|
|
12
10
|
export declare var BotAlreadyExistsException$: StaticErrorSchema;
|
|
13
11
|
export declare var BotApiKeyNotFoundException$: StaticErrorSchema;
|
|
14
12
|
export declare var BotNotFoundException$: StaticErrorSchema;
|
|
@@ -34,19 +32,6 @@ export declare var SkippedMember$: StaticStructureSchema;
|
|
|
34
32
|
export declare var User$: StaticStructureSchema;
|
|
35
33
|
export declare var UserToInvite$: StaticStructureSchema;
|
|
36
34
|
export declare var Account$: StaticStructureSchema;
|
|
37
|
-
export declare var AccountEmailChange$: StaticStructureSchema;
|
|
38
|
-
export declare var AccountWorkspaceChange$: StaticStructureSchema;
|
|
39
|
-
export declare var AccountWorkspaceChangeOperator$: StaticStructureSchema;
|
|
40
|
-
export declare var AccountWorkspaceCheck$: StaticStructureSchema;
|
|
41
|
-
export declare var AccountWorkspaceEffect$: StaticStructureSchema;
|
|
42
|
-
export declare var AccountWorkspaceExpectedRow$: StaticStructureSchema;
|
|
43
|
-
export declare var AccountWorkspacePbxLink$: StaticStructureSchema;
|
|
44
|
-
export declare var AccountWorkspaceRowKey$: StaticStructureSchema;
|
|
45
|
-
export declare var AccountWorkspacesState$: StaticStructureSchema;
|
|
46
|
-
export declare var AccountWorkspaceState$: StaticStructureSchema;
|
|
47
|
-
export declare var AccountWorkspaceWrite$: StaticStructureSchema;
|
|
48
|
-
export declare var ApplyAccountWorkspaceChangesInput$: StaticStructureSchema;
|
|
49
|
-
export declare var ApplyAccountWorkspaceChangesOutput$: StaticStructureSchema;
|
|
50
35
|
export declare var BatchGetUsersEmailNotificationsSettingsInput$: StaticStructureSchema;
|
|
51
36
|
export declare var BatchGetUsersEmailNotificationsSettingsOutput$: StaticStructureSchema;
|
|
52
37
|
export declare var BatchGetUsersInput$: StaticStructureSchema;
|
|
@@ -122,8 +107,6 @@ export declare var InviteInput$: StaticStructureSchema;
|
|
|
122
107
|
export declare var InviteOutput$: StaticStructureSchema;
|
|
123
108
|
export declare var LinkIdentityInput$: StaticStructureSchema;
|
|
124
109
|
export declare var LinkIdentityOutput$: StaticStructureSchema;
|
|
125
|
-
export declare var ListAccountEmailChangesInput$: StaticStructureSchema;
|
|
126
|
-
export declare var ListAccountEmailChangesOutput$: StaticStructureSchema;
|
|
127
110
|
export declare var ListBotApiKeysInput$: StaticStructureSchema;
|
|
128
111
|
export declare var ListBotApiKeysOutput$: StaticStructureSchema;
|
|
129
112
|
export declare var ListBotsInput$: StaticStructureSchema;
|
|
@@ -190,7 +173,6 @@ export declare var BotLlmFunctionIntegrationWebhookAuthorization$: StaticUnionSc
|
|
|
190
173
|
export declare var BotToolAnnotation$: StaticUnionSchema;
|
|
191
174
|
export declare var BotToolVariableHandler$: StaticUnionSchema;
|
|
192
175
|
export declare var UserQuery$: StaticUnionSchema;
|
|
193
|
-
export declare var ApplyAccountWorkspaceChanges$: StaticOperationSchema;
|
|
194
176
|
export declare var BatchGetUsers$: StaticOperationSchema;
|
|
195
177
|
export declare var BatchGetUsersEmailNotificationsSettings$: StaticOperationSchema;
|
|
196
178
|
export declare var BatchGetUsersPbxLinkData$: StaticOperationSchema;
|
|
@@ -214,7 +196,6 @@ export declare var GetUserPbxLinkSuggestionV1$: StaticOperationSchema;
|
|
|
214
196
|
export declare var IntelligenceSearch$: StaticOperationSchema;
|
|
215
197
|
export declare var Invite$: StaticOperationSchema;
|
|
216
198
|
export declare var LinkIdentity$: StaticOperationSchema;
|
|
217
|
-
export declare var ListAccountEmailChanges$: StaticOperationSchema;
|
|
218
199
|
export declare var ListBotApiKeys$: StaticOperationSchema;
|
|
219
200
|
export declare var ListBots$: StaticOperationSchema;
|
|
220
201
|
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.6.0",
|
|
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",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApplyAccountWorkspaceChangesCommand = exports.$Command = void 0;
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
-
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
-
class ApplyAccountWorkspaceChangesCommand extends client_1.Command
|
|
10
|
-
.classBuilder()
|
|
11
|
-
.ep(EndpointParameters_1.commonParams)
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Users", "ApplyAccountWorkspaceChanges", {})
|
|
16
|
-
.n("UsersClient", "ApplyAccountWorkspaceChangesCommand")
|
|
17
|
-
.sc(schemas_0_1.ApplyAccountWorkspaceChanges$)
|
|
18
|
-
.build() {
|
|
19
|
-
}
|
|
20
|
-
exports.ApplyAccountWorkspaceChangesCommand = ApplyAccountWorkspaceChangesCommand;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListAccountEmailChangesCommand = exports.$Command = void 0;
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
-
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
-
class ListAccountEmailChangesCommand extends client_1.Command
|
|
10
|
-
.classBuilder()
|
|
11
|
-
.ep(EndpointParameters_1.commonParams)
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Users", "ListAccountEmailChanges", {})
|
|
16
|
-
.n("UsersClient", "ListAccountEmailChangesCommand")
|
|
17
|
-
.sc(schemas_0_1.ListAccountEmailChanges$)
|
|
18
|
-
.build() {
|
|
19
|
-
}
|
|
20
|
-
exports.ListAccountEmailChangesCommand = ListAccountEmailChangesCommand;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAccountEmailChanges = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListAccountEmailChangesCommand_1 = require("../commands/ListAccountEmailChangesCommand");
|
|
6
|
-
const UsersClient_1 = require("../UsersClient");
|
|
7
|
-
exports.paginateListAccountEmailChanges = (0, core_1.createPaginator)(UsersClient_1.UsersClient, ListAccountEmailChangesCommand_1.ListAccountEmailChangesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ApplyAccountWorkspaceChanges$ } from "../schemas/schemas_0";
|
|
5
|
-
export { $Command };
|
|
6
|
-
export class ApplyAccountWorkspaceChangesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Users", "ApplyAccountWorkspaceChanges", {})
|
|
13
|
-
.n("UsersClient", "ApplyAccountWorkspaceChangesCommand")
|
|
14
|
-
.sc(ApplyAccountWorkspaceChanges$)
|
|
15
|
-
.build() {
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListAccountEmailChanges$ } from "../schemas/schemas_0";
|
|
5
|
-
export { $Command };
|
|
6
|
-
export class ListAccountEmailChangesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Users", "ListAccountEmailChanges", {})
|
|
13
|
-
.n("UsersClient", "ListAccountEmailChangesCommand")
|
|
14
|
-
.sc(ListAccountEmailChanges$)
|
|
15
|
-
.build() {
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { createPaginator } from "@smithy/core";
|
|
2
|
-
import { ListAccountEmailChangesCommand, } from "../commands/ListAccountEmailChangesCommand";
|
|
3
|
-
import { UsersClient } from "../UsersClient";
|
|
4
|
-
export const paginateListAccountEmailChanges = createPaginator(UsersClient, ListAccountEmailChangesCommand, "nextToken", "nextToken", "limit");
|