@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.
Files changed (119) hide show
  1. package/dist/data-layer/playwright/billing-tab-helpers.d.ts +61 -48
  2. package/dist/data-layer/playwright/credit-balance-helpers.d.ts +40 -18
  3. package/dist/data-layer/playwright/index.d.ts +3 -2
  4. package/dist/data-layer/playwright/plan-picker-helpers.d.ts +26 -0
  5. package/dist/data-layer/playwright/spend-limits-helpers.d.ts +5 -4
  6. package/dist/playwright/index.cjs +306 -193
  7. package/dist/playwright/index.cjs.map +1 -1
  8. package/dist/playwright/index.d.ts +133 -71
  9. package/dist/playwright/index.esm.js +293 -194
  10. package/dist/playwright/index.esm.js.map +1 -1
  11. package/dist/playwright/playwright/billing-tab-helpers.d.ts +61 -48
  12. package/dist/playwright/playwright/credit-balance-helpers.d.ts +40 -18
  13. package/dist/playwright/playwright/index.d.ts +3 -2
  14. package/dist/playwright/playwright/plan-picker-helpers.d.ts +26 -0
  15. package/dist/playwright/playwright/spend-limits-helpers.d.ts +5 -4
  16. package/dist/security/playwright/billing-tab-helpers.d.ts +61 -48
  17. package/dist/security/playwright/credit-balance-helpers.d.ts +40 -18
  18. package/dist/security/playwright/index.d.ts +3 -2
  19. package/dist/security/playwright/plan-picker-helpers.d.ts +26 -0
  20. package/dist/security/playwright/spend-limits-helpers.d.ts +5 -4
  21. package/dist/web-containers/playwright/billing-tab-helpers.d.ts +61 -48
  22. package/dist/web-containers/playwright/credit-balance-helpers.d.ts +40 -18
  23. package/dist/web-containers/playwright/index.d.ts +3 -2
  24. package/dist/web-containers/playwright/plan-picker-helpers.d.ts +26 -0
  25. package/dist/web-containers/playwright/spend-limits-helpers.d.ts +5 -4
  26. package/dist/web-containers/source/add-credits-modal.js +170 -24
  27. package/dist/web-containers/source/add-credits-modal.js.map +1 -1
  28. package/dist/web-containers/source/auto-recharge-modal.js +1 -1
  29. package/dist/web-containers/source/auto-recharge-modal.js.map +1 -1
  30. package/dist/web-containers/source/billing-credits.js +4 -4
  31. package/dist/web-containers/source/billing-credits.js.map +1 -1
  32. package/dist/web-containers/source/billing.js +60 -101
  33. package/dist/web-containers/source/billing.js.map +1 -1
  34. package/dist/web-containers/source/components/credit-balance.js +44 -72
  35. package/dist/web-containers/source/components/credit-balance.js.map +1 -1
  36. package/dist/web-containers/source/components/modals/contact-admin-modal.js +32 -0
  37. package/dist/web-containers/source/components/modals/contact-admin-modal.js.map +1 -0
  38. package/dist/web-containers/source/components/modals/upgrade-package-modal.js +281 -20
  39. package/dist/web-containers/source/components/modals/upgrade-package-modal.js.map +1 -1
  40. package/dist/web-containers/source/components/profile/add-credits-modal.js +170 -24
  41. package/dist/web-containers/source/components/profile/add-credits-modal.js.map +1 -1
  42. package/dist/web-containers/source/components/profile/auto-recharge-modal.js +1 -1
  43. package/dist/web-containers/source/components/profile/auto-recharge-modal.js.map +1 -1
  44. package/dist/web-containers/source/components/profile/billing-credits.js +4 -4
  45. package/dist/web-containers/source/components/profile/billing-credits.js.map +1 -1
  46. package/dist/web-containers/source/components/profile/billing.js +60 -101
  47. package/dist/web-containers/source/components/profile/billing.js.map +1 -1
  48. package/dist/web-containers/source/components/profile/pending-credit-top-up.js +202 -0
  49. package/dist/web-containers/source/components/profile/pending-credit-top-up.js.map +1 -0
  50. package/dist/web-containers/source/components/profile/use-complete-pending-credit-top-up.js +68 -0
  51. package/dist/web-containers/source/components/profile/use-complete-pending-credit-top-up.js.map +1 -0
  52. package/dist/web-containers/source/components/subscription-top-banner.js +119 -0
  53. package/dist/web-containers/source/components/subscription-top-banner.js.map +1 -0
  54. package/dist/web-containers/source/components/workflows/workflow-editor.js +28 -8
  55. package/dist/web-containers/source/components/workflows/workflow-editor.js.map +1 -1
  56. package/dist/web-containers/source/contact-admin-modal.js +32 -0
  57. package/dist/web-containers/source/contact-admin-modal.js.map +1 -0
  58. package/dist/web-containers/source/credit-balance.js +44 -72
  59. package/dist/web-containers/source/credit-balance.js.map +1 -1
  60. package/dist/web-containers/source/en.json.js +121 -21
  61. package/dist/web-containers/source/en.json.js.map +1 -1
  62. package/dist/web-containers/source/es.json.js +123 -23
  63. package/dist/web-containers/source/es.json.js.map +1 -1
  64. package/dist/web-containers/source/fr.json.js +121 -21
  65. package/dist/web-containers/source/fr.json.js.map +1 -1
  66. package/dist/web-containers/source/i18n/messages/en.json.js +121 -21
  67. package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
  68. package/dist/web-containers/source/i18n/messages/es.json.js +123 -23
  69. package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
  70. package/dist/web-containers/source/i18n/messages/fr.json.js +121 -21
  71. package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
  72. package/dist/web-containers/source/i18n/messages/zh.json.js +122 -22
  73. package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
  74. package/dist/web-containers/source/messages/en.json.js +121 -21
  75. package/dist/web-containers/source/messages/en.json.js.map +1 -1
  76. package/dist/web-containers/source/messages/es.json.js +123 -23
  77. package/dist/web-containers/source/messages/es.json.js.map +1 -1
  78. package/dist/web-containers/source/messages/fr.json.js +121 -21
  79. package/dist/web-containers/source/messages/fr.json.js.map +1 -1
  80. package/dist/web-containers/source/messages/zh.json.js +122 -22
  81. package/dist/web-containers/source/messages/zh.json.js.map +1 -1
  82. package/dist/web-containers/source/modals/contact-admin-modal.js +32 -0
  83. package/dist/web-containers/source/modals/contact-admin-modal.js.map +1 -0
  84. package/dist/web-containers/source/modals/upgrade-package-modal.js +281 -20
  85. package/dist/web-containers/source/modals/upgrade-package-modal.js.map +1 -1
  86. package/dist/web-containers/source/pending-credit-top-up.js +202 -0
  87. package/dist/web-containers/source/pending-credit-top-up.js.map +1 -0
  88. package/dist/web-containers/source/profile/add-credits-modal.js +170 -24
  89. package/dist/web-containers/source/profile/add-credits-modal.js.map +1 -1
  90. package/dist/web-containers/source/profile/auto-recharge-modal.js +1 -1
  91. package/dist/web-containers/source/profile/auto-recharge-modal.js.map +1 -1
  92. package/dist/web-containers/source/profile/billing-credits.js +4 -4
  93. package/dist/web-containers/source/profile/billing-credits.js.map +1 -1
  94. package/dist/web-containers/source/profile/billing.js +60 -101
  95. package/dist/web-containers/source/profile/billing.js.map +1 -1
  96. package/dist/web-containers/source/profile/pending-credit-top-up.js +202 -0
  97. package/dist/web-containers/source/profile/pending-credit-top-up.js.map +1 -0
  98. package/dist/web-containers/source/profile/use-complete-pending-credit-top-up.js +68 -0
  99. package/dist/web-containers/source/profile/use-complete-pending-credit-top-up.js.map +1 -0
  100. package/dist/web-containers/source/subscription-top-banner.js +119 -0
  101. package/dist/web-containers/source/subscription-top-banner.js.map +1 -0
  102. package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
  103. package/dist/web-containers/source/upgrade-package-modal.js +281 -20
  104. package/dist/web-containers/source/upgrade-package-modal.js.map +1 -1
  105. package/dist/web-containers/source/use-complete-pending-credit-top-up.js +68 -0
  106. package/dist/web-containers/source/use-complete-pending-credit-top-up.js.map +1 -0
  107. package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
  108. package/dist/web-containers/source/workflow-editor.js +28 -8
  109. package/dist/web-containers/source/workflow-editor.js.map +1 -1
  110. package/dist/web-containers/source/workflows/workflow-editor.js +28 -8
  111. package/dist/web-containers/source/workflows/workflow-editor.js.map +1 -1
  112. package/dist/web-containers/source/zh.json.js +122 -22
  113. package/dist/web-containers/source/zh.json.js.map +1 -1
  114. package/dist/web-utils/playwright/billing-tab-helpers.d.ts +61 -48
  115. package/dist/web-utils/playwright/credit-balance-helpers.d.ts +40 -18
  116. package/dist/web-utils/playwright/index.d.ts +3 -2
  117. package/dist/web-utils/playwright/plan-picker-helpers.d.ts +26 -0
  118. package/dist/web-utils/playwright/spend-limits-helpers.d.ts +5 -4
  119. package/package.json +5 -5
