@zauru-sdk/hooks 1.0.60 → 1.0.69
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/catalogs.d.ts +4 -0
- package/dist/cjs/catalogs.js +3 -1
- package/dist/esm/catalogs.js +3 -1
- package/package.json +5 -5
package/dist/catalogs.d.ts
CHANGED
|
@@ -36,6 +36,10 @@ export declare const useGetTemplates: (config?: ReduxParamsConfig) => {
|
|
|
36
36
|
loading: boolean;
|
|
37
37
|
data: WebAppRowGraphQL<Template>[];
|
|
38
38
|
};
|
|
39
|
+
export declare const useGetPayeeCategories: () => {
|
|
40
|
+
loading: boolean;
|
|
41
|
+
data: PayeeCategoryGraphQL[];
|
|
42
|
+
};
|
|
39
43
|
export declare const useGetPayeeCategoriesLabPrices: (config?: {
|
|
40
44
|
withPriceListIdNull: boolean;
|
|
41
45
|
}) => {
|
package/dist/cjs/catalogs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useGetInvoiceFormSubmissionsByInvoiceId = exports.useGetMyCaseFormSubmissions = exports.useGetInvoiceFormSubmissionsByAgencyId = exports.useGetCaseForms = exports.useGetInvoiceForms = exports.useGetAllForms = exports.useGetBitacoraRechazoMasivo = exports.useGetMotivosDeRechazo = exports.useGetTiposDeMuestra = exports.useGetInvoicesByLab = exports.useGetShipmentsToMyAgency = exports.useGetEmployeesByCurrentAgency = exports.useGetEmployeesByLab = exports.useGetPaymentTerms = exports.useGetSuggestedPrices = exports.useGetAgencies = exports.useGetPayeesForLab = exports.useGetPayees = exports.useGetClientCategories = exports.useGetProviderCategories = exports.useGetMyCases = exports.useGetProviders = exports.useGetReceptionTypes = exports.useGetCurrencies = exports.useGetBundlesForLab = exports.useGetBundlesRecipForLab = exports.useGetPayeeCategoriesLabPrices = exports.useGetTemplates = exports.useGetBookings = exports.useGetItemCategoriesForLab = exports.useGetItemServicesByLab = exports.useGetMyAgencyLotStocks = exports.useGetItemsByLab = exports.useGetItemsByReception = exports.useGetItems = void 0;
|
|
3
|
+
exports.useGetInvoiceFormSubmissionsByInvoiceId = exports.useGetMyCaseFormSubmissions = exports.useGetInvoiceFormSubmissionsByAgencyId = exports.useGetCaseForms = exports.useGetInvoiceForms = exports.useGetAllForms = exports.useGetBitacoraRechazoMasivo = exports.useGetMotivosDeRechazo = exports.useGetTiposDeMuestra = exports.useGetInvoicesByLab = exports.useGetShipmentsToMyAgency = exports.useGetEmployeesByCurrentAgency = exports.useGetEmployeesByLab = exports.useGetPaymentTerms = exports.useGetSuggestedPrices = exports.useGetAgencies = exports.useGetPayeesForLab = exports.useGetPayees = exports.useGetClientCategories = exports.useGetProviderCategories = exports.useGetMyCases = 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
|
const react_1 = require("@remix-run/react");
|
|
5
5
|
const react_2 = require("react");
|
|
6
6
|
const index_js_1 = require("./components/index.js");
|
|
@@ -127,6 +127,8 @@ const useGetBookings = (config) => useGetReduxCatalog("bookings", config);
|
|
|
127
127
|
exports.useGetBookings = useGetBookings;
|
|
128
128
|
const useGetTemplates = (config) => useGetReduxCatalog("templates", config);
|
|
129
129
|
exports.useGetTemplates = useGetTemplates;
|
|
130
|
+
const useGetPayeeCategories = () => useGetReduxCatalog("payeeCategories");
|
|
131
|
+
exports.useGetPayeeCategories = useGetPayeeCategories;
|
|
130
132
|
const useGetPayeeCategoriesLabPrices = (config = { withPriceListIdNull: false }) => {
|
|
131
133
|
const data = useGetReduxCatalog("payeeCategoriesLabPrices");
|
|
132
134
|
let tempData = data.data;
|
package/dist/esm/catalogs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useGetInvoiceFormSubmissionsByInvoiceId = exports.useGetMyCaseFormSubmissions = exports.useGetInvoiceFormSubmissionsByAgencyId = exports.useGetCaseForms = exports.useGetInvoiceForms = exports.useGetAllForms = exports.useGetBitacoraRechazoMasivo = exports.useGetMotivosDeRechazo = exports.useGetTiposDeMuestra = exports.useGetInvoicesByLab = exports.useGetShipmentsToMyAgency = exports.useGetEmployeesByCurrentAgency = exports.useGetEmployeesByLab = exports.useGetPaymentTerms = exports.useGetSuggestedPrices = exports.useGetAgencies = exports.useGetPayeesForLab = exports.useGetPayees = exports.useGetClientCategories = exports.useGetProviderCategories = exports.useGetMyCases = exports.useGetProviders = exports.useGetReceptionTypes = exports.useGetCurrencies = exports.useGetBundlesForLab = exports.useGetBundlesRecipForLab = exports.useGetPayeeCategoriesLabPrices = exports.useGetTemplates = exports.useGetBookings = exports.useGetItemCategoriesForLab = exports.useGetItemServicesByLab = exports.useGetMyAgencyLotStocks = exports.useGetItemsByLab = exports.useGetItemsByReception = exports.useGetItems = void 0;
|
|
3
|
+
exports.useGetInvoiceFormSubmissionsByInvoiceId = exports.useGetMyCaseFormSubmissions = exports.useGetInvoiceFormSubmissionsByAgencyId = exports.useGetCaseForms = exports.useGetInvoiceForms = exports.useGetAllForms = exports.useGetBitacoraRechazoMasivo = exports.useGetMotivosDeRechazo = exports.useGetTiposDeMuestra = exports.useGetInvoicesByLab = exports.useGetShipmentsToMyAgency = exports.useGetEmployeesByCurrentAgency = exports.useGetEmployeesByLab = exports.useGetPaymentTerms = exports.useGetSuggestedPrices = exports.useGetAgencies = exports.useGetPayeesForLab = exports.useGetPayees = exports.useGetClientCategories = exports.useGetProviderCategories = exports.useGetMyCases = 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
|
const react_1 = require("@remix-run/react");
|
|
5
5
|
const react_2 = require("react");
|
|
6
6
|
const index_js_1 = require("./components/index.js");
|
|
@@ -127,6 +127,8 @@ const useGetBookings = (config) => useGetReduxCatalog("bookings", config);
|
|
|
127
127
|
exports.useGetBookings = useGetBookings;
|
|
128
128
|
const useGetTemplates = (config) => useGetReduxCatalog("templates", config);
|
|
129
129
|
exports.useGetTemplates = useGetTemplates;
|
|
130
|
+
const useGetPayeeCategories = () => useGetReduxCatalog("payeeCategories");
|
|
131
|
+
exports.useGetPayeeCategories = useGetPayeeCategories;
|
|
130
132
|
const useGetPayeeCategoriesLabPrices = (config = { withPriceListIdNull: false }) => {
|
|
131
133
|
const data = useGetReduxCatalog("payeeCategoriesLabPrices");
|
|
132
134
|
let tempData = data.data;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/hooks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.69",
|
|
4
4
|
"description": "Hooks reutilizables dentro de las webapps de Zauru.",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@remix-run/react": "^2.8.1",
|
|
30
|
-
"@zauru-sdk/common": "^1.0.
|
|
30
|
+
"@zauru-sdk/common": "^1.0.69",
|
|
31
31
|
"@zauru-sdk/icons": "^1.0.60",
|
|
32
|
-
"@zauru-sdk/redux": "^1.0.
|
|
33
|
-
"@zauru-sdk/types": "^1.0.
|
|
32
|
+
"@zauru-sdk/redux": "^1.0.69",
|
|
33
|
+
"@zauru-sdk/types": "^1.0.69",
|
|
34
34
|
"react": "^18.2.0",
|
|
35
35
|
"react-dom": "^18.2.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "46dd382e956e8b34c2a65ef078d8fddb2cdd434c"
|
|
38
38
|
}
|