@docbrasil/api-systemmanager 1.1.42 → 1.1.43

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/doc/api.md CHANGED
@@ -2942,8 +2942,6 @@ Class for process, permission user
2942
2942
  * [.processDocs(params, session)](#Process+processDocs) ⇒ <code>promise</code> \| <code>array.&lt;object&gt;</code>
2943
2943
  * [.downloadDocs(params, session)](#Process+downloadDocs) ⇒ <code>promise</code>
2944
2944
  * [.getOrgDocTypes(params, session)](#Process+getOrgDocTypes) ⇒ <code>Promise</code>
2945
- * [.getOrgGroups(params, session)](#Process+getOrgGroups) ⇒ <code>Promise</code>
2946
- * [.getOrgUsers(params, session)](#Process+getOrgUsers) ⇒ <code>Promise</code>
2947
2945
 
2948
2946
  <a name="Process+start"></a>
2949
2947
 
@@ -3228,58 +3226,6 @@ const params = {
3228
3226
  const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
3229
3227
  await api.user.process.getOrgDocTypes(params, session);
3230
3228
  ```
3231
- <a name="Process+getOrgGroups"></a>
3232
-
3233
- ### process.getOrgGroups(params, session) ⇒ <code>Promise</code>
3234
- Get Org Groups
3235
-
3236
- **Kind**: instance method of [<code>Process</code>](#Process)
3237
- **Access**: public
3238
- **Author**: Myndware <augusto.pissarra@myndware.com>
3239
-
3240
- | Param | Type | Description |
3241
- | --- | --- | --- |
3242
- | params | <code>object</code> | Params to get Org Groups |
3243
- | params.orgId | <code>string</code> | Organization id (_id database); |
3244
- | session | <code>string</code> | Session, token JWT |
3245
-
3246
- **Example**
3247
- ```js
3248
- const API = require('@docbrasil/api-systemmanager');
3249
- const api = new API();
3250
- const params = {
3251
- orgId: '5edd11c46b6ce9729c2c297c',
3252
- }
3253
- const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
3254
- await api.user.process.getOrgGroups(params, session);
3255
- ```
3256
- <a name="Process+getOrgUsers"></a>
3257
-
3258
- ### process.getOrgUsers(params, session) ⇒ <code>Promise</code>
3259
- Get Org Users
3260
-
3261
- **Kind**: instance method of [<code>Process</code>](#Process)
3262
- **Access**: public
3263
- **Author**: Myndware <augusto.pissarra@myndware.com>
3264
-
3265
- | Param | Type | Description |
3266
- | --- | --- | --- |
3267
- | params | <code>object</code> | Params to get Org Users |
3268
- | params.orgId | <code>string</code> | Organization id (_id database); |
3269
- | params.userIds | <code>array</code> | UserIds |
3270
- | session | <code>string</code> | Session, token JWT |
3271
-
3272
- **Example**
3273
- ```js
3274
- const API = require('@docbrasil/api-systemmanager');
3275
- const api = new API();
3276
- const params = {
3277
- orgId: '5edd11c46b6ce9729c2c297c',
3278
- userIds: []
3279
- }
3280
- const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
3281
- await api.user.process.getOrgUsers(params, session);
3282
- ```
3283
3229
  <a name="Register"></a>
3284
3230
 
3285
3231
  ## Register
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.42",
4
+ "version": "1.1.43",
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",
package/.project DELETED
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <projectDescription>
3
- <name>api-systemmanager</name>
4
- <comment></comment>
5
- <projects>
6
- </projects>
7
- <buildSpec>
8
- </buildSpec>
9
- <natures>
10
- </natures>
11
- </projectDescription>