@wildix/xbees-users-client 1.2.2 → 1.2.3

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 (50) hide show
  1. package/dist-cjs/protocols/Aws_restJson1.js +9 -9
  2. package/dist-es/protocols/Aws_restJson1.js +9 -9
  3. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  4. package/dist-types/runtimeConfig.d.ts +1 -1
  5. package/dist-types/runtimeConfig.native.d.ts +1 -1
  6. package/package.json +2 -2
  7. package/dist-types/commands/AddIdentityCommand.d.ts +0 -93
  8. package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -110
  9. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -95
  10. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -146
  11. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -146
  12. package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -100
  13. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -108
  14. package/dist-types/commands/CreateBotCommand.d.ts +0 -210
  15. package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -90
  16. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -92
  17. package/dist-types/commands/DeleteBotCommand.d.ts +0 -89
  18. package/dist-types/commands/GetAccountCommand.d.ts +0 -182
  19. package/dist-types/commands/GetAppVersionCommand.d.ts +0 -88
  20. package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -196
  21. package/dist-types/commands/GetBotCommand.d.ts +0 -102
  22. package/dist-types/commands/GetUserCommand.d.ts +0 -108
  23. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -93
  24. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -144
  25. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -91
  26. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -91
  27. package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -97
  28. package/dist-types/commands/InviteCommand.d.ts +0 -116
  29. package/dist-types/commands/ListAccountIdentitiesCommand.d.ts +0 -94
  30. package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -95
  31. package/dist-types/commands/ListBotsCommand.d.ts +0 -101
  32. package/dist-types/commands/ListWorkspacesCommand.d.ts +0 -170
  33. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -93
  34. package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -164
  35. package/dist-types/commands/QueryUserCommand.d.ts +0 -117
  36. package/dist-types/commands/QueryUsersCommand.d.ts +0 -117
  37. package/dist-types/commands/RemoveIdentityCommand.d.ts +0 -87
  38. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -87
  39. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -87
  40. package/dist-types/commands/UnbindWorkspaceCommand.d.ts +0 -87
  41. package/dist-types/commands/UpdateAccountCommand.d.ts +0 -94
  42. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -300
  43. package/dist-types/commands/UpdateBotCommand.d.ts +0 -105
  44. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -93
  45. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +0 -171
  46. package/dist-types/commands/UploadPictureCommand.d.ts +0 -88
  47. package/dist-types/commands/UploadPictureV1Command.d.ts +0 -90
  48. package/dist-types/commands/VerifyAddIdentityCommand.d.ts +0 -95
  49. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -92
  50. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -92
