@makeplane/plane-node-sdk 0.1.4 → 0.1.5

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 (397) hide show
  1. package/.github/workflows/publish-node-sdk.yml +1 -2
  2. package/.openapi-generator/FILES +16 -2
  3. package/README.md +2 -2
  4. package/dist/apis/AssetsApi.d.ts +1 -1
  5. package/dist/apis/AssetsApi.js +1 -1
  6. package/dist/apis/CyclesApi.d.ts +3 -3
  7. package/dist/apis/CyclesApi.js +2 -2
  8. package/dist/apis/EpicsApi.d.ts +49 -0
  9. package/dist/apis/EpicsApi.js +243 -0
  10. package/dist/apis/IntakeApi.d.ts +1 -1
  11. package/dist/apis/IntakeApi.js +1 -1
  12. package/dist/apis/LabelsApi.d.ts +1 -1
  13. package/dist/apis/LabelsApi.js +1 -1
  14. package/dist/apis/MembersApi.d.ts +1 -1
  15. package/dist/apis/MembersApi.js +1 -1
  16. package/dist/apis/ModulesApi.d.ts +3 -3
  17. package/dist/apis/ModulesApi.js +2 -2
  18. package/dist/apis/PagesApi.d.ts +75 -0
  19. package/dist/apis/PagesApi.js +393 -0
  20. package/dist/apis/ProjectsApi.d.ts +1 -1
  21. package/dist/apis/ProjectsApi.js +1 -1
  22. package/dist/apis/StatesApi.d.ts +1 -1
  23. package/dist/apis/StatesApi.js +1 -1
  24. package/dist/apis/UsersApi.d.ts +1 -1
  25. package/dist/apis/UsersApi.js +1 -1
  26. package/dist/apis/WorkItemActivityApi.d.ts +1 -1
  27. package/dist/apis/WorkItemActivityApi.js +1 -1
  28. package/dist/apis/WorkItemAttachmentsApi.d.ts +18 -1
  29. package/dist/apis/WorkItemAttachmentsApi.js +83 -1
  30. package/dist/apis/WorkItemCommentsApi.d.ts +1 -1
  31. package/dist/apis/WorkItemCommentsApi.js +1 -1
  32. package/dist/apis/WorkItemLinksApi.d.ts +1 -1
  33. package/dist/apis/WorkItemLinksApi.js +1 -1
  34. package/dist/apis/WorkItemPropertiesApi.d.ts +17 -1
  35. package/dist/apis/WorkItemPropertiesApi.js +83 -1
  36. package/dist/apis/WorkItemTypesApi.d.ts +1 -1
  37. package/dist/apis/WorkItemTypesApi.js +1 -1
  38. package/dist/apis/WorkItemWorklogsApi.d.ts +1 -1
  39. package/dist/apis/WorkItemWorklogsApi.js +1 -1
  40. package/dist/apis/WorkItemsApi.d.ts +54 -2
  41. package/dist/apis/WorkItemsApi.js +261 -1
  42. package/dist/apis/WorkspacesApi.d.ts +28 -0
  43. package/dist/apis/WorkspacesApi.js +150 -0
  44. package/dist/apis/index.d.ts +3 -0
  45. package/dist/apis/index.js +3 -0
  46. package/dist/models/AccessBd4Enum.d.ts +25 -0
  47. package/dist/models/AccessBd4Enum.js +51 -0
  48. package/dist/models/Cycle.d.ts +1 -1
  49. package/dist/models/Cycle.js +1 -1
  50. package/dist/models/CycleCreateRequest.d.ts +1 -1
  51. package/dist/models/CycleCreateRequest.js +1 -1
  52. package/dist/models/CycleIssue.d.ts +1 -1
  53. package/dist/models/CycleIssue.js +1 -1
  54. package/dist/models/CycleIssueRequestRequest.d.ts +1 -1
  55. package/dist/models/CycleIssueRequestRequest.js +1 -1
  56. package/dist/models/CycleLite.d.ts +1 -1
  57. package/dist/models/CycleLite.js +1 -1
  58. package/dist/models/EntityTypeEnum.d.ts +1 -1
  59. package/dist/models/EntityTypeEnum.js +1 -1
  60. package/dist/models/Epic.d.ts +206 -0
  61. package/dist/models/Epic.js +106 -0
  62. package/dist/models/GenericAssetUploadRequest.d.ts +1 -1
  63. package/dist/models/GenericAssetUploadRequest.js +1 -1
  64. package/dist/models/GetWorkspaceMembers200ResponseInner.d.ts +1 -1
  65. package/dist/models/GetWorkspaceMembers200ResponseInner.js +1 -1
  66. package/dist/models/GroupEnum.d.ts +1 -1
  67. package/dist/models/GroupEnum.js +1 -1
  68. package/dist/models/IntakeIssue.d.ts +1 -1
  69. package/dist/models/IntakeIssue.js +1 -1
  70. package/dist/models/IntakeIssueCreateRequest.d.ts +1 -1
  71. package/dist/models/IntakeIssueCreateRequest.js +1 -1
  72. package/dist/models/IntakeWorkItemStatusEnum.d.ts +1 -1
  73. package/dist/models/IntakeWorkItemStatusEnum.js +1 -1
  74. package/dist/models/Issue.d.ts +1 -1
  75. package/dist/models/Issue.js +1 -1
  76. package/dist/models/IssueActivity.d.ts +1 -1
  77. package/dist/models/IssueActivity.js +1 -1
  78. package/dist/models/IssueAttachment.d.ts +1 -1
  79. package/dist/models/IssueAttachment.js +1 -1
  80. package/dist/models/IssueAttachmentUploadRequest.d.ts +1 -1
  81. package/dist/models/IssueAttachmentUploadRequest.js +1 -1
  82. package/dist/models/IssueComment.d.ts +4 -4
  83. package/dist/models/IssueComment.js +4 -4
  84. package/dist/models/IssueCommentCreateRequest.d.ts +4 -4
  85. package/dist/models/IssueCommentCreateRequest.js +4 -4
  86. package/dist/models/IssueDetail.d.ts +1 -1
  87. package/dist/models/IssueDetail.js +1 -1
  88. package/dist/models/IssueExpand.d.ts +1 -1
  89. package/dist/models/IssueExpand.js +1 -1
  90. package/dist/models/IssueForIntakeRequest.d.ts +1 -1
  91. package/dist/models/IssueForIntakeRequest.js +1 -1
  92. package/dist/models/IssueLink.d.ts +1 -1
  93. package/dist/models/IssueLink.js +1 -1
  94. package/dist/models/IssueLinkCreateRequest.d.ts +1 -1
  95. package/dist/models/IssueLinkCreateRequest.js +1 -1
  96. package/dist/models/IssuePropertyAPI.d.ts +4 -4
  97. package/dist/models/IssuePropertyAPI.js +4 -4
  98. package/dist/models/IssuePropertyAPIRelationTypeEnum.d.ts +25 -0
  99. package/dist/models/IssuePropertyAPIRelationTypeEnum.js +51 -0
  100. package/dist/models/IssuePropertyAPIRequest.d.ts +4 -4
  101. package/dist/models/IssuePropertyAPIRequest.js +4 -4
  102. package/dist/models/IssuePropertyOptionAPI.d.ts +1 -1
  103. package/dist/models/IssuePropertyOptionAPI.js +1 -1
  104. package/dist/models/IssuePropertyOptionAPIRequest.d.ts +1 -1
  105. package/dist/models/IssuePropertyOptionAPIRequest.js +1 -1
  106. package/dist/models/IssuePropertyValueAPI.d.ts +1 -1
  107. package/dist/models/IssuePropertyValueAPI.js +1 -1
  108. package/dist/models/IssuePropertyValueAPIDetail.d.ts +1 -1
  109. package/dist/models/IssuePropertyValueAPIDetail.js +1 -1
  110. package/dist/models/IssuePropertyValueAPIRequest.d.ts +1 -1
  111. package/dist/models/IssuePropertyValueAPIRequest.js +1 -1
  112. package/dist/models/IssueRelation.d.ts +106 -0
  113. package/dist/models/IssueRelation.js +58 -0
  114. package/dist/models/IssueRelationCreateRelationTypeEnum.d.ts +37 -0
  115. package/dist/models/IssueRelationCreateRelationTypeEnum.js +63 -0
  116. package/dist/models/IssueRelationCreateRequest.d.ts +50 -0
  117. package/dist/models/IssueRelationCreateRequest.js +55 -0
  118. package/dist/models/IssueRelationRemoveRequest.d.ts +34 -0
  119. package/dist/models/IssueRelationRemoveRequest.js +50 -0
  120. package/dist/models/IssueRelationResponse.d.ts +75 -0
  121. package/dist/models/IssueRelationResponse.js +78 -0
  122. package/dist/models/IssueRequest.d.ts +1 -1
  123. package/dist/models/IssueRequest.js +1 -1
  124. package/dist/models/IssueSearch.d.ts +1 -1
  125. package/dist/models/IssueSearch.js +1 -1
  126. package/dist/models/IssueSearchItem.d.ts +1 -1
  127. package/dist/models/IssueSearchItem.js +1 -1
  128. package/dist/models/IssueTypeAPI.d.ts +1 -1
  129. package/dist/models/IssueTypeAPI.js +1 -1
  130. package/dist/models/IssueTypeAPIRequest.d.ts +1 -1
  131. package/dist/models/IssueTypeAPIRequest.js +1 -1
  132. package/dist/models/IssueWorkLogAPI.d.ts +1 -1
  133. package/dist/models/IssueWorkLogAPI.js +1 -1
  134. package/dist/models/IssueWorkLogAPIRequest.d.ts +1 -1
  135. package/dist/models/IssueWorkLogAPIRequest.js +1 -1
  136. package/dist/models/Label.d.ts +1 -1
  137. package/dist/models/Label.js +1 -1
  138. package/dist/models/LabelCreateUpdateRequest.d.ts +1 -1
  139. package/dist/models/LabelCreateUpdateRequest.js +1 -1
  140. package/dist/models/Module.d.ts +1 -1
  141. package/dist/models/Module.js +1 -1
  142. package/dist/models/ModuleCreateRequest.d.ts +1 -1
  143. package/dist/models/ModuleCreateRequest.js +1 -1
  144. package/dist/models/ModuleIssue.d.ts +1 -1
  145. package/dist/models/ModuleIssue.js +1 -1
  146. package/dist/models/ModuleIssueRequestRequest.d.ts +1 -1
  147. package/dist/models/ModuleIssueRequestRequest.js +1 -1
  148. package/dist/models/ModuleLite.d.ts +1 -1
  149. package/dist/models/ModuleLite.js +1 -1
  150. package/dist/models/ModuleStatusEnum.d.ts +1 -1
  151. package/dist/models/ModuleStatusEnum.js +1 -1
  152. package/dist/models/NetworkEnum.d.ts +1 -1
  153. package/dist/models/NetworkEnum.js +1 -1
  154. package/dist/models/PageCreateAPI.d.ts +134 -0
  155. package/dist/models/PageCreateAPI.js +79 -0
  156. package/dist/models/PageCreateAPIAccessEnum.d.ts +25 -0
  157. package/dist/models/PageCreateAPIAccessEnum.js +51 -0
  158. package/dist/models/PageCreateAPIRequest.d.ts +86 -0
  159. package/dist/models/PageCreateAPIRequest.js +71 -0
  160. package/dist/models/PageDetailAPI.d.ts +79 -0
  161. package/dist/models/PageDetailAPI.js +57 -0
  162. package/dist/models/PaginatedArchivedCycleResponse.d.ts +1 -1
  163. package/dist/models/PaginatedArchivedCycleResponse.js +1 -1
  164. package/dist/models/PaginatedArchivedModuleResponse.d.ts +1 -1
  165. package/dist/models/PaginatedArchivedModuleResponse.js +1 -1
  166. package/dist/models/PaginatedCycleIssueResponse.d.ts +1 -1
  167. package/dist/models/PaginatedCycleIssueResponse.js +1 -1
  168. package/dist/models/PaginatedCycleResponse.d.ts +1 -1
  169. package/dist/models/PaginatedCycleResponse.js +1 -1
  170. package/dist/models/PaginatedEpicResponse.d.ts +98 -0
  171. package/dist/models/PaginatedEpicResponse.js +95 -0
  172. package/dist/models/PaginatedIntakeIssueResponse.d.ts +1 -1
  173. package/dist/models/PaginatedIntakeIssueResponse.js +1 -1
  174. package/dist/models/PaginatedIssueActivityDetailResponse.d.ts +1 -1
  175. package/dist/models/PaginatedIssueActivityDetailResponse.js +1 -1
  176. package/dist/models/PaginatedIssueActivityResponse.d.ts +1 -1
  177. package/dist/models/PaginatedIssueActivityResponse.js +1 -1
  178. package/dist/models/PaginatedIssueCommentResponse.d.ts +1 -1
  179. package/dist/models/PaginatedIssueCommentResponse.js +1 -1
  180. package/dist/models/PaginatedIssueLinkDetailResponse.d.ts +1 -1
  181. package/dist/models/PaginatedIssueLinkDetailResponse.js +1 -1
  182. package/dist/models/PaginatedIssueLinkResponse.d.ts +1 -1
  183. package/dist/models/PaginatedIssueLinkResponse.js +1 -1
  184. package/dist/models/PaginatedLabelResponse.d.ts +1 -1
  185. package/dist/models/PaginatedLabelResponse.js +1 -1
  186. package/dist/models/PaginatedModuleIssueResponse.d.ts +1 -1
  187. package/dist/models/PaginatedModuleIssueResponse.js +1 -1
  188. package/dist/models/PaginatedModuleResponse.d.ts +1 -1
  189. package/dist/models/PaginatedModuleResponse.js +1 -1
  190. package/dist/models/PaginatedProjectResponse.d.ts +1 -1
  191. package/dist/models/PaginatedProjectResponse.js +1 -1
  192. package/dist/models/PaginatedStateResponse.d.ts +1 -1
  193. package/dist/models/PaginatedStateResponse.js +1 -1
  194. package/dist/models/PaginatedWorkItemResponse.d.ts +1 -1
  195. package/dist/models/PaginatedWorkItemResponse.js +1 -1
  196. package/dist/models/PatchedAssetUpdateRequest.d.ts +1 -1
  197. package/dist/models/PatchedAssetUpdateRequest.js +1 -1
  198. package/dist/models/PatchedCycleUpdateRequest.d.ts +1 -1
  199. package/dist/models/PatchedCycleUpdateRequest.js +1 -1
  200. package/dist/models/PatchedGenericAssetUpdateRequest.d.ts +1 -1
  201. package/dist/models/PatchedGenericAssetUpdateRequest.js +1 -1
  202. package/dist/models/PatchedIntakeIssueUpdateRequest.d.ts +1 -1
  203. package/dist/models/PatchedIntakeIssueUpdateRequest.js +1 -1
  204. package/dist/models/PatchedIssueCommentCreateRequest.d.ts +4 -4
  205. package/dist/models/PatchedIssueCommentCreateRequest.js +4 -4
  206. package/dist/models/PatchedIssueLinkUpdateRequest.d.ts +1 -1
  207. package/dist/models/PatchedIssueLinkUpdateRequest.js +1 -1
  208. package/dist/models/PatchedIssuePropertyAPIRequest.d.ts +4 -4
  209. package/dist/models/PatchedIssuePropertyAPIRequest.js +4 -4
  210. package/dist/models/PatchedIssuePropertyOptionAPIRequest.d.ts +1 -1
  211. package/dist/models/PatchedIssuePropertyOptionAPIRequest.js +1 -1
  212. package/dist/models/PatchedIssueRequest.d.ts +1 -1
  213. package/dist/models/PatchedIssueRequest.js +1 -1
  214. package/dist/models/PatchedIssueTypeAPIRequest.d.ts +1 -1
  215. package/dist/models/PatchedIssueTypeAPIRequest.js +1 -1
  216. package/dist/models/PatchedIssueWorkLogAPIRequest.d.ts +1 -1
  217. package/dist/models/PatchedIssueWorkLogAPIRequest.js +1 -1
  218. package/dist/models/PatchedLabelCreateUpdateRequest.d.ts +1 -1
  219. package/dist/models/PatchedLabelCreateUpdateRequest.js +1 -1
  220. package/dist/models/PatchedModuleUpdateRequest.d.ts +1 -1
  221. package/dist/models/PatchedModuleUpdateRequest.js +1 -1
  222. package/dist/models/PatchedProjectUpdateRequest.d.ts +25 -1
  223. package/dist/models/PatchedProjectUpdateRequest.js +9 -1
  224. package/dist/models/PatchedStateRequest.d.ts +1 -1
  225. package/dist/models/PatchedStateRequest.js +1 -1
  226. package/dist/models/PriorityEnum.d.ts +1 -1
  227. package/dist/models/PriorityEnum.js +1 -1
  228. package/dist/models/Project.d.ts +1 -1
  229. package/dist/models/Project.js +1 -1
  230. package/dist/models/ProjectCreateRequest.d.ts +25 -1
  231. package/dist/models/ProjectCreateRequest.js +9 -1
  232. package/dist/models/ProjectWorklogSummary.d.ts +1 -1
  233. package/dist/models/ProjectWorklogSummary.js +1 -1
  234. package/dist/models/PropertyTypeEnum.d.ts +1 -1
  235. package/dist/models/PropertyTypeEnum.js +1 -1
  236. package/dist/models/RetrieveWorkItemAttachment400Response.d.ts +1 -1
  237. package/dist/models/RetrieveWorkItemAttachment400Response.js +1 -1
  238. package/dist/models/State.d.ts +1 -1
  239. package/dist/models/State.js +1 -1
  240. package/dist/models/StateLite.d.ts +1 -1
  241. package/dist/models/StateLite.js +1 -1
  242. package/dist/models/StateRequest.d.ts +1 -1
  243. package/dist/models/StateRequest.js +1 -1
  244. package/dist/models/TimezoneEnum.d.ts +1 -1
  245. package/dist/models/TimezoneEnum.js +1 -1
  246. package/dist/models/TransferCycleIssueRequestRequest.d.ts +1 -1
  247. package/dist/models/TransferCycleIssueRequestRequest.js +1 -1
  248. package/dist/models/TransferCycleWorkItems200Response.d.ts +1 -1
  249. package/dist/models/TransferCycleWorkItems200Response.js +1 -1
  250. package/dist/models/TransferCycleWorkItems400Response.d.ts +1 -1
  251. package/dist/models/TransferCycleWorkItems400Response.js +1 -1
  252. package/dist/models/TypeEnum.d.ts +1 -1
  253. package/dist/models/TypeEnum.js +1 -1
  254. package/dist/models/UserAssetUploadRequest.d.ts +1 -1
  255. package/dist/models/UserAssetUploadRequest.js +1 -1
  256. package/dist/models/UserLite.d.ts +1 -1
  257. package/dist/models/UserLite.js +1 -1
  258. package/dist/models/index.d.ts +13 -2
  259. package/dist/models/index.js +13 -2
  260. package/dist/runtime.d.ts +1 -1
  261. package/dist/runtime.js +1 -1
  262. package/package.json +1 -1
  263. package/src/apis/AssetsApi.ts +1 -1
  264. package/src/apis/CyclesApi.ts +4 -4
  265. package/src/apis/EpicsApi.ts +177 -0
  266. package/src/apis/IntakeApi.ts +1 -1
  267. package/src/apis/LabelsApi.ts +1 -1
  268. package/src/apis/MembersApi.ts +1 -1
  269. package/src/apis/ModulesApi.ts +4 -4
  270. package/src/apis/PagesApi.ts +301 -0
  271. package/src/apis/ProjectsApi.ts +1 -1
  272. package/src/apis/StatesApi.ts +1 -1
  273. package/src/apis/UsersApi.ts +1 -1
  274. package/src/apis/WorkItemActivityApi.ts +1 -1
  275. package/src/apis/WorkItemAttachmentsApi.ts +81 -1
  276. package/src/apis/WorkItemCommentsApi.ts +1 -1
  277. package/src/apis/WorkItemLinksApi.ts +1 -1
  278. package/src/apis/WorkItemPropertiesApi.ts +78 -1
  279. package/src/apis/WorkItemTypesApi.ts +1 -1
  280. package/src/apis/WorkItemWorklogsApi.ts +1 -1
  281. package/src/apis/WorkItemsApi.ts +266 -1
  282. package/src/apis/WorkspacesApi.ts +80 -0
  283. package/src/apis/index.ts +3 -0
  284. package/src/models/AccessBd4Enum.ts +53 -0
  285. package/src/models/Cycle.ts +1 -1
  286. package/src/models/CycleCreateRequest.ts +1 -1
  287. package/src/models/CycleIssue.ts +1 -1
  288. package/src/models/CycleIssueRequestRequest.ts +1 -1
  289. package/src/models/CycleLite.ts +1 -1
  290. package/src/models/EntityTypeEnum.ts +1 -1
  291. package/src/models/Epic.ts +302 -0
  292. package/src/models/GenericAssetUploadRequest.ts +1 -1
  293. package/src/models/GetWorkspaceMembers200ResponseInner.ts +1 -1
  294. package/src/models/GroupEnum.ts +1 -1
  295. package/src/models/IntakeIssue.ts +1 -1
  296. package/src/models/IntakeIssueCreateRequest.ts +1 -1
  297. package/src/models/IntakeWorkItemStatusEnum.ts +1 -1
  298. package/src/models/Issue.ts +1 -1
  299. package/src/models/IssueActivity.ts +1 -1
  300. package/src/models/IssueAttachment.ts +1 -1
  301. package/src/models/IssueAttachmentUploadRequest.ts +1 -1
  302. package/src/models/IssueComment.ts +11 -11
  303. package/src/models/IssueCommentCreateRequest.ts +11 -11
  304. package/src/models/IssueDetail.ts +1 -1
  305. package/src/models/IssueExpand.ts +1 -1
  306. package/src/models/IssueForIntakeRequest.ts +1 -1
  307. package/src/models/IssueLink.ts +1 -1
  308. package/src/models/IssueLinkCreateRequest.ts +1 -1
  309. package/src/models/IssuePropertyAPI.ts +11 -11
  310. package/src/models/IssuePropertyAPIRelationTypeEnum.ts +53 -0
  311. package/src/models/IssuePropertyAPIRequest.ts +11 -11
  312. package/src/models/IssuePropertyOptionAPI.ts +1 -1
  313. package/src/models/IssuePropertyOptionAPIRequest.ts +1 -1
  314. package/src/models/IssuePropertyValueAPI.ts +1 -1
  315. package/src/models/IssuePropertyValueAPIDetail.ts +1 -1
  316. package/src/models/IssuePropertyValueAPIRequest.ts +1 -1
  317. package/src/models/IssueRelation.ts +150 -0
  318. package/src/models/IssueRelationCreateRelationTypeEnum.ts +65 -0
  319. package/src/models/IssueRelationCreateRequest.ts +96 -0
  320. package/src/models/IssueRelationRemoveRequest.ts +68 -0
  321. package/src/models/IssueRelationResponse.ts +130 -0
  322. package/src/models/IssueRequest.ts +1 -1
  323. package/src/models/IssueSearch.ts +1 -1
  324. package/src/models/IssueSearchItem.ts +1 -1
  325. package/src/models/IssueTypeAPI.ts +1 -1
  326. package/src/models/IssueTypeAPIRequest.ts +1 -1
  327. package/src/models/IssueWorkLogAPI.ts +1 -1
  328. package/src/models/IssueWorkLogAPIRequest.ts +1 -1
  329. package/src/models/Label.ts +1 -1
  330. package/src/models/LabelCreateUpdateRequest.ts +1 -1
  331. package/src/models/Module.ts +1 -1
  332. package/src/models/ModuleCreateRequest.ts +1 -1
  333. package/src/models/ModuleIssue.ts +1 -1
  334. package/src/models/ModuleIssueRequestRequest.ts +1 -1
  335. package/src/models/ModuleLite.ts +1 -1
  336. package/src/models/ModuleStatusEnum.ts +1 -1
  337. package/src/models/NetworkEnum.ts +1 -1
  338. package/src/models/PageCreateAPI.ts +204 -0
  339. package/src/models/PageCreateAPIAccessEnum.ts +53 -0
  340. package/src/models/PageCreateAPIRequest.ts +148 -0
  341. package/src/models/PageDetailAPI.ts +121 -0
  342. package/src/models/PaginatedArchivedCycleResponse.ts +1 -1
  343. package/src/models/PaginatedArchivedModuleResponse.ts +1 -1
  344. package/src/models/PaginatedCycleIssueResponse.ts +1 -1
  345. package/src/models/PaginatedCycleResponse.ts +1 -1
  346. package/src/models/PaginatedEpicResponse.ts +172 -0
  347. package/src/models/PaginatedIntakeIssueResponse.ts +1 -1
  348. package/src/models/PaginatedIssueActivityDetailResponse.ts +1 -1
  349. package/src/models/PaginatedIssueActivityResponse.ts +1 -1
  350. package/src/models/PaginatedIssueCommentResponse.ts +1 -1
  351. package/src/models/PaginatedIssueLinkDetailResponse.ts +1 -1
  352. package/src/models/PaginatedIssueLinkResponse.ts +1 -1
  353. package/src/models/PaginatedLabelResponse.ts +1 -1
  354. package/src/models/PaginatedModuleIssueResponse.ts +1 -1
  355. package/src/models/PaginatedModuleResponse.ts +1 -1
  356. package/src/models/PaginatedProjectResponse.ts +1 -1
  357. package/src/models/PaginatedStateResponse.ts +1 -1
  358. package/src/models/PaginatedWorkItemResponse.ts +1 -1
  359. package/src/models/PatchedAssetUpdateRequest.ts +1 -1
  360. package/src/models/PatchedCycleUpdateRequest.ts +1 -1
  361. package/src/models/PatchedGenericAssetUpdateRequest.ts +1 -1
  362. package/src/models/PatchedIntakeIssueUpdateRequest.ts +1 -1
  363. package/src/models/PatchedIssueCommentCreateRequest.ts +11 -11
  364. package/src/models/PatchedIssueLinkUpdateRequest.ts +1 -1
  365. package/src/models/PatchedIssuePropertyAPIRequest.ts +11 -11
  366. package/src/models/PatchedIssuePropertyOptionAPIRequest.ts +1 -1
  367. package/src/models/PatchedIssueRequest.ts +1 -1
  368. package/src/models/PatchedIssueTypeAPIRequest.ts +1 -1
  369. package/src/models/PatchedIssueWorkLogAPIRequest.ts +1 -1
  370. package/src/models/PatchedLabelCreateUpdateRequest.ts +1 -1
  371. package/src/models/PatchedModuleUpdateRequest.ts +1 -1
  372. package/src/models/PatchedProjectUpdateRequest.ts +33 -1
  373. package/src/models/PatchedStateRequest.ts +1 -1
  374. package/src/models/PriorityEnum.ts +1 -1
  375. package/src/models/Project.ts +1 -1
  376. package/src/models/ProjectCreateRequest.ts +33 -1
  377. package/src/models/ProjectWorklogSummary.ts +1 -1
  378. package/src/models/PropertyTypeEnum.ts +1 -1
  379. package/src/models/RetrieveWorkItemAttachment400Response.ts +1 -1
  380. package/src/models/State.ts +1 -1
  381. package/src/models/StateLite.ts +1 -1
  382. package/src/models/StateRequest.ts +1 -1
  383. package/src/models/TimezoneEnum.ts +1 -1
  384. package/src/models/TransferCycleIssueRequestRequest.ts +1 -1
  385. package/src/models/TransferCycleWorkItems200Response.ts +1 -1
  386. package/src/models/TransferCycleWorkItems400Response.ts +1 -1
  387. package/src/models/TypeEnum.ts +1 -1
  388. package/src/models/UserAssetUploadRequest.ts +1 -1
  389. package/src/models/UserLite.ts +1 -1
  390. package/src/models/index.ts +13 -2
  391. package/src/runtime.ts +1 -1
  392. package/dist/models/AccessEnum.d.ts +0 -25
  393. package/dist/models/AccessEnum.js +0 -51
  394. package/dist/models/RelationTypeEnum.d.ts +0 -25
  395. package/dist/models/RelationTypeEnum.js +0 -51
  396. package/src/models/AccessEnum.ts +0 -53
  397. package/src/models/RelationTypeEnum.ts +0 -53
