triqai 0.1.17 → 0.2.1
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/CHANGELOG.md +6 -0
- package/README.md +34 -0
- package/dist/index.cjs +20 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +575 -1
- package/dist/index.d.ts +575 -1
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/openapi-public.yaml +169 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -3,6 +3,10 @@ type components = {
|
|
|
3
3
|
ApiInfoResponse: {
|
|
4
4
|
data: {
|
|
5
5
|
endpoints: {
|
|
6
|
+
/** @example /v1/banks/{id} */
|
|
7
|
+
bank: string;
|
|
8
|
+
/** @example /v1/banks */
|
|
9
|
+
banks: string;
|
|
6
10
|
/** @example /v1/categories */
|
|
7
11
|
categories: string;
|
|
8
12
|
/** @example /v1/intermediaries/{id} */
|
|
@@ -23,6 +27,53 @@ type components = {
|
|
|
23
27
|
/** @enum {boolean} */
|
|
24
28
|
success: true;
|
|
25
29
|
};
|
|
30
|
+
/** @description Shared bank reference data. Unknown profile values are null; icon is the bank logo URL. */
|
|
31
|
+
BankData: {
|
|
32
|
+
/** @description Brand color. */
|
|
33
|
+
color: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* @description ISO 3166-1 alpha-2 country of origin, not countries of operation.
|
|
36
|
+
* @example NL
|
|
37
|
+
*/
|
|
38
|
+
country: string | null;
|
|
39
|
+
description: string | null;
|
|
40
|
+
domain: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Format: date
|
|
43
|
+
* @description Exact founding date when known (YYYY-MM-DD). Never inferred from the year alone.
|
|
44
|
+
*/
|
|
45
|
+
foundedOn: string | null;
|
|
46
|
+
/** @description Founding year when known. May be populated without an exact date. */
|
|
47
|
+
foundedYear: number | null;
|
|
48
|
+
/** @description Bank logo URL, consistent with merchant icon fields. */
|
|
49
|
+
icon: string | null;
|
|
50
|
+
/** Format: uuid */
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
website: string | null;
|
|
54
|
+
};
|
|
55
|
+
BankResponse: {
|
|
56
|
+
data: {
|
|
57
|
+
bank: components["schemas"]["BankData"];
|
|
58
|
+
};
|
|
59
|
+
meta: components["schemas"]["ResponseMeta"];
|
|
60
|
+
/** @enum {boolean} */
|
|
61
|
+
success: true;
|
|
62
|
+
};
|
|
63
|
+
BankSearchResponse: {
|
|
64
|
+
data: {
|
|
65
|
+
banks: components["schemas"]["BankData"][];
|
|
66
|
+
pagination: {
|
|
67
|
+
/** @description More candidates exist; request the next page with the same filters and size. */
|
|
68
|
+
hasMore: boolean;
|
|
69
|
+
page: number;
|
|
70
|
+
size: number;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
meta: components["schemas"]["ResponseMeta"];
|
|
74
|
+
/** @enum {boolean} */
|
|
75
|
+
success: true;
|
|
76
|
+
};
|
|
26
77
|
/** @description Provide exactly one of `all`, `afterDate`, or `ids`. */
|
|
27
78
|
BatchDeleteRequest: {
|
|
28
79
|
/**
|
|
@@ -700,6 +751,514 @@ type components = {
|
|
|
700
751
|
headers: never;
|
|
701
752
|
pathItems: never;
|
|
702
753
|
};
|
|
754
|
+
interface operations {
|
|
755
|
+
getRoot: {
|
|
756
|
+
parameters: {
|
|
757
|
+
query?: never;
|
|
758
|
+
header?: never;
|
|
759
|
+
path?: never;
|
|
760
|
+
cookie?: never;
|
|
761
|
+
};
|
|
762
|
+
requestBody?: never;
|
|
763
|
+
responses: {
|
|
764
|
+
/** @description Service is healthy */
|
|
765
|
+
200: {
|
|
766
|
+
headers: {
|
|
767
|
+
[name: string]: unknown;
|
|
768
|
+
};
|
|
769
|
+
content: {
|
|
770
|
+
"application/json": components["schemas"]["HealthResponse"];
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
getHealth: {
|
|
776
|
+
parameters: {
|
|
777
|
+
query?: never;
|
|
778
|
+
header?: never;
|
|
779
|
+
path?: never;
|
|
780
|
+
cookie?: never;
|
|
781
|
+
};
|
|
782
|
+
requestBody?: never;
|
|
783
|
+
responses: {
|
|
784
|
+
/** @description Service is healthy */
|
|
785
|
+
200: {
|
|
786
|
+
headers: {
|
|
787
|
+
[name: string]: unknown;
|
|
788
|
+
};
|
|
789
|
+
content: {
|
|
790
|
+
"application/json": components["schemas"]["HealthResponse"];
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
getApiInfo: {
|
|
796
|
+
parameters: {
|
|
797
|
+
query?: never;
|
|
798
|
+
header?: never;
|
|
799
|
+
path?: never;
|
|
800
|
+
cookie?: never;
|
|
801
|
+
};
|
|
802
|
+
requestBody?: never;
|
|
803
|
+
responses: {
|
|
804
|
+
/** @description API version and endpoint map */
|
|
805
|
+
200: {
|
|
806
|
+
headers: {
|
|
807
|
+
[name: string]: unknown;
|
|
808
|
+
};
|
|
809
|
+
content: {
|
|
810
|
+
"application/json": components["schemas"]["ApiInfoResponse"];
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
401: components["responses"]["Unauthorized"];
|
|
814
|
+
403: components["responses"]["Forbidden"];
|
|
815
|
+
};
|
|
816
|
+
};
|
|
817
|
+
searchBanks: {
|
|
818
|
+
parameters: {
|
|
819
|
+
query: {
|
|
820
|
+
/**
|
|
821
|
+
* @description ISO 3166-1 alpha-2 country of origin; case-insensitive. Unknown countries do not match a filter.
|
|
822
|
+
* @example NL
|
|
823
|
+
*/
|
|
824
|
+
country?: string;
|
|
825
|
+
/**
|
|
826
|
+
* @description Bank name; 1–200 characters after trimming. No fuzzy or alias matching.
|
|
827
|
+
* @example ING
|
|
828
|
+
*/
|
|
829
|
+
name: string;
|
|
830
|
+
page?: number;
|
|
831
|
+
size?: number;
|
|
832
|
+
};
|
|
833
|
+
header?: never;
|
|
834
|
+
path?: never;
|
|
835
|
+
cookie?: never;
|
|
836
|
+
};
|
|
837
|
+
requestBody?: never;
|
|
838
|
+
responses: {
|
|
839
|
+
/** @description Matching bank candidates (possibly empty) */
|
|
840
|
+
200: {
|
|
841
|
+
headers: {
|
|
842
|
+
[name: string]: unknown;
|
|
843
|
+
};
|
|
844
|
+
content: {
|
|
845
|
+
"application/json": components["schemas"]["BankSearchResponse"];
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
401: components["responses"]["Unauthorized"];
|
|
849
|
+
403: components["responses"]["Forbidden"];
|
|
850
|
+
422: components["responses"]["ValidationError"];
|
|
851
|
+
429: components["responses"]["RateLimited"];
|
|
852
|
+
500: components["responses"]["InternalError"];
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
getBank: {
|
|
856
|
+
parameters: {
|
|
857
|
+
query?: never;
|
|
858
|
+
header?: never;
|
|
859
|
+
path: {
|
|
860
|
+
id: components["parameters"]["IdPath"];
|
|
861
|
+
};
|
|
862
|
+
cookie?: never;
|
|
863
|
+
};
|
|
864
|
+
requestBody?: never;
|
|
865
|
+
responses: {
|
|
866
|
+
/** @description Bank found */
|
|
867
|
+
200: {
|
|
868
|
+
headers: {
|
|
869
|
+
[name: string]: unknown;
|
|
870
|
+
};
|
|
871
|
+
content: {
|
|
872
|
+
"application/json": components["schemas"]["BankResponse"];
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
401: components["responses"]["Unauthorized"];
|
|
876
|
+
403: components["responses"]["Forbidden"];
|
|
877
|
+
404: components["responses"]["NotFound"];
|
|
878
|
+
422: components["responses"]["ValidationError"];
|
|
879
|
+
429: components["responses"]["RateLimited"];
|
|
880
|
+
500: components["responses"]["InternalError"];
|
|
881
|
+
};
|
|
882
|
+
};
|
|
883
|
+
listCategories: {
|
|
884
|
+
parameters: {
|
|
885
|
+
query?: never;
|
|
886
|
+
header?: never;
|
|
887
|
+
path?: never;
|
|
888
|
+
cookie?: never;
|
|
889
|
+
};
|
|
890
|
+
requestBody?: never;
|
|
891
|
+
responses: {
|
|
892
|
+
/** @description Category reference list */
|
|
893
|
+
200: {
|
|
894
|
+
headers: {
|
|
895
|
+
[name: string]: unknown;
|
|
896
|
+
};
|
|
897
|
+
content: {
|
|
898
|
+
"application/json": components["schemas"]["CategoryListResponse"];
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
401: components["responses"]["Unauthorized"];
|
|
902
|
+
403: components["responses"]["Forbidden"];
|
|
903
|
+
429: components["responses"]["RateLimited"];
|
|
904
|
+
500: components["responses"]["InternalError"];
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
getIntermediary: {
|
|
908
|
+
parameters: {
|
|
909
|
+
query?: never;
|
|
910
|
+
header?: never;
|
|
911
|
+
path: {
|
|
912
|
+
id: components["parameters"]["IdPath"];
|
|
913
|
+
};
|
|
914
|
+
cookie?: never;
|
|
915
|
+
};
|
|
916
|
+
requestBody?: never;
|
|
917
|
+
responses: {
|
|
918
|
+
/** @description Intermediary found */
|
|
919
|
+
200: {
|
|
920
|
+
headers: {
|
|
921
|
+
[name: string]: unknown;
|
|
922
|
+
};
|
|
923
|
+
content: {
|
|
924
|
+
"application/json": components["schemas"]["IntermediaryResponse"];
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
401: components["responses"]["Unauthorized"];
|
|
928
|
+
403: components["responses"]["Forbidden"];
|
|
929
|
+
404: components["responses"]["NotFound"];
|
|
930
|
+
422: components["responses"]["ValidationError"];
|
|
931
|
+
429: components["responses"]["RateLimited"];
|
|
932
|
+
500: components["responses"]["InternalError"];
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
getLocation: {
|
|
936
|
+
parameters: {
|
|
937
|
+
query?: never;
|
|
938
|
+
header?: never;
|
|
939
|
+
path: {
|
|
940
|
+
id: components["parameters"]["IdPath"];
|
|
941
|
+
};
|
|
942
|
+
cookie?: never;
|
|
943
|
+
};
|
|
944
|
+
requestBody?: never;
|
|
945
|
+
responses: {
|
|
946
|
+
/** @description Location found */
|
|
947
|
+
200: {
|
|
948
|
+
headers: {
|
|
949
|
+
[name: string]: unknown;
|
|
950
|
+
};
|
|
951
|
+
content: {
|
|
952
|
+
"application/json": components["schemas"]["LocationResponse"];
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
401: components["responses"]["Unauthorized"];
|
|
956
|
+
403: components["responses"]["Forbidden"];
|
|
957
|
+
404: components["responses"]["NotFound"];
|
|
958
|
+
422: components["responses"]["ValidationError"];
|
|
959
|
+
429: components["responses"]["RateLimited"];
|
|
960
|
+
500: components["responses"]["InternalError"];
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
getMerchant: {
|
|
964
|
+
parameters: {
|
|
965
|
+
query?: never;
|
|
966
|
+
header?: never;
|
|
967
|
+
path: {
|
|
968
|
+
id: components["parameters"]["IdPath"];
|
|
969
|
+
};
|
|
970
|
+
cookie?: never;
|
|
971
|
+
};
|
|
972
|
+
requestBody?: never;
|
|
973
|
+
responses: {
|
|
974
|
+
/** @description Merchant found */
|
|
975
|
+
200: {
|
|
976
|
+
headers: {
|
|
977
|
+
[name: string]: unknown;
|
|
978
|
+
};
|
|
979
|
+
content: {
|
|
980
|
+
"application/json": components["schemas"]["MerchantResponse"];
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
401: components["responses"]["Unauthorized"];
|
|
984
|
+
403: components["responses"]["Forbidden"];
|
|
985
|
+
404: components["responses"]["NotFound"];
|
|
986
|
+
422: components["responses"]["ValidationError"];
|
|
987
|
+
429: components["responses"]["RateLimited"];
|
|
988
|
+
500: components["responses"]["InternalError"];
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
listIssueReports: {
|
|
992
|
+
parameters: {
|
|
993
|
+
query?: {
|
|
994
|
+
page?: number;
|
|
995
|
+
size?: number;
|
|
996
|
+
status?: components["schemas"]["IssueReportStatus"];
|
|
997
|
+
transaction_id?: string;
|
|
998
|
+
};
|
|
999
|
+
header?: never;
|
|
1000
|
+
path?: never;
|
|
1001
|
+
cookie?: never;
|
|
1002
|
+
};
|
|
1003
|
+
requestBody?: never;
|
|
1004
|
+
responses: {
|
|
1005
|
+
/** @description Paginated issue reports */
|
|
1006
|
+
200: {
|
|
1007
|
+
headers: {
|
|
1008
|
+
[name: string]: unknown;
|
|
1009
|
+
};
|
|
1010
|
+
content: {
|
|
1011
|
+
"application/json": components["schemas"]["IssueReportListResponse"];
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
401: components["responses"]["Unauthorized"];
|
|
1015
|
+
403: components["responses"]["Forbidden"];
|
|
1016
|
+
422: components["responses"]["ValidationError"];
|
|
1017
|
+
429: components["responses"]["RateLimited"];
|
|
1018
|
+
500: components["responses"]["InternalError"];
|
|
1019
|
+
};
|
|
1020
|
+
};
|
|
1021
|
+
createIssueReport: {
|
|
1022
|
+
parameters: {
|
|
1023
|
+
query?: never;
|
|
1024
|
+
header?: never;
|
|
1025
|
+
path?: never;
|
|
1026
|
+
cookie?: never;
|
|
1027
|
+
};
|
|
1028
|
+
requestBody: {
|
|
1029
|
+
content: {
|
|
1030
|
+
"application/json": components["schemas"]["ReportIssueRequest"];
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
1033
|
+
responses: {
|
|
1034
|
+
/** @description Issue report created */
|
|
1035
|
+
201: {
|
|
1036
|
+
headers: {
|
|
1037
|
+
[name: string]: unknown;
|
|
1038
|
+
};
|
|
1039
|
+
content: {
|
|
1040
|
+
"application/json": components["schemas"]["IssueReportResponse"];
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
401: components["responses"]["Unauthorized"];
|
|
1044
|
+
403: components["responses"]["Forbidden"];
|
|
1045
|
+
404: components["responses"]["NotFound"];
|
|
1046
|
+
422: components["responses"]["ValidationError"];
|
|
1047
|
+
429: components["responses"]["RateLimited"];
|
|
1048
|
+
500: components["responses"]["InternalError"];
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
getIssueReport: {
|
|
1052
|
+
parameters: {
|
|
1053
|
+
query?: never;
|
|
1054
|
+
header?: never;
|
|
1055
|
+
path: {
|
|
1056
|
+
id: components["parameters"]["IdPath"];
|
|
1057
|
+
};
|
|
1058
|
+
cookie?: never;
|
|
1059
|
+
};
|
|
1060
|
+
requestBody?: never;
|
|
1061
|
+
responses: {
|
|
1062
|
+
/** @description Issue report detail */
|
|
1063
|
+
200: {
|
|
1064
|
+
headers: {
|
|
1065
|
+
[name: string]: unknown;
|
|
1066
|
+
};
|
|
1067
|
+
content: {
|
|
1068
|
+
"application/json": components["schemas"]["IssueReportResponse"];
|
|
1069
|
+
};
|
|
1070
|
+
};
|
|
1071
|
+
401: components["responses"]["Unauthorized"];
|
|
1072
|
+
403: components["responses"]["Forbidden"];
|
|
1073
|
+
404: components["responses"]["NotFound"];
|
|
1074
|
+
422: components["responses"]["ValidationError"];
|
|
1075
|
+
429: components["responses"]["RateLimited"];
|
|
1076
|
+
500: components["responses"]["InternalError"];
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
listTransactions: {
|
|
1080
|
+
parameters: {
|
|
1081
|
+
query?: {
|
|
1082
|
+
/** @description Inclusive upper bound (ISO 8601 timestamp) */
|
|
1083
|
+
endDate?: string;
|
|
1084
|
+
page?: number;
|
|
1085
|
+
size?: number;
|
|
1086
|
+
/** @description Inclusive lower bound (ISO 8601 timestamp) */
|
|
1087
|
+
startDate?: string;
|
|
1088
|
+
};
|
|
1089
|
+
header?: never;
|
|
1090
|
+
path?: never;
|
|
1091
|
+
cookie?: never;
|
|
1092
|
+
};
|
|
1093
|
+
requestBody?: never;
|
|
1094
|
+
responses: {
|
|
1095
|
+
/** @description Paginated transactions */
|
|
1096
|
+
200: {
|
|
1097
|
+
headers: {
|
|
1098
|
+
[name: string]: unknown;
|
|
1099
|
+
};
|
|
1100
|
+
content: {
|
|
1101
|
+
"application/json": components["schemas"]["TransactionListResponse"];
|
|
1102
|
+
};
|
|
1103
|
+
};
|
|
1104
|
+
401: components["responses"]["Unauthorized"];
|
|
1105
|
+
403: components["responses"]["Forbidden"];
|
|
1106
|
+
422: components["responses"]["ValidationError"];
|
|
1107
|
+
429: components["responses"]["RateLimited"];
|
|
1108
|
+
500: components["responses"]["InternalError"];
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
getTransaction: {
|
|
1112
|
+
parameters: {
|
|
1113
|
+
query?: never;
|
|
1114
|
+
header?: never;
|
|
1115
|
+
path: {
|
|
1116
|
+
id: components["parameters"]["IdPath"];
|
|
1117
|
+
};
|
|
1118
|
+
cookie?: never;
|
|
1119
|
+
};
|
|
1120
|
+
requestBody?: never;
|
|
1121
|
+
responses: {
|
|
1122
|
+
/** @description Transaction detail */
|
|
1123
|
+
200: {
|
|
1124
|
+
headers: {
|
|
1125
|
+
[name: string]: unknown;
|
|
1126
|
+
};
|
|
1127
|
+
content: {
|
|
1128
|
+
"application/json": components["schemas"]["TransactionDetailResponse"];
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
401: components["responses"]["Unauthorized"];
|
|
1132
|
+
403: components["responses"]["Forbidden"];
|
|
1133
|
+
404: components["responses"]["NotFound"];
|
|
1134
|
+
422: components["responses"]["ValidationError"];
|
|
1135
|
+
429: components["responses"]["RateLimited"];
|
|
1136
|
+
500: components["responses"]["InternalError"];
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
deleteTransaction: {
|
|
1140
|
+
parameters: {
|
|
1141
|
+
query?: never;
|
|
1142
|
+
header?: never;
|
|
1143
|
+
path: {
|
|
1144
|
+
id: components["parameters"]["IdPath"];
|
|
1145
|
+
};
|
|
1146
|
+
cookie?: never;
|
|
1147
|
+
};
|
|
1148
|
+
requestBody?: never;
|
|
1149
|
+
responses: {
|
|
1150
|
+
/** @description Transaction deleted */
|
|
1151
|
+
200: {
|
|
1152
|
+
headers: {
|
|
1153
|
+
[name: string]: unknown;
|
|
1154
|
+
};
|
|
1155
|
+
content: {
|
|
1156
|
+
"application/json": components["schemas"]["DeleteTransactionResponse"];
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
401: components["responses"]["Unauthorized"];
|
|
1160
|
+
403: components["responses"]["Forbidden"];
|
|
1161
|
+
404: components["responses"]["NotFound"];
|
|
1162
|
+
422: components["responses"]["ValidationError"];
|
|
1163
|
+
429: components["responses"]["RateLimited"];
|
|
1164
|
+
500: components["responses"]["InternalError"];
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
batchDeleteTransactions: {
|
|
1168
|
+
parameters: {
|
|
1169
|
+
query?: never;
|
|
1170
|
+
header?: never;
|
|
1171
|
+
path?: never;
|
|
1172
|
+
cookie?: never;
|
|
1173
|
+
};
|
|
1174
|
+
requestBody: {
|
|
1175
|
+
content: {
|
|
1176
|
+
"application/json": components["schemas"]["BatchDeleteRequest"];
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
responses: {
|
|
1180
|
+
/** @description Batch deletion completed */
|
|
1181
|
+
200: {
|
|
1182
|
+
headers: {
|
|
1183
|
+
[name: string]: unknown;
|
|
1184
|
+
};
|
|
1185
|
+
content: {
|
|
1186
|
+
"application/json": components["schemas"]["BatchDeleteResponse"];
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
401: components["responses"]["Unauthorized"];
|
|
1190
|
+
403: components["responses"]["Forbidden"];
|
|
1191
|
+
422: components["responses"]["ValidationError"];
|
|
1192
|
+
429: components["responses"]["RateLimited"];
|
|
1193
|
+
500: components["responses"]["InternalError"];
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
countTransactions: {
|
|
1197
|
+
parameters: {
|
|
1198
|
+
query?: {
|
|
1199
|
+
/** @description Only count transactions created on or after this ISO 8601 timestamp. */
|
|
1200
|
+
afterDate?: string;
|
|
1201
|
+
};
|
|
1202
|
+
header?: never;
|
|
1203
|
+
path?: never;
|
|
1204
|
+
cookie?: never;
|
|
1205
|
+
};
|
|
1206
|
+
requestBody?: never;
|
|
1207
|
+
responses: {
|
|
1208
|
+
/** @description Transaction count */
|
|
1209
|
+
200: {
|
|
1210
|
+
headers: {
|
|
1211
|
+
[name: string]: unknown;
|
|
1212
|
+
};
|
|
1213
|
+
content: {
|
|
1214
|
+
"application/json": components["schemas"]["TransactionCountResponse"];
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
401: components["responses"]["Unauthorized"];
|
|
1218
|
+
403: components["responses"]["Forbidden"];
|
|
1219
|
+
422: components["responses"]["ValidationError"];
|
|
1220
|
+
429: components["responses"]["RateLimited"];
|
|
1221
|
+
500: components["responses"]["InternalError"];
|
|
1222
|
+
};
|
|
1223
|
+
};
|
|
1224
|
+
enrichTransaction: {
|
|
1225
|
+
parameters: {
|
|
1226
|
+
query?: never;
|
|
1227
|
+
header: {
|
|
1228
|
+
/** @description Required retry identity. `X-Idempotency-Key` is also accepted and must match when both are sent. */
|
|
1229
|
+
"Idempotency-Key": string;
|
|
1230
|
+
};
|
|
1231
|
+
path?: never;
|
|
1232
|
+
cookie?: never;
|
|
1233
|
+
};
|
|
1234
|
+
requestBody: {
|
|
1235
|
+
content: {
|
|
1236
|
+
"application/json": components["schemas"]["EnrichRequest"];
|
|
1237
|
+
};
|
|
1238
|
+
};
|
|
1239
|
+
responses: {
|
|
1240
|
+
/** @description Enrichment completed */
|
|
1241
|
+
200: {
|
|
1242
|
+
headers: {
|
|
1243
|
+
[name: string]: unknown;
|
|
1244
|
+
};
|
|
1245
|
+
content: {
|
|
1246
|
+
"application/json": components["schemas"]["EnrichSuccessResponse"];
|
|
1247
|
+
};
|
|
1248
|
+
};
|
|
1249
|
+
401: components["responses"]["Unauthorized"];
|
|
1250
|
+
402: components["responses"]["InsufficientCredits"];
|
|
1251
|
+
403: components["responses"]["Forbidden"];
|
|
1252
|
+
409: components["responses"]["DuplicateRequest"];
|
|
1253
|
+
422: components["responses"]["ValidationError"];
|
|
1254
|
+
429: components["responses"]["RateLimited"];
|
|
1255
|
+
499: components["responses"]["ClientDisconnected"];
|
|
1256
|
+
500: components["responses"]["InternalError"];
|
|
1257
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
1258
|
+
504: components["responses"]["GatewayTimeout"];
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
703
1262
|
|
|
704
1263
|
/**
|
|
705
1264
|
* Re-exports from the auto-generated OpenAPI types, plus hand-crafted
|
|
@@ -748,6 +1307,10 @@ type Coordinates = components["schemas"]["Coordinates"];
|
|
|
748
1307
|
type StructuredAddress = components["schemas"]["StructuredAddress"];
|
|
749
1308
|
type LocationRating = components["schemas"]["LocationRating"];
|
|
750
1309
|
type IntermediaryRecord = components["schemas"]["IntermediaryRecord"];
|
|
1310
|
+
type BankData = components["schemas"]["BankData"];
|
|
1311
|
+
type BankResponse = components["schemas"]["BankResponse"];
|
|
1312
|
+
type BankSearchResponse = components["schemas"]["BankSearchResponse"];
|
|
1313
|
+
type BankSearchParams = operations["searchBanks"]["parameters"]["query"];
|
|
751
1314
|
type MerchantResponse = components["schemas"]["MerchantResponse"];
|
|
752
1315
|
type LocationResponse = components["schemas"]["LocationResponse"];
|
|
753
1316
|
type IntermediaryResponse = components["schemas"]["IntermediaryResponse"];
|
|
@@ -858,6 +1421,15 @@ declare class HttpClient {
|
|
|
858
1421
|
private mapError;
|
|
859
1422
|
}
|
|
860
1423
|
|
|
1424
|
+
declare class Banks {
|
|
1425
|
+
private readonly http;
|
|
1426
|
+
constructor(http: HttpClient);
|
|
1427
|
+
/** Exact, case-insensitive name lookup with an optional country of origin. Costs zero credits. */
|
|
1428
|
+
search(params: BankSearchParams): Promise<BankSearchResponse["data"]>;
|
|
1429
|
+
/** Retrieve stored bank details by UUID. */
|
|
1430
|
+
get(id: string): Promise<BankData>;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
861
1433
|
declare class Categories {
|
|
862
1434
|
private readonly http;
|
|
863
1435
|
constructor(http: HttpClient);
|
|
@@ -1107,6 +1679,8 @@ declare class Triqai {
|
|
|
1107
1679
|
readonly categories: Categories;
|
|
1108
1680
|
/** Look up merchant details by ID. */
|
|
1109
1681
|
readonly merchants: Merchants;
|
|
1682
|
+
/** Search stored bank profiles or retrieve them by ID. */
|
|
1683
|
+
readonly banks: Banks;
|
|
1110
1684
|
/** Look up location details by ID. */
|
|
1111
1685
|
readonly locations: Locations;
|
|
1112
1686
|
/** Look up intermediary (payment processor) details by ID. */
|
|
@@ -1254,4 +1828,4 @@ declare class TimeoutError extends TriqaiError {
|
|
|
1254
1828
|
constructor(message: string);
|
|
1255
1829
|
}
|
|
1256
1830
|
|
|
1257
|
-
export { type ApiInfoResponse, AuthenticationError, AuthorizationError, 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 };
|
|
1831
|
+
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 };
|