@zauru-sdk/services 2.0.200 → 2.0.202
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.
|
@@ -432,3 +432,15 @@ export async function deleteFormSubmission(headers, id) {
|
|
|
432
432
|
return true;
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
* sendFormSubmissionEmail
|
|
437
|
+
* @param headers
|
|
438
|
+
* @param id
|
|
439
|
+
* @param body
|
|
440
|
+
*/
|
|
441
|
+
export async function sendFormSubmissionEmail(headers, id, body) {
|
|
442
|
+
return handlePossibleAxiosErrors(async () => {
|
|
443
|
+
await httpZauru.post(`/settings/forms/form_submissions/${id}/send_email.json`, body, { headers });
|
|
444
|
+
return true;
|
|
445
|
+
});
|
|
446
|
+
}
|
|
@@ -108,3 +108,15 @@ export declare function updateSubmissionInvoiceFormSubmission(headers: any, body
|
|
|
108
108
|
* @param body
|
|
109
109
|
*/
|
|
110
110
|
export declare function deleteFormSubmission(headers: any, id: string | number): Promise<AxiosUtilsResponse<boolean>>;
|
|
111
|
+
/**
|
|
112
|
+
* sendFormSubmissionEmail
|
|
113
|
+
* @param headers
|
|
114
|
+
* @param id
|
|
115
|
+
* @param body
|
|
116
|
+
*/
|
|
117
|
+
export declare function sendFormSubmissionEmail(headers: any, id: string | number, body: {
|
|
118
|
+
recipient_email: string;
|
|
119
|
+
recipient_name: string;
|
|
120
|
+
email_subject: string;
|
|
121
|
+
email_body: string;
|
|
122
|
+
}): Promise<AxiosUtilsResponse<boolean>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.202",
|
|
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": "02024107088737551a72e04666cfd3d297547c95"
|
|
36
36
|
}
|