@@ -6,8 +6,7 @@ on:
6
6
  jobs:
7
7
  publish:
8
8
  runs-on: ubuntu-latest
9
- permissions:
10
- contents: read
9
+
11
10
  steps:
12
11
  - uses: actions/checkout@v4
13
12
  - uses: actions/setup-node@v4
@@ -5,10 +5,12 @@ eslint.config.mjs
5
5
  package.json
6
6
  src/apis/AssetsApi.ts
7
7
  src/apis/CyclesApi.ts
8
+ src/apis/EpicsApi.ts
8
9
  src/apis/IntakeApi.ts
9
10
  src/apis/LabelsApi.ts
10
11
  src/apis/MembersApi.ts
11
12
  src/apis/ModulesApi.ts
13
+ src/apis/PagesApi.ts
12
14
  src/apis/ProjectsApi.ts
13
15
  src/apis/StatesApi.ts
14
16
  src/apis/UsersApi.ts
@@ -20,15 +22,17 @@ src/apis/WorkItemPropertiesApi.ts
20
22
  src/apis/WorkItemTypesApi.ts
21
23
  src/apis/WorkItemWorklogsApi.ts
22
24
  src/apis/WorkItemsApi.ts
25
+ src/apis/WorkspacesApi.ts
23
26
  src/apis/index.ts
