@zauru-sdk/services 1.0.26 → 1.0.30

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/zauru/zauru-agencies.server.js +1 -1
  3. package/dist/zauru/zauru-bookings.server.js +1 -1
  4. package/dist/zauru/zauru-bundles.server.js +1 -1
  5. package/dist/zauru/zauru-cases.server.js +1 -1
  6. package/dist/zauru/zauru-consolidated.server.js +1 -1
  7. package/dist/zauru/zauru-currencies.server.js +1 -1
  8. package/dist/zauru/zauru-discharges.server.js +1 -1
  9. package/dist/zauru/zauru-employees.server.js +1 -1
  10. package/dist/zauru/zauru-forms.server.js +1 -1
  11. package/dist/zauru/zauru-invoices.server.js +1 -1
  12. package/dist/zauru/zauru-items.server.js +1 -1
  13. package/dist/zauru/zauru-lote-record.server.js +1 -1
  14. package/dist/zauru/zauru-lotes.server.js +1 -1
  15. package/dist/zauru/zauru-motivos-rechazo.server.js +1 -1
  16. package/dist/zauru/zauru-payees.server.js +1 -1
  17. package/dist/zauru/zauru-payment-terms.server.js +1 -1
  18. package/dist/zauru/zauru-purchase-orders.server.js +1 -1
  19. package/dist/zauru/zauru-shipments.server.js +1 -1
  20. package/dist/zauru/zauru-suggested-prices.server.js +1 -1
  21. package/dist/zauru/zauru-web-app-tables.server.js +1 -1
  22. package/package.json +3 -3
  23. package/src/zauru/zauru-agencies.server.ts +1 -1
  24. package/src/zauru/zauru-bookings.server.ts +1 -1
  25. package/src/zauru/zauru-bundles.server.ts +1 -1
  26. package/src/zauru/zauru-cases.server.ts +1 -1
  27. package/src/zauru/zauru-consolidated.server.ts +1 -1
  28. package/src/zauru/zauru-currencies.server.ts +1 -1
  29. package/src/zauru/zauru-discharges.server.ts +1 -1
  30. package/src/zauru/zauru-employees.server.ts +1 -1
  31. package/src/zauru/zauru-forms.server.ts +1 -1
  32. package/src/zauru/zauru-invoices.server.ts +1 -1
  33. package/src/zauru/zauru-items.server.ts +1 -1
  34. package/src/zauru/zauru-lote-record.server.ts +1 -1
  35. package/src/zauru/zauru-lotes.server.ts +1 -1
  36. package/src/zauru/zauru-motivos-rechazo.server.ts +1 -1
  37. package/src/zauru/zauru-payees.server.ts +6 -2
  38. package/src/zauru/zauru-payment-terms.server.ts +1 -1
  39. package/src/zauru/zauru-purchase-orders.server.ts +1 -1
  40. package/src/zauru/zauru-shipments.server.ts +1 -1
  41. package/src/zauru/zauru-suggested-prices.server.ts +1 -1
  42. package/src/zauru/zauru-web-app-tables.server.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.30](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.29...v1.0.30) (2024-03-25)
7
+
8
+ **Note:** Version bump only for package @zauru-sdk/services
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.0.29](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.28...v1.0.29) (2024-03-25)
15
+
16
+ **Note:** Version bump only for package @zauru-sdk/services
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.0.26](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.25...v1.0.26) (2024-03-25)
7
23
 
8
24
  **Note:** Version bump only for package @zauru-sdk/services
@@ -1,7 +1,7 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
2
  import httpGraphQLAPI from "./httpGraphQL.server.js";
3
- import { getGraphQLAPIHeaders } from "~/common.server.js";
4
3
  import { getAgenciesStringQuery } from "@zauru-sdk/graphql";
