@iblai/iblai-js 2.62.1 → 2.62.3
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/index.d.ts +1 -1
- package/dist/data-layer/playwright/spend-limits-helpers.d.ts +80 -2
- package/dist/playwright/index.cjs +210 -2
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.d.ts +81 -3
- package/dist/playwright/index.esm.js +197 -3
- package/dist/playwright/index.esm.js.map +1 -1
- package/dist/playwright/playwright/index.d.ts +1 -1
- package/dist/playwright/playwright/spend-limits-helpers.d.ts +80 -2
- package/dist/security/playwright/index.d.ts +1 -1
- package/dist/security/playwright/spend-limits-helpers.d.ts +80 -2
- package/dist/web-containers/playwright/index.d.ts +1 -1
- package/dist/web-containers/playwright/spend-limits-helpers.d.ts +80 -2
- package/dist/web-containers/source/_virtual/index2.js +2 -2
- package/dist/web-containers/source/_virtual/index3.js +2 -2
- package/dist/web-containers/source/add-resource-modal.js +3 -2
- package/dist/web-containers/source/add-resource-modal.js.map +1 -1
- package/dist/web-containers/source/agent-limits-section.js +3 -5
- package/dist/web-containers/source/agent-limits-section.js.map +1 -1
- package/dist/web-containers/source/billing.js +9 -3
- package/dist/web-containers/source/billing.js.map +1 -1
- package/dist/web-containers/source/chat/index.js +39 -11
- package/dist/web-containers/source/chat/index.js.map +1 -1
- package/dist/web-containers/source/chat-input-form.js +2 -2
- package/dist/web-containers/source/chat-input-form.js.map +1 -1
- package/dist/web-containers/source/components/chat/index.js +39 -11
- package/dist/web-containers/source/components/chat/index.js.map +1 -1
- package/dist/web-containers/source/components/chat-input-form.js +2 -2
- package/dist/web-containers/source/components/chat-input-form.js.map +1 -1
- package/dist/web-containers/source/components/hooks/use-google-drive-picker.js +158 -54
- package/dist/web-containers/source/components/hooks/use-google-drive-picker.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/datasets-tab/add-resource-modal.js +3 -2
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/datasets-tab/add-resource-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/billing.js +9 -3
- package/dist/web-containers/source/components/profile/billing.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/agent-limits-section.js +3 -5
- package/dist/web-containers/source/components/spend-caps/agent-limits-section.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/labels.js +74 -0
- package/dist/web-containers/source/components/spend-caps/labels.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/new-user-default-section.js +78 -0
- package/dist/web-containers/source/components/spend-caps/new-user-default-section.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/row-icon-action.js +16 -0
- package/dist/web-containers/source/components/spend-caps/row-icon-action.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/spend-cap-fields.js +23 -0
- package/dist/web-containers/source/components/spend-caps/spend-cap-fields.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/spend-cap-form.js +21 -23
- package/dist/web-containers/source/components/spend-caps/spend-cap-form.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/spend-cap-usage.js +1 -0
- package/dist/web-containers/source/components/spend-caps/spend-cap-usage.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/use-platform-user-options.js +39 -0
- package/dist/web-containers/source/components/spend-caps/use-platform-user-options.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/use-spend-cap-status.js +23 -0
- package/dist/web-containers/source/components/spend-caps/use-spend-cap-status.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/use-spend-caps.js +1 -11
- package/dist/web-containers/source/components/spend-caps/use-spend-caps.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/user-cap-modal.js +8 -32
- package/dist/web-containers/source/components/spend-caps/user-cap-modal.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/user-limits-section.js +117 -0
- package/dist/web-containers/source/components/spend-caps/user-limits-section.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/utils.js +14 -1
- package/dist/web-containers/source/components/spend-caps/utils.js.map +1 -1
- package/dist/web-containers/source/datasets-tab/add-resource-modal.js +3 -2
- package/dist/web-containers/source/datasets-tab/add-resource-modal.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/datasets-tab/add-resource-modal.js +3 -2
- package/dist/web-containers/source/edit-mentor-modal/tabs/datasets-tab/add-resource-modal.js.map +1 -1
- package/dist/web-containers/source/en.json.js +45 -5
- package/dist/web-containers/source/en.json.js.map +1 -1
- package/dist/web-containers/source/es.json.js +45 -5
- package/dist/web-containers/source/es.json.js.map +1 -1
- package/dist/web-containers/source/fr.json.js +45 -5
- package/dist/web-containers/source/fr.json.js.map +1 -1
- package/dist/web-containers/source/hooks/use-google-drive-picker.js +158 -54
- package/dist/web-containers/source/hooks/use-google-drive-picker.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/en.json.js +45 -5
- package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/es.json.js +45 -5
- package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js +45 -5
- package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js +45 -5
- package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/index2.js +2 -2
- package/dist/web-containers/source/index3.js +2 -2
- package/dist/web-containers/source/messages/en.json.js +45 -5
- package/dist/web-containers/source/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/messages/es.json.js +45 -5
- package/dist/web-containers/source/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/messages/fr.json.js +45 -5
- package/dist/web-containers/source/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/messages/zh.json.js +45 -5
- package/dist/web-containers/source/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/datasets-tab/add-resource-modal.js +3 -2
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/datasets-tab/add-resource-modal.js.map +1 -1
- package/dist/web-containers/source/new-user-default-section.js +78 -0
- package/dist/web-containers/source/new-user-default-section.js.map +1 -0
- package/dist/web-containers/source/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
- package/dist/web-containers/source/profile/billing.js +9 -3
- package/dist/web-containers/source/profile/billing.js.map +1 -1
- package/dist/web-containers/source/row-icon-action.js +16 -0
- package/dist/web-containers/source/row-icon-action.js.map +1 -0
- package/dist/web-containers/source/spend-cap-fields.js +23 -0
- package/dist/web-containers/source/spend-cap-fields.js.map +1 -0
- package/dist/web-containers/source/spend-cap-form.js +21 -23
- package/dist/web-containers/source/spend-cap-form.js.map +1 -1
- package/dist/web-containers/source/spend-cap-usage.js +1 -0
- package/dist/web-containers/source/spend-cap-usage.js.map +1 -1
- package/dist/web-containers/source/spend-caps/agent-limits-section.js +3 -5
- package/dist/web-containers/source/spend-caps/agent-limits-section.js.map +1 -1
- package/dist/web-containers/source/spend-caps/labels.js +74 -0
- package/dist/web-containers/source/spend-caps/labels.js.map +1 -1
- package/dist/web-containers/source/spend-caps/new-user-default-section.js +78 -0
- package/dist/web-containers/source/spend-caps/new-user-default-section.js.map +1 -0
- package/dist/web-containers/source/spend-caps/row-icon-action.js +16 -0
- package/dist/web-containers/source/spend-caps/row-icon-action.js.map +1 -0
- package/dist/web-containers/source/spend-caps/spend-cap-fields.js +23 -0
- package/dist/web-containers/source/spend-caps/spend-cap-fields.js.map +1 -0
- package/dist/web-containers/source/spend-caps/spend-cap-form.js +21 -23
- package/dist/web-containers/source/spend-caps/spend-cap-form.js.map +1 -1
- package/dist/web-containers/source/spend-caps/spend-cap-usage.js +1 -0
- package/dist/web-containers/source/spend-caps/spend-cap-usage.js.map +1 -1
- package/dist/web-containers/source/spend-caps/use-platform-user-options.js +39 -0
- package/dist/web-containers/source/spend-caps/use-platform-user-options.js.map +1 -0
- package/dist/web-containers/source/spend-caps/use-spend-cap-status.js +23 -0
- package/dist/web-containers/source/spend-caps/use-spend-cap-status.js.map +1 -0
- package/dist/web-containers/source/spend-caps/use-spend-caps.js +1 -11
- package/dist/web-containers/source/spend-caps/use-spend-caps.js.map +1 -1
- package/dist/web-containers/source/spend-caps/user-cap-modal.js +8 -32
- package/dist/web-containers/source/spend-caps/user-cap-modal.js.map +1 -1
- package/dist/web-containers/source/spend-caps/user-limits-section.js +117 -0
- package/dist/web-containers/source/spend-caps/user-limits-section.js.map +1 -0
- package/dist/web-containers/source/spend-caps/utils.js +14 -1
- package/dist/web-containers/source/spend-caps/utils.js.map +1 -1
- package/dist/web-containers/source/tabs/datasets-tab/add-resource-modal.js +3 -2
- package/dist/web-containers/source/tabs/datasets-tab/add-resource-modal.js.map +1 -1
- package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/use-google-drive-picker.js +158 -54
- package/dist/web-containers/source/use-google-drive-picker.js.map +1 -1
- package/dist/web-containers/source/use-platform-user-options.js +39 -0
- package/dist/web-containers/source/use-platform-user-options.js.map +1 -0
- package/dist/web-containers/source/use-spend-cap-status.js +23 -0
- package/dist/web-containers/source/use-spend-cap-status.js.map +1 -0
- package/dist/web-containers/source/use-spend-caps.js +1 -11
- package/dist/web-containers/source/use-spend-caps.js.map +1 -1
- package/dist/web-containers/source/user-cap-modal.js +8 -32
- package/dist/web-containers/source/user-cap-modal.js.map +1 -1
- package/dist/web-containers/source/user-limits-section.js +117 -0
- package/dist/web-containers/source/user-limits-section.js.map +1 -0
- package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/zh.json.js +45 -5
- package/dist/web-containers/source/zh.json.js.map +1 -1
- package/dist/web-utils/playwright/index.d.ts +1 -1
- package/dist/web-utils/playwright/spend-limits-helpers.d.ts +80 -2
- package/package.json +5 -5
|
@@ -2534,8 +2534,7 @@ var dataSourcesTabIntegrationDataSourcesTab = {
|
|
|
2534
2534
|
var datasetsTabAddResourceModal = {
|
|
2535
2535
|
title: "添加资源",
|
|
2536
2536
|
description: "添加知识以帮助您的代理提供更相关的见解。其他具有编辑权限的用户可以为更多主题重复使用这些来源。",
|
|
2537
|
-
|
|
2538
|
-
forceClosePicker: "强制关闭选择器",
|
|
2537
|
+
tryAgain: "重试",
|
|
2539
2538
|
notConfigured: "未为此租户配置",
|
|
2540
2539
|
scrollRegionAriaLabel: "资源类型"
|
|
2541
2540
|
};
|
|
@@ -4260,7 +4259,8 @@ var profileBilling = {
|
|
|
4260
4259
|
billingTabsAriaLabel: "账单板块",
|
|
4261
4260
|
tabPlanAndCredits: "套餐与积分",
|
|
4262
4261
|
tabSpendLimits: "支出限额",
|
|
4263
|
-
tabAgentLimits: "智能体限额"
|
|
4262
|
+
tabAgentLimits: "智能体限额",
|
|
4263
|
+
tabUserLimits: "用户限额"
|
|
4264
4264
|
};
|
|
4265
4265
|
var profileCatalogInviteModal = {
|
|
4266
4266
|
title: "目录邀请",
|
|
@@ -5341,7 +5341,8 @@ var spendCapUsage = {
|
|
|
5341
5341
|
intervalYear: "今年",
|
|
5342
5342
|
percentUsed: "已使用 {percent}%",
|
|
5343
5343
|
blockedBanner: "已达到使用限额。在周期重置前,新的聊天和训练将暂停。",
|
|
5344
|
-
warningBanner: "用量即将达到限额。"
|
|
5344
|
+
warningBanner: "用量即将达到限额。",
|
|
5345
|
+
scopeUser: "您在所有智能体上的用量"
|
|
5345
5346
|
};
|
|
5346
5347
|
var spendCapsTabLabels = {
|
|
5347
5348
|
header: {
|
|
@@ -5390,6 +5391,43 @@ var spendCapsTabLabels = {
|
|
|
5390
5391
|
setLimitButton: "设置支出限额",
|
|
5391
5392
|
manageAria: "管理 {name} 的支出限额",
|
|
5392
5393
|
statusToggleAria: "开启或关闭 {name} 的支出限额"
|
|
5394
|
+
},
|
|
5395
|
+
users: {
|
|
5396
|
+
title: "用户限额",
|
|
5397
|
+
description: "在此工作区内设有支出限额的用户,该限额涵盖其在所有智能体上的全部支出。搜索用户以设置或更改其限额。",
|
|
5398
|
+
filter: {
|
|
5399
|
+
label: "搜索用户",
|
|
5400
|
+
placeholder: "搜索用户…",
|
|
5401
|
+
typeToSearch: "请至少输入 2 个字符进行搜索",
|
|
5402
|
+
searching: "正在搜索用户…",
|
|
5403
|
+
noResults: "未找到用户",
|
|
5404
|
+
clear: "清除用户筛选"
|
|
5405
|
+
},
|
|
5406
|
+
table: {
|
|
5407
|
+
userColumn: "用户",
|
|
5408
|
+
limitColumn: "限额",
|
|
5409
|
+
spentColumn: "已支出",
|
|
5410
|
+
remainingColumn: "剩余",
|
|
5411
|
+
statusColumn: "状态"
|
|
5412
|
+
},
|
|
5413
|
+
emptyState: "尚未设置用户支出限额。在上方搜索用户即可设置。",
|
|
5414
|
+
emptyFiltered: "该用户尚未设置支出限额。",
|
|
5415
|
+
setLimitButton: "设置支出限额",
|
|
5416
|
+
editAria: "编辑 {name} 的支出限额",
|
|
5417
|
+
deleteAria: "删除 {name} 的支出限额",
|
|
5418
|
+
statusToggleAria: "切换 {name} 的支出限额"
|
|
5419
|
+
},
|
|
5420
|
+
newUserDefault: {
|
|
5421
|
+
title: "新用户默认限额",
|
|
5422
|
+
description: "每位加入此工作区的成员都会获得的支出限额,涵盖其在所有智能体上的全部支出。",
|
|
5423
|
+
futureJoinsNote: "仅对开启后加入的成员生效。要限制已在此的成员,请在上方设置其限额。",
|
|
5424
|
+
capability: {
|
|
5425
|
+
title: "默认支出限额",
|
|
5426
|
+
description: "开启后,每位新加入的成员都会获得下方限额作为其用户限额,之后可在“用户限额”中更改。",
|
|
5427
|
+
offHint: "开启后,新成员加入时即获得此限额。之后关闭时,您的设置仍会保留。"
|
|
5428
|
+
},
|
|
5429
|
+
savedToast: "已保存新用户默认限额",
|
|
5430
|
+
saveErrorToast: "无法保存新用户默认限额"
|
|
5393
5431
|
}
|
|
5394
5432
|
},
|
|
5395
5433
|
form: {
|
|
@@ -7740,7 +7778,9 @@ var chat = {
|
|
|
7740
7778
|
spendCapLimitMonth: "您已达到此助手本月的使用限额。",
|
|
7741
7779
|
spendCapLimitYear: "您已达到此助手今年的使用限额。",
|
|
7742
7780
|
spendCapLimitGeneric: "您已达到此助手的使用限额。",
|
|
7743
|
-
spendCapContactAdmin: "请在限额重置后重试,或联系您的管理员。"
|
|
7781
|
+
spendCapContactAdmin: "请在限额重置后重试,或联系您的管理员。",
|
|
7782
|
+
spendCapOpenBilling: "打开账单",
|
|
7783
|
+
spendCapAdminHint: "在“账单”中提高或关闭限额,或等待其重置。"
|
|
7744
7784
|
},
|
|
7745
7785
|
chatInputFormCameraCaptureDialog: {
|
|
7746
7786
|
cameraUnavailableError: "此浏览器中无法使用摄像头。",
|
|
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -37,7 +37,7 @@ export { graderTabBody, isGraderTabVisible, switchToGraderTab, switchToGraderSub
|
|
|
37
37
|
export type { GraderCriterionInput, GraderGradingMode, GraderFeedbackMode, GraderSubTab, } from './grader-tab-helpers';
|
|
38
38
|
export { billingPlanSection, billingCreditsSection, billingAutoRechargeSection, getBillingPlanLabel, getBillingAutoRechargeStatus, waitForBillingTabReady, expectBillingPlanSection, expectBillingCreditsSection, expectBillingAutoRechargeSection, expectBillingTabForFreePlan, expectBillingTabForTrialPlan, expectBillingTabForPremiumPlan, expectBillingTabForCurrentPlan, clickBillingUpgrade, clickBillingAddCredits, clickBillingManageBilling, clickBillingManageUsage, } from './billing-tab-helpers';
|
|
39
39
|
export type { BillingAutoRechargeStatus } from './billing-tab-helpers';
|
|
40
|
-
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, } from './spend-limits-helpers';
|
|
40
|
+
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
41
|
export type { SpendLimitSubTab, SpendLimitInterval, SpendLimitEnforcement, SpendLimitInput, UserSpendLimitInput, } from './spend-limits-helpers';
|
|
42
42
|
export { TASKS_LABELS, isTasksTabVisible, switchToTasksTab, getScheduleTaskButton, getSearchInput, getTaskRow, expectTotalTasks, expectCompletedTasks, expectFailedTasks, expectTasksEmpty, expectTaskInList, expectTaskNotInList, selectTaskInList, expectTaskStatus, searchTasks, openScheduleTaskDialog, scheduleTask, expectScheduleStartTimeInPastError, deleteTask, expectLogsForTask, expectNoLogsForSelectedTask, openFirstLogDetails, expectLogDetailsStatus, } from './tasks-tab-helpers';
|
|
43
43
|
export type { TaskRepeat, TaskStatus } from './tasks-tab-helpers';
|
|
@@ -8,8 +8,11 @@ import { Locator, Page } from '@playwright/test';
|
|
|
8
8
|
* three-dots row menu, and the add/edit user-limit modal (email-based
|
|
9
9
|
* user picker), and
|
|
10
10
|
* - the **tenant settings Billing tab** with its "Plan & Credits" /
|
|
11
|
-
* "Spend Limits" tabs
|
|
12
|
-
* (`SpendLimitsSection`
|
|
11
|
+
* "Spend Limits" / "Agent Limits" / "User Limits" tabs: the workspace-wide
|
|
12
|
+
* limit section (`SpendLimitsSection`), the agent caps table
|
|
13
|
+
* (`AgentLimitsSection`), and the per-user caps across all agents plus the
|
|
14
|
+
* default every new member gets (`UserLimitsSection` +
|
|
15
|
+
* `NewUserDefaultSection`), all inside `BillingTab`.
|
|
13
16
|
*
|
|
14
17
|
* Selector policy (flakiness-proof by construction):
|
|
15
18
|
* - Dialog-first scoping: every modal is resolved into a Locator variable
|
|
@@ -42,6 +45,7 @@ export declare const SPEND_LIMITS_LABELS: {
|
|
|
42
45
|
readonly planAndCredits: "Plan & Credits";
|
|
43
46
|
readonly spendLimits: "Spend Limits";
|
|
44
47
|
readonly agentLimits: "Agent Limits";
|
|
48
|
+
readonly userLimits: "User Limits";
|
|
45
49
|
};
|
|
46
50
|
/** aria-label of the tenant Billing tab's tablist. */
|
|
47
51
|
readonly tenantTablistAria: "Billing sections";
|
|
@@ -61,6 +65,7 @@ export declare const SPEND_LIMITS_LABELS: {
|
|
|
61
65
|
readonly toasts: {
|
|
62
66
|
readonly saved: "Spend limit saved";
|
|
63
67
|
readonly deleted: "Spend limit deleted";
|
|
68
|
+
readonly newUserDefaultSaved: "Default for new users saved";
|
|
64
69
|
};
|
|
65
70
|
readonly intervalOptions: {
|
|
66
71
|
readonly day: "Day";
|
|
@@ -276,3 +281,76 @@ export declare function deleteAgentSpendLimitFromTenantBilling(page: Page, mento
|
|
|
276
281
|
* row rendering in the popup's table.
|
|
277
282
|
*/
|
|
278
283
|
export declare function addUserSpendLimitFromTenantBilling(page: Page, mentorUniqueId: string, values: UserSpendLimitInput): Promise<void>;
|
|
284
|
+
/** The User Limits section card in the tenant Billing tab. */
|
|
285
|
+
export declare function userLimitsSection(page: Page): Locator;
|
|
286
|
+
/** A User Limits table row for the given username. */
|
|
287
|
+
export declare function userLimitsRow(page: Page, username: string): Locator;
|
|
288
|
+
/** The Default for New Users card under the User Limits table. */
|
|
289
|
+
export declare function newUserDefaultSection(page: Page): Locator;
|
|
290
|
+
/**
|
|
291
|
+
* Switch the tenant Billing tab to "User Limits". Assumes the tenant Billing
|
|
292
|
+
* tab is already open. Completion is gated on both cards rendering.
|
|
293
|
+
*/
|
|
294
|
+
export declare function switchToUserLimits(page: Page): Promise<void>;
|
|
295
|
+
/**
|
|
296
|
+
* Filter the User Limits table to one user via the autocomplete: types the
|
|
297
|
+
* email, clicks the matching option (the picker is email-only), and gates on
|
|
298
|
+
* the selected chip.
|
|
299
|
+
*/
|
|
300
|
+
export declare function filterUserLimits(page: Page, email: string): Promise<void>;
|
|
301
|
+
/** Clear the User Limits autocomplete filter (back to the full caps list). */
|
|
302
|
+
export declare function clearUserLimitsFilter(page: Page): Promise<void>;
|
|
303
|
+
/**
|
|
304
|
+
* With the filter set to a user who has no limit yet, click the empty
|
|
305
|
+
* state's "Set Spend Limit" button and return the opened modal's Locator —
|
|
306
|
+
* it opens straight on the form, with the filtered user already picked.
|
|
307
|
+
*/
|
|
308
|
+
export declare function clickSetSpendLimitForFilteredUser(page: Page): Promise<Locator>;
|
|
309
|
+
/**
|
|
310
|
+
* Create a user's limit across all agents from the tenant User Limits tab:
|
|
311
|
+
* filters to the user by email, opens the modal from the empty state, fills
|
|
312
|
+
* the form and saves. Completion is gated on the modal closing and the
|
|
313
|
+
* user's row rendering after the list refetch.
|
|
314
|
+
*/
|
|
315
|
+
export declare function addTenantUserSpendLimit(page: Page, values: UserSpendLimitInput): Promise<void>;
|
|
316
|
+
/**
|
|
317
|
+
* Edit an existing user limit through its row's edit icon → modal.
|
|
318
|
+
* Completion is gated on the modal closing after the upsert.
|
|
319
|
+
*/
|
|
320
|
+
export declare function editTenantUserSpendLimit(page: Page, username: string, values: SpendLimitInput): Promise<void>;
|
|
321
|
+
/**
|
|
322
|
+
* Idempotently flip a user limit's Status toggle in the User Limits table
|
|
323
|
+
* (saves immediately). Gates on the saved toast and the switch reflecting
|
|
324
|
+
* the new state after the list refetch.
|
|
325
|
+
*/
|
|
326
|
+
export declare function setUserLimitsRowEnabled(page: Page, username: string, enabled: boolean): Promise<void>;
|
|
327
|
+
/**
|
|
328
|
+
* Delete a user limit through its row's delete icon → confirmation dialog.
|
|
329
|
+
* Completion is gated on the dialog closing, the deleted toast and the row
|
|
330
|
+
* disappearing after the list refetch.
|
|
331
|
+
*/
|
|
332
|
+
export declare function deleteTenantUserSpendLimit(page: Page, username: string): Promise<void>;
|
|
333
|
+
/** Assert the text a User Limits row shows for its limit (e.g. "$25.00 / Month"). */
|
|
334
|
+
export declare function expectUserLimitsRowContent(page: Page, username: string, expected: {
|
|
335
|
+
limitText?: string;
|
|
336
|
+
enabled?: boolean;
|
|
337
|
+
}): Promise<void>;
|
|
338
|
+
/**
|
|
339
|
+
* Save the default spend limit every new member gets (switches to the User
|
|
340
|
+
* Limits tab first). The form sits behind a switch that makes its fields
|
|
341
|
+
* inert while off, so pass `enabled: true` whenever the values must be
|
|
342
|
+
* typed. Completion is gated on the PUT itself resolving OK and then the
|
|
343
|
+
* card's own saved toast: the card shows nothing else after a save (no
|
|
344
|
+
* usage strip, no row), and two saves in a row (turn on, then back off in a
|
|
345
|
+
* test's cleanup) raise the same toast text, so the toast alone could match
|
|
346
|
+
* the earlier save's toast while the later PUT is still in flight.
|
|
347
|
+
*/
|
|
348
|
+
export declare function setNewUserSpendLimitDefault(page: Page, values: SpendLimitInput): Promise<void>;
|
|
349
|
+
/**
|
|
350
|
+
* Assert what the Default for New Users card shows: its switch state and,
|
|
351
|
+
* optionally, the amount in its limit field.
|
|
352
|
+
*/
|
|
353
|
+
export declare function expectNewUserSpendLimitDefault(page: Page, expected: {
|
|
354
|
+
enabled: boolean;
|
|
355
|
+
limitUsd?: number | string;
|
|
356
|
+
}): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iblai/iblai-js",
|
|
3
|
-
"version": "2.62.
|
|
3
|
+
"version": "2.62.3",
|
|
4
4
|
"description": "Unified JavaScript SDK for IBL.ai — re-exports data-layer, web-containers, and web-utils under a single package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"axios": "1.13.6",
|
|
77
77
|
"dotenv": "16.6.1",
|
|
78
78
|
"winston": "3.19.0",
|
|
79
|
-
"@iblai/mcp": "1.38.
|
|
80
|
-
"@iblai/data-layer": "1.38.
|
|
81
|
-
"@iblai/web-containers": "1.62.
|
|
82
|
-
"@iblai/web-utils": "2.18.
|
|
79
|
+
"@iblai/mcp": "1.38.2",
|
|
80
|
+
"@iblai/data-layer": "1.38.2",
|
|
81
|
+
"@iblai/web-containers": "1.62.3",
|
|
82
|
+
"@iblai/web-utils": "2.18.2"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"@iblai/iblai-api": "4.166.0-ai",
|