@dynamic-labs/sdk-api 0.17.0 → 0.18.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -17,12 +17,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
17
17
  */
18
18
  /**
19
19
  * Absolute paths compare against the response; bare names compare against the
20
- * bound element of the enclosing `exists`. Categories lowercase both sides
21
- * before matching, which is how the vendor returns them. `risk` and
22
- * `ruleTriggered.risk` are the ordered scale Low, Medium, High, Severe, and a
23
- * vendor value off that scale evaluates to unknown rather than to a neighbour.
20
+ * bound element of the enclosing `exists` `category` under
21
+ * `addressIdentifications`, `exposures` or `triggers`; `exposureType`,
22
+ * `direction` and `value` under `exposures`; `percentage` and the
23
+ * `ruleTriggered` fields under `triggers`. Core fields work here too, and are
24
+ * the only ones a pre-screen rule may use. String fields lowercase both sides
25
+ * before comparing, except `exposureType`, whose vocabulary is closed.
24
26
  * `cluster` and `ruleTriggered` are nullable, so a field beneath either is
25
- * unknown when the parent is absent.
27
+ * unknown.
26
28
  * @export
27
29
  * @enum {string}
28
30
  */
@@ -11,12 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Absolute paths compare against the response; bare names compare against the
14
- * bound element of the enclosing `exists`. Categories lowercase both sides
15
- * before matching, which is how the vendor returns them. `risk` and
16
- * `ruleTriggered.risk` are the ordered scale Low, Medium, High, Severe, and a
17
- * vendor value off that scale evaluates to unknown rather than to a neighbour.
14
+ * bound element of the enclosing `exists` `category` under
15
+ * `addressIdentifications`, `exposures` or `triggers`; `exposureType`,
16
+ * `direction` and `value` under `exposures`; `percentage` and the
17
+ * `ruleTriggered` fields under `triggers`. Core fields work here too, and are
18
+ * the only ones a pre-screen rule may use. String fields lowercase both sides
19
+ * before comparing, except `exposureType`, whose vocabulary is closed.
18
20
  * `cluster` and `ruleTriggered` are nullable, so a field beneath either is
19
- * unknown when the parent is absent.
21
+ * unknown.
20
22
  * @export
21
23
  * @enum {string}
22
24
  */
@@ -13,12 +13,14 @@
13
13
  */
14
14
  /**
15
15
  * Absolute paths compare against the response; bare names compare against the
16
- * bound element of the enclosing `exists`. Categories lowercase both sides
17
- * before matching, which is how the vendor returns them. `risk` and
18
- * `ruleTriggered.risk` are the ordered scale Low, Medium, High, Severe, and a
19
- * vendor value off that scale evaluates to unknown rather than to a neighbour.
16
+ * bound element of the enclosing `exists` `category` under
17
+ * `addressIdentifications`, `exposures` or `triggers`; `exposureType`,
18
+ * `direction` and `value` under `exposures`; `percentage` and the
19
+ * `ruleTriggered` fields under `triggers`. Core fields work here too, and are
20
+ * the only ones a pre-screen rule may use. String fields lowercase both sides
21
+ * before comparing, except `exposureType`, whose vocabulary is closed.
20
22
  * `cluster` and `ruleTriggered` are nullable, so a field beneath either is
21
- * unknown when the parent is absent.
23
+ * unknown.
22
24
  * @export
23
25
  * @enum {string}
24
26
  */
@@ -16,9 +16,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
16
16
  * Do not edit the class manually.
17
17
  */
18
18
  /**
19
- * Fields available regardless of vendor. `tx.amountUsd` is populated only where
20
- * an amount in established USD exists, so a rule using it sits out (unknown) on
21
- * the signing path rather than firing.
19
+ * Fields needing no vendor response, so they work in both phases, and the only
20
+ * fields a pre-screen rule may use. `tx.amountUsd` and `tx.asset` are present
21
+ * only where the request establishes them; neither is available on the signing
22
+ * path. `address` compares case-sensitively, since base58 chains are
23
+ * case-significant. An absent field compares unknown, so the rule sits out.
22
24
  * @export
23
25
  * @enum {string}
24
26
  */
