@snabcentr/client-core 3.21.3 → 3.21.4

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": "@snabcentr/client-core",
3
- "version": "3.21.3",
3
+ "version": "3.21.4",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-core-lib",
6
6
  "license": "Commercial",
package/release_notes.tmp CHANGED
@@ -1,4 +1,4 @@
1
- ## 3.21.3 (2026-10-05)
1
+ ## 3.21.4 (2026-10-09)
2
2
 
3
3
  No changes.
4
4
 
@@ -1,3 +1,4 @@
1
+ import { ScSuggestionAddressQuality } from '../enums/sc-suggestion-address-quality';
1
2
  /**
2
3
  * Данные о подсказке по адресу.
3
4
  */
@@ -95,4 +96,8 @@ export interface ScISuggestionAddress {
95
96
  */
96
97
  long: number;
97
98
  };
99
+ /**
100
+ * Качество (полнота) адреса.
101
+ */
102
+ quality?: ScSuggestionAddressQuality;
98
103
  }
@@ -1,4 +1,5 @@
1
1
  import { ScIOpf } from '../../contragent';
2
+ import { ScSuggestionAddressQuality } from '../enums/sc-suggestion-address-quality';
2
3
  /**
3
4
  * Данные о подсказке по организации.
4
5
  */
@@ -35,16 +36,28 @@ export interface ScISuggestionOrganization {
35
36
  * Юридический адрес.
36
37
  */
37
38
  legalAddress?: string;
39
+ /**
40
+ * Качество (полнота) юридического адреса.
41
+ */
42
+ legalAddressQuality?: ScSuggestionAddressQuality;
38
43
  /**
39
44
  * Почтовый адрес.
40
45
  */
41
46
  postalAddress?: string;
47
+ /**
48
+ * Качество (полнота) почтового адреса.
49
+ */
50
+ postalAddressQuality?: ScSuggestionAddressQuality;
42
51
  /**
43
52
  * Фактический адрес.
44
53
  */
45
54
  actualAddress?: string;
46
55
  /**
47
- * Юридический адрес.
56
+ * Качество (полнота) фактического адреса.
57
+ */
58
+ actualAddressQuality?: ScSuggestionAddressQuality;
59
+ /**
60
+ * Необработанные данные об организации, полученные от сервиса подсказок.
48
61
  */
49
62
  rawData?: Record<string, any>;
50
63
  }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Перечисление значений качества (полноты) адреса в подсказках.
3
+ */
4
+ export declare enum ScSuggestionAddressQuality {
5
+ /**
6
+ * Не удалось определить полноту адреса.
7
+ */
8
+ undetermined = 0,
9
+ /**
10
+ * Полный адрес.
11
+ */
12
+ complete = 1,
13
+ /**
14
+ * Неполный адрес (уровень детализации в ФИАС ниже порогового).
15
+ */
16
+ incomplete = 2
17
+ }
@@ -1,3 +1,4 @@
1
1
  export * from './dto';
2
2
  export * from './enums/sc-i-suggestion-type';
3
+ export * from './enums/sc-suggestion-address-quality';
3
4
  export * from './services/sc-suggestion.service';