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,2103 @@
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.ProcurementAPI = void 0;
7
+ /* This file was auto-generated, do not manually edit. */
8
+ const Manage_1 = __importDefault(require("../Manage"));
9
+ /**
10
+ * @module ProcurementAPI
11
+ */
12
+ /**
13
+ * Procurement module
14
+ * @public
15
+ */
16
+ class ProcurementAPI extends Manage_1.default {
17
+ constructor(props) {
18
+ super(props);
19
+ }
20
+ getProcurementAdjustments(params = {}) {
21
+ return this.request({
22
+ path: `/procurement/adjustments`,
23
+ method: 'get',
24
+ params,
25
+ });
26
+ }
27
+ postProcurementAdjustments(adjustment) {
28
+ return this.request({
29
+ path: `/procurement/adjustments`,
30
+ method: 'post',
31
+ data: adjustment,
32
+ });
33
+ }
34
+ getProcurementAdjustmentsById(id, params = {}) {
35
+ return this.request({
36
+ path: `/procurement/adjustments/${id}`,
37
+ method: 'get',
38
+ params,
39
+ });
40
+ }
41
+ deleteProcurementAdjustmentsById(id) {
42
+ return this.request({
43
+ path: `/procurement/adjustments/${id}`,
44
+ method: 'delete',
45
+ });
46
+ }
47
+ putProcurementAdjustmentsById(id, adjustment) {
48
+ return this.request({
49
+ path: `/procurement/adjustments/${id}`,
50
+ method: 'put',
51
+ data: adjustment,
52
+ });
53
+ }
54
+ patchProcurementAdjustmentsById(id, patchOperations) {
55
+ return this.request({
56
+ path: `/procurement/adjustments/${id}`,
57
+ method: 'patch',
58
+ data: patchOperations,
59
+ });
60
+ }
61
+ getProcurementAdjustmentsByParentIdDetails(parentId, params = {}) {
62
+ return this.request({
63
+ path: `/procurement/adjustments/${parentId}/details`,
64
+ method: 'get',
65
+ params,
66
+ });
67
+ }
68
+ postProcurementAdjustmentsByParentIdDetails(parentId, adjustmentDetail) {
69
+ return this.request({
70
+ path: `/procurement/adjustments/${parentId}/details`,
71
+ method: 'post',
72
+ data: adjustmentDetail,
73
+ });
74
+ }
75
+ getProcurementAdjustmentsByParentIdDetailsById(id, parentId, params = {}) {
76
+ return this.request({
77
+ path: `/procurement/adjustments/${parentId}/details/${id}`,
78
+ method: 'get',
79
+ params,
80
+ });
81
+ }
82
+ deleteProcurementAdjustmentsByParentIdDetailsById(id, parentId) {
83
+ return this.request({
84
+ path: `/procurement/adjustments/${parentId}/details/${id}`,
85
+ method: 'delete',
86
+ });
87
+ }
88
+ getProcurementAdjustmentsByParentIdDetailsCount(parentId, params = {}) {
89
+ return this.request({
90
+ path: `/procurement/adjustments/${parentId}/details/count`,
91
+ method: 'get',
92
+ params,
93
+ });
94
+ }
95
+ getProcurementAdjustmentsCount(params = {}) {
96
+ return this.request({
97
+ path: `/procurement/adjustments/count`,
98
+ method: 'get',
99
+ params,
100
+ });
101
+ }
102
+ getProcurementAdjustmentsTypes(params = {}) {
103
+ return this.request({
104
+ path: `/procurement/adjustments/types`,
105
+ method: 'get',
106
+ params,
107
+ });
108
+ }
109
+ postProcurementAdjustmentsTypes(adjustmentTypes) {
110
+ return this.request({
111
+ path: `/procurement/adjustments/types`,
112
+ method: 'post',
113
+ data: adjustmentTypes,
114
+ });
115
+ }
116
+ getProcurementAdjustmentsTypesById(id, params = {}) {
117
+ return this.request({
118
+ path: `/procurement/adjustments/types/${id}`,
119
+ method: 'get',
120
+ params,
121
+ });
122
+ }
123
+ deleteProcurementAdjustmentsTypesById(id) {
124
+ return this.request({
125
+ path: `/procurement/adjustments/types/${id}`,
126
+ method: 'delete',
127
+ });
128
+ }
129
+ putProcurementAdjustmentsTypesById(id, adjustmentTypes) {
130
+ return this.request({
131
+ path: `/procurement/adjustments/types/${id}`,
132
+ method: 'put',
133
+ data: adjustmentTypes,
134
+ });
135
+ }
136
+ patchProcurementAdjustmentsTypesById(id, patchOperations) {
137
+ return this.request({
138
+ path: `/procurement/adjustments/types/${id}`,
139
+ method: 'patch',
140
+ data: patchOperations,
141
+ });
142
+ }
143
+ getProcurementAdjustmentsTypesByIdInfo(id, params = {}) {
144
+ return this.request({
145
+ path: `/procurement/adjustments/types/${id}/info`,
146
+ method: 'get',
147
+ params,
148
+ });
149
+ }
150
+ getProcurementAdjustmentsTypesByIdUsages(id, params = {}) {
151
+ return this.request({
152
+ path: `/procurement/adjustments/types/${id}/usages`,
153
+ method: 'get',
154
+ params,
155
+ });
156
+ }
157
+ getProcurementAdjustmentsTypesByIdUsagesList(id, params = {}) {
158
+ return this.request({
159
+ path: `/procurement/adjustments/types/${id}/usages/list`,
160
+ method: 'get',
161
+ params,
162
+ });
163
+ }
164
+ getProcurementAdjustmentsTypesCount(params = {}) {
165
+ return this.request({
166
+ path: `/procurement/adjustments/types/count`,
167
+ method: 'get',
168
+ params,
169
+ });
170
+ }
171
+ getProcurementAdjustmentsTypesInfo(params = {}) {
172
+ return this.request({
173
+ path: `/procurement/adjustments/types/info`,
174
+ method: 'get',
175
+ params,
176
+ });
177
+ }
178
+ getProcurementAdjustmentsTypesInfoCount(params = {}) {
179
+ return this.request({
180
+ path: `/procurement/adjustments/types/info/count`,
181
+ method: 'get',
182
+ params,
183
+ });
184
+ }
185
+ getProcurementCatalog(params = {}) {
186
+ return this.request({
187
+ path: `/procurement/catalog`,
188
+ method: 'get',
189
+ params,
190
+ });
191
+ }
192
+ postProcurementCatalog(catalogItem) {
193
+ return this.request({
194
+ path: `/procurement/catalog`,
195
+ method: 'post',
196
+ data: catalogItem,
197
+ });
198
+ }
199
+ getProcurementCatalogByCatalogItemIdentifierQuantityOnHand(catalogItemIdentifier, warehouseBinId, params = {}) {
200
+ return this.request({
201
+ path: `/procurement/catalog/${catalogItemIdentifier}/quantityOnHand`,
202
+ method: 'get',
203
+ params,
204
+ });
205
+ }
206
+ getProcurementCatalogById(id, params = {}) {
207
+ return this.request({
208
+ path: `/procurement/catalog/${id}`,
209
+ method: 'get',
210
+ params,
211
+ });
212
+ }
213
+ deleteProcurementCatalogById(id) {
214
+ return this.request({
215
+ path: `/procurement/catalog/${id}`,
216
+ method: 'delete',
217
+ });
218
+ }
219
+ putProcurementCatalogById(id, catalogItem) {
220
+ return this.request({
221
+ path: `/procurement/catalog/${id}`,
222
+ method: 'put',
223
+ data: catalogItem,
224
+ });
225
+ }
226
+ patchProcurementCatalogById(id, patchOperations) {
227
+ return this.request({
228
+ path: `/procurement/catalog/${id}`,
229
+ method: 'patch',
230
+ data: patchOperations,
231
+ });
232
+ }
233
+ getProcurementCatalogByIdInfo(id, params = {}) {
234
+ return this.request({
235
+ path: `/procurement/catalog/${id}/info`,
236
+ method: 'get',
237
+ params,
238
+ });
239
+ }
240
+ postProcurementCatalogByIdPricing(id, catalogPricing) {
241
+ return this.request({
242
+ path: `/procurement/catalog/${id}/pricing`,
243
+ method: 'post',
244
+ data: catalogPricing,
245
+ });
246
+ }
247
+ getProcurementCatalogByParentIdComponents(parentId, params = {}) {
248
+ return this.request({
249
+ path: `/procurement/catalog/${parentId}/components`,
250
+ method: 'get',
251
+ params,
252
+ });
253
+ }
254
+ postProcurementCatalogByParentIdComponents(parentId, catalogComponent) {
255
+ return this.request({
256
+ path: `/procurement/catalog/${parentId}/components`,
257
+ method: 'post',
258
+ data: catalogComponent,
259
+ });
260
+ }
261
+ getProcurementCatalogByParentIdComponentsById(id, parentId, params = {}) {
262
+ return this.request({
263
+ path: `/procurement/catalog/${parentId}/components/${id}`,
264
+ method: 'get',
265
+ params,
266
+ });
267
+ }
268
+ deleteProcurementCatalogByParentIdComponentsById(id, parentId) {
269
+ return this.request({
270
+ path: `/procurement/catalog/${parentId}/components/${id}`,
271
+ method: 'delete',
272
+ });
273
+ }
274
+ putProcurementCatalogByParentIdComponentsById(id, parentId, catalogComponent) {
275
+ return this.request({
276
+ path: `/procurement/catalog/${parentId}/components/${id}`,
277
+ method: 'put',
278
+ data: catalogComponent,
279
+ });
280
+ }
281
+ patchProcurementCatalogByParentIdComponentsById(id, parentId, patchOperations) {
282
+ return this.request({
283
+ path: `/procurement/catalog/${parentId}/components/${id}`,
284
+ method: 'patch',
285
+ data: patchOperations,
286
+ });
287
+ }
288
+ getProcurementCatalogByParentIdComponentsCount(parentId, params = {}) {
289
+ return this.request({
290
+ path: `/procurement/catalog/${parentId}/components/count`,
291
+ method: 'get',
292
+ params,
293
+ });
294
+ }
295
+ getProcurementCatalogByParentIdInventory(parentId, params = {}) {
296
+ return this.request({
297
+ path: `/procurement/catalog/${parentId}/inventory`,
298
+ method: 'get',
299
+ params,
300
+ });
301
+ }
302
+ getProcurementCatalogByParentIdInventoryById(id, parentId, params = {}) {
303
+ return this.request({
304
+ path: `/procurement/catalog/${parentId}/inventory/${id}`,
305
+ method: 'get',
306
+ params,
307
+ });
308
+ }
309
+ getProcurementCatalogByParentIdInventoryCount(parentId, params = {}) {
310
+ return this.request({
311
+ path: `/procurement/catalog/${parentId}/inventory/count`,
312
+ method: 'get',
313
+ params,
314
+ });
315
+ }
316
+ getProcurementCatalogByParentIdMinimumStockByWarehouse(parentId, params = {}) {
317
+ return this.request({
318
+ path: `/procurement/catalog/${parentId}/minimumStockByWarehouse`,
319
+ method: 'get',
320
+ params,
321
+ });
322
+ }
323
+ postProcurementCatalogByParentIdMinimumStockByWarehouse(parentId, minimumStockByWarehouse) {
324
+ return this.request({
325
+ path: `/procurement/catalog/${parentId}/minimumStockByWarehouse`,
326
+ method: 'post',
327
+ data: minimumStockByWarehouse,
328
+ });
329
+ }
330
+ getProcurementCatalogByParentIdMinimumStockByWarehouseById(id, parentId, params = {}) {
331
+ return this.request({
332
+ path: `/procurement/catalog/${parentId}/minimumStockByWarehouse/${id}`,
333
+ method: 'get',
334
+ params,
335
+ });
336
+ }
337
+ deleteProcurementCatalogByParentIdMinimumStockByWarehouseById(id, parentId) {
338
+ return this.request({
339
+ path: `/procurement/catalog/${parentId}/minimumStockByWarehouse/${id}`,
340
+ method: 'delete',
341
+ });
342
+ }
343
+ putProcurementCatalogByParentIdMinimumStockByWarehouseById(id, parentId, minimumStockByWarehouse) {
344
+ return this.request({
345
+ path: `/procurement/catalog/${parentId}/minimumStockByWarehouse/${id}`,
346
+ method: 'put',
347
+ data: minimumStockByWarehouse,
348
+ });
349
+ }
350
+ patchProcurementCatalogByParentIdMinimumStockByWarehouseById(id, parentId, patchOperations) {
351
+ return this.request({
352
+ path: `/procurement/catalog/${parentId}/minimumStockByWarehouse/${id}`,
353
+ method: 'patch',
354
+ data: patchOperations,
355
+ });
356
+ }
357
+ getProcurementCatalogByParentIdMinimumStockByWarehouseCount(parentId, params = {}) {
358
+ return this.request({
359
+ path: `/procurement/catalog/${parentId}/minimumStockByWarehouse/count`,
360
+ method: 'get',
361
+ params,
362
+ });
363
+ }
364
+ getProcurementCatalogCount(params = {}) {
365
+ return this.request({
366
+ path: `/procurement/catalog/count`,
367
+ method: 'get',
368
+ params,
369
+ });
370
+ }
371
+ getProcurementCatalogInfo(params = {}) {
372
+ return this.request({
373
+ path: `/procurement/catalog/info`,
374
+ method: 'get',
375
+ params,
376
+ });
377
+ }
378
+ getProcurementCatalogInfoCount(params = {}) {
379
+ return this.request({
380
+ path: `/procurement/catalog/info/count`,
381
+ method: 'get',
382
+ params,
383
+ });
384
+ }
385
+ getProcurementCategories(params = {}) {
386
+ return this.request({
387
+ path: `/procurement/categories`,
388
+ method: 'get',
389
+ params,
390
+ });
391
+ }
392
+ postProcurementCategories(category) {
393
+ return this.request({
394
+ path: `/procurement/categories`,
395
+ method: 'post',
396
+ data: category,
397
+ });
398
+ }
399
+ getProcurementCategoriesById(id, params = {}) {
400
+ return this.request({
401
+ path: `/procurement/categories/${id}`,
402
+ method: 'get',
403
+ params,
404
+ });
405
+ }
406
+ deleteProcurementCategoriesById(id) {
407
+ return this.request({
408
+ path: `/procurement/categories/${id}`,
409
+ method: 'delete',
410
+ });
411
+ }
412
+ putProcurementCategoriesById(id, category) {
413
+ return this.request({
414
+ path: `/procurement/categories/${id}`,
415
+ method: 'put',
416
+ data: category,
417
+ });
418
+ }
419
+ patchProcurementCategoriesById(id, patchOperations) {
420
+ return this.request({
421
+ path: `/procurement/categories/${id}`,
422
+ method: 'patch',
423
+ data: patchOperations,
424
+ });
425
+ }
426
+ getProcurementCategoriesByIdInfo(id, params = {}) {
427
+ return this.request({
428
+ path: `/procurement/categories/${id}/info`,
429
+ method: 'get',
430
+ params,
431
+ });
432
+ }
433
+ getProcurementCategoriesByParentIdSubcategories(parentId, params = {}) {
434
+ return this.request({
435
+ path: `/procurement/categories/${parentId}/subcategories/`,
436
+ method: 'get',
437
+ params,
438
+ });
439
+ }
440
+ postProcurementCategoriesByParentIdSubcategories(parentId, subCategory) {
441
+ return this.request({
442
+ path: `/procurement/categories/${parentId}/subcategories/`,
443
+ method: 'post',
444
+ data: subCategory,
445
+ });
446
+ }
447
+ getProcurementCategoriesByParentIdSubcategoriesById(id, parentId, params = {}) {
448
+ return this.request({
449
+ path: `/procurement/categories/${parentId}/subcategories/${id}`,
450
+ method: 'get',
451
+ params,
452
+ });
453
+ }
454
+ deleteProcurementCategoriesByParentIdSubcategoriesById(id, parentId) {
455
+ return this.request({
456
+ path: `/procurement/categories/${parentId}/subcategories/${id}`,
457
+ method: 'delete',
458
+ });
459
+ }
460
+ putProcurementCategoriesByParentIdSubcategoriesById(id, parentId, subCategory) {
461
+ return this.request({
462
+ path: `/procurement/categories/${parentId}/subcategories/${id}`,
463
+ method: 'put',
464
+ data: subCategory,
465
+ });
466
+ }
467
+ patchProcurementCategoriesByParentIdSubcategoriesById(id, parentId, patchOperations) {
468
+ return this.request({
469
+ path: `/procurement/categories/${parentId}/subcategories/${id}`,
470
+ method: 'patch',
471
+ data: patchOperations,
472
+ });
473
+ }
474
+ getProcurementCategoriesByParentIdSubcategoriesByIdInfo(id, parentId, params = {}) {
475
+ return this.request({
476
+ path: `/procurement/categories/${parentId}/subcategories/${id}/info`,
477
+ method: 'get',
478
+ params,
479
+ });
480
+ }
481
+ getProcurementCategoriesByParentIdSubcategoriesCount(parentId, params = {}) {
482
+ return this.request({
483
+ path: `/procurement/categories/${parentId}/subcategories/count`,
484
+ method: 'get',
485
+ params,
486
+ });
487
+ }
488
+ getProcurementCategoriesByParentIdSubcategoriesInfo(parentId, params = {}) {
489
+ return this.request({
490
+ path: `/procurement/categories/${parentId}/subcategories/info`,
491
+ method: 'get',
492
+ params,
493
+ });
494
+ }
495
+ getProcurementCategoriesByParentIdSubcategoriesInfoCount(parentId, params = {}) {
496
+ return this.request({
497
+ path: `/procurement/categories/${parentId}/subcategories/info/count`,
498
+ method: 'get',
499
+ params,
500
+ });
501
+ }
502
+ getProcurementCategoriesCount(params = {}) {
503
+ return this.request({
504
+ path: `/procurement/categories/count`,
505
+ method: 'get',
506
+ params,
507
+ });
508
+ }
509
+ getProcurementCategoriesInfo(params = {}) {
510
+ return this.request({
511
+ path: `/procurement/categories/info`,
512
+ method: 'get',
513
+ params,
514
+ });
515
+ }
516
+ getProcurementCategoriesInfoCount(params = {}) {
517
+ return this.request({
518
+ path: `/procurement/categories/info/count`,
519
+ method: 'get',
520
+ params,
521
+ });
522
+ }
523
+ getProcurementManufacturers(params = {}) {
524
+ return this.request({
525
+ path: `/procurement/manufacturers`,
526
+ method: 'get',
527
+ params,
528
+ });
529
+ }
530
+ postProcurementManufacturers(manufacturer) {
531
+ return this.request({
532
+ path: `/procurement/manufacturers`,
533
+ method: 'post',
534
+ data: manufacturer,
535
+ });
536
+ }
537
+ getProcurementManufacturersById(id, params = {}) {
538
+ return this.request({
539
+ path: `/procurement/manufacturers/${id}`,
540
+ method: 'get',
541
+ params,
542
+ });
543
+ }
544
+ deleteProcurementManufacturersById(id) {
545
+ return this.request({
546
+ path: `/procurement/manufacturers/${id}`,
547
+ method: 'delete',
548
+ });
549
+ }
550
+ putProcurementManufacturersById(id, manufacturer) {
551
+ return this.request({
552
+ path: `/procurement/manufacturers/${id}`,
553
+ method: 'put',
554
+ data: manufacturer,
555
+ });
556
+ }
557
+ patchProcurementManufacturersById(id, patchOperations) {
558
+ return this.request({
559
+ path: `/procurement/manufacturers/${id}`,
560
+ method: 'patch',
561
+ data: patchOperations,
562
+ });
563
+ }
564
+ getProcurementManufacturersByIdInfo(id, params = {}) {
565
+ return this.request({
566
+ path: `/procurement/manufacturers/${id}/info`,
567
+ method: 'get',
568
+ params,
569
+ });
570
+ }
571
+ getProcurementManufacturersCount(params = {}) {
572
+ return this.request({
573
+ path: `/procurement/manufacturers/count`,
574
+ method: 'get',
575
+ params,
576
+ });
577
+ }
578
+ getProcurementManufacturersCountInfo(params = {}) {
579
+ return this.request({
580
+ path: `/procurement/manufacturers/count/info`,
581
+ method: 'get',
582
+ params,
583
+ });
584
+ }
585
+ getProcurementManufacturersInfo(params = {}) {
586
+ return this.request({
587
+ path: `/procurement/manufacturers/info`,
588
+ method: 'get',
589
+ params,
590
+ });
591
+ }
592
+ getProcurementOnhandserialnumbers(params = {}) {
593
+ return this.request({
594
+ path: `/procurement/onhandserialnumbers`,
595
+ method: 'get',
596
+ params,
597
+ });
598
+ }
599
+ getProcurementOnhandserialnumbersById(id, params = {}) {
600
+ return this.request({
601
+ path: `/procurement/onhandserialnumbers/${id}`,
602
+ method: 'get',
603
+ params,
604
+ });
605
+ }
606
+ getProcurementOnhandserialnumbersCount(params = {}) {
607
+ return this.request({
608
+ path: `/procurement/onhandserialnumbers/count`,
609
+ method: 'get',
610
+ params,
611
+ });
612
+ }
613
+ getProcurementPricingschedules(params = {}) {
614
+ return this.request({
615
+ path: `/procurement/pricingschedules`,
616
+ method: 'get',
617
+ params,
618
+ });
619
+ }
620
+ postProcurementPricingschedules(pricingSchedule) {
621
+ return this.request({
622
+ path: `/procurement/pricingschedules`,
623
+ method: 'post',
624
+ data: pricingSchedule,
625
+ });
626
+ }
627
+ getProcurementPricingschedulesByGrandparentIdDetailsByParentIdBreaks(parentId, grandparentId, params = {}) {
628
+ return this.request({
629
+ path: `/procurement/pricingschedules/${grandparentId}/details/${parentId}/breaks`,
630
+ method: 'get',
631
+ params,
632
+ });
633
+ }
634
+ postProcurementPricingschedulesByGrandparentIdDetailsByParentIdBreaks(parentId, grandparentId, pricingBreak) {
635
+ return this.request({
636
+ path: `/procurement/pricingschedules/${grandparentId}/details/${parentId}/breaks`,
637
+ method: 'post',
638
+ data: pricingBreak,
639
+ });
640
+ }
641
+ getProcurementPricingschedulesByGrandparentIdDetailsByParentIdBreaksById(id, parentId, grandparentId, params = {}) {
642
+ return this.request({
643
+ path: `/procurement/pricingschedules/${grandparentId}/details/${parentId}/breaks/${id}`,
644
+ method: 'get',
645
+ params,
646
+ });
647
+ }
648
+ deleteProcurementPricingschedulesByGrandparentIdDetailsByParentIdBreaksById(id, parentId, grandparentId) {
649
+ return this.request({
650
+ path: `/procurement/pricingschedules/${grandparentId}/details/${parentId}/breaks/${id}`,
651
+ method: 'delete',
652
+ });
653
+ }
654
+ putProcurementPricingschedulesByGrandparentIdDetailsByParentIdBreaksById(id, parentId, grandparentId, pricingBreak) {
655
+ return this.request({
656
+ path: `/procurement/pricingschedules/${grandparentId}/details/${parentId}/breaks/${id}`,
657
+ method: 'put',
658
+ data: pricingBreak,
659
+ });
660
+ }
661
+ patchProcurementPricingschedulesByGrandparentIdDetailsByParentIdBreaksById(id, parentId, grandparentId, patchOperations) {
662
+ return this.request({
663
+ path: `/procurement/pricingschedules/${grandparentId}/details/${parentId}/breaks/${id}`,
664
+ method: 'patch',
665
+ data: patchOperations,
666
+ });
667
+ }
668
+ getProcurementPricingschedulesByGrandparentIdDetailsByParentIdBreaksCount(parentId, grandparentId, params = {}) {
669
+ return this.request({
670
+ path: `/procurement/pricingschedules/${grandparentId}/details/${parentId}/breaks/count`,
671
+ method: 'get',
672
+ params,
673
+ });
674
+ }
675
+ getProcurementPricingschedulesById(id, params = {}) {
676
+ return this.request({
677
+ path: `/procurement/pricingschedules/${id}`,
678
+ method: 'get',
679
+ params,
680
+ });
681
+ }
682
+ deleteProcurementPricingschedulesById(id) {
683
+ return this.request({
684
+ path: `/procurement/pricingschedules/${id}`,
685
+ method: 'delete',
686
+ });
687
+ }
688
+ putProcurementPricingschedulesById(id, pricingSchedule) {
689
+ return this.request({
690
+ path: `/procurement/pricingschedules/${id}`,
691
+ method: 'put',
692
+ data: pricingSchedule,
693
+ });
694
+ }
695
+ patchProcurementPricingschedulesById(id, patchOperations) {
696
+ return this.request({
697
+ path: `/procurement/pricingschedules/${id}`,
698
+ method: 'patch',
699
+ data: patchOperations,
700
+ });
701
+ }
702
+ getProcurementPricingschedulesByParentIdDetails(parentId, params = {}) {
703
+ return this.request({
704
+ path: `/procurement/pricingschedules/${parentId}/details`,
705
+ method: 'get',
706
+ params,
707
+ });
708
+ }
709
+ postProcurementPricingschedulesByParentIdDetails(parentId, pricingDetail) {
710
+ return this.request({
711
+ path: `/procurement/pricingschedules/${parentId}/details`,
712
+ method: 'post',
713
+ data: pricingDetail,
714
+ });
715
+ }
716
+ getProcurementPricingschedulesByParentIdDetailsById(id, parentId, params = {}) {
717
+ return this.request({
718
+ path: `/procurement/pricingschedules/${parentId}/details/${id}`,
719
+ method: 'get',
720
+ params,
721
+ });
722
+ }
723
+ deleteProcurementPricingschedulesByParentIdDetailsById(id, parentId) {
724
+ return this.request({
725
+ path: `/procurement/pricingschedules/${parentId}/details/${id}`,
726
+ method: 'delete',
727
+ });
728
+ }
729
+ putProcurementPricingschedulesByParentIdDetailsById(id, parentId, pricingDetail) {
730
+ return this.request({
731
+ path: `/procurement/pricingschedules/${parentId}/details/${id}`,
732
+ method: 'put',
733
+ data: pricingDetail,
734
+ });
735
+ }
736
+ patchProcurementPricingschedulesByParentIdDetailsById(id, parentId, patchOperations) {
737
+ return this.request({
738
+ path: `/procurement/pricingschedules/${parentId}/details/${id}`,
739
+ method: 'patch',
740
+ data: patchOperations,
741
+ });
742
+ }
743
+ getProcurementPricingschedulesByParentIdDetailsCount(parentId, params = {}) {
744
+ return this.request({
745
+ path: `/procurement/pricingschedules/${parentId}/details/count`,
746
+ method: 'get',
747
+ params,
748
+ });
749
+ }
750
+ getProcurementPricingschedulesCount(params = {}) {
751
+ return this.request({
752
+ path: `/procurement/pricingschedules/count`,
753
+ method: 'get',
754
+ params,
755
+ });
756
+ }
757
+ getProcurementProducts(params = {}) {
758
+ return this.request({
759
+ path: `/procurement/products`,
760
+ method: 'get',
761
+ params,
762
+ });
763
+ }
764
+ postProcurementProducts(productItem) {
765
+ return this.request({
766
+ path: `/procurement/products`,
767
+ method: 'post',
768
+ data: productItem,
769
+ });
770
+ }
771
+ getProcurementProductsById(id, params = {}) {
772
+ return this.request({
773
+ path: `/procurement/products/${id}`,
774
+ method: 'get',
775
+ params,
776
+ });
777
+ }
778
+ deleteProcurementProductsById(id) {
779
+ return this.request({
780
+ path: `/procurement/products/${id}`,
781
+ method: 'delete',
782
+ });
783
+ }
784
+ putProcurementProductsById(id, productItem) {
785
+ return this.request({
786
+ path: `/procurement/products/${id}`,
787
+ method: 'put',
788
+ data: productItem,
789
+ });
790
+ }
791
+ patchProcurementProductsById(id, patchOperations) {
792
+ return this.request({
793
+ path: `/procurement/products/${id}`,
794
+ method: 'patch',
795
+ data: patchOperations,
796
+ });
797
+ }
798
+ postProcurementProductsByIdDetach(id, detach) {
799
+ return this.request({
800
+ path: `/procurement/products/${id}/detach`,
801
+ method: 'post',
802
+ data: detach,
803
+ });
804
+ }
805
+ getProcurementProductsByParentIdComponents(parentId, params = {}) {
806
+ return this.request({
807
+ path: `/procurement/products/${parentId}/components`,
808
+ method: 'get',
809
+ params,
810
+ });
811
+ }
812
+ postProcurementProductsByParentIdComponents(parentId, productComponent) {
813
+ return this.request({
814
+ path: `/procurement/products/${parentId}/components`,
815
+ method: 'post',
816
+ data: productComponent,
817
+ });
818
+ }
819
+ getProcurementProductsByParentIdComponentsById(id, parentId, params = {}) {
820
+ return this.request({
821
+ path: `/procurement/products/${parentId}/components/${id}`,
822
+ method: 'get',
823
+ params,
824
+ });
825
+ }
826
+ deleteProcurementProductsByParentIdComponentsById(id, parentId) {
827
+ return this.request({
828
+ path: `/procurement/products/${parentId}/components/${id}`,
829
+ method: 'delete',
830
+ });
831
+ }
832
+ putProcurementProductsByParentIdComponentsById(id, parentId, productComponent) {
833
+ return this.request({
834
+ path: `/procurement/products/${parentId}/components/${id}`,
835
+ method: 'put',
836
+ data: productComponent,
837
+ });
838
+ }
839
+ patchProcurementProductsByParentIdComponentsById(id, parentId, patchOperations) {
840
+ return this.request({
841
+ path: `/procurement/products/${parentId}/components/${id}`,
842
+ method: 'patch',
843
+ data: patchOperations,
844
+ });
845
+ }
846
+ getProcurementProductsByParentIdComponentsCount(parentId, params = {}) {
847
+ return this.request({
848
+ path: `/procurement/products/${parentId}/components/count`,
849
+ method: 'get',
850
+ params,
851
+ });
852
+ }
853
+ getProcurementProductsByParentIdPickingShippingDetails(parentId, params = {}) {
854
+ return this.request({
855
+ path: `/procurement/products/${parentId}/pickingShippingDetails`,
856
+ method: 'get',
857
+ params,
858
+ });
859
+ }
860
+ postProcurementProductsByParentIdPickingShippingDetails(parentId, productPickingShippingDetails) {
861
+ return this.request({
862
+ path: `/procurement/products/${parentId}/pickingShippingDetails`,
863
+ method: 'post',
864
+ data: productPickingShippingDetails,
865
+ });
866
+ }
867
+ getProcurementProductsByParentIdPickingShippingDetailsById(id, parentId, params = {}) {
868
+ return this.request({
869
+ path: `/procurement/products/${parentId}/pickingShippingDetails/${id}`,
870
+ method: 'get',
871
+ params,
872
+ });
873
+ }
874
+ deleteProcurementProductsByParentIdPickingShippingDetailsById(id, parentId) {
875
+ return this.request({
876
+ path: `/procurement/products/${parentId}/pickingShippingDetails/${id}`,
877
+ method: 'delete',
878
+ });
879
+ }
880
+ putProcurementProductsByParentIdPickingShippingDetailsById(id, parentId, productPickingShippingDetails) {
881
+ return this.request({
882
+ path: `/procurement/products/${parentId}/pickingShippingDetails/${id}`,
883
+ method: 'put',
884
+ data: productPickingShippingDetails,
885
+ });
886
+ }
887
+ patchProcurementProductsByParentIdPickingShippingDetailsById(id, parentId, patchOperations) {
888
+ return this.request({
889
+ path: `/procurement/products/${parentId}/pickingShippingDetails/${id}`,
890
+ method: 'patch',
891
+ data: patchOperations,
892
+ });
893
+ }
894
+ getProcurementProductsByParentIdPickingShippingDetailsCount(parentId, params = {}) {
895
+ return this.request({
896
+ path: `/procurement/products/${parentId}/pickingShippingDetails/count`,
897
+ method: 'get',
898
+ params,
899
+ });
900
+ }
901
+ getProcurementProductsCount(params = {}) {
902
+ return this.request({
903
+ path: `/procurement/products/count`,
904
+ method: 'get',
905
+ params,
906
+ });
907
+ }
908
+ getProcurementPurchaseorders(params = {}) {
909
+ return this.request({
910
+ path: `/procurement/purchaseorders`,
911
+ method: 'get',
912
+ params,
913
+ });
914
+ }
915
+ postProcurementPurchaseorders(purchaseOrder) {
916
+ return this.request({
917
+ path: `/procurement/purchaseorders`,
918
+ method: 'post',
919
+ data: purchaseOrder,
920
+ });
921
+ }
922
+ getProcurementPurchaseordersById(id, params = {}) {
923
+ return this.request({
924
+ path: `/procurement/purchaseorders/${id}`,
925
+ method: 'get',
926
+ params,
927
+ });
928
+ }
929
+ deleteProcurementPurchaseordersById(id) {
930
+ return this.request({
931
+ path: `/procurement/purchaseorders/${id}`,
932
+ method: 'delete',
933
+ });
934
+ }
935
+ putProcurementPurchaseordersById(id, purchaseOrder) {
936
+ return this.request({
937
+ path: `/procurement/purchaseorders/${id}`,
938
+ method: 'put',
939
+ data: purchaseOrder,
940
+ });
941
+ }
942
+ patchProcurementPurchaseordersById(id, patchOperations) {
943
+ return this.request({
944
+ path: `/procurement/purchaseorders/${id}`,
945
+ method: 'patch',
946
+ data: patchOperations,
947
+ });
948
+ }
949
+ getProcurementPurchaseordersByParentIdLineitems(parentId, params = {}) {
950
+ return this.request({
951
+ path: `/procurement/purchaseorders/${parentId}/lineitems`,
952
+ method: 'get',
953
+ params,
954
+ });
955
+ }
956
+ postProcurementPurchaseordersByParentIdLineitems(parentId, purchaseOrderLineItem) {
957
+ return this.request({
958
+ path: `/procurement/purchaseorders/${parentId}/lineitems`,
959
+ method: 'post',
960
+ data: purchaseOrderLineItem,
961
+ });
962
+ }
963
+ getProcurementPurchaseordersByParentIdLineitemsById(id, parentId, params = {}) {
964
+ return this.request({
965
+ path: `/procurement/purchaseorders/${parentId}/lineitems/${id}`,
966
+ method: 'get',
967
+ params,
968
+ });
969
+ }
970
+ deleteProcurementPurchaseordersByParentIdLineitemsById(id, parentId) {
971
+ return this.request({
972
+ path: `/procurement/purchaseorders/${parentId}/lineitems/${id}`,
973
+ method: 'delete',
974
+ });
975
+ }
976
+ putProcurementPurchaseordersByParentIdLineitemsById(id, parentId, purchaseOrderLineItem) {
977
+ return this.request({
978
+ path: `/procurement/purchaseorders/${parentId}/lineitems/${id}`,
979
+ method: 'put',
980
+ data: purchaseOrderLineItem,
981
+ });
982
+ }
983
+ patchProcurementPurchaseordersByParentIdLineitemsById(id, parentId, patchOperations) {
984
+ return this.request({
985
+ path: `/procurement/purchaseorders/${parentId}/lineitems/${id}`,
986
+ method: 'patch',
987
+ data: patchOperations,
988
+ });
989
+ }
990
+ postProcurementPurchaseordersByParentIdLineitemsBulk(parentId, purchaseOrderLineItems) {
991
+ return this.request({
992
+ path: `/procurement/purchaseorders/${parentId}/lineitems/bulk`,
993
+ method: 'post',
994
+ data: purchaseOrderLineItems,
995
+ });
996
+ }
997
+ deleteProcurementPurchaseordersByParentIdLineitemsBulk(parentId, purchaseOrderLineItems) {
998
+ return this.request({
999
+ path: `/procurement/purchaseorders/${parentId}/lineitems/bulk`,
1000
+ method: 'delete',
1001
+ data: purchaseOrderLineItems,
1002
+ });
1003
+ }
1004
+ putProcurementPurchaseordersByParentIdLineitemsBulk(parentId, purchaseOrderLineItems) {
1005
+ return this.request({
1006
+ path: `/procurement/purchaseorders/${parentId}/lineitems/bulk`,
1007
+ method: 'put',
1008
+ data: purchaseOrderLineItems,
1009
+ });
1010
+ }
1011
+ getProcurementPurchaseordersByParentIdLineitemsCount(parentId, params = {}) {
1012
+ return this.request({
1013
+ path: `/procurement/purchaseorders/${parentId}/lineitems/count`,
1014
+ method: 'get',
1015
+ params,
1016
+ });
1017
+ }
1018
+ getProcurementPurchaseordersCount(params = {}) {
1019
+ return this.request({
1020
+ path: `/procurement/purchaseorders/count`,
1021
+ method: 'get',
1022
+ params,
1023
+ });
1024
+ }
1025
+ getProcurementPurchaseorderstatuses(params = {}) {
1026
+ return this.request({
1027
+ path: `/procurement/purchaseorderstatuses`,
1028
+ method: 'get',
1029
+ params,
1030
+ });
1031
+ }
1032
+ postProcurementPurchaseorderstatuses(poStatus) {
1033
+ return this.request({
1034
+ path: `/procurement/purchaseorderstatuses`,
1035
+ method: 'post',
1036
+ data: poStatus,
1037
+ });
1038
+ }
1039
+ getProcurementPurchaseorderstatusesById(id, params = {}) {
1040
+ return this.request({
1041
+ path: `/procurement/purchaseorderstatuses/${id}`,
1042
+ method: 'get',
1043
+ params,
1044
+ });
1045
+ }
1046
+ deleteProcurementPurchaseorderstatusesById(id) {
1047
+ return this.request({
1048
+ path: `/procurement/purchaseorderstatuses/${id}`,
1049
+ method: 'delete',
1050
+ });
1051
+ }
1052
+ patchProcurementPurchaseorderstatusesById(id, patchOperations) {
1053
+ return this.request({
1054
+ path: `/procurement/purchaseorderstatuses/${id}`,
1055
+ method: 'patch',
1056
+ data: patchOperations,
1057
+ });
1058
+ }
1059
+ putProcurementPurchaseorderstatusesById(id, purchaseOrderStatus) {
1060
+ return this.request({
1061
+ path: `/procurement/purchaseorderstatuses/${id}`,
1062
+ method: 'put',
1063
+ data: purchaseOrderStatus,
1064
+ });
1065
+ }
1066
+ getProcurementPurchaseorderstatusesByIdUsages(id, params = {}) {
1067
+ return this.request({
1068
+ path: `/procurement/purchaseorderstatuses/${id}/usages`,
1069
+ method: 'get',
1070
+ params,
1071
+ });
1072
+ }
1073
+ getProcurementPurchaseorderstatusesByIdUsagesList(id, params = {}) {
1074
+ return this.request({
1075
+ path: `/procurement/purchaseorderstatuses/${id}/usages/list`,
1076
+ method: 'get',
1077
+ params,
1078
+ });
1079
+ }
1080
+ getProcurementPurchaseorderstatusesByParentIdEmailtemplates(parentId, params = {}) {
1081
+ return this.request({
1082
+ path: `/procurement/purchaseorderstatuses/${parentId}/emailtemplates/`,
1083
+ method: 'get',
1084
+ params,
1085
+ });
1086
+ }
1087
+ postProcurementPurchaseorderstatusesByParentIdEmailtemplates(parentId, purchaseOrderStatusEmailTemplate) {
1088
+ return this.request({
1089
+ path: `/procurement/purchaseorderstatuses/${parentId}/emailtemplates/`,
1090
+ method: 'post',
1091
+ data: purchaseOrderStatusEmailTemplate,
1092
+ });
1093
+ }
1094
+ getProcurementPurchaseorderstatusesByParentIdEmailtemplatesById(id, parentId, params = {}) {
1095
+ return this.request({
1096
+ path: `/procurement/purchaseorderstatuses/${parentId}/emailtemplates/${id}`,
1097
+ method: 'get',
1098
+ params,
1099
+ });
1100
+ }
1101
+ deleteProcurementPurchaseorderstatusesByParentIdEmailtemplatesById(id, parentId) {
1102
+ return this.request({
1103
+ path: `/procurement/purchaseorderstatuses/${parentId}/emailtemplates/${id}`,
1104
+ method: 'delete',
1105
+ });
1106
+ }
1107
+ putProcurementPurchaseorderstatusesByParentIdEmailtemplatesById(id, parentId, purchaseOrderStatusEmailTemplate) {
1108
+ return this.request({
1109
+ path: `/procurement/purchaseorderstatuses/${parentId}/emailtemplates/${id}`,
1110
+ method: 'put',
1111
+ data: purchaseOrderStatusEmailTemplate,
1112
+ });
1113
+ }
1114
+ patchProcurementPurchaseorderstatusesByParentIdEmailtemplatesById(id, parentId, patchOperations) {
1115
+ return this.request({
1116
+ path: `/procurement/purchaseorderstatuses/${parentId}/emailtemplates/${id}`,
1117
+ method: 'patch',
1118
+ data: patchOperations,
1119
+ });
1120
+ }
1121
+ getProcurementPurchaseorderstatusesByParentIdEmailtemplatesCount(parentId, params = {}) {
1122
+ return this.request({
1123
+ path: `/procurement/purchaseorderstatuses/${parentId}/emailtemplates/count`,
1124
+ method: 'get',
1125
+ params,
1126
+ });
1127
+ }
1128
+ getProcurementPurchaseorderstatusesByParentIdNotifications(parentId, params = {}) {
1129
+ return this.request({
1130
+ path: `/procurement/purchaseorderstatuses/${parentId}/notifications`,
1131
+ method: 'get',
1132
+ params,
1133
+ });
1134
+ }
1135
+ postProcurementPurchaseorderstatusesByParentIdNotifications(parentId, purchaseOrderStatusNotification) {
1136
+ return this.request({
1137
+ path: `/procurement/purchaseorderstatuses/${parentId}/notifications`,
1138
+ method: 'post',
1139
+ data: purchaseOrderStatusNotification,
1140
+ });
1141
+ }
1142
+ getProcurementPurchaseorderstatusesByParentIdNotificationsById(id, parentId, params = {}) {
1143
+ return this.request({
1144
+ path: `/procurement/purchaseorderstatuses/${parentId}/notifications/${id}`,
1145
+ method: 'get',
1146
+ params,
1147
+ });
1148
+ }
1149
+ deleteProcurementPurchaseorderstatusesByParentIdNotificationsById(id, parentId) {
1150
+ return this.request({
1151
+ path: `/procurement/purchaseorderstatuses/${parentId}/notifications/${id}`,
1152
+ method: 'delete',
1153
+ });
1154
+ }
1155
+ putProcurementPurchaseorderstatusesByParentIdNotificationsById(id, parentId, purchaseOrderStatusNotification) {
1156
+ return this.request({
1157
+ path: `/procurement/purchaseorderstatuses/${parentId}/notifications/${id}`,
1158
+ method: 'put',
1159
+ data: purchaseOrderStatusNotification,
1160
+ });
1161
+ }
1162
+ patchProcurementPurchaseorderstatusesByParentIdNotificationsById(id, parentId, patchOperations) {
1163
+ return this.request({
1164
+ path: `/procurement/purchaseorderstatuses/${parentId}/notifications/${id}`,
1165
+ method: 'patch',
1166
+ data: patchOperations,
1167
+ });
1168
+ }
1169
+ getProcurementPurchaseorderstatusesByParentIdNotificationsCount(parentId, params = {}) {
1170
+ return this.request({
1171
+ path: `/procurement/purchaseorderstatuses/${parentId}/notifications/count`,
1172
+ method: 'get',
1173
+ params,
1174
+ });
1175
+ }
1176
+ getProcurementPurchaseorderstatusesCount(params = {}) {
1177
+ return this.request({
1178
+ path: `/procurement/purchaseorderstatuses/count`,
1179
+ method: 'get',
1180
+ params,
1181
+ });
1182
+ }
1183
+ postProcurementPurchasingDemands(purchasingDemand) {
1184
+ return this.request({
1185
+ path: `/procurement/purchasingDemands`,
1186
+ method: 'post',
1187
+ data: purchasingDemand,
1188
+ });
1189
+ }
1190
+ getProcurementRmaActions(params = {}) {
1191
+ return this.request({
1192
+ path: `/procurement/rmaActions`,
1193
+ method: 'get',
1194
+ params,
1195
+ });
1196
+ }
1197
+ postProcurementRmaActions(rmaAction) {
1198
+ return this.request({
1199
+ path: `/procurement/rmaActions`,
1200
+ method: 'post',
1201
+ data: rmaAction,
1202
+ });
1203
+ }
1204
+ getProcurementRmaActionsById(id, params = {}) {
1205
+ return this.request({
1206
+ path: `/procurement/rmaActions/${id}`,
1207
+ method: 'get',
1208
+ params,
1209
+ });
1210
+ }
1211
+ deleteProcurementRmaActionsById(id) {
1212
+ return this.request({
1213
+ path: `/procurement/rmaActions/${id}`,
1214
+ method: 'delete',
1215
+ });
1216
+ }
1217
+ putProcurementRmaActionsById(id, rmaAction) {
1218
+ return this.request({
1219
+ path: `/procurement/rmaActions/${id}`,
1220
+ method: 'put',
1221
+ data: rmaAction,
1222
+ });
1223
+ }
1224
+ patchProcurementRmaActionsById(id, patchOperations) {
1225
+ return this.request({
1226
+ path: `/procurement/rmaActions/${id}`,
1227
+ method: 'patch',
1228
+ data: patchOperations,
1229
+ });
1230
+ }
1231
+ getProcurementRmaActionsByIdInfo(id, params = {}) {
1232
+ return this.request({
1233
+ path: `/procurement/rmaActions/${id}/info`,
1234
+ method: 'get',
1235
+ params,
1236
+ });
1237
+ }
1238
+ getProcurementRmaActionsCount(params = {}) {
1239
+ return this.request({
1240
+ path: `/procurement/rmaActions/count`,
1241
+ method: 'get',
1242
+ params,
1243
+ });
1244
+ }
1245
+ getProcurementRmaActionsInfo(params = {}) {
1246
+ return this.request({
1247
+ path: `/procurement/rmaActions/info`,
1248
+ method: 'get',
1249
+ params,
1250
+ });
1251
+ }
1252
+ getProcurementRmaActionsInfoCount(params = {}) {
1253
+ return this.request({
1254
+ path: `/procurement/rmaActions/info/count`,
1255
+ method: 'get',
1256
+ params,
1257
+ });
1258
+ }
1259
+ getProcurementRMADispositions(params = {}) {
1260
+ return this.request({
1261
+ path: `/procurement/RMADispositions`,
1262
+ method: 'get',
1263
+ params,
1264
+ });
1265
+ }
1266
+ postProcurementRMADispositions(rmaDisposition) {
1267
+ return this.request({
1268
+ path: `/procurement/RMADispositions`,
1269
+ method: 'post',
1270
+ data: rmaDisposition,
1271
+ });
1272
+ }
1273
+ getProcurementRMADispositionsById(id, params = {}) {
1274
+ return this.request({
1275
+ path: `/procurement/RMADispositions/${id}`,
1276
+ method: 'get',
1277
+ params,
1278
+ });
1279
+ }
1280
+ deleteProcurementRMADispositionsById(id) {
1281
+ return this.request({
1282
+ path: `/procurement/RMADispositions/${id}`,
1283
+ method: 'delete',
1284
+ });
1285
+ }
1286
+ putProcurementRMADispositionsById(id, rmaDisposition) {
1287
+ return this.request({
1288
+ path: `/procurement/RMADispositions/${id}`,
1289
+ method: 'put',
1290
+ data: rmaDisposition,
1291
+ });
1292
+ }
1293
+ patchProcurementRMADispositionsById(id, patchOperations) {
1294
+ return this.request({
1295
+ path: `/procurement/RMADispositions/${id}`,
1296
+ method: 'patch',
1297
+ data: patchOperations,
1298
+ });
1299
+ }
1300
+ getProcurementRMADispositionsByIdInfo(id, params = {}) {
1301
+ return this.request({
1302
+ path: `/procurement/RMADispositions/${id}/info`,
1303
+ method: 'get',
1304
+ params,
1305
+ });
1306
+ }
1307
+ getProcurementRMADispositionsCount(params = {}) {
1308
+ return this.request({
1309
+ path: `/procurement/RMADispositions/count`,
1310
+ method: 'get',
1311
+ params,
1312
+ });
1313
+ }
1314
+ getProcurementRMADispositionsInfo(params = {}) {
1315
+ return this.request({
1316
+ path: `/procurement/RMADispositions/info`,
1317
+ method: 'get',
1318
+ params,
1319
+ });
1320
+ }
1321
+ getProcurementRMADispositionsInfoCount(params = {}) {
1322
+ return this.request({
1323
+ path: `/procurement/RMADispositions/info/count`,
1324
+ method: 'get',
1325
+ params,
1326
+ });
1327
+ }
1328
+ getProcurementRmaStatuses(params = {}) {
1329
+ return this.request({
1330
+ path: `/procurement/rmaStatuses`,
1331
+ method: 'get',
1332
+ params,
1333
+ });
1334
+ }
1335
+ postProcurementRmaStatuses(rmaStatus) {
1336
+ return this.request({
1337
+ path: `/procurement/rmaStatuses`,
1338
+ method: 'post',
1339
+ data: rmaStatus,
1340
+ });
1341
+ }
1342
+ getProcurementRmaStatusesById(id, params = {}) {
1343
+ return this.request({
1344
+ path: `/procurement/rmaStatuses/${id}`,
1345
+ method: 'get',
1346
+ params,
1347
+ });
1348
+ }
1349
+ deleteProcurementRmaStatusesById(id) {
1350
+ return this.request({
1351
+ path: `/procurement/rmaStatuses/${id}`,
1352
+ method: 'delete',
1353
+ });
1354
+ }
1355
+ putProcurementRmaStatusesById(id, rmaStatus) {
1356
+ return this.request({
1357
+ path: `/procurement/rmaStatuses/${id}`,
1358
+ method: 'put',
1359
+ data: rmaStatus,
1360
+ });
1361
+ }
1362
+ patchProcurementRmaStatusesById(id, patchOperations) {
1363
+ return this.request({
1364
+ path: `/procurement/rmaStatuses/${id}`,
1365
+ method: 'patch',
1366
+ data: patchOperations,
1367
+ });
1368
+ }
1369
+ getProcurementRmaStatusesByIdInfo(id, params = {}) {
1370
+ return this.request({
1371
+ path: `/procurement/rmaStatuses/${id}/info`,
1372
+ method: 'get',
1373
+ params,
1374
+ });
1375
+ }
1376
+ getProcurementRmaStatusesByIdUsages(id, params = {}) {
1377
+ return this.request({
1378
+ path: `/procurement/rmaStatuses/${id}/usages`,
1379
+ method: 'get',
1380
+ params,
1381
+ });
1382
+ }
1383
+ getProcurementRmaStatusesByIdUsagesList(id, params = {}) {
1384
+ return this.request({
1385
+ path: `/procurement/rmaStatuses/${id}/usages/list`,
1386
+ method: 'get',
1387
+ params,
1388
+ });
1389
+ }
1390
+ postProcurementRmaStatusesByParentIdEmailtemplates(parentId, rmaStatusEmailTemplate) {
1391
+ return this.request({
1392
+ path: `/procurement/rmaStatuses/${parentId}/emailtemplates/`,
1393
+ method: 'post',
1394
+ data: rmaStatusEmailTemplate,
1395
+ });
1396
+ }
1397
+ getProcurementRmaStatusesByParentIdEmailTemplates(parentId, params = {}) {
1398
+ return this.request({
1399
+ path: `/procurement/rmaStatuses/${parentId}/emailTemplates/`,
1400
+ method: 'get',
1401
+ params,
1402
+ });
1403
+ }
1404
+ getProcurementRmaStatusesByParentIdEmailtemplatesById(id, parentId, params = {}) {
1405
+ return this.request({
1406
+ path: `/procurement/rmaStatuses/${parentId}/emailtemplates/${id}`,
1407
+ method: 'get',
1408
+ params,
1409
+ });
1410
+ }
1411
+ deleteProcurementRmaStatusesByParentIdEmailtemplatesById(id, parentId) {
1412
+ return this.request({
1413
+ path: `/procurement/rmaStatuses/${parentId}/emailtemplates/${id}`,
1414
+ method: 'delete',
1415
+ });
1416
+ }
1417
+ putProcurementRmaStatusesByParentIdEmailtemplatesById(id, parentId, rmaStatusEmailTemplate) {
1418
+ return this.request({
1419
+ path: `/procurement/rmaStatuses/${parentId}/emailtemplates/${id}`,
1420
+ method: 'put',
1421
+ data: rmaStatusEmailTemplate,
1422
+ });
1423
+ }
1424
+ patchProcurementRmaStatusesByParentIdEmailtemplatesById(id, parentId, patchOperations) {
1425
+ return this.request({
1426
+ path: `/procurement/rmaStatuses/${parentId}/emailtemplates/${id}`,
1427
+ method: 'patch',
1428
+ data: patchOperations,
1429
+ });
1430
+ }
1431
+ getProcurementRmaStatusesByParentIdEmailtemplatesCount(parentId, params = {}) {
1432
+ return this.request({
1433
+ path: `/procurement/rmaStatuses/${parentId}/emailtemplates/count`,
1434
+ method: 'get',
1435
+ params,
1436
+ });
1437
+ }
1438
+ getProcurementRmaStatusesByParentIdNotifications(parentId, params = {}) {
1439
+ return this.request({
1440
+ path: `/procurement/rmaStatuses/${parentId}/notifications`,
1441
+ method: 'get',
1442
+ params,
1443
+ });
1444
+ }
1445
+ postProcurementRmaStatusesByParentIdNotifications(parentId, rmaStatusNotification) {
1446
+ return this.request({
1447
+ path: `/procurement/rmaStatuses/${parentId}/notifications`,
1448
+ method: 'post',
1449
+ data: rmaStatusNotification,
1450
+ });
1451
+ }
1452
+ getProcurementRmaStatusesByParentIdNotificationsById(id, parentId, params = {}) {
1453
+ return this.request({
1454
+ path: `/procurement/rmaStatuses/${parentId}/notifications/${id}`,
1455
+ method: 'get',
1456
+ params,
1457
+ });
1458
+ }
1459
+ deleteProcurementRmaStatusesByParentIdNotificationsById(id, parentId) {
1460
+ return this.request({
1461
+ path: `/procurement/rmaStatuses/${parentId}/notifications/${id}`,
1462
+ method: 'delete',
1463
+ });
1464
+ }
1465
+ putProcurementRmaStatusesByParentIdNotificationsById(id, parentId, rmaStatusNotification) {
1466
+ return this.request({
1467
+ path: `/procurement/rmaStatuses/${parentId}/notifications/${id}`,
1468
+ method: 'put',
1469
+ data: rmaStatusNotification,
1470
+ });
1471
+ }
1472
+ patchProcurementRmaStatusesByParentIdNotificationsById(id, parentId, patchOperations) {
1473
+ return this.request({
1474
+ path: `/procurement/rmaStatuses/${parentId}/notifications/${id}`,
1475
+ method: 'patch',
1476
+ data: patchOperations,
1477
+ });
1478
+ }
1479
+ getProcurementRmaStatusesByParentIdNotificationsCount(parentId, params = {}) {
1480
+ return this.request({
1481
+ path: `/procurement/rmaStatuses/${parentId}/notifications/count`,
1482
+ method: 'get',
1483
+ params,
1484
+ });
1485
+ }
1486
+ getProcurementRmaStatusesCount(params = {}) {
1487
+ return this.request({
1488
+ path: `/procurement/rmaStatuses/count`,
1489
+ method: 'get',
1490
+ params,
1491
+ });
1492
+ }
1493
+ getProcurementRmaStatusesInfo(params = {}) {
1494
+ return this.request({
1495
+ path: `/procurement/rmaStatuses/info`,
1496
+ method: 'get',
1497
+ params,
1498
+ });
1499
+ }
1500
+ getProcurementRmaStatusesInfoCount(params = {}) {
1501
+ return this.request({
1502
+ path: `/procurement/rmaStatuses/info/count`,
1503
+ method: 'get',
1504
+ params,
1505
+ });
1506
+ }
1507
+ getProcurementRmaTags(params = {}) {
1508
+ return this.request({
1509
+ path: `/procurement/rmaTags`,
1510
+ method: 'get',
1511
+ params,
1512
+ });
1513
+ }
1514
+ postProcurementRmaTags(rmaTag) {
1515
+ return this.request({
1516
+ path: `/procurement/rmaTags`,
1517
+ method: 'post',
1518
+ data: rmaTag,
1519
+ });
1520
+ }
1521
+ getProcurementRmaTagsById(id, params = {}) {
1522
+ return this.request({
1523
+ path: `/procurement/rmaTags/${id}`,
1524
+ method: 'get',
1525
+ params,
1526
+ });
1527
+ }
1528
+ deleteProcurementRmaTagsById(id) {
1529
+ return this.request({
1530
+ path: `/procurement/rmaTags/${id}`,
1531
+ method: 'delete',
1532
+ });
1533
+ }
1534
+ putProcurementRmaTagsById(id, rmaTag) {
1535
+ return this.request({
1536
+ path: `/procurement/rmaTags/${id}`,
1537
+ method: 'put',
1538
+ data: rmaTag,
1539
+ });
1540
+ }
1541
+ patchProcurementRmaTagsById(id, patchOperations) {
1542
+ return this.request({
1543
+ path: `/procurement/rmaTags/${id}`,
1544
+ method: 'patch',
1545
+ data: patchOperations,
1546
+ });
1547
+ }
1548
+ getProcurementRmaTagsCount(params = {}) {
1549
+ return this.request({
1550
+ path: `/procurement/rmaTags/count`,
1551
+ method: 'get',
1552
+ params,
1553
+ });
1554
+ }
1555
+ getProcurementRmaTagsDefault(productId, billingLogId, ticketId, projectId, salesOrderId, companyId, params = {}) {
1556
+ return this.request({
1557
+ path: `/procurement/rmaTags/default`,
1558
+ method: 'get',
1559
+ params,
1560
+ });
1561
+ }
1562
+ getProcurementSettings(params = {}) {
1563
+ return this.request({
1564
+ path: `/procurement/settings`,
1565
+ method: 'get',
1566
+ params,
1567
+ });
1568
+ }
1569
+ getProcurementSettingsById(id, params = {}) {
1570
+ return this.request({
1571
+ path: `/procurement/settings/${id}`,
1572
+ method: 'get',
1573
+ params,
1574
+ });
1575
+ }
1576
+ putProcurementSettingsById(id, procurementSetting) {
1577
+ return this.request({
1578
+ path: `/procurement/settings/${id}`,
1579
+ method: 'put',
1580
+ data: procurementSetting,
1581
+ });
1582
+ }
1583
+ patchProcurementSettingsById(id, patchOperations) {
1584
+ return this.request({
1585
+ path: `/procurement/settings/${id}`,
1586
+ method: 'patch',
1587
+ data: patchOperations,
1588
+ });
1589
+ }
1590
+ getProcurementSettingsCount(params = {}) {
1591
+ return this.request({
1592
+ path: `/procurement/settings/count`,
1593
+ method: 'get',
1594
+ params,
1595
+ });
1596
+ }
1597
+ getProcurementShipmentmethods(params = {}) {
1598
+ return this.request({
1599
+ path: `/procurement/shipmentmethods`,
1600
+ method: 'get',
1601
+ params,
1602
+ });
1603
+ }
1604
+ postProcurementShipmentmethods(shipmentMethod) {
1605
+ return this.request({
1606
+ path: `/procurement/shipmentmethods`,
1607
+ method: 'post',
1608
+ data: shipmentMethod,
1609
+ });
1610
+ }
1611
+ getProcurementShipmentmethodsById(id, params = {}) {
1612
+ return this.request({
1613
+ path: `/procurement/shipmentmethods/${id}`,
1614
+ method: 'get',
1615
+ params,
1616
+ });
1617
+ }
1618
+ deleteProcurementShipmentmethodsById(id) {
1619
+ return this.request({
1620
+ path: `/procurement/shipmentmethods/${id}`,
1621
+ method: 'delete',
1622
+ });
1623
+ }
1624
+ putProcurementShipmentmethodsById(id, shipmentMethod) {
1625
+ return this.request({
1626
+ path: `/procurement/shipmentmethods/${id}`,
1627
+ method: 'put',
1628
+ data: shipmentMethod,
1629
+ });
1630
+ }
1631
+ patchProcurementShipmentmethodsById(id, patchOperations) {
1632
+ return this.request({
1633
+ path: `/procurement/shipmentmethods/${id}`,
1634
+ method: 'patch',
1635
+ data: patchOperations,
1636
+ });
1637
+ }
1638
+ getProcurementShipmentmethodsByIdInfo(id, params = {}) {
1639
+ return this.request({
1640
+ path: `/procurement/shipmentmethods/${id}/info`,
1641
+ method: 'get',
1642
+ params,
1643
+ });
1644
+ }
1645
+ getProcurementShipmentmethodsByIdUsages(id, params = {}) {
1646
+ return this.request({
1647
+ path: `/procurement/shipmentmethods/${id}/usages`,
1648
+ method: 'get',
1649
+ params,
1650
+ });
1651
+ }
1652
+ getProcurementShipmentmethodsByIdUsagesList(id, params = {}) {
1653
+ return this.request({
1654
+ path: `/procurement/shipmentmethods/${id}/usages/list`,
1655
+ method: 'get',
1656
+ params,
1657
+ });
1658
+ }
1659
+ getProcurementShipmentmethodsCount(params = {}) {
1660
+ return this.request({
1661
+ path: `/procurement/shipmentmethods/count`,
1662
+ method: 'get',
1663
+ params,
1664
+ });
1665
+ }
1666
+ getProcurementShipmentmethodsInfo(params = {}) {
1667
+ return this.request({
1668
+ path: `/procurement/shipmentmethods/info`,
1669
+ method: 'get',
1670
+ params,
1671
+ });
1672
+ }
1673
+ getProcurementShipmentmethodsInfoCount(params = {}) {
1674
+ return this.request({
1675
+ path: `/procurement/shipmentmethods/info/count`,
1676
+ method: 'get',
1677
+ params,
1678
+ });
1679
+ }
1680
+ getProcurementSubcategories(params = {}) {
1681
+ return this.request({
1682
+ path: `/procurement/subcategories/`,
1683
+ method: 'get',
1684
+ params,
1685
+ });
1686
+ }
1687
+ postProcurementSubcategories(subCategory) {
1688
+ return this.request({
1689
+ path: `/procurement/subcategories/`,
1690
+ method: 'post',
1691
+ data: subCategory,
1692
+ });
1693
+ }
1694
+ getProcurementSubcategoriesById(id, params = {}) {
1695
+ return this.request({
1696
+ path: `/procurement/subcategories/${id}`,
1697
+ method: 'get',
1698
+ params,
1699
+ });
1700
+ }
1701
+ deleteProcurementSubcategoriesById(id) {
1702
+ return this.request({
1703
+ path: `/procurement/subcategories/${id}`,
1704
+ method: 'delete',
1705
+ });
1706
+ }
1707
+ putProcurementSubcategoriesById(id, subCategory) {
1708
+ return this.request({
1709
+ path: `/procurement/subcategories/${id}`,
1710
+ method: 'put',
1711
+ data: subCategory,
1712
+ });
1713
+ }
1714
+ patchProcurementSubcategoriesById(id, patchOperations) {
1715
+ return this.request({
1716
+ path: `/procurement/subcategories/${id}`,
1717
+ method: 'patch',
1718
+ data: patchOperations,
1719
+ });
1720
+ }
1721
+ getProcurementSubcategoriesByIdInfo(id, params = {}) {
1722
+ return this.request({
1723
+ path: `/procurement/subcategories/${id}/info`,
1724
+ method: 'get',
1725
+ params,
1726
+ });
1727
+ }
1728
+ getProcurementSubcategoriesByIdUsages(id, params = {}) {
1729
+ return this.request({
1730
+ path: `/procurement/subcategories/${id}/usages`,
1731
+ method: 'get',
1732
+ params,
1733
+ });
1734
+ }
1735
+ getProcurementSubcategoriesByIdUsagesList(id, params = {}) {
1736
+ return this.request({
1737
+ path: `/procurement/subcategories/${id}/usages/list`,
1738
+ method: 'get',
1739
+ params,
1740
+ });
1741
+ }
1742
+ getProcurementSubcategoriesCount(params = {}) {
1743
+ return this.request({
1744
+ path: `/procurement/subcategories/count`,
1745
+ method: 'get',
1746
+ params,
1747
+ });
1748
+ }
1749
+ getProcurementSubcategoriesInfo(params = {}) {
1750
+ return this.request({
1751
+ path: `/procurement/subcategories/info/`,
1752
+ method: 'get',
1753
+ params,
1754
+ });
1755
+ }
1756
+ getProcurementSubcategoriesInfoCount(params = {}) {
1757
+ return this.request({
1758
+ path: `/procurement/subcategories/info/count`,
1759
+ method: 'get',
1760
+ params,
1761
+ });
1762
+ }
1763
+ getProcurementTypes(params = {}) {
1764
+ return this.request({
1765
+ path: `/procurement/types`,
1766
+ method: 'get',
1767
+ params,
1768
+ });
1769
+ }
1770
+ postProcurementTypes(productTypes) {
1771
+ return this.request({
1772
+ path: `/procurement/types`,
1773
+ method: 'post',
1774
+ data: productTypes,
1775
+ });
1776
+ }
1777
+ getProcurementTypesById(id, params = {}) {
1778
+ return this.request({
1779
+ path: `/procurement/types/${id}`,
1780
+ method: 'get',
1781
+ params,
1782
+ });
1783
+ }
1784
+ deleteProcurementTypesById(id) {
1785
+ return this.request({
1786
+ path: `/procurement/types/${id}`,
1787
+ method: 'delete',
1788
+ });
1789
+ }
1790
+ putProcurementTypesById(id, productTypes) {
1791
+ return this.request({
1792
+ path: `/procurement/types/${id}`,
1793
+ method: 'put',
1794
+ data: productTypes,
1795
+ });
1796
+ }
1797
+ patchProcurementTypesById(id, patchOperations) {
1798
+ return this.request({
1799
+ path: `/procurement/types/${id}`,
1800
+ method: 'patch',
1801
+ data: patchOperations,
1802
+ });
1803
+ }
1804
+ getProcurementTypesByIdInfo(id, params = {}) {
1805
+ return this.request({
1806
+ path: `/procurement/types/${id}/info`,
1807
+ method: 'get',
1808
+ params,
1809
+ });
1810
+ }
1811
+ getProcurementTypesByIdUsages(id, params = {}) {
1812
+ return this.request({
1813
+ path: `/procurement/types/${id}/usages`,
1814
+ method: 'get',
1815
+ params,
1816
+ });
1817
+ }
1818
+ getProcurementTypesByIdUsagesList(id, params = {}) {
1819
+ return this.request({
1820
+ path: `/procurement/types/${id}/usages/list`,
1821
+ method: 'get',
1822
+ params,
1823
+ });
1824
+ }
1825
+ getProcurementTypesCount(params = {}) {
1826
+ return this.request({
1827
+ path: `/procurement/types/count`,
1828
+ method: 'get',
1829
+ params,
1830
+ });
1831
+ }
1832
+ getProcurementTypesInfo(params = {}) {
1833
+ return this.request({
1834
+ path: `/procurement/types/info`,
1835
+ method: 'get',
1836
+ params,
1837
+ });
1838
+ }
1839
+ getProcurementTypesInfoCount(params = {}) {
1840
+ return this.request({
1841
+ path: `/procurement/types/info/count`,
1842
+ method: 'get',
1843
+ params,
1844
+ });
1845
+ }
1846
+ getProcurementUnitOfMeasures(params = {}) {
1847
+ return this.request({
1848
+ path: `/procurement/unitOfMeasures`,
1849
+ method: 'get',
1850
+ params,
1851
+ });
1852
+ }
1853
+ postProcurementUnitOfMeasures(unitOfMeasure) {
1854
+ return this.request({
1855
+ path: `/procurement/unitOfMeasures`,
1856
+ method: 'post',
1857
+ data: unitOfMeasure,
1858
+ });
1859
+ }
1860
+ getProcurementUnitOfMeasuresById(id, params = {}) {
1861
+ return this.request({
1862
+ path: `/procurement/unitOfMeasures/${id}`,
1863
+ method: 'get',
1864
+ params,
1865
+ });
1866
+ }
1867
+ deleteProcurementUnitOfMeasuresById(id) {
1868
+ return this.request({
1869
+ path: `/procurement/unitOfMeasures/${id}`,
1870
+ method: 'delete',
1871
+ });
1872
+ }
1873
+ putProcurementUnitOfMeasuresById(id, unitOfMeasure) {
1874
+ return this.request({
1875
+ path: `/procurement/unitOfMeasures/${id}`,
1876
+ method: 'put',
1877
+ data: unitOfMeasure,
1878
+ });
1879
+ }
1880
+ patchProcurementUnitOfMeasuresById(id, patchOperations) {
1881
+ return this.request({
1882
+ path: `/procurement/unitOfMeasures/${id}`,
1883
+ method: 'patch',
1884
+ data: patchOperations,
1885
+ });
1886
+ }
1887
+ getProcurementUnitOfMeasuresByParentIdConversions(parentId, params = {}) {
1888
+ return this.request({
1889
+ path: `/procurement/unitOfMeasures/${parentId}/conversions`,
1890
+ method: 'get',
1891
+ params,
1892
+ });
1893
+ }
1894
+ postProcurementUnitOfMeasuresByParentIdConversions(parentId, conversion) {
1895
+ return this.request({
1896
+ path: `/procurement/unitOfMeasures/${parentId}/conversions`,
1897
+ method: 'post',
1898
+ data: conversion,
1899
+ });
1900
+ }
1901
+ getProcurementUnitOfMeasuresByParentIdConversionsById(id, parentId, params = {}) {
1902
+ return this.request({
1903
+ path: `/procurement/unitOfMeasures/${parentId}/conversions/${id}`,
1904
+ method: 'get',
1905
+ params,
1906
+ });
1907
+ }
1908
+ deleteProcurementUnitOfMeasuresByParentIdConversionsById(id, parentId) {
1909
+ return this.request({
1910
+ path: `/procurement/unitOfMeasures/${parentId}/conversions/${id}`,
1911
+ method: 'delete',
1912
+ });
1913
+ }
1914
+ putProcurementUnitOfMeasuresByParentIdConversionsById(id, parentId, conversion) {
1915
+ return this.request({
1916
+ path: `/procurement/unitOfMeasures/${parentId}/conversions/${id}`,
1917
+ method: 'put',
1918
+ data: conversion,
1919
+ });
1920
+ }
1921
+ patchProcurementUnitOfMeasuresByParentIdConversionsById(id, parentId, patchOperations) {
1922
+ return this.request({
1923
+ path: `/procurement/unitOfMeasures/${parentId}/conversions/${id}`,
1924
+ method: 'patch',
1925
+ data: patchOperations,
1926
+ });
1927
+ }
1928
+ getProcurementUnitOfMeasuresByParentIdConversionsCount(parentId, params = {}) {
1929
+ return this.request({
1930
+ path: `/procurement/unitOfMeasures/${parentId}/conversions/count`,
1931
+ method: 'get',
1932
+ params,
1933
+ });
1934
+ }
1935
+ getProcurementUnitOfMeasuresCount(params = {}) {
1936
+ return this.request({
1937
+ path: `/procurement/unitOfMeasures/count`,
1938
+ method: 'get',
1939
+ params,
1940
+ });
1941
+ }
1942
+ getProcurementWarehouseBins(params = {}) {
1943
+ return this.request({
1944
+ path: `/procurement/warehouseBins`,
1945
+ method: 'get',
1946
+ params,
1947
+ });
1948
+ }
1949
+ postProcurementWarehouseBins(warehouseBin) {
1950
+ return this.request({
1951
+ path: `/procurement/warehouseBins`,
1952
+ method: 'post',
1953
+ data: warehouseBin,
1954
+ });
1955
+ }
1956
+ getProcurementWarehouseBinsById(id, params = {}) {
1957
+ return this.request({
1958
+ path: `/procurement/warehouseBins/${id}`,
1959
+ method: 'get',
1960
+ params,
1961
+ });
1962
+ }
1963
+ deleteProcurementWarehouseBinsById(id) {
1964
+ return this.request({
1965
+ path: `/procurement/warehouseBins/${id}`,
1966
+ method: 'delete',
1967
+ });
1968
+ }
1969
+ putProcurementWarehouseBinsById(id, warehouseBin) {
1970
+ return this.request({
1971
+ path: `/procurement/warehouseBins/${id}`,
1972
+ method: 'put',
1973
+ data: warehouseBin,
1974
+ });
1975
+ }
1976
+ patchProcurementWarehouseBinsById(id, patchOperations) {
1977
+ return this.request({
1978
+ path: `/procurement/warehouseBins/${id}`,
1979
+ method: 'patch',
1980
+ data: patchOperations,
1981
+ });
1982
+ }
1983
+ getProcurementWarehouseBinsByIdInfo(id, params = {}) {
1984
+ return this.request({
1985
+ path: `/procurement/warehouseBins/${id}/info`,
1986
+ method: 'get',
1987
+ params,
1988
+ });
1989
+ }
1990
+ getProcurementWarehouseBinsByParentIdInventoryOnHand(parentId, params = {}) {
1991
+ return this.request({
1992
+ path: `/procurement/warehouseBins/${parentId}/inventoryOnHand`,
1993
+ method: 'get',
1994
+ params,
1995
+ });
1996
+ }
1997
+ getProcurementWarehouseBinsByParentIdInventoryOnHandById(id, parentId, params = {}) {
1998
+ return this.request({
1999
+ path: `/procurement/warehouseBins/${parentId}/inventoryOnHand/${id}`,
2000
+ method: 'get',
2001
+ params,
2002
+ });
2003
+ }
2004
+ getProcurementWarehouseBinsByParentIdInventoryOnHandCount(parentId, params = {}) {
2005
+ return this.request({
2006
+ path: `/procurement/warehouseBins/${parentId}/inventoryOnHand/count`,
2007
+ method: 'get',
2008
+ params,
2009
+ });
2010
+ }
2011
+ getProcurementWarehouseBinsCount(params = {}) {
2012
+ return this.request({
2013
+ path: `/procurement/warehouseBins/count`,
2014
+ method: 'get',
2015
+ params,
2016
+ });
2017
+ }
2018
+ getProcurementWarehouseBinsInfo(params = {}) {
2019
+ return this.request({
2020
+ path: `/procurement/warehouseBins/info`,
2021
+ method: 'get',
2022
+ params,
2023
+ });
2024
+ }
2025
+ getProcurementWarehouseBinsInfoCount(params = {}) {
2026
+ return this.request({
2027
+ path: `/procurement/warehouseBins/info/count`,
2028
+ method: 'get',
2029
+ params,
2030
+ });
2031
+ }
2032
+ getProcurementWarehouses(params = {}) {
2033
+ return this.request({
2034
+ path: `/procurement/warehouses`,
2035
+ method: 'get',
2036
+ params,
2037
+ });
2038
+ }
2039
+ postProcurementWarehouses(warehouse) {
2040
+ return this.request({
2041
+ path: `/procurement/warehouses`,
2042
+ method: 'post',
2043
+ data: warehouse,
2044
+ });
2045
+ }
2046
+ getProcurementWarehousesById(id, params = {}) {
2047
+ return this.request({
2048
+ path: `/procurement/warehouses/${id}`,
2049
+ method: 'get',
2050
+ params,
2051
+ });
2052
+ }
2053
+ deleteProcurementWarehousesById(id) {
2054
+ return this.request({
2055
+ path: `/procurement/warehouses/${id}`,
2056
+ method: 'delete',
2057
+ });
2058
+ }
2059
+ putProcurementWarehousesById(id, warehouse) {
2060
+ return this.request({
2061
+ path: `/procurement/warehouses/${id}`,
2062
+ method: 'put',
2063
+ data: warehouse,
2064
+ });
2065
+ }
2066
+ patchProcurementWarehousesById(id, patchOperations) {
2067
+ return this.request({
2068
+ path: `/procurement/warehouses/${id}`,
2069
+ method: 'patch',
2070
+ data: patchOperations,
2071
+ });
2072
+ }
2073
+ getProcurementWarehousesByIdInfo(id, params = {}) {
2074
+ return this.request({
2075
+ path: `/procurement/warehouses/${id}/info`,
2076
+ method: 'get',
2077
+ params,
2078
+ });
2079
+ }
2080
+ getProcurementWarehousesCount(params = {}) {
2081
+ return this.request({
2082
+ path: `/procurement/warehouses/count`,
2083
+ method: 'get',
2084
+ params,
2085
+ });
2086
+ }
2087
+ getProcurementWarehousesInfo(params = {}) {
2088
+ return this.request({
2089
+ path: `/procurement/warehouses/info`,
2090
+ method: 'get',
2091
+ params,
2092
+ });
2093
+ }
2094
+ getProcurementWarehousesInfoCount(params = {}) {
2095
+ return this.request({
2096
+ path: `/procurement/warehouses/info/count`,
2097
+ method: 'get',
2098
+ params,
2099
+ });
2100
+ }
2101
+ }
2102
+ exports.ProcurementAPI = ProcurementAPI;
2103
+ //# sourceMappingURL=ProcurementAPI.js.map