@zauru-sdk/hooks 2.0.6 → 2.0.8
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/esm/catalogs.js +3 -1
- package/package.json +5 -5
package/dist/catalogs.d.ts
CHANGED
|
@@ -114,6 +114,10 @@ export declare const useGetEmployeesByCurrentAgency: (config?: ReduxParamsConfig
|
|
|
114
114
|
loading: boolean;
|
|
115
115
|
data: EmployeeGraphQL[];
|
|
116
116
|
};
|
|
117
|
+
export declare const useGetEmployees: (config?: ReduxParamsConfig) => {
|
|
118
|
+
loading: boolean;
|
|
119
|
+
data: EmployeeGraphQL[];
|
|
120
|
+
};
|
|
117
121
|
export declare const useGetShipmentsToMyAgency: (config?: ReduxParamsConfig) => {
|
|
118
122
|
loading: boolean;
|
|
119
123
|
data: ShipmentGraphQL[];
|
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.useGetPaymentMethods = exports.useGetPaymentTerms = exports.useGetSuggestedPrices = exports.useGetAgencies = exports.useGetPrintTemplates = 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;
|
|
3
|
+
exports.useGetInvoiceFormSubmissionsByInvoiceId = exports.useGetMyCaseFormSubmissions = exports.useGetInvoiceFormSubmissionsByAgencyId = exports.useGetCaseForms = exports.useGetInvoiceForms = exports.useGetAllForms = exports.useGetBitacoraRechazoMasivo = exports.useGetMotivosDeRechazo = exports.useGetTiposDeMuestra = 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.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");
|
|
@@ -184,6 +184,8 @@ const useGetEmployeesByLab = (config) => useGetReduxCatalog("employeesByLab", co
|
|
|
184
184
|
exports.useGetEmployeesByLab = useGetEmployeesByLab;
|
|
185
185
|
const useGetEmployeesByCurrentAgency = (config) => useGetReduxCatalog("employeesByCurrentAgency", config);
|
|
186
186
|
exports.useGetEmployeesByCurrentAgency = useGetEmployeesByCurrentAgency;
|
|
187
|
+
const useGetEmployees = (config) => useGetReduxCatalog("employees", config);
|
|
188
|
+
exports.useGetEmployees = useGetEmployees;
|
|
187
189
|
const useGetShipmentsToMyAgency = (config) => useGetReduxCatalog("shipmentsToMyAgency", config);
|
|
188
190
|
exports.useGetShipmentsToMyAgency = useGetShipmentsToMyAgency;
|
|
189
191
|
const useGetInvoicesByLab = (config) => useGetReduxCatalog("invoicesByLab", config);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/hooks",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
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.
|
|
29
|
+
"@zauru-sdk/common": "^2.0.7",
|
|
30
30
|
"@zauru-sdk/icons": "^2.0.0",
|
|
31
|
-
"@zauru-sdk/redux": "^2.0.
|
|
32
|
-
"@zauru-sdk/types": "^2.0.
|
|
31
|
+
"@zauru-sdk/redux": "^2.0.8",
|
|
32
|
+
"@zauru-sdk/types": "^2.0.7",
|
|
33
33
|
"react": "^18.2.0",
|
|
34
34
|
"react-dom": "^18.2.0"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "e7202e8040f00b784dbb8108956f1f260831fcc1"
|
|
37
37
|
}
|