@wildix/xbees-users-client 1.0.32 → 1.0.34
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 +0 -12
- package/dist-cjs/commands/index.js +0 -6
- package/dist-cjs/models/models_0.js +37 -1
- package/dist-cjs/protocols/Aws_restJson1.js +120 -182
- package/dist-es/Users.js +0 -12
- package/dist-es/commands/index.js +0 -6
- package/dist-es/models/models_0.js +36 -0
- package/dist-es/protocols/Aws_restJson1.js +120 -170
- package/dist-types/Users.d.ts +0 -42
- package/dist-types/UsersClient.d.ts +2 -8
- package/dist-types/commands/CreateBotCommand.d.ts +49 -0
- package/dist-types/commands/GetBotCallbackCommand.d.ts +49 -0
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +0 -6
- package/dist-types/models/models_0.d.ts +217 -132
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -54
- package/package.json +5 -5
- package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +0 -21
- package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +0 -21
- package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +0 -21
- package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +0 -21
- package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +0 -21
- package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +0 -21
- package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +0 -17
- package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +0 -17
- package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +0 -17
- package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +0 -17
- package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +0 -17
- package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +0 -17
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -71
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -69
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -69
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -63
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -63
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -69
|
@@ -1,63 +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
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
export declare class ToggleTranscriptionEmailNotificationsSubscriptionCommand extends ToggleTranscriptionEmailNotificationsSubscriptionCommand_base {
|
|
63
|
-
}
|
|
@@ -1,63 +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
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
export declare class ToggleUnreadEmailNotificationsSubscriptionCommand extends ToggleUnreadEmailNotificationsSubscriptionCommand_base {
|
|
63
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UpdateUserEmailNotificationsSettingsInput, UpdateUserEmailNotificationsSettingsOutput } 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 UpdateUserEmailNotificationsSettingsCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UpdateUserEmailNotificationsSettingsCommandInput extends UpdateUserEmailNotificationsSettingsInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UpdateUserEmailNotificationsSettingsCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UpdateUserEmailNotificationsSettingsCommandOutput extends UpdateUserEmailNotificationsSettingsOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UpdateUserEmailNotificationsSettingsCommand_base: {
|
|
25
|
-
new (input: UpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Update user email notifications settings
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, UpdateUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, UpdateUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // UpdateUserEmailNotificationsSettingsInput
|
|
38
|
-
* unread: true || false,
|
|
39
|
-
* transcription: true || false,
|
|
40
|
-
* userId: "STRING_VALUE", // required
|
|
41
|
-
* };
|
|
42
|
-
* const command = new UpdateUserEmailNotificationsSettingsCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* // { // UpdateUserEmailNotificationsSettingsOutput
|
|
45
|
-
* // notifications: { // UserEmailNotificationsSettings
|
|
46
|
-
* // unread: true || false, // required
|
|
47
|
-
* // transcription: true || false, // required
|
|
48
|
-
* // },
|
|
49
|
-
* // };
|
|
50
|
-
*
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @param UpdateUserEmailNotificationsSettingsCommandInput - {@link UpdateUserEmailNotificationsSettingsCommandInput}
|
|
54
|
-
* @returns {@link UpdateUserEmailNotificationsSettingsCommandOutput}
|
|
55
|
-
* @see {@link UpdateUserEmailNotificationsSettingsCommandInput} for command's `input` shape.
|
|
56
|
-
* @see {@link UpdateUserEmailNotificationsSettingsCommandOutput} for command's `response` shape.
|
|
57
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
58
|
-
*
|
|
59
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link ValidationException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link UsersServiceException}
|
|
64
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
65
|
-
*
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
export declare class UpdateUserEmailNotificationsSettingsCommand extends UpdateUserEmailNotificationsSettingsCommand_base {
|
|
69
|
-
}
|