@@ -1061,7 +1061,13 @@ declare function filterByActionAndVerify(page: Page, action: 'All Actions' | 'Cr
1061
1061
  */
1062
1062
  declare function filterByActorAndVerify(page: Page, actorName: string): Promise<number>;
1063
1063
 
1064
- type CreditBalancePlan = 'Free' | 'Trial' | 'Premium';
1064
+ /**
1065
+ * The two billing states the helpers tell apart: the free trial (main tenant,
1066
+ * no workspace of your own yet) and an account on a plan, where credits are
1067
+ * bought as needed. Every plan (Free, Pro, Max, ...) reads as `'Free'` here;
1068
+ * the badge itself shows the plan's name.
1069
+ */
1070
+ type CreditBalancePlan = 'Free' | 'Trial';
1065
1071
  /**
1066
1072
  * Reads `current_tenant` from localStorage and returns its `show_paywall` flag.
1067
1073
  * Returns false if the entry is missing, malformed, or the flag is unset.
@@ -1071,7 +1077,7 @@ declare function getCurrentTenantShowPaywall(page: Page): Promise<boolean>;
1071
1077
  declare function creditBalanceTrigger(page: Page): Locator;
1072
1078
  /** Locator for the credit-balance dropdown panel (rendered in a Radix portal). */
1073
1079
  declare function creditBalancePanel(page: Page): Locator;
1074
- /** Locator for the plan badge (Free / Trial / Premium) inside the open panel. */
1080
+ /** Locator for the plan badge (Trial, Free or the plan's name) inside the open panel. */
1075
1081
  declare function creditBalancePlanBadge(page: Page): Locator;
1076
1082
  /**
1077
1083
  * Asserts the credit-balance trigger is visible iff the current tenant has
@@ -1097,42 +1103,58 @@ declare function waitForCreditBalanceLoaded(page: Page): Promise<void>;
1097
1103
  /** Closes the credit-balance dropdown via Escape and waits for it to detach. */
1098
1104
  declare function closeCreditBalanceDropdown(page: Page): Promise<void>;
1099
1105
  /**
1100
- * Reads the plan label text from the open panel. Returns null if the badge is
1101
- * not rendered (e.g. billing data still loading or errored).
1106
+ * Reads the billing state from the open panel's badge: `'Trial'` on the free
1107
+ * trial, `'Free'` for an account on any plan (the badge then shows "Free" or
1108
+ * the plan's name). Returns null if the badge is not rendered (e.g. billing
1109
+ * data still loading or errored).
1102
1110
  */
1103
1111
  declare function getCreditBalancePlanLabel(page: Page): Promise<CreditBalancePlan | null>;
1104
1112
  /**
1105
1113
  * Reads the "Remaining" credits value from the open panel ("X,XXX Credits").
1106
- * Returns null when the row is not rendered or unparseable.
1114
+ * Returns null when the row is not rendered or unparseable. The panel shows
1115
+ * cached data while it refetches, so after a top-up read it through
1116
+ * `expect.poll(() => getCreditBalanceRemaining(page))`.
1107
1117
  */
1108
1118
  declare function getCreditBalanceRemaining(page: Page): Promise<number | null>;
1109
1119
  /**
1110
- * Free plan UI: Upgrade Plan only. No payment buttons. No auto-recharge section.
1120
+ * UI for an account on a plan: never an "Upgrade" button; "Add Credits" always.
1121
+ * - With a payment method: Manage Usage + Add Credits and the Auto Recharge section.
1122
+ * - Without one: Add Credits alone (the dialog collects a card on Stripe first),
1123
+ * no Manage Usage, no Auto Recharge section.
1124
+ * - `hasPaymentMethod` omitted: only the badge, Add Credits and the absence of
1125
+ * Upgrade are checked.
1126
+ * - `planName`: the exact badge text ("Free", "Max"); omitted, any plan but
1127
+ * the trial passes.
1111
1128
  */
1112
- declare function expectCreditBalancePanelForFreePlan(page: Page): Promise<void>;
1129
+ declare function expectCreditBalancePanelForStandardPlan(page: Page, options?: {
1130
+ hasPaymentMethod?: boolean;
1131
+ planName?: string;
1132
+ }): Promise<void>;
1113
1133
  /**
1114
- * Trial plan UI: Upgrade Plan only. No Manage Usage / Add Credits / Manage Billing.
1134
+ * Trial UI: "Upgrade" only (it opens the plan picker). No Manage Usage /
1135
+ * Add Credits, and no Auto Recharge section.
1115
1136
  */
1116
1137
  declare function expectCreditBalancePanelForTrialPlan(page: Page): Promise<void>;
1117
- /**
1118
- * Premium plan UI: Upgrade Plan must NOT appear.
1119
- * - With payment method: Manage Usage + Add Credits both visible; Manage Billing hidden.
1120
- * - Without payment method: Manage Billing visible; Manage Usage + Add Credits hidden.
1121
- */
1122
- declare function expectCreditBalancePanelForPremiumPlan(page: Page, options: {
1123
- hasPaymentMethod: boolean;
1124
- }): Promise<void>;
1125
1138
  /**
1126
1139
  * Convenience: opens the dropdown, detects the active plan from the badge,
1127
1140
  * and runs the matching state assertions on the already-open panel. Returns
1128
1141
  * the detected plan label.
1129
1142
  *
1130
- * For Premium plans you may pass `hasPaymentMethod` to assert the specific
1131
- * sub-state; if omitted on Premium, only the "no Upgrade Plan button" check runs.
1143
+ * On the Free plan you may pass `hasPaymentMethod` to assert the specific
1144
+ * sub-state; if omitted, only the absence of "Upgrade" is checked.
1132
1145
  */
1133
1146
  declare function expectCreditBalanceForCurrentPlan(page: Page, options?: {
1134
1147
  hasPaymentMethod?: boolean;
1135
1148
  }): Promise<CreditBalancePlan>;
1149
+ /**
1150
+ * Clicks "Upgrade" in the credit balance dropdown (free trial only) and waits
1151
+ * for the plan picker to show its plans.
1152
+ */
1153
+ declare function openPlanPickerFromCreditBalance(page: Page): Promise<Locator>;
1154
+ /** @deprecated The Free plan is now the free trial; use `expectCreditBalancePanelForTrialPlan`. */
1155
+ declare const expectCreditBalancePanelForFreePlan: typeof expectCreditBalancePanelForTrialPlan;
1156
+ /** @deprecated The Premium plan is now the Free plan; use `expectCreditBalancePanelForStandardPlan`. */
1157
+ declare const expectCreditBalancePanelForPremiumPlan: typeof expectCreditBalancePanelForStandardPlan;
1136
1158
 
1137
1159
  /**
1138
1160
  * Privacy tab helpers — Playwright bindings for the `AgentPrivacyTab`
@@ -1830,91 +1852,130 @@ declare function overrideGradeResult(page: Page, email: string, values: {
1830
1852
  declare function clearGradeResultOverride(page: Page, email: string): Promise<void>;
1831
1853
 
1832
1854
  type BillingAutoRechargeStatus = 'Enabled' | 'Disabled';
1833
- /** Locator for the Plan section card on the BillingTab. */
1834
- declare function billingPlanSection(page: Page): Locator;
1835
- /** Locator for the Credits section card on the BillingTab. */
1855
+ /** Locator for the Credits section card on the BillingTab (there is no Plan card). */
1836
1856
  declare function billingCreditsSection(page: Page): Locator;
1837
1857
  /** Locator for the Auto Recharge section card on the BillingTab.
1838
- * This section is only rendered for non-Free plans with a payment method on file.
1858
+ * Rendered whenever a payment method is on file (never on the free trial).
1839
1859
  */
1840
1860
  declare function billingAutoRechargeSection(page: Page): Locator;
1841
- /** Reads the plan label (Free / Trial / Premium) from the Plan section. */
1861
+ /**
1862
+ * Detects the billing state from the Credits section: "Trial" when it offers
1863
+ * "Upgrade" (the plan picker), "Free" otherwise. Returns null while the
1864
+ * section is not rendered (loading skeletons).
1865
+ */
1842
1866
  declare function getBillingPlanLabel(page: Page): Promise<CreditBalancePlan | null>;
1843
1867
  /** Reads the auto-recharge status badge (Enabled / Disabled) when the section is rendered. */
1844
1868
  declare function getBillingAutoRechargeStatus(page: Page): Promise<BillingAutoRechargeStatus | null>;
1845
- /** Waits for the BillingTab loading skeletons to clear by waiting for the Plan
1846
- * section card to mount. */
1869
+ /** Waits for the BillingTab loading skeletons to clear by waiting for the
1870
+ * Credits section card to mount. */
1847
1871
  declare function waitForBillingTabReady(page: Page): Promise<void>;
1848
- /**
1849
- * Asserts the Plan section state for a given plan. Verifies:
1850
- * - The plan label text matches `options.plan`
1851
- * - The "Current" pill is visible
1852
- * - The Upgrade button is visible iff the plan is not Premium
1853
- */
1854
- declare function expectBillingPlanSection(page: Page, options: {
1855
- plan: CreditBalancePlan;
1856
- }): Promise<void>;
1857
1872
  /**
1858
1873
  * Asserts the Credits section state. Always verifies the "Available" stat row.
1859
1874
  * The action button rule mirrors the component:
1860
- * - Free plan → no Add Credits / Manage Billing button
1861
- * - Non-Free + hasPaymentMethod=true → "Add Credits" visible, "Manage Billing" absent
1862
- * - Non-Free + hasPaymentMethod=false → "Manage Billing" visible, "Add Credits" absent
1863
- * - Non-Free with hasPaymentMethod omitted → only the "Available" row is asserted
1875
+ * - Trial → "Upgrade" visible; no Add Credits
1876
+ * - Free → "Add Credits" visible whether or not a card is on file (the
1877
+ * dialog collects one on Stripe first when there is none); never
1878
+ * "Upgrade". `hasPaymentMethod` only matters to the Auto
1879
+ * Recharge section (see `expectBillingAutoRechargeSection`).
1864
1880
  */
1865
1881
  declare function expectBillingCreditsSection(page: Page, options: {
1866
1882
  plan: CreditBalancePlan;
1867
1883
  hasPaymentMethod?: boolean;
1868
1884
  }): Promise<void>;
1869
1885
  /**
1870
- * Asserts the Auto Recharge section visibility. Section is rendered only when
1871
- * `hasPaymentMethod && !isFreePlan` in the component. Pass `expectVisible: false`
1872
- * to assert the section is absent. When visible and `status` is provided, also
1873
- * asserts the Enabled/Disabled badge text.
1886
+ * Asserts the Auto Recharge section visibility. The component renders it when
1887
+ * a payment method is on file and the account is not on the free trial. Pass
1888
+ * `expectVisible: false` to assert the section is absent. When visible and
1889
+ * `status` is provided, also asserts the Enabled/Disabled badge text.
1874
1890
  */
1875
1891
  declare function expectBillingAutoRechargeSection(page: Page, options: {
1876
1892
  expectVisible: boolean;
1877
1893
  status?: BillingAutoRechargeStatus;
1878
1894
  }): Promise<void>;
1879
1895
  /**
1880
- * Free plan: Plan="Free" with Upgrade visible; Credits section has no action;
1881
- * Auto Recharge section is hidden entirely (regardless of has_payment_method).
1882
- */
1883
- declare function expectBillingTabForFreePlan(page: Page): Promise<void>;
1884
- /**
1885
- * Trial plan: Plan="Trial" with Upgrade visible; Credits action depends on
1886
- * `hasPaymentMethod` (Add Credits when true, Manage Billing when false);
1887
- * Auto Recharge section is rendered iff `hasPaymentMethod` is true.
1896
+ * Free plan: no "Upgrade", "Add Credits" always; the Auto Recharge section
1897
+ * follows `hasPaymentMethod` (shown when true, absent when false). With
1898
+ * `hasPaymentMethod` omitted only the Credits card is verified.
1888
1899
  */
1889
- declare function expectBillingTabForTrialPlan(page: Page, options: {
1890
- hasPaymentMethod: boolean;
1900
+ declare function expectBillingTabForStandardPlan(page: Page, options?: {
1901
+ hasPaymentMethod?: boolean;
1891
1902
  }): Promise<void>;
1892
1903
  /**
1893
- * Premium plan: Plan="Premium" with Upgrade hidden; Credits action depends on
1894
- * `hasPaymentMethod` (Add Credits when true, Manage Billing when false);
1895
- * Auto Recharge section is rendered iff `hasPaymentMethod` is true.
1904
+ * Trial: "Upgrade" (opens the plan picker) is the only Credits action and the
1905
+ * Auto Recharge section is hidden entirely (regardless of has_payment_method).
1896
1906
  */
1897
- declare function expectBillingTabForPremiumPlan(page: Page, options: {
1898
- hasPaymentMethod: boolean;
1899
- }): Promise<void>;
1907
+ declare function expectBillingTabForTrialPlan(page: Page): Promise<void>;
1900
1908
  /**
1901
- * Convenience: detects the active plan from the Plan section badge and runs
1902
- * the matching state assertions. Returns the detected plan.
1909
+ * Convenience: detects the billing state from the Credits section and runs
1910
+ * the matching assertions. Returns the detected plan.
1903
1911
  *
1904
- * For non-Free plans, pass `hasPaymentMethod` to assert the Credits/Auto Recharge
1905
- * sub-states; if omitted, only the Plan section + base Credits row is verified.
1912
+ * On the Free plan, pass `hasPaymentMethod` to assert the Credits/Auto Recharge
1913
+ * sub-states; if omitted, only the base Credits row is verified.
1906
1914
  */
1907
1915
  declare function expectBillingTabForCurrentPlan(page: Page, options?: {
1908
1916
  hasPaymentMethod?: boolean;
1909
1917
  }): Promise<CreditBalancePlan>;
1910
- /** Clicks the Upgrade button in the Plan section (visible only on non-Premium plans). */
1918
+ /** Clicks the Upgrade button in the Credits section (free trial only); it opens the plan picker. */
1911
1919
  declare function clickBillingUpgrade(page: Page): Promise<void>;
1912
- /** Clicks the Add Credits button in the Credits section (non-Free + has payment method). */
1920
+ /** Clicks Upgrade in the Credits section and waits for the plan picker to show its plans. */
1921
+ declare function openPlanPickerFromBilling(page: Page): Promise<Locator>;
1922
+ /** Clicks the Add Credits button in the Credits section (Free plan, with or without a card). */
1913
1923
  declare function clickBillingAddCredits(page: Page): Promise<void>;
1914
- /** Clicks the Manage Billing button in the Credits section (non-Free + no payment method). */
1915
- declare function clickBillingManageBilling(page: Page): Promise<void>;
1924
+ /** Locator for the Add Credits dialog (opened from the Billing tab or the credit dropdown). */
1925
+ declare function addCreditsDialog(page: Page): Locator;
1926
+ /**
1927
+ * Types a USD amount into the open Add Credits dialog and submits it. With a
1928
+ * payment method on file the submit button reads "Add Credits" and the charge
1929
+ * runs at once; without one it reads "Continue" and the page navigates to the
1930
+ * Stripe customer portal to save a card (the charge runs when Stripe returns
1931
+ * to the app). Returns once that finished (the dialog closed after the
1932
+ * charge, or the browser left for Stripe), with which of the two buttons was
1933
+ * pressed. A refused charge keeps the dialog open, so this then times out.
1934
+ */
1935
+ declare function submitAddCreditsAmount(page: Page, amountUsd: string | number): Promise<'Add Credits' | 'Continue'>;
1916
1936
  /** Clicks the Manage Usage button in the Auto Recharge section. */
1917
1937
  declare function clickBillingManageUsage(page: Page): Promise<void>;
1938
+ /** @deprecated There is no Plan card any more; use `billingCreditsSection`. */
1939
+ declare const billingPlanSection: typeof billingCreditsSection;
1940
+ /** @deprecated The plan now shows in the Credits card; use `expectBillingCreditsSection`. */
1941
+ declare const expectBillingPlanSection: typeof expectBillingCreditsSection;
1942
+ /** @deprecated The Free plan is now the free trial; use `expectBillingTabForTrialPlan`. */
1943
+ declare const expectBillingTabForFreePlan: typeof expectBillingTabForTrialPlan;
1944
+ /** @deprecated The Premium plan is now the Free plan; use `expectBillingTabForStandardPlan`. */
1945
+ declare const expectBillingTabForPremiumPlan: typeof expectBillingTabForStandardPlan;
1946
+ /** @deprecated The trial button reads "Upgrade" and opens the plan picker; use `clickBillingUpgrade`. */
1947
+ declare const clickBillingUpgradeToStandard: typeof clickBillingUpgrade;
1948
+ /**
1949
+ * @deprecated Manage Billing is gone; Add Credits collects a card when none is on file. Use
1950
+ * `clickBillingAddCredits`. Note it opens the Add Credits dialog and no longer leaves for Stripe.
1951
+ */
1952
+ declare const clickBillingManageBilling: typeof clickBillingAddCredits;
1953
+
1954
+ /** The plan picker dialog a free-trial user gets from "Upgrade" (title "Choose Your Plan"). */
1955
+ declare function planPickerDialog(page: Page): Locator;
1956
+ /** One plan card in the picker, by plan key (`free`, `premium`, `max`, `ultra`, ...). */
1957
+ declare function planCard(page: Page, planKey: string): Locator;
1958
+ /**
1959
+ * Waits until the picker is open and shows its plans. Fails here, not later,
1960
+ * when the plans could not load ("Try again") or there are none.
1961
+ */
1962
+ declare function waitForPlanPicker(page: Page): Promise<Locator>;
1963
+ /** The plan keys the picker currently shows, in order. */
1964
+ declare function getPlanPickerKeys(page: Page): Promise<string[]>;
1965
+ /**
1966
+ * Asserts the picker shows the given plans (by key, in order) and that each
1967
+ * card offers a "Choose <name>" button. `names` maps a key to the heading it
1968
+ * must carry (Free, Pro, Max, Ultra by default for the known keys).
1969
+ */
1970
+ declare function expectPlanPicker(page: Page, planKeys: string[], names?: Record<string, string>): Promise<void>;
1971
+ /**
1972
+ * Clicks the "Choose <name>" button of a plan and returns once the browser has
1973
+ * left for Stripe (the URL no longer belongs to the app's origin). Pass the
1974
+ * plan's key ("premium") or its heading ("Pro").
1975
+ */
1976
+ declare function choosePlan(page: Page, planKeyOrName: string): Promise<string>;
1977
+ /** Closes the plan picker with its Close button. */
1978
+ declare function closePlanPicker(page: Page): Promise<void>;
1918
1979
 
1919
1980
  /**
1920
1981
  * Spend limits ("Billing") helpers — Playwright bindings for the LLM
@@ -1924,7 +1985,7 @@ declare function clickBillingManageUsage(page: Page): Promise<void>;
1924
1985
  * "This Agent" / "Per User" sub-tabs, the per-user table with a
1925
1986
  * three-dots row menu, and the add/edit user-limit modal (email-based
1926
1987
  * user picker), and
1927
- * - the **tenant settings Billing tab** with its "Plan & Credits" /
1988
+ * - the **tenant settings Billing tab** with its "Credits" /
1928
1989
  * "Spend Limits" / "Agent Limits" / "User Limits" tabs: the workspace-wide
1929
1990
  * limit section (`SpendLimitsSection`), the agent caps table
1930
1991
  * (`AgentLimitsSection`), and the per-user caps across all agents plus the
@@ -1959,7 +2020,7 @@ declare const SPEND_LIMITS_LABELS: {
1959
2020
  readonly users: "Per User";
1960
2021
  };
1961
2022
  readonly tenantTabs: {
1962
- readonly planAndCredits: "Plan & Credits";
2023
+ readonly planAndCredits: "Credits";
1963
2024
  readonly spendLimits: "Spend Limits";
1964
2025
  readonly agentLimits: "Agent Limits";
1965
2026
  readonly userLimits: "User Limits";
@@ -2086,8 +2147,9 @@ declare function workspaceSpendLimitSection(page: Page): Locator;
2086
2147
  */
2087
2148
  declare function switchToWorkspaceSpendLimits(page: Page): Promise<void>;
2088
2149
  /**
2089
- * Switch the tenant Billing tab back to "Plan & Credits". Completion is
2090
- * gated on the Plan section rendering.
2150
+ * Switch the tenant Billing tab back to "Credits" (the first sub-tab, which
2151
+ * used to be "Plan & Credits"). Completion is gated on the Credits section
2152
+ * rendering.
2091
2153
  */
2092
2154
  declare function switchToPlanAndCredits(page: Page): Promise<void>;
2093
2155
  /**
@@ -3633,5 +3695,5 @@ declare function generateProjectConfig(platform: string, deviceName: string, dep
3633
3695
  */
3634
3696
  declare function createPlaywrightConfig(options: CreatePlaywrightConfigOptions): PlaywrightTestConfig;
3635
3697
 
3636
- export { AuthFlowBuilder, CHAT_PRIVACY_LABELS, CustomReporter, EVALS_LABELS, GRADER_LABELS, HISTORY_TAB_LABELS, LTI_LABELS, LTI_TEST_IDS, MEMORY_ADMIN_LABELS, MailsacClient, PRIVACY_LABELS, SCREENSHARE_LABELS, SPEND_LIMITS_LABELS, SUPPORT_LABELS, TASKS_LABELS, VOICE_LABELS, addAgentMemoryFromPopup, addGraderCriterion, addManualScore, addMemory, addQaPairsManually, addSkillToAgent, addTenantUserSpendLimit, addTextResource, addUserGlobalMemory, addUserSpendLimit, addUserSpendLimitFromTenantBilling, agentLimitsRow, agentLimitsSection, applyVoiceInstructionsPreset, archiveFirstMemory, archiveMemoryByContent, billingAutoRechargeSection, billingCreditsSection, billingPlanSection, buildReportUrl, canChatWithEmbedMentor, cancelDeleteEvaluation, cancelDeleteInstance, cancelDeleteSkill, cancelDisconnectInstance, cancelEnableChatPrivacyMidSession, cancelKeyDelete, cancelLlmJudge, cancelNewInstanceDialog, cancelStartEvaluation, checkAdminStatus, checkRunStatus, clearAgentLimitsFilter, clearAgentMemoriesFilter, clearDateRangeFilter, clearGradeResultOverride, clearHistoryAgentFilter, clearInstanceSearch, clearUserFilter, clearUserLimitsFilter, clickBackHome, clickBillingAddCredits, clickBillingManageBilling, clickBillingManageUsage, clickBillingUpgrade, clickChatPrivacyToggle, clickDownloadAgain, clickManualDownloadLink, clickSetSpendLimitForFilteredAgent, clickSetSpendLimitForFilteredUser, closeAgentLimitsPopup, closeAgentMemoriesPopup, closeBenchmarkItemsDialog, closeCreditBalanceDropdown, closeEvaluationDetailDialog, closeKeyDetail, closeManageBenchmarksDialog, closeUserMemoriesPopup, closeWithEsc, confirmEnableChatPrivacyMidSession, confirmKeyDelete, connectToInstance, copyEndpoint, createAgentSpendLimitViaFilter, createAuthSetup, createBenchmark, createEnvConfig, createInstance, createKey, createLink, createPlaywrightConfig, createSkill, createSupportTicketViaChatAndVerify, createTool, creditBalancePanel, creditBalancePlanBadge, creditBalanceTrigger, deleteAgentSpendLimit, deleteAgentSpendLimitFromTenantBilling, deleteEvaluation, deleteFirstMemory, deleteGraderCriterion, deleteInstance, deleteKey, deleteMemoryByContent, deleteQaItem, deleteResource, deleteSkill, deleteTask, deleteTenantUserSpendLimit, deleteUserGlobalMemory, deleteUserSpendLimit, deleteWorkspaceSpendLimit, disableSkill, disableSupport, disconnectInstance, downloadConversationCsv, downloadExportedReport, editAgentPrompt, editGraderCriterion, editInstance, editLink, editSkill, editTenantUserSpendLimit, editTextResource, editTool, editUserGlobalMemory, editUserSpendLimit, enableSkill, enableSupport, expandReview, expandTrace, expectAgentLimitsRowContent, expectAllEndpointsVisible, expectBenchmarkListed, expectBillingAutoRechargeSection, expectBillingCreditsSection, expectBillingPlanSection, expectBillingTabForCurrentPlan, expectBillingTabForFreePlan, expectBillingTabForPremiumPlan, expectBillingTabForTrialPlan, expectCallConfigVisible, expectCallConfigVoiceTriggerShows, expectChatPrivacyConfirmDialogOpen, expectChatPrivacyLocked, expectChatPrivacySource, expectChatPrivacyState, expectChatPrivacyToggleVisible, expectCompletedTasks, expectCreditBalanceForCurrentPlan, expectCreditBalancePanelForFreePlan, expectCreditBalancePanelForPremiumPlan, expectCreditBalancePanelForTrialPlan, expectCreditBalanceVisibilityForTenant, expectDetailWaitingForTraces, expectEndpointUrl, expectEntitySelected, expectFailedTasks, expectGradeResultRow, expectGraderMisconfiguredWarning, expectGraderTotalPoints, expectKeyDeleteError, expectKeyInList, expectKeyNotInList, expectKeysEmpty, expectLastCriterionDeleteDisabled, expectLinkInList, expectLinkNotInList, expectLinkStatus, expectLinkTargetUri, expectLinksEmpty, expectLogDetailsStatus, expectLogsForTask, expectLtiHeader, expectMentorVoiceTriggerShows, expectMessageInConversation, expectNewUserSpendLimitDefault, expectNoAccessibilityViolations, expectNoAccessibilityViolationsOnDialogs, expectNoBenchmarksNotice, expectNoLogsForSelectedTask, expectNoRepliesYet, expectNoTickets, expectOutputFilterEnabled, expectPrivacyFieldsHidden, expectPrivacyFieldsVisible, expectPrivateModeSelected, expectPrivateModeTabReady, expectQaItemListed, expectReviewInList, expectReviewStatus, expectRunInTable, expectRunNotInTable, expectRunStatus, expectRunsTableEmpty, expectScheduleStartTimeInPastError, expectScreenShareDisabledHint, expectSelectedBenchmark, expectSttSelectDisabled, expectTaskInList, expectTaskNotInList, expectTaskStatus, expectTasksEmpty, expectTenantChatPrivacyEnabled, expectTenantChatPrivacyVisible, expectTicketClosedNotice, expectTicketDescriptionContains, expectTicketInList, expectTicketStatusInList, expectToolInList, expectToolNotInList, expectToolsEmpty, expectTotalTasks, expectTraceScore, expectTtsSelectDisabled, expectUserLimitsRowContent, expectVoiceInstructionsValue, expectVoiceProviderSelected, expectVoiceVisible, expectWorkspaceActualSpendStats, expectWorkspaceSpendStats, exportHistoryAndWaitForDownload, exportRunCsv, fillLinkName, fillToolForm, filterAgentLimits, filterAgentMemories, filterByAction, filterByActionAndVerify, filterByActor, filterByActorAndVerify, filterByDateRange, filterGradeResultsByEmail, filterHistoryByAgent, filterHistoryBySentiment, filterHistoryByTopic, filterTicketsByStatus, filterTicketsByUser, filterUserLimits, generateBrowserSetupProjects, generateProjectConfig, getAddItemsDialog, getAuditLogRowCount, getAvailableActors, getBenchmarkCombobox, getBenchmarkComboboxDropdown, getBenchmarkItemsDialog, getBillingAutoRechargeStatus, getBillingPlanLabel, getBrowserKey, getCallConfigForm, getChatInput, getChatPrivacyConfirmDialog, getChatPrivacyToggle, getConversationList, getConversationPreview, getConversationRows, getCreateBenchmarkDialog, getCreateKeyButton, getCreateLinkButton, getCreateToolButton, getCreditBalancePlanLabel, getCreditBalanceRemaining, getCurrentModel, getCurrentTenantShowPaywall, getDeleteEvaluationDialog, getDeleteQaItemDialog, getEditAgentDialog, getEndpoint, getEndpointCopyButton, getEndpointUrl, getEntityChip, getEvaluationDetailDialog, getExportRowsByState, getExportsTable, getInstanceHealthLabel, getInstanceRowCount, getInstanceStatusLabel, getKeyActionsTrigger, getKeyCreateModal, getKeyCreateNameInput, getKeyDeleteModal, getKeyDetailModal, getKeyDetailNameInput, getKeyPublicJwkField, getKeyPublicKeyField, getKeyRow, getKeysEmptyState, getKeysSection, getLinkCopyTargetUriButton, getLinkEditButton, getLinkModal, getLinkNameInput, getLinkRow, getLinksEmptyState, getLinksRefreshButton, getLinksSection, getLlmJudgeDialog, getLlmPickerDialog, getLtiSubTab, getManageBenchmarksButton, getManageBenchmarksDialog, getMemoryCount, getMentorIdFromUrl, getNewEvaluationButton, getOutputFilterSwitch, getPaginationInfo, getPrivateModeCard, getProfileDialog, getReplyComposer, getReviewRow, getRunRow, getScheduleTaskButton, getSearchInput, getSkillRowCount, getStartEvaluationDialog, getStatusFilter, getSupportInfoBox, getSupportTabTrigger, getSupportToggle, getTaskRow, getTenantChatPrivacyRow, getTenantChatPrivacySwitch, getTicketDescription, getTicketDetail, getTicketList, getTicketRow, getTicketRowByIndex, getToolEditButton, getToolKeySelect, getToolModal, getToolRow, getToolsEmptyState, getToolsSection, getTraceRow, getUserFilter, getVoiceProviderCard, getVoiceRow, goToFirstPage, goToLastPage, goToNextPage, goToPage, goToPreviousPage, goToSkillsListPage, graderTabBody, inviteUserTest, isEvaluationTabVisible, isFirefox, isGraderTabVisible, isGradingEnabled, isJSON, isLtiTabVisible, isMemoryTabVisible, isOnFirstPage, isOnLastPage, isPrivacyTabVisible, isPrivateModeTabVisible, isSandboxKindEnabled, isSandboxTabVisible, isScreenShareTabVisible, isSkillEnabled, isSpendLimitsTabVisible, isSupportEnabled, isSupportTabVisible, isTasksTabVisible, isTenantMemoryTabVisible, isVoiceTabVisible, logger, loginWithEmailAndPassword, loginWithMicrosoftIdp, memoryAdminAgentRow, memoryAdminAgentSection, memoryAdminGlobalSection, memoryAdminUserRow, memoryRowByContent, navigateToAccountComponent, navigateToAuditLog, navigateToAuditLogAndWaitForData, navigateToDataReports, navigateToReportDownload, newUserDefaultSection, openAddItemsDialog, openAddMemoryDialog, openAgentLimitsManage, openAgentMemoriesPopup, openAgentPromptEditModal, openBenchmarkItems, openCallConfigVoicePicker, openCreateKeyModal, openCreateLinkModal, openCreateToolModal, openCreditBalanceDropdown, openEditInstanceDialog, openEditLinkModal, openEditSkillDialog, openEditToolModal, openFirstLogDetails, openHistoryTab, openInstanceActionsMenu, openKeyActionsMenu, openKeyDelete, openKeyDetail, openLLMProviderPicker, openManageBenchmarksDialog, openMentorVoicePicker, openNewInstanceDialog, openNewReviewForRun, openNewReviewFromDetail, openNewSkillDialog, openRunActionsMenu, openRunResults, openScheduleTaskDialog, openScreenSharePromptEditor, openSkillActionsMenu, openSlashSkillPicker, openStartEvaluationDialog, openTicket, openUserMemoriesPopup, openVoiceInstructionsEditor, overrideGradeResult, parseReportUrlParams, previewCallConfigVoiceInline, previewMentorVoiceInline, previewVoice, pushConfiguration, readEndpointUrl, readKeyPublicJwk, readKeyPublicKey, refreshEvaluationDetail, refreshLinks, refreshTickets, reliableClick, reliableFill, removeSkillFromAgent, removeTraceScore, renameKey, replyToTicket, requestSupportTicketViaChat, resetCallConfig, retry, retryFailedLink, runConnectedInstanceChecks, runInstanceChecks, safeWaitForURL, saveCallConfig, saveGraderConfig, saveScreenSharePrompts, saveVoiceSettings, scheduleTask, searchBenchmarks, searchInstances, searchMemoryAdminUsers, searchTasks, searchVoices, selectBenchmark, selectCallMode, selectConversation, selectDateFromCalendar, selectJudgeLlm, selectLLMModel, selectLlmProvider, selectPrivacyAction, selectPrivateMode, selectSlashSkill, selectSttProvider, selectTaskInList, selectToolKeySetMode, selectToolSigningKey, selectTtsProvider, selectVoice, selectVoiceProvider, sendAgentChatMessage, setAgentLimitsRowEnabled, setAgentSpendLimit, setAgentSpendLimitFromTenantBilling, setBlockMessage, setCallLanguage, setCatalogSkillEnabled, setEnableVideo, setEntitySelected, setGradingEnabled, setNewUserSpendLimitDefault, setOutputFilterEnabled, setScreenSharePrompt, setSupportEnabled, setTenantChatPrivacyEnabled, setTicketStatus, setUseFunctionCallingEnabled, setUserLimitsRowEnabled, setUserSpendLimitEnabled, setVoiceInstructions, setWorkspaceSpendLimit, setupSandboxInstance, shouldAddNewRowWhenClickingAddRowButton, shouldAllowEditingCellValuesInCSVEditor, shouldCancelCombiningReports, shouldCloseCSVEditorWhenClickingCloseButton, shouldCloseCSVEditorWithoutSavingWhenClickingCancel, shouldCombineRecommendationReports, shouldDirectlyDownloadChatHistoryReportWithoutCSVEditor, shouldDisableOtherDownloadButtonsWhileGeneratingReport, shouldDisplayCSVInEditableTableFormat, shouldDisplayReportCards, shouldHaveCombinedReportDataTestIds, shouldOpenCSVEditorDialog, shouldOpenCSVEditorForUserMetadataReport, shouldSaveEditedCSVAndTriggerDownload, shouldShowCombiningReportsDialog, shouldVerifyCSVEditorDialogAccessibility, signUpWithEmailAndPassword, spendLimitsTabBody, startEvaluation, startHistoryExport, submitLinkModal, submitLlmJudge, submitToolModal, switchHistorySubTab, switchToAddItemsSubTab, switchToAgentLimits, switchToAgentSkillsSubTab, switchToAvailableSkillsSubTab, switchToEvaluationTab, switchToGraderSubTab, switchToGraderTab, switchToLtiSubTab, switchToLtiTab, switchToMemoryAdminSubTab, switchToMemoryTab, switchToPlanAndCredits, switchToPrivacyTab, switchToPrivateModeTab, switchToSandboxTab, switchToScreenShareTab, switchToSkillResourcesSubTab, switchToSkillsTab, switchToSpendLimitsSubTab, switchToSpendLimitsTab, switchToSupportTab, switchToTasksTab, switchToTenantMemoryTab, switchToUserLimits, switchToVoiceSubTab, switchToVoiceTab, switchToWorkspaceSpendLimits, teardownSandboxInstance, test, toggleAutoPush, toggleMemorySwitch, toggleSandboxKind, toggleSkill, toggleUserMemoryAdminSetting, toolFields, turnOffChatPrivacyMidSession, uploadAssetResource, uploadQaCsv, userLimitsRow, userLimitsSection, userSpendLimitRow, verifyAgentConfigPromptsVisible, verifyAgentSkillsEmptyState, verifyAuditLogEmptyState, verifyAuditLogEntryStructure, verifyAuditLogGenericError, verifyAuditLogLoading, verifyAuditLogPermissionError, verifyAuditLogTableVisible, verifyClawSectionHidden, verifyClawSectionVisible, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, verifyCurrentPage, verifyDonePhase, verifyDownloadingPhase, verifyErrorPhase, verifyInstanceTableEmpty, verifyInstanceTableVisible, verifyMemoryExists, verifyMemoryNotExists, verifyMemoryTabMemoriesList, verifyMemoryTabSettings, verifyPreparingPhase, verifySandboxKindsVisible, verifySkillAdded, verifySkillVisible, verifySkillsEmptyState, verifySkillsTabVisible, waitForAgentChatResponse, waitForAuditLogDataLoaded, waitForBillingTabReady, waitForCompletedExportRow, waitForConversations, waitForCreditBalanceLoaded, waitForDialogReady, waitForElementStable, waitForLinkReady, waitForPageLoad, waitForPageReady, waitForReportDownload, waitForTicketInList, workspaceSpendLimitSection };
3698
+ export { AuthFlowBuilder, CHAT_PRIVACY_LABELS, CustomReporter, EVALS_LABELS, GRADER_LABELS, HISTORY_TAB_LABELS, LTI_LABELS, LTI_TEST_IDS, MEMORY_ADMIN_LABELS, MailsacClient, PRIVACY_LABELS, SCREENSHARE_LABELS, SPEND_LIMITS_LABELS, SUPPORT_LABELS, TASKS_LABELS, VOICE_LABELS, addAgentMemoryFromPopup, addCreditsDialog, addGraderCriterion, addManualScore, addMemory, addQaPairsManually, addSkillToAgent, addTenantUserSpendLimit, addTextResource, addUserGlobalMemory, addUserSpendLimit, addUserSpendLimitFromTenantBilling, agentLimitsRow, agentLimitsSection, applyVoiceInstructionsPreset, archiveFirstMemory, archiveMemoryByContent, billingAutoRechargeSection, billingCreditsSection, billingPlanSection, buildReportUrl, canChatWithEmbedMentor, cancelDeleteEvaluation, cancelDeleteInstance, cancelDeleteSkill, cancelDisconnectInstance, cancelEnableChatPrivacyMidSession, cancelKeyDelete, cancelLlmJudge, cancelNewInstanceDialog, cancelStartEvaluation, checkAdminStatus, checkRunStatus, choosePlan, clearAgentLimitsFilter, clearAgentMemoriesFilter, clearDateRangeFilter, clearGradeResultOverride, clearHistoryAgentFilter, clearInstanceSearch, clearUserFilter, clearUserLimitsFilter, clickBackHome, clickBillingAddCredits, clickBillingManageBilling, clickBillingManageUsage, clickBillingUpgrade, clickBillingUpgradeToStandard, clickChatPrivacyToggle, clickDownloadAgain, clickManualDownloadLink, clickSetSpendLimitForFilteredAgent, clickSetSpendLimitForFilteredUser, closeAgentLimitsPopup, closeAgentMemoriesPopup, closeBenchmarkItemsDialog, closeCreditBalanceDropdown, closeEvaluationDetailDialog, closeKeyDetail, closeManageBenchmarksDialog, closePlanPicker, closeUserMemoriesPopup, closeWithEsc, confirmEnableChatPrivacyMidSession, confirmKeyDelete, connectToInstance, copyEndpoint, createAgentSpendLimitViaFilter, createAuthSetup, createBenchmark, createEnvConfig, createInstance, createKey, createLink, createPlaywrightConfig, createSkill, createSupportTicketViaChatAndVerify, createTool, creditBalancePanel, creditBalancePlanBadge, creditBalanceTrigger, deleteAgentSpendLimit, deleteAgentSpendLimitFromTenantBilling, deleteEvaluation, deleteFirstMemory, deleteGraderCriterion, deleteInstance, deleteKey, deleteMemoryByContent, deleteQaItem, deleteResource, deleteSkill, deleteTask, deleteTenantUserSpendLimit, deleteUserGlobalMemory, deleteUserSpendLimit, deleteWorkspaceSpendLimit, disableSkill, disableSupport, disconnectInstance, downloadConversationCsv, downloadExportedReport, editAgentPrompt, editGraderCriterion, editInstance, editLink, editSkill, editTenantUserSpendLimit, editTextResource, editTool, editUserGlobalMemory, editUserSpendLimit, enableSkill, enableSupport, expandReview, expandTrace, expectAgentLimitsRowContent, expectAllEndpointsVisible, expectBenchmarkListed, expectBillingAutoRechargeSection, expectBillingCreditsSection, expectBillingPlanSection, expectBillingTabForCurrentPlan, expectBillingTabForFreePlan, expectBillingTabForPremiumPlan, expectBillingTabForStandardPlan, expectBillingTabForTrialPlan, expectCallConfigVisible, expectCallConfigVoiceTriggerShows, expectChatPrivacyConfirmDialogOpen, expectChatPrivacyLocked, expectChatPrivacySource, expectChatPrivacyState, expectChatPrivacyToggleVisible, expectCompletedTasks, expectCreditBalanceForCurrentPlan, expectCreditBalancePanelForFreePlan, expectCreditBalancePanelForPremiumPlan, expectCreditBalancePanelForStandardPlan, expectCreditBalancePanelForTrialPlan, expectCreditBalanceVisibilityForTenant, expectDetailWaitingForTraces, expectEndpointUrl, expectEntitySelected, expectFailedTasks, expectGradeResultRow, expectGraderMisconfiguredWarning, expectGraderTotalPoints, expectKeyDeleteError, expectKeyInList, expectKeyNotInList, expectKeysEmpty, expectLastCriterionDeleteDisabled, expectLinkInList, expectLinkNotInList, expectLinkStatus, expectLinkTargetUri, expectLinksEmpty, expectLogDetailsStatus, expectLogsForTask, expectLtiHeader, expectMentorVoiceTriggerShows, expectMessageInConversation, expectNewUserSpendLimitDefault, expectNoAccessibilityViolations, expectNoAccessibilityViolationsOnDialogs, expectNoBenchmarksNotice, expectNoLogsForSelectedTask, expectNoRepliesYet, expectNoTickets, expectOutputFilterEnabled, expectPlanPicker, expectPrivacyFieldsHidden, expectPrivacyFieldsVisible, expectPrivateModeSelected, expectPrivateModeTabReady, expectQaItemListed, expectReviewInList, expectReviewStatus, expectRunInTable, expectRunNotInTable, expectRunStatus, expectRunsTableEmpty, expectScheduleStartTimeInPastError, expectScreenShareDisabledHint, expectSelectedBenchmark, expectSttSelectDisabled, expectTaskInList, expectTaskNotInList, expectTaskStatus, expectTasksEmpty, expectTenantChatPrivacyEnabled, expectTenantChatPrivacyVisible, expectTicketClosedNotice, expectTicketDescriptionContains, expectTicketInList, expectTicketStatusInList, expectToolInList, expectToolNotInList, expectToolsEmpty, expectTotalTasks, expectTraceScore, expectTtsSelectDisabled, expectUserLimitsRowContent, expectVoiceInstructionsValue, expectVoiceProviderSelected, expectVoiceVisible, expectWorkspaceActualSpendStats, expectWorkspaceSpendStats, exportHistoryAndWaitForDownload, exportRunCsv, fillLinkName, fillToolForm, filterAgentLimits, filterAgentMemories, filterByAction, filterByActionAndVerify, filterByActor, filterByActorAndVerify, filterByDateRange, filterGradeResultsByEmail, filterHistoryByAgent, filterHistoryBySentiment, filterHistoryByTopic, filterTicketsByStatus, filterTicketsByUser, filterUserLimits, generateBrowserSetupProjects, generateProjectConfig, getAddItemsDialog, getAuditLogRowCount, getAvailableActors, getBenchmarkCombobox, getBenchmarkComboboxDropdown, getBenchmarkItemsDialog, getBillingAutoRechargeStatus, getBillingPlanLabel, getBrowserKey, getCallConfigForm, getChatInput, getChatPrivacyConfirmDialog, getChatPrivacyToggle, getConversationList, getConversationPreview, getConversationRows, getCreateBenchmarkDialog, getCreateKeyButton, getCreateLinkButton, getCreateToolButton, getCreditBalancePlanLabel, getCreditBalanceRemaining, getCurrentModel, getCurrentTenantShowPaywall, getDeleteEvaluationDialog, getDeleteQaItemDialog, getEditAgentDialog, getEndpoint, getEndpointCopyButton, getEndpointUrl, getEntityChip, getEvaluationDetailDialog, getExportRowsByState, getExportsTable, getInstanceHealthLabel, getInstanceRowCount, getInstanceStatusLabel, getKeyActionsTrigger, getKeyCreateModal, getKeyCreateNameInput, getKeyDeleteModal, getKeyDetailModal, getKeyDetailNameInput, getKeyPublicJwkField, getKeyPublicKeyField, getKeyRow, getKeysEmptyState, getKeysSection, getLinkCopyTargetUriButton, getLinkEditButton, getLinkModal, getLinkNameInput, getLinkRow, getLinksEmptyState, getLinksRefreshButton, getLinksSection, getLlmJudgeDialog, getLlmPickerDialog, getLtiSubTab, getManageBenchmarksButton, getManageBenchmarksDialog, getMemoryCount, getMentorIdFromUrl, getNewEvaluationButton, getOutputFilterSwitch, getPaginationInfo, getPlanPickerKeys, getPrivateModeCard, getProfileDialog, getReplyComposer, getReviewRow, getRunRow, getScheduleTaskButton, getSearchInput, getSkillRowCount, getStartEvaluationDialog, getStatusFilter, getSupportInfoBox, getSupportTabTrigger, getSupportToggle, getTaskRow, getTenantChatPrivacyRow, getTenantChatPrivacySwitch, getTicketDescription, getTicketDetail, getTicketList, getTicketRow, getTicketRowByIndex, getToolEditButton, getToolKeySelect, getToolModal, getToolRow, getToolsEmptyState, getToolsSection, getTraceRow, getUserFilter, getVoiceProviderCard, getVoiceRow, goToFirstPage, goToLastPage, goToNextPage, goToPage, goToPreviousPage, goToSkillsListPage, graderTabBody, inviteUserTest, isEvaluationTabVisible, isFirefox, isGraderTabVisible, isGradingEnabled, isJSON, isLtiTabVisible, isMemoryTabVisible, isOnFirstPage, isOnLastPage, isPrivacyTabVisible, isPrivateModeTabVisible, isSandboxKindEnabled, isSandboxTabVisible, isScreenShareTabVisible, isSkillEnabled, isSpendLimitsTabVisible, isSupportEnabled, isSupportTabVisible, isTasksTabVisible, isTenantMemoryTabVisible, isVoiceTabVisible, logger, loginWithEmailAndPassword, loginWithMicrosoftIdp, memoryAdminAgentRow, memoryAdminAgentSection, memoryAdminGlobalSection, memoryAdminUserRow, memoryRowByContent, navigateToAccountComponent, navigateToAuditLog, navigateToAuditLogAndWaitForData, navigateToDataReports, navigateToReportDownload, newUserDefaultSection, openAddItemsDialog, openAddMemoryDialog, openAgentLimitsManage, openAgentMemoriesPopup, openAgentPromptEditModal, openBenchmarkItems, openCallConfigVoicePicker, openCreateKeyModal, openCreateLinkModal, openCreateToolModal, openCreditBalanceDropdown, openEditInstanceDialog, openEditLinkModal, openEditSkillDialog, openEditToolModal, openFirstLogDetails, openHistoryTab, openInstanceActionsMenu, openKeyActionsMenu, openKeyDelete, openKeyDetail, openLLMProviderPicker, openManageBenchmarksDialog, openMentorVoicePicker, openNewInstanceDialog, openNewReviewForRun, openNewReviewFromDetail, openNewSkillDialog, openPlanPickerFromBilling, openPlanPickerFromCreditBalance, openRunActionsMenu, openRunResults, openScheduleTaskDialog, openScreenSharePromptEditor, openSkillActionsMenu, openSlashSkillPicker, openStartEvaluationDialog, openTicket, openUserMemoriesPopup, openVoiceInstructionsEditor, overrideGradeResult, parseReportUrlParams, planCard, planPickerDialog, previewCallConfigVoiceInline, previewMentorVoiceInline, previewVoice, pushConfiguration, readEndpointUrl, readKeyPublicJwk, readKeyPublicKey, refreshEvaluationDetail, refreshLinks, refreshTickets, reliableClick, reliableFill, removeSkillFromAgent, removeTraceScore, renameKey, replyToTicket, requestSupportTicketViaChat, resetCallConfig, retry, retryFailedLink, runConnectedInstanceChecks, runInstanceChecks, safeWaitForURL, saveCallConfig, saveGraderConfig, saveScreenSharePrompts, saveVoiceSettings, scheduleTask, searchBenchmarks, searchInstances, searchMemoryAdminUsers, searchTasks, searchVoices, selectBenchmark, selectCallMode, selectConversation, selectDateFromCalendar, selectJudgeLlm, selectLLMModel, selectLlmProvider, selectPrivacyAction, selectPrivateMode, selectSlashSkill, selectSttProvider, selectTaskInList, selectToolKeySetMode, selectToolSigningKey, selectTtsProvider, selectVoice, selectVoiceProvider, sendAgentChatMessage, setAgentLimitsRowEnabled, setAgentSpendLimit, setAgentSpendLimitFromTenantBilling, setBlockMessage, setCallLanguage, setCatalogSkillEnabled, setEnableVideo, setEntitySelected, setGradingEnabled, setNewUserSpendLimitDefault, setOutputFilterEnabled, setScreenSharePrompt, setSupportEnabled, setTenantChatPrivacyEnabled, setTicketStatus, setUseFunctionCallingEnabled, setUserLimitsRowEnabled, setUserSpendLimitEnabled, setVoiceInstructions, setWorkspaceSpendLimit, setupSandboxInstance, shouldAddNewRowWhenClickingAddRowButton, shouldAllowEditingCellValuesInCSVEditor, shouldCancelCombiningReports, shouldCloseCSVEditorWhenClickingCloseButton, shouldCloseCSVEditorWithoutSavingWhenClickingCancel, shouldCombineRecommendationReports, shouldDirectlyDownloadChatHistoryReportWithoutCSVEditor, shouldDisableOtherDownloadButtonsWhileGeneratingReport, shouldDisplayCSVInEditableTableFormat, shouldDisplayReportCards, shouldHaveCombinedReportDataTestIds, shouldOpenCSVEditorDialog, shouldOpenCSVEditorForUserMetadataReport, shouldSaveEditedCSVAndTriggerDownload, shouldShowCombiningReportsDialog, shouldVerifyCSVEditorDialogAccessibility, signUpWithEmailAndPassword, spendLimitsTabBody, startEvaluation, startHistoryExport, submitAddCreditsAmount, submitLinkModal, submitLlmJudge, submitToolModal, switchHistorySubTab, switchToAddItemsSubTab, switchToAgentLimits, switchToAgentSkillsSubTab, switchToAvailableSkillsSubTab, switchToEvaluationTab, switchToGraderSubTab, switchToGraderTab, switchToLtiSubTab, switchToLtiTab, switchToMemoryAdminSubTab, switchToMemoryTab, switchToPlanAndCredits, switchToPrivacyTab, switchToPrivateModeTab, switchToSandboxTab, switchToScreenShareTab, switchToSkillResourcesSubTab, switchToSkillsTab, switchToSpendLimitsSubTab, switchToSpendLimitsTab, switchToSupportTab, switchToTasksTab, switchToTenantMemoryTab, switchToUserLimits, switchToVoiceSubTab, switchToVoiceTab, switchToWorkspaceSpendLimits, teardownSandboxInstance, test, toggleAutoPush, toggleMemorySwitch, toggleSandboxKind, toggleSkill, toggleUserMemoryAdminSetting, toolFields, turnOffChatPrivacyMidSession, uploadAssetResource, uploadQaCsv, userLimitsRow, userLimitsSection, userSpendLimitRow, verifyAgentConfigPromptsVisible, verifyAgentSkillsEmptyState, verifyAuditLogEmptyState, verifyAuditLogEntryStructure, verifyAuditLogGenericError, verifyAuditLogLoading, verifyAuditLogPermissionError, verifyAuditLogTableVisible, verifyClawSectionHidden, verifyClawSectionVisible, verifyConnectDisabledForUnhealthy, verifyConnectedInstanceCard, verifyCurrentPage, verifyDonePhase, verifyDownloadingPhase, verifyErrorPhase, verifyInstanceTableEmpty, verifyInstanceTableVisible, verifyMemoryExists, verifyMemoryNotExists, verifyMemoryTabMemoriesList, verifyMemoryTabSettings, verifyPreparingPhase, verifySandboxKindsVisible, verifySkillAdded, verifySkillVisible, verifySkillsEmptyState, verifySkillsTabVisible, waitForAgentChatResponse, waitForAuditLogDataLoaded, waitForBillingTabReady, waitForCompletedExportRow, waitForConversations, waitForCreditBalanceLoaded, waitForDialogReady, waitForElementStable, waitForLinkReady, waitForPageLoad, waitForPageReady, waitForPlanPicker, waitForReportDownload, waitForTicketInList, workspaceSpendLimitSection };
3637
3699
  export type { AgentPromptField, AuthFlowType, AuthSetupConfig, BillingAutoRechargeStatus, CallMode, ChatPrivacyMode, ChatPrivacySource, ChatPrivacyToggleState, CreatePlaywrightConfigOptions, CreditBalancePlan, EnvConfig, EvalReviewStatus, EvalRunStatus, GraderCriterionInput, GraderFeedbackMode, GraderGradingMode, GraderSubTab, HistorySentiment, HistorySubTab, LlmProvider, LtiEndpoint, LtiKeySetMode, LtiLinkStatus, LtiSubTab, LtiToolFormData, MemoryAdminSetting, MemoryAdminSubTab, PlatformConfig, PrivacyAction, PrivacyEntity, ReportDownloadOptions, SafeWaitForURLOptions, SandboxKind, ScreenSharePromptField, SignUpCredentials, SkillFormValues, SpendLimitEnforcement, SpendLimitInput, SpendLimitInterval, SpendLimitSubTab, StepFn, SttProvider, SupportTicketStatus, TaskRepeat, TaskStatus, TextResourceValues, TtsProvider, UserSpendLimitInput, VoiceInstructionsPreset, VoiceProvider };