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,4941 @@
1
+ /* This file was auto-generated, do not manually edit. */
2
+ import Manage from '../Manage'
3
+ import { components } from '../ManageTypes'
4
+ import { CommonParameters, CWMOptions } from '../ManageAPI'
5
+ import { NoContentResponse, OctetStreamResponse, PDFResponse, HTMLResponse } from '../types'
6
+ type schemas = components['schemas']
7
+
8
+ /** {@link AddressFormat} */
9
+ export type AddressFormat = schemas['AddressFormat']
10
+ /** {@link AddressFormatInfo} */
11
+ export type AddressFormatInfo = schemas['AddressFormatInfo']
12
+ /** {@link BulkResult} */
13
+ export type BulkResult = schemas['BulkResult']
14
+ /** {@link ClearPickerRequest} */
15
+ export type ClearPickerRequest = schemas['ClearPickerRequest']
16
+ /** {@link CommunicationType} */
17
+ export type CommunicationType = schemas['CommunicationType']
18
+ /** {@link CommunicationTypeInfo} */
19
+ export type CommunicationTypeInfo = schemas['CommunicationTypeInfo']
20
+ /** {@link Company} */
21
+ export type Company = schemas['Company']
22
+ /** {@link CompanyCompanyTypeAssociation} */
23
+ export type CompanyCompanyTypeAssociation = schemas['Company.CompanyTypeAssociation']
24
+ /** {@link CompanyConfiguration} */
25
+ export type CompanyConfiguration = schemas['Company.Configuration']
26
+ /** {@link CompanyContactTypeAssociation} */
27
+ export type CompanyContactTypeAssociation = schemas['Company.ContactTypeAssociation']
28
+ /** {@link CompanyCompanyTypeAssociationCompanyTypeAssociation} */
29
+ export type CompanyCompanyTypeAssociationCompanyTypeAssociation =
30
+ schemas['CompanyCompanyTypeAssociation.CompanyTypeAssociation']
31
+ /** {@link CompanyCustomNote} */
32
+ export type CompanyCustomNote = schemas['CompanyCustomNote']
33
+ /** {@link CompanyFinance} */
34
+ export type CompanyFinance = schemas['CompanyFinance']
35
+ /** {@link CompanyGroup} */
36
+ export type CompanyGroup = schemas['CompanyGroup']
37
+ /** {@link CompanyManagementSummary} */
38
+ export type CompanyManagementSummary = schemas['CompanyManagementSummary']
39
+ /** {@link CompanyMerge} */
40
+ export type CompanyMerge = schemas['CompanyMerge']
41
+ /** {@link CompanyNote} */
42
+ export type CompanyNote = schemas['CompanyNote']
43
+ /** {@link CompanyNoteType} */
44
+ export type CompanyNoteType = schemas['CompanyNoteType']
45
+ /** {@link CompanyNoteTypeInfo} */
46
+ export type CompanyNoteTypeInfo = schemas['CompanyNoteTypeInfo']
47
+ /** {@link CompanyPickerItem} */
48
+ export type CompanyPickerItem = schemas['CompanyPickerItem']
49
+ /** {@link CompanySite} */
50
+ export type CompanySite = schemas['CompanySite']
51
+ /** {@link CompanyStatus} */
52
+ export type CompanyStatus = schemas['CompanyStatus']
53
+ /** {@link CompanyTeam} */
54
+ export type CompanyTeam = schemas['CompanyTeam']
55
+ /** {@link CompanyType} */
56
+ export type CompanyType = schemas['CompanyType']
57
+ /** {@link CompanyTypeInfo} */
58
+ export type CompanyTypeInfo = schemas['CompanyTypeInfo']
59
+ /** {@link ConfigurationStatus} */
60
+ export type ConfigurationStatus = schemas['ConfigurationStatus']
61
+ /** {@link ConfigurationStatusInfo} */
62
+ export type ConfigurationStatusInfo = schemas['ConfigurationStatusInfo']
63
+ /** {@link ConfigurationType} */
64
+ export type ConfigurationType = schemas['ConfigurationType']
65
+ /** {@link ConfigurationTypeInfo} */
66
+ export type ConfigurationTypeInfo = schemas['ConfigurationTypeInfo']
67
+ /** {@link ConfigurationTypeQuestion} */
68
+ export type ConfigurationTypeQuestion = schemas['ConfigurationTypeQuestion']
69
+ /** {@link ConfigurationTypeQuestionValue} */
70
+ export type ConfigurationTypeQuestionValue = schemas['ConfigurationTypeQuestionValue']
71
+ /** {@link Contact} */
72
+ export type Contact = schemas['Contact']
73
+ /** {@link ContactCommunication} */
74
+ export type ContactCommunication = schemas['ContactCommunication']
75
+ /** {@link ContactContactTypeAssociationContactTypeAssociation} */
76
+ export type ContactContactTypeAssociationContactTypeAssociation =
77
+ schemas['ContactContactTypeAssociation.ContactTypeAssociation']
78
+ /** {@link ContactDepartment} */
79
+ export type ContactDepartment = schemas['ContactDepartment']
80
+ /** {@link ContactDepartmentInfo} */
81
+ export type ContactDepartmentInfo = schemas['ContactDepartmentInfo']
82
+ /** {@link ContactGroup} */
83
+ export type ContactGroup = schemas['ContactGroup']
84
+ /** {@link ContactNote} */
85
+ export type ContactNote = schemas['ContactNote']
86
+ /** {@link ContactRelationship} */
87
+ export type ContactRelationship = schemas['ContactRelationship']
88
+ /** {@link ContactTrack} */
89
+ export type ContactTrack = schemas['ContactTrack']
90
+ /** {@link ContactType} */
91
+ export type ContactType = schemas['ContactType']
92
+ /** {@link ContactTypeInfo} */
93
+ export type ContactTypeInfo = schemas['ContactTypeInfo']
94
+ /** {@link Count} */
95
+ export type Count = schemas['Count']
96
+ /** {@link Country} */
97
+ export type Country = schemas['Country']
98
+ /** {@link CountryInfo} */
99
+ export type CountryInfo = schemas['CountryInfo']
100
+ /** {@link EntityType} */
101
+ export type EntityType = schemas['EntityType']
102
+ /** {@link EntityTypeInfo} */
103
+ export type EntityTypeInfo = schemas['EntityTypeInfo']
104
+ /** {@link ManagedDevicesIntegration} */
105
+ export type ManagedDevicesIntegration = schemas['ManagedDevicesIntegration']
106
+ /** {@link ManagedDevicesIntegrationCrossReference} */
107
+ export type ManagedDevicesIntegrationCrossReference =
108
+ schemas['ManagedDevicesIntegrationCrossReference']
109
+ /** {@link ManagedDevicesIntegrationInfo} */
110
+ export type ManagedDevicesIntegrationInfo = schemas['ManagedDevicesIntegrationInfo']
111
+ /** {@link ManagedDevicesIntegrationLogin} */
112
+ export type ManagedDevicesIntegrationLogin = schemas['ManagedDevicesIntegrationLogin']
113
+ /** {@link ManagedDevicesIntegrationNotification} */
114
+ export type ManagedDevicesIntegrationNotification = schemas['ManagedDevicesIntegrationNotification']
115
+ /** {@link Management} */
116
+ export type Management = schemas['Management']
117
+ /** {@link ManagementBackup} */
118
+ export type ManagementBackup = schemas['ManagementBackup']
119
+ /** {@link ManagementItSolution} */
120
+ export type ManagementItSolution = schemas['ManagementItSolution']
121
+ /** {@link ManagementItSolutionAgreementInterfaceParameter} */
122
+ export type ManagementItSolutionAgreementInterfaceParameter =
123
+ schemas['ManagementItSolutionAgreementInterfaceParameter']
124
+ /** {@link ManagementLogDocumentInfo} */
125
+ export type ManagementLogDocumentInfo = schemas['ManagementLogDocumentInfo']
126
+ /** {@link ManagementReportNotification} */
127
+ export type ManagementReportNotification = schemas['ManagementReportNotification']
128
+ /** {@link ManagementReportSetup} */
129
+ export type ManagementReportSetup = schemas['ManagementReportSetup']
130
+ /** {@link MarketDescription} */
131
+ export type MarketDescription = schemas['MarketDescription']
132
+ /** {@link MarketDescriptionInfo} */
133
+ export type MarketDescriptionInfo = schemas['MarketDescriptionInfo']
134
+ /** {@link OwnershipType} */
135
+ export type OwnershipType = schemas['OwnershipType']
136
+ /** {@link OwnershipTypeInfo} */
137
+ export type OwnershipTypeInfo = schemas['OwnershipTypeInfo']
138
+ /** {@link PatchOperation} */
139
+ export type PatchOperation = schemas['PatchOperation']
140
+ /** {@link PortalConfiguration} */
141
+ export type PortalConfiguration = schemas['PortalConfiguration']
142
+ /** {@link PortalConfigurationInvoiceSetup} */
143
+ export type PortalConfigurationInvoiceSetup = schemas['PortalConfigurationInvoiceSetup']
144
+ /** {@link PortalConfigurationOpportunitySetup} */
145
+ export type PortalConfigurationOpportunitySetup = schemas['PortalConfigurationOpportunitySetup']
146
+ /** {@link PortalConfigurationPasswordEmailSetup} */
147
+ export type PortalConfigurationPasswordEmailSetup = schemas['PortalConfigurationPasswordEmailSetup']
148
+ /** {@link PortalConfigurationPaymentProcessor} */
149
+ export type PortalConfigurationPaymentProcessor = schemas['PortalConfigurationPaymentProcessor']
150
+ /** {@link PortalConfigurationProjectSetup} */
151
+ export type PortalConfigurationProjectSetup = schemas['PortalConfigurationProjectSetup']
152
+ /** {@link PortalConfigurationServiceSetup} */
153
+ export type PortalConfigurationServiceSetup = schemas['PortalConfigurationServiceSetup']
154
+ /** {@link PortalSecurity} */
155
+ export type PortalSecurity = schemas['PortalSecurity']
156
+ /** {@link PortalSecurityLevel} */
157
+ export type PortalSecurityLevel = schemas['PortalSecurityLevel']
158
+ /** {@link PortalSecuritySetting} */
159
+ export type PortalSecuritySetting = schemas['PortalSecuritySetting']
160
+ /** {@link RequestPasswordRequest} */
161
+ export type RequestPasswordRequest = schemas['RequestPasswordRequest']
162
+ /** {@link State} */
163
+ export type State = schemas['State']
164
+ /** {@link StateInfo} */
165
+ export type StateInfo = schemas['StateInfo']
166
+ /** {@link SuccessResponse} */
167
+ export type SuccessResponse = schemas['SuccessResponse']
168
+ /** {@link TeamRole} */
169
+ export type TeamRole = schemas['TeamRole']
170
+ /** {@link TeamRoleInfo} */
171
+ export type TeamRoleInfo = schemas['TeamRoleInfo']
172
+ /** {@link Track} */
173
+ export type Track = schemas['Track']
174
+ /** {@link TrackAction} */
175
+ export type TrackAction = schemas['TrackAction']
176
+ /** {@link Usage} */
177
+ export type Usage = schemas['Usage']
178
+ /** {@link ValidatePortalRequest} */
179
+ export type ValidatePortalRequest = schemas['ValidatePortalRequest']
180
+ /** {@link ValidatePortalResponse} */
181
+ export type ValidatePortalResponse = schemas['ValidatePortalResponse']
182
+
183
+ /**
184
+ * @module CompanyAPI
185
+ */
186
+
187
+ /**
188
+ * Company module
189
+ * @public
190
+ */
191
+ export class CompanyAPI extends Manage {
192
+ constructor(props: CWMOptions) {
193
+ super(props)
194
+ }
195
+
196
+ getCompanyAddressFormats(params: CommonParameters = {}): Promise<Array<AddressFormat>> {
197
+ return this.request({
198
+ path: `/company/addressFormats`,
199
+ method: 'get',
200
+ params,
201
+ })
202
+ }
203
+
204
+ postCompanyAddressFormats(addressFormat: AddressFormat): Promise<AddressFormat> {
205
+ return this.request({
206
+ path: `/company/addressFormats`,
207
+ method: 'post',
208
+ data: addressFormat,
209
+ })
210
+ }
211
+
212
+ getCompanyAddressFormatsById(id: number, params: CommonParameters = {}): Promise<AddressFormat> {
213
+ return this.request({
214
+ path: `/company/addressFormats/${id}`,
215
+ method: 'get',
216
+ params,
217
+ })
218
+ }
219
+
220
+ deleteCompanyAddressFormatsById(id: number): Promise<NoContentResponse> {
221
+ return this.request({
222
+ path: `/company/addressFormats/${id}`,
223
+ method: 'delete',
224
+ })
225
+ }
226
+
227
+ putCompanyAddressFormatsById(id: number, addressFormat: AddressFormat): Promise<AddressFormat> {
228
+ return this.request({
229
+ path: `/company/addressFormats/${id}`,
230
+ method: 'put',
231
+ data: addressFormat,
232
+ })
233
+ }
234
+
235
+ patchCompanyAddressFormatsById(
236
+ id: number,
237
+ patchOperations: Array<PatchOperation>,
238
+ ): Promise<AddressFormat> {
239
+ return this.request({
240
+ path: `/company/addressFormats/${id}`,
241
+ method: 'patch',
242
+ data: patchOperations,
243
+ })
244
+ }
245
+
246
+ getCompanyAddressFormatsByIdInfo(
247
+ id: number,
248
+ params: CommonParameters = {},
249
+ ): Promise<AddressFormatInfo> {
250
+ return this.request({
251
+ path: `/company/addressFormats/${id}/info`,
252
+ method: 'get',
253
+ params,
254
+ })
255
+ }
256
+
257
+ getCompanyAddressFormatsCount(params: CommonParameters = {}): Promise<Count> {
258
+ return this.request({
259
+ path: `/company/addressFormats/count`,
260
+ method: 'get',
261
+ params,
262
+ })
263
+ }
264
+
265
+ getCompanyAddressFormatsInfo(params: CommonParameters = {}): Promise<Array<AddressFormatInfo>> {
266
+ return this.request({
267
+ path: `/company/addressFormats/info`,
268
+ method: 'get',
269
+ params,
270
+ })
271
+ }
272
+
273
+ getCompanyAddressFormatsInfoCount(params: CommonParameters = {}): Promise<Count> {
274
+ return this.request({
275
+ path: `/company/addressFormats/info/count`,
276
+ method: 'get',
277
+ params,
278
+ })
279
+ }
280
+
281
+ getCompanyBillingSetupsInfoCount(params: CommonParameters = {}): Promise<Count> {
282
+ return this.request({
283
+ path: `/company/billingSetups/info/count`,
284
+ method: 'get',
285
+ params,
286
+ })
287
+ }
288
+
289
+ getCompanyCommunicationTypes(params: CommonParameters = {}): Promise<Array<CommunicationType>> {
290
+ return this.request({
291
+ path: `/company/communicationTypes`,
292
+ method: 'get',
293
+ params,
294
+ })
295
+ }
296
+
297
+ postCompanyCommunicationTypes(communicationType: CommunicationType): Promise<CommunicationType> {
298
+ return this.request({
299
+ path: `/company/communicationTypes`,
300
+ method: 'post',
301
+ data: communicationType,
302
+ })
303
+ }
304
+
305
+ getCompanyCommunicationTypesById(
306
+ id: number,
307
+ params: CommonParameters = {},
308
+ ): Promise<CommunicationType> {
309
+ return this.request({
310
+ path: `/company/communicationTypes/${id}`,
311
+ method: 'get',
312
+ params,
313
+ })
314
+ }
315
+
316
+ deleteCompanyCommunicationTypesById(id: number): Promise<NoContentResponse> {
317
+ return this.request({
318
+ path: `/company/communicationTypes/${id}`,
319
+ method: 'delete',
320
+ })
321
+ }
322
+
323
+ putCompanyCommunicationTypesById(
324
+ id: number,
325
+ communicationType: CommunicationType,
326
+ ): Promise<CommunicationType> {
327
+ return this.request({
328
+ path: `/company/communicationTypes/${id}`,
329
+ method: 'put',
330
+ data: communicationType,
331
+ })
332
+ }
333
+
334
+ patchCompanyCommunicationTypesById(
335
+ id: number,
336
+ patchOperations: Array<PatchOperation>,
337
+ ): Promise<CommunicationType> {
338
+ return this.request({
339
+ path: `/company/communicationTypes/${id}`,
340
+ method: 'patch',
341
+ data: patchOperations,
342
+ })
343
+ }
344
+
345
+ getCompanyCommunicationTypesByIdInfo(
346
+ id: number,
347
+ params: CommonParameters = {},
348
+ ): Promise<CommunicationTypeInfo> {
349
+ return this.request({
350
+ path: `/company/communicationTypes/${id}/info`,
351
+ method: 'get',
352
+ params,
353
+ })
354
+ }
355
+
356
+ getCompanyCommunicationTypesByIdUsages(
357
+ id: number,
358
+ params: CommonParameters = {},
359
+ ): Promise<Array<Usage>> {
360
+ return this.request({
361
+ path: `/company/communicationTypes/${id}/usages`,
362
+ method: 'get',
363
+ params,
364
+ })
365
+ }
366
+
367
+ getCompanyCommunicationTypesByIdUsagesList(
368
+ id: number,
369
+ params: CommonParameters = {},
370
+ ): Promise<Array<Usage>> {
371
+ return this.request({
372
+ path: `/company/communicationTypes/${id}/usages/list`,
373
+ method: 'get',
374
+ params,
375
+ })
376
+ }
377
+
378
+ getCompanyCommunicationTypesCount(params: CommonParameters = {}): Promise<Count> {
379
+ return this.request({
380
+ path: `/company/communicationTypes/count`,
381
+ method: 'get',
382
+ params,
383
+ })
384
+ }
385
+
386
+ getCompanyCommunicationTypesInfo(
387
+ params: CommonParameters = {},
388
+ ): Promise<Array<CommunicationTypeInfo>> {
389
+ return this.request({
390
+ path: `/company/communicationTypes/info`,
391
+ method: 'get',
392
+ params,
393
+ })
394
+ }
395
+
396
+ getCompanyCommunicationTypesInfoCount(params: CommonParameters = {}): Promise<Count> {
397
+ return this.request({
398
+ path: `/company/communicationTypes/info/count`,
399
+ method: 'get',
400
+ params,
401
+ })
402
+ }
403
+
404
+ getCompanyCompanies(params: CommonParameters = {}): Promise<Array<Company>> {
405
+ return this.request({
406
+ path: `/company/companies`,
407
+ method: 'get',
408
+ params,
409
+ })
410
+ }
411
+
412
+ postCompanyCompanies(company: Company): Promise<Company> {
413
+ return this.request({
414
+ path: `/company/companies`,
415
+ method: 'post',
416
+ data: company,
417
+ })
418
+ }
419
+
420
+ getCompanyCompaniesById(id: number, params: CommonParameters = {}): Promise<Company> {
421
+ return this.request({
422
+ path: `/company/companies/${id}`,
423
+ method: 'get',
424
+ params,
425
+ })
426
+ }
427
+
428
+ deleteCompanyCompaniesById(id: number): Promise<NoContentResponse> {
429
+ return this.request({
430
+ path: `/company/companies/${id}`,
431
+ method: 'delete',
432
+ })
433
+ }
434
+
435
+ putCompanyCompaniesById(id: number, company: Company): Promise<Company> {
436
+ return this.request({
437
+ path: `/company/companies/${id}`,
438
+ method: 'put',
439
+ data: company,
440
+ })
441
+ }
442
+
443
+ patchCompanyCompaniesById(id: number, patchOperations: Array<PatchOperation>): Promise<Company> {
444
+ return this.request({
445
+ path: `/company/companies/${id}`,
446
+ method: 'patch',
447
+ data: patchOperations,
448
+ })
449
+ }
450
+
451
+ postCompanyCompaniesByIdMerge(id: number, merge: CompanyMerge): Promise<SuccessResponse> {
452
+ return this.request({
453
+ path: `/company/companies/${id}/merge`,
454
+ method: 'post',
455
+ data: merge,
456
+ })
457
+ }
458
+
459
+ getCompanyCompaniesByIdUsages(id: number, params: CommonParameters = {}): Promise<Array<Usage>> {
460
+ return this.request({
461
+ path: `/company/companies/${id}/usages`,
462
+ method: 'get',
463
+ params,
464
+ })
465
+ }
466
+
467
+ getCompanyCompaniesByIdUsagesList(
468
+ id: number,
469
+ params: CommonParameters = {},
470
+ ): Promise<Array<Usage>> {
471
+ return this.request({
472
+ path: `/company/companies/${id}/usages/list`,
473
+ method: 'get',
474
+ params,
475
+ })
476
+ }
477
+
478
+ getCompanyCompaniesByParentIdCustomStatusNotes(
479
+ parentId: number,
480
+ params: CommonParameters = {},
481
+ ): Promise<Array<CompanyCustomNote>> {
482
+ return this.request({
483
+ path: `/company/companies/${parentId}/customStatusNotes`,
484
+ method: 'get',
485
+ params,
486
+ })
487
+ }
488
+
489
+ postCompanyCompaniesByParentIdCustomStatusNotes(
490
+ parentId: number,
491
+ customNote: CompanyCustomNote,
492
+ ): Promise<CompanyCustomNote> {
493
+ return this.request({
494
+ path: `/company/companies/${parentId}/customStatusNotes`,
495
+ method: 'post',
496
+ data: customNote,
497
+ })
498
+ }
499
+
500
+ getCompanyCompaniesByParentIdCustomStatusNotesById(
501
+ id: number,
502
+ parentId: number,
503
+ params: CommonParameters = {},
504
+ ): Promise<CompanyCustomNote> {
505
+ return this.request({
506
+ path: `/company/companies/${parentId}/customStatusNotes/${id}`,
507
+ method: 'get',
508
+ params,
509
+ })
510
+ }
511
+
512
+ deleteCompanyCompaniesByParentIdCustomStatusNotesById(
513
+ id: number,
514
+ parentId: number,
515
+ ): Promise<NoContentResponse> {
516
+ return this.request({
517
+ path: `/company/companies/${parentId}/customStatusNotes/${id}`,
518
+ method: 'delete',
519
+ })
520
+ }
521
+
522
+ putCompanyCompaniesByParentIdCustomStatusNotesById(
523
+ id: number,
524
+ parentId: number,
525
+ customNote: CompanyCustomNote,
526
+ ): Promise<CompanyCustomNote> {
527
+ return this.request({
528
+ path: `/company/companies/${parentId}/customStatusNotes/${id}`,
529
+ method: 'put',
530
+ data: customNote,
531
+ })
532
+ }
533
+
534
+ patchCompanyCompaniesByParentIdCustomStatusNotesById(
535
+ id: number,
536
+ parentId: number,
537
+ patchOperations: Array<PatchOperation>,
538
+ ): Promise<CompanyCustomNote> {
539
+ return this.request({
540
+ path: `/company/companies/${parentId}/customStatusNotes/${id}`,
541
+ method: 'patch',
542
+ data: patchOperations,
543
+ })
544
+ }
545
+
546
+ getCompanyCompaniesByParentIdCustomStatusNotesCount(
547
+ parentId: number,
548
+ params: CommonParameters = {},
549
+ ): Promise<Count> {
550
+ return this.request({
551
+ path: `/company/companies/${parentId}/customStatusNotes/count`,
552
+ method: 'get',
553
+ params,
554
+ })
555
+ }
556
+
557
+ getCompanyCompaniesByParentIdGroups(
558
+ parentId: number,
559
+ params: CommonParameters = {},
560
+ ): Promise<Array<CompanyGroup>> {
561
+ return this.request({
562
+ path: `/company/companies/${parentId}/groups`,
563
+ method: 'get',
564
+ params,
565
+ })
566
+ }
567
+
568
+ postCompanyCompaniesByParentIdGroups(
569
+ parentId: number,
570
+ companyGroup: CompanyGroup,
571
+ ): Promise<CompanyGroup> {
572
+ return this.request({
573
+ path: `/company/companies/${parentId}/groups`,
574
+ method: 'post',
575
+ data: companyGroup,
576
+ })
577
+ }
578
+
579
+ getCompanyCompaniesByParentIdGroupsById(
580
+ id: number,
581
+ parentId: number,
582
+ params: CommonParameters = {},
583
+ ): Promise<CompanyGroup> {
584
+ return this.request({
585
+ path: `/company/companies/${parentId}/groups/${id}`,
586
+ method: 'get',
587
+ params,
588
+ })
589
+ }
590
+
591
+ deleteCompanyCompaniesByParentIdGroupsById(
592
+ id: number,
593
+ parentId: number,
594
+ ): Promise<NoContentResponse> {
595
+ return this.request({
596
+ path: `/company/companies/${parentId}/groups/${id}`,
597
+ method: 'delete',
598
+ })
599
+ }
600
+
601
+ putCompanyCompaniesByParentIdGroupsById(
602
+ id: number,
603
+ parentId: number,
604
+ companyGroup: CompanyGroup,
605
+ ): Promise<CompanyGroup> {
606
+ return this.request({
607
+ path: `/company/companies/${parentId}/groups/${id}`,
608
+ method: 'put',
609
+ data: companyGroup,
610
+ })
611
+ }
612
+
613
+ patchCompanyCompaniesByParentIdGroupsById(
614
+ id: number,
615
+ parentId: number,
616
+ patchOperations: Array<PatchOperation>,
617
+ ): Promise<CompanyGroup> {
618
+ return this.request({
619
+ path: `/company/companies/${parentId}/groups/${id}`,
620
+ method: 'patch',
621
+ data: patchOperations,
622
+ })
623
+ }
624
+
625
+ getCompanyCompaniesByParentIdGroupsCount(
626
+ parentId: number,
627
+ params: CommonParameters = {},
628
+ ): Promise<Count> {
629
+ return this.request({
630
+ path: `/company/companies/${parentId}/groups/count`,
631
+ method: 'get',
632
+ params,
633
+ })
634
+ }
635
+
636
+ getCompanyCompaniesByParentIdManagementReportNotifications(
637
+ parentId: number,
638
+ params: CommonParameters = {},
639
+ ): Promise<Array<ManagementReportNotification>> {
640
+ return this.request({
641
+ path: `/company/companies/${parentId}/managementReportNotifications`,
642
+ method: 'get',
643
+ params,
644
+ })
645
+ }
646
+
647
+ postCompanyCompaniesByParentIdManagementReportNotifications(
648
+ parentId: number,
649
+ managementReportNotification: ManagementReportNotification,
650
+ ): Promise<ManagementReportNotification> {
651
+ return this.request({
652
+ path: `/company/companies/${parentId}/managementReportNotifications`,
653
+ method: 'post',
654
+ data: managementReportNotification,
655
+ })
656
+ }
657
+
658
+ getCompanyCompaniesByParentIdManagementReportNotificationsById(
659
+ id: number,
660
+ parentId: number,
661
+ params: CommonParameters = {},
662
+ ): Promise<ManagementReportNotification> {
663
+ return this.request({
664
+ path: `/company/companies/${parentId}/managementReportNotifications/${id}`,
665
+ method: 'get',
666
+ params,
667
+ })
668
+ }
669
+
670
+ deleteCompanyCompaniesByParentIdManagementReportNotificationsById(
671
+ id: number,
672
+ parentId: number,
673
+ ): Promise<NoContentResponse> {
674
+ return this.request({
675
+ path: `/company/companies/${parentId}/managementReportNotifications/${id}`,
676
+ method: 'delete',
677
+ })
678
+ }
679
+
680
+ putCompanyCompaniesByParentIdManagementReportNotificationsById(
681
+ id: number,
682
+ parentId: number,
683
+ managementReportNotification: ManagementReportNotification,
684
+ ): Promise<ManagementReportNotification> {
685
+ return this.request({
686
+ path: `/company/companies/${parentId}/managementReportNotifications/${id}`,
687
+ method: 'put',
688
+ data: managementReportNotification,
689
+ })
690
+ }
691
+
692
+ patchCompanyCompaniesByParentIdManagementReportNotificationsById(
693
+ id: number,
694
+ parentId: number,
695
+ patchOperations: Array<PatchOperation>,
696
+ ): Promise<ManagementReportNotification> {
697
+ return this.request({
698
+ path: `/company/companies/${parentId}/managementReportNotifications/${id}`,
699
+ method: 'patch',
700
+ data: patchOperations,
701
+ })
702
+ }
703
+
704
+ getCompanyCompaniesByParentIdManagementReportNotificationsCount(
705
+ parentId: number,
706
+ params: CommonParameters = {},
707
+ ): Promise<Count> {
708
+ return this.request({
709
+ path: `/company/companies/${parentId}/managementReportNotifications/count`,
710
+ method: 'get',
711
+ params,
712
+ })
713
+ }
714
+
715
+ getCompanyCompaniesByParentIdManagementReportSetup(
716
+ parentId: number,
717
+ params: CommonParameters = {},
718
+ ): Promise<Array<ManagementReportSetup>> {
719
+ return this.request({
720
+ path: `/company/companies/${parentId}/managementReportSetup`,
721
+ method: 'get',
722
+ params,
723
+ })
724
+ }
725
+
726
+ postCompanyCompaniesByParentIdManagementReportSetup(
727
+ parentId: number,
728
+ managementReportSetup: ManagementReportSetup,
729
+ ): Promise<ManagementReportSetup> {
730
+ return this.request({
731
+ path: `/company/companies/${parentId}/managementReportSetup`,
732
+ method: 'post',
733
+ data: managementReportSetup,
734
+ })
735
+ }
736
+
737
+ putCompanyCompaniesByParentIdManagementReportSetupById(
738
+ id: number,
739
+ parentId: number,
740
+ managementReportSetup: ManagementReportSetup,
741
+ ): Promise<ManagementReportSetup> {
742
+ return this.request({
743
+ path: `/company/companies/${parentId}/managementReportSetup/${id}`,
744
+ method: 'put',
745
+ data: managementReportSetup,
746
+ })
747
+ }
748
+
749
+ patchCompanyCompaniesByParentIdManagementReportSetupById(
750
+ id: number,
751
+ parentId: number,
752
+ patchOperations: Array<PatchOperation>,
753
+ ): Promise<ManagementReportSetup> {
754
+ return this.request({
755
+ path: `/company/companies/${parentId}/managementReportSetup/${id}`,
756
+ method: 'patch',
757
+ data: patchOperations,
758
+ })
759
+ }
760
+
761
+ getCompanyCompaniesByParentIdManagementSummaryReports(
762
+ parentId: number,
763
+ params: CommonParameters = {},
764
+ ): Promise<Array<CompanyManagementSummary>> {
765
+ return this.request({
766
+ path: `/company/companies/${parentId}/managementSummaryReports`,
767
+ method: 'get',
768
+ params,
769
+ })
770
+ }
771
+
772
+ postCompanyCompaniesByParentIdManagementSummaryReports(
773
+ parentId: number,
774
+ managementSummary: CompanyManagementSummary,
775
+ ): Promise<CompanyManagementSummary> {
776
+ return this.request({
777
+ path: `/company/companies/${parentId}/managementSummaryReports`,
778
+ method: 'post',
779
+ data: managementSummary,
780
+ })
781
+ }
782
+
783
+ getCompanyCompaniesByParentIdManagementSummaryReportsById(
784
+ id: number,
785
+ parentId: number,
786
+ params: CommonParameters = {},
787
+ ): Promise<CompanyManagementSummary> {
788
+ return this.request({
789
+ path: `/company/companies/${parentId}/managementSummaryReports/${id}`,
790
+ method: 'get',
791
+ params,
792
+ })
793
+ }
794
+
795
+ deleteCompanyCompaniesByParentIdManagementSummaryReportsById(
796
+ id: number,
797
+ parentId: number,
798
+ ): Promise<NoContentResponse> {
799
+ return this.request({
800
+ path: `/company/companies/${parentId}/managementSummaryReports/${id}`,
801
+ method: 'delete',
802
+ })
803
+ }
804
+
805
+ putCompanyCompaniesByParentIdManagementSummaryReportsById(
806
+ id: number,
807
+ parentId: number,
808
+ managementSummary: CompanyManagementSummary,
809
+ ): Promise<CompanyManagementSummary> {
810
+ return this.request({
811
+ path: `/company/companies/${parentId}/managementSummaryReports/${id}`,
812
+ method: 'put',
813
+ data: managementSummary,
814
+ })
815
+ }
816
+
817
+ patchCompanyCompaniesByParentIdManagementSummaryReportsById(
818
+ id: number,
819
+ parentId: number,
820
+ patchOperations: Array<PatchOperation>,
821
+ ): Promise<CompanyManagementSummary> {
822
+ return this.request({
823
+ path: `/company/companies/${parentId}/managementSummaryReports/${id}`,
824
+ method: 'patch',
825
+ data: patchOperations,
826
+ })
827
+ }
828
+
829
+ getCompanyCompaniesByParentIdManagementSummaryReportsCount(
830
+ parentId: number,
831
+ params: CommonParameters = {},
832
+ ): Promise<Count> {
833
+ return this.request({
834
+ path: `/company/companies/${parentId}/managementSummaryReports/count`,
835
+ method: 'get',
836
+ params,
837
+ })
838
+ }
839
+
840
+ getCompanyCompaniesByParentIdNotes(
841
+ parentId: number,
842
+ params: CommonParameters = {},
843
+ ): Promise<Array<CompanyNote>> {
844
+ return this.request({
845
+ path: `/company/companies/${parentId}/notes`,
846
+ method: 'get',
847
+ params,
848
+ })
849
+ }
850
+
851
+ postCompanyCompaniesByParentIdNotes(
852
+ parentId: number,
853
+ companyNote: CompanyNote,
854
+ ): Promise<CompanyNote> {
855
+ return this.request({
856
+ path: `/company/companies/${parentId}/notes`,
857
+ method: 'post',
858
+ data: companyNote,
859
+ })
860
+ }
861
+
862
+ getCompanyCompaniesByParentIdNotesById(
863
+ id: number,
864
+ parentId: number,
865
+ params: CommonParameters = {},
866
+ ): Promise<CompanyNote> {
867
+ return this.request({
868
+ path: `/company/companies/${parentId}/notes/${id}`,
869
+ method: 'get',
870
+ params,
871
+ })
872
+ }
873
+
874
+ deleteCompanyCompaniesByParentIdNotesById(
875
+ id: number,
876
+ parentId: number,
877
+ ): Promise<NoContentResponse> {
878
+ return this.request({
879
+ path: `/company/companies/${parentId}/notes/${id}`,
880
+ method: 'delete',
881
+ })
882
+ }
883
+
884
+ putCompanyCompaniesByParentIdNotesById(
885
+ id: number,
886
+ parentId: number,
887
+ companyNote: CompanyNote,
888
+ ): Promise<CompanyNote> {
889
+ return this.request({
890
+ path: `/company/companies/${parentId}/notes/${id}`,
891
+ method: 'put',
892
+ data: companyNote,
893
+ })
894
+ }
895
+
896
+ patchCompanyCompaniesByParentIdNotesById(
897
+ id: number,
898
+ parentId: number,
899
+ patchOperations: Array<PatchOperation>,
900
+ ): Promise<CompanyNote> {
901
+ return this.request({
902
+ path: `/company/companies/${parentId}/notes/${id}`,
903
+ method: 'patch',
904
+ data: patchOperations,
905
+ })
906
+ }
907
+
908
+ getCompanyCompaniesByParentIdNotesCount(
909
+ parentId: number,
910
+ params: CommonParameters = {},
911
+ ): Promise<Count> {
912
+ return this.request({
913
+ path: `/company/companies/${parentId}/notes/count`,
914
+ method: 'get',
915
+ params,
916
+ })
917
+ }
918
+
919
+ getCompanyCompaniesByParentIdSites(
920
+ parentId: number,
921
+ params: CommonParameters = {},
922
+ ): Promise<Array<CompanySite>> {
923
+ return this.request({
924
+ path: `/company/companies/${parentId}/sites`,
925
+ method: 'get',
926
+ params,
927
+ })
928
+ }
929
+
930
+ postCompanyCompaniesByParentIdSites(parentId: number, site: CompanySite): Promise<CompanySite> {
931
+ return this.request({
932
+ path: `/company/companies/${parentId}/sites`,
933
+ method: 'post',
934
+ data: site,
935
+ })
936
+ }
937
+
938
+ getCompanyCompaniesByParentIdSitesById(
939
+ id: number,
940
+ parentId: number,
941
+ params: CommonParameters = {},
942
+ ): Promise<CompanySite> {
943
+ return this.request({
944
+ path: `/company/companies/${parentId}/sites/${id}`,
945
+ method: 'get',
946
+ params,
947
+ })
948
+ }
949
+
950
+ deleteCompanyCompaniesByParentIdSitesById(
951
+ id: number,
952
+ parentId: number,
953
+ ): Promise<NoContentResponse> {
954
+ return this.request({
955
+ path: `/company/companies/${parentId}/sites/${id}`,
956
+ method: 'delete',
957
+ })
958
+ }
959
+
960
+ putCompanyCompaniesByParentIdSitesById(
961
+ id: number,
962
+ parentId: number,
963
+ site: CompanySite,
964
+ ): Promise<CompanySite> {
965
+ return this.request({
966
+ path: `/company/companies/${parentId}/sites/${id}`,
967
+ method: 'put',
968
+ data: site,
969
+ })
970
+ }
971
+
972
+ patchCompanyCompaniesByParentIdSitesById(
973
+ id: number,
974
+ parentId: number,
975
+ patchOperations: Array<PatchOperation>,
976
+ ): Promise<CompanySite> {
977
+ return this.request({
978
+ path: `/company/companies/${parentId}/sites/${id}`,
979
+ method: 'patch',
980
+ data: patchOperations,
981
+ })
982
+ }
983
+
984
+ getCompanyCompaniesByParentIdSitesByIdUsages(
985
+ id: number,
986
+ parentId: number,
987
+ params: CommonParameters = {},
988
+ ): Promise<Array<Usage>> {
989
+ return this.request({
990
+ path: `/company/companies/${parentId}/sites/${id}/usages`,
991
+ method: 'get',
992
+ params,
993
+ })
994
+ }
995
+
996
+ getCompanyCompaniesByParentIdSitesByIdUsagesList(
997
+ id: number,
998
+ parentId: number,
999
+ params: CommonParameters = {},
1000
+ ): Promise<Array<Usage>> {
1001
+ return this.request({
1002
+ path: `/company/companies/${parentId}/sites/${id}/usages/list`,
1003
+ method: 'get',
1004
+ params,
1005
+ })
1006
+ }
1007
+
1008
+ getCompanyCompaniesByParentIdSitesCount(
1009
+ parentId: number,
1010
+ params: CommonParameters = {},
1011
+ ): Promise<Count> {
1012
+ return this.request({
1013
+ path: `/company/companies/${parentId}/sites/count`,
1014
+ method: 'get',
1015
+ params,
1016
+ })
1017
+ }
1018
+
1019
+ getCompanyCompaniesByParentIdSurveysCount(
1020
+ parentId: number,
1021
+ params: CommonParameters = {},
1022
+ ): Promise<Count> {
1023
+ return this.request({
1024
+ path: `/company/companies/${parentId}/surveys/count`,
1025
+ method: 'get',
1026
+ params,
1027
+ })
1028
+ }
1029
+
1030
+ getCompanyCompaniesByParentIdTeams(
1031
+ parentId: number,
1032
+ params: CommonParameters = {},
1033
+ ): Promise<Array<CompanyTeam>> {
1034
+ return this.request({
1035
+ path: `/company/companies/${parentId}/teams`,
1036
+ method: 'get',
1037
+ params,
1038
+ })
1039
+ }
1040
+
1041
+ postCompanyCompaniesByParentIdTeams(
1042
+ parentId: number,
1043
+ companyTeam: CompanyTeam,
1044
+ ): Promise<CompanyTeam> {
1045
+ return this.request({
1046
+ path: `/company/companies/${parentId}/teams`,
1047
+ method: 'post',
1048
+ data: companyTeam,
1049
+ })
1050
+ }
1051
+
1052
+ getCompanyCompaniesByParentIdTeamsById(
1053
+ id: number,
1054
+ parentId: number,
1055
+ params: CommonParameters = {},
1056
+ ): Promise<CompanyTeam> {
1057
+ return this.request({
1058
+ path: `/company/companies/${parentId}/teams/${id}`,
1059
+ method: 'get',
1060
+ params,
1061
+ })
1062
+ }
1063
+
1064
+ deleteCompanyCompaniesByParentIdTeamsById(
1065
+ id: number,
1066
+ parentId: number,
1067
+ ): Promise<NoContentResponse> {
1068
+ return this.request({
1069
+ path: `/company/companies/${parentId}/teams/${id}`,
1070
+ method: 'delete',
1071
+ })
1072
+ }
1073
+
1074
+ putCompanyCompaniesByParentIdTeamsById(
1075
+ id: number,
1076
+ parentId: number,
1077
+ companyTeam: CompanyTeam,
1078
+ ): Promise<CompanyTeam> {
1079
+ return this.request({
1080
+ path: `/company/companies/${parentId}/teams/${id}`,
1081
+ method: 'put',
1082
+ data: companyTeam,
1083
+ })
1084
+ }
1085
+
1086
+ patchCompanyCompaniesByParentIdTeamsById(
1087
+ id: number,
1088
+ parentId: number,
1089
+ patchOperations: Array<PatchOperation>,
1090
+ ): Promise<CompanyTeam> {
1091
+ return this.request({
1092
+ path: `/company/companies/${parentId}/teams/${id}`,
1093
+ method: 'patch',
1094
+ data: patchOperations,
1095
+ })
1096
+ }
1097
+
1098
+ getCompanyCompaniesByParentIdTeamsCount(
1099
+ parentId: number,
1100
+ params: CommonParameters = {},
1101
+ ): Promise<Count> {
1102
+ return this.request({
1103
+ path: `/company/companies/${parentId}/teams/count`,
1104
+ method: 'get',
1105
+ params,
1106
+ })
1107
+ }
1108
+
1109
+ getCompanyCompaniesByParentIdTracks(
1110
+ parentId: number,
1111
+ params: CommonParameters = {},
1112
+ ): Promise<Array<ContactTrack>> {
1113
+ return this.request({
1114
+ path: `/company/companies/${parentId}/tracks`,
1115
+ method: 'get',
1116
+ params,
1117
+ })
1118
+ }
1119
+
1120
+ postCompanyCompaniesByParentIdTracks(
1121
+ parentId: number,
1122
+ track: ContactTrack,
1123
+ ): Promise<ContactTrack> {
1124
+ return this.request({
1125
+ path: `/company/companies/${parentId}/tracks`,
1126
+ method: 'post',
1127
+ data: track,
1128
+ })
1129
+ }
1130
+
1131
+ getCompanyCompaniesByParentIdTracksById(
1132
+ id: number,
1133
+ parentId: number,
1134
+ params: CommonParameters = {},
1135
+ ): Promise<ContactTrack> {
1136
+ return this.request({
1137
+ path: `/company/companies/${parentId}/tracks/${id}`,
1138
+ method: 'get',
1139
+ params,
1140
+ })
1141
+ }
1142
+
1143
+ deleteCompanyCompaniesByParentIdTracksById(
1144
+ id: number,
1145
+ parentId: number,
1146
+ ): Promise<NoContentResponse> {
1147
+ return this.request({
1148
+ path: `/company/companies/${parentId}/tracks/${id}`,
1149
+ method: 'delete',
1150
+ })
1151
+ }
1152
+
1153
+ getCompanyCompaniesByParentIdTracksCount(
1154
+ parentId: number,
1155
+ params: CommonParameters = {},
1156
+ ): Promise<Count> {
1157
+ return this.request({
1158
+ path: `/company/companies/${parentId}/tracks/count`,
1159
+ method: 'get',
1160
+ params,
1161
+ })
1162
+ }
1163
+
1164
+ getCompanyCompaniesByParentIdTypeAssociations(
1165
+ parentId: number,
1166
+ params: CommonParameters = {},
1167
+ ): Promise<Array<CompanyCompanyTypeAssociationCompanyTypeAssociation>> {
1168
+ return this.request({
1169
+ path: `/company/companies/${parentId}/typeAssociations`,
1170
+ method: 'get',
1171
+ params,
1172
+ })
1173
+ }
1174
+
1175
+ postCompanyCompaniesByParentIdTypeAssociations(
1176
+ parentId: number,
1177
+ companyTypeAssociation: CompanyCompanyTypeAssociationCompanyTypeAssociation,
1178
+ ): Promise<CompanyCompanyTypeAssociationCompanyTypeAssociation> {
1179
+ return this.request({
1180
+ path: `/company/companies/${parentId}/typeAssociations`,
1181
+ method: 'post',
1182
+ data: companyTypeAssociation,
1183
+ })
1184
+ }
1185
+
1186
+ getCompanyCompaniesByParentIdTypeAssociationsById(
1187
+ id: number,
1188
+ parentId: number,
1189
+ params: CommonParameters = {},
1190
+ ): Promise<CompanyCompanyTypeAssociationCompanyTypeAssociation> {
1191
+ return this.request({
1192
+ path: `/company/companies/${parentId}/typeAssociations/${id}`,
1193
+ method: 'get',
1194
+ params,
1195
+ })
1196
+ }
1197
+
1198
+ deleteCompanyCompaniesByParentIdTypeAssociationsById(
1199
+ id: number,
1200
+ parentId: number,
1201
+ ): Promise<NoContentResponse> {
1202
+ return this.request({
1203
+ path: `/company/companies/${parentId}/typeAssociations/${id}`,
1204
+ method: 'delete',
1205
+ })
1206
+ }
1207
+
1208
+ putCompanyCompaniesByParentIdTypeAssociationsById(
1209
+ id: number,
1210
+ parentId: number,
1211
+ companyTypeAssociation: CompanyCompanyTypeAssociationCompanyTypeAssociation,
1212
+ ): Promise<CompanyCompanyTypeAssociationCompanyTypeAssociation> {
1213
+ return this.request({
1214
+ path: `/company/companies/${parentId}/typeAssociations/${id}`,
1215
+ method: 'put',
1216
+ data: companyTypeAssociation,
1217
+ })
1218
+ }
1219
+
1220
+ patchCompanyCompaniesByParentIdTypeAssociationsById(
1221
+ id: number,
1222
+ parentId: number,
1223
+ patchOperations: Array<PatchOperation>,
1224
+ ): Promise<CompanyCompanyTypeAssociationCompanyTypeAssociation> {
1225
+ return this.request({
1226
+ path: `/company/companies/${parentId}/typeAssociations/${id}`,
1227
+ method: 'patch',
1228
+ data: patchOperations,
1229
+ })
1230
+ }
1231
+
1232
+ getCompanyCompaniesByParentIdTypeAssociationsCount(
1233
+ parentId: number,
1234
+ params: CommonParameters = {},
1235
+ ): Promise<Count> {
1236
+ return this.request({
1237
+ path: `/company/companies/${parentId}/typeAssociations/count`,
1238
+ method: 'get',
1239
+ params,
1240
+ })
1241
+ }
1242
+
1243
+ getCompanyCompaniesCount(params: CommonParameters = {}): Promise<Count> {
1244
+ return this.request({
1245
+ path: `/company/companies/count`,
1246
+ method: 'get',
1247
+ params,
1248
+ })
1249
+ }
1250
+
1251
+ getCompanyCompaniesDefault(params: CommonParameters = {}): Promise<Company> {
1252
+ return this.request({
1253
+ path: `/company/companies/default`,
1254
+ method: 'get',
1255
+ params,
1256
+ })
1257
+ }
1258
+
1259
+ getCompanyCompaniesInfoTypes(params: CommonParameters = {}): Promise<Array<CompanyTypeInfo>> {
1260
+ return this.request({
1261
+ path: `/company/companies/info/types`,
1262
+ method: 'get',
1263
+ params,
1264
+ })
1265
+ }
1266
+
1267
+ getCompanyCompaniesInfoTypesById(
1268
+ id: number,
1269
+ params: CommonParameters = {},
1270
+ ): Promise<CompanyTypeInfo> {
1271
+ return this.request({
1272
+ path: `/company/companies/info/types/${id}`,
1273
+ method: 'get',
1274
+ params,
1275
+ })
1276
+ }
1277
+
1278
+ getCompanyCompaniesInfoTypesCount(params: CommonParameters = {}): Promise<Count> {
1279
+ return this.request({
1280
+ path: `/company/companies/info/types/count`,
1281
+ method: 'get',
1282
+ params,
1283
+ })
1284
+ }
1285
+
1286
+ getCompanyCompaniesStatuses(params: CommonParameters = {}): Promise<Array<CompanyStatus>> {
1287
+ return this.request({
1288
+ path: `/company/companies/statuses`,
1289
+ method: 'get',
1290
+ params,
1291
+ })
1292
+ }
1293
+
1294
+ postCompanyCompaniesStatuses(companyStatus: CompanyStatus): Promise<CompanyStatus> {
1295
+ return this.request({
1296
+ path: `/company/companies/statuses`,
1297
+ method: 'post',
1298
+ data: companyStatus,
1299
+ })
1300
+ }
1301
+
1302
+ getCompanyCompaniesStatusesById(
1303
+ id: number,
1304
+ params: CommonParameters = {},
1305
+ ): Promise<CompanyStatus> {
1306
+ return this.request({
1307
+ path: `/company/companies/statuses/${id}`,
1308
+ method: 'get',
1309
+ params,
1310
+ })
1311
+ }
1312
+
1313
+ deleteCompanyCompaniesStatusesById(id: number): Promise<NoContentResponse> {
1314
+ return this.request({
1315
+ path: `/company/companies/statuses/${id}`,
1316
+ method: 'delete',
1317
+ })
1318
+ }
1319
+
1320
+ putCompanyCompaniesStatusesById(
1321
+ id: number,
1322
+ companyStatus: CompanyStatus,
1323
+ ): Promise<CompanyStatus> {
1324
+ return this.request({
1325
+ path: `/company/companies/statuses/${id}`,
1326
+ method: 'put',
1327
+ data: companyStatus,
1328
+ })
1329
+ }
1330
+
1331
+ patchCompanyCompaniesStatusesById(
1332
+ id: number,
1333
+ patchOperations: Array<PatchOperation>,
1334
+ ): Promise<CompanyStatus> {
1335
+ return this.request({
1336
+ path: `/company/companies/statuses/${id}`,
1337
+ method: 'patch',
1338
+ data: patchOperations,
1339
+ })
1340
+ }
1341
+
1342
+ getCompanyCompaniesStatusesByIdUsages(
1343
+ id: number,
1344
+ params: CommonParameters = {},
1345
+ ): Promise<Array<Usage>> {
1346
+ return this.request({
1347
+ path: `/company/companies/statuses/${id}/usages`,
1348
+ method: 'get',
1349
+ params,
1350
+ })
1351
+ }
1352
+
1353
+ getCompanyCompaniesStatusesByIdUsagesList(
1354
+ id: number,
1355
+ params: CommonParameters = {},
1356
+ ): Promise<Array<Usage>> {
1357
+ return this.request({
1358
+ path: `/company/companies/statuses/${id}/usages/list`,
1359
+ method: 'get',
1360
+ params,
1361
+ })
1362
+ }
1363
+
1364
+ getCompanyCompaniesStatusesCount(params: CommonParameters = {}): Promise<Count> {
1365
+ return this.request({
1366
+ path: `/company/companies/statuses/count`,
1367
+ method: 'get',
1368
+ params,
1369
+ })
1370
+ }
1371
+
1372
+ getCompanyCompaniesTypes(params: CommonParameters = {}): Promise<Array<CompanyType>> {
1373
+ return this.request({
1374
+ path: `/company/companies/types`,
1375
+ method: 'get',
1376
+ params,
1377
+ })
1378
+ }
1379
+
1380
+ postCompanyCompaniesTypes(companyType: CompanyType): Promise<CompanyType> {
1381
+ return this.request({
1382
+ path: `/company/companies/types`,
1383
+ method: 'post',
1384
+ data: companyType,
1385
+ })
1386
+ }
1387
+
1388
+ getCompanyCompaniesTypesById(id: number, params: CommonParameters = {}): Promise<CompanyType> {
1389
+ return this.request({
1390
+ path: `/company/companies/types/${id}`,
1391
+ method: 'get',
1392
+ params,
1393
+ })
1394
+ }
1395
+
1396
+ deleteCompanyCompaniesTypesById(id: number): Promise<NoContentResponse> {
1397
+ return this.request({
1398
+ path: `/company/companies/types/${id}`,
1399
+ method: 'delete',
1400
+ })
1401
+ }
1402
+
1403
+ putCompanyCompaniesTypesById(id: number, companyType: CompanyType): Promise<CompanyType> {
1404
+ return this.request({
1405
+ path: `/company/companies/types/${id}`,
1406
+ method: 'put',
1407
+ data: companyType,
1408
+ })
1409
+ }
1410
+
1411
+ patchCompanyCompaniesTypesById(
1412
+ id: number,
1413
+ patchOperations: Array<PatchOperation>,
1414
+ ): Promise<CompanyType> {
1415
+ return this.request({
1416
+ path: `/company/companies/types/${id}`,
1417
+ method: 'patch',
1418
+ data: patchOperations,
1419
+ })
1420
+ }
1421
+
1422
+ getCompanyCompaniesTypesByIdUsages(
1423
+ id: number,
1424
+ params: CommonParameters = {},
1425
+ ): Promise<Array<Usage>> {
1426
+ return this.request({
1427
+ path: `/company/companies/types/${id}/usages`,
1428
+ method: 'get',
1429
+ params,
1430
+ })
1431
+ }
1432
+
1433
+ getCompanyCompaniesTypesByIdUsagesList(
1434
+ id: number,
1435
+ params: CommonParameters = {},
1436
+ ): Promise<Array<Usage>> {
1437
+ return this.request({
1438
+ path: `/company/companies/types/${id}/usages/list`,
1439
+ method: 'get',
1440
+ params,
1441
+ })
1442
+ }
1443
+
1444
+ getCompanyCompaniesTypesCount(params: CommonParameters = {}): Promise<Count> {
1445
+ return this.request({
1446
+ path: `/company/companies/types/count`,
1447
+ method: 'get',
1448
+ params,
1449
+ })
1450
+ }
1451
+
1452
+ putCompanyCompanyFinanceById(
1453
+ id: number,
1454
+ CompanyFinance: CompanyFinance,
1455
+ ): Promise<CompanyFinance> {
1456
+ return this.request({
1457
+ path: `/company/companyFinance/${id}`,
1458
+ method: 'put',
1459
+ data: CompanyFinance,
1460
+ })
1461
+ }
1462
+
1463
+ getCompanyCompanyPickerItems(params: CommonParameters = {}): Promise<Array<CompanyPickerItem>> {
1464
+ return this.request({
1465
+ path: `/company/companyPickerItems`,
1466
+ method: 'get',
1467
+ params,
1468
+ })
1469
+ }
1470
+
1471
+ postCompanyCompanyPickerItems(companyPickerItem: CompanyPickerItem): Promise<CompanyPickerItem> {
1472
+ return this.request({
1473
+ path: `/company/companyPickerItems`,
1474
+ method: 'post',
1475
+ data: companyPickerItem,
1476
+ })
1477
+ }
1478
+
1479
+ getCompanyCompanyPickerItemsById(
1480
+ id: number,
1481
+ params: CommonParameters = {},
1482
+ ): Promise<CompanyPickerItem> {
1483
+ return this.request({
1484
+ path: `/company/companyPickerItems/${id}`,
1485
+ method: 'get',
1486
+ params,
1487
+ })
1488
+ }
1489
+
1490
+ deleteCompanyCompanyPickerItemsById(id: number): Promise<NoContentResponse> {
1491
+ return this.request({
1492
+ path: `/company/companyPickerItems/${id}`,
1493
+ method: 'delete',
1494
+ })
1495
+ }
1496
+
1497
+ postCompanyCompanyPickerItemsClear(
1498
+ clearPickerRequest: ClearPickerRequest,
1499
+ ): Promise<NoContentResponse> {
1500
+ return this.request({
1501
+ path: `/company/companyPickerItems/clear`,
1502
+ method: 'post',
1503
+ data: clearPickerRequest,
1504
+ })
1505
+ }
1506
+
1507
+ getCompanyCompanyPickerItemsCount(params: CommonParameters = {}): Promise<Count> {
1508
+ return this.request({
1509
+ path: `/company/companyPickerItems/count`,
1510
+ method: 'get',
1511
+ params,
1512
+ })
1513
+ }
1514
+
1515
+ getCompanyCompanyTypeAssociations(
1516
+ params: CommonParameters = {},
1517
+ ): Promise<Array<CompanyCompanyTypeAssociation>> {
1518
+ return this.request({
1519
+ path: `/company/companyTypeAssociations`,
1520
+ method: 'get',
1521
+ params,
1522
+ })
1523
+ }
1524
+
1525
+ postCompanyCompanyTypeAssociations(
1526
+ companyTypeAssociation: CompanyCompanyTypeAssociation,
1527
+ ): Promise<CompanyCompanyTypeAssociation> {
1528
+ return this.request({
1529
+ path: `/company/companyTypeAssociations`,
1530
+ method: 'post',
1531
+ data: companyTypeAssociation,
1532
+ })
1533
+ }
1534
+
1535
+ getCompanyCompanyTypeAssociationsById(
1536
+ id: number,
1537
+ params: CommonParameters = {},
1538
+ ): Promise<CompanyCompanyTypeAssociation> {
1539
+ return this.request({
1540
+ path: `/company/companyTypeAssociations/${id}`,
1541
+ method: 'get',
1542
+ params,
1543
+ })
1544
+ }
1545
+
1546
+ deleteCompanyCompanyTypeAssociationsById(id: number): Promise<NoContentResponse> {
1547
+ return this.request({
1548
+ path: `/company/companyTypeAssociations/${id}`,
1549
+ method: 'delete',
1550
+ })
1551
+ }
1552
+
1553
+ putCompanyCompanyTypeAssociationsById(
1554
+ id: number,
1555
+ companyTypeAssociation: CompanyCompanyTypeAssociation,
1556
+ ): Promise<CompanyCompanyTypeAssociation> {
1557
+ return this.request({
1558
+ path: `/company/companyTypeAssociations/${id}`,
1559
+ method: 'put',
1560
+ data: companyTypeAssociation,
1561
+ })
1562
+ }
1563
+
1564
+ patchCompanyCompanyTypeAssociationsById(
1565
+ id: number,
1566
+ patchOperations: Array<PatchOperation>,
1567
+ ): Promise<CompanyCompanyTypeAssociation> {
1568
+ return this.request({
1569
+ path: `/company/companyTypeAssociations/${id}`,
1570
+ method: 'patch',
1571
+ data: patchOperations,
1572
+ })
1573
+ }
1574
+
1575
+ getCompanyCompanyTypeAssociationsCount(params: CommonParameters = {}): Promise<Count> {
1576
+ return this.request({
1577
+ path: `/company/companyTypeAssociations/count`,
1578
+ method: 'get',
1579
+ params,
1580
+ })
1581
+ }
1582
+
1583
+ getCompanyConfigurations(
1584
+ managedIdentifier: string,
1585
+ params: CommonParameters = {},
1586
+ ): Promise<Array<CompanyConfiguration>> {
1587
+ return this.request({
1588
+ path: `/company/configurations`,
1589
+ method: 'get',
1590
+ params,
1591
+ })
1592
+ }
1593
+
1594
+ postCompanyConfigurations(
1595
+ configuration: CompanyConfiguration,
1596
+ params: CommonParameters = {},
1597
+ ): Promise<CompanyConfiguration> {
1598
+ return this.request({
1599
+ path: `/company/configurations`,
1600
+ method: 'post',
1601
+ data: configuration,
1602
+ params,
1603
+ })
1604
+ }
1605
+
1606
+ getCompanyConfigurationsById(
1607
+ id: number,
1608
+ params: CommonParameters = {},
1609
+ ): Promise<CompanyConfiguration> {
1610
+ return this.request({
1611
+ path: `/company/configurations/${id}`,
1612
+ method: 'get',
1613
+ params,
1614
+ })
1615
+ }
1616
+
1617
+ deleteCompanyConfigurationsById(id: number): Promise<NoContentResponse> {
1618
+ return this.request({
1619
+ path: `/company/configurations/${id}`,
1620
+ method: 'delete',
1621
+ })
1622
+ }
1623
+
1624
+ putCompanyConfigurationsById(
1625
+ id: number,
1626
+ configuration: CompanyConfiguration,
1627
+ params: CommonParameters = {},
1628
+ ): Promise<CompanyConfiguration> {
1629
+ return this.request({
1630
+ path: `/company/configurations/${id}`,
1631
+ method: 'put',
1632
+ data: configuration,
1633
+ params,
1634
+ })
1635
+ }
1636
+
1637
+ patchCompanyConfigurationsById(
1638
+ id: number,
1639
+ patchOperations: Array<PatchOperation>,
1640
+ params: CommonParameters = {},
1641
+ ): Promise<CompanyConfiguration> {
1642
+ return this.request({
1643
+ path: `/company/configurations/${id}`,
1644
+ method: 'patch',
1645
+ data: patchOperations,
1646
+ params,
1647
+ })
1648
+ }
1649
+
1650
+ patchCompanyConfigurationsByIdChangeType(
1651
+ id: number,
1652
+ patchOperations: Array<PatchOperation>,
1653
+ ): Promise<CompanyConfiguration> {
1654
+ return this.request({
1655
+ path: `/company/configurations/${id}/changeType`,
1656
+ method: 'patch',
1657
+ data: patchOperations,
1658
+ })
1659
+ }
1660
+
1661
+ postCompanyConfigurationsBulk(
1662
+ companyConfigurations: Array<CompanyConfiguration>,
1663
+ ): Promise<CompanyConfiguration> {
1664
+ return this.request({
1665
+ path: `/company/configurations/bulk`,
1666
+ method: 'post',
1667
+ data: companyConfigurations,
1668
+ })
1669
+ }
1670
+
1671
+ deleteCompanyConfigurationsBulk(): Promise<BulkResult> {
1672
+ return this.request({
1673
+ path: `/company/configurations/bulk`,
1674
+ method: 'delete',
1675
+ })
1676
+ }
1677
+
1678
+ putCompanyConfigurationsBulk(
1679
+ companyConfigurations: Array<CompanyConfiguration>,
1680
+ ): Promise<CompanyConfiguration> {
1681
+ return this.request({
1682
+ path: `/company/configurations/bulk`,
1683
+ method: 'put',
1684
+ data: companyConfigurations,
1685
+ })
1686
+ }
1687
+
1688
+ getCompanyConfigurationsCount(
1689
+ managedIdentifier: string,
1690
+ params: CommonParameters = {},
1691
+ ): Promise<Count> {
1692
+ return this.request({
1693
+ path: `/company/configurations/count`,
1694
+ method: 'get',
1695
+ params,
1696
+ })
1697
+ }
1698
+
1699
+ getCompanyConfigurationsStatuses(
1700
+ params: CommonParameters = {},
1701
+ ): Promise<Array<ConfigurationStatus>> {
1702
+ return this.request({
1703
+ path: `/company/configurations/statuses`,
1704
+ method: 'get',
1705
+ params,
1706
+ })
1707
+ }
1708
+
1709
+ postCompanyConfigurationsStatuses(
1710
+ configurationStatus: ConfigurationStatus,
1711
+ ): Promise<ConfigurationStatus> {
1712
+ return this.request({
1713
+ path: `/company/configurations/statuses`,
1714
+ method: 'post',
1715
+ data: configurationStatus,
1716
+ })
1717
+ }
1718
+
1719
+ getCompanyConfigurationsStatusesById(
1720
+ id: number,
1721
+ params: CommonParameters = {},
1722
+ ): Promise<ConfigurationStatus> {
1723
+ return this.request({
1724
+ path: `/company/configurations/statuses/${id}`,
1725
+ method: 'get',
1726
+ params,
1727
+ })
1728
+ }
1729
+
1730
+ deleteCompanyConfigurationsStatusesById(id: number): Promise<NoContentResponse> {
1731
+ return this.request({
1732
+ path: `/company/configurations/statuses/${id}`,
1733
+ method: 'delete',
1734
+ })
1735
+ }
1736
+
1737
+ putCompanyConfigurationsStatusesById(
1738
+ id: number,
1739
+ configurationStatus: ConfigurationStatus,
1740
+ ): Promise<ConfigurationStatus> {
1741
+ return this.request({
1742
+ path: `/company/configurations/statuses/${id}`,
1743
+ method: 'put',
1744
+ data: configurationStatus,
1745
+ })
1746
+ }
1747
+
1748
+ patchCompanyConfigurationsStatusesById(
1749
+ id: number,
1750
+ patchOperations: Array<PatchOperation>,
1751
+ ): Promise<ConfigurationStatus> {
1752
+ return this.request({
1753
+ path: `/company/configurations/statuses/${id}`,
1754
+ method: 'patch',
1755
+ data: patchOperations,
1756
+ })
1757
+ }
1758
+
1759
+ getCompanyConfigurationsStatusesByIdInfo(
1760
+ id: number,
1761
+ params: CommonParameters = {},
1762
+ ): Promise<ConfigurationStatusInfo> {
1763
+ return this.request({
1764
+ path: `/company/configurations/statuses/${id}/info`,
1765
+ method: 'get',
1766
+ params,
1767
+ })
1768
+ }
1769
+
1770
+ getCompanyConfigurationsStatusesByIdUsages(
1771
+ id: number,
1772
+ params: CommonParameters = {},
1773
+ ): Promise<Array<Usage>> {
1774
+ return this.request({
1775
+ path: `/company/configurations/statuses/${id}/usages`,
1776
+ method: 'get',
1777
+ params,
1778
+ })
1779
+ }
1780
+
1781
+ getCompanyConfigurationsStatusesByIdUsagesList(
1782
+ id: number,
1783
+ params: CommonParameters = {},
1784
+ ): Promise<Array<Usage>> {
1785
+ return this.request({
1786
+ path: `/company/configurations/statuses/${id}/usages/list`,
1787
+ method: 'get',
1788
+ params,
1789
+ })
1790
+ }
1791
+
1792
+ getCompanyConfigurationsStatusesCount(params: CommonParameters = {}): Promise<Count> {
1793
+ return this.request({
1794
+ path: `/company/configurations/statuses/count`,
1795
+ method: 'get',
1796
+ params,
1797
+ })
1798
+ }
1799
+
1800
+ getCompanyConfigurationsStatusesInfo(
1801
+ params: CommonParameters = {},
1802
+ ): Promise<Array<ConfigurationStatusInfo>> {
1803
+ return this.request({
1804
+ path: `/company/configurations/statuses/info`,
1805
+ method: 'get',
1806
+ params,
1807
+ })
1808
+ }
1809
+
1810
+ getCompanyConfigurationsStatusesInfoCount(params: CommonParameters = {}): Promise<Count> {
1811
+ return this.request({
1812
+ path: `/company/configurations/statuses/info/count`,
1813
+ method: 'get',
1814
+ params,
1815
+ })
1816
+ }
1817
+
1818
+ getCompanyConfigurationsTypes(params: CommonParameters = {}): Promise<Array<ConfigurationType>> {
1819
+ return this.request({
1820
+ path: `/company/configurations/types`,
1821
+ method: 'get',
1822
+ params,
1823
+ })
1824
+ }
1825
+
1826
+ postCompanyConfigurationsTypes(configurationType: ConfigurationType): Promise<ConfigurationType> {
1827
+ return this.request({
1828
+ path: `/company/configurations/types`,
1829
+ method: 'post',
1830
+ data: configurationType,
1831
+ })
1832
+ }
1833
+
1834
+ getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValues(
1835
+ parentId: number,
1836
+ grandparentId: number,
1837
+ params: CommonParameters = {},
1838
+ ): Promise<Array<ConfigurationTypeQuestionValue>> {
1839
+ return this.request({
1840
+ path: `/company/configurations/types/${grandparentId}/questions/${parentId}/values`,
1841
+ method: 'get',
1842
+ params,
1843
+ })
1844
+ }
1845
+
1846
+ postCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValues(
1847
+ parentId: number,
1848
+ grandparentId: number,
1849
+ configurationTypeQuestionValue: ConfigurationTypeQuestionValue,
1850
+ ): Promise<ConfigurationTypeQuestionValue> {
1851
+ return this.request({
1852
+ path: `/company/configurations/types/${grandparentId}/questions/${parentId}/values`,
1853
+ method: 'post',
1854
+ data: configurationTypeQuestionValue,
1855
+ })
1856
+ }
1857
+
1858
+ getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesById(
1859
+ id: number,
1860
+ parentId: number,
1861
+ grandparentId: number,
1862
+ params: CommonParameters = {},
1863
+ ): Promise<ConfigurationTypeQuestionValue> {
1864
+ return this.request({
1865
+ path: `/company/configurations/types/${grandparentId}/questions/${parentId}/values/${id}`,
1866
+ method: 'get',
1867
+ params,
1868
+ })
1869
+ }
1870
+
1871
+ deleteCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesById(
1872
+ id: number,
1873
+ parentId: number,
1874
+ grandparentId: number,
1875
+ ): Promise<NoContentResponse> {
1876
+ return this.request({
1877
+ path: `/company/configurations/types/${grandparentId}/questions/${parentId}/values/${id}`,
1878
+ method: 'delete',
1879
+ })
1880
+ }
1881
+
1882
+ putCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesById(
1883
+ id: number,
1884
+ parentId: number,
1885
+ grandparentId: number,
1886
+ configurationTypeQuestionValue: ConfigurationTypeQuestionValue,
1887
+ ): Promise<ConfigurationTypeQuestionValue> {
1888
+ return this.request({
1889
+ path: `/company/configurations/types/${grandparentId}/questions/${parentId}/values/${id}`,
1890
+ method: 'put',
1891
+ data: configurationTypeQuestionValue,
1892
+ })
1893
+ }
1894
+
1895
+ patchCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesById(
1896
+ id: number,
1897
+ parentId: number,
1898
+ grandparentId: number,
1899
+ patchOperations: Array<PatchOperation>,
1900
+ ): Promise<ConfigurationTypeQuestionValue> {
1901
+ return this.request({
1902
+ path: `/company/configurations/types/${grandparentId}/questions/${parentId}/values/${id}`,
1903
+ method: 'patch',
1904
+ data: patchOperations,
1905
+ })
1906
+ }
1907
+
1908
+ getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesByIdUsages(
1909
+ id: number,
1910
+ parentId: number,
1911
+ grandparentId: number,
1912
+ params: CommonParameters = {},
1913
+ ): Promise<Array<Usage>> {
1914
+ return this.request({
1915
+ path: `/company/configurations/types/${grandparentId}/questions/${parentId}/values/${id}/usages`,
1916
+ method: 'get',
1917
+ params,
1918
+ })
1919
+ }
1920
+
1921
+ getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesByIdUsagesList(
1922
+ id: number,
1923
+ parentId: number,
1924
+ grandparentId: number,
1925
+ params: CommonParameters = {},
1926
+ ): Promise<Array<Usage>> {
1927
+ return this.request({
1928
+ path: `/company/configurations/types/${grandparentId}/questions/${parentId}/values/${id}/usages/list`,
1929
+ method: 'get',
1930
+ params,
1931
+ })
1932
+ }
1933
+
1934
+ getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesCount(
1935
+ parentId: number,
1936
+ grandparentId: number,
1937
+ params: CommonParameters = {},
1938
+ ): Promise<Count> {
1939
+ return this.request({
1940
+ path: `/company/configurations/types/${grandparentId}/questions/${parentId}/values/count`,
1941
+ method: 'get',
1942
+ params,
1943
+ })
1944
+ }
1945
+
1946
+ getCompanyConfigurationsTypesById(
1947
+ id: number,
1948
+ params: CommonParameters = {},
1949
+ ): Promise<ConfigurationType> {
1950
+ return this.request({
1951
+ path: `/company/configurations/types/${id}`,
1952
+ method: 'get',
1953
+ params,
1954
+ })
1955
+ }
1956
+
1957
+ deleteCompanyConfigurationsTypesById(id: number): Promise<NoContentResponse> {
1958
+ return this.request({
1959
+ path: `/company/configurations/types/${id}`,
1960
+ method: 'delete',
1961
+ })
1962
+ }
1963
+
1964
+ putCompanyConfigurationsTypesById(
1965
+ id: number,
1966
+ configurationType: ConfigurationType,
1967
+ ): Promise<ConfigurationType> {
1968
+ return this.request({
1969
+ path: `/company/configurations/types/${id}`,
1970
+ method: 'put',
1971
+ data: configurationType,
1972
+ })
1973
+ }
1974
+
1975
+ patchCompanyConfigurationsTypesById(
1976
+ id: number,
1977
+ patchOperations: Array<PatchOperation>,
1978
+ ): Promise<ConfigurationType> {
1979
+ return this.request({
1980
+ path: `/company/configurations/types/${id}`,
1981
+ method: 'patch',
1982
+ data: patchOperations,
1983
+ })
1984
+ }
1985
+
1986
+ getCompanyConfigurationsTypesByIdInfo(
1987
+ id: number,
1988
+ params: CommonParameters = {},
1989
+ ): Promise<ConfigurationTypeInfo> {
1990
+ return this.request({
1991
+ path: `/company/configurations/types/${id}/info`,
1992
+ method: 'get',
1993
+ params,
1994
+ })
1995
+ }
1996
+
1997
+ getCompanyConfigurationsTypesByIdUsages(
1998
+ id: number,
1999
+ params: CommonParameters = {},
2000
+ ): Promise<Array<Usage>> {
2001
+ return this.request({
2002
+ path: `/company/configurations/types/${id}/usages`,
2003
+ method: 'get',
2004
+ params,
2005
+ })
2006
+ }
2007
+
2008
+ getCompanyConfigurationsTypesByIdUsagesList(
2009
+ id: number,
2010
+ params: CommonParameters = {},
2011
+ ): Promise<Array<Usage>> {
2012
+ return this.request({
2013
+ path: `/company/configurations/types/${id}/usages/list`,
2014
+ method: 'get',
2015
+ params,
2016
+ })
2017
+ }
2018
+
2019
+ getCompanyConfigurationsTypesByParentIdQuestions(
2020
+ parentId: number,
2021
+ params: CommonParameters = {},
2022
+ ): Promise<Array<ConfigurationTypeQuestion>> {
2023
+ return this.request({
2024
+ path: `/company/configurations/types/${parentId}/questions`,
2025
+ method: 'get',
2026
+ params,
2027
+ })
2028
+ }
2029
+
2030
+ postCompanyConfigurationsTypesByParentIdQuestions(
2031
+ parentId: number,
2032
+ configurationTypeQuestion: ConfigurationTypeQuestion,
2033
+ ): Promise<ConfigurationTypeQuestion> {
2034
+ return this.request({
2035
+ path: `/company/configurations/types/${parentId}/questions`,
2036
+ method: 'post',
2037
+ data: configurationTypeQuestion,
2038
+ })
2039
+ }
2040
+
2041
+ getCompanyConfigurationsTypesByParentIdQuestionsById(
2042
+ id: number,
2043
+ parentId: number,
2044
+ params: CommonParameters = {},
2045
+ ): Promise<ConfigurationTypeQuestion> {
2046
+ return this.request({
2047
+ path: `/company/configurations/types/${parentId}/questions/${id}`,
2048
+ method: 'get',
2049
+ params,
2050
+ })
2051
+ }
2052
+
2053
+ deleteCompanyConfigurationsTypesByParentIdQuestionsById(
2054
+ id: number,
2055
+ parentId: number,
2056
+ ): Promise<NoContentResponse> {
2057
+ return this.request({
2058
+ path: `/company/configurations/types/${parentId}/questions/${id}`,
2059
+ method: 'delete',
2060
+ })
2061
+ }
2062
+
2063
+ putCompanyConfigurationsTypesByParentIdQuestionsById(
2064
+ id: number,
2065
+ parentId: number,
2066
+ configurationTypeQuestion: ConfigurationTypeQuestion,
2067
+ ): Promise<ConfigurationTypeQuestion> {
2068
+ return this.request({
2069
+ path: `/company/configurations/types/${parentId}/questions/${id}`,
2070
+ method: 'put',
2071
+ data: configurationTypeQuestion,
2072
+ })
2073
+ }
2074
+
2075
+ patchCompanyConfigurationsTypesByParentIdQuestionsById(
2076
+ id: number,
2077
+ parentId: number,
2078
+ patchOperations: Array<PatchOperation>,
2079
+ ): Promise<ConfigurationTypeQuestion> {
2080
+ return this.request({
2081
+ path: `/company/configurations/types/${parentId}/questions/${id}`,
2082
+ method: 'patch',
2083
+ data: patchOperations,
2084
+ })
2085
+ }
2086
+
2087
+ getCompanyConfigurationsTypesByParentIdQuestionsCount(
2088
+ parentId: number,
2089
+ params: CommonParameters = {},
2090
+ ): Promise<Count> {
2091
+ return this.request({
2092
+ path: `/company/configurations/types/${parentId}/questions/count`,
2093
+ method: 'get',
2094
+ params,
2095
+ })
2096
+ }
2097
+
2098
+ getCompanyConfigurationsTypesCount(params: CommonParameters = {}): Promise<Count> {
2099
+ return this.request({
2100
+ path: `/company/configurations/types/count`,
2101
+ method: 'get',
2102
+ params,
2103
+ })
2104
+ }
2105
+
2106
+ getCompanyContacts(params: CommonParameters = {}): Promise<Array<Contact>> {
2107
+ return this.request({
2108
+ path: `/company/contacts`,
2109
+ method: 'get',
2110
+ params,
2111
+ })
2112
+ }
2113
+
2114
+ postCompanyContacts(contact: Contact): Promise<Contact> {
2115
+ return this.request({
2116
+ path: `/company/contacts`,
2117
+ method: 'post',
2118
+ data: contact,
2119
+ })
2120
+ }
2121
+
2122
+ getCompanyContactsById(id: number, params: CommonParameters = {}): Promise<Contact> {
2123
+ return this.request({
2124
+ path: `/company/contacts/${id}`,
2125
+ method: 'get',
2126
+ params,
2127
+ })
2128
+ }
2129
+
2130
+ deleteCompanyContactsById(id: number, transferContactId: number): Promise<NoContentResponse> {
2131
+ return this.request({
2132
+ path: `/company/contacts/${id}`,
2133
+ method: 'delete',
2134
+ })
2135
+ }
2136
+
2137
+ putCompanyContactsById(id: number, contact: Contact): Promise<Contact> {
2138
+ return this.request({
2139
+ path: `/company/contacts/${id}`,
2140
+ method: 'put',
2141
+ data: contact,
2142
+ })
2143
+ }
2144
+
2145
+ patchCompanyContactsById(id: number, patchOperations: Array<PatchOperation>): Promise<Contact> {
2146
+ return this.request({
2147
+ path: `/company/contacts/${id}`,
2148
+ method: 'patch',
2149
+ data: patchOperations,
2150
+ })
2151
+ }
2152
+
2153
+ getCompanyContactsByIdImage(
2154
+ id: number,
2155
+ useDefaultFlag: boolean,
2156
+ lastModified: string,
2157
+ params: CommonParameters = {},
2158
+ ): Promise<OctetStreamResponse> {
2159
+ return this.request({
2160
+ path: `/company/contacts/${id}/image`,
2161
+ method: 'get',
2162
+ params,
2163
+ })
2164
+ }
2165
+
2166
+ getCompanyContactsByIdPortalSecurity(
2167
+ id: number,
2168
+ params: CommonParameters = {},
2169
+ ): Promise<Array<PortalSecurity>> {
2170
+ return this.request({
2171
+ path: `/company/contacts/${id}/portalSecurity`,
2172
+ method: 'get',
2173
+ params,
2174
+ })
2175
+ }
2176
+
2177
+ getCompanyContactsByIdUsages(id: number, params: CommonParameters = {}): Promise<Array<Usage>> {
2178
+ return this.request({
2179
+ path: `/company/contacts/${id}/usages`,
2180
+ method: 'get',
2181
+ params,
2182
+ })
2183
+ }
2184
+
2185
+ getCompanyContactsByIdUsagesList(
2186
+ id: number,
2187
+ params: CommonParameters = {},
2188
+ ): Promise<Array<Usage>> {
2189
+ return this.request({
2190
+ path: `/company/contacts/${id}/usages/list`,
2191
+ method: 'get',
2192
+ params,
2193
+ })
2194
+ }
2195
+
2196
+ getCompanyContactsByParentIdCommunications(
2197
+ parentId: number,
2198
+ params: CommonParameters = {},
2199
+ ): Promise<Array<ContactCommunication>> {
2200
+ return this.request({
2201
+ path: `/company/contacts/${parentId}/communications`,
2202
+ method: 'get',
2203
+ params,
2204
+ })
2205
+ }
2206
+
2207
+ postCompanyContactsByParentIdCommunications(
2208
+ parentId: number,
2209
+ contactCommunication: ContactCommunication,
2210
+ ): Promise<ContactCommunication> {
2211
+ return this.request({
2212
+ path: `/company/contacts/${parentId}/communications`,
2213
+ method: 'post',
2214
+ data: contactCommunication,
2215
+ })
2216
+ }
2217
+
2218
+ getCompanyContactsByParentIdCommunicationsById(
2219
+ id: number,
2220
+ parentId: number,
2221
+ params: CommonParameters = {},
2222
+ ): Promise<ContactCommunication> {
2223
+ return this.request({
2224
+ path: `/company/contacts/${parentId}/communications/${id}`,
2225
+ method: 'get',
2226
+ params,
2227
+ })
2228
+ }
2229
+
2230
+ deleteCompanyContactsByParentIdCommunicationsById(
2231
+ id: number,
2232
+ parentId: number,
2233
+ ): Promise<NoContentResponse> {
2234
+ return this.request({
2235
+ path: `/company/contacts/${parentId}/communications/${id}`,
2236
+ method: 'delete',
2237
+ })
2238
+ }
2239
+
2240
+ putCompanyContactsByParentIdCommunicationsById(
2241
+ id: number,
2242
+ parentId: number,
2243
+ contactCommunication: ContactCommunication,
2244
+ ): Promise<ContactCommunication> {
2245
+ return this.request({
2246
+ path: `/company/contacts/${parentId}/communications/${id}`,
2247
+ method: 'put',
2248
+ data: contactCommunication,
2249
+ })
2250
+ }
2251
+
2252
+ patchCompanyContactsByParentIdCommunicationsById(
2253
+ id: number,
2254
+ parentId: number,
2255
+ patchOperations: Array<PatchOperation>,
2256
+ ): Promise<ContactCommunication> {
2257
+ return this.request({
2258
+ path: `/company/contacts/${parentId}/communications/${id}`,
2259
+ method: 'patch',
2260
+ data: patchOperations,
2261
+ })
2262
+ }
2263
+
2264
+ getCompanyContactsByParentIdCommunicationsCount(
2265
+ parentId: number,
2266
+ params: CommonParameters = {},
2267
+ ): Promise<Count> {
2268
+ return this.request({
2269
+ path: `/company/contacts/${parentId}/communications/count`,
2270
+ method: 'get',
2271
+ params,
2272
+ })
2273
+ }
2274
+
2275
+ getCompanyContactsByParentIdGroups(
2276
+ parentId: number,
2277
+ params: CommonParameters = {},
2278
+ ): Promise<Array<ContactGroup>> {
2279
+ return this.request({
2280
+ path: `/company/contacts/${parentId}/groups`,
2281
+ method: 'get',
2282
+ params,
2283
+ })
2284
+ }
2285
+
2286
+ postCompanyContactsByParentIdGroups(
2287
+ parentId: number,
2288
+ contactGroup: ContactGroup,
2289
+ ): Promise<ContactGroup> {
2290
+ return this.request({
2291
+ path: `/company/contacts/${parentId}/groups`,
2292
+ method: 'post',
2293
+ data: contactGroup,
2294
+ })
2295
+ }
2296
+
2297
+ getCompanyContactsByParentIdGroupsById(
2298
+ id: number,
2299
+ parentId: number,
2300
+ params: CommonParameters = {},
2301
+ ): Promise<ContactGroup> {
2302
+ return this.request({
2303
+ path: `/company/contacts/${parentId}/groups/${id}`,
2304
+ method: 'get',
2305
+ params,
2306
+ })
2307
+ }
2308
+
2309
+ deleteCompanyContactsByParentIdGroupsById(
2310
+ id: number,
2311
+ parentId: number,
2312
+ ): Promise<NoContentResponse> {
2313
+ return this.request({
2314
+ path: `/company/contacts/${parentId}/groups/${id}`,
2315
+ method: 'delete',
2316
+ })
2317
+ }
2318
+
2319
+ putCompanyContactsByParentIdGroupsById(
2320
+ id: number,
2321
+ parentId: number,
2322
+ contactGroup: ContactGroup,
2323
+ ): Promise<ContactGroup> {
2324
+ return this.request({
2325
+ path: `/company/contacts/${parentId}/groups/${id}`,
2326
+ method: 'put',
2327
+ data: contactGroup,
2328
+ })
2329
+ }
2330
+
2331
+ patchCompanyContactsByParentIdGroupsById(
2332
+ id: number,
2333
+ parentId: number,
2334
+ patchOperations: Array<PatchOperation>,
2335
+ ): Promise<ContactGroup> {
2336
+ return this.request({
2337
+ path: `/company/contacts/${parentId}/groups/${id}`,
2338
+ method: 'patch',
2339
+ data: patchOperations,
2340
+ })
2341
+ }
2342
+
2343
+ getCompanyContactsByParentIdGroupsCount(
2344
+ parentId: number,
2345
+ params: CommonParameters = {},
2346
+ ): Promise<Count> {
2347
+ return this.request({
2348
+ path: `/company/contacts/${parentId}/groups/count`,
2349
+ method: 'get',
2350
+ params,
2351
+ })
2352
+ }
2353
+
2354
+ getCompanyContactsByParentIdNotes(
2355
+ parentId: number,
2356
+ params: CommonParameters = {},
2357
+ ): Promise<Array<ContactNote>> {
2358
+ return this.request({
2359
+ path: `/company/contacts/${parentId}/notes`,
2360
+ method: 'get',
2361
+ params,
2362
+ })
2363
+ }
2364
+
2365
+ postCompanyContactsByParentIdNotes(
2366
+ parentId: number,
2367
+ contactNote: ContactNote,
2368
+ ): Promise<ContactNote> {
2369
+ return this.request({
2370
+ path: `/company/contacts/${parentId}/notes`,
2371
+ method: 'post',
2372
+ data: contactNote,
2373
+ })
2374
+ }
2375
+
2376
+ getCompanyContactsByParentIdNotesById(
2377
+ id: number,
2378
+ parentId: number,
2379
+ params: CommonParameters = {},
2380
+ ): Promise<ContactNote> {
2381
+ return this.request({
2382
+ path: `/company/contacts/${parentId}/notes/${id}`,
2383
+ method: 'get',
2384
+ params,
2385
+ })
2386
+ }
2387
+
2388
+ deleteCompanyContactsByParentIdNotesById(
2389
+ id: number,
2390
+ parentId: number,
2391
+ ): Promise<NoContentResponse> {
2392
+ return this.request({
2393
+ path: `/company/contacts/${parentId}/notes/${id}`,
2394
+ method: 'delete',
2395
+ })
2396
+ }
2397
+
2398
+ putCompanyContactsByParentIdNotesById(
2399
+ id: number,
2400
+ parentId: number,
2401
+ contactNote: ContactNote,
2402
+ ): Promise<ContactNote> {
2403
+ return this.request({
2404
+ path: `/company/contacts/${parentId}/notes/${id}`,
2405
+ method: 'put',
2406
+ data: contactNote,
2407
+ })
2408
+ }
2409
+
2410
+ patchCompanyContactsByParentIdNotesById(
2411
+ id: number,
2412
+ parentId: number,
2413
+ patchOperations: Array<PatchOperation>,
2414
+ ): Promise<ContactNote> {
2415
+ return this.request({
2416
+ path: `/company/contacts/${parentId}/notes/${id}`,
2417
+ method: 'patch',
2418
+ data: patchOperations,
2419
+ })
2420
+ }
2421
+
2422
+ getCompanyContactsByParentIdNotesCount(
2423
+ parentId: number,
2424
+ params: CommonParameters = {},
2425
+ ): Promise<Count> {
2426
+ return this.request({
2427
+ path: `/company/contacts/${parentId}/notes/count`,
2428
+ method: 'get',
2429
+ params,
2430
+ })
2431
+ }
2432
+
2433
+ getCompanyContactsByParentIdTracks(
2434
+ parentId: number,
2435
+ params: CommonParameters = {},
2436
+ ): Promise<Array<ContactTrack>> {
2437
+ return this.request({
2438
+ path: `/company/contacts/${parentId}/tracks`,
2439
+ method: 'get',
2440
+ params,
2441
+ })
2442
+ }
2443
+
2444
+ postCompanyContactsByParentIdTracks(
2445
+ parentId: number,
2446
+ track: ContactTrack,
2447
+ ): Promise<ContactTrack> {
2448
+ return this.request({
2449
+ path: `/company/contacts/${parentId}/tracks`,
2450
+ method: 'post',
2451
+ data: track,
2452
+ })
2453
+ }
2454
+
2455
+ getCompanyContactsByParentIdTracksById(
2456
+ id: number,
2457
+ parentId: number,
2458
+ params: CommonParameters = {},
2459
+ ): Promise<ContactTrack> {
2460
+ return this.request({
2461
+ path: `/company/contacts/${parentId}/tracks/${id}`,
2462
+ method: 'get',
2463
+ params,
2464
+ })
2465
+ }
2466
+
2467
+ deleteCompanyContactsByParentIdTracksById(
2468
+ id: number,
2469
+ parentId: number,
2470
+ ): Promise<NoContentResponse> {
2471
+ return this.request({
2472
+ path: `/company/contacts/${parentId}/tracks/${id}`,
2473
+ method: 'delete',
2474
+ })
2475
+ }
2476
+
2477
+ getCompanyContactsByParentIdTracksCount(
2478
+ parentId: number,
2479
+ params: CommonParameters = {},
2480
+ ): Promise<Count> {
2481
+ return this.request({
2482
+ path: `/company/contacts/${parentId}/tracks/count`,
2483
+ method: 'get',
2484
+ params,
2485
+ })
2486
+ }
2487
+
2488
+ getCompanyContactsByParentIdTypeAssociations(
2489
+ parentId: number,
2490
+ params: CommonParameters = {},
2491
+ ): Promise<Array<ContactContactTypeAssociationContactTypeAssociation>> {
2492
+ return this.request({
2493
+ path: `/company/contacts/${parentId}/typeAssociations`,
2494
+ method: 'get',
2495
+ params,
2496
+ })
2497
+ }
2498
+
2499
+ postCompanyContactsByParentIdTypeAssociations(
2500
+ parentId: number,
2501
+ contactTypeAssociation: ContactContactTypeAssociationContactTypeAssociation,
2502
+ ): Promise<ContactContactTypeAssociationContactTypeAssociation> {
2503
+ return this.request({
2504
+ path: `/company/contacts/${parentId}/typeAssociations`,
2505
+ method: 'post',
2506
+ data: contactTypeAssociation,
2507
+ })
2508
+ }
2509
+
2510
+ getCompanyContactsByParentIdTypeAssociationsById(
2511
+ id: number,
2512
+ parentId: number,
2513
+ params: CommonParameters = {},
2514
+ ): Promise<ContactContactTypeAssociationContactTypeAssociation> {
2515
+ return this.request({
2516
+ path: `/company/contacts/${parentId}/typeAssociations/${id}`,
2517
+ method: 'get',
2518
+ params,
2519
+ })
2520
+ }
2521
+
2522
+ deleteCompanyContactsByParentIdTypeAssociationsById(
2523
+ id: number,
2524
+ parentId: number,
2525
+ ): Promise<NoContentResponse> {
2526
+ return this.request({
2527
+ path: `/company/contacts/${parentId}/typeAssociations/${id}`,
2528
+ method: 'delete',
2529
+ })
2530
+ }
2531
+
2532
+ putCompanyContactsByParentIdTypeAssociationsById(
2533
+ id: number,
2534
+ parentId: number,
2535
+ contactTypeAssociation: ContactContactTypeAssociationContactTypeAssociation,
2536
+ ): Promise<ContactContactTypeAssociationContactTypeAssociation> {
2537
+ return this.request({
2538
+ path: `/company/contacts/${parentId}/typeAssociations/${id}`,
2539
+ method: 'put',
2540
+ data: contactTypeAssociation,
2541
+ })
2542
+ }
2543
+
2544
+ patchCompanyContactsByParentIdTypeAssociationsById(
2545
+ id: number,
2546
+ parentId: number,
2547
+ patchOperations: Array<PatchOperation>,
2548
+ ): Promise<ContactContactTypeAssociationContactTypeAssociation> {
2549
+ return this.request({
2550
+ path: `/company/contacts/${parentId}/typeAssociations/${id}`,
2551
+ method: 'patch',
2552
+ data: patchOperations,
2553
+ })
2554
+ }
2555
+
2556
+ getCompanyContactsByParentIdTypeAssociationsCount(
2557
+ parentId: number,
2558
+ params: CommonParameters = {},
2559
+ ): Promise<Count> {
2560
+ return this.request({
2561
+ path: `/company/contacts/${parentId}/typeAssociations/count`,
2562
+ method: 'get',
2563
+ params,
2564
+ })
2565
+ }
2566
+
2567
+ getCompanyContactsCount(params: CommonParameters = {}): Promise<Count> {
2568
+ return this.request({
2569
+ path: `/company/contacts/count`,
2570
+ method: 'get',
2571
+ params,
2572
+ })
2573
+ }
2574
+
2575
+ getCompanyContactsDefault(companyId: number, params: CommonParameters = {}): Promise<Contact> {
2576
+ return this.request({
2577
+ path: `/company/contacts/default`,
2578
+ method: 'get',
2579
+ params,
2580
+ })
2581
+ }
2582
+
2583
+ getCompanyContactsDepartments(params: CommonParameters = {}): Promise<Array<ContactDepartment>> {
2584
+ return this.request({
2585
+ path: `/company/contacts/departments`,
2586
+ method: 'get',
2587
+ params,
2588
+ })
2589
+ }
2590
+
2591
+ postCompanyContactsDepartments(contactDepartment: ContactDepartment): Promise<ContactDepartment> {
2592
+ return this.request({
2593
+ path: `/company/contacts/departments`,
2594
+ method: 'post',
2595
+ data: contactDepartment,
2596
+ })
2597
+ }
2598
+
2599
+ getCompanyContactsDepartmentsById(
2600
+ id: number,
2601
+ params: CommonParameters = {},
2602
+ ): Promise<ContactDepartment> {
2603
+ return this.request({
2604
+ path: `/company/contacts/departments/${id}`,
2605
+ method: 'get',
2606
+ params,
2607
+ })
2608
+ }
2609
+
2610
+ deleteCompanyContactsDepartmentsById(id: number): Promise<NoContentResponse> {
2611
+ return this.request({
2612
+ path: `/company/contacts/departments/${id}`,
2613
+ method: 'delete',
2614
+ })
2615
+ }
2616
+
2617
+ putCompanyContactsDepartmentsById(
2618
+ id: number,
2619
+ contactDepartment: ContactDepartment,
2620
+ ): Promise<ContactDepartment> {
2621
+ return this.request({
2622
+ path: `/company/contacts/departments/${id}`,
2623
+ method: 'put',
2624
+ data: contactDepartment,
2625
+ })
2626
+ }
2627
+
2628
+ patchCompanyContactsDepartmentsById(
2629
+ id: number,
2630
+ patchOperations: Array<PatchOperation>,
2631
+ ): Promise<ContactDepartment> {
2632
+ return this.request({
2633
+ path: `/company/contacts/departments/${id}`,
2634
+ method: 'patch',
2635
+ data: patchOperations,
2636
+ })
2637
+ }
2638
+
2639
+ getCompanyContactsDepartmentsByIdInfo(
2640
+ id: number,
2641
+ params: CommonParameters = {},
2642
+ ): Promise<ContactDepartmentInfo> {
2643
+ return this.request({
2644
+ path: `/company/contacts/departments/${id}/info`,
2645
+ method: 'get',
2646
+ params,
2647
+ })
2648
+ }
2649
+
2650
+ getCompanyContactsDepartmentsByIdUsages(
2651
+ id: number,
2652
+ params: CommonParameters = {},
2653
+ ): Promise<Array<Usage>> {
2654
+ return this.request({
2655
+ path: `/company/contacts/departments/${id}/usages`,
2656
+ method: 'get',
2657
+ params,
2658
+ })
2659
+ }
2660
+
2661
+ getCompanyContactsDepartmentsByIdUsagesList(
2662
+ id: number,
2663
+ params: CommonParameters = {},
2664
+ ): Promise<Array<Usage>> {
2665
+ return this.request({
2666
+ path: `/company/contacts/departments/${id}/usages/list`,
2667
+ method: 'get',
2668
+ params,
2669
+ })
2670
+ }
2671
+
2672
+ getCompanyContactsDepartmentsCount(params: CommonParameters = {}): Promise<Count> {
2673
+ return this.request({
2674
+ path: `/company/contacts/departments/count`,
2675
+ method: 'get',
2676
+ params,
2677
+ })
2678
+ }
2679
+
2680
+ getCompanyContactsDepartmentsInfo(
2681
+ params: CommonParameters = {},
2682
+ ): Promise<Array<ContactDepartmentInfo>> {
2683
+ return this.request({
2684
+ path: `/company/contacts/departments/info`,
2685
+ method: 'get',
2686
+ params,
2687
+ })
2688
+ }
2689
+
2690
+ getCompanyContactsDepartmentsInfoCount(params: CommonParameters = {}): Promise<Count> {
2691
+ return this.request({
2692
+ path: `/company/contacts/departments/info/count`,
2693
+ method: 'get',
2694
+ params,
2695
+ })
2696
+ }
2697
+
2698
+ getCompanyContactsRelationships(
2699
+ params: CommonParameters = {},
2700
+ ): Promise<Array<ContactRelationship>> {
2701
+ return this.request({
2702
+ path: `/company/contacts/relationships`,
2703
+ method: 'get',
2704
+ params,
2705
+ })
2706
+ }
2707
+
2708
+ postCompanyContactsRelationships(
2709
+ contactRelationship: ContactRelationship,
2710
+ ): Promise<ContactRelationship> {
2711
+ return this.request({
2712
+ path: `/company/contacts/relationships`,
2713
+ method: 'post',
2714
+ data: contactRelationship,
2715
+ })
2716
+ }
2717
+
2718
+ getCompanyContactsRelationshipsById(
2719
+ id: number,
2720
+ params: CommonParameters = {},
2721
+ ): Promise<ContactRelationship> {
2722
+ return this.request({
2723
+ path: `/company/contacts/relationships/${id}`,
2724
+ method: 'get',
2725
+ params,
2726
+ })
2727
+ }
2728
+
2729
+ deleteCompanyContactsRelationshipsById(id: number): Promise<NoContentResponse> {
2730
+ return this.request({
2731
+ path: `/company/contacts/relationships/${id}`,
2732
+ method: 'delete',
2733
+ })
2734
+ }
2735
+
2736
+ putCompanyContactsRelationshipsById(
2737
+ id: number,
2738
+ contactRelationship: ContactRelationship,
2739
+ ): Promise<ContactRelationship> {
2740
+ return this.request({
2741
+ path: `/company/contacts/relationships/${id}`,
2742
+ method: 'put',
2743
+ data: contactRelationship,
2744
+ })
2745
+ }
2746
+
2747
+ patchCompanyContactsRelationshipsById(
2748
+ id: number,
2749
+ patchOperations: Array<PatchOperation>,
2750
+ ): Promise<ContactRelationship> {
2751
+ return this.request({
2752
+ path: `/company/contacts/relationships/${id}`,
2753
+ method: 'patch',
2754
+ data: patchOperations,
2755
+ })
2756
+ }
2757
+
2758
+ getCompanyContactsRelationshipsCount(params: CommonParameters = {}): Promise<Count> {
2759
+ return this.request({
2760
+ path: `/company/contacts/relationships/count`,
2761
+ method: 'get',
2762
+ params,
2763
+ })
2764
+ }
2765
+
2766
+ postCompanyContactsRequestPassword(request: RequestPasswordRequest): Promise<NoContentResponse> {
2767
+ return this.request({
2768
+ path: `/company/contacts/requestPassword`,
2769
+ method: 'post',
2770
+ data: request,
2771
+ })
2772
+ }
2773
+
2774
+ getCompanyContactsTypes(params: CommonParameters = {}): Promise<Array<ContactType>> {
2775
+ return this.request({
2776
+ path: `/company/contacts/types`,
2777
+ method: 'get',
2778
+ params,
2779
+ })
2780
+ }
2781
+
2782
+ postCompanyContactsTypes(contactType: ContactType): Promise<ContactType> {
2783
+ return this.request({
2784
+ path: `/company/contacts/types`,
2785
+ method: 'post',
2786
+ data: contactType,
2787
+ })
2788
+ }
2789
+
2790
+ getCompanyContactsTypesById(id: number, params: CommonParameters = {}): Promise<ContactType> {
2791
+ return this.request({
2792
+ path: `/company/contacts/types/${id}`,
2793
+ method: 'get',
2794
+ params,
2795
+ })
2796
+ }
2797
+
2798
+ deleteCompanyContactsTypesById(id: number): Promise<NoContentResponse> {
2799
+ return this.request({
2800
+ path: `/company/contacts/types/${id}`,
2801
+ method: 'delete',
2802
+ })
2803
+ }
2804
+
2805
+ putCompanyContactsTypesById(id: number, contactType: ContactType): Promise<ContactType> {
2806
+ return this.request({
2807
+ path: `/company/contacts/types/${id}`,
2808
+ method: 'put',
2809
+ data: contactType,
2810
+ })
2811
+ }
2812
+
2813
+ patchCompanyContactsTypesById(
2814
+ id: number,
2815
+ patchOperations: Array<PatchOperation>,
2816
+ ): Promise<ContactType> {
2817
+ return this.request({
2818
+ path: `/company/contacts/types/${id}`,
2819
+ method: 'patch',
2820
+ data: patchOperations,
2821
+ })
2822
+ }
2823
+
2824
+ getCompanyContactsTypesByIdInfo(
2825
+ id: number,
2826
+ params: CommonParameters = {},
2827
+ ): Promise<ContactTypeInfo> {
2828
+ return this.request({
2829
+ path: `/company/contacts/types/${id}/info`,
2830
+ method: 'get',
2831
+ params,
2832
+ })
2833
+ }
2834
+
2835
+ getCompanyContactsTypesCount(params: CommonParameters = {}): Promise<Count> {
2836
+ return this.request({
2837
+ path: `/company/contacts/types/count`,
2838
+ method: 'get',
2839
+ params,
2840
+ })
2841
+ }
2842
+
2843
+ getCompanyContactsTypesCountInfo(params: CommonParameters = {}): Promise<Count> {
2844
+ return this.request({
2845
+ path: `/company/contacts/types/count/info`,
2846
+ method: 'get',
2847
+ params,
2848
+ })
2849
+ }
2850
+
2851
+ getCompanyContactsTypesInfo(params: CommonParameters = {}): Promise<Array<ContactTypeInfo>> {
2852
+ return this.request({
2853
+ path: `/company/contacts/types/info`,
2854
+ method: 'get',
2855
+ params,
2856
+ })
2857
+ }
2858
+
2859
+ postCompanyContactsValidatePortalCredentials(
2860
+ request: ValidatePortalRequest,
2861
+ ): Promise<ValidatePortalResponse> {
2862
+ return this.request({
2863
+ path: `/company/contacts/validatePortalCredentials`,
2864
+ method: 'post',
2865
+ data: request,
2866
+ })
2867
+ }
2868
+
2869
+ getCompanyContactTypeAssociations(
2870
+ params: CommonParameters = {},
2871
+ ): Promise<Array<CompanyContactTypeAssociation>> {
2872
+ return this.request({
2873
+ path: `/company/contactTypeAssociations`,
2874
+ method: 'get',
2875
+ params,
2876
+ })
2877
+ }
2878
+
2879
+ postCompanyContactTypeAssociations(
2880
+ contactTypeAssociation: CompanyContactTypeAssociation,
2881
+ ): Promise<CompanyContactTypeAssociation> {
2882
+ return this.request({
2883
+ path: `/company/contactTypeAssociations`,
2884
+ method: 'post',
2885
+ data: contactTypeAssociation,
2886
+ })
2887
+ }
2888
+
2889
+ getCompanyContactTypeAssociationsById(
2890
+ id: number,
2891
+ params: CommonParameters = {},
2892
+ ): Promise<CompanyContactTypeAssociation> {
2893
+ return this.request({
2894
+ path: `/company/contactTypeAssociations/${id}`,
2895
+ method: 'get',
2896
+ params,
2897
+ })
2898
+ }
2899
+
2900
+ deleteCompanyContactTypeAssociationsById(id: number): Promise<NoContentResponse> {
2901
+ return this.request({
2902
+ path: `/company/contactTypeAssociations/${id}`,
2903
+ method: 'delete',
2904
+ })
2905
+ }
2906
+
2907
+ putCompanyContactTypeAssociationsById(
2908
+ id: number,
2909
+ contactTypeAssociation: CompanyContactTypeAssociation,
2910
+ ): Promise<CompanyContactTypeAssociation> {
2911
+ return this.request({
2912
+ path: `/company/contactTypeAssociations/${id}`,
2913
+ method: 'put',
2914
+ data: contactTypeAssociation,
2915
+ })
2916
+ }
2917
+
2918
+ patchCompanyContactTypeAssociationsById(
2919
+ id: number,
2920
+ patchOperations: Array<PatchOperation>,
2921
+ ): Promise<CompanyContactTypeAssociation> {
2922
+ return this.request({
2923
+ path: `/company/contactTypeAssociations/${id}`,
2924
+ method: 'patch',
2925
+ data: patchOperations,
2926
+ })
2927
+ }
2928
+
2929
+ getCompanyContactTypeAssociationsCount(params: CommonParameters = {}): Promise<Count> {
2930
+ return this.request({
2931
+ path: `/company/contactTypeAssociations/count`,
2932
+ method: 'get',
2933
+ params,
2934
+ })
2935
+ }
2936
+
2937
+ getCompanyCountries(params: CommonParameters = {}): Promise<Array<Country>> {
2938
+ return this.request({
2939
+ path: `/company/countries`,
2940
+ method: 'get',
2941
+ params,
2942
+ })
2943
+ }
2944
+
2945
+ postCompanyCountries(country: Country): Promise<Country> {
2946
+ return this.request({
2947
+ path: `/company/countries`,
2948
+ method: 'post',
2949
+ data: country,
2950
+ })
2951
+ }
2952
+
2953
+ getCompanyCountriesById(id: number, params: CommonParameters = {}): Promise<Country> {
2954
+ return this.request({
2955
+ path: `/company/countries/${id}`,
2956
+ method: 'get',
2957
+ params,
2958
+ })
2959
+ }
2960
+
2961
+ deleteCompanyCountriesById(id: number): Promise<NoContentResponse> {
2962
+ return this.request({
2963
+ path: `/company/countries/${id}`,
2964
+ method: 'delete',
2965
+ })
2966
+ }
2967
+
2968
+ putCompanyCountriesById(id: number, country: Country): Promise<Country> {
2969
+ return this.request({
2970
+ path: `/company/countries/${id}`,
2971
+ method: 'put',
2972
+ data: country,
2973
+ })
2974
+ }
2975
+
2976
+ patchCompanyCountriesById(id: number, patchOperations: Array<PatchOperation>): Promise<Country> {
2977
+ return this.request({
2978
+ path: `/company/countries/${id}`,
2979
+ method: 'patch',
2980
+ data: patchOperations,
2981
+ })
2982
+ }
2983
+
2984
+ getCompanyCountriesByIdInfo(id: number, params: CommonParameters = {}): Promise<CountryInfo> {
2985
+ return this.request({
2986
+ path: `/company/countries/${id}/info`,
2987
+ method: 'get',
2988
+ params,
2989
+ })
2990
+ }
2991
+
2992
+ getCompanyCountriesCount(params: CommonParameters = {}): Promise<Count> {
2993
+ return this.request({
2994
+ path: `/company/countries/count`,
2995
+ method: 'get',
2996
+ params,
2997
+ })
2998
+ }
2999
+
3000
+ getCompanyCountriesInfo(params: CommonParameters = {}): Promise<Array<CountryInfo>> {
3001
+ return this.request({
3002
+ path: `/company/countries/info`,
3003
+ method: 'get',
3004
+ params,
3005
+ })
3006
+ }
3007
+
3008
+ getCompanyCountriesInfoCount(params: CommonParameters = {}): Promise<Count> {
3009
+ return this.request({
3010
+ path: `/company/countries/info/count`,
3011
+ method: 'get',
3012
+ params,
3013
+ })
3014
+ }
3015
+
3016
+ getCompanyEntityTypes(params: CommonParameters = {}): Promise<Array<EntityType>> {
3017
+ return this.request({
3018
+ path: `/company/entityTypes`,
3019
+ method: 'get',
3020
+ params,
3021
+ })
3022
+ }
3023
+
3024
+ getCompanyEntityTypesById(id: number, params: CommonParameters = {}): Promise<EntityType> {
3025
+ return this.request({
3026
+ path: `/company/entityTypes/${id}`,
3027
+ method: 'get',
3028
+ params,
3029
+ })
3030
+ }
3031
+
3032
+ getCompanyEntitytypesByIdInfo(
3033
+ id: number,
3034
+ params: CommonParameters = {},
3035
+ ): Promise<EntityTypeInfo> {
3036
+ return this.request({
3037
+ path: `/company/entitytypes/${id}/info`,
3038
+ method: 'get',
3039
+ params,
3040
+ })
3041
+ }
3042
+
3043
+ getCompanyEntityTypesCount(params: CommonParameters = {}): Promise<Count> {
3044
+ return this.request({
3045
+ path: `/company/entityTypes/count`,
3046
+ method: 'get',
3047
+ params,
3048
+ })
3049
+ }
3050
+
3051
+ getCompanyEntitytypesInfo(params: CommonParameters = {}): Promise<Array<EntityTypeInfo>> {
3052
+ return this.request({
3053
+ path: `/company/entitytypes/info`,
3054
+ method: 'get',
3055
+ params,
3056
+ })
3057
+ }
3058
+
3059
+ getCompanyEntityTypesInfoCount(params: CommonParameters = {}): Promise<Count> {
3060
+ return this.request({
3061
+ path: `/company/entityTypes/info/count`,
3062
+ method: 'get',
3063
+ params,
3064
+ })
3065
+ }
3066
+
3067
+ getCompanyExpenseTypesInfoCount(params: CommonParameters = {}): Promise<Count> {
3068
+ return this.request({
3069
+ path: `/company/expenseTypes/info/count`,
3070
+ method: 'get',
3071
+ params,
3072
+ })
3073
+ }
3074
+
3075
+ getCompanyManagedDevicesIntegrations(
3076
+ params: CommonParameters = {},
3077
+ ): Promise<Array<ManagedDevicesIntegration>> {
3078
+ return this.request({
3079
+ path: `/company/managedDevicesIntegrations`,
3080
+ method: 'get',
3081
+ params,
3082
+ })
3083
+ }
3084
+
3085
+ postCompanyManagedDevicesIntegrations(
3086
+ managedDevicesIntegration: ManagedDevicesIntegration,
3087
+ ): Promise<ManagedDevicesIntegration> {
3088
+ return this.request({
3089
+ path: `/company/managedDevicesIntegrations`,
3090
+ method: 'post',
3091
+ data: managedDevicesIntegration,
3092
+ })
3093
+ }
3094
+
3095
+ getCompanyManagedDevicesIntegrationsById(
3096
+ id: number,
3097
+ params: CommonParameters = {},
3098
+ ): Promise<ManagedDevicesIntegration> {
3099
+ return this.request({
3100
+ path: `/company/managedDevicesIntegrations/${id}`,
3101
+ method: 'get',
3102
+ params,
3103
+ })
3104
+ }
3105
+
3106
+ deleteCompanyManagedDevicesIntegrationsById(id: number): Promise<NoContentResponse> {
3107
+ return this.request({
3108
+ path: `/company/managedDevicesIntegrations/${id}`,
3109
+ method: 'delete',
3110
+ })
3111
+ }
3112
+
3113
+ putCompanyManagedDevicesIntegrationsById(
3114
+ id: number,
3115
+ managedDevicesIntegration: ManagedDevicesIntegration,
3116
+ ): Promise<ManagedDevicesIntegration> {
3117
+ return this.request({
3118
+ path: `/company/managedDevicesIntegrations/${id}`,
3119
+ method: 'put',
3120
+ data: managedDevicesIntegration,
3121
+ })
3122
+ }
3123
+
3124
+ patchCompanyManagedDevicesIntegrationsById(
3125
+ id: number,
3126
+ patchOperations: Array<PatchOperation>,
3127
+ ): Promise<ManagedDevicesIntegration> {
3128
+ return this.request({
3129
+ path: `/company/managedDevicesIntegrations/${id}`,
3130
+ method: 'patch',
3131
+ data: patchOperations,
3132
+ })
3133
+ }
3134
+
3135
+ getCompanyManagedDevicesIntegrationsByIdInfo(
3136
+ id: number,
3137
+ params: CommonParameters = {},
3138
+ ): Promise<ManagedDevicesIntegrationInfo> {
3139
+ return this.request({
3140
+ path: `/company/managedDevicesIntegrations/${id}/info`,
3141
+ method: 'get',
3142
+ params,
3143
+ })
3144
+ }
3145
+
3146
+ getCompanyManagedDevicesIntegrationsByIdUsages(
3147
+ id: number,
3148
+ params: CommonParameters = {},
3149
+ ): Promise<Array<Usage>> {
3150
+ return this.request({
3151
+ path: `/company/managedDevicesIntegrations/${id}/usages`,
3152
+ method: 'get',
3153
+ params,
3154
+ })
3155
+ }
3156
+
3157
+ getCompanyManagedDevicesIntegrationsByIdUsagesList(
3158
+ id: number,
3159
+ params: CommonParameters = {},
3160
+ ): Promise<Array<Usage>> {
3161
+ return this.request({
3162
+ path: `/company/managedDevicesIntegrations/${id}/usages/list`,
3163
+ method: 'get',
3164
+ params,
3165
+ })
3166
+ }
3167
+
3168
+ getCompanyManagedDevicesIntegrationsByParentIdCrossReferences(
3169
+ parentId: number,
3170
+ params: CommonParameters = {},
3171
+ ): Promise<Array<ManagedDevicesIntegrationCrossReference>> {
3172
+ return this.request({
3173
+ path: `/company/managedDevicesIntegrations/${parentId}/crossReferences`,
3174
+ method: 'get',
3175
+ params,
3176
+ })
3177
+ }
3178
+
3179
+ postCompanyManagedDevicesIntegrationsByParentIdCrossReferences(
3180
+ parentId: number,
3181
+ crossReference: ManagedDevicesIntegrationCrossReference,
3182
+ ): Promise<ManagedDevicesIntegrationCrossReference> {
3183
+ return this.request({
3184
+ path: `/company/managedDevicesIntegrations/${parentId}/crossReferences`,
3185
+ method: 'post',
3186
+ data: crossReference,
3187
+ })
3188
+ }
3189
+
3190
+ getCompanyManagedDevicesIntegrationsByParentIdCrossReferencesById(
3191
+ id: number,
3192
+ parentId: number,
3193
+ params: CommonParameters = {},
3194
+ ): Promise<ManagedDevicesIntegrationCrossReference> {
3195
+ return this.request({
3196
+ path: `/company/managedDevicesIntegrations/${parentId}/crossReferences/${id}`,
3197
+ method: 'get',
3198
+ params,
3199
+ })
3200
+ }
3201
+
3202
+ putCompanyManagedDevicesIntegrationsByParentIdCrossReferencesById(
3203
+ id: number,
3204
+ parentId: number,
3205
+ crossReference: ManagedDevicesIntegrationCrossReference,
3206
+ ): Promise<ManagedDevicesIntegrationCrossReference> {
3207
+ return this.request({
3208
+ path: `/company/managedDevicesIntegrations/${parentId}/crossReferences/${id}`,
3209
+ method: 'put',
3210
+ data: crossReference,
3211
+ })
3212
+ }
3213
+
3214
+ patchCompanyManagedDevicesIntegrationsByParentIdCrossReferencesById(
3215
+ id: number,
3216
+ parentId: number,
3217
+ patchOperations: Array<PatchOperation>,
3218
+ ): Promise<ManagedDevicesIntegrationCrossReference> {
3219
+ return this.request({
3220
+ path: `/company/managedDevicesIntegrations/${parentId}/crossReferences/${id}`,
3221
+ method: 'patch',
3222
+ data: patchOperations,
3223
+ })
3224
+ }
3225
+
3226
+ deleteCompanyManagedDevicesIntegrationsByParentIdCrossReferencesById(
3227
+ id: number,
3228
+ parentId: number,
3229
+ ): Promise<ManagedDevicesIntegrationCrossReference> {
3230
+ return this.request({
3231
+ path: `/company/managedDevicesIntegrations/${parentId}/crossReferences/${id}`,
3232
+ method: 'delete',
3233
+ })
3234
+ }
3235
+
3236
+ getCompanyManagedDevicesIntegrationsByParentIdCrossReferencesCount(
3237
+ parentId: number,
3238
+ params: CommonParameters = {},
3239
+ ): Promise<Count> {
3240
+ return this.request({
3241
+ path: `/company/managedDevicesIntegrations/${parentId}/crossReferences/count`,
3242
+ method: 'get',
3243
+ params,
3244
+ })
3245
+ }
3246
+
3247
+ getCompanyManagedDevicesIntegrationsByParentIdLogins(
3248
+ parentId: number,
3249
+ params: CommonParameters = {},
3250
+ ): Promise<Array<ManagedDevicesIntegrationLogin>> {
3251
+ return this.request({
3252
+ path: `/company/managedDevicesIntegrations/${parentId}/logins`,
3253
+ method: 'get',
3254
+ params,
3255
+ })
3256
+ }
3257
+
3258
+ postCompanyManagedDevicesIntegrationsByParentIdLogins(
3259
+ parentId: number,
3260
+ login: ManagedDevicesIntegrationLogin,
3261
+ ): Promise<ManagedDevicesIntegrationLogin> {
3262
+ return this.request({
3263
+ path: `/company/managedDevicesIntegrations/${parentId}/logins`,
3264
+ method: 'post',
3265
+ data: login,
3266
+ })
3267
+ }
3268
+
3269
+ getCompanyManagedDevicesIntegrationsByParentIdLoginsById(
3270
+ id: number,
3271
+ parentId: number,
3272
+ params: CommonParameters = {},
3273
+ ): Promise<ManagedDevicesIntegrationLogin> {
3274
+ return this.request({
3275
+ path: `/company/managedDevicesIntegrations/${parentId}/logins/${id}`,
3276
+ method: 'get',
3277
+ params,
3278
+ })
3279
+ }
3280
+
3281
+ putCompanyManagedDevicesIntegrationsByParentIdLoginsById(
3282
+ id: number,
3283
+ parentId: number,
3284
+ login: ManagedDevicesIntegrationLogin,
3285
+ ): Promise<ManagedDevicesIntegrationLogin> {
3286
+ return this.request({
3287
+ path: `/company/managedDevicesIntegrations/${parentId}/logins/${id}`,
3288
+ method: 'put',
3289
+ data: login,
3290
+ })
3291
+ }
3292
+
3293
+ patchCompanyManagedDevicesIntegrationsByParentIdLoginsById(
3294
+ id: number,
3295
+ parentId: number,
3296
+ patchOperations: Array<PatchOperation>,
3297
+ ): Promise<ManagedDevicesIntegrationLogin> {
3298
+ return this.request({
3299
+ path: `/company/managedDevicesIntegrations/${parentId}/logins/${id}`,
3300
+ method: 'patch',
3301
+ data: patchOperations,
3302
+ })
3303
+ }
3304
+
3305
+ deleteCompanyManagedDevicesIntegrationsByParentIdLoginsById(
3306
+ id: number,
3307
+ parentId: number,
3308
+ ): Promise<ManagedDevicesIntegrationLogin> {
3309
+ return this.request({
3310
+ path: `/company/managedDevicesIntegrations/${parentId}/logins/${id}`,
3311
+ method: 'delete',
3312
+ })
3313
+ }
3314
+
3315
+ getCompanyManagedDevicesIntegrationsByParentIdLoginsCount(
3316
+ parentId: number,
3317
+ params: CommonParameters = {},
3318
+ ): Promise<Count> {
3319
+ return this.request({
3320
+ path: `/company/managedDevicesIntegrations/${parentId}/logins/count`,
3321
+ method: 'get',
3322
+ params,
3323
+ })
3324
+ }
3325
+
3326
+ getCompanyManagedDevicesIntegrationsByParentIdNotifications(
3327
+ parentId: number,
3328
+ params: CommonParameters = {},
3329
+ ): Promise<Array<ManagedDevicesIntegrationNotification>> {
3330
+ return this.request({
3331
+ path: `/company/managedDevicesIntegrations/${parentId}/notifications`,
3332
+ method: 'get',
3333
+ params,
3334
+ })
3335
+ }
3336
+
3337
+ postCompanyManagedDevicesIntegrationsByParentIdNotifications(
3338
+ parentId: number,
3339
+ notification: ManagedDevicesIntegrationNotification,
3340
+ ): Promise<ManagedDevicesIntegrationNotification> {
3341
+ return this.request({
3342
+ path: `/company/managedDevicesIntegrations/${parentId}/notifications`,
3343
+ method: 'post',
3344
+ data: notification,
3345
+ })
3346
+ }
3347
+
3348
+ getCompanyManagedDevicesIntegrationsByParentIdNotificationsById(
3349
+ id: number,
3350
+ parentId: number,
3351
+ params: CommonParameters = {},
3352
+ ): Promise<ManagedDevicesIntegrationNotification> {
3353
+ return this.request({
3354
+ path: `/company/managedDevicesIntegrations/${parentId}/notifications/${id}`,
3355
+ method: 'get',
3356
+ params,
3357
+ })
3358
+ }
3359
+
3360
+ putCompanyManagedDevicesIntegrationsByParentIdNotificationsById(
3361
+ id: number,
3362
+ parentId: number,
3363
+ notification: ManagedDevicesIntegrationNotification,
3364
+ ): Promise<ManagedDevicesIntegrationNotification> {
3365
+ return this.request({
3366
+ path: `/company/managedDevicesIntegrations/${parentId}/notifications/${id}`,
3367
+ method: 'put',
3368
+ data: notification,
3369
+ })
3370
+ }
3371
+
3372
+ patchCompanyManagedDevicesIntegrationsByParentIdNotificationsById(
3373
+ id: number,
3374
+ parentId: number,
3375
+ patchOperations: Array<PatchOperation>,
3376
+ ): Promise<ManagedDevicesIntegrationNotification> {
3377
+ return this.request({
3378
+ path: `/company/managedDevicesIntegrations/${parentId}/notifications/${id}`,
3379
+ method: 'patch',
3380
+ data: patchOperations,
3381
+ })
3382
+ }
3383
+
3384
+ deleteCompanyManagedDevicesIntegrationsByParentIdNotificationsById(
3385
+ id: number,
3386
+ parentId: number,
3387
+ ): Promise<ManagedDevicesIntegrationNotification> {
3388
+ return this.request({
3389
+ path: `/company/managedDevicesIntegrations/${parentId}/notifications/${id}`,
3390
+ method: 'delete',
3391
+ })
3392
+ }
3393
+
3394
+ getCompanyManagedDevicesIntegrationsByParentIdNotificationsCount(
3395
+ parentId: number,
3396
+ params: CommonParameters = {},
3397
+ ): Promise<Count> {
3398
+ return this.request({
3399
+ path: `/company/managedDevicesIntegrations/${parentId}/notifications/count`,
3400
+ method: 'get',
3401
+ params,
3402
+ })
3403
+ }
3404
+
3405
+ getCompanyManagedDevicesIntegrationsCount(params: CommonParameters = {}): Promise<Count> {
3406
+ return this.request({
3407
+ path: `/company/managedDevicesIntegrations/count`,
3408
+ method: 'get',
3409
+ params,
3410
+ })
3411
+ }
3412
+
3413
+ getCompanyManagedDevicesIntegrationsInfo(
3414
+ params: CommonParameters = {},
3415
+ ): Promise<Array<ManagedDevicesIntegrationInfo>> {
3416
+ return this.request({
3417
+ path: `/company/managedDevicesIntegrations/info`,
3418
+ method: 'get',
3419
+ params,
3420
+ })
3421
+ }
3422
+
3423
+ getCompanyManagedDevicesIntegrationsInfoCount(params: CommonParameters = {}): Promise<Count> {
3424
+ return this.request({
3425
+ path: `/company/managedDevicesIntegrations/info/count`,
3426
+ method: 'get',
3427
+ params,
3428
+ })
3429
+ }
3430
+
3431
+ getCompanyManagement(params: CommonParameters = {}): Promise<Array<Management>> {
3432
+ return this.request({
3433
+ path: `/company/management`,
3434
+ method: 'get',
3435
+ params,
3436
+ })
3437
+ }
3438
+
3439
+ getCompanyManagementById(id: number, params: CommonParameters = {}): Promise<Management> {
3440
+ return this.request({
3441
+ path: `/company/management/${id}`,
3442
+ method: 'get',
3443
+ params,
3444
+ })
3445
+ }
3446
+
3447
+ putCompanyManagementById(id: number, management: Management): Promise<Management> {
3448
+ return this.request({
3449
+ path: `/company/management/${id}`,
3450
+ method: 'put',
3451
+ data: management,
3452
+ })
3453
+ }
3454
+
3455
+ patchCompanyManagementById(
3456
+ id: number,
3457
+ patchOperations: Array<PatchOperation>,
3458
+ ): Promise<Management> {
3459
+ return this.request({
3460
+ path: `/company/management/${id}`,
3461
+ method: 'patch',
3462
+ data: patchOperations,
3463
+ })
3464
+ }
3465
+
3466
+ postCompanyManagementByIdExecuteManagedItSync(id: number): Promise<SuccessResponse> {
3467
+ return this.request({
3468
+ path: `/company/management/${id}/executeManagedItSync`,
3469
+ method: 'post',
3470
+ })
3471
+ }
3472
+
3473
+ getCompanyManagementByIdLogDownload(
3474
+ id: number,
3475
+ filePath: string,
3476
+ params: CommonParameters = {},
3477
+ ): Promise<OctetStreamResponse> {
3478
+ return this.request({
3479
+ path: `/company/management/${id}/log/download`,
3480
+ method: 'get',
3481
+ params,
3482
+ })
3483
+ }
3484
+
3485
+ getCompanyManagementByIdLogs(
3486
+ id: number,
3487
+ params: CommonParameters = {},
3488
+ ): Promise<Array<ManagementLogDocumentInfo>> {
3489
+ return this.request({
3490
+ path: `/company/management/${id}/logs`,
3491
+ method: 'get',
3492
+ params,
3493
+ })
3494
+ }
3495
+
3496
+ getCompanyManagementByParentIdManagementReportNotifications(
3497
+ parentId: number,
3498
+ params: CommonParameters = {},
3499
+ ): Promise<Array<ManagementReportNotification>> {
3500
+ return this.request({
3501
+ path: `/company/management/${parentId}/managementReportNotifications`,
3502
+ method: 'get',
3503
+ params,
3504
+ })
3505
+ }
3506
+
3507
+ postCompanyManagementByParentIdManagementReportNotifications(
3508
+ parentId: number,
3509
+ managementReportNotification: ManagementReportNotification,
3510
+ ): Promise<ManagementReportNotification> {
3511
+ return this.request({
3512
+ path: `/company/management/${parentId}/managementReportNotifications`,
3513
+ method: 'post',
3514
+ data: managementReportNotification,
3515
+ })
3516
+ }
3517
+
3518
+ getCompanyManagementByParentIdManagementReportNotificationsById(
3519
+ id: number,
3520
+ parentId: number,
3521
+ params: CommonParameters = {},
3522
+ ): Promise<ManagementReportNotification> {
3523
+ return this.request({
3524
+ path: `/company/management/${parentId}/managementReportNotifications/${id}`,
3525
+ method: 'get',
3526
+ params,
3527
+ })
3528
+ }
3529
+
3530
+ deleteCompanyManagementByParentIdManagementReportNotificationsById(
3531
+ id: number,
3532
+ parentId: number,
3533
+ ): Promise<NoContentResponse> {
3534
+ return this.request({
3535
+ path: `/company/management/${parentId}/managementReportNotifications/${id}`,
3536
+ method: 'delete',
3537
+ })
3538
+ }
3539
+
3540
+ putCompanyManagementByParentIdManagementReportNotificationsById(
3541
+ id: number,
3542
+ parentId: number,
3543
+ managementReportNotification: ManagementReportNotification,
3544
+ ): Promise<ManagementReportNotification> {
3545
+ return this.request({
3546
+ path: `/company/management/${parentId}/managementReportNotifications/${id}`,
3547
+ method: 'put',
3548
+ data: managementReportNotification,
3549
+ })
3550
+ }
3551
+
3552
+ patchCompanyManagementByParentIdManagementReportNotificationsById(
3553
+ id: number,
3554
+ parentId: number,
3555
+ patchOperations: Array<PatchOperation>,
3556
+ ): Promise<ManagementReportNotification> {
3557
+ return this.request({
3558
+ path: `/company/management/${parentId}/managementReportNotifications/${id}`,
3559
+ method: 'patch',
3560
+ data: patchOperations,
3561
+ })
3562
+ }
3563
+
3564
+ getCompanyManagementByParentIdManagementReportNotificationsCount(
3565
+ parentId: number,
3566
+ params: CommonParameters = {},
3567
+ ): Promise<Count> {
3568
+ return this.request({
3569
+ path: `/company/management/${parentId}/managementReportNotifications/count`,
3570
+ method: 'get',
3571
+ params,
3572
+ })
3573
+ }
3574
+
3575
+ getCompanyManagementCount(params: CommonParameters = {}): Promise<Count> {
3576
+ return this.request({
3577
+ path: `/company/management/count`,
3578
+ method: 'get',
3579
+ params,
3580
+ })
3581
+ }
3582
+
3583
+ getCompanyManagementBackups(params: CommonParameters = {}): Promise<Array<ManagementBackup>> {
3584
+ return this.request({
3585
+ path: `/company/managementBackups`,
3586
+ method: 'get',
3587
+ params,
3588
+ })
3589
+ }
3590
+
3591
+ postCompanyManagementBackups(managementBackup: ManagementBackup): Promise<ManagementBackup> {
3592
+ return this.request({
3593
+ path: `/company/managementBackups`,
3594
+ method: 'post',
3595
+ data: managementBackup,
3596
+ })
3597
+ }
3598
+
3599
+ getCompanyManagementBackupsById(
3600
+ id: number,
3601
+ params: CommonParameters = {},
3602
+ ): Promise<ManagementBackup> {
3603
+ return this.request({
3604
+ path: `/company/managementBackups/${id}`,
3605
+ method: 'get',
3606
+ params,
3607
+ })
3608
+ }
3609
+
3610
+ deleteCompanyManagementBackupsById(id: number): Promise<NoContentResponse> {
3611
+ return this.request({
3612
+ path: `/company/managementBackups/${id}`,
3613
+ method: 'delete',
3614
+ })
3615
+ }
3616
+
3617
+ putCompanyManagementBackupsById(
3618
+ id: number,
3619
+ managementBackup: ManagementBackup,
3620
+ ): Promise<ManagementBackup> {
3621
+ return this.request({
3622
+ path: `/company/managementBackups/${id}`,
3623
+ method: 'put',
3624
+ data: managementBackup,
3625
+ })
3626
+ }
3627
+
3628
+ patchCompanyManagementBackupsById(
3629
+ id: number,
3630
+ patchOperations: Array<PatchOperation>,
3631
+ ): Promise<ManagementBackup> {
3632
+ return this.request({
3633
+ path: `/company/managementBackups/${id}`,
3634
+ method: 'patch',
3635
+ data: patchOperations,
3636
+ })
3637
+ }
3638
+
3639
+ getCompanyManagementBackupsCount(params: CommonParameters = {}): Promise<Count> {
3640
+ return this.request({
3641
+ path: `/company/managementBackups/count`,
3642
+ method: 'get',
3643
+ params,
3644
+ })
3645
+ }
3646
+
3647
+ getCompanyManagementItSolutions(
3648
+ params: CommonParameters = {},
3649
+ ): Promise<Array<ManagementItSolution>> {
3650
+ return this.request({
3651
+ path: `/company/managementItSolutions`,
3652
+ method: 'get',
3653
+ params,
3654
+ })
3655
+ }
3656
+
3657
+ postCompanyManagementItSolutions(
3658
+ managementItSolution: ManagementItSolution,
3659
+ ): Promise<ManagementItSolution> {
3660
+ return this.request({
3661
+ path: `/company/managementItSolutions`,
3662
+ method: 'post',
3663
+ data: managementItSolution,
3664
+ })
3665
+ }
3666
+
3667
+ getCompanyManagementItSolutionsById(
3668
+ id: number,
3669
+ params: CommonParameters = {},
3670
+ ): Promise<ManagementItSolution> {
3671
+ return this.request({
3672
+ path: `/company/managementItSolutions/${id}`,
3673
+ method: 'get',
3674
+ params,
3675
+ })
3676
+ }
3677
+
3678
+ deleteCompanyManagementItSolutionsById(id: number): Promise<NoContentResponse> {
3679
+ return this.request({
3680
+ path: `/company/managementItSolutions/${id}`,
3681
+ method: 'delete',
3682
+ })
3683
+ }
3684
+
3685
+ putCompanyManagementItSolutionsById(
3686
+ id: number,
3687
+ managementItSolution: ManagementItSolution,
3688
+ ): Promise<ManagementItSolution> {
3689
+ return this.request({
3690
+ path: `/company/managementItSolutions/${id}`,
3691
+ method: 'put',
3692
+ data: managementItSolution,
3693
+ })
3694
+ }
3695
+
3696
+ patchCompanyManagementItSolutionsById(
3697
+ id: number,
3698
+ patchOperations: Array<PatchOperation>,
3699
+ ): Promise<ManagementItSolution> {
3700
+ return this.request({
3701
+ path: `/company/managementItSolutions/${id}`,
3702
+ method: 'patch',
3703
+ data: patchOperations,
3704
+ })
3705
+ }
3706
+
3707
+ getCompanyManagementItSolutionsByIdUsages(
3708
+ id: number,
3709
+ params: CommonParameters = {},
3710
+ ): Promise<Array<Usage>> {
3711
+ return this.request({
3712
+ path: `/company/managementItSolutions/${id}/usages`,
3713
+ method: 'get',
3714
+ params,
3715
+ })
3716
+ }
3717
+
3718
+ getCompanyManagementItSolutionsByIdUsagesList(
3719
+ id: number,
3720
+ params: CommonParameters = {},
3721
+ ): Promise<Array<Usage>> {
3722
+ return this.request({
3723
+ path: `/company/managementItSolutions/${id}/usages/list`,
3724
+ method: 'get',
3725
+ params,
3726
+ })
3727
+ }
3728
+
3729
+ getCompanyManagementItSolutionsByParentIdManagementProducts(
3730
+ parentId: number,
3731
+ params: CommonParameters = {},
3732
+ ): Promise<Array<ManagementItSolutionAgreementInterfaceParameter>> {
3733
+ return this.request({
3734
+ path: `/company/managementItSolutions/${parentId}/managementProducts`,
3735
+ method: 'get',
3736
+ params,
3737
+ })
3738
+ }
3739
+
3740
+ postCompanyManagementItSolutionsByParentIdManagementProducts(
3741
+ parentId: number,
3742
+ managementProduct: ManagementItSolutionAgreementInterfaceParameter,
3743
+ ): Promise<ManagementItSolutionAgreementInterfaceParameter> {
3744
+ return this.request({
3745
+ path: `/company/managementItSolutions/${parentId}/managementProducts`,
3746
+ method: 'post',
3747
+ data: managementProduct,
3748
+ })
3749
+ }
3750
+
3751
+ getCompanyManagementItSolutionsByParentIdManagementProductsById(
3752
+ id: number,
3753
+ parentId: number,
3754
+ params: CommonParameters = {},
3755
+ ): Promise<ManagementItSolutionAgreementInterfaceParameter> {
3756
+ return this.request({
3757
+ path: `/company/managementItSolutions/${parentId}/managementProducts/${id}`,
3758
+ method: 'get',
3759
+ params,
3760
+ })
3761
+ }
3762
+
3763
+ putCompanyManagementItSolutionsByParentIdManagementProductsById(
3764
+ id: number,
3765
+ parentId: number,
3766
+ managementProduct: ManagementItSolutionAgreementInterfaceParameter,
3767
+ ): Promise<ManagementItSolutionAgreementInterfaceParameter> {
3768
+ return this.request({
3769
+ path: `/company/managementItSolutions/${parentId}/managementProducts/${id}`,
3770
+ method: 'put',
3771
+ data: managementProduct,
3772
+ })
3773
+ }
3774
+
3775
+ patchCompanyManagementItSolutionsByParentIdManagementProductsById(
3776
+ id: number,
3777
+ parentId: number,
3778
+ patchOperations: Array<PatchOperation>,
3779
+ ): Promise<ManagementItSolutionAgreementInterfaceParameter> {
3780
+ return this.request({
3781
+ path: `/company/managementItSolutions/${parentId}/managementProducts/${id}`,
3782
+ method: 'patch',
3783
+ data: patchOperations,
3784
+ })
3785
+ }
3786
+
3787
+ deleteCompanyManagementItSolutionsByParentIdManagementProductsById(
3788
+ id: number,
3789
+ parentId: number,
3790
+ ): Promise<ManagementItSolutionAgreementInterfaceParameter> {
3791
+ return this.request({
3792
+ path: `/company/managementItSolutions/${parentId}/managementProducts/${id}`,
3793
+ method: 'delete',
3794
+ })
3795
+ }
3796
+
3797
+ getCompanyManagementItSolutionsByParentIdManagementProductsCount(
3798
+ parentId: number,
3799
+ params: CommonParameters = {},
3800
+ ): Promise<Count> {
3801
+ return this.request({
3802
+ path: `/company/managementItSolutions/${parentId}/managementProducts/count`,
3803
+ method: 'get',
3804
+ params,
3805
+ })
3806
+ }
3807
+
3808
+ getCompanyManagementItSolutionsCount(params: CommonParameters = {}): Promise<Count> {
3809
+ return this.request({
3810
+ path: `/company/managementItSolutions/count`,
3811
+ method: 'get',
3812
+ params,
3813
+ })
3814
+ }
3815
+
3816
+ getCompanyMarketDescriptions(params: CommonParameters = {}): Promise<Array<MarketDescription>> {
3817
+ return this.request({
3818
+ path: `/company/marketDescriptions`,
3819
+ method: 'get',
3820
+ params,
3821
+ })
3822
+ }
3823
+
3824
+ postCompanyMarketDescriptions(marketDescription: MarketDescription): Promise<MarketDescription> {
3825
+ return this.request({
3826
+ path: `/company/marketDescriptions`,
3827
+ method: 'post',
3828
+ data: marketDescription,
3829
+ })
3830
+ }
3831
+
3832
+ getCompanyMarketDescriptionsById(
3833
+ id: number,
3834
+ params: CommonParameters = {},
3835
+ ): Promise<MarketDescription> {
3836
+ return this.request({
3837
+ path: `/company/marketDescriptions/${id}`,
3838
+ method: 'get',
3839
+ params,
3840
+ })
3841
+ }
3842
+
3843
+ deleteCompanyMarketDescriptionsById(id: number): Promise<NoContentResponse> {
3844
+ return this.request({
3845
+ path: `/company/marketDescriptions/${id}`,
3846
+ method: 'delete',
3847
+ })
3848
+ }
3849
+
3850
+ putCompanyMarketDescriptionsById(
3851
+ id: number,
3852
+ marketDescription: MarketDescription,
3853
+ ): Promise<MarketDescription> {
3854
+ return this.request({
3855
+ path: `/company/marketDescriptions/${id}`,
3856
+ method: 'put',
3857
+ data: marketDescription,
3858
+ })
3859
+ }
3860
+
3861
+ patchCompanyMarketDescriptionsById(
3862
+ id: number,
3863
+ patchOperations: Array<PatchOperation>,
3864
+ ): Promise<MarketDescription> {
3865
+ return this.request({
3866
+ path: `/company/marketDescriptions/${id}`,
3867
+ method: 'patch',
3868
+ data: patchOperations,
3869
+ })
3870
+ }
3871
+
3872
+ getCompanyMarketDescriptionsByIdInfo(
3873
+ id: number,
3874
+ params: CommonParameters = {},
3875
+ ): Promise<MarketDescriptionInfo> {
3876
+ return this.request({
3877
+ path: `/company/marketDescriptions/${id}/info`,
3878
+ method: 'get',
3879
+ params,
3880
+ })
3881
+ }
3882
+
3883
+ getCompanyMarketDescriptionsByIdUsages(
3884
+ id: number,
3885
+ params: CommonParameters = {},
3886
+ ): Promise<Array<Usage>> {
3887
+ return this.request({
3888
+ path: `/company/marketDescriptions/${id}/usages`,
3889
+ method: 'get',
3890
+ params,
3891
+ })
3892
+ }
3893
+
3894
+ getCompanyMarketDescriptionsByIdUsagesList(
3895
+ id: number,
3896
+ params: CommonParameters = {},
3897
+ ): Promise<Array<Usage>> {
3898
+ return this.request({
3899
+ path: `/company/marketDescriptions/${id}/usages/list`,
3900
+ method: 'get',
3901
+ params,
3902
+ })
3903
+ }
3904
+
3905
+ getCompanyMarketDescriptionsCount(params: CommonParameters = {}): Promise<Count> {
3906
+ return this.request({
3907
+ path: `/company/marketDescriptions/count`,
3908
+ method: 'get',
3909
+ params,
3910
+ })
3911
+ }
3912
+
3913
+ getCompanyMarketDescriptionsInfo(
3914
+ params: CommonParameters = {},
3915
+ ): Promise<Array<MarketDescriptionInfo>> {
3916
+ return this.request({
3917
+ path: `/company/marketDescriptions/info`,
3918
+ method: 'get',
3919
+ params,
3920
+ })
3921
+ }
3922
+
3923
+ getCompanyMarketDescriptionsInfoCount(params: CommonParameters = {}): Promise<Count> {
3924
+ return this.request({
3925
+ path: `/company/marketDescriptions/info/count`,
3926
+ method: 'get',
3927
+ params,
3928
+ })
3929
+ }
3930
+
3931
+ getCompanyNoteTypes(params: CommonParameters = {}): Promise<Array<CompanyNoteType>> {
3932
+ return this.request({
3933
+ path: `/company/noteTypes`,
3934
+ method: 'get',
3935
+ params,
3936
+ })
3937
+ }
3938
+
3939
+ postCompanyNoteTypes(noteType: CompanyNoteType): Promise<CompanyNoteType> {
3940
+ return this.request({
3941
+ path: `/company/noteTypes`,
3942
+ method: 'post',
3943
+ data: noteType,
3944
+ })
3945
+ }
3946
+
3947
+ getCompanyNoteTypesById(id: number, params: CommonParameters = {}): Promise<CompanyNoteType> {
3948
+ return this.request({
3949
+ path: `/company/noteTypes/${id}`,
3950
+ method: 'get',
3951
+ params,
3952
+ })
3953
+ }
3954
+
3955
+ deleteCompanyNoteTypesById(id: number): Promise<NoContentResponse> {
3956
+ return this.request({
3957
+ path: `/company/noteTypes/${id}`,
3958
+ method: 'delete',
3959
+ })
3960
+ }
3961
+
3962
+ putCompanyNoteTypesById(id: number, noteType: CompanyNoteType): Promise<CompanyNoteType> {
3963
+ return this.request({
3964
+ path: `/company/noteTypes/${id}`,
3965
+ method: 'put',
3966
+ data: noteType,
3967
+ })
3968
+ }
3969
+
3970
+ patchCompanyNoteTypesById(
3971
+ id: number,
3972
+ patchOperations: Array<PatchOperation>,
3973
+ ): Promise<CompanyNoteType> {
3974
+ return this.request({
3975
+ path: `/company/noteTypes/${id}`,
3976
+ method: 'patch',
3977
+ data: patchOperations,
3978
+ })
3979
+ }
3980
+
3981
+ getCompanyNoteTypesByIdInfo(
3982
+ id: number,
3983
+ params: CommonParameters = {},
3984
+ ): Promise<CompanyNoteTypeInfo> {
3985
+ return this.request({
3986
+ path: `/company/noteTypes/${id}/info`,
3987
+ method: 'get',
3988
+ params,
3989
+ })
3990
+ }
3991
+
3992
+ getCompanyNoteTypesCount(params: CommonParameters = {}): Promise<Count> {
3993
+ return this.request({
3994
+ path: `/company/noteTypes/count`,
3995
+ method: 'get',
3996
+ params,
3997
+ })
3998
+ }
3999
+
4000
+ getCompanyNoteTypesCountInfo(params: CommonParameters = {}): Promise<Count> {
4001
+ return this.request({
4002
+ path: `/company/noteTypes/count/info`,
4003
+ method: 'get',
4004
+ params,
4005
+ })
4006
+ }
4007
+
4008
+ getCompanyNoteTypesInfo(params: CommonParameters = {}): Promise<Array<CompanyNoteTypeInfo>> {
4009
+ return this.request({
4010
+ path: `/company/noteTypes/info`,
4011
+ method: 'get',
4012
+ params,
4013
+ })
4014
+ }
4015
+
4016
+ getCompanyOwnershipTypes(params: CommonParameters = {}): Promise<Array<OwnershipType>> {
4017
+ return this.request({
4018
+ path: `/company/ownershipTypes`,
4019
+ method: 'get',
4020
+ params,
4021
+ })
4022
+ }
4023
+
4024
+ postCompanyOwnershipTypes(ownershipType: OwnershipType): Promise<OwnershipType> {
4025
+ return this.request({
4026
+ path: `/company/ownershipTypes`,
4027
+ method: 'post',
4028
+ data: ownershipType,
4029
+ })
4030
+ }
4031
+
4032
+ getCompanyOwnershipTypesById(id: number, params: CommonParameters = {}): Promise<OwnershipType> {
4033
+ return this.request({
4034
+ path: `/company/ownershipTypes/${id}`,
4035
+ method: 'get',
4036
+ params,
4037
+ })
4038
+ }
4039
+
4040
+ deleteCompanyOwnershipTypesById(id: number): Promise<NoContentResponse> {
4041
+ return this.request({
4042
+ path: `/company/ownershipTypes/${id}`,
4043
+ method: 'delete',
4044
+ })
4045
+ }
4046
+
4047
+ putCompanyOwnershipTypesById(id: number, ownershipType: OwnershipType): Promise<OwnershipType> {
4048
+ return this.request({
4049
+ path: `/company/ownershipTypes/${id}`,
4050
+ method: 'put',
4051
+ data: ownershipType,
4052
+ })
4053
+ }
4054
+
4055
+ patchCompanyOwnershipTypesById(
4056
+ id: number,
4057
+ patchOperations: Array<PatchOperation>,
4058
+ ): Promise<OwnershipType> {
4059
+ return this.request({
4060
+ path: `/company/ownershipTypes/${id}`,
4061
+ method: 'patch',
4062
+ data: patchOperations,
4063
+ })
4064
+ }
4065
+
4066
+ getCompanyOwnershipTypesByIdInfo(
4067
+ id: number,
4068
+ params: CommonParameters = {},
4069
+ ): Promise<OwnershipTypeInfo> {
4070
+ return this.request({
4071
+ path: `/company/ownershipTypes/${id}/info`,
4072
+ method: 'get',
4073
+ params,
4074
+ })
4075
+ }
4076
+
4077
+ getCompanyOwnershipTypesCount(params: CommonParameters = {}): Promise<Count> {
4078
+ return this.request({
4079
+ path: `/company/ownershipTypes/count`,
4080
+ method: 'get',
4081
+ params,
4082
+ })
4083
+ }
4084
+
4085
+ getCompanyOwnershipTypesInfo(params: CommonParameters = {}): Promise<Array<OwnershipTypeInfo>> {
4086
+ return this.request({
4087
+ path: `/company/ownershipTypes/info`,
4088
+ method: 'get',
4089
+ params,
4090
+ })
4091
+ }
4092
+
4093
+ getCompanyOwnershipTypesInfoCount(params: CommonParameters = {}): Promise<Count> {
4094
+ return this.request({
4095
+ path: `/company/ownershipTypes/info/count`,
4096
+ method: 'get',
4097
+ params,
4098
+ })
4099
+ }
4100
+
4101
+ getCompanyPaymentTypesInfoCount(params: CommonParameters = {}): Promise<Count> {
4102
+ return this.request({
4103
+ path: `/company/paymentTypes/info/count`,
4104
+ method: 'get',
4105
+ params,
4106
+ })
4107
+ }
4108
+
4109
+ getCompanyPortalConfigurations(
4110
+ params: CommonParameters = {},
4111
+ ): Promise<Array<PortalConfiguration>> {
4112
+ return this.request({
4113
+ path: `/company/portalConfigurations`,
4114
+ method: 'get',
4115
+ params,
4116
+ })
4117
+ }
4118
+
4119
+ postCompanyPortalConfigurations(
4120
+ portalConfiguration: PortalConfiguration,
4121
+ ): Promise<PortalConfiguration> {
4122
+ return this.request({
4123
+ path: `/company/portalConfigurations`,
4124
+ method: 'post',
4125
+ data: portalConfiguration,
4126
+ })
4127
+ }
4128
+
4129
+ getCompanyPortalConfigurationsById(
4130
+ id: number,
4131
+ params: CommonParameters = {},
4132
+ ): Promise<PortalConfiguration> {
4133
+ return this.request({
4134
+ path: `/company/portalConfigurations/${id}`,
4135
+ method: 'get',
4136
+ params,
4137
+ })
4138
+ }
4139
+
4140
+ deleteCompanyPortalConfigurationsById(id: number): Promise<NoContentResponse> {
4141
+ return this.request({
4142
+ path: `/company/portalConfigurations/${id}`,
4143
+ method: 'delete',
4144
+ })
4145
+ }
4146
+
4147
+ putCompanyPortalConfigurationsById(
4148
+ id: number,
4149
+ portalConfiguration: PortalConfiguration,
4150
+ ): Promise<PortalConfiguration> {
4151
+ return this.request({
4152
+ path: `/company/portalConfigurations/${id}`,
4153
+ method: 'put',
4154
+ data: portalConfiguration,
4155
+ })
4156
+ }
4157
+
4158
+ patchCompanyPortalConfigurationsById(
4159
+ id: number,
4160
+ patchOperations: Array<PatchOperation>,
4161
+ ): Promise<PortalConfiguration> {
4162
+ return this.request({
4163
+ path: `/company/portalConfigurations/${id}`,
4164
+ method: 'patch',
4165
+ data: patchOperations,
4166
+ })
4167
+ }
4168
+
4169
+ getCompanyPortalConfigurationsByParentIdInvoiceSetups(
4170
+ parentId: number,
4171
+ params: CommonParameters = {},
4172
+ ): Promise<Array<PortalConfigurationInvoiceSetup>> {
4173
+ return this.request({
4174
+ path: `/company/portalConfigurations/${parentId}/invoiceSetups`,
4175
+ method: 'get',
4176
+ params,
4177
+ })
4178
+ }
4179
+
4180
+ getCompanyPortalConfigurationsByParentIdInvoiceSetupsById(
4181
+ id: number,
4182
+ parentId: number,
4183
+ params: CommonParameters = {},
4184
+ ): Promise<PortalConfigurationInvoiceSetup> {
4185
+ return this.request({
4186
+ path: `/company/portalConfigurations/${parentId}/invoiceSetups/${id}`,
4187
+ method: 'get',
4188
+ params,
4189
+ })
4190
+ }
4191
+
4192
+ putCompanyPortalConfigurationsByParentIdInvoiceSetupsById(
4193
+ id: number,
4194
+ parentId: number,
4195
+ portalConfigurationInvoiceSetup: PortalConfigurationInvoiceSetup,
4196
+ ): Promise<PortalConfigurationInvoiceSetup> {
4197
+ return this.request({
4198
+ path: `/company/portalConfigurations/${parentId}/invoiceSetups/${id}`,
4199
+ method: 'put',
4200
+ data: portalConfigurationInvoiceSetup,
4201
+ })
4202
+ }
4203
+
4204
+ patchCompanyPortalConfigurationsByParentIdInvoiceSetupsById(
4205
+ id: number,
4206
+ parentId: number,
4207
+ patchOperations: Array<PatchOperation>,
4208
+ ): Promise<PortalConfigurationInvoiceSetup> {
4209
+ return this.request({
4210
+ path: `/company/portalConfigurations/${parentId}/invoiceSetups/${id}`,
4211
+ method: 'patch',
4212
+ data: patchOperations,
4213
+ })
4214
+ }
4215
+
4216
+ postCompanyPortalConfigurationsByParentIdInvoiceSetupsByIdTestTransaction(
4217
+ id: number,
4218
+ parentId: number,
4219
+ portalConfigurationInvoiceSetup: PortalConfigurationInvoiceSetup,
4220
+ ): Promise<SuccessResponse> {
4221
+ return this.request({
4222
+ path: `/company/portalConfigurations/${parentId}/invoiceSetups/${id}/testTransaction`,
4223
+ method: 'post',
4224
+ data: portalConfigurationInvoiceSetup,
4225
+ })
4226
+ }
4227
+
4228
+ getCompanyPortalConfigurationsByParentIdInvoiceSetupsCount(
4229
+ parentId: number,
4230
+ params: CommonParameters = {},
4231
+ ): Promise<Count> {
4232
+ return this.request({
4233
+ path: `/company/portalConfigurations/${parentId}/invoiceSetups/count`,
4234
+ method: 'get',
4235
+ params,
4236
+ })
4237
+ }
4238
+
4239
+ getCompanyPortalConfigurationsByParentIdOpportunitySetups(
4240
+ parentId: number,
4241
+ params: CommonParameters = {},
4242
+ ): Promise<Array<PortalConfigurationOpportunitySetup>> {
4243
+ return this.request({
4244
+ path: `/company/portalConfigurations/${parentId}/opportunitySetups`,
4245
+ method: 'get',
4246
+ params,
4247
+ })
4248
+ }
4249
+
4250
+ putCompanyPortalConfigurationsByParentIdOpportunitySetups(
4251
+ parentId: number,
4252
+ opportunitySetup: PortalConfigurationOpportunitySetup,
4253
+ ): Promise<PortalConfigurationOpportunitySetup> {
4254
+ return this.request({
4255
+ path: `/company/portalConfigurations/${parentId}/opportunitySetups`,
4256
+ method: 'put',
4257
+ data: opportunitySetup,
4258
+ })
4259
+ }
4260
+
4261
+ patchCompanyPortalConfigurationsByParentIdOpportunitySetups(
4262
+ parentId: number,
4263
+ patchOperations: Array<PatchOperation>,
4264
+ ): Promise<PortalConfigurationOpportunitySetup> {
4265
+ return this.request({
4266
+ path: `/company/portalConfigurations/${parentId}/opportunitySetups`,
4267
+ method: 'patch',
4268
+ data: patchOperations,
4269
+ })
4270
+ }
4271
+
4272
+ getCompanyPortalConfigurationsByParentIdOpportunitySetupsById(
4273
+ id: number,
4274
+ parentId: number,
4275
+ params: CommonParameters = {},
4276
+ ): Promise<PortalConfigurationOpportunitySetup> {
4277
+ return this.request({
4278
+ path: `/company/portalConfigurations/${parentId}/opportunitySetups/${id}`,
4279
+ method: 'get',
4280
+ params,
4281
+ })
4282
+ }
4283
+
4284
+ putCompanyPortalConfigurationsByParentIdOpportunitySetupsById(
4285
+ id: number,
4286
+ parentId: number,
4287
+ opportunitySetup: PortalConfigurationOpportunitySetup,
4288
+ ): Promise<PortalConfigurationOpportunitySetup> {
4289
+ return this.request({
4290
+ path: `/company/portalConfigurations/${parentId}/opportunitySetups/${id}`,
4291
+ method: 'put',
4292
+ data: opportunitySetup,
4293
+ })
4294
+ }
4295
+
4296
+ patchCompanyPortalConfigurationsByParentIdOpportunitySetupsById(
4297
+ id: number,
4298
+ parentId: number,
4299
+ patchOperations: Array<PatchOperation>,
4300
+ ): Promise<PortalConfigurationOpportunitySetup> {
4301
+ return this.request({
4302
+ path: `/company/portalConfigurations/${parentId}/opportunitySetups/${id}`,
4303
+ method: 'patch',
4304
+ data: patchOperations,
4305
+ })
4306
+ }
4307
+
4308
+ getCompanyPortalConfigurationsByParentIdPasswordEmailSetups(
4309
+ parentId: number,
4310
+ params: CommonParameters = {},
4311
+ ): Promise<Array<PortalConfigurationPasswordEmailSetup>> {
4312
+ return this.request({
4313
+ path: `/company/portalConfigurations/${parentId}/passwordEmailSetups`,
4314
+ method: 'get',
4315
+ params,
4316
+ })
4317
+ }
4318
+
4319
+ getCompanyPortalConfigurationsByParentIdPasswordEmailSetupsById(
4320
+ id: number,
4321
+ parentId: number,
4322
+ params: CommonParameters = {},
4323
+ ): Promise<PortalConfigurationPasswordEmailSetup> {
4324
+ return this.request({
4325
+ path: `/company/portalConfigurations/${parentId}/passwordEmailSetups/${id}`,
4326
+ method: 'get',
4327
+ params,
4328
+ })
4329
+ }
4330
+
4331
+ putCompanyPortalConfigurationsByParentIdPasswordEmailSetupsById(
4332
+ id: number,
4333
+ parentId: number,
4334
+ passwordEmailSetup: PortalConfigurationPasswordEmailSetup,
4335
+ ): Promise<PortalConfigurationPasswordEmailSetup> {
4336
+ return this.request({
4337
+ path: `/company/portalConfigurations/${parentId}/passwordEmailSetups/${id}`,
4338
+ method: 'put',
4339
+ data: passwordEmailSetup,
4340
+ })
4341
+ }
4342
+
4343
+ patchCompanyPortalConfigurationsByParentIdPasswordEmailSetupsById(
4344
+ id: number,
4345
+ parentId: number,
4346
+ patchOperations: Array<PatchOperation>,
4347
+ ): Promise<PortalConfigurationPasswordEmailSetup> {
4348
+ return this.request({
4349
+ path: `/company/portalConfigurations/${parentId}/passwordEmailSetups/${id}`,
4350
+ method: 'patch',
4351
+ data: patchOperations,
4352
+ })
4353
+ }
4354
+
4355
+ getCompanyPortalConfigurationsByParentIdProjectSetups(
4356
+ parentId: number,
4357
+ params: CommonParameters = {},
4358
+ ): Promise<Array<PortalConfigurationProjectSetup>> {
4359
+ return this.request({
4360
+ path: `/company/portalConfigurations/${parentId}/projectSetups`,
4361
+ method: 'get',
4362
+ params,
4363
+ })
4364
+ }
4365
+
4366
+ getCompanyPortalConfigurationsByParentIdProjectSetupsById(
4367
+ id: number,
4368
+ parentId: number,
4369
+ params: CommonParameters = {},
4370
+ ): Promise<PortalConfigurationProjectSetup> {
4371
+ return this.request({
4372
+ path: `/company/portalConfigurations/${parentId}/projectSetups/${id}`,
4373
+ method: 'get',
4374
+ params,
4375
+ })
4376
+ }
4377
+
4378
+ putCompanyPortalConfigurationsByParentIdProjectSetupsById(
4379
+ id: number,
4380
+ parentId: number,
4381
+ portalConfigurationProjectSetup: PortalConfigurationProjectSetup,
4382
+ ): Promise<PortalConfigurationProjectSetup> {
4383
+ return this.request({
4384
+ path: `/company/portalConfigurations/${parentId}/projectSetups/${id}`,
4385
+ method: 'put',
4386
+ data: portalConfigurationProjectSetup,
4387
+ })
4388
+ }
4389
+
4390
+ patchCompanyPortalConfigurationsByParentIdProjectSetupsById(
4391
+ id: number,
4392
+ parentId: number,
4393
+ patchOperations: Array<PatchOperation>,
4394
+ ): Promise<PortalConfigurationProjectSetup> {
4395
+ return this.request({
4396
+ path: `/company/portalConfigurations/${parentId}/projectSetups/${id}`,
4397
+ method: 'patch',
4398
+ data: patchOperations,
4399
+ })
4400
+ }
4401
+
4402
+ getCompanyPortalConfigurationsByParentIdProjectSetupsCount(
4403
+ parentId: number,
4404
+ params: CommonParameters = {},
4405
+ ): Promise<Count> {
4406
+ return this.request({
4407
+ path: `/company/portalConfigurations/${parentId}/projectSetups/count`,
4408
+ method: 'get',
4409
+ params,
4410
+ })
4411
+ }
4412
+
4413
+ getCompanyPortalConfigurationsByParentIdServiceSetups(
4414
+ parentId: number,
4415
+ params: CommonParameters = {},
4416
+ ): Promise<Array<PortalConfigurationServiceSetup>> {
4417
+ return this.request({
4418
+ path: `/company/portalConfigurations/${parentId}/serviceSetups`,
4419
+ method: 'get',
4420
+ params,
4421
+ })
4422
+ }
4423
+
4424
+ getCompanyPortalConfigurationsByParentIdServiceSetupsById(
4425
+ id: number,
4426
+ parentId: number,
4427
+ params: CommonParameters = {},
4428
+ ): Promise<PortalConfigurationServiceSetup> {
4429
+ return this.request({
4430
+ path: `/company/portalConfigurations/${parentId}/serviceSetups/${id}`,
4431
+ method: 'get',
4432
+ params,
4433
+ })
4434
+ }
4435
+
4436
+ putCompanyPortalConfigurationsByParentIdServiceSetupsById(
4437
+ id: number,
4438
+ parentId: number,
4439
+ portalConfigurationServiceSetup: PortalConfigurationServiceSetup,
4440
+ ): Promise<PortalConfigurationServiceSetup> {
4441
+ return this.request({
4442
+ path: `/company/portalConfigurations/${parentId}/serviceSetups/${id}`,
4443
+ method: 'put',
4444
+ data: portalConfigurationServiceSetup,
4445
+ })
4446
+ }
4447
+
4448
+ patchCompanyPortalConfigurationsByParentIdServiceSetupsById(
4449
+ id: number,
4450
+ parentId: number,
4451
+ patchOperations: Array<PatchOperation>,
4452
+ ): Promise<PortalConfigurationServiceSetup> {
4453
+ return this.request({
4454
+ path: `/company/portalConfigurations/${parentId}/serviceSetups/${id}`,
4455
+ method: 'patch',
4456
+ data: patchOperations,
4457
+ })
4458
+ }
4459
+
4460
+ getCompanyPortalConfigurationsByParentIdServiceSetupsCount(
4461
+ parentId: number,
4462
+ params: CommonParameters = {},
4463
+ ): Promise<Count> {
4464
+ return this.request({
4465
+ path: `/company/portalConfigurations/${parentId}/serviceSetups/count`,
4466
+ method: 'get',
4467
+ params,
4468
+ })
4469
+ }
4470
+
4471
+ postCompanyPortalConfigurationsCopy(copy: PortalConfiguration): Promise<PortalConfiguration> {
4472
+ return this.request({
4473
+ path: `/company/portalConfigurations/copy`,
4474
+ method: 'post',
4475
+ data: copy,
4476
+ })
4477
+ }
4478
+
4479
+ getCompanyPortalConfigurationsCount(params: CommonParameters = {}): Promise<Count> {
4480
+ return this.request({
4481
+ path: `/company/portalConfigurations/count`,
4482
+ method: 'get',
4483
+ params,
4484
+ })
4485
+ }
4486
+
4487
+ getCompanyPortalConfigurationsInvoiceSetupPaymentProcessors(
4488
+ params: CommonParameters = {},
4489
+ ): Promise<Array<PortalConfigurationPaymentProcessor>> {
4490
+ return this.request({
4491
+ path: `/company/portalConfigurations/invoiceSetup/paymentProcessors`,
4492
+ method: 'get',
4493
+ params,
4494
+ })
4495
+ }
4496
+
4497
+ getCompanyPortalConfigurationsInvoiceSetupPaymentProcessorsById(
4498
+ id: number,
4499
+ params: CommonParameters = {},
4500
+ ): Promise<PortalConfigurationPaymentProcessor> {
4501
+ return this.request({
4502
+ path: `/company/portalConfigurations/invoiceSetup/paymentProcessors/${id}`,
4503
+ method: 'get',
4504
+ params,
4505
+ })
4506
+ }
4507
+
4508
+ getCompanyPortalConfigurationsInvoiceSetupPaymentProcessorsCount(
4509
+ params: CommonParameters = {},
4510
+ ): Promise<Count> {
4511
+ return this.request({
4512
+ path: `/company/portalConfigurations/invoiceSetup/paymentProcessors/count`,
4513
+ method: 'get',
4514
+ params,
4515
+ })
4516
+ }
4517
+
4518
+ getCompanyPortalSecurityLevels(
4519
+ params: CommonParameters = {},
4520
+ ): Promise<Array<PortalSecurityLevel>> {
4521
+ return this.request({
4522
+ path: `/company/portalSecurityLevels`,
4523
+ method: 'get',
4524
+ params,
4525
+ })
4526
+ }
4527
+
4528
+ getCompanyPortalSecurityLevelsById(
4529
+ id: number,
4530
+ params: CommonParameters = {},
4531
+ ): Promise<PortalSecurityLevel> {
4532
+ return this.request({
4533
+ path: `/company/portalSecurityLevels/${id}`,
4534
+ method: 'get',
4535
+ params,
4536
+ })
4537
+ }
4538
+
4539
+ putCompanyPortalSecurityLevelsById(
4540
+ id: number,
4541
+ _portalSecurityLevel: PortalSecurityLevel,
4542
+ ): Promise<PortalSecurityLevel> {
4543
+ return this.request({
4544
+ path: `/company/portalSecurityLevels/${id}`,
4545
+ method: 'put',
4546
+ data: _portalSecurityLevel,
4547
+ })
4548
+ }
4549
+
4550
+ patchCompanyPortalSecurityLevelsById(
4551
+ id: number,
4552
+ patchOperations: Array<PatchOperation>,
4553
+ ): Promise<PortalSecurityLevel> {
4554
+ return this.request({
4555
+ path: `/company/portalSecurityLevels/${id}`,
4556
+ method: 'patch',
4557
+ data: patchOperations,
4558
+ })
4559
+ }
4560
+
4561
+ getCompanyPortalSecurityLevelsCount(params: CommonParameters = {}): Promise<Count> {
4562
+ return this.request({
4563
+ path: `/company/portalSecurityLevels/count`,
4564
+ method: 'get',
4565
+ params,
4566
+ })
4567
+ }
4568
+
4569
+ getCompanyPortalSecuritySettings(
4570
+ params: CommonParameters = {},
4571
+ ): Promise<Array<PortalSecuritySetting>> {
4572
+ return this.request({
4573
+ path: `/company/portalSecuritySettings`,
4574
+ method: 'get',
4575
+ params,
4576
+ })
4577
+ }
4578
+
4579
+ getCompanyPortalSecuritySettingsById(
4580
+ id: number,
4581
+ params: CommonParameters = {},
4582
+ ): Promise<PortalSecuritySetting> {
4583
+ return this.request({
4584
+ path: `/company/portalSecuritySettings/${id}`,
4585
+ method: 'get',
4586
+ params,
4587
+ })
4588
+ }
4589
+
4590
+ putCompanyPortalSecuritySettingsById(
4591
+ id: number,
4592
+ portalSecurity: PortalSecuritySetting,
4593
+ ): Promise<PortalSecuritySetting> {
4594
+ return this.request({
4595
+ path: `/company/portalSecuritySettings/${id}`,
4596
+ method: 'put',
4597
+ data: portalSecurity,
4598
+ })
4599
+ }
4600
+
4601
+ patchCompanyPortalSecuritySettingsById(
4602
+ id: number,
4603
+ patchOperations: Array<PatchOperation>,
4604
+ ): Promise<PortalSecuritySetting> {
4605
+ return this.request({
4606
+ path: `/company/portalSecuritySettings/${id}`,
4607
+ method: 'patch',
4608
+ data: patchOperations,
4609
+ })
4610
+ }
4611
+
4612
+ getCompanyPortalSecuritySettingsCount(params: CommonParameters = {}): Promise<Count> {
4613
+ return this.request({
4614
+ path: `/company/portalSecuritySettings/count`,
4615
+ method: 'get',
4616
+ params,
4617
+ })
4618
+ }
4619
+
4620
+ getCompanyStates(params: CommonParameters = {}): Promise<Array<State>> {
4621
+ return this.request({
4622
+ path: `/company/states`,
4623
+ method: 'get',
4624
+ params,
4625
+ })
4626
+ }
4627
+
4628
+ postCompanyStates(state: State): Promise<State> {
4629
+ return this.request({
4630
+ path: `/company/states`,
4631
+ method: 'post',
4632
+ data: state,
4633
+ })
4634
+ }
4635
+
4636
+ getCompanyStatesById(id: number, params: CommonParameters = {}): Promise<State> {
4637
+ return this.request({
4638
+ path: `/company/states/${id}`,
4639
+ method: 'get',
4640
+ params,
4641
+ })
4642
+ }
4643
+
4644
+ putCompanyStatesById(id: number, state: State): Promise<State> {
4645
+ return this.request({
4646
+ path: `/company/states/${id}`,
4647
+ method: 'put',
4648
+ data: state,
4649
+ })
4650
+ }
4651
+
4652
+ patchCompanyStatesById(id: number, patchOperations: Array<PatchOperation>): Promise<State> {
4653
+ return this.request({
4654
+ path: `/company/states/${id}`,
4655
+ method: 'patch',
4656
+ data: patchOperations,
4657
+ })
4658
+ }
4659
+
4660
+ deleteCompanyStatesById(id: number): Promise<NoContentResponse> {
4661
+ return this.request({
4662
+ path: `/company/states/${id}`,
4663
+ method: 'delete',
4664
+ })
4665
+ }
4666
+
4667
+ getCompanyStatesByIdInfo(id: number, params: CommonParameters = {}): Promise<StateInfo> {
4668
+ return this.request({
4669
+ path: `/company/states/${id}/info`,
4670
+ method: 'get',
4671
+ params,
4672
+ })
4673
+ }
4674
+
4675
+ getCompanyStatesByIdUsages(id: number, params: CommonParameters = {}): Promise<Array<Usage>> {
4676
+ return this.request({
4677
+ path: `/company/states/${id}/usages`,
4678
+ method: 'get',
4679
+ params,
4680
+ })
4681
+ }
4682
+
4683
+ getCompanyStatesByIdUsagesList(id: number, params: CommonParameters = {}): Promise<Array<Usage>> {
4684
+ return this.request({
4685
+ path: `/company/states/${id}/usages/list`,
4686
+ method: 'get',
4687
+ params,
4688
+ })
4689
+ }
4690
+
4691
+ getCompanyStatesCount(params: CommonParameters = {}): Promise<Count> {
4692
+ return this.request({
4693
+ path: `/company/states/count`,
4694
+ method: 'get',
4695
+ params,
4696
+ })
4697
+ }
4698
+
4699
+ getCompanyStatesInfo(params: CommonParameters = {}): Promise<Array<StateInfo>> {
4700
+ return this.request({
4701
+ path: `/company/states/info`,
4702
+ method: 'get',
4703
+ params,
4704
+ })
4705
+ }
4706
+
4707
+ getCompanyStatesInfoCount(params: CommonParameters = {}): Promise<Count> {
4708
+ return this.request({
4709
+ path: `/company/states/info/count`,
4710
+ method: 'get',
4711
+ params,
4712
+ })
4713
+ }
4714
+
4715
+ getCompanyTeamRoles(params: CommonParameters = {}): Promise<Array<TeamRole>> {
4716
+ return this.request({
4717
+ path: `/company/teamRoles`,
4718
+ method: 'get',
4719
+ params,
4720
+ })
4721
+ }
4722
+
4723
+ postCompanyTeamRoles(teamRole: TeamRole): Promise<TeamRole> {
4724
+ return this.request({
4725
+ path: `/company/teamRoles`,
4726
+ method: 'post',
4727
+ data: teamRole,
4728
+ })
4729
+ }
4730
+
4731
+ getCompanyTeamRolesById(id: number, params: CommonParameters = {}): Promise<TeamRole> {
4732
+ return this.request({
4733
+ path: `/company/teamRoles/${id}`,
4734
+ method: 'get',
4735
+ params,
4736
+ })
4737
+ }
4738
+
4739
+ deleteCompanyTeamRolesById(id: number): Promise<NoContentResponse> {
4740
+ return this.request({
4741
+ path: `/company/teamRoles/${id}`,
4742
+ method: 'delete',
4743
+ })
4744
+ }
4745
+
4746
+ putCompanyTeamRolesById(id: number, teamRole: TeamRole): Promise<TeamRole> {
4747
+ return this.request({
4748
+ path: `/company/teamRoles/${id}`,
4749
+ method: 'put',
4750
+ data: teamRole,
4751
+ })
4752
+ }
4753
+
4754
+ patchCompanyTeamRolesById(id: number, patchOperations: Array<PatchOperation>): Promise<TeamRole> {
4755
+ return this.request({
4756
+ path: `/company/teamRoles/${id}`,
4757
+ method: 'patch',
4758
+ data: patchOperations,
4759
+ })
4760
+ }
4761
+
4762
+ getCompanyTeamRolesByIdInfo(id: number, params: CommonParameters = {}): Promise<TeamRoleInfo> {
4763
+ return this.request({
4764
+ path: `/company/teamRoles/${id}/info`,
4765
+ method: 'get',
4766
+ params,
4767
+ })
4768
+ }
4769
+
4770
+ getCompanyTeamRolesByIdUsages(id: number, params: CommonParameters = {}): Promise<Array<Usage>> {
4771
+ return this.request({
4772
+ path: `/company/teamRoles/${id}/usages`,
4773
+ method: 'get',
4774
+ params,
4775
+ })
4776
+ }
4777
+
4778
+ getCompanyTeamRolesByIdUsagesList(
4779
+ id: number,
4780
+ params: CommonParameters = {},
4781
+ ): Promise<Array<Usage>> {
4782
+ return this.request({
4783
+ path: `/company/teamRoles/${id}/usages/list`,
4784
+ method: 'get',
4785
+ params,
4786
+ })
4787
+ }
4788
+
4789
+ getCompanyTeamRolesCount(params: CommonParameters = {}): Promise<Count> {
4790
+ return this.request({
4791
+ path: `/company/teamRoles/count`,
4792
+ method: 'get',
4793
+ params,
4794
+ })
4795
+ }
4796
+
4797
+ getCompanyTeamRolesInfo(params: CommonParameters = {}): Promise<Array<TeamRoleInfo>> {
4798
+ return this.request({
4799
+ path: `/company/teamRoles/info`,
4800
+ method: 'get',
4801
+ params,
4802
+ })
4803
+ }
4804
+
4805
+ getCompanyTeamRolesInfoCount(params: CommonParameters = {}): Promise<Count> {
4806
+ return this.request({
4807
+ path: `/company/teamRoles/info/count`,
4808
+ method: 'get',
4809
+ params,
4810
+ })
4811
+ }
4812
+
4813
+ getCompanyTracks(params: CommonParameters = {}): Promise<Array<Track>> {
4814
+ return this.request({
4815
+ path: `/company/tracks`,
4816
+ method: 'get',
4817
+ params,
4818
+ })
4819
+ }
4820
+
4821
+ postCompanyTracks(track: Track): Promise<Track> {
4822
+ return this.request({
4823
+ path: `/company/tracks`,
4824
+ method: 'post',
4825
+ data: track,
4826
+ })
4827
+ }
4828
+
4829
+ getCompanyTracksById(id: number, params: CommonParameters = {}): Promise<Track> {
4830
+ return this.request({
4831
+ path: `/company/tracks/${id}`,
4832
+ method: 'get',
4833
+ params,
4834
+ })
4835
+ }
4836
+
4837
+ deleteCompanyTracksById(id: number): Promise<NoContentResponse> {
4838
+ return this.request({
4839
+ path: `/company/tracks/${id}`,
4840
+ method: 'delete',
4841
+ })
4842
+ }
4843
+
4844
+ putCompanyTracksById(id: number, track: Track): Promise<Track> {
4845
+ return this.request({
4846
+ path: `/company/tracks/${id}`,
4847
+ method: 'put',
4848
+ data: track,
4849
+ })
4850
+ }
4851
+
4852
+ patchCompanyTracksById(id: number, patchOperations: Array<PatchOperation>): Promise<Track> {
4853
+ return this.request({
4854
+ path: `/company/tracks/${id}`,
4855
+ method: 'patch',
4856
+ data: patchOperations,
4857
+ })
4858
+ }
4859
+
4860
+ getCompanyTracksByParentIdActions(
4861
+ parentId: number,
4862
+ params: CommonParameters = {},
4863
+ ): Promise<Array<TrackAction>> {
4864
+ return this.request({
4865
+ path: `/company/tracks/${parentId}/actions`,
4866
+ method: 'get',
4867
+ params,
4868
+ })
4869
+ }
4870
+
4871
+ postCompanyTracksByParentIdActions(
4872
+ parentId: number,
4873
+ trackAction: TrackAction,
4874
+ ): Promise<TrackAction> {
4875
+ return this.request({
4876
+ path: `/company/tracks/${parentId}/actions`,
4877
+ method: 'post',
4878
+ data: trackAction,
4879
+ })
4880
+ }
4881
+
4882
+ getCompanyTracksByParentIdActionsById(
4883
+ id: number,
4884
+ parentId: number,
4885
+ params: CommonParameters = {},
4886
+ ): Promise<TrackAction> {
4887
+ return this.request({
4888
+ path: `/company/tracks/${parentId}/actions/${id}`,
4889
+ method: 'get',
4890
+ params,
4891
+ })
4892
+ }
4893
+
4894
+ putCompanyTracksByParentIdActionsById(
4895
+ id: number,
4896
+ parentId: number,
4897
+ trackAction: TrackAction,
4898
+ ): Promise<TrackAction> {
4899
+ return this.request({
4900
+ path: `/company/tracks/${parentId}/actions/${id}`,
4901
+ method: 'put',
4902
+ data: trackAction,
4903
+ })
4904
+ }
4905
+
4906
+ patchCompanyTracksByParentIdActionsById(id: number, parentId: number): Promise<TrackAction> {
4907
+ return this.request({
4908
+ path: `/company/tracks/${parentId}/actions/${id}`,
4909
+ method: 'patch',
4910
+ })
4911
+ }
4912
+
4913
+ deleteCompanyTracksByParentIdActionsById(
4914
+ id: number,
4915
+ parentId: number,
4916
+ ): Promise<NoContentResponse> {
4917
+ return this.request({
4918
+ path: `/company/tracks/${parentId}/actions/${id}`,
4919
+ method: 'delete',
4920
+ })
4921
+ }
4922
+
4923
+ getCompanyTracksByParentIdActionsCount(
4924
+ parentId: number,
4925
+ params: CommonParameters = {},
4926
+ ): Promise<Count> {
4927
+ return this.request({
4928
+ path: `/company/tracks/${parentId}/actions/count`,
4929
+ method: 'get',
4930
+ params,
4931
+ })
4932
+ }
4933
+
4934
+ getCompanyTracksCount(params: CommonParameters = {}): Promise<Count> {
4935
+ return this.request({
4936
+ path: `/company/tracks/count`,
4937
+ method: 'get',
4938
+ params,
4939
+ })
4940
+ }
4941
+ }