@stashfin/grpc 1.2.36 → 1.2.38
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/customers/getstep.d.ts +2 -0
- package/ts/customers/getstep.js +39 -2
package/package.json
CHANGED
package/ts/customers/getstep.js
CHANGED
|
@@ -146,7 +146,16 @@ exports.getstepResponse = {
|
|
|
146
146
|
},
|
|
147
147
|
};
|
|
148
148
|
function createBasegetstepResponse_Field() {
|
|
149
|
-
return {
|
|
149
|
+
return {
|
|
150
|
+
label: "",
|
|
151
|
+
key: "",
|
|
152
|
+
input_type: "",
|
|
153
|
+
data_type: "",
|
|
154
|
+
icon: "",
|
|
155
|
+
is_popup: false,
|
|
156
|
+
keyboard_type: "",
|
|
157
|
+
validations: [],
|
|
158
|
+
};
|
|
150
159
|
}
|
|
151
160
|
exports.getstepResponse_Field = {
|
|
152
161
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -165,8 +174,14 @@ exports.getstepResponse_Field = {
|
|
|
165
174
|
if (message.icon !== "") {
|
|
166
175
|
writer.uint32(42).string(message.icon);
|
|
167
176
|
}
|
|
177
|
+
if (message.is_popup !== false) {
|
|
178
|
+
writer.uint32(48).bool(message.is_popup);
|
|
179
|
+
}
|
|
180
|
+
if (message.keyboard_type !== "") {
|
|
181
|
+
writer.uint32(58).string(message.keyboard_type);
|
|
182
|
+
}
|
|
168
183
|
for (const v of message.validations) {
|
|
169
|
-
exports.Validation.encode(v, writer.uint32(
|
|
184
|
+
exports.Validation.encode(v, writer.uint32(66).fork()).ldelim();
|
|
170
185
|
}
|
|
171
186
|
return writer;
|
|
172
187
|
},
|
|
@@ -207,10 +222,22 @@ exports.getstepResponse_Field = {
|
|
|
207
222
|
}
|
|
208
223
|
message.icon = reader.string();
|
|
209
224
|
continue;
|
|
225
|
+
case 6:
|
|
226
|
+
if (tag !== 48) {
|
|
227
|
+
break;
|
|
228
|
+
}
|
|
229
|
+
message.is_popup = reader.bool();
|
|
230
|
+
continue;
|
|
210
231
|
case 7:
|
|
211
232
|
if (tag !== 58) {
|
|
212
233
|
break;
|
|
213
234
|
}
|
|
235
|
+
message.keyboard_type = reader.string();
|
|
236
|
+
continue;
|
|
237
|
+
case 8:
|
|
238
|
+
if (tag !== 66) {
|
|
239
|
+
break;
|
|
240
|
+
}
|
|
214
241
|
message.validations.push(exports.Validation.decode(reader, reader.uint32()));
|
|
215
242
|
continue;
|
|
216
243
|
}
|
|
@@ -228,6 +255,8 @@ exports.getstepResponse_Field = {
|
|
|
228
255
|
input_type: isSet(object.input_type) ? globalThis.String(object.input_type) : "",
|
|
229
256
|
data_type: isSet(object.data_type) ? globalThis.String(object.data_type) : "",
|
|
230
257
|
icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
|
|
258
|
+
is_popup: isSet(object.is_popup) ? globalThis.Boolean(object.is_popup) : false,
|
|
259
|
+
keyboard_type: isSet(object.keyboard_type) ? globalThis.String(object.keyboard_type) : "",
|
|
231
260
|
validations: globalThis.Array.isArray(object?.validations)
|
|
232
261
|
? object.validations.map((e) => exports.Validation.fromJSON(e))
|
|
233
262
|
: [],
|
|
@@ -250,6 +279,12 @@ exports.getstepResponse_Field = {
|
|
|
250
279
|
if (message.icon !== "") {
|
|
251
280
|
obj.icon = message.icon;
|
|
252
281
|
}
|
|
282
|
+
if (message.is_popup !== false) {
|
|
283
|
+
obj.is_popup = message.is_popup;
|
|
284
|
+
}
|
|
285
|
+
if (message.keyboard_type !== "") {
|
|
286
|
+
obj.keyboard_type = message.keyboard_type;
|
|
287
|
+
}
|
|
253
288
|
if (message.validations?.length) {
|
|
254
289
|
obj.validations = message.validations.map((e) => exports.Validation.toJSON(e));
|
|
255
290
|
}
|
|
@@ -265,6 +300,8 @@ exports.getstepResponse_Field = {
|
|
|
265
300
|
message.input_type = object.input_type ?? "";
|
|
266
301
|
message.data_type = object.data_type ?? "";
|
|
267
302
|
message.icon = object.icon ?? "";
|
|
303
|
+
message.is_popup = object.is_popup ?? false;
|
|
304
|
+
message.keyboard_type = object.keyboard_type ?? "";
|
|
268
305
|
message.validations = object.validations?.map((e) => exports.Validation.fromPartial(e)) || [];
|
|
269
306
|
return message;
|
|
270
307
|
},
|