@stssocialst-stp/fe-payroll 0.1.4 → 0.1.5

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/index.js CHANGED
@@ -831,7 +831,7 @@ function createPayroll(payroll, clientMutationLabel) {
831
831
  return PERFORM_MUTATION(MUTATION_SERVICE.PAYROLL.CREATE, formatPayrollGQL(payroll), ACTION_TYPE.CREATE_PAYROLL, clientMutationLabel);
832
832
  }
833
833
  function fetchBenefitConsumptions(modulesManager, params) {
834
- var payload = feCore.formatPageQueryWithCount('benefitConsumption', params, BENEFIT_CONSUMPTION_PROJECTION());
834
+ var payload = feCore.formatPageQueryWithCount('benefitConsumptionByPayroll', params, BENEFIT_CONSUMPTION_PROJECTION());
835
835
  return feCore.graphql(payload, ACTION_TYPE.GET_BENEFIT_CONSUMPTION);
836
836
  }
837
837
  function fetchBenefitAttachments(modulesManager, params) {
@@ -5614,9 +5614,9 @@ function BenefitConsumptionSearcher(_ref) {
5614
5614
  value: false,
5615
5615
  filter: 'isDeleted: false'
5616
5616
  },
5617
- payrollbenefitconsumptionPayrollId: {
5617
+ payrollUuid: {
5618
5618
  value: payrollUuid,
5619
- filter: "payrollbenefitconsumptionPayrollId: \"".concat(payrollUuid, "\"")
5619
+ filter: "payrollUuid: \"".concat(payrollUuid, "\"")
5620
5620
  }
5621
5621
  };
5622
5622
  if (isPayrollFromFailedInvoices) {