@makeplane/plane-node-sdk 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish-node-sdk.yml +1 -2
- package/.openapi-generator/FILES +16 -2
- 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 +17 -1
- package/dist/apis/WorkItemPropertiesApi.js +83 -1
- 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 +54 -2
- package/dist/apis/WorkItemsApi.js +261 -1
- 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 +1 -1
- package/dist/models/IssueDetail.js +1 -1
- package/dist/models/IssueExpand.d.ts +1 -1
- package/dist/models/IssueExpand.js +1 -1
- 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 +1 -1
- package/dist/models/IssuePropertyValueAPIDetail.js +1 -1
- 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 +1 -1
- 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 +13 -2
- package/dist/models/index.js +13 -2
- 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 +78 -1
- package/src/apis/WorkItemTypesApi.ts +1 -1
- package/src/apis/WorkItemWorklogsApi.ts +1 -1
- package/src/apis/WorkItemsApi.ts +266 -1
- 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 +1 -1
- package/src/models/IssueExpand.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +13 -2
- package/src/runtime.ts +1 -1
- package/dist/models/AccessEnum.d.ts +0 -25
- package/dist/models/AccessEnum.js +0 -51
- 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/RelationTypeEnum.ts +0 -53
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
import { mapValues } from '../runtime';
|
|
15
|
-
import type {
|
|
15
|
+
import type { AccessBd4Enum } from './AccessBd4Enum';
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
17
|
+
AccessBd4EnumFromJSON,
|
|
18
|
+
AccessBd4EnumFromJSONTyped,
|
|
19
|
+
AccessBd4EnumToJSON,
|
|
20
|
+
AccessBd4EnumToJSONTyped,
|
|
21
|
+
} from './AccessBd4Enum';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Serializer for creating work item comments.
|
|
@@ -43,10 +43,10 @@ export interface IssueCommentCreateRequest {
|
|
|
43
43
|
commentHtml?: string;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {
|
|
46
|
+
* @type {AccessBd4Enum}
|
|
47
47
|
* @memberof IssueCommentCreateRequest
|
|
48
48
|
*/
|
|
49
|
-
access?:
|
|
49
|
+
access?: AccessBd4Enum;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {string}
|
|
@@ -82,7 +82,7 @@ export function IssueCommentCreateRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
82
82
|
|
|
83
83
|
'commentJson': json['comment_json'] == null ? undefined : json['comment_json'],
|
|
84
84
|
'commentHtml': json['comment_html'] == null ? undefined : json['comment_html'],
|
|
85
|
-
'access': json['access'] == null ? undefined :
|
|
85
|
+
'access': json['access'] == null ? undefined : AccessBd4EnumFromJSON(json['access']),
|
|
86
86
|
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
87
87
|
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
88
88
|
};
|
|
@@ -101,7 +101,7 @@ export function IssueCommentCreateRequestToJSONTyped(value?: IssueCommentCreateR
|
|
|
101
101
|
|
|
102
102
|
'comment_json': value['commentJson'],
|
|
103
103
|
'comment_html': value['commentHtml'],
|
|
104
|
-
'access':
|
|
104
|
+
'access': AccessBd4EnumToJSON(value['access']),
|
|
105
105
|
'external_source': value['externalSource'],
|
|
106
106
|
'external_id': value['externalId'],
|
|
107
107
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
package/src/models/IssueLink.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
import { mapValues } from '../runtime';
|
|
15
|
-
import type {
|
|
15
|
+
import type { IssuePropertyAPIRelationTypeEnum } from './IssuePropertyAPIRelationTypeEnum';
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
17
|
+
IssuePropertyAPIRelationTypeEnumFromJSON,
|
|
18
|
+
IssuePropertyAPIRelationTypeEnumFromJSONTyped,
|
|
19
|
+
IssuePropertyAPIRelationTypeEnumToJSON,
|
|
20
|
+
IssuePropertyAPIRelationTypeEnumToJSONTyped,
|
|
21
|
+
} from './IssuePropertyAPIRelationTypeEnum';
|
|
22
22
|
import type { PropertyTypeEnum } from './PropertyTypeEnum';
|
|
23
23
|
import {
|
|
24
24
|
PropertyTypeEnumFromJSON,
|
|
@@ -47,10 +47,10 @@ export interface IssuePropertyAPI {
|
|
|
47
47
|
readonly deletedAt?: Date | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {
|
|
50
|
+
* @type {IssuePropertyAPIRelationTypeEnum}
|
|
51
51
|
* @memberof IssuePropertyAPI
|
|
52
52
|
*/
|
|
53
|
-
relationType?:
|
|
53
|
+
relationType?: IssuePropertyAPIRelationTypeEnum | null;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {Date}
|
|
@@ -202,7 +202,7 @@ export function IssuePropertyAPIFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
202
202
|
|
|
203
203
|
'id': json['id'] == null ? undefined : json['id'],
|
|
204
204
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
|
205
|
-
'relationType': json['relation_type'] == null ? undefined :
|
|
205
|
+
'relationType': json['relation_type'] == null ? undefined : IssuePropertyAPIRelationTypeEnumFromJSON(json['relation_type']),
|
|
206
206
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
207
207
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
208
208
|
'name': json['name'] == null ? undefined : json['name'],
|
|
@@ -238,7 +238,7 @@ export function IssuePropertyAPIToJSONTyped(value?: Omit<IssuePropertyAPI, 'id'|
|
|
|
238
238
|
|
|
239
239
|
return {
|
|
240
240
|
|
|
241
|
-
'relation_type':
|
|
241
|
+
'relation_type': IssuePropertyAPIRelationTypeEnumToJSON(value['relationType']),
|
|
242
242
|
'display_name': value['displayName'],
|
|
243
243
|
'description': value['description'],
|
|
244
244
|
'property_type': PropertyTypeEnumToJSON(value['propertyType']),
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
* * `ISSUE` - Issue
|
|
17
|
+
* * `USER` - User
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const IssuePropertyAPIRelationTypeEnum = {
|
|
21
|
+
Issue: 'ISSUE',
|
|
22
|
+
User: 'USER'
|
|
23
|
+
} as const;
|
|
24
|
+
export type IssuePropertyAPIRelationTypeEnum = typeof IssuePropertyAPIRelationTypeEnum[keyof typeof IssuePropertyAPIRelationTypeEnum];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfIssuePropertyAPIRelationTypeEnum(value: any): boolean {
|
|
28
|
+
for (const key in IssuePropertyAPIRelationTypeEnum) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(IssuePropertyAPIRelationTypeEnum, key)) {
|
|
30
|
+
if (IssuePropertyAPIRelationTypeEnum[key as keyof typeof IssuePropertyAPIRelationTypeEnum] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function IssuePropertyAPIRelationTypeEnumFromJSON(json: any): IssuePropertyAPIRelationTypeEnum {
|
|
39
|
+
return IssuePropertyAPIRelationTypeEnumFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function IssuePropertyAPIRelationTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssuePropertyAPIRelationTypeEnum {
|
|
43
|
+
return json as IssuePropertyAPIRelationTypeEnum;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function IssuePropertyAPIRelationTypeEnumToJSON(value?: IssuePropertyAPIRelationTypeEnum | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function IssuePropertyAPIRelationTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): IssuePropertyAPIRelationTypeEnum {
|
|
51
|
+
return value as IssuePropertyAPIRelationTypeEnum;
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
import { mapValues } from '../runtime';
|
|
15
|
-
import type {
|
|
15
|
+
import type { IssuePropertyAPIRelationTypeEnum } from './IssuePropertyAPIRelationTypeEnum';
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
17
|
+
IssuePropertyAPIRelationTypeEnumFromJSON,
|
|
18
|
+
IssuePropertyAPIRelationTypeEnumFromJSONTyped,
|
|
19
|
+
IssuePropertyAPIRelationTypeEnumToJSON,
|
|
20
|
+
IssuePropertyAPIRelationTypeEnumToJSONTyped,
|
|
21
|
+
} from './IssuePropertyAPIRelationTypeEnum';
|
|
22
22
|
import type { PropertyTypeEnum } from './PropertyTypeEnum';
|
|
23
23
|
import {
|
|
24
24
|
PropertyTypeEnumFromJSON,
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
export interface IssuePropertyAPIRequest {
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {IssuePropertyAPIRelationTypeEnum}
|
|
39
39
|
* @memberof IssuePropertyAPIRequest
|
|
40
40
|
*/
|
|
41
|
-
relationType?:
|
|
41
|
+
relationType?: IssuePropertyAPIRelationTypeEnum | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
@@ -128,7 +128,7 @@ export function IssuePropertyAPIRequestFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
128
128
|
}
|
|
129
129
|
return {
|
|
130
130
|
|
|
131
|
-
'relationType': json['relation_type'] == null ? undefined :
|
|
131
|
+
'relationType': json['relation_type'] == null ? undefined : IssuePropertyAPIRelationTypeEnumFromJSON(json['relation_type']),
|
|
132
132
|
'displayName': json['display_name'],
|
|
133
133
|
'description': json['description'] == null ? undefined : json['description'],
|
|
134
134
|
'propertyType': PropertyTypeEnumFromJSON(json['property_type']),
|
|
@@ -154,7 +154,7 @@ export function IssuePropertyAPIRequestToJSONTyped(value?: IssuePropertyAPIReque
|
|
|
154
154
|
|
|
155
155
|
return {
|
|
156
156
|
|
|
157
|
-
'relation_type':
|
|
157
|
+
'relation_type': IssuePropertyAPIRelationTypeEnumToJSON(value['relationType']),
|
|
158
158
|
'display_name': value['displayName'],
|
|
159
159
|
'description': value['description'],
|
|
160
160
|
'property_type': PropertyTypeEnumToJSON(value['propertyType']),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The Plane REST API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the API Spec: 0.0.
|
|
7
|
+
* The version of the API Spec: 0.0.2
|
|
8
8
|
* Contact: support@plane.so
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated.
|
|
@@ -0,0 +1,150 @@
|
|
|
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 issue relationships showing related issue details.
|
|
17
|
+
*
|
|
18
|
+
* Provides comprehensive information about related issues including
|
|
19
|
+
* project context, sequence ID, and relationship type.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface IssueRelation
|
|
22
|
+
*/
|
|
23
|
+
export interface IssueRelation {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IssueRelation
|
|
28
|
+
*/
|
|
29
|
+
readonly id?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IssueRelation
|
|
34
|
+
*/
|
|
35
|
+
readonly projectId?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IssueRelation
|
|
40
|
+
*/
|
|
41
|
+
readonly sequenceId?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof IssueRelation
|
|
46
|
+
*/
|
|
47
|
+
readonly relationType?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof IssueRelation
|
|
52
|
+
*/
|
|
53
|
+
readonly name?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof IssueRelation
|
|
58
|
+
*/
|
|
59
|
+
readonly typeId?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof IssueRelation
|
|
64
|
+
*/
|
|
65
|
+
readonly isEpic?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof IssueRelation
|
|
70
|
+
*/
|
|
71
|
+
readonly stateId?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof IssueRelation
|
|
76
|
+
*/
|
|
77
|
+
readonly priority?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof IssueRelation
|
|
82
|
+
*/
|
|
83
|
+
readonly createdBy?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Date}
|
|
87
|
+
* @memberof IssueRelation
|
|
88
|
+
*/
|
|
89
|
+
readonly createdAt?: Date;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Date}
|
|
93
|
+
* @memberof IssueRelation
|
|
94
|
+
*/
|
|
95
|
+
readonly updatedAt?: Date;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof IssueRelation
|
|
100
|
+
*/
|
|
101
|
+
readonly updatedBy?: string | null;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Check if a given object implements the IssueRelation interface.
|
|
106
|
+
*/
|
|
107
|
+
export function instanceOfIssueRelation(value: object): value is IssueRelation {
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function IssueRelationFromJSON(json: any): IssueRelation {
|
|
112
|
+
return IssueRelationFromJSONTyped(json, false);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function IssueRelationFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueRelation {
|
|
116
|
+
if (json == null) {
|
|
117
|
+
return json;
|
|
118
|
+
}
|
|
119
|
+
return {
|
|
120
|
+
|
|
121
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
122
|
+
'projectId': json['project_id'] == null ? undefined : json['project_id'],
|
|
123
|
+
'sequenceId': json['sequence_id'] == null ? undefined : json['sequence_id'],
|
|
124
|
+
'relationType': json['relation_type'] == null ? undefined : json['relation_type'],
|
|
125
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
126
|
+
'typeId': json['type_id'] == null ? undefined : json['type_id'],
|
|
127
|
+
'isEpic': json['is_epic'] == null ? undefined : json['is_epic'],
|
|
128
|
+
'stateId': json['state_id'] == null ? undefined : json['state_id'],
|
|
129
|
+
'priority': json['priority'] == null ? undefined : json['priority'],
|
|
130
|
+
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
131
|
+
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
132
|
+
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
133
|
+
'updatedBy': json['updated_by'] == null ? undefined : json['updated_by'],
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function IssueRelationToJSON(json: any): IssueRelation {
|
|
138
|
+
return IssueRelationToJSONTyped(json, false);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function IssueRelationToJSONTyped(value?: Omit<IssueRelation, 'id'|'project_id'|'sequence_id'|'relation_type'|'name'|'type_id'|'is_epic'|'state_id'|'priority'|'created_by'|'created_at'|'updated_at'|'updated_by'> | null, ignoreDiscriminator: boolean = false): any {
|
|
142
|
+
if (value == null) {
|
|
143
|
+
return value;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
return {
|
|
147
|
+
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
* * `blocking` - Blocking
|
|
17
|
+
* * `blocked_by` - Blocked By
|
|
18
|
+
* * `duplicate` - Duplicate
|
|
19
|
+
* * `relates_to` - Relates To
|
|
20
|
+
* * `start_before` - Start Before
|
|
21
|
+
* * `start_after` - Start After
|
|
22
|
+
* * `finish_before` - Finish Before
|
|
23
|
+
* * `finish_after` - Finish After
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export const IssueRelationCreateRelationTypeEnum = {
|
|
27
|
+
Blocking: 'blocking',
|
|
28
|
+
BlockedBy: 'blocked_by',
|
|
29
|
+
Duplicate: 'duplicate',
|
|
30
|
+
RelatesTo: 'relates_to',
|
|
31
|
+
StartBefore: 'start_before',
|
|
32
|
+
StartAfter: 'start_after',
|
|
33
|
+
FinishBefore: 'finish_before',
|
|
34
|
+
FinishAfter: 'finish_after'
|
|
35
|
+
} as const;
|
|
36
|
+
export type IssueRelationCreateRelationTypeEnum = typeof IssueRelationCreateRelationTypeEnum[keyof typeof IssueRelationCreateRelationTypeEnum];
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
export function instanceOfIssueRelationCreateRelationTypeEnum(value: any): boolean {
|
|
40
|
+
for (const key in IssueRelationCreateRelationTypeEnum) {
|
|
41
|
+
if (Object.prototype.hasOwnProperty.call(IssueRelationCreateRelationTypeEnum, key)) {
|
|
42
|
+
if (IssueRelationCreateRelationTypeEnum[key as keyof typeof IssueRelationCreateRelationTypeEnum] === value) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function IssueRelationCreateRelationTypeEnumFromJSON(json: any): IssueRelationCreateRelationTypeEnum {
|
|
51
|
+
return IssueRelationCreateRelationTypeEnumFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function IssueRelationCreateRelationTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueRelationCreateRelationTypeEnum {
|
|
55
|
+
return json as IssueRelationCreateRelationTypeEnum;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function IssueRelationCreateRelationTypeEnumToJSON(value?: IssueRelationCreateRelationTypeEnum | null): any {
|
|
59
|
+
return value as any;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function IssueRelationCreateRelationTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): IssueRelationCreateRelationTypeEnum {
|
|
63
|
+
return value as IssueRelationCreateRelationTypeEnum;
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
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 { IssueRelationCreateRelationTypeEnum } from './IssueRelationCreateRelationTypeEnum';
|
|
16
|
+
import {
|
|
17
|
+
IssueRelationCreateRelationTypeEnumFromJSON,
|
|
18
|
+
IssueRelationCreateRelationTypeEnumFromJSONTyped,
|
|
19
|
+
IssueRelationCreateRelationTypeEnumToJSON,
|
|
20
|
+
IssueRelationCreateRelationTypeEnumToJSONTyped,
|
|
21
|
+
} from './IssueRelationCreateRelationTypeEnum';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Serializer for creating issue relations.
|
|
25
|
+
*
|
|
26
|
+
* Creates issue relations with the specified relation type and issues.
|
|
27
|
+
* Validates relation types and ensures proper issue ID format.
|
|
28
|
+
* @export
|
|
29
|
+
* @interface IssueRelationCreateRequest
|
|
30
|
+
*/
|
|
31
|
+
export interface IssueRelationCreateRequest {
|
|
32
|
+
/**
|
|
33
|
+
* Type of relationship between work items
|
|
34
|
+
*
|
|
35
|
+
* * `blocking` - Blocking
|
|
36
|
+
* * `blocked_by` - Blocked By
|
|
37
|
+
* * `duplicate` - Duplicate
|
|
38
|
+
* * `relates_to` - Relates To
|
|
39
|
+
* * `start_before` - Start Before
|
|
40
|
+
* * `start_after` - Start After
|
|
41
|
+
* * `finish_before` - Finish Before
|
|
42
|
+
* * `finish_after` - Finish After
|
|
43
|
+
* @type {IssueRelationCreateRelationTypeEnum}
|
|
44
|
+
* @memberof IssueRelationCreateRequest
|
|
45
|
+
*/
|
|
46
|
+
relationType: IssueRelationCreateRelationTypeEnum;
|
|
47
|
+
/**
|
|
48
|
+
* Array of work item IDs to create relations with
|
|
49
|
+
* @type {Array<string>}
|
|
50
|
+
* @memberof IssueRelationCreateRequest
|
|
51
|
+
*/
|
|
52
|
+
issues: Array<string>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the IssueRelationCreateRequest interface.
|
|
59
|
+
*/
|
|
60
|
+
export function instanceOfIssueRelationCreateRequest(value: object): value is IssueRelationCreateRequest {
|
|
61
|
+
if (!('relationType' in value) || value['relationType'] === undefined) return false;
|
|
62
|
+
if (!('issues' in value) || value['issues'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function IssueRelationCreateRequestFromJSON(json: any): IssueRelationCreateRequest {
|
|
67
|
+
return IssueRelationCreateRequestFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function IssueRelationCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueRelationCreateRequest {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'relationType': IssueRelationCreateRelationTypeEnumFromJSON(json['relation_type']),
|
|
77
|
+
'issues': json['issues'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function IssueRelationCreateRequestToJSON(json: any): IssueRelationCreateRequest {
|
|
82
|
+
return IssueRelationCreateRequestToJSONTyped(json, false);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function IssueRelationCreateRequestToJSONTyped(value?: IssueRelationCreateRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
86
|
+
if (value == null) {
|
|
87
|
+
return value;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return {
|
|
91
|
+
|
|
92
|
+
'relation_type': IssueRelationCreateRelationTypeEnumToJSON(value['relationType']),
|
|
93
|
+
'issues': value['issues'],
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|