@fragus/sam-types 1.0.68 → 1.0.70

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.0.68",
2
+ "version": "1.0.70",
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",
package/types/index.d.ts CHANGED
@@ -209,3 +209,4 @@ export * from './paymentFailureReason';
209
209
  export * from './translations';
210
210
  export * from './v4PricingTool';
211
211
  export * from './accessKey';
212
+ export * from './pinLookup';
package/types/index.ts CHANGED
@@ -228,3 +228,4 @@ export * from './paymentFailureReason'
228
228
  export * from './translations'
229
229
  export * from './v4PricingTool'
230
230
  export * from './accessKey'
231
+ export * from './pinLookup'
@@ -0,0 +1,12 @@
1
+ export interface IPinLookupResponse {
2
+ personalIdentityNo: string
3
+ firstName: string
4
+ fullFirstNames: string
5
+ middleName: string | null
6
+ lastName: string
7
+ municipalityCode: string
8
+ coAddress: string | null
9
+ streetAddress: string
10
+ postalCode: string
11
+ city: string
12
+ }
@@ -1,6 +1,7 @@
1
1
  import { IsoLocale } from '../locale'
2
2
 
3
3
  export type TTranslationApplication = 'API' | 'Admin' | 'WebCalc' | 'EmailTemplates' | 'MyPage'
4
+ export type TTranslationSearchOption = 'searchValuesToo' | 'matchCase' | 'wholeWord'
4
5
 
5
6
  export interface ITranslationValueRequest {
6
7
  locale: IsoLocale
@@ -36,10 +37,3 @@ export interface ILocaleTranslation {
36
37
  export interface ITranslation {
37
38
  [key: string]: string
38
39
  }
39
-
40
- export type TTranslationSearchOptions = 'searchValuesToo' | 'matchCase' | 'wholeWord'
41
-
42
- export interface ITranslationSearchOptions {
43
- enabled: TTranslationSearchOptions[]
44
- applications: ITranslationApplication[]
45
- }