@arbiwallet/contracts 1.0.44 → 1.0.46

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/gen/ledger.ts CHANGED
@@ -228,7 +228,14 @@ export interface UpdateWithdrawalStatusRequest {
228
228
  | string
229
229
  | undefined;
230
230
  /** Сырой JSON от custody/webhook для аудита. */
231
- rawPayloadJson?: string | undefined;
231
+ rawPayloadJson?:
232
+ | string
233
+ | undefined;
234
+ /**
235
+ * Тот же request_id, что при RegisterWithdrawal (UUID заявки). Нужен, если в Ledger
236
+ * external_withdrawal_id = request_id от withdrawal_service, а custody шлёт BitGo transfer id.
237
+ */
238
+ withdrawRequestId?: string | undefined;
232
239
  }
233
240
 
234
241
  export interface UpdateWithdrawalStatusResponse {
package/gen/payout.ts CHANGED
@@ -26,6 +26,7 @@ export interface ParsePromptPayQrResponse {
26
26
  export interface ConfirmPayoutPaymentRequest {
27
27
  scanId: number;
28
28
  quoteId: string;
29
+ balanceCurrency: string;
29
30
  userId: string;
30
31
  }
31
32
 
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.44",
4
+ "version": "1.0.46",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -204,6 +204,9 @@ message UpdateWithdrawalStatusRequest {
204
204
  string new_status = 3; // Целевой статус (строка enum Prisma/ledger).
205
205
  optional string tx_hash = 4;
206
206
  optional string raw_payload_json = 5; // Сырой JSON от custody/webhook для аудита.
207
+ // Тот же request_id, что при RegisterWithdrawal (UUID заявки). Нужен, если в Ledger
208
+ // external_withdrawal_id = request_id от withdrawal_service, а custody шлёт BitGo transfer id.
209
+ optional string withdraw_request_id = 6;
207
210
  }
208
211
 
209
212
  message UpdateWithdrawalStatusResponse {
@@ -28,7 +28,8 @@ message ParsePromptPayQrResponse {
28
28
  message ConfirmPayoutPaymentRequest {
29
29
  int64 scan_id = 1;
30
30
  string quote_id = 2;
31
- string user_id = 3;
31
+ string balance_currency = 3;
32
+ string user_id = 4;
32
33
  }
33
34
 
34
35
  message ConfirmPayoutPaymentResponse {