@wildix/xbees-users-client 1.0.14 → 1.0.15
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.
|
@@ -10,7 +10,7 @@ const se_BatchGetUsersCommand = async (input, context) => {
|
|
|
10
10
|
const headers = {
|
|
11
11
|
'content-type': 'application/json',
|
|
12
12
|
};
|
|
13
|
-
b.bp("/
|
|
13
|
+
b.bp("/v2/users/BatchGetUsers");
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
16
16
|
'id': _ => (0, smithy_client_1._json)(_),
|
|
@@ -149,7 +149,7 @@ exports.se_GetBotCallbackCommand = se_GetBotCallbackCommand;
|
|
|
149
149
|
const se_GetUserCommand = async (input, context) => {
|
|
150
150
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
151
151
|
const headers = {};
|
|
152
|
-
b.bp("/
|
|
152
|
+
b.bp("/v2/users/cloud/{userId}");
|
|
153
153
|
b.p('userId', () => input.userId, '{userId}', false);
|
|
154
154
|
let body;
|
|
155
155
|
b.m("POST")
|
|
@@ -210,7 +210,7 @@ const se_QueryUserCommand = async (input, context) => {
|
|
|
210
210
|
const headers = {
|
|
211
211
|
'content-type': 'application/json',
|
|
212
212
|
};
|
|
213
|
-
b.bp("/
|
|
213
|
+
b.bp("/v2/users/QueryUser");
|
|
214
214
|
let body;
|
|
215
215
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
216
216
|
'predicate': _ => (0, smithy_client_1._json)(_),
|
|
@@ -227,7 +227,7 @@ const se_QueryUsersCommand = async (input, context) => {
|
|
|
227
227
|
const headers = {
|
|
228
228
|
'content-type': 'application/json',
|
|
229
229
|
};
|
|
230
|
-
b.bp("/
|
|
230
|
+
b.bp("/v2/users/QueryUsers");
|
|
231
231
|
let body;
|
|
232
232
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
233
233
|
'predicate': _ => (0, smithy_client_1._json)(_),
|
|
@@ -7,7 +7,7 @@ export const se_BatchGetUsersCommand = async (input, context) => {
|
|
|
7
7
|
const headers = {
|
|
8
8
|
'content-type': 'application/json',
|
|
9
9
|
};
|
|
10
|
-
b.bp("/
|
|
10
|
+
b.bp("/v2/users/BatchGetUsers");
|
|
11
11
|
let body;
|
|
12
12
|
body = JSON.stringify(take(input, {
|
|
13
13
|
'id': _ => _json(_),
|
|
@@ -138,7 +138,7 @@ export const se_GetBotCallbackCommand = async (input, context) => {
|
|
|
138
138
|
export const se_GetUserCommand = async (input, context) => {
|
|
139
139
|
const b = rb(input, context);
|
|
140
140
|
const headers = {};
|
|
141
|
-
b.bp("/
|
|
141
|
+
b.bp("/v2/users/cloud/{userId}");
|
|
142
142
|
b.p('userId', () => input.userId, '{userId}', false);
|
|
143
143
|
let body;
|
|
144
144
|
b.m("POST")
|
|
@@ -195,7 +195,7 @@ export const se_QueryUserCommand = async (input, context) => {
|
|
|
195
195
|
const headers = {
|
|
196
196
|
'content-type': 'application/json',
|
|
197
197
|
};
|
|
198
|
-
b.bp("/
|
|
198
|
+
b.bp("/v2/users/QueryUser");
|
|
199
199
|
let body;
|
|
200
200
|
body = JSON.stringify(take(input, {
|
|
201
201
|
'predicate': _ => _json(_),
|
|
@@ -211,7 +211,7 @@ export const se_QueryUsersCommand = async (input, context) => {
|
|
|
211
211
|
const headers = {
|
|
212
212
|
'content-type': 'application/json',
|
|
213
213
|
};
|
|
214
|
-
b.bp("/
|
|
214
|
+
b.bp("/v2/users/QueryUsers");
|
|
215
215
|
let body;
|
|
216
216
|
body = JSON.stringify(take(input, {
|
|
217
217
|
'predicate': _ => _json(_),
|
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.15",
|
|
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",
|