@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
|
@@ -0,0 +1,68 @@
|
|
|
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 removing issue relations.
|
|
17
|
+
*
|
|
18
|
+
* Removes existing relationships between work items by specifying
|
|
19
|
+
* the related issue ID.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface IssueRelationRemoveRequest
|
|
22
|
+
*/
|
|
23
|
+
export interface IssueRelationRemoveRequest {
|
|
24
|
+
/**
|
|
25
|
+
* ID of the related work item to remove relation with
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IssueRelationRemoveRequest
|
|
28
|
+
*/
|
|
29
|
+
relatedIssue: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the IssueRelationRemoveRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
export function instanceOfIssueRelationRemoveRequest(value: object): value is IssueRelationRemoveRequest {
|
|
36
|
+
if (!('relatedIssue' in value) || value['relatedIssue'] === undefined) return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function IssueRelationRemoveRequestFromJSON(json: any): IssueRelationRemoveRequest {
|
|
41
|
+
return IssueRelationRemoveRequestFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function IssueRelationRemoveRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueRelationRemoveRequest {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
|
|
50
|
+
'relatedIssue': json['related_issue'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function IssueRelationRemoveRequestToJSON(json: any): IssueRelationRemoveRequest {
|
|
55
|
+
return IssueRelationRemoveRequestToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function IssueRelationRemoveRequestToJSONTyped(value?: IssueRelationRemoveRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'related_issue': value['relatedIssue'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -0,0 +1,130 @@
|
|
|
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 relations response showing grouped relation types.
|
|
17
|
+
*
|
|
18
|
+
* Returns issue IDs organized by relation type for efficient client-side processing.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface IssueRelationResponse
|
|
21
|
+
*/
|
|
22
|
+
export interface IssueRelationResponse {
|
|
23
|
+
/**
|
|
24
|
+
* List of issue IDs that are blocking this issue
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof IssueRelationResponse
|
|
27
|
+
*/
|
|
28
|
+
blocking: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* List of issue IDs that this issue is blocked by
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof IssueRelationResponse
|
|
33
|
+
*/
|
|
34
|
+
blockedBy: Array<string>;
|
|
35
|
+
/**
|
|
36
|
+
* List of issue IDs that are duplicates of this issue
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof IssueRelationResponse
|
|
39
|
+
*/
|
|
40
|
+
duplicate: Array<string>;
|
|
41
|
+
/**
|
|
42
|
+
* List of issue IDs that relate to this issue
|
|
43
|
+
* @type {Array<string>}
|
|
44
|
+
* @memberof IssueRelationResponse
|
|
45
|
+
*/
|
|
46
|
+
relatesTo: Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
* List of issue IDs that start after this issue
|
|
49
|
+
* @type {Array<string>}
|
|
50
|
+
* @memberof IssueRelationResponse
|
|
51
|
+
*/
|
|
52
|
+
startAfter: Array<string>;
|
|
53
|
+
/**
|
|
54
|
+
* List of issue IDs that start before this issue
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof IssueRelationResponse
|
|
57
|
+
*/
|
|
58
|
+
startBefore: Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
* List of issue IDs that finish after this issue
|
|
61
|
+
* @type {Array<string>}
|
|
62
|
+
* @memberof IssueRelationResponse
|
|
63
|
+
*/
|
|
64
|
+
finishAfter: Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
* List of issue IDs that finish before this issue
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof IssueRelationResponse
|
|
69
|
+
*/
|
|
70
|
+
finishBefore: Array<string>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the IssueRelationResponse interface.
|
|
75
|
+
*/
|
|
76
|
+
export function instanceOfIssueRelationResponse(value: object): value is IssueRelationResponse {
|
|
77
|
+
if (!('blocking' in value) || value['blocking'] === undefined) return false;
|
|
78
|
+
if (!('blockedBy' in value) || value['blockedBy'] === undefined) return false;
|
|
79
|
+
if (!('duplicate' in value) || value['duplicate'] === undefined) return false;
|
|
80
|
+
if (!('relatesTo' in value) || value['relatesTo'] === undefined) return false;
|
|
81
|
+
if (!('startAfter' in value) || value['startAfter'] === undefined) return false;
|
|
82
|
+
if (!('startBefore' in value) || value['startBefore'] === undefined) return false;
|
|
83
|
+
if (!('finishAfter' in value) || value['finishAfter'] === undefined) return false;
|
|
84
|
+
if (!('finishBefore' in value) || value['finishBefore'] === undefined) return false;
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function IssueRelationResponseFromJSON(json: any): IssueRelationResponse {
|
|
89
|
+
return IssueRelationResponseFromJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function IssueRelationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueRelationResponse {
|
|
93
|
+
if (json == null) {
|
|
94
|
+
return json;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'blocking': json['blocking'],
|
|
99
|
+
'blockedBy': json['blocked_by'],
|
|
100
|
+
'duplicate': json['duplicate'],
|
|
101
|
+
'relatesTo': json['relates_to'],
|
|
102
|
+
'startAfter': json['start_after'],
|
|
103
|
+
'startBefore': json['start_before'],
|
|
104
|
+
'finishAfter': json['finish_after'],
|
|
105
|
+
'finishBefore': json['finish_before'],
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function IssueRelationResponseToJSON(json: any): IssueRelationResponse {
|
|
110
|
+
return IssueRelationResponseToJSONTyped(json, false);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function IssueRelationResponseToJSONTyped(value?: IssueRelationResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
114
|
+
if (value == null) {
|
|
115
|
+
return value;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
return {
|
|
119
|
+
|
|
120
|
+
'blocking': value['blocking'],
|
|
121
|
+
'blocked_by': value['blockedBy'],
|
|
122
|
+
'duplicate': value['duplicate'],
|
|
123
|
+
'relates_to': value['relatesTo'],
|
|
124
|
+
'start_after': value['startAfter'],
|
|
125
|
+
'start_before': value['startBefore'],
|
|
126
|
+
'finish_after': value['finishAfter'],
|
|
127
|
+
'finish_before': value['finishBefore'],
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
@@ -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.
|
|
@@ -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/Label.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.
|
package/src/models/Module.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/ModuleLite.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.
|
|
@@ -0,0 +1,204 @@
|
|
|
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 { PageCreateAPIAccessEnum } from './PageCreateAPIAccessEnum';
|
|
16
|
+
import {
|
|
17
|
+
PageCreateAPIAccessEnumFromJSON,
|
|
18
|
+
PageCreateAPIAccessEnumFromJSONTyped,
|
|
19
|
+
PageCreateAPIAccessEnumToJSON,
|
|
20
|
+
PageCreateAPIAccessEnumToJSONTyped,
|
|
21
|
+
} from './PageCreateAPIAccessEnum';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PageCreateAPI
|
|
27
|
+
*/
|
|
28
|
+
export interface PageCreateAPI {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PageCreateAPI
|
|
33
|
+
*/
|
|
34
|
+
readonly id?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PageCreateAPI
|
|
39
|
+
*/
|
|
40
|
+
name: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PageCreateAPI
|
|
45
|
+
*/
|
|
46
|
+
readonly ownedBy?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {PageCreateAPIAccessEnum}
|
|
50
|
+
* @memberof PageCreateAPI
|
|
51
|
+
*/
|
|
52
|
+
access?: PageCreateAPIAccessEnum;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PageCreateAPI
|
|
57
|
+
*/
|
|
58
|
+
color?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof PageCreateAPI
|
|
63
|
+
*/
|
|
64
|
+
isLocked?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Date}
|
|
68
|
+
* @memberof PageCreateAPI
|
|
69
|
+
*/
|
|
70
|
+
archivedAt?: Date | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PageCreateAPI
|
|
75
|
+
*/
|
|
76
|
+
readonly workspace?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Date}
|
|
80
|
+
* @memberof PageCreateAPI
|
|
81
|
+
*/
|
|
82
|
+
readonly createdAt?: Date;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Date}
|
|
86
|
+
* @memberof PageCreateAPI
|
|
87
|
+
*/
|
|
88
|
+
readonly updatedAt?: Date;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PageCreateAPI
|
|
93
|
+
*/
|
|
94
|
+
readonly createdBy?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof PageCreateAPI
|
|
99
|
+
*/
|
|
100
|
+
readonly updatedBy?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {any}
|
|
104
|
+
* @memberof PageCreateAPI
|
|
105
|
+
*/
|
|
106
|
+
viewProps?: any | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {any}
|
|
110
|
+
* @memberof PageCreateAPI
|
|
111
|
+
*/
|
|
112
|
+
logoProps?: any | null;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof PageCreateAPI
|
|
117
|
+
*/
|
|
118
|
+
externalId?: string | null;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof PageCreateAPI
|
|
123
|
+
*/
|
|
124
|
+
externalSource?: string | null;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof PageCreateAPI
|
|
129
|
+
*/
|
|
130
|
+
readonly parentId?: string | null;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof PageCreateAPI
|
|
135
|
+
*/
|
|
136
|
+
descriptionHtml: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Check if a given object implements the PageCreateAPI interface.
|
|
143
|
+
*/
|
|
144
|
+
export function instanceOfPageCreateAPI(value: object): value is PageCreateAPI {
|
|
145
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
146
|
+
if (!('descriptionHtml' in value) || value['descriptionHtml'] === undefined) return false;
|
|
147
|
+
return true;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export function PageCreateAPIFromJSON(json: any): PageCreateAPI {
|
|
151
|
+
return PageCreateAPIFromJSONTyped(json, false);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export function PageCreateAPIFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageCreateAPI {
|
|
155
|
+
if (json == null) {
|
|
156
|
+
return json;
|
|
157
|
+
}
|
|
158
|
+
return {
|
|
159
|
+
|
|
160
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
161
|
+
'name': json['name'],
|
|
162
|
+
'ownedBy': json['owned_by'] == null ? undefined : json['owned_by'],
|
|
163
|
+
'access': json['access'] == null ? undefined : PageCreateAPIAccessEnumFromJSON(json['access']),
|
|
164
|
+
'color': json['color'] == null ? undefined : json['color'],
|
|
165
|
+
'isLocked': json['is_locked'] == null ? undefined : json['is_locked'],
|
|
166
|
+
'archivedAt': json['archived_at'] == null ? undefined : (new Date(json['archived_at'])),
|
|
167
|
+
'workspace': json['workspace'] == null ? undefined : json['workspace'],
|
|
168
|
+
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
169
|
+
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
170
|
+
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
171
|
+
'updatedBy': json['updated_by'] == null ? undefined : json['updated_by'],
|
|
172
|
+
'viewProps': json['view_props'] == null ? undefined : json['view_props'],
|
|
173
|
+
'logoProps': json['logo_props'] == null ? undefined : json['logo_props'],
|
|
174
|
+
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
175
|
+
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
176
|
+
'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
|
|
177
|
+
'descriptionHtml': json['description_html'],
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export function PageCreateAPIToJSON(json: any): PageCreateAPI {
|
|
182
|
+
return PageCreateAPIToJSONTyped(json, false);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export function PageCreateAPIToJSONTyped(value?: Omit<PageCreateAPI, 'id'|'owned_by'|'workspace'|'created_at'|'updated_at'|'created_by'|'updated_by'|'parent_id'> | null, ignoreDiscriminator: boolean = false): any {
|
|
186
|
+
if (value == null) {
|
|
187
|
+
return value;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
return {
|
|
191
|
+
|
|
192
|
+
'name': value['name'],
|
|
193
|
+
'access': PageCreateAPIAccessEnumToJSON(value['access']),
|
|
194
|
+
'color': value['color'],
|
|
195
|
+
'is_locked': value['isLocked'],
|
|
196
|
+
'archived_at': value['archivedAt'] == null ? undefined : ((value['archivedAt'] as any).toISOString().substring(0,10)),
|
|
197
|
+
'view_props': value['viewProps'],
|
|
198
|
+
'logo_props': value['logoProps'],
|
|
199
|
+
'external_id': value['externalId'],
|
|
200
|
+
'external_source': value['externalSource'],
|
|
201
|
+
'description_html': value['descriptionHtml'],
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
|
|
@@ -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
|
+
* * `0` - Public
|
|
17
|
+
* * `1` - Private
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const PageCreateAPIAccessEnum = {
|
|
21
|
+
NUMBER_0: 0,
|
|
22
|
+
NUMBER_1: 1
|
|
23
|
+
} as const;
|
|
24
|
+
export type PageCreateAPIAccessEnum = typeof PageCreateAPIAccessEnum[keyof typeof PageCreateAPIAccessEnum];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfPageCreateAPIAccessEnum(value: any): boolean {
|
|
28
|
+
for (const key in PageCreateAPIAccessEnum) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(PageCreateAPIAccessEnum, key)) {
|
|
30
|
+
if (PageCreateAPIAccessEnum[key as keyof typeof PageCreateAPIAccessEnum] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function PageCreateAPIAccessEnumFromJSON(json: any): PageCreateAPIAccessEnum {
|
|
39
|
+
return PageCreateAPIAccessEnumFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function PageCreateAPIAccessEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageCreateAPIAccessEnum {
|
|
43
|
+
return json as PageCreateAPIAccessEnum;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function PageCreateAPIAccessEnumToJSON(value?: PageCreateAPIAccessEnum | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function PageCreateAPIAccessEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): PageCreateAPIAccessEnum {
|
|
51
|
+
return value as PageCreateAPIAccessEnum;
|
|
52
|
+
}
|
|
53
|
+
|