@makeplane/plane-node-sdk 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish-node-sdk.yml +23 -5
- package/.openapi-generator/FILES +18 -3
- package/README.md +2 -2
- package/dist/apis/AssetsApi.d.ts +1 -1
- package/dist/apis/AssetsApi.js +1 -1
- package/dist/apis/CyclesApi.d.ts +3 -3
- package/dist/apis/CyclesApi.js +2 -2
- package/dist/apis/EpicsApi.d.ts +49 -0
- package/dist/apis/EpicsApi.js +243 -0
- package/dist/apis/IntakeApi.d.ts +1 -1
- package/dist/apis/IntakeApi.js +1 -1
- package/dist/apis/LabelsApi.d.ts +1 -1
- package/dist/apis/LabelsApi.js +1 -1
- package/dist/apis/MembersApi.d.ts +1 -1
- package/dist/apis/MembersApi.js +1 -1
- package/dist/apis/ModulesApi.d.ts +3 -3
- package/dist/apis/ModulesApi.js +2 -2
- package/dist/apis/PagesApi.d.ts +75 -0
- package/dist/apis/PagesApi.js +393 -0
- package/dist/apis/ProjectsApi.d.ts +1 -1
- package/dist/apis/ProjectsApi.js +1 -1
- package/dist/apis/StatesApi.d.ts +1 -1
- package/dist/apis/StatesApi.js +1 -1
- package/dist/apis/UsersApi.d.ts +1 -1
- package/dist/apis/UsersApi.js +1 -1
- package/dist/apis/WorkItemActivityApi.d.ts +1 -1
- package/dist/apis/WorkItemActivityApi.js +1 -1
- package/dist/apis/WorkItemAttachmentsApi.d.ts +18 -1
- package/dist/apis/WorkItemAttachmentsApi.js +83 -1
- package/dist/apis/WorkItemCommentsApi.d.ts +1 -1
- package/dist/apis/WorkItemCommentsApi.js +1 -1
- package/dist/apis/WorkItemLinksApi.d.ts +1 -1
- package/dist/apis/WorkItemLinksApi.js +1 -1
- package/dist/apis/WorkItemPropertiesApi.d.ts +24 -8
- package/dist/apis/WorkItemPropertiesApi.js +86 -4
- package/dist/apis/WorkItemTypesApi.d.ts +1 -1
- package/dist/apis/WorkItemTypesApi.js +1 -1
- package/dist/apis/WorkItemWorklogsApi.d.ts +1 -1
- package/dist/apis/WorkItemWorklogsApi.js +1 -1
- package/dist/apis/WorkItemsApi.d.ts +56 -4
- package/dist/apis/WorkItemsApi.js +262 -2
- package/dist/apis/WorkspacesApi.d.ts +28 -0
- package/dist/apis/WorkspacesApi.js +150 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/models/AccessBd4Enum.d.ts +25 -0
- package/dist/models/AccessBd4Enum.js +51 -0
- package/dist/models/Cycle.d.ts +1 -1
- package/dist/models/Cycle.js +1 -1
- package/dist/models/CycleCreateRequest.d.ts +1 -1
- package/dist/models/CycleCreateRequest.js +1 -1
- package/dist/models/CycleIssue.d.ts +1 -1
- package/dist/models/CycleIssue.js +1 -1
- package/dist/models/CycleIssueRequestRequest.d.ts +1 -1
- package/dist/models/CycleIssueRequestRequest.js +1 -1
- package/dist/models/CycleLite.d.ts +1 -1
- package/dist/models/CycleLite.js +1 -1
- package/dist/models/EntityTypeEnum.d.ts +1 -1
- package/dist/models/EntityTypeEnum.js +1 -1
- package/dist/models/Epic.d.ts +206 -0
- package/dist/models/Epic.js +106 -0
- package/dist/models/GenericAssetUploadRequest.d.ts +1 -1
- package/dist/models/GenericAssetUploadRequest.js +1 -1
- package/dist/models/GetWorkspaceMembers200ResponseInner.d.ts +1 -1
- package/dist/models/GetWorkspaceMembers200ResponseInner.js +1 -1
- package/dist/models/GroupEnum.d.ts +1 -1
- package/dist/models/GroupEnum.js +1 -1
- package/dist/models/IntakeIssue.d.ts +1 -1
- package/dist/models/IntakeIssue.js +1 -1
- package/dist/models/IntakeIssueCreateRequest.d.ts +1 -1
- package/dist/models/IntakeIssueCreateRequest.js +1 -1
- package/dist/models/IntakeWorkItemStatusEnum.d.ts +1 -1
- package/dist/models/IntakeWorkItemStatusEnum.js +1 -1
- package/dist/models/Issue.d.ts +1 -1
- package/dist/models/Issue.js +1 -1
- package/dist/models/IssueActivity.d.ts +1 -1
- package/dist/models/IssueActivity.js +1 -1
- package/dist/models/IssueAttachment.d.ts +1 -1
- package/dist/models/IssueAttachment.js +1 -1
- package/dist/models/IssueAttachmentUploadRequest.d.ts +1 -1
- package/dist/models/IssueAttachmentUploadRequest.js +1 -1
- package/dist/models/IssueComment.d.ts +4 -4
- package/dist/models/IssueComment.js +4 -4
- package/dist/models/IssueCommentCreateRequest.d.ts +4 -4
- package/dist/models/IssueCommentCreateRequest.js +4 -4
- package/dist/models/IssueDetail.d.ts +211 -0
- package/dist/models/IssueDetail.js +108 -0
- package/dist/models/IssueExpand.d.ts +5 -7
- package/dist/models/IssueExpand.js +3 -5
- package/dist/models/IssueForIntakeRequest.d.ts +1 -1
- package/dist/models/IssueForIntakeRequest.js +1 -1
- package/dist/models/IssueLink.d.ts +1 -1
- package/dist/models/IssueLink.js +1 -1
- package/dist/models/IssueLinkCreateRequest.d.ts +1 -1
- package/dist/models/IssueLinkCreateRequest.js +1 -1
- package/dist/models/IssuePropertyAPI.d.ts +4 -4
- package/dist/models/IssuePropertyAPI.js +4 -4
- package/dist/models/IssuePropertyAPIRelationTypeEnum.d.ts +25 -0
- package/dist/models/IssuePropertyAPIRelationTypeEnum.js +51 -0
- package/dist/models/IssuePropertyAPIRequest.d.ts +4 -4
- package/dist/models/IssuePropertyAPIRequest.js +4 -4
- package/dist/models/IssuePropertyOptionAPI.d.ts +1 -1
- package/dist/models/IssuePropertyOptionAPI.js +1 -1
- package/dist/models/IssuePropertyOptionAPIRequest.d.ts +1 -1
- package/dist/models/IssuePropertyOptionAPIRequest.js +1 -1
- package/dist/models/IssuePropertyValueAPI.d.ts +1 -1
- package/dist/models/IssuePropertyValueAPI.js +1 -1
- package/dist/models/IssuePropertyValueAPIDetail.d.ts +39 -0
- package/dist/models/IssuePropertyValueAPIDetail.js +54 -0
- package/dist/models/IssuePropertyValueAPIRequest.d.ts +1 -1
- package/dist/models/IssuePropertyValueAPIRequest.js +1 -1
- package/dist/models/IssueRelation.d.ts +106 -0
- package/dist/models/IssueRelation.js +58 -0
- package/dist/models/IssueRelationCreateRelationTypeEnum.d.ts +37 -0
- package/dist/models/IssueRelationCreateRelationTypeEnum.js +63 -0
- package/dist/models/IssueRelationCreateRequest.d.ts +50 -0
- package/dist/models/IssueRelationCreateRequest.js +55 -0
- package/dist/models/IssueRelationRemoveRequest.d.ts +34 -0
- package/dist/models/IssueRelationRemoveRequest.js +50 -0
- package/dist/models/IssueRelationResponse.d.ts +75 -0
- package/dist/models/IssueRelationResponse.js +78 -0
- package/dist/models/IssueRequest.d.ts +1 -1
- package/dist/models/IssueRequest.js +1 -1
- package/dist/models/IssueSearch.d.ts +4 -5
- package/dist/models/IssueSearch.js +1 -1
- package/dist/models/IssueSearchItem.d.ts +1 -1
- package/dist/models/IssueSearchItem.js +1 -1
- package/dist/models/IssueTypeAPI.d.ts +1 -1
- package/dist/models/IssueTypeAPI.js +1 -1
- package/dist/models/IssueTypeAPIRequest.d.ts +1 -1
- package/dist/models/IssueTypeAPIRequest.js +1 -1
- package/dist/models/IssueWorkLogAPI.d.ts +1 -1
- package/dist/models/IssueWorkLogAPI.js +1 -1
- package/dist/models/IssueWorkLogAPIRequest.d.ts +1 -1
- package/dist/models/IssueWorkLogAPIRequest.js +1 -1
- package/dist/models/Label.d.ts +1 -1
- package/dist/models/Label.js +1 -1
- package/dist/models/LabelCreateUpdateRequest.d.ts +1 -1
- package/dist/models/LabelCreateUpdateRequest.js +1 -1
- package/dist/models/Module.d.ts +1 -1
- package/dist/models/Module.js +1 -1
- package/dist/models/ModuleCreateRequest.d.ts +1 -1
- package/dist/models/ModuleCreateRequest.js +1 -1
- package/dist/models/ModuleIssue.d.ts +1 -1
- package/dist/models/ModuleIssue.js +1 -1
- package/dist/models/ModuleIssueRequestRequest.d.ts +1 -1
- package/dist/models/ModuleIssueRequestRequest.js +1 -1
- package/dist/models/ModuleLite.d.ts +1 -1
- package/dist/models/ModuleLite.js +1 -1
- package/dist/models/ModuleStatusEnum.d.ts +1 -1
- package/dist/models/ModuleStatusEnum.js +1 -1
- package/dist/models/NetworkEnum.d.ts +1 -1
- package/dist/models/NetworkEnum.js +1 -1
- package/dist/models/PageCreateAPI.d.ts +134 -0
- package/dist/models/PageCreateAPI.js +79 -0
- package/dist/models/PageCreateAPIAccessEnum.d.ts +25 -0
- package/dist/models/PageCreateAPIAccessEnum.js +51 -0
- package/dist/models/PageCreateAPIRequest.d.ts +86 -0
- package/dist/models/PageCreateAPIRequest.js +71 -0
- package/dist/models/PageDetailAPI.d.ts +79 -0
- package/dist/models/PageDetailAPI.js +57 -0
- package/dist/models/PaginatedArchivedCycleResponse.d.ts +1 -1
- package/dist/models/PaginatedArchivedCycleResponse.js +1 -1
- package/dist/models/PaginatedArchivedModuleResponse.d.ts +1 -1
- package/dist/models/PaginatedArchivedModuleResponse.js +1 -1
- package/dist/models/PaginatedCycleIssueResponse.d.ts +1 -1
- package/dist/models/PaginatedCycleIssueResponse.js +1 -1
- package/dist/models/PaginatedCycleResponse.d.ts +1 -1
- package/dist/models/PaginatedCycleResponse.js +1 -1
- package/dist/models/PaginatedEpicResponse.d.ts +98 -0
- package/dist/models/PaginatedEpicResponse.js +95 -0
- package/dist/models/PaginatedIntakeIssueResponse.d.ts +1 -1
- package/dist/models/PaginatedIntakeIssueResponse.js +1 -1
- package/dist/models/PaginatedIssueActivityDetailResponse.d.ts +1 -1
- package/dist/models/PaginatedIssueActivityDetailResponse.js +1 -1
- package/dist/models/PaginatedIssueActivityResponse.d.ts +1 -1
- package/dist/models/PaginatedIssueActivityResponse.js +1 -1
- package/dist/models/PaginatedIssueCommentResponse.d.ts +1 -1
- package/dist/models/PaginatedIssueCommentResponse.js +1 -1
- package/dist/models/PaginatedIssueLinkDetailResponse.d.ts +1 -1
- package/dist/models/PaginatedIssueLinkDetailResponse.js +1 -1
- package/dist/models/PaginatedIssueLinkResponse.d.ts +1 -1
- package/dist/models/PaginatedIssueLinkResponse.js +1 -1
- package/dist/models/PaginatedLabelResponse.d.ts +1 -1
- package/dist/models/PaginatedLabelResponse.js +1 -1
- package/dist/models/PaginatedModuleIssueResponse.d.ts +1 -1
- package/dist/models/PaginatedModuleIssueResponse.js +1 -1
- package/dist/models/PaginatedModuleResponse.d.ts +1 -1
- package/dist/models/PaginatedModuleResponse.js +1 -1
- package/dist/models/PaginatedProjectResponse.d.ts +1 -1
- package/dist/models/PaginatedProjectResponse.js +1 -1
- package/dist/models/PaginatedStateResponse.d.ts +1 -1
- package/dist/models/PaginatedStateResponse.js +1 -1
- package/dist/models/PaginatedWorkItemResponse.d.ts +1 -1
- package/dist/models/PaginatedWorkItemResponse.js +1 -1
- package/dist/models/PatchedAssetUpdateRequest.d.ts +1 -1
- package/dist/models/PatchedAssetUpdateRequest.js +1 -1
- package/dist/models/PatchedCycleUpdateRequest.d.ts +1 -1
- package/dist/models/PatchedCycleUpdateRequest.js +1 -1
- package/dist/models/PatchedGenericAssetUpdateRequest.d.ts +1 -1
- package/dist/models/PatchedGenericAssetUpdateRequest.js +1 -1
- package/dist/models/PatchedIntakeIssueUpdateRequest.d.ts +1 -1
- package/dist/models/PatchedIntakeIssueUpdateRequest.js +1 -1
- package/dist/models/PatchedIssueCommentCreateRequest.d.ts +4 -4
- package/dist/models/PatchedIssueCommentCreateRequest.js +4 -4
- package/dist/models/PatchedIssueLinkUpdateRequest.d.ts +1 -1
- package/dist/models/PatchedIssueLinkUpdateRequest.js +1 -1
- package/dist/models/PatchedIssuePropertyAPIRequest.d.ts +4 -4
- package/dist/models/PatchedIssuePropertyAPIRequest.js +4 -4
- package/dist/models/PatchedIssuePropertyOptionAPIRequest.d.ts +1 -1
- package/dist/models/PatchedIssuePropertyOptionAPIRequest.js +1 -1
- package/dist/models/PatchedIssueRequest.d.ts +1 -1
- package/dist/models/PatchedIssueRequest.js +1 -1
- package/dist/models/PatchedIssueTypeAPIRequest.d.ts +1 -1
- package/dist/models/PatchedIssueTypeAPIRequest.js +1 -1
- package/dist/models/PatchedIssueWorkLogAPIRequest.d.ts +1 -1
- package/dist/models/PatchedIssueWorkLogAPIRequest.js +1 -1
- package/dist/models/PatchedLabelCreateUpdateRequest.d.ts +1 -1
- package/dist/models/PatchedLabelCreateUpdateRequest.js +1 -1
- package/dist/models/PatchedModuleUpdateRequest.d.ts +1 -1
- package/dist/models/PatchedModuleUpdateRequest.js +1 -1
- package/dist/models/PatchedProjectUpdateRequest.d.ts +25 -1
- package/dist/models/PatchedProjectUpdateRequest.js +9 -1
- package/dist/models/PatchedStateRequest.d.ts +1 -1
- package/dist/models/PatchedStateRequest.js +1 -1
- package/dist/models/PriorityEnum.d.ts +1 -1
- package/dist/models/PriorityEnum.js +1 -1
- package/dist/models/Project.d.ts +1 -1
- package/dist/models/Project.js +1 -1
- package/dist/models/ProjectCreateRequest.d.ts +25 -1
- package/dist/models/ProjectCreateRequest.js +9 -1
- package/dist/models/ProjectWorklogSummary.d.ts +1 -1
- package/dist/models/ProjectWorklogSummary.js +1 -1
- package/dist/models/PropertyTypeEnum.d.ts +1 -1
- package/dist/models/PropertyTypeEnum.js +1 -1
- package/dist/models/RetrieveWorkItemAttachment400Response.d.ts +1 -1
- package/dist/models/RetrieveWorkItemAttachment400Response.js +1 -1
- package/dist/models/State.d.ts +1 -1
- package/dist/models/State.js +1 -1
- package/dist/models/StateLite.d.ts +1 -1
- package/dist/models/StateLite.js +1 -1
- package/dist/models/StateRequest.d.ts +1 -1
- package/dist/models/StateRequest.js +1 -1
- package/dist/models/TimezoneEnum.d.ts +1 -1
- package/dist/models/TimezoneEnum.js +1 -1
- package/dist/models/TransferCycleIssueRequestRequest.d.ts +1 -1
- package/dist/models/TransferCycleIssueRequestRequest.js +1 -1
- package/dist/models/TransferCycleWorkItems200Response.d.ts +1 -1
- package/dist/models/TransferCycleWorkItems200Response.js +1 -1
- package/dist/models/TransferCycleWorkItems400Response.d.ts +1 -1
- package/dist/models/TransferCycleWorkItems400Response.js +1 -1
- package/dist/models/TypeEnum.d.ts +1 -1
- package/dist/models/TypeEnum.js +1 -1
- package/dist/models/UserAssetUploadRequest.d.ts +1 -1
- package/dist/models/UserAssetUploadRequest.js +1 -1
- package/dist/models/UserLite.d.ts +1 -1
- package/dist/models/UserLite.js +1 -1
- package/dist/models/index.d.ts +15 -3
- package/dist/models/index.js +15 -3
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/AssetsApi.ts +1 -1
- package/src/apis/CyclesApi.ts +4 -4
- package/src/apis/EpicsApi.ts +177 -0
- package/src/apis/IntakeApi.ts +1 -1
- package/src/apis/LabelsApi.ts +1 -1
- package/src/apis/MembersApi.ts +1 -1
- package/src/apis/ModulesApi.ts +4 -4
- package/src/apis/PagesApi.ts +301 -0
- package/src/apis/ProjectsApi.ts +1 -1
- package/src/apis/StatesApi.ts +1 -1
- package/src/apis/UsersApi.ts +1 -1
- package/src/apis/WorkItemActivityApi.ts +1 -1
- package/src/apis/WorkItemAttachmentsApi.ts +81 -1
- package/src/apis/WorkItemCommentsApi.ts +1 -1
- package/src/apis/WorkItemLinksApi.ts +1 -1
- package/src/apis/WorkItemPropertiesApi.ts +90 -10
- package/src/apis/WorkItemTypesApi.ts +1 -1
- package/src/apis/WorkItemWorklogsApi.ts +1 -1
- package/src/apis/WorkItemsApi.ts +272 -4
- package/src/apis/WorkspacesApi.ts +80 -0
- package/src/apis/index.ts +3 -0
- package/src/models/AccessBd4Enum.ts +53 -0
- package/src/models/Cycle.ts +1 -1
- package/src/models/CycleCreateRequest.ts +1 -1
- package/src/models/CycleIssue.ts +1 -1
- package/src/models/CycleIssueRequestRequest.ts +1 -1
- package/src/models/CycleLite.ts +1 -1
- package/src/models/EntityTypeEnum.ts +1 -1
- package/src/models/Epic.ts +302 -0
- package/src/models/GenericAssetUploadRequest.ts +1 -1
- package/src/models/GetWorkspaceMembers200ResponseInner.ts +1 -1
- package/src/models/GroupEnum.ts +1 -1
- package/src/models/IntakeIssue.ts +1 -1
- package/src/models/IntakeIssueCreateRequest.ts +1 -1
- package/src/models/IntakeWorkItemStatusEnum.ts +1 -1
- package/src/models/Issue.ts +1 -1
- package/src/models/IssueActivity.ts +1 -1
- package/src/models/IssueAttachment.ts +1 -1
- package/src/models/IssueAttachmentUploadRequest.ts +1 -1
- package/src/models/IssueComment.ts +11 -11
- package/src/models/IssueCommentCreateRequest.ts +11 -11
- package/src/models/IssueDetail.ts +319 -0
- package/src/models/IssueExpand.ts +7 -21
- package/src/models/IssueForIntakeRequest.ts +1 -1
- package/src/models/IssueLink.ts +1 -1
- package/src/models/IssueLinkCreateRequest.ts +1 -1
- package/src/models/IssuePropertyAPI.ts +11 -11
- package/src/models/IssuePropertyAPIRelationTypeEnum.ts +53 -0
- package/src/models/IssuePropertyAPIRequest.ts +11 -11
- package/src/models/IssuePropertyOptionAPI.ts +1 -1
- package/src/models/IssuePropertyOptionAPIRequest.ts +1 -1
- package/src/models/IssuePropertyValueAPI.ts +1 -1
- package/src/models/IssuePropertyValueAPIDetail.ts +76 -0
- package/src/models/IssuePropertyValueAPIRequest.ts +1 -1
- package/src/models/IssueRelation.ts +150 -0
- package/src/models/IssueRelationCreateRelationTypeEnum.ts +65 -0
- package/src/models/IssueRelationCreateRequest.ts +96 -0
- package/src/models/IssueRelationRemoveRequest.ts +68 -0
- package/src/models/IssueRelationResponse.ts +130 -0
- package/src/models/IssueRequest.ts +1 -1
- package/src/models/IssueSearch.ts +4 -5
- package/src/models/IssueSearchItem.ts +1 -1
- package/src/models/IssueTypeAPI.ts +1 -1
- package/src/models/IssueTypeAPIRequest.ts +1 -1
- package/src/models/IssueWorkLogAPI.ts +1 -1
- package/src/models/IssueWorkLogAPIRequest.ts +1 -1
- package/src/models/Label.ts +1 -1
- package/src/models/LabelCreateUpdateRequest.ts +1 -1
- package/src/models/Module.ts +1 -1
- package/src/models/ModuleCreateRequest.ts +1 -1
- package/src/models/ModuleIssue.ts +1 -1
- package/src/models/ModuleIssueRequestRequest.ts +1 -1
- package/src/models/ModuleLite.ts +1 -1
- package/src/models/ModuleStatusEnum.ts +1 -1
- package/src/models/NetworkEnum.ts +1 -1
- package/src/models/PageCreateAPI.ts +204 -0
- package/src/models/PageCreateAPIAccessEnum.ts +53 -0
- package/src/models/PageCreateAPIRequest.ts +148 -0
- package/src/models/PageDetailAPI.ts +121 -0
- package/src/models/PaginatedArchivedCycleResponse.ts +1 -1
- package/src/models/PaginatedArchivedModuleResponse.ts +1 -1
- package/src/models/PaginatedCycleIssueResponse.ts +1 -1
- package/src/models/PaginatedCycleResponse.ts +1 -1
- package/src/models/PaginatedEpicResponse.ts +172 -0
- package/src/models/PaginatedIntakeIssueResponse.ts +1 -1
- package/src/models/PaginatedIssueActivityDetailResponse.ts +1 -1
- package/src/models/PaginatedIssueActivityResponse.ts +1 -1
- package/src/models/PaginatedIssueCommentResponse.ts +1 -1
- package/src/models/PaginatedIssueLinkDetailResponse.ts +1 -1
- package/src/models/PaginatedIssueLinkResponse.ts +1 -1
- package/src/models/PaginatedLabelResponse.ts +1 -1
- package/src/models/PaginatedModuleIssueResponse.ts +1 -1
- package/src/models/PaginatedModuleResponse.ts +1 -1
- package/src/models/PaginatedProjectResponse.ts +1 -1
- package/src/models/PaginatedStateResponse.ts +1 -1
- package/src/models/PaginatedWorkItemResponse.ts +1 -1
- package/src/models/PatchedAssetUpdateRequest.ts +1 -1
- package/src/models/PatchedCycleUpdateRequest.ts +1 -1
- package/src/models/PatchedGenericAssetUpdateRequest.ts +1 -1
- package/src/models/PatchedIntakeIssueUpdateRequest.ts +1 -1
- package/src/models/PatchedIssueCommentCreateRequest.ts +11 -11
- package/src/models/PatchedIssueLinkUpdateRequest.ts +1 -1
- package/src/models/PatchedIssuePropertyAPIRequest.ts +11 -11
- package/src/models/PatchedIssuePropertyOptionAPIRequest.ts +1 -1
- package/src/models/PatchedIssueRequest.ts +1 -1
- package/src/models/PatchedIssueTypeAPIRequest.ts +1 -1
- package/src/models/PatchedIssueWorkLogAPIRequest.ts +1 -1
- package/src/models/PatchedLabelCreateUpdateRequest.ts +1 -1
- package/src/models/PatchedModuleUpdateRequest.ts +1 -1
- package/src/models/PatchedProjectUpdateRequest.ts +33 -1
- package/src/models/PatchedStateRequest.ts +1 -1
- package/src/models/PriorityEnum.ts +1 -1
- package/src/models/Project.ts +1 -1
- package/src/models/ProjectCreateRequest.ts +33 -1
- package/src/models/ProjectWorklogSummary.ts +1 -1
- package/src/models/PropertyTypeEnum.ts +1 -1
- package/src/models/RetrieveWorkItemAttachment400Response.ts +1 -1
- package/src/models/State.ts +1 -1
- package/src/models/StateLite.ts +1 -1
- package/src/models/StateRequest.ts +1 -1
- package/src/models/TimezoneEnum.ts +1 -1
- package/src/models/TransferCycleIssueRequestRequest.ts +1 -1
- package/src/models/TransferCycleWorkItems200Response.ts +1 -1
- package/src/models/TransferCycleWorkItems400Response.ts +1 -1
- package/src/models/TypeEnum.ts +1 -1
- package/src/models/UserAssetUploadRequest.ts +1 -1
- package/src/models/UserLite.ts +1 -1
- package/src/models/index.ts +15 -3
- package/src/runtime.ts +1 -1
- package/dist/models/AccessEnum.d.ts +0 -25
- package/dist/models/AccessEnum.js +0 -51
- package/dist/models/LabelLite.d.ts +0 -46
- package/dist/models/LabelLite.js +0 -53
- package/dist/models/RelationTypeEnum.d.ts +0 -25
- package/dist/models/RelationTypeEnum.js +0 -51
- package/src/models/AccessEnum.ts +0 -53
- package/src/models/LabelLite.ts +0 -83
- package/src/models/RelationTypeEnum.ts +0 -53
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|
|
@@ -395,6 +395,88 @@ var WorkItemAttachmentsApi = /** @class */ (function (_super) {
|
|
|
395
395
|
});
|
|
396
396
|
});
|
|
397
397
|
};
|
|
398
|
+
/**
|
|
399
|
+
* Mark an attachment as uploaded after successful file transfer to storage.
|
|
400
|
+
* Endpoints for issue attachment create/update/delete and fetch issue attachment details
|
|
401
|
+
*/
|
|
402
|
+
WorkItemAttachmentsApi.prototype.uploadWorkItemAttachmentRaw = function (requestParameters, initOverrides) {
|
|
403
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
404
|
+
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
|
|
405
|
+
return __generator(this, function (_g) {
|
|
406
|
+
switch (_g.label) {
|
|
407
|
+
case 0:
|
|
408
|
+
if (requestParameters['issueId'] == null) {
|
|
409
|
+
throw new runtime.RequiredError('issueId', 'Required parameter "issueId" was null or undefined when calling uploadWorkItemAttachment().');
|
|
410
|
+
}
|
|
411
|
+
if (requestParameters['pk'] == null) {
|
|
412
|
+
throw new runtime.RequiredError('pk', 'Required parameter "pk" was null or undefined when calling uploadWorkItemAttachment().');
|
|
413
|
+
}
|
|
414
|
+
if (requestParameters['projectId'] == null) {
|
|
415
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling uploadWorkItemAttachment().');
|
|
416
|
+
}
|
|
417
|
+
if (requestParameters['slug'] == null) {
|
|
418
|
+
throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling uploadWorkItemAttachment().');
|
|
419
|
+
}
|
|
420
|
+
queryParameters = {};
|
|
421
|
+
headerParameters = {};
|
|
422
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
423
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
424
|
+
_a = headerParameters;
|
|
425
|
+
_b = "X-API-Key";
|
|
426
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
427
|
+
case 1:
|
|
428
|
+
_a[_b] = _g.sent(); // ApiKeyAuthentication authentication
|
|
429
|
+
_g.label = 2;
|
|
430
|
+
case 2:
|
|
431
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
432
|
+
// oauth required
|
|
433
|
+
_c = headerParameters;
|
|
434
|
+
_d = "Authorization";
|
|
435
|
+
return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
|
|
436
|
+
case 3:
|
|
437
|
+
// oauth required
|
|
438
|
+
_c[_d] = _g.sent();
|
|
439
|
+
_g.label = 4;
|
|
440
|
+
case 4:
|
|
441
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
|
|
442
|
+
// oauth required
|
|
443
|
+
_e = headerParameters;
|
|
444
|
+
_f = "Authorization";
|
|
445
|
+
return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
|
|
446
|
+
case 5:
|
|
447
|
+
// oauth required
|
|
448
|
+
_e[_f] = _g.sent();
|
|
449
|
+
_g.label = 6;
|
|
450
|
+
case 6: return [4 /*yield*/, this.request({
|
|
451
|
+
path: "/api/v1/workspaces/{slug}/projects/{project_id}/issues/{issue_id}/issue-attachments/{pk}/".replace("{".concat("issue_id", "}"), encodeURIComponent(String(requestParameters['issueId']))).replace("{".concat("pk", "}"), encodeURIComponent(String(requestParameters['pk']))).replace("{".concat("project_id", "}"), encodeURIComponent(String(requestParameters['projectId']))).replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
|
|
452
|
+
method: 'PATCH',
|
|
453
|
+
headers: headerParameters,
|
|
454
|
+
query: queryParameters,
|
|
455
|
+
body: requestParameters['body'],
|
|
456
|
+
}, initOverrides)];
|
|
457
|
+
case 7:
|
|
458
|
+
response = _g.sent();
|
|
459
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
460
|
+
}
|
|
461
|
+
});
|
|
462
|
+
});
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* Mark an attachment as uploaded after successful file transfer to storage.
|
|
466
|
+
* Endpoints for issue attachment create/update/delete and fetch issue attachment details
|
|
467
|
+
*/
|
|
468
|
+
WorkItemAttachmentsApi.prototype.uploadWorkItemAttachment = function (requestParameters, initOverrides) {
|
|
469
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
470
|
+
return __generator(this, function (_a) {
|
|
471
|
+
switch (_a.label) {
|
|
472
|
+
case 0: return [4 /*yield*/, this.uploadWorkItemAttachmentRaw(requestParameters, initOverrides)];
|
|
473
|
+
case 1:
|
|
474
|
+
_a.sent();
|
|
475
|
+
return [2 /*return*/];
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
});
|
|
479
|
+
};
|
|
398
480
|
return WorkItemAttachmentsApi;
|
|
399
481
|
}(runtime.BaseAPI));
|
|
400
482
|
exports.WorkItemAttachmentsApi = WorkItemAttachmentsApi;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
|
-
import type { IssuePropertyAPI, IssuePropertyAPIRequest, IssuePropertyOptionAPI, IssuePropertyOptionAPIRequest, IssuePropertyValueAPI, IssuePropertyValueAPIRequest, PatchedIssuePropertyAPIRequest, PatchedIssuePropertyOptionAPIRequest } from '../models/index';
|
|
12
|
+
import type { IssuePropertyAPI, IssuePropertyAPIRequest, IssuePropertyOptionAPI, IssuePropertyOptionAPIRequest, IssuePropertyValueAPI, IssuePropertyValueAPIDetail, IssuePropertyValueAPIRequest, PatchedIssuePropertyAPIRequest, PatchedIssuePropertyOptionAPIRequest } from '../models/index';
|
|
13
13
|
export interface CreateIssuePropertyRequest {
|
|
14
14
|
projectId: string;
|
|
15
15
|
slug: string;
|
|
@@ -57,6 +57,12 @@ export interface ListIssuePropertyValuesRequest {
|
|
|
57
57
|
propertyId: string;
|
|
58
58
|
slug: string;
|
|
59
59
|
}
|
|
60
|
+
export interface ListIssuePropertyValuesForAWorkitemRequest {
|
|
61
|
+
issueId: string;
|
|
62
|
+
projectId: string;
|
|
63
|
+
propertyId: string;
|
|
64
|
+
slug: string;
|
|
65
|
+
}
|
|
60
66
|
export interface RetrieveIssuePropertyRequest {
|
|
61
67
|
projectId: string;
|
|
62
68
|
propertyId: string;
|
|
@@ -141,32 +147,42 @@ export declare class WorkItemPropertiesApi extends runtime.BaseAPI {
|
|
|
141
147
|
* List issue properties
|
|
142
148
|
* List issue properties
|
|
143
149
|
*/
|
|
144
|
-
listIssuePropertiesRaw(requestParameters: ListIssuePropertiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IssuePropertyAPI
|
|
150
|
+
listIssuePropertiesRaw(requestParameters: ListIssuePropertiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<IssuePropertyAPI>>>;
|
|
145
151
|
/**
|
|
146
152
|
* List issue properties
|
|
147
153
|
* List issue properties
|
|
148
154
|
*/
|
|
149
|
-
listIssueProperties(requestParameters: ListIssuePropertiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IssuePropertyAPI
|
|
155
|
+
listIssueProperties(requestParameters: ListIssuePropertiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<IssuePropertyAPI>>;
|
|
150
156
|
/**
|
|
151
157
|
* List issue property options
|
|
152
158
|
* List issue property options
|
|
153
159
|
*/
|
|
154
|
-
listIssuePropertyOptionsRaw(requestParameters: ListIssuePropertyOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IssuePropertyOptionAPI
|
|
160
|
+
listIssuePropertyOptionsRaw(requestParameters: ListIssuePropertyOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<IssuePropertyOptionAPI>>>;
|
|
155
161
|
/**
|
|
156
162
|
* List issue property options
|
|
157
163
|
* List issue property options
|
|
158
164
|
*/
|
|
159
|
-
listIssuePropertyOptions(requestParameters: ListIssuePropertyOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IssuePropertyOptionAPI
|
|
165
|
+
listIssuePropertyOptions(requestParameters: ListIssuePropertyOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<IssuePropertyOptionAPI>>;
|
|
160
166
|
/**
|
|
161
167
|
* List issue property values
|
|
162
168
|
* List issue property values
|
|
163
169
|
*/
|
|
164
|
-
listIssuePropertyValuesRaw(requestParameters: ListIssuePropertyValuesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
170
|
+
listIssuePropertyValuesRaw(requestParameters: ListIssuePropertyValuesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<IssuePropertyValueAPIDetail>>>;
|
|
165
171
|
/**
|
|
166
172
|
* List issue property values
|
|
167
173
|
* List issue property values
|
|
168
174
|
*/
|
|
169
|
-
listIssuePropertyValues(requestParameters: ListIssuePropertyValuesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
175
|
+
listIssuePropertyValues(requestParameters: ListIssuePropertyValuesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<IssuePropertyValueAPIDetail>>;
|
|
176
|
+
/**
|
|
177
|
+
* List issue property values for a workitem
|
|
178
|
+
* List issue property values for a workitem
|
|
179
|
+
*/
|
|
180
|
+
listIssuePropertyValuesForAWorkitemRaw(requestParameters: ListIssuePropertyValuesForAWorkitemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IssuePropertyValueAPI>>;
|
|
181
|
+
/**
|
|
182
|
+
* List issue property values for a workitem
|
|
183
|
+
* List issue property values for a workitem
|
|
184
|
+
*/
|
|
185
|
+
listIssuePropertyValuesForAWorkitem(requestParameters: ListIssuePropertyValuesForAWorkitemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IssuePropertyValueAPI>;
|
|
170
186
|
/**
|
|
171
187
|
* Get issue property by id
|
|
172
188
|
* Get issue property by id
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|
|
@@ -545,7 +545,7 @@ var WorkItemPropertiesApi = /** @class */ (function (_super) {
|
|
|
545
545
|
}, initOverrides)];
|
|
546
546
|
case 7:
|
|
547
547
|
response = _g.sent();
|
|
548
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (
|
|
548
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.IssuePropertyAPIFromJSON); })];
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
551
|
});
|
|
@@ -624,7 +624,7 @@ var WorkItemPropertiesApi = /** @class */ (function (_super) {
|
|
|
624
624
|
}, initOverrides)];
|
|
625
625
|
case 7:
|
|
626
626
|
response = _g.sent();
|
|
627
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (
|
|
627
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.IssuePropertyOptionAPIFromJSON); })];
|
|
628
628
|
}
|
|
629
629
|
});
|
|
630
630
|
});
|
|
@@ -706,7 +706,7 @@ var WorkItemPropertiesApi = /** @class */ (function (_super) {
|
|
|
706
706
|
}, initOverrides)];
|
|
707
707
|
case 7:
|
|
708
708
|
response = _g.sent();
|
|
709
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (
|
|
709
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.IssuePropertyValueAPIDetailFromJSON); })];
|
|
710
710
|
}
|
|
711
711
|
});
|
|
712
712
|
});
|
|
@@ -729,6 +729,88 @@ var WorkItemPropertiesApi = /** @class */ (function (_super) {
|
|
|
729
729
|
});
|
|
730
730
|
});
|
|
731
731
|
};
|
|
732
|
+
/**
|
|
733
|
+
* List issue property values for a workitem
|
|
734
|
+
* List issue property values for a workitem
|
|
735
|
+
*/
|
|
736
|
+
WorkItemPropertiesApi.prototype.listIssuePropertyValuesForAWorkitemRaw = function (requestParameters, initOverrides) {
|
|
737
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
738
|
+
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, response;
|
|
739
|
+
return __generator(this, function (_g) {
|
|
740
|
+
switch (_g.label) {
|
|
741
|
+
case 0:
|
|
742
|
+
if (requestParameters['issueId'] == null) {
|
|
743
|
+
throw new runtime.RequiredError('issueId', 'Required parameter "issueId" was null or undefined when calling listIssuePropertyValuesForAWorkitem().');
|
|
744
|
+
}
|
|
745
|
+
if (requestParameters['projectId'] == null) {
|
|
746
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listIssuePropertyValuesForAWorkitem().');
|
|
747
|
+
}
|
|
748
|
+
if (requestParameters['propertyId'] == null) {
|
|
749
|
+
throw new runtime.RequiredError('propertyId', 'Required parameter "propertyId" was null or undefined when calling listIssuePropertyValuesForAWorkitem().');
|
|
750
|
+
}
|
|
751
|
+
if (requestParameters['slug'] == null) {
|
|
752
|
+
throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling listIssuePropertyValuesForAWorkitem().');
|
|
753
|
+
}
|
|
754
|
+
queryParameters = {};
|
|
755
|
+
headerParameters = {};
|
|
756
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
757
|
+
_a = headerParameters;
|
|
758
|
+
_b = "X-API-Key";
|
|
759
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
760
|
+
case 1:
|
|
761
|
+
_a[_b] = _g.sent(); // ApiKeyAuthentication authentication
|
|
762
|
+
_g.label = 2;
|
|
763
|
+
case 2:
|
|
764
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
765
|
+
// oauth required
|
|
766
|
+
_c = headerParameters;
|
|
767
|
+
_d = "Authorization";
|
|
768
|
+
return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
|
|
769
|
+
case 3:
|
|
770
|
+
// oauth required
|
|
771
|
+
_c[_d] = _g.sent();
|
|
772
|
+
_g.label = 4;
|
|
773
|
+
case 4:
|
|
774
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 6];
|
|
775
|
+
// oauth required
|
|
776
|
+
_e = headerParameters;
|
|
777
|
+
_f = "Authorization";
|
|
778
|
+
return [4 /*yield*/, this.configuration.accessToken("OAuth2Authentication", [])];
|
|
779
|
+
case 5:
|
|
780
|
+
// oauth required
|
|
781
|
+
_e[_f] = _g.sent();
|
|
782
|
+
_g.label = 6;
|
|
783
|
+
case 6: return [4 /*yield*/, this.request({
|
|
784
|
+
path: "/api/v1/workspaces/{slug}/projects/{project_id}/issues/{issue_id}/issue-properties/values/".replace("{".concat("issue_id", "}"), encodeURIComponent(String(requestParameters['issueId']))).replace("{".concat("project_id", "}"), encodeURIComponent(String(requestParameters['projectId']))).replace("{".concat("property_id", "}"), encodeURIComponent(String(requestParameters['propertyId']))).replace("{".concat("slug", "}"), encodeURIComponent(String(requestParameters['slug']))),
|
|
785
|
+
method: 'GET',
|
|
786
|
+
headers: headerParameters,
|
|
787
|
+
query: queryParameters,
|
|
788
|
+
}, initOverrides)];
|
|
789
|
+
case 7:
|
|
790
|
+
response = _g.sent();
|
|
791
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IssuePropertyValueAPIFromJSON)(jsonValue); })];
|
|
792
|
+
}
|
|
793
|
+
});
|
|
794
|
+
});
|
|
795
|
+
};
|
|
796
|
+
/**
|
|
797
|
+
* List issue property values for a workitem
|
|
798
|
+
* List issue property values for a workitem
|
|
799
|
+
*/
|
|
800
|
+
WorkItemPropertiesApi.prototype.listIssuePropertyValuesForAWorkitem = function (requestParameters, initOverrides) {
|
|
801
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
802
|
+
var response;
|
|
803
|
+
return __generator(this, function (_a) {
|
|
804
|
+
switch (_a.label) {
|
|
805
|
+
case 0: return [4 /*yield*/, this.listIssuePropertyValuesForAWorkitemRaw(requestParameters, initOverrides)];
|
|
806
|
+
case 1:
|
|
807
|
+
response = _a.sent();
|
|
808
|
+
return [4 /*yield*/, response.value()];
|
|
809
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
810
|
+
}
|
|
811
|
+
});
|
|
812
|
+
});
|
|
813
|
+
};
|
|
732
814
|
/**
|
|
733
815
|
* Get issue property by id
|
|
734
816
|
* Get issue property by id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|
|
@@ -2,19 +2,25 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
|
-
import type { Issue, IssueRequest, IssueSearch, PaginatedWorkItemResponse, PatchedIssueRequest } from '../models/index';
|
|
12
|
+
import type { Issue, IssueDetail, IssueRelation, IssueRelationCreateRequest, IssueRelationRemoveRequest, IssueRelationResponse, IssueRequest, IssueSearch, PaginatedWorkItemResponse, PatchedIssueRequest } from '../models/index';
|
|
13
13
|
export interface CreateWorkItemRequest {
|
|
14
14
|
projectId: string;
|
|
15
15
|
slug: string;
|
|
16
16
|
issueRequest: IssueRequest;
|
|
17
17
|
}
|
|
18
|
+
export interface CreateWorkItemRelationRequest {
|
|
19
|
+
issueId: string;
|
|
20
|
+
projectId: string;
|
|
21
|
+
slug: string;
|
|
22
|
+
issueRelationCreateRequest: IssueRelationCreateRequest;
|
|
23
|
+
}
|
|
18
24
|
export interface DeleteWorkItemRequest {
|
|
19
25
|
pk: string;
|
|
20
26
|
projectId: string;
|
|
@@ -25,6 +31,16 @@ export interface GetWorkspaceWorkItemRequest {
|
|
|
25
31
|
projectIdentifier: string;
|
|
26
32
|
slug: string;
|
|
27
33
|
}
|
|
34
|
+
export interface ListWorkItemRelationsRequest {
|
|
35
|
+
issueId: string;
|
|
36
|
+
projectId: string;
|
|
37
|
+
slug: string;
|
|
38
|
+
cursor?: string;
|
|
39
|
+
expand?: string;
|
|
40
|
+
fields?: string;
|
|
41
|
+
orderBy?: string;
|
|
42
|
+
perPage?: number;
|
|
43
|
+
}
|
|
28
44
|
export interface ListWorkItemsRequest {
|
|
29
45
|
projectId: string;
|
|
30
46
|
slug: string;
|
|
@@ -36,6 +52,12 @@ export interface ListWorkItemsRequest {
|
|
|
36
52
|
orderBy?: string;
|
|
37
53
|
perPage?: number;
|
|
38
54
|
}
|
|
55
|
+
export interface RemoveWorkItemRelationRequest {
|
|
56
|
+
issueId: string;
|
|
57
|
+
projectId: string;
|
|
58
|
+
slug: string;
|
|
59
|
+
issueRelationRemoveRequest: IssueRelationRemoveRequest;
|
|
60
|
+
}
|
|
39
61
|
export interface RetrieveWorkItemRequest {
|
|
40
62
|
pk: string;
|
|
41
63
|
projectId: string;
|
|
@@ -73,6 +95,16 @@ export declare class WorkItemsApi extends runtime.BaseAPI {
|
|
|
73
95
|
* Create work item
|
|
74
96
|
*/
|
|
75
97
|
createWorkItem(requestParameters: CreateWorkItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Issue>;
|
|
98
|
+
/**
|
|
99
|
+
* Create relationships between work items. Supports various relation types including blocking, blocked_by, duplicate, relates_to, start_before, start_after, finish_before, and finish_after.
|
|
100
|
+
* Create work item relation
|
|
101
|
+
*/
|
|
102
|
+
createWorkItemRelationRaw(requestParameters: CreateWorkItemRelationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<IssueRelation>>>;
|
|
103
|
+
/**
|
|
104
|
+
* Create relationships between work items. Supports various relation types including blocking, blocked_by, duplicate, relates_to, start_before, start_after, finish_before, and finish_after.
|
|
105
|
+
* Create work item relation
|
|
106
|
+
*/
|
|
107
|
+
createWorkItemRelation(requestParameters: CreateWorkItemRelationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<IssueRelation>>;
|
|
76
108
|
/**
|
|
77
109
|
* Permanently delete an existing work item from the project. Only admins or the item creator can perform this action.
|
|
78
110
|
* Delete work item
|
|
@@ -93,6 +125,16 @@ export declare class WorkItemsApi extends runtime.BaseAPI {
|
|
|
93
125
|
* Retrieve work item by identifiers
|
|
94
126
|
*/
|
|
95
127
|
getWorkspaceWorkItem(requestParameters: GetWorkspaceWorkItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Issue>;
|
|
128
|
+
/**
|
|
129
|
+
* Retrieve all relationships for a work item including blocking, blocked_by, duplicate, relates_to, start_before, start_after, finish_before, and finish_after relations.
|
|
130
|
+
* List work item relations
|
|
131
|
+
*/
|
|
132
|
+
listWorkItemRelationsRaw(requestParameters: ListWorkItemRelationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IssueRelationResponse>>;
|
|
133
|
+
/**
|
|
134
|
+
* Retrieve all relationships for a work item including blocking, blocked_by, duplicate, relates_to, start_before, start_after, finish_before, and finish_after relations.
|
|
135
|
+
* List work item relations
|
|
136
|
+
*/
|
|
137
|
+
listWorkItemRelations(requestParameters: ListWorkItemRelationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IssueRelationResponse>;
|
|
96
138
|
/**
|
|
97
139
|
* Retrieve a paginated list of all work items in a project. Supports filtering, ordering, and field selection through query parameters.
|
|
98
140
|
* List work items
|
|
@@ -103,16 +145,26 @@ export declare class WorkItemsApi extends runtime.BaseAPI {
|
|
|
103
145
|
* List work items
|
|
104
146
|
*/
|
|
105
147
|
listWorkItems(requestParameters: ListWorkItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedWorkItemResponse>;
|
|
148
|
+
/**
|
|
149
|
+
* Remove a relationship between work items by specifying the related work item ID.
|
|
150
|
+
* Remove work item relation
|
|
151
|
+
*/
|
|
152
|
+
removeWorkItemRelationRaw(requestParameters: RemoveWorkItemRelationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
153
|
+
/**
|
|
154
|
+
* Remove a relationship between work items by specifying the related work item ID.
|
|
155
|
+
* Remove work item relation
|
|
156
|
+
*/
|
|
157
|
+
removeWorkItemRelation(requestParameters: RemoveWorkItemRelationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
106
158
|
/**
|
|
107
159
|
* Retrieve details of a specific work item.
|
|
108
160
|
* Retrieve work item
|
|
109
161
|
*/
|
|
110
|
-
retrieveWorkItemRaw(requestParameters: RetrieveWorkItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
162
|
+
retrieveWorkItemRaw(requestParameters: RetrieveWorkItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IssueDetail>>;
|
|
111
163
|
/**
|
|
112
164
|
* Retrieve details of a specific work item.
|
|
113
165
|
* Retrieve work item
|
|
114
166
|
*/
|
|
115
|
-
retrieveWorkItem(requestParameters: RetrieveWorkItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
167
|
+
retrieveWorkItem(requestParameters: RetrieveWorkItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IssueDetail>;
|
|
116
168
|
/**
|
|
117
169
|
* Perform semantic search across issue names, sequence IDs, and project identifiers.
|
|
118
170
|
*/
|