@halo-dev/api-client 2.16.0 → 2.18.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-attributes.d.ts +24 -0
  239. package/dist/src/models/reason-list.d.ts +63 -0
  240. package/dist/src/models/reason-property.d.ts +42 -0
  241. package/dist/src/models/reason-selector.d.ts +30 -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 -13783
  339. package/dist/index.d.ts +0 -30557
  340. package/dist/index.mjs +0 -13464
@@ -0,0 +1,331 @@
1
+ import { Configuration } from '../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../base';
4
+ import { Attachment, AttachmentList, JsonPatchInner } from '../models';
5
+
6
+ /**
7
+ * AttachmentV1alpha1Api - axios parameter creator
8
+ * @export
9
+ */
10
+ export declare const AttachmentV1alpha1ApiAxiosParamCreator: (configuration?: Configuration) => {
11
+ /**
12
+ * Create Attachment
13
+ * @param {Attachment} [attachment] Fresh attachment
14
+ * @param {*} [options] Override http request option.
15
+ * @throws {RequiredError}
16
+ */
17
+ createAttachment: (attachment?: Attachment, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18
+ /**
19
+ * Delete Attachment
20
+ * @param {string} name Name of attachment
21
+ * @param {*} [options] Override http request option.
22
+ * @throws {RequiredError}
23
+ */
24
+ deleteAttachment: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25
+ /**
26
+ * Get Attachment
27
+ * @param {string} name Name of attachment
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ getAttachment: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ * List Attachment
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 {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ listAttachment: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * Patch Attachment
45
+ * @param {string} name Name of attachment
46
+ * @param {Array<JsonPatchInner>} [jsonPatchInner]
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ patchAttachment: (name: string, jsonPatchInner?: Array<JsonPatchInner>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ * Update Attachment
53
+ * @param {string} name Name of attachment
54
+ * @param {Attachment} [attachment] Updated attachment
55
+ * @param {*} [options] Override http request option.
56
+ * @throws {RequiredError}
57
+ */
58
+ updateAttachment: (name: string, attachment?: Attachment, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
+ };
60
+ /**
61
+ * AttachmentV1alpha1Api - functional programming interface
62
+ * @export
63
+ */
64
+ export declare const AttachmentV1alpha1ApiFp: (configuration?: Configuration) => {
65
+ /**
66
+ * Create Attachment
67
+ * @param {Attachment} [attachment] Fresh attachment
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ */
71
+ createAttachment(attachment?: Attachment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
72
+ /**
73
+ * Delete Attachment
74
+ * @param {string} name Name of attachment
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ deleteAttachment(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
79
+ /**
80
+ * Get Attachment
81
+ * @param {string} name Name of attachment
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ getAttachment(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
86
+ /**
87
+ * List Attachment
88
+ * @param {number} [page] Page number. Default is 0.
89
+ * @param {number} [size] Size number. Default is 0.
90
+ * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
91
+ * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
92
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ listAttachment(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachmentList>>;
97
+ /**
98
+ * Patch Attachment
99
+ * @param {string} name Name of attachment
100
+ * @param {Array<JsonPatchInner>} [jsonPatchInner]
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ patchAttachment(name: string, jsonPatchInner?: Array<JsonPatchInner>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
105
+ /**
106
+ * Update Attachment
107
+ * @param {string} name Name of attachment
108
+ * @param {Attachment} [attachment] Updated attachment
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ updateAttachment(name: string, attachment?: Attachment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
113
+ };
114
+ /**
115
+ * AttachmentV1alpha1Api - factory interface
116
+ * @export
117
+ */
118
+ export declare const AttachmentV1alpha1ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
119
+ /**
120
+ * Create Attachment
121
+ * @param {AttachmentV1alpha1ApiCreateAttachmentRequest} requestParameters Request parameters.
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ createAttachment(requestParameters?: AttachmentV1alpha1ApiCreateAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
126
+ /**
127
+ * Delete Attachment
128
+ * @param {AttachmentV1alpha1ApiDeleteAttachmentRequest} requestParameters Request parameters.
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ deleteAttachment(requestParameters: AttachmentV1alpha1ApiDeleteAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
133
+ /**
134
+ * Get Attachment
135
+ * @param {AttachmentV1alpha1ApiGetAttachmentRequest} requestParameters Request parameters.
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ getAttachment(requestParameters: AttachmentV1alpha1ApiGetAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
140
+ /**
141
+ * List Attachment
142
+ * @param {AttachmentV1alpha1ApiListAttachmentRequest} requestParameters Request parameters.
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ listAttachment(requestParameters?: AttachmentV1alpha1ApiListAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<AttachmentList>;
147
+ /**
148
+ * Patch Attachment
149
+ * @param {AttachmentV1alpha1ApiPatchAttachmentRequest} requestParameters Request parameters.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ patchAttachment(requestParameters: AttachmentV1alpha1ApiPatchAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
154
+ /**
155
+ * Update Attachment
156
+ * @param {AttachmentV1alpha1ApiUpdateAttachmentRequest} requestParameters Request parameters.
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ updateAttachment(requestParameters: AttachmentV1alpha1ApiUpdateAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
161
+ };
162
+ /**
163
+ * Request parameters for createAttachment operation in AttachmentV1alpha1Api.
164
+ * @export
165
+ * @interface AttachmentV1alpha1ApiCreateAttachmentRequest
166
+ */
167
+ export interface AttachmentV1alpha1ApiCreateAttachmentRequest {
168
+ /**
169
+ * Fresh attachment
170
+ * @type {Attachment}
171
+ * @memberof AttachmentV1alpha1ApiCreateAttachment
172
+ */
173
+ readonly attachment?: Attachment;
174
+ }
175
+ /**
176
+ * Request parameters for deleteAttachment operation in AttachmentV1alpha1Api.
177
+ * @export
178
+ * @interface AttachmentV1alpha1ApiDeleteAttachmentRequest
179
+ */
180
+ export interface AttachmentV1alpha1ApiDeleteAttachmentRequest {
181
+ /**
182
+ * Name of attachment
183
+ * @type {string}
184
+ * @memberof AttachmentV1alpha1ApiDeleteAttachment
185
+ */
186
+ readonly name: string;
187
+ }
188
+ /**
189
+ * Request parameters for getAttachment operation in AttachmentV1alpha1Api.
190
+ * @export
191
+ * @interface AttachmentV1alpha1ApiGetAttachmentRequest
192
+ */
193
+ export interface AttachmentV1alpha1ApiGetAttachmentRequest {
194
+ /**
195
+ * Name of attachment
196
+ * @type {string}
197
+ * @memberof AttachmentV1alpha1ApiGetAttachment
198
+ */
199
+ readonly name: string;
200
+ }
201
+ /**
202
+ * Request parameters for listAttachment operation in AttachmentV1alpha1Api.
203
+ * @export
204
+ * @interface AttachmentV1alpha1ApiListAttachmentRequest
205
+ */
206
+ export interface AttachmentV1alpha1ApiListAttachmentRequest {
207
+ /**
208
+ * Page number. Default is 0.
209
+ * @type {number}
210
+ * @memberof AttachmentV1alpha1ApiListAttachment
211
+ */
212
+ readonly page?: number;
213
+ /**
214
+ * Size number. Default is 0.
215
+ * @type {number}
216
+ * @memberof AttachmentV1alpha1ApiListAttachment
217
+ */
218
+ readonly size?: number;
219
+ /**
220
+ * Label selector. e.g.: hidden!&#x3D;true
221
+ * @type {Array<string>}
222
+ * @memberof AttachmentV1alpha1ApiListAttachment
223
+ */
224
+ readonly labelSelector?: Array<string>;
225
+ /**
226
+ * Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
227
+ * @type {Array<string>}
228
+ * @memberof AttachmentV1alpha1ApiListAttachment
229
+ */
230
+ readonly fieldSelector?: Array<string>;
231
+ /**
232
+ * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
233
+ * @type {Array<string>}
234
+ * @memberof AttachmentV1alpha1ApiListAttachment
235
+ */
236
+ readonly sort?: Array<string>;
237
+ }
238
+ /**
239
+ * Request parameters for patchAttachment operation in AttachmentV1alpha1Api.
240
+ * @export
241
+ * @interface AttachmentV1alpha1ApiPatchAttachmentRequest
242
+ */
243
+ export interface AttachmentV1alpha1ApiPatchAttachmentRequest {
244
+ /**
245
+ * Name of attachment
246
+ * @type {string}
247
+ * @memberof AttachmentV1alpha1ApiPatchAttachment
248
+ */
249
+ readonly name: string;
250
+ /**
251
+ *
252
+ * @type {Array<JsonPatchInner>}
253
+ * @memberof AttachmentV1alpha1ApiPatchAttachment
254
+ */
255
+ readonly jsonPatchInner?: Array<JsonPatchInner>;
256
+ }
257
+ /**
258
+ * Request parameters for updateAttachment operation in AttachmentV1alpha1Api.
259
+ * @export
260
+ * @interface AttachmentV1alpha1ApiUpdateAttachmentRequest
261
+ */
262
+ export interface AttachmentV1alpha1ApiUpdateAttachmentRequest {
263
+ /**
264
+ * Name of attachment
265
+ * @type {string}
266
+ * @memberof AttachmentV1alpha1ApiUpdateAttachment
267
+ */
268
+ readonly name: string;
269
+ /**
270
+ * Updated attachment
271
+ * @type {Attachment}
272
+ * @memberof AttachmentV1alpha1ApiUpdateAttachment
273
+ */
274
+ readonly attachment?: Attachment;
275
+ }
276
+ /**
277
+ * AttachmentV1alpha1Api - object-oriented interface
278
+ * @export
279
+ * @class AttachmentV1alpha1Api
280
+ * @extends {BaseAPI}
281
+ */
282
+ export declare class AttachmentV1alpha1Api extends BaseAPI {
283
+ /**
284
+ * Create Attachment
285
+ * @param {AttachmentV1alpha1ApiCreateAttachmentRequest} requestParameters Request parameters.
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ * @memberof AttachmentV1alpha1Api
289
+ */
290
+ createAttachment(requestParameters?: AttachmentV1alpha1ApiCreateAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
291
+ /**
292
+ * Delete Attachment
293
+ * @param {AttachmentV1alpha1ApiDeleteAttachmentRequest} requestParameters Request parameters.
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ * @memberof AttachmentV1alpha1Api
297
+ */
298
+ deleteAttachment(requestParameters: AttachmentV1alpha1ApiDeleteAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
299
+ /**
300
+ * Get Attachment
301
+ * @param {AttachmentV1alpha1ApiGetAttachmentRequest} requestParameters Request parameters.
302
+ * @param {*} [options] Override http request option.
303
+ * @throws {RequiredError}
304
+ * @memberof AttachmentV1alpha1Api
305
+ */
306
+ getAttachment(requestParameters: AttachmentV1alpha1ApiGetAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
307
+ /**
308
+ * List Attachment
309
+ * @param {AttachmentV1alpha1ApiListAttachmentRequest} requestParameters Request parameters.
310
+ * @param {*} [options] Override http request option.
311
+ * @throws {RequiredError}
312
+ * @memberof AttachmentV1alpha1Api
313
+ */
314
+ listAttachment(requestParameters?: AttachmentV1alpha1ApiListAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<AttachmentList, any>>;
315
+ /**
316
+ * Patch Attachment
317
+ * @param {AttachmentV1alpha1ApiPatchAttachmentRequest} requestParameters Request parameters.
318
+ * @param {*} [options] Override http request option.
319
+ * @throws {RequiredError}
320
+ * @memberof AttachmentV1alpha1Api
321
+ */
322
+ patchAttachment(requestParameters: AttachmentV1alpha1ApiPatchAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
323
+ /**
324
+ * Update Attachment
325
+ * @param {AttachmentV1alpha1ApiUpdateAttachmentRequest} requestParameters Request parameters.
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ * @memberof AttachmentV1alpha1Api
329
+ */
330
+ updateAttachment(requestParameters: AttachmentV1alpha1ApiUpdateAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
331
+ }
@@ -0,0 +1,187 @@
1
+ import { Configuration } from '../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../base';
4
+ import { Attachment, AttachmentList } from '../models';
5
+
6
+ /**
7
+ * AttachmentV1alpha1ConsoleApi - axios parameter creator
8
+ * @export
9
+ */
10
+ export declare const AttachmentV1alpha1ConsoleApiAxiosParamCreator: (configuration?: Configuration) => {
11
+ /**
12
+ *
13
+ * @param {number} [page] Page number. Default is 0.
14
+ * @param {number} [size] Size number. Default is 0.
15
+ * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
16
+ * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
17
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
18
+ * @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
19
+ * @param {string} [keyword] Keyword for searching.
20
+ * @param {Array<string>} [accepts] Acceptable media types.
21
+ * @param {*} [options] Override http request option.
22
+ * @throws {RequiredError}
23
+ */
24
+ searchAttachments: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, ungrouped?: boolean, keyword?: string, accepts?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25
+ /**
26
+ *
27
+ * @param {File} file
28
+ * @param {string} policyName Storage policy name
29
+ * @param {string} [groupName] The name of the group to which the attachment belongs
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ uploadAttachment: (file: File, policyName: string, groupName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34
+ };
35
+ /**
36
+ * AttachmentV1alpha1ConsoleApi - functional programming interface
37
+ * @export
38
+ */
39
+ export declare const AttachmentV1alpha1ConsoleApiFp: (configuration?: Configuration) => {
40
+ /**
41
+ *
42
+ * @param {number} [page] Page number. Default is 0.
43
+ * @param {number} [size] Size number. Default is 0.
44
+ * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
45
+ * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
46
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
47
+ * @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
48
+ * @param {string} [keyword] Keyword for searching.
49
+ * @param {Array<string>} [accepts] Acceptable media types.
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ searchAttachments(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, ungrouped?: boolean, keyword?: string, accepts?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachmentList>>;
54
+ /**
55
+ *
56
+ * @param {File} file
57
+ * @param {string} policyName Storage policy name
58
+ * @param {string} [groupName] The name of the group to which the attachment belongs
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ uploadAttachment(file: File, policyName: string, groupName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
63
+ };
64
+ /**
65
+ * AttachmentV1alpha1ConsoleApi - factory interface
66
+ * @export
67
+ */
68
+ export declare const AttachmentV1alpha1ConsoleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
69
+ /**
70
+ *
71
+ * @param {AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest} requestParameters Request parameters.
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ searchAttachments(requestParameters?: AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AttachmentList>;
76
+ /**
77
+ *
78
+ * @param {AttachmentV1alpha1ConsoleApiUploadAttachmentRequest} requestParameters Request parameters.
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ uploadAttachment(requestParameters: AttachmentV1alpha1ConsoleApiUploadAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
83
+ };
84
+ /**
85
+ * Request parameters for searchAttachments operation in AttachmentV1alpha1ConsoleApi.
86
+ * @export
87
+ * @interface AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest
88
+ */
89
+ export interface AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest {
90
+ /**
91
+ * Page number. Default is 0.
92
+ * @type {number}
93
+ * @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
94
+ */
95
+ readonly page?: number;
96
+ /**
97
+ * Size number. Default is 0.
98
+ * @type {number}
99
+ * @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
100
+ */
101
+ readonly size?: number;
102
+ /**
103
+ * Label selector. e.g.: hidden!&#x3D;true
104
+ * @type {Array<string>}
105
+ * @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
106
+ */
107
+ readonly labelSelector?: Array<string>;
108
+ /**
109
+ * Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
110
+ * @type {Array<string>}
111
+ * @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
112
+ */
113
+ readonly fieldSelector?: Array<string>;
114
+ /**
115
+ * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
116
+ * @type {Array<string>}
117
+ * @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
118
+ */
119
+ readonly sort?: Array<string>;
120
+ /**
121
+ * Filter attachments without group. This parameter will ignore group parameter.
122
+ * @type {boolean}
123
+ * @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
124
+ */
125
+ readonly ungrouped?: boolean;
126
+ /**
127
+ * Keyword for searching.
128
+ * @type {string}
129
+ * @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
130
+ */
131
+ readonly keyword?: string;
132
+ /**
133
+ * Acceptable media types.
134
+ * @type {Array<string>}
135
+ * @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
136
+ */
137
+ readonly accepts?: Array<string>;
138
+ }
139
+ /**
140
+ * Request parameters for uploadAttachment operation in AttachmentV1alpha1ConsoleApi.
141
+ * @export
142
+ * @interface AttachmentV1alpha1ConsoleApiUploadAttachmentRequest
143
+ */
144
+ export interface AttachmentV1alpha1ConsoleApiUploadAttachmentRequest {
145
+ /**
146
+ *
147
+ * @type {File}
148
+ * @memberof AttachmentV1alpha1ConsoleApiUploadAttachment
149
+ */
150
+ readonly file: File;
151
+ /**
152
+ * Storage policy name
153
+ * @type {string}
154
+ * @memberof AttachmentV1alpha1ConsoleApiUploadAttachment
155
+ */
156
+ readonly policyName: string;
157
+ /**
158
+ * The name of the group to which the attachment belongs
159
+ * @type {string}
160
+ * @memberof AttachmentV1alpha1ConsoleApiUploadAttachment
161
+ */
162
+ readonly groupName?: string;
163
+ }
164
+ /**
165
+ * AttachmentV1alpha1ConsoleApi - object-oriented interface
166
+ * @export
167
+ * @class AttachmentV1alpha1ConsoleApi
168
+ * @extends {BaseAPI}
169
+ */
170
+ export declare class AttachmentV1alpha1ConsoleApi extends BaseAPI {
171
+ /**
172
+ *
173
+ * @param {AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest} requestParameters Request parameters.
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ * @memberof AttachmentV1alpha1ConsoleApi
177
+ */
178
+ searchAttachments(requestParameters?: AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<AttachmentList, any>>;
179
+ /**
180
+ *
181
+ * @param {AttachmentV1alpha1ConsoleApiUploadAttachmentRequest} requestParameters Request parameters.
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ * @memberof AttachmentV1alpha1ConsoleApi
185
+ */
186
+ uploadAttachment(requestParameters: AttachmentV1alpha1ConsoleApiUploadAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
187
+ }
@@ -0,0 +1,97 @@
1
+ import { Configuration } from '../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../base';
4
+ import { Attachment } from '../models';
5
+
6
+ /**
7
+ * AttachmentV1alpha1UcApi - axios parameter creator
8
+ * @export
9
+ */
10
+ export declare const AttachmentV1alpha1UcApiAxiosParamCreator: (configuration?: Configuration) => {
11
+ /**
12
+ * Create attachment for the given post.
13
+ * @param {File} file
14
+ * @param {boolean} [waitForPermalink] Wait for permalink.
15
+ * @param {string} [postName] Post name.
16
+ * @param {string} [singlePageName] Single page name.
17
+ * @param {*} [options] Override http request option.
18
+ * @throws {RequiredError}
19
+ */
20
+ createAttachmentForPost: (file: File, waitForPermalink?: boolean, postName?: string, singlePageName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21
+ };
22
+ /**
23
+ * AttachmentV1alpha1UcApi - functional programming interface
24
+ * @export
25
+ */
26
+ export declare const AttachmentV1alpha1UcApiFp: (configuration?: Configuration) => {
27
+ /**
28
+ * Create attachment for the given post.
29
+ * @param {File} file
30
+ * @param {boolean} [waitForPermalink] Wait for permalink.
31
+ * @param {string} [postName] Post name.
32
+ * @param {string} [singlePageName] Single page name.
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ createAttachmentForPost(file: File, waitForPermalink?: boolean, postName?: string, singlePageName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
37
+ };
38
+ /**
39
+ * AttachmentV1alpha1UcApi - factory interface
40
+ * @export
41
+ */
42
+ export declare const AttachmentV1alpha1UcApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
43
+ /**
44
+ * Create attachment for the given post.
45
+ * @param {AttachmentV1alpha1UcApiCreateAttachmentForPostRequest} requestParameters Request parameters.
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ createAttachmentForPost(requestParameters: AttachmentV1alpha1UcApiCreateAttachmentForPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
50
+ };
51
+ /**
52
+ * Request parameters for createAttachmentForPost operation in AttachmentV1alpha1UcApi.
53
+ * @export
54
+ * @interface AttachmentV1alpha1UcApiCreateAttachmentForPostRequest
55
+ */
56
+ export interface AttachmentV1alpha1UcApiCreateAttachmentForPostRequest {
57
+ /**
58
+ *
59
+ * @type {File}
60
+ * @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
61
+ */
62
+ readonly file: File;
63
+ /**
64
+ * Wait for permalink.
65
+ * @type {boolean}
66
+ * @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
67
+ */
68
+ readonly waitForPermalink?: boolean;
69
+ /**
70
+ * Post name.
71
+ * @type {string}
72
+ * @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
73
+ */
74
+ readonly postName?: string;
75
+ /**
76
+ * Single page name.
77
+ * @type {string}
78
+ * @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
79
+ */
80
+ readonly singlePageName?: string;
81
+ }
82
+ /**
83
+ * AttachmentV1alpha1UcApi - object-oriented interface
84
+ * @export
85
+ * @class AttachmentV1alpha1UcApi
86
+ * @extends {BaseAPI}
87
+ */
88
+ export declare class AttachmentV1alpha1UcApi extends BaseAPI {
89
+ /**
90
+ * Create attachment for the given post.
91
+ * @param {AttachmentV1alpha1UcApiCreateAttachmentForPostRequest} requestParameters Request parameters.
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ * @memberof AttachmentV1alpha1UcApi
95
+ */
96
+ createAttachmentForPost(requestParameters: AttachmentV1alpha1UcApiCreateAttachmentForPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
97
+ }