@platfformx/proto-contracts 1.5.3 → 1.5.4

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.
@@ -2,6 +2,7 @@ import { Observable } from "rxjs";
2
2
  export declare const protobufPackage = "refund.v1";
3
3
  export interface CreateRefundRequest {
4
4
  providerId: string;
5
+ paymentId: string;
5
6
  amount: number;
6
7
  currency?: string | undefined;
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,8 +9,9 @@ service RefundService {
9
9
 
10
10
  message CreateRefundRequest {
11
11
  string providerId = 1;
12
- int64 amount = 2;
13
- optional string currency = 3;
12
+ string paymentId = 2;
13
+ int64 amount = 32;
14
+ optional string currency = 4;
14
15
  }
15
16
 
16
17
  message CreateRefundResponse {