@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,134 @@
|
|
|
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 { PageCreateAPIAccessEnum } from './PageCreateAPIAccessEnum';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PageCreateAPI
|
|
16
|
+
*/
|
|
17
|
+
export interface PageCreateAPI {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PageCreateAPI
|
|
22
|
+
*/
|
|
23
|
+
readonly id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PageCreateAPI
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PageCreateAPI
|
|
34
|
+
*/
|
|
35
|
+
readonly ownedBy?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {PageCreateAPIAccessEnum}
|
|
39
|
+
* @memberof PageCreateAPI
|
|
40
|
+
*/
|
|
41
|
+
access?: PageCreateAPIAccessEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PageCreateAPI
|
|
46
|
+
*/
|
|
47
|
+
color?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof PageCreateAPI
|
|
52
|
+
*/
|
|
53
|
+
isLocked?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof PageCreateAPI
|
|
58
|
+
*/
|
|
59
|
+
archivedAt?: Date | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PageCreateAPI
|
|
64
|
+
*/
|
|
65
|
+
readonly workspace?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof PageCreateAPI
|
|
70
|
+
*/
|
|
71
|
+
readonly createdAt?: Date;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof PageCreateAPI
|
|
76
|
+
*/
|
|
77
|
+
readonly updatedAt?: Date;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PageCreateAPI
|
|
82
|
+
*/
|
|
83
|
+
readonly createdBy?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PageCreateAPI
|
|
88
|
+
*/
|
|
89
|
+
readonly updatedBy?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {any}
|
|
93
|
+
* @memberof PageCreateAPI
|
|
94
|
+
*/
|
|
95
|
+
viewProps?: any | null;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {any}
|
|
99
|
+
* @memberof PageCreateAPI
|
|
100
|
+
*/
|
|
101
|
+
logoProps?: any | null;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PageCreateAPI
|
|
106
|
+
*/
|
|
107
|
+
externalId?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PageCreateAPI
|
|
112
|
+
*/
|
|
113
|
+
externalSource?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PageCreateAPI
|
|
118
|
+
*/
|
|
119
|
+
readonly parentId?: string | null;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof PageCreateAPI
|
|
124
|
+
*/
|
|
125
|
+
descriptionHtml: string;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Check if a given object implements the PageCreateAPI interface.
|
|
129
|
+
*/
|
|
130
|
+
export declare function instanceOfPageCreateAPI(value: object): value is PageCreateAPI;
|
|
131
|
+
export declare function PageCreateAPIFromJSON(json: any): PageCreateAPI;
|
|
132
|
+
export declare function PageCreateAPIFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageCreateAPI;
|
|
133
|
+
export declare function PageCreateAPIToJSON(json: any): PageCreateAPI;
|
|
134
|
+
export declare function PageCreateAPIToJSONTyped(value?: Omit<PageCreateAPI, 'id' | 'owned_by' | 'workspace' | 'created_at' | 'updated_at' | 'created_by' | 'updated_by' | 'parent_id'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
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.instanceOfPageCreateAPI = instanceOfPageCreateAPI;
|
|
16
|
+
exports.PageCreateAPIFromJSON = PageCreateAPIFromJSON;
|
|
17
|
+
exports.PageCreateAPIFromJSONTyped = PageCreateAPIFromJSONTyped;
|
|
18
|
+
exports.PageCreateAPIToJSON = PageCreateAPIToJSON;
|
|
19
|
+
exports.PageCreateAPIToJSONTyped = PageCreateAPIToJSONTyped;
|
|
20
|
+
var PageCreateAPIAccessEnum_1 = require("./PageCreateAPIAccessEnum");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PageCreateAPI interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPageCreateAPI(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('descriptionHtml' in value) || value['descriptionHtml'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PageCreateAPIFromJSON(json) {
|
|
32
|
+
return PageCreateAPIFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PageCreateAPIFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'ownedBy': json['owned_by'] == null ? undefined : json['owned_by'],
|
|
42
|
+
'access': json['access'] == null ? undefined : (0, PageCreateAPIAccessEnum_1.PageCreateAPIAccessEnumFromJSON)(json['access']),
|
|
43
|
+
'color': json['color'] == null ? undefined : json['color'],
|
|
44
|
+
'isLocked': json['is_locked'] == null ? undefined : json['is_locked'],
|
|
45
|
+
'archivedAt': json['archived_at'] == null ? undefined : (new Date(json['archived_at'])),
|
|
46
|
+
'workspace': json['workspace'] == null ? undefined : json['workspace'],
|
|
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
|
+
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
50
|
+
'updatedBy': json['updated_by'] == null ? undefined : json['updated_by'],
|
|
51
|
+
'viewProps': json['view_props'] == null ? undefined : json['view_props'],
|
|
52
|
+
'logoProps': json['logo_props'] == null ? undefined : json['logo_props'],
|
|
53
|
+
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
54
|
+
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
55
|
+
'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
|
|
56
|
+
'descriptionHtml': json['description_html'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function PageCreateAPIToJSON(json) {
|
|
60
|
+
return PageCreateAPIToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function PageCreateAPIToJSONTyped(value, ignoreDiscriminator) {
|
|
63
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'name': value['name'],
|
|
69
|
+
'access': (0, PageCreateAPIAccessEnum_1.PageCreateAPIAccessEnumToJSON)(value['access']),
|
|
70
|
+
'color': value['color'],
|
|
71
|
+
'is_locked': value['isLocked'],
|
|
72
|
+
'archived_at': value['archivedAt'] == null ? undefined : (value['archivedAt'].toISOString().substring(0, 10)),
|
|
73
|
+
'view_props': value['viewProps'],
|
|
74
|
+
'logo_props': value['logoProps'],
|
|
75
|
+
'external_id': value['externalId'],
|
|
76
|
+
'external_source': value['externalSource'],
|
|
77
|
+
'description_html': value['descriptionHtml'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -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
|
+
* * `0` - Public
|
|
13
|
+
* * `1` - Private
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const PageCreateAPIAccessEnum: {
|
|
17
|
+
readonly NUMBER_0: 0;
|
|
18
|
+
readonly NUMBER_1: 1;
|
|
19
|
+
};
|
|
20
|
+
export type PageCreateAPIAccessEnum = typeof PageCreateAPIAccessEnum[keyof typeof PageCreateAPIAccessEnum];
|
|
21
|
+
export declare function instanceOfPageCreateAPIAccessEnum(value: any): boolean;
|
|
22
|
+
export declare function PageCreateAPIAccessEnumFromJSON(json: any): PageCreateAPIAccessEnum;
|
|
23
|
+
export declare function PageCreateAPIAccessEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageCreateAPIAccessEnum;
|
|
24
|
+
export declare function PageCreateAPIAccessEnumToJSON(value?: PageCreateAPIAccessEnum | null): any;
|
|
25
|
+
export declare function PageCreateAPIAccessEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): PageCreateAPIAccessEnum;
|
|
@@ -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.PageCreateAPIAccessEnum = void 0;
|
|
16
|
+
exports.instanceOfPageCreateAPIAccessEnum = instanceOfPageCreateAPIAccessEnum;
|
|
17
|
+
exports.PageCreateAPIAccessEnumFromJSON = PageCreateAPIAccessEnumFromJSON;
|
|
18
|
+
exports.PageCreateAPIAccessEnumFromJSONTyped = PageCreateAPIAccessEnumFromJSONTyped;
|
|
19
|
+
exports.PageCreateAPIAccessEnumToJSON = PageCreateAPIAccessEnumToJSON;
|
|
20
|
+
exports.PageCreateAPIAccessEnumToJSONTyped = PageCreateAPIAccessEnumToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* * `0` - Public
|
|
23
|
+
* * `1` - Private
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.PageCreateAPIAccessEnum = {
|
|
27
|
+
NUMBER_0: 0,
|
|
28
|
+
NUMBER_1: 1
|
|
29
|
+
};
|
|
30
|
+
function instanceOfPageCreateAPIAccessEnum(value) {
|
|
31
|
+
for (var key in exports.PageCreateAPIAccessEnum) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.PageCreateAPIAccessEnum, key)) {
|
|
33
|
+
if (exports.PageCreateAPIAccessEnum[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function PageCreateAPIAccessEnumFromJSON(json) {
|
|
41
|
+
return PageCreateAPIAccessEnumFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PageCreateAPIAccessEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function PageCreateAPIAccessEnumToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function PageCreateAPIAccessEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { PageCreateAPIAccessEnum } from './PageCreateAPIAccessEnum';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PageCreateAPIRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PageCreateAPIRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PageCreateAPIRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {PageCreateAPIAccessEnum}
|
|
27
|
+
* @memberof PageCreateAPIRequest
|
|
28
|
+
*/
|
|
29
|
+
access?: PageCreateAPIAccessEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PageCreateAPIRequest
|
|
34
|
+
*/
|
|
35
|
+
color?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof PageCreateAPIRequest
|
|
40
|
+
*/
|
|
41
|
+
isLocked?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof PageCreateAPIRequest
|
|
46
|
+
*/
|
|
47
|
+
archivedAt?: Date | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {any}
|
|
51
|
+
* @memberof PageCreateAPIRequest
|
|
52
|
+
*/
|
|
53
|
+
viewProps?: any | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {any}
|
|
57
|
+
* @memberof PageCreateAPIRequest
|
|
58
|
+
*/
|
|
59
|
+
logoProps?: any | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PageCreateAPIRequest
|
|
64
|
+
*/
|
|
65
|
+
externalId?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PageCreateAPIRequest
|
|
70
|
+
*/
|
|
71
|
+
externalSource?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PageCreateAPIRequest
|
|
76
|
+
*/
|
|
77
|
+
descriptionHtml: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the PageCreateAPIRequest interface.
|
|
81
|
+
*/
|
|
82
|
+
export declare function instanceOfPageCreateAPIRequest(value: object): value is PageCreateAPIRequest;
|
|
83
|
+
export declare function PageCreateAPIRequestFromJSON(json: any): PageCreateAPIRequest;
|
|
84
|
+
export declare function PageCreateAPIRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageCreateAPIRequest;
|
|
85
|
+
export declare function PageCreateAPIRequestToJSON(json: any): PageCreateAPIRequest;
|
|
86
|
+
export declare function PageCreateAPIRequestToJSONTyped(value?: PageCreateAPIRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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.instanceOfPageCreateAPIRequest = instanceOfPageCreateAPIRequest;
|
|
16
|
+
exports.PageCreateAPIRequestFromJSON = PageCreateAPIRequestFromJSON;
|
|
17
|
+
exports.PageCreateAPIRequestFromJSONTyped = PageCreateAPIRequestFromJSONTyped;
|
|
18
|
+
exports.PageCreateAPIRequestToJSON = PageCreateAPIRequestToJSON;
|
|
19
|
+
exports.PageCreateAPIRequestToJSONTyped = PageCreateAPIRequestToJSONTyped;
|
|
20
|
+
var PageCreateAPIAccessEnum_1 = require("./PageCreateAPIAccessEnum");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PageCreateAPIRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPageCreateAPIRequest(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('descriptionHtml' in value) || value['descriptionHtml'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PageCreateAPIRequestFromJSON(json) {
|
|
32
|
+
return PageCreateAPIRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PageCreateAPIRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'access': json['access'] == null ? undefined : (0, PageCreateAPIAccessEnum_1.PageCreateAPIAccessEnumFromJSON)(json['access']),
|
|
41
|
+
'color': json['color'] == null ? undefined : json['color'],
|
|
42
|
+
'isLocked': json['is_locked'] == null ? undefined : json['is_locked'],
|
|
43
|
+
'archivedAt': json['archived_at'] == null ? undefined : (new Date(json['archived_at'])),
|
|
44
|
+
'viewProps': json['view_props'] == null ? undefined : json['view_props'],
|
|
45
|
+
'logoProps': json['logo_props'] == null ? undefined : json['logo_props'],
|
|
46
|
+
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
47
|
+
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
48
|
+
'descriptionHtml': json['description_html'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function PageCreateAPIRequestToJSON(json) {
|
|
52
|
+
return PageCreateAPIRequestToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function PageCreateAPIRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'access': (0, PageCreateAPIAccessEnum_1.PageCreateAPIAccessEnumToJSON)(value['access']),
|
|
62
|
+
'color': value['color'],
|
|
63
|
+
'is_locked': value['isLocked'],
|
|
64
|
+
'archived_at': value['archivedAt'] == null ? undefined : (value['archivedAt'].toISOString().substring(0, 10)),
|
|
65
|
+
'view_props': value['viewProps'],
|
|
66
|
+
'logo_props': value['logoProps'],
|
|
67
|
+
'external_id': value['externalId'],
|
|
68
|
+
'external_source': value['externalSource'],
|
|
69
|
+
'description_html': value['descriptionHtml'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface PageDetailAPI
|
|
15
|
+
*/
|
|
16
|
+
export interface PageDetailAPI {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof PageDetailAPI
|
|
21
|
+
*/
|
|
22
|
+
readonly id?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PageDetailAPI
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PageDetailAPI
|
|
33
|
+
*/
|
|
34
|
+
descriptionStripped?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof PageDetailAPI
|
|
39
|
+
*/
|
|
40
|
+
readonly createdAt?: Date;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Date}
|
|
44
|
+
* @memberof PageDetailAPI
|
|
45
|
+
*/
|
|
46
|
+
readonly updatedAt?: Date;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PageDetailAPI
|
|
51
|
+
*/
|
|
52
|
+
readonly ownedBy?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PageDetailAPI
|
|
57
|
+
*/
|
|
58
|
+
readonly anchor?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PageDetailAPI
|
|
63
|
+
*/
|
|
64
|
+
readonly workspace?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof PageDetailAPI
|
|
69
|
+
*/
|
|
70
|
+
readonly projects?: Array<string>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the PageDetailAPI interface.
|
|
74
|
+
*/
|
|
75
|
+
export declare function instanceOfPageDetailAPI(value: object): value is PageDetailAPI;
|
|
76
|
+
export declare function PageDetailAPIFromJSON(json: any): PageDetailAPI;
|
|
77
|
+
export declare function PageDetailAPIFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageDetailAPI;
|
|
78
|
+
export declare function PageDetailAPIToJSON(json: any): PageDetailAPI;
|
|
79
|
+
export declare function PageDetailAPIToJSONTyped(value?: Omit<PageDetailAPI, 'id' | 'created_at' | 'updated_at' | 'owned_by' | 'anchor' | 'workspace' | 'projects'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPageDetailAPI = instanceOfPageDetailAPI;
|
|
16
|
+
exports.PageDetailAPIFromJSON = PageDetailAPIFromJSON;
|
|
17
|
+
exports.PageDetailAPIFromJSONTyped = PageDetailAPIFromJSONTyped;
|
|
18
|
+
exports.PageDetailAPIToJSON = PageDetailAPIToJSON;
|
|
19
|
+
exports.PageDetailAPIToJSONTyped = PageDetailAPIToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the PageDetailAPI interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfPageDetailAPI(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function PageDetailAPIFromJSON(json) {
|
|
27
|
+
return PageDetailAPIFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function PageDetailAPIFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
35
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
36
|
+
'descriptionStripped': json['description_stripped'] == null ? undefined : json['description_stripped'],
|
|
37
|
+
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
38
|
+
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
39
|
+
'ownedBy': json['owned_by'] == null ? undefined : json['owned_by'],
|
|
40
|
+
'anchor': json['anchor'] == null ? undefined : json['anchor'],
|
|
41
|
+
'workspace': json['workspace'] == null ? undefined : json['workspace'],
|
|
42
|
+
'projects': json['projects'] == null ? undefined : json['projects'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PageDetailAPIToJSON(json) {
|
|
46
|
+
return PageDetailAPIToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PageDetailAPIToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'description_stripped': value['descriptionStripped'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The Plane REST API
|
|
3
3
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
4
4
|
*
|
|
5
|
-
* The version of the API Spec: 0.0.
|
|
5
|
+
* The version of the API Spec: 0.0.2
|
|
6
6
|
* Contact: support@plane.so
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The Plane REST API
|
|
6
6
|
* The Plane REST API Visit our quick start guide and full API documentation at [developers.plane.so](https://developers.plane.so/api-reference/introduction).
|
|
7
7
|
*
|
|
8
|
-
* The version of the API Spec: 0.0.
|
|
8
|
+
* The version of the API Spec: 0.0.2
|
|
9
9
|
* Contact: support@plane.so
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated.
|