protobuf-platform 1.0.250 → 1.0.251
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/config/config.proto +4 -2
- package/config/config_pb.js +71 -11
- package/package.json +1 -1
package/config/config.proto
CHANGED
@@ -62,8 +62,10 @@ message GlobalDataRequest {
|
|
62
62
|
}
|
63
63
|
//Currency Rate
|
64
64
|
message CurrencyRateRequest {
|
65
|
-
string
|
66
|
-
string
|
65
|
+
string environment = 1;
|
66
|
+
string customer = 2;
|
67
|
+
string currency_from = 3;
|
68
|
+
string currency_to = 4;
|
67
69
|
}
|
68
70
|
message CurrencyRateResponse {
|
69
71
|
float rate = 1;
|
package/config/config_pb.js
CHANGED
@@ -2192,8 +2192,10 @@ proto.config.CurrencyRateRequest.prototype.toObject = function(opt_includeInstan
|
|
2192
2192
|
*/
|
2193
2193
|
proto.config.CurrencyRateRequest.toObject = function(includeInstance, msg) {
|
2194
2194
|
var f, obj = {
|
2195
|
-
|
2196
|
-
|
2195
|
+
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
2196
|
+
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2197
|
+
currencyFrom: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
2198
|
+
currencyTo: jspb.Message.getFieldWithDefault(msg, 4, "")
|
2197
2199
|
};
|
2198
2200
|
|
2199
2201
|
if (includeInstance) {
|
@@ -2232,9 +2234,17 @@ proto.config.CurrencyRateRequest.deserializeBinaryFromReader = function(msg, rea
|
|
2232
2234
|
switch (field) {
|
2233
2235
|
case 1:
|
2234
2236
|
var value = /** @type {string} */ (reader.readString());
|
2235
|
-
msg.
|
2237
|
+
msg.setEnvironment(value);
|
2236
2238
|
break;
|
2237
2239
|
case 2:
|
2240
|
+
var value = /** @type {string} */ (reader.readString());
|
2241
|
+
msg.setCustomer(value);
|
2242
|
+
break;
|
2243
|
+
case 3:
|
2244
|
+
var value = /** @type {string} */ (reader.readString());
|
2245
|
+
msg.setCurrencyFrom(value);
|
2246
|
+
break;
|
2247
|
+
case 4:
|
2238
2248
|
var value = /** @type {string} */ (reader.readString());
|
2239
2249
|
msg.setCurrencyTo(value);
|
2240
2250
|
break;
|
@@ -2267,28 +2277,42 @@ proto.config.CurrencyRateRequest.prototype.serializeBinary = function() {
|
|
2267
2277
|
*/
|
2268
2278
|
proto.config.CurrencyRateRequest.serializeBinaryToWriter = function(message, writer) {
|
2269
2279
|
var f = undefined;
|
2270
|
-
f = message.
|
2280
|
+
f = message.getEnvironment();
|
2271
2281
|
if (f.length > 0) {
|
2272
2282
|
writer.writeString(
|
2273
2283
|
1,
|
2274
2284
|
f
|
2275
2285
|
);
|
2276
2286
|
}
|
2277
|
-
f = message.
|
2287
|
+
f = message.getCustomer();
|
2278
2288
|
if (f.length > 0) {
|
2279
2289
|
writer.writeString(
|
2280
2290
|
2,
|
2281
2291
|
f
|
2282
2292
|
);
|
2283
2293
|
}
|
2294
|
+
f = message.getCurrencyFrom();
|
2295
|
+
if (f.length > 0) {
|
2296
|
+
writer.writeString(
|
2297
|
+
3,
|
2298
|
+
f
|
2299
|
+
);
|
2300
|
+
}
|
2301
|
+
f = message.getCurrencyTo();
|
2302
|
+
if (f.length > 0) {
|
2303
|
+
writer.writeString(
|
2304
|
+
4,
|
2305
|
+
f
|
2306
|
+
);
|
2307
|
+
}
|
2284
2308
|
};
|
2285
2309
|
|
2286
2310
|
|
2287
2311
|
/**
|
2288
|
-
* optional string
|
2312
|
+
* optional string environment = 1;
|
2289
2313
|
* @return {string}
|
2290
2314
|
*/
|
2291
|
-
proto.config.CurrencyRateRequest.prototype.
|
2315
|
+
proto.config.CurrencyRateRequest.prototype.getEnvironment = function() {
|
2292
2316
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
2293
2317
|
};
|
2294
2318
|
|
@@ -2297,16 +2321,16 @@ proto.config.CurrencyRateRequest.prototype.getCurrencyFrom = function() {
|
|
2297
2321
|
* @param {string} value
|
2298
2322
|
* @return {!proto.config.CurrencyRateRequest} returns this
|
2299
2323
|
*/
|
2300
|
-
proto.config.CurrencyRateRequest.prototype.
|
2324
|
+
proto.config.CurrencyRateRequest.prototype.setEnvironment = function(value) {
|
2301
2325
|
return jspb.Message.setProto3StringField(this, 1, value);
|
2302
2326
|
};
|
2303
2327
|
|
2304
2328
|
|
2305
2329
|
/**
|
2306
|
-
* optional string
|
2330
|
+
* optional string customer = 2;
|
2307
2331
|
* @return {string}
|
2308
2332
|
*/
|
2309
|
-
proto.config.CurrencyRateRequest.prototype.
|
2333
|
+
proto.config.CurrencyRateRequest.prototype.getCustomer = function() {
|
2310
2334
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
2311
2335
|
};
|
2312
2336
|
|
@@ -2315,11 +2339,47 @@ proto.config.CurrencyRateRequest.prototype.getCurrencyTo = function() {
|
|
2315
2339
|
* @param {string} value
|
2316
2340
|
* @return {!proto.config.CurrencyRateRequest} returns this
|
2317
2341
|
*/
|
2318
|
-
proto.config.CurrencyRateRequest.prototype.
|
2342
|
+
proto.config.CurrencyRateRequest.prototype.setCustomer = function(value) {
|
2319
2343
|
return jspb.Message.setProto3StringField(this, 2, value);
|
2320
2344
|
};
|
2321
2345
|
|
2322
2346
|
|
2347
|
+
/**
|
2348
|
+
* optional string currency_from = 3;
|
2349
|
+
* @return {string}
|
2350
|
+
*/
|
2351
|
+
proto.config.CurrencyRateRequest.prototype.getCurrencyFrom = function() {
|
2352
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
2353
|
+
};
|
2354
|
+
|
2355
|
+
|
2356
|
+
/**
|
2357
|
+
* @param {string} value
|
2358
|
+
* @return {!proto.config.CurrencyRateRequest} returns this
|
2359
|
+
*/
|
2360
|
+
proto.config.CurrencyRateRequest.prototype.setCurrencyFrom = function(value) {
|
2361
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
2362
|
+
};
|
2363
|
+
|
2364
|
+
|
2365
|
+
/**
|
2366
|
+
* optional string currency_to = 4;
|
2367
|
+
* @return {string}
|
2368
|
+
*/
|
2369
|
+
proto.config.CurrencyRateRequest.prototype.getCurrencyTo = function() {
|
2370
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
2371
|
+
};
|
2372
|
+
|
2373
|
+
|
2374
|
+
/**
|
2375
|
+
* @param {string} value
|
2376
|
+
* @return {!proto.config.CurrencyRateRequest} returns this
|
2377
|
+
*/
|
2378
|
+
proto.config.CurrencyRateRequest.prototype.setCurrencyTo = function(value) {
|
2379
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
2380
|
+
};
|
2381
|
+
|
2382
|
+
|
2323
2383
|
|
2324
2384
|
|
2325
2385
|
|