@aepstore-dev/contracts 1.92.0 → 1.93.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/support.d.ts CHANGED
@@ -13,7 +13,7 @@ export interface Ticket {
13
13
  subject: string;
14
14
  /** GENERAL|PAYMENT|WITHDRAWAL|PRODUCT|ACCOUNT|ABUSE|OTHER */
15
15
  category: string;
16
- /** OPEN|PENDING|IN_PROGRESS|RESOLVED|CLOSED */
16
+ /** OPEN|IN_PROGRESS|RESOLVED|CLOSED */
17
17
  status: string;
18
18
  /** LOW|NORMAL|HIGH|URGENT */
19
19
  priority: string;
@@ -44,6 +44,8 @@ export interface Ticket {
44
44
  lastReadAt: string;
45
45
  assignee: TicketAssignee | undefined;
46
46
  reportedAt: string;
47
+ /** SUPPORT|USER, empty when no one is expected (e.g. CLOSED) */
48
+ waitingFor: string;
47
49
  }
48
50
  export interface TicketAssignee {
49
51
  id: string;
@@ -164,7 +166,7 @@ export interface TicketReadState {
164
166
  }
165
167
  export interface ListMyTicketsRequest {
166
168
  authorId: string;
167
- /** single value OR comma-separated (e.g. "OPEN,PENDING,IN_PROGRESS") */
169
+ /** single value OR comma-separated (e.g. "OPEN,IN_PROGRESS") */
168
170
  status: string;
169
171
  page: number;
170
172
  limit: number;
@@ -178,6 +180,8 @@ export interface ListMyTicketsRequest {
178
180
  dateFrom: string;
179
181
  /** ISO; inclusive upper bound on createdAt */
180
182
  dateTo: string;
183
+ /** SUPPORT|USER */
184
+ waitingFor: string;
181
185
  }
182
186
  export interface ReplyTicketRequest {
183
187
  ticketId: string;
@@ -295,6 +299,8 @@ export interface ListTicketsRequest {
295
299
  authorId: string;
296
300
  /** current staff user for per-staff read state */
297
301
  requesterId: string;
302
+ /** SUPPORT|USER */
303
+ waitingFor: string;
298
304
  }
299
305
  export interface AssignTicketRequest {
300
306
  ticketId: string;
@@ -319,8 +325,8 @@ export interface TicketsListResponse {
319
325
  }
320
326
  export declare const SUPPORT_V1_PACKAGE_NAME = "support.v1";
321
327
  /**
322
- * Support ticket system (G1). Enums as strings matching the DB
323
- * (status OPEN|PENDING|IN_PROGRESS|RESOLVED|CLOSED; category/priority).
328
+ * Support ticket system (G1). Enums as strings matching the DB:
329
+ * status OPEN|IN_PROGRESS|RESOLVED|CLOSED; waitingFor SUPPORT|USER.
324
330
  */
325
331
  export interface SupportServiceClient {
326
332
  /** health */
@@ -348,8 +354,8 @@ export interface SupportServiceClient {
348
354
  clearTicketCreationBan(request: ClearTicketCreationBanRequest): Observable<TicketCreationBanState>;
349
355
  }
350
356
  /**
351
- * Support ticket system (G1). Enums as strings matching the DB
352
- * (status OPEN|PENDING|IN_PROGRESS|RESOLVED|CLOSED; category/priority).
357
+ * Support ticket system (G1). Enums as strings matching the DB:
358
+ * status OPEN|IN_PROGRESS|RESOLVED|CLOSED; waitingFor SUPPORT|USER.
353
359
  */
354
360
  export interface SupportServiceController {
355
361
  /** health */
package/gen/support.ts CHANGED
@@ -25,7 +25,7 @@ export interface Ticket {
25
25
  subject: string;
26
26
  /** GENERAL|PAYMENT|WITHDRAWAL|PRODUCT|ACCOUNT|ABUSE|OTHER */
27
27
  category: string;
28
- /** OPEN|PENDING|IN_PROGRESS|RESOLVED|CLOSED */
28
+ /** OPEN|IN_PROGRESS|RESOLVED|CLOSED */
29
29
  status: string;
30
30
  /** LOW|NORMAL|HIGH|URGENT */
31
31
  priority: string;
@@ -56,6 +56,8 @@ export interface Ticket {
56
56
  lastReadAt: string;
57
57
  assignee: TicketAssignee | undefined;
58
58
  reportedAt: string;
59
+ /** SUPPORT|USER, empty when no one is expected (e.g. CLOSED) */
60
+ waitingFor: string;
59
61
  }
60
62
 
61
63
  export interface TicketAssignee {
@@ -189,7 +191,7 @@ export interface TicketReadState {
189
191
 
190
192
  export interface ListMyTicketsRequest {
191
193
  authorId: string;
192
- /** single value OR comma-separated (e.g. "OPEN,PENDING,IN_PROGRESS") */
194
+ /** single value OR comma-separated (e.g. "OPEN,IN_PROGRESS") */
193
195
  status: string;
194
196
  page: number;
195
197
  limit: number;
@@ -203,6 +205,8 @@ export interface ListMyTicketsRequest {
203
205
  dateFrom: string;
204
206
  /** ISO; inclusive upper bound on createdAt */
205
207
  dateTo: string;
208
+ /** SUPPORT|USER */
209
+ waitingFor: string;
206
210
  }
207
211
 
208
212
  export interface ReplyTicketRequest {
@@ -334,6 +338,8 @@ export interface ListTicketsRequest {
334
338
  authorId: string;
335
339
  /** current staff user for per-staff read state */
336
340
  requesterId: string;
341
+ /** SUPPORT|USER */
342
+ waitingFor: string;
337
343
  }
338
344
 
339
345
  export interface AssignTicketRequest {
@@ -364,8 +370,8 @@ export interface TicketsListResponse {
364
370
  export const SUPPORT_V1_PACKAGE_NAME = "support.v1";
365
371
 
366
372
  /**
367
- * Support ticket system (G1). Enums as strings matching the DB
368
- * (status OPEN|PENDING|IN_PROGRESS|RESOLVED|CLOSED; category/priority).
373
+ * Support ticket system (G1). Enums as strings matching the DB:
374
+ * status OPEN|IN_PROGRESS|RESOLVED|CLOSED; waitingFor SUPPORT|USER.
369
375
  */
370
376
 
371
377
  export interface SupportServiceClient {
@@ -417,8 +423,8 @@ export interface SupportServiceClient {
417
423
  }
418
424
 
419
425
  /**
420
- * Support ticket system (G1). Enums as strings matching the DB
421
- * (status OPEN|PENDING|IN_PROGRESS|RESOLVED|CLOSED; category/priority).
426
+ * Support ticket system (G1). Enums as strings matching the DB:
427
+ * status OPEN|IN_PROGRESS|RESOLVED|CLOSED; waitingFor SUPPORT|USER.
422
428
  */
423
429
 
424
430
  export interface SupportServiceController {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.92.0",
3
+ "version": "1.93.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -2,8 +2,8 @@ syntax = "proto3";
2
2
 
3
3
  package support.v1;
4
4
 
5
- // Support ticket system (G1). Enums as strings matching the DB
6
- // (status OPEN|PENDING|IN_PROGRESS|RESOLVED|CLOSED; category/priority).
5
+ // Support ticket system (G1). Enums as strings matching the DB:
6
+ // status OPEN|IN_PROGRESS|RESOLVED|CLOSED; waitingFor SUPPORT|USER.
7
7
  service SupportService {
8
8
  rpc Ping(PingRequest) returns (PingResponse); // health
9
9
 
@@ -39,7 +39,7 @@ message Ticket {
39
39
  string author_id = 2;
40
40
  string subject = 3;
41
41
  string category = 4; // GENERAL|PAYMENT|WITHDRAWAL|PRODUCT|ACCOUNT|ABUSE|OTHER
42
- string status = 5; // OPEN|PENDING|IN_PROGRESS|RESOLVED|CLOSED
42
+ string status = 5; // OPEN|IN_PROGRESS|RESOLVED|CLOSED
43
43
  string priority = 6; // LOW|NORMAL|HIGH|URGENT
44
44
  string purchase_id = 7;
45
45
  string withdrawal_id = 8;
@@ -62,6 +62,7 @@ message Ticket {
62
62
  string last_read_at = 25;
63
63
  TicketAssignee assignee = 26;
64
64
  string reported_at = 27;
65
+ string waiting_for = 28; // SUPPORT|USER, empty when no one is expected (e.g. CLOSED)
65
66
  }
66
67
 
67
68
  message TicketAssignee {
@@ -173,14 +174,15 @@ message TicketReadState {
173
174
 
174
175
  message ListMyTicketsRequest {
175
176
  string author_id = 1;
176
- string status = 2; // single value OR comma-separated (e.g. "OPEN,PENDING,IN_PROGRESS")
177
+ string status = 2; // single value OR comma-separated (e.g. "OPEN,IN_PROGRESS")
177
178
  int32 page = 3;
178
179
  int32 limit = 4;
179
180
  string department = 5; // GENERAL|TECHNICAL|SALES
180
181
  string category = 6; // GENERAL|PAYMENT|...
181
- string search = 7; // contains in subject OR in any message body
182
- string date_from = 8; // ISO; inclusive lower bound on createdAt
183
- string date_to = 9; // ISO; inclusive upper bound on createdAt
182
+ string search = 7; // contains in subject OR in any message body
183
+ string date_from = 8; // ISO; inclusive lower bound on createdAt
184
+ string date_to = 9; // ISO; inclusive upper bound on createdAt
185
+ string waiting_for = 10; // SUPPORT|USER
184
186
  }
185
187
 
186
188
  message ReplyTicketRequest {
@@ -303,6 +305,7 @@ message ListTicketsRequest {
303
305
  string date_to = 9;
304
306
  string author_id = 10; // admin filter by ticket author
305
307
  string requester_id = 11; // current staff user for per-staff read state
308
+ string waiting_for = 12; // SUPPORT|USER
306
309
  }
307
310
 
308
311
  message AssignTicketRequest {