@halo-dev/api-client 2.19.0 → 2.20.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 (131) hide show
  1. package/dist/entry/api-client.d.ts +8 -6
  2. package/dist/halo-api-client.es.js +2204 -2002
  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/plugin-v1alpha1-console-api.d.ts +104 -33
  8. package/dist/src/api/post-v1alpha1-uc-api.d.ts +42 -0
  9. package/dist/src/api/system-config-v1alpha1-console-api.d.ts +121 -0
  10. package/dist/src/api/system-v1alpha1-console-api.d.ts +1 -43
  11. package/dist/src/api/theme-v1alpha1-console-api.d.ts +108 -8
  12. package/dist/src/api/thumbnail-v1alpha1-public-api.d.ts +6 -6
  13. package/dist/src/api/user-connection-v1alpha1-uc-api.d.ts +72 -0
  14. package/dist/src/api.d.ts +3 -3
  15. package/dist/src/configuration.d.ts +1 -1
  16. package/dist/src/index.d.ts +1 -1
  17. package/dist/src/models/add-operation.d.ts +1 -1
  18. package/dist/src/models/attachment-spec.d.ts +1 -1
  19. package/dist/src/models/attachment-status.d.ts +1 -1
  20. package/dist/src/models/auth-provider-spec.d.ts +19 -2
  21. package/dist/src/models/author.d.ts +1 -1
  22. package/dist/src/models/backup-file.d.ts +1 -1
  23. package/dist/src/models/backup-spec.d.ts +1 -1
  24. package/dist/src/models/backup-status.d.ts +1 -1
  25. package/dist/src/models/category-spec.d.ts +1 -1
  26. package/dist/src/models/category-status.d.ts +1 -1
  27. package/dist/src/models/change-own-password-request.d.ts +1 -1
  28. package/dist/src/models/change-password-request.d.ts +1 -1
  29. package/dist/src/models/comment-email-owner.d.ts +1 -1
  30. package/dist/src/models/comment-owner.d.ts +1 -1
  31. package/dist/src/models/comment-stats-vo.d.ts +1 -1
  32. package/dist/src/models/comment-stats.d.ts +1 -1
  33. package/dist/src/models/comment-status.d.ts +1 -1
  34. package/dist/src/models/condition.d.ts +1 -1
  35. package/dist/src/models/config-map-ref.d.ts +1 -1
  36. package/dist/src/models/content-update-param.d.ts +1 -1
  37. package/dist/src/models/content-vo.d.ts +1 -1
  38. package/dist/src/models/content-wrapper.d.ts +1 -1
  39. package/dist/src/models/content.d.ts +1 -1
  40. package/dist/src/models/contributor.d.ts +1 -1
  41. package/dist/src/models/copy-operation.d.ts +1 -1
  42. package/dist/src/models/counter-request.d.ts +1 -1
  43. package/dist/src/models/create-user-request.d.ts +1 -1
  44. package/dist/src/models/dashboard-stats.d.ts +1 -1
  45. package/dist/src/models/device-spec.d.ts +1 -1
  46. package/dist/src/models/device-status.d.ts +1 -1
  47. package/dist/src/models/email-config-validation-request.d.ts +1 -1
  48. package/dist/src/models/email-verify-request.d.ts +1 -1
  49. package/dist/src/models/excerpt.d.ts +1 -1
  50. package/dist/src/models/extension-point-spec.d.ts +1 -1
  51. package/dist/src/models/extension-spec.d.ts +1 -1
  52. package/dist/src/models/file-reverse-proxy-provider.d.ts +1 -1
  53. package/dist/src/models/grant-request.d.ts +1 -1
  54. package/dist/src/models/group-kind.d.ts +1 -1
  55. package/dist/src/models/group-spec.d.ts +1 -1
  56. package/dist/src/models/group-status.d.ts +1 -1
  57. package/dist/src/models/halo-document.d.ts +1 -1
  58. package/dist/src/models/index.d.ts +1 -6
  59. package/dist/src/models/install-from-uri-request.d.ts +1 -1
  60. package/dist/src/models/interest-reason-subject.d.ts +1 -1
  61. package/dist/src/models/license.d.ts +1 -1
  62. package/dist/src/models/listed-auth-provider.d.ts +18 -1
  63. package/dist/src/models/listed-snapshot-spec.d.ts +1 -1
  64. package/dist/src/models/local-thumbnail-spec.d.ts +1 -1
  65. package/dist/src/models/local-thumbnail-status.d.ts +1 -1
  66. package/dist/src/models/login-history.d.ts +1 -1
  67. package/dist/src/models/mark-specified-request.d.ts +1 -1
  68. package/dist/src/models/menu-item-status.d.ts +1 -1
  69. package/dist/src/models/menu-spec.d.ts +1 -1
  70. package/dist/src/models/metadata.d.ts +1 -1
  71. package/dist/src/models/move-operation.d.ts +1 -1
  72. package/dist/src/models/notification-spec.d.ts +1 -1
  73. package/dist/src/models/notifier-info.d.ts +1 -1
  74. package/dist/src/models/notifier-setting-ref.d.ts +1 -1
  75. package/dist/src/models/owner-info.d.ts +1 -1
  76. package/dist/src/models/password-request.d.ts +1 -1
  77. package/dist/src/models/pat-spec.d.ts +1 -1
  78. package/dist/src/models/plugin-author.d.ts +1 -1
  79. package/dist/src/models/plugin-running-state-request.d.ts +1 -1
  80. package/dist/src/models/policy-rule.d.ts +1 -1
  81. package/dist/src/models/policy-spec.d.ts +1 -1
  82. package/dist/src/models/policy-template-spec.d.ts +1 -1
  83. package/dist/src/models/post-status.d.ts +1 -1
  84. package/dist/src/models/reason-attributes.d.ts +1 -1
  85. package/dist/src/models/reason-property.d.ts +1 -1
  86. package/dist/src/models/reason-selector.d.ts +1 -1
  87. package/dist/src/models/reason-subject.d.ts +1 -1
  88. package/dist/src/models/reason-type-info.d.ts +1 -1
  89. package/dist/src/models/reason-type-notifier-request.d.ts +1 -1
  90. package/dist/src/models/ref.d.ts +1 -1
  91. package/dist/src/models/remember-me-token-spec.d.ts +1 -1
  92. package/dist/src/models/remove-operation.d.ts +1 -1
  93. package/dist/src/models/replace-operation.d.ts +1 -1
  94. package/dist/src/models/reply-status.d.ts +1 -1
  95. package/dist/src/models/revert-snapshot-for-post-param.d.ts +1 -1
  96. package/dist/src/models/revert-snapshot-for-single-param.d.ts +1 -1
  97. package/dist/src/models/role-ref.d.ts +1 -1
  98. package/dist/src/models/search-option.d.ts +1 -1
  99. package/dist/src/models/setting-form.d.ts +1 -1
  100. package/dist/src/models/setting-ref.d.ts +1 -1
  101. package/dist/src/models/single-page-status.d.ts +1 -1
  102. package/dist/src/models/site-stats-vo.d.ts +1 -1
  103. package/dist/src/models/stats-vo.d.ts +1 -1
  104. package/dist/src/models/stats.d.ts +1 -1
  105. package/dist/src/models/subject.d.ts +1 -1
  106. package/dist/src/models/subscription-subscriber.d.ts +1 -1
  107. package/dist/src/models/tag-spec.d.ts +1 -1
  108. package/dist/src/models/tag-status.d.ts +1 -1
  109. package/dist/src/models/template-content.d.ts +1 -1
  110. package/dist/src/models/template-descriptor.d.ts +1 -1
  111. package/dist/src/models/test-operation.d.ts +1 -1
  112. package/dist/src/models/thumbnail-spec.d.ts +1 -1
  113. package/dist/src/models/totp-auth-link-response.d.ts +1 -1
  114. package/dist/src/models/totp-request.d.ts +1 -1
  115. package/dist/src/models/two-factor-auth-settings.d.ts +1 -1
  116. package/dist/src/models/uc-upload-request-form-data.d.ts +33 -0
  117. package/dist/src/models/upgrade-from-uri-request.d.ts +1 -1
  118. package/dist/src/models/upload-from-url-request.d.ts +1 -1
  119. package/dist/src/models/user-connection-spec.d.ts +1 -37
  120. package/dist/src/models/user-spec.d.ts +1 -1
  121. package/dist/src/models/verify-code-request.d.ts +1 -1
  122. package/dist/src/models/vote-request.d.ts +1 -1
  123. package/package.json +2 -2
  124. package/dist/src/api/login-api.d.ts +0 -55
  125. package/dist/src/api/user-v1alpha1-public-api.d.ts +0 -206
  126. package/dist/src/models/password-reset-email-request.d.ts +0 -30
  127. package/dist/src/models/public-key-response.d.ts +0 -24
  128. package/dist/src/models/register-verify-email-request.d.ts +0 -24
  129. package/dist/src/models/reset-password-request.d.ts +0 -30
  130. package/dist/src/models/sign-up-request.d.ts +0 -26
  131. 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 { DashboardStats, SystemInitializationRequest } from '../models';
