@aepstore-dev/contracts 1.45.1 → 1.46.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 +18 -0
- package/gen/support.ts +18 -0
- package/package.json +1 -1
- package/proto/support.proto +11 -2
package/gen/support.d.ts
CHANGED
|
@@ -79,9 +79,20 @@ export interface GetTicketRequest {
|
|
|
79
79
|
}
|
|
80
80
|
export interface ListMyTicketsRequest {
|
|
81
81
|
authorId: string;
|
|
82
|
+
/** single value OR comma-separated (e.g. "OPEN,PENDING,IN_PROGRESS") */
|
|
82
83
|
status: string;
|
|
83
84
|
page: number;
|
|
84
85
|
limit: number;
|
|
86
|
+
/** GENERAL|TECHNICAL|SALES */
|
|
87
|
+
department: string;
|
|
88
|
+
/** GENERAL|PAYMENT|... */
|
|
89
|
+
category: string;
|
|
90
|
+
/** contains in subject OR in any message body */
|
|
91
|
+
search: string;
|
|
92
|
+
/** ISO; inclusive lower bound on createdAt */
|
|
93
|
+
dateFrom: string;
|
|
94
|
+
/** ISO; inclusive upper bound on createdAt */
|
|
95
|
+
dateTo: string;
|
|
85
96
|
}
|
|
86
97
|
export interface ReplyTicketRequest {
|
|
87
98
|
ticketId: string;
|
|
@@ -97,11 +108,18 @@ export interface CloseTicketRequest {
|
|
|
97
108
|
isStaff: boolean;
|
|
98
109
|
}
|
|
99
110
|
export interface ListTicketsRequest {
|
|
111
|
+
/** single value OR comma-separated */
|
|
100
112
|
status: string;
|
|
101
113
|
category: string;
|
|
102
114
|
assigneeId: string;
|
|
103
115
|
page: number;
|
|
104
116
|
limit: number;
|
|
117
|
+
department: string;
|
|
118
|
+
/** contains in subject OR in any message body */
|
|
119
|
+
search: string;
|
|
120
|
+
/** ISO; inclusive lower bound on createdAt */
|
|
121
|
+
dateFrom: string;
|
|
122
|
+
dateTo: string;
|
|
105
123
|
}
|
|
106
124
|
export interface AssignTicketRequest {
|
|
107
125
|
ticketId: string;
|
package/gen/support.ts
CHANGED
|
@@ -96,9 +96,20 @@ export interface GetTicketRequest {
|
|
|
96
96
|
|
|
97
97
|
export interface ListMyTicketsRequest {
|
|
98
98
|
authorId: string;
|
|
99
|
+
/** single value OR comma-separated (e.g. "OPEN,PENDING,IN_PROGRESS") */
|
|
99
100
|
status: string;
|
|
100
101
|
page: number;
|
|
101
102
|
limit: number;
|
|
103
|
+
/** GENERAL|TECHNICAL|SALES */
|
|
104
|
+
department: string;
|
|
105
|
+
/** GENERAL|PAYMENT|... */
|
|
106
|
+
category: string;
|
|
107
|
+
/** contains in subject OR in any message body */
|
|
108
|
+
search: string;
|
|
109
|
+
/** ISO; inclusive lower bound on createdAt */
|
|
110
|
+
dateFrom: string;
|
|
111
|
+
/** ISO; inclusive upper bound on createdAt */
|
|
112
|
+
dateTo: string;
|
|
102
113
|
}
|
|
103
114
|
|
|
104
115
|
export interface ReplyTicketRequest {
|
|
@@ -117,11 +128,18 @@ export interface CloseTicketRequest {
|
|
|
117
128
|
}
|
|
118
129
|
|
|
119
130
|
export interface ListTicketsRequest {
|
|
131
|
+
/** single value OR comma-separated */
|
|
120
132
|
status: string;
|
|
121
133
|
category: string;
|
|
122
134
|
assigneeId: string;
|
|
123
135
|
page: number;
|
|
124
136
|
limit: number;
|
|
137
|
+
department: string;
|
|
138
|
+
/** contains in subject OR in any message body */
|
|
139
|
+
search: string;
|
|
140
|
+
/** ISO; inclusive lower bound on createdAt */
|
|
141
|
+
dateFrom: string;
|
|
142
|
+
dateTo: string;
|
|
125
143
|
}
|
|
126
144
|
|
|
127
145
|
export interface AssignTicketRequest {
|
package/package.json
CHANGED
package/proto/support.proto
CHANGED
|
@@ -85,9 +85,14 @@ message GetTicketRequest {
|
|
|
85
85
|
|
|
86
86
|
message ListMyTicketsRequest {
|
|
87
87
|
string author_id = 1;
|
|
88
|
-
string status = 2;
|
|
88
|
+
string status = 2; // single value OR comma-separated (e.g. "OPEN,PENDING,IN_PROGRESS")
|
|
89
89
|
int32 page = 3;
|
|
90
90
|
int32 limit = 4;
|
|
91
|
+
string department = 5; // GENERAL|TECHNICAL|SALES
|
|
92
|
+
string category = 6; // GENERAL|PAYMENT|...
|
|
93
|
+
string search = 7; // contains in subject OR in any message body
|
|
94
|
+
string date_from = 8; // ISO; inclusive lower bound on createdAt
|
|
95
|
+
string date_to = 9; // ISO; inclusive upper bound on createdAt
|
|
91
96
|
}
|
|
92
97
|
|
|
93
98
|
message ReplyTicketRequest {
|
|
@@ -105,11 +110,15 @@ message CloseTicketRequest {
|
|
|
105
110
|
}
|
|
106
111
|
|
|
107
112
|
message ListTicketsRequest {
|
|
108
|
-
string status = 1;
|
|
113
|
+
string status = 1; // single value OR comma-separated
|
|
109
114
|
string category = 2;
|
|
110
115
|
string assignee_id = 3;
|
|
111
116
|
int32 page = 4;
|
|
112
117
|
int32 limit = 5;
|
|
118
|
+
string department = 6;
|
|
119
|
+
string search = 7; // contains in subject OR in any message body
|
|
120
|
+
string date_from = 8; // ISO; inclusive lower bound on createdAt
|
|
121
|
+
string date_to = 9;
|
|
113
122
|
}
|
|
114
123
|
|
|
115
124
|
message AssignTicketRequest {
|