@zauru-sdk/services 1.0.110 → 1.0.115

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.
@@ -358,6 +358,8 @@ const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {}) => {
358
358
  withWebAppRows: finalConfig.withWebAppRows,
359
359
  payeeCategoryIds: finalConfig.payeeCategoryIds,
360
360
  excludePayeeCategoryIds: finalConfig.excludePayeeCategoryIds,
361
+ discountComparisonOperator: finalConfig.discountComparisonOperator,
362
+ discount: finalConfig.discount,
361
363
  });
362
364
  const graphQLBody = {
363
365
  query,
@@ -338,6 +338,8 @@ export const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {})
338
338
  withWebAppRows: finalConfig.withWebAppRows,
339
339
  payeeCategoryIds: finalConfig.payeeCategoryIds,
340
340
  excludePayeeCategoryIds: finalConfig.excludePayeeCategoryIds,
341
+ discountComparisonOperator: finalConfig.discountComparisonOperator,
342
+ discount: finalConfig.discount,
341
343
  });
342
344
  const graphQLBody = {
343
345
  query,
@@ -143,6 +143,8 @@ export declare const getGraphQLPurchaseOrderBetweenDates: (session: Session, dat
143
143
  withWebAppRows?: boolean;
144
144
  payeeCategoryIds?: number[];
145
145
  excludePayeeCategoryIds?: number[];
146
+ discountComparisonOperator?: "_eq" | "_neq" | "_gte" | "_lte" | "_gt" | "_lt";
147
+ discount?: number;
146
148
  }) => Promise<AxiosUtilsResponse<PurchaseOrderGraphQL[]>>;
147
149
  /**
148
150
  * deletePurchaseOrder
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "1.0.110",
3
+ "version": "1.0.115",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -27,10 +27,10 @@
27
27
  "@remix-run/node": "^2.8.1",
28
28
  "@zauru-sdk/common": "^1.0.110",
29
29
  "@zauru-sdk/config": "^1.0.60",
30
- "@zauru-sdk/graphql": "^1.0.105",
30
+ "@zauru-sdk/graphql": "^1.0.115",
31
31
  "@zauru-sdk/types": "^1.0.109",
32
32
  "axios": "^1.6.7",
33
33
  "chalk": "5.3.0"
34
34
  },
35
- "gitHead": "15d8ecf97b16b9c4bd50b8a5984435b451a846e5"
35
+ "gitHead": "9a49125d2c7974621d59f96389b9e08e3fa68dc9"
36
36
  }