@huyooo/ui 0.7.26 → 0.8.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 (84) hide show
  1. package/dist/{AuthkitAuthModal-C1Kgu1TA.js → AuthkitAuthModal-CX6-EB-D.js} +563 -628
  2. package/dist/{AuthkitSignInPhone-BG7r63dN.js → AuthkitSignInPhone-D3hR0dGZ.js} +100 -100
  3. package/dist/{Clipboard-8rWlOPTZ.js → Clipboard-CI4IUrMw.js} +13 -14
  4. package/dist/{Contact-Bpl7sIjY.js → Contact-mQa-gB4k.js} +3 -3
  5. package/dist/{CustomTable-BCOwLyRJ.js → CustomTable-D8ubfrWL.js} +2 -2
  6. package/dist/{FeedbackItem-DMpvHrOD.js → FeedbackItem-qaxaQ8gu.js} +4 -4
  7. package/dist/{FeedbackModal-DIhSPUPO.js → FeedbackModal-CUSOWVn5.js} +268 -303
  8. package/dist/{LandingPageSectionTabs-DYNXKElT.js → LandingPageSectionTabs-BOX6nVdh.js} +2 -2
  9. package/dist/MessageHandle-WcCeYl7E.js +1147 -0
  10. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BRficqbp.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BwZM2SQn.js} +38 -37
  11. package/dist/{PaySubscriptions-F5sNex0h.js → PaySubscriptions-DO2W3Y5v.js} +131 -171
  12. package/dist/ReferrerReferees-CXVi2pUl.js +106 -0
  13. package/dist/{Upload.vue_vue_type_script_setup_true_lang-D7ZGc2ZS.js → Upload.vue_vue_type_script_setup_true_lang-CY_Pk57x.js} +2 -2
  14. package/dist/{UserAccountMenu-CkUtqNxY.js → UserAccountMenu-CHkdka0u.js} +8 -8
  15. package/dist/{WidthContainer-DSQui1pX.js → WidthContainer-BBoIS50Z.js} +10 -10
  16. package/dist/apiClients-CChPISR0.js +1805 -0
  17. package/dist/authkit.js +6 -6
  18. package/dist/common.js +2 -2
  19. package/dist/components/Authkit/Auth/AuthkitAuthContainer.vue.d.ts +1 -1
  20. package/dist/components/Authkit/Auth/AuthkitAuthorize.vue.d.ts +1 -1
  21. package/dist/components/LandingPage/LandingPageLogo.vue.d.ts +1 -1
  22. package/dist/components/LandingPage/LandingPageStats.vue.d.ts +1 -1
  23. package/dist/components/Logo.vue.d.ts +1 -1
  24. package/dist/components/MenuItem.vue.d.ts +1 -1
  25. package/dist/components/Message/MessageTabs.vue.d.ts +2 -2
  26. package/dist/components/Upload/Upload.vue.d.ts +2 -2
  27. package/dist/components/User/UserBasicInformation.vue.d.ts +1 -1
  28. package/dist/components/User/UserPanel.vue.d.ts +2 -2
  29. package/dist/composables/Authkit/useAuthkitAuth.d.ts +1 -1
  30. package/dist/composables.js +9 -9
  31. package/dist/feedback.js +3 -3
  32. package/dist/{index-Bb-d5pBq.js → index-4_tj9bS1.js} +1 -1
  33. package/dist/index-96pA3ONI.js +30 -0
  34. package/dist/index.js +191 -189
  35. package/dist/landingPage.js +1 -1
  36. package/dist/main.d.ts +1 -2
  37. package/dist/message.js +3 -3
  38. package/dist/pay.js +1 -1
  39. package/dist/privateCom.js +1 -1
  40. package/dist/referrer.js +1 -1
  41. package/dist/style.css +1 -1
  42. package/dist/types/api/auth.generated.d.ts +2747 -0
  43. package/dist/types/api/billing.generated.d.ts +1964 -0
  44. package/dist/types/api/ones.generated.d.ts +5567 -0
  45. package/dist/upload.js +2 -2
  46. package/dist/{useAuthkitAppsAuthPageInfo-CtsTqri7.js → useAuthkitAppsAuthPageInfo-gn2zm_NY.js} +13 -27
  47. package/dist/{useAuthkitCreateAndUpdate-BUyZbiBj.js → useAuthkitCreateAndUpdate-yNpIyVXV.js} +2 -2
  48. package/dist/useAuthkitUsersProfile-D32zPSn2.js +174 -0
  49. package/dist/{useDownloads-Cl_-B4sP.js → useDownloads-MF9rK9J_.js} +2 -2
  50. package/dist/useMessageNotifications-CCfM6W6J.js +78 -0
  51. package/dist/{useSEO-C_4yDk7S.js → useSEO-DivOwPWc.js} +2 -2
  52. package/dist/{useTableHandle-6ekhLVbK.js → useTableHandle-DpemWl6Y.js} +2 -2
  53. package/dist/{useUploadCos-dYc8op7M.js → useUploadCos-BVvRc0BW.js} +159 -181
  54. package/dist/user.js +1 -1
  55. package/dist/utils/apiClients.d.ts +6 -0
  56. package/dist/utils/apiMiddlewares.d.ts +16 -0
  57. package/package.json +8 -3
  58. package/dist/MessageHandle-WA95I84_.js +0 -1207
  59. package/dist/MessageNotifications-DmgFNjH7.js +0 -35
  60. package/dist/ReferrerReferees-DMA8Tj5i.js +0 -113
  61. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  62. package/dist/api/Authkit/Users.d.ts +0 -15
  63. package/dist/api/Authkit/apps.d.ts +0 -2
  64. package/dist/api/Authkit/auth.d.ts +0 -50
  65. package/dist/api/Authkit/oauth.d.ts +0 -12
  66. package/dist/api/Authkit/verify.d.ts +0 -25
  67. package/dist/api/Buckets/Files.d.ts +0 -7
  68. package/dist/api/Buckets.d.ts +0 -2
  69. package/dist/api/Invoices.d.ts +0 -32
  70. package/dist/api/Message/ChangelogNotifications.d.ts +0 -17
  71. package/dist/api/Message/EventNotifications.d.ts +0 -16
  72. package/dist/api/Message/MessageNotifications.d.ts +0 -25
  73. package/dist/api/Message/NoticeNotifications.d.ts +0 -37
  74. package/dist/api/Messages.d.ts +0 -2
  75. package/dist/api/Orders.d.ts +0 -9
  76. package/dist/api/Products.d.ts +0 -20
  77. package/dist/api/Quotas.d.ts +0 -21
  78. package/dist/api/Referrer.d.ts +0 -1
  79. package/dist/api/Subscriptions.d.ts +0 -35
  80. package/dist/api/index.d.ts +0 -8
  81. package/dist/request-B4CMspsP.js +0 -196
  82. package/dist/useAuthkitUsersProfile-B7wHZwe-.js +0 -257
  83. package/dist/useMessageNotifications-CP7gi893.js +0 -78
  84. package/dist/utils/request.d.ts +0 -26
