@eka-care/ekascribe-ts-sdk 2.1.15 → 2.1.16

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.
package/dist/index.d.ts CHANGED
@@ -531,7 +531,7 @@ declare type TPostTransactionResponse = {
531
531
 
532
532
  declare type TPostV1ConvertToTemplateRequest = {
533
533
  txn_id: string;
534
- template_id: string;
534
+ template_id?: string;
535
535
  transcript?: string;
536
536
  target_language?: string;
537
537
  };
package/dist/index.mjs CHANGED
@@ -53914,7 +53914,7 @@ async function postV1ConvertToTemplate({
53914
53914
  ...s && { target_language: s }
53915
53915
  })
53916
53916
  }, c = await fetchWrapper(
53917
- `${GET_EKA_VOICE_HOST_V1()}/transaction/${i}/convert-to-template/${r}`,
53917
+ `${GET_EKA_VOICE_HOST_V1()}/transaction/${i}/convert-to-template/${r || ""}`,
53918
53918
  a,
53919
53919
  6e4
53920
53920
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "2.1.15",
3
+ "version": "2.1.16",
4
4
  "description": "EkaScribe TypeScript SDK - Modern ES2020 build",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",