@zauru-sdk/graphql 2.0.169 → 2.0.175
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.
|
@@ -132,5 +132,6 @@ export declare const getCasesStringQuery: (filters?: {
|
|
|
132
132
|
responsible_id?: number;
|
|
133
133
|
client_id?: number;
|
|
134
134
|
closed?: boolean;
|
|
135
|
+
tag_id?: string;
|
|
135
136
|
}) => string;
|
|
136
137
|
export declare const getPrintTemplatesStringQuery = "\nquery getPrintTemplates {\n print_templates {\n id\n name\n }\n}\n";
|
|
@@ -1489,6 +1489,9 @@ const getCasesStringQuery = (filters) => {
|
|
|
1489
1489
|
if (filters?.closed !== undefined) {
|
|
1490
1490
|
conditions.push(`closed: {_eq: ${filters.closed}}`);
|
|
1491
1491
|
}
|
|
1492
|
+
if (filters?.tag_id) {
|
|
1493
|
+
conditions.push(`taggings: {tag_id: {_eq: ${filters.tag_id}}}`);
|
|
1494
|
+
}
|
|
1492
1495
|
const whereClause = conditions.length
|
|
1493
1496
|
? `where: { ${conditions.join(", ")} },`
|
|
1494
1497
|
: "";
|
|
@@ -1515,6 +1518,9 @@ const getCasesStringQuery = (filters) => {
|
|
|
1515
1518
|
courtesy
|
|
1516
1519
|
client {
|
|
1517
1520
|
name
|
|
1521
|
+
tin
|
|
1522
|
+
email
|
|
1523
|
+
phone
|
|
1518
1524
|
address_line_1
|
|
1519
1525
|
}
|
|
1520
1526
|
case_invoices {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/graphql",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.175",
|
|
4
4
|
"description": "Queries de uso común para las aplicación de Zauru.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"typescript": "^5.1.6"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "72bcb9bd9c6436691e8c1d3ec1af54c98b146963"
|
|
25
25
|
}
|