@risika/api-response-types-dev 1.345.0 → 1.347.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.
Files changed (2) hide show
  1. package/account/status.ts +56 -30
  2. package/package.json +1 -1
package/account/status.ts CHANGED
@@ -12,10 +12,19 @@ export interface Status {
12
12
  exclude_companies: number;
13
13
  exclude_persons: number;
14
14
  };
15
- credit_ratings: number;
16
- credit_reports: number;
15
+ /**
16
+ * null = included in lookups (2026 packages, ENG2-2458): no allowance of its own
17
+ */
18
+ credit_ratings: number | null;
19
+ /**
20
+ * null = included in lookups (2026 packages, ENG2-2458): no allowance of its own
21
+ */
22
+ credit_reports: number | null;
17
23
  lookups: number;
18
- monitoring_count: number;
24
+ /**
25
+ * null = included in lookups (2026 packages, ENG2-2458): no allowance of its own
26
+ */
27
+ monitoring_count: number | null;
19
28
  monitoring_exports: number;
20
29
  search_exports: number;
21
30
  };
@@ -43,31 +52,36 @@ export interface Status {
43
52
  | "uk"
44
53
  )[];
45
54
  allow_credit: boolean;
46
- allow_credit_policy: (
47
- | "exclude_risika_scores"
48
- | "exclude_company_types"
49
- | "exclude_level_of_auditor_assistances"
50
- | "exclude_industries"
51
- | "exclude_companies"
52
- | "exclude_persons"
53
- | "exclude_vat"
54
- | "bankruptcy_limit"
55
- | "bankruptcy_limit_long"
56
- | "age_limit"
57
- | "negative_equity_limit"
58
- | "prepaid_phone_number"
59
- | "phone_number_registry"
60
- | "distance_to_ceo"
61
- | "auditor_has_id"
62
- | "payment_remarks_count"
63
- | "payment_remarks_creditors"
64
- | "payment_remarks_total_amount"
65
- | "payment_remarks_max_repayment_time"
66
- | "debt"
67
- | "short_term_debt"
68
- | "profit_loss"
69
- | "number_of_employees"
70
- )[];
55
+ /**
56
+ * null = no credit policy (e.g. MANUAL_PACKAGE)
57
+ */
58
+ allow_credit_policy:
59
+ | (
60
+ | "exclude_risika_scores"
61
+ | "exclude_company_types"
62
+ | "exclude_level_of_auditor_assistances"
63
+ | "exclude_industries"
64
+ | "exclude_companies"
65
+ | "exclude_persons"
66
+ | "exclude_vat"
67
+ | "bankruptcy_limit"
68
+ | "bankruptcy_limit_long"
69
+ | "age_limit"
70
+ | "negative_equity_limit"
71
+ | "prepaid_phone_number"
72
+ | "phone_number_registry"
73
+ | "distance_to_ceo"
74
+ | "auditor_has_id"
75
+ | "payment_remarks_count"
76
+ | "payment_remarks_creditors"
77
+ | "payment_remarks_total_amount"
78
+ | "payment_remarks_max_repayment_time"
79
+ | "debt"
80
+ | "short_term_debt"
81
+ | "profit_loss"
82
+ | "number_of_employees"
83
+ )[]
84
+ | null;
71
85
  allow_ean: boolean;
72
86
  allow_financial: boolean;
73
87
  allow_hierarchy: boolean;
@@ -84,7 +98,16 @@ export interface Status {
84
98
  };
85
99
  max_users: number;
86
100
  rights: RestrictionRights;
87
- subscription_plan: "PRO" | "ENTERPRISE" | "TRIAl" | "FREEMIUM" | "TRIAL_V2" | "BASIC" | "STANDARD";
101
+ subscription_plan:
102
+ | "PRO"
103
+ | "ENTERPRISE"
104
+ | "TRIAL"
105
+ | "FREEMIUM"
106
+ | "TRIAL_V2"
107
+ | "MANUAL_PACKAGE"
108
+ | "STRATEGIC_PACKAGE"
109
+ | "BASIC"
110
+ | "STANDARD";
88
111
  }
89
112
  export interface RestrictionCounters {
90
113
  credit_policy: {
@@ -96,7 +119,10 @@ export interface RestrictionCounters {
96
119
  DE?: ExclusionObject;
97
120
  };
98
121
  credit_ratings: number;
99
- credit_reports: number;
122
+ /**
123
+ * null = included in lookups (2026 packages, ENG2-2458): no allowance of its own
124
+ */
125
+ credit_reports: number | null;
100
126
  lookups: number;
101
127
  monitoring_count: number;
102
128
  monitoring_exports: number;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@risika/api-response-types-dev","version":"1.345.0","main":"index.js","license":"MIT","type":"module"}
1
+ {"name":"@risika/api-response-types-dev","version":"1.347.0","main":"index.js","license":"MIT","type":"module"}