@iblai/iblai-js 2.72.0 → 2.73.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/data-layer/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/data-layer/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/data-layer/playwright/index.d.ts +3 -2
- package/dist/data-layer/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/data-layer/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/playwright/index.cjs +306 -193
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.d.ts +133 -71
- package/dist/playwright/index.esm.js +293 -194
- package/dist/playwright/index.esm.js.map +1 -1
- package/dist/playwright/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/playwright/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/playwright/playwright/index.d.ts +3 -2
- package/dist/playwright/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/playwright/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/security/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/security/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/security/playwright/index.d.ts +3 -2
- package/dist/security/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/security/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/web-containers/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/web-containers/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/web-containers/playwright/index.d.ts +3 -2
- package/dist/web-containers/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/web-containers/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/web-containers/source/add-credits-modal.js +170 -24
- package/dist/web-containers/source/add-credits-modal.js.map +1 -1
- package/dist/web-containers/source/auto-recharge-modal.js +1 -1
- package/dist/web-containers/source/auto-recharge-modal.js.map +1 -1
- package/dist/web-containers/source/billing-credits.js +4 -4
- package/dist/web-containers/source/billing-credits.js.map +1 -1
- package/dist/web-containers/source/billing.js +60 -101
- package/dist/web-containers/source/billing.js.map +1 -1
- package/dist/web-containers/source/components/credit-balance.js +44 -72
- package/dist/web-containers/source/components/credit-balance.js.map +1 -1
- package/dist/web-containers/source/components/modals/contact-admin-modal.js +32 -0
- package/dist/web-containers/source/components/modals/contact-admin-modal.js.map +1 -0
- package/dist/web-containers/source/components/modals/upgrade-package-modal.js +281 -20
- package/dist/web-containers/source/components/modals/upgrade-package-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/add-credits-modal.js +170 -24
- package/dist/web-containers/source/components/profile/add-credits-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/auto-recharge-modal.js +1 -1
- package/dist/web-containers/source/components/profile/auto-recharge-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/billing-credits.js +4 -4
- package/dist/web-containers/source/components/profile/billing-credits.js.map +1 -1
- package/dist/web-containers/source/components/profile/billing.js +60 -101
- package/dist/web-containers/source/components/profile/billing.js.map +1 -1
- package/dist/web-containers/source/components/profile/pending-credit-top-up.js +202 -0
- package/dist/web-containers/source/components/profile/pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/components/profile/use-complete-pending-credit-top-up.js +68 -0
- package/dist/web-containers/source/components/profile/use-complete-pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/components/subscription-top-banner.js +119 -0
- package/dist/web-containers/source/components/subscription-top-banner.js.map +1 -0
- package/dist/web-containers/source/components/workflows/workflow-editor.js +28 -8
- package/dist/web-containers/source/components/workflows/workflow-editor.js.map +1 -1
- package/dist/web-containers/source/contact-admin-modal.js +32 -0
- package/dist/web-containers/source/contact-admin-modal.js.map +1 -0
- package/dist/web-containers/source/credit-balance.js +44 -72
- package/dist/web-containers/source/credit-balance.js.map +1 -1
- package/dist/web-containers/source/en.json.js +121 -21
- package/dist/web-containers/source/en.json.js.map +1 -1
- package/dist/web-containers/source/es.json.js +123 -23
- package/dist/web-containers/source/es.json.js.map +1 -1
- package/dist/web-containers/source/fr.json.js +121 -21
- package/dist/web-containers/source/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/en.json.js +121 -21
- package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/es.json.js +123 -23
- package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js +121 -21
- package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js +122 -22
- package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/messages/en.json.js +121 -21
- package/dist/web-containers/source/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/messages/es.json.js +123 -23
- package/dist/web-containers/source/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/messages/fr.json.js +121 -21
- package/dist/web-containers/source/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/messages/zh.json.js +122 -22
- package/dist/web-containers/source/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/modals/contact-admin-modal.js +32 -0
- package/dist/web-containers/source/modals/contact-admin-modal.js.map +1 -0
- package/dist/web-containers/source/modals/upgrade-package-modal.js +281 -20
- package/dist/web-containers/source/modals/upgrade-package-modal.js.map +1 -1
- package/dist/web-containers/source/pending-credit-top-up.js +202 -0
- package/dist/web-containers/source/pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/profile/add-credits-modal.js +170 -24
- package/dist/web-containers/source/profile/add-credits-modal.js.map +1 -1
- package/dist/web-containers/source/profile/auto-recharge-modal.js +1 -1
- package/dist/web-containers/source/profile/auto-recharge-modal.js.map +1 -1
- package/dist/web-containers/source/profile/billing-credits.js +4 -4
- package/dist/web-containers/source/profile/billing-credits.js.map +1 -1
- package/dist/web-containers/source/profile/billing.js +60 -101
- package/dist/web-containers/source/profile/billing.js.map +1 -1
- package/dist/web-containers/source/profile/pending-credit-top-up.js +202 -0
- package/dist/web-containers/source/profile/pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/profile/use-complete-pending-credit-top-up.js +68 -0
- package/dist/web-containers/source/profile/use-complete-pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/subscription-top-banner.js +119 -0
- package/dist/web-containers/source/subscription-top-banner.js.map +1 -0
- package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/upgrade-package-modal.js +281 -20
- package/dist/web-containers/source/upgrade-package-modal.js.map +1 -1
- package/dist/web-containers/source/use-complete-pending-credit-top-up.js +68 -0
- package/dist/web-containers/source/use-complete-pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/workflow-editor.js +28 -8
- package/dist/web-containers/source/workflow-editor.js.map +1 -1
- package/dist/web-containers/source/workflows/workflow-editor.js +28 -8
- package/dist/web-containers/source/workflows/workflow-editor.js.map +1 -1
- package/dist/web-containers/source/zh.json.js +122 -22
- package/dist/web-containers/source/zh.json.js.map +1 -1
- package/dist/web-utils/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/web-utils/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/web-utils/playwright/index.d.ts +3 -2
- package/dist/web-utils/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/web-utils/playwright/spend-limits-helpers.d.ts +5 -4
- package/package.json +5 -5
|
@@ -2343,15 +2343,13 @@ var creditBalance = {
|
|
|
2343
2343
|
spendingLimit: "消费限额",
|
|
2344
2344
|
unlimited: "无限制",
|
|
2345
2345
|
billing: "账单",
|
|
2346
|
-
planFree: "
|
|
2346
|
+
planFree: "免费版",
|
|
2347
2347
|
planTrial: "试用",
|
|
2348
|
-
planPremium: "高级版",
|
|
2349
2348
|
redirecting: "正在跳转...",
|
|
2350
|
-
|
|
2349
|
+
upgrade: "升级",
|
|
2350
|
+
changePlan: "更改套餐",
|
|
2351
2351
|
manageUsage: "管理用量",
|
|
2352
|
-
addCredits: "添加积分"
|
|
2353
|
-
manageBilling: "管理账单",
|
|
2354
|
-
failedToOpenPaymentSettings: "无法打开支付设置"
|
|
2352
|
+
addCredits: "添加积分"
|
|
2355
2353
|
};
|
|
2356
2354
|
var integrationsTab = {
|
|
2357
2355
|
tabSecrets: "机密",
|
|
@@ -3491,6 +3489,11 @@ var modalsChatActionBlockingOverlay = {
|
|
|
3491
3489
|
stopScreenSharing: "停止屏幕共享",
|
|
3492
3490
|
backgroundHandleDescription: "此窗口将在后台处理您的{actionLabel}。完成后您可以关闭此窗口。"
|
|
3493
3491
|
};
|
|
3492
|
+
var modalsContactAdminModal = {
|
|
3493
|
+
title: "您的组织已用完积分",
|
|
3494
|
+
description: "请联系您的管理员以继续使用平台。",
|
|
3495
|
+
contactNow: "立即联系 🫶"
|
|
3496
|
+
};
|
|
3494
3497
|
var modalsDisclaimerModal = {
|
|
3495
3498
|
userAgreement: "用户协议",
|
|
3496
3499
|
submitting: "提交中...",
|
|
@@ -3514,6 +3517,91 @@ var modalsPaywallModal = {
|
|
|
3514
3517
|
thisIncludes: "包含以下内容:",
|
|
3515
3518
|
secureCheckout: "安全结账"
|
|
3516
3519
|
};
|
|
3520
|
+
var planPicker = {
|
|
3521
|
+
title: "选择您的套餐",
|
|
3522
|
+
description: "您正在免费试用。选择适合您的套餐。",
|
|
3523
|
+
mostPopular: "最受欢迎",
|
|
3524
|
+
choosePlan: "选择{plan}",
|
|
3525
|
+
redirecting: "正在跳转...",
|
|
3526
|
+
updating: "正在更新...",
|
|
3527
|
+
loadingPlans: "正在加载套餐...",
|
|
3528
|
+
loadFailed: "无法加载套餐,请重试。",
|
|
3529
|
+
tryAgain: "重试",
|
|
3530
|
+
noPlans: "目前没有可用的套餐,请稍后再试。",
|
|
3531
|
+
changed: "您现在使用的是 {plan} 套餐。",
|
|
3532
|
+
scheduled: "您当前的套餐将于 {date} 结束,之后将转为 {plan}。",
|
|
3533
|
+
scheduledSoon: "您当前的套餐将在本计费周期结束时终止,之后将转为 {plan}。",
|
|
3534
|
+
changeFailed: "无法更改套餐,请重试。",
|
|
3535
|
+
enterprise: {
|
|
3536
|
+
text: "如需企业代码所有权或 AI 转型服务,请",
|
|
3537
|
+
link: "联系我们的团队"
|
|
3538
|
+
},
|
|
3539
|
+
oneTimeCreditsText: "只需要更多积分?一次性充值即可,无需更换套餐。",
|
|
3540
|
+
oneTimeCreditsCta: "一次性添加积分",
|
|
3541
|
+
changeTitle: "更改您的套餐",
|
|
3542
|
+
changeDescription: "您当前使用的是 {plan} 套餐。升级将于今日扣费。",
|
|
3543
|
+
currentPlan: "当前套餐",
|
|
3544
|
+
upgradeTo: "升级到{plan}",
|
|
3545
|
+
downgradeTo: "降级到{plan}",
|
|
3546
|
+
switchTo: "切换到{plan}",
|
|
3547
|
+
perDay: "/天",
|
|
3548
|
+
perWeek: "/周",
|
|
3549
|
+
perMonth: "/月",
|
|
3550
|
+
perYear: "/年",
|
|
3551
|
+
forever: "永久",
|
|
3552
|
+
everyCount: "每{count}{interval}",
|
|
3553
|
+
days: "天",
|
|
3554
|
+
weeks: "周",
|
|
3555
|
+
months: "个月",
|
|
3556
|
+
years: "年",
|
|
3557
|
+
singleLink: {
|
|
3558
|
+
feature1: "您自己的工作区和智能体",
|
|
3559
|
+
feature2: "邀请您的团队",
|
|
3560
|
+
feature3: "随时按需添加积分"
|
|
3561
|
+
},
|
|
3562
|
+
plans: {
|
|
3563
|
+
free: {
|
|
3564
|
+
name: "免费版",
|
|
3565
|
+
tagline: "快速上手",
|
|
3566
|
+
audience: "适合想先试用的个人",
|
|
3567
|
+
priceNote: "无需信用卡",
|
|
3568
|
+
feature1: "**每月积分**,用于试用智能体,每月更新",
|
|
3569
|
+
feature2: "使用任意模型构建智能体,并用您的文档训练",
|
|
3570
|
+
feature3: "在网页、桌面和移动端聊天",
|
|
3571
|
+
feature4: "文档与社区支持"
|
|
3572
|
+
},
|
|
3573
|
+
premium: {
|
|
3574
|
+
name: "Pro",
|
|
3575
|
+
tagline: "适合日常工作",
|
|
3576
|
+
audience: "适合每天使用智能体的专业人士和小团队",
|
|
3577
|
+
featuresLead: "包含免费版的全部功能,另有:",
|
|
3578
|
+
feature1: "**每月更多积分**,可按需开启自动充值",
|
|
3579
|
+
feature2: "语音、工作流以及通过 MCP 连接您的工具",
|
|
3580
|
+
feature3: "分析、嵌入和 API",
|
|
3581
|
+
feature4: "**邮件支持**"
|
|
3582
|
+
},
|
|
3583
|
+
max: {
|
|
3584
|
+
name: "Max",
|
|
3585
|
+
tagline: "适合全天工作",
|
|
3586
|
+
audience: "适合依赖智能体的团队和部门",
|
|
3587
|
+
featuresLead: "包含 Pro 的全部功能,另有:",
|
|
3588
|
+
feature1: "**大幅提升的每月积分额度**",
|
|
3589
|
+
feature2: "评测、支出上限和变现",
|
|
3590
|
+
feature3: "用角色和团队管理访问权限",
|
|
3591
|
+
feature4: "**优先支持**和抢先体验"
|
|
3592
|
+
},
|
|
3593
|
+
ultra: {
|
|
3594
|
+
name: "Ultra",
|
|
3595
|
+
tagline: "适合最大规模的部署",
|
|
3596
|
+
audience: "适合在多个团队中正式推广智能体的组织",
|
|
3597
|
+
featuresLead: "包含 Max 的全部功能,另有:",
|
|
3598
|
+
feature1: "**最高的每月积分额度**",
|
|
3599
|
+
feature2: "多个组织和单点登录",
|
|
3600
|
+
feature3: "转接人工客服",
|
|
3601
|
+
feature4: "**专属支持**和上手指导"
|
|
3602
|
+
}
|
|
3603
|
+
}
|
|
3604
|
+
};
|
|
3517
3605
|
var modalsPromptGalleryModal = {
|
|
3518
3606
|
promptGallery: "提示库",
|
|
3519
3607
|
dialogDescription: "查看和编辑您的智能体的自定义提示。",
|
|
@@ -3999,7 +4087,7 @@ var profileAccount = {
|
|
|
3999
4087
|
descOrganization: "管理您的组织设置。",
|
|
4000
4088
|
descSecrets: "来自其他服务(例如 OpenAI 或 Stripe)的密钥,供 ibl.ai 和您的智能体使用。",
|
|
4001
4089
|
descApi: "让您自己的软件与 ibl.ai 协同工作。",
|
|
4002
|
-
descBilling: "
|
|
4090
|
+
descBilling: "管理您的积分和账单。",
|
|
4003
4091
|
descMonetization: "配置付费墙、定价和收入。",
|
|
4004
4092
|
descAdvanced: "配置组织的高级设置。",
|
|
4005
4093
|
descBasic: "管理您的基本账户信息和偏好设置。",
|
|
@@ -4023,15 +4111,28 @@ var profileAddCreditsModal = {
|
|
|
4023
4111
|
title: "添加积分",
|
|
4024
4112
|
description: "使用您存档的付款方式为账户添加积分。",
|
|
4025
4113
|
amountLabel: "金额(美元)",
|
|
4026
|
-
|
|
4114
|
+
quickAmounts: "快捷金额",
|
|
4115
|
+
customAmountPlaceholder: "自定义金额",
|
|
4116
|
+
otherAmount: "其他金额",
|
|
4027
4117
|
paymentMethodNotice: "您存档的付款方式将被收取该金额。",
|
|
4028
4118
|
cancel: "取消",
|
|
4029
4119
|
processing: "处理中...",
|
|
4030
4120
|
addCredits: "添加积分",
|
|
4031
|
-
pleaseEnterAmount: "
|
|
4032
|
-
pleaseEnterValidAmount: "
|
|
4121
|
+
pleaseEnterAmount: "请选择金额",
|
|
4122
|
+
pleaseEnterValidAmount: "请输入至少 $0.50 的金额",
|
|
4033
4123
|
creditsAddedSuccessfully: "积分添加成功",
|
|
4034
|
-
failedToAddCredits: "添加积分失败"
|
|
4124
|
+
failedToAddCredits: "添加积分失败",
|
|
4125
|
+
descriptionNoPaymentMethod: "为您的账户添加积分。您需要先在 Stripe 上添加付款方式。",
|
|
4126
|
+
paymentMethodSetupNotice: "在 Stripe 上保存付款方式后,我们将立即扣除该金额并添加您的积分。",
|
|
4127
|
+
continueToPayment: "继续",
|
|
4128
|
+
redirecting: "正在跳转...",
|
|
4129
|
+
failedToOpenPaymentSettings: "无法打开付款设置",
|
|
4130
|
+
paymentMethodRefused: "您的付款方式被拒绝。",
|
|
4131
|
+
paymentMethodProblemHint: "请在 Stripe 更新您的付款方式,返回后积分将自动添加。",
|
|
4132
|
+
updatePaymentMethod: "更新付款方式",
|
|
4133
|
+
addingCredits: "正在添加您的积分...",
|
|
4134
|
+
creditsAddedAfterPayment: "付款方式已保存。已向您的账户添加 {amount} 的积分。",
|
|
4135
|
+
failedToAddCreditsAfterPayment: "您的付款方式已保存,但我们无法添加您的积分。请再次尝试添加积分。"
|
|
4035
4136
|
};
|
|
4036
4137
|
var profileAdmin = {
|
|
4037
4138
|
readLess: "收起",
|
|
@@ -4079,19 +4180,17 @@ var profileAutoRechargeModal = {
|
|
|
4079
4180
|
failedToUpdateUsageSettings: "更新用量设置失败"
|
|
4080
4181
|
};
|
|
4081
4182
|
var profileBilling = {
|
|
4082
|
-
failedToOpenPaymentSettings: "无法打开付款设置",
|
|
4083
|
-
trialEndsOn: "试用于 {date} 结束 · 剩余 {days} 天",
|
|
4084
|
-
renewsOn: "于 {date} 续订",
|
|
4085
|
-
youAreOnFreePlan: "您正在使用免费计划",
|
|
4086
|
-
manageSubscriptionAndBilling: "管理您的订阅和账单详情",
|
|
4087
|
-
planSectionTitle: "计划",
|
|
4088
4183
|
redirecting: "正在跳转...",
|
|
4184
|
+
tabCredits: "积分",
|
|
4185
|
+
trialDescription: "您正在免费试用。选择一个套餐以获得自己的工作区并添加积分。",
|
|
4186
|
+
trialDescriptionWithEnd: "您的免费试用将于 {date} 结束(剩余 {days} 天)。选择一个套餐以获得自己的工作区并添加积分。",
|
|
4187
|
+
freePlanDescription: "您正在使用免费版。随时可以添加更多积分。",
|
|
4188
|
+
freePlanNoPaymentMethodDescription: "您正在使用免费版。随时添加积分。首次添加时需要先添加付款方式。",
|
|
4089
4189
|
upgrade: "升级",
|
|
4090
|
-
|
|
4190
|
+
changePlan: "更改套餐",
|
|
4191
|
+
planDescription: "您当前使用的是 {plan} 套餐。您可以随时添加积分。",
|
|
4091
4192
|
creditsSectionTitle: "积分",
|
|
4092
|
-
creditsDescription: "查看您的可用积分和使用情况。",
|
|
4093
4193
|
addCredits: "添加积分",
|
|
4094
|
-
manageBilling: "管理账单",
|
|
4095
4194
|
availableLabel: "可用",
|
|
4096
4195
|
creditsUsdEquivalent: "约合 {amount}",
|
|
4097
4196
|
creditsConversionHint: "{credits} 积分 = $1",
|
|
@@ -4114,7 +4213,6 @@ var profileBilling = {
|
|
|
4114
4213
|
unlimited: "无限制",
|
|
4115
4214
|
autoRechargeDisabledMessage: "自动充值当前已禁用。启用后可在不中断服务的情况下保持余额充足。",
|
|
4116
4215
|
billingTabsAriaLabel: "账单板块",
|
|
4117
|
-
tabPlanAndCredits: "套餐与积分",
|
|
4118
4216
|
tabSpendLimits: "支出限额",
|
|
4119
4217
|
tabAgentLimits: "智能体限额",
|
|
4120
4218
|
tabUserLimits: "用户限额"
|
|
@@ -9028,9 +9126,11 @@ var zh = {
|
|
|
9028
9126
|
mentorsMentorSelectionGrid: mentorsMentorSelectionGrid,
|
|
9029
9127
|
modalsAddPromptModal: modalsAddPromptModal,
|
|
9030
9128
|
modalsChatActionBlockingOverlay: modalsChatActionBlockingOverlay,
|
|
9129
|
+
modalsContactAdminModal: modalsContactAdminModal,
|
|
9031
9130
|
modalsDisclaimerModal: modalsDisclaimerModal,
|
|
9032
9131
|
modalsEditPromptModal: modalsEditPromptModal,
|
|
9033
9132
|
modalsPaywallModal: modalsPaywallModal,
|
|
9133
|
+
planPicker: planPicker,
|
|
9034
9134
|
modalsPromptGalleryModal: modalsPromptGalleryModal,
|
|
9035
9135
|
modalsUserProfileModal: modalsUserProfileModal,
|
|
9036
9136
|
modalsVoiceChatModal: modalsVoiceChatModal,
|
|
@@ -9194,5 +9294,5 @@ var zh = {
|
|
|
9194
9294
|
activityTab: activityTab
|
|
9195
9295
|
};
|
|
9196
9296
|
|
|
9197
|
-
export { accessTabAddAccess, accessTabLabels, accessTabUpdateAccess, accessibility, activityTab, advancePagination, advancedAdvanced, advancedAdvancedCss, advancedAuthSpaCustomization, advancedChatAdvancedChatHeader, advancedChatAreaWidth, advancedChatPrivacy, advancedCustomDomain, advancedExternalMapping, advancedMemsearchConfig, advancedPlatformMembership, advancedProviderConfig, advancedRecommendationSystemPrompts, advancedSeoDiscoverability, advancedSmtp, advancedStartScreen, advancedStudentMentorCreation, agentSearchLabels, agentSettingsLink, analyticsAccessTimeHeatmap, analyticsAgentScopeLink, analyticsAnalyticsAgentPicker, analyticsAnalyticsAuditLogStats, analyticsAnalyticsCourseDetail, analyticsAnalyticsCourses, analyticsAnalyticsFinancialStats, analyticsAnalyticsMemoryStats, analyticsAnalyticsMonetizationStats, analyticsAnalyticsOverview, analyticsAnalyticsPlatformAuditLog, analyticsAnalyticsProgramDetail, analyticsAnalyticsPrograms, analyticsAnalyticsReports, analyticsAnalyticsTopicsStats, analyticsAnalyticsTranscriptsStats, analyticsAnalyticsUsersStats, analyticsAuditLogJsonView, analyticsChartCard, analyticsControlBar, analyticsCostTabs, analyticsGroupsFilterDropdown, analyticsLlmUsage, analyticsPlatformAuditLogDetailSheet, analyticsSourceChip, analyticsStatCard, analyticsTabLabels, analyticsTraces, analyticsTranscriptTurnDetails, analyticsUsePlatformAuditLabels, analyticsUserFilterSelect, apiTab, apiTabApiKeyModal, apiTabCreateApiModal2, apiTabDeleteApiModal2, apiTabEditApiModal, apiTabLabels, apiTabTokenPolicies, appSidebarIndex, appSidebarProjectItem, appSidebarProjectsSidebarDropdown, appSidebarToggleSidebarButton, applyApplyWizard, benchmarksAddItemsModal, benchmarksBenchmarkItemsModal, benchmarksCreateBenchmarkModal, benchmarksDeleteItemConfirm, benchmarksIndex, canvasBinaryCanvas, canvasCanvasComponent, canvasCanvasControls, canvasCanvasExportHandlers, canvasCanvasRichTextEditor, canvasCodeCanvasComponent, canvasSessionCanvasCards, canvasUseCanvasVersionNavigation, careerCompanyDialog, careerEducationDialog, careerEducationTab, careerExperienceDialog, careerExperienceTab, careerInstitutionDialog, careerResumeTab, chat, chatAiMessageBubble, chatAiMessageCopy, chatAiMessageRating, chatAiMessageReportInappropriateContent, chatAiMessageShare, chatHistoryChatHistoryTab, chatHistoryReportHistory, chatIndex, chatInputForm, chatInputFormFileAttachmentsList, chatInputFormInsideButtons, chatInputFormMemoryMenu, chatInputFormOutsideButtons, chatInputFormScreenSharingButton, chatInputFormUploadMenu, chatInputFormVoiceCallButton, chatInputFormVoiceChatButton, chatPrivacyChatPrivacyToggle, chatStopStreamingButton, clawSandboxAgentConfigPrompts, clawSandboxAgentSkills, clawSandboxHelpers, clawSandboxLlmProviderModal, clawSandboxOverlayModal, clawSandboxSandboxConfig, common, componentsHumanSupportSection, componentsMentorPromptDialog, componentsPolicyAssignmentSection, componentsPolicyConfigDialog, componentsProactiveSettingsSection, componentsTemplateActionsSection, componentsTemplateVariablesHelper, componentsUserProgressSettingsSection, componentsWatcherEmailSection, courseContentAccessiblePaginate, courseContentCourseContentLayout, courseContentDiscoverFacetsFilter, courseContentDiscoverFilterDrawer, createAgentModalCreateAgentForm, createAgentModalLabels, creditBalance, datasetsTabAddResourceModal, datasetsTabDatasetItem, datasetsTabLabels, datasetsTabRetrainScheduleModal, zh as default, disclaimersTabLabels, documentSidebar, embedTabLabels, evaluationTabLabels, fieldInfo, gradebookGradebookTab, graderTabLabels, guidedSuggestedPrompts, historyTabLabels, humanSupportTabLabels, integrationsTab, inviteCoursesTab, inviteProgramsTab, inviteUsersTab, liveKitVoiceChat, llmTabLabels, localLlmLocalLlmTab, localLlmUseModelDownload, ltiTabLabels, mcpOAuthApp, mcpServersMenu, mcpTab, mcpTabConnectorDialogs, mcpTabConnectorManagementContent, memoryAddMemoryDialog, memoryAdminAgentMemoriesModal, memoryAdminTab, memoryAdminUserMemoriesModal, memoryEditMemoryDialog, memoryMemoryTab, memoryTabAddMemoryModal, memoryTabDeleteMemoryModal, memoryTabEditMemoryModal, memoryTabLabels, memoryTabLearnersMemories, memoryTabManageCategoriesModal, memoryTabManageMemories, memoryTabSavedMemoriesModal, mentorsMentorSelectionGrid, modalsAddPromptModal, modalsChatActionBlockingOverlay, modalsDisclaimerModal, modalsEditPromptModal, modalsPaywallModal, modalsPromptGalleryModal, modalsUserProfileModal, modalsVoiceChatModal, monetizationCancelSubscription, monetizationItemSearchDropdown, monetizationPaywallDetail, monetizationPaywalledItemsList, monetizationPriceManagement, monetizationStripeConnect, navbar, notificationsAlertsTab, notificationsEditAlertDialog, notificationsNotificationDisplay, notificationsNotificationDropdown, notificationsSendNotificationDialog, onboardingOnboardingWizard, onboardingUserOnboarding, pipChat, placementExam, platformNavbar, platformSidebar, privacyAuditLog, privacyTabLabels, profileAccount, profileAddCreditsModal, profileAdmin, profileApplicationsQuestionsEditor, profileApplicationsTab, profileAutoRechargeModal, profileBilling, profileCatalogInviteModal, profileChatPrivacyTab, profileCsvEditor, profileIndex, profileInviteUserContent, profileInvitedUsers, profileLlmUsage, profileOnboardingTab, profileOrganization, profileOverviewTab, profileSecurity, projectsAddMentorToProjectModal, projectsCreateProjectModal, projectsDeleteProjectModal, projectsMinimumMentorAlert, projectsProjectActionButtons, projectsProjectFilesModal, projectsProjectInstructionsModal, projectsProjectLandingPage, projectsProjectMentorsList, projectsProjectsPage, projectsRenameProjectModal, promptGalleryModalEmptyPrompts, promptGalleryModalPromptCard, promptsTabAddPromptModal, promptsTabEditPromptModal, promptsTabLabels, purchasesPurchasesTab, resourceModalGithubFileUploadModal, resourceModalLocalFileUploadModal, resourceModalUrlUploadModal, resourceModalWebsiteCrawlModal, resourcePicker, retrievedDocumentsButton, richTextEditor, safetyTabLabels, screenshareTabLabels, secrets, settingsTabCopyMentorModal, settingsTabLabels, settingsTabWelcomeScreen, skillsProfileAddSkillDialog, skillsProfileCreatePathwayModal, skillsProfileCredentialBox, skillsProfileCredentialDetailModal, skillsProfileEducationBox, skillsProfileExperienceBox, skillsProfileMediaBox, skillsProfilePathwayDetailModal, skillsProfileProfileInfoCards, skillsProfileProgramDetailModal, skillsProfileResumeBox, skillsProfileSkillDetailModal, skillsProfileSkillsBox, skillsTabLabels, slashSkillPicker, spendCapUsage, spendCapsTabLabels, summernoteTextEditor, tabsAlertstab, tabsDisclaimersTab, tabsEmbedTab, tabsGroupstab, tabsHistoryTab, tabsHumanSupportTab, tabsPoliciestab, tabsPrivacyTab, tabsPromptsTab, tabsRolestab, tabsSafetyTab, tabsSettingsTab, tabsTeamsaccesspanel, tabsUserstab, tabsVoiceTab, tasksTabLabels, tenantSwitchIndex, toolsTabLabels, topBannerIndex, uiDialog, uiPagination, uiSheet, uiSidebar, userProfileDropdownIndex, usersModelsTab, version, virtualMachineAdminTab, virtualMachineHostInput, virtualMachineNetworkPolicies, virtualMachineNetworkSection, voiceTabCallConfigSection, voiceTabLabels, voiceTabVoicePicker, welcomeChatConversationStarters, welcomeChatExploreMentors, workflowsClassifierPanel, workflowsConnectorManagementDialog, workflowsCreateWorkflowModal, workflowsDeleteWorkflowModal, workflowsNodeConfigPanel, workflowsToolDialogs, workflowsWorkflowCanvas, workflowsWorkflowEditor, workflowsWorkflowPreviewChat, workflowsWorkflowsList };
|
|
9297
|
+
export { accessTabAddAccess, accessTabLabels, accessTabUpdateAccess, accessibility, activityTab, advancePagination, advancedAdvanced, advancedAdvancedCss, advancedAuthSpaCustomization, advancedChatAdvancedChatHeader, advancedChatAreaWidth, advancedChatPrivacy, advancedCustomDomain, advancedExternalMapping, advancedMemsearchConfig, advancedPlatformMembership, advancedProviderConfig, advancedRecommendationSystemPrompts, advancedSeoDiscoverability, advancedSmtp, advancedStartScreen, advancedStudentMentorCreation, agentSearchLabels, agentSettingsLink, analyticsAccessTimeHeatmap, analyticsAgentScopeLink, analyticsAnalyticsAgentPicker, analyticsAnalyticsAuditLogStats, analyticsAnalyticsCourseDetail, analyticsAnalyticsCourses, analyticsAnalyticsFinancialStats, analyticsAnalyticsMemoryStats, analyticsAnalyticsMonetizationStats, analyticsAnalyticsOverview, analyticsAnalyticsPlatformAuditLog, analyticsAnalyticsProgramDetail, analyticsAnalyticsPrograms, analyticsAnalyticsReports, analyticsAnalyticsTopicsStats, analyticsAnalyticsTranscriptsStats, analyticsAnalyticsUsersStats, analyticsAuditLogJsonView, analyticsChartCard, analyticsControlBar, analyticsCostTabs, analyticsGroupsFilterDropdown, analyticsLlmUsage, analyticsPlatformAuditLogDetailSheet, analyticsSourceChip, analyticsStatCard, analyticsTabLabels, analyticsTraces, analyticsTranscriptTurnDetails, analyticsUsePlatformAuditLabels, analyticsUserFilterSelect, apiTab, apiTabApiKeyModal, apiTabCreateApiModal2, apiTabDeleteApiModal2, apiTabEditApiModal, apiTabLabels, apiTabTokenPolicies, appSidebarIndex, appSidebarProjectItem, appSidebarProjectsSidebarDropdown, appSidebarToggleSidebarButton, applyApplyWizard, benchmarksAddItemsModal, benchmarksBenchmarkItemsModal, benchmarksCreateBenchmarkModal, benchmarksDeleteItemConfirm, benchmarksIndex, canvasBinaryCanvas, canvasCanvasComponent, canvasCanvasControls, canvasCanvasExportHandlers, canvasCanvasRichTextEditor, canvasCodeCanvasComponent, canvasSessionCanvasCards, canvasUseCanvasVersionNavigation, careerCompanyDialog, careerEducationDialog, careerEducationTab, careerExperienceDialog, careerExperienceTab, careerInstitutionDialog, careerResumeTab, chat, chatAiMessageBubble, chatAiMessageCopy, chatAiMessageRating, chatAiMessageReportInappropriateContent, chatAiMessageShare, chatHistoryChatHistoryTab, chatHistoryReportHistory, chatIndex, chatInputForm, chatInputFormFileAttachmentsList, chatInputFormInsideButtons, chatInputFormMemoryMenu, chatInputFormOutsideButtons, chatInputFormScreenSharingButton, chatInputFormUploadMenu, chatInputFormVoiceCallButton, chatInputFormVoiceChatButton, chatPrivacyChatPrivacyToggle, chatStopStreamingButton, clawSandboxAgentConfigPrompts, clawSandboxAgentSkills, clawSandboxHelpers, clawSandboxLlmProviderModal, clawSandboxOverlayModal, clawSandboxSandboxConfig, common, componentsHumanSupportSection, componentsMentorPromptDialog, componentsPolicyAssignmentSection, componentsPolicyConfigDialog, componentsProactiveSettingsSection, componentsTemplateActionsSection, componentsTemplateVariablesHelper, componentsUserProgressSettingsSection, componentsWatcherEmailSection, courseContentAccessiblePaginate, courseContentCourseContentLayout, courseContentDiscoverFacetsFilter, courseContentDiscoverFilterDrawer, createAgentModalCreateAgentForm, createAgentModalLabels, creditBalance, datasetsTabAddResourceModal, datasetsTabDatasetItem, datasetsTabLabels, datasetsTabRetrainScheduleModal, zh as default, disclaimersTabLabels, documentSidebar, embedTabLabels, evaluationTabLabels, fieldInfo, gradebookGradebookTab, graderTabLabels, guidedSuggestedPrompts, historyTabLabels, humanSupportTabLabels, integrationsTab, inviteCoursesTab, inviteProgramsTab, inviteUsersTab, liveKitVoiceChat, llmTabLabels, localLlmLocalLlmTab, localLlmUseModelDownload, ltiTabLabels, mcpOAuthApp, mcpServersMenu, mcpTab, mcpTabConnectorDialogs, mcpTabConnectorManagementContent, memoryAddMemoryDialog, memoryAdminAgentMemoriesModal, memoryAdminTab, memoryAdminUserMemoriesModal, memoryEditMemoryDialog, memoryMemoryTab, memoryTabAddMemoryModal, memoryTabDeleteMemoryModal, memoryTabEditMemoryModal, memoryTabLabels, memoryTabLearnersMemories, memoryTabManageCategoriesModal, memoryTabManageMemories, memoryTabSavedMemoriesModal, mentorsMentorSelectionGrid, modalsAddPromptModal, modalsChatActionBlockingOverlay, modalsContactAdminModal, modalsDisclaimerModal, modalsEditPromptModal, modalsPaywallModal, modalsPromptGalleryModal, modalsUserProfileModal, modalsVoiceChatModal, monetizationCancelSubscription, monetizationItemSearchDropdown, monetizationPaywallDetail, monetizationPaywalledItemsList, monetizationPriceManagement, monetizationStripeConnect, navbar, notificationsAlertsTab, notificationsEditAlertDialog, notificationsNotificationDisplay, notificationsNotificationDropdown, notificationsSendNotificationDialog, onboardingOnboardingWizard, onboardingUserOnboarding, pipChat, placementExam, planPicker, platformNavbar, platformSidebar, privacyAuditLog, privacyTabLabels, profileAccount, profileAddCreditsModal, profileAdmin, profileApplicationsQuestionsEditor, profileApplicationsTab, profileAutoRechargeModal, profileBilling, profileCatalogInviteModal, profileChatPrivacyTab, profileCsvEditor, profileIndex, profileInviteUserContent, profileInvitedUsers, profileLlmUsage, profileOnboardingTab, profileOrganization, profileOverviewTab, profileSecurity, projectsAddMentorToProjectModal, projectsCreateProjectModal, projectsDeleteProjectModal, projectsMinimumMentorAlert, projectsProjectActionButtons, projectsProjectFilesModal, projectsProjectInstructionsModal, projectsProjectLandingPage, projectsProjectMentorsList, projectsProjectsPage, projectsRenameProjectModal, promptGalleryModalEmptyPrompts, promptGalleryModalPromptCard, promptsTabAddPromptModal, promptsTabEditPromptModal, promptsTabLabels, purchasesPurchasesTab, resourceModalGithubFileUploadModal, resourceModalLocalFileUploadModal, resourceModalUrlUploadModal, resourceModalWebsiteCrawlModal, resourcePicker, retrievedDocumentsButton, richTextEditor, safetyTabLabels, screenshareTabLabels, secrets, settingsTabCopyMentorModal, settingsTabLabels, settingsTabWelcomeScreen, skillsProfileAddSkillDialog, skillsProfileCreatePathwayModal, skillsProfileCredentialBox, skillsProfileCredentialDetailModal, skillsProfileEducationBox, skillsProfileExperienceBox, skillsProfileMediaBox, skillsProfilePathwayDetailModal, skillsProfileProfileInfoCards, skillsProfileProgramDetailModal, skillsProfileResumeBox, skillsProfileSkillDetailModal, skillsProfileSkillsBox, skillsTabLabels, slashSkillPicker, spendCapUsage, spendCapsTabLabels, summernoteTextEditor, tabsAlertstab, tabsDisclaimersTab, tabsEmbedTab, tabsGroupstab, tabsHistoryTab, tabsHumanSupportTab, tabsPoliciestab, tabsPrivacyTab, tabsPromptsTab, tabsRolestab, tabsSafetyTab, tabsSettingsTab, tabsTeamsaccesspanel, tabsUserstab, tabsVoiceTab, tasksTabLabels, tenantSwitchIndex, toolsTabLabels, topBannerIndex, uiDialog, uiPagination, uiSheet, uiSidebar, userProfileDropdownIndex, usersModelsTab, version, virtualMachineAdminTab, virtualMachineHostInput, virtualMachineNetworkPolicies, virtualMachineNetworkSection, voiceTabCallConfigSection, voiceTabLabels, voiceTabVoicePicker, welcomeChatConversationStarters, welcomeChatExploreMentors, workflowsClassifierPanel, workflowsConnectorManagementDialog, workflowsCreateWorkflowModal, workflowsDeleteWorkflowModal, workflowsNodeConfigPanel, workflowsToolDialogs, workflowsWorkflowCanvas, workflowsWorkflowEditor, workflowsWorkflowPreviewChat, workflowsWorkflowsList };
|
|
9198
9298
|
//# sourceMappingURL=zh.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zh.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,88 +1,101 @@
|
|
|
1
1
|
import { Locator, Page } from '@playwright/test';
|
|
2
2
|
import type { CreditBalancePlan } from './credit-balance-helpers';
|
|
3
3
|
export type BillingAutoRechargeStatus = 'Enabled' | 'Disabled';
|
|
4
|
-
/** Locator for the
|
|
5
|
-
export declare function billingPlanSection(page: Page): Locator;
|
|
6
|
-
/** Locator for the Credits section card on the BillingTab. */
|
|
4
|
+
/** Locator for the Credits section card on the BillingTab (there is no Plan card). */
|
|
7
5
|
export declare function billingCreditsSection(page: Page): Locator;
|
|
8
6
|
/** Locator for the Auto Recharge section card on the BillingTab.
|
|
9
|
-
*
|
|
7
|
+
* Rendered whenever a payment method is on file (never on the free trial).
|
|
10
8
|
*/
|
|
11
9
|
export declare function billingAutoRechargeSection(page: Page): Locator;
|
|
12
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Detects the billing state from the Credits section: "Trial" when it offers
|
|
12
|
+
* "Upgrade" (the plan picker), "Free" otherwise. Returns null while the
|
|
13
|
+
* section is not rendered (loading skeletons).
|
|
14
|
+
*/
|
|
13
15
|
export declare function getBillingPlanLabel(page: Page): Promise<CreditBalancePlan | null>;
|
|
14
16
|
/** Reads the auto-recharge status badge (Enabled / Disabled) when the section is rendered. */
|
|
15
17
|
export declare function getBillingAutoRechargeStatus(page: Page): Promise<BillingAutoRechargeStatus | null>;
|
|
16
|
-
/** Waits for the BillingTab loading skeletons to clear by waiting for the
|
|
17
|
-
* section card to mount. */
|
|
18
|
+
/** Waits for the BillingTab loading skeletons to clear by waiting for the
|
|
19
|
+
* Credits section card to mount. */
|
|
18
20
|
export declare function waitForBillingTabReady(page: Page): Promise<void>;
|
|
19
|
-
/**
|
|
20
|
-
* Asserts the Plan section state for a given plan. Verifies:
|
|
21
|
-
* - The plan label text matches `options.plan`
|
|
22
|
-
* - The "Current" pill is visible
|
|
23
|
-
* - The Upgrade button is visible iff the plan is not Premium
|
|
24
|
-
*/
|
|
25
|
-
export declare function expectBillingPlanSection(page: Page, options: {
|
|
26
|
-
plan: CreditBalancePlan;
|
|
27
|
-
}): Promise<void>;
|
|
28
21
|
/**
|
|
29
22
|
* Asserts the Credits section state. Always verifies the "Available" stat row.
|
|
30
23
|
* The action button rule mirrors the component:
|
|
31
|
-
* -
|
|
32
|
-
* -
|
|
33
|
-
*
|
|
34
|
-
*
|
|
24
|
+
* - Trial → "Upgrade" visible; no Add Credits
|
|
25
|
+
* - Free → "Add Credits" visible whether or not a card is on file (the
|
|
26
|
+
* dialog collects one on Stripe first when there is none); never
|
|
27
|
+
* "Upgrade". `hasPaymentMethod` only matters to the Auto
|
|
28
|
+
* Recharge section (see `expectBillingAutoRechargeSection`).
|
|
35
29
|
*/
|
|
36
30
|
export declare function expectBillingCreditsSection(page: Page, options: {
|
|
37
31
|
plan: CreditBalancePlan;
|
|
38
32
|
hasPaymentMethod?: boolean;
|
|
39
33
|
}): Promise<void>;
|
|
40
34
|
/**
|
|
41
|
-
* Asserts the Auto Recharge section visibility.
|
|
42
|
-
*
|
|
43
|
-
* to assert the section is absent. When visible and
|
|
44
|
-
* asserts the Enabled/Disabled badge text.
|
|
35
|
+
* Asserts the Auto Recharge section visibility. The component renders it when
|
|
36
|
+
* a payment method is on file and the account is not on the free trial. Pass
|
|
37
|
+
* `expectVisible: false` to assert the section is absent. When visible and
|
|
38
|
+
* `status` is provided, also asserts the Enabled/Disabled badge text.
|
|
45
39
|
*/
|
|
46
40
|
export declare function expectBillingAutoRechargeSection(page: Page, options: {
|
|
47
41
|
expectVisible: boolean;
|
|
48
42
|
status?: BillingAutoRechargeStatus;
|
|
49
43
|
}): Promise<void>;
|
|
50
44
|
/**
|
|
51
|
-
* Free plan:
|
|
52
|
-
*
|
|
53
|
-
|
|
54
|
-
export declare function expectBillingTabForFreePlan(page: Page): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* Trial plan: Plan="Trial" with Upgrade visible; Credits action depends on
|
|
57
|
-
* `hasPaymentMethod` (Add Credits when true, Manage Billing when false);
|
|
58
|
-
* Auto Recharge section is rendered iff `hasPaymentMethod` is true.
|
|
45
|
+
* Free plan: no "Upgrade", "Add Credits" always; the Auto Recharge section
|
|
46
|
+
* follows `hasPaymentMethod` (shown when true, absent when false). With
|
|
47
|
+
* `hasPaymentMethod` omitted only the Credits card is verified.
|
|
59
48
|
*/
|
|
60
|
-
export declare function
|
|
61
|
-
hasPaymentMethod
|
|
49
|
+
export declare function expectBillingTabForStandardPlan(page: Page, options?: {
|
|
50
|
+
hasPaymentMethod?: boolean;
|
|
62
51
|
}): Promise<void>;
|
|
63
52
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* Auto Recharge section is rendered iff `hasPaymentMethod` is true.
|
|
53
|
+
* Trial: "Upgrade" (opens the plan picker) is the only Credits action and the
|
|
54
|
+
* Auto Recharge section is hidden entirely (regardless of has_payment_method).
|
|
67
55
|
*/
|
|
68
|
-
export declare function
|
|
69
|
-
hasPaymentMethod: boolean;
|
|
70
|
-
}): Promise<void>;
|
|
56
|
+
export declare function expectBillingTabForTrialPlan(page: Page): Promise<void>;
|
|
71
57
|
/**
|
|
72
|
-
* Convenience: detects the
|
|
73
|
-
* the matching
|
|
58
|
+
* Convenience: detects the billing state from the Credits section and runs
|
|
59
|
+
* the matching assertions. Returns the detected plan.
|
|
74
60
|
*
|
|
75
|
-
*
|
|
76
|
-
* sub-states; if omitted, only the
|
|
61
|
+
* On the Free plan, pass `hasPaymentMethod` to assert the Credits/Auto Recharge
|
|
62
|
+
* sub-states; if omitted, only the base Credits row is verified.
|
|
77
63
|
*/
|
|
78
64
|
export declare function expectBillingTabForCurrentPlan(page: Page, options?: {
|
|
79
65
|
hasPaymentMethod?: boolean;
|
|
80
66
|
}): Promise<CreditBalancePlan>;
|
|
81
|
-
/** Clicks the Upgrade button in the
|
|
67
|
+
/** Clicks the Upgrade button in the Credits section (free trial only); it opens the plan picker. */
|
|
82
68
|
export declare function clickBillingUpgrade(page: Page): Promise<void>;
|
|
83
|
-
/** Clicks the
|
|
69
|
+
/** Clicks Upgrade in the Credits section and waits for the plan picker to show its plans. */
|
|
70
|
+
export declare function openPlanPickerFromBilling(page: Page): Promise<Locator>;
|
|
71
|
+
/** Clicks the Add Credits button in the Credits section (Free plan, with or without a card). */
|
|
84
72
|
export declare function clickBillingAddCredits(page: Page): Promise<void>;
|
|
85
|
-
/**
|
|
86
|
-
export declare function
|
|
73
|
+
/** Locator for the Add Credits dialog (opened from the Billing tab or the credit dropdown). */
|
|
74
|
+
export declare function addCreditsDialog(page: Page): Locator;
|
|
75
|
+
/**
|
|
76
|
+
* Types a USD amount into the open Add Credits dialog and submits it. With a
|
|
77
|
+
* payment method on file the submit button reads "Add Credits" and the charge
|
|
78
|
+
* runs at once; without one it reads "Continue" and the page navigates to the
|
|
79
|
+
* Stripe customer portal to save a card (the charge runs when Stripe returns
|
|
80
|
+
* to the app). Returns once that finished (the dialog closed after the
|
|
81
|
+
* charge, or the browser left for Stripe), with which of the two buttons was
|
|
82
|
+
* pressed. A refused charge keeps the dialog open, so this then times out.
|
|
83
|
+
*/
|
|
84
|
+
export declare function submitAddCreditsAmount(page: Page, amountUsd: string | number): Promise<'Add Credits' | 'Continue'>;
|
|
87
85
|
/** Clicks the Manage Usage button in the Auto Recharge section. */
|
|
88
86
|
export declare function clickBillingManageUsage(page: Page): Promise<void>;
|
|
87
|
+
/** @deprecated There is no Plan card any more; use `billingCreditsSection`. */
|
|
88
|
+
export declare const billingPlanSection: typeof billingCreditsSection;
|
|
89
|
+
/** @deprecated The plan now shows in the Credits card; use `expectBillingCreditsSection`. */
|
|
90
|
+
export declare const expectBillingPlanSection: typeof expectBillingCreditsSection;
|
|
91
|
+
/** @deprecated The Free plan is now the free trial; use `expectBillingTabForTrialPlan`. */
|
|
92
|
+
export declare const expectBillingTabForFreePlan: typeof expectBillingTabForTrialPlan;
|
|
93
|
+
/** @deprecated The Premium plan is now the Free plan; use `expectBillingTabForStandardPlan`. */
|
|
94
|
+
export declare const expectBillingTabForPremiumPlan: typeof expectBillingTabForStandardPlan;
|
|
95
|
+
/** @deprecated The trial button reads "Upgrade" and opens the plan picker; use `clickBillingUpgrade`. */
|
|
96
|
+
export declare const clickBillingUpgradeToStandard: typeof clickBillingUpgrade;
|
|
97
|
+
/**
|
|
98
|
+
* @deprecated Manage Billing is gone; Add Credits collects a card when none is on file. Use
|
|
99
|
+
* `clickBillingAddCredits`. Note it opens the Add Credits dialog and no longer leaves for Stripe.
|
|
100
|
+
*/
|
|
101
|
+
export declare const clickBillingManageBilling: typeof clickBillingAddCredits;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { Locator, Page } from '@playwright/test';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The two billing states the helpers tell apart: the free trial (main tenant,
|
|
4
|
+
* no workspace of your own yet) and an account on a plan, where credits are
|
|
5
|
+
* bought as needed. Every plan (Free, Pro, Max, ...) reads as `'Free'` here;
|
|
6
|
+
* the badge itself shows the plan's name.
|
|
7
|
+
*/
|
|
8
|
+
export type CreditBalancePlan = 'Free' | 'Trial';
|
|
3
9
|
/**
|
|
4
10
|
* Reads `current_tenant` from localStorage and returns its `show_paywall` flag.
|
|
5
11
|
* Returns false if the entry is missing, malformed, or the flag is unset.
|
|
@@ -9,7 +15,7 @@ export declare function getCurrentTenantShowPaywall(page: Page): Promise<boolean
|
|
|
9
15
|
export declare function creditBalanceTrigger(page: Page): Locator;
|
|
10
16
|
/** Locator for the credit-balance dropdown panel (rendered in a Radix portal). */
|
|
11
17
|
export declare function creditBalancePanel(page: Page): Locator;
|
|
12
|
-
/** Locator for the plan badge (Free
|
|
18
|
+
/** Locator for the plan badge (Trial, Free or the plan's name) inside the open panel. */
|
|
13
19
|
export declare function creditBalancePlanBadge(page: Page): Locator;
|
|
14
20
|
/**
|
|
15
21
|
* Asserts the credit-balance trigger is visible iff the current tenant has
|
|
@@ -35,39 +41,55 @@ export declare function waitForCreditBalanceLoaded(page: Page): Promise<void>;
|
|
|
35
41
|
/** Closes the credit-balance dropdown via Escape and waits for it to detach. */
|
|
36
42
|
export declare function closeCreditBalanceDropdown(page: Page): Promise<void>;
|
|
37
43
|
/**
|
|
38
|
-
* Reads the
|
|
39
|
-
*
|
|
44
|
+
* Reads the billing state from the open panel's badge: `'Trial'` on the free
|
|
45
|
+
* trial, `'Free'` for an account on any plan (the badge then shows "Free" or
|
|
46
|
+
* the plan's name). Returns null if the badge is not rendered (e.g. billing
|
|
47
|
+
* data still loading or errored).
|
|
40
48
|
*/
|
|
41
49
|
export declare function getCreditBalancePlanLabel(page: Page): Promise<CreditBalancePlan | null>;
|
|
42
50
|
/**
|
|
43
51
|
* Reads the "Remaining" credits value from the open panel ("X,XXX Credits").
|
|
44
|
-
* Returns null when the row is not rendered or unparseable.
|
|
52
|
+
* Returns null when the row is not rendered or unparseable. The panel shows
|
|
53
|
+
* cached data while it refetches, so after a top-up read it through
|
|
54
|
+
* `expect.poll(() => getCreditBalanceRemaining(page))`.
|
|
45
55
|
*/
|
|
46
56
|
export declare function getCreditBalanceRemaining(page: Page): Promise<number | null>;
|
|
47
57
|
/**
|
|
48
|
-
*
|
|
58
|
+
* UI for an account on a plan: never an "Upgrade" button; "Add Credits" always.
|
|
59
|
+
* - With a payment method: Manage Usage + Add Credits and the Auto Recharge section.
|
|
60
|
+
* - Without one: Add Credits alone (the dialog collects a card on Stripe first),
|
|
61
|
+
* no Manage Usage, no Auto Recharge section.
|
|
62
|
+
* - `hasPaymentMethod` omitted: only the badge, Add Credits and the absence of
|
|
63
|
+
* Upgrade are checked.
|
|
64
|
+
* - `planName`: the exact badge text ("Free", "Max"); omitted, any plan but
|
|
65
|
+
* the trial passes.
|
|
49
66
|
*/
|
|
50
|
-
export declare function
|
|
67
|
+
export declare function expectCreditBalancePanelForStandardPlan(page: Page, options?: {
|
|
68
|
+
hasPaymentMethod?: boolean;
|
|
69
|
+
planName?: string;
|
|
70
|
+
}): Promise<void>;
|
|
51
71
|
/**
|
|
52
|
-
* Trial
|
|
72
|
+
* Trial UI: "Upgrade" only (it opens the plan picker). No Manage Usage /
|
|
73
|
+
* Add Credits, and no Auto Recharge section.
|
|
53
74
|
*/
|
|
54
75
|
export declare function expectCreditBalancePanelForTrialPlan(page: Page): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* Premium plan UI: Upgrade Plan must NOT appear.
|
|
57
|
-
* - With payment method: Manage Usage + Add Credits both visible; Manage Billing hidden.
|
|
58
|
-
* - Without payment method: Manage Billing visible; Manage Usage + Add Credits hidden.
|
|
59
|
-
*/
|
|
60
|
-
export declare function expectCreditBalancePanelForPremiumPlan(page: Page, options: {
|
|
61
|
-
hasPaymentMethod: boolean;
|
|
62
|
-
}): Promise<void>;
|
|
63
76
|
/**
|
|
64
77
|
* Convenience: opens the dropdown, detects the active plan from the badge,
|
|
65
78
|
* and runs the matching state assertions on the already-open panel. Returns
|
|
66
79
|
* the detected plan label.
|
|
67
80
|
*
|
|
68
|
-
*
|
|
69
|
-
* sub-state; if omitted
|
|
81
|
+
* On the Free plan you may pass `hasPaymentMethod` to assert the specific
|
|
82
|
+
* sub-state; if omitted, only the absence of "Upgrade" is checked.
|
|
70
83
|
*/
|
|
71
84
|
export declare function expectCreditBalanceForCurrentPlan(page: Page, options?: {
|
|
72
85
|
hasPaymentMethod?: boolean;
|
|
73
86
|
}): Promise<CreditBalancePlan>;
|
|
87
|
+
/**
|
|
88
|
+
* Clicks "Upgrade" in the credit balance dropdown (free trial only) and waits
|
|
89
|
+
* for the plan picker to show its plans.
|
|
90
|
+
*/
|
|
91
|
+
export declare function openPlanPickerFromCreditBalance(page: Page): Promise<Locator>;
|
|
92
|
+
/** @deprecated The Free plan is now the free trial; use `expectCreditBalancePanelForTrialPlan`. */
|
|
93
|
+
export declare const expectCreditBalancePanelForFreePlan: typeof expectCreditBalancePanelForTrialPlan;
|
|
94
|
+
/** @deprecated The Premium plan is now the Free plan; use `expectCreditBalancePanelForStandardPlan`. */
|
|
95
|
+
export declare const expectCreditBalancePanelForPremiumPlan: typeof expectCreditBalancePanelForStandardPlan;
|
|
@@ -23,7 +23,7 @@ export type { AgentPromptField, SandboxKind } from './claw-sandbox-helpers';
|
|
|
23
23
|
export { switchToSkillsTab, verifySkillsTabVisible, switchToAgentSkillsSubTab, switchToAvailableSkillsSubTab, goToSkillsListPage, verifySkillsEmptyState, verifyAgentSkillsEmptyState, getSkillRowCount, verifySkillVisible, addSkillToAgent, verifySkillAdded, removeSkillFromAgent, isSkillEnabled, enableSkill, disableSkill, toggleSkill, setCatalogSkillEnabled, openNewSkillDialog, createSkill, openSkillActionsMenu, openEditSkillDialog, editSkill, deleteSkill, cancelDeleteSkill, switchToSkillResourcesSubTab, addTextResource, uploadAssetResource, editTextResource, deleteResource, openSlashSkillPicker, selectSlashSkill, } from './agent-skills-helpers';
|
|
24
24
|
export type { SkillFormValues, TextResourceValues } from './agent-skills-helpers';
|
|
25
25
|
export { navigateToAuditLog, verifyAuditLogTableVisible, getAuditLogRowCount, verifyAuditLogEntryStructure, verifyAuditLogEmptyState, verifyAuditLogPermissionError, verifyAuditLogGenericError, verifyAuditLogLoading, waitForAuditLogDataLoaded, filterByAction, filterByActor, getAvailableActors, filterByDateRange, clearDateRangeFilter, getPaginationInfo, goToNextPage, goToPreviousPage, goToFirstPage, goToLastPage, goToPage, verifyCurrentPage, isOnLastPage, isOnFirstPage, navigateToAuditLogAndWaitForData, filterByActionAndVerify, filterByActorAndVerify, } from './audit-log-helpers';
|
|
26
|
-
export { getCurrentTenantShowPaywall, creditBalanceTrigger, creditBalancePanel, creditBalancePlanBadge, expectCreditBalanceVisibilityForTenant, openCreditBalanceDropdown, waitForCreditBalanceLoaded, closeCreditBalanceDropdown, getCreditBalancePlanLabel, getCreditBalanceRemaining,
|
|
26
|
+
export { getCurrentTenantShowPaywall, creditBalanceTrigger, creditBalancePanel, creditBalancePlanBadge, expectCreditBalanceVisibilityForTenant, openCreditBalanceDropdown, waitForCreditBalanceLoaded, closeCreditBalanceDropdown, getCreditBalancePlanLabel, getCreditBalanceRemaining, expectCreditBalancePanelForStandardPlan, expectCreditBalancePanelForTrialPlan, expectCreditBalanceForCurrentPlan, openPlanPickerFromCreditBalance, expectCreditBalancePanelForFreePlan, expectCreditBalancePanelForPremiumPlan, } from './credit-balance-helpers';
|
|
27
27
|
export type { CreditBalancePlan } from './credit-balance-helpers';
|
|
28
28
|
export { PRIVACY_LABELS, isPrivacyTabVisible, switchToPrivacyTab, expectPrivacyFieldsHidden, expectPrivacyFieldsVisible, selectPrivacyAction, setBlockMessage, getEntityChip, setEntitySelected, expectEntitySelected, getOutputFilterSwitch, setOutputFilterEnabled, expectOutputFilterEnabled, } from './privacy-tab-helpers';
|
|
29
29
|
export type { PrivacyAction, PrivacyEntity } from './privacy-tab-helpers';
|
|
@@ -35,7 +35,8 @@ export { SCREENSHARE_LABELS, isScreenShareTabVisible, switchToScreenShareTab, op
|
|
|
35
35
|
export type { ScreenSharePromptField } from './screenshare-tab-helpers';
|
|
36
36
|
export { graderTabBody, isGraderTabVisible, switchToGraderTab, switchToGraderSubTab, isGradingEnabled, setGradingEnabled, saveGraderConfig, addGraderCriterion, editGraderCriterion, deleteGraderCriterion, expectLastCriterionDeleteDisabled, expectGraderMisconfiguredWarning, expectGraderTotalPoints, filterGradeResultsByEmail, expectGradeResultRow, overrideGradeResult, clearGradeResultOverride, GRADER_LABELS, } from './grader-tab-helpers';
|
|
37
37
|
export type { GraderCriterionInput, GraderGradingMode, GraderFeedbackMode, GraderSubTab, } from './grader-tab-helpers';
|
|
38
|
-
export {
|
|
38
|
+
export { billingCreditsSection, billingAutoRechargeSection, getBillingPlanLabel, getBillingAutoRechargeStatus, waitForBillingTabReady, expectBillingCreditsSection, expectBillingAutoRechargeSection, expectBillingTabForStandardPlan, expectBillingTabForTrialPlan, expectBillingTabForCurrentPlan, clickBillingUpgrade, openPlanPickerFromBilling, clickBillingAddCredits, addCreditsDialog, submitAddCreditsAmount, clickBillingManageUsage, billingPlanSection, expectBillingPlanSection, expectBillingTabForFreePlan, expectBillingTabForPremiumPlan, clickBillingUpgradeToStandard, clickBillingManageBilling, } from './billing-tab-helpers';
|
|
39
|
+
export { planPickerDialog, planCard, waitForPlanPicker, getPlanPickerKeys, expectPlanPicker, choosePlan, closePlanPicker, } from './plan-picker-helpers';
|
|
39
40
|
export type { BillingAutoRechargeStatus } from './billing-tab-helpers';
|
|
40
41
|
export { SPEND_LIMITS_LABELS, spendLimitsTabBody, userSpendLimitRow, isSpendLimitsTabVisible, switchToSpendLimitsTab, switchToSpendLimitsSubTab, setAgentSpendLimit, deleteAgentSpendLimit, addUserSpendLimit, editUserSpendLimit, setUserSpendLimitEnabled, deleteUserSpendLimit, workspaceSpendLimitSection, switchToWorkspaceSpendLimits, switchToPlanAndCredits, setWorkspaceSpendLimit, deleteWorkspaceSpendLimit, expectWorkspaceSpendStats, expectWorkspaceActualSpendStats, agentLimitsSection, agentLimitsRow, switchToAgentLimits, filterAgentLimits, clearAgentLimitsFilter, openAgentLimitsManage, clickSetSpendLimitForFilteredAgent, closeAgentLimitsPopup, setAgentLimitsRowEnabled, expectAgentLimitsRowContent, createAgentSpendLimitViaFilter, setAgentSpendLimitFromTenantBilling, deleteAgentSpendLimitFromTenantBilling, addUserSpendLimitFromTenantBilling, userLimitsSection, userLimitsRow, newUserDefaultSection, switchToUserLimits, filterUserLimits, clearUserLimitsFilter, clickSetSpendLimitForFilteredUser, addTenantUserSpendLimit, editTenantUserSpendLimit, setUserLimitsRowEnabled, deleteTenantUserSpendLimit, expectUserLimitsRowContent, setNewUserSpendLimitDefault, expectNewUserSpendLimitDefault, } from './spend-limits-helpers';
|
|
41
42
|
export type { SpendLimitSubTab, SpendLimitInterval, SpendLimitEnforcement, SpendLimitInput, UserSpendLimitInput, } from './spend-limits-helpers';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Locator, Page } from '@playwright/test';
|
|
2
|
+
/** The plan picker dialog a free-trial user gets from "Upgrade" (title "Choose Your Plan"). */
|
|
3
|
+
export declare function planPickerDialog(page: Page): Locator;
|
|
4
|
+
/** One plan card in the picker, by plan key (`free`, `premium`, `max`, `ultra`, ...). */
|
|
5
|
+
export declare function planCard(page: Page, planKey: string): Locator;
|
|
6
|
+
/**
|
|
7
|
+
* Waits until the picker is open and shows its plans. Fails here, not later,
|
|
8
|
+
* when the plans could not load ("Try again") or there are none.
|
|
9
|
+
*/
|
|
10
|
+
export declare function waitForPlanPicker(page: Page): Promise<Locator>;
|
|
11
|
+
/** The plan keys the picker currently shows, in order. */
|
|
12
|
+
export declare function getPlanPickerKeys(page: Page): Promise<string[]>;
|
|
13
|
+
/**
|
|
14
|
+
* Asserts the picker shows the given plans (by key, in order) and that each
|
|
15
|
+
* card offers a "Choose <name>" button. `names` maps a key to the heading it
|
|
16
|
+
* must carry (Free, Pro, Max, Ultra by default for the known keys).
|
|
17
|
+
*/
|
|
18
|
+
export declare function expectPlanPicker(page: Page, planKeys: string[], names?: Record<string, string>): Promise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Clicks the "Choose <name>" button of a plan and returns once the browser has
|
|
21
|
+
* left for Stripe (the URL no longer belongs to the app's origin). Pass the
|
|
22
|
+
* plan's key ("premium") or its heading ("Pro").
|
|
23
|
+
*/
|
|
24
|
+
export declare function choosePlan(page: Page, planKeyOrName: string): Promise<string>;
|
|
25
|
+
/** Closes the plan picker with its Close button. */
|
|
26
|
+
export declare function closePlanPicker(page: Page): Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { Locator, Page } from '@playwright/test';
|
|
|
7
7
|
* "This Agent" / "Per User" sub-tabs, the per-user table with a
|
|
8
8
|
* three-dots row menu, and the add/edit user-limit modal (email-based
|
|
9
9
|
* user picker), and
|
|
10
|
-
* - the **tenant settings Billing tab** with its "
|
|
10
|
+
* - the **tenant settings Billing tab** with its "Credits" /
|
|
11
11
|
* "Spend Limits" / "Agent Limits" / "User Limits" tabs: the workspace-wide
|
|
12
12
|
* limit section (`SpendLimitsSection`), the agent caps table
|
|
13
13
|
* (`AgentLimitsSection`), and the per-user caps across all agents plus the
|
|
@@ -42,7 +42,7 @@ export declare const SPEND_LIMITS_LABELS: {
|
|
|
42
42
|
readonly users: "Per User";
|
|
43
43
|
};
|
|
44
44
|
readonly tenantTabs: {
|
|
45
|
-
readonly planAndCredits: "
|
|
45
|
+
readonly planAndCredits: "Credits";
|
|
46
46
|
readonly spendLimits: "Spend Limits";
|
|
47
47
|
readonly agentLimits: "Agent Limits";
|
|
48
48
|
readonly userLimits: "User Limits";
|
|
@@ -169,8 +169,9 @@ export declare function workspaceSpendLimitSection(page: Page): Locator;
|
|
|
169
169
|
*/
|
|
170
170
|
export declare function switchToWorkspaceSpendLimits(page: Page): Promise<void>;
|
|
171
171
|
/**
|
|
172
|
-
* Switch the tenant Billing tab back to "
|
|
173
|
-
* gated on the
|
|
172
|
+
* Switch the tenant Billing tab back to "Credits" (the first sub-tab, which
|
|
173
|
+
* used to be "Plan & Credits"). Completion is gated on the Credits section
|
|
174
|
+
* rendering.
|
|
174
175
|
*/
|
|
175
176
|
export declare function switchToPlanAndCredits(page: Page): Promise<void>;
|
|
176
177
|
/**
|