@zauru-sdk/services 2.0.174 → 2.0.176
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.
|
@@ -4,9 +4,9 @@ import { httpGraphQLAPI } from "./httpGraphQL.js";
|
|
|
4
4
|
import { getCasesStringQuery } from "@zauru-sdk/graphql";
|
|
5
5
|
import { httpZauru } from "./httpZauru.js";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* getCases
|
|
8
8
|
*/
|
|
9
|
-
export async function
|
|
9
|
+
export async function getCases(session, filters) {
|
|
10
10
|
return handlePossibleAxiosErrors(async () => {
|
|
11
11
|
const headers = await getGraphQLAPIHeaders(session);
|
|
12
12
|
const initialFilters = {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { Session } from "@remix-run/node";
|
|
2
2
|
import { AxiosUtilsResponse, CaseGraphQL } from "@zauru-sdk/types";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* getCases
|
|
5
5
|
*/
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function getCases(session: Session, filters?: {
|
|
7
7
|
responsible_id?: number;
|
|
8
8
|
closed?: boolean;
|
|
9
9
|
client_id?: number;
|
|
10
|
+
tag_id?: string;
|
|
10
11
|
}): Promise<AxiosUtilsResponse<CaseGraphQL[]>>;
|
|
11
12
|
/**
|
|
12
13
|
* createCase
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.176",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@remix-run/node": "^2.8.1",
|
|
27
|
-
"@zauru-sdk/common": "^2.0.
|
|
27
|
+
"@zauru-sdk/common": "^2.0.176",
|
|
28
28
|
"@zauru-sdk/config": "^2.0.100",
|
|
29
|
-
"@zauru-sdk/graphql": "^2.0.
|
|
30
|
-
"@zauru-sdk/types": "^2.0.
|
|
29
|
+
"@zauru-sdk/graphql": "^2.0.175",
|
|
30
|
+
"@zauru-sdk/types": "^2.0.176",
|
|
31
31
|
"axios": "^1.6.7",
|
|
32
32
|
"chalk": "5.3.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "f4836cdce4da9625b18752ea76a7d60ac5591f9f"
|
|
35
35
|
}
|