@abyss-project/console 1.0.73 → 1.0.76

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 (58) hide show
  1. package/dist/api/index.d.ts +1 -0
  2. package/dist/api/index.js +1 -0
  3. package/dist/api/internal-ticket-config.api.d.ts +10 -7
  4. package/dist/api/internal-ticket-config.api.js +42 -27
  5. package/dist/api/internal-ticket.api.d.ts +12 -5
  6. package/dist/api/internal-ticket.api.js +54 -19
  7. package/dist/api/report.admin.api.d.ts +5 -1
  8. package/dist/api/report.admin.api.js +11 -1
  9. package/dist/api/system-setting.admin.api.d.ts +4 -0
  10. package/dist/api/system-setting.admin.api.js +19 -0
  11. package/dist/index.d.ts +36 -10
  12. package/dist/index.js +37 -10
  13. package/dist/types/constants/index.d.ts +1 -0
  14. package/dist/types/constants/index.js +1 -0
  15. package/dist/types/constants/internal-ticket.constants.d.ts +3 -0
  16. package/dist/types/constants/internal-ticket.constants.js +6 -0
  17. package/dist/types/enum/internal-ticket.enum.d.ts +27 -5
  18. package/dist/types/enum/internal-ticket.enum.js +26 -3
  19. package/dist/types/interface/api/index.d.ts +2 -0
  20. package/dist/types/interface/api/index.js +2 -0
  21. package/dist/types/interface/api/requests/internal-ticket-config.request.d.ts +92 -29
  22. package/dist/types/interface/api/requests/internal-ticket.request.d.ts +67 -22
  23. package/dist/types/interface/api/requests/report.admin.request.d.ts +5 -0
  24. package/dist/types/interface/api/requests/system-setting.admin.request.d.ts +3 -0
  25. package/dist/types/interface/api/requests/system-setting.admin.request.js +2 -0
  26. package/dist/types/interface/api/responses/internal-ticket-config.response.d.ts +36 -24
  27. package/dist/types/interface/api/responses/internal-ticket.response.d.ts +50 -20
  28. package/dist/types/interface/api/responses/report.admin.response.d.ts +21 -0
  29. package/dist/types/interface/api/responses/system-setting.admin.response.d.ts +16 -0
  30. package/dist/types/interface/api/responses/system-setting.admin.response.js +2 -0
  31. package/dist/types/interface/index.d.ts +6 -0
  32. package/dist/types/interface/index.js +6 -0
  33. package/dist/types/interface/models/internal-ticket-artifact-rule.model.d.ts +9 -0
  34. package/dist/types/interface/models/internal-ticket-artifact-rule.model.js +2 -0
  35. package/dist/types/interface/models/internal-ticket-artifact-type.model.d.ts +16 -0
  36. package/dist/types/interface/models/internal-ticket-artifact-type.model.js +2 -0
  37. package/dist/types/interface/models/internal-ticket-artifact.model.d.ts +11 -0
  38. package/dist/types/interface/models/internal-ticket-artifact.model.js +2 -0
  39. package/dist/types/interface/models/internal-ticket-category.model.d.ts +1 -2
  40. package/dist/types/interface/models/internal-ticket-message.model.d.ts +0 -1
  41. package/dist/types/interface/models/internal-ticket-priority.model.d.ts +3 -5
  42. package/dist/types/interface/models/internal-ticket-section.model.d.ts +4 -0
  43. package/dist/types/interface/models/internal-ticket-tag.model.d.ts +14 -0
  44. package/dist/types/interface/models/internal-ticket-tag.model.js +2 -0
  45. package/dist/types/interface/models/internal-ticket-ticket-tag.model.d.ts +9 -0
  46. package/dist/types/interface/models/internal-ticket-ticket-tag.model.js +2 -0
  47. package/dist/types/interface/models/internal-ticket.model.d.ts +9 -3
  48. package/dist/types/interface/models/system-setting.model.d.ts +8 -0
  49. package/dist/types/interface/models/system-setting.model.js +2 -0
  50. package/dist/utils/index.d.ts +2 -0
  51. package/dist/utils/index.js +2 -0
  52. package/dist/utils/internal-ticket-status.utils.d.ts +9 -0
  53. package/dist/utils/internal-ticket-status.utils.js +25 -0
  54. package/dist/utils/mention.utils.d.ts +3 -0
  55. package/dist/utils/mention.utils.js +21 -0
  56. package/package.json +3 -1
  57. package/dist/utils/reference-resolver.utils.d.ts +0 -52
  58. package/dist/utils/reference-resolver.utils.js +0 -219
@@ -8,3 +8,4 @@ export * from './workflow.api';
8
8
  export * from './report.admin.api';
9
9
  export * from './internal-ticket.api';
10
10
  export * from './internal-ticket-config.api';
11
+ export * from './system-setting.admin.api';
package/dist/api/index.js CHANGED
@@ -24,3 +24,4 @@ __exportStar(require("./workflow.api"), exports);
24
24
  __exportStar(require("./report.admin.api"), exports);
25
25
  __exportStar(require("./internal-ticket.api"), exports);
26
26
  __exportStar(require("./internal-ticket-config.api"), exports);
