@wildix/xbees-users-client 1.1.0 → 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 (71) hide show
  1. package/dist-cjs/Users.js +20 -0
  2. package/dist-cjs/commands/AddIdentityCommand.js +21 -0
  3. package/dist-cjs/commands/GetAccountCommand.js +21 -0
  4. package/dist-cjs/commands/InviteCommand.js +21 -0
  5. package/dist-cjs/commands/ListAccountIdentitiesCommand.js +21 -0
  6. package/dist-cjs/commands/ListWorkspacesCommand.js +21 -0
  7. package/dist-cjs/commands/RemoveIdentityCommand.js +21 -0
  8. package/dist-cjs/commands/UnbindWorkspaceCommand.js +21 -0
  9. package/dist-cjs/commands/UpdateAccountCommand.js +21 -0
  10. package/dist-cjs/commands/UpdateWorkspaceCommand.js +21 -0
  11. package/dist-cjs/commands/VerifyAddIdentityCommand.js +21 -0
  12. package/dist-cjs/commands/index.js +10 -0
  13. package/dist-cjs/models/models_0.js +84 -1
  14. package/dist-cjs/protocols/Aws_restJson1.js +398 -2
  15. package/dist-es/Users.js +20 -0
  16. package/dist-es/commands/AddIdentityCommand.js +17 -0
  17. package/dist-es/commands/GetAccountCommand.js +17 -0
  18. package/dist-es/commands/InviteCommand.js +17 -0
  19. package/dist-es/commands/ListAccountIdentitiesCommand.js +17 -0
  20. package/dist-es/commands/ListWorkspacesCommand.js +17 -0
  21. package/dist-es/commands/RemoveIdentityCommand.js +17 -0
  22. package/dist-es/commands/UnbindWorkspaceCommand.js +17 -0
  23. package/dist-es/commands/UpdateAccountCommand.js +17 -0
  24. package/dist-es/commands/UpdateWorkspaceCommand.js +17 -0
  25. package/dist-es/commands/VerifyAddIdentityCommand.js +17 -0
  26. package/dist-es/commands/index.js +10 -0
  27. package/dist-es/models/models_0.js +77 -0
  28. package/dist-es/protocols/Aws_restJson1.js +377 -1
  29. package/dist-types/Users.d.ts +70 -0
  30. package/dist-types/UsersClient.d.ts +12 -2
  31. package/dist-types/commands/index.d.ts +10 -0
  32. package/dist-types/models/models_0.d.ts +420 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/package.json +3 -3
  38. package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -98
  39. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -83
  40. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -134
  41. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -134
  42. package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -88
  43. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -96
  44. package/dist-types/commands/CreateBotCommand.d.ts +0 -198
  45. package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -78
  46. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -80
  47. package/dist-types/commands/DeleteBotCommand.d.ts +0 -77
  48. package/dist-types/commands/GetAppVersionCommand.d.ts +0 -76
  49. package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -184
  50. package/dist-types/commands/GetBotCommand.d.ts +0 -90
  51. package/dist-types/commands/GetUserCommand.d.ts +0 -96
  52. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -81
  53. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -132
  54. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -79
  55. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -79
  56. package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -85
  57. package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -83
  58. package/dist-types/commands/ListBotsCommand.d.ts +0 -89
  59. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  60. package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -152
  61. package/dist-types/commands/QueryUserCommand.d.ts +0 -105
  62. package/dist-types/commands/QueryUsersCommand.d.ts +0 -105
  63. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -75
  64. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -75
  65. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -288
  66. package/dist-types/commands/UpdateBotCommand.d.ts +0 -93
  67. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  68. package/dist-types/commands/UploadPictureCommand.d.ts +0 -76
  69. package/dist-types/commands/UploadPictureV1Command.d.ts +0 -78
  70. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -80
  71. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -80
