@abyss-project/console 1.0.71 → 1.0.72

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.
Files changed (25) hide show
  1. package/dist/api/internal-ticket-config.api.d.ts +8 -3
  2. package/dist/api/internal-ticket-config.api.js +30 -5
  3. package/dist/api/internal-ticket.api.d.ts +7 -1
  4. package/dist/api/internal-ticket.api.js +31 -1
  5. package/dist/index.d.ts +19 -0
  6. package/dist/index.js +19 -0
  7. package/dist/types/enum/internal-ticket.enum.d.ts +11 -2
  8. package/dist/types/enum/internal-ticket.enum.js +9 -0
  9. package/dist/types/interface/api/requests/internal-ticket-config.request.d.ts +46 -0
  10. package/dist/types/interface/api/requests/internal-ticket.request.d.ts +44 -0
  11. package/dist/types/interface/api/responses/internal-ticket-config.response.d.ts +25 -0
  12. package/dist/types/interface/api/responses/internal-ticket.response.d.ts +29 -0
  13. package/dist/types/interface/index.d.ts +3 -0
  14. package/dist/types/interface/index.js +3 -0
  15. package/dist/types/interface/models/internal-ticket-assignee.model.d.ts +12 -0
  16. package/dist/types/interface/models/internal-ticket-assignee.model.js +2 -0
  17. package/dist/types/interface/models/internal-ticket-category.model.d.ts +4 -0
  18. package/dist/types/interface/models/internal-ticket-message-reaction.model.d.ts +9 -0
  19. package/dist/types/interface/models/internal-ticket-message-reaction.model.js +2 -0
  20. package/dist/types/interface/models/internal-ticket-message.model.d.ts +5 -0
  21. package/dist/types/interface/models/internal-ticket-priority.model.d.ts +5 -0
  22. package/dist/types/interface/models/internal-ticket-section.model.d.ts +18 -0
  23. package/dist/types/interface/models/internal-ticket-section.model.js +2 -0
  24. package/dist/types/interface/models/internal-ticket.model.d.ts +7 -0
  25. package/package.json +1 -1
@@ -1,9 +1,14 @@
1
- import { ICreateInternalTicketCategoryParams, ICreateInternalTicketCategoryBody, IListInternalTicketCategoryParams, IUpdateInternalTicketCategoryParams, IUpdateInternalTicketCategoryBody, IDeleteInternalTicketCategoryParams, ICreateInternalTicketPriorityParams, ICreateInternalTicketPriorityBody, IListInternalTicketPriorityParams, IUpdateInternalTicketPriorityParams, IUpdateInternalTicketPriorityBody, IDeleteInternalTicketPriorityParams, ICreateInternalTicketCategoryResponse, IListInternalTicketCategoryResponse, IUpdateInternalTicketCategoryResponse, IDeleteInternalTicketCategoryResponse, ICreateInternalTicketPriorityResponse, IListInternalTicketPriorityResponse, IUpdateInternalTicketPriorityResponse, IDeleteInternalTicketPriorityResponse } from '../types';
1
+ import { ICreateInternalTicketSectionParams, ICreateInternalTicketSectionBody, IListInternalTicketSectionParams, IUpdateInternalTicketSectionParams, IUpdateInternalTicketSectionBody, IDeleteInternalTicketSectionParams, IGetInternalTicketSectionStatsParams, ICreateInternalTicketCategoryParams, ICreateInternalTicketCategoryBody, IListInternalTicketCategoryParams, IListInternalTicketCategoryQuery, IUpdateInternalTicketCategoryParams, IUpdateInternalTicketCategoryBody, IDeleteInternalTicketCategoryParams, ICreateInternalTicketPriorityParams, ICreateInternalTicketPriorityBody, IListInternalTicketPriorityParams, IListInternalTicketPriorityQuery, IUpdateInternalTicketPriorityParams, IUpdateInternalTicketPriorityBody, IDeleteInternalTicketPriorityParams, ICreateInternalTicketSectionResponse, IListInternalTicketSectionResponse, IUpdateInternalTicketSectionResponse, IDeleteInternalTicketSectionResponse, IGetInternalTicketSectionStatsResponse, ICreateInternalTicketCategoryResponse, IListInternalTicketCategoryResponse, IUpdateInternalTicketCategoryResponse, IDeleteInternalTicketCategoryResponse, ICreateInternalTicketPriorityResponse, IListInternalTicketPriorityResponse, IUpdateInternalTicketPriorityResponse, IDeleteInternalTicketPriorityResponse } from '../types';
2
+ export declare const createInternalTicketSection: (params: ICreateInternalTicketSectionParams, body: ICreateInternalTicketSectionBody) => Promise<ICreateInternalTicketSectionResponse>;
3
+ export declare const listInternalTicketSection: (params: IListInternalTicketSectionParams) => Promise<IListInternalTicketSectionResponse>;
4
+ export declare const updateInternalTicketSection: (params: IUpdateInternalTicketSectionParams, body: IUpdateInternalTicketSectionBody) => Promise<IUpdateInternalTicketSectionResponse>;
5
+ export declare const deleteInternalTicketSection: (params: IDeleteInternalTicketSectionParams) => Promise<IDeleteInternalTicketSectionResponse>;
6
+ export declare const getInternalTicketSectionStats: (params: IGetInternalTicketSectionStatsParams) => Promise<IGetInternalTicketSectionStatsResponse>;
2
7
  export declare const createInternalTicketCategory: (params: ICreateInternalTicketCategoryParams, body: ICreateInternalTicketCategoryBody) => Promise<ICreateInternalTicketCategoryResponse>;
3
- export declare const listInternalTicketCategory: (params: IListInternalTicketCategoryParams) => Promise<IListInternalTicketCategoryResponse>;
8
+ export declare const listInternalTicketCategory: (params: IListInternalTicketCategoryParams, query?: IListInternalTicketCategoryQuery) => Promise<IListInternalTicketCategoryResponse>;
4
9
  export declare const updateInternalTicketCategory: (params: IUpdateInternalTicketCategoryParams, body: IUpdateInternalTicketCategoryBody) => Promise<IUpdateInternalTicketCategoryResponse>;
5
10
  export declare const deleteInternalTicketCategory: (params: IDeleteInternalTicketCategoryParams) => Promise<IDeleteInternalTicketCategoryResponse>;
