@halo-dev/api-client 2.21.0 → 2.21.1

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 (346) hide show
  1. package/README.md +11 -11
  2. package/dist/index.d.mts +34164 -0
  3. package/dist/index.iife.js +4 -0
  4. package/dist/index.mjs +4 -0
  5. package/package.json +11 -17
  6. package/dist/entry/api-client.d.ts +0 -357
  7. package/dist/entry/index.d.ts +0 -2
  8. package/dist/halo-api-client.es.js +0 -23283
  9. package/dist/halo-api-client.es.js.map +0 -1
  10. package/dist/halo-api-client.iife.js +0 -5
  11. package/dist/halo-api-client.iife.js.map +0 -1
  12. package/dist/src/api/annotation-setting-v1alpha1-api.d.ts +0 -330
  13. package/dist/src/api/attachment-v1alpha1-api.d.ts +0 -330
  14. package/dist/src/api/attachment-v1alpha1-console-api.d.ts +0 -228
  15. package/dist/src/api/attachment-v1alpha1-uc-api.d.ts +0 -294
  16. package/dist/src/api/auth-provider-v1alpha1-api.d.ts +0 -330
  17. package/dist/src/api/auth-provider-v1alpha1-console-api.d.ts +0 -139
  18. package/dist/src/api/backup-v1alpha1-api.d.ts +0 -330
  19. package/dist/src/api/category-v1alpha1-api.d.ts +0 -330
  20. package/dist/src/api/category-v1alpha1-public-api.d.ts +0 -228
  21. package/dist/src/api/comment-v1alpha1-api.d.ts +0 -330
  22. package/dist/src/api/comment-v1alpha1-console-api.d.ts +0 -220
  23. package/dist/src/api/comment-v1alpha1-public-api.d.ts +0 -328
  24. package/dist/src/api/config-map-v1alpha1-api.d.ts +0 -330
  25. package/dist/src/api/counter-v1alpha1-api.d.ts +0 -330
  26. package/dist/src/api/default-api.d.ts +0 -54
  27. package/dist/src/api/device-v1alpha1-api.d.ts +0 -330
  28. package/dist/src/api/device-v1alpha1-uc-api.d.ts +0 -97
  29. package/dist/src/api/extension-definition-v1alpha1-api.d.ts +0 -330
  30. package/dist/src/api/extension-point-definition-v1alpha1-api.d.ts +0 -330
  31. package/dist/src/api/group-v1alpha1-api.d.ts +0 -330
  32. package/dist/src/api/index-v1alpha1-public-api.d.ts +0 -72
  33. package/dist/src/api/indices-v1alpha1-console-api.d.ts +0 -54
  34. package/dist/src/api/local-thumbnail-v1alpha1-api.d.ts +0 -330
  35. package/dist/src/api/menu-item-v1alpha1-api.d.ts +0 -330
  36. package/dist/src/api/menu-v1alpha1-api.d.ts +0 -330
  37. package/dist/src/api/menu-v1alpha1-public-api.d.ts +0 -97
  38. package/dist/src/api/metrics-v1alpha1-public-api.d.ts +0 -156
  39. package/dist/src/api/migration-v1alpha1-console-api.d.ts +0 -171
  40. package/dist/src/api/notification-template-v1alpha1-api.d.ts +0 -330
  41. package/dist/src/api/notification-v1alpha1-api.d.ts +0 -330
  42. package/dist/src/api/notification-v1alpha1-public-api.d.ts +0 -79
  43. package/dist/src/api/notification-v1alpha1-uc-api.d.ts +0 -354
  44. package/dist/src/api/notifier-descriptor-v1alpha1-api.d.ts +0 -330
  45. package/dist/src/api/notifier-v1alpha1-console-api.d.ts +0 -164
  46. package/dist/src/api/notifier-v1alpha1-uc-api.d.ts +0 -121
  47. package/dist/src/api/personal-access-token-v1alpha1-api.d.ts +0 -330
  48. package/dist/src/api/personal-access-token-v1alpha1-uc-api.d.ts +0 -265
  49. package/dist/src/api/plugin-v1alpha1-api.d.ts +0 -330
  50. package/dist/src/api/plugin-v1alpha1-console-api.d.ts +0 -672
  51. package/dist/src/api/plugin-v1alpha1-public-api.d.ts +0 -71
  52. package/dist/src/api/policy-alpha1-console-api.d.ts +0 -137
  53. package/dist/src/api/policy-template-v1alpha1-api.d.ts +0 -330
  54. package/dist/src/api/policy-v1alpha1-api.d.ts +0 -330
  55. package/dist/src/api/post-v1alpha1-api.d.ts +0 -330
  56. package/dist/src/api/post-v1alpha1-console-api.d.ts +0 -698
  57. package/dist/src/api/post-v1alpha1-public-api.d.ts +0 -188
  58. package/dist/src/api/post-v1alpha1-uc-api.d.ts +0 -498
  59. package/dist/src/api/reason-type-v1alpha1-api.d.ts +0 -330
  60. package/dist/src/api/reason-v1alpha1-api.d.ts +0 -330
  61. package/dist/src/api/remember-me-token-v1alpha1-api.d.ts +0 -330
  62. package/dist/src/api/reply-v1alpha1-api.d.ts +0 -330
  63. package/dist/src/api/reply-v1alpha1-console-api.d.ts +0 -112
  64. package/dist/src/api/reverse-proxy-v1alpha1-api.d.ts +0 -330
  65. package/dist/src/api/role-binding-v1alpha1-api.d.ts +0 -330
  66. package/dist/src/api/role-v1alpha1-api.d.ts +0 -330
  67. package/dist/src/api/secret-v1alpha1-api.d.ts +0 -330
  68. package/dist/src/api/setting-v1alpha1-api.d.ts +0 -330
  69. package/dist/src/api/single-page-v1alpha1-api.d.ts +0 -330
  70. package/dist/src/api/single-page-v1alpha1-console-api.d.ts +0 -615
  71. package/dist/src/api/single-page-v1alpha1-public-api.d.ts +0 -146
  72. package/dist/src/api/snapshot-v1alpha1-api.d.ts +0 -330
  73. package/dist/src/api/snapshot-v1alpha1-uc-api.d.ts +0 -88
  74. package/dist/src/api/subscription-v1alpha1-api.d.ts +0 -330
  75. package/dist/src/api/system-config-v1alpha1-console-api.d.ts +0 -121
  76. package/dist/src/api/system-v1alpha1-console-api.d.ts +0 -55
  77. package/dist/src/api/system-v1alpha1-public-api.d.ts +0 -80
  78. package/dist/src/api/tag-v1alpha1-api.d.ts +0 -330
  79. package/dist/src/api/tag-v1alpha1-console-api.d.ts +0 -112
  80. package/dist/src/api/tag-v1alpha1-public-api.d.ts +0 -228
  81. package/dist/src/api/theme-v1alpha1-api.d.ts +0 -330
  82. package/dist/src/api/theme-v1alpha1-console-api.d.ts +0 -598
  83. package/dist/src/api/thumbnail-v1alpha1-api.d.ts +0 -330
  84. package/dist/src/api/thumbnail-v1alpha1-public-api.d.ts +0 -79
  85. package/dist/src/api/two-factor-auth-v1alpha1-uc-api.d.ts +0 -248
  86. package/dist/src/api/user-connection-v1alpha1-api.d.ts +0 -330
  87. package/dist/src/api/user-connection-v1alpha1-uc-api.d.ts +0 -72
  88. package/dist/src/api/user-preference-v1alpha1-uc-api.d.ts +0 -121
  89. package/dist/src/api/user-v1alpha1-api.d.ts +0 -330
  90. package/dist/src/api/user-v1alpha1-console-api.d.ts +0 -715
  91. package/dist/src/api.d.ts +0 -90
  92. package/dist/src/base.d.ts +0 -55
  93. package/dist/src/common.d.ts +0 -54
  94. package/dist/src/configuration.d.ts +0 -91
  95. package/dist/src/index.d.ts +0 -14
  96. package/dist/src/models/add-operation.d.ts +0 -40
  97. package/dist/src/models/annotation-setting-list.d.ts +0 -62
  98. package/dist/src/models/annotation-setting-spec.d.ts +0 -20
  99. package/dist/src/models/annotation-setting.d.ts +0 -33
  100. package/dist/src/models/attachment-list.d.ts +0 -62
  101. package/dist/src/models/attachment-spec.d.ts +0 -60
  102. package/dist/src/models/attachment-status.d.ts +0 -32
  103. package/dist/src/models/attachment.d.ts +0 -40
  104. package/dist/src/models/auth-provider-list.d.ts +0 -62
  105. package/dist/src/models/auth-provider-spec.d.ts +0 -92
  106. package/dist/src/models/auth-provider.d.ts +0 -33
  107. package/dist/src/models/author.d.ts +0 -30
  108. package/dist/src/models/backup-file.d.ts +0 -36
  109. package/dist/src/models/backup-list.d.ts +0 -62
  110. package/dist/src/models/backup-spec.d.ts +0 -30
  111. package/dist/src/models/backup-status.d.ts +0 -67
  112. package/dist/src/models/backup.d.ts +0 -40
  113. package/dist/src/models/category-list.d.ts +0 -62
  114. package/dist/src/models/category-spec.d.ts +0 -78
  115. package/dist/src/models/category-status.d.ts +0 -36
  116. package/dist/src/models/category-vo-list.d.ts +0 -62
  117. package/dist/src/models/category-vo.d.ts +0 -34
  118. package/dist/src/models/category.d.ts +0 -40
  119. package/dist/src/models/change-own-password-request.d.ts +0 -30
  120. package/dist/src/models/change-password-request.d.ts +0 -24
  121. package/dist/src/models/comment-email-owner.d.ts +0 -42
  122. package/dist/src/models/comment-list.d.ts +0 -62
  123. package/dist/src/models/comment-owner.d.ts +0 -44
  124. package/dist/src/models/comment-request.d.ts +0 -39
  125. package/dist/src/models/comment-spec.d.ts +0 -93
  126. package/dist/src/models/comment-stats-vo.d.ts +0 -24
  127. package/dist/src/models/comment-stats.d.ts +0 -24
  128. package/dist/src/models/comment-status.d.ts +0 -54
  129. package/dist/src/models/comment-vo-list.d.ts +0 -62
  130. package/dist/src/models/comment-vo.d.ts +0 -42
  131. package/dist/src/models/comment-with-reply-vo-list.d.ts +0 -62
  132. package/dist/src/models/comment-with-reply-vo.d.ts +0 -49
  133. package/dist/src/models/comment.d.ts +0 -40
  134. package/dist/src/models/condition.d.ts +0 -54
  135. package/dist/src/models/config-map-list.d.ts +0 -62
  136. package/dist/src/models/config-map-ref.d.ts +0 -24
  137. package/dist/src/models/config-map.d.ts +0 -34
  138. package/dist/src/models/content-update-param.d.ts +0 -42
  139. package/dist/src/models/content-vo.d.ts +0 -30
  140. package/dist/src/models/content-wrapper.d.ts +0 -42
  141. package/dist/src/models/content.d.ts +0 -36
  142. package/dist/src/models/contributor-vo.d.ts +0 -44
  143. package/dist/src/models/contributor.d.ts +0 -36
  144. package/dist/src/models/copy-operation.d.ts +0 -40
  145. package/dist/src/models/counter-list.d.ts +0 -62
  146. package/dist/src/models/counter-request.d.ts +0 -60
  147. package/dist/src/models/counter.d.ts +0 -56
  148. package/dist/src/models/create-user-request.d.ts +0 -74
  149. package/dist/src/models/custom-templates.d.ts +0 -26
  150. package/dist/src/models/dashboard-stats.d.ts +0 -54
  151. package/dist/src/models/detailed-user.d.ts +0 -21
  152. package/dist/src/models/device-list.d.ts +0 -62
  153. package/dist/src/models/device-spec.d.ts +0 -60
  154. package/dist/src/models/device-status.d.ts +0 -30
  155. package/dist/src/models/device.d.ts +0 -40
  156. package/dist/src/models/email-config-validation-request.d.ts +0 -66
  157. package/dist/src/models/email-verify-request.d.ts +0 -24
  158. package/dist/src/models/excerpt.d.ts +0 -30
  159. package/dist/src/models/extension-definition-list.d.ts +0 -62
  160. package/dist/src/models/extension-definition.d.ts +0 -33
  161. package/dist/src/models/extension-point-definition-list.d.ts +0 -62
  162. package/dist/src/models/extension-point-definition.d.ts +0 -33
  163. package/dist/src/models/extension-point-spec.d.ts +0 -53
  164. package/dist/src/models/extension-spec.d.ts +0 -48
  165. package/dist/src/models/extension.d.ts +0 -26
  166. package/dist/src/models/file-reverse-proxy-provider.d.ts +0 -30
  167. package/dist/src/models/grant-request.d.ts +0 -24
  168. package/dist/src/models/group-kind.d.ts +0 -30
  169. package/dist/src/models/group-list.d.ts +0 -62
  170. package/dist/src/models/group-spec.d.ts +0 -24
  171. package/dist/src/models/group-status.d.ts +0 -30
  172. package/dist/src/models/group.d.ts +0 -40
  173. package/dist/src/models/halo-document.d.ts +0 -116
  174. package/dist/src/models/index.d.ts +0 -250
  175. package/dist/src/models/install-from-uri-request.d.ts +0 -24
  176. package/dist/src/models/interest-reason-subject.d.ts +0 -36
  177. package/dist/src/models/interest-reason.d.ts +0 -26
  178. package/dist/src/models/json-patch-inner.d.ts +0 -11
  179. package/dist/src/models/license.d.ts +0 -30
  180. package/dist/src/models/list-result-reply-vo.d.ts +0 -62
  181. package/dist/src/models/listed-auth-provider.d.ts +0 -113
  182. package/dist/src/models/listed-comment-list.d.ts +0 -62
  183. package/dist/src/models/listed-comment.d.ts +0 -35
  184. package/dist/src/models/listed-post-list.d.ts +0 -62
  185. package/dist/src/models/listed-post-vo-list.d.ts +0 -62
  186. package/dist/src/models/listed-post-vo.d.ts +0 -62
  187. package/dist/src/models/listed-post.d.ts +0 -48
  188. package/dist/src/models/listed-reply-list.d.ts +0 -62
  189. package/dist/src/models/listed-reply.d.ts +0 -28
  190. package/dist/src/models/listed-single-page-list.d.ts +0 -62
  191. package/dist/src/models/listed-single-page-vo-list.d.ts +0 -62
  192. package/dist/src/models/listed-single-page-vo.d.ts +0 -48
  193. package/dist/src/models/listed-single-page.d.ts +0 -34
  194. package/dist/src/models/listed-snapshot-dto.d.ts +0 -21
  195. package/dist/src/models/listed-snapshot-spec.d.ts +0 -30
  196. package/dist/src/models/listed-user.d.ts +0 -21
  197. package/dist/src/models/local-thumbnail-list.d.ts +0 -62
  198. package/dist/src/models/local-thumbnail-spec.d.ts +0 -61
  199. package/dist/src/models/local-thumbnail-status.d.ts +0 -30
  200. package/dist/src/models/local-thumbnail.d.ts +0 -40
  201. package/dist/src/models/login-history.d.ts +0 -48
  202. package/dist/src/models/mark-specified-request.d.ts +0 -24
  203. package/dist/src/models/menu-item-list.d.ts +0 -62
  204. package/dist/src/models/menu-item-spec.d.ts +0 -51
  205. package/dist/src/models/menu-item-status.d.ts +0 -30
  206. package/dist/src/models/menu-item-vo.d.ts +0 -40
  207. package/dist/src/models/menu-item.d.ts +0 -40
  208. package/dist/src/models/menu-list.d.ts +0 -62
  209. package/dist/src/models/menu-spec.d.ts +0 -30
  210. package/dist/src/models/menu-vo.d.ts +0 -28
  211. package/dist/src/models/menu.d.ts +0 -33
  212. package/dist/src/models/metadata.d.ts +0 -70
  213. package/dist/src/models/move-operation.d.ts +0 -40
  214. package/dist/src/models/navigation-post-vo.d.ts +0 -26
  215. package/dist/src/models/notification-list.d.ts +0 -62
  216. package/dist/src/models/notification-spec.d.ts +0 -60
  217. package/dist/src/models/notification-template-list.d.ts +0 -62
  218. package/dist/src/models/notification-template-spec.d.ts +0 -21
  219. package/dist/src/models/notification-template.d.ts +0 -33
  220. package/dist/src/models/notification.d.ts +0 -33
  221. package/dist/src/models/notifier-descriptor-list.d.ts +0 -62
  222. package/dist/src/models/notifier-descriptor-spec.d.ts +0 -38
  223. package/dist/src/models/notifier-descriptor.d.ts +0 -33
  224. package/dist/src/models/notifier-info.d.ts +0 -36
  225. package/dist/src/models/notifier-setting-ref.d.ts +0 -30
  226. package/dist/src/models/owner-info.d.ts +0 -48
  227. package/dist/src/models/password-request.d.ts +0 -24
  228. package/dist/src/models/pat-spec.d.ts +0 -78
  229. package/dist/src/models/personal-access-token-list.d.ts +0 -62
  230. package/dist/src/models/personal-access-token.d.ts +0 -33
  231. package/dist/src/models/plugin-author.d.ts +0 -30
  232. package/dist/src/models/plugin-list.d.ts +0 -62
  233. package/dist/src/models/plugin-running-state-request.d.ts +0 -30
  234. package/dist/src/models/plugin-spec.d.ts +0 -95
  235. package/dist/src/models/plugin-status.d.ts +0 -79
  236. package/dist/src/models/plugin.d.ts +0 -40
  237. package/dist/src/models/policy-list.d.ts +0 -62
  238. package/dist/src/models/policy-rule.d.ts +0 -48
  239. package/dist/src/models/policy-spec.d.ts +0 -36
  240. package/dist/src/models/policy-template-list.d.ts +0 -62
  241. package/dist/src/models/policy-template-spec.d.ts +0 -30
  242. package/dist/src/models/policy-template.d.ts +0 -33
  243. package/dist/src/models/policy.d.ts +0 -33
  244. package/dist/src/models/post-list.d.ts +0 -62
  245. package/dist/src/models/post-request.d.ts +0 -21
  246. package/dist/src/models/post-spec.d.ts +0 -130
  247. package/dist/src/models/post-status.d.ts +0 -68
  248. package/dist/src/models/post-vo.d.ts +0 -69
  249. package/dist/src/models/post.d.ts +0 -40
  250. package/dist/src/models/reason-attributes.d.ts +0 -24
  251. package/dist/src/models/reason-list.d.ts +0 -62
  252. package/dist/src/models/reason-property.d.ts +0 -42
  253. package/dist/src/models/reason-selector.d.ts +0 -30
  254. package/dist/src/models/reason-spec.d.ts +0 -33
  255. package/dist/src/models/reason-subject.d.ts +0 -48
  256. package/dist/src/models/reason-type-info.d.ts +0 -42
  257. package/dist/src/models/reason-type-list.d.ts +0 -62
  258. package/dist/src/models/reason-type-notifier-collection-request.d.ts +0 -14
  259. package/dist/src/models/reason-type-notifier-matrix.d.ts +0 -27
  260. package/dist/src/models/reason-type-notifier-request.d.ts +0 -30
  261. package/dist/src/models/reason-type-spec.d.ts +0 -26
  262. package/dist/src/models/reason-type.d.ts +0 -33
  263. package/dist/src/models/reason.d.ts +0 -33
  264. package/dist/src/models/ref.d.ts +0 -42
  265. package/dist/src/models/remember-me-token-list.d.ts +0 -62
  266. package/dist/src/models/remember-me-token-spec.d.ts +0 -42
  267. package/dist/src/models/remember-me-token.d.ts +0 -33
  268. package/dist/src/models/remove-operation.d.ts +0 -34
  269. package/dist/src/models/replace-operation.d.ts +0 -40
  270. package/dist/src/models/reply-list.d.ts +0 -62
  271. package/dist/src/models/reply-request.d.ts +0 -38
  272. package/dist/src/models/reply-spec.d.ts +0 -92
  273. package/dist/src/models/reply-status.d.ts +0 -24
  274. package/dist/src/models/reply-vo-list.d.ts +0 -62
  275. package/dist/src/models/reply-vo.d.ts +0 -35
  276. package/dist/src/models/reply.d.ts +0 -40
  277. package/dist/src/models/reverse-proxy-list.d.ts +0 -62
  278. package/dist/src/models/reverse-proxy-rule.d.ts +0 -20
  279. package/dist/src/models/reverse-proxy.d.ts +0 -33
  280. package/dist/src/models/revert-snapshot-for-post-param.d.ts +0 -24
  281. package/dist/src/models/revert-snapshot-for-single-param.d.ts +0 -24
  282. package/dist/src/models/role-binding-list.d.ts +0 -62
  283. package/dist/src/models/role-binding.d.ts +0 -40
  284. package/dist/src/models/role-list.d.ts +0 -62
  285. package/dist/src/models/role-ref.d.ts +0 -36
  286. package/dist/src/models/role.d.ts +0 -33
  287. package/dist/src/models/search-option.d.ts +0 -92
  288. package/dist/src/models/search-result.d.ts +0 -38
  289. package/dist/src/models/secret-list.d.ts +0 -62
  290. package/dist/src/models/secret.d.ts +0 -48
  291. package/dist/src/models/setting-form.d.ts +0 -36
  292. package/dist/src/models/setting-list.d.ts +0 -62
  293. package/dist/src/models/setting-ref.d.ts +0 -30
  294. package/dist/src/models/setting-spec.d.ts +0 -14
  295. package/dist/src/models/setting.d.ts +0 -33
  296. package/dist/src/models/single-page-list.d.ts +0 -62
  297. package/dist/src/models/single-page-request.d.ts +0 -21
  298. package/dist/src/models/single-page-spec.d.ts +0 -118
  299. package/dist/src/models/single-page-status.d.ts +0 -68
  300. package/dist/src/models/single-page-vo.d.ts +0 -55
  301. package/dist/src/models/single-page.d.ts +0 -40
  302. package/dist/src/models/site-stats-vo.d.ts +0 -48
  303. package/dist/src/models/snap-shot-spec.d.ts +0 -56
  304. package/dist/src/models/snapshot-list.d.ts +0 -62
  305. package/dist/src/models/snapshot.d.ts +0 -33
  306. package/dist/src/models/stats-vo.d.ts +0 -36
  307. package/dist/src/models/stats.d.ts +0 -42
  308. package/dist/src/models/subject.d.ts +0 -36
  309. package/dist/src/models/subscription-list.d.ts +0 -62
  310. package/dist/src/models/subscription-spec.d.ts +0 -33
  311. package/dist/src/models/subscription-subscriber.d.ts +0 -24
  312. package/dist/src/models/subscription.d.ts +0 -33
  313. package/dist/src/models/tag-list.d.ts +0 -62
  314. package/dist/src/models/tag-spec.d.ts +0 -42
  315. package/dist/src/models/tag-status.d.ts +0 -42
  316. package/dist/src/models/tag-vo-list.d.ts +0 -62
  317. package/dist/src/models/tag-vo.d.ts +0 -34
  318. package/dist/src/models/tag.d.ts +0 -40
  319. package/dist/src/models/template-content.d.ts +0 -36
  320. package/dist/src/models/template-descriptor.d.ts +0 -42
  321. package/dist/src/models/test-operation.d.ts +0 -40
  322. package/dist/src/models/theme-list.d.ts +0 -62
  323. package/dist/src/models/theme-spec.d.ts +0 -88
  324. package/dist/src/models/theme-status.d.ts +0 -32
  325. package/dist/src/models/theme.d.ts +0 -40
  326. package/dist/src/models/thumbnail-list.d.ts +0 -62
  327. package/dist/src/models/thumbnail-spec.d.ts +0 -49
  328. package/dist/src/models/thumbnail.d.ts +0 -33
  329. package/dist/src/models/totp-auth-link-response.d.ts +0 -30
  330. package/dist/src/models/totp-request.d.ts +0 -36
  331. package/dist/src/models/two-factor-auth-settings.d.ts +0 -42
  332. package/dist/src/models/uc-upload-request-form-data.d.ts +0 -33
  333. package/dist/src/models/upgrade-from-uri-request.d.ts +0 -24
  334. package/dist/src/models/upload-from-url-request.d.ts +0 -30
  335. package/dist/src/models/user-connection-list.d.ts +0 -62
  336. package/dist/src/models/user-connection-spec.d.ts +0 -42
  337. package/dist/src/models/user-connection.d.ts +0 -33
  338. package/dist/src/models/user-device.d.ts +0 -26
  339. package/dist/src/models/user-endpoint-listed-user-list.d.ts +0 -62
  340. package/dist/src/models/user-list.d.ts +0 -62
  341. package/dist/src/models/user-permission.d.ts +0 -26
  342. package/dist/src/models/user-spec.d.ts +0 -90
  343. package/dist/src/models/user-status.d.ts +0 -26
  344. package/dist/src/models/user.d.ts +0 -40
  345. package/dist/src/models/verify-code-request.d.ts +0 -30
  346. package/dist/src/models/vote-request.d.ts +0 -36
