@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.
package/gen/exchange_core.ts
CHANGED
|
@@ -260,8 +260,7 @@ export interface ExchangeCalculationsFiltersRequest {
|
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
export interface CreateExchangePaymentRequest {
|
|
263
|
-
|
|
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.
|
|
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
|
-
|
|
290
|
-
optional string manager_id = 2;
|
|
289
|
+
AuthManagerContext auth_manager_context = 1;
|
|
291
290
|
|
|
292
|
-
optional string calculation_id =
|
|
293
|
-
int32 agent_id =
|
|
294
|
-
optional double amount =
|
|
295
|
-
optional string customer_id =
|
|
296
|
-
optional string crypto_network =
|
|
297
|
-
optional string customer_source =
|
|
298
|
-
optional string customer_referrer =
|
|
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 {
|