@docbrasil/api-systemmanager 1.0.116 → 1.0.118

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
@@ -70,6 +70,9 @@
70
70
  <dt><a href="#TaskAvailable">TaskAvailable</a></dt>
71
71
  <dd><p>Class for available tasks, permission user</p>
72
72
  </dd>
73
+ <dt><a href="#Updates">Updates</a></dt>
74
+ <dd><p>Class for user registration in a user</p>
75
+ </dd>
73
76
  <dt><a href="#User">User</a></dt>
74
77
  <dd><p>Class for user, permission user</p>
75
78
  </dd>
@@ -2597,6 +2600,32 @@ const params = {
2597
2600
  const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
2598
2601
  const success = await api.user.task.available.claim(params, session);
2599
2602
  ```
2603
+ <a name="Updates"></a>
2604
+
2605
+ ## Updates
2606
+ Class for user registration in a user
2607
+
2608
+ **Kind**: global class
2609
+ <a name="Updates+get"></a>
2610
+
2611
+ ### updates.get(session)
2612
+ get updates
2613
+
2614
+ **Kind**: instance method of [<code>Updates</code>](#Updates)
2615
+ **Access**: public
2616
+ **Author**: Augusto Pissarra <abernardo.br@gmail.com>
2617
+
2618
+ | Param | Type | Description |
2619
+ | --- | --- | --- |
2620
+ | session | <code>string</code> | JWT token |
2621
+
2622
+ **Example**
2623
+ ```js
2624
+ const API = require('@docbrasil/api-systemmanager');
2625
+ const api = new API();
2626
+ const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
2627
+ await api.user.updates.get(session);
2628
+ ```
2600
2629
  <a name="User"></a>
2601
2630
 
2602
2631
  ## User
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.0.116",
4
+ "version": "1.0.118",
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",