@stashfin/grpc 1.2.614 → 1.2.616
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
|
@@ -64,7 +64,7 @@ exports.inputPerfiosRequest = {
|
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
66
|
function createBaseOutputPerfiosResponse() {
|
|
67
|
-
return { payload: "", signature: "", url: "" };
|
|
67
|
+
return { payload: "", signature: "", url: "", transaction_id: "" };
|
|
68
68
|
}
|
|
69
69
|
exports.OutputPerfiosResponse = {
|
|
70
70
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -77,6 +77,9 @@ exports.OutputPerfiosResponse = {
|
|
|
77
77
|
if (message.url !== "") {
|
|
78
78
|
writer.uint32(26).string(message.url);
|
|
79
79
|
}
|
|
80
|
+
if (message.transaction_id !== "") {
|
|
81
|
+
writer.uint32(34).string(message.transaction_id);
|
|
82
|
+
}
|
|
80
83
|
return writer;
|
|
81
84
|
},
|
|
82
85
|
decode(input, length) {
|
|
@@ -104,6 +107,12 @@ exports.OutputPerfiosResponse = {
|
|
|
104
107
|
}
|
|
105
108
|
message.url = reader.string();
|
|
106
109
|
continue;
|
|
110
|
+
case 4:
|
|
111
|
+
if (tag !== 34) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
message.transaction_id = reader.string();
|
|
115
|
+
continue;
|
|
107
116
|
}
|
|
108
117
|
if ((tag & 7) === 4 || tag === 0) {
|
|
109
118
|
break;
|
|
@@ -117,6 +126,7 @@ exports.OutputPerfiosResponse = {
|
|
|
117
126
|
payload: isSet(object.payload) ? globalThis.String(object.payload) : "",
|
|
118
127
|
signature: isSet(object.signature) ? globalThis.String(object.signature) : "",
|
|
119
128
|
url: isSet(object.url) ? globalThis.String(object.url) : "",
|
|
129
|
+
transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
|
|
120
130
|
};
|
|
121
131
|
},
|
|
122
132
|
toJSON(message) {
|
|
@@ -130,6 +140,9 @@ exports.OutputPerfiosResponse = {
|
|
|
130
140
|
if (message.url !== "") {
|
|
131
141
|
obj.url = message.url;
|
|
132
142
|
}
|
|
143
|
+
if (message.transaction_id !== "") {
|
|
144
|
+
obj.transaction_id = message.transaction_id;
|
|
145
|
+
}
|
|
133
146
|
return obj;
|
|
134
147
|
},
|
|
135
148
|
create(base) {
|
|
@@ -140,6 +153,7 @@ exports.OutputPerfiosResponse = {
|
|
|
140
153
|
message.payload = object.payload ?? "";
|
|
141
154
|
message.signature = object.signature ?? "";
|
|
142
155
|
message.url = object.url ?? "";
|
|
156
|
+
message.transaction_id = object.transaction_id ?? "";
|
|
143
157
|
return message;
|
|
144
158
|
},
|
|
145
159
|
};
|
package/ts/kyc/getselfieurl.d.ts
CHANGED
|
@@ -16,10 +16,10 @@ export interface shortUrlData {
|
|
|
16
16
|
redirect_url: string;
|
|
17
17
|
is_active: number;
|
|
18
18
|
user_id: number;
|
|
19
|
-
offer_type
|
|
19
|
+
offer_type?: string | undefined;
|
|
20
20
|
expire_date: string;
|
|
21
21
|
create_date: string;
|
|
22
|
-
landing_page
|
|
22
|
+
landing_page?: string | undefined;
|
|
23
23
|
}
|
|
24
24
|
export declare const GetSelfieRedirectionUrlRequest: {
|
|
25
25
|
encode(message: GetSelfieRedirectionUrlRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/kyc/getselfieurl.js
CHANGED
|
@@ -197,10 +197,10 @@ function createBaseshortUrlData() {
|
|
|
197
197
|
redirect_url: "",
|
|
198
198
|
is_active: 0,
|
|
199
199
|
user_id: 0,
|
|
200
|
-
offer_type:
|
|
200
|
+
offer_type: undefined,
|
|
201
201
|
expire_date: "",
|
|
202
202
|
create_date: "",
|
|
203
|
-
landing_page:
|
|
203
|
+
landing_page: undefined,
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
206
|
exports.shortUrlData = {
|
|
@@ -217,7 +217,7 @@ exports.shortUrlData = {
|
|
|
217
217
|
if (message.user_id !== 0) {
|
|
218
218
|
writer.uint32(32).int32(message.user_id);
|
|
219
219
|
}
|
|
220
|
-
if (message.offer_type !==
|
|
220
|
+
if (message.offer_type !== undefined) {
|
|
221
221
|
writer.uint32(42).string(message.offer_type);
|
|
222
222
|
}
|
|
223
223
|
if (message.expire_date !== "") {
|
|
@@ -226,7 +226,7 @@ exports.shortUrlData = {
|
|
|
226
226
|
if (message.create_date !== "") {
|
|
227
227
|
writer.uint32(58).string(message.create_date);
|
|
228
228
|
}
|
|
229
|
-
if (message.landing_page !==
|
|
229
|
+
if (message.landing_page !== undefined) {
|
|
230
230
|
writer.uint32(66).string(message.landing_page);
|
|
231
231
|
}
|
|
232
232
|
return writer;
|
|
@@ -300,10 +300,10 @@ exports.shortUrlData = {
|
|
|
300
300
|
redirect_url: isSet(object.redirect_url) ? globalThis.String(object.redirect_url) : "",
|
|
301
301
|
is_active: isSet(object.is_active) ? globalThis.Number(object.is_active) : 0,
|
|
302
302
|
user_id: isSet(object.user_id) ? globalThis.Number(object.user_id) : 0,
|
|
303
|
-
offer_type: isSet(object.offer_type) ? globalThis.String(object.offer_type) :
|
|
303
|
+
offer_type: isSet(object.offer_type) ? globalThis.String(object.offer_type) : undefined,
|
|
304
304
|
expire_date: isSet(object.expire_date) ? globalThis.String(object.expire_date) : "",
|
|
305
305
|
create_date: isSet(object.create_date) ? globalThis.String(object.create_date) : "",
|
|
306
|
-
landing_page: isSet(object.landing_page) ? globalThis.String(object.landing_page) :
|
|
306
|
+
landing_page: isSet(object.landing_page) ? globalThis.String(object.landing_page) : undefined,
|
|
307
307
|
};
|
|
308
308
|
},
|
|
309
309
|
toJSON(message) {
|
|
@@ -320,7 +320,7 @@ exports.shortUrlData = {
|
|
|
320
320
|
if (message.user_id !== 0) {
|
|
321
321
|
obj.user_id = Math.round(message.user_id);
|
|
322
322
|
}
|
|
323
|
-
if (message.offer_type !==
|
|
323
|
+
if (message.offer_type !== undefined) {
|
|
324
324
|
obj.offer_type = message.offer_type;
|
|
325
325
|
}
|
|
326
326
|
if (message.expire_date !== "") {
|
|
@@ -329,7 +329,7 @@ exports.shortUrlData = {
|
|
|
329
329
|
if (message.create_date !== "") {
|
|
330
330
|
obj.create_date = message.create_date;
|
|
331
331
|
}
|
|
332
|
-
if (message.landing_page !==
|
|
332
|
+
if (message.landing_page !== undefined) {
|
|
333
333
|
obj.landing_page = message.landing_page;
|
|
334
334
|
}
|
|
335
335
|
return obj;
|
|
@@ -343,10 +343,10 @@ exports.shortUrlData = {
|
|
|
343
343
|
message.redirect_url = object.redirect_url ?? "";
|
|
344
344
|
message.is_active = object.is_active ?? 0;
|
|
345
345
|
message.user_id = object.user_id ?? 0;
|
|
346
|
-
message.offer_type = object.offer_type ??
|
|
346
|
+
message.offer_type = object.offer_type ?? undefined;
|
|
347
347
|
message.expire_date = object.expire_date ?? "";
|
|
348
348
|
message.create_date = object.create_date ?? "";
|
|
349
|
-
message.landing_page = object.landing_page ??
|
|
349
|
+
message.landing_page = object.landing_page ?? undefined;
|
|
350
350
|
return message;
|
|
351
351
|
},
|
|
352
352
|
};
|