@huyooo/ui 3.0.2 → 4.0.1
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.
- package/dist/{AuthkitAppSetting-DNUAV5I8.js → AuthkitAppSetting-Cg8j3nES.js} +41 -42
- package/dist/{Contact-CNLjyOCR.js → Contact-D9NRguTE.js} +4 -4
- package/dist/{CustomTable-B1KjkixL.js → CustomTable-C15Dgbks.js} +4 -4
- package/dist/{FeedbackItem-BP-SiJ2u.js → FeedbackItem-hnJ7YXdE.js} +1 -1
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-Ddy1jcdL.js +1526 -0
- package/dist/{LandingPageSectionTabs-BEAnU8B0.js → LandingPageSectionTabs-BJQeq3V5.js} +515 -402
- package/dist/{LegalDocViewer-B8nGoL2n.js → LegalDocViewer-BuzKCAfO.js} +44 -45
- package/dist/{Menu-uCexrsKP.js → Menu-C6NA8hCs.js} +1 -1
- package/dist/{MessageHandle-BKMBtqZM.js → MessageHandle-Cu23QspL.js} +13 -14
- package/dist/{MessageList-BK4u5DCH.js → MessageList-DdDKl9wk.js} +6 -7
- package/dist/{PaySubscriptions-tJSQUmhE.js → PaySubscriptions-ZSvRTG2i.js} +14 -15
- package/dist/{PricingPlans-B3HVDVac.js → PricingPlans-DTGJ-_us.js} +13 -14
- package/dist/{ReferrerReferees-DEdEjkFH.js → ReferrerReferees-gkKtDau-.js} +25 -26
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-CZjNlns_.js → Upload.vue_vue_type_script_setup_true_lang-C6B5_Hjo.js} +2 -2
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Bal7vFj8.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BH6l-SKs.js} +34 -35
- package/dist/{WidthContainer-Ck7Cr5Wc.js → WidthContainer-DXwIiG2x.js} +32 -32
- package/dist/{apiClients-8_c5cDW5.js → apiClients-5u4_uxFE.js} +47 -48
- package/dist/authkit.js +10 -10
- package/dist/common/globalConfig.d.ts +4 -4
- package/dist/common.js +3 -3
- package/dist/components/LandingPage/LandingPageHero.vue.d.ts +22 -0
- package/dist/components/Pay/PricingPlans.vue.d.ts +1 -1
- package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +21 -0
- package/dist/composables/useAccessPosture.d.ts +31 -0
- package/dist/composables.d.ts +1 -0
- package/dist/composables.js +53 -49
- package/dist/feedback.js +3 -3
- package/dist/{fetchAuthPageAboutUs--dArFYk6.js → fetchAuthPageAboutUs-C-jQ44QK.js} +2 -2
- package/dist/{index-D9YtlhTa.js → index-5OR_BVTz.js} +4 -5
- package/dist/{index-D56hUMeD.js → index-BIxwv9Xs.js} +1 -1
- package/dist/landingPage.js +1 -1
- package/dist/legalDocs/constants.d.ts +1 -0
- package/dist/main.js +266 -262
- package/dist/message.js +36 -37
- package/dist/pay.js +5 -5
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/{runtime-CDEl4QQl.js → runtime-B-tHI8-q.js} +191 -186
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +188 -37
- package/dist/types/api/ones.generated.d.ts +1512 -364
- package/dist/types/app.d.ts +9 -0
- package/dist/types/auth.d.ts +2 -1
- package/dist/upload.js +2 -2
- package/dist/useAccessPosture-DBNTLWQn.js +219 -0
- package/dist/{useAuthkitAppsAuthPageInfo-mv7hOnhi.js → useAuthkitAppsAuthPageInfo-CsivtUQH.js} +40 -33
- package/dist/{useAuthkitAuth-DSC6QSKm.js → useAuthkitAuth-CV60Hc3o.js} +2 -2
- package/dist/useAuthkitCreateAndUpdate-DJIn96EE.js +24 -0
- package/dist/{useAuthkitUsersProfile-DSd5VA3_.js → useAuthkitUsersProfile-CQOLEAxC.js} +3 -3
- package/dist/{useBillingStatusOptions-C8fwW-AI.js → useBillingStatusOptions-BHVLZhEB.js} +1 -1
- package/dist/{useBillingSubscriptionSummary-C2E3p68U.js → useBillingSubscriptionSummary-DakAVL-3.js} +1 -1
- package/dist/{useEnsureAuthenticated-COQKiCLk.js → useEnsureAuthenticated-BYGI2uYZ.js} +2 -2
- package/dist/{useLegalDocs-DUbab5R9.js → useLegalDocs-BrYWCDh3.js} +6 -5
- package/dist/{useMessageNotifications-BXimltcx.js → useMessageNotifications-Dcl8TXr-.js} +1 -1
- package/dist/{usePageSEO-D8CocvOJ.js → usePageSEO-BHYaXnDU.js} +12 -13
- package/dist/useRoutePermission-BkWHsFxN.js +212 -0
- package/dist/{useSubscriptionCheckout-LrwlCr84.js → useSubscriptionCheckout-QSNro05_.js} +17 -18
- package/dist/user.js +1 -1
- package/dist/{userMenuModal-D-nDaYqM.js → userMenuModal-B4m4CHlW.js} +1 -1
- package/package.json +1 -1
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-DEuryJ4s.js +0 -1516
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/useAuthkitCreateAndUpdate-CYIcEuub.js +0 -25
- package/dist/useRoutePermission-DgQlbUBI.js +0 -249
|
@@ -538,7 +538,7 @@ export type Api = {
|
|
|
538
538
|
/** 获取应用认证页面配置信息(必须指定 clientKey) */
|
|
539
539
|
post: {
|
|
540
540
|
body: {
|
|
541
|
-
clientKey: "web" | "desktop" | "ios" | "android";
|
|
541
|
+
clientKey: "web" | "desktop" | "ios" | "android" | "mini_program";
|
|
542
542
|
};
|
|
543
543
|
return: any;
|
|
544
544
|
};
|
|
@@ -706,6 +706,15 @@ export type Api = {
|
|
|
706
706
|
return: any;
|
|
707
707
|
};
|
|
708
708
|
};
|
|
709
|
+
inviteAccess: {
|
|
710
|
+
/** 切换开发 / 企业内测 / 邀请内测 / 上线运营 */
|
|
711
|
+
post: {
|
|
712
|
+
body: {
|
|
713
|
+
mode: "development" | "enterprise" | "invite" | "public";
|
|
714
|
+
};
|
|
715
|
+
return: any;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
709
718
|
authMethods: {
|
|
710
719
|
/** 配置登录、注册、无密码等认证入口展示与可用性 */
|
|
711
720
|
post: {
|
|
@@ -814,6 +823,18 @@ export type Api = {
|
|
|
814
823
|
return: any;
|
|
815
824
|
};
|
|
816
825
|
};
|
|
826
|
+
complaintReportingRules: {
|
|
827
|
+
/** 更新投诉举报处理规则配置 */
|
|
828
|
+
post: {
|
|
829
|
+
body: {
|
|
830
|
+
value: {
|
|
831
|
+
type: "doc";
|
|
832
|
+
content: unknown[];
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
return: any;
|
|
836
|
+
};
|
|
837
|
+
};
|
|
817
838
|
};
|
|
818
839
|
};
|
|
819
840
|
find: {
|
|
@@ -1147,6 +1168,16 @@ export type Api = {
|
|
|
1147
1168
|
return: any;
|
|
1148
1169
|
};
|
|
1149
1170
|
};
|
|
1171
|
+
checkServiceAccess: {
|
|
1172
|
+
/** 供 ai-server 等微服务校验用户是否已开通生成式服务 */
|
|
1173
|
+
post: {
|
|
1174
|
+
body: {
|
|
1175
|
+
userId: string;
|
|
1176
|
+
appId: string;
|
|
1177
|
+
};
|
|
1178
|
+
return: any;
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1150
1181
|
};
|
|
1151
1182
|
oauth: {
|
|
1152
1183
|
github: {
|
|
@@ -1354,7 +1385,7 @@ export type Api = {
|
|
|
1354
1385
|
oauth: {
|
|
1355
1386
|
session: {
|
|
1356
1387
|
exchange: {
|
|
1357
|
-
/** 用社交登录回调中的一次性 code 换取 access / refresh token */
|
|
1388
|
+
/** 用社交登录回调中的一次性 code 换取 access / refresh token(不经 URL 传递密钥) */
|
|
1358
1389
|
post: {
|
|
1359
1390
|
body: {
|
|
1360
1391
|
code: string;
|
|
@@ -1673,6 +1704,7 @@ export type Api = {
|
|
|
1673
1704
|
permissionKey: string;
|
|
1674
1705
|
description: string;
|
|
1675
1706
|
isPublic: boolean;
|
|
1707
|
+
publicMatch?: "prefix" | "exact";
|
|
1676
1708
|
};
|
|
1677
1709
|
return: any;
|
|
1678
1710
|
};
|
|
@@ -1695,6 +1727,7 @@ export type Api = {
|
|
|
1695
1727
|
permissionKey: string;
|
|
1696
1728
|
description: string;
|
|
1697
1729
|
isPublic: boolean;
|
|
1730
|
+
publicMatch?: "prefix" | "exact";
|
|
1698
1731
|
};
|
|
1699
1732
|
return: any;
|
|
1700
1733
|
};
|
|
@@ -1735,12 +1768,12 @@ export type Api = {
|
|
|
1735
1768
|
};
|
|
1736
1769
|
appClients: {
|
|
1737
1770
|
create: {
|
|
1738
|
-
/** 在当前 App 下创建 Client(web/desktop/ios/android) */
|
|
1771
|
+
/** 在当前 App 下创建 Client(web/desktop/ios/android/mini_program) */
|
|
1739
1772
|
post: {
|
|
1740
1773
|
body: {
|
|
1741
|
-
clientKey: "web" | "desktop" | "ios" | "android";
|
|
1774
|
+
clientKey: "web" | "desktop" | "ios" | "android" | "mini_program";
|
|
1742
1775
|
name?: string;
|
|
1743
|
-
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android")[];
|
|
1776
|
+
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android" | "weixin" | "alipay" | "douyin" | "baidu" | "qq" | "kuaishou")[];
|
|
1744
1777
|
authorizationCallback?: string;
|
|
1745
1778
|
allowedOrigins?: string[];
|
|
1746
1779
|
status?: "active" | "disabled";
|
|
@@ -1754,7 +1787,7 @@ export type Api = {
|
|
|
1754
1787
|
body: {
|
|
1755
1788
|
id: string;
|
|
1756
1789
|
name?: string;
|
|
1757
|
-
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android")[];
|
|
1790
|
+
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android" | "weixin" | "alipay" | "douyin" | "baidu" | "qq" | "kuaishou")[];
|
|
1758
1791
|
authorizationCallback?: string;
|
|
1759
1792
|
allowedOrigins?: string[];
|
|
1760
1793
|
status?: "active" | "disabled";
|
|
@@ -1792,7 +1825,7 @@ export type Api = {
|
|
|
1792
1825
|
post: {
|
|
1793
1826
|
body: {
|
|
1794
1827
|
id?: string;
|
|
1795
|
-
clientKey?: "web" | "desktop" | "ios" | "android";
|
|
1828
|
+
clientKey?: "web" | "desktop" | "ios" | "android" | "mini_program";
|
|
1796
1829
|
};
|
|
1797
1830
|
return: any;
|
|
1798
1831
|
};
|
|
@@ -1983,19 +2016,8 @@ export type Api = {
|
|
|
1983
2016
|
return: any;
|
|
1984
2017
|
};
|
|
1985
2018
|
};
|
|
1986
|
-
|
|
1987
|
-
/**
|
|
1988
|
-
post: {
|
|
1989
|
-
body: {
|
|
1990
|
-
startTime: string;
|
|
1991
|
-
endTime: string;
|
|
1992
|
-
granularity: "minute" | "hour" | "day" | "month" | "year";
|
|
1993
|
-
};
|
|
1994
|
-
return: any;
|
|
1995
|
-
};
|
|
1996
|
-
};
|
|
1997
|
-
getAvgReferralsChart: {
|
|
1998
|
-
/** 获取平均推荐数趋势图表 */
|
|
2019
|
+
getInviteMethodChart: {
|
|
2020
|
+
/** 按时间粒度统计新注册用户的邀请方式 */
|
|
1999
2021
|
post: {
|
|
2000
2022
|
body: {
|
|
2001
2023
|
startTime: string;
|
|
@@ -2168,6 +2190,72 @@ export type Api = {
|
|
|
2168
2190
|
};
|
|
2169
2191
|
};
|
|
2170
2192
|
};
|
|
2193
|
+
serviceAccess: {
|
|
2194
|
+
status: {
|
|
2195
|
+
/** 查询当前登录用户的服务开通状态 */
|
|
2196
|
+
post: {
|
|
2197
|
+
return: any;
|
|
2198
|
+
};
|
|
2199
|
+
};
|
|
2200
|
+
redeem: {
|
|
2201
|
+
/** 登录后填写邀请码开通服务 */
|
|
2202
|
+
post: {
|
|
2203
|
+
body: {
|
|
2204
|
+
code: string;
|
|
2205
|
+
};
|
|
2206
|
+
return: any;
|
|
2207
|
+
};
|
|
2208
|
+
};
|
|
2209
|
+
apply: {
|
|
2210
|
+
/** 候补用户补充联系方式与使用场景 */
|
|
2211
|
+
post: {
|
|
2212
|
+
body: {
|
|
2213
|
+
contact?: string;
|
|
2214
|
+
purpose?: string;
|
|
2215
|
+
};
|
|
2216
|
+
return: any;
|
|
2217
|
+
};
|
|
2218
|
+
};
|
|
2219
|
+
waitlist: {
|
|
2220
|
+
/** 分页查询等待开通的用户 */
|
|
2221
|
+
post: {
|
|
2222
|
+
body: {
|
|
2223
|
+
current: number;
|
|
2224
|
+
pageSize: number;
|
|
2225
|
+
where?: {
|
|
2226
|
+
keyword?: string;
|
|
2227
|
+
status?: "waitlisted" | "granted" | "all";
|
|
2228
|
+
source?: "invite_code" | "application" | "registered" | "all";
|
|
2229
|
+
};
|
|
2230
|
+
};
|
|
2231
|
+
return: any;
|
|
2232
|
+
};
|
|
2233
|
+
};
|
|
2234
|
+
grant: {
|
|
2235
|
+
/** 运营为指定用户开通生成式服务 */
|
|
2236
|
+
post: {
|
|
2237
|
+
body: {
|
|
2238
|
+
userIds: string[];
|
|
2239
|
+
};
|
|
2240
|
+
return: any;
|
|
2241
|
+
};
|
|
2242
|
+
};
|
|
2243
|
+
revoke: {
|
|
2244
|
+
/** 将用户退回候补状态 */
|
|
2245
|
+
post: {
|
|
2246
|
+
body: {
|
|
2247
|
+
userIds: string[];
|
|
2248
|
+
};
|
|
2249
|
+
return: any;
|
|
2250
|
+
};
|
|
2251
|
+
};
|
|
2252
|
+
config: {
|
|
2253
|
+
/** 返回当前应用是否处于邀请制内测 */
|
|
2254
|
+
post: {
|
|
2255
|
+
return: any;
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
};
|
|
2171
2259
|
security: {
|
|
2172
2260
|
passkeys: {
|
|
2173
2261
|
overview: {
|
|
@@ -2891,7 +2979,7 @@ export interface ApiClient {
|
|
|
2891
2979
|
authPageInfo: {
|
|
2892
2980
|
/** 获取应用认证页面配置信息(必须指定 clientKey) */
|
|
2893
2981
|
post: (body: {
|
|
2894
|
-
clientKey: "web" | "desktop" | "ios" | "android";
|
|
2982
|
+
clientKey: "web" | "desktop" | "ios" | "android" | "mini_program";
|
|
2895
2983
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2896
2984
|
};
|
|
2897
2985
|
create: {
|
|
@@ -3018,6 +3106,12 @@ export interface ApiClient {
|
|
|
3018
3106
|
enabled: boolean;
|
|
3019
3107
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3020
3108
|
};
|
|
3109
|
+
inviteAccess: {
|
|
3110
|
+
/** 切换开发 / 企业内测 / 邀请内测 / 上线运营 */
|
|
3111
|
+
post: (body: {
|
|
3112
|
+
mode: "development" | "enterprise" | "invite" | "public";
|
|
3113
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3114
|
+
};
|
|
3021
3115
|
authMethods: {
|
|
3022
3116
|
/** 配置登录、注册、无密码等认证入口展示与可用性 */
|
|
3023
3117
|
post: (body: {
|
|
@@ -3099,6 +3193,15 @@ export interface ApiClient {
|
|
|
3099
3193
|
};
|
|
3100
3194
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3101
3195
|
};
|
|
3196
|
+
complaintReportingRules: {
|
|
3197
|
+
/** 更新投诉举报处理规则配置 */
|
|
3198
|
+
post: (body: {
|
|
3199
|
+
value: {
|
|
3200
|
+
type: "doc";
|
|
3201
|
+
content: unknown[];
|
|
3202
|
+
};
|
|
3203
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3204
|
+
};
|
|
3102
3205
|
};
|
|
3103
3206
|
};
|
|
3104
3207
|
find: {
|
|
@@ -3345,6 +3448,13 @@ export interface ApiClient {
|
|
|
3345
3448
|
appId: string;
|
|
3346
3449
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3347
3450
|
};
|
|
3451
|
+
checkServiceAccess: {
|
|
3452
|
+
/** 供 ai-server 等微服务校验用户是否已开通生成式服务 */
|
|
3453
|
+
post: (body: {
|
|
3454
|
+
userId: string;
|
|
3455
|
+
appId: string;
|
|
3456
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3457
|
+
};
|
|
3348
3458
|
};
|
|
3349
3459
|
oauth: {
|
|
3350
3460
|
github: {
|
|
@@ -3504,7 +3614,7 @@ export interface ApiClient {
|
|
|
3504
3614
|
oauth: {
|
|
3505
3615
|
session: {
|
|
3506
3616
|
exchange: {
|
|
3507
|
-
/** 用社交登录回调中的一次性 code 换取 access / refresh token */
|
|
3617
|
+
/** 用社交登录回调中的一次性 code 换取 access / refresh token(不经 URL 传递密钥) */
|
|
3508
3618
|
post: (body: {
|
|
3509
3619
|
code: string;
|
|
3510
3620
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
@@ -3734,6 +3844,7 @@ export interface ApiClient {
|
|
|
3734
3844
|
permissionKey: string;
|
|
3735
3845
|
description: string;
|
|
3736
3846
|
isPublic: boolean;
|
|
3847
|
+
publicMatch?: "prefix" | "exact";
|
|
3737
3848
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3738
3849
|
};
|
|
3739
3850
|
delete: {
|
|
@@ -3750,6 +3861,7 @@ export interface ApiClient {
|
|
|
3750
3861
|
permissionKey: string;
|
|
3751
3862
|
description: string;
|
|
3752
3863
|
isPublic: boolean;
|
|
3864
|
+
publicMatch?: "prefix" | "exact";
|
|
3753
3865
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3754
3866
|
};
|
|
3755
3867
|
find: {
|
|
@@ -3779,11 +3891,11 @@ export interface ApiClient {
|
|
|
3779
3891
|
};
|
|
3780
3892
|
appClients: {
|
|
3781
3893
|
create: {
|
|
3782
|
-
/** 在当前 App 下创建 Client(web/desktop/ios/android) */
|
|
3894
|
+
/** 在当前 App 下创建 Client(web/desktop/ios/android/mini_program) */
|
|
3783
3895
|
post: (body: {
|
|
3784
|
-
clientKey: "web" | "desktop" | "ios" | "android";
|
|
3896
|
+
clientKey: "web" | "desktop" | "ios" | "android" | "mini_program";
|
|
3785
3897
|
name?: string;
|
|
3786
|
-
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android")[];
|
|
3898
|
+
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android" | "weixin" | "alipay" | "douyin" | "baidu" | "qq" | "kuaishou")[];
|
|
3787
3899
|
authorizationCallback?: string;
|
|
3788
3900
|
allowedOrigins?: string[];
|
|
3789
3901
|
status?: "active" | "disabled";
|
|
@@ -3794,7 +3906,7 @@ export interface ApiClient {
|
|
|
3794
3906
|
post: (body: {
|
|
3795
3907
|
id: string;
|
|
3796
3908
|
name?: string;
|
|
3797
|
-
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android")[];
|
|
3909
|
+
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android" | "weixin" | "alipay" | "douyin" | "baidu" | "qq" | "kuaishou")[];
|
|
3798
3910
|
authorizationCallback?: string;
|
|
3799
3911
|
allowedOrigins?: string[];
|
|
3800
3912
|
status?: "active" | "disabled";
|
|
@@ -3823,7 +3935,7 @@ export interface ApiClient {
|
|
|
3823
3935
|
/** 按 id 或 clientKey 查询 Client */
|
|
3824
3936
|
post: (body?: {
|
|
3825
3937
|
id?: string;
|
|
3826
|
-
clientKey?: "web" | "desktop" | "ios" | "android";
|
|
3938
|
+
clientKey?: "web" | "desktop" | "ios" | "android" | "mini_program";
|
|
3827
3939
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3828
3940
|
};
|
|
3829
3941
|
findAll: {
|
|
@@ -3962,16 +4074,8 @@ export interface ApiClient {
|
|
|
3962
4074
|
endTime: string;
|
|
3963
4075
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3964
4076
|
};
|
|
3965
|
-
|
|
3966
|
-
/**
|
|
3967
|
-
post: (body: {
|
|
3968
|
-
startTime: string;
|
|
3969
|
-
endTime: string;
|
|
3970
|
-
granularity: "minute" | "hour" | "day" | "month" | "year";
|
|
3971
|
-
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3972
|
-
};
|
|
3973
|
-
getAvgReferralsChart: {
|
|
3974
|
-
/** 获取平均推荐数趋势图表 */
|
|
4077
|
+
getInviteMethodChart: {
|
|
4078
|
+
/** 按时间粒度统计新注册用户的邀请方式 */
|
|
3975
4079
|
post: (body: {
|
|
3976
4080
|
startTime: string;
|
|
3977
4081
|
endTime: string;
|
|
@@ -4099,6 +4203,53 @@ export interface ApiClient {
|
|
|
4099
4203
|
};
|
|
4100
4204
|
};
|
|
4101
4205
|
};
|
|
4206
|
+
serviceAccess: {
|
|
4207
|
+
status: {
|
|
4208
|
+
/** 查询当前登录用户的服务开通状态 */
|
|
4209
|
+
post: (config?: RequestConfig) => RequestBuilder<any>;
|
|
4210
|
+
};
|
|
4211
|
+
redeem: {
|
|
4212
|
+
/** 登录后填写邀请码开通服务 */
|
|
4213
|
+
post: (body: {
|
|
4214
|
+
code: string;
|
|
4215
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4216
|
+
};
|
|
4217
|
+
apply: {
|
|
4218
|
+
/** 候补用户补充联系方式与使用场景 */
|
|
4219
|
+
post: (body?: {
|
|
4220
|
+
contact?: string;
|
|
4221
|
+
purpose?: string;
|
|
4222
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4223
|
+
};
|
|
4224
|
+
waitlist: {
|
|
4225
|
+
/** 分页查询等待开通的用户 */
|
|
4226
|
+
post: (body: {
|
|
4227
|
+
current: number;
|
|
4228
|
+
pageSize: number;
|
|
4229
|
+
where?: {
|
|
4230
|
+
keyword?: string;
|
|
4231
|
+
status?: "waitlisted" | "granted" | "all";
|
|
4232
|
+
source?: "invite_code" | "application" | "registered" | "all";
|
|
4233
|
+
};
|
|
4234
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4235
|
+
};
|
|
4236
|
+
grant: {
|
|
4237
|
+
/** 运营为指定用户开通生成式服务 */
|
|
4238
|
+
post: (body: {
|
|
4239
|
+
userIds: string[];
|
|
4240
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4241
|
+
};
|
|
4242
|
+
revoke: {
|
|
4243
|
+
/** 将用户退回候补状态 */
|
|
4244
|
+
post: (body: {
|
|
4245
|
+
userIds: string[];
|
|
4246
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4247
|
+
};
|
|
4248
|
+
config: {
|
|
4249
|
+
/** 返回当前应用是否处于邀请制内测 */
|
|
4250
|
+
post: (config?: RequestConfig) => RequestBuilder<any>;
|
|
4251
|
+
};
|
|
4252
|
+
};
|
|
4102
4253
|
security: {
|
|
4103
4254
|
passkeys: {
|
|
4104
4255
|
overview: {
|