@stashfin/grpc 1.2.176 → 1.2.177
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
|
@@ -5,8 +5,6 @@ export interface getLimitRequest {
|
|
|
5
5
|
export interface getLimitResponse {
|
|
6
6
|
basic_limit: number;
|
|
7
7
|
higher_limit: number;
|
|
8
|
-
basic_next_step: string;
|
|
9
|
-
higher_next_step: string;
|
|
10
8
|
}
|
|
11
9
|
export declare const getLimitRequest: {
|
|
12
10
|
encode(_: getLimitRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/customers/getlimit.js
CHANGED
|
@@ -50,7 +50,7 @@ exports.getLimitRequest = {
|
|
|
50
50
|
},
|
|
51
51
|
};
|
|
52
52
|
function createBasegetLimitResponse() {
|
|
53
|
-
return { basic_limit: 0, higher_limit: 0
|
|
53
|
+
return { basic_limit: 0, higher_limit: 0 };
|
|
54
54
|
}
|
|
55
55
|
exports.getLimitResponse = {
|
|
56
56
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -60,12 +60,6 @@ exports.getLimitResponse = {
|
|
|
60
60
|
if (message.higher_limit !== 0) {
|
|
61
61
|
writer.uint32(16).int32(message.higher_limit);
|
|
62
62
|
}
|
|
63
|
-
if (message.basic_next_step !== "") {
|
|
64
|
-
writer.uint32(26).string(message.basic_next_step);
|
|
65
|
-
}
|
|
66
|
-
if (message.higher_next_step !== "") {
|
|
67
|
-
writer.uint32(34).string(message.higher_next_step);
|
|
68
|
-
}
|
|
69
63
|
return writer;
|
|
70
64
|
},
|
|
71
65
|
decode(input, length) {
|
|
@@ -87,18 +81,6 @@ exports.getLimitResponse = {
|
|
|
87
81
|
}
|
|
88
82
|
message.higher_limit = reader.int32();
|
|
89
83
|
continue;
|
|
90
|
-
case 3:
|
|
91
|
-
if (tag !== 26) {
|
|
92
|
-
break;
|
|
93
|
-
}
|
|
94
|
-
message.basic_next_step = reader.string();
|
|
95
|
-
continue;
|
|
96
|
-
case 4:
|
|
97
|
-
if (tag !== 34) {
|
|
98
|
-
break;
|
|
99
|
-
}
|
|
100
|
-
message.higher_next_step = reader.string();
|
|
101
|
-
continue;
|
|
102
84
|
}
|
|
103
85
|
if ((tag & 7) === 4 || tag === 0) {
|
|
104
86
|
break;
|
|
@@ -111,8 +93,6 @@ exports.getLimitResponse = {
|
|
|
111
93
|
return {
|
|
112
94
|
basic_limit: isSet(object.basic_limit) ? globalThis.Number(object.basic_limit) : 0,
|
|
113
95
|
higher_limit: isSet(object.higher_limit) ? globalThis.Number(object.higher_limit) : 0,
|
|
114
|
-
basic_next_step: isSet(object.basic_next_step) ? globalThis.String(object.basic_next_step) : "",
|
|
115
|
-
higher_next_step: isSet(object.higher_next_step) ? globalThis.String(object.higher_next_step) : "",
|
|
116
96
|
};
|
|
117
97
|
},
|
|
118
98
|
toJSON(message) {
|
|
@@ -123,12 +103,6 @@ exports.getLimitResponse = {
|
|
|
123
103
|
if (message.higher_limit !== 0) {
|
|
124
104
|
obj.higher_limit = Math.round(message.higher_limit);
|
|
125
105
|
}
|
|
126
|
-
if (message.basic_next_step !== "") {
|
|
127
|
-
obj.basic_next_step = message.basic_next_step;
|
|
128
|
-
}
|
|
129
|
-
if (message.higher_next_step !== "") {
|
|
130
|
-
obj.higher_next_step = message.higher_next_step;
|
|
131
|
-
}
|
|
132
106
|
return obj;
|
|
133
107
|
},
|
|
134
108
|
create(base) {
|
|
@@ -138,8 +112,6 @@ exports.getLimitResponse = {
|
|
|
138
112
|
const message = createBasegetLimitResponse();
|
|
139
113
|
message.basic_limit = object.basic_limit ?? 0;
|
|
140
114
|
message.higher_limit = object.higher_limit ?? 0;
|
|
141
|
-
message.basic_next_step = object.basic_next_step ?? "";
|
|
142
|
-
message.higher_next_step = object.higher_next_step ?? "";
|
|
143
115
|
return message;
|
|
144
116
|
},
|
|
145
117
|
};
|