@aepstore-dev/contracts 1.74.0 → 1.76.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
@@ -46,7 +46,6 @@ export interface Ticket {
46
46
  }
47
47
  export interface TicketAssignee {
48
48
  id: string;
49
- username: string;
50
49
  /**
51
50
  * Same display format as TicketMessage.author_name for staff:
52
51
  * short fullName (John D.) with username fallback.
@@ -203,7 +202,7 @@ export interface ReportTicketRequest {
203
202
  requesterId: string;
204
203
  /**
205
204
  * LONG_RESPONSE_WAIT | INCORRECT_COMMUNICATION | PROBLEM_NOT_RESOLVED |
206
- * WRONG_INFORMATION | SUPPORT_RULES_VIOLATION
205
+ * WRONG_INFORMATION | SUPPORT_RULES_VIOLATION | OTHER
207
206
  */
208
207
  reason: string;
209
208
  description: string;
@@ -212,6 +211,9 @@ export interface ReportTicketRequest {
212
211
  * REFUND_OR_COMPENSATION
213
212
  */
214
213
  desiredOutcome: string;
214
+ /** required when reason=OTHER */
215
+ customReason: string;
216
+ attachments: TicketAttachment[];
215
217
  }
216
218
  export interface SupportTicketComplaint {
217
219
  id: string;
@@ -223,6 +225,8 @@ export interface SupportTicketComplaint {
223
225
  updatedAt: string;
224
226
  description: string;
225
227
  desiredOutcome: string;
228
+ customReason: string;
229
+ attachments: TicketAttachment[];
226
230
  }
227
231
  export interface RateTicketRequest {
228
232
  ticketId: string;
package/gen/support.ts CHANGED
@@ -59,7 +59,6 @@ export interface Ticket {
59
59
 
60
60
  export interface TicketAssignee {
61
61
  id: string;
62
- username: string;
63
62
  /**
64
63
  * Same display format as TicketMessage.author_name for staff:
65
64
  * short fullName (John D.) with username fallback.
@@ -233,7 +232,7 @@ export interface ReportTicketRequest {
233
232
  requesterId: string;
234
233
  /**
235
234
  * LONG_RESPONSE_WAIT | INCORRECT_COMMUNICATION | PROBLEM_NOT_RESOLVED |
236
- * WRONG_INFORMATION | SUPPORT_RULES_VIOLATION
235
+ * WRONG_INFORMATION | SUPPORT_RULES_VIOLATION | OTHER
237
236
  */
238
237
  reason: string;
239
238
  description: string;
@@ -242,6 +241,9 @@ export interface ReportTicketRequest {
242
241
  * REFUND_OR_COMPENSATION
243
242
  */
244
243
  desiredOutcome: string;
244
+ /** required when reason=OTHER */
245
+ customReason: string;
246
+ attachments: TicketAttachment[];
245
247
  }
246
248
 
247
249
  export interface SupportTicketComplaint {
@@ -254,6 +256,8 @@ export interface SupportTicketComplaint {
254
256
  updatedAt: string;
255
257
  description: string;
256
258
  desiredOutcome: string;
259
+ customReason: string;
260
+ attachments: TicketAttachment[];
257
261
  }
258
262
 
259
263
  export interface RateTicketRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.74.0",
3
+ "version": "1.76.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -65,7 +65,8 @@ message Ticket {
65
65
 
66
66
  message TicketAssignee {
67
67
  string id = 1;
68
- string username = 2;
68
+ reserved 2;
69
+ reserved "username";
69
70
  // Same display format as TicketMessage.author_name for staff:
70
71
  // short fullName (John D.) with username fallback.
71
72
  string author_name = 3;
@@ -208,7 +209,7 @@ message ReportTicketRequest {
208
209
  string ticket_id = 1;
209
210
  string requester_id = 2;
210
211
  // LONG_RESPONSE_WAIT | INCORRECT_COMMUNICATION | PROBLEM_NOT_RESOLVED |
211
- // WRONG_INFORMATION | SUPPORT_RULES_VIOLATION
212
+ // WRONG_INFORMATION | SUPPORT_RULES_VIOLATION | OTHER
212
213
  string reason = 3;
213
214
  reserved 4;
214
215
  reserved "message";
@@ -216,6 +217,8 @@ message ReportTicketRequest {
216
217
  // REPORT_PROBLEM | ANOTHER_SPECIALIST_RESPONSE | REVIEW_DECISION |
217
218
  // REFUND_OR_COMPENSATION
218
219
  string desired_outcome = 6;
220
+ string custom_reason = 7; // required when reason=OTHER
221
+ repeated TicketAttachment attachments = 8;
219
222
  }
220
223
 
221
224
  message SupportTicketComplaint {
@@ -230,6 +233,8 @@ message SupportTicketComplaint {
230
233
  string updated_at = 8;
231
234
  string description = 9;
232
235
  string desired_outcome = 10;
236
+ string custom_reason = 11;
237
+ repeated TicketAttachment attachments = 12;
233
238
  }
234
239
 
235
240
  message RateTicketRequest {