connectwise-rest 0.23.3 → 1.0.0

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