@@ -12,7 +12,7 @@ const se_AddIdentityCommand = async (input, context) => {
12
12
  const headers = {
13
13
  'content-type': 'application/json',
14
14
  };
15
- b.bp("/v2/accounts/{accountId}/identities");
15
+ b.bp("/v2/users/accounts/{accountId}/identities");
16
16
  b.p('accountId', () => input.accountId, '{accountId}', false);
17
17
  let body;
18
18
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -208,7 +208,7 @@ exports.se_DeleteBotApiKeyCommand = se_DeleteBotApiKeyCommand;
208
208
  const se_GetAccountCommand = async (input, context) => {
209
209
  const b = (0, core_2.requestBuilder)(input, context);
210
210
  const headers = {};
211
- b.bp("/v2/accounts/{accountId}");
211
+ b.bp("/v2/users/accounts/{accountId}");
212
212
  b.p('accountId', () => input.accountId, '{accountId}', false);
213
213
  let body;
214
214
  b.m("GET")
@@ -370,7 +370,7 @@ exports.se_InviteCommand = se_InviteCommand;
370
370
  const se_ListAccountIdentitiesCommand = async (input, context) => {
371
371
  const b = (0, core_2.requestBuilder)(input, context);
372
372
  const headers = {};
373
- b.bp("/v2/accounts/{accountId}/identities");
373
+ b.bp("/v2/users/accounts/{accountId}/identities");
374
374
  b.p('accountId', () => input.accountId, '{accountId}', false);
375
375
  let body;
376
376
  b.m("GET")
@@ -413,7 +413,7 @@ exports.se_ListBotsCommand = se_ListBotsCommand;
413
413
  const se_ListWorkspacesCommand = async (input, context) => {
414
414
  const b = (0, core_2.requestBuilder)(input, context);
415
415
  const headers = {};
416
- b.bp("/v2/accounts/{accountId}/workspaces");
416
+ b.bp("/v2/users/accounts/{accountId}/workspaces");
417
417
  b.p('accountId', () => input.accountId, '{accountId}', false);
418
418
  let body;
419
419
  b.m("GET")
@@ -498,7 +498,7 @@ exports.se_QueryUsersCommand = se_QueryUsersCommand;
498
498
  const se_RemoveIdentityCommand = async (input, context) => {
499
499
  const b = (0, core_2.requestBuilder)(input, context);
500
500
  const headers = {};
501
- b.bp("/v2/accounts/{accountId}/identities/{identity}");
501
+ b.bp("/v2/users/accounts/{accountId}/identities/{identity}");
502
502
  b.p('accountId', () => input.accountId, '{accountId}', false);
503
503
  b.p('identity', () => input.identity, '{identity}', false);
504
504
  let body;
@@ -545,7 +545,7 @@ exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = se_ToggleUnreadEm
545
545
  const se_UnbindWorkspaceCommand = async (input, context) => {
546
546
  const b = (0, core_2.requestBuilder)(input, context);
547
547
  const headers = {};
548
- b.bp("/v2/accounts/{accountId}/workspaces/{workspaceId}");
548
+ b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
549
549
  b.p('workspaceId', () => input.workspaceId, '{workspaceId}', false);
550
550
  b.p('accountId', () => input.accountId, '{accountId}', false);
551
551
  let body;
@@ -560,7 +560,7 @@ const se_UpdateAccountCommand = async (input, context) => {
560
560
  const headers = {
561
561
  'content-type': 'application/json',
562
562
  };
563
- b.bp("/v2/accounts/{accountId}");
563
+ b.bp("/v2/users/accounts/{accountId}");
564
564
  b.p('accountId', () => input.accountId, '{accountId}', false);
565
565
  let body;
566
566
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -642,7 +642,7 @@ const se_UpdateWorkspaceCommand = async (input, context) => {
642
642
  const headers = {
643
643
  'content-type': 'application/json',
644
644
  };
645
- b.bp("/v2/accounts/{accountId}/workspaces/{workspaceId}");
645
+ b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
646
646
  b.p('accountId', () => input.accountId, '{accountId}', false);
647
647
  b.p('workspaceId', () => input.workspaceId, '{workspaceId}', false);
648
648
  let body;
@@ -693,7 +693,7 @@ const se_VerifyAddIdentityCommand = async (input, context) => {
693
693
  const headers = {
694
694
  'content-type': 'application/json',
695
695
  };
696
- b.bp("/v2/accounts/{accountId}/identities/verify");
696
+ b.bp("/v2/users/accounts/{accountId}/identities/verify");
697
697
  b.p('accountId', () => input.accountId, '{accountId}', false);
698
698
  let body;
699
699
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -8,7 +8,7 @@ export const se_AddIdentityCommand = async (input, context) => {
8
8
  const headers = {
9
9
  'content-type': 'application/json',
10
10
  };
11
- b.bp("/v2/accounts/{accountId}/identities");
11
+ b.bp("/v2/users/accounts/{accountId}/identities");
12
12
  b.p('accountId', () => input.accountId, '{accountId}', false);
13
13
  let body;
14
14
  body = JSON.stringify(take(input, {
@@ -193,7 +193,7 @@ export const se_DeleteBotApiKeyCommand = async (input, context) => {
193
193
  export const se_GetAccountCommand = async (input, context) => {
194
194
  const b = rb(input, context);
195
195
  const headers = {};
196
- b.bp("/v2/accounts/{accountId}");
196
+ b.bp("/v2/users/accounts/{accountId}");
197
197
  b.p('accountId', () => input.accountId, '{accountId}', false);
198
198
  let body;
199
199
  b.m("GET")
@@ -344,7 +344,7 @@ export const se_InviteCommand = async (input, context) => {
344
344
  export const se_ListAccountIdentitiesCommand = async (input, context) => {
345
345
  const b = rb(input, context);
346
346
  const headers = {};
347
- b.bp("/v2/accounts/{accountId}/identities");
347
+ b.bp("/v2/users/accounts/{accountId}/identities");
348
348
  b.p('accountId', () => input.accountId, '{accountId}', false);
349
349
  let body;
350
350
  b.m("GET")
@@ -384,7 +384,7 @@ export const se_ListBotsCommand = async (input, context) => {
384
384
  export const se_ListWorkspacesCommand = async (input, context) => {
385
385
  const b = rb(input, context);
386
386
  const headers = {};
387
- b.bp("/v2/accounts/{accountId}/workspaces");
387
+ b.bp("/v2/users/accounts/{accountId}/workspaces");
388
388
  b.p('accountId', () => input.accountId, '{accountId}', false);
389
389
  let body;
390
390
  b.m("GET")
@@ -464,7 +464,7 @@ export const se_QueryUsersCommand = async (input, context) => {
464
464
  export const se_RemoveIdentityCommand = async (input, context) => {
465
465
  const b = rb(input, context);
466
466
  const headers = {};
467
- b.bp("/v2/accounts/{accountId}/identities/{identity}");
467
+ b.bp("/v2/users/accounts/{accountId}/identities/{identity}");
468
468
  b.p('accountId', () => input.accountId, '{accountId}', false);
469
469
  b.p('identity', () => input.identity, '{identity}', false);
470
470
  let body;
@@ -508,7 +508,7 @@ export const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input
508
508
  export const se_UnbindWorkspaceCommand = async (input, context) => {
509
509
  const b = rb(input, context);
510
510
  const headers = {};
511
- b.bp("/v2/accounts/{accountId}/workspaces/{workspaceId}");
511
+ b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
512
512
  b.p('workspaceId', () => input.workspaceId, '{workspaceId}', false);
513
513
  b.p('accountId', () => input.accountId, '{accountId}', false);
514
514
  let body;
@@ -522,7 +522,7 @@ export const se_UpdateAccountCommand = async (input, context) => {
522
522
  const headers = {
523
523
  'content-type': 'application/json',
524
524
  };
525
- b.bp("/v2/accounts/{accountId}");
525
+ b.bp("/v2/users/accounts/{accountId}");
526
526
  b.p('accountId', () => input.accountId, '{accountId}', false);
527
527
  let body;
528
528
  body = JSON.stringify(take(input, {
@@ -600,7 +600,7 @@ export const se_UpdateWorkspaceCommand = async (input, context) => {
600
600
  const headers = {
601
601
  'content-type': 'application/json',
602
602
  };
603
- b.bp("/v2/accounts/{accountId}/workspaces/{workspaceId}");
603
+ b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
604
604
  b.p('accountId', () => input.accountId, '{accountId}', false);
605
605
  b.p('workspaceId', () => input.workspaceId, '{workspaceId}', false);
606
606
  let body;
@@ -648,7 +648,7 @@ export const se_VerifyAddIdentityCommand = async (input, context) => {
648
648
  const headers = {
649
649
  'content-type': 'application/json',
650
650
  };
651
- b.bp("/v2/accounts/{accountId}/identities/verify");
651
+ b.bp("/v2/users/accounts/{accountId}/identities/verify");
652
652
  b.p('accountId', () => input.accountId, '{accountId}', false);
653
653
  let body;
654
654
  body = JSON.stringify(take(input, {
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
12
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
12
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
10
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/protocol-http").HttpHandler<any>;
11
11
  cacheMiddleware?: boolean | undefined;
12
12
  protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
13
13
  protocolSettings?: {
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": "1.2.2",
4
+ "version": "1.2.3",
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",
@@ -9,7 +9,7 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
- "prepack": "yarn run clean && yarn run build",
12
+ "prepack": "yarn run build",
13
13
  "postpublish": "node ../../scripts/postpublish.js"
14
14
  },
15
15
  "main": "./dist-cjs/index.js",
@@ -1,93 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { AddIdentityInput, AddIdentityOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link AddIdentityCommand}.
14
- */
15
- export interface AddIdentityCommandInput extends AddIdentityInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link AddIdentityCommand}.
21
- */
22
- export interface AddIdentityCommandOutput extends AddIdentityOutput, __MetadataBearer {
23
- }
24
- declare const AddIdentityCommand_base: {
25
- new (input: AddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AddIdentityCommandInput, AddIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: AddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AddIdentityCommandInput, AddIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Adds a new identity (email or phone) to the account. Requires OTP verification for the new identity and re-verification of the primary identity.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, AddIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, AddIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // AddIdentityInput
38
- * accountId: "STRING_VALUE", // required
39
- * identity: "STRING_VALUE", // required
40
- * };
41
- * const command = new AddIdentityCommand(input);
42
- * const response = await client.send(command);
43
- * // { // AddIdentityOutput
44
- * // identity: { // Identity
45
- * // identity: "STRING_VALUE", // required
46
- * // account: "STRING_VALUE", // required
47
- * // verified: true || false,
48
- * // },
49
- * // };
50
- *
51
- * ```
52
- *
53
- * @param AddIdentityCommandInput - {@link AddIdentityCommandInput}
54
- * @returns {@link AddIdentityCommandOutput}
55
- * @see {@link AddIdentityCommandInput} for command's `input` shape.
56
- * @see {@link AddIdentityCommandOutput} for command's `response` shape.
57
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
58
- *
59
- * @throws {@link AccountNotFoundException} (client fault)
60
- *
61
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
62
- *
63
- * @throws {@link ValidationException} (client fault)
64
- *
65
- * @throws {@link ForbiddenException} (client fault)
66
- *
67
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
68
- *
69
- * @throws {@link WorkspaceNotFoundException} (client fault)
70
- *
71
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
72
- *
73
- * @throws {@link IdentityNotFoundException} (client fault)
74
- *
75
- * @throws {@link UsersServiceException}
76
- * <p>Base exception class for all service exceptions from Users service.</p>
77
- *
78
- *
79
- * @public
80
- */
81
- export declare class AddIdentityCommand extends AddIdentityCommand_base {
82
- /** @internal type navigation helper, not in runtime. */
83
- protected static __types: {
84
- api: {
85
- input: AddIdentityInput;
86
- output: AddIdentityOutput;
87
- };
88
- sdk: {
89
- input: AddIdentityCommandInput;
90
- output: AddIdentityCommandOutput;
91
- };
92
- };
93
- }
@@ -1,110 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { BatchGetUsersInput, BatchGetUsersOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link BatchGetUsersCommand}.
14
- */
15
- export interface BatchGetUsersCommandInput extends BatchGetUsersInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link BatchGetUsersCommand}.
21
- */
22
- export interface BatchGetUsersCommandOutput extends BatchGetUsersOutput, __MetadataBearer {
23
- }
24
- declare const BatchGetUsersCommand_base: {
25
- new (input: BatchGetUsersCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersCommandInput, BatchGetUsersCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: BatchGetUsersCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersCommandInput, BatchGetUsersCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves details of multiple users in a single batch operation.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, BatchGetUsersCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, BatchGetUsersCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // BatchGetUsersInput
38
- * id: [ // UsersIdList // required
39
- * "STRING_VALUE",
40
- * ],
41
- * };
42
- * const command = new BatchGetUsersCommand(input);
43
- * const response = await client.send(command);
44
- * // { // BatchGetUsersOutput
45
- * // users: [ // UsersList // required
46
- * // { // User
47
- * // id: "STRING_VALUE", // required
48
- * // name: "STRING_VALUE",
49
- * // email: "STRING_VALUE",
50
- * // phone: "STRING_VALUE",
51
- * // picture: "STRING_VALUE",
52
- * // locale: "STRING_VALUE",
53
- * // timeZone: "STRING_VALUE",
54
- * // company: "STRING_VALUE",
55
- * // bot: true || false,
56
- * // pbxDomain: "STRING_VALUE",
57
- * // pbxPort: "STRING_VALUE",
58
- * // pbxExtension: "STRING_VALUE",
59
- * // pbxSerial: "STRING_VALUE",
60
- * // pbxUserId: "STRING_VALUE",
61
- * // pbxGroupId: "STRING_VALUE",
62
- * // createdAt: "STRING_VALUE",
63
- * // updatedAt: "STRING_VALUE",
64
- * // },
65
- * // ],
66
- * // };
67
- *
68
- * ```
69
- *
70
- * @param BatchGetUsersCommandInput - {@link BatchGetUsersCommandInput}
71
- * @returns {@link BatchGetUsersCommandOutput}
72
- * @see {@link BatchGetUsersCommandInput} for command's `input` shape.
73
- * @see {@link BatchGetUsersCommandOutput} for command's `response` shape.
74
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
75
- *
76
- * @throws {@link ForbiddenException} (client fault)
77
- *
78
- * @throws {@link ValidationException} (client fault)
79
- *
80
- * @throws {@link AccountNotFoundException} (client fault)
81
- *
82
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
83
- *
84
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
85
- *
86
- * @throws {@link WorkspaceNotFoundException} (client fault)
87
- *
88
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
89
- *
90
- * @throws {@link IdentityNotFoundException} (client fault)
91
- *
92
- * @throws {@link UsersServiceException}
93
- * <p>Base exception class for all service exceptions from Users service.</p>
94
- *
95
- *
96
- * @public
97
- */
98
- export declare class BatchGetUsersCommand extends BatchGetUsersCommand_base {
99
- /** @internal type navigation helper, not in runtime. */
100
- protected static __types: {
101
- api: {
102
- input: BatchGetUsersInput;
103
- output: BatchGetUsersOutput;
104
- };
105
- sdk: {
106
- input: BatchGetUsersCommandInput;
107
- output: BatchGetUsersCommandOutput;
108
- };
109
- };
110
- }
@@ -1,95 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { BatchGetUsersEmailNotificationsSettingsInput, BatchGetUsersEmailNotificationsSettingsOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link BatchGetUsersEmailNotificationsSettingsCommand}.
14
- */
15
- export interface BatchGetUsersEmailNotificationsSettingsCommandInput extends BatchGetUsersEmailNotificationsSettingsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link BatchGetUsersEmailNotificationsSettingsCommand}.
21
- */
22
- export interface BatchGetUsersEmailNotificationsSettingsCommandOutput extends BatchGetUsersEmailNotificationsSettingsOutput, __MetadataBearer {
23
- }
24
- declare const BatchGetUsersEmailNotificationsSettingsCommand_base: {
25
- new (input: BatchGetUsersEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: BatchGetUsersEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Get multiple user settings by their IDs
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // BatchGetUsersEmailNotificationsSettingsInput
38
- * usersIds: [ // UsersIdList // required
39
- * "STRING_VALUE",
40
- * ],
41
- * };
42
- * const command = new BatchGetUsersEmailNotificationsSettingsCommand(input);
43
- * const response = await client.send(command);
44
- * // { // BatchGetUsersEmailNotificationsSettingsOutput
45
- * // notifications: { // UsersEmailNotificationsSettingsMap // required
46
- * // "<keys>": { // UserEmailNotificationsSettings
47
- * // unread: true || false, // required
48
- * // transcription: true || false, // required
49
- * // },
50
- * // },
51
- * // };
52
- *
53
- * ```
54
- *
55
- * @param BatchGetUsersEmailNotificationsSettingsCommandInput - {@link BatchGetUsersEmailNotificationsSettingsCommandInput}
56
- * @returns {@link BatchGetUsersEmailNotificationsSettingsCommandOutput}
57
- * @see {@link BatchGetUsersEmailNotificationsSettingsCommandInput} for command's `input` shape.
58
- * @see {@link BatchGetUsersEmailNotificationsSettingsCommandOutput} for command's `response` shape.
59
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
60
- *
61
- * @throws {@link ForbiddenException} (client fault)
62
- *
63
- * @throws {@link ValidationException} (client fault)
64
- *
65
- * @throws {@link AccountNotFoundException} (client fault)
66
- *
67
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
68
- *
69
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
70
- *
71
- * @throws {@link WorkspaceNotFoundException} (client fault)
72
- *
73
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
74
- *
75
- * @throws {@link IdentityNotFoundException} (client fault)
76
- *
77
- * @throws {@link UsersServiceException}
78
- * <p>Base exception class for all service exceptions from Users service.</p>
79
- *
80
- *
81
- * @public
82
- */
83
- export declare class BatchGetUsersEmailNotificationsSettingsCommand extends BatchGetUsersEmailNotificationsSettingsCommand_base {
84
- /** @internal type navigation helper, not in runtime. */
85
- protected static __types: {
86
- api: {
87
- input: BatchGetUsersEmailNotificationsSettingsInput;
88
- output: BatchGetUsersEmailNotificationsSettingsOutput;
89
- };
90
- sdk: {
91
- input: BatchGetUsersEmailNotificationsSettingsCommandInput;
92
- output: BatchGetUsersEmailNotificationsSettingsCommandOutput;
93
- };
94
- };
95
- }
@@ -1,146 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { BatchGetUsersPbxLinkDataInput, BatchGetUsersPbxLinkDataOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link BatchGetUsersPbxLinkDataCommand}.
14
- */
15
- export interface BatchGetUsersPbxLinkDataCommandInput extends BatchGetUsersPbxLinkDataInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link BatchGetUsersPbxLinkDataCommand}.
21
- */
22
- export interface BatchGetUsersPbxLinkDataCommandOutput extends BatchGetUsersPbxLinkDataOutput, __MetadataBearer {
23
- }
24
- declare const BatchGetUsersPbxLinkDataCommand_base: {
25
- new (input: BatchGetUsersPbxLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: BatchGetUsersPbxLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves PBX link data for multiple users in a single batch operation.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, BatchGetUsersPbxLinkDataCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, BatchGetUsersPbxLinkDataCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // BatchGetUsersPbxLinkDataInput
38
- * id: [ // UsersIdList // required
39
- * "STRING_VALUE",
40
- * ],
41
- * };
42
- * const command = new BatchGetUsersPbxLinkDataCommand(input);
43
- * const response = await client.send(command);
44
- * // { // BatchGetUsersPbxLinkDataOutput
45
- * // users: [ // UsersPbxLinkDataList // required
46
- * // { // UserPbxLinkData
47
- * // id: "STRING_VALUE", // required
48
- * // company: "STRING_VALUE", // required
49
- * // companyName: "STRING_VALUE",
50
- * // domain: "STRING_VALUE", // required
51
- * // email: "STRING_VALUE",
52
- * // info: { // UserPersonalInfo
53
- * // dn: "STRING_VALUE", // required
54
- * // id: "STRING_VALUE", // required
55
- * // name: "STRING_VALUE", // required
56
- * // extension: "STRING_VALUE", // required
57
- * // officePhone: "STRING_VALUE",
58
- * // mobilePhone: "STRING_VALUE",
59
- * // faxNumber: "STRING_VALUE",
60
- * // email: "STRING_VALUE",
61
- * // role: "STRING_VALUE", // required
62
- * // language: "STRING_VALUE", // required
63
- * // dialplan: "STRING_VALUE", // required
64
- * // faxDialplan: "STRING_VALUE", // required
65
- * // departament: "STRING_VALUE",
66
- * // picture: "STRING_VALUE", // required
67
- * // groupDn: "STRING_VALUE", // required
68
- * // groupName: "STRING_VALUE", // required
69
- * // jid: "STRING_VALUE", // required
70
- * // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
71
- * // login: "STRING_VALUE",
72
- * // pbx: "STRING_VALUE",
73
- * // pbxDn: "STRING_VALUE", // required
74
- * // sourceId: "STRING_VALUE",
75
- * // sipPassword: "STRING_VALUE",
76
- * // },
77
- * // pbx: { // UserPbxInfo
78
- * // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
79
- * // "STRING_VALUE",
80
- * // ],
81
- * // ports: [ // UserPbxInfoPorts // required
82
- * // "STRING_VALUE",
83
- * // ],
84
- * // externalLinePrefix: "STRING_VALUE",
85
- * // version: "STRING_VALUE", // required
86
- * // serial: "STRING_VALUE", // required
87
- * // },
88
- * // picture: "STRING_VALUE", // required
89
- * // pictureDeleted: true || false,
90
- * // port: "STRING_VALUE", // required
91
- * // serial: "STRING_VALUE", // required
92
- * // services: { // UserPbxServices
93
- * // xcaracal: true || false,
94
- * // wizyWebinar: true || false,
95
- * // },
96
- * // personalSettings: {},
97
- * // dialplanSettings: {},
98
- * // awsRegion: "STRING_VALUE",
99
- * // updatedAt: "STRING_VALUE",
100
- * // },
101
- * // ],
102
- * // };
103
- *
104
- * ```
105
- *
106
- * @param BatchGetUsersPbxLinkDataCommandInput - {@link BatchGetUsersPbxLinkDataCommandInput}
107
- * @returns {@link BatchGetUsersPbxLinkDataCommandOutput}
108
- * @see {@link BatchGetUsersPbxLinkDataCommandInput} for command's `input` shape.
109
- * @see {@link BatchGetUsersPbxLinkDataCommandOutput} for command's `response` shape.
110
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
111
- *
112
- * @throws {@link ForbiddenException} (client fault)
113
- *
114
- * @throws {@link ValidationException} (client fault)
115
- *
116
- * @throws {@link AccountNotFoundException} (client fault)
117
- *
118
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
119
- *
120
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
121
- *
122
- * @throws {@link WorkspaceNotFoundException} (client fault)
123
- *
124
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
125
- *
126
- * @throws {@link IdentityNotFoundException} (client fault)
127
- *
128
- * @throws {@link UsersServiceException}
129
- * <p>Base exception class for all service exceptions from Users service.</p>
130
- *
131
- *
132
- * @public
133
- */
134
- export declare class BatchGetUsersPbxLinkDataCommand extends BatchGetUsersPbxLinkDataCommand_base {
135
- /** @internal type navigation helper, not in runtime. */
136
- protected static __types: {
137
- api: {
138
- input: BatchGetUsersPbxLinkDataInput;
139
- output: BatchGetUsersPbxLinkDataOutput;
140
- };
141
- sdk: {
142
- input: BatchGetUsersPbxLinkDataCommandInput;
143
- output: BatchGetUsersPbxLinkDataCommandOutput;
144
- };
145
- };
146
- }