@alexochihua/protos 1.0.41 → 1.0.42
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 +2 -2
- package/dist/generated/kapital/contracts/v1/contracts.js +14 -10
- package/dist/generated/kapital/contracts/v1/contracts.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 +2 -2
- 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_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_types.proto +90 -90
|
@@ -121,8 +121,8 @@ export interface CreatePhysicalCardContractResponse {
|
|
|
121
121
|
product_id: string;
|
|
122
122
|
contract_number: string;
|
|
123
123
|
cip: CIPFull[];
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
card_virtual?: CardInfo | undefined;
|
|
125
|
+
card_physical?: CardInfo | undefined;
|
|
126
126
|
new_emboss_uuid: string;
|
|
127
127
|
expiry_date: string;
|
|
128
128
|
card_security_code: string;
|
|
@@ -1366,8 +1366,8 @@ function createBaseCreatePhysicalCardContractResponse() {
|
|
|
1366
1366
|
product_id: "",
|
|
1367
1367
|
contract_number: "",
|
|
1368
1368
|
cip: [],
|
|
1369
|
-
|
|
1370
|
-
|
|
1369
|
+
card_virtual: undefined,
|
|
1370
|
+
card_physical: undefined,
|
|
1371
1371
|
new_emboss_uuid: "",
|
|
1372
1372
|
expiry_date: "",
|
|
1373
1373
|
card_security_code: "",
|
|
@@ -1392,11 +1392,11 @@ exports.CreatePhysicalCardContractResponse = {
|
|
|
1392
1392
|
for (const v of message.cip) {
|
|
1393
1393
|
contracts_types_1.CIPFull.encode(v, writer.uint32(42).fork()).join();
|
|
1394
1394
|
}
|
|
1395
|
-
if (message.
|
|
1396
|
-
writer.uint32(50).
|
|
1395
|
+
if (message.card_virtual !== undefined) {
|
|
1396
|
+
contracts_types_1.CardInfo.encode(message.card_virtual, writer.uint32(50).fork()).join();
|
|
1397
1397
|
}
|
|
1398
|
-
if (message.
|
|
1399
|
-
writer.uint32(58).
|
|
1398
|
+
if (message.card_physical !== undefined) {
|
|
1399
|
+
contracts_types_1.CardInfo.encode(message.card_physical, writer.uint32(58).fork()).join();
|
|
1400
1400
|
}
|
|
1401
1401
|
if (message.new_emboss_uuid !== "") {
|
|
1402
1402
|
writer.uint32(66).string(message.new_emboss_uuid);
|
|
@@ -1461,14 +1461,14 @@ exports.CreatePhysicalCardContractResponse = {
|
|
|
1461
1461
|
if (tag !== 50) {
|
|
1462
1462
|
break;
|
|
1463
1463
|
}
|
|
1464
|
-
message.
|
|
1464
|
+
message.card_virtual = contracts_types_1.CardInfo.decode(reader, reader.uint32());
|
|
1465
1465
|
continue;
|
|
1466
1466
|
}
|
|
1467
1467
|
case 7: {
|
|
1468
1468
|
if (tag !== 58) {
|
|
1469
1469
|
break;
|
|
1470
1470
|
}
|
|
1471
|
-
message.
|
|
1471
|
+
message.card_physical = contracts_types_1.CardInfo.decode(reader, reader.uint32());
|
|
1472
1472
|
continue;
|
|
1473
1473
|
}
|
|
1474
1474
|
case 8: {
|
|
@@ -1526,8 +1526,12 @@ exports.CreatePhysicalCardContractResponse = {
|
|
|
1526
1526
|
message.product_id = object.product_id ?? "";
|
|
1527
1527
|
message.contract_number = object.contract_number ?? "";
|
|
1528
1528
|
message.cip = object.cip?.map((e) => contracts_types_1.CIPFull.fromPartial(e)) || [];
|
|
1529
|
-
message.
|
|
1530
|
-
|
|
1529
|
+
message.card_virtual = (object.card_virtual !== undefined && object.card_virtual !== null)
|
|
1530
|
+
? contracts_types_1.CardInfo.fromPartial(object.card_virtual)
|
|
1531
|
+
: undefined;
|
|
1532
|
+
message.card_physical = (object.card_physical !== undefined && object.card_physical !== null)
|
|
1533
|
+
? contracts_types_1.CardInfo.fromPartial(object.card_physical)
|
|
1534
|
+
: undefined;
|
|
1531
1535
|
message.new_emboss_uuid = object.new_emboss_uuid ?? "";
|
|
1532
1536
|
message.expiry_date = object.expiry_date ?? "";
|
|
1533
1537
|
message.card_security_code = object.card_security_code ?? "";
|