@stashfin/grpc 1.2.39 → 1.2.41
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
|
@@ -19,7 +19,7 @@ export interface addAddressRequest {
|
|
|
19
19
|
pin_code: string;
|
|
20
20
|
}
|
|
21
21
|
export interface addAddressResponse {
|
|
22
|
-
|
|
22
|
+
status: boolean;
|
|
23
23
|
}
|
|
24
24
|
export declare const addAddressRequest: {
|
|
25
25
|
encode(message: addAddressRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -211,12 +211,12 @@ exports.addAddressRequest = {
|
|
|
211
211
|
},
|
|
212
212
|
};
|
|
213
213
|
function createBaseaddAddressResponse() {
|
|
214
|
-
return {
|
|
214
|
+
return { status: false };
|
|
215
215
|
}
|
|
216
216
|
exports.addAddressResponse = {
|
|
217
217
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
218
|
-
if (message.
|
|
219
|
-
writer.uint32(8).
|
|
218
|
+
if (message.status !== false) {
|
|
219
|
+
writer.uint32(8).bool(message.status);
|
|
220
220
|
}
|
|
221
221
|
return writer;
|
|
222
222
|
},
|
|
@@ -231,7 +231,7 @@ exports.addAddressResponse = {
|
|
|
231
231
|
if (tag !== 8) {
|
|
232
232
|
break;
|
|
233
233
|
}
|
|
234
|
-
message.
|
|
234
|
+
message.status = reader.bool();
|
|
235
235
|
continue;
|
|
236
236
|
}
|
|
237
237
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -242,12 +242,12 @@ exports.addAddressResponse = {
|
|
|
242
242
|
return message;
|
|
243
243
|
},
|
|
244
244
|
fromJSON(object) {
|
|
245
|
-
return {
|
|
245
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
246
246
|
},
|
|
247
247
|
toJSON(message) {
|
|
248
248
|
const obj = {};
|
|
249
|
-
if (message.
|
|
250
|
-
obj.
|
|
249
|
+
if (message.status !== false) {
|
|
250
|
+
obj.status = message.status;
|
|
251
251
|
}
|
|
252
252
|
return obj;
|
|
253
253
|
},
|
|
@@ -256,7 +256,7 @@ exports.addAddressResponse = {
|
|
|
256
256
|
},
|
|
257
257
|
fromPartial(object) {
|
|
258
258
|
const message = createBaseaddAddressResponse();
|
|
259
|
-
message.
|
|
259
|
+
message.status = object.status ?? false;
|
|
260
260
|
return message;
|
|
261
261
|
},
|
|
262
262
|
};
|
|
@@ -242,6 +242,7 @@ exports.Block = {
|
|
|
242
242
|
function createBaseBlockData() {
|
|
243
243
|
return {
|
|
244
244
|
text: "",
|
|
245
|
+
sub_text: "",
|
|
245
246
|
image_url: "",
|
|
246
247
|
video_url: "",
|
|
247
248
|
video_length: 0,
|
|
@@ -264,50 +265,53 @@ exports.BlockData = {
|
|
|
264
265
|
if (message.text !== "") {
|
|
265
266
|
writer.uint32(10).string(message.text);
|
|
266
267
|
}
|
|
268
|
+
if (message.sub_text !== "") {
|
|
269
|
+
writer.uint32(18).string(message.sub_text);
|
|
270
|
+
}
|
|
267
271
|
if (message.image_url !== "") {
|
|
268
|
-
writer.uint32(
|
|
272
|
+
writer.uint32(26).string(message.image_url);
|
|
269
273
|
}
|
|
270
274
|
if (message.video_url !== "") {
|
|
271
|
-
writer.uint32(
|
|
275
|
+
writer.uint32(34).string(message.video_url);
|
|
272
276
|
}
|
|
273
277
|
if (message.video_length !== 0) {
|
|
274
|
-
writer.uint32(
|
|
278
|
+
writer.uint32(40).int32(message.video_length);
|
|
275
279
|
}
|
|
276
280
|
if (message.action_url !== "") {
|
|
277
|
-
writer.uint32(
|
|
281
|
+
writer.uint32(50).string(message.action_url);
|
|
278
282
|
}
|
|
279
283
|
if (message.landing_page !== "") {
|
|
280
|
-
writer.uint32(
|
|
284
|
+
writer.uint32(58).string(message.landing_page);
|
|
281
285
|
}
|
|
282
286
|
if (message.api_mode !== "") {
|
|
283
|
-
writer.uint32(
|
|
287
|
+
writer.uint32(66).string(message.api_mode);
|
|
284
288
|
}
|
|
285
289
|
if (message.app_version !== "") {
|
|
286
|
-
writer.uint32(
|
|
290
|
+
writer.uint32(74).string(message.app_version);
|
|
287
291
|
}
|
|
288
292
|
if (message.old_customers !== false) {
|
|
289
|
-
writer.uint32(
|
|
293
|
+
writer.uint32(80).bool(message.old_customers);
|
|
290
294
|
}
|
|
291
295
|
if (message.is_new !== false) {
|
|
292
|
-
writer.uint32(
|
|
296
|
+
writer.uint32(88).bool(message.is_new);
|
|
293
297
|
}
|
|
294
298
|
if (message.action_type !== "") {
|
|
295
|
-
writer.uint32(
|
|
299
|
+
writer.uint32(98).string(message.action_type);
|
|
296
300
|
}
|
|
297
301
|
if (message.color1 !== "") {
|
|
298
|
-
writer.uint32(
|
|
302
|
+
writer.uint32(106).string(message.color1);
|
|
299
303
|
}
|
|
300
304
|
if (message.color2 !== "") {
|
|
301
|
-
writer.uint32(
|
|
305
|
+
writer.uint32(114).string(message.color2);
|
|
302
306
|
}
|
|
303
307
|
if (message.image_trailing !== "") {
|
|
304
|
-
writer.uint32(
|
|
308
|
+
writer.uint32(122).string(message.image_trailing);
|
|
305
309
|
}
|
|
306
310
|
if (message.tag !== undefined) {
|
|
307
|
-
exports.Tag.encode(message.tag, writer.uint32(
|
|
311
|
+
exports.Tag.encode(message.tag, writer.uint32(130).fork()).ldelim();
|
|
308
312
|
}
|
|
309
313
|
if (message.overlay_image !== "") {
|
|
310
|
-
writer.uint32(
|
|
314
|
+
writer.uint32(138).string(message.overlay_image);
|
|
311
315
|
}
|
|
312
316
|
return writer;
|
|
313
317
|
},
|
|
@@ -328,90 +332,96 @@ exports.BlockData = {
|
|
|
328
332
|
if (tag !== 18) {
|
|
329
333
|
break;
|
|
330
334
|
}
|
|
331
|
-
message.
|
|
335
|
+
message.sub_text = reader.string();
|
|
332
336
|
continue;
|
|
333
337
|
case 3:
|
|
334
338
|
if (tag !== 26) {
|
|
335
339
|
break;
|
|
336
340
|
}
|
|
337
|
-
message.
|
|
341
|
+
message.image_url = reader.string();
|
|
338
342
|
continue;
|
|
339
343
|
case 4:
|
|
340
|
-
if (tag !==
|
|
344
|
+
if (tag !== 34) {
|
|
341
345
|
break;
|
|
342
346
|
}
|
|
343
|
-
message.
|
|
347
|
+
message.video_url = reader.string();
|
|
344
348
|
continue;
|
|
345
349
|
case 5:
|
|
346
|
-
if (tag !==
|
|
350
|
+
if (tag !== 40) {
|
|
347
351
|
break;
|
|
348
352
|
}
|
|
349
|
-
message.
|
|
353
|
+
message.video_length = reader.int32();
|
|
350
354
|
continue;
|
|
351
355
|
case 6:
|
|
352
356
|
if (tag !== 50) {
|
|
353
357
|
break;
|
|
354
358
|
}
|
|
355
|
-
message.
|
|
359
|
+
message.action_url = reader.string();
|
|
356
360
|
continue;
|
|
357
361
|
case 7:
|
|
358
362
|
if (tag !== 58) {
|
|
359
363
|
break;
|
|
360
364
|
}
|
|
361
|
-
message.
|
|
365
|
+
message.landing_page = reader.string();
|
|
362
366
|
continue;
|
|
363
367
|
case 8:
|
|
364
368
|
if (tag !== 66) {
|
|
365
369
|
break;
|
|
366
370
|
}
|
|
367
|
-
message.
|
|
371
|
+
message.api_mode = reader.string();
|
|
368
372
|
continue;
|
|
369
373
|
case 9:
|
|
370
|
-
if (tag !==
|
|
374
|
+
if (tag !== 74) {
|
|
371
375
|
break;
|
|
372
376
|
}
|
|
373
|
-
message.
|
|
377
|
+
message.app_version = reader.string();
|
|
374
378
|
continue;
|
|
375
379
|
case 10:
|
|
376
380
|
if (tag !== 80) {
|
|
377
381
|
break;
|
|
378
382
|
}
|
|
379
|
-
message.
|
|
383
|
+
message.old_customers = reader.bool();
|
|
380
384
|
continue;
|
|
381
385
|
case 11:
|
|
382
|
-
if (tag !==
|
|
386
|
+
if (tag !== 88) {
|
|
383
387
|
break;
|
|
384
388
|
}
|
|
385
|
-
message.
|
|
389
|
+
message.is_new = reader.bool();
|
|
386
390
|
continue;
|
|
387
391
|
case 12:
|
|
388
392
|
if (tag !== 98) {
|
|
389
393
|
break;
|
|
390
394
|
}
|
|
391
|
-
message.
|
|
395
|
+
message.action_type = reader.string();
|
|
392
396
|
continue;
|
|
393
397
|
case 13:
|
|
394
398
|
if (tag !== 106) {
|
|
395
399
|
break;
|
|
396
400
|
}
|
|
397
|
-
message.
|
|
401
|
+
message.color1 = reader.string();
|
|
398
402
|
continue;
|
|
399
403
|
case 14:
|
|
400
404
|
if (tag !== 114) {
|
|
401
405
|
break;
|
|
402
406
|
}
|
|
403
|
-
message.
|
|
407
|
+
message.color2 = reader.string();
|
|
404
408
|
continue;
|
|
405
409
|
case 15:
|
|
406
410
|
if (tag !== 122) {
|
|
407
411
|
break;
|
|
408
412
|
}
|
|
409
|
-
message.
|
|
413
|
+
message.image_trailing = reader.string();
|
|
410
414
|
continue;
|
|
411
415
|
case 16:
|
|
412
416
|
if (tag !== 130) {
|
|
413
417
|
break;
|
|
414
418
|
}
|
|
419
|
+
message.tag = exports.Tag.decode(reader, reader.uint32());
|
|
420
|
+
continue;
|
|
421
|
+
case 17:
|
|
422
|
+
if (tag !== 138) {
|
|
423
|
+
break;
|
|
424
|
+
}
|
|
415
425
|
message.overlay_image = reader.string();
|
|
416
426
|
continue;
|
|
417
427
|
}
|
|
@@ -425,6 +435,7 @@ exports.BlockData = {
|
|
|
425
435
|
fromJSON(object) {
|
|
426
436
|
return {
|
|
427
437
|
text: isSet(object.text) ? globalThis.String(object.text) : "",
|
|
438
|
+
sub_text: isSet(object.sub_text) ? globalThis.String(object.sub_text) : "",
|
|
428
439
|
image_url: isSet(object.image_url) ? globalThis.String(object.image_url) : "",
|
|
429
440
|
video_url: isSet(object.video_url) ? globalThis.String(object.video_url) : "",
|
|
430
441
|
video_length: isSet(object.video_length) ? globalThis.Number(object.video_length) : 0,
|
|
@@ -447,6 +458,9 @@ exports.BlockData = {
|
|
|
447
458
|
if (message.text !== "") {
|
|
448
459
|
obj.text = message.text;
|
|
449
460
|
}
|
|
461
|
+
if (message.sub_text !== "") {
|
|
462
|
+
obj.sub_text = message.sub_text;
|
|
463
|
+
}
|
|
450
464
|
if (message.image_url !== "") {
|
|
451
465
|
obj.image_url = message.image_url;
|
|
452
466
|
}
|
|
@@ -500,6 +514,7 @@ exports.BlockData = {
|
|
|
500
514
|
fromPartial(object) {
|
|
501
515
|
const message = createBaseBlockData();
|
|
502
516
|
message.text = object.text ?? "";
|
|
517
|
+
message.sub_text = object.sub_text ?? "";
|
|
503
518
|
message.image_url = object.image_url ?? "";
|
|
504
519
|
message.video_url = object.video_url ?? "";
|
|
505
520
|
message.video_length = object.video_length ?? 0;
|
package/ts/customers/getstep.js
CHANGED
|
@@ -154,6 +154,7 @@ function createBasegetstepResponse_Field() {
|
|
|
154
154
|
icon: "",
|
|
155
155
|
is_popup: false,
|
|
156
156
|
keyboard_type: "",
|
|
157
|
+
text_capitalization: "",
|
|
157
158
|
validations: [],
|
|
158
159
|
};
|
|
159
160
|
}
|
|
@@ -180,8 +181,11 @@ exports.getstepResponse_Field = {
|
|
|
180
181
|
if (message.keyboard_type !== "") {
|
|
181
182
|
writer.uint32(58).string(message.keyboard_type);
|
|
182
183
|
}
|
|
184
|
+
if (message.text_capitalization !== "") {
|
|
185
|
+
writer.uint32(66).string(message.text_capitalization);
|
|
186
|
+
}
|
|
183
187
|
for (const v of message.validations) {
|
|
184
|
-
exports.Validation.encode(v, writer.uint32(
|
|
188
|
+
exports.Validation.encode(v, writer.uint32(74).fork()).ldelim();
|
|
185
189
|
}
|
|
186
190
|
return writer;
|
|
187
191
|
},
|
|
@@ -238,6 +242,12 @@ exports.getstepResponse_Field = {
|
|
|
238
242
|
if (tag !== 66) {
|
|
239
243
|
break;
|
|
240
244
|
}
|
|
245
|
+
message.text_capitalization = reader.string();
|
|
246
|
+
continue;
|
|
247
|
+
case 9:
|
|
248
|
+
if (tag !== 74) {
|
|
249
|
+
break;
|
|
250
|
+
}
|
|
241
251
|
message.validations.push(exports.Validation.decode(reader, reader.uint32()));
|
|
242
252
|
continue;
|
|
243
253
|
}
|
|
@@ -257,6 +267,7 @@ exports.getstepResponse_Field = {
|
|
|
257
267
|
icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
|
|
258
268
|
is_popup: isSet(object.is_popup) ? globalThis.Boolean(object.is_popup) : false,
|
|
259
269
|
keyboard_type: isSet(object.keyboard_type) ? globalThis.String(object.keyboard_type) : "",
|
|
270
|
+
text_capitalization: isSet(object.text_capitalization) ? globalThis.String(object.text_capitalization) : "",
|
|
260
271
|
validations: globalThis.Array.isArray(object?.validations)
|
|
261
272
|
? object.validations.map((e) => exports.Validation.fromJSON(e))
|
|
262
273
|
: [],
|
|
@@ -285,6 +296,9 @@ exports.getstepResponse_Field = {
|
|
|
285
296
|
if (message.keyboard_type !== "") {
|
|
286
297
|
obj.keyboard_type = message.keyboard_type;
|
|
287
298
|
}
|
|
299
|
+
if (message.text_capitalization !== "") {
|
|
300
|
+
obj.text_capitalization = message.text_capitalization;
|
|
301
|
+
}
|
|
288
302
|
if (message.validations?.length) {
|
|
289
303
|
obj.validations = message.validations.map((e) => exports.Validation.toJSON(e));
|
|
290
304
|
}
|
|
@@ -302,6 +316,7 @@ exports.getstepResponse_Field = {
|
|
|
302
316
|
message.icon = object.icon ?? "";
|
|
303
317
|
message.is_popup = object.is_popup ?? false;
|
|
304
318
|
message.keyboard_type = object.keyboard_type ?? "";
|
|
319
|
+
message.text_capitalization = object.text_capitalization ?? "";
|
|
305
320
|
message.validations = object.validations?.map((e) => exports.Validation.fromPartial(e)) || [];
|
|
306
321
|
return message;
|
|
307
322
|
},
|