27
+ __exportStar(require("./system-setting.admin.api"), exports);
@@ -1,20 +1,23 @@
1
- import { ICreateInternalTicketSectionParams, ICreateInternalTicketSectionBody, IListInternalTicketSectionParams, IUpdateInternalTicketSectionParams, IUpdateInternalTicketSectionBody, IDeleteInternalTicketSectionParams, IArchiveInternalTicketSectionParams, IUnarchiveInternalTicketSectionParams, IGetInternalTicketSectionStatsParams, ICreateInternalTicketCategoryParams, ICreateInternalTicketCategoryBody, IListInternalTicketCategoryParams, IListInternalTicketCategoryQuery, IUpdateInternalTicketCategoryParams, IUpdateInternalTicketCategoryBody, IDeleteInternalTicketCategoryParams, IArchiveInternalTicketCategoryParams, IUnarchiveInternalTicketCategoryParams, ICreateInternalTicketPriorityParams, ICreateInternalTicketPriorityBody, IListInternalTicketPriorityParams, IListInternalTicketPriorityQuery, IUpdateInternalTicketPriorityParams, IUpdateInternalTicketPriorityBody, IDeleteInternalTicketPriorityParams, IArchiveInternalTicketPriorityParams, IUnarchiveInternalTicketPriorityParams, ICreateInternalTicketSectionResponse, IListInternalTicketSectionResponse, IUpdateInternalTicketSectionResponse, IDeleteInternalTicketSectionResponse, IArchiveInternalTicketSectionResponse, IUnarchiveInternalTicketSectionResponse, IGetInternalTicketSectionStatsResponse, ICreateInternalTicketCategoryResponse, IListInternalTicketCategoryResponse, IUpdateInternalTicketCategoryResponse, IDeleteInternalTicketCategoryResponse, IArchiveInternalTicketCategoryResponse, IUnarchiveInternalTicketCategoryResponse, ICreateInternalTicketPriorityResponse, IListInternalTicketPriorityResponse, IUpdateInternalTicketPriorityResponse, IDeleteInternalTicketPriorityResponse, IArchiveInternalTicketPriorityResponse, IUnarchiveInternalTicketPriorityResponse } 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, IReorderInternalTicketPriorityParams, IReorderInternalTicketPriorityBody, ICreateInternalTicketSectionResponse, IListInternalTicketSectionResponse, IUpdateInternalTicketSectionResponse, IDeleteInternalTicketSectionResponse, IGetInternalTicketSectionStatsResponse, ICreateInternalTicketCategoryResponse, IListInternalTicketCategoryResponse, IUpdateInternalTicketCategoryResponse, IDeleteInternalTicketCategoryResponse, ICreateInternalTicketPriorityResponse, IListInternalTicketPriorityResponse, IUpdateInternalTicketPriorityResponse, IDeleteInternalTicketPriorityResponse, IReorderInternalTicketPriorityResponse, ICreateInternalTicketTagParams, ICreateInternalTicketTagBody, IListInternalTicketTagParams, IListInternalTicketTagQuery, IUpdateInternalTicketTagParams, IUpdateInternalTicketTagBody, IDeleteInternalTicketTagParams, ICreateInternalTicketTagResponse, IListInternalTicketTagResponse, IUpdateInternalTicketTagResponse, IDeleteInternalTicketTagResponse, ICreateInternalTicketArtifactTypeParams, ICreateInternalTicketArtifactTypeBody, IListInternalTicketArtifactTypeParams, IListInternalTicketArtifactTypeQuery, IUpdateInternalTicketArtifactTypeParams, IUpdateInternalTicketArtifactTypeBody, IDeleteInternalTicketArtifactTypeParams, ICreateInternalTicketArtifactTypeResponse, IListInternalTicketArtifactTypeResponse, IUpdateInternalTicketArtifactTypeResponse, IDeleteInternalTicketArtifactTypeResponse } from '../types';
2
2
  export declare const createInternalTicketSection: (params: ICreateInternalTicketSectionParams, body: ICreateInternalTicketSectionBody) => Promise<ICreateInternalTicketSectionResponse>;
3
3
  export declare const listInternalTicketSection: (params: IListInternalTicketSectionParams) => Promise<IListInternalTicketSectionResponse>;
4
4
  export declare const updateInternalTicketSection: (params: IUpdateInternalTicketSectionParams, body: IUpdateInternalTicketSectionBody) => Promise<IUpdateInternalTicketSectionResponse>;
5
5
  export declare const deleteInternalTicketSection: (params: IDeleteInternalTicketSectionParams) => Promise<IDeleteInternalTicketSectionResponse>;
6
6
  export declare const getInternalTicketSectionStats: (params: IGetInternalTicketSectionStatsParams) => Promise<IGetInternalTicketSectionStatsResponse>;
7
- export declare const archiveInternalTicketSection: (params: IArchiveInternalTicketSectionParams) => Promise<IArchiveInternalTicketSectionResponse>;
8
- export declare const unarchiveInternalTicketSection: (params: IUnarchiveInternalTicketSectionParams) => Promise<IUnarchiveInternalTicketSectionResponse>;
9
7
  export declare const createInternalTicketCategory: (params: ICreateInternalTicketCategoryParams, body: ICreateInternalTicketCategoryBody) => Promise<ICreateInternalTicketCategoryResponse>;
10
8
  export declare const listInternalTicketCategory: (params: IListInternalTicketCategoryParams, query?: IListInternalTicketCategoryQuery) => Promise<IListInternalTicketCategoryResponse>;
11
9
  export declare const updateInternalTicketCategory: (params: IUpdateInternalTicketCategoryParams, body: IUpdateInternalTicketCategoryBody) => Promise<IUpdateInternalTicketCategoryResponse>;
12
10
  export declare const deleteInternalTicketCategory: (params: IDeleteInternalTicketCategoryParams) => Promise<IDeleteInternalTicketCategoryResponse>;
13
- export declare const archiveInternalTicketCategory: (params: IArchiveInternalTicketCategoryParams) => Promise<IArchiveInternalTicketCategoryResponse>;
14
- export declare const unarchiveInternalTicketCategory: (params: IUnarchiveInternalTicketCategoryParams) => Promise<IUnarchiveInternalTicketCategoryResponse>;
15
11
  export declare const createInternalTicketPriority: (params: ICreateInternalTicketPriorityParams, body: ICreateInternalTicketPriorityBody) => Promise<ICreateInternalTicketPriorityResponse>;
16
12
  export declare const listInternalTicketPriority: (params: IListInternalTicketPriorityParams, query?: IListInternalTicketPriorityQuery) => Promise<IListInternalTicketPriorityResponse>;
17
13
  export declare const updateInternalTicketPriority: (params: IUpdateInternalTicketPriorityParams, body: IUpdateInternalTicketPriorityBody) => Promise<IUpdateInternalTicketPriorityResponse>;
18
14
  export declare const deleteInternalTicketPriority: (params: IDeleteInternalTicketPriorityParams) => Promise<IDeleteInternalTicketPriorityResponse>;
