@acequants/aegis-contracts 0.1.43 → 0.1.44
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/dist/src/gen/billing/v1/billing.d.ts +172 -0
- package/dist/src/gen/billing/v1/billing.d.ts.map +1 -0
- package/dist/src/gen/billing/v1/billing.js +645 -0
- package/dist/src/gen/system/v1/system.d.ts +0 -137
- package/dist/src/gen/system/v1/system.d.ts.map +1 -1
- package/dist/src/gen/system/v1/system.js +0 -531
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/package.json +1 -1
- package/proto/billing/v1/billing.proto +90 -0
- package/proto/system/v1/system.proto +0 -67
|
@@ -246,67 +246,6 @@ message GrpcDtoClientFeatures {
|
|
|
246
246
|
repeated GrpcDtoClientFeature clientFeatures = 1;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
// ---- CURRENCY ----
|
|
250
|
-
message GrpcDtoCurrency {
|
|
251
|
-
string publicId = 1;
|
|
252
|
-
string code = 2;
|
|
253
|
-
string name = 3;
|
|
254
|
-
string symbol = 4;
|
|
255
|
-
bool isActive = 5;
|
|
256
|
-
float exchangeRate = 6;
|
|
257
|
-
google.protobuf.Timestamp createdAt = 7;
|
|
258
|
-
google.protobuf.Timestamp updatedAt = 8;
|
|
259
|
-
google.protobuf.Timestamp deletedAt = 9;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
// ---- EXCHANGE RATE ----
|
|
263
|
-
message GrpcInputExchangeRates {
|
|
264
|
-
optional string baseCurrencyPublicId = 1;
|
|
265
|
-
optional string quoteCurrencyPublicId = 2;
|
|
266
|
-
optional string search = 3;
|
|
267
|
-
optional int32 page = 4;
|
|
268
|
-
optional int32 pageSize = 5;
|
|
269
|
-
optional string sortBy = 6;
|
|
270
|
-
optional string sortOrder = 7;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
message GrpcInputExchangeRateCreate {
|
|
274
|
-
string baseCurrencyPublicId = 1;
|
|
275
|
-
string quoteCurrencyPublicId = 2;
|
|
276
|
-
string rate = 3;
|
|
277
|
-
string source = 4;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
message GrpcInputExchangeRateCacheClear {
|
|
281
|
-
// optional string servicePublicId = 1;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
message GrpcInputExchangeRateConversion {
|
|
285
|
-
string fromCode = 1;
|
|
286
|
-
string toCode = 2;
|
|
287
|
-
string amount = 3;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
message GrpcDtoExchangeRate {
|
|
291
|
-
string publicId = 1;
|
|
292
|
-
optional GrpcDtoCurrency baseCurrency = 2;
|
|
293
|
-
optional GrpcDtoCurrency quoteCurrency = 3;
|
|
294
|
-
string rate = 4;
|
|
295
|
-
string source = 5;
|
|
296
|
-
google.protobuf.Timestamp createdAt = 6;
|
|
297
|
-
google.protobuf.Timestamp updatedAt = 7;
|
|
298
|
-
google.protobuf.Timestamp deletedAt = 8;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
message GrpcDtoExchangeRates {
|
|
302
|
-
repeated GrpcDtoExchangeRate items = 1;
|
|
303
|
-
GrpcDtoPagination meta = 2;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
message GrpcDtoExchangeRateConvertion {
|
|
307
|
-
float amount = 1;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
249
|
service SystemService {
|
|
311
250
|
// --- Client Types ---
|
|
312
251
|
rpc ClientTypesSeed (GrpcInputClientTypesSeed) returns (GrpcDtoClientTypesSeed);
|
|
@@ -334,10 +273,4 @@ service SystemService {
|
|
|
334
273
|
rpc ClientFeaturesAdd (GrpcInputClientFeaturesAdd) returns (GrpcDtoFeaturesAdd);
|
|
335
274
|
rpc ClientFeaturesRemove (GrpcInputClientFeaturesRemove) returns (GrpcDtoMessage);
|
|
336
275
|
rpc ClientFeatures (GrpcInputClientFeatures) returns (GrpcDtoClientFeatures);
|
|
337
|
-
|
|
338
|
-
// --- Exchange Rate ---
|
|
339
|
-
rpc Rates (GrpcInputExchangeRates) returns (GrpcDtoExchangeRates);
|
|
340
|
-
rpc Create (GrpcInputExchangeRateCreate) returns (GrpcDtoExchangeRate);
|
|
341
|
-
rpc Convertion (GrpcInputExchangeRateConversion) returns (GrpcDtoExchangeRateConvertion);
|
|
342
|
-
rpc ClearCache (GrpcInputExchangeRateCacheClear) returns (GrpcDtoMessage);
|
|
343
276
|
}
|