@zauru-sdk/services 2.0.92 → 2.0.93
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.
|
@@ -321,6 +321,7 @@ export const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {})
|
|
|
321
321
|
excludePayeeCategoryIds: [],
|
|
322
322
|
shipment_reference: undefined,
|
|
323
323
|
withLotStocks: false,
|
|
324
|
+
excludeVoided: false,
|
|
324
325
|
};
|
|
325
326
|
// Combinar config con los valores por defecto
|
|
326
327
|
const finalConfig = { ...defaultConfig, ...config };
|
|
@@ -352,6 +353,7 @@ export const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {})
|
|
|
352
353
|
discountComparisonOperator: finalConfig.discountComparisonOperator,
|
|
353
354
|
discount: finalConfig.discount,
|
|
354
355
|
shipment_reference: finalConfig.shipment_reference,
|
|
356
|
+
excludeVoided: finalConfig.excludeVoided,
|
|
355
357
|
});
|
|
356
358
|
const graphQLBody = {
|
|
357
359
|
query,
|
|
@@ -159,6 +159,7 @@ export declare const getGraphQLPurchaseOrderBetweenDates: (session: Session, dat
|
|
|
159
159
|
onlyFirstLot?: boolean;
|
|
160
160
|
discountComparisonOperator?: "_eq" | "_neq" | "_gte" | "_lte" | "_gt" | "_lt";
|
|
161
161
|
discount?: number;
|
|
162
|
+
excludeVoided?: boolean;
|
|
162
163
|
}) => Promise<AxiosUtilsResponse<PurchaseOrderGraphQL[]>>;
|
|
163
164
|
/**
|
|
164
165
|
* deletePurchaseOrder
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.93",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"@remix-run/node": "^2.8.1",
|
|
27
27
|
"@zauru-sdk/common": "^2.0.92",
|
|
28
28
|
"@zauru-sdk/config": "^2.0.87",
|
|
29
|
-
"@zauru-sdk/graphql": "^2.0.
|
|
29
|
+
"@zauru-sdk/graphql": "^2.0.93",
|
|
30
30
|
"@zauru-sdk/types": "^2.0.92",
|
|
31
31
|
"axios": "^1.6.7",
|
|
32
32
|
"chalk": "5.3.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "22ed9078c4b82bbcb19ecff097926890a35570b6"
|
|
35
35
|
}
|