@up-im/medotvet_sdk 0.0.9 → 0.0.10
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/README.md +9 -1
- package/dist/interfaces/iUser.d.ts +2 -1
- package/package.json +1 -1
- package/src/interfaces/iUser.ts +2 -1
package/README.md
CHANGED
|
@@ -168,7 +168,7 @@ interface iUser {
|
|
|
168
168
|
middlename: string
|
|
169
169
|
photo: string
|
|
170
170
|
city: iCity | null
|
|
171
|
-
specialization:
|
|
171
|
+
specialization: iSpecialization[] | null // специализации врача
|
|
172
172
|
birthdate: string | null
|
|
173
173
|
workplace_type: number | null // тип учреждения (ID)
|
|
174
174
|
workplace_name: string | null // название учреждения
|
|
@@ -361,4 +361,12 @@ interface iEnv {
|
|
|
361
361
|
root_catalog_id: number
|
|
362
362
|
payout_min_price: number
|
|
363
363
|
}
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
### iSpecialization
|
|
367
|
+
```ts
|
|
368
|
+
interface iSpecialization {
|
|
369
|
+
id: number
|
|
370
|
+
title: string
|
|
371
|
+
}
|
|
364
372
|
```
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DiplomaStatusValue } from "./diplomaStatus";
|
|
2
2
|
import { iCity } from "./iCity";
|
|
3
|
+
import { iSpecialization } from "./iSpecialization";
|
|
3
4
|
import { iUserData } from "./iUserData";
|
|
4
5
|
import { UserRole, UserRoleKeys } from "./userRole";
|
|
5
6
|
export interface iUser {
|
|
@@ -22,7 +23,7 @@ export interface iUser {
|
|
|
22
23
|
soc_vk_id: number | null;
|
|
23
24
|
soc_vk_username: string;
|
|
24
25
|
city: iCity | null;
|
|
25
|
-
specialization:
|
|
26
|
+
specialization: iSpecialization[] | null;
|
|
26
27
|
birthdate: string | null;
|
|
27
28
|
workplace_type: number | null;
|
|
28
29
|
workplace_name: string | null;
|
package/package.json
CHANGED
package/src/interfaces/iUser.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DiplomaStatusValue } from "./diplomaStatus"
|
|
2
2
|
import { iCity } from "./iCity"
|
|
3
|
+
import { iSpecialization } from "./iSpecialization"
|
|
3
4
|
import { iUserData } from "./iUserData"
|
|
4
5
|
import { UserRole, UserRoleKeys } from "./userRole"
|
|
5
6
|
|
|
@@ -24,7 +25,7 @@ export interface iUser {
|
|
|
24
25
|
soc_vk_username: string
|
|
25
26
|
|
|
26
27
|
city: iCity | null
|
|
27
|
-
specialization:
|
|
28
|
+
specialization: iSpecialization[] | null // специализации врача (Medotvet)
|
|
28
29
|
birthdate: string | null // дата рождения (Medotvet)
|
|
29
30
|
workplace_type: number | null // тип учреждения (ID) (Medotvet)
|
|
30
31
|
workplace_name: string | null // название учреждения (Medotvet)
|