connectwise-rest 0.23.3 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/.eslintrc +19 -52
  2. package/.gitattributes +1 -0
  3. package/.github/workflows/codeql-analysis.yml +70 -0
  4. package/.github/workflows/node.js.yml +42 -0
  5. package/.mocharc.json +5 -0
  6. package/.prettierrc +7 -0
  7. package/.travis.yml +4 -2
  8. package/README.md +243 -230
  9. package/api-extractor.json +364 -0
  10. package/dist/Automate/AVTemplatePoliciesAPI.d.ts +27 -0
  11. package/dist/Automate/AVTemplatePoliciesAPI.d.ts.map +1 -0
  12. package/dist/Automate/AVTemplatePoliciesAPI.js +87 -0
  13. package/dist/Automate/AVTemplatePoliciesAPI.js.map +1 -0
  14. package/dist/Automate/ClientsAPI.d.ts +34 -0
  15. package/dist/Automate/ClientsAPI.d.ts.map +1 -0
  16. package/dist/Automate/ClientsAPI.js +114 -0
  17. package/dist/Automate/ClientsAPI.js.map +1 -0
  18. package/dist/Automate/CommandsAPI.d.ts +15 -0
  19. package/dist/Automate/CommandsAPI.d.ts.map +1 -0
  20. package/dist/Automate/CommandsAPI.js +31 -0
  21. package/dist/Automate/CommandsAPI.js.map +1 -0
  22. package/dist/Automate/ComputersAPI.d.ts +94 -0
  23. package/dist/Automate/ComputersAPI.d.ts.map +1 -0
  24. package/dist/Automate/ComputersAPI.js +353 -0
  25. package/dist/Automate/ComputersAPI.js.map +1 -0
  26. package/dist/Automate/ContactsAPI.d.ts +18 -0
  27. package/dist/Automate/ContactsAPI.d.ts.map +1 -0
  28. package/dist/Automate/ContactsAPI.js +45 -0
  29. package/dist/Automate/ContactsAPI.js.map +1 -0
  30. package/dist/Automate/DataViewsAPI.d.ts +16 -0
  31. package/dist/Automate/DataViewsAPI.d.ts.map +1 -0
  32. package/dist/Automate/DataViewsAPI.js +31 -0
  33. package/dist/Automate/DataViewsAPI.js.map +1 -0
  34. package/dist/Automate/DrivesAPI.d.ts +19 -0
  35. package/dist/Automate/DrivesAPI.d.ts.map +1 -0
  36. package/dist/Automate/DrivesAPI.js +52 -0
  37. package/dist/Automate/DrivesAPI.js.map +1 -0
  38. package/dist/Automate/EventLogsAPI.d.ts +14 -0
  39. package/dist/Automate/EventLogsAPI.d.ts.map +1 -0
  40. package/dist/Automate/EventLogsAPI.js +24 -0
  41. package/dist/Automate/EventLogsAPI.js.map +1 -0
  42. package/dist/Automate/LocationsAPI.d.ts +42 -0
  43. package/dist/Automate/LocationsAPI.d.ts.map +1 -0
  44. package/dist/Automate/LocationsAPI.js +133 -0
  45. package/dist/Automate/LocationsAPI.js.map +1 -0
  46. package/dist/Automate/MaintenanceWindowDefinitionsAPI.d.ts +14 -0
  47. package/dist/Automate/MaintenanceWindowDefinitionsAPI.d.ts.map +1 -0
  48. package/dist/Automate/MaintenanceWindowDefinitionsAPI.js +24 -0
  49. package/dist/Automate/MaintenanceWindowDefinitionsAPI.js.map +1 -0
  50. package/dist/Automate/MonitorsAPI.d.ts +23 -0
  51. package/dist/Automate/MonitorsAPI.d.ts.map +1 -0
  52. package/dist/Automate/MonitorsAPI.js +80 -0
  53. package/dist/Automate/MonitorsAPI.js.map +1 -0
  54. package/dist/Automate/NetworkDevicesAPI.d.ts +17 -0
  55. package/dist/Automate/NetworkDevicesAPI.d.ts.map +1 -0
  56. package/dist/Automate/NetworkDevicesAPI.js +38 -0
  57. package/dist/Automate/NetworkDevicesAPI.js.map +1 -0
  58. package/dist/Automate/PatchingAPI.d.ts +27 -0
  59. package/dist/Automate/PatchingAPI.d.ts.map +1 -0
  60. package/dist/Automate/PatchingAPI.js +94 -0
  61. package/dist/Automate/PatchingAPI.js.map +1 -0
  62. package/dist/Automate/RemoteAgentAPI.d.ts +18 -0
  63. package/dist/Automate/RemoteAgentAPI.d.ts.map +1 -0
  64. package/dist/Automate/RemoteAgentAPI.js +45 -0
  65. package/dist/Automate/RemoteAgentAPI.js.map +1 -0
  66. package/dist/Automate/ScriptingAPI.d.ts +32 -0
  67. package/dist/Automate/ScriptingAPI.d.ts.map +1 -0
  68. package/dist/Automate/ScriptingAPI.js +104 -0
  69. package/dist/Automate/ScriptingAPI.js.map +1 -0
  70. package/dist/Automate/SearchesAPI.d.ts +17 -0
  71. package/dist/Automate/SearchesAPI.d.ts.map +1 -0
  72. package/dist/Automate/SearchesAPI.js +38 -0
  73. package/dist/Automate/SearchesAPI.js.map +1 -0
  74. package/dist/Automate/SystemAPI.d.ts +72 -0
  75. package/dist/Automate/SystemAPI.d.ts.map +1 -0
  76. package/dist/Automate/SystemAPI.js +268 -0
  77. package/dist/Automate/SystemAPI.js.map +1 -0
  78. package/dist/Automate/TicketsAPI.d.ts +10 -0
  79. package/dist/Automate/TicketsAPI.d.ts.map +1 -0
  80. package/dist/Automate/TicketsAPI.js +24 -0
  81. package/dist/Automate/TicketsAPI.js.map +1 -0
  82. package/dist/Automate/UserProfilesAPI.d.ts +14 -0
  83. package/dist/Automate/UserProfilesAPI.d.ts.map +1 -0
  84. package/dist/Automate/UserProfilesAPI.js +23 -0
  85. package/dist/Automate/UserProfilesAPI.js.map +1 -0
  86. package/dist/Automate.d.ts +48 -0
  87. package/dist/Automate.d.ts.map +1 -0
  88. package/dist/Automate.js +167 -0
  89. package/dist/Automate.js.map +1 -0
  90. package/dist/AutomateAPI.d.ts +96 -0
  91. package/dist/AutomateAPI.d.ts.map +1 -0
  92. package/dist/AutomateAPI.js +168 -0
  93. package/dist/AutomateAPI.js.map +1 -0
  94. package/dist/AutomateTypes.d.ts +10437 -0
  95. package/dist/AutomateTypes.d.ts.map +1 -0
  96. package/dist/AutomateTypes.js +3 -0
  97. package/dist/AutomateTypes.js.map +1 -0
  98. package/dist/BaseAPI.d.ts +13 -0
  99. package/dist/BaseAPI.d.ts.map +1 -0
  100. package/dist/BaseAPI.js +53 -0
  101. package/dist/BaseAPI.js.map +1 -0
  102. package/dist/Manage/CompanyAPI.d.ts +573 -0
  103. package/dist/Manage/CompanyAPI.d.ts.map +1 -0
  104. package/dist/Manage/CompanyAPI.js +3294 -0
  105. package/dist/Manage/CompanyAPI.js.map +1 -0
  106. package/dist/Manage/ConfigurationsAPI.d.ts +24 -0
  107. package/dist/Manage/ConfigurationsAPI.d.ts.map +1 -0
  108. package/dist/Manage/ConfigurationsAPI.js +73 -0
  109. package/dist/Manage/ConfigurationsAPI.js.map +1 -0
  110. package/dist/Manage/ExpenseAPI.d.ts +68 -0
  111. package/dist/Manage/ExpenseAPI.d.ts.map +1 -0
  112. package/dist/Manage/ExpenseAPI.js +306 -0
  113. package/dist/Manage/ExpenseAPI.js.map +1 -0
  114. package/dist/Manage/FinanceAPI.d.ts +460 -0
  115. package/dist/Manage/FinanceAPI.d.ts.map +1 -0
  116. package/dist/Manage/FinanceAPI.js +2587 -0
  117. package/dist/Manage/FinanceAPI.js.map +1 -0
  118. package/dist/Manage/MarketingAPI.d.ts +120 -0
  119. package/dist/Manage/MarketingAPI.d.ts.map +1 -0
  120. package/dist/Manage/MarketingAPI.js +629 -0
  121. package/dist/Manage/MarketingAPI.js.map +1 -0
  122. package/dist/Manage/ProcurementAPI.d.ts +373 -0
  123. package/dist/Manage/ProcurementAPI.d.ts.map +1 -0
  124. package/dist/Manage/ProcurementAPI.js +2098 -0
  125. package/dist/Manage/ProcurementAPI.js.map +1 -0
  126. package/dist/Manage/ProjectAPI.d.ts +179 -0
  127. package/dist/Manage/ProjectAPI.d.ts.map +1 -0
  128. package/dist/Manage/ProjectAPI.js +940 -0
  129. package/dist/Manage/ProjectAPI.js.map +1 -0
  130. package/dist/Manage/SalesAPI.d.ts +254 -0
  131. package/dist/Manage/SalesAPI.d.ts.map +1 -0
  132. package/dist/Manage/SalesAPI.js +1392 -0
  133. package/dist/Manage/SalesAPI.js.map +1 -0
  134. package/dist/Manage/ScheduleAPI.d.ts +111 -0
  135. package/dist/Manage/ScheduleAPI.d.ts.map +1 -0
  136. package/dist/Manage/ScheduleAPI.js +575 -0
  137. package/dist/Manage/ScheduleAPI.js.map +1 -0
  138. package/dist/Manage/ServiceAPI.d.ts +419 -0
  139. package/dist/Manage/ServiceAPI.d.ts.map +1 -0
  140. package/dist/Manage/ServiceAPI.js +2334 -0
  141. package/dist/Manage/ServiceAPI.js.map +1 -0
  142. package/dist/Manage/SystemAPI.d.ts +809 -0
  143. package/dist/Manage/SystemAPI.d.ts.map +1 -0
  144. package/dist/Manage/SystemAPI.js +4531 -0
  145. package/dist/Manage/SystemAPI.js.map +1 -0
  146. package/dist/Manage/TimeAPI.d.ts +157 -0
  147. package/dist/Manage/TimeAPI.d.ts.map +1 -0
  148. package/dist/Manage/TimeAPI.js +835 -0
  149. package/dist/Manage/TimeAPI.js.map +1 -0
  150. package/dist/Manage.d.ts +34 -0
  151. package/dist/Manage.d.ts.map +1 -0
  152. package/dist/Manage.js +127 -0
  153. package/dist/Manage.js.map +1 -0
  154. package/dist/ManageAPI.d.ts +99 -0
  155. package/dist/ManageAPI.d.ts.map +1 -0
  156. package/dist/ManageAPI.js +112 -0
  157. package/dist/ManageAPI.js.map +1 -0
  158. package/dist/ManageTypes.d.ts +91320 -0
  159. package/dist/ManageTypes.d.ts.map +1 -0
  160. package/dist/ManageTypes.js +7 -0
  161. package/dist/ManageTypes.js.map +1 -0
  162. package/dist/index.d.ts +9 -0
  163. package/dist/index.d.ts.map +1 -0
  164. package/dist/index.js +38 -0
  165. package/dist/index.js.map +1 -0
  166. package/dist/types.d.ts +46 -0
  167. package/dist/types.d.ts.map +1 -0
  168. package/dist/types.js +21 -0
  169. package/dist/types.js.map +1 -0
  170. package/dist/utils/Callback.d.ts +67 -0
  171. package/dist/utils/Callback.d.ts.map +1 -0
  172. package/dist/utils/Callback.js +109 -0
  173. package/dist/utils/Callback.js.map +1 -0
  174. package/dist/utils/Series.d.ts +36 -0
  175. package/dist/utils/Series.d.ts.map +1 -0
  176. package/dist/utils/Series.js +64 -0
  177. package/dist/utils/Series.js.map +1 -0
  178. package/dist/utils/index.d.ts +7 -0
  179. package/dist/utils/index.d.ts.map +1 -0
  180. package/dist/utils/index.js +11 -0
  181. package/dist/utils/index.js.map +1 -0
  182. package/generator/automate-generator.js +75 -0
  183. package/generator/automate-json.js +61 -0
  184. package/generator/automate-types.js +15 -0
  185. package/generator/generator.d.ts +67 -0
  186. package/generator/generator.js +255 -0
  187. package/generator/manage-generator.js +71 -0
  188. package/generator/manage-types.js +14 -0
  189. package/package.json +48 -21
  190. package/src/Automate/AVTemplatePoliciesAPI.ts +114 -0
  191. package/src/Automate/ClientsAPI.ts +161 -0
  192. package/src/Automate/CommandsAPI.ts +33 -0
  193. package/src/Automate/ComputersAPI.ts +550 -0
  194. package/src/Automate/ContactsAPI.ts +56 -0
  195. package/src/Automate/DataViewsAPI.ts +36 -0
  196. package/src/Automate/DrivesAPI.ts +74 -0
  197. package/src/Automate/EventLogsAPI.ts +25 -0
  198. package/src/Automate/LocationsAPI.ts +206 -0
  199. package/src/Automate/MaintenanceWindowDefinitionsAPI.ts +28 -0
  200. package/src/Automate/MonitorsAPI.ts +94 -0
  201. package/src/Automate/NetworkDevicesAPI.ts +44 -0
  202. package/src/Automate/PatchingAPI.ts +109 -0
  203. package/src/Automate/RemoteAgentAPI.ts +58 -0
  204. package/src/Automate/ScriptingAPI.ts +137 -0
  205. package/src/Automate/SearchesAPI.ts +42 -0
  206. package/src/Automate/SystemAPI.ts +386 -0
  207. package/src/Automate/TicketsAPI.ts +24 -0
  208. package/src/Automate/UserProfilesAPI.ts +25 -0
  209. package/src/Automate.ts +216 -0
  210. package/src/AutomateAPI.ts +144 -0
  211. package/src/AutomateTypes.ts +10492 -0
  212. package/src/BaseAPI.ts +83 -0
  213. package/src/Manage/CompanyAPI.ts +4851 -0
  214. package/src/Manage/ConfigurationsAPI.ts +107 -0
  215. package/src/Manage/ExpenseAPI.ts +395 -0
  216. package/src/Manage/FinanceAPI.ts +3851 -0
  217. package/src/Manage/MarketingAPI.ts +935 -0
  218. package/src/Manage/ProcurementAPI.ts +3044 -0
  219. package/src/Manage/ProjectAPI.ts +1400 -0
  220. package/src/Manage/SalesAPI.ts +1922 -0
  221. package/src/Manage/ScheduleAPI.ts +751 -0
  222. package/src/Manage/ServiceAPI.ts +3401 -0
  223. package/src/Manage/SystemAPI.ts +6269 -0
  224. package/src/Manage/TimeAPI.ts +1121 -0
  225. package/src/Manage.ts +152 -0
  226. package/src/ManageAPI.ts +133 -0
  227. package/src/ManageTypes.ts +91318 -0
  228. package/src/index.ts +18 -0
  229. package/src/types.ts +66 -0
  230. package/src/utils/Callback.ts +145 -0
  231. package/src/utils/Series.ts +83 -0
  232. package/src/utils/index.ts +7 -0
  233. package/swagger-errors.md +30 -0
  234. package/test/.env.example +12 -4
  235. package/test/test-utils.ts +27 -0
  236. package/test/test.ts +320 -0
  237. package/tsconfig.json +29 -0
  238. package/doc.md +0 -5984
  239. package/docs/jsdoc.json +0 -15
  240. package/index.js +0 -10
  241. package/src/CompanyAPI/Companies.js +0 -149
  242. package/src/CompanyAPI/CompanyCompanyTypeAssociations.js +0 -111
  243. package/src/CompanyAPI/CompanySites.js +0 -70
  244. package/src/CompanyAPI/CompanyTeams.js +0 -108
  245. package/src/CompanyAPI/CompanyTypeInfos.js +0 -58
  246. package/src/CompanyAPI/CompanyTypes.js +0 -52
  247. package/src/CompanyAPI/Configurations.js +0 -152
  248. package/src/CompanyAPI/ContactContactTypeAssociations.js +0 -55
  249. package/src/CompanyAPI/ContactRelationships.js +0 -36
  250. package/src/CompanyAPI/Contacts.js +0 -199
  251. package/src/CompanyAPI/index.js +0 -53
  252. package/src/ConnectWise.js +0 -339
  253. package/src/ConnectWiseRest.js +0 -512
  254. package/src/FinanceAPI/Additions.js +0 -127
  255. package/src/FinanceAPI/Adjustments.js +0 -109
  256. package/src/FinanceAPI/AgreementSites.js +0 -108
  257. package/src/FinanceAPI/Agreements.js +0 -220
  258. package/src/FinanceAPI/BoardDefaults.js +0 -109
  259. package/src/FinanceAPI/WorkRoles.js +0 -113
  260. package/src/FinanceAPI/WorkTypeExclusions.js +0 -78
  261. package/src/FinanceAPI/WorkTypes.js +0 -124
  262. package/src/FinanceAPI/index.js +0 -50
  263. package/src/ProjectAPI/Projects.js +0 -142
  264. package/src/ProjectAPI/index.js +0 -28
  265. package/src/SalesAPI/Activities.js +0 -149
  266. package/src/SalesAPI/index.js +0 -14
  267. package/src/ScheduleAPI/ScheduleEntries.js +0 -109
  268. package/src/ScheduleAPI/ScheduleTypes.js +0 -101
  269. package/src/ScheduleAPI/index.js +0 -30
  270. package/src/ServiceDeskAPI/BoardItems.js +0 -134
  271. package/src/ServiceDeskAPI/BoardSubTypes.js +0 -112
  272. package/src/ServiceDeskAPI/BoardTeams.js +0 -108
  273. package/src/ServiceDeskAPI/BoardTypes.js +0 -139
  274. package/src/ServiceDeskAPI/Boards.js +0 -100
  275. package/src/ServiceDeskAPI/Priorities.js +0 -47
  276. package/src/ServiceDeskAPI/ServiceNotes.js +0 -172
  277. package/src/ServiceDeskAPI/Statuses.js +0 -116
  278. package/src/ServiceDeskAPI/Tickets.js +0 -588
  279. package/src/ServiceDeskAPI/index.js +0 -53
  280. package/src/SystemAPI/Members.js +0 -139
  281. package/src/SystemAPI/Reports.js +0 -116
  282. package/src/SystemAPI/index.js +0 -32
  283. package/src/TimeAPI/TimeEntries.js +0 -121
  284. package/src/TimeAPI/index.js +0 -27
  285. package/src/utils/Callback.js +0 -125
  286. package/src/utils/Series.js +0 -64
  287. package/src/utils/index.js +0 -21
  288. package/test/test.js +0 -114
