revdoku 4.1.0 → 5.1.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.
Files changed (461) hide show
  1. package/README.md +53 -30
  2. package/REFERENCE.md +42 -151
  3. package/dist/apis/DefaultApi.d.ts +72 -326
  4. package/dist/apis/DefaultApi.js +104 -614
  5. package/dist/client.d.ts +1 -14
  6. package/dist/client.js +0 -43
  7. package/dist/models/AccountIdentity.d.ts +2 -2
  8. package/dist/models/AccountIdentity.js +2 -2
  9. package/dist/models/AccountIdentityAgencyAccount.d.ts +2 -2
  10. package/dist/models/AccountIdentityAgencyAccount.js +2 -2
  11. package/dist/models/AccountIdentityPermissions.d.ts +2 -2
  12. package/dist/models/AccountIdentityPermissions.js +2 -2
  13. package/dist/models/AccountLimits.d.ts +2 -2
  14. package/dist/models/AccountLimits.js +2 -2
  15. package/dist/models/AccountList.d.ts +2 -2
  16. package/dist/models/AccountList.js +2 -2
  17. package/dist/models/ActionRequest.d.ts +2 -2
  18. package/dist/models/ActionRequest.js +2 -2
  19. package/dist/models/AgentConnection.d.ts +2 -2
  20. package/dist/models/AgentConnection.js +2 -2
  21. package/dist/models/AnalyticsMetric.d.ts +2 -2
  22. package/dist/models/AnalyticsMetric.js +2 -2
  23. package/dist/models/ApiError.d.ts +2 -2
  24. package/dist/models/ApiError.js +2 -2
  25. package/dist/models/ApiErrorError.d.ts +2 -2
  26. package/dist/models/ApiErrorError.js +2 -2
  27. package/dist/models/BrowserLink.d.ts +2 -2
  28. package/dist/models/BrowserLink.js +2 -2
  29. package/dist/models/Bucket.d.ts +5 -5
  30. package/dist/models/Bucket.js +2 -2
  31. package/dist/models/BucketAction.d.ts +2 -2
  32. package/dist/models/BucketAction.js +2 -2
  33. package/dist/models/BucketAnalytics.d.ts +2 -2
  34. package/dist/models/BucketAnalytics.js +2 -2
  35. package/dist/models/BucketAnalyticsAskAi.d.ts +2 -2
  36. package/dist/models/BucketAnalyticsAskAi.js +2 -2
  37. package/dist/models/BucketAnalyticsAskAiPagesInner.d.ts +2 -2
  38. package/dist/models/BucketAnalyticsAskAiPagesInner.js +2 -2
  39. package/dist/models/BucketAnalyticsGaps.d.ts +2 -2
  40. package/dist/models/BucketAnalyticsGaps.js +2 -2
  41. package/dist/models/BucketAnalyticsGapsSearchesWithoutResultsInner.d.ts +2 -2
  42. package/dist/models/BucketAnalyticsGapsSearchesWithoutResultsInner.js +2 -2
  43. package/dist/models/BucketAnalyticsGapsUnansweredQuestionsInner.d.ts +2 -2
  44. package/dist/models/BucketAnalyticsGapsUnansweredQuestionsInner.js +2 -2
  45. package/dist/models/BucketAnalyticsGapsUnhelpfulPagesInner.d.ts +2 -2
  46. package/dist/models/BucketAnalyticsGapsUnhelpfulPagesInner.js +2 -2
  47. package/dist/models/BucketAnalyticsPages.d.ts +2 -2
  48. package/dist/models/BucketAnalyticsPages.js +2 -2
  49. package/dist/models/BucketAnalyticsPagesMissingPagesInner.d.ts +2 -2
  50. package/dist/models/BucketAnalyticsPagesMissingPagesInner.js +2 -2
  51. package/dist/models/BucketAnalyticsPagesPagesInner.d.ts +2 -2
  52. package/dist/models/BucketAnalyticsPagesPagesInner.js +2 -2
  53. package/dist/models/BucketAnalyticsPreviousPeriod.d.ts +2 -2
  54. package/dist/models/BucketAnalyticsPreviousPeriod.js +2 -2
  55. package/dist/models/BucketAnalyticsSearch.d.ts +2 -2
  56. package/dist/models/BucketAnalyticsSearch.js +2 -2
  57. package/dist/models/BucketAnalyticsSearchAiAgents.d.ts +12 -2
  58. package/dist/models/BucketAnalyticsSearchAiAgents.js +8 -2
  59. package/dist/models/BucketAnalyticsSearchAiAgentsAgentsInner.d.ts +34 -0
  60. package/dist/models/BucketAnalyticsSearchAiAgentsAgentsInner.js +50 -0
  61. package/dist/models/BucketAnalyticsSearchAiAgentsByAgentInner.d.ts +39 -0
  62. package/dist/models/BucketAnalyticsSearchAiAgentsByAgentInner.js +53 -0
  63. package/dist/models/BucketAnalyticsSearchAiAgentsByAgentInnerAgentsInner.d.ts +34 -0
  64. package/dist/models/BucketAnalyticsSearchAiAgentsByAgentInnerAgentsInner.js +50 -0
  65. package/dist/models/BucketAnalyticsSearchHumans.d.ts +7 -2
  66. package/dist/models/BucketAnalyticsSearchHumans.js +5 -2
  67. package/dist/models/BucketAnalyticsSearchHumansCountriesInner.d.ts +39 -0
  68. package/dist/models/BucketAnalyticsSearchHumansCountriesInner.js +53 -0
  69. package/dist/models/BucketAnalyticsSearchHumansTopInner.d.ts +2 -2
  70. package/dist/models/BucketAnalyticsSearchHumansTopInner.js +2 -2
  71. package/dist/models/BucketAnalyticsSearchHumansWithoutResultsInner.d.ts +2 -2
  72. package/dist/models/BucketAnalyticsSearchHumansWithoutResultsInner.js +2 -2
  73. package/dist/models/BucketAnalyticsSeriesInner.d.ts +2 -2
  74. package/dist/models/BucketAnalyticsSeriesInner.js +2 -2
  75. package/dist/models/BucketAnalyticsSources.d.ts +2 -2
  76. package/dist/models/BucketAnalyticsSources.js +2 -2
  77. package/dist/models/BucketAnalyticsSourcesAiAgents.d.ts +2 -2
  78. package/dist/models/BucketAnalyticsSourcesAiAgents.js +2 -2
  79. package/dist/models/BucketAnalyticsSourcesAiAgentsActivityInner.d.ts +2 -2
  80. package/dist/models/BucketAnalyticsSourcesAiAgentsActivityInner.js +2 -2
  81. package/dist/models/BucketAnalyticsSourcesAiAgentsAgentsInner.d.ts +2 -2
  82. package/dist/models/BucketAnalyticsSourcesAiAgentsAgentsInner.js +2 -2
  83. package/dist/models/BucketAnalyticsSourcesAiAgentsCountriesInner.d.ts +2 -2
  84. package/dist/models/BucketAnalyticsSourcesAiAgentsCountriesInner.js +2 -2
  85. package/dist/models/BucketAnalyticsSourcesAiAgentsSearchesInner.d.ts +2 -2
  86. package/dist/models/BucketAnalyticsSourcesAiAgentsSearchesInner.js +2 -2
  87. package/dist/models/BucketAnalyticsSourcesBots.d.ts +2 -2
  88. package/dist/models/BucketAnalyticsSourcesBots.js +2 -2
  89. package/dist/models/BucketAnalyticsSourcesHumans.d.ts +2 -2
  90. package/dist/models/BucketAnalyticsSourcesHumans.js +2 -2
  91. package/dist/models/BucketAnalyticsSourcesHumansCountriesInner.d.ts +2 -2
  92. package/dist/models/BucketAnalyticsSourcesHumansCountriesInner.js +2 -2
  93. package/dist/models/BucketAnalyticsSourcesHumansDownloadsInner.d.ts +2 -2
  94. package/dist/models/BucketAnalyticsSourcesHumansDownloadsInner.js +2 -2
  95. package/dist/models/BucketAnalyticsSourcesHumansOutboundLinksInner.d.ts +2 -2
  96. package/dist/models/BucketAnalyticsSourcesHumansOutboundLinksInner.js +2 -2
  97. package/dist/models/BucketAnalyticsSourcesHumansReferrersInner.d.ts +2 -2
  98. package/dist/models/BucketAnalyticsSourcesHumansReferrersInner.js +2 -2
  99. package/dist/models/BucketAnalyticsSupport.d.ts +2 -2
  100. package/dist/models/BucketAnalyticsSupport.js +2 -2
  101. package/dist/models/BucketAnalyticsTraffic.d.ts +2 -2
  102. package/dist/models/BucketAnalyticsTraffic.js +2 -2
  103. package/dist/models/BucketAnalyticsViewLimit.d.ts +2 -2
  104. package/dist/models/BucketAnalyticsViewLimit.js +2 -2
  105. package/dist/models/BucketCounts.d.ts +2 -2
  106. package/dist/models/BucketCounts.js +2 -2
  107. package/dist/models/BucketCreate.d.ts +2 -14
  108. package/dist/models/BucketCreate.js +2 -12
  109. package/dist/models/BucketEmail.d.ts +2 -2
  110. package/dist/models/BucketEmail.js +2 -2
  111. package/dist/models/BucketEmailOptions.d.ts +2 -2
  112. package/dist/models/BucketEmailOptions.js +2 -2
  113. package/dist/models/BucketFile.d.ts +2 -2
  114. package/dist/models/BucketFile.js +2 -2
  115. package/dist/models/BucketList.d.ts +2 -2
  116. package/dist/models/BucketList.js +2 -2
  117. package/dist/models/BucketLock.d.ts +2 -2
  118. package/dist/models/BucketLock.js +2 -2
  119. package/dist/models/BucketUpdate.d.ts +2 -2
  120. package/dist/models/BucketUpdate.js +2 -2
  121. package/dist/models/CodeRequested.d.ts +2 -2
  122. package/dist/models/CodeRequested.js +2 -2
  123. package/dist/models/ConnectGithubRepository201Response.d.ts +2 -2
  124. package/dist/models/ConnectGithubRepository201Response.js +2 -2
  125. package/dist/models/ConnectGithubRepository201ResponseData.d.ts +2 -2
  126. package/dist/models/ConnectGithubRepository201ResponseData.js +2 -2
  127. package/dist/models/ConnectGithubRepositoryRequest.d.ts +2 -2
  128. package/dist/models/ConnectGithubRepositoryRequest.js +2 -2
  129. package/dist/models/Connection.d.ts +2 -2
  130. package/dist/models/Connection.js +2 -2
  131. package/dist/models/ConnectionPermissions.d.ts +2 -2
  132. package/dist/models/ConnectionPermissions.js +2 -2
  133. package/dist/models/ConnectionRenewal.d.ts +2 -2
  134. package/dist/models/ConnectionRenewal.js +2 -2
  135. package/dist/models/CreateBucket201Response.d.ts +2 -2
  136. package/dist/models/CreateBucket201Response.js +2 -2
  137. package/dist/models/CreateBucket201ResponseData.d.ts +2 -2
  138. package/dist/models/CreateBucket201ResponseData.js +2 -2
  139. package/dist/models/CreateBucketRequest.d.ts +2 -2
  140. package/dist/models/CreateBucketRequest.js +2 -2
  141. package/dist/models/CreateClientAccount201Response.d.ts +2 -2
  142. package/dist/models/CreateClientAccount201Response.js +2 -2
  143. package/dist/models/CreateClientAccount201ResponseData.d.ts +2 -2
  144. package/dist/models/CreateClientAccount201ResponseData.js +2 -2
  145. package/dist/models/CreateClientAccountRequest.d.ts +2 -2
  146. package/dist/models/CreateClientAccountRequest.js +2 -2
  147. package/dist/models/CreateDashboardLink201Response.d.ts +2 -2
  148. package/dist/models/CreateDashboardLink201Response.js +2 -2
  149. package/dist/models/CreateDashboardLinkRequest.d.ts +2 -2
  150. package/dist/models/CreateDashboardLinkRequest.js +2 -2
  151. package/dist/models/CreateFileUpload201Response.d.ts +35 -0
  152. package/dist/models/CreateFileUpload201Response.js +55 -0
  153. package/dist/models/CreditsUsed.d.ts +2 -2
  154. package/dist/models/CreditsUsed.js +2 -2
  155. package/dist/models/DecodedEmailAddress.d.ts +2 -2
  156. package/dist/models/DecodedEmailAddress.js +2 -2
  157. package/dist/models/DecodedIncomingMessage.d.ts +2 -2
  158. package/dist/models/DecodedIncomingMessage.js +2 -2
  159. package/dist/models/DecodedIncomingMessageAttachmentsInner.d.ts +2 -2
  160. package/dist/models/DecodedIncomingMessageAttachmentsInner.js +2 -2
  161. package/dist/models/DeleteBucket200Response.d.ts +2 -2
  162. package/dist/models/DeleteBucket200Response.js +2 -2
  163. package/dist/models/DeleteBucketRequest.d.ts +2 -2
  164. package/dist/models/DeleteBucketRequest.js +2 -2
  165. package/dist/models/DeleteResult.d.ts +2 -2
  166. package/dist/models/DeleteResult.js +2 -2
  167. package/dist/models/Download.d.ts +2 -2
  168. package/dist/models/Download.js +2 -2
  169. package/dist/models/EmailAttachment.d.ts +3 -7
  170. package/dist/models/EmailAttachment.js +5 -7
  171. package/dist/models/EmailDelivery.d.ts +2 -2
  172. package/dist/models/EmailDelivery.js +2 -2
  173. package/dist/models/EmailForwarding.d.ts +2 -2
  174. package/dist/models/EmailForwarding.js +2 -2
  175. package/dist/models/EmailForwardingContent.d.ts +2 -2
  176. package/dist/models/EmailForwardingContent.js +2 -2
  177. package/dist/models/EmailLabel.d.ts +2 -2
  178. package/dist/models/EmailLabel.js +2 -2
  179. package/dist/models/EmailSummary.d.ts +3 -16
  180. package/dist/models/EmailSummary.js +2 -9
  181. package/dist/models/ErrorCode.d.ts +5 -25
  182. package/dist/models/ErrorCode.js +5 -25
  183. package/dist/models/EventSubscription.d.ts +2 -2
  184. package/dist/models/EventSubscription.js +2 -2
  185. package/dist/models/ExchangeConnectionGrantRequest.d.ts +2 -2
  186. package/dist/models/ExchangeConnectionGrantRequest.js +2 -2
  187. package/dist/models/FileActor.d.ts +2 -2
  188. package/dist/models/FileActor.js +2 -2
  189. package/dist/models/FileDownload.d.ts +2 -2
  190. package/dist/models/FileDownload.js +2 -2
  191. package/dist/models/FileKey.d.ts +2 -2
  192. package/dist/models/FileKey.js +2 -2
  193. package/dist/models/FileList.d.ts +2 -2
  194. package/dist/models/FileList.js +2 -2
  195. package/dist/models/FileMoveRequest.d.ts +38 -0
  196. package/dist/models/FileMoveRequest.js +54 -0
  197. package/dist/models/FileMoveResult.d.ts +48 -0
  198. package/dist/models/FileMoveResult.js +68 -0
  199. package/dist/models/FileRestoreResult.d.ts +44 -0
  200. package/dist/models/{RestoredFileVersion.js → FileRestoreResult.js} +19 -15
  201. package/dist/models/FileUpload.d.ts +39 -0
  202. package/dist/models/FileUpload.js +59 -0
  203. package/dist/models/FileUploadRequest.d.ts +50 -0
  204. package/dist/models/FileUploadRequest.js +66 -0
  205. package/dist/models/FileUploadUpload.d.ts +47 -0
  206. package/dist/models/FileUploadUpload.js +67 -0
  207. package/dist/models/FileVersion.d.ts +2 -2
  208. package/dist/models/FileVersion.js +2 -2
  209. package/dist/models/FileVersionList.d.ts +2 -2
  210. package/dist/models/FileVersionList.js +2 -2
  211. package/dist/models/FileVersionReason.d.ts +2 -2
  212. package/dist/models/FileVersionReason.js +2 -2
  213. package/dist/models/FileWriteRequest.d.ts +54 -0
  214. package/dist/models/FileWriteRequest.js +62 -0
  215. package/dist/models/FileWriteResult.d.ts +48 -0
  216. package/dist/models/{UploadedFile.js → FileWriteResult.js} +19 -17
  217. package/dist/models/GetAccountLimits200Response.d.ts +2 -2
  218. package/dist/models/GetAccountLimits200Response.js +2 -2
  219. package/dist/models/GetAccountLimits200ResponseData.d.ts +2 -2
  220. package/dist/models/GetAccountLimits200ResponseData.js +2 -2
  221. package/dist/models/GetAccountLimits200ResponseDataCredits.d.ts +2 -2
  222. package/dist/models/GetAccountLimits200ResponseDataCredits.js +2 -2
  223. package/dist/models/GetAccountLimits200ResponseDataUsage.d.ts +2 -2
  224. package/dist/models/GetAccountLimits200ResponseDataUsage.js +2 -2
  225. package/dist/models/GetAccountLimits200ResponseDataUsageBucketCreations.d.ts +2 -2
  226. package/dist/models/GetAccountLimits200ResponseDataUsageBucketCreations.js +2 -2
  227. package/dist/models/GetBucketAnalytics200Response.d.ts +2 -2
  228. package/dist/models/GetBucketAnalytics200Response.js +2 -2
  229. package/dist/models/GetBucketAnalytics200ResponseData.d.ts +2 -2
  230. package/dist/models/GetBucketAnalytics200ResponseData.js +2 -2
  231. package/dist/models/GetEventSubscription200Response.d.ts +2 -2
  232. package/dist/models/GetEventSubscription200Response.js +2 -2
  233. package/dist/models/GetEventSubscription200ResponseData.d.ts +2 -2
  234. package/dist/models/GetEventSubscription200ResponseData.js +2 -2
  235. package/dist/models/GetFileByPath200Response.d.ts +2 -2
  236. package/dist/models/GetFileByPath200Response.js +2 -2
  237. package/dist/models/GetFileByPath200ResponseData.d.ts +2 -2
  238. package/dist/models/GetFileByPath200ResponseData.js +2 -2
  239. package/dist/models/GetFileDownload200Response.d.ts +2 -2
  240. package/dist/models/GetFileDownload200Response.js +2 -2
  241. package/dist/models/GetGithubSetupLink200Response.d.ts +2 -2
  242. package/dist/models/GetGithubSetupLink200Response.js +2 -2
  243. package/dist/models/GetGithubSetupLink200ResponseData.d.ts +2 -2
  244. package/dist/models/GetGithubSetupLink200ResponseData.js +2 -2
  245. package/dist/models/GetGithubSync200Response.d.ts +2 -2
  246. package/dist/models/GetGithubSync200Response.js +2 -2
  247. package/dist/models/GetGithubSync200ResponseData.d.ts +2 -2
  248. package/dist/models/GetGithubSync200ResponseData.js +2 -2
  249. package/dist/models/GetPublication200Response.d.ts +2 -2
  250. package/dist/models/GetPublication200Response.js +2 -2
  251. package/dist/models/GetPublication200ResponseData.d.ts +2 -2
  252. package/dist/models/GetPublication200ResponseData.js +2 -2
  253. package/dist/models/GetStatus200Response.d.ts +2 -2
  254. package/dist/models/GetStatus200Response.js +2 -2
  255. package/dist/models/GetTicket200Response.d.ts +2 -2
  256. package/dist/models/GetTicket200Response.js +2 -2
  257. package/dist/models/GetTicket200ResponseData.d.ts +2 -2
  258. package/dist/models/GetTicket200ResponseData.js +2 -2
  259. package/dist/models/GetTicketMessage200Response.d.ts +2 -2
  260. package/dist/models/GetTicketMessage200Response.js +2 -2
  261. package/dist/models/GetTicketMessage200ResponseData.d.ts +2 -2
  262. package/dist/models/GetTicketMessage200ResponseData.js +2 -2
  263. package/dist/models/GetTicketMessageOriginalDownload200Response.d.ts +2 -2
  264. package/dist/models/GetTicketMessageOriginalDownload200Response.js +2 -2
  265. package/dist/models/GetTicketMessageOriginalDownload200ResponseData.d.ts +2 -2
  266. package/dist/models/GetTicketMessageOriginalDownload200ResponseData.js +2 -2
  267. package/dist/models/GetWebhook200Response.d.ts +2 -2
  268. package/dist/models/GetWebhook200Response.js +2 -2
  269. package/dist/models/GetWebhook200ResponseData.d.ts +2 -2
  270. package/dist/models/GetWebhook200ResponseData.js +2 -2
  271. package/dist/models/GithubConnect.d.ts +4 -9
  272. package/dist/models/GithubConnect.js +2 -5
  273. package/dist/models/GithubInstallation.d.ts +2 -2
  274. package/dist/models/GithubInstallation.js +2 -2
  275. package/dist/models/GithubRepository.d.ts +2 -2
  276. package/dist/models/GithubRepository.js +2 -2
  277. package/dist/models/GithubSetupLink.d.ts +2 -2
  278. package/dist/models/GithubSetupLink.js +2 -2
  279. package/dist/models/GithubSync.d.ts +3 -25
  280. package/dist/models/GithubSync.js +2 -24
  281. package/dist/models/GithubSyncError.d.ts +2 -2
  282. package/dist/models/GithubSyncError.js +2 -2
  283. package/dist/models/GithubSyncSettings.d.ts +2 -10
  284. package/dist/models/GithubSyncSettings.js +2 -6
  285. package/dist/models/GithubSyncSkippedFilesInner.d.ts +2 -2
  286. package/dist/models/GithubSyncSkippedFilesInner.js +2 -2
  287. package/dist/models/ListAccounts200Response.d.ts +2 -2
  288. package/dist/models/ListAccounts200Response.js +2 -2
  289. package/dist/models/ListBuckets200Response.d.ts +2 -2
  290. package/dist/models/ListBuckets200Response.js +2 -2
  291. package/dist/models/ListFileVersions200Response.d.ts +2 -2
  292. package/dist/models/ListFileVersions200Response.js +2 -2
  293. package/dist/models/ListFiles200Response.d.ts +2 -2
  294. package/dist/models/ListFiles200Response.js +2 -2
  295. package/dist/models/ListGithubBranches200Response.d.ts +2 -2
  296. package/dist/models/ListGithubBranches200Response.js +2 -2
  297. package/dist/models/ListGithubBranches200ResponseData.d.ts +2 -2
  298. package/dist/models/ListGithubBranches200ResponseData.js +2 -2
  299. package/dist/models/ListGithubInstallations200Response.d.ts +2 -2
  300. package/dist/models/ListGithubInstallations200Response.js +2 -2
  301. package/dist/models/ListGithubInstallations200ResponseData.d.ts +2 -2
  302. package/dist/models/ListGithubInstallations200ResponseData.js +2 -2
  303. package/dist/models/ListGithubRepositories200Response.d.ts +2 -2
  304. package/dist/models/ListGithubRepositories200Response.js +2 -2
  305. package/dist/models/ListGithubRepositories200ResponseData.d.ts +2 -2
  306. package/dist/models/ListGithubRepositories200ResponseData.js +2 -2
  307. package/dist/models/ListTicketMessages200Response.d.ts +2 -2
  308. package/dist/models/ListTicketMessages200Response.js +2 -2
  309. package/dist/models/ListTickets200Response.d.ts +2 -2
  310. package/dist/models/ListTickets200Response.js +2 -2
  311. package/dist/models/MoveFile200Response.d.ts +35 -0
  312. package/dist/models/MoveFile200Response.js +55 -0
  313. package/dist/models/Pagination.d.ts +2 -2
  314. package/dist/models/Pagination.js +2 -2
  315. package/dist/models/PreviewBucket202Response.d.ts +2 -2
  316. package/dist/models/PreviewBucket202Response.js +2 -2
  317. package/dist/models/PreviewBucket202ResponseData.d.ts +2 -2
  318. package/dist/models/PreviewBucket202ResponseData.js +2 -2
  319. package/dist/models/PreviewRequest.d.ts +2 -2
  320. package/dist/models/PreviewRequest.js +2 -2
  321. package/dist/models/Publication.d.ts +7 -2
  322. package/dist/models/Publication.js +7 -2
  323. package/dist/models/PublicationSupport.d.ts +45 -0
  324. package/dist/models/PublicationSupport.js +65 -0
  325. package/dist/models/PublishBucket202Response.d.ts +2 -2
  326. package/dist/models/PublishBucket202Response.js +2 -2
  327. package/dist/models/PublishBucket202ResponseData.d.ts +2 -2
  328. package/dist/models/PublishBucket202ResponseData.js +2 -2
  329. package/dist/models/PublishBucket202ResponseDataPlanNotice.d.ts +2 -2
  330. package/dist/models/PublishBucket202ResponseDataPlanNotice.js +2 -2
  331. package/dist/models/PublishRequest.d.ts +20 -2
  332. package/dist/models/PublishRequest.js +16 -3
  333. package/dist/models/ReplyToTicket202Response.d.ts +2 -2
  334. package/dist/models/ReplyToTicket202Response.js +2 -2
  335. package/dist/models/ReplyToTicket202ResponseData.d.ts +2 -2
  336. package/dist/models/ReplyToTicket202ResponseData.js +2 -2
  337. package/dist/models/RequestSignInCode200Response.d.ts +2 -2
  338. package/dist/models/RequestSignInCode200Response.js +2 -2
  339. package/dist/models/RequestSignInCodeRequest.d.ts +2 -2
  340. package/dist/models/RequestSignInCodeRequest.js +2 -2
  341. package/dist/models/RestoreFileVersion201Response.d.ts +4 -4
  342. package/dist/models/RestoreFileVersion201Response.js +5 -5
  343. package/dist/models/SetWebhook200Response.d.ts +2 -2
  344. package/dist/models/SetWebhook200Response.js +2 -2
  345. package/dist/models/SetWebhook200ResponseData.d.ts +2 -2
  346. package/dist/models/SetWebhook200ResponseData.js +2 -2
  347. package/dist/models/SetWebhookRequest.d.ts +2 -2
  348. package/dist/models/SetWebhookRequest.js +2 -2
  349. package/dist/models/Status.d.ts +2 -2
  350. package/dist/models/Status.js +2 -2
  351. package/dist/models/StatusFeatures.d.ts +2 -2
  352. package/dist/models/StatusFeatures.js +2 -2
  353. package/dist/models/StatusUser.d.ts +2 -2
  354. package/dist/models/StatusUser.js +2 -2
  355. package/dist/models/SyncGithubRepository202Response.d.ts +2 -2
  356. package/dist/models/SyncGithubRepository202Response.js +2 -2
  357. package/dist/models/SyncGithubRepository202ResponseData.d.ts +2 -2
  358. package/dist/models/SyncGithubRepository202ResponseData.js +2 -2
  359. package/dist/models/Ticket.d.ts +13 -3
  360. package/dist/models/Ticket.js +12 -2
  361. package/dist/models/TicketEvent.d.ts +2 -2
  362. package/dist/models/TicketEvent.js +2 -2
  363. package/dist/models/TicketEventData.d.ts +2 -2
  364. package/dist/models/TicketEventData.js +2 -2
  365. package/dist/models/TicketList.d.ts +2 -2
  366. package/dist/models/TicketList.js +2 -2
  367. package/dist/models/TicketMessage.d.ts +3 -16
  368. package/dist/models/TicketMessage.js +2 -9
  369. package/dist/models/TicketMessageList.d.ts +2 -2
  370. package/dist/models/TicketMessageList.js +2 -2
  371. package/dist/models/TicketReplyRequest.d.ts +2 -2
  372. package/dist/models/TicketReplyRequest.js +2 -2
  373. package/dist/models/TicketSourcesInner.d.ts +43 -0
  374. package/dist/models/TicketSourcesInner.js +63 -0
  375. package/dist/models/TicketUpdateRequest.d.ts +7 -2
  376. package/dist/models/TicketUpdateRequest.js +5 -2
  377. package/dist/models/UpdateBucketRequest.d.ts +2 -2
  378. package/dist/models/UpdateBucketRequest.js +2 -2
  379. package/dist/models/UpdateGithubSyncRequest.d.ts +2 -2
  380. package/dist/models/UpdateGithubSyncRequest.js +2 -2
  381. package/dist/models/VerifySignInCode201Response.d.ts +2 -2
  382. package/dist/models/VerifySignInCode201Response.js +2 -2
  383. package/dist/models/VerifySignInCodeRequest.d.ts +2 -2
  384. package/dist/models/VerifySignInCodeRequest.js +2 -2
  385. package/dist/models/Webhook.d.ts +2 -2
  386. package/dist/models/Webhook.js +2 -2
  387. package/dist/models/WebhookWithSecret.d.ts +2 -2
  388. package/dist/models/WebhookWithSecret.js +2 -2
  389. package/dist/models/WriteFile201Response.d.ts +35 -0
  390. package/dist/models/WriteFile201Response.js +55 -0
  391. package/dist/models/index.d.ts +17 -34
  392. package/dist/models/index.js +17 -34
  393. package/dist/runtime.d.ts +2 -2
  394. package/dist/runtime.js +2 -2
  395. package/package.json +1 -1
  396. package/dist/models/AddUploadSessionFilesRequest.d.ts +0 -39
  397. package/dist/models/AddUploadSessionFilesRequest.js +0 -55
  398. package/dist/models/AppendText200Response.d.ts +0 -35
  399. package/dist/models/AppendText200Response.js +0 -55
  400. package/dist/models/AppendTextRequest.d.ts +0 -50
  401. package/dist/models/AppendTextRequest.js +0 -62
  402. package/dist/models/AppendTextResult.d.ts +0 -52
  403. package/dist/models/AppendTextResult.js +0 -72
  404. package/dist/models/CreateUploadSession201Response.d.ts +0 -35
  405. package/dist/models/CreateUploadSession201Response.js +0 -55
  406. package/dist/models/CreateUploadSessionRequest.d.ts +0 -63
  407. package/dist/models/CreateUploadSessionRequest.js +0 -69
  408. package/dist/models/EmailSummaryFiles.d.ts +0 -42
  409. package/dist/models/EmailSummaryFiles.js +0 -60
  410. package/dist/models/FileUploadSkip.d.ts +0 -52
  411. package/dist/models/FileUploadSkip.js +0 -58
  412. package/dist/models/FinalizeUploadSessionRequest.d.ts +0 -38
  413. package/dist/models/FinalizeUploadSessionRequest.js +0 -52
  414. package/dist/models/GithubSyncPendingChangesInner.d.ts +0 -34
  415. package/dist/models/GithubSyncPendingChangesInner.js +0 -54
  416. package/dist/models/GithubSyncPullRequest.d.ts +0 -38
  417. package/dist/models/GithubSyncPullRequest.js +0 -58
  418. package/dist/models/LockBucket200Response.d.ts +0 -35
  419. package/dist/models/LockBucket200Response.js +0 -55
  420. package/dist/models/LockBucket200ResponseData.d.ts +0 -36
  421. package/dist/models/LockBucket200ResponseData.js +0 -52
  422. package/dist/models/LockRequest.d.ts +0 -46
  423. package/dist/models/LockRequest.js +0 -58
  424. package/dist/models/MoveFileRequest.d.ts +0 -46
  425. package/dist/models/MoveFileRequest.js +0 -56
  426. package/dist/models/PathOperationResult.d.ts +0 -73
  427. package/dist/models/PathOperationResult.js +0 -81
  428. package/dist/models/PrepareFileUpload201Response.d.ts +0 -35
  429. package/dist/models/PrepareFileUpload201Response.js +0 -55
  430. package/dist/models/PrepareFileUploadRequest.d.ts +0 -55
  431. package/dist/models/PrepareFileUploadRequest.js +0 -69
  432. package/dist/models/PreparedFileUpload.d.ts +0 -79
  433. package/dist/models/PreparedFileUpload.js +0 -73
  434. package/dist/models/RenameFile200Response.d.ts +0 -35
  435. package/dist/models/RenameFile200Response.js +0 -55
  436. package/dist/models/RenameFileRequest.d.ts +0 -38
  437. package/dist/models/RenameFileRequest.js +0 -54
  438. package/dist/models/RestoredFileVersion.d.ts +0 -40
  439. package/dist/models/SaveUploadSessionBatchRequest.d.ts +0 -38
  440. package/dist/models/SaveUploadSessionBatchRequest.js +0 -52
  441. package/dist/models/SaveUploadedFile201Response.d.ts +0 -35
  442. package/dist/models/SaveUploadedFile201Response.js +0 -55
  443. package/dist/models/SaveUploadedFileRequest.d.ts +0 -78
  444. package/dist/models/SaveUploadedFileRequest.js +0 -85
  445. package/dist/models/SavedFile.d.ts +0 -49
  446. package/dist/models/SavedFile.js +0 -65
  447. package/dist/models/StorageUpload.d.ts +0 -36
  448. package/dist/models/StorageUpload.js +0 -54
  449. package/dist/models/UnlockRequest.d.ts +0 -38
  450. package/dist/models/UnlockRequest.js +0 -52
  451. package/dist/models/UploadBlob.d.ts +0 -57
  452. package/dist/models/UploadBlob.js +0 -79
  453. package/dist/models/UploadSession.d.ts +0 -94
  454. package/dist/models/UploadSession.js +0 -91
  455. package/dist/models/UploadSessionFile.d.ts +0 -46
  456. package/dist/models/UploadSessionFile.js +0 -66
  457. package/dist/models/UploadSessionResult.d.ts +0 -82
  458. package/dist/models/UploadSessionResult.js +0 -86
  459. package/dist/models/UploadSessionUpload.d.ts +0 -47
  460. package/dist/models/UploadSessionUpload.js +0 -61
  461. package/dist/models/UploadedFile.d.ts +0 -48
