@zauru-sdk/services 2.0.197 → 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.197",
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",
@@ -25,12 +25,12 @@
25
25
  "dependencies": {
26
26
  "@remix-run/node": "^2.8.1",
27
27
  "@upstash/redis": "^1.34.5",
28
- "@zauru-sdk/common": "^2.0.197",
28
+ "@zauru-sdk/common": "^2.0.198",
29
29
  "@zauru-sdk/config": "^2.0.100",
30
30
  "@zauru-sdk/graphql": "^2.0.195",
31
31
  "@zauru-sdk/types": "^2.0.197",
32
32
  "axios": "^1.6.7",
33
33
  "chalk": "5.3.0"
34
34
  },
35
- "gitHead": "7956011aa4bc12fedb326930e16d6a3aebf4cd5f"
35
+ "gitHead": "ac9f963d081c81851a7890a0634fac9bbc8ff7d6"
36
36
  }