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,2587 @@
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 FinanceAPI extends Manage_1.default {
12
+ constructor(props) {
13
+ super(props);
14
+ }
15
+ getFinanceAccountingBatches(params = {}) {
16
+ return this.request({
17
+ path: `/finance/accounting/batches`,
18
+ method: 'get',
19
+ params,
20
+ });
21
+ }
22
+ postFinanceAccountingBatches(accountingBatchParameters) {
23
+ return this.request({
24
+ path: `/finance/accounting/batches`,
25
+ method: 'post',
26
+ data: accountingBatchParameters,
27
+ });
28
+ }
29
+ getFinanceAccountingBatchesById(id, params = {}) {
30
+ return this.request({
31
+ path: `/finance/accounting/batches/${id}`,
32
+ method: 'get',
33
+ params,
34
+ });
35
+ }
36
+ deleteFinanceAccountingBatchesById(id) {
37
+ return this.request({
38
+ path: `/finance/accounting/batches/${id}`,
39
+ method: 'delete',
40
+ });
41
+ }
42
+ postFinanceAccountingBatchesByIdExport(id, batchExportParameters) {
43
+ return this.request({
44
+ path: `/finance/accounting/batches/${id}/export`,
45
+ method: 'post',
46
+ data: batchExportParameters,
47
+ });
48
+ }
49
+ getFinanceAccountingBatchesByParentIdEntries(parentId, params = {}) {
50
+ return this.request({
51
+ path: `/finance/accounting/batches/${parentId}/entries`,
52
+ method: 'get',
53
+ params,
54
+ });
55
+ }
56
+ getFinanceAccountingBatchesByParentIdEntriesById(id, parentId, params = {}) {
57
+ return this.request({
58
+ path: `/finance/accounting/batches/${parentId}/entries/${id}`,
59
+ method: 'get',
60
+ params,
61
+ });
62
+ }
63
+ getFinanceAccountingBatchesByParentIdEntriesCount(parentId, params = {}) {
64
+ return this.request({
65
+ path: `/finance/accounting/batches/${parentId}/entries/count`,
66
+ method: 'get',
67
+ params,
68
+ });
69
+ }
70
+ getFinanceAccountingBatchesCount(params = {}) {
71
+ return this.request({
72
+ path: `/finance/accounting/batches/count`,
73
+ method: 'get',
74
+ params,
75
+ });
76
+ }
77
+ postFinanceAccountingExport(batchExportParameters) {
78
+ return this.request({
79
+ path: `/finance/accounting/export`,
80
+ method: 'post',
81
+ data: batchExportParameters,
82
+ });
83
+ }
84
+ getFinanceAccountingUnpostedexpenses(params = {}) {
85
+ return this.request({
86
+ path: `/finance/accounting/unpostedexpenses`,
87
+ method: 'get',
88
+ params,
89
+ });
90
+ }
91
+ getFinanceAccountingUnpostedexpensesById(id, params = {}) {
92
+ return this.request({
93
+ path: `/finance/accounting/unpostedexpenses/${id}`,
94
+ method: 'get',
95
+ params,
96
+ });
97
+ }
98
+ getFinanceAccountingUnpostedexpensesByParentIdTaxableLevels(parentId, params = {}) {
99
+ return this.request({
100
+ path: `/finance/accounting/unpostedexpenses/${parentId}/taxableLevels`,
101
+ method: 'get',
102
+ params,
103
+ });
104
+ }
105
+ getFinanceAccountingUnpostedexpensesByParentIdTaxableLevelsById(id, parentId, params = {}) {
106
+ return this.request({
107
+ path: `/finance/accounting/unpostedexpenses/${parentId}/taxableLevels/${id}`,
108
+ method: 'get',
109
+ params,
110
+ });
111
+ }
112
+ getFinanceAccountingUnpostedexpensesByParentIdTaxableLevelsCount(parentId, params = {}) {
113
+ return this.request({
114
+ path: `/finance/accounting/unpostedexpenses/${parentId}/taxableLevels/count`,
115
+ method: 'get',
116
+ params,
117
+ });
118
+ }
119
+ getFinanceAccountingUnpostedexpensesCount(params = {}) {
120
+ return this.request({
121
+ path: `/finance/accounting/unpostedexpenses/count`,
122
+ method: 'get',
123
+ params,
124
+ });
125
+ }
126
+ getFinanceAccountingUnpostedinvoices(params = {}) {
127
+ return this.request({
128
+ path: `/finance/accounting/unpostedinvoices`,
129
+ method: 'get',
130
+ params,
131
+ });
132
+ }
133
+ getFinanceAccountingUnpostedinvoicesById(id, params = {}) {
134
+ return this.request({
135
+ path: `/finance/accounting/unpostedinvoices/${id}`,
136
+ method: 'get',
137
+ params,
138
+ });
139
+ }
140
+ getFinanceAccountingUnpostedinvoicesByParentIdTaxableLevels(parentId, params = {}) {
141
+ return this.request({
142
+ path: `/finance/accounting/unpostedinvoices/${parentId}/taxableLevels`,
143
+ method: 'get',
144
+ params,
145
+ });
146
+ }
147
+ getFinanceAccountingUnpostedinvoicesByParentIdTaxableLevelsById(id, parentId, params = {}) {
148
+ return this.request({
149
+ path: `/finance/accounting/unpostedinvoices/${parentId}/taxableLevels/${id}`,
150
+ method: 'get',
151
+ params,
152
+ });
153
+ }
154
+ getFinanceAccountingUnpostedinvoicesByParentIdTaxableLevelsCount(parentId, params = {}) {
155
+ return this.request({
156
+ path: `/finance/accounting/unpostedinvoices/${parentId}/taxableLevels/count`,
157
+ method: 'get',
158
+ params,
159
+ });
160
+ }
161
+ getFinanceAccountingUnpostedinvoicesCount(params = {}) {
162
+ return this.request({
163
+ path: `/finance/accounting/unpostedinvoices/count`,
164
+ method: 'get',
165
+ params,
166
+ });
167
+ }
168
+ getFinanceAccountingUnpostedprocurement(params = {}) {
169
+ return this.request({
170
+ path: `/finance/accounting/unpostedprocurement`,
171
+ method: 'get',
172
+ params,
173
+ });
174
+ }
175
+ getFinanceAccountingUnpostedprocurementById(id, params = {}) {
176
+ return this.request({
177
+ path: `/finance/accounting/unpostedprocurement/${id}`,
178
+ method: 'get',
179
+ params,
180
+ });
181
+ }
182
+ getFinanceAccountingUnpostedprocurementByParentIdTaxableLevels(parentId, params = {}) {
183
+ return this.request({
184
+ path: `/finance/accounting/unpostedprocurement/${parentId}/taxableLevels`,
185
+ method: 'get',
186
+ params,
187
+ });
188
+ }
189
+ getFinanceAccountingUnpostedprocurementByParentIdTaxableLevelsById(id, parentId, params = {}) {
190
+ return this.request({
191
+ path: `/finance/accounting/unpostedprocurement/${parentId}/taxableLevels/${id}`,
192
+ method: 'get',
193
+ params,
194
+ });
195
+ }
196
+ getFinanceAccountingUnpostedprocurementByParentIdTaxableLevelsCount(parentId, params = {}) {
197
+ return this.request({
198
+ path: `/finance/accounting/unpostedprocurement/${parentId}/taxableLevels/count`,
199
+ method: 'get',
200
+ params,
201
+ });
202
+ }
203
+ getFinanceAccountingUnpostedprocurementCount(params = {}) {
204
+ return this.request({
205
+ path: `/finance/accounting/unpostedprocurement/count`,
206
+ method: 'get',
207
+ params,
208
+ });
209
+ }
210
+ getFinanceAccountingPackages(params = {}) {
211
+ return this.request({
212
+ path: `/finance/accountingPackages`,
213
+ method: 'get',
214
+ params,
215
+ });
216
+ }
217
+ getFinanceAccountingPackagesById(id, params = {}) {
218
+ return this.request({
219
+ path: `/finance/accountingPackages/${id}`,
220
+ method: 'get',
221
+ params,
222
+ });
223
+ }
224
+ getFinanceAccountingPackagesCount(params = {}) {
225
+ return this.request({
226
+ path: `/finance/accountingPackages/count`,
227
+ method: 'get',
228
+ params,
229
+ });
230
+ }
231
+ getFinanceAccountingPackageSetup(params = {}) {
232
+ return this.request({
233
+ path: `/finance/accountingPackageSetup`,
234
+ method: 'get',
235
+ params,
236
+ });
237
+ }
238
+ getFinanceAccountingPackageSetupById(id, params = {}) {
239
+ return this.request({
240
+ path: `/finance/accountingPackageSetup/${id}`,
241
+ method: 'get',
242
+ params,
243
+ });
244
+ }
245
+ putFinanceAccountingPackageSetupById(id, accountingPackageSetup) {
246
+ return this.request({
247
+ path: `/finance/accountingPackageSetup/${id}`,
248
+ method: 'put',
249
+ data: accountingPackageSetup,
250
+ });
251
+ }
252
+ patchFinanceAccountingPackageSetupById(id, patchOperations) {
253
+ return this.request({
254
+ path: `/finance/accountingPackageSetup/${id}`,
255
+ method: 'patch',
256
+ data: patchOperations,
257
+ });
258
+ }
259
+ getFinanceAccountingPackageSetupCount(params = {}) {
260
+ return this.request({
261
+ path: `/finance/accountingPackageSetup/count`,
262
+ method: 'get',
263
+ params,
264
+ });
265
+ }
266
+ getFinanceAgreements(params = {}) {
267
+ return this.request({
268
+ path: `/finance/agreements`,
269
+ method: 'get',
270
+ params,
271
+ });
272
+ }
273
+ postFinanceAgreements(agreement) {
274
+ return this.request({
275
+ path: `/finance/agreements`,
276
+ method: 'post',
277
+ data: agreement,
278
+ });
279
+ }
280
+ getFinanceAgreementsById(id, params = {}) {
281
+ return this.request({
282
+ path: `/finance/agreements/${id}`,
283
+ method: 'get',
284
+ params,
285
+ });
286
+ }
287
+ deleteFinanceAgreementsById(id) {
288
+ return this.request({
289
+ path: `/finance/agreements/${id}`,
290
+ method: 'delete',
291
+ });
292
+ }
293
+ putFinanceAgreementsById(id, agreement) {
294
+ return this.request({
295
+ path: `/finance/agreements/${id}`,
296
+ method: 'put',
297
+ data: agreement,
298
+ });
299
+ }
300
+ patchFinanceAgreementsById(id, patchOperations) {
301
+ return this.request({
302
+ path: `/finance/agreements/${id}`,
303
+ method: 'patch',
304
+ data: patchOperations,
305
+ });
306
+ }
307
+ getFinanceAgreementsByParentIdAdditions(parentId, params = {}) {
308
+ return this.request({
309
+ path: `/finance/agreements/${parentId}/additions`,
310
+ method: 'get',
311
+ params,
312
+ });
313
+ }
314
+ postFinanceAgreementsByParentIdAdditions(parentId, addition) {
315
+ return this.request({
316
+ path: `/finance/agreements/${parentId}/additions`,
317
+ method: 'post',
318
+ data: addition,
319
+ });
320
+ }
321
+ getFinanceAgreementsByParentIdAdditionsById(id, parentId, params = {}) {
322
+ return this.request({
323
+ path: `/finance/agreements/${parentId}/additions/${id}`,
324
+ method: 'get',
325
+ params,
326
+ });
327
+ }
328
+ deleteFinanceAgreementsByParentIdAdditionsById(id, parentId) {
329
+ return this.request({
330
+ path: `/finance/agreements/${parentId}/additions/${id}`,
331
+ method: 'delete',
332
+ });
333
+ }
334
+ putFinanceAgreementsByParentIdAdditionsById(id, parentId, addition) {
335
+ return this.request({
336
+ path: `/finance/agreements/${parentId}/additions/${id}`,
337
+ method: 'put',
338
+ data: addition,
339
+ });
340
+ }
341
+ patchFinanceAgreementsByParentIdAdditionsById(id, parentId, patchOperations) {
342
+ return this.request({
343
+ path: `/finance/agreements/${parentId}/additions/${id}`,
344
+ method: 'patch',
345
+ data: patchOperations,
346
+ });
347
+ }
348
+ getFinanceAgreementsByParentIdAdditionsCount(parentId, params = {}) {
349
+ return this.request({
350
+ path: `/finance/agreements/${parentId}/additions/count`,
351
+ method: 'get',
352
+ params,
353
+ });
354
+ }
355
+ getFinanceAgreementsByParentIdAdjustments(parentId, params = {}) {
356
+ return this.request({
357
+ path: `/finance/agreements/${parentId}/adjustments`,
358
+ method: 'get',
359
+ params,
360
+ });
361
+ }
362
+ postFinanceAgreementsByParentIdAdjustments(parentId, adjustment) {
363
+ return this.request({
364
+ path: `/finance/agreements/${parentId}/adjustments`,
365
+ method: 'post',
366
+ data: adjustment,
367
+ });
368
+ }
369
+ getFinanceAgreementsByParentIdAdjustmentsById(id, parentId, params = {}) {
370
+ return this.request({
371
+ path: `/finance/agreements/${parentId}/adjustments/${id}`,
372
+ method: 'get',
373
+ params,
374
+ });
375
+ }
376
+ deleteFinanceAgreementsByParentIdAdjustmentsById(id, parentId) {
377
+ return this.request({
378
+ path: `/finance/agreements/${parentId}/adjustments/${id}`,
379
+ method: 'delete',
380
+ });
381
+ }
382
+ putFinanceAgreementsByParentIdAdjustmentsById(id, parentId, adjustment) {
383
+ return this.request({
384
+ path: `/finance/agreements/${parentId}/adjustments/${id}`,
385
+ method: 'put',
386
+ data: adjustment,
387
+ });
388
+ }
389
+ patchFinanceAgreementsByParentIdAdjustmentsById(id, parentId, patchOperations) {
390
+ return this.request({
391
+ path: `/finance/agreements/${parentId}/adjustments/${id}`,
392
+ method: 'patch',
393
+ data: patchOperations,
394
+ });
395
+ }
396
+ getFinanceAgreementsByParentIdAdjustmentsCount(parentId, params = {}) {
397
+ return this.request({
398
+ path: `/finance/agreements/${parentId}/adjustments/count`,
399
+ method: 'get',
400
+ params,
401
+ });
402
+ }
403
+ getFinanceAgreementsByParentIdBoardDefaults(parentId, params = {}) {
404
+ return this.request({
405
+ path: `/finance/agreements/${parentId}/boardDefaults`,
406
+ method: 'get',
407
+ params,
408
+ });
409
+ }
410
+ postFinanceAgreementsByParentIdBoardDefaults(parentId, boardDefault) {
411
+ return this.request({
412
+ path: `/finance/agreements/${parentId}/boardDefaults`,
413
+ method: 'post',
414
+ data: boardDefault,
415
+ });
416
+ }
417
+ getFinanceAgreementsByParentIdBoardDefaultsById(id, parentId, params = {}) {
418
+ return this.request({
419
+ path: `/finance/agreements/${parentId}/boardDefaults/${id}`,
420
+ method: 'get',
421
+ params,
422
+ });
423
+ }
424
+ deleteFinanceAgreementsByParentIdBoardDefaultsById(id, parentId) {
425
+ return this.request({
426
+ path: `/finance/agreements/${parentId}/boardDefaults/${id}`,
427
+ method: 'delete',
428
+ });
429
+ }
430
+ putFinanceAgreementsByParentIdBoardDefaultsById(id, parentId, boardDefault) {
431
+ return this.request({
432
+ path: `/finance/agreements/${parentId}/boardDefaults/${id}`,
433
+ method: 'put',
434
+ data: boardDefault,
435
+ });
436
+ }
437
+ patchFinanceAgreementsByParentIdBoardDefaultsById(id, parentId, patchOperations) {
438
+ return this.request({
439
+ path: `/finance/agreements/${parentId}/boardDefaults/${id}`,
440
+ method: 'patch',
441
+ data: patchOperations,
442
+ });
443
+ }
444
+ getFinanceAgreementsByParentIdBoardDefaultsCount(parentId, params = {}) {
445
+ return this.request({
446
+ path: `/finance/agreements/${parentId}/boardDefaults/count`,
447
+ method: 'get',
448
+ params,
449
+ });
450
+ }
451
+ getFinanceAgreementsByParentIdConfigurations(parentId, params = {}) {
452
+ return this.request({
453
+ path: `/finance/agreements/${parentId}/configurations`,
454
+ method: 'get',
455
+ params,
456
+ });
457
+ }
458
+ postFinanceAgreementsByParentIdConfigurations(parentId, configuration) {
459
+ return this.request({
460
+ path: `/finance/agreements/${parentId}/configurations`,
461
+ method: 'post',
462
+ data: configuration,
463
+ });
464
+ }
465
+ getFinanceAgreementsByParentIdConfigurationsById(id, parentId, params = {}) {
466
+ return this.request({
467
+ path: `/finance/agreements/${parentId}/configurations/${id}`,
468
+ method: 'get',
469
+ params,
470
+ });
471
+ }
472
+ deleteFinanceAgreementsByParentIdConfigurationsById(id, parentId) {
473
+ return this.request({
474
+ path: `/finance/agreements/${parentId}/configurations/${id}`,
475
+ method: 'delete',
476
+ });
477
+ }
478
+ getFinanceAgreementsByParentIdConfigurationsCount(parentId, params = {}) {
479
+ return this.request({
480
+ path: `/finance/agreements/${parentId}/configurations/count`,
481
+ method: 'get',
482
+ params,
483
+ });
484
+ }
485
+ getFinanceAgreementsByParentIdSites(parentId, params = {}) {
486
+ return this.request({
487
+ path: `/finance/agreements/${parentId}/sites`,
488
+ method: 'get',
489
+ params,
490
+ });
491
+ }
492
+ postFinanceAgreementsByParentIdSites(parentId, site) {
493
+ return this.request({
494
+ path: `/finance/agreements/${parentId}/sites`,
495
+ method: 'post',
496
+ data: site,
497
+ });
498
+ }
499
+ getFinanceAgreementsByParentIdSitesById(id, parentId, params = {}) {
500
+ return this.request({
501
+ path: `/finance/agreements/${parentId}/sites/${id}`,
502
+ method: 'get',
503
+ params,
504
+ });
505
+ }
506
+ deleteFinanceAgreementsByParentIdSitesById(id, parentId) {
507
+ return this.request({
508
+ path: `/finance/agreements/${parentId}/sites/${id}`,
509
+ method: 'delete',
510
+ });
511
+ }
512
+ putFinanceAgreementsByParentIdSitesById(id, parentId, site) {
513
+ return this.request({
514
+ path: `/finance/agreements/${parentId}/sites/${id}`,
515
+ method: 'put',
516
+ data: site,
517
+ });
518
+ }
519
+ patchFinanceAgreementsByParentIdSitesById(id, parentId, patchOperations) {
520
+ return this.request({
521
+ path: `/finance/agreements/${parentId}/sites/${id}`,
522
+ method: 'patch',
523
+ data: patchOperations,
524
+ });
525
+ }
526
+ getFinanceAgreementsByParentIdSitesCount(parentId, params = {}) {
527
+ return this.request({
528
+ path: `/finance/agreements/${parentId}/sites/count`,
529
+ method: 'get',
530
+ params,
531
+ });
532
+ }
533
+ getFinanceAgreementsByParentIdWorkRoleExclusions(parentId, params = {}) {
534
+ return this.request({
535
+ path: `/finance/agreements/${parentId}/workRoleExclusions`,
536
+ method: 'get',
537
+ params,
538
+ });
539
+ }
540
+ postFinanceAgreementsByParentIdWorkRoleExclusions(parentId, workRoleExclusion) {
541
+ return this.request({
542
+ path: `/finance/agreements/${parentId}/workRoleExclusions`,
543
+ method: 'post',
544
+ data: workRoleExclusion,
545
+ });
546
+ }
547
+ deleteFinanceAgreementsByParentIdWorkRoleExclusionsById(id, parentId) {
548
+ return this.request({
549
+ path: `/finance/agreements/${parentId}/workRoleExclusions/${id}`,
550
+ method: 'delete',
551
+ });
552
+ }
553
+ getFinanceAgreementsByParentIdWorkRoleExclusionsCount(parentId, params = {}) {
554
+ return this.request({
555
+ path: `/finance/agreements/${parentId}/workRoleExclusions/count`,
556
+ method: 'get',
557
+ params,
558
+ });
559
+ }
560
+ getFinanceAgreementsByParentIdWorkroles(parentId, params = {}) {
561
+ return this.request({
562
+ path: `/finance/agreements/${parentId}/workroles`,
563
+ method: 'get',
564
+ params,
565
+ });
566
+ }
567
+ postFinanceAgreementsByParentIdWorkroles(parentId, workRole) {
568
+ return this.request({
569
+ path: `/finance/agreements/${parentId}/workroles`,
570
+ method: 'post',
571
+ data: workRole,
572
+ });
573
+ }
574
+ getFinanceAgreementsByParentIdWorkrolesById(id, parentId, params = {}) {
575
+ return this.request({
576
+ path: `/finance/agreements/${parentId}/workroles/${id}`,
577
+ method: 'get',
578
+ params,
579
+ });
580
+ }
581
+ deleteFinanceAgreementsByParentIdWorkrolesById(id, parentId) {
582
+ return this.request({
583
+ path: `/finance/agreements/${parentId}/workroles/${id}`,
584
+ method: 'delete',
585
+ });
586
+ }
587
+ putFinanceAgreementsByParentIdWorkrolesById(id, parentId, workRole) {
588
+ return this.request({
589
+ path: `/finance/agreements/${parentId}/workroles/${id}`,
590
+ method: 'put',
591
+ data: workRole,
592
+ });
593
+ }
594
+ patchFinanceAgreementsByParentIdWorkrolesById(id, parentId, patchOperations) {
595
+ return this.request({
596
+ path: `/finance/agreements/${parentId}/workroles/${id}`,
597
+ method: 'patch',
598
+ data: patchOperations,
599
+ });
600
+ }
601
+ getFinanceAgreementsByParentIdWorkrolesCount(parentId, params = {}) {
602
+ return this.request({
603
+ path: `/finance/agreements/${parentId}/workroles/count`,
604
+ method: 'get',
605
+ params,
606
+ });
607
+ }
608
+ getFinanceAgreementsByParentIdWorkTypeExclusions(parentId, params = {}) {
609
+ return this.request({
610
+ path: `/finance/agreements/${parentId}/workTypeExclusions`,
611
+ method: 'get',
612
+ params,
613
+ });
614
+ }
615
+ postFinanceAgreementsByParentIdWorkTypeExclusions(parentId, workTypeExclusion) {
616
+ return this.request({
617
+ path: `/finance/agreements/${parentId}/workTypeExclusions`,
618
+ method: 'post',
619
+ data: workTypeExclusion,
620
+ });
621
+ }
622
+ deleteFinanceAgreementsByParentIdWorkTypeExclusionsById(id, parentId) {
623
+ return this.request({
624
+ path: `/finance/agreements/${parentId}/workTypeExclusions/${id}`,
625
+ method: 'delete',
626
+ });
627
+ }
628
+ getFinanceAgreementsByParentIdWorkTypeExclusionsCount(parentId, params = {}) {
629
+ return this.request({
630
+ path: `/finance/agreements/${parentId}/workTypeExclusions/count`,
631
+ method: 'get',
632
+ params,
633
+ });
634
+ }
635
+ getFinanceAgreementsByParentIdWorktypes(parentId, params = {}) {
636
+ return this.request({
637
+ path: `/finance/agreements/${parentId}/worktypes`,
638
+ method: 'get',
639
+ params,
640
+ });
641
+ }
642
+ postFinanceAgreementsByParentIdWorktypes(parentId, workType) {
643
+ return this.request({
644
+ path: `/finance/agreements/${parentId}/worktypes`,
645
+ method: 'post',
646
+ data: workType,
647
+ });
648
+ }
649
+ getFinanceAgreementsByParentIdWorktypesById(id, parentId, params = {}) {
650
+ return this.request({
651
+ path: `/finance/agreements/${parentId}/worktypes/${id}`,
652
+ method: 'get',
653
+ params,
654
+ });
655
+ }
656
+ deleteFinanceAgreementsByParentIdWorktypesById(id, parentId) {
657
+ return this.request({
658
+ path: `/finance/agreements/${parentId}/worktypes/${id}`,
659
+ method: 'delete',
660
+ });
661
+ }
662
+ putFinanceAgreementsByParentIdWorktypesById(id, parentId, workType) {
663
+ return this.request({
664
+ path: `/finance/agreements/${parentId}/worktypes/${id}`,
665
+ method: 'put',
666
+ data: workType,
667
+ });
668
+ }
669
+ patchFinanceAgreementsByParentIdWorktypesById(id, parentId, patchOperations) {
670
+ return this.request({
671
+ path: `/finance/agreements/${parentId}/worktypes/${id}`,
672
+ method: 'patch',
673
+ data: patchOperations,
674
+ });
675
+ }
676
+ getFinanceAgreementsByParentIdWorktypesCount(parentId, params = {}) {
677
+ return this.request({
678
+ path: `/finance/agreements/${parentId}/worktypes/count`,
679
+ method: 'get',
680
+ params,
681
+ });
682
+ }
683
+ getFinanceAgreementsCount(params = {}) {
684
+ return this.request({
685
+ path: `/finance/agreements/count`,
686
+ method: 'get',
687
+ params,
688
+ });
689
+ }
690
+ getFinanceAgreementsTypes(params = {}) {
691
+ return this.request({
692
+ path: `/finance/agreements/types`,
693
+ method: 'get',
694
+ params,
695
+ });
696
+ }
697
+ postFinanceAgreementsTypes(agreementType) {
698
+ return this.request({
699
+ path: `/finance/agreements/types`,
700
+ method: 'post',
701
+ data: agreementType,
702
+ });
703
+ }
704
+ getFinanceAgreementsTypesById(id, params = {}) {
705
+ return this.request({
706
+ path: `/finance/agreements/types/${id}`,
707
+ method: 'get',
708
+ params,
709
+ });
710
+ }
711
+ deleteFinanceAgreementsTypesById(id) {
712
+ return this.request({
713
+ path: `/finance/agreements/types/${id}`,
714
+ method: 'delete',
715
+ });
716
+ }
717
+ putFinanceAgreementsTypesById(id, agreementType) {
718
+ return this.request({
719
+ path: `/finance/agreements/types/${id}`,
720
+ method: 'put',
721
+ data: agreementType,
722
+ });
723
+ }
724
+ patchFinanceAgreementsTypesById(id, patchOperations) {
725
+ return this.request({
726
+ path: `/finance/agreements/types/${id}`,
727
+ method: 'patch',
728
+ data: patchOperations,
729
+ });
730
+ }
731
+ getFinanceAgreementsTypesByIdInfo(id, params = {}) {
732
+ return this.request({
733
+ path: `/finance/agreements/types/${id}/info`,
734
+ method: 'get',
735
+ params,
736
+ });
737
+ }
738
+ getFinanceAgreementsTypesByIdUsages(id, params = {}) {
739
+ return this.request({
740
+ path: `/finance/agreements/types/${id}/usages`,
741
+ method: 'get',
742
+ params,
743
+ });
744
+ }
745
+ getFinanceAgreementsTypesByIdUsagesList(id, params = {}) {
746
+ return this.request({
747
+ path: `/finance/agreements/types/${id}/usages/list`,
748
+ method: 'get',
749
+ params,
750
+ });
751
+ }
752
+ getFinanceAgreementsTypesCount(params = {}) {
753
+ return this.request({
754
+ path: `/finance/agreements/types/count`,
755
+ method: 'get',
756
+ params,
757
+ });
758
+ }
759
+ getFinanceAgreementsTypesInfo(params = {}) {
760
+ return this.request({
761
+ path: `/finance/agreements/types/info`,
762
+ method: 'get',
763
+ params,
764
+ });
765
+ }
766
+ getFinanceAgreementsTypesInfoCount(params = {}) {
767
+ return this.request({
768
+ path: `/finance/agreements/types/info/count`,
769
+ method: 'get',
770
+ params,
771
+ });
772
+ }
773
+ getFinanceAgreementTypesByParentIdBoardDefaults(parentId, params = {}) {
774
+ return this.request({
775
+ path: `/finance/agreementTypes/${parentId}/boardDefaults`,
776
+ method: 'get',
777
+ params,
778
+ });
779
+ }
780
+ postFinanceAgreementTypesByParentIdBoardDefaults(parentId, boardDefault) {
781
+ return this.request({
782
+ path: `/finance/agreementTypes/${parentId}/boardDefaults`,
783
+ method: 'post',
784
+ data: boardDefault,
785
+ });
786
+ }
787
+ getFinanceAgreementTypesByParentIdBoardDefaultsById(id, parentId, params = {}) {
788
+ return this.request({
789
+ path: `/finance/agreementTypes/${parentId}/boardDefaults/${id}`,
790
+ method: 'get',
791
+ params,
792
+ });
793
+ }
794
+ deleteFinanceAgreementTypesByParentIdBoardDefaultsById(id, parentId) {
795
+ return this.request({
796
+ path: `/finance/agreementTypes/${parentId}/boardDefaults/${id}`,
797
+ method: 'delete',
798
+ });
799
+ }
800
+ putFinanceAgreementTypesByParentIdBoardDefaultsById(id, parentId, boardDefault) {
801
+ return this.request({
802
+ path: `/finance/agreementTypes/${parentId}/boardDefaults/${id}`,
803
+ method: 'put',
804
+ data: boardDefault,
805
+ });
806
+ }
807
+ patchFinanceAgreementTypesByParentIdBoardDefaultsById(id, parentId, patchOperations) {
808
+ return this.request({
809
+ path: `/finance/agreementTypes/${parentId}/boardDefaults/${id}`,
810
+ method: 'patch',
811
+ data: patchOperations,
812
+ });
813
+ }
814
+ getFinanceAgreementTypesByParentIdBoardDefaultsCount(parentId, params = {}) {
815
+ return this.request({
816
+ path: `/finance/agreementTypes/${parentId}/boardDefaults/count`,
817
+ method: 'get',
818
+ params,
819
+ });
820
+ }
821
+ getFinanceAgreementTypesByParentIdWorkRoleExclusions(parentId, params = {}) {
822
+ return this.request({
823
+ path: `/finance/agreementTypes/${parentId}/workRoleExclusions`,
824
+ method: 'get',
825
+ params,
826
+ });
827
+ }
828
+ postFinanceAgreementTypesByParentIdWorkRoleExclusions(parentId, workRoleExclusion) {
829
+ return this.request({
830
+ path: `/finance/agreementTypes/${parentId}/workRoleExclusions`,
831
+ method: 'post',
832
+ data: workRoleExclusion,
833
+ });
834
+ }
835
+ getFinanceAgreementTypesByParentIdWorkRoleExclusionsById(id, parentId, params = {}) {
836
+ return this.request({
837
+ path: `/finance/agreementTypes/${parentId}/workRoleExclusions/${id}`,
838
+ method: 'get',
839
+ params,
840
+ });
841
+ }
842
+ deleteFinanceAgreementTypesByParentIdWorkRoleExclusionsById(id, parentId) {
843
+ return this.request({
844
+ path: `/finance/agreementTypes/${parentId}/workRoleExclusions/${id}`,
845
+ method: 'delete',
846
+ });
847
+ }
848
+ getFinanceAgreementTypesByParentIdWorkRoleExclusionsCount(parentId, params = {}) {
849
+ return this.request({
850
+ path: `/finance/agreementTypes/${parentId}/workRoleExclusions/count`,
851
+ method: 'get',
852
+ params,
853
+ });
854
+ }
855
+ getFinanceAgreementTypesByParentIdWorkroles(parentId, params = {}) {
856
+ return this.request({
857
+ path: `/finance/agreementTypes/${parentId}/workroles`,
858
+ method: 'get',
859
+ params,
860
+ });
861
+ }
862
+ postFinanceAgreementTypesByParentIdWorkroles(parentId, workRole) {
863
+ return this.request({
864
+ path: `/finance/agreementTypes/${parentId}/workroles`,
865
+ method: 'post',
866
+ data: workRole,
867
+ });
868
+ }
869
+ getFinanceAgreementTypesByParentIdWorkrolesById(id, parentId, params = {}) {
870
+ return this.request({
871
+ path: `/finance/agreementTypes/${parentId}/workroles/${id}`,
872
+ method: 'get',
873
+ params,
874
+ });
875
+ }
876
+ deleteFinanceAgreementTypesByParentIdWorkrolesById(id, parentId) {
877
+ return this.request({
878
+ path: `/finance/agreementTypes/${parentId}/workroles/${id}`,
879
+ method: 'delete',
880
+ });
881
+ }
882
+ putFinanceAgreementTypesByParentIdWorkrolesById(id, parentId, workRole) {
883
+ return this.request({
884
+ path: `/finance/agreementTypes/${parentId}/workroles/${id}`,
885
+ method: 'put',
886
+ data: workRole,
887
+ });
888
+ }
889
+ patchFinanceAgreementTypesByParentIdWorkrolesById(id, parentId, patchOperations) {
890
+ return this.request({
891
+ path: `/finance/agreementTypes/${parentId}/workroles/${id}`,
892
+ method: 'patch',
893
+ data: patchOperations,
894
+ });
895
+ }
896
+ getFinanceAgreementTypesByParentIdWorkrolesCount(parentId, params = {}) {
897
+ return this.request({
898
+ path: `/finance/agreementTypes/${parentId}/workroles/count`,
899
+ method: 'get',
900
+ params,
901
+ });
902
+ }
903
+ getFinanceAgreementTypesByParentIdWorkrolesInfo(parentId, params = {}) {
904
+ return this.request({
905
+ path: `/finance/agreementTypes/${parentId}/workroles/info`,
906
+ method: 'get',
907
+ params,
908
+ });
909
+ }
910
+ getFinanceAgreementTypesByParentIdWorkrolesInfoById(id, parentId, params = {}) {
911
+ return this.request({
912
+ path: `/finance/agreementTypes/${parentId}/workroles/info/${id}`,
913
+ method: 'get',
914
+ params,
915
+ });
916
+ }
917
+ getFinanceAgreementTypesByParentIdWorkrolesInfoCount(parentId, params = {}) {
918
+ return this.request({
919
+ path: `/finance/agreementTypes/${parentId}/workroles/info/count`,
920
+ method: 'get',
921
+ params,
922
+ });
923
+ }
924
+ getFinanceAgreementTypesByParentIdWorkTypeExclusions(parentId, params = {}) {
925
+ return this.request({
926
+ path: `/finance/agreementTypes/${parentId}/workTypeExclusions`,
927
+ method: 'get',
928
+ params,
929
+ });
930
+ }
931
+ postFinanceAgreementTypesByParentIdWorkTypeExclusions(parentId, workTypeExclusion) {
932
+ return this.request({
933
+ path: `/finance/agreementTypes/${parentId}/workTypeExclusions`,
934
+ method: 'post',
935
+ data: workTypeExclusion,
936
+ });
937
+ }
938
+ getFinanceAgreementTypesByParentIdWorkTypeExclusionsById(id, parentId, params = {}) {
939
+ return this.request({
940
+ path: `/finance/agreementTypes/${parentId}/workTypeExclusions/${id}`,
941
+ method: 'get',
942
+ params,
943
+ });
944
+ }
945
+ deleteFinanceAgreementTypesByParentIdWorkTypeExclusionsById(id, parentId) {
946
+ return this.request({
947
+ path: `/finance/agreementTypes/${parentId}/workTypeExclusions/${id}`,
948
+ method: 'delete',
949
+ });
950
+ }
951
+ getFinanceAgreementTypesByParentIdWorkTypeExclusionsCount(parentId, params = {}) {
952
+ return this.request({
953
+ path: `/finance/agreementTypes/${parentId}/workTypeExclusions/count`,
954
+ method: 'get',
955
+ params,
956
+ });
957
+ }
958
+ getFinanceAgreementTypesByParentIdWorktypes(parentId, params = {}) {
959
+ return this.request({
960
+ path: `/finance/agreementTypes/${parentId}/worktypes`,
961
+ method: 'get',
962
+ params,
963
+ });
964
+ }
965
+ postFinanceAgreementTypesByParentIdWorktypes(parentId, workType) {
966
+ return this.request({
967
+ path: `/finance/agreementTypes/${parentId}/worktypes`,
968
+ method: 'post',
969
+ data: workType,
970
+ });
971
+ }
972
+ getFinanceAgreementTypesByParentIdWorktypesById(id, parentId, params = {}) {
973
+ return this.request({
974
+ path: `/finance/agreementTypes/${parentId}/worktypes/${id}`,
975
+ method: 'get',
976
+ params,
977
+ });
978
+ }
979
+ deleteFinanceAgreementTypesByParentIdWorktypesById(id, parentId) {
980
+ return this.request({
981
+ path: `/finance/agreementTypes/${parentId}/worktypes/${id}`,
982
+ method: 'delete',
983
+ });
984
+ }
985
+ putFinanceAgreementTypesByParentIdWorktypesById(id, parentId, workType) {
986
+ return this.request({
987
+ path: `/finance/agreementTypes/${parentId}/worktypes/${id}`,
988
+ method: 'put',
989
+ data: workType,
990
+ });
991
+ }
992
+ patchFinanceAgreementTypesByParentIdWorktypesById(id, parentId, patchOperations) {
993
+ return this.request({
994
+ path: `/finance/agreementTypes/${parentId}/worktypes/${id}`,
995
+ method: 'patch',
996
+ data: patchOperations,
997
+ });
998
+ }
999
+ getFinanceAgreementTypesByParentIdWorktypesCount(parentId, params = {}) {
1000
+ return this.request({
1001
+ path: `/finance/agreementTypes/${parentId}/worktypes/count`,
1002
+ method: 'get',
1003
+ params,
1004
+ });
1005
+ }
1006
+ getFinanceBatchSetups(params = {}) {
1007
+ return this.request({
1008
+ path: `/finance/batchSetups`,
1009
+ method: 'get',
1010
+ params,
1011
+ });
1012
+ }
1013
+ getFinanceBatchSetupsById(id, params = {}) {
1014
+ return this.request({
1015
+ path: `/finance/batchSetups/${id}`,
1016
+ method: 'get',
1017
+ params,
1018
+ });
1019
+ }
1020
+ putFinanceBatchSetupsById(id, batchSetup) {
1021
+ return this.request({
1022
+ path: `/finance/batchSetups/${id}`,
1023
+ method: 'put',
1024
+ data: batchSetup,
1025
+ });
1026
+ }
1027
+ patchFinanceBatchSetupsById(id, patchOperations) {
1028
+ return this.request({
1029
+ path: `/finance/batchSetups/${id}`,
1030
+ method: 'patch',
1031
+ data: patchOperations,
1032
+ });
1033
+ }
1034
+ getFinanceBatchSetupsCount(params = {}) {
1035
+ return this.request({
1036
+ path: `/finance/batchSetups/count`,
1037
+ method: 'get',
1038
+ params,
1039
+ });
1040
+ }
1041
+ getFinanceBillingCycles(params = {}) {
1042
+ return this.request({
1043
+ path: `/finance/billingCycles`,
1044
+ method: 'get',
1045
+ params,
1046
+ });
1047
+ }
1048
+ postFinanceBillingCycles(billingCycle) {
1049
+ return this.request({
1050
+ path: `/finance/billingCycles`,
1051
+ method: 'post',
1052
+ data: billingCycle,
1053
+ });
1054
+ }
1055
+ getFinanceBillingCyclesById(id, params = {}) {
1056
+ return this.request({
1057
+ path: `/finance/billingCycles/${id}`,
1058
+ method: 'get',
1059
+ params,
1060
+ });
1061
+ }
1062
+ deleteFinanceBillingCyclesById(id) {
1063
+ return this.request({
1064
+ path: `/finance/billingCycles/${id}`,
1065
+ method: 'delete',
1066
+ });
1067
+ }
1068
+ putFinanceBillingCyclesById(id, billingCycle) {
1069
+ return this.request({
1070
+ path: `/finance/billingCycles/${id}`,
1071
+ method: 'put',
1072
+ data: billingCycle,
1073
+ });
1074
+ }
1075
+ patchFinanceBillingCyclesById(id, patchOperations) {
1076
+ return this.request({
1077
+ path: `/finance/billingCycles/${id}`,
1078
+ method: 'patch',
1079
+ data: patchOperations,
1080
+ });
1081
+ }
1082
+ getFinanceBillingCyclesByIdInfo(id, params = {}) {
1083
+ return this.request({
1084
+ path: `/finance/billingCycles/${id}/info`,
1085
+ method: 'get',
1086
+ params,
1087
+ });
1088
+ }
1089
+ getFinanceBillingCyclesByIdUsages(id, params = {}) {
1090
+ return this.request({
1091
+ path: `/finance/billingCycles/${id}/usages`,
1092
+ method: 'get',
1093
+ params,
1094
+ });
1095
+ }
1096
+ getFinanceBillingCyclesByIdUsagesList(id, params = {}) {
1097
+ return this.request({
1098
+ path: `/finance/billingCycles/${id}/usages/list`,
1099
+ method: 'get',
1100
+ params,
1101
+ });
1102
+ }
1103
+ getFinanceBillingCyclesCount(params = {}) {
1104
+ return this.request({
1105
+ path: `/finance/billingCycles/count`,
1106
+ method: 'get',
1107
+ params,
1108
+ });
1109
+ }
1110
+ getFinanceBillingCyclesInfo(params = {}) {
1111
+ return this.request({
1112
+ path: `/finance/billingCycles/info`,
1113
+ method: 'get',
1114
+ params,
1115
+ });
1116
+ }
1117
+ getFinanceBillingCyclesInfoCount(params = {}) {
1118
+ return this.request({
1119
+ path: `/finance/billingCycles/info/count`,
1120
+ method: 'get',
1121
+ params,
1122
+ });
1123
+ }
1124
+ getFinanceBillingSetups(params = {}) {
1125
+ return this.request({
1126
+ path: `/finance/billingSetups`,
1127
+ method: 'get',
1128
+ params,
1129
+ });
1130
+ }
1131
+ postFinanceBillingSetups(billingSetup) {
1132
+ return this.request({
1133
+ path: `/finance/billingSetups`,
1134
+ method: 'post',
1135
+ data: billingSetup,
1136
+ });
1137
+ }
1138
+ getFinanceBillingSetupsById(id, params = {}) {
1139
+ return this.request({
1140
+ path: `/finance/billingSetups/${id}`,
1141
+ method: 'get',
1142
+ params,
1143
+ });
1144
+ }
1145
+ deleteFinanceBillingSetupsById(id) {
1146
+ return this.request({
1147
+ path: `/finance/billingSetups/${id}`,
1148
+ method: 'delete',
1149
+ });
1150
+ }
1151
+ putFinanceBillingSetupsById(id, billingSetup) {
1152
+ return this.request({
1153
+ path: `/finance/billingSetups/${id}`,
1154
+ method: 'put',
1155
+ data: billingSetup,
1156
+ });
1157
+ }
1158
+ patchFinanceBillingSetupsById(id, patchOperations) {
1159
+ return this.request({
1160
+ path: `/finance/billingSetups/${id}`,
1161
+ method: 'patch',
1162
+ data: patchOperations,
1163
+ });
1164
+ }
1165
+ getFinanceBillingSetupsByIdInfo(id, params = {}) {
1166
+ return this.request({
1167
+ path: `/finance/billingSetups/${id}/info`,
1168
+ method: 'get',
1169
+ params,
1170
+ });
1171
+ }
1172
+ getFinanceBillingSetupsByParentIdRoutings(parentId, params = {}) {
1173
+ return this.request({
1174
+ path: `/finance/billingSetups/${parentId}/routings`,
1175
+ method: 'get',
1176
+ params,
1177
+ });
1178
+ }
1179
+ postFinanceBillingSetupsByParentIdRoutings(parentId, billingSetupRouting) {
1180
+ return this.request({
1181
+ path: `/finance/billingSetups/${parentId}/routings`,
1182
+ method: 'post',
1183
+ data: billingSetupRouting,
1184
+ });
1185
+ }
1186
+ getFinanceBillingSetupsByParentIdRoutingsById(id, parentId, params = {}) {
1187
+ return this.request({
1188
+ path: `/finance/billingSetups/${parentId}/routings/${id}`,
1189
+ method: 'get',
1190
+ params,
1191
+ });
1192
+ }
1193
+ deleteFinanceBillingSetupsByParentIdRoutingsById(id, parentId) {
1194
+ return this.request({
1195
+ path: `/finance/billingSetups/${parentId}/routings/${id}`,
1196
+ method: 'delete',
1197
+ });
1198
+ }
1199
+ putFinanceBillingSetupsByParentIdRoutingsById(id, parentId, billingSetupRouting) {
1200
+ return this.request({
1201
+ path: `/finance/billingSetups/${parentId}/routings/${id}`,
1202
+ method: 'put',
1203
+ data: billingSetupRouting,
1204
+ });
1205
+ }
1206
+ patchFinanceBillingSetupsByParentIdRoutingsById(id, parentId, patchOperations) {
1207
+ return this.request({
1208
+ path: `/finance/billingSetups/${parentId}/routings/${id}`,
1209
+ method: 'patch',
1210
+ data: patchOperations,
1211
+ });
1212
+ }
1213
+ getFinanceBillingSetupsByParentIdRoutingsCount(parentId, params = {}) {
1214
+ return this.request({
1215
+ path: `/finance/billingSetups/${parentId}/routings/count`,
1216
+ method: 'get',
1217
+ params,
1218
+ });
1219
+ }
1220
+ getFinanceBillingSetupsCount(params = {}) {
1221
+ return this.request({
1222
+ path: `/finance/billingSetups/count`,
1223
+ method: 'get',
1224
+ params,
1225
+ });
1226
+ }
1227
+ getFinanceBillingSetupsInfo(params = {}) {
1228
+ return this.request({
1229
+ path: `/finance/billingSetups/info`,
1230
+ method: 'get',
1231
+ params,
1232
+ });
1233
+ }
1234
+ getFinanceBillingStatuses(params = {}) {
1235
+ return this.request({
1236
+ path: `/finance/billingStatuses`,
1237
+ method: 'get',
1238
+ params,
1239
+ });
1240
+ }
1241
+ postFinanceBillingStatuses(billingStatus) {
1242
+ return this.request({
1243
+ path: `/finance/billingStatuses`,
1244
+ method: 'post',
1245
+ data: billingStatus,
1246
+ });
1247
+ }
1248
+ getFinanceBillingStatusesById(id, params = {}) {
1249
+ return this.request({
1250
+ path: `/finance/billingStatuses/${id}`,
1251
+ method: 'get',
1252
+ params,
1253
+ });
1254
+ }
1255
+ deleteFinanceBillingStatusesById(id) {
1256
+ return this.request({
1257
+ path: `/finance/billingStatuses/${id}`,
1258
+ method: 'delete',
1259
+ });
1260
+ }
1261
+ putFinanceBillingStatusesById(id, billingStatus) {
1262
+ return this.request({
1263
+ path: `/finance/billingStatuses/${id}`,
1264
+ method: 'put',
1265
+ data: billingStatus,
1266
+ });
1267
+ }
1268
+ patchFinanceBillingStatusesById(id, patchOperations) {
1269
+ return this.request({
1270
+ path: `/finance/billingStatuses/${id}`,
1271
+ method: 'patch',
1272
+ data: patchOperations,
1273
+ });
1274
+ }
1275
+ getFinanceBillingStatusesByIdInfo(id, params = {}) {
1276
+ return this.request({
1277
+ path: `/finance/billingStatuses/${id}/info`,
1278
+ method: 'get',
1279
+ params,
1280
+ });
1281
+ }
1282
+ getFinanceBillingStatusesByIdUsages(id, params = {}) {
1283
+ return this.request({
1284
+ path: `/finance/billingStatuses/${id}/usages`,
1285
+ method: 'get',
1286
+ params,
1287
+ });
1288
+ }
1289
+ getFinanceBillingStatusesByIdUsagesList(id, params = {}) {
1290
+ return this.request({
1291
+ path: `/finance/billingStatuses/${id}/usages/list`,
1292
+ method: 'get',
1293
+ params,
1294
+ });
1295
+ }
1296
+ getFinanceBillingStatusesCount(params = {}) {
1297
+ return this.request({
1298
+ path: `/finance/billingStatuses/count`,
1299
+ method: 'get',
1300
+ params,
1301
+ });
1302
+ }
1303
+ getFinanceBillingStatusesInfo(params = {}) {
1304
+ return this.request({
1305
+ path: `/finance/billingStatuses/info`,
1306
+ method: 'get',
1307
+ params,
1308
+ });
1309
+ }
1310
+ getFinanceBillingStatusesInfoCount(params = {}) {
1311
+ return this.request({
1312
+ path: `/finance/billingStatuses/info/count`,
1313
+ method: 'get',
1314
+ params,
1315
+ });
1316
+ }
1317
+ getFinanceBillingTerms(params = {}) {
1318
+ return this.request({
1319
+ path: `/finance/billingTerms`,
1320
+ method: 'get',
1321
+ params,
1322
+ });
1323
+ }
1324
+ postFinanceBillingTerms(billingTerms) {
1325
+ return this.request({
1326
+ path: `/finance/billingTerms`,
1327
+ method: 'post',
1328
+ data: billingTerms,
1329
+ });
1330
+ }
1331
+ getFinanceBillingTermsById(id, params = {}) {
1332
+ return this.request({
1333
+ path: `/finance/billingTerms/${id}`,
1334
+ method: 'get',
1335
+ params,
1336
+ });
1337
+ }
1338
+ deleteFinanceBillingTermsById(id) {
1339
+ return this.request({
1340
+ path: `/finance/billingTerms/${id}`,
1341
+ method: 'delete',
1342
+ });
1343
+ }
1344
+ putFinanceBillingTermsById(id, billingTerms) {
1345
+ return this.request({
1346
+ path: `/finance/billingTerms/${id}`,
1347
+ method: 'put',
1348
+ data: billingTerms,
1349
+ });
1350
+ }
1351
+ patchFinanceBillingTermsById(id, patchOperations) {
1352
+ return this.request({
1353
+ path: `/finance/billingTerms/${id}`,
1354
+ method: 'patch',
1355
+ data: patchOperations,
1356
+ });
1357
+ }
1358
+ getFinanceBillingTermsByIdInfo(id, params = {}) {
1359
+ return this.request({
1360
+ path: `/finance/billingTerms/${id}/info`,
1361
+ method: 'get',
1362
+ params,
1363
+ });
1364
+ }
1365
+ getFinanceBillingTermsByIdUsages(id, params = {}) {
1366
+ return this.request({
1367
+ path: `/finance/billingTerms/${id}/usages`,
1368
+ method: 'get',
1369
+ params,
1370
+ });
1371
+ }
1372
+ getFinanceBillingTermsByIdUsagesList(id, params = {}) {
1373
+ return this.request({
1374
+ path: `/finance/billingTerms/${id}/usages/list`,
1375
+ method: 'get',
1376
+ params,
1377
+ });
1378
+ }
1379
+ getFinanceBillingTermsCount(params = {}) {
1380
+ return this.request({
1381
+ path: `/finance/billingTerms/count`,
1382
+ method: 'get',
1383
+ params,
1384
+ });
1385
+ }
1386
+ getFinanceBillingTermsInfo(params = {}) {
1387
+ return this.request({
1388
+ path: `/finance/billingTerms/info`,
1389
+ method: 'get',
1390
+ params,
1391
+ });
1392
+ }
1393
+ getFinanceBillingTermsInfoCount(params = {}) {
1394
+ return this.request({
1395
+ path: `/finance/billingTerms/info/count`,
1396
+ method: 'get',
1397
+ params,
1398
+ });
1399
+ }
1400
+ putFinanceClosedInvoicesById(id, closedInvoice) {
1401
+ return this.request({
1402
+ path: `/finance/closedInvoices/${id}`,
1403
+ method: 'put',
1404
+ data: closedInvoice,
1405
+ });
1406
+ }
1407
+ patchFinanceClosedInvoicesById(id, patchOperations) {
1408
+ return this.request({
1409
+ path: `/finance/closedInvoices/${id}`,
1410
+ method: 'patch',
1411
+ data: patchOperations,
1412
+ });
1413
+ }
1414
+ getFinanceCompanyFinance(params = {}) {
1415
+ return this.request({
1416
+ path: `/finance/companyFinance/`,
1417
+ method: 'get',
1418
+ params,
1419
+ });
1420
+ }
1421
+ getFinanceCompanyFinanceById(id, params = {}) {
1422
+ return this.request({
1423
+ path: `/finance/companyFinance/${id}`,
1424
+ method: 'get',
1425
+ params,
1426
+ });
1427
+ }
1428
+ patchFinanceCompanyFinanceById(id, patchOperations) {
1429
+ return this.request({
1430
+ path: `/finance/companyFinance/${id}`,
1431
+ method: 'patch',
1432
+ data: patchOperations,
1433
+ });
1434
+ }
1435
+ getFinanceCompanyFinanceCount(params = {}) {
1436
+ return this.request({
1437
+ path: `/finance/companyFinance/count`,
1438
+ method: 'get',
1439
+ params,
1440
+ });
1441
+ }
1442
+ getFinanceCurrencies(params = {}) {
1443
+ return this.request({
1444
+ path: `/finance/currencies`,
1445
+ method: 'get',
1446
+ params,
1447
+ });
1448
+ }
1449
+ postFinanceCurrencies(currency) {
1450
+ return this.request({
1451
+ path: `/finance/currencies`,
1452
+ method: 'post',
1453
+ data: currency,
1454
+ });
1455
+ }
1456
+ getFinanceCurrenciesById(id, params = {}) {
1457
+ return this.request({
1458
+ path: `/finance/currencies/${id}`,
1459
+ method: 'get',
1460
+ params,
1461
+ });
1462
+ }
1463
+ putFinanceCurrenciesById(id, currency) {
1464
+ return this.request({
1465
+ path: `/finance/currencies/${id}`,
1466
+ method: 'put',
1467
+ data: currency,
1468
+ });
1469
+ }
1470
+ patchFinanceCurrenciesById(id, patchOperations) {
1471
+ return this.request({
1472
+ path: `/finance/currencies/${id}`,
1473
+ method: 'patch',
1474
+ data: patchOperations,
1475
+ });
1476
+ }
1477
+ deleteFinanceCurrenciesById(id) {
1478
+ return this.request({
1479
+ path: `/finance/currencies/${id}`,
1480
+ method: 'delete',
1481
+ });
1482
+ }
1483
+ getFinanceCurrenciesByIdInfo(id, params = {}) {
1484
+ return this.request({
1485
+ path: `/finance/currencies/${id}/info`,
1486
+ method: 'get',
1487
+ params,
1488
+ });
1489
+ }
1490
+ getFinanceCurrenciesByIdUsages(id, params = {}) {
1491
+ return this.request({
1492
+ path: `/finance/currencies/${id}/usages`,
1493
+ method: 'get',
1494
+ params,
1495
+ });
1496
+ }
1497
+ getFinanceCurrenciesByIdUsagesList(id, params = {}) {
1498
+ return this.request({
1499
+ path: `/finance/currencies/${id}/usages/list`,
1500
+ method: 'get',
1501
+ params,
1502
+ });
1503
+ }
1504
+ getFinanceCurrenciesCount(params = {}) {
1505
+ return this.request({
1506
+ path: `/finance/currencies/count`,
1507
+ method: 'get',
1508
+ params,
1509
+ });
1510
+ }
1511
+ getFinanceCurrenciesInfo(params = {}) {
1512
+ return this.request({
1513
+ path: `/finance/currencies/info`,
1514
+ method: 'get',
1515
+ params,
1516
+ });
1517
+ }
1518
+ getFinanceCurrenciesInfoCount(params = {}) {
1519
+ return this.request({
1520
+ path: `/finance/currencies/info/count`,
1521
+ method: 'get',
1522
+ params,
1523
+ });
1524
+ }
1525
+ getFinanceDeliveryMethods(params = {}) {
1526
+ return this.request({
1527
+ path: `/finance/deliveryMethods`,
1528
+ method: 'get',
1529
+ params,
1530
+ });
1531
+ }
1532
+ postFinanceDeliveryMethods(deliveryMethod) {
1533
+ return this.request({
1534
+ path: `/finance/deliveryMethods`,
1535
+ method: 'post',
1536
+ data: deliveryMethod,
1537
+ });
1538
+ }
1539
+ getFinanceDeliveryMethodsById(id, params = {}) {
1540
+ return this.request({
1541
+ path: `/finance/deliveryMethods/${id}`,
1542
+ method: 'get',
1543
+ params,
1544
+ });
1545
+ }
1546
+ deleteFinanceDeliveryMethodsById(id) {
1547
+ return this.request({
1548
+ path: `/finance/deliveryMethods/${id}`,
1549
+ method: 'delete',
1550
+ });
1551
+ }
1552
+ putFinanceDeliveryMethodsById(id, deliveryMethod) {
1553
+ return this.request({
1554
+ path: `/finance/deliveryMethods/${id}`,
1555
+ method: 'put',
1556
+ data: deliveryMethod,
1557
+ });
1558
+ }
1559
+ patchFinanceDeliveryMethodsById(id, patchOperations) {
1560
+ return this.request({
1561
+ path: `/finance/deliveryMethods/${id}`,
1562
+ method: 'patch',
1563
+ data: patchOperations,
1564
+ });
1565
+ }
1566
+ getFinanceDeliveryMethodsCount(params = {}) {
1567
+ return this.request({
1568
+ path: `/finance/deliveryMethods/count`,
1569
+ method: 'get',
1570
+ params,
1571
+ });
1572
+ }
1573
+ getFinanceGlAccounts(params = {}) {
1574
+ return this.request({
1575
+ path: `/finance/glAccounts`,
1576
+ method: 'get',
1577
+ params,
1578
+ });
1579
+ }
1580
+ postFinanceGlAccounts(glAccount) {
1581
+ return this.request({
1582
+ path: `/finance/glAccounts`,
1583
+ method: 'post',
1584
+ data: glAccount,
1585
+ });
1586
+ }
1587
+ getFinanceGlAccountsById(id, params = {}) {
1588
+ return this.request({
1589
+ path: `/finance/glAccounts/${id}`,
1590
+ method: 'get',
1591
+ params,
1592
+ });
1593
+ }
1594
+ putFinanceGlAccountsById(id, glAccount) {
1595
+ return this.request({
1596
+ path: `/finance/glAccounts/${id}`,
1597
+ method: 'put',
1598
+ data: glAccount,
1599
+ });
1600
+ }
1601
+ patchFinanceGlAccountsById(id, patchOperations) {
1602
+ return this.request({
1603
+ path: `/finance/glAccounts/${id}`,
1604
+ method: 'patch',
1605
+ data: patchOperations,
1606
+ });
1607
+ }
1608
+ deleteFinanceGlAccountsById(id) {
1609
+ return this.request({
1610
+ path: `/finance/glAccounts/${id}`,
1611
+ method: 'delete',
1612
+ });
1613
+ }
1614
+ getFinanceGlAccountsCount(params = {}) {
1615
+ return this.request({
1616
+ path: `/finance/glAccounts/count`,
1617
+ method: 'get',
1618
+ params,
1619
+ });
1620
+ }
1621
+ getFinanceGlAccountsMappedTypes(params = {}) {
1622
+ return this.request({
1623
+ path: `/finance/glAccounts/mappedTypes`,
1624
+ method: 'get',
1625
+ params,
1626
+ });
1627
+ }
1628
+ getFinanceGlAccountsMappedTypesCount(params = {}) {
1629
+ return this.request({
1630
+ path: `/finance/glAccounts/mappedTypes/count`,
1631
+ method: 'get',
1632
+ params,
1633
+ });
1634
+ }
1635
+ getFinanceGlCaptions(params = {}) {
1636
+ return this.request({
1637
+ path: `/finance/glCaptions`,
1638
+ method: 'get',
1639
+ params,
1640
+ });
1641
+ }
1642
+ getFinanceGlCaptionsById(id, params = {}) {
1643
+ return this.request({
1644
+ path: `/finance/glCaptions/${id}`,
1645
+ method: 'get',
1646
+ params,
1647
+ });
1648
+ }
1649
+ putFinanceGlCaptionsById(id, glCaption) {
1650
+ return this.request({
1651
+ path: `/finance/glCaptions/${id}`,
1652
+ method: 'put',
1653
+ data: glCaption,
1654
+ });
1655
+ }
1656
+ patchFinanceGlCaptionsById(id, patchOperations) {
1657
+ return this.request({
1658
+ path: `/finance/glCaptions/${id}`,
1659
+ method: 'patch',
1660
+ data: patchOperations,
1661
+ });
1662
+ }
1663
+ getFinanceGlCaptionsCount(params = {}) {
1664
+ return this.request({
1665
+ path: `/finance/glCaptions/count`,
1666
+ method: 'get',
1667
+ params,
1668
+ });
1669
+ }
1670
+ getFinanceGlpaths(params = {}) {
1671
+ return this.request({
1672
+ path: `/finance/glpaths`,
1673
+ method: 'get',
1674
+ params,
1675
+ });
1676
+ }
1677
+ postFinanceGlpaths(gLPath) {
1678
+ return this.request({
1679
+ path: `/finance/glpaths`,
1680
+ method: 'post',
1681
+ data: gLPath,
1682
+ });
1683
+ }
1684
+ getFinanceGlpathsById(id, params = {}) {
1685
+ return this.request({
1686
+ path: `/finance/glpaths/${id}`,
1687
+ method: 'get',
1688
+ params,
1689
+ });
1690
+ }
1691
+ deleteFinanceGlpathsById(id) {
1692
+ return this.request({
1693
+ path: `/finance/glpaths/${id}`,
1694
+ method: 'delete',
1695
+ });
1696
+ }
1697
+ putFinanceGlpathsById(id, gLPath) {
1698
+ return this.request({
1699
+ path: `/finance/glpaths/${id}`,
1700
+ method: 'put',
1701
+ data: gLPath,
1702
+ });
1703
+ }
1704
+ patchFinanceGlpathsById(id, patchOperations) {
1705
+ return this.request({
1706
+ path: `/finance/glpaths/${id}`,
1707
+ method: 'patch',
1708
+ data: patchOperations,
1709
+ });
1710
+ }
1711
+ getFinanceGlpathsCount(params = {}) {
1712
+ return this.request({
1713
+ path: `/finance/glpaths/count`,
1714
+ method: 'get',
1715
+ params,
1716
+ });
1717
+ }
1718
+ getFinanceInfoCurrencyCodes(params = {}) {
1719
+ return this.request({
1720
+ path: `/finance/info/currencyCodes`,
1721
+ method: 'get',
1722
+ params,
1723
+ });
1724
+ }
1725
+ getFinanceInfoCurrencyCodesById(id, params = {}) {
1726
+ return this.request({
1727
+ path: `/finance/info/currencyCodes/${id}`,
1728
+ method: 'get',
1729
+ params,
1730
+ });
1731
+ }
1732
+ getFinanceInfoCurrencyCodesCount(params = {}) {
1733
+ return this.request({
1734
+ path: `/finance/info/currencyCodes/count`,
1735
+ method: 'get',
1736
+ params,
1737
+ });
1738
+ }
1739
+ getFinanceInfoInvoiceById(id, params = {}) {
1740
+ return this.request({
1741
+ path: `/finance/info/invoice/${id}`,
1742
+ method: 'get',
1743
+ params,
1744
+ });
1745
+ }
1746
+ getFinanceInfoTaxIntegrations(params = {}) {
1747
+ return this.request({
1748
+ path: `/finance/info/taxIntegrations`,
1749
+ method: 'get',
1750
+ params,
1751
+ });
1752
+ }
1753
+ getFinanceInfoTaxIntegrationsById(id, params = {}) {
1754
+ return this.request({
1755
+ path: `/finance/info/taxIntegrations/${id}`,
1756
+ method: 'get',
1757
+ params,
1758
+ });
1759
+ }
1760
+ getFinanceInfoTaxIntegrationsCount(params = {}) {
1761
+ return this.request({
1762
+ path: `/finance/info/taxIntegrations/count`,
1763
+ method: 'get',
1764
+ params,
1765
+ });
1766
+ }
1767
+ getFinanceInvoiceEmailTemplates(params = {}) {
1768
+ return this.request({
1769
+ path: `/finance/invoiceEmailTemplates`,
1770
+ method: 'get',
1771
+ params,
1772
+ });
1773
+ }
1774
+ postFinanceInvoiceEmailTemplates(invoiceEmailTemplate) {
1775
+ return this.request({
1776
+ path: `/finance/invoiceEmailTemplates`,
1777
+ method: 'post',
1778
+ data: invoiceEmailTemplate,
1779
+ });
1780
+ }
1781
+ getFinanceInvoiceEmailTemplatesById(id, params = {}) {
1782
+ return this.request({
1783
+ path: `/finance/invoiceEmailTemplates/${id}`,
1784
+ method: 'get',
1785
+ params,
1786
+ });
1787
+ }
1788
+ deleteFinanceInvoiceEmailTemplatesById(id) {
1789
+ return this.request({
1790
+ path: `/finance/invoiceEmailTemplates/${id}`,
1791
+ method: 'delete',
1792
+ });
1793
+ }
1794
+ putFinanceInvoiceEmailTemplatesById(id, invoiceEmailTemplate) {
1795
+ return this.request({
1796
+ path: `/finance/invoiceEmailTemplates/${id}`,
1797
+ method: 'put',
1798
+ data: invoiceEmailTemplate,
1799
+ });
1800
+ }
1801
+ patchFinanceInvoiceEmailTemplatesById(id, patchOperations) {
1802
+ return this.request({
1803
+ path: `/finance/invoiceEmailTemplates/${id}`,
1804
+ method: 'patch',
1805
+ data: patchOperations,
1806
+ });
1807
+ }
1808
+ getFinanceInvoiceEmailTemplatesByIdInfo(id, params = {}) {
1809
+ return this.request({
1810
+ path: `/finance/invoiceEmailTemplates/${id}/info`,
1811
+ method: 'get',
1812
+ params,
1813
+ });
1814
+ }
1815
+ getFinanceInvoiceEmailTemplatesByIdUsages(id, params = {}) {
1816
+ return this.request({
1817
+ path: `/finance/invoiceEmailTemplates/${id}/usages`,
1818
+ method: 'get',
1819
+ params,
1820
+ });
1821
+ }
1822
+ getFinanceInvoiceEmailTemplatesByIdUsagesList(id, params = {}) {
1823
+ return this.request({
1824
+ path: `/finance/invoiceEmailTemplates/${id}/usages/list`,
1825
+ method: 'get',
1826
+ params,
1827
+ });
1828
+ }
1829
+ getFinanceInvoiceEmailTemplatesCount(params = {}) {
1830
+ return this.request({
1831
+ path: `/finance/invoiceEmailTemplates/count`,
1832
+ method: 'get',
1833
+ params,
1834
+ });
1835
+ }
1836
+ getFinanceInvoiceEmailTemplatesInfo(params = {}) {
1837
+ return this.request({
1838
+ path: `/finance/invoiceEmailTemplates/info`,
1839
+ method: 'get',
1840
+ params,
1841
+ });
1842
+ }
1843
+ getFinanceInvoiceEmailTemplatesInfoCount(params = {}) {
1844
+ return this.request({
1845
+ path: `/finance/invoiceEmailTemplates/info/count`,
1846
+ method: 'get',
1847
+ params,
1848
+ });
1849
+ }
1850
+ getFinanceInvoices(params = {}) {
1851
+ return this.request({
1852
+ path: `/finance/invoices`,
1853
+ method: 'get',
1854
+ params,
1855
+ });
1856
+ }
1857
+ postFinanceInvoices(invoice) {
1858
+ return this.request({
1859
+ path: `/finance/invoices`,
1860
+ method: 'post',
1861
+ data: invoice,
1862
+ });
1863
+ }
1864
+ getFinanceInvoicesById(id, params = {}) {
1865
+ return this.request({
1866
+ path: `/finance/invoices/${id}`,
1867
+ method: 'get',
1868
+ params,
1869
+ });
1870
+ }
1871
+ deleteFinanceInvoicesById(id) {
1872
+ return this.request({
1873
+ path: `/finance/invoices/${id}`,
1874
+ method: 'delete',
1875
+ });
1876
+ }
1877
+ putFinanceInvoicesById(id, invoice) {
1878
+ return this.request({
1879
+ path: `/finance/invoices/${id}`,
1880
+ method: 'put',
1881
+ data: invoice,
1882
+ });
1883
+ }
1884
+ patchFinanceInvoicesById(id, patchOperations) {
1885
+ return this.request({
1886
+ path: `/finance/invoices/${id}`,
1887
+ method: 'patch',
1888
+ data: patchOperations,
1889
+ });
1890
+ }
1891
+ getFinanceInvoicesByIdPdf(id, params = {}) {
1892
+ return this.request({
1893
+ path: `/finance/invoices/${id}/pdf`,
1894
+ method: 'get',
1895
+ params,
1896
+ });
1897
+ }
1898
+ getFinanceInvoicesByParentIdPayments(parentId, params = {}) {
1899
+ return this.request({
1900
+ path: `/finance/invoices/${parentId}/payments`,
1901
+ method: 'get',
1902
+ params,
1903
+ });
1904
+ }
1905
+ postFinanceInvoicesByParentIdPayments(parentId, payment) {
1906
+ return this.request({
1907
+ path: `/finance/invoices/${parentId}/payments`,
1908
+ method: 'post',
1909
+ data: payment,
1910
+ });
1911
+ }
1912
+ getFinanceInvoicesByParentIdPaymentsById(id, parentId, params = {}) {
1913
+ return this.request({
1914
+ path: `/finance/invoices/${parentId}/payments/${id}`,
1915
+ method: 'get',
1916
+ params,
1917
+ });
1918
+ }
1919
+ patchFinanceInvoicesByParentIdPaymentsById(id, parentId, patchOperations) {
1920
+ return this.request({
1921
+ path: `/finance/invoices/${parentId}/payments/${id}`,
1922
+ method: 'patch',
1923
+ data: patchOperations,
1924
+ });
1925
+ }
1926
+ putFinanceInvoicesByParentIdPaymentsById(id, parentId, payment) {
1927
+ return this.request({
1928
+ path: `/finance/invoices/${parentId}/payments/${id}`,
1929
+ method: 'put',
1930
+ data: payment,
1931
+ });
1932
+ }
1933
+ deleteFinanceInvoicesByParentIdPaymentsById(id, parentId) {
1934
+ return this.request({
1935
+ path: `/finance/invoices/${parentId}/payments/${id}`,
1936
+ method: 'delete',
1937
+ });
1938
+ }
1939
+ getFinanceInvoicesCount(params = {}) {
1940
+ return this.request({
1941
+ path: `/finance/invoices/count`,
1942
+ method: 'get',
1943
+ params,
1944
+ });
1945
+ }
1946
+ getFinanceInvoiceTemplates(params = {}) {
1947
+ return this.request({
1948
+ path: `/finance/invoiceTemplates`,
1949
+ method: 'get',
1950
+ params,
1951
+ });
1952
+ }
1953
+ postFinanceInvoiceTemplates(invoiceTemplate) {
1954
+ return this.request({
1955
+ path: `/finance/invoiceTemplates`,
1956
+ method: 'post',
1957
+ data: invoiceTemplate,
1958
+ });
1959
+ }
1960
+ getFinanceInvoiceTemplatesById(id, params = {}) {
1961
+ return this.request({
1962
+ path: `/finance/invoiceTemplates/${id}`,
1963
+ method: 'get',
1964
+ params,
1965
+ });
1966
+ }
1967
+ patchFinanceInvoiceTemplatesById(id, patchOperations) {
1968
+ return this.request({
1969
+ path: `/finance/invoiceTemplates/${id}`,
1970
+ method: 'patch',
1971
+ data: patchOperations,
1972
+ });
1973
+ }
1974
+ putFinanceInvoiceTemplatesById(id, invoiceTemplate) {
1975
+ return this.request({
1976
+ path: `/finance/invoiceTemplates/${id}`,
1977
+ method: 'put',
1978
+ data: invoiceTemplate,
1979
+ });
1980
+ }
1981
+ deleteFinanceInvoiceTemplatesById(id) {
1982
+ return this.request({
1983
+ path: `/finance/invoiceTemplates/${id}`,
1984
+ method: 'delete',
1985
+ });
1986
+ }
1987
+ getFinanceInvoiceTemplatesByIdUsages(id, params = {}) {
1988
+ return this.request({
1989
+ path: `/finance/invoiceTemplates/${id}/usages`,
1990
+ method: 'get',
1991
+ params,
1992
+ });
1993
+ }
1994
+ getFinanceInvoiceTemplatesByIdUsagesList(id, params = {}) {
1995
+ return this.request({
1996
+ path: `/finance/invoiceTemplates/${id}/usages/list`,
1997
+ method: 'get',
1998
+ params,
1999
+ });
2000
+ }
2001
+ getFinanceInvoiceTemplatesCount(params = {}) {
2002
+ return this.request({
2003
+ path: `/finance/invoiceTemplates/count`,
2004
+ method: 'get',
2005
+ params,
2006
+ });
2007
+ }
2008
+ getFinanceInvoiceTemplateSetups(params = {}) {
2009
+ return this.request({
2010
+ path: `/finance/invoiceTemplateSetups`,
2011
+ method: 'get',
2012
+ params,
2013
+ });
2014
+ }
2015
+ getFinanceInvoiceTemplateSetupsById(id, params = {}) {
2016
+ return this.request({
2017
+ path: `/finance/invoiceTemplateSetups/${id}`,
2018
+ method: 'get',
2019
+ params,
2020
+ });
2021
+ }
2022
+ getFinanceInvoiceTemplateSetupsCount(params = {}) {
2023
+ return this.request({
2024
+ path: `/finance/invoiceTemplateSetups/count`,
2025
+ method: 'get',
2026
+ params,
2027
+ });
2028
+ }
2029
+ getFinanceTaxCodes(params = {}) {
2030
+ return this.request({
2031
+ path: `/finance/taxCodes`,
2032
+ method: 'get',
2033
+ params,
2034
+ });
2035
+ }
2036
+ postFinanceTaxCodes(taxCode) {
2037
+ return this.request({
2038
+ path: `/finance/taxCodes`,
2039
+ method: 'post',
2040
+ data: taxCode,
2041
+ });
2042
+ }
2043
+ getFinanceTaxCodesByGrandparentIdExpenseTypeExemptionsByParentIdTaxableExpenseTypeLevels(parentId, grandparentId, params = {}) {
2044
+ return this.request({
2045
+ path: `/finance/taxCodes/${grandparentId}/expenseTypeExemptions/${parentId}/taxableExpenseTypeLevels`,
2046
+ method: 'get',
2047
+ params,
2048
+ });
2049
+ }
2050
+ postFinanceTaxCodesByGrandparentIdExpenseTypeExemptionsByParentIdTaxableExpenseTypeLevels(parentId, grandparentId, taxableExpenseTypeLevel) {
2051
+ return this.request({
2052
+ path: `/finance/taxCodes/${grandparentId}/expenseTypeExemptions/${parentId}/taxableExpenseTypeLevels`,
2053
+ method: 'post',
2054
+ data: taxableExpenseTypeLevel,
2055
+ });
2056
+ }
2057
+ getFinanceTaxCodesByGrandparentIdExpenseTypeExemptionsByParentIdTaxableExpenseTypeLevelsById(id, parentId, grandparentId, params = {}) {
2058
+ return this.request({
2059
+ path: `/finance/taxCodes/${grandparentId}/expenseTypeExemptions/${parentId}/taxableExpenseTypeLevels/${id}`,
2060
+ method: 'get',
2061
+ params,
2062
+ });
2063
+ }
2064
+ deleteFinanceTaxCodesByGrandparentIdExpenseTypeExemptionsByParentIdTaxableExpenseTypeLevelsById(id, parentId, grandparentId) {
2065
+ return this.request({
2066
+ path: `/finance/taxCodes/${grandparentId}/expenseTypeExemptions/${parentId}/taxableExpenseTypeLevels/${id}`,
2067
+ method: 'delete',
2068
+ });
2069
+ }
2070
+ putFinanceTaxCodesByGrandparentIdExpenseTypeExemptionsByParentIdTaxableExpenseTypeLevelsById(id, parentId, grandparentId, taxableExpenseTypeLevel) {
2071
+ return this.request({
2072
+ path: `/finance/taxCodes/${grandparentId}/expenseTypeExemptions/${parentId}/taxableExpenseTypeLevels/${id}`,
2073
+ method: 'put',
2074
+ data: taxableExpenseTypeLevel,
2075
+ });
2076
+ }
2077
+ patchFinanceTaxCodesByGrandparentIdExpenseTypeExemptionsByParentIdTaxableExpenseTypeLevelsById(id, parentId, grandparentId, patchOperations) {
2078
+ return this.request({
2079
+ path: `/finance/taxCodes/${grandparentId}/expenseTypeExemptions/${parentId}/taxableExpenseTypeLevels/${id}`,
2080
+ method: 'patch',
2081
+ data: patchOperations,
2082
+ });
2083
+ }
2084
+ getFinanceTaxCodesByGrandparentIdExpenseTypeExemptionsByParentIdTaxableExpenseTypeLevelsCount(parentId, grandparentId, params = {}) {
2085
+ return this.request({
2086
+ path: `/finance/taxCodes/${grandparentId}/expenseTypeExemptions/${parentId}/taxableExpenseTypeLevels/count`,
2087
+ method: 'get',
2088
+ params,
2089
+ });
2090
+ }
2091
+ getFinanceTaxCodesByGrandparentIdProductTypeExemptionsByParentIdTaxableProductTypeLevels(parentId, grandparentId, params = {}) {
2092
+ return this.request({
2093
+ path: `/finance/taxCodes/${grandparentId}/productTypeExemptions/${parentId}/taxableProductTypeLevels`,
2094
+ method: 'get',
2095
+ params,
2096
+ });
2097
+ }
2098
+ postFinanceTaxCodesByGrandparentIdProductTypeExemptionsByParentIdTaxableProductTypeLevels(parentId, grandparentId, taxableProductTypeLevel) {
2099
+ return this.request({
2100
+ path: `/finance/taxCodes/${grandparentId}/productTypeExemptions/${parentId}/taxableProductTypeLevels`,
2101
+ method: 'post',
2102
+ data: taxableProductTypeLevel,
2103
+ });
2104
+ }
2105
+ getFinanceTaxCodesByGrandparentIdProductTypeExemptionsByParentIdTaxableProductTypeLevelsById(id, parentId, grandparentId, params = {}) {
2106
+ return this.request({
2107
+ path: `/finance/taxCodes/${grandparentId}/productTypeExemptions/${parentId}/taxableProductTypeLevels/${id}`,
2108
+ method: 'get',
2109
+ params,
2110
+ });
2111
+ }
2112
+ deleteFinanceTaxCodesByGrandparentIdProductTypeExemptionsByParentIdTaxableProductTypeLevelsById(id, parentId, grandparentId) {
2113
+ return this.request({
2114
+ path: `/finance/taxCodes/${grandparentId}/productTypeExemptions/${parentId}/taxableProductTypeLevels/${id}`,
2115
+ method: 'delete',
2116
+ });
2117
+ }
2118
+ putFinanceTaxCodesByGrandparentIdProductTypeExemptionsByParentIdTaxableProductTypeLevelsById(id, parentId, grandparentId, taxableProductTypeLevel) {
2119
+ return this.request({
2120
+ path: `/finance/taxCodes/${grandparentId}/productTypeExemptions/${parentId}/taxableProductTypeLevels/${id}`,
2121
+ method: 'put',
2122
+ data: taxableProductTypeLevel,
2123
+ });
2124
+ }
2125
+ patchFinanceTaxCodesByGrandparentIdProductTypeExemptionsByParentIdTaxableProductTypeLevelsById(id, parentId, grandparentId, patchOperations) {
2126
+ return this.request({
2127
+ path: `/finance/taxCodes/${grandparentId}/productTypeExemptions/${parentId}/taxableProductTypeLevels/${id}`,
2128
+ method: 'patch',
2129
+ data: patchOperations,
2130
+ });
2131
+ }
2132
+ getFinanceTaxCodesByGrandparentIdProductTypeExemptionsByParentIdTaxableProductTypeLevelsCount(parentId, grandparentId, params = {}) {
2133
+ return this.request({
2134
+ path: `/finance/taxCodes/${grandparentId}/productTypeExemptions/${parentId}/taxableProductTypeLevels/count`,
2135
+ method: 'get',
2136
+ params,
2137
+ });
2138
+ }
2139
+ getFinanceTaxCodesByGrandparentIdTaxCodeXRefsByParentIdTaxableXRefLevels(parentId, grandparentId, params = {}) {
2140
+ return this.request({
2141
+ path: `/finance/taxCodes/${grandparentId}/taxCodeXRefs/${parentId}/taxableXRefLevels`,
2142
+ method: 'get',
2143
+ params,
2144
+ });
2145
+ }
2146
+ postFinanceTaxCodesByGrandparentIdTaxCodeXRefsByParentIdTaxableXRefLevels(parentId, grandparentId, taxableXRefLevel) {
2147
+ return this.request({
2148
+ path: `/finance/taxCodes/${grandparentId}/taxCodeXRefs/${parentId}/taxableXRefLevels`,
2149
+ method: 'post',
2150
+ data: taxableXRefLevel,
2151
+ });
2152
+ }
2153
+ getFinanceTaxCodesByGrandparentIdTaxCodeXRefsByParentIdTaxableXRefLevelsById(id, parentId, grandparentId, params = {}) {
2154
+ return this.request({
2155
+ path: `/finance/taxCodes/${grandparentId}/taxCodeXRefs/${parentId}/taxableXRefLevels/${id}`,
2156
+ method: 'get',
2157
+ params,
2158
+ });
2159
+ }
2160
+ deleteFinanceTaxCodesByGrandparentIdTaxCodeXRefsByParentIdTaxableXRefLevelsById(id, parentId, grandparentId) {
2161
+ return this.request({
2162
+ path: `/finance/taxCodes/${grandparentId}/taxCodeXRefs/${parentId}/taxableXRefLevels/${id}`,
2163
+ method: 'delete',
2164
+ });
2165
+ }
2166
+ putFinanceTaxCodesByGrandparentIdTaxCodeXRefsByParentIdTaxableXRefLevelsById(id, parentId, grandparentId, taxableXRefLevel) {
2167
+ return this.request({
2168
+ path: `/finance/taxCodes/${grandparentId}/taxCodeXRefs/${parentId}/taxableXRefLevels/${id}`,
2169
+ method: 'put',
2170
+ data: taxableXRefLevel,
2171
+ });
2172
+ }
2173
+ patchFinanceTaxCodesByGrandparentIdTaxCodeXRefsByParentIdTaxableXRefLevelsById(id, parentId, grandparentId, patchOperations) {
2174
+ return this.request({
2175
+ path: `/finance/taxCodes/${grandparentId}/taxCodeXRefs/${parentId}/taxableXRefLevels/${id}`,
2176
+ method: 'patch',
2177
+ data: patchOperations,
2178
+ });
2179
+ }
2180
+ getFinanceTaxCodesByGrandparentIdTaxCodeXRefsByParentIdTaxableXRefLevelsCount(parentId, grandparentId, params = {}) {
2181
+ return this.request({
2182
+ path: `/finance/taxCodes/${grandparentId}/taxCodeXRefs/${parentId}/taxableXRefLevels/count`,
2183
+ method: 'get',
2184
+ params,
2185
+ });
2186
+ }
2187
+ getFinanceTaxCodesByGrandparentIdWorkRoleExemptionsByParentIdTaxableWorkRoleLevels(parentId, grandparentId, params = {}) {
2188
+ return this.request({
2189
+ path: `/finance/taxCodes/${grandparentId}/workRoleExemptions/${parentId}/taxableWorkRoleLevels`,
2190
+ method: 'get',
2191
+ params,
2192
+ });
2193
+ }
2194
+ postFinanceTaxCodesByGrandparentIdWorkRoleExemptionsByParentIdTaxableWorkRoleLevels(parentId, grandparentId, taxableWorkRoleLevel) {
2195
+ return this.request({
2196
+ path: `/finance/taxCodes/${grandparentId}/workRoleExemptions/${parentId}/taxableWorkRoleLevels`,
2197
+ method: 'post',
2198
+ data: taxableWorkRoleLevel,
2199
+ });
2200
+ }
2201
+ getFinanceTaxCodesByGrandparentIdWorkRoleExemptionsByParentIdTaxableWorkRoleLevelsById(id, parentId, grandparentId, params = {}) {
2202
+ return this.request({
2203
+ path: `/finance/taxCodes/${grandparentId}/workRoleExemptions/${parentId}/taxableWorkRoleLevels/${id}`,
2204
+ method: 'get',
2205
+ params,
2206
+ });
2207
+ }
2208
+ deleteFinanceTaxCodesByGrandparentIdWorkRoleExemptionsByParentIdTaxableWorkRoleLevelsById(id, parentId, grandparentId) {
2209
+ return this.request({
2210
+ path: `/finance/taxCodes/${grandparentId}/workRoleExemptions/${parentId}/taxableWorkRoleLevels/${id}`,
2211
+ method: 'delete',
2212
+ });
2213
+ }
2214
+ putFinanceTaxCodesByGrandparentIdWorkRoleExemptionsByParentIdTaxableWorkRoleLevelsById(id, parentId, grandparentId, taxableWorkRoleLevel) {
2215
+ return this.request({
2216
+ path: `/finance/taxCodes/${grandparentId}/workRoleExemptions/${parentId}/taxableWorkRoleLevels/${id}`,
2217
+ method: 'put',
2218
+ data: taxableWorkRoleLevel,
2219
+ });
2220
+ }
2221
+ patchFinanceTaxCodesByGrandparentIdWorkRoleExemptionsByParentIdTaxableWorkRoleLevelsById(id, parentId, grandparentId, patchOperations) {
2222
+ return this.request({
2223
+ path: `/finance/taxCodes/${grandparentId}/workRoleExemptions/${parentId}/taxableWorkRoleLevels/${id}`,
2224
+ method: 'patch',
2225
+ data: patchOperations,
2226
+ });
2227
+ }
2228
+ getFinanceTaxCodesByGrandparentIdWorkRoleExemptionsByParentIdTaxableWorkRoleLevelsCount(parentId, grandparentId, params = {}) {
2229
+ return this.request({
2230
+ path: `/finance/taxCodes/${grandparentId}/workRoleExemptions/${parentId}/taxableWorkRoleLevels/count`,
2231
+ method: 'get',
2232
+ params,
2233
+ });
2234
+ }
2235
+ getFinanceTaxCodesById(id, params = {}) {
2236
+ return this.request({
2237
+ path: `/finance/taxCodes/${id}`,
2238
+ method: 'get',
2239
+ params,
2240
+ });
2241
+ }
2242
+ deleteFinanceTaxCodesById(id) {
2243
+ return this.request({
2244
+ path: `/finance/taxCodes/${id}`,
2245
+ method: 'delete',
2246
+ });
2247
+ }
2248
+ putFinanceTaxCodesById(id, taxCode) {
2249
+ return this.request({
2250
+ path: `/finance/taxCodes/${id}`,
2251
+ method: 'put',
2252
+ data: taxCode,
2253
+ });
2254
+ }
2255
+ patchFinanceTaxCodesById(id, patchOperations) {
2256
+ return this.request({
2257
+ path: `/finance/taxCodes/${id}`,
2258
+ method: 'patch',
2259
+ data: patchOperations,
2260
+ });
2261
+ }
2262
+ postFinanceTaxCodesByIdCopy(id) {
2263
+ return this.request({
2264
+ path: `/finance/taxCodes/${id}/copy`,
2265
+ method: 'post',
2266
+ });
2267
+ }
2268
+ getFinanceTaxCodesByIdInfo(id, params = {}) {
2269
+ return this.request({
2270
+ path: `/finance/taxCodes/${id}/info`,
2271
+ method: 'get',
2272
+ params,
2273
+ });
2274
+ }
2275
+ getFinanceTaxCodesByIdUsages(id, params = {}) {
2276
+ return this.request({
2277
+ path: `/finance/taxCodes/${id}/usages`,
2278
+ method: 'get',
2279
+ params,
2280
+ });
2281
+ }
2282
+ getFinanceTaxCodesByIdUsagesList(id, params = {}) {
2283
+ return this.request({
2284
+ path: `/finance/taxCodes/${id}/usages/list`,
2285
+ method: 'get',
2286
+ params,
2287
+ });
2288
+ }
2289
+ getFinanceTaxCodesByParentIdExpenseTypeExemptions(parentId, params = {}) {
2290
+ return this.request({
2291
+ path: `/finance/taxCodes/${parentId}/expenseTypeExemptions`,
2292
+ method: 'get',
2293
+ params,
2294
+ });
2295
+ }
2296
+ postFinanceTaxCodesByParentIdExpenseTypeExemptions(parentId, expenseTypeExemption) {
2297
+ return this.request({
2298
+ path: `/finance/taxCodes/${parentId}/expenseTypeExemptions`,
2299
+ method: 'post',
2300
+ data: expenseTypeExemption,
2301
+ });
2302
+ }
2303
+ getFinanceTaxCodesByParentIdExpenseTypeExemptionsById(id, parentId, params = {}) {
2304
+ return this.request({
2305
+ path: `/finance/taxCodes/${parentId}/expenseTypeExemptions/${id}`,
2306
+ method: 'get',
2307
+ params,
2308
+ });
2309
+ }
2310
+ deleteFinanceTaxCodesByParentIdExpenseTypeExemptionsById(id, parentId) {
2311
+ return this.request({
2312
+ path: `/finance/taxCodes/${parentId}/expenseTypeExemptions/${id}`,
2313
+ method: 'delete',
2314
+ });
2315
+ }
2316
+ putFinanceTaxCodesByParentIdExpenseTypeExemptionsById(id, parentId, expenseTypeExemption) {
2317
+ return this.request({
2318
+ path: `/finance/taxCodes/${parentId}/expenseTypeExemptions/${id}`,
2319
+ method: 'put',
2320
+ data: expenseTypeExemption,
2321
+ });
2322
+ }
2323
+ patchFinanceTaxCodesByParentIdExpenseTypeExemptionsById(id, parentId, patchOperations) {
2324
+ return this.request({
2325
+ path: `/finance/taxCodes/${parentId}/expenseTypeExemptions/${id}`,
2326
+ method: 'patch',
2327
+ data: patchOperations,
2328
+ });
2329
+ }
2330
+ getFinanceTaxCodesByParentIdExpenseTypeExemptionsCount(parentId, params = {}) {
2331
+ return this.request({
2332
+ path: `/finance/taxCodes/${parentId}/expenseTypeExemptions/count`,
2333
+ method: 'get',
2334
+ params,
2335
+ });
2336
+ }
2337
+ getFinanceTaxCodesByParentIdProductTypeExemptions(parentId, params = {}) {
2338
+ return this.request({
2339
+ path: `/finance/taxCodes/${parentId}/productTypeExemptions`,
2340
+ method: 'get',
2341
+ params,
2342
+ });
2343
+ }
2344
+ postFinanceTaxCodesByParentIdProductTypeExemptions(parentId, productTypeExemption) {
2345
+ return this.request({
2346
+ path: `/finance/taxCodes/${parentId}/productTypeExemptions`,
2347
+ method: 'post',
2348
+ data: productTypeExemption,
2349
+ });
2350
+ }
2351
+ getFinanceTaxCodesByParentIdProductTypeExemptionsById(id, parentId, params = {}) {
2352
+ return this.request({
2353
+ path: `/finance/taxCodes/${parentId}/productTypeExemptions/${id}`,
2354
+ method: 'get',
2355
+ params,
2356
+ });
2357
+ }
2358
+ deleteFinanceTaxCodesByParentIdProductTypeExemptionsById(id, parentId) {
2359
+ return this.request({
2360
+ path: `/finance/taxCodes/${parentId}/productTypeExemptions/${id}`,
2361
+ method: 'delete',
2362
+ });
2363
+ }
2364
+ putFinanceTaxCodesByParentIdProductTypeExemptionsById(id, parentId, productTypeExemption) {
2365
+ return this.request({
2366
+ path: `/finance/taxCodes/${parentId}/productTypeExemptions/${id}`,
2367
+ method: 'put',
2368
+ data: productTypeExemption,
2369
+ });
2370
+ }
2371
+ patchFinanceTaxCodesByParentIdProductTypeExemptionsById(id, parentId, patchOperations) {
2372
+ return this.request({
2373
+ path: `/finance/taxCodes/${parentId}/productTypeExemptions/${id}`,
2374
+ method: 'patch',
2375
+ data: patchOperations,
2376
+ });
2377
+ }
2378
+ getFinanceTaxCodesByParentIdProductTypeExemptionsCount(parentId, params = {}) {
2379
+ return this.request({
2380
+ path: `/finance/taxCodes/${parentId}/productTypeExemptions/count`,
2381
+ method: 'get',
2382
+ params,
2383
+ });
2384
+ }
2385
+ getFinanceTaxCodesByParentIdTaxCodeLevels(parentId, params = {}) {
2386
+ return this.request({
2387
+ path: `/finance/taxCodes/${parentId}/taxCodeLevels`,
2388
+ method: 'get',
2389
+ params,
2390
+ });
2391
+ }
2392
+ postFinanceTaxCodesByParentIdTaxCodeLevels(parentId, taxCodeLevel) {
2393
+ return this.request({
2394
+ path: `/finance/taxCodes/${parentId}/taxCodeLevels`,
2395
+ method: 'post',
2396
+ data: taxCodeLevel,
2397
+ });
2398
+ }
2399
+ getFinanceTaxCodesByParentIdTaxCodeLevelsById(id, parentId, params = {}) {
2400
+ return this.request({
2401
+ path: `/finance/taxCodes/${parentId}/taxCodeLevels/${id}`,
2402
+ method: 'get',
2403
+ params,
2404
+ });
2405
+ }
2406
+ deleteFinanceTaxCodesByParentIdTaxCodeLevelsById(id, parentId) {
2407
+ return this.request({
2408
+ path: `/finance/taxCodes/${parentId}/taxCodeLevels/${id}`,
2409
+ method: 'delete',
2410
+ });
2411
+ }
2412
+ putFinanceTaxCodesByParentIdTaxCodeLevelsById(id, parentId, taxCodeLevel) {
2413
+ return this.request({
2414
+ path: `/finance/taxCodes/${parentId}/taxCodeLevels/${id}`,
2415
+ method: 'put',
2416
+ data: taxCodeLevel,
2417
+ });
2418
+ }
2419
+ patchFinanceTaxCodesByParentIdTaxCodeLevelsById(id, parentId, patchOperations) {
2420
+ return this.request({
2421
+ path: `/finance/taxCodes/${parentId}/taxCodeLevels/${id}`,
2422
+ method: 'patch',
2423
+ data: patchOperations,
2424
+ });
2425
+ }
2426
+ getFinanceTaxCodesByParentIdTaxCodeLevelsCount(parentId, params = {}) {
2427
+ return this.request({
2428
+ path: `/finance/taxCodes/${parentId}/taxCodeLevels/count`,
2429
+ method: 'get',
2430
+ params,
2431
+ });
2432
+ }
2433
+ getFinanceTaxCodesByParentIdTaxCodeXRefs(parentId, params = {}) {
2434
+ return this.request({
2435
+ path: `/finance/taxCodes/${parentId}/taxCodeXRefs`,
2436
+ method: 'get',
2437
+ params,
2438
+ });
2439
+ }
2440
+ postFinanceTaxCodesByParentIdTaxCodeXRefs(parentId, taxCodeXRef) {
2441
+ return this.request({
2442
+ path: `/finance/taxCodes/${parentId}/taxCodeXRefs`,
2443
+ method: 'post',
2444
+ data: taxCodeXRef,
2445
+ });
2446
+ }
2447
+ getFinanceTaxCodesByParentIdTaxCodeXRefsById(id, parentId, params = {}) {
2448
+ return this.request({
2449
+ path: `/finance/taxCodes/${parentId}/taxCodeXRefs/${id}`,
2450
+ method: 'get',
2451
+ params,
2452
+ });
2453
+ }
2454
+ deleteFinanceTaxCodesByParentIdTaxCodeXRefsById(id, parentId) {
2455
+ return this.request({
2456
+ path: `/finance/taxCodes/${parentId}/taxCodeXRefs/${id}`,
2457
+ method: 'delete',
2458
+ });
2459
+ }
2460
+ putFinanceTaxCodesByParentIdTaxCodeXRefsById(id, parentId, taxCodeXRef) {
2461
+ return this.request({
2462
+ path: `/finance/taxCodes/${parentId}/taxCodeXRefs/${id}`,
2463
+ method: 'put',
2464
+ data: taxCodeXRef,
2465
+ });
2466
+ }
2467
+ patchFinanceTaxCodesByParentIdTaxCodeXRefsById(id, parentId, patchOperations) {
2468
+ return this.request({
2469
+ path: `/finance/taxCodes/${parentId}/taxCodeXRefs/${id}`,
2470
+ method: 'patch',
2471
+ data: patchOperations,
2472
+ });
2473
+ }
2474
+ getFinanceTaxCodesByParentIdTaxCodeXRefsCount(parentId, params = {}) {
2475
+ return this.request({
2476
+ path: `/finance/taxCodes/${parentId}/taxCodeXRefs/count`,
2477
+ method: 'get',
2478
+ params,
2479
+ });
2480
+ }
2481
+ getFinanceTaxCodesByParentIdWorkRoleExemptions(parentId, params = {}) {
2482
+ return this.request({
2483
+ path: `/finance/taxCodes/${parentId}/workRoleExemptions`,
2484
+ method: 'get',
2485
+ params,
2486
+ });
2487
+ }
2488
+ postFinanceTaxCodesByParentIdWorkRoleExemptions(parentId, workRoleExemption) {
2489
+ return this.request({
2490
+ path: `/finance/taxCodes/${parentId}/workRoleExemptions`,
2491
+ method: 'post',
2492
+ data: workRoleExemption,
2493
+ });
2494
+ }
2495
+ getFinanceTaxCodesByParentIdWorkRoleExemptionsById(id, parentId, params = {}) {
2496
+ return this.request({
2497
+ path: `/finance/taxCodes/${parentId}/workRoleExemptions/${id}`,
2498
+ method: 'get',
2499
+ params,
2500
+ });
2501
+ }
2502
+ deleteFinanceTaxCodesByParentIdWorkRoleExemptionsById(id, parentId) {
2503
+ return this.request({
2504
+ path: `/finance/taxCodes/${parentId}/workRoleExemptions/${id}`,
2505
+ method: 'delete',
2506
+ });
2507
+ }
2508
+ putFinanceTaxCodesByParentIdWorkRoleExemptionsById(id, parentId, workRoleExemption) {
2509
+ return this.request({
2510
+ path: `/finance/taxCodes/${parentId}/workRoleExemptions/${id}`,
2511
+ method: 'put',
2512
+ data: workRoleExemption,
2513
+ });
2514
+ }
2515
+ patchFinanceTaxCodesByParentIdWorkRoleExemptionsById(id, parentId, patchOperations) {
2516
+ return this.request({
2517
+ path: `/finance/taxCodes/${parentId}/workRoleExemptions/${id}`,
2518
+ method: 'patch',
2519
+ data: patchOperations,
2520
+ });
2521
+ }
2522
+ getFinanceTaxCodesByParentIdWorkRoleExemptionsCount(parentId, params = {}) {
2523
+ return this.request({
2524
+ path: `/finance/taxCodes/${parentId}/workRoleExemptions/count`,
2525
+ method: 'get',
2526
+ params,
2527
+ });
2528
+ }
2529
+ getFinanceTaxCodesCount(params = {}) {
2530
+ return this.request({
2531
+ path: `/finance/taxCodes/count`,
2532
+ method: 'get',
2533
+ params,
2534
+ });
2535
+ }
2536
+ getFinanceTaxCodesInfo(params = {}) {
2537
+ return this.request({
2538
+ path: `/finance/taxCodes/info`,
2539
+ method: 'get',
2540
+ params,
2541
+ });
2542
+ }
2543
+ getFinanceTaxCodesInfoCount(params = {}) {
2544
+ return this.request({
2545
+ path: `/finance/taxCodes/info/count`,
2546
+ method: 'get',
2547
+ params,
2548
+ });
2549
+ }
2550
+ getFinanceTaxIntegrations(params = {}) {
2551
+ return this.request({
2552
+ path: `/finance/taxIntegrations`,
2553
+ method: 'get',
2554
+ params,
2555
+ });
2556
+ }
2557
+ getFinanceTaxIntegrationsById(id, params = {}) {
2558
+ return this.request({
2559
+ path: `/finance/taxIntegrations/${id}`,
2560
+ method: 'get',
2561
+ params,
2562
+ });
2563
+ }
2564
+ putFinanceTaxIntegrationsById(id, taxIntegration) {
2565
+ return this.request({
2566
+ path: `/finance/taxIntegrations/${id}`,
2567
+ method: 'put',
2568
+ data: taxIntegration,
2569
+ });
2570
+ }
2571
+ patchFinanceTaxIntegrationsById(id, patchOperations) {
2572
+ return this.request({
2573
+ path: `/finance/taxIntegrations/${id}`,
2574
+ method: 'patch',
2575
+ data: patchOperations,
2576
+ });
2577
+ }
2578
+ getFinanceTaxIntegrationsCount(params = {}) {
2579
+ return this.request({
2580
+ path: `/finance/taxIntegrations/count`,
2581
+ method: 'get',
2582
+ params,
2583
+ });
2584
+ }
2585
+ }
2586
+ exports.default = FinanceAPI;
2587
+ //# sourceMappingURL=FinanceAPI.js.map