@stashfin/grpc 1.2.222 → 1.2.223
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
|
@@ -142,6 +142,7 @@ function createBasegetCustomerByIdResponse() {
|
|
|
142
142
|
repeat_journey: undefined,
|
|
143
143
|
txn_rate: undefined,
|
|
144
144
|
customer_id: 0,
|
|
145
|
+
is_fcp_enabled: false,
|
|
145
146
|
};
|
|
146
147
|
}
|
|
147
148
|
exports.getCustomerByIdResponse = {
|
|
@@ -377,6 +378,9 @@ exports.getCustomerByIdResponse = {
|
|
|
377
378
|
if (message.customer_id !== 0) {
|
|
378
379
|
writer.uint32(616).int64(message.customer_id);
|
|
379
380
|
}
|
|
381
|
+
if (message.is_fcp_enabled !== false) {
|
|
382
|
+
writer.uint32(624).bool(message.is_fcp_enabled);
|
|
383
|
+
}
|
|
380
384
|
return writer;
|
|
381
385
|
},
|
|
382
386
|
decode(input, length) {
|
|
@@ -848,6 +852,12 @@ exports.getCustomerByIdResponse = {
|
|
|
848
852
|
}
|
|
849
853
|
message.customer_id = longToNumber(reader.int64());
|
|
850
854
|
continue;
|
|
855
|
+
case 78:
|
|
856
|
+
if (tag !== 624) {
|
|
857
|
+
break;
|
|
858
|
+
}
|
|
859
|
+
message.is_fcp_enabled = reader.bool();
|
|
860
|
+
continue;
|
|
851
861
|
}
|
|
852
862
|
if ((tag & 7) === 4 || tag === 0) {
|
|
853
863
|
break;
|
|
@@ -935,6 +945,7 @@ exports.getCustomerByIdResponse = {
|
|
|
935
945
|
repeat_journey: isSet(object.repeat_journey) ? globalThis.Number(object.repeat_journey) : undefined,
|
|
936
946
|
txn_rate: isSet(object.txn_rate) ? globalThis.Number(object.txn_rate) : undefined,
|
|
937
947
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
948
|
+
is_fcp_enabled: isSet(object.is_fcp_enabled) ? globalThis.Boolean(object.is_fcp_enabled) : false,
|
|
938
949
|
};
|
|
939
950
|
},
|
|
940
951
|
toJSON(message) {
|
|
@@ -1170,6 +1181,9 @@ exports.getCustomerByIdResponse = {
|
|
|
1170
1181
|
if (message.customer_id !== 0) {
|
|
1171
1182
|
obj.customer_id = Math.round(message.customer_id);
|
|
1172
1183
|
}
|
|
1184
|
+
if (message.is_fcp_enabled !== false) {
|
|
1185
|
+
obj.is_fcp_enabled = message.is_fcp_enabled;
|
|
1186
|
+
}
|
|
1173
1187
|
return obj;
|
|
1174
1188
|
},
|
|
1175
1189
|
create(base) {
|
|
@@ -1262,6 +1276,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1262
1276
|
message.repeat_journey = object.repeat_journey ?? undefined;
|
|
1263
1277
|
message.txn_rate = object.txn_rate ?? undefined;
|
|
1264
1278
|
message.customer_id = object.customer_id ?? 0;
|
|
1279
|
+
message.is_fcp_enabled = object.is_fcp_enabled ?? false;
|
|
1265
1280
|
return message;
|
|
1266
1281
|
},
|
|
1267
1282
|
};
|