4
+ import { DashboardStats } from '../models';
5
5
  /**
6
6
  * SystemV1alpha1ConsoleApi - axios parameter creator
7
7
  * @export
@@ -13,13 +13,6 @@ export declare const SystemV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
13
13
  * @throws {RequiredError}
14
14
  */
15
15
  getStats: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16
- /**
17
- * Initialize system
18
- * @param {SystemInitializationRequest} [systemInitializationRequest]
19
- * @param {*} [options] Override http request option.
20
- * @throws {RequiredError}
21
- */
22
- initialize: (systemInitializationRequest?: SystemInitializationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23
16
  };
24
17
  /**
25
18
  * SystemV1alpha1ConsoleApi - functional programming interface
@@ -32,13 +25,6 @@ export declare const SystemV1alpha1ConsoleApiFp: (configuration?: Configuration)
32
25
  * @throws {RequiredError}
33
26
  */
34
27
  getStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardStats>>;
35
- /**
36
- * Initialize system
37
- * @param {SystemInitializationRequest} [systemInitializationRequest]
38
- * @param {*} [options] Override http request option.
39
- * @throws {RequiredError}
40
- */
41
- initialize(systemInitializationRequest?: SystemInitializationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
42
28
  };
43
29
  /**
44
30
  * SystemV1alpha1ConsoleApi - factory interface
@@ -51,27 +37,7 @@ export declare const SystemV1alpha1ConsoleApiFactory: (configuration?: Configura
51
37
  * @throws {RequiredError}
52
38
  */
