@halo-dev/api-client 2.19.0 → 2.20.21

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 (136) hide show
  1. package/dist/entry/api-client.d.ts +10 -6
  2. package/dist/halo-api-client.es.js +4086 -3519
  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/attachment-v1alpha1-uc-api.d.ts +149 -1
  7. package/dist/src/api/default-api.d.ts +54 -0
  8. package/dist/src/api/notification-v1alpha1-public-api.d.ts +79 -0
  9. package/dist/src/api/plugin-v1alpha1-console-api.d.ts +104 -33
  10. package/dist/src/api/post-v1alpha1-uc-api.d.ts +42 -0
  11. package/dist/src/api/system-config-v1alpha1-console-api.d.ts +121 -0
  12. package/dist/src/api/system-v1alpha1-console-api.d.ts +1 -43
  13. package/dist/src/api/system-v1alpha1-public-api.d.ts +25 -0
  14. package/dist/src/api/theme-v1alpha1-console-api.d.ts +108 -8
  15. package/dist/src/api/thumbnail-v1alpha1-public-api.d.ts +6 -6
  16. package/dist/src/api/user-connection-v1alpha1-uc-api.d.ts +72 -0
  17. package/dist/src/api/user-v1alpha1-console-api.d.ts +84 -0
  18. package/dist/src/api.d.ts +5 -4
  19. package/dist/src/configuration.d.ts +1 -1
  20. package/dist/src/index.d.ts +1 -1
  21. package/dist/src/models/add-operation.d.ts +1 -1
  22. package/dist/src/models/attachment-spec.d.ts +1 -1
  23. package/dist/src/models/attachment-status.d.ts +1 -1
  24. package/dist/src/models/auth-provider-spec.d.ts +19 -2
  25. package/dist/src/models/author.d.ts +1 -1
  26. package/dist/src/models/backup-file.d.ts +1 -1
  27. package/dist/src/models/backup-spec.d.ts +1 -1
  28. package/dist/src/models/backup-status.d.ts +1 -1
  29. package/dist/src/models/category-spec.d.ts +1 -1
  30. package/dist/src/models/category-status.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 +1 -1
  34. package/dist/src/models/comment-owner.d.ts +1 -1
  35. package/dist/src/models/comment-stats-vo.d.ts +1 -1
  36. package/dist/src/models/comment-stats.d.ts +1 -1
  37. package/dist/src/models/comment-status.d.ts +1 -1
  38. package/dist/src/models/condition.d.ts +1 -1
  39. package/dist/src/models/config-map-ref.d.ts +1 -1
  40. package/dist/src/models/content-update-param.d.ts +1 -1
  41. package/dist/src/models/content-vo.d.ts +1 -1
  42. package/dist/src/models/content-wrapper.d.ts +1 -1
  43. package/dist/src/models/content.d.ts +1 -1
  44. package/dist/src/models/contributor.d.ts +1 -1
  45. package/dist/src/models/copy-operation.d.ts +1 -1
  46. package/dist/src/models/counter-request.d.ts +1 -1
  47. package/dist/src/models/create-user-request.d.ts +1 -1
  48. package/dist/src/models/dashboard-stats.d.ts +1 -1
  49. package/dist/src/models/device-spec.d.ts +1 -1
  50. package/dist/src/models/device-status.d.ts +1 -1
  51. package/dist/src/models/email-config-validation-request.d.ts +1 -1
  52. package/dist/src/models/email-verify-request.d.ts +1 -1
  53. package/dist/src/models/excerpt.d.ts +1 -1
  54. package/dist/src/models/extension-point-spec.d.ts +1 -1
  55. package/dist/src/models/extension-spec.d.ts +1 -1
  56. package/dist/src/models/file-reverse-proxy-provider.d.ts +1 -1
  57. package/dist/src/models/grant-request.d.ts +1 -1
  58. package/dist/src/models/group-kind.d.ts +1 -1
  59. package/dist/src/models/group-spec.d.ts +1 -1
  60. package/dist/src/models/group-status.d.ts +1 -1
  61. package/dist/src/models/halo-document.d.ts +1 -1
  62. package/dist/src/models/index.d.ts +1 -6
  63. package/dist/src/models/install-from-uri-request.d.ts +1 -1
  64. package/dist/src/models/interest-reason-subject.d.ts +1 -1
  65. package/dist/src/models/license.d.ts +1 -1
  66. package/dist/src/models/listed-auth-provider.d.ts +18 -1
  67. package/dist/src/models/listed-snapshot-spec.d.ts +1 -1
  68. package/dist/src/models/local-thumbnail-spec.d.ts +1 -1
  69. package/dist/src/models/local-thumbnail-status.d.ts +1 -1
  70. package/dist/src/models/login-history.d.ts +1 -1
  71. package/dist/src/models/mark-specified-request.d.ts +1 -1
  72. package/dist/src/models/menu-item-status.d.ts +1 -1
  73. package/dist/src/models/menu-spec.d.ts +2 -2
  74. package/dist/src/models/metadata.d.ts +1 -1
  75. package/dist/src/models/move-operation.d.ts +1 -1
  76. package/dist/src/models/notification-spec.d.ts +1 -1
  77. package/dist/src/models/notifier-info.d.ts +1 -1
  78. package/dist/src/models/notifier-setting-ref.d.ts +1 -1
  79. package/dist/src/models/owner-info.d.ts +1 -1
  80. package/dist/src/models/password-request.d.ts +1 -1
  81. package/dist/src/models/pat-spec.d.ts +1 -1
  82. package/dist/src/models/plugin-author.d.ts +1 -1
  83. package/dist/src/models/plugin-running-state-request.d.ts +1 -1
  84. package/dist/src/models/policy-rule.d.ts +1 -1
  85. package/dist/src/models/policy-spec.d.ts +1 -1
  86. package/dist/src/models/policy-template-spec.d.ts +1 -1
  87. package/dist/src/models/post-status.d.ts +1 -1
  88. package/dist/src/models/reason-attributes.d.ts +1 -1
  89. package/dist/src/models/reason-property.d.ts +1 -1
  90. package/dist/src/models/reason-selector.d.ts +1 -1
  91. package/dist/src/models/reason-subject.d.ts +1 -1
  92. package/dist/src/models/reason-type-info.d.ts +1 -1
  93. package/dist/src/models/reason-type-notifier-request.d.ts +1 -1
  94. package/dist/src/models/ref.d.ts +1 -1
  95. package/dist/src/models/remember-me-token-spec.d.ts +1 -1
  96. package/dist/src/models/remove-operation.d.ts +1 -1
  97. package/dist/src/models/replace-operation.d.ts +1 -1
  98. package/dist/src/models/reply-status.d.ts +1 -1
  99. package/dist/src/models/revert-snapshot-for-post-param.d.ts +1 -1
  100. package/dist/src/models/revert-snapshot-for-single-param.d.ts +1 -1
  101. package/dist/src/models/role-ref.d.ts +1 -1
  102. package/dist/src/models/search-option.d.ts +1 -1
  103. package/dist/src/models/setting-form.d.ts +1 -1
  104. package/dist/src/models/setting-ref.d.ts +1 -1
  105. package/dist/src/models/single-page-status.d.ts +1 -1
  106. package/dist/src/models/site-stats-vo.d.ts +1 -1
  107. package/dist/src/models/stats-vo.d.ts +1 -1
  108. package/dist/src/models/stats.d.ts +1 -1
  109. package/dist/src/models/subject.d.ts +1 -1
  110. package/dist/src/models/subscription-subscriber.d.ts +1 -1
  111. package/dist/src/models/tag-spec.d.ts +1 -1
  112. package/dist/src/models/tag-status.d.ts +1 -1
  113. package/dist/src/models/template-content.d.ts +1 -1
  114. package/dist/src/models/template-descriptor.d.ts +1 -1
  115. package/dist/src/models/test-operation.d.ts +1 -1
  116. package/dist/src/models/thumbnail-spec.d.ts +1 -1
  117. package/dist/src/models/totp-auth-link-response.d.ts +1 -1
  118. package/dist/src/models/totp-request.d.ts +1 -1
  119. package/dist/src/models/two-factor-auth-settings.d.ts +1 -1
  120. package/dist/src/models/uc-upload-request-form-data.d.ts +33 -0
  121. package/dist/src/models/upgrade-from-uri-request.d.ts +1 -1
  122. package/dist/src/models/upload-from-url-request.d.ts +1 -1
  123. package/dist/src/models/user-connection-spec.d.ts +1 -37
  124. package/dist/src/models/user-spec.d.ts +1 -1
  125. package/dist/src/models/verify-code-request.d.ts +1 -1
  126. package/dist/src/models/vote-request.d.ts +1 -1
  127. package/package.json +2 -2
  128. package/dist/src/api/api-notification-halo-run-v1alpha1-subscription-api.d.ts +0 -79
  129. package/dist/src/api/login-api.d.ts +0 -55
  130. package/dist/src/api/user-v1alpha1-public-api.d.ts +0 -206
  131. package/dist/src/models/password-reset-email-request.d.ts +0 -30
  132. package/dist/src/models/public-key-response.d.ts +0 -24
  133. package/dist/src/models/register-verify-email-request.d.ts +0 -24
  134. package/dist/src/models/reset-password-request.d.ts +0 -30
  135. package/dist/src/models/sign-up-request.d.ts +0 -26
  136. package/dist/src/models/system-initialization-request.d.ts +0 -42