24
27
  src/index.ts
25
- src/models/AccessEnum.ts
28
+ src/models/AccessBd4Enum.ts
26
29
  src/models/Cycle.ts
27
30
  src/models/CycleCreateRequest.ts
28
31
  src/models/CycleIssue.ts
29
32
  src/models/CycleIssueRequestRequest.ts
30
33
  src/models/CycleLite.ts
31
34
  src/models/EntityTypeEnum.ts
35
+ src/models/Epic.ts
32
36
  src/models/GenericAssetUploadRequest.ts
33
37
  src/models/GetWorkspaceMembers200ResponseInner.ts
34
38
  src/models/GroupEnum.ts
@@ -47,12 +51,18 @@ src/models/IssueForIntakeRequest.ts
47
51
  src/models/IssueLink.ts
48
52
  src/models/IssueLinkCreateRequest.ts
49
53
  src/models/IssuePropertyAPI.ts
54
+ src/models/IssuePropertyAPIRelationTypeEnum.ts
50
55
  src/models/IssuePropertyAPIRequest.ts
51
56
  src/models/IssuePropertyOptionAPI.ts
52
57
  src/models/IssuePropertyOptionAPIRequest.ts
53
58
  src/models/IssuePropertyValueAPI.ts
54
59
  src/models/IssuePropertyValueAPIDetail.ts
