@zauru-sdk/graphql 2.0.62 → 2.0.68
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.
|
@@ -1024,8 +1024,10 @@ query getInvoiceFormSubmissionsByAgencyId {
|
|
|
1024
1024
|
: ""}
|
|
1025
1025
|
voided: {_eq: false}
|
|
1026
1026
|
},
|
|
1027
|
-
${
|
|
1028
|
-
|
|
1027
|
+
${
|
|
1028
|
+
// We need to add 6 hours to the start and end date because the invoice date is in UTC and the database is in UTC+6
|
|
1029
|
+
filters?.startDate?.length && filters?.endDate?.length
|
|
1030
|
+
? `created_at: { _gte: "${filters?.startDate}T06:00:00", _lte: "${filters?.endDate}T06:00:00" },`
|
|
1029
1031
|
: ""}
|
|
1030
1032
|
invoice: {
|
|
1031
1033
|
agency_id: {_eq: ${agency_id}},
|
|
@@ -1285,8 +1287,9 @@ const getPaymentTermsStringQuery = (config = {
|
|
|
1285
1287
|
name
|
|
1286
1288
|
${allowedDiscounts}
|
|
1287
1289
|
${allowedPaymentTerms}
|
|
1290
|
+
}
|
|
1288
1291
|
}
|
|
1289
|
-
|
|
1292
|
+
`;
|
|
1290
1293
|
};
|
|
1291
1294
|
exports.getPaymentTermsStringQuery = getPaymentTermsStringQuery;
|
|
1292
1295
|
const getPaymentMethodsStringQuery = (config) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/graphql",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.68",
|
|
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": "140314c5f569a1037af24f822591f81406c2d02f"
|
|
25
25
|
}
|