@clickcns/vmedic-react 0.0.2 → 0.0.4
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/api/axios/initialize-axios.d.ts +4 -3
- package/dist/api/common/auth.d.ts +9 -0
- package/dist/api/common/capture-rects.d.ts +9 -1
- package/dist/api/common/index.d.ts +1 -0
- package/dist/api/common/institutions.d.ts +10 -0
- package/dist/api/common/notice.d.ts +4 -1
- package/dist/api/common/partners.d.ts +5 -0
- package/dist/api/common/push.d.ts +6 -0
- package/dist/api/common/speechs/speech-records.d.ts +6 -1
- package/dist/api/common/speechs/speech.d.ts +5 -0
- package/dist/api/index.d.ts +1 -1
- package/dist/cjs/api/index.js +6 -6
- package/dist/cjs/api/index.js.map +1 -1
- package/dist/es/api/index.js +768 -681
- package/dist/es/api/index.js.map +1 -1
- package/dist/types/api/auth.d.ts +1 -0
- package/dist/types/api/capture-rects.d.ts +19 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/institution.d.ts +1 -0
- package/dist/types/api/notice.d.ts +10 -0
- package/dist/types/api/partners.d.ts +26 -0
- package/dist/types/api/push.d.ts +14 -0
- package/dist/types/api/records.d.ts +17 -0
- package/dist/types/api/speech.d.ts +4 -0
- package/package.json +1 -1
package/dist/types/api/auth.d.ts
CHANGED
|
@@ -7,4 +7,23 @@ export interface CaptureOnlyRect {
|
|
|
7
7
|
export interface CaptureRect extends CaptureOnlyRect {
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
|
+
createdAt?: string;
|
|
11
|
+
updatedAt?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface CreateCaptureRectRequest {
|
|
14
|
+
name: string;
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
width: number;
|
|
18
|
+
height: number;
|
|
19
|
+
}
|
|
20
|
+
export interface UpdateCaptureRectRequest {
|
|
21
|
+
name?: string;
|
|
22
|
+
x?: number;
|
|
23
|
+
y?: number;
|
|
24
|
+
width?: number;
|
|
25
|
+
height?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface DeleteCaptureRectResponse {
|
|
28
|
+
message: string;
|
|
10
29
|
}
|
|
@@ -27,3 +27,13 @@ export interface NoticeListRequest {
|
|
|
27
27
|
searchText?: string;
|
|
28
28
|
showPublishedOnly?: boolean;
|
|
29
29
|
}
|
|
30
|
+
export interface CreateNoticeRequest {
|
|
31
|
+
title: string;
|
|
32
|
+
content: string;
|
|
33
|
+
published: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface UpdateNoticeRequest {
|
|
36
|
+
title?: string;
|
|
37
|
+
content?: string;
|
|
38
|
+
published?: boolean;
|
|
39
|
+
}
|
|
@@ -14,3 +14,29 @@ export interface PartnerDto {
|
|
|
14
14
|
createdAt: Date;
|
|
15
15
|
updatedAt: Date;
|
|
16
16
|
}
|
|
17
|
+
export interface CreatePartnerRequest {
|
|
18
|
+
representativeName: string;
|
|
19
|
+
businessNumber?: string | null;
|
|
20
|
+
companyName: string;
|
|
21
|
+
businessType?: string | null;
|
|
22
|
+
businessCategory?: string | null;
|
|
23
|
+
postCode?: string | null;
|
|
24
|
+
addressName?: string | null;
|
|
25
|
+
addressDetail?: string | null;
|
|
26
|
+
email?: string | null;
|
|
27
|
+
phoneNumber?: string | null;
|
|
28
|
+
faxNumber?: string | null;
|
|
29
|
+
}
|
|
30
|
+
export interface UpdatePartnerRequest {
|
|
31
|
+
representativeName?: string;
|
|
32
|
+
businessNumber?: string | null;
|
|
33
|
+
companyName?: string;
|
|
34
|
+
businessType?: string | null;
|
|
35
|
+
businessCategory?: string | null;
|
|
36
|
+
postCode?: string | null;
|
|
37
|
+
addressName?: string | null;
|
|
38
|
+
addressDetail?: string | null;
|
|
39
|
+
email?: string | null;
|
|
40
|
+
phoneNumber?: string | null;
|
|
41
|
+
faxNumber?: string | null;
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface SendNotificationRequest {
|
|
2
|
+
title: string;
|
|
3
|
+
body: string;
|
|
4
|
+
tag: string;
|
|
5
|
+
data: {
|
|
6
|
+
url: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export interface PushSubscriptionResponse {
|
|
10
|
+
id: string;
|
|
11
|
+
endpoint: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { UserDto } from './auth';
|
|
1
2
|
import { DiarizationMessage, LlmRoom, MedicalSummaryResponse } from './llm';
|
|
2
3
|
import { AudioFile, Patient } from './speech';
|
|
3
4
|
export interface RecordsResponse {
|
|
@@ -8,6 +9,7 @@ export interface RecordsResponse {
|
|
|
8
9
|
userId: string;
|
|
9
10
|
ykiho: string | null;
|
|
10
11
|
patient: Patient;
|
|
12
|
+
user?: UserDto;
|
|
11
13
|
llmRooms?: LlmRoom[];
|
|
12
14
|
audioFiles?: AudioFile[];
|
|
13
15
|
recordData?: Partial<RecordData> | null;
|
|
@@ -30,3 +32,18 @@ export interface RecordsWithPageResponse {
|
|
|
30
32
|
totalPages: number;
|
|
31
33
|
currentPage: number;
|
|
32
34
|
}
|
|
35
|
+
export interface GetRecordsByDatesRequest {
|
|
36
|
+
startDate: string;
|
|
37
|
+
endDate: string;
|
|
38
|
+
page: number;
|
|
39
|
+
searchText?: string;
|
|
40
|
+
ykiho?: string;
|
|
41
|
+
username?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface GetRecordsByDatesResponse {
|
|
44
|
+
totalCount: number;
|
|
45
|
+
audioFileCount: number;
|
|
46
|
+
avgDurationSeconds: number;
|
|
47
|
+
totalDurationSeconds: number;
|
|
48
|
+
records: RecordsResponse[];
|
|
49
|
+
}
|