@aepstore-dev/contracts 1.78.0 → 1.80.0

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 CHANGED
@@ -95,6 +95,14 @@ export interface GetMyPurchasesRequest {
95
95
  userId: string;
96
96
  page: number;
97
97
  limit: number;
98
+ search: string;
99
+ categoryIds: string[];
100
+ applicationIds: string[];
101
+ tags: string[];
102
+ minPrice: string;
103
+ maxPrice: string;
104
+ sortBy: string;
105
+ sortOrder: string;
98
106
  }
99
107
  export interface PurchasesListResponse {
100
108
  items: Purchase[];
package/gen/payments.ts CHANGED
@@ -113,6 +113,14 @@ export interface GetMyPurchasesRequest {
113
113
  userId: string;
114
114
  page: number;
115
115
  limit: number;
116
+ search: string;
117
+ categoryIds: string[];
118
+ applicationIds: string[];
119
+ tags: string[];
120
+ minPrice: string;
121
+ maxPrice: string;
122
+ sortBy: string;
123
+ sortOrder: string;
116
124
  }
117
125
 
118
126
  export interface PurchasesListResponse {
package/gen/support.d.ts CHANGED
@@ -293,6 +293,8 @@ export interface ListTicketsRequest {
293
293
  dateTo: string;
294
294
  /** admin filter by ticket author */
295
295
  authorId: string;
296
+ /** current staff user for per-staff read state */
297
+ requesterId: string;
296
298
  }
297
299
  export interface AssignTicketRequest {
298
300
  ticketId: string;
package/gen/support.ts CHANGED
@@ -332,6 +332,8 @@ export interface ListTicketsRequest {
332
332
  dateTo: string;
333
333
  /** admin filter by ticket author */
334
334
  authorId: string;
335
+ /** current staff user for per-staff read state */
336
+ requesterId: string;
335
337
  }
336
338
 
337
339
  export interface AssignTicketRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.78.0",
3
+ "version": "1.80.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -152,7 +152,19 @@ message CheckoutResponse {
152
152
  string intent_id = 5; // poll via GetPaymentIntent for TOPUP / bind-card flows
153
153
  }
154
154
 
155
- message GetMyPurchasesRequest { string user_id = 1; int32 page = 2; int32 limit = 3; }
155
+ message GetMyPurchasesRequest {
156
+ string user_id = 1;
157
+ int32 page = 2;
158
+ int32 limit = 3;
159
+ string search = 4;
160
+ repeated string category_ids = 5;
161
+ repeated string application_ids = 6;
162
+ repeated string tags = 7;
163
+ string min_price = 8;
164
+ string max_price = 9;
165
+ string sort_by = 10;
166
+ string sort_order = 11;
167
+ }
156
168
  message PurchasesListResponse { repeated Purchase items = 1; int32 total = 2; int32 page = 3; int32 limit = 4; }
157
169
  message GetPurchaseRequest { string id = 1; string user_id = 2; }
158
170
  message RefundPurchaseRequest { string purchase_id = 1; string actor_user_id = 2; bool is_admin = 3; string reason = 4; }
@@ -302,6 +302,7 @@ message ListTicketsRequest {
302
302
  string date_from = 8; // ISO; inclusive lower bound on createdAt
303
303
  string date_to = 9;
304
304
  string author_id = 10; // admin filter by ticket author
305
+ string requester_id = 11; // current staff user for per-staff read state
305
306
  }
306
307
 
307
308
  message AssignTicketRequest {