package/dist/client.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { DefaultApi, ListBucketsRequest, ListFilesRequest, GetBucketRequest, ListTicketsRequest, GetTicketRequest, ListTicketMessagesRequest, GetTicketMessageRequest, GetTicketMessageAttachmentDownloadRequest } from './apis/DefaultApi';
2
2
  import { BucketCreate } from './models/BucketCreate';
3
3
  import { TicketReplyRequest } from './models/TicketReplyRequest';
4
- import { SaveUploadedFile201Response } from './models/SaveUploadedFile201Response';
5
4
  export interface RevdokuOptions {
6
5
  /** API key. Defaults to the REVDOKU_API_KEY environment variable. */
7
6
  apiKey?: string;
@@ -14,7 +13,7 @@ export interface RevdokuOptions {
14
13
  export interface RequestOptions {
15
14
  signal?: AbortSignal;
16
15
  }
17
- /** Options of the calls that transfer file bytes to or from storage. */
16
+ /** Options of the calls that download bytes from storage. */
18
17
  export interface TransferOptions extends RequestOptions {
19
18
  /** Timeout for each request of this call, including the storage transfer. Default: the client `timeoutMs`. */
20
19
  timeoutMs?: number;
@@ -72,16 +71,4 @@ export declare class Revdoku {
72
71
  downloadAttachment(input: GetTicketMessageAttachmentDownloadRequest, options?: TransferOptions & {
73
72
  maxBytes?: number;
74
73
  }): Promise<Uint8Array>;
75
- /**
76
- * Uploads bytes and commits a file version. Pass the bucket version_id to protect concurrent edits.
77
- * `timeoutMs` applies to each API call and to the storage upload.
78
- */
79
- uploadFile(input: {
80
- bucketId: string;
81
- path: string;
82
- content: Uint8Array | string;
83
- contentType?: string;
84
- accountId?: string;
85
- expectedBucketVersion?: string;
86
- }, options?: TransferOptions): Promise<SaveUploadedFile201Response>;
87
74
  }
package/dist/client.js CHANGED
@@ -21,7 +21,6 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  };
22
22
  Object.defineProperty(exports, "__esModule", { value: true });
23
23
  exports.Revdoku = exports.RevdokuError = void 0;
24
- const node_crypto_1 = require("node:crypto");
25
24
  const DefaultApi_1 = require("./apis/DefaultApi");
26
25
  const runtime_1 = require("./runtime");
27
26
  const LOCAL_HOSTS = ['localhost', '127.0.0.1', '[::1]'];
@@ -210,47 +209,5 @@ class Revdoku {
210
209
  return bytes;
211
210
  });
212
211
  }
