@docbrasil/api-systemmanager 1.1.41 → 1.1.42
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/api/user/process.js +9 -2
- package/dist/bundle.cjs +9 -2
- package/dist/bundle.mjs +1 -1
- package/doc/api.md +2 -0
- package/package.json +1 -1
package/doc/api.md
CHANGED
|
@@ -3266,6 +3266,7 @@ Get Org Users
|
|
|
3266
3266
|
| --- | --- | --- |
|
|
3267
3267
|
| params | <code>object</code> | Params to get Org Users |
|
|
3268
3268
|
| params.orgId | <code>string</code> | Organization id (_id database); |
|
|
3269
|
+
| params.userIds | <code>array</code> | UserIds |
|
|
3269
3270
|
| session | <code>string</code> | Session, token JWT |
|
|
3270
3271
|
|
|
3271
3272
|
**Example**
|
|
@@ -3274,6 +3275,7 @@ const API = require('@docbrasil/api-systemmanager');
|
|
|
3274
3275
|
const api = new API();
|
|
3275
3276
|
const params = {
|
|
3276
3277
|
orgId: '5edd11c46b6ce9729c2c297c',
|
|
3278
|
+
userIds: []
|
|
3277
3279
|
}
|
|
3278
3280
|
const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
|
|
3279
3281
|
await api.user.process.getOrgUsers(params, session);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docbrasil/api-systemmanager",
|
|
3
3
|
"description": "Module API System Manager",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.42",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"htmldoc": "rm -rf docs && jsdoc api/** -d docs -t ./node_modules/better-docs",
|
|
7
7
|
"doc": "rm -rf doc && mkdir doc && jsdoc2md api/**/* api/* > doc/api.md",
|