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,2339 @@
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.ServiceAPI = void 0;
7
+ /* This file was auto-generated, do not manually edit. */
8
+ const Manage_1 = __importDefault(require("../Manage"));
9
+ /**
10
+ * @module ServiceAPI
11
+ */
12
+ /**
13
+ * Service module
14
+ * @public
15
+ */
16
+ class ServiceAPI extends Manage_1.default {
17
+ constructor(props) {
18
+ super(props);
19
+ }
20
+ getServiceBoards(params = {}) {
21
+ return this.request({
22
+ path: `/service/boards`,
23
+ method: 'get',
24
+ params,
25
+ });
26
+ }
27
+ postServiceBoards(board) {
28
+ return this.request({
29
+ path: `/service/boards`,
30
+ method: 'post',
31
+ data: board,
32
+ });
33
+ }
34
+ getServiceBoardsByGrandparentIdItemsByParentIdAssociations(parentId, grandparentId, params = {}) {
35
+ return this.request({
36
+ path: `/service/boards/${grandparentId}/items/${parentId}/associations`,
37
+ method: 'get',
38
+ params,
39
+ });
40
+ }
41
+ getServiceBoardsByGrandparentIdItemsByParentIdAssociationsById(id, parentId, grandparentId, params = {}) {
42
+ return this.request({
43
+ path: `/service/boards/${grandparentId}/items/${parentId}/associations/${id}`,
44
+ method: 'get',
45
+ params,
46
+ });
47
+ }
48
+ putServiceBoardsByGrandparentIdItemsByParentIdAssociationsById(id, parentId, grandparentId, itemAssociation) {
49
+ return this.request({
50
+ path: `/service/boards/${grandparentId}/items/${parentId}/associations/${id}`,
51
+ method: 'put',
52
+ data: itemAssociation,
53
+ });
54
+ }
55
+ patchServiceBoardsByGrandparentIdItemsByParentIdAssociationsById(id, parentId, grandparentId, patchOperations) {
56
+ return this.request({
57
+ path: `/service/boards/${grandparentId}/items/${parentId}/associations/${id}`,
58
+ method: 'patch',
59
+ data: patchOperations,
60
+ });
61
+ }
62
+ getServiceBoardsByGrandparentIdItemsByParentIdAssociationsCount(parentId, grandparentId, params = {}) {
63
+ return this.request({
64
+ path: `/service/boards/${grandparentId}/items/${parentId}/associations/count`,
65
+ method: 'get',
66
+ params,
67
+ });
68
+ }
69
+ getServiceBoardsByGrandparentIdStatusesByParentIdNotifications(parentId, grandparentId, params = {}) {
70
+ return this.request({
71
+ path: `/service/boards/${grandparentId}/statuses/${parentId}/notifications`,
72
+ method: 'get',
73
+ params,
74
+ });
75
+ }
76
+ postServiceBoardsByGrandparentIdStatusesByParentIdNotifications(parentId, grandparentId, boardStatusNotification) {
77
+ return this.request({
78
+ path: `/service/boards/${grandparentId}/statuses/${parentId}/notifications`,
79
+ method: 'post',
80
+ data: boardStatusNotification,
81
+ });
82
+ }
83
+ getServiceBoardsByGrandparentIdStatusesByParentIdNotificationsById(id, parentId, grandparentId, params = {}) {
84
+ return this.request({
85
+ path: `/service/boards/${grandparentId}/statuses/${parentId}/notifications/${id}`,
86
+ method: 'get',
87
+ params,
88
+ });
89
+ }
90
+ deleteServiceBoardsByGrandparentIdStatusesByParentIdNotificationsById(id, parentId, grandparentId) {
91
+ return this.request({
92
+ path: `/service/boards/${grandparentId}/statuses/${parentId}/notifications/${id}`,
93
+ method: 'delete',
94
+ });
95
+ }
96
+ putServiceBoardsByGrandparentIdStatusesByParentIdNotificationsById(id, parentId, grandparentId, boardStatusNotification) {
97
+ return this.request({
98
+ path: `/service/boards/${grandparentId}/statuses/${parentId}/notifications/${id}`,
99
+ method: 'put',
100
+ data: boardStatusNotification,
101
+ });
102
+ }
103
+ patchServiceBoardsByGrandparentIdStatusesByParentIdNotificationsById(id, parentId, grandparentId, patchOperations) {
104
+ return this.request({
105
+ path: `/service/boards/${grandparentId}/statuses/${parentId}/notifications/${id}`,
106
+ method: 'patch',
107
+ data: patchOperations,
108
+ });
109
+ }
110
+ getServiceBoardsByGrandparentIdStatusesByParentIdNotificationsCount(parentId, grandparentId, params = {}) {
111
+ return this.request({
112
+ path: `/service/boards/${grandparentId}/statuses/${parentId}/notifications/count`,
113
+ method: 'get',
114
+ params,
115
+ });
116
+ }
117
+ getServiceBoardsById(id, params = {}) {
118
+ return this.request({
119
+ path: `/service/boards/${id}`,
120
+ method: 'get',
121
+ params,
122
+ });
123
+ }
124
+ deleteServiceBoardsById(id) {
125
+ return this.request({
126
+ path: `/service/boards/${id}`,
127
+ method: 'delete',
128
+ });
129
+ }
130
+ putServiceBoardsById(id, board) {
131
+ return this.request({
132
+ path: `/service/boards/${id}`,
133
+ method: 'put',
134
+ data: board,
135
+ });
136
+ }
137
+ patchServiceBoardsById(id, patchOperations) {
138
+ return this.request({
139
+ path: `/service/boards/${id}`,
140
+ method: 'patch',
141
+ data: patchOperations,
142
+ });
143
+ }
144
+ getServiceBoardsByIdUsages(id, params = {}) {
145
+ return this.request({
146
+ path: `/service/boards/${id}/usages`,
147
+ method: 'get',
148
+ params,
149
+ });
150
+ }
151
+ getServiceBoardsByIdUsagesList(id, params = {}) {
152
+ return this.request({
153
+ path: `/service/boards/${id}/usages/list`,
154
+ method: 'get',
155
+ params,
156
+ });
157
+ }
158
+ getServiceBoardsByParentIdAutoAssignResources(parentId, params = {}) {
159
+ return this.request({
160
+ path: `/service/boards/${parentId}/autoAssignResources`,
161
+ method: 'get',
162
+ params,
163
+ });
164
+ }
165
+ postServiceBoardsByParentIdAutoAssignResources(parentId, boardAutoAssignResource) {
166
+ return this.request({
167
+ path: `/service/boards/${parentId}/autoAssignResources`,
168
+ method: 'post',
169
+ data: boardAutoAssignResource,
170
+ });
171
+ }
172
+ getServiceBoardsByParentIdAutoAssignResourcesById(id, parentId, params = {}) {
173
+ return this.request({
174
+ path: `/service/boards/${parentId}/autoAssignResources/${id}`,
175
+ method: 'get',
176
+ params,
177
+ });
178
+ }
179
+ deleteServiceBoardsByParentIdAutoAssignResourcesById(id, parentId) {
180
+ return this.request({
181
+ path: `/service/boards/${parentId}/autoAssignResources/${id}`,
182
+ method: 'delete',
183
+ });
184
+ }
185
+ putServiceBoardsByParentIdAutoAssignResourcesById(id, parentId, boardAutoAssignResource) {
186
+ return this.request({
187
+ path: `/service/boards/${parentId}/autoAssignResources/${id}`,
188
+ method: 'put',
189
+ data: boardAutoAssignResource,
190
+ });
191
+ }
192
+ patchServiceBoardsByParentIdAutoAssignResourcesById(id, parentId, patchOperations) {
193
+ return this.request({
194
+ path: `/service/boards/${parentId}/autoAssignResources/${id}`,
195
+ method: 'patch',
196
+ data: patchOperations,
197
+ });
198
+ }
199
+ getServiceBoardsByParentIdAutoAssignResourcesCount(parentId, params = {}) {
200
+ return this.request({
201
+ path: `/service/boards/${parentId}/autoAssignResources/count`,
202
+ method: 'get',
203
+ params,
204
+ });
205
+ }
206
+ getServiceBoardsByParentIdAutoTemplates(parentId, params = {}) {
207
+ return this.request({
208
+ path: `/service/boards/${parentId}/autoTemplates`,
209
+ method: 'get',
210
+ params,
211
+ });
212
+ }
213
+ postServiceBoardsByParentIdAutoTemplates(parentId, boardAutoTemplate) {
214
+ return this.request({
215
+ path: `/service/boards/${parentId}/autoTemplates`,
216
+ method: 'post',
217
+ data: boardAutoTemplate,
218
+ });
219
+ }
220
+ getServiceBoardsByParentIdAutoTemplatesById(id, parentId, params = {}) {
221
+ return this.request({
222
+ path: `/service/boards/${parentId}/autoTemplates/${id}`,
223
+ method: 'get',
224
+ params,
225
+ });
226
+ }
227
+ deleteServiceBoardsByParentIdAutoTemplatesById(id, parentId) {
228
+ return this.request({
229
+ path: `/service/boards/${parentId}/autoTemplates/${id}`,
230
+ method: 'delete',
231
+ });
232
+ }
233
+ putServiceBoardsByParentIdAutoTemplatesById(id, parentId, boardAutoTemplate) {
234
+ return this.request({
235
+ path: `/service/boards/${parentId}/autoTemplates/${id}`,
236
+ method: 'put',
237
+ data: boardAutoTemplate,
238
+ });
239
+ }
240
+ patchServiceBoardsByParentIdAutoTemplatesById(id, parentId, patchOperations) {
241
+ return this.request({
242
+ path: `/service/boards/${parentId}/autoTemplates/${id}`,
243
+ method: 'patch',
244
+ data: patchOperations,
245
+ });
246
+ }
247
+ getServiceBoardsByParentIdAutoTemplatesCount(parentId, params = {}) {
248
+ return this.request({
249
+ path: `/service/boards/${parentId}/autoTemplates/count`,
250
+ method: 'get',
251
+ params,
252
+ });
253
+ }
254
+ getServiceBoardsByParentIdExcludedMembers(parentId, params = {}) {
255
+ return this.request({
256
+ path: `/service/boards/${parentId}/excludedMembers`,
257
+ method: 'get',
258
+ params,
259
+ });
260
+ }
261
+ postServiceBoardsByParentIdExcludedMembers(parentId, boardExcludedMember) {
262
+ return this.request({
263
+ path: `/service/boards/${parentId}/excludedMembers`,
264
+ method: 'post',
265
+ data: boardExcludedMember,
266
+ });
267
+ }
268
+ getServiceBoardsByParentIdExcludedMembersById(id, parentId, params = {}) {
269
+ return this.request({
270
+ path: `/service/boards/${parentId}/excludedMembers/${id}`,
271
+ method: 'get',
272
+ params,
273
+ });
274
+ }
275
+ deleteServiceBoardsByParentIdExcludedMembersById(id, parentId) {
276
+ return this.request({
277
+ path: `/service/boards/${parentId}/excludedMembers/${id}`,
278
+ method: 'delete',
279
+ });
280
+ }
281
+ getServiceBoardsByParentIdExcludedMembersCount(parentId, params = {}) {
282
+ return this.request({
283
+ path: `/service/boards/${parentId}/excludedMembers/count`,
284
+ method: 'get',
285
+ params,
286
+ });
287
+ }
288
+ getServiceBoardsByParentIdItems(parentId, params = {}) {
289
+ return this.request({
290
+ path: `/service/boards/${parentId}/items`,
291
+ method: 'get',
292
+ params,
293
+ });
294
+ }
295
+ postServiceBoardsByParentIdItems(parentId, boardItem) {
296
+ return this.request({
297
+ path: `/service/boards/${parentId}/items`,
298
+ method: 'post',
299
+ data: boardItem,
300
+ });
301
+ }
302
+ getServiceBoardsByParentIdItemsById(id, parentId, params = {}) {
303
+ return this.request({
304
+ path: `/service/boards/${parentId}/items/${id}`,
305
+ method: 'get',
306
+ params,
307
+ });
308
+ }
309
+ deleteServiceBoardsByParentIdItemsById(id, parentId) {
310
+ return this.request({
311
+ path: `/service/boards/${parentId}/items/${id}`,
312
+ method: 'delete',
313
+ });
314
+ }
315
+ putServiceBoardsByParentIdItemsById(id, parentId, boardItem) {
316
+ return this.request({
317
+ path: `/service/boards/${parentId}/items/${id}`,
318
+ method: 'put',
319
+ data: boardItem,
320
+ });
321
+ }
322
+ patchServiceBoardsByParentIdItemsById(id, parentId, patchOperations) {
323
+ return this.request({
324
+ path: `/service/boards/${parentId}/items/${id}`,
325
+ method: 'patch',
326
+ data: patchOperations,
327
+ });
328
+ }
329
+ getServiceBoardsByParentIdItemsByIdUsages(id, parentId, params = {}) {
330
+ return this.request({
331
+ path: `/service/boards/${parentId}/items/${id}/usages`,
332
+ method: 'get',
333
+ params,
334
+ });
335
+ }
336
+ getServiceBoardsByParentIdItemsByIdUsagesList(id, parentId, params = {}) {
337
+ return this.request({
338
+ path: `/service/boards/${parentId}/items/${id}/usages/list`,
339
+ method: 'get',
340
+ params,
341
+ });
342
+ }
343
+ getServiceBoardsByParentIdItemsCount(parentId, params = {}) {
344
+ return this.request({
345
+ path: `/service/boards/${parentId}/items/count`,
346
+ method: 'get',
347
+ params,
348
+ });
349
+ }
350
+ getServiceBoardsByParentIdNotifications(parentId, params = {}) {
351
+ return this.request({
352
+ path: `/service/boards/${parentId}/notifications`,
353
+ method: 'get',
354
+ params,
355
+ });
356
+ }
357
+ postServiceBoardsByParentIdNotifications(parentId, boardNotification) {
358
+ return this.request({
359
+ path: `/service/boards/${parentId}/notifications`,
360
+ method: 'post',
361
+ data: boardNotification,
362
+ });
363
+ }
364
+ getServiceBoardsByParentIdNotificationsById(id, parentId, params = {}) {
365
+ return this.request({
366
+ path: `/service/boards/${parentId}/notifications/${id}`,
367
+ method: 'get',
368
+ params,
369
+ });
370
+ }
371
+ deleteServiceBoardsByParentIdNotificationsById(id, parentId) {
372
+ return this.request({
373
+ path: `/service/boards/${parentId}/notifications/${id}`,
374
+ method: 'delete',
375
+ });
376
+ }
377
+ putServiceBoardsByParentIdNotificationsById(id, parentId, boardNotification) {
378
+ return this.request({
379
+ path: `/service/boards/${parentId}/notifications/${id}`,
380
+ method: 'put',
381
+ data: boardNotification,
382
+ });
383
+ }
384
+ patchServiceBoardsByParentIdNotificationsById(id, parentId, patchOperations) {
385
+ return this.request({
386
+ path: `/service/boards/${parentId}/notifications/${id}`,
387
+ method: 'patch',
388
+ data: patchOperations,
389
+ });
390
+ }
391
+ getServiceBoardsByParentIdNotificationsCount(parentId, params = {}) {
392
+ return this.request({
393
+ path: `/service/boards/${parentId}/notifications/count`,
394
+ method: 'get',
395
+ params,
396
+ });
397
+ }
398
+ getServiceBoardsByParentIdStatuses(parentId, params = {}) {
399
+ return this.request({
400
+ path: `/service/boards/${parentId}/statuses`,
401
+ method: 'get',
402
+ params,
403
+ });
404
+ }
405
+ postServiceBoardsByParentIdStatuses(parentId, boardStatus) {
406
+ return this.request({
407
+ path: `/service/boards/${parentId}/statuses`,
408
+ method: 'post',
409
+ data: boardStatus,
410
+ });
411
+ }
412
+ getServiceBoardsByParentIdStatusesById(id, parentId, params = {}) {
413
+ return this.request({
414
+ path: `/service/boards/${parentId}/statuses/${id}`,
415
+ method: 'get',
416
+ params,
417
+ });
418
+ }
419
+ deleteServiceBoardsByParentIdStatusesById(id, parentId) {
420
+ return this.request({
421
+ path: `/service/boards/${parentId}/statuses/${id}`,
422
+ method: 'delete',
423
+ });
424
+ }
425
+ putServiceBoardsByParentIdStatusesById(id, parentId, boardStatus) {
426
+ return this.request({
427
+ path: `/service/boards/${parentId}/statuses/${id}`,
428
+ method: 'put',
429
+ data: boardStatus,
430
+ });
431
+ }
432
+ patchServiceBoardsByParentIdStatusesById(id, parentId, patchOperations) {
433
+ return this.request({
434
+ path: `/service/boards/${parentId}/statuses/${id}`,
435
+ method: 'patch',
436
+ data: patchOperations,
437
+ });
438
+ }
439
+ getServiceBoardsByParentIdStatusesByIdInfo(parentId, id, params = {}) {
440
+ return this.request({
441
+ path: `/service/boards/${parentId}/statuses/${id}/info`,
442
+ method: 'get',
443
+ params,
444
+ });
445
+ }
446
+ getServiceBoardsByParentIdStatusesByIdUsages(id, parentId, params = {}) {
447
+ return this.request({
448
+ path: `/service/boards/${parentId}/statuses/${id}/usages`,
449
+ method: 'get',
450
+ params,
451
+ });
452
+ }
453
+ getServiceBoardsByParentIdStatusesByIdUsagesList(id, parentId, params = {}) {
454
+ return this.request({
455
+ path: `/service/boards/${parentId}/statuses/${id}/usages/list`,
456
+ method: 'get',
457
+ params,
458
+ });
459
+ }
460
+ getServiceBoardsByParentIdStatusesCount(parentId, params = {}) {
461
+ return this.request({
462
+ path: `/service/boards/${parentId}/statuses/count`,
463
+ method: 'get',
464
+ params,
465
+ });
466
+ }
467
+ getServiceBoardsByParentIdStatusesInfo(parentId, params = {}) {
468
+ return this.request({
469
+ path: `/service/boards/${parentId}/statuses/info`,
470
+ method: 'get',
471
+ params,
472
+ });
473
+ }
474
+ getServiceBoardsByParentIdStatusesInfoCount(parentId, params = {}) {
475
+ return this.request({
476
+ path: `/service/boards/${parentId}/statuses/info/count`,
477
+ method: 'get',
478
+ params,
479
+ });
480
+ }
481
+ getServiceBoardsByParentIdSubtypes(parentId, params = {}) {
482
+ return this.request({
483
+ path: `/service/boards/${parentId}/subtypes`,
484
+ method: 'get',
485
+ params,
486
+ });
487
+ }
488
+ postServiceBoardsByParentIdSubtypes(parentId, boardSubType) {
489
+ return this.request({
490
+ path: `/service/boards/${parentId}/subtypes`,
491
+ method: 'post',
492
+ data: boardSubType,
493
+ });
494
+ }
495
+ getServiceBoardsByParentIdSubtypesById(id, parentId, params = {}) {
496
+ return this.request({
497
+ path: `/service/boards/${parentId}/subtypes/${id}`,
498
+ method: 'get',
499
+ params,
500
+ });
501
+ }
502
+ deleteServiceBoardsByParentIdSubtypesById(id, parentId) {
503
+ return this.request({
504
+ path: `/service/boards/${parentId}/subtypes/${id}`,
505
+ method: 'delete',
506
+ });
507
+ }
508
+ putServiceBoardsByParentIdSubtypesById(id, parentId, boardSubType) {
509
+ return this.request({
510
+ path: `/service/boards/${parentId}/subtypes/${id}`,
511
+ method: 'put',
512
+ data: boardSubType,
513
+ });
514
+ }
515
+ patchServiceBoardsByParentIdSubtypesById(id, parentId, patchOperations) {
516
+ return this.request({
517
+ path: `/service/boards/${parentId}/subtypes/${id}`,
518
+ method: 'patch',
519
+ data: patchOperations,
520
+ });
521
+ }
522
+ getServiceBoardsByParentIdSubtypesByIdInfo(parentId, id, params = {}) {
523
+ return this.request({
524
+ path: `/service/boards/${parentId}/subtypes/${id}/info`,
525
+ method: 'get',
526
+ params,
527
+ });
528
+ }
529
+ getServiceBoardsByParentIdSubtypesByIdUsages(id, parentId, params = {}) {
530
+ return this.request({
531
+ path: `/service/boards/${parentId}/subtypes/${id}/usages`,
532
+ method: 'get',
533
+ params,
534
+ });
535
+ }
536
+ getServiceBoardsByParentIdSubtypesByIdUsagesList(id, parentId, params = {}) {
537
+ return this.request({
538
+ path: `/service/boards/${parentId}/subtypes/${id}/usages/list`,
539
+ method: 'get',
540
+ params,
541
+ });
542
+ }
543
+ getServiceBoardsByParentIdSubtypesCount(parentId, params = {}) {
544
+ return this.request({
545
+ path: `/service/boards/${parentId}/subtypes/count`,
546
+ method: 'get',
547
+ params,
548
+ });
549
+ }
550
+ getServiceBoardsByParentIdSubtypesInfo(parentId, params = {}) {
551
+ return this.request({
552
+ path: `/service/boards/${parentId}/subtypes/info`,
553
+ method: 'get',
554
+ params,
555
+ });
556
+ }
557
+ getServiceBoardsByParentIdSubtypesInfoCount(parentId, params = {}) {
558
+ return this.request({
559
+ path: `/service/boards/${parentId}/subtypes/info/count`,
560
+ method: 'get',
561
+ params,
562
+ });
563
+ }
564
+ getServiceBoardsByParentIdTeams(parentId, params = {}) {
565
+ return this.request({
566
+ path: `/service/boards/${parentId}/teams`,
567
+ method: 'get',
568
+ params,
569
+ });
570
+ }
571
+ postServiceBoardsByParentIdTeams(parentId, _boardTeam) {
572
+ return this.request({
573
+ path: `/service/boards/${parentId}/teams`,
574
+ method: 'post',
575
+ data: _boardTeam,
576
+ });
577
+ }
578
+ getServiceBoardsByParentIdTeamsById(id, parentId, params = {}) {
579
+ return this.request({
580
+ path: `/service/boards/${parentId}/teams/${id}`,
581
+ method: 'get',
582
+ params,
583
+ });
584
+ }
585
+ deleteServiceBoardsByParentIdTeamsById(id, parentId) {
586
+ return this.request({
587
+ path: `/service/boards/${parentId}/teams/${id}`,
588
+ method: 'delete',
589
+ });
590
+ }
591
+ putServiceBoardsByParentIdTeamsById(id, parentId, _boardTeam) {
592
+ return this.request({
593
+ path: `/service/boards/${parentId}/teams/${id}`,
594
+ method: 'put',
595
+ data: _boardTeam,
596
+ });
597
+ }
598
+ patchServiceBoardsByParentIdTeamsById(id, parentId, patchOperations) {
599
+ return this.request({
600
+ path: `/service/boards/${parentId}/teams/${id}`,
601
+ method: 'patch',
602
+ data: patchOperations,
603
+ });
604
+ }
605
+ getServiceBoardsByParentIdTeamsByIdInfo(id, parentId, params = {}) {
606
+ return this.request({
607
+ path: `/service/boards/${parentId}/teams/${id}/info`,
608
+ method: 'get',
609
+ params,
610
+ });
611
+ }
612
+ getServiceBoardsByParentIdTeamsByIdUsagesList(id, parentId, params = {}) {
613
+ return this.request({
614
+ path: `/service/boards/${parentId}/teams/${id}/usages/list`,
615
+ method: 'get',
616
+ params,
617
+ });
618
+ }
619
+ getServiceBoardsByParentIdTeamsCount(parentId, params = {}) {
620
+ return this.request({
621
+ path: `/service/boards/${parentId}/teams/count`,
622
+ method: 'get',
623
+ params,
624
+ });
625
+ }
626
+ getServiceBoardsByParentIdTeamsInfo(parentId, params = {}) {
627
+ return this.request({
628
+ path: `/service/boards/${parentId}/teams/info`,
629
+ method: 'get',
630
+ params,
631
+ });
632
+ }
633
+ getServiceBoardsByParentIdTeamsInfoCount(parentId, params = {}) {
634
+ return this.request({
635
+ path: `/service/boards/${parentId}/teams/info/count`,
636
+ method: 'get',
637
+ params,
638
+ });
639
+ }
640
+ getServiceBoardsByParentIdTypes(parentId, params = {}) {
641
+ return this.request({
642
+ path: `/service/boards/${parentId}/types`,
643
+ method: 'get',
644
+ params,
645
+ });
646
+ }
647
+ postServiceBoardsByParentIdTypes(parentId, boardType) {
648
+ return this.request({
649
+ path: `/service/boards/${parentId}/types`,
650
+ method: 'post',
651
+ data: boardType,
652
+ });
653
+ }
654
+ getServiceBoardsByParentIdTypesById(id, parentId, params = {}) {
655
+ return this.request({
656
+ path: `/service/boards/${parentId}/types/${id}`,
657
+ method: 'get',
658
+ params,
659
+ });
660
+ }
661
+ deleteServiceBoardsByParentIdTypesById(id, parentId) {
662
+ return this.request({
663
+ path: `/service/boards/${parentId}/types/${id}`,
664
+ method: 'delete',
665
+ });
666
+ }
667
+ putServiceBoardsByParentIdTypesById(id, parentId, boardType) {
668
+ return this.request({
669
+ path: `/service/boards/${parentId}/types/${id}`,
670
+ method: 'put',
671
+ data: boardType,
672
+ });
673
+ }
674
+ patchServiceBoardsByParentIdTypesById(id, parentId, patchOperations) {
675
+ return this.request({
676
+ path: `/service/boards/${parentId}/types/${id}`,
677
+ method: 'patch',
678
+ data: patchOperations,
679
+ });
680
+ }
681
+ getServiceBoardsByParentIdTypesByIdUsages(id, parentId, params = {}) {
682
+ return this.request({
683
+ path: `/service/boards/${parentId}/types/${id}/usages`,
684
+ method: 'get',
685
+ params,
686
+ });
687
+ }
688
+ getServiceBoardsByParentIdTypesByIdUsagesList(id, parentId, params = {}) {
689
+ return this.request({
690
+ path: `/service/boards/${parentId}/types/${id}/usages/list`,
691
+ method: 'get',
692
+ params,
693
+ });
694
+ }
695
+ getServiceBoardsByParentIdTypesCount(parentId, params = {}) {
696
+ return this.request({
697
+ path: `/service/boards/${parentId}/types/count`,
698
+ method: 'get',
699
+ params,
700
+ });
701
+ }
702
+ getServiceBoardsByParentIdTypeSubTypeItemAssociations(parentId, params = {}) {
703
+ return this.request({
704
+ path: `/service/boards/${parentId}/typeSubTypeItemAssociations`,
705
+ method: 'get',
706
+ params,
707
+ });
708
+ }
709
+ getServiceBoardsByParentIdTypeSubTypeItemAssociationsById(id, parentId, params = {}) {
710
+ return this.request({
711
+ path: `/service/boards/${parentId}/typeSubTypeItemAssociations/${id}`,
712
+ method: 'get',
713
+ params,
714
+ });
715
+ }
716
+ getServiceBoardsByParentIdTypeSubTypeItemAssociationsCount(parentId, params = {}) {
717
+ return this.request({
718
+ path: `/service/boards/${parentId}/typeSubTypeItemAssociations/count`,
719
+ method: 'get',
720
+ params,
721
+ });
722
+ }
723
+ postServiceBoardsCopy(copy) {
724
+ return this.request({
725
+ path: `/service/boards/copy`,
726
+ method: 'post',
727
+ data: copy,
728
+ });
729
+ }
730
+ getServiceBoardsCount(params = {}) {
731
+ return this.request({
732
+ path: `/service/boards/count`,
733
+ method: 'get',
734
+ params,
735
+ });
736
+ }
737
+ getServiceCodes(params = {}) {
738
+ return this.request({
739
+ path: `/service/codes`,
740
+ method: 'get',
741
+ params,
742
+ });
743
+ }
744
+ postServiceCodes(code) {
745
+ return this.request({
746
+ path: `/service/codes`,
747
+ method: 'post',
748
+ data: code,
749
+ });
750
+ }
751
+ getServiceCodesById(id, params = {}) {
752
+ return this.request({
753
+ path: `/service/codes/${id}`,
754
+ method: 'get',
755
+ params,
756
+ });
757
+ }
758
+ deleteServiceCodesById(id) {
759
+ return this.request({
760
+ path: `/service/codes/${id}`,
761
+ method: 'delete',
762
+ });
763
+ }
764
+ putServiceCodesById(id, code) {
765
+ return this.request({
766
+ path: `/service/codes/${id}`,
767
+ method: 'put',
768
+ data: code,
769
+ });
770
+ }
771
+ patchServiceCodesById(id, patchOperations) {
772
+ return this.request({
773
+ path: `/service/codes/${id}`,
774
+ method: 'patch',
775
+ data: patchOperations,
776
+ });
777
+ }
778
+ getServiceCodesCount(params = {}) {
779
+ return this.request({
780
+ path: `/service/codes/count`,
781
+ method: 'get',
782
+ params,
783
+ });
784
+ }
785
+ getServiceEmailTemplates(params = {}) {
786
+ return this.request({
787
+ path: `/service/emailTemplates`,
788
+ method: 'get',
789
+ params,
790
+ });
791
+ }
792
+ postServiceEmailTemplates(serviceEmailTemplate) {
793
+ return this.request({
794
+ path: `/service/emailTemplates`,
795
+ method: 'post',
796
+ data: serviceEmailTemplate,
797
+ });
798
+ }
799
+ getServiceEmailTemplatesById(id, params = {}) {
800
+ return this.request({
801
+ path: `/service/emailTemplates/${id}`,
802
+ method: 'get',
803
+ params,
804
+ });
805
+ }
806
+ deleteServiceEmailTemplatesById(id) {
807
+ return this.request({
808
+ path: `/service/emailTemplates/${id}`,
809
+ method: 'delete',
810
+ });
811
+ }
812
+ putServiceEmailTemplatesById(id, serviceEmailTemplate) {
813
+ return this.request({
814
+ path: `/service/emailTemplates/${id}`,
815
+ method: 'put',
816
+ data: serviceEmailTemplate,
817
+ });
818
+ }
819
+ patchServiceEmailTemplatesById(id, patchOperations) {
820
+ return this.request({
821
+ path: `/service/emailTemplates/${id}`,
822
+ method: 'patch',
823
+ data: patchOperations,
824
+ });
825
+ }
826
+ getServiceEmailTemplatesByIdUsages(id, params = {}) {
827
+ return this.request({
828
+ path: `/service/emailTemplates/${id}/usages`,
829
+ method: 'get',
830
+ params,
831
+ });
832
+ }
833
+ getServiceEmailTemplatesByIdUsagesList(id, params = {}) {
834
+ return this.request({
835
+ path: `/service/emailTemplates/${id}/usages/list`,
836
+ method: 'get',
837
+ params,
838
+ });
839
+ }
840
+ getServiceEmailTemplatesCount(params = {}) {
841
+ return this.request({
842
+ path: `/service/emailTemplates/count`,
843
+ method: 'get',
844
+ params,
845
+ });
846
+ }
847
+ getServiceImpacts(params = {}) {
848
+ return this.request({
849
+ path: `/service/impacts`,
850
+ method: 'get',
851
+ params,
852
+ });
853
+ }
854
+ getServiceImpactsById(id, params = {}) {
855
+ return this.request({
856
+ path: `/service/impacts/${id}`,
857
+ method: 'get',
858
+ params,
859
+ });
860
+ }
861
+ putServiceImpactsById(id, impact) {
862
+ return this.request({
863
+ path: `/service/impacts/${id}`,
864
+ method: 'put',
865
+ data: impact,
866
+ });
867
+ }
868
+ patchServiceImpactsById(id, patchOperations) {
869
+ return this.request({
870
+ path: `/service/impacts/${id}`,
871
+ method: 'patch',
872
+ data: patchOperations,
873
+ });
874
+ }
875
+ getServiceImpactsCount(params = {}) {
876
+ return this.request({
877
+ path: `/service/impacts/count`,
878
+ method: 'get',
879
+ params,
880
+ });
881
+ }
882
+ getServiceInfoBoards(params = {}) {
883
+ return this.request({
884
+ path: `/service/info/boards`,
885
+ method: 'get',
886
+ params,
887
+ });
888
+ }
889
+ getServiceInfoBoardsById(id, params = {}) {
890
+ return this.request({
891
+ path: `/service/info/boards/${id}`,
892
+ method: 'get',
893
+ params,
894
+ });
895
+ }
896
+ getServiceInfoBoardsCount(params = {}) {
897
+ return this.request({
898
+ path: `/service/info/boards/count`,
899
+ method: 'get',
900
+ params,
901
+ });
902
+ }
903
+ getServiceInfoBoardtypes(params = {}) {
904
+ return this.request({
905
+ path: `/service/info/boardtypes`,
906
+ method: 'get',
907
+ params,
908
+ });
909
+ }
910
+ getServiceInfoBoardtypesById(id, params = {}) {
911
+ return this.request({
912
+ path: `/service/info/boardtypes/${id}`,
913
+ method: 'get',
914
+ params,
915
+ });
916
+ }
917
+ getServiceInfoBoardtypesCount(params = {}) {
918
+ return this.request({
919
+ path: `/service/info/boardtypes/count`,
920
+ method: 'get',
921
+ params,
922
+ });
923
+ }
924
+ getServiceKnowledgeBaseArticles(params = {}) {
925
+ return this.request({
926
+ path: `/service/knowledgeBaseArticles`,
927
+ method: 'get',
928
+ params,
929
+ });
930
+ }
931
+ postServiceKnowledgeBaseArticles(knowledgeBaseArticle) {
932
+ return this.request({
933
+ path: `/service/knowledgeBaseArticles`,
934
+ method: 'post',
935
+ data: knowledgeBaseArticle,
936
+ });
937
+ }
938
+ getServiceKnowledgeBaseArticlesById(id, params = {}) {
939
+ return this.request({
940
+ path: `/service/knowledgeBaseArticles/${id}`,
941
+ method: 'get',
942
+ params,
943
+ });
944
+ }
945
+ deleteServiceKnowledgeBaseArticlesById(id) {
946
+ return this.request({
947
+ path: `/service/knowledgeBaseArticles/${id}`,
948
+ method: 'delete',
949
+ });
950
+ }
951
+ putServiceKnowledgeBaseArticlesById(id, knowledgeBaseArticle) {
952
+ return this.request({
953
+ path: `/service/knowledgeBaseArticles/${id}`,
954
+ method: 'put',
955
+ data: knowledgeBaseArticle,
956
+ });
957
+ }
958
+ patchServiceKnowledgeBaseArticlesById(id, patchOperations) {
959
+ return this.request({
960
+ path: `/service/knowledgeBaseArticles/${id}`,
961
+ method: 'patch',
962
+ data: patchOperations,
963
+ });
964
+ }
965
+ getServiceKnowledgeBaseArticlesCount(params = {}) {
966
+ return this.request({
967
+ path: `/service/knowledgeBaseArticles/count`,
968
+ method: 'get',
969
+ params,
970
+ });
971
+ }
972
+ getServiceKnowledgeBaseCategories(params = {}) {
973
+ return this.request({
974
+ path: `/service/knowledgeBaseCategories`,
975
+ method: 'get',
976
+ params,
977
+ });
978
+ }
979
+ postServiceKnowledgeBaseCategories(knowledgeBaseCategory) {
980
+ return this.request({
981
+ path: `/service/knowledgeBaseCategories`,
982
+ method: 'post',
983
+ data: knowledgeBaseCategory,
984
+ });
985
+ }
986
+ getServiceKnowledgeBaseCategoriesById(id, params = {}) {
987
+ return this.request({
988
+ path: `/service/knowledgeBaseCategories/${id}`,
989
+ method: 'get',
990
+ params,
991
+ });
992
+ }
993
+ deleteServiceKnowledgeBaseCategoriesById(id) {
994
+ return this.request({
995
+ path: `/service/knowledgeBaseCategories/${id}`,
996
+ method: 'delete',
997
+ });
998
+ }
999
+ putServiceKnowledgeBaseCategoriesById(id, knowledgeBaseCategory) {
1000
+ return this.request({
1001
+ path: `/service/knowledgeBaseCategories/${id}`,
1002
+ method: 'put',
1003
+ data: knowledgeBaseCategory,
1004
+ });
1005
+ }
1006
+ patchServiceKnowledgeBaseCategoriesById(id, patchOperations) {
1007
+ return this.request({
1008
+ path: `/service/knowledgeBaseCategories/${id}`,
1009
+ method: 'patch',
1010
+ data: patchOperations,
1011
+ });
1012
+ }
1013
+ getServiceKnowledgeBaseCategoriesCount(params = {}) {
1014
+ return this.request({
1015
+ path: `/service/knowledgeBaseCategories/count`,
1016
+ method: 'get',
1017
+ params,
1018
+ });
1019
+ }
1020
+ getServiceKnowledgebasesettings(params = {}) {
1021
+ return this.request({
1022
+ path: `/service/knowledgebasesettings`,
1023
+ method: 'get',
1024
+ params,
1025
+ });
1026
+ }
1027
+ postServiceKnowledgebasesettings(knowledgeBaseSettings) {
1028
+ return this.request({
1029
+ path: `/service/knowledgebasesettings`,
1030
+ method: 'post',
1031
+ data: knowledgeBaseSettings,
1032
+ });
1033
+ }
1034
+ getServiceKnowledgebasesettingsById(id, params = {}) {
1035
+ return this.request({
1036
+ path: `/service/knowledgebasesettings/${id}`,
1037
+ method: 'get',
1038
+ params,
1039
+ });
1040
+ }
1041
+ putServiceKnowledgebasesettingsById(id, knowledgeBaseSettings) {
1042
+ return this.request({
1043
+ path: `/service/knowledgebasesettings/${id}`,
1044
+ method: 'put',
1045
+ data: knowledgeBaseSettings,
1046
+ });
1047
+ }
1048
+ patchServiceKnowledgebasesettingsById(id, patchOperations) {
1049
+ return this.request({
1050
+ path: `/service/knowledgebasesettings/${id}`,
1051
+ method: 'patch',
1052
+ data: patchOperations,
1053
+ });
1054
+ }
1055
+ getServiceKnowledgeBaseSubCategories(params = {}) {
1056
+ return this.request({
1057
+ path: `/service/knowledgeBaseSubCategories`,
1058
+ method: 'get',
1059
+ params,
1060
+ });
1061
+ }
1062
+ postServiceKnowledgeBaseSubCategories(knowledgeBaseSubCategory) {
1063
+ return this.request({
1064
+ path: `/service/knowledgeBaseSubCategories`,
1065
+ method: 'post',
1066
+ data: knowledgeBaseSubCategory,
1067
+ });
1068
+ }
1069
+ getServiceKnowledgeBaseSubCategoriesById(id, params = {}) {
1070
+ return this.request({
1071
+ path: `/service/knowledgeBaseSubCategories/${id}`,
1072
+ method: 'get',
1073
+ params,
1074
+ });
1075
+ }
1076
+ deleteServiceKnowledgeBaseSubCategoriesById(id) {
1077
+ return this.request({
1078
+ path: `/service/knowledgeBaseSubCategories/${id}`,
1079
+ method: 'delete',
1080
+ });
1081
+ }
1082
+ putServiceKnowledgeBaseSubCategoriesById(id, knowledgeBaseSubCategory) {
1083
+ return this.request({
1084
+ path: `/service/knowledgeBaseSubCategories/${id}`,
1085
+ method: 'put',
1086
+ data: knowledgeBaseSubCategory,
1087
+ });
1088
+ }
1089
+ patchServiceKnowledgeBaseSubCategoriesById(id, patchOperations) {
1090
+ return this.request({
1091
+ path: `/service/knowledgeBaseSubCategories/${id}`,
1092
+ method: 'patch',
1093
+ data: patchOperations,
1094
+ });
1095
+ }
1096
+ getServiceKnowledgeBaseSubCategoriesByIdUsages(id, params = {}) {
1097
+ return this.request({
1098
+ path: `/service/knowledgeBaseSubCategories/${id}/usages`,
1099
+ method: 'get',
1100
+ params,
1101
+ });
1102
+ }
1103
+ getServiceKnowledgeBaseSubCategoriesByIdUsagesList(id, params = {}) {
1104
+ return this.request({
1105
+ path: `/service/knowledgeBaseSubCategories/${id}/usages/list`,
1106
+ method: 'get',
1107
+ params,
1108
+ });
1109
+ }
1110
+ getServiceKnowledgeBaseSubCategoriesCount(params = {}) {
1111
+ return this.request({
1112
+ path: `/service/knowledgeBaseSubCategories/count`,
1113
+ method: 'get',
1114
+ params,
1115
+ });
1116
+ }
1117
+ getServiceLocations(params = {}) {
1118
+ return this.request({
1119
+ path: `/service/locations`,
1120
+ method: 'get',
1121
+ params,
1122
+ });
1123
+ }
1124
+ postServiceLocations(location) {
1125
+ return this.request({
1126
+ path: `/service/locations`,
1127
+ method: 'post',
1128
+ data: location,
1129
+ });
1130
+ }
1131
+ getServiceLocationsById(id, params = {}) {
1132
+ return this.request({
1133
+ path: `/service/locations/${id}`,
1134
+ method: 'get',
1135
+ params,
1136
+ });
1137
+ }
1138
+ deleteServiceLocationsById(id) {
1139
+ return this.request({
1140
+ path: `/service/locations/${id}`,
1141
+ method: 'delete',
1142
+ });
1143
+ }
1144
+ putServiceLocationsById(id, location) {
1145
+ return this.request({
1146
+ path: `/service/locations/${id}`,
1147
+ method: 'put',
1148
+ data: location,
1149
+ });
1150
+ }
1151
+ patchServiceLocationsById(id, patchOperations) {
1152
+ return this.request({
1153
+ path: `/service/locations/${id}`,
1154
+ method: 'patch',
1155
+ data: patchOperations,
1156
+ });
1157
+ }
1158
+ getServiceLocationsByIdInfo(id, params = {}) {
1159
+ return this.request({
1160
+ path: `/service/locations/${id}/info`,
1161
+ method: 'get',
1162
+ params,
1163
+ });
1164
+ }
1165
+ getServiceLocationsCount(params = {}) {
1166
+ return this.request({
1167
+ path: `/service/locations/count`,
1168
+ method: 'get',
1169
+ params,
1170
+ });
1171
+ }
1172
+ getServiceLocationsInfo(params = {}) {
1173
+ return this.request({
1174
+ path: `/service/locations/info`,
1175
+ method: 'get',
1176
+ params,
1177
+ });
1178
+ }
1179
+ getServiceLocationsInfoCount(params = {}) {
1180
+ return this.request({
1181
+ path: `/service/locations/info/count`,
1182
+ method: 'get',
1183
+ params,
1184
+ });
1185
+ }
1186
+ getServicePriorities(params = {}) {
1187
+ return this.request({
1188
+ path: `/service/priorities`,
1189
+ method: 'get',
1190
+ params,
1191
+ });
1192
+ }
1193
+ postServicePriorities(priority) {
1194
+ return this.request({
1195
+ path: `/service/priorities`,
1196
+ method: 'post',
1197
+ data: priority,
1198
+ });
1199
+ }
1200
+ getServicePrioritiesById(id, params = {}) {
1201
+ return this.request({
1202
+ path: `/service/priorities/${id}`,
1203
+ method: 'get',
1204
+ params,
1205
+ });
1206
+ }
1207
+ deleteServicePrioritiesById(id) {
1208
+ return this.request({
1209
+ path: `/service/priorities/${id}`,
1210
+ method: 'delete',
1211
+ });
1212
+ }
1213
+ putServicePrioritiesById(id, priority) {
1214
+ return this.request({
1215
+ path: `/service/priorities/${id}`,
1216
+ method: 'put',
1217
+ data: priority,
1218
+ });
1219
+ }
1220
+ patchServicePrioritiesById(id, patchOperations) {
1221
+ return this.request({
1222
+ path: `/service/priorities/${id}`,
1223
+ method: 'patch',
1224
+ data: patchOperations,
1225
+ });
1226
+ }
1227
+ getServicePrioritiesByIdImage(id, useDefaultFlag, lastModified, params = {}) {
1228
+ return this.request({
1229
+ path: `/service/priorities/${id}/image`,
1230
+ method: 'get',
1231
+ params,
1232
+ });
1233
+ }
1234
+ getServicePrioritiesByIdUsages(id, params = {}) {
1235
+ return this.request({
1236
+ path: `/service/priorities/${id}/usages`,
1237
+ method: 'get',
1238
+ params,
1239
+ });
1240
+ }
1241
+ getServicePrioritiesByIdUsagesList(id, params = {}) {
1242
+ return this.request({
1243
+ path: `/service/priorities/${id}/usages/list`,
1244
+ method: 'get',
1245
+ params,
1246
+ });
1247
+ }
1248
+ getServicePrioritiesCount(params = {}) {
1249
+ return this.request({
1250
+ path: `/service/priorities/count`,
1251
+ method: 'get',
1252
+ params,
1253
+ });
1254
+ }
1255
+ getServicePriorityByIdInfo(id, params = {}) {
1256
+ return this.request({
1257
+ path: `/service/priority/${id}/info`,
1258
+ method: 'get',
1259
+ params,
1260
+ });
1261
+ }
1262
+ getServicePriorityInfo(params = {}) {
1263
+ return this.request({
1264
+ path: `/service/priority/info`,
1265
+ method: 'get',
1266
+ params,
1267
+ });
1268
+ }
1269
+ getServiceSchedulingMembersByIdInfo(id, params = {}) {
1270
+ return this.request({
1271
+ path: `/service/scheduling/members/${id}/info`,
1272
+ method: 'get',
1273
+ params,
1274
+ });
1275
+ }
1276
+ getServiceSchedulingMembersInfo(params = {}) {
1277
+ return this.request({
1278
+ path: `/service/scheduling/members/info`,
1279
+ method: 'get',
1280
+ params,
1281
+ });
1282
+ }
1283
+ getServiceSchedulingMembersInfoCount(params = {}) {
1284
+ return this.request({
1285
+ path: `/service/scheduling/members/info/count`,
1286
+ method: 'get',
1287
+ params,
1288
+ });
1289
+ }
1290
+ getServiceServiceSignoff(params = {}) {
1291
+ return this.request({
1292
+ path: `/service/serviceSignoff`,
1293
+ method: 'get',
1294
+ params,
1295
+ });
1296
+ }
1297
+ postServiceServiceSignoff(serviceSignoff) {
1298
+ return this.request({
1299
+ path: `/service/serviceSignoff`,
1300
+ method: 'post',
1301
+ data: serviceSignoff,
1302
+ });
1303
+ }
1304
+ getServiceServiceSignoffById(id, params = {}) {
1305
+ return this.request({
1306
+ path: `/service/serviceSignoff/${id}`,
1307
+ method: 'get',
1308
+ params,
1309
+ });
1310
+ }
1311
+ deleteServiceServiceSignoffById(id) {
1312
+ return this.request({
1313
+ path: `/service/serviceSignoff/${id}`,
1314
+ method: 'delete',
1315
+ });
1316
+ }
1317
+ putServiceServiceSignoffById(id, serviceSignoff) {
1318
+ return this.request({
1319
+ path: `/service/serviceSignoff/${id}`,
1320
+ method: 'put',
1321
+ data: serviceSignoff,
1322
+ });
1323
+ }
1324
+ patchServiceServiceSignoffById(id, patchOperations) {
1325
+ return this.request({
1326
+ path: `/service/serviceSignoff/${id}`,
1327
+ method: 'patch',
1328
+ data: patchOperations,
1329
+ });
1330
+ }
1331
+ getServiceServiceSignoffByIdInfo(id, params = {}) {
1332
+ return this.request({
1333
+ path: `/service/serviceSignoff/${id}/info`,
1334
+ method: 'get',
1335
+ params,
1336
+ });
1337
+ }
1338
+ getServiceServiceSignoffByIdUsages(id, params = {}) {
1339
+ return this.request({
1340
+ path: `/service/serviceSignoff/${id}/usages`,
1341
+ method: 'get',
1342
+ params,
1343
+ });
1344
+ }
1345
+ getServiceServiceSignoffByIdUsagesList(id, params = {}) {
1346
+ return this.request({
1347
+ path: `/service/serviceSignoff/${id}/usages/list`,
1348
+ method: 'get',
1349
+ params,
1350
+ });
1351
+ }
1352
+ getServiceServiceSignoffCount(params = {}) {
1353
+ return this.request({
1354
+ path: `/service/serviceSignoff/count`,
1355
+ method: 'get',
1356
+ params,
1357
+ });
1358
+ }
1359
+ getServiceServiceSignoffInfo(params = {}) {
1360
+ return this.request({
1361
+ path: `/service/serviceSignoff/info`,
1362
+ method: 'get',
1363
+ params,
1364
+ });
1365
+ }
1366
+ getServiceServiceSignoffInfoCount(params = {}) {
1367
+ return this.request({
1368
+ path: `/service/serviceSignoff/info/count`,
1369
+ method: 'get',
1370
+ params,
1371
+ });
1372
+ }
1373
+ getServiceSeverities(params = {}) {
1374
+ return this.request({
1375
+ path: `/service/severities`,
1376
+ method: 'get',
1377
+ params,
1378
+ });
1379
+ }
1380
+ getServiceSeveritiesById(id, params = {}) {
1381
+ return this.request({
1382
+ path: `/service/severities/${id}`,
1383
+ method: 'get',
1384
+ params,
1385
+ });
1386
+ }
1387
+ putServiceSeveritiesById(id, severity) {
1388
+ return this.request({
1389
+ path: `/service/severities/${id}`,
1390
+ method: 'put',
1391
+ data: severity,
1392
+ });
1393
+ }
1394
+ patchServiceSeveritiesById(id, patchOperations) {
1395
+ return this.request({
1396
+ path: `/service/severities/${id}`,
1397
+ method: 'patch',
1398
+ data: patchOperations,
1399
+ });
1400
+ }
1401
+ getServiceSeveritiesCount(params = {}) {
1402
+ return this.request({
1403
+ path: `/service/severities/count`,
1404
+ method: 'get',
1405
+ params,
1406
+ });
1407
+ }
1408
+ getServiceSlainfoByIdInfo(id, params = {}) {
1409
+ return this.request({
1410
+ path: `/service/slainfo/${id}/info`,
1411
+ method: 'get',
1412
+ params,
1413
+ });
1414
+ }
1415
+ getServiceSlainfoInfo(params = {}) {
1416
+ return this.request({
1417
+ path: `/service/slainfo/info`,
1418
+ method: 'get',
1419
+ params,
1420
+ });
1421
+ }
1422
+ getServiceSLAs(params = {}) {
1423
+ return this.request({
1424
+ path: `/service/SLAs`,
1425
+ method: 'get',
1426
+ params,
1427
+ });
1428
+ }
1429
+ postServiceSLAs(sLA) {
1430
+ return this.request({
1431
+ path: `/service/SLAs`,
1432
+ method: 'post',
1433
+ data: sLA,
1434
+ });
1435
+ }
1436
+ getServiceSLAsById(id, params = {}) {
1437
+ return this.request({
1438
+ path: `/service/SLAs/${id}`,
1439
+ method: 'get',
1440
+ params,
1441
+ });
1442
+ }
1443
+ deleteServiceSLAsById(id) {
1444
+ return this.request({
1445
+ path: `/service/SLAs/${id}`,
1446
+ method: 'delete',
1447
+ });
1448
+ }
1449
+ putServiceSLAsById(id, sLA) {
1450
+ return this.request({
1451
+ path: `/service/SLAs/${id}`,
1452
+ method: 'put',
1453
+ data: sLA,
1454
+ });
1455
+ }
1456
+ patchServiceSLAsById(id, patchOperations) {
1457
+ return this.request({
1458
+ path: `/service/SLAs/${id}`,
1459
+ method: 'patch',
1460
+ data: patchOperations,
1461
+ });
1462
+ }
1463
+ getServiceSLAsByIdUsages(id, params = {}) {
1464
+ return this.request({
1465
+ path: `/service/SLAs/${id}/usages`,
1466
+ method: 'get',
1467
+ params,
1468
+ });
1469
+ }
1470
+ getServiceSLAsByIdUsagesList(id, params = {}) {
1471
+ return this.request({
1472
+ path: `/service/SLAs/${id}/usages/list`,
1473
+ method: 'get',
1474
+ params,
1475
+ });
1476
+ }
1477
+ getServiceSLAsByParentIdPriorities(parentId, params = {}) {
1478
+ return this.request({
1479
+ path: `/service/SLAs/${parentId}/priorities`,
1480
+ method: 'get',
1481
+ params,
1482
+ });
1483
+ }
1484
+ postServiceSLAsByParentIdPriorities(parentId, sLAPriority) {
1485
+ return this.request({
1486
+ path: `/service/SLAs/${parentId}/priorities`,
1487
+ method: 'post',
1488
+ data: sLAPriority,
1489
+ });
1490
+ }
1491
+ getServiceSLAsByParentIdPrioritiesById(id, parentId, params = {}) {
1492
+ return this.request({
1493
+ path: `/service/SLAs/${parentId}/priorities/${id}`,
1494
+ method: 'get',
1495
+ params,
1496
+ });
1497
+ }
1498
+ deleteServiceSLAsByParentIdPrioritiesById(id, parentId) {
1499
+ return this.request({
1500
+ path: `/service/SLAs/${parentId}/priorities/${id}`,
1501
+ method: 'delete',
1502
+ });
1503
+ }
1504
+ putServiceSLAsByParentIdPrioritiesById(id, parentId, sLAPriority) {
1505
+ return this.request({
1506
+ path: `/service/SLAs/${parentId}/priorities/${id}`,
1507
+ method: 'put',
1508
+ data: sLAPriority,
1509
+ });
1510
+ }
1511
+ patchServiceSLAsByParentIdPrioritiesById(id, parentId, patchOperations) {
1512
+ return this.request({
1513
+ path: `/service/SLAs/${parentId}/priorities/${id}`,
1514
+ method: 'patch',
1515
+ data: patchOperations,
1516
+ });
1517
+ }
1518
+ getServiceSLAsByParentIdPrioritiesCount(parentId, params = {}) {
1519
+ return this.request({
1520
+ path: `/service/SLAs/${parentId}/priorities/count`,
1521
+ method: 'get',
1522
+ params,
1523
+ });
1524
+ }
1525
+ getServiceSLAsCount(params = {}) {
1526
+ return this.request({
1527
+ path: `/service/SLAs/count`,
1528
+ method: 'get',
1529
+ params,
1530
+ });
1531
+ }
1532
+ getServiceSLAsInfoCount(params = {}) {
1533
+ return this.request({
1534
+ path: `/service/SLAs/info/count`,
1535
+ method: 'get',
1536
+ params,
1537
+ });
1538
+ }
1539
+ getServiceSources(params = {}) {
1540
+ return this.request({
1541
+ path: `/service/sources`,
1542
+ method: 'get',
1543
+ params,
1544
+ });
1545
+ }
1546
+ postServiceSources(source) {
1547
+ return this.request({
1548
+ path: `/service/sources`,
1549
+ method: 'post',
1550
+ data: source,
1551
+ });
1552
+ }
1553
+ getServiceSourcesById(id, params = {}) {
1554
+ return this.request({
1555
+ path: `/service/sources/${id}`,
1556
+ method: 'get',
1557
+ params,
1558
+ });
1559
+ }
1560
+ deleteServiceSourcesById(id) {
1561
+ return this.request({
1562
+ path: `/service/sources/${id}`,
1563
+ method: 'delete',
1564
+ });
1565
+ }
1566
+ putServiceSourcesById(id, source) {
1567
+ return this.request({
1568
+ path: `/service/sources/${id}`,
1569
+ method: 'put',
1570
+ data: source,
1571
+ });
1572
+ }
1573
+ patchServiceSourcesById(id, patchOperations) {
1574
+ return this.request({
1575
+ path: `/service/sources/${id}`,
1576
+ method: 'patch',
1577
+ data: patchOperations,
1578
+ });
1579
+ }
1580
+ getServiceSourcesByIdInfo(id, params = {}) {
1581
+ return this.request({
1582
+ path: `/service/sources/${id}/info`,
1583
+ method: 'get',
1584
+ params,
1585
+ });
1586
+ }
1587
+ getServiceSourcesByIdUsages(id, params = {}) {
1588
+ return this.request({
1589
+ path: `/service/sources/${id}/usages`,
1590
+ method: 'get',
1591
+ params,
1592
+ });
1593
+ }
1594
+ getServiceSourcesByIdUsagesList(id, params = {}) {
1595
+ return this.request({
1596
+ path: `/service/sources/${id}/usages/list`,
1597
+ method: 'get',
1598
+ params,
1599
+ });
1600
+ }
1601
+ getServiceSourcesCount(params = {}) {
1602
+ return this.request({
1603
+ path: `/service/sources/count`,
1604
+ method: 'get',
1605
+ params,
1606
+ });
1607
+ }
1608
+ getServiceSourcesInfo(params = {}) {
1609
+ return this.request({
1610
+ path: `/service/sources/info`,
1611
+ method: 'get',
1612
+ params,
1613
+ });
1614
+ }
1615
+ getServiceSourcesInfoCount(params = {}) {
1616
+ return this.request({
1617
+ path: `/service/sources/info/count`,
1618
+ method: 'get',
1619
+ params,
1620
+ });
1621
+ }
1622
+ getServiceSurveys(params = {}) {
1623
+ return this.request({
1624
+ path: `/service/surveys`,
1625
+ method: 'get',
1626
+ params,
1627
+ });
1628
+ }
1629
+ postServiceSurveys(survey) {
1630
+ return this.request({
1631
+ path: `/service/surveys`,
1632
+ method: 'post',
1633
+ data: survey,
1634
+ });
1635
+ }
1636
+ getServiceSurveysByGrandparentIdQuestionsByParentIdOptions(parentId, grandparentId, params = {}) {
1637
+ return this.request({
1638
+ path: `/service/surveys/${grandparentId}/questions/${parentId}/options`,
1639
+ method: 'get',
1640
+ params,
1641
+ });
1642
+ }
1643
+ postServiceSurveysByGrandparentIdQuestionsByParentIdOptions(parentId, grandparentId, surveyOption) {
1644
+ return this.request({
1645
+ path: `/service/surveys/${grandparentId}/questions/${parentId}/options`,
1646
+ method: 'post',
1647
+ data: surveyOption,
1648
+ });
1649
+ }
1650
+ getServiceSurveysByGrandparentIdQuestionsByParentIdOptionsById(id, parentId, grandparentId, params = {}) {
1651
+ return this.request({
1652
+ path: `/service/surveys/${grandparentId}/questions/${parentId}/options/${id}`,
1653
+ method: 'get',
1654
+ params,
1655
+ });
1656
+ }
1657
+ deleteServiceSurveysByGrandparentIdQuestionsByParentIdOptionsById(id, parentId, grandparentId) {
1658
+ return this.request({
1659
+ path: `/service/surveys/${grandparentId}/questions/${parentId}/options/${id}`,
1660
+ method: 'delete',
1661
+ });
1662
+ }
1663
+ putServiceSurveysByGrandparentIdQuestionsByParentIdOptionsById(id, parentId, grandparentId, surveyOption) {
1664
+ return this.request({
1665
+ path: `/service/surveys/${grandparentId}/questions/${parentId}/options/${id}`,
1666
+ method: 'put',
1667
+ data: surveyOption,
1668
+ });
1669
+ }
1670
+ patchServiceSurveysByGrandparentIdQuestionsByParentIdOptionsById(id, parentId, grandparentId, patchOperations) {
1671
+ return this.request({
1672
+ path: `/service/surveys/${grandparentId}/questions/${parentId}/options/${id}`,
1673
+ method: 'patch',
1674
+ data: patchOperations,
1675
+ });
1676
+ }
1677
+ getServiceSurveysByGrandparentIdQuestionsByParentIdOptionsCount(parentId, grandparentId, params = {}) {
1678
+ return this.request({
1679
+ path: `/service/surveys/${grandparentId}/questions/${parentId}/options/count`,
1680
+ method: 'get',
1681
+ params,
1682
+ });
1683
+ }
1684
+ getServiceSurveysById(id, params = {}) {
1685
+ return this.request({
1686
+ path: `/service/surveys/${id}`,
1687
+ method: 'get',
1688
+ params,
1689
+ });
1690
+ }
1691
+ deleteServiceSurveysById(id) {
1692
+ return this.request({
1693
+ path: `/service/surveys/${id}`,
1694
+ method: 'delete',
1695
+ });
1696
+ }
1697
+ putServiceSurveysById(id, survey) {
1698
+ return this.request({
1699
+ path: `/service/surveys/${id}`,
1700
+ method: 'put',
1701
+ data: survey,
1702
+ });
1703
+ }
1704
+ patchServiceSurveysById(id, patchOperations) {
1705
+ return this.request({
1706
+ path: `/service/surveys/${id}`,
1707
+ method: 'patch',
1708
+ data: patchOperations,
1709
+ });
1710
+ }
1711
+ postServiceSurveysByIdCopy(id) {
1712
+ return this.request({
1713
+ path: `/service/surveys/${id}/copy`,
1714
+ method: 'post',
1715
+ });
1716
+ }
1717
+ getServiceSurveysByIdUsages(id, params = {}) {
1718
+ return this.request({
1719
+ path: `/service/surveys/${id}/usages`,
1720
+ method: 'get',
1721
+ params,
1722
+ });
1723
+ }
1724
+ getServiceSurveysByIdUsagesList(id, params = {}) {
1725
+ return this.request({
1726
+ path: `/service/surveys/${id}/usages/list`,
1727
+ method: 'get',
1728
+ params,
1729
+ });
1730
+ }
1731
+ getServiceSurveysByParentIdQuestions(parentId, params = {}) {
1732
+ return this.request({
1733
+ path: `/service/surveys/${parentId}/questions`,
1734
+ method: 'get',
1735
+ params,
1736
+ });
1737
+ }
1738
+ postServiceSurveysByParentIdQuestions(parentId, serviceSurveyQuestion) {
1739
+ return this.request({
1740
+ path: `/service/surveys/${parentId}/questions`,
1741
+ method: 'post',
1742
+ data: serviceSurveyQuestion,
1743
+ });
1744
+ }
1745
+ getServiceSurveysByParentIdQuestionsById(id, parentId, params = {}) {
1746
+ return this.request({
1747
+ path: `/service/surveys/${parentId}/questions/${id}`,
1748
+ method: 'get',
1749
+ params,
1750
+ });
1751
+ }
1752
+ deleteServiceSurveysByParentIdQuestionsById(id, parentId) {
1753
+ return this.request({
1754
+ path: `/service/surveys/${parentId}/questions/${id}`,
1755
+ method: 'delete',
1756
+ });
1757
+ }
1758
+ putServiceSurveysByParentIdQuestionsById(id, parentId, serviceSurveyQuestion) {
1759
+ return this.request({
1760
+ path: `/service/surveys/${parentId}/questions/${id}`,
1761
+ method: 'put',
1762
+ data: serviceSurveyQuestion,
1763
+ });
1764
+ }
1765
+ patchServiceSurveysByParentIdQuestionsById(id, parentId, patchOperations) {
1766
+ return this.request({
1767
+ path: `/service/surveys/${parentId}/questions/${id}`,
1768
+ method: 'patch',
1769
+ data: patchOperations,
1770
+ });
1771
+ }
1772
+ postServiceSurveysByParentIdQuestionsByIdCopy(id, parentId) {
1773
+ return this.request({
1774
+ path: `/service/surveys/${parentId}/questions/${id}/copy`,
1775
+ method: 'post',
1776
+ });
1777
+ }
1778
+ getServiceSurveysByParentIdQuestionsCount(parentId, params = {}) {
1779
+ return this.request({
1780
+ path: `/service/surveys/${parentId}/questions/count`,
1781
+ method: 'get',
1782
+ params,
1783
+ });
1784
+ }
1785
+ getServiceSurveysByParentIdResults(parentId, params = {}) {
1786
+ return this.request({
1787
+ path: `/service/surveys/${parentId}/results`,
1788
+ method: 'get',
1789
+ params,
1790
+ });
1791
+ }
1792
+ postServiceSurveysByParentIdResults(parentId, surveyResult) {
1793
+ return this.request({
1794
+ path: `/service/surveys/${parentId}/results`,
1795
+ method: 'post',
1796
+ data: surveyResult,
1797
+ });
1798
+ }
1799
+ getServiceSurveysByParentIdResultsById(id, parentId, params = {}) {
1800
+ return this.request({
1801
+ path: `/service/surveys/${parentId}/results/${id}`,
1802
+ method: 'get',
1803
+ params,
1804
+ });
1805
+ }
1806
+ deleteServiceSurveysByParentIdResultsById(id, parentId) {
1807
+ return this.request({
1808
+ path: `/service/surveys/${parentId}/results/${id}`,
1809
+ method: 'delete',
1810
+ });
1811
+ }
1812
+ putServiceSurveysByParentIdResultsById(id, parentId, surveyResult) {
1813
+ return this.request({
1814
+ path: `/service/surveys/${parentId}/results/${id}`,
1815
+ method: 'put',
1816
+ data: surveyResult,
1817
+ });
1818
+ }
1819
+ patchServiceSurveysByParentIdResultsById(id, parentId, patchOperations) {
1820
+ return this.request({
1821
+ path: `/service/surveys/${parentId}/results/${id}`,
1822
+ method: 'patch',
1823
+ data: patchOperations,
1824
+ });
1825
+ }
1826
+ getServiceSurveysByParentIdResultsCount(parentId, params = {}) {
1827
+ return this.request({
1828
+ path: `/service/surveys/${parentId}/results/count`,
1829
+ method: 'get',
1830
+ params,
1831
+ });
1832
+ }
1833
+ getServiceSurveysCount(params = {}) {
1834
+ return this.request({
1835
+ path: `/service/surveys/count`,
1836
+ method: 'get',
1837
+ params,
1838
+ });
1839
+ }
1840
+ postServiceTeamMembers(teamMember) {
1841
+ return this.request({
1842
+ path: `/service/teamMembers`,
1843
+ method: 'post',
1844
+ data: teamMember,
1845
+ });
1846
+ }
1847
+ getServiceTeams(params = {}) {
1848
+ return this.request({
1849
+ path: `/service/teams`,
1850
+ method: 'get',
1851
+ params,
1852
+ });
1853
+ }
1854
+ getServiceTeamsById(id, params = {}) {
1855
+ return this.request({
1856
+ path: `/service/teams/${id}`,
1857
+ method: 'get',
1858
+ params,
1859
+ });
1860
+ }
1861
+ getServiceTeamsCount(params = {}) {
1862
+ return this.request({
1863
+ path: `/service/teams/count`,
1864
+ method: 'get',
1865
+ params,
1866
+ });
1867
+ }
1868
+ getServiceTemplates(params = {}) {
1869
+ return this.request({
1870
+ path: `/service/templates`,
1871
+ method: 'get',
1872
+ params,
1873
+ });
1874
+ }
1875
+ getServiceTemplatesById(id, params = {}) {
1876
+ return this.request({
1877
+ path: `/service/templates/${id}`,
1878
+ method: 'get',
1879
+ params,
1880
+ });
1881
+ }
1882
+ postServiceTemplatesByIdGenerate(id) {
1883
+ return this.request({
1884
+ path: `/service/templates/${id}/generate`,
1885
+ method: 'post',
1886
+ });
1887
+ }
1888
+ getServiceTemplatesByIdInfo(id, params = {}) {
1889
+ return this.request({
1890
+ path: `/service/templates/${id}/info`,
1891
+ method: 'get',
1892
+ params,
1893
+ });
1894
+ }
1895
+ getServiceTemplatesCount(params = {}) {
1896
+ return this.request({
1897
+ path: `/service/templates/count`,
1898
+ method: 'get',
1899
+ params,
1900
+ });
1901
+ }
1902
+ getServiceTemplatesInfo(params = {}) {
1903
+ return this.request({
1904
+ path: `/service/templates/info`,
1905
+ method: 'get',
1906
+ params,
1907
+ });
1908
+ }
1909
+ getServiceTemplatesInfoCount(params = {}) {
1910
+ return this.request({
1911
+ path: `/service/templates/info/count`,
1912
+ method: 'get',
1913
+ params,
1914
+ });
1915
+ }
1916
+ getServiceTicketLinks(params = {}) {
1917
+ return this.request({
1918
+ path: `/service/ticketLinks`,
1919
+ method: 'get',
1920
+ params,
1921
+ });
1922
+ }
1923
+ postServiceTicketLinks(serviceTicketLink) {
1924
+ return this.request({
1925
+ path: `/service/ticketLinks`,
1926
+ method: 'post',
1927
+ data: serviceTicketLink,
1928
+ });
1929
+ }
1930
+ getServiceTicketLinksById(id, params = {}) {
1931
+ return this.request({
1932
+ path: `/service/ticketLinks/${id}`,
1933
+ method: 'get',
1934
+ params,
1935
+ });
1936
+ }
1937
+ deleteServiceTicketLinksById(id) {
1938
+ return this.request({
1939
+ path: `/service/ticketLinks/${id}`,
1940
+ method: 'delete',
1941
+ });
1942
+ }
1943
+ putServiceTicketLinksById(id, serviceTicketLink) {
1944
+ return this.request({
1945
+ path: `/service/ticketLinks/${id}`,
1946
+ method: 'put',
1947
+ data: serviceTicketLink,
1948
+ });
1949
+ }
1950
+ patchServiceTicketLinksById(id, patchOperations) {
1951
+ return this.request({
1952
+ path: `/service/ticketLinks/${id}`,
1953
+ method: 'patch',
1954
+ data: patchOperations,
1955
+ });
1956
+ }
1957
+ getServiceTicketLinksByIdInfo(id, params = {}) {
1958
+ return this.request({
1959
+ path: `/service/ticketLinks/${id}/info`,
1960
+ method: 'get',
1961
+ params,
1962
+ });
1963
+ }
1964
+ getServiceTicketLinksCount(params = {}) {
1965
+ return this.request({
1966
+ path: `/service/ticketLinks/count`,
1967
+ method: 'get',
1968
+ params,
1969
+ });
1970
+ }
1971
+ getServiceTicketLinksInfo(params = {}) {
1972
+ return this.request({
1973
+ path: `/service/ticketLinks/info`,
1974
+ method: 'get',
1975
+ params,
1976
+ });
1977
+ }
1978
+ getServiceTicketLinksInfoCount(params = {}) {
1979
+ return this.request({
1980
+ path: `/service/ticketLinks/info/count`,
1981
+ method: 'get',
1982
+ params,
1983
+ });
1984
+ }
1985
+ getServiceTickets(params = {}) {
1986
+ return this.request({
1987
+ path: `/service/tickets`,
1988
+ method: 'get',
1989
+ params,
1990
+ });
1991
+ }
1992
+ postServiceTickets(ticket) {
1993
+ return this.request({
1994
+ path: `/service/tickets`,
1995
+ method: 'post',
1996
+ data: ticket,
1997
+ });
1998
+ }
1999
+ getServiceTicketsById(id, params = {}) {
2000
+ return this.request({
2001
+ path: `/service/tickets/${id}`,
2002
+ method: 'get',
2003
+ params,
2004
+ });
2005
+ }
2006
+ deleteServiceTicketsById(id) {
2007
+ return this.request({
2008
+ path: `/service/tickets/${id}`,
2009
+ method: 'delete',
2010
+ });
2011
+ }
2012
+ putServiceTicketsById(id, ticket) {
2013
+ return this.request({
2014
+ path: `/service/tickets/${id}`,
2015
+ method: 'put',
2016
+ data: ticket,
2017
+ });
2018
+ }
2019
+ patchServiceTicketsById(id, patchOperations) {
2020
+ return this.request({
2021
+ path: `/service/tickets/${id}`,
2022
+ method: 'patch',
2023
+ data: patchOperations,
2024
+ });
2025
+ }
2026
+ getServiceTicketsByIdInfo(id, params = {}) {
2027
+ return this.request({
2028
+ path: `/service/tickets/${id}/info`,
2029
+ method: 'get',
2030
+ params,
2031
+ });
2032
+ }
2033
+ getServiceTicketsByParentIdActivities(parentId, params = {}) {
2034
+ return this.request({
2035
+ path: `/service/tickets/${parentId}/activities`,
2036
+ method: 'get',
2037
+ params,
2038
+ });
2039
+ }
2040
+ getServiceTicketsByParentIdActivitiesCount(parentId, params = {}) {
2041
+ return this.request({
2042
+ path: `/service/tickets/${parentId}/activities/count`,
2043
+ method: 'get',
2044
+ params,
2045
+ });
2046
+ }
2047
+ getServiceTicketsByParentIdAllNotes(parentId, params = {}) {
2048
+ return this.request({
2049
+ path: `/service/tickets/${parentId}/allNotes`,
2050
+ method: 'get',
2051
+ params,
2052
+ });
2053
+ }
2054
+ postServiceTicketsByParentIdAttachChildren(parentId, bundle) {
2055
+ return this.request({
2056
+ path: `/service/tickets/${parentId}/attachChildren`,
2057
+ method: 'post',
2058
+ data: bundle,
2059
+ });
2060
+ }
2061
+ getServiceTicketsByParentIdConfigurations(parentId, params = {}) {
2062
+ return this.request({
2063
+ path: `/service/tickets/${parentId}/configurations`,
2064
+ method: 'get',
2065
+ params,
2066
+ });
2067
+ }
2068
+ postServiceTicketsByParentIdConfigurations(parentId, configuration) {
2069
+ return this.request({
2070
+ path: `/service/tickets/${parentId}/configurations`,
2071
+ method: 'post',
2072
+ data: configuration,
2073
+ });
2074
+ }
2075
+ getServiceTicketsByParentIdConfigurationsById(id, parentId, params = {}) {
2076
+ return this.request({
2077
+ path: `/service/tickets/${parentId}/configurations/${id}`,
2078
+ method: 'get',
2079
+ params,
2080
+ });
2081
+ }
2082
+ deleteServiceTicketsByParentIdConfigurationsById(id, parentId) {
2083
+ return this.request({
2084
+ path: `/service/tickets/${parentId}/configurations/${id}`,
2085
+ method: 'delete',
2086
+ });
2087
+ }
2088
+ getServiceTicketsByParentIdConfigurationsCount(parentId, params = {}) {
2089
+ return this.request({
2090
+ path: `/service/tickets/${parentId}/configurations/count`,
2091
+ method: 'get',
2092
+ params,
2093
+ });
2094
+ }
2095
+ postServiceTicketsByParentIdConvert(parentId, conversion) {
2096
+ return this.request({
2097
+ path: `/service/tickets/${parentId}/convert`,
2098
+ method: 'post',
2099
+ data: conversion,
2100
+ });
2101
+ }
2102
+ getServiceTicketsByParentIdDocuments(parentId, params = {}) {
2103
+ return this.request({
2104
+ path: `/service/tickets/${parentId}/documents`,
2105
+ method: 'get',
2106
+ params,
2107
+ });
2108
+ }
2109
+ getServiceTicketsByParentIdDocumentsCount(parentId, params = {}) {
2110
+ return this.request({
2111
+ path: `/service/tickets/${parentId}/documents/count`,
2112
+ method: 'get',
2113
+ params,
2114
+ });
2115
+ }
2116
+ postServiceTicketsByParentIdMerge(parentId, merge) {
2117
+ return this.request({
2118
+ path: `/service/tickets/${parentId}/merge`,
2119
+ method: 'post',
2120
+ data: merge,
2121
+ });
2122
+ }
2123
+ getServiceTicketsByParentIdNotes(parentId, params = {}) {
2124
+ return this.request({
2125
+ path: `/service/tickets/${parentId}/notes`,
2126
+ method: 'get',
2127
+ params,
2128
+ });
2129
+ }
2130
+ postServiceTicketsByParentIdNotes(parentId, serviceNote) {
2131
+ return this.request({
2132
+ path: `/service/tickets/${parentId}/notes`,
2133
+ method: 'post',
2134
+ data: serviceNote,
2135
+ });
2136
+ }
2137
+ getServiceTicketsByParentIdNotesById(id, parentId, params = {}) {
2138
+ return this.request({
2139
+ path: `/service/tickets/${parentId}/notes/${id}`,
2140
+ method: 'get',
2141
+ params,
2142
+ });
2143
+ }
2144
+ deleteServiceTicketsByParentIdNotesById(id, parentId) {
2145
+ return this.request({
2146
+ path: `/service/tickets/${parentId}/notes/${id}`,
2147
+ method: 'delete',
2148
+ });
2149
+ }
2150
+ putServiceTicketsByParentIdNotesById(id, parentId, serviceNote) {
2151
+ return this.request({
2152
+ path: `/service/tickets/${parentId}/notes/${id}`,
2153
+ method: 'put',
2154
+ data: serviceNote,
2155
+ });
2156
+ }
2157
+ patchServiceTicketsByParentIdNotesById(id, parentId, patchOperations) {
2158
+ return this.request({
2159
+ path: `/service/tickets/${parentId}/notes/${id}`,
2160
+ method: 'patch',
2161
+ data: patchOperations,
2162
+ });
2163
+ }
2164
+ getServiceTicketsByParentIdNotesCount(parentId, params = {}) {
2165
+ return this.request({
2166
+ path: `/service/tickets/${parentId}/notes/count`,
2167
+ method: 'get',
2168
+ params,
2169
+ });
2170
+ }
2171
+ getServiceTicketsByParentIdProducts(parentId, params = {}) {
2172
+ return this.request({
2173
+ path: `/service/tickets/${parentId}/products`,
2174
+ method: 'get',
2175
+ params,
2176
+ });
2177
+ }
2178
+ getServiceTicketsByParentIdProductsCount(parentId, params = {}) {
2179
+ return this.request({
2180
+ path: `/service/tickets/${parentId}/products/count`,
2181
+ method: 'get',
2182
+ params,
2183
+ });
2184
+ }
2185
+ getServiceTicketsByParentIdScheduleentries(parentId, params = {}) {
2186
+ return this.request({
2187
+ path: `/service/tickets/${parentId}/scheduleentries`,
2188
+ method: 'get',
2189
+ params,
2190
+ });
2191
+ }
2192
+ getServiceTicketsByParentIdScheduleentriesCount(parentId, params = {}) {
2193
+ return this.request({
2194
+ path: `/service/tickets/${parentId}/scheduleentries/count`,
2195
+ method: 'get',
2196
+ params,
2197
+ });
2198
+ }
2199
+ getServiceTicketsByParentIdTasks(parentId, params = {}) {
2200
+ return this.request({
2201
+ path: `/service/tickets/${parentId}/tasks`,
2202
+ method: 'get',
2203
+ params,
2204
+ });
2205
+ }
2206
+ postServiceTicketsByParentIdTasks(parentId, task) {
2207
+ return this.request({
2208
+ path: `/service/tickets/${parentId}/tasks`,
2209
+ method: 'post',
2210
+ data: task,
2211
+ });
2212
+ }
2213
+ getServiceTicketsByParentIdTasksById(id, parentId, params = {}) {
2214
+ return this.request({
2215
+ path: `/service/tickets/${parentId}/tasks/${id}`,
2216
+ method: 'get',
2217
+ params,
2218
+ });
2219
+ }
2220
+ deleteServiceTicketsByParentIdTasksById(id, parentId) {
2221
+ return this.request({
2222
+ path: `/service/tickets/${parentId}/tasks/${id}`,
2223
+ method: 'delete',
2224
+ });
2225
+ }
2226
+ putServiceTicketsByParentIdTasksById(id, parentId, task) {
2227
+ return this.request({
2228
+ path: `/service/tickets/${parentId}/tasks/${id}`,
2229
+ method: 'put',
2230
+ data: task,
2231
+ });
2232
+ }
2233
+ patchServiceTicketsByParentIdTasksById(id, parentId, patchOperations) {
2234
+ return this.request({
2235
+ path: `/service/tickets/${parentId}/tasks/${id}`,
2236
+ method: 'patch',
2237
+ data: patchOperations,
2238
+ });
2239
+ }
2240
+ getServiceTicketsByParentIdTasksCount(parentId, params = {}) {
2241
+ return this.request({
2242
+ path: `/service/tickets/${parentId}/tasks/count`,
2243
+ method: 'get',
2244
+ params,
2245
+ });
2246
+ }
2247
+ getServiceTicketsByParentIdTimeentries(parentId, params = {}) {
2248
+ return this.request({
2249
+ path: `/service/tickets/${parentId}/timeentries`,
2250
+ method: 'get',
2251
+ params,
2252
+ });
2253
+ }
2254
+ getServiceTicketsByParentIdTimeentriesCount(parentId, params = {}) {
2255
+ return this.request({
2256
+ path: `/service/tickets/${parentId}/timeentries/count`,
2257
+ method: 'get',
2258
+ params,
2259
+ });
2260
+ }
2261
+ getServiceTicketsCount(params = {}) {
2262
+ return this.request({
2263
+ path: `/service/tickets/count`,
2264
+ method: 'get',
2265
+ params,
2266
+ });
2267
+ }
2268
+ getServiceTicketsInfo(params = {}) {
2269
+ return this.request({
2270
+ path: `/service/tickets/info`,
2271
+ method: 'get',
2272
+ params,
2273
+ });
2274
+ }
2275
+ getServiceTicketsInfoCount(params = {}) {
2276
+ return this.request({
2277
+ path: `/service/tickets/info/count`,
2278
+ method: 'get',
2279
+ params,
2280
+ });
2281
+ }
2282
+ postServiceTicketsSearch(filterValues) {
2283
+ return this.request({
2284
+ path: `/service/tickets/search`,
2285
+ method: 'post',
2286
+ data: filterValues,
2287
+ });
2288
+ }
2289
+ getServiceTicketSyncs(params = {}) {
2290
+ return this.request({
2291
+ path: `/service/ticketSyncs`,
2292
+ method: 'get',
2293
+ params,
2294
+ });
2295
+ }
2296
+ postServiceTicketSyncs(ticketSync) {
2297
+ return this.request({
2298
+ path: `/service/ticketSyncs`,
2299
+ method: 'post',
2300
+ data: ticketSync,
2301
+ });
2302
+ }
2303
+ getServiceTicketSyncsById(id, params = {}) {
2304
+ return this.request({
2305
+ path: `/service/ticketSyncs/${id}`,
2306
+ method: 'get',
2307
+ params,
2308
+ });
2309
+ }
2310
+ deleteServiceTicketSyncsById(id) {
2311
+ return this.request({
2312
+ path: `/service/ticketSyncs/${id}`,
2313
+ method: 'delete',
2314
+ });
2315
+ }
2316
+ putServiceTicketSyncsById(id, ticketSync) {
2317
+ return this.request({
2318
+ path: `/service/ticketSyncs/${id}`,
2319
+ method: 'put',
2320
+ data: ticketSync,
2321
+ });
2322
+ }
2323
+ patchServiceTicketSyncsById(id, patchOperations) {
2324
+ return this.request({
2325
+ path: `/service/ticketSyncs/${id}`,
2326
+ method: 'patch',
2327
+ data: patchOperations,
2328
+ });
2329
+ }
2330
+ getServiceTicketSyncsCount(params = {}) {
2331
+ return this.request({
2332
+ path: `/service/ticketSyncs/count`,
2333
+ method: 'get',
2334
+ params,
2335
+ });
2336
+ }
2337
+ }
2338
+ exports.ServiceAPI = ServiceAPI;
2339
+ //# sourceMappingURL=ServiceAPI.js.map