@@ -0,0 +1,940 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ /* This file was auto-generated, do not manually edit. */
7
+ const Manage_1 = __importDefault(require("../Manage"));
8
+ /**
9
+ * @public
10
+ */
11
+ class ProjectAPI extends Manage_1.default {
12
+ constructor(props) {
13
+ super(props);
14
+ }
15
+ getProjectBoardsByGrandparentIdTeamsByParentIdMembers(parentId, grandparentId, params = {}) {
16
+ return this.request({
17
+ path: `/project/boards/${grandparentId}/teams/${parentId}/members`,
18
+ method: 'get',
19
+ params,
20
+ });
21
+ }
22
+ postProjectBoardsByGrandparentIdTeamsByParentIdMembers(parentId, grandparentId, teamMember) {
23
+ return this.request({
24
+ path: `/project/boards/${grandparentId}/teams/${parentId}/members`,
25
+ method: 'post',
26
+ data: teamMember,
27
+ });
28
+ }
29
+ getProjectBoardsByGrandparentIdTeamsByParentIdMembersById(id, parentId, grandparentId, params = {}) {
30
+ return this.request({
31
+ path: `/project/boards/${grandparentId}/teams/${parentId}/members/${id}`,
32
+ method: 'get',
33
+ params,
34
+ });
35
+ }
36
+ deleteProjectBoardsByGrandparentIdTeamsByParentIdMembersById(id, parentId, grandparentId) {
37
+ return this.request({
38
+ path: `/project/boards/${grandparentId}/teams/${parentId}/members/${id}`,
39
+ method: 'delete',
40
+ });
41
+ }
42
+ putProjectBoardsByGrandparentIdTeamsByParentIdMembersById(id, parentId, grandparentId, teamMember) {
43
+ return this.request({
44
+ path: `/project/boards/${grandparentId}/teams/${parentId}/members/${id}`,
45
+ method: 'put',
46
+ data: teamMember,
47
+ });
48
+ }
49
+ patchProjectBoardsByGrandparentIdTeamsByParentIdMembersById(id, parentId, grandparentId, patchOperations) {
50
+ return this.request({
51
+ path: `/project/boards/${grandparentId}/teams/${parentId}/members/${id}`,
52
+ method: 'patch',
53
+ data: patchOperations,
54
+ });
55
+ }
56
+ getProjectBoardsByParentIdTeams(parentId, params = {}) {
57
+ return this.request({
58
+ path: `/project/boards/${parentId}/teams`,
59
+ method: 'get',
60
+ params,
61
+ });
62
+ }
63
+ postProjectBoardsByParentIdTeams(parentId, team) {
64
+ return this.request({
65
+ path: `/project/boards/${parentId}/teams`,
66
+ method: 'post',
67
+ data: team,
68
+ });
69
+ }
70
+ getProjectBoardsByParentIdTeamsById(id, parentId, params = {}) {
71
+ return this.request({
72
+ path: `/project/boards/${parentId}/teams/${id}`,
73
+ method: 'get',
74
+ params,
75
+ });
76
+ }
77
+ deleteProjectBoardsByParentIdTeamsById(id, parentId) {
78
+ return this.request({
79
+ path: `/project/boards/${parentId}/teams/${id}`,
80
+ method: 'delete',
81
+ });
82
+ }
83
+ putProjectBoardsByParentIdTeamsById(id, parentId, team) {
84
+ return this.request({
85
+ path: `/project/boards/${parentId}/teams/${id}`,
86
+ method: 'put',
87
+ data: team,
88
+ });
89
+ }
90
+ patchProjectBoardsByParentIdTeamsById(id, parentId, patchOperations) {
91
+ return this.request({
92
+ path: `/project/boards/${parentId}/teams/${id}`,
93
+ method: 'patch',
94
+ data: patchOperations,
95
+ });
96
+ }
97
+ getProjectBoardsByParentIdTeamsByIdInfo(id, parentId, params = {}) {
98
+ return this.request({
99
+ path: `/project/boards/${parentId}/teams/${id}/info`,
100
+ method: 'get',
101
+ params,
102
+ });
103
+ }
104
+ getProjectBoardsByParentIdTeamsByIdInfoCount(id, parentId, params = {}) {
105
+ return this.request({
106
+ path: `/project/boards/${parentId}/teams/${id}/info/count`,
107
+ method: 'get',
108
+ params,
109
+ });
110
+ }
111
+ getProjectBoardsByParentIdTeamsCount(parentId, params = {}) {
112
+ return this.request({
113
+ path: `/project/boards/${parentId}/teams/count`,
114
+ method: 'get',
115
+ params,
116
+ });
117
+ }
118
+ getProjectBoardsByParentIdTeamsInfo(parentId, params = {}) {
119
+ return this.request({
120
+ path: `/project/boards/${parentId}/teams/info`,
121
+ method: 'get',
122
+ params,
123
+ });
124
+ }
125
+ getProjectPhaseStatuses(params = {}) {
126
+ return this.request({
127
+ path: `/project/phaseStatuses`,
128
+ method: 'get',
129
+ params,
130
+ });
131
+ }
132
+ postProjectPhaseStatuses(phaseStatus) {
133
+ return this.request({
134
+ path: `/project/phaseStatuses`,
135
+ method: 'post',
136
+ data: phaseStatus,
137
+ });
138
+ }
139
+ getProjectPhaseStatusesById(id, params = {}) {
140
+ return this.request({
141
+ path: `/project/phaseStatuses/${id}`,
142
+ method: 'get',
143
+ params,
144
+ });
145
+ }
146
+ deleteProjectPhaseStatusesById(id) {
147
+ return this.request({
148
+ path: `/project/phaseStatuses/${id}`,
149
+ method: 'delete',
150
+ });
151
+ }
152
+ putProjectPhaseStatusesById(id, phaseStatus) {
153
+ return this.request({
154
+ path: `/project/phaseStatuses/${id}`,
155
+ method: 'put',
156
+ data: phaseStatus,
157
+ });
158
+ }
159
+ patchProjectPhaseStatusesById(id, patchOperations) {
160
+ return this.request({
161
+ path: `/project/phaseStatuses/${id}`,
162
+ method: 'patch',
163
+ data: patchOperations,
164
+ });
165
+ }
166
+ getProjectPhaseStatusesByIdUsages(id, params = {}) {
167
+ return this.request({
168
+ path: `/project/phaseStatuses/${id}/usages`,
169
+ method: 'get',
170
+ params,
171
+ });
172
+ }
173
+ getProjectPhaseStatusesByIdUsagesList(id, params = {}) {
174
+ return this.request({
175
+ path: `/project/phaseStatuses/${id}/usages/list`,
176
+ method: 'get',
177
+ params,
178
+ });
179
+ }
180
+ getProjectPhaseStatusesCount(params = {}) {
181
+ return this.request({
182
+ path: `/project/phaseStatuses/count`,
183
+ method: 'get',
184
+ params,
185
+ });
186
+ }
187
+ getProjectProjects(params = {}) {
188
+ return this.request({
189
+ path: `/project/projects`,
190
+ method: 'get',
191
+ params,
192
+ });
193
+ }
194
+ postProjectProjects(project) {
195
+ return this.request({
196
+ path: `/project/projects`,
197
+ method: 'post',
198
+ data: project,
199
+ });
200
+ }
201
+ getProjectProjectsById(id, params = {}) {
202
+ return this.request({
203
+ path: `/project/projects/${id}`,
204
+ method: 'get',
205
+ params,
206
+ });
207
+ }
208
+ deleteProjectProjectsById(id) {
209
+ return this.request({
210
+ path: `/project/projects/${id}`,
211
+ method: 'delete',
212
+ });
213
+ }
214
+ putProjectProjectsById(id, project) {
215
+ return this.request({
216
+ path: `/project/projects/${id}`,
217
+ method: 'put',
218
+ data: project,
219
+ });
220
+ }
221
+ patchProjectProjectsById(id, patchOperations) {
222
+ return this.request({
223
+ path: `/project/projects/${id}`,
224
+ method: 'patch',
225
+ data: patchOperations,
226
+ });
227
+ }
228
+ getProjectProjectsByParentIdContacts(parentId, params = {}) {
229
+ return this.request({
230
+ path: `/project/projects/${parentId}/contacts`,
231
+ method: 'get',
232
+ params,
233
+ });
234
+ }
235
+ postProjectProjectsByParentIdContacts(parentId, contact) {
236
+ return this.request({
237
+ path: `/project/projects/${parentId}/contacts`,
238
+ method: 'post',
239
+ data: contact,
240
+ });
241
+ }
242
+ getProjectProjectsByParentIdContactsById(id, parentId, params = {}) {
243
+ return this.request({
244
+ path: `/project/projects/${parentId}/contacts/${id}`,
245
+ method: 'get',
246
+ params,
247
+ });
248
+ }
249
+ deleteProjectProjectsByParentIdContactsById(id, parentId) {
250
+ return this.request({
251
+ path: `/project/projects/${parentId}/contacts/${id}`,
252
+ method: 'delete',
253
+ });
254
+ }
255
+ getProjectProjectsByParentIdNotes(parentId, params = {}) {
256
+ return this.request({
257
+ path: `/project/projects/${parentId}/notes`,
258
+ method: 'get',
259
+ params,
260
+ });
261
+ }
262
+ postProjectProjectsByParentIdNotes(parentId, note) {
263
+ return this.request({
264
+ path: `/project/projects/${parentId}/notes`,
265
+ method: 'post',
266
+ data: note,
267
+ });
268
+ }
269
+ getProjectProjectsByParentIdNotesById(id, parentId, params = {}) {
270
+ return this.request({
271
+ path: `/project/projects/${parentId}/notes/${id}`,
272
+ method: 'get',
273
+ params,
274
+ });
275
+ }
276
+ deleteProjectProjectsByParentIdNotesById(id, parentId) {
277
+ return this.request({
278
+ path: `/project/projects/${parentId}/notes/${id}`,
279
+ method: 'delete',
280
+ });
281
+ }
282
+ putProjectProjectsByParentIdNotesById(id, parentId, note) {
283
+ return this.request({
284
+ path: `/project/projects/${parentId}/notes/${id}`,
285
+ method: 'put',
286
+ data: note,
287
+ });
288
+ }
289
+ patchProjectProjectsByParentIdNotesById(id, parentId, patchOperations) {
290
+ return this.request({
291
+ path: `/project/projects/${parentId}/notes/${id}`,
292
+ method: 'patch',
293
+ data: patchOperations,
294
+ });
295
+ }
296
+ getProjectProjectsByParentIdNotesCount(parentId, params = {}) {
297
+ return this.request({
298
+ path: `/project/projects/${parentId}/notes/count`,
299
+ method: 'get',
300
+ params,
301
+ });
302
+ }
303
+ getProjectProjectsByParentIdPhases(parentId, params = {}) {
304
+ return this.request({
305
+ path: `/project/projects/${parentId}/phases`,
306
+ method: 'get',
307
+ params,
308
+ });
309
+ }
310
+ postProjectProjectsByParentIdPhases(parentId, projectPhase) {
311
+ return this.request({
312
+ path: `/project/projects/${parentId}/phases`,
313
+ method: 'post',
314
+ data: projectPhase,
315
+ });
316
+ }
317
+ getProjectProjectsByParentIdPhasesById(id, parentId, params = {}) {
318
+ return this.request({
319
+ path: `/project/projects/${parentId}/phases/${id}`,
320
+ method: 'get',
321
+ params,
322
+ });
323
+ }
324
+ deleteProjectProjectsByParentIdPhasesById(id, parentId) {
325
+ return this.request({
326
+ path: `/project/projects/${parentId}/phases/${id}`,
327
+ method: 'delete',
328
+ });
329
+ }
330
+ putProjectProjectsByParentIdPhasesById(id, parentId, projectPhase) {
331
+ return this.request({
332
+ path: `/project/projects/${parentId}/phases/${id}`,
333
+ method: 'put',
334
+ data: projectPhase,
335
+ });
336
+ }
337
+ patchProjectProjectsByParentIdPhasesById(id, parentId, patchOperations) {
338
+ return this.request({
339
+ path: `/project/projects/${parentId}/phases/${id}`,
340
+ method: 'patch',
341
+ data: patchOperations,
342
+ });
343
+ }
344
+ getProjectProjectsByParentIdPhasesCount(parentId, params = {}) {
345
+ return this.request({
346
+ path: `/project/projects/${parentId}/phases/count`,
347
+ method: 'get',
348
+ params,
349
+ });
350
+ }
351
+ getProjectProjectsByParentIdTeamMembers(parentId, params = {}) {
352
+ return this.request({
353
+ path: `/project/projects/${parentId}/teamMembers`,
354
+ method: 'get',
355
+ params,
356
+ });
357
+ }
358
+ postProjectProjectsByParentIdTeamMembers(parentId, teamMember) {
359
+ return this.request({
360
+ path: `/project/projects/${parentId}/teamMembers`,
361
+ method: 'post',
362
+ data: teamMember,
363
+ });
364
+ }
365
+ getProjectProjectsByParentIdTeamMembersById(id, parentId, params = {}) {
366
+ return this.request({
367
+ path: `/project/projects/${parentId}/teamMembers/${id}`,
368
+ method: 'get',
369
+ params,
370
+ });
371
+ }
372
+ deleteProjectProjectsByParentIdTeamMembersById(id, parentId) {
373
+ return this.request({
374
+ path: `/project/projects/${parentId}/teamMembers/${id}`,
375
+ method: 'delete',
376
+ });
377
+ }
378
+ putProjectProjectsByParentIdTeamMembersById(id, parentId, teamMember) {
379
+ return this.request({
380
+ path: `/project/projects/${parentId}/teamMembers/${id}`,
381
+ method: 'put',
382
+ data: teamMember,
383
+ });
384
+ }
385
+ patchProjectProjectsByParentIdTeamMembersById(id, parentId, patchOperations) {
386
+ return this.request({
387
+ path: `/project/projects/${parentId}/teamMembers/${id}`,
388
+ method: 'patch',
389
+ data: patchOperations,
390
+ });
391
+ }
392
+ getProjectProjectsByParentIdTeamMembersCount(parentId, params = {}) {
393
+ return this.request({
394
+ path: `/project/projects/${parentId}/teamMembers/count`,
395
+ method: 'get',
396
+ params,
397
+ });
398
+ }
399
+ getProjectProjectsCount(params = {}) {
400
+ return this.request({
401
+ path: `/project/projects/count`,
402
+ method: 'get',
403
+ params,
404
+ });
405
+ }
406
+ getProjectProjectTypes(params = {}) {
407
+ return this.request({
408
+ path: `/project/projectTypes`,
409
+ method: 'get',
410
+ params,
411
+ });
412
+ }
413
+ postProjectProjectTypes(projectType) {
414
+ return this.request({
415
+ path: `/project/projectTypes`,
416
+ method: 'post',
417
+ data: projectType,
418
+ });
419
+ }
420
+ getProjectProjectTypesById(id, params = {}) {
421
+ return this.request({
422
+ path: `/project/projectTypes/${id}`,
423
+ method: 'get',
424
+ params,
425
+ });
426
+ }
427
+ deleteProjectProjectTypesById(id) {
428
+ return this.request({
429
+ path: `/project/projectTypes/${id}`,
430
+ method: 'delete',
431
+ });
432
+ }
433
+ putProjectProjectTypesById(id, projectType) {
434
+ return this.request({
435
+ path: `/project/projectTypes/${id}`,
436
+ method: 'put',
437
+ data: projectType,
438
+ });
439
+ }
440
+ patchProjectProjectTypesById(id, patchOperations) {
441
+ return this.request({
442
+ path: `/project/projectTypes/${id}`,
443
+ method: 'patch',
444
+ data: patchOperations,
445
+ });
446
+ }
447
+ getProjectProjectTypesByIdInfo(id, params = {}) {
448
+ return this.request({
449
+ path: `/project/projectTypes/${id}/info`,
450
+ method: 'get',
451
+ params,
452
+ });
453
+ }
454
+ getProjectProjectTypesByIdUsages(id, params = {}) {
455
+ return this.request({
456
+ path: `/project/projectTypes/${id}/usages`,
457
+ method: 'get',
458
+ params,
459
+ });
460
+ }
461
+ getProjectProjectTypesByIdUsagesList(id, params = {}) {
462
+ return this.request({
463
+ path: `/project/projectTypes/${id}/usages/list`,
464
+ method: 'get',
465
+ params,
466
+ });
467
+ }
468
+ getProjectProjectTypesCount(params = {}) {
469
+ return this.request({
470
+ path: `/project/projectTypes/count`,
471
+ method: 'get',
472
+ params,
473
+ });
474
+ }
475
+ getProjectProjectTypesInfo(params = {}) {
476
+ return this.request({
477
+ path: `/project/projectTypes/info`,
478
+ method: 'get',
479
+ params,
480
+ });
481
+ }
482
+ getProjectProjectTypesInfoCount(params = {}) {
483
+ return this.request({
484
+ path: `/project/projectTypes/info/count`,
485
+ method: 'get',
486
+ params,
487
+ });
488
+ }
489
+ getProjectSecurityRoles(params = {}) {
490
+ return this.request({
491
+ path: `/project/securityRoles`,
492
+ method: 'get',
493
+ params,
494
+ });
495
+ }
496
+ postProjectSecurityRoles(projectSecurityRole) {
497
+ return this.request({
498
+ path: `/project/securityRoles`,
499
+ method: 'post',
500
+ data: projectSecurityRole,
501
+ });
502
+ }
503
+ getProjectSecurityRolesById(id, params = {}) {
504
+ return this.request({
505
+ path: `/project/securityRoles/${id}`,
506
+ method: 'get',
507
+ params,
508
+ });
509
+ }
510
+ deleteProjectSecurityRolesById(id) {
511
+ return this.request({
512
+ path: `/project/securityRoles/${id}`,
513
+ method: 'delete',
514
+ });
515
+ }
516
+ putProjectSecurityRolesById(id, projectSecurityRole) {
517
+ return this.request({
518
+ path: `/project/securityRoles/${id}`,
519
+ method: 'put',
520
+ data: projectSecurityRole,
521
+ });
522
+ }
523
+ patchProjectSecurityRolesById(id, patchOperations) {
524
+ return this.request({
525
+ path: `/project/securityRoles/${id}`,
526
+ method: 'patch',
527
+ data: patchOperations,
528
+ });
529
+ }
530
+ getProjectSecurityRolesByParentIdSettings(parentId, params = {}) {
531
+ return this.request({
532
+ path: `/project/securityRoles/${parentId}/settings`,
533
+ method: 'get',
534
+ params,
535
+ });
536
+ }
537
+ getProjectSecurityRolesByParentIdSettingsById(id, parentId, params = {}) {
538
+ return this.request({
539
+ path: `/project/securityRoles/${parentId}/settings/${id}`,
540
+ method: 'get',
541
+ params,
542
+ });
543
+ }
544
+ putProjectSecurityRolesByParentIdSettingsById(id, parentId, projectSecurityRoleSetting) {
545
+ return this.request({
546
+ path: `/project/securityRoles/${parentId}/settings/${id}`,
547
+ method: 'put',
548
+ data: projectSecurityRoleSetting,
549
+ });
550
+ }
551
+ patchProjectSecurityRolesByParentIdSettingsById(id, parentId, patchOperations) {
552
+ return this.request({
553
+ path: `/project/securityRoles/${parentId}/settings/${id}`,
554
+ method: 'patch',
555
+ data: patchOperations,
556
+ });
557
+ }
558
+ getProjectSecurityRolesByParentIdSettingsCount(parentId, params = {}) {
559
+ return this.request({
560
+ path: `/project/securityRoles/${parentId}/settings/count`,
561
+ method: 'get',
562
+ params,
563
+ });
564
+ }
565
+ getProjectSecurityRolesCount(params = {}) {
566
+ return this.request({
567
+ path: `/project/securityRoles/count`,
568
+ method: 'get',
569
+ params,
570
+ });
571
+ }
572
+ getProjectStatuses(params = {}) {
573
+ return this.request({
574
+ path: `/project/statuses`,
575
+ method: 'get',
576
+ params,
577
+ });
578
+ }
579
+ postProjectStatuses(projectStatus) {
580
+ return this.request({
581
+ path: `/project/statuses`,
582
+ method: 'post',
583
+ data: projectStatus,
584
+ });
585
+ }
586
+ getProjectStatusesById(id, params = {}) {
587
+ return this.request({
588
+ path: `/project/statuses/${id}`,
589
+ method: 'get',
590
+ params,
591
+ });
592
+ }
593
+ deleteProjectStatusesById(id) {
594
+ return this.request({
595
+ path: `/project/statuses/${id}`,
596
+ method: 'delete',
597
+ });
598
+ }
599
+ putProjectStatusesById(id, projectStatus) {
600
+ return this.request({
601
+ path: `/project/statuses/${id}`,
602
+ method: 'put',
603
+ data: projectStatus,
604
+ });
605
+ }
606
+ patchProjectStatusesById(id, patchOperations) {
607
+ return this.request({
608
+ path: `/project/statuses/${id}`,
609
+ method: 'patch',
610
+ data: patchOperations,
611
+ });
612
+ }
613
+ getProjectStatusesByIdInfo(id, params = {}) {
614
+ return this.request({
615
+ path: `/project/statuses/${id}/info`,
616
+ method: 'get',
617
+ params,
618
+ });
619
+ }
620
+ getProjectStatusesCount(params = {}) {
621
+ return this.request({
622
+ path: `/project/statuses/count`,
623
+ method: 'get',
624
+ params,
625
+ });
626
+ }
627
+ getProjectStatusesInfo(params = {}) {
628
+ return this.request({
629
+ path: `/project/statuses/info`,
630
+ method: 'get',
631
+ params,
632
+ });
633
+ }
634
+ getProjectStatusesInfoCount(params = {}) {
635
+ return this.request({
636
+ path: `/project/statuses/info/count`,
637
+ method: 'get',
638
+ params,
639
+ });
640
+ }
641
+ getProjectStatusIndicators(params = {}) {
642
+ return this.request({
643
+ path: `/project/statusIndicators`,
644
+ method: 'get',
645
+ params,
646
+ });
647
+ }
648
+ getProjectStatusIndicatorsById(id, params = {}) {
649
+ return this.request({
650
+ path: `/project/statusIndicators/${id}`,
651
+ method: 'get',
652
+ params,
653
+ });
654
+ }
655
+ getProjectStatusIndicatorsCount(params = {}) {
656
+ return this.request({
657
+ path: `/project/statusIndicators/count`,
658
+ method: 'get',
659
+ params,
660
+ });
661
+ }
662
+ postProjectTicketNoteByIdMarkAs(id, item) {
663
+ return this.request({
664
+ path: `/project/ticketNote/${id}/markAs/`,
665
+ method: 'post',
666
+ data: item,
667
+ });
668
+ }
669
+ getProjectTickets(params = {}) {
670
+ return this.request({
671
+ path: `/project/tickets`,
672
+ method: 'get',
673
+ params,
674
+ });
675
+ }
676
+ postProjectTickets(ticket) {
677
+ return this.request({
678
+ path: `/project/tickets`,
679
+ method: 'post',
680
+ data: ticket,
681
+ });
682
+ }
683
+ getProjectTicketsById(id, params = {}) {
684
+ return this.request({
685
+ path: `/project/tickets/${id}`,
686
+ method: 'get',
687
+ params,
688
+ });
689
+ }
690
+ deleteProjectTicketsById(id) {
691
+ return this.request({
692
+ path: `/project/tickets/${id}`,
693
+ method: 'delete',
694
+ });
695
+ }
696
+ putProjectTicketsById(id, ticket) {
697
+ return this.request({
698
+ path: `/project/tickets/${id}`,
699
+ method: 'put',
700
+ data: ticket,
701
+ });
702
+ }
703
+ patchProjectTicketsById(id, patchOperations) {
704
+ return this.request({
705
+ path: `/project/tickets/${id}`,
706
+ method: 'patch',
707
+ data: patchOperations,
708
+ });
709
+ }
710
+ getProjectTicketsByParentIdActivities(parentId, params = {}) {
711
+ return this.request({
712
+ path: `/project/tickets/${parentId}/activities`,
713
+ method: 'get',
714
+ params,
715
+ });
716
+ }
717
+ getProjectTicketsByParentIdActivitiesCount(parentId, params = {}) {
718
+ return this.request({
719
+ path: `/project/tickets/${parentId}/activities/count`,
720
+ method: 'get',
721
+ params,
722
+ });
723
+ }
724
+ getProjectTicketsByParentIdAllNotes(parentId, params = {}) {
725
+ return this.request({
726
+ path: `/project/tickets/${parentId}/allNotes`,
727
+ method: 'get',
728
+ params,
729
+ });
730
+ }
731
+ getProjectTicketsByParentIdConfigurations(parentId, params = {}) {
732
+ return this.request({
733
+ path: `/project/tickets/${parentId}/configurations`,
734
+ method: 'get',
735
+ params,
736
+ });
737
+ }
738
+ postProjectTicketsByParentIdConfigurations(parentId, configuration) {
739
+ return this.request({
740
+ path: `/project/tickets/${parentId}/configurations`,
741
+ method: 'post',
742
+ data: configuration,
743
+ });
744
+ }
745
+ getProjectTicketsByParentIdConfigurationsById(id, parentId, params = {}) {
746
+ return this.request({
747
+ path: `/project/tickets/${parentId}/configurations/${id}`,
748
+ method: 'get',
749
+ params,
750
+ });
751
+ }
752
+ deleteProjectTicketsByParentIdConfigurationsById(id, parentId) {
753
+ return this.request({
754
+ path: `/project/tickets/${parentId}/configurations/${id}`,
755
+ method: 'delete',
756
+ });
757
+ }
758
+ getProjectTicketsByParentIdConfigurationsCount(parentId, params = {}) {
759
+ return this.request({
760
+ path: `/project/tickets/${parentId}/configurations/count`,
761
+ method: 'get',
762
+ params,
763
+ });
764
+ }
765
+ postProjectTicketsByParentIdConvert(parentId, item) {
766
+ return this.request({
767
+ path: `/project/tickets/${parentId}/convert`,
768
+ method: 'post',
769
+ data: item,
770
+ });
771
+ }
772
+ getProjectTicketsByParentIdDocuments(parentId, params = {}) {
773
+ return this.request({
774
+ path: `/project/tickets/${parentId}/documents`,
775
+ method: 'get',
776
+ params,
777
+ });
778
+ }
779
+ getProjectTicketsByParentIdDocumentsCount(parentId, params = {}) {
780
+ return this.request({
781
+ path: `/project/tickets/${parentId}/documents/count`,
782
+ method: 'get',
783
+ params,
784
+ });
785
+ }
786
+ getProjectTicketsByParentIdNotes(parentId, params = {}) {
787
+ return this.request({
788
+ path: `/project/tickets/${parentId}/notes`,
789
+ method: 'get',
790
+ params,
791
+ });
792
+ }
793
+ postProjectTicketsByParentIdNotes(parentId, ticketNote) {
794
+ return this.request({
795
+ path: `/project/tickets/${parentId}/notes`,
796
+ method: 'post',
797
+ data: ticketNote,
798
+ });
799
+ }
800
+ getProjectTicketsByParentIdNotesById(id, parentId, params = {}) {
801
+ return this.request({
802
+ path: `/project/tickets/${parentId}/notes/${id}`,
803
+ method: 'get',
804
+ params,
805
+ });
806
+ }
807
+ deleteProjectTicketsByParentIdNotesById(id, parentId) {
808
+ return this.request({
809
+ path: `/project/tickets/${parentId}/notes/${id}`,
810
+ method: 'delete',
811
+ });
812
+ }
813
+ putProjectTicketsByParentIdNotesById(id, parentId, ticketNote) {
814
+ return this.request({
815
+ path: `/project/tickets/${parentId}/notes/${id}`,
816
+ method: 'put',
817
+ data: ticketNote,
818
+ });
819
+ }
820
+ patchProjectTicketsByParentIdNotesById(id, parentId, patchOperations) {
821
+ return this.request({
822
+ path: `/project/tickets/${parentId}/notes/${id}`,
823
+ method: 'patch',
824
+ data: patchOperations,
825
+ });
826
+ }
827
+ getProjectTicketsByParentIdNotesCount(parentId, params = {}) {
828
+ return this.request({
829
+ path: `/project/tickets/${parentId}/notes/count`,
830
+ method: 'get',
831
+ params,
832
+ });
833
+ }
834
+ getProjectTicketsByParentIdProducts(parentId, params = {}) {
835
+ return this.request({
836
+ path: `/project/tickets/${parentId}/products`,
837
+ method: 'get',
838
+ params,
839
+ });
840
+ }
841
+ getProjectTicketsByParentIdProductsCount(parentId, params = {}) {
842
+ return this.request({
843
+ path: `/project/tickets/${parentId}/products/count`,
844
+ method: 'get',
845
+ params,
846
+ });
847
+ }
848
+ getProjectTicketsByParentIdScheduleentries(parentId, params = {}) {
849
+ return this.request({
850
+ path: `/project/tickets/${parentId}/scheduleentries`,
851
+ method: 'get',
852
+ params,
853
+ });
854
+ }
855
+ getProjectTicketsByParentIdScheduleentriesCount(parentId, params = {}) {
856
+ return this.request({
857
+ path: `/project/tickets/${parentId}/scheduleentries/count`,
858
+ method: 'get',
859
+ params,
860
+ });
861
+ }
862
+ getProjectTicketsByParentIdTasks(parentId, params = {}) {
863
+ return this.request({
864
+ path: `/project/tickets/${parentId}/tasks`,
865
+ method: 'get',
866
+ params,
867
+ });
868
+ }
869
+ postProjectTicketsByParentIdTasks(parentId, ticketTask) {
870
+ return this.request({
871
+ path: `/project/tickets/${parentId}/tasks`,
872
+ method: 'post',
873
+ data: ticketTask,
874
+ });
875
+ }
876
+ getProjectTicketsByParentIdTasksById(id, parentId, params = {}) {
877
+ return this.request({
878
+ path: `/project/tickets/${parentId}/tasks/${id}`,
879
+ method: 'get',
880
+ params,
881
+ });
882
+ }
883
+ deleteProjectTicketsByParentIdTasksById(id, parentId) {
884
+ return this.request({
885
+ path: `/project/tickets/${parentId}/tasks/${id}`,
886
+ method: 'delete',
887
+ });
888
+ }
889
+ putProjectTicketsByParentIdTasksById(id, parentId, ticketTask) {
890
+ return this.request({
891
+ path: `/project/tickets/${parentId}/tasks/${id}`,
892
+ method: 'put',
893
+ data: ticketTask,
894
+ });
895
+ }
896
+ patchProjectTicketsByParentIdTasksById(id, parentId, patchOperations) {
897
+ return this.request({
898
+ path: `/project/tickets/${parentId}/tasks/${id}`,
899
+ method: 'patch',
900
+ data: patchOperations,
901
+ });
902
+ }
903
+ getProjectTicketsByParentIdTasksCount(parentId, params = {}) {
904
+ return this.request({
905
+ path: `/project/tickets/${parentId}/tasks/count`,
906
+ method: 'get',
907
+ params,
908
+ });
909
+ }
910
+ getProjectTicketsByParentIdTimeentries(parentId, params = {}) {
911
+ return this.request({
912
+ path: `/project/tickets/${parentId}/timeentries`,
913
+ method: 'get',
914
+ params,
915
+ });
916
+ }
917
+ getProjectTicketsByParentIdTimeentriesCount(parentId, params = {}) {
918
+ return this.request({
919
+ path: `/project/tickets/${parentId}/timeentries/count`,
920
+ method: 'get',
921
+ params,
922
+ });
923
+ }
924
+ getProjectTicketsCount(params = {}) {
925
+ return this.request({
926
+ path: `/project/tickets/count`,
927
+ method: 'get',
928
+ params,
929
+ });
930
+ }
931
+ postProjectTicketsSearch(filterValues) {
932
+ return this.request({
933
+ path: `/project/tickets/search`,
934
+ method: 'post',
935
+ data: filterValues,
936
+ });
937
+ }
938
+ }
939
+ exports.default = ProjectAPI;
940
+ //# sourceMappingURL=ProjectAPI.js.map