@wildix/xbees-users-client 4.1.0 → 4.1.1
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.
|
@@ -320,7 +320,8 @@ const _kb = "kb";
|
|
|
320
320
|
const _ke = "keys";
|
|
321
321
|
const _l = "language";
|
|
322
322
|
const _lT = "licenseType";
|
|
323
|
-
const _li = "
|
|
323
|
+
const _li = "limit";
|
|
324
|
+
const _lic = "license";
|
|
324
325
|
const _ll = "llm";
|
|
325
326
|
const _lo = "login";
|
|
326
327
|
const _loc = "locale";
|
|
@@ -333,11 +334,12 @@ const _n = "name";
|
|
|
333
334
|
const _nA = "networkAddresses";
|
|
334
335
|
const _nD = "newData";
|
|
335
336
|
const _no = "notifications";
|
|
336
|
-
const _o = "
|
|
337
|
+
const _o = "offset";
|
|
337
338
|
const _oAA = "openAiAssistant";
|
|
338
339
|
const _oD = "oldData";
|
|
339
340
|
const _oP = "officePhone";
|
|
340
341
|
const _oa = "oauth";
|
|
342
|
+
const _ot = "otp";
|
|
341
343
|
const _p = "pbx";
|
|
342
344
|
const _pD = "pbxDn";
|
|
343
345
|
const _pDb = "pbxDomain";
|
|
@@ -394,6 +396,7 @@ const _ti = "timeout";
|
|
|
394
396
|
const _to = "tools";
|
|
395
397
|
const _tok = "token";
|
|
396
398
|
const _too = "tool";
|
|
399
|
+
const _tot = "total";
|
|
397
400
|
const _tr = "transcription";
|
|
398
401
|
const _u = "users";
|
|
399
402
|
const _uA = "updatedAt";
|
|
@@ -978,13 +981,13 @@ exports.ListIdentitiesOutput$ = [3, n3, _LIOi,
|
|
|
978
981
|
];
|
|
979
982
|
exports.ListWorkspacesInput$ = [3, n3, _LWI,
|
|
980
983
|
0,
|
|
981
|
-
[_aIc],
|
|
982
|
-
[[0, 1]], 1
|
|
984
|
+
[_aIc, _li, _o, _q],
|
|
985
|
+
[[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _o }], [0, { [_hQ]: _q }]], 1
|
|
983
986
|
];
|
|
984
987
|
exports.ListWorkspacesOutput$ = [3, n3, _LWO,
|
|
985
988
|
0,
|
|
986
|
-
[_w],
|
|
987
|
-
[() => WorkspaceList], 1
|
|
989
|
+
[_w, _tot],
|
|
990
|
+
[() => WorkspaceList, 1], 1
|
|
988
991
|
];
|
|
989
992
|
exports.NewEmailData$ = [3, n3, _NED,
|
|
990
993
|
0,
|
|
@@ -1198,7 +1201,7 @@ exports.UserPersonalInfo$ = [3, n3, _UPIse,
|
|
|
1198
1201
|
];
|
|
1199
1202
|
exports.UserQueryPredicate$ = [3, n3, _UQP,
|
|
1200
1203
|
0,
|
|
1201
|
-
[
|
|
1204
|
+
[_lic],
|
|
1202
1205
|
[0]
|
|
1203
1206
|
];
|
|
1204
1207
|
exports.VerifyBotSecretKeyInput$ = [3, n3, _VBSKI,
|
|
@@ -1223,7 +1226,7 @@ exports.VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
|
|
|
1223
1226
|
];
|
|
1224
1227
|
exports.VerifyIdentityInput$ = [3, n3, _VII,
|
|
1225
1228
|
0,
|
|
1226
|
-
[_aIc, _id,
|
|
1229
|
+
[_aIc, _id, _ot],
|
|
1227
1230
|
[[0, 1], 0, 0], 3
|
|
1228
1231
|
];
|
|
1229
1232
|
exports.VerifyIdentityOutput$ = [3, n3, _VIO,
|
|
@@ -313,7 +313,8 @@ const _kb = "kb";
|
|
|
313
313
|
const _ke = "keys";
|
|
314
314
|
const _l = "language";
|
|
315
315
|
const _lT = "licenseType";
|
|
316
|
-
const _li = "
|
|
316
|
+
const _li = "limit";
|
|
317
|
+
const _lic = "license";
|
|
317
318
|
const _ll = "llm";
|
|
318
319
|
const _lo = "login";
|
|
319
320
|
const _loc = "locale";
|
|
@@ -326,11 +327,12 @@ const _n = "name";
|
|
|
326
327
|
const _nA = "networkAddresses";
|
|
327
328
|
const _nD = "newData";
|
|
328
329
|
const _no = "notifications";
|
|
329
|
-
const _o = "
|
|
330
|
+
const _o = "offset";
|
|
330
331
|
const _oAA = "openAiAssistant";
|
|
331
332
|
const _oD = "oldData";
|
|
332
333
|
const _oP = "officePhone";
|
|
333
334
|
const _oa = "oauth";
|
|
335
|
+
const _ot = "otp";
|
|
334
336
|
const _p = "pbx";
|
|
335
337
|
const _pD = "pbxDn";
|
|
336
338
|
const _pDb = "pbxDomain";
|
|
@@ -387,6 +389,7 @@ const _ti = "timeout";
|
|
|
387
389
|
const _to = "tools";
|
|
388
390
|
const _tok = "token";
|
|
389
391
|
const _too = "tool";
|
|
392
|
+
const _tot = "total";
|
|
390
393
|
const _tr = "transcription";
|
|
391
394
|
const _u = "users";
|
|
392
395
|
const _uA = "updatedAt";
|
|
@@ -971,13 +974,13 @@ export var ListIdentitiesOutput$ = [3, n3, _LIOi,
|
|
|
971
974
|
];
|
|
972
975
|
export var ListWorkspacesInput$ = [3, n3, _LWI,
|
|
973
976
|
0,
|
|
974
|
-
[_aIc],
|
|
975
|
-
[[0, 1]], 1
|
|
977
|
+
[_aIc, _li, _o, _q],
|
|
978
|
+
[[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _o }], [0, { [_hQ]: _q }]], 1
|
|
976
979
|
];
|
|
977
980
|
export var ListWorkspacesOutput$ = [3, n3, _LWO,
|
|
978
981
|
0,
|
|
979
|
-
[_w],
|
|
980
|
-
[() => WorkspaceList], 1
|
|
982
|
+
[_w, _tot],
|
|
983
|
+
[() => WorkspaceList, 1], 1
|
|
981
984
|
];
|
|
982
985
|
export var NewEmailData$ = [3, n3, _NED,
|
|
983
986
|
0,
|
|
@@ -1191,7 +1194,7 @@ export var UserPersonalInfo$ = [3, n3, _UPIse,
|
|
|
1191
1194
|
];
|
|
1192
1195
|
export var UserQueryPredicate$ = [3, n3, _UQP,
|
|
1193
1196
|
0,
|
|
1194
|
-
[
|
|
1197
|
+
[_lic],
|
|
1195
1198
|
[0]
|
|
1196
1199
|
];
|
|
1197
1200
|
export var VerifyBotSecretKeyInput$ = [3, n3, _VBSKI,
|
|
@@ -1216,7 +1219,7 @@ export var VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
|
|
|
1216
1219
|
];
|
|
1217
1220
|
export var VerifyIdentityInput$ = [3, n3, _VII,
|
|
1218
1221
|
0,
|
|
1219
|
-
[_aIc, _id,
|
|
1222
|
+
[_aIc, _id, _ot],
|
|
1220
1223
|
[[0, 1], 0, 0], 3
|
|
1221
1224
|
];
|
|
1222
1225
|
export var VerifyIdentityOutput$ = [3, n3, _VIO,
|
|
@@ -27,7 +27,7 @@ declare const ListWorkspacesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Lists
|
|
30
|
+
* Lists workspaces available to the account. Without limit, returns every workspace. With limit, returns one page of active work workspaces: query narrows that set by PBX domain before the page is sliced, offset skips into the filtered set, and each workspace includes pbxUser when a PBX record exists.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -38,6 +38,9 @@ declare const ListWorkspacesCommand_base: {
|
|
|
38
38
|
* const client = new UsersClient(config);
|
|
39
39
|
* const input = { // ListWorkspacesInput
|
|
40
40
|
* accountId: "STRING_VALUE", // required
|
|
41
|
+
* limit: Number("int"),
|
|
42
|
+
* offset: Number("int"),
|
|
43
|
+
* query: "STRING_VALUE",
|
|
41
44
|
* };
|
|
42
45
|
* const command = new ListWorkspacesCommand(input);
|
|
43
46
|
* const response = await client.send(command);
|
|
@@ -125,6 +128,7 @@ declare const ListWorkspacesCommand_base: {
|
|
|
125
128
|
* // active: true || false, // required
|
|
126
129
|
* // },
|
|
127
130
|
* // ],
|
|
131
|
+
* // total: Number("int"),
|
|
128
132
|
* // };
|
|
129
133
|
*
|
|
130
134
|
* ```
|
|
@@ -1609,6 +1609,21 @@ export interface ListWorkspacesInput {
|
|
|
1609
1609
|
* @public
|
|
1610
1610
|
*/
|
|
1611
1611
|
accountId: string;
|
|
1612
|
+
/**
|
|
1613
|
+
* Maximum number of selectable workspaces to return, from 1 to 100. When omitted, every workspace is returned and offset and query are ignored.
|
|
1614
|
+
* @public
|
|
1615
|
+
*/
|
|
1616
|
+
limit?: number | undefined;
|
|
1617
|
+
/**
|
|
1618
|
+
* Number of selectable workspaces to skip before this page. Applied only when limit is set. Defaults to 0. An offset past the end returns an empty page.
|
|
1619
|
+
* @public
|
|
1620
|
+
*/
|
|
1621
|
+
offset?: number | undefined;
|
|
1622
|
+
/**
|
|
1623
|
+
* Case-insensitive substring matched against the PBX domain. Applied only when limit is set. Blank values are ignored. Does not change total.
|
|
1624
|
+
* @public
|
|
1625
|
+
*/
|
|
1626
|
+
query?: string | undefined;
|
|
1612
1627
|
}
|
|
1613
1628
|
/**
|
|
1614
1629
|
* @public
|
|
@@ -1620,7 +1635,7 @@ export interface Workspace {
|
|
|
1620
1635
|
*/
|
|
1621
1636
|
companyId?: string | undefined;
|
|
1622
1637
|
/**
|
|
1623
|
-
* PBX
|
|
1638
|
+
* Stored PBX link for this workspace. ListWorkspaces sets it on each returned workspace so the page includes domain and port. Omitted when the workspace has no PBX record.
|
|
1624
1639
|
* @public
|
|
1625
1640
|
*/
|
|
1626
1641
|
pbxUser?: UserPbxLinkData | undefined;
|
|
@@ -1654,7 +1669,16 @@ export interface Workspace {
|
|
|
1654
1669
|
* @public
|
|
1655
1670
|
*/
|
|
1656
1671
|
export interface ListWorkspacesOutput {
|
|
1672
|
+
/**
|
|
1673
|
+
* Workspaces for this request. A paged response contains only active work workspaces, ordered with the account default first and the rest by domain.
|
|
1674
|
+
* @public
|
|
1675
|
+
*/
|
|
1657
1676
|
workspaces: Workspace[];
|
|
1677
|
+
/**
|
|
1678
|
+
* Number of selectable workspaces (active and type work), ignoring query and offset. Present when limit is set.
|
|
1679
|
+
* @public
|
|
1680
|
+
*/
|
|
1681
|
+
total?: number | undefined;
|
|
1658
1682
|
}
|
|
1659
1683
|
/**
|
|
1660
1684
|
* @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": "4.1.
|
|
4
|
+
"version": "4.1.1",
|
|
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",
|