55
60
  src/models/IssuePropertyValueAPIRequest.ts
61
+ src/models/IssueRelation.ts
62
+ src/models/IssueRelationCreateRelationTypeEnum.ts
63
+ src/models/IssueRelationCreateRequest.ts
64
+ src/models/IssueRelationRemoveRequest.ts
65
+ src/models/IssueRelationResponse.ts
56
66
  src/models/IssueRequest.ts
57
67
  src/models/IssueSearch.ts
58
68
  src/models/IssueSearchItem.ts
@@ -69,10 +79,15 @@ src/models/ModuleIssueRequestRequest.ts
69
79
  src/models/ModuleLite.ts
70
80
  src/models/ModuleStatusEnum.ts
71
81
  src/models/NetworkEnum.ts
82
+ src/models/PageCreateAPI.ts
83
+ src/models/PageCreateAPIAccessEnum.ts
84
+ src/models/PageCreateAPIRequest.ts
85
+ src/models/PageDetailAPI.ts
72
86
  src/models/PaginatedArchivedCycleResponse.ts
73
87
  src/models/PaginatedArchivedModuleResponse.ts
74
88
  src/models/PaginatedCycleIssueResponse.ts
75
89
  src/models/PaginatedCycleResponse.ts
90
+ src/models/PaginatedEpicResponse.ts
76
91
  src/models/PaginatedIntakeIssueResponse.ts