@@ -10,9 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Fields available regardless of vendor. `tx.amountUsd` is populated only where
14
- * an amount in established USD exists, so a rule using it sits out (unknown) on
15
- * the signing path rather than firing.
13
+ * Fields needing no vendor response, so they work in both phases, and the only
14
+ * fields a pre-screen rule may use. `tx.amountUsd` and `tx.asset` are present
15
+ * only where the request establishes them; neither is available on the signing
16
+ * path. `address` compares case-sensitively, since base58 chains are
17
+ * case-significant. An absent field compares unknown, so the rule sits out.
16
18
  * @export
17
19
  * @enum {string}
18
20
  */
@@ -12,9 +12,11 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Fields available regardless of vendor. `tx.amountUsd` is populated only where
16
- * an amount in established USD exists, so a rule using it sits out (unknown) on
17
- * the signing path rather than firing.
15
+ * Fields needing no vendor response, so they work in both phases, and the only
16
+ * fields a pre-screen rule may use. `tx.amountUsd` and `tx.asset` are present
17
+ * only where the request establishes them; neither is available on the signing
18
+ * path. `address` compares case-sensitively, since base58 chains are
19
+ * case-significant. An absent field compares unknown, so the rule sits out.
18
20
  * @export
19
21
  * @enum {string}
20
22
  */
@@ -17,12 +17,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
17
17
  */
18
18
  /**
19
19
  * Absolute paths compare against the response; bare names compare against the
20
- * bound element of the enclosing `exists`. Category strings match
21
- * case-sensitively: TRM returns them TitleCase and `Sanctions` stops matching
22
- * if folded. The indicator score is `categoryRiskScoreLevel`, the wire name;
23
- * TRM has no `severity` field at any level, and `riskScoreLevel` belongs to an
24
- * entity, which means something different. Scores compare numerically against
25
- * the values TRM emits (1, 5, 10, 15); labels are display-only.
20
+ * bound element of the enclosing `exists` `category`, `riskType` and
21
+ * `categoryRiskScoreLevel` under `trm.addressRiskIndicators`; `category`,
22
+ * `isVasp` and `riskScoreLevel` under `trm.entities`. Core fields work here
23
+ * too, and are the only ones a pre-screen rule may use. Category strings match
24
+ * case-sensitively; TRM returns them TitleCase.
26
25
  * @export
27
26
  * @enum {string}
28
27
  */
@@ -11,12 +11,11 @@
11
11
  */
12
12
  /**
13
13
  * Absolute paths compare against the response; bare names compare against the
14
- * bound element of the enclosing `exists`. Category strings match
15
- * case-sensitively: TRM returns them TitleCase and `Sanctions` stops matching
16
- * if folded. The indicator score is `categoryRiskScoreLevel`, the wire name;
17
- * TRM has no `severity` field at any level, and `riskScoreLevel` belongs to an
18
- * entity, which means something different. Scores compare numerically against
19
- * the values TRM emits (1, 5, 10, 15); labels are display-only.
14
+ * bound element of the enclosing `exists` `category`, `riskType` and
15
+ * `categoryRiskScoreLevel` under `trm.addressRiskIndicators`; `category`,
16
+ * `isVasp` and `riskScoreLevel` under `trm.entities`. Core fields work here
17
+ * too, and are the only ones a pre-screen rule may use. Category strings match
18
+ * case-sensitively; TRM returns them TitleCase.
20
19
  * @export
21
20
  * @enum {string}
22
21
  */
@@ -13,12 +13,11 @@
13
13
  */
14
14
  /**
15
15
  * Absolute paths compare against the response; bare names compare against the
16
- * bound element of the enclosing `exists`. Category strings match
17
- * case-sensitively: TRM returns them TitleCase and `Sanctions` stops matching
18
- * if folded. The indicator score is `categoryRiskScoreLevel`, the wire name;
19
- * TRM has no `severity` field at any level, and `riskScoreLevel` belongs to an
20
- * entity, which means something different. Scores compare numerically against
21
- * the values TRM emits (1, 5, 10, 15); labels are display-only.
16
+ * bound element of the enclosing `exists` `category`, `riskType` and
17
+ * `categoryRiskScoreLevel` under `trm.addressRiskIndicators`; `category`,
18
+ * `isVasp` and `riskScoreLevel` under `trm.entities`. Core fields work here
19
+ * too, and are the only ones a pre-screen rule may use. Category strings match
20
+ * case-sensitively; TRM returns them TitleCase.
22
21
  * @export
23
22
  * @enum {string}
24
23
  */