@docbrasil/api-systemmanager 1.1.18 → 1.1.19

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/.project ADDED
@@ -0,0 +1,11 @@
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>
@@ -65,7 +65,7 @@ class MyTasks {
65
65
  * const API = require('@docbrasil/api-systemmanager');
66
66
  * const api = new API();
67
67
  * const params = {
68
- * query: {"s":[{"historyBegin":{"order":"desc"}}],"i":1,"p":20},
68
+ * query: {"s":[{"historyBegin":{"order":"desc"}}],"i":1,"p":20, filter: {checklistsTags:['checklist']}},
69
69
  * orgId: '55e4a3bd6be6b45210833fae',
70
70
  * };
71
71
  * const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
package/dist/bundle.cjs CHANGED
@@ -2211,7 +2211,7 @@ class MyTasks {
2211
2211
  * const API = require('@docbrasil/api-systemmanager');
2212
2212
  * const api = new API();
2213
2213
  * const params = {
2214
- * query: {"s":[{"historyBegin":{"order":"desc"}}],"i":1,"p":20},
2214
+ * query: {"s":[{"historyBegin":{"order":"desc"}}],"i":1,"p":20, filter: {checklistsTags:['checklist']}},
2215
2215
  * orgId: '55e4a3bd6be6b45210833fae',
2216
2216
  * };
2217
2217
  * const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
package/doc/api.md CHANGED
@@ -1925,7 +1925,7 @@ Method to find my tasks for a user
1925
1925
  const API = require('@docbrasil/api-systemmanager');
1926
1926
  const api = new API();
1927
1927
  const params = {
1928
- query: {"s":[{"historyBegin":{"order":"desc"}}],"i":1,"p":20},
1928
+ query: {"s":[{"historyBegin":{"order":"desc"}}],"i":1,"p":20, filter: {checklistsTags:['checklist']}},
1929
1929
  orgId: '55e4a3bd6be6b45210833fae',
1930
1930
  };
1931
1931
  const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
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.18",
4
+ "version": "1.1.19",
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",
@@ -1,18 +0,0 @@
1
- function doQuery(query) {
2
- const searchParams = new URLSearchParams(query);
3
- const queryString = searchParams.toString();
4
- return queryString;
5
- }
6
-
7
- console.log(doQuery({
8
- p: 200,
9
- i: 1,
10
- s: 'Mais recentes',
11
- as: '',
12
- m: 'w',
13
- ai: '111',
14
- di: '222',
15
- ix: JSON.stringify([
16
- ['extraUserid', '333', '=', 'text']
17
- ])
18
- }));