whio-api-sdk 1.0.221-beta-staging → 1.0.223-beta-staging

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.
@@ -91,6 +91,7 @@ export class BaseClient {
91
91
  const defaultHeaders = {
92
92
  'ngrok-skip-browser-warning': 'true'
93
93
  };
94
+ yield this.getToken();
94
95
  if (this.accessToken) {
95
96
  defaultHeaders['Authorization'] = `Bearer ${this.accessToken}`;
96
97
  }
@@ -1,5 +1,6 @@
1
1
  import { User } from './user.types';
2
2
  import { AgentOrganization } from './agent.types';
3
+ import { ExternalIntegration } from './external-integration.types';
3
4
  export interface OrganizationRole {
4
5
  id: string;
5
6
  name: string;
@@ -27,6 +28,7 @@ export interface Organization {
27
28
  users?: User[];
28
29
  roles?: OrganizationRole[];
29
30
  agents?: AgentOrganization[];
31
+ externalIntegration?: ExternalIntegration;
30
32
  }
31
33
  export interface CreateOrganizationDto {
32
34
  name: string;
@@ -13,6 +13,7 @@ export interface Session {
13
13
  templateName?: string;
14
14
  summary?: string;
15
15
  sessionName?: string;
16
+ patientName?: string;
16
17
  summaryStatus: SummaryStatus;
17
18
  audioStreamStatus: AudioStreamStatus;
18
19
  createdAt: string;
@@ -40,6 +41,7 @@ export interface CreateSessionDto {
40
41
  templateName?: string;
41
42
  summary?: string;
42
43
  sessionName?: string;
44
+ patientName?: string;
43
45
  audioStreamStatus?: AudioStreamStatus;
44
46
  primaryTranscriptionSummaryId?: string;
45
47
  }
@@ -54,6 +56,7 @@ export interface UpdateSessionDto {
54
56
  templateName?: string;
55
57
  summary?: string;
56
58
  sessionName?: string;
59
+ patientName?: string;
57
60
  summaryStatus?: SummaryStatus;
58
61
  audioStreamStatus?: AudioStreamStatus;
59
62
  primaryTranscriptionSummaryId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whio-api-sdk",
3
- "version": "1.0.221-beta-staging",
3
+ "version": "1.0.223-beta-staging",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -100,6 +100,8 @@ export class BaseClient {
100
100
  'ngrok-skip-browser-warning': 'true'
101
101
  };
102
102
 
103
+ await this.getToken();
104
+
103
105
  if (this.accessToken) {
104
106
  defaultHeaders['Authorization'] = `Bearer ${this.accessToken}`;
105
107
  }
@@ -1,5 +1,6 @@
1
1
  import { User } from './user.types';
2
2
  import { AgentOrganization } from './agent.types';
3
+ import { ExternalIntegration } from './external-integration.types';
3
4
 
4
5
  // Organization Role type
5
6
  export interface OrganizationRole {
@@ -35,6 +36,7 @@ export interface Organization {
35
36
  users?: User[];
36
37
  roles?: OrganizationRole[];
37
38
  agents?: AgentOrganization[];
39
+ externalIntegration?: ExternalIntegration;
38
40
  }
39
41
 
40
42
  // Organization DTOs
@@ -15,6 +15,7 @@ export interface Session {
15
15
  templateName?: string;
16
16
  summary?: string;
17
17
  sessionName?: string;
18
+ patientName?: string;
18
19
  summaryStatus: SummaryStatus;
19
20
  audioStreamStatus: AudioStreamStatus;
20
21
  createdAt: string;
@@ -48,6 +49,7 @@ export interface CreateSessionDto {
48
49
  templateName?: string;
49
50
  summary?: string;
50
51
  sessionName?: string;
52
+ patientName?: string;
51
53
  audioStreamStatus?: AudioStreamStatus;
52
54
  primaryTranscriptionSummaryId?: string;
53
55
  }
@@ -63,6 +65,7 @@ export interface UpdateSessionDto {
63
65
  templateName?: string;
64
66
  summary?: string;
65
67
  sessionName?: string;
68
+ patientName?: string;
66
69
  summaryStatus?: SummaryStatus;
67
70
  audioStreamStatus?: AudioStreamStatus;
68
71
  primaryTranscriptionSummaryId?: string;