@halo-dev/api-client 2.20.0 → 2.21.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 (174) hide show
  1. package/dist/entry/api-client.d.ts +11 -3
  2. package/dist/halo-api-client.es.js +4337 -4370
  3. package/dist/halo-api-client.es.js.map +1 -1
  4. package/dist/halo-api-client.iife.js +4 -4
  5. package/dist/halo-api-client.iife.js.map +1 -1
  6. package/dist/src/api/default-api.d.ts +54 -0
  7. package/dist/src/api/index-v1alpha1-public-api.d.ts +0 -70
  8. package/dist/src/api/indices-v1alpha1-console-api.d.ts +0 -29
  9. package/dist/src/api/notification-v1alpha1-public-api.d.ts +79 -0
  10. package/dist/src/api/plugin-v1alpha1-console-api.d.ts +0 -96
  11. package/dist/src/api/policy-alpha1-console-api.d.ts +137 -0
  12. package/dist/src/api/system-v1alpha1-public-api.d.ts +25 -0
  13. package/dist/src/api/theme-v1alpha1-console-api.d.ts +0 -100
  14. package/dist/src/api/user-preference-v1alpha1-uc-api.d.ts +121 -0
  15. package/dist/src/api/user-v1alpha1-console-api.d.ts +84 -0
  16. package/dist/src/api.d.ts +5 -3
  17. package/dist/src/configuration.d.ts +1 -1
  18. package/dist/src/index.d.ts +1 -1
  19. package/dist/src/models/add-operation.d.ts +1 -1
  20. package/dist/src/models/attachment-spec.d.ts +1 -1
  21. package/dist/src/models/attachment-status.d.ts +1 -1
  22. package/dist/src/models/auth-provider-spec.d.ts +1 -1
  23. package/dist/src/models/auth-provider.d.ts +1 -1
  24. package/dist/src/models/author.d.ts +1 -1
  25. package/dist/src/models/backup-file.d.ts +5 -5
  26. package/dist/src/models/backup-spec.d.ts +1 -1
  27. package/dist/src/models/backup-status.d.ts +3 -3
  28. package/dist/src/models/category-spec.d.ts +4 -4
  29. package/dist/src/models/category-status.d.ts +3 -3
  30. package/dist/src/models/category-vo.d.ts +1 -1
  31. package/dist/src/models/change-own-password-request.d.ts +1 -1
  32. package/dist/src/models/change-password-request.d.ts +1 -1
  33. package/dist/src/models/comment-email-owner.d.ts +6 -6
  34. package/dist/src/models/comment-owner.d.ts +1 -1
  35. package/dist/src/models/comment-request.d.ts +1 -1
  36. package/dist/src/models/comment-spec.d.ts +1 -1
  37. package/dist/src/models/comment-stats-vo.d.ts +2 -2
  38. package/dist/src/models/comment-stats.d.ts +2 -2
  39. package/dist/src/models/comment-status.d.ts +1 -1
  40. package/dist/src/models/condition.d.ts +7 -7
  41. package/dist/src/models/config-map-ref.d.ts +1 -1
  42. package/dist/src/models/config-map.d.ts +1 -1
  43. package/dist/src/models/content-update-param.d.ts +1 -1
  44. package/dist/src/models/content-vo.d.ts +2 -2
  45. package/dist/src/models/content-wrapper.d.ts +1 -1
  46. package/dist/src/models/content.d.ts +1 -1
  47. package/dist/src/models/contributor-vo.d.ts +1 -1
  48. package/dist/src/models/contributor.d.ts +2 -2
  49. package/dist/src/models/copy-operation.d.ts +1 -1
  50. package/dist/src/models/counter-request.d.ts +1 -1
  51. package/dist/src/models/counter.d.ts +1 -1
  52. package/dist/src/models/create-user-request.d.ts +1 -1
  53. package/dist/src/models/dashboard-stats.d.ts +1 -1
  54. package/dist/src/models/device-spec.d.ts +1 -1
  55. package/dist/src/models/device-status.d.ts +1 -1
  56. package/dist/src/models/email-config-validation-request.d.ts +3 -3
  57. package/dist/src/models/email-verify-request.d.ts +1 -1
  58. package/dist/src/models/excerpt.d.ts +1 -1
  59. package/dist/src/models/extension-definition.d.ts +1 -1
  60. package/dist/src/models/extension-point-definition.d.ts +1 -1
  61. package/dist/src/models/extension-point-spec.d.ts +1 -1
  62. package/dist/src/models/extension-spec.d.ts +1 -1
  63. package/dist/src/models/extension.d.ts +1 -1
  64. package/dist/src/models/file-reverse-proxy-provider.d.ts +1 -1
  65. package/dist/src/models/grant-request.d.ts +1 -1
  66. package/dist/src/models/group-kind.d.ts +4 -4
  67. package/dist/src/models/group-spec.d.ts +1 -1
  68. package/dist/src/models/group-status.d.ts +1 -1
  69. package/dist/src/models/halo-document.d.ts +18 -18
  70. package/dist/src/models/index.d.ts +0 -3
  71. package/dist/src/models/install-from-uri-request.d.ts +1 -1
  72. package/dist/src/models/interest-reason-subject.d.ts +1 -1
  73. package/dist/src/models/license.d.ts +2 -2
  74. package/dist/src/models/listed-auth-provider.d.ts +2 -2
  75. package/dist/src/models/listed-post-vo.d.ts +1 -1
  76. package/dist/src/models/listed-snapshot-spec.d.ts +1 -1
  77. package/dist/src/models/local-thumbnail-spec.d.ts +4 -4
  78. package/dist/src/models/local-thumbnail-status.d.ts +1 -1
  79. package/dist/src/models/local-thumbnail.d.ts +1 -1
  80. package/dist/src/models/login-history.d.ts +1 -1
  81. package/dist/src/models/mark-specified-request.d.ts +1 -1
  82. package/dist/src/models/menu-item-spec.d.ts +1 -1
  83. package/dist/src/models/menu-item-status.d.ts +2 -2
  84. package/dist/src/models/menu-item-vo.d.ts +2 -2
  85. package/dist/src/models/menu-spec.d.ts +3 -3
  86. package/dist/src/models/menu-vo.d.ts +1 -1
  87. package/dist/src/models/metadata.d.ts +7 -7
  88. package/dist/src/models/move-operation.d.ts +1 -1
  89. package/dist/src/models/navigation-post-vo.d.ts +1 -1
  90. package/dist/src/models/notification-spec.d.ts +1 -1
  91. package/dist/src/models/notification-template.d.ts +1 -1
  92. package/dist/src/models/notification.d.ts +1 -1
  93. package/dist/src/models/notifier-descriptor.d.ts +1 -1
  94. package/dist/src/models/notifier-info.d.ts +1 -1
  95. package/dist/src/models/notifier-setting-ref.d.ts +1 -1
  96. package/dist/src/models/owner-info.d.ts +2 -2
  97. package/dist/src/models/password-request.d.ts +1 -1
  98. package/dist/src/models/pat-spec.d.ts +1 -1
  99. package/dist/src/models/plugin-author.d.ts +1 -1
  100. package/dist/src/models/plugin-running-state-request.d.ts +1 -1
  101. package/dist/src/models/plugin-spec.d.ts +2 -9
  102. package/dist/src/models/plugin.d.ts +1 -1
  103. package/dist/src/models/policy-rule.d.ts +7 -7
  104. package/dist/src/models/policy-spec.d.ts +1 -1
  105. package/dist/src/models/policy-template-spec.d.ts +1 -1
  106. package/dist/src/models/post-request.d.ts +1 -1
  107. package/dist/src/models/post-spec.d.ts +1 -1
  108. package/dist/src/models/post-status.d.ts +1 -1
  109. package/dist/src/models/post-vo.d.ts +1 -1
  110. package/dist/src/models/post.d.ts +1 -1
  111. package/dist/src/models/reason-attributes.d.ts +1 -1
  112. package/dist/src/models/reason-property.d.ts +1 -1
  113. package/dist/src/models/reason-selector.d.ts +1 -1
  114. package/dist/src/models/reason-subject.d.ts +1 -1
  115. package/dist/src/models/reason-type-info.d.ts +1 -1
  116. package/dist/src/models/reason-type-notifier-request.d.ts +1 -1
  117. package/dist/src/models/reason-type.d.ts +1 -1
  118. package/dist/src/models/reason.d.ts +1 -1
  119. package/dist/src/models/ref.d.ts +1 -1
  120. package/dist/src/models/remember-me-token-spec.d.ts +1 -1
  121. package/dist/src/models/remove-operation.d.ts +1 -1
  122. package/dist/src/models/replace-operation.d.ts +1 -1
  123. package/dist/src/models/reply-request.d.ts +1 -1
  124. package/dist/src/models/reply-spec.d.ts +1 -1
  125. package/dist/src/models/reply-status.d.ts +1 -1
  126. package/dist/src/models/reverse-proxy.d.ts +1 -1
  127. package/dist/src/models/revert-snapshot-for-post-param.d.ts +1 -1
  128. package/dist/src/models/revert-snapshot-for-single-param.d.ts +1 -1
  129. package/dist/src/models/role-binding.d.ts +2 -2
  130. package/dist/src/models/role-ref.d.ts +5 -5
  131. package/dist/src/models/search-option.d.ts +14 -14
  132. package/dist/src/models/secret.d.ts +4 -4
  133. package/dist/src/models/setting-form.d.ts +1 -1
  134. package/dist/src/models/setting-ref.d.ts +1 -1
  135. package/dist/src/models/setting.d.ts +1 -1
  136. package/dist/src/models/single-page-request.d.ts +1 -1
  137. package/dist/src/models/single-page-spec.d.ts +1 -1
  138. package/dist/src/models/single-page-status.d.ts +1 -1
  139. package/dist/src/models/single-page-vo.d.ts +1 -1
  140. package/dist/src/models/single-page.d.ts +1 -1
  141. package/dist/src/models/site-stats-vo.d.ts +2 -2
  142. package/dist/src/models/snap-shot-spec.d.ts +1 -1
  143. package/dist/src/models/stats-vo.d.ts +2 -2
  144. package/dist/src/models/stats.d.ts +2 -2
  145. package/dist/src/models/subject.d.ts +4 -4
  146. package/dist/src/models/subscription-subscriber.d.ts +1 -1
  147. package/dist/src/models/subscription.d.ts +1 -1
  148. package/dist/src/models/tag-spec.d.ts +2 -2
  149. package/dist/src/models/tag-status.d.ts +1 -1
  150. package/dist/src/models/tag-vo.d.ts +1 -1
  151. package/dist/src/models/template-content.d.ts +1 -1
  152. package/dist/src/models/template-descriptor.d.ts +2 -2
  153. package/dist/src/models/test-operation.d.ts +1 -1
  154. package/dist/src/models/theme-spec.d.ts +1 -15
  155. package/dist/src/models/theme.d.ts +1 -1
  156. package/dist/src/models/thumbnail-spec.d.ts +1 -1
  157. package/dist/src/models/totp-auth-link-response.d.ts +2 -2
  158. package/dist/src/models/totp-request.d.ts +1 -1
  159. package/dist/src/models/two-factor-auth-settings.d.ts +2 -2
  160. package/dist/src/models/uc-upload-request-form-data.d.ts +1 -1
  161. package/dist/src/models/upgrade-from-uri-request.d.ts +1 -1
  162. package/dist/src/models/upload-from-url-request.d.ts +1 -1
  163. package/dist/src/models/user-connection-spec.d.ts +5 -5
  164. package/dist/src/models/user-connection.d.ts +1 -1
  165. package/dist/src/models/user-spec.d.ts +1 -1
  166. package/dist/src/models/user.d.ts +1 -1
  167. package/dist/src/models/verify-code-request.d.ts +1 -1
  168. package/dist/src/models/vote-request.d.ts +1 -1
  169. package/package.json +1 -1
  170. package/dist/src/api/api-notification-halo-run-v1alpha1-subscription-api.d.ts +0 -79
  171. package/dist/src/api/search-engine-v1alpha1-api.d.ts +0 -330
  172. package/dist/src/models/search-engine-list.d.ts +0 -62
  173. package/dist/src/models/search-engine-spec.d.ts +0 -44
  174. package/dist/src/models/search-engine.d.ts +0 -33
