@iblai/iblai-js 2.62.2 → 2.62.4
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/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-history/chat-history-tab.js +5 -8
- package/dist/web-containers/source/chat-history/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/chat-history-tab.js +5 -8
- package/dist/web-containers/source/chat-history-tab.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/profile/billing.js +9 -3
- package/dist/web-containers/source/components/profile/billing.js.map +1 -1
- package/dist/web-containers/source/components/profile/chat-history/chat-history-tab.js +5 -8
- package/dist/web-containers/source/components/profile/chat-history/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/components/profile/use-profile.js +32 -56
- package/dist/web-containers/source/components/profile/use-profile.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/components/user-profile-dropdown/index.js +2 -12
- package/dist/web-containers/source/components/user-profile-dropdown/index.js.map +1 -1
- package/dist/web-containers/source/en.json.js +44 -3
- package/dist/web-containers/source/en.json.js.map +1 -1
- package/dist/web-containers/source/es.json.js +44 -3
- package/dist/web-containers/source/es.json.js.map +1 -1
- package/dist/web-containers/source/fr.json.js +44 -3
- package/dist/web-containers/source/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/en.json.js +44 -3
- package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/es.json.js +44 -3
- package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js +44 -3
- package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js +44 -3
- package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/messages/en.json.js +44 -3
- package/dist/web-containers/source/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/messages/es.json.js +44 -3
- package/dist/web-containers/source/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/messages/fr.json.js +44 -3
- package/dist/web-containers/source/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/messages/zh.json.js +44 -3
- package/dist/web-containers/source/messages/zh.json.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/profile/billing.js +9 -3
- package/dist/web-containers/source/profile/billing.js.map +1 -1
- package/dist/web-containers/source/profile/chat-history/chat-history-tab.js +5 -8
- package/dist/web-containers/source/profile/chat-history/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/profile/use-profile.js +32 -56
- package/dist/web-containers/source/profile/use-profile.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/tsconfig.build.tsbuildinfo +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-profile.js +32 -56
- package/dist/web-containers/source/use-profile.js.map +1 -1
- 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/user-profile-dropdown/index.js +2 -12
- package/dist/web-containers/source/user-profile-dropdown/index.js.map +1 -1
- package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/zh.json.js +44 -3
- 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
|
@@ -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>;
|
|
@@ -5556,8 +5556,11 @@ async function clickBillingManageUsage(page) {
|
|
|
5556
5556
|
* three-dots row menu, and the add/edit user-limit modal (email-based
|
|
5557
5557
|
* user picker), and
|
|
5558
5558
|
* - the **tenant settings Billing tab** with its "Plan & Credits" /
|
|
5559
|
-
* "Spend Limits" tabs
|
|
5560
|
-
* (`SpendLimitsSection`
|
|
5559
|
+
* "Spend Limits" / "Agent Limits" / "User Limits" tabs: the workspace-wide
|
|
5560
|
+
* limit section (`SpendLimitsSection`), the agent caps table
|
|
5561
|
+
* (`AgentLimitsSection`), and the per-user caps across all agents plus the
|
|
5562
|
+
* default every new member gets (`UserLimitsSection` +
|
|
5563
|
+
* `NewUserDefaultSection`), all inside `BillingTab`.
|
|
5561
5564
|
*
|
|
5562
5565
|
* Selector policy (flakiness-proof by construction):
|
|
5563
5566
|
* - Dialog-first scoping: every modal is resolved into a Locator variable
|
|
@@ -5590,6 +5593,7 @@ const SPEND_LIMITS_LABELS = {
|
|
|
5590
5593
|
planAndCredits: 'Plan & Credits',
|
|
5591
5594
|
spendLimits: 'Spend Limits',
|
|
5592
5595
|
agentLimits: 'Agent Limits',
|
|
5596
|
+
userLimits: 'User Limits',
|
|
5593
5597
|
},
|
|
5594
5598
|
/** aria-label of the tenant Billing tab's tablist. */
|
|
5595
5599
|
tenantTablistAria: 'Billing sections',
|
|
@@ -5609,6 +5613,7 @@ const SPEND_LIMITS_LABELS = {
|
|
|
5609
5613
|
toasts: {
|
|
5610
5614
|
saved: 'Spend limit saved',
|
|
5611
5615
|
deleted: 'Spend limit deleted',
|
|
5616
|
+
newUserDefaultSaved: 'Default for new users saved',
|
|
5612
5617
|
},
|
|
5613
5618
|
intervalOptions: {
|
|
5614
5619
|
day: 'Day',
|
|
@@ -6199,6 +6204,195 @@ async function addUserSpendLimitFromTenantBilling(page, mentorUniqueId, values)
|
|
|
6199
6204
|
await closeAgentLimitsPopup(page);
|
|
6200
6205
|
logger.info(`Added user spend limit for "${values.email}" on "${mentorUniqueId}" from tenant Billing`);
|
|
6201
6206
|
}
|
|
6207
|
+
// ---------------------------------------------------------------------------
|
|
6208
|
+
// Tenant settings — Billing tab ("User Limits": per-user caps across all
|
|
6209
|
+
// agents + the default every new member gets)
|
|
6210
|
+
// ---------------------------------------------------------------------------
|
|
6211
|
+
/** The User Limits section card in the tenant Billing tab. */
|
|
6212
|
+
function userLimitsSection(page) {
|
|
6213
|
+
return page.getByTestId('spend-limits-users-section');
|
|
6214
|
+
}
|
|
6215
|
+
/** A User Limits table row for the given username. */
|
|
6216
|
+
function userLimitsRow(page, username) {
|
|
6217
|
+
return userLimitsSection(page).getByTestId(`user-limits-row-${username}`);
|
|
6218
|
+
}
|
|
6219
|
+
/** The Default for New Users card under the User Limits table. */
|
|
6220
|
+
function newUserDefaultSection(page) {
|
|
6221
|
+
return page.getByTestId('spend-limits-new-user-default-section');
|
|
6222
|
+
}
|
|
6223
|
+
/**
|
|
6224
|
+
* Switch the tenant Billing tab to "User Limits". Assumes the tenant Billing
|
|
6225
|
+
* tab is already open. Completion is gated on both cards rendering.
|
|
6226
|
+
*/
|
|
6227
|
+
async function switchToUserLimits(page) {
|
|
6228
|
+
const tab = tenantBillingTablist(page).getByRole('tab', {
|
|
6229
|
+
name: SPEND_LIMITS_LABELS.tenantTabs.userLimits,
|
|
6230
|
+
exact: true,
|
|
6231
|
+
});
|
|
6232
|
+
await test$1.expect(tab).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6233
|
+
await tab.click();
|
|
6234
|
+
await test$1.expect(userLimitsSection(page)).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6235
|
+
await test$1.expect(newUserDefaultSection(page)).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6236
|
+
logger.info('Switched to tenant User Limits tab');
|
|
6237
|
+
}
|
|
6238
|
+
/**
|
|
6239
|
+
* Filter the User Limits table to one user via the autocomplete: types the
|
|
6240
|
+
* email, clicks the matching option (the picker is email-only), and gates on
|
|
6241
|
+
* the selected chip.
|
|
6242
|
+
*/
|
|
6243
|
+
async function filterUserLimits(page, email) {
|
|
6244
|
+
const section = userLimitsSection(page);
|
|
6245
|
+
const input = section.getByTestId('user-limits-filter-input');
|
|
6246
|
+
await test$1.expect(input).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6247
|
+
await input.fill(email);
|
|
6248
|
+
const option = section
|
|
6249
|
+
.getByTestId('user-limits-filter-results')
|
|
6250
|
+
.getByRole('button', { name: email, exact: true });
|
|
6251
|
+
await test$1.expect(option).toBeVisible({ timeout: MUTATION_TIMEOUT });
|
|
6252
|
+
await option.click();
|
|
6253
|
+
await test$1.expect(section.getByTestId('user-limits-filter-selected')).toBeVisible({
|
|
6254
|
+
timeout: UI_TIMEOUT,
|
|
6255
|
+
});
|
|
6256
|
+
logger.info(`Filtered user limits to "${email}"`);
|
|
6257
|
+
}
|
|
6258
|
+
/** Clear the User Limits autocomplete filter (back to the full caps list). */
|
|
6259
|
+
async function clearUserLimitsFilter(page) {
|
|
6260
|
+
const section = userLimitsSection(page);
|
|
6261
|
+
const clearButton = section.getByTestId('user-limits-filter-clear');
|
|
6262
|
+
await test$1.expect(clearButton).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6263
|
+
await clearButton.click();
|
|
6264
|
+
await test$1.expect(section.getByTestId('user-limits-filter-input')).toBeVisible({
|
|
6265
|
+
timeout: UI_TIMEOUT,
|
|
6266
|
+
});
|
|
6267
|
+
}
|
|
6268
|
+
/**
|
|
6269
|
+
* With the filter set to a user who has no limit yet, click the empty
|
|
6270
|
+
* state's "Set Spend Limit" button and return the opened modal's Locator —
|
|
6271
|
+
* it opens straight on the form, with the filtered user already picked.
|
|
6272
|
+
*/
|
|
6273
|
+
async function clickSetSpendLimitForFilteredUser(page) {
|
|
6274
|
+
const button = userLimitsSection(page).getByTestId('user-limits-set-limit-button');
|
|
6275
|
+
await test$1.expect(button).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6276
|
+
await button.click();
|
|
6277
|
+
const modal = page.getByTestId('user-cap-modal');
|
|
6278
|
+
await test$1.expect(modal).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6279
|
+
await test$1.expect(modal.getByTestId('user-cap-modal-user-picker-selected')).toBeVisible({
|
|
6280
|
+
timeout: UI_TIMEOUT,
|
|
6281
|
+
});
|
|
6282
|
+
logger.info('Opened the user limit modal from the filtered empty state');
|
|
6283
|
+
return modal;
|
|
6284
|
+
}
|
|
6285
|
+
/**
|
|
6286
|
+
* Create a user's limit across all agents from the tenant User Limits tab:
|
|
6287
|
+
* filters to the user by email, opens the modal from the empty state, fills
|
|
6288
|
+
* the form and saves. Completion is gated on the modal closing and the
|
|
6289
|
+
* user's row rendering after the list refetch.
|
|
6290
|
+
*/
|
|
6291
|
+
async function addTenantUserSpendLimit(page, values) {
|
|
6292
|
+
await switchToUserLimits(page);
|
|
6293
|
+
await filterUserLimits(page, values.email);
|
|
6294
|
+
await clickSetSpendLimitForFilteredUser(page);
|
|
6295
|
+
await submitUserCapModal(page, values);
|
|
6296
|
+
await test$1.expect(userLimitsRow(page, values.username)).toBeVisible({ timeout: MUTATION_TIMEOUT });
|
|
6297
|
+
logger.info(`Added tenant user spend limit for "${values.email}"`);
|
|
6298
|
+
}
|
|
6299
|
+
/**
|
|
6300
|
+
* Edit an existing user limit through its row's edit icon → modal.
|
|
6301
|
+
* Completion is gated on the modal closing after the upsert.
|
|
6302
|
+
*/
|
|
6303
|
+
async function editTenantUserSpendLimit(page, username, values) {
|
|
6304
|
+
const editButton = userLimitsRow(page, username).getByTestId(`user-limits-edit-${username}`);
|
|
6305
|
+
await test$1.expect(editButton).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6306
|
+
await editButton.click();
|
|
6307
|
+
await submitUserCapModal(page, values);
|
|
6308
|
+
logger.info(`Edited tenant user spend limit for "${username}"`);
|
|
6309
|
+
}
|
|
6310
|
+
/**
|
|
6311
|
+
* Idempotently flip a user limit's Status toggle in the User Limits table
|
|
6312
|
+
* (saves immediately). Gates on the saved toast and the switch reflecting
|
|
6313
|
+
* the new state after the list refetch.
|
|
6314
|
+
*/
|
|
6315
|
+
async function setUserLimitsRowEnabled(page, username, enabled) {
|
|
6316
|
+
const toggle = userLimitsRow(page, username).getByTestId(`user-limits-status-switch-${username}`);
|
|
6317
|
+
await test$1.expect(toggle).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6318
|
+
if ((await toggle.getAttribute('aria-checked')) === String(enabled)) {
|
|
6319
|
+
logger.info(`Tenant user spend limit for "${username}" already ${enabled ? 'on' : 'off'}`);
|
|
6320
|
+
return;
|
|
6321
|
+
}
|
|
6322
|
+
await test$1.expect(toggle).toBeEnabled({ timeout: UI_TIMEOUT });
|
|
6323
|
+
await toggle.click();
|
|
6324
|
+
await test$1.expect(page.getByText(SPEND_LIMITS_LABELS.toasts.saved).first()).toBeVisible({
|
|
6325
|
+
timeout: MUTATION_TIMEOUT,
|
|
6326
|
+
});
|
|
6327
|
+
await test$1.expect(toggle).toHaveAttribute('aria-checked', String(enabled), {
|
|
6328
|
+
timeout: MUTATION_TIMEOUT,
|
|
6329
|
+
});
|
|
6330
|
+
logger.info(`Tenant user spend limit for "${username}" turned ${enabled ? 'on' : 'off'}`);
|
|
6331
|
+
}
|
|
6332
|
+
/**
|
|
6333
|
+
* Delete a user limit through its row's delete icon → confirmation dialog.
|
|
6334
|
+
* Completion is gated on the dialog closing, the deleted toast and the row
|
|
6335
|
+
* disappearing after the list refetch.
|
|
6336
|
+
*/
|
|
6337
|
+
async function deleteTenantUserSpendLimit(page, username) {
|
|
6338
|
+
const deleteButton = userLimitsRow(page, username).getByTestId(`user-limits-delete-${username}`);
|
|
6339
|
+
await test$1.expect(deleteButton).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6340
|
+
await deleteButton.click();
|
|
6341
|
+
await confirmDeleteDialog(page, 'user-limit-delete-modal');
|
|
6342
|
+
await test$1.expect(userLimitsRow(page, username)).toBeHidden({ timeout: MUTATION_TIMEOUT });
|
|
6343
|
+
logger.info(`Deleted tenant user spend limit for "${username}"`);
|
|
6344
|
+
}
|
|
6345
|
+
/** Assert the text a User Limits row shows for its limit (e.g. "$25.00 / Month"). */
|
|
6346
|
+
async function expectUserLimitsRowContent(page, username, expected) {
|
|
6347
|
+
const row = userLimitsRow(page, username);
|
|
6348
|
+
await test$1.expect(row).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6349
|
+
if (expected.limitText !== undefined) {
|
|
6350
|
+
await test$1.expect(row).toContainText(expected.limitText, { timeout: UI_TIMEOUT });
|
|
6351
|
+
}
|
|
6352
|
+
if (expected.enabled !== undefined) {
|
|
6353
|
+
await test$1.expect(row.getByTestId(`user-limits-status-switch-${username}`)).toHaveAttribute('aria-checked', String(expected.enabled), { timeout: UI_TIMEOUT });
|
|
6354
|
+
}
|
|
6355
|
+
}
|
|
6356
|
+
/**
|
|
6357
|
+
* Save the default spend limit every new member gets (switches to the User
|
|
6358
|
+
* Limits tab first). The form sits behind a switch that makes its fields
|
|
6359
|
+
* inert while off, so pass `enabled: true` whenever the values must be
|
|
6360
|
+
* typed. Completion is gated on the PUT itself resolving OK and then the
|
|
6361
|
+
* card's own saved toast: the card shows nothing else after a save (no
|
|
6362
|
+
* usage strip, no row), and two saves in a row (turn on, then back off in a
|
|
6363
|
+
* test's cleanup) raise the same toast text, so the toast alone could match
|
|
6364
|
+
* the earlier save's toast while the later PUT is still in flight.
|
|
6365
|
+
*/
|
|
6366
|
+
async function setNewUserSpendLimitDefault(page, values) {
|
|
6367
|
+
await switchToUserLimits(page);
|
|
6368
|
+
const section = newUserDefaultSection(page);
|
|
6369
|
+
await test$1.expect(section.getByTestId('new-user-default-form')).toBeVisible({ timeout: UI_TIMEOUT });
|
|
6370
|
+
await fillSpendLimitForm(page, section, 'new-user-default', values);
|
|
6371
|
+
const saveButton = section.getByTestId('new-user-default-save-button');
|
|
6372
|
+
await test$1.expect(saveButton).toBeEnabled({ timeout: UI_TIMEOUT });
|
|
6373
|
+
const responsePromise = page.waitForResponse((r) => r.request().method() === 'PUT' &&
|
|
6374
|
+
/\/spend-caps\/users\/default\/?$/.test(new URL(r.url()).pathname), { timeout: MUTATION_TIMEOUT });
|
|
6375
|
+
await saveButton.click();
|
|
6376
|
+
const response = await responsePromise;
|
|
6377
|
+
if (!response.ok()) {
|
|
6378
|
+
throw new Error(`Default for new users save failed: PUT ${response.url()} → ${response.status()} ${response.statusText()}`);
|
|
6379
|
+
}
|
|
6380
|
+
await test$1.expect(page.getByText(SPEND_LIMITS_LABELS.toasts.newUserDefaultSaved).first()).toBeVisible({
|
|
6381
|
+
timeout: MUTATION_TIMEOUT,
|
|
6382
|
+
});
|
|
6383
|
+
logger.info('Saved the default spend limit for new users');
|
|
6384
|
+
}
|
|
6385
|
+
/**
|
|
6386
|
+
* Assert what the Default for New Users card shows: its switch state and,
|
|
6387
|
+
* optionally, the amount in its limit field.
|
|
6388
|
+
*/
|
|
6389
|
+
async function expectNewUserSpendLimitDefault(page, expected) {
|
|
6390
|
+
const section = newUserDefaultSection(page);
|
|
6391
|
+
await test$1.expect(section.getByTestId('new-user-default-enabled-switch')).toHaveAttribute('aria-checked', String(expected.enabled), { timeout: UI_TIMEOUT });
|
|
6392
|
+
if (expected.limitUsd !== undefined) {
|
|
6393
|
+
await test$1.expect(section.getByTestId('new-user-default-limit-input')).toHaveValue(String(expected.limitUsd), { timeout: UI_TIMEOUT });
|
|
6394
|
+
}
|
|
6395
|
+
}
|
|
6202
6396
|
|
|
6203
6397
|
/**
|
|
6204
6398
|
* Tasks tab helpers — Playwright bindings for the `AgentTasksTab`
|
|
@@ -8870,6 +9064,7 @@ exports.addManualScore = addManualScore;
|
|
|
8870
9064
|
exports.addMemory = addMemory;
|
|
8871
9065
|
exports.addQaPairsManually = addQaPairsManually;
|
|
8872
9066
|
exports.addSkillToAgent = addSkillToAgent;
|
|
9067
|
+
exports.addTenantUserSpendLimit = addTenantUserSpendLimit;
|
|
8873
9068
|
exports.addTextResource = addTextResource;
|
|
8874
9069
|
exports.addUserGlobalMemory = addUserGlobalMemory;
|
|
8875
9070
|
exports.addUserSpendLimit = addUserSpendLimit;
|
|
@@ -8902,6 +9097,7 @@ exports.clearGradeResultOverride = clearGradeResultOverride;
|
|
|
8902
9097
|
exports.clearHistoryAgentFilter = clearHistoryAgentFilter;
|
|
8903
9098
|
exports.clearInstanceSearch = clearInstanceSearch;
|
|
8904
9099
|
exports.clearUserFilter = clearUserFilter;
|
|
9100
|
+
exports.clearUserLimitsFilter = clearUserLimitsFilter;
|
|
8905
9101
|
exports.clickBackHome = clickBackHome;
|
|
8906
9102
|
exports.clickBillingAddCredits = clickBillingAddCredits;
|
|
8907
9103
|
exports.clickBillingManageBilling = clickBillingManageBilling;
|
|
@@ -8911,6 +9107,7 @@ exports.clickChatPrivacyToggle = clickChatPrivacyToggle;
|
|
|
8911
9107
|
exports.clickDownloadAgain = clickDownloadAgain;
|
|
8912
9108
|
exports.clickManualDownloadLink = clickManualDownloadLink;
|
|
8913
9109
|
exports.clickSetSpendLimitForFilteredAgent = clickSetSpendLimitForFilteredAgent;
|
|
9110
|
+
exports.clickSetSpendLimitForFilteredUser = clickSetSpendLimitForFilteredUser;
|
|
8914
9111
|
exports.closeAgentLimitsPopup = closeAgentLimitsPopup;
|
|
8915
9112
|
exports.closeAgentMemoriesPopup = closeAgentMemoriesPopup;
|
|
8916
9113
|
exports.closeBenchmarkItemsDialog = closeBenchmarkItemsDialog;
|
|
@@ -8950,6 +9147,7 @@ exports.deleteQaItem = deleteQaItem;
|
|
|
8950
9147
|
exports.deleteResource = deleteResource;
|
|
8951
9148
|
exports.deleteSkill = deleteSkill;
|
|
8952
9149
|
exports.deleteTask = deleteTask;
|
|
9150
|
+
exports.deleteTenantUserSpendLimit = deleteTenantUserSpendLimit;
|
|
8953
9151
|
exports.deleteUserGlobalMemory = deleteUserGlobalMemory;
|
|
8954
9152
|
exports.deleteUserSpendLimit = deleteUserSpendLimit;
|
|
8955
9153
|
exports.deleteWorkspaceSpendLimit = deleteWorkspaceSpendLimit;
|
|
@@ -8963,6 +9161,7 @@ exports.editGraderCriterion = editGraderCriterion;
|
|
|
8963
9161
|
exports.editInstance = editInstance;
|
|
8964
9162
|
exports.editLink = editLink;
|
|
8965
9163
|
exports.editSkill = editSkill;
|
|
9164
|
+
exports.editTenantUserSpendLimit = editTenantUserSpendLimit;
|
|
8966
9165
|
exports.editTextResource = editTextResource;
|
|
8967
9166
|
exports.editTool = editTool;
|
|
8968
9167
|
exports.editUserGlobalMemory = editUserGlobalMemory;
|
|
@@ -9016,6 +9215,7 @@ exports.expectLogsForTask = expectLogsForTask;
|
|
|
9016
9215
|
exports.expectLtiHeader = expectLtiHeader;
|
|
9017
9216
|
exports.expectMentorVoiceTriggerShows = expectMentorVoiceTriggerShows;
|
|
9018
9217
|
exports.expectMessageInConversation = expectMessageInConversation;
|
|
9218
|
+
exports.expectNewUserSpendLimitDefault = expectNewUserSpendLimitDefault;
|
|
9019
9219
|
exports.expectNoAccessibilityViolations = expectNoAccessibilityViolations;
|
|
9020
9220
|
exports.expectNoAccessibilityViolationsOnDialogs = expectNoAccessibilityViolationsOnDialogs;
|
|
9021
9221
|
exports.expectNoBenchmarksNotice = expectNoBenchmarksNotice;
|
|
@@ -9054,6 +9254,7 @@ exports.expectToolsEmpty = expectToolsEmpty;
|
|
|
9054
9254
|
exports.expectTotalTasks = expectTotalTasks;
|
|
9055
9255
|
exports.expectTraceScore = expectTraceScore;
|
|
9056
9256
|
exports.expectTtsSelectDisabled = expectTtsSelectDisabled;
|
|
9257
|
+
exports.expectUserLimitsRowContent = expectUserLimitsRowContent;
|
|
9057
9258
|
exports.expectVoiceInstructionsValue = expectVoiceInstructionsValue;
|
|
9058
9259
|
exports.expectVoiceProviderSelected = expectVoiceProviderSelected;
|
|
9059
9260
|
exports.expectVoiceVisible = expectVoiceVisible;
|
|
@@ -9076,6 +9277,7 @@ exports.filterHistoryBySentiment = filterHistoryBySentiment;
|
|
|
9076
9277
|
exports.filterHistoryByTopic = filterHistoryByTopic;
|
|
9077
9278
|
exports.filterTicketsByStatus = filterTicketsByStatus;
|
|
9078
9279
|
exports.filterTicketsByUser = filterTicketsByUser;
|
|
9280
|
+
exports.filterUserLimits = filterUserLimits;
|
|
9079
9281
|
exports.generateBrowserSetupProjects = generateBrowserSetupProjects;
|
|
9080
9282
|
exports.generateProjectConfig = generateProjectConfig;
|
|
9081
9283
|
exports.getAddItemsDialog = getAddItemsDialog;
|
|
@@ -9217,6 +9419,7 @@ exports.navigateToAuditLog = navigateToAuditLog;
|
|
|
9217
9419
|
exports.navigateToAuditLogAndWaitForData = navigateToAuditLogAndWaitForData;
|
|
9218
9420
|
exports.navigateToDataReports = navigateToDataReports;
|
|
9219
9421
|
exports.navigateToReportDownload = navigateToReportDownload;
|
|
9422
|
+
exports.newUserDefaultSection = newUserDefaultSection;
|
|
9220
9423
|
exports.openAddItemsDialog = openAddItemsDialog;
|
|
9221
9424
|
exports.openAddMemoryDialog = openAddMemoryDialog;
|
|
9222
9425
|
exports.openAgentLimitsManage = openAgentLimitsManage;
|
|
@@ -9317,12 +9520,14 @@ exports.setCatalogSkillEnabled = setCatalogSkillEnabled;
|
|
|
9317
9520
|
exports.setEnableVideo = setEnableVideo;
|
|
9318
9521
|
exports.setEntitySelected = setEntitySelected;
|
|
9319
9522
|
exports.setGradingEnabled = setGradingEnabled;
|
|
9523
|
+
exports.setNewUserSpendLimitDefault = setNewUserSpendLimitDefault;
|
|
9320
9524
|
exports.setOutputFilterEnabled = setOutputFilterEnabled;
|
|
9321
9525
|
exports.setScreenSharePrompt = setScreenSharePrompt;
|
|
9322
9526
|
exports.setSupportEnabled = setSupportEnabled;
|
|
9323
9527
|
exports.setTenantChatPrivacyEnabled = setTenantChatPrivacyEnabled;
|
|
9324
9528
|
exports.setTicketStatus = setTicketStatus;
|
|
9325
9529
|
exports.setUseFunctionCallingEnabled = setUseFunctionCallingEnabled;
|
|
9530
|
+
exports.setUserLimitsRowEnabled = setUserLimitsRowEnabled;
|
|
9326
9531
|
exports.setUserSpendLimitEnabled = setUserSpendLimitEnabled;
|
|
9327
9532
|
exports.setVoiceInstructions = setVoiceInstructions;
|
|
9328
9533
|
exports.setWorkspaceSpendLimit = setWorkspaceSpendLimit;
|
|
@@ -9374,6 +9579,7 @@ exports.switchToSpendLimitsTab = switchToSpendLimitsTab;
|
|
|
9374
9579
|
exports.switchToSupportTab = switchToSupportTab;
|
|
9375
9580
|
exports.switchToTasksTab = switchToTasksTab;
|
|
9376
9581
|
exports.switchToTenantMemoryTab = switchToTenantMemoryTab;
|
|
9582
|
+
exports.switchToUserLimits = switchToUserLimits;
|
|
9377
9583
|
exports.switchToVoiceSubTab = switchToVoiceSubTab;
|
|
9378
9584
|
exports.switchToVoiceTab = switchToVoiceTab;
|
|
9379
9585
|
exports.switchToWorkspaceSpendLimits = switchToWorkspaceSpendLimits;
|
|
@@ -9388,6 +9594,8 @@ exports.toolFields = toolFields;
|
|
|
9388
9594
|
exports.turnOffChatPrivacyMidSession = turnOffChatPrivacyMidSession;
|
|
9389
9595
|
exports.uploadAssetResource = uploadAssetResource;
|
|
9390
9596
|
exports.uploadQaCsv = uploadQaCsv;
|
|
9597
|
+
exports.userLimitsRow = userLimitsRow;
|
|
9598
|
+
exports.userLimitsSection = userLimitsSection;
|
|
9391
9599
|
exports.userSpendLimitRow = userSpendLimitRow;
|
|
9392
9600
|
exports.verifyAgentConfigPromptsVisible = verifyAgentConfigPromptsVisible;
|
|
9393
9601
|
exports.verifyAgentSkillsEmptyState = verifyAgentSkillsEmptyState;
|