@wildix/xbees-users-client 1.0.21 → 1.0.23
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.
|
@@ -35,11 +35,12 @@ declare const ChangeUserEmailCommand_base: {
|
|
|
35
35
|
* // const { UsersClient, ChangeUserEmailCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
36
|
* const client = new UsersClient(config);
|
|
37
37
|
* const input = { // ChangeUserEmailInput
|
|
38
|
-
* newData: { //
|
|
38
|
+
* newData: { // NewEmailData
|
|
39
39
|
* email: "STRING_VALUE", // required
|
|
40
40
|
* companyId: "STRING_VALUE",
|
|
41
|
+
* pbxDomain: "STRING_VALUE",
|
|
41
42
|
* },
|
|
42
|
-
* oldData: {
|
|
43
|
+
* oldData: { // OldEmailData
|
|
43
44
|
* email: "STRING_VALUE", // required
|
|
44
45
|
* companyId: "STRING_VALUE",
|
|
45
46
|
* },
|
|
@@ -238,16 +238,36 @@ export declare class BotSecretKeyNotValidException extends __BaseException {
|
|
|
238
238
|
/**
|
|
239
239
|
* @public
|
|
240
240
|
*/
|
|
241
|
-
export interface
|
|
241
|
+
export interface NewEmailData {
|
|
242
242
|
email: string;
|
|
243
|
+
/**
|
|
244
|
+
* By default, API expects that company id will be the same for both new and old emails. If no - this field should be provided
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
companyId?: string;
|
|
248
|
+
/**
|
|
249
|
+
* Target PBX domain name for cases with few PBXes in one WMS-network
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
pbxDomain?: string;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
export interface OldEmailData {
|
|
258
|
+
email: string;
|
|
259
|
+
/**
|
|
260
|
+
* By default, API expects that company id will be the same for both new and old emails. If no - this field should be provided
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
243
263
|
companyId?: string;
|
|
244
264
|
}
|
|
245
265
|
/**
|
|
246
266
|
* @public
|
|
247
267
|
*/
|
|
248
268
|
export interface ChangeUserEmailInput {
|
|
249
|
-
newData:
|
|
250
|
-
oldData:
|
|
269
|
+
newData: NewEmailData;
|
|
270
|
+
oldData: OldEmailData;
|
|
251
271
|
}
|
|
252
272
|
/**
|
|
253
273
|
* @public
|
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.0.
|
|
4
|
+
"version": "1.0.23",
|
|
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",
|