@eka-care/ekascribe-ts-sdk 1.4.51 → 1.4.53

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.
@@ -5,6 +5,9 @@ async function postTransactionInit({ mode, txn_id, s3Url, input_language, output
5
5
  try {
6
6
  const headers = new Headers();
7
7
  headers.append('Content-Type', 'application/json');
8
+ if (flavour) {
9
+ headers.set('flavour', flavour);
10
+ }
8
11
  const raw = {
9
12
  mode,
10
13
  s3_url: s3Url,
@@ -17,7 +20,6 @@ async function postTransactionInit({ mode, txn_id, s3Url, input_language, output
17
20
  patient_details,
18
21
  model_type,
19
22
  version,
20
- flavour,
21
23
  batch_s3_url,
22
24
  };
23
25
  const options = {
@@ -65,7 +65,7 @@ export type TStartRecordingRequest = {
65
65
  export type Gender = 'M' | 'F' | 'O';
66
66
  export type TPatientDetails = {
67
67
  username: string;
68
- oid: string;
68
+ oid?: string;
69
69
  age: number;
70
70
  biologicalSex: Gender;
71
71
  mobile?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "1.4.51",
3
+ "version": "1.4.53",
4
4
  "main": "dist/index.js",
5
5
  "repository": "git@github.com:eka-care/eka-js-sdk.git",
6
6
  "author": "Sanikagoyal28 <sanikagoyal9@gmail.com>",