@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
@@ -0,0 +1,54 @@
1
+ import { Configuration } from '../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../base';
4
+ /**
5
+ * DefaultApi - axios parameter creator
6
+ * @export
7
+ */
8
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
9
+ /**
10
+ *
11
+ * @param {*} [options] Override http request option.
12
+ * @throws {RequiredError}
13
+ */
14
+ setNoCacheForSetUpPage: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15
+ };
16
+ /**
17
+ * DefaultApi - functional programming interface
18
+ * @export
19
+ */
20
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @param {*} [options] Override http request option.
24
+ * @throws {RequiredError}
25
+ */
26
+ setNoCacheForSetUpPage(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
27
+ };
28
+ /**
29
+ * DefaultApi - factory interface
30
+ * @export
31
+ */
32
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
33
+ /**
34
+ *
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ setNoCacheForSetUpPage(options?: RawAxiosRequestConfig): AxiosPromise<void>;
39
+ };
40
+ /**
41
+ * DefaultApi - object-oriented interface
42
+ * @export
43
+ * @class DefaultApi
44
+ * @extends {BaseAPI}
45
+ */
46
+ export declare class DefaultApi extends BaseAPI {
47
+ /**
48
+ *
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ * @memberof DefaultApi
52
+ */
53
+ setNoCacheForSetUpPage(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
54
+ }
@@ -14,17 +14,6 @@ export declare const IndexV1alpha1PublicApiAxiosParamCreator: (configuration?: C
14
14
  * @throws {RequiredError}
15
15
  */
16
16
  indicesSearch: (searchOption?: SearchOption, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17
- /**
18
- * Search posts with fuzzy query. This method is deprecated, please use POST /indices/-/search instead.
19
- * @param {string} keyword Keyword to search
20
- * @param {number} [limit] Limit of search results
21
- * @param {string} [highlightPreTag] Highlight pre tag
22
- * @param {string} [highlightPostTag] Highlight post tag
23
- * @param {*} [options] Override http request option.
24
- * @deprecated
25
- * @throws {RequiredError}
26
- */
27
- searchPost: (keyword: string, limit?: number, highlightPreTag?: string, highlightPostTag?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
17
  };
29
18
  /**
30
19
  * IndexV1alpha1PublicApi - functional programming interface
@@ -38,17 +27,6 @@ export declare const IndexV1alpha1PublicApiFp: (configuration?: Configuration) =
38
27
  * @throws {RequiredError}
39
28
  */
40
29
  indicesSearch(searchOption?: SearchOption, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchResult>>;
41
- /**
42
- * Search posts with fuzzy query. This method is deprecated, please use POST /indices/-/search instead.
43
- * @param {string} keyword Keyword to search
44
- * @param {number} [limit] Limit of search results
45
- * @param {string} [highlightPreTag] Highlight pre tag
46
- * @param {string} [highlightPostTag] Highlight post tag
47
- * @param {*} [options] Override http request option.
48
- * @deprecated
49
- * @throws {RequiredError}
50
- */
51
- searchPost(keyword: string, limit?: number, highlightPreTag?: string, highlightPostTag?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchResult>>;
52
30
  };
53
31
  /**
54
32
  * IndexV1alpha1PublicApi - factory interface
@@ -62,14 +40,6 @@ export declare const IndexV1alpha1PublicApiFactory: (configuration?: Configurati
62
40
  * @throws {RequiredError}
63
41
  */
64
42
  indicesSearch(requestParameters?: IndexV1alpha1PublicApiIndicesSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchResult>;
65
- /**
66
- * Search posts with fuzzy query. This method is deprecated, please use POST /indices/-/search instead.
67
- * @param {IndexV1alpha1PublicApiSearchPostRequest} requestParameters Request parameters.
68
- * @param {*} [options] Override http request option.
69
- * @deprecated
70
- * @throws {RequiredError}
71
- */
72
- searchPost(requestParameters: IndexV1alpha1PublicApiSearchPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchResult>;
73
43
  };
74
44
  /**
75
45
  * Request parameters for indicesSearch operation in IndexV1alpha1PublicApi.
@@ -84,37 +54,6 @@ export interface IndexV1alpha1PublicApiIndicesSearchRequest {
84
54
  */
85
55
  readonly searchOption?: SearchOption;
86
56
  }
87
- /**
88
- * Request parameters for searchPost operation in IndexV1alpha1PublicApi.
89
- * @export
90
- * @interface IndexV1alpha1PublicApiSearchPostRequest
91
- */
92
- export interface IndexV1alpha1PublicApiSearchPostRequest {
93
- /**
94
- * Keyword to search
95
- * @type {string}
96
- * @memberof IndexV1alpha1PublicApiSearchPost
97
- */
98
- readonly keyword: string;
99
- /**
100
- * Limit of search results
101
- * @type {number}
102
- * @memberof IndexV1alpha1PublicApiSearchPost
103
- */
104
- readonly limit?: number;
105
- /**
106
- * Highlight pre tag
107
- * @type {string}
108
- * @memberof IndexV1alpha1PublicApiSearchPost
109
- */
110
- readonly highlightPreTag?: string;
111
- /**
112
- * Highlight post tag
113
- * @type {string}
114
- * @memberof IndexV1alpha1PublicApiSearchPost
115
- */
116
- readonly highlightPostTag?: string;
117
- }
118
57
  /**
119
58
  * IndexV1alpha1PublicApi - object-oriented interface
120
59
  * @export
@@ -130,13 +69,4 @@ export declare class IndexV1alpha1PublicApi extends BaseAPI {
130
69
  * @memberof IndexV1alpha1PublicApi
131
70
  */
132
71
  indicesSearch(requestParameters?: IndexV1alpha1PublicApiIndicesSearchRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SearchResult, any>>;
133
- /**
134
- * Search posts with fuzzy query. This method is deprecated, please use POST /indices/-/search instead.
135
- * @param {IndexV1alpha1PublicApiSearchPostRequest} requestParameters Request parameters.
136
- * @param {*} [options] Override http request option.
137
- * @deprecated
138
- * @throws {RequiredError}
139
- * @memberof IndexV1alpha1PublicApi
140
- */
141
- searchPost(requestParameters: IndexV1alpha1PublicApiSearchPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SearchResult, any>>;
142
72
  }
@@ -6,13 +6,6 @@ import { RequestArgs, BaseAPI } from '../base';
6
6
  * @export
7
7
  */
8
8
  export declare const IndicesV1alpha1ConsoleApiAxiosParamCreator: (configuration?: Configuration) => {
9
- /**
10
- * Build or rebuild post indices for full text search. This method is deprecated, please use POST /indices/-/rebuild instead.
11
- * @param {*} [options] Override http request option.
12
- * @deprecated
13
- * @throws {RequiredError}
14
- */
15
- buildPostIndices: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16
9
  /**
17
10
  * Rebuild all indices
18
11
  * @param {*} [options] Override http request option.
@@ -25,13 +18,6 @@ export declare const IndicesV1alpha1ConsoleApiAxiosParamCreator: (configuration?
25
18
  * @export
26
19
  */
27
20
  export declare const IndicesV1alpha1ConsoleApiFp: (configuration?: Configuration) => {
28
- /**
29
- * Build or rebuild post indices for full text search. This method is deprecated, please use POST /indices/-/rebuild instead.
30
- * @param {*} [options] Override http request option.
31
- * @deprecated
32
- * @throws {RequiredError}
33
- */
34
- buildPostIndices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
35
21
  /**
36
22
  * Rebuild all indices
37
23
  * @param {*} [options] Override http request option.
@@ -44,13 +30,6 @@ export declare const IndicesV1alpha1ConsoleApiFp: (configuration?: Configuration
44
30
  * @export
45
31
  */
46
32
  export declare const IndicesV1alpha1ConsoleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
- /**
48
- * Build or rebuild post indices for full text search. This method is deprecated, please use POST /indices/-/rebuild instead.
49
- * @param {*} [options] Override http request option.
50
- * @deprecated
51
- * @throws {RequiredError}
52
- */
53
- buildPostIndices(options?: RawAxiosRequestConfig): AxiosPromise<void>;
54
33
  /**
55
34
  * Rebuild all indices
56
35
  * @param {*} [options] Override http request option.
@@ -65,14 +44,6 @@ export declare const IndicesV1alpha1ConsoleApiFactory: (configuration?: Configur
65
44
  * @extends {BaseAPI}
66
45
  */
67
46
  export declare class IndicesV1alpha1ConsoleApi extends BaseAPI {
68
- /**
69
- * Build or rebuild post indices for full text search. This method is deprecated, please use POST /indices/-/rebuild instead.
70
- * @param {*} [options] Override http request option.
71
- * @deprecated
72
- * @throws {RequiredError}
73
- * @memberof IndicesV1alpha1ConsoleApi
74
- */
75
- buildPostIndices(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
76
47
  /**
77
48
  * Rebuild all indices
78
49
  * @param {*} [options] Override http request option.
@@ -0,0 +1,79 @@
1
+ import { Configuration } from '../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../base';
4
+ /**
5
+ * NotificationV1alpha1PublicApi - axios parameter creator
6
+ * @export
7
+ */
8
+ export declare const NotificationV1alpha1PublicApiAxiosParamCreator: (configuration?: Configuration) => {
9
+ /**
10
+ * Unsubscribe a subscription
11
+ * @param {string} name Subscription name
12
+ * @param {string} token Unsubscribe token
13
+ * @param {*} [options] Override http request option.
14
+ * @throws {RequiredError}
15
+ */
16
+ unsubscribe: (name: string, token: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17
+ };
18
+ /**
19
+ * NotificationV1alpha1PublicApi - functional programming interface
20
+ * @export
21
+ */
22
+ export declare const NotificationV1alpha1PublicApiFp: (configuration?: Configuration) => {
23
+ /**
24
+ * Unsubscribe a subscription
25
+ * @param {string} name Subscription name
26
+ * @param {string} token Unsubscribe token
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ unsubscribe(name: string, token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
31
+ };
32
+ /**
33
+ * NotificationV1alpha1PublicApi - factory interface
34
+ * @export
35
+ */
36
+ export declare const NotificationV1alpha1PublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
37
+ /**
38
+ * Unsubscribe a subscription
39
+ * @param {NotificationV1alpha1PublicApiUnsubscribeRequest} requestParameters Request parameters.
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ unsubscribe(requestParameters: NotificationV1alpha1PublicApiUnsubscribeRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
44
+ };
45
+ /**
46
+ * Request parameters for unsubscribe operation in NotificationV1alpha1PublicApi.
47
+ * @export
48
+ * @interface NotificationV1alpha1PublicApiUnsubscribeRequest
49
+ */
50
+ export interface NotificationV1alpha1PublicApiUnsubscribeRequest {
51
+ /**
52
+ * Subscription name
53
+ * @type {string}
54
+ * @memberof NotificationV1alpha1PublicApiUnsubscribe
55
+ */
56
+ readonly name: string;
57
+ /**
58
+ * Unsubscribe token
59
+ * @type {string}
60
+ * @memberof NotificationV1alpha1PublicApiUnsubscribe
61
+ */
62
+ readonly token: string;
63
+ }
64
+ /**
65
+ * NotificationV1alpha1PublicApi - object-oriented interface
66
+ * @export
67
+ * @class NotificationV1alpha1PublicApi
68
+ * @extends {BaseAPI}
69
+ */
70
+ export declare class NotificationV1alpha1PublicApi extends BaseAPI {
71
+ /**
72
+ * Unsubscribe a subscription
73
+ * @param {NotificationV1alpha1PublicApiUnsubscribeRequest} requestParameters Request parameters.
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ * @memberof NotificationV1alpha1PublicApi
77
+ */
78
+ unsubscribe(requestParameters: NotificationV1alpha1PublicApiUnsubscribeRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<string, any>>;
79
+ }
@@ -27,13 +27,6 @@ export declare const PluginV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
27
27
  * @throws {RequiredError}
28
28
  */
29
29
  fetchJsBundle: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
- /**
31
- * Fetch configMap of plugin by configured configMapName. it is deprecated since 2.20.0
32
- * @param {string} name
33
- * @param {*} [options] Override http request option.
34
- * @throws {RequiredError}
35
- */
36
- fetchPluginConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
30
  /**
38
31
  * Fetch converted json config of plugin by configured configMapName.
39
32
  * @param {string} name
@@ -91,15 +84,6 @@ export declare const PluginV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
91
84
  * @throws {RequiredError}
92
85
  */
93
86
  resetPluginConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
94
- /**
95
- * Update the configMap of plugin setting, it is deprecated since 2.20.0
96
- * @param {string} name
97
- * @param {ConfigMap} configMap
98
- * @param {*} [options] Override http request option.
99
- * @deprecated
100
- * @throws {RequiredError}
101
- */
102
- updatePluginConfig: (name: string, configMap: ConfigMap, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
103
87
  /**
104
88
  * Update the config of plugin setting.
105
89
  * @param {string} name
@@ -152,13 +136,6 @@ export declare const PluginV1alpha1ConsoleApiFp: (configuration?: Configuration)
152
136
  * @throws {RequiredError}
153
137
  */
154
138
  fetchJsBundle(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
155
- /**
156
- * Fetch configMap of plugin by configured configMapName. it is deprecated since 2.20.0
157
- * @param {string} name
158
- * @param {*} [options] Override http request option.
159
- * @throws {RequiredError}
160
- */
161
- fetchPluginConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
162
139
  /**
163
140
  * Fetch converted json config of plugin by configured configMapName.
164
141
  * @param {string} name
@@ -216,15 +193,6 @@ export declare const PluginV1alpha1ConsoleApiFp: (configuration?: Configuration)
216
193
  * @throws {RequiredError}
217
194
  */
218
195
  resetPluginConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
219
- /**
220
- * Update the configMap of plugin setting, it is deprecated since 2.20.0
221
- * @param {string} name
222
- * @param {ConfigMap} configMap
223
- * @param {*} [options] Override http request option.
224
- * @deprecated
225
- * @throws {RequiredError}
226
- */
227
- updatePluginConfig(name: string, configMap: ConfigMap, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
228
196
  /**
229
197
  * Update the config of plugin setting.
230
198
  * @param {string} name
@@ -276,13 +244,6 @@ export declare const PluginV1alpha1ConsoleApiFactory: (configuration?: Configura
276
244
  * @throws {RequiredError}
277
245
  */
278
246
  fetchJsBundle(options?: RawAxiosRequestConfig): AxiosPromise<string>;
279
- /**
280
- * Fetch configMap of plugin by configured configMapName. it is deprecated since 2.20.0
281
- * @param {PluginV1alpha1ConsoleApiFetchPluginConfigRequest} requestParameters Request parameters.
282
- * @param {*} [options] Override http request option.
283
- * @throws {RequiredError}
284
- */
285
- fetchPluginConfig(requestParameters: PluginV1alpha1ConsoleApiFetchPluginConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
286
247
  /**
287
248
  * Fetch converted json config of plugin by configured configMapName.
288
249
  * @param {PluginV1alpha1ConsoleApiFetchPluginJsonConfigRequest} requestParameters Request parameters.
@@ -332,14 +293,6 @@ export declare const PluginV1alpha1ConsoleApiFactory: (configuration?: Configura
332
293
  * @throws {RequiredError}
333
294
  */
334
295
  resetPluginConfig(requestParameters: PluginV1alpha1ConsoleApiResetPluginConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
335
- /**
336
- * Update the configMap of plugin setting, it is deprecated since 2.20.0
337
- * @param {PluginV1alpha1ConsoleApiUpdatePluginConfigRequest} requestParameters Request parameters.
338
- * @param {*} [options] Override http request option.
339
- * @deprecated
340
- * @throws {RequiredError}
341
- */
342
- updatePluginConfig(requestParameters: PluginV1alpha1ConsoleApiUpdatePluginConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
343
296
  /**
344
297
  * Update the config of plugin setting.
345
298
  * @param {PluginV1alpha1ConsoleApiUpdatePluginJsonConfigRequest} requestParameters Request parameters.
@@ -381,19 +334,6 @@ export interface PluginV1alpha1ConsoleApiChangePluginRunningStateRequest {
381
334
  */
382
335
  readonly pluginRunningStateRequest: PluginRunningStateRequest;
383
336
  }
384
- /**
385
- * Request parameters for fetchPluginConfig operation in PluginV1alpha1ConsoleApi.
386
- * @export
387
- * @interface PluginV1alpha1ConsoleApiFetchPluginConfigRequest
388
- */
389
- export interface PluginV1alpha1ConsoleApiFetchPluginConfigRequest {
390
- /**
391
- *
392
- * @type {string}
393
- * @memberof PluginV1alpha1ConsoleApiFetchPluginConfig
394
- */
395
- readonly name: string;
396
- }
397
337
  /**
398
338
  * Request parameters for fetchPluginJsonConfig operation in PluginV1alpha1ConsoleApi.
399
339
  * @export
@@ -533,25 +473,6 @@ export interface PluginV1alpha1ConsoleApiResetPluginConfigRequest {
533
473
  */
534
474
  readonly name: string;
535
475
  }
536
- /**
537
- * Request parameters for updatePluginConfig operation in PluginV1alpha1ConsoleApi.
538
- * @export
539
- * @interface PluginV1alpha1ConsoleApiUpdatePluginConfigRequest
540
- */
541
- export interface PluginV1alpha1ConsoleApiUpdatePluginConfigRequest {
542
- /**
543
- *
544
- * @type {string}
545
- * @memberof PluginV1alpha1ConsoleApiUpdatePluginConfig
546
- */
547
- readonly name: string;
548
- /**
549
- *
550
- * @type {ConfigMap}
551
- * @memberof PluginV1alpha1ConsoleApiUpdatePluginConfig
552
- */
553
- readonly configMap: ConfigMap;
554
- }
555
476
  /**
556
477
  * Request parameters for updatePluginJsonConfig operation in PluginV1alpha1ConsoleApi.
557
478
  * @export
@@ -650,14 +571,6 @@ export declare class PluginV1alpha1ConsoleApi extends BaseAPI {
650
571
  * @memberof PluginV1alpha1ConsoleApi
651
572
  */
652
573
  fetchJsBundle(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<string, any>>;
653
- /**
654
- * Fetch configMap of plugin by configured configMapName. it is deprecated since 2.20.0
655
- * @param {PluginV1alpha1ConsoleApiFetchPluginConfigRequest} requestParameters Request parameters.
656
- * @param {*} [options] Override http request option.
657
- * @throws {RequiredError}
658
- * @memberof PluginV1alpha1ConsoleApi
659
- */
660
- fetchPluginConfig(requestParameters: PluginV1alpha1ConsoleApiFetchPluginConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
661
574
  /**
662
575
  * Fetch converted json config of plugin by configured configMapName.
663
576
  * @param {PluginV1alpha1ConsoleApiFetchPluginJsonConfigRequest} requestParameters Request parameters.
@@ -714,15 +627,6 @@ export declare class PluginV1alpha1ConsoleApi extends BaseAPI {
714
627
  * @memberof PluginV1alpha1ConsoleApi
715
628
  */
716
629
  resetPluginConfig(requestParameters: PluginV1alpha1ConsoleApiResetPluginConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
717
- /**
718
- * Update the configMap of plugin setting, it is deprecated since 2.20.0
719
- * @param {PluginV1alpha1ConsoleApiUpdatePluginConfigRequest} requestParameters Request parameters.
720
- * @param {*} [options] Override http request option.
721
- * @deprecated
722
- * @throws {RequiredError}
723
- * @memberof PluginV1alpha1ConsoleApi
724
- */
725
- updatePluginConfig(requestParameters: PluginV1alpha1ConsoleApiUpdatePluginConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
726
630
  /**
727
631
  * Update the config of plugin setting.
728
632
  * @param {PluginV1alpha1ConsoleApiUpdatePluginJsonConfigRequest} requestParameters Request parameters.
@@ -0,0 +1,137 @@
1
+ import { Configuration } from '../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../base';
4
+ /**
5
+ * PolicyAlpha1ConsoleApi - axios parameter creator
6
+ * @export
7
+ */
8
+ export declare const PolicyAlpha1ConsoleApiAxiosParamCreator: (configuration?: Configuration) => {
9
+ /**
10
+ * Get policy config by group
11
+ * @param {string} name Name of the policy
12
+ * @param {string} group Name of the group
13
+ * @param {*} [options] Override http request option.
14
+ * @throws {RequiredError}
15
+ */
16
+ getPolicyConfigByGroup: (name: string, group: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17
+ /**
18
+ * Update policy config by group
19
+ * @param {string} name Name of the policy
20
+ * @param {string} group Name of the group
21
+ * @param {object} body
22
+ * @param {*} [options] Override http request option.
23
+ * @throws {RequiredError}
24
+ */
25
+ updatePolicyConfigByGroup: (name: string, group: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26
+ };
27
+ /**
28
+ * PolicyAlpha1ConsoleApi - functional programming interface
29
+ * @export
30
+ */
31
+ export declare const PolicyAlpha1ConsoleApiFp: (configuration?: Configuration) => {
32
+ /**
33
+ * Get policy config by group
34
+ * @param {string} name Name of the policy
35
+ * @param {string} group Name of the group
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ getPolicyConfigByGroup(name: string, group: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
40
+ /**
41
+ * Update policy config by group
42
+ * @param {string} name Name of the policy
43
+ * @param {string} group Name of the group
44
+ * @param {object} body
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ updatePolicyConfigByGroup(name: string, group: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
49
+ };
50
+ /**
51
+ * PolicyAlpha1ConsoleApi - factory interface
52
+ * @export
53
+ */
54
+ export declare const PolicyAlpha1ConsoleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
55
+ /**
56
+ * Get policy config by group
57
+ * @param {PolicyAlpha1ConsoleApiGetPolicyConfigByGroupRequest} requestParameters Request parameters.
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ getPolicyConfigByGroup(requestParameters: PolicyAlpha1ConsoleApiGetPolicyConfigByGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
62
+ /**
63
+ * Update policy config by group
64
+ * @param {PolicyAlpha1ConsoleApiUpdatePolicyConfigByGroupRequest} requestParameters Request parameters.
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ updatePolicyConfigByGroup(requestParameters: PolicyAlpha1ConsoleApiUpdatePolicyConfigByGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
69
+ };
70
+ /**
71
+ * Request parameters for getPolicyConfigByGroup operation in PolicyAlpha1ConsoleApi.
72
+ * @export
73
+ * @interface PolicyAlpha1ConsoleApiGetPolicyConfigByGroupRequest
74
+ */
75
+ export interface PolicyAlpha1ConsoleApiGetPolicyConfigByGroupRequest {
76
+ /**
77
+ * Name of the policy
78
+ * @type {string}
79
+ * @memberof PolicyAlpha1ConsoleApiGetPolicyConfigByGroup
80
+ */
81
+ readonly name: string;
82
+ /**
83
+ * Name of the group
84
+ * @type {string}
85
+ * @memberof PolicyAlpha1ConsoleApiGetPolicyConfigByGroup
86
+ */
87
+ readonly group: string;
88
+ }
89
+ /**
90
+ * Request parameters for updatePolicyConfigByGroup operation in PolicyAlpha1ConsoleApi.
91
+ * @export
92
+ * @interface PolicyAlpha1ConsoleApiUpdatePolicyConfigByGroupRequest
93
+ */
94
+ export interface PolicyAlpha1ConsoleApiUpdatePolicyConfigByGroupRequest {
95
+ /**
96
+ * Name of the policy
97
+ * @type {string}
98
+ * @memberof PolicyAlpha1ConsoleApiUpdatePolicyConfigByGroup
99
+ */
100
+ readonly name: string;
101
+ /**
102
+ * Name of the group
103
+ * @type {string}
104
+ * @memberof PolicyAlpha1ConsoleApiUpdatePolicyConfigByGroup
105
+ */
106
+ readonly group: string;
107
+ /**
108
+ *
109
+ * @type {object}
110
+ * @memberof PolicyAlpha1ConsoleApiUpdatePolicyConfigByGroup
111
+ */
112
+ readonly body: object;
113
+ }
114
+ /**
115
+ * PolicyAlpha1ConsoleApi - object-oriented interface
116
+ * @export
117
+ * @class PolicyAlpha1ConsoleApi
118
+ * @extends {BaseAPI}
119
+ */
120
+ export declare class PolicyAlpha1ConsoleApi extends BaseAPI {
121
+ /**
122
+ * Get policy config by group
123
+ * @param {PolicyAlpha1ConsoleApiGetPolicyConfigByGroupRequest} requestParameters Request parameters.
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ * @memberof PolicyAlpha1ConsoleApi
127
+ */
128
+ getPolicyConfigByGroup(requestParameters: PolicyAlpha1ConsoleApiGetPolicyConfigByGroupRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<object, any>>;
129
+ /**
130
+ * Update policy config by group
131
+ * @param {PolicyAlpha1ConsoleApiUpdatePolicyConfigByGroupRequest} requestParameters Request parameters.
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ * @memberof PolicyAlpha1ConsoleApi
135
+ */
136
+ updatePolicyConfigByGroup(requestParameters: PolicyAlpha1ConsoleApiUpdatePolicyConfigByGroupRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
137
+ }
@@ -7,6 +7,12 @@ import { SiteStatsVo } from '../models';
7
7
  * @export
8
8
  */
9
9
  export declare const SystemV1alpha1PublicApiAxiosParamCreator: (configuration?: Configuration) => {
10
+ /**
11
+ * Jump to setup page
12
+ * @param {*} [options] Override http request option.
13
+ * @throws {RequiredError}
14
+ */
15
+ jumpToSetupPage: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10
16
  /**
11
17
  * Gets site stats
12
18
  * @param {*} [options] Override http request option.
@@ -19,6 +25,12 @@ export declare const SystemV1alpha1PublicApiAxiosParamCreator: (configuration?:
19
25
  * @export
20
26
  */
21
27
  export declare const SystemV1alpha1PublicApiFp: (configuration?: Configuration) => {
28
+ /**
29
+ * Jump to setup page
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ jumpToSetupPage(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
22
34
  /**
23
35
  * Gets site stats
24
36
  * @param {*} [options] Override http request option.
@@ -31,6 +43,12 @@ export declare const SystemV1alpha1PublicApiFp: (configuration?: Configuration)
31
43
  * @export
32
44
  */
33
45
  export declare const SystemV1alpha1PublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
46
+ /**
47
+ * Jump to setup page
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ jumpToSetupPage(options?: RawAxiosRequestConfig): AxiosPromise<string>;
34
52
  /**
35
53
  * Gets site stats
36
54
  * @param {*} [options] Override http request option.
@@ -45,6 +63,13 @@ export declare const SystemV1alpha1PublicApiFactory: (configuration?: Configurat
45
63
  * @extends {BaseAPI}
46
64
  */
47
65
  export declare class SystemV1alpha1PublicApi extends BaseAPI {
66
+ /**
67
+ * Jump to setup page
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ * @memberof SystemV1alpha1PublicApi
71
+ */
72
+ jumpToSetupPage(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<string, any>>;
48
73
  /**
49
74
  * Gets site stats
50
75
  * @param {*} [options] Override http request option.