@prowodo/angular-client 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (534) hide show
  1. package/README.md +49 -0
  2. package/dist/api/api.d.ts +50 -0
  3. package/dist/api/api.d.ts.map +1 -0
  4. package/dist/api/api.js +67 -0
  5. package/dist/api/api.js.map +1 -0
  6. package/dist/api/api.service.d.ts +1393 -0
  7. package/dist/api/api.service.d.ts.map +1 -0
  8. package/dist/api/api.service.js +3304 -0
  9. package/dist/api/api.service.js.map +1 -0
  10. package/dist/api/api.serviceInterface.d.ts +717 -0
  11. package/dist/api/api.serviceInterface.d.ts.map +1 -0
  12. package/dist/api/api.serviceInterface.js +3 -0
  13. package/dist/api/api.serviceInterface.js.map +1 -0
  14. package/dist/api/apiTokenAuth.service.d.ts +42 -0
  15. package/dist/api/apiTokenAuth.service.d.ts.map +1 -0
  16. package/dist/api/apiTokenAuth.service.js +128 -0
  17. package/dist/api/apiTokenAuth.service.js.map +1 -0
  18. package/dist/api/apiTokenAuth.serviceInterface.d.ts +30 -0
  19. package/dist/api/apiTokenAuth.serviceInterface.d.ts.map +1 -0
  20. package/dist/api/apiTokenAuth.serviceInterface.js +3 -0
  21. package/dist/api/apiTokenAuth.serviceInterface.js.map +1 -0
  22. package/dist/api/companies.service.d.ts +238 -0
  23. package/dist/api/companies.service.d.ts.map +1 -0
  24. package/dist/api/companies.service.js +524 -0
  25. package/dist/api/companies.service.js.map +1 -0
  26. package/dist/api/companies.serviceInterface.d.ts +120 -0
  27. package/dist/api/companies.serviceInterface.d.ts.map +1 -0
  28. package/dist/api/companies.serviceInterface.js +3 -0
  29. package/dist/api/companies.serviceInterface.js.map +1 -0
  30. package/dist/api/companyUsers.service.d.ts +165 -0
  31. package/dist/api/companyUsers.service.d.ts.map +1 -0
  32. package/dist/api/companyUsers.service.js +386 -0
  33. package/dist/api/companyUsers.service.js.map +1 -0
  34. package/dist/api/companyUsers.serviceInterface.d.ts +91 -0
  35. package/dist/api/companyUsers.serviceInterface.d.ts.map +1 -0
  36. package/dist/api/companyUsers.serviceInterface.js +3 -0
  37. package/dist/api/companyUsers.serviceInterface.js.map +1 -0
  38. package/dist/api/dayResumes.service.d.ts +141 -0
  39. package/dist/api/dayResumes.service.d.ts.map +1 -0
  40. package/dist/api/dayResumes.service.js +363 -0
  41. package/dist/api/dayResumes.service.js.map +1 -0
  42. package/dist/api/dayResumes.serviceInterface.d.ts +92 -0
  43. package/dist/api/dayResumes.serviceInterface.d.ts.map +1 -0
  44. package/dist/api/dayResumes.serviceInterface.js +3 -0
  45. package/dist/api/dayResumes.serviceInterface.js.map +1 -0
  46. package/dist/api/notification.service.d.ts +274 -0
  47. package/dist/api/notification.service.d.ts.map +1 -0
  48. package/dist/api/notification.service.js +643 -0
  49. package/dist/api/notification.service.js.map +1 -0
  50. package/dist/api/notification.serviceInterface.d.ts +141 -0
  51. package/dist/api/notification.serviceInterface.d.ts.map +1 -0
  52. package/dist/api/notification.serviceInterface.js +3 -0
  53. package/dist/api/notification.serviceInterface.js.map +1 -0
  54. package/dist/api/personalSchedule.service.d.ts +333 -0
  55. package/dist/api/personalSchedule.service.d.ts.map +1 -0
  56. package/dist/api/personalSchedule.service.js +774 -0
  57. package/dist/api/personalSchedule.service.js.map +1 -0
  58. package/dist/api/personalSchedule.serviceInterface.d.ts +186 -0
  59. package/dist/api/personalSchedule.serviceInterface.d.ts.map +1 -0
  60. package/dist/api/personalSchedule.serviceInterface.js +3 -0
  61. package/dist/api/personalSchedule.serviceInterface.js.map +1 -0
  62. package/dist/api/projects.service.d.ts +234 -0
  63. package/dist/api/projects.service.d.ts.map +1 -0
  64. package/dist/api/projects.service.js +569 -0
  65. package/dist/api/projects.service.js.map +1 -0
  66. package/dist/api/projects.serviceInterface.d.ts +129 -0
  67. package/dist/api/projects.serviceInterface.d.ts.map +1 -0
  68. package/dist/api/projects.serviceInterface.js +3 -0
  69. package/dist/api/projects.serviceInterface.js.map +1 -0
  70. package/dist/api/scrum.service.d.ts +287 -0
  71. package/dist/api/scrum.service.d.ts.map +1 -0
  72. package/dist/api/scrum.service.js +617 -0
  73. package/dist/api/scrum.service.js.map +1 -0
  74. package/dist/api/scrum.serviceInterface.d.ts +146 -0
  75. package/dist/api/scrum.serviceInterface.d.ts.map +1 -0
  76. package/dist/api/scrum.serviceInterface.js +3 -0
  77. package/dist/api/scrum.serviceInterface.js.map +1 -0
  78. package/dist/api/taskAssignements.service.d.ts +165 -0
  79. package/dist/api/taskAssignements.service.d.ts.map +1 -0
  80. package/dist/api/taskAssignements.service.js +386 -0
  81. package/dist/api/taskAssignements.service.js.map +1 -0
  82. package/dist/api/taskAssignements.serviceInterface.d.ts +91 -0
  83. package/dist/api/taskAssignements.serviceInterface.d.ts.map +1 -0
  84. package/dist/api/taskAssignements.serviceInterface.js +3 -0
  85. package/dist/api/taskAssignements.serviceInterface.js.map +1 -0
  86. package/dist/api/taskAttachments.service.d.ts +165 -0
  87. package/dist/api/taskAttachments.service.d.ts.map +1 -0
  88. package/dist/api/taskAttachments.service.js +560 -0
  89. package/dist/api/taskAttachments.service.js.map +1 -0
  90. package/dist/api/taskAttachments.serviceInterface.d.ts +118 -0
  91. package/dist/api/taskAttachments.serviceInterface.d.ts.map +1 -0
  92. package/dist/api/taskAttachments.serviceInterface.js +3 -0
  93. package/dist/api/taskAttachments.serviceInterface.js.map +1 -0
  94. package/dist/api/taskComments.service.d.ts +165 -0
  95. package/dist/api/taskComments.service.d.ts.map +1 -0
  96. package/dist/api/taskComments.service.js +386 -0
  97. package/dist/api/taskComments.service.js.map +1 -0
  98. package/dist/api/taskComments.serviceInterface.d.ts +91 -0
  99. package/dist/api/taskComments.serviceInterface.d.ts.map +1 -0
  100. package/dist/api/taskComments.serviceInterface.js +3 -0
  101. package/dist/api/taskComments.serviceInterface.js.map +1 -0
  102. package/dist/api/taskTag.service.d.ts +165 -0
  103. package/dist/api/taskTag.service.d.ts.map +1 -0
  104. package/dist/api/taskTag.service.js +390 -0
  105. package/dist/api/taskTag.service.js.map +1 -0
  106. package/dist/api/taskTag.serviceInterface.d.ts +93 -0
  107. package/dist/api/taskTag.serviceInterface.d.ts.map +1 -0
  108. package/dist/api/taskTag.serviceInterface.js +3 -0
  109. package/dist/api/taskTag.serviceInterface.js.map +1 -0
  110. package/dist/api/teams.service.d.ts +213 -0
  111. package/dist/api/teams.service.d.ts.map +1 -0
  112. package/dist/api/teams.service.js +504 -0
  113. package/dist/api/teams.service.js.map +1 -0
  114. package/dist/api/teams.serviceInterface.d.ts +116 -0
  115. package/dist/api/teams.serviceInterface.d.ts.map +1 -0
  116. package/dist/api/teams.serviceInterface.js +3 -0
  117. package/dist/api/teams.serviceInterface.js.map +1 -0
  118. package/dist/api/users.service.d.ts +43 -0
  119. package/dist/api/users.service.d.ts.map +1 -0
  120. package/dist/api/users.service.js +90 -0
  121. package/dist/api/users.service.js.map +1 -0
  122. package/dist/api/users.serviceInterface.d.ts +24 -0
  123. package/dist/api/users.serviceInterface.d.ts.map +1 -0
  124. package/dist/api/users.serviceInterface.js +3 -0
  125. package/dist/api/users.serviceInterface.js.map +1 -0
  126. package/dist/api/workingDays.service.d.ts +117 -0
  127. package/dist/api/workingDays.service.d.ts.map +1 -0
  128. package/dist/api/workingDays.service.js +276 -0
  129. package/dist/api/workingDays.service.js.map +1 -0
  130. package/dist/api/workingDays.serviceInterface.d.ts +69 -0
  131. package/dist/api/workingDays.serviceInterface.d.ts.map +1 -0
  132. package/dist/api/workingDays.serviceInterface.js +3 -0
  133. package/dist/api/workingDays.serviceInterface.js.map +1 -0
  134. package/dist/api.base.service.d.ts +22 -0
  135. package/dist/api.base.service.d.ts.map +1 -0
  136. package/dist/api.base.service.js +99 -0
  137. package/dist/api.base.service.js.map +1 -0
  138. package/dist/api.module.d.ts +8 -0
  139. package/dist/api.module.d.ts.map +1 -0
  140. package/dist/api.module.js +51 -0
  141. package/dist/api.module.js.map +1 -0
  142. package/dist/configuration.d.ts +108 -0
  143. package/dist/configuration.d.ts.map +1 -0
  144. package/dist/configuration.js +179 -0
  145. package/dist/configuration.js.map +1 -0
  146. package/dist/encoder.d.ts +18 -0
  147. package/dist/encoder.d.ts.map +1 -0
  148. package/dist/encoder.js +38 -0
  149. package/dist/encoder.js.map +1 -0
  150. package/dist/index.d.ts +8 -0
  151. package/dist/index.d.ts.map +1 -0
  152. package/dist/index.js +24 -0
  153. package/dist/index.js.map +1 -0
  154. package/dist/model/authToken.d.ts +15 -0
  155. package/dist/model/authToken.d.ts.map +1 -0
  156. package/dist/model/authToken.js +12 -0
  157. package/dist/model/authToken.js.map +1 -0
  158. package/dist/model/blankEnum.d.ts +14 -0
  159. package/dist/model/blankEnum.d.ts.map +1 -0
  160. package/dist/model/blankEnum.js +16 -0
  161. package/dist/model/blankEnum.js.map +1 -0
  162. package/dist/model/company.d.ts +18 -0
  163. package/dist/model/company.d.ts.map +1 -0
  164. package/dist/model/company.js +12 -0
  165. package/dist/model/company.js.map +1 -0
  166. package/dist/model/companyPendingInvites200ResponseInner.d.ts +17 -0
  167. package/dist/model/companyPendingInvites200ResponseInner.d.ts.map +1 -0
  168. package/dist/model/companyPendingInvites200ResponseInner.js +3 -0
  169. package/dist/model/companyPendingInvites200ResponseInner.js.map +1 -0
  170. package/dist/model/companyPendingInvites200ResponseInnerInvitedBy.d.ts +14 -0
  171. package/dist/model/companyPendingInvites200ResponseInnerInvitedBy.d.ts.map +1 -0
  172. package/dist/model/companyPendingInvites200ResponseInnerInvitedBy.js +12 -0
  173. package/dist/model/companyPendingInvites200ResponseInnerInvitedBy.js.map +1 -0
  174. package/dist/model/companyRevokeInvite400Response.d.ts +13 -0
  175. package/dist/model/companyRevokeInvite400Response.d.ts.map +1 -0
  176. package/dist/model/companyRevokeInvite400Response.js +12 -0
  177. package/dist/model/companyRevokeInvite400Response.js.map +1 -0
  178. package/dist/model/companyRevokeInviteRequest.d.ts +13 -0
  179. package/dist/model/companyRevokeInviteRequest.d.ts.map +1 -0
  180. package/dist/model/companyRevokeInviteRequest.js +12 -0
  181. package/dist/model/companyRevokeInviteRequest.js.map +1 -0
  182. package/dist/model/companyUpdate.d.ts +20 -0
  183. package/dist/model/companyUpdate.d.ts.map +1 -0
  184. package/dist/model/companyUpdate.js +12 -0
  185. package/dist/model/companyUpdate.js.map +1 -0
  186. package/dist/model/companyUser.d.ts +26 -0
  187. package/dist/model/companyUser.d.ts.map +1 -0
  188. package/dist/model/companyUser.js +3 -0
  189. package/dist/model/companyUser.js.map +1 -0
  190. package/dist/model/companyWorkingDays.d.ts +21 -0
  191. package/dist/model/companyWorkingDays.d.ts.map +1 -0
  192. package/dist/model/companyWorkingDays.js +12 -0
  193. package/dist/model/companyWorkingDays.js.map +1 -0
  194. package/dist/model/day.d.ts +13 -0
  195. package/dist/model/day.d.ts.map +1 -0
  196. package/dist/model/day.js +12 -0
  197. package/dist/model/day.js.map +1 -0
  198. package/dist/model/dayResume.d.ts +36 -0
  199. package/dist/model/dayResume.d.ts.map +1 -0
  200. package/dist/model/dayResume.js +12 -0
  201. package/dist/model/dayResume.js.map +1 -0
  202. package/dist/model/directionEnum.d.ts +18 -0
  203. package/dist/model/directionEnum.d.ts.map +1 -0
  204. package/dist/model/directionEnum.js +20 -0
  205. package/dist/model/directionEnum.js.map +1 -0
  206. package/dist/model/durationUnitEnum.d.ts +23 -0
  207. package/dist/model/durationUnitEnum.d.ts.map +1 -0
  208. package/dist/model/durationUnitEnum.js +25 -0
  209. package/dist/model/durationUnitEnum.js.map +1 -0
  210. package/dist/model/firebaseDeviceToken.d.ts +15 -0
  211. package/dist/model/firebaseDeviceToken.d.ts.map +1 -0
  212. package/dist/model/firebaseDeviceToken.js +12 -0
  213. package/dist/model/firebaseDeviceToken.js.map +1 -0
  214. package/dist/model/models.d.ts +91 -0
  215. package/dist/model/models.d.ts.map +1 -0
  216. package/dist/model/models.js +107 -0
  217. package/dist/model/models.js.map +1 -0
  218. package/dist/model/myNotification.d.ts +20 -0
  219. package/dist/model/myNotification.d.ts.map +1 -0
  220. package/dist/model/myNotification.js +12 -0
  221. package/dist/model/myNotification.js.map +1 -0
  222. package/dist/model/nullEnum.d.ts +12 -0
  223. package/dist/model/nullEnum.d.ts.map +1 -0
  224. package/dist/model/nullEnum.js +14 -0
  225. package/dist/model/nullEnum.js.map +1 -0
  226. package/dist/model/onboardingAcceptInvite200Response.d.ts +14 -0
  227. package/dist/model/onboardingAcceptInvite200Response.d.ts.map +1 -0
  228. package/dist/model/onboardingAcceptInvite200Response.js +12 -0
  229. package/dist/model/onboardingAcceptInvite200Response.js.map +1 -0
  230. package/dist/model/onboardingAcceptInviteRequest.d.ts +16 -0
  231. package/dist/model/onboardingAcceptInviteRequest.d.ts.map +1 -0
  232. package/dist/model/onboardingAcceptInviteRequest.js +12 -0
  233. package/dist/model/onboardingAcceptInviteRequest.js.map +1 -0
  234. package/dist/model/onboardingSendWelcomeEmail200Response.d.ts +13 -0
  235. package/dist/model/onboardingSendWelcomeEmail200Response.d.ts.map +1 -0
  236. package/dist/model/onboardingSendWelcomeEmail200Response.js +12 -0
  237. package/dist/model/onboardingSendWelcomeEmail200Response.js.map +1 -0
  238. package/dist/model/paginatedCompanyList.d.ts +17 -0
  239. package/dist/model/paginatedCompanyList.d.ts.map +1 -0
  240. package/dist/model/paginatedCompanyList.js +3 -0
  241. package/dist/model/paginatedCompanyList.js.map +1 -0
  242. package/dist/model/paginatedCompanyUserList.d.ts +17 -0
  243. package/dist/model/paginatedCompanyUserList.d.ts.map +1 -0
  244. package/dist/model/paginatedCompanyUserList.js +3 -0
  245. package/dist/model/paginatedCompanyUserList.js.map +1 -0
  246. package/dist/model/paginatedCompanyWorkingDaysList.d.ts +17 -0
  247. package/dist/model/paginatedCompanyWorkingDaysList.d.ts.map +1 -0
  248. package/dist/model/paginatedCompanyWorkingDaysList.js +3 -0
  249. package/dist/model/paginatedCompanyWorkingDaysList.js.map +1 -0
  250. package/dist/model/paginatedDayResumeList.d.ts +17 -0
  251. package/dist/model/paginatedDayResumeList.d.ts.map +1 -0
  252. package/dist/model/paginatedDayResumeList.js +3 -0
  253. package/dist/model/paginatedDayResumeList.js.map +1 -0
  254. package/dist/model/paginatedFirebaseDeviceTokenList.d.ts +17 -0
  255. package/dist/model/paginatedFirebaseDeviceTokenList.d.ts.map +1 -0
  256. package/dist/model/paginatedFirebaseDeviceTokenList.js +3 -0
  257. package/dist/model/paginatedFirebaseDeviceTokenList.js.map +1 -0
  258. package/dist/model/paginatedMyNotificationList.d.ts +17 -0
  259. package/dist/model/paginatedMyNotificationList.d.ts.map +1 -0
  260. package/dist/model/paginatedMyNotificationList.js +3 -0
  261. package/dist/model/paginatedMyNotificationList.js.map +1 -0
  262. package/dist/model/paginatedPersonalScheduleRuleList.d.ts +17 -0
  263. package/dist/model/paginatedPersonalScheduleRuleList.d.ts.map +1 -0
  264. package/dist/model/paginatedPersonalScheduleRuleList.js +3 -0
  265. package/dist/model/paginatedPersonalScheduleRuleList.js.map +1 -0
  266. package/dist/model/paginatedPersonalScheduleVoiceList.d.ts +17 -0
  267. package/dist/model/paginatedPersonalScheduleVoiceList.d.ts.map +1 -0
  268. package/dist/model/paginatedPersonalScheduleVoiceList.js +3 -0
  269. package/dist/model/paginatedPersonalScheduleVoiceList.js.map +1 -0
  270. package/dist/model/paginatedProjectList.d.ts +17 -0
  271. package/dist/model/paginatedProjectList.d.ts.map +1 -0
  272. package/dist/model/paginatedProjectList.js +3 -0
  273. package/dist/model/paginatedProjectList.js.map +1 -0
  274. package/dist/model/paginatedProjectTaskStatusList.d.ts +17 -0
  275. package/dist/model/paginatedProjectTaskStatusList.d.ts.map +1 -0
  276. package/dist/model/paginatedProjectTaskStatusList.js +3 -0
  277. package/dist/model/paginatedProjectTaskStatusList.js.map +1 -0
  278. package/dist/model/paginatedProjectUserList.d.ts +17 -0
  279. package/dist/model/paginatedProjectUserList.d.ts.map +1 -0
  280. package/dist/model/paginatedProjectUserList.js +3 -0
  281. package/dist/model/paginatedProjectUserList.js.map +1 -0
  282. package/dist/model/paginatedSprintList.d.ts +17 -0
  283. package/dist/model/paginatedSprintList.d.ts.map +1 -0
  284. package/dist/model/paginatedSprintList.js +3 -0
  285. package/dist/model/paginatedSprintList.js.map +1 -0
  286. package/dist/model/paginatedSprintTaskLaneList.d.ts +17 -0
  287. package/dist/model/paginatedSprintTaskLaneList.d.ts.map +1 -0
  288. package/dist/model/paginatedSprintTaskLaneList.js +3 -0
  289. package/dist/model/paginatedSprintTaskLaneList.js.map +1 -0
  290. package/dist/model/paginatedTaskAssignementList.d.ts +17 -0
  291. package/dist/model/paginatedTaskAssignementList.d.ts.map +1 -0
  292. package/dist/model/paginatedTaskAssignementList.js +3 -0
  293. package/dist/model/paginatedTaskAssignementList.js.map +1 -0
  294. package/dist/model/paginatedTaskAttachmentList.d.ts +17 -0
  295. package/dist/model/paginatedTaskAttachmentList.d.ts.map +1 -0
  296. package/dist/model/paginatedTaskAttachmentList.js +3 -0
  297. package/dist/model/paginatedTaskAttachmentList.js.map +1 -0
  298. package/dist/model/paginatedTaskCommentList.d.ts +17 -0
  299. package/dist/model/paginatedTaskCommentList.d.ts.map +1 -0
  300. package/dist/model/paginatedTaskCommentList.js +3 -0
  301. package/dist/model/paginatedTaskCommentList.js.map +1 -0
  302. package/dist/model/paginatedTaskList.d.ts +17 -0
  303. package/dist/model/paginatedTaskList.d.ts.map +1 -0
  304. package/dist/model/paginatedTaskList.js +3 -0
  305. package/dist/model/paginatedTaskList.js.map +1 -0
  306. package/dist/model/paginatedTaskTagList.d.ts +17 -0
  307. package/dist/model/paginatedTaskTagList.d.ts.map +1 -0
  308. package/dist/model/paginatedTaskTagList.js +3 -0
  309. package/dist/model/paginatedTaskTagList.js.map +1 -0
  310. package/dist/model/paginatedTeamList.d.ts +17 -0
  311. package/dist/model/paginatedTeamList.d.ts.map +1 -0
  312. package/dist/model/paginatedTeamList.js +3 -0
  313. package/dist/model/paginatedTeamList.js.map +1 -0
  314. package/dist/model/paginatedTicketWidgetListList.d.ts +17 -0
  315. package/dist/model/paginatedTicketWidgetListList.d.ts.map +1 -0
  316. package/dist/model/paginatedTicketWidgetListList.js +3 -0
  317. package/dist/model/paginatedTicketWidgetListList.js.map +1 -0
  318. package/dist/model/paginatedUserVersionList.d.ts +17 -0
  319. package/dist/model/paginatedUserVersionList.d.ts.map +1 -0
  320. package/dist/model/paginatedUserVersionList.js +3 -0
  321. package/dist/model/paginatedUserVersionList.js.map +1 -0
  322. package/dist/model/patchedCompanyUpdate.d.ts +20 -0
  323. package/dist/model/patchedCompanyUpdate.d.ts.map +1 -0
  324. package/dist/model/patchedCompanyUpdate.js +12 -0
  325. package/dist/model/patchedCompanyUpdate.js.map +1 -0
  326. package/dist/model/patchedCompanyUser.d.ts +26 -0
  327. package/dist/model/patchedCompanyUser.d.ts.map +1 -0
  328. package/dist/model/patchedCompanyUser.js +3 -0
  329. package/dist/model/patchedCompanyUser.js.map +1 -0
  330. package/dist/model/patchedCompanyWorkingDays.d.ts +21 -0
  331. package/dist/model/patchedCompanyWorkingDays.d.ts.map +1 -0
  332. package/dist/model/patchedCompanyWorkingDays.js +12 -0
  333. package/dist/model/patchedCompanyWorkingDays.js.map +1 -0
  334. package/dist/model/patchedDayResume.d.ts +36 -0
  335. package/dist/model/patchedDayResume.d.ts.map +1 -0
  336. package/dist/model/patchedDayResume.js +12 -0
  337. package/dist/model/patchedDayResume.js.map +1 -0
  338. package/dist/model/patchedPersonalScheduleRule.d.ts +28 -0
  339. package/dist/model/patchedPersonalScheduleRule.d.ts.map +1 -0
  340. package/dist/model/patchedPersonalScheduleRule.js +3 -0
  341. package/dist/model/patchedPersonalScheduleRule.js.map +1 -0
  342. package/dist/model/patchedPersonalScheduleVoice.d.ts +23 -0
  343. package/dist/model/patchedPersonalScheduleVoice.d.ts.map +1 -0
  344. package/dist/model/patchedPersonalScheduleVoice.js +12 -0
  345. package/dist/model/patchedPersonalScheduleVoice.js.map +1 -0
  346. package/dist/model/patchedProject.d.ts +20 -0
  347. package/dist/model/patchedProject.d.ts.map +1 -0
  348. package/dist/model/patchedProject.js +12 -0
  349. package/dist/model/patchedProject.js.map +1 -0
  350. package/dist/model/patchedProjectTaskStatus.d.ts +20 -0
  351. package/dist/model/patchedProjectTaskStatus.d.ts.map +1 -0
  352. package/dist/model/patchedProjectTaskStatus.js +12 -0
  353. package/dist/model/patchedProjectTaskStatus.js.map +1 -0
  354. package/dist/model/patchedProjectUser.d.ts +31 -0
  355. package/dist/model/patchedProjectUser.d.ts.map +1 -0
  356. package/dist/model/patchedProjectUser.js +15 -0
  357. package/dist/model/patchedProjectUser.js.map +1 -0
  358. package/dist/model/patchedSprint.d.ts +27 -0
  359. package/dist/model/patchedSprint.d.ts.map +1 -0
  360. package/dist/model/patchedSprint.js +3 -0
  361. package/dist/model/patchedSprint.js.map +1 -0
  362. package/dist/model/patchedTask.d.ts +43 -0
  363. package/dist/model/patchedTask.d.ts.map +1 -0
  364. package/dist/model/patchedTask.js +3 -0
  365. package/dist/model/patchedTask.js.map +1 -0
  366. package/dist/model/patchedTaskAssignement.d.ts +19 -0
  367. package/dist/model/patchedTaskAssignement.d.ts.map +1 -0
  368. package/dist/model/patchedTaskAssignement.js +3 -0
  369. package/dist/model/patchedTaskAssignement.js.map +1 -0
  370. package/dist/model/patchedTaskComment.d.ts +23 -0
  371. package/dist/model/patchedTaskComment.d.ts.map +1 -0
  372. package/dist/model/patchedTaskComment.js +3 -0
  373. package/dist/model/patchedTaskComment.js.map +1 -0
  374. package/dist/model/patchedTaskTag.d.ts +15 -0
  375. package/dist/model/patchedTaskTag.d.ts.map +1 -0
  376. package/dist/model/patchedTaskTag.js +12 -0
  377. package/dist/model/patchedTaskTag.js.map +1 -0
  378. package/dist/model/patchedTeam.d.ts +17 -0
  379. package/dist/model/patchedTeam.d.ts.map +1 -0
  380. package/dist/model/patchedTeam.js +12 -0
  381. package/dist/model/patchedTeam.js.map +1 -0
  382. package/dist/model/patchedTicketWidgetUpdate.d.ts +21 -0
  383. package/dist/model/patchedTicketWidgetUpdate.d.ts.map +1 -0
  384. package/dist/model/patchedTicketWidgetUpdate.js +12 -0
  385. package/dist/model/patchedTicketWidgetUpdate.js.map +1 -0
  386. package/dist/model/personalScheduleRule.d.ts +28 -0
  387. package/dist/model/personalScheduleRule.d.ts.map +1 -0
  388. package/dist/model/personalScheduleRule.js +3 -0
  389. package/dist/model/personalScheduleRule.js.map +1 -0
  390. package/dist/model/personalScheduleVoice.d.ts +23 -0
  391. package/dist/model/personalScheduleVoice.d.ts.map +1 -0
  392. package/dist/model/personalScheduleVoice.js +12 -0
  393. package/dist/model/personalScheduleVoice.js.map +1 -0
  394. package/dist/model/priorityEnum.d.ts +21 -0
  395. package/dist/model/priorityEnum.d.ts.map +1 -0
  396. package/dist/model/priorityEnum.js +23 -0
  397. package/dist/model/priorityEnum.js.map +1 -0
  398. package/dist/model/project.d.ts +20 -0
  399. package/dist/model/project.d.ts.map +1 -0
  400. package/dist/model/project.js +12 -0
  401. package/dist/model/project.js.map +1 -0
  402. package/dist/model/projectTaskStatus.d.ts +20 -0
  403. package/dist/model/projectTaskStatus.d.ts.map +1 -0
  404. package/dist/model/projectTaskStatus.js +12 -0
  405. package/dist/model/projectTaskStatus.js.map +1 -0
  406. package/dist/model/projectUser.d.ts +31 -0
  407. package/dist/model/projectUser.d.ts.map +1 -0
  408. package/dist/model/projectUser.js +15 -0
  409. package/dist/model/projectUser.js.map +1 -0
  410. package/dist/model/roleEnum.d.ts +21 -0
  411. package/dist/model/roleEnum.d.ts.map +1 -0
  412. package/dist/model/roleEnum.js +23 -0
  413. package/dist/model/roleEnum.js.map +1 -0
  414. package/dist/model/sprint.d.ts +27 -0
  415. package/dist/model/sprint.d.ts.map +1 -0
  416. package/dist/model/sprint.js +3 -0
  417. package/dist/model/sprint.js.map +1 -0
  418. package/dist/model/sprintCloseRequest.d.ts +16 -0
  419. package/dist/model/sprintCloseRequest.d.ts.map +1 -0
  420. package/dist/model/sprintCloseRequest.js +12 -0
  421. package/dist/model/sprintCloseRequest.js.map +1 -0
  422. package/dist/model/sprintLaneMoveRequest.d.ts +16 -0
  423. package/dist/model/sprintLaneMoveRequest.d.ts.map +1 -0
  424. package/dist/model/sprintLaneMoveRequest.js +12 -0
  425. package/dist/model/sprintLaneMoveRequest.js.map +1 -0
  426. package/dist/model/sprintTaskLane.d.ts +18 -0
  427. package/dist/model/sprintTaskLane.d.ts.map +1 -0
  428. package/dist/model/sprintTaskLane.js +12 -0
  429. package/dist/model/sprintTaskLane.js.map +1 -0
  430. package/dist/model/stateEnum.d.ts +19 -0
  431. package/dist/model/stateEnum.d.ts.map +1 -0
  432. package/dist/model/stateEnum.js +21 -0
  433. package/dist/model/stateEnum.js.map +1 -0
  434. package/dist/model/statusEnum.d.ts +20 -0
  435. package/dist/model/statusEnum.d.ts.map +1 -0
  436. package/dist/model/statusEnum.js +22 -0
  437. package/dist/model/statusEnum.js.map +1 -0
  438. package/dist/model/task.d.ts +43 -0
  439. package/dist/model/task.d.ts.map +1 -0
  440. package/dist/model/task.js +3 -0
  441. package/dist/model/task.js.map +1 -0
  442. package/dist/model/taskAssignement.d.ts +19 -0
  443. package/dist/model/taskAssignement.d.ts.map +1 -0
  444. package/dist/model/taskAssignement.js +3 -0
  445. package/dist/model/taskAssignement.js.map +1 -0
  446. package/dist/model/taskAttachment.d.ts +23 -0
  447. package/dist/model/taskAttachment.d.ts.map +1 -0
  448. package/dist/model/taskAttachment.js +3 -0
  449. package/dist/model/taskAttachment.js.map +1 -0
  450. package/dist/model/taskComment.d.ts +23 -0
  451. package/dist/model/taskComment.d.ts.map +1 -0
  452. package/dist/model/taskComment.js +3 -0
  453. package/dist/model/taskComment.js.map +1 -0
  454. package/dist/model/taskMoveToSprint200Response.d.ts +14 -0
  455. package/dist/model/taskMoveToSprint200Response.d.ts.map +1 -0
  456. package/dist/model/taskMoveToSprint200Response.js +12 -0
  457. package/dist/model/taskMoveToSprint200Response.js.map +1 -0
  458. package/dist/model/taskMoveToSprintRequest.d.ts +17 -0
  459. package/dist/model/taskMoveToSprintRequest.d.ts.map +1 -0
  460. package/dist/model/taskMoveToSprintRequest.js +12 -0
  461. package/dist/model/taskMoveToSprintRequest.js.map +1 -0
  462. package/dist/model/taskRelated.d.ts +17 -0
  463. package/dist/model/taskRelated.d.ts.map +1 -0
  464. package/dist/model/taskRelated.js +3 -0
  465. package/dist/model/taskRelated.js.map +1 -0
  466. package/dist/model/taskTag.d.ts +15 -0
  467. package/dist/model/taskTag.d.ts.map +1 -0
  468. package/dist/model/taskTag.js +12 -0
  469. package/dist/model/taskTag.js.map +1 -0
  470. package/dist/model/team.d.ts +17 -0
  471. package/dist/model/team.d.ts.map +1 -0
  472. package/dist/model/team.js +12 -0
  473. package/dist/model/team.js.map +1 -0
  474. package/dist/model/teamEasy.d.ts +15 -0
  475. package/dist/model/teamEasy.d.ts.map +1 -0
  476. package/dist/model/teamEasy.js +12 -0
  477. package/dist/model/teamEasy.js.map +1 -0
  478. package/dist/model/ticketCategory.d.ts +14 -0
  479. package/dist/model/ticketCategory.d.ts.map +1 -0
  480. package/dist/model/ticketCategory.js +12 -0
  481. package/dist/model/ticketCategory.js.map +1 -0
  482. package/dist/model/ticketSubmit.d.ts +18 -0
  483. package/dist/model/ticketSubmit.d.ts.map +1 -0
  484. package/dist/model/ticketSubmit.js +12 -0
  485. package/dist/model/ticketSubmit.js.map +1 -0
  486. package/dist/model/ticketWidgetCreate.d.ts +22 -0
  487. package/dist/model/ticketWidgetCreate.d.ts.map +1 -0
  488. package/dist/model/ticketWidgetCreate.js +12 -0
  489. package/dist/model/ticketWidgetCreate.js.map +1 -0
  490. package/dist/model/ticketWidgetList.d.ts +24 -0
  491. package/dist/model/ticketWidgetList.d.ts.map +1 -0
  492. package/dist/model/ticketWidgetList.js +3 -0
  493. package/dist/model/ticketWidgetList.js.map +1 -0
  494. package/dist/model/ticketWidgetUpdate.d.ts +21 -0
  495. package/dist/model/ticketWidgetUpdate.d.ts.map +1 -0
  496. package/dist/model/ticketWidgetUpdate.js +12 -0
  497. package/dist/model/ticketWidgetUpdate.js.map +1 -0
  498. package/dist/model/ticketsSubmit201Response.d.ts +14 -0
  499. package/dist/model/ticketsSubmit201Response.d.ts.map +1 -0
  500. package/dist/model/ticketsSubmit201Response.js +12 -0
  501. package/dist/model/ticketsSubmit201Response.js.map +1 -0
  502. package/dist/model/tierEnum.d.ts +19 -0
  503. package/dist/model/tierEnum.d.ts.map +1 -0
  504. package/dist/model/tierEnum.js +21 -0
  505. package/dist/model/tierEnum.js.map +1 -0
  506. package/dist/model/user.d.ts +25 -0
  507. package/dist/model/user.d.ts.map +1 -0
  508. package/dist/model/user.js +12 -0
  509. package/dist/model/user.js.map +1 -0
  510. package/dist/model/userId.d.ts +13 -0
  511. package/dist/model/userId.d.ts.map +1 -0
  512. package/dist/model/userId.js +12 -0
  513. package/dist/model/userId.js.map +1 -0
  514. package/dist/model/userVersion.d.ts +31 -0
  515. package/dist/model/userVersion.d.ts.map +1 -0
  516. package/dist/model/userVersion.js +3 -0
  517. package/dist/model/userVersion.js.map +1 -0
  518. package/dist/param.d.ts +38 -0
  519. package/dist/param.d.ts.map +1 -0
  520. package/dist/param.js +3 -0
  521. package/dist/param.js.map +1 -0
  522. package/dist/provide-api.d.ts +4 -0
  523. package/dist/provide-api.d.ts.map +1 -0
  524. package/dist/provide-api.js +19 -0
  525. package/dist/provide-api.js.map +1 -0
  526. package/dist/query.params.d.ts +62 -0
  527. package/dist/query.params.d.ts.map +1 -0
  528. package/dist/query.params.js +132 -0
  529. package/dist/query.params.js.map +1 -0
  530. package/dist/variables.d.ts +9 -0
  531. package/dist/variables.d.ts.map +1 -0
  532. package/dist/variables.js +12 -0
  533. package/dist/variables.js.map +1 -0
  534. package/package.json +48 -0