6
11
  export declare const createInternalTicketPriority: (params: ICreateInternalTicketPriorityParams, body: ICreateInternalTicketPriorityBody) => Promise<ICreateInternalTicketPriorityResponse>;
7
- export declare const listInternalTicketPriority: (params: IListInternalTicketPriorityParams) => Promise<IListInternalTicketPriorityResponse>;
12
+ export declare const listInternalTicketPriority: (params: IListInternalTicketPriorityParams, query?: IListInternalTicketPriorityQuery) => Promise<IListInternalTicketPriorityResponse>;
8
13
  export declare const updateInternalTicketPriority: (params: IUpdateInternalTicketPriorityParams, body: IUpdateInternalTicketPriorityBody) => Promise<IUpdateInternalTicketPriorityResponse>;
9
14
  export declare const deleteInternalTicketPriority: (params: IDeleteInternalTicketPriorityParams) => Promise<IDeleteInternalTicketPriorityResponse>;
@@ -1,14 +1,39 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deleteInternalTicketPriority = exports.updateInternalTicketPriority = exports.listInternalTicketPriority = exports.createInternalTicketPriority = exports.deleteInternalTicketCategory = exports.updateInternalTicketCategory = exports.listInternalTicketCategory = exports.createInternalTicketCategory = void 0;
3
+ exports.deleteInternalTicketPriority = exports.updateInternalTicketPriority = exports.listInternalTicketPriority = exports.createInternalTicketPriority = exports.deleteInternalTicketCategory = exports.updateInternalTicketCategory = exports.listInternalTicketCategory = exports.createInternalTicketCategory = exports.getInternalTicketSectionStats = exports.deleteInternalTicketSection = exports.updateInternalTicketSection = exports.listInternalTicketSection = exports.createInternalTicketSection = void 0;
4
4
  const __1 = require("..");