4
+ import { getGraphQLAPIHeaders } from "../common.server.js";
5
5
  /**
6
6
  * getAgencies
7
7
  * @param headers
@@ -1,6 +1,6 @@
1
1
  import { arrayToObject, handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
2
  import httpZauru from "./httpZauru.server.js";
3
- import { getGraphQLAPIHeaders } from "~/common.server.js";
3
+ import { getGraphQLAPIHeaders } from "../common.server.js";
4
4
  import httpGraphQLAPI from "./httpGraphQL.server.js";
5
5
  import { getShipmentsStringQuery } from "@zauru-sdk/graphql";
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { arrayToObject, handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getBundleByNameStringQuery, getBundlesByItemCategoryIdStringQuery, } from "@zauru-sdk/graphql";
5
5
  import httpZauru from "./httpZauru.server.js";
@@ -1,5 +1,5 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getCasesByResponsibleIdStringQuery } from "@zauru-sdk/graphql";
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import { formatDateToUTC, handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
2
  import httpZauru from "./httpZauru.server.js";
3
- import { getGraphQLAPIHeaders, getVariablesByName } from "~/common.server.js";
3
+ import { getGraphQLAPIHeaders, getVariablesByName } from "../common.server.js";
4
4
  import httpGraphQLAPI from "./httpGraphQL.server.js";
5
5
  import { getConsolidatesBetweenDatesStringQuery } from "@zauru-sdk/graphql";
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getCurrenciesStringQuery } from "@zauru-sdk/graphql";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { getVariablesByName } from "~/common.server.js";
1
+ import { getVariablesByName } from "../common.server.js";
2
2
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
3
3
  import httpZauru from "./httpZauru.server.js";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getEmployeesByAgencyIdStringQuery } from "@zauru-sdk/graphql";
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { arrayToObject, convertToFormData, handlePossibleAxiosErrors, } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getFormByNameStringQuery, getFormSubmissionByIdStringQuery, getFormsByDocumentTypeStringQuery, getFormsStringQuery, getInvoiceFormSubmissionsByAgencyIdStringQuery, getInvoiceFormSubmissionsByInvoiceIdStringQuery, getLastInvoiceFormSubmissionStringQuery, getMyCaseFormSubmissionsStringQuery, } from "@zauru-sdk/graphql";
5
5
  import httpZauru from "./httpZauru.server.js";
@@ -1,5 +1,5 @@
1
1
  import { arrayToObject, handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getInvoicesByAgencyIdStringQuery } from "@zauru-sdk/graphql";
5
5
  import httpZauru from "./httpZauru.server.js";
@@ -1,5 +1,5 @@
1
1
  import { extractValueBetweenTags, handlePossibleAxiosErrors, } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getItemByNameStringQuery, getItemCategoryByIdStringQuery, getItemsByCategoryStringQuery, getItemsBySuperCategoryStringQuery, getItemsStringQuery, getSuperCategoryByIdStringQuery, } from "@zauru-sdk/graphql";
5
5
  import httpZauru from "./httpZauru.server.js";
@@ -1,4 +1,4 @@
1
- import { getVariablesByName } from "~/common.server.js";
1
+ import { getVariablesByName } from "../common.server.js";
2
2
  import { createWebAppTableRegister, deleteWebAppTableRegister, getWebAppTableRegisters, } from "./zauru-web-app-tables.server.js";
3
3
  export async function getLoteRecord(headers, session) {
4
4
  const { lote_record_webapp_table_id: webapp_table_id } = await getVariablesByName(headers, session, ["lote_record_webapp_table_id"]);
@@ -1,6 +1,6 @@
1
1
  import { getBasketsSchema, handlePossibleAxiosErrors, reduceAdd, truncateDecimals, } from "@zauru-sdk/common";
2
2
  import moment from "moment";
3
- import { getGraphQLAPIHeaders, getVariablesByName } from "~/common.server.js";
3
+ import { getGraphQLAPIHeaders, getVariablesByName } from "../common.server.js";
4
4
  import httpZauru from "./httpZauru.server.js";
5
5
  import { createLoteRecord } from "./zauru-lote-record.server.js";
6
6
  import httpGraphQLAPI from "./httpGraphQL.server.js";
@@ -1,5 +1,5 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
- import { getVariablesByName } from "~/common.server.js";
2
+ import { getVariablesByName } from "../common.server.js";
3
3
  import { createWebAppTableRegister, deleteWebAppTableRegister, getWebAppTableRegisters, } from "./zauru-web-app-tables.server.js";
4
4
  export async function getMotivosRechazo(headers, session) {
5
5
  return handlePossibleAxiosErrors(async () => {
@@ -1,6 +1,6 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
2
  import httpGraphQLAPI from "./httpGraphQL.server.js";
3
- import { getGraphQLAPIHeaders } from "~/common.server.js";
3
+ import { getGraphQLAPIHeaders } from "../common.server.js";
4
4
  import { getClientCategoriesStringQuery, getPayeeByIdStringQuery, getPayeeCategoriesByNotesMatchStringQuery, getPayeeCategoriesStringQuery, getPayeeCategoryByIdStringQuery, getPayeesStringQuery, getProviderCategoriesStringQuery, getProvidersStringQuery, } from "@zauru-sdk/graphql";
5
5
  import httpZauru from "./httpZauru.server.js";
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getPaymentTermByIdStringQuery, getPaymentTermsStringQuery, } from "@zauru-sdk/graphql";
5
5
  import httpZauru from "./httpZauru.server.js";
@@ -1,7 +1,7 @@
1
1
  import { arrayToObject, convertToFormData, formatDateToUTC, getBasketsSchema, handlePossibleAxiosErrors, reduceAdd, } from "@zauru-sdk/common";
2
2
  import { createNewLotPurchaseOrderReception, createNewPurchaseOrderReception, } from "./zauru-receptions.server.js";
3
3
  import httpZauru from "./httpZauru.server.js";
4
- import { getGraphQLAPIHeaders, getVariablesByName } from "~/common.server.js";
4
+ import { getGraphQLAPIHeaders, getVariablesByName } from "../common.server.js";
5
5
  import httpGraphQLAPI from "./httpGraphQL.server.js";
6
6
  import { getLast100ReceptionsStringQuery, getPurchaseOrderByIdNumberStringQuery, getPurchaseOrderStringQuery, getPurchaseOrdersBetweenDatesStringQuery, } from "@zauru-sdk/graphql";
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getShipmentsByToAgencyLast100StringQuery } from "@zauru-sdk/graphql";
5
5
  import httpZauru from "./httpZauru.server.js";
@@ -1,6 +1,6 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
2
  import httpZauru from "./httpZauru.server.js";
3
- import { getGraphQLAPIHeaders } from "~/common.server.js";
3
+ import { getGraphQLAPIHeaders } from "../common.server.js";
4
4
  import httpGraphQLAPI from "./httpGraphQL.server.js";
5
5
  import { getSuggestedPricesStringQuery } from "@zauru-sdk/graphql";
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
- import { getGraphQLAPIHeaders, getVariablesByName } from "~/common.server.js";
2
+ import { getGraphQLAPIHeaders, getVariablesByName } from "../common.server.js";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
4
  import { getWebAppRowStringQuery, getWebAppRowsByWebAppTableIdStringQuery, } from "@zauru-sdk/graphql";
5
5
  import httpZauru from "./httpZauru.server.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "1.0.26",
3
+ "version": "1.0.30",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@remix-run/node": "^2.8.1",
22
- "@zauru-sdk/common": "^1.0.26",
22
+ "@zauru-sdk/common": "^1.0.30",
23
23
  "@zauru-sdk/config": "^1.0.25",
24
24
  "@zauru-sdk/graphql": "^1.0.9",
25
25
  "@zauru-sdk/types": "^1.0.26",
@@ -29,5 +29,5 @@
29
29
  "engines": {
30
30
  "node": ">=18.0.0"
31
31
  },
32
- "gitHead": "5a3a49682f819ae4200733a088d8b6c35253d510"
32
+ "gitHead": "b1276afd52c2a4fde386c58531dc2729a92cb353"
33
33
  }
@@ -1,9 +1,9 @@
1
1
  import type { Session } from "@remix-run/node";
2
2
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
3
3
  import httpGraphQLAPI from "./httpGraphQL.server.js";
4
- import { getGraphQLAPIHeaders } from "~/common.server.js";
5
4
  import { getAgenciesStringQuery } from "@zauru-sdk/graphql";
6
5
  import type { AgencyGraphQL, AxiosUtilsResponse } from "@zauru-sdk/types";
6
+ import { getGraphQLAPIHeaders } from "../common.server.js";
7
7
 
8
8
  /**
9
9
  * getAgencies
@@ -5,7 +5,7 @@ import {
5
5
  ShipmentGraphQL,
6
6
  } from "@zauru-sdk/types";
7
7
  import httpZauru from "./httpZauru.server.js";
8
- import { getGraphQLAPIHeaders } from "~/common.server.js";
8
+ import { getGraphQLAPIHeaders } from "../common.server.js";
9
9
  import { Session } from "@remix-run/node";
10
10
  import httpGraphQLAPI from "./httpGraphQL.server.js";
11
11
  import { getShipmentsStringQuery } from "@zauru-sdk/graphql";
@@ -1,7 +1,7 @@
1
1
  import type { Session } from "@remix-run/node";
2
2
  import { arrayToObject, handlePossibleAxiosErrors } from "@zauru-sdk/common";
3
3
  import { AxiosUtilsResponse, BundleGraphQL } from "@zauru-sdk/types";
4
- import { getGraphQLAPIHeaders } from "~/common.server.js";
4
+ import { getGraphQLAPIHeaders } from "../common.server.js";
5
5
  import httpGraphQLAPI from "./httpGraphQL.server.js";
6
6
  import {
7
7
  getBundleByNameStringQuery,
@@ -1,7 +1,7 @@
1
1
  import type { Session } from "@remix-run/node";
2
2
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
3
3
  import { AxiosUtilsResponse, CaseGraphQL } from "@zauru-sdk/types";
4
- import { getGraphQLAPIHeaders } from "~/common.server.js";
4
+ import { getGraphQLAPIHeaders } from "../common.server.js";
5
5
  import httpGraphQLAPI from "./httpGraphQL.server.js";
6
6
  import { getCasesByResponsibleIdStringQuery } from "@zauru-sdk/graphql";
7
7
 
@@ -8,7 +8,7 @@ import {
8
8
  PDFResult,
9
9
  } from "@zauru-sdk/types";
10
10
  import httpZauru from "./httpZauru.server.js";
11
- import { getGraphQLAPIHeaders, getVariablesByName } from "~/common.server.js";
11
+ import { getGraphQLAPIHeaders, getVariablesByName } from "../common.server.js";
12
12
  import httpGraphQLAPI from "./httpGraphQL.server.js";
13
13
  import { getConsolidatesBetweenDatesStringQuery } from "@zauru-sdk/graphql";
14
14
 
@@ -1,7 +1,7 @@
1
1
  import type { Session } from "@remix-run/node";
2
2
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
3
3
  import { AxiosUtilsResponse, CurrencyGraphQL } from "@zauru-sdk/types";
4
- import { getGraphQLAPIHeaders } from "~/common.server.js";
4
+ import { getGraphQLAPIHeaders } from "../common.server.js";
5
5
  import httpGraphQLAPI from "./httpGraphQL.server.js";
6
6
  import { getCurrenciesStringQuery } from "@zauru-sdk/graphql";
7
7
 
@@ -5,7 +5,7 @@ import {
5
5
  NewDischargeBody,
6
6
  PDFResult,
7
7
  } from "@zauru-sdk/types";
8
- import { getVariablesByName } from "~/common.server.js";
8
+ import { getVariablesByName } from "../common.server.js";
9
9
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
10
10
  import httpZauru from "./httpZauru.server.js";
11
11
 
@@ -1,7 +1,7 @@
1
1
  import type { Session } from "@remix-run/node";
2
2
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
3
3
  import { AxiosUtilsResponse, EmployeeGraphQL } from "@zauru-sdk/types";
4
- import { getGraphQLAPIHeaders } from "~/common.server.js";
4
+ import { getGraphQLAPIHeaders } from "../common.server.js";
5
5
  import httpGraphQLAPI from "./httpGraphQL.server.js";
6
6
  import { getEmployeesByAgencyIdStringQuery } from "@zauru-sdk/graphql";
7
7
 
@@ -12,7 +12,7 @@ import {
12
12
  SubmissionCasesGraphQL,
13
13
  SubmissionInvoicesGraphQL,
14
14
  } from "@zauru-sdk/types";
15
- import { getGraphQLAPIHeaders } from "~/common.server.js";
15
+ import { getGraphQLAPIHeaders } from "../common.server.js";
16
16
  import httpGraphQLAPI from "./httpGraphQL.server.js";
17
17
  import {
18
18
  getFormByNameStringQuery,
@@ -5,7 +5,7 @@ import {
5
5
  InvoiceGraphQL,
6
6
  SubmissionInvoicesGraphQL,
7
7
  } from "@zauru-sdk/types";
8
- import { getGraphQLAPIHeaders } from "~/common.server.js";
8
+ import { getGraphQLAPIHeaders } from "../common.server.js";
9
9
  import httpGraphQLAPI from "./httpGraphQL.server.js";
10
10
  import { getInvoicesByAgencyIdStringQuery } from "@zauru-sdk/graphql";
11
11
  import httpZauru from "./httpZauru.server.js";
@@ -13,7 +13,7 @@ import {
13
13
  ResponseItemList,
14
14
  SearchItemParams,
15
15
  } from "@zauru-sdk/types";
16
- import { getGraphQLAPIHeaders } from "~/common.server.js";
16
+ import { getGraphQLAPIHeaders } from "../common.server.js";
17
17
  import httpGraphQLAPI from "./httpGraphQL.server.js";
18
18
  import {
19
19
  getItemByNameStringQuery,
@@ -1,6 +1,6 @@
1
1
  import type { Session } from "@remix-run/node";
2
2
  import { LoteRecordBody, WebAppRowGraphQL } from "@zauru-sdk/types";
3
- import { getVariablesByName } from "~/common.server.js";
3
+ import { getVariablesByName } from "../common.server.js";
4
4
  import {
5
5
  createWebAppTableRegister,
6
6
  deleteWebAppTableRegister,
@@ -20,7 +20,7 @@ import {
20
20
  UpdateLoteBody,
21
21
  } from "@zauru-sdk/types";
22
22
  import moment from "moment";
23
- import { getGraphQLAPIHeaders, getVariablesByName } from "~/common.server.js";
23
+ import { getGraphQLAPIHeaders, getVariablesByName } from "../common.server.js";
24
24
  import httpZauru from "./httpZauru.server.js";
25
25
  import { createLoteRecord } from "./zauru-lote-record.server.js";
26
26
  import httpGraphQLAPI from "./httpGraphQL.server.js";
@@ -7,7 +7,7 @@ import {
7
7
  WebAppRowGraphQL,
8
8
  WebAppTableUpdateResponse,
9
9
  } from "@zauru-sdk/types";
10
- import { getVariablesByName } from "~/common.server.js";
10
+ import { getVariablesByName } from "../common.server.js";
11
11
  import {
12
12
  createWebAppTableRegister,
13
13
  deleteWebAppTableRegister,
@@ -1,8 +1,12 @@
1
1
  import type { Session } from "@remix-run/node";
2
2
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
3
- import { AxiosUtilsResponse, PayeeCategoryGraphQL, PayeeGraphQL } from "@zauru-sdk/types";
3
+ import {
4
+ AxiosUtilsResponse,
5
+ PayeeCategoryGraphQL,
6
+ PayeeGraphQL,
7
+ } from "@zauru-sdk/types";
4
8
  import httpGraphQLAPI from "./httpGraphQL.server.js";
5
- import { getGraphQLAPIHeaders } from "~/common.server.js";
9
+ import { getGraphQLAPIHeaders } from "../common.server.js";
6
10
  import {
7
11
  getClientCategoriesStringQuery,
8
12
  getPayeeByIdStringQuery,
@@ -1,7 +1,7 @@
1
1
  import type { Session } from "@remix-run/node";
2
2
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
3
3
  import { AxiosUtilsResponse, PaymentTermGraphQL } from "@zauru-sdk/types";
4
- import { getGraphQLAPIHeaders } from "~/common.server.js";
4
+ import { getGraphQLAPIHeaders } from "../common.server.js";
5
5
  import httpGraphQLAPI from "./httpGraphQL.server.js";
6
6
  import {
7
7
  getPaymentTermByIdStringQuery,
@@ -24,7 +24,7 @@ import {
24
24
  createNewPurchaseOrderReception,
25
25
  } from "./zauru-receptions.server.js";
26
26
  import httpZauru from "./httpZauru.server.js";
27
- import { getGraphQLAPIHeaders, getVariablesByName } from "~/common.server.js";
27
+ import { getGraphQLAPIHeaders, getVariablesByName } from "../common.server.js";
28
28
  import httpGraphQLAPI from "./httpGraphQL.server.js";
29
29
  import {
30
30
  getLast100ReceptionsStringQuery,
@@ -1,7 +1,7 @@
1
1
  import type { Session } from "@remix-run/node";
2
2
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
3
3
  import { AxiosUtilsResponse, ShipmentGraphQL } from "@zauru-sdk/types";
4
- import { getGraphQLAPIHeaders } from "~/common.server.js";
4
+ import { getGraphQLAPIHeaders } from "../common.server.js";
5
5
  import httpGraphQLAPI from "./httpGraphQL.server.js";
6
6
  import { getShipmentsByToAgencyLast100StringQuery } from "@zauru-sdk/graphql";
7
7
  import httpZauru from "./httpZauru.server.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "@zauru-sdk/types";
7
7
  import httpZauru from "./httpZauru.server.js";
8
8
  import { Session } from "@remix-run/node";
9
- import { getGraphQLAPIHeaders } from "~/common.server.js";
9
+ import { getGraphQLAPIHeaders } from "../common.server.js";
10
10
  import httpGraphQLAPI from "./httpGraphQL.server.js";
11
11
  import { getSuggestedPricesStringQuery } from "@zauru-sdk/graphql";
12
12
 
@@ -10,7 +10,7 @@ import {
10
10
  WebAppTableGraphQL,
11
11
  WebAppTableUpdateResponse,
12
12
  } from "@zauru-sdk/types";
13
- import { getGraphQLAPIHeaders, getVariablesByName } from "~/common.server.js";
13
+ import { getGraphQLAPIHeaders, getVariablesByName } from "../common.server.js";
14
14
  import httpGraphQLAPI from "./httpGraphQL.server.js";
15
15
  import {
16
16
  getWebAppRowStringQuery,