@acequants/aegis-contracts 0.1.44 → 0.1.45

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.
@@ -43,7 +43,7 @@ export interface GrpcInputExchangeRateCreate {
43
43
  /** optional string servicePublicId = 1; */
44
44
  export interface GrpcInputExchangeRateCacheClear {
45
45
  }
46
- export interface GrpcInputExchangeRateConversion {
46
+ export interface GrpcInputExchangeRateConvert {
47
47
  fromCode: string;
48
48
  toCode: string;
49
49
  amount: string;
@@ -62,7 +62,7 @@ export interface GrpcDtoExchangeRates {
62
62
  items: GrpcDtoExchangeRate[];
63
63
  meta?: GrpcDtoPagination | undefined;
64
64
  }
65
- export interface GrpcDtoExchangeRateConvertion {
65
+ export interface GrpcDtoExchangeRateConvert {
66
66
  amount: number;
67
67
  }
68
68
  export declare const AEGIS_BILLING_V1_PACKAGE_NAME = "aegis.billing.v1";
@@ -90,9 +90,9 @@ export declare const GrpcInputExchangeRateCacheClear: {
90
90
  encode(_: GrpcInputExchangeRateCacheClear, writer?: _m0.Writer): _m0.Writer;
91
91
  decode(input: _m0.Reader | Uint8Array, length?: number): GrpcInputExchangeRateCacheClear;
92
92
  };
93
- export declare const GrpcInputExchangeRateConversion: {
94
- encode(message: GrpcInputExchangeRateConversion, writer?: _m0.Writer): _m0.Writer;
95
- decode(input: _m0.Reader | Uint8Array, length?: number): GrpcInputExchangeRateConversion;
93
+ export declare const GrpcInputExchangeRateConvert: {
94
+ encode(message: GrpcInputExchangeRateConvert, writer?: _m0.Writer): _m0.Writer;
95
+ decode(input: _m0.Reader | Uint8Array, length?: number): GrpcInputExchangeRateConvert;
96
96
  };
97
97
  export declare const GrpcDtoExchangeRate: {
98
98
  encode(message: GrpcDtoExchangeRate, writer?: _m0.Writer): _m0.Writer;
@@ -102,22 +102,22 @@ export declare const GrpcDtoExchangeRates: {
102
102
  encode(message: GrpcDtoExchangeRates, writer?: _m0.Writer): _m0.Writer;
103
103
  decode(input: _m0.Reader | Uint8Array, length?: number): GrpcDtoExchangeRates;
104
104
  };
105
- export declare const GrpcDtoExchangeRateConvertion: {
106
- encode(message: GrpcDtoExchangeRateConvertion, writer?: _m0.Writer): _m0.Writer;
107
- decode(input: _m0.Reader | Uint8Array, length?: number): GrpcDtoExchangeRateConvertion;
105
+ export declare const GrpcDtoExchangeRateConvert: {
106
+ encode(message: GrpcDtoExchangeRateConvert, writer?: _m0.Writer): _m0.Writer;
107
+ decode(input: _m0.Reader | Uint8Array, length?: number): GrpcDtoExchangeRateConvert;
108
108
  };
109
109
  export interface BillingServiceClient {
110
110
  /** --- Exchange Rate --- */
111
111
  rates(request: GrpcInputExchangeRates): Observable<GrpcDtoExchangeRates>;
112
112
  create(request: GrpcInputExchangeRateCreate): Observable<GrpcDtoExchangeRate>;
113
- convertion(request: GrpcInputExchangeRateConversion): Observable<GrpcDtoExchangeRateConvertion>;
113
+ convert(request: GrpcInputExchangeRateConvert): Observable<GrpcDtoExchangeRateConvert>;
114
114
  clearCache(request: GrpcInputExchangeRateCacheClear): Observable<GrpcDtoMessage>;
115
115
  }
116
116
  export interface BillingServiceController {
117
117
  /** --- Exchange Rate --- */
118
118
  rates(request: GrpcInputExchangeRates): Promise<GrpcDtoExchangeRates> | Observable<GrpcDtoExchangeRates> | GrpcDtoExchangeRates;
119
119
  create(request: GrpcInputExchangeRateCreate): Promise<GrpcDtoExchangeRate> | Observable<GrpcDtoExchangeRate> | GrpcDtoExchangeRate;
120
- convertion(request: GrpcInputExchangeRateConversion): Promise<GrpcDtoExchangeRateConvertion> | Observable<GrpcDtoExchangeRateConvertion> | GrpcDtoExchangeRateConvertion;
120
+ convert(request: GrpcInputExchangeRateConvert): Promise<GrpcDtoExchangeRateConvert> | Observable<GrpcDtoExchangeRateConvert> | GrpcDtoExchangeRateConvert;
121
121
  clearCache(request: GrpcInputExchangeRateCacheClear): Promise<GrpcDtoMessage> | Observable<GrpcDtoMessage> | GrpcDtoMessage;
122
122
  }
123
123
  export declare function BillingServiceControllerMethods(): (constructor: Function) => void;
@@ -143,14 +143,14 @@ export declare const BillingServiceService: {
143
143
  readonly responseSerialize: (value: GrpcDtoExchangeRate) => Buffer<ArrayBuffer>;
144
144
  readonly responseDeserialize: (value: Buffer) => GrpcDtoExchangeRate;
145
145
  };
146
- readonly convertion: {
147
- readonly path: "/aegis.billing.v1.BillingService/Convertion";
146
+ readonly convert: {
147
+ readonly path: "/aegis.billing.v1.BillingService/Convert";
148
148
  readonly requestStream: false;
149
149
  readonly responseStream: false;
150
- readonly requestSerialize: (value: GrpcInputExchangeRateConversion) => Buffer<ArrayBuffer>;
151
- readonly requestDeserialize: (value: Buffer) => GrpcInputExchangeRateConversion;
152
- readonly responseSerialize: (value: GrpcDtoExchangeRateConvertion) => Buffer<ArrayBuffer>;
153
- readonly responseDeserialize: (value: Buffer) => GrpcDtoExchangeRateConvertion;
150
+ readonly requestSerialize: (value: GrpcInputExchangeRateConvert) => Buffer<ArrayBuffer>;
151
+ readonly requestDeserialize: (value: Buffer) => GrpcInputExchangeRateConvert;
152
+ readonly responseSerialize: (value: GrpcDtoExchangeRateConvert) => Buffer<ArrayBuffer>;
153
+ readonly responseDeserialize: (value: Buffer) => GrpcDtoExchangeRateConvert;
154
154
  };
155
155
  readonly clearCache: {
156
156
  readonly path: "/aegis.billing.v1.BillingService/ClearCache";
@@ -166,7 +166,7 @@ export interface BillingServiceServer extends UntypedServiceImplementation {
166
166
  /** --- Exchange Rate --- */
167
167
  rates: handleUnaryCall<GrpcInputExchangeRates, GrpcDtoExchangeRates>;
168
168
  create: handleUnaryCall<GrpcInputExchangeRateCreate, GrpcDtoExchangeRate>;
169
- convertion: handleUnaryCall<GrpcInputExchangeRateConversion, GrpcDtoExchangeRateConvertion>;
169
+ convert: handleUnaryCall<GrpcInputExchangeRateConvert, GrpcDtoExchangeRateConvert>;
170
170
  clearCache: handleUnaryCall<GrpcInputExchangeRateCacheClear, GrpcDtoMessage>;
171
171
  }
172
172
  //# sourceMappingURL=billing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,4BAA4B,EAAE,0BAA0B,CAAC,CAAC;IACnF,UAAU,EAAE,eAAe,CAAC,+BAA+B,EAAE,cAAc,CAAC,CAAC;CAC9E"}
@@ -371,10 +371,10 @@ export const GrpcInputExchangeRateCacheClear = {
371
371
  return message;
372
372
  },
373
373
  };
374
- function createBaseGrpcInputExchangeRateConversion() {
374
+ function createBaseGrpcInputExchangeRateConvert() {
375
375
  return { fromCode: "", toCode: "", amount: "" };
376
376
  }
377
- export const GrpcInputExchangeRateConversion = {
377
+ export const GrpcInputExchangeRateConvert = {
378
378
  encode(message, writer = _m0.Writer.create()) {
379
379
  if (message.fromCode !== "") {
380
380
  writer.uint32(10).string(message.fromCode);
@@ -390,7 +390,7 @@ export const GrpcInputExchangeRateConversion = {
390
390
  decode(input, length) {
391
391
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
392
392
  let end = length === undefined ? reader.len : reader.pos + length;
393
- const message = createBaseGrpcInputExchangeRateConversion();
393
+ const message = createBaseGrpcInputExchangeRateConvert();
394
394
  while (reader.pos < end) {
395
395
  const tag = reader.uint32();
396
396
  switch (tag >>> 3) {
@@ -557,10 +557,10 @@ export const GrpcDtoExchangeRates = {
557
557
  return message;
558
558
  },
559
559
  };
560
- function createBaseGrpcDtoExchangeRateConvertion() {
560
+ function createBaseGrpcDtoExchangeRateConvert() {
561
561
  return { amount: 0 };
562
562
  }
563
- export const GrpcDtoExchangeRateConvertion = {
563
+ export const GrpcDtoExchangeRateConvert = {
564
564
  encode(message, writer = _m0.Writer.create()) {
565
565
  if (message.amount !== 0) {
566
566
  writer.uint32(13).float(message.amount);
@@ -570,7 +570,7 @@ export const GrpcDtoExchangeRateConvertion = {
570
570
  decode(input, length) {
571
571
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
572
572
  let end = length === undefined ? reader.len : reader.pos + length;
573
- const message = createBaseGrpcDtoExchangeRateConvertion();
573
+ const message = createBaseGrpcDtoExchangeRateConvert();
574
574
  while (reader.pos < end) {
575
575
  const tag = reader.uint32();
576
576
  switch (tag >>> 3) {
@@ -591,7 +591,7 @@ export const GrpcDtoExchangeRateConvertion = {
591
591
  };
592
592
  export function BillingServiceControllerMethods() {
593
593
  return function (constructor) {
594
- const grpcMethods = ["rates", "create", "convertion", "clearCache"];
594
+ const grpcMethods = ["rates", "create", "convert", "clearCache"];
595
595
  for (const method of grpcMethods) {
596
596
  const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
597
597
  GrpcMethod("BillingService", method)(constructor.prototype[method], method, descriptor);
@@ -624,14 +624,14 @@ export const BillingServiceService = {
624
624
  responseSerialize: (value) => Buffer.from(GrpcDtoExchangeRate.encode(value).finish()),
625
625
  responseDeserialize: (value) => GrpcDtoExchangeRate.decode(value),
626
626
  },
627
- convertion: {
628
- path: "/aegis.billing.v1.BillingService/Convertion",
627
+ convert: {
628
+ path: "/aegis.billing.v1.BillingService/Convert",
629
629
  requestStream: false,
630
630
  responseStream: false,
631
- requestSerialize: (value) => Buffer.from(GrpcInputExchangeRateConversion.encode(value).finish()),
632
- requestDeserialize: (value) => GrpcInputExchangeRateConversion.decode(value),
633
- responseSerialize: (value) => Buffer.from(GrpcDtoExchangeRateConvertion.encode(value).finish()),
634
- responseDeserialize: (value) => GrpcDtoExchangeRateConvertion.decode(value),
631
+ requestSerialize: (value) => Buffer.from(GrpcInputExchangeRateConvert.encode(value).finish()),
632
+ requestDeserialize: (value) => GrpcInputExchangeRateConvert.decode(value),
633
+ responseSerialize: (value) => Buffer.from(GrpcDtoExchangeRateConvert.encode(value).finish()),
634
+ responseDeserialize: (value) => GrpcDtoExchangeRateConvert.decode(value),
635
635
  },
636
636
  clearCache: {
637
637
  path: "/aegis.billing.v1.BillingService/ClearCache",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acequants/aegis-contracts",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -55,7 +55,7 @@ message GrpcInputExchangeRateCacheClear {
55
55
  // optional string servicePublicId = 1;
56
56
  }
57
57
 
58
- message GrpcInputExchangeRateConversion {
58
+ message GrpcInputExchangeRateConvert {
59
59
  string fromCode = 1;
60
60
  string toCode = 2;
61
61
  string amount = 3;
@@ -77,7 +77,7 @@ message GrpcDtoExchangeRates {
77
77
  GrpcDtoPagination meta = 2;
78
78
  }
79
79
 
80
- message GrpcDtoExchangeRateConvertion {
80
+ message GrpcDtoExchangeRateConvert {
81
81
  float amount = 1;
82
82
  }
83
83
 
@@ -85,6 +85,6 @@ service BillingService {
85
85
  // --- Exchange Rate ---
86
86
  rpc Rates (GrpcInputExchangeRates) returns (GrpcDtoExchangeRates);
87
87
  rpc Create (GrpcInputExchangeRateCreate) returns (GrpcDtoExchangeRate);
88
- rpc Convertion (GrpcInputExchangeRateConversion) returns (GrpcDtoExchangeRateConvertion);
88
+ rpc Convert (GrpcInputExchangeRateConvert) returns (GrpcDtoExchangeRateConvert);
89
89
  rpc ClearCache (GrpcInputExchangeRateCacheClear) returns (GrpcDtoMessage);
90
90
  }