revdoku 2.2.0 → 3.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.
Files changed (545) hide show
  1. package/README.md +176 -92
  2. package/REFERENCE.md +367 -286
  3. package/dist/apis/DefaultApi.d.ts +797 -563
  4. package/dist/apis/DefaultApi.js +1385 -971
  5. package/dist/client.d.ts +26 -13
  6. package/dist/client.js +36 -21
  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 +9 -9
  12. package/dist/models/AccountIdentityPermissions.js +11 -11
  13. package/dist/models/AccountLimits.d.ts +7 -7
  14. package/dist/models/AccountLimits.js +14 -14
  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/AddUploadSessionFilesRequest.d.ts +2 -2
  20. package/dist/models/AddUploadSessionFilesRequest.js +2 -2
  21. package/dist/models/AgentConnection.d.ts +11 -11
  22. package/dist/models/AgentConnection.js +15 -15
  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/AppendText200Response.d.ts +2 -2
  28. package/dist/models/AppendText200Response.js +2 -2
  29. package/dist/models/AppendTextRequest.d.ts +4 -4
  30. package/dist/models/AppendTextRequest.js +4 -4
  31. package/dist/models/AppendTextResult.d.ts +4 -4
  32. package/dist/models/AppendTextResult.js +5 -5
  33. package/dist/models/BrowserLink.d.ts +2 -2
  34. package/dist/models/BrowserLink.js +2 -2
  35. package/dist/models/Bucket.d.ts +111 -0
  36. package/dist/models/{Mailbox.js → Bucket.js} +28 -28
  37. package/dist/models/BucketAction.d.ts +42 -0
  38. package/dist/models/{MailboxAction.js → BucketAction.js} +15 -15
  39. package/dist/models/BucketAnalytics.d.ts +130 -0
  40. package/dist/models/BucketAnalytics.js +126 -0
  41. package/dist/models/BucketAnalyticsAgents.d.ts +55 -0
  42. package/dist/models/BucketAnalyticsAgents.js +61 -0
  43. package/dist/models/BucketAnalyticsAgentsActivityInner.d.ts +74 -0
  44. package/dist/models/BucketAnalyticsAgentsActivityInner.js +80 -0
  45. package/dist/models/BucketAnalyticsAgentsAgentsInner.d.ts +34 -0
  46. package/dist/models/BucketAnalyticsAgentsAgentsInner.js +50 -0
  47. package/dist/models/BucketAnalyticsAgentsSearchesInner.d.ts +34 -0
  48. package/dist/models/BucketAnalyticsAgentsSearchesInner.js +50 -0
  49. package/dist/models/BucketAnalyticsAskAi.d.ts +62 -0
  50. package/dist/models/BucketAnalyticsAskAi.js +64 -0
  51. package/dist/models/BucketAnalyticsAskAiPagesInner.d.ts +46 -0
  52. package/dist/models/BucketAnalyticsAskAiPagesInner.js +56 -0
  53. package/dist/models/BucketAnalyticsAskAiPrevious.d.ts +38 -0
  54. package/dist/models/BucketAnalyticsAskAiPrevious.js +52 -0
  55. package/dist/models/BucketAnalyticsGaps.d.ts +46 -0
  56. package/dist/models/BucketAnalyticsGaps.js +58 -0
  57. package/dist/models/BucketAnalyticsGapsSearchesWithoutResultsInner.d.ts +46 -0
  58. package/dist/models/BucketAnalyticsGapsSearchesWithoutResultsInner.js +60 -0
  59. package/dist/models/BucketAnalyticsGapsUnansweredQuestionsInner.d.ts +64 -0
  60. package/dist/models/BucketAnalyticsGapsUnansweredQuestionsInner.js +71 -0
  61. package/dist/models/BucketAnalyticsGapsUnhelpfulPagesInner.d.ts +50 -0
  62. package/dist/models/BucketAnalyticsGapsUnhelpfulPagesInner.js +58 -0
  63. package/dist/models/BucketAnalyticsHumans.d.ts +72 -0
  64. package/dist/models/BucketAnalyticsHumans.js +68 -0
  65. package/dist/models/BucketAnalyticsHumansCountriesInner.d.ts +34 -0
  66. package/dist/models/BucketAnalyticsHumansCountriesInner.js +50 -0
  67. package/dist/models/BucketAnalyticsHumansDownloadsInner.d.ts +34 -0
  68. package/dist/models/BucketAnalyticsHumansDownloadsInner.js +50 -0
  69. package/dist/models/BucketAnalyticsHumansOutboundLinksInner.d.ts +34 -0
  70. package/dist/models/BucketAnalyticsHumansOutboundLinksInner.js +50 -0
  71. package/dist/models/BucketAnalyticsHumansReferrersInner.d.ts +34 -0
  72. package/dist/models/BucketAnalyticsHumansReferrersInner.js +50 -0
  73. package/dist/models/BucketAnalyticsPages.d.ts +36 -0
  74. package/dist/models/BucketAnalyticsPages.js +52 -0
  75. package/dist/models/BucketAnalyticsPagesMissingPagesInner.d.ts +34 -0
  76. package/dist/models/BucketAnalyticsPagesMissingPagesInner.js +50 -0
  77. package/dist/models/BucketAnalyticsPagesPagesInner.d.ts +58 -0
  78. package/dist/models/BucketAnalyticsPagesPagesInner.js +62 -0
  79. package/dist/models/BucketAnalyticsPreviousPeriod.d.ts +34 -0
  80. package/dist/models/BucketAnalyticsPreviousPeriod.js +51 -0
  81. package/dist/models/BucketAnalyticsSearch.d.ts +36 -0
  82. package/dist/models/BucketAnalyticsSearch.js +52 -0
  83. package/dist/models/BucketAnalyticsSearchAiAgents.d.ts +44 -0
  84. package/dist/models/BucketAnalyticsSearchAiAgents.js +56 -0
  85. package/dist/models/BucketAnalyticsSearchHumans.d.ts +45 -0
  86. package/dist/models/BucketAnalyticsSearchHumans.js +57 -0
  87. package/dist/models/BucketAnalyticsSearchHumansTopInner.d.ts +42 -0
  88. package/dist/models/BucketAnalyticsSearchHumansTopInner.js +54 -0
  89. package/dist/models/BucketAnalyticsSeriesInner.d.ts +58 -0
  90. package/dist/models/BucketAnalyticsSeriesInner.js +62 -0
  91. package/dist/models/BucketAnalyticsSupport.d.ts +42 -0
  92. package/dist/models/BucketAnalyticsSupport.js +54 -0
  93. package/dist/models/BucketAnalyticsTraffic.d.ts +55 -0
  94. package/dist/models/BucketAnalyticsTraffic.js +61 -0
  95. package/dist/models/BucketAnalyticsTrafficPrevious.d.ts +50 -0
  96. package/dist/models/BucketAnalyticsTrafficPrevious.js +58 -0
  97. package/dist/models/BucketAnalyticsViewLimit.d.ts +34 -0
  98. package/dist/models/BucketAnalyticsViewLimit.js +51 -0
  99. package/dist/models/BucketCounts.d.ts +38 -0
  100. package/dist/models/BucketCounts.js +58 -0
  101. package/dist/models/BucketCreate.d.ts +57 -0
  102. package/dist/models/BucketCreate.js +65 -0
  103. package/dist/models/BucketEmail.d.ts +58 -0
  104. package/dist/models/{MailboxEmail.js → BucketEmail.js} +17 -17
  105. package/dist/models/BucketEmailOptions.d.ts +34 -0
  106. package/dist/models/BucketEmailOptions.js +50 -0
  107. package/dist/models/{MailboxFile.d.ts → BucketFile.d.ts} +11 -11
  108. package/dist/models/{MailboxFile.js → BucketFile.js} +17 -17
  109. package/dist/models/BucketList.d.ts +41 -0
  110. package/dist/models/BucketList.js +61 -0
  111. package/dist/models/BucketLock.d.ts +58 -0
  112. package/dist/models/{MailboxLock.js → BucketLock.js} +15 -15
  113. package/dist/models/BucketUpdate.d.ts +40 -0
  114. package/dist/models/BucketUpdate.js +52 -0
  115. package/dist/models/CodeRequested.d.ts +2 -2
  116. package/dist/models/CodeRequested.js +2 -2
  117. package/dist/models/ConnectGithubRepository201Response.d.ts +35 -0
  118. package/dist/models/ConnectGithubRepository201Response.js +55 -0
  119. package/dist/models/ConnectGithubRepository201ResponseData.d.ts +31 -0
  120. package/dist/models/ConnectGithubRepository201ResponseData.js +51 -0
  121. package/dist/models/ConnectGithubRepositoryRequest.d.ts +39 -0
  122. package/dist/models/ConnectGithubRepositoryRequest.js +55 -0
  123. package/dist/models/Connection.d.ts +11 -11
  124. package/dist/models/Connection.js +15 -15
  125. package/dist/models/ConnectionPermissions.d.ts +2 -2
  126. package/dist/models/ConnectionPermissions.js +2 -2
  127. package/dist/models/ConnectionRenewal.d.ts +2 -2
  128. package/dist/models/ConnectionRenewal.js +2 -2
  129. package/dist/models/CreateBucket201Response.d.ts +35 -0
  130. package/dist/models/CreateBucket201Response.js +55 -0
  131. package/dist/models/CreateBucket201ResponseData.d.ts +31 -0
  132. package/dist/models/CreateBucket201ResponseData.js +51 -0
  133. package/dist/models/CreateBucketRequest.d.ts +39 -0
  134. package/dist/models/CreateBucketRequest.js +53 -0
  135. package/dist/models/CreateClientAccount201Response.d.ts +2 -2
  136. package/dist/models/CreateClientAccount201Response.js +2 -2
  137. package/dist/models/CreateClientAccount201ResponseData.d.ts +2 -2
  138. package/dist/models/CreateClientAccount201ResponseData.js +2 -2
  139. package/dist/models/CreateClientAccountRequest.d.ts +2 -2
  140. package/dist/models/CreateClientAccountRequest.js +2 -2
  141. package/dist/models/CreateDashboardLink201Response.d.ts +35 -0
  142. package/dist/models/CreateDashboardLink201Response.js +55 -0
  143. package/dist/models/CreateDashboardLinkRequest.d.ts +38 -0
  144. package/dist/models/CreateDashboardLinkRequest.js +52 -0
  145. package/dist/models/CreateUploadSession201Response.d.ts +2 -2
  146. package/dist/models/CreateUploadSession201Response.js +2 -2
  147. package/dist/models/CreateUploadSessionRequest.d.ts +4 -4
  148. package/dist/models/CreateUploadSessionRequest.js +4 -4
  149. package/dist/models/DecodedEmailAddress.d.ts +2 -2
  150. package/dist/models/DecodedEmailAddress.js +2 -2
  151. package/dist/models/DecodedIncomingMessage.d.ts +3 -3
  152. package/dist/models/DecodedIncomingMessage.js +2 -2
  153. package/dist/models/DecodedIncomingMessageAttachmentsInner.d.ts +2 -2
  154. package/dist/models/DecodedIncomingMessageAttachmentsInner.js +2 -2
  155. package/dist/models/DeleteBucket200Response.d.ts +35 -0
  156. package/dist/models/DeleteBucket200Response.js +55 -0
  157. package/dist/models/DeleteBucketRequest.d.ts +38 -0
  158. package/dist/models/DeleteBucketRequest.js +54 -0
  159. package/dist/models/DeleteResult.d.ts +3 -3
  160. package/dist/models/DeleteResult.js +2 -2
  161. package/dist/models/Download.d.ts +2 -2
  162. package/dist/models/Download.js +2 -2
  163. package/dist/models/EmailAttachment.d.ts +2 -2
  164. package/dist/models/EmailAttachment.js +2 -2
  165. package/dist/models/EmailDelivery.d.ts +2 -2
  166. package/dist/models/EmailDelivery.js +2 -2
  167. package/dist/models/EmailForwarding.d.ts +2 -2
  168. package/dist/models/EmailForwarding.js +2 -2
  169. package/dist/models/EmailForwardingContent.d.ts +2 -2
  170. package/dist/models/EmailForwardingContent.js +2 -2
  171. package/dist/models/EmailLabel.d.ts +2 -2
  172. package/dist/models/EmailLabel.js +2 -2
  173. package/dist/models/EmailSummary.d.ts +4 -4
  174. package/dist/models/EmailSummary.js +2 -2
  175. package/dist/models/EmailSummaryFiles.d.ts +2 -2
  176. package/dist/models/EmailSummaryFiles.js +2 -2
  177. package/dist/models/ErrorCode.d.ts +81 -45
  178. package/dist/models/ErrorCode.js +81 -45
  179. package/dist/models/EventSubscription.d.ts +64 -0
  180. package/dist/models/{EmailSubscription.js → EventSubscription.js} +23 -23
  181. package/dist/models/ExchangeConnectionGrantRequest.d.ts +2 -2
  182. package/dist/models/ExchangeConnectionGrantRequest.js +2 -2
  183. package/dist/models/FileActor.d.ts +2 -2
  184. package/dist/models/FileActor.js +2 -2
  185. package/dist/models/FileDownload.d.ts +2 -2
  186. package/dist/models/FileDownload.js +2 -2
  187. package/dist/models/FileKey.d.ts +2 -2
  188. package/dist/models/FileKey.js +2 -2
  189. package/dist/models/FileList.d.ts +4 -4
  190. package/dist/models/FileList.js +5 -5
  191. package/dist/models/FileUploadSkip.d.ts +2 -2
  192. package/dist/models/FileUploadSkip.js +2 -2
  193. package/dist/models/FileVersion.d.ts +2 -2
  194. package/dist/models/FileVersion.js +2 -2
  195. package/dist/models/FileVersionList.d.ts +2 -2
  196. package/dist/models/FileVersionList.js +2 -2
  197. package/dist/models/FileVersionReason.d.ts +2 -2
  198. package/dist/models/FileVersionReason.js +2 -2
  199. package/dist/models/FinalizeUploadSessionRequest.d.ts +2 -2
  200. package/dist/models/FinalizeUploadSessionRequest.js +2 -2
  201. package/dist/models/GetAccountLimits200Response.d.ts +2 -2
  202. package/dist/models/GetAccountLimits200Response.js +2 -2
  203. package/dist/models/GetAccountLimits200ResponseData.d.ts +2 -2
  204. package/dist/models/GetAccountLimits200ResponseData.js +2 -2
  205. package/dist/models/GetAccountLimits200ResponseDataUsage.d.ts +4 -4
  206. package/dist/models/GetAccountLimits200ResponseDataUsage.js +5 -5
  207. package/dist/models/GetAccountLimits200ResponseDataUsageBucketCreations.d.ts +42 -0
  208. package/dist/models/GetAccountLimits200ResponseDataUsageBucketCreations.js +55 -0
  209. package/dist/models/GetBucketAnalytics200Response.d.ts +35 -0
  210. package/dist/models/GetBucketAnalytics200Response.js +55 -0
  211. package/dist/models/GetBucketAnalytics200ResponseData.d.ts +31 -0
  212. package/dist/models/GetBucketAnalytics200ResponseData.js +51 -0
  213. package/dist/models/GetEventSubscription200Response.d.ts +35 -0
  214. package/dist/models/GetEventSubscription200Response.js +55 -0
  215. package/dist/models/GetEventSubscription200ResponseData.d.ts +31 -0
  216. package/dist/models/GetEventSubscription200ResponseData.js +51 -0
  217. package/dist/models/GetFileByPath200Response.d.ts +2 -2
  218. package/dist/models/GetFileByPath200Response.js +2 -2
  219. package/dist/models/GetFileByPath200ResponseData.d.ts +4 -4
  220. package/dist/models/GetFileByPath200ResponseData.js +5 -5
  221. package/dist/models/GetFileDownload200Response.d.ts +2 -2
  222. package/dist/models/GetFileDownload200Response.js +2 -2
  223. package/dist/models/GetGithubSetupLink200Response.d.ts +35 -0
  224. package/dist/models/GetGithubSetupLink200Response.js +55 -0
  225. package/dist/models/GetGithubSetupLink200ResponseData.d.ts +31 -0
  226. package/dist/models/GetGithubSetupLink200ResponseData.js +51 -0
  227. package/dist/models/GetGithubSync200Response.d.ts +35 -0
  228. package/dist/models/GetGithubSync200Response.js +55 -0
  229. package/dist/models/GetGithubSync200ResponseData.d.ts +31 -0
  230. package/dist/models/GetGithubSync200ResponseData.js +51 -0
  231. package/dist/models/GetPublication200Response.d.ts +35 -0
  232. package/dist/models/GetPublication200Response.js +55 -0
  233. package/dist/models/GetPublication200ResponseData.d.ts +31 -0
  234. package/dist/models/GetPublication200ResponseData.js +51 -0
  235. package/dist/models/GetStatus200Response.d.ts +2 -2
  236. package/dist/models/GetStatus200Response.js +2 -2
  237. package/dist/models/GetTicket200Response.d.ts +35 -0
  238. package/dist/models/GetTicket200Response.js +55 -0
  239. package/dist/models/GetTicket200ResponseData.d.ts +31 -0
  240. package/dist/models/GetTicket200ResponseData.js +51 -0
  241. package/dist/models/GetTicketMessageOriginalDownload200Response.d.ts +35 -0
  242. package/dist/models/GetTicketMessageOriginalDownload200Response.js +55 -0
  243. package/dist/models/GetTicketMessageOriginalDownload200ResponseData.d.ts +31 -0
  244. package/dist/models/GetTicketMessageOriginalDownload200ResponseData.js +51 -0
  245. package/dist/models/GetWebhook200Response.d.ts +35 -0
  246. package/dist/models/GetWebhook200Response.js +55 -0
  247. package/dist/models/GetWebhook200ResponseData.d.ts +31 -0
  248. package/dist/models/GetWebhook200ResponseData.js +51 -0
  249. package/dist/models/GithubConnect.d.ts +62 -0
  250. package/dist/models/GithubConnect.js +72 -0
  251. package/dist/models/GithubInstallation.d.ts +54 -0
  252. package/dist/models/GithubInstallation.js +68 -0
  253. package/dist/models/GithubRepository.d.ts +58 -0
  254. package/dist/models/GithubRepository.js +76 -0
  255. package/dist/models/GithubSetupLink.d.ts +42 -0
  256. package/dist/models/GithubSetupLink.js +63 -0
  257. package/dist/models/GithubSync.d.ts +145 -0
  258. package/dist/models/GithubSync.js +166 -0
  259. package/dist/models/GithubSyncError.d.ts +34 -0
  260. package/dist/models/GithubSyncError.js +54 -0
  261. package/dist/models/GithubSyncPendingChangesInner.d.ts +34 -0
  262. package/dist/models/GithubSyncPendingChangesInner.js +54 -0
  263. package/dist/models/GithubSyncPullRequest.d.ts +38 -0
  264. package/dist/models/GithubSyncPullRequest.js +58 -0
  265. package/dist/models/GithubSyncSettings.d.ts +38 -0
  266. package/dist/models/GithubSyncSettings.js +52 -0
  267. package/dist/models/GithubSyncSkippedFilesInner.d.ts +38 -0
  268. package/dist/models/GithubSyncSkippedFilesInner.js +58 -0
  269. package/dist/models/ListAccounts200Response.d.ts +2 -2
  270. package/dist/models/ListAccounts200Response.js +2 -2
  271. package/dist/models/ListBuckets200Response.d.ts +35 -0
  272. package/dist/models/ListBuckets200Response.js +55 -0
  273. package/dist/models/ListFileVersions200Response.d.ts +2 -2
  274. package/dist/models/ListFileVersions200Response.js +2 -2
  275. package/dist/models/ListFiles200Response.d.ts +2 -2
  276. package/dist/models/ListFiles200Response.js +2 -2
  277. package/dist/models/ListGithubBranches200Response.d.ts +35 -0
  278. package/dist/models/ListGithubBranches200Response.js +55 -0
  279. package/dist/models/ListGithubBranches200ResponseData.d.ts +30 -0
  280. package/dist/models/ListGithubBranches200ResponseData.js +50 -0
  281. package/dist/models/ListGithubInstallations200Response.d.ts +35 -0
  282. package/dist/models/ListGithubInstallations200Response.js +55 -0
  283. package/dist/models/ListGithubInstallations200ResponseData.d.ts +36 -0
  284. package/dist/models/ListGithubInstallations200ResponseData.js +56 -0
  285. package/dist/models/ListGithubRepositories200Response.d.ts +35 -0
  286. package/dist/models/ListGithubRepositories200Response.js +55 -0
  287. package/dist/models/ListGithubRepositories200ResponseData.d.ts +36 -0
  288. package/dist/models/ListGithubRepositories200ResponseData.js +56 -0
  289. package/dist/models/ListTicketMessages200Response.d.ts +35 -0
  290. package/dist/models/ListTicketMessages200Response.js +55 -0
  291. package/dist/models/ListTickets200Response.d.ts +35 -0
  292. package/dist/models/ListTickets200Response.js +55 -0
  293. package/dist/models/LockBucket200Response.d.ts +35 -0
  294. package/dist/models/LockBucket200Response.js +55 -0
  295. package/dist/models/LockBucket200ResponseData.d.ts +36 -0
  296. package/dist/models/LockBucket200ResponseData.js +52 -0
  297. package/dist/models/LockRequest.d.ts +46 -0
  298. package/dist/models/LockRequest.js +58 -0
  299. package/dist/models/MoveFileRequest.d.ts +3 -3
  300. package/dist/models/MoveFileRequest.js +4 -4
  301. package/dist/models/Pagination.d.ts +2 -2
  302. package/dist/models/Pagination.js +2 -2
  303. package/dist/models/PathOperationResult.d.ts +7 -7
  304. package/dist/models/PathOperationResult.js +11 -11
  305. package/dist/models/PrepareFileUpload201Response.d.ts +2 -2
  306. package/dist/models/PrepareFileUpload201Response.js +2 -2
  307. package/dist/models/PrepareFileUploadRequest.d.ts +3 -7
  308. package/dist/models/PrepareFileUploadRequest.js +2 -6
  309. package/dist/models/PreparedFileUpload.d.ts +4 -4
  310. package/dist/models/PreparedFileUpload.js +5 -5
  311. package/dist/models/PreviewRequest.d.ts +51 -0
  312. package/dist/models/PreviewRequest.js +63 -0
  313. package/dist/models/Publication.d.ts +94 -0
  314. package/dist/models/Publication.js +114 -0
  315. package/dist/models/PublishBucket202Response.d.ts +35 -0
  316. package/dist/models/PublishBucket202Response.js +55 -0
  317. package/dist/models/PublishBucket202ResponseData.d.ts +36 -0
  318. package/dist/models/PublishBucket202ResponseData.js +54 -0
  319. package/dist/models/PublishBucket202ResponseDataPlanNotice.d.ts +52 -0
  320. package/dist/models/PublishBucket202ResponseDataPlanNotice.js +58 -0
  321. package/dist/models/PublishRequest.d.ts +47 -0
  322. package/dist/models/PublishRequest.js +61 -0
  323. package/dist/models/RenameFile200Response.d.ts +2 -2
  324. package/dist/models/RenameFile200Response.js +2 -2
  325. package/dist/models/RenameFileRequest.d.ts +2 -2
  326. package/dist/models/RenameFileRequest.js +2 -2
  327. package/dist/models/ReplyToTicket202Response.d.ts +35 -0
  328. package/dist/models/ReplyToTicket202Response.js +55 -0
  329. package/dist/models/ReplyToTicket202ResponseData.d.ts +31 -0
  330. package/dist/models/ReplyToTicket202ResponseData.js +51 -0
  331. package/dist/models/RequestSignInCode200Response.d.ts +2 -2
  332. package/dist/models/RequestSignInCode200Response.js +2 -2
  333. package/dist/models/RequestSignInCodeRequest.d.ts +2 -2
  334. package/dist/models/RequestSignInCodeRequest.js +2 -2
  335. package/dist/models/RestoreFileVersion201Response.d.ts +2 -2
  336. package/dist/models/RestoreFileVersion201Response.js +2 -2
  337. package/dist/models/RestoredFileVersion.d.ts +4 -4
  338. package/dist/models/RestoredFileVersion.js +5 -5
  339. package/dist/models/SaveUploadSessionBatchRequest.d.ts +2 -2
  340. package/dist/models/SaveUploadSessionBatchRequest.js +2 -2
  341. package/dist/models/SaveUploadedFile201Response.d.ts +2 -2
  342. package/dist/models/SaveUploadedFile201Response.js +2 -2
  343. package/dist/models/SaveUploadedFileRequest.d.ts +6 -6
  344. package/dist/models/SaveUploadedFileRequest.js +4 -4
  345. package/dist/models/SavedFile.d.ts +4 -4
  346. package/dist/models/SavedFile.js +5 -5
  347. package/dist/models/SetWebhook200Response.d.ts +35 -0
  348. package/dist/models/SetWebhook200Response.js +55 -0
  349. package/dist/models/SetWebhook200ResponseData.d.ts +31 -0
  350. package/dist/models/SetWebhook200ResponseData.js +51 -0
  351. package/dist/models/SetWebhookRequest.d.ts +42 -0
  352. package/dist/models/{SetEmailWebhookRequest.js → SetWebhookRequest.js} +15 -15
  353. package/dist/models/Status.d.ts +2 -2
  354. package/dist/models/Status.js +2 -2
  355. package/dist/models/StatusFeatures.d.ts +2 -2
  356. package/dist/models/StatusFeatures.js +2 -2
  357. package/dist/models/StatusUser.d.ts +2 -2
  358. package/dist/models/StatusUser.js +2 -2
  359. package/dist/models/StorageUpload.d.ts +2 -2
  360. package/dist/models/StorageUpload.js +2 -2
  361. package/dist/models/SyncGithubRepository202Response.d.ts +35 -0
  362. package/dist/models/SyncGithubRepository202Response.js +55 -0
  363. package/dist/models/SyncGithubRepository202ResponseData.d.ts +35 -0
  364. package/dist/models/SyncGithubRepository202ResponseData.js +55 -0
  365. package/dist/models/Ticket.d.ts +97 -0
  366. package/dist/models/Ticket.js +117 -0
  367. package/dist/models/TicketEvent.d.ts +51 -0
  368. package/dist/models/TicketEvent.js +72 -0
  369. package/dist/models/TicketEventData.d.ts +63 -0
  370. package/dist/models/TicketEventData.js +84 -0
  371. package/dist/models/TicketList.d.ts +36 -0
  372. package/dist/models/TicketList.js +56 -0
  373. package/dist/models/{EmailDetail.d.ts → TicketMessage.d.ts} +38 -21
  374. package/dist/models/{EmailDetail.js → TicketMessage.js} +36 -26
  375. package/dist/models/TicketMessageList.d.ts +36 -0
  376. package/dist/models/TicketMessageList.js +56 -0
  377. package/dist/models/TicketReplyRequest.d.ts +50 -0
  378. package/dist/models/TicketReplyRequest.js +60 -0
  379. package/dist/models/TicketUpdateRequest.d.ts +54 -0
  380. package/dist/models/TicketUpdateRequest.js +64 -0
  381. package/dist/models/UnlockRequest.d.ts +38 -0
  382. package/dist/models/UnlockRequest.js +52 -0
  383. package/dist/models/UpdateBucketRequest.d.ts +43 -0
  384. package/dist/models/UpdateBucketRequest.js +57 -0
  385. package/dist/models/UpdateGithubSyncRequest.d.ts +39 -0
  386. package/dist/models/UpdateGithubSyncRequest.js +55 -0
  387. package/dist/models/UploadBlob.d.ts +3 -3
  388. package/dist/models/UploadBlob.js +4 -4
  389. package/dist/models/UploadSession.d.ts +7 -7
  390. package/dist/models/UploadSession.js +9 -9
  391. package/dist/models/UploadSessionFile.d.ts +3 -3
  392. package/dist/models/UploadSessionFile.js +2 -2
  393. package/dist/models/UploadSessionResult.d.ts +3 -3
  394. package/dist/models/UploadSessionResult.js +5 -5
  395. package/dist/models/UploadSessionUpload.d.ts +2 -2
  396. package/dist/models/UploadSessionUpload.js +2 -2
  397. package/dist/models/UploadedFile.d.ts +4 -4
  398. package/dist/models/UploadedFile.js +5 -5
  399. package/dist/models/VerifySignInCode201Response.d.ts +2 -2
  400. package/dist/models/VerifySignInCode201Response.js +2 -2
  401. package/dist/models/VerifySignInCodeRequest.d.ts +15 -15
  402. package/dist/models/VerifySignInCodeRequest.js +14 -14
  403. package/dist/models/Webhook.d.ts +8 -7
  404. package/dist/models/Webhook.js +9 -10
  405. package/dist/models/WebhookWithSecret.d.ts +8 -7
  406. package/dist/models/WebhookWithSecret.js +9 -10
  407. package/dist/models/index.d.ts +114 -72
  408. package/dist/models/index.js +114 -72
  409. package/dist/runtime.d.ts +2 -2
  410. package/dist/runtime.js +2 -2
  411. package/package.json +11 -8
  412. package/dist/models/ChangeMailboxAddressRequest.d.ts +0 -54
  413. package/dist/models/ChangeMailboxAddressRequest.js +0 -64
  414. package/dist/models/CheckEmailDomain200Response.d.ts +0 -35
  415. package/dist/models/CheckEmailDomain200Response.js +0 -55
  416. package/dist/models/CreateBrowserLink201Response.d.ts +0 -35
  417. package/dist/models/CreateBrowserLink201Response.js +0 -55
  418. package/dist/models/CreateBrowserLinkRequest.d.ts +0 -38
  419. package/dist/models/CreateBrowserLinkRequest.js +0 -52
  420. package/dist/models/CreateEmailAliasRequest.d.ts +0 -42
  421. package/dist/models/CreateEmailAliasRequest.js +0 -56
  422. package/dist/models/CreateEmailDomain201Response.d.ts +0 -35
  423. package/dist/models/CreateEmailDomain201Response.js +0 -55
  424. package/dist/models/CreateEmailDomain201ResponseData.d.ts +0 -31
  425. package/dist/models/CreateEmailDomain201ResponseData.js +0 -51
  426. package/dist/models/CreateEmailDomainRequest.d.ts +0 -38
  427. package/dist/models/CreateEmailDomainRequest.js +0 -54
  428. package/dist/models/CreateMailbox201Response.d.ts +0 -35
  429. package/dist/models/CreateMailbox201Response.js +0 -55
  430. package/dist/models/CreateMailbox201ResponseData.d.ts +0 -31
  431. package/dist/models/CreateMailbox201ResponseData.js +0 -51
  432. package/dist/models/CreateMailboxRequest.d.ts +0 -39
  433. package/dist/models/CreateMailboxRequest.js +0 -53
  434. package/dist/models/DeleteEmailDomain200Response.d.ts +0 -35
  435. package/dist/models/DeleteEmailDomain200Response.js +0 -55
  436. package/dist/models/DeleteEmailDomainRequest.d.ts +0 -42
  437. package/dist/models/DeleteEmailDomainRequest.js +0 -58
  438. package/dist/models/DeleteMailboxRequest.d.ts +0 -38
  439. package/dist/models/DeleteMailboxRequest.js +0 -54
  440. package/dist/models/DnsRecord.d.ts +0 -50
  441. package/dist/models/DnsRecord.js +0 -70
  442. package/dist/models/EmailAlias.d.ts +0 -38
  443. package/dist/models/EmailAlias.js +0 -58
  444. package/dist/models/EmailDomain.d.ts +0 -101
  445. package/dist/models/EmailDomain.js +0 -92
  446. package/dist/models/EmailDomainAssignedMailboxesInner.d.ts +0 -35
  447. package/dist/models/EmailDomainAssignedMailboxesInner.js +0 -51
  448. package/dist/models/EmailDomainAssignedMailboxesInnerEmail.d.ts +0 -30
  449. package/dist/models/EmailDomainAssignedMailboxesInnerEmail.js +0 -48
  450. package/dist/models/EmailDomainCheck.d.ts +0 -42
  451. package/dist/models/EmailDomainCheck.js +0 -58
  452. package/dist/models/EmailDomainError.d.ts +0 -38
  453. package/dist/models/EmailDomainError.js +0 -52
  454. package/dist/models/EmailDomainList.d.ts +0 -44
  455. package/dist/models/EmailDomainList.js +0 -62
  456. package/dist/models/EmailList.d.ts +0 -36
  457. package/dist/models/EmailList.js +0 -56
  458. package/dist/models/EmailReceivedEvent.d.ts +0 -50
  459. package/dist/models/EmailReceivedEvent.js +0 -73
  460. package/dist/models/EmailReceivedEventData.d.ts +0 -46
  461. package/dist/models/EmailReceivedEventData.js +0 -67
  462. package/dist/models/EmailSenderAllowlist.d.ts +0 -46
  463. package/dist/models/EmailSenderAllowlist.js +0 -66
  464. package/dist/models/EmailSubscription.d.ts +0 -64
  465. package/dist/models/GetAccountLimits200ResponseDataUsageMailboxCreations.d.ts +0 -42
  466. package/dist/models/GetAccountLimits200ResponseDataUsageMailboxCreations.js +0 -55
  467. package/dist/models/GetEmail200Response.d.ts +0 -35
  468. package/dist/models/GetEmail200Response.js +0 -55
  469. package/dist/models/GetEmail200ResponseData.d.ts +0 -31
  470. package/dist/models/GetEmail200ResponseData.js +0 -51
  471. package/dist/models/GetEmailDomainSetupLink200Response.d.ts +0 -35
  472. package/dist/models/GetEmailDomainSetupLink200Response.js +0 -55
  473. package/dist/models/GetEmailDomainSetupLink200ResponseData.d.ts +0 -31
  474. package/dist/models/GetEmailDomainSetupLink200ResponseData.js +0 -51
  475. package/dist/models/GetEmailDomainSetupLink200ResponseDataSetupLink.d.ts +0 -34
  476. package/dist/models/GetEmailDomainSetupLink200ResponseDataSetupLink.js +0 -54
  477. package/dist/models/GetEmailOriginalDownload200Response.d.ts +0 -35
  478. package/dist/models/GetEmailOriginalDownload200Response.js +0 -55
  479. package/dist/models/GetEmailOriginalDownload200ResponseData.d.ts +0 -31
  480. package/dist/models/GetEmailOriginalDownload200ResponseData.js +0 -51
  481. package/dist/models/GetEmailSubscription200Response.d.ts +0 -35
  482. package/dist/models/GetEmailSubscription200Response.js +0 -55
  483. package/dist/models/GetEmailSubscription200ResponseData.d.ts +0 -31
  484. package/dist/models/GetEmailSubscription200ResponseData.js +0 -51
  485. package/dist/models/GetEmailWebhook200Response.d.ts +0 -35
  486. package/dist/models/GetEmailWebhook200Response.js +0 -55
  487. package/dist/models/GetEmailWebhook200ResponseData.d.ts +0 -31
  488. package/dist/models/GetEmailWebhook200ResponseData.js +0 -51
  489. package/dist/models/GetMailboxEmailSettings200Response.d.ts +0 -35
  490. package/dist/models/GetMailboxEmailSettings200Response.js +0 -55
  491. package/dist/models/ListEmailDomains200Response.d.ts +0 -35
  492. package/dist/models/ListEmailDomains200Response.js +0 -55
  493. package/dist/models/ListEmails200Response.d.ts +0 -35
  494. package/dist/models/ListEmails200Response.js +0 -55
  495. package/dist/models/ListMailboxes200Response.d.ts +0 -35
  496. package/dist/models/ListMailboxes200Response.js +0 -55
  497. package/dist/models/Mailbox.d.ts +0 -111
  498. package/dist/models/MailboxAction.d.ts +0 -42
  499. package/dist/models/MailboxCounts.d.ts +0 -38
  500. package/dist/models/MailboxCounts.js +0 -58
  501. package/dist/models/MailboxCreate.d.ts +0 -45
  502. package/dist/models/MailboxCreate.js +0 -55
  503. package/dist/models/MailboxEmail.d.ts +0 -58
  504. package/dist/models/MailboxEmailOptions.d.ts +0 -34
  505. package/dist/models/MailboxEmailOptions.js +0 -50
  506. package/dist/models/MailboxEmailSettings.d.ts +0 -87
  507. package/dist/models/MailboxEmailSettings.js +0 -92
  508. package/dist/models/MailboxEmailSettingsAssignment.d.ts +0 -52
  509. package/dist/models/MailboxEmailSettingsAssignment.js +0 -64
  510. package/dist/models/MailboxEmailSettingsAssignmentError.d.ts +0 -38
  511. package/dist/models/MailboxEmailSettingsAssignmentError.js +0 -52
  512. package/dist/models/MailboxEmailSettingsAvailableDomainsInner.d.ts +0 -42
  513. package/dist/models/MailboxEmailSettingsAvailableDomainsInner.js +0 -58
  514. package/dist/models/MailboxEmailSettingsCustomization.d.ts +0 -38
  515. package/dist/models/MailboxEmailSettingsCustomization.js +0 -52
  516. package/dist/models/MailboxList.d.ts +0 -41
  517. package/dist/models/MailboxList.js +0 -61
  518. package/dist/models/MailboxLock.d.ts +0 -58
  519. package/dist/models/MailboxUpdate.d.ts +0 -40
  520. package/dist/models/MailboxUpdate.js +0 -52
  521. package/dist/models/SendEmail202Response.d.ts +0 -35
  522. package/dist/models/SendEmail202Response.js +0 -55
  523. package/dist/models/SendEmail202ResponseData.d.ts +0 -31
  524. package/dist/models/SendEmail202ResponseData.js +0 -51
  525. package/dist/models/SendEmailRequest.d.ts +0 -62
  526. package/dist/models/SendEmailRequest.js +0 -66
  527. package/dist/models/SetEmailWebhook200Response.d.ts +0 -35
  528. package/dist/models/SetEmailWebhook200Response.js +0 -55
  529. package/dist/models/SetEmailWebhook200ResponseData.d.ts +0 -31
  530. package/dist/models/SetEmailWebhook200ResponseData.js +0 -51
  531. package/dist/models/SetEmailWebhookRequest.d.ts +0 -42
  532. package/dist/models/UpdateEmailAllowlist200Response.d.ts +0 -35
  533. package/dist/models/UpdateEmailAllowlist200Response.js +0 -55
  534. package/dist/models/UpdateEmailAllowlist200ResponseData.d.ts +0 -31
  535. package/dist/models/UpdateEmailAllowlist200ResponseData.js +0 -51
  536. package/dist/models/UpdateEmailAllowlistRequest.d.ts +0 -43
  537. package/dist/models/UpdateEmailAllowlistRequest.js +0 -59
  538. package/dist/models/UpdateEmailAllowlistRequestSenderAllowlist.d.ts +0 -34
  539. package/dist/models/UpdateEmailAllowlistRequestSenderAllowlist.js +0 -54
  540. package/dist/models/UpdateEmailRequest.d.ts +0 -46
  541. package/dist/models/UpdateEmailRequest.js +0 -56
  542. package/dist/models/UpdateMailboxRequest.d.ts +0 -43
  543. package/dist/models/UpdateMailboxRequest.js +0 -57
  544. package/dist/models/VerifyEmailDomainRequest.d.ts +0 -34
  545. package/dist/models/VerifyEmailDomainRequest.js +0 -50
