@digital8/task-dashboard-ts-sdk 0.0.0-stage → 0.0.1

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 (579) hide show
  1. package/.openapi-generator/FILES +197 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +45 -2
  5. package/dist/apis/AllocationDaysApi.d.ts +63 -0
  6. package/dist/apis/AllocationDaysApi.js +304 -0
  7. package/dist/apis/AllocationsApi.d.ts +85 -0
  8. package/dist/apis/AllocationsApi.js +415 -0
  9. package/dist/apis/AuthApi.d.ts +78 -0
  10. package/dist/apis/AuthApi.js +374 -0
  11. package/dist/apis/BudgetEntriesApi.d.ts +40 -0
  12. package/dist/apis/BudgetEntriesApi.js +190 -0
  13. package/dist/apis/ClientsApi.d.ts +85 -0
  14. package/dist/apis/ClientsApi.js +415 -0
  15. package/dist/apis/PeopleApi.d.ts +96 -0
  16. package/dist/apis/PeopleApi.js +471 -0
  17. package/dist/apis/ProjectJobsApi.d.ts +143 -0
  18. package/dist/apis/ProjectJobsApi.js +701 -0
  19. package/dist/apis/ProjectsApi.d.ts +193 -0
  20. package/dist/apis/ProjectsApi.js +937 -0
  21. package/dist/apis/PublicHolidaysApi.d.ts +29 -0
  22. package/dist/apis/PublicHolidaysApi.js +135 -0
  23. package/dist/apis/ReportsApi.d.ts +53 -0
  24. package/dist/apis/ReportsApi.js +251 -0
  25. package/dist/apis/ScheduleApi.d.ts +29 -0
  26. package/dist/apis/ScheduleApi.js +135 -0
  27. package/dist/apis/SettingsApi.d.ts +37 -0
  28. package/dist/apis/SettingsApi.js +187 -0
  29. package/dist/apis/TasksApi.d.ts +74 -0
  30. package/dist/apis/TasksApi.js +359 -0
  31. package/dist/apis/TimeEntriesApi.d.ts +85 -0
  32. package/dist/apis/TimeEntriesApi.js +415 -0
  33. package/dist/apis/TimeOffApi.d.ts +85 -0
  34. package/dist/apis/TimeOffApi.js +415 -0
  35. package/dist/apis/TimeOffDaysApi.d.ts +63 -0
  36. package/dist/apis/TimeOffDaysApi.js +304 -0
  37. package/dist/apis/index.d.ts +16 -0
  38. package/dist/apis/index.js +34 -0
  39. package/dist/index.d.ts +3 -0
  40. package/dist/index.js +21 -0
  41. package/dist/models/AllocationDayResource.d.ts +62 -0
  42. package/dist/models/AllocationDayResource.js +71 -0
  43. package/dist/models/AllocationDayResourceArrayResponse.d.ts +33 -0
  44. package/dist/models/AllocationDayResourceArrayResponse.js +52 -0
  45. package/dist/models/AllocationListResource.d.ts +76 -0
  46. package/dist/models/AllocationListResource.js +81 -0
  47. package/dist/models/AllocationListResourceArrayResponse.d.ts +33 -0
  48. package/dist/models/AllocationListResourceArrayResponse.js +52 -0
  49. package/dist/models/AllocationLiteResource.d.ts +62 -0
  50. package/dist/models/AllocationLiteResource.js +71 -0
  51. package/dist/models/AllocationLiteResourceArrayResponse.d.ts +33 -0
  52. package/dist/models/AllocationLiteResourceArrayResponse.js +52 -0
  53. package/dist/models/AllocationResource.d.ts +94 -0
  54. package/dist/models/AllocationResource.js +93 -0
  55. package/dist/models/AllocationResourceArrayResponse.d.ts +33 -0
  56. package/dist/models/AllocationResourceArrayResponse.js +52 -0
  57. package/dist/models/AttachBudgetEntriesToProjectJobRequest.d.ts +33 -0
  58. package/dist/models/AttachBudgetEntriesToProjectJobRequest.js +52 -0
  59. package/dist/models/AttachBudgetEntriesToProjectRequest.d.ts +33 -0
  60. package/dist/models/AttachBudgetEntriesToProjectRequest.js +52 -0
  61. package/dist/models/AttachClickupListsToProjectRequest.d.ts +33 -0
  62. package/dist/models/AttachClickupListsToProjectRequest.js +52 -0
  63. package/dist/models/AttachTasksToProjectRequest.d.ts +33 -0
  64. package/dist/models/AttachTasksToProjectRequest.js +52 -0
  65. package/dist/models/AustralianState.d.ts +31 -0
  66. package/dist/models/AustralianState.js +57 -0
  67. package/dist/models/BudgetEntryResource.d.ts +74 -0
  68. package/dist/models/BudgetEntryResource.js +79 -0
  69. package/dist/models/BudgetEntryResourceArrayResponse.d.ts +33 -0
  70. package/dist/models/BudgetEntryResourceArrayResponse.js +52 -0
  71. package/dist/models/BudgetType.d.ts +25 -0
  72. package/dist/models/BudgetType.js +51 -0
  73. package/dist/models/BudgetUsageResource.d.ts +129 -0
  74. package/dist/models/BudgetUsageResource.js +116 -0
  75. package/dist/models/BudgetUsageResourceArrayResponse.d.ts +33 -0
  76. package/dist/models/BudgetUsageResourceArrayResponse.js +52 -0
  77. package/dist/models/CapacityDayResource.d.ts +62 -0
  78. package/dist/models/CapacityDayResource.js +71 -0
  79. package/dist/models/CapacityDayResourceArrayResponse.d.ts +33 -0
  80. package/dist/models/CapacityDayResourceArrayResponse.js +52 -0
  81. package/dist/models/ChangePasswordRequest.d.ts +38 -0
  82. package/dist/models/ChangePasswordRequest.js +55 -0
  83. package/dist/models/ClickupListResource.d.ts +44 -0
  84. package/dist/models/ClickupListResource.js +59 -0
  85. package/dist/models/ClickupListResourceArrayResponse.d.ts +33 -0
  86. package/dist/models/ClickupListResourceArrayResponse.js +52 -0
  87. package/dist/models/ClientListResource.d.ts +56 -0
  88. package/dist/models/ClientListResource.js +67 -0
  89. package/dist/models/ClientListResourceArrayResponse.d.ts +33 -0
  90. package/dist/models/ClientListResourceArrayResponse.js +52 -0
  91. package/dist/models/ClientLiteResource.d.ts +44 -0
  92. package/dist/models/ClientLiteResource.js +59 -0
  93. package/dist/models/ClientLiteResourceArrayResponse.d.ts +33 -0
  94. package/dist/models/ClientLiteResourceArrayResponse.js +52 -0
  95. package/dist/models/ClientReportResource.d.ts +70 -0
  96. package/dist/models/ClientReportResource.js +77 -0
  97. package/dist/models/ClientReportResourceArrayResponse.d.ts +33 -0
  98. package/dist/models/ClientReportResourceArrayResponse.js +52 -0
  99. package/dist/models/ClientReportRowResource.d.ts +71 -0
  100. package/dist/models/ClientReportRowResource.js +78 -0
  101. package/dist/models/ClientReportRowResourceArrayResponse.d.ts +33 -0
  102. package/dist/models/ClientReportRowResourceArrayResponse.js +52 -0
  103. package/dist/models/ClientResource.d.ts +56 -0
  104. package/dist/models/ClientResource.js +67 -0
  105. package/dist/models/ClientResourceArrayResponse.d.ts +33 -0
  106. package/dist/models/ClientResourceArrayResponse.js +52 -0
  107. package/dist/models/CreateAllocationRequest.d.ts +68 -0
  108. package/dist/models/CreateAllocationRequest.js +70 -0
  109. package/dist/models/CreateClientRequest.d.ts +38 -0
  110. package/dist/models/CreateClientRequest.js +53 -0
  111. package/dist/models/CreatePersonRequest.d.ts +82 -0
  112. package/dist/models/CreatePersonRequest.js +77 -0
  113. package/dist/models/CreatePersonRequestUser.d.ts +45 -0
  114. package/dist/models/CreatePersonRequestUser.js +54 -0
  115. package/dist/models/CreateProjectJobRequest.d.ts +70 -0
  116. package/dist/models/CreateProjectJobRequest.js +69 -0
  117. package/dist/models/CreateProjectRequest.d.ts +91 -0
  118. package/dist/models/CreateProjectRequest.js +78 -0
  119. package/dist/models/CreateProjectRequestBudgetEntriesInner.d.ts +44 -0
  120. package/dist/models/CreateProjectRequestBudgetEntriesInner.js +57 -0
  121. package/dist/models/CreateProjectRequestClickupListsInner.d.ts +38 -0
  122. package/dist/models/CreateProjectRequestClickupListsInner.js +55 -0
  123. package/dist/models/CreateProjectRequestTasksInner.d.ts +38 -0
  124. package/dist/models/CreateProjectRequestTasksInner.js +53 -0
  125. package/dist/models/CreateTaskRequest.d.ts +56 -0
  126. package/dist/models/CreateTaskRequest.js +61 -0
  127. package/dist/models/CreateTimeEntryRequest.d.ts +74 -0
  128. package/dist/models/CreateTimeEntryRequest.js +71 -0
  129. package/dist/models/CreateTimeOffRequest.d.ts +69 -0
  130. package/dist/models/CreateTimeOffRequest.js +67 -0
  131. package/dist/models/CurrentUserResource.d.ts +52 -0
  132. package/dist/models/CurrentUserResource.js +65 -0
  133. package/dist/models/CurrentUserResourceArrayResponse.d.ts +33 -0
  134. package/dist/models/CurrentUserResourceArrayResponse.js +52 -0
  135. package/dist/models/DetachBudgetEntriesFromProjectJobRequest.d.ts +32 -0
  136. package/dist/models/DetachBudgetEntriesFromProjectJobRequest.js +51 -0
  137. package/dist/models/DetachBudgetEntriesFromProjectRequest.d.ts +32 -0
  138. package/dist/models/DetachBudgetEntriesFromProjectRequest.js +51 -0
  139. package/dist/models/DetachClickupListsFromProjectRequest.d.ts +32 -0
  140. package/dist/models/DetachClickupListsFromProjectRequest.js +51 -0
  141. package/dist/models/DetachTasksFromProjectRequest.d.ts +38 -0
  142. package/dist/models/DetachTasksFromProjectRequest.js +53 -0
  143. package/dist/models/GenericResponse.d.ts +32 -0
  144. package/dist/models/GenericResponse.js +51 -0
  145. package/dist/models/GetClientReportRequest.d.ts +38 -0
  146. package/dist/models/GetClientReportRequest.js +55 -0
  147. package/dist/models/GetPeopleReportRequest.d.ts +44 -0
  148. package/dist/models/GetPeopleReportRequest.js +57 -0
  149. package/dist/models/GetProjectReportRequest.d.ts +38 -0
  150. package/dist/models/GetProjectReportRequest.js +51 -0
  151. package/dist/models/GetScheduleCapacityRequest.d.ts +44 -0
  152. package/dist/models/GetScheduleCapacityRequest.js +57 -0
  153. package/dist/models/JobReportResource.d.ts +47 -0
  154. package/dist/models/JobReportResource.js +62 -0
  155. package/dist/models/JobReportResourceArrayResponse.d.ts +33 -0
  156. package/dist/models/JobReportResourceArrayResponse.js +52 -0
  157. package/dist/models/LoginRequest.d.ts +38 -0
  158. package/dist/models/LoginRequest.js +55 -0
  159. package/dist/models/PaginatedAllocationDayResourceResponse.d.ts +40 -0
  160. package/dist/models/PaginatedAllocationDayResourceResponse.js +57 -0
  161. package/dist/models/PaginatedAllocationListResourceResponse.d.ts +40 -0
  162. package/dist/models/PaginatedAllocationListResourceResponse.js +57 -0
  163. package/dist/models/PaginatedBudgetEntryResourceResponse.d.ts +40 -0
  164. package/dist/models/PaginatedBudgetEntryResourceResponse.js +57 -0
  165. package/dist/models/PaginatedClientListResourceResponse.d.ts +40 -0
  166. package/dist/models/PaginatedClientListResourceResponse.js +57 -0
  167. package/dist/models/PaginatedPersonListResourceResponse.d.ts +40 -0
  168. package/dist/models/PaginatedPersonListResourceResponse.js +57 -0
  169. package/dist/models/PaginatedProjectJobListResourceResponse.d.ts +40 -0
  170. package/dist/models/PaginatedProjectJobListResourceResponse.js +57 -0
  171. package/dist/models/PaginatedProjectListResourceResponse.d.ts +40 -0
  172. package/dist/models/PaginatedProjectListResourceResponse.js +57 -0
  173. package/dist/models/PaginatedTaskListResourceResponse.d.ts +40 -0
  174. package/dist/models/PaginatedTaskListResourceResponse.js +57 -0
  175. package/dist/models/PaginatedTimeEntryListResourceResponse.d.ts +40 -0
  176. package/dist/models/PaginatedTimeEntryListResourceResponse.js +57 -0
  177. package/dist/models/PaginatedTimeOffDayResourceResponse.d.ts +40 -0
  178. package/dist/models/PaginatedTimeOffDayResourceResponse.js +57 -0
  179. package/dist/models/PaginatedTimeOffListResourceResponse.d.ts +40 -0
  180. package/dist/models/PaginatedTimeOffListResourceResponse.js +57 -0
  181. package/dist/models/PagingMetadata.d.ts +68 -0
  182. package/dist/models/PagingMetadata.js +75 -0
  183. package/dist/models/PersonListResource.d.ts +100 -0
  184. package/dist/models/PersonListResource.js +97 -0
  185. package/dist/models/PersonListResourceArrayResponse.d.ts +33 -0
  186. package/dist/models/PersonListResourceArrayResponse.js +52 -0
  187. package/dist/models/PersonLiteResource.d.ts +51 -0
  188. package/dist/models/PersonLiteResource.js +64 -0
  189. package/dist/models/PersonLiteResourceArrayResponse.d.ts +33 -0
  190. package/dist/models/PersonLiteResourceArrayResponse.js +52 -0
  191. package/dist/models/PersonReportProjectResource.d.ts +58 -0
  192. package/dist/models/PersonReportProjectResource.js +69 -0
  193. package/dist/models/PersonReportProjectResourceArrayResponse.d.ts +33 -0
  194. package/dist/models/PersonReportProjectResourceArrayResponse.js +52 -0
  195. package/dist/models/PersonReportResource.d.ts +70 -0
  196. package/dist/models/PersonReportResource.js +77 -0
  197. package/dist/models/PersonReportResourceArrayResponse.d.ts +33 -0
  198. package/dist/models/PersonReportResourceArrayResponse.js +52 -0
  199. package/dist/models/PersonResource.d.ts +106 -0
  200. package/dist/models/PersonResource.js +101 -0
  201. package/dist/models/PersonResourceArrayResponse.d.ts +33 -0
  202. package/dist/models/PersonResourceArrayResponse.js +52 -0
  203. package/dist/models/PersonType.d.ts +25 -0
  204. package/dist/models/PersonType.js +51 -0
  205. package/dist/models/ProjectJobListResource.d.ts +102 -0
  206. package/dist/models/ProjectJobListResource.js +99 -0
  207. package/dist/models/ProjectJobListResourceArrayResponse.d.ts +33 -0
  208. package/dist/models/ProjectJobListResourceArrayResponse.js +52 -0
  209. package/dist/models/ProjectJobLiteResource.d.ts +63 -0
  210. package/dist/models/ProjectJobLiteResource.js +72 -0
  211. package/dist/models/ProjectJobLiteResourceArrayResponse.d.ts +33 -0
  212. package/dist/models/ProjectJobLiteResourceArrayResponse.js +52 -0
  213. package/dist/models/ProjectJobResource.d.ts +102 -0
  214. package/dist/models/ProjectJobResource.js +99 -0
  215. package/dist/models/ProjectJobResourceArrayResponse.d.ts +33 -0
  216. package/dist/models/ProjectJobResourceArrayResponse.js +52 -0
  217. package/dist/models/ProjectJobStatus.d.ts +25 -0
  218. package/dist/models/ProjectJobStatus.js +51 -0
  219. package/dist/models/ProjectListResource.d.ts +95 -0
  220. package/dist/models/ProjectListResource.js +94 -0
  221. package/dist/models/ProjectListResourceArrayResponse.d.ts +33 -0
  222. package/dist/models/ProjectListResourceArrayResponse.js +52 -0
  223. package/dist/models/ProjectLiteResource.d.ts +57 -0
  224. package/dist/models/ProjectLiteResource.js +68 -0
  225. package/dist/models/ProjectLiteResourceArrayResponse.d.ts +33 -0
  226. package/dist/models/ProjectLiteResourceArrayResponse.js +52 -0
  227. package/dist/models/ProjectReportResource.d.ts +61 -0
  228. package/dist/models/ProjectReportResource.js +72 -0
  229. package/dist/models/ProjectReportResourceArrayResponse.d.ts +33 -0
  230. package/dist/models/ProjectReportResourceArrayResponse.js +52 -0
  231. package/dist/models/ProjectResource.d.ts +109 -0
  232. package/dist/models/ProjectResource.js +104 -0
  233. package/dist/models/ProjectResourceArrayResponse.d.ts +33 -0
  234. package/dist/models/ProjectResourceArrayResponse.js +52 -0
  235. package/dist/models/ProjectTaskResource.d.ts +56 -0
  236. package/dist/models/ProjectTaskResource.js +67 -0
  237. package/dist/models/ProjectTaskResourceArrayResponse.d.ts +33 -0
  238. package/dist/models/ProjectTaskResourceArrayResponse.js +52 -0
  239. package/dist/models/ProjectType.d.ts +26 -0
  240. package/dist/models/ProjectType.js +52 -0
  241. package/dist/models/PublicHolidayResource.d.ts +50 -0
  242. package/dist/models/PublicHolidayResource.js +63 -0
  243. package/dist/models/PublicHolidayResourceArrayResponse.d.ts +33 -0
  244. package/dist/models/PublicHolidayResourceArrayResponse.js +52 -0
  245. package/dist/models/RateSource.d.ts +27 -0
  246. package/dist/models/RateSource.js +53 -0
  247. package/dist/models/ResetPasswordRequest.d.ts +44 -0
  248. package/dist/models/ResetPasswordRequest.js +59 -0
  249. package/dist/models/SearchAllAllocationDaysRequest.d.ts +107 -0
  250. package/dist/models/SearchAllAllocationDaysRequest.js +87 -0
  251. package/dist/models/SearchAllAllocationsRequest.d.ts +90 -0
  252. package/dist/models/SearchAllAllocationsRequest.js +78 -0
  253. package/dist/models/SearchAllBudgetEntriesRequest.d.ts +86 -0
  254. package/dist/models/SearchAllBudgetEntriesRequest.js +81 -0
  255. package/dist/models/SearchAllClientsRequest.d.ts +84 -0
  256. package/dist/models/SearchAllClientsRequest.js +76 -0
  257. package/dist/models/SearchAllPeopleRequest.d.ts +93 -0
  258. package/dist/models/SearchAllPeopleRequest.js +81 -0
  259. package/dist/models/SearchAllProjectJobsRequest.d.ts +99 -0
  260. package/dist/models/SearchAllProjectJobsRequest.js +83 -0
  261. package/dist/models/SearchAllProjectsRequest.d.ts +104 -0
  262. package/dist/models/SearchAllProjectsRequest.js +84 -0
  263. package/dist/models/SearchAllPublicHolidaysRequest.d.ts +89 -0
  264. package/dist/models/SearchAllPublicHolidaysRequest.js +77 -0
  265. package/dist/models/SearchAllTasksRequest.d.ts +96 -0
  266. package/dist/models/SearchAllTasksRequest.js +80 -0
  267. package/dist/models/SearchAllTimeEntriesRequest.d.ts +115 -0
  268. package/dist/models/SearchAllTimeEntriesRequest.js +87 -0
  269. package/dist/models/SearchAllTimeOffDaysRequest.d.ts +101 -0
  270. package/dist/models/SearchAllTimeOffDaysRequest.js +85 -0
  271. package/dist/models/SearchAllTimeOffRequest.d.ts +90 -0
  272. package/dist/models/SearchAllTimeOffRequest.js +78 -0
  273. package/dist/models/SearchAllocationDaysRequest.d.ts +119 -0
  274. package/dist/models/SearchAllocationDaysRequest.js +87 -0
  275. package/dist/models/SearchAllocationsRequest.d.ts +102 -0
  276. package/dist/models/SearchAllocationsRequest.js +82 -0
  277. package/dist/models/SearchBudgetEntriesRequest.d.ts +98 -0
  278. package/dist/models/SearchBudgetEntriesRequest.js +85 -0
  279. package/dist/models/SearchClientsRequest.d.ts +96 -0
  280. package/dist/models/SearchClientsRequest.js +80 -0
  281. package/dist/models/SearchPeopleRequest.d.ts +105 -0
  282. package/dist/models/SearchPeopleRequest.js +85 -0
  283. package/dist/models/SearchProjectJobsRequest.d.ts +111 -0
  284. package/dist/models/SearchProjectJobsRequest.js +87 -0
  285. package/dist/models/SearchProjectsRequest.d.ts +116 -0
  286. package/dist/models/SearchProjectsRequest.js +88 -0
  287. package/dist/models/SearchTasksRequest.d.ts +108 -0
  288. package/dist/models/SearchTasksRequest.js +84 -0
  289. package/dist/models/SearchTimeEntriesRequest.d.ts +127 -0
  290. package/dist/models/SearchTimeEntriesRequest.js +91 -0
  291. package/dist/models/SearchTimeOffDaysRequest.d.ts +113 -0
  292. package/dist/models/SearchTimeOffDaysRequest.js +85 -0
  293. package/dist/models/SearchTimeOffRequest.d.ts +102 -0
  294. package/dist/models/SearchTimeOffRequest.js +82 -0
  295. package/dist/models/SendForgotPasswordLinkRequest.d.ts +32 -0
  296. package/dist/models/SendForgotPasswordLinkRequest.js +51 -0
  297. package/dist/models/SettingsResource.d.ts +32 -0
  298. package/dist/models/SettingsResource.js +51 -0
  299. package/dist/models/SettingsResourceArrayResponse.d.ts +33 -0
  300. package/dist/models/SettingsResourceArrayResponse.js +52 -0
  301. package/dist/models/TaskListResource.d.ts +74 -0
  302. package/dist/models/TaskListResource.js +79 -0
  303. package/dist/models/TaskListResourceArrayResponse.d.ts +33 -0
  304. package/dist/models/TaskListResourceArrayResponse.js +52 -0
  305. package/dist/models/TaskLiteResource.d.ts +50 -0
  306. package/dist/models/TaskLiteResource.js +63 -0
  307. package/dist/models/TaskLiteResourceArrayResponse.d.ts +33 -0
  308. package/dist/models/TaskLiteResourceArrayResponse.js +52 -0
  309. package/dist/models/TaskResource.d.ts +74 -0
  310. package/dist/models/TaskResource.js +79 -0
  311. package/dist/models/TaskResourceArrayResponse.d.ts +33 -0
  312. package/dist/models/TaskResourceArrayResponse.js +52 -0
  313. package/dist/models/TimeEntryListResource.d.ts +96 -0
  314. package/dist/models/TimeEntryListResource.js +95 -0
  315. package/dist/models/TimeEntryListResourceArrayResponse.d.ts +33 -0
  316. package/dist/models/TimeEntryListResourceArrayResponse.js +52 -0
  317. package/dist/models/TimeEntryLiteResource.d.ts +68 -0
  318. package/dist/models/TimeEntryLiteResource.js +75 -0
  319. package/dist/models/TimeEntryLiteResourceArrayResponse.d.ts +33 -0
  320. package/dist/models/TimeEntryLiteResourceArrayResponse.js +52 -0
  321. package/dist/models/TimeEntryResource.d.ts +102 -0
  322. package/dist/models/TimeEntryResource.js +99 -0
  323. package/dist/models/TimeEntryResourceArrayResponse.d.ts +33 -0
  324. package/dist/models/TimeEntryResourceArrayResponse.js +52 -0
  325. package/dist/models/TimeOffDayResource.d.ts +56 -0
  326. package/dist/models/TimeOffDayResource.js +67 -0
  327. package/dist/models/TimeOffDayResourceArrayResponse.d.ts +33 -0
  328. package/dist/models/TimeOffDayResourceArrayResponse.js +52 -0
  329. package/dist/models/TimeOffListResource.d.ts +76 -0
  330. package/dist/models/TimeOffListResource.js +81 -0
  331. package/dist/models/TimeOffListResourceArrayResponse.d.ts +33 -0
  332. package/dist/models/TimeOffListResourceArrayResponse.js +52 -0
  333. package/dist/models/TimeOffLiteResource.d.ts +69 -0
  334. package/dist/models/TimeOffLiteResource.js +76 -0
  335. package/dist/models/TimeOffLiteResourceArrayResponse.d.ts +33 -0
  336. package/dist/models/TimeOffLiteResourceArrayResponse.js +52 -0
  337. package/dist/models/TimeOffResource.d.ts +94 -0
  338. package/dist/models/TimeOffResource.js +93 -0
  339. package/dist/models/TimeOffResourceArrayResponse.d.ts +33 -0
  340. package/dist/models/TimeOffResourceArrayResponse.js +52 -0
  341. package/dist/models/TimeOffType.d.ts +25 -0
  342. package/dist/models/TimeOffType.js +51 -0
  343. package/dist/models/UpdateAllocationDayRequest.d.ts +50 -0
  344. package/dist/models/UpdateAllocationDayRequest.js +55 -0
  345. package/dist/models/UpdateAllocationRequest.d.ts +68 -0
  346. package/dist/models/UpdateAllocationRequest.js +62 -0
  347. package/dist/models/UpdateClientRequest.d.ts +38 -0
  348. package/dist/models/UpdateClientRequest.js +51 -0
  349. package/dist/models/UpdatePersonRequest.d.ts +82 -0
  350. package/dist/models/UpdatePersonRequest.js +67 -0
  351. package/dist/models/UpdateProjectBudgetEntryRequest.d.ts +50 -0
  352. package/dist/models/UpdateProjectBudgetEntryRequest.js +59 -0
  353. package/dist/models/UpdateProjectClickupListRequest.d.ts +38 -0
  354. package/dist/models/UpdateProjectClickupListRequest.js +55 -0
  355. package/dist/models/UpdateProjectJobBudgetEntryRequest.d.ts +50 -0
  356. package/dist/models/UpdateProjectJobBudgetEntryRequest.js +59 -0
  357. package/dist/models/UpdateProjectJobRequest.d.ts +51 -0
  358. package/dist/models/UpdateProjectJobRequest.js +56 -0
  359. package/dist/models/UpdateProjectRequest.d.ts +64 -0
  360. package/dist/models/UpdateProjectRequest.js +61 -0
  361. package/dist/models/UpdateProjectTaskRateRequest.d.ts +38 -0
  362. package/dist/models/UpdateProjectTaskRateRequest.js +53 -0
  363. package/dist/models/UpdateSettingsRequest.d.ts +32 -0
  364. package/dist/models/UpdateSettingsRequest.js +49 -0
  365. package/dist/models/UpdateTaskRequest.d.ts +56 -0
  366. package/dist/models/UpdateTaskRequest.js +57 -0
  367. package/dist/models/UpdateTimeEntryRequest.d.ts +74 -0
  368. package/dist/models/UpdateTimeEntryRequest.js +63 -0
  369. package/dist/models/UpdateTimeOffDayRequest.d.ts +38 -0
  370. package/dist/models/UpdateTimeOffDayRequest.js +51 -0
  371. package/dist/models/UpdateTimeOffRequest.d.ts +63 -0
  372. package/dist/models/UpdateTimeOffRequest.js +61 -0
  373. package/dist/models/UserAuthTokenResource.d.ts +39 -0
  374. package/dist/models/UserAuthTokenResource.js +56 -0
  375. package/dist/models/UserAuthTokenResourceArrayResponse.d.ts +33 -0
  376. package/dist/models/UserAuthTokenResourceArrayResponse.js +52 -0
  377. package/dist/models/UserResource.d.ts +45 -0
  378. package/dist/models/UserResource.js +60 -0
  379. package/dist/models/UserResourceArrayResponse.d.ts +33 -0
  380. package/dist/models/UserResourceArrayResponse.js +52 -0
  381. package/dist/models/UserRole.d.ts +25 -0
  382. package/dist/models/UserRole.js +51 -0
  383. package/dist/models/index.d.ts +171 -0
  384. package/dist/models/index.js +189 -0
  385. package/dist/runtime.d.ts +184 -0
  386. package/dist/runtime.js +564 -0
  387. package/package.json +17 -4
  388. package/src/apis/AllocationDaysApi.ts +238 -0
  389. package/src/apis/AllocationsApi.ts +334 -0
  390. package/src/apis/AuthApi.ts +274 -0
  391. package/src/apis/BudgetEntriesApi.ts +127 -0
  392. package/src/apis/ClientsApi.ts +334 -0
  393. package/src/apis/PeopleApi.ts +383 -0
  394. package/src/apis/ProjectJobsApi.ts +600 -0
  395. package/src/apis/ProjectsApi.ts +838 -0
  396. package/src/apis/PublicHolidaysApi.ts +77 -0
  397. package/src/apis/ReportsApi.ts +195 -0
  398. package/src/apis/ScheduleApi.ts +77 -0
  399. package/src/apis/SettingsApi.ts +114 -0
  400. package/src/apis/TasksApi.ts +282 -0
  401. package/src/apis/TimeEntriesApi.ts +334 -0
  402. package/src/apis/TimeOffApi.ts +334 -0
  403. package/src/apis/TimeOffDaysApi.ts +238 -0
  404. package/src/apis/index.ts +18 -0
  405. package/src/index.ts +5 -0
  406. package/src/models/AllocationDayResource.ts +111 -0
  407. package/src/models/AllocationDayResourceArrayResponse.ts +74 -0
  408. package/src/models/AllocationListResource.ts +144 -0
  409. package/src/models/AllocationListResourceArrayResponse.ts +74 -0
  410. package/src/models/AllocationLiteResource.ts +111 -0
  411. package/src/models/AllocationLiteResourceArrayResponse.ts +74 -0
  412. package/src/models/AllocationResource.ts +171 -0
  413. package/src/models/AllocationResourceArrayResponse.ts +74 -0
  414. package/src/models/AttachBudgetEntriesToProjectJobRequest.ts +74 -0
  415. package/src/models/AttachBudgetEntriesToProjectRequest.ts +74 -0
  416. package/src/models/AttachClickupListsToProjectRequest.ts +74 -0
  417. package/src/models/AttachTasksToProjectRequest.ts +74 -0
  418. package/src/models/AustralianState.ts +59 -0
  419. package/src/models/BudgetEntryResource.ts +129 -0
  420. package/src/models/BudgetEntryResourceArrayResponse.ts +74 -0
  421. package/src/models/BudgetType.ts +53 -0
  422. package/src/models/BudgetUsageResource.ts +220 -0
  423. package/src/models/BudgetUsageResourceArrayResponse.ts +74 -0
  424. package/src/models/CapacityDayResource.ts +111 -0
  425. package/src/models/CapacityDayResourceArrayResponse.ts +74 -0
  426. package/src/models/ChangePasswordRequest.ts +75 -0
  427. package/src/models/ClickupListResource.ts +84 -0
  428. package/src/models/ClickupListResourceArrayResponse.ts +74 -0
  429. package/src/models/ClientListResource.ts +102 -0
  430. package/src/models/ClientListResourceArrayResponse.ts +74 -0
  431. package/src/models/ClientLiteResource.ts +84 -0
  432. package/src/models/ClientLiteResourceArrayResponse.ts +74 -0
  433. package/src/models/ClientReportResource.ts +135 -0
  434. package/src/models/ClientReportResourceArrayResponse.ts +74 -0
  435. package/src/models/ClientReportRowResource.ts +142 -0
  436. package/src/models/ClientReportRowResourceArrayResponse.ts +74 -0
  437. package/src/models/ClientResource.ts +102 -0
  438. package/src/models/ClientResourceArrayResponse.ts +74 -0
  439. package/src/models/CreateAllocationRequest.ts +117 -0
  440. package/src/models/CreateClientRequest.ts +74 -0
  441. package/src/models/CreatePersonRequest.ts +151 -0
  442. package/src/models/CreatePersonRequestUser.ts +91 -0
  443. package/src/models/CreateProjectJobRequest.ts +133 -0
  444. package/src/models/CreateProjectRequest.ts +178 -0
  445. package/src/models/CreateProjectRequestBudgetEntriesInner.ts +83 -0
  446. package/src/models/CreateProjectRequestClickupListsInner.ts +75 -0
  447. package/src/models/CreateProjectRequestTasksInner.ts +74 -0
  448. package/src/models/CreateTaskRequest.ts +99 -0
  449. package/src/models/CreateTimeEntryRequest.ts +125 -0
  450. package/src/models/CreateTimeOffRequest.ts +125 -0
  451. package/src/models/CurrentUserResource.ts +110 -0
  452. package/src/models/CurrentUserResourceArrayResponse.ts +74 -0
  453. package/src/models/DetachBudgetEntriesFromProjectJobRequest.ts +66 -0
  454. package/src/models/DetachBudgetEntriesFromProjectRequest.ts +66 -0
  455. package/src/models/DetachClickupListsFromProjectRequest.ts +66 -0
  456. package/src/models/DetachTasksFromProjectRequest.ts +74 -0
  457. package/src/models/GenericResponse.ts +66 -0
  458. package/src/models/GetClientReportRequest.ts +75 -0
  459. package/src/models/GetPeopleReportRequest.ts +83 -0
  460. package/src/models/GetProjectReportRequest.ts +73 -0
  461. package/src/models/GetScheduleCapacityRequest.ts +83 -0
  462. package/src/models/JobReportResource.ts +106 -0
  463. package/src/models/JobReportResourceArrayResponse.ts +74 -0
  464. package/src/models/LoginRequest.ts +75 -0
  465. package/src/models/PaginatedAllocationDayResourceResponse.ts +90 -0
  466. package/src/models/PaginatedAllocationListResourceResponse.ts +90 -0
  467. package/src/models/PaginatedBudgetEntryResourceResponse.ts +90 -0
  468. package/src/models/PaginatedClientListResourceResponse.ts +90 -0
  469. package/src/models/PaginatedPersonListResourceResponse.ts +90 -0
  470. package/src/models/PaginatedProjectJobListResourceResponse.ts +90 -0
  471. package/src/models/PaginatedProjectListResourceResponse.ts +90 -0
  472. package/src/models/PaginatedTaskListResourceResponse.ts +90 -0
  473. package/src/models/PaginatedTimeEntryListResourceResponse.ts +90 -0
  474. package/src/models/PaginatedTimeOffDayResourceResponse.ts +90 -0
  475. package/src/models/PaginatedTimeOffListResourceResponse.ts +90 -0
  476. package/src/models/PagingMetadata.ts +120 -0
  477. package/src/models/PersonListResource.ts +182 -0
  478. package/src/models/PersonListResourceArrayResponse.ts +74 -0
  479. package/src/models/PersonLiteResource.ts +103 -0
  480. package/src/models/PersonLiteResourceArrayResponse.ts +74 -0
  481. package/src/models/PersonReportProjectResource.ts +117 -0
  482. package/src/models/PersonReportProjectResourceArrayResponse.ts +74 -0
  483. package/src/models/PersonReportResource.ts +135 -0
  484. package/src/models/PersonReportResourceArrayResponse.ts +74 -0
  485. package/src/models/PersonResource.ts +191 -0
  486. package/src/models/PersonResourceArrayResponse.ts +74 -0
  487. package/src/models/PersonType.ts +53 -0
  488. package/src/models/ProjectJobListResource.ts +196 -0
  489. package/src/models/ProjectJobListResourceArrayResponse.ts +74 -0
  490. package/src/models/ProjectJobLiteResource.ts +121 -0
  491. package/src/models/ProjectJobLiteResourceArrayResponse.ts +74 -0
  492. package/src/models/ProjectJobResource.ts +196 -0
  493. package/src/models/ProjectJobResourceArrayResponse.ts +74 -0
  494. package/src/models/ProjectJobStatus.ts +53 -0
  495. package/src/models/ProjectListResource.ts +180 -0
  496. package/src/models/ProjectListResourceArrayResponse.ts +74 -0
  497. package/src/models/ProjectLiteResource.ts +112 -0
  498. package/src/models/ProjectLiteResourceArrayResponse.ts +74 -0
  499. package/src/models/ProjectReportResource.ts +140 -0
  500. package/src/models/ProjectReportResourceArrayResponse.ts +74 -0
  501. package/src/models/ProjectResource.ts +212 -0
  502. package/src/models/ProjectResourceArrayResponse.ts +74 -0
  503. package/src/models/ProjectTaskResource.ts +102 -0
  504. package/src/models/ProjectTaskResourceArrayResponse.ts +74 -0
  505. package/src/models/ProjectType.ts +54 -0
  506. package/src/models/PublicHolidayResource.ts +93 -0
  507. package/src/models/PublicHolidayResourceArrayResponse.ts +74 -0
  508. package/src/models/RateSource.ts +55 -0
  509. package/src/models/ResetPasswordRequest.ts +84 -0
  510. package/src/models/SearchAllAllocationDaysRequest.ts +166 -0
  511. package/src/models/SearchAllAllocationsRequest.ts +141 -0
  512. package/src/models/SearchAllBudgetEntriesRequest.ts +134 -0
  513. package/src/models/SearchAllClientsRequest.ts +133 -0
  514. package/src/models/SearchAllPeopleRequest.ts +144 -0
  515. package/src/models/SearchAllProjectJobsRequest.ts +152 -0
  516. package/src/models/SearchAllProjectsRequest.ts +159 -0
  517. package/src/models/SearchAllPublicHolidaysRequest.ts +140 -0
  518. package/src/models/SearchAllTasksRequest.ts +149 -0
  519. package/src/models/SearchAllTimeEntriesRequest.ts +174 -0
  520. package/src/models/SearchAllTimeOffDaysRequest.ts +158 -0
  521. package/src/models/SearchAllTimeOffRequest.ts +141 -0
  522. package/src/models/SearchAllocationDaysRequest.ts +180 -0
  523. package/src/models/SearchAllocationsRequest.ts +157 -0
  524. package/src/models/SearchBudgetEntriesRequest.ts +150 -0
  525. package/src/models/SearchClientsRequest.ts +149 -0
  526. package/src/models/SearchPeopleRequest.ts +160 -0
  527. package/src/models/SearchProjectJobsRequest.ts +168 -0
  528. package/src/models/SearchProjectsRequest.ts +175 -0
  529. package/src/models/SearchTasksRequest.ts +165 -0
  530. package/src/models/SearchTimeEntriesRequest.ts +190 -0
  531. package/src/models/SearchTimeOffDaysRequest.ts +172 -0
  532. package/src/models/SearchTimeOffRequest.ts +157 -0
  533. package/src/models/SendForgotPasswordLinkRequest.ts +66 -0
  534. package/src/models/SettingsResource.ts +66 -0
  535. package/src/models/SettingsResourceArrayResponse.ts +74 -0
  536. package/src/models/TaskListResource.ts +129 -0
  537. package/src/models/TaskListResourceArrayResponse.ts +74 -0
  538. package/src/models/TaskLiteResource.ts +93 -0
  539. package/src/models/TaskLiteResourceArrayResponse.ts +74 -0
  540. package/src/models/TaskResource.ts +129 -0
  541. package/src/models/TaskResourceArrayResponse.ts +74 -0
  542. package/src/models/TimeEntryListResource.ts +185 -0
  543. package/src/models/TimeEntryListResourceArrayResponse.ts +74 -0
  544. package/src/models/TimeEntryLiteResource.ts +120 -0
  545. package/src/models/TimeEntryLiteResourceArrayResponse.ts +74 -0
  546. package/src/models/TimeEntryResource.ts +194 -0
  547. package/src/models/TimeEntryResourceArrayResponse.ts +74 -0
  548. package/src/models/TimeOffDayResource.ts +102 -0
  549. package/src/models/TimeOffDayResourceArrayResponse.ts +74 -0
  550. package/src/models/TimeOffListResource.ts +146 -0
  551. package/src/models/TimeOffListResourceArrayResponse.ts +74 -0
  552. package/src/models/TimeOffLiteResource.ts +130 -0
  553. package/src/models/TimeOffLiteResourceArrayResponse.ts +74 -0
  554. package/src/models/TimeOffResource.ts +173 -0
  555. package/src/models/TimeOffResourceArrayResponse.ts +74 -0
  556. package/src/models/TimeOffType.ts +53 -0
  557. package/src/models/UpdateAllocationDayRequest.ts +89 -0
  558. package/src/models/UpdateAllocationRequest.ts +113 -0
  559. package/src/models/UpdateClientRequest.ts +73 -0
  560. package/src/models/UpdatePersonRequest.ts +146 -0
  561. package/src/models/UpdateProjectBudgetEntryRequest.ts +91 -0
  562. package/src/models/UpdateProjectClickupListRequest.ts +75 -0
  563. package/src/models/UpdateProjectJobBudgetEntryRequest.ts +91 -0
  564. package/src/models/UpdateProjectJobRequest.ts +99 -0
  565. package/src/models/UpdateProjectRequest.ts +122 -0
  566. package/src/models/UpdateProjectTaskRateRequest.ts +74 -0
  567. package/src/models/UpdateSettingsRequest.ts +65 -0
  568. package/src/models/UpdateTaskRequest.ts +97 -0
  569. package/src/models/UpdateTimeEntryRequest.ts +121 -0
  570. package/src/models/UpdateTimeOffDayRequest.ts +73 -0
  571. package/src/models/UpdateTimeOffRequest.ts +115 -0
  572. package/src/models/UserAuthTokenResource.ts +83 -0
  573. package/src/models/UserAuthTokenResourceArrayResponse.ts +74 -0
  574. package/src/models/UserResource.ts +94 -0
  575. package/src/models/UserResourceArrayResponse.ts +74 -0
  576. package/src/models/UserRole.ts +53 -0
  577. package/src/models/index.ts +173 -0
  578. package/src/runtime.ts +432 -0
  579. package/tsconfig.json +20 -0