5
+ const createInternalTicketSection = async (params, body) => {
6
+ const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket-config/${params.projectId}/section`, body);
7
+ return response.data;
8
+ };
9
+ exports.createInternalTicketSection = createInternalTicketSection;
10
+ const listInternalTicketSection = async (params) => {
11
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket-config/${params.projectId}/section`);
12
+ return response.data;
13
+ };
14
+ exports.listInternalTicketSection = listInternalTicketSection;
15
+ const updateInternalTicketSection = async (params, body) => {
16
+ const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/section/${params.internalTicketSectionId}`, body);
17
+ return response.data;
18
+ };
19
+ exports.updateInternalTicketSection = updateInternalTicketSection;
20
+ const deleteInternalTicketSection = async (params) => {
21
+ const response = await __1.AbyssConsoleCore.axios.delete(`/internal-ticket-config/${params.projectId}/section/${params.internalTicketSectionId}`);
22
+ return response.data;
23
+ };
24
+ exports.deleteInternalTicketSection = deleteInternalTicketSection;
25
+ const getInternalTicketSectionStats = async (params) => {
26
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket-config/${params.projectId}/section/${params.internalTicketSectionId}/stats`);
27
+ return response.data;
28
+ };
29
+ exports.getInternalTicketSectionStats = getInternalTicketSectionStats;
5
30
  const createInternalTicketCategory = async (params, body) => {
6
31
  const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket-config/${params.projectId}/category`, body);
7
32
  return response.data;
8
33
  };
9
34
  exports.createInternalTicketCategory = createInternalTicketCategory;
10
- const listInternalTicketCategory = async (params) => {
11
- const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket-config/${params.projectId}/category`);
35
+ const listInternalTicketCategory = async (params, query) => {
36
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket-config/${params.projectId}/category`, { params: query });
12
37
  return response.data;
13
38
  };
14
39
  exports.listInternalTicketCategory = listInternalTicketCategory;
@@ -27,8 +52,8 @@ const createInternalTicketPriority = async (params, body) => {
27
52
  return response.data;
28
53
  };
29
54
  exports.createInternalTicketPriority = createInternalTicketPriority;
30
- const listInternalTicketPriority = async (params) => {
31
- const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket-config/${params.projectId}/priority`);
55
+ const listInternalTicketPriority = async (params, query) => {
56
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket-config/${params.projectId}/priority`, { params: query });
32
57
  return response.data;
33
58
  };
34
59
  exports.listInternalTicketPriority = listInternalTicketPriority;
@@ -1,4 +1,4 @@
1
- import { ICreateInternalTicketParams, ICreateInternalTicketBody, IPaginateInternalTicketParams, IPaginateInternalTicketQuery, IGetInternalTicketParams, IUpdateInternalTicketParams, IUpdateInternalTicketBody, IArchiveInternalTicketParams, IUnarchiveInternalTicketParams, IDeleteInternalTicketParams, ICreateInternalTicketMessageParams, ICreateInternalTicketMessageBody, IUpdateInternalTicketMessageParams, IUpdateInternalTicketMessageBody, IDeleteInternalTicketMessageParams, IPaginateInternalTicketMessageParams, IPaginateInternalTicketMessageQuery, ICreateInternalTicketMessageAttachmentParams, ICreateInternalTicketMessageAttachmentBody, IDeleteInternalTicketMessageAttachmentParams, ICreateInternalTicketAttachmentParams, ICreateInternalTicketAttachmentBody, IDeleteInternalTicketAttachmentParams, IPaginateInternalTicketActivityParams, IPaginateInternalTicketActivityQuery, IFollowInternalTicketParams, IUnfollowInternalTicketParams, IListInternalTicketFollowerParams, ICreateBoardCardInternalTicketParams, ICreateBoardCardInternalTicketBody, ICreateInternalTicketResponse, IPaginateInternalTicketResponse, IGetInternalTicketResponse, IUpdateInternalTicketResponse, IArchiveInternalTicketResponse, IUnarchiveInternalTicketResponse, IDeleteInternalTicketResponse, ICreateInternalTicketMessageResponse, IUpdateInternalTicketMessageResponse, IDeleteInternalTicketMessageResponse, IPaginateInternalTicketMessageResponse, ICreateInternalTicketMessageAttachmentResponse, IDeleteInternalTicketMessageAttachmentResponse, ICreateInternalTicketAttachmentResponse, IDeleteInternalTicketAttachmentResponse, IPaginateInternalTicketActivityResponse, IFollowInternalTicketResponse, IUnfollowInternalTicketResponse, IListInternalTicketFollowerResponse, ICreateBoardCardInternalTicketResponse } from '../types';
1
+ import { ICreateInternalTicketParams, ICreateInternalTicketBody, IPaginateInternalTicketParams, IPaginateInternalTicketQuery, IGetInternalTicketParams, IUpdateInternalTicketParams, IUpdateInternalTicketBody, IArchiveInternalTicketParams, IUnarchiveInternalTicketParams, IDeleteInternalTicketParams, ICreateInternalTicketMessageParams, ICreateInternalTicketMessageBody, IUpdateInternalTicketMessageParams, IUpdateInternalTicketMessageBody, IDeleteInternalTicketMessageParams, IPaginateInternalTicketMessageParams, IPaginateInternalTicketMessageQuery, ICreateInternalTicketMessageAttachmentParams, ICreateInternalTicketMessageAttachmentBody, IDeleteInternalTicketMessageAttachmentParams, ICreateInternalTicketAttachmentParams, ICreateInternalTicketAttachmentBody, IDeleteInternalTicketAttachmentParams, IPaginateInternalTicketActivityParams, IPaginateInternalTicketActivityQuery, IFollowInternalTicketParams, IUnfollowInternalTicketParams, IListInternalTicketFollowerParams, ICreateBoardCardInternalTicketParams, ICreateBoardCardInternalTicketBody, IAddInternalTicketMessageReactionParams, IAddInternalTicketMessageReactionBody, IRemoveInternalTicketMessageReactionParams, ICreateInternalTicketResponse, IPaginateInternalTicketResponse, IGetInternalTicketResponse, IUpdateInternalTicketResponse, IArchiveInternalTicketResponse, IUnarchiveInternalTicketResponse, IDeleteInternalTicketResponse, ICreateInternalTicketMessageResponse, IUpdateInternalTicketMessageResponse, IDeleteInternalTicketMessageResponse, IPaginateInternalTicketMessageResponse, ICreateInternalTicketMessageAttachmentResponse, IDeleteInternalTicketMessageAttachmentResponse, ICreateInternalTicketAttachmentResponse, IDeleteInternalTicketAttachmentResponse, IPaginateInternalTicketActivityResponse, IFollowInternalTicketResponse, IUnfollowInternalTicketResponse, IListInternalTicketFollowerResponse, ICreateBoardCardInternalTicketResponse, IAddInternalTicketMessageReactionResponse, IRemoveInternalTicketMessageReactionResponse, IAddInternalTicketAssigneeParams, IAddInternalTicketAssigneeBody, IRemoveInternalTicketAssigneeParams, IListInternalTicketAssigneeParams, IListInternalTicketMembersParams, IListInternalTicketMembersQuery, IAddInternalTicketAssigneeResponse, IRemoveInternalTicketAssigneeResponse, IListInternalTicketAssigneeResponse, IListInternalTicketMembersResponse } from '../types';
2
2
  export declare const createInternalTicket: (params: ICreateInternalTicketParams, body: ICreateInternalTicketBody) => Promise<ICreateInternalTicketResponse>;
3
3
  export declare const paginateInternalTicket: (params: IPaginateInternalTicketParams, query: IPaginateInternalTicketQuery) => Promise<IPaginateInternalTicketResponse>;
4
4
  export declare const getInternalTicket: (params: IGetInternalTicketParams) => Promise<IGetInternalTicketResponse>;
@@ -18,4 +18,10 @@ export declare const paginateInternalTicketActivity: (params: IPaginateInternalT
18
18
  export declare const followInternalTicket: (params: IFollowInternalTicketParams) => Promise<IFollowInternalTicketResponse>;
19
19
  export declare const unfollowInternalTicket: (params: IUnfollowInternalTicketParams) => Promise<IUnfollowInternalTicketResponse>;
20
20
  export declare const listInternalTicketFollower: (params: IListInternalTicketFollowerParams) => Promise<IListInternalTicketFollowerResponse>;
21
+ export declare const addInternalTicketMessageReaction: (params: IAddInternalTicketMessageReactionParams, body: IAddInternalTicketMessageReactionBody) => Promise<IAddInternalTicketMessageReactionResponse>;
22
+ export declare const removeInternalTicketMessageReaction: (params: IRemoveInternalTicketMessageReactionParams) => Promise<IRemoveInternalTicketMessageReactionResponse>;
21
23
  export declare const createBoardCardInternalTicket: (params: ICreateBoardCardInternalTicketParams, body: ICreateBoardCardInternalTicketBody) => Promise<ICreateBoardCardInternalTicketResponse>;
24
+ export declare const addInternalTicketAssignee: (params: IAddInternalTicketAssigneeParams, body: IAddInternalTicketAssigneeBody) => Promise<IAddInternalTicketAssigneeResponse>;
25
+ export declare const removeInternalTicketAssignee: (params: IRemoveInternalTicketAssigneeParams) => Promise<IRemoveInternalTicketAssigneeResponse>;
26
+ export declare const listInternalTicketAssignee: (params: IListInternalTicketAssigneeParams) => Promise<IListInternalTicketAssigneeResponse>;
27
+ export declare const listInternalTicketMembers: (params: IListInternalTicketMembersParams, query?: IListInternalTicketMembersQuery) => Promise<IListInternalTicketMembersResponse>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createBoardCardInternalTicket = exports.listInternalTicketFollower = exports.unfollowInternalTicket = exports.followInternalTicket = exports.paginateInternalTicketActivity = exports.deleteInternalTicketAttachment = exports.createInternalTicketAttachment = exports.deleteInternalTicketMessageAttachment = exports.createInternalTicketMessageAttachment = exports.paginateInternalTicketMessage = exports.deleteInternalTicketMessage = exports.updateInternalTicketMessage = exports.createInternalTicketMessage = exports.deleteInternalTicket = exports.unarchiveInternalTicket = exports.archiveInternalTicket = exports.updateInternalTicket = exports.getInternalTicket = exports.paginateInternalTicket = exports.createInternalTicket = void 0;
3
+ exports.listInternalTicketMembers = exports.listInternalTicketAssignee = exports.removeInternalTicketAssignee = exports.addInternalTicketAssignee = exports.createBoardCardInternalTicket = exports.removeInternalTicketMessageReaction = exports.addInternalTicketMessageReaction = exports.listInternalTicketFollower = exports.unfollowInternalTicket = exports.followInternalTicket = exports.paginateInternalTicketActivity = exports.deleteInternalTicketAttachment = exports.createInternalTicketAttachment = exports.deleteInternalTicketMessageAttachment = exports.createInternalTicketMessageAttachment = exports.paginateInternalTicketMessage = exports.deleteInternalTicketMessage = exports.updateInternalTicketMessage = exports.createInternalTicketMessage = exports.deleteInternalTicket = exports.unarchiveInternalTicket = exports.archiveInternalTicket = exports.updateInternalTicket = exports.getInternalTicket = exports.paginateInternalTicket = exports.createInternalTicket = void 0;
4
4
  const __1 = require("..");
5
5
  const createInternalTicket = async (params, body) => {
6
6
  const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}`, body);
