@makeplane/plane-node-sdk 0.1.5 → 0.2.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 (662) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +123 -76
  3. package/dist/Configuration.d.ts +21 -0
  4. package/dist/Configuration.d.ts.map +1 -0
  5. package/dist/Configuration.js +28 -0
  6. package/dist/Configuration.js.map +1 -0
  7. package/dist/api/BaseResource.d.ts +55 -0
  8. package/dist/api/BaseResource.d.ts.map +1 -0
  9. package/dist/api/BaseResource.js +180 -0
  10. package/dist/api/BaseResource.js.map +1 -0
  11. package/dist/api/Customers/Properties.d.ts +44 -0
  12. package/dist/api/Customers/Properties.d.ts.map +1 -0
  13. package/dist/api/Customers/Properties.js +65 -0
  14. package/dist/api/Customers/Properties.js.map +1 -0
  15. package/dist/api/Customers/Requests.d.ts +32 -0
  16. package/dist/api/Customers/Requests.d.ts.map +1 -0
  17. package/dist/api/Customers/Requests.js +45 -0
  18. package/dist/api/Customers/Requests.js.map +1 -0
  19. package/dist/api/Customers/index.d.ts +49 -0
  20. package/dist/api/Customers/index.d.ts.map +1 -0
  21. package/dist/api/Customers/index.js +71 -0
  22. package/dist/api/Customers/index.js.map +1 -0
  23. package/dist/api/Cycles.d.ts +61 -0
  24. package/dist/api/Cycles.d.ts.map +1 -0
  25. package/dist/api/Cycles.js +89 -0
  26. package/dist/api/Cycles.js.map +1 -0
  27. package/dist/api/Epics.d.ts +20 -0
  28. package/dist/api/Epics.d.ts.map +1 -0
  29. package/dist/api/Epics.js +27 -0
  30. package/dist/api/Epics.js.map +1 -0
  31. package/dist/api/Initiatives/Epics.d.ts +28 -0
  32. package/dist/api/Initiatives/Epics.d.ts.map +1 -0
  33. package/dist/api/Initiatives/Epics.js +33 -0
  34. package/dist/api/Initiatives/Epics.js.map +1 -0
  35. package/dist/api/Initiatives/Labels.d.ts +48 -0
  36. package/dist/api/Initiatives/Labels.d.ts.map +1 -0
  37. package/dist/api/Initiatives/Labels.js +63 -0
  38. package/dist/api/Initiatives/Labels.js.map +1 -0
  39. package/dist/api/Initiatives/Projects.d.ts +28 -0
  40. package/dist/api/Initiatives/Projects.d.ts.map +1 -0
  41. package/dist/api/Initiatives/Projects.js +33 -0
  42. package/dist/api/Initiatives/Projects.js.map +1 -0
  43. package/dist/api/Initiatives/index.d.ts +38 -0
  44. package/dist/api/Initiatives/index.d.ts.map +1 -0
  45. package/dist/api/Initiatives/index.js +51 -0
  46. package/dist/api/Initiatives/index.js.map +1 -0
  47. package/dist/api/Intake.d.ts +32 -0
  48. package/dist/api/Intake.d.ts.map +1 -0
  49. package/dist/api/Intake.js +45 -0
  50. package/dist/api/Intake.js.map +1 -0
  51. package/dist/api/Labels.d.ts +58 -0
  52. package/dist/api/Labels.d.ts.map +1 -0
  53. package/dist/api/Labels.js +45 -0
  54. package/dist/api/Labels.js.map +1 -0
  55. package/dist/api/Links.d.ts +32 -0
  56. package/dist/api/Links.d.ts.map +1 -0
  57. package/dist/api/Links.js +45 -0
  58. package/dist/api/Links.js.map +1 -0
  59. package/dist/api/Members.d.ts +56 -0
  60. package/dist/api/Members.d.ts.map +1 -0
  61. package/dist/api/Members.js +45 -0
  62. package/dist/api/Members.js.map +1 -0
  63. package/dist/api/Modules.d.ts +57 -0
  64. package/dist/api/Modules.d.ts.map +1 -0
  65. package/dist/api/Modules.js +83 -0
  66. package/dist/api/Modules.js.map +1 -0
  67. package/dist/api/Pages.d.ts +35 -0
  68. package/dist/api/Pages.d.ts.map +1 -0
  69. package/dist/api/Pages.js +53 -0
  70. package/dist/api/Pages.js.map +1 -0
  71. package/dist/api/Projects.d.ts +50 -0
  72. package/dist/api/Projects.d.ts.map +1 -0
  73. package/dist/api/Projects.js +72 -0
  74. package/dist/api/Projects.js.map +1 -0
  75. package/dist/api/States.d.ts +32 -0
  76. package/dist/api/States.d.ts.map +1 -0
  77. package/dist/api/States.js +45 -0
  78. package/dist/api/States.js.map +1 -0
  79. package/dist/api/Stickies.d.ts +32 -0
  80. package/dist/api/Stickies.d.ts.map +1 -0
  81. package/dist/api/Stickies.js +45 -0
  82. package/dist/api/Stickies.js.map +1 -0
  83. package/dist/api/Teamspaces/Members.d.ts +28 -0
  84. package/dist/api/Teamspaces/Members.d.ts.map +1 -0
  85. package/dist/api/Teamspaces/Members.js +33 -0
  86. package/dist/api/Teamspaces/Members.js.map +1 -0
  87. package/dist/api/Teamspaces/Projects.d.ts +28 -0
  88. package/dist/api/Teamspaces/Projects.d.ts.map +1 -0
  89. package/dist/api/Teamspaces/Projects.js +33 -0
  90. package/dist/api/Teamspaces/Projects.js.map +1 -0
  91. package/dist/api/Teamspaces/index.d.ts +36 -0
  92. package/dist/api/Teamspaces/index.d.ts.map +1 -0
  93. package/dist/api/Teamspaces/index.js +49 -0
  94. package/dist/api/Teamspaces/index.js.map +1 -0
  95. package/dist/api/Users.d.ts +15 -0
  96. package/dist/api/Users.d.ts.map +1 -0
  97. package/dist/api/Users.js +21 -0
  98. package/dist/api/Users.js.map +1 -0
  99. package/dist/api/WorkItemProperties/Options.d.ts +31 -0
  100. package/dist/api/WorkItemProperties/Options.d.ts.map +1 -0
  101. package/dist/api/WorkItemProperties/Options.js +45 -0
  102. package/dist/api/WorkItemProperties/Options.js.map +1 -0
  103. package/dist/api/WorkItemProperties/Values.d.ts +23 -0
  104. package/dist/api/WorkItemProperties/Values.d.ts.map +1 -0
  105. package/dist/api/WorkItemProperties/Values.js +34 -0
  106. package/dist/api/WorkItemProperties/Values.js.map +1 -0
  107. package/dist/api/WorkItemProperties/index.d.ts +35 -0
  108. package/dist/api/WorkItemProperties/index.d.ts.map +1 -0
  109. package/dist/api/WorkItemProperties/index.js +49 -0
  110. package/dist/api/WorkItemProperties/index.js.map +1 -0
  111. package/dist/api/WorkItemTypes.d.ts +36 -0
  112. package/dist/api/WorkItemTypes.d.ts.map +1 -0
  113. package/dist/api/WorkItemTypes.js +45 -0
  114. package/dist/api/WorkItemTypes.js.map +1 -0
  115. package/dist/api/WorkItems/Activities.d.ts +20 -0
  116. package/dist/api/WorkItems/Activities.d.ts.map +1 -0
  117. package/dist/api/WorkItems/Activities.js +27 -0
  118. package/dist/api/WorkItems/Activities.js.map +1 -0
  119. package/dist/api/WorkItems/Attachments.d.ts +31 -0
  120. package/dist/api/WorkItems/Attachments.d.ts.map +1 -0
  121. package/dist/api/WorkItems/Attachments.js +45 -0
  122. package/dist/api/WorkItems/Attachments.js.map +1 -0
  123. package/dist/api/WorkItems/Comments.d.ts +32 -0
  124. package/dist/api/WorkItems/Comments.d.ts.map +1 -0
  125. package/dist/api/WorkItems/Comments.js +45 -0
  126. package/dist/api/WorkItems/Comments.js.map +1 -0
  127. package/dist/api/WorkItems/Relations.d.ts +23 -0
  128. package/dist/api/WorkItems/Relations.d.ts.map +1 -0
  129. package/dist/api/WorkItems/Relations.js +33 -0
  130. package/dist/api/WorkItems/Relations.js.map +1 -0
  131. package/dist/api/WorkItems/WorkLogs.d.ts +27 -0
  132. package/dist/api/WorkItems/WorkLogs.d.ts.map +1 -0
  133. package/dist/api/WorkItems/WorkLogs.js +39 -0
  134. package/dist/api/WorkItems/WorkLogs.js.map +1 -0
  135. package/dist/api/WorkItems/index.d.ts +48 -0
  136. package/dist/api/WorkItems/index.d.ts.map +1 -0
  137. package/dist/api/WorkItems/index.js +75 -0
  138. package/dist/api/WorkItems/index.js.map +1 -0
  139. package/dist/api/Workspace.d.ts +24 -0
  140. package/dist/api/Workspace.d.ts.map +1 -0
  141. package/dist/api/Workspace.js +33 -0
  142. package/dist/api/Workspace.js.map +1 -0
  143. package/dist/client/index.d.ts +4 -0
  144. package/dist/client/index.d.ts.map +1 -0
  145. package/dist/client/index.js +8 -0
  146. package/dist/client/index.js.map +1 -0
  147. package/dist/{oauth/api.d.ts → client/oauth-client.d.ts} +7 -5
  148. package/dist/client/oauth-client.d.ts.map +1 -0
  149. package/dist/client/oauth-client.js +129 -0
  150. package/dist/client/oauth-client.js.map +1 -0
  151. package/dist/client/plane-client.d.ts +53 -0
  152. package/dist/client/plane-client.d.ts.map +1 -0
  153. package/dist/client/plane-client.js +61 -0
  154. package/dist/client/plane-client.js.map +1 -0
  155. package/dist/errors/HttpError.d.ts +8 -0
  156. package/dist/errors/HttpError.d.ts.map +1 -0
  157. package/dist/errors/HttpError.js +15 -0
  158. package/dist/errors/HttpError.js.map +1 -0
  159. package/dist/errors/PlaneError.d.ts +9 -0
  160. package/dist/errors/PlaneError.d.ts.map +1 -0
  161. package/dist/errors/PlaneError.js +16 -0
  162. package/dist/errors/PlaneError.js.map +1 -0
  163. package/dist/errors/index.d.ts +3 -0
  164. package/dist/errors/index.d.ts.map +1 -0
  165. package/dist/errors/index.js +8 -0
  166. package/dist/errors/index.js.map +1 -0
  167. package/dist/index.d.ts +39 -4
  168. package/dist/index.d.ts.map +1 -0
  169. package/dist/index.js +83 -5
  170. package/dist/index.js.map +1 -0
  171. package/dist/models/Attachment.d.ts +46 -0
  172. package/dist/models/Attachment.d.ts.map +1 -0
  173. package/dist/models/Attachment.js +7 -0
  174. package/dist/models/Attachment.js.map +1 -0
  175. package/dist/models/Comment.d.ts +43 -0
  176. package/dist/models/Comment.d.ts.map +1 -0
  177. package/dist/models/Comment.js +3 -0
  178. package/dist/models/Comment.js.map +1 -0
  179. package/dist/models/Customer.d.ts +136 -0
  180. package/dist/models/Customer.d.ts.map +1 -0
  181. package/dist/models/Customer.js +3 -0
  182. package/dist/models/Customer.js.map +1 -0
  183. package/dist/models/Cycle.d.ts +59 -210
  184. package/dist/models/Cycle.d.ts.map +1 -0
  185. package/dist/models/Cycle.js +1 -91
  186. package/dist/models/Cycle.js.map +1 -0
  187. package/dist/models/Epic.d.ts +28 -200
  188. package/dist/models/Epic.d.ts.map +1 -0
  189. package/dist/models/Epic.js +1 -104
  190. package/dist/models/Epic.js.map +1 -0
  191. package/dist/models/Initiative.d.ts +50 -0
  192. package/dist/models/Initiative.d.ts.map +1 -0
  193. package/dist/models/Initiative.js +12 -0
  194. package/dist/models/Initiative.js.map +1 -0
  195. package/dist/models/InitiativeLabel.d.ts +21 -0
  196. package/dist/models/InitiativeLabel.d.ts.map +1 -0
  197. package/dist/models/InitiativeLabel.js +3 -0
  198. package/dist/models/InitiativeLabel.js.map +1 -0
  199. package/dist/models/Intake.d.ts +48 -0
  200. package/dist/models/Intake.d.ts.map +1 -0
  201. package/dist/models/Intake.js +3 -0
  202. package/dist/models/Intake.js.map +1 -0
  203. package/dist/models/Label.d.ts +13 -113
  204. package/dist/models/Label.d.ts.map +1 -0
  205. package/dist/models/Label.js +1 -68
  206. package/dist/models/Label.js.map +1 -0
  207. package/dist/models/Link.d.ts +25 -0
  208. package/dist/models/Link.d.ts.map +1 -0
  209. package/dist/{oauth/models.js → models/Link.js} +1 -0
  210. package/dist/models/Link.js.map +1 -0
  211. package/dist/models/Module.d.ts +55 -193
  212. package/dist/models/Module.d.ts.map +1 -0
  213. package/dist/models/Module.js +1 -89
  214. package/dist/models/Module.js.map +1 -0
  215. package/dist/{oauth/models.d.ts → models/OAuth.d.ts} +1 -0
  216. package/dist/models/OAuth.d.ts.map +1 -0
  217. package/dist/models/OAuth.js +3 -0
  218. package/dist/models/OAuth.js.map +1 -0
  219. package/dist/models/Page.d.ts +14 -0
  220. package/dist/models/Page.d.ts.map +1 -0
  221. package/dist/models/Page.js +3 -0
  222. package/dist/models/Page.js.map +1 -0
  223. package/dist/models/Project.d.ts +42 -290
  224. package/dist/models/Project.d.ts.map +1 -0
  225. package/dist/models/Project.js +1 -122
  226. package/dist/models/Project.js.map +1 -0
  227. package/dist/models/ProjectFeatures.d.ts +14 -0
  228. package/dist/models/ProjectFeatures.d.ts.map +1 -0
  229. package/dist/models/ProjectFeatures.js +3 -0
  230. package/dist/models/ProjectFeatures.js.map +1 -0
  231. package/dist/models/State.d.ts +34 -124
  232. package/dist/models/State.d.ts.map +1 -0
  233. package/dist/models/State.js +2 -73
  234. package/dist/models/State.js.map +1 -0
  235. package/dist/models/Sticky.d.ts +25 -0
  236. package/dist/models/Sticky.d.ts.map +1 -0
  237. package/dist/models/Sticky.js +3 -0
  238. package/dist/models/Sticky.js.map +1 -0
  239. package/dist/models/Teamspace.d.ts +34 -0
  240. package/dist/models/Teamspace.d.ts.map +1 -0
  241. package/dist/models/Teamspace.js +3 -0
  242. package/dist/models/Teamspace.js.map +1 -0
  243. package/dist/models/User.d.ts +10 -0
  244. package/dist/models/User.d.ts.map +1 -0
  245. package/dist/models/User.js +3 -0
  246. package/dist/models/User.js.map +1 -0
  247. package/dist/models/WorkItem.d.ts +111 -0
  248. package/dist/models/WorkItem.d.ts.map +1 -0
  249. package/dist/models/WorkItem.js +3 -0
  250. package/dist/models/WorkItem.js.map +1 -0
  251. package/dist/models/WorkItemProperty.d.ts +123 -0
  252. package/dist/models/WorkItemProperty.d.ts.map +1 -0
  253. package/dist/models/WorkItemProperty.js +3 -0
  254. package/dist/models/WorkItemProperty.js.map +1 -0
  255. package/dist/models/WorkItemRelation.d.ts +34 -0
  256. package/dist/models/WorkItemRelation.d.ts.map +1 -0
  257. package/dist/models/WorkItemRelation.js +3 -0
  258. package/dist/models/WorkItemRelation.js.map +1 -0
  259. package/dist/models/WorkItemType.d.ts +18 -0
  260. package/dist/models/WorkItemType.d.ts.map +1 -0
  261. package/dist/models/WorkItemType.js +3 -0
  262. package/dist/models/WorkItemType.js.map +1 -0
  263. package/dist/models/WorkLog.d.ts +23 -0
  264. package/dist/models/WorkLog.d.ts.map +1 -0
  265. package/dist/models/WorkLog.js +3 -0
  266. package/dist/models/WorkLog.js.map +1 -0
  267. package/dist/models/WorkspaceFeatures.d.ts +13 -0
  268. package/dist/models/WorkspaceFeatures.d.ts.map +1 -0
  269. package/dist/models/WorkspaceFeatures.js +3 -0
  270. package/dist/models/WorkspaceFeatures.js.map +1 -0
  271. package/dist/models/common.d.ts +63 -0
  272. package/dist/models/common.d.ts.map +1 -0
  273. package/dist/models/common.js +6 -0
  274. package/dist/models/common.js.map +1 -0
  275. package/dist/models/index.d.ts +17 -106
  276. package/dist/models/index.d.ts.map +1 -0
  277. package/dist/models/index.js +15 -105
  278. package/dist/models/index.js.map +1 -0
  279. package/package.json +52 -14
  280. package/.github/workflows/publish-node-sdk.yml +0 -42
  281. package/.openapi-generator/FILES +0 -138
  282. package/.openapi-generator/VERSION +0 -1
  283. package/.openapi-generator-ignore +0 -23
  284. package/dist/apis/AssetsApi.d.ts +0 -100
  285. package/dist/apis/AssetsApi.js +0 -522
  286. package/dist/apis/CyclesApi.d.ts +0 -225
  287. package/dist/apis/CyclesApi.js +0 -1142
  288. package/dist/apis/EpicsApi.d.ts +0 -49
  289. package/dist/apis/EpicsApi.js +0 -243
  290. package/dist/apis/IntakeApi.d.ts +0 -96
  291. package/dist/apis/IntakeApi.js +0 -485
  292. package/dist/apis/LabelsApi.d.ts +0 -97
  293. package/dist/apis/LabelsApi.js +0 -488
  294. package/dist/apis/MembersApi.d.ts +0 -44
  295. package/dist/apis/MembersApi.js +0 -228
  296. package/dist/apis/ModulesApi.d.ts +0 -198
  297. package/dist/apis/ModulesApi.js +0 -991
  298. package/dist/apis/PagesApi.d.ts +0 -75
  299. package/dist/apis/PagesApi.js +0 -393
  300. package/dist/apis/ProjectsApi.d.ts +0 -120
  301. package/dist/apis/ProjectsApi.js +0 -621
  302. package/dist/apis/StatesApi.d.ts +0 -96
  303. package/dist/apis/StatesApi.js +0 -485
  304. package/dist/apis/UsersApi.d.ts +0 -27
  305. package/dist/apis/UsersApi.js +0 -149
  306. package/dist/apis/WorkItemActivityApi.d.ts +0 -58
  307. package/dist/apis/WorkItemActivityApi.js +0 -270
  308. package/dist/apis/WorkItemAttachmentsApi.d.ts +0 -97
  309. package/dist/apis/WorkItemAttachmentsApi.js +0 -482
  310. package/dist/apis/WorkItemCommentsApi.d.ts +0 -102
  311. package/dist/apis/WorkItemCommentsApi.js +0 -500
  312. package/dist/apis/WorkItemLinksApi.d.ts +0 -106
  313. package/dist/apis/WorkItemLinksApi.js +0 -515
  314. package/dist/apis/WorkItemPropertiesApi.d.ts +0 -226
  315. package/dist/apis/WorkItemPropertiesApi.js +0 -1148
  316. package/dist/apis/WorkItemTypesApi.d.ts +0 -92
  317. package/dist/apis/WorkItemTypesApi.js +0 -473
  318. package/dist/apis/WorkItemWorklogsApi.d.ts +0 -95
  319. package/dist/apis/WorkItemWorklogsApi.js +0 -479
  320. package/dist/apis/WorkItemsApi.d.ts +0 -186
  321. package/dist/apis/WorkItemsApi.js +0 -934
  322. package/dist/apis/WorkspacesApi.d.ts +0 -28
  323. package/dist/apis/WorkspacesApi.js +0 -150
  324. package/dist/apis/index.d.ts +0 -20
  325. package/dist/apis/index.js +0 -37
  326. package/dist/models/AccessBd4Enum.d.ts +0 -25
  327. package/dist/models/AccessBd4Enum.js +0 -51
  328. package/dist/models/CycleCreateRequest.d.ts +0 -77
  329. package/dist/models/CycleCreateRequest.js +0 -67
  330. package/dist/models/CycleIssue.d.ts +0 -94
  331. package/dist/models/CycleIssue.js +0 -65
  332. package/dist/models/CycleIssueRequestRequest.d.ts +0 -34
  333. package/dist/models/CycleIssueRequestRequest.js +0 -50
  334. package/dist/models/CycleLite.d.ts +0 -161
  335. package/dist/models/CycleLite.js +0 -96
  336. package/dist/models/EntityTypeEnum.d.ts +0 -25
  337. package/dist/models/EntityTypeEnum.js +0 -51
  338. package/dist/models/GenericAssetUploadRequest.d.ts +0 -65
  339. package/dist/models/GenericAssetUploadRequest.js +0 -62
  340. package/dist/models/GetWorkspaceMembers200ResponseInner.d.ts +0 -73
  341. package/dist/models/GetWorkspaceMembers200ResponseInner.js +0 -55
  342. package/dist/models/GroupEnum.d.ts +0 -33
  343. package/dist/models/GroupEnum.js +0 -59
  344. package/dist/models/IntakeIssue.d.ts +0 -150
  345. package/dist/models/IntakeIssue.js +0 -80
  346. package/dist/models/IntakeIssueCreateRequest.d.ts +0 -72
  347. package/dist/models/IntakeIssueCreateRequest.js +0 -66
  348. package/dist/models/IntakeWorkItemStatusEnum.d.ts +0 -31
  349. package/dist/models/IntakeWorkItemStatusEnum.js +0 -57
  350. package/dist/models/Issue.d.ts +0 -197
  351. package/dist/models/Issue.js +0 -98
  352. package/dist/models/IssueActivity.d.ts +0 -136
  353. package/dist/models/IssueActivity.js +0 -83
  354. package/dist/models/IssueAttachment.d.ts +0 -172
  355. package/dist/models/IssueAttachment.js +0 -89
  356. package/dist/models/IssueAttachmentUploadRequest.d.ts +0 -58
  357. package/dist/models/IssueAttachmentUploadRequest.js +0 -60
  358. package/dist/models/IssueComment.d.ts +0 -137
  359. package/dist/models/IssueComment.js +0 -74
  360. package/dist/models/IssueCommentCreateRequest.d.ts +0 -59
  361. package/dist/models/IssueCommentCreateRequest.js +0 -57
  362. package/dist/models/IssueDetail.d.ts +0 -211
  363. package/dist/models/IssueDetail.js +0 -108
  364. package/dist/models/IssueExpand.d.ts +0 -224
  365. package/dist/models/IssueExpand.js +0 -103
  366. package/dist/models/IssueForIntakeRequest.d.ts +0 -53
  367. package/dist/models/IssueForIntakeRequest.js +0 -57
  368. package/dist/models/IssueLink.d.ts +0 -100
  369. package/dist/models/IssueLink.js +0 -64
  370. package/dist/models/IssueLinkCreateRequest.d.ts +0 -34
  371. package/dist/models/IssueLinkCreateRequest.js +0 -50
  372. package/dist/models/IssuePropertyAPI.d.ts +0 -171
  373. package/dist/models/IssuePropertyAPI.js +0 -88
  374. package/dist/models/IssuePropertyAPIRelationTypeEnum.d.ts +0 -25
  375. package/dist/models/IssuePropertyAPIRelationTypeEnum.js +0 -51
  376. package/dist/models/IssuePropertyAPIRequest.d.ts +0 -99
  377. package/dist/models/IssuePropertyAPIRequest.js +0 -76
  378. package/dist/models/IssuePropertyOptionAPI.d.ts +0 -133
  379. package/dist/models/IssuePropertyOptionAPI.js +0 -73
  380. package/dist/models/IssuePropertyOptionAPIRequest.d.ts +0 -67
  381. package/dist/models/IssuePropertyOptionAPIRequest.js +0 -62
  382. package/dist/models/IssuePropertyValueAPI.d.ts +0 -133
  383. package/dist/models/IssuePropertyValueAPI.js +0 -78
  384. package/dist/models/IssuePropertyValueAPIDetail.d.ts +0 -39
  385. package/dist/models/IssuePropertyValueAPIDetail.js +0 -54
  386. package/dist/models/IssuePropertyValueAPIRequest.d.ts +0 -85
  387. package/dist/models/IssuePropertyValueAPIRequest.js +0 -70
  388. package/dist/models/IssueRelation.d.ts +0 -106
  389. package/dist/models/IssueRelation.js +0 -58
  390. package/dist/models/IssueRelationCreateRelationTypeEnum.d.ts +0 -37
  391. package/dist/models/IssueRelationCreateRelationTypeEnum.js +0 -63
  392. package/dist/models/IssueRelationCreateRequest.d.ts +0 -50
  393. package/dist/models/IssueRelationCreateRequest.js +0 -55
  394. package/dist/models/IssueRelationRemoveRequest.d.ts +0 -34
  395. package/dist/models/IssueRelationRemoveRequest.js +0 -50
  396. package/dist/models/IssueRelationResponse.d.ts +0 -75
  397. package/dist/models/IssueRelationResponse.js +0 -78
  398. package/dist/models/IssueRequest.d.ts +0 -167
  399. package/dist/models/IssueRequest.js +0 -95
  400. package/dist/models/IssueSearch.d.ts +0 -34
  401. package/dist/models/IssueSearch.js +0 -51
  402. package/dist/models/IssueSearchItem.d.ts +0 -64
  403. package/dist/models/IssueSearchItem.js +0 -70
  404. package/dist/models/IssueTypeAPI.d.ts +0 -127
  405. package/dist/models/IssueTypeAPI.js +0 -72
  406. package/dist/models/IssueTypeAPIRequest.d.ts +0 -67
  407. package/dist/models/IssueTypeAPIRequest.js +0 -62
  408. package/dist/models/IssueWorkLogAPI.d.ts +0 -85
  409. package/dist/models/IssueWorkLogAPI.js +0 -60
  410. package/dist/models/IssueWorkLogAPIRequest.d.ts +0 -49
  411. package/dist/models/IssueWorkLogAPIRequest.js +0 -54
  412. package/dist/models/LabelCreateUpdateRequest.d.ts +0 -70
  413. package/dist/models/LabelCreateUpdateRequest.js +0 -62
  414. package/dist/models/ModuleCreateRequest.d.ts +0 -83
  415. package/dist/models/ModuleCreateRequest.js +0 -67
  416. package/dist/models/ModuleIssue.d.ts +0 -94
  417. package/dist/models/ModuleIssue.js +0 -63
  418. package/dist/models/ModuleIssueRequestRequest.d.ts +0 -34
  419. package/dist/models/ModuleIssueRequestRequest.js +0 -50
  420. package/dist/models/ModuleLite.d.ts +0 -167
  421. package/dist/models/ModuleLite.js +0 -97
  422. package/dist/models/ModuleStatusEnum.d.ts +0 -33
  423. package/dist/models/ModuleStatusEnum.js +0 -59
  424. package/dist/models/NetworkEnum.d.ts +0 -25
  425. package/dist/models/NetworkEnum.js +0 -51
  426. package/dist/models/PageCreateAPI.d.ts +0 -134
  427. package/dist/models/PageCreateAPI.js +0 -79
  428. package/dist/models/PageCreateAPIAccessEnum.d.ts +0 -25
  429. package/dist/models/PageCreateAPIAccessEnum.js +0 -51
  430. package/dist/models/PageCreateAPIRequest.d.ts +0 -86
  431. package/dist/models/PageCreateAPIRequest.js +0 -71
  432. package/dist/models/PageDetailAPI.d.ts +0 -79
  433. package/dist/models/PageDetailAPI.js +0 -57
  434. package/dist/models/PaginatedArchivedCycleResponse.d.ts +0 -98
  435. package/dist/models/PaginatedArchivedCycleResponse.js +0 -95
  436. package/dist/models/PaginatedArchivedModuleResponse.d.ts +0 -98
  437. package/dist/models/PaginatedArchivedModuleResponse.js +0 -95
  438. package/dist/models/PaginatedCycleIssueResponse.d.ts +0 -98
  439. package/dist/models/PaginatedCycleIssueResponse.js +0 -95
  440. package/dist/models/PaginatedCycleResponse.d.ts +0 -98
  441. package/dist/models/PaginatedCycleResponse.js +0 -95
  442. package/dist/models/PaginatedEpicResponse.d.ts +0 -98
  443. package/dist/models/PaginatedEpicResponse.js +0 -95
  444. package/dist/models/PaginatedIntakeIssueResponse.d.ts +0 -98
  445. package/dist/models/PaginatedIntakeIssueResponse.js +0 -95
  446. package/dist/models/PaginatedIssueActivityDetailResponse.d.ts +0 -98
  447. package/dist/models/PaginatedIssueActivityDetailResponse.js +0 -95
  448. package/dist/models/PaginatedIssueActivityResponse.d.ts +0 -98
  449. package/dist/models/PaginatedIssueActivityResponse.js +0 -95
  450. package/dist/models/PaginatedIssueCommentResponse.d.ts +0 -98
  451. package/dist/models/PaginatedIssueCommentResponse.js +0 -95
  452. package/dist/models/PaginatedIssueLinkDetailResponse.d.ts +0 -98
  453. package/dist/models/PaginatedIssueLinkDetailResponse.js +0 -95
  454. package/dist/models/PaginatedIssueLinkResponse.d.ts +0 -98
  455. package/dist/models/PaginatedIssueLinkResponse.js +0 -95
  456. package/dist/models/PaginatedLabelResponse.d.ts +0 -98
  457. package/dist/models/PaginatedLabelResponse.js +0 -95
  458. package/dist/models/PaginatedModuleIssueResponse.d.ts +0 -98
  459. package/dist/models/PaginatedModuleIssueResponse.js +0 -95
  460. package/dist/models/PaginatedModuleResponse.d.ts +0 -98
  461. package/dist/models/PaginatedModuleResponse.js +0 -95
  462. package/dist/models/PaginatedProjectResponse.d.ts +0 -98
  463. package/dist/models/PaginatedProjectResponse.js +0 -95
  464. package/dist/models/PaginatedStateResponse.d.ts +0 -98
  465. package/dist/models/PaginatedStateResponse.js +0 -95
  466. package/dist/models/PaginatedWorkItemResponse.d.ts +0 -98
  467. package/dist/models/PaginatedWorkItemResponse.js +0 -95
  468. package/dist/models/PatchedAssetUpdateRequest.d.ts +0 -34
  469. package/dist/models/PatchedAssetUpdateRequest.js +0 -48
  470. package/dist/models/PatchedCycleUpdateRequest.d.ts +0 -77
  471. package/dist/models/PatchedCycleUpdateRequest.js +0 -63
  472. package/dist/models/PatchedGenericAssetUpdateRequest.d.ts +0 -34
  473. package/dist/models/PatchedGenericAssetUpdateRequest.js +0 -48
  474. package/dist/models/PatchedIntakeIssueUpdateRequest.d.ts +0 -66
  475. package/dist/models/PatchedIntakeIssueUpdateRequest.js +0 -60
  476. package/dist/models/PatchedIssueCommentCreateRequest.d.ts +0 -59
  477. package/dist/models/PatchedIssueCommentCreateRequest.js +0 -57
  478. package/dist/models/PatchedIssueLinkUpdateRequest.d.ts +0 -34
  479. package/dist/models/PatchedIssueLinkUpdateRequest.js +0 -48
  480. package/dist/models/PatchedIssuePropertyAPIRequest.d.ts +0 -99
  481. package/dist/models/PatchedIssuePropertyAPIRequest.js +0 -72
  482. package/dist/models/PatchedIssuePropertyOptionAPIRequest.d.ts +0 -67
  483. package/dist/models/PatchedIssuePropertyOptionAPIRequest.js +0 -60
  484. package/dist/models/PatchedIssueRequest.d.ts +0 -167
  485. package/dist/models/PatchedIssueRequest.js +0 -93
  486. package/dist/models/PatchedIssueTypeAPIRequest.d.ts +0 -67
  487. package/dist/models/PatchedIssueTypeAPIRequest.js +0 -60
  488. package/dist/models/PatchedIssueWorkLogAPIRequest.d.ts +0 -49
  489. package/dist/models/PatchedIssueWorkLogAPIRequest.js +0 -54
  490. package/dist/models/PatchedLabelCreateUpdateRequest.d.ts +0 -70
  491. package/dist/models/PatchedLabelCreateUpdateRequest.js +0 -60
  492. package/dist/models/PatchedModuleUpdateRequest.d.ts +0 -83
  493. package/dist/models/PatchedModuleUpdateRequest.js +0 -65
  494. package/dist/models/PatchedProjectUpdateRequest.d.ts +0 -167
  495. package/dist/models/PatchedProjectUpdateRequest.js +0 -93
  496. package/dist/models/PatchedStateRequest.d.ts +0 -83
  497. package/dist/models/PatchedStateRequest.js +0 -65
  498. package/dist/models/PriorityEnum.d.ts +0 -31
  499. package/dist/models/PriorityEnum.js +0 -57
  500. package/dist/models/ProjectCreateRequest.d.ts +0 -155
  501. package/dist/models/ProjectCreateRequest.js +0 -93
  502. package/dist/models/ProjectWorklogSummary.d.ts +0 -37
  503. package/dist/models/ProjectWorklogSummary.js +0 -54
  504. package/dist/models/PropertyTypeEnum.d.ts +0 -39
  505. package/dist/models/PropertyTypeEnum.js +0 -65
  506. package/dist/models/RetrieveWorkItemAttachment400Response.d.ts +0 -37
  507. package/dist/models/RetrieveWorkItemAttachment400Response.js +0 -50
  508. package/dist/models/StateLite.d.ts +0 -53
  509. package/dist/models/StateLite.js +0 -50
  510. package/dist/models/StateRequest.d.ts +0 -83
  511. package/dist/models/StateRequest.js +0 -69
  512. package/dist/models/TimezoneEnum.d.ts +0 -887
  513. package/dist/models/TimezoneEnum.js +0 -913
  514. package/dist/models/TransferCycleIssueRequestRequest.d.ts +0 -34
  515. package/dist/models/TransferCycleIssueRequestRequest.js +0 -50
  516. package/dist/models/TransferCycleWorkItems200Response.d.ts +0 -31
  517. package/dist/models/TransferCycleWorkItems200Response.js +0 -48
  518. package/dist/models/TransferCycleWorkItems400Response.d.ts +0 -31
  519. package/dist/models/TransferCycleWorkItems400Response.js +0 -48
  520. package/dist/models/TypeEnum.d.ts +0 -31
  521. package/dist/models/TypeEnum.js +0 -57
  522. package/dist/models/UserAssetUploadRequest.d.ts +0 -64
  523. package/dist/models/UserAssetUploadRequest.js +0 -62
  524. package/dist/models/UserLite.d.ts +0 -70
  525. package/dist/models/UserLite.js +0 -52
  526. package/dist/oauth/api.js +0 -243
  527. package/dist/runtime.d.ts +0 -183
  528. package/dist/runtime.js +0 -563
  529. package/eslint.config.mjs +0 -11
  530. package/src/apis/AssetsApi.ts +0 -388
  531. package/src/apis/CyclesApi.ts +0 -1031
  532. package/src/apis/EpicsApi.ts +0 -177
  533. package/src/apis/IntakeApi.ts +0 -401
  534. package/src/apis/LabelsApi.ts +0 -406
  535. package/src/apis/MembersApi.ts +0 -146
  536. package/src/apis/ModulesApi.ts +0 -890
  537. package/src/apis/PagesApi.ts +0 -301
  538. package/src/apis/ProjectsApi.ts +0 -486
  539. package/src/apis/StatesApi.ts +0 -401
  540. package/src/apis/UsersApi.ts +0 -71
  541. package/src/apis/WorkItemActivityApi.ts +0 -228
  542. package/src/apis/WorkItemAttachmentsApi.ts +0 -415
  543. package/src/apis/WorkItemCommentsApi.ts +0 -439
  544. package/src/apis/WorkItemLinksApi.ts +0 -469
  545. package/src/apis/WorkItemPropertiesApi.ts +0 -1061
  546. package/src/apis/WorkItemTypesApi.ts +0 -378
  547. package/src/apis/WorkItemWorklogsApi.ts +0 -398
  548. package/src/apis/WorkItemsApi.ts +0 -859
  549. package/src/apis/WorkspacesApi.ts +0 -80
  550. package/src/apis/index.ts +0 -22
  551. package/src/index.ts +0 -6
  552. package/src/models/AccessBd4Enum.ts +0 -53
  553. package/src/models/Cycle.ts +0 -300
  554. package/src/models/CycleCreateRequest.ts +0 -135
  555. package/src/models/CycleIssue.ts +0 -142
  556. package/src/models/CycleIssueRequestRequest.ts +0 -68
  557. package/src/models/CycleLite.ts +0 -246
  558. package/src/models/EntityTypeEnum.ts +0 -53
  559. package/src/models/Epic.ts +0 -302
  560. package/src/models/GenericAssetUploadRequest.ts +0 -110
  561. package/src/models/GetWorkspaceMembers200ResponseInner.ts +0 -113
  562. package/src/models/GroupEnum.ts +0 -61
  563. package/src/models/IntakeIssue.ts +0 -227
  564. package/src/models/IntakeIssueCreateRequest.ts +0 -134
  565. package/src/models/IntakeWorkItemStatusEnum.ts +0 -59
  566. package/src/models/Issue.ts +0 -287
  567. package/src/models/IssueActivity.ts +0 -202
  568. package/src/models/IssueAttachment.ts +0 -245
  569. package/src/models/IssueAttachmentUploadRequest.ts +0 -101
  570. package/src/models/IssueComment.ts +0 -204
  571. package/src/models/IssueCommentCreateRequest.ts +0 -109
  572. package/src/models/IssueDetail.ts +0 -319
  573. package/src/models/IssueExpand.ts +0 -334
  574. package/src/models/IssueForIntakeRequest.ts +0 -102
  575. package/src/models/IssueLink.ts +0 -148
  576. package/src/models/IssueLinkCreateRequest.ts +0 -68
  577. package/src/models/IssuePropertyAPI.ts +0 -255
  578. package/src/models/IssuePropertyAPIRelationTypeEnum.ts +0 -53
  579. package/src/models/IssuePropertyAPIRequest.ts +0 -171
  580. package/src/models/IssuePropertyOptionAPI.ts +0 -190
  581. package/src/models/IssuePropertyOptionAPIRequest.ts +0 -113
  582. package/src/models/IssuePropertyValueAPI.ts +0 -194
  583. package/src/models/IssuePropertyValueAPIDetail.ts +0 -76
  584. package/src/models/IssuePropertyValueAPIRequest.ts +0 -138
  585. package/src/models/IssueRelation.ts +0 -150
  586. package/src/models/IssueRelationCreateRelationTypeEnum.ts +0 -65
  587. package/src/models/IssueRelationCreateRequest.ts +0 -96
  588. package/src/models/IssueRelationRemoveRequest.ts +0 -68
  589. package/src/models/IssueRelationResponse.ts +0 -130
  590. package/src/models/IssueRequest.ts +0 -254
  591. package/src/models/IssueSearch.ts +0 -75
  592. package/src/models/IssueSearchItem.ts +0 -113
  593. package/src/models/IssueTypeAPI.ts +0 -183
  594. package/src/models/IssueTypeAPIRequest.ts +0 -113
  595. package/src/models/IssueWorkLogAPI.ts +0 -130
  596. package/src/models/IssueWorkLogAPIRequest.ts +0 -88
  597. package/src/models/Label.ts +0 -172
  598. package/src/models/LabelCreateUpdateRequest.ts +0 -116
  599. package/src/models/Module.ts +0 -280
  600. package/src/models/ModuleCreateRequest.ts +0 -142
  601. package/src/models/ModuleIssue.ts +0 -140
  602. package/src/models/ModuleIssueRequestRequest.ts +0 -68
  603. package/src/models/ModuleLite.ts +0 -253
  604. package/src/models/ModuleStatusEnum.ts +0 -61
  605. package/src/models/NetworkEnum.ts +0 -53
  606. package/src/models/PageCreateAPI.ts +0 -204
  607. package/src/models/PageCreateAPIAccessEnum.ts +0 -53
  608. package/src/models/PageCreateAPIRequest.ts +0 -148
  609. package/src/models/PageDetailAPI.ts +0 -121
  610. package/src/models/PaginatedArchivedCycleResponse.ts +0 -172
  611. package/src/models/PaginatedArchivedModuleResponse.ts +0 -172
  612. package/src/models/PaginatedCycleIssueResponse.ts +0 -172
  613. package/src/models/PaginatedCycleResponse.ts +0 -172
  614. package/src/models/PaginatedEpicResponse.ts +0 -172
  615. package/src/models/PaginatedIntakeIssueResponse.ts +0 -172
  616. package/src/models/PaginatedIssueActivityDetailResponse.ts +0 -172
  617. package/src/models/PaginatedIssueActivityResponse.ts +0 -172
  618. package/src/models/PaginatedIssueCommentResponse.ts +0 -172
  619. package/src/models/PaginatedIssueLinkDetailResponse.ts +0 -172
  620. package/src/models/PaginatedIssueLinkResponse.ts +0 -172
  621. package/src/models/PaginatedLabelResponse.ts +0 -172
  622. package/src/models/PaginatedModuleIssueResponse.ts +0 -172
  623. package/src/models/PaginatedModuleResponse.ts +0 -172
  624. package/src/models/PaginatedProjectResponse.ts +0 -172
  625. package/src/models/PaginatedStateResponse.ts +0 -172
  626. package/src/models/PaginatedWorkItemResponse.ts +0 -172
  627. package/src/models/PatchedAssetUpdateRequest.ts +0 -67
  628. package/src/models/PatchedCycleUpdateRequest.ts +0 -133
  629. package/src/models/PatchedGenericAssetUpdateRequest.ts +0 -67
  630. package/src/models/PatchedIntakeIssueUpdateRequest.ts +0 -124
  631. package/src/models/PatchedIssueCommentCreateRequest.ts +0 -109
  632. package/src/models/PatchedIssueLinkUpdateRequest.ts +0 -67
  633. package/src/models/PatchedIssuePropertyAPIRequest.ts +0 -169
  634. package/src/models/PatchedIssuePropertyOptionAPIRequest.ts +0 -112
  635. package/src/models/PatchedIssueRequest.ts +0 -253
  636. package/src/models/PatchedIssueTypeAPIRequest.ts +0 -112
  637. package/src/models/PatchedIssueWorkLogAPIRequest.ts +0 -88
  638. package/src/models/PatchedLabelCreateUpdateRequest.ts +0 -115
  639. package/src/models/PatchedModuleUpdateRequest.ts +0 -141
  640. package/src/models/PatchedProjectUpdateRequest.ts +0 -253
  641. package/src/models/PatchedStateRequest.ts +0 -141
  642. package/src/models/PriorityEnum.ts +0 -59
  643. package/src/models/Project.ts +0 -414
  644. package/src/models/ProjectCreateRequest.ts +0 -239
  645. package/src/models/ProjectWorklogSummary.ts +0 -74
  646. package/src/models/PropertyTypeEnum.ts +0 -67
  647. package/src/models/RetrieveWorkItemAttachment400Response.ts +0 -72
  648. package/src/models/State.ts +0 -199
  649. package/src/models/StateLite.ts +0 -97
  650. package/src/models/StateRequest.ts +0 -143
  651. package/src/models/TimezoneEnum.ts +0 -915
  652. package/src/models/TransferCycleIssueRequestRequest.ts +0 -68
  653. package/src/models/TransferCycleWorkItems200Response.ts +0 -64
  654. package/src/models/TransferCycleWorkItems400Response.ts +0 -64
  655. package/src/models/TypeEnum.ts +0 -59
  656. package/src/models/UserAssetUploadRequest.ts +0 -121
  657. package/src/models/UserLite.ts +0 -108
  658. package/src/models/index.ts +0 -108
  659. package/src/oauth/api.ts +0 -183
  660. package/src/oauth/models.ts +0 -30
  661. package/src/runtime.ts +0 -431
  662. package/tsconfig.json +0 -20