@@ -0,0 +1,374 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Laravel API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.AuthApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var AuthApi = /** @class */ (function (_super) {
74
+ __extends(AuthApi, _super);
75
+ function AuthApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ * Auto-generated: changePasswordAuth
80
+ */
81
+ AuthApi.prototype.changePasswordAuthRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, token, tokenString, urlPath, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ queryParameters = {};
88
+ headerParameters = {};
89
+ headerParameters['Content-Type'] = 'application/json';
90
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
91
+ token = this.configuration.accessToken;
92
+ return [4 /*yield*/, token("bearerAuth", [])];
93
+ case 1:
94
+ tokenString = _a.sent();
95
+ if (tokenString) {
96
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
97
+ }
98
+ _a.label = 2;
99
+ case 2:
100
+ urlPath = "/api/auth/change-password";
101
+ return [4 /*yield*/, this.request({
102
+ path: urlPath,
103
+ method: 'POST',
104
+ headers: headerParameters,
105
+ query: queryParameters,
106
+ body: (0, index_1.ChangePasswordRequestToJSON)(requestParameters['changePasswordRequest']),
107
+ }, initOverrides)];
108
+ case 3:
109
+ response = _a.sent();
110
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
111
+ }
112
+ });
113
+ });
114
+ };
115
+ /**
116
+ * Auto-generated: changePasswordAuth
117
+ */
118
+ AuthApi.prototype.changePasswordAuth = function () {
119
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
120
+ var response;
121
+ if (requestParameters === void 0) { requestParameters = {}; }
122
+ return __generator(this, function (_a) {
123
+ switch (_a.label) {
124
+ case 0: return [4 /*yield*/, this.changePasswordAuthRaw(requestParameters, initOverrides)];
125
+ case 1:
126
+ response = _a.sent();
127
+ return [4 /*yield*/, response.value()];
128
+ case 2: return [2 /*return*/, _a.sent()];
129
+ }
130
+ });
131
+ });
132
+ };
133
+ /**
134
+ * Auto-generated: fetchProfileAuth
135
+ */
136
+ AuthApi.prototype.fetchProfileAuthRaw = function (initOverrides) {
137
+ return __awaiter(this, void 0, void 0, function () {
138
+ var queryParameters, headerParameters, token, tokenString, urlPath, response;
139
+ return __generator(this, function (_a) {
140
+ switch (_a.label) {
141
+ case 0:
142
+ queryParameters = {};
143
+ headerParameters = {};
144
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
145
+ token = this.configuration.accessToken;
146
+ return [4 /*yield*/, token("bearerAuth", [])];
147
+ case 1:
148
+ tokenString = _a.sent();
149
+ if (tokenString) {
150
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
151
+ }
152
+ _a.label = 2;
153
+ case 2:
154
+ urlPath = "/api/auth/profile";
155
+ return [4 /*yield*/, this.request({
156
+ path: urlPath,
157
+ method: 'POST',
158
+ headers: headerParameters,
159
+ query: queryParameters,
160
+ }, initOverrides)];
161
+ case 3:
162
+ response = _a.sent();
163
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.CurrentUserResourceFromJSON)(jsonValue); })];
164
+ }
165
+ });
166
+ });
167
+ };
168
+ /**
169
+ * Auto-generated: fetchProfileAuth
170
+ */
171
+ AuthApi.prototype.fetchProfileAuth = function (initOverrides) {
172
+ return __awaiter(this, void 0, void 0, function () {
173
+ var response;
174
+ return __generator(this, function (_a) {
175
+ switch (_a.label) {
176
+ case 0: return [4 /*yield*/, this.fetchProfileAuthRaw(initOverrides)];
177
+ case 1:
178
+ response = _a.sent();
179
+ return [4 /*yield*/, response.value()];
180
+ case 2: return [2 /*return*/, _a.sent()];
181
+ }
182
+ });
183
+ });
184
+ };
185
+ /**
186
+ * Auto-generated: loginAuth
187
+ */
188
+ AuthApi.prototype.loginAuthRaw = function (requestParameters, initOverrides) {
189
+ return __awaiter(this, void 0, void 0, function () {
190
+ var queryParameters, headerParameters, urlPath, response;
191
+ return __generator(this, function (_a) {
192
+ switch (_a.label) {
193
+ case 0:
194
+ queryParameters = {};
195
+ headerParameters = {};
196
+ headerParameters['Content-Type'] = 'application/json';
197
+ urlPath = "/api/auth/login";
198
+ return [4 /*yield*/, this.request({
199
+ path: urlPath,
200
+ method: 'POST',
201
+ headers: headerParameters,
202
+ query: queryParameters,
203
+ body: (0, index_1.LoginRequestToJSON)(requestParameters['loginRequest']),
204
+ }, initOverrides)];
205
+ case 1:
206
+ response = _a.sent();
207
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserAuthTokenResourceFromJSON)(jsonValue); })];
208
+ }
209
+ });
210
+ });
211
+ };
212
+ /**
213
+ * Auto-generated: loginAuth
214
+ */
215
+ AuthApi.prototype.loginAuth = function () {
216
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
217
+ var response;
218
+ if (requestParameters === void 0) { requestParameters = {}; }
219
+ return __generator(this, function (_a) {
220
+ switch (_a.label) {
221
+ case 0: return [4 /*yield*/, this.loginAuthRaw(requestParameters, initOverrides)];
222
+ case 1:
223
+ response = _a.sent();
224
+ return [4 /*yield*/, response.value()];
225
+ case 2: return [2 /*return*/, _a.sent()];
226
+ }
227
+ });
228
+ });
229
+ };
230
+ /**
231
+ * Auto-generated: logoutAuth
232
+ */
233
+ AuthApi.prototype.logoutAuthRaw = function (initOverrides) {
234
+ return __awaiter(this, void 0, void 0, function () {
235
+ var queryParameters, headerParameters, token, tokenString, urlPath, response;
236
+ return __generator(this, function (_a) {
237
+ switch (_a.label) {
238
+ case 0:
239
+ queryParameters = {};
240
+ headerParameters = {};
241
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
242
+ token = this.configuration.accessToken;
243
+ return [4 /*yield*/, token("bearerAuth", [])];
244
+ case 1:
245
+ tokenString = _a.sent();
246
+ if (tokenString) {
247
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
248
+ }
249
+ _a.label = 2;
250
+ case 2:
251
+ urlPath = "/api/auth/logout";
252
+ return [4 /*yield*/, this.request({
253
+ path: urlPath,
254
+ method: 'POST',
255
+ headers: headerParameters,
256
+ query: queryParameters,
257
+ }, initOverrides)];
258
+ case 3:
259
+ response = _a.sent();
260
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
261
+ }
262
+ });
263
+ });
264
+ };
265
+ /**
266
+ * Auto-generated: logoutAuth
267
+ */
268
+ AuthApi.prototype.logoutAuth = function (initOverrides) {
269
+ return __awaiter(this, void 0, void 0, function () {
270
+ var response;
271
+ return __generator(this, function (_a) {
272
+ switch (_a.label) {
273
+ case 0: return [4 /*yield*/, this.logoutAuthRaw(initOverrides)];
274
+ case 1:
275
+ response = _a.sent();
276
+ return [4 /*yield*/, response.value()];
277
+ case 2: return [2 /*return*/, _a.sent()];
278
+ }
279
+ });
280
+ });
281
+ };
282
+ /**
283
+ * Auto-generated: resetPasswordAuth
284
+ */
285
+ AuthApi.prototype.resetPasswordAuthRaw = function (requestParameters, initOverrides) {
286
+ return __awaiter(this, void 0, void 0, function () {
287
+ var queryParameters, headerParameters, urlPath, response;
288
+ return __generator(this, function (_a) {
289
+ switch (_a.label) {
290
+ case 0:
291
+ queryParameters = {};
292
+ headerParameters = {};
293
+ headerParameters['Content-Type'] = 'application/json';
294
+ urlPath = "/api/auth/reset-password";
295
+ return [4 /*yield*/, this.request({
296
+ path: urlPath,
297
+ method: 'POST',
298
+ headers: headerParameters,
299
+ query: queryParameters,
300
+ body: (0, index_1.ResetPasswordRequestToJSON)(requestParameters['resetPasswordRequest']),
301
+ }, initOverrides)];
302
+ case 1:
303
+ response = _a.sent();
304
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
305
+ }
306
+ });
307
+ });
308
+ };
309
+ /**
310
+ * Auto-generated: resetPasswordAuth
311
+ */
312
+ AuthApi.prototype.resetPasswordAuth = function () {
313
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
314
+ var response;
315
+ if (requestParameters === void 0) { requestParameters = {}; }
316
+ return __generator(this, function (_a) {
317
+ switch (_a.label) {
318
+ case 0: return [4 /*yield*/, this.resetPasswordAuthRaw(requestParameters, initOverrides)];
319
+ case 1:
320
+ response = _a.sent();
321
+ return [4 /*yield*/, response.value()];
322
+ case 2: return [2 /*return*/, _a.sent()];
323
+ }
324
+ });
325
+ });
326
+ };
327
+ /**
328
+ * Auto-generated: sendForgotPasswordLinkAuth
329
+ */
330
+ AuthApi.prototype.sendForgotPasswordLinkAuthRaw = function (requestParameters, initOverrides) {
331
+ return __awaiter(this, void 0, void 0, function () {
332
+ var queryParameters, headerParameters, urlPath, response;
333
+ return __generator(this, function (_a) {
334
+ switch (_a.label) {
335
+ case 0:
336
+ queryParameters = {};
337
+ headerParameters = {};
338
+ headerParameters['Content-Type'] = 'application/json';
339
+ urlPath = "/api/auth/forgot-password";
340
+ return [4 /*yield*/, this.request({
341
+ path: urlPath,
342
+ method: 'POST',
343
+ headers: headerParameters,
344
+ query: queryParameters,
345
+ body: (0, index_1.SendForgotPasswordLinkRequestToJSON)(requestParameters['sendForgotPasswordLinkRequest']),
346
+ }, initOverrides)];
347
+ case 1:
348
+ response = _a.sent();
349
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
350
+ }
351
+ });
352
+ });
353
+ };
354
+ /**
355
+ * Auto-generated: sendForgotPasswordLinkAuth
356
+ */
357
+ AuthApi.prototype.sendForgotPasswordLinkAuth = function () {
358
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
359
+ var response;
360
+ if (requestParameters === void 0) { requestParameters = {}; }
361
+ return __generator(this, function (_a) {
362
+ switch (_a.label) {
363
+ case 0: return [4 /*yield*/, this.sendForgotPasswordLinkAuthRaw(requestParameters, initOverrides)];
364
+ case 1:
365
+ response = _a.sent();
366
+ return [4 /*yield*/, response.value()];
367
+ case 2: return [2 /*return*/, _a.sent()];
368
+ }
369
+ });
370
+ });
371
+ };
372
+ return AuthApi;
373
+ }(runtime.BaseAPI));
374
+ exports.AuthApi = AuthApi;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Laravel API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { BudgetEntryResourceArrayResponse, PaginatedBudgetEntryResourceResponse, SearchAllBudgetEntriesRequest, SearchBudgetEntriesRequest } from '../models/index';
14
+ export interface AllBudgetEntryRequest {
15
+ searchAllBudgetEntriesRequest?: SearchAllBudgetEntriesRequest;
16
+ }
17
+ export interface IndexBudgetEntryRequest {
18
+ searchBudgetEntriesRequest?: SearchBudgetEntriesRequest;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ export declare class BudgetEntriesApi extends runtime.BaseAPI {
24
+ /**
25
+ * Auto-generated: allBudgetEntry
26
+ */
27
+ allBudgetEntryRaw(requestParameters: AllBudgetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BudgetEntryResourceArrayResponse>>;
28
+ /**
29
+ * Auto-generated: allBudgetEntry
30
+ */
31
+ allBudgetEntry(requestParameters?: AllBudgetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BudgetEntryResourceArrayResponse>;
32
+ /**
33
+ * Auto-generated: indexBudgetEntry
34
+ */
35
+ indexBudgetEntryRaw(requestParameters: IndexBudgetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedBudgetEntryResourceResponse>>;
36
+ /**
37
+ * Auto-generated: indexBudgetEntry
38
+ */
39
+ indexBudgetEntry(requestParameters?: IndexBudgetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedBudgetEntryResourceResponse>;
40
+ }
@@ -0,0 +1,190 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Laravel API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.BudgetEntriesApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var BudgetEntriesApi = /** @class */ (function (_super) {
74
+ __extends(BudgetEntriesApi, _super);
75
+ function BudgetEntriesApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ * Auto-generated: allBudgetEntry
80
+ */
81
+ BudgetEntriesApi.prototype.allBudgetEntryRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, token, tokenString, urlPath, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ queryParameters = {};
88
+ headerParameters = {};
89
+ headerParameters['Content-Type'] = 'application/json';
90
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
91
+ token = this.configuration.accessToken;
92
+ return [4 /*yield*/, token("bearerAuth", [])];
93
+ case 1:
94
+ tokenString = _a.sent();
95
+ if (tokenString) {
96
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
97
+ }
98
+ _a.label = 2;
99
+ case 2:
100
+ urlPath = "/api/budget-entries/all";
101
+ return [4 /*yield*/, this.request({
102
+ path: urlPath,
103
+ method: 'POST',
104
+ headers: headerParameters,
105
+ query: queryParameters,
106
+ body: (0, index_1.SearchAllBudgetEntriesRequestToJSON)(requestParameters['searchAllBudgetEntriesRequest']),
107
+ }, initOverrides)];
108
+ case 3:
109
+ response = _a.sent();
110
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.BudgetEntryResourceArrayResponseFromJSON)(jsonValue); })];
111
+ }
112
+ });
113
+ });
114
+ };
115
+ /**
116
+ * Auto-generated: allBudgetEntry
117
+ */
118
+ BudgetEntriesApi.prototype.allBudgetEntry = function () {
119
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
120
+ var response;
121
+ if (requestParameters === void 0) { requestParameters = {}; }
122
+ return __generator(this, function (_a) {
123
+ switch (_a.label) {
124
+ case 0: return [4 /*yield*/, this.allBudgetEntryRaw(requestParameters, initOverrides)];
125
+ case 1:
126
+ response = _a.sent();
127
+ return [4 /*yield*/, response.value()];
128
+ case 2: return [2 /*return*/, _a.sent()];
129
+ }
130
+ });
131
+ });
132
+ };
133
+ /**
134
+ * Auto-generated: indexBudgetEntry
135
+ */
136
+ BudgetEntriesApi.prototype.indexBudgetEntryRaw = function (requestParameters, initOverrides) {
137
+ return __awaiter(this, void 0, void 0, function () {
138
+ var queryParameters, headerParameters, token, tokenString, urlPath, response;
139
+ return __generator(this, function (_a) {
140
+ switch (_a.label) {
141
+ case 0:
142
+ queryParameters = {};
143
+ headerParameters = {};
144
+ headerParameters['Content-Type'] = 'application/json';
145
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
146
+ token = this.configuration.accessToken;
147
+ return [4 /*yield*/, token("bearerAuth", [])];
148
+ case 1:
149
+ tokenString = _a.sent();
150
+ if (tokenString) {
151
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
152
+ }
153
+ _a.label = 2;
154
+ case 2:
155
+ urlPath = "/api/budget-entries/search";
156
+ return [4 /*yield*/, this.request({
157
+ path: urlPath,
158
+ method: 'POST',
159
+ headers: headerParameters,
160
+ query: queryParameters,
161
+ body: (0, index_1.SearchBudgetEntriesRequestToJSON)(requestParameters['searchBudgetEntriesRequest']),
162
+ }, initOverrides)];
163
+ case 3:
164
+ response = _a.sent();
165
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedBudgetEntryResourceResponseFromJSON)(jsonValue); })];
166
+ }
167
+ });
168
+ });
169
+ };
170
+ /**
171
+ * Auto-generated: indexBudgetEntry
172
+ */
173
+ BudgetEntriesApi.prototype.indexBudgetEntry = function () {
174
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
175
+ var response;
176
+ if (requestParameters === void 0) { requestParameters = {}; }
177
+ return __generator(this, function (_a) {
178
+ switch (_a.label) {
179
+ case 0: return [4 /*yield*/, this.indexBudgetEntryRaw(requestParameters, initOverrides)];
180
+ case 1:
181
+ response = _a.sent();
182
+ return [4 /*yield*/, response.value()];
183
+ case 2: return [2 /*return*/, _a.sent()];
184
+ }
185
+ });
186
+ });
187
+ };
188
+ return BudgetEntriesApi;
189
+ }(runtime.BaseAPI));
190
+ exports.BudgetEntriesApi = BudgetEntriesApi;