@halo-dev/api-client 2.15.0 → 2.17.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 (340) hide show
  1. package/README.md +56 -11
  2. package/dist/entry/api-client.d.ts +348 -0
  3. package/dist/entry/index.d.ts +2 -0
  4. package/dist/halo-api-client.es.js +20971 -0
  5. package/dist/halo-api-client.es.js.map +1 -0
  6. package/dist/halo-api-client.iife.js +2 -0
  7. package/dist/halo-api-client.iife.js.map +1 -0
  8. package/dist/src/api/annotation-setting-v1alpha1-api.d.ts +331 -0
  9. package/dist/src/api/api-notification-halo-run-v1alpha1-subscription-api.d.ts +80 -0
  10. package/dist/src/api/attachment-v1alpha1-api.d.ts +331 -0
  11. package/dist/src/api/attachment-v1alpha1-console-api.d.ts +187 -0
  12. package/dist/src/api/attachment-v1alpha1-uc-api.d.ts +97 -0
  13. package/dist/src/api/auth-provider-v1alpha1-api.d.ts +331 -0
  14. package/dist/src/api/auth-provider-v1alpha1-console-api.d.ts +140 -0
  15. package/dist/src/api/backup-v1alpha1-api.d.ts +331 -0
  16. package/dist/src/api/category-v1alpha1-api.d.ts +331 -0
  17. package/dist/src/api/category-v1alpha1-public-api.d.ts +229 -0
  18. package/dist/src/api/comment-v1alpha1-api.d.ts +331 -0
  19. package/dist/src/api/comment-v1alpha1-console-api.d.ts +221 -0
  20. package/dist/src/api/comment-v1alpha1-public-api.d.ts +329 -0
  21. package/dist/src/api/config-map-v1alpha1-api.d.ts +331 -0
  22. package/dist/src/api/counter-v1alpha1-api.d.ts +331 -0
  23. package/dist/src/api/device-v1alpha1-api.d.ts +331 -0
  24. package/dist/src/api/device-v1alpha1-uc-api.d.ts +98 -0
  25. package/dist/src/api/extension-definition-v1alpha1-api.d.ts +331 -0
  26. package/dist/src/api/extension-point-definition-v1alpha1-api.d.ts +331 -0
  27. package/dist/src/api/group-v1alpha1-api.d.ts +331 -0
  28. package/dist/src/api/index-v1alpha1-public-api.d.ts +143 -0
  29. package/dist/src/api/indices-v1alpha1-console-api.d.ts +84 -0
  30. package/dist/src/api/login-api.d.ts +56 -0
  31. package/dist/src/api/menu-item-v1alpha1-api.d.ts +331 -0
  32. package/dist/src/api/menu-v1alpha1-api.d.ts +331 -0
  33. package/dist/src/api/menu-v1alpha1-public-api.d.ts +98 -0
  34. package/dist/src/api/metrics-v1alpha1-public-api.d.ts +157 -0
  35. package/dist/src/api/migration-v1alpha1-console-api.d.ts +138 -0
  36. package/dist/src/api/notification-template-v1alpha1-api.d.ts +331 -0
  37. package/dist/src/api/notification-v1alpha1-api.d.ts +331 -0
  38. package/dist/src/api/notification-v1alpha1-uc-api.d.ts +363 -0
  39. package/dist/src/api/notifier-descriptor-v1alpha1-api.d.ts +331 -0
  40. package/dist/src/api/notifier-v1alpha1-console-api.d.ts +165 -0
  41. package/dist/src/api/notifier-v1alpha1-uc-api.d.ts +122 -0
  42. package/dist/src/api/personal-access-token-v1alpha1-api.d.ts +331 -0
  43. package/dist/src/api/personal-access-token-v1alpha1-uc-api.d.ts +266 -0
  44. package/dist/src/api/plugin-v1alpha1-api.d.ts +331 -0
  45. package/dist/src/api/plugin-v1alpha1-console-api.d.ts +698 -0
  46. package/dist/src/api/plugin-v1alpha1-public-api.d.ts +72 -0
  47. package/dist/src/api/policy-template-v1alpha1-api.d.ts +331 -0
  48. package/dist/src/api/policy-v1alpha1-api.d.ts +331 -0
  49. package/dist/src/api/post-v1alpha1-api.d.ts +331 -0
  50. package/dist/src/api/post-v1alpha1-console-api.d.ts +699 -0
  51. package/dist/src/api/post-v1alpha1-public-api.d.ts +189 -0
  52. package/dist/src/api/post-v1alpha1-uc-api.d.ts +457 -0
  53. package/dist/src/api/reason-type-v1alpha1-api.d.ts +331 -0
  54. package/dist/src/api/reason-v1alpha1-api.d.ts +331 -0
  55. package/dist/src/api/remember-me-token-v1alpha1-api.d.ts +331 -0
  56. package/dist/src/api/reply-v1alpha1-api.d.ts +331 -0
  57. package/dist/src/api/reply-v1alpha1-console-api.d.ts +113 -0
  58. package/dist/src/api/reverse-proxy-v1alpha1-api.d.ts +331 -0
  59. package/dist/src/api/role-binding-v1alpha1-api.d.ts +331 -0
  60. package/dist/src/api/role-v1alpha1-api.d.ts +331 -0
  61. package/dist/src/api/search-engine-v1alpha1-api.d.ts +331 -0
  62. package/dist/src/api/secret-v1alpha1-api.d.ts +331 -0
  63. package/dist/src/api/setting-v1alpha1-api.d.ts +331 -0
  64. package/dist/src/api/single-page-v1alpha1-api.d.ts +331 -0
  65. package/dist/src/api/single-page-v1alpha1-console-api.d.ts +616 -0
  66. package/dist/src/api/single-page-v1alpha1-public-api.d.ts +147 -0
  67. package/dist/src/api/snapshot-v1alpha1-api.d.ts +331 -0
  68. package/dist/src/api/snapshot-v1alpha1-uc-api.d.ts +89 -0
  69. package/dist/src/api/subscription-v1alpha1-api.d.ts +331 -0
  70. package/dist/src/api/system-v1alpha1-console-api.d.ts +98 -0
  71. package/dist/src/api/system-v1alpha1-public-api.d.ts +56 -0
  72. package/dist/src/api/tag-v1alpha1-api.d.ts +331 -0
  73. package/dist/src/api/tag-v1alpha1-console-api.d.ts +113 -0
  74. package/dist/src/api/tag-v1alpha1-public-api.d.ts +229 -0
  75. package/dist/src/api/theme-v1alpha1-api.d.ts +331 -0
  76. package/dist/src/api/theme-v1alpha1-console-api.d.ts +599 -0
  77. package/dist/src/api/two-factor-auth-v1alpha1-uc-api.d.ts +249 -0
  78. package/dist/src/api/user-connection-v1alpha1-api.d.ts +331 -0
  79. package/dist/src/api/user-v1alpha1-api.d.ts +331 -0
  80. package/dist/src/api/user-v1alpha1-console-api.d.ts +632 -0
  81. package/dist/src/api/user-v1alpha1-public-api.d.ts +207 -0
  82. package/dist/src/api.d.ts +85 -0
  83. package/dist/src/base.d.ts +56 -0
  84. package/dist/src/common.d.ts +55 -0
  85. package/dist/src/configuration.d.ts +91 -0
  86. package/dist/src/index.d.ts +14 -0
  87. package/dist/src/models/add-operation.d.ts +40 -0
  88. package/dist/src/models/annotation-setting-list.d.ts +63 -0
  89. package/dist/src/models/annotation-setting-spec.d.ts +21 -0
  90. package/dist/src/models/annotation-setting.d.ts +34 -0
  91. package/dist/src/models/attachment-list.d.ts +63 -0
  92. package/dist/src/models/attachment-spec.d.ts +60 -0
  93. package/dist/src/models/attachment-status.d.ts +24 -0
  94. package/dist/src/models/attachment.d.ts +41 -0
  95. package/dist/src/models/auth-provider-list.d.ts +63 -0
  96. package/dist/src/models/auth-provider-spec.d.ts +76 -0
  97. package/dist/src/models/auth-provider.d.ts +34 -0
  98. package/dist/src/models/author.d.ts +30 -0
  99. package/dist/src/models/backup-list.d.ts +63 -0
  100. package/dist/src/models/backup-spec.d.ts +30 -0
  101. package/dist/src/models/backup-status.d.ts +67 -0
  102. package/dist/src/models/backup.d.ts +41 -0
  103. package/dist/src/models/category-list.d.ts +63 -0
  104. package/dist/src/models/category-spec.d.ts +78 -0
  105. package/dist/src/models/category-status.d.ts +36 -0
  106. package/dist/src/models/category-vo-list.d.ts +63 -0
  107. package/dist/src/models/category-vo.d.ts +35 -0
  108. package/dist/src/models/category.d.ts +41 -0
  109. package/dist/src/models/change-own-password-request.d.ts +30 -0
  110. package/dist/src/models/change-password-request.d.ts +24 -0
  111. package/dist/src/models/comment-email-owner.d.ts +42 -0
  112. package/dist/src/models/comment-list.d.ts +63 -0
  113. package/dist/src/models/comment-owner.d.ts +44 -0
  114. package/dist/src/models/comment-request.d.ts +40 -0
  115. package/dist/src/models/comment-spec.d.ts +94 -0
  116. package/dist/src/models/comment-stats-vo.d.ts +24 -0
  117. package/dist/src/models/comment-stats.d.ts +24 -0
  118. package/dist/src/models/comment-status.d.ts +54 -0
  119. package/dist/src/models/comment-vo-list.d.ts +63 -0
  120. package/dist/src/models/comment-vo.d.ts +43 -0
  121. package/dist/src/models/comment-with-reply-vo-list.d.ts +63 -0
  122. package/dist/src/models/comment-with-reply-vo.d.ts +50 -0
  123. package/dist/src/models/comment.d.ts +41 -0
  124. package/dist/src/models/condition.d.ts +54 -0
  125. package/dist/src/models/config-map-list.d.ts +63 -0
  126. package/dist/src/models/config-map-ref.d.ts +24 -0
  127. package/dist/src/models/config-map.d.ts +35 -0
  128. package/dist/src/models/content-update-param.d.ts +42 -0
  129. package/dist/src/models/content-vo.d.ts +30 -0
  130. package/dist/src/models/content-wrapper.d.ts +42 -0
  131. package/dist/src/models/content.d.ts +36 -0
  132. package/dist/src/models/contributor-vo.d.ts +45 -0
  133. package/dist/src/models/contributor.d.ts +36 -0
  134. package/dist/src/models/copy-operation.d.ts +40 -0
  135. package/dist/src/models/counter-list.d.ts +63 -0
  136. package/dist/src/models/counter-request.d.ts +60 -0
  137. package/dist/src/models/counter.d.ts +57 -0
  138. package/dist/src/models/create-user-request.d.ts +74 -0
  139. package/dist/src/models/custom-templates.d.ts +27 -0
  140. package/dist/src/models/dashboard-stats.d.ts +54 -0
  141. package/dist/src/models/detailed-user.d.ts +22 -0
  142. package/dist/src/models/device-list.d.ts +63 -0
  143. package/dist/src/models/device-spec.d.ts +60 -0
  144. package/dist/src/models/device-status.d.ts +30 -0
  145. package/dist/src/models/device.d.ts +41 -0
  146. package/dist/src/models/email-config-validation-request.d.ts +66 -0
  147. package/dist/src/models/email-verify-request.d.ts +24 -0
  148. package/dist/src/models/excerpt.d.ts +30 -0
  149. package/dist/src/models/extension-definition-list.d.ts +63 -0
  150. package/dist/src/models/extension-definition.d.ts +34 -0
  151. package/dist/src/models/extension-point-definition-list.d.ts +63 -0
  152. package/dist/src/models/extension-point-definition.d.ts +34 -0
  153. package/dist/src/models/extension-point-spec.d.ts +53 -0
  154. package/dist/src/models/extension-spec.d.ts +48 -0
  155. package/dist/src/models/extension.d.ts +27 -0
  156. package/dist/src/models/file-reverse-proxy-provider.d.ts +30 -0
  157. package/dist/src/models/grant-request.d.ts +24 -0
  158. package/dist/src/models/group-kind.d.ts +30 -0
  159. package/dist/src/models/group-list.d.ts +63 -0
  160. package/dist/src/models/group-spec.d.ts +24 -0
  161. package/dist/src/models/group-status.d.ts +30 -0
  162. package/dist/src/models/group.d.ts +41 -0
  163. package/dist/src/models/halo-document.d.ts +116 -0
  164. package/dist/src/models/index.d.ts +249 -0
  165. package/dist/src/models/install-from-uri-request.d.ts +24 -0
  166. package/dist/src/models/interest-reason-subject.d.ts +36 -0
  167. package/dist/src/models/interest-reason.d.ts +27 -0
  168. package/dist/src/models/json-patch-inner.d.ts +12 -0
  169. package/dist/src/models/license.d.ts +30 -0
  170. package/dist/src/models/list-result-reply-vo.d.ts +63 -0
  171. package/dist/src/models/listed-auth-provider.d.ts +96 -0
  172. package/dist/src/models/listed-comment-list.d.ts +63 -0
  173. package/dist/src/models/listed-comment.d.ts +36 -0
  174. package/dist/src/models/listed-post-list.d.ts +63 -0
  175. package/dist/src/models/listed-post-vo-list.d.ts +63 -0
  176. package/dist/src/models/listed-post-vo.d.ts +63 -0
  177. package/dist/src/models/listed-post.d.ts +49 -0
  178. package/dist/src/models/listed-reply-list.d.ts +63 -0
  179. package/dist/src/models/listed-reply.d.ts +29 -0
  180. package/dist/src/models/listed-single-page-list.d.ts +63 -0
  181. package/dist/src/models/listed-single-page-vo-list.d.ts +63 -0
  182. package/dist/src/models/listed-single-page-vo.d.ts +49 -0
  183. package/dist/src/models/listed-single-page.d.ts +35 -0
  184. package/dist/src/models/listed-snapshot-dto.d.ts +22 -0
  185. package/dist/src/models/listed-snapshot-spec.d.ts +30 -0
  186. package/dist/src/models/listed-user.d.ts +22 -0
  187. package/dist/src/models/login-history.d.ts +48 -0
  188. package/dist/src/models/mark-specified-request.d.ts +24 -0
  189. package/dist/src/models/menu-item-list.d.ts +63 -0
  190. package/dist/src/models/menu-item-spec.d.ts +52 -0
  191. package/dist/src/models/menu-item-status.d.ts +30 -0
  192. package/dist/src/models/menu-item-vo.d.ts +41 -0
  193. package/dist/src/models/menu-item.d.ts +41 -0
  194. package/dist/src/models/menu-list.d.ts +63 -0
  195. package/dist/src/models/menu-spec.d.ts +30 -0
  196. package/dist/src/models/menu-vo.d.ts +29 -0
  197. package/dist/src/models/menu.d.ts +34 -0
  198. package/dist/src/models/metadata.d.ts +70 -0
  199. package/dist/src/models/move-operation.d.ts +40 -0
  200. package/dist/src/models/navigation-post-vo.d.ts +27 -0
  201. package/dist/src/models/notification-list.d.ts +63 -0
  202. package/dist/src/models/notification-spec.d.ts +60 -0
  203. package/dist/src/models/notification-template-list.d.ts +63 -0
  204. package/dist/src/models/notification-template-spec.d.ts +22 -0
  205. package/dist/src/models/notification-template.d.ts +34 -0
  206. package/dist/src/models/notification.d.ts +34 -0
  207. package/dist/src/models/notifier-descriptor-list.d.ts +63 -0
  208. package/dist/src/models/notifier-descriptor-spec.d.ts +39 -0
  209. package/dist/src/models/notifier-descriptor.d.ts +34 -0
  210. package/dist/src/models/notifier-info.d.ts +36 -0
  211. package/dist/src/models/notifier-setting-ref.d.ts +30 -0
  212. package/dist/src/models/owner-info.d.ts +48 -0
  213. package/dist/src/models/password-request.d.ts +24 -0
  214. package/dist/src/models/password-reset-email-request.d.ts +30 -0
  215. package/dist/src/models/pat-spec.d.ts +78 -0
  216. package/dist/src/models/personal-access-token-list.d.ts +63 -0
  217. package/dist/src/models/personal-access-token.d.ts +34 -0
  218. package/dist/src/models/plugin-author.d.ts +30 -0
  219. package/dist/src/models/plugin-list.d.ts +63 -0
  220. package/dist/src/models/plugin-running-state-request.d.ts +30 -0
  221. package/dist/src/models/plugin-spec.d.ts +103 -0
  222. package/dist/src/models/plugin-status.d.ts +80 -0
  223. package/dist/src/models/plugin.d.ts +41 -0
  224. package/dist/src/models/policy-list.d.ts +63 -0
  225. package/dist/src/models/policy-rule.d.ts +48 -0
  226. package/dist/src/models/policy-spec.d.ts +36 -0
  227. package/dist/src/models/policy-template-list.d.ts +63 -0
  228. package/dist/src/models/policy-template-spec.d.ts +30 -0
  229. package/dist/src/models/policy-template.d.ts +34 -0
  230. package/dist/src/models/policy.d.ts +34 -0
  231. package/dist/src/models/post-list.d.ts +63 -0
  232. package/dist/src/models/post-request.d.ts +22 -0
  233. package/dist/src/models/post-spec.d.ts +131 -0
  234. package/dist/src/models/post-status.d.ts +69 -0
  235. package/dist/src/models/post-vo.d.ts +70 -0
  236. package/dist/src/models/post.d.ts +41 -0
  237. package/dist/src/models/public-key-response.d.ts +24 -0
  238. package/dist/src/models/reason-list.d.ts +63 -0
  239. package/dist/src/models/reason-property.d.ts +42 -0
  240. package/dist/src/models/reason-selector.d.ts +30 -0
  241. package/dist/src/models/reason-spec-attributes.d.ts +24 -0
  242. package/dist/src/models/reason-spec.d.ts +34 -0
  243. package/dist/src/models/reason-subject.d.ts +48 -0
  244. package/dist/src/models/reason-type-info.d.ts +42 -0
  245. package/dist/src/models/reason-type-list.d.ts +63 -0
  246. package/dist/src/models/reason-type-notifier-collection-request.d.ts +15 -0
  247. package/dist/src/models/reason-type-notifier-matrix.d.ts +28 -0
  248. package/dist/src/models/reason-type-notifier-request.d.ts +30 -0
  249. package/dist/src/models/reason-type-spec.d.ts +27 -0
  250. package/dist/src/models/reason-type.d.ts +34 -0
  251. package/dist/src/models/reason.d.ts +34 -0
  252. package/dist/src/models/ref.d.ts +42 -0
  253. package/dist/src/models/register-verify-email-request.d.ts +24 -0
  254. package/dist/src/models/remember-me-token-list.d.ts +63 -0
  255. package/dist/src/models/remember-me-token-spec.d.ts +42 -0
  256. package/dist/src/models/remember-me-token.d.ts +34 -0
  257. package/dist/src/models/remove-operation.d.ts +34 -0
  258. package/dist/src/models/replace-operation.d.ts +40 -0
  259. package/dist/src/models/reply-list.d.ts +63 -0
  260. package/dist/src/models/reply-request.d.ts +39 -0
  261. package/dist/src/models/reply-spec.d.ts +93 -0
  262. package/dist/src/models/reply-status.d.ts +24 -0
  263. package/dist/src/models/reply-vo-list.d.ts +63 -0
  264. package/dist/src/models/reply-vo.d.ts +36 -0
  265. package/dist/src/models/reply.d.ts +41 -0
  266. package/dist/src/models/reset-password-request.d.ts +30 -0
  267. package/dist/src/models/reverse-proxy-list.d.ts +63 -0
  268. package/dist/src/models/reverse-proxy-rule.d.ts +21 -0
  269. package/dist/src/models/reverse-proxy.d.ts +34 -0
  270. package/dist/src/models/revert-snapshot-for-post-param.d.ts +24 -0
  271. package/dist/src/models/revert-snapshot-for-single-param.d.ts +24 -0
  272. package/dist/src/models/role-binding-list.d.ts +63 -0
  273. package/dist/src/models/role-binding.d.ts +41 -0
  274. package/dist/src/models/role-list.d.ts +63 -0
  275. package/dist/src/models/role-ref.d.ts +36 -0
  276. package/dist/src/models/role.d.ts +34 -0
  277. package/dist/src/models/search-engine-list.d.ts +63 -0
  278. package/dist/src/models/search-engine-spec.d.ts +45 -0
  279. package/dist/src/models/search-engine.d.ts +34 -0
  280. package/dist/src/models/search-option.d.ts +92 -0
  281. package/dist/src/models/search-result.d.ts +39 -0
  282. package/dist/src/models/secret-list.d.ts +63 -0
  283. package/dist/src/models/secret.d.ts +49 -0
  284. package/dist/src/models/setting-form.d.ts +36 -0
  285. package/dist/src/models/setting-list.d.ts +63 -0
  286. package/dist/src/models/setting-ref.d.ts +30 -0
  287. package/dist/src/models/setting-spec.d.ts +15 -0
  288. package/dist/src/models/setting.d.ts +34 -0
  289. package/dist/src/models/sign-up-request.d.ts +27 -0
  290. package/dist/src/models/single-page-list.d.ts +63 -0
  291. package/dist/src/models/single-page-request.d.ts +22 -0
  292. package/dist/src/models/single-page-spec.d.ts +119 -0
  293. package/dist/src/models/single-page-status.d.ts +69 -0
  294. package/dist/src/models/single-page-vo.d.ts +56 -0
  295. package/dist/src/models/single-page.d.ts +41 -0
  296. package/dist/src/models/site-stats-vo.d.ts +48 -0
  297. package/dist/src/models/snap-shot-spec.d.ts +57 -0
  298. package/dist/src/models/snapshot-list.d.ts +63 -0
  299. package/dist/src/models/snapshot.d.ts +34 -0
  300. package/dist/src/models/stats-vo.d.ts +36 -0
  301. package/dist/src/models/stats.d.ts +42 -0
  302. package/dist/src/models/subject.d.ts +36 -0
  303. package/dist/src/models/subscription-list.d.ts +63 -0
  304. package/dist/src/models/subscription-spec.d.ts +34 -0
  305. package/dist/src/models/subscription-subscriber.d.ts +24 -0
  306. package/dist/src/models/subscription.d.ts +34 -0
  307. package/dist/src/models/system-initialization-request.d.ts +42 -0
  308. package/dist/src/models/tag-list.d.ts +63 -0
  309. package/dist/src/models/tag-spec.d.ts +42 -0
  310. package/dist/src/models/tag-status.d.ts +42 -0
  311. package/dist/src/models/tag-vo-list.d.ts +63 -0
  312. package/dist/src/models/tag-vo.d.ts +35 -0
  313. package/dist/src/models/tag.d.ts +41 -0
  314. package/dist/src/models/template-content.d.ts +36 -0
  315. package/dist/src/models/template-descriptor.d.ts +42 -0
  316. package/dist/src/models/test-operation.d.ts +40 -0
  317. package/dist/src/models/theme-list.d.ts +63 -0
  318. package/dist/src/models/theme-spec.d.ts +103 -0
  319. package/dist/src/models/theme-status.d.ts +33 -0
  320. package/dist/src/models/theme.d.ts +41 -0
  321. package/dist/src/models/totp-auth-link-response.d.ts +30 -0
  322. package/dist/src/models/totp-request.d.ts +36 -0
  323. package/dist/src/models/two-factor-auth-settings.d.ts +42 -0
  324. package/dist/src/models/upgrade-from-uri-request.d.ts +24 -0
  325. package/dist/src/models/user-connection-list.d.ts +63 -0
  326. package/dist/src/models/user-connection-spec.d.ts +78 -0
  327. package/dist/src/models/user-connection.d.ts +34 -0
  328. package/dist/src/models/user-device.d.ts +27 -0
  329. package/dist/src/models/user-endpoint-listed-user-list.d.ts +63 -0
  330. package/dist/src/models/user-list.d.ts +63 -0
  331. package/dist/src/models/user-permission.d.ts +27 -0
  332. package/dist/src/models/user-spec.d.ts +90 -0
  333. package/dist/src/models/user-status.d.ts +27 -0
  334. package/dist/src/models/user.d.ts +41 -0
  335. package/dist/src/models/verify-code-request.d.ts +30 -0
  336. package/dist/src/models/vote-request.d.ts +36 -0
  337. package/package.json +28 -30
  338. package/dist/index.cjs +0 -13742
  339. package/dist/index.d.ts +0 -30491
  340. package/dist/index.mjs +0 -13423