@@ -1,188 +0,0 @@
1
- import { Configuration } from '../configuration';
2
- import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
- import { RequestArgs, BaseAPI } from '../base';
4
- import { ListedPostVoList, NavigationPostVo, PostVo } from '../models';
5
- /**
6
- * PostV1alpha1PublicApi - axios parameter creator
7
- * @export
8
- */
9
- export declare const PostV1alpha1PublicApiAxiosParamCreator: (configuration?: Configuration) => {
10
- /**
11
- * Gets a post by name.
12
- * @param {string} name Post name
13
- * @param {*} [options] Override http request option.
14
- * @throws {RequiredError}
15
- */
16
- queryPostByName: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17
- /**
18
- * Gets a post navigation by name.
19
- * @param {string} name Post name
20
- * @param {*} [options] Override http request option.
21
- * @throws {RequiredError}
22
- */
23
- queryPostNavigationByName: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24
- /**
25
- * Lists posts.
26
- * @param {number} [page] Page number. Default is 0.
27
- * @param {number} [size] Size number. Default is 0.
28
- * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
29
- * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
30
- * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
31
- * @param {*} [options] Override http request option.
32
- * @throws {RequiredError}
33
- */
34
- queryPosts: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35
- };
36
- /**
37
- * PostV1alpha1PublicApi - functional programming interface
38
- * @export
39
- */
40
- export declare const PostV1alpha1PublicApiFp: (configuration?: Configuration) => {
41
- /**
42
- * Gets a post by name.
43
- * @param {string} name Post name
44
- * @param {*} [options] Override http request option.
45
- * @throws {RequiredError}
46
- */
47
- queryPostByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostVo>>;
48
- /**
49
- * Gets a post navigation by name.
50
- * @param {string} name Post name
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- queryPostNavigationByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NavigationPostVo>>;
55
- /**
56
- * Lists posts.
57
- * @param {number} [page] Page number. Default is 0.
58
- * @param {number} [size] Size number. Default is 0.
59
- * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
60
- * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
61
- * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
62
- * @param {*} [options] Override http request option.
63
- * @throws {RequiredError}
64
- */
65
- queryPosts(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostVoList>>;
66
- };
67
- /**
68
- * PostV1alpha1PublicApi - factory interface
69
- * @export
70
- */
71
- export declare const PostV1alpha1PublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
72
- /**
73
- * Gets a post by name.
74
- * @param {PostV1alpha1PublicApiQueryPostByNameRequest} requestParameters Request parameters.
75
- * @param {*} [options] Override http request option.
76
- * @throws {RequiredError}
77
- */
78
- queryPostByName(requestParameters: PostV1alpha1PublicApiQueryPostByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostVo>;
79
- /**
80
- * Gets a post navigation by name.
81
- * @param {PostV1alpha1PublicApiQueryPostNavigationByNameRequest} requestParameters Request parameters.
82
- * @param {*} [options] Override http request option.
83
- * @throws {RequiredError}
84
- */
85
- queryPostNavigationByName(requestParameters: PostV1alpha1PublicApiQueryPostNavigationByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<NavigationPostVo>;
86
- /**
87
- * Lists posts.
88
- * @param {PostV1alpha1PublicApiQueryPostsRequest} requestParameters Request parameters.
89
- * @param {*} [options] Override http request option.
90
- * @throws {RequiredError}
91
- */
92
- queryPosts(requestParameters?: PostV1alpha1PublicApiQueryPostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListedPostVoList>;
93
- };
94
- /**
95
- * Request parameters for queryPostByName operation in PostV1alpha1PublicApi.
96
- * @export
97
- * @interface PostV1alpha1PublicApiQueryPostByNameRequest
98
- */
99
- export interface PostV1alpha1PublicApiQueryPostByNameRequest {
100
- /**
101
- * Post name
102
- * @type {string}
103
- * @memberof PostV1alpha1PublicApiQueryPostByName
104
- */
105
- readonly name: string;
106
- }
107
- /**
108
- * Request parameters for queryPostNavigationByName operation in PostV1alpha1PublicApi.
109
- * @export
110
- * @interface PostV1alpha1PublicApiQueryPostNavigationByNameRequest
111
- */
112
- export interface PostV1alpha1PublicApiQueryPostNavigationByNameRequest {
113
- /**
114
- * Post name
115
- * @type {string}
116
- * @memberof PostV1alpha1PublicApiQueryPostNavigationByName
117
- */
118
- readonly name: string;
119
- }
120
- /**
121
- * Request parameters for queryPosts operation in PostV1alpha1PublicApi.
122
- * @export
123
- * @interface PostV1alpha1PublicApiQueryPostsRequest
124
- */
125
- export interface PostV1alpha1PublicApiQueryPostsRequest {
126
- /**
127
- * Page number. Default is 0.
128
- * @type {number}
129
- * @memberof PostV1alpha1PublicApiQueryPosts
130
- */
131
- readonly page?: number;
132
- /**
133
- * Size number. Default is 0.
134
- * @type {number}
135
- * @memberof PostV1alpha1PublicApiQueryPosts
136
- */
137
- readonly size?: number;
138
- /**
139
- * Label selector. e.g.: hidden!&#x3D;true
140
- * @type {Array<string>}
141
- * @memberof PostV1alpha1PublicApiQueryPosts
142
- */
143
- readonly labelSelector?: Array<string>;
144
- /**
145
- * Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
146
- * @type {Array<string>}
147
- * @memberof PostV1alpha1PublicApiQueryPosts
148
- */
149
- readonly fieldSelector?: Array<string>;
150
- /**
151
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
152
- * @type {Array<string>}
153
- * @memberof PostV1alpha1PublicApiQueryPosts
154
- */
155
- readonly sort?: Array<string>;
156
- }
157
- /**
158
- * PostV1alpha1PublicApi - object-oriented interface
159
- * @export
160
- * @class PostV1alpha1PublicApi
161
- * @extends {BaseAPI}
162
- */
163
- export declare class PostV1alpha1PublicApi extends BaseAPI {
164
- /**
165
- * Gets a post by name.
166
- * @param {PostV1alpha1PublicApiQueryPostByNameRequest} requestParameters Request parameters.
167
- * @param {*} [options] Override http request option.
168
- * @throws {RequiredError}
169
- * @memberof PostV1alpha1PublicApi
170
- */
171
- queryPostByName(requestParameters: PostV1alpha1PublicApiQueryPostByNameRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<PostVo, any>>;
172
- /**
173
- * Gets a post navigation by name.
174
- * @param {PostV1alpha1PublicApiQueryPostNavigationByNameRequest} requestParameters Request parameters.
175
- * @param {*} [options] Override http request option.
176
- * @throws {RequiredError}
177
- * @memberof PostV1alpha1PublicApi
178
- */
179
- queryPostNavigationByName(requestParameters: PostV1alpha1PublicApiQueryPostNavigationByNameRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<NavigationPostVo, any>>;
180
- /**
181
- * Lists posts.
182
- * @param {PostV1alpha1PublicApiQueryPostsRequest} requestParameters Request parameters.
183
- * @param {*} [options] Override http request option.
184
- * @throws {RequiredError}
185
- * @memberof PostV1alpha1PublicApi
186
- */
187
- queryPosts(requestParameters?: PostV1alpha1PublicApiQueryPostsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ListedPostVoList, any>>;
188
- }
@@ -1,498 +0,0 @@
1
- import { Configuration } from '../configuration';
2
- import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
- import { RequestArgs, BaseAPI } from '../base';
4
- import { ListedPostList, Post, Snapshot } from '../models';
5
- /**
6
- * PostV1alpha1UcApi - axios parameter creator
7
- * @export
8
- */
9
- export declare const PostV1alpha1UcApiAxiosParamCreator: (configuration?: Configuration) => {
10
- /**
11
- * Create my post. If you want to create a post with content, please set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
12
- * @param {Post} [post]
13
- * @param {*} [options] Override http request option.
14
- * @throws {RequiredError}
15
- */
16
- createMyPost: (post?: Post, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17
- /**
18
- * Get post that belongs to the current user.
19
- * @param {string} name Post name
20
- * @param {*} [options] Override http request option.
21
- * @throws {RequiredError}
22
- */
23
- getMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24
- /**
25
- * Get my post draft.
26
- * @param {string} name Post name
27
- * @param {boolean} [patched] Should include patched content and raw or not.
28
- * @param {*} [options] Override http request option.
29
- * @throws {RequiredError}
30
- */
31
- getMyPostDraft: (name: string, patched?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
- /**
33
- * List posts owned by the current user.
34
- * @param {number} [page] Page number. Default is 0.
35
- * @param {number} [size] Size number. Default is 0.
36
- * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
37
- * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
38
- * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
39
- * @param {ListMyPostsPublishPhaseEnum} [publishPhase] Posts filtered by publish phase.
40
- * @param {string} [keyword] Posts filtered by keyword.
41
- * @param {string} [categoryWithChildren] Posts filtered by category including sub-categories.
42
- * @param {*} [options] Override http request option.
43
- * @throws {RequiredError}
44
- */
45
- listMyPosts: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, publishPhase?: ListMyPostsPublishPhaseEnum, keyword?: string, categoryWithChildren?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
- /**
47
- * Publish my post.
48
- * @param {string} name Post name
49
- * @param {*} [options] Override http request option.
50
- * @throws {RequiredError}
51
- */
52
- publishMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
- /**
54
- * Move my post to recycle bin.
55
- * @param {string} name Post name
56
- * @param {*} [options] Override http request option.
57
- * @throws {RequiredError}
58
- */
59
- recycleMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
- /**
61
- * Unpublish my post.
62
- * @param {string} name Post name
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- unpublishMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67
- /**
68
- * Update my post.
69
- * @param {string} name Post name
70
- * @param {Post} [post]
71
- * @param {*} [options] Override http request option.
72
- * @throws {RequiredError}
73
- */
74
- updateMyPost: (name: string, post?: Post, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
75
- /**
76
- * Update draft of my post. Please make sure set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
77
- * @param {string} name Post name
78
- * @param {Snapshot} [snapshot]
79
- * @param {*} [options] Override http request option.
80
- * @throws {RequiredError}
81
- */
82
- updateMyPostDraft: (name: string, snapshot?: Snapshot, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
83
- };
84
- /**
85
- * PostV1alpha1UcApi - functional programming interface
86
- * @export
87
- */
88
- export declare const PostV1alpha1UcApiFp: (configuration?: Configuration) => {
89
- /**
90
- * Create my post. If you want to create a post with content, please set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
91
- * @param {Post} [post]
92
- * @param {*} [options] Override http request option.
93
- * @throws {RequiredError}
94
- */
95
- createMyPost(post?: Post, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
96
- /**
97
- * Get post that belongs to the current user.
98
- * @param {string} name Post name
99
- * @param {*} [options] Override http request option.
100
- * @throws {RequiredError}
101
- */
102
- getMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
103
- /**
104
- * Get my post draft.
105
- * @param {string} name Post name
106
- * @param {boolean} [patched] Should include patched content and raw or not.
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- getMyPostDraft(name: string, patched?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Snapshot>>;
111
- /**
112
- * List posts owned by the current user.
113
- * @param {number} [page] Page number. Default is 0.
114
- * @param {number} [size] Size number. Default is 0.
115
- * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
116
- * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
117
- * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
118
- * @param {ListMyPostsPublishPhaseEnum} [publishPhase] Posts filtered by publish phase.
119
- * @param {string} [keyword] Posts filtered by keyword.
120
- * @param {string} [categoryWithChildren] Posts filtered by category including sub-categories.
121
- * @param {*} [options] Override http request option.
122
- * @throws {RequiredError}
123
- */
124
- listMyPosts(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, publishPhase?: ListMyPostsPublishPhaseEnum, keyword?: string, categoryWithChildren?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostList>>;
125
- /**
126
- * Publish my post.
127
- * @param {string} name Post name
128
- * @param {*} [options] Override http request option.
129
- * @throws {RequiredError}
130
- */
131
- publishMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
132
- /**
133
- * Move my post to recycle bin.
134
- * @param {string} name Post name
135
- * @param {*} [options] Override http request option.
136
- * @throws {RequiredError}
137
- */
138
- recycleMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
139
- /**
140
- * Unpublish my post.
141
- * @param {string} name Post name
142
- * @param {*} [options] Override http request option.
143
- * @throws {RequiredError}
144
- */
145
- unpublishMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
146
- /**
147
- * Update my post.
148
- * @param {string} name Post name
149
- * @param {Post} [post]
150
- * @param {*} [options] Override http request option.
151
- * @throws {RequiredError}
152
- */
153
- updateMyPost(name: string, post?: Post, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
154
- /**
155
- * Update draft of my post. Please make sure set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
156
- * @param {string} name Post name
157
- * @param {Snapshot} [snapshot]
158
- * @param {*} [options] Override http request option.
159
- * @throws {RequiredError}
160
- */
161
- updateMyPostDraft(name: string, snapshot?: Snapshot, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Snapshot>>;
162
- };
163
- /**
164
- * PostV1alpha1UcApi - factory interface
165
- * @export
166
- */
167
- export declare const PostV1alpha1UcApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
168
- /**
169
- * Create my post. If you want to create a post with content, please set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
170
- * @param {PostV1alpha1UcApiCreateMyPostRequest} requestParameters Request parameters.
171
- * @param {*} [options] Override http request option.
172
- * @throws {RequiredError}
173
- */
174
- createMyPost(requestParameters?: PostV1alpha1UcApiCreateMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
175
- /**
176
- * Get post that belongs to the current user.
177
- * @param {PostV1alpha1UcApiGetMyPostRequest} requestParameters Request parameters.
178
- * @param {*} [options] Override http request option.
179
- * @throws {RequiredError}
180
- */
181
- getMyPost(requestParameters: PostV1alpha1UcApiGetMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
182
- /**
183
- * Get my post draft.
184
- * @param {PostV1alpha1UcApiGetMyPostDraftRequest} requestParameters Request parameters.
185
- * @param {*} [options] Override http request option.
186
- * @throws {RequiredError}
187
- */
188
- getMyPostDraft(requestParameters: PostV1alpha1UcApiGetMyPostDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<Snapshot>;
189
- /**
190
- * List posts owned by the current user.
191
- * @param {PostV1alpha1UcApiListMyPostsRequest} requestParameters Request parameters.
192
- * @param {*} [options] Override http request option.
193
- * @throws {RequiredError}
194
- */
195
- listMyPosts(requestParameters?: PostV1alpha1UcApiListMyPostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListedPostList>;
196
- /**
197
- * Publish my post.
198
- * @param {PostV1alpha1UcApiPublishMyPostRequest} requestParameters Request parameters.
199
- * @param {*} [options] Override http request option.
200
- * @throws {RequiredError}
201
- */
202
- publishMyPost(requestParameters: PostV1alpha1UcApiPublishMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
203
- /**
204
- * Move my post to recycle bin.
205
- * @param {PostV1alpha1UcApiRecycleMyPostRequest} requestParameters Request parameters.
206
- * @param {*} [options] Override http request option.
207
- * @throws {RequiredError}
208
- */
209
- recycleMyPost(requestParameters: PostV1alpha1UcApiRecycleMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
210
- /**
211
- * Unpublish my post.
212
- * @param {PostV1alpha1UcApiUnpublishMyPostRequest} requestParameters Request parameters.
213
- * @param {*} [options] Override http request option.
214
- * @throws {RequiredError}
215
- */
216
- unpublishMyPost(requestParameters: PostV1alpha1UcApiUnpublishMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
217
- /**
218
- * Update my post.
219
- * @param {PostV1alpha1UcApiUpdateMyPostRequest} requestParameters Request parameters.
220
- * @param {*} [options] Override http request option.
221
- * @throws {RequiredError}
222
- */
223
- updateMyPost(requestParameters: PostV1alpha1UcApiUpdateMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
224
- /**
225
- * Update draft of my post. Please make sure set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
226
- * @param {PostV1alpha1UcApiUpdateMyPostDraftRequest} requestParameters Request parameters.
227
- * @param {*} [options] Override http request option.
228
- * @throws {RequiredError}
229
- */
230
- updateMyPostDraft(requestParameters: PostV1alpha1UcApiUpdateMyPostDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<Snapshot>;
231
- };
232
- /**
233
- * Request parameters for createMyPost operation in PostV1alpha1UcApi.
234
- * @export
235
- * @interface PostV1alpha1UcApiCreateMyPostRequest
236
- */
237
- export interface PostV1alpha1UcApiCreateMyPostRequest {
238
- /**
239
- *
240
- * @type {Post}
241
- * @memberof PostV1alpha1UcApiCreateMyPost
242
- */
243
- readonly post?: Post;
244
- }
245
- /**
246
- * Request parameters for getMyPost operation in PostV1alpha1UcApi.
247
- * @export
248
- * @interface PostV1alpha1UcApiGetMyPostRequest
249
- */
250
- export interface PostV1alpha1UcApiGetMyPostRequest {
251
- /**
252
- * Post name
253
- * @type {string}
254
- * @memberof PostV1alpha1UcApiGetMyPost
255
- */
256
- readonly name: string;
257
- }
258
- /**
259
- * Request parameters for getMyPostDraft operation in PostV1alpha1UcApi.
260
- * @export
261
- * @interface PostV1alpha1UcApiGetMyPostDraftRequest
262
- */
263
- export interface PostV1alpha1UcApiGetMyPostDraftRequest {
264
- /**
265
- * Post name
266
- * @type {string}
267
- * @memberof PostV1alpha1UcApiGetMyPostDraft
268
- */
269
- readonly name: string;
270
- /**
271
- * Should include patched content and raw or not.
272
- * @type {boolean}
273
- * @memberof PostV1alpha1UcApiGetMyPostDraft
274
- */
275
- readonly patched?: boolean;
276
- }
277
- /**
278
- * Request parameters for listMyPosts operation in PostV1alpha1UcApi.
279
- * @export
280
- * @interface PostV1alpha1UcApiListMyPostsRequest
281
- */
282
- export interface PostV1alpha1UcApiListMyPostsRequest {
283
- /**
284
- * Page number. Default is 0.
285
- * @type {number}
286
- * @memberof PostV1alpha1UcApiListMyPosts
287
- */
288
- readonly page?: number;
289
- /**
290
- * Size number. Default is 0.
291
- * @type {number}
292
- * @memberof PostV1alpha1UcApiListMyPosts
293
- */
294
- readonly size?: number;
295
- /**
296
- * Label selector. e.g.: hidden!&#x3D;true
297
- * @type {Array<string>}
298
- * @memberof PostV1alpha1UcApiListMyPosts
299
- */
300
- readonly labelSelector?: Array<string>;
301
- /**
302
- * Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
303
- * @type {Array<string>}
304
- * @memberof PostV1alpha1UcApiListMyPosts
305
- */
306
- readonly fieldSelector?: Array<string>;
307
- /**
308
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
309
- * @type {Array<string>}
310
- * @memberof PostV1alpha1UcApiListMyPosts
311
- */
312
- readonly sort?: Array<string>;
313
- /**
314
- * Posts filtered by publish phase.
315
- * @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
316
- * @memberof PostV1alpha1UcApiListMyPosts
317
- */
318
- readonly publishPhase?: ListMyPostsPublishPhaseEnum;
319
- /**
320
- * Posts filtered by keyword.
321
- * @type {string}
322
- * @memberof PostV1alpha1UcApiListMyPosts
323
- */
324
- readonly keyword?: string;
325
- /**
326
- * Posts filtered by category including sub-categories.
327
- * @type {string}
328
- * @memberof PostV1alpha1UcApiListMyPosts
329
- */
330
- readonly categoryWithChildren?: string;
331
- }
332
- /**
333
- * Request parameters for publishMyPost operation in PostV1alpha1UcApi.
334
- * @export
335
- * @interface PostV1alpha1UcApiPublishMyPostRequest
336
- */
337
- export interface PostV1alpha1UcApiPublishMyPostRequest {
338
- /**
339
- * Post name
340
- * @type {string}
341
- * @memberof PostV1alpha1UcApiPublishMyPost
342
- */
343
- readonly name: string;
344
- }
345
- /**
346
- * Request parameters for recycleMyPost operation in PostV1alpha1UcApi.
347
- * @export
348
- * @interface PostV1alpha1UcApiRecycleMyPostRequest
349
- */
350
- export interface PostV1alpha1UcApiRecycleMyPostRequest {
351
- /**
352
- * Post name
353
- * @type {string}
354
- * @memberof PostV1alpha1UcApiRecycleMyPost
355
- */
356
- readonly name: string;
357
- }
358
- /**
359
- * Request parameters for unpublishMyPost operation in PostV1alpha1UcApi.
360
- * @export
361
- * @interface PostV1alpha1UcApiUnpublishMyPostRequest
362
- */
363
- export interface PostV1alpha1UcApiUnpublishMyPostRequest {
364
- /**
365
- * Post name
366
- * @type {string}
367
- * @memberof PostV1alpha1UcApiUnpublishMyPost
368
- */
369
- readonly name: string;
370
- }
371
- /**
372
- * Request parameters for updateMyPost operation in PostV1alpha1UcApi.
373
- * @export
374
- * @interface PostV1alpha1UcApiUpdateMyPostRequest
375
- */
376
- export interface PostV1alpha1UcApiUpdateMyPostRequest {
377
- /**
378
- * Post name
379
- * @type {string}
380
- * @memberof PostV1alpha1UcApiUpdateMyPost
381
- */
382
- readonly name: string;
383
- /**
384
- *
385
- * @type {Post}
386
- * @memberof PostV1alpha1UcApiUpdateMyPost
387
- */
388
- readonly post?: Post;
389
- }
390
- /**
391
- * Request parameters for updateMyPostDraft operation in PostV1alpha1UcApi.
392
- * @export
393
- * @interface PostV1alpha1UcApiUpdateMyPostDraftRequest
394
- */
395
- export interface PostV1alpha1UcApiUpdateMyPostDraftRequest {
396
- /**
397
- * Post name
398
- * @type {string}
399
- * @memberof PostV1alpha1UcApiUpdateMyPostDraft
400
- */
401
- readonly name: string;
402
- /**
403
- *
404
- * @type {Snapshot}
405
- * @memberof PostV1alpha1UcApiUpdateMyPostDraft
406
- */
407
- readonly snapshot?: Snapshot;
408
- }
409
- /**
410
- * PostV1alpha1UcApi - object-oriented interface
411
- * @export
412
- * @class PostV1alpha1UcApi
413
- * @extends {BaseAPI}
414
- */
415
- export declare class PostV1alpha1UcApi extends BaseAPI {
416
- /**
417
- * Create my post. If you want to create a post with content, please set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
418
- * @param {PostV1alpha1UcApiCreateMyPostRequest} requestParameters Request parameters.
419
- * @param {*} [options] Override http request option.
420
- * @throws {RequiredError}
421
- * @memberof PostV1alpha1UcApi
422
- */
423
- createMyPost(requestParameters?: PostV1alpha1UcApiCreateMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
424
- /**
425
- * Get post that belongs to the current user.
426
- * @param {PostV1alpha1UcApiGetMyPostRequest} requestParameters Request parameters.
427
- * @param {*} [options] Override http request option.
428
- * @throws {RequiredError}
429
- * @memberof PostV1alpha1UcApi
430
- */
431
- getMyPost(requestParameters: PostV1alpha1UcApiGetMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
432
- /**
433
- * Get my post draft.
434
- * @param {PostV1alpha1UcApiGetMyPostDraftRequest} requestParameters Request parameters.
435
- * @param {*} [options] Override http request option.
436
- * @throws {RequiredError}
437
- * @memberof PostV1alpha1UcApi
438
- */
439
- getMyPostDraft(requestParameters: PostV1alpha1UcApiGetMyPostDraftRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Snapshot, any>>;
440
- /**
441
- * List posts owned by the current user.
442
- * @param {PostV1alpha1UcApiListMyPostsRequest} requestParameters Request parameters.
443
- * @param {*} [options] Override http request option.
444
- * @throws {RequiredError}
445
- * @memberof PostV1alpha1UcApi
446
- */
447
- listMyPosts(requestParameters?: PostV1alpha1UcApiListMyPostsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ListedPostList, any>>;
448
- /**
449
- * Publish my post.
450
- * @param {PostV1alpha1UcApiPublishMyPostRequest} requestParameters Request parameters.
451
- * @param {*} [options] Override http request option.
452
- * @throws {RequiredError}
453
- * @memberof PostV1alpha1UcApi
454
- */
455
- publishMyPost(requestParameters: PostV1alpha1UcApiPublishMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
456
- /**
457
- * Move my post to recycle bin.
458
- * @param {PostV1alpha1UcApiRecycleMyPostRequest} requestParameters Request parameters.
459
- * @param {*} [options] Override http request option.
460
- * @throws {RequiredError}
461
- * @memberof PostV1alpha1UcApi
462
- */
463
- recycleMyPost(requestParameters: PostV1alpha1UcApiRecycleMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
464
- /**
465
- * Unpublish my post.
466
- * @param {PostV1alpha1UcApiUnpublishMyPostRequest} requestParameters Request parameters.
467
- * @param {*} [options] Override http request option.
468
- * @throws {RequiredError}
469
- * @memberof PostV1alpha1UcApi
470
- */
471
- unpublishMyPost(requestParameters: PostV1alpha1UcApiUnpublishMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
472
- /**
473
- * Update my post.
474
- * @param {PostV1alpha1UcApiUpdateMyPostRequest} requestParameters Request parameters.
475
- * @param {*} [options] Override http request option.
476
- * @throws {RequiredError}
477
- * @memberof PostV1alpha1UcApi
478
- */
479
- updateMyPost(requestParameters: PostV1alpha1UcApiUpdateMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
480
- /**
481
- * Update draft of my post. Please make sure set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
482
- * @param {PostV1alpha1UcApiUpdateMyPostDraftRequest} requestParameters Request parameters.
483
- * @param {*} [options] Override http request option.
484
- * @throws {RequiredError}
485
- * @memberof PostV1alpha1UcApi
486
- */
487
- updateMyPostDraft(requestParameters: PostV1alpha1UcApiUpdateMyPostDraftRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Snapshot, any>>;
488
- }
489
- /**
490
- * @export
491
- */
492
- export declare const ListMyPostsPublishPhaseEnum: {
493
- readonly Draft: "DRAFT";
494
- readonly PendingApproval: "PENDING_APPROVAL";
495
- readonly Published: "PUBLISHED";
496
- readonly Failed: "FAILED";
497
- };
498
- export type ListMyPostsPublishPhaseEnum = typeof ListMyPostsPublishPhaseEnum[keyof typeof ListMyPostsPublishPhaseEnum];