@zauru-sdk/redux 2.0.218 → 2.0.221
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.
|
@@ -20,6 +20,8 @@ const initialState = {
|
|
|
20
20
|
bookings: createLoadingState([]),
|
|
21
21
|
motivosRechazo: createLoadingState([]),
|
|
22
22
|
ccPorcentajesDeRechazo: createLoadingState([]),
|
|
23
|
+
solicitudesEliminacionPO: createLoadingState([]),
|
|
24
|
+
poDiscountHistory: createLoadingState([]),
|
|
23
25
|
authorizationUpdateDiscountPO: createLoadingState([]),
|
|
24
26
|
bitacoraRechazoMasivo: createLoadingState([]),
|
|
25
27
|
items: createLoadingState([]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AgencyGraphQL, BitacoraPOMassive, BundleGraphQL, CaseGraphQL, CurrencyGraphQL, EmployeeGraphQL, FormGraphQL, FormSubmissionGraphQL, InvoiceGraphQL, ItemCategoryGraphQL, ItemGraphQL, LotStockGraphQL, MotivoRechazo, CCPorcentajeRechazo, PayeeCategoryGraphQL, PayeeGraphQL, PaymentTermGraphQL, ReceptionType, ShipmentGraphQL, SuggestedPriceGraphQL, Template, TipoMuestra, WebAppRowGraphQL, PrintTemplateGraphQL, PaymentMethodGraphQL, AuthorizationUpdateDiscountPO } from "@zauru-sdk/types";
|
|
2
|
-
export type CATALOGS_NAMES = "agencies" | "suggestedPrices" | "providers" | "providerCategories" | "receptionTypes" | "tiposDeMuestra" | "motivosRechazo" | "ccPorcentajesDeRechazo" | "authorizationUpdateDiscountPO" | "bitacoraRechazoMasivo" | "items" | "itemsByReception" | "itemsByLab" | "itemServicesByLab" | "itemCategoriesForLab" | "payees" | "payeesForLab" | "payeeCategoriesLabPrices" | "payeeCategories" | "clientCategories" | "bundlesRecipForLab" | "currencies" | "paymentTerms" | "employeesByLab" | "employeesByCurrentAgency" | "invoicesByLab" | "invoicesByCurrentAgency" | "invoiceForms" | "caseForms" | "invoiceFormSubmissions" | "cases" | "myCaseFormSubmissions" | "allForms" | "shipmentsToMyAgency" | "myAgencyLotStocks" | "shipments" | "bookings" | "templates" | "bundlesForLab" | "paymentMethods" | "employees" | "printTemplates" | "caseFormSubmissionsByCaseId" | "invoiceFormSubmissionsByInvoiceId" | "invoiceFormSubmissionsByAgencyId";
|
|
1
|
+
import type { AgencyGraphQL, BitacoraPOMassive, BundleGraphQL, CaseGraphQL, CurrencyGraphQL, EmployeeGraphQL, FormGraphQL, FormSubmissionGraphQL, InvoiceGraphQL, ItemCategoryGraphQL, ItemGraphQL, LotStockGraphQL, MotivoRechazo, CCPorcentajeRechazo, SolicitudEliminacionPO, PayeeCategoryGraphQL, PayeeGraphQL, PaymentTermGraphQL, ReceptionType, ShipmentGraphQL, SuggestedPriceGraphQL, Template, TipoMuestra, WebAppRowGraphQL, PrintTemplateGraphQL, PaymentMethodGraphQL, AuthorizationUpdateDiscountPO, PoDiscountHistory } from "@zauru-sdk/types";
|
|
2
|
+
export type CATALOGS_NAMES = "agencies" | "suggestedPrices" | "providers" | "providerCategories" | "receptionTypes" | "tiposDeMuestra" | "motivosRechazo" | "ccPorcentajesDeRechazo" | "solicitudesEliminacionPO" | "poDiscountHistory" | "authorizationUpdateDiscountPO" | "bitacoraRechazoMasivo" | "items" | "itemsByReception" | "itemsByLab" | "itemServicesByLab" | "itemCategoriesForLab" | "payees" | "payeesForLab" | "payeeCategoriesLabPrices" | "payeeCategories" | "clientCategories" | "bundlesRecipForLab" | "currencies" | "paymentTerms" | "employeesByLab" | "employeesByCurrentAgency" | "invoicesByLab" | "invoicesByCurrentAgency" | "invoiceForms" | "caseForms" | "invoiceFormSubmissions" | "cases" | "myCaseFormSubmissions" | "allForms" | "shipmentsToMyAgency" | "myAgencyLotStocks" | "shipments" | "bookings" | "templates" | "bundlesForLab" | "paymentMethods" | "employees" | "printTemplates" | "caseFormSubmissionsByCaseId" | "invoiceFormSubmissionsByInvoiceId" | "invoiceFormSubmissionsByAgencyId";
|
|
3
3
|
type LoadingState<T> = {
|
|
4
4
|
data: T;
|
|
5
5
|
loading: boolean;
|
|
@@ -22,6 +22,8 @@ type CatalogState = {
|
|
|
22
22
|
bookings: LoadingState<ShipmentGraphQL[]>;
|
|
23
23
|
motivosRechazo: LoadingState<WebAppRowGraphQL<MotivoRechazo>[]>;
|
|
24
24
|
ccPorcentajesDeRechazo: LoadingState<WebAppRowGraphQL<CCPorcentajeRechazo>[]>;
|
|
25
|
+
solicitudesEliminacionPO: LoadingState<WebAppRowGraphQL<SolicitudEliminacionPO>[]>;
|
|
26
|
+
poDiscountHistory: LoadingState<WebAppRowGraphQL<PoDiscountHistory>[]>;
|
|
25
27
|
authorizationUpdateDiscountPO: LoadingState<WebAppRowGraphQL<AuthorizationUpdateDiscountPO>[]>;
|
|
26
28
|
bitacoraRechazoMasivo: LoadingState<WebAppRowGraphQL<BitacoraPOMassive>[]>;
|
|
27
29
|
items: LoadingState<ItemGraphQL[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/redux",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.221",
|
|
4
4
|
"description": "Estructura de Redux propuesta para el desarrollo de webapps en Zauru.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@reduxjs/toolkit": "^2.2.1",
|
|
28
|
-
"@zauru-sdk/types": "^2.0.
|
|
28
|
+
"@zauru-sdk/types": "^2.0.221",
|
|
29
29
|
"react": "^18.2.0",
|
|
30
30
|
"react-dom": "^18.2.0",
|
|
31
31
|
"react-redux": "^9.1.0",
|
|
32
32
|
"react-select": "^5.8.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "42b1656295669218c46e5082d76d608acc7231e3"
|
|
35
35
|
}
|