protobuf-platform 1.2.312 → 1.2.314
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/user/user.proto +4 -3
- package/user/user_pb.js +47 -17
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -770,9 +770,10 @@ message UpdateRiskPermissionMatrixLimitRequest {
|
|
|
770
770
|
string risk_level = 1;
|
|
771
771
|
string operation_type = 2;
|
|
772
772
|
int64 amount_minor = 3;
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
773
|
+
int64 amount_major = 4;
|
|
774
|
+
string currency = 5;
|
|
775
|
+
int32 currency_scale = 6;
|
|
776
|
+
bool is_active = 7;
|
|
776
777
|
}
|
|
777
778
|
message CategoryItem {
|
|
778
779
|
int32 id = 1;
|
package/user/user_pb.js
CHANGED
|
@@ -33028,9 +33028,10 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.toObject = function(includeIns
|
|
|
33028
33028
|
riskLevel: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
33029
33029
|
operationType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
33030
33030
|
amountMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
33031
|
-
|
|
33032
|
-
|
|
33033
|
-
|
|
33031
|
+
amountMajor: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
33032
|
+
currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
33033
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
33034
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
33034
33035
|
};
|
|
33035
33036
|
|
|
33036
33037
|
if (includeInstance) {
|
|
@@ -33080,14 +33081,18 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.deserializeBinaryFromReader =
|
|
|
33080
33081
|
msg.setAmountMinor(value);
|
|
33081
33082
|
break;
|
|
33082
33083
|
case 4:
|
|
33084
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
33085
|
+
msg.setAmountMajor(value);
|
|
33086
|
+
break;
|
|
33087
|
+
case 5:
|
|
33083
33088
|
var value = /** @type {string} */ (reader.readString());
|
|
33084
33089
|
msg.setCurrency(value);
|
|
33085
33090
|
break;
|
|
33086
|
-
case
|
|
33091
|
+
case 6:
|
|
33087
33092
|
var value = /** @type {number} */ (reader.readInt32());
|
|
33088
33093
|
msg.setCurrencyScale(value);
|
|
33089
33094
|
break;
|
|
33090
|
-
case
|
|
33095
|
+
case 7:
|
|
33091
33096
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
33092
33097
|
msg.setIsActive(value);
|
|
33093
33098
|
break;
|
|
@@ -33141,24 +33146,31 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.serializeBinaryToWriter = func
|
|
|
33141
33146
|
f
|
|
33142
33147
|
);
|
|
33143
33148
|
}
|
|
33149
|
+
f = message.getAmountMajor();
|
|
33150
|
+
if (f !== 0) {
|
|
33151
|
+
writer.writeInt64(
|
|
33152
|
+
4,
|
|
33153
|
+
f
|
|
33154
|
+
);
|
|
33155
|
+
}
|
|
33144
33156
|
f = message.getCurrency();
|
|
33145
33157
|
if (f.length > 0) {
|
|
33146
33158
|
writer.writeString(
|
|
33147
|
-
|
|
33159
|
+
5,
|
|
33148
33160
|
f
|
|
33149
33161
|
);
|
|
33150
33162
|
}
|
|
33151
33163
|
f = message.getCurrencyScale();
|
|
33152
33164
|
if (f !== 0) {
|
|
33153
33165
|
writer.writeInt32(
|
|
33154
|
-
|
|
33166
|
+
6,
|
|
33155
33167
|
f
|
|
33156
33168
|
);
|
|
33157
33169
|
}
|
|
33158
33170
|
f = message.getIsActive();
|
|
33159
33171
|
if (f) {
|
|
33160
33172
|
writer.writeBool(
|
|
33161
|
-
|
|
33173
|
+
7,
|
|
33162
33174
|
f
|
|
33163
33175
|
);
|
|
33164
33176
|
}
|
|
@@ -33220,11 +33232,29 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setAmountMinor = fun
|
|
|
33220
33232
|
|
|
33221
33233
|
|
|
33222
33234
|
/**
|
|
33223
|
-
* optional
|
|
33235
|
+
* optional int64 amount_major = 4;
|
|
33236
|
+
* @return {number}
|
|
33237
|
+
*/
|
|
33238
|
+
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getAmountMajor = function() {
|
|
33239
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
33240
|
+
};
|
|
33241
|
+
|
|
33242
|
+
|
|
33243
|
+
/**
|
|
33244
|
+
* @param {number} value
|
|
33245
|
+
* @return {!proto.user.UpdateRiskPermissionMatrixLimitRequest} returns this
|
|
33246
|
+
*/
|
|
33247
|
+
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setAmountMajor = function(value) {
|
|
33248
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
33249
|
+
};
|
|
33250
|
+
|
|
33251
|
+
|
|
33252
|
+
/**
|
|
33253
|
+
* optional string currency = 5;
|
|
33224
33254
|
* @return {string}
|
|
33225
33255
|
*/
|
|
33226
33256
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getCurrency = function() {
|
|
33227
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
33257
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
33228
33258
|
};
|
|
33229
33259
|
|
|
33230
33260
|
|
|
@@ -33233,16 +33263,16 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getCurrency = functi
|
|
|
33233
33263
|
* @return {!proto.user.UpdateRiskPermissionMatrixLimitRequest} returns this
|
|
33234
33264
|
*/
|
|
33235
33265
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setCurrency = function(value) {
|
|
33236
|
-
return jspb.Message.setProto3StringField(this,
|
|
33266
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
33237
33267
|
};
|
|
33238
33268
|
|
|
33239
33269
|
|
|
33240
33270
|
/**
|
|
33241
|
-
* optional int32 currency_scale =
|
|
33271
|
+
* optional int32 currency_scale = 6;
|
|
33242
33272
|
* @return {number}
|
|
33243
33273
|
*/
|
|
33244
33274
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getCurrencyScale = function() {
|
|
33245
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
33275
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
33246
33276
|
};
|
|
33247
33277
|
|
|
33248
33278
|
|
|
@@ -33251,16 +33281,16 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getCurrencyScale = f
|
|
|
33251
33281
|
* @return {!proto.user.UpdateRiskPermissionMatrixLimitRequest} returns this
|
|
33252
33282
|
*/
|
|
33253
33283
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setCurrencyScale = function(value) {
|
|
33254
|
-
return jspb.Message.setProto3IntField(this,
|
|
33284
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
33255
33285
|
};
|
|
33256
33286
|
|
|
33257
33287
|
|
|
33258
33288
|
/**
|
|
33259
|
-
* optional bool is_active =
|
|
33289
|
+
* optional bool is_active = 7;
|
|
33260
33290
|
* @return {boolean}
|
|
33261
33291
|
*/
|
|
33262
33292
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getIsActive = function() {
|
|
33263
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
33293
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
33264
33294
|
};
|
|
33265
33295
|
|
|
33266
33296
|
|
|
@@ -33269,7 +33299,7 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getIsActive = functi
|
|
|
33269
33299
|
* @return {!proto.user.UpdateRiskPermissionMatrixLimitRequest} returns this
|
|
33270
33300
|
*/
|
|
33271
33301
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setIsActive = function(value) {
|
|
33272
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
33302
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
33273
33303
|
};
|
|
33274
33304
|
|
|
33275
33305
|
|