@fragus/sam-types 1.1.2 → 1.1.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,5 +1,5 @@
1
1
  {
2
- "version": "1.1.2",
2
+ "version": "1.1.4",
3
3
  "name": "@fragus/sam-types",
4
4
  "description": "Typescript interfaces for all types used to communicate between SAM client(s) and the SAM API",
5
5
  "author": "Fragus",
@@ -55,4 +55,6 @@ export interface IContractCountersResponse {
55
55
  expiring: number
56
56
  /** Number of Expired/Terminated contracts ready for settlement (action > 30 days ago) */
57
57
  forSettlement: number
58
+ /** Number of Suspended contracts past their end date — surfaced as a badge on the "Payment Failed" filter */
59
+ suspendedExpired: number
58
60
  }
@@ -1,4 +1,4 @@
1
- import { AggregateType, DbType, TContractObject, TTranslationApplication } from '../index'
1
+ import { AggregateType, DbType, TContractObject } from '../index'
2
2
  import { IsoLocale } from '../locale'
3
3
 
4
4
  export interface IDbColumn {
@@ -1,35 +1,3 @@
1
- import { IsoLocale } from '../locale'
2
-
3
- export type TTranslationApplication = 'API' | 'Admin' | 'WebCalc' | 'EmailTemplates' | 'MyPage'
4
- export type TTranslationSearchOption = 'searchValuesToo' | 'matchCase' | 'wholeWord'
5
-
6
- export interface ITranslationValueRequest {
7
- locale: IsoLocale
8
- value: string
9
- }
10
-
11
- export interface ITranslationValueResponse extends ITranslationValueRequest {
12
- id: number
13
- }
14
-
15
- export interface ITranslationApplication {
16
- id: number
17
- name: TTranslationApplication
18
- }
19
-
20
- export interface ITranslationRequest {
21
- key: string
22
- applications: ITranslationApplication[]
23
- comment?: string
24
- }
25
-
26
- export interface ITranslationResponse extends ITranslationRequest {
27
- id: number
28
- userEmail: string
29
- entityUpdated: string
30
- missedValues: boolean
31
- }
32
-
33
1
  export interface ILocaleTranslation {
34
2
  [key: string]: ITranslation
35
3
  }