@@ -1,35 +0,0 @@
1
- import { c as s, g as o } from "./request-B4CMspsP.js";
2
- function i(e) {
3
- return s({
4
- url: `${o.onesPrefixUrl}/messageCenter/messageNotifications/own`,
5
- method: "post",
6
- data: e
7
- });
8
- }
9
- function n(e) {
10
- return s({
11
- url: `${o.onesPrefixUrl}/messageCenter/messageNotifications/findOne`,
12
- method: "post",
13
- data: e
14
- });
15
- }
16
- function a(e) {
17
- return s({
18
- url: `${o.onesPrefixUrl}/messageCenter/messageNotifications/read`,
19
- method: "post",
20
- data: e
21
- });
22
- }
23
- function r(e) {
24
- return s({
25
- url: `${o.onesPrefixUrl}/messageCenter/messageNotifications/readAll`,
26
- method: "post",
27
- data: e
28
- });
29
- }
30
- export {
31
- r as a,
32
- a as b,
33
- n as c,
34
- i as m
35
- };
@@ -1,113 +0,0 @@
1
- /* empty css */
2
- /* empty css */
3
- /* empty css */
4
- import { defineComponent as z, ref as p, createBlock as v, openBlock as g, unref as t, withCtx as _, createElementVNode as n, createVNode as w, createCommentVNode as A, toDisplayString as C, createTextVNode as V } from "vue";
5
- import { Modal as y } from "@arco-design/web-vue";
6
- import { c as T, g as U } from "./request-B4CMspsP.js";
7
- import { u as B } from "./useTableHandle-6ekhLVbK.js";
8
- import { C as D } from "./CustomTable-BCOwLyRJ.js";
9
- import { C as E } from "./Clipboard-8rWlOPTZ.js";
10
- import { a as H } from "./useAuthkitUsersProfile-B7wHZwe-.js";
11
- import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- function $(c) {
13
- return T({
14
- url: `${U.authPrefixUrl}/referrer/referees`,
15
- method: "post",
16
- data: c
17
- });
18
- }
19
- const j = {
20
- class: "invite-code-section"
21
- }, q = {
22
- class: "invite-code-value"
23
- }, F = /* @__PURE__ */ z({
24
- __name: "ReferrerReferees",
25
- emits: ["cancel"],
26
- setup(c, {
27
- expose: h,
28
- emit: b
29
- }) {
30
- const x = b, {
31
- pagination: a,
32
- dataSource: f,
33
- setPage: m
34
- } = B("被邀请人"), {
35
- userProfile: s
36
- } = H(), k = [{
37
- dataIndex: "email",
38
- slotName: "email",
39
- title: "被邀请人邮箱",
40
- ellipsis: !0,
41
- tooltip: !0
42
- }, {
43
- dataIndex: "createAt",
44
- slotName: "createAt",
45
- title: "创建日期",
46
- ellipsis: !0,
47
- tooltip: !0
48
- }], o = p(!1);
49
- async function u() {
50
- o.value = !0;
51
- const {
52
- data: e
53
- } = await $({
54
- current: a.value.current,
55
- pageSize: a.value.pageSize
56
- });
57
- o.value = !1, e && (f.value = e.items, a.value.total = e.count);
58
- }
59
- function I(e) {
60
- m(e, a.value.pageSize), u();
61
- }
62
- function P(e) {
63
- m(a.value.current, e), u();
64
- }
65
- const r = p(!1);
66
- function S() {
67
- r.value = !1, x("cancel");
68
- }
69
- function N(e) {
70
- r.value = e, u();
71
- }
72
- return h({
73
- setData: N
74
- }), (e, i) => (g(), v(t(y), {
75
- visible: r.value,
76
- "onUpdate:visible": i[0] || (i[0] = (l) => r.value = l),
77
- title: "被邀请人详情",
78
- width: "60%",
79
- "ok-loading": o.value,
80
- footer: !1,
81
- "mask-closable": !1,
82
- "unmount-on-close": "",
83
- onCancel: S
84
- }, {
85
- default: _(() => {
86
- var l, d;
87
- return [n("div", j, [i[1] || (i[1] = n("div", {
88
- class: "invite-code-label"
89
- }, "我的邀请码:", -1)), n("div", q, [n("span", null, C(((l = t(s)) == null ? void 0 : l.referrerId) || "-"), 1), (d = t(s)) != null && d.referrerId ? (g(), v(E, {
90
- key: 0,
91
- value: t(s).referrerId,
92
- message: "邀请码复制成功"
93
- }, null, 8, ["value"])) : A("", !0)])]), w(D, {
94
- columns: k,
95
- data: t(f),
96
- loading: o.value,
97
- pagination: t(a),
98
- onPageChange: I,
99
- onPageSizeChange: P
100
- }, {
101
- email: _(({
102
- record: R
103
- }) => [V(C(R.refereeInfo.email || "-"), 1)]),
104
- _: 1
105
- }, 8, ["data", "loading", "pagination"])];
106
- }),
107
- _: 1
108
- }, 8, ["visible", "ok-loading"]));
109
- }
110
- }), ae = /* @__PURE__ */ M(F, [["__scopeId", "data-v-50c96a24"]]);
111
- export {
112
- ae as R
113
- };
@@ -1,8 +0,0 @@
1
- var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function l(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- export {
6
- o as c,
7
- l as g
8
- };
@@ -1,15 +0,0 @@
1
- import { UserUpdateBaseInfoParams, UserUpdateEmailParams, UserUpdatePasswordParams } from '../../types/api';
2
- export declare function usersProfile(data?: Record<string, any>): Promise<import('../../utils/request').ApiResponse<any>>;
3
- export declare function usersUpdateBaseInfo(data: UserUpdateBaseInfoParams): Promise<import('../../utils/request').ApiResponse<any>>;
4
- export declare function usersUpdateEmail(data: UserUpdateEmailParams): Promise<import('../../utils/request').ApiResponse<any>>;
5
- export declare function usersUpdatePassword(data: UserUpdatePasswordParams): Promise<import('../../utils/request').ApiResponse<any>>;
6
- export declare function usersUnbindEmail(): Promise<import('../../utils/request').ApiResponse<any>>;
7
- /** 检查当前用户自己的业务依赖(用于自主注销) */
8
- export declare function usersCheckMyDependencies(): Promise<import('../../utils/request').ApiResponse<any>>;
9
- /** 用户自主注销账号 */
10
- export declare function usersDeleteAccount(data: {
11
- password: string;
12
- userToken: string;
13
- emailVerifyId: string;
14
- confirmText?: string;
15
- }): Promise<import('../../utils/request').ApiResponse<any>>;
@@ -1,2 +0,0 @@
1
- export declare function appsFindOne(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
2
- export declare function appsAuthPageInfo(): Promise<import('../../utils/request').ApiResponse<any>>;
@@ -1,50 +0,0 @@
1
- import { SignInParams, SignUpParams, ResetPasswordParams, OAuth2AuthorizeParams } from '../../types/api';
2
- export declare function authSignIn(data: SignInParams): Promise<import('../../utils/request').ApiResponse<any>>;
3
- export declare function authSignOut(): Promise<import('../../utils/request').ApiResponse<any>>;
4
- export declare function authResetPassword(data: ResetPasswordParams): Promise<import('../../utils/request').ApiResponse<any>>;
5
- export declare function authSignUp(data: SignUpParams): Promise<import('../../utils/request').ApiResponse<any>>;
6
- export declare function oauth2Authorize(data: OAuth2AuthorizeParams): Promise<import('../../utils/request').ApiResponse<any>>;
7
- export declare function refreshToken(refreshToken: string): Promise<import('../../utils/request').ApiResponse<any>>;
8
- /** 绑定邮箱参数 */
9
- interface BindEmailParams {
10
- email: string;
11
- userToken: string;
12
- emailVerifyId: string;
13
- }
14
- /**
15
- * 绑定邮箱(OAuth 用户用)
16
- * 用于 pending 状态的用户绑定邮箱,完成后状态变为 active
17
- */
18
- export declare function authBindEmail(data: BindEmailParams): Promise<import('../../utils/request').ApiResponse<any>>;
19
- /** 绑定手机号参数 */
20
- interface BindPhoneParams {
21
- phone: string;
22
- code: string;
23
- }
24
- /**
25
- * 绑定手机号
26
- */
27
- export declare function authBindPhone(data: BindPhoneParams): Promise<import('../../utils/request').ApiResponse<any>>;
28
- /** 手机号注册参数 */
29
- interface SignUpPhoneParams {
30
- phone: string;
31
- code: string;
32
- password?: string;
33
- referrerId?: string;
34
- }
35
- /**
36
- * 手机号注册
37
- */
38
- export declare function authSignUpPhone(data: SignUpPhoneParams): Promise<import('../../utils/request').ApiResponse<any>>;
39
- /** 统一登录参数 */
40
- interface SignInUnifiedParams {
41
- identifier: string;
42
- password?: string;
43
- code?: string;
44
- method: 'password' | 'code';
45
- }
46
- /**
47
- * 统一登录(支持邮箱/手机号 + 密码/验证码)
48
- */
49
- export declare function authSignInUnified(data: SignInUnifiedParams): Promise<import('../../utils/request').ApiResponse<any>>;
50
- export {};
@@ -1,12 +0,0 @@
1
- interface OauthLoginParams {
2
- appId: string;
3
- referrerId?: string;
4
- redirectUri?: string;
5
- }
6
- /** 获取 GitHub OAuth 登录地址(多租户支持) */
7
- export declare function githubLogin(params: OauthLoginParams): Promise<import('../../utils/request').ApiResponse<any>>;
8
- /** 获取 Google OAuth 登录地址(多租户支持) */
9
- export declare function googleLogin(params: OauthLoginParams): Promise<import('../../utils/request').ApiResponse<any>>;
10
- /** 获取 Microsoft OAuth 登录地址(多租户支持) */
11
- export declare function microsoftLogin(params: OauthLoginParams): Promise<import('../../utils/request').ApiResponse<any>>;
12
- export {};
@@ -1,25 +0,0 @@
1
- /** 邮箱验证响应 */
2
- export interface VerifyEmailResponse {
3
- emailVerifyId: string;
4
- }
5
- /** 密码验证响应 */
6
- export interface VerifyPasswordResponse {
7
- isValidate: boolean;
8
- message?: string;
9
- minPasswordComplexity?: number;
10
- rejectBreachedPasswords?: boolean;
11
- }
12
- export declare function verifyEmail(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
13
- export declare function verifyEmailRetry(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
14
- export declare function verifyPassword(data: {
15
- password: string;
16
- }): Promise<import('../../utils/request').ApiResponse<any>>;
17
- /** 发送短信验证码 */
18
- export declare function verifySmsRetry(data: {
19
- phone: string;
20
- }): Promise<import('../../utils/request').ApiResponse<any>>;
21
- /** 验证短信验证码 */
22
- export declare function verifySms(data: {
23
- phone: string;
24
- code: string;
25
- }): Promise<import('../../utils/request').ApiResponse<any>>;
@@ -1,7 +0,0 @@
1
- export declare function filesCreate(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
2
- export declare function filesDelete(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
3
- export declare function filesUpdate(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
4
- export declare function filesFind(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
5
- export declare function filesFindOne(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
6
- export declare function filesGetKeyAndCredentials(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
7
- export declare function filesGetUrl(data: any): Promise<import('../../utils/request').ApiResponse<any>>;
@@ -1,2 +0,0 @@
1
- export declare function filesGetUrl(data: any): Promise<import('../utils/request').ApiResponse<any>>;
2
- export declare function filesGetUrls(data: any): Promise<import('../utils/request').ApiResponse<any>>;
@@ -1,32 +0,0 @@
1
- /** 查询发票列表(管理端) */
2
- export declare function invoiceFind(data: {
3
- current: number;
4
- pageSize: number;
5
- where: Record<string, unknown>;
6
- }): Promise<import('../utils/request').ApiResponse<any>>;
7
- /** 查询发票详情 */
8
- export declare function invoiceFindOne(data: {
9
- id: string;
10
- }): Promise<import('../utils/request').ApiResponse<any>>;
11
- /** 我的发票列表 */
12
- export declare function invoiceMy(data?: {
13
- current?: number;
14
- pageSize?: number;
15
- status?: string;
16
- }): Promise<import('../utils/request').ApiResponse<any>>;
17
- /** 作废发票 */
18
- export declare function invoiceVoid(data: {
19
- id: string;
20
- reason?: string;
21
- }): Promise<import('../utils/request').ApiResponse<any>>;
22
- /** 发票统计 */
23
- export declare function invoiceStatistics(data?: {
24
- startTime?: string;
25
- endTime?: string;
26
- }): Promise<import('../utils/request').ApiResponse<any>>;
27
- /** 收入报表 */
28
- export declare function invoiceRevenueReport(data: {
29
- startTime: string;
30
- endTime: string;
31
- granularity: string;
32
- }): Promise<import('../utils/request').ApiResponse<any>>;
@@ -1,17 +0,0 @@
1
- /** 更新类型 */
2
- type ChangeType = 'feature' | 'improvement' | 'fix' | 'security' | 'breaking';
3
- /** 查询参数 */
4
- interface FindParams {
5
- current: number;
6
- pageSize: number;
7
- where?: {
8
- title?: string;
9
- version?: string;
10
- changeType?: ChangeType;
11
- };
12
- }
13
- export declare function changelogNotificationsFind(data: FindParams): Promise<import('../../utils/request').ApiResponse<any>>;
14
- export declare function changelogNotificationsFindOne(data: {
15
- id: string;
16
- }): Promise<import('../../utils/request').ApiResponse<any>>;
17
- export {};
@@ -1,16 +0,0 @@
1
- /** 活动状态(存储用) */
2
- type EventStatus = 'draft' | 'published';
3
- /** 查询参数 */
4
- interface FindParams {
5
- current: number;
6
- pageSize: number;
7
- where?: {
8
- title?: string;
9
- status?: EventStatus;
10
- };
11
- }
12
- export declare function eventNotificationsFind(data: FindParams): Promise<import('../../utils/request').ApiResponse<any>>;
13
- export declare function eventNotificationsFindOne(data: {
14
- id: string;
15
- }): Promise<import('../../utils/request').ApiResponse<any>>;
16
- export {};
@@ -1,25 +0,0 @@
1
- /** 消息优先级 */
2
- type MessagePriority = 'urgent' | 'high' | 'normal' | 'low';
3
- /** 查询参数 */
4
- interface FindParams {
5
- current: number;
6
- pageSize: number;
7
- where: {
8
- title?: string;
9
- type?: string;
10
- priority?: MessagePriority;
11
- read?: boolean;
12
- };
13
- }
14
- export declare function messageNotificationsFind(data: FindParams): Promise<import('../../utils/request').ApiResponse<any>>;
15
- export declare function messageNotificationsOwn(data: FindParams): Promise<import('../../utils/request').ApiResponse<any>>;
16
- export declare function messageNotificationsFindOne(data: {
17
- id: string;
18
- }): Promise<import('../../utils/request').ApiResponse<any>>;
19
- export declare function messageNotificationsRead(data: {
20
- messageId: string;
21
- }): Promise<import('../../utils/request').ApiResponse<any>>;
22
- export declare function messageNotificationsReadAll(data: {
23
- type: string;
24
- }): Promise<import('../../utils/request').ApiResponse<any>>;
25
- export {};
@@ -1,37 +0,0 @@
1
- /** 公告优先级 */
2
- type NoticePriority = 'urgent' | 'important' | 'normal';
3
- /** 公告状态(存储用) */
4
- type NoticeStatus = 'draft' | 'published';
5
- /** 查询参数(管理端) */
6
- interface FindParams {
7
- current: number;
8
- pageSize: number;
9
- where?: {
10
- title?: string;
11
- priority?: NoticePriority;
12
- status?: NoticeStatus;
13
- };
14
- }
15
- /** 查询参数(C端,支持已读过滤) */
16
- interface OwnParams {
17
- current: number;
18
- pageSize: number;
19
- where?: {
20
- title?: string;
21
- priority?: NoticePriority;
22
- read?: boolean;
23
- };
24
- }
25
- export declare function noticeNotificationsFind(data: FindParams): Promise<import('../../utils/request').ApiResponse<any>>;
26
- export declare function noticeNotificationsFindOne(data: {
27
- id: string;
28
- }): Promise<import('../../utils/request').ApiResponse<any>>;
29
- /** 查询用户可见的公告列表(C端,支持已读过滤) */
30
- export declare function noticeNotificationsOwn(data: OwnParams): Promise<import('../../utils/request').ApiResponse<any>>;
31
- /** 标记公告已读 */
32
- export declare function noticeNotificationsRead(data: {
33
- noticeId: string;
34
- }): Promise<import('../../utils/request').ApiResponse<any>>;
35
- /** 标记所有公告已读 */
36
- export declare function noticeNotificationsReadAll(): Promise<import('../../utils/request').ApiResponse<any>>;
37
- export {};
@@ -1,2 +0,0 @@
1
- export declare function messagesListIncremental(data: any): Promise<import('../utils/request').ApiResponse<any>>;
2
- export declare function messagesList(data: any): Promise<import('../utils/request').ApiResponse<any>>;
@@ -1,9 +0,0 @@
1
- export declare function orderCreate(data: any): Promise<import('../utils/request').ApiResponse<any>>;
2
- export declare function orderDelete(data: any): Promise<import('../utils/request').ApiResponse<any>>;
3
- export declare function orderUpdate(data: any): Promise<import('../utils/request').ApiResponse<any>>;
4
- export declare function orderFind(data: any): Promise<import('../utils/request').ApiResponse<any>>;
5
- export declare function orderFindOne(data: any): Promise<import('../utils/request').ApiResponse<any>>;
6
- export declare function orderCancel(data: any): Promise<import('../utils/request').ApiResponse<any>>;
7
- export declare function orderRefund(data: any): Promise<import('../utils/request').ApiResponse<any>>;
8
- export declare function orderBillQuery(data: any): Promise<import('../utils/request').ApiResponse<any>>;
9
- export declare function orderMyOrders(data: any): Promise<import('../utils/request').ApiResponse<any>>;
@@ -1,20 +0,0 @@
1
- /** 创建产品 */
2
- export declare function productCreate(data: Record<string, unknown>): Promise<import('../utils/request').ApiResponse<any>>;
3
- /** 删除产品 */
4
- export declare function productDelete(data: {
5
- id: string;
6
- }): Promise<import('../utils/request').ApiResponse<any>>;
7
- /** 更新产品 */
8
- export declare function productUpdate(data: Record<string, unknown>): Promise<import('../utils/request').ApiResponse<any>>;
9
- /** 查询产品列表 */
10
- export declare function productFind(data: {
11
- current: number;
12
- pageSize: number;
13
- where: Record<string, unknown>;
14
- }): Promise<import('../utils/request').ApiResponse<any>>;
15
- /** 查询产品详情 */
16
- export declare function productFindOne(data: {
17
- id: string;
18
- }): Promise<import('../utils/request').ApiResponse<any>>;
19
- /** 获取可用产品列表(用于定价页面) */
20
- export declare function productListActive(): Promise<import('../utils/request').ApiResponse<any>>;
@@ -1,21 +0,0 @@
1
- /** 创建配额定义 */
2
- export declare function quotaCreate(data: Record<string, unknown>): Promise<import('../utils/request').ApiResponse<any>>;
3
- /** 删除配额定义 */
4
- export declare function quotaDelete(data: {
5
- id: string;
6
- }): Promise<import('../utils/request').ApiResponse<any>>;
7
- /** 更新配额定义 */
8
- export declare function quotaUpdate(data: Record<string, unknown>): Promise<import('../utils/request').ApiResponse<any>>;
9
- /** 查询配额列表 */
10
- export declare function quotaFind(data: {
11
- current: number;
12
- pageSize: number;
13
- where: Record<string, unknown>;
14
- }): Promise<import('../utils/request').ApiResponse<any>>;
15
- /** 检查配额是否足够 */
16
- export declare function quotaCheck(data: {
17
- featureKey: string;
18
- amount?: number;
19
- }): Promise<import('../utils/request').ApiResponse<any>>;
20
- /** 获取我的配额使用情况 */
21
- export declare function quotaMy(): Promise<import('../utils/request').ApiResponse<any>>;
@@ -1 +0,0 @@
1
- export declare function referrerReferees(data: any): Promise<import('../utils/request').ApiResponse<any>>;
@@ -1,35 +0,0 @@
1
- /** 创建订阅 */
2
- export declare function subscriptionCreate(data: {
3
- priceId: string;
4
- couponCode?: string;
5
- }): Promise<import('../utils/request').ApiResponse<any>>;
6
- /** 取消订阅 */
7
- export declare function subscriptionCancel(data: {
8
- subscriptionId: string;
9
- cancelAtPeriodEnd?: boolean;
10
- reason?: string;
11
- }): Promise<import('../utils/request').ApiResponse<any>>;
12
- /** 恢复订阅 */
13
- export declare function subscriptionResume(data: {
14
- subscriptionId: string;
15
- }): Promise<import('../utils/request').ApiResponse<any>>;
16
- /** 升降级订阅 */
17
- export declare function subscriptionChange(data: {
18
- subscriptionId: string;
19
- newPriceId: string;
20
- proration?: boolean;
21
- }): Promise<import('../utils/request').ApiResponse<any>>;
22
- /** 我的订阅列表 */
23
- export declare function subscriptionMy(data?: {
24
- current?: number;
25
- pageSize?: number;
26
- status?: string;
27
- }): Promise<import('../utils/request').ApiResponse<any>>;
28
- /** 获取当前活跃订阅 */
29
- export declare function subscriptionCurrent(): Promise<import('../utils/request').ApiResponse<any>>;
30
- /** 查询订阅列表(管理端) */
31
- export declare function subscriptionFind(data: {
32
- current: number;
33
- pageSize: number;
34
- where: Record<string, unknown>;
35
- }): Promise<import('../utils/request').ApiResponse<any>>;
@@ -1,8 +0,0 @@
1
- export declare function feedbackCenterCreate(data: any): Promise<import('../utils/request').ApiResponse<any>>;
2
- export declare function feedbackCenterDelete(data: any): Promise<import('../utils/request').ApiResponse<any>>;
3
- export declare function feedbackCenterUpdate(data: any): Promise<import('../utils/request').ApiResponse<any>>;
4
- export declare function feedbackCenterFind(data: any): Promise<import('../utils/request').ApiResponse<any>>;
5
- export declare function feedbackCenterFindOne(data: any): Promise<import('../utils/request').ApiResponse<any>>;
6
- export declare function feedbackCenterUpdateStatus(data: any): Promise<import('../utils/request').ApiResponse<any>>;
7
- export declare function feedbackCenterOwn(data: any): Promise<import('../utils/request').ApiResponse<any>>;
8
- export declare function feedbackCenterUpdateMessages(data: any): Promise<import('../utils/request').ApiResponse<any>>;