@alexochihua/protos 1.0.29 → 1.0.32
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 +0 -4
- package/dist/generated/kapital/contracts/v1/contracts.js +110 -158
- package/dist/generated/kapital/contracts/v1/contracts.js.map +1 -1
- package/dist/generated/kapital/customers/v1/customers.d.ts +2 -0
- package/dist/generated/kapital/customers/v1/customers.js +24 -0
- package/dist/generated/kapital/customers/v1/customers.js.map +1 -1
- package/dist/generated/kapital/customers/v1/customers_types.d.ts +25 -16
- package/dist/generated/kapital/customers/v1/customers_types.js +172 -97
- package/dist/generated/kapital/customers/v1/customers_types.js.map +1 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods.d.ts +37 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js +453 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js.map +1 -1
- package/package.json +1 -1
- package/proto/kapital/contracts/v1/contracts.proto +50 -56
- package/proto/kapital/customers/v1/customers.proto +2 -0
- package/proto/kapital/customers/v1/customers_types.proto +28 -18
- package/proto/kapital/payments_methods/v1/payments_methods.proto +37 -0
package/package.json
CHANGED
|
@@ -58,43 +58,40 @@ message CreateContractRequest {
|
|
|
58
58
|
string curp = 18;
|
|
59
59
|
string rfc = 19;
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
string product_key = 20;
|
|
62
|
+
string product_type = 21;
|
|
63
|
+
string load_amount = 22;
|
|
64
|
+
optional string load_amount_physical = 23;
|
|
62
65
|
|
|
63
|
-
string
|
|
64
|
-
string
|
|
65
|
-
|
|
66
|
-
optional string load_amount_physical = 24;
|
|
66
|
+
optional string load_type = 24;
|
|
67
|
+
optional string funding_account_number = 25;
|
|
68
|
+
optional int32 shared_balance = 26;
|
|
67
69
|
|
|
68
|
-
optional string
|
|
69
|
-
optional string
|
|
70
|
-
optional string
|
|
71
|
-
optional int32 shared_balance = 28;
|
|
70
|
+
optional string authorized_user = 27;
|
|
71
|
+
optional string user_data = 28;
|
|
72
|
+
optional string offline = 29;
|
|
72
73
|
|
|
73
|
-
optional
|
|
74
|
-
optional string
|
|
75
|
-
optional string offline = 31;
|
|
74
|
+
optional int32 verify_only = 30;
|
|
75
|
+
optional string cip_status = 31;
|
|
76
76
|
|
|
77
|
-
optional
|
|
78
|
-
optional string cip_status = 33;
|
|
77
|
+
optional string emboss_line_2 = 32;
|
|
79
78
|
|
|
80
|
-
optional
|
|
79
|
+
optional double provider_assessed_fee = 33;
|
|
81
80
|
|
|
82
|
-
optional
|
|
81
|
+
optional string load_from_account = 34;
|
|
82
|
+
optional string sweep_date = 35;
|
|
83
83
|
|
|
84
|
-
optional string
|
|
85
|
-
optional string sweep_date = 37;
|
|
84
|
+
optional string express_mail = 36;
|
|
86
85
|
|
|
87
|
-
optional string
|
|
86
|
+
optional string ship_adress_permanent = 37;
|
|
87
|
+
optional string ship_adress_1 = 38;
|
|
88
|
+
optional string ship_adress_2 = 39;
|
|
89
|
+
optional string shitp_city = 40;
|
|
90
|
+
optional string ship_state = 41;
|
|
91
|
+
optional string ship_zip = 42;
|
|
92
|
+
optional string ship_country_code = 43;
|
|
88
93
|
|
|
89
|
-
optional string
|
|
90
|
-
optional string ship_adress_1 = 40;
|
|
91
|
-
optional string ship_adress_2 = 41;
|
|
92
|
-
optional string shitp_city = 42;
|
|
93
|
-
optional string ship_state = 43;
|
|
94
|
-
optional string ship_zip = 44;
|
|
95
|
-
optional string ship_country_code = 45;
|
|
96
|
-
|
|
97
|
-
optional string business_name = 46;
|
|
94
|
+
optional string business_name = 44;
|
|
98
95
|
}
|
|
99
96
|
|
|
100
97
|
message CreateContractResponse {
|
|
@@ -142,43 +139,40 @@ message CreatePhysicalCardContractRequest {
|
|
|
142
139
|
string curp = 18;
|
|
143
140
|
string rfc = 19;
|
|
144
141
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
string
|
|
148
|
-
string
|
|
149
|
-
string load_amount = 23;
|
|
150
|
-
optional string load_amount_physical = 24;
|
|
142
|
+
string product_key = 20;
|
|
143
|
+
string product_type = 21;
|
|
144
|
+
string load_amount = 22;
|
|
145
|
+
optional string load_amount_physical = 23;
|
|
151
146
|
|
|
152
|
-
optional string load_type =
|
|
153
|
-
optional string
|
|
154
|
-
optional
|
|
155
|
-
optional int32 shared_balance = 28;
|
|
147
|
+
optional string load_type = 24;
|
|
148
|
+
optional string funding_account_number = 25;
|
|
149
|
+
optional int32 shared_balance = 26;
|
|
156
150
|
|
|
157
|
-
optional string authorized_user =
|
|
158
|
-
optional string user_data =
|
|
159
|
-
optional string offline =
|
|
151
|
+
optional string authorized_user = 27;
|
|
152
|
+
optional string user_data = 28;
|
|
153
|
+
optional string offline = 29;
|
|
160
154
|
|
|
161
|
-
optional int32 verify_only =
|
|
162
|
-
optional string cip_status =
|
|
155
|
+
optional int32 verify_only = 30;
|
|
156
|
+
optional string cip_status = 31;
|
|
163
157
|
|
|
164
|
-
optional string emboss_line_2 =
|
|
158
|
+
optional string emboss_line_2 = 32;
|
|
165
159
|
|
|
166
|
-
optional double provider_assessed_fee =
|
|
160
|
+
optional double provider_assessed_fee = 33;
|
|
167
161
|
|
|
168
|
-
optional string load_from_account =
|
|
169
|
-
optional string sweep_date =
|
|
162
|
+
optional string load_from_account = 34;
|
|
163
|
+
optional string sweep_date = 35;
|
|
170
164
|
|
|
171
|
-
optional string express_mail =
|
|
165
|
+
optional string express_mail = 36;
|
|
172
166
|
|
|
173
|
-
optional string ship_adress_permanent =
|
|
174
|
-
optional string ship_adress_1 =
|
|
175
|
-
optional string ship_adress_2 =
|
|
176
|
-
optional string shitp_city =
|
|
177
|
-
optional string ship_state =
|
|
178
|
-
optional string ship_zip =
|
|
179
|
-
optional string ship_country_code =
|
|
167
|
+
optional string ship_adress_permanent = 37;
|
|
168
|
+
optional string ship_adress_1 = 38;
|
|
169
|
+
optional string ship_adress_2 = 39;
|
|
170
|
+
optional string shitp_city = 40;
|
|
171
|
+
optional string ship_state = 41;
|
|
172
|
+
optional string ship_zip = 42;
|
|
173
|
+
optional string ship_country_code = 43;
|
|
180
174
|
|
|
181
|
-
optional string business_name =
|
|
175
|
+
optional string business_name = 44;
|
|
182
176
|
}
|
|
183
177
|
|
|
184
178
|
message CreatePhysicalCardContractResponse {
|
|
@@ -27,30 +27,40 @@ message Customer {
|
|
|
27
27
|
int32 active_cards_count = 20;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
message ContractBalance {
|
|
31
|
+
string currency = 1;
|
|
32
|
+
double available_balance = 2;
|
|
33
|
+
double total_balance = 3;
|
|
34
|
+
}
|
|
35
|
+
|
|
30
36
|
message Contract {
|
|
37
|
+
// Obligatorios: Crédito, Débito, Prepago
|
|
31
38
|
string id_short = 1;
|
|
32
39
|
string id_long = 2;
|
|
33
40
|
string contract_number = 3;
|
|
34
41
|
string clabe = 4;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
42
|
+
int32 cutoff_day = 5;
|
|
43
|
+
int32 number_cards = 6;
|
|
44
|
+
string primary_card = 7;
|
|
38
45
|
double rate = 8;
|
|
39
|
-
string
|
|
40
|
-
string
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
double
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
46
|
+
string product = 9;
|
|
47
|
+
string product_type = 10;
|
|
48
|
+
string status = 11;
|
|
49
|
+
|
|
50
|
+
// Opcionales por tipo de producto
|
|
51
|
+
optional string rfc = 12;
|
|
52
|
+
optional string business_name = 13;
|
|
53
|
+
optional double available_limit = 14;
|
|
54
|
+
optional string delinquency = 15;
|
|
55
|
+
optional int32 delinquency_days = 16;
|
|
56
|
+
optional string payment_due_date = 17;
|
|
57
|
+
optional double cutoff_debt_balance = 18;
|
|
58
|
+
optional double current_debt_balance = 19;
|
|
59
|
+
optional double available_balance = 20;
|
|
60
|
+
optional double total_balance = 21;
|
|
61
|
+
optional string product_type_value = 22;
|
|
62
|
+
optional int32 transactions_per_period = 23;
|
|
63
|
+
repeated ContractBalance balances = 24;
|
|
54
64
|
}
|
|
55
65
|
|
|
56
66
|
message Transaction {
|
|
@@ -72,6 +72,30 @@ message GetCardInventoryRequest {
|
|
|
72
72
|
string card_type = 5;
|
|
73
73
|
string branch_id = 6;
|
|
74
74
|
string bin = 7;
|
|
75
|
+
string card_number = 8;
|
|
76
|
+
string product = 9;
|
|
77
|
+
string client_name = 10;
|
|
78
|
+
string customer_name = 11;
|
|
79
|
+
string creation_shipping_address = 12;
|
|
80
|
+
string status_thales = 13;
|
|
81
|
+
string manufacturer_status = 14;
|
|
82
|
+
string branch = 15;
|
|
83
|
+
string id = 16;
|
|
84
|
+
string id_long = 17;
|
|
85
|
+
string batch_id = 18;
|
|
86
|
+
string created_at_from = 19;
|
|
87
|
+
string created_at_to = 20;
|
|
88
|
+
string creation_date_from = 21;
|
|
89
|
+
string creation_date_to = 22;
|
|
90
|
+
string start_date = 23;
|
|
91
|
+
string end_date = 24;
|
|
92
|
+
string creation_date = 25;
|
|
93
|
+
string expiration_date_from = 26;
|
|
94
|
+
string expiration_date_to = 27;
|
|
95
|
+
string expiration_date = 28;
|
|
96
|
+
string updated_at_from = 29;
|
|
97
|
+
string updated_at_to = 30;
|
|
98
|
+
string status_value = 31;
|
|
75
99
|
}
|
|
76
100
|
|
|
77
101
|
message GetCardInventoryResponse {
|
|
@@ -148,6 +172,19 @@ message GetManufacturingBatchesRequest {
|
|
|
148
172
|
string client = 9;
|
|
149
173
|
string generation_date = 10;
|
|
150
174
|
string id_batch = 11;
|
|
175
|
+
string generation_date_from = 12;
|
|
176
|
+
string generation_date_to = 13;
|
|
177
|
+
string initial_bin = 14;
|
|
178
|
+
string final_bin = 15;
|
|
179
|
+
string created_from = 16;
|
|
180
|
+
string created_to = 17;
|
|
181
|
+
int32 quantity = 18;
|
|
182
|
+
string batch_status = 19;
|
|
183
|
+
string status_value = 20;
|
|
184
|
+
string status_label = 21;
|
|
185
|
+
string id = 22;
|
|
186
|
+
string priority_label = 23;
|
|
187
|
+
string priority_value = 24;
|
|
151
188
|
}
|
|
152
189
|
|
|
153
190
|
message GetManufacturingBatchesResponse {
|