@@ -0,0 +1,3304 @@
1
+ "use strict";
2
+ /**
3
+ * ProWoDo API
4
+ *
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ /* tslint:disable:no-unused-variable member-ordering */
12
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
15
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
16
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
17
+ };
18
+ var __metadata = (this && this.__metadata) || function (k, v) {
19
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
+ };
21
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
22
+ return function (target, key) { decorator(target, key, paramIndex); }
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.ApiService = void 0;
26
+ const core_1 = require("@angular/core");
27
+ const http_1 = require("@angular/common/http");
28
+ const query_params_1 = require("../query.params");
29
+ // @ts-ignore
30
+ const variables_1 = require("../variables");
31
+ const configuration_1 = require("../configuration");
32
+ const api_base_service_1 = require("../api.base.service");
33
+ let ApiService = class ApiService extends api_base_service_1.BaseService {
34
+ httpClient;
35
+ constructor(httpClient, basePath, configuration) {
36
+ super(basePath, configuration);
37
+ this.httpClient = httpClient;
38
+ }
39
+ apiAiIntegrationsChatgptConfigRetrieve(observe = 'body', reportProgress = false, options) {
40
+ let localVarHeaders = this.defaultHeaders;
41
+ // authentication (FirebaseAuthentication) required
42
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
43
+ // authentication (basicAuth) required
44
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
45
+ // authentication (cookieAuth) required
46
+ // authentication (tokenAuth) required
47
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
48
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
49
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
50
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
51
+ }
52
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
53
+ const localVarTransferCache = options?.transferCache ?? true;
54
+ let responseType_ = 'json';
55
+ if (localVarHttpHeaderAcceptSelected) {
56
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
57
+ responseType_ = 'text';
58
+ }
59
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
60
+ responseType_ = 'json';
61
+ }
62
+ else {
63
+ responseType_ = 'blob';
64
+ }
65
+ }
66
+ let localVarPath = `/api/ai-integrations/chatgpt/config/`;
67
+ const { basePath, withCredentials } = this.configuration;
68
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
69
+ context: localVarHttpContext,
70
+ responseType: responseType_,
71
+ ...(withCredentials ? { withCredentials } : {}),
72
+ headers: localVarHeaders,
73
+ observe: observe,
74
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
75
+ reportProgress: reportProgress
76
+ });
77
+ }
78
+ apiAiIntegrationsChatgptRegisterCallbackCreate(observe = 'body', reportProgress = false, options) {
79
+ let localVarHeaders = this.defaultHeaders;
80
+ // authentication (FirebaseAuthentication) required
81
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
82
+ // authentication (basicAuth) required
83
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
84
+ // authentication (cookieAuth) required
85
+ // authentication (tokenAuth) required
86
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
87
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
88
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
89
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
90
+ }
91
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
92
+ const localVarTransferCache = options?.transferCache ?? true;
93
+ let responseType_ = 'json';
94
+ if (localVarHttpHeaderAcceptSelected) {
95
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
96
+ responseType_ = 'text';
97
+ }
98
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
99
+ responseType_ = 'json';
100
+ }
101
+ else {
102
+ responseType_ = 'blob';
103
+ }
104
+ }
105
+ let localVarPath = `/api/ai-integrations/chatgpt/register-callback/`;
106
+ const { basePath, withCredentials } = this.configuration;
107
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
108
+ context: localVarHttpContext,
109
+ responseType: responseType_,
110
+ ...(withCredentials ? { withCredentials } : {}),
111
+ headers: localVarHeaders,
112
+ observe: observe,
113
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
114
+ reportProgress: reportProgress
115
+ });
116
+ }
117
+ apiAiIntegrationsRevokeDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
118
+ const clientId = requestParameters?.clientId;
119
+ if (clientId === null || clientId === undefined) {
120
+ throw new Error('Required parameter clientId was null or undefined when calling apiAiIntegrationsRevokeDestroy.');
121
+ }
122
+ let localVarHeaders = this.defaultHeaders;
123
+ // authentication (FirebaseAuthentication) required
124
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
125
+ // authentication (basicAuth) required
126
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
127
+ // authentication (cookieAuth) required
128
+ // authentication (tokenAuth) required
129
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
130
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
131
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
132
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
133
+ }
134
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
135
+ const localVarTransferCache = options?.transferCache ?? true;
136
+ let responseType_ = 'json';
137
+ if (localVarHttpHeaderAcceptSelected) {
138
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
139
+ responseType_ = 'text';
140
+ }
141
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
142
+ responseType_ = 'json';
143
+ }
144
+ else {
145
+ responseType_ = 'blob';
146
+ }
147
+ }
148
+ let localVarPath = `/api/ai-integrations/${this.configuration.encodeParam({ name: "clientId", value: clientId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/revoke/`;
149
+ const { basePath, withCredentials } = this.configuration;
150
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
151
+ context: localVarHttpContext,
152
+ responseType: responseType_,
153
+ ...(withCredentials ? { withCredentials } : {}),
154
+ headers: localVarHeaders,
155
+ observe: observe,
156
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
157
+ reportProgress: reportProgress
158
+ });
159
+ }
160
+ apiAiIntegrationsStatusRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
161
+ const clientId = requestParameters?.clientId;
162
+ if (clientId === null || clientId === undefined) {
163
+ throw new Error('Required parameter clientId was null or undefined when calling apiAiIntegrationsStatusRetrieve.');
164
+ }
165
+ let localVarHeaders = this.defaultHeaders;
166
+ // authentication (FirebaseAuthentication) required
167
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
168
+ // authentication (basicAuth) required
169
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
170
+ // authentication (cookieAuth) required
171
+ // authentication (tokenAuth) required
172
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
173
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
174
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
175
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
176
+ }
177
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
178
+ const localVarTransferCache = options?.transferCache ?? true;
179
+ let responseType_ = 'json';
180
+ if (localVarHttpHeaderAcceptSelected) {
181
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
182
+ responseType_ = 'text';
183
+ }
184
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
185
+ responseType_ = 'json';
186
+ }
187
+ else {
188
+ responseType_ = 'blob';
189
+ }
190
+ }
191
+ let localVarPath = `/api/ai-integrations/${this.configuration.encodeParam({ name: "clientId", value: clientId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status/`;
192
+ const { basePath, withCredentials } = this.configuration;
193
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
194
+ context: localVarHttpContext,
195
+ responseType: responseType_,
196
+ ...(withCredentials ? { withCredentials } : {}),
197
+ headers: localVarHeaders,
198
+ observe: observe,
199
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
200
+ reportProgress: reportProgress
201
+ });
202
+ }
203
+ apiAiIntegrationsTokenCreate(requestParameters, observe = 'body', reportProgress = false, options) {
204
+ const clientId = requestParameters?.clientId;
205
+ if (clientId === null || clientId === undefined) {
206
+ throw new Error('Required parameter clientId was null or undefined when calling apiAiIntegrationsTokenCreate.');
207
+ }
208
+ let localVarHeaders = this.defaultHeaders;
209
+ // authentication (FirebaseAuthentication) required
210
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
211
+ // authentication (basicAuth) required
212
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
213
+ // authentication (cookieAuth) required
214
+ // authentication (tokenAuth) required
215
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
216
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
217
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
218
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
219
+ }
220
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
221
+ const localVarTransferCache = options?.transferCache ?? true;
222
+ let responseType_ = 'json';
223
+ if (localVarHttpHeaderAcceptSelected) {
224
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
225
+ responseType_ = 'text';
226
+ }
227
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
228
+ responseType_ = 'json';
229
+ }
230
+ else {
231
+ responseType_ = 'blob';
232
+ }
233
+ }
234
+ let localVarPath = `/api/ai-integrations/${this.configuration.encodeParam({ name: "clientId", value: clientId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/token/`;
235
+ const { basePath, withCredentials } = this.configuration;
236
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
237
+ context: localVarHttpContext,
238
+ responseType: responseType_,
239
+ ...(withCredentials ? { withCredentials } : {}),
240
+ headers: localVarHeaders,
241
+ observe: observe,
242
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
243
+ reportProgress: reportProgress
244
+ });
245
+ }
246
+ apiProjectUserCreate(requestParameters, observe = 'body', reportProgress = false, options) {
247
+ const companyId = requestParameters?.companyId;
248
+ if (companyId === null || companyId === undefined) {
249
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserCreate.');
250
+ }
251
+ const projectUser = requestParameters?.projectUser;
252
+ let localVarHeaders = this.defaultHeaders;
253
+ // authentication (FirebaseAuthentication) required
254
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
255
+ // authentication (basicAuth) required
256
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
257
+ // authentication (cookieAuth) required
258
+ // authentication (tokenAuth) required
259
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
260
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
261
+ 'application/json'
262
+ ]);
263
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
264
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
265
+ }
266
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
267
+ const localVarTransferCache = options?.transferCache ?? true;
268
+ // to determine the Content-Type header
269
+ const consumes = [
270
+ 'application/json',
271
+ 'application/x-www-form-urlencoded',
272
+ 'multipart/form-data'
273
+ ];
274
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
275
+ if (httpContentTypeSelected !== undefined) {
276
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
277
+ }
278
+ let responseType_ = 'json';
279
+ if (localVarHttpHeaderAcceptSelected) {
280
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
281
+ responseType_ = 'text';
282
+ }
283
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
284
+ responseType_ = 'json';
285
+ }
286
+ else {
287
+ responseType_ = 'blob';
288
+ }
289
+ }
290
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/`;
291
+ const { basePath, withCredentials } = this.configuration;
292
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
293
+ context: localVarHttpContext,
294
+ body: projectUser,
295
+ responseType: responseType_,
296
+ ...(withCredentials ? { withCredentials } : {}),
297
+ headers: localVarHeaders,
298
+ observe: observe,
299
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
300
+ reportProgress: reportProgress
301
+ });
302
+ }
303
+ apiProjectUserDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
304
+ const companyId = requestParameters?.companyId;
305
+ if (companyId === null || companyId === undefined) {
306
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserDestroy.');
307
+ }
308
+ const id = requestParameters?.id;
309
+ if (id === null || id === undefined) {
310
+ throw new Error('Required parameter id was null or undefined when calling apiProjectUserDestroy.');
311
+ }
312
+ let localVarHeaders = this.defaultHeaders;
313
+ // authentication (FirebaseAuthentication) required
314
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
315
+ // authentication (basicAuth) required
316
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
317
+ // authentication (cookieAuth) required
318
+ // authentication (tokenAuth) required
319
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
320
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
321
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
322
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
323
+ }
324
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
325
+ const localVarTransferCache = options?.transferCache ?? true;
326
+ let responseType_ = 'json';
327
+ if (localVarHttpHeaderAcceptSelected) {
328
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
329
+ responseType_ = 'text';
330
+ }
331
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
332
+ responseType_ = 'json';
333
+ }
334
+ else {
335
+ responseType_ = 'blob';
336
+ }
337
+ }
338
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
339
+ const { basePath, withCredentials } = this.configuration;
340
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
341
+ context: localVarHttpContext,
342
+ responseType: responseType_,
343
+ ...(withCredentials ? { withCredentials } : {}),
344
+ headers: localVarHeaders,
345
+ observe: observe,
346
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
347
+ reportProgress: reportProgress
348
+ });
349
+ }
350
+ apiProjectUserList(requestParameters, observe = 'body', reportProgress = false, options) {
351
+ const companyId = requestParameters?.companyId;
352
+ if (companyId === null || companyId === undefined) {
353
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserList.');
354
+ }
355
+ const ordering = requestParameters?.ordering;
356
+ const page = requestParameters?.page;
357
+ const pageSize = requestParameters?.pageSize;
358
+ const projectId = requestParameters?.projectId;
359
+ const role = requestParameters?.role;
360
+ const search = requestParameters?.search;
361
+ const userId = requestParameters?.userId;
362
+ let localVarQueryParameters = new query_params_1.OpenApiHttpParams(this.encoder);
363
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, query_params_1.QueryParamStyle.Form, true);
364
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, query_params_1.QueryParamStyle.Form, true);
365
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, query_params_1.QueryParamStyle.Form, true);
366
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'project_id', projectId, query_params_1.QueryParamStyle.Form, true);
367
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'role', role, query_params_1.QueryParamStyle.Form, true);
368
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, query_params_1.QueryParamStyle.Form, true);
369
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'user_id', userId, query_params_1.QueryParamStyle.Form, true);
370
+ let localVarHeaders = this.defaultHeaders;
371
+ // authentication (FirebaseAuthentication) required
372
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
373
+ // authentication (basicAuth) required
374
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
375
+ // authentication (cookieAuth) required
376
+ // authentication (tokenAuth) required
377
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
378
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
379
+ 'application/json'
380
+ ]);
381
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
382
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
383
+ }
384
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
385
+ const localVarTransferCache = options?.transferCache ?? true;
386
+ let responseType_ = 'json';
387
+ if (localVarHttpHeaderAcceptSelected) {
388
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
389
+ responseType_ = 'text';
390
+ }
391
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
392
+ responseType_ = 'json';
393
+ }
394
+ else {
395
+ responseType_ = 'blob';
396
+ }
397
+ }
398
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/`;
399
+ const { basePath, withCredentials } = this.configuration;
400
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
401
+ context: localVarHttpContext,
402
+ params: localVarQueryParameters.toHttpParams(),
403
+ responseType: responseType_,
404
+ ...(withCredentials ? { withCredentials } : {}),
405
+ headers: localVarHeaders,
406
+ observe: observe,
407
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
408
+ reportProgress: reportProgress
409
+ });
410
+ }
411
+ apiProjectUserPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
412
+ const companyId = requestParameters?.companyId;
413
+ if (companyId === null || companyId === undefined) {
414
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserPartialUpdate.');
415
+ }
416
+ const id = requestParameters?.id;
417
+ if (id === null || id === undefined) {
418
+ throw new Error('Required parameter id was null or undefined when calling apiProjectUserPartialUpdate.');
419
+ }
420
+ const patchedProjectUser = requestParameters?.patchedProjectUser;
421
+ let localVarHeaders = this.defaultHeaders;
422
+ // authentication (FirebaseAuthentication) required
423
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
424
+ // authentication (basicAuth) required
425
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
426
+ // authentication (cookieAuth) required
427
+ // authentication (tokenAuth) required
428
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
429
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
430
+ 'application/json'
431
+ ]);
432
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
433
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
434
+ }
435
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
436
+ const localVarTransferCache = options?.transferCache ?? true;
437
+ // to determine the Content-Type header
438
+ const consumes = [
439
+ 'application/json',
440
+ 'application/x-www-form-urlencoded',
441
+ 'multipart/form-data'
442
+ ];
443
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
444
+ if (httpContentTypeSelected !== undefined) {
445
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
446
+ }
447
+ let responseType_ = 'json';
448
+ if (localVarHttpHeaderAcceptSelected) {
449
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
450
+ responseType_ = 'text';
451
+ }
452
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
453
+ responseType_ = 'json';
454
+ }
455
+ else {
456
+ responseType_ = 'blob';
457
+ }
458
+ }
459
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
460
+ const { basePath, withCredentials } = this.configuration;
461
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
462
+ context: localVarHttpContext,
463
+ body: patchedProjectUser,
464
+ responseType: responseType_,
465
+ ...(withCredentials ? { withCredentials } : {}),
466
+ headers: localVarHeaders,
467
+ observe: observe,
468
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
469
+ reportProgress: reportProgress
470
+ });
471
+ }
472
+ apiProjectUserRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
473
+ const companyId = requestParameters?.companyId;
474
+ if (companyId === null || companyId === undefined) {
475
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserRetrieve.');
476
+ }
477
+ const id = requestParameters?.id;
478
+ if (id === null || id === undefined) {
479
+ throw new Error('Required parameter id was null or undefined when calling apiProjectUserRetrieve.');
480
+ }
481
+ let localVarHeaders = this.defaultHeaders;
482
+ // authentication (FirebaseAuthentication) required
483
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
484
+ // authentication (basicAuth) required
485
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
486
+ // authentication (cookieAuth) required
487
+ // authentication (tokenAuth) required
488
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
489
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
490
+ 'application/json'
491
+ ]);
492
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
493
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
494
+ }
495
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
496
+ const localVarTransferCache = options?.transferCache ?? true;
497
+ let responseType_ = 'json';
498
+ if (localVarHttpHeaderAcceptSelected) {
499
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
500
+ responseType_ = 'text';
501
+ }
502
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
503
+ responseType_ = 'json';
504
+ }
505
+ else {
506
+ responseType_ = 'blob';
507
+ }
508
+ }
509
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
510
+ const { basePath, withCredentials } = this.configuration;
511
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
512
+ context: localVarHttpContext,
513
+ responseType: responseType_,
514
+ ...(withCredentials ? { withCredentials } : {}),
515
+ headers: localVarHeaders,
516
+ observe: observe,
517
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
518
+ reportProgress: reportProgress
519
+ });
520
+ }
521
+ apiProjectUserUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
522
+ const companyId = requestParameters?.companyId;
523
+ if (companyId === null || companyId === undefined) {
524
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUserUpdate.');
525
+ }
526
+ const id = requestParameters?.id;
527
+ if (id === null || id === undefined) {
528
+ throw new Error('Required parameter id was null or undefined when calling apiProjectUserUpdate.');
529
+ }
530
+ const projectUser = requestParameters?.projectUser;
531
+ let localVarHeaders = this.defaultHeaders;
532
+ // authentication (FirebaseAuthentication) required
533
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
534
+ // authentication (basicAuth) required
535
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
536
+ // authentication (cookieAuth) required
537
+ // authentication (tokenAuth) required
538
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
539
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
540
+ 'application/json'
541
+ ]);
542
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
543
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
544
+ }
545
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
546
+ const localVarTransferCache = options?.transferCache ?? true;
547
+ // to determine the Content-Type header
548
+ const consumes = [
549
+ 'application/json',
550
+ 'application/x-www-form-urlencoded',
551
+ 'multipart/form-data'
552
+ ];
553
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
554
+ if (httpContentTypeSelected !== undefined) {
555
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
556
+ }
557
+ let responseType_ = 'json';
558
+ if (localVarHttpHeaderAcceptSelected) {
559
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
560
+ responseType_ = 'text';
561
+ }
562
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
563
+ responseType_ = 'json';
564
+ }
565
+ else {
566
+ responseType_ = 'blob';
567
+ }
568
+ }
569
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project-user/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
570
+ const { basePath, withCredentials } = this.configuration;
571
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
572
+ context: localVarHttpContext,
573
+ body: projectUser,
574
+ responseType: responseType_,
575
+ ...(withCredentials ? { withCredentials } : {}),
576
+ headers: localVarHeaders,
577
+ observe: observe,
578
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
579
+ reportProgress: reportProgress
580
+ });
581
+ }
582
+ apiProjectUsersCreate(requestParameters, observe = 'body', reportProgress = false, options) {
583
+ const companyId = requestParameters?.companyId;
584
+ if (companyId === null || companyId === undefined) {
585
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersCreate.');
586
+ }
587
+ const projectId = requestParameters?.projectId;
588
+ if (projectId === null || projectId === undefined) {
589
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersCreate.');
590
+ }
591
+ const projectUser = requestParameters?.projectUser;
592
+ let localVarHeaders = this.defaultHeaders;
593
+ // authentication (FirebaseAuthentication) required
594
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
595
+ // authentication (basicAuth) required
596
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
597
+ // authentication (cookieAuth) required
598
+ // authentication (tokenAuth) required
599
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
600
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
601
+ 'application/json'
602
+ ]);
603
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
604
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
605
+ }
606
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
607
+ const localVarTransferCache = options?.transferCache ?? true;
608
+ // to determine the Content-Type header
609
+ const consumes = [
610
+ 'application/json',
611
+ 'application/x-www-form-urlencoded',
612
+ 'multipart/form-data'
613
+ ];
614
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
615
+ if (httpContentTypeSelected !== undefined) {
616
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
617
+ }
618
+ let responseType_ = 'json';
619
+ if (localVarHttpHeaderAcceptSelected) {
620
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
621
+ responseType_ = 'text';
622
+ }
623
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
624
+ responseType_ = 'json';
625
+ }
626
+ else {
627
+ responseType_ = 'blob';
628
+ }
629
+ }
630
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/`;
631
+ const { basePath, withCredentials } = this.configuration;
632
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
633
+ context: localVarHttpContext,
634
+ body: projectUser,
635
+ responseType: responseType_,
636
+ ...(withCredentials ? { withCredentials } : {}),
637
+ headers: localVarHeaders,
638
+ observe: observe,
639
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
640
+ reportProgress: reportProgress
641
+ });
642
+ }
643
+ apiProjectUsersDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
644
+ const companyId = requestParameters?.companyId;
645
+ if (companyId === null || companyId === undefined) {
646
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersDestroy.');
647
+ }
648
+ const id = requestParameters?.id;
649
+ if (id === null || id === undefined) {
650
+ throw new Error('Required parameter id was null or undefined when calling apiProjectUsersDestroy.');
651
+ }
652
+ const projectId = requestParameters?.projectId;
653
+ if (projectId === null || projectId === undefined) {
654
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersDestroy.');
655
+ }
656
+ let localVarHeaders = this.defaultHeaders;
657
+ // authentication (FirebaseAuthentication) required
658
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
659
+ // authentication (basicAuth) required
660
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
661
+ // authentication (cookieAuth) required
662
+ // authentication (tokenAuth) required
663
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
664
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
665
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
666
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
667
+ }
668
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
669
+ const localVarTransferCache = options?.transferCache ?? true;
670
+ let responseType_ = 'json';
671
+ if (localVarHttpHeaderAcceptSelected) {
672
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
673
+ responseType_ = 'text';
674
+ }
675
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
676
+ responseType_ = 'json';
677
+ }
678
+ else {
679
+ responseType_ = 'blob';
680
+ }
681
+ }
682
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
683
+ const { basePath, withCredentials } = this.configuration;
684
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
685
+ context: localVarHttpContext,
686
+ responseType: responseType_,
687
+ ...(withCredentials ? { withCredentials } : {}),
688
+ headers: localVarHeaders,
689
+ observe: observe,
690
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
691
+ reportProgress: reportProgress
692
+ });
693
+ }
694
+ apiProjectUsersList(requestParameters, observe = 'body', reportProgress = false, options) {
695
+ const companyId = requestParameters?.companyId;
696
+ if (companyId === null || companyId === undefined) {
697
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersList.');
698
+ }
699
+ const projectId = requestParameters?.projectId;
700
+ if (projectId === null || projectId === undefined) {
701
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersList.');
702
+ }
703
+ const ordering = requestParameters?.ordering;
704
+ const page = requestParameters?.page;
705
+ const pageSize = requestParameters?.pageSize;
706
+ const projectId2 = requestParameters?.projectId2;
707
+ const role = requestParameters?.role;
708
+ const search = requestParameters?.search;
709
+ const userId = requestParameters?.userId;
710
+ let localVarQueryParameters = new query_params_1.OpenApiHttpParams(this.encoder);
711
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, query_params_1.QueryParamStyle.Form, true);
712
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, query_params_1.QueryParamStyle.Form, true);
713
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, query_params_1.QueryParamStyle.Form, true);
714
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'project_id', projectId2, query_params_1.QueryParamStyle.Form, true);
715
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'role', role, query_params_1.QueryParamStyle.Form, true);
716
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, query_params_1.QueryParamStyle.Form, true);
717
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'user_id', userId, query_params_1.QueryParamStyle.Form, true);
718
+ let localVarHeaders = this.defaultHeaders;
719
+ // authentication (FirebaseAuthentication) required
720
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
721
+ // authentication (basicAuth) required
722
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
723
+ // authentication (cookieAuth) required
724
+ // authentication (tokenAuth) required
725
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
726
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
727
+ 'application/json'
728
+ ]);
729
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
730
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
731
+ }
732
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
733
+ const localVarTransferCache = options?.transferCache ?? true;
734
+ let responseType_ = 'json';
735
+ if (localVarHttpHeaderAcceptSelected) {
736
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
737
+ responseType_ = 'text';
738
+ }
739
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
740
+ responseType_ = 'json';
741
+ }
742
+ else {
743
+ responseType_ = 'blob';
744
+ }
745
+ }
746
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/`;
747
+ const { basePath, withCredentials } = this.configuration;
748
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
749
+ context: localVarHttpContext,
750
+ params: localVarQueryParameters.toHttpParams(),
751
+ responseType: responseType_,
752
+ ...(withCredentials ? { withCredentials } : {}),
753
+ headers: localVarHeaders,
754
+ observe: observe,
755
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
756
+ reportProgress: reportProgress
757
+ });
758
+ }
759
+ apiProjectUsersPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
760
+ const companyId = requestParameters?.companyId;
761
+ if (companyId === null || companyId === undefined) {
762
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersPartialUpdate.');
763
+ }
764
+ const id = requestParameters?.id;
765
+ if (id === null || id === undefined) {
766
+ throw new Error('Required parameter id was null or undefined when calling apiProjectUsersPartialUpdate.');
767
+ }
768
+ const projectId = requestParameters?.projectId;
769
+ if (projectId === null || projectId === undefined) {
770
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersPartialUpdate.');
771
+ }
772
+ const patchedProjectUser = requestParameters?.patchedProjectUser;
773
+ let localVarHeaders = this.defaultHeaders;
774
+ // authentication (FirebaseAuthentication) required
775
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
776
+ // authentication (basicAuth) required
777
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
778
+ // authentication (cookieAuth) required
779
+ // authentication (tokenAuth) required
780
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
781
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
782
+ 'application/json'
783
+ ]);
784
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
785
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
786
+ }
787
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
788
+ const localVarTransferCache = options?.transferCache ?? true;
789
+ // to determine the Content-Type header
790
+ const consumes = [
791
+ 'application/json',
792
+ 'application/x-www-form-urlencoded',
793
+ 'multipart/form-data'
794
+ ];
795
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
796
+ if (httpContentTypeSelected !== undefined) {
797
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
798
+ }
799
+ let responseType_ = 'json';
800
+ if (localVarHttpHeaderAcceptSelected) {
801
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
802
+ responseType_ = 'text';
803
+ }
804
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
805
+ responseType_ = 'json';
806
+ }
807
+ else {
808
+ responseType_ = 'blob';
809
+ }
810
+ }
811
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
812
+ const { basePath, withCredentials } = this.configuration;
813
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
814
+ context: localVarHttpContext,
815
+ body: patchedProjectUser,
816
+ responseType: responseType_,
817
+ ...(withCredentials ? { withCredentials } : {}),
818
+ headers: localVarHeaders,
819
+ observe: observe,
820
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
821
+ reportProgress: reportProgress
822
+ });
823
+ }
824
+ apiProjectUsersRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
825
+ const companyId = requestParameters?.companyId;
826
+ if (companyId === null || companyId === undefined) {
827
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersRetrieve.');
828
+ }
829
+ const id = requestParameters?.id;
830
+ if (id === null || id === undefined) {
831
+ throw new Error('Required parameter id was null or undefined when calling apiProjectUsersRetrieve.');
832
+ }
833
+ const projectId = requestParameters?.projectId;
834
+ if (projectId === null || projectId === undefined) {
835
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersRetrieve.');
836
+ }
837
+ let localVarHeaders = this.defaultHeaders;
838
+ // authentication (FirebaseAuthentication) required
839
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
840
+ // authentication (basicAuth) required
841
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
842
+ // authentication (cookieAuth) required
843
+ // authentication (tokenAuth) required
844
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
845
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
846
+ 'application/json'
847
+ ]);
848
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
849
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
850
+ }
851
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
852
+ const localVarTransferCache = options?.transferCache ?? true;
853
+ let responseType_ = 'json';
854
+ if (localVarHttpHeaderAcceptSelected) {
855
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
856
+ responseType_ = 'text';
857
+ }
858
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
859
+ responseType_ = 'json';
860
+ }
861
+ else {
862
+ responseType_ = 'blob';
863
+ }
864
+ }
865
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
866
+ const { basePath, withCredentials } = this.configuration;
867
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
868
+ context: localVarHttpContext,
869
+ responseType: responseType_,
870
+ ...(withCredentials ? { withCredentials } : {}),
871
+ headers: localVarHeaders,
872
+ observe: observe,
873
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
874
+ reportProgress: reportProgress
875
+ });
876
+ }
877
+ apiProjectUsersUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
878
+ const companyId = requestParameters?.companyId;
879
+ if (companyId === null || companyId === undefined) {
880
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectUsersUpdate.');
881
+ }
882
+ const id = requestParameters?.id;
883
+ if (id === null || id === undefined) {
884
+ throw new Error('Required parameter id was null or undefined when calling apiProjectUsersUpdate.');
885
+ }
886
+ const projectId = requestParameters?.projectId;
887
+ if (projectId === null || projectId === undefined) {
888
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectUsersUpdate.');
889
+ }
890
+ const projectUser = requestParameters?.projectUser;
891
+ let localVarHeaders = this.defaultHeaders;
892
+ // authentication (FirebaseAuthentication) required
893
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
894
+ // authentication (basicAuth) required
895
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
896
+ // authentication (cookieAuth) required
897
+ // authentication (tokenAuth) required
898
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
899
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
900
+ 'application/json'
901
+ ]);
902
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
903
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
904
+ }
905
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
906
+ const localVarTransferCache = options?.transferCache ?? true;
907
+ // to determine the Content-Type header
908
+ const consumes = [
909
+ 'application/json',
910
+ 'application/x-www-form-urlencoded',
911
+ 'multipart/form-data'
912
+ ];
913
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
914
+ if (httpContentTypeSelected !== undefined) {
915
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
916
+ }
917
+ let responseType_ = 'json';
918
+ if (localVarHttpHeaderAcceptSelected) {
919
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
920
+ responseType_ = 'text';
921
+ }
922
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
923
+ responseType_ = 'json';
924
+ }
925
+ else {
926
+ responseType_ = 'blob';
927
+ }
928
+ }
929
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/project/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
930
+ const { basePath, withCredentials } = this.configuration;
931
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
932
+ context: localVarHttpContext,
933
+ body: projectUser,
934
+ responseType: responseType_,
935
+ ...(withCredentials ? { withCredentials } : {}),
936
+ headers: localVarHeaders,
937
+ observe: observe,
938
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
939
+ reportProgress: reportProgress
940
+ });
941
+ }
942
+ apiProjectsStatusTemplateCreate(requestParameters, observe = 'body', reportProgress = false, options) {
943
+ const companyId = requestParameters?.companyId;
944
+ if (companyId === null || companyId === undefined) {
945
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateCreate.');
946
+ }
947
+ const projectId = requestParameters?.projectId;
948
+ if (projectId === null || projectId === undefined) {
949
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateCreate.');
950
+ }
951
+ const projectTaskStatus = requestParameters?.projectTaskStatus;
952
+ if (projectTaskStatus === null || projectTaskStatus === undefined) {
953
+ throw new Error('Required parameter projectTaskStatus was null or undefined when calling apiProjectsStatusTemplateCreate.');
954
+ }
955
+ let localVarHeaders = this.defaultHeaders;
956
+ // authentication (FirebaseAuthentication) required
957
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
958
+ // authentication (basicAuth) required
959
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
960
+ // authentication (cookieAuth) required
961
+ // authentication (tokenAuth) required
962
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
963
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
964
+ 'application/json'
965
+ ]);
966
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
967
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
968
+ }
969
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
970
+ const localVarTransferCache = options?.transferCache ?? true;
971
+ // to determine the Content-Type header
972
+ const consumes = [
973
+ 'application/json',
974
+ 'application/x-www-form-urlencoded',
975
+ 'multipart/form-data'
976
+ ];
977
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
978
+ if (httpContentTypeSelected !== undefined) {
979
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
980
+ }
981
+ let responseType_ = 'json';
982
+ if (localVarHttpHeaderAcceptSelected) {
983
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
984
+ responseType_ = 'text';
985
+ }
986
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
987
+ responseType_ = 'json';
988
+ }
989
+ else {
990
+ responseType_ = 'blob';
991
+ }
992
+ }
993
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/`;
994
+ const { basePath, withCredentials } = this.configuration;
995
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
996
+ context: localVarHttpContext,
997
+ body: projectTaskStatus,
998
+ responseType: responseType_,
999
+ ...(withCredentials ? { withCredentials } : {}),
1000
+ headers: localVarHeaders,
1001
+ observe: observe,
1002
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1003
+ reportProgress: reportProgress
1004
+ });
1005
+ }
1006
+ apiProjectsStatusTemplateDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
1007
+ const companyId = requestParameters?.companyId;
1008
+ if (companyId === null || companyId === undefined) {
1009
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateDestroy.');
1010
+ }
1011
+ const id = requestParameters?.id;
1012
+ if (id === null || id === undefined) {
1013
+ throw new Error('Required parameter id was null or undefined when calling apiProjectsStatusTemplateDestroy.');
1014
+ }
1015
+ const projectId = requestParameters?.projectId;
1016
+ if (projectId === null || projectId === undefined) {
1017
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateDestroy.');
1018
+ }
1019
+ let localVarHeaders = this.defaultHeaders;
1020
+ // authentication (FirebaseAuthentication) required
1021
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1022
+ // authentication (basicAuth) required
1023
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1024
+ // authentication (cookieAuth) required
1025
+ // authentication (tokenAuth) required
1026
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1027
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1028
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1029
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1030
+ }
1031
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1032
+ const localVarTransferCache = options?.transferCache ?? true;
1033
+ let responseType_ = 'json';
1034
+ if (localVarHttpHeaderAcceptSelected) {
1035
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1036
+ responseType_ = 'text';
1037
+ }
1038
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1039
+ responseType_ = 'json';
1040
+ }
1041
+ else {
1042
+ responseType_ = 'blob';
1043
+ }
1044
+ }
1045
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1046
+ const { basePath, withCredentials } = this.configuration;
1047
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
1048
+ context: localVarHttpContext,
1049
+ responseType: responseType_,
1050
+ ...(withCredentials ? { withCredentials } : {}),
1051
+ headers: localVarHeaders,
1052
+ observe: observe,
1053
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1054
+ reportProgress: reportProgress
1055
+ });
1056
+ }
1057
+ apiProjectsStatusTemplateList(requestParameters, observe = 'body', reportProgress = false, options) {
1058
+ const companyId = requestParameters?.companyId;
1059
+ if (companyId === null || companyId === undefined) {
1060
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateList.');
1061
+ }
1062
+ const projectId = requestParameters?.projectId;
1063
+ if (projectId === null || projectId === undefined) {
1064
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateList.');
1065
+ }
1066
+ const ordering = requestParameters?.ordering;
1067
+ const page = requestParameters?.page;
1068
+ const pageSize = requestParameters?.pageSize;
1069
+ const search = requestParameters?.search;
1070
+ let localVarQueryParameters = new query_params_1.OpenApiHttpParams(this.encoder);
1071
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, query_params_1.QueryParamStyle.Form, true);
1072
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, query_params_1.QueryParamStyle.Form, true);
1073
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, query_params_1.QueryParamStyle.Form, true);
1074
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, query_params_1.QueryParamStyle.Form, true);
1075
+ let localVarHeaders = this.defaultHeaders;
1076
+ // authentication (FirebaseAuthentication) required
1077
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1078
+ // authentication (basicAuth) required
1079
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1080
+ // authentication (cookieAuth) required
1081
+ // authentication (tokenAuth) required
1082
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1083
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1084
+ 'application/json'
1085
+ ]);
1086
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1087
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1088
+ }
1089
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1090
+ const localVarTransferCache = options?.transferCache ?? true;
1091
+ let responseType_ = 'json';
1092
+ if (localVarHttpHeaderAcceptSelected) {
1093
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1094
+ responseType_ = 'text';
1095
+ }
1096
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1097
+ responseType_ = 'json';
1098
+ }
1099
+ else {
1100
+ responseType_ = 'blob';
1101
+ }
1102
+ }
1103
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/`;
1104
+ const { basePath, withCredentials } = this.configuration;
1105
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1106
+ context: localVarHttpContext,
1107
+ params: localVarQueryParameters.toHttpParams(),
1108
+ responseType: responseType_,
1109
+ ...(withCredentials ? { withCredentials } : {}),
1110
+ headers: localVarHeaders,
1111
+ observe: observe,
1112
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1113
+ reportProgress: reportProgress
1114
+ });
1115
+ }
1116
+ apiProjectsStatusTemplatePartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
1117
+ const companyId = requestParameters?.companyId;
1118
+ if (companyId === null || companyId === undefined) {
1119
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplatePartialUpdate.');
1120
+ }
1121
+ const id = requestParameters?.id;
1122
+ if (id === null || id === undefined) {
1123
+ throw new Error('Required parameter id was null or undefined when calling apiProjectsStatusTemplatePartialUpdate.');
1124
+ }
1125
+ const projectId = requestParameters?.projectId;
1126
+ if (projectId === null || projectId === undefined) {
1127
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplatePartialUpdate.');
1128
+ }
1129
+ const patchedProjectTaskStatus = requestParameters?.patchedProjectTaskStatus;
1130
+ let localVarHeaders = this.defaultHeaders;
1131
+ // authentication (FirebaseAuthentication) required
1132
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1133
+ // authentication (basicAuth) required
1134
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1135
+ // authentication (cookieAuth) required
1136
+ // authentication (tokenAuth) required
1137
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1138
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1139
+ 'application/json'
1140
+ ]);
1141
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1142
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1143
+ }
1144
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1145
+ const localVarTransferCache = options?.transferCache ?? true;
1146
+ // to determine the Content-Type header
1147
+ const consumes = [
1148
+ 'application/json',
1149
+ 'application/x-www-form-urlencoded',
1150
+ 'multipart/form-data'
1151
+ ];
1152
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1153
+ if (httpContentTypeSelected !== undefined) {
1154
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1155
+ }
1156
+ let responseType_ = 'json';
1157
+ if (localVarHttpHeaderAcceptSelected) {
1158
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1159
+ responseType_ = 'text';
1160
+ }
1161
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1162
+ responseType_ = 'json';
1163
+ }
1164
+ else {
1165
+ responseType_ = 'blob';
1166
+ }
1167
+ }
1168
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1169
+ const { basePath, withCredentials } = this.configuration;
1170
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
1171
+ context: localVarHttpContext,
1172
+ body: patchedProjectTaskStatus,
1173
+ responseType: responseType_,
1174
+ ...(withCredentials ? { withCredentials } : {}),
1175
+ headers: localVarHeaders,
1176
+ observe: observe,
1177
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1178
+ reportProgress: reportProgress
1179
+ });
1180
+ }
1181
+ apiProjectsStatusTemplateRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
1182
+ const companyId = requestParameters?.companyId;
1183
+ if (companyId === null || companyId === undefined) {
1184
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateRetrieve.');
1185
+ }
1186
+ const id = requestParameters?.id;
1187
+ if (id === null || id === undefined) {
1188
+ throw new Error('Required parameter id was null or undefined when calling apiProjectsStatusTemplateRetrieve.');
1189
+ }
1190
+ const projectId = requestParameters?.projectId;
1191
+ if (projectId === null || projectId === undefined) {
1192
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateRetrieve.');
1193
+ }
1194
+ let localVarHeaders = this.defaultHeaders;
1195
+ // authentication (FirebaseAuthentication) required
1196
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1197
+ // authentication (basicAuth) required
1198
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1199
+ // authentication (cookieAuth) required
1200
+ // authentication (tokenAuth) required
1201
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1202
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1203
+ 'application/json'
1204
+ ]);
1205
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1206
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1207
+ }
1208
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1209
+ const localVarTransferCache = options?.transferCache ?? true;
1210
+ let responseType_ = 'json';
1211
+ if (localVarHttpHeaderAcceptSelected) {
1212
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1213
+ responseType_ = 'text';
1214
+ }
1215
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1216
+ responseType_ = 'json';
1217
+ }
1218
+ else {
1219
+ responseType_ = 'blob';
1220
+ }
1221
+ }
1222
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1223
+ const { basePath, withCredentials } = this.configuration;
1224
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1225
+ context: localVarHttpContext,
1226
+ responseType: responseType_,
1227
+ ...(withCredentials ? { withCredentials } : {}),
1228
+ headers: localVarHeaders,
1229
+ observe: observe,
1230
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1231
+ reportProgress: reportProgress
1232
+ });
1233
+ }
1234
+ apiProjectsStatusTemplateUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
1235
+ const companyId = requestParameters?.companyId;
1236
+ if (companyId === null || companyId === undefined) {
1237
+ throw new Error('Required parameter companyId was null or undefined when calling apiProjectsStatusTemplateUpdate.');
1238
+ }
1239
+ const id = requestParameters?.id;
1240
+ if (id === null || id === undefined) {
1241
+ throw new Error('Required parameter id was null or undefined when calling apiProjectsStatusTemplateUpdate.');
1242
+ }
1243
+ const projectId = requestParameters?.projectId;
1244
+ if (projectId === null || projectId === undefined) {
1245
+ throw new Error('Required parameter projectId was null or undefined when calling apiProjectsStatusTemplateUpdate.');
1246
+ }
1247
+ const projectTaskStatus = requestParameters?.projectTaskStatus;
1248
+ if (projectTaskStatus === null || projectTaskStatus === undefined) {
1249
+ throw new Error('Required parameter projectTaskStatus was null or undefined when calling apiProjectsStatusTemplateUpdate.');
1250
+ }
1251
+ let localVarHeaders = this.defaultHeaders;
1252
+ // authentication (FirebaseAuthentication) required
1253
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1254
+ // authentication (basicAuth) required
1255
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1256
+ // authentication (cookieAuth) required
1257
+ // authentication (tokenAuth) required
1258
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1259
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1260
+ 'application/json'
1261
+ ]);
1262
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1263
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1264
+ }
1265
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1266
+ const localVarTransferCache = options?.transferCache ?? true;
1267
+ // to determine the Content-Type header
1268
+ const consumes = [
1269
+ 'application/json',
1270
+ 'application/x-www-form-urlencoded',
1271
+ 'multipart/form-data'
1272
+ ];
1273
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1274
+ if (httpContentTypeSelected !== undefined) {
1275
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1276
+ }
1277
+ let responseType_ = 'json';
1278
+ if (localVarHttpHeaderAcceptSelected) {
1279
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1280
+ responseType_ = 'text';
1281
+ }
1282
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1283
+ responseType_ = 'json';
1284
+ }
1285
+ else {
1286
+ responseType_ = 'blob';
1287
+ }
1288
+ }
1289
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/status-template/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1290
+ const { basePath, withCredentials } = this.configuration;
1291
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
1292
+ context: localVarHttpContext,
1293
+ body: projectTaskStatus,
1294
+ responseType: responseType_,
1295
+ ...(withCredentials ? { withCredentials } : {}),
1296
+ headers: localVarHeaders,
1297
+ observe: observe,
1298
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1299
+ reportProgress: reportProgress
1300
+ });
1301
+ }
1302
+ apiTasksAddTagPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
1303
+ const id = requestParameters?.id;
1304
+ if (id === null || id === undefined) {
1305
+ throw new Error('Required parameter id was null or undefined when calling apiTasksAddTagPartialUpdate.');
1306
+ }
1307
+ const patchedTask = requestParameters?.patchedTask;
1308
+ let localVarHeaders = this.defaultHeaders;
1309
+ // authentication (FirebaseAuthentication) required
1310
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1311
+ // authentication (basicAuth) required
1312
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1313
+ // authentication (cookieAuth) required
1314
+ // authentication (tokenAuth) required
1315
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1316
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1317
+ 'application/json'
1318
+ ]);
1319
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1320
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1321
+ }
1322
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1323
+ const localVarTransferCache = options?.transferCache ?? true;
1324
+ // to determine the Content-Type header
1325
+ const consumes = [
1326
+ 'application/json',
1327
+ 'application/x-www-form-urlencoded',
1328
+ 'multipart/form-data'
1329
+ ];
1330
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1331
+ if (httpContentTypeSelected !== undefined) {
1332
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1333
+ }
1334
+ let responseType_ = 'json';
1335
+ if (localVarHttpHeaderAcceptSelected) {
1336
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1337
+ responseType_ = 'text';
1338
+ }
1339
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1340
+ responseType_ = 'json';
1341
+ }
1342
+ else {
1343
+ responseType_ = 'blob';
1344
+ }
1345
+ }
1346
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/add-tag/`;
1347
+ const { basePath, withCredentials } = this.configuration;
1348
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
1349
+ context: localVarHttpContext,
1350
+ body: patchedTask,
1351
+ responseType: responseType_,
1352
+ ...(withCredentials ? { withCredentials } : {}),
1353
+ headers: localVarHeaders,
1354
+ observe: observe,
1355
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1356
+ reportProgress: reportProgress
1357
+ });
1358
+ }
1359
+ apiTasksCreate(requestParameters, observe = 'body', reportProgress = false, options) {
1360
+ const task = requestParameters?.task;
1361
+ if (task === null || task === undefined) {
1362
+ throw new Error('Required parameter task was null or undefined when calling apiTasksCreate.');
1363
+ }
1364
+ let localVarHeaders = this.defaultHeaders;
1365
+ // authentication (FirebaseAuthentication) required
1366
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1367
+ // authentication (basicAuth) required
1368
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1369
+ // authentication (cookieAuth) required
1370
+ // authentication (tokenAuth) required
1371
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1372
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1373
+ 'application/json'
1374
+ ]);
1375
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1376
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1377
+ }
1378
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1379
+ const localVarTransferCache = options?.transferCache ?? true;
1380
+ // to determine the Content-Type header
1381
+ const consumes = [
1382
+ 'application/json',
1383
+ 'application/x-www-form-urlencoded',
1384
+ 'multipart/form-data'
1385
+ ];
1386
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1387
+ if (httpContentTypeSelected !== undefined) {
1388
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1389
+ }
1390
+ let responseType_ = 'json';
1391
+ if (localVarHttpHeaderAcceptSelected) {
1392
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1393
+ responseType_ = 'text';
1394
+ }
1395
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1396
+ responseType_ = 'json';
1397
+ }
1398
+ else {
1399
+ responseType_ = 'blob';
1400
+ }
1401
+ }
1402
+ let localVarPath = `/api/tasks/`;
1403
+ const { basePath, withCredentials } = this.configuration;
1404
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1405
+ context: localVarHttpContext,
1406
+ body: task,
1407
+ responseType: responseType_,
1408
+ ...(withCredentials ? { withCredentials } : {}),
1409
+ headers: localVarHeaders,
1410
+ observe: observe,
1411
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1412
+ reportProgress: reportProgress
1413
+ });
1414
+ }
1415
+ apiTasksDecreseDepthCreate(requestParameters, observe = 'body', reportProgress = false, options) {
1416
+ const id = requestParameters?.id;
1417
+ if (id === null || id === undefined) {
1418
+ throw new Error('Required parameter id was null or undefined when calling apiTasksDecreseDepthCreate.');
1419
+ }
1420
+ const task = requestParameters?.task;
1421
+ if (task === null || task === undefined) {
1422
+ throw new Error('Required parameter task was null or undefined when calling apiTasksDecreseDepthCreate.');
1423
+ }
1424
+ let localVarHeaders = this.defaultHeaders;
1425
+ // authentication (FirebaseAuthentication) required
1426
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1427
+ // authentication (basicAuth) required
1428
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1429
+ // authentication (cookieAuth) required
1430
+ // authentication (tokenAuth) required
1431
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1432
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1433
+ 'application/json'
1434
+ ]);
1435
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1436
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1437
+ }
1438
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1439
+ const localVarTransferCache = options?.transferCache ?? true;
1440
+ // to determine the Content-Type header
1441
+ const consumes = [
1442
+ 'application/json',
1443
+ 'application/x-www-form-urlencoded',
1444
+ 'multipart/form-data'
1445
+ ];
1446
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1447
+ if (httpContentTypeSelected !== undefined) {
1448
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1449
+ }
1450
+ let responseType_ = 'json';
1451
+ if (localVarHttpHeaderAcceptSelected) {
1452
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1453
+ responseType_ = 'text';
1454
+ }
1455
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1456
+ responseType_ = 'json';
1457
+ }
1458
+ else {
1459
+ responseType_ = 'blob';
1460
+ }
1461
+ }
1462
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/decrese_depth/`;
1463
+ const { basePath, withCredentials } = this.configuration;
1464
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1465
+ context: localVarHttpContext,
1466
+ body: task,
1467
+ responseType: responseType_,
1468
+ ...(withCredentials ? { withCredentials } : {}),
1469
+ headers: localVarHeaders,
1470
+ observe: observe,
1471
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1472
+ reportProgress: reportProgress
1473
+ });
1474
+ }
1475
+ apiTasksDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
1476
+ const id = requestParameters?.id;
1477
+ if (id === null || id === undefined) {
1478
+ throw new Error('Required parameter id was null or undefined when calling apiTasksDestroy.');
1479
+ }
1480
+ let localVarHeaders = this.defaultHeaders;
1481
+ // authentication (FirebaseAuthentication) required
1482
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1483
+ // authentication (basicAuth) required
1484
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1485
+ // authentication (cookieAuth) required
1486
+ // authentication (tokenAuth) required
1487
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1488
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1489
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1490
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1491
+ }
1492
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1493
+ const localVarTransferCache = options?.transferCache ?? true;
1494
+ let responseType_ = 'json';
1495
+ if (localVarHttpHeaderAcceptSelected) {
1496
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1497
+ responseType_ = 'text';
1498
+ }
1499
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1500
+ responseType_ = 'json';
1501
+ }
1502
+ else {
1503
+ responseType_ = 'blob';
1504
+ }
1505
+ }
1506
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1507
+ const { basePath, withCredentials } = this.configuration;
1508
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
1509
+ context: localVarHttpContext,
1510
+ responseType: responseType_,
1511
+ ...(withCredentials ? { withCredentials } : {}),
1512
+ headers: localVarHeaders,
1513
+ observe: observe,
1514
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1515
+ reportProgress: reportProgress
1516
+ });
1517
+ }
1518
+ apiTasksIncreseDepthCreate(requestParameters, observe = 'body', reportProgress = false, options) {
1519
+ const id = requestParameters?.id;
1520
+ if (id === null || id === undefined) {
1521
+ throw new Error('Required parameter id was null or undefined when calling apiTasksIncreseDepthCreate.');
1522
+ }
1523
+ const task = requestParameters?.task;
1524
+ if (task === null || task === undefined) {
1525
+ throw new Error('Required parameter task was null or undefined when calling apiTasksIncreseDepthCreate.');
1526
+ }
1527
+ let localVarHeaders = this.defaultHeaders;
1528
+ // authentication (FirebaseAuthentication) required
1529
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1530
+ // authentication (basicAuth) required
1531
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1532
+ // authentication (cookieAuth) required
1533
+ // authentication (tokenAuth) required
1534
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1535
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1536
+ 'application/json'
1537
+ ]);
1538
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1539
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1540
+ }
1541
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1542
+ const localVarTransferCache = options?.transferCache ?? true;
1543
+ // to determine the Content-Type header
1544
+ const consumes = [
1545
+ 'application/json',
1546
+ 'application/x-www-form-urlencoded',
1547
+ 'multipart/form-data'
1548
+ ];
1549
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1550
+ if (httpContentTypeSelected !== undefined) {
1551
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1552
+ }
1553
+ let responseType_ = 'json';
1554
+ if (localVarHttpHeaderAcceptSelected) {
1555
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1556
+ responseType_ = 'text';
1557
+ }
1558
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1559
+ responseType_ = 'json';
1560
+ }
1561
+ else {
1562
+ responseType_ = 'blob';
1563
+ }
1564
+ }
1565
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/increse_depth/`;
1566
+ const { basePath, withCredentials } = this.configuration;
1567
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1568
+ context: localVarHttpContext,
1569
+ body: task,
1570
+ responseType: responseType_,
1571
+ ...(withCredentials ? { withCredentials } : {}),
1572
+ headers: localVarHeaders,
1573
+ observe: observe,
1574
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1575
+ reportProgress: reportProgress
1576
+ });
1577
+ }
1578
+ apiTasksList(requestParameters, observe = 'body', reportProgress = false, options) {
1579
+ const assignedToMe = requestParameters?.assignedToMe;
1580
+ const depth = requestParameters?.depth;
1581
+ const descriptionIcontains = requestParameters?.descriptionIcontains;
1582
+ const isCompleted = requestParameters?.isCompleted;
1583
+ const isDeleted = requestParameters?.isDeleted;
1584
+ const ordering = requestParameters?.ordering;
1585
+ const page = requestParameters?.page;
1586
+ const pageSize = requestParameters?.pageSize;
1587
+ const parentId = requestParameters?.parentId;
1588
+ const progress = requestParameters?.progress;
1589
+ const progressGt = requestParameters?.progressGt;
1590
+ const progressGte = requestParameters?.progressGte;
1591
+ const progressLt = requestParameters?.progressLt;
1592
+ const progressLte = requestParameters?.progressLte;
1593
+ const projectId = requestParameters?.projectId;
1594
+ const search = requestParameters?.search;
1595
+ const sprint = requestParameters?.sprint;
1596
+ const sprintIsnull = requestParameters?.sprintIsnull;
1597
+ const storyPoints = requestParameters?.storyPoints;
1598
+ const storyPointsGte = requestParameters?.storyPointsGte;
1599
+ const storyPointsIsnull = requestParameters?.storyPointsIsnull;
1600
+ const storyPointsLte = requestParameters?.storyPointsLte;
1601
+ const titleIcontains = requestParameters?.titleIcontains;
1602
+ let localVarQueryParameters = new query_params_1.OpenApiHttpParams(this.encoder);
1603
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'assigned_to_me', assignedToMe, query_params_1.QueryParamStyle.Form, true);
1604
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'depth', depth, query_params_1.QueryParamStyle.Form, true);
1605
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'description__icontains', descriptionIcontains, query_params_1.QueryParamStyle.Form, true);
1606
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'is_completed', isCompleted, query_params_1.QueryParamStyle.Form, true);
1607
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'is_deleted', isDeleted, query_params_1.QueryParamStyle.Form, true);
1608
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, query_params_1.QueryParamStyle.Form, true);
1609
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, query_params_1.QueryParamStyle.Form, true);
1610
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, query_params_1.QueryParamStyle.Form, true);
1611
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'parent_id', parentId, query_params_1.QueryParamStyle.Form, true);
1612
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress', progress, query_params_1.QueryParamStyle.Form, true);
1613
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress__gt', progressGt, query_params_1.QueryParamStyle.Form, true);
1614
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress__gte', progressGte, query_params_1.QueryParamStyle.Form, true);
1615
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress__lt', progressLt, query_params_1.QueryParamStyle.Form, true);
1616
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'progress__lte', progressLte, query_params_1.QueryParamStyle.Form, true);
1617
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'project_id', projectId, query_params_1.QueryParamStyle.Form, true);
1618
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, query_params_1.QueryParamStyle.Form, true);
1619
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'sprint', sprint, query_params_1.QueryParamStyle.Form, true);
1620
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'sprint__isnull', sprintIsnull, query_params_1.QueryParamStyle.Form, true);
1621
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'story_points', storyPoints, query_params_1.QueryParamStyle.Form, true);
1622
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'story_points__gte', storyPointsGte, query_params_1.QueryParamStyle.Form, true);
1623
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'story_points__isnull', storyPointsIsnull, query_params_1.QueryParamStyle.Form, true);
1624
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'story_points__lte', storyPointsLte, query_params_1.QueryParamStyle.Form, true);
1625
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'title__icontains', titleIcontains, query_params_1.QueryParamStyle.Form, true);
1626
+ let localVarHeaders = this.defaultHeaders;
1627
+ // authentication (FirebaseAuthentication) required
1628
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1629
+ // authentication (basicAuth) required
1630
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1631
+ // authentication (cookieAuth) required
1632
+ // authentication (tokenAuth) required
1633
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1634
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1635
+ 'application/json'
1636
+ ]);
1637
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1638
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1639
+ }
1640
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1641
+ const localVarTransferCache = options?.transferCache ?? true;
1642
+ let responseType_ = 'json';
1643
+ if (localVarHttpHeaderAcceptSelected) {
1644
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1645
+ responseType_ = 'text';
1646
+ }
1647
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1648
+ responseType_ = 'json';
1649
+ }
1650
+ else {
1651
+ responseType_ = 'blob';
1652
+ }
1653
+ }
1654
+ let localVarPath = `/api/tasks/`;
1655
+ const { basePath, withCredentials } = this.configuration;
1656
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1657
+ context: localVarHttpContext,
1658
+ params: localVarQueryParameters.toHttpParams(),
1659
+ responseType: responseType_,
1660
+ ...(withCredentials ? { withCredentials } : {}),
1661
+ headers: localVarHeaders,
1662
+ observe: observe,
1663
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1664
+ reportProgress: reportProgress
1665
+ });
1666
+ }
1667
+ apiTasksMoveDownCreate(requestParameters, observe = 'body', reportProgress = false, options) {
1668
+ const id = requestParameters?.id;
1669
+ if (id === null || id === undefined) {
1670
+ throw new Error('Required parameter id was null or undefined when calling apiTasksMoveDownCreate.');
1671
+ }
1672
+ const task = requestParameters?.task;
1673
+ if (task === null || task === undefined) {
1674
+ throw new Error('Required parameter task was null or undefined when calling apiTasksMoveDownCreate.');
1675
+ }
1676
+ let localVarHeaders = this.defaultHeaders;
1677
+ // authentication (FirebaseAuthentication) required
1678
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1679
+ // authentication (basicAuth) required
1680
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1681
+ // authentication (cookieAuth) required
1682
+ // authentication (tokenAuth) required
1683
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1684
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1685
+ 'application/json'
1686
+ ]);
1687
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1688
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1689
+ }
1690
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1691
+ const localVarTransferCache = options?.transferCache ?? true;
1692
+ // to determine the Content-Type header
1693
+ const consumes = [
1694
+ 'application/json',
1695
+ 'application/x-www-form-urlencoded',
1696
+ 'multipart/form-data'
1697
+ ];
1698
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1699
+ if (httpContentTypeSelected !== undefined) {
1700
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1701
+ }
1702
+ let responseType_ = 'json';
1703
+ if (localVarHttpHeaderAcceptSelected) {
1704
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1705
+ responseType_ = 'text';
1706
+ }
1707
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1708
+ responseType_ = 'json';
1709
+ }
1710
+ else {
1711
+ responseType_ = 'blob';
1712
+ }
1713
+ }
1714
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/move_down/`;
1715
+ const { basePath, withCredentials } = this.configuration;
1716
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1717
+ context: localVarHttpContext,
1718
+ body: task,
1719
+ responseType: responseType_,
1720
+ ...(withCredentials ? { withCredentials } : {}),
1721
+ headers: localVarHeaders,
1722
+ observe: observe,
1723
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1724
+ reportProgress: reportProgress
1725
+ });
1726
+ }
1727
+ apiTasksMoveRelateToCreate(requestParameters, observe = 'body', reportProgress = false, options) {
1728
+ const id = requestParameters?.id;
1729
+ if (id === null || id === undefined) {
1730
+ throw new Error('Required parameter id was null or undefined when calling apiTasksMoveRelateToCreate.');
1731
+ }
1732
+ const taskRelated = requestParameters?.taskRelated;
1733
+ if (taskRelated === null || taskRelated === undefined) {
1734
+ throw new Error('Required parameter taskRelated was null or undefined when calling apiTasksMoveRelateToCreate.');
1735
+ }
1736
+ let localVarHeaders = this.defaultHeaders;
1737
+ // authentication (FirebaseAuthentication) required
1738
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1739
+ // authentication (basicAuth) required
1740
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1741
+ // authentication (cookieAuth) required
1742
+ // authentication (tokenAuth) required
1743
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1744
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1745
+ 'application/json'
1746
+ ]);
1747
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1748
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1749
+ }
1750
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1751
+ const localVarTransferCache = options?.transferCache ?? true;
1752
+ // to determine the Content-Type header
1753
+ const consumes = [
1754
+ 'application/json',
1755
+ 'application/x-www-form-urlencoded',
1756
+ 'multipart/form-data'
1757
+ ];
1758
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1759
+ if (httpContentTypeSelected !== undefined) {
1760
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1761
+ }
1762
+ let responseType_ = 'json';
1763
+ if (localVarHttpHeaderAcceptSelected) {
1764
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1765
+ responseType_ = 'text';
1766
+ }
1767
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1768
+ responseType_ = 'json';
1769
+ }
1770
+ else {
1771
+ responseType_ = 'blob';
1772
+ }
1773
+ }
1774
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/move_relate_to/`;
1775
+ const { basePath, withCredentials } = this.configuration;
1776
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1777
+ context: localVarHttpContext,
1778
+ body: taskRelated,
1779
+ responseType: responseType_,
1780
+ ...(withCredentials ? { withCredentials } : {}),
1781
+ headers: localVarHeaders,
1782
+ observe: observe,
1783
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1784
+ reportProgress: reportProgress
1785
+ });
1786
+ }
1787
+ apiTasksMoveToProjectPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
1788
+ const id = requestParameters?.id;
1789
+ if (id === null || id === undefined) {
1790
+ throw new Error('Required parameter id was null or undefined when calling apiTasksMoveToProjectPartialUpdate.');
1791
+ }
1792
+ const patchedTask = requestParameters?.patchedTask;
1793
+ let localVarHeaders = this.defaultHeaders;
1794
+ // authentication (FirebaseAuthentication) required
1795
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1796
+ // authentication (basicAuth) required
1797
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1798
+ // authentication (cookieAuth) required
1799
+ // authentication (tokenAuth) required
1800
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1801
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1802
+ 'application/json'
1803
+ ]);
1804
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1805
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1806
+ }
1807
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1808
+ const localVarTransferCache = options?.transferCache ?? true;
1809
+ // to determine the Content-Type header
1810
+ const consumes = [
1811
+ 'application/json',
1812
+ 'application/x-www-form-urlencoded',
1813
+ 'multipart/form-data'
1814
+ ];
1815
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1816
+ if (httpContentTypeSelected !== undefined) {
1817
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1818
+ }
1819
+ let responseType_ = 'json';
1820
+ if (localVarHttpHeaderAcceptSelected) {
1821
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1822
+ responseType_ = 'text';
1823
+ }
1824
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1825
+ responseType_ = 'json';
1826
+ }
1827
+ else {
1828
+ responseType_ = 'blob';
1829
+ }
1830
+ }
1831
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/move_to_project/`;
1832
+ const { basePath, withCredentials } = this.configuration;
1833
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
1834
+ context: localVarHttpContext,
1835
+ body: patchedTask,
1836
+ responseType: responseType_,
1837
+ ...(withCredentials ? { withCredentials } : {}),
1838
+ headers: localVarHeaders,
1839
+ observe: observe,
1840
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1841
+ reportProgress: reportProgress
1842
+ });
1843
+ }
1844
+ apiTasksMoveUpCreate(requestParameters, observe = 'body', reportProgress = false, options) {
1845
+ const id = requestParameters?.id;
1846
+ if (id === null || id === undefined) {
1847
+ throw new Error('Required parameter id was null or undefined when calling apiTasksMoveUpCreate.');
1848
+ }
1849
+ const task = requestParameters?.task;
1850
+ if (task === null || task === undefined) {
1851
+ throw new Error('Required parameter task was null or undefined when calling apiTasksMoveUpCreate.');
1852
+ }
1853
+ let localVarHeaders = this.defaultHeaders;
1854
+ // authentication (FirebaseAuthentication) required
1855
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1856
+ // authentication (basicAuth) required
1857
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1858
+ // authentication (cookieAuth) required
1859
+ // authentication (tokenAuth) required
1860
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1861
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1862
+ 'application/json'
1863
+ ]);
1864
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1865
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1866
+ }
1867
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1868
+ const localVarTransferCache = options?.transferCache ?? true;
1869
+ // to determine the Content-Type header
1870
+ const consumes = [
1871
+ 'application/json',
1872
+ 'application/x-www-form-urlencoded',
1873
+ 'multipart/form-data'
1874
+ ];
1875
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1876
+ if (httpContentTypeSelected !== undefined) {
1877
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1878
+ }
1879
+ let responseType_ = 'json';
1880
+ if (localVarHttpHeaderAcceptSelected) {
1881
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1882
+ responseType_ = 'text';
1883
+ }
1884
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1885
+ responseType_ = 'json';
1886
+ }
1887
+ else {
1888
+ responseType_ = 'blob';
1889
+ }
1890
+ }
1891
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/move_up/`;
1892
+ const { basePath, withCredentials } = this.configuration;
1893
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1894
+ context: localVarHttpContext,
1895
+ body: task,
1896
+ responseType: responseType_,
1897
+ ...(withCredentials ? { withCredentials } : {}),
1898
+ headers: localVarHeaders,
1899
+ observe: observe,
1900
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1901
+ reportProgress: reportProgress
1902
+ });
1903
+ }
1904
+ apiTasksPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
1905
+ const id = requestParameters?.id;
1906
+ if (id === null || id === undefined) {
1907
+ throw new Error('Required parameter id was null or undefined when calling apiTasksPartialUpdate.');
1908
+ }
1909
+ const patchedTask = requestParameters?.patchedTask;
1910
+ let localVarHeaders = this.defaultHeaders;
1911
+ // authentication (FirebaseAuthentication) required
1912
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1913
+ // authentication (basicAuth) required
1914
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1915
+ // authentication (cookieAuth) required
1916
+ // authentication (tokenAuth) required
1917
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1918
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1919
+ 'application/json'
1920
+ ]);
1921
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1922
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1923
+ }
1924
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1925
+ const localVarTransferCache = options?.transferCache ?? true;
1926
+ // to determine the Content-Type header
1927
+ const consumes = [
1928
+ 'application/json',
1929
+ 'application/x-www-form-urlencoded',
1930
+ 'multipart/form-data'
1931
+ ];
1932
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1933
+ if (httpContentTypeSelected !== undefined) {
1934
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1935
+ }
1936
+ let responseType_ = 'json';
1937
+ if (localVarHttpHeaderAcceptSelected) {
1938
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1939
+ responseType_ = 'text';
1940
+ }
1941
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1942
+ responseType_ = 'json';
1943
+ }
1944
+ else {
1945
+ responseType_ = 'blob';
1946
+ }
1947
+ }
1948
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1949
+ const { basePath, withCredentials } = this.configuration;
1950
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
1951
+ context: localVarHttpContext,
1952
+ body: patchedTask,
1953
+ responseType: responseType_,
1954
+ ...(withCredentials ? { withCredentials } : {}),
1955
+ headers: localVarHeaders,
1956
+ observe: observe,
1957
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1958
+ reportProgress: reportProgress
1959
+ });
1960
+ }
1961
+ apiTasksRemoveTagPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
1962
+ const id = requestParameters?.id;
1963
+ if (id === null || id === undefined) {
1964
+ throw new Error('Required parameter id was null or undefined when calling apiTasksRemoveTagPartialUpdate.');
1965
+ }
1966
+ const patchedTask = requestParameters?.patchedTask;
1967
+ let localVarHeaders = this.defaultHeaders;
1968
+ // authentication (FirebaseAuthentication) required
1969
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
1970
+ // authentication (basicAuth) required
1971
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
1972
+ // authentication (cookieAuth) required
1973
+ // authentication (tokenAuth) required
1974
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
1975
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1976
+ 'application/json'
1977
+ ]);
1978
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1979
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1980
+ }
1981
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
1982
+ const localVarTransferCache = options?.transferCache ?? true;
1983
+ // to determine the Content-Type header
1984
+ const consumes = [
1985
+ 'application/json',
1986
+ 'application/x-www-form-urlencoded',
1987
+ 'multipart/form-data'
1988
+ ];
1989
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1990
+ if (httpContentTypeSelected !== undefined) {
1991
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1992
+ }
1993
+ let responseType_ = 'json';
1994
+ if (localVarHttpHeaderAcceptSelected) {
1995
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1996
+ responseType_ = 'text';
1997
+ }
1998
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1999
+ responseType_ = 'json';
2000
+ }
2001
+ else {
2002
+ responseType_ = 'blob';
2003
+ }
2004
+ }
2005
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/remove-tag/`;
2006
+ const { basePath, withCredentials } = this.configuration;
2007
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
2008
+ context: localVarHttpContext,
2009
+ body: patchedTask,
2010
+ responseType: responseType_,
2011
+ ...(withCredentials ? { withCredentials } : {}),
2012
+ headers: localVarHeaders,
2013
+ observe: observe,
2014
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2015
+ reportProgress: reportProgress
2016
+ });
2017
+ }
2018
+ apiTasksReorderChildrenCreate(requestParameters, observe = 'body', reportProgress = false, options) {
2019
+ const id = requestParameters?.id;
2020
+ if (id === null || id === undefined) {
2021
+ throw new Error('Required parameter id was null or undefined when calling apiTasksReorderChildrenCreate.');
2022
+ }
2023
+ const task = requestParameters?.task;
2024
+ if (task === null || task === undefined) {
2025
+ throw new Error('Required parameter task was null or undefined when calling apiTasksReorderChildrenCreate.');
2026
+ }
2027
+ let localVarHeaders = this.defaultHeaders;
2028
+ // authentication (FirebaseAuthentication) required
2029
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2030
+ // authentication (basicAuth) required
2031
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2032
+ // authentication (cookieAuth) required
2033
+ // authentication (tokenAuth) required
2034
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2035
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2036
+ 'application/json'
2037
+ ]);
2038
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2039
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2040
+ }
2041
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2042
+ const localVarTransferCache = options?.transferCache ?? true;
2043
+ // to determine the Content-Type header
2044
+ const consumes = [
2045
+ 'application/json',
2046
+ 'application/x-www-form-urlencoded',
2047
+ 'multipart/form-data'
2048
+ ];
2049
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2050
+ if (httpContentTypeSelected !== undefined) {
2051
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2052
+ }
2053
+ let responseType_ = 'json';
2054
+ if (localVarHttpHeaderAcceptSelected) {
2055
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2056
+ responseType_ = 'text';
2057
+ }
2058
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2059
+ responseType_ = 'json';
2060
+ }
2061
+ else {
2062
+ responseType_ = 'blob';
2063
+ }
2064
+ }
2065
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/reorder_children/`;
2066
+ const { basePath, withCredentials } = this.configuration;
2067
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2068
+ context: localVarHttpContext,
2069
+ body: task,
2070
+ responseType: responseType_,
2071
+ ...(withCredentials ? { withCredentials } : {}),
2072
+ headers: localVarHeaders,
2073
+ observe: observe,
2074
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2075
+ reportProgress: reportProgress
2076
+ });
2077
+ }
2078
+ apiTasksReorderRootCreate(requestParameters, observe = 'body', reportProgress = false, options) {
2079
+ const task = requestParameters?.task;
2080
+ if (task === null || task === undefined) {
2081
+ throw new Error('Required parameter task was null or undefined when calling apiTasksReorderRootCreate.');
2082
+ }
2083
+ let localVarHeaders = this.defaultHeaders;
2084
+ // authentication (FirebaseAuthentication) required
2085
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2086
+ // authentication (basicAuth) required
2087
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2088
+ // authentication (cookieAuth) required
2089
+ // authentication (tokenAuth) required
2090
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2091
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2092
+ 'application/json'
2093
+ ]);
2094
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2095
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2096
+ }
2097
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2098
+ const localVarTransferCache = options?.transferCache ?? true;
2099
+ // to determine the Content-Type header
2100
+ const consumes = [
2101
+ 'application/json',
2102
+ 'application/x-www-form-urlencoded',
2103
+ 'multipart/form-data'
2104
+ ];
2105
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2106
+ if (httpContentTypeSelected !== undefined) {
2107
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2108
+ }
2109
+ let responseType_ = 'json';
2110
+ if (localVarHttpHeaderAcceptSelected) {
2111
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2112
+ responseType_ = 'text';
2113
+ }
2114
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2115
+ responseType_ = 'json';
2116
+ }
2117
+ else {
2118
+ responseType_ = 'blob';
2119
+ }
2120
+ }
2121
+ let localVarPath = `/api/tasks/reorder_root/`;
2122
+ const { basePath, withCredentials } = this.configuration;
2123
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2124
+ context: localVarHttpContext,
2125
+ body: task,
2126
+ responseType: responseType_,
2127
+ ...(withCredentials ? { withCredentials } : {}),
2128
+ headers: localVarHeaders,
2129
+ observe: observe,
2130
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2131
+ reportProgress: reportProgress
2132
+ });
2133
+ }
2134
+ apiTasksRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
2135
+ const id = requestParameters?.id;
2136
+ if (id === null || id === undefined) {
2137
+ throw new Error('Required parameter id was null or undefined when calling apiTasksRetrieve.');
2138
+ }
2139
+ let localVarHeaders = this.defaultHeaders;
2140
+ // authentication (FirebaseAuthentication) required
2141
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2142
+ // authentication (basicAuth) required
2143
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2144
+ // authentication (cookieAuth) required
2145
+ // authentication (tokenAuth) required
2146
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2147
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2148
+ 'application/json'
2149
+ ]);
2150
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2151
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2152
+ }
2153
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2154
+ const localVarTransferCache = options?.transferCache ?? true;
2155
+ let responseType_ = 'json';
2156
+ if (localVarHttpHeaderAcceptSelected) {
2157
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2158
+ responseType_ = 'text';
2159
+ }
2160
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2161
+ responseType_ = 'json';
2162
+ }
2163
+ else {
2164
+ responseType_ = 'blob';
2165
+ }
2166
+ }
2167
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2168
+ const { basePath, withCredentials } = this.configuration;
2169
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2170
+ context: localVarHttpContext,
2171
+ responseType: responseType_,
2172
+ ...(withCredentials ? { withCredentials } : {}),
2173
+ headers: localVarHeaders,
2174
+ observe: observe,
2175
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2176
+ reportProgress: reportProgress
2177
+ });
2178
+ }
2179
+ apiTasksUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
2180
+ const id = requestParameters?.id;
2181
+ if (id === null || id === undefined) {
2182
+ throw new Error('Required parameter id was null or undefined when calling apiTasksUpdate.');
2183
+ }
2184
+ const task = requestParameters?.task;
2185
+ if (task === null || task === undefined) {
2186
+ throw new Error('Required parameter task was null or undefined when calling apiTasksUpdate.');
2187
+ }
2188
+ let localVarHeaders = this.defaultHeaders;
2189
+ // authentication (FirebaseAuthentication) required
2190
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2191
+ // authentication (basicAuth) required
2192
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2193
+ // authentication (cookieAuth) required
2194
+ // authentication (tokenAuth) required
2195
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2196
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2197
+ 'application/json'
2198
+ ]);
2199
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2200
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2201
+ }
2202
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2203
+ const localVarTransferCache = options?.transferCache ?? true;
2204
+ // to determine the Content-Type header
2205
+ const consumes = [
2206
+ 'application/json',
2207
+ 'application/x-www-form-urlencoded',
2208
+ 'multipart/form-data'
2209
+ ];
2210
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2211
+ if (httpContentTypeSelected !== undefined) {
2212
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2213
+ }
2214
+ let responseType_ = 'json';
2215
+ if (localVarHttpHeaderAcceptSelected) {
2216
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2217
+ responseType_ = 'text';
2218
+ }
2219
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2220
+ responseType_ = 'json';
2221
+ }
2222
+ else {
2223
+ responseType_ = 'blob';
2224
+ }
2225
+ }
2226
+ let localVarPath = `/api/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2227
+ const { basePath, withCredentials } = this.configuration;
2228
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
2229
+ context: localVarHttpContext,
2230
+ body: task,
2231
+ responseType: responseType_,
2232
+ ...(withCredentials ? { withCredentials } : {}),
2233
+ headers: localVarHeaders,
2234
+ observe: observe,
2235
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2236
+ reportProgress: reportProgress
2237
+ });
2238
+ }
2239
+ apiTicketWidgetsCreate(requestParameters, observe = 'body', reportProgress = false, options) {
2240
+ const companyId = requestParameters?.companyId;
2241
+ if (companyId === null || companyId === undefined) {
2242
+ throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsCreate.');
2243
+ }
2244
+ const ticketWidgetCreate = requestParameters?.ticketWidgetCreate;
2245
+ if (ticketWidgetCreate === null || ticketWidgetCreate === undefined) {
2246
+ throw new Error('Required parameter ticketWidgetCreate was null or undefined when calling apiTicketWidgetsCreate.');
2247
+ }
2248
+ let localVarHeaders = this.defaultHeaders;
2249
+ // authentication (FirebaseAuthentication) required
2250
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2251
+ // authentication (basicAuth) required
2252
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2253
+ // authentication (cookieAuth) required
2254
+ // authentication (tokenAuth) required
2255
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2256
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2257
+ 'application/json'
2258
+ ]);
2259
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2260
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2261
+ }
2262
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2263
+ const localVarTransferCache = options?.transferCache ?? true;
2264
+ // to determine the Content-Type header
2265
+ const consumes = [
2266
+ 'application/json',
2267
+ 'application/x-www-form-urlencoded',
2268
+ 'multipart/form-data'
2269
+ ];
2270
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2271
+ if (httpContentTypeSelected !== undefined) {
2272
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2273
+ }
2274
+ let responseType_ = 'json';
2275
+ if (localVarHttpHeaderAcceptSelected) {
2276
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2277
+ responseType_ = 'text';
2278
+ }
2279
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2280
+ responseType_ = 'json';
2281
+ }
2282
+ else {
2283
+ responseType_ = 'blob';
2284
+ }
2285
+ }
2286
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/`;
2287
+ const { basePath, withCredentials } = this.configuration;
2288
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2289
+ context: localVarHttpContext,
2290
+ body: ticketWidgetCreate,
2291
+ responseType: responseType_,
2292
+ ...(withCredentials ? { withCredentials } : {}),
2293
+ headers: localVarHeaders,
2294
+ observe: observe,
2295
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2296
+ reportProgress: reportProgress
2297
+ });
2298
+ }
2299
+ apiTicketWidgetsDestroy(requestParameters, observe = 'body', reportProgress = false, options) {
2300
+ const companyId = requestParameters?.companyId;
2301
+ if (companyId === null || companyId === undefined) {
2302
+ throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsDestroy.');
2303
+ }
2304
+ const id = requestParameters?.id;
2305
+ if (id === null || id === undefined) {
2306
+ throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsDestroy.');
2307
+ }
2308
+ let localVarHeaders = this.defaultHeaders;
2309
+ // authentication (FirebaseAuthentication) required
2310
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2311
+ // authentication (basicAuth) required
2312
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2313
+ // authentication (cookieAuth) required
2314
+ // authentication (tokenAuth) required
2315
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2316
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2317
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2318
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2319
+ }
2320
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2321
+ const localVarTransferCache = options?.transferCache ?? true;
2322
+ let responseType_ = 'json';
2323
+ if (localVarHttpHeaderAcceptSelected) {
2324
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2325
+ responseType_ = 'text';
2326
+ }
2327
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2328
+ responseType_ = 'json';
2329
+ }
2330
+ else {
2331
+ responseType_ = 'blob';
2332
+ }
2333
+ }
2334
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2335
+ const { basePath, withCredentials } = this.configuration;
2336
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
2337
+ context: localVarHttpContext,
2338
+ responseType: responseType_,
2339
+ ...(withCredentials ? { withCredentials } : {}),
2340
+ headers: localVarHeaders,
2341
+ observe: observe,
2342
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2343
+ reportProgress: reportProgress
2344
+ });
2345
+ }
2346
+ apiTicketWidgetsList(requestParameters, observe = 'body', reportProgress = false, options) {
2347
+ const companyId = requestParameters?.companyId;
2348
+ if (companyId === null || companyId === undefined) {
2349
+ throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsList.');
2350
+ }
2351
+ const ordering = requestParameters?.ordering;
2352
+ const page = requestParameters?.page;
2353
+ const pageSize = requestParameters?.pageSize;
2354
+ const search = requestParameters?.search;
2355
+ let localVarQueryParameters = new query_params_1.OpenApiHttpParams(this.encoder);
2356
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, query_params_1.QueryParamStyle.Form, true);
2357
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, query_params_1.QueryParamStyle.Form, true);
2358
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, query_params_1.QueryParamStyle.Form, true);
2359
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, query_params_1.QueryParamStyle.Form, true);
2360
+ let localVarHeaders = this.defaultHeaders;
2361
+ // authentication (FirebaseAuthentication) required
2362
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2363
+ // authentication (basicAuth) required
2364
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2365
+ // authentication (cookieAuth) required
2366
+ // authentication (tokenAuth) required
2367
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2368
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2369
+ 'application/json'
2370
+ ]);
2371
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2372
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2373
+ }
2374
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2375
+ const localVarTransferCache = options?.transferCache ?? true;
2376
+ let responseType_ = 'json';
2377
+ if (localVarHttpHeaderAcceptSelected) {
2378
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2379
+ responseType_ = 'text';
2380
+ }
2381
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2382
+ responseType_ = 'json';
2383
+ }
2384
+ else {
2385
+ responseType_ = 'blob';
2386
+ }
2387
+ }
2388
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/`;
2389
+ const { basePath, withCredentials } = this.configuration;
2390
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2391
+ context: localVarHttpContext,
2392
+ params: localVarQueryParameters.toHttpParams(),
2393
+ responseType: responseType_,
2394
+ ...(withCredentials ? { withCredentials } : {}),
2395
+ headers: localVarHeaders,
2396
+ observe: observe,
2397
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2398
+ reportProgress: reportProgress
2399
+ });
2400
+ }
2401
+ apiTicketWidgetsPartialUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
2402
+ const companyId = requestParameters?.companyId;
2403
+ if (companyId === null || companyId === undefined) {
2404
+ throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsPartialUpdate.');
2405
+ }
2406
+ const id = requestParameters?.id;
2407
+ if (id === null || id === undefined) {
2408
+ throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsPartialUpdate.');
2409
+ }
2410
+ const patchedTicketWidgetUpdate = requestParameters?.patchedTicketWidgetUpdate;
2411
+ let localVarHeaders = this.defaultHeaders;
2412
+ // authentication (FirebaseAuthentication) required
2413
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2414
+ // authentication (basicAuth) required
2415
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2416
+ // authentication (cookieAuth) required
2417
+ // authentication (tokenAuth) required
2418
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2419
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2420
+ 'application/json'
2421
+ ]);
2422
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2423
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2424
+ }
2425
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2426
+ const localVarTransferCache = options?.transferCache ?? true;
2427
+ // to determine the Content-Type header
2428
+ const consumes = [
2429
+ 'application/json',
2430
+ 'application/x-www-form-urlencoded',
2431
+ 'multipart/form-data'
2432
+ ];
2433
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2434
+ if (httpContentTypeSelected !== undefined) {
2435
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2436
+ }
2437
+ let responseType_ = 'json';
2438
+ if (localVarHttpHeaderAcceptSelected) {
2439
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2440
+ responseType_ = 'text';
2441
+ }
2442
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2443
+ responseType_ = 'json';
2444
+ }
2445
+ else {
2446
+ responseType_ = 'blob';
2447
+ }
2448
+ }
2449
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2450
+ const { basePath, withCredentials } = this.configuration;
2451
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
2452
+ context: localVarHttpContext,
2453
+ body: patchedTicketWidgetUpdate,
2454
+ responseType: responseType_,
2455
+ ...(withCredentials ? { withCredentials } : {}),
2456
+ headers: localVarHeaders,
2457
+ observe: observe,
2458
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2459
+ reportProgress: reportProgress
2460
+ });
2461
+ }
2462
+ apiTicketWidgetsRegenerateKeyCreate(requestParameters, observe = 'body', reportProgress = false, options) {
2463
+ const companyId = requestParameters?.companyId;
2464
+ if (companyId === null || companyId === undefined) {
2465
+ throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsRegenerateKeyCreate.');
2466
+ }
2467
+ const id = requestParameters?.id;
2468
+ if (id === null || id === undefined) {
2469
+ throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsRegenerateKeyCreate.');
2470
+ }
2471
+ const ticketWidgetCreate = requestParameters?.ticketWidgetCreate;
2472
+ if (ticketWidgetCreate === null || ticketWidgetCreate === undefined) {
2473
+ throw new Error('Required parameter ticketWidgetCreate was null or undefined when calling apiTicketWidgetsRegenerateKeyCreate.');
2474
+ }
2475
+ let localVarHeaders = this.defaultHeaders;
2476
+ // authentication (FirebaseAuthentication) required
2477
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2478
+ // authentication (basicAuth) required
2479
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2480
+ // authentication (cookieAuth) required
2481
+ // authentication (tokenAuth) required
2482
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2483
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2484
+ 'application/json'
2485
+ ]);
2486
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2487
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2488
+ }
2489
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2490
+ const localVarTransferCache = options?.transferCache ?? true;
2491
+ // to determine the Content-Type header
2492
+ const consumes = [
2493
+ 'application/json',
2494
+ 'application/x-www-form-urlencoded',
2495
+ 'multipart/form-data'
2496
+ ];
2497
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2498
+ if (httpContentTypeSelected !== undefined) {
2499
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2500
+ }
2501
+ let responseType_ = 'json';
2502
+ if (localVarHttpHeaderAcceptSelected) {
2503
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2504
+ responseType_ = 'text';
2505
+ }
2506
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2507
+ responseType_ = 'json';
2508
+ }
2509
+ else {
2510
+ responseType_ = 'blob';
2511
+ }
2512
+ }
2513
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/regenerate-key/`;
2514
+ const { basePath, withCredentials } = this.configuration;
2515
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2516
+ context: localVarHttpContext,
2517
+ body: ticketWidgetCreate,
2518
+ responseType: responseType_,
2519
+ ...(withCredentials ? { withCredentials } : {}),
2520
+ headers: localVarHeaders,
2521
+ observe: observe,
2522
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2523
+ reportProgress: reportProgress
2524
+ });
2525
+ }
2526
+ apiTicketWidgetsRestoreCreate(requestParameters, observe = 'body', reportProgress = false, options) {
2527
+ const companyId = requestParameters?.companyId;
2528
+ if (companyId === null || companyId === undefined) {
2529
+ throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsRestoreCreate.');
2530
+ }
2531
+ const id = requestParameters?.id;
2532
+ if (id === null || id === undefined) {
2533
+ throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsRestoreCreate.');
2534
+ }
2535
+ const ticketWidgetCreate = requestParameters?.ticketWidgetCreate;
2536
+ if (ticketWidgetCreate === null || ticketWidgetCreate === undefined) {
2537
+ throw new Error('Required parameter ticketWidgetCreate was null or undefined when calling apiTicketWidgetsRestoreCreate.');
2538
+ }
2539
+ let localVarHeaders = this.defaultHeaders;
2540
+ // authentication (FirebaseAuthentication) required
2541
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2542
+ // authentication (basicAuth) required
2543
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2544
+ // authentication (cookieAuth) required
2545
+ // authentication (tokenAuth) required
2546
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2547
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2548
+ 'application/json'
2549
+ ]);
2550
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2551
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2552
+ }
2553
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2554
+ const localVarTransferCache = options?.transferCache ?? true;
2555
+ // to determine the Content-Type header
2556
+ const consumes = [
2557
+ 'application/json',
2558
+ 'application/x-www-form-urlencoded',
2559
+ 'multipart/form-data'
2560
+ ];
2561
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2562
+ if (httpContentTypeSelected !== undefined) {
2563
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2564
+ }
2565
+ let responseType_ = 'json';
2566
+ if (localVarHttpHeaderAcceptSelected) {
2567
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2568
+ responseType_ = 'text';
2569
+ }
2570
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2571
+ responseType_ = 'json';
2572
+ }
2573
+ else {
2574
+ responseType_ = 'blob';
2575
+ }
2576
+ }
2577
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/restore/`;
2578
+ const { basePath, withCredentials } = this.configuration;
2579
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2580
+ context: localVarHttpContext,
2581
+ body: ticketWidgetCreate,
2582
+ responseType: responseType_,
2583
+ ...(withCredentials ? { withCredentials } : {}),
2584
+ headers: localVarHeaders,
2585
+ observe: observe,
2586
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2587
+ reportProgress: reportProgress
2588
+ });
2589
+ }
2590
+ apiTicketWidgetsUpdate(requestParameters, observe = 'body', reportProgress = false, options) {
2591
+ const companyId = requestParameters?.companyId;
2592
+ if (companyId === null || companyId === undefined) {
2593
+ throw new Error('Required parameter companyId was null or undefined when calling apiTicketWidgetsUpdate.');
2594
+ }
2595
+ const id = requestParameters?.id;
2596
+ if (id === null || id === undefined) {
2597
+ throw new Error('Required parameter id was null or undefined when calling apiTicketWidgetsUpdate.');
2598
+ }
2599
+ const ticketWidgetUpdate = requestParameters?.ticketWidgetUpdate;
2600
+ if (ticketWidgetUpdate === null || ticketWidgetUpdate === undefined) {
2601
+ throw new Error('Required parameter ticketWidgetUpdate was null or undefined when calling apiTicketWidgetsUpdate.');
2602
+ }
2603
+ let localVarHeaders = this.defaultHeaders;
2604
+ // authentication (FirebaseAuthentication) required
2605
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2606
+ // authentication (basicAuth) required
2607
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2608
+ // authentication (cookieAuth) required
2609
+ // authentication (tokenAuth) required
2610
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2611
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2612
+ 'application/json'
2613
+ ]);
2614
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2615
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2616
+ }
2617
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2618
+ const localVarTransferCache = options?.transferCache ?? true;
2619
+ // to determine the Content-Type header
2620
+ const consumes = [
2621
+ 'application/json',
2622
+ 'application/x-www-form-urlencoded',
2623
+ 'multipart/form-data'
2624
+ ];
2625
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2626
+ if (httpContentTypeSelected !== undefined) {
2627
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2628
+ }
2629
+ let responseType_ = 'json';
2630
+ if (localVarHttpHeaderAcceptSelected) {
2631
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2632
+ responseType_ = 'text';
2633
+ }
2634
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2635
+ responseType_ = 'json';
2636
+ }
2637
+ else {
2638
+ responseType_ = 'blob';
2639
+ }
2640
+ }
2641
+ let localVarPath = `/api/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/ticket-widgets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2642
+ const { basePath, withCredentials } = this.configuration;
2643
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
2644
+ context: localVarHttpContext,
2645
+ body: ticketWidgetUpdate,
2646
+ responseType: responseType_,
2647
+ ...(withCredentials ? { withCredentials } : {}),
2648
+ headers: localVarHeaders,
2649
+ observe: observe,
2650
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2651
+ reportProgress: reportProgress
2652
+ });
2653
+ }
2654
+ apiVersionList(requestParameters, observe = 'body', reportProgress = false, options) {
2655
+ const ordering = requestParameters?.ordering;
2656
+ const page = requestParameters?.page;
2657
+ const pageSize = requestParameters?.pageSize;
2658
+ const search = requestParameters?.search;
2659
+ const userNotificationsIsRead = requestParameters?.userNotificationsIsRead;
2660
+ let localVarQueryParameters = new query_params_1.OpenApiHttpParams(this.encoder);
2661
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ordering', ordering, query_params_1.QueryParamStyle.Form, true);
2662
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page', page, query_params_1.QueryParamStyle.Form, true);
2663
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_size', pageSize, query_params_1.QueryParamStyle.Form, true);
2664
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'search', search, query_params_1.QueryParamStyle.Form, true);
2665
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'user_notifications__is_read', userNotificationsIsRead, query_params_1.QueryParamStyle.Form, true);
2666
+ let localVarHeaders = this.defaultHeaders;
2667
+ // authentication (FirebaseAuthentication) required
2668
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2669
+ // authentication (basicAuth) required
2670
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2671
+ // authentication (cookieAuth) required
2672
+ // authentication (tokenAuth) required
2673
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2674
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2675
+ 'application/json'
2676
+ ]);
2677
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2678
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2679
+ }
2680
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2681
+ const localVarTransferCache = options?.transferCache ?? true;
2682
+ let responseType_ = 'json';
2683
+ if (localVarHttpHeaderAcceptSelected) {
2684
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2685
+ responseType_ = 'text';
2686
+ }
2687
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2688
+ responseType_ = 'json';
2689
+ }
2690
+ else {
2691
+ responseType_ = 'blob';
2692
+ }
2693
+ }
2694
+ let localVarPath = `/api/version/`;
2695
+ const { basePath, withCredentials } = this.configuration;
2696
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2697
+ context: localVarHttpContext,
2698
+ params: localVarQueryParameters.toHttpParams(),
2699
+ responseType: responseType_,
2700
+ ...(withCredentials ? { withCredentials } : {}),
2701
+ headers: localVarHeaders,
2702
+ observe: observe,
2703
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2704
+ reportProgress: reportProgress
2705
+ });
2706
+ }
2707
+ apiVersionMarkAllAsReadCreate(requestParameters, observe = 'body', reportProgress = false, options) {
2708
+ const userVersion = requestParameters?.userVersion;
2709
+ let localVarHeaders = this.defaultHeaders;
2710
+ // authentication (FirebaseAuthentication) required
2711
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2712
+ // authentication (basicAuth) required
2713
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2714
+ // authentication (cookieAuth) required
2715
+ // authentication (tokenAuth) required
2716
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2717
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2718
+ 'application/json'
2719
+ ]);
2720
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2721
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2722
+ }
2723
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2724
+ const localVarTransferCache = options?.transferCache ?? true;
2725
+ // to determine the Content-Type header
2726
+ const consumes = [
2727
+ 'application/json',
2728
+ 'application/x-www-form-urlencoded',
2729
+ 'multipart/form-data'
2730
+ ];
2731
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2732
+ if (httpContentTypeSelected !== undefined) {
2733
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2734
+ }
2735
+ let responseType_ = 'json';
2736
+ if (localVarHttpHeaderAcceptSelected) {
2737
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2738
+ responseType_ = 'text';
2739
+ }
2740
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2741
+ responseType_ = 'json';
2742
+ }
2743
+ else {
2744
+ responseType_ = 'blob';
2745
+ }
2746
+ }
2747
+ let localVarPath = `/api/version/mark_all_as_read/`;
2748
+ const { basePath, withCredentials } = this.configuration;
2749
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2750
+ context: localVarHttpContext,
2751
+ body: userVersion,
2752
+ responseType: responseType_,
2753
+ ...(withCredentials ? { withCredentials } : {}),
2754
+ headers: localVarHeaders,
2755
+ observe: observe,
2756
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2757
+ reportProgress: reportProgress
2758
+ });
2759
+ }
2760
+ apiVersionMarkAsReadCreate(requestParameters, observe = 'body', reportProgress = false, options) {
2761
+ const id = requestParameters?.id;
2762
+ if (id === null || id === undefined) {
2763
+ throw new Error('Required parameter id was null or undefined when calling apiVersionMarkAsReadCreate.');
2764
+ }
2765
+ const userVersion = requestParameters?.userVersion;
2766
+ let localVarHeaders = this.defaultHeaders;
2767
+ // authentication (FirebaseAuthentication) required
2768
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2769
+ // authentication (basicAuth) required
2770
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2771
+ // authentication (cookieAuth) required
2772
+ // authentication (tokenAuth) required
2773
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2774
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2775
+ 'application/json'
2776
+ ]);
2777
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2778
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2779
+ }
2780
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2781
+ const localVarTransferCache = options?.transferCache ?? true;
2782
+ // to determine the Content-Type header
2783
+ const consumes = [
2784
+ 'application/json',
2785
+ 'application/x-www-form-urlencoded',
2786
+ 'multipart/form-data'
2787
+ ];
2788
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2789
+ if (httpContentTypeSelected !== undefined) {
2790
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2791
+ }
2792
+ let responseType_ = 'json';
2793
+ if (localVarHttpHeaderAcceptSelected) {
2794
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2795
+ responseType_ = 'text';
2796
+ }
2797
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2798
+ responseType_ = 'json';
2799
+ }
2800
+ else {
2801
+ responseType_ = 'blob';
2802
+ }
2803
+ }
2804
+ let localVarPath = `/api/version/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/mark_as_read/`;
2805
+ const { basePath, withCredentials } = this.configuration;
2806
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2807
+ context: localVarHttpContext,
2808
+ body: userVersion,
2809
+ responseType: responseType_,
2810
+ ...(withCredentials ? { withCredentials } : {}),
2811
+ headers: localVarHeaders,
2812
+ observe: observe,
2813
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2814
+ reportProgress: reportProgress
2815
+ });
2816
+ }
2817
+ apiVersionRetrieve(requestParameters, observe = 'body', reportProgress = false, options) {
2818
+ const id = requestParameters?.id;
2819
+ if (id === null || id === undefined) {
2820
+ throw new Error('Required parameter id was null or undefined when calling apiVersionRetrieve.');
2821
+ }
2822
+ let localVarHeaders = this.defaultHeaders;
2823
+ // authentication (FirebaseAuthentication) required
2824
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2825
+ // authentication (basicAuth) required
2826
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2827
+ // authentication (cookieAuth) required
2828
+ // authentication (tokenAuth) required
2829
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2830
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2831
+ 'application/json'
2832
+ ]);
2833
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2834
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2835
+ }
2836
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2837
+ const localVarTransferCache = options?.transferCache ?? true;
2838
+ let responseType_ = 'json';
2839
+ if (localVarHttpHeaderAcceptSelected) {
2840
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2841
+ responseType_ = 'text';
2842
+ }
2843
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2844
+ responseType_ = 'json';
2845
+ }
2846
+ else {
2847
+ responseType_ = 'blob';
2848
+ }
2849
+ }
2850
+ let localVarPath = `/api/version/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2851
+ const { basePath, withCredentials } = this.configuration;
2852
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2853
+ context: localVarHttpContext,
2854
+ responseType: responseType_,
2855
+ ...(withCredentials ? { withCredentials } : {}),
2856
+ headers: localVarHeaders,
2857
+ observe: observe,
2858
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2859
+ reportProgress: reportProgress
2860
+ });
2861
+ }
2862
+ onboardingAcceptInvite(requestParameters, observe = 'body', reportProgress = false, options) {
2863
+ const onboardingAcceptInviteRequest = requestParameters?.onboardingAcceptInviteRequest;
2864
+ let localVarHeaders = this.defaultHeaders;
2865
+ // authentication (FirebaseAuthentication) required
2866
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2867
+ // authentication (basicAuth) required
2868
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2869
+ // authentication (cookieAuth) required
2870
+ // authentication (tokenAuth) required
2871
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2872
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2873
+ 'application/json'
2874
+ ]);
2875
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2876
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2877
+ }
2878
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2879
+ const localVarTransferCache = options?.transferCache ?? true;
2880
+ // to determine the Content-Type header
2881
+ const consumes = [
2882
+ 'application/json'
2883
+ ];
2884
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2885
+ if (httpContentTypeSelected !== undefined) {
2886
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2887
+ }
2888
+ let responseType_ = 'json';
2889
+ if (localVarHttpHeaderAcceptSelected) {
2890
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2891
+ responseType_ = 'text';
2892
+ }
2893
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2894
+ responseType_ = 'json';
2895
+ }
2896
+ else {
2897
+ responseType_ = 'blob';
2898
+ }
2899
+ }
2900
+ let localVarPath = `/api/onboarding/accept-invite`;
2901
+ const { basePath, withCredentials } = this.configuration;
2902
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2903
+ context: localVarHttpContext,
2904
+ body: onboardingAcceptInviteRequest,
2905
+ responseType: responseType_,
2906
+ ...(withCredentials ? { withCredentials } : {}),
2907
+ headers: localVarHeaders,
2908
+ observe: observe,
2909
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2910
+ reportProgress: reportProgress
2911
+ });
2912
+ }
2913
+ onboardingAcceptInvite2(requestParameters, observe = 'body', reportProgress = false, options) {
2914
+ const onboardingAcceptInviteRequest = requestParameters?.onboardingAcceptInviteRequest;
2915
+ let localVarHeaders = this.defaultHeaders;
2916
+ // authentication (FirebaseAuthentication) required
2917
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2918
+ // authentication (basicAuth) required
2919
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2920
+ // authentication (cookieAuth) required
2921
+ // authentication (tokenAuth) required
2922
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2923
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2924
+ 'application/json'
2925
+ ]);
2926
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2927
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2928
+ }
2929
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2930
+ const localVarTransferCache = options?.transferCache ?? true;
2931
+ // to determine the Content-Type header
2932
+ const consumes = [
2933
+ 'application/json'
2934
+ ];
2935
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2936
+ if (httpContentTypeSelected !== undefined) {
2937
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
2938
+ }
2939
+ let responseType_ = 'json';
2940
+ if (localVarHttpHeaderAcceptSelected) {
2941
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2942
+ responseType_ = 'text';
2943
+ }
2944
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2945
+ responseType_ = 'json';
2946
+ }
2947
+ else {
2948
+ responseType_ = 'blob';
2949
+ }
2950
+ }
2951
+ let localVarPath = `/api/onboarding/accept-invite/`;
2952
+ const { basePath, withCredentials } = this.configuration;
2953
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2954
+ context: localVarHttpContext,
2955
+ body: onboardingAcceptInviteRequest,
2956
+ responseType: responseType_,
2957
+ ...(withCredentials ? { withCredentials } : {}),
2958
+ headers: localVarHeaders,
2959
+ observe: observe,
2960
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2961
+ reportProgress: reportProgress
2962
+ });
2963
+ }
2964
+ onboardingSendWelcomeEmail(observe = 'body', reportProgress = false, options) {
2965
+ let localVarHeaders = this.defaultHeaders;
2966
+ // authentication (FirebaseAuthentication) required
2967
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
2968
+ // authentication (basicAuth) required
2969
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
2970
+ // authentication (cookieAuth) required
2971
+ // authentication (tokenAuth) required
2972
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
2973
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2974
+ 'application/json'
2975
+ ]);
2976
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2977
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2978
+ }
2979
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
2980
+ const localVarTransferCache = options?.transferCache ?? true;
2981
+ let responseType_ = 'json';
2982
+ if (localVarHttpHeaderAcceptSelected) {
2983
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2984
+ responseType_ = 'text';
2985
+ }
2986
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2987
+ responseType_ = 'json';
2988
+ }
2989
+ else {
2990
+ responseType_ = 'blob';
2991
+ }
2992
+ }
2993
+ let localVarPath = `/api/onboarding/welcome`;
2994
+ const { basePath, withCredentials } = this.configuration;
2995
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
2996
+ context: localVarHttpContext,
2997
+ responseType: responseType_,
2998
+ ...(withCredentials ? { withCredentials } : {}),
2999
+ headers: localVarHeaders,
3000
+ observe: observe,
3001
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3002
+ reportProgress: reportProgress
3003
+ });
3004
+ }
3005
+ onboardingSendWelcomeEmail2(observe = 'body', reportProgress = false, options) {
3006
+ let localVarHeaders = this.defaultHeaders;
3007
+ // authentication (FirebaseAuthentication) required
3008
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
3009
+ // authentication (basicAuth) required
3010
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
3011
+ // authentication (cookieAuth) required
3012
+ // authentication (tokenAuth) required
3013
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
3014
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3015
+ 'application/json'
3016
+ ]);
3017
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3018
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3019
+ }
3020
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
3021
+ const localVarTransferCache = options?.transferCache ?? true;
3022
+ let responseType_ = 'json';
3023
+ if (localVarHttpHeaderAcceptSelected) {
3024
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3025
+ responseType_ = 'text';
3026
+ }
3027
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3028
+ responseType_ = 'json';
3029
+ }
3030
+ else {
3031
+ responseType_ = 'blob';
3032
+ }
3033
+ }
3034
+ let localVarPath = `/api/onboarding/welcome/`;
3035
+ const { basePath, withCredentials } = this.configuration;
3036
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3037
+ context: localVarHttpContext,
3038
+ responseType: responseType_,
3039
+ ...(withCredentials ? { withCredentials } : {}),
3040
+ headers: localVarHeaders,
3041
+ observe: observe,
3042
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3043
+ reportProgress: reportProgress
3044
+ });
3045
+ }
3046
+ taskMoveToSprint(requestParameters, observe = 'body', reportProgress = false, options) {
3047
+ const taskMoveToSprintRequest = requestParameters?.taskMoveToSprintRequest;
3048
+ let localVarHeaders = this.defaultHeaders;
3049
+ // authentication (FirebaseAuthentication) required
3050
+ localVarHeaders = this.configuration.addCredentialToHeaders('FirebaseAuthentication', 'Authorization', localVarHeaders, 'Bearer ');
3051
+ // authentication (basicAuth) required
3052
+ localVarHeaders = this.configuration.addCredentialToHeaders('basicAuth', 'Authorization', localVarHeaders, 'Basic ');
3053
+ // authentication (cookieAuth) required
3054
+ // authentication (tokenAuth) required
3055
+ localVarHeaders = this.configuration.addCredentialToHeaders('tokenAuth', 'Authorization', localVarHeaders);
3056
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3057
+ 'application/json'
3058
+ ]);
3059
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3060
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3061
+ }
3062
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
3063
+ const localVarTransferCache = options?.transferCache ?? true;
3064
+ // to determine the Content-Type header
3065
+ const consumes = [
3066
+ 'application/json'
3067
+ ];
3068
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3069
+ if (httpContentTypeSelected !== undefined) {
3070
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3071
+ }
3072
+ let responseType_ = 'json';
3073
+ if (localVarHttpHeaderAcceptSelected) {
3074
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3075
+ responseType_ = 'text';
3076
+ }
3077
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3078
+ responseType_ = 'json';
3079
+ }
3080
+ else {
3081
+ responseType_ = 'blob';
3082
+ }
3083
+ }
3084
+ let localVarPath = `/api/tasks/move-to-sprint/`;
3085
+ const { basePath, withCredentials } = this.configuration;
3086
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3087
+ context: localVarHttpContext,
3088
+ body: taskMoveToSprintRequest,
3089
+ responseType: responseType_,
3090
+ ...(withCredentials ? { withCredentials } : {}),
3091
+ headers: localVarHeaders,
3092
+ observe: observe,
3093
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3094
+ reportProgress: reportProgress
3095
+ });
3096
+ }
3097
+ ticketsSubmit(requestParameters, observe = 'body', reportProgress = false, options) {
3098
+ const ticketSubmit = requestParameters?.ticketSubmit;
3099
+ if (ticketSubmit === null || ticketSubmit === undefined) {
3100
+ throw new Error('Required parameter ticketSubmit was null or undefined when calling ticketsSubmit.');
3101
+ }
3102
+ let localVarHeaders = this.defaultHeaders;
3103
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3104
+ 'application/json'
3105
+ ]);
3106
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3107
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3108
+ }
3109
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
3110
+ const localVarTransferCache = options?.transferCache ?? true;
3111
+ // to determine the Content-Type header
3112
+ const consumes = [
3113
+ 'application/json',
3114
+ 'application/x-www-form-urlencoded',
3115
+ 'multipart/form-data'
3116
+ ];
3117
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3118
+ if (httpContentTypeSelected !== undefined) {
3119
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3120
+ }
3121
+ let responseType_ = 'json';
3122
+ if (localVarHttpHeaderAcceptSelected) {
3123
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3124
+ responseType_ = 'text';
3125
+ }
3126
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3127
+ responseType_ = 'json';
3128
+ }
3129
+ else {
3130
+ responseType_ = 'blob';
3131
+ }
3132
+ }
3133
+ let localVarPath = `/api/tickets/submit`;
3134
+ const { basePath, withCredentials } = this.configuration;
3135
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3136
+ context: localVarHttpContext,
3137
+ body: ticketSubmit,
3138
+ responseType: responseType_,
3139
+ ...(withCredentials ? { withCredentials } : {}),
3140
+ headers: localVarHeaders,
3141
+ observe: observe,
3142
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3143
+ reportProgress: reportProgress
3144
+ });
3145
+ }
3146
+ ticketsSubmit2(requestParameters, observe = 'body', reportProgress = false, options) {
3147
+ const ticketSubmit = requestParameters?.ticketSubmit;
3148
+ if (ticketSubmit === null || ticketSubmit === undefined) {
3149
+ throw new Error('Required parameter ticketSubmit was null or undefined when calling ticketsSubmit2.');
3150
+ }
3151
+ let localVarHeaders = this.defaultHeaders;
3152
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3153
+ 'application/json'
3154
+ ]);
3155
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3156
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3157
+ }
3158
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
3159
+ const localVarTransferCache = options?.transferCache ?? true;
3160
+ // to determine the Content-Type header
3161
+ const consumes = [
3162
+ 'application/json',
3163
+ 'application/x-www-form-urlencoded',
3164
+ 'multipart/form-data'
3165
+ ];
3166
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3167
+ if (httpContentTypeSelected !== undefined) {
3168
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3169
+ }
3170
+ let responseType_ = 'json';
3171
+ if (localVarHttpHeaderAcceptSelected) {
3172
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3173
+ responseType_ = 'text';
3174
+ }
3175
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3176
+ responseType_ = 'json';
3177
+ }
3178
+ else {
3179
+ responseType_ = 'blob';
3180
+ }
3181
+ }
3182
+ let localVarPath = `/api/tickets/submit/`;
3183
+ const { basePath, withCredentials } = this.configuration;
3184
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3185
+ context: localVarHttpContext,
3186
+ body: ticketSubmit,
3187
+ responseType: responseType_,
3188
+ ...(withCredentials ? { withCredentials } : {}),
3189
+ headers: localVarHeaders,
3190
+ observe: observe,
3191
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3192
+ reportProgress: reportProgress
3193
+ });
3194
+ }
3195
+ ticketsSubmit3(requestParameters, observe = 'body', reportProgress = false, options) {
3196
+ const ticketSubmit = requestParameters?.ticketSubmit;
3197
+ if (ticketSubmit === null || ticketSubmit === undefined) {
3198
+ throw new Error('Required parameter ticketSubmit was null or undefined when calling ticketsSubmit3.');
3199
+ }
3200
+ let localVarHeaders = this.defaultHeaders;
3201
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3202
+ 'application/json'
3203
+ ]);
3204
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3205
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3206
+ }
3207
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
3208
+ const localVarTransferCache = options?.transferCache ?? true;
3209
+ // to determine the Content-Type header
3210
+ const consumes = [
3211
+ 'application/json',
3212
+ 'application/x-www-form-urlencoded',
3213
+ 'multipart/form-data'
3214
+ ];
3215
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3216
+ if (httpContentTypeSelected !== undefined) {
3217
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3218
+ }
3219
+ let responseType_ = 'json';
3220
+ if (localVarHttpHeaderAcceptSelected) {
3221
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3222
+ responseType_ = 'text';
3223
+ }
3224
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3225
+ responseType_ = 'json';
3226
+ }
3227
+ else {
3228
+ responseType_ = 'blob';
3229
+ }
3230
+ }
3231
+ let localVarPath = `/api/ticketssubmit`;
3232
+ const { basePath, withCredentials } = this.configuration;
3233
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3234
+ context: localVarHttpContext,
3235
+ body: ticketSubmit,
3236
+ responseType: responseType_,
3237
+ ...(withCredentials ? { withCredentials } : {}),
3238
+ headers: localVarHeaders,
3239
+ observe: observe,
3240
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3241
+ reportProgress: reportProgress
3242
+ });
3243
+ }
3244
+ ticketsSubmit4(requestParameters, observe = 'body', reportProgress = false, options) {
3245
+ const ticketSubmit = requestParameters?.ticketSubmit;
3246
+ if (ticketSubmit === null || ticketSubmit === undefined) {
3247
+ throw new Error('Required parameter ticketSubmit was null or undefined when calling ticketsSubmit4.');
3248
+ }
3249
+ let localVarHeaders = this.defaultHeaders;
3250
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3251
+ 'application/json'
3252
+ ]);
3253
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3254
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3255
+ }
3256
+ const localVarHttpContext = options?.context ?? new http_1.HttpContext();
3257
+ const localVarTransferCache = options?.transferCache ?? true;
3258
+ // to determine the Content-Type header
3259
+ const consumes = [
3260
+ 'application/json',
3261
+ 'application/x-www-form-urlencoded',
3262
+ 'multipart/form-data'
3263
+ ];
3264
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3265
+ if (httpContentTypeSelected !== undefined) {
3266
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3267
+ }
3268
+ let responseType_ = 'json';
3269
+ if (localVarHttpHeaderAcceptSelected) {
3270
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3271
+ responseType_ = 'text';
3272
+ }
3273
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3274
+ responseType_ = 'json';
3275
+ }
3276
+ else {
3277
+ responseType_ = 'blob';
3278
+ }
3279
+ }
3280
+ let localVarPath = `/api/ticketssubmit/`;
3281
+ const { basePath, withCredentials } = this.configuration;
3282
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3283
+ context: localVarHttpContext,
3284
+ body: ticketSubmit,
3285
+ responseType: responseType_,
3286
+ ...(withCredentials ? { withCredentials } : {}),
3287
+ headers: localVarHeaders,
3288
+ observe: observe,
3289
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3290
+ reportProgress: reportProgress
3291
+ });
3292
+ }
3293
+ };
3294
+ exports.ApiService = ApiService;
3295
+ exports.ApiService = ApiService = __decorate([
3296
+ (0, core_1.Injectable)({
3297
+ providedIn: 'root'
3298
+ }),
3299
+ __param(1, (0, core_1.Optional)()),
3300
+ __param(1, (0, core_1.Inject)(variables_1.BASE_PATH)),
3301
+ __param(2, (0, core_1.Optional)()),
3302
+ __metadata("design:paramtypes", [http_1.HttpClient, Object, configuration_1.Configuration])
3303
+ ], ApiService);
3304
+ //# sourceMappingURL=api.service.js.map