@up-im/medotvet_sdk 0.0.15 → 0.0.16
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/content.js
CHANGED
|
@@ -174,7 +174,7 @@ class ApiContent extends abstract_1.ApiAbstract {
|
|
|
174
174
|
route: (0, apiRoute_1.apiRouteList)({
|
|
175
175
|
nodeCode: "workplace_type",
|
|
176
176
|
select: ["id", "title"],
|
|
177
|
-
sorters: ["
|
|
177
|
+
sorters: ["title asc"],
|
|
178
178
|
perPage: 20,
|
|
179
179
|
filters,
|
|
180
180
|
page
|
|
@@ -27,7 +27,10 @@ export interface iUser {
|
|
|
27
27
|
birthdate: string | null;
|
|
28
28
|
workplace_type: number | null;
|
|
29
29
|
workplace_name: string | null;
|
|
30
|
-
diploma_status:
|
|
30
|
+
diploma_status: {
|
|
31
|
+
id: DiplomaStatusValue;
|
|
32
|
+
title: string;
|
|
33
|
+
} | null;
|
|
31
34
|
diploma_files: string[] | null;
|
|
32
35
|
diploma_reject_reason: string | null;
|
|
33
36
|
test_status: number | null;
|
package/package.json
CHANGED
package/src/api/content.ts
CHANGED
package/src/interfaces/iUser.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface iUser {
|
|
|
29
29
|
birthdate: string | null // дата рождения (Medotvet)
|
|
30
30
|
workplace_type: number | null // тип учреждения (ID) (Medotvet)
|
|
31
31
|
workplace_name: string | null // название учреждения (Medotvet)
|
|
32
|
-
diploma_status: DiplomaStatusValue //
|
|
32
|
+
diploma_status: { id: DiplomaStatusValue, title: string } | null // 1-не загружен, 2-на проверке, 3-верифицирован, 4-отклонен (Medotvet)
|
|
33
33
|
diploma_files: string[] | null // массив путей к файлам диплома (Medotvet)
|
|
34
34
|
diploma_reject_reason: string | null // причина отклонения диплома (Medotvet)
|
|
35
35
|
test_status: number | null // 0-не пройден, 1-пройден (Medotvet)
|