77
92
  src/models/PaginatedIssueActivityDetailResponse.ts
78
93
  src/models/PaginatedIssueActivityResponse.ts
@@ -105,7 +120,6 @@ src/models/Project.ts
105
120
  src/models/ProjectCreateRequest.ts
106
121
  src/models/ProjectWorklogSummary.ts
107
122
  src/models/PropertyTypeEnum.ts
108
- src/models/RelationTypeEnum.ts
109
123
  src/models/RetrieveWorkItemAttachment400Response.ts
110
124
  src/models/State.ts
111
125
  src/models/StateLite.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @makeplane/plane-node-sdk@0.1.4
1
+ ## @makeplane/plane-node-sdk@0.1.5
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @makeplane/plane-node-sdk@0.1.4 --save
39
+ npm install @makeplane/plane-node-sdk@0.1.5 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -2,7 +2,7 @@
2
2
  * The Plane REST API
3
3
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
4
4
  *
5
- * The version of the API Spec: 0.0.1
5
+ * The version of the API Spec: 0.0.2
6
6
  * Contact: support@plane.so
7
7
  *
8
8
  * NOTE: This class is auto generated.
@@ -5,7 +5,7 @@
5
5
  * The Plane REST API
6
6
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
7
7
  *
8
- * The version of the API Spec: 0.0.1
8
+ * The version of the API Spec: 0.0.2
9
9
  * Contact: support@plane.so
