@arbiwallet/contracts 1.0.238 → 1.0.240

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.
@@ -260,8 +260,7 @@ export interface ExchangeCalculationsFiltersRequest {
260
260
  }
261
261
 
262
262
  export interface CreateExchangePaymentRequest {
263
- managerUserId?: string | undefined;
264
- managerId?: string | undefined;
263
+ authManagerContext: AuthManagerContext | undefined;
265
264
  calculationId?: string | undefined;
266
265
  agentId: number;
267
266
  amount?: number | undefined;
@@ -293,6 +292,7 @@ export interface CreateExchangePaymentResponse {
293
292
 
294
293
  export interface HandlePaymentWebhookRequest {
295
294
  jsonPayload: string;
295
+ xApiKey: string;
296
296
  }
297
297
 
298
298
  export interface HandlePaymentWebhookResponse {
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.238",
4
+ "version": "1.0.240",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -286,16 +286,15 @@ message ExchangeCalculationsFiltersRequest {
286
286
  }
287
287
 
288
288
  message CreateExchangePaymentRequest {
289
- optional string manager_user_id = 1;
290
- optional string manager_id = 2;
289
+ AuthManagerContext auth_manager_context = 1;
291
290
 
292
- optional string calculation_id = 3;
293
- int32 agent_id = 4;
294
- optional double amount = 5;
295
- optional string customer_id = 6;
296
- optional string crypto_network = 7;
297
- optional string customer_source = 8;
298
- optional string customer_referrer = 9;
291
+ optional string calculation_id = 2;
292
+ int32 agent_id = 3;
293
+ optional double amount = 4;
294
+ optional string customer_id = 5;
295
+ optional string crypto_network = 6;
296
+ optional string customer_source = 7;
297
+ optional string customer_referrer = 8;
299
298
  }
300
299
 
301
300
  message CreateExchangePaymentResult {
@@ -320,6 +319,7 @@ message CreateExchangePaymentResponse {
320
319
 
321
320
  message HandlePaymentWebhookRequest {
322
321
  string json_payload = 1;
322
+ string x_api_key = 2;
323
323
  }
324
324
 
325
325
  message HandlePaymentWebhookResponse {