213
- /**
214
- * Uploads bytes and commits a file version. Pass the bucket version_id to protect concurrent edits.
215
- * `timeoutMs` applies to each API call and to the storage upload.
216
- */
217
- uploadFile(input_1) {
218
- return __awaiter(this, arguments, void 0, function* (input, options = {}) {
219
- var _a, _b;
220
- if (!input.path || input.path.startsWith('/') || input.path.includes('\\') ||
221
- input.path.split('/').some(part => !part || part === '..' || part === '.'))
222
- throw new Error('path must be a bucket-relative file path');
223
- if (typeof input.content !== 'string' && !(input.content instanceof Uint8Array))
224
- throw new TypeError('content must be a string or a Uint8Array');
225
- const { init, timeoutMs } = this.transfer(options);
226
- const bytes = typeof input.content === 'string' ? Buffer.from(input.content, 'utf8') : Buffer.from(input.content);
227
- const accountId = (_a = input.accountId) !== null && _a !== void 0 ? _a : this.accountId;
228
- const prepared = yield this.api.prepareFileUpload({ bucketId: input.bucketId, prepareFileUploadRequest: {
229
- accountId, path: input.path,
230
- blob: { filename: input.path.split('/').pop(), byteSize: bytes.length,
231
- contentType: input.contentType || 'application/octet-stream', purpose: 'bucket_file',
232
- checksum: (0, node_crypto_1.createHash)('md5').update(bytes).digest('base64'), sha256: (0, node_crypto_1.createHash)('sha256').update(bytes).digest('hex') }
233
- } }, init);
234
- if (prepared.data.skipped && prepared.data.duplicate && prepared.data.file && prepared.data.version) {
235
- return { success: true, data: { file: prepared.data.file, version: prepared.data.version,
236
- created: false, duplicate: true } };
237
- }
238
- const upload = prepared.data.directUpload;
239
- if (!upload || !prepared.data.signedId)
240
- throw new Error('Upload preparation did not return a storage destination');
241
- const headers = new Headers(upload.headers);
242
- if (headers.has('authorization') || headers.has('cookie'))
243
- throw new Error('Unexpected credentials in storage upload headers');
244
- const response = yield fetch(this.storageUrl(upload.url), { method: 'PUT', headers,
245
- body: new Uint8Array(bytes).buffer, redirect: 'error', credentials: 'omit', signal: this.signal(options.signal, timeoutMs) });
246
- yield ((_b = response.body) === null || _b === void 0 ? void 0 : _b.cancel());
247
- if (!response.ok)
248
- throw new Error(`Storage upload failed: HTTP ${response.status}`);
249
- return this.api.saveUploadedFile({ bucketId: input.bucketId, saveUploadedFileRequest: {
250
- accountId, path: input.path, signedBlobId: prepared.data.signedId,
251
- expectedBucketVersion: input.expectedBucketVersion
252
- } }, init);
253
- });
254
- }
255
212
  }
