@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.
- package/dist-cjs/protocols/Aws_restJson1.js +9 -9
- package/dist-es/protocols/Aws_restJson1.js +9 -9
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/package.json +2 -2
- package/dist-types/commands/AddIdentityCommand.d.ts +0 -93
- package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -110
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -95
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -146
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -146
- package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -100
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -108
- package/dist-types/commands/CreateBotCommand.d.ts +0 -210
- package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -90
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -92
- package/dist-types/commands/DeleteBotCommand.d.ts +0 -89
- package/dist-types/commands/GetAccountCommand.d.ts +0 -182
- package/dist-types/commands/GetAppVersionCommand.d.ts +0 -88
- package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -196
- package/dist-types/commands/GetBotCommand.d.ts +0 -102
- package/dist-types/commands/GetUserCommand.d.ts +0 -108
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -93
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -144
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -91
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -91
- package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -97
- package/dist-types/commands/InviteCommand.d.ts +0 -116
- package/dist-types/commands/ListAccountIdentitiesCommand.d.ts +0 -94
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -95
- package/dist-types/commands/ListBotsCommand.d.ts +0 -101
- package/dist-types/commands/ListWorkspacesCommand.d.ts +0 -170
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -93
- package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -164
- package/dist-types/commands/QueryUserCommand.d.ts +0 -117
- package/dist-types/commands/QueryUsersCommand.d.ts +0 -117
- package/dist-types/commands/RemoveIdentityCommand.d.ts +0 -87
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -87
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -87
- package/dist-types/commands/UnbindWorkspaceCommand.d.ts +0 -87
- package/dist-types/commands/UpdateAccountCommand.d.ts +0 -94
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -300
- package/dist-types/commands/UpdateBotCommand.d.ts +0 -105
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -93
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +0 -171
- package/dist-types/commands/UploadPictureCommand.d.ts +0 -88
- package/dist-types/commands/UploadPictureV1Command.d.ts +0 -90
- package/dist-types/commands/VerifyAddIdentityCommand.d.ts +0 -95
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -92
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -92
|
@@ -1,93 +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 AccountNotFoundException} (client fault)
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link IdentityAlreadyLinkedException} (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 UpdateUserEmailNotificationsSettingsCommand extends UpdateUserEmailNotificationsSettingsCommand_base {
|
|
82
|
-
/** @internal type navigation helper, not in runtime. */
|
|
83
|
-
protected static __types: {
|
|
84
|
-
api: {
|
|
85
|
-
input: UpdateUserEmailNotificationsSettingsInput;
|
|
86
|
-
output: UpdateUserEmailNotificationsSettingsOutput;
|
|
87
|
-
};
|
|
88
|
-
sdk: {
|
|
89
|
-
input: UpdateUserEmailNotificationsSettingsCommandInput;
|
|
90
|
-
output: UpdateUserEmailNotificationsSettingsCommandOutput;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UpdateWorkspaceInput, UpdateWorkspaceOutput } 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 UpdateWorkspaceCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UpdateWorkspaceCommandInput extends UpdateWorkspaceInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UpdateWorkspaceCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UpdateWorkspaceCommand_base: {
|
|
25
|
-
new (input: UpdateWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UpdateWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Updates the workspace. Available only via s2s (service-to-service) authentication.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, UpdateWorkspaceCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, UpdateWorkspaceCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // UpdateWorkspaceInput
|
|
38
|
-
* accountId: "STRING_VALUE", // required
|
|
39
|
-
* workspaceId: "STRING_VALUE", // required
|
|
40
|
-
* active: true || false,
|
|
41
|
-
* type: "personal" || "work" || "support",
|
|
42
|
-
* };
|
|
43
|
-
* const command = new UpdateWorkspaceCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* // { // UpdateWorkspaceOutput
|
|
46
|
-
* // workspace: { // Workspace
|
|
47
|
-
* // companyId: "STRING_VALUE",
|
|
48
|
-
* // pbxUser: { // UserPbxLinkData
|
|
49
|
-
* // id: "STRING_VALUE", // required
|
|
50
|
-
* // company: "STRING_VALUE", // required
|
|
51
|
-
* // companyName: "STRING_VALUE",
|
|
52
|
-
* // domain: "STRING_VALUE", // required
|
|
53
|
-
* // email: "STRING_VALUE",
|
|
54
|
-
* // info: { // UserPersonalInfo
|
|
55
|
-
* // dn: "STRING_VALUE", // required
|
|
56
|
-
* // id: "STRING_VALUE", // required
|
|
57
|
-
* // name: "STRING_VALUE", // required
|
|
58
|
-
* // extension: "STRING_VALUE", // required
|
|
59
|
-
* // officePhone: "STRING_VALUE",
|
|
60
|
-
* // mobilePhone: "STRING_VALUE",
|
|
61
|
-
* // faxNumber: "STRING_VALUE",
|
|
62
|
-
* // email: "STRING_VALUE",
|
|
63
|
-
* // role: "STRING_VALUE", // required
|
|
64
|
-
* // language: "STRING_VALUE", // required
|
|
65
|
-
* // dialplan: "STRING_VALUE", // required
|
|
66
|
-
* // faxDialplan: "STRING_VALUE", // required
|
|
67
|
-
* // departament: "STRING_VALUE",
|
|
68
|
-
* // picture: "STRING_VALUE", // required
|
|
69
|
-
* // groupDn: "STRING_VALUE", // required
|
|
70
|
-
* // groupName: "STRING_VALUE", // required
|
|
71
|
-
* // jid: "STRING_VALUE", // required
|
|
72
|
-
* // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
|
|
73
|
-
* // login: "STRING_VALUE",
|
|
74
|
-
* // pbx: "STRING_VALUE",
|
|
75
|
-
* // pbxDn: "STRING_VALUE", // required
|
|
76
|
-
* // sourceId: "STRING_VALUE",
|
|
77
|
-
* // sipPassword: "STRING_VALUE",
|
|
78
|
-
* // },
|
|
79
|
-
* // pbx: { // UserPbxInfo
|
|
80
|
-
* // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
|
|
81
|
-
* // "STRING_VALUE",
|
|
82
|
-
* // ],
|
|
83
|
-
* // ports: [ // UserPbxInfoPorts // required
|
|
84
|
-
* // "STRING_VALUE",
|
|
85
|
-
* // ],
|
|
86
|
-
* // externalLinePrefix: "STRING_VALUE",
|
|
87
|
-
* // version: "STRING_VALUE", // required
|
|
88
|
-
* // serial: "STRING_VALUE", // required
|
|
89
|
-
* // },
|
|
90
|
-
* // picture: "STRING_VALUE", // required
|
|
91
|
-
* // pictureDeleted: true || false,
|
|
92
|
-
* // port: "STRING_VALUE", // required
|
|
93
|
-
* // serial: "STRING_VALUE", // required
|
|
94
|
-
* // services: { // UserPbxServices
|
|
95
|
-
* // xcaracal: true || false,
|
|
96
|
-
* // wizyWebinar: true || false,
|
|
97
|
-
* // },
|
|
98
|
-
* // personalSettings: {},
|
|
99
|
-
* // dialplanSettings: {},
|
|
100
|
-
* // awsRegion: "STRING_VALUE",
|
|
101
|
-
* // updatedAt: "STRING_VALUE",
|
|
102
|
-
* // },
|
|
103
|
-
* // streamUser: { // User
|
|
104
|
-
* // id: "STRING_VALUE", // required
|
|
105
|
-
* // name: "STRING_VALUE",
|
|
106
|
-
* // email: "STRING_VALUE",
|
|
107
|
-
* // phone: "STRING_VALUE",
|
|
108
|
-
* // picture: "STRING_VALUE",
|
|
109
|
-
* // locale: "STRING_VALUE",
|
|
110
|
-
* // timeZone: "STRING_VALUE",
|
|
111
|
-
* // company: "STRING_VALUE",
|
|
112
|
-
* // bot: true || false,
|
|
113
|
-
* // pbxDomain: "STRING_VALUE",
|
|
114
|
-
* // pbxPort: "STRING_VALUE",
|
|
115
|
-
* // pbxExtension: "STRING_VALUE",
|
|
116
|
-
* // pbxSerial: "STRING_VALUE",
|
|
117
|
-
* // pbxUserId: "STRING_VALUE",
|
|
118
|
-
* // pbxGroupId: "STRING_VALUE",
|
|
119
|
-
* // createdAt: "STRING_VALUE",
|
|
120
|
-
* // updatedAt: "STRING_VALUE",
|
|
121
|
-
* // },
|
|
122
|
-
* // type: "personal" || "work" || "support",
|
|
123
|
-
* // id: "STRING_VALUE", // required
|
|
124
|
-
* // accountId: "STRING_VALUE", // required
|
|
125
|
-
* // active: true || false, // required
|
|
126
|
-
* // },
|
|
127
|
-
* // };
|
|
128
|
-
*
|
|
129
|
-
* ```
|
|
130
|
-
*
|
|
131
|
-
* @param UpdateWorkspaceCommandInput - {@link UpdateWorkspaceCommandInput}
|
|
132
|
-
* @returns {@link UpdateWorkspaceCommandOutput}
|
|
133
|
-
* @see {@link UpdateWorkspaceCommandInput} for command's `input` shape.
|
|
134
|
-
* @see {@link UpdateWorkspaceCommandOutput} for command's `response` shape.
|
|
135
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
136
|
-
*
|
|
137
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
138
|
-
*
|
|
139
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
140
|
-
*
|
|
141
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
142
|
-
*
|
|
143
|
-
* @throws {@link ValidationException} (client fault)
|
|
144
|
-
*
|
|
145
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
146
|
-
*
|
|
147
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
148
|
-
*
|
|
149
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
150
|
-
*
|
|
151
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
152
|
-
*
|
|
153
|
-
* @throws {@link UsersServiceException}
|
|
154
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* @public
|
|
158
|
-
*/
|
|
159
|
-
export declare class UpdateWorkspaceCommand extends UpdateWorkspaceCommand_base {
|
|
160
|
-
/** @internal type navigation helper, not in runtime. */
|
|
161
|
-
protected static __types: {
|
|
162
|
-
api: {
|
|
163
|
-
input: UpdateWorkspaceInput;
|
|
164
|
-
output: UpdateWorkspaceOutput;
|
|
165
|
-
};
|
|
166
|
-
sdk: {
|
|
167
|
-
input: UpdateWorkspaceCommandInput;
|
|
168
|
-
output: UpdateWorkspaceCommandOutput;
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UploadPictureInput, UploadPictureOutput } 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 UploadPictureCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UploadPictureCommandInput extends UploadPictureInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UploadPictureCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UploadPictureCommandOutput extends UploadPictureOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UploadPictureCommand_base: {
|
|
25
|
-
new (input: UploadPictureCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureCommandInput, UploadPictureCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UploadPictureCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureCommandInput, UploadPictureCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Uploads a user profile picture in base64 format and returns the URL where it can be accessed.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, UploadPictureCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, UploadPictureCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // UploadPictureInput
|
|
38
|
-
* picture: "STRING_VALUE", // required
|
|
39
|
-
* };
|
|
40
|
-
* const command = new UploadPictureCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* // { // UploadPictureOutput
|
|
43
|
-
* // url: "STRING_VALUE", // required
|
|
44
|
-
* // };
|
|
45
|
-
*
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @param UploadPictureCommandInput - {@link UploadPictureCommandInput}
|
|
49
|
-
* @returns {@link UploadPictureCommandOutput}
|
|
50
|
-
* @see {@link UploadPictureCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link UploadPictureCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
53
|
-
*
|
|
54
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link ValidationException} (client fault)
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
61
|
-
*
|
|
62
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
65
|
-
*
|
|
66
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link UsersServiceException}
|
|
71
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
export declare class UploadPictureCommand extends UploadPictureCommand_base {
|
|
77
|
-
/** @internal type navigation helper, not in runtime. */
|
|
78
|
-
protected static __types: {
|
|
79
|
-
api: {
|
|
80
|
-
input: UploadPictureInput;
|
|
81
|
-
output: UploadPictureOutput;
|
|
82
|
-
};
|
|
83
|
-
sdk: {
|
|
84
|
-
input: UploadPictureCommandInput;
|
|
85
|
-
output: UploadPictureCommandOutput;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UploadPictureV1Input, UploadPictureV1Output } 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 UploadPictureV1Command}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UploadPictureV1CommandInput extends UploadPictureV1Input {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UploadPictureV1Command}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UploadPictureV1CommandOutput extends UploadPictureV1Output, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UploadPictureV1Command_base: {
|
|
25
|
-
new (input: UploadPictureV1CommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureV1CommandInput, UploadPictureV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UploadPictureV1CommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureV1CommandInput, UploadPictureV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Uploads a user profile picture in base64 format and returns the URL where it can be accessed. This is a deprecated operation - use UploadPicture instead.
|
|
31
|
-
*
|
|
32
|
-
* @deprecated
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { UsersClient, UploadPictureV1Command } from "@wildix/xbees-users-client"; // ES Modules import
|
|
37
|
-
* // const { UsersClient, UploadPictureV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
38
|
-
* const client = new UsersClient(config);
|
|
39
|
-
* const input = { // UploadPictureV1Input
|
|
40
|
-
* picture: "STRING_VALUE", // required
|
|
41
|
-
* };
|
|
42
|
-
* const command = new UploadPictureV1Command(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* // { // UploadPictureV1Output
|
|
45
|
-
* // url: "STRING_VALUE", // required
|
|
46
|
-
* // };
|
|
47
|
-
*
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @param UploadPictureV1CommandInput - {@link UploadPictureV1CommandInput}
|
|
51
|
-
* @returns {@link UploadPictureV1CommandOutput}
|
|
52
|
-
* @see {@link UploadPictureV1CommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link UploadPictureV1CommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link ValidationException} (client fault)
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
61
|
-
*
|
|
62
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
65
|
-
*
|
|
66
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link UsersServiceException}
|
|
73
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* @public
|
|
77
|
-
*/
|
|
78
|
-
export declare class UploadPictureV1Command extends UploadPictureV1Command_base {
|
|
79
|
-
/** @internal type navigation helper, not in runtime. */
|
|
80
|
-
protected static __types: {
|
|
81
|
-
api: {
|
|
82
|
-
input: UploadPictureV1Input;
|
|
83
|
-
output: UploadPictureV1Output;
|
|
84
|
-
};
|
|
85
|
-
sdk: {
|
|
86
|
-
input: UploadPictureV1CommandInput;
|
|
87
|
-
output: UploadPictureV1CommandOutput;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { VerifyAddIdentityInput, VerifyAddIdentityOutput } 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 VerifyAddIdentityCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface VerifyAddIdentityCommandInput extends VerifyAddIdentityInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link VerifyAddIdentityCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface VerifyAddIdentityCommandOutput extends VerifyAddIdentityOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const VerifyAddIdentityCommand_base: {
|
|
25
|
-
new (input: VerifyAddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: VerifyAddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Completes adding an identity by verifying the OTP sent to the new identity. Call after AddIdentity.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, VerifyAddIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, VerifyAddIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // VerifyAddIdentityInput
|
|
38
|
-
* accountId: "STRING_VALUE", // required
|
|
39
|
-
* identity: "STRING_VALUE", // required
|
|
40
|
-
* otp: "STRING_VALUE", // required
|
|
41
|
-
* primaryOtp: "STRING_VALUE", // required
|
|
42
|
-
* };
|
|
43
|
-
* const command = new VerifyAddIdentityCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* // { // VerifyAddIdentityOutput
|
|
46
|
-
* // identity: { // Identity
|
|
47
|
-
* // identity: "STRING_VALUE", // required
|
|
48
|
-
* // account: "STRING_VALUE", // required
|
|
49
|
-
* // verified: true || false,
|
|
50
|
-
* // },
|
|
51
|
-
* // };
|
|
52
|
-
*
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* @param VerifyAddIdentityCommandInput - {@link VerifyAddIdentityCommandInput}
|
|
56
|
-
* @returns {@link VerifyAddIdentityCommandOutput}
|
|
57
|
-
* @see {@link VerifyAddIdentityCommandInput} for command's `input` shape.
|
|
58
|
-
* @see {@link VerifyAddIdentityCommandOutput} for command's `response` shape.
|
|
59
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link ValidationException} (client fault)
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (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 VerifyAddIdentityCommand extends VerifyAddIdentityCommand_base {
|
|
84
|
-
/** @internal type navigation helper, not in runtime. */
|
|
85
|
-
protected static __types: {
|
|
86
|
-
api: {
|
|
87
|
-
input: VerifyAddIdentityInput;
|
|
88
|
-
output: VerifyAddIdentityOutput;
|
|
89
|
-
};
|
|
90
|
-
sdk: {
|
|
91
|
-
input: VerifyAddIdentityCommandInput;
|
|
92
|
-
output: VerifyAddIdentityCommandOutput;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { VerifyBotSecretKeyInput, VerifyBotSecretKeyOutput } 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 VerifyBotSecretKeyCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface VerifyBotSecretKeyCommandInput extends VerifyBotSecretKeyInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link VerifyBotSecretKeyCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface VerifyBotSecretKeyCommandOutput extends VerifyBotSecretKeyOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const VerifyBotSecretKeyCommand_base: {
|
|
25
|
-
new (input: VerifyBotSecretKeyCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: VerifyBotSecretKeyCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Verifies a bot secret key and returns bot information if valid.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, VerifyBotSecretKeyCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, VerifyBotSecretKeyCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // VerifyBotSecretKeyInput
|
|
38
|
-
* secret: "STRING_VALUE", // required
|
|
39
|
-
* };
|
|
40
|
-
* const command = new VerifyBotSecretKeyCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* // { // VerifyBotSecretKeyOutput
|
|
43
|
-
* // company: "STRING_VALUE", // required
|
|
44
|
-
* // id: "STRING_VALUE", // required
|
|
45
|
-
* // name: "STRING_VALUE",
|
|
46
|
-
* // };
|
|
47
|
-
*
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @param VerifyBotSecretKeyCommandInput - {@link VerifyBotSecretKeyCommandInput}
|
|
51
|
-
* @returns {@link VerifyBotSecretKeyCommandOutput}
|
|
52
|
-
* @see {@link VerifyBotSecretKeyCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link VerifyBotSecretKeyCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link BotSecretKeyNotValidException} (client fault)
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link ValidationException} (client fault)
|
|
61
|
-
*
|
|
62
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
65
|
-
*
|
|
66
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link UsersServiceException}
|
|
75
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
export declare class VerifyBotSecretKeyCommand extends VerifyBotSecretKeyCommand_base {
|
|
81
|
-
/** @internal type navigation helper, not in runtime. */
|
|
82
|
-
protected static __types: {
|
|
83
|
-
api: {
|
|
84
|
-
input: VerifyBotSecretKeyInput;
|
|
85
|
-
output: VerifyBotSecretKeyOutput;
|
|
86
|
-
};
|
|
87
|
-
sdk: {
|
|
88
|
-
input: VerifyBotSecretKeyCommandInput;
|
|
89
|
-
output: VerifyBotSecretKeyCommandOutput;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
}
|