10
10
  *
11
11
  * NOTE: This class is auto generated.
@@ -2,7 +2,7 @@
2
2
  * The Plane REST API
3
3
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
4
4
  *
5
- * The version of the API Spec: 0.0.1
5
+ * The version of the API Spec: 0.0.2
6
6
  * Contact: support@plane.so
7
7
  *
8
8
  * NOTE: This class is auto generated.
@@ -96,12 +96,12 @@ export declare class CyclesApi extends runtime.BaseAPI {
96
96
  * Assign multiple work items to a cycle. Automatically handles bulk creation and updates with activity tracking.
97
97
  * Add Work Items to Cycle
98
98
  */
99
- addCycleWorkItemsRaw(requestParameters: AddCycleWorkItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CycleIssue>>;
99
+ addCycleWorkItemsRaw(requestParameters: AddCycleWorkItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CycleIssue>>>;
100
100
  /**
101
101
  * Assign multiple work items to a cycle. Automatically handles bulk creation and updates with activity tracking.
102
102
  * Add Work Items to Cycle
103
103
  */
104
- addCycleWorkItems(requestParameters: AddCycleWorkItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CycleIssue>;
104
+ addCycleWorkItems(requestParameters: AddCycleWorkItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CycleIssue>>;
105
105
  /**
106
106
  * Move a completed cycle to archived status for historical tracking. Only cycles that have ended can be archived.
107
107
  * Archive cycle
@@ -5,7 +5,7 @@
5
5
  * The Plane REST API
6
6
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
7
7
  *
8
- * The version of the API Spec: 0.0.1
8
+ * The version of the API Spec: 0.0.2
9
9
  * Contact: support@plane.so
10
10
  *
11
11
  * NOTE: This class is auto generated.
@@ -135,7 +135,7 @@ var CyclesApi = /** @class */ (function (_super) {
135
135
  }, initOverrides)];
136
136
  case 7:
137
137
  response = _g.sent();
138
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.CycleIssueFromJSON)(jsonValue); })];
138
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.CycleIssueFromJSON); })];
139
139
  }
140
140
  });
141
141
  });
