@aepstore-dev/contracts 1.71.0 → 1.73.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
@@ -42,6 +42,11 @@ export interface Ticket {
42
42
  unreadMessagesCount: number;
43
43
  lastReadMessageId: string;
44
44
  lastReadAt: string;
45
+ assignee: TicketAssignee | undefined;
46
+ }
47
+ export interface TicketAssignee {
48
+ id: string;
49
+ username: string;
45
50
  }
46
51
  export interface TicketMessage {
47
52
  id: string;
@@ -191,8 +196,17 @@ export interface ReopenTicketResponse {
191
196
  export interface ReportTicketRequest {
192
197
  ticketId: string;
193
198
  requesterId: string;
199
+ /**
200
+ * LONG_RESPONSE_WAIT | INCORRECT_COMMUNICATION | PROBLEM_NOT_RESOLVED |
201
+ * WRONG_INFORMATION | SUPPORT_RULES_VIOLATION
202
+ */
194
203
  reason: string;
195
- message: string;
204
+ description: string;
205
+ /**
206
+ * REPORT_PROBLEM | ANOTHER_SPECIALIST_RESPONSE | REVIEW_DECISION |
207
+ * REFUND_OR_COMPENSATION
208
+ */
209
+ desiredOutcome: string;
196
210
  }
197
211
  export interface SupportTicketComplaint {
198
212
  id: string;
@@ -200,9 +214,10 @@ export interface SupportTicketComplaint {
200
214
  userId: string;
201
215
  operatorId: string;
202
216
  reason: string;
203
- message: string;
204
217
  createdAt: string;
205
218
  updatedAt: string;
219
+ description: string;
220
+ desiredOutcome: string;
206
221
  }
207
222
  export interface RateTicketRequest {
208
223
  ticketId: string;
package/gen/support.ts CHANGED
@@ -54,6 +54,12 @@ export interface Ticket {
54
54
  unreadMessagesCount: number;
55
55
  lastReadMessageId: string;
56
56
  lastReadAt: string;
57
+ assignee: TicketAssignee | undefined;
58
+ }
59
+
60
+ export interface TicketAssignee {
61
+ id: string;
62
+ username: string;
57
63
  }
58
64
 
59
65
  export interface TicketMessage {
@@ -220,8 +226,17 @@ export interface ReopenTicketResponse {
220
226
  export interface ReportTicketRequest {
221
227
  ticketId: string;
222
228
  requesterId: string;
229
+ /**
230
+ * LONG_RESPONSE_WAIT | INCORRECT_COMMUNICATION | PROBLEM_NOT_RESOLVED |
231
+ * WRONG_INFORMATION | SUPPORT_RULES_VIOLATION
232
+ */
223
233
  reason: string;
224
- message: string;
234
+ description: string;
235
+ /**
236
+ * REPORT_PROBLEM | ANOTHER_SPECIALIST_RESPONSE | REVIEW_DECISION |
237
+ * REFUND_OR_COMPENSATION
238
+ */
239
+ desiredOutcome: string;
225
240
  }
226
241
 
227
242
  export interface SupportTicketComplaint {
@@ -230,9 +245,10 @@ export interface SupportTicketComplaint {
230
245
  userId: string;
231
246
  operatorId: string;
232
247
  reason: string;
233
- message: string;
234
248
  createdAt: string;
235
249
  updatedAt: string;
250
+ description: string;
251
+ desiredOutcome: string;
236
252
  }
237
253
 
238
254
  export interface RateTicketRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.71.0",
3
+ "version": "1.73.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -34,7 +34,7 @@ service SupportService {
34
34
  message PingRequest { string message = 1; }
35
35
  message PingResponse { bool ok = 1; string message = 2; }
36
36
 
37
- message Ticket {
37
+ message Ticket {
38
38
  string id = 1;
39
39
  string author_id = 2;
40
40
  string subject = 3;
@@ -60,9 +60,15 @@ message Ticket {
60
60
  int32 unread_messages_count = 23;
61
61
  string last_read_message_id = 24;
62
62
  string last_read_at = 25;
63
+ TicketAssignee assignee = 26;
63
64
  }
64
-
65
- message TicketMessage {
65
+
66
+ message TicketAssignee {
67
+ string id = 1;
68
+ string username = 2;
69
+ }
70
+
71
+ message TicketMessage {
66
72
  string id = 1;
67
73
  string ticket_id = 2;
68
74
  string author_id = 3;
@@ -198,8 +204,15 @@ message ReopenTicketResponse {
198
204
  message ReportTicketRequest {
199
205
  string ticket_id = 1;
200
206
  string requester_id = 2;
207
+ // LONG_RESPONSE_WAIT | INCORRECT_COMMUNICATION | PROBLEM_NOT_RESOLVED |
208
+ // WRONG_INFORMATION | SUPPORT_RULES_VIOLATION
201
209
  string reason = 3;
202
- string message = 4;
210
+ reserved 4;
211
+ reserved "message";
212
+ string description = 5;
213
+ // REPORT_PROBLEM | ANOTHER_SPECIALIST_RESPONSE | REVIEW_DECISION |
214
+ // REFUND_OR_COMPENSATION
215
+ string desired_outcome = 6;
203
216
  }
204
217
 
205
218
  message SupportTicketComplaint {
@@ -208,9 +221,12 @@ message SupportTicketComplaint {
208
221
  string user_id = 3;
209
222
  string operator_id = 4;
210
223
  string reason = 5;
211
- string message = 6;
224
+ reserved 6;
225
+ reserved "message";
212
226
  string created_at = 7;
213
227
  string updated_at = 8;
228
+ string description = 9;
229
+ string desired_outcome = 10;
214
230
  }
215
231
 
216
232
  message RateTicketRequest {