@stashfin/grpc 1.5.22 → 1.5.23
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/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "kyc.okyclinkhyperverge";
|
|
3
3
|
export interface okyclinkHypervergeRequest {
|
|
4
4
|
transaction_id?: string | undefined;
|
|
5
|
+
product_code?: string | undefined;
|
|
5
6
|
}
|
|
6
7
|
export interface Metadata {
|
|
7
8
|
requestId: string;
|
|
@@ -13,13 +13,16 @@ exports.okyclinkHypervergeResponse = exports.Result = exports.Metadata = exports
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "kyc.okyclinkhyperverge";
|
|
15
15
|
function createBaseokyclinkHypervergeRequest() {
|
|
16
|
-
return { transaction_id: undefined };
|
|
16
|
+
return { transaction_id: undefined, product_code: undefined };
|
|
17
17
|
}
|
|
18
18
|
exports.okyclinkHypervergeRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.transaction_id !== undefined) {
|
|
21
21
|
writer.uint32(10).string(message.transaction_id);
|
|
22
22
|
}
|
|
23
|
+
if (message.product_code !== undefined) {
|
|
24
|
+
writer.uint32(18).string(message.product_code);
|
|
25
|
+
}
|
|
23
26
|
return writer;
|
|
24
27
|
},
|
|
25
28
|
decode(input, length) {
|
|
@@ -35,6 +38,12 @@ exports.okyclinkHypervergeRequest = {
|
|
|
35
38
|
}
|
|
36
39
|
message.transaction_id = reader.string();
|
|
37
40
|
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.product_code = reader.string();
|
|
46
|
+
continue;
|
|
38
47
|
}
|
|
39
48
|
if ((tag & 7) === 4 || tag === 0) {
|
|
40
49
|
break;
|
|
@@ -44,13 +53,19 @@ exports.okyclinkHypervergeRequest = {
|
|
|
44
53
|
return message;
|
|
45
54
|
},
|
|
46
55
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
56
|
+
return {
|
|
57
|
+
transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : undefined,
|
|
58
|
+
product_code: isSet(object.product_code) ? globalThis.String(object.product_code) : undefined,
|
|
59
|
+
};
|
|
48
60
|
},
|
|
49
61
|
toJSON(message) {
|
|
50
62
|
const obj = {};
|
|
51
63
|
if (message.transaction_id !== undefined) {
|
|
52
64
|
obj.transaction_id = message.transaction_id;
|
|
53
65
|
}
|
|
66
|
+
if (message.product_code !== undefined) {
|
|
67
|
+
obj.product_code = message.product_code;
|
|
68
|
+
}
|
|
54
69
|
return obj;
|
|
55
70
|
},
|
|
56
71
|
create(base) {
|
|
@@ -59,6 +74,7 @@ exports.okyclinkHypervergeRequest = {
|
|
|
59
74
|
fromPartial(object) {
|
|
60
75
|
const message = createBaseokyclinkHypervergeRequest();
|
|
61
76
|
message.transaction_id = object.transaction_id ?? undefined;
|
|
77
|
+
message.product_code = object.product_code ?? undefined;
|
|
62
78
|
return message;
|
|
63
79
|
},
|
|
64
80
|
};
|