whio-api-sdk 1.0.179-beta → 1.0.180-beta
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/src/sdk/sdk.d.ts +4 -0
- package/dist/src/sdk/sdk.js +5 -0
- package/package.json +1 -1
- package/src/sdk/sdk.ts +4 -0
package/dist/src/sdk/sdk.d.ts
CHANGED
|
@@ -89,6 +89,10 @@ export declare class ApiSDK {
|
|
|
89
89
|
updateSession(id: string, sessionData: UpdateSessionDto): Promise<Session>;
|
|
90
90
|
deleteSession(id: string): Promise<void>;
|
|
91
91
|
setPrimaryTranscriptionSummary(sessionId: string, summaryId: string): Promise<Session>;
|
|
92
|
+
rerunTranscription(sessionId: string): Promise<{
|
|
93
|
+
message: string;
|
|
94
|
+
sessionId: string;
|
|
95
|
+
}>;
|
|
92
96
|
createAgent(name: string): Promise<Agent>;
|
|
93
97
|
getAgents(): Promise<Agent[]>;
|
|
94
98
|
getAgent(id: string): Promise<Agent>;
|
package/dist/src/sdk/sdk.js
CHANGED
|
@@ -682,6 +682,11 @@ export class ApiSDK {
|
|
|
682
682
|
return this.request(`${urls.sessions}/${sessionId}/primary-summary/${summaryId}`, 'PATCH');
|
|
683
683
|
});
|
|
684
684
|
}
|
|
685
|
+
rerunTranscription(sessionId) {
|
|
686
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
687
|
+
return this.request(`${urls.sessions}/${sessionId}/rerun-transcription`, 'POST');
|
|
688
|
+
});
|
|
689
|
+
}
|
|
685
690
|
// ======================
|
|
686
691
|
// AGENT METHODS
|
|
687
692
|
// ======================
|
package/package.json
CHANGED
package/src/sdk/sdk.ts
CHANGED
|
@@ -759,6 +759,10 @@ export class ApiSDK {
|
|
|
759
759
|
return this.request<Session>(`${urls.sessions}/${sessionId}/primary-summary/${summaryId}`, 'PATCH');
|
|
760
760
|
}
|
|
761
761
|
|
|
762
|
+
public async rerunTranscription(sessionId: string): Promise<{ message: string; sessionId: string }> {
|
|
763
|
+
return this.request<{ message: string; sessionId: string }>(`${urls.sessions}/${sessionId}/rerun-transcription`, 'POST');
|
|
764
|
+
}
|
|
765
|
+
|
|
762
766
|
// ======================
|
|
763
767
|
// AGENT METHODS
|
|
764
768
|
// ======================
|