@wildix/xbees-users-client 4.2.1 → 4.2.2
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.
|
@@ -1054,8 +1054,8 @@ exports.QueryColleaguesParameters$ = [3, n3, _QCP,
|
|
|
1054
1054
|
];
|
|
1055
1055
|
exports.QueryUserInput$ = [3, n3, _QUI,
|
|
1056
1056
|
0,
|
|
1057
|
-
[_q, _pre],
|
|
1058
|
-
[() => exports.UserQuery$, () => exports.UserQueryPredicate$], 1
|
|
1057
|
+
[_q, _cIo, _pre],
|
|
1058
|
+
[() => exports.UserQuery$, [0, { [_hQ]: _co }], () => exports.UserQueryPredicate$], 1
|
|
1059
1059
|
];
|
|
1060
1060
|
exports.QueryUserOutput$ = [3, n3, _QUO,
|
|
1061
1061
|
0,
|
|
@@ -1064,8 +1064,8 @@ exports.QueryUserOutput$ = [3, n3, _QUO,
|
|
|
1064
1064
|
];
|
|
1065
1065
|
exports.QueryUsersInput$ = [3, n3, _QUIu,
|
|
1066
1066
|
0,
|
|
1067
|
-
[_qu, _pre],
|
|
1068
|
-
[() => UsersQueryList, () => exports.UserQueryPredicate$], 1
|
|
1067
|
+
[_qu, _cIo, _pre],
|
|
1068
|
+
[() => UsersQueryList, [0, { [_hQ]: _co }], () => exports.UserQueryPredicate$], 1
|
|
1069
1069
|
];
|
|
1070
1070
|
exports.QueryUsersOutput$ = [3, n3, _QUOu,
|
|
1071
1071
|
0,
|
|
@@ -1047,8 +1047,8 @@ export var QueryColleaguesParameters$ = [3, n3, _QCP,
|
|
|
1047
1047
|
];
|
|
1048
1048
|
export var QueryUserInput$ = [3, n3, _QUI,
|
|
1049
1049
|
0,
|
|
1050
|
-
[_q, _pre],
|
|
1051
|
-
[() => UserQuery$, () => UserQueryPredicate$], 1
|
|
1050
|
+
[_q, _cIo, _pre],
|
|
1051
|
+
[() => UserQuery$, [0, { [_hQ]: _co }], () => UserQueryPredicate$], 1
|
|
1052
1052
|
];
|
|
1053
1053
|
export var QueryUserOutput$ = [3, n3, _QUO,
|
|
1054
1054
|
0,
|
|
@@ -1057,8 +1057,8 @@ export var QueryUserOutput$ = [3, n3, _QUO,
|
|
|
1057
1057
|
];
|
|
1058
1058
|
export var QueryUsersInput$ = [3, n3, _QUIu,
|
|
1059
1059
|
0,
|
|
1060
|
-
[_qu, _pre],
|
|
1061
|
-
[() => UsersQueryList, () => UserQueryPredicate$], 1
|
|
1060
|
+
[_qu, _cIo, _pre],
|
|
1061
|
+
[() => UsersQueryList, [0, { [_hQ]: _co }], () => UserQueryPredicate$], 1
|
|
1062
1062
|
];
|
|
1063
1063
|
export var QueryUsersOutput$ = [3, n3, _QUOu,
|
|
1064
1064
|
0,
|
|
@@ -37,6 +37,7 @@ declare const QueryUserCommand_base: {
|
|
|
37
37
|
* const config = {}; // type is UsersClientConfig
|
|
38
38
|
* const client = new UsersClient(config);
|
|
39
39
|
* const input = { // QueryUserInput
|
|
40
|
+
* companyId: "STRING_VALUE",
|
|
40
41
|
* query: { // UserQuery Union: only one key present
|
|
41
42
|
* id: "STRING_VALUE",
|
|
42
43
|
* email: "STRING_VALUE",
|
|
@@ -37,6 +37,7 @@ declare const QueryUsersCommand_base: {
|
|
|
37
37
|
* const config = {}; // type is UsersClientConfig
|
|
38
38
|
* const client = new UsersClient(config);
|
|
39
39
|
* const input = { // QueryUsersInput
|
|
40
|
+
* companyId: "STRING_VALUE",
|
|
40
41
|
* queries: [ // UsersQueryList // required
|
|
41
42
|
* { // UserQuery Union: only one key present
|
|
42
43
|
* id: "STRING_VALUE",
|
|
@@ -105,7 +105,7 @@ export interface UserToInvite {
|
|
|
105
105
|
*/
|
|
106
106
|
email?: string | undefined;
|
|
107
107
|
/**
|
|
108
|
-
* The phone number of the invited user. This phone number is used to create or find the user if an email address is not provided. On
|
|
108
|
+
* The phone number of the invited user. This phone number is used to create or find the user if an email address is not provided. On Messenger and Instagram it is not a phone number at all: the caller passes the channel's own customer id, the Page Scoped ID on Messenger, so the identity key stays the one the supplier reports. On RCS it is the person's phone number. A phone number allows up to 17 digits and a Page Scoped ID is 17, so there is no headroom left, and the Instagram scoped id has to be checked against the same limit. A WhatsApp user who hides the number is invited by the BSUID exactly as Meta spells it (see InviteePhone).
|
|
109
109
|
* @public
|
|
110
110
|
*/
|
|
111
111
|
phone?: string | undefined;
|
|
@@ -1870,6 +1870,11 @@ export declare namespace UserQuery {
|
|
|
1870
1870
|
* @public
|
|
1871
1871
|
*/
|
|
1872
1872
|
export interface QueryUserInput {
|
|
1873
|
+
/**
|
|
1874
|
+
* The unique identifier of the tenant when a service token is used. A user who has a workspace in this tenant is returned as that workspace instead of the default one. Other tokens use the tenant they were issued for.
|
|
1875
|
+
* @public
|
|
1876
|
+
*/
|
|
1877
|
+
companyId?: string | undefined;
|
|
1873
1878
|
query: UserQuery;
|
|
1874
1879
|
/**
|
|
1875
1880
|
* A condition that must be satisfied for the user query to be considered valid. If this predicate is not met, a UserQueryPredicateNotMetException will be thrown.
|
|
@@ -1887,6 +1892,11 @@ export interface QueryUserOutput {
|
|
|
1887
1892
|
* @public
|
|
1888
1893
|
*/
|
|
1889
1894
|
export interface QueryUsersInput {
|
|
1895
|
+
/**
|
|
1896
|
+
* The unique identifier of the tenant when a service token is used. A user who has a workspace in this tenant is returned as that workspace instead of the default one. Other tokens use the tenant they were issued for.
|
|
1897
|
+
* @public
|
|
1898
|
+
*/
|
|
1899
|
+
companyId?: string | undefined;
|
|
1890
1900
|
queries: UserQuery[];
|
|
1891
1901
|
predicate?: UserQueryPredicate | undefined;
|
|
1892
1902
|
}
|
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.2.
|
|
4
|
+
"version": "4.2.2",
|
|
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",
|