@firela/api-types 0.0.0-canary.209966 → 0.0.0-canary.5639ea2d

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.
@@ -941,6 +941,67 @@ export const $AccountStandardListResponseDto = {
941
941
  required: ['items', 'total', 'region']
942
942
  } as const;
943
943
 
944
+ export const $RegionConfigDto = {
945
+ type: 'object',
946
+ properties: {
947
+ currency: {
948
+ type: 'string',
949
+ example: 'EUR'
950
+ },
951
+ dateFormat: {
952
+ type: 'string',
953
+ example: 'DD.MM.YYYY'
954
+ },
955
+ locale: {
956
+ type: 'string',
957
+ example: 'de-DE'
958
+ }
959
+ },
960
+ required: ['currency', 'dateFormat', 'locale']
961
+ } as const;
962
+
963
+ export const $RegionInfoDto = {
964
+ type: 'object',
965
+ properties: {
966
+ code: {
967
+ type: 'string',
968
+ example: 'de'
969
+ },
970
+ displayName: {
971
+ type: 'string',
972
+ example: 'Germany'
973
+ },
974
+ parent: {
975
+ type: 'string',
976
+ example: 'eu-core'
977
+ },
978
+ chain: {
979
+ example: ['eu-core', 'de'],
980
+ type: 'array',
981
+ items: {
982
+ type: 'string'
983
+ }
984
+ },
985
+ config: {
986
+ $ref: '#/components/schemas/RegionConfigDto'
987
+ }
988
+ },
989
+ required: ['code', 'displayName', 'chain', 'config']
990
+ } as const;
991
+
992
+ export const $RegionsMetadataResponseDto = {
993
+ type: 'object',
994
+ properties: {
995
+ regions: {
996
+ type: 'array',
997
+ items: {
998
+ $ref: '#/components/schemas/RegionInfoDto'
999
+ }
1000
+ }
1001
+ },
1002
+ required: ['regions']
1003
+ } as const;
1004
+
944
1005
  export const $BalanceResponseDto = {
945
1006
  type: 'object',
946
1007
  properties: {
@@ -1078,9 +1139,18 @@ export const $ReviewSummaryDto = {
1078
1139
  description: 'Confidence level derived from score',
1079
1140
  enum: ['HIGH', 'MEDIUM', 'LOW']
1080
1141
  },
1081
- summary: {
1142
+ summaryKey: {
1082
1143
  type: 'string',
1083
- description: 'Human-readable summary of the review item'
1144
+ description:
1145
+ 'i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.'
1146
+ },
1147
+ summaryParams: {
1148
+ type: 'object',
1149
+ description:
1150
+ 'Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })',
1151
+ additionalProperties: {
1152
+ type: 'string'
1153
+ }
1084
1154
  },
1085
1155
  matchReasons: {
1086
1156
  description: 'Human-readable reasons for branching',
@@ -1140,7 +1210,7 @@ export const $ReviewSummaryDto = {
1140
1210
  'status',
1141
1211
  'confidence',
1142
1212
  'confidenceLevel',
1143
- 'summary',
1213
+ 'summaryKey',
1144
1214
  'matchReasons',
1145
1215
  'sourceType',
1146
1216
  'createdAt'
@@ -1252,9 +1322,18 @@ export const $ReviewDetailDto = {
1252
1322
  description: 'Confidence level derived from score',
1253
1323
  enum: ['HIGH', 'MEDIUM', 'LOW']
1254
1324
  },
1255
- summary: {
1325
+ summaryKey: {
1256
1326
  type: 'string',
1257
- description: 'Human-readable summary of the review item'
1327
+ description:
1328
+ 'i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.'
1329
+ },
1330
+ summaryParams: {
1331
+ type: 'object',
1332
+ description:
1333
+ 'Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })',
1334
+ additionalProperties: {
1335
+ type: 'string'
1336
+ }
1258
1337
  },
1259
1338
  matchReasons: {
1260
1339
  description: 'Human-readable reasons for branching',
@@ -1330,7 +1409,7 @@ export const $ReviewDetailDto = {
1330
1409
  'status',
1331
1410
  'confidence',
1332
1411
  'confidenceLevel',
1333
- 'summary',
1412
+ 'summaryKey',
1334
1413
  'matchReasons',
1335
1414
  'sourceType',
1336
1415
  'createdAt',
@@ -3088,7 +3167,8 @@ export const $ImporterConfigDto = {
3088
3167
  'cmbc-credit',
3089
3168
  'icbc',
3090
3169
  'icbc-credit',
3091
- 'hsbc-hk'
3170
+ 'hsbc-hk-credit',
3171
+ 'hsbc-hk-debit'
3092
3172
  ]
3093
3173
  },
3094
3174
  version: {
@@ -3268,7 +3348,8 @@ export const $SupportedProvidersResponseDto = {
3268
3348
  'gocardless',
3269
3349
  'simplefin',
3270
3350
  'yodlee',
3271
- 'beancount-direct'
3351
+ 'beancount-direct',
3352
+ 'parsed-bill'
3272
3353
  ],
3273
3354
  type: 'array',
3274
3355
  items: {
@@ -3279,6 +3360,11 @@ export const $SupportedProvidersResponseDto = {
3279
3360
  required: ['providers']
3280
3361
  } as const;
3281
3362
 
3363
+ export const $ParserTelemetryReportDto = {
3364
+ type: 'object',
3365
+ properties: {}
3366
+ } as const;
3367
+
3282
3368
  export const $ProcessNlpDto = {
3283
3369
  type: 'object',
3284
3370
  properties: {