53
39
  getStats(options?: RawAxiosRequestConfig): AxiosPromise<DashboardStats>;
54
- /**
55
- * Initialize system
56
- * @param {SystemV1alpha1ConsoleApiInitializeRequest} requestParameters Request parameters.
57
- * @param {*} [options] Override http request option.
58
- * @throws {RequiredError}
59
- */
60
- initialize(requestParameters?: SystemV1alpha1ConsoleApiInitializeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
61
40
  };
62
- /**
63
- * Request parameters for initialize operation in SystemV1alpha1ConsoleApi.
64
- * @export
65
- * @interface SystemV1alpha1ConsoleApiInitializeRequest
66
- */
67
- export interface SystemV1alpha1ConsoleApiInitializeRequest {
68
- /**
69
- *
70
- * @type {SystemInitializationRequest}
71
- * @memberof SystemV1alpha1ConsoleApiInitialize
72
- */
73
- readonly systemInitializationRequest?: SystemInitializationRequest;
74
- }
75
41
  /**
76
42
  * SystemV1alpha1ConsoleApi - object-oriented interface
77
43
  * @export
@@ -86,12 +52,4 @@ export declare class SystemV1alpha1ConsoleApi extends BaseAPI {
86
52
  * @memberof SystemV1alpha1ConsoleApi
87
53
  */