19
- export declare const archiveInternalTicketPriority: (params: IArchiveInternalTicketPriorityParams) => Promise<IArchiveInternalTicketPriorityResponse>;
20
- export declare const unarchiveInternalTicketPriority: (params: IUnarchiveInternalTicketPriorityParams) => Promise<IUnarchiveInternalTicketPriorityResponse>;
15
+ export declare const reorderInternalTicketPriority: (params: IReorderInternalTicketPriorityParams, body: IReorderInternalTicketPriorityBody) => Promise<IReorderInternalTicketPriorityResponse>;
16
+ export declare const createInternalTicketTag: (params: ICreateInternalTicketTagParams, body: ICreateInternalTicketTagBody) => Promise<ICreateInternalTicketTagResponse>;
17
+ export declare const listInternalTicketTag: (params: IListInternalTicketTagParams, query?: IListInternalTicketTagQuery) => Promise<IListInternalTicketTagResponse>;
18
+ export declare const updateInternalTicketTag: (params: IUpdateInternalTicketTagParams, body: IUpdateInternalTicketTagBody) => Promise<IUpdateInternalTicketTagResponse>;
19
+ export declare const deleteInternalTicketTag: (params: IDeleteInternalTicketTagParams) => Promise<IDeleteInternalTicketTagResponse>;
20
+ export declare const createInternalTicketArtifactType: (params: ICreateInternalTicketArtifactTypeParams, body: ICreateInternalTicketArtifactTypeBody) => Promise<ICreateInternalTicketArtifactTypeResponse>;
21
+ export declare const listInternalTicketArtifactType: (params: IListInternalTicketArtifactTypeParams, query?: IListInternalTicketArtifactTypeQuery) => Promise<IListInternalTicketArtifactTypeResponse>;
22
+ export declare const updateInternalTicketArtifactType: (params: IUpdateInternalTicketArtifactTypeParams, body: IUpdateInternalTicketArtifactTypeBody) => Promise<IUpdateInternalTicketArtifactTypeResponse>;
23
+ export declare const deleteInternalTicketArtifactType: (params: IDeleteInternalTicketArtifactTypeParams) => Promise<IDeleteInternalTicketArtifactTypeResponse>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.unarchiveInternalTicketPriority = exports.archiveInternalTicketPriority = exports.deleteInternalTicketPriority = exports.updateInternalTicketPriority = exports.listInternalTicketPriority = exports.createInternalTicketPriority = exports.unarchiveInternalTicketCategory = exports.archiveInternalTicketCategory = exports.deleteInternalTicketCategory = exports.updateInternalTicketCategory = exports.listInternalTicketCategory = exports.createInternalTicketCategory = exports.unarchiveInternalTicketSection = exports.archiveInternalTicketSection = exports.getInternalTicketSectionStats = exports.deleteInternalTicketSection = exports.updateInternalTicketSection = exports.listInternalTicketSection = exports.createInternalTicketSection = void 0;
3
+ exports.deleteInternalTicketArtifactType = exports.updateInternalTicketArtifactType = exports.listInternalTicketArtifactType = exports.createInternalTicketArtifactType = exports.deleteInternalTicketTag = exports.updateInternalTicketTag = exports.listInternalTicketTag = exports.createInternalTicketTag = exports.reorderInternalTicketPriority = 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
5
  const createInternalTicketSection = async (params, body) => {
6
6
  const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket-config/${params.projectId}/section`, body);
@@ -27,16 +27,6 @@ const getInternalTicketSectionStats = async (params) => {
27
27
  return response.data;
28
28
  };
29
29
  exports.getInternalTicketSectionStats = getInternalTicketSectionStats;
30
- const archiveInternalTicketSection = async (params) => {
31
- const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/section/${params.internalTicketSectionId}/archive`);
32
- return response.data;
33
- };
34
- exports.archiveInternalTicketSection = archiveInternalTicketSection;
35
- const unarchiveInternalTicketSection = async (params) => {
36
- const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/section/${params.internalTicketSectionId}/unarchive`);
37
- return response.data;
38
- };
39
- exports.unarchiveInternalTicketSection = unarchiveInternalTicketSection;
40
30
  const createInternalTicketCategory = async (params, body) => {
41
31
  const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket-config/${params.projectId}/category`, body);
42
32
  return response.data;
@@ -57,16 +47,6 @@ const deleteInternalTicketCategory = async (params) => {
57
47
  return response.data;
58
48
  };
59
49
  exports.deleteInternalTicketCategory = deleteInternalTicketCategory;
60
- const archiveInternalTicketCategory = async (params) => {
61
- const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/category/${params.internalTicketCategoryId}/archive`);
62
- return response.data;
63
- };
64
- exports.archiveInternalTicketCategory = archiveInternalTicketCategory;
65
- const unarchiveInternalTicketCategory = async (params) => {
66
- const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/category/${params.internalTicketCategoryId}/unarchive`);
67
- return response.data;
68
- };
69
- exports.unarchiveInternalTicketCategory = unarchiveInternalTicketCategory;
70
50
  const createInternalTicketPriority = async (params, body) => {
71
51
  const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket-config/${params.projectId}/priority`, body);
72
52
  return response.data;
@@ -87,13 +67,48 @@ const deleteInternalTicketPriority = async (params) => {
87
67
  return response.data;
88
68
  };
89
69
  exports.deleteInternalTicketPriority = deleteInternalTicketPriority;
90
- const archiveInternalTicketPriority = async (params) => {
91
- const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/priority/${params.internalTicketPriorityId}/archive`);
70
+ const reorderInternalTicketPriority = async (params, body) => {
71
+ const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/section/${params.internalTicketSectionId}/priority/reorder`, body);
72
+ return response.data;
73
+ };
74
+ exports.reorderInternalTicketPriority = reorderInternalTicketPriority;
75
+ const createInternalTicketTag = async (params, body) => {
76
+ const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket-config/${params.projectId}/tag`, body);
77
+ return response.data;
78
+ };
79
+ exports.createInternalTicketTag = createInternalTicketTag;
80
+ const listInternalTicketTag = async (params, query) => {
81
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket-config/${params.projectId}/tag`, { params: query });
82
+ return response.data;
83
+ };
84
+ exports.listInternalTicketTag = listInternalTicketTag;
85
+ const updateInternalTicketTag = async (params, body) => {
86
+ const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/tag/${params.internalTicketTagId}`, body);
87
+ return response.data;
88
+ };
89
+ exports.updateInternalTicketTag = updateInternalTicketTag;
90
+ const deleteInternalTicketTag = async (params) => {
91
+ const response = await __1.AbyssConsoleCore.axios.delete(`/internal-ticket-config/${params.projectId}/tag/${params.internalTicketTagId}`);
92
+ return response.data;
93
+ };
94
+ exports.deleteInternalTicketTag = deleteInternalTicketTag;
95
+ const createInternalTicketArtifactType = async (params, body) => {
96
+ const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket-config/${params.projectId}/artifact-type`, body);
97
+ return response.data;
98
+ };
99
+ exports.createInternalTicketArtifactType = createInternalTicketArtifactType;
100
+ const listInternalTicketArtifactType = async (params, query) => {
101
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket-config/${params.projectId}/artifact-type`, { params: query });
102
+ return response.data;
103
+ };
104
+ exports.listInternalTicketArtifactType = listInternalTicketArtifactType;
105
+ const updateInternalTicketArtifactType = async (params, body) => {
106
+ const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/artifact-type/${params.internalTicketArtifactTypeId}`, body);
92
107
  return response.data;
93
108
  };
94
- exports.archiveInternalTicketPriority = archiveInternalTicketPriority;
95
- const unarchiveInternalTicketPriority = async (params) => {
96
- const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket-config/${params.projectId}/priority/${params.internalTicketPriorityId}/unarchive`);
109
+ exports.updateInternalTicketArtifactType = updateInternalTicketArtifactType;
110
+ const deleteInternalTicketArtifactType = async (params) => {
111
+ const response = await __1.AbyssConsoleCore.axios.delete(`/internal-ticket-config/${params.projectId}/artifact-type/${params.internalTicketArtifactTypeId}`);
97
112
  return response.data;
98
113
  };
