@alexochihua/protos 1.0.26 → 1.0.29
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 +23 -15
- package/dist/generated/kapital/contracts/v1/contracts.js +118 -20
- package/dist/generated/kapital/contracts/v1/contracts.js.map +1 -1
- package/dist/generated/kapital/fraud_groups/v1/fraud_groups_types.d.ts +2 -0
- package/dist/generated/kapital/fraud_groups/v1/fraud_groups_types.js +24 -0
- package/dist/generated/kapital/fraud_groups/v1/fraud_groups_types.js.map +1 -1
- package/package.json +1 -1
- package/proto/kapital/contracts/v1/contracts.proto +12 -4
- package/proto/kapital/fraud_groups/v1/fraud_groups_types.proto +2 -0
|
@@ -185,24 +185,32 @@ export interface CreateVirtualCardContractResponse {
|
|
|
185
185
|
cip: CIP[];
|
|
186
186
|
billing_cycle_day: number;
|
|
187
187
|
}
|
|
188
|
-
/** ==================
|
|
189
|
-
export interface
|
|
188
|
+
/** ================== CheckContract ================== */
|
|
189
|
+
export interface CheckContractRequest {
|
|
190
190
|
contract_id: string;
|
|
191
191
|
}
|
|
192
|
-
export interface
|
|
192
|
+
export interface CheckContractResponse {
|
|
193
193
|
meta: ResponseMeta | undefined;
|
|
194
194
|
contract_id: string;
|
|
195
195
|
exists: boolean;
|
|
196
|
+
customer_id?: string | undefined;
|
|
197
|
+
contract_number?: string | undefined;
|
|
198
|
+
clabe?: string | undefined;
|
|
199
|
+
product_key?: string | undefined;
|
|
200
|
+
product_type?: string | undefined;
|
|
201
|
+
currencies: string[];
|
|
196
202
|
}
|
|
197
203
|
/** ================== AddBalance ================== */
|
|
198
204
|
export interface AddBalanceRequest {
|
|
199
205
|
contract_id: string;
|
|
200
206
|
amount: number;
|
|
207
|
+
currency: string;
|
|
201
208
|
}
|
|
202
209
|
export interface AddBalanceResponse {
|
|
203
210
|
meta: ResponseMeta | undefined;
|
|
204
211
|
contract_id: string;
|
|
205
212
|
balance: number;
|
|
213
|
+
currency: string;
|
|
206
214
|
}
|
|
207
215
|
/** ================== GetBalance ================== */
|
|
208
216
|
export interface GetBalanceRequest {
|
|
@@ -482,8 +490,8 @@ export declare const CreatePhysicalCardContractRequest: MessageFns<CreatePhysica
|
|
|
482
490
|
export declare const CreatePhysicalCardContractResponse: MessageFns<CreatePhysicalCardContractResponse>;
|
|
483
491
|
export declare const CreateVirtualCardContractRequest: MessageFns<CreateVirtualCardContractRequest>;
|
|
484
492
|
export declare const CreateVirtualCardContractResponse: MessageFns<CreateVirtualCardContractResponse>;
|
|
485
|
-
export declare const
|
|
486
|
-
export declare const
|
|
493
|
+
export declare const CheckContractRequest: MessageFns<CheckContractRequest>;
|
|
494
|
+
export declare const CheckContractResponse: MessageFns<CheckContractResponse>;
|
|
487
495
|
export declare const AddBalanceRequest: MessageFns<AddBalanceRequest>;
|
|
488
496
|
export declare const AddBalanceResponse: MessageFns<AddBalanceResponse>;
|
|
489
497
|
export declare const GetBalanceRequest: MessageFns<GetBalanceRequest>;
|
|
@@ -549,14 +557,14 @@ export declare const ContractsServiceService: {
|
|
|
549
557
|
readonly responseSerialize: (value: CreateVirtualCardContractResponse) => Buffer;
|
|
550
558
|
readonly responseDeserialize: (value: Buffer) => CreateVirtualCardContractResponse;
|
|
551
559
|
};
|
|
552
|
-
readonly
|
|
553
|
-
readonly path: "/kapital.contracts.v1.ContractsService/
|
|
560
|
+
readonly checkContract: {
|
|
561
|
+
readonly path: "/kapital.contracts.v1.ContractsService/CheckContract";
|
|
554
562
|
readonly requestStream: false;
|
|
555
563
|
readonly responseStream: false;
|
|
556
|
-
readonly requestSerialize: (value:
|
|
557
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
558
|
-
readonly responseSerialize: (value:
|
|
559
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
564
|
+
readonly requestSerialize: (value: CheckContractRequest) => Buffer;
|
|
565
|
+
readonly requestDeserialize: (value: Buffer) => CheckContractRequest;
|
|
566
|
+
readonly responseSerialize: (value: CheckContractResponse) => Buffer;
|
|
567
|
+
readonly responseDeserialize: (value: Buffer) => CheckContractResponse;
|
|
560
568
|
};
|
|
561
569
|
readonly addBalance: {
|
|
562
570
|
readonly path: "/kapital.contracts.v1.ContractsService/AddBalance";
|
|
@@ -725,7 +733,7 @@ export interface ContractsServiceServer extends UntypedServiceImplementation {
|
|
|
725
733
|
createContract: handleUnaryCall<CreateContractRequest, CreateContractResponse>;
|
|
726
734
|
createPhysicalCardContract: handleUnaryCall<CreatePhysicalCardContractRequest, CreatePhysicalCardContractResponse>;
|
|
727
735
|
createVirtualCardContract: handleUnaryCall<CreateVirtualCardContractRequest, CreateVirtualCardContractResponse>;
|
|
728
|
-
|
|
736
|
+
checkContract: handleUnaryCall<CheckContractRequest, CheckContractResponse>;
|
|
729
737
|
addBalance: handleUnaryCall<AddBalanceRequest, AddBalanceResponse>;
|
|
730
738
|
getBalance: handleUnaryCall<GetBalanceRequest, GetBalanceResponse>;
|
|
731
739
|
getCustomerIdByContractId: handleUnaryCall<GetCustomerIdByContractIdRequest, GetCustomerIdByContractIdResponse>;
|
|
@@ -755,9 +763,9 @@ export interface ContractsServiceClient extends Client {
|
|
|
755
763
|
createVirtualCardContract(request: CreateVirtualCardContractRequest, callback: (error: ServiceError | null, response: CreateVirtualCardContractResponse) => void): ClientUnaryCall;
|
|
756
764
|
createVirtualCardContract(request: CreateVirtualCardContractRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CreateVirtualCardContractResponse) => void): ClientUnaryCall;
|
|
757
765
|
createVirtualCardContract(request: CreateVirtualCardContractRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CreateVirtualCardContractResponse) => void): ClientUnaryCall;
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
766
|
+
checkContract(request: CheckContractRequest, callback: (error: ServiceError | null, response: CheckContractResponse) => void): ClientUnaryCall;
|
|
767
|
+
checkContract(request: CheckContractRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CheckContractResponse) => void): ClientUnaryCall;
|
|
768
|
+
checkContract(request: CheckContractRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CheckContractResponse) => void): ClientUnaryCall;
|
|
761
769
|
addBalance(request: AddBalanceRequest, callback: (error: ServiceError | null, response: AddBalanceResponse) => void): ClientUnaryCall;
|
|
762
770
|
addBalance(request: AddBalanceRequest, metadata: Metadata, callback: (error: ServiceError | null, response: AddBalanceResponse) => void): ClientUnaryCall;
|
|
763
771
|
addBalance(request: AddBalanceRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: AddBalanceResponse) => void): ClientUnaryCall;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: kapital/contracts/v1/contracts.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ContractsServiceClient = exports.ContractsServiceService = exports.GetHoldsResponse = exports.GetHoldsRequest = exports.GetSavingsInterestResponse = exports.GetSavingsInterestRequest = exports.GetPendingFeesResponse = exports.GetPendingFeesRequest = exports.GetAuthorizationsResponse = exports.GetAuthorizationsRequest = exports.GetTransactionsResponse = exports.GetTransactionsRequest = exports.GetCustomerProfileResponse = exports.GetCustomerProfileRequest = exports.GetContractDataResponse = exports.GetContractDataRequest = exports.ChargeOffContractResponse = exports.ChargeOffContractRequest = exports.SearchContractsResponse = exports.SearchContractsRequest = exports.AddContractResponse = exports.AddContractRequest = exports.VerifyContractResponse = exports.VerifyContractRequest = exports.GetRelatedContractsResponse = exports.GetRelatedContractsRequest = exports.GetContractByIdResponse = exports.GetContractByIdRequest = exports.GetExistsCustomerResponse = exports.GetExistsCustomerRequest = exports.UpdateContractResponse = exports.UpdateContractRequest = exports.GetCustomerIdByContractIdResponse = exports.GetCustomerIdByContractIdRequest = exports.GetBalanceResponse = exports.GetBalanceRequest = exports.AddBalanceResponse = exports.AddBalanceRequest = exports.
|
|
8
|
+
exports.ContractsServiceClient = exports.ContractsServiceService = exports.GetHoldsResponse = exports.GetHoldsRequest = exports.GetSavingsInterestResponse = exports.GetSavingsInterestRequest = exports.GetPendingFeesResponse = exports.GetPendingFeesRequest = exports.GetAuthorizationsResponse = exports.GetAuthorizationsRequest = exports.GetTransactionsResponse = exports.GetTransactionsRequest = exports.GetCustomerProfileResponse = exports.GetCustomerProfileRequest = exports.GetContractDataResponse = exports.GetContractDataRequest = exports.ChargeOffContractResponse = exports.ChargeOffContractRequest = exports.SearchContractsResponse = exports.SearchContractsRequest = exports.AddContractResponse = exports.AddContractRequest = exports.VerifyContractResponse = exports.VerifyContractRequest = exports.GetRelatedContractsResponse = exports.GetRelatedContractsRequest = exports.GetContractByIdResponse = exports.GetContractByIdRequest = exports.GetExistsCustomerResponse = exports.GetExistsCustomerRequest = exports.UpdateContractResponse = exports.UpdateContractRequest = exports.GetCustomerIdByContractIdResponse = exports.GetCustomerIdByContractIdRequest = exports.GetBalanceResponse = exports.GetBalanceRequest = exports.AddBalanceResponse = exports.AddBalanceRequest = exports.CheckContractResponse = exports.CheckContractRequest = exports.CreateVirtualCardContractResponse = exports.CreateVirtualCardContractRequest = exports.CreatePhysicalCardContractResponse = exports.CreatePhysicalCardContractRequest = exports.CreateContractResponse = exports.CreateContractRequest = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
@@ -2208,10 +2208,10 @@ exports.CreateVirtualCardContractResponse = {
|
|
|
2208
2208
|
return message;
|
|
2209
2209
|
},
|
|
2210
2210
|
};
|
|
2211
|
-
function
|
|
2211
|
+
function createBaseCheckContractRequest() {
|
|
2212
2212
|
return { contract_id: "" };
|
|
2213
2213
|
}
|
|
2214
|
-
exports.
|
|
2214
|
+
exports.CheckContractRequest = {
|
|
2215
2215
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2216
2216
|
if (message.contract_id !== "") {
|
|
2217
2217
|
writer.uint32(10).string(message.contract_id);
|
|
@@ -2221,7 +2221,7 @@ exports.GetExistsContractRequest = {
|
|
|
2221
2221
|
decode(input, length) {
|
|
2222
2222
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2223
2223
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2224
|
-
const message =
|
|
2224
|
+
const message = createBaseCheckContractRequest();
|
|
2225
2225
|
while (reader.pos < end) {
|
|
2226
2226
|
const tag = reader.uint32();
|
|
2227
2227
|
switch (tag >>> 3) {
|
|
@@ -2241,18 +2241,28 @@ exports.GetExistsContractRequest = {
|
|
|
2241
2241
|
return message;
|
|
2242
2242
|
},
|
|
2243
2243
|
create(base) {
|
|
2244
|
-
return exports.
|
|
2244
|
+
return exports.CheckContractRequest.fromPartial(base ?? {});
|
|
2245
2245
|
},
|
|
2246
2246
|
fromPartial(object) {
|
|
2247
|
-
const message =
|
|
2247
|
+
const message = createBaseCheckContractRequest();
|
|
2248
2248
|
message.contract_id = object.contract_id ?? "";
|
|
2249
2249
|
return message;
|
|
2250
2250
|
},
|
|
2251
2251
|
};
|
|
2252
|
-
function
|
|
2253
|
-
return {
|
|
2252
|
+
function createBaseCheckContractResponse() {
|
|
2253
|
+
return {
|
|
2254
|
+
meta: undefined,
|
|
2255
|
+
contract_id: "",
|
|
2256
|
+
exists: false,
|
|
2257
|
+
customer_id: undefined,
|
|
2258
|
+
contract_number: undefined,
|
|
2259
|
+
clabe: undefined,
|
|
2260
|
+
product_key: undefined,
|
|
2261
|
+
product_type: undefined,
|
|
2262
|
+
currencies: [],
|
|
2263
|
+
};
|
|
2254
2264
|
}
|
|
2255
|
-
exports.
|
|
2265
|
+
exports.CheckContractResponse = {
|
|
2256
2266
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2257
2267
|
if (message.meta !== undefined) {
|
|
2258
2268
|
meta_1.ResponseMeta.encode(message.meta, writer.uint32(10).fork()).join();
|
|
@@ -2263,12 +2273,30 @@ exports.GetExistsContractResponse = {
|
|
|
2263
2273
|
if (message.exists !== false) {
|
|
2264
2274
|
writer.uint32(24).bool(message.exists);
|
|
2265
2275
|
}
|
|
2276
|
+
if (message.customer_id !== undefined) {
|
|
2277
|
+
writer.uint32(34).string(message.customer_id);
|
|
2278
|
+
}
|
|
2279
|
+
if (message.contract_number !== undefined) {
|
|
2280
|
+
writer.uint32(42).string(message.contract_number);
|
|
2281
|
+
}
|
|
2282
|
+
if (message.clabe !== undefined) {
|
|
2283
|
+
writer.uint32(50).string(message.clabe);
|
|
2284
|
+
}
|
|
2285
|
+
if (message.product_key !== undefined) {
|
|
2286
|
+
writer.uint32(58).string(message.product_key);
|
|
2287
|
+
}
|
|
2288
|
+
if (message.product_type !== undefined) {
|
|
2289
|
+
writer.uint32(66).string(message.product_type);
|
|
2290
|
+
}
|
|
2291
|
+
for (const v of message.currencies) {
|
|
2292
|
+
writer.uint32(74).string(v);
|
|
2293
|
+
}
|
|
2266
2294
|
return writer;
|
|
2267
2295
|
},
|
|
2268
2296
|
decode(input, length) {
|
|
2269
2297
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2270
2298
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2271
|
-
const message =
|
|
2299
|
+
const message = createBaseCheckContractResponse();
|
|
2272
2300
|
while (reader.pos < end) {
|
|
2273
2301
|
const tag = reader.uint32();
|
|
2274
2302
|
switch (tag >>> 3) {
|
|
@@ -2293,6 +2321,48 @@ exports.GetExistsContractResponse = {
|
|
|
2293
2321
|
message.exists = reader.bool();
|
|
2294
2322
|
continue;
|
|
2295
2323
|
}
|
|
2324
|
+
case 4: {
|
|
2325
|
+
if (tag !== 34) {
|
|
2326
|
+
break;
|
|
2327
|
+
}
|
|
2328
|
+
message.customer_id = reader.string();
|
|
2329
|
+
continue;
|
|
2330
|
+
}
|
|
2331
|
+
case 5: {
|
|
2332
|
+
if (tag !== 42) {
|
|
2333
|
+
break;
|
|
2334
|
+
}
|
|
2335
|
+
message.contract_number = reader.string();
|
|
2336
|
+
continue;
|
|
2337
|
+
}
|
|
2338
|
+
case 6: {
|
|
2339
|
+
if (tag !== 50) {
|
|
2340
|
+
break;
|
|
2341
|
+
}
|
|
2342
|
+
message.clabe = reader.string();
|
|
2343
|
+
continue;
|
|
2344
|
+
}
|
|
2345
|
+
case 7: {
|
|
2346
|
+
if (tag !== 58) {
|
|
2347
|
+
break;
|
|
2348
|
+
}
|
|
2349
|
+
message.product_key = reader.string();
|
|
2350
|
+
continue;
|
|
2351
|
+
}
|
|
2352
|
+
case 8: {
|
|
2353
|
+
if (tag !== 66) {
|
|
2354
|
+
break;
|
|
2355
|
+
}
|
|
2356
|
+
message.product_type = reader.string();
|
|
2357
|
+
continue;
|
|
2358
|
+
}
|
|
2359
|
+
case 9: {
|
|
2360
|
+
if (tag !== 74) {
|
|
2361
|
+
break;
|
|
2362
|
+
}
|
|
2363
|
+
message.currencies.push(reader.string());
|
|
2364
|
+
continue;
|
|
2365
|
+
}
|
|
2296
2366
|
}
|
|
2297
2367
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2298
2368
|
break;
|
|
@@ -2302,20 +2372,26 @@ exports.GetExistsContractResponse = {
|
|
|
2302
2372
|
return message;
|
|
2303
2373
|
},
|
|
2304
2374
|
create(base) {
|
|
2305
|
-
return exports.
|
|
2375
|
+
return exports.CheckContractResponse.fromPartial(base ?? {});
|
|
2306
2376
|
},
|
|
2307
2377
|
fromPartial(object) {
|
|
2308
|
-
const message =
|
|
2378
|
+
const message = createBaseCheckContractResponse();
|
|
2309
2379
|
message.meta = (object.meta !== undefined && object.meta !== null)
|
|
2310
2380
|
? meta_1.ResponseMeta.fromPartial(object.meta)
|
|
2311
2381
|
: undefined;
|
|
2312
2382
|
message.contract_id = object.contract_id ?? "";
|
|
2313
2383
|
message.exists = object.exists ?? false;
|
|
2384
|
+
message.customer_id = object.customer_id ?? undefined;
|
|
2385
|
+
message.contract_number = object.contract_number ?? undefined;
|
|
2386
|
+
message.clabe = object.clabe ?? undefined;
|
|
2387
|
+
message.product_key = object.product_key ?? undefined;
|
|
2388
|
+
message.product_type = object.product_type ?? undefined;
|
|
2389
|
+
message.currencies = object.currencies?.map((e) => e) || [];
|
|
2314
2390
|
return message;
|
|
2315
2391
|
},
|
|
2316
2392
|
};
|
|
2317
2393
|
function createBaseAddBalanceRequest() {
|
|
2318
|
-
return { contract_id: "", amount: 0 };
|
|
2394
|
+
return { contract_id: "", amount: 0, currency: "" };
|
|
2319
2395
|
}
|
|
2320
2396
|
exports.AddBalanceRequest = {
|
|
2321
2397
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -2325,6 +2401,9 @@ exports.AddBalanceRequest = {
|
|
|
2325
2401
|
if (message.amount !== 0) {
|
|
2326
2402
|
writer.uint32(17).double(message.amount);
|
|
2327
2403
|
}
|
|
2404
|
+
if (message.currency !== "") {
|
|
2405
|
+
writer.uint32(26).string(message.currency);
|
|
2406
|
+
}
|
|
2328
2407
|
return writer;
|
|
2329
2408
|
},
|
|
2330
2409
|
decode(input, length) {
|
|
@@ -2348,6 +2427,13 @@ exports.AddBalanceRequest = {
|
|
|
2348
2427
|
message.amount = reader.double();
|
|
2349
2428
|
continue;
|
|
2350
2429
|
}
|
|
2430
|
+
case 3: {
|
|
2431
|
+
if (tag !== 26) {
|
|
2432
|
+
break;
|
|
2433
|
+
}
|
|
2434
|
+
message.currency = reader.string();
|
|
2435
|
+
continue;
|
|
2436
|
+
}
|
|
2351
2437
|
}
|
|
2352
2438
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2353
2439
|
break;
|
|
@@ -2363,11 +2449,12 @@ exports.AddBalanceRequest = {
|
|
|
2363
2449
|
const message = createBaseAddBalanceRequest();
|
|
2364
2450
|
message.contract_id = object.contract_id ?? "";
|
|
2365
2451
|
message.amount = object.amount ?? 0;
|
|
2452
|
+
message.currency = object.currency ?? "";
|
|
2366
2453
|
return message;
|
|
2367
2454
|
},
|
|
2368
2455
|
};
|
|
2369
2456
|
function createBaseAddBalanceResponse() {
|
|
2370
|
-
return { meta: undefined, contract_id: "", balance: 0 };
|
|
2457
|
+
return { meta: undefined, contract_id: "", balance: 0, currency: "" };
|
|
2371
2458
|
}
|
|
2372
2459
|
exports.AddBalanceResponse = {
|
|
2373
2460
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -2380,6 +2467,9 @@ exports.AddBalanceResponse = {
|
|
|
2380
2467
|
if (message.balance !== 0) {
|
|
2381
2468
|
writer.uint32(25).double(message.balance);
|
|
2382
2469
|
}
|
|
2470
|
+
if (message.currency !== "") {
|
|
2471
|
+
writer.uint32(34).string(message.currency);
|
|
2472
|
+
}
|
|
2383
2473
|
return writer;
|
|
2384
2474
|
},
|
|
2385
2475
|
decode(input, length) {
|
|
@@ -2410,6 +2500,13 @@ exports.AddBalanceResponse = {
|
|
|
2410
2500
|
message.balance = reader.double();
|
|
2411
2501
|
continue;
|
|
2412
2502
|
}
|
|
2503
|
+
case 4: {
|
|
2504
|
+
if (tag !== 34) {
|
|
2505
|
+
break;
|
|
2506
|
+
}
|
|
2507
|
+
message.currency = reader.string();
|
|
2508
|
+
continue;
|
|
2509
|
+
}
|
|
2413
2510
|
}
|
|
2414
2511
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2415
2512
|
break;
|
|
@@ -2428,6 +2525,7 @@ exports.AddBalanceResponse = {
|
|
|
2428
2525
|
: undefined;
|
|
2429
2526
|
message.contract_id = object.contract_id ?? "";
|
|
2430
2527
|
message.balance = object.balance ?? 0;
|
|
2528
|
+
message.currency = object.currency ?? "";
|
|
2431
2529
|
return message;
|
|
2432
2530
|
},
|
|
2433
2531
|
};
|
|
@@ -5688,14 +5786,14 @@ exports.ContractsServiceService = {
|
|
|
5688
5786
|
responseSerialize: (value) => Buffer.from(exports.CreateVirtualCardContractResponse.encode(value).finish()),
|
|
5689
5787
|
responseDeserialize: (value) => exports.CreateVirtualCardContractResponse.decode(value),
|
|
5690
5788
|
},
|
|
5691
|
-
|
|
5692
|
-
path: "/kapital.contracts.v1.ContractsService/
|
|
5789
|
+
checkContract: {
|
|
5790
|
+
path: "/kapital.contracts.v1.ContractsService/CheckContract",
|
|
5693
5791
|
requestStream: false,
|
|
5694
5792
|
responseStream: false,
|
|
5695
|
-
requestSerialize: (value) => Buffer.from(exports.
|
|
5696
|
-
requestDeserialize: (value) => exports.
|
|
5697
|
-
responseSerialize: (value) => Buffer.from(exports.
|
|
5698
|
-
responseDeserialize: (value) => exports.
|
|
5793
|
+
requestSerialize: (value) => Buffer.from(exports.CheckContractRequest.encode(value).finish()),
|
|
5794
|
+
requestDeserialize: (value) => exports.CheckContractRequest.decode(value),
|
|
5795
|
+
responseSerialize: (value) => Buffer.from(exports.CheckContractResponse.encode(value).finish()),
|
|
5796
|
+
responseDeserialize: (value) => exports.CheckContractResponse.decode(value),
|
|
5699
5797
|
},
|
|
5700
5798
|
addBalance: {
|
|
5701
5799
|
path: "/kapital.contracts.v1.ContractsService/AddBalance",
|