@@ -97,8 +97,38 @@ const listInternalTicketFollower = async (params) => {
97
97
  return response.data;
98
98
  };
99
99
  exports.listInternalTicketFollower = listInternalTicketFollower;
100
+ const addInternalTicketMessageReaction = async (params, body) => {
101
+ const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/message/${params.internalTicketMessageId}/reaction`, body);
102
+ return response.data;
103
+ };
104
+ exports.addInternalTicketMessageReaction = addInternalTicketMessageReaction;
105
+ const removeInternalTicketMessageReaction = async (params) => {
106
+ const response = await __1.AbyssConsoleCore.axios.delete(`/internal-ticket/${params.projectId}/${params.internalTicketId}/message/${params.internalTicketMessageId}/reaction/${params.internalTicketMessageReactionId}`);
107
+ return response.data;
108
+ };
109
+ exports.removeInternalTicketMessageReaction = removeInternalTicketMessageReaction;
100
110
  const createBoardCardInternalTicket = async (params, body) => {
101
111
  const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/create-board-card`, body);
102
112
  return response.data;
103
113
  };
104
114
  exports.createBoardCardInternalTicket = createBoardCardInternalTicket;
115
+ const addInternalTicketAssignee = async (params, body) => {
116
+ const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/assignee`, body);
117
+ return response.data;
118
+ };
119
+ exports.addInternalTicketAssignee = addInternalTicketAssignee;
120
+ const removeInternalTicketAssignee = async (params) => {
121
+ const response = await __1.AbyssConsoleCore.axios.delete(`/internal-ticket/${params.projectId}/${params.internalTicketId}/assignee/${params.userId}`);
122
+ return response.data;
123
+ };
124
+ exports.removeInternalTicketAssignee = removeInternalTicketAssignee;
125
+ const listInternalTicketAssignee = async (params) => {
126
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket/${params.projectId}/${params.internalTicketId}/assignee`);
127
+ return response.data;
128
+ };
129
+ exports.listInternalTicketAssignee = listInternalTicketAssignee;
130
+ const listInternalTicketMembers = async (params, query) => {
131
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket/${params.projectId}/members`, { params: query });
132
+ return response.data;
133
+ };
134
+ exports.listInternalTicketMembers = listInternalTicketMembers;
package/dist/index.d.ts CHANGED
@@ -133,6 +133,10 @@ type AbyssConsoleCoreSDK = {
133
133
  create: typeof internalTicketApi.createInternalTicketMessageAttachment;
134
134
  delete: typeof internalTicketApi.deleteInternalTicketMessageAttachment;
135
135
  };
136
+ reaction: {
137
+ add: typeof internalTicketApi.addInternalTicketMessageReaction;
138
+ remove: typeof internalTicketApi.removeInternalTicketMessageReaction;
139
+ };
136
140
  };
137
141
  attachment: {
138
142
  create: typeof internalTicketApi.createInternalTicketAttachment;
@@ -147,8 +151,23 @@ type AbyssConsoleCoreSDK = {
147
151
  list: typeof internalTicketApi.listInternalTicketFollower;
148
152
  };
149
153
  createBoardCard: typeof internalTicketApi.createBoardCardInternalTicket;
154
+ assignee: {
155
+ add: typeof internalTicketApi.addInternalTicketAssignee;
156
+ remove: typeof internalTicketApi.removeInternalTicketAssignee;
157
+ list: typeof internalTicketApi.listInternalTicketAssignee;
158
+ };
159
+ members: {
160
+ list: typeof internalTicketApi.listInternalTicketMembers;
161
+ };
150
162
  };
151
163
  internalTicketConfig: {
164
+ section: {
165
+ create: typeof internalTicketConfigApi.createInternalTicketSection;
166
+ list: typeof internalTicketConfigApi.listInternalTicketSection;
167
+ update: typeof internalTicketConfigApi.updateInternalTicketSection;
168
+ delete: typeof internalTicketConfigApi.deleteInternalTicketSection;
169
+ getStats: typeof internalTicketConfigApi.getInternalTicketSectionStats;
170
+ };
152
171
  category: {
153
172
  create: typeof internalTicketConfigApi.createInternalTicketCategory;
154
173
  list: typeof internalTicketConfigApi.listInternalTicketCategory;
package/dist/index.js CHANGED
@@ -237,6 +237,10 @@ class AbyssConsoleCore {
237
237
  create: internalTicketApi.createInternalTicketMessageAttachment,
238
238
  delete: internalTicketApi.deleteInternalTicketMessageAttachment,
239
239
  },
240
+ reaction: {
241
+ add: internalTicketApi.addInternalTicketMessageReaction,
242
+ remove: internalTicketApi.removeInternalTicketMessageReaction,
243
+ },
240
244
  },
241
245
  attachment: {
242
246
  create: internalTicketApi.createInternalTicketAttachment,
@@ -251,8 +255,23 @@ class AbyssConsoleCore {
251
255
  list: internalTicketApi.listInternalTicketFollower,
252
256
  },
253
257
  createBoardCard: internalTicketApi.createBoardCardInternalTicket,
258
+ assignee: {
259
+ add: internalTicketApi.addInternalTicketAssignee,
260
+ remove: internalTicketApi.removeInternalTicketAssignee,
261
+ list: internalTicketApi.listInternalTicketAssignee,
262
+ },
263
+ members: {
264
+ list: internalTicketApi.listInternalTicketMembers,
265
+ },
254
266
  },
255
267
  internalTicketConfig: {
268
+ section: {
269
+ create: internalTicketConfigApi.createInternalTicketSection,
270
+ list: internalTicketConfigApi.listInternalTicketSection,
271
+ update: internalTicketConfigApi.updateInternalTicketSection,
272
+ delete: internalTicketConfigApi.deleteInternalTicketSection,
273
+ getStats: internalTicketConfigApi.getInternalTicketSectionStats,
274
+ },
256
275
  category: {
257
276
  create: internalTicketConfigApi.createInternalTicketCategory,
258
277
  list: internalTicketConfigApi.listInternalTicketCategory,
@@ -8,7 +8,12 @@ export declare enum InternalTicketSSEEvent {
8
8
  MESSAGE_UPDATED = "MESSAGE_UPDATED",
9
9
  MESSAGE_DELETED = "MESSAGE_DELETED",
10
10
  ATTACHMENT_ADDED = "ATTACHMENT_ADDED",
11
- ATTACHMENT_REMOVED = "ATTACHMENT_REMOVED"
11
+ ATTACHMENT_REMOVED = "ATTACHMENT_REMOVED",
12
+ REACTION_ADDED = "REACTION_ADDED",
13
+ REACTION_REMOVED = "REACTION_REMOVED",
14
+ SECTION_CREATED = "SECTION_CREATED",
15
+ SECTION_UPDATED = "SECTION_UPDATED",
16
+ SECTION_DELETED = "SECTION_DELETED"
12
17
  }
13
18
  export declare enum InternalTicketStatus {
14
19
  OPEN = "OPEN",
@@ -20,7 +25,9 @@ export declare enum InternalTicketStatus {
20
25
  export declare enum InternalTicketActivityType {
21
26
  STATUS_CHANGED = "STATUS_CHANGED",
22
27
  PRIORITY_CHANGED = "PRIORITY_CHANGED",
28
+ PRIORITY_CONFIRMED = "PRIORITY_CONFIRMED",
23
29
  CATEGORY_CHANGED = "CATEGORY_CHANGED",
30
+ SECTION_CHANGED = "SECTION_CHANGED",
24
31
  ASSIGNED = "ASSIGNED",
25
32
  UNASSIGNED = "UNASSIGNED",
26
33
  MESSAGE_ADDED = "MESSAGE_ADDED",
@@ -28,5 +35,7 @@ export declare enum InternalTicketActivityType {
28
35
  ATTACHMENT_REMOVED = "ATTACHMENT_REMOVED",
29
36
  ARCHIVED = "ARCHIVED",
30
37
  UNARCHIVED = "UNARCHIVED",
31
- BOARD_CARD_CREATED = "BOARD_CARD_CREATED"
38
+ BOARD_CARD_CREATED = "BOARD_CARD_CREATED",
39
+ FOLLOWER_ADDED = "FOLLOWER_ADDED",
40
+ FOLLOWER_REMOVED = "FOLLOWER_REMOVED"
32
41
  }
@@ -13,6 +13,11 @@ var InternalTicketSSEEvent;
13
13
  InternalTicketSSEEvent["MESSAGE_DELETED"] = "MESSAGE_DELETED";
14
14
  InternalTicketSSEEvent["ATTACHMENT_ADDED"] = "ATTACHMENT_ADDED";
15
15
  InternalTicketSSEEvent["ATTACHMENT_REMOVED"] = "ATTACHMENT_REMOVED";
16
+ InternalTicketSSEEvent["REACTION_ADDED"] = "REACTION_ADDED";
17
+ InternalTicketSSEEvent["REACTION_REMOVED"] = "REACTION_REMOVED";
18
+ InternalTicketSSEEvent["SECTION_CREATED"] = "SECTION_CREATED";
19
+ InternalTicketSSEEvent["SECTION_UPDATED"] = "SECTION_UPDATED";
20
+ InternalTicketSSEEvent["SECTION_DELETED"] = "SECTION_DELETED";
16
21
  })(InternalTicketSSEEvent || (exports.InternalTicketSSEEvent = InternalTicketSSEEvent = {}));
17
22
  var InternalTicketStatus;
18
23
  (function (InternalTicketStatus) {
@@ -26,7 +31,9 @@ var InternalTicketActivityType;
26
31
  (function (InternalTicketActivityType) {
27
32
  InternalTicketActivityType["STATUS_CHANGED"] = "STATUS_CHANGED";
28
33
  InternalTicketActivityType["PRIORITY_CHANGED"] = "PRIORITY_CHANGED";
34
+ InternalTicketActivityType["PRIORITY_CONFIRMED"] = "PRIORITY_CONFIRMED";
29
35
  InternalTicketActivityType["CATEGORY_CHANGED"] = "CATEGORY_CHANGED";
36
+ InternalTicketActivityType["SECTION_CHANGED"] = "SECTION_CHANGED";
30
37
  InternalTicketActivityType["ASSIGNED"] = "ASSIGNED";
31
38
  InternalTicketActivityType["UNASSIGNED"] = "UNASSIGNED";
32
39
  InternalTicketActivityType["MESSAGE_ADDED"] = "MESSAGE_ADDED";
@@ -35,4 +42,6 @@ var InternalTicketActivityType;
35
42
  InternalTicketActivityType["ARCHIVED"] = "ARCHIVED";
36
43
  InternalTicketActivityType["UNARCHIVED"] = "UNARCHIVED";
37
44
  InternalTicketActivityType["BOARD_CARD_CREATED"] = "BOARD_CARD_CREATED";
45
+ InternalTicketActivityType["FOLLOWER_ADDED"] = "FOLLOWER_ADDED";
46
+ InternalTicketActivityType["FOLLOWER_REMOVED"] = "FOLLOWER_REMOVED";
38
47
  })(InternalTicketActivityType || (exports.InternalTicketActivityType = InternalTicketActivityType = {}));
@@ -1,14 +1,52 @@
1
+ export interface ICreateInternalTicketSectionParams {
2
+ projectId: string;
3
+ }
4
+ export interface ICreateInternalTicketSectionBody {
5
+ name: string;
6
+ description?: string;
7
+ color?: string;
8
+ icon?: string;
9
+ order?: number;
10
+ requirePriorityReason?: boolean;
11
+ }
12
+ export interface IListInternalTicketSectionParams {
13
+ projectId: string;
14
+ }
15
+ export interface IUpdateInternalTicketSectionParams {
16
+ projectId: string;
17
+ internalTicketSectionId: string;
18
+ }
19
+ export interface IUpdateInternalTicketSectionBody {
20
+ name?: string;
21
+ description?: string;
22
+ color?: string;
23
+ icon?: string;
24
+ order?: number;
25
+ requirePriorityReason?: boolean;
26
+ }
27
+ export interface IDeleteInternalTicketSectionParams {
28
+ projectId: string;
29
+ internalTicketSectionId: string;
30
+ }
31
+ export interface IGetInternalTicketSectionStatsParams {
32
+ projectId: string;
33
+ internalTicketSectionId: string;
34
+ }
1
35
  export interface ICreateInternalTicketCategoryParams {
2
36
  projectId: string;
3
37
  }
4
38
  export interface ICreateInternalTicketCategoryBody {
5
39
  name: string;
40
+ sectionId: string;
6
41
  color?: string;
7
42
  description?: string;
8
43
  }
9
44
  export interface IListInternalTicketCategoryParams {
10
45
  projectId: string;
11
46
  }
47
+ export interface IListInternalTicketCategoryQuery {
48
+ sectionId?: string;
49
+ }
12
50
  export interface IUpdateInternalTicketCategoryParams {
13
51
  projectId: string;
14
52
  internalTicketCategoryId: string;
@@ -18,6 +56,7 @@ export interface IUpdateInternalTicketCategoryBody {
18
56
  color?: string;
19
57
  description?: string;
20
58
  order?: number;
59
+ isEnabled?: boolean;
21
60
  }
22
61
  export interface IDeleteInternalTicketCategoryParams {
23
62
  projectId: string;
@@ -28,12 +67,17 @@ export interface ICreateInternalTicketPriorityParams {
28
67
  }
29
68
  export interface ICreateInternalTicketPriorityBody {
30
69
  name: string;
70
+ sectionId: string;
31
71
  color?: string;
32
72
  level: number;
73
+ label?: string;
33
74
  }
34
75
  export interface IListInternalTicketPriorityParams {
35
76
  projectId: string;
36
77
  }
78
+ export interface IListInternalTicketPriorityQuery {
79
+ sectionId?: string;
80
+ }
37
81
  export interface IUpdateInternalTicketPriorityParams {
38
82
  projectId: string;
39
83
  internalTicketPriorityId: string;
@@ -43,6 +87,8 @@ export interface IUpdateInternalTicketPriorityBody {
43
87
  color?: string;
44
88
  level?: number;
45
89
  isDefault?: boolean;
90
+ label?: string;
91
+ isEnabled?: boolean;
46
92
  }
47
93
  export interface IDeleteInternalTicketPriorityParams {
48
94
  projectId: string;
@@ -6,8 +6,10 @@ export interface ICreateInternalTicketParams {
6
6
  export interface ICreateInternalTicketBody {
7
7
  title: string;
8
8
  description: string;
9
+ sectionId: string;
9
10
  priorityId?: string;
10
11
  categoryId?: string;
12
+ priorityReason?: string;
11
13
  }
12
14
  export interface IPaginateInternalTicketParams {
13
15
  projectId: string;
@@ -16,6 +18,7 @@ export interface IPaginateInternalTicketQuery extends QueryPaginate {
16
18
  status?: InternalTicketStatus;
17
19
  priorityId?: string;
18
20
  categoryId?: string;
21
+ sectionId?: string;
19
22
  isArchived?: boolean;
20
23
  search?: string;
21
24
  assignedToUserId?: string;
@@ -34,7 +37,10 @@ export interface IUpdateInternalTicketBody {
34
37
  status?: InternalTicketStatus;
35
38
  priorityId?: string;
36
39
  categoryId?: string;
40
+ sectionId?: string;
37
41
  assignedToUserId?: string | null;
42
+ priorityReason?: string;
43
+ priorityCheckedAt?: Date;
38
44
  }
39
45
  export interface IArchiveInternalTicketParams {
40
46
  projectId: string;
@@ -54,6 +60,8 @@ export interface ICreateInternalTicketMessageParams {
54
60
  }
55
61
  export interface ICreateInternalTicketMessageBody {
56
62
  content: string;
63
+ replyToMessageId?: string;
64
+ mentionedUserIds?: string[];
57
65
  }
58
66
  export interface IUpdateInternalTicketMessageParams {
59
67
  projectId: string;
@@ -116,6 +124,42 @@ export interface IListInternalTicketFollowerParams {
116
124
  projectId: string;
117
125
  internalTicketId: string;
118
126
  }
127
+ export interface IAddInternalTicketMessageReactionParams {
128
+ projectId: string;
129
+ internalTicketId: string;
130
+ internalTicketMessageId: string;
131
+ }
132
+ export interface IAddInternalTicketMessageReactionBody {
133
+ emoji: string;
134
+ }
135
+ export interface IRemoveInternalTicketMessageReactionParams {
136
+ projectId: string;
137
+ internalTicketId: string;
138
+ internalTicketMessageId: string;
139
+ internalTicketMessageReactionId: string;
140
+ }
141
+ export interface IAddInternalTicketAssigneeParams {
142
+ projectId: string;
143
+ internalTicketId: string;
144
+ }
145
+ export interface IAddInternalTicketAssigneeBody {
146
+ userId: string;
147
+ }
148
+ export interface IRemoveInternalTicketAssigneeParams {
149
+ projectId: string;
150
+ internalTicketId: string;
151
+ userId: string;
152
+ }
153
+ export interface IListInternalTicketAssigneeParams {
154
+ projectId: string;
155
+ internalTicketId: string;
156
+ }
157
+ export interface IListInternalTicketMembersParams {
158
+ projectId: string;
159
+ }
160
+ export interface IListInternalTicketMembersQuery {
161
+ search?: string;
162
+ }
119
163
  export interface ICreateBoardCardInternalTicketParams {
120
164
  projectId: string;
121
165
  internalTicketId: string;
@@ -1,6 +1,31 @@
1
1
  import { IInternalTicketCategory } from '../../models/internal-ticket-category.model';
2
2
  import { IInternalTicketPriority } from '../../models/internal-ticket-priority.model';
3
+ import { IInternalTicketSection } from '../../models/internal-ticket-section.model';
3
4
  import { IResponse } from '../type-message/response';
5
+ export interface ICreateInternalTicketSectionData {
6
+ internalTicketSection: IInternalTicketSection;
7
+ }
8
+ export type ICreateInternalTicketSectionResponse = IResponse<ICreateInternalTicketSectionData>;
9
+ export interface IListInternalTicketSectionData {
10
+ internalTicketSections: IInternalTicketSection[];
11
+ }
12
+ export type IListInternalTicketSectionResponse = IResponse<IListInternalTicketSectionData>;
13
+ export interface IUpdateInternalTicketSectionData {
14
+ internalTicketSection: IInternalTicketSection;
15
+ }
16
+ export type IUpdateInternalTicketSectionResponse = IResponse<IUpdateInternalTicketSectionData>;
17
+ export interface IDeleteInternalTicketSectionData {
18
+ }
19
+ export type IDeleteInternalTicketSectionResponse = IResponse<IDeleteInternalTicketSectionData>;
20
+ export interface IGetInternalTicketSectionStatsData {
21
+ total: number;
22
+ open: number;
23
+ inProgress: number;
24
+ waitingForResponse: number;
25
+ resolved: number;
26
+ closed: number;
27
+ }
28
+ export type IGetInternalTicketSectionStatsResponse = IResponse<IGetInternalTicketSectionStatsData>;
4
29
  export interface ICreateInternalTicketCategoryData {
5
30
  internalTicketCategory: IInternalTicketCategory;
6
31
  }
@@ -1,5 +1,7 @@
1
1
  import { IInternalTicket } from '../../models/internal-ticket.model';
2
+ import { IInternalTicketAssignee, IInternalTicketMember } from '../../models/internal-ticket-assignee.model';
2
3
  import { IInternalTicketMessage } from '../../models/internal-ticket-message.model';
4
+ import { IInternalTicketMessageReaction } from '../../models/internal-ticket-message-reaction.model';
3
5
  import { IInternalTicketActivity } from '../../models/internal-ticket-activity.model';
4
6
  import { IInternalTicketFollower } from '../../models/internal-ticket-follower.model';
5
7
  import { IResponse } from '../type-message/response';
@@ -67,6 +69,13 @@ export interface IListInternalTicketFollowerData {
67
69
  internalTicketFollowers: IInternalTicketFollower[];
68
70
  }
69
71
  export type IListInternalTicketFollowerResponse = IResponse<IListInternalTicketFollowerData>;
72
+ export interface IAddInternalTicketMessageReactionData {
73
+ internalTicketMessageReaction: IInternalTicketMessageReaction;
74
+ }
75
+ export type IAddInternalTicketMessageReactionResponse = IResponse<IAddInternalTicketMessageReactionData>;
76
+ export interface IRemoveInternalTicketMessageReactionData {
77
+ }
78
+ export type IRemoveInternalTicketMessageReactionResponse = IResponse<IRemoveInternalTicketMessageReactionData>;
70
79
  export interface IInternalTicketSSEPayloadInput {
71
80
  projectId: string;
72
81
  internalTicketId: string;
@@ -75,6 +84,11 @@ export interface IInternalTicketSSEPayloadInput {
75
84
  attachmentId?: string;
76
85
  previousStatus?: string;
77
86
  newStatus?: string;
87
+ sectionId?: string;
88
+ reactionId?: string;
89
+ emoji?: string;
90
+ mentionedUserIds?: string[];
91
+ replyToMessageId?: string;
78
92
  }
79
93
  export interface IInternalTicketSSEPayload extends IInternalTicketSSEPayloadInput {
80
94
  timestamp: string;
@@ -91,3 +105,18 @@ export interface ICreateBoardCardInternalTicketData {
91
105
  };
92
106
  }
93
107
  export type ICreateBoardCardInternalTicketResponse = IResponse<ICreateBoardCardInternalTicketData>;
108
+ export interface IAddInternalTicketAssigneeData {
109
+ internalTicketAssignee: IInternalTicketAssignee;
110
+ }
111
+ export type IAddInternalTicketAssigneeResponse = IResponse<IAddInternalTicketAssigneeData>;
112
+ export interface IRemoveInternalTicketAssigneeData {
113
+ }
114
+ export type IRemoveInternalTicketAssigneeResponse = IResponse<IRemoveInternalTicketAssigneeData>;
115
+ export interface IListInternalTicketAssigneeData {
116
+ internalTicketAssignees: IInternalTicketAssignee[];
117
+ }
118
+ export type IListInternalTicketAssigneeResponse = IResponse<IListInternalTicketAssigneeData>;
119
+ export interface IListInternalTicketMembersData {
120
+ members: IInternalTicketMember[];
121
+ }
122
+ export type IListInternalTicketMembersResponse = IResponse<IListInternalTicketMembersData>;
@@ -24,6 +24,9 @@ export * from './models/internal-ticket.model';
24
24
  export * from './models/internal-ticket-category.model';
25
25
  export * from './models/internal-ticket-priority.model';
26
26
  export * from './models/internal-ticket-message.model';
27
+ export * from './models/internal-ticket-message-reaction.model';
27
28
  export * from './models/internal-ticket-attachment.model';
28
29
  export * from './models/internal-ticket-activity.model';
29
30
  export * from './models/internal-ticket-follower.model';
31
+ export * from './models/internal-ticket-section.model';
32
+ export * from './models/internal-ticket-assignee.model';
@@ -40,6 +40,9 @@ __exportStar(require("./models/internal-ticket.model"), exports);
40
40
  __exportStar(require("./models/internal-ticket-category.model"), exports);
41
41
  __exportStar(require("./models/internal-ticket-priority.model"), exports);
42
42
  __exportStar(require("./models/internal-ticket-message.model"), exports);
43
+ __exportStar(require("./models/internal-ticket-message-reaction.model"), exports);
43
44
  __exportStar(require("./models/internal-ticket-attachment.model"), exports);
44
45
  __exportStar(require("./models/internal-ticket-activity.model"), exports);
45
46
  __exportStar(require("./models/internal-ticket-follower.model"), exports);
47
+ __exportStar(require("./models/internal-ticket-section.model"), exports);
48
+ __exportStar(require("./models/internal-ticket-assignee.model"), exports);
@@ -0,0 +1,12 @@
1
+ export interface IInternalTicketAssignee {
2
+ id: string;
3
+ internalTicketId: string;
4
+ userId: string;
5
+ assignedByUserId: string;
6
+ createdAt?: Date;
7
+ updatedAt?: Date;
8
+ }
9
+ export interface IInternalTicketMember {
10
+ userId: string;
11
+ displayName?: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +1,16 @@
1
1
  import { IInternalTicket } from './internal-ticket.model';
2
+ import { IInternalTicketSection } from './internal-ticket-section.model';
2
3
  export interface IInternalTicketCategory {
3
4
  id: string;
4
5
  projectId: string;
6
+ sectionId: string;
5
7
  name: string;
6
8
  color: string | null;
7
9
  description: string | null;
8
10
  order: number;
11
+ isEnabled: boolean;
9
12
  createdAt?: Date;
10
13
  updatedAt?: Date;
14
+ internalTicketSection?: IInternalTicketSection;
11
15
  internalTicket?: IInternalTicket[];
12
16
  }
@@ -0,0 +1,9 @@
1
+ import { IInternalTicketMessage } from './internal-ticket-message.model';
2
+ export interface IInternalTicketMessageReaction {
3
+ id: string;
4
+ internalTicketMessageId: string;
5
+ userId: string;
6
+ emoji: string;
7
+ createdAt?: Date;
8
+ internalTicketMessage?: IInternalTicketMessage;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +1,17 @@
1
1
  import { IInternalTicket } from './internal-ticket.model';
2
2
  import { IInternalTicketAttachment } from './internal-ticket-attachment.model';
3
+ import { IInternalTicketMessageReaction } from './internal-ticket-message-reaction.model';
3
4
  export interface IInternalTicketMessage {
4
5
  id: string;
5
6
  internalTicketId: string;
6
7
  userId: string;
7
8
  content: string;
9
+ replyToMessageId: string | null;
10
+ mentionedUserIds: string[];
8
11
  createdAt?: Date;
9
12
  updatedAt?: Date;
10
13
  internalTicket?: IInternalTicket;
14
+ replyToMessage?: IInternalTicketMessage | null;
11
15
  internalTicketAttachment?: IInternalTicketAttachment[];
16
+ internalTicketMessageReaction?: IInternalTicketMessageReaction[];
12
17
  }
@@ -1,12 +1,17 @@
1
1
  import { IInternalTicket } from './internal-ticket.model';
2
+ import { IInternalTicketSection } from './internal-ticket-section.model';
2
3
  export interface IInternalTicketPriority {
3
4
  id: string;
4
5
  projectId: string;
6
+ sectionId: string;
5
7
  name: string;
8
+ label: string | null;
6
9
  color: string | null;
7
10
  level: number;
8
11
  isDefault: boolean;
12
+ isEnabled: boolean;
9
13
  createdAt?: Date;
10
14
  updatedAt?: Date;
15
+ internalTicketSection?: IInternalTicketSection;
11
16
  internalTicket?: IInternalTicket[];
12
17
  }
@@ -0,0 +1,18 @@
1
+ import { IInternalTicketCategory } from './internal-ticket-category.model';
2
+ import { IInternalTicketPriority } from './internal-ticket-priority.model';
3
+ import { IInternalTicket } from './internal-ticket.model';
4
+ export interface IInternalTicketSection {
5
+ id: string;
6
+ projectId: string;
7
+ name: string;
8
+ description: string | null;
9
+ color: string | null;
10
+ icon: string | null;
11
+ order: number;
12
+ requirePriorityReason: boolean;
13
+ createdAt?: Date;
14
+ updatedAt?: Date;
15
+ internalTicketCategory?: IInternalTicketCategory[];
16
+ internalTicketPriority?: IInternalTicketPriority[];
17
+ internalTicket?: IInternalTicket[];
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,16 @@
1
1
  import { InternalTicketStatus } from '../../enum';
2
+ import { IInternalTicketAssignee } from './internal-ticket-assignee.model';
2
3
  import { IInternalTicketCategory } from './internal-ticket-category.model';
3
4
  import { IInternalTicketMessage } from './internal-ticket-message.model';
4
5
  import { IInternalTicketActivity } from './internal-ticket-activity.model';
5
6
  import { IInternalTicketAttachment } from './internal-ticket-attachment.model';
6
7
  import { IInternalTicketFollower } from './internal-ticket-follower.model';
7
8
  import { IInternalTicketPriority } from './internal-ticket-priority.model';
9
+ import { IInternalTicketSection } from './internal-ticket-section.model';
8
10
  export interface IInternalTicket {
9
11
  id: string;
10
12
  projectId: string;
13
+ sectionId: string;
11
14
  title: string;
12
15
  description: string;
13
16
  status: InternalTicketStatus;
@@ -15,14 +18,18 @@ export interface IInternalTicket {
15
18
  categoryId: string | null;
16
19
  createdByUserId: string;
17
20
  assignedToUserId: string | null;
21
+ priorityCheckedAt: Date | null;
22
+ priorityReason: string | null;
18
23
  archivedAt: Date | null;
19
24
  closedAt: Date | null;
20
25
  createdAt?: Date;
21
26
  updatedAt?: Date;
27
+ internalTicketSection?: IInternalTicketSection;
22
28
  internalTicketCategory?: IInternalTicketCategory;
23
29
  internalTicketPriority?: IInternalTicketPriority;
24
30
  internalTicketMessage?: IInternalTicketMessage[];
25
31
  internalTicketActivity?: IInternalTicketActivity[];
26
32
  internalTicketAttachment?: IInternalTicketAttachment[];
27
33
  internalTicketFollower?: IInternalTicketFollower[];
34
+ internalTicketAssignee?: IInternalTicketAssignee[];
28
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/console",
3
- "version": "1.0.71",
3
+ "version": "1.0.72",
4
4
  "description": "Core package to interact with AbyssConsole",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",