@makeplane/plane-node-sdk 0.1.5 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (606) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +117 -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 +179 -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/Intake.d.ts +32 -0
  32. package/dist/api/Intake.d.ts.map +1 -0
  33. package/dist/api/Intake.js +45 -0
  34. package/dist/api/Intake.js.map +1 -0
  35. package/dist/api/Labels.d.ts +58 -0
  36. package/dist/api/Labels.d.ts.map +1 -0
  37. package/dist/api/Labels.js +45 -0
  38. package/dist/api/Labels.js.map +1 -0
  39. package/dist/api/Links.d.ts +32 -0
  40. package/dist/api/Links.d.ts.map +1 -0
  41. package/dist/api/Links.js +45 -0
  42. package/dist/api/Links.js.map +1 -0
  43. package/dist/api/Members.d.ts +56 -0
  44. package/dist/api/Members.d.ts.map +1 -0
  45. package/dist/api/Members.js +45 -0
  46. package/dist/api/Members.js.map +1 -0
  47. package/dist/api/Modules.d.ts +57 -0
  48. package/dist/api/Modules.d.ts.map +1 -0
  49. package/dist/api/Modules.js +83 -0
  50. package/dist/api/Modules.js.map +1 -0
  51. package/dist/api/Pages.d.ts +35 -0
  52. package/dist/api/Pages.d.ts.map +1 -0
  53. package/dist/api/Pages.js +53 -0
  54. package/dist/api/Pages.js.map +1 -0
  55. package/dist/api/Projects.d.ts +41 -0
  56. package/dist/api/Projects.d.ts.map +1 -0
  57. package/dist/api/Projects.js +60 -0
  58. package/dist/api/Projects.js.map +1 -0
  59. package/dist/api/States.d.ts +32 -0
  60. package/dist/api/States.d.ts.map +1 -0
  61. package/dist/api/States.js +45 -0
  62. package/dist/api/States.js.map +1 -0
  63. package/dist/api/Users.d.ts +15 -0
  64. package/dist/api/Users.d.ts.map +1 -0
  65. package/dist/api/Users.js +21 -0
  66. package/dist/api/Users.js.map +1 -0
  67. package/dist/api/WorkItemProperties/Options.d.ts +31 -0
  68. package/dist/api/WorkItemProperties/Options.d.ts.map +1 -0
  69. package/dist/api/WorkItemProperties/Options.js +45 -0
  70. package/dist/api/WorkItemProperties/Options.js.map +1 -0
  71. package/dist/api/WorkItemProperties/Values.d.ts +23 -0
  72. package/dist/api/WorkItemProperties/Values.d.ts.map +1 -0
  73. package/dist/api/WorkItemProperties/Values.js +34 -0
  74. package/dist/api/WorkItemProperties/Values.js.map +1 -0
  75. package/dist/api/WorkItemProperties/index.d.ts +35 -0
  76. package/dist/api/WorkItemProperties/index.d.ts.map +1 -0
  77. package/dist/api/WorkItemProperties/index.js +49 -0
  78. package/dist/api/WorkItemProperties/index.js.map +1 -0
  79. package/dist/api/WorkItemTypes.d.ts +36 -0
  80. package/dist/api/WorkItemTypes.d.ts.map +1 -0
  81. package/dist/api/WorkItemTypes.js +45 -0
  82. package/dist/api/WorkItemTypes.js.map +1 -0
  83. package/dist/api/WorkItems/Activities.d.ts +20 -0
  84. package/dist/api/WorkItems/Activities.d.ts.map +1 -0
  85. package/dist/api/WorkItems/Activities.js +27 -0
  86. package/dist/api/WorkItems/Activities.js.map +1 -0
  87. package/dist/api/WorkItems/Attachments.d.ts +31 -0
  88. package/dist/api/WorkItems/Attachments.d.ts.map +1 -0
  89. package/dist/api/WorkItems/Attachments.js +45 -0
  90. package/dist/api/WorkItems/Attachments.js.map +1 -0
  91. package/dist/api/WorkItems/Comments.d.ts +32 -0
  92. package/dist/api/WorkItems/Comments.d.ts.map +1 -0
  93. package/dist/api/WorkItems/Comments.js +45 -0
  94. package/dist/api/WorkItems/Comments.js.map +1 -0
  95. package/dist/api/WorkItems/Relations.d.ts +23 -0
  96. package/dist/api/WorkItems/Relations.d.ts.map +1 -0
  97. package/dist/api/WorkItems/Relations.js +33 -0
  98. package/dist/api/WorkItems/Relations.js.map +1 -0
  99. package/dist/api/WorkItems/WorkLogs.d.ts +27 -0
  100. package/dist/api/WorkItems/WorkLogs.d.ts.map +1 -0
  101. package/dist/api/WorkItems/WorkLogs.js +39 -0
  102. package/dist/api/WorkItems/WorkLogs.js.map +1 -0
  103. package/dist/api/WorkItems/index.d.ts +48 -0
  104. package/dist/api/WorkItems/index.d.ts.map +1 -0
  105. package/dist/api/WorkItems/index.js +75 -0
  106. package/dist/api/WorkItems/index.js.map +1 -0
  107. package/dist/api/Workspace.d.ts +15 -0
  108. package/dist/api/Workspace.d.ts.map +1 -0
  109. package/dist/api/Workspace.js +21 -0
  110. package/dist/api/Workspace.js.map +1 -0
  111. package/dist/client/index.d.ts +4 -0
  112. package/dist/client/index.d.ts.map +1 -0
  113. package/dist/client/index.js +8 -0
  114. package/dist/client/index.js.map +1 -0
  115. package/dist/{oauth/api.d.ts → client/oauth-client.d.ts} +7 -5
  116. package/dist/client/oauth-client.d.ts.map +1 -0
  117. package/dist/client/oauth-client.js +129 -0
  118. package/dist/client/oauth-client.js.map +1 -0
  119. package/dist/client/plane-client.d.ts +47 -0
  120. package/dist/client/plane-client.d.ts.map +1 -0
  121. package/dist/client/plane-client.js +55 -0
  122. package/dist/client/plane-client.js.map +1 -0
  123. package/dist/errors/HttpError.d.ts +8 -0
  124. package/dist/errors/HttpError.d.ts.map +1 -0
  125. package/dist/errors/HttpError.js +15 -0
  126. package/dist/errors/HttpError.js.map +1 -0
  127. package/dist/errors/PlaneError.d.ts +9 -0
  128. package/dist/errors/PlaneError.d.ts.map +1 -0
  129. package/dist/errors/PlaneError.js +16 -0
  130. package/dist/errors/PlaneError.js.map +1 -0
  131. package/dist/errors/index.d.ts +3 -0
  132. package/dist/errors/index.d.ts.map +1 -0
  133. package/dist/errors/index.js +8 -0
  134. package/dist/errors/index.js.map +1 -0
  135. package/dist/index.d.ts +31 -4
  136. package/dist/index.d.ts.map +1 -0
  137. package/dist/index.js +67 -5
  138. package/dist/index.js.map +1 -0
  139. package/dist/models/Attachment.d.ts +46 -0
  140. package/dist/models/Attachment.d.ts.map +1 -0
  141. package/dist/models/Attachment.js +7 -0
  142. package/dist/models/Attachment.js.map +1 -0
  143. package/dist/models/Comment.d.ts +43 -0
  144. package/dist/models/Comment.d.ts.map +1 -0
  145. package/dist/models/Comment.js +3 -0
  146. package/dist/models/Comment.js.map +1 -0
  147. package/dist/models/Customer.d.ts +136 -0
  148. package/dist/models/Customer.d.ts.map +1 -0
  149. package/dist/models/Customer.js +3 -0
  150. package/dist/models/Customer.js.map +1 -0
  151. package/dist/models/Cycle.d.ts +59 -210
  152. package/dist/models/Cycle.d.ts.map +1 -0
  153. package/dist/models/Cycle.js +1 -91
  154. package/dist/models/Cycle.js.map +1 -0
  155. package/dist/models/Epic.d.ts +28 -200
  156. package/dist/models/Epic.d.ts.map +1 -0
  157. package/dist/models/Epic.js +1 -104
  158. package/dist/models/Epic.js.map +1 -0
  159. package/dist/models/Intake.d.ts +48 -0
  160. package/dist/models/Intake.d.ts.map +1 -0
  161. package/dist/models/Intake.js +3 -0
  162. package/dist/models/Intake.js.map +1 -0
  163. package/dist/models/Label.d.ts +13 -113
  164. package/dist/models/Label.d.ts.map +1 -0
  165. package/dist/models/Label.js +1 -68
  166. package/dist/models/Label.js.map +1 -0
  167. package/dist/models/Link.d.ts +25 -0
  168. package/dist/models/Link.d.ts.map +1 -0
  169. package/dist/{oauth/models.js → models/Link.js} +1 -0
  170. package/dist/models/Link.js.map +1 -0
  171. package/dist/models/Module.d.ts +55 -193
  172. package/dist/models/Module.d.ts.map +1 -0
  173. package/dist/models/Module.js +1 -89
  174. package/dist/models/Module.js.map +1 -0
  175. package/dist/{oauth/models.d.ts → models/OAuth.d.ts} +1 -0
  176. package/dist/models/OAuth.d.ts.map +1 -0
  177. package/dist/models/OAuth.js +3 -0
  178. package/dist/models/OAuth.js.map +1 -0
  179. package/dist/models/Page.d.ts +14 -0
  180. package/dist/models/Page.d.ts.map +1 -0
  181. package/dist/models/Page.js +3 -0
  182. package/dist/models/Page.js.map +1 -0
  183. package/dist/models/Project.d.ts +42 -290
  184. package/dist/models/Project.d.ts.map +1 -0
  185. package/dist/models/Project.js +1 -122
  186. package/dist/models/Project.js.map +1 -0
  187. package/dist/models/State.d.ts +34 -124
  188. package/dist/models/State.d.ts.map +1 -0
  189. package/dist/models/State.js +2 -73
  190. package/dist/models/State.js.map +1 -0
  191. package/dist/models/User.d.ts +10 -0
  192. package/dist/models/User.d.ts.map +1 -0
  193. package/dist/models/User.js +3 -0
  194. package/dist/models/User.js.map +1 -0
  195. package/dist/models/WorkItem.d.ts +111 -0
  196. package/dist/models/WorkItem.d.ts.map +1 -0
  197. package/dist/models/WorkItem.js +3 -0
  198. package/dist/models/WorkItem.js.map +1 -0
  199. package/dist/models/WorkItemProperty.d.ts +123 -0
  200. package/dist/models/WorkItemProperty.d.ts.map +1 -0
  201. package/dist/models/WorkItemProperty.js +3 -0
  202. package/dist/models/WorkItemProperty.js.map +1 -0
  203. package/dist/models/WorkItemRelation.d.ts +34 -0
  204. package/dist/models/WorkItemRelation.d.ts.map +1 -0
  205. package/dist/models/WorkItemRelation.js +3 -0
  206. package/dist/models/WorkItemRelation.js.map +1 -0
  207. package/dist/models/WorkItemType.d.ts +18 -0
  208. package/dist/models/WorkItemType.d.ts.map +1 -0
  209. package/dist/models/WorkItemType.js +3 -0
  210. package/dist/models/WorkItemType.js.map +1 -0
  211. package/dist/models/WorkLog.d.ts +23 -0
  212. package/dist/models/WorkLog.d.ts.map +1 -0
  213. package/dist/models/WorkLog.js +3 -0
  214. package/dist/models/WorkLog.js.map +1 -0
  215. package/dist/models/common.d.ts +63 -0
  216. package/dist/models/common.d.ts.map +1 -0
  217. package/dist/models/common.js +6 -0
  218. package/dist/models/common.js.map +1 -0
  219. package/dist/models/index.d.ts +11 -106
  220. package/dist/models/index.d.ts.map +1 -0
  221. package/dist/models/index.js +9 -105
  222. package/dist/models/index.js.map +1 -0
  223. package/package.json +49 -14
  224. package/.github/workflows/publish-node-sdk.yml +0 -42
  225. package/.openapi-generator/FILES +0 -138
  226. package/.openapi-generator/VERSION +0 -1
  227. package/.openapi-generator-ignore +0 -23
  228. package/dist/apis/AssetsApi.d.ts +0 -100
  229. package/dist/apis/AssetsApi.js +0 -522
  230. package/dist/apis/CyclesApi.d.ts +0 -225
  231. package/dist/apis/CyclesApi.js +0 -1142
  232. package/dist/apis/EpicsApi.d.ts +0 -49
  233. package/dist/apis/EpicsApi.js +0 -243
  234. package/dist/apis/IntakeApi.d.ts +0 -96
  235. package/dist/apis/IntakeApi.js +0 -485
  236. package/dist/apis/LabelsApi.d.ts +0 -97
  237. package/dist/apis/LabelsApi.js +0 -488
  238. package/dist/apis/MembersApi.d.ts +0 -44
  239. package/dist/apis/MembersApi.js +0 -228
  240. package/dist/apis/ModulesApi.d.ts +0 -198
  241. package/dist/apis/ModulesApi.js +0 -991
  242. package/dist/apis/PagesApi.d.ts +0 -75
  243. package/dist/apis/PagesApi.js +0 -393
  244. package/dist/apis/ProjectsApi.d.ts +0 -120
  245. package/dist/apis/ProjectsApi.js +0 -621
  246. package/dist/apis/StatesApi.d.ts +0 -96
  247. package/dist/apis/StatesApi.js +0 -485
  248. package/dist/apis/UsersApi.d.ts +0 -27
  249. package/dist/apis/UsersApi.js +0 -149
  250. package/dist/apis/WorkItemActivityApi.d.ts +0 -58
  251. package/dist/apis/WorkItemActivityApi.js +0 -270
  252. package/dist/apis/WorkItemAttachmentsApi.d.ts +0 -97
  253. package/dist/apis/WorkItemAttachmentsApi.js +0 -482
  254. package/dist/apis/WorkItemCommentsApi.d.ts +0 -102
  255. package/dist/apis/WorkItemCommentsApi.js +0 -500
  256. package/dist/apis/WorkItemLinksApi.d.ts +0 -106
  257. package/dist/apis/WorkItemLinksApi.js +0 -515
  258. package/dist/apis/WorkItemPropertiesApi.d.ts +0 -226
  259. package/dist/apis/WorkItemPropertiesApi.js +0 -1148
  260. package/dist/apis/WorkItemTypesApi.d.ts +0 -92
  261. package/dist/apis/WorkItemTypesApi.js +0 -473
  262. package/dist/apis/WorkItemWorklogsApi.d.ts +0 -95
  263. package/dist/apis/WorkItemWorklogsApi.js +0 -479
  264. package/dist/apis/WorkItemsApi.d.ts +0 -186
  265. package/dist/apis/WorkItemsApi.js +0 -934
  266. package/dist/apis/WorkspacesApi.d.ts +0 -28
  267. package/dist/apis/WorkspacesApi.js +0 -150
  268. package/dist/apis/index.d.ts +0 -20
  269. package/dist/apis/index.js +0 -37
  270. package/dist/models/AccessBd4Enum.d.ts +0 -25
  271. package/dist/models/AccessBd4Enum.js +0 -51
  272. package/dist/models/CycleCreateRequest.d.ts +0 -77
  273. package/dist/models/CycleCreateRequest.js +0 -67
  274. package/dist/models/CycleIssue.d.ts +0 -94
  275. package/dist/models/CycleIssue.js +0 -65
  276. package/dist/models/CycleIssueRequestRequest.d.ts +0 -34
  277. package/dist/models/CycleIssueRequestRequest.js +0 -50
  278. package/dist/models/CycleLite.d.ts +0 -161
  279. package/dist/models/CycleLite.js +0 -96
  280. package/dist/models/EntityTypeEnum.d.ts +0 -25
  281. package/dist/models/EntityTypeEnum.js +0 -51
  282. package/dist/models/GenericAssetUploadRequest.d.ts +0 -65
  283. package/dist/models/GenericAssetUploadRequest.js +0 -62
  284. package/dist/models/GetWorkspaceMembers200ResponseInner.d.ts +0 -73
  285. package/dist/models/GetWorkspaceMembers200ResponseInner.js +0 -55
  286. package/dist/models/GroupEnum.d.ts +0 -33
  287. package/dist/models/GroupEnum.js +0 -59
  288. package/dist/models/IntakeIssue.d.ts +0 -150
  289. package/dist/models/IntakeIssue.js +0 -80
  290. package/dist/models/IntakeIssueCreateRequest.d.ts +0 -72
  291. package/dist/models/IntakeIssueCreateRequest.js +0 -66
  292. package/dist/models/IntakeWorkItemStatusEnum.d.ts +0 -31
  293. package/dist/models/IntakeWorkItemStatusEnum.js +0 -57
  294. package/dist/models/Issue.d.ts +0 -197
  295. package/dist/models/Issue.js +0 -98
  296. package/dist/models/IssueActivity.d.ts +0 -136
  297. package/dist/models/IssueActivity.js +0 -83
  298. package/dist/models/IssueAttachment.d.ts +0 -172
  299. package/dist/models/IssueAttachment.js +0 -89
  300. package/dist/models/IssueAttachmentUploadRequest.d.ts +0 -58
  301. package/dist/models/IssueAttachmentUploadRequest.js +0 -60
  302. package/dist/models/IssueComment.d.ts +0 -137
  303. package/dist/models/IssueComment.js +0 -74
  304. package/dist/models/IssueCommentCreateRequest.d.ts +0 -59
  305. package/dist/models/IssueCommentCreateRequest.js +0 -57
  306. package/dist/models/IssueDetail.d.ts +0 -211
  307. package/dist/models/IssueDetail.js +0 -108
  308. package/dist/models/IssueExpand.d.ts +0 -224
  309. package/dist/models/IssueExpand.js +0 -103
  310. package/dist/models/IssueForIntakeRequest.d.ts +0 -53
  311. package/dist/models/IssueForIntakeRequest.js +0 -57
  312. package/dist/models/IssueLink.d.ts +0 -100
  313. package/dist/models/IssueLink.js +0 -64
  314. package/dist/models/IssueLinkCreateRequest.d.ts +0 -34
  315. package/dist/models/IssueLinkCreateRequest.js +0 -50
  316. package/dist/models/IssuePropertyAPI.d.ts +0 -171
  317. package/dist/models/IssuePropertyAPI.js +0 -88
  318. package/dist/models/IssuePropertyAPIRelationTypeEnum.d.ts +0 -25
  319. package/dist/models/IssuePropertyAPIRelationTypeEnum.js +0 -51
  320. package/dist/models/IssuePropertyAPIRequest.d.ts +0 -99
  321. package/dist/models/IssuePropertyAPIRequest.js +0 -76
  322. package/dist/models/IssuePropertyOptionAPI.d.ts +0 -133
  323. package/dist/models/IssuePropertyOptionAPI.js +0 -73
  324. package/dist/models/IssuePropertyOptionAPIRequest.d.ts +0 -67
  325. package/dist/models/IssuePropertyOptionAPIRequest.js +0 -62
  326. package/dist/models/IssuePropertyValueAPI.d.ts +0 -133
  327. package/dist/models/IssuePropertyValueAPI.js +0 -78
  328. package/dist/models/IssuePropertyValueAPIDetail.d.ts +0 -39
  329. package/dist/models/IssuePropertyValueAPIDetail.js +0 -54
  330. package/dist/models/IssuePropertyValueAPIRequest.d.ts +0 -85
  331. package/dist/models/IssuePropertyValueAPIRequest.js +0 -70
  332. package/dist/models/IssueRelation.d.ts +0 -106
  333. package/dist/models/IssueRelation.js +0 -58
  334. package/dist/models/IssueRelationCreateRelationTypeEnum.d.ts +0 -37
  335. package/dist/models/IssueRelationCreateRelationTypeEnum.js +0 -63
  336. package/dist/models/IssueRelationCreateRequest.d.ts +0 -50
  337. package/dist/models/IssueRelationCreateRequest.js +0 -55
  338. package/dist/models/IssueRelationRemoveRequest.d.ts +0 -34
  339. package/dist/models/IssueRelationRemoveRequest.js +0 -50
  340. package/dist/models/IssueRelationResponse.d.ts +0 -75
  341. package/dist/models/IssueRelationResponse.js +0 -78
  342. package/dist/models/IssueRequest.d.ts +0 -167
  343. package/dist/models/IssueRequest.js +0 -95
  344. package/dist/models/IssueSearch.d.ts +0 -34
  345. package/dist/models/IssueSearch.js +0 -51
  346. package/dist/models/IssueSearchItem.d.ts +0 -64
  347. package/dist/models/IssueSearchItem.js +0 -70
  348. package/dist/models/IssueTypeAPI.d.ts +0 -127
  349. package/dist/models/IssueTypeAPI.js +0 -72
  350. package/dist/models/IssueTypeAPIRequest.d.ts +0 -67
  351. package/dist/models/IssueTypeAPIRequest.js +0 -62
  352. package/dist/models/IssueWorkLogAPI.d.ts +0 -85
  353. package/dist/models/IssueWorkLogAPI.js +0 -60
  354. package/dist/models/IssueWorkLogAPIRequest.d.ts +0 -49
  355. package/dist/models/IssueWorkLogAPIRequest.js +0 -54
  356. package/dist/models/LabelCreateUpdateRequest.d.ts +0 -70
  357. package/dist/models/LabelCreateUpdateRequest.js +0 -62
  358. package/dist/models/ModuleCreateRequest.d.ts +0 -83
  359. package/dist/models/ModuleCreateRequest.js +0 -67
  360. package/dist/models/ModuleIssue.d.ts +0 -94
  361. package/dist/models/ModuleIssue.js +0 -63
  362. package/dist/models/ModuleIssueRequestRequest.d.ts +0 -34
  363. package/dist/models/ModuleIssueRequestRequest.js +0 -50
  364. package/dist/models/ModuleLite.d.ts +0 -167
  365. package/dist/models/ModuleLite.js +0 -97
  366. package/dist/models/ModuleStatusEnum.d.ts +0 -33
  367. package/dist/models/ModuleStatusEnum.js +0 -59
  368. package/dist/models/NetworkEnum.d.ts +0 -25
  369. package/dist/models/NetworkEnum.js +0 -51
  370. package/dist/models/PageCreateAPI.d.ts +0 -134
  371. package/dist/models/PageCreateAPI.js +0 -79
  372. package/dist/models/PageCreateAPIAccessEnum.d.ts +0 -25
  373. package/dist/models/PageCreateAPIAccessEnum.js +0 -51
  374. package/dist/models/PageCreateAPIRequest.d.ts +0 -86
  375. package/dist/models/PageCreateAPIRequest.js +0 -71
  376. package/dist/models/PageDetailAPI.d.ts +0 -79
  377. package/dist/models/PageDetailAPI.js +0 -57
  378. package/dist/models/PaginatedArchivedCycleResponse.d.ts +0 -98
  379. package/dist/models/PaginatedArchivedCycleResponse.js +0 -95
  380. package/dist/models/PaginatedArchivedModuleResponse.d.ts +0 -98
  381. package/dist/models/PaginatedArchivedModuleResponse.js +0 -95
  382. package/dist/models/PaginatedCycleIssueResponse.d.ts +0 -98
  383. package/dist/models/PaginatedCycleIssueResponse.js +0 -95
  384. package/dist/models/PaginatedCycleResponse.d.ts +0 -98
  385. package/dist/models/PaginatedCycleResponse.js +0 -95
  386. package/dist/models/PaginatedEpicResponse.d.ts +0 -98
  387. package/dist/models/PaginatedEpicResponse.js +0 -95
  388. package/dist/models/PaginatedIntakeIssueResponse.d.ts +0 -98
  389. package/dist/models/PaginatedIntakeIssueResponse.js +0 -95
  390. package/dist/models/PaginatedIssueActivityDetailResponse.d.ts +0 -98
  391. package/dist/models/PaginatedIssueActivityDetailResponse.js +0 -95
  392. package/dist/models/PaginatedIssueActivityResponse.d.ts +0 -98
  393. package/dist/models/PaginatedIssueActivityResponse.js +0 -95
  394. package/dist/models/PaginatedIssueCommentResponse.d.ts +0 -98
  395. package/dist/models/PaginatedIssueCommentResponse.js +0 -95
  396. package/dist/models/PaginatedIssueLinkDetailResponse.d.ts +0 -98
  397. package/dist/models/PaginatedIssueLinkDetailResponse.js +0 -95
  398. package/dist/models/PaginatedIssueLinkResponse.d.ts +0 -98
  399. package/dist/models/PaginatedIssueLinkResponse.js +0 -95
  400. package/dist/models/PaginatedLabelResponse.d.ts +0 -98
  401. package/dist/models/PaginatedLabelResponse.js +0 -95
  402. package/dist/models/PaginatedModuleIssueResponse.d.ts +0 -98
  403. package/dist/models/PaginatedModuleIssueResponse.js +0 -95
  404. package/dist/models/PaginatedModuleResponse.d.ts +0 -98
  405. package/dist/models/PaginatedModuleResponse.js +0 -95
  406. package/dist/models/PaginatedProjectResponse.d.ts +0 -98
  407. package/dist/models/PaginatedProjectResponse.js +0 -95
  408. package/dist/models/PaginatedStateResponse.d.ts +0 -98
  409. package/dist/models/PaginatedStateResponse.js +0 -95
  410. package/dist/models/PaginatedWorkItemResponse.d.ts +0 -98
  411. package/dist/models/PaginatedWorkItemResponse.js +0 -95
  412. package/dist/models/PatchedAssetUpdateRequest.d.ts +0 -34
  413. package/dist/models/PatchedAssetUpdateRequest.js +0 -48
  414. package/dist/models/PatchedCycleUpdateRequest.d.ts +0 -77
  415. package/dist/models/PatchedCycleUpdateRequest.js +0 -63
  416. package/dist/models/PatchedGenericAssetUpdateRequest.d.ts +0 -34
  417. package/dist/models/PatchedGenericAssetUpdateRequest.js +0 -48
  418. package/dist/models/PatchedIntakeIssueUpdateRequest.d.ts +0 -66
  419. package/dist/models/PatchedIntakeIssueUpdateRequest.js +0 -60
  420. package/dist/models/PatchedIssueCommentCreateRequest.d.ts +0 -59
  421. package/dist/models/PatchedIssueCommentCreateRequest.js +0 -57
  422. package/dist/models/PatchedIssueLinkUpdateRequest.d.ts +0 -34
  423. package/dist/models/PatchedIssueLinkUpdateRequest.js +0 -48
  424. package/dist/models/PatchedIssuePropertyAPIRequest.d.ts +0 -99
  425. package/dist/models/PatchedIssuePropertyAPIRequest.js +0 -72
  426. package/dist/models/PatchedIssuePropertyOptionAPIRequest.d.ts +0 -67
  427. package/dist/models/PatchedIssuePropertyOptionAPIRequest.js +0 -60
  428. package/dist/models/PatchedIssueRequest.d.ts +0 -167
  429. package/dist/models/PatchedIssueRequest.js +0 -93
  430. package/dist/models/PatchedIssueTypeAPIRequest.d.ts +0 -67
  431. package/dist/models/PatchedIssueTypeAPIRequest.js +0 -60
  432. package/dist/models/PatchedIssueWorkLogAPIRequest.d.ts +0 -49
  433. package/dist/models/PatchedIssueWorkLogAPIRequest.js +0 -54
  434. package/dist/models/PatchedLabelCreateUpdateRequest.d.ts +0 -70
  435. package/dist/models/PatchedLabelCreateUpdateRequest.js +0 -60
  436. package/dist/models/PatchedModuleUpdateRequest.d.ts +0 -83
  437. package/dist/models/PatchedModuleUpdateRequest.js +0 -65
  438. package/dist/models/PatchedProjectUpdateRequest.d.ts +0 -167
  439. package/dist/models/PatchedProjectUpdateRequest.js +0 -93
  440. package/dist/models/PatchedStateRequest.d.ts +0 -83
  441. package/dist/models/PatchedStateRequest.js +0 -65
  442. package/dist/models/PriorityEnum.d.ts +0 -31
  443. package/dist/models/PriorityEnum.js +0 -57
  444. package/dist/models/ProjectCreateRequest.d.ts +0 -155
  445. package/dist/models/ProjectCreateRequest.js +0 -93
  446. package/dist/models/ProjectWorklogSummary.d.ts +0 -37
  447. package/dist/models/ProjectWorklogSummary.js +0 -54
  448. package/dist/models/PropertyTypeEnum.d.ts +0 -39
  449. package/dist/models/PropertyTypeEnum.js +0 -65
  450. package/dist/models/RetrieveWorkItemAttachment400Response.d.ts +0 -37
  451. package/dist/models/RetrieveWorkItemAttachment400Response.js +0 -50
  452. package/dist/models/StateLite.d.ts +0 -53
  453. package/dist/models/StateLite.js +0 -50
  454. package/dist/models/StateRequest.d.ts +0 -83
  455. package/dist/models/StateRequest.js +0 -69
  456. package/dist/models/TimezoneEnum.d.ts +0 -887
  457. package/dist/models/TimezoneEnum.js +0 -913
  458. package/dist/models/TransferCycleIssueRequestRequest.d.ts +0 -34
  459. package/dist/models/TransferCycleIssueRequestRequest.js +0 -50
  460. package/dist/models/TransferCycleWorkItems200Response.d.ts +0 -31
  461. package/dist/models/TransferCycleWorkItems200Response.js +0 -48
  462. package/dist/models/TransferCycleWorkItems400Response.d.ts +0 -31
  463. package/dist/models/TransferCycleWorkItems400Response.js +0 -48
  464. package/dist/models/TypeEnum.d.ts +0 -31
  465. package/dist/models/TypeEnum.js +0 -57
  466. package/dist/models/UserAssetUploadRequest.d.ts +0 -64
  467. package/dist/models/UserAssetUploadRequest.js +0 -62
  468. package/dist/models/UserLite.d.ts +0 -70
  469. package/dist/models/UserLite.js +0 -52
  470. package/dist/oauth/api.js +0 -243
  471. package/dist/runtime.d.ts +0 -183
  472. package/dist/runtime.js +0 -563
  473. package/eslint.config.mjs +0 -11
  474. package/src/apis/AssetsApi.ts +0 -388
  475. package/src/apis/CyclesApi.ts +0 -1031
  476. package/src/apis/EpicsApi.ts +0 -177
  477. package/src/apis/IntakeApi.ts +0 -401
  478. package/src/apis/LabelsApi.ts +0 -406
  479. package/src/apis/MembersApi.ts +0 -146
  480. package/src/apis/ModulesApi.ts +0 -890
  481. package/src/apis/PagesApi.ts +0 -301
  482. package/src/apis/ProjectsApi.ts +0 -486
  483. package/src/apis/StatesApi.ts +0 -401
  484. package/src/apis/UsersApi.ts +0 -71
  485. package/src/apis/WorkItemActivityApi.ts +0 -228
  486. package/src/apis/WorkItemAttachmentsApi.ts +0 -415
  487. package/src/apis/WorkItemCommentsApi.ts +0 -439
  488. package/src/apis/WorkItemLinksApi.ts +0 -469
  489. package/src/apis/WorkItemPropertiesApi.ts +0 -1061
  490. package/src/apis/WorkItemTypesApi.ts +0 -378
  491. package/src/apis/WorkItemWorklogsApi.ts +0 -398
  492. package/src/apis/WorkItemsApi.ts +0 -859
  493. package/src/apis/WorkspacesApi.ts +0 -80
  494. package/src/apis/index.ts +0 -22
  495. package/src/index.ts +0 -6
  496. package/src/models/AccessBd4Enum.ts +0 -53
  497. package/src/models/Cycle.ts +0 -300
  498. package/src/models/CycleCreateRequest.ts +0 -135
  499. package/src/models/CycleIssue.ts +0 -142
  500. package/src/models/CycleIssueRequestRequest.ts +0 -68
  501. package/src/models/CycleLite.ts +0 -246
  502. package/src/models/EntityTypeEnum.ts +0 -53
  503. package/src/models/Epic.ts +0 -302
  504. package/src/models/GenericAssetUploadRequest.ts +0 -110
  505. package/src/models/GetWorkspaceMembers200ResponseInner.ts +0 -113
  506. package/src/models/GroupEnum.ts +0 -61
  507. package/src/models/IntakeIssue.ts +0 -227
  508. package/src/models/IntakeIssueCreateRequest.ts +0 -134
  509. package/src/models/IntakeWorkItemStatusEnum.ts +0 -59
  510. package/src/models/Issue.ts +0 -287
  511. package/src/models/IssueActivity.ts +0 -202
  512. package/src/models/IssueAttachment.ts +0 -245
  513. package/src/models/IssueAttachmentUploadRequest.ts +0 -101
  514. package/src/models/IssueComment.ts +0 -204
  515. package/src/models/IssueCommentCreateRequest.ts +0 -109
  516. package/src/models/IssueDetail.ts +0 -319
  517. package/src/models/IssueExpand.ts +0 -334
  518. package/src/models/IssueForIntakeRequest.ts +0 -102
  519. package/src/models/IssueLink.ts +0 -148
  520. package/src/models/IssueLinkCreateRequest.ts +0 -68
  521. package/src/models/IssuePropertyAPI.ts +0 -255
  522. package/src/models/IssuePropertyAPIRelationTypeEnum.ts +0 -53
  523. package/src/models/IssuePropertyAPIRequest.ts +0 -171
  524. package/src/models/IssuePropertyOptionAPI.ts +0 -190
  525. package/src/models/IssuePropertyOptionAPIRequest.ts +0 -113
  526. package/src/models/IssuePropertyValueAPI.ts +0 -194
  527. package/src/models/IssuePropertyValueAPIDetail.ts +0 -76
  528. package/src/models/IssuePropertyValueAPIRequest.ts +0 -138
  529. package/src/models/IssueRelation.ts +0 -150
  530. package/src/models/IssueRelationCreateRelationTypeEnum.ts +0 -65
  531. package/src/models/IssueRelationCreateRequest.ts +0 -96
  532. package/src/models/IssueRelationRemoveRequest.ts +0 -68
  533. package/src/models/IssueRelationResponse.ts +0 -130
  534. package/src/models/IssueRequest.ts +0 -254
  535. package/src/models/IssueSearch.ts +0 -75
  536. package/src/models/IssueSearchItem.ts +0 -113
  537. package/src/models/IssueTypeAPI.ts +0 -183
  538. package/src/models/IssueTypeAPIRequest.ts +0 -113
  539. package/src/models/IssueWorkLogAPI.ts +0 -130
  540. package/src/models/IssueWorkLogAPIRequest.ts +0 -88
  541. package/src/models/Label.ts +0 -172
  542. package/src/models/LabelCreateUpdateRequest.ts +0 -116
  543. package/src/models/Module.ts +0 -280
  544. package/src/models/ModuleCreateRequest.ts +0 -142
  545. package/src/models/ModuleIssue.ts +0 -140
  546. package/src/models/ModuleIssueRequestRequest.ts +0 -68
  547. package/src/models/ModuleLite.ts +0 -253
  548. package/src/models/ModuleStatusEnum.ts +0 -61
  549. package/src/models/NetworkEnum.ts +0 -53
  550. package/src/models/PageCreateAPI.ts +0 -204
  551. package/src/models/PageCreateAPIAccessEnum.ts +0 -53
  552. package/src/models/PageCreateAPIRequest.ts +0 -148
  553. package/src/models/PageDetailAPI.ts +0 -121
  554. package/src/models/PaginatedArchivedCycleResponse.ts +0 -172
  555. package/src/models/PaginatedArchivedModuleResponse.ts +0 -172
  556. package/src/models/PaginatedCycleIssueResponse.ts +0 -172
  557. package/src/models/PaginatedCycleResponse.ts +0 -172
  558. package/src/models/PaginatedEpicResponse.ts +0 -172
  559. package/src/models/PaginatedIntakeIssueResponse.ts +0 -172
  560. package/src/models/PaginatedIssueActivityDetailResponse.ts +0 -172
  561. package/src/models/PaginatedIssueActivityResponse.ts +0 -172
  562. package/src/models/PaginatedIssueCommentResponse.ts +0 -172
  563. package/src/models/PaginatedIssueLinkDetailResponse.ts +0 -172
  564. package/src/models/PaginatedIssueLinkResponse.ts +0 -172
  565. package/src/models/PaginatedLabelResponse.ts +0 -172
  566. package/src/models/PaginatedModuleIssueResponse.ts +0 -172
  567. package/src/models/PaginatedModuleResponse.ts +0 -172
  568. package/src/models/PaginatedProjectResponse.ts +0 -172
  569. package/src/models/PaginatedStateResponse.ts +0 -172
  570. package/src/models/PaginatedWorkItemResponse.ts +0 -172
  571. package/src/models/PatchedAssetUpdateRequest.ts +0 -67
  572. package/src/models/PatchedCycleUpdateRequest.ts +0 -133
  573. package/src/models/PatchedGenericAssetUpdateRequest.ts +0 -67
  574. package/src/models/PatchedIntakeIssueUpdateRequest.ts +0 -124
  575. package/src/models/PatchedIssueCommentCreateRequest.ts +0 -109
  576. package/src/models/PatchedIssueLinkUpdateRequest.ts +0 -67
  577. package/src/models/PatchedIssuePropertyAPIRequest.ts +0 -169
  578. package/src/models/PatchedIssuePropertyOptionAPIRequest.ts +0 -112
  579. package/src/models/PatchedIssueRequest.ts +0 -253
  580. package/src/models/PatchedIssueTypeAPIRequest.ts +0 -112
  581. package/src/models/PatchedIssueWorkLogAPIRequest.ts +0 -88
  582. package/src/models/PatchedLabelCreateUpdateRequest.ts +0 -115
  583. package/src/models/PatchedModuleUpdateRequest.ts +0 -141
  584. package/src/models/PatchedProjectUpdateRequest.ts +0 -253
  585. package/src/models/PatchedStateRequest.ts +0 -141
  586. package/src/models/PriorityEnum.ts +0 -59
  587. package/src/models/Project.ts +0 -414
  588. package/src/models/ProjectCreateRequest.ts +0 -239
  589. package/src/models/ProjectWorklogSummary.ts +0 -74
  590. package/src/models/PropertyTypeEnum.ts +0 -67
  591. package/src/models/RetrieveWorkItemAttachment400Response.ts +0 -72
  592. package/src/models/State.ts +0 -199
  593. package/src/models/StateLite.ts +0 -97
  594. package/src/models/StateRequest.ts +0 -143
  595. package/src/models/TimezoneEnum.ts +0 -915
  596. package/src/models/TransferCycleIssueRequestRequest.ts +0 -68
  597. package/src/models/TransferCycleWorkItems200Response.ts +0 -64
  598. package/src/models/TransferCycleWorkItems400Response.ts +0 -64
  599. package/src/models/TypeEnum.ts +0 -59
  600. package/src/models/UserAssetUploadRequest.ts +0 -121
  601. package/src/models/UserLite.ts +0 -108
  602. package/src/models/index.ts +0 -108
  603. package/src/oauth/api.ts +0 -183
  604. package/src/oauth/models.ts +0 -30
  605. package/src/runtime.ts +0 -431
  606. package/tsconfig.json +0 -20
