revdoku 4.0.0 → 5.0.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/README.md +53 -30
- package/REFERENCE.md +41 -150
- package/dist/apis/DefaultApi.d.ts +72 -326
- package/dist/apis/DefaultApi.js +104 -614
- package/dist/client.d.ts +1 -14
- package/dist/client.js +0 -43
- package/dist/models/AccountIdentity.d.ts +2 -2
- package/dist/models/AccountIdentity.js +2 -2
- package/dist/models/AccountIdentityAgencyAccount.d.ts +2 -2
- package/dist/models/AccountIdentityAgencyAccount.js +2 -2
- package/dist/models/AccountIdentityPermissions.d.ts +2 -2
- package/dist/models/AccountIdentityPermissions.js +2 -2
- package/dist/models/AccountLimits.d.ts +2 -2
- package/dist/models/AccountLimits.js +2 -2
- package/dist/models/AccountList.d.ts +2 -2
- package/dist/models/AccountList.js +2 -2
- package/dist/models/ActionRequest.d.ts +2 -2
- package/dist/models/ActionRequest.js +2 -2
- package/dist/models/AgentConnection.d.ts +2 -2
- package/dist/models/AgentConnection.js +2 -2
- package/dist/models/AnalyticsMetric.d.ts +2 -2
- package/dist/models/AnalyticsMetric.js +2 -2
- package/dist/models/ApiError.d.ts +2 -2
- package/dist/models/ApiError.js +2 -2
- package/dist/models/ApiErrorError.d.ts +2 -2
- package/dist/models/ApiErrorError.js +2 -2
- package/dist/models/BrowserLink.d.ts +2 -2
- package/dist/models/BrowserLink.js +2 -2
- package/dist/models/Bucket.d.ts +5 -5
- package/dist/models/Bucket.js +2 -2
- package/dist/models/BucketAction.d.ts +2 -2
- package/dist/models/BucketAction.js +2 -2
- package/dist/models/BucketAnalytics.d.ts +2 -2
- package/dist/models/BucketAnalytics.js +2 -2
- package/dist/models/BucketAnalyticsAskAi.d.ts +2 -2
- package/dist/models/BucketAnalyticsAskAi.js +2 -2
- package/dist/models/BucketAnalyticsAskAiPagesInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsAskAiPagesInner.js +2 -2
- package/dist/models/BucketAnalyticsGaps.d.ts +2 -2
- package/dist/models/BucketAnalyticsGaps.js +2 -2
- package/dist/models/BucketAnalyticsGapsSearchesWithoutResultsInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsGapsSearchesWithoutResultsInner.js +2 -2
- package/dist/models/BucketAnalyticsGapsUnansweredQuestionsInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsGapsUnansweredQuestionsInner.js +2 -2
- package/dist/models/BucketAnalyticsGapsUnhelpfulPagesInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsGapsUnhelpfulPagesInner.js +2 -2
- package/dist/models/BucketAnalyticsPages.d.ts +2 -2
- package/dist/models/BucketAnalyticsPages.js +2 -2
- package/dist/models/BucketAnalyticsPagesMissingPagesInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsPagesMissingPagesInner.js +2 -2
- package/dist/models/BucketAnalyticsPagesPagesInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsPagesPagesInner.js +2 -2
- package/dist/models/BucketAnalyticsPreviousPeriod.d.ts +2 -2
- package/dist/models/BucketAnalyticsPreviousPeriod.js +2 -2
- package/dist/models/BucketAnalyticsSearch.d.ts +2 -2
- package/dist/models/BucketAnalyticsSearch.js +2 -2
- package/dist/models/BucketAnalyticsSearchAiAgents.d.ts +12 -2
- package/dist/models/BucketAnalyticsSearchAiAgents.js +8 -2
- package/dist/models/BucketAnalyticsSearchAiAgentsAgentsInner.d.ts +34 -0
- package/dist/models/BucketAnalyticsSearchAiAgentsAgentsInner.js +50 -0
- package/dist/models/BucketAnalyticsSearchAiAgentsByAgentInner.d.ts +39 -0
- package/dist/models/BucketAnalyticsSearchAiAgentsByAgentInner.js +53 -0
- package/dist/models/BucketAnalyticsSearchAiAgentsByAgentInnerAgentsInner.d.ts +34 -0
- package/dist/models/BucketAnalyticsSearchAiAgentsByAgentInnerAgentsInner.js +50 -0
- package/dist/models/BucketAnalyticsSearchHumans.d.ts +7 -2
- package/dist/models/BucketAnalyticsSearchHumans.js +5 -2
- package/dist/models/BucketAnalyticsSearchHumansCountriesInner.d.ts +39 -0
- package/dist/models/BucketAnalyticsSearchHumansCountriesInner.js +53 -0
- package/dist/models/BucketAnalyticsSearchHumansTopInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSearchHumansTopInner.js +2 -2
- package/dist/models/BucketAnalyticsSearchHumansWithoutResultsInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSearchHumansWithoutResultsInner.js +2 -2
- package/dist/models/BucketAnalyticsSeriesInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSeriesInner.js +2 -2
- package/dist/models/BucketAnalyticsSources.d.ts +2 -2
- package/dist/models/BucketAnalyticsSources.js +2 -2
- package/dist/models/BucketAnalyticsSourcesAiAgents.d.ts +7 -2
- package/dist/models/BucketAnalyticsSourcesAiAgents.js +5 -2
- package/dist/models/BucketAnalyticsSourcesAiAgentsActivityInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSourcesAiAgentsActivityInner.js +2 -2
- package/dist/models/BucketAnalyticsSourcesAiAgentsAgentsInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSourcesAiAgentsAgentsInner.js +2 -2
- package/dist/models/BucketAnalyticsSourcesAiAgentsCountriesInner.d.ts +35 -0
- package/dist/models/BucketAnalyticsSourcesAiAgentsCountriesInner.js +51 -0
- package/dist/models/BucketAnalyticsSourcesAiAgentsSearchesInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSourcesAiAgentsSearchesInner.js +2 -2
- package/dist/models/BucketAnalyticsSourcesBots.d.ts +7 -2
- package/dist/models/BucketAnalyticsSourcesBots.js +5 -2
- package/dist/models/BucketAnalyticsSourcesHumans.d.ts +2 -2
- package/dist/models/BucketAnalyticsSourcesHumans.js +2 -2
- package/dist/models/BucketAnalyticsSourcesHumansCountriesInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSourcesHumansCountriesInner.js +2 -2
- package/dist/models/BucketAnalyticsSourcesHumansDownloadsInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSourcesHumansDownloadsInner.js +2 -2
- package/dist/models/BucketAnalyticsSourcesHumansOutboundLinksInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSourcesHumansOutboundLinksInner.js +2 -2
- package/dist/models/BucketAnalyticsSourcesHumansReferrersInner.d.ts +2 -2
- package/dist/models/BucketAnalyticsSourcesHumansReferrersInner.js +2 -2
- package/dist/models/BucketAnalyticsSupport.d.ts +2 -2
- package/dist/models/BucketAnalyticsSupport.js +2 -2
- package/dist/models/BucketAnalyticsTraffic.d.ts +2 -2
- package/dist/models/BucketAnalyticsTraffic.js +2 -2
- package/dist/models/BucketAnalyticsViewLimit.d.ts +2 -2
- package/dist/models/BucketAnalyticsViewLimit.js +2 -2
- package/dist/models/BucketCounts.d.ts +2 -2
- package/dist/models/BucketCounts.js +2 -2
- package/dist/models/BucketCreate.d.ts +2 -14
- package/dist/models/BucketCreate.js +2 -12
- package/dist/models/BucketEmail.d.ts +2 -2
- package/dist/models/BucketEmail.js +2 -2
- package/dist/models/BucketEmailOptions.d.ts +2 -2
- package/dist/models/BucketEmailOptions.js +2 -2
- package/dist/models/BucketFile.d.ts +2 -2
- package/dist/models/BucketFile.js +2 -2
- package/dist/models/BucketList.d.ts +2 -2
- package/dist/models/BucketList.js +2 -2
- package/dist/models/BucketLock.d.ts +2 -2
- package/dist/models/BucketLock.js +2 -2
- package/dist/models/BucketUpdate.d.ts +2 -2
- package/dist/models/BucketUpdate.js +2 -2
- package/dist/models/CodeRequested.d.ts +2 -2
- package/dist/models/CodeRequested.js +2 -2
- package/dist/models/ConnectGithubRepository201Response.d.ts +2 -2
- package/dist/models/ConnectGithubRepository201Response.js +2 -2
- package/dist/models/ConnectGithubRepository201ResponseData.d.ts +2 -2
- package/dist/models/ConnectGithubRepository201ResponseData.js +2 -2
- package/dist/models/ConnectGithubRepositoryRequest.d.ts +2 -2
- package/dist/models/ConnectGithubRepositoryRequest.js +2 -2
- package/dist/models/Connection.d.ts +2 -2
- package/dist/models/Connection.js +2 -2
- package/dist/models/ConnectionPermissions.d.ts +2 -2
- package/dist/models/ConnectionPermissions.js +2 -2
- package/dist/models/ConnectionRenewal.d.ts +2 -2
- package/dist/models/ConnectionRenewal.js +2 -2
- package/dist/models/CreateBucket201Response.d.ts +2 -2
- package/dist/models/CreateBucket201Response.js +2 -2
- package/dist/models/CreateBucket201ResponseData.d.ts +2 -2
- package/dist/models/CreateBucket201ResponseData.js +2 -2
- package/dist/models/CreateBucketRequest.d.ts +2 -2
- package/dist/models/CreateBucketRequest.js +2 -2
- package/dist/models/CreateClientAccount201Response.d.ts +2 -2
- package/dist/models/CreateClientAccount201Response.js +2 -2
- package/dist/models/CreateClientAccount201ResponseData.d.ts +2 -2
- package/dist/models/CreateClientAccount201ResponseData.js +2 -2
- package/dist/models/CreateClientAccountRequest.d.ts +2 -2
- package/dist/models/CreateClientAccountRequest.js +2 -2
- package/dist/models/CreateDashboardLink201Response.d.ts +2 -2
- package/dist/models/CreateDashboardLink201Response.js +2 -2
- package/dist/models/CreateDashboardLinkRequest.d.ts +2 -2
- package/dist/models/CreateDashboardLinkRequest.js +2 -2
- package/dist/models/CreateFileUpload201Response.d.ts +35 -0
- package/dist/models/CreateFileUpload201Response.js +55 -0
- package/dist/models/CreditsUsed.d.ts +2 -2
- package/dist/models/CreditsUsed.js +2 -2
- package/dist/models/DecodedEmailAddress.d.ts +2 -2
- package/dist/models/DecodedEmailAddress.js +2 -2
- package/dist/models/DecodedIncomingMessage.d.ts +2 -2
- package/dist/models/DecodedIncomingMessage.js +2 -2
- package/dist/models/DecodedIncomingMessageAttachmentsInner.d.ts +2 -2
- package/dist/models/DecodedIncomingMessageAttachmentsInner.js +2 -2
- package/dist/models/DeleteBucket200Response.d.ts +2 -2
- package/dist/models/DeleteBucket200Response.js +2 -2
- package/dist/models/DeleteBucketRequest.d.ts +2 -2
- package/dist/models/DeleteBucketRequest.js +2 -2
- package/dist/models/DeleteResult.d.ts +2 -2
- package/dist/models/DeleteResult.js +2 -2
- package/dist/models/Download.d.ts +2 -2
- package/dist/models/Download.js +2 -2
- package/dist/models/EmailAttachment.d.ts +3 -7
- package/dist/models/EmailAttachment.js +5 -7
- package/dist/models/EmailDelivery.d.ts +2 -2
- package/dist/models/EmailDelivery.js +2 -2
- package/dist/models/EmailForwarding.d.ts +2 -2
- package/dist/models/EmailForwarding.js +2 -2
- package/dist/models/EmailForwardingContent.d.ts +2 -2
- package/dist/models/EmailForwardingContent.js +2 -2
- package/dist/models/EmailLabel.d.ts +2 -2
- package/dist/models/EmailLabel.js +2 -2
- package/dist/models/EmailSummary.d.ts +3 -16
- package/dist/models/EmailSummary.js +2 -9
- package/dist/models/ErrorCode.d.ts +5 -25
- package/dist/models/ErrorCode.js +5 -25
- package/dist/models/EventSubscription.d.ts +2 -2
- package/dist/models/EventSubscription.js +2 -2
- package/dist/models/ExchangeConnectionGrantRequest.d.ts +2 -2
- package/dist/models/ExchangeConnectionGrantRequest.js +2 -2
- package/dist/models/FileActor.d.ts +2 -2
- package/dist/models/FileActor.js +2 -2
- package/dist/models/FileDownload.d.ts +2 -2
- package/dist/models/FileDownload.js +2 -2
- package/dist/models/FileKey.d.ts +2 -2
- package/dist/models/FileKey.js +2 -2
- package/dist/models/FileList.d.ts +2 -2
- package/dist/models/FileList.js +2 -2
- package/dist/models/FileMoveRequest.d.ts +38 -0
- package/dist/models/FileMoveRequest.js +54 -0
- package/dist/models/FileMoveResult.d.ts +48 -0
- package/dist/models/FileMoveResult.js +68 -0
- package/dist/models/FileRestoreResult.d.ts +44 -0
- package/dist/models/{RestoredFileVersion.js → FileRestoreResult.js} +19 -15
- package/dist/models/FileUpload.d.ts +39 -0
- package/dist/models/FileUpload.js +59 -0
- package/dist/models/FileUploadRequest.d.ts +50 -0
- package/dist/models/FileUploadRequest.js +66 -0
- package/dist/models/FileUploadUpload.d.ts +47 -0
- package/dist/models/FileUploadUpload.js +67 -0
- package/dist/models/FileVersion.d.ts +2 -2
- package/dist/models/FileVersion.js +2 -2
- package/dist/models/FileVersionList.d.ts +2 -2
- package/dist/models/FileVersionList.js +2 -2
- package/dist/models/FileVersionReason.d.ts +2 -2
- package/dist/models/FileVersionReason.js +2 -2
- package/dist/models/FileWriteRequest.d.ts +54 -0
- package/dist/models/FileWriteRequest.js +62 -0
- package/dist/models/FileWriteResult.d.ts +48 -0
- package/dist/models/{UploadedFile.js → FileWriteResult.js} +19 -17
- package/dist/models/GetAccountLimits200Response.d.ts +2 -2
- package/dist/models/GetAccountLimits200Response.js +2 -2
- package/dist/models/GetAccountLimits200ResponseData.d.ts +2 -2
- package/dist/models/GetAccountLimits200ResponseData.js +2 -2
- package/dist/models/GetAccountLimits200ResponseDataCredits.d.ts +2 -2
- package/dist/models/GetAccountLimits200ResponseDataCredits.js +2 -2
- package/dist/models/GetAccountLimits200ResponseDataUsage.d.ts +2 -2
- package/dist/models/GetAccountLimits200ResponseDataUsage.js +2 -2
- package/dist/models/GetAccountLimits200ResponseDataUsageBucketCreations.d.ts +2 -2
- package/dist/models/GetAccountLimits200ResponseDataUsageBucketCreations.js +2 -2
- package/dist/models/GetBucketAnalytics200Response.d.ts +2 -2
- package/dist/models/GetBucketAnalytics200Response.js +2 -2
- package/dist/models/GetBucketAnalytics200ResponseData.d.ts +2 -2
- package/dist/models/GetBucketAnalytics200ResponseData.js +2 -2
- package/dist/models/GetEventSubscription200Response.d.ts +2 -2
- package/dist/models/GetEventSubscription200Response.js +2 -2
- package/dist/models/GetEventSubscription200ResponseData.d.ts +2 -2
- package/dist/models/GetEventSubscription200ResponseData.js +2 -2
- package/dist/models/GetFileByPath200Response.d.ts +2 -2
- package/dist/models/GetFileByPath200Response.js +2 -2
- package/dist/models/GetFileByPath200ResponseData.d.ts +2 -2
- package/dist/models/GetFileByPath200ResponseData.js +2 -2
- package/dist/models/GetFileDownload200Response.d.ts +2 -2
- package/dist/models/GetFileDownload200Response.js +2 -2
- package/dist/models/GetGithubSetupLink200Response.d.ts +2 -2
- package/dist/models/GetGithubSetupLink200Response.js +2 -2
- package/dist/models/GetGithubSetupLink200ResponseData.d.ts +2 -2
- package/dist/models/GetGithubSetupLink200ResponseData.js +2 -2
- package/dist/models/GetGithubSync200Response.d.ts +2 -2
- package/dist/models/GetGithubSync200Response.js +2 -2
- package/dist/models/GetGithubSync200ResponseData.d.ts +2 -2
- package/dist/models/GetGithubSync200ResponseData.js +2 -2
- package/dist/models/GetPublication200Response.d.ts +2 -2
- package/dist/models/GetPublication200Response.js +2 -2
- package/dist/models/GetPublication200ResponseData.d.ts +2 -2
- package/dist/models/GetPublication200ResponseData.js +2 -2
- package/dist/models/GetStatus200Response.d.ts +2 -2
- package/dist/models/GetStatus200Response.js +2 -2
- package/dist/models/GetTicket200Response.d.ts +2 -2
- package/dist/models/GetTicket200Response.js +2 -2
- package/dist/models/GetTicket200ResponseData.d.ts +2 -2
- package/dist/models/GetTicket200ResponseData.js +2 -2
- package/dist/models/GetTicketMessage200Response.d.ts +2 -2
- package/dist/models/GetTicketMessage200Response.js +2 -2
- package/dist/models/GetTicketMessage200ResponseData.d.ts +2 -2
- package/dist/models/GetTicketMessage200ResponseData.js +2 -2
- package/dist/models/GetTicketMessageOriginalDownload200Response.d.ts +2 -2
- package/dist/models/GetTicketMessageOriginalDownload200Response.js +2 -2
- package/dist/models/GetTicketMessageOriginalDownload200ResponseData.d.ts +2 -2
- package/dist/models/GetTicketMessageOriginalDownload200ResponseData.js +2 -2
- package/dist/models/GetWebhook200Response.d.ts +2 -2
- package/dist/models/GetWebhook200Response.js +2 -2
- package/dist/models/GetWebhook200ResponseData.d.ts +2 -2
- package/dist/models/GetWebhook200ResponseData.js +2 -2
- package/dist/models/GithubConnect.d.ts +4 -9
- package/dist/models/GithubConnect.js +2 -5
- package/dist/models/GithubInstallation.d.ts +2 -2
- package/dist/models/GithubInstallation.js +2 -2
- package/dist/models/GithubRepository.d.ts +2 -2
- package/dist/models/GithubRepository.js +2 -2
- package/dist/models/GithubSetupLink.d.ts +2 -2
- package/dist/models/GithubSetupLink.js +2 -2
- package/dist/models/GithubSync.d.ts +3 -25
- package/dist/models/GithubSync.js +2 -24
- package/dist/models/GithubSyncError.d.ts +2 -2
- package/dist/models/GithubSyncError.js +2 -2
- package/dist/models/GithubSyncSettings.d.ts +2 -10
- package/dist/models/GithubSyncSettings.js +2 -6
- package/dist/models/GithubSyncSkippedFilesInner.d.ts +2 -2
- package/dist/models/GithubSyncSkippedFilesInner.js +2 -2
- package/dist/models/ListAccounts200Response.d.ts +2 -2
- package/dist/models/ListAccounts200Response.js +2 -2
- package/dist/models/ListBuckets200Response.d.ts +2 -2
- package/dist/models/ListBuckets200Response.js +2 -2
- package/dist/models/ListFileVersions200Response.d.ts +2 -2
- package/dist/models/ListFileVersions200Response.js +2 -2
- package/dist/models/ListFiles200Response.d.ts +2 -2
- package/dist/models/ListFiles200Response.js +2 -2
- package/dist/models/ListGithubBranches200Response.d.ts +2 -2
- package/dist/models/ListGithubBranches200Response.js +2 -2
- package/dist/models/ListGithubBranches200ResponseData.d.ts +2 -2
- package/dist/models/ListGithubBranches200ResponseData.js +2 -2
- package/dist/models/ListGithubInstallations200Response.d.ts +2 -2
- package/dist/models/ListGithubInstallations200Response.js +2 -2
- package/dist/models/ListGithubInstallations200ResponseData.d.ts +2 -2
- package/dist/models/ListGithubInstallations200ResponseData.js +2 -2
- package/dist/models/ListGithubRepositories200Response.d.ts +2 -2
- package/dist/models/ListGithubRepositories200Response.js +2 -2
- package/dist/models/ListGithubRepositories200ResponseData.d.ts +2 -2
- package/dist/models/ListGithubRepositories200ResponseData.js +2 -2
- package/dist/models/ListTicketMessages200Response.d.ts +2 -2
- package/dist/models/ListTicketMessages200Response.js +2 -2
- package/dist/models/ListTickets200Response.d.ts +2 -2
- package/dist/models/ListTickets200Response.js +2 -2
- package/dist/models/MoveFile200Response.d.ts +35 -0
- package/dist/models/MoveFile200Response.js +55 -0
- package/dist/models/Pagination.d.ts +2 -2
- package/dist/models/Pagination.js +2 -2
- package/dist/models/PreviewBucket202Response.d.ts +2 -2
- package/dist/models/PreviewBucket202Response.js +2 -2
- package/dist/models/PreviewBucket202ResponseData.d.ts +2 -2
- package/dist/models/PreviewBucket202ResponseData.js +2 -2
- package/dist/models/PreviewRequest.d.ts +2 -2
- package/dist/models/PreviewRequest.js +2 -2
- package/dist/models/Publication.d.ts +2 -2
- package/dist/models/Publication.js +2 -2
- package/dist/models/PublishBucket202Response.d.ts +2 -2
- package/dist/models/PublishBucket202Response.js +2 -2
- package/dist/models/PublishBucket202ResponseData.d.ts +2 -2
- package/dist/models/PublishBucket202ResponseData.js +2 -2
- package/dist/models/PublishBucket202ResponseDataPlanNotice.d.ts +2 -2
- package/dist/models/PublishBucket202ResponseDataPlanNotice.js +2 -2
- package/dist/models/PublishRequest.d.ts +2 -2
- package/dist/models/PublishRequest.js +2 -2
- package/dist/models/ReplyToTicket202Response.d.ts +2 -2
- package/dist/models/ReplyToTicket202Response.js +2 -2
- package/dist/models/ReplyToTicket202ResponseData.d.ts +2 -2
- package/dist/models/ReplyToTicket202ResponseData.js +2 -2
- package/dist/models/RequestSignInCode200Response.d.ts +2 -2
- package/dist/models/RequestSignInCode200Response.js +2 -2
- package/dist/models/RequestSignInCodeRequest.d.ts +2 -2
- package/dist/models/RequestSignInCodeRequest.js +2 -2
- package/dist/models/RestoreFileVersion201Response.d.ts +4 -4
- package/dist/models/RestoreFileVersion201Response.js +5 -5
- package/dist/models/SetWebhook200Response.d.ts +2 -2
- package/dist/models/SetWebhook200Response.js +2 -2
- package/dist/models/SetWebhook200ResponseData.d.ts +2 -2
- package/dist/models/SetWebhook200ResponseData.js +2 -2
- package/dist/models/SetWebhookRequest.d.ts +2 -2
- package/dist/models/SetWebhookRequest.js +2 -2
- package/dist/models/Status.d.ts +2 -2
- package/dist/models/Status.js +2 -2
- package/dist/models/StatusFeatures.d.ts +2 -2
- package/dist/models/StatusFeatures.js +2 -2
- package/dist/models/StatusUser.d.ts +2 -2
- package/dist/models/StatusUser.js +2 -2
- package/dist/models/SyncGithubRepository202Response.d.ts +2 -2
- package/dist/models/SyncGithubRepository202Response.js +2 -2
- package/dist/models/SyncGithubRepository202ResponseData.d.ts +2 -2
- package/dist/models/SyncGithubRepository202ResponseData.js +2 -2
- package/dist/models/Ticket.d.ts +13 -3
- package/dist/models/Ticket.js +12 -2
- package/dist/models/TicketEvent.d.ts +2 -2
- package/dist/models/TicketEvent.js +2 -2
- package/dist/models/TicketEventData.d.ts +2 -2
- package/dist/models/TicketEventData.js +2 -2
- package/dist/models/TicketList.d.ts +2 -2
- package/dist/models/TicketList.js +2 -2
- package/dist/models/TicketMessage.d.ts +3 -16
- package/dist/models/TicketMessage.js +2 -9
- package/dist/models/TicketMessageList.d.ts +2 -2
- package/dist/models/TicketMessageList.js +2 -2
- package/dist/models/TicketReplyRequest.d.ts +2 -2
- package/dist/models/TicketReplyRequest.js +2 -2
- package/dist/models/TicketSourcesInner.d.ts +43 -0
- package/dist/models/TicketSourcesInner.js +63 -0
- package/dist/models/TicketUpdateRequest.d.ts +7 -2
- package/dist/models/TicketUpdateRequest.js +5 -2
- package/dist/models/UpdateBucketRequest.d.ts +2 -2
- package/dist/models/UpdateBucketRequest.js +2 -2
- package/dist/models/UpdateGithubSyncRequest.d.ts +2 -2
- package/dist/models/UpdateGithubSyncRequest.js +2 -2
- package/dist/models/VerifySignInCode201Response.d.ts +2 -2
- package/dist/models/VerifySignInCode201Response.js +2 -2
- package/dist/models/VerifySignInCodeRequest.d.ts +2 -2
- package/dist/models/VerifySignInCodeRequest.js +2 -2
- package/dist/models/Webhook.d.ts +2 -2
- package/dist/models/Webhook.js +2 -2
- package/dist/models/WebhookWithSecret.d.ts +2 -2
- package/dist/models/WebhookWithSecret.js +2 -2
- package/dist/models/WriteFile201Response.d.ts +35 -0
- package/dist/models/WriteFile201Response.js +55 -0
- package/dist/models/index.d.ts +17 -34
- package/dist/models/index.js +17 -34
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +2 -2
- package/package.json +1 -1
- package/dist/models/AddUploadSessionFilesRequest.d.ts +0 -39
- package/dist/models/AddUploadSessionFilesRequest.js +0 -55
- package/dist/models/AppendText200Response.d.ts +0 -35
- package/dist/models/AppendText200Response.js +0 -55
- package/dist/models/AppendTextRequest.d.ts +0 -50
- package/dist/models/AppendTextRequest.js +0 -62
- package/dist/models/AppendTextResult.d.ts +0 -52
- package/dist/models/AppendTextResult.js +0 -72
- package/dist/models/CreateUploadSession201Response.d.ts +0 -35
- package/dist/models/CreateUploadSession201Response.js +0 -55
- package/dist/models/CreateUploadSessionRequest.d.ts +0 -63
- package/dist/models/CreateUploadSessionRequest.js +0 -69
- package/dist/models/EmailSummaryFiles.d.ts +0 -42
- package/dist/models/EmailSummaryFiles.js +0 -60
- package/dist/models/FileUploadSkip.d.ts +0 -52
- package/dist/models/FileUploadSkip.js +0 -58
- package/dist/models/FinalizeUploadSessionRequest.d.ts +0 -38
- package/dist/models/FinalizeUploadSessionRequest.js +0 -52
- package/dist/models/GithubSyncPendingChangesInner.d.ts +0 -34
- package/dist/models/GithubSyncPendingChangesInner.js +0 -54
- package/dist/models/GithubSyncPullRequest.d.ts +0 -38
- package/dist/models/GithubSyncPullRequest.js +0 -58
- package/dist/models/LockBucket200Response.d.ts +0 -35
- package/dist/models/LockBucket200Response.js +0 -55
- package/dist/models/LockBucket200ResponseData.d.ts +0 -36
- package/dist/models/LockBucket200ResponseData.js +0 -52
- package/dist/models/LockRequest.d.ts +0 -46
- package/dist/models/LockRequest.js +0 -58
- package/dist/models/MoveFileRequest.d.ts +0 -46
- package/dist/models/MoveFileRequest.js +0 -56
- package/dist/models/PathOperationResult.d.ts +0 -73
- package/dist/models/PathOperationResult.js +0 -81
- package/dist/models/PrepareFileUpload201Response.d.ts +0 -35
- package/dist/models/PrepareFileUpload201Response.js +0 -55
- package/dist/models/PrepareFileUploadRequest.d.ts +0 -55
- package/dist/models/PrepareFileUploadRequest.js +0 -69
- package/dist/models/PreparedFileUpload.d.ts +0 -79
- package/dist/models/PreparedFileUpload.js +0 -73
- package/dist/models/RenameFile200Response.d.ts +0 -35
- package/dist/models/RenameFile200Response.js +0 -55
- package/dist/models/RenameFileRequest.d.ts +0 -38
- package/dist/models/RenameFileRequest.js +0 -54
- package/dist/models/RestoredFileVersion.d.ts +0 -40
- package/dist/models/SaveUploadSessionBatchRequest.d.ts +0 -38
- package/dist/models/SaveUploadSessionBatchRequest.js +0 -52
- package/dist/models/SaveUploadedFile201Response.d.ts +0 -35
- package/dist/models/SaveUploadedFile201Response.js +0 -55
- package/dist/models/SaveUploadedFileRequest.d.ts +0 -78
- package/dist/models/SaveUploadedFileRequest.js +0 -85
- package/dist/models/SavedFile.d.ts +0 -49
- package/dist/models/SavedFile.js +0 -65
- package/dist/models/StorageUpload.d.ts +0 -36
- package/dist/models/StorageUpload.js +0 -54
- package/dist/models/UnlockRequest.d.ts +0 -38
- package/dist/models/UnlockRequest.js +0 -52
- package/dist/models/UploadBlob.d.ts +0 -57
- package/dist/models/UploadBlob.js +0 -79
- package/dist/models/UploadSession.d.ts +0 -94
- package/dist/models/UploadSession.js +0 -91
- package/dist/models/UploadSessionFile.d.ts +0 -46
- package/dist/models/UploadSessionFile.js +0 -66
- package/dist/models/UploadSessionResult.d.ts +0 -82
- package/dist/models/UploadSessionResult.js +0 -86
- package/dist/models/UploadSessionUpload.d.ts +0 -47
- package/dist/models/UploadSessionUpload.js +0 -61
- package/dist/models/UploadedFile.d.ts +0 -48
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BucketFile } from './BucketFile';
|
|
13
|
+
import type { FileVersion } from './FileVersion';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface FileMoveResult
|
|
18
|
+
*/
|
|
19
|
+
export interface FileMoveResult {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
oldPath: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
file: BucketFile;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
version: FileVersion;
|
|
36
|
+
/**
|
|
37
|
+
* True when the file is at this path already.
|
|
38
|
+
*/
|
|
39
|
+
unchanged: boolean;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the FileMoveResult interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfFileMoveResult(value: object): value is FileMoveResult;
|
|
45
|
+
export declare function FileMoveResultFromJSON(json: any): FileMoveResult;
|
|
46
|
+
export declare function FileMoveResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileMoveResult;
|
|
47
|
+
export declare function FileMoveResultToJSON(json: any): FileMoveResult;
|
|
48
|
+
export declare function FileMoveResultToJSONTyped(value?: FileMoveResult | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Revdoku API
|
|
6
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfFileMoveResult = instanceOfFileMoveResult;
|
|
17
|
+
exports.FileMoveResultFromJSON = FileMoveResultFromJSON;
|
|
18
|
+
exports.FileMoveResultFromJSONTyped = FileMoveResultFromJSONTyped;
|
|
19
|
+
exports.FileMoveResultToJSON = FileMoveResultToJSON;
|
|
20
|
+
exports.FileMoveResultToJSONTyped = FileMoveResultToJSONTyped;
|
|
21
|
+
const BucketFile_1 = require("./BucketFile");
|
|
22
|
+
const FileVersion_1 = require("./FileVersion");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the FileMoveResult interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfFileMoveResult(value) {
|
|
27
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if ((!('oldPath' in value) && !('old_path' in value)) || (value['oldPath'] === undefined && value['old_path'] === undefined))
|
|
30
|
+
return false;
|
|
31
|
+
if (!('file' in value) || value['file'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('unchanged' in value) || value['unchanged'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function FileMoveResultFromJSON(json) {
|
|
40
|
+
return FileMoveResultFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function FileMoveResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'path': json['path'],
|
|
48
|
+
'oldPath': json['old_path'],
|
|
49
|
+
'file': (0, BucketFile_1.BucketFileFromJSON)(json['file']),
|
|
50
|
+
'version': (0, FileVersion_1.FileVersionFromJSON)(json['version']),
|
|
51
|
+
'unchanged': json['unchanged'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function FileMoveResultToJSON(json) {
|
|
55
|
+
return FileMoveResultToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function FileMoveResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'path': value['path'],
|
|
63
|
+
'old_path': value['oldPath'],
|
|
64
|
+
'file': (0, BucketFile_1.BucketFileToJSON)(value['file']),
|
|
65
|
+
'version': (0, FileVersion_1.FileVersionToJSON)(value['version']),
|
|
66
|
+
'unchanged': value['unchanged'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BucketFile } from './BucketFile';
|
|
13
|
+
import type { FileVersion } from './FileVersion';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface FileRestoreResult
|
|
18
|
+
*/
|
|
19
|
+
export interface FileRestoreResult {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
file: BucketFile;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
version: FileVersion;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
restoredFrom: FileVersion;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the FileRestoreResult interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfFileRestoreResult(value: object): value is FileRestoreResult;
|
|
41
|
+
export declare function FileRestoreResultFromJSON(json: any): FileRestoreResult;
|
|
42
|
+
export declare function FileRestoreResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileRestoreResult;
|
|
43
|
+
export declare function FileRestoreResultToJSON(json: any): FileRestoreResult;
|
|
44
|
+
export declare function FileRestoreResultToJSONTyped(value?: FileRestoreResult | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Revdoku API
|
|
6
|
-
*
|
|
6
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 5.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,17 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfFileRestoreResult = instanceOfFileRestoreResult;
|
|
17
|
+
exports.FileRestoreResultFromJSON = FileRestoreResultFromJSON;
|
|
18
|
+
exports.FileRestoreResultFromJSONTyped = FileRestoreResultFromJSONTyped;
|
|
19
|
+
exports.FileRestoreResultToJSON = FileRestoreResultToJSON;
|
|
20
|
+
exports.FileRestoreResultToJSONTyped = FileRestoreResultToJSONTyped;
|
|
21
21
|
const BucketFile_1 = require("./BucketFile");
|
|
22
22
|
const FileVersion_1 = require("./FileVersion");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the FileRestoreResult interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfFileRestoreResult(value) {
|
|
27
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('file' in value) || value['file'] === undefined)
|
|
28
30
|
return false;
|
|
29
31
|
if (!('version' in value) || value['version'] === undefined)
|
|
@@ -32,27 +34,29 @@ function instanceOfRestoredFileVersion(value) {
|
|
|
32
34
|
return false;
|
|
33
35
|
return true;
|
|
34
36
|
}
|
|
35
|
-
function
|
|
36
|
-
return
|
|
37
|
+
function FileRestoreResultFromJSON(json) {
|
|
38
|
+
return FileRestoreResultFromJSONTyped(json, false);
|
|
37
39
|
}
|
|
38
|
-
function
|
|
40
|
+
function FileRestoreResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
41
|
if (json == null) {
|
|
40
42
|
return json;
|
|
41
43
|
}
|
|
42
44
|
return {
|
|
45
|
+
'path': json['path'],
|
|
43
46
|
'file': (0, BucketFile_1.BucketFileFromJSON)(json['file']),
|
|
44
47
|
'version': (0, FileVersion_1.FileVersionFromJSON)(json['version']),
|
|
45
48
|
'restoredFrom': (0, FileVersion_1.FileVersionFromJSON)(json['restored_from']),
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
|
-
function
|
|
49
|
-
return
|
|
51
|
+
function FileRestoreResultToJSON(json) {
|
|
52
|
+
return FileRestoreResultToJSONTyped(json, false);
|
|
50
53
|
}
|
|
51
|
-
function
|
|
54
|
+
function FileRestoreResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
55
|
if (value == null) {
|
|
53
56
|
return value;
|
|
54
57
|
}
|
|
55
58
|
return {
|
|
59
|
+
'path': value['path'],
|
|
56
60
|
'file': (0, BucketFile_1.BucketFileToJSON)(value['file']),
|
|
57
61
|
'version': (0, FileVersion_1.FileVersionToJSON)(value['version']),
|
|
58
62
|
'restored_from': (0, FileVersion_1.FileVersionToJSON)(value['restoredFrom']),
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FileUploadUpload } from './FileUploadUpload';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileUpload
|
|
17
|
+
*/
|
|
18
|
+
export interface FileUpload {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
path: string;
|
|
23
|
+
/**
|
|
24
|
+
* Send it to POST /files after the bytes are sent.
|
|
25
|
+
*/
|
|
26
|
+
signedBlobId: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
upload: FileUploadUpload;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the FileUpload interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfFileUpload(value: object): value is FileUpload;
|
|
36
|
+
export declare function FileUploadFromJSON(json: any): FileUpload;
|
|
37
|
+
export declare function FileUploadFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileUpload;
|
|
38
|
+
export declare function FileUploadToJSON(json: any): FileUpload;
|
|
39
|
+
export declare function FileUploadToJSONTyped(value?: FileUpload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Revdoku API
|
|
6
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfFileUpload = instanceOfFileUpload;
|
|
17
|
+
exports.FileUploadFromJSON = FileUploadFromJSON;
|
|
18
|
+
exports.FileUploadFromJSONTyped = FileUploadFromJSONTyped;
|
|
19
|
+
exports.FileUploadToJSON = FileUploadToJSON;
|
|
20
|
+
exports.FileUploadToJSONTyped = FileUploadToJSONTyped;
|
|
21
|
+
const FileUploadUpload_1 = require("./FileUploadUpload");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FileUpload interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFileUpload(value) {
|
|
26
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if ((!('signedBlobId' in value) && !('signed_blob_id' in value)) || (value['signedBlobId'] === undefined && value['signed_blob_id'] === undefined))
|
|
29
|
+
return false;
|
|
30
|
+
if (!('upload' in value) || value['upload'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function FileUploadFromJSON(json) {
|
|
35
|
+
return FileUploadFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function FileUploadFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'path': json['path'],
|
|
43
|
+
'signedBlobId': json['signed_blob_id'],
|
|
44
|
+
'upload': (0, FileUploadUpload_1.FileUploadUploadFromJSON)(json['upload']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function FileUploadToJSON(json) {
|
|
48
|
+
return FileUploadToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function FileUploadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'path': value['path'],
|
|
56
|
+
'signed_blob_id': value['signedBlobId'],
|
|
57
|
+
'upload': (0, FileUploadUpload_1.FileUploadUploadToJSON)(value['upload']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FileUploadRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface FileUploadRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The path of the image in _kb/public/ or _kb/private/.
|
|
20
|
+
*/
|
|
21
|
+
path: string;
|
|
22
|
+
/**
|
|
23
|
+
* The size of the image in bytes.
|
|
24
|
+
*/
|
|
25
|
+
byteSize: number;
|
|
26
|
+
/**
|
|
27
|
+
* The MD5 of the bytes, as Base64.
|
|
28
|
+
*/
|
|
29
|
+
checksum: string;
|
|
30
|
+
/**
|
|
31
|
+
* The SHA-256 of the bytes, as hex.
|
|
32
|
+
*/
|
|
33
|
+
sha256: string;
|
|
34
|
+
/**
|
|
35
|
+
* Select another granted account for this request.
|
|
36
|
+
*/
|
|
37
|
+
accountId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Optional purpose for this action. AI agents should explain intentional reads and changes when known; omit when unknown. Do not include secrets, file contents, or transcripts.
|
|
40
|
+
*/
|
|
41
|
+
reason?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the FileUploadRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfFileUploadRequest(value: object): value is FileUploadRequest;
|
|
47
|
+
export declare function FileUploadRequestFromJSON(json: any): FileUploadRequest;
|
|
48
|
+
export declare function FileUploadRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileUploadRequest;
|
|
49
|
+
export declare function FileUploadRequestToJSON(json: any): FileUploadRequest;
|
|
50
|
+
export declare function FileUploadRequestToJSONTyped(value?: FileUploadRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Revdoku API
|
|
6
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfFileUploadRequest = instanceOfFileUploadRequest;
|
|
17
|
+
exports.FileUploadRequestFromJSON = FileUploadRequestFromJSON;
|
|
18
|
+
exports.FileUploadRequestFromJSONTyped = FileUploadRequestFromJSONTyped;
|
|
19
|
+
exports.FileUploadRequestToJSON = FileUploadRequestToJSON;
|
|
20
|
+
exports.FileUploadRequestToJSONTyped = FileUploadRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FileUploadRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFileUploadRequest(value) {
|
|
25
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if ((!('byteSize' in value) && !('byte_size' in value)) || (value['byteSize'] === undefined && value['byte_size'] === undefined))
|
|
28
|
+
return false;
|
|
29
|
+
if (!('checksum' in value) || value['checksum'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('sha256' in value) || value['sha256'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function FileUploadRequestFromJSON(json) {
|
|
36
|
+
return FileUploadRequestFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function FileUploadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'path': json['path'],
|
|
44
|
+
'byteSize': json['byte_size'],
|
|
45
|
+
'checksum': json['checksum'],
|
|
46
|
+
'sha256': json['sha256'],
|
|
47
|
+
'accountId': json['account_id'] == null ? undefined : json['account_id'],
|
|
48
|
+
'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function FileUploadRequestToJSON(json) {
|
|
52
|
+
return FileUploadRequestToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function FileUploadRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'path': value['path'],
|
|
60
|
+
'byte_size': value['byteSize'],
|
|
61
|
+
'checksum': value['checksum'],
|
|
62
|
+
'sha256': value['sha256'],
|
|
63
|
+
'account_id': value['accountId'],
|
|
64
|
+
'reason': value['reason'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 5.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FileUploadUpload
|
|
16
|
+
*/
|
|
17
|
+
export interface FileUploadUpload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
method: FileUploadUploadMethodEnum;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
url: string;
|
|
26
|
+
/**
|
|
27
|
+
* Send these headers with the bytes.
|
|
28
|
+
*/
|
|
29
|
+
headers: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export declare const FileUploadUploadMethodEnum: {
|
|
37
|
+
readonly Put: "PUT";
|
|
38
|
+
};
|
|
39
|
+
export type FileUploadUploadMethodEnum = typeof FileUploadUploadMethodEnum[keyof typeof FileUploadUploadMethodEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the FileUploadUpload interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfFileUploadUpload(value: object): value is FileUploadUpload;
|
|
44
|
+
export declare function FileUploadUploadFromJSON(json: any): FileUploadUpload;
|
|
45
|
+
export declare function FileUploadUploadFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileUploadUpload;
|
|
46
|
+
export declare function FileUploadUploadToJSON(json: any): FileUploadUpload;
|
|
47
|
+
export declare function FileUploadUploadToJSONTyped(value?: FileUploadUpload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Revdoku API
|
|
6
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 5.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FileUploadUploadMethodEnum = void 0;
|
|
17
|
+
exports.instanceOfFileUploadUpload = instanceOfFileUploadUpload;
|
|
18
|
+
exports.FileUploadUploadFromJSON = FileUploadUploadFromJSON;
|
|
19
|
+
exports.FileUploadUploadFromJSONTyped = FileUploadUploadFromJSONTyped;
|
|
20
|
+
exports.FileUploadUploadToJSON = FileUploadUploadToJSON;
|
|
21
|
+
exports.FileUploadUploadToJSONTyped = FileUploadUploadToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.FileUploadUploadMethodEnum = {
|
|
26
|
+
Put: 'PUT',
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the FileUploadUpload interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfFileUploadUpload(value) {
|
|
32
|
+
if (!('method' in value) || value['method'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (value['method'] !== 'PUT')
|
|
35
|
+
return false;
|
|
36
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('headers' in value) || value['headers'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function FileUploadUploadFromJSON(json) {
|
|
43
|
+
return FileUploadUploadFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function FileUploadUploadFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'method': json['method'],
|
|
51
|
+
'url': json['url'],
|
|
52
|
+
'headers': json['headers'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function FileUploadUploadToJSON(json) {
|
|
56
|
+
return FileUploadUploadToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function FileUploadUploadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'method': value['method'],
|
|
64
|
+
'url': value['url'],
|
|
65
|
+
'headers': value['headers'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Revdoku API
|
|
3
|
-
*
|
|
3
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 5.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Revdoku API
|
|
6
|
-
*
|
|
6
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 5.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Revdoku API
|
|
3
|
-
*
|
|
3
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 5.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Revdoku API
|
|
6
|
-
*
|
|
6
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 5.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Revdoku API
|
|
3
|
-
*
|
|
3
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 5.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Revdoku API
|
|
6
|
-
*
|
|
6
|
+
* A bucket is the project of one docs site: its files, the published site, the site analytics, and the support email address with its tickets. Create buckets, publish sites, read and reply to support requests and store files. The dashboard calls a bucket a site. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 5.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|