@alexochihua/protos 1.0.38 → 1.0.41
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/buf.gen.yaml +2 -2
- package/dist/generated/kapital/contracts/v1/contracts.d.ts +7 -31
- package/dist/generated/kapital/contracts/v1/contracts.js +338 -615
- 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/customers/v1/customers_types.d.ts +2 -0
- package/dist/generated/kapital/customers/v1/customers_types.js +24 -0
- package/dist/generated/kapital/customers/v1/customers_types.js.map +1 -1
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.d.ts +5 -5
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.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/payments_methods/v1/payments_methods.d.ts +12 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js +138 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js.map +1 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods_types.d.ts +1 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods_types.js +12 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods_types.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 +133 -161
- package/proto/kapital/contracts/v1/contracts_types.proto +5 -0
- package/proto/kapital/customers/v1/customers_types.proto +2 -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 +34 -38
- 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
package/buf.gen.yaml
CHANGED
|
@@ -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 {
|
|
@@ -49,6 +49,8 @@ export interface CreateContractRequest {
|
|
|
49
49
|
ship_zip?: string | undefined;
|
|
50
50
|
ship_country_code?: string | undefined;
|
|
51
51
|
business_name?: string | undefined;
|
|
52
|
+
channel?: string | undefined;
|
|
53
|
+
channel_value?: string | undefined;
|
|
52
54
|
}
|
|
53
55
|
export interface CreateContractResponse {
|
|
54
56
|
meta: ResponseMeta | undefined;
|
|
@@ -56,8 +58,8 @@ export interface CreateContractResponse {
|
|
|
56
58
|
product_id: string;
|
|
57
59
|
contract_number: string;
|
|
58
60
|
cip: CIPFull[];
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
card_virtual?: CardInfo | undefined;
|
|
62
|
+
card_physical?: CardInfo | undefined;
|
|
61
63
|
new_emboss_uuid: string;
|
|
62
64
|
expiry_date: string;
|
|
63
65
|
card_security_code: string;
|
|
@@ -110,6 +112,8 @@ export interface CreatePhysicalCardContractRequest {
|
|
|
110
112
|
ship_zip?: string | undefined;
|
|
111
113
|
ship_country_code?: string | undefined;
|
|
112
114
|
business_name?: string | undefined;
|
|
115
|
+
channel?: string | undefined;
|
|
116
|
+
channel_value?: string | undefined;
|
|
113
117
|
}
|
|
114
118
|
export interface CreatePhysicalCardContractResponse {
|
|
115
119
|
meta: ResponseMeta | undefined;
|
|
@@ -127,8 +131,6 @@ export interface CreatePhysicalCardContractResponse {
|
|
|
127
131
|
}
|
|
128
132
|
/** ================== CreateVirtualCardContract ================== */
|
|
129
133
|
export interface CreateVirtualCardContractRequest {
|
|
130
|
-
provider_id: string;
|
|
131
|
-
transaction_id: string;
|
|
132
134
|
prod_id: number;
|
|
133
135
|
id_type: number;
|
|
134
136
|
id: string;
|
|
@@ -235,8 +237,6 @@ export interface GetCustomerIdByContractIdResponse {
|
|
|
235
237
|
/** ================== UpdateContract ================== */
|
|
236
238
|
export interface UpdateContractRequest {
|
|
237
239
|
contract_id: string;
|
|
238
|
-
provider_id: string;
|
|
239
|
-
transaction_id: string;
|
|
240
240
|
id_type: number;
|
|
241
241
|
id: string;
|
|
242
242
|
id_type_2: number;
|
|
@@ -304,8 +304,6 @@ export interface GetExistsCustomerResponse {
|
|
|
304
304
|
/** ================== GetContractById ================== */
|
|
305
305
|
export interface GetContractByIdRequest {
|
|
306
306
|
customer_id: string;
|
|
307
|
-
provider_id: string;
|
|
308
|
-
transaction_id: string;
|
|
309
307
|
id_type: number;
|
|
310
308
|
external_customer_id: string;
|
|
311
309
|
}
|
|
@@ -316,8 +314,6 @@ export interface GetContractByIdResponse {
|
|
|
316
314
|
/** ================== GetRelatedContracts ================== */
|
|
317
315
|
export interface GetRelatedContractsRequest {
|
|
318
316
|
contract_id: string;
|
|
319
|
-
provider_id: string;
|
|
320
|
-
transaction_id: string;
|
|
321
317
|
}
|
|
322
318
|
export interface GetRelatedContractsResponse {
|
|
323
319
|
meta: ResponseMeta | undefined;
|
|
@@ -329,8 +325,6 @@ export interface GetRelatedContractsResponse {
|
|
|
329
325
|
/** ================== VerifyContract ================== */
|
|
330
326
|
export interface VerifyContractRequest {
|
|
331
327
|
contract_id: string;
|
|
332
|
-
provider_id: string;
|
|
333
|
-
transaction_id: string;
|
|
334
328
|
load_type: string;
|
|
335
329
|
included_related: number;
|
|
336
330
|
}
|
|
@@ -341,8 +335,6 @@ export interface VerifyContractResponse {
|
|
|
341
335
|
/** ================== AddContract ================== */
|
|
342
336
|
export interface AddContractRequest {
|
|
343
337
|
contract_id: string;
|
|
344
|
-
provider_id: string;
|
|
345
|
-
transaction_id: string;
|
|
346
338
|
prod_id: number;
|
|
347
339
|
location: string;
|
|
348
340
|
location_type: number;
|
|
@@ -363,8 +355,6 @@ export interface AddContractResponse {
|
|
|
363
355
|
}
|
|
364
356
|
/** ================== SearchContracts ================== */
|
|
365
357
|
export interface SearchContractsRequest {
|
|
366
|
-
provider_id: string;
|
|
367
|
-
transaction_id: string;
|
|
368
358
|
account_number?: string | undefined;
|
|
369
359
|
first_name?: string | undefined;
|
|
370
360
|
middle_name?: string | undefined;
|
|
@@ -391,8 +381,6 @@ export interface SearchContractsResponse {
|
|
|
391
381
|
/** ================== ChargeOffContract ================== */
|
|
392
382
|
export interface ChargeOffContractRequest {
|
|
393
383
|
contract_id: string;
|
|
394
|
-
provider_id: string;
|
|
395
|
-
transaction_id: string;
|
|
396
384
|
charge_off_details: string;
|
|
397
385
|
close_associated_accounts?: number | undefined;
|
|
398
386
|
}
|
|
@@ -403,8 +391,6 @@ export interface ChargeOffContractResponse {
|
|
|
403
391
|
/** ================== GetContractData ================== */
|
|
404
392
|
export interface GetContractDataRequest {
|
|
405
393
|
contract_id: string;
|
|
406
|
-
provider_id: string;
|
|
407
|
-
transaction_id: string;
|
|
408
394
|
start_date?: string | undefined;
|
|
409
395
|
end_date?: string | undefined;
|
|
410
396
|
}
|
|
@@ -423,8 +409,6 @@ export interface GetCustomerProfileResponse {
|
|
|
423
409
|
/** ================== GetTransactions ================== */
|
|
424
410
|
export interface GetTransactionsRequest {
|
|
425
411
|
contract_id: string;
|
|
426
|
-
provider_id: string;
|
|
427
|
-
transaction_id: string;
|
|
428
412
|
start_date?: string | undefined;
|
|
429
413
|
end_date?: string | undefined;
|
|
430
414
|
}
|
|
@@ -435,8 +419,6 @@ export interface GetTransactionsResponse {
|
|
|
435
419
|
/** ================== GetAuthorizations ================== */
|
|
436
420
|
export interface GetAuthorizationsRequest {
|
|
437
421
|
contract_id: string;
|
|
438
|
-
provider_id: string;
|
|
439
|
-
transaction_id: string;
|
|
440
422
|
start_date?: string | undefined;
|
|
441
423
|
end_date?: string | undefined;
|
|
442
424
|
}
|
|
@@ -447,8 +429,6 @@ export interface GetAuthorizationsResponse {
|
|
|
447
429
|
/** ================== GetPendingFees ================== */
|
|
448
430
|
export interface GetPendingFeesRequest {
|
|
449
431
|
contract_id: string;
|
|
450
|
-
provider_id: string;
|
|
451
|
-
transaction_id: string;
|
|
452
432
|
start_date?: string | undefined;
|
|
453
433
|
end_date?: string | undefined;
|
|
454
434
|
}
|
|
@@ -459,8 +439,6 @@ export interface GetPendingFeesResponse {
|
|
|
459
439
|
/** ================== GetSavingsInterest ================== */
|
|
460
440
|
export interface GetSavingsInterestRequest {
|
|
461
441
|
contract_id: string;
|
|
462
|
-
provider_id: string;
|
|
463
|
-
transaction_id: string;
|
|
464
442
|
start_date?: string | undefined;
|
|
465
443
|
end_date?: string | undefined;
|
|
466
444
|
}
|
|
@@ -471,8 +449,6 @@ export interface GetSavingsInterestResponse {
|
|
|
471
449
|
/** ================== GetHolds ================== */
|
|
472
450
|
export interface GetHoldsRequest {
|
|
473
451
|
contract_id: string;
|
|
474
|
-
provider_id: string;
|
|
475
|
-
transaction_id: string;
|
|
476
452
|
start_date?: string | undefined;
|
|
477
453
|
end_date?: string | undefined;
|
|
478
454
|
}
|