@zauru-sdk/graphql 2.0.64 → 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
- ${filters?.startDate?.length && filters?.endDate?.length
1028
- ? `created_at: { _gte: "${filters?.startDate}T00:00:00", _lte: "${filters?.endDate}T00:00:00" },`
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}},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/graphql",
3
- "version": "2.0.64",
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": "bc674a76dc43a806132167b53287e02ca3d5a8fc"
24
+ "gitHead": "140314c5f569a1037af24f822591f81406c2d02f"
25
25
  }