@zauru-sdk/services 1.0.98 → 1.0.105
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.
|
@@ -37,12 +37,12 @@ async function createMotivoRechazo(headers, session, body) {
|
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
exports.createMotivoRechazo = createMotivoRechazo;
|
|
40
|
-
async function updateMotivosRechazo(headers, session, id,
|
|
40
|
+
async function updateMotivosRechazo(headers, session, id, body) {
|
|
41
41
|
return (0, common_1.handlePossibleAxiosErrors)(async () => {
|
|
42
42
|
const { recepciones_rejection_types_webapp_table_id } = await (0, common_js_1.getVariablesByName)(headers, session, [
|
|
43
43
|
"recepciones_rejection_types_webapp_table_id",
|
|
44
44
|
]);
|
|
45
|
-
const response = await (0, zauru_web_app_tables_js_1.updateWebAppTableRegister)(headers, recepciones_rejection_types_webapp_table_id, id,
|
|
45
|
+
const response = await (0, zauru_web_app_tables_js_1.updateWebAppTableRegister)(headers, recepciones_rejection_types_webapp_table_id, id, body);
|
|
46
46
|
return response;
|
|
47
47
|
});
|
|
48
48
|
}
|
|
@@ -31,12 +31,12 @@ export async function createMotivoRechazo(headers, session, body) {
|
|
|
31
31
|
return response;
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
export async function updateMotivosRechazo(headers, session, id,
|
|
34
|
+
export async function updateMotivosRechazo(headers, session, id, body) {
|
|
35
35
|
return handlePossibleAxiosErrors(async () => {
|
|
36
36
|
const { recepciones_rejection_types_webapp_table_id } = await getVariablesByName(headers, session, [
|
|
37
37
|
"recepciones_rejection_types_webapp_table_id",
|
|
38
38
|
]);
|
|
39
|
-
const response = await updateWebAppTableRegister(headers, recepciones_rejection_types_webapp_table_id, id,
|
|
39
|
+
const response = await updateWebAppTableRegister(headers, recepciones_rejection_types_webapp_table_id, id, body);
|
|
40
40
|
return response;
|
|
41
41
|
});
|
|
42
42
|
}
|
|
@@ -3,7 +3,7 @@ import { AxiosUtilsResponse, MotivoRechazo, RegisterMotivosRechazoBody, WebAppRo
|
|
|
3
3
|
export declare function getMotivosRechazo(headers: any, session: Session): Promise<AxiosUtilsResponse<WebAppRowGraphQL<MotivoRechazo>[]>>;
|
|
4
4
|
export declare function deleteMotivosRechazo(headers: any, session: Session, id: number): Promise<AxiosUtilsResponse<WebAppTableUpdateResponse>>;
|
|
5
5
|
export declare function createMotivoRechazo(headers: any, session: Session, body: MotivoRechazo): Promise<AxiosUtilsResponse<WebAppTableUpdateResponse>>;
|
|
6
|
-
export declare function updateMotivosRechazo(headers: any, session: Session, id: number,
|
|
6
|
+
export declare function updateMotivosRechazo(headers: any, session: Session, id: number, body: MotivoRechazo): Promise<AxiosUtilsResponse<WebAppTableUpdateResponse>>;
|
|
7
7
|
export declare function saveMotivosDeRechazoByPurchase(headers: any, session: Session, body: RegisterMotivosRechazoBody, extraBody: {
|
|
8
8
|
temp_purchase_order_id: string;
|
|
9
9
|
}): Promise<AxiosUtilsResponse<any>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.105",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@remix-run/node": "^2.8.1",
|
|
28
|
-
"@zauru-sdk/common": "^1.0.
|
|
28
|
+
"@zauru-sdk/common": "^1.0.105",
|
|
29
29
|
"@zauru-sdk/config": "^1.0.60",
|
|
30
|
-
"@zauru-sdk/graphql": "^1.0.
|
|
30
|
+
"@zauru-sdk/graphql": "^1.0.105",
|
|
31
31
|
"@zauru-sdk/types": "^1.0.98",
|
|
32
32
|
"axios": "^1.6.7",
|
|
33
33
|
"chalk": "5.3.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "57fb17e6d485c1d661432a1517fe8c4e8d354e78"
|
|
36
36
|
}
|