@v3finance/core-sdk 0.14.0 → 0.14.1

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.14.0";
2
+ export declare const SDK_VERSION = "0.14.1";
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.14.0';
5
+ exports.SDK_VERSION = '0.14.1';
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: 4b9e3ca9542cba7949fc7c43acfec18edd099e4db4524f85c0bd804ae4428e52
12
+ // Spec sha256: 991c8ad810a7f9775ac01deb3d3323af879c3293b69553bd126c51d9dae8d979
13
13
  export const OPERATIONS = {
14
14
  "DELETE /api/v1/me/push-tokens/{token}": {
15
15
  "method": "delete",
@@ -852,6 +852,10 @@ export interface ApprovalRequestStep {
852
852
  satisfied: boolean;
853
853
  resolvedResultId: string | null;
854
854
  appliedAt: string | null;
855
+ /** Чьё это требование: имя политики или AML-правила. null — шаг без требования подписи */
856
+ policyName: string | null;
857
+ /** Чем вызвано требование: "policy" | "limit:<REASON>" | "aml:<код>@vN" — подпись AML-офицера. Подпись офицера узнают по префиксу `aml:` здесь, а у заявки без шагов — по `decisionTrigger` */
858
+ trigger: string | null;
855
859
  }
856
860
  export interface RequestRisk {
857
861
  role: "recipient" | "sender" | "counterparty";