88
54
  getStats(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<DashboardStats, any>>;
89
- /**
90
- * Initialize system
91
- * @param {SystemV1alpha1ConsoleApiInitializeRequest} requestParameters Request parameters.
92
- * @param {*} [options] Override http request option.
93
- * @throws {RequiredError}
94
- * @memberof SystemV1alpha1ConsoleApi
95
- */
96
- initialize(requestParameters?: SystemV1alpha1ConsoleApiInitializeRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
97
55
  }
@@ -21,12 +21,20 @@ export declare const ThemeV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
21
21
  */
22
22
  fetchActivatedTheme: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23
23
  /**
24
- * Fetch configMap of theme by configured configMapName.
24
+ * Fetch configMap of theme by configured configMapName. It is deprecated.
25
25
  * @param {string} name
26
26
  * @param {*} [options] Override http request option.
27
+ * @deprecated
27
28
  * @throws {RequiredError}
28
29
  */
29
30
  fetchThemeConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
+ /**
32
+ * Fetch converted json config of theme by configured configMapName.
33
+ * @param {string} name
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ fetchThemeJsonConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
38
  /**
31
39
  * Fetch setting of theme.
32
40
  * @param {string} name
@@ -80,13 +88,22 @@ export declare const ThemeV1alpha1ConsoleApiAxiosParamCreator: (configuration?:
80
88
  */
81
89
  resetThemeConfig: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
82
90
  /**
83
- * Update the configMap of theme setting.
91
+ * Update the configMap of theme setting. It is deprecated.
84
92
  * @param {string} name
85
93
  * @param {ConfigMap} configMap
86
94
  * @param {*} [options] Override http request option.
95
+ * @deprecated
87
96
  * @throws {RequiredError}
88
97
  */
89
98
  updateThemeConfig: (name: string, configMap: ConfigMap, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99
+ /**
100
+ * Update the configMap of theme setting.
101
+ * @param {string} name
102
+ * @param {object} body
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ updateThemeJsonConfig: (name: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
90
107
  /**
91
108
  * Upgrade theme
92
109
  * @param {string} name
@@ -123,12 +140,20 @@ export declare const ThemeV1alpha1ConsoleApiFp: (configuration?: Configuration)
123
140
  */
124
141
  fetchActivatedTheme(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Theme>>;
125
142
  /**
126
- * Fetch configMap of theme by configured configMapName.
143
+ * Fetch configMap of theme by configured configMapName. It is deprecated.
127
144
  * @param {string} name
128
145
  * @param {*} [options] Override http request option.
146
+ * @deprecated
129
147
  * @throws {RequiredError}
130
148
  */
131
149
  fetchThemeConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
150
+ /**
151
+ * Fetch converted json config of theme by configured configMapName.
152
+ * @param {string} name
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ fetchThemeJsonConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
132
157
  /**
133
158
  * Fetch setting of theme.
134
159
  * @param {string} name
@@ -182,13 +207,22 @@ export declare const ThemeV1alpha1ConsoleApiFp: (configuration?: Configuration)
182
207
  */
183
208
  resetThemeConfig(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
184
209
  /**
185
- * Update the configMap of theme setting.
210
+ * Update the configMap of theme setting. It is deprecated.
186
211
  * @param {string} name
187
212
  * @param {ConfigMap} configMap
188
213
  * @param {*} [options] Override http request option.
214
+ * @deprecated
189
215
  * @throws {RequiredError}
190
216
  */
191
217
  updateThemeConfig(name: string, configMap: ConfigMap, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigMap>>;
218
+ /**
219
+ * Update the configMap of theme setting.
220
+ * @param {string} name
221
+ * @param {object} body
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ */
225
+ updateThemeJsonConfig(name: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
192
226
  /**
193
227
  * Upgrade theme
194
228
  * @param {string} name
@@ -225,12 +259,20 @@ export declare const ThemeV1alpha1ConsoleApiFactory: (configuration?: Configurat
225
259
  */
226
260
  fetchActivatedTheme(options?: RawAxiosRequestConfig): AxiosPromise<Theme>;
227
261
  /**
228
- * Fetch configMap of theme by configured configMapName.
262
+ * Fetch configMap of theme by configured configMapName. It is deprecated.
229
263
  * @param {ThemeV1alpha1ConsoleApiFetchThemeConfigRequest} requestParameters Request parameters.
230
264
  * @param {*} [options] Override http request option.
265
+ * @deprecated
231
266
  * @throws {RequiredError}
232
267
  */
233
268
  fetchThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiFetchThemeConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
269
+ /**
270
+ * Fetch converted json config of theme by configured configMapName.
271
+ * @param {ThemeV1alpha1ConsoleApiFetchThemeJsonConfigRequest} requestParameters Request parameters.
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ */
275
+ fetchThemeJsonConfig(requestParameters: ThemeV1alpha1ConsoleApiFetchThemeJsonConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
234
276
  /**
235
277
  * Fetch setting of theme.
236
278
  * @param {ThemeV1alpha1ConsoleApiFetchThemeSettingRequest} requestParameters Request parameters.
@@ -280,12 +322,20 @@ export declare const ThemeV1alpha1ConsoleApiFactory: (configuration?: Configurat
280
322
  */
281
323
  resetThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiResetThemeConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
282
324
  /**
283
- * Update the configMap of theme setting.
325
+ * Update the configMap of theme setting. It is deprecated.
284
326
  * @param {ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest} requestParameters Request parameters.
285
327
  * @param {*} [options] Override http request option.
328
+ * @deprecated
286
329
  * @throws {RequiredError}
287
330
  */
288
331
  updateThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfigMap>;
332
+ /**
333
+ * Update the configMap of theme setting.
334
+ * @param {ThemeV1alpha1ConsoleApiUpdateThemeJsonConfigRequest} requestParameters Request parameters.
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ */
338
+ updateThemeJsonConfig(requestParameters: ThemeV1alpha1ConsoleApiUpdateThemeJsonConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
289
339
  /**
290
340
  * Upgrade theme
291
341
  * @param {ThemeV1alpha1ConsoleApiUpgradeThemeRequest} requestParameters Request parameters.
@@ -327,6 +377,19 @@ export interface ThemeV1alpha1ConsoleApiFetchThemeConfigRequest {
327
377
  */
328
378
  readonly name: string;
329
379
  }
380
+ /**
381
+ * Request parameters for fetchThemeJsonConfig operation in ThemeV1alpha1ConsoleApi.
382
+ * @export
383
+ * @interface ThemeV1alpha1ConsoleApiFetchThemeJsonConfigRequest
384
+ */
385
+ export interface ThemeV1alpha1ConsoleApiFetchThemeJsonConfigRequest {
386
+ /**
387
+ *
388
+ * @type {string}
389
+ * @memberof ThemeV1alpha1ConsoleApiFetchThemeJsonConfig
390
+ */
391
+ readonly name: string;
392
+ }
330
393
  /**
331
394
  * Request parameters for fetchThemeSetting operation in ThemeV1alpha1ConsoleApi.
332
395
  * @export
@@ -448,6 +511,25 @@ export interface ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest {
448
511
  */
449
512
  readonly configMap: ConfigMap;
450
513
  }
514
+ /**
515
+ * Request parameters for updateThemeJsonConfig operation in ThemeV1alpha1ConsoleApi.
516
+ * @export
517
+ * @interface ThemeV1alpha1ConsoleApiUpdateThemeJsonConfigRequest
518
+ */
519
+ export interface ThemeV1alpha1ConsoleApiUpdateThemeJsonConfigRequest {
520
+ /**
521
+ *
522
+ * @type {string}
523
+ * @memberof ThemeV1alpha1ConsoleApiUpdateThemeJsonConfig
524
+ */
525
+ readonly name: string;
526
+ /**
527
+ *
528
+ * @type {object}
529
+ * @memberof ThemeV1alpha1ConsoleApiUpdateThemeJsonConfig
530
+ */
531
+ readonly body: object;
532
+ }
451
533
  /**
452
534
  * Request parameters for upgradeTheme operation in ThemeV1alpha1ConsoleApi.
453
535
  * @export
@@ -509,13 +591,22 @@ export declare class ThemeV1alpha1ConsoleApi extends BaseAPI {
509
591
  */
510
592
  fetchActivatedTheme(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Theme, any>>;
511
593
  /**
512
- * Fetch configMap of theme by configured configMapName.
594
+ * Fetch configMap of theme by configured configMapName. It is deprecated.
513
595
  * @param {ThemeV1alpha1ConsoleApiFetchThemeConfigRequest} requestParameters Request parameters.
514
596
  * @param {*} [options] Override http request option.
597
+ * @deprecated
515
598
  * @throws {RequiredError}
516
599
  * @memberof ThemeV1alpha1ConsoleApi
517
600
  */
518
601
  fetchThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiFetchThemeConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
602
+ /**
603
+ * Fetch converted json config of theme by configured configMapName.
604
+ * @param {ThemeV1alpha1ConsoleApiFetchThemeJsonConfigRequest} requestParameters Request parameters.
605
+ * @param {*} [options] Override http request option.
606
+ * @throws {RequiredError}
607
+ * @memberof ThemeV1alpha1ConsoleApi
608
+ */
609
+ fetchThemeJsonConfig(requestParameters: ThemeV1alpha1ConsoleApiFetchThemeJsonConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<object, any>>;
519
610
  /**
520
611
  * Fetch setting of theme.
521
612
  * @param {ThemeV1alpha1ConsoleApiFetchThemeSettingRequest} requestParameters Request parameters.
@@ -572,13 +663,22 @@ export declare class ThemeV1alpha1ConsoleApi extends BaseAPI {
572
663
  */
573
664
  resetThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiResetThemeConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
574
665
  /**
575
- * Update the configMap of theme setting.
666
+ * Update the configMap of theme setting. It is deprecated.
576
667
  * @param {ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest} requestParameters Request parameters.
577
668
  * @param {*} [options] Override http request option.
669
+ * @deprecated
578
670
  * @throws {RequiredError}
579
671
  * @memberof ThemeV1alpha1ConsoleApi
580
672
  */
581
673
  updateThemeConfig(requestParameters: ThemeV1alpha1ConsoleApiUpdateThemeConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ConfigMap, any>>;
674
+ /**
675
+ * Update the configMap of theme setting.
676
+ * @param {ThemeV1alpha1ConsoleApiUpdateThemeJsonConfigRequest} requestParameters Request parameters.
677
+ * @param {*} [options] Override http request option.
678
+ * @throws {RequiredError}
679
+ * @memberof ThemeV1alpha1ConsoleApi
680
+ */
681
+ updateThemeJsonConfig(requestParameters: ThemeV1alpha1ConsoleApiUpdateThemeJsonConfigRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
582
682
  /**
583
683
  * Upgrade theme
584
684
  * @param {ThemeV1alpha1ConsoleApiUpgradeThemeRequest} requestParameters Request parameters.
@@ -9,11 +9,11 @@ export declare const ThumbnailV1alpha1PublicApiAxiosParamCreator: (configuration
9
9
  /**
10
10
  * Get thumbnail by URI
11
11
  * @param {string} uri The URI of the image
12
- * @param {string} width The width of the thumbnail
12
+ * @param {string} size The size of the thumbnail,available values are s,m,l,xl
13
13
  * @param {*} [options] Override http request option.
14
14
  * @throws {RequiredError}
15
15
  */
16
- getThumbnailByUri: (uri: string, width: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16
+ getThumbnailByUri: (uri: string, size: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17
17
  };
18
18
  /**
19
19
  * ThumbnailV1alpha1PublicApi - functional programming interface
@@ -23,11 +23,11 @@ export declare const ThumbnailV1alpha1PublicApiFp: (configuration?: Configuratio
23
23
  /**
24
24
  * Get thumbnail by URI
25
25
  * @param {string} uri The URI of the image
26
- * @param {string} width The width of the thumbnail
26
+ * @param {string} size The size of the thumbnail,available values are s,m,l,xl
27
27
  * @param {*} [options] Override http request option.
28
28
  * @throws {RequiredError}
29
29
  */
30
- getThumbnailByUri(uri: string, width: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
30
+ getThumbnailByUri(uri: string, size: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
31
31
  };
32
32
  /**
33
33
  * ThumbnailV1alpha1PublicApi - factory interface
@@ -55,11 +55,11 @@ export interface ThumbnailV1alpha1PublicApiGetThumbnailByUriRequest {
55
55
  */
56
56
  readonly uri: string;
57
57
  /**
58
- * The width of the thumbnail
58
+ * The size of the thumbnail,available values are s,m,l,xl
59
59
  * @type {string}
60
60
  * @memberof ThumbnailV1alpha1PublicApiGetThumbnailByUri
61
61
  */
62
- readonly width: string;
62
+ readonly size: string;
63
63
  }
64
64
  /**
65
65
  * ThumbnailV1alpha1PublicApi - object-oriented interface
@@ -0,0 +1,72 @@
1
+ import { Configuration } from '../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../base';
4
+ import { UserConnection } from '../models';
5
+ /**
6
+ * UserConnectionV1alpha1UcApi - axios parameter creator
7
+ * @export
8
+ */
9
+ export declare const UserConnectionV1alpha1UcApiAxiosParamCreator: (configuration?: Configuration) => {
10
+ /**
11
+ * Disconnect my connection from a third-party platform.
12
+ * @param {string} registerId The registration ID of the third-party platform.
13
+ * @param {*} [options] Override http request option.
14
+ * @throws {RequiredError}
15
+ */
16
+ disconnectMyConnection: (registerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17
+ };
18
+ /**
19
+ * UserConnectionV1alpha1UcApi - functional programming interface
20
+ * @export
21
+ */
22
+ export declare const UserConnectionV1alpha1UcApiFp: (configuration?: Configuration) => {
23
+ /**
24
+ * Disconnect my connection from a third-party platform.
25
+ * @param {string} registerId The registration ID of the third-party platform.
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ disconnectMyConnection(registerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserConnection>>>;
30
+ };
31
+ /**
32
+ * UserConnectionV1alpha1UcApi - factory interface
33
+ * @export
34
+ */
35
+ export declare const UserConnectionV1alpha1UcApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
36
+ /**
37
+ * Disconnect my connection from a third-party platform.
38
+ * @param {UserConnectionV1alpha1UcApiDisconnectMyConnectionRequest} requestParameters Request parameters.
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ disconnectMyConnection(requestParameters: UserConnectionV1alpha1UcApiDisconnectMyConnectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserConnection>>;
43
+ };
44
+ /**
45
+ * Request parameters for disconnectMyConnection operation in UserConnectionV1alpha1UcApi.
46
+ * @export
47
+ * @interface UserConnectionV1alpha1UcApiDisconnectMyConnectionRequest
48
+ */
49
+ export interface UserConnectionV1alpha1UcApiDisconnectMyConnectionRequest {
50
+ /**
51
+ * The registration ID of the third-party platform.
52
+ * @type {string}
53
+ * @memberof UserConnectionV1alpha1UcApiDisconnectMyConnection
54
+ */
55
+ readonly registerId: string;
56
+ }
57
+ /**
58
+ * UserConnectionV1alpha1UcApi - object-oriented interface
59
+ * @export
60
+ * @class UserConnectionV1alpha1UcApi
61
+ * @extends {BaseAPI}
62
+ */
63
+ export declare class UserConnectionV1alpha1UcApi extends BaseAPI {
64
+ /**
65
+ * Disconnect my connection from a third-party platform.
66
+ * @param {UserConnectionV1alpha1UcApiDisconnectMyConnectionRequest} requestParameters Request parameters.
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ * @memberof UserConnectionV1alpha1UcApi
70
+ */
71
+ disconnectMyConnection(requestParameters: UserConnectionV1alpha1UcApiDisconnectMyConnectionRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<UserConnection[], any>>;
72
+ }
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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,7 +32,6 @@ export * from './api/group-v1alpha1-api';
32
32
  export * from './api/index-v1alpha1-public-api';
33
33
  export * from './api/indices-v1alpha1-console-api';
34
34
  export * from './api/local-thumbnail-v1alpha1-api';
35
- export * from './api/login-api';
36
35
  export * from './api/menu-item-v1alpha1-api';
37
36
  export * from './api/menu-v1alpha1-api';
38
37
  export * from './api/menu-v1alpha1-public-api';
@@ -72,6 +71,7 @@ export * from './api/single-page-v1alpha1-public-api';
72
71
  export * from './api/snapshot-v1alpha1-api';
73
72
  export * from './api/snapshot-v1alpha1-uc-api';
74
73
  export * from './api/subscription-v1alpha1-api';
74
+ export * from './api/system-config-v1alpha1-console-api';
75
75
  export * from './api/system-v1alpha1-console-api';
76
76
  export * from './api/system-v1alpha1-public-api';
77
77
  export * from './api/tag-v1alpha1-api';
@@ -83,6 +83,6 @@ export * from './api/thumbnail-v1alpha1-api';
83
83
  export * from './api/thumbnail-v1alpha1-public-api';
84
84
  export * from './api/two-factor-auth-v1alpha1-uc-api';
85
85
  export * from './api/user-connection-v1alpha1-api';
86
+ export * from './api/user-connection-v1alpha1-uc-api';
86
87
  export * from './api/user-v1alpha1-api';
87
88
  export * from './api/user-v1alpha1-console-api';
88
- export * from './api/user-v1alpha1-public-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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6,6 +6,12 @@ import { SettingRef } from './setting-ref';
6
6
  * @interface AuthProviderSpec
7
7
  */
8
8
  export interface AuthProviderSpec {
9
+ /**
10
+ *
11
+ * @type {string}
12
+ * @memberof AuthProviderSpec
13
+ */
14
+ 'authType': AuthProviderSpecAuthTypeEnum;
9
15
  /**
10
16
  * Authentication url of the auth provider
11
17
  * @type {string}
@@ -50,10 +56,16 @@ export interface AuthProviderSpec {
50
56
  'logo'?: string;
51
57
  /**
52
58
  *
53
- * @type {number}
59
+ * @type {string}
60
+ * @memberof AuthProviderSpec
61
+ */
62
+ 'method'?: string;
63
+ /**
64
+ *
65
+ * @type {boolean}
54
66
  * @memberof AuthProviderSpec
55
67
  */
56
- 'priority'?: number;
68
+ 'rememberMeSupport'?: boolean;
57
69
  /**
58
70
  *
59
71
  * @type {SettingRef}
@@ -73,3 +85,8 @@ export interface AuthProviderSpec {
73
85
  */
74
86
  'website'?: string;
75
87
  }
88
+ export declare const AuthProviderSpecAuthTypeEnum: {
89
+ readonly Form: "FORM";
90
+ readonly Oauth2: "OAUTH2";
91
+ };
92
+ export type AuthProviderSpecAuthTypeEnum = typeof AuthProviderSpecAuthTypeEnum[keyof typeof AuthProviderSpecAuthTypeEnum];
@@ -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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.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.19.0-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.20.0-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).