99
- exports.unarchiveInternalTicketPriority = unarchiveInternalTicketPriority;
114
+ exports.deleteInternalTicketArtifactType = deleteInternalTicketArtifactType;
@@ -1,10 +1,8 @@
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';
1
+ import { ICreateBoardCardInternalTicketParams, ICreateBoardCardInternalTicketBody, ICreateBoardCardInternalTicketResponse, ICreateInternalTicketParams, ICreateInternalTicketBody, IPaginateInternalTicketParams, IPaginateInternalTicketQuery, IGetInternalTicketParams, IUpdateInternalTicketParams, IUpdateInternalTicketBody, IDeleteInternalTicketParams, ICreateInternalTicketMessageParams, ICreateInternalTicketMessageBody, IUpdateInternalTicketMessageParams, IUpdateInternalTicketMessageBody, IDeleteInternalTicketMessageParams, IPaginateInternalTicketMessageParams, IPaginateInternalTicketMessageQuery, ICreateInternalTicketMessageAttachmentParams, ICreateInternalTicketMessageAttachmentBody, IDeleteInternalTicketMessageAttachmentParams, ICreateInternalTicketAttachmentParams, ICreateInternalTicketAttachmentBody, IDeleteInternalTicketAttachmentParams, IPaginateInternalTicketActivityParams, IPaginateInternalTicketActivityQuery, IFollowInternalTicketParams, IUnfollowInternalTicketParams, IListInternalTicketFollowerParams, IAddInternalTicketMessageReactionParams, IAddInternalTicketMessageReactionBody, IRemoveInternalTicketMessageReactionParams, ICreateInternalTicketResponse, IPaginateInternalTicketResponse, IGetInternalTicketResponse, IUpdateInternalTicketResponse, IDeleteInternalTicketResponse, ICreateInternalTicketMessageResponse, IUpdateInternalTicketMessageResponse, IDeleteInternalTicketMessageResponse, IPaginateInternalTicketMessageResponse, ICreateInternalTicketMessageAttachmentResponse, IDeleteInternalTicketMessageAttachmentResponse, ICreateInternalTicketAttachmentResponse, IDeleteInternalTicketAttachmentResponse, IPaginateInternalTicketActivityResponse, IFollowInternalTicketResponse, IUnfollowInternalTicketResponse, IListInternalTicketFollowerResponse, IAddInternalTicketMessageReactionResponse, IRemoveInternalTicketMessageReactionResponse, IAddInternalTicketAssigneeParams, IAddInternalTicketAssigneeBody, IRemoveInternalTicketAssigneeParams, IListInternalTicketAssigneeParams, IAddInternalTicketAssigneeResponse, IRemoveInternalTicketAssigneeResponse, IListInternalTicketAssigneeResponse, IBulkArchiveInternalTicketParams, IBulkArchiveInternalTicketBody, IBulkArchiveInternalTicketResponse, IBulkUnarchiveInternalTicketParams, IBulkUnarchiveInternalTicketBody, IBulkUnarchiveInternalTicketResponse, IBulkDeleteInternalTicketParams, IBulkDeleteInternalTicketBody, IBulkDeleteInternalTicketResponse, IAddInternalTicketTagParams, IAddInternalTicketTagBody, IRemoveInternalTicketTagParams, IListInternalTicketTicketTagParams, IAddInternalTicketTagResponse, IRemoveInternalTicketTagResponse, IListInternalTicketTicketTagResponse, IAddInternalTicketArtifactParams, IAddInternalTicketArtifactBody, IRemoveInternalTicketArtifactParams, IListInternalTicketArtifactParams, IAddInternalTicketArtifactResponse, IRemoveInternalTicketArtifactResponse, IListInternalTicketArtifactResponse, IListProjectInternalTicketArtifactParams, IListProjectInternalTicketArtifactResponse } 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>;
5
5
  export declare const updateInternalTicket: (params: IUpdateInternalTicketParams, body: IUpdateInternalTicketBody) => Promise<IUpdateInternalTicketResponse>;
6
- export declare const archiveInternalTicket: (params: IArchiveInternalTicketParams) => Promise<IArchiveInternalTicketResponse>;
7
- export declare const unarchiveInternalTicket: (params: IUnarchiveInternalTicketParams) => Promise<IUnarchiveInternalTicketResponse>;
8
6
  export declare const deleteInternalTicket: (params: IDeleteInternalTicketParams) => Promise<IDeleteInternalTicketResponse>;
9
7
  export declare const createInternalTicketMessage: (params: ICreateInternalTicketMessageParams, body: ICreateInternalTicketMessageBody) => Promise<ICreateInternalTicketMessageResponse>;
10
8
  export declare const updateInternalTicketMessage: (params: IUpdateInternalTicketMessageParams, body: IUpdateInternalTicketMessageBody) => Promise<IUpdateInternalTicketMessageResponse>;
