@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
|
@@ -0,0 +1,302 @@
|
|
|
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 { PriorityEnum } from './PriorityEnum';
|
|
16
|
+
import {
|
|
17
|
+
PriorityEnumFromJSON,
|
|
18
|
+
PriorityEnumFromJSONTyped,
|
|
19
|
+
PriorityEnumToJSON,
|
|
20
|
+
PriorityEnumToJSONTyped,
|
|
21
|
+
} from './PriorityEnum';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface Epic
|
|
27
|
+
*/
|
|
28
|
+
export interface Epic {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Epic
|
|
33
|
+
*/
|
|
34
|
+
readonly id?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof Epic
|
|
39
|
+
*/
|
|
40
|
+
readonly deletedAt?: Date | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Date}
|
|
44
|
+
* @memberof Epic
|
|
45
|
+
*/
|
|
46
|
+
readonly createdAt?: Date;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Date}
|
|
50
|
+
* @memberof Epic
|
|
51
|
+
*/
|
|
52
|
+
readonly updatedAt?: Date;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof Epic
|
|
57
|
+
*/
|
|
58
|
+
point?: number | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof Epic
|
|
63
|
+
*/
|
|
64
|
+
name: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {any}
|
|
68
|
+
* @memberof Epic
|
|
69
|
+
*/
|
|
70
|
+
description?: any | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof Epic
|
|
75
|
+
*/
|
|
76
|
+
descriptionHtml?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof Epic
|
|
81
|
+
*/
|
|
82
|
+
descriptionStripped?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof Epic
|
|
87
|
+
*/
|
|
88
|
+
readonly descriptionBinary?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {PriorityEnum}
|
|
92
|
+
* @memberof Epic
|
|
93
|
+
*/
|
|
94
|
+
priority?: PriorityEnum;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Date}
|
|
98
|
+
* @memberof Epic
|
|
99
|
+
*/
|
|
100
|
+
startDate?: Date | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {Date}
|
|
104
|
+
* @memberof Epic
|
|
105
|
+
*/
|
|
106
|
+
targetDate?: Date | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {number}
|
|
110
|
+
* @memberof Epic
|
|
111
|
+
*/
|
|
112
|
+
sequenceId?: number;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {number}
|
|
116
|
+
* @memberof Epic
|
|
117
|
+
*/
|
|
118
|
+
sortOrder?: number;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {Date}
|
|
122
|
+
* @memberof Epic
|
|
123
|
+
*/
|
|
124
|
+
completedAt?: Date | null;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {Date}
|
|
128
|
+
* @memberof Epic
|
|
129
|
+
*/
|
|
130
|
+
archivedAt?: Date | null;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {boolean}
|
|
134
|
+
* @memberof Epic
|
|
135
|
+
*/
|
|
136
|
+
isDraft?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof Epic
|
|
141
|
+
*/
|
|
142
|
+
externalSource?: string | null;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof Epic
|
|
147
|
+
*/
|
|
148
|
+
externalId?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {string}
|
|
152
|
+
* @memberof Epic
|
|
153
|
+
*/
|
|
154
|
+
createdBy?: string | null;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof Epic
|
|
159
|
+
*/
|
|
160
|
+
updatedBy?: string | null;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof Epic
|
|
165
|
+
*/
|
|
166
|
+
project: string;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @type {string}
|
|
170
|
+
* @memberof Epic
|
|
171
|
+
*/
|
|
172
|
+
workspace: string;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {string}
|
|
176
|
+
* @memberof Epic
|
|
177
|
+
*/
|
|
178
|
+
parent?: string | null;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {string}
|
|
182
|
+
* @memberof Epic
|
|
183
|
+
*/
|
|
184
|
+
state?: string | null;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof Epic
|
|
189
|
+
*/
|
|
190
|
+
estimatePoint?: string | null;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof Epic
|
|
195
|
+
*/
|
|
196
|
+
type?: string | null;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {Array<string>}
|
|
200
|
+
* @memberof Epic
|
|
201
|
+
*/
|
|
202
|
+
readonly assignees?: Array<string>;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @type {Array<string>}
|
|
206
|
+
* @memberof Epic
|
|
207
|
+
*/
|
|
208
|
+
readonly labels?: Array<string>;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Check if a given object implements the Epic interface.
|
|
215
|
+
*/
|
|
216
|
+
export function instanceOfEpic(value: object): value is Epic {
|
|
217
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
218
|
+
if (!('project' in value) || value['project'] === undefined) return false;
|
|
219
|
+
if (!('workspace' in value) || value['workspace'] === undefined) return false;
|
|
220
|
+
return true;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export function EpicFromJSON(json: any): Epic {
|
|
224
|
+
return EpicFromJSONTyped(json, false);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export function EpicFromJSONTyped(json: any, ignoreDiscriminator: boolean): Epic {
|
|
228
|
+
if (json == null) {
|
|
229
|
+
return json;
|
|
230
|
+
}
|
|
231
|
+
return {
|
|
232
|
+
|
|
233
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
234
|
+
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
|
235
|
+
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
236
|
+
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
237
|
+
'point': json['point'] == null ? undefined : json['point'],
|
|
238
|
+
'name': json['name'],
|
|
239
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
240
|
+
'descriptionHtml': json['description_html'] == null ? undefined : json['description_html'],
|
|
241
|
+
'descriptionStripped': json['description_stripped'] == null ? undefined : json['description_stripped'],
|
|
242
|
+
'descriptionBinary': json['description_binary'] == null ? undefined : json['description_binary'],
|
|
243
|
+
'priority': json['priority'] == null ? undefined : PriorityEnumFromJSON(json['priority']),
|
|
244
|
+
'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
|
|
245
|
+
'targetDate': json['target_date'] == null ? undefined : (new Date(json['target_date'])),
|
|
246
|
+
'sequenceId': json['sequence_id'] == null ? undefined : json['sequence_id'],
|
|
247
|
+
'sortOrder': json['sort_order'] == null ? undefined : json['sort_order'],
|
|
248
|
+
'completedAt': json['completed_at'] == null ? undefined : (new Date(json['completed_at'])),
|
|
249
|
+
'archivedAt': json['archived_at'] == null ? undefined : (new Date(json['archived_at'])),
|
|
250
|
+
'isDraft': json['is_draft'] == null ? undefined : json['is_draft'],
|
|
251
|
+
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
252
|
+
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
253
|
+
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
254
|
+
'updatedBy': json['updated_by'] == null ? undefined : json['updated_by'],
|
|
255
|
+
'project': json['project'],
|
|
256
|
+
'workspace': json['workspace'],
|
|
257
|
+
'parent': json['parent'] == null ? undefined : json['parent'],
|
|
258
|
+
'state': json['state'] == null ? undefined : json['state'],
|
|
259
|
+
'estimatePoint': json['estimate_point'] == null ? undefined : json['estimate_point'],
|
|
260
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
261
|
+
'assignees': json['assignees'] == null ? undefined : json['assignees'],
|
|
262
|
+
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export function EpicToJSON(json: any): Epic {
|
|
267
|
+
return EpicToJSONTyped(json, false);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export function EpicToJSONTyped(value?: Omit<Epic, 'id'|'deleted_at'|'created_at'|'updated_at'|'description_binary'|'assignees'|'labels'> | null, ignoreDiscriminator: boolean = false): any {
|
|
271
|
+
if (value == null) {
|
|
272
|
+
return value;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
return {
|
|
276
|
+
|
|
277
|
+
'point': value['point'],
|
|
278
|
+
'name': value['name'],
|
|
279
|
+
'description': value['description'],
|
|
280
|
+
'description_html': value['descriptionHtml'],
|
|
281
|
+
'description_stripped': value['descriptionStripped'],
|
|
282
|
+
'priority': PriorityEnumToJSON(value['priority']),
|
|
283
|
+
'start_date': value['startDate'] == null ? undefined : ((value['startDate'] as any).toISOString().substring(0,10)),
|
|
284
|
+
'target_date': value['targetDate'] == null ? undefined : ((value['targetDate'] as any).toISOString().substring(0,10)),
|
|
285
|
+
'sequence_id': value['sequenceId'],
|
|
286
|
+
'sort_order': value['sortOrder'],
|
|
287
|
+
'completed_at': value['completedAt'] == null ? undefined : ((value['completedAt'] as any).toISOString()),
|
|
288
|
+
'archived_at': value['archivedAt'] == null ? undefined : ((value['archivedAt'] as any).toISOString().substring(0,10)),
|
|
289
|
+
'is_draft': value['isDraft'],
|
|
290
|
+
'external_source': value['externalSource'],
|
|
291
|
+
'external_id': value['externalId'],
|
|
292
|
+
'created_by': value['createdBy'],
|
|
293
|
+
'updated_by': value['updatedBy'],
|
|
294
|
+
'project': value['project'],
|
|
295
|
+
'workspace': value['workspace'],
|
|
296
|
+
'parent': value['parent'],
|
|
297
|
+
'state': value['state'],
|
|
298
|
+
'estimate_point': value['estimatePoint'],
|
|
299
|
+
'type': value['type'],
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
|
|
@@ -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/GroupEnum.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.
|
|
@@ -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/Issue.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.
|
|
@@ -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 { 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
|
* Full serializer for work item comments with membership context.
|
|
@@ -79,10 +79,10 @@ export interface IssueComment {
|
|
|
79
79
|
attachments?: Array<string>;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
|
-
* @type {
|
|
82
|
+
* @type {AccessBd4Enum}
|
|
83
83
|
* @memberof IssueComment
|
|
84
84
|
*/
|
|
85
|
-
access?:
|
|
85
|
+
access?: AccessBd4Enum;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
88
|
* @type {string}
|
|
@@ -166,7 +166,7 @@ export function IssueCommentFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
166
166
|
'commentStripped': json['comment_stripped'] == null ? undefined : json['comment_stripped'],
|
|
167
167
|
'commentHtml': json['comment_html'] == null ? undefined : json['comment_html'],
|
|
168
168
|
'attachments': json['attachments'] == null ? undefined : json['attachments'],
|
|
169
|
-
'access': json['access'] == null ? undefined :
|
|
169
|
+
'access': json['access'] == null ? undefined : AccessBd4EnumFromJSON(json['access']),
|
|
170
170
|
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
171
171
|
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
172
172
|
'editedAt': json['edited_at'] == null ? undefined : (new Date(json['edited_at'])),
|
|
@@ -194,7 +194,7 @@ export function IssueCommentToJSONTyped(value?: Omit<IssueComment, 'id'|'is_memb
|
|
|
194
194
|
'comment_stripped': value['commentStripped'],
|
|
195
195
|
'comment_html': value['commentHtml'],
|
|
196
196
|
'attachments': value['attachments'],
|
|
197
|
-
'access':
|
|
197
|
+
'access': AccessBd4EnumToJSON(value['access']),
|
|
198
198
|
'external_source': value['externalSource'],
|
|
199
199
|
'external_id': value['externalId'],
|
|
200
200
|
'edited_at': value['editedAt'] == null ? undefined : ((value['editedAt'] as any).toISOString()),
|
|
@@ -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
|
};
|