@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
|
@@ -2,13 +2,13 @@
|
|
|
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
|
-
import type {
|
|
11
|
+
import type { AccessBd4Enum } from './AccessBd4Enum';
|
|
12
12
|
/**
|
|
13
13
|
* Serializer for creating work item comments.
|
|
14
14
|
*
|
|
@@ -32,10 +32,10 @@ export interface IssueCommentCreateRequest {
|
|
|
32
32
|
commentHtml?: string;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
|
-
* @type {
|
|
35
|
+
* @type {AccessBd4Enum}
|
|
36
36
|
* @memberof IssueCommentCreateRequest
|
|
37
37
|
*/
|
|
38
|
-
access?:
|
|
38
|
+
access?: AccessBd4Enum;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @type {string}
|
|
@@ -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.
|
|
@@ -17,7 +17,7 @@ exports.IssueCommentCreateRequestFromJSON = IssueCommentCreateRequestFromJSON;
|
|
|
17
17
|
exports.IssueCommentCreateRequestFromJSONTyped = IssueCommentCreateRequestFromJSONTyped;
|
|
18
18
|
exports.IssueCommentCreateRequestToJSON = IssueCommentCreateRequestToJSON;
|
|
19
19
|
exports.IssueCommentCreateRequestToJSONTyped = IssueCommentCreateRequestToJSONTyped;
|
|
20
|
-
var
|
|
20
|
+
var AccessBd4Enum_1 = require("./AccessBd4Enum");
|
|
21
21
|
/**
|
|
22
22
|
* Check if a given object implements the IssueCommentCreateRequest interface.
|
|
23
23
|
*/
|
|
@@ -34,7 +34,7 @@ function IssueCommentCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return {
|
|
35
35
|
'commentJson': json['comment_json'] == null ? undefined : json['comment_json'],
|
|
36
36
|
'commentHtml': json['comment_html'] == null ? undefined : json['comment_html'],
|
|
37
|
-
'access': json['access'] == null ? undefined : (0,
|
|
37
|
+
'access': json['access'] == null ? undefined : (0, AccessBd4Enum_1.AccessBd4EnumFromJSON)(json['access']),
|
|
38
38
|
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
39
39
|
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
40
40
|
};
|
|
@@ -50,7 +50,7 @@ function IssueCommentCreateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
50
50
|
return {
|
|
51
51
|
'comment_json': value['commentJson'],
|
|
52
52
|
'comment_html': value['commentHtml'],
|
|
53
|
-
'access': (0,
|
|
53
|
+
'access': (0, AccessBd4Enum_1.AccessBd4EnumToJSON)(value['access']),
|
|
54
54
|
'external_source': value['externalSource'],
|
|
55
55
|
'external_id': value['externalId'],
|
|
56
56
|
};
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Plane REST API
|
|
3
|
+
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
|
+
*
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
|
+
* Contact: support@plane.so
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import type { PriorityEnum } from './PriorityEnum';
|
|
12
|
+
import type { Label } from './Label';
|
|
13
|
+
import type { UserLite } from './UserLite';
|
|
14
|
+
/**
|
|
15
|
+
* Comprehensive work item serializer with full relationship management.
|
|
16
|
+
*
|
|
17
|
+
* Handles complete work item lifecycle including assignees, labels, validation,
|
|
18
|
+
* and related model updates. Supports dynamic field expansion and HTML content processing.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface IssueDetail
|
|
21
|
+
*/
|
|
22
|
+
export interface IssueDetail {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof IssueDetail
|
|
27
|
+
*/
|
|
28
|
+
readonly id?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<UserLite>}
|
|
32
|
+
* @memberof IssueDetail
|
|
33
|
+
*/
|
|
34
|
+
assignees: Array<UserLite>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<Label>}
|
|
38
|
+
* @memberof IssueDetail
|
|
39
|
+
*/
|
|
40
|
+
labels: Array<Label>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof IssueDetail
|
|
45
|
+
*/
|
|
46
|
+
typeId?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Date}
|
|
50
|
+
* @memberof IssueDetail
|
|
51
|
+
*/
|
|
52
|
+
readonly createdAt?: Date;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Date}
|
|
56
|
+
* @memberof IssueDetail
|
|
57
|
+
*/
|
|
58
|
+
readonly updatedAt?: Date;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Date}
|
|
62
|
+
* @memberof IssueDetail
|
|
63
|
+
*/
|
|
64
|
+
deletedAt?: Date | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof IssueDetail
|
|
69
|
+
*/
|
|
70
|
+
point?: number | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof IssueDetail
|
|
75
|
+
*/
|
|
76
|
+
name: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof IssueDetail
|
|
81
|
+
*/
|
|
82
|
+
descriptionHtml?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof IssueDetail
|
|
87
|
+
*/
|
|
88
|
+
descriptionStripped?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof IssueDetail
|
|
93
|
+
*/
|
|
94
|
+
readonly descriptionBinary?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {PriorityEnum}
|
|
98
|
+
* @memberof IssueDetail
|
|
99
|
+
*/
|
|
100
|
+
priority?: PriorityEnum;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {Date}
|
|
104
|
+
* @memberof IssueDetail
|
|
105
|
+
*/
|
|
106
|
+
startDate?: Date | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {Date}
|
|
110
|
+
* @memberof IssueDetail
|
|
111
|
+
*/
|
|
112
|
+
targetDate?: Date | null;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {number}
|
|
116
|
+
* @memberof IssueDetail
|
|
117
|
+
*/
|
|
118
|
+
sequenceId?: number;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {number}
|
|
122
|
+
* @memberof IssueDetail
|
|
123
|
+
*/
|
|
124
|
+
sortOrder?: number;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {Date}
|
|
128
|
+
* @memberof IssueDetail
|
|
129
|
+
*/
|
|
130
|
+
completedAt?: Date | null;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {Date}
|
|
134
|
+
* @memberof IssueDetail
|
|
135
|
+
*/
|
|
136
|
+
archivedAt?: Date | null;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {boolean}
|
|
140
|
+
* @memberof IssueDetail
|
|
141
|
+
*/
|
|
142
|
+
isDraft?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof IssueDetail
|
|
147
|
+
*/
|
|
148
|
+
externalSource?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {string}
|
|
152
|
+
* @memberof IssueDetail
|
|
153
|
+
*/
|
|
154
|
+
externalId?: string | null;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof IssueDetail
|
|
159
|
+
*/
|
|
160
|
+
createdBy?: string | null;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof IssueDetail
|
|
165
|
+
*/
|
|
166
|
+
readonly updatedBy?: string | null;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @type {string}
|
|
170
|
+
* @memberof IssueDetail
|
|
171
|
+
*/
|
|
172
|
+
readonly project?: string;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {string}
|
|
176
|
+
* @memberof IssueDetail
|
|
177
|
+
*/
|
|
178
|
+
readonly workspace?: string;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {string}
|
|
182
|
+
* @memberof IssueDetail
|
|
183
|
+
*/
|
|
184
|
+
parent?: string | null;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof IssueDetail
|
|
189
|
+
*/
|
|
190
|
+
state?: string | null;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof IssueDetail
|
|
195
|
+
*/
|
|
196
|
+
estimatePoint?: string | null;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {string}
|
|
200
|
+
* @memberof IssueDetail
|
|
201
|
+
*/
|
|
202
|
+
type?: string | null;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Check if a given object implements the IssueDetail interface.
|
|
206
|
+
*/
|
|
207
|
+
export declare function instanceOfIssueDetail(value: object): value is IssueDetail;
|
|
208
|
+
export declare function IssueDetailFromJSON(json: any): IssueDetail;
|
|
209
|
+
export declare function IssueDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueDetail;
|
|
210
|
+
export declare function IssueDetailToJSON(json: any): IssueDetail;
|
|
211
|
+
export declare function IssueDetailToJSONTyped(value?: Omit<IssueDetail, 'id' | 'created_at' | 'updated_at' | 'description_binary' | 'updated_by' | 'project' | 'workspace'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Plane REST API
|
|
6
|
+
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
|
+
*
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
|
+
* Contact: support@plane.so
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfIssueDetail = instanceOfIssueDetail;
|
|
16
|
+
exports.IssueDetailFromJSON = IssueDetailFromJSON;
|
|
17
|
+
exports.IssueDetailFromJSONTyped = IssueDetailFromJSONTyped;
|
|
18
|
+
exports.IssueDetailToJSON = IssueDetailToJSON;
|
|
19
|
+
exports.IssueDetailToJSONTyped = IssueDetailToJSONTyped;
|
|
20
|
+
var PriorityEnum_1 = require("./PriorityEnum");
|
|
21
|
+
var Label_1 = require("./Label");
|
|
22
|
+
var UserLite_1 = require("./UserLite");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the IssueDetail interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfIssueDetail(value) {
|
|
27
|
+
if (!('assignees' in value) || value['assignees'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('labels' in value) || value['labels'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function IssueDetailFromJSON(json) {
|
|
36
|
+
return IssueDetailFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function IssueDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
44
|
+
'assignees': (json['assignees'].map(UserLite_1.UserLiteFromJSON)),
|
|
45
|
+
'labels': (json['labels'].map(Label_1.LabelFromJSON)),
|
|
46
|
+
'typeId': json['type_id'] == null ? undefined : json['type_id'],
|
|
47
|
+
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
48
|
+
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
49
|
+
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
|
50
|
+
'point': json['point'] == null ? undefined : json['point'],
|
|
51
|
+
'name': json['name'],
|
|
52
|
+
'descriptionHtml': json['description_html'] == null ? undefined : json['description_html'],
|
|
53
|
+
'descriptionStripped': json['description_stripped'] == null ? undefined : json['description_stripped'],
|
|
54
|
+
'descriptionBinary': json['description_binary'] == null ? undefined : json['description_binary'],
|
|
55
|
+
'priority': json['priority'] == null ? undefined : (0, PriorityEnum_1.PriorityEnumFromJSON)(json['priority']),
|
|
56
|
+
'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
|
|
57
|
+
'targetDate': json['target_date'] == null ? undefined : (new Date(json['target_date'])),
|
|
58
|
+
'sequenceId': json['sequence_id'] == null ? undefined : json['sequence_id'],
|
|
59
|
+
'sortOrder': json['sort_order'] == null ? undefined : json['sort_order'],
|
|
60
|
+
'completedAt': json['completed_at'] == null ? undefined : (new Date(json['completed_at'])),
|
|
61
|
+
'archivedAt': json['archived_at'] == null ? undefined : (new Date(json['archived_at'])),
|
|
62
|
+
'isDraft': json['is_draft'] == null ? undefined : json['is_draft'],
|
|
63
|
+
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
64
|
+
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
65
|
+
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
66
|
+
'updatedBy': json['updated_by'] == null ? undefined : json['updated_by'],
|
|
67
|
+
'project': json['project'] == null ? undefined : json['project'],
|
|
68
|
+
'workspace': json['workspace'] == null ? undefined : json['workspace'],
|
|
69
|
+
'parent': json['parent'] == null ? undefined : json['parent'],
|
|
70
|
+
'state': json['state'] == null ? undefined : json['state'],
|
|
71
|
+
'estimatePoint': json['estimate_point'] == null ? undefined : json['estimate_point'],
|
|
72
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function IssueDetailToJSON(json) {
|
|
76
|
+
return IssueDetailToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
function IssueDetailToJSONTyped(value, ignoreDiscriminator) {
|
|
79
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
'assignees': (value['assignees'].map(UserLite_1.UserLiteToJSON)),
|
|
85
|
+
'labels': (value['labels'].map(Label_1.LabelToJSON)),
|
|
86
|
+
'type_id': value['typeId'],
|
|
87
|
+
'deleted_at': value['deletedAt'] == null ? undefined : (value['deletedAt'].toISOString()),
|
|
88
|
+
'point': value['point'],
|
|
89
|
+
'name': value['name'],
|
|
90
|
+
'description_html': value['descriptionHtml'],
|
|
91
|
+
'description_stripped': value['descriptionStripped'],
|
|
92
|
+
'priority': (0, PriorityEnum_1.PriorityEnumToJSON)(value['priority']),
|
|
93
|
+
'start_date': value['startDate'] == null ? undefined : (value['startDate'].toISOString().substring(0, 10)),
|
|
94
|
+
'target_date': value['targetDate'] == null ? undefined : (value['targetDate'].toISOString().substring(0, 10)),
|
|
95
|
+
'sequence_id': value['sequenceId'],
|
|
96
|
+
'sort_order': value['sortOrder'],
|
|
97
|
+
'completed_at': value['completedAt'] == null ? undefined : (value['completedAt'].toISOString()),
|
|
98
|
+
'archived_at': value['archivedAt'] == null ? undefined : (value['archivedAt'].toISOString().substring(0, 10)),
|
|
99
|
+
'is_draft': value['isDraft'],
|
|
100
|
+
'external_source': value['externalSource'],
|
|
101
|
+
'external_id': value['externalId'],
|
|
102
|
+
'created_by': value['createdBy'],
|
|
103
|
+
'parent': value['parent'],
|
|
104
|
+
'state': value['state'],
|
|
105
|
+
'estimate_point': value['estimatePoint'],
|
|
106
|
+
'type': value['type'],
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -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.
|
|
@@ -10,10 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { PriorityEnum } from './PriorityEnum';
|
|
12
12
|
import type { StateLite } from './StateLite';
|
|
13
|
-
import type { LabelLite } from './LabelLite';
|
|
14
13
|
import type { CycleLite } from './CycleLite';
|
|
15
14
|
import type { ModuleLite } from './ModuleLite';
|
|
16
|
-
import type { UserLite } from './UserLite';
|
|
17
15
|
/**
|
|
18
16
|
* Extended work item serializer with full relationship expansion.
|
|
19
17
|
*
|
|
@@ -43,16 +41,16 @@ export interface IssueExpand {
|
|
|
43
41
|
readonly module?: ModuleLite;
|
|
44
42
|
/**
|
|
45
43
|
*
|
|
46
|
-
* @type {
|
|
44
|
+
* @type {string}
|
|
47
45
|
* @memberof IssueExpand
|
|
48
46
|
*/
|
|
49
|
-
readonly labels?:
|
|
47
|
+
readonly labels?: string;
|
|
50
48
|
/**
|
|
51
49
|
*
|
|
52
|
-
* @type {
|
|
50
|
+
* @type {string}
|
|
53
51
|
* @memberof IssueExpand
|
|
54
52
|
*/
|
|
55
|
-
readonly assignees?:
|
|
53
|
+
readonly assignees?: string;
|
|
56
54
|
/**
|
|
57
55
|
*
|
|
58
56
|
* @type {StateLite}
|
|
@@ -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.
|
|
@@ -19,10 +19,8 @@ exports.IssueExpandToJSON = IssueExpandToJSON;
|
|
|
19
19
|
exports.IssueExpandToJSONTyped = IssueExpandToJSONTyped;
|
|
20
20
|
var PriorityEnum_1 = require("./PriorityEnum");
|
|
21
21
|
var StateLite_1 = require("./StateLite");
|
|
22
|
-
var LabelLite_1 = require("./LabelLite");
|
|
23
22
|
var CycleLite_1 = require("./CycleLite");
|
|
24
23
|
var ModuleLite_1 = require("./ModuleLite");
|
|
25
|
-
var UserLite_1 = require("./UserLite");
|
|
26
24
|
/**
|
|
27
25
|
* Check if a given object implements the IssueExpand interface.
|
|
28
26
|
*/
|
|
@@ -42,8 +40,8 @@ function IssueExpandFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
40
|
'id': json['id'] == null ? undefined : json['id'],
|
|
43
41
|
'cycle': json['cycle'] == null ? undefined : (0, CycleLite_1.CycleLiteFromJSON)(json['cycle']),
|
|
44
42
|
'module': json['module'] == null ? undefined : (0, ModuleLite_1.ModuleLiteFromJSON)(json['module']),
|
|
45
|
-
'labels': json['labels'] == null ? undefined :
|
|
46
|
-
'assignees': json['assignees'] == null ? undefined :
|
|
43
|
+
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
44
|
+
'assignees': json['assignees'] == null ? undefined : json['assignees'],
|
|
47
45
|
'state': json['state'] == null ? undefined : (0, StateLite_1.StateLiteFromJSON)(json['state']),
|
|
48
46
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
49
47
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
@@ -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.
|
package/dist/models/IssueLink.js
CHANGED
|
@@ -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,13 +2,13 @@
|
|
|
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
|
-
import type {
|
|
11
|
+
import type { IssuePropertyAPIRelationTypeEnum } from './IssuePropertyAPIRelationTypeEnum';
|
|
12
12
|
import type { PropertyTypeEnum } from './PropertyTypeEnum';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
@@ -30,10 +30,10 @@ export interface IssuePropertyAPI {
|
|
|
30
30
|
readonly deletedAt?: Date | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {IssuePropertyAPIRelationTypeEnum}
|
|
34
34
|
* @memberof IssuePropertyAPI
|
|
35
35
|
*/
|
|
36
|
-
relationType?:
|
|
36
|
+
relationType?: IssuePropertyAPIRelationTypeEnum | null;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {Date}
|
|
@@ -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.
|
|
@@ -17,7 +17,7 @@ exports.IssuePropertyAPIFromJSON = IssuePropertyAPIFromJSON;
|
|
|
17
17
|
exports.IssuePropertyAPIFromJSONTyped = IssuePropertyAPIFromJSONTyped;
|
|
18
18
|
exports.IssuePropertyAPIToJSON = IssuePropertyAPIToJSON;
|
|
19
19
|
exports.IssuePropertyAPIToJSONTyped = IssuePropertyAPIToJSONTyped;
|
|
20
|
-
var
|
|
20
|
+
var IssuePropertyAPIRelationTypeEnum_1 = require("./IssuePropertyAPIRelationTypeEnum");
|
|
21
21
|
var PropertyTypeEnum_1 = require("./PropertyTypeEnum");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the IssuePropertyAPI interface.
|
|
@@ -39,7 +39,7 @@ function IssuePropertyAPIFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
return {
|
|
40
40
|
'id': json['id'] == null ? undefined : json['id'],
|
|
41
41
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
|
42
|
-
'relationType': json['relation_type'] == null ? undefined : (0,
|
|
42
|
+
'relationType': json['relation_type'] == null ? undefined : (0, IssuePropertyAPIRelationTypeEnum_1.IssuePropertyAPIRelationTypeEnumFromJSON)(json['relation_type']),
|
|
43
43
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
44
44
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
45
45
|
'name': json['name'] == null ? undefined : json['name'],
|
|
@@ -72,7 +72,7 @@ function IssuePropertyAPIToJSONTyped(value, ignoreDiscriminator) {
|
|
|
72
72
|
return value;
|
|
73
73
|
}
|
|
74
74
|
return {
|
|
75
|
-
'relation_type': (0,
|
|
75
|
+
'relation_type': (0, IssuePropertyAPIRelationTypeEnum_1.IssuePropertyAPIRelationTypeEnumToJSON)(value['relationType']),
|
|
76
76
|
'display_name': value['displayName'],
|
|
77
77
|
'description': value['description'],
|
|
78
78
|
'property_type': (0, PropertyTypeEnum_1.PropertyTypeEnumToJSON)(value['propertyType']),
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Plane REST API
|
|
3
|
+
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
|
+
*
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
|
+
* Contact: support@plane.so
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* * `ISSUE` - Issue
|
|
13
|
+
* * `USER` - User
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const IssuePropertyAPIRelationTypeEnum: {
|
|
17
|
+
readonly Issue: "ISSUE";
|
|
18
|
+
readonly User: "USER";
|
|
19
|
+
};
|
|
20
|
+
export type IssuePropertyAPIRelationTypeEnum = typeof IssuePropertyAPIRelationTypeEnum[keyof typeof IssuePropertyAPIRelationTypeEnum];
|
|
21
|
+
export declare function instanceOfIssuePropertyAPIRelationTypeEnum(value: any): boolean;
|
|
22
|
+
export declare function IssuePropertyAPIRelationTypeEnumFromJSON(json: any): IssuePropertyAPIRelationTypeEnum;
|
|
23
|
+
export declare function IssuePropertyAPIRelationTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssuePropertyAPIRelationTypeEnum;
|
|
24
|
+
export declare function IssuePropertyAPIRelationTypeEnumToJSON(value?: IssuePropertyAPIRelationTypeEnum | null): any;
|
|
25
|
+
export declare function IssuePropertyAPIRelationTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): IssuePropertyAPIRelationTypeEnum;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Plane REST API
|
|
6
|
+
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
|
+
*
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
|
+
* Contact: support@plane.so
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.IssuePropertyAPIRelationTypeEnum = void 0;
|
|
16
|
+
exports.instanceOfIssuePropertyAPIRelationTypeEnum = instanceOfIssuePropertyAPIRelationTypeEnum;
|
|
17
|
+
exports.IssuePropertyAPIRelationTypeEnumFromJSON = IssuePropertyAPIRelationTypeEnumFromJSON;
|
|
18
|
+
exports.IssuePropertyAPIRelationTypeEnumFromJSONTyped = IssuePropertyAPIRelationTypeEnumFromJSONTyped;
|
|
19
|
+
exports.IssuePropertyAPIRelationTypeEnumToJSON = IssuePropertyAPIRelationTypeEnumToJSON;
|
|
20
|
+
exports.IssuePropertyAPIRelationTypeEnumToJSONTyped = IssuePropertyAPIRelationTypeEnumToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* * `ISSUE` - Issue
|
|
23
|
+
* * `USER` - User
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.IssuePropertyAPIRelationTypeEnum = {
|
|
27
|
+
Issue: 'ISSUE',
|
|
28
|
+
User: 'USER'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfIssuePropertyAPIRelationTypeEnum(value) {
|
|
31
|
+
for (var key in exports.IssuePropertyAPIRelationTypeEnum) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.IssuePropertyAPIRelationTypeEnum, key)) {
|
|
33
|
+
if (exports.IssuePropertyAPIRelationTypeEnum[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function IssuePropertyAPIRelationTypeEnumFromJSON(json) {
|
|
41
|
+
return IssuePropertyAPIRelationTypeEnumFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function IssuePropertyAPIRelationTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function IssuePropertyAPIRelationTypeEnumToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function IssuePropertyAPIRelationTypeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|