@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
@@ -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.11-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.11-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.11-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.11-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Halo
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.20.11-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UcUploadRequestFormData
16
+ */
17
+ export interface UcUploadRequestFormData {
18
+ [key: string]: Array<object> | any;
19
+ /**
20
+ *
21
+ * @type {{ [key: string]: object; }}
22
+ * @memberof UcUploadRequestFormData
23
+ */
24
+ 'all'?: {
25
+ [key: string]: object;
26
+ };
27
+ /**
28
+ *
29
+ * @type {boolean}
30
+ * @memberof UcUploadRequestFormData
31
+ */
32
+ 'empty'?: boolean;
33
+ }
@@ -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.11-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.11-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.11-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,48 +15,12 @@
15
15
  * @interface UserConnectionSpec
16
16
  */
17
17
  export interface UserConnectionSpec {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof UserConnectionSpec
22
- */
23
- 'accessToken': string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof UserConnectionSpec
28
- */
29
- 'avatarUrl'?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof UserConnectionSpec
34
- */
35
- 'displayName': string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof UserConnectionSpec
40
- */
41
- 'expiresAt'?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof UserConnectionSpec
46
- */
47
- 'profileUrl'?: string;
48
18
  /**
49
19
  *
50
20
  * @type {string}
51
21
  * @memberof UserConnectionSpec
52
22
  */
53
23
  'providerUserId': string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof UserConnectionSpec
58
- */
59
- 'refreshToken'?: string;
60
24
  /**
61
25
  *
62
26
  * @type {string}
@@ -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.11-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.11-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.11-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halo-dev/api-client",
3
- "version": "2.19.0",
3
+ "version": "2.20.21",
4
4
  "description": "API Client for Halo 2",
5
5
  "homepage": "https://github.com/halo-dev/halo/tree/main/ui/packages/api-client#readme",
6
6
  "bugs": {
@@ -46,7 +46,7 @@
46
46
  "rimraf": "^5.0.7",
47
47
  "typescript": "~5.5.4",
48
48
  "unbuild": "^0.7.6",
49
- "vite-plugin-dts": "^4.0.3"
49
+ "vite-plugin-dts": "^4.2.2"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "axios": "^1.7.x"
@@ -1,79 +0,0 @@
1
- import { Configuration } from '../configuration';
2
- import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
- import { RequestArgs, BaseAPI } from '../base';
4
- /**
5
- * ApiNotificationHaloRunV1alpha1SubscriptionApi - axios parameter creator
6
- * @export
7
- */
8
- export declare const ApiNotificationHaloRunV1alpha1SubscriptionApiAxiosParamCreator: (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
- * ApiNotificationHaloRunV1alpha1SubscriptionApi - functional programming interface
20
- * @export
21
- */
22
- export declare const ApiNotificationHaloRunV1alpha1SubscriptionApiFp: (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
- * ApiNotificationHaloRunV1alpha1SubscriptionApi - factory interface
34
- * @export
35
- */
36
- export declare const ApiNotificationHaloRunV1alpha1SubscriptionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
37
- /**
38
- * Unsubscribe a subscription
39
- * @param {ApiNotificationHaloRunV1alpha1SubscriptionApiUnsubscribeRequest} requestParameters Request parameters.
40
- * @param {*} [options] Override http request option.
41
- * @throws {RequiredError}
42
- */
43
- unsubscribe(requestParameters: ApiNotificationHaloRunV1alpha1SubscriptionApiUnsubscribeRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
44
- };
45
- /**
46
- * Request parameters for unsubscribe operation in ApiNotificationHaloRunV1alpha1SubscriptionApi.
47
- * @export
48
- * @interface ApiNotificationHaloRunV1alpha1SubscriptionApiUnsubscribeRequest
49
- */
50
- export interface ApiNotificationHaloRunV1alpha1SubscriptionApiUnsubscribeRequest {
51
- /**
52
- * Subscription name
53
- * @type {string}
54
- * @memberof ApiNotificationHaloRunV1alpha1SubscriptionApiUnsubscribe
55
- */
56
- readonly name: string;
57
- /**
58
- * Unsubscribe token
59
- * @type {string}
60
- * @memberof ApiNotificationHaloRunV1alpha1SubscriptionApiUnsubscribe
61
- */
62
- readonly token: string;
63
- }
64
- /**
65
- * ApiNotificationHaloRunV1alpha1SubscriptionApi - object-oriented interface
66
- * @export
67
- * @class ApiNotificationHaloRunV1alpha1SubscriptionApi
68
- * @extends {BaseAPI}
69
- */
70
- export declare class ApiNotificationHaloRunV1alpha1SubscriptionApi extends BaseAPI {
71
- /**
72
- * Unsubscribe a subscription
73
- * @param {ApiNotificationHaloRunV1alpha1SubscriptionApiUnsubscribeRequest} requestParameters Request parameters.
74
- * @param {*} [options] Override http request option.
75
- * @throws {RequiredError}
76
- * @memberof ApiNotificationHaloRunV1alpha1SubscriptionApi
77
- */
78
- unsubscribe(requestParameters: ApiNotificationHaloRunV1alpha1SubscriptionApiUnsubscribeRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<string, any>>;
79
- }
@@ -1,55 +0,0 @@
1
- import { Configuration } from '../configuration';
2
- import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
- import { RequestArgs, BaseAPI } from '../base';
4
- import { PublicKeyResponse } from '../models';
5
- /**
6
- * LoginApi - axios parameter creator
7
- * @export
8
- */
9
- export declare const LoginApiAxiosParamCreator: (configuration?: Configuration) => {
10
- /**
11
- * Read public key for encrypting password.
12
- * @param {*} [options] Override http request option.
13
- * @throws {RequiredError}
14
- */
15
- getPublicKey: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16
- };
17
- /**
18
- * LoginApi - functional programming interface
19
- * @export
20
- */
21
- export declare const LoginApiFp: (configuration?: Configuration) => {
22
- /**
23
- * Read public key for encrypting password.
24
- * @param {*} [options] Override http request option.
25
- * @throws {RequiredError}
26
- */
27
- getPublicKey(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicKeyResponse>>;
28
- };
29
- /**
30
- * LoginApi - factory interface
31
- * @export
32
- */
33
- export declare const LoginApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
34
- /**
35
- * Read public key for encrypting password.
36
- * @param {*} [options] Override http request option.
37
- * @throws {RequiredError}
38
- */
39
- getPublicKey(options?: RawAxiosRequestConfig): AxiosPromise<PublicKeyResponse>;
40
- };
41
- /**
42
- * LoginApi - object-oriented interface
43
- * @export
44
- * @class LoginApi
45
- * @extends {BaseAPI}
46
- */
47
- export declare class LoginApi extends BaseAPI {
48
- /**
49
- * Read public key for encrypting password.
50
- * @param {*} [options] Override http request option.
51
- * @throws {RequiredError}
52
- * @memberof LoginApi
53
- */
54
- getPublicKey(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<PublicKeyResponse, any>>;
55
- }
@@ -1,206 +0,0 @@
1
- import { Configuration } from '../configuration';
2
- import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
- import { RequestArgs, BaseAPI } from '../base';
4
- import { PasswordResetEmailRequest, RegisterVerifyEmailRequest, ResetPasswordRequest, SignUpRequest, User } from '../models';
5
- /**
6
- * UserV1alpha1PublicApi - axios parameter creator
7
- * @export
8
- */
9
- export declare const UserV1alpha1PublicApiAxiosParamCreator: (configuration?: Configuration) => {
10
- /**
11
- * Reset password by token
12
- * @param {string} name The name of the user
13
- * @param {ResetPasswordRequest} resetPasswordRequest
14
- * @param {*} [options] Override http request option.
15
- * @throws {RequiredError}
16
- */
17
- resetPasswordByToken: (name: string, resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18
- /**
19
- * Send password reset email when forgot password
20
- * @param {PasswordResetEmailRequest} passwordResetEmailRequest
21
- * @param {*} [options] Override http request option.
22
- * @throws {RequiredError}
23
- */
24
- sendPasswordResetEmail: (passwordResetEmailRequest: PasswordResetEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25
- /**
26
- * Send registration verification email, which can be called when mustVerifyEmailOnRegistration in user settings is true
27
- * @param {RegisterVerifyEmailRequest} registerVerifyEmailRequest
28
- * @param {*} [options] Override http request option.
29
- * @throws {RequiredError}
30
- */
31
- sendRegisterVerifyEmail: (registerVerifyEmailRequest: RegisterVerifyEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
- /**
33
- * Sign up a new user
34
- * @param {SignUpRequest} signUpRequest
35
- * @param {*} [options] Override http request option.
36
- * @throws {RequiredError}
37
- */
38
- signUp: (signUpRequest: SignUpRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
- };
40
- /**
41
- * UserV1alpha1PublicApi - functional programming interface
42
- * @export
43
- */
44
- export declare const UserV1alpha1PublicApiFp: (configuration?: Configuration) => {
45
- /**
46
- * Reset password by token
47
- * @param {string} name The name of the user
48
- * @param {ResetPasswordRequest} resetPasswordRequest
49
- * @param {*} [options] Override http request option.
50
- * @throws {RequiredError}
51
- */
52
- resetPasswordByToken(name: string, resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
53
- /**
54
- * Send password reset email when forgot password
55
- * @param {PasswordResetEmailRequest} passwordResetEmailRequest
56
- * @param {*} [options] Override http request option.
57
- * @throws {RequiredError}
58
- */
59
- sendPasswordResetEmail(passwordResetEmailRequest: PasswordResetEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
60
- /**
61
- * Send registration verification email, which can be called when mustVerifyEmailOnRegistration in user settings is true
62
- * @param {RegisterVerifyEmailRequest} registerVerifyEmailRequest
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- sendRegisterVerifyEmail(registerVerifyEmailRequest: RegisterVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
67
- /**
68
- * Sign up a new user
69
- * @param {SignUpRequest} signUpRequest
70
- * @param {*} [options] Override http request option.
71
- * @throws {RequiredError}
72
- */
73
- signUp(signUpRequest: SignUpRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
74
- };
75
- /**
76
- * UserV1alpha1PublicApi - factory interface
77
- * @export
78
- */
79
- export declare const UserV1alpha1PublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
80
- /**
81
- * Reset password by token
82
- * @param {UserV1alpha1PublicApiResetPasswordByTokenRequest} requestParameters Request parameters.
83
- * @param {*} [options] Override http request option.
84
- * @throws {RequiredError}
85
- */
86
- resetPasswordByToken(requestParameters: UserV1alpha1PublicApiResetPasswordByTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
87
- /**
88
- * Send password reset email when forgot password
89
- * @param {UserV1alpha1PublicApiSendPasswordResetEmailRequest} requestParameters Request parameters.
90
- * @param {*} [options] Override http request option.
91
- * @throws {RequiredError}
92
- */
93
- sendPasswordResetEmail(requestParameters: UserV1alpha1PublicApiSendPasswordResetEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
94
- /**
95
- * Send registration verification email, which can be called when mustVerifyEmailOnRegistration in user settings is true
96
- * @param {UserV1alpha1PublicApiSendRegisterVerifyEmailRequest} requestParameters Request parameters.
97
- * @param {*} [options] Override http request option.
98
- * @throws {RequiredError}
99
- */
100
- sendRegisterVerifyEmail(requestParameters: UserV1alpha1PublicApiSendRegisterVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
101
- /**
102
- * Sign up a new user
103
- * @param {UserV1alpha1PublicApiSignUpRequest} requestParameters Request parameters.
104
- * @param {*} [options] Override http request option.
105
- * @throws {RequiredError}
106
- */
107
- signUp(requestParameters: UserV1alpha1PublicApiSignUpRequest, options?: RawAxiosRequestConfig): AxiosPromise<User>;
108
- };
109
- /**
110
- * Request parameters for resetPasswordByToken operation in UserV1alpha1PublicApi.
111
- * @export
112
- * @interface UserV1alpha1PublicApiResetPasswordByTokenRequest
113
- */
114
- export interface UserV1alpha1PublicApiResetPasswordByTokenRequest {
115
- /**
116
- * The name of the user
117
- * @type {string}
118
- * @memberof UserV1alpha1PublicApiResetPasswordByToken
119
- */
120
- readonly name: string;
121
- /**
122
- *
123
- * @type {ResetPasswordRequest}
124
- * @memberof UserV1alpha1PublicApiResetPasswordByToken
125
- */
126
- readonly resetPasswordRequest: ResetPasswordRequest;
127
- }
128
- /**
129
- * Request parameters for sendPasswordResetEmail operation in UserV1alpha1PublicApi.
130
- * @export
131
- * @interface UserV1alpha1PublicApiSendPasswordResetEmailRequest
132
- */
133
- export interface UserV1alpha1PublicApiSendPasswordResetEmailRequest {
134
- /**
135
- *
136
- * @type {PasswordResetEmailRequest}
137
- * @memberof UserV1alpha1PublicApiSendPasswordResetEmail
138
- */
139
- readonly passwordResetEmailRequest: PasswordResetEmailRequest;
140
- }
141
- /**
142
- * Request parameters for sendRegisterVerifyEmail operation in UserV1alpha1PublicApi.
143
- * @export
144
- * @interface UserV1alpha1PublicApiSendRegisterVerifyEmailRequest
145
- */
146
- export interface UserV1alpha1PublicApiSendRegisterVerifyEmailRequest {
147
- /**
148
- *
149
- * @type {RegisterVerifyEmailRequest}
150
- * @memberof UserV1alpha1PublicApiSendRegisterVerifyEmail
151
- */
152
- readonly registerVerifyEmailRequest: RegisterVerifyEmailRequest;
153
- }
154
- /**
155
- * Request parameters for signUp operation in UserV1alpha1PublicApi.
156
- * @export
157
- * @interface UserV1alpha1PublicApiSignUpRequest
158
- */
159
- export interface UserV1alpha1PublicApiSignUpRequest {
160
- /**
161
- *
162
- * @type {SignUpRequest}
163
- * @memberof UserV1alpha1PublicApiSignUp
164
- */
165
- readonly signUpRequest: SignUpRequest;
166
- }
167
- /**
168
- * UserV1alpha1PublicApi - object-oriented interface
169
- * @export
170
- * @class UserV1alpha1PublicApi
171
- * @extends {BaseAPI}
172
- */
173
- export declare class UserV1alpha1PublicApi extends BaseAPI {
174
- /**
175
- * Reset password by token
176
- * @param {UserV1alpha1PublicApiResetPasswordByTokenRequest} requestParameters Request parameters.
177
- * @param {*} [options] Override http request option.
178
- * @throws {RequiredError}
179
- * @memberof UserV1alpha1PublicApi
180
- */
181
- resetPasswordByToken(requestParameters: UserV1alpha1PublicApiResetPasswordByTokenRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
182
- /**
183
- * Send password reset email when forgot password
184
- * @param {UserV1alpha1PublicApiSendPasswordResetEmailRequest} requestParameters Request parameters.
185
- * @param {*} [options] Override http request option.
186
- * @throws {RequiredError}
187
- * @memberof UserV1alpha1PublicApi
188
- */
189
- sendPasswordResetEmail(requestParameters: UserV1alpha1PublicApiSendPasswordResetEmailRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
190
- /**
191
- * Send registration verification email, which can be called when mustVerifyEmailOnRegistration in user settings is true
192
- * @param {UserV1alpha1PublicApiSendRegisterVerifyEmailRequest} requestParameters Request parameters.
193
- * @param {*} [options] Override http request option.
194
- * @throws {RequiredError}
195
- * @memberof UserV1alpha1PublicApi
196
- */
197
- sendRegisterVerifyEmail(requestParameters: UserV1alpha1PublicApiSendRegisterVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
198
- /**
199
- * Sign up a new user
200
- * @param {UserV1alpha1PublicApiSignUpRequest} requestParameters Request parameters.
201
- * @param {*} [options] Override http request option.
202
- * @throws {RequiredError}
203
- * @memberof UserV1alpha1PublicApi
204
- */
205
- signUp(requestParameters: UserV1alpha1PublicApiSignUpRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<User, any>>;
206
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * Halo
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.19.0-SNAPSHOT
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface PasswordResetEmailRequest
16
- */
17
- export interface PasswordResetEmailRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof PasswordResetEmailRequest
22
- */
23
- 'email': string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof PasswordResetEmailRequest
28
- */
29
- 'username': string;
30
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * Halo
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.19.0-SNAPSHOT
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface PublicKeyResponse
16
- */
17
- export interface PublicKeyResponse {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof PublicKeyResponse
22
- */
23
- 'base64Format'?: string;
24
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * Halo
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.19.0-SNAPSHOT
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface RegisterVerifyEmailRequest
16
- */
17
- export interface RegisterVerifyEmailRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof RegisterVerifyEmailRequest
22
- */
23
- 'email': string;
24
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * Halo
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.19.0-SNAPSHOT
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ResetPasswordRequest
16
- */
17
- export interface ResetPasswordRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ResetPasswordRequest
22
- */
23
- 'newPassword': string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ResetPasswordRequest
28
- */
29
- 'token': string;
30
- }