protobuf-platform 1.2.753 → 1.2.755
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 +25 -1
- package/config/config_grpc_pb.js +33 -0
- package/config/config_pb.js +902 -0
- package/notification/notification.proto +27 -0
- package/notification/notification_grpc_pb.js +68 -0
- package/notification/notification_pb.js +1028 -0
- package/package.json +1 -1
- package/scripts/verifyHistoricalFxContract.js +20 -0
- package/user/user.proto +24 -0
- package/user/user_grpc_pb.js +69 -0
- package/user/user_pb.js +888 -84
package/config/config.proto
CHANGED
|
@@ -17,6 +17,7 @@ service Config {
|
|
|
17
17
|
rpc getCurrenciesRates(CurrenciesRatesRequest) returns (CurrenciesRatesResponse);
|
|
18
18
|
rpc refreshCurrenciesRates(RefreshCurrenciesRatesRequest) returns (CurrenciesRatesResponse);
|
|
19
19
|
rpc getCurrencyRatesMap(CurrencyRatesMapRequest) returns (CurrencyRatesMapResponse);
|
|
20
|
+
rpc getHistoricalCurrencyRates(HistoricalCurrencyRatesRequest) returns (HistoricalCurrencyRatesResponse);
|
|
20
21
|
rpc setManualCurrencyRate(SetManualCurrencyRateRequest) returns (CurrencyRateItemResponse);
|
|
21
22
|
//Countries
|
|
22
23
|
rpc getCountriesList(PaginationRequest) returns (CountriesResponse);
|
|
@@ -402,4 +403,27 @@ message CloudflareCacheInvalidationTargetResult {
|
|
|
402
403
|
message InvalidateCloudflareCacheResponse {
|
|
403
404
|
string status = 1;
|
|
404
405
|
repeated CloudflareCacheInvalidationTargetResult results = 2;
|
|
405
|
-
}
|
|
406
|
+
}
|
|
407
|
+
// Reference valuations only; never original settlement evidence. Rate direction is base -> quote.
|
|
408
|
+
message HistoricalCurrencyRatesRequest {
|
|
409
|
+
string environment = 1;
|
|
410
|
+
string customer = 2;
|
|
411
|
+
string utc_date = 3;
|
|
412
|
+
string base_currency = 4;
|
|
413
|
+
repeated string quote_currencies = 5; // 1..32 unique assets
|
|
414
|
+
}
|
|
415
|
+
message HistoricalCurrencyRateItem {
|
|
416
|
+
string base_currency = 1;
|
|
417
|
+
string quote_currency = 2;
|
|
418
|
+
string requested_date = 3;
|
|
419
|
+
string effective_date = 4;
|
|
420
|
+
string rate_decimal = 5; // Empty when unresolved; never a double.
|
|
421
|
+
string source = 6;
|
|
422
|
+
string provenance = 7;
|
|
423
|
+
uint32 precision = 8;
|
|
424
|
+
string unresolved_reason = 9;
|
|
425
|
+
string evidence_json = 10; // Original decimal text and provider observation dates.
|
|
426
|
+
}
|
|
427
|
+
message HistoricalCurrencyRatesResponse {
|
|
428
|
+
repeated HistoricalCurrencyRateItem items = 1;
|
|
429
|
+
}
|
package/config/config_grpc_pb.js
CHANGED
|
@@ -235,6 +235,28 @@ function deserialize_config_GlobalDataRequest(buffer_arg) {
|
|
|
235
235
|
return config_pb.GlobalDataRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
+
function serialize_config_HistoricalCurrencyRatesRequest(arg) {
|
|
239
|
+
if (!(arg instanceof config_pb.HistoricalCurrencyRatesRequest)) {
|
|
240
|
+
throw new Error('Expected argument of type config.HistoricalCurrencyRatesRequest');
|
|
241
|
+
}
|
|
242
|
+
return Buffer.from(arg.serializeBinary());
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
function deserialize_config_HistoricalCurrencyRatesRequest(buffer_arg) {
|
|
246
|
+
return config_pb.HistoricalCurrencyRatesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
function serialize_config_HistoricalCurrencyRatesResponse(arg) {
|
|
250
|
+
if (!(arg instanceof config_pb.HistoricalCurrencyRatesResponse)) {
|
|
251
|
+
throw new Error('Expected argument of type config.HistoricalCurrencyRatesResponse');
|
|
252
|
+
}
|
|
253
|
+
return Buffer.from(arg.serializeBinary());
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
function deserialize_config_HistoricalCurrencyRatesResponse(buffer_arg) {
|
|
257
|
+
return config_pb.HistoricalCurrencyRatesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
258
|
+
}
|
|
259
|
+
|
|
238
260
|
function serialize_config_InvalidateCloudflareCacheRequest(arg) {
|
|
239
261
|
if (!(arg instanceof config_pb.InvalidateCloudflareCacheRequest)) {
|
|
240
262
|
throw new Error('Expected argument of type config.InvalidateCloudflareCacheRequest');
|
|
@@ -648,6 +670,17 @@ getCurrencyRate: {
|
|
|
648
670
|
responseSerialize: serialize_config_CurrencyRatesMapResponse,
|
|
649
671
|
responseDeserialize: deserialize_config_CurrencyRatesMapResponse,
|
|
650
672
|
},
|
|
673
|
+
getHistoricalCurrencyRates: {
|
|
674
|
+
path: '/config.Config/getHistoricalCurrencyRates',
|
|
675
|
+
requestStream: false,
|
|
676
|
+
responseStream: false,
|
|
677
|
+
requestType: config_pb.HistoricalCurrencyRatesRequest,
|
|
678
|
+
responseType: config_pb.HistoricalCurrencyRatesResponse,
|
|
679
|
+
requestSerialize: serialize_config_HistoricalCurrencyRatesRequest,
|
|
680
|
+
requestDeserialize: deserialize_config_HistoricalCurrencyRatesRequest,
|
|
681
|
+
responseSerialize: serialize_config_HistoricalCurrencyRatesResponse,
|
|
682
|
+
responseDeserialize: deserialize_config_HistoricalCurrencyRatesResponse,
|
|
683
|
+
},
|
|
651
684
|
setManualCurrencyRate: {
|
|
652
685
|
path: '/config.Config/setManualCurrencyRate',
|
|
653
686
|
requestStream: false,
|