@stashfin/grpc 1.2.837 → 1.2.838
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
|
@@ -12,7 +12,7 @@ export interface verifyOtpReqeust {
|
|
|
12
12
|
utm_medium?: string | undefined;
|
|
13
13
|
utm_campaign?: string | undefined;
|
|
14
14
|
tnc_ids: number[];
|
|
15
|
-
|
|
15
|
+
lead_source?: string | undefined;
|
|
16
16
|
}
|
|
17
17
|
export interface verifyOtpResponse {
|
|
18
18
|
auth_token: string;
|
|
@@ -22,6 +22,7 @@ export interface verifyOtpResponse {
|
|
|
22
22
|
message: string;
|
|
23
23
|
refresh_token: string;
|
|
24
24
|
is_eqx_customer?: boolean | undefined;
|
|
25
|
+
source?: string | undefined;
|
|
25
26
|
}
|
|
26
27
|
export declare const verifyOtpReqeust: {
|
|
27
28
|
encode(message: verifyOtpReqeust, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -25,7 +25,7 @@ function createBaseverifyOtpReqeust() {
|
|
|
25
25
|
utm_medium: undefined,
|
|
26
26
|
utm_campaign: undefined,
|
|
27
27
|
tnc_ids: [],
|
|
28
|
-
|
|
28
|
+
lead_source: undefined,
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
exports.verifyOtpReqeust = {
|
|
@@ -65,8 +65,8 @@ exports.verifyOtpReqeust = {
|
|
|
65
65
|
writer.int32(v);
|
|
66
66
|
}
|
|
67
67
|
writer.ldelim();
|
|
68
|
-
if (message.
|
|
69
|
-
writer.uint32(98).string(message.
|
|
68
|
+
if (message.lead_source !== undefined) {
|
|
69
|
+
writer.uint32(98).string(message.lead_source);
|
|
70
70
|
}
|
|
71
71
|
return writer;
|
|
72
72
|
},
|
|
@@ -154,7 +154,7 @@ exports.verifyOtpReqeust = {
|
|
|
154
154
|
if (tag !== 98) {
|
|
155
155
|
break;
|
|
156
156
|
}
|
|
157
|
-
message.
|
|
157
|
+
message.lead_source = reader.string();
|
|
158
158
|
continue;
|
|
159
159
|
}
|
|
160
160
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -177,7 +177,7 @@ exports.verifyOtpReqeust = {
|
|
|
177
177
|
utm_medium: isSet(object.utm_medium) ? globalThis.String(object.utm_medium) : undefined,
|
|
178
178
|
utm_campaign: isSet(object.utm_campaign) ? globalThis.String(object.utm_campaign) : undefined,
|
|
179
179
|
tnc_ids: globalThis.Array.isArray(object?.tnc_ids) ? object.tnc_ids.map((e) => globalThis.Number(e)) : [],
|
|
180
|
-
|
|
180
|
+
lead_source: isSet(object.lead_source) ? globalThis.String(object.lead_source) : undefined,
|
|
181
181
|
};
|
|
182
182
|
},
|
|
183
183
|
toJSON(message) {
|
|
@@ -215,8 +215,8 @@ exports.verifyOtpReqeust = {
|
|
|
215
215
|
if (message.tnc_ids?.length) {
|
|
216
216
|
obj.tnc_ids = message.tnc_ids.map((e) => Math.round(e));
|
|
217
217
|
}
|
|
218
|
-
if (message.
|
|
219
|
-
obj.
|
|
218
|
+
if (message.lead_source !== undefined) {
|
|
219
|
+
obj.lead_source = message.lead_source;
|
|
220
220
|
}
|
|
221
221
|
return obj;
|
|
222
222
|
},
|
|
@@ -236,7 +236,7 @@ exports.verifyOtpReqeust = {
|
|
|
236
236
|
message.utm_medium = object.utm_medium ?? undefined;
|
|
237
237
|
message.utm_campaign = object.utm_campaign ?? undefined;
|
|
238
238
|
message.tnc_ids = object.tnc_ids?.map((e) => e) || [];
|
|
239
|
-
message.
|
|
239
|
+
message.lead_source = object.lead_source ?? undefined;
|
|
240
240
|
return message;
|
|
241
241
|
},
|
|
242
242
|
};
|
|
@@ -249,6 +249,7 @@ function createBaseverifyOtpResponse() {
|
|
|
249
249
|
message: "",
|
|
250
250
|
refresh_token: "",
|
|
251
251
|
is_eqx_customer: undefined,
|
|
252
|
+
source: undefined,
|
|
252
253
|
};
|
|
253
254
|
}
|
|
254
255
|
exports.verifyOtpResponse = {
|
|
@@ -274,6 +275,9 @@ exports.verifyOtpResponse = {
|
|
|
274
275
|
if (message.is_eqx_customer !== undefined) {
|
|
275
276
|
writer.uint32(56).bool(message.is_eqx_customer);
|
|
276
277
|
}
|
|
278
|
+
if (message.source !== undefined) {
|
|
279
|
+
writer.uint32(66).string(message.source);
|
|
280
|
+
}
|
|
277
281
|
return writer;
|
|
278
282
|
},
|
|
279
283
|
decode(input, length) {
|
|
@@ -325,6 +329,12 @@ exports.verifyOtpResponse = {
|
|
|
325
329
|
}
|
|
326
330
|
message.is_eqx_customer = reader.bool();
|
|
327
331
|
continue;
|
|
332
|
+
case 8:
|
|
333
|
+
if (tag !== 66) {
|
|
334
|
+
break;
|
|
335
|
+
}
|
|
336
|
+
message.source = reader.string();
|
|
337
|
+
continue;
|
|
328
338
|
}
|
|
329
339
|
if ((tag & 7) === 4 || tag === 0) {
|
|
330
340
|
break;
|
|
@@ -342,6 +352,7 @@ exports.verifyOtpResponse = {
|
|
|
342
352
|
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
343
353
|
refresh_token: isSet(object.refresh_token) ? globalThis.String(object.refresh_token) : "",
|
|
344
354
|
is_eqx_customer: isSet(object.is_eqx_customer) ? globalThis.Boolean(object.is_eqx_customer) : undefined,
|
|
355
|
+
source: isSet(object.source) ? globalThis.String(object.source) : undefined,
|
|
345
356
|
};
|
|
346
357
|
},
|
|
347
358
|
toJSON(message) {
|
|
@@ -367,6 +378,9 @@ exports.verifyOtpResponse = {
|
|
|
367
378
|
if (message.is_eqx_customer !== undefined) {
|
|
368
379
|
obj.is_eqx_customer = message.is_eqx_customer;
|
|
369
380
|
}
|
|
381
|
+
if (message.source !== undefined) {
|
|
382
|
+
obj.source = message.source;
|
|
383
|
+
}
|
|
370
384
|
return obj;
|
|
371
385
|
},
|
|
372
386
|
create(base) {
|
|
@@ -381,6 +395,7 @@ exports.verifyOtpResponse = {
|
|
|
381
395
|
message.message = object.message ?? "";
|
|
382
396
|
message.refresh_token = object.refresh_token ?? "";
|
|
383
397
|
message.is_eqx_customer = object.is_eqx_customer ?? undefined;
|
|
398
|
+
message.source = object.source ?? undefined;
|
|
384
399
|
return message;
|
|
385
400
|
},
|
|
386
401
|
};
|