@@ -20,8 +18,17 @@ export declare const unfollowInternalTicket: (params: IUnfollowInternalTicketPar
20
18
  export declare const listInternalTicketFollower: (params: IListInternalTicketFollowerParams) => Promise<IListInternalTicketFollowerResponse>;
21
19
  export declare const addInternalTicketMessageReaction: (params: IAddInternalTicketMessageReactionParams, body: IAddInternalTicketMessageReactionBody) => Promise<IAddInternalTicketMessageReactionResponse>;
22
20
  export declare const removeInternalTicketMessageReaction: (params: IRemoveInternalTicketMessageReactionParams) => Promise<IRemoveInternalTicketMessageReactionResponse>;
23
- export declare const createBoardCardInternalTicket: (params: ICreateBoardCardInternalTicketParams, body: ICreateBoardCardInternalTicketBody) => Promise<ICreateBoardCardInternalTicketResponse>;
24
21
  export declare const addInternalTicketAssignee: (params: IAddInternalTicketAssigneeParams, body: IAddInternalTicketAssigneeBody) => Promise<IAddInternalTicketAssigneeResponse>;
25
22
  export declare const removeInternalTicketAssignee: (params: IRemoveInternalTicketAssigneeParams) => Promise<IRemoveInternalTicketAssigneeResponse>;
26
23
  export declare const listInternalTicketAssignee: (params: IListInternalTicketAssigneeParams) => Promise<IListInternalTicketAssigneeResponse>;
27
- export declare const listInternalTicketMembers: (params: IListInternalTicketMembersParams, query?: IListInternalTicketMembersQuery) => Promise<IListInternalTicketMembersResponse>;
24
+ export declare const createBoardCardInternalTicket: (params: ICreateBoardCardInternalTicketParams, body: ICreateBoardCardInternalTicketBody) => Promise<ICreateBoardCardInternalTicketResponse>;
25
+ export declare const bulkArchiveInternalTicket: (params: IBulkArchiveInternalTicketParams, body: IBulkArchiveInternalTicketBody) => Promise<IBulkArchiveInternalTicketResponse>;
26
+ export declare const bulkUnarchiveInternalTicket: (params: IBulkUnarchiveInternalTicketParams, body: IBulkUnarchiveInternalTicketBody) => Promise<IBulkUnarchiveInternalTicketResponse>;
27
+ export declare const bulkDeleteInternalTicket: (params: IBulkDeleteInternalTicketParams, body: IBulkDeleteInternalTicketBody) => Promise<IBulkDeleteInternalTicketResponse>;
28
+ export declare const addInternalTicketTag: (params: IAddInternalTicketTagParams, body: IAddInternalTicketTagBody) => Promise<IAddInternalTicketTagResponse>;
29
+ export declare const removeInternalTicketTag: (params: IRemoveInternalTicketTagParams) => Promise<IRemoveInternalTicketTagResponse>;
30
+ export declare const listInternalTicketTicketTag: (params: IListInternalTicketTicketTagParams) => Promise<IListInternalTicketTicketTagResponse>;
31
+ export declare const addInternalTicketArtifact: (params: IAddInternalTicketArtifactParams, body: IAddInternalTicketArtifactBody) => Promise<IAddInternalTicketArtifactResponse>;
32
+ export declare const removeInternalTicketArtifact: (params: IRemoveInternalTicketArtifactParams) => Promise<IRemoveInternalTicketArtifactResponse>;
33
+ export declare const listInternalTicketArtifact: (params: IListInternalTicketArtifactParams) => Promise<IListInternalTicketArtifactResponse>;
34
+ export declare const listProjectInternalTicketArtifact: (params: IListProjectInternalTicketArtifactParams) => Promise<IListProjectInternalTicketArtifactResponse>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ exports.listProjectInternalTicketArtifact = exports.listInternalTicketArtifact = exports.removeInternalTicketArtifact = exports.addInternalTicketArtifact = exports.listInternalTicketTicketTag = exports.removeInternalTicketTag = exports.addInternalTicketTag = exports.bulkDeleteInternalTicket = exports.bulkUnarchiveInternalTicket = exports.bulkArchiveInternalTicket = exports.createBoardCardInternalTicket = exports.listInternalTicketAssignee = exports.removeInternalTicketAssignee = exports.addInternalTicketAssignee = 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.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);
@@ -22,16 +22,6 @@ const updateInternalTicket = async (params, body) => {
22
22
  return response.data;
23
23
  };
24
24
  exports.updateInternalTicket = updateInternalTicket;
25
- const archiveInternalTicket = async (params) => {
26
- const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/archive`);
27
- return response.data;
28
- };
29
- exports.archiveInternalTicket = archiveInternalTicket;
30
- const unarchiveInternalTicket = async (params) => {
31
- const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/unarchive`);
32
- return response.data;
33
- };
34
- exports.unarchiveInternalTicket = unarchiveInternalTicket;
35
25
  const deleteInternalTicket = async (params) => {
36
26
  const response = await __1.AbyssConsoleCore.axios.delete(`/internal-ticket/${params.projectId}/${params.internalTicketId}`);
37
27
  return response.data;
@@ -107,11 +97,6 @@ const removeInternalTicketMessageReaction = async (params) => {
107
97
  return response.data;
108
98
  };
109
99
  exports.removeInternalTicketMessageReaction = removeInternalTicketMessageReaction;
110
- const createBoardCardInternalTicket = async (params, body) => {
111
- const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/create-board-card`, body);
112
- return response.data;
113
- };
114
- exports.createBoardCardInternalTicket = createBoardCardInternalTicket;
115
100
  const addInternalTicketAssignee = async (params, body) => {
116
101
  const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/assignee`, body);
117
102
  return response.data;
@@ -127,8 +112,58 @@ const listInternalTicketAssignee = async (params) => {
127
112
  return response.data;
128
113
  };
129
114
  exports.listInternalTicketAssignee = listInternalTicketAssignee;
130
- const listInternalTicketMembers = async (params, query) => {
131
- const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket/${params.projectId}/members`, { params: query });
115
+ const createBoardCardInternalTicket = async (params, body) => {
116
+ const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/board-card`, body);
117
+ return response.data;
118
+ };
119
+ exports.createBoardCardInternalTicket = createBoardCardInternalTicket;
120
+ const bulkArchiveInternalTicket = async (params, body) => {
121
+ const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket/${params.projectId}/bulk/archive`, body);
122
+ return response.data;
123
+ };
124
+ exports.bulkArchiveInternalTicket = bulkArchiveInternalTicket;
125
+ const bulkUnarchiveInternalTicket = async (params, body) => {
126
+ const response = await __1.AbyssConsoleCore.axios.put(`/internal-ticket/${params.projectId}/bulk/unarchive`, body);
127
+ return response.data;
128
+ };
129
+ exports.bulkUnarchiveInternalTicket = bulkUnarchiveInternalTicket;
130
+ const bulkDeleteInternalTicket = async (params, body) => {
131
+ const response = await __1.AbyssConsoleCore.axios.delete(`/internal-ticket/${params.projectId}/bulk`, { data: body });
132
+ return response.data;
133
+ };
134
+ exports.bulkDeleteInternalTicket = bulkDeleteInternalTicket;
135
+ const addInternalTicketTag = async (params, body) => {
136
+ const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/tag`, body);
137
+ return response.data;
138
+ };
139
+ exports.addInternalTicketTag = addInternalTicketTag;
140
+ const removeInternalTicketTag = async (params) => {
141
+ const response = await __1.AbyssConsoleCore.axios.delete(`/internal-ticket/${params.projectId}/${params.internalTicketId}/tag/${params.internalTicketTagId}`);
142
+ return response.data;
143
+ };
144
+ exports.removeInternalTicketTag = removeInternalTicketTag;
145
+ const listInternalTicketTicketTag = async (params) => {
146
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket/${params.projectId}/${params.internalTicketId}/tag`);
147
+ return response.data;
148
+ };
149
+ exports.listInternalTicketTicketTag = listInternalTicketTicketTag;
150
+ const addInternalTicketArtifact = async (params, body) => {
151
+ const response = await __1.AbyssConsoleCore.axios.post(`/internal-ticket/${params.projectId}/${params.internalTicketId}/artifact`, body);
152
+ return response.data;
153
+ };
154
+ exports.addInternalTicketArtifact = addInternalTicketArtifact;
155
+ const removeInternalTicketArtifact = async (params) => {
156
+ const response = await __1.AbyssConsoleCore.axios.delete(`/internal-ticket/${params.projectId}/${params.internalTicketId}/artifact/${params.internalTicketArtifactId}`);
157
+ return response.data;
158
+ };
159
+ exports.removeInternalTicketArtifact = removeInternalTicketArtifact;
160
+ const listInternalTicketArtifact = async (params) => {
161
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket/${params.projectId}/${params.internalTicketId}/artifact`);
162
+ return response.data;
163
+ };
164
+ exports.listInternalTicketArtifact = listInternalTicketArtifact;
165
+ const listProjectInternalTicketArtifact = async (params) => {
166
+ const response = await __1.AbyssConsoleCore.axios.get(`/internal-ticket/${params.projectId}/artifact`);
132
167
  return response.data;
133
168
  };
