connectwise-rest 0.25.1 → 1.0.2

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