@platfformx/proto-contracts 1.4.0 → 1.4.2

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.
@@ -13,7 +13,7 @@ export interface CreatePaymentResponse {
13
13
  clientSecret: string;
14
14
  }
15
15
  export interface ConfirmPaymentRequest {
16
- paymentId: string;
16
+ providerId: string;
17
17
  status: string;
18
18
  }
19
19
  export interface ConfirmPaymentResponse {
@@ -23,7 +23,7 @@ export interface CreatePaymentMethodRequest {
23
23
  userId: string;
24
24
  }
25
25
  export interface CreatePaymentMethodResponse {
26
- stripeId: string;
26
+ setupIntent: string;
27
27
  clientSecret: string;
28
28
  }
29
29
  export interface GetUserPaymentMethodsRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,7 +27,7 @@ message CreatePaymentResponse {
27
27
  }
28
28
 
29
29
  message ConfirmPaymentRequest {
30
- string payment_id = 1;
30
+ string providerId = 1;
31
31
  string status = 2;
32
32
  }
33
33
  message ConfirmPaymentResponse {
@@ -38,7 +38,7 @@ message CreatePaymentMethodRequest {
38
38
  string user_id = 1;
39
39
  }
40
40
  message CreatePaymentMethodResponse {
41
- string stripe_id = 1;
41
+ string setupIntent = 1;
42
42
  string client_secret = 2;
43
43
  }
44
44