134
- exports.listInternalTicketMembers = listInternalTicketMembers;
169
+ exports.listProjectInternalTicketArtifact = listProjectInternalTicketArtifact;
@@ -1,2 +1,6 @@
1
- import { GetReportAdminBody, GetReportAdminResponse } from '../types';
1
+ import { GetReportAdminBody, GetReportAdminResponse, GetGlobalReportAdminBody } from '../types';
2
2
  export declare const getReportAdmin: (body: GetReportAdminBody) => Promise<GetReportAdminResponse>;
3
+ export declare const runDailyReportCron: () => Promise<{
4
+ started: boolean;
5
+ }>;
6
+ export declare const getGlobalReportAdmin: (body: GetGlobalReportAdminBody) => Promise<GetReportAdminResponse>;
@@ -1,9 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getReportAdmin = void 0;
3
+ exports.getGlobalReportAdmin = exports.runDailyReportCron = exports.getReportAdmin = void 0;
4
4
  const __1 = require("..");
5
5
  const getReportAdmin = async (body) => {
6
6
  const response = await __1.AbyssConsoleCore.axios.post('/report/admin/report', body);
7
7
  return response.data;
8
8
  };
9
9
  exports.getReportAdmin = getReportAdmin;
10
+ const runDailyReportCron = async () => {
11
+ const response = await __1.AbyssConsoleCore.axios.post('/report/admin/cron/daily');
12
+ return response.data;
13
+ };
14
+ exports.runDailyReportCron = runDailyReportCron;
15
+ const getGlobalReportAdmin = async (body) => {
16
+ const response = await __1.AbyssConsoleCore.axios.post('/report/admin/global-report', body);
17
+ return response.data;
18
+ };
19
+ exports.getGlobalReportAdmin = getGlobalReportAdmin;
@@ -0,0 +1,4 @@
1
+ import { GetSystemSettingAdminResponse, ListSystemSettingsAdminResponse, UpdateSystemSettingAdminBody, UpdateSystemSettingAdminResponse } from '../types';
2
+ export declare const listSystemSettingsAdmin: () => Promise<ListSystemSettingsAdminResponse>;
3
+ export declare const getSystemSettingAdmin: (key: string) => Promise<GetSystemSettingAdminResponse>;
4
+ export declare const updateSystemSettingAdmin: (key: string, body: UpdateSystemSettingAdminBody) => Promise<UpdateSystemSettingAdminResponse>;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateSystemSettingAdmin = exports.getSystemSettingAdmin = exports.listSystemSettingsAdmin = void 0;
4
+ const index_1 = require("../index");
5
+ const listSystemSettingsAdmin = async () => {
6
+ const response = await index_1.AbyssConsoleCore.axios.get('/system-setting/admin');
7
+ return response.data;
8
+ };
9
+ exports.listSystemSettingsAdmin = listSystemSettingsAdmin;
10
+ const getSystemSettingAdmin = async (key) => {
11
+ const response = await index_1.AbyssConsoleCore.axios.get(`/system-setting/admin/${key}`);
12
+ return response.data;
13
+ };
14
+ exports.getSystemSettingAdmin = getSystemSettingAdmin;
15
+ const updateSystemSettingAdmin = async (key, body) => {
16
+ const response = await index_1.AbyssConsoleCore.axios.put(`/system-setting/admin/${key}`, body);
17
+ return response.data;
18
+ };
19
+ exports.updateSystemSettingAdmin = updateSystemSettingAdmin;
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@ import * as variablePublicApi from './api/variable-public.api';
16
16
  import * as reportAdminApi from './api/report.admin.api';
17
17
  import * as internalTicketApi from './api/internal-ticket.api';
18
18
  import * as internalTicketConfigApi from './api/internal-ticket-config.api';
19
+ import * as systemSettingAdminApi from './api/system-setting.admin.api';
19
20
  export * from './types';
20
21
  export * from './utils';
21
22
  export * from './workflow-expressions';
