@aepstore-dev/contracts 1.47.0 → 1.47.1
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/payments.d.ts +2 -0
- package/gen/payments.ts +2 -0
- package/package.json +1 -1
- package/proto/payments.proto +1 -0
package/gen/payments.d.ts
CHANGED
|
@@ -81,6 +81,8 @@ export interface CheckoutResponse {
|
|
|
81
81
|
confirmationUrl: string;
|
|
82
82
|
/** PENDING (redirect) | COMPLETED (balance) */
|
|
83
83
|
status: string;
|
|
84
|
+
/** poll via GetPaymentIntent for TOPUP / bind-card flows */
|
|
85
|
+
intentId: string;
|
|
84
86
|
}
|
|
85
87
|
export interface GetMyPurchasesRequest {
|
|
86
88
|
userId: string;
|
package/gen/payments.ts
CHANGED
|
@@ -98,6 +98,8 @@ export interface CheckoutResponse {
|
|
|
98
98
|
confirmationUrl: string;
|
|
99
99
|
/** PENDING (redirect) | COMPLETED (balance) */
|
|
100
100
|
status: string;
|
|
101
|
+
/** poll via GetPaymentIntent for TOPUP / bind-card flows */
|
|
102
|
+
intentId: string;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
export interface GetMyPurchasesRequest {
|
package/package.json
CHANGED
package/proto/payments.proto
CHANGED
|
@@ -130,6 +130,7 @@ message CheckoutResponse {
|
|
|
130
130
|
string payment_id = 2;
|
|
131
131
|
string confirmation_url = 3; // empty when paid from balance (instant)
|
|
132
132
|
string status = 4; // PENDING (redirect) | COMPLETED (balance)
|
|
133
|
+
string intent_id = 5; // poll via GetPaymentIntent for TOPUP / bind-card flows
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
message GetMyPurchasesRequest { string user_id = 1; int32 page = 2; int32 limit = 3; }
|