@stashfin/grpc 1.2.836 → 1.2.837
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
|
@@ -25,6 +25,7 @@ function createBaseverifyOtpReqeust() {
|
|
|
25
25
|
utm_medium: undefined,
|
|
26
26
|
utm_campaign: undefined,
|
|
27
27
|
tnc_ids: [],
|
|
28
|
+
source: undefined,
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
exports.verifyOtpReqeust = {
|
|
@@ -64,6 +65,9 @@ exports.verifyOtpReqeust = {
|
|
|
64
65
|
writer.int32(v);
|
|
65
66
|
}
|
|
66
67
|
writer.ldelim();
|
|
68
|
+
if (message.source !== undefined) {
|
|
69
|
+
writer.uint32(98).string(message.source);
|
|
70
|
+
}
|
|
67
71
|
return writer;
|
|
68
72
|
},
|
|
69
73
|
decode(input, length) {
|
|
@@ -146,6 +150,12 @@ exports.verifyOtpReqeust = {
|
|
|
146
150
|
continue;
|
|
147
151
|
}
|
|
148
152
|
break;
|
|
153
|
+
case 12:
|
|
154
|
+
if (tag !== 98) {
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
157
|
+
message.source = reader.string();
|
|
158
|
+
continue;
|
|
149
159
|
}
|
|
150
160
|
if ((tag & 7) === 4 || tag === 0) {
|
|
151
161
|
break;
|
|
@@ -167,6 +177,7 @@ exports.verifyOtpReqeust = {
|
|
|
167
177
|
utm_medium: isSet(object.utm_medium) ? globalThis.String(object.utm_medium) : undefined,
|
|
168
178
|
utm_campaign: isSet(object.utm_campaign) ? globalThis.String(object.utm_campaign) : undefined,
|
|
169
179
|
tnc_ids: globalThis.Array.isArray(object?.tnc_ids) ? object.tnc_ids.map((e) => globalThis.Number(e)) : [],
|
|
180
|
+
source: isSet(object.source) ? globalThis.String(object.source) : undefined,
|
|
170
181
|
};
|
|
171
182
|
},
|
|
172
183
|
toJSON(message) {
|
|
@@ -204,6 +215,9 @@ exports.verifyOtpReqeust = {
|
|
|
204
215
|
if (message.tnc_ids?.length) {
|
|
205
216
|
obj.tnc_ids = message.tnc_ids.map((e) => Math.round(e));
|
|
206
217
|
}
|
|
218
|
+
if (message.source !== undefined) {
|
|
219
|
+
obj.source = message.source;
|
|
220
|
+
}
|
|
207
221
|
return obj;
|
|
208
222
|
},
|
|
209
223
|
create(base) {
|
|
@@ -222,6 +236,7 @@ exports.verifyOtpReqeust = {
|
|
|
222
236
|
message.utm_medium = object.utm_medium ?? undefined;
|
|
223
237
|
message.utm_campaign = object.utm_campaign ?? undefined;
|
|
224
238
|
message.tnc_ids = object.tnc_ids?.map((e) => e) || [];
|
|
239
|
+
message.source = object.source ?? undefined;
|
|
225
240
|
return message;
|
|
226
241
|
},
|
|
227
242
|
};
|