@arbiwallet/contracts 1.0.291 → 1.0.292

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.
@@ -679,6 +679,7 @@ export interface PaymentAgentDailyRateItem {
679
679
  affectedPayments: number;
680
680
  createdAt: string;
681
681
  createdByManagerId?: string | undefined;
682
+ recalculatePayouts: boolean;
682
683
  }
683
684
 
684
685
  export interface ListPaymentAgentDailyRatesRequest {
@@ -695,6 +696,7 @@ export interface CreatePaymentAgentDailyRateRequest {
695
696
  /** YYYY-MM-DD */
696
697
  rateDate: string;
697
698
  actualCost: number;
699
+ recalculatePayouts: boolean;
698
700
  }
699
701
 
700
702
  export interface CreatePaymentAgentDailyRateResponse {
@@ -747,6 +749,7 @@ export interface ApplyPaymentAgentDailyRateResponse {
747
749
  paymentsUpdated: number;
748
750
  exchangesUpdated: number;
749
751
  taskId?: string | undefined;
752
+ transactionsUpdated: number;
750
753
  }
751
754
 
752
755
  export interface DeletePaymentAgentDailyRateRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arbiwallet/contracts",
3
3
  "descriptions": "Generate and manage smart contracts for ArbiWallet",
4
- "version": "1.0.291",
4
+ "version": "1.0.292",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -724,6 +724,7 @@ message PaymentAgentDailyRateItem {
724
724
  int32 affected_payments = 6;
725
725
  string created_at = 7;
726
726
  optional string created_by_manager_id = 8;
727
+ bool recalculate_payouts = 9;
727
728
  }
728
729
 
729
730
  message ListPaymentAgentDailyRatesRequest {
@@ -739,6 +740,7 @@ message CreatePaymentAgentDailyRateRequest {
739
740
  int32 payment_agent = 2;
740
741
  string rate_date = 3; // YYYY-MM-DD
741
742
  double actual_cost = 4;
743
+ bool recalculate_payouts = 5;
742
744
  }
743
745
 
744
746
  message CreatePaymentAgentDailyRateResponse {
@@ -791,6 +793,7 @@ message ApplyPaymentAgentDailyRateResponse {
791
793
  int32 payments_updated = 4;
792
794
  int32 exchanges_updated = 5;
793
795
  optional string task_id = 6;
796
+ int32 transactions_updated = 7;
794
797
  }
795
798
 
796
799
  message DeletePaymentAgentDailyRateRequest {