@zauru-sdk/hooks 2.0.204 → 2.0.208

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.
@@ -1,4 +1,4 @@
1
- import type { AgencyGraphQL, BitacoraPOMassive, BundleGraphQL, CaseGraphQL, CurrencyGraphQL, EmployeeGraphQL, FormGraphQL, InvoiceGraphQL, ItemCategoryGraphQL, ItemGraphQL, LotStockGraphQL, MotivoRechazo, PayeeCategoryGraphQL, PayeeGraphQL, PaymentTermGraphQL, ReceptionType, ShipmentGraphQL, SubmissionCasesGraphQL, SubmissionInvoicesGraphQL, SuggestedPriceGraphQL, Template, TipoMuestra, WebAppRowGraphQL, PrintTemplateGraphQL, PaymentMethodGraphQL, CCPorcentajeRechazo } from "@zauru-sdk/types";
1
+ import type { AgencyGraphQL, BitacoraPOMassive, BundleGraphQL, CaseGraphQL, CurrencyGraphQL, EmployeeGraphQL, FormGraphQL, InvoiceGraphQL, ItemCategoryGraphQL, ItemGraphQL, LotStockGraphQL, MotivoRechazo, PayeeCategoryGraphQL, PayeeGraphQL, PaymentTermGraphQL, ReceptionType, ShipmentGraphQL, SubmissionCasesGraphQL, SubmissionInvoicesGraphQL, SuggestedPriceGraphQL, Template, TipoMuestra, WebAppRowGraphQL, PrintTemplateGraphQL, PaymentMethodGraphQL, CCPorcentajeRechazo, AuthorizationUpdateDiscountPO } from "@zauru-sdk/types";
2
2
  import { CATALOGS_NAMES, ReduxParamsConfig } from "@zauru-sdk/redux";
3
3
  type CatalogType<T> = {
4
4
  data: T[];
@@ -159,6 +159,10 @@ export declare const useGetCCPorcentajesDeRechazo: (config?: ReduxParamsConfig)
159
159
  loading: boolean;
160
160
  data: WebAppRowGraphQL<CCPorcentajeRechazo>[];
161
161
  };
