@just-education-org/rpc-contracts 1.17.1 → 1.17.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.
@@ -19,10 +19,10 @@ export interface ProcessPaymentEventRequest {
19
19
  bookingId: string;
20
20
  userId: string;
21
21
  savePaymentMethod: boolean;
22
- providerPaymentId: string;
22
+ providerMethodId?: string | undefined;
23
23
  /** bin */
24
- cardFirst6: string;
25
- cardLast4: string;
24
+ cardFirst6?: string | undefined;
25
+ cardLast4?: string | undefined;
26
26
  }
27
27
  export interface ProcessPaymentEventResponse {
28
28
  ok: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@just-education-org/rpc-contracts",
3
- "version": "1.17.1",
3
+ "version": "1.17.2",
4
4
  "description": "Protobuf definitions and generated TS types",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -26,9 +26,9 @@ message ProcessPaymentEventRequest {
26
26
  string booking_id = 3;
27
27
  string user_id = 4;
28
28
  bool save_payment_method = 5;
29
- string provider_payment_id = 6;
30
- string card_first6 = 7; // bin
31
- string card_last4 = 8;
29
+ optional string provider_method_id = 6;
30
+ optional string card_first6 = 7; // bin
31
+ optional string card_last4 = 8;
32
32
  }
33
33
 
34
34
  message ProcessPaymentEventResponse {