@@ -1,621 +0,0 @@
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.ProjectsApi = void 0;
67
- var runtime = require("../runtime");
68
- var index_1 = require("../models/index");
69
- /**
70
- *
71
- */
72
- var ProjectsApi = /** @class */ (function (_super) {
73
- __extends(ProjectsApi, _super);
74
- function ProjectsApi() {
75
- return _super !== null && _super.apply(this, arguments) || this;
76
- }
77
- /**
78
- * Move a project to archived status, hiding it from active project lists.
79
- * Archive project
80
- */
81
- ProjectsApi.prototype.archiveProjectRaw = 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 archiveProject().');
89
- }
90
- if (requestParameters['slug'] == null) {
91
- throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling archiveProject().');
92
- }
93
- queryParameters = {};
94
- headerParameters = {};
95
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
96
- _a = headerParameters;
97
- _b = "X-API-Key";
98
- return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
99
- case 1:
100
- _a[_b] = _g.sent(); // ApiKeyAuthentication authentication
101
- _g.label = 2;
102
- case 2:
103
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
104
- // oauth required
105
- _c = headerParameters;
106
- _d = "Authorization";
107
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
108
- case 3:
109
- // oauth required
110
- _c[_d] = _g.sent();
111
- _g.label = 4;
112
- case 4:
113
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
114
- // oauth required
115
- _e = headerParameters;
116
- _f = "Authorization";
117
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
118
- case 5:
119
- // oauth required
120
- _e[_f] = _g.sent();
121
- _g.label = 6;
122
- case 6: return [4 /*yield*/, this.request({
123
- path: "/api/v1/workspaces/{slug}/projects/{project_id}/archive/".replace("{".concat("project_id", "}"), encodeURIComponent(String(requestParameters['projectId']))).replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
124
- method: 'POST',
125
- headers: headerParameters,
126
- query: queryParameters,
127
- }, initOverrides)];
128
- case 7:
129
- response = _g.sent();
130
- return [2 /*return*/, new runtime.VoidApiResponse(response)];
131
- }
132
- });
133
- });
134
- };
135
- /**
136
- * Move a project to archived status, hiding it from active project lists.
137
- * Archive project
138
- */
139
- ProjectsApi.prototype.archiveProject = function (requestParameters, initOverrides) {
140
- return __awaiter(this, void 0, void 0, function () {
141
- return __generator(this, function (_a) {
142
- switch (_a.label) {
143
- case 0: return [4 /*yield*/, this.archiveProjectRaw(requestParameters, initOverrides)];
144
- case 1:
145
- _a.sent();
146
- return [2 /*return*/];
147
- }
148
- });
149
- });
150
- };
151
- /**
152
- * Create a new project in the workspace with default states and member assignments.
153
- * Create project
154
- */
155
- ProjectsApi.prototype.createProjectRaw = function (requestParameters, initOverrides) {
156
- return __awaiter(this, void 0, void 0, function () {
157
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
158
- return __generator(this, function (_g) {
159
- switch (_g.label) {
160
- case 0:
161
- if (requestParameters['slug'] == null) {
162
- throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling createProject().');
163
- }
164
- if (requestParameters['projectCreateRequest'] == null) {
165
- throw new runtime.RequiredError('projectCreateRequest', 'Required parameter "projectCreateRequest" was null or undefined when calling createProject().');
166
- }
167
- queryParameters = {};
168
- headerParameters = {};
169
- headerParameters['Content-Type'] = 'application/json';
170
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
171
- _a = headerParameters;
172
- _b = "X-API-Key";
173
- return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
174
- case 1:
175
- _a[_b] = _g.sent(); // ApiKeyAuthentication authentication
176
- _g.label = 2;
177
- case 2:
178
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
179
- // oauth required
180
- _c = headerParameters;
181
- _d = "Authorization";
182
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
183
- case 3:
184
- // oauth required
185
- _c[_d] = _g.sent();
186
- _g.label = 4;
187
- case 4:
188
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
189
- // oauth required
190
- _e = headerParameters;
191
- _f = "Authorization";
192
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
193
- case 5:
194
- // oauth required
195
- _e[_f] = _g.sent();
196
- _g.label = 6;
197
- case 6: return [4 /*yield*/, this.request({
198
- path: "/api/v1/workspaces/{slug}/projects/".replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
199
- method: 'POST',
200
- headers: headerParameters,
201
- query: queryParameters,
202
- body: (0, index_1.ProjectCreateRequestToJSON)(requestParameters['projectCreateRequest']),
203
- }, initOverrides)];
204
- case 7:
205
- response = _g.sent();
206
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProjectFromJSON)(jsonValue); })];
207
- }
208
- });
209
- });
210
- };
211
- /**
212
- * Create a new project in the workspace with default states and member assignments.
213
- * Create project
214
- */
215
- ProjectsApi.prototype.createProject = function (requestParameters, initOverrides) {
216
- return __awaiter(this, void 0, void 0, function () {
217
- var response;
218
- return __generator(this, function (_a) {
219
- switch (_a.label) {
220
- case 0: return [4 /*yield*/, this.createProjectRaw(requestParameters, initOverrides)];
221
- case 1:
222
- response = _a.sent();
223
- return [4 /*yield*/, response.value()];
224
- case 2: return [2 /*return*/, _a.sent()];
225
- }
226
- });
227
- });
228
- };
229
- /**
230
- * Permanently remove a project and all its associated data from the workspace.
231
- * Delete project
232
- */
233
- ProjectsApi.prototype.deleteProjectRaw = function (requestParameters, initOverrides) {
234
- return __awaiter(this, void 0, void 0, function () {
235
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
236
- return __generator(this, function (_g) {
237
- switch (_g.label) {
238
- case 0:
239
- if (requestParameters['pk'] == null) {
240
- throw new runtime.RequiredError('pk', 'Required parameter "pk" was null or undefined when calling deleteProject().');
241
- }
242
- if (requestParameters['slug'] == null) {
243
- throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling deleteProject().');
244
- }
245
- queryParameters = {};
246
- headerParameters = {};
247
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
248
- _a = headerParameters;
249
- _b = "X-API-Key";
250
- return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
251
- case 1:
252
- _a[_b] = _g.sent(); // ApiKeyAuthentication authentication
253
- _g.label = 2;
254
- case 2:
255
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
256
- // oauth required
257
- _c = headerParameters;
258
- _d = "Authorization";
259
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
260
- case 3:
261
- // oauth required
262
- _c[_d] = _g.sent();
263
- _g.label = 4;
264
- case 4:
265
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
266
- // oauth required
267
- _e = headerParameters;
268
- _f = "Authorization";
269
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
270
- case 5:
271
- // oauth required
272
- _e[_f] = _g.sent();
273
- _g.label = 6;
274
- case 6: return [4 /*yield*/, this.request({
275
- path: "/api/v1/workspaces/{slug}/projects/{pk}/".replace("{".concat("pk", "}"), encodeURIComponent(String(requestParameters['pk']))).replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
276
- method: 'DELETE',
277
- headers: headerParameters,
278
- query: queryParameters,
279
- }, initOverrides)];
280
- case 7:
281
- response = _g.sent();
282
- return [2 /*return*/, new runtime.VoidApiResponse(response)];
283
- }
284
- });
285
- });
286
- };
287
- /**
288
- * Permanently remove a project and all its associated data from the workspace.
289
- * Delete project
290
- */
291
- ProjectsApi.prototype.deleteProject = function (requestParameters, initOverrides) {
292
- return __awaiter(this, void 0, void 0, function () {
293
- return __generator(this, function (_a) {
294
- switch (_a.label) {
295
- case 0: return [4 /*yield*/, this.deleteProjectRaw(requestParameters, initOverrides)];
296
- case 1:
297
- _a.sent();
298
- return [2 /*return*/];
299
- }
300
- });
301
- });
302
- };
303
- /**
304
- * Retrieve all projects in a workspace or get details of a specific project.
305
- * List or retrieve projects
306
- */
307
- ProjectsApi.prototype.listProjectsRaw = function (requestParameters, initOverrides) {
308
- return __awaiter(this, void 0, void 0, function () {
309
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
310
- return __generator(this, function (_g) {
311
- switch (_g.label) {
312
- case 0:
313
- if (requestParameters['slug'] == null) {
314
- throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling listProjects().');
315
- }
316
- queryParameters = {};
317
- if (requestParameters['cursor'] != null) {
318
- queryParameters['cursor'] = requestParameters['cursor'];
319
- }
320
- if (requestParameters['expand'] != null) {
321
- queryParameters['expand'] = requestParameters['expand'];
322
- }
323
- if (requestParameters['fields'] != null) {
324
- queryParameters['fields'] = requestParameters['fields'];
325
- }
326
- if (requestParameters['orderBy'] != null) {
327
- queryParameters['order_by'] = requestParameters['orderBy'];
328
- }
329
- if (requestParameters['perPage'] != null) {
330
- queryParameters['per_page'] = requestParameters['perPage'];
331
- }
332
- headerParameters = {};
333
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
334
- _a = headerParameters;
335
- _b = "X-API-Key";
336
- return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
337
- case 1:
338
- _a[_b] = _g.sent(); // ApiKeyAuthentication authentication
339
- _g.label = 2;
340
- case 2:
341
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
342
- // oauth required
343
- _c = headerParameters;
344
- _d = "Authorization";
345
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
346
- case 3:
347
- // oauth required
348
- _c[_d] = _g.sent();
349
- _g.label = 4;
350
- case 4:
351
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
352
- // oauth required
353
- _e = headerParameters;
354
- _f = "Authorization";
355
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
356
- case 5:
357
- // oauth required
358
- _e[_f] = _g.sent();
359
- _g.label = 6;
360
- case 6: return [4 /*yield*/, this.request({
361
- path: "/api/v1/workspaces/{slug}/projects/".replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
362
- method: 'GET',
363
- headers: headerParameters,
364
- query: queryParameters,
365
- }, initOverrides)];
366
- case 7:
367
- response = _g.sent();
368
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProjectResponseFromJSON)(jsonValue); })];
369
- }
370
- });
371
- });
372
- };
373
- /**
374
- * Retrieve all projects in a workspace or get details of a specific project.
375
- * List or retrieve projects
376
- */
377
- ProjectsApi.prototype.listProjects = function (requestParameters, initOverrides) {
378
- return __awaiter(this, void 0, void 0, function () {
379
- var response;
380
- return __generator(this, function (_a) {
381
- switch (_a.label) {
382
- case 0: return [4 /*yield*/, this.listProjectsRaw(requestParameters, initOverrides)];
383
- case 1:
384
- response = _a.sent();
385
- return [4 /*yield*/, response.value()];
386
- case 2: return [2 /*return*/, _a.sent()];
387
- }
388
- });
389
- });
390
- };
391
- /**
392
- * Retrieve details of a specific project.
393
- * Retrieve project
394
- */
395
- ProjectsApi.prototype.retrieveProjectRaw = function (requestParameters, initOverrides) {
396
- return __awaiter(this, void 0, void 0, function () {
397
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
398
- return __generator(this, function (_g) {
399
- switch (_g.label) {
400
- case 0:
401
- if (requestParameters['pk'] == null) {
402
- throw new runtime.RequiredError('pk', 'Required parameter "pk" was null or undefined when calling retrieveProject().');
403
- }
404
- if (requestParameters['slug'] == null) {
405
- throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling retrieveProject().');
406
- }
407
- queryParameters = {};
408
- headerParameters = {};
409
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
410
- _a = headerParameters;
411
- _b = "X-API-Key";
412
- return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
413
- case 1:
414
- _a[_b] = _g.sent(); // ApiKeyAuthentication authentication
415
- _g.label = 2;
416
- case 2:
417
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
418
- // oauth required
419
- _c = headerParameters;
420
- _d = "Authorization";
421
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
422
- case 3:
423
- // oauth required
424
- _c[_d] = _g.sent();
425
- _g.label = 4;
426
- case 4:
427
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
428
- // oauth required
429
- _e = headerParameters;
430
- _f = "Authorization";
431
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
432
- case 5:
433
- // oauth required
434
- _e[_f] = _g.sent();
435
- _g.label = 6;
436
- case 6: return [4 /*yield*/, this.request({
437
- path: "/api/v1/workspaces/{slug}/projects/{pk}/".replace("{".concat("pk", "}"), encodeURIComponent(String(requestParameters['pk']))).replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
438
- method: 'GET',
439
- headers: headerParameters,
440
- query: queryParameters,
441
- }, initOverrides)];
442
- case 7:
443
- response = _g.sent();
444
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProjectFromJSON)(jsonValue); })];
445
- }
446
- });
447
- });
448
- };
449
- /**
450
- * Retrieve details of a specific project.
451
- * Retrieve project
452
- */
453
- ProjectsApi.prototype.retrieveProject = function (requestParameters, initOverrides) {
454
- return __awaiter(this, void 0, void 0, function () {
455
- var response;
456
- return __generator(this, function (_a) {
457
- switch (_a.label) {
458
- case 0: return [4 /*yield*/, this.retrieveProjectRaw(requestParameters, initOverrides)];
459
- case 1:
460
- response = _a.sent();
461
- return [4 /*yield*/, response.value()];
462
- case 2: return [2 /*return*/, _a.sent()];
463
- }
464
- });
465
- });
466
- };
467
- /**
468
- * Restore an archived project to active status, making it available in regular workflows.
469
- * Unarchive project
470
- */
471
- ProjectsApi.prototype.unarchiveProjectRaw = function (requestParameters, initOverrides) {
472
- return __awaiter(this, void 0, void 0, function () {
473
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
474
- return __generator(this, function (_g) {
475
- switch (_g.label) {
476
- case 0:
477
- if (requestParameters['projectId'] == null) {
478
- throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling unarchiveProject().');
479
- }
480
- if (requestParameters['slug'] == null) {
481
- throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling unarchiveProject().');
482
- }
483
- queryParameters = {};
484
- headerParameters = {};
485
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
486
- _a = headerParameters;
487
- _b = "X-API-Key";
488
- return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
489
- case 1:
490
- _a[_b] = _g.sent(); // ApiKeyAuthentication authentication
491
- _g.label = 2;
492
- case 2:
493
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
494
- // oauth required
495
- _c = headerParameters;
496
- _d = "Authorization";
497
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
498
- case 3:
499
- // oauth required
500
- _c[_d] = _g.sent();
501
- _g.label = 4;
502
- case 4:
503
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
504
- // oauth required
505
- _e = headerParameters;
506
- _f = "Authorization";
507
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
508
- case 5:
509
- // oauth required
510
- _e[_f] = _g.sent();
511
- _g.label = 6;
512
- case 6: return [4 /*yield*/, this.request({
513
- path: "/api/v1/workspaces/{slug}/projects/{project_id}/archive/".replace("{".concat("project_id", "}"), encodeURIComponent(String(requestParameters['projectId']))).replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
514
- method: 'DELETE',
515
- headers: headerParameters,
516
- query: queryParameters,
517
- }, initOverrides)];
518
- case 7:
519
- response = _g.sent();
520
- return [2 /*return*/, new runtime.VoidApiResponse(response)];
521
- }
522
- });
523
- });
524
- };
525
- /**
526
- * Restore an archived project to active status, making it available in regular workflows.
527
- * Unarchive project
528
- */
529
- ProjectsApi.prototype.unarchiveProject = function (requestParameters, initOverrides) {
530
- return __awaiter(this, void 0, void 0, function () {
531
- return __generator(this, function (_a) {
532
- switch (_a.label) {
533
- case 0: return [4 /*yield*/, this.unarchiveProjectRaw(requestParameters, initOverrides)];
534
- case 1:
535
- _a.sent();
536
- return [2 /*return*/];
537
- }
538
- });
539
- });
540
- };
541
- /**
542
- * Partially update an existing project\'s properties like name, description, or settings.
543
- * Update project
544
- */
545
- ProjectsApi.prototype.updateProjectRaw = function (requestParameters, initOverrides) {
546
- return __awaiter(this, void 0, void 0, function () {
547
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
548
- return __generator(this, function (_g) {
549
- switch (_g.label) {
550
- case 0:
551
- if (requestParameters['pk'] == null) {
552
- throw new runtime.RequiredError('pk', 'Required parameter "pk" was null or undefined when calling updateProject().');
553
- }
554
- if (requestParameters['slug'] == null) {
555
- throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling updateProject().');
556
- }
557
- queryParameters = {};
558
- headerParameters = {};
559
- headerParameters['Content-Type'] = 'application/json';
560
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
561
- _a = headerParameters;
562
- _b = "X-API-Key";
563
- return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
564
- case 1:
565
- _a[_b] = _g.sent(); // ApiKeyAuthentication authentication
566
- _g.label = 2;
567
- case 2:
568
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
569
- // oauth required
570
- _c = headerParameters;
571
- _d = "Authorization";
572
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
573
- case 3:
574
- // oauth required
575
- _c[_d] = _g.sent();
576
- _g.label = 4;
577
- case 4:
578
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
579
- // oauth required
580
- _e = headerParameters;
581
- _f = "Authorization";
582
- return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
583
- case 5:
584
- // oauth required
585
- _e[_f] = _g.sent();
586
- _g.label = 6;
587
- case 6: return [4 /*yield*/, this.request({
588
- path: "/api/v1/workspaces/{slug}/projects/{pk}/".replace("{".concat("pk", "}"), encodeURIComponent(String(requestParameters['pk']))).replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
589
- method: 'PATCH',
590
- headers: headerParameters,
591
- query: queryParameters,
592
- body: (0, index_1.PatchedProjectUpdateRequestToJSON)(requestParameters['patchedProjectUpdateRequest']),
593
- }, initOverrides)];
594
- case 7:
595
- response = _g.sent();
596
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProjectFromJSON)(jsonValue); })];
597
- }
598
- });
599
- });
600
- };
601
- /**
602
- * Partially update an existing project\'s properties like name, description, or settings.
603
- * Update project
604
- */
605
- ProjectsApi.prototype.updateProject = function (requestParameters, initOverrides) {
606
- return __awaiter(this, void 0, void 0, function () {
607
- var response;
608
- return __generator(this, function (_a) {
609
- switch (_a.label) {
610
- case 0: return [4 /*yield*/, this.updateProjectRaw(requestParameters, initOverrides)];
611
- case 1:
612
- response = _a.sent();
613
- return [4 /*yield*/, response.value()];
614
- case 2: return [2 /*return*/, _a.sent()];
615
- }
616
- });
617
- });
618
- };
619
- return ProjectsApi;
620
- }(runtime.BaseAPI));
621
- exports.ProjectsApi = ProjectsApi;