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