@@ -1,152 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { QueryColleaguesInput, QueryColleaguesOutput } 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 QueryColleaguesCommand}.
14
- */
15
- export interface QueryColleaguesCommandInput extends QueryColleaguesInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link QueryColleaguesCommand}.
21
- */
22
- export interface QueryColleaguesCommandOutput extends QueryColleaguesOutput, __MetadataBearer {
23
- }
24
- declare const QueryColleaguesCommand_base: {
25
- new (input: QueryColleaguesCommandInput): import("@smithy/smithy-client").CommandImpl<QueryColleaguesCommandInput, QueryColleaguesCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [QueryColleaguesCommandInput]): import("@smithy/smithy-client").CommandImpl<QueryColleaguesCommandInput, QueryColleaguesCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Searches for colleagues using various filters and search criteria, with optional auto-invitation for new users.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, QueryColleaguesCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, QueryColleaguesCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // QueryColleaguesInput
38
- * company: "STRING_VALUE",
39
- * query: { // QueryColleaguesParameters
40
- * id: [ // ColleaguesFilterList
41
- * "STRING_VALUE",
42
- * ],
43
- * extension: [
44
- * "STRING_VALUE",
45
- * ],
46
- * officePhone: [
47
- * "STRING_VALUE",
48
- * ],
49
- * mobilePhone: [
50
- * "STRING_VALUE",
51
- * ],
52
- * name: [
53
- * "STRING_VALUE",
54
- * ],
55
- * email: "<ColleaguesFilterList>",
56
- * department: "<ColleaguesFilterList>",
57
- * search: "STRING_VALUE",
58
- * searchFields: [ // PbxColleaguesQueryFieldList
59
- * "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
60
- * ],
61
- * searchStrategy: "contain" || "startsWith",
62
- * sort: [
63
- * "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
64
- * ],
65
- * start: Number("int"),
66
- * count: Number("int"),
67
- * dir: "asc" || "desc",
68
- * },
69
- * invite: true || false,
70
- * };
71
- * const command = new QueryColleaguesCommand(input);
72
- * const response = await client.send(command);
73
- * // { // QueryColleaguesOutput
74
- * // colleagues: [ // QueryColleaguesOutputItemList // required
75
- * // { // QueryColleaguesOutputItem
76
- * // user: { // User
77
- * // id: "STRING_VALUE", // required
78
- * // name: "STRING_VALUE",
79
- * // email: "STRING_VALUE",
80
- * // phone: "STRING_VALUE",
81
- * // picture: "STRING_VALUE",
82
- * // locale: "STRING_VALUE",
83
- * // timeZone: "STRING_VALUE",
84
- * // company: "STRING_VALUE",
85
- * // bot: true || false,
86
- * // pbxDomain: "STRING_VALUE",
87
- * // pbxPort: "STRING_VALUE",
88
- * // pbxExtension: "STRING_VALUE",
89
- * // pbxSerial: "STRING_VALUE",
90
- * // pbxUserId: "STRING_VALUE",
91
- * // pbxGroupId: "STRING_VALUE",
92
- * // createdAt: "STRING_VALUE",
93
- * // updatedAt: "STRING_VALUE",
94
- * // },
95
- * // colleague: { // PbxColleague
96
- * // id: "STRING_VALUE", // required
97
- * // name: "STRING_VALUE",
98
- * // login: "STRING_VALUE",
99
- * // extension: "STRING_VALUE", // required
100
- * // officePhone: "STRING_VALUE",
101
- * // mobilePhone: "STRING_VALUE",
102
- * // faxNumber: "STRING_VALUE",
103
- * // email: "STRING_VALUE",
104
- * // pbxDn: "STRING_VALUE", // required
105
- * // pbx: "STRING_VALUE", // required
106
- * // role: "admin" || "user" || "fax" || "park_orbit" || "room", // required
107
- * // groupName: "STRING_VALUE", // required
108
- * // groupDn: "STRING_VALUE", // required
109
- * // language: "STRING_VALUE", // required
110
- * // dialplan: "STRING_VALUE", // required
111
- * // faxDialplan: "STRING_VALUE", // required
112
- * // department: "STRING_VALUE",
113
- * // picture: "STRING_VALUE", // required
114
- * // sourceId: "STRING_VALUE",
115
- * // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
116
- * // jid: "STRING_VALUE", // required
117
- * // },
118
- * // },
119
- * // ],
120
- * // };
121
- *
122
- * ```
123
- *
124
- * @param QueryColleaguesCommandInput - {@link QueryColleaguesCommandInput}
125
- * @returns {@link QueryColleaguesCommandOutput}
126
- * @see {@link QueryColleaguesCommandInput} for command's `input` shape.
127
- * @see {@link QueryColleaguesCommandOutput} for command's `response` shape.
128
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
129
- *
130
- * @throws {@link ForbiddenException} (client fault)
131
- *
132
- * @throws {@link ValidationException} (client fault)
133
- *
134
- * @throws {@link UsersServiceException}
135
- * <p>Base exception class for all service exceptions from Users service.</p>
136
- *
137
- *
138
- * @public
139
- */
140
- export declare class QueryColleaguesCommand extends QueryColleaguesCommand_base {
141
- /** @internal type navigation helper, not in runtime. */
142
- protected static __types: {
143
- api: {
144
- input: QueryColleaguesInput;
145
- output: QueryColleaguesOutput;
146
- };
147
- sdk: {
148
- input: QueryColleaguesCommandInput;
149
- output: QueryColleaguesCommandOutput;
150
- };
151
- };
152
- }
@@ -1,105 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { QueryUserInput, QueryUserOutput } 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 QueryUserCommand}.
14
- */
15
- export interface QueryUserCommandInput extends QueryUserInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link QueryUserCommand}.
21
- */
22
- export interface QueryUserCommandOutput extends QueryUserOutput, __MetadataBearer {
23
- }
24
- declare const QueryUserCommand_base: {
25
- new (input: QueryUserCommandInput): import("@smithy/smithy-client").CommandImpl<QueryUserCommandInput, QueryUserCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: QueryUserCommandInput): import("@smithy/smithy-client").CommandImpl<QueryUserCommandInput, QueryUserCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Searches for a single user using a query with optional predicate validation.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, QueryUserCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, QueryUserCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // QueryUserInput
38
- * query: { // UserQuery Union: only one key present
39
- * id: "STRING_VALUE",
40
- * email: "STRING_VALUE",
41
- * phone: "STRING_VALUE",
42
- * },
43
- * predicate: { // UserQueryPredicate
44
- * license: "basic" || "essential" || "business" || "premium" || "wizyconf",
45
- * },
46
- * };
47
- * const command = new QueryUserCommand(input);
48
- * const response = await client.send(command);
49
- * // { // QueryUserOutput
50
- * // user: { // User
51
- * // id: "STRING_VALUE", // required
52
- * // name: "STRING_VALUE",
53
- * // email: "STRING_VALUE",
54
- * // phone: "STRING_VALUE",
55
- * // picture: "STRING_VALUE",
56
- * // locale: "STRING_VALUE",
57
- * // timeZone: "STRING_VALUE",
58
- * // company: "STRING_VALUE",
59
- * // bot: true || false,
60
- * // pbxDomain: "STRING_VALUE",
61
- * // pbxPort: "STRING_VALUE",
62
- * // pbxExtension: "STRING_VALUE",
63
- * // pbxSerial: "STRING_VALUE",
64
- * // pbxUserId: "STRING_VALUE",
65
- * // pbxGroupId: "STRING_VALUE",
66
- * // createdAt: "STRING_VALUE",
67
- * // updatedAt: "STRING_VALUE",
68
- * // },
69
- * // };
70
- *
71
- * ```
72
- *
73
- * @param QueryUserCommandInput - {@link QueryUserCommandInput}
74
- * @returns {@link QueryUserCommandOutput}
75
- * @see {@link QueryUserCommandInput} for command's `input` shape.
76
- * @see {@link QueryUserCommandOutput} for command's `response` shape.
77
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
78
- *
79
- * @throws {@link UserNotFoundException} (client fault)
80
- *
81
- * @throws {@link UserQueryPredicateNotMetException} (client fault)
82
- *
83
- * @throws {@link ForbiddenException} (client fault)
84
- *
85
- * @throws {@link ValidationException} (client fault)
86
- *
87
- * @throws {@link UsersServiceException}
88
- * <p>Base exception class for all service exceptions from Users service.</p>
89
- *
90
- *
91
- * @public
92
- */
93
- export declare class QueryUserCommand extends QueryUserCommand_base {
94
- /** @internal type navigation helper, not in runtime. */
95
- protected static __types: {
96
- api: {
97
- input: QueryUserInput;
98
- output: QueryUserOutput;
99
- };
100
- sdk: {
101
- input: QueryUserCommandInput;
102
- output: QueryUserCommandOutput;
103
- };
104
- };
105
- }
@@ -1,105 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { QueryUsersInput, QueryUsersOutput } 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 QueryUsersCommand}.
14
- */
15
- export interface QueryUsersCommandInput extends QueryUsersInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link QueryUsersCommand}.
21
- */
22
- export interface QueryUsersCommandOutput extends QueryUsersOutput, __MetadataBearer {
23
- }
24
- declare const QueryUsersCommand_base: {
25
- new (input: QueryUsersCommandInput): import("@smithy/smithy-client").CommandImpl<QueryUsersCommandInput, QueryUsersCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: QueryUsersCommandInput): import("@smithy/smithy-client").CommandImpl<QueryUsersCommandInput, QueryUsersCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Searches for multiple users using queries with optional predicate validation.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, QueryUsersCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, QueryUsersCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // QueryUsersInput
38
- * queries: [ // UsersQueryList // required
39
- * { // UserQuery Union: only one key present
40
- * id: "STRING_VALUE",
41
- * email: "STRING_VALUE",
42
- * phone: "STRING_VALUE",
43
- * },
44
- * ],
45
- * predicate: { // UserQueryPredicate
46
- * license: "basic" || "essential" || "business" || "premium" || "wizyconf",
47
- * },
48
- * };
49
- * const command = new QueryUsersCommand(input);
50
- * const response = await client.send(command);
51
- * // { // QueryUsersOutput
52
- * // users: [ // UsersList // required
53
- * // { // User
54
- * // id: "STRING_VALUE", // required
55
- * // name: "STRING_VALUE",
56
- * // email: "STRING_VALUE",
57
- * // phone: "STRING_VALUE",
58
- * // picture: "STRING_VALUE",
59
- * // locale: "STRING_VALUE",
60
- * // timeZone: "STRING_VALUE",
61
- * // company: "STRING_VALUE",
62
- * // bot: true || false,
63
- * // pbxDomain: "STRING_VALUE",
64
- * // pbxPort: "STRING_VALUE",
65
- * // pbxExtension: "STRING_VALUE",
66
- * // pbxSerial: "STRING_VALUE",
67
- * // pbxUserId: "STRING_VALUE",
68
- * // pbxGroupId: "STRING_VALUE",
69
- * // createdAt: "STRING_VALUE",
70
- * // updatedAt: "STRING_VALUE",
71
- * // },
72
- * // ],
73
- * // };
74
- *
75
- * ```
76
- *
77
- * @param QueryUsersCommandInput - {@link QueryUsersCommandInput}
78
- * @returns {@link QueryUsersCommandOutput}
79
- * @see {@link QueryUsersCommandInput} for command's `input` shape.
80
- * @see {@link QueryUsersCommandOutput} for command's `response` shape.
81
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
82
- *
83
- * @throws {@link ForbiddenException} (client fault)
84
- *
85
- * @throws {@link ValidationException} (client fault)
86
- *
87
- * @throws {@link UsersServiceException}
88
- * <p>Base exception class for all service exceptions from Users service.</p>
89
- *
90
- *
91
- * @public
92
- */
93
- export declare class QueryUsersCommand extends QueryUsersCommand_base {
94
- /** @internal type navigation helper, not in runtime. */
95
- protected static __types: {
96
- api: {
97
- input: QueryUsersInput;
98
- output: QueryUsersOutput;
99
- };
100
- sdk: {
101
- input: QueryUsersCommandInput;
102
- output: QueryUsersCommandOutput;
103
- };
104
- };
105
- }
@@ -1,75 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { ToggleTranscriptionEmailNotificationsSubscriptionInput, ToggleTranscriptionEmailNotificationsSubscriptionOutput } 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 ToggleTranscriptionEmailNotificationsSubscriptionCommand}.
14
- */
15
- export interface ToggleTranscriptionEmailNotificationsSubscriptionCommandInput extends ToggleTranscriptionEmailNotificationsSubscriptionInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ToggleTranscriptionEmailNotificationsSubscriptionCommand}.
21
- */
22
- export interface ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput extends ToggleTranscriptionEmailNotificationsSubscriptionOutput, __MetadataBearer {
23
- }
24
- declare const ToggleTranscriptionEmailNotificationsSubscriptionCommand_base: {
25
- new (input: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Using unsubscribeToken from email you can Toggle transcription email notifications subscription
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, ToggleTranscriptionEmailNotificationsSubscriptionCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, ToggleTranscriptionEmailNotificationsSubscriptionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // ToggleTranscriptionEmailNotificationsSubscriptionInput
38
- * unsubscribeToken: "STRING_VALUE", // required
39
- * subscribe: true || false, // required
40
- * };
41
- * const command = new ToggleTranscriptionEmailNotificationsSubscriptionCommand(input);
42
- * const response = await client.send(command);
43
- * // {};
44
- *
45
- * ```
46
- *
47
- * @param ToggleTranscriptionEmailNotificationsSubscriptionCommandInput - {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandInput}
48
- * @returns {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput}
49
- * @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandInput} for command's `input` shape.
50
- * @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput} for command's `response` shape.
51
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
52
- *
53
- * @throws {@link ForbiddenException} (client fault)
54
- *
55
- * @throws {@link ValidationException} (client fault)
56
- *
57
- * @throws {@link UsersServiceException}
58
- * <p>Base exception class for all service exceptions from Users service.</p>
59
- *
60
- *
61
- * @public
62
- */
63
- export declare class ToggleTranscriptionEmailNotificationsSubscriptionCommand extends ToggleTranscriptionEmailNotificationsSubscriptionCommand_base {
64
- /** @internal type navigation helper, not in runtime. */
65
- protected static __types: {
66
- api: {
67
- input: ToggleTranscriptionEmailNotificationsSubscriptionInput;
68
- output: {};
69
- };
70
- sdk: {
71
- input: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput;
72
- output: ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput;
73
- };
74
- };
75
- }
@@ -1,75 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { ToggleUnreadEmailNotificationsSubscriptionInput, ToggleUnreadEmailNotificationsSubscriptionOutput } 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 ToggleUnreadEmailNotificationsSubscriptionCommand}.
14
- */
15
- export interface ToggleUnreadEmailNotificationsSubscriptionCommandInput extends ToggleUnreadEmailNotificationsSubscriptionInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ToggleUnreadEmailNotificationsSubscriptionCommand}.
21
- */
22
- export interface ToggleUnreadEmailNotificationsSubscriptionCommandOutput extends ToggleUnreadEmailNotificationsSubscriptionOutput, __MetadataBearer {
23
- }
24
- declare const ToggleUnreadEmailNotificationsSubscriptionCommand_base: {
25
- new (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ToggleUnreadEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Using unsubscribeToken from email you can Toggle unread messages email notifications subscription
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, ToggleUnreadEmailNotificationsSubscriptionCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, ToggleUnreadEmailNotificationsSubscriptionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // ToggleUnreadEmailNotificationsSubscriptionInput
38
- * unsubscribeToken: "STRING_VALUE", // required
39
- * subscribe: true || false, // required
40
- * };
41
- * const command = new ToggleUnreadEmailNotificationsSubscriptionCommand(input);
42
- * const response = await client.send(command);
43
- * // {};
44
- *
45
- * ```
46
- *
47
- * @param ToggleUnreadEmailNotificationsSubscriptionCommandInput - {@link ToggleUnreadEmailNotificationsSubscriptionCommandInput}
48
- * @returns {@link ToggleUnreadEmailNotificationsSubscriptionCommandOutput}
49
- * @see {@link ToggleUnreadEmailNotificationsSubscriptionCommandInput} for command's `input` shape.
50
- * @see {@link ToggleUnreadEmailNotificationsSubscriptionCommandOutput} for command's `response` shape.
51
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
52
- *
53
- * @throws {@link ForbiddenException} (client fault)
54
- *
55
- * @throws {@link ValidationException} (client fault)
56
- *
57
- * @throws {@link UsersServiceException}
58
- * <p>Base exception class for all service exceptions from Users service.</p>
59
- *
60
- *
61
- * @public
62
- */
63
- export declare class ToggleUnreadEmailNotificationsSubscriptionCommand extends ToggleUnreadEmailNotificationsSubscriptionCommand_base {
64
- /** @internal type navigation helper, not in runtime. */
65
- protected static __types: {
66
- api: {
67
- input: ToggleUnreadEmailNotificationsSubscriptionInput;
68
- output: {};
69
- };
70
- sdk: {
71
- input: ToggleUnreadEmailNotificationsSubscriptionCommandInput;
72
- output: ToggleUnreadEmailNotificationsSubscriptionCommandOutput;
73
- };
74
- };
75
- }