@alexochihua/protos 1.0.4 → 1.0.6
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/generated/kapital/contracts/v1/contracts.d.ts +2 -0
- package/dist/generated/kapital/contracts/v1/contracts.js +210 -186
- package/dist/generated/kapital/contracts/v1/contracts.js.map +1 -1
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.d.ts +365 -0
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.js +1804 -0
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.js.map +1 -0
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs_types.d.ts +89 -0
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs_types.js +855 -0
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs_types.js.map +1 -0
- package/dist/generated/kapital/fraud_groups/v1/fraud_groups.d.ts +475 -0
- package/dist/generated/kapital/fraud_groups/v1/fraud_groups.js +2452 -0
- package/dist/generated/kapital/fraud_groups/v1/fraud_groups.js.map +1 -0
- package/dist/generated/kapital/fraud_groups/v1/fraud_groups_types.d.ts +63 -0
- package/dist/generated/kapital/fraud_groups/v1/fraud_groups_types.js +577 -0
- package/dist/generated/kapital/fraud_groups/v1/fraud_groups_types.js.map +1 -0
- package/dist/generated/kapital/fraud_rules/v1/fraud_rules.d.ts +241 -0
- package/dist/generated/kapital/fraud_rules/v1/fraud_rules.js +1288 -0
- package/dist/generated/kapital/fraud_rules/v1/fraud_rules.js.map +1 -0
- package/dist/generated/kapital/fraud_rules/v1/fraud_rules_types.d.ts +56 -0
- package/dist/generated/kapital/fraud_rules/v1/fraud_rules_types.js +505 -0
- package/dist/generated/kapital/fraud_rules/v1/fraud_rules_types.js.map +1 -0
- package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists.d.ts +449 -0
- package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists.js +2310 -0
- package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists.js.map +1 -0
- package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists_types.d.ts +63 -0
- package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists_types.js +577 -0
- package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists_types.js.map +1 -0
- package/dist/generated/kapital/frauds/v1/frauds.d.ts +164 -0
- package/dist/generated/kapital/frauds/v1/frauds.js +839 -0
- package/dist/generated/kapital/frauds/v1/frauds.js.map +1 -0
- package/dist/generated/kapital/frauds/v1/frauds_types.d.ts +62 -0
- package/dist/generated/kapital/frauds/v1/frauds_types.js +567 -0
- package/dist/generated/kapital/frauds/v1/frauds_types.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/package.json +71 -1
- package/proto/kapital/accounts/v1/accounts.proto +80 -80
- package/proto/kapital/accounts/v1/accounts_types.proto +31 -31
- package/proto/kapital/accumulates/v1/accumulates_service.proto +81 -81
- package/proto/kapital/accumulates/v1/accumulates_types.proto +30 -30
- package/proto/kapital/cards/v1/cards.proto +32 -32
- package/proto/kapital/cards/v1/cards_types.proto +33 -33
- package/proto/kapital/collections_recovery/v1/collections_recovery.proto +80 -80
- package/proto/kapital/collections_recovery/v1/collections_recovery_types.proto +46 -46
- package/proto/kapital/commissions/v1/commissions.proto +69 -69
- package/proto/kapital/commissions/v1/commissions_types.proto +21 -21
- package/proto/kapital/common/v1/error.proto +18 -18
- package/proto/kapital/common/v1/meta.proto +13 -13
- package/proto/kapital/common/v1/pagination.proto +18 -18
- package/proto/kapital/contracts/v1/contracts.proto +90 -88
- package/proto/kapital/contracts/v1/contracts_types.proto +315 -315
- package/proto/kapital/credit_accounts/v1/credit_accounts.proto +84 -84
- package/proto/kapital/credit_accounts/v1/credit_accounts_types.proto +40 -40
- package/proto/kapital/credit_configurations/v1/credit_configurations.proto +54 -54
- package/proto/kapital/credit_configurations/v1/credit_configurations_types.proto +14 -14
- package/proto/kapital/fraud_catalogs/v1/fraud_catalogs.proto +177 -0
- package/proto/kapital/fraud_catalogs/v1/fraud_catalogs_types.proto +81 -0
- package/proto/kapital/fraud_groups/v1/fraud_groups.proto +242 -0
- package/proto/kapital/fraud_groups/v1/fraud_groups_types.proto +55 -0
- package/proto/kapital/fraud_rules/v1/fraud_rules.proto +127 -0
- package/proto/kapital/fraud_rules/v1/fraud_rules_types.proto +48 -0
- package/proto/kapital/fraud_whitelists/v1/fraud_whitelists.proto +227 -0
- package/proto/kapital/fraud_whitelists/v1/fraud_whitelists_types.proto +55 -0
- package/proto/kapital/frauds/v1/frauds.proto +90 -0
- package/proto/kapital/frauds/v1/frauds_types.proto +54 -0
- package/proto/kapital/offers/v1/offers.proto +111 -111
- package/proto/kapital/offers/v1/offers_types.proto +54 -54
- package/proto/kapital/payments/v1/payments.proto +93 -93
- package/proto/kapital/payments/v1/payments_types.proto +17 -17
- package/proto/kapital/payments_methods/v1/payments_methods.proto +511 -511
- package/proto/kapital/payments_methods/v1/payments_methods_types.proto +157 -157
- package/proto/kapital/product_groups/v1/product_groups.proto +150 -150
- package/proto/kapital/product_groups/v1/product_groups_types.proto +48 -48
- package/proto/kapital/transactions/v1/transactions.proto +70 -70
- package/proto/kapital/transactions/v1/transactions_types.proto +90 -90
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { type CallOptions, type ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, type Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
3
|
+
import { ResponseMeta } from "../../common/v1/meta";
|
|
4
|
+
import { PageRequest, PageResponse } from "../../common/v1/pagination";
|
|
5
|
+
import { CatalogInfo, CatalogItem, CurrencyItem, GeolocationItem, GroupTypeCatalogItem, Label, MtiItem, RuleActionItem } from "./fraud_catalogs_types";
|
|
6
|
+
export declare const protobufPackage = "kapital.fraud_catalogs.v1";
|
|
7
|
+
export interface GetCatalogListRequest {
|
|
8
|
+
page_request: PageRequest | undefined;
|
|
9
|
+
catalog_type: string;
|
|
10
|
+
institution_id: string;
|
|
11
|
+
search: string;
|
|
12
|
+
sort_by: string;
|
|
13
|
+
descending: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface GetCatalogListResponse {
|
|
16
|
+
meta: ResponseMeta | undefined;
|
|
17
|
+
page_response: PageResponse | undefined;
|
|
18
|
+
items: CatalogItem[];
|
|
19
|
+
}
|
|
20
|
+
export interface GetCatalogByIdRequest {
|
|
21
|
+
catalog_type: string;
|
|
22
|
+
catalog_id: string;
|
|
23
|
+
}
|
|
24
|
+
export interface GetCatalogByIdResponse {
|
|
25
|
+
meta: ResponseMeta | undefined;
|
|
26
|
+
item: CatalogItem | undefined;
|
|
27
|
+
}
|
|
28
|
+
export interface CreateUpdateCatalogRequest {
|
|
29
|
+
catalog_type: string;
|
|
30
|
+
catalog_id: string;
|
|
31
|
+
value: string;
|
|
32
|
+
label: Label | undefined;
|
|
33
|
+
code: string;
|
|
34
|
+
a2: string;
|
|
35
|
+
a3: string;
|
|
36
|
+
n: string;
|
|
37
|
+
institution_id: string;
|
|
38
|
+
user_id: string;
|
|
39
|
+
}
|
|
40
|
+
export interface CreateUpdateCatalogResponse {
|
|
41
|
+
meta: ResponseMeta | undefined;
|
|
42
|
+
item: CatalogItem | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface DeleteCatalogRequest {
|
|
45
|
+
catalog_type: string;
|
|
46
|
+
catalog_id: string;
|
|
47
|
+
user_id: string;
|
|
48
|
+
}
|
|
49
|
+
export interface DeleteCatalogResponse {
|
|
50
|
+
meta: ResponseMeta | undefined;
|
|
51
|
+
}
|
|
52
|
+
export interface GetCatalogInfoRequest {
|
|
53
|
+
catalog_type: string;
|
|
54
|
+
institution_id: string;
|
|
55
|
+
}
|
|
56
|
+
export interface GetCatalogInfoResponse {
|
|
57
|
+
meta: ResponseMeta | undefined;
|
|
58
|
+
info: CatalogInfo | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface GetResponseCodesRequest {
|
|
61
|
+
}
|
|
62
|
+
export interface GetResponseCodesResponse {
|
|
63
|
+
meta: ResponseMeta | undefined;
|
|
64
|
+
total: number;
|
|
65
|
+
items: CatalogItem[];
|
|
66
|
+
}
|
|
67
|
+
export interface GetFraudStatusesRequest {
|
|
68
|
+
}
|
|
69
|
+
export interface GetFraudStatusesResponse {
|
|
70
|
+
meta: ResponseMeta | undefined;
|
|
71
|
+
total: number;
|
|
72
|
+
items: CatalogItem[];
|
|
73
|
+
}
|
|
74
|
+
export interface GetCurrenciesRequest {
|
|
75
|
+
institution_id: string;
|
|
76
|
+
}
|
|
77
|
+
export interface GetCurrenciesResponse {
|
|
78
|
+
meta: ResponseMeta | undefined;
|
|
79
|
+
total: number;
|
|
80
|
+
items: CurrencyItem[];
|
|
81
|
+
}
|
|
82
|
+
export interface GetMccCatalogRequest {
|
|
83
|
+
institution_id: string;
|
|
84
|
+
}
|
|
85
|
+
export interface GetMccCatalogResponse {
|
|
86
|
+
meta: ResponseMeta | undefined;
|
|
87
|
+
total: number;
|
|
88
|
+
items: CatalogItem[];
|
|
89
|
+
}
|
|
90
|
+
export interface GetGeolocationsRequest {
|
|
91
|
+
institution_id: string;
|
|
92
|
+
}
|
|
93
|
+
export interface GetGeolocationsResponse {
|
|
94
|
+
meta: ResponseMeta | undefined;
|
|
95
|
+
total: number;
|
|
96
|
+
items: GeolocationItem[];
|
|
97
|
+
}
|
|
98
|
+
export interface GetMtiCatalogRequest {
|
|
99
|
+
institution_id: string;
|
|
100
|
+
}
|
|
101
|
+
export interface GetMtiCatalogResponse {
|
|
102
|
+
meta: ResponseMeta | undefined;
|
|
103
|
+
total: number;
|
|
104
|
+
items: MtiItem[];
|
|
105
|
+
}
|
|
106
|
+
export interface GetGroupTypeCatalogsRequest {
|
|
107
|
+
}
|
|
108
|
+
export interface GetGroupTypeCatalogsResponse {
|
|
109
|
+
meta: ResponseMeta | undefined;
|
|
110
|
+
total: number;
|
|
111
|
+
items: GroupTypeCatalogItem[];
|
|
112
|
+
}
|
|
113
|
+
export interface GetRuleActionsRequest {
|
|
114
|
+
institution_id: string;
|
|
115
|
+
}
|
|
116
|
+
export interface GetRuleActionsResponse {
|
|
117
|
+
meta: ResponseMeta | undefined;
|
|
118
|
+
total: number;
|
|
119
|
+
items: RuleActionItem[];
|
|
120
|
+
}
|
|
121
|
+
export interface ExportCatalogRequest {
|
|
122
|
+
catalog_type: string;
|
|
123
|
+
institution_id: string;
|
|
124
|
+
search: string;
|
|
125
|
+
sort_by: string;
|
|
126
|
+
descending: boolean;
|
|
127
|
+
}
|
|
128
|
+
export interface ExportCatalogResponse {
|
|
129
|
+
meta: ResponseMeta | undefined;
|
|
130
|
+
file_data: Buffer;
|
|
131
|
+
file_name: string;
|
|
132
|
+
}
|
|
133
|
+
export declare const GetCatalogListRequest: MessageFns<GetCatalogListRequest>;
|
|
134
|
+
export declare const GetCatalogListResponse: MessageFns<GetCatalogListResponse>;
|
|
135
|
+
export declare const GetCatalogByIdRequest: MessageFns<GetCatalogByIdRequest>;
|
|
136
|
+
export declare const GetCatalogByIdResponse: MessageFns<GetCatalogByIdResponse>;
|
|
137
|
+
export declare const CreateUpdateCatalogRequest: MessageFns<CreateUpdateCatalogRequest>;
|
|
138
|
+
export declare const CreateUpdateCatalogResponse: MessageFns<CreateUpdateCatalogResponse>;
|
|
139
|
+
export declare const DeleteCatalogRequest: MessageFns<DeleteCatalogRequest>;
|
|
140
|
+
export declare const DeleteCatalogResponse: MessageFns<DeleteCatalogResponse>;
|
|
141
|
+
export declare const GetCatalogInfoRequest: MessageFns<GetCatalogInfoRequest>;
|
|
142
|
+
export declare const GetCatalogInfoResponse: MessageFns<GetCatalogInfoResponse>;
|
|
143
|
+
export declare const GetResponseCodesRequest: MessageFns<GetResponseCodesRequest>;
|
|
144
|
+
export declare const GetResponseCodesResponse: MessageFns<GetResponseCodesResponse>;
|
|
145
|
+
export declare const GetFraudStatusesRequest: MessageFns<GetFraudStatusesRequest>;
|
|
146
|
+
export declare const GetFraudStatusesResponse: MessageFns<GetFraudStatusesResponse>;
|
|
147
|
+
export declare const GetCurrenciesRequest: MessageFns<GetCurrenciesRequest>;
|
|
148
|
+
export declare const GetCurrenciesResponse: MessageFns<GetCurrenciesResponse>;
|
|
149
|
+
export declare const GetMccCatalogRequest: MessageFns<GetMccCatalogRequest>;
|
|
150
|
+
export declare const GetMccCatalogResponse: MessageFns<GetMccCatalogResponse>;
|
|
151
|
+
export declare const GetGeolocationsRequest: MessageFns<GetGeolocationsRequest>;
|
|
152
|
+
export declare const GetGeolocationsResponse: MessageFns<GetGeolocationsResponse>;
|
|
153
|
+
export declare const GetMtiCatalogRequest: MessageFns<GetMtiCatalogRequest>;
|
|
154
|
+
export declare const GetMtiCatalogResponse: MessageFns<GetMtiCatalogResponse>;
|
|
155
|
+
export declare const GetGroupTypeCatalogsRequest: MessageFns<GetGroupTypeCatalogsRequest>;
|
|
156
|
+
export declare const GetGroupTypeCatalogsResponse: MessageFns<GetGroupTypeCatalogsResponse>;
|
|
157
|
+
export declare const GetRuleActionsRequest: MessageFns<GetRuleActionsRequest>;
|
|
158
|
+
export declare const GetRuleActionsResponse: MessageFns<GetRuleActionsResponse>;
|
|
159
|
+
export declare const ExportCatalogRequest: MessageFns<ExportCatalogRequest>;
|
|
160
|
+
export declare const ExportCatalogResponse: MessageFns<ExportCatalogResponse>;
|
|
161
|
+
export type FraudCatalogsServiceService = typeof FraudCatalogsServiceService;
|
|
162
|
+
export declare const FraudCatalogsServiceService: {
|
|
163
|
+
readonly getCatalogList: {
|
|
164
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetCatalogList";
|
|
165
|
+
readonly requestStream: false;
|
|
166
|
+
readonly responseStream: false;
|
|
167
|
+
readonly requestSerialize: (value: GetCatalogListRequest) => Buffer;
|
|
168
|
+
readonly requestDeserialize: (value: Buffer) => GetCatalogListRequest;
|
|
169
|
+
readonly responseSerialize: (value: GetCatalogListResponse) => Buffer;
|
|
170
|
+
readonly responseDeserialize: (value: Buffer) => GetCatalogListResponse;
|
|
171
|
+
};
|
|
172
|
+
readonly getCatalogById: {
|
|
173
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetCatalogById";
|
|
174
|
+
readonly requestStream: false;
|
|
175
|
+
readonly responseStream: false;
|
|
176
|
+
readonly requestSerialize: (value: GetCatalogByIdRequest) => Buffer;
|
|
177
|
+
readonly requestDeserialize: (value: Buffer) => GetCatalogByIdRequest;
|
|
178
|
+
readonly responseSerialize: (value: GetCatalogByIdResponse) => Buffer;
|
|
179
|
+
readonly responseDeserialize: (value: Buffer) => GetCatalogByIdResponse;
|
|
180
|
+
};
|
|
181
|
+
readonly createUpdateCatalog: {
|
|
182
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/CreateUpdateCatalog";
|
|
183
|
+
readonly requestStream: false;
|
|
184
|
+
readonly responseStream: false;
|
|
185
|
+
readonly requestSerialize: (value: CreateUpdateCatalogRequest) => Buffer;
|
|
186
|
+
readonly requestDeserialize: (value: Buffer) => CreateUpdateCatalogRequest;
|
|
187
|
+
readonly responseSerialize: (value: CreateUpdateCatalogResponse) => Buffer;
|
|
188
|
+
readonly responseDeserialize: (value: Buffer) => CreateUpdateCatalogResponse;
|
|
189
|
+
};
|
|
190
|
+
readonly deleteCatalog: {
|
|
191
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/DeleteCatalog";
|
|
192
|
+
readonly requestStream: false;
|
|
193
|
+
readonly responseStream: false;
|
|
194
|
+
readonly requestSerialize: (value: DeleteCatalogRequest) => Buffer;
|
|
195
|
+
readonly requestDeserialize: (value: Buffer) => DeleteCatalogRequest;
|
|
196
|
+
readonly responseSerialize: (value: DeleteCatalogResponse) => Buffer;
|
|
197
|
+
readonly responseDeserialize: (value: Buffer) => DeleteCatalogResponse;
|
|
198
|
+
};
|
|
199
|
+
readonly getCatalogInfo: {
|
|
200
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetCatalogInfo";
|
|
201
|
+
readonly requestStream: false;
|
|
202
|
+
readonly responseStream: false;
|
|
203
|
+
readonly requestSerialize: (value: GetCatalogInfoRequest) => Buffer;
|
|
204
|
+
readonly requestDeserialize: (value: Buffer) => GetCatalogInfoRequest;
|
|
205
|
+
readonly responseSerialize: (value: GetCatalogInfoResponse) => Buffer;
|
|
206
|
+
readonly responseDeserialize: (value: Buffer) => GetCatalogInfoResponse;
|
|
207
|
+
};
|
|
208
|
+
readonly getResponseCodes: {
|
|
209
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetResponseCodes";
|
|
210
|
+
readonly requestStream: false;
|
|
211
|
+
readonly responseStream: false;
|
|
212
|
+
readonly requestSerialize: (value: GetResponseCodesRequest) => Buffer;
|
|
213
|
+
readonly requestDeserialize: (value: Buffer) => GetResponseCodesRequest;
|
|
214
|
+
readonly responseSerialize: (value: GetResponseCodesResponse) => Buffer;
|
|
215
|
+
readonly responseDeserialize: (value: Buffer) => GetResponseCodesResponse;
|
|
216
|
+
};
|
|
217
|
+
readonly getFraudStatuses: {
|
|
218
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetFraudStatuses";
|
|
219
|
+
readonly requestStream: false;
|
|
220
|
+
readonly responseStream: false;
|
|
221
|
+
readonly requestSerialize: (value: GetFraudStatusesRequest) => Buffer;
|
|
222
|
+
readonly requestDeserialize: (value: Buffer) => GetFraudStatusesRequest;
|
|
223
|
+
readonly responseSerialize: (value: GetFraudStatusesResponse) => Buffer;
|
|
224
|
+
readonly responseDeserialize: (value: Buffer) => GetFraudStatusesResponse;
|
|
225
|
+
};
|
|
226
|
+
readonly getCurrencies: {
|
|
227
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetCurrencies";
|
|
228
|
+
readonly requestStream: false;
|
|
229
|
+
readonly responseStream: false;
|
|
230
|
+
readonly requestSerialize: (value: GetCurrenciesRequest) => Buffer;
|
|
231
|
+
readonly requestDeserialize: (value: Buffer) => GetCurrenciesRequest;
|
|
232
|
+
readonly responseSerialize: (value: GetCurrenciesResponse) => Buffer;
|
|
233
|
+
readonly responseDeserialize: (value: Buffer) => GetCurrenciesResponse;
|
|
234
|
+
};
|
|
235
|
+
readonly getMccCatalog: {
|
|
236
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetMccCatalog";
|
|
237
|
+
readonly requestStream: false;
|
|
238
|
+
readonly responseStream: false;
|
|
239
|
+
readonly requestSerialize: (value: GetMccCatalogRequest) => Buffer;
|
|
240
|
+
readonly requestDeserialize: (value: Buffer) => GetMccCatalogRequest;
|
|
241
|
+
readonly responseSerialize: (value: GetMccCatalogResponse) => Buffer;
|
|
242
|
+
readonly responseDeserialize: (value: Buffer) => GetMccCatalogResponse;
|
|
243
|
+
};
|
|
244
|
+
readonly getGeolocations: {
|
|
245
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetGeolocations";
|
|
246
|
+
readonly requestStream: false;
|
|
247
|
+
readonly responseStream: false;
|
|
248
|
+
readonly requestSerialize: (value: GetGeolocationsRequest) => Buffer;
|
|
249
|
+
readonly requestDeserialize: (value: Buffer) => GetGeolocationsRequest;
|
|
250
|
+
readonly responseSerialize: (value: GetGeolocationsResponse) => Buffer;
|
|
251
|
+
readonly responseDeserialize: (value: Buffer) => GetGeolocationsResponse;
|
|
252
|
+
};
|
|
253
|
+
readonly getMtiCatalog: {
|
|
254
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetMtiCatalog";
|
|
255
|
+
readonly requestStream: false;
|
|
256
|
+
readonly responseStream: false;
|
|
257
|
+
readonly requestSerialize: (value: GetMtiCatalogRequest) => Buffer;
|
|
258
|
+
readonly requestDeserialize: (value: Buffer) => GetMtiCatalogRequest;
|
|
259
|
+
readonly responseSerialize: (value: GetMtiCatalogResponse) => Buffer;
|
|
260
|
+
readonly responseDeserialize: (value: Buffer) => GetMtiCatalogResponse;
|
|
261
|
+
};
|
|
262
|
+
readonly getGroupTypeCatalogs: {
|
|
263
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetGroupTypeCatalogs";
|
|
264
|
+
readonly requestStream: false;
|
|
265
|
+
readonly responseStream: false;
|
|
266
|
+
readonly requestSerialize: (value: GetGroupTypeCatalogsRequest) => Buffer;
|
|
267
|
+
readonly requestDeserialize: (value: Buffer) => GetGroupTypeCatalogsRequest;
|
|
268
|
+
readonly responseSerialize: (value: GetGroupTypeCatalogsResponse) => Buffer;
|
|
269
|
+
readonly responseDeserialize: (value: Buffer) => GetGroupTypeCatalogsResponse;
|
|
270
|
+
};
|
|
271
|
+
readonly getRuleActions: {
|
|
272
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/GetRuleActions";
|
|
273
|
+
readonly requestStream: false;
|
|
274
|
+
readonly responseStream: false;
|
|
275
|
+
readonly requestSerialize: (value: GetRuleActionsRequest) => Buffer;
|
|
276
|
+
readonly requestDeserialize: (value: Buffer) => GetRuleActionsRequest;
|
|
277
|
+
readonly responseSerialize: (value: GetRuleActionsResponse) => Buffer;
|
|
278
|
+
readonly responseDeserialize: (value: Buffer) => GetRuleActionsResponse;
|
|
279
|
+
};
|
|
280
|
+
readonly exportCatalog: {
|
|
281
|
+
readonly path: "/kapital.fraud_catalogs.v1.FraudCatalogsService/ExportCatalog";
|
|
282
|
+
readonly requestStream: false;
|
|
283
|
+
readonly responseStream: false;
|
|
284
|
+
readonly requestSerialize: (value: ExportCatalogRequest) => Buffer;
|
|
285
|
+
readonly requestDeserialize: (value: Buffer) => ExportCatalogRequest;
|
|
286
|
+
readonly responseSerialize: (value: ExportCatalogResponse) => Buffer;
|
|
287
|
+
readonly responseDeserialize: (value: Buffer) => ExportCatalogResponse;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
export interface FraudCatalogsServiceServer extends UntypedServiceImplementation {
|
|
291
|
+
getCatalogList: handleUnaryCall<GetCatalogListRequest, GetCatalogListResponse>;
|
|
292
|
+
getCatalogById: handleUnaryCall<GetCatalogByIdRequest, GetCatalogByIdResponse>;
|
|
293
|
+
createUpdateCatalog: handleUnaryCall<CreateUpdateCatalogRequest, CreateUpdateCatalogResponse>;
|
|
294
|
+
deleteCatalog: handleUnaryCall<DeleteCatalogRequest, DeleteCatalogResponse>;
|
|
295
|
+
getCatalogInfo: handleUnaryCall<GetCatalogInfoRequest, GetCatalogInfoResponse>;
|
|
296
|
+
getResponseCodes: handleUnaryCall<GetResponseCodesRequest, GetResponseCodesResponse>;
|
|
297
|
+
getFraudStatuses: handleUnaryCall<GetFraudStatusesRequest, GetFraudStatusesResponse>;
|
|
298
|
+
getCurrencies: handleUnaryCall<GetCurrenciesRequest, GetCurrenciesResponse>;
|
|
299
|
+
getMccCatalog: handleUnaryCall<GetMccCatalogRequest, GetMccCatalogResponse>;
|
|
300
|
+
getGeolocations: handleUnaryCall<GetGeolocationsRequest, GetGeolocationsResponse>;
|
|
301
|
+
getMtiCatalog: handleUnaryCall<GetMtiCatalogRequest, GetMtiCatalogResponse>;
|
|
302
|
+
getGroupTypeCatalogs: handleUnaryCall<GetGroupTypeCatalogsRequest, GetGroupTypeCatalogsResponse>;
|
|
303
|
+
getRuleActions: handleUnaryCall<GetRuleActionsRequest, GetRuleActionsResponse>;
|
|
304
|
+
exportCatalog: handleUnaryCall<ExportCatalogRequest, ExportCatalogResponse>;
|
|
305
|
+
}
|
|
306
|
+
export interface FraudCatalogsServiceClient extends Client {
|
|
307
|
+
getCatalogList(request: GetCatalogListRequest, callback: (error: ServiceError | null, response: GetCatalogListResponse) => void): ClientUnaryCall;
|
|
308
|
+
getCatalogList(request: GetCatalogListRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatalogListResponse) => void): ClientUnaryCall;
|
|
309
|
+
getCatalogList(request: GetCatalogListRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatalogListResponse) => void): ClientUnaryCall;
|
|
310
|
+
getCatalogById(request: GetCatalogByIdRequest, callback: (error: ServiceError | null, response: GetCatalogByIdResponse) => void): ClientUnaryCall;
|
|
311
|
+
getCatalogById(request: GetCatalogByIdRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatalogByIdResponse) => void): ClientUnaryCall;
|
|
312
|
+
getCatalogById(request: GetCatalogByIdRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatalogByIdResponse) => void): ClientUnaryCall;
|
|
313
|
+
createUpdateCatalog(request: CreateUpdateCatalogRequest, callback: (error: ServiceError | null, response: CreateUpdateCatalogResponse) => void): ClientUnaryCall;
|
|
314
|
+
createUpdateCatalog(request: CreateUpdateCatalogRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CreateUpdateCatalogResponse) => void): ClientUnaryCall;
|
|
315
|
+
createUpdateCatalog(request: CreateUpdateCatalogRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CreateUpdateCatalogResponse) => void): ClientUnaryCall;
|
|
316
|
+
deleteCatalog(request: DeleteCatalogRequest, callback: (error: ServiceError | null, response: DeleteCatalogResponse) => void): ClientUnaryCall;
|
|
317
|
+
deleteCatalog(request: DeleteCatalogRequest, metadata: Metadata, callback: (error: ServiceError | null, response: DeleteCatalogResponse) => void): ClientUnaryCall;
|
|
318
|
+
deleteCatalog(request: DeleteCatalogRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: DeleteCatalogResponse) => void): ClientUnaryCall;
|
|
319
|
+
getCatalogInfo(request: GetCatalogInfoRequest, callback: (error: ServiceError | null, response: GetCatalogInfoResponse) => void): ClientUnaryCall;
|
|
320
|
+
getCatalogInfo(request: GetCatalogInfoRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatalogInfoResponse) => void): ClientUnaryCall;
|
|
321
|
+
getCatalogInfo(request: GetCatalogInfoRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatalogInfoResponse) => void): ClientUnaryCall;
|
|
322
|
+
getResponseCodes(request: GetResponseCodesRequest, callback: (error: ServiceError | null, response: GetResponseCodesResponse) => void): ClientUnaryCall;
|
|
323
|
+
getResponseCodes(request: GetResponseCodesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetResponseCodesResponse) => void): ClientUnaryCall;
|
|
324
|
+
getResponseCodes(request: GetResponseCodesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetResponseCodesResponse) => void): ClientUnaryCall;
|
|
325
|
+
getFraudStatuses(request: GetFraudStatusesRequest, callback: (error: ServiceError | null, response: GetFraudStatusesResponse) => void): ClientUnaryCall;
|
|
326
|
+
getFraudStatuses(request: GetFraudStatusesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetFraudStatusesResponse) => void): ClientUnaryCall;
|
|
327
|
+
getFraudStatuses(request: GetFraudStatusesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetFraudStatusesResponse) => void): ClientUnaryCall;
|
|
328
|
+
getCurrencies(request: GetCurrenciesRequest, callback: (error: ServiceError | null, response: GetCurrenciesResponse) => void): ClientUnaryCall;
|
|
329
|
+
getCurrencies(request: GetCurrenciesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCurrenciesResponse) => void): ClientUnaryCall;
|
|
330
|
+
getCurrencies(request: GetCurrenciesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCurrenciesResponse) => void): ClientUnaryCall;
|
|
331
|
+
getMccCatalog(request: GetMccCatalogRequest, callback: (error: ServiceError | null, response: GetMccCatalogResponse) => void): ClientUnaryCall;
|
|
332
|
+
getMccCatalog(request: GetMccCatalogRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetMccCatalogResponse) => void): ClientUnaryCall;
|
|
333
|
+
getMccCatalog(request: GetMccCatalogRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetMccCatalogResponse) => void): ClientUnaryCall;
|
|
334
|
+
getGeolocations(request: GetGeolocationsRequest, callback: (error: ServiceError | null, response: GetGeolocationsResponse) => void): ClientUnaryCall;
|
|
335
|
+
getGeolocations(request: GetGeolocationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetGeolocationsResponse) => void): ClientUnaryCall;
|
|
336
|
+
getGeolocations(request: GetGeolocationsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetGeolocationsResponse) => void): ClientUnaryCall;
|
|
337
|
+
getMtiCatalog(request: GetMtiCatalogRequest, callback: (error: ServiceError | null, response: GetMtiCatalogResponse) => void): ClientUnaryCall;
|
|
338
|
+
getMtiCatalog(request: GetMtiCatalogRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetMtiCatalogResponse) => void): ClientUnaryCall;
|
|
339
|
+
getMtiCatalog(request: GetMtiCatalogRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetMtiCatalogResponse) => void): ClientUnaryCall;
|
|
340
|
+
getGroupTypeCatalogs(request: GetGroupTypeCatalogsRequest, callback: (error: ServiceError | null, response: GetGroupTypeCatalogsResponse) => void): ClientUnaryCall;
|
|
341
|
+
getGroupTypeCatalogs(request: GetGroupTypeCatalogsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetGroupTypeCatalogsResponse) => void): ClientUnaryCall;
|
|
342
|
+
getGroupTypeCatalogs(request: GetGroupTypeCatalogsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetGroupTypeCatalogsResponse) => void): ClientUnaryCall;
|
|
343
|
+
getRuleActions(request: GetRuleActionsRequest, callback: (error: ServiceError | null, response: GetRuleActionsResponse) => void): ClientUnaryCall;
|
|
344
|
+
getRuleActions(request: GetRuleActionsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetRuleActionsResponse) => void): ClientUnaryCall;
|
|
345
|
+
getRuleActions(request: GetRuleActionsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetRuleActionsResponse) => void): ClientUnaryCall;
|
|
346
|
+
exportCatalog(request: ExportCatalogRequest, callback: (error: ServiceError | null, response: ExportCatalogResponse) => void): ClientUnaryCall;
|
|
347
|
+
exportCatalog(request: ExportCatalogRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ExportCatalogResponse) => void): ClientUnaryCall;
|
|
348
|
+
exportCatalog(request: ExportCatalogRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ExportCatalogResponse) => void): ClientUnaryCall;
|
|
349
|
+
}
|
|
350
|
+
export declare const FraudCatalogsServiceClient: {
|
|
351
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): FraudCatalogsServiceClient;
|
|
352
|
+
service: typeof FraudCatalogsServiceService;
|
|
353
|
+
serviceName: string;
|
|
354
|
+
};
|
|
355
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
356
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
357
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
358
|
+
} : Partial<T>;
|
|
359
|
+
export interface MessageFns<T> {
|
|
360
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
361
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
362
|
+
create(base?: DeepPartial<T>): T;
|
|
363
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
364
|
+
}
|
|
365
|
+
export {};
|