triqai 0.2.8 → 0.3.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.
package/dist/index.d.cts CHANGED
@@ -135,10 +135,18 @@ type components = {
135
135
  /** @enum {boolean} */
136
136
  success: true;
137
137
  };
138
+ /**
139
+ * @description Category path from the most specific category up to its top-level category.
140
+ * For example, a parking payment has `primary` Parking, `secondary` Vehicle Services
141
+ * and `tertiary` Transportation.
142
+ */
138
143
  CategoryStructure: {
139
144
  confidence: components["schemas"]["ConfidenceWithReasons"];
145
+ /** @description The most specific category assigned. */
140
146
  primary: components["schemas"]["Category"];
147
+ /** @description Parent of `primary`, or `null` when `primary` is a top-level category. */
141
148
  secondary: components["schemas"]["Category"] | null;
149
+ /** @description Parent of `secondary`, or `null` when the category is fewer than three levels deep. */
142
150
  tertiary: components["schemas"]["Category"] | null;
143
151
  };
144
152
  ClientDisconnectedErrorResponse: {
@@ -176,6 +184,11 @@ type components = {
176
184
  /** @enum {string} */
177
185
  code: "DUPLICATE_REQUEST";
178
186
  details: {
187
+ /**
188
+ * @description Present when the key was already used for a different request (`state=completed`). The stored result is not returned.
189
+ * @enum {string}
190
+ */
191
+ reason?: "payload_mismatch";
179
192
  requestId: string;
180
193
  retryAfterSeconds?: number;
181
194
  /** @enum {string} */
@@ -264,9 +277,18 @@ type components = {
264
277
  /** @enum {boolean} */
265
278
  success: true;
266
279
  };
267
- EntityResult: {
280
+ /** @description An entity linked to the transaction. `type` selects the shape of `data`. */
281
+ EntityResult: components["schemas"]["MerchantEntityResult"] | components["schemas"]["LocationEntityResult"] | components["schemas"]["IntermediaryEntityResult"] | components["schemas"]["PersonEntityResult"];
282
+ EntityResultBase: {
268
283
  confidence: components["schemas"]["ConfidenceWithReasons"];
269
- data: components["schemas"]["MerchantEntityData"] | components["schemas"]["LocationData"] | components["schemas"]["IntermediaryData"] | components["schemas"]["PersonData"];
284
+ /**
285
+ * @description Short AI-written explanation of why this entity was linked to the transaction.
286
+ * Use it for display or debugging only: the wording varies, so don't parse it.
287
+ * Optional and never `null`. It's returned when a stored explanation exists, for
288
+ * example on `GET /v1/transactions`, `GET /v1/transactions/{id}` and enrichment
289
+ * results reused from an earlier request, and omitted otherwise.
290
+ */
291
+ reasoning?: string;
270
292
  role: string;
271
293
  /** @enum {string} */
272
294
  type: "merchant" | "location" | "intermediary" | "person";
@@ -310,6 +332,25 @@ type components = {
310
332
  name: string;
311
333
  website: string | null;
312
334
  };
335
+ IntermediaryEntityData: components["schemas"]["IntermediaryData"] & {
336
+ /**
337
+ * @description Category of a recognized platform, such as a food delivery app. Returned for
338
+ * those platforms on `GET /v1/transactions` and `GET /v1/transactions/{id}`;
339
+ * enrichment responses may omit it. Absent for other intermediaries.
340
+ */
341
+ category?: components["schemas"]["CategoryStructure"];
342
+ };
343
+ IntermediaryEntityResult: components["schemas"]["EntityResultBase"] & {
344
+ data: components["schemas"]["IntermediaryEntityData"];
345
+ /** @enum {string} */
346
+ type: "intermediary";
347
+ } & {
348
+ /**
349
+ * @description discriminator enum property added by openapi-typescript
350
+ * @enum {string}
351
+ */
352
+ type: "intermediary";
353
+ };
313
354
  IntermediaryRecord: components["schemas"]["IntermediaryData"] & {
314
355
  role: string;
315
356
  };
@@ -368,6 +409,17 @@ type components = {
368
409
  /** @description Location-specific website URL. May be absent. */
369
410
  website?: string | null;
370
411
  };
412
+ LocationEntityResult: components["schemas"]["EntityResultBase"] & {
413
+ data: components["schemas"]["LocationData"];
414
+ /** @enum {string} */
415
+ type: "location";
416
+ } & {
417
+ /**
418
+ * @description discriminator enum property added by openapi-typescript
419
+ * @enum {string}
420
+ */
421
+ type: "location";
422
+ };
371
423
  LocationRating: {
372
424
  average: number;
373
425
  count: number;
@@ -411,6 +463,17 @@ type components = {
411
463
  name: string;
412
464
  website: string | null;
413
465
  };
466
+ MerchantEntityResult: components["schemas"]["EntityResultBase"] & {
467
+ data: components["schemas"]["MerchantEntityData"];
468
+ /** @enum {string} */
469
+ type: "merchant";
470
+ } & {
471
+ /**
472
+ * @description discriminator enum property added by openapi-typescript
473
+ * @enum {string}
474
+ */
475
+ type: "merchant";
476
+ };
414
477
  MerchantResponse: {
415
478
  data: {
416
479
  merchant: components["schemas"]["MerchantData"];
@@ -428,6 +491,17 @@ type components = {
428
491
  PersonData: {
429
492
  displayName: string;
430
493
  };
494
+ PersonEntityResult: components["schemas"]["EntityResultBase"] & {
495
+ data: components["schemas"]["PersonData"];
496
+ /** @enum {string} */
497
+ type: "person";
498
+ } & {
499
+ /**
500
+ * @description discriminator enum property added by openapi-typescript
501
+ * @enum {string}
502
+ */
503
+ type: "person";
504
+ };
431
505
  /**
432
506
  * @description Supply known intermediary (payment processor) data.
433
507
  * When `id` is provided, the intermediary is resolved by primary key (returns 422 if not found).
@@ -658,7 +732,12 @@ type components = {
658
732
  "application/json": components["schemas"]["ErrorResponse"];
659
733
  };
660
734
  };
661
- /** @description Rate limit exceeded */
735
+ /**
736
+ * @description Rate limit exceeded. Organization limits send the `X-RateLimit-*` headers.
737
+ * Requests with a missing or malformed API key, and repeated API key lookups from
738
+ * one IP address, have separate limits whose 429s send only `Retry-After`, without
739
+ * any `X-RateLimit-*` header.
740
+ */
662
741
  RateLimited: {
663
742
  headers: {
664
743
  /** @description Seconds until retry is allowed */
@@ -667,13 +746,20 @@ type components = {
667
746
  "X-RateLimit-Concurrency-Limit"?: number;
668
747
  /** @description Remaining concurrent request slots */
669
748
  "X-RateLimit-Concurrency-Remaining"?: number;
670
- /** @description Requests per second (sustained rate) */
749
+ /**
750
+ * @description Limit named by `X-RateLimit-Scope`. For `rps`, the sustained requests per second.
751
+ * For `concurrency`, the maximum concurrent in-flight requests.
752
+ */
671
753
  "X-RateLimit-Limit"?: number;
672
- /** @description Current token-bucket capacity available */
754
+ /**
755
+ * @description Remaining capacity for the limit named by `X-RateLimit-Scope`. For `rps`, the
756
+ * token-bucket requests left (0 when throttled). For `concurrency`, the free
757
+ * concurrent request slots.
758
+ */
673
759
  "X-RateLimit-Remaining"?: number;
674
- /** @description Timestamp when token bucket refills */
760
+ /** @description Time when the limit named by `X-RateLimit-Scope` is expected to admit a new request. */
675
761
  "X-RateLimit-Reset"?: string;
676
- /** @description Active limiting dimension */
762
+ /** @description Limit that rejected the request. */
677
763
  "X-RateLimit-Scope"?: "rps" | "concurrency";
678
764
  [name: string]: unknown;
679
765
  };
@@ -695,7 +781,10 @@ type components = {
695
781
  "application/json": components["schemas"]["ErrorResponse"];
696
782
  };
697
783
  };
698
- /** @description Service temporarily unavailable */
784
+ /**
785
+ * @description Service temporarily unavailable, for example when authentication or the rate-limit
786
+ * and credit check can't complete. Retry after `Retry-After` seconds.
787
+ */
699
788
  ServiceUnavailable: {
700
789
  headers: {
701
790
  /** @description Seconds until retry is allowed */
@@ -729,7 +818,10 @@ type components = {
729
818
  "application/json": components["schemas"]["ErrorResponse"];
730
819
  };
731
820
  };
732
- /** @description Request validation failed */
821
+ /**
822
+ * @description Request validation failed. Every endpoint returns this for a malformed `Idempotency-Key`
823
+ * or `X-Idempotency-Key` header, or when both headers are sent with different values.
824
+ */
733
825
  ValidationError: {
734
826
  headers: {
735
827
  [name: string]: unknown;
@@ -786,6 +878,7 @@ interface operations {
786
878
  "application/json": components["schemas"]["HealthResponse"];
787
879
  };
788
880
  };
881
+ 422: components["responses"]["ValidationError"];
789
882
  };
790
883
  };
791
884
  getHealth: {
@@ -806,6 +899,7 @@ interface operations {
806
899
  "application/json": components["schemas"]["HealthResponse"];
807
900
  };
808
901
  };
902
+ 422: components["responses"]["ValidationError"];
809
903
  };
810
904
  };
811
905
  getApiInfo: {
@@ -828,6 +922,10 @@ interface operations {
828
922
  };
829
923
  401: components["responses"]["Unauthorized"];
830
924
  403: components["responses"]["Forbidden"];
925
+ 422: components["responses"]["ValidationError"];
926
+ 429: components["responses"]["RateLimited"];
927
+ 500: components["responses"]["InternalError"];
928
+ 503: components["responses"]["ServiceUnavailable"];
831
929
  };
832
930
  };
833
931
  searchBanks: {
@@ -866,6 +964,7 @@ interface operations {
866
964
  422: components["responses"]["ValidationError"];
867
965
  429: components["responses"]["RateLimited"];
868
966
  500: components["responses"]["InternalError"];
967
+ 503: components["responses"]["ServiceUnavailable"];
869
968
  };
870
969
  };
871
970
  getBank: {
@@ -894,6 +993,7 @@ interface operations {
894
993
  422: components["responses"]["ValidationError"];
895
994
  429: components["responses"]["RateLimited"];
896
995
  500: components["responses"]["InternalError"];
996
+ 503: components["responses"]["ServiceUnavailable"];
897
997
  };
898
998
  };
899
999
  listCategories: {
@@ -916,8 +1016,10 @@ interface operations {
916
1016
  };
917
1017
  401: components["responses"]["Unauthorized"];
918
1018
  403: components["responses"]["Forbidden"];
1019
+ 422: components["responses"]["ValidationError"];
919
1020
  429: components["responses"]["RateLimited"];
920
1021
  500: components["responses"]["InternalError"];
1022
+ 503: components["responses"]["ServiceUnavailable"];
921
1023
  };
922
1024
  };
923
1025
  getIntermediary: {
@@ -946,6 +1048,7 @@ interface operations {
946
1048
  422: components["responses"]["ValidationError"];
947
1049
  429: components["responses"]["RateLimited"];
948
1050
  500: components["responses"]["InternalError"];
1051
+ 503: components["responses"]["ServiceUnavailable"];
949
1052
  };
950
1053
  };
951
1054
  getLocation: {
@@ -974,6 +1077,7 @@ interface operations {
974
1077
  422: components["responses"]["ValidationError"];
975
1078
  429: components["responses"]["RateLimited"];
976
1079
  500: components["responses"]["InternalError"];
1080
+ 503: components["responses"]["ServiceUnavailable"];
977
1081
  };
978
1082
  };
979
1083
  getMerchant: {
@@ -1002,12 +1106,15 @@ interface operations {
1002
1106
  422: components["responses"]["ValidationError"];
1003
1107
  429: components["responses"]["RateLimited"];
1004
1108
  500: components["responses"]["InternalError"];
1109
+ 503: components["responses"]["ServiceUnavailable"];
1005
1110
  };
1006
1111
  };
1007
1112
  listIssueReports: {
1008
1113
  parameters: {
1009
1114
  query?: {
1115
+ /** @description Page number, at most 10000. Values below 1 are treated as 1. */
1010
1116
  page?: number;
1117
+ /** @description Page size, at most 100. Larger values are capped at 100 instead of being rejected, and values below 1 are treated as 1. */
1011
1118
  size?: number;
1012
1119
  status?: components["schemas"]["IssueReportStatus"];
1013
1120
  transaction_id?: string;
@@ -1032,6 +1139,7 @@ interface operations {
1032
1139
  422: components["responses"]["ValidationError"];
1033
1140
  429: components["responses"]["RateLimited"];
1034
1141
  500: components["responses"]["InternalError"];
1142
+ 503: components["responses"]["ServiceUnavailable"];
1035
1143
  };
1036
1144
  };
1037
1145
  createIssueReport: {
@@ -1041,6 +1149,7 @@ interface operations {
1041
1149
  path?: never;
1042
1150
  cookie?: never;
1043
1151
  };
1152
+ /** @description The request body must not exceed 32,768 bytes. */
1044
1153
  requestBody: {
1045
1154
  content: {
1046
1155
  "application/json": components["schemas"]["ReportIssueRequest"];
@@ -1062,6 +1171,7 @@ interface operations {
1062
1171
  422: components["responses"]["ValidationError"];
1063
1172
  429: components["responses"]["RateLimited"];
1064
1173
  500: components["responses"]["InternalError"];
1174
+ 503: components["responses"]["ServiceUnavailable"];
1065
1175
  };
1066
1176
  };
1067
1177
  getIssueReport: {
@@ -1090,16 +1200,18 @@ interface operations {
1090
1200
  422: components["responses"]["ValidationError"];
1091
1201
  429: components["responses"]["RateLimited"];
1092
1202
  500: components["responses"]["InternalError"];
1203
+ 503: components["responses"]["ServiceUnavailable"];
1093
1204
  };
1094
1205
  };
1095
1206
  listTransactions: {
1096
1207
  parameters: {
1097
1208
  query?: {
1098
- /** @description Inclusive upper bound (ISO 8601 timestamp) */
1209
+ /** @description Inclusive upper bound (ISO 8601 date or timestamp between 0001-01-01 and 9999-12-31 UTC). */
1099
1210
  endDate?: string;
1211
+ /** @description Page number, at most 10000. */
1100
1212
  page?: number;
1101
1213
  size?: number;
1102
- /** @description Inclusive lower bound (ISO 8601 timestamp) */
1214
+ /** @description Inclusive lower bound (ISO 8601 date or timestamp between 0001-01-01 and 9999-12-31 UTC). */
1103
1215
  startDate?: string;
1104
1216
  };
1105
1217
  header?: never;
@@ -1122,6 +1234,7 @@ interface operations {
1122
1234
  422: components["responses"]["ValidationError"];
1123
1235
  429: components["responses"]["RateLimited"];
1124
1236
  500: components["responses"]["InternalError"];
1237
+ 503: components["responses"]["ServiceUnavailable"];
1125
1238
  };
1126
1239
  };
1127
1240
  getTransaction: {
@@ -1150,6 +1263,7 @@ interface operations {
1150
1263
  422: components["responses"]["ValidationError"];
1151
1264
  429: components["responses"]["RateLimited"];
1152
1265
  500: components["responses"]["InternalError"];
1266
+ 503: components["responses"]["ServiceUnavailable"];
1153
1267
  };
1154
1268
  };
1155
1269
  deleteTransaction: {
@@ -1214,7 +1328,7 @@ interface operations {
1214
1328
  countTransactions: {
1215
1329
  parameters: {
1216
1330
  query?: {
1217
- /** @description Only count transactions created on or after this ISO 8601 timestamp. */
1331
+ /** @description Only count transactions created on or after this ISO 8601 date or timestamp (between 0001-01-01 and 9999-12-31 UTC). */
1218
1332
  afterDate?: string;
1219
1333
  };
1220
1334
  header?: never;
@@ -1237,14 +1351,15 @@ interface operations {
1237
1351
  422: components["responses"]["ValidationError"];
1238
1352
  429: components["responses"]["RateLimited"];
1239
1353
  500: components["responses"]["InternalError"];
1354
+ 503: components["responses"]["ServiceUnavailable"];
1240
1355
  };
1241
1356
  };
1242
1357
  enrichTransaction: {
1243
1358
  parameters: {
1244
1359
  query?: never;
1245
- header: {
1246
- /** @description Required retry identity. `X-Idempotency-Key` is also accepted and must match when both are sent. */
1247
- "Idempotency-Key": string;
1360
+ header?: {
1361
+ /** @description Optional. One key per bank transaction, used only for that request. A retry of the same request with this key returns the stored result without a charge; a different request with it returns `409` with `details.reason=payload_mismatch`. Without a key, every request is a new, charged enrichment. `X-Idempotency-Key` is also accepted and must match when both are sent. */
1362
+ "Idempotency-Key"?: string;
1248
1363
  };
1249
1364
  path?: never;
1250
1365
  cookie?: never;
@@ -1319,6 +1434,9 @@ type TransactionPagination = components["schemas"]["TransactionPagination"];
1319
1434
  type TransactionListResponse = components["schemas"]["TransactionListResponse"];
1320
1435
  type TransactionDetailResponse = components["schemas"]["TransactionDetailResponse"];
1321
1436
  type DeleteTransactionResponse = components["schemas"]["DeleteTransactionResponse"];
1437
+ type TransactionCountResponse = components["schemas"]["TransactionCountResponse"];
1438
+ type BatchDeleteRequest = components["schemas"]["BatchDeleteRequest"];
1439
+ type BatchDeleteResponse = components["schemas"]["BatchDeleteResponse"];
1322
1440
  type CategoryStructure = components["schemas"]["CategoryStructure"];
1323
1441
  type Category = components["schemas"]["Category"];
1324
1442
  type CategoryCode = components["schemas"]["CategoryCode"];
@@ -1399,7 +1517,12 @@ interface RateLimitInfo {
1399
1517
  retryAfter?: number;
1400
1518
  }
1401
1519
  interface EnrichOptions {
1402
- /** Bypass cached result. */
1520
+ /**
1521
+ * @deprecated Has no effect. The API never supported a cache bypass: the
1522
+ * public contract defines no `force` parameter and no endpoint reads one.
1523
+ * The SDK no longer sends it. The option remains only so existing code
1524
+ * still compiles, and may be removed in a future major version.
1525
+ */
1403
1526
  force?: boolean;
1404
1527
  /** Defaults to a UUID per enrich call, reused across automatic retries. Supply a stable key to retry across calls. Must match ^[a-zA-Z0-9_-]{1,64}$. */
1405
1528
  idempotencyKey?: string;
@@ -1412,6 +1535,17 @@ interface ListTransactionsParams {
1412
1535
  /** Inclusive upper bound (ISO 8601 timestamp or Date). */
1413
1536
  endDate?: string | Date;
1414
1537
  }
1538
+ interface CountTransactionsParams {
1539
+ /** Count only transactions created on or after this ISO 8601 timestamp or Date. */
1540
+ afterDate?: string | Date;
1541
+ }
1542
+ /**
1543
+ * Exactly one of `{ all: true }`, `{ afterDate }`, or `{ ids }` (at most 1000 UUIDs).
1544
+ * `afterDate` also accepts a Date.
1545
+ */
1546
+ type BatchDeleteTransactionsParams = BatchDeleteRequest | {
1547
+ afterDate: Date;
1548
+ };
1415
1549
  interface ListIssueReportsParams {
1416
1550
  page?: number;
1417
1551
  size?: number;
@@ -1439,7 +1573,7 @@ declare class HttpClient {
1439
1573
  constructor(apiKey: string, config?: TriqaiConfig);
1440
1574
  get<T>(path: string, query?: Record<string, unknown>): Promise<HttpResponse<T>>;
1441
1575
  post<T>(path: string, body?: unknown): Promise<HttpResponse<T>>;
1442
- delete<T>(path: string): Promise<HttpResponse<T>>;
1576
+ delete<T>(path: string, body?: unknown): Promise<HttpResponse<T>>;
1443
1577
  private request;
1444
1578
  /**
1445
1579
  * Variant that injects custom headers (used by resources for Idempotency-Key etc.).
@@ -1635,7 +1769,7 @@ declare class Transactions {
1635
1769
  * Enrich a transaction with merchant, category, location, and entity data.
1636
1770
  *
1637
1771
  * @param request - The transaction to enrich (title, country, type, and optional options).
1638
- * @param options - Optional enrichment controls (force bypass cache, idempotency key).
1772
+ * @param options - Optional enrichment controls (idempotency key).
1639
1773
  * @returns The enriched transaction data.
1640
1774
  *
1641
1775
  * @example
@@ -1667,6 +1801,18 @@ declare class Transactions {
1667
1801
  * ```
1668
1802
  */
1669
1803
  list(params?: ListTransactionsParams): Promise<Page<EnrichedTransaction>>;
1804
+ /**
1805
+ * Count your organization's transactions.
1806
+ *
1807
+ * @param params - Optional `afterDate` to count only transactions created on or after it.
1808
+ * @returns The number of matching transactions.
1809
+ *
1810
+ * @example
1811
+ * ```ts
1812
+ * const { count } = await triqai.transactions.count({ afterDate: "2026-01-01T00:00:00Z" });
1813
+ * ```
1814
+ */
1815
+ count(params?: CountTransactionsParams): Promise<TransactionCountResponse["data"]>;
1670
1816
  /**
1671
1817
  * Get a single transaction by ID.
1672
1818
  *
@@ -1684,6 +1830,26 @@ declare class Transactions {
1684
1830
  deleted: true;
1685
1831
  transactionId: string;
1686
1832
  }>;
1833
+ /**
1834
+ * Delete many transactions in one request.
1835
+ *
1836
+ * Pass exactly one of `all: true` (every transaction in your organization),
1837
+ * `afterDate` (transactions created on or after it), or `ids` (at most 1000
1838
+ * UUIDs). The API rejects any other combination with a 422 `ValidationError`.
1839
+ * A 503 means cleanup is incomplete; like other DELETE requests, it is retried
1840
+ * automatically, and `count` then covers only the final attempt.
1841
+ *
1842
+ * @param request - The single selection mode.
1843
+ * @returns Confirmation with the number of transactions deleted.
1844
+ *
1845
+ * @example
1846
+ * ```ts
1847
+ * const { count } = await triqai.transactions.batchDelete({
1848
+ * ids: ["550e8400-e29b-41d4-a716-446655440000"],
1849
+ * });
1850
+ * ```
1851
+ */
1852
+ batchDelete(request: BatchDeleteTransactionsParams): Promise<BatchDeleteResponse["data"]>;
1687
1853
  }
1688
1854
 
1689
1855
  /**
@@ -1703,7 +1869,7 @@ declare class Transactions {
1703
1869
  * ```
1704
1870
  */
1705
1871
  declare class Triqai {
1706
- /** Enrich, list, get, and delete transactions. */
1872
+ /** Enrich, list, count, get, and delete transactions. */
1707
1873
  readonly transactions: Transactions;
1708
1874
  /** List the full category taxonomy. */
1709
1875
  readonly categories: Categories;
@@ -1829,14 +1995,25 @@ declare class ClientDisconnectedError extends TriqaiError {
1829
1995
  }
1830
1996
  declare class DuplicateRequestError extends TriqaiError {
1831
1997
  readonly state: "in_progress" | "completed" | undefined;
1998
+ /** `payload_mismatch` when the key was already used for a different request. */
1999
+ readonly reason: string | undefined;
1832
2000
  readonly duplicateRequestId: string | undefined;
1833
2001
  readonly retryAfter: number | undefined;
1834
2002
  constructor(message: string, opts?: ConstructorParameters<typeof TriqaiError>[2] & {
1835
2003
  state?: "in_progress" | "completed";
2004
+ reason?: string;
1836
2005
  duplicateRequestId?: string;
1837
2006
  retryAfter?: number;
1838
2007
  });
1839
2008
  }
2009
+ /**
2010
+ * The enrichment cannot be stored because the transaction's data was erased
2011
+ * or the organization is inactive. Terminal: the SDK never retries it, and
2012
+ * callers should not either.
2013
+ */
2014
+ declare class GoneError extends TriqaiError {
2015
+ constructor(message: string, opts?: ConstructorParameters<typeof TriqaiError>[2]);
2016
+ }
1840
2017
  declare class RateLimitError extends TriqaiError {
1841
2018
  readonly rateLimitInfo: RateLimitInfo;
1842
2019
  constructor(message: string, rateLimitInfo: RateLimitInfo, opts?: ConstructorParameters<typeof TriqaiError>[2]);
@@ -1858,4 +2035,4 @@ declare class TimeoutError extends TriqaiError {
1858
2035
  constructor(message: string);
1859
2036
  }
1860
2037
 
1861
- export { type ApiInfoResponse, AuthenticationError, AuthorizationError, type BankData, type BankResponse, type BankSearchParams, type BankSearchResponse, type Category, type CategoryCode, type CategoryInfo, type CategoryListResponse, type CategoryStructure, ClientDisconnectedError, type ClientDisconnectedErrorResponse, type ConfidenceWithReasons, ConnectionError, type Coordinates, type CreateIssueReportParams, type DeleteTransactionResponse, DuplicateRequestError, type DuplicateRequestErrorResponse, type EnrichMeta, type EnrichOptions, type EnrichRequest, type EnrichRequestOptions, type EnrichSuccessResponse, type EnrichedTransaction, type EnrichmentData, type EnrichmentErrorCode, type EnrichmentFieldPath, type EnrichmentFilterOptions, type EntityResult, type ErrorObject, type ErrorResponse, GatewayTimeoutError, type HealthResponse, type HttpResponse, InsufficientCreditsError, type IntermediaryData, type IntermediaryRecord, type IntermediaryResponse, InternalServerError, type IssueReport, type IssueReportListResponse, type IssueReportResponse, type IssueReportStatus, type ListIssueReportsParams, type ListTransactionsParams, type LocationData, type LocationRating, type LocationResponse, type MerchantData, type MerchantResponse, NotFoundError, Page, type PageInfo, type PaginationMeta, type PersonData, type PrefilledIntermediary, type PrefilledLocation, type PrefilledMerchant, RateLimitError, type RateLimitInfo, type RawErrorObject, type RawResponseMeta, type ReportIssueRequest, type RequestInfo, type ResponseInfo, type ResponseMeta, ServiceUnavailableError, type StructuredAddress, TimeoutError, type TransactionData, type TransactionDetailResponse, type TransactionListResponse, type TransactionPagination, type TransactionRecord, type TransactionType, Triqai, type TriqaiConfig, TriqaiError, ValidationError, Triqai as default };
2038
+ export { type ApiInfoResponse, AuthenticationError, AuthorizationError, type BankData, type BankResponse, type BankSearchParams, type BankSearchResponse, type BatchDeleteRequest, type BatchDeleteResponse, type BatchDeleteTransactionsParams, type Category, type CategoryCode, type CategoryInfo, type CategoryListResponse, type CategoryStructure, ClientDisconnectedError, type ClientDisconnectedErrorResponse, type ConfidenceWithReasons, ConnectionError, type Coordinates, type CountTransactionsParams, type CreateIssueReportParams, type DeleteTransactionResponse, DuplicateRequestError, type DuplicateRequestErrorResponse, type EnrichMeta, type EnrichOptions, type EnrichRequest, type EnrichRequestOptions, type EnrichSuccessResponse, type EnrichedTransaction, type EnrichmentData, type EnrichmentErrorCode, type EnrichmentFieldPath, type EnrichmentFilterOptions, type EntityResult, type ErrorObject, type ErrorResponse, GatewayTimeoutError, GoneError, type HealthResponse, type HttpResponse, InsufficientCreditsError, type IntermediaryData, type IntermediaryRecord, type IntermediaryResponse, InternalServerError, type IssueReport, type IssueReportListResponse, type IssueReportResponse, type IssueReportStatus, type ListIssueReportsParams, type ListTransactionsParams, type LocationData, type LocationRating, type LocationResponse, type MerchantData, type MerchantResponse, NotFoundError, Page, type PageInfo, type PaginationMeta, type PersonData, type PrefilledIntermediary, type PrefilledLocation, type PrefilledMerchant, RateLimitError, type RateLimitInfo, type RawErrorObject, type RawResponseMeta, type ReportIssueRequest, type RequestInfo, type ResponseInfo, type ResponseMeta, ServiceUnavailableError, type StructuredAddress, TimeoutError, type TransactionCountResponse, type TransactionData, type TransactionDetailResponse, type TransactionListResponse, type TransactionPagination, type TransactionRecord, type TransactionType, Triqai, type TriqaiConfig, TriqaiError, ValidationError, Triqai as default };