@eka-care/ekascribe-ts-sdk 3.0.1 → 3.0.3

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
@@ -993,8 +993,10 @@ export declare type TSessionStatus = {
993
993
 
994
994
  export declare type TStartRecordingForExistingSessionRequest = {
995
995
  txn_id: string;
996
- business_id: string;
997
996
  created_at: number;
997
+ expires_at: string;
998
+ upload_url: string;
999
+ business_id?: string;
998
1000
  microphoneID?: string;
999
1001
  };
1000
1002
 
package/dist/index.mjs CHANGED
@@ -5485,8 +5485,8 @@ class Gc {
5485
5485
  session_id: t.txn_id,
5486
5486
  status: vr.CREATED,
5487
5487
  created_at: new Date(t.created_at * 1e3).toISOString(),
5488
- expires_at: new Date(Date.now() + 1440 * 60 * 1e3).toISOString(),
5489
- upload_url: `${this.hosts.voiceV2}/upload/${t.txn_id}`
5488
+ expires_at: t.expires_at,
5489
+ upload_url: t.upload_url
5490
5490
  }, r = await this.allianceClient.startRecordingWithSession(
5491
5491
  n,
5492
5492
  {
@@ -5497,8 +5497,7 @@ class Gc {
5497
5497
  return r.success ? (this.storedSession = n, this.txnID = t.txn_id, this.tracker.setTransactionId(this.txnID), {
5498
5498
  status_code: g.SUCCESS,
5499
5499
  message: "Recording started for existing session.",
5500
- txn_id: this.txnID,
5501
- business_id: t.business_id
5500
+ txn_id: this.txnID
5502
5501
  }) : {
5503
5502
  error_code: y.MICROPHONE,
5504
5503
  status_code: r.error.httpStatus ?? g.INTERNAL_SERVER_ERROR,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "EkaScribe TypeScript SDK - Modern ES2020 build",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",
@@ -37,7 +37,7 @@
37
37
  "README.md"
38
38
  ],
39
39
  "dependencies": {
40
- "med-scribe-alliance-ts-sdk": "2.0.12"
40
+ "med-scribe-alliance-ts-sdk": "2.0.13"
41
41
  },
42
42
  "devDependencies": {
43
43
  "vite-bundle-analyzer": "^1.3.6"