@zauru-sdk/hooks 1.0.71 → 1.0.73
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 +5 -1
- 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
|
@@ -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 } 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 } from "@zauru-sdk/types";
|
|
2
2
|
import { ReduxParamsConfig } from "@zauru-sdk/redux";
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
@@ -86,6 +86,10 @@ export declare const useGetPayeesForLab: (config?: ReduxParamsConfig) => {
|
|
|
86
86
|
loading: boolean;
|
|
87
87
|
data: PayeeGraphQL[];
|
|
88
88
|
};
|
|
89
|
+
export declare const useGetPrintTemplates: (config?: ReduxParamsConfig) => {
|
|
90
|
+
loading: boolean;
|
|
91
|
+
data: PrintTemplateGraphQL[];
|
|
92
|
+
};
|
|
89
93
|
export declare const useGetAgencies: (config?: ReduxParamsConfig) => {
|
|
90
94
|
loading: boolean;
|
|
91
95
|
data: AgencyGraphQL[];
|
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.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.useGetEmployeesByCurrentAgency = exports.useGetEmployeesByLab = 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");
|
|
@@ -158,6 +158,8 @@ const useGetPayees = (config) => useGetReduxCatalog("payees", config);
|
|
|
158
158
|
exports.useGetPayees = useGetPayees;
|
|
159
159
|
const useGetPayeesForLab = (config) => useGetReduxCatalog("payeesForLab", config);
|
|
160
160
|
exports.useGetPayeesForLab = useGetPayeesForLab;
|
|
161
|
+
const useGetPrintTemplates = (config) => useGetReduxCatalog("printTemplates", config);
|
|
162
|
+
exports.useGetPrintTemplates = useGetPrintTemplates;
|
|
161
163
|
const useGetAgencies = (config) => useGetReduxCatalog("agencies", config);
|
|
162
164
|
exports.useGetAgencies = useGetAgencies;
|
|
163
165
|
const useGetSuggestedPrices = (config) => useGetReduxCatalog("suggestedPrices", config);
|
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.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.useGetEmployeesByCurrentAgency = exports.useGetEmployeesByLab = 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");
|
|
@@ -158,6 +158,8 @@ const useGetPayees = (config) => useGetReduxCatalog("payees", config);
|
|
|
158
158
|
exports.useGetPayees = useGetPayees;
|
|
159
159
|
const useGetPayeesForLab = (config) => useGetReduxCatalog("payeesForLab", config);
|
|
160
160
|
exports.useGetPayeesForLab = useGetPayeesForLab;
|
|
161
|
+
const useGetPrintTemplates = (config) => useGetReduxCatalog("printTemplates", config);
|
|
162
|
+
exports.useGetPrintTemplates = useGetPrintTemplates;
|
|
161
163
|
const useGetAgencies = (config) => useGetReduxCatalog("agencies", config);
|
|
162
164
|
exports.useGetAgencies = useGetAgencies;
|
|
163
165
|
const useGetSuggestedPrices = (config) => useGetReduxCatalog("suggestedPrices", config);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/hooks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.73",
|
|
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.73",
|
|
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.72",
|
|
33
|
+
"@zauru-sdk/types": "^1.0.72",
|
|
34
34
|
"react": "^18.2.0",
|
|
35
35
|
"react-dom": "^18.2.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "0b0eca8959802772d28b715adc7cf03fede599c8"
|
|
38
38
|
}
|