connectwise-rest 0.25.1 → 1.0.2

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