@@ -1,239 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * The Plane REST API
5
- * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
6
- *
7
- * The version of the API Spec: 0.0.2
8
- * Contact: support@plane.so
9
- *
10
- * NOTE: This class is auto generated.
11
- * Do not edit the class manually.
12
- */
13
-
14
- import { mapValues } from '../runtime';
15
- import type { TimezoneEnum } from './TimezoneEnum';
16
- import {
17
- TimezoneEnumFromJSON,
18
- TimezoneEnumFromJSONTyped,
19
- TimezoneEnumToJSON,
20
- TimezoneEnumToJSONTyped,
21
- } from './TimezoneEnum';
22
-
23
- /**
24
- * Serializer for creating projects with workspace validation.
25
- *
26
- * Handles project creation including identifier validation, member verification,
27
- * and workspace association for new project initialization.
28
- * @export
29
- * @interface ProjectCreateRequest
30
- */
31
- export interface ProjectCreateRequest {
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof ProjectCreateRequest
36
- */
37
- name: string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof ProjectCreateRequest
42
- */
43
- description?: string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof ProjectCreateRequest
48
- */
49
- projectLead?: string | null;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof ProjectCreateRequest
54
- */
55
- defaultAssignee?: string | null;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof ProjectCreateRequest
60
- */
61
- identifier: string;
62
- /**
63
- *
64
- * @type {any}
65
- * @memberof ProjectCreateRequest
66
- */
67
- iconProp?: any | null;
68
- /**
69
- *
70
- * @type {string}
71
- * @memberof ProjectCreateRequest
72
- */
73
- emoji?: string | null;
74
- /**
75
- *
76
- * @type {string}
77
- * @memberof ProjectCreateRequest
78
- */
79
- coverImage?: string | null;
80
- /**
81
- *
82
- * @type {boolean}
83
- * @memberof ProjectCreateRequest
84
- */
85
- moduleView?: boolean;
86
- /**
87
- *
88
- * @type {boolean}
89
- * @memberof ProjectCreateRequest
90
- */
91
- cycleView?: boolean;
92
- /**
93
- *
94
- * @type {boolean}
95
- * @memberof ProjectCreateRequest
96
- */
97
- issueViewsView?: boolean;
98
- /**
99
- *
100
- * @type {boolean}
101
- * @memberof ProjectCreateRequest
102
- */
103
- pageView?: boolean;
104
- /**
105
- *
106
- * @type {boolean}
107
- * @memberof ProjectCreateRequest
108
- */
109
- intakeView?: boolean;
110
- /**
111
- *
112
- * @type {boolean}
113
- * @memberof ProjectCreateRequest
114
- */
115
- guestViewAllFeatures?: boolean;
116
- /**
117
- *
118
- * @type {number}
119
- * @memberof ProjectCreateRequest
120
- */
121
- archiveIn?: number;
122
- /**
123
- *
124
- * @type {number}
125
- * @memberof ProjectCreateRequest
126
- */
127
- closeIn?: number;
128
- /**
129
- *
130
- * @type {TimezoneEnum}
131
- * @memberof ProjectCreateRequest
132
- */
133
- timezone?: TimezoneEnum;
134
- /**
135
- *
136
- * @type {any}
137
- * @memberof ProjectCreateRequest
138
- */
139
- logoProps?: any | null;
140
- /**
141
- *
142
- * @type {string}
143
- * @memberof ProjectCreateRequest
144
- */
145
- externalSource?: string | null;
146
- /**
147
- *
148
- * @type {string}
149
- * @memberof ProjectCreateRequest
150
- */
151
- externalId?: string | null;
152
- /**
153
- *
154
- * @type {boolean}
155
- * @memberof ProjectCreateRequest
156
- */
157
- isIssueTypeEnabled?: boolean;
158
- }
159
-
160
-
161
-
162
- /**
163
- * Check if a given object implements the ProjectCreateRequest interface.
164
- */
165
- export function instanceOfProjectCreateRequest(value: object): value is ProjectCreateRequest {
166
- if (!('name' in value) || value['name'] === undefined) return false;
167
- if (!('identifier' in value) || value['identifier'] === undefined) return false;
168
- return true;
169
- }
170
-
171
- export function ProjectCreateRequestFromJSON(json: any): ProjectCreateRequest {
172
- return ProjectCreateRequestFromJSONTyped(json, false);
173
- }
174
-
175
- export function ProjectCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectCreateRequest {
176
- if (json == null) {
177
- return json;
178
- }
179
- return {
180
-
181
- 'name': json['name'],
182
- 'description': json['description'] == null ? undefined : json['description'],
183
- 'projectLead': json['project_lead'] == null ? undefined : json['project_lead'],
184
- 'defaultAssignee': json['default_assignee'] == null ? undefined : json['default_assignee'],
185
- 'identifier': json['identifier'],
186
- 'iconProp': json['icon_prop'] == null ? undefined : json['icon_prop'],
187
- 'emoji': json['emoji'] == null ? undefined : json['emoji'],
188
- 'coverImage': json['cover_image'] == null ? undefined : json['cover_image'],
189
- 'moduleView': json['module_view'] == null ? undefined : json['module_view'],
190
- 'cycleView': json['cycle_view'] == null ? undefined : json['cycle_view'],
191
- 'issueViewsView': json['issue_views_view'] == null ? undefined : json['issue_views_view'],
192
- 'pageView': json['page_view'] == null ? undefined : json['page_view'],
193
- 'intakeView': json['intake_view'] == null ? undefined : json['intake_view'],
194
- 'guestViewAllFeatures': json['guest_view_all_features'] == null ? undefined : json['guest_view_all_features'],
195
- 'archiveIn': json['archive_in'] == null ? undefined : json['archive_in'],
196
- 'closeIn': json['close_in'] == null ? undefined : json['close_in'],
197
- 'timezone': json['timezone'] == null ? undefined : TimezoneEnumFromJSON(json['timezone']),
198
- 'logoProps': json['logo_props'] == null ? undefined : json['logo_props'],
199
- 'externalSource': json['external_source'] == null ? undefined : json['external_source'],
200
- 'externalId': json['external_id'] == null ? undefined : json['external_id'],
201
- 'isIssueTypeEnabled': json['is_issue_type_enabled'] == null ? undefined : json['is_issue_type_enabled'],
202
- };
203
- }
204
-
205
- export function ProjectCreateRequestToJSON(json: any): ProjectCreateRequest {
206
- return ProjectCreateRequestToJSONTyped(json, false);
207
- }
208
-
209
- export function ProjectCreateRequestToJSONTyped(value?: ProjectCreateRequest | null, ignoreDiscriminator: boolean = false): any {
210
- if (value == null) {
211
- return value;
212
- }
213
-
214
- return {
215
-
216
- 'name': value['name'],
217
- 'description': value['description'],
218
- 'project_lead': value['projectLead'],
219
- 'default_assignee': value['defaultAssignee'],
220
- 'identifier': value['identifier'],
221
- 'icon_prop': value['iconProp'],
222
- 'emoji': value['emoji'],
223
- 'cover_image': value['coverImage'],
224
- 'module_view': value['moduleView'],
225
- 'cycle_view': value['cycleView'],
226
- 'issue_views_view': value['issueViewsView'],
227
- 'page_view': value['pageView'],
228
- 'intake_view': value['intakeView'],
229
- 'guest_view_all_features': value['guestViewAllFeatures'],
230
- 'archive_in': value['archiveIn'],
231
- 'close_in': value['closeIn'],
232
- 'timezone': TimezoneEnumToJSON(value['timezone']),
233
- 'logo_props': value['logoProps'],
234
- 'external_source': value['externalSource'],
235
- 'external_id': value['externalId'],
236
- 'is_issue_type_enabled': value['isIssueTypeEnabled'],
237
- };
238
- }
239
-
@@ -1,74 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * The Plane REST API
5
- * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
6
- *
7
- * The version of the API Spec: 0.0.2
8
- * Contact: support@plane.so
9
- *
10
- * NOTE: This class is auto generated.
11
- * Do not edit the class manually.
12
- */
13
-
14
- import { mapValues } from '../runtime';
15
- /**
16
- * Serializer for project worklog summary with aggregated duration per issue
17
- * @export
18
- * @interface ProjectWorklogSummary
19
- */
20
- export interface ProjectWorklogSummary {
21
- /**
22
- * ID of the work item
23
- * @type {string}
24
- * @memberof ProjectWorklogSummary
25
- */
26
- issueId: string;
27
- /**
28
- * Total duration logged for this work item in seconds
29
- * @type {number}
30
- * @memberof ProjectWorklogSummary
31
- */
32
- duration: number;
33
- }
34
-
35
- /**
36
- * Check if a given object implements the ProjectWorklogSummary interface.
37
- */
38
- export function instanceOfProjectWorklogSummary(value: object): value is ProjectWorklogSummary {
39
- if (!('issueId' in value) || value['issueId'] === undefined) return false;
40
- if (!('duration' in value) || value['duration'] === undefined) return false;
41
- return true;
42
- }
43
-
44
- export function ProjectWorklogSummaryFromJSON(json: any): ProjectWorklogSummary {
45
- return ProjectWorklogSummaryFromJSONTyped(json, false);
46
- }
47
-
48
- export function ProjectWorklogSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectWorklogSummary {
49
- if (json == null) {
50
- return json;
51
- }
52
- return {
53
-
54
- 'issueId': json['issue_id'],
55
- 'duration': json['duration'],
56
- };
57
- }
58
-
59
- export function ProjectWorklogSummaryToJSON(json: any): ProjectWorklogSummary {
60
- return ProjectWorklogSummaryToJSONTyped(json, false);
61
- }
62
-
63
- export function ProjectWorklogSummaryToJSONTyped(value?: ProjectWorklogSummary | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'issue_id': value['issueId'],
71
- 'duration': value['duration'],
72
- };
73
- }
74
-
@@ -1,67 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * The Plane REST API
5
- * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
6
- *
7
- * The version of the API Spec: 0.0.2
8
- * Contact: support@plane.so
9
- *
10
- * NOTE: This class is auto generated.
11
- * Do not edit the class manually.
12
- */
13
-
14
-
15
- /**
16
- * * `TEXT` - Text
17
- * * `DATETIME` - Datetime
18
- * * `DECIMAL` - Decimal
19
- * * `BOOLEAN` - Boolean
20
- * * `OPTION` - Option
21
- * * `RELATION` - Relation
22
- * * `URL` - URL
23
- * * `EMAIL` - Email
24
- * * `FILE` - File
25
- * @export
26
- */
27
- export const PropertyTypeEnum = {
28
- Text: 'TEXT',
29
- Datetime: 'DATETIME',
30
- Decimal: 'DECIMAL',
31
- Boolean: 'BOOLEAN',
32
- Option: 'OPTION',
33
- Relation: 'RELATION',
34
- Url: 'URL',
35
- Email: 'EMAIL',
36
- File: 'FILE'
37
- } as const;
38
- export type PropertyTypeEnum = typeof PropertyTypeEnum[keyof typeof PropertyTypeEnum];
39
-
40
-
41
- export function instanceOfPropertyTypeEnum(value: any): boolean {
42
- for (const key in PropertyTypeEnum) {
43
- if (Object.prototype.hasOwnProperty.call(PropertyTypeEnum, key)) {
44
- if (PropertyTypeEnum[key as keyof typeof PropertyTypeEnum] === value) {
45
- return true;
46
- }
47
- }
48
- }
49
- return false;
50
- }
51
-
52
- export function PropertyTypeEnumFromJSON(json: any): PropertyTypeEnum {
53
- return PropertyTypeEnumFromJSONTyped(json, false);
54
- }
55
-
56
- export function PropertyTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropertyTypeEnum {
57
- return json as PropertyTypeEnum;
58
- }
59
-
60
- export function PropertyTypeEnumToJSON(value?: PropertyTypeEnum | null): any {
61
- return value as any;
62
- }
63
-
64
- export function PropertyTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): PropertyTypeEnum {
65
- return value as PropertyTypeEnum;
66
- }
67
-
@@ -1,72 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * The Plane REST API
5
- * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
6
- *
7
- * The version of the API Spec: 0.0.2
8
- * Contact: support@plane.so
9
- *
10
- * NOTE: This class is auto generated.
11
- * Do not edit the class manually.
12
- */
13
-
14
- import { mapValues } from '../runtime';
15
- /**
16
- *
17
- * @export
18
- * @interface RetrieveWorkItemAttachment400Response
19
- */
20
- export interface RetrieveWorkItemAttachment400Response {
21
- /**
22
- * Error message
23
- * @type {string}
24
- * @memberof RetrieveWorkItemAttachment400Response
25
- */
26
- error?: string;
27
- /**
28
- * Request status
29
- * @type {boolean}
30
- * @memberof RetrieveWorkItemAttachment400Response
31
- */
32
- status?: boolean;
33
- }
34
-
35
- /**
36
- * Check if a given object implements the RetrieveWorkItemAttachment400Response interface.
37
- */
38
- export function instanceOfRetrieveWorkItemAttachment400Response(value: object): value is RetrieveWorkItemAttachment400Response {
39
- return true;
40
- }
41
-
42
- export function RetrieveWorkItemAttachment400ResponseFromJSON(json: any): RetrieveWorkItemAttachment400Response {
43
- return RetrieveWorkItemAttachment400ResponseFromJSONTyped(json, false);
44
- }
45
-
46
- export function RetrieveWorkItemAttachment400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RetrieveWorkItemAttachment400Response {
47
- if (json == null) {
48
- return json;
49
- }
50
- return {
51
-
52
- 'error': json['error'] == null ? undefined : json['error'],
53
- 'status': json['status'] == null ? undefined : json['status'],
54
- };
55
- }
56
-
57
- export function RetrieveWorkItemAttachment400ResponseToJSON(json: any): RetrieveWorkItemAttachment400Response {
58
- return RetrieveWorkItemAttachment400ResponseToJSONTyped(json, false);
59
- }
60
-
61
- export function RetrieveWorkItemAttachment400ResponseToJSONTyped(value?: RetrieveWorkItemAttachment400Response | null, ignoreDiscriminator: boolean = false): any {
62
- if (value == null) {
63
- return value;
64
- }
65
-
66
- return {
67
-
68
- 'error': value['error'],
69
- 'status': value['status'],
70
- };
71
- }
72
-
@@ -1,199 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * The Plane REST API
5
- * The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
6
- *
7
- * The version of the API Spec: 0.0.2
8
- * Contact: support@plane.so
9
- *
10
- * NOTE: This class is auto generated.
11
- * Do not edit the class manually.
12
- */
13
-
14
- import { mapValues } from '../runtime';
15
- import type { GroupEnum } from './GroupEnum';
16
- import {
17
- GroupEnumFromJSON,
18
- GroupEnumFromJSONTyped,
19
- GroupEnumToJSON,
20
- GroupEnumToJSONTyped,
21
- } from './GroupEnum';
22
-
23
- /**
24
- * Serializer for work item states with default state management.
25
- *
26
- * Handles state creation and updates including default state validation
27
- * and automatic default state switching for workflow management.
28
- * @export
29
- * @interface State
30
- */
31
- export interface State {
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof State
36
- */
37
- readonly id?: string;
38
- /**
39
- *
40
- * @type {Date}
41
- * @memberof State
42
- */
43
- readonly createdAt?: Date;
44
- /**
45
- *
46
- * @type {Date}
47
- * @memberof State
48
- */
49
- readonly updatedAt?: Date;
50
- /**
51
- *
52
- * @type {Date}
53
- * @memberof State
54
- */
55
- readonly deletedAt?: Date | null;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof State
60
- */
61
- name: string;
62
- /**
63
- *
64
- * @type {string}
65
- * @memberof State
66
- */
67
- description?: string;
68
- /**
69
- *
70
- * @type {string}
71
- * @memberof State
72
- */
73
- color: string;
74
- /**
75
- *
76
- * @type {number}
77
- * @memberof State
78
- */
79
- sequence?: number;
80
- /**
81
- *
82
- * @type {GroupEnum}
83
- * @memberof State
84
- */
85
- group?: GroupEnum;
86
- /**
87
- *
88
- * @type {boolean}
89
- * @memberof State
90
- */
91
- isTriage?: boolean;
92
- /**
93
- *
94
- * @type {boolean}
95
- * @memberof State
96
- */
97
- _default?: boolean;
98
- /**
99
- *
100
- * @type {string}
101
- * @memberof State
102
- */
103
- externalSource?: string | null;
104
- /**
105
- *
106
- * @type {string}
107
- * @memberof State
108
- */
109
- externalId?: string | null;
110
- /**
111
- *
112
- * @type {string}
113
- * @memberof State
114
- */
115
- readonly createdBy?: string | null;
116
- /**
117
- *
118
- * @type {string}
119
- * @memberof State
120
- */
121
- readonly updatedBy?: string | null;
122
- /**
123
- *
124
- * @type {string}
125
- * @memberof State
126
- */
127
- readonly project?: string;
128
- /**
129
- *
130
- * @type {string}
131
- * @memberof State
132
- */
133
- readonly workspace?: string;
134
- }
135
-
136
-
137
-
138
- /**
139
- * Check if a given object implements the State interface.
140
- */
141
- export function instanceOfState(value: object): value is State {
142
- if (!('name' in value) || value['name'] === undefined) return false;
143
- if (!('color' in value) || value['color'] === undefined) return false;
144
- return true;
145
- }
146
-
147
- export function StateFromJSON(json: any): State {
148
- return StateFromJSONTyped(json, false);
149
- }
150
-
151
- export function StateFromJSONTyped(json: any, ignoreDiscriminator: boolean): State {
152
- if (json == null) {
153
- return json;
154
- }
155
- return {
156
-
157
- 'id': json['id'] == null ? undefined : json['id'],
158
- 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
159
- 'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
160
- 'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
161
- 'name': json['name'],
162
- 'description': json['description'] == null ? undefined : json['description'],
163
- 'color': json['color'],
164
- 'sequence': json['sequence'] == null ? undefined : json['sequence'],
165
- 'group': json['group'] == null ? undefined : GroupEnumFromJSON(json['group']),
166
- 'isTriage': json['is_triage'] == null ? undefined : json['is_triage'],
167
- '_default': json['default'] == null ? undefined : json['default'],
168
- 'externalSource': json['external_source'] == null ? undefined : json['external_source'],
169
- 'externalId': json['external_id'] == null ? undefined : json['external_id'],
170
- 'createdBy': json['created_by'] == null ? undefined : json['created_by'],
171
- 'updatedBy': json['updated_by'] == null ? undefined : json['updated_by'],
172
- 'project': json['project'] == null ? undefined : json['project'],
173
- 'workspace': json['workspace'] == null ? undefined : json['workspace'],
174
- };
175
- }
176
-
177
- export function StateToJSON(json: any): State {
178
- return StateToJSONTyped(json, false);
179
- }
180
-
181
- export function StateToJSONTyped(value?: Omit<State, 'id'|'created_at'|'updated_at'|'deleted_at'|'created_by'|'updated_by'|'project'|'workspace'> | null, ignoreDiscriminator: boolean = false): any {
182
- if (value == null) {
183
- return value;
184
- }
185
-
186
- return {
187
-
188
- 'name': value['name'],
189
- 'description': value['description'],
190
- 'color': value['color'],
191
- 'sequence': value['sequence'],
192
- 'group': GroupEnumToJSON(value['group']),
193
- 'is_triage': value['isTriage'],
194
- 'default': value['_default'],
195
- 'external_source': value['externalSource'],
196
- 'external_id': value['externalId'],
197
- };
198
- }
199
-