@@ -0,0 +1,49 @@
1
+ /**
2
+ * The Plane REST API
3
+ * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
4
+ *
5
+ * The version of the API Spec: 0.0.2
6
+ * Contact: support@plane.so
7
+ *
8
+ * NOTE: This class is auto generated.
9
+ * Do not edit the class manually.
10
+ */
11
+ import * as runtime from '../runtime';
12
+ import type { Epic, PaginatedEpicResponse } from '../models/index';
13
+ export interface ListEpicsRequest {
14
+ projectId: string;
15
+ slug: string;
16
+ cursor?: string;
17
+ perPage?: number;
18
+ }
19
+ export interface RetrieveEpicRequest {
20
+ pk: string;
21
+ projectId: string;
22
+ slug: string;
23
+ fields?: string;
24
+ }
25
+ /**
26
+ *
27
+ */
28
+ export declare class EpicsApi extends runtime.BaseAPI {
29
+ /**
30
+ * List epics
31
+ * List epics
32
+ */
33
+ listEpicsRaw(requestParameters: ListEpicsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedEpicResponse>>;
34
+ /**
35
+ * List epics
36
+ * List epics
37
+ */
38
+ listEpics(requestParameters: ListEpicsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedEpicResponse>;
39
+ /**
40
+ * Retrieve an epic by id
41
+ * Retrieve an epic
42
+ */
43
+ retrieveEpicRaw(requestParameters: RetrieveEpicRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Epic>>;
44
+ /**
45
+ * Retrieve an epic by id
46
+ * Retrieve an epic
47
+ */
48
+ retrieveEpic(requestParameters: RetrieveEpicRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Epic>;
49
+ }
@@ -0,0 +1,243 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Plane REST API
6
+ * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
7
+ *
8
+ * The version of the API Spec: 0.0.2
9
+ * Contact: support@plane.so
10
+ *
11
+ * NOTE: This class is auto generated.
12
+ * Do not edit the class manually.
13
+ */
14
+ var __extends = (this && this.__extends) || (function () {
15
+ var extendStatics = function (d, b) {
16
+ extendStatics = Object.setPrototypeOf ||
17
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
18
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
19
+ return extendStatics(d, b);
20
+ };
21
+ return function (d, b) {
22
+ if (typeof b !== "function" && b !== null)
23
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
24
+ extendStatics(d, b);
25
+ function __() { this.constructor = d; }
26
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
27
+ };
28
+ })();
29
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
30
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
31
+ return new (P || (P = Promise))(function (resolve, reject) {
32
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
33
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
34
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
35
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
36
+ });
37
+ };
38
+ var __generator = (this && this.__generator) || function (thisArg, body) {
39
+ 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);
40
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
41
+ function verb(n) { return function (v) { return step([n, v]); }; }
42
+ function step(op) {
43
+ if (f) throw new TypeError("Generator is already executing.");
44
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
45
+ 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;
46
+ if (y = 0, t) op = [op[0] & 2, t.value];
47
+ switch (op[0]) {
48
+ case 0: case 1: t = op; break;
49
+ case 4: _.label++; return { value: op[1], done: false };
50
+ case 5: _.label++; y = op[1]; op = [0]; continue;
51
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
52
+ default:
53
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
54
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
55
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
56
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
57
+ if (t[2]) _.ops.pop();
58
+ _.trys.pop(); continue;
59
+ }
60
+ op = body.call(thisArg, _);
61
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
62
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
63
+ }
64
+ };
65
+ Object.defineProperty(exports, "__esModule", { value: true });
66
+ exports.EpicsApi = void 0;
67
+ var runtime = require("../runtime");
68
+ var index_1 = require("../models/index");
69
+ /**
70
+ *
71
+ */
72
+ var EpicsApi = /** @class */ (function (_super) {
73
+ __extends(EpicsApi, _super);
74
+ function EpicsApi() {
75
+ return _super !== null && _super.apply(this, arguments) || this;
76
+ }
77
+ /**
78
+ * List epics
79
+ * List epics
80
+ */
81
+ EpicsApi.prototype.listEpicsRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
84
+ return __generator(this, function (_g) {
85
+ switch (_g.label) {
86
+ case 0:
87
+ if (requestParameters['projectId'] == null) {
88
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listEpics().');
89
+ }
90
+ if (requestParameters['slug'] == null) {
91
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling listEpics().');
92
+ }
93
+ queryParameters = {};
94
+ if (requestParameters['cursor'] != null) {
95
+ queryParameters['cursor'] = requestParameters['cursor'];
96
+ }
97
+ if (requestParameters['perPage'] != null) {
98
+ queryParameters['per_page'] = requestParameters['perPage'];
99
+ }
100
+ headerParameters = {};
101
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
102
+ _a = headerParameters;
103
+ _b = "X-API-Key";
104
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
105
+ case 1:
106
+ _a[_b] = _g.sent(); // ApiKeyAuthentication authentication
107
+ _g.label = 2;
108
+ case 2:
109
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
110
+ // oauth required
111
+ _c = headerParameters;
112
+ _d = "Authorization";
113
+ return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
114
+ case 3:
115
+ // oauth required
116
+ _c[_d] = _g.sent();
117
+ _g.label = 4;
118
+ case 4:
119
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
120
+ // oauth required
121
+ _e = headerParameters;
122
+ _f = "Authorization";
123
+ return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
124
+ case 5:
125
+ // oauth required
126
+ _e[_f] = _g.sent();
127
+ _g.label = 6;
128
+ case 6: return [4 /*yield*/, this.request({
129
+ path: "/api/v1/workspaces/{slug}/projects/{project_id}/epics/".replace("{".concat("project_id", "}"), encodeURIComponent(String(requestParameters['projectId']))).replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
130
+ method: 'GET',
131
+ headers: headerParameters,
132
+ query: queryParameters,
133
+ }, initOverrides)];
134
+ case 7:
135
+ response = _g.sent();
136
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedEpicResponseFromJSON)(jsonValue); })];
137
+ }
138
+ });
139
+ });
140
+ };
141
+ /**
142
+ * List epics
143
+ * List epics
144
+ */
145
+ EpicsApi.prototype.listEpics = function (requestParameters, initOverrides) {
146
+ return __awaiter(this, void 0, void 0, function () {
147
+ var response;
148
+ return __generator(this, function (_a) {
149
+ switch (_a.label) {
150
+ case 0: return [4 /*yield*/, this.listEpicsRaw(requestParameters, initOverrides)];
151
+ case 1:
152
+ response = _a.sent();
153
+ return [4 /*yield*/, response.value()];
154
+ case 2: return [2 /*return*/, _a.sent()];
155
+ }
156
+ });
157
+ });
158
+ };
159
+ /**
160
+ * Retrieve an epic by id
161
+ * Retrieve an epic
162
+ */
163
+ EpicsApi.prototype.retrieveEpicRaw = function (requestParameters, initOverrides) {
164
+ return __awaiter(this, void 0, void 0, function () {
165
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
166
+ return __generator(this, function (_g) {
167
+ switch (_g.label) {
168
+ case 0:
169
+ if (requestParameters['pk'] == null) {
170
+ throw new runtime.RequiredError('pk', 'Required parameter "pk" was null or undefined when calling retrieveEpic().');
171
+ }
172
+ if (requestParameters['projectId'] == null) {
173
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling retrieveEpic().');
174
+ }
175
+ if (requestParameters['slug'] == null) {
176
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling retrieveEpic().');
177
+ }
178
+ queryParameters = {};
179
+ if (requestParameters['fields'] != null) {
180
+ queryParameters['fields'] = requestParameters['fields'];
181
+ }
182
+ headerParameters = {};
183
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
184
+ _a = headerParameters;
185
+ _b = "X-API-Key";
186
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
187
+ case 1:
188
+ _a[_b] = _g.sent(); // ApiKeyAuthentication authentication
189
+ _g.label = 2;
190
+ case 2:
191
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
192
+ // oauth required
193
+ _c = headerParameters;
194
+ _d = "Authorization";
195
+ return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
196
+ case 3:
197
+ // oauth required
198
+ _c[_d] = _g.sent();
199
+ _g.label = 4;
200
+ case 4:
201
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
202
+ // oauth required
203
+ _e = headerParameters;
204
+ _f = "Authorization";
205
+ return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
206
+ case 5:
207
+ // oauth required
208
+ _e[_f] = _g.sent();
209
+ _g.label = 6;
210
+ case 6: return [4 /*yield*/, this.request({
211
+ path: "/api/v1/workspaces/{slug}/projects/{project_id}/epics/{pk}/".replace("{".concat("pk", "}"), encodeURIComponent(String(requestParameters['pk']))).replace("{".concat("project_id", "}"), encodeURIComponent(String(requestParameters['projectId']))).replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
212
+ method: 'GET',
213
+ headers: headerParameters,
214
+ query: queryParameters,
215
+ }, initOverrides)];
216
+ case 7:
217
+ response = _g.sent();
218
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.EpicFromJSON)(jsonValue); })];
219
+ }
220
+ });
221
+ });
222
+ };
223
+ /**
224
+ * Retrieve an epic by id
225
+ * Retrieve an epic
226
+ */
227
+ EpicsApi.prototype.retrieveEpic = function (requestParameters, initOverrides) {
228
+ return __awaiter(this, void 0, void 0, function () {
229
+ var response;
230
+ return __generator(this, function (_a) {
231
+ switch (_a.label) {
232
+ case 0: return [4 /*yield*/, this.retrieveEpicRaw(requestParameters, initOverrides)];
233
+ case 1:
234
+ response = _a.sent();
235
+ return [4 /*yield*/, response.value()];
236
+ case 2: return [2 /*return*/, _a.sent()];
237
+ }
238
+ });
239
+ });
240
+ };
241
+ return EpicsApi;
242
+ }(runtime.BaseAPI));
243
+ exports.EpicsApi = EpicsApi;
@@ -2,7 +2,7 @@
2
2
  * The Plane REST API
3
3
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
4
4
  *
