@alexochihua/protos 1.0.40 → 1.0.42
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 +5 -33
- package/dist/generated/kapital/contracts/v1/contracts.js +304 -625
- package/dist/generated/kapital/contracts/v1/contracts.js.map +1 -1
- package/dist/generated/kapital/contracts/v1/contracts_types.d.ts +5 -0
- package/dist/generated/kapital/contracts/v1/contracts_types.js +53 -1
- package/dist/generated/kapital/contracts/v1/contracts_types.js.map +1 -1
- package/dist/generated/kapital/payments/v1/payments.d.ts +0 -4
- package/dist/generated/kapital/payments/v1/payments.js +77 -132
- package/dist/generated/kapital/payments/v1/payments.js.map +1 -1
- package/dist/generated/kapital/transactions/v1/transactions.d.ts +0 -2
- package/dist/generated/kapital/transactions/v1/transactions.js +20 -50
- package/dist/generated/kapital/transactions/v1/transactions.js.map +1 -1
- package/package.json +1 -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/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 +131 -163
- package/proto/kapital/contracts/v1/contracts_types.proto +320 -315
- 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 +89 -93
- package/proto/kapital/payments/v1/payments_types.proto +17 -17
- 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 +9 -11
- package/proto/kapital/transactions/v1/transactions_types.proto +90 -90
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { type CallOptions, type ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, type Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
3
3
|
import { ResponseMeta } from "../../common/v1/meta";
|
|
4
|
-
import { Authorization, CIP, CIPFull, Contract, ContractOverview, ContractSearch, ContractVerify, CustomerProfile, Hold, PendingFee, Profile, RelatedData, SavingsInterest, Transaction } from "./contracts_types";
|
|
4
|
+
import { Authorization, CardInfo, CIP, CIPFull, Contract, ContractOverview, ContractSearch, ContractVerify, CustomerProfile, Hold, PendingFee, Profile, RelatedData, SavingsInterest, Transaction } from "./contracts_types";
|
|
5
5
|
export declare const protobufPackage = "kapital.contracts.v1";
|
|
6
6
|
/** ================== CreateContract ================== */
|
|
7
7
|
export interface CreateContractRequest {
|
|
@@ -58,8 +58,8 @@ export interface CreateContractResponse {
|
|
|
58
58
|
product_id: string;
|
|
59
59
|
contract_number: string;
|
|
60
60
|
cip: CIPFull[];
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
card_virtual?: CardInfo | undefined;
|
|
62
|
+
card_physical?: CardInfo | undefined;
|
|
63
63
|
new_emboss_uuid: string;
|
|
64
64
|
expiry_date: string;
|
|
65
65
|
card_security_code: string;
|
|
@@ -121,8 +121,8 @@ export interface CreatePhysicalCardContractResponse {
|
|
|
121
121
|
product_id: string;
|
|
122
122
|
contract_number: string;
|
|
123
123
|
cip: CIPFull[];
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
card_virtual?: CardInfo | undefined;
|
|
125
|
+
card_physical?: CardInfo | undefined;
|
|
126
126
|
new_emboss_uuid: string;
|
|
127
127
|
expiry_date: string;
|
|
128
128
|
card_security_code: string;
|
|
@@ -131,8 +131,6 @@ export interface CreatePhysicalCardContractResponse {
|
|
|
131
131
|
}
|
|
132
132
|
/** ================== CreateVirtualCardContract ================== */
|
|
133
133
|
export interface CreateVirtualCardContractRequest {
|
|
134
|
-
provider_id: string;
|
|
135
|
-
transaction_id: string;
|
|
136
134
|
prod_id: number;
|
|
137
135
|
id_type: number;
|
|
138
136
|
id: string;
|
|
@@ -239,8 +237,6 @@ export interface GetCustomerIdByContractIdResponse {
|
|
|
239
237
|
/** ================== UpdateContract ================== */
|
|
240
238
|
export interface UpdateContractRequest {
|
|
241
239
|
contract_id: string;
|
|
242
|
-
provider_id: string;
|
|
243
|
-
transaction_id: string;
|
|
244
240
|
id_type: number;
|
|
245
241
|
id: string;
|
|
246
242
|
id_type_2: number;
|
|
@@ -308,8 +304,6 @@ export interface GetExistsCustomerResponse {
|
|
|
308
304
|
/** ================== GetContractById ================== */
|
|
309
305
|
export interface GetContractByIdRequest {
|
|
310
306
|
customer_id: string;
|
|
311
|
-
provider_id: string;
|
|
312
|
-
transaction_id: string;
|
|
313
307
|
id_type: number;
|
|
314
308
|
external_customer_id: string;
|
|
315
309
|
}
|
|
@@ -320,8 +314,6 @@ export interface GetContractByIdResponse {
|
|
|
320
314
|
/** ================== GetRelatedContracts ================== */
|
|
321
315
|
export interface GetRelatedContractsRequest {
|
|
322
316
|
contract_id: string;
|
|
323
|
-
provider_id: string;
|
|
324
|
-
transaction_id: string;
|
|
325
317
|
}
|
|
326
318
|
export interface GetRelatedContractsResponse {
|
|
327
319
|
meta: ResponseMeta | undefined;
|
|
@@ -333,8 +325,6 @@ export interface GetRelatedContractsResponse {
|
|
|
333
325
|
/** ================== VerifyContract ================== */
|
|
334
326
|
export interface VerifyContractRequest {
|
|
335
327
|
contract_id: string;
|
|
336
|
-
provider_id: string;
|
|
337
|
-
transaction_id: string;
|
|
338
328
|
load_type: string;
|
|
339
329
|
included_related: number;
|
|
340
330
|
}
|
|
@@ -345,8 +335,6 @@ export interface VerifyContractResponse {
|
|
|
345
335
|
/** ================== AddContract ================== */
|
|
346
336
|
export interface AddContractRequest {
|
|
347
337
|
contract_id: string;
|
|
348
|
-
provider_id: string;
|
|
349
|
-
transaction_id: string;
|
|
350
338
|
prod_id: number;
|
|
351
339
|
location: string;
|
|
352
340
|
location_type: number;
|
|
@@ -367,8 +355,6 @@ export interface AddContractResponse {
|
|
|
367
355
|
}
|
|
368
356
|
/** ================== SearchContracts ================== */
|
|
369
357
|
export interface SearchContractsRequest {
|
|
370
|
-
provider_id: string;
|
|
371
|
-
transaction_id: string;
|
|
372
358
|
account_number?: string | undefined;
|
|
373
359
|
first_name?: string | undefined;
|
|
374
360
|
middle_name?: string | undefined;
|
|
@@ -395,8 +381,6 @@ export interface SearchContractsResponse {
|
|
|
395
381
|
/** ================== ChargeOffContract ================== */
|
|
396
382
|
export interface ChargeOffContractRequest {
|
|
397
383
|
contract_id: string;
|
|
398
|
-
provider_id: string;
|
|
399
|
-
transaction_id: string;
|
|
400
384
|
charge_off_details: string;
|
|
401
385
|
close_associated_accounts?: number | undefined;
|
|
402
386
|
}
|
|
@@ -407,8 +391,6 @@ export interface ChargeOffContractResponse {
|
|
|
407
391
|
/** ================== GetContractData ================== */
|
|
408
392
|
export interface GetContractDataRequest {
|
|
409
393
|
contract_id: string;
|
|
410
|
-
provider_id: string;
|
|
411
|
-
transaction_id: string;
|
|
412
394
|
start_date?: string | undefined;
|
|
413
395
|
end_date?: string | undefined;
|
|
414
396
|
}
|
|
@@ -427,8 +409,6 @@ export interface GetCustomerProfileResponse {
|
|
|
427
409
|
/** ================== GetTransactions ================== */
|
|
428
410
|
export interface GetTransactionsRequest {
|
|
429
411
|
contract_id: string;
|
|
430
|
-
provider_id: string;
|
|
431
|
-
transaction_id: string;
|
|
432
412
|
start_date?: string | undefined;
|
|
433
413
|
end_date?: string | undefined;
|
|
434
414
|
}
|
|
@@ -439,8 +419,6 @@ export interface GetTransactionsResponse {
|
|
|
439
419
|
/** ================== GetAuthorizations ================== */
|
|
440
420
|
export interface GetAuthorizationsRequest {
|
|
441
421
|
contract_id: string;
|
|
442
|
-
provider_id: string;
|
|
443
|
-
transaction_id: string;
|
|
444
422
|
start_date?: string | undefined;
|
|
445
423
|
end_date?: string | undefined;
|
|
446
424
|
}
|
|
@@ -451,8 +429,6 @@ export interface GetAuthorizationsResponse {
|
|
|
451
429
|
/** ================== GetPendingFees ================== */
|
|
452
430
|
export interface GetPendingFeesRequest {
|
|
453
431
|
contract_id: string;
|
|
454
|
-
provider_id: string;
|
|
455
|
-
transaction_id: string;
|
|
456
432
|
start_date?: string | undefined;
|
|
457
433
|
end_date?: string | undefined;
|
|
458
434
|
}
|
|
@@ -463,8 +439,6 @@ export interface GetPendingFeesResponse {
|
|
|
463
439
|
/** ================== GetSavingsInterest ================== */
|
|
464
440
|
export interface GetSavingsInterestRequest {
|
|
465
441
|
contract_id: string;
|
|
466
|
-
provider_id: string;
|
|
467
|
-
transaction_id: string;
|
|
468
442
|
start_date?: string | undefined;
|
|
469
443
|
end_date?: string | undefined;
|
|
470
444
|
}
|
|
@@ -475,8 +449,6 @@ export interface GetSavingsInterestResponse {
|
|
|
475
449
|
/** ================== GetHolds ================== */
|
|
476
450
|
export interface GetHoldsRequest {
|
|
477
451
|
contract_id: string;
|
|
478
|
-
provider_id: string;
|
|
479
|
-
transaction_id: string;
|
|
480
452
|
start_date?: string | undefined;
|
|
481
453
|
end_date?: string | undefined;
|
|
482
454
|
}
|