@foxford/sdk 5.0.4 → 5.0.5-beta-4a546e2-20260504

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/index.cjs CHANGED
@@ -1532,6 +1532,11 @@ var UserService = class {
1532
1532
  yield this.api.put("/api/user/user_interest", { user_interests: data.map((i) => decamelize(i)) });
1533
1533
  });
1534
1534
  }
1535
+ setAlgoritmikaVisits() {
1536
+ return __async(this, null, function* () {
1537
+ yield this.api.post("/api/algoritmika_visits");
1538
+ });
1539
+ }
1535
1540
  };
1536
1541
 
1537
1542
  // src/utils/merge.ts
package/index.d.cts CHANGED
@@ -732,6 +732,7 @@ declare class UserService {
732
732
  * @param {Partial<UserInterests>} data интересы пользователя
733
733
  */
734
734
  updateMultipleUserInterests(data: Partial<UserInterests>[]): Promise<void>;
735
+ setAlgoritmikaVisits(): Promise<void>;
735
736
  }
736
737
 
737
738
  interface SdkPlugin {
package/index.d.ts CHANGED
@@ -732,6 +732,7 @@ declare class UserService {
732
732
  * @param {Partial<UserInterests>} data интересы пользователя
733
733
  */
734
734
  updateMultipleUserInterests(data: Partial<UserInterests>[]): Promise<void>;
735
+ setAlgoritmikaVisits(): Promise<void>;
735
736
  }
736
737
 
737
738
  interface SdkPlugin {
package/index.js CHANGED
@@ -1480,6 +1480,11 @@ var UserService = class {
1480
1480
  yield this.api.put("/api/user/user_interest", { user_interests: data.map((i) => decamelize(i)) });
1481
1481
  });
1482
1482
  }
1483
+ setAlgoritmikaVisits() {
1484
+ return __async(this, null, function* () {
1485
+ yield this.api.post("/api/algoritmika_visits");
1486
+ });
1487
+ }
1483
1488
  };
1484
1489
 
1485
1490
  // src/utils/merge.ts
package/index.js.flow CHANGED
@@ -925,6 +925,7 @@ result: LoginOrRegistrationResponse,...
925
925
  updateMultipleUserInterests(
926
926
  data: $Rest<UserInterests, { ... }>[]
927
927
  ): Promise<void>;
928
+ setAlgoritmikaVisits(): Promise<void>;
928
929
  }
929
930
  declare interface SdkPlugin {
930
931
  apply(sdk: Foxford): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxford/sdk",
3
- "version": "5.0.4",
3
+ "version": "5.0.5-beta-4a546e2-20260504",
4
4
  "description": "Foxford sdk for external projects",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -25,8 +25,8 @@
25
25
  "decamelize-keys-deep": "^0.1.1",
26
26
  "js-levenshtein": "^1.1.6",
27
27
  "lodash": "^4.18.1",
28
- "@foxford/services": "1.5.1",
29
- "@foxford/types": "1.2.0"
28
+ "@foxford/types": "1.2.0",
29
+ "@foxford/services": "1.5.5"
30
30
  },
31
31
  "main": "./index.cjs",
32
32
  "module": "./index.js",
@@ -60,6 +60,6 @@
60
60
  "package.json",
61
61
  "plugins"
62
62
  ],
63
- "sha": "9fe9f72",
63
+ "sha": "4a546e2",
64
64
  "scripts": {}
65
65
  }
@@ -1,4 +1,4 @@
1
- import { S as SdkPlugin } from './types-CFv3gSlt.cjs';
1
+ import { S as SdkPlugin } from './types-CECfOtrj.cjs';
2
2
  import '@foxford/services';
3
3
  import '@foxford/types';
4
4
 
@@ -1,4 +1,4 @@
1
- import { S as SdkPlugin } from './types-CFv3gSlt.cjs';
1
+ import { S as SdkPlugin } from './types-CECfOtrj.cjs';
2
2
  import '@foxford/services';
3
3
  import '@foxford/types';
4
4