@alexochihua/protos 1.0.40 → 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/dist/generated/kapital/contracts/v1/contracts.d.ts +3 -31
- package/dist/generated/kapital/contracts/v1/contracts.js +290 -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/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/contracts/v1/contracts.proto +129 -161
- package/proto/kapital/contracts/v1/contracts_types.proto +320 -315
- package/proto/kapital/payments/v1/payments.proto +89 -93
- package/proto/kapital/transactions/v1/transactions.proto +9 -11
|
@@ -101,17 +101,13 @@ message CreateContractResponse {
|
|
|
101
101
|
string pmt_ref_number = 2;
|
|
102
102
|
string product_id = 3;
|
|
103
103
|
string contract_number = 4;
|
|
104
|
-
|
|
105
104
|
repeated CIPFull cip = 5;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
string card_number_physical = 7;
|
|
105
|
+
optional CardInfo card_virtual = 6;
|
|
106
|
+
optional CardInfo card_physical = 7;
|
|
109
107
|
string new_emboss_uuid = 8;
|
|
110
|
-
|
|
111
108
|
string expiry_date = 9;
|
|
112
109
|
string card_security_code = 10;
|
|
113
110
|
string emboss_line_2 = 11;
|
|
114
|
-
|
|
115
111
|
int32 billing_cycle_day = 12;
|
|
116
112
|
}
|
|
117
113
|
|
|
@@ -200,67 +196,65 @@ message CreatePhysicalCardContractResponse {
|
|
|
200
196
|
|
|
201
197
|
// ================== CreateVirtualCardContract ==================
|
|
202
198
|
message CreateVirtualCardContractRequest {
|
|
203
|
-
string provider_id = 1;
|
|
204
|
-
string transaction_id = 2;
|
|
205
199
|
|
|
206
|
-
int32 prod_id =
|
|
200
|
+
int32 prod_id = 1;
|
|
207
201
|
|
|
208
|
-
int32 id_type =
|
|
209
|
-
string id =
|
|
202
|
+
int32 id_type = 2;
|
|
203
|
+
string id = 3;
|
|
210
204
|
|
|
211
|
-
int32 id_type_2 =
|
|
212
|
-
string id_2 =
|
|
205
|
+
int32 id_type_2 = 4;
|
|
206
|
+
string id_2 = 5;
|
|
213
207
|
|
|
214
|
-
string locale =
|
|
208
|
+
string locale = 6;
|
|
215
209
|
|
|
216
|
-
string first_name =
|
|
217
|
-
string middle_name =
|
|
218
|
-
string last_name =
|
|
219
|
-
string date_of_birth =
|
|
210
|
+
string first_name = 7;
|
|
211
|
+
string middle_name = 8;
|
|
212
|
+
string last_name = 9;
|
|
213
|
+
string date_of_birth = 10;
|
|
220
214
|
|
|
221
|
-
string address_1 =
|
|
222
|
-
string address_2 =
|
|
223
|
-
string address_3 =
|
|
224
|
-
string address_4 =
|
|
225
|
-
string address_5 =
|
|
215
|
+
string address_1 = 11;
|
|
216
|
+
string address_2 = 12;
|
|
217
|
+
string address_3 = 13;
|
|
218
|
+
string address_4 = 14;
|
|
219
|
+
string address_5 = 15;
|
|
226
220
|
|
|
227
|
-
string city =
|
|
228
|
-
string state =
|
|
229
|
-
string zip =
|
|
230
|
-
string country_code =
|
|
221
|
+
string city = 16;
|
|
222
|
+
string state = 17;
|
|
223
|
+
string zip = 18;
|
|
224
|
+
string country_code = 19;
|
|
231
225
|
|
|
232
|
-
string primary_phone =
|
|
233
|
-
string other_phone =
|
|
234
|
-
string mobile_phone =
|
|
235
|
-
string mobile_carrier_id =
|
|
226
|
+
string primary_phone = 20;
|
|
227
|
+
string other_phone = 21;
|
|
228
|
+
string mobile_phone = 22;
|
|
229
|
+
string mobile_carrier_id = 23;
|
|
236
230
|
|
|
237
|
-
string email =
|
|
231
|
+
string email = 24;
|
|
238
232
|
|
|
239
|
-
string secret_question =
|
|
240
|
-
string secret_answer =
|
|
233
|
+
string secret_question = 25;
|
|
234
|
+
string secret_answer = 26;
|
|
241
235
|
|
|
242
|
-
double load_amount =
|
|
243
|
-
string load_type =
|
|
236
|
+
double load_amount = 27;
|
|
237
|
+
string load_type = 28;
|
|
244
238
|
|
|
245
|
-
string external_account_id =
|
|
246
|
-
string primary_account =
|
|
239
|
+
string external_account_id = 29;
|
|
240
|
+
string primary_account = 30;
|
|
247
241
|
|
|
248
|
-
int32 shared_balance =
|
|
242
|
+
int32 shared_balance = 31;
|
|
249
243
|
|
|
250
|
-
string user_data =
|
|
244
|
+
string user_data = 32;
|
|
251
245
|
|
|
252
|
-
int32 verify_only =
|
|
246
|
+
int32 verify_only = 33;
|
|
253
247
|
|
|
254
|
-
string load_from_account =
|
|
255
|
-
string sweep_date =
|
|
248
|
+
string load_from_account = 34;
|
|
249
|
+
string sweep_date = 35;
|
|
256
250
|
|
|
257
|
-
double credit_limit =
|
|
251
|
+
double credit_limit = 36;
|
|
258
252
|
|
|
259
|
-
string single_use =
|
|
253
|
+
string single_use = 37;
|
|
260
254
|
|
|
261
|
-
string business_name =
|
|
255
|
+
string business_name = 38;
|
|
262
256
|
|
|
263
|
-
string mobile_phone_country_code =
|
|
257
|
+
string mobile_phone_country_code = 39;
|
|
264
258
|
}
|
|
265
259
|
|
|
266
260
|
message CreateVirtualCardContractResponse {
|
|
@@ -341,78 +335,76 @@ message GetCustomerIdByContractIdResponse {
|
|
|
341
335
|
// ================== UpdateContract ==================
|
|
342
336
|
message UpdateContractRequest {
|
|
343
337
|
string contract_id = 1;
|
|
344
|
-
string provider_id = 2;
|
|
345
|
-
string transaction_id = 3;
|
|
346
338
|
|
|
347
|
-
int32 id_type =
|
|
348
|
-
string id =
|
|
339
|
+
int32 id_type = 2;
|
|
340
|
+
string id = 3;
|
|
349
341
|
|
|
350
|
-
int32 id_type_2 =
|
|
351
|
-
string id_2 =
|
|
342
|
+
int32 id_type_2 = 4;
|
|
343
|
+
string id_2 = 5;
|
|
352
344
|
|
|
353
|
-
int32 id_type_3 =
|
|
354
|
-
string id_3 =
|
|
345
|
+
int32 id_type_3 = 6;
|
|
346
|
+
string id_3 = 7;
|
|
355
347
|
|
|
356
|
-
int32 location_type =
|
|
357
|
-
string location =
|
|
358
|
-
string locale =
|
|
348
|
+
int32 location_type = 8;
|
|
349
|
+
string location = 9;
|
|
350
|
+
string locale = 10;
|
|
359
351
|
|
|
360
|
-
string external_account_id =
|
|
352
|
+
string external_account_id = 11;
|
|
361
353
|
|
|
362
|
-
string first_name =
|
|
363
|
-
string middle_name =
|
|
364
|
-
string last_name =
|
|
365
|
-
string date_of_birth =
|
|
354
|
+
string first_name = 12;
|
|
355
|
+
string middle_name = 13;
|
|
356
|
+
string last_name = 14;
|
|
357
|
+
string date_of_birth = 15;
|
|
366
358
|
|
|
367
|
-
string address_1 =
|
|
368
|
-
string address_2 =
|
|
369
|
-
string address_3 =
|
|
370
|
-
string address_4 =
|
|
371
|
-
string address_5 =
|
|
359
|
+
string address_1 = 16;
|
|
360
|
+
string address_2 = 17;
|
|
361
|
+
string address_3 = 18;
|
|
362
|
+
string address_4 = 19;
|
|
363
|
+
string address_5 = 20;
|
|
372
364
|
|
|
373
|
-
string city =
|
|
374
|
-
string state =
|
|
375
|
-
string zip =
|
|
376
|
-
string country_code =
|
|
365
|
+
string city = 21;
|
|
366
|
+
string state = 22;
|
|
367
|
+
string zip = 23;
|
|
368
|
+
string country_code = 24;
|
|
377
369
|
|
|
378
|
-
string primary_phone =
|
|
379
|
-
string other_phone =
|
|
380
|
-
string mobile_phone =
|
|
381
|
-
string mobile_carrier_id =
|
|
370
|
+
string primary_phone = 25;
|
|
371
|
+
string other_phone = 26;
|
|
372
|
+
string mobile_phone = 27;
|
|
373
|
+
string mobile_carrier_id = 28;
|
|
382
374
|
|
|
383
|
-
string email =
|
|
375
|
+
string email = 29;
|
|
384
376
|
|
|
385
|
-
string secret_question =
|
|
386
|
-
string secret_answer =
|
|
377
|
+
string secret_question = 30;
|
|
378
|
+
string secret_answer = 31;
|
|
387
379
|
|
|
388
|
-
string income_source =
|
|
389
|
-
string occupation =
|
|
380
|
+
string income_source = 32;
|
|
381
|
+
string occupation = 33;
|
|
390
382
|
|
|
391
|
-
string nationality =
|
|
392
|
-
string place_of_birth =
|
|
393
|
-
string curp =
|
|
383
|
+
string nationality = 34;
|
|
384
|
+
string place_of_birth = 35;
|
|
385
|
+
string curp = 36;
|
|
394
386
|
|
|
395
|
-
int32 political_affiliation =
|
|
387
|
+
int32 political_affiliation = 37;
|
|
396
388
|
|
|
397
|
-
string key_ref_number =
|
|
398
|
-
double monthly_income =
|
|
389
|
+
string key_ref_number = 38;
|
|
390
|
+
double monthly_income = 39;
|
|
399
391
|
|
|
400
|
-
string external_customer_id =
|
|
392
|
+
string external_customer_id = 40;
|
|
401
393
|
|
|
402
|
-
string mail_bounced =
|
|
394
|
+
string mail_bounced = 41;
|
|
403
395
|
|
|
404
|
-
string shipping_address_1 =
|
|
405
|
-
string shipping_address_2 =
|
|
406
|
-
string shipping_city =
|
|
407
|
-
string shipping_state =
|
|
408
|
-
string shipping_zip =
|
|
409
|
-
string shipping_country_code =
|
|
410
|
-
string shipping_address_permanent =
|
|
396
|
+
string shipping_address_1 = 42;
|
|
397
|
+
string shipping_address_2 = 43;
|
|
398
|
+
string shipping_city = 44;
|
|
399
|
+
string shipping_state = 45;
|
|
400
|
+
string shipping_zip = 46;
|
|
401
|
+
string shipping_country_code = 47;
|
|
402
|
+
string shipping_address_permanent = 48;
|
|
411
403
|
|
|
412
|
-
string emboss_line_2 =
|
|
413
|
-
string business_name =
|
|
404
|
+
string emboss_line_2 = 49;
|
|
405
|
+
string business_name = 50;
|
|
414
406
|
|
|
415
|
-
string mobile_phone_country_code =
|
|
407
|
+
string mobile_phone_country_code = 51;
|
|
416
408
|
}
|
|
417
409
|
|
|
418
410
|
message UpdateContractResponse {
|
|
@@ -434,10 +426,8 @@ message GetExistsCustomerResponse {
|
|
|
434
426
|
// ================== GetContractById ==================
|
|
435
427
|
message GetContractByIdRequest {
|
|
436
428
|
string customer_id = 1;
|
|
437
|
-
|
|
438
|
-
string
|
|
439
|
-
int32 id_type = 4;
|
|
440
|
-
string external_customer_id = 5;
|
|
429
|
+
int32 id_type = 2;
|
|
430
|
+
string external_customer_id = 3;
|
|
441
431
|
}
|
|
442
432
|
|
|
443
433
|
message GetContractByIdResponse {
|
|
@@ -448,8 +438,6 @@ message GetContractByIdResponse {
|
|
|
448
438
|
// ================== GetRelatedContracts ==================
|
|
449
439
|
message GetRelatedContractsRequest {
|
|
450
440
|
string contract_id = 1;
|
|
451
|
-
string provider_id = 2;
|
|
452
|
-
string transaction_id = 3;
|
|
453
441
|
}
|
|
454
442
|
|
|
455
443
|
message GetRelatedContractsResponse {
|
|
@@ -463,10 +451,8 @@ message GetRelatedContractsResponse {
|
|
|
463
451
|
// ================== VerifyContract ==================
|
|
464
452
|
message VerifyContractRequest {
|
|
465
453
|
string contract_id = 1;
|
|
466
|
-
string
|
|
467
|
-
|
|
468
|
-
string load_type = 4;
|
|
469
|
-
int32 included_related = 5;
|
|
454
|
+
string load_type = 2;
|
|
455
|
+
int32 included_related = 3;
|
|
470
456
|
}
|
|
471
457
|
|
|
472
458
|
message VerifyContractResponse {
|
|
@@ -477,13 +463,11 @@ message VerifyContractResponse {
|
|
|
477
463
|
// ================== AddContract ==================
|
|
478
464
|
message AddContractRequest {
|
|
479
465
|
string contract_id = 1;
|
|
480
|
-
|
|
481
|
-
string
|
|
482
|
-
int32
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
int32 shared_balance = 7;
|
|
486
|
-
string funding_account_number = 8;
|
|
466
|
+
int32 prod_id = 2;
|
|
467
|
+
string location = 3;
|
|
468
|
+
int32 location_type = 4;
|
|
469
|
+
int32 shared_balance = 5;
|
|
470
|
+
string funding_account_number = 6;
|
|
487
471
|
}
|
|
488
472
|
|
|
489
473
|
message AddContractResponse {
|
|
@@ -501,23 +485,21 @@ message AddContractResponse {
|
|
|
501
485
|
|
|
502
486
|
// ================== SearchContracts ==================
|
|
503
487
|
message SearchContractsRequest {
|
|
504
|
-
string
|
|
505
|
-
string
|
|
506
|
-
optional string
|
|
507
|
-
optional string
|
|
508
|
-
optional string
|
|
509
|
-
optional string
|
|
510
|
-
optional string
|
|
511
|
-
optional string
|
|
512
|
-
optional string
|
|
513
|
-
optional string
|
|
514
|
-
optional string
|
|
515
|
-
optional string
|
|
516
|
-
optional
|
|
517
|
-
optional
|
|
518
|
-
optional
|
|
519
|
-
optional int32 page = 16;
|
|
520
|
-
optional string mobile_phone_country_code = 17;
|
|
488
|
+
optional string account_number = 1;
|
|
489
|
+
optional string first_name = 2;
|
|
490
|
+
optional string middle_name = 3;
|
|
491
|
+
optional string last_name = 4;
|
|
492
|
+
optional string date_of_birth = 5;
|
|
493
|
+
optional string zip = 6;
|
|
494
|
+
optional string primary_phone = 7;
|
|
495
|
+
optional string other_phone = 8;
|
|
496
|
+
optional string mobile_phone = 9;
|
|
497
|
+
optional string email = 10;
|
|
498
|
+
optional string user_data = 11;
|
|
499
|
+
optional string eext_id = 12;
|
|
500
|
+
optional int32 record_cnt = 13;
|
|
501
|
+
optional int32 page = 14;
|
|
502
|
+
optional string mobile_phone_country_code = 15;
|
|
521
503
|
}
|
|
522
504
|
|
|
523
505
|
message SearchContractsResponse {
|
|
@@ -531,10 +513,8 @@ message SearchContractsResponse {
|
|
|
531
513
|
// ================== ChargeOffContract ==================
|
|
532
514
|
message ChargeOffContractRequest {
|
|
533
515
|
string contract_id = 1;
|
|
534
|
-
string
|
|
535
|
-
|
|
536
|
-
string charge_off_details = 4;
|
|
537
|
-
optional int32 close_associated_accounts = 5;
|
|
516
|
+
string charge_off_details = 2;
|
|
517
|
+
optional int32 close_associated_accounts = 3;
|
|
538
518
|
}
|
|
539
519
|
|
|
540
520
|
message ChargeOffContractResponse {
|
|
@@ -545,10 +525,8 @@ message ChargeOffContractResponse {
|
|
|
545
525
|
// ================== GetContractData ==================
|
|
546
526
|
message GetContractDataRequest {
|
|
547
527
|
string contract_id = 1;
|
|
548
|
-
string
|
|
549
|
-
string
|
|
550
|
-
optional string start_date = 4;
|
|
551
|
-
optional string end_date = 5;
|
|
528
|
+
optional string start_date = 2;
|
|
529
|
+
optional string end_date = 3;
|
|
552
530
|
}
|
|
553
531
|
|
|
554
532
|
message GetContractDataResponse {
|
|
@@ -569,10 +547,8 @@ message GetCustomerProfileResponse {
|
|
|
569
547
|
// ================== GetTransactions ==================
|
|
570
548
|
message GetTransactionsRequest {
|
|
571
549
|
string contract_id = 1;
|
|
572
|
-
string
|
|
573
|
-
string
|
|
574
|
-
optional string start_date = 4;
|
|
575
|
-
optional string end_date = 5;
|
|
550
|
+
optional string start_date = 2;
|
|
551
|
+
optional string end_date = 3;
|
|
576
552
|
}
|
|
577
553
|
|
|
578
554
|
message GetTransactionsResponse {
|
|
@@ -583,10 +559,8 @@ message GetTransactionsResponse {
|
|
|
583
559
|
// ================== GetAuthorizations ==================
|
|
584
560
|
message GetAuthorizationsRequest {
|
|
585
561
|
string contract_id = 1;
|
|
586
|
-
string
|
|
587
|
-
string
|
|
588
|
-
optional string start_date = 4;
|
|
589
|
-
optional string end_date = 5;
|
|
562
|
+
optional string start_date = 2;
|
|
563
|
+
optional string end_date = 3;
|
|
590
564
|
}
|
|
591
565
|
|
|
592
566
|
message GetAuthorizationsResponse {
|
|
@@ -597,10 +571,8 @@ message GetAuthorizationsResponse {
|
|
|
597
571
|
// ================== GetPendingFees ==================
|
|
598
572
|
message GetPendingFeesRequest {
|
|
599
573
|
string contract_id = 1;
|
|
600
|
-
string
|
|
601
|
-
string
|
|
602
|
-
optional string start_date = 4;
|
|
603
|
-
optional string end_date = 5;
|
|
574
|
+
optional string start_date = 2;
|
|
575
|
+
optional string end_date = 3;
|
|
604
576
|
}
|
|
605
577
|
|
|
606
578
|
message GetPendingFeesResponse {
|
|
@@ -611,10 +583,8 @@ message GetPendingFeesResponse {
|
|
|
611
583
|
// ================== GetSavingsInterest ==================
|
|
612
584
|
message GetSavingsInterestRequest {
|
|
613
585
|
string contract_id = 1;
|
|
614
|
-
string
|
|
615
|
-
string
|
|
616
|
-
optional string start_date = 4;
|
|
617
|
-
optional string end_date = 5;
|
|
586
|
+
optional string start_date = 2;
|
|
587
|
+
optional string end_date = 3;
|
|
618
588
|
}
|
|
619
589
|
|
|
620
590
|
message GetSavingsInterestResponse {
|
|
@@ -625,10 +595,8 @@ message GetSavingsInterestResponse {
|
|
|
625
595
|
// ================== GetHolds ==================
|
|
626
596
|
message GetHoldsRequest {
|
|
627
597
|
string contract_id = 1;
|
|
628
|
-
string
|
|
629
|
-
string
|
|
630
|
-
optional string start_date = 4;
|
|
631
|
-
optional string end_date = 5;
|
|
598
|
+
optional string start_date = 2;
|
|
599
|
+
optional string end_date = 3;
|
|
632
600
|
}
|
|
633
601
|
|
|
634
602
|
message GetHoldsResponse {
|