@alexochihua/protos 1.0.11 → 1.0.13
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/disputes/v1/disputes.d.ts +2 -2
- package/dist/generated/kapital/disputes/v1/disputes.js +7 -5
- package/dist/generated/kapital/disputes/v1/disputes.js.map +1 -1
- package/dist/generated/kapital/disputes/v1/disputes_types.d.ts +4 -0
- package/dist/generated/kapital/disputes/v1/disputes_types.js +42 -1
- package/dist/generated/kapital/disputes/v1/disputes_types.js.map +1 -1
- package/dist/generated/kapital/transactions/v1/transactions.d.ts +1 -1
- package/dist/generated/kapital/transactions/v1/transactions.js +5 -5
- 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_types.proto +315 -315
- package/proto/kapital/disputes/v1/disputes.proto +1 -1
- package/proto/kapital/disputes/v1/disputes_types.proto +4 -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 +93 -93
- package/proto/kapital/payments/v1/payments_types.proto +17 -17
- package/proto/kapital/payments_methods/v1/payments_methods.proto +511 -511
- 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 +1 -1
- package/proto/kapital/transactions/v1/transactions_types.proto +90 -90
|
@@ -1,511 +1,511 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package kapital.payments_methods.v1;
|
|
4
|
-
|
|
5
|
-
option go_package = "kapital/payments_methods/v1;paymentsmethodsv1";
|
|
6
|
-
|
|
7
|
-
import "kapital/common/v1/meta.proto";
|
|
8
|
-
import "kapital/common/v1/pagination.proto";
|
|
9
|
-
import "kapital/payments_methods/v1/payments_methods_types.proto";
|
|
10
|
-
|
|
11
|
-
service PaymentsMethodsService {
|
|
12
|
-
// Card Inventory
|
|
13
|
-
rpc GetCardInventory(GetCardInventoryRequest) returns (GetCardInventoryResponse);
|
|
14
|
-
rpc GetCardById(GetCardByIdRequest) returns (GetCardByIdResponse);
|
|
15
|
-
rpc UpdateCardStatus(UpdateCardStatusRequest) returns (UpdateCardStatusResponse);
|
|
16
|
-
rpc GetInventoryCardTracking(GetInventoryCardTrackingRequest) returns (GetInventoryCardTrackingResponse);
|
|
17
|
-
rpc UpdateInventoryCard(UpdateInventoryCardRequest) returns (UpdateInventoryCardResponse);
|
|
18
|
-
rpc SyncCardStatus(SyncCardStatusRequest) returns (SyncCardStatusResponse);
|
|
19
|
-
|
|
20
|
-
// Manufacturing Batches
|
|
21
|
-
rpc GetManufacturingBatches(GetManufacturingBatchesRequest) returns (GetManufacturingBatchesResponse);
|
|
22
|
-
rpc GetManufacturingBatchById(GetManufacturingBatchByIdRequest) returns (GetManufacturingBatchByIdResponse);
|
|
23
|
-
rpc CreateManufacturingBatch(CreateManufacturingBatchRequest) returns (CreateManufacturingBatchResponse);
|
|
24
|
-
rpc GetBatchCards(GetBatchCardsRequest) returns (GetBatchCardsResponse);
|
|
25
|
-
rpc GetProductDetail(GetProductDetailRequest) returns (GetProductDetailResponse);
|
|
26
|
-
rpc GetCardholderByCardNumber(GetCardholderByCardNumberRequest) returns (GetCardholderByCardNumberResponse);
|
|
27
|
-
rpc GetAgreementDetail(GetAgreementDetailRequest) returns (GetAgreementDetailResponse);
|
|
28
|
-
|
|
29
|
-
// Virtual Cards
|
|
30
|
-
rpc GetVirtualCards(GetVirtualCardsRequest) returns (GetVirtualCardsResponse);
|
|
31
|
-
rpc GetVirtualCardById(GetVirtualCardByIdRequest) returns (GetVirtualCardByIdResponse);
|
|
32
|
-
rpc CreateVirtualCard(CreateVirtualCardRequest) returns (CreateVirtualCardResponse);
|
|
33
|
-
rpc UpdateVirtualCardActivation(UpdateVirtualCardActivationRequest) returns (UpdateVirtualCardActivationResponse);
|
|
34
|
-
rpc AssignVirtualCard(AssignVirtualCardRequest) returns (AssignVirtualCardResponse);
|
|
35
|
-
rpc DeleteVirtualCard(DeleteVirtualCardRequest) returns (DeleteVirtualCardResponse);
|
|
36
|
-
|
|
37
|
-
// Manufacturers
|
|
38
|
-
rpc GetManufacturers(GetManufacturersRequest) returns (GetManufacturersResponse);
|
|
39
|
-
rpc GetManufacturerById(GetManufacturerByIdRequest) returns (GetManufacturerByIdResponse);
|
|
40
|
-
rpc GetManufacturerDetail(GetManufacturerDetailRequest) returns (GetManufacturerDetailResponse);
|
|
41
|
-
rpc GetManufacturerProducts(GetManufacturerProductsRequest) returns (GetManufacturerProductsResponse);
|
|
42
|
-
|
|
43
|
-
// Catalogs
|
|
44
|
-
rpc GetCardTypes(GetCardTypesRequest) returns (GetCardTypesResponse);
|
|
45
|
-
rpc GetCardBrands(GetCardBrandsRequest) returns (GetCardBrandsResponse);
|
|
46
|
-
rpc GetCardStatuses(GetCardStatusesRequest) returns (GetCardStatusesResponse);
|
|
47
|
-
rpc GetBatchStatuses(GetBatchStatusesRequest) returns (GetBatchStatusesResponse);
|
|
48
|
-
rpc GetPriorities(GetPrioritiesRequest) returns (GetPrioritiesResponse);
|
|
49
|
-
rpc GetIssuances(GetIssuancesRequest) returns (GetIssuancesResponse);
|
|
50
|
-
rpc GetPackagings(GetPackagingsRequest) returns (GetPackagingsResponse);
|
|
51
|
-
rpc GetDeliveries(GetDeliveriesRequest) returns (GetDeliveriesResponse);
|
|
52
|
-
rpc GetCardCarriers(GetCardCarriersRequest) returns (GetCardCarriersResponse);
|
|
53
|
-
rpc GetBranches(GetBranchesRequest) returns (GetBranchesResponse);
|
|
54
|
-
rpc GetProducts(GetProductsRequest) returns (GetProductsResponse);
|
|
55
|
-
rpc GetPersonalizationTypes(GetPersonalizationTypesRequest) returns (GetPersonalizationTypesResponse);
|
|
56
|
-
rpc GetAgreements(GetAgreementsRequest) returns (GetAgreementsResponse);
|
|
57
|
-
rpc GetVirtualCardStatuses(GetVirtualCardStatusesRequest) returns (GetVirtualCardStatusesResponse);
|
|
58
|
-
rpc GetVirtualCardProducts(GetVirtualCardProductsRequest) returns (GetVirtualCardProductsResponse);
|
|
59
|
-
rpc GetManufacturerStatuses(GetManufacturerStatusesRequest) returns (GetManufacturerStatusesResponse);
|
|
60
|
-
rpc GetStatusesThales(GetStatusesThalesRequest) returns (GetStatusesThalesResponse);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// ============================================================================
|
|
64
|
-
// Card Inventory
|
|
65
|
-
// ============================================================================
|
|
66
|
-
|
|
67
|
-
message GetCardInventoryRequest {
|
|
68
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
69
|
-
string q = 2;
|
|
70
|
-
string status = 3;
|
|
71
|
-
string brand = 4;
|
|
72
|
-
string card_type = 5;
|
|
73
|
-
string branch_id = 6;
|
|
74
|
-
string bin = 7;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message GetCardInventoryResponse {
|
|
78
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
79
|
-
int32 total = 2;
|
|
80
|
-
repeated CardInventory cards = 3;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
message GetCardByIdRequest {
|
|
84
|
-
string id = 1;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
message GetCardByIdResponse {
|
|
88
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
89
|
-
CardInventory card = 2;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
message UpdateCardStatusRequest {
|
|
93
|
-
string id = 1;
|
|
94
|
-
string status = 2;
|
|
95
|
-
string responsible_user = 3;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
message UpdateCardStatusResponse {
|
|
99
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
100
|
-
CardInventory card = 2;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
message GetInventoryCardTrackingRequest {
|
|
104
|
-
string id = 1;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
message GetInventoryCardTrackingResponse {
|
|
108
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
109
|
-
CardTracking tracking = 2;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
message UpdateInventoryCardRequest {
|
|
113
|
-
string id = 1;
|
|
114
|
-
string status_id = 2;
|
|
115
|
-
string branch_id = 3;
|
|
116
|
-
string responsible_user = 4;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
message UpdateInventoryCardResponse {
|
|
120
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
121
|
-
CardInventory card = 2;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
message SyncCardStatusRequest {
|
|
125
|
-
string id = 1;
|
|
126
|
-
string status_thales = 2;
|
|
127
|
-
string responsible_user = 3;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
message SyncCardStatusResponse {
|
|
131
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
132
|
-
CardInventory card = 2;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// ============================================================================
|
|
136
|
-
// Manufacturing Batches
|
|
137
|
-
// ============================================================================
|
|
138
|
-
|
|
139
|
-
message GetManufacturingBatchesRequest {
|
|
140
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
141
|
-
string q = 2;
|
|
142
|
-
string status = 3;
|
|
143
|
-
string brand = 4;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
message GetManufacturingBatchesResponse {
|
|
147
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
148
|
-
int32 total = 2;
|
|
149
|
-
repeated ManufacturingBatch batches = 3;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
message GetManufacturingBatchByIdRequest {
|
|
153
|
-
string id = 1;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
message GetManufacturingBatchByIdResponse {
|
|
157
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
158
|
-
ManufacturingBatch batch = 2;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
message CreateManufacturingBatchRequest {
|
|
162
|
-
string product_type = 1;
|
|
163
|
-
string brand = 2;
|
|
164
|
-
int32 nominative_card_quantity = 3;
|
|
165
|
-
int32 innominative_card_quantity = 4;
|
|
166
|
-
int32 total_card_quantity = 5;
|
|
167
|
-
string bin = 6;
|
|
168
|
-
string manufacturer = 7;
|
|
169
|
-
string issuance = 8;
|
|
170
|
-
string personalization = 9;
|
|
171
|
-
string priority = 10;
|
|
172
|
-
string destination_branch = 11;
|
|
173
|
-
string packaging = 12;
|
|
174
|
-
string delivery = 13;
|
|
175
|
-
string card_carrier = 14;
|
|
176
|
-
string status = 15;
|
|
177
|
-
string generation_date = 16;
|
|
178
|
-
repeated NominativeCardData cards = 17;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
message CreateManufacturingBatchResponse {
|
|
182
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
183
|
-
ManufacturingBatch batch = 2;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
message GetBatchCardsRequest {
|
|
187
|
-
string batch_id = 1;
|
|
188
|
-
kapital.common.v1.PageRequest page_request = 2;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
message GetBatchCardsResponse {
|
|
192
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
193
|
-
int32 total = 2;
|
|
194
|
-
repeated BatchCard cards = 3;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
message GetProductDetailRequest {
|
|
198
|
-
string product_id = 1;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
message GetProductDetailResponse {
|
|
202
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
203
|
-
ProductDetail product_detail = 2;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
message GetCardholderByCardNumberRequest {
|
|
207
|
-
string card_number = 1;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
message GetCardholderByCardNumberResponse {
|
|
211
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
212
|
-
Cardholder cardholder = 2;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
message GetAgreementDetailRequest {
|
|
216
|
-
string agreement = 1;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
message GetAgreementDetailResponse {
|
|
220
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
221
|
-
AgreementDetail agreement_detail = 2;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
// ============================================================================
|
|
225
|
-
// Virtual Cards
|
|
226
|
-
// ============================================================================
|
|
227
|
-
|
|
228
|
-
message GetVirtualCardsRequest {
|
|
229
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
230
|
-
string q = 2;
|
|
231
|
-
string status = 3;
|
|
232
|
-
string product_type = 4;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
message GetVirtualCardsResponse {
|
|
236
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
237
|
-
int32 total = 2;
|
|
238
|
-
repeated VirtualCard cards = 3;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
message GetVirtualCardByIdRequest {
|
|
242
|
-
string id = 1;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
message GetVirtualCardByIdResponse {
|
|
246
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
247
|
-
VirtualCard card = 2;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
message CreateVirtualCardRequest {
|
|
251
|
-
string pan = 1;
|
|
252
|
-
string bin = 2;
|
|
253
|
-
string status_id = 3;
|
|
254
|
-
string product_id = 4;
|
|
255
|
-
string physical_card_id = 5;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
message CreateVirtualCardResponse {
|
|
259
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
260
|
-
VirtualCard card = 2;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
message UpdateVirtualCardActivationRequest {
|
|
264
|
-
string id = 1;
|
|
265
|
-
bool is_active = 2;
|
|
266
|
-
string activation_status = 3;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
message UpdateVirtualCardActivationResponse {
|
|
270
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
271
|
-
VirtualCard card = 2;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
message AssignVirtualCardRequest {
|
|
275
|
-
string id = 1;
|
|
276
|
-
string client_id = 2;
|
|
277
|
-
string client_name = 3;
|
|
278
|
-
string limit_amount = 4;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
message AssignVirtualCardResponse {
|
|
282
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
283
|
-
VirtualCard card = 2;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
message DeleteVirtualCardRequest {
|
|
287
|
-
string id = 1;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
message DeleteVirtualCardResponse {
|
|
291
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
// ============================================================================
|
|
295
|
-
// Manufacturers
|
|
296
|
-
// ============================================================================
|
|
297
|
-
|
|
298
|
-
message GetManufacturersRequest {
|
|
299
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
300
|
-
string q = 2;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
message GetManufacturersResponse {
|
|
304
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
305
|
-
int32 total = 2;
|
|
306
|
-
repeated Manufacturer manufacturers = 3;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
message GetManufacturerByIdRequest {
|
|
310
|
-
string id = 1;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
message GetManufacturerByIdResponse {
|
|
314
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
315
|
-
Manufacturer manufacturer = 2;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
message GetManufacturerDetailRequest {
|
|
319
|
-
string id = 1;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
message GetManufacturerDetailResponse {
|
|
323
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
324
|
-
ManufacturerDetail manufacturer = 2;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
message GetManufacturerProductsRequest {
|
|
328
|
-
string id = 1;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
message GetManufacturerProductsResponse {
|
|
332
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
333
|
-
int32 total = 2;
|
|
334
|
-
repeated ProductTypeItem products = 3;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
// ============================================================================
|
|
338
|
-
// Catalogs
|
|
339
|
-
// ============================================================================
|
|
340
|
-
|
|
341
|
-
message GetCardTypesRequest {
|
|
342
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
message GetCardTypesResponse {
|
|
346
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
347
|
-
int32 total = 2;
|
|
348
|
-
repeated CatalogItem types = 3;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
message GetCardBrandsRequest {
|
|
352
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
message GetCardBrandsResponse {
|
|
356
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
357
|
-
int32 total = 2;
|
|
358
|
-
repeated CatalogItem brands = 3;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
message GetCardStatusesRequest {
|
|
362
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
message GetCardStatusesResponse {
|
|
366
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
367
|
-
int32 total = 2;
|
|
368
|
-
repeated CatalogItem statuses = 3;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
message GetBatchStatusesRequest {
|
|
372
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
message GetBatchStatusesResponse {
|
|
376
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
377
|
-
int32 total = 2;
|
|
378
|
-
repeated CatalogItem batch_statuses = 3;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
message GetPrioritiesRequest {
|
|
382
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
message GetPrioritiesResponse {
|
|
386
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
387
|
-
int32 total = 2;
|
|
388
|
-
repeated CatalogItem priorities = 3;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
message GetIssuancesRequest {
|
|
392
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
message GetIssuancesResponse {
|
|
396
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
397
|
-
int32 total = 2;
|
|
398
|
-
repeated CatalogItem issuances = 3;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
message GetPackagingsRequest {
|
|
402
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
message GetPackagingsResponse {
|
|
406
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
407
|
-
int32 total = 2;
|
|
408
|
-
repeated CatalogItem packagings = 3;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
message GetDeliveriesRequest {
|
|
412
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
message GetDeliveriesResponse {
|
|
416
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
417
|
-
int32 total = 2;
|
|
418
|
-
repeated CatalogItem deliveries = 3;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
message GetCardCarriersRequest {
|
|
422
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
message GetCardCarriersResponse {
|
|
426
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
427
|
-
int32 total = 2;
|
|
428
|
-
repeated CatalogItem card_carriers = 3;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
message GetBranchesRequest {
|
|
432
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
message GetBranchesResponse {
|
|
436
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
437
|
-
int32 total = 2;
|
|
438
|
-
repeated CatalogItem branches = 3;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
message GetProductsRequest {
|
|
442
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
message GetProductsResponse {
|
|
446
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
447
|
-
int32 total = 2;
|
|
448
|
-
repeated CatalogItem products = 3;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
message GetPersonalizationTypesRequest {
|
|
452
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
message GetPersonalizationTypesResponse {
|
|
456
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
457
|
-
int32 total = 2;
|
|
458
|
-
repeated CatalogItem personalization_types = 3;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
message GetAgreementsRequest {
|
|
462
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
463
|
-
string search = 2;
|
|
464
|
-
string product_type = 3;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
message GetAgreementsResponse {
|
|
468
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
469
|
-
int32 total = 2;
|
|
470
|
-
repeated CatalogItem agreements = 3;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
message GetVirtualCardStatusesRequest {
|
|
474
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
message GetVirtualCardStatusesResponse {
|
|
478
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
479
|
-
int32 total = 2;
|
|
480
|
-
repeated CatalogItem virtual_card_statuses = 3;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
message GetVirtualCardProductsRequest {
|
|
484
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
message GetVirtualCardProductsResponse {
|
|
488
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
489
|
-
int32 total = 2;
|
|
490
|
-
repeated CatalogItem virtual_card_products = 3;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
message GetManufacturerStatusesRequest {
|
|
494
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
message GetManufacturerStatusesResponse {
|
|
498
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
499
|
-
int32 total = 2;
|
|
500
|
-
repeated CatalogItem manufacturer_statuses = 3;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
message GetStatusesThalesRequest {
|
|
504
|
-
kapital.common.v1.PageRequest page_request = 1;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
message GetStatusesThalesResponse {
|
|
508
|
-
kapital.common.v1.ResponseMeta meta = 1;
|
|
509
|
-
int32 total = 2;
|
|
510
|
-
repeated CatalogItem statuses_thales = 3;
|
|
511
|
-
}
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package kapital.payments_methods.v1;
|
|
4
|
+
|
|
5
|
+
option go_package = "kapital/payments_methods/v1;paymentsmethodsv1";
|
|
6
|
+
|
|
7
|
+
import "kapital/common/v1/meta.proto";
|
|
8
|
+
import "kapital/common/v1/pagination.proto";
|
|
9
|
+
import "kapital/payments_methods/v1/payments_methods_types.proto";
|
|
10
|
+
|
|
11
|
+
service PaymentsMethodsService {
|
|
12
|
+
// Card Inventory
|
|
13
|
+
rpc GetCardInventory(GetCardInventoryRequest) returns (GetCardInventoryResponse);
|
|
14
|
+
rpc GetCardById(GetCardByIdRequest) returns (GetCardByIdResponse);
|
|
15
|
+
rpc UpdateCardStatus(UpdateCardStatusRequest) returns (UpdateCardStatusResponse);
|
|
16
|
+
rpc GetInventoryCardTracking(GetInventoryCardTrackingRequest) returns (GetInventoryCardTrackingResponse);
|
|
17
|
+
rpc UpdateInventoryCard(UpdateInventoryCardRequest) returns (UpdateInventoryCardResponse);
|
|
18
|
+
rpc SyncCardStatus(SyncCardStatusRequest) returns (SyncCardStatusResponse);
|
|
19
|
+
|
|
20
|
+
// Manufacturing Batches
|
|
21
|
+
rpc GetManufacturingBatches(GetManufacturingBatchesRequest) returns (GetManufacturingBatchesResponse);
|
|
22
|
+
rpc GetManufacturingBatchById(GetManufacturingBatchByIdRequest) returns (GetManufacturingBatchByIdResponse);
|
|
23
|
+
rpc CreateManufacturingBatch(CreateManufacturingBatchRequest) returns (CreateManufacturingBatchResponse);
|
|
24
|
+
rpc GetBatchCards(GetBatchCardsRequest) returns (GetBatchCardsResponse);
|
|
25
|
+
rpc GetProductDetail(GetProductDetailRequest) returns (GetProductDetailResponse);
|
|
26
|
+
rpc GetCardholderByCardNumber(GetCardholderByCardNumberRequest) returns (GetCardholderByCardNumberResponse);
|
|
27
|
+
rpc GetAgreementDetail(GetAgreementDetailRequest) returns (GetAgreementDetailResponse);
|
|
28
|
+
|
|
29
|
+
// Virtual Cards
|
|
30
|
+
rpc GetVirtualCards(GetVirtualCardsRequest) returns (GetVirtualCardsResponse);
|
|
31
|
+
rpc GetVirtualCardById(GetVirtualCardByIdRequest) returns (GetVirtualCardByIdResponse);
|
|
32
|
+
rpc CreateVirtualCard(CreateVirtualCardRequest) returns (CreateVirtualCardResponse);
|
|
33
|
+
rpc UpdateVirtualCardActivation(UpdateVirtualCardActivationRequest) returns (UpdateVirtualCardActivationResponse);
|
|
34
|
+
rpc AssignVirtualCard(AssignVirtualCardRequest) returns (AssignVirtualCardResponse);
|
|
35
|
+
rpc DeleteVirtualCard(DeleteVirtualCardRequest) returns (DeleteVirtualCardResponse);
|
|
36
|
+
|
|
37
|
+
// Manufacturers
|
|
38
|
+
rpc GetManufacturers(GetManufacturersRequest) returns (GetManufacturersResponse);
|
|
39
|
+
rpc GetManufacturerById(GetManufacturerByIdRequest) returns (GetManufacturerByIdResponse);
|
|
40
|
+
rpc GetManufacturerDetail(GetManufacturerDetailRequest) returns (GetManufacturerDetailResponse);
|
|
41
|
+
rpc GetManufacturerProducts(GetManufacturerProductsRequest) returns (GetManufacturerProductsResponse);
|
|
42
|
+
|
|
43
|
+
// Catalogs
|
|
44
|
+
rpc GetCardTypes(GetCardTypesRequest) returns (GetCardTypesResponse);
|
|
45
|
+
rpc GetCardBrands(GetCardBrandsRequest) returns (GetCardBrandsResponse);
|
|
46
|
+
rpc GetCardStatuses(GetCardStatusesRequest) returns (GetCardStatusesResponse);
|
|
47
|
+
rpc GetBatchStatuses(GetBatchStatusesRequest) returns (GetBatchStatusesResponse);
|
|
48
|
+
rpc GetPriorities(GetPrioritiesRequest) returns (GetPrioritiesResponse);
|
|
49
|
+
rpc GetIssuances(GetIssuancesRequest) returns (GetIssuancesResponse);
|
|
50
|
+
rpc GetPackagings(GetPackagingsRequest) returns (GetPackagingsResponse);
|
|
51
|
+
rpc GetDeliveries(GetDeliveriesRequest) returns (GetDeliveriesResponse);
|
|
52
|
+
rpc GetCardCarriers(GetCardCarriersRequest) returns (GetCardCarriersResponse);
|
|
53
|
+
rpc GetBranches(GetBranchesRequest) returns (GetBranchesResponse);
|
|
54
|
+
rpc GetProducts(GetProductsRequest) returns (GetProductsResponse);
|
|
55
|
+
rpc GetPersonalizationTypes(GetPersonalizationTypesRequest) returns (GetPersonalizationTypesResponse);
|
|
56
|
+
rpc GetAgreements(GetAgreementsRequest) returns (GetAgreementsResponse);
|
|
57
|
+
rpc GetVirtualCardStatuses(GetVirtualCardStatusesRequest) returns (GetVirtualCardStatusesResponse);
|
|
58
|
+
rpc GetVirtualCardProducts(GetVirtualCardProductsRequest) returns (GetVirtualCardProductsResponse);
|
|
59
|
+
rpc GetManufacturerStatuses(GetManufacturerStatusesRequest) returns (GetManufacturerStatusesResponse);
|
|
60
|
+
rpc GetStatusesThales(GetStatusesThalesRequest) returns (GetStatusesThalesResponse);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// ============================================================================
|
|
64
|
+
// Card Inventory
|
|
65
|
+
// ============================================================================
|
|
66
|
+
|
|
67
|
+
message GetCardInventoryRequest {
|
|
68
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
69
|
+
string q = 2;
|
|
70
|
+
string status = 3;
|
|
71
|
+
string brand = 4;
|
|
72
|
+
string card_type = 5;
|
|
73
|
+
string branch_id = 6;
|
|
74
|
+
string bin = 7;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
message GetCardInventoryResponse {
|
|
78
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
79
|
+
int32 total = 2;
|
|
80
|
+
repeated CardInventory cards = 3;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message GetCardByIdRequest {
|
|
84
|
+
string id = 1;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
message GetCardByIdResponse {
|
|
88
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
89
|
+
CardInventory card = 2;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
message UpdateCardStatusRequest {
|
|
93
|
+
string id = 1;
|
|
94
|
+
string status = 2;
|
|
95
|
+
string responsible_user = 3;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
message UpdateCardStatusResponse {
|
|
99
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
100
|
+
CardInventory card = 2;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message GetInventoryCardTrackingRequest {
|
|
104
|
+
string id = 1;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
message GetInventoryCardTrackingResponse {
|
|
108
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
109
|
+
CardTracking tracking = 2;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
message UpdateInventoryCardRequest {
|
|
113
|
+
string id = 1;
|
|
114
|
+
string status_id = 2;
|
|
115
|
+
string branch_id = 3;
|
|
116
|
+
string responsible_user = 4;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
message UpdateInventoryCardResponse {
|
|
120
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
121
|
+
CardInventory card = 2;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
message SyncCardStatusRequest {
|
|
125
|
+
string id = 1;
|
|
126
|
+
string status_thales = 2;
|
|
127
|
+
string responsible_user = 3;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
message SyncCardStatusResponse {
|
|
131
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
132
|
+
CardInventory card = 2;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// ============================================================================
|
|
136
|
+
// Manufacturing Batches
|
|
137
|
+
// ============================================================================
|
|
138
|
+
|
|
139
|
+
message GetManufacturingBatchesRequest {
|
|
140
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
141
|
+
string q = 2;
|
|
142
|
+
string status = 3;
|
|
143
|
+
string brand = 4;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
message GetManufacturingBatchesResponse {
|
|
147
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
148
|
+
int32 total = 2;
|
|
149
|
+
repeated ManufacturingBatch batches = 3;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
message GetManufacturingBatchByIdRequest {
|
|
153
|
+
string id = 1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
message GetManufacturingBatchByIdResponse {
|
|
157
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
158
|
+
ManufacturingBatch batch = 2;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
message CreateManufacturingBatchRequest {
|
|
162
|
+
string product_type = 1;
|
|
163
|
+
string brand = 2;
|
|
164
|
+
int32 nominative_card_quantity = 3;
|
|
165
|
+
int32 innominative_card_quantity = 4;
|
|
166
|
+
int32 total_card_quantity = 5;
|
|
167
|
+
string bin = 6;
|
|
168
|
+
string manufacturer = 7;
|
|
169
|
+
string issuance = 8;
|
|
170
|
+
string personalization = 9;
|
|
171
|
+
string priority = 10;
|
|
172
|
+
string destination_branch = 11;
|
|
173
|
+
string packaging = 12;
|
|
174
|
+
string delivery = 13;
|
|
175
|
+
string card_carrier = 14;
|
|
176
|
+
string status = 15;
|
|
177
|
+
string generation_date = 16;
|
|
178
|
+
repeated NominativeCardData cards = 17;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
message CreateManufacturingBatchResponse {
|
|
182
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
183
|
+
ManufacturingBatch batch = 2;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
message GetBatchCardsRequest {
|
|
187
|
+
string batch_id = 1;
|
|
188
|
+
kapital.common.v1.PageRequest page_request = 2;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
message GetBatchCardsResponse {
|
|
192
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
193
|
+
int32 total = 2;
|
|
194
|
+
repeated BatchCard cards = 3;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
message GetProductDetailRequest {
|
|
198
|
+
string product_id = 1;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
message GetProductDetailResponse {
|
|
202
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
203
|
+
ProductDetail product_detail = 2;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
message GetCardholderByCardNumberRequest {
|
|
207
|
+
string card_number = 1;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
message GetCardholderByCardNumberResponse {
|
|
211
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
212
|
+
Cardholder cardholder = 2;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
message GetAgreementDetailRequest {
|
|
216
|
+
string agreement = 1;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
message GetAgreementDetailResponse {
|
|
220
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
221
|
+
AgreementDetail agreement_detail = 2;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// ============================================================================
|
|
225
|
+
// Virtual Cards
|
|
226
|
+
// ============================================================================
|
|
227
|
+
|
|
228
|
+
message GetVirtualCardsRequest {
|
|
229
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
230
|
+
string q = 2;
|
|
231
|
+
string status = 3;
|
|
232
|
+
string product_type = 4;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
message GetVirtualCardsResponse {
|
|
236
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
237
|
+
int32 total = 2;
|
|
238
|
+
repeated VirtualCard cards = 3;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
message GetVirtualCardByIdRequest {
|
|
242
|
+
string id = 1;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
message GetVirtualCardByIdResponse {
|
|
246
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
247
|
+
VirtualCard card = 2;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
message CreateVirtualCardRequest {
|
|
251
|
+
string pan = 1;
|
|
252
|
+
string bin = 2;
|
|
253
|
+
string status_id = 3;
|
|
254
|
+
string product_id = 4;
|
|
255
|
+
string physical_card_id = 5;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
message CreateVirtualCardResponse {
|
|
259
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
260
|
+
VirtualCard card = 2;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
message UpdateVirtualCardActivationRequest {
|
|
264
|
+
string id = 1;
|
|
265
|
+
bool is_active = 2;
|
|
266
|
+
string activation_status = 3;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
message UpdateVirtualCardActivationResponse {
|
|
270
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
271
|
+
VirtualCard card = 2;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
message AssignVirtualCardRequest {
|
|
275
|
+
string id = 1;
|
|
276
|
+
string client_id = 2;
|
|
277
|
+
string client_name = 3;
|
|
278
|
+
string limit_amount = 4;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
message AssignVirtualCardResponse {
|
|
282
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
283
|
+
VirtualCard card = 2;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
message DeleteVirtualCardRequest {
|
|
287
|
+
string id = 1;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
message DeleteVirtualCardResponse {
|
|
291
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// ============================================================================
|
|
295
|
+
// Manufacturers
|
|
296
|
+
// ============================================================================
|
|
297
|
+
|
|
298
|
+
message GetManufacturersRequest {
|
|
299
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
300
|
+
string q = 2;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
message GetManufacturersResponse {
|
|
304
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
305
|
+
int32 total = 2;
|
|
306
|
+
repeated Manufacturer manufacturers = 3;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
message GetManufacturerByIdRequest {
|
|
310
|
+
string id = 1;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
message GetManufacturerByIdResponse {
|
|
314
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
315
|
+
Manufacturer manufacturer = 2;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
message GetManufacturerDetailRequest {
|
|
319
|
+
string id = 1;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
message GetManufacturerDetailResponse {
|
|
323
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
324
|
+
ManufacturerDetail manufacturer = 2;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
message GetManufacturerProductsRequest {
|
|
328
|
+
string id = 1;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
message GetManufacturerProductsResponse {
|
|
332
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
333
|
+
int32 total = 2;
|
|
334
|
+
repeated ProductTypeItem products = 3;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
// ============================================================================
|
|
338
|
+
// Catalogs
|
|
339
|
+
// ============================================================================
|
|
340
|
+
|
|
341
|
+
message GetCardTypesRequest {
|
|
342
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
message GetCardTypesResponse {
|
|
346
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
347
|
+
int32 total = 2;
|
|
348
|
+
repeated CatalogItem types = 3;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
message GetCardBrandsRequest {
|
|
352
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
message GetCardBrandsResponse {
|
|
356
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
357
|
+
int32 total = 2;
|
|
358
|
+
repeated CatalogItem brands = 3;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
message GetCardStatusesRequest {
|
|
362
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
message GetCardStatusesResponse {
|
|
366
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
367
|
+
int32 total = 2;
|
|
368
|
+
repeated CatalogItem statuses = 3;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
message GetBatchStatusesRequest {
|
|
372
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
message GetBatchStatusesResponse {
|
|
376
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
377
|
+
int32 total = 2;
|
|
378
|
+
repeated CatalogItem batch_statuses = 3;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
message GetPrioritiesRequest {
|
|
382
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
message GetPrioritiesResponse {
|
|
386
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
387
|
+
int32 total = 2;
|
|
388
|
+
repeated CatalogItem priorities = 3;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
message GetIssuancesRequest {
|
|
392
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
message GetIssuancesResponse {
|
|
396
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
397
|
+
int32 total = 2;
|
|
398
|
+
repeated CatalogItem issuances = 3;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
message GetPackagingsRequest {
|
|
402
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
message GetPackagingsResponse {
|
|
406
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
407
|
+
int32 total = 2;
|
|
408
|
+
repeated CatalogItem packagings = 3;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
message GetDeliveriesRequest {
|
|
412
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
message GetDeliveriesResponse {
|
|
416
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
417
|
+
int32 total = 2;
|
|
418
|
+
repeated CatalogItem deliveries = 3;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
message GetCardCarriersRequest {
|
|
422
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
message GetCardCarriersResponse {
|
|
426
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
427
|
+
int32 total = 2;
|
|
428
|
+
repeated CatalogItem card_carriers = 3;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
message GetBranchesRequest {
|
|
432
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
message GetBranchesResponse {
|
|
436
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
437
|
+
int32 total = 2;
|
|
438
|
+
repeated CatalogItem branches = 3;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
message GetProductsRequest {
|
|
442
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
message GetProductsResponse {
|
|
446
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
447
|
+
int32 total = 2;
|
|
448
|
+
repeated CatalogItem products = 3;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
message GetPersonalizationTypesRequest {
|
|
452
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
message GetPersonalizationTypesResponse {
|
|
456
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
457
|
+
int32 total = 2;
|
|
458
|
+
repeated CatalogItem personalization_types = 3;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
message GetAgreementsRequest {
|
|
462
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
463
|
+
string search = 2;
|
|
464
|
+
string product_type = 3;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
message GetAgreementsResponse {
|
|
468
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
469
|
+
int32 total = 2;
|
|
470
|
+
repeated CatalogItem agreements = 3;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
message GetVirtualCardStatusesRequest {
|
|
474
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
message GetVirtualCardStatusesResponse {
|
|
478
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
479
|
+
int32 total = 2;
|
|
480
|
+
repeated CatalogItem virtual_card_statuses = 3;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
message GetVirtualCardProductsRequest {
|
|
484
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
message GetVirtualCardProductsResponse {
|
|
488
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
489
|
+
int32 total = 2;
|
|
490
|
+
repeated CatalogItem virtual_card_products = 3;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
message GetManufacturerStatusesRequest {
|
|
494
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
message GetManufacturerStatusesResponse {
|
|
498
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
499
|
+
int32 total = 2;
|
|
500
|
+
repeated CatalogItem manufacturer_statuses = 3;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
message GetStatusesThalesRequest {
|
|
504
|
+
kapital.common.v1.PageRequest page_request = 1;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
message GetStatusesThalesResponse {
|
|
508
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
509
|
+
int32 total = 2;
|
|
510
|
+
repeated CatalogItem statuses_thales = 3;
|
|
511
|
+
}
|