@up-im/medotvet_sdk 0.0.4 → 0.0.6

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.
@@ -227,7 +227,6 @@ class ApiContent extends abstract_1.ApiAbstract {
227
227
  return this.fetcher({
228
228
  route: (0, apiRoute_1.apiRouteList)({
229
229
  nodeCode: "intro",
230
- select: ["id", "title", "image"],
231
230
  sorters: ["sorter asc"],
232
231
  perPage: 50,
233
232
  })
@@ -7,11 +7,14 @@ export interface iSurvey {
7
7
  id: number;
8
8
  node: number;
9
9
  title: string;
10
+ image: string;
10
11
  partner: number | null;
11
12
  budget: number;
12
13
  budget_min: number;
13
14
  date_start: string | null;
15
+ date_start_original: string | null;
14
16
  date_end: string | null;
17
+ date_end_original: string | null;
15
18
  reward_base: number;
16
19
  reward_max: number;
17
20
  questions: iSurveyQuestion[] | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up-im/medotvet_sdk",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -249,7 +249,6 @@ export class ApiContent extends ApiAbstract {
249
249
  return this.fetcher<iPagingItems<iIntro>>({
250
250
  route: apiRouteList({
251
251
  nodeCode: "intro",
252
- select: ["id", "title", "image"],
253
252
  sorters: ["sorter asc"],
254
253
  perPage: 50,
255
254
  })
@@ -10,11 +10,14 @@ export interface iSurvey {
10
10
  id: number
11
11
  node: number
12
12
  title: string
13
+ image: string
13
14
  partner: number | null
14
15
  budget: number
15
16
  budget_min: number
16
17
  date_start: string | null
18
+ date_start_original: string | null
17
19
  date_end: string | null
20
+ date_end_original: string | null
18
21
  reward_base: number
19
22
  reward_max: number
20
23
  questions: iSurveyQuestion[] | null