@zauru-sdk/services 2.0.53 → 2.0.55
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.
- package/dist/esm/common.js +1 -1
- package/dist/esm/zauru/httpZauru.js +1 -2
- package/dist/esm/zauru/zauru-automatic-numbers.js +1 -1
- package/dist/esm/zauru/zauru-bookings.js +1 -1
- package/dist/esm/zauru/zauru-bundles.js +1 -1
- package/dist/esm/zauru/zauru-consolidated.js +1 -1
- package/dist/esm/zauru/zauru-deliveries.js +1 -1
- package/dist/esm/zauru/zauru-discharges.js +1 -1
- package/dist/esm/zauru/zauru-forms.js +1 -1
- package/dist/esm/zauru/zauru-invoices.js +1 -1
- package/dist/esm/zauru/zauru-items.js +1 -1
- package/dist/esm/zauru/zauru-lotes.js +1 -1
- package/dist/esm/zauru/zauru-payees.js +1 -1
- package/dist/esm/zauru/zauru-payment-terms.js +1 -1
- package/dist/esm/zauru/zauru-payments.js +1 -1
- package/dist/esm/zauru/zauru-price-lists.js +1 -1
- package/dist/esm/zauru/zauru-profiles.js +1 -1
- package/dist/esm/zauru/zauru-purchase-orders.js +1 -1
- package/dist/esm/zauru/zauru-receptions.js +1 -1
- package/dist/esm/zauru/zauru-shipments.js +1 -1
- package/dist/esm/zauru/zauru-suggested-prices.js +1 -1
- package/dist/esm/zauru/zauru-tags.js +1 -1
- package/dist/esm/zauru/zauru-templates.js +1 -1
- package/dist/esm/zauru/zauru-variables.js +1 -1
- package/dist/esm/zauru/zauru-web-app-tables.js +1 -1
- package/dist/zauru/httpZauru.d.ts +1 -2
- package/package.json +2 -2
package/dist/esm/common.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { redirect } from "@remix-run/node";
|
|
2
2
|
import { commitSession, getSession } from "./sessions/sessions.js";
|
|
3
3
|
import chalk from "chalk";
|
|
4
|
-
import httpZauru from "./zauru/httpZauru.js";
|
|
4
|
+
import { httpZauru } from "./zauru/httpZauru.js";
|
|
5
5
|
import { getAgencyInfo, getEmployeeInfo, getOauthUserInfo, getProfileInformation, } from "./zauru/zauru-profiles.js";
|
|
6
6
|
import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
7
7
|
import { getVariables } from "./zauru/zauru-variables.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { arrayToObject, handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
2
|
-
import httpZauru from "./httpZauru.js";
|
|
2
|
+
import { httpZauru } from "./httpZauru.js";
|
|
3
3
|
import { getGraphQLAPIHeaders } from "../common.js";
|
|
4
4
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
5
5
|
import { getShipmentsStringQuery } from "@zauru-sdk/graphql";
|
|
@@ -2,7 +2,7 @@ import { arrayToObject, handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
|
2
2
|
import { getGraphQLAPIHeaders } from "../common.js";
|
|
3
3
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
4
4
|
import { getBundleByNameStringQuery, getBundlesByItemCategoryIdStringQuery, } from "@zauru-sdk/graphql";
|
|
5
|
-
import httpZauru from "./httpZauru.js";
|
|
5
|
+
import { httpZauru } from "./httpZauru.js";
|
|
6
6
|
/**
|
|
7
7
|
* getBundlesByItemCategoryId
|
|
8
8
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { formatDateToUTC, handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
2
|
-
import httpZauru from "./httpZauru.js";
|
|
2
|
+
import { httpZauru } from "./httpZauru.js";
|
|
3
3
|
import { getGraphQLAPIHeaders, getVariablesByName } from "../common.js";
|
|
4
4
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
5
5
|
import { getConsolidatesBetweenDatesStringQuery } from "@zauru-sdk/graphql";
|
|
@@ -2,7 +2,7 @@ import { arrayToObject, convertToFormData, handlePossibleAxiosErrors, } from "@z
|
|
|
2
2
|
import { getGraphQLAPIHeaders } from "../common.js";
|
|
3
3
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
4
4
|
import { getAllFormsStringQuery, getFormByNameStringQuery, getFormSubmissionByIdStringQuery, getFormsByDocumentTypeStringQuery, getFormsStringQuery, getInvoiceFormSubmissionsByAgencyIdStringQuery, getInvoiceFormSubmissionsByInvoiceIdStringQuery, getLastInvoiceFormSubmissionStringQuery, getMyCaseFormSubmissionsStringQuery, } from "@zauru-sdk/graphql";
|
|
5
|
-
import httpZauru from "./httpZauru.js";
|
|
5
|
+
import { httpZauru } from "./httpZauru.js";
|
|
6
6
|
/**
|
|
7
7
|
* getForms
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { arrayToObject, handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
|
2
2
|
import { getGraphQLAPIHeaders } from "../common.js";
|
|
3
3
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
4
4
|
import { getInvoicesByAgencyIdStringQuery } from "@zauru-sdk/graphql";
|
|
5
|
-
import httpZauru from "./httpZauru.js";
|
|
5
|
+
import { httpZauru } from "./httpZauru.js";
|
|
6
6
|
/**
|
|
7
7
|
* getInvoicesByAgencyId
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { extractValueBetweenTags, handlePossibleAxiosErrors, } from "@zauru-sdk/
|
|
|
2
2
|
import { getGraphQLAPIHeaders } from "../common.js";
|
|
3
3
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
4
4
|
import { getItemByNameStringQuery, getItemCategoryByIdStringQuery, getItemsByCategoryStringQuery, getItemsBySuperCategoryStringQuery, getItemsStringQuery, getSuperCategoryByIdStringQuery, } from "@zauru-sdk/graphql";
|
|
5
|
-
import httpZauru from "./httpZauru.js";
|
|
5
|
+
import { httpZauru } from "./httpZauru.js";
|
|
6
6
|
//============================ FORMATEADO DE ITEMS
|
|
7
7
|
function extractIdFromURL(input) {
|
|
8
8
|
const regex = /\/items\/(\d+)/;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getBasketsSchema, handlePossibleAxiosErrors, reduceAdd, truncateDecimals, } from "@zauru-sdk/common";
|
|
2
2
|
import moment from "moment";
|
|
3
3
|
import { getGraphQLAPIHeaders, getVariablesByName } from "../common.js";
|
|
4
|
-
import httpZauru from "./httpZauru.js";
|
|
4
|
+
import { httpZauru } from "./httpZauru.js";
|
|
5
5
|
import { createLoteRecord } from "./zauru-lote-record.js";
|
|
6
6
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
7
7
|
import { getLotStocksByAgencyIdStringQuery, getLotsByNameStringQuery, } from "@zauru-sdk/graphql";
|
|
@@ -2,7 +2,7 @@ import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
|
2
2
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
3
3
|
import { getGraphQLAPIHeaders } from "../common.js";
|
|
4
4
|
import { getClientCategoriesStringQuery, getPayeeByIdStringQuery, getPayeeCategoriesByNotesMatchStringQuery, getPayeeCategoriesStringQuery, getPayeeCategoryByIdStringQuery, getPayeesStringQuery, getProviderCategoriesStringQuery, getProvidersStringQuery, } from "@zauru-sdk/graphql";
|
|
5
|
-
import httpZauru from "./httpZauru.js";
|
|
5
|
+
import { httpZauru } from "./httpZauru.js";
|
|
6
6
|
/**
|
|
7
7
|
* getPayees
|
|
8
8
|
* @param headers
|
|
@@ -2,7 +2,7 @@ import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
|
2
2
|
import { getGraphQLAPIHeaders } from "../common.js";
|
|
3
3
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
4
4
|
import { getPaymentTermByIdStringQuery, getPaymentTermsStringQuery, } from "@zauru-sdk/graphql";
|
|
5
|
-
import httpZauru from "./httpZauru.js";
|
|
5
|
+
import { httpZauru } from "./httpZauru.js";
|
|
6
6
|
/**
|
|
7
7
|
* getPaymentTerms
|
|
8
8
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { arrayToObject, convertToFormData, formatDateToUTC, getBasketsSchema, handlePossibleAxiosErrors, reduceAdd, } from "@zauru-sdk/common";
|
|
2
|
-
import httpZauru from "./httpZauru.js";
|
|
2
|
+
import { httpZauru } from "./httpZauru.js";
|
|
3
3
|
import { getGraphQLAPIHeaders, getVariablesByName } from "../common.js";
|
|
4
4
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
5
5
|
import { getLast100ReceptionsStringQuery, getPurchaseOrderByIdNumberStringQuery, getPurchaseOrderStringQuery, getPurchaseOrdersBetweenDatesStringQuery, } from "@zauru-sdk/graphql";
|
|
@@ -2,7 +2,7 @@ import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
|
2
2
|
import { getGraphQLAPIHeaders } from "../common.js";
|
|
3
3
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
4
4
|
import { getShipmentsStringQuery } from "@zauru-sdk/graphql";
|
|
5
|
-
import httpZauru from "./httpZauru.js";
|
|
5
|
+
import { httpZauru } from "./httpZauru.js";
|
|
6
6
|
/**
|
|
7
7
|
* getShipments
|
|
8
8
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
2
|
-
import httpZauru from "./httpZauru.js";
|
|
2
|
+
import { httpZauru } from "./httpZauru.js";
|
|
3
3
|
import { getGraphQLAPIHeaders } from "../common.js";
|
|
4
4
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
5
5
|
import { getSuggestedPricesStringQuery } from "@zauru-sdk/graphql";
|
|
@@ -2,7 +2,7 @@ import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
|
|
|
2
2
|
import { getGraphQLAPIHeaders, getVariablesByName } from "../common.js";
|
|
3
3
|
import httpGraphQLAPI from "./httpGraphQL.js";
|
|
4
4
|
import { getWebAppRowStringQuery, getWebAppRowsByWebAppTableIdStringQuery, } from "@zauru-sdk/graphql";
|
|
5
|
-
import httpZauru from "./httpZauru.js";
|
|
5
|
+
import { httpZauru } from "./httpZauru.js";
|
|
6
6
|
/**
|
|
7
7
|
* getWebAppRow
|
|
8
8
|
* @param headers
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
declare const httpZauru: import("axios").AxiosInstance;
|
|
2
|
-
export default httpZauru;
|
|
1
|
+
export declare const httpZauru: import("axios").AxiosInstance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.55",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"axios": "^1.6.7",
|
|
32
32
|
"chalk": "5.3.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "d267ebc71c86b810518cccc6645c648c6453f447"
|
|
35
35
|
}
|