@makeplane/plane-node-sdk 0.1.4 → 0.2.0
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/LICENSE +7 -0
- package/README.md +117 -76
- package/dist/Configuration.d.ts +21 -0
- package/dist/Configuration.d.ts.map +1 -0
- package/dist/Configuration.js +28 -0
- package/dist/Configuration.js.map +1 -0
- package/dist/api/BaseResource.d.ts +55 -0
- package/dist/api/BaseResource.d.ts.map +1 -0
- package/dist/api/BaseResource.js +179 -0
- package/dist/api/BaseResource.js.map +1 -0
- package/dist/api/Customers/Properties.d.ts +44 -0
- package/dist/api/Customers/Properties.d.ts.map +1 -0
- package/dist/api/Customers/Properties.js +65 -0
- package/dist/api/Customers/Properties.js.map +1 -0
- package/dist/api/Customers/Requests.d.ts +32 -0
- package/dist/api/Customers/Requests.d.ts.map +1 -0
- package/dist/api/Customers/Requests.js +45 -0
- package/dist/api/Customers/Requests.js.map +1 -0
- package/dist/api/Customers/index.d.ts +49 -0
- package/dist/api/Customers/index.d.ts.map +1 -0
- package/dist/api/Customers/index.js +71 -0
- package/dist/api/Customers/index.js.map +1 -0
- package/dist/api/Cycles.d.ts +61 -0
- package/dist/api/Cycles.d.ts.map +1 -0
- package/dist/api/Cycles.js +89 -0
- package/dist/api/Cycles.js.map +1 -0
- package/dist/api/Epics.d.ts +20 -0
- package/dist/api/Epics.d.ts.map +1 -0
- package/dist/api/Epics.js +27 -0
- package/dist/api/Epics.js.map +1 -0
- package/dist/api/Intake.d.ts +32 -0
- package/dist/api/Intake.d.ts.map +1 -0
- package/dist/api/Intake.js +45 -0
- package/dist/api/Intake.js.map +1 -0
- package/dist/api/Labels.d.ts +58 -0
- package/dist/api/Labels.d.ts.map +1 -0
- package/dist/api/Labels.js +45 -0
- package/dist/api/Labels.js.map +1 -0
- package/dist/api/Links.d.ts +32 -0
- package/dist/api/Links.d.ts.map +1 -0
- package/dist/api/Links.js +45 -0
- package/dist/api/Links.js.map +1 -0
- package/dist/api/Members.d.ts +56 -0
- package/dist/api/Members.d.ts.map +1 -0
- package/dist/api/Members.js +45 -0
- package/dist/api/Members.js.map +1 -0
- package/dist/api/Modules.d.ts +57 -0
- package/dist/api/Modules.d.ts.map +1 -0
- package/dist/api/Modules.js +83 -0
- package/dist/api/Modules.js.map +1 -0
- package/dist/api/Pages.d.ts +35 -0
- package/dist/api/Pages.d.ts.map +1 -0
- package/dist/api/Pages.js +53 -0
- package/dist/api/Pages.js.map +1 -0
- package/dist/api/Projects.d.ts +41 -0
- package/dist/api/Projects.d.ts.map +1 -0
- package/dist/api/Projects.js +60 -0
- package/dist/api/Projects.js.map +1 -0
- package/dist/api/States.d.ts +32 -0
- package/dist/api/States.d.ts.map +1 -0
- package/dist/api/States.js +45 -0
- package/dist/api/States.js.map +1 -0
- package/dist/api/Users.d.ts +15 -0
- package/dist/api/Users.d.ts.map +1 -0
- package/dist/api/Users.js +21 -0
- package/dist/api/Users.js.map +1 -0
- package/dist/api/WorkItemProperties/Options.d.ts +31 -0
- package/dist/api/WorkItemProperties/Options.d.ts.map +1 -0
- package/dist/api/WorkItemProperties/Options.js +45 -0
- package/dist/api/WorkItemProperties/Options.js.map +1 -0
- package/dist/api/WorkItemProperties/Values.d.ts +23 -0
- package/dist/api/WorkItemProperties/Values.d.ts.map +1 -0
- package/dist/api/WorkItemProperties/Values.js +34 -0
- package/dist/api/WorkItemProperties/Values.js.map +1 -0
- package/dist/api/WorkItemProperties/index.d.ts +35 -0
- package/dist/api/WorkItemProperties/index.d.ts.map +1 -0
- package/dist/api/WorkItemProperties/index.js +49 -0
- package/dist/api/WorkItemProperties/index.js.map +1 -0
- package/dist/api/WorkItemTypes.d.ts +36 -0
- package/dist/api/WorkItemTypes.d.ts.map +1 -0
- package/dist/api/WorkItemTypes.js +45 -0
- package/dist/api/WorkItemTypes.js.map +1 -0
- package/dist/api/WorkItems/Activities.d.ts +20 -0
- package/dist/api/WorkItems/Activities.d.ts.map +1 -0
- package/dist/api/WorkItems/Activities.js +27 -0
- package/dist/api/WorkItems/Activities.js.map +1 -0
- package/dist/api/WorkItems/Attachments.d.ts +31 -0
- package/dist/api/WorkItems/Attachments.d.ts.map +1 -0
- package/dist/api/WorkItems/Attachments.js +45 -0
- package/dist/api/WorkItems/Attachments.js.map +1 -0
- package/dist/api/WorkItems/Comments.d.ts +32 -0
- package/dist/api/WorkItems/Comments.d.ts.map +1 -0
- package/dist/api/WorkItems/Comments.js +45 -0
- package/dist/api/WorkItems/Comments.js.map +1 -0
- package/dist/api/WorkItems/Relations.d.ts +23 -0
- package/dist/api/WorkItems/Relations.d.ts.map +1 -0
- package/dist/api/WorkItems/Relations.js +33 -0
- package/dist/api/WorkItems/Relations.js.map +1 -0
- package/dist/api/WorkItems/WorkLogs.d.ts +27 -0
- package/dist/api/WorkItems/WorkLogs.d.ts.map +1 -0
- package/dist/api/WorkItems/WorkLogs.js +39 -0
- package/dist/api/WorkItems/WorkLogs.js.map +1 -0
- package/dist/api/WorkItems/index.d.ts +48 -0
- package/dist/api/WorkItems/index.d.ts.map +1 -0
- package/dist/api/WorkItems/index.js +75 -0
- package/dist/api/WorkItems/index.js.map +1 -0
- package/dist/api/Workspace.d.ts +15 -0
- package/dist/api/Workspace.d.ts.map +1 -0
- package/dist/api/Workspace.js +21 -0
- package/dist/api/Workspace.js.map +1 -0
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +8 -0
- package/dist/client/index.js.map +1 -0
- package/dist/{oauth/api.d.ts → client/oauth-client.d.ts} +7 -5
- package/dist/client/oauth-client.d.ts.map +1 -0
- package/dist/client/oauth-client.js +129 -0
- package/dist/client/oauth-client.js.map +1 -0
- package/dist/client/plane-client.d.ts +47 -0
- package/dist/client/plane-client.d.ts.map +1 -0
- package/dist/client/plane-client.js +55 -0
- package/dist/client/plane-client.js.map +1 -0
- package/dist/errors/HttpError.d.ts +8 -0
- package/dist/errors/HttpError.d.ts.map +1 -0
- package/dist/errors/HttpError.js +15 -0
- package/dist/errors/HttpError.js.map +1 -0
- package/dist/errors/PlaneError.d.ts +9 -0
- package/dist/errors/PlaneError.d.ts.map +1 -0
- package/dist/errors/PlaneError.js +16 -0
- package/dist/errors/PlaneError.js.map +1 -0
- package/dist/errors/index.d.ts +3 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +8 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/index.d.ts +31 -4
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +67 -5
- package/dist/index.js.map +1 -0
- package/dist/models/Attachment.d.ts +46 -0
- package/dist/models/Attachment.d.ts.map +1 -0
- package/dist/models/Attachment.js +7 -0
- package/dist/models/Attachment.js.map +1 -0
- package/dist/models/Comment.d.ts +43 -0
- package/dist/models/Comment.d.ts.map +1 -0
- package/dist/models/Comment.js +3 -0
- package/dist/models/Comment.js.map +1 -0
- package/dist/models/Customer.d.ts +136 -0
- package/dist/models/Customer.d.ts.map +1 -0
- package/dist/models/Customer.js +3 -0
- package/dist/models/Customer.js.map +1 -0
- package/dist/models/Cycle.d.ts +59 -210
- package/dist/models/Cycle.d.ts.map +1 -0
- package/dist/models/Cycle.js +1 -91
- package/dist/models/Cycle.js.map +1 -0
- package/dist/models/Epic.d.ts +34 -0
- package/dist/models/Epic.d.ts.map +1 -0
- package/dist/{oauth/models.js → models/Epic.js} +1 -0
- package/dist/models/Epic.js.map +1 -0
- package/dist/models/Intake.d.ts +48 -0
- package/dist/models/Intake.d.ts.map +1 -0
- package/dist/models/Intake.js +3 -0
- package/dist/models/Intake.js.map +1 -0
- package/dist/models/Label.d.ts +13 -113
- package/dist/models/Label.d.ts.map +1 -0
- package/dist/models/Label.js +1 -68
- package/dist/models/Label.js.map +1 -0
- package/dist/models/Link.d.ts +25 -0
- package/dist/models/Link.d.ts.map +1 -0
- package/dist/models/Link.js +3 -0
- package/dist/models/Link.js.map +1 -0
- package/dist/models/Module.d.ts +55 -193
- package/dist/models/Module.d.ts.map +1 -0
- package/dist/models/Module.js +1 -89
- package/dist/models/Module.js.map +1 -0
- package/dist/{oauth/models.d.ts → models/OAuth.d.ts} +1 -0
- package/dist/models/OAuth.d.ts.map +1 -0
- package/dist/models/OAuth.js +3 -0
- package/dist/models/OAuth.js.map +1 -0
- package/dist/models/Page.d.ts +14 -0
- package/dist/models/Page.d.ts.map +1 -0
- package/dist/models/Page.js +3 -0
- package/dist/models/Page.js.map +1 -0
- package/dist/models/Project.d.ts +42 -290
- package/dist/models/Project.d.ts.map +1 -0
- package/dist/models/Project.js +1 -122
- package/dist/models/Project.js.map +1 -0
- package/dist/models/State.d.ts +34 -124
- package/dist/models/State.d.ts.map +1 -0
- package/dist/models/State.js +2 -73
- package/dist/models/State.js.map +1 -0
- package/dist/models/User.d.ts +10 -0
- package/dist/models/User.d.ts.map +1 -0
- package/dist/models/User.js +3 -0
- package/dist/models/User.js.map +1 -0
- package/dist/models/WorkItem.d.ts +111 -0
- package/dist/models/WorkItem.d.ts.map +1 -0
- package/dist/models/WorkItem.js +3 -0
- package/dist/models/WorkItem.js.map +1 -0
- package/dist/models/WorkItemProperty.d.ts +123 -0
- package/dist/models/WorkItemProperty.d.ts.map +1 -0
- package/dist/models/WorkItemProperty.js +3 -0
- package/dist/models/WorkItemProperty.js.map +1 -0
- package/dist/models/WorkItemRelation.d.ts +34 -0
- package/dist/models/WorkItemRelation.d.ts.map +1 -0
- package/dist/models/WorkItemRelation.js +3 -0
- package/dist/models/WorkItemRelation.js.map +1 -0
- package/dist/models/WorkItemType.d.ts +18 -0
- package/dist/models/WorkItemType.d.ts.map +1 -0
- package/dist/models/WorkItemType.js +3 -0
- package/dist/models/WorkItemType.js.map +1 -0
- package/dist/models/WorkLog.d.ts +23 -0
- package/dist/models/WorkLog.d.ts.map +1 -0
- package/dist/models/WorkLog.js +3 -0
- package/dist/models/WorkLog.js.map +1 -0
- package/dist/models/common.d.ts +63 -0
- package/dist/models/common.d.ts.map +1 -0
- package/dist/models/common.js +6 -0
- package/dist/models/common.js.map +1 -0
- package/dist/models/index.d.ts +11 -95
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +9 -94
- package/dist/models/index.js.map +1 -0
- package/package.json +49 -14
- package/.github/workflows/publish-node-sdk.yml +0 -43
- package/.openapi-generator/FILES +0 -124
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -23
- package/dist/apis/AssetsApi.d.ts +0 -100
- package/dist/apis/AssetsApi.js +0 -522
- package/dist/apis/CyclesApi.d.ts +0 -225
- package/dist/apis/CyclesApi.js +0 -1142
- package/dist/apis/IntakeApi.d.ts +0 -96
- package/dist/apis/IntakeApi.js +0 -485
- package/dist/apis/LabelsApi.d.ts +0 -97
- package/dist/apis/LabelsApi.js +0 -488
- package/dist/apis/MembersApi.d.ts +0 -44
- package/dist/apis/MembersApi.js +0 -228
- package/dist/apis/ModulesApi.d.ts +0 -198
- package/dist/apis/ModulesApi.js +0 -991
- package/dist/apis/ProjectsApi.d.ts +0 -120
- package/dist/apis/ProjectsApi.js +0 -621
- package/dist/apis/StatesApi.d.ts +0 -96
- package/dist/apis/StatesApi.js +0 -485
- package/dist/apis/UsersApi.d.ts +0 -27
- package/dist/apis/UsersApi.js +0 -149
- package/dist/apis/WorkItemActivityApi.d.ts +0 -58
- package/dist/apis/WorkItemActivityApi.js +0 -270
- package/dist/apis/WorkItemAttachmentsApi.d.ts +0 -80
- package/dist/apis/WorkItemAttachmentsApi.js +0 -400
- package/dist/apis/WorkItemCommentsApi.d.ts +0 -102
- package/dist/apis/WorkItemCommentsApi.js +0 -500
- package/dist/apis/WorkItemLinksApi.d.ts +0 -106
- package/dist/apis/WorkItemLinksApi.js +0 -515
- package/dist/apis/WorkItemPropertiesApi.d.ts +0 -210
- package/dist/apis/WorkItemPropertiesApi.js +0 -1066
- package/dist/apis/WorkItemTypesApi.d.ts +0 -92
- package/dist/apis/WorkItemTypesApi.js +0 -473
- package/dist/apis/WorkItemWorklogsApi.d.ts +0 -95
- package/dist/apis/WorkItemWorklogsApi.js +0 -479
- package/dist/apis/WorkItemsApi.d.ts +0 -134
- package/dist/apis/WorkItemsApi.js +0 -674
- package/dist/apis/index.d.ts +0 -17
- package/dist/apis/index.js +0 -34
- package/dist/models/AccessEnum.d.ts +0 -25
- package/dist/models/AccessEnum.js +0 -51
- package/dist/models/CycleCreateRequest.d.ts +0 -77
- package/dist/models/CycleCreateRequest.js +0 -67
- package/dist/models/CycleIssue.d.ts +0 -94
- package/dist/models/CycleIssue.js +0 -65
- package/dist/models/CycleIssueRequestRequest.d.ts +0 -34
- package/dist/models/CycleIssueRequestRequest.js +0 -50
- package/dist/models/CycleLite.d.ts +0 -161
- package/dist/models/CycleLite.js +0 -96
- package/dist/models/EntityTypeEnum.d.ts +0 -25
- package/dist/models/EntityTypeEnum.js +0 -51
- package/dist/models/GenericAssetUploadRequest.d.ts +0 -65
- package/dist/models/GenericAssetUploadRequest.js +0 -62
- package/dist/models/GetWorkspaceMembers200ResponseInner.d.ts +0 -73
- package/dist/models/GetWorkspaceMembers200ResponseInner.js +0 -55
- package/dist/models/GroupEnum.d.ts +0 -33
- package/dist/models/GroupEnum.js +0 -59
- package/dist/models/IntakeIssue.d.ts +0 -150
- package/dist/models/IntakeIssue.js +0 -80
- package/dist/models/IntakeIssueCreateRequest.d.ts +0 -72
- package/dist/models/IntakeIssueCreateRequest.js +0 -66
- package/dist/models/IntakeWorkItemStatusEnum.d.ts +0 -31
- package/dist/models/IntakeWorkItemStatusEnum.js +0 -57
- package/dist/models/Issue.d.ts +0 -197
- package/dist/models/Issue.js +0 -98
- package/dist/models/IssueActivity.d.ts +0 -136
- package/dist/models/IssueActivity.js +0 -83
- package/dist/models/IssueAttachment.d.ts +0 -172
- package/dist/models/IssueAttachment.js +0 -89
- package/dist/models/IssueAttachmentUploadRequest.d.ts +0 -58
- package/dist/models/IssueAttachmentUploadRequest.js +0 -60
- package/dist/models/IssueComment.d.ts +0 -137
- package/dist/models/IssueComment.js +0 -74
- package/dist/models/IssueCommentCreateRequest.d.ts +0 -59
- package/dist/models/IssueCommentCreateRequest.js +0 -57
- package/dist/models/IssueDetail.d.ts +0 -211
- package/dist/models/IssueDetail.js +0 -108
- package/dist/models/IssueExpand.d.ts +0 -224
- package/dist/models/IssueExpand.js +0 -103
- package/dist/models/IssueForIntakeRequest.d.ts +0 -53
- package/dist/models/IssueForIntakeRequest.js +0 -57
- package/dist/models/IssueLink.d.ts +0 -100
- package/dist/models/IssueLink.js +0 -64
- package/dist/models/IssueLinkCreateRequest.d.ts +0 -34
- package/dist/models/IssueLinkCreateRequest.js +0 -50
- package/dist/models/IssuePropertyAPI.d.ts +0 -171
- package/dist/models/IssuePropertyAPI.js +0 -88
- package/dist/models/IssuePropertyAPIRequest.d.ts +0 -99
- package/dist/models/IssuePropertyAPIRequest.js +0 -76
- package/dist/models/IssuePropertyOptionAPI.d.ts +0 -133
- package/dist/models/IssuePropertyOptionAPI.js +0 -73
- package/dist/models/IssuePropertyOptionAPIRequest.d.ts +0 -67
- package/dist/models/IssuePropertyOptionAPIRequest.js +0 -62
- package/dist/models/IssuePropertyValueAPI.d.ts +0 -133
- package/dist/models/IssuePropertyValueAPI.js +0 -78
- package/dist/models/IssuePropertyValueAPIDetail.d.ts +0 -39
- package/dist/models/IssuePropertyValueAPIDetail.js +0 -54
- package/dist/models/IssuePropertyValueAPIRequest.d.ts +0 -85
- package/dist/models/IssuePropertyValueAPIRequest.js +0 -70
- package/dist/models/IssueRequest.d.ts +0 -167
- package/dist/models/IssueRequest.js +0 -95
- package/dist/models/IssueSearch.d.ts +0 -34
- package/dist/models/IssueSearch.js +0 -51
- package/dist/models/IssueSearchItem.d.ts +0 -64
- package/dist/models/IssueSearchItem.js +0 -70
- package/dist/models/IssueTypeAPI.d.ts +0 -127
- package/dist/models/IssueTypeAPI.js +0 -72
- package/dist/models/IssueTypeAPIRequest.d.ts +0 -67
- package/dist/models/IssueTypeAPIRequest.js +0 -62
- package/dist/models/IssueWorkLogAPI.d.ts +0 -85
- package/dist/models/IssueWorkLogAPI.js +0 -60
- package/dist/models/IssueWorkLogAPIRequest.d.ts +0 -49
- package/dist/models/IssueWorkLogAPIRequest.js +0 -54
- package/dist/models/LabelCreateUpdateRequest.d.ts +0 -70
- package/dist/models/LabelCreateUpdateRequest.js +0 -62
- package/dist/models/ModuleCreateRequest.d.ts +0 -83
- package/dist/models/ModuleCreateRequest.js +0 -67
- package/dist/models/ModuleIssue.d.ts +0 -94
- package/dist/models/ModuleIssue.js +0 -63
- package/dist/models/ModuleIssueRequestRequest.d.ts +0 -34
- package/dist/models/ModuleIssueRequestRequest.js +0 -50
- package/dist/models/ModuleLite.d.ts +0 -167
- package/dist/models/ModuleLite.js +0 -97
- package/dist/models/ModuleStatusEnum.d.ts +0 -33
- package/dist/models/ModuleStatusEnum.js +0 -59
- package/dist/models/NetworkEnum.d.ts +0 -25
- package/dist/models/NetworkEnum.js +0 -51
- package/dist/models/PaginatedArchivedCycleResponse.d.ts +0 -98
- package/dist/models/PaginatedArchivedCycleResponse.js +0 -95
- package/dist/models/PaginatedArchivedModuleResponse.d.ts +0 -98
- package/dist/models/PaginatedArchivedModuleResponse.js +0 -95
- package/dist/models/PaginatedCycleIssueResponse.d.ts +0 -98
- package/dist/models/PaginatedCycleIssueResponse.js +0 -95
- package/dist/models/PaginatedCycleResponse.d.ts +0 -98
- package/dist/models/PaginatedCycleResponse.js +0 -95
- package/dist/models/PaginatedIntakeIssueResponse.d.ts +0 -98
- package/dist/models/PaginatedIntakeIssueResponse.js +0 -95
- package/dist/models/PaginatedIssueActivityDetailResponse.d.ts +0 -98
- package/dist/models/PaginatedIssueActivityDetailResponse.js +0 -95
- package/dist/models/PaginatedIssueActivityResponse.d.ts +0 -98
- package/dist/models/PaginatedIssueActivityResponse.js +0 -95
- package/dist/models/PaginatedIssueCommentResponse.d.ts +0 -98
- package/dist/models/PaginatedIssueCommentResponse.js +0 -95
- package/dist/models/PaginatedIssueLinkDetailResponse.d.ts +0 -98
- package/dist/models/PaginatedIssueLinkDetailResponse.js +0 -95
- package/dist/models/PaginatedIssueLinkResponse.d.ts +0 -98
- package/dist/models/PaginatedIssueLinkResponse.js +0 -95
- package/dist/models/PaginatedLabelResponse.d.ts +0 -98
- package/dist/models/PaginatedLabelResponse.js +0 -95
- package/dist/models/PaginatedModuleIssueResponse.d.ts +0 -98
- package/dist/models/PaginatedModuleIssueResponse.js +0 -95
- package/dist/models/PaginatedModuleResponse.d.ts +0 -98
- package/dist/models/PaginatedModuleResponse.js +0 -95
- package/dist/models/PaginatedProjectResponse.d.ts +0 -98
- package/dist/models/PaginatedProjectResponse.js +0 -95
- package/dist/models/PaginatedStateResponse.d.ts +0 -98
- package/dist/models/PaginatedStateResponse.js +0 -95
- package/dist/models/PaginatedWorkItemResponse.d.ts +0 -98
- package/dist/models/PaginatedWorkItemResponse.js +0 -95
- package/dist/models/PatchedAssetUpdateRequest.d.ts +0 -34
- package/dist/models/PatchedAssetUpdateRequest.js +0 -48
- package/dist/models/PatchedCycleUpdateRequest.d.ts +0 -77
- package/dist/models/PatchedCycleUpdateRequest.js +0 -63
- package/dist/models/PatchedGenericAssetUpdateRequest.d.ts +0 -34
- package/dist/models/PatchedGenericAssetUpdateRequest.js +0 -48
- package/dist/models/PatchedIntakeIssueUpdateRequest.d.ts +0 -66
- package/dist/models/PatchedIntakeIssueUpdateRequest.js +0 -60
- package/dist/models/PatchedIssueCommentCreateRequest.d.ts +0 -59
- package/dist/models/PatchedIssueCommentCreateRequest.js +0 -57
- package/dist/models/PatchedIssueLinkUpdateRequest.d.ts +0 -34
- package/dist/models/PatchedIssueLinkUpdateRequest.js +0 -48
- package/dist/models/PatchedIssuePropertyAPIRequest.d.ts +0 -99
- package/dist/models/PatchedIssuePropertyAPIRequest.js +0 -72
- package/dist/models/PatchedIssuePropertyOptionAPIRequest.d.ts +0 -67
- package/dist/models/PatchedIssuePropertyOptionAPIRequest.js +0 -60
- package/dist/models/PatchedIssueRequest.d.ts +0 -167
- package/dist/models/PatchedIssueRequest.js +0 -93
- package/dist/models/PatchedIssueTypeAPIRequest.d.ts +0 -67
- package/dist/models/PatchedIssueTypeAPIRequest.js +0 -60
- package/dist/models/PatchedIssueWorkLogAPIRequest.d.ts +0 -49
- package/dist/models/PatchedIssueWorkLogAPIRequest.js +0 -54
- package/dist/models/PatchedLabelCreateUpdateRequest.d.ts +0 -70
- package/dist/models/PatchedLabelCreateUpdateRequest.js +0 -60
- package/dist/models/PatchedModuleUpdateRequest.d.ts +0 -83
- package/dist/models/PatchedModuleUpdateRequest.js +0 -65
- package/dist/models/PatchedProjectUpdateRequest.d.ts +0 -143
- package/dist/models/PatchedProjectUpdateRequest.js +0 -85
- package/dist/models/PatchedStateRequest.d.ts +0 -83
- package/dist/models/PatchedStateRequest.js +0 -65
- package/dist/models/PriorityEnum.d.ts +0 -31
- package/dist/models/PriorityEnum.js +0 -57
- package/dist/models/ProjectCreateRequest.d.ts +0 -131
- package/dist/models/ProjectCreateRequest.js +0 -85
- package/dist/models/ProjectWorklogSummary.d.ts +0 -37
- package/dist/models/ProjectWorklogSummary.js +0 -54
- package/dist/models/PropertyTypeEnum.d.ts +0 -39
- package/dist/models/PropertyTypeEnum.js +0 -65
- package/dist/models/RelationTypeEnum.d.ts +0 -25
- package/dist/models/RelationTypeEnum.js +0 -51
- package/dist/models/RetrieveWorkItemAttachment400Response.d.ts +0 -37
- package/dist/models/RetrieveWorkItemAttachment400Response.js +0 -50
- package/dist/models/StateLite.d.ts +0 -53
- package/dist/models/StateLite.js +0 -50
- package/dist/models/StateRequest.d.ts +0 -83
- package/dist/models/StateRequest.js +0 -69
- package/dist/models/TimezoneEnum.d.ts +0 -887
- package/dist/models/TimezoneEnum.js +0 -913
- package/dist/models/TransferCycleIssueRequestRequest.d.ts +0 -34
- package/dist/models/TransferCycleIssueRequestRequest.js +0 -50
- package/dist/models/TransferCycleWorkItems200Response.d.ts +0 -31
- package/dist/models/TransferCycleWorkItems200Response.js +0 -48
- package/dist/models/TransferCycleWorkItems400Response.d.ts +0 -31
- package/dist/models/TransferCycleWorkItems400Response.js +0 -48
- package/dist/models/TypeEnum.d.ts +0 -31
- package/dist/models/TypeEnum.js +0 -57
- package/dist/models/UserAssetUploadRequest.d.ts +0 -64
- package/dist/models/UserAssetUploadRequest.js +0 -62
- package/dist/models/UserLite.d.ts +0 -70
- package/dist/models/UserLite.js +0 -52
- package/dist/oauth/api.js +0 -243
- package/dist/runtime.d.ts +0 -183
- package/dist/runtime.js +0 -563
- package/eslint.config.mjs +0 -11
- package/src/apis/AssetsApi.ts +0 -388
- package/src/apis/CyclesApi.ts +0 -1031
- package/src/apis/IntakeApi.ts +0 -401
- package/src/apis/LabelsApi.ts +0 -406
- package/src/apis/MembersApi.ts +0 -146
- package/src/apis/ModulesApi.ts +0 -890
- package/src/apis/ProjectsApi.ts +0 -486
- package/src/apis/StatesApi.ts +0 -401
- package/src/apis/UsersApi.ts +0 -71
- package/src/apis/WorkItemActivityApi.ts +0 -228
- package/src/apis/WorkItemAttachmentsApi.ts +0 -335
- package/src/apis/WorkItemCommentsApi.ts +0 -439
- package/src/apis/WorkItemLinksApi.ts +0 -469
- package/src/apis/WorkItemPropertiesApi.ts +0 -984
- package/src/apis/WorkItemTypesApi.ts +0 -378
- package/src/apis/WorkItemWorklogsApi.ts +0 -398
- package/src/apis/WorkItemsApi.ts +0 -594
- package/src/apis/index.ts +0 -19
- package/src/index.ts +0 -6
- package/src/models/AccessEnum.ts +0 -53
- package/src/models/Cycle.ts +0 -300
- package/src/models/CycleCreateRequest.ts +0 -135
- package/src/models/CycleIssue.ts +0 -142
- package/src/models/CycleIssueRequestRequest.ts +0 -68
- package/src/models/CycleLite.ts +0 -246
- package/src/models/EntityTypeEnum.ts +0 -53
- package/src/models/GenericAssetUploadRequest.ts +0 -110
- package/src/models/GetWorkspaceMembers200ResponseInner.ts +0 -113
- package/src/models/GroupEnum.ts +0 -61
- package/src/models/IntakeIssue.ts +0 -227
- package/src/models/IntakeIssueCreateRequest.ts +0 -134
- package/src/models/IntakeWorkItemStatusEnum.ts +0 -59
- package/src/models/Issue.ts +0 -287
- package/src/models/IssueActivity.ts +0 -202
- package/src/models/IssueAttachment.ts +0 -245
- package/src/models/IssueAttachmentUploadRequest.ts +0 -101
- package/src/models/IssueComment.ts +0 -204
- package/src/models/IssueCommentCreateRequest.ts +0 -109
- package/src/models/IssueDetail.ts +0 -319
- package/src/models/IssueExpand.ts +0 -334
- package/src/models/IssueForIntakeRequest.ts +0 -102
- package/src/models/IssueLink.ts +0 -148
- package/src/models/IssueLinkCreateRequest.ts +0 -68
- package/src/models/IssuePropertyAPI.ts +0 -255
- package/src/models/IssuePropertyAPIRequest.ts +0 -171
- package/src/models/IssuePropertyOptionAPI.ts +0 -190
- package/src/models/IssuePropertyOptionAPIRequest.ts +0 -113
- package/src/models/IssuePropertyValueAPI.ts +0 -194
- package/src/models/IssuePropertyValueAPIDetail.ts +0 -76
- package/src/models/IssuePropertyValueAPIRequest.ts +0 -138
- package/src/models/IssueRequest.ts +0 -254
- package/src/models/IssueSearch.ts +0 -75
- package/src/models/IssueSearchItem.ts +0 -113
- package/src/models/IssueTypeAPI.ts +0 -183
- package/src/models/IssueTypeAPIRequest.ts +0 -113
- package/src/models/IssueWorkLogAPI.ts +0 -130
- package/src/models/IssueWorkLogAPIRequest.ts +0 -88
- package/src/models/Label.ts +0 -172
- package/src/models/LabelCreateUpdateRequest.ts +0 -116
- package/src/models/Module.ts +0 -280
- package/src/models/ModuleCreateRequest.ts +0 -142
- package/src/models/ModuleIssue.ts +0 -140
- package/src/models/ModuleIssueRequestRequest.ts +0 -68
- package/src/models/ModuleLite.ts +0 -253
- package/src/models/ModuleStatusEnum.ts +0 -61
- package/src/models/NetworkEnum.ts +0 -53
- package/src/models/PaginatedArchivedCycleResponse.ts +0 -172
- package/src/models/PaginatedArchivedModuleResponse.ts +0 -172
- package/src/models/PaginatedCycleIssueResponse.ts +0 -172
- package/src/models/PaginatedCycleResponse.ts +0 -172
- package/src/models/PaginatedIntakeIssueResponse.ts +0 -172
- package/src/models/PaginatedIssueActivityDetailResponse.ts +0 -172
- package/src/models/PaginatedIssueActivityResponse.ts +0 -172
- package/src/models/PaginatedIssueCommentResponse.ts +0 -172
- package/src/models/PaginatedIssueLinkDetailResponse.ts +0 -172
- package/src/models/PaginatedIssueLinkResponse.ts +0 -172
- package/src/models/PaginatedLabelResponse.ts +0 -172
- package/src/models/PaginatedModuleIssueResponse.ts +0 -172
- package/src/models/PaginatedModuleResponse.ts +0 -172
- package/src/models/PaginatedProjectResponse.ts +0 -172
- package/src/models/PaginatedStateResponse.ts +0 -172
- package/src/models/PaginatedWorkItemResponse.ts +0 -172
- package/src/models/PatchedAssetUpdateRequest.ts +0 -67
- package/src/models/PatchedCycleUpdateRequest.ts +0 -133
- package/src/models/PatchedGenericAssetUpdateRequest.ts +0 -67
- package/src/models/PatchedIntakeIssueUpdateRequest.ts +0 -124
- package/src/models/PatchedIssueCommentCreateRequest.ts +0 -109
- package/src/models/PatchedIssueLinkUpdateRequest.ts +0 -67
- package/src/models/PatchedIssuePropertyAPIRequest.ts +0 -169
- package/src/models/PatchedIssuePropertyOptionAPIRequest.ts +0 -112
- package/src/models/PatchedIssueRequest.ts +0 -253
- package/src/models/PatchedIssueTypeAPIRequest.ts +0 -112
- package/src/models/PatchedIssueWorkLogAPIRequest.ts +0 -88
- package/src/models/PatchedLabelCreateUpdateRequest.ts +0 -115
- package/src/models/PatchedModuleUpdateRequest.ts +0 -141
- package/src/models/PatchedProjectUpdateRequest.ts +0 -221
- package/src/models/PatchedStateRequest.ts +0 -141
- package/src/models/PriorityEnum.ts +0 -59
- package/src/models/Project.ts +0 -414
- package/src/models/ProjectCreateRequest.ts +0 -207
- package/src/models/ProjectWorklogSummary.ts +0 -74
- package/src/models/PropertyTypeEnum.ts +0 -67
- package/src/models/RelationTypeEnum.ts +0 -53
- package/src/models/RetrieveWorkItemAttachment400Response.ts +0 -72
- package/src/models/State.ts +0 -199
- package/src/models/StateLite.ts +0 -97
- package/src/models/StateRequest.ts +0 -143
- package/src/models/TimezoneEnum.ts +0 -915
- package/src/models/TransferCycleIssueRequestRequest.ts +0 -68
- package/src/models/TransferCycleWorkItems200Response.ts +0 -64
- package/src/models/TransferCycleWorkItems400Response.ts +0 -64
- package/src/models/TypeEnum.ts +0 -59
- package/src/models/UserAssetUploadRequest.ts +0 -121
- package/src/models/UserLite.ts +0 -108
- package/src/models/index.ts +0 -97
- package/src/oauth/api.ts +0 -183
- package/src/oauth/models.ts +0 -30
- package/src/runtime.ts +0 -431
- package/tsconfig.json +0 -20
|
@@ -1,204 +0,0 @@
|
|
|
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.1
|
|
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 { AccessEnum } from './AccessEnum';
|
|
16
|
-
import {
|
|
17
|
-
AccessEnumFromJSON,
|
|
18
|
-
AccessEnumFromJSONTyped,
|
|
19
|
-
AccessEnumToJSON,
|
|
20
|
-
AccessEnumToJSONTyped,
|
|
21
|
-
} from './AccessEnum';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Full serializer for work item comments with membership context.
|
|
25
|
-
*
|
|
26
|
-
* Provides complete comment data including member status, content formatting,
|
|
27
|
-
* and edit tracking for collaborative work item discussions.
|
|
28
|
-
* @export
|
|
29
|
-
* @interface IssueComment
|
|
30
|
-
*/
|
|
31
|
-
export interface IssueComment {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof IssueComment
|
|
36
|
-
*/
|
|
37
|
-
readonly id?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {boolean}
|
|
41
|
-
* @memberof IssueComment
|
|
42
|
-
*/
|
|
43
|
-
readonly isMember?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {Date}
|
|
47
|
-
* @memberof IssueComment
|
|
48
|
-
*/
|
|
49
|
-
readonly createdAt?: Date;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {Date}
|
|
53
|
-
* @memberof IssueComment
|
|
54
|
-
*/
|
|
55
|
-
readonly updatedAt?: Date;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {Date}
|
|
59
|
-
* @memberof IssueComment
|
|
60
|
-
*/
|
|
61
|
-
deletedAt?: Date | null;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof IssueComment
|
|
66
|
-
*/
|
|
67
|
-
commentStripped?: string;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof IssueComment
|
|
72
|
-
*/
|
|
73
|
-
commentHtml?: string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {Array<string>}
|
|
77
|
-
* @memberof IssueComment
|
|
78
|
-
*/
|
|
79
|
-
attachments?: Array<string>;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {AccessEnum}
|
|
83
|
-
* @memberof IssueComment
|
|
84
|
-
*/
|
|
85
|
-
access?: AccessEnum;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @memberof IssueComment
|
|
90
|
-
*/
|
|
91
|
-
externalSource?: string | null;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {string}
|
|
95
|
-
* @memberof IssueComment
|
|
96
|
-
*/
|
|
97
|
-
externalId?: string | null;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {Date}
|
|
101
|
-
* @memberof IssueComment
|
|
102
|
-
*/
|
|
103
|
-
editedAt?: Date | null;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof IssueComment
|
|
108
|
-
*/
|
|
109
|
-
readonly createdBy?: string | null;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {string}
|
|
113
|
-
* @memberof IssueComment
|
|
114
|
-
*/
|
|
115
|
-
readonly updatedBy?: string | null;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* @type {string}
|
|
119
|
-
* @memberof IssueComment
|
|
120
|
-
*/
|
|
121
|
-
readonly project?: string;
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
* @type {string}
|
|
125
|
-
* @memberof IssueComment
|
|
126
|
-
*/
|
|
127
|
-
readonly workspace?: string;
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @type {string}
|
|
131
|
-
* @memberof IssueComment
|
|
132
|
-
*/
|
|
133
|
-
readonly issue?: string;
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @type {string}
|
|
137
|
-
* @memberof IssueComment
|
|
138
|
-
*/
|
|
139
|
-
actor?: string | null;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Check if a given object implements the IssueComment interface.
|
|
146
|
-
*/
|
|
147
|
-
export function instanceOfIssueComment(value: object): value is IssueComment {
|
|
148
|
-
return true;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export function IssueCommentFromJSON(json: any): IssueComment {
|
|
152
|
-
return IssueCommentFromJSONTyped(json, false);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
export function IssueCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueComment {
|
|
156
|
-
if (json == null) {
|
|
157
|
-
return json;
|
|
158
|
-
}
|
|
159
|
-
return {
|
|
160
|
-
|
|
161
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
162
|
-
'isMember': json['is_member'] == null ? undefined : json['is_member'],
|
|
163
|
-
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
164
|
-
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
165
|
-
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
|
166
|
-
'commentStripped': json['comment_stripped'] == null ? undefined : json['comment_stripped'],
|
|
167
|
-
'commentHtml': json['comment_html'] == null ? undefined : json['comment_html'],
|
|
168
|
-
'attachments': json['attachments'] == null ? undefined : json['attachments'],
|
|
169
|
-
'access': json['access'] == null ? undefined : AccessEnumFromJSON(json['access']),
|
|
170
|
-
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
171
|
-
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
172
|
-
'editedAt': json['edited_at'] == null ? undefined : (new Date(json['edited_at'])),
|
|
173
|
-
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
174
|
-
'updatedBy': json['updated_by'] == null ? undefined : json['updated_by'],
|
|
175
|
-
'project': json['project'] == null ? undefined : json['project'],
|
|
176
|
-
'workspace': json['workspace'] == null ? undefined : json['workspace'],
|
|
177
|
-
'issue': json['issue'] == null ? undefined : json['issue'],
|
|
178
|
-
'actor': json['actor'] == null ? undefined : json['actor'],
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export function IssueCommentToJSON(json: any): IssueComment {
|
|
183
|
-
return IssueCommentToJSONTyped(json, false);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export function IssueCommentToJSONTyped(value?: Omit<IssueComment, 'id'|'is_member'|'created_at'|'updated_at'|'created_by'|'updated_by'|'project'|'workspace'|'issue'> | null, ignoreDiscriminator: boolean = false): any {
|
|
187
|
-
if (value == null) {
|
|
188
|
-
return value;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
return {
|
|
192
|
-
|
|
193
|
-
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
|
194
|
-
'comment_stripped': value['commentStripped'],
|
|
195
|
-
'comment_html': value['commentHtml'],
|
|
196
|
-
'attachments': value['attachments'],
|
|
197
|
-
'access': AccessEnumToJSON(value['access']),
|
|
198
|
-
'external_source': value['externalSource'],
|
|
199
|
-
'external_id': value['externalId'],
|
|
200
|
-
'edited_at': value['editedAt'] == null ? undefined : ((value['editedAt'] as any).toISOString()),
|
|
201
|
-
'actor': value['actor'],
|
|
202
|
-
};
|
|
203
|
-
}
|
|
204
|
-
|
|
@@ -1,109 +0,0 @@
|
|
|
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.1
|
|
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 { AccessEnum } from './AccessEnum';
|
|
16
|
-
import {
|
|
17
|
-
AccessEnumFromJSON,
|
|
18
|
-
AccessEnumFromJSONTyped,
|
|
19
|
-
AccessEnumToJSON,
|
|
20
|
-
AccessEnumToJSONTyped,
|
|
21
|
-
} from './AccessEnum';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Serializer for creating work item comments.
|
|
25
|
-
*
|
|
26
|
-
* Handles comment creation with JSON and HTML content support,
|
|
27
|
-
* access control, and external integration tracking.
|
|
28
|
-
* @export
|
|
29
|
-
* @interface IssueCommentCreateRequest
|
|
30
|
-
*/
|
|
31
|
-
export interface IssueCommentCreateRequest {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {any}
|
|
35
|
-
* @memberof IssueCommentCreateRequest
|
|
36
|
-
*/
|
|
37
|
-
commentJson?: any | null;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof IssueCommentCreateRequest
|
|
42
|
-
*/
|
|
43
|
-
commentHtml?: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {AccessEnum}
|
|
47
|
-
* @memberof IssueCommentCreateRequest
|
|
48
|
-
*/
|
|
49
|
-
access?: AccessEnum;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof IssueCommentCreateRequest
|
|
54
|
-
*/
|
|
55
|
-
externalSource?: string | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof IssueCommentCreateRequest
|
|
60
|
-
*/
|
|
61
|
-
externalId?: string | null;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Check if a given object implements the IssueCommentCreateRequest interface.
|
|
68
|
-
*/
|
|
69
|
-
export function instanceOfIssueCommentCreateRequest(value: object): value is IssueCommentCreateRequest {
|
|
70
|
-
return true;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function IssueCommentCreateRequestFromJSON(json: any): IssueCommentCreateRequest {
|
|
74
|
-
return IssueCommentCreateRequestFromJSONTyped(json, false);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function IssueCommentCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueCommentCreateRequest {
|
|
78
|
-
if (json == null) {
|
|
79
|
-
return json;
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
|
|
83
|
-
'commentJson': json['comment_json'] == null ? undefined : json['comment_json'],
|
|
84
|
-
'commentHtml': json['comment_html'] == null ? undefined : json['comment_html'],
|
|
85
|
-
'access': json['access'] == null ? undefined : AccessEnumFromJSON(json['access']),
|
|
86
|
-
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
87
|
-
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export function IssueCommentCreateRequestToJSON(json: any): IssueCommentCreateRequest {
|
|
92
|
-
return IssueCommentCreateRequestToJSONTyped(json, false);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export function IssueCommentCreateRequestToJSONTyped(value?: IssueCommentCreateRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
96
|
-
if (value == null) {
|
|
97
|
-
return value;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
return {
|
|
101
|
-
|
|
102
|
-
'comment_json': value['commentJson'],
|
|
103
|
-
'comment_html': value['commentHtml'],
|
|
104
|
-
'access': AccessEnumToJSON(value['access']),
|
|
105
|
-
'external_source': value['externalSource'],
|
|
106
|
-
'external_id': value['externalId'],
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
|
|
@@ -1,319 +0,0 @@
|
|
|
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.1
|
|
8
|
-
* Contact: support@plane.so
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated.
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import { mapValues } from '../runtime';
|
|
15
|
-
import type { PriorityEnum } from './PriorityEnum';
|
|
16
|
-
import {
|
|
17
|
-
PriorityEnumFromJSON,
|
|
18
|
-
PriorityEnumFromJSONTyped,
|
|
19
|
-
PriorityEnumToJSON,
|
|
20
|
-
PriorityEnumToJSONTyped,
|
|
21
|
-
} from './PriorityEnum';
|
|
22
|
-
import type { Label } from './Label';
|
|
23
|
-
import {
|
|
24
|
-
LabelFromJSON,
|
|
25
|
-
LabelFromJSONTyped,
|
|
26
|
-
LabelToJSON,
|
|
27
|
-
LabelToJSONTyped,
|
|
28
|
-
} from './Label';
|
|
29
|
-
import type { UserLite } from './UserLite';
|
|
30
|
-
import {
|
|
31
|
-
UserLiteFromJSON,
|
|
32
|
-
UserLiteFromJSONTyped,
|
|
33
|
-
UserLiteToJSON,
|
|
34
|
-
UserLiteToJSONTyped,
|
|
35
|
-
} from './UserLite';
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Comprehensive work item serializer with full relationship management.
|
|
39
|
-
*
|
|
40
|
-
* Handles complete work item lifecycle including assignees, labels, validation,
|
|
41
|
-
* and related model updates. Supports dynamic field expansion and HTML content processing.
|
|
42
|
-
* @export
|
|
43
|
-
* @interface IssueDetail
|
|
44
|
-
*/
|
|
45
|
-
export interface IssueDetail {
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof IssueDetail
|
|
50
|
-
*/
|
|
51
|
-
readonly id?: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<UserLite>}
|
|
55
|
-
* @memberof IssueDetail
|
|
56
|
-
*/
|
|
57
|
-
assignees: Array<UserLite>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<Label>}
|
|
61
|
-
* @memberof IssueDetail
|
|
62
|
-
*/
|
|
63
|
-
labels: Array<Label>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof IssueDetail
|
|
68
|
-
*/
|
|
69
|
-
typeId?: string | null;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {Date}
|
|
73
|
-
* @memberof IssueDetail
|
|
74
|
-
*/
|
|
75
|
-
readonly createdAt?: Date;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {Date}
|
|
79
|
-
* @memberof IssueDetail
|
|
80
|
-
*/
|
|
81
|
-
readonly updatedAt?: Date;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {Date}
|
|
85
|
-
* @memberof IssueDetail
|
|
86
|
-
*/
|
|
87
|
-
deletedAt?: Date | null;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {number}
|
|
91
|
-
* @memberof IssueDetail
|
|
92
|
-
*/
|
|
93
|
-
point?: number | null;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {string}
|
|
97
|
-
* @memberof IssueDetail
|
|
98
|
-
*/
|
|
99
|
-
name: string;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof IssueDetail
|
|
104
|
-
*/
|
|
105
|
-
descriptionHtml?: string;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof IssueDetail
|
|
110
|
-
*/
|
|
111
|
-
descriptionStripped?: string | null;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {string}
|
|
115
|
-
* @memberof IssueDetail
|
|
116
|
-
*/
|
|
117
|
-
readonly descriptionBinary?: string | null;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {PriorityEnum}
|
|
121
|
-
* @memberof IssueDetail
|
|
122
|
-
*/
|
|
123
|
-
priority?: PriorityEnum;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {Date}
|
|
127
|
-
* @memberof IssueDetail
|
|
128
|
-
*/
|
|
129
|
-
startDate?: Date | null;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {Date}
|
|
133
|
-
* @memberof IssueDetail
|
|
134
|
-
*/
|
|
135
|
-
targetDate?: Date | null;
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @type {number}
|
|
139
|
-
* @memberof IssueDetail
|
|
140
|
-
*/
|
|
141
|
-
sequenceId?: number;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @type {number}
|
|
145
|
-
* @memberof IssueDetail
|
|
146
|
-
*/
|
|
147
|
-
sortOrder?: number;
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @type {Date}
|
|
151
|
-
* @memberof IssueDetail
|
|
152
|
-
*/
|
|
153
|
-
completedAt?: Date | null;
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @type {Date}
|
|
157
|
-
* @memberof IssueDetail
|
|
158
|
-
*/
|
|
159
|
-
archivedAt?: Date | null;
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @type {boolean}
|
|
163
|
-
* @memberof IssueDetail
|
|
164
|
-
*/
|
|
165
|
-
isDraft?: boolean;
|
|
166
|
-
/**
|
|
167
|
-
*
|
|
168
|
-
* @type {string}
|
|
169
|
-
* @memberof IssueDetail
|
|
170
|
-
*/
|
|
171
|
-
externalSource?: string | null;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @type {string}
|
|
175
|
-
* @memberof IssueDetail
|
|
176
|
-
*/
|
|
177
|
-
externalId?: string | null;
|
|
178
|
-
/**
|
|
179
|
-
*
|
|
180
|
-
* @type {string}
|
|
181
|
-
* @memberof IssueDetail
|
|
182
|
-
*/
|
|
183
|
-
createdBy?: string | null;
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @type {string}
|
|
187
|
-
* @memberof IssueDetail
|
|
188
|
-
*/
|
|
189
|
-
readonly updatedBy?: string | null;
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @type {string}
|
|
193
|
-
* @memberof IssueDetail
|
|
194
|
-
*/
|
|
195
|
-
readonly project?: string;
|
|
196
|
-
/**
|
|
197
|
-
*
|
|
198
|
-
* @type {string}
|
|
199
|
-
* @memberof IssueDetail
|
|
200
|
-
*/
|
|
201
|
-
readonly workspace?: string;
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @type {string}
|
|
205
|
-
* @memberof IssueDetail
|
|
206
|
-
*/
|
|
207
|
-
parent?: string | null;
|
|
208
|
-
/**
|
|
209
|
-
*
|
|
210
|
-
* @type {string}
|
|
211
|
-
* @memberof IssueDetail
|
|
212
|
-
*/
|
|
213
|
-
state?: string | null;
|
|
214
|
-
/**
|
|
215
|
-
*
|
|
216
|
-
* @type {string}
|
|
217
|
-
* @memberof IssueDetail
|
|
218
|
-
*/
|
|
219
|
-
estimatePoint?: string | null;
|
|
220
|
-
/**
|
|
221
|
-
*
|
|
222
|
-
* @type {string}
|
|
223
|
-
* @memberof IssueDetail
|
|
224
|
-
*/
|
|
225
|
-
type?: string | null;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Check if a given object implements the IssueDetail interface.
|
|
232
|
-
*/
|
|
233
|
-
export function instanceOfIssueDetail(value: object): value is IssueDetail {
|
|
234
|
-
if (!('assignees' in value) || value['assignees'] === undefined) return false;
|
|
235
|
-
if (!('labels' in value) || value['labels'] === undefined) return false;
|
|
236
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
237
|
-
return true;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
export function IssueDetailFromJSON(json: any): IssueDetail {
|
|
241
|
-
return IssueDetailFromJSONTyped(json, false);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
export function IssueDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueDetail {
|
|
245
|
-
if (json == null) {
|
|
246
|
-
return json;
|
|
247
|
-
}
|
|
248
|
-
return {
|
|
249
|
-
|
|
250
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
251
|
-
'assignees': ((json['assignees'] as Array<any>).map(UserLiteFromJSON)),
|
|
252
|
-
'labels': ((json['labels'] as Array<any>).map(LabelFromJSON)),
|
|
253
|
-
'typeId': json['type_id'] == null ? undefined : json['type_id'],
|
|
254
|
-
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
255
|
-
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
256
|
-
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
|
257
|
-
'point': json['point'] == null ? undefined : json['point'],
|
|
258
|
-
'name': json['name'],
|
|
259
|
-
'descriptionHtml': json['description_html'] == null ? undefined : json['description_html'],
|
|
260
|
-
'descriptionStripped': json['description_stripped'] == null ? undefined : json['description_stripped'],
|
|
261
|
-
'descriptionBinary': json['description_binary'] == null ? undefined : json['description_binary'],
|
|
262
|
-
'priority': json['priority'] == null ? undefined : PriorityEnumFromJSON(json['priority']),
|
|
263
|
-
'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
|
|
264
|
-
'targetDate': json['target_date'] == null ? undefined : (new Date(json['target_date'])),
|
|
265
|
-
'sequenceId': json['sequence_id'] == null ? undefined : json['sequence_id'],
|
|
266
|
-
'sortOrder': json['sort_order'] == null ? undefined : json['sort_order'],
|
|
267
|
-
'completedAt': json['completed_at'] == null ? undefined : (new Date(json['completed_at'])),
|
|
268
|
-
'archivedAt': json['archived_at'] == null ? undefined : (new Date(json['archived_at'])),
|
|
269
|
-
'isDraft': json['is_draft'] == null ? undefined : json['is_draft'],
|
|
270
|
-
'externalSource': json['external_source'] == null ? undefined : json['external_source'],
|
|
271
|
-
'externalId': json['external_id'] == null ? undefined : json['external_id'],
|
|
272
|
-
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
273
|
-
'updatedBy': json['updated_by'] == null ? undefined : json['updated_by'],
|
|
274
|
-
'project': json['project'] == null ? undefined : json['project'],
|
|
275
|
-
'workspace': json['workspace'] == null ? undefined : json['workspace'],
|
|
276
|
-
'parent': json['parent'] == null ? undefined : json['parent'],
|
|
277
|
-
'state': json['state'] == null ? undefined : json['state'],
|
|
278
|
-
'estimatePoint': json['estimate_point'] == null ? undefined : json['estimate_point'],
|
|
279
|
-
'type': json['type'] == null ? undefined : json['type'],
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
export function IssueDetailToJSON(json: any): IssueDetail {
|
|
284
|
-
return IssueDetailToJSONTyped(json, false);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
export function IssueDetailToJSONTyped(value?: Omit<IssueDetail, 'id'|'created_at'|'updated_at'|'description_binary'|'updated_by'|'project'|'workspace'> | null, ignoreDiscriminator: boolean = false): any {
|
|
288
|
-
if (value == null) {
|
|
289
|
-
return value;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
return {
|
|
293
|
-
|
|
294
|
-
'assignees': ((value['assignees'] as Array<any>).map(UserLiteToJSON)),
|
|
295
|
-
'labels': ((value['labels'] as Array<any>).map(LabelToJSON)),
|
|
296
|
-
'type_id': value['typeId'],
|
|
297
|
-
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
|
298
|
-
'point': value['point'],
|
|
299
|
-
'name': value['name'],
|
|
300
|
-
'description_html': value['descriptionHtml'],
|
|
301
|
-
'description_stripped': value['descriptionStripped'],
|
|
302
|
-
'priority': PriorityEnumToJSON(value['priority']),
|
|
303
|
-
'start_date': value['startDate'] == null ? undefined : ((value['startDate'] as any).toISOString().substring(0,10)),
|
|
304
|
-
'target_date': value['targetDate'] == null ? undefined : ((value['targetDate'] as any).toISOString().substring(0,10)),
|
|
305
|
-
'sequence_id': value['sequenceId'],
|
|
306
|
-
'sort_order': value['sortOrder'],
|
|
307
|
-
'completed_at': value['completedAt'] == null ? undefined : ((value['completedAt'] as any).toISOString()),
|
|
308
|
-
'archived_at': value['archivedAt'] == null ? undefined : ((value['archivedAt'] as any).toISOString().substring(0,10)),
|
|
309
|
-
'is_draft': value['isDraft'],
|
|
310
|
-
'external_source': value['externalSource'],
|
|
311
|
-
'external_id': value['externalId'],
|
|
312
|
-
'created_by': value['createdBy'],
|
|
313
|
-
'parent': value['parent'],
|
|
314
|
-
'state': value['state'],
|
|
315
|
-
'estimate_point': value['estimatePoint'],
|
|
316
|
-
'type': value['type'],
|
|
317
|
-
};
|
|
318
|
-
}
|
|
319
|
-
|