@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.
@@ -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: ["sorter asc", "title asc"],
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: DiplomaStatusValue;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up-im/medotvet_sdk",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -193,7 +193,7 @@ export class ApiContent extends ApiAbstract {
193
193
  route: apiRouteList({
194
194
  nodeCode: "workplace_type",
195
195
  select: ["id", "title"],
196
- sorters: ["sorter asc", "title asc"],
196
+ sorters: ["title asc"],
197
197
  perPage: 20,
198
198
  filters,
199
199
  page
@@ -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 // 0-не загружен, 1-на проверке, 2-подтвержден, 3-отклонен (Medotvet)
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)