@@ -0,0 +1,363 @@
1
+ import { Configuration } from '../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../base';
4
+ import { MarkSpecifiedRequest, Notification, NotificationList, ReasonTypeNotifierCollectionRequest, ReasonTypeNotifierMatrix } from '../models';
5
+
6
+ /**
7
+ * NotificationV1alpha1UcApi - axios parameter creator
8
+ * @export
9
+ */
10
+ export declare const NotificationV1alpha1UcApiAxiosParamCreator: (configuration?: Configuration) => {
11
+ /**
12
+ * Delete the specified notification.
13
+ * @param {string} username Username
14
+ * @param {string} name Notification name
15
+ * @param {*} [options] Override http request option.
16
+ * @throws {RequiredError}
17
+ */
18
+ deleteSpecifiedNotification: (username: string, name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19
+ /**
20
+ * List notification preferences for the authenticated user.
21
+ * @param {string} username Username
22
+ * @param {*} [options] Override http request option.
23
+ * @throws {RequiredError}
24
+ */
25
+ listUserNotificationPreferences: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26
+ /**
27
+ * List notifications for the authenticated user.
28
+ * @param {string} username Username
29
+ * @param {number} [page] Page number. Default is 0.
30
+ * @param {number} [size] Size number. Default is 0.
31
+ * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
32
+ * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
33
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
34
+ * @param {string} [keyword] Keyword
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ listUserNotifications: (username: string, page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
+ /**
40
+ * Mark the specified notification as read.
41
+ * @param {string} username Username
42
+ * @param {string} name Notification name
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ markNotificationAsRead: (username: string, name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
47
+ /**
48
+ * Mark the specified notifications as read.
49
+ * @param {string} username Username
50
+ * @param {MarkSpecifiedRequest} markSpecifiedRequest
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ markNotificationsAsRead: (username: string, markSpecifiedRequest: MarkSpecifiedRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ * Save notification preferences for the authenticated user.
57
+ * @param {string} username Username
58
+ * @param {ReasonTypeNotifierCollectionRequest} [reasonTypeNotifierCollectionRequest]
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ saveUserNotificationPreferences: (username: string, reasonTypeNotifierCollectionRequest?: ReasonTypeNotifierCollectionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
+ };
64
+ /**
65
+ * NotificationV1alpha1UcApi - functional programming interface
66
+ * @export
67
+ */
68
+ export declare const NotificationV1alpha1UcApiFp: (configuration?: Configuration) => {
69
+ /**
70
+ * Delete the specified notification.
71
+ * @param {string} username Username
72
+ * @param {string} name Notification name
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ deleteSpecifiedNotification(username: string, name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
77
+ /**
78
+ * List notification preferences for the authenticated user.
79
+ * @param {string} username Username
80
+ * @param {*} [options] Override http request option.
81
+ * @throws {RequiredError}
82
+ */
83
+ listUserNotificationPreferences(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReasonTypeNotifierMatrix>>;
84
+ /**
85
+ * List notifications for the authenticated user.
86
+ * @param {string} username Username
87
+ * @param {number} [page] Page number. Default is 0.
88
+ * @param {number} [size] Size number. Default is 0.
89
+ * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
90
+ * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
91
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
92
+ * @param {string} [keyword] Keyword
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ listUserNotifications(username: string, page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationList>>;
97
+ /**
98
+ * Mark the specified notification as read.
99
+ * @param {string} username Username
100
+ * @param {string} name Notification name
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ markNotificationAsRead(username: string, name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
105
+ /**
106
+ * Mark the specified notifications as read.
107
+ * @param {string} username Username
108
+ * @param {MarkSpecifiedRequest} markSpecifiedRequest
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ markNotificationsAsRead(username: string, markSpecifiedRequest: MarkSpecifiedRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
113
+ /**
114
+ * Save notification preferences for the authenticated user.
115
+ * @param {string} username Username
116
+ * @param {ReasonTypeNotifierCollectionRequest} [reasonTypeNotifierCollectionRequest]
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ saveUserNotificationPreferences(username: string, reasonTypeNotifierCollectionRequest?: ReasonTypeNotifierCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReasonTypeNotifierMatrix>>;
121
+ };
122
+ /**
123
+ * NotificationV1alpha1UcApi - factory interface
124
+ * @export
125
+ */
126
+ export declare const NotificationV1alpha1UcApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
127
+ /**
128
+ * Delete the specified notification.
129
+ * @param {NotificationV1alpha1UcApiDeleteSpecifiedNotificationRequest} requestParameters Request parameters.
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ deleteSpecifiedNotification(requestParameters: NotificationV1alpha1UcApiDeleteSpecifiedNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Notification>;
134
+ /**
135
+ * List notification preferences for the authenticated user.
136
+ * @param {NotificationV1alpha1UcApiListUserNotificationPreferencesRequest} requestParameters Request parameters.
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ listUserNotificationPreferences(requestParameters: NotificationV1alpha1UcApiListUserNotificationPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReasonTypeNotifierMatrix>;
141
+ /**
142
+ * List notifications for the authenticated user.
143
+ * @param {NotificationV1alpha1UcApiListUserNotificationsRequest} requestParameters Request parameters.
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ listUserNotifications(requestParameters: NotificationV1alpha1UcApiListUserNotificationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<NotificationList>;
148
+ /**
149
+ * Mark the specified notification as read.
150
+ * @param {NotificationV1alpha1UcApiMarkNotificationAsReadRequest} requestParameters Request parameters.
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ markNotificationAsRead(requestParameters: NotificationV1alpha1UcApiMarkNotificationAsReadRequest, options?: RawAxiosRequestConfig): AxiosPromise<Notification>;
155
+ /**
156
+ * Mark the specified notifications as read.
157
+ * @param {NotificationV1alpha1UcApiMarkNotificationsAsReadRequest} requestParameters Request parameters.
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ markNotificationsAsRead(requestParameters: NotificationV1alpha1UcApiMarkNotificationsAsReadRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
162
+ /**
163
+ * Save notification preferences for the authenticated user.
164
+ * @param {NotificationV1alpha1UcApiSaveUserNotificationPreferencesRequest} requestParameters Request parameters.
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ saveUserNotificationPreferences(requestParameters: NotificationV1alpha1UcApiSaveUserNotificationPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReasonTypeNotifierMatrix>;
169
+ };
170
+ /**
171
+ * Request parameters for deleteSpecifiedNotification operation in NotificationV1alpha1UcApi.
172
+ * @export
173
+ * @interface NotificationV1alpha1UcApiDeleteSpecifiedNotificationRequest
174
+ */
175
+ export interface NotificationV1alpha1UcApiDeleteSpecifiedNotificationRequest {
176
+ /**
177
+ * Username
178
+ * @type {string}
179
+ * @memberof NotificationV1alpha1UcApiDeleteSpecifiedNotification
180
+ */
181
+ readonly username: string;
182
+ /**
183
+ * Notification name
184
+ * @type {string}
185
+ * @memberof NotificationV1alpha1UcApiDeleteSpecifiedNotification
186
+ */
187
+ readonly name: string;
188
+ }
189
+ /**
190
+ * Request parameters for listUserNotificationPreferences operation in NotificationV1alpha1UcApi.
191
+ * @export
192
+ * @interface NotificationV1alpha1UcApiListUserNotificationPreferencesRequest
193
+ */
194
+ export interface NotificationV1alpha1UcApiListUserNotificationPreferencesRequest {
195
+ /**
196
+ * Username
197
+ * @type {string}
198
+ * @memberof NotificationV1alpha1UcApiListUserNotificationPreferences
199
+ */
200
+ readonly username: string;
201
+ }
202
+ /**
203
+ * Request parameters for listUserNotifications operation in NotificationV1alpha1UcApi.
204
+ * @export
205
+ * @interface NotificationV1alpha1UcApiListUserNotificationsRequest
206
+ */
207
+ export interface NotificationV1alpha1UcApiListUserNotificationsRequest {
208
+ /**
209
+ * Username
210
+ * @type {string}
211
+ * @memberof NotificationV1alpha1UcApiListUserNotifications
212
+ */
213
+ readonly username: string;
214
+ /**
215
+ * Page number. Default is 0.
216
+ * @type {number}
217
+ * @memberof NotificationV1alpha1UcApiListUserNotifications
218
+ */
219
+ readonly page?: number;
220
+ /**
221
+ * Size number. Default is 0.
222
+ * @type {number}
223
+ * @memberof NotificationV1alpha1UcApiListUserNotifications
224
+ */
225
+ readonly size?: number;
226
+ /**
227
+ * Label selector. e.g.: hidden!&#x3D;true
228
+ * @type {Array<string>}
229
+ * @memberof NotificationV1alpha1UcApiListUserNotifications
230
+ */
231
+ readonly labelSelector?: Array<string>;
232
+ /**
233
+ * Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
234
+ * @type {Array<string>}
235
+ * @memberof NotificationV1alpha1UcApiListUserNotifications
236
+ */
237
+ readonly fieldSelector?: Array<string>;
238
+ /**
239
+ * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
240
+ * @type {Array<string>}
241
+ * @memberof NotificationV1alpha1UcApiListUserNotifications
242
+ */
243
+ readonly sort?: Array<string>;
244
+ /**
245
+ * Keyword
246
+ * @type {string}
247
+ * @memberof NotificationV1alpha1UcApiListUserNotifications
248
+ */
249
+ readonly keyword?: string;
250
+ }
251
+ /**
252
+ * Request parameters for markNotificationAsRead operation in NotificationV1alpha1UcApi.
253
+ * @export
254
+ * @interface NotificationV1alpha1UcApiMarkNotificationAsReadRequest
255
+ */
256
+ export interface NotificationV1alpha1UcApiMarkNotificationAsReadRequest {
257
+ /**
258
+ * Username
259
+ * @type {string}
260
+ * @memberof NotificationV1alpha1UcApiMarkNotificationAsRead
261
+ */
262
+ readonly username: string;
263
+ /**
264
+ * Notification name
265
+ * @type {string}
266
+ * @memberof NotificationV1alpha1UcApiMarkNotificationAsRead
267
+ */
268
+ readonly name: string;
269
+ }
270
+ /**
271
+ * Request parameters for markNotificationsAsRead operation in NotificationV1alpha1UcApi.
272
+ * @export
273
+ * @interface NotificationV1alpha1UcApiMarkNotificationsAsReadRequest
274
+ */
275
+ export interface NotificationV1alpha1UcApiMarkNotificationsAsReadRequest {
276
+ /**
277
+ * Username
278
+ * @type {string}
279
+ * @memberof NotificationV1alpha1UcApiMarkNotificationsAsRead
280
+ */
281
+ readonly username: string;
282
+ /**
283
+ *
284
+ * @type {MarkSpecifiedRequest}
285
+ * @memberof NotificationV1alpha1UcApiMarkNotificationsAsRead
286
+ */
287
+ readonly markSpecifiedRequest: MarkSpecifiedRequest;
288
+ }
289
+ /**
290
+ * Request parameters for saveUserNotificationPreferences operation in NotificationV1alpha1UcApi.
291
+ * @export
292
+ * @interface NotificationV1alpha1UcApiSaveUserNotificationPreferencesRequest
293
+ */
294
+ export interface NotificationV1alpha1UcApiSaveUserNotificationPreferencesRequest {
295
+ /**
296
+ * Username
297
+ * @type {string}
298
+ * @memberof NotificationV1alpha1UcApiSaveUserNotificationPreferences
299
+ */
300
+ readonly username: string;
301
+ /**
302
+ *
303
+ * @type {ReasonTypeNotifierCollectionRequest}
304
+ * @memberof NotificationV1alpha1UcApiSaveUserNotificationPreferences
305
+ */
306
+ readonly reasonTypeNotifierCollectionRequest?: ReasonTypeNotifierCollectionRequest;
307
+ }
308
+ /**
309
+ * NotificationV1alpha1UcApi - object-oriented interface
310
+ * @export
311
+ * @class NotificationV1alpha1UcApi
312
+ * @extends {BaseAPI}
313
+ */
314
+ export declare class NotificationV1alpha1UcApi extends BaseAPI {
315
+ /**
316
+ * Delete the specified notification.
317
+ * @param {NotificationV1alpha1UcApiDeleteSpecifiedNotificationRequest} requestParameters Request parameters.
318
+ * @param {*} [options] Override http request option.
319
+ * @throws {RequiredError}
320
+ * @memberof NotificationV1alpha1UcApi
321
+ */
322
+ deleteSpecifiedNotification(requestParameters: NotificationV1alpha1UcApiDeleteSpecifiedNotificationRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Notification, any>>;
323
+ /**
324
+ * List notification preferences for the authenticated user.
325
+ * @param {NotificationV1alpha1UcApiListUserNotificationPreferencesRequest} requestParameters Request parameters.
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ * @memberof NotificationV1alpha1UcApi
329
+ */
330
+ listUserNotificationPreferences(requestParameters: NotificationV1alpha1UcApiListUserNotificationPreferencesRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ReasonTypeNotifierMatrix, any>>;
331
+ /**
332
+ * List notifications for the authenticated user.
333
+ * @param {NotificationV1alpha1UcApiListUserNotificationsRequest} requestParameters Request parameters.
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ * @memberof NotificationV1alpha1UcApi
337
+ */
338
+ listUserNotifications(requestParameters: NotificationV1alpha1UcApiListUserNotificationsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<NotificationList, any>>;
339
+ /**
340
+ * Mark the specified notification as read.
341
+ * @param {NotificationV1alpha1UcApiMarkNotificationAsReadRequest} requestParameters Request parameters.
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ * @memberof NotificationV1alpha1UcApi
345
+ */
346
+ markNotificationAsRead(requestParameters: NotificationV1alpha1UcApiMarkNotificationAsReadRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Notification, any>>;
347
+ /**
348
+ * Mark the specified notifications as read.
349
+ * @param {NotificationV1alpha1UcApiMarkNotificationsAsReadRequest} requestParameters Request parameters.
350
+ * @param {*} [options] Override http request option.
351
+ * @throws {RequiredError}
352
+ * @memberof NotificationV1alpha1UcApi
353
+ */
354
+ markNotificationsAsRead(requestParameters: NotificationV1alpha1UcApiMarkNotificationsAsReadRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<string[], any>>;
355
+ /**
356
+ * Save notification preferences for the authenticated user.
357
+ * @param {NotificationV1alpha1UcApiSaveUserNotificationPreferencesRequest} requestParameters Request parameters.
358
+ * @param {*} [options] Override http request option.
359
+ * @throws {RequiredError}
360
+ * @memberof NotificationV1alpha1UcApi
361
+ */
362
+ saveUserNotificationPreferences(requestParameters: NotificationV1alpha1UcApiSaveUserNotificationPreferencesRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ReasonTypeNotifierMatrix, any>>;
363
+ }