5
- * The version of the API Spec: 0.0.1
5
+ * The version of the API Spec: 0.0.2
6
6
  * Contact: support@plane.so
7
7
  *
8
8
  * NOTE: This class is auto generated.
@@ -5,7 +5,7 @@
5
5
  * The Plane REST API
6
6
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
7
7
  *
8
- * The version of the API Spec: 0.0.1
8
+ * The version of the API Spec: 0.0.2
9
9
  * Contact: support@plane.so
10
10
  *
11
11
  * NOTE: This class is auto generated.
@@ -2,7 +2,7 @@
2
2
  * The Plane REST API
3
3
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
4
4
  *
5
- * The version of the API Spec: 0.0.1
5
+ * The version of the API Spec: 0.0.2
6
6
  * Contact: support@plane.so
7
7
  *
8
8
  * NOTE: This class is auto generated.
@@ -5,7 +5,7 @@
5
5
  * The Plane REST API
6
6
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
7
7
  *
8
- * The version of the API Spec: 0.0.1
8
+ * The version of the API Spec: 0.0.2
9
9
  * Contact: support@plane.so
10
10
  *
11
11
  * NOTE: This class is auto generated.
@@ -2,7 +2,7 @@
2
2
  * The Plane REST API
3
3
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
4
4
  *
5
- * The version of the API Spec: 0.0.1
5
+ * The version of the API Spec: 0.0.2
6
6
  * Contact: support@plane.so
7
7
  *
8
8
  * NOTE: This class is auto generated.
@@ -5,7 +5,7 @@
5
5
  * The Plane REST API
6
6
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
7
7
  *
8
- * The version of the API Spec: 0.0.1
8
+ * The version of the API Spec: 0.0.2
9
9
  * Contact: support@plane.so
10
10
  *
11
11
  * NOTE: This class is auto generated.
@@ -2,7 +2,7 @@
2
2
  * The Plane REST API
3
3
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
4
4
  *
5
- * The version of the API Spec: 0.0.1
5
+ * The version of the API Spec: 0.0.2
6
6
  * Contact: support@plane.so
7
7
  *
8
8
  * NOTE: This class is auto generated.
@@ -89,12 +89,12 @@ export declare class ModulesApi extends runtime.BaseAPI {
89
89
  * Assign multiple work items to a module or move them from another module. Automatically handles bulk creation and updates with activity tracking.
90
90
  * Add Work Items to Module
91
91
  */
92
- addModuleWorkItemsRaw(requestParameters: AddModuleWorkItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ModuleIssue>>;
92
+ addModuleWorkItemsRaw(requestParameters: AddModuleWorkItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ModuleIssue>>>;
93
93
  /**
94
94
  * Assign multiple work items to a module or move them from another module. Automatically handles bulk creation and updates with activity tracking.
95
95
  * Add Work Items to Module
96
96
  */
97
- addModuleWorkItems(requestParameters: AddModuleWorkItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ModuleIssue>;
97
+ addModuleWorkItems(requestParameters: AddModuleWorkItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ModuleIssue>>;
98
98
  /**
99
99
  * Move a module to archived status for historical tracking.
100
100
  * Archive module
@@ -5,7 +5,7 @@
5
5
  * The Plane REST API
6
6
  * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
7
7
  *
8
- * The version of the API Spec: 0.0.1
8
+ * The version of the API Spec: 0.0.2
9
9
  * Contact: support@plane.so
10
10
  *
11
11
  * NOTE: This class is auto generated.
@@ -135,7 +135,7 @@ var ModulesApi = /** @class */ (function (_super) {
135
135
  }, initOverrides)];
136
136
  case 7:
137
137
  response = _g.sent();
138
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ModuleIssueFromJSON)(jsonValue); })];
138
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.ModuleIssueFromJSON); })];
139
139
  }
140
140
  });
141
141
  });
@@ -0,0 +1,75 @@
1
+ /**
2
+ * The Plane REST API
3
+ * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
4
+ *
5
+ * The version of the API Spec: 0.0.2
6
+ * Contact: support@plane.so
7
+ *
8
+ * NOTE: This class is auto generated.
9
+ * Do not edit the class manually.
10
+ */
11
+ import * as runtime from '../runtime';
12
+ import type { PageCreateAPI, PageCreateAPIRequest, PageDetailAPI } from '../models/index';
13
+ export interface CreateProjectPageRequest {
14
+ projectId: string;
15
+ slug: string;
16
+ pageCreateAPIRequest: PageCreateAPIRequest;
17
+ }
18
+ export interface CreateWorkspacePageRequest {
19
+ slug: string;
20
+ pageCreateAPIRequest: PageCreateAPIRequest;
21
+ }
22
+ export interface GetProjectPageDetailRequest {
23
+ pk: string;
24
+ projectId: string;
25
+ slug: string;
26
+ }
27
+ export interface GetWorkspacePageDetailRequest {
28
+ pk: string;
29
+ slug: string;
30
+ }
31
+ /**
32
+ *
33
+ */
34
+ export declare class PagesApi extends runtime.BaseAPI {
35
+ /**
36
+ * Create a project page
37
+ * Create a project page
38
+ */
39
+ createProjectPageRaw(requestParameters: CreateProjectPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageCreateAPI>>;
40
+ /**
41
+ * Create a project page
42
+ * Create a project page
43
+ */
44
+ createProjectPage(requestParameters: CreateProjectPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageCreateAPI>;
45
+ /**
46
+ * Create a workspace page
47
+ * Create a workspace page
48
+ */
49
+ createWorkspacePageRaw(requestParameters: CreateWorkspacePageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageCreateAPI>>;
50
+ /**
51
+ * Create a workspace page
52
+ * Create a workspace page
53
+ */
54
+ createWorkspacePage(requestParameters: CreateWorkspacePageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageCreateAPI>;
55
+ /**
56
+ * Get a project page by ID
57
+ * Get a project page by ID
58
+ */
59
+ getProjectPageDetailRaw(requestParameters: GetProjectPageDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageDetailAPI>>;
60
+ /**
61
+ * Get a project page by ID
62
+ * Get a project page by ID
63
+ */
64
+ getProjectPageDetail(requestParameters: GetProjectPageDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageDetailAPI>;
65
+ /**
66
+ * Get a workspace page by ID
67
+ * Get a workspace page by ID
68
+ */
69
+ getWorkspacePageDetailRaw(requestParameters: GetWorkspacePageDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageDetailAPI>>;
70
+ /**
71
+ * Get a workspace page by ID
72
+ * Get a workspace page by ID
73
+ */
74
+ getWorkspacePageDetail(requestParameters: GetWorkspacePageDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageDetailAPI>;
75
+ }