@@ -1,7 +1,7 @@
1
1
  import { Configuration } from '../configuration';
2
2
  import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
3
  import { RequestArgs, BaseAPI } from '../base';
4
- import { Attachment, UploadFromUrlRequest } from '../models';
4
+ import { Attachment, AttachmentList, UcUploadRequestFormData, UploadFromUrlRequest } from '../models';
5
5
  /**
6
6
  * AttachmentV1alpha1UcApi - axios parameter creator
7
7
  * @export
@@ -25,6 +25,28 @@ export declare const AttachmentV1alpha1UcApiAxiosParamCreator: (configuration?:
25
25
  * @throws {RequiredError}
26
26
  */
27
27
  externalTransferAttachment1: (uploadFromUrlRequest: UploadFromUrlRequest, waitForPermalink?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
+ /**
29
+ * List attachments of the current user uploaded.
30
+ * @param {number} [page] Page number. Default is 0.
31
+ * @param {number} [size] Size number. Default is 0.
32
+ * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
33
+ * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
34
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
35
+ * @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
36
+ * @param {string} [keyword] Keyword for searching.
37
+ * @param {Array<string>} [accepts] Acceptable media types.
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ listMyAttachments: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, ungrouped?: boolean, keyword?: string, accepts?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42
+ /**
43
+ * Upload attachment to user center storage.
44
+ * @param {File} file
45
+ * @param {UcUploadRequestFormData} [formData]
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ uploadUcAttachment: (file: File, formData?: UcUploadRequestFormData, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
50
  };
29
51
  /**
30
52
  * AttachmentV1alpha1UcApi - functional programming interface
@@ -49,6 +71,28 @@ export declare const AttachmentV1alpha1UcApiFp: (configuration?: Configuration)
49
71
  * @throws {RequiredError}
50
72
  */
51
73
  externalTransferAttachment1(uploadFromUrlRequest: UploadFromUrlRequest, waitForPermalink?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
74
+ /**
75
+ * List attachments of the current user uploaded.
76
+ * @param {number} [page] Page number. Default is 0.
77
+ * @param {number} [size] Size number. Default is 0.
78
+ * @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!&#x3D;true
79
+ * @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
80
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
81
+ * @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
82
+ * @param {string} [keyword] Keyword for searching.
83
+ * @param {Array<string>} [accepts] Acceptable media types.
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ listMyAttachments(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>>;
88
+ /**
89
+ * Upload attachment to user center storage.
90
+ * @param {File} file
91
+ * @param {UcUploadRequestFormData} [formData]
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ uploadUcAttachment(file: File, formData?: UcUploadRequestFormData, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
52
96
  };
53
97
  /**
54
98
  * AttachmentV1alpha1UcApi - factory interface
@@ -69,6 +113,20 @@ export declare const AttachmentV1alpha1UcApiFactory: (configuration?: Configurat
69
113
  * @throws {RequiredError}
70
114
  */
71
115
  externalTransferAttachment1(requestParameters: AttachmentV1alpha1UcApiExternalTransferAttachment1Request, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
116
+ /**
117
+ * List attachments of the current user uploaded.
118
+ * @param {AttachmentV1alpha1UcApiListMyAttachmentsRequest} requestParameters Request parameters.
119
+ * @param {*} [options] Override http request option.
120
+ * @throws {RequiredError}
121
+ */
122
+ listMyAttachments(requestParameters?: AttachmentV1alpha1UcApiListMyAttachmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AttachmentList>;
123
+ /**
124
+ * Upload attachment to user center storage.
125
+ * @param {AttachmentV1alpha1UcApiUploadUcAttachmentRequest} requestParameters Request parameters.
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ uploadUcAttachment(requestParameters: AttachmentV1alpha1UcApiUploadUcAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
72
130
  };
73
131
  /**
74
132
  * Request parameters for createAttachmentForPost operation in AttachmentV1alpha1UcApi.
@@ -120,6 +178,80 @@ export interface AttachmentV1alpha1UcApiExternalTransferAttachment1Request {
120
178
  */
121
179
  readonly waitForPermalink?: boolean;
122
180
  }
181
+ /**
182
+ * Request parameters for listMyAttachments operation in AttachmentV1alpha1UcApi.
183
+ * @export
184
+ * @interface AttachmentV1alpha1UcApiListMyAttachmentsRequest
185
+ */
186
+ export interface AttachmentV1alpha1UcApiListMyAttachmentsRequest {
187
+ /**
188
+ * Page number. Default is 0.
189
+ * @type {number}
190
+ * @memberof AttachmentV1alpha1UcApiListMyAttachments
191
+ */
192
+ readonly page?: number;
193
+ /**
194
+ * Size number. Default is 0.
195
+ * @type {number}
196
+ * @memberof AttachmentV1alpha1UcApiListMyAttachments
197
+ */
198
+ readonly size?: number;
199
+ /**
200
+ * Label selector. e.g.: hidden!&#x3D;true
201
+ * @type {Array<string>}
202
+ * @memberof AttachmentV1alpha1UcApiListMyAttachments
203
+ */
204
+ readonly labelSelector?: Array<string>;
205
+ /**
206
+ * Field selector. e.g.: metadata.name&#x3D;&#x3D;halo
207
+ * @type {Array<string>}
208
+ * @memberof AttachmentV1alpha1UcApiListMyAttachments
209
+ */
210
+ readonly fieldSelector?: Array<string>;
211
+ /**
212
+ * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
213
+ * @type {Array<string>}
214
+ * @memberof AttachmentV1alpha1UcApiListMyAttachments
215
+ */
216
+ readonly sort?: Array<string>;
217
+ /**
218
+ * Filter attachments without group. This parameter will ignore group parameter.
219
+ * @type {boolean}
220
+ * @memberof AttachmentV1alpha1UcApiListMyAttachments
221
+ */
222
+ readonly ungrouped?: boolean;
223
+ /**
224
+ * Keyword for searching.
225
+ * @type {string}
226
+ * @memberof AttachmentV1alpha1UcApiListMyAttachments
227
+ */
228
+ readonly keyword?: string;
229
+ /**
230
+ * Acceptable media types.
231
+ * @type {Array<string>}
232
+ * @memberof AttachmentV1alpha1UcApiListMyAttachments
233
+ */
234
+ readonly accepts?: Array<string>;
235
+ }
236
+ /**
237
+ * Request parameters for uploadUcAttachment operation in AttachmentV1alpha1UcApi.
238
+ * @export
239
+ * @interface AttachmentV1alpha1UcApiUploadUcAttachmentRequest
240
+ */
241
+ export interface AttachmentV1alpha1UcApiUploadUcAttachmentRequest {
242
+ /**
243
+ *
244
+ * @type {File}
245
+ * @memberof AttachmentV1alpha1UcApiUploadUcAttachment
246
+ */
247
+ readonly file: File;
248
+ /**
249
+ *
250
+ * @type {UcUploadRequestFormData}
251
+ * @memberof AttachmentV1alpha1UcApiUploadUcAttachment
252
+ */
253
+ readonly formData?: UcUploadRequestFormData;
254
+ }
123
255
  /**
124
256
  * AttachmentV1alpha1UcApi - object-oriented interface
125
257
  * @export
@@ -143,4 +275,20 @@ export declare class AttachmentV1alpha1UcApi extends BaseAPI {
143
275
  * @memberof AttachmentV1alpha1UcApi
144
276
  */
145
277
  externalTransferAttachment1(requestParameters: AttachmentV1alpha1UcApiExternalTransferAttachment1Request, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
278
+ /**
279
+ * List attachments of the current user uploaded.
280
+ * @param {AttachmentV1alpha1UcApiListMyAttachmentsRequest} requestParameters Request parameters.
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ * @memberof AttachmentV1alpha1UcApi
284
+ */
285
+ listMyAttachments(requestParameters?: AttachmentV1alpha1UcApiListMyAttachmentsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<AttachmentList, any>>;
286
+ /**
287
+ * Upload attachment to user center storage.
288
+ * @param {AttachmentV1alpha1UcApiUploadUcAttachmentRequest} requestParameters Request parameters.
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ * @memberof AttachmentV1alpha1UcApi
292
+ */
293
+ uploadUcAttachment(requestParameters: AttachmentV1alpha1UcApiUploadUcAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
146
294
  }
@@ -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
+ }
@@ -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
+ }
@@ -28,12 +28,19 @@ export declare const PluginV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
28
28
  */
29
29
  fetchJsBundle: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
30
  /**
31
- * Fetch configMap of plugin by configured configMapName.
31
+ * Fetch configMap of plugin by configured configMapName. it is deprecated since 2.20.0
32
32
  * @param {string} name
33
33
  * @param {*} [options] Override http request option.
34
34
  * @throws {RequiredError}
35
35
  */
36
36
  fetchPluginConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ * Fetch converted json config of plugin by configured configMapName.
39
+ * @param {string} name
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ fetchPluginJsonConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
44
  /**
38
45
  * Fetch setting of plugin.
39
46
  * @param {string} name
@@ -57,12 +64,6 @@ export declare const PluginV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
57
64
  * @throws {RequiredError}
58
65
  */
59
66
  installPluginFromUri: (installFromUriRequest: InstallFromUriRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
- /**
61
- * List all plugin presets in the system.
62
- * @param {*} [options] Override http request option.
63
- * @throws {RequiredError}
64
- */
65
- listPluginPresets: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66
67
  /**
67
68
  * List plugins using query criteria and sort params
68
69
  * @param {number} [page] Page number. Default is 0.
@@ -91,13 +92,22 @@ export declare const PluginV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
91
92
  */
92
93
  resetPluginConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
93
94
  /**
94
- * Update the configMap of plugin setting.
95
+ * Update the configMap of plugin setting, it is deprecated since 2.20.0
95
96
  * @param {string} name
96
97
  * @param {ConfigMap} configMap
97
98
  * @param {*} [options] Override http request option.
99
+ * @deprecated
98
100
  * @throws {RequiredError}
99
101
  */
100
102
  updatePluginConfig: (name: string, configMap: ConfigMap, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
103
+ /**
104
+ * Update the config of plugin setting.
105
+ * @param {string} name
106
+ * @param {object} body
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ updatePluginJsonConfig: (name: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
101
111
  /**
102
112
  * Upgrade a plugin by uploading a Jar file
103
113
  * @param {string} name
@@ -143,12 +153,19 @@ export declare const PluginV1alpha1ConsoleApiFp: (configuration?: Configuration)
143
153
  */
144
154
  fetchJsBundle(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
145
155
  /**
146
- * Fetch configMap of plugin by configured configMapName.
156
+ * Fetch configMap of plugin by configured configMapName. it is deprecated since 2.20.0
147
157
  * @param {string} name
148
158
  * @param {*} [options] Override http request option.
149
159
  * @throws {RequiredError}
150
160
  */
151
161
  fetchPluginConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
162
+ /**
163
+ * Fetch converted json config of plugin by configured configMapName.
164
+ * @param {string} name
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ fetchPluginJsonConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
152
169
  /**
153
170
  * Fetch setting of plugin.
154
171
  * @param {string} name
@@ -172,12 +189,6 @@ export declare const PluginV1alpha1ConsoleApiFp: (configuration?: Configuration)
172
189
  * @throws {RequiredError}
173
190
  */
174
191
  installPluginFromUri(installFromUriRequest: InstallFromUriRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Plugin>>;
175
- /**
176
- * List all plugin presets in the system.
177
- * @param {*} [options] Override http request option.
178
- * @throws {RequiredError}
179
- */
180
- listPluginPresets(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Plugin>>>;
181
192
  /**
182
193
  * List plugins using query criteria and sort params
183
194
  * @param {number} [page] Page number. Default is 0.
@@ -206,13 +217,22 @@ export declare const PluginV1alpha1ConsoleApiFp: (configuration?: Configuration)
206
217
  */
207
218
  resetPluginConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
208
219
  /**
209
- * Update the configMap of plugin setting.
220
+ * Update the configMap of plugin setting, it is deprecated since 2.20.0
210
221
  * @param {string} name
211
222
  * @param {ConfigMap} configMap
212
223
  * @param {*} [options] Override http request option.
224
+ * @deprecated
213
225
  * @throws {RequiredError}
214
226
  */
215
227
  updatePluginConfig(name: string, configMap: ConfigMap, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
228
+ /**
229
+ * Update the config of plugin setting.
230
+ * @param {string} name
231
+ * @param {object} body
232
+ * @param {*} [options] Override http request option.
233
+ * @throws {RequiredError}
234
+ */
235
+ updatePluginJsonConfig(name: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
216
236
  /**
217
237
  * Upgrade a plugin by uploading a Jar file
218
238
  * @param {string} name
@@ -257,12 +277,19 @@ export declare const PluginV1alpha1ConsoleApiFactory: (configuration?: Configura
257
277
  */
258
278
  fetchJsBundle(options?: RawAxiosRequestConfig): AxiosPromise<string>;
259
279
  /**
260
- * Fetch configMap of plugin by configured configMapName.
280
+ * Fetch configMap of plugin by configured configMapName. it is deprecated since 2.20.0
261
281
  * @param {PluginV1alpha1ConsoleApiFetchPluginConfigRequest} requestParameters Request parameters.
262
282
  * @param {*} [options] Override http request option.
263
283
  * @throws {RequiredError}
264
284
  */
265
285
  fetchPluginConfig(requestParameters: PluginV1alpha1ConsoleApiFetchPluginConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
286
+ /**
287
+ * Fetch converted json config of plugin by configured configMapName.
288
+ * @param {PluginV1alpha1ConsoleApiFetchPluginJsonConfigRequest} requestParameters Request parameters.
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ fetchPluginJsonConfig(requestParameters: PluginV1alpha1ConsoleApiFetchPluginJsonConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
266
293
  /**
267
294
  * Fetch setting of plugin.
268
295
  * @param {PluginV1alpha1ConsoleApiFetchPluginSettingRequest} requestParameters Request parameters.
@@ -284,12 +311,6 @@ export declare const PluginV1alpha1ConsoleApiFactory: (configuration?: Configura
284
311
  * @throws {RequiredError}
285
312
  */
286
313
  installPluginFromUri(requestParameters: PluginV1alpha1ConsoleApiInstallPluginFromUriRequest, options?: RawAxiosRequestConfig): AxiosPromise<Plugin>;
287
- /**
288
- * List all plugin presets in the system.
289
- * @param {*} [options] Override http request option.
290
- * @throws {RequiredError}
291
- */
292
- listPluginPresets(options?: RawAxiosRequestConfig): AxiosPromise<Array<Plugin>>;
293
314
  /**
294
315
  * List plugins using query criteria and sort params
295
316
  * @param {PluginV1alpha1ConsoleApiListPluginsRequest} requestParameters Request parameters.
@@ -312,12 +333,20 @@ export declare const PluginV1alpha1ConsoleApiFactory: (configuration?: Configura
312
333
  */
313
334
  resetPluginConfig(requestParameters: PluginV1alpha1ConsoleApiResetPluginConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
314
335
  /**
315
- * Update the configMap of plugin setting.
336
+ * Update the configMap of plugin setting, it is deprecated since 2.20.0
316
337
  * @param {PluginV1alpha1ConsoleApiUpdatePluginConfigRequest} requestParameters Request parameters.
317
338
  * @param {*} [options] Override http request option.
339
+ * @deprecated
318
340
  * @throws {RequiredError}
319
341
  */
320
342
  updatePluginConfig(requestParameters: PluginV1alpha1ConsoleApiUpdatePluginConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
343
+ /**
344
+ * Update the config of plugin setting.
345
+ * @param {PluginV1alpha1ConsoleApiUpdatePluginJsonConfigRequest} requestParameters Request parameters.
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ */
349
+ updatePluginJsonConfig(requestParameters: PluginV1alpha1ConsoleApiUpdatePluginJsonConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
321
350
  /**
322
351
  * Upgrade a plugin by uploading a Jar file
323
352
  * @param {PluginV1alpha1ConsoleApiUpgradePluginRequest} requestParameters Request parameters.
@@ -365,6 +394,19 @@ export interface PluginV1alpha1ConsoleApiFetchPluginConfigRequest {
365
394
  */
366
395
  readonly name: string;
367
396
  }
397
+ /**
398
+ * Request parameters for fetchPluginJsonConfig operation in PluginV1alpha1ConsoleApi.
399
+ * @export
400
+ * @interface PluginV1alpha1ConsoleApiFetchPluginJsonConfigRequest
401
+ */
402
+ export interface PluginV1alpha1ConsoleApiFetchPluginJsonConfigRequest {
403
+ /**
404
+ *
405
+ * @type {string}
406
+ * @memberof PluginV1alpha1ConsoleApiFetchPluginJsonConfig
407
+ */
408
+ readonly name: string;
409
+ }
368
410
  /**
369
411
  * Request parameters for fetchPluginSetting operation in PluginV1alpha1ConsoleApi.
370
412
  * @export
@@ -510,6 +552,25 @@ export interface PluginV1alpha1ConsoleApiUpdatePluginConfigRequest {
510
552
  */
511
553
  readonly configMap: ConfigMap;
512
554
  }
555
+ /**
556
+ * Request parameters for updatePluginJsonConfig operation in PluginV1alpha1ConsoleApi.
557
+ * @export
558
+ * @interface PluginV1alpha1ConsoleApiUpdatePluginJsonConfigRequest
559
+ */
560
+ export interface PluginV1alpha1ConsoleApiUpdatePluginJsonConfigRequest {
561
+ /**
562
+ *
563
+ * @type {string}
564
+ * @memberof PluginV1alpha1ConsoleApiUpdatePluginJsonConfig
565
+ */
566
+ readonly name: string;
567
+ /**
568
+ *
569
+ * @type {object}
570
+ * @memberof PluginV1alpha1ConsoleApiUpdatePluginJsonConfig
571
+ */
572
+ readonly body: object;
573
+ }
513
574
  /**
514
575
  * Request parameters for upgradePlugin operation in PluginV1alpha1ConsoleApi.
515
576
  * @export
@@ -590,13 +651,21 @@ export declare class PluginV1alpha1ConsoleApi extends BaseAPI {
590
651
  */
591
652
  fetchJsBundle(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<string, any>>;
592
653
  /**
593
- * Fetch configMap of plugin by configured configMapName.
654
+ * Fetch configMap of plugin by configured configMapName. it is deprecated since 2.20.0
594
655
  * @param {PluginV1alpha1ConsoleApiFetchPluginConfigRequest} requestParameters Request parameters.
595
656
  * @param {*} [options] Override http request option.
596
657
  * @throws {RequiredError}
597
658
  * @memberof PluginV1alpha1ConsoleApi
598
659
  */
599
660
  fetchPluginConfig(requestParameters: PluginV1alpha1ConsoleApiFetchPluginConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
661
+ /**
662
+ * Fetch converted json config of plugin by configured configMapName.
663
+ * @param {PluginV1alpha1ConsoleApiFetchPluginJsonConfigRequest} requestParameters Request parameters.
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ * @memberof PluginV1alpha1ConsoleApi
667
+ */
668
+ fetchPluginJsonConfig(requestParameters: PluginV1alpha1ConsoleApiFetchPluginJsonConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<object, any>>;
600
669
  /**
601
670
  * Fetch setting of plugin.
602
671
  * @param {PluginV1alpha1ConsoleApiFetchPluginSettingRequest} requestParameters Request parameters.
@@ -621,13 +690,6 @@ export declare class PluginV1alpha1ConsoleApi extends BaseAPI {
621
690
  * @memberof PluginV1alpha1ConsoleApi
622
691
  */
623
692
  installPluginFromUri(requestParameters: PluginV1alpha1ConsoleApiInstallPluginFromUriRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Plugin, any>>;
624
- /**
625
- * List all plugin presets in the system.
626
- * @param {*} [options] Override http request option.
627
- * @throws {RequiredError}
628
- * @memberof PluginV1alpha1ConsoleApi
629
- */
630
- listPluginPresets(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Plugin[], any>>;
631
693
  /**
632
694
  * List plugins using query criteria and sort params
633
695
  * @param {PluginV1alpha1ConsoleApiListPluginsRequest} requestParameters Request parameters.
@@ -653,13 +715,22 @@ export declare class PluginV1alpha1ConsoleApi extends BaseAPI {
653
715
  */
654
716
  resetPluginConfig(requestParameters: PluginV1alpha1ConsoleApiResetPluginConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
655
717
  /**
656
- * Update the configMap of plugin setting.
718
+ * Update the configMap of plugin setting, it is deprecated since 2.20.0
657
719
  * @param {PluginV1alpha1ConsoleApiUpdatePluginConfigRequest} requestParameters Request parameters.
658
720
  * @param {*} [options] Override http request option.
721
+ * @deprecated
659
722
  * @throws {RequiredError}
660
723
  * @memberof PluginV1alpha1ConsoleApi
661
724
  */
662
725
  updatePluginConfig(requestParameters: PluginV1alpha1ConsoleApiUpdatePluginConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
726
+ /**
727
+ * Update the config of plugin setting.
728
+ * @param {PluginV1alpha1ConsoleApiUpdatePluginJsonConfigRequest} requestParameters Request parameters.
729
+ * @param {*} [options] Override http request option.
730
+ * @throws {RequiredError}
731
+ * @memberof PluginV1alpha1ConsoleApi
732
+ */
733
+ updatePluginJsonConfig(requestParameters: PluginV1alpha1ConsoleApiUpdatePluginJsonConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
663
734
  /**
664
735
  * Upgrade a plugin by uploading a Jar file
665
736
  * @param {PluginV1alpha1ConsoleApiUpgradePluginRequest} requestParameters Request parameters.
@@ -50,6 +50,13 @@ export declare const PostV1alpha1UcApiAxiosParamCreator: (configuration?: Config
50
50
  * @throws {RequiredError}
51
51
  */
52
52
  publishMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
+ /**
54
+ * Move my post to recycle bin.
55
+ * @param {string} name Post name
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ recycleMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
60
  /**
54
61
  * Unpublish my post.
55
62
  * @param {string} name Post name
@@ -122,6 +129,13 @@ export declare const PostV1alpha1UcApiFp: (configuration?: Configuration) => {
122
129
  * @throws {RequiredError}
123
130
  */
124
131
  publishMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
132
+ /**
133
+ * Move my post to recycle bin.
134
+ * @param {string} name Post name
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ recycleMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
125
139
  /**
126
140
  * Unpublish my post.
127
141
  * @param {string} name Post name
@@ -186,6 +200,13 @@ export declare const PostV1alpha1UcApiFactory: (configuration?: Configuration, b
186
200
  * @throws {RequiredError}
187
201
  */
188
202
  publishMyPost(requestParameters: PostV1alpha1UcApiPublishMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
203
+ /**
204
+ * Move my post to recycle bin.
205
+ * @param {PostV1alpha1UcApiRecycleMyPostRequest} requestParameters Request parameters.
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ recycleMyPost(requestParameters: PostV1alpha1UcApiRecycleMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
189
210
  /**
190
211
  * Unpublish my post.
191
212
  * @param {PostV1alpha1UcApiUnpublishMyPostRequest} requestParameters Request parameters.
@@ -321,6 +342,19 @@ export interface PostV1alpha1UcApiPublishMyPostRequest {
321
342
  */
322
343
  readonly name: string;
323
344
  }
345
+ /**
346
+ * Request parameters for recycleMyPost operation in PostV1alpha1UcApi.
347
+ * @export
348
+ * @interface PostV1alpha1UcApiRecycleMyPostRequest
349
+ */
350
+ export interface PostV1alpha1UcApiRecycleMyPostRequest {
351
+ /**
352
+ * Post name
353
+ * @type {string}
354
+ * @memberof PostV1alpha1UcApiRecycleMyPost
355
+ */
356
+ readonly name: string;
357
+ }
324
358
  /**
325
359
  * Request parameters for unpublishMyPost operation in PostV1alpha1UcApi.
326
360
  * @export
@@ -419,6 +453,14 @@ export declare class PostV1alpha1UcApi extends BaseAPI {
419
453
  * @memberof PostV1alpha1UcApi
420
454
  */
421
455
  publishMyPost(requestParameters: PostV1alpha1UcApiPublishMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
456
+ /**
457
+ * Move my post to recycle bin.
458
+ * @param {PostV1alpha1UcApiRecycleMyPostRequest} requestParameters Request parameters.
459
+ * @param {*} [options] Override http request option.
460
+ * @throws {RequiredError}
461
+ * @memberof PostV1alpha1UcApi
462
+ */
463
+ recycleMyPost(requestParameters: PostV1alpha1UcApiRecycleMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
422
464
  /**
423
465
  * Unpublish my post.
424
466
  * @param {PostV1alpha1UcApiUnpublishMyPostRequest} requestParameters Request parameters.