@@ -20,14 +20,6 @@ export declare const ThemeV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
20
20
  * @throws {RequiredError}
21
21
  */
22
22
  fetchActivatedTheme: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23
- /**
24
- * Fetch configMap of theme by configured configMapName. It is deprecated.
25
- * @param {string} name
26
- * @param {*} [options] Override http request option.
27
- * @deprecated
28
- * @throws {RequiredError}
29
- */
30
- fetchThemeConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
23
  /**
32
24
  * Fetch converted json config of theme by configured configMapName.
33
25
  * @param {string} name
@@ -87,15 +79,6 @@ export declare const ThemeV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
87
79
  * @throws {RequiredError}
88
80
  */
89
81
  resetThemeConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
90
- /**
91
- * Update the configMap of theme setting. It is deprecated.
92
- * @param {string} name
93
- * @param {ConfigMap} configMap
94
- * @param {*} [options] Override http request option.
95
- * @deprecated
96
- * @throws {RequiredError}
97
- */
98
- updateThemeConfig: (name: string, configMap: ConfigMap, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99
82
  /**
100
83
  * Update the configMap of theme setting.
101
84
  * @param {string} name
@@ -139,14 +122,6 @@ export declare const ThemeV1alpha1ConsoleApiFp: (configuration?: Configuration)
139
122
  * @throws {RequiredError}
140
123
  */
141
124
  fetchActivatedTheme(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Theme>>;
142
- /**
143
- * Fetch configMap of theme by configured configMapName. It is deprecated.
144
- * @param {string} name
145
- * @param {*} [options] Override http request option.
146
- * @deprecated
147
- * @throws {RequiredError}
148
- */
149
- fetchThemeConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
150
125
  /**
151
126
  * Fetch converted json config of theme by configured configMapName.
152
127
  * @param {string} name
@@ -206,15 +181,6 @@ export declare const ThemeV1alpha1ConsoleApiFp: (configuration?: Configuration)
206
181
  * @throws {RequiredError}
207
182
  */
208
183
  resetThemeConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
209
- /**
210
- * Update the configMap of theme setting. It is deprecated.
211
- * @param {string} name
212
- * @param {ConfigMap} configMap
213
- * @param {*} [options] Override http request option.
214
- * @deprecated
215
- * @throws {RequiredError}
216
- */
217
- updateThemeConfig(name: string, configMap: ConfigMap, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
218
184
  /**
219
185
  * Update the configMap of theme setting.
220
186
  * @param {string} name
@@ -258,14 +224,6 @@ export declare const ThemeV1alpha1ConsoleApiFactory: (configuration?: Configurat
258
224
  * @throws {RequiredError}
259
225
  */
260
226
  fetchActivatedTheme(options?: RawAxiosRequestConfig): AxiosPromise<Theme>;
261
- /**
262
- * Fetch configMap of theme by configured configMapName. It is deprecated.
263
- * @param {ThemeV1alpha1ConsoleApiFetchThemeConfigRequest} requestParameters Request parameters.
264
- * @param {*} [options] Override http request option.
265
- * @deprecated
266
- * @throws {RequiredError}
267
- */
268
- fetchThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiFetchThemeConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
269
227
  /**
270
228
  * Fetch converted json config of theme by configured configMapName.
271
229
  * @param {ThemeV1alpha1ConsoleApiFetchThemeJsonConfigRequest} requestParameters Request parameters.
@@ -321,14 +279,6 @@ export declare const ThemeV1alpha1ConsoleApiFactory: (configuration?: Configurat
321
279
  * @throws {RequiredError}
322
280
  */
323
281
  resetThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiResetThemeConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
324
- /**
325
- * Update the configMap of theme setting. It is deprecated.
326
- * @param {ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest} requestParameters Request parameters.
327
- * @param {*} [options] Override http request option.
328
- * @deprecated
329
- * @throws {RequiredError}
330
- */
331
- updateThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
332
282
  /**
333
283
  * Update the configMap of theme setting.
334
284
  * @param {ThemeV1alpha1ConsoleApiUpdateThemeJsonConfigRequest} requestParameters Request parameters.
@@ -364,19 +314,6 @@ export interface ThemeV1alpha1ConsoleApiActivateThemeRequest {
364
314
  */
365
315
  readonly name: string;
366
316
  }
367
- /**
368
- * Request parameters for fetchThemeConfig operation in ThemeV1alpha1ConsoleApi.
369
- * @export
370
- * @interface ThemeV1alpha1ConsoleApiFetchThemeConfigRequest
371
- */
372
- export interface ThemeV1alpha1ConsoleApiFetchThemeConfigRequest {
373
- /**
374
- *
375
- * @type {string}
376
- * @memberof ThemeV1alpha1ConsoleApiFetchThemeConfig
377
- */
378
- readonly name: string;
379
- }
380
317
  /**
381
318
  * Request parameters for fetchThemeJsonConfig operation in ThemeV1alpha1ConsoleApi.
382
319
  * @export
@@ -492,25 +429,6 @@ export interface ThemeV1alpha1ConsoleApiResetThemeConfigRequest {
492
429
  */
493
430
  readonly name: string;
494
431
  }
495
- /**
496
- * Request parameters for updateThemeConfig operation in ThemeV1alpha1ConsoleApi.
497
- * @export
498
- * @interface ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest
499
- */
500
- export interface ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest {
501
- /**
502
- *
503
- * @type {string}
504
- * @memberof ThemeV1alpha1ConsoleApiUpdateThemeConfig
505
- */
506
- readonly name: string;
507
- /**
508
- *
509
- * @type {ConfigMap}
510
- * @memberof ThemeV1alpha1ConsoleApiUpdateThemeConfig
511
- */
512
- readonly configMap: ConfigMap;
513
- }
514
432
  /**
515
433
  * Request parameters for updateThemeJsonConfig operation in ThemeV1alpha1ConsoleApi.
516
434
  * @export
@@ -590,15 +508,6 @@ export declare class ThemeV1alpha1ConsoleApi extends BaseAPI {
590
508
  * @memberof ThemeV1alpha1ConsoleApi
591
509
  */
592
510
  fetchActivatedTheme(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Theme, any>>;
593
- /**
594
- * Fetch configMap of theme by configured configMapName. It is deprecated.
595
- * @param {ThemeV1alpha1ConsoleApiFetchThemeConfigRequest} requestParameters Request parameters.
596
- * @param {*} [options] Override http request option.
597
- * @deprecated
598
- * @throws {RequiredError}
599
- * @memberof ThemeV1alpha1ConsoleApi
600
- */
601
- fetchThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiFetchThemeConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
602
511
  /**
603
512
  * Fetch converted json config of theme by configured configMapName.
604
513
  * @param {ThemeV1alpha1ConsoleApiFetchThemeJsonConfigRequest} requestParameters Request parameters.
@@ -662,15 +571,6 @@ export declare class ThemeV1alpha1ConsoleApi extends BaseAPI {
662
571
  * @memberof ThemeV1alpha1ConsoleApi
663
572
  */
664
573
  resetThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiResetThemeConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
665
- /**
666
- * Update the configMap of theme setting. It is deprecated.
667
- * @param {ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest} requestParameters Request parameters.
668
- * @param {*} [options] Override http request option.
669
- * @deprecated
670
- * @throws {RequiredError}
671
- * @memberof ThemeV1alpha1ConsoleApi
672
- */
673
- updateThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
674
574
  /**
675
575
  * Update the configMap of theme setting.
676
576
  * @param {ThemeV1alpha1ConsoleApiUpdateThemeJsonConfigRequest} requestParameters Request parameters.
@@ -0,0 +1,121 @@
1
+ import { Configuration } from '../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../base';
4
+ /**
5
+ * UserPreferenceV1alpha1UcApi - axios parameter creator
6
+ * @export
7
+ */
8
+ export declare const UserPreferenceV1alpha1UcApiAxiosParamCreator: (configuration?: Configuration) => {
9
+ /**
10
+ * Get my preference by group.
11
+ * @param {string} group Group of user preference, e.g. &#x60;notification&#x60;.
12
+ * @param {*} [options] Override http request option.
13
+ * @throws {RequiredError}
14
+ */
15
+ getMyPreference: (group: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16
+ /**
17
+ * Create or update my preference by group.
18
+ * @param {string} group Group of user preference, e.g. &#x60;notification&#x60;.
19
+ * @param {object} body
20
+ * @param {*} [options] Override http request option.
21
+ * @throws {RequiredError}
22
+ */
23
+ updateMyPreference: (group: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24
+ };
25
+ /**
26
+ * UserPreferenceV1alpha1UcApi - functional programming interface
27
+ * @export
28
+ */
29
+ export declare const UserPreferenceV1alpha1UcApiFp: (configuration?: Configuration) => {
30
+ /**
31
+ * Get my preference by group.
32
+ * @param {string} group Group of user preference, e.g. &#x60;notification&#x60;.
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ getMyPreference(group: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
37
+ /**
38
+ * Create or update my preference by group.
39
+ * @param {string} group Group of user preference, e.g. &#x60;notification&#x60;.
40
+ * @param {object} body
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ updateMyPreference(group: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
45
+ };
46
+ /**
47
+ * UserPreferenceV1alpha1UcApi - factory interface
48
+ * @export
49
+ */
50
+ export declare const UserPreferenceV1alpha1UcApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
51
+ /**
52
+ * Get my preference by group.
53
+ * @param {UserPreferenceV1alpha1UcApiGetMyPreferenceRequest} requestParameters Request parameters.
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ getMyPreference(requestParameters: UserPreferenceV1alpha1UcApiGetMyPreferenceRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
58
+ /**
59
+ * Create or update my preference by group.
60
+ * @param {UserPreferenceV1alpha1UcApiUpdateMyPreferenceRequest} requestParameters Request parameters.
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ updateMyPreference(requestParameters: UserPreferenceV1alpha1UcApiUpdateMyPreferenceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
65
+ };
66
+ /**
67
+ * Request parameters for getMyPreference operation in UserPreferenceV1alpha1UcApi.
68
+ * @export
69
+ * @interface UserPreferenceV1alpha1UcApiGetMyPreferenceRequest
70
+ */
71
+ export interface UserPreferenceV1alpha1UcApiGetMyPreferenceRequest {
72
+ /**
73
+ * Group of user preference, e.g. &#x60;notification&#x60;.
74
+ * @type {string}
75
+ * @memberof UserPreferenceV1alpha1UcApiGetMyPreference
76
+ */
77
+ readonly group: string;
78
+ }
79
+ /**
80
+ * Request parameters for updateMyPreference operation in UserPreferenceV1alpha1UcApi.
81
+ * @export
82
+ * @interface UserPreferenceV1alpha1UcApiUpdateMyPreferenceRequest
83
+ */
84
+ export interface UserPreferenceV1alpha1UcApiUpdateMyPreferenceRequest {
85
+ /**
86
+ * Group of user preference, e.g. &#x60;notification&#x60;.
87
+ * @type {string}
88
+ * @memberof UserPreferenceV1alpha1UcApiUpdateMyPreference
89
+ */
90
+ readonly group: string;
91
+ /**
92
+ *
93
+ * @type {object}
94
+ * @memberof UserPreferenceV1alpha1UcApiUpdateMyPreference
95
+ */
96
+ readonly body: object;
97
+ }
98
+ /**
99
+ * UserPreferenceV1alpha1UcApi - object-oriented interface
100
+ * @export
101
+ * @class UserPreferenceV1alpha1UcApi
102
+ * @extends {BaseAPI}
103
+ */
104
+ export declare class UserPreferenceV1alpha1UcApi extends BaseAPI {
105
+ /**
106
+ * Get my preference by group.
107
+ * @param {UserPreferenceV1alpha1UcApiGetMyPreferenceRequest} requestParameters Request parameters.
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ * @memberof UserPreferenceV1alpha1UcApi
111
+ */
112
+ getMyPreference(requestParameters: UserPreferenceV1alpha1UcApiGetMyPreferenceRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<object, any>>;
113
+ /**
114
+ * Create or update my preference by group.
115
+ * @param {UserPreferenceV1alpha1UcApiUpdateMyPreferenceRequest} requestParameters Request parameters.
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ * @memberof UserPreferenceV1alpha1UcApi
119
+ */
120
+ updateMyPreference(requestParameters: UserPreferenceV1alpha1UcApiUpdateMyPreferenceRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
121
+ }
@@ -36,6 +36,20 @@ export declare const UserV1alpha1ConsoleApiAxiosParamCreator: (configuration?: C
36
36
  * @throws {RequiredError}
37
37
  */
38
38
  deleteUserAvatar: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
+ /**
40
+ * Disable user by username
41
+ * @param {string} username Username
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ disableUser: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
+ /**
47
+ * Enable user by username
48
+ * @param {string} username Username
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ enableUser: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
53
  /**
40
54
  * Get current user detail
41
55
  * @param {*} [options] Override http request option.
@@ -141,6 +155,20 @@ export declare const UserV1alpha1ConsoleApiFp: (configuration?: Configuration) =
141
155
  * @throws {RequiredError}
142
156
  */
143
157
  deleteUserAvatar(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
158
+ /**
159
+ * Disable user by username
160
+ * @param {string} username Username
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ disableUser(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
165
+ /**
166
+ * Enable user by username
167
+ * @param {string} username Username
168
+ * @param {*} [options] Override http request option.
169
+ * @throws {RequiredError}
170
+ */
171
+ enableUser(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
144
172
  /**
145
173
  * Get current user detail
146
174
  * @param {*} [options] Override http request option.
@@ -245,6 +273,20 @@ export declare const UserV1alpha1ConsoleApiFactory: (configuration?: Configurati
245
273
  * @throws {RequiredError}
246
274
  */
247
275
  deleteUserAvatar(requestParameters: UserV1alpha1ConsoleApiDeleteUserAvatarRequest, options?: RawAxiosRequestConfig): AxiosPromise<User>;
276
+ /**
277
+ * Disable user by username
278
+ * @param {UserV1alpha1ConsoleApiDisableUserRequest} requestParameters Request parameters.
279
+ * @param {*} [options] Override http request option.
280
+ * @throws {RequiredError}
281
+ */
282
+ disableUser(requestParameters: UserV1alpha1ConsoleApiDisableUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<User>;
283
+ /**
284
+ * Enable user by username
285
+ * @param {UserV1alpha1ConsoleApiEnableUserRequest} requestParameters Request parameters.
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ enableUser(requestParameters: UserV1alpha1ConsoleApiEnableUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<User>;
248
290
  /**
249
291
  * Get current user detail
250
292
  * @param {*} [options] Override http request option.
@@ -366,6 +408,32 @@ export interface UserV1alpha1ConsoleApiDeleteUserAvatarRequest {
366
408
  */
367
409
  readonly name: string;
368
410
  }
411
+ /**
412
+ * Request parameters for disableUser operation in UserV1alpha1ConsoleApi.
413
+ * @export
414
+ * @interface UserV1alpha1ConsoleApiDisableUserRequest
415
+ */
416
+ export interface UserV1alpha1ConsoleApiDisableUserRequest {
417
+ /**
418
+ * Username
419
+ * @type {string}
420
+ * @memberof UserV1alpha1ConsoleApiDisableUser
421
+ */
422
+ readonly username: string;
423
+ }
424
+ /**
425
+ * Request parameters for enableUser operation in UserV1alpha1ConsoleApi.
426
+ * @export
427
+ * @interface UserV1alpha1ConsoleApiEnableUserRequest
428
+ */
429
+ export interface UserV1alpha1ConsoleApiEnableUserRequest {
430
+ /**
431
+ * Username
432
+ * @type {string}
433
+ * @memberof UserV1alpha1ConsoleApiEnableUser
434
+ */
435
+ readonly username: string;
436
+ }
369
437
  /**
370
438
  * Request parameters for getPermissions operation in UserV1alpha1ConsoleApi.
371
439
  * @export
@@ -557,6 +625,22 @@ export declare class UserV1alpha1ConsoleApi extends BaseAPI {
557
625
  * @memberof UserV1alpha1ConsoleApi
558
626
  */
559
627
  deleteUserAvatar(requestParameters: UserV1alpha1ConsoleApiDeleteUserAvatarRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<User, any>>;
628
+ /**
629
+ * Disable user by username
630
+ * @param {UserV1alpha1ConsoleApiDisableUserRequest} requestParameters Request parameters.
631
+ * @param {*} [options] Override http request option.
632
+ * @throws {RequiredError}
633
+ * @memberof UserV1alpha1ConsoleApi
634
+ */
635
+ disableUser(requestParameters: UserV1alpha1ConsoleApiDisableUserRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<User, any>>;
636
+ /**
637
+ * Enable user by username
638
+ * @param {UserV1alpha1ConsoleApiEnableUserRequest} requestParameters Request parameters.
639
+ * @param {*} [options] Override http request option.
640
+ * @throws {RequiredError}
641
+ * @memberof UserV1alpha1ConsoleApi
642
+ */
643
+ enableUser(requestParameters: UserV1alpha1ConsoleApiEnableUserRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<User, any>>;
560
644
  /**
561
645
  * Get current user detail
562
646
  * @param {*} [options] Override http request option.
package/dist/src/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/annotation-setting-v1alpha1-api';
13
- export * from './api/api-notification-halo-run-v1alpha1-subscription-api';
14
13
  export * from './api/attachment-v1alpha1-api';
15
14
  export * from './api/attachment-v1alpha1-console-api';
16
15
  export * from './api/attachment-v1alpha1-uc-api';
@@ -24,6 +23,7 @@ export * from './api/comment-v1alpha1-console-api';
24
23
  export * from './api/comment-v1alpha1-public-api';
25
24
  export * from './api/config-map-v1alpha1-api';
26
25
  export * from './api/counter-v1alpha1-api';
26
+ export * from './api/default-api';
27
27
  export * from './api/device-v1alpha1-api';
28
28
  export * from './api/device-v1alpha1-uc-api';
29
29
  export * from './api/extension-definition-v1alpha1-api';
@@ -39,6 +39,7 @@ export * from './api/metrics-v1alpha1-public-api';
39
39
  export * from './api/migration-v1alpha1-console-api';
40
40
  export * from './api/notification-template-v1alpha1-api';
41
41
  export * from './api/notification-v1alpha1-api';
42
+ export * from './api/notification-v1alpha1-public-api';
42
43
  export * from './api/notification-v1alpha1-uc-api';
43
44
  export * from './api/notifier-descriptor-v1alpha1-api';
44
45
  export * from './api/notifier-v1alpha1-console-api';
@@ -48,6 +49,7 @@ export * from './api/personal-access-token-v1alpha1-uc-api';
48
49
  export * from './api/plugin-v1alpha1-api';
49
50
  export * from './api/plugin-v1alpha1-console-api';
50
51
  export * from './api/plugin-v1alpha1-public-api';
52
+ export * from './api/policy-alpha1-console-api';
51
53
  export * from './api/policy-template-v1alpha1-api';
52
54
  export * from './api/policy-v1alpha1-api';
53
55
  export * from './api/post-v1alpha1-api';
@@ -62,7 +64,6 @@ export * from './api/reply-v1alpha1-console-api';
62
64
  export * from './api/reverse-proxy-v1alpha1-api';
63
65
  export * from './api/role-binding-v1alpha1-api';
64
66
  export * from './api/role-v1alpha1-api';
65
- export * from './api/search-engine-v1alpha1-api';
66
67
  export * from './api/secret-v1alpha1-api';
67
68
  export * from './api/setting-v1alpha1-api';
68
69
  export * from './api/single-page-v1alpha1-api';
@@ -84,5 +85,6 @@ export * from './api/thumbnail-v1alpha1-public-api';
84
85
  export * from './api/two-factor-auth-v1alpha1-uc-api';
85
86
  export * from './api/user-connection-v1alpha1-api';
86
87
  export * from './api/user-connection-v1alpha1-uc-api';
88
+ export * from './api/user-preference-v1alpha1-uc-api';
87
89
  export * from './api/user-v1alpha1-api';
88
90
  export * from './api/user-v1alpha1-console-api';
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7,7 +7,7 @@ import { SettingRef } from './setting-ref';
7
7
  */
8
8
  export interface AuthProviderSpec {
9
9
  /**
10
- *
10
+ * Auth type: form or oauth2.
11
11
  * @type {string}
12
12
  * @memberof AuthProviderSpec
13
13
  */
@@ -1,7 +1,7 @@
1
1
  import { AuthProviderSpec } from './auth-provider-spec';
2
2
  import { Metadata } from './metadata';
3
3
  /**
4
- *
4
+ * Auth provider extension.
5
5
  * @export
6
6
  * @interface AuthProvider
7
7
  */
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,25 +10,25 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Backup file.
14
14
  * @export
15
15
  * @interface BackupFile
16
16
  */
17
17
  export interface BackupFile {
18
18
  /**
19
- *
19
+ * Filename of backup file.
20
20
  * @type {string}
21
21
  * @memberof BackupFile
22
22
  */
23
23
  'filename'?: string;
24
24
  /**
25
- *
25
+ * Last modified time of backup file.
26
26
  * @type {string}
27
27
  * @memberof BackupFile
28
28
  */
29
29
  'lastModifiedTime'?: string;
30
30
  /**
31
- *
31
+ * Size of backup file.
32
32
  * @type {number}
33
33
  * @memberof BackupFile
34
34
  */
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ export interface BackupStatus {
34
34
  */
35
35
  'failureReason'?: string;
36
36
  /**
37
- *
37
+ * Name of backup file.
38
38
  * @type {string}
39
39
  * @memberof BackupStatus
40
40
  */
@@ -46,7 +46,7 @@ export interface BackupStatus {
46
46
  */
47
47
  'phase'?: BackupStatusPhaseEnum;
48
48
  /**
49
- *
49
+ * Size of backup file. Data unit: byte
50
50
  * @type {number}
51
51
  * @memberof BackupStatus
52
52
  */
@@ -2,7 +2,7 @@
2
2
  * Halo
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.20.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.21.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,19 +40,19 @@ export interface CategorySpec {
40
40
  */
41
41
  'displayName': string;
42
42
  /**
43
- *
43
+ * <p>Whether to hide the category from the category list.</p> <p>When set to true, the category including its subcategories and related posts will not be displayed in the category list, but it can still be accessed by permalink.</p> <p>Limitation: It only takes effect on the theme-side categorized list and it only allows to be set to true on the first level(root node) of categories.</p>
44
44
  * @type {boolean}
45
45
  * @memberof CategorySpec
46
46
  */
47
47
  'hideFromList'?: boolean;
48
48
  /**
49
- *
49
+ * <p>Used to specify the template for the posts associated with the category.</p> <p>The priority is not as high as that of the post.</p> <p>If the post also specifies a template, the post\'s template will prevail.</p>
50
50
  * @type {string}
51
51
  * @memberof CategorySpec
52
52
  */
53
53
  'postTemplate'?: string;
54
54
  /**
55
- *
55
+ * <p>if a category is queried for related posts, the default behavior is to query all posts under the category including its subcategories, but if this field is set to true, cascade query behavior will be terminated here.</p> <p>For example, if a category has subcategories A and B, and A has subcategories C and D and C marked this field as true, when querying posts under A category,all posts under A and B will be queried, but C and D will not be queried.</p>
56
56
  * @type {boolean}
57
57
  * @memberof CategorySpec
58
58
  */