@docbrasil/api-systemmanager 1.1.28 → 1.1.29
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/document.js +2 -2
- package/dist/bundle.cjs +2 -2
- package/dist/bundle.mjs +1 -1
- package/doc/api.md +4 -4
- package/docs/Documents.html +4 -4
- package/docs/user_document.js.html +2 -2
- package/package.json +1 -1
package/doc/api.md
CHANGED
|
@@ -1541,7 +1541,7 @@ Class for documents, permission user
|
|
|
1541
1541
|
* [.exportExcelForAllPages(params, session)](#Documents+exportExcelForAllPages) ⇒ <code>promise</code>
|
|
1542
1542
|
* [.exportWmsExcelForAllPages(params, session)](#Documents+exportWmsExcelForAllPages) ⇒ <code>promise</code>
|
|
1543
1543
|
* [.performDownloadComplete(params, session)](#Documents+performDownloadComplete) ⇒ <code>promise</code>
|
|
1544
|
-
* [.
|
|
1544
|
+
* [.searchDocumentsDirect(params, session)](#Documents+searchDocumentsDirect) ⇒ <code>promise</code> \| <code>number</code> \| <code>array.<object></code> \| <code>number</code> \| <code>number</code>
|
|
1545
1545
|
|
|
1546
1546
|
<a name="Documents+add"></a>
|
|
1547
1547
|
|
|
@@ -2038,9 +2038,9 @@ const params = {
|
|
|
2038
2038
|
const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
|
|
2039
2039
|
const retSearch = await api.user.document.performDownloadComplete(params, session);
|
|
2040
2040
|
```
|
|
2041
|
-
<a name="Documents+
|
|
2041
|
+
<a name="Documents+searchDocumentsDirect"></a>
|
|
2042
2042
|
|
|
2043
|
-
### documents.
|
|
2043
|
+
### documents.searchDocumentsDirect(params, session) ⇒ <code>promise</code> \| <code>number</code> \| <code>array.<object></code> \| <code>number</code> \| <code>number</code>
|
|
2044
2044
|
Method to search documents direct on MongoDB (use carefully and only in cases you need to access direct data
|
|
2045
2045
|
|
|
2046
2046
|
**Kind**: instance method of [<code>Documents</code>](#Documents)
|
|
@@ -2064,7 +2064,7 @@ const params = {
|
|
|
2064
2064
|
orgId: '55e4a3bd6be6b45210833fae',
|
|
2065
2065
|
};
|
|
2066
2066
|
const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
|
|
2067
|
-
const retSearch = await api.user.document.
|
|
2067
|
+
const retSearch = await api.user.document.searchDocumentsDirect(params, session);
|
|
2068
2068
|
```
|
|
2069
2069
|
<a name="Help"></a>
|
|
2070
2070
|
|
package/docs/Documents.html
CHANGED
|
@@ -4841,8 +4841,8 @@ const retSearch = await api.user.document.searchDocuments(params, session);</cod
|
|
|
4841
4841
|
|
|
4842
4842
|
|
|
4843
4843
|
|
|
4844
|
-
<h4 class="name" id="
|
|
4845
|
-
<a class="href-link" href="#
|
|
4844
|
+
<h4 class="name" id="searchDocumentsDirect">
|
|
4845
|
+
<a class="href-link" href="#searchDocumentsDirect">#</a>
|
|
4846
4846
|
|
|
4847
4847
|
|
|
4848
4848
|
<span class='tag'>async</span>
|
|
@@ -4850,7 +4850,7 @@ const retSearch = await api.user.document.searchDocuments(params, session);</cod
|
|
|
4850
4850
|
|
|
4851
4851
|
<span class="code-name">
|
|
4852
4852
|
|
|
4853
|
-
|
|
4853
|
+
searchDocumentsDirect<span class="signature">(params, session)</span><span class="type-signature"> → {promise|number|array.<object>|number|number}</span>
|
|
4854
4854
|
|
|
4855
4855
|
</span>
|
|
4856
4856
|
</h4>
|
|
@@ -5175,7 +5175,7 @@ const params = {
|
|
|
5175
5175
|
orgId: '55e4a3bd6be6b45210833fae',
|
|
5176
5176
|
};
|
|
5177
5177
|
const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
|
|
5178
|
-
const retSearch = await api.user.document.
|
|
5178
|
+
const retSearch = await api.user.document.searchDocumentsDirect(params, session);</code></pre>
|
|
5179
5179
|
|
|
5180
5180
|
|
|
5181
5181
|
|
|
@@ -1043,9 +1043,9 @@ class Documents {
|
|
|
1043
1043
|
* orgId: '55e4a3bd6be6b45210833fae',
|
|
1044
1044
|
* };
|
|
1045
1045
|
* const session = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
|
|
1046
|
-
* const retSearch = await api.user.document.
|
|
1046
|
+
* const retSearch = await api.user.document.searchDocumentsDirect(params, session);
|
|
1047
1047
|
*/
|
|
1048
|
-
async
|
|
1048
|
+
async searchDocumentsDirect(params, session) {
|
|
1049
1049
|
const self = this;
|
|
1050
1050
|
|
|
1051
1051
|
try {
|
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.29",
|
|
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",
|