@@ -0,0 +1,145 @@
1
+ /**
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.
4
+ *
5
+ * The version of the OpenAPI document: 3.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 { GithubSyncPendingChangesInner } from './GithubSyncPendingChangesInner';
13
+ import type { GithubSyncError } from './GithubSyncError';
14
+ import type { GithubSyncSkippedFilesInner } from './GithubSyncSkippedFilesInner';
15
+ import type { GithubSyncPullRequest } from './GithubSyncPullRequest';
16
+ /**
17
+ * The GitHub repository of a bucket. The bucket's files are a copy of one branch, or of one folder of it.
18
+ * @export
19
+ * @interface GithubSync
20
+ */
21
+ export interface GithubSync {
22
+ /**
23
+ * Link ID.
24
+ */
25
+ id: string;
26
+ /**
27
+ *
28
+ */
29
+ bucketId: string;
30
+ /**
31
+ * The connected GitHub account (Revdoku GitHub App installation) that reads the repository.
32
+ */
33
+ installationId: number;
34
+ /**
35
+ * The GitHub account or organization that owns the repository.
36
+ */
37
+ repoOwner: string;
38
+ /**
39
+ *
40
+ */
41
+ repoName: string;
42
+ /**
43
+ * owner/name.
44
+ */
45
+ repoFullName: string;
46
+ /**
47
+ *
48
+ */
49
+ repositoryUrl: string;
50
+ /**
51
+ *
52
+ */
53
+ branch: string;
54
+ /**
55
+ * The repository folder that is the bucket root. Null: the whole repository.
56
+ */
57
+ repoPath: string | null;
58
+ /**
59
+ * idle: nothing runs. syncing: a sync runs. waiting_locked: the bucket is locked and the sync tries again later. error: see last_error and next_retry_at. disconnected: the repository is no longer connected.
60
+ */
61
+ syncState: GithubSyncSyncStateEnum;
62
+ /**
63
+ * Why the last sync failed or waits, or why GitHub disconnected the repository.
64
+ */
65
+ lastError: GithubSyncError | null;
66
+ /**
67
+ * When a failed sync tries again. Null after the last try: sync again after the cause is fixed.
68
+ */
69
+ nextRetryAt: Date | null;
70
+ /**
71
+ * When the last sync finished. Null until the first copy is done.
72
+ */
73
+ lastSyncedAt: Date | null;
74
+ /**
75
+ * The commit of the branch that the files show.
76
+ */
77
+ lastSyncedCommitSha: string | null;
78
+ /**
79
+ *
80
+ */
81
+ lastSyncedCommitMessage: string | null;
82
+ /**
83
+ * The site publishes again after each sync. The first publish is publishBucket.
84
+ */
85
+ autoPublish: boolean;
86
+ /**
87
+ * Edits made in Revdoku can go to GitHub. False: the files are a read-only copy of the repository.
88
+ */
89
+ pushRevdokuEdits: boolean;
90
+ /**
91
+ * Each sync commits the edits made in Revdoku to the branch. False: they wait in pending_changes until a person publishes them in the dashboard.
92
+ */
93
+ autoCommit: boolean;
94
+ /**
95
+ * Edits made in Revdoku that are not on the branch.
96
+ */
97
+ pendingCount: number;
98
+ /**
99
+ * The first 200 of these edits.
100
+ */
101
+ pendingChanges: Array<GithubSyncPendingChangesInner>;
102
+ /**
103
+ *
104
+ */
105
+ pullRequest: GithubSyncPullRequest | null;
106
+ /**
107
+ * Repository files that the last sync left out, for example files that are too large or stored in Git LFS.
108
+ */
109
+ skippedFiles: Array<GithubSyncSkippedFilesInner>;
110
+ /**
111
+ * Why the site was not published again after the last sync.
112
+ */
113
+ autoPublishError: GithubSyncError | null;
114
+ /**
115
+ * The bucket's GitHub page in the dashboard. It grants no access.
116
+ */
117
+ dashboardUrl: string | null;
118
+ /**
119
+ *
120
+ */
121
+ createdAt: Date;
122
+ /**
123
+ *
124
+ */
125
+ updatedAt: Date;
126
+ }
127
+ /**
128
+ * @export
129
+ */
130
+ export declare const GithubSyncSyncStateEnum: {
131
+ readonly Idle: "idle";
132
+ readonly Syncing: "syncing";
133
+ readonly WaitingLocked: "waiting_locked";
134
+ readonly Error: "error";
135
+ readonly Disconnected: "disconnected";
136
+ };
137
+ export type GithubSyncSyncStateEnum = typeof GithubSyncSyncStateEnum[keyof typeof GithubSyncSyncStateEnum];
138
+ /**
139
+ * Check if a given object implements the GithubSync interface.
140
+ */
141
+ export declare function instanceOfGithubSync(value: object): value is GithubSync;
142
+ export declare function GithubSyncFromJSON(json: any): GithubSync;
143
+ export declare function GithubSyncFromJSONTyped(json: any, ignoreDiscriminator: boolean): GithubSync;
144
+ export declare function GithubSyncToJSON(json: any): GithubSync;
145
+ export declare function GithubSyncToJSONTyped(value?: GithubSync | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,166 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
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.
7
+ *
8
+ * The version of the OpenAPI document: 3.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.GithubSyncSyncStateEnum = void 0;
17
+ exports.instanceOfGithubSync = instanceOfGithubSync;
18
+ exports.GithubSyncFromJSON = GithubSyncFromJSON;
19
+ exports.GithubSyncFromJSONTyped = GithubSyncFromJSONTyped;
20
+ exports.GithubSyncToJSON = GithubSyncToJSON;
21
+ exports.GithubSyncToJSONTyped = GithubSyncToJSONTyped;
22
+ const runtime_1 = require("../runtime");
23
+ const GithubSyncPendingChangesInner_1 = require("./GithubSyncPendingChangesInner");
24
+ const GithubSyncError_1 = require("./GithubSyncError");
25
+ const GithubSyncSkippedFilesInner_1 = require("./GithubSyncSkippedFilesInner");
26
+ const GithubSyncPullRequest_1 = require("./GithubSyncPullRequest");
27
+ /**
28
+ * @export
29
+ */
30
+ exports.GithubSyncSyncStateEnum = {
31
+ Idle: 'idle',
32
+ Syncing: 'syncing',
33
+ WaitingLocked: 'waiting_locked',
34
+ Error: 'error',
35
+ Disconnected: 'disconnected',
36
+ };
37
+ /**
38
+ * Check if a given object implements the GithubSync interface.
39
+ */
40
+ function instanceOfGithubSync(value) {
41
+ if (!('id' in value) || value['id'] === undefined)
42
+ return false;
43
+ if ((!('bucketId' in value) && !('bucket_id' in value)) || (value['bucketId'] === undefined && value['bucket_id'] === undefined))
44
+ return false;
45
+ if ((!('installationId' in value) && !('installation_id' in value)) || (value['installationId'] === undefined && value['installation_id'] === undefined))
46
+ return false;
47
+ if ((!('repoOwner' in value) && !('repo_owner' in value)) || (value['repoOwner'] === undefined && value['repo_owner'] === undefined))
48
+ return false;
49
+ if ((!('repoName' in value) && !('repo_name' in value)) || (value['repoName'] === undefined && value['repo_name'] === undefined))
50
+ return false;
51
+ if ((!('repoFullName' in value) && !('repo_full_name' in value)) || (value['repoFullName'] === undefined && value['repo_full_name'] === undefined))
52
+ return false;
53
+ if ((!('repositoryUrl' in value) && !('repository_url' in value)) || (value['repositoryUrl'] === undefined && value['repository_url'] === undefined))
54
+ return false;
55
+ if (!('branch' in value) || value['branch'] === undefined)
56
+ return false;
57
+ if ((!('repoPath' in value) && !('repo_path' in value)) || (value['repoPath'] === undefined && value['repo_path'] === undefined))
58
+ return false;
59
+ if ((!('syncState' in value) && !('sync_state' in value)) || (value['syncState'] === undefined && value['sync_state'] === undefined))
60
+ return false;
61
+ if ((!('lastError' in value) && !('last_error' in value)) || (value['lastError'] === undefined && value['last_error'] === undefined))
62
+ return false;
63
+ if ((!('nextRetryAt' in value) && !('next_retry_at' in value)) || (value['nextRetryAt'] === undefined && value['next_retry_at'] === undefined))
64
+ return false;
65
+ if ((!('lastSyncedAt' in value) && !('last_synced_at' in value)) || (value['lastSyncedAt'] === undefined && value['last_synced_at'] === undefined))
66
+ return false;
67
+ if ((!('lastSyncedCommitSha' in value) && !('last_synced_commit_sha' in value)) || (value['lastSyncedCommitSha'] === undefined && value['last_synced_commit_sha'] === undefined))
68
+ return false;
69
+ if ((!('lastSyncedCommitMessage' in value) && !('last_synced_commit_message' in value)) || (value['lastSyncedCommitMessage'] === undefined && value['last_synced_commit_message'] === undefined))
70
+ return false;
71
+ if ((!('autoPublish' in value) && !('auto_publish' in value)) || (value['autoPublish'] === undefined && value['auto_publish'] === undefined))
72
+ return false;
73
+ if ((!('pushRevdokuEdits' in value) && !('push_revdoku_edits' in value)) || (value['pushRevdokuEdits'] === undefined && value['push_revdoku_edits'] === undefined))
74
+ return false;
75
+ if ((!('autoCommit' in value) && !('auto_commit' in value)) || (value['autoCommit'] === undefined && value['auto_commit'] === undefined))
76
+ return false;
77
+ if ((!('pendingCount' in value) && !('pending_count' in value)) || (value['pendingCount'] === undefined && value['pending_count'] === undefined))
78
+ return false;
79
+ if ((!('pendingChanges' in value) && !('pending_changes' in value)) || (value['pendingChanges'] === undefined && value['pending_changes'] === undefined))
80
+ return false;
81
+ if ((!('pullRequest' in value) && !('pull_request' in value)) || (value['pullRequest'] === undefined && value['pull_request'] === undefined))
82
+ return false;
83
+ if ((!('skippedFiles' in value) && !('skipped_files' in value)) || (value['skippedFiles'] === undefined && value['skipped_files'] === undefined))
84
+ return false;
85
+ if ((!('autoPublishError' in value) && !('auto_publish_error' in value)) || (value['autoPublishError'] === undefined && value['auto_publish_error'] === undefined))
86
+ return false;
87
+ if ((!('dashboardUrl' in value) && !('dashboard_url' in value)) || (value['dashboardUrl'] === undefined && value['dashboard_url'] === undefined))
88
+ return false;
89
+ if ((!('createdAt' in value) && !('created_at' in value)) || (value['createdAt'] === undefined && value['created_at'] === undefined))
90
+ return false;
91
+ if ((!('updatedAt' in value) && !('updated_at' in value)) || (value['updatedAt'] === undefined && value['updated_at'] === undefined))
92
+ return false;
93
+ return true;
94
+ }
95
+ function GithubSyncFromJSON(json) {
96
+ return GithubSyncFromJSONTyped(json, false);
97
+ }
98
+ function GithubSyncFromJSONTyped(json, ignoreDiscriminator) {
99
+ if (json == null) {
100
+ return json;
101
+ }
102
+ return {
103
+ 'id': json['id'],
104
+ 'bucketId': json['bucket_id'],
105
+ 'installationId': json['installation_id'],
106
+ 'repoOwner': json['repo_owner'],
107
+ 'repoName': json['repo_name'],
108
+ 'repoFullName': json['repo_full_name'],
109
+ 'repositoryUrl': json['repository_url'],
110
+ 'branch': json['branch'],
111
+ 'repoPath': json['repo_path'],
112
+ 'syncState': json['sync_state'],
113
+ 'lastError': (0, GithubSyncError_1.GithubSyncErrorFromJSON)(json['last_error']),
114
+ 'nextRetryAt': (json['next_retry_at'] == null ? null : (0, runtime_1.parseDateTime)(json['next_retry_at'])),
115
+ 'lastSyncedAt': (json['last_synced_at'] == null ? null : (0, runtime_1.parseDateTime)(json['last_synced_at'])),
116
+ 'lastSyncedCommitSha': json['last_synced_commit_sha'],
117
+ 'lastSyncedCommitMessage': json['last_synced_commit_message'],
118
+ 'autoPublish': json['auto_publish'],
119
+ 'pushRevdokuEdits': json['push_revdoku_edits'],
120
+ 'autoCommit': json['auto_commit'],
121
+ 'pendingCount': json['pending_count'],
122
+ 'pendingChanges': (json['pending_changes'].map(GithubSyncPendingChangesInner_1.GithubSyncPendingChangesInnerFromJSON)),
123
+ 'pullRequest': (0, GithubSyncPullRequest_1.GithubSyncPullRequestFromJSON)(json['pull_request']),
124
+ 'skippedFiles': (json['skipped_files'].map(GithubSyncSkippedFilesInner_1.GithubSyncSkippedFilesInnerFromJSON)),
125
+ 'autoPublishError': (0, GithubSyncError_1.GithubSyncErrorFromJSON)(json['auto_publish_error']),
126
+ 'dashboardUrl': json['dashboard_url'],
127
+ 'createdAt': (json['created_at'] == null ? json['created_at'] : (0, runtime_1.parseDateTime)(json['created_at'])),
128
+ 'updatedAt': (json['updated_at'] == null ? json['updated_at'] : (0, runtime_1.parseDateTime)(json['updated_at'])),
129
+ };
130
+ }
131
+ function GithubSyncToJSON(json) {
132
+ return GithubSyncToJSONTyped(json, false);
133
+ }
134
+ function GithubSyncToJSONTyped(value, ignoreDiscriminator = false) {
135
+ if (value == null) {
136
+ return value;
137
+ }
138
+ return {
139
+ 'id': value['id'],
140
+ 'bucket_id': value['bucketId'],
141
+ 'installation_id': value['installationId'],
142
+ 'repo_owner': value['repoOwner'],
143
+ 'repo_name': value['repoName'],
144
+ 'repo_full_name': value['repoFullName'],
145
+ 'repository_url': value['repositoryUrl'],
146
+ 'branch': value['branch'],
147
+ 'repo_path': value['repoPath'],
148
+ 'sync_state': value['syncState'],
149
+ 'last_error': (0, GithubSyncError_1.GithubSyncErrorToJSON)(value['lastError']),
150
+ 'next_retry_at': value['nextRetryAt'] == null ? value['nextRetryAt'] : (0, runtime_1.serializeDateTime)(value['nextRetryAt']),
151
+ 'last_synced_at': value['lastSyncedAt'] == null ? value['lastSyncedAt'] : (0, runtime_1.serializeDateTime)(value['lastSyncedAt']),
152
+ 'last_synced_commit_sha': value['lastSyncedCommitSha'],
153
+ 'last_synced_commit_message': value['lastSyncedCommitMessage'],
154
+ 'auto_publish': value['autoPublish'],
155
+ 'push_revdoku_edits': value['pushRevdokuEdits'],
156
+ 'auto_commit': value['autoCommit'],
157
+ 'pending_count': value['pendingCount'],
158
+ 'pending_changes': (value['pendingChanges'].map(GithubSyncPendingChangesInner_1.GithubSyncPendingChangesInnerToJSON)),
159
+ 'pull_request': (0, GithubSyncPullRequest_1.GithubSyncPullRequestToJSON)(value['pullRequest']),
160
+ 'skipped_files': (value['skippedFiles'].map(GithubSyncSkippedFilesInner_1.GithubSyncSkippedFilesInnerToJSON)),
161
+ 'auto_publish_error': (0, GithubSyncError_1.GithubSyncErrorToJSON)(value['autoPublishError']),
162
+ 'dashboard_url': value['dashboardUrl'],
163
+ 'created_at': value['createdAt'] == null ? value['createdAt'] : (0, runtime_1.serializeDateTime)(value['createdAt']),
164
+ 'updated_at': value['updatedAt'] == null ? value['updatedAt'] : (0, runtime_1.serializeDateTime)(value['updatedAt']),
165
+ };
166
+ }
@@ -0,0 +1,34 @@
1
+ /**
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.
4
+ *
5
+ * The version of the OpenAPI document: 3.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
+ * Why a sync or a publish after a sync failed: a stable code and one readable sentence.
14
+ * @export
15
+ * @interface GithubSyncError
16
+ */
17
+ export interface GithubSyncError {
18
+ /**
19
+ * For example REMOTE_BRANCH_GONE, GITHUB_REPO_ACCESS_REMOVED, GITHUB_APP_UNINSTALLED or GITHUB_SYNC_FAILED.
20
+ */
21
+ code: string;
22
+ /**
23
+ *
24
+ */
25
+ message: string;
26
+ }
27
+ /**
28
+ * Check if a given object implements the GithubSyncError interface.
29
+ */
30
+ export declare function instanceOfGithubSyncError(value: object): value is GithubSyncError;
31
+ export declare function GithubSyncErrorFromJSON(json: any): GithubSyncError;
32
+ export declare function GithubSyncErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): GithubSyncError;
33
+ export declare function GithubSyncErrorToJSON(json: any): GithubSyncError;
34
+ export declare function GithubSyncErrorToJSONTyped(value?: GithubSyncError | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
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.
7
+ *
8
+ * The version of the OpenAPI document: 3.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.instanceOfGithubSyncError = instanceOfGithubSyncError;
17
+ exports.GithubSyncErrorFromJSON = GithubSyncErrorFromJSON;
18
+ exports.GithubSyncErrorFromJSONTyped = GithubSyncErrorFromJSONTyped;
19
+ exports.GithubSyncErrorToJSON = GithubSyncErrorToJSON;
20
+ exports.GithubSyncErrorToJSONTyped = GithubSyncErrorToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GithubSyncError interface.
23
+ */
24
+ function instanceOfGithubSyncError(value) {
25
+ if (!('code' in value) || value['code'] === undefined)
26
+ return false;
27
+ if (!('message' in value) || value['message'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function GithubSyncErrorFromJSON(json) {
32
+ return GithubSyncErrorFromJSONTyped(json, false);
33
+ }
34
+ function GithubSyncErrorFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'code': json['code'],
40
+ 'message': json['message'],
41
+ };
42
+ }
43
+ function GithubSyncErrorToJSON(json) {
44
+ return GithubSyncErrorToJSONTyped(json, false);
45
+ }
46
+ function GithubSyncErrorToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'code': value['code'],
52
+ 'message': value['message'],
53
+ };
54
+ }
@@ -0,0 +1,34 @@
1
+ /**
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.
4
+ *
5
+ * The version of the OpenAPI document: 3.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 GithubSyncPendingChangesInner
16
+ */
17
+ export interface GithubSyncPendingChangesInner {
18
+ /**
19
+ *
20
+ */
21
+ path: string;
22
+ /**
23
+ * For example added, modified or deleted.
24
+ */
25
+ status: string;
26
+ }
27
+ /**
28
+ * Check if a given object implements the GithubSyncPendingChangesInner interface.
29
+ */
30
+ export declare function instanceOfGithubSyncPendingChangesInner(value: object): value is GithubSyncPendingChangesInner;
31
+ export declare function GithubSyncPendingChangesInnerFromJSON(json: any): GithubSyncPendingChangesInner;
32
+ export declare function GithubSyncPendingChangesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GithubSyncPendingChangesInner;
33
+ export declare function GithubSyncPendingChangesInnerToJSON(json: any): GithubSyncPendingChangesInner;
34
+ export declare function GithubSyncPendingChangesInnerToJSONTyped(value?: GithubSyncPendingChangesInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
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.
7
+ *
8
+ * The version of the OpenAPI document: 3.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.instanceOfGithubSyncPendingChangesInner = instanceOfGithubSyncPendingChangesInner;
17
+ exports.GithubSyncPendingChangesInnerFromJSON = GithubSyncPendingChangesInnerFromJSON;
18
+ exports.GithubSyncPendingChangesInnerFromJSONTyped = GithubSyncPendingChangesInnerFromJSONTyped;
19
+ exports.GithubSyncPendingChangesInnerToJSON = GithubSyncPendingChangesInnerToJSON;
20
+ exports.GithubSyncPendingChangesInnerToJSONTyped = GithubSyncPendingChangesInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GithubSyncPendingChangesInner interface.
23
+ */
24
+ function instanceOfGithubSyncPendingChangesInner(value) {
25
+ if (!('path' in value) || value['path'] === undefined)
26
+ return false;
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function GithubSyncPendingChangesInnerFromJSON(json) {
32
+ return GithubSyncPendingChangesInnerFromJSONTyped(json, false);
33
+ }
34
+ function GithubSyncPendingChangesInnerFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'path': json['path'],
40
+ 'status': json['status'],
41
+ };
42
+ }
43
+ function GithubSyncPendingChangesInnerToJSON(json) {
44
+ return GithubSyncPendingChangesInnerToJSONTyped(json, false);
45
+ }
46
+ function GithubSyncPendingChangesInnerToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'path': value['path'],
52
+ 'status': value['status'],
53
+ };
54
+ }
@@ -0,0 +1,38 @@
1
+ /**
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.
4
+ *
5
+ * The version of the OpenAPI document: 3.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
+ * Revdoku's open pull request with edits made in Revdoku.
14
+ * @export
15
+ * @interface GithubSyncPullRequest
16
+ */
17
+ export interface GithubSyncPullRequest {
18
+ /**
19
+ * Null until GitHub accepted the pull request.
20
+ */
21
+ number: number | null;
22
+ /**
23
+ *
24
+ */
25
+ branch: string;
26
+ /**
27
+ *
28
+ */
29
+ url: string | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GithubSyncPullRequest interface.
33
+ */
34
+ export declare function instanceOfGithubSyncPullRequest(value: object): value is GithubSyncPullRequest;
35
+ export declare function GithubSyncPullRequestFromJSON(json: any): GithubSyncPullRequest;
36
+ export declare function GithubSyncPullRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GithubSyncPullRequest;
37
+ export declare function GithubSyncPullRequestToJSON(json: any): GithubSyncPullRequest;
38
+ export declare function GithubSyncPullRequestToJSONTyped(value?: GithubSyncPullRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
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.
7
+ *
8
+ * The version of the OpenAPI document: 3.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.instanceOfGithubSyncPullRequest = instanceOfGithubSyncPullRequest;
17
+ exports.GithubSyncPullRequestFromJSON = GithubSyncPullRequestFromJSON;
18
+ exports.GithubSyncPullRequestFromJSONTyped = GithubSyncPullRequestFromJSONTyped;
19
+ exports.GithubSyncPullRequestToJSON = GithubSyncPullRequestToJSON;
20
+ exports.GithubSyncPullRequestToJSONTyped = GithubSyncPullRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GithubSyncPullRequest interface.
23
+ */
24
+ function instanceOfGithubSyncPullRequest(value) {
25
+ if (!('number' in value) || value['number'] === undefined)
26
+ return false;
27
+ if (!('branch' in value) || value['branch'] === undefined)
28
+ return false;
29
+ if (!('url' in value) || value['url'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function GithubSyncPullRequestFromJSON(json) {
34
+ return GithubSyncPullRequestFromJSONTyped(json, false);
35
+ }
36
+ function GithubSyncPullRequestFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'number': json['number'],
42
+ 'branch': json['branch'],
43
+ 'url': json['url'],
44
+ };
45
+ }
46
+ function GithubSyncPullRequestToJSON(json) {
47
+ return GithubSyncPullRequestToJSONTyped(json, false);
48
+ }
49
+ function GithubSyncPullRequestToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'number': value['number'],
55
+ 'branch': value['branch'],
56
+ 'url': value['url'],
57
+ };
58
+ }
@@ -0,0 +1,38 @@
1
+ /**
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.
4
+ *
5
+ * The version of the OpenAPI document: 3.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 GithubSyncSettings
16
+ */
17
+ export interface GithubSyncSettings {
18
+ /**
19
+ * Publish the site again after each sync.
20
+ */
21
+ autoPublish?: boolean;
22
+ /**
23
+ * False makes the files a read-only copy of the repository.
24
+ */
25
+ pushRevdokuEdits?: boolean;
26
+ /**
27
+ * True commits the edits made in Revdoku to the branch at each sync. False keeps them for a person to publish in the dashboard.
28
+ */
29
+ autoCommit?: boolean;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GithubSyncSettings interface.
33
+ */
34
+ export declare function instanceOfGithubSyncSettings(value: object): value is GithubSyncSettings;
35
+ export declare function GithubSyncSettingsFromJSON(json: any): GithubSyncSettings;
36
+ export declare function GithubSyncSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GithubSyncSettings;
37
+ export declare function GithubSyncSettingsToJSON(json: any): GithubSyncSettings;
38
+ export declare function GithubSyncSettingsToJSONTyped(value?: GithubSyncSettings | null, ignoreDiscriminator?: boolean): any;