@zauru-sdk/utils 2.0.219 → 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.
@@ -26,7 +26,7 @@ export const getBitacorasPOMassive = (headers, session) => {
26
26
  const { bitacora_ediciones_masivas_web_app_table_id } = await getVariablesByName(headers, session, [
27
27
  "bitacora_ediciones_masivas_web_app_table_id",
28
28
  ]);
29
- const response = await getWebAppTableRegisters(session, bitacora_ediciones_masivas_web_app_table_id);
29
+ const response = await getWebAppTableRegisters(session, bitacora_ediciones_masivas_web_app_table_id, 1000);
30
30
  if (response.error || !response.data) {
31
31
  throw new Error(response.userMsg);
32
32
  }
@@ -9,7 +9,7 @@ import { createWebAppTableRegister, getVariablesByName, getWebAppTableRegisters,
9
9
  export const getDischargeHistories = (headers, session) => {
10
10
  return handlePossibleAxiosErrors(async () => {
11
11
  const { discharge_history_web_app_table_id } = await getVariablesByName(headers, session, ["discharge_history_web_app_table_id"]);
12
- const response = await getWebAppTableRegisters(session, discharge_history_web_app_table_id);
12
+ const response = await getWebAppTableRegisters(session, discharge_history_web_app_table_id, 1000);
13
13
  if (response.error) {
14
14
  throw new Error(`Ocurrió un error al consultar el historial de discharges: ${response.userMsg}`);
15
15
  }
@@ -4,10 +4,10 @@ export const formatearMotivoDeRechazo = (entity) => {
4
4
  return { id: entity.id, name: entity.data.Nombre };
5
5
  };
6
6
  /**
7
- * Post saveBitacoraPOMassive from the web app table.
7
+ * Post saveRechazoCanastas from the web app table.
8
8
  * @param headers Request headers.
9
9
  * @param session Session object.
10
- * @returns A Promise of AxiosUtilsResponse<WebAppRowGraphQL<BitacoraPOMassive>[]>.
10
+ * @returns A Promise of AxiosUtilsResponse<WebAppRowGraphQL<WebAppTableUpdateResponse>[]>.
11
11
  */
12
12
  export const saveRechazoCanastas = (headers, session, body) => {
13
13
  return handlePossibleAxiosErrors(async () => {
@@ -2,9 +2,9 @@ import { Session } from "@remix-run/node";
2
2
  import { AxiosUtilsResponse, BasicIdNameSchema, MotivoRechazo, WebAppRowGraphQL, WebAppTableUpdateResponse } from "@zauru-sdk/types";
3
3
  export declare const formatearMotivoDeRechazo: (entity: WebAppRowGraphQL<MotivoRechazo>) => BasicIdNameSchema;
4
4
  /**
5
- * Post saveBitacoraPOMassive from the web app table.
5
+ * Post saveRechazoCanastas from the web app table.
6
6
  * @param headers Request headers.
7
7
  * @param session Session object.
8
- * @returns A Promise of AxiosUtilsResponse<WebAppRowGraphQL<BitacoraPOMassive>[]>.
8
+ * @returns A Promise of AxiosUtilsResponse<WebAppRowGraphQL<WebAppTableUpdateResponse>[]>.
9
9
  */
10
10
  export declare const saveRechazoCanastas: (headers: any, session: Session, body: any) => Promise<AxiosUtilsResponse<WebAppTableUpdateResponse>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/utils",
3
- "version": "2.0.219",
3
+ "version": "2.0.221",
4
4
  "description": "Utilidades, parseo de request y demás para desarrollo de webapps de Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@remix-run/node": "^2.8.1",
27
- "@zauru-sdk/common": "^2.0.218",
28
- "@zauru-sdk/config": "^2.0.100",
29
- "@zauru-sdk/graphql": "^2.0.216",
30
- "@zauru-sdk/services": "^2.0.219",
31
- "@zauru-sdk/types": "^2.0.218"
27
+ "@zauru-sdk/common": "^2.0.221",
28
+ "@zauru-sdk/config": "^2.0.220",
29
+ "@zauru-sdk/graphql": "^2.0.220",
30
+ "@zauru-sdk/services": "^2.0.221",
31
+ "@zauru-sdk/types": "^2.0.221"
32
32
  },
33
- "gitHead": "c17d4fe2185c5db7a4da797db6fe57b67cce3b29"
33
+ "gitHead": "42b1656295669218c46e5082d76d608acc7231e3"
34
34
  }