256
213
  exports.Revdoku = Revdoku;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Revdoku API
3
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,7 +13,7 @@ import type { BucketEmail } from './BucketEmail';
13
13
  import type { BucketLock } from './BucketLock';
14
14
  import type { BucketAction } from './BucketAction';
15
15
  /**
16
- * A bucket: private files, its own email address, and a site. Label it as title (email.address), or by email.address alone when title is null. Use id in API calls.
16
+ * A bucket: the project of one docs site. It holds the files, the published site, the site analytics, and the support email address with its tickets. The dashboard calls it a site. Name it with title (the address part of email.address when title is null). Use id in API calls.
17
17
  * @export
18
18
  * @interface Bucket
19
19
  */
@@ -65,11 +65,11 @@ export interface Bucket {
65
65
  */
66
66
  storageBytes?: number;
67
67
  /**
68
- * Current files, including stored emails and attachments.
68
+ * Current files.
69
69
  */
70
70
  filesCount?: number;
71
71
  /**
72
- * Current bucket file-tree version. Send as expected_bucket_version on file writes to detect concurrent changes.
72
+ * Current bucket file-tree version. It changes when a sync copies new files from GitHub.
73
73
  */
74
74
  versionId: string | null;
75
75
  /**
@@ -3,9 +3,9 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Revdoku API
6
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
5
+ * The version of the OpenAPI document: 5.1.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
- * Buckets with an email address, private files and a site. Create buckets, read and reply to email, store files and publish sites. Guide: https://docs.revdoku.com/api/. Create an account at https://app.revdoku.com/users/sign_up.
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: 4.1.0
8
+ * The version of the OpenAPI document: 5.1.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).