@aepstore-dev/contracts 1.72.0 → 1.74.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 +10 -0
- package/gen/support.ts +11 -0
- package/package.json +1 -1
- package/proto/support.proto +12 -3
package/gen/support.d.ts
CHANGED
|
@@ -42,6 +42,16 @@ 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;
|
|
50
|
+
/**
|
|
51
|
+
* Same display format as TicketMessage.author_name for staff:
|
|
52
|
+
* short fullName (John D.) with username fallback.
|
|
53
|
+
*/
|
|
54
|
+
authorName: string;
|
|
45
55
|
}
|
|
46
56
|
export interface TicketMessage {
|
|
47
57
|
id: string;
|
package/gen/support.ts
CHANGED
|
@@ -54,6 +54,17 @@ 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;
|
|
63
|
+
/**
|
|
64
|
+
* Same display format as TicketMessage.author_name for staff:
|
|
65
|
+
* short fullName (John D.) with username fallback.
|
|
66
|
+
*/
|
|
67
|
+
authorName: string;
|
|
57
68
|
}
|
|
58
69
|
|
|
59
70
|
export interface TicketMessage {
|
package/package.json
CHANGED
package/proto/support.proto
CHANGED
|
@@ -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,18 @@ 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
|
|
65
|
+
|
|
66
|
+
message TicketAssignee {
|
|
67
|
+
string id = 1;
|
|
68
|
+
string username = 2;
|
|
69
|
+
// Same display format as TicketMessage.author_name for staff:
|
|
70
|
+
// short fullName (John D.) with username fallback.
|
|
71
|
+
string author_name = 3;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message TicketMessage {
|
|
66
75
|
string id = 1;
|
|
67
76
|
string ticket_id = 2;
|
|
68
77
|
string author_id = 3;
|