@zauru-sdk/services 2.0.198 → 2.0.199
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.
|
@@ -95,6 +95,20 @@ export async function closeCase(headers, id) {
|
|
|
95
95
|
return true;
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* sendCaseEmail
|
|
100
|
+
* @param headers
|
|
101
|
+
* @param id
|
|
102
|
+
* @returns
|
|
103
|
+
*/
|
|
104
|
+
export async function sendCaseEmail(headers, id) {
|
|
105
|
+
return handlePossibleAxiosErrors(async () => {
|
|
106
|
+
await httpZauru.get(`/support/cases/${id}/send_email.json`, {
|
|
107
|
+
headers,
|
|
108
|
+
});
|
|
109
|
+
return true;
|
|
110
|
+
});
|
|
111
|
+
}
|
|
98
112
|
//==============================================
|
|
99
113
|
//======= ENDPOINTS DE POS/CASES
|
|
100
114
|
//==============================================
|
|
@@ -38,6 +38,13 @@ export declare function deleteCase(headers: any, id: string | number): Promise<A
|
|
|
38
38
|
* @returns
|
|
39
39
|
*/
|
|
40
40
|
export declare function closeCase(headers: any, id: string | number): Promise<AxiosUtilsResponse<boolean>>;
|
|
41
|
+
/**
|
|
42
|
+
* sendCaseEmail
|
|
43
|
+
* @param headers
|
|
44
|
+
* @param id
|
|
45
|
+
* @returns
|
|
46
|
+
*/
|
|
47
|
+
export declare function sendCaseEmail(headers: any, id: string | number): Promise<AxiosUtilsResponse<boolean>>;
|
|
41
48
|
/**
|
|
42
49
|
* createPOSCase
|
|
43
50
|
* @param headers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.199",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"axios": "^1.6.7",
|
|
33
33
|
"chalk": "5.3.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "ac9f963d081c81851a7890a0634fac9bbc8ff7d6"
|
|
36
36
|
}
|