@@ -34,6 +35,15 @@ type AbyssConsoleCoreSDK = {
34
35
  report: {
35
36
  admin: {
36
37
  getReport: typeof reportAdminApi.getReportAdmin;
38
+ runDailyCron: typeof reportAdminApi.runDailyReportCron;
39
+ getGlobalReport: typeof reportAdminApi.getGlobalReportAdmin;
40
+ };
41
+ };
42
+ systemSetting: {
43
+ admin: {
44
+ list: typeof systemSettingAdminApi.listSystemSettingsAdmin;
45
+ get: typeof systemSettingAdminApi.getSystemSettingAdmin;
46
+ update: typeof systemSettingAdminApi.updateSystemSettingAdmin;
37
47
  };
38
48
  };
39
49
  domainVerification: {
@@ -121,8 +131,6 @@ type AbyssConsoleCoreSDK = {
121
131
  paginate: typeof internalTicketApi.paginateInternalTicket;
122
132
  get: typeof internalTicketApi.getInternalTicket;
123
133
  update: typeof internalTicketApi.updateInternalTicket;
124
- archive: typeof internalTicketApi.archiveInternalTicket;
125
- unarchive: typeof internalTicketApi.unarchiveInternalTicket;
126
134
  delete: typeof internalTicketApi.deleteInternalTicket;
127
135
  message: {
128
136
  create: typeof internalTicketApi.createInternalTicketMessage;
@@ -151,13 +159,24 @@ type AbyssConsoleCoreSDK = {
151
159
  list: typeof internalTicketApi.listInternalTicketFollower;
152
160
  };
153
161
  createBoardCard: typeof internalTicketApi.createBoardCardInternalTicket;
162
+ bulkArchive: typeof internalTicketApi.bulkArchiveInternalTicket;
163
+ bulkUnarchive: typeof internalTicketApi.bulkUnarchiveInternalTicket;
164
+ bulkDelete: typeof internalTicketApi.bulkDeleteInternalTicket;
154
165
  assignee: {
155
166
  add: typeof internalTicketApi.addInternalTicketAssignee;
156
167
  remove: typeof internalTicketApi.removeInternalTicketAssignee;
157
168
  list: typeof internalTicketApi.listInternalTicketAssignee;
158
169
  };
159
- members: {
160
- list: typeof internalTicketApi.listInternalTicketMembers;
170
+ tag: {
171
+ add: typeof internalTicketApi.addInternalTicketTag;
172
+ remove: typeof internalTicketApi.removeInternalTicketTag;
173
+ list: typeof internalTicketApi.listInternalTicketTicketTag;
174
+ };
175
+ artifact: {
176
+ add: typeof internalTicketApi.addInternalTicketArtifact;
177
+ remove: typeof internalTicketApi.removeInternalTicketArtifact;
178
+ list: typeof internalTicketApi.listInternalTicketArtifact;
179
+ listProject: typeof internalTicketApi.listProjectInternalTicketArtifact;
161
180
  };
162
181
  };
163
182
  internalTicketConfig: {
@@ -166,8 +185,6 @@ type AbyssConsoleCoreSDK = {
166
185
  list: typeof internalTicketConfigApi.listInternalTicketSection;
167
186
  update: typeof internalTicketConfigApi.updateInternalTicketSection;
168
187
  delete: typeof internalTicketConfigApi.deleteInternalTicketSection;
169
- archive: typeof internalTicketConfigApi.archiveInternalTicketSection;
170
- unarchive: typeof internalTicketConfigApi.unarchiveInternalTicketSection;
171
188
  getStats: typeof internalTicketConfigApi.getInternalTicketSectionStats;
172
189
  };
173
190
  category: {
@@ -175,16 +192,25 @@ type AbyssConsoleCoreSDK = {
175
192
  list: typeof internalTicketConfigApi.listInternalTicketCategory;
176
193
  update: typeof internalTicketConfigApi.updateInternalTicketCategory;
177
194
  delete: typeof internalTicketConfigApi.deleteInternalTicketCategory;
178
- archive: typeof internalTicketConfigApi.archiveInternalTicketCategory;
179
- unarchive: typeof internalTicketConfigApi.unarchiveInternalTicketCategory;
180
195
  };
181
196
  priority: {
182
197
  create: typeof internalTicketConfigApi.createInternalTicketPriority;
183
198
  list: typeof internalTicketConfigApi.listInternalTicketPriority;
184
199
  update: typeof internalTicketConfigApi.updateInternalTicketPriority;
185
200
  delete: typeof internalTicketConfigApi.deleteInternalTicketPriority;
186
- archive: typeof internalTicketConfigApi.archiveInternalTicketPriority;
187
- unarchive: typeof internalTicketConfigApi.unarchiveInternalTicketPriority;
201
+ reorder: typeof internalTicketConfigApi.reorderInternalTicketPriority;
202
+ };
203
+ tag: {
204
+ create: typeof internalTicketConfigApi.createInternalTicketTag;
205
+ list: typeof internalTicketConfigApi.listInternalTicketTag;
206
+ update: typeof internalTicketConfigApi.updateInternalTicketTag;
207
+ delete: typeof internalTicketConfigApi.deleteInternalTicketTag;
208
+ };
209
+ artifactType: {
210
+ create: typeof internalTicketConfigApi.createInternalTicketArtifactType;
211
+ list: typeof internalTicketConfigApi.listInternalTicketArtifactType;
212
+ update: typeof internalTicketConfigApi.updateInternalTicketArtifactType;
213
+ delete: typeof internalTicketConfigApi.deleteInternalTicketArtifactType;
188
214
  };
189
215
  };
190
216
  workflow: {
package/dist/index.js CHANGED
@@ -49,6 +49,7 @@ const variablePublicApi = __importStar(require("./api/variable-public.api"));
49
49
  const reportAdminApi = __importStar(require("./api/report.admin.api"));
50
50
  const internalTicketApi = __importStar(require("./api/internal-ticket.api"));
51
51
  const internalTicketConfigApi = __importStar(require("./api/internal-ticket-config.api"));
52
+ const systemSettingAdminApi = __importStar(require("./api/system-setting.admin.api"));
52
53
  __exportStar(require("./types"), exports);
53
54
  __exportStar(require("./utils"), exports);
54
55
  __exportStar(require("./workflow-expressions"), exports);
@@ -152,10 +153,20 @@ class AbyssConsoleCore {
152
153
  const reportSDK = {
153
154
  admin: {
154
155
  getReport: reportAdminApi.getReportAdmin,
156
+ runDailyCron: reportAdminApi.runDailyReportCron,
157
+ getGlobalReport: reportAdminApi.getGlobalReportAdmin,
158
+ },
159
+ };
160
+ const systemSettingSDK = {
161
+ admin: {
162
+ list: systemSettingAdminApi.listSystemSettingsAdmin,
163
+ get: systemSettingAdminApi.getSystemSettingAdmin,
164
+ update: systemSettingAdminApi.updateSystemSettingAdmin,
155
165
  },
156
166
  };
157
167
  const baseSDK = {
158
168
  report: reportSDK,
169
+ systemSetting: systemSettingSDK,
159
170
  domainVerification: domainVerificationSDK,
160
171
  monitor: {
161
172
  up: monitorApi.upMonitor,
@@ -225,8 +236,6 @@ class AbyssConsoleCore {
225
236
  paginate: internalTicketApi.paginateInternalTicket,
226
237
  get: internalTicketApi.getInternalTicket,
227
238
  update: internalTicketApi.updateInternalTicket,
228
- archive: internalTicketApi.archiveInternalTicket,
229
- unarchive: internalTicketApi.unarchiveInternalTicket,
230
239
  delete: internalTicketApi.deleteInternalTicket,
231
240
  message: {
232
241
  create: internalTicketApi.createInternalTicketMessage,
@@ -255,13 +264,24 @@ class AbyssConsoleCore {
255
264
  list: internalTicketApi.listInternalTicketFollower,
256
265
  },
257
266
  createBoardCard: internalTicketApi.createBoardCardInternalTicket,
267
+ bulkArchive: internalTicketApi.bulkArchiveInternalTicket,
268
+ bulkUnarchive: internalTicketApi.bulkUnarchiveInternalTicket,
269
+ bulkDelete: internalTicketApi.bulkDeleteInternalTicket,
258
270
  assignee: {
259
271
  add: internalTicketApi.addInternalTicketAssignee,
260
272
  remove: internalTicketApi.removeInternalTicketAssignee,
261
273
  list: internalTicketApi.listInternalTicketAssignee,
262
274
  },
263
- members: {
264
- list: internalTicketApi.listInternalTicketMembers,
275
+ tag: {
276
+ add: internalTicketApi.addInternalTicketTag,
277
+ remove: internalTicketApi.removeInternalTicketTag,
278
+ list: internalTicketApi.listInternalTicketTicketTag,
279
+ },
280
+ artifact: {
281
+ add: internalTicketApi.addInternalTicketArtifact,
282
+ remove: internalTicketApi.removeInternalTicketArtifact,
283
+ list: internalTicketApi.listInternalTicketArtifact,
284
+ listProject: internalTicketApi.listProjectInternalTicketArtifact,
265
285
  },
266
286
  },
267
287
  internalTicketConfig: {
@@ -270,8 +290,6 @@ class AbyssConsoleCore {
270
290
  list: internalTicketConfigApi.listInternalTicketSection,
271
291
  update: internalTicketConfigApi.updateInternalTicketSection,
272
292
  delete: internalTicketConfigApi.deleteInternalTicketSection,
273
- archive: internalTicketConfigApi.archiveInternalTicketSection,
274
- unarchive: internalTicketConfigApi.unarchiveInternalTicketSection,
275
293
  getStats: internalTicketConfigApi.getInternalTicketSectionStats,
276
294
  },
277
295
  category: {
@@ -279,16 +297,25 @@ class AbyssConsoleCore {
279
297
  list: internalTicketConfigApi.listInternalTicketCategory,
280
298
  update: internalTicketConfigApi.updateInternalTicketCategory,
281
299
  delete: internalTicketConfigApi.deleteInternalTicketCategory,
282
- archive: internalTicketConfigApi.archiveInternalTicketCategory,
283
- unarchive: internalTicketConfigApi.unarchiveInternalTicketCategory,
284
300
  },
285
301
  priority: {
286
302
  create: internalTicketConfigApi.createInternalTicketPriority,
287
303
  list: internalTicketConfigApi.listInternalTicketPriority,
288
304
  update: internalTicketConfigApi.updateInternalTicketPriority,
289
305
  delete: internalTicketConfigApi.deleteInternalTicketPriority,
290
- archive: internalTicketConfigApi.archiveInternalTicketPriority,
291
- unarchive: internalTicketConfigApi.unarchiveInternalTicketPriority,
306
+ reorder: internalTicketConfigApi.reorderInternalTicketPriority,
307
+ },
308
+ tag: {
309
+ create: internalTicketConfigApi.createInternalTicketTag,
310
+ list: internalTicketConfigApi.listInternalTicketTag,
311
+ update: internalTicketConfigApi.updateInternalTicketTag,
312
+ delete: internalTicketConfigApi.deleteInternalTicketTag,
313
+ },
314
+ artifactType: {
315
+ create: internalTicketConfigApi.createInternalTicketArtifactType,
316
+ list: internalTicketConfigApi.listInternalTicketArtifactType,
317
+ update: internalTicketConfigApi.updateInternalTicketArtifactType,
318
+ delete: internalTicketConfigApi.deleteInternalTicketArtifactType,
292
319
  },
293
320
  },
294
321
  workflow: workflowSDK,
@@ -1,2 +1,3 @@
1
1
  export * from './webhook.constants';
2
2
  export * from './workflow.constants';
3
+ export * from './internal-ticket.constants';
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./webhook.constants"), exports);
18
18
  __exportStar(require("./workflow.constants"), exports);
19
+ __exportStar(require("./internal-ticket.constants"), exports);
@@ -0,0 +1,3 @@
1
+ export declare const INTERNAL_TICKET_MAX_ATTACHMENT_SIZE: number;
2
+ export declare const INTERNAL_TICKET_MAX_ATTACHMENTS_PER_TICKET = 5;
3
+ export declare const INTERNAL_TICKET_MAX_ATTACHMENTS_PER_MESSAGE = 5;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.INTERNAL_TICKET_MAX_ATTACHMENTS_PER_MESSAGE = exports.INTERNAL_TICKET_MAX_ATTACHMENTS_PER_TICKET = exports.INTERNAL_TICKET_MAX_ATTACHMENT_SIZE = void 0;
4
+ exports.INTERNAL_TICKET_MAX_ATTACHMENT_SIZE = 10 * 1024 * 1024;
5
+ exports.INTERNAL_TICKET_MAX_ATTACHMENTS_PER_TICKET = 5;
6
+ exports.INTERNAL_TICKET_MAX_ATTACHMENTS_PER_MESSAGE = 5;