@stashfin/grpc 1.2.643 → 1.2.644
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 +1 -1
- package/ts/upi/blockvpa.d.ts +3 -2
- package/ts/upi/blockvpa.js +29 -15
- package/ts/upi/unblockvpa.d.ts +3 -2
- package/ts/upi/unblockvpa.js +29 -15
package/package.json
CHANGED
package/ts/upi/blockvpa.d.ts
CHANGED
|
@@ -2,10 +2,11 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "upi.blockVPA";
|
|
3
3
|
export interface blockVPARequest {
|
|
4
4
|
reason: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
vpa: string;
|
|
6
|
+
block_vpa: string;
|
|
7
7
|
profile_id: string;
|
|
8
8
|
device_id: string;
|
|
9
|
+
mobile: string;
|
|
9
10
|
}
|
|
10
11
|
export interface blockVPAResponse {
|
|
11
12
|
status: string;
|
package/ts/upi/blockvpa.js
CHANGED
|
@@ -13,18 +13,18 @@ exports.blockVPAResponse = exports.blockVPARequest = exports.protobufPackage = v
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "upi.blockVPA";
|
|
15
15
|
function createBaseblockVPARequest() {
|
|
16
|
-
return { reason: "",
|
|
16
|
+
return { reason: "", vpa: "", block_vpa: "", profile_id: "", device_id: "", mobile: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.blockVPARequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.reason !== "") {
|
|
21
21
|
writer.uint32(10).string(message.reason);
|
|
22
22
|
}
|
|
23
|
-
if (message.
|
|
24
|
-
writer.uint32(18).string(message.
|
|
23
|
+
if (message.vpa !== "") {
|
|
24
|
+
writer.uint32(18).string(message.vpa);
|
|
25
25
|
}
|
|
26
|
-
if (message.
|
|
27
|
-
writer.uint32(26).string(message.
|
|
26
|
+
if (message.block_vpa !== "") {
|
|
27
|
+
writer.uint32(26).string(message.block_vpa);
|
|
28
28
|
}
|
|
29
29
|
if (message.profile_id !== "") {
|
|
30
30
|
writer.uint32(34).string(message.profile_id);
|
|
@@ -32,6 +32,9 @@ exports.blockVPARequest = {
|
|
|
32
32
|
if (message.device_id !== "") {
|
|
33
33
|
writer.uint32(42).string(message.device_id);
|
|
34
34
|
}
|
|
35
|
+
if (message.mobile !== "") {
|
|
36
|
+
writer.uint32(50).string(message.mobile);
|
|
37
|
+
}
|
|
35
38
|
return writer;
|
|
36
39
|
},
|
|
37
40
|
decode(input, length) {
|
|
@@ -51,13 +54,13 @@ exports.blockVPARequest = {
|
|
|
51
54
|
if (tag !== 18) {
|
|
52
55
|
break;
|
|
53
56
|
}
|
|
54
|
-
message.
|
|
57
|
+
message.vpa = reader.string();
|
|
55
58
|
continue;
|
|
56
59
|
case 3:
|
|
57
60
|
if (tag !== 26) {
|
|
58
61
|
break;
|
|
59
62
|
}
|
|
60
|
-
message.
|
|
63
|
+
message.block_vpa = reader.string();
|
|
61
64
|
continue;
|
|
62
65
|
case 4:
|
|
63
66
|
if (tag !== 34) {
|
|
@@ -71,6 +74,12 @@ exports.blockVPARequest = {
|
|
|
71
74
|
}
|
|
72
75
|
message.device_id = reader.string();
|
|
73
76
|
continue;
|
|
77
|
+
case 6:
|
|
78
|
+
if (tag !== 50) {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
message.mobile = reader.string();
|
|
82
|
+
continue;
|
|
74
83
|
}
|
|
75
84
|
if ((tag & 7) === 4 || tag === 0) {
|
|
76
85
|
break;
|
|
@@ -82,10 +91,11 @@ exports.blockVPARequest = {
|
|
|
82
91
|
fromJSON(object) {
|
|
83
92
|
return {
|
|
84
93
|
reason: isSet(object.reason) ? globalThis.String(object.reason) : "",
|
|
85
|
-
|
|
86
|
-
|
|
94
|
+
vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "",
|
|
95
|
+
block_vpa: isSet(object.block_vpa) ? globalThis.String(object.block_vpa) : "",
|
|
87
96
|
profile_id: isSet(object.profile_id) ? globalThis.String(object.profile_id) : "",
|
|
88
97
|
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
98
|
+
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
89
99
|
};
|
|
90
100
|
},
|
|
91
101
|
toJSON(message) {
|
|
@@ -93,11 +103,11 @@ exports.blockVPARequest = {
|
|
|
93
103
|
if (message.reason !== "") {
|
|
94
104
|
obj.reason = message.reason;
|
|
95
105
|
}
|
|
96
|
-
if (message.
|
|
97
|
-
obj.
|
|
106
|
+
if (message.vpa !== "") {
|
|
107
|
+
obj.vpa = message.vpa;
|
|
98
108
|
}
|
|
99
|
-
if (message.
|
|
100
|
-
obj.
|
|
109
|
+
if (message.block_vpa !== "") {
|
|
110
|
+
obj.block_vpa = message.block_vpa;
|
|
101
111
|
}
|
|
102
112
|
if (message.profile_id !== "") {
|
|
103
113
|
obj.profile_id = message.profile_id;
|
|
@@ -105,6 +115,9 @@ exports.blockVPARequest = {
|
|
|
105
115
|
if (message.device_id !== "") {
|
|
106
116
|
obj.device_id = message.device_id;
|
|
107
117
|
}
|
|
118
|
+
if (message.mobile !== "") {
|
|
119
|
+
obj.mobile = message.mobile;
|
|
120
|
+
}
|
|
108
121
|
return obj;
|
|
109
122
|
},
|
|
110
123
|
create(base) {
|
|
@@ -113,10 +126,11 @@ exports.blockVPARequest = {
|
|
|
113
126
|
fromPartial(object) {
|
|
114
127
|
const message = createBaseblockVPARequest();
|
|
115
128
|
message.reason = object.reason ?? "";
|
|
116
|
-
message.
|
|
117
|
-
message.
|
|
129
|
+
message.vpa = object.vpa ?? "";
|
|
130
|
+
message.block_vpa = object.block_vpa ?? "";
|
|
118
131
|
message.profile_id = object.profile_id ?? "";
|
|
119
132
|
message.device_id = object.device_id ?? "";
|
|
133
|
+
message.mobile = object.mobile ?? "";
|
|
120
134
|
return message;
|
|
121
135
|
},
|
|
122
136
|
};
|
package/ts/upi/unblockvpa.d.ts
CHANGED
|
@@ -2,10 +2,11 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "upi.unblockVPA";
|
|
3
3
|
export interface unblockVPARequest {
|
|
4
4
|
reason: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
vpa: string;
|
|
6
|
+
block_vpa: string;
|
|
7
7
|
profile_id: string;
|
|
8
8
|
device_id: string;
|
|
9
|
+
mobile: string;
|
|
9
10
|
}
|
|
10
11
|
export interface unblockVPAResponse {
|
|
11
12
|
status: string;
|
package/ts/upi/unblockvpa.js
CHANGED
|
@@ -13,18 +13,18 @@ exports.unblockVPAResponse = exports.unblockVPARequest = exports.protobufPackage
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "upi.unblockVPA";
|
|
15
15
|
function createBaseunblockVPARequest() {
|
|
16
|
-
return { reason: "",
|
|
16
|
+
return { reason: "", vpa: "", block_vpa: "", profile_id: "", device_id: "", mobile: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.unblockVPARequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.reason !== "") {
|
|
21
21
|
writer.uint32(10).string(message.reason);
|
|
22
22
|
}
|
|
23
|
-
if (message.
|
|
24
|
-
writer.uint32(18).string(message.
|
|
23
|
+
if (message.vpa !== "") {
|
|
24
|
+
writer.uint32(18).string(message.vpa);
|
|
25
25
|
}
|
|
26
|
-
if (message.
|
|
27
|
-
writer.uint32(26).string(message.
|
|
26
|
+
if (message.block_vpa !== "") {
|
|
27
|
+
writer.uint32(26).string(message.block_vpa);
|
|
28
28
|
}
|
|
29
29
|
if (message.profile_id !== "") {
|
|
30
30
|
writer.uint32(34).string(message.profile_id);
|
|
@@ -32,6 +32,9 @@ exports.unblockVPARequest = {
|
|
|
32
32
|
if (message.device_id !== "") {
|
|
33
33
|
writer.uint32(42).string(message.device_id);
|
|
34
34
|
}
|
|
35
|
+
if (message.mobile !== "") {
|
|
36
|
+
writer.uint32(50).string(message.mobile);
|
|
37
|
+
}
|
|
35
38
|
return writer;
|
|
36
39
|
},
|
|
37
40
|
decode(input, length) {
|
|
@@ -51,13 +54,13 @@ exports.unblockVPARequest = {
|
|
|
51
54
|
if (tag !== 18) {
|
|
52
55
|
break;
|
|
53
56
|
}
|
|
54
|
-
message.
|
|
57
|
+
message.vpa = reader.string();
|
|
55
58
|
continue;
|
|
56
59
|
case 3:
|
|
57
60
|
if (tag !== 26) {
|
|
58
61
|
break;
|
|
59
62
|
}
|
|
60
|
-
message.
|
|
63
|
+
message.block_vpa = reader.string();
|
|
61
64
|
continue;
|
|
62
65
|
case 4:
|
|
63
66
|
if (tag !== 34) {
|
|
@@ -71,6 +74,12 @@ exports.unblockVPARequest = {
|
|
|
71
74
|
}
|
|
72
75
|
message.device_id = reader.string();
|
|
73
76
|
continue;
|
|
77
|
+
case 6:
|
|
78
|
+
if (tag !== 50) {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
message.mobile = reader.string();
|
|
82
|
+
continue;
|
|
74
83
|
}
|
|
75
84
|
if ((tag & 7) === 4 || tag === 0) {
|
|
76
85
|
break;
|
|
@@ -82,10 +91,11 @@ exports.unblockVPARequest = {
|
|
|
82
91
|
fromJSON(object) {
|
|
83
92
|
return {
|
|
84
93
|
reason: isSet(object.reason) ? globalThis.String(object.reason) : "",
|
|
85
|
-
|
|
86
|
-
|
|
94
|
+
vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "",
|
|
95
|
+
block_vpa: isSet(object.block_vpa) ? globalThis.String(object.block_vpa) : "",
|
|
87
96
|
profile_id: isSet(object.profile_id) ? globalThis.String(object.profile_id) : "",
|
|
88
97
|
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
98
|
+
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
89
99
|
};
|
|
90
100
|
},
|
|
91
101
|
toJSON(message) {
|
|
@@ -93,11 +103,11 @@ exports.unblockVPARequest = {
|
|
|
93
103
|
if (message.reason !== "") {
|
|
94
104
|
obj.reason = message.reason;
|
|
95
105
|
}
|
|
96
|
-
if (message.
|
|
97
|
-
obj.
|
|
106
|
+
if (message.vpa !== "") {
|
|
107
|
+
obj.vpa = message.vpa;
|
|
98
108
|
}
|
|
99
|
-
if (message.
|
|
100
|
-
obj.
|
|
109
|
+
if (message.block_vpa !== "") {
|
|
110
|
+
obj.block_vpa = message.block_vpa;
|
|
101
111
|
}
|
|
102
112
|
if (message.profile_id !== "") {
|
|
103
113
|
obj.profile_id = message.profile_id;
|
|
@@ -105,6 +115,9 @@ exports.unblockVPARequest = {
|
|
|
105
115
|
if (message.device_id !== "") {
|
|
106
116
|
obj.device_id = message.device_id;
|
|
107
117
|
}
|
|
118
|
+
if (message.mobile !== "") {
|
|
119
|
+
obj.mobile = message.mobile;
|
|
120
|
+
}
|
|
108
121
|
return obj;
|
|
109
122
|
},
|
|
110
123
|
create(base) {
|
|
@@ -113,10 +126,11 @@ exports.unblockVPARequest = {
|
|
|
113
126
|
fromPartial(object) {
|
|
114
127
|
const message = createBaseunblockVPARequest();
|
|
115
128
|
message.reason = object.reason ?? "";
|
|
116
|
-
message.
|
|
117
|
-
message.
|
|
129
|
+
message.vpa = object.vpa ?? "";
|
|
130
|
+
message.block_vpa = object.block_vpa ?? "";
|
|
118
131
|
message.profile_id = object.profile_id ?? "";
|
|
119
132
|
message.device_id = object.device_id ?? "";
|
|
133
|
+
message.mobile = object.mobile ?? "";
|
|
120
134
|
return message;
|
|
121
135
|
},
|
|
122
136
|
};
|