@v3finance/core-sdk 0.18.0 → 0.19.0

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.
@@ -1,5 +1,5 @@
1
1
  /** SDK version, sent in the `user-agent` header. */
2
- export declare const SDK_VERSION = "0.18.0";
2
+ export declare const SDK_VERSION = "0.19.0";
3
3
  /** Default API base URL. */
4
4
  export declare const DEFAULT_BASE_URL = "https://policy-engine-rest.ezig.workers.dev";
5
5
  //# sourceMappingURL=version.d.ts.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DEFAULT_BASE_URL = exports.SDK_VERSION = void 0;
4
4
  /** SDK version, sent in the `user-agent` header. */
5
- exports.SDK_VERSION = '0.18.0';
5
+ exports.SDK_VERSION = '0.19.0';
6
6
  /** Default API base URL. */
7
7
  exports.DEFAULT_BASE_URL = 'https://policy-engine-rest.ezig.workers.dev';
8
8
  //# sourceMappingURL=version.js.map
@@ -9,7 +9,7 @@
9
9
  // the API does not slip in unclassified.
10
10
  //
11
11
  // Operations: 250 · admin: 45 · both: 1 · member: 201 · service: 3
12
- // Spec sha256: 77c90e632f1cf54d1f9fa1b02f83216027323681224e1b7da38622b00507f7cd
12
+ // Spec sha256: b0e5bdc460d93fa1d92892c5f5b222ebc1796f8a5be123584beac276b89d9544
13
13
  export const OPERATIONS = {
14
14
  "DELETE /api/v1/me/push-tokens/{token}": {
15
15
  "method": "delete",
@@ -6158,8 +6158,8 @@ export interface AddAmlStopListBody {
6158
6158
  address: string;
6159
6159
  /** По умолчанию — по формату адреса */
6160
6160
  network?: "tron" | "ethereum";
6161
- /** length: 0..500 */
6162
- reason?: string;
6161
+ /** Нет в теле — у существующей записи прежняя причина остаётся; null — стереть */
6162
+ reason?: string | null;
6163
6163
  }
6164
6164
  export interface AmlCheck {
6165
6165
  /** Запись проверки (неизменяемая). null — запись не сохранилась, ответ провайдера при этом валиден */
@@ -6661,6 +6661,9 @@ export interface AmlStopListEntry {
6661
6661
  status: "active" | "revoked";
6662
6662
  revokedAt: string | null;
6663
6663
  revokedById: string | null;
6664
+ /** Кто вернул снятый адрес повторным добавлением (когда — restoredAt); null — не возвращали. addedById и createdAt — первое добавление, не меняются */
6665
+ restoredById: string | null;
6666
+ restoredAt: string | null;
6664
6667
  /** format: date-time */
6665
6668
  createdAt: string;
6666
6669
  /** format: date-time */
@@ -6719,6 +6722,7 @@ export interface CreateAmlVisibilityGrantBody {
6719
6722
  subjectGroupId?: string;
6720
6723
  role: "links" | "full";
6721
6724
  }
6725
+ /** Меняется только присланное. Без полей правила — ничего не пишется, version та же */
6722
6726
  export interface PatchAmlRuleBody {
6723
6727
  /** length: 1..∞ */
6724
6728
  name?: string;
@@ -6735,6 +6739,12 @@ export interface PatchAmlRuleBody {
6735
6739
  } | null;
6736
6740
  outcome?: "block" | "officer";
6737
6741
  allowInitiatorApproval?: boolean;
6742
+ /**
6743
+ * Версия, которую видел человек; другая — 409 AML_RULE_CONFLICT с details.currentVersion
6744
+ *
6745
+ * range: 1..9007199254740991
6746
+ */
6747
+ expectedVersion?: number;
6738
6748
  }
6739
6749
  export interface UpdateAmlSettingsBody {
6740
6750
  memberDefaultView?: AmlView;