162
+ export declare const useGetAuthorizationsUpdateDiscountPO: (config?: ReduxParamsConfig) => {
163
+ loading: boolean;
164
+ data: WebAppRowGraphQL<AuthorizationUpdateDiscountPO>[];
165
+ };
162
166
  export declare const useGetBitacoraRechazoMasivo: (config?: ReduxParamsConfig) => {
163
167
  loading: boolean;
164
168
  data: WebAppRowGraphQL<BitacoraPOMassive>[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useGetInvoiceFormSubmissionsByInvoiceId = exports.useGetCaseFormSubmissionsByCaseId = exports.useGetMyCaseFormSubmissions = exports.useGetInvoiceFormSubmissionsByAgencyId = exports.useGetCaseForms = exports.useGetInvoiceForms = exports.useGetAllForms = exports.useGetBitacoraRechazoMasivo = exports.useGetCCPorcentajesDeRechazo = exports.useGetMotivosDeRechazo = exports.useGetTiposDeMuestra = exports.useGetInvoicesByCurrentAgency = exports.useGetInvoicesByLab = exports.useGetShipmentsToMyAgency = exports.useGetEmployees = exports.useGetEmployeesByCurrentAgency = exports.useGetEmployeesByLab = exports.useGetPaymentMethods = exports.useGetPaymentTerms = exports.useGetSuggestedPrices = exports.useGetAgencies = exports.useGetPrintTemplates = exports.useGetPayeesForLab = exports.useGetPayees = exports.useGetClientCategories = exports.useGetProviderCategories = exports.useGetCases = exports.useGetProviders = exports.useGetReceptionTypes = exports.useGetCurrencies = exports.useGetBundlesForLab = exports.useGetBundlesRecipForLab = exports.useGetPayeeCategoriesLabPrices = exports.useGetPayeeCategories = exports.useGetTemplates = exports.useGetBookings = exports.useGetItemCategoriesForLab = exports.useGetItemServicesByLab = exports.useGetMyAgencyLotStocks = exports.useGetItemsByLab = exports.useGetItemsByReception = exports.useGetItems = void 0;
3
+ exports.useGetInvoiceFormSubmissionsByInvoiceId = exports.useGetCaseFormSubmissionsByCaseId = exports.useGetMyCaseFormSubmissions = exports.useGetInvoiceFormSubmissionsByAgencyId = exports.useGetCaseForms = exports.useGetInvoiceForms = exports.useGetAllForms = exports.useGetBitacoraRechazoMasivo = exports.useGetAuthorizationsUpdateDiscountPO = exports.useGetCCPorcentajesDeRechazo = exports.useGetMotivosDeRechazo = exports.useGetTiposDeMuestra = exports.useGetInvoicesByCurrentAgency = exports.useGetInvoicesByLab = exports.useGetShipmentsToMyAgency = exports.useGetEmployees = exports.useGetEmployeesByCurrentAgency = exports.useGetEmployeesByLab = exports.useGetPaymentMethods = exports.useGetPaymentTerms = exports.useGetSuggestedPrices = exports.useGetAgencies = exports.useGetPrintTemplates = exports.useGetPayeesForLab = exports.useGetPayees = exports.useGetClientCategories = exports.useGetProviderCategories = exports.useGetCases = exports.useGetProviders = exports.useGetReceptionTypes = exports.useGetCurrencies = exports.useGetBundlesForLab = exports.useGetBundlesRecipForLab = exports.useGetPayeeCategoriesLabPrices = exports.useGetPayeeCategories = exports.useGetTemplates = exports.useGetBookings = exports.useGetItemCategoriesForLab = exports.useGetItemServicesByLab = exports.useGetMyAgencyLotStocks = exports.useGetItemsByLab = exports.useGetItemsByReception = exports.useGetItems = void 0;
4
4
  exports.useGetReduxCatalog = useGetReduxCatalog;
5
5
  const react_1 = require("@remix-run/react");
6
6
  const react_2 = require("react");
@@ -270,6 +270,8 @@ const useGetMotivosDeRechazo = (config) => useGetReduxCatalog("motivosRechazo",
270
270
  exports.useGetMotivosDeRechazo = useGetMotivosDeRechazo;
271
271
  const useGetCCPorcentajesDeRechazo = (config) => useGetReduxCatalog("ccPorcentajesDeRechazo", config);
272
272
  exports.useGetCCPorcentajesDeRechazo = useGetCCPorcentajesDeRechazo;
273
+ const useGetAuthorizationsUpdateDiscountPO = (config) => useGetReduxCatalog("authorizationUpdateDiscountPO", config);
274
+ exports.useGetAuthorizationsUpdateDiscountPO = useGetAuthorizationsUpdateDiscountPO;
273
275
  const useGetBitacoraRechazoMasivo = (config) => useGetReduxCatalog("bitacoraRechazoMasivo", config);
274
276
  exports.useGetBitacoraRechazoMasivo = useGetBitacoraRechazoMasivo;
275
277
  const useGetAllForms = (config) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/hooks",
3
- "version": "2.0.204",
3
+ "version": "2.0.208",
4
4
  "description": "Hooks reutilizables dentro de las webapps de Zauru.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -26,12 +26,12 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@remix-run/react": "^2.8.1",
29
- "@zauru-sdk/common": "^2.0.204",
29
+ "@zauru-sdk/common": "^2.0.208",
30
30
  "@zauru-sdk/icons": "^2.0.188",
31
- "@zauru-sdk/redux": "^2.0.204",
32
- "@zauru-sdk/types": "^2.0.204",
31
+ "@zauru-sdk/redux": "^2.0.208",
32
+ "@zauru-sdk/types": "^2.0.208",
33
33
  "react": "^18.2.0",
34
34
  "react-dom": "^18.2.0"
35
35
  },
36
- "gitHead": "1d4f8ef72286e9f7575109be154b09f53c3107f4"
36
+ "gitHead": "12a01ef8632fa8bbabdd6240c449ecdbda608f6d"
37
37
  }