@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.
@@ -1,316 +1,321 @@
1
- syntax = "proto3";
2
-
3
- package kapital.contracts.v1;
4
-
5
- option go_package = "kapital/contracts/v1;contractsv1";
6
-
7
- // ================== CreatePhysicalCardContract ==================
8
- message ModelResults {
9
- string model_name = 1;
10
- string model_version = 2;
11
- string code = 3;
12
- string text = 4;
13
- }
14
-
15
- message CIPFull {
16
- string status = 1;
17
- repeated ModelResults model_results = 2;
18
- string date_time = 3;
19
-
20
- string first_name = 4;
21
- string middle_name = 5;
22
- string last_name = 6;
23
-
24
- string address_1 = 7;
25
- string address_2 = 8;
26
- string city = 9;
27
- string state = 10;
28
-
29
- string primary_phone = 11;
30
- string other_phone = 12;
31
-
32
- string entity_id = 13;
33
- string customer_id = 14;
34
- }
35
-
36
- // ================== CreateVirtualCardContract ==================
37
- message CIP {
38
- string status = 1;
39
- repeated ModelResults model_results = 2;
40
- string date_time = 3;
41
-
42
- string first_name = 4;
43
- string middle_name = 5;
44
- string last_name = 6;
45
-
46
- string address_1 = 7;
47
- string address_2 = 8;
48
- string city = 9;
49
- string state = 10;
50
-
51
- string primary_phone = 11;
52
- string other_phone = 12;
53
- }
54
-
55
- // ================== UpdateContract ==================
56
- message Address {
57
- string address_1 = 1;
58
- string address_2 = 2;
59
- string city = 3;
60
- string state = 4;
61
- string zip = 5;
62
- string country_code = 6;
63
- }
64
-
65
- message CustomerProfile {
66
- string first_name = 1;
67
- string middle_name = 2;
68
- string last_name = 3;
69
- string preferred_name = 4;
70
- string preferred_name_only_on_card = 5;
71
- string address_1 = 6;
72
- string address_2 = 7;
73
- string city = 8;
74
- string state = 9;
75
- string zip = 10;
76
- string country_code = 11;
77
- string mobile_phone = 12;
78
- string email = 13;
79
- Address ship_address = 14;
80
- string express_mail = 15;
81
- int32 related_accounts = 16;
82
- string occupation = 17;
83
- string income_source = 18;
84
- string embossed_line_2 = 19;
85
- }
86
-
87
- // ================== GetContractById ==================
88
- message Card {
89
- string card_id = 1;
90
- string card_status = 2;
91
- }
92
-
93
- message Contract {
94
- string prn = 1;
95
- string prod_id = 2;
96
- string app_date = 3;
97
- string status = 4;
98
- string active_flag = 5;
99
- double balance = 6;
100
- string contract_number = 7;
101
- repeated Card cards = 8;
102
- }
103
-
104
- // ================== GetRelatedContracts ==================
105
- message RelatedData {
106
- string prn = 1;
107
- string product_id = 2;
108
- string contract_number = 3;
109
- string status = 4;
110
- string active = 5;
111
- }
112
-
113
- // ================== VerifyContract ==================
114
- message ContractVerify {
115
- string max_load_amount = 1;
116
- double balance = 2;
117
- string external_account_id = 3;
118
- string pmt_ref_number = 4;
119
- string account_status = 5;
120
- string contract_number = 6;
121
- string product_id = 7;
122
- }
123
-
124
- // ================== SearchContracts ==================
125
- message ContractSearch {
126
- string pmt_ref_number = 1;
127
- string first_name = 2;
128
- string middle_name = 3;
129
- string last_name = 4;
130
- string email = 5;
131
- string status = 6;
132
- string active = 7;
133
- string contract_number = 8;
134
- string product_id = 9;
135
- string group_id = 10;
136
- string application_date = 11;
137
- }
138
-
139
- // ================== GetContractData ==================
140
- message ContractOverview {
141
- string pmt_ref_no = 1;
142
- string status = 2;
143
- string first_fund_date = 3;
144
- string application_date = 4;
145
- double balance = 5;
146
- string currency_code = 6;
147
- string start_date = 7;
148
- string end_date = 8;
149
- int32 transaction_count = 9;
150
- int32 authorization_count = 10;
151
- string kyc_ref_no = 11;
152
- string curp = 12;
153
- string political_affiliation = 13;
154
- string place_of_birth = 14;
155
- string nationality = 15;
156
- }
157
-
158
- // ================== GetCustomerProfile ==================
159
-
160
- message Profile {
161
- string id = 1;
162
- optional string id2 = 2;
163
- optional string id3 = 3;
164
-
165
- int32 id_type = 4;
166
- optional int32 id2_type = 5;
167
- optional int32 id3_type = 6;
168
-
169
- string first_name = 7;
170
- optional string middle_name = 8;
171
- string last_name = 9;
172
-
173
- optional string address_1 = 10;
174
- optional string address_2 = 11;
175
-
176
- optional string business_name = 12;
177
-
178
- optional string city = 13;
179
- string state = 14;
180
- string postal_code = 15;
181
- optional string country_code = 16;
182
-
183
- optional string home_phone = 17;
184
- optional string mobile_phone = 18;
185
- optional string mobile_phone_country_code = 19;
186
- optional int32 carrier_id = 20;
187
-
188
- optional string email = 21;
189
- optional string dob = 22;
190
-
191
- Address ship_to_address = 23;
192
-
193
- optional string express_mail = 24;
194
- optional string occupation = 25;
195
- optional string income_source = 26;
196
- optional string monthly_income = 27;
197
- optional string preferred_lang = 28;
198
-
199
- string preferred_name = 29;
200
- }
201
-
202
- // ================== GetTransactions ==================
203
- message Transaction {
204
- string pmt_ref_no = 1;
205
- optional string act_id = 2;
206
- optional string act_type = 3;
207
- string mcc = 4;
208
- optional string post_ts = 5;
209
- string amt = 6;
210
- string details = 7;
211
- optional string description = 8;
212
- string source_id = 9;
213
- string bal_id = 10;
214
- string prod_id = 11;
215
- string auth_ts = 12;
216
- string trans_code = 13;
217
- optional string ach_transaction_id = 14;
218
- optional string external_trans_id = 15;
219
- optional string original_auth_id = 16;
220
- optional string network_id = 17;
221
- optional string local_amt = 18;
222
- optional string local_curr_code = 19;
223
- optional string settle_amt = 20;
224
- optional string settle_curr_code = 21;
225
- optional string billing_amt = 22;
226
- optional string billing_curr_code = 23;
227
- optional string credit_ind = 24;
228
- optional double iac_tax = 25;
229
- optional double iva_tax = 26;
230
- optional string funding_account_prn = 27;
231
- optional string spending_account_prn = 28;
232
- }
233
-
234
- // ================== GetAuthorizations ==================
235
- message Authorization {
236
- string auth_id = 1;
237
-
238
- string details = 2;
239
- string details_formatted = 3;
240
-
241
- string amount = 4;
242
-
243
- optional string timestamp = 5;
244
-
245
- string type = 6;
246
-
247
- string mcc = 7;
248
- string merchant_id = 8;
249
- string acq_id = 9;
250
- string terminal_id = 10;
251
-
252
- string can_be_expired = 11;
253
-
254
- optional string original_auth_id = 12;
255
- optional string network_code = 13;
256
-
257
- optional string local_amt = 14;
258
- optional string local_curr_code = 15;
259
-
260
- optional string settle_amt = 16;
261
- optional string settle_curr_code = 17;
262
-
263
- optional string billing_amt = 18;
264
- optional string billing_curr_code = 19;
265
-
266
- optional double iac_tax = 20;
267
- optional double iva_tax = 21;
268
-
269
- optional string latest_incremental_id = 22;
270
- optional string original_incremental_id = 23;
271
- }
272
-
273
- // ================== GetPendingFees ==================
274
- message FeeRelatedTransaction {
275
- optional string details = 1;
276
- double amt = 2;
277
- string post_ts = 3;
278
- }
279
-
280
- message PendingFee {
281
- string fee_event_id = 1;
282
- string type = 2;
283
- string type_description = 3;
284
- string amt = 4;
285
- string fee_date = 5;
286
- optional int64 card_id = 6;
287
- string fee_description = 7;
288
- optional FeeRelatedTransaction related_transaction = 8;
289
- }
290
-
291
- // ================== GetSavingsInterest ==================
292
- message SavingsInterest {
293
- string start_date = 1;
294
- string end_date = 2;
295
- string accrual_interest = 3;
296
- string interest_ytd = 4;
297
- string apy = 5;
298
- }
299
-
300
- // ================== GetHolds ==================
301
- message Hold {
302
- string hold_id = 1;
303
- optional string create_dt = 2;
304
- optional string expiry_dt = 3;
305
- optional string source_id = 4;
306
- optional string change_ts = 5;
307
- optional string hold_type = 6;
308
- optional string ext_id = 7;
309
- optional string dscr = 8;
310
- optional string originating_system_id = 9;
311
- optional string agent_id = 10;
312
- double amount = 11;
313
- optional string xid = 12;
314
- optional string expiring_system_id = 13;
315
- optional string expiring_agent_id = 14;
1
+ syntax = "proto3";
2
+
3
+ package kapital.contracts.v1;
4
+
5
+ option go_package = "kapital/contracts/v1;contractsv1";
6
+
7
+ // ================== CreatePhysicalCardContract ==================
8
+ message ModelResults {
9
+ string model_name = 1;
10
+ string model_version = 2;
11
+ string code = 3;
12
+ string text = 4;
13
+ }
14
+
15
+ message CIPFull {
16
+ string status = 1;
17
+ repeated ModelResults model_results = 2;
18
+ string date_time = 3;
19
+
20
+ string first_name = 4;
21
+ string middle_name = 5;
22
+ string last_name = 6;
23
+
24
+ string address_1 = 7;
25
+ string address_2 = 8;
26
+ string city = 9;
27
+ string state = 10;
28
+
29
+ string primary_phone = 11;
30
+ string other_phone = 12;
31
+
32
+ string entity_id = 13;
33
+ string customer_id = 14;
34
+ }
35
+
36
+ message CardInfo {
37
+ string card_number = 1;
38
+ string card_status = 2;
39
+ }
40
+
41
+ // ================== CreateVirtualCardContract ==================
42
+ message CIP {
43
+ string status = 1;
44
+ repeated ModelResults model_results = 2;
45
+ string date_time = 3;
46
+
47
+ string first_name = 4;
48
+ string middle_name = 5;
49
+ string last_name = 6;
50
+
51
+ string address_1 = 7;
52
+ string address_2 = 8;
53
+ string city = 9;
54
+ string state = 10;
55
+
56
+ string primary_phone = 11;
57
+ string other_phone = 12;
58
+ }
59
+
60
+ // ================== UpdateContract ==================
61
+ message Address {
62
+ string address_1 = 1;
63
+ string address_2 = 2;
64
+ string city = 3;
65
+ string state = 4;
66
+ string zip = 5;
67
+ string country_code = 6;
68
+ }
69
+
70
+ message CustomerProfile {
71
+ string first_name = 1;
72
+ string middle_name = 2;
73
+ string last_name = 3;
74
+ string preferred_name = 4;
75
+ string preferred_name_only_on_card = 5;
76
+ string address_1 = 6;
77
+ string address_2 = 7;
78
+ string city = 8;
79
+ string state = 9;
80
+ string zip = 10;
81
+ string country_code = 11;
82
+ string mobile_phone = 12;
83
+ string email = 13;
84
+ Address ship_address = 14;
85
+ string express_mail = 15;
86
+ int32 related_accounts = 16;
87
+ string occupation = 17;
88
+ string income_source = 18;
89
+ string embossed_line_2 = 19;
90
+ }
91
+
92
+ // ================== GetContractById ==================
93
+ message Card {
94
+ string card_id = 1;
95
+ string card_status = 2;
96
+ }
97
+
98
+ message Contract {
99
+ string prn = 1;
100
+ string prod_id = 2;
101
+ string app_date = 3;
102
+ string status = 4;
103
+ string active_flag = 5;
104
+ double balance = 6;
105
+ string contract_number = 7;
106
+ repeated Card cards = 8;
107
+ }
108
+
109
+ // ================== GetRelatedContracts ==================
110
+ message RelatedData {
111
+ string prn = 1;
112
+ string product_id = 2;
113
+ string contract_number = 3;
114
+ string status = 4;
115
+ string active = 5;
116
+ }
117
+
118
+ // ================== VerifyContract ==================
119
+ message ContractVerify {
120
+ string max_load_amount = 1;
121
+ double balance = 2;
122
+ string external_account_id = 3;
123
+ string pmt_ref_number = 4;
124
+ string account_status = 5;
125
+ string contract_number = 6;
126
+ string product_id = 7;
127
+ }
128
+
129
+ // ================== SearchContracts ==================
130
+ message ContractSearch {
131
+ string pmt_ref_number = 1;
132
+ string first_name = 2;
133
+ string middle_name = 3;
134
+ string last_name = 4;
135
+ string email = 5;
136
+ string status = 6;
137
+ string active = 7;
138
+ string contract_number = 8;
139
+ string product_id = 9;
140
+ string group_id = 10;
141
+ string application_date = 11;
142
+ }
143
+
144
+ // ================== GetContractData ==================
145
+ message ContractOverview {
146
+ string pmt_ref_no = 1;
147
+ string status = 2;
148
+ string first_fund_date = 3;
149
+ string application_date = 4;
150
+ double balance = 5;
151
+ string currency_code = 6;
152
+ string start_date = 7;
153
+ string end_date = 8;
154
+ int32 transaction_count = 9;
155
+ int32 authorization_count = 10;
156
+ string kyc_ref_no = 11;
157
+ string curp = 12;
158
+ string political_affiliation = 13;
159
+ string place_of_birth = 14;
160
+ string nationality = 15;
161
+ }
162
+
163
+ // ================== GetCustomerProfile ==================
164
+
165
+ message Profile {
166
+ string id = 1;
167
+ optional string id2 = 2;
168
+ optional string id3 = 3;
169
+
170
+ int32 id_type = 4;
171
+ optional int32 id2_type = 5;
172
+ optional int32 id3_type = 6;
173
+
174
+ string first_name = 7;
175
+ optional string middle_name = 8;
176
+ string last_name = 9;
177
+
178
+ optional string address_1 = 10;
179
+ optional string address_2 = 11;
180
+
181
+ optional string business_name = 12;
182
+
183
+ optional string city = 13;
184
+ string state = 14;
185
+ string postal_code = 15;
186
+ optional string country_code = 16;
187
+
188
+ optional string home_phone = 17;
189
+ optional string mobile_phone = 18;
190
+ optional string mobile_phone_country_code = 19;
191
+ optional int32 carrier_id = 20;
192
+
193
+ optional string email = 21;
194
+ optional string dob = 22;
195
+
196
+ Address ship_to_address = 23;
197
+
198
+ optional string express_mail = 24;
199
+ optional string occupation = 25;
200
+ optional string income_source = 26;
201
+ optional string monthly_income = 27;
202
+ optional string preferred_lang = 28;
203
+
204
+ string preferred_name = 29;
205
+ }
206
+
207
+ // ================== GetTransactions ==================
208
+ message Transaction {
209
+ string pmt_ref_no = 1;
210
+ optional string act_id = 2;
211
+ optional string act_type = 3;
212
+ string mcc = 4;
213
+ optional string post_ts = 5;
214
+ string amt = 6;
215
+ string details = 7;
216
+ optional string description = 8;
217
+ string source_id = 9;
218
+ string bal_id = 10;
219
+ string prod_id = 11;
220
+ string auth_ts = 12;
221
+ string trans_code = 13;
222
+ optional string ach_transaction_id = 14;
223
+ optional string external_trans_id = 15;
224
+ optional string original_auth_id = 16;
225
+ optional string network_id = 17;
226
+ optional string local_amt = 18;
227
+ optional string local_curr_code = 19;
228
+ optional string settle_amt = 20;
229
+ optional string settle_curr_code = 21;
230
+ optional string billing_amt = 22;
231
+ optional string billing_curr_code = 23;
232
+ optional string credit_ind = 24;
233
+ optional double iac_tax = 25;
234
+ optional double iva_tax = 26;
235
+ optional string funding_account_prn = 27;
236
+ optional string spending_account_prn = 28;
237
+ }
238
+
239
+ // ================== GetAuthorizations ==================
240
+ message Authorization {
241
+ string auth_id = 1;
242
+
243
+ string details = 2;
244
+ string details_formatted = 3;
245
+
246
+ string amount = 4;
247
+
248
+ optional string timestamp = 5;
249
+
250
+ string type = 6;
251
+
252
+ string mcc = 7;
253
+ string merchant_id = 8;
254
+ string acq_id = 9;
255
+ string terminal_id = 10;
256
+
257
+ string can_be_expired = 11;
258
+
259
+ optional string original_auth_id = 12;
260
+ optional string network_code = 13;
261
+
262
+ optional string local_amt = 14;
263
+ optional string local_curr_code = 15;
264
+
265
+ optional string settle_amt = 16;
266
+ optional string settle_curr_code = 17;
267
+
268
+ optional string billing_amt = 18;
269
+ optional string billing_curr_code = 19;
270
+
271
+ optional double iac_tax = 20;
272
+ optional double iva_tax = 21;
273
+
274
+ optional string latest_incremental_id = 22;
275
+ optional string original_incremental_id = 23;
276
+ }
277
+
278
+ // ================== GetPendingFees ==================
279
+ message FeeRelatedTransaction {
280
+ optional string details = 1;
281
+ double amt = 2;
282
+ string post_ts = 3;
283
+ }
284
+
285
+ message PendingFee {
286
+ string fee_event_id = 1;
287
+ string type = 2;
288
+ string type_description = 3;
289
+ string amt = 4;
290
+ string fee_date = 5;
291
+ optional int64 card_id = 6;
292
+ string fee_description = 7;
293
+ optional FeeRelatedTransaction related_transaction = 8;
294
+ }
295
+
296
+ // ================== GetSavingsInterest ==================
297
+ message SavingsInterest {
298
+ string start_date = 1;
299
+ string end_date = 2;
300
+ string accrual_interest = 3;
301
+ string interest_ytd = 4;
302
+ string apy = 5;
303
+ }
304
+
305
+ // ================== GetHolds ==================
306
+ message Hold {
307
+ string hold_id = 1;
308
+ optional string create_dt = 2;
309
+ optional string expiry_dt = 3;
310
+ optional string source_id = 4;
311
+ optional string change_ts = 5;
312
+ optional string hold_type = 6;
313
+ optional string ext_id = 7;
314
+ optional string dscr = 8;
315
+ optional string originating_system_id = 9;
316
+ optional string agent_id = 10;
317
+ double amount = 11;
318
+ optional string xid = 12;
319
+ optional string expiring_system_id = 13;
320
+ optional string expiring_agent_id = 14;
316
321
  }