@alexochihua/protos 1.0.37 → 1.0.40
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/buf.gen.yaml +2 -2
- package/dist/generated/kapital/contracts/v1/contracts.d.ts +4 -0
- package/dist/generated/kapital/contracts/v1/contracts.js +48 -0
- package/dist/generated/kapital/contracts/v1/contracts.js.map +1 -1
- package/dist/generated/kapital/customers/v1/customers_types.d.ts +2 -0
- package/dist/generated/kapital/customers/v1/customers_types.js +24 -0
- package/dist/generated/kapital/customers/v1/customers_types.js.map +1 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods_types.d.ts +1 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods_types.js +12 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods_types.js.map +1 -1
- package/package.json +1 -1
- package/proto/kapital/contracts/v1/contracts.proto +4 -0
- package/proto/kapital/customers/v1/customers_types.proto +2 -0
- package/proto/kapital/payments_methods/v1/payments_methods_types.proto +1 -0
package/buf.gen.yaml
CHANGED
|
@@ -49,6 +49,8 @@ export interface CreateContractRequest {
|
|
|
49
49
|
ship_zip?: string | undefined;
|
|
50
50
|
ship_country_code?: string | undefined;
|
|
51
51
|
business_name?: string | undefined;
|
|
52
|
+
channel?: string | undefined;
|
|
53
|
+
channel_value?: string | undefined;
|
|
52
54
|
}
|
|
53
55
|
export interface CreateContractResponse {
|
|
54
56
|
meta: ResponseMeta | undefined;
|
|
@@ -110,6 +112,8 @@ export interface CreatePhysicalCardContractRequest {
|
|
|
110
112
|
ship_zip?: string | undefined;
|
|
111
113
|
ship_country_code?: string | undefined;
|
|
112
114
|
business_name?: string | undefined;
|
|
115
|
+
channel?: string | undefined;
|
|
116
|
+
channel_value?: string | undefined;
|
|
113
117
|
}
|
|
114
118
|
export interface CreatePhysicalCardContractResponse {
|
|
115
119
|
meta: ResponseMeta | undefined;
|
|
@@ -58,6 +58,8 @@ function createBaseCreateContractRequest() {
|
|
|
58
58
|
ship_zip: undefined,
|
|
59
59
|
ship_country_code: undefined,
|
|
60
60
|
business_name: undefined,
|
|
61
|
+
channel: undefined,
|
|
62
|
+
channel_value: undefined,
|
|
61
63
|
};
|
|
62
64
|
}
|
|
63
65
|
exports.CreateContractRequest = {
|
|
@@ -194,6 +196,12 @@ exports.CreateContractRequest = {
|
|
|
194
196
|
if (message.business_name !== undefined) {
|
|
195
197
|
writer.uint32(354).string(message.business_name);
|
|
196
198
|
}
|
|
199
|
+
if (message.channel !== undefined) {
|
|
200
|
+
writer.uint32(362).string(message.channel);
|
|
201
|
+
}
|
|
202
|
+
if (message.channel_value !== undefined) {
|
|
203
|
+
writer.uint32(370).string(message.channel_value);
|
|
204
|
+
}
|
|
197
205
|
return writer;
|
|
198
206
|
},
|
|
199
207
|
decode(input, length) {
|
|
@@ -511,6 +519,20 @@ exports.CreateContractRequest = {
|
|
|
511
519
|
message.business_name = reader.string();
|
|
512
520
|
continue;
|
|
513
521
|
}
|
|
522
|
+
case 45: {
|
|
523
|
+
if (tag !== 362) {
|
|
524
|
+
break;
|
|
525
|
+
}
|
|
526
|
+
message.channel = reader.string();
|
|
527
|
+
continue;
|
|
528
|
+
}
|
|
529
|
+
case 46: {
|
|
530
|
+
if (tag !== 370) {
|
|
531
|
+
break;
|
|
532
|
+
}
|
|
533
|
+
message.channel_value = reader.string();
|
|
534
|
+
continue;
|
|
535
|
+
}
|
|
514
536
|
}
|
|
515
537
|
if ((tag & 7) === 4 || tag === 0) {
|
|
516
538
|
break;
|
|
@@ -568,6 +590,8 @@ exports.CreateContractRequest = {
|
|
|
568
590
|
message.ship_zip = object.ship_zip ?? undefined;
|
|
569
591
|
message.ship_country_code = object.ship_country_code ?? undefined;
|
|
570
592
|
message.business_name = object.business_name ?? undefined;
|
|
593
|
+
message.channel = object.channel ?? undefined;
|
|
594
|
+
message.channel_value = object.channel_value ?? undefined;
|
|
571
595
|
return message;
|
|
572
596
|
},
|
|
573
597
|
};
|
|
@@ -794,6 +818,8 @@ function createBaseCreatePhysicalCardContractRequest() {
|
|
|
794
818
|
ship_zip: undefined,
|
|
795
819
|
ship_country_code: undefined,
|
|
796
820
|
business_name: undefined,
|
|
821
|
+
channel: undefined,
|
|
822
|
+
channel_value: undefined,
|
|
797
823
|
};
|
|
798
824
|
}
|
|
799
825
|
exports.CreatePhysicalCardContractRequest = {
|
|
@@ -930,6 +956,12 @@ exports.CreatePhysicalCardContractRequest = {
|
|
|
930
956
|
if (message.business_name !== undefined) {
|
|
931
957
|
writer.uint32(354).string(message.business_name);
|
|
932
958
|
}
|
|
959
|
+
if (message.channel !== undefined) {
|
|
960
|
+
writer.uint32(362).string(message.channel);
|
|
961
|
+
}
|
|
962
|
+
if (message.channel_value !== undefined) {
|
|
963
|
+
writer.uint32(370).string(message.channel_value);
|
|
964
|
+
}
|
|
933
965
|
return writer;
|
|
934
966
|
},
|
|
935
967
|
decode(input, length) {
|
|
@@ -1247,6 +1279,20 @@ exports.CreatePhysicalCardContractRequest = {
|
|
|
1247
1279
|
message.business_name = reader.string();
|
|
1248
1280
|
continue;
|
|
1249
1281
|
}
|
|
1282
|
+
case 45: {
|
|
1283
|
+
if (tag !== 362) {
|
|
1284
|
+
break;
|
|
1285
|
+
}
|
|
1286
|
+
message.channel = reader.string();
|
|
1287
|
+
continue;
|
|
1288
|
+
}
|
|
1289
|
+
case 46: {
|
|
1290
|
+
if (tag !== 370) {
|
|
1291
|
+
break;
|
|
1292
|
+
}
|
|
1293
|
+
message.channel_value = reader.string();
|
|
1294
|
+
continue;
|
|
1295
|
+
}
|
|
1250
1296
|
}
|
|
1251
1297
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1252
1298
|
break;
|
|
@@ -1304,6 +1350,8 @@ exports.CreatePhysicalCardContractRequest = {
|
|
|
1304
1350
|
message.ship_zip = object.ship_zip ?? undefined;
|
|
1305
1351
|
message.ship_country_code = object.ship_country_code ?? undefined;
|
|
1306
1352
|
message.business_name = object.business_name ?? undefined;
|
|
1353
|
+
message.channel = object.channel ?? undefined;
|
|
1354
|
+
message.channel_value = object.channel_value ?? undefined;
|
|
1307
1355
|
return message;
|
|
1308
1356
|
},
|
|
1309
1357
|
};
|