Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(flags): add starts_with and ends_with property filter operators (#72992)

Phil Haack2a229b71de66
diff --git a/ee/hogai/summarizers/property_filters.py b/ee/hogai/summarizers/property_filters.py
index 8552f1ac0534..f225dfe92978 100644
--- a/ee/hogai/summarizers/property_filters.py
+++ b/ee/hogai/summarizers/property_filters.py
@@ -51,6 +51,10 @@ PROPERTY_FILTER_VERBOSE_NAME: dict[PropertyOperator, str] = {
PropertyOperator.NOT_ICONTAINS: "doesn't contain",
PropertyOperator.ICONTAINS_MULTI: "contains any of",
PropertyOperator.NOT_ICONTAINS_MULTI: "doesn't contain any of",
+ PropertyOperator.STARTS_WITH: "starts with",
+ PropertyOperator.NOT_STARTS_WITH: "doesn't start with",
+ PropertyOperator.ENDS_WITH: "ends with",
+ PropertyOperator.NOT_ENDS_WITH: "doesn't end with",
PropertyOperator.REGEX: "matches regex",
PropertyOperator.NOT_REGEX: "doesn't match regex",
PropertyOperator.GT: "greater than",
diff --git a/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.test.tsx b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.test.tsx
new file mode 100644
index 000000000000..781a98d24237
--- /dev/null
+++ b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.test.tsx
@@ -0,0 +1,124 @@
+import '@testing-library/jest-dom'
+
+import { cleanup, render, screen } from '@testing-library/react'
+import { Provider } from 'kea'
+
+import { FEATURE_FLAGS } from 'lib/constants'
+import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
+
+import { useMocks } from '~/mocks/jest'
+import { initKeaTests } from '~/test/init'
+import { PropertyDefinition, PropertyFilterType, PropertyOperator, PropertyType } from '~/types'
+
+import { OperatorValueSelect } from './OperatorValueSelect'
+
+jest.mock('@posthog/lemon-ui', () => ({
+ ...jest.requireActual('@posthog/lemon-ui'),
+ // Render a native select so operator options are directly assertable without popover mechanics
+ LemonSelect: ({ onChange, options, value }: any): JSX.Element => {
+ const flatOptions = options.flatMap((option: any) => ('options' in option ? option.options : option))
+ return (
+ <select
+ data-attr="operator-select"
+ value={value === undefined ? '' : String(value)}
+ onChange={(event) => {
+ const selectedOption = flatOptions.find(
+ (option: any) => String(option.value) === event.target.value
+ )
+ onChange?.(selectedOption?.value)
+ }}
+ >
+ {flatOptions.map((option: any) => (
+ <option key={String(option.value)} value={String(option.value)}>
+ {String(option.value)}
+ </option>
+ ))}
+ </select>
+ )
+ },
+}))
+
+const STARTS_ENDS_WITH_VALUES = ['starts_with', 'not_starts_with', 'ends_with', 'not_ends_with']
+
+const emailPropertyDefinition = {
+ id: '1',
+ name: 'email',
+ property_type: PropertyType.String,
+} as PropertyDefinition
+
+describe('OperatorValueSelect', () => {
+ let unmountFeatureFlagLogic: (() => void) | null = null
+
+ beforeEach(() => {
+ initKeaTests()
+ useMocks({
+ get: {
+ '/api/person/values': [],
+ '/api/event/values': [],
+ },
+ })
+ unmountFeatureFlagLogic = featureFlagLogic.mount()
+ })
+
+ afterEach(() => {
+ featureFlagLogic.actions.setFeatureFlags([], {})
+ unmountFeatureFlagLogic?.()
+ unmountFeatureFlagLogic = null
+ cleanup()
+ })
+
+ function setStartsEndsWithFlag(enabled: boolean): void {
+ featureFlagLogic.actions.setFeatureFlags([FEATURE_FLAGS.STARTS_WITH_ENDS_WITH_OPERATORS], {
+ [FEATURE_FLAGS.STARTS_WITH_ENDS_WITH_OPERATORS]: enabled,
+ })
+ }
+
+ function renderSelect(operator?: PropertyOperator): void {
+ render(
+ <Provider>
+ <OperatorValueSelect
+ type={PropertyFilterType.Person}
+ propertyKey="email"
+ operator={operator}
+ value={null}
+ editable
+ onChange={jest.fn()}
+ propertyDefinitions={[emailPropertyDefinition]}
+ />
+ </Provider>
+ )
+ }
+
+ function renderedOperatorValues(): string[] {
+ const select = screen.getByTestId('operator-select')
+ return Array.from(select.querySelectorAll('option')).map((option) => option.value)
+ }
+
+ it('hides the starts_with/ends_with operator family when the flag is off', () => {
+ setStartsEndsWithFlag(false)
+ renderSelect()
+ const values = renderedOperatorValues()
+ for (const operatorValue of STARTS_ENDS_WITH_VALUES) {
+ expect(values).not.toContain(operatorValue)
+ }
+ expect(values).toContain('icontains')
+ })
+
+ it('keeps a saved starts_with operator selectable when the flag is off, without resetting it', () => {
+ setStartsEndsWithFlag(false)
+ renderSelect(PropertyOperator.StartsWith)
+ const values = renderedOperatorValues()
+ expect(values).toContain('starts_with')
+ expect(values).not.toContain('ends_with')
+ expect(screen.getByTestId('operator-select')).toHaveValue('starts_with')
+ })
+
+ it('offers the full starts_with/ends_with operator family when the flag is on', () => {
+ setStartsEndsWithFlag(true)
+ renderSelect()
+ const values = renderedOperatorValues()
+ for (const operatorValue of STARTS_ENDS_WITH_VALUES) {
+ expect(values).toContain(operatorValue)
+ }
+ })
+})
diff --git a/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx
index edbed7aa3acb..49de5a157ae5 100644
--- a/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx
+++ b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx
@@ -1,3 +1,4 @@
+import { useValues } from 'kea'
import { RE2JS } from 're2js'
import { useEffect, useState } from 'react'
@@ -5,9 +6,11 @@ import { LemonBanner, LemonDropdownProps, LemonSelect, LemonSelectProps, LemonSe
import { allOperatorsToHumanName } from 'lib/components/DefinitionPopover/utils'
import { TaxonomicFilterGroupType } from 'lib/components/TaxonomicFilter/types'
+import { FEATURE_FLAGS } from 'lib/constants'
import { dayjs } from 'lib/dayjs'
import { LemonInputSelect } from 'lib/lemon-ui/LemonInputSelect/LemonInputSelect'
import { Link } from 'lib/lemon-ui/Link'
+import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { isMobile } from 'lib/utils/dom'
import {
allOperatorsMapping,
@@ -34,6 +37,13 @@ import {
import { PropertyValue } from './PropertyValue'
+const STARTS_ENDS_WITH_OPERATORS = [
+ PropertyOperator.StartsWith,
+ PropertyOperator.NotStartsWith,
+ PropertyOperator.EndsWith,
+ PropertyOperator.NotEndsWith,
+]
+
// OTel span.kind enum (https://opentelemetry.io/docs/specs/otel/trace/api/#spankind).
const SPAN_KIND_OPTIONS: { key: number; label: string }[] = [
{ key: 0, label: 'Unspecified' },
@@ -216,6 +226,9 @@ export function OperatorValueSelect({
const [currentOperator, setCurrentOperator] = useState(startingOperator)
+ const { featureFlags } = useValues(featureFlagLogic)
+ const startsEndsWithEnabled = !!featureFlags[FEATURE_FLAGS.STARTS_WITH_ENDS_WITH_OPERATORS]
+
const [operators, setOperators] = useState([] as Array<PropertyOperator>)
useEffect(() => {
let propertyType = propertyDefinition?.property_type
@@ -251,7 +264,16 @@ export function OperatorValueSelect({
(op) => !operatorAllowlist || operatorAllowlist.includes(op)
)
- // Restrict message log property to only allow exact, is_not, contains, not contains, regex, and not regex operators
+ // Hidden until SDK local evaluation supports these operators; existing filters using them still
+ // render and evaluate, they just can't be newly selected without the flag. Keep the
+ // currently-selected operator in the list even when hidden, so an existing filter doesn't get
+ // silently reset to Exact and lose its operator on the next edit. Deliberately compares the
+ // saved `operator` prop, not `currentOperator` state: the prop is what protects a saved filter.
+ if (!startsEndsWithEnabled) {
+ operators = operators.filter((op) => !STARTS_ENDS_WITH_OPERATORS.includes(op) || op === operator)
+ }
+
+ // Restrict message log property to only allow string-search operators
if (propertyKey === 'message' && type === PropertyFilterType.Log) {
operators = operators.filter((op) =>
[
@@ -259,6 +281,7 @@ export function OperatorValueSelect({
PropertyOperator.IsNot,
PropertyOperator.IContains,
PropertyOperator.NotIContains,
+ ...STARTS_ENDS_WITH_OPERATORS,
PropertyOperator.Regex,
PropertyOperator.NotRegex,
].includes(op)
@@ -297,7 +320,7 @@ export function OperatorValueSelect({
)
}
- // Restrict span name to string equality/contains operators
+ // Restrict span name to string-search operators
if (propertyKey === 'name' && type === PropertyFilterType.Span) {
operators = operators.filter((op) =>
[
@@ -305,6 +328,7 @@ export function OperatorValueSelect({
PropertyOperator.IsNot,
PropertyOperator.IContains,
PropertyOperator.NotIContains,
+ ...STARTS_ENDS_WITH_OPERATORS,
PropertyOperator.Regex,
PropertyOperator.NotRegex,
].includes(op)
@@ -327,7 +351,7 @@ export function OperatorValueSelect({
}
setCurrentOperator(defaultProperty)
}
- }, [propertyDefinition, propertyKey, operator, operatorAllowlist, type]) // oxlint-disable-line react-hooks/exhaustive-deps
+ }, [propertyDefinition, propertyKey, operator, operatorAllowlist, type, startsEndsWithEnabled]) // oxlint-disable-line react-hooks/exhaustive-deps
const validationError = currentOperator && value ? getValidationError(currentOperator, value, propertyKey) : null
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsx
index 0f0e315ce301..aed4aec3d5ff 100644
--- a/frontend/src/lib/constants.tsx
+++ b/frontend/src/lib/constants.tsx
@@ -230,6 +230,7 @@ export const FEATURE_FLAGS = {
SLACK_APP_ASSISTANT: 'slack-app-assistant', // owner: @VojtechBartos #team-platform-features
SLACK_APP_OAUTH: 'slack-app-oauth', // owner: @VojtechBartos #team-platform-features
SLOPE_GRAPH_INSIGHT: 'slope-graph-insight', // owner: @pauldambra #team-product-analytics
+ STARTS_WITH_ENDS_WITH_OPERATORS: 'starts-with-ends-with-operators', // owner: @haacked #team-feature-flags, gates the starts_with/ends_with property filter operators in the UI until SDK local evaluation supports them, see `OperatorValueSelect.tsx`
STARTUP_PROGRAM_INTENT: 'startup-program-intent', // owner: @pawel-cebula #team-billing
SURVEYS_ACTIONS: 'surveys-actions', // owner: #team-surveys
SURVEYS_ADAPTIVE_LIMITS: 'surveys-adaptive-limits', // owner: #team-surveys
diff --git a/frontend/src/lib/utils/operators.test.ts b/frontend/src/lib/utils/operators.test.ts
index 11e41be0cc0f..097a32ada3b9 100644
--- a/frontend/src/lib/utils/operators.test.ts
+++ b/frontend/src/lib/utils/operators.test.ts
@@ -1,4 +1,5 @@
import {
+ allOperatorsMapping,
booleanOperatorMap,
chooseOperatorMap,
dateTimeOperatorMap,
@@ -7,6 +8,7 @@ import {
isOperatorMulti,
numericOperatorMap,
selectorOperatorMap,
+ stringArrayOperatorMap,
stringOperatorMap,
} from 'lib/utils/operators'
@@ -47,5 +49,26 @@ describe('operators utils', () => {
expect(isOperatorMulti(PropertyOperator.IsNotSet)).toBe(false)
expect(isOperatorMulti(PropertyOperator.Regex)).toBe(false)
})
+
+ it('returns false for the starts_with/ends_with operator family', () => {
+ expect(isOperatorMulti(PropertyOperator.StartsWith)).toBe(false)
+ expect(isOperatorMulti(PropertyOperator.NotStartsWith)).toBe(false)
+ expect(isOperatorMulti(PropertyOperator.EndsWith)).toBe(false)
+ expect(isOperatorMulti(PropertyOperator.NotEndsWith)).toBe(false)
+ })
+ })
+
+ describe('starts_with / ends_with operator family', () => {
+ it.each([
+ [PropertyOperator.StartsWith, 'starts with'],
+ [PropertyOperator.NotStartsWith, "doesn't start with"],
+ [PropertyOperator.EndsWith, 'ends with'],
+ [PropertyOperator.NotEndsWith, "doesn't end with"],
+ ])('exposes a "%s" label in the string operator maps and allOperatorsMapping', (operator, expectedText) => {
+ expect(genericOperatorMap[operator]).toEqual(expect.stringContaining(expectedText))
+ expect(stringOperatorMap[operator]).toEqual(expect.stringContaining(expectedText))
+ expect(stringArrayOperatorMap[operator]).toEqual(expect.stringContaining(expectedText))
+ expect(allOperatorsMapping[operator]).toEqual(expect.stringContaining(expectedText))
+ })
})
})
diff --git a/frontend/src/lib/utils/operators.ts b/frontend/src/lib/utils/operators.ts
index 1e966f81360a..ca9c87c91879 100644
--- a/frontend/src/lib/utils/operators.ts
+++ b/frontend/src/lib/utils/operators.ts
@@ -5,6 +5,10 @@ export const genericOperatorMap: Record<string, string> = {
is_not: "≠ doesn't equal",
icontains: '∋ contains',
not_icontains: "∌ doesn't contain",
+ starts_with: '↦ starts with',
+ not_starts_with: "↛ doesn't start with",
+ ends_with: '⇥ ends with',
+ not_ends_with: "⇻ doesn't end with",
regex: '∼ matches regex',
not_regex: "≁ doesn't match regex",
gt: '> greater than',
@@ -20,6 +24,10 @@ export const stringOperatorMap: Record<string, string> = {
is_not: "≠ doesn't equal",
icontains: '∋ contains',
not_icontains: "∌ doesn't contain",
+ starts_with: '↦ starts with',
+ not_starts_with: "↛ doesn't start with",
+ ends_with: '⇥ ends with',
+ not_ends_with: "⇻ doesn't end with",
regex: '∼ matches regex',
not_regex: "≁ doesn't match regex",
is_set: '✓ is set',
@@ -40,6 +48,10 @@ export const stringArrayOperatorMap: Record<string, string> = {
is_not: "≠ doesn't equal",
icontains: '∋ contains',
not_icontains: "∌ doesn't contain",
+ starts_with: '↦ starts with',
+ not_starts_with: "↛ doesn't start with",
+ ends_with: '⇥ ends with',
+ not_ends_with: "⇻ doesn't end with",
regex: '∼ matches regex',
not_regex: "≁ doesn't match regex",
}
diff --git a/frontend/src/queries/schema.json b/frontend/src/queries/schema.json
index f0e3de4f942c..682529f70212 100644
--- a/frontend/src/queries/schema.json
+++ b/frontend/src/queries/schema.json
@@ -35421,6 +35421,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/frontend/src/queries/validators.js b/frontend/src/queries/validators.js
index 7a538e6fbcc4..78fe884cce1b 100644
--- a/frontend/src/queries/validators.js
+++ b/frontend/src/queries/validators.js
@@ -69,6 +69,10 @@ const schema14 = {
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -340,6 +344,10 @@ function validate12(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -579,6 +587,10 @@ function validate16(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -821,6 +833,10 @@ function validate19(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -1073,6 +1089,10 @@ function validate22(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -1311,6 +1331,10 @@ function validate25(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -1549,6 +1573,10 @@ function validate28(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -1823,6 +1851,10 @@ function validate31(data, { instancePath = '', parentData, parentDataProperty, r
data3 === 'is_not' ||
data3 === 'icontains' ||
data3 === 'not_icontains' ||
+ data3 === 'starts_with' ||
+ data3 === 'not_starts_with' ||
+ data3 === 'ends_with' ||
+ data3 === 'not_ends_with' ||
data3 === 'regex' ||
data3 === 'not_regex' ||
data3 === 'gt' ||
@@ -2341,6 +2373,10 @@ function validate33(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -2579,6 +2615,10 @@ function validate36(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -2940,6 +2980,10 @@ function validate39(data, { instancePath = '', parentData, parentDataProperty, r
data5 === 'is_not' ||
data5 === 'icontains' ||
data5 === 'not_icontains' ||
+ data5 === 'starts_with' ||
+ data5 === 'not_starts_with' ||
+ data5 === 'ends_with' ||
+ data5 === 'not_ends_with' ||
data5 === 'regex' ||
data5 === 'not_regex' ||
data5 === 'gt' ||
@@ -3182,6 +3226,10 @@ function validate42(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -3575,6 +3623,10 @@ function validate48(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -3813,6 +3865,10 @@ function validate51(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -4051,6 +4107,10 @@ function validate54(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -4290,6 +4350,10 @@ function validate57(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -4534,6 +4598,10 @@ function validate60(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -4773,6 +4841,10 @@ function validate63(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -5017,6 +5089,10 @@ function validate66(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -5259,6 +5335,10 @@ function validate69(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -5497,6 +5577,10 @@ function validate72(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
@@ -6531,6 +6615,10 @@ function validate82(data, { instancePath = '', parentData, parentDataProperty, r
data2 === 'is_not' ||
data2 === 'icontains' ||
data2 === 'not_icontains' ||
+ data2 === 'starts_with' ||
+ data2 === 'not_starts_with' ||
+ data2 === 'ends_with' ||
+ data2 === 'not_ends_with' ||
data2 === 'regex' ||
data2 === 'not_regex' ||
data2 === 'gt' ||
diff --git a/frontend/src/types.ts b/frontend/src/types.ts
index 08791d9cffe1..ab7061f7464b 100644
--- a/frontend/src/types.ts
+++ b/frontend/src/types.ts
@@ -1043,6 +1043,10 @@ export enum PropertyOperator {
IsNot = 'is_not',
IContains = 'icontains',
NotIContains = 'not_icontains',
+ StartsWith = 'starts_with',
+ NotStartsWith = 'not_starts_with',
+ EndsWith = 'ends_with',
+ NotEndsWith = 'not_ends_with',
Regex = 'regex',
NotRegex = 'not_regex',
GreaterThan = 'gt',
diff --git a/nodejs/src/logs/sampling/property-filter-match.test.ts b/nodejs/src/logs/sampling/property-filter-match.test.ts
index a95d87f2a870..70c37a2eb20e 100644
--- a/nodejs/src/logs/sampling/property-filter-match.test.ts
+++ b/nodejs/src/logs/sampling/property-filter-match.test.ts
@@ -46,6 +46,36 @@ describe('matchPropertyFilter', () => {
})
})
+ describe('starts_with / not_starts_with', () => {
+ it('starts_with is a case-insensitive prefix match', () => {
+ expect(matchPropertyFilter(filter({ operator: 'starts_with', value: 'HEALTH' }), 'healthz/live')).toBe(true)
+ expect(matchPropertyFilter(filter({ operator: 'starts_with', value: 'live' }), 'healthz/live')).toBe(false)
+ })
+ it('not_starts_with negates starts_with', () => {
+ expect(matchPropertyFilter(filter({ operator: 'not_starts_with', value: 'live' }), 'healthz/live')).toBe(
+ true
+ )
+ expect(matchPropertyFilter(filter({ operator: 'not_starts_with', value: 'HEALTH' }), 'healthz/live')).toBe(
+ false
+ )
+ })
+ })
+
+ describe('ends_with / not_ends_with', () => {
+ it('ends_with is a case-insensitive suffix match', () => {
+ expect(matchPropertyFilter(filter({ operator: 'ends_with', value: 'LIVE' }), 'healthz/live')).toBe(true)
+ expect(matchPropertyFilter(filter({ operator: 'ends_with', value: 'health' }), 'healthz/live')).toBe(false)
+ })
+ it('not_ends_with negates ends_with', () => {
+ expect(matchPropertyFilter(filter({ operator: 'not_ends_with', value: 'health' }), 'healthz/live')).toBe(
+ true
+ )
+ expect(matchPropertyFilter(filter({ operator: 'not_ends_with', value: 'LIVE' }), 'healthz/live')).toBe(
+ false
+ )
+ })
+ })
+
describe('regex / not_regex', () => {
it('regex matches with dotall + ignorecase semantics (Python parity)', () => {
expect(matchPropertyFilter(filter({ operator: 'regex', value: '^/api/' }), '/API/v1')).toBe(true)
diff --git a/nodejs/src/logs/sampling/property-filter-match.ts b/nodejs/src/logs/sampling/property-filter-match.ts
index 3d5433681dd8..49498340806b 100644
--- a/nodejs/src/logs/sampling/property-filter-match.ts
+++ b/nodejs/src/logs/sampling/property-filter-match.ts
@@ -1,8 +1,9 @@
/**
* Per-record property filter evaluator for log drop rules.
*
- * Ported from `posthog/queries/base.py:match_property`. Keep semantics aligned
- * with the Python implementation; if you change one side, change the other.
+ * Mirrors the operator semantics in `posthog/hogql/property.py` (`_expr_to_compare_op`)
+ * and the Rust flag matcher (`rust/feature-flags/src/properties/property_matching.rs`).
+ * Keep the operator arms aligned; if you change one side, change the others.
*
* - `is_set` / `is_not_set` are the only operators that match a missing override.
* - Date operators (is_date_before / after / exact) are intentionally omitted —
@@ -25,6 +26,10 @@ export type SupportedPropertyOperator =
| 'is_not_set'
| 'icontains'
| 'not_icontains'
+ | 'starts_with'
+ | 'not_starts_with'
+ | 'ends_with'
+ | 'not_ends_with'
| 'regex'
| 'not_regex'
| 'gt'
@@ -102,6 +107,15 @@ export function matchPropertyFilter(
return !String(overrideValue).toLowerCase().includes(String(value).toLowerCase())
}
+ if (operator === 'starts_with' || operator === 'not_starts_with') {
+ const matches = String(overrideValue).toLowerCase().startsWith(String(value).toLowerCase())
+ return operator === 'starts_with' ? matches : !matches
+ }
+ if (operator === 'ends_with' || operator === 'not_ends_with') {
+ const matches = String(overrideValue).toLowerCase().endsWith(String(value).toLowerCase())
+ return operator === 'ends_with' ? matches : !matches
+ }
+
if (operator === 'regex' || operator === 'not_regex') {
// Prefer the compile-time regex if `parseFilterGroup` stamped one onto the
// leaf. `_compiledRegex === null` means the pattern failed to compile and
diff --git a/nodejs/src/types.ts b/nodejs/src/types.ts
index 42174a615273..6fee25911170 100644
--- a/nodejs/src/types.ts
+++ b/nodejs/src/types.ts
@@ -630,6 +630,10 @@ export enum PropertyOperator {
IsNot = 'is_not',
IContains = 'icontains',
NotIContains = 'not_icontains',
+ StartsWith = 'starts_with',
+ NotStartsWith = 'not_starts_with',
+ EndsWith = 'ends_with',
+ NotEndsWith = 'not_ends_with',
Regex = 'regex',
NotRegex = 'not_regex',
GreaterThan = 'gt',
diff --git a/posthog/api/documentation.py b/posthog/api/documentation.py
index 7e9a2a2b6dec..032a5058a688 100644
--- a/posthog/api/documentation.py
+++ b/posthog/api/documentation.py
@@ -241,7 +241,18 @@ class StringPropertyFilterSerializer(_PropertyFilterBase):
required=True,
)
operator = serializers.ChoiceField(
- choices=["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex"],
+ choices=[
+ "exact",
+ "is_not",
+ "icontains",
+ "not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
+ "regex",
+ "not_regex",
+ ],
default="exact",
required=False,
help_text="String comparison operator.",
@@ -339,6 +350,10 @@ class FeatureFlagFilterPropertyGenericSchemaSerializer(_FeatureFlagFilterPropert
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/posthog/hogql/property.py b/posthog/hogql/property.py
index 38abad477f8c..2083bce5f53e 100644
--- a/posthog/hogql/property.py
+++ b/posthog/hogql/property.py
@@ -524,6 +524,24 @@ def _expr_to_compare_op(
left=ast.Call(name="toString", args=[expr]),
right=ast.Constant(value=f"%{single_value}%"),
)
+ elif operator in (PropertyOperator.STARTS_WITH, PropertyOperator.NOT_STARTS_WITH):
+ single_value = value[0] if isinstance(value, list) and len(value) == 1 else value
+ return ast.CompareOperation(
+ op=ast.CompareOperationOp.ILike
+ if operator == PropertyOperator.STARTS_WITH
+ else ast.CompareOperationOp.NotILike,
+ left=ast.Call(name="toString", args=[expr]),
+ right=ast.Constant(value=f"{single_value}%"),
+ )
+ elif operator in (PropertyOperator.ENDS_WITH, PropertyOperator.NOT_ENDS_WITH):
+ single_value = value[0] if isinstance(value, list) and len(value) == 1 else value
+ return ast.CompareOperation(
+ op=ast.CompareOperationOp.ILike
+ if operator == PropertyOperator.ENDS_WITH
+ else ast.CompareOperationOp.NotILike,
+ left=ast.Call(name="toString", args=[expr]),
+ right=ast.Constant(value=f"%{single_value}"),
+ )
elif operator == PropertyOperator.ICONTAINS_MULTI:
# Always expect multiple values for multi-contains operator
if isinstance(value, list):
@@ -947,6 +965,8 @@ def property_to_expr(
operator == PropertyOperator.NOT_ICONTAINS
or operator == PropertyOperator.NOT_REGEX
or operator == PropertyOperator.IS_NOT
+ or operator == PropertyOperator.NOT_STARTS_WITH
+ or operator == PropertyOperator.NOT_ENDS_WITH
):
return ast.And(exprs=exprs)
return ast.Or(exprs=exprs)
@@ -1028,6 +1048,8 @@ def property_to_expr(
PropertyOperator.NOT_BETWEEN,
PropertyOperator.ICONTAINS,
PropertyOperator.NOT_ICONTAINS,
+ # starts_with/ends_with intentionally excluded: no ClickHouse anchored multi-search
+ # primitive exists, so multi-value use falls through to per-value ILIKE scans below.
):
if len(value) == 0:
return ast.Constant(value=1)
@@ -1112,6 +1134,8 @@ def property_to_expr(
operator == PropertyOperator.NOT_ICONTAINS
or operator == PropertyOperator.NOT_REGEX
or operator == PropertyOperator.IS_NOT
+ or operator == PropertyOperator.NOT_STARTS_WITH
+ or operator == PropertyOperator.NOT_ENDS_WITH
):
return ast.And(exprs=exprs)
return ast.Or(exprs=exprs)
@@ -1179,6 +1203,8 @@ def property_to_expr(
operator == PropertyOperator.IS_NOT
or operator == PropertyOperator.NOT_ICONTAINS
or operator == PropertyOperator.NOT_REGEX
+ or operator == PropertyOperator.NOT_STARTS_WITH
+ or operator == PropertyOperator.NOT_ENDS_WITH
):
return ast.And(exprs=exprs)
return ast.Or(exprs=exprs)
@@ -1526,6 +1552,8 @@ def operator_is_negative(operator: PropertyOperator) -> bool:
PropertyOperator.IS_NOT,
PropertyOperator.NOT_ICONTAINS,
PropertyOperator.NOT_ICONTAINS_MULTI,
+ PropertyOperator.NOT_STARTS_WITH,
+ PropertyOperator.NOT_ENDS_WITH,
PropertyOperator.NOT_REGEX,
PropertyOperator.IS_NOT_SET,
PropertyOperator.NOT_BETWEEN,
diff --git a/posthog/hogql/test/test_property.py b/posthog/hogql/test/test_property.py
index 9ac39b501b39..7a326882c0d6 100644
--- a/posthog/hogql/test/test_property.py
+++ b/posthog/hogql/test/test_property.py
@@ -201,6 +201,22 @@ class TestProperty(BaseTest):
self._property_to_expr({"type": "event", "key": "a", "value": "3", "operator": "not_icontains"}),
self._parse_expr("toString(properties.a) not ilike '%3%'"),
)
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": "3", "operator": "starts_with"}),
+ self._parse_expr("toString(properties.a) ilike '3%'"),
+ )
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": "3", "operator": "not_starts_with"}),
+ self._parse_expr("toString(properties.a) not ilike '3%'"),
+ )
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": "3", "operator": "ends_with"}),
+ self._parse_expr("toString(properties.a) ilike '%3'"),
+ )
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": "3", "operator": "not_ends_with"}),
+ self._parse_expr("toString(properties.a) not ilike '%3'"),
+ )
self.assertEqual(
self._property_to_expr({"type": "event", "key": "a", "value": ".*", "operator": "regex"}),
self._parse_expr("ifNull(match(toString(properties.a), '.*'), 0)"),
@@ -438,6 +454,35 @@ class TestProperty(BaseTest):
)
self.assertIs(1, a.exprs[1].args[1].value)
+ def test_property_to_expr_event_list_starts_with_ends_with(self):
+ # positive operators combine multiple values with OR
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": ["b", "c"], "operator": "starts_with"}),
+ self._parse_expr("toString(properties.a) ilike 'b%' or toString(properties.a) ilike 'c%'"),
+ )
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": ["b", "c"], "operator": "ends_with"}),
+ self._parse_expr("toString(properties.a) ilike '%b' or toString(properties.a) ilike '%c'"),
+ )
+ # negative operators combine multiple values with AND
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": ["b", "c"], "operator": "not_starts_with"}),
+ self._parse_expr("toString(properties.a) not ilike 'b%' and toString(properties.a) not ilike 'c%'"),
+ )
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": ["b", "c"], "operator": "not_ends_with"}),
+ self._parse_expr("toString(properties.a) not ilike '%b' and toString(properties.a) not ilike '%c'"),
+ )
+ # a single-element list unwraps to a plain ILIKE, not a one-branch OR/AND
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": ["single"], "operator": "starts_with"}),
+ self._parse_expr("toString(properties.a) ilike 'single%'"),
+ )
+ self.assertEqual(
+ self._property_to_expr({"type": "event", "key": "a", "value": ["single"], "operator": "not_ends_with"}),
+ self._parse_expr("toString(properties.a) not ilike '%single'"),
+ )
+
def test_property_to_expr_feature(self):
self.assertEqual(
self._property_to_expr({"type": "event", "key": "a", "value": "b", "operator": "exact"}),
diff --git a/posthog/hogql_queries/sessions_query_runner.py b/posthog/hogql_queries/sessions_query_runner.py
index 8f4574d14f24..61bfbe475cac 100644
--- a/posthog/hogql_queries/sessions_query_runner.py
+++ b/posthog/hogql_queries/sessions_query_runner.py
@@ -26,6 +26,7 @@ from posthog.models import Person
from posthog.models.person.person import MAX_LIMIT_DISTINCT_IDS, get_distinct_ids_for_subquery
from posthog.models.person.util import get_person_by_pk_or_uuid
from posthog.models.property import Property
+from posthog.models.property.property import STRING_PREFIX_SUFFIX_OPERATORS
from posthog.personhog_client.caller_tag import personhog_caller_tag
from posthog.utils import relative_date_parse
@@ -47,6 +48,7 @@ SUPPORTED_PERSON_PROPERTY_OPERATORS = frozenset(
"gte",
"lte",
}
+ | set(STRING_PREFIX_SUFFIX_OPERATORS)
)
@@ -246,6 +248,18 @@ class SessionsQueryRunner(AnalyticsQueryRunner[SessionsQueryResponse]):
left=field,
right=ast.Constant(value=f"%{value}%"),
)
+ elif operator in ("starts_with", "not_starts_with"):
+ return ast.CompareOperation(
+ op=ast.CompareOperationOp.ILike if operator == "starts_with" else ast.CompareOperationOp.NotILike,
+ left=field,
+ right=ast.Constant(value=f"{value}%"),
+ )
+ elif operator in ("ends_with", "not_ends_with"):
+ return ast.CompareOperation(
+ op=ast.CompareOperationOp.ILike if operator == "ends_with" else ast.CompareOperationOp.NotILike,
+ left=field,
+ right=ast.Constant(value=f"%{value}"),
+ )
elif operator == "regex":
return ast.Call(name="match", args=[field, ast.Constant(value=value)])
elif operator == "not_regex":
diff --git a/posthog/hogql_queries/test/test_sessions_query_runner.py b/posthog/hogql_queries/test/test_sessions_query_runner.py
index f7f6ba2a4b28..d809908f0c7b 100644
--- a/posthog/hogql_queries/test/test_sessions_query_runner.py
+++ b/posthog/hogql_queries/test/test_sessions_query_runner.py
@@ -1019,6 +1019,14 @@ class TestSessionsQueryRunner(ClickhouseTestMixin, APIBaseTest):
("icontains_no_match", "icontains", "nobody", False),
("not_icontains_match", "not_icontains", "nobody", True),
("not_icontains_no_match", "not_icontains", "user1", False),
+ ("starts_with_match", "starts_with", "user1", True),
+ ("starts_with_no_match", "starts_with", "posthog", False),
+ ("not_starts_with_match", "not_starts_with", "posthog", True),
+ ("not_starts_with_no_match", "not_starts_with", "user1", False),
+ ("ends_with_match", "ends_with", "posthog.com", True),
+ ("ends_with_no_match", "ends_with", "user1", False),
+ ("not_ends_with_match", "not_ends_with", "user1", True),
+ ("not_ends_with_no_match", "not_ends_with", "posthog.com", False),
("regex_match", "regex", r"user\d+@posthog\.com", True),
("regex_no_match", "regex", r"admin@.*", False),
("not_regex_match", "not_regex", r"admin@.*", True),
@@ -1116,6 +1124,10 @@ class TestSessionsQueryRunner(ClickhouseTestMixin, APIBaseTest):
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"is_set",
diff --git a/posthog/hogql_queries/utils/dashboard_filter_conflicts.py b/posthog/hogql_queries/utils/dashboard_filter_conflicts.py
index bc327f28581d..27565689cb86 100644
--- a/posthog/hogql_queries/utils/dashboard_filter_conflicts.py
+++ b/posthog/hogql_queries/utils/dashboard_filter_conflicts.py
@@ -9,6 +9,8 @@ _NEGATIVE_EXACT_OPERATORS = {PropertyOperator.IS_NOT, PropertyOperator.NOT_IN}
# values there, so they are compatible with is_not_set and must not be listed here.
_MATCHES_ONLY_SET_VALUES = _POSITIVE_EXACT_OPERATORS | {
PropertyOperator.ICONTAINS,
+ PropertyOperator.STARTS_WITH,
+ PropertyOperator.ENDS_WITH,
PropertyOperator.REGEX,
PropertyOperator.IS_SET,
}
@@ -65,6 +67,16 @@ def _contradicts_one_way(
positive_needles = [v.casefold() for v in values_a]
negative_needles = [v.casefold() for v in values_b]
return all(any(negative in positive for negative in negative_needles) for positive in positive_needles)
+ if (op_a, op_b) in (
+ (PropertyOperator.STARTS_WITH, PropertyOperator.NOT_STARTS_WITH),
+ (PropertyOperator.ENDS_WITH, PropertyOperator.NOT_ENDS_WITH),
+ ):
+ # Same shape as icontains: unsatisfiable when every positive prefix/suffix is itself
+ # anchored by an excluded one (e.g. starts_with "/docs/api" vs not_starts_with "/docs").
+ anchored = str.startswith if op_a == PropertyOperator.STARTS_WITH else str.endswith
+ positive_anchors = [v.casefold() for v in values_a]
+ negative_anchors = [v.casefold() for v in values_b]
+ return all(any(anchored(positive, negative) for negative in negative_anchors) for positive in positive_anchors)
if op_a == PropertyOperator.REGEX and op_b == PropertyOperator.NOT_REGEX:
return len(values_a) == 1 and len(values_b) == 1 and values_a[0] == values_b[0]
return False
diff --git a/posthog/hogql_queries/utils/test/test_dashboard_filter_conflicts.py b/posthog/hogql_queries/utils/test/test_dashboard_filter_conflicts.py
index 441b701223e2..1167ddbaaf48 100644
--- a/posthog/hogql_queries/utils/test/test_dashboard_filter_conflicts.py
+++ b/posthog/hogql_queries/utils/test/test_dashboard_filter_conflicts.py
@@ -87,6 +87,18 @@ class TestFiltersContradict(SimpleTestCase):
{"key": "k", "type": "event", "operator": "not_regex", "value": ["^a$"]},
True,
),
+ (
+ "starts_with contradicts not_starts_with that excludes its prefix",
+ {"key": "k", "type": "event", "operator": "starts_with", "value": ["/docs/api"]},
+ {"key": "k", "type": "event", "operator": "not_starts_with", "value": ["/Docs"]},
+ True,
+ ),
+ (
+ "ends_with does not contradict not_ends_with with an unrelated suffix",
+ {"key": "k", "type": "event", "operator": "ends_with", "value": ["@posthog.com"]},
+ {"key": "k", "type": "event", "operator": "not_ends_with", "value": ["@gmail.com"]},
+ False,
+ ),
(
"boolean and its lowercase string form are the same value",
{"key": "k", "type": "event", "operator": "exact", "value": [True]},
diff --git a/posthog/models/property/property.py b/posthog/models/property/property.py
index 8b2977744d6c..02af33ba9bbe 100644
--- a/posthog/models/property/property.py
+++ b/posthog/models/property/property.py
@@ -62,6 +62,10 @@ OperatorType = Literal[
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -81,7 +85,10 @@ OperatorInterval = Literal["day", "week", "month", "year"]
GroupTypeName = str
PropertyIdentifier = tuple[PropertyName, PropertyType, Optional[GroupTypeIndex]]
-NEGATED_OPERATORS = ["is_not", "not_icontains", "not_regex", "is_not_set"]
+NEGATED_OPERATORS = ["is_not", "not_icontains", "not_starts_with", "not_ends_with", "not_regex", "is_not_set"]
+# Single source of truth for the starts_with/ends_with operator family, so each backend
+# allowlist (feature flags, logs, tracing, sessions) stays in sync without hand-copying.
+STRING_PREFIX_SUFFIX_OPERATORS: tuple[str, ...] = ("starts_with", "not_starts_with", "ends_with", "not_ends_with")
CLICKHOUSE_ONLY_PROPERTY_TYPES = [
"static-cohort",
"dynamic-cohort",
diff --git a/posthog/models/property/util.py b/posthog/models/property/util.py
index 06bc0fcf01e0..82fa42383f07 100644
--- a/posthog/models/property/util.py
+++ b/posthog/models/property/util.py
@@ -364,6 +364,10 @@ def negate_operator(operator: OperatorType) -> OperatorType:
"exact": "is_not",
"icontains": "not_icontains",
"not_icontains": "icontains",
+ "starts_with": "not_starts_with",
+ "not_starts_with": "starts_with",
+ "ends_with": "not_ends_with",
+ "not_ends_with": "ends_with",
"regex": "not_regex",
"not_regex": "regex",
"gt": "lte",
@@ -472,6 +476,20 @@ def prop_filter_json_extract(
),
params,
)
+ elif operator in ("starts_with", "not_starts_with", "ends_with", "not_ends_with"):
+ value = f"{prop.value}%" if operator in ("starts_with", "not_starts_with") else f"%{prop.value}"
+ params = {
+ "k{}_{}".format(prepend, idx): prop.key,
+ "v{}_{}".format(prepend, idx): value,
+ }
+ ilike = "{left} ILIKE %(v{prepend}_{idx})s".format(idx=idx, prepend=prepend, left=property_expr)
+ return (
+ " {property_operator} {condition}".format(
+ property_operator=property_operator,
+ condition=f"NOT ({ilike})" if operator.startswith("not_") else ilike,
+ ),
+ params,
+ )
elif operator in ("regex", "not_regex"):
if not is_valid_regex(str(prop.value)):
# If OR'ing, shouldn't be a problem since nothing will match this specific clause
@@ -876,6 +894,12 @@ def _build_group_key_filter(
elif operator == "not_icontains":
filter_query = f"{property_operator} NOT (group_key ILIKE %({param_key})s)"
param_value = f"%{prop.value}%"
+ elif operator in ("starts_with", "ends_with"):
+ filter_query = f"{property_operator} group_key ILIKE %({param_key})s"
+ param_value = f"{prop.value}%" if operator == "starts_with" else f"%{prop.value}"
+ elif operator in ("not_starts_with", "not_ends_with"):
+ filter_query = f"{property_operator} NOT (group_key ILIKE %({param_key})s)"
+ param_value = f"{prop.value}%" if operator == "not_starts_with" else f"%{prop.value}"
elif operator in ("regex", "not_regex"):
regex_func = "match" if operator == "regex" else "NOT match"
filter_query = f"{property_operator} {regex_func}(group_key, %({param_key})s)"
diff --git a/posthog/schema_enums.py b/posthog/schema_enums.py
index 704f5a18e72c..2d250422f61c 100644
--- a/posthog/schema_enums.py
+++ b/posthog/schema_enums.py
@@ -3515,6 +3515,10 @@ class PropertyOperator(StrEnum):
IS_NOT = "is_not"
ICONTAINS = "icontains"
NOT_ICONTAINS = "not_icontains"
+ STARTS_WITH = "starts_with"
+ NOT_STARTS_WITH = "not_starts_with"
+ ENDS_WITH = "ends_with"
+ NOT_ENDS_WITH = "not_ends_with"
REGEX = "regex"
NOT_REGEX = "not_regex"
GT = "gt"
diff --git a/posthog/session_recordings/queries/sub_queries/events_subquery.py b/posthog/session_recordings/queries/sub_queries/events_subquery.py
index 1227a987d8b9..b7466b622572 100644
--- a/posthog/session_recordings/queries/sub_queries/events_subquery.py
+++ b/posthog/session_recordings/queries/sub_queries/events_subquery.py
@@ -178,6 +178,8 @@ class ReplayFiltersEventsSubQuery(SessionRecordingsListingBaseQuery):
PropertyOperator.IS_NOT,
PropertyOperator.NOT_REGEX,
PropertyOperator.NOT_ICONTAINS,
+ PropertyOperator.NOT_STARTS_WITH,
+ PropertyOperator.NOT_ENDS_WITH,
PropertyOperator.NOT_IN, # Cohort negation (e.g., user not in cohort X)
]
for prop in person_properties:
@@ -333,6 +335,10 @@ class ReplayFiltersEventsSubQuery(SessionRecordingsListingBaseQuery):
if hasattr(prop, "operator") and prop.operator in [
PropertyOperator.ICONTAINS,
PropertyOperator.NOT_ICONTAINS,
+ PropertyOperator.STARTS_WITH,
+ PropertyOperator.NOT_STARTS_WITH,
+ PropertyOperator.ENDS_WITH,
+ PropertyOperator.NOT_ENDS_WITH,
PropertyOperator.REGEX,
PropertyOperator.NOT_REGEX,
PropertyOperator.IS_SET,
diff --git a/posthog/session_recordings/queries/utils.py b/posthog/session_recordings/queries/utils.py
index 42230e243ff3..ba944c73ca38 100644
--- a/posthog/session_recordings/queries/utils.py
+++ b/posthog/session_recordings/queries/utils.py
@@ -49,6 +49,8 @@ NEGATIVE_OPERATORS = [
PropertyOperator.IS_NOT,
PropertyOperator.NOT_REGEX,
PropertyOperator.NOT_ICONTAINS,
+ PropertyOperator.NOT_STARTS_WITH,
+ PropertyOperator.NOT_ENDS_WITH,
# PropertyOperator.NOT_BETWEEN, # in the schema but not used anywhere
# PropertyOperator.NOT_IN, # COHORT operator we don't need to handle it explicitly
]
@@ -59,6 +61,8 @@ INVERSE_OPERATOR_FOR = {
PropertyOperator.NOT_IN: PropertyOperator.IN_,
PropertyOperator.NOT_REGEX: PropertyOperator.REGEX,
PropertyOperator.NOT_ICONTAINS: PropertyOperator.ICONTAINS,
+ PropertyOperator.NOT_STARTS_WITH: PropertyOperator.STARTS_WITH,
+ PropertyOperator.NOT_ENDS_WITH: PropertyOperator.ENDS_WITH,
PropertyOperator.NOT_BETWEEN: PropertyOperator.BETWEEN,
}
diff --git a/posthog/settings/web.py b/posthog/settings/web.py
index 2922af29a266..d1d673bbaa1d 100644
--- a/posthog/settings/web.py
+++ b/posthog/settings/web.py
@@ -821,7 +821,20 @@ SPECTACULAR_SETTINGS = {
"DescriptionContentTypeEnum": ["text", "html"],
# Field-name collisions: multiple different choice sets use the same field name
# across different serializer components.
- "StringMatchOperatorEnum": ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex"],
+ "StringMatchOperatorEnum": [
+ "exact",
+ "is_not",
+ "icontains",
+ "not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
+ "regex",
+ "not_regex",
+ ],
+ # Survey url/device match types keep the operator subset without starts_with/ends_with.
+ "SurveyMatchTypeEnum": ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex"],
"DateOperatorEnum": ["is_date_exact", "is_date_before", "is_date_after"],
"DetailModeValueEnum": ["minimal", "detailed"],
"LogsAlertConfigurationStateEnum": "products.logs.backend.models.LogsAlertConfiguration.State",
diff --git a/products/actions/frontend/generated/api.schemas.ts b/products/actions/frontend/generated/api.schemas.ts
index 4ad6ba36b811..f001723aa780 100644
--- a/products/actions/frontend/generated/api.schemas.ts
+++ b/products/actions/frontend/generated/api.schemas.ts
@@ -79,6 +79,10 @@ export const PropertyFilterTypeEnumApi = {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
*/
@@ -89,6 +93,10 @@ export const StringMatchOperatorEnumApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
} as const
@@ -140,6 +148,10 @@ export interface StringPropertyFilterApi {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex */
operator?: StringMatchOperatorEnumApi
diff --git a/products/actions/frontend/generated/api.zod.ts b/products/actions/frontend/generated/api.zod.ts
index ced075444274..a57c43fff8ef 100644
--- a/products/actions/frontend/generated/api.zod.ts
+++ b/products/actions/frontend/generated/api.zod.ts
@@ -105,15 +105,19 @@ export const ActionsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
)
.default(actionsCreateBodyStepsItemPropertiesItemOneOperatorDefault)
.describe(
- 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
),
})
.describe('Matches string values with text-oriented operators.'),
@@ -524,15 +528,19 @@ export const ActionsUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
)
.default(actionsUpdateBodyStepsItemPropertiesItemOneOperatorDefault)
.describe(
- 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
),
})
.describe('Matches string values with text-oriented operators.'),
@@ -943,15 +951,19 @@ export const ActionsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
)
.default(actionsPartialUpdateBodyStepsItemPropertiesItemOneOperatorDefault)
.describe(
- 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
),
})
.describe('Matches string values with text-oriented operators.'),
diff --git a/products/dashboards/frontend/generated/api.schemas.ts b/products/dashboards/frontend/generated/api.schemas.ts
index 4adb3b65a6c5..296b5b144d5f 100644
--- a/products/dashboards/frontend/generated/api.schemas.ts
+++ b/products/dashboards/frontend/generated/api.schemas.ts
@@ -460,6 +460,10 @@ export const PropertyOperatorApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
diff --git a/products/dashboards/frontend/generated/api.zod.ts b/products/dashboards/frontend/generated/api.zod.ts
index 3ca3d3e54e48..bc52d603b05d 100644
--- a/products/dashboards/frontend/generated/api.zod.ts
+++ b/products/dashboards/frontend/generated/api.zod.ts
@@ -370,6 +370,10 @@ export const DashboardsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -449,6 +453,10 @@ export const DashboardsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -558,6 +566,10 @@ export const DashboardsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -681,6 +693,10 @@ export const DashboardsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1255,6 +1271,10 @@ export const DashboardsWidgetsBatchCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1330,6 +1350,10 @@ export const DashboardsWidgetsBatchCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1498,6 +1522,10 @@ export const DashboardsWidgetsBatchCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1667,6 +1695,10 @@ export const DashboardsWidgetsBatchCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2253,6 +2285,10 @@ export const DashboardsUpdateWidgetsBatchBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2328,6 +2364,10 @@ export const DashboardsUpdateWidgetsBatchBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2455,6 +2495,10 @@ export const DashboardsUpdateWidgetsBatchBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2583,6 +2627,10 @@ export const DashboardsUpdateWidgetsBatchBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
diff --git a/products/dashboards/frontend/generated/widget-config-property-keys.json b/products/dashboards/frontend/generated/widget-config-property-keys.json
index 8abbe99e49b7..a3f0ae334cae 100644
--- a/products/dashboards/frontend/generated/widget-config-property-keys.json
+++ b/products/dashboards/frontend/generated/widget-config-property-keys.json
@@ -66,6 +66,7 @@
"operator": {
"$enum": [
"between",
+ "ends_with",
"exact",
"flag_evaluates_to",
"gt",
@@ -85,10 +86,12 @@
"max",
"min",
"not_between",
+ "not_ends_with",
"not_icontains",
"not_icontains_multi",
"not_in",
"not_regex",
+ "not_starts_with",
"regex",
"semver_caret",
"semver_eq",
@@ -98,7 +101,8 @@
"semver_lte",
"semver_neq",
"semver_tilde",
- "semver_wildcard"
+ "semver_wildcard",
+ "starts_with"
]
},
"value": {
@@ -123,6 +127,7 @@
"operator": {
"$enum": [
"between",
+ "ends_with",
"exact",
"flag_evaluates_to",
"gt",
@@ -142,10 +147,12 @@
"max",
"min",
"not_between",
+ "not_ends_with",
"not_icontains",
"not_icontains_multi",
"not_in",
"not_regex",
+ "not_starts_with",
"regex",
"semver_caret",
"semver_eq",
@@ -155,7 +162,8 @@
"semver_lte",
"semver_neq",
"semver_tilde",
- "semver_wildcard"
+ "semver_wildcard",
+ "starts_with"
]
},
"type": {
@@ -190,6 +198,7 @@
"operator": {
"$enum": [
"between",
+ "ends_with",
"exact",
"flag_evaluates_to",
"gt",
@@ -209,10 +218,12 @@
"max",
"min",
"not_between",
+ "not_ends_with",
"not_icontains",
"not_icontains_multi",
"not_in",
"not_regex",
+ "not_starts_with",
"regex",
"semver_caret",
"semver_eq",
@@ -222,7 +233,8 @@
"semver_lte",
"semver_neq",
"semver_tilde",
- "semver_wildcard"
+ "semver_wildcard",
+ "starts_with"
]
},
"value": {
@@ -274,6 +286,7 @@
"operator": {
"$enum": [
"between",
+ "ends_with",
"exact",
"flag_evaluates_to",
"gt",
@@ -293,10 +306,12 @@
"max",
"min",
"not_between",
+ "not_ends_with",
"not_icontains",
"not_icontains_multi",
"not_in",
"not_regex",
+ "not_starts_with",
"regex",
"semver_caret",
"semver_eq",
@@ -306,7 +321,8 @@
"semver_lte",
"semver_neq",
"semver_tilde",
- "semver_wildcard"
+ "semver_wildcard",
+ "starts_with"
]
},
"value": {
diff --git a/products/dashboards/frontend/generated/widget-config-schemas/propertyOperator.zod.ts b/products/dashboards/frontend/generated/widget-config-schemas/propertyOperator.zod.ts
index 327cbbe77038..58ee887edc50 100644
--- a/products/dashboards/frontend/generated/widget-config-schemas/propertyOperator.zod.ts
+++ b/products/dashboards/frontend/generated/widget-config-schemas/propertyOperator.zod.ts
@@ -11,6 +11,10 @@ export const PropertyOperator = /* @__PURE__ */ zod.enum([
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
diff --git a/products/dashboards/frontend/widgets/activity/editActivityEventsWidgetModalLogic.ts b/products/dashboards/frontend/widgets/activity/editActivityEventsWidgetModalLogic.ts
index c8f22d50c025..e56e4a024ceb 100644
--- a/products/dashboards/frontend/widgets/activity/editActivityEventsWidgetModalLogic.ts
+++ b/products/dashboards/frontend/widgets/activity/editActivityEventsWidgetModalLogic.ts
@@ -69,6 +69,7 @@ export interface editActivityEventsWidgetModalLogicValues {
label?: string | null | undefined
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -88,10 +89,12 @@ export interface editActivityEventsWidgetModalLogicValues {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -102,6 +105,7 @@ export interface editActivityEventsWidgetModalLogicValues {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
type: 'event' | 'person'
value?: boolean | number | string | (boolean | number | string)[] | null | undefined
}[]
@@ -114,6 +118,7 @@ export interface editActivityEventsWidgetModalLogicValues {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -133,10 +138,12 @@ export interface editActivityEventsWidgetModalLogicValues {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -147,6 +154,7 @@ export interface editActivityEventsWidgetModalLogicValues {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -227,6 +235,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
label?: string | null | undefined
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -246,10 +255,12 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -260,6 +271,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
type: 'event' | 'person'
value?: boolean | number | string | (boolean | number | string)[] | null | undefined
}[]
@@ -272,6 +284,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -291,10 +304,12 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -305,6 +320,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -346,6 +362,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
label?: string | null | undefined
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -365,10 +382,12 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -379,6 +398,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
type: 'event' | 'person'
value?: boolean | number | string | (boolean | number | string)[] | null | undefined
}[]
@@ -391,6 +411,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -410,10 +431,12 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -424,6 +447,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -464,6 +488,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
label?: string | null | undefined
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -483,10 +508,12 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -497,6 +524,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
type: 'event' | 'person'
value?: boolean | number | string | (boolean | number | string)[] | null | undefined
}[]
@@ -509,6 +537,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -528,10 +557,12 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -542,6 +573,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -589,6 +621,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
label?: string | null | undefined
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -608,10 +641,12 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -622,6 +657,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
type: 'event' | 'person'
value?: boolean | number | string | (boolean | number | string)[] | null | undefined
}[]
@@ -634,6 +670,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -653,10 +690,12 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -667,6 +706,7 @@ export interface editActivityEventsWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -823,6 +863,7 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
label?: string | null | undefined
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -842,10 +883,12 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -856,6 +899,7 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
type: 'event' | 'person'
value?:
| boolean
@@ -874,6 +918,7 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -893,10 +938,12 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -907,6 +954,7 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -962,6 +1010,7 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
label?: string | null | undefined
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -981,10 +1030,12 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -995,6 +1046,7 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
type: 'event' | 'person'
value?:
| boolean
@@ -1013,6 +1065,7 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -1032,10 +1085,12 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -1046,6 +1101,7 @@ export const editActivityEventsWidgetModalLogic = kea<editActivityEventsWidgetMo
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
diff --git a/products/dashboards/frontend/widgets/error_tracking/editErrorTrackingWidgetModalLogic.ts b/products/dashboards/frontend/widgets/error_tracking/editErrorTrackingWidgetModalLogic.ts
index 986fae92a041..9d8544c492b3 100644
--- a/products/dashboards/frontend/widgets/error_tracking/editErrorTrackingWidgetModalLogic.ts
+++ b/products/dashboards/frontend/widgets/error_tracking/editErrorTrackingWidgetModalLogic.ts
@@ -92,6 +92,7 @@ export interface editErrorTrackingWidgetModalLogicValues {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -111,10 +112,12 @@ export interface editErrorTrackingWidgetModalLogicValues {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -125,6 +128,7 @@ export interface editErrorTrackingWidgetModalLogicValues {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -225,6 +229,7 @@ export interface editErrorTrackingWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -244,10 +249,12 @@ export interface editErrorTrackingWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -258,6 +265,7 @@ export interface editErrorTrackingWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -314,6 +322,7 @@ export interface editErrorTrackingWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -333,10 +342,12 @@ export interface editErrorTrackingWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -347,6 +358,7 @@ export interface editErrorTrackingWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -397,6 +409,7 @@ export interface editErrorTrackingWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -416,10 +429,12 @@ export interface editErrorTrackingWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -430,6 +445,7 @@ export interface editErrorTrackingWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -494,6 +510,7 @@ export interface editErrorTrackingWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -513,10 +530,12 @@ export interface editErrorTrackingWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -527,6 +546,7 @@ export interface editErrorTrackingWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -749,6 +769,7 @@ export const editErrorTrackingWidgetModalLogic = kea<editErrorTrackingWidgetModa
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -768,10 +789,12 @@ export const editErrorTrackingWidgetModalLogic = kea<editErrorTrackingWidgetModa
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -782,6 +805,7 @@ export const editErrorTrackingWidgetModalLogic = kea<editErrorTrackingWidgetModa
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -857,6 +881,7 @@ export const editErrorTrackingWidgetModalLogic = kea<editErrorTrackingWidgetModa
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -876,10 +901,12 @@ export const editErrorTrackingWidgetModalLogic = kea<editErrorTrackingWidgetModa
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -890,6 +917,7 @@ export const editErrorTrackingWidgetModalLogic = kea<editErrorTrackingWidgetModa
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
diff --git a/products/dashboards/frontend/widgets/session_replay/editSessionReplayWidgetModalLogic.ts b/products/dashboards/frontend/widgets/session_replay/editSessionReplayWidgetModalLogic.ts
index 41ff73f538a8..1b04a8d1ea5f 100644
--- a/products/dashboards/frontend/widgets/session_replay/editSessionReplayWidgetModalLogic.ts
+++ b/products/dashboards/frontend/widgets/session_replay/editSessionReplayWidgetModalLogic.ts
@@ -83,6 +83,7 @@ export interface editSessionReplayWidgetModalLogicValues {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -102,10 +103,12 @@ export interface editSessionReplayWidgetModalLogicValues {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -116,6 +119,7 @@ export interface editSessionReplayWidgetModalLogicValues {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -222,6 +226,7 @@ export interface editSessionReplayWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -241,10 +246,12 @@ export interface editSessionReplayWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -255,6 +262,7 @@ export interface editSessionReplayWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -308,6 +316,7 @@ export interface editSessionReplayWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -327,10 +336,12 @@ export interface editSessionReplayWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -341,6 +352,7 @@ export interface editSessionReplayWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -391,6 +403,7 @@ export interface editSessionReplayWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -410,10 +423,12 @@ export interface editSessionReplayWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -424,6 +439,7 @@ export interface editSessionReplayWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -485,6 +501,7 @@ export interface editSessionReplayWidgetModalLogicMeta {
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -504,10 +521,12 @@ export interface editSessionReplayWidgetModalLogicMeta {
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -518,6 +537,7 @@ export interface editSessionReplayWidgetModalLogicMeta {
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -720,6 +740,7 @@ export const editSessionReplayWidgetModalLogic = kea<editSessionReplayWidgetModa
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -739,10 +760,12 @@ export const editSessionReplayWidgetModalLogic = kea<editSessionReplayWidgetModa
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -753,6 +776,7 @@ export const editSessionReplayWidgetModalLogic = kea<editSessionReplayWidgetModa
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
@@ -823,6 +847,7 @@ export const editSessionReplayWidgetModalLogic = kea<editSessionReplayWidgetModa
filterId: string
operator:
| 'between'
+ | 'ends_with'
| 'exact'
| 'flag_evaluates_to'
| 'gt'
@@ -842,10 +867,12 @@ export const editSessionReplayWidgetModalLogic = kea<editSessionReplayWidgetModa
| 'max'
| 'min'
| 'not_between'
+ | 'not_ends_with'
| 'not_icontains'
| 'not_icontains_multi'
| 'not_in'
| 'not_regex'
+ | 'not_starts_with'
| 'regex'
| 'semver_caret'
| 'semver_eq'
@@ -856,6 +883,7 @@ export const editSessionReplayWidgetModalLogic = kea<editSessionReplayWidgetModa
| 'semver_neq'
| 'semver_tilde'
| 'semver_wildcard'
+ | 'starts_with'
optionId: string
propertyName: string
value?: string | string[] | null | undefined
diff --git a/products/endpoints/backend/openapi.py b/products/endpoints/backend/openapi.py
index 2ace1f9e5b87..f93378463772 100644
--- a/products/endpoints/backend/openapi.py
+++ b/products/endpoints/backend/openapi.py
@@ -235,6 +235,10 @@ def _build_component_schemas(endpoint: Endpoint, version: EndpointVersion, team_
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/products/endpoints/frontend/generated/api.schemas.ts b/products/endpoints/frontend/generated/api.schemas.ts
index b57a3fdfc3b5..3284a42d6f17 100644
--- a/products/endpoints/frontend/generated/api.schemas.ts
+++ b/products/endpoints/frontend/generated/api.schemas.ts
@@ -595,6 +595,10 @@ export const PropertyOperatorApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
diff --git a/products/error_tracking/backend/hogql_queries/error_tracking_query_builder.py b/products/error_tracking/backend/hogql_queries/error_tracking_query_builder.py
index 847fbf8c1eb8..4e2c27d4c50a 100644
--- a/products/error_tracking/backend/hogql_queries/error_tracking_query_builder.py
+++ b/products/error_tracking/backend/hogql_queries/error_tracking_query_builder.py
@@ -850,6 +850,20 @@ class ErrorTrackingQueryBuilder:
op=ast.CompareOperationOp.NotILike, left=field, right=ast.Constant(value=f"%{value}%")
)
+ if operator in (
+ PropertyOperator.STARTS_WITH,
+ PropertyOperator.NOT_STARTS_WITH,
+ PropertyOperator.ENDS_WITH,
+ PropertyOperator.NOT_ENDS_WITH,
+ ):
+ prefix_match = operator in (PropertyOperator.STARTS_WITH, PropertyOperator.NOT_STARTS_WITH)
+ negated = operator in (PropertyOperator.NOT_STARTS_WITH, PropertyOperator.NOT_ENDS_WITH)
+ return ast.CompareOperation(
+ op=ast.CompareOperationOp.NotILike if negated else ast.CompareOperationOp.ILike,
+ left=field,
+ right=ast.Constant(value=f"{value}%" if prefix_match else f"%{value}"),
+ )
+
if operator in (PropertyOperator.GT, PropertyOperator.IS_DATE_AFTER):
return ast.CompareOperation(op=ast.CompareOperationOp.Gt, left=field, right=make_value(value))
diff --git a/products/error_tracking/frontend/generated/api.schemas.ts b/products/error_tracking/frontend/generated/api.schemas.ts
index c4cb59c4e04f..255ff2210723 100644
--- a/products/error_tracking/frontend/generated/api.schemas.ts
+++ b/products/error_tracking/frontend/generated/api.schemas.ts
@@ -49,6 +49,10 @@ export const PropertyOperatorApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -914,6 +918,10 @@ export interface ErrorTrackingIssueDetailApi {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -935,6 +943,10 @@ export const PropertyItemOperatorEnumApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
diff --git a/products/error_tracking/frontend/generated/api.zod.ts b/products/error_tracking/frontend/generated/api.zod.ts
index 67e68d6f4a11..2ade6536c597 100644
--- a/products/error_tracking/frontend/generated/api.zod.ts
+++ b/products/error_tracking/frontend/generated/api.zod.ts
@@ -530,6 +530,10 @@ export const ErrorTrackingQueryIssueEventsCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -545,7 +549,7 @@ export const ErrorTrackingQueryIssueEventsCreateBody = /* @__PURE__ */ zod.objec
'not_in',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
),
zod.enum(['']),
zod.null(),
@@ -743,6 +747,10 @@ export const ErrorTrackingQueryIssuesListCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -758,7 +766,7 @@ export const ErrorTrackingQueryIssuesListCreateBody = /* @__PURE__ */ zod.object
'not_in',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
),
zod.enum(['']),
zod.null(),
diff --git a/products/experiments/frontend/generated/api.schemas.ts b/products/experiments/frontend/generated/api.schemas.ts
index 587cd356b435..b5f026b6dcfe 100644
--- a/products/experiments/frontend/generated/api.schemas.ts
+++ b/products/experiments/frontend/generated/api.schemas.ts
@@ -25,6 +25,10 @@ export const PropertyGroupTypeEnumApi = {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -40,6 +44,10 @@ export const FeatureFlagFilterPropertyGenericSchemaOperatorEnumApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -75,6 +83,10 @@ export interface FeatureFlagFilterPropertyGenericSchemaApi {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -918,6 +930,10 @@ export const PropertyOperatorApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
diff --git a/products/experiments/frontend/generated/api.zod.ts b/products/experiments/frontend/generated/api.zod.ts
index c6cc6ff30e93..0a37f125d319 100644
--- a/products/experiments/frontend/generated/api.zod.ts
+++ b/products/experiments/frontend/generated/api.zod.ts
@@ -58,6 +58,10 @@ export const ExperimentHoldoutsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -66,10 +70,10 @@ export const ExperimentHoldoutsCreateBody = /* @__PURE__ */ zod
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -316,6 +320,10 @@ export const ExperimentHoldoutsUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -324,10 +332,10 @@ export const ExperimentHoldoutsUpdateBody = /* @__PURE__ */ zod
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -575,6 +583,10 @@ export const ExperimentHoldoutsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -583,10 +595,10 @@ export const ExperimentHoldoutsPartialUpdateBody = /* @__PURE__ */ zod
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
diff --git a/products/feature_flags/backend/api/feature_flag.py b/products/feature_flags/backend/api/feature_flag.py
index 89c08b1c9026..87d572bd3ec5 100644
--- a/products/feature_flags/backend/api/feature_flag.py
+++ b/products/feature_flags/backend/api/feature_flag.py
@@ -62,6 +62,7 @@ from posthog.models.person.point_in_time_properties import (
get_person_and_distinct_ids_for_identifier,
)
from posthog.models.property import Property
+from posthog.models.property.property import STRING_PREFIX_SUFFIX_OPERATORS
from posthog.permissions import TeamSecretTokenPermission, get_authenticator_scopes, is_service_auth
from posthog.ph_client import feature_enabled_or_false
from posthog.queries.base import determine_parsed_date_for_property_matching
@@ -383,6 +384,7 @@ FEATURE_FLAG_SUPPORTED_OPERATORS: frozenset[str | None] = frozenset(
"not_in",
"flag_evaluates_to",
}
+ | set(STRING_PREFIX_SUFFIX_OPERATORS)
)
FEATURE_FLAG_OPERATOR_ALIASES: dict[str, str] = {
@@ -1509,12 +1511,16 @@ class FeatureFlagSerializer(
code="invalid_date",
)
- # make sure regex, icontains, gte, lte, lt, and gt properties have string values
+ # make sure regex, icontains, starts/ends_with, gte, lte, lt, and gt properties have string values
if prop.operator in [
"regex",
"icontains",
"not_regex",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"gte",
"lte",
"gt",
diff --git a/products/feature_flags/backend/api/test/test_feature_flag.py b/products/feature_flags/backend/api/test/test_feature_flag.py
index 150eddc5345d..3fd7e9b2ddce 100644
--- a/products/feature_flags/backend/api/test/test_feature_flag.py
+++ b/products/feature_flags/backend/api/test/test_feature_flag.py
@@ -9882,6 +9882,10 @@ class TestBlastRadius(ClickhouseTestMixin, APIBaseTest):
("regex", "^org-(prod|staging)-\\d+$", "regex", 2, 3),
("not_regex", "^org-(prod|staging)-\\d+$", "not_regex", 1, 3),
("not_icontains", "ORG", "not_icontains", 1, 3),
+ ("starts_with", "org-", "starts_with", 2, 3),
+ ("not_starts_with", "org-", "not_starts_with", 1, 3),
+ ("ends_with", "001", "ends_with", 1, 3),
+ ("not_ends_with", "001", "not_ends_with", 2, 3),
]
)
def test_user_blast_radius_with_group_key_operators(
@@ -10295,6 +10299,48 @@ class TestBlastRadius(ClickhouseTestMixin, APIBaseTest):
self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
self.assertIn("does not support list values", response.json()["detail"].lower())
+ def test_user_blast_radius_with_group_key_starts_with_list_values_raises_error(self):
+ """Test that starts_with/ends_with operators with list values raise a validation error.
+
+ The four operators share a single list-value guard in _build_group_query, so one
+ representative operator is enough to cover it.
+ """
+ create_group_type_mapping(
+ team=self.team,
+ project_id=self.team.project_id,
+ group_type="organization",
+ group_type_index=0,
+ )
+
+ create_group(
+ team_id=self.team.pk,
+ group_type_index=0,
+ group_key="org-alpha",
+ properties={},
+ )
+
+ response = self.client.post(
+ f"/api/projects/{self.team.id}/feature_flags/user_blast_radius",
+ {
+ "condition": {
+ "properties": [
+ {
+ "key": "$group_key",
+ "type": "group",
+ "value": ["alpha", "beta"], # List not supported for starts_with
+ "operator": "starts_with",
+ "group_type_index": 0,
+ }
+ ],
+ "rollout_percentage": 100,
+ },
+ "group_type_index": 0,
+ },
+ )
+
+ self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
+ self.assertIn("does not support list values", response.json()["detail"].lower())
+
def test_user_blast_radius_with_semver_operators(self):
"""Test all semver comparison operators"""
versions = [
diff --git a/products/feature_flags/backend/filters_validation.py b/products/feature_flags/backend/filters_validation.py
index 13bc57305eeb..c78d3cefeaa8 100644
--- a/products/feature_flags/backend/filters_validation.py
+++ b/products/feature_flags/backend/filters_validation.py
@@ -24,13 +24,24 @@ from rest_framework.settings import api_settings
from posthog.hogql.property import parse_semver
+from posthog.models.property.property import STRING_PREFIX_SUFFIX_OPERATORS
from posthog.queries.base import determine_parsed_date_for_property_matching
from products.feature_flags.backend.api.filters_schema import FeatureFlagFiltersSerializer
DATE_OPERATORS: frozenset[str] = frozenset({"is_date_exact", "is_date_after", "is_date_before"})
STRING_VALUE_OPERATORS: frozenset[str] = frozenset(
- {"regex", "not_regex", "icontains", "not_icontains", "gt", "gte", "lt", "lte"}
+ {
+ "regex",
+ "not_regex",
+ "icontains",
+ "not_icontains",
+ "gt",
+ "gte",
+ "lt",
+ "lte",
+ }
+ | set(STRING_PREFIX_SUFFIX_OPERATORS)
)
LIST_VALUE_OPERATORS: frozenset[str] = frozenset({"icontains_multi", "not_icontains_multi"})
SEMVER_OPERATORS: frozenset[str] = frozenset(
diff --git a/products/feature_flags/backend/test/test_filters_validation.py b/products/feature_flags/backend/test/test_filters_validation.py
index 326189787346..7a90bd5a9d34 100644
--- a/products/feature_flags/backend/test/test_filters_validation.py
+++ b/products/feature_flags/backend/test/test_filters_validation.py
@@ -182,6 +182,31 @@ class TestFiltersValidation(SimpleTestCase):
{"groups": [{"properties": [_person_prop(operator="semver_eq", value=123)]}]},
["cross_field.semver_value_invalid"],
),
+ (
+ "starts_with_string_value",
+ {"groups": [{"properties": [_person_prop(operator="starts_with", value="posthog")]}]},
+ [],
+ ),
+ (
+ "starts_with_numeric_value",
+ {"groups": [{"properties": [_person_prop(operator="starts_with", value=123)]}]},
+ ["cross_field.operator_requires_string_value"],
+ ),
+ (
+ "not_starts_with_string_value",
+ {"groups": [{"properties": [_person_prop(operator="not_starts_with", value="posthog")]}]},
+ [],
+ ),
+ (
+ "ends_with_string_value",
+ {"groups": [{"properties": [_person_prop(operator="ends_with", value=".com")]}]},
+ [],
+ ),
+ (
+ "not_ends_with_string_value",
+ {"groups": [{"properties": [_person_prop(operator="not_ends_with", value=".com")]}]},
+ [],
+ ),
]
)
def test_cross_field_rules(self, _name: str, filters: dict[str, Any], expected_rule_ids: list[str]) -> None:
diff --git a/products/feature_flags/backend/user_blast_radius.py b/products/feature_flags/backend/user_blast_radius.py
index 8674f5e158be..faf580e89968 100644
--- a/products/feature_flags/backend/user_blast_radius.py
+++ b/products/feature_flags/backend/user_blast_radius.py
@@ -391,6 +391,26 @@ def _build_group_query(
right=ast.Constant(value=f"%{value}%"),
)
)
+ elif operator in (
+ PropertyOperator.STARTS_WITH,
+ PropertyOperator.NOT_STARTS_WITH,
+ PropertyOperator.ENDS_WITH,
+ PropertyOperator.NOT_ENDS_WITH,
+ ):
+ if isinstance(value, list):
+ raise ValidationError(
+ f"Operator '{operator}' does not support list values for $group_key property. "
+ "Use a single value instead."
+ )
+ is_starts = operator in (PropertyOperator.STARTS_WITH, PropertyOperator.NOT_STARTS_WITH)
+ is_positive = operator in (PropertyOperator.STARTS_WITH, PropertyOperator.ENDS_WITH)
+ where_exprs.append(
+ ast.CompareOperation(
+ op=ast.CompareOperationOp.ILike if is_positive else ast.CompareOperationOp.NotILike,
+ left=ast.Field(chain=["groups", "key"]),
+ right=ast.Constant(value=f"{value}%" if is_starts else f"%{value}"),
+ )
+ )
elif operator == PropertyOperator.REGEX:
if isinstance(value, list):
raise ValidationError(
@@ -429,7 +449,8 @@ def _build_group_query(
# Unsupported operator for $group_key
raise ValidationError(
f"Operator '{operator}' is not supported for $group_key property. "
- f"Supported operators: exact, is_not, in, not_in, icontains, not_icontains, regex, not_regex"
+ f"Supported operators: exact, is_not, in, not_in, icontains, not_icontains, "
+ f"starts_with, not_starts_with, ends_with, not_ends_with, regex, not_regex"
)
# Add regular property filters using property_to_expr (only if there are any)
diff --git a/products/feature_flags/frontend/generated/api.schemas.ts b/products/feature_flags/frontend/generated/api.schemas.ts
index 76e389d44c92..e2ddbd46e4ee 100644
--- a/products/feature_flags/frontend/generated/api.schemas.ts
+++ b/products/feature_flags/frontend/generated/api.schemas.ts
@@ -570,6 +570,10 @@ export const PropertyGroupTypeEnumApi = {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -585,6 +589,10 @@ export const FeatureFlagFilterPropertyGenericSchemaOperatorEnumApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -620,6 +628,10 @@ export interface FeatureFlagFilterPropertyGenericSchemaApi {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
diff --git a/products/feature_flags/frontend/generated/api.zod.ts b/products/feature_flags/frontend/generated/api.zod.ts
index 14f65d75bdfb..e7dc238b977e 100644
--- a/products/feature_flags/frontend/generated/api.zod.ts
+++ b/products/feature_flags/frontend/generated/api.zod.ts
@@ -212,6 +212,10 @@ export const FeatureFlagsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -220,10 +224,10 @@ export const FeatureFlagsCreateBody = /* @__PURE__ */ zod.object({
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -637,6 +641,10 @@ export const FeatureFlagsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -645,10 +653,10 @@ export const FeatureFlagsPartialUpdateBody = /* @__PURE__ */ zod.object({
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
diff --git a/products/logs/backend/logs_query_runner.py b/products/logs/backend/logs_query_runner.py
index a0a74485558b..caf0a533caf5 100644
--- a/products/logs/backend/logs_query_runner.py
+++ b/products/logs/backend/logs_query_runner.py
@@ -139,6 +139,8 @@ def _generate_resource_attribute_filters(
filter.operator = {
PropertyOperator.IS_NOT: PropertyOperator.EXACT,
PropertyOperator.NOT_ICONTAINS: PropertyOperator.ICONTAINS,
+ PropertyOperator.NOT_STARTS_WITH: PropertyOperator.STARTS_WITH,
+ PropertyOperator.NOT_ENDS_WITH: PropertyOperator.ENDS_WITH,
PropertyOperator.NOT_REGEX: PropertyOperator.REGEX,
PropertyOperator.IS_NOT_SET: PropertyOperator.IS_SET,
PropertyOperator.NOT_BETWEEN: PropertyOperator.BETWEEN,
diff --git a/products/logs/backend/presentation/views/api.py b/products/logs/backend/presentation/views/api.py
index 66b22adde5ae..633abb6a4e8b 100644
--- a/products/logs/backend/presentation/views/api.py
+++ b/products/logs/backend/presentation/views/api.py
@@ -37,6 +37,7 @@ from posthog.event_usage import get_request_analytics_properties, report_user_ac
from posthog.hogql_queries.query_runner import ExecutionMode
from posthog.hogql_queries.utils.time_sliced_query import time_sliced_results
from posthog.models import User
+from posthog.models.property.property import STRING_PREFIX_SUFFIX_OPERATORS
from posthog.rate_limit import ClickHouseBurstRateThrottle, ClickHouseSustainedRateThrottle
from posthog.tasks.exporter import export_asset
@@ -140,7 +141,15 @@ class SparklineRequestSerializer(serializers.Serializer):
# manual parsing in LogsViewSet is unchanged.
_LOG_PROPERTY_TYPE_CHOICES = ["log", "log_attribute", "log_resource_attribute"]
-_LOG_STRING_OPERATORS = ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex"]
+_LOG_STRING_OPERATORS = [
+ "exact",
+ "is_not",
+ "icontains",
+ "not_icontains",
+ *STRING_PREFIX_SUFFIX_OPERATORS,
+ "regex",
+ "not_regex",
+]
_LOG_NUMERIC_OPERATORS = ["exact", "gt", "lt"]
_LOG_ARRAY_OPERATORS = ["exact", "is_not"]
_LOG_DATE_OPERATORS = ["is_date_exact", "is_date_before", "is_date_after"]
diff --git a/products/logs/backend/services_query_runner.py b/products/logs/backend/services_query_runner.py
index 1dad490e2940..f29cb6b01f2e 100644
--- a/products/logs/backend/services_query_runner.py
+++ b/products/logs/backend/services_query_runner.py
@@ -96,7 +96,7 @@ def _evaluate_service_leaf(leaf: dict, service_name: str) -> int:
return _INDETERMINATE
if not sn:
# For negation operators, empty string doesn't match non-empty values
- if operator in ("is_not", "not_in", "not_icontains", "not_regex"):
+ if operator in ("is_not", "not_in", "not_icontains", "not_starts_with", "not_ends_with", "not_regex"):
return _TRUE
# For positive match operators, empty string can't match
return _FALSE
@@ -109,6 +109,14 @@ def _evaluate_service_leaf(leaf: dict, service_name: str) -> int:
return _TRUE if str(value).lower() in sn.lower() else _FALSE
if operator == "not_icontains":
return _FALSE if str(value).lower() in sn.lower() else _TRUE
+ if operator == "starts_with":
+ return _TRUE if sn.lower().startswith(str(value).lower()) else _FALSE
+ if operator == "not_starts_with":
+ return _FALSE if sn.lower().startswith(str(value).lower()) else _TRUE
+ if operator == "ends_with":
+ return _TRUE if sn.lower().endswith(str(value).lower()) else _FALSE
+ if operator == "not_ends_with":
+ return _FALSE if sn.lower().endswith(str(value).lower()) else _TRUE
if operator in ("regex", "not_regex"):
# RE2 (linear-time, no catastrophic backtracking) — same engine the Node
# ingestion worker uses via `tracked-re2`. A project member can pick the
diff --git a/products/logs/frontend/generated/api.schemas.ts b/products/logs/frontend/generated/api.schemas.ts
index 084c7a204c14..a16d8b5db306 100644
--- a/products/logs/frontend/generated/api.schemas.ts
+++ b/products/logs/frontend/generated/api.schemas.ts
@@ -21,6 +21,10 @@ export const PropertyOperatorApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -837,6 +841,10 @@ export const _LogPropertyFilterTypeEnumApi = {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -855,6 +863,10 @@ export const _LogPropertyFilterOperatorEnumApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -881,6 +893,10 @@ export interface _LogPropertyFilterApi {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
diff --git a/products/logs/frontend/generated/api.zod.ts b/products/logs/frontend/generated/api.zod.ts
index b08040ec2018..7cf0370ec0e2 100644
--- a/products/logs/frontend/generated/api.zod.ts
+++ b/products/logs/frontend/generated/api.zod.ts
@@ -451,6 +451,10 @@ export const LogsCountCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -462,10 +466,10 @@ export const LogsCountCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -552,6 +556,10 @@ export const LogsCountRangesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -563,10 +571,10 @@ export const LogsCountRangesCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -676,6 +684,10 @@ export const LogsFacetValuesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -687,10 +699,10 @@ export const LogsFacetValuesCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -772,6 +784,10 @@ export const LogsGroupByCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -783,10 +799,10 @@ export const LogsGroupByCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -1040,6 +1056,10 @@ export const LogsPatternsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1051,10 +1071,10 @@ export const LogsPatternsCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -1122,6 +1142,10 @@ export const LogsPatternsDiffCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1133,10 +1157,10 @@ export const LogsPatternsDiffCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -1238,6 +1262,10 @@ export const LogsQueryCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1249,10 +1277,10 @@ export const LogsQueryCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -1610,6 +1638,10 @@ export const LogsServicesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1621,10 +1653,10 @@ export const LogsServicesCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -1699,6 +1731,10 @@ export const LogsSparklineCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1710,10 +1746,10 @@ export const LogsSparklineCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
diff --git a/products/persons/frontend/generated/api.schemas.ts b/products/persons/frontend/generated/api.schemas.ts
index bda8a966c916..cb7e001f1f15 100644
--- a/products/persons/frontend/generated/api.schemas.ts
+++ b/products/persons/frontend/generated/api.schemas.ts
@@ -19,6 +19,10 @@ export const PropertyGroupOperatorApi = {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -40,6 +44,10 @@ export const PropertyItemOperatorEnumApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
diff --git a/products/product_analytics/frontend/generated/api.schemas.ts b/products/product_analytics/frontend/generated/api.schemas.ts
index b5eedc2428de..9f2bed9dbbf9 100644
--- a/products/product_analytics/frontend/generated/api.schemas.ts
+++ b/products/product_analytics/frontend/generated/api.schemas.ts
@@ -528,6 +528,10 @@ export const PropertyOperatorApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
diff --git a/products/surveys/frontend/generated/api.schemas.ts b/products/surveys/frontend/generated/api.schemas.ts
index 273bb0ccc39d..4c7ff5d3f930 100644
--- a/products/surveys/frontend/generated/api.schemas.ts
+++ b/products/surveys/frontend/generated/api.schemas.ts
@@ -408,6 +408,10 @@ export const PropertyGroupTypeEnumApi = {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -423,6 +427,10 @@ export const FeatureFlagFilterPropertyGenericSchemaOperatorEnumApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -458,6 +466,10 @@ export interface FeatureFlagFilterPropertyGenericSchemaApi {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -1109,22 +1121,22 @@ export type SurveyQuestionInputSchemaApi =
| SurveyMultipleChoiceQuestionSchemaApi
/**
+ * * `regex` - regex
+ * * `not_regex` - not_regex
* * `exact` - exact
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
- * * `regex` - regex
- * * `not_regex` - not_regex
*/
-export type StringMatchOperatorEnumApi = (typeof StringMatchOperatorEnumApi)[keyof typeof StringMatchOperatorEnumApi]
+export type SurveyMatchTypeEnumApi = (typeof SurveyMatchTypeEnumApi)[keyof typeof SurveyMatchTypeEnumApi]
-export const StringMatchOperatorEnumApi = {
+export const SurveyMatchTypeEnumApi = {
+ Regex: 'regex',
+ NotRegex: 'not_regex',
Exact: 'exact',
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
- Regex: 'regex',
- NotRegex: 'not_regex',
} as const
export interface SurveyConditionEventValueSchemaApi {
@@ -1168,7 +1180,7 @@ export interface SurveyConditionsSchemaApi {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains */
- urlMatchType?: StringMatchOperatorEnumApi
+ urlMatchType?: SurveyMatchTypeEnumApi
events?: SurveyEventsConditionSchemaApi
/** Device types that should match for this survey to be shown. */
deviceTypes?: DeviceTypesEnumApi[]
@@ -1180,7 +1192,7 @@ export interface SurveyConditionsSchemaApi {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains */
- deviceTypesMatchType?: StringMatchOperatorEnumApi
+ deviceTypesMatchType?: SurveyMatchTypeEnumApi
/** The variant of the feature flag linked to this survey. */
linkedFlagVariant?: string
}
diff --git a/products/surveys/frontend/generated/api.zod.ts b/products/surveys/frontend/generated/api.zod.ts
index bb2ebec3d83d..4c7ef318600d 100644
--- a/products/surveys/frontend/generated/api.zod.ts
+++ b/products/surveys/frontend/generated/api.zod.ts
@@ -109,6 +109,10 @@ export const SurveysCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -117,10 +121,10 @@ export const SurveysCreateBody = /* @__PURE__ */ zod.object({
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -658,9 +662,9 @@ export const SurveysCreateBody = /* @__PURE__ */ zod.object({
.optional()
.describe("Don't show this survey to users who saw any survey in the last x days."),
urlMatchType: zod
- .enum(['exact', 'is_not', 'icontains', 'not_icontains', 'regex', 'not_regex'])
+ .enum(['regex', 'not_regex', 'exact', 'is_not', 'icontains', 'not_icontains'])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `regex` - regex\n\* `not_regex` - not_regex\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains'
)
.optional()
.describe(
@@ -693,9 +697,9 @@ export const SurveysCreateBody = /* @__PURE__ */ zod.object({
.optional()
.describe('Device types that should match for this survey to be shown.'),
deviceTypesMatchType: zod
- .enum(['exact', 'is_not', 'icontains', 'not_icontains', 'regex', 'not_regex'])
+ .enum(['regex', 'not_regex', 'exact', 'is_not', 'icontains', 'not_icontains'])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `regex` - regex\n\* `not_regex` - not_regex\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains'
)
.optional()
.describe(
@@ -1039,6 +1043,10 @@ export const SurveysPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1047,10 +1055,10 @@ export const SurveysPartialUpdateBody = /* @__PURE__ */ zod.object({
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -1588,9 +1596,9 @@ export const SurveysPartialUpdateBody = /* @__PURE__ */ zod.object({
.optional()
.describe("Don't show this survey to users who saw any survey in the last x days."),
urlMatchType: zod
- .enum(['exact', 'is_not', 'icontains', 'not_icontains', 'regex', 'not_regex'])
+ .enum(['regex', 'not_regex', 'exact', 'is_not', 'icontains', 'not_icontains'])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `regex` - regex\n\* `not_regex` - not_regex\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains'
)
.optional()
.describe(
@@ -1623,9 +1631,9 @@ export const SurveysPartialUpdateBody = /* @__PURE__ */ zod.object({
.optional()
.describe('Device types that should match for this survey to be shown.'),
deviceTypesMatchType: zod
- .enum(['exact', 'is_not', 'icontains', 'not_icontains', 'regex', 'not_regex'])
+ .enum(['regex', 'not_regex', 'exact', 'is_not', 'icontains', 'not_icontains'])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `regex` - regex\n\* `not_regex` - not_regex\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains'
)
.optional()
.describe(
diff --git a/products/tracing/backend/presentation/views.py b/products/tracing/backend/presentation/views.py
index ed9233744ae7..4591bd61337e 100644
--- a/products/tracing/backend/presentation/views.py
+++ b/products/tracing/backend/presentation/views.py
@@ -42,6 +42,7 @@ from posthog.errors import CHQueryErrorTooManyBytes
from posthog.event_usage import report_user_action
from posthog.exceptions_capture import capture_exception
from posthog.hogql_queries.query_runner import ExecutionMode
+from posthog.models.property.property import STRING_PREFIX_SUFFIX_OPERATORS
from ..facade.api import (
FACET_COLUMNS,
@@ -99,7 +100,15 @@ class _TracingDateRangeSerializer(serializers.Serializer):
_SPAN_PROPERTY_TYPE_CHOICES = ["span", "span_attribute", "span_resource_attribute"]
-_SPAN_STRING_OPERATORS = ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex"]
+_SPAN_STRING_OPERATORS = [
+ "exact",
+ "is_not",
+ "icontains",
+ "not_icontains",
+ *STRING_PREFIX_SUFFIX_OPERATORS,
+ "regex",
+ "not_regex",
+]
_SPAN_NUMERIC_OPERATORS = ["exact", "gt", "lt"]
_SPAN_EXISTENCE_OPERATORS = ["is_set", "is_not_set"]
_SPAN_ALL_OPERATORS = _SPAN_STRING_OPERATORS + _SPAN_NUMERIC_OPERATORS + _SPAN_EXISTENCE_OPERATORS
diff --git a/products/tracing/frontend/generated/api.schemas.ts b/products/tracing/frontend/generated/api.schemas.ts
index f1dc30299035..402a8ec147d4 100644
--- a/products/tracing/frontend/generated/api.schemas.ts
+++ b/products/tracing/frontend/generated/api.schemas.ts
@@ -48,6 +48,10 @@ export const SpanPropertyTypeEnumApi = {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -63,6 +67,10 @@ export const _SpanPropertyFilterOperatorEnumApi = {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -86,6 +94,10 @@ export interface _SpanPropertyFilterApi {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
diff --git a/products/tracing/frontend/generated/api.zod.ts b/products/tracing/frontend/generated/api.zod.ts
index 12b63ce18f1b..289a650e44ca 100644
--- a/products/tracing/frontend/generated/api.zod.ts
+++ b/products/tracing/frontend/generated/api.zod.ts
@@ -75,6 +75,10 @@ export const TracingSpansAggregateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -83,10 +87,10 @@ export const TracingSpansAggregateCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -213,6 +217,10 @@ export const TracingSpansAttributeBreakdownCreateBody = /* @__PURE__ */ zod.obje
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -221,10 +229,10 @@ export const TracingSpansAttributeBreakdownCreateBody = /* @__PURE__ */ zod.obje
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -289,6 +297,10 @@ export const TracingSpansCountCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -297,10 +309,10 @@ export const TracingSpansCountCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -366,6 +378,10 @@ export const TracingSpansDurationHistogramCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -374,10 +390,10 @@ export const TracingSpansDurationHistogramCreateBody = /* @__PURE__ */ zod.objec
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -449,6 +465,10 @@ export const TracingSpansLatencyHeatmapCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -457,10 +477,10 @@ export const TracingSpansLatencyHeatmapCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -551,6 +571,10 @@ export const TracingSpansQueryCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -559,10 +583,10 @@ export const TracingSpansQueryCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -659,6 +683,10 @@ export const TracingSpansSparklineCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -667,10 +695,10 @@ export const TracingSpansSparklineCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -845,6 +873,10 @@ export const TracingSpansTreeCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -853,10 +885,10 @@ export const TracingSpansTreeCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
diff --git a/rust/feature-flags/src/api/types.rs b/rust/feature-flags/src/api/types.rs
index 4edd820991c1..d2eb1157e3c8 100644
--- a/rust/feature-flags/src/api/types.rs
+++ b/rust/feature-flags/src/api/types.rs
@@ -690,6 +690,10 @@ impl FlagDetails {
Some(OperatorType::IsNot) => ("does not equal", "equals"),
Some(OperatorType::Icontains) => ("contains", "does not contain"),
Some(OperatorType::NotIcontains) => ("does not contain", "contains"),
+ Some(OperatorType::StartsWith) => ("starts with", "does not start with"),
+ Some(OperatorType::NotStartsWith) => ("does not start with", "starts with"),
+ Some(OperatorType::EndsWith) => ("ends with", "does not end with"),
+ Some(OperatorType::NotEndsWith) => ("does not end with", "ends with"),
Some(OperatorType::Gt) => (">", "<="),
Some(OperatorType::Lt) => ("<", ">="),
Some(OperatorType::Gte) => (">=", "<"),
diff --git a/rust/feature-flags/src/properties/property_matching.rs b/rust/feature-flags/src/properties/property_matching.rs
index d293ed5f7f7a..f352c380291f 100644
--- a/rust/feature-flags/src/properties/property_matching.rs
+++ b/rust/feature-flags/src/properties/property_matching.rs
@@ -265,6 +265,44 @@ pub fn match_property(
Ok(operator == OperatorType::NotIcontains)
}
}
+ OperatorType::StartsWith | OperatorType::NotStartsWith => {
+ if let Some(match_value) = match_value {
+ // Using to_ascii_lowercase() since we only care about ASCII case insensitivity
+ let is_prefix = to_string_representation(match_value)
+ .to_ascii_lowercase()
+ .starts_with(&to_string_representation(value).to_ascii_lowercase());
+
+ if operator == OperatorType::StartsWith {
+ Ok(is_prefix)
+ } else {
+ Ok(!is_prefix)
+ }
+ } else {
+ // When value doesn't exist:
+ // - for StartsWith: it's not a match (false)
+ // - for NotStartsWith: it is a match (true)
+ Ok(operator == OperatorType::NotStartsWith)
+ }
+ }
+ OperatorType::EndsWith | OperatorType::NotEndsWith => {
+ if let Some(match_value) = match_value {
+ // Using to_ascii_lowercase() since we only care about ASCII case insensitivity
+ let is_suffix = to_string_representation(match_value)
+ .to_ascii_lowercase()
+ .ends_with(&to_string_representation(value).to_ascii_lowercase());
+
+ if operator == OperatorType::EndsWith {
+ Ok(is_suffix)
+ } else {
+ Ok(!is_suffix)
+ }
+ } else {
+ // When value doesn't exist:
+ // - for EndsWith: it's not a match (false)
+ // - for NotEndsWith: it is a match (true)
+ Ok(operator == OperatorType::NotEndsWith)
+ }
+ }
OperatorType::IcontainsMulti | OperatorType::NotIcontainsMulti => {
if let Some(match_value) = match_value {
let match_string = to_string_representation(match_value).to_ascii_lowercase();
@@ -1203,6 +1241,214 @@ mod test_match_properties {
.expect("expected match to exist"));
}
+ #[test]
+ fn test_match_properties_starts_with() {
+ let property_starts_with = PropertyFilter {
+ key: "key".to_string(),
+ value: Some(json!("Val")),
+ operator: Some(OperatorType::StartsWith),
+ prop_type: PropertyType::Person,
+ group_type_index: None,
+ negation: None,
+ compiled_regex: None,
+ extra: Default::default(),
+ };
+
+ // case-insensitive match at the start
+ assert!(match_property(
+ &property_starts_with,
+ &HashMap::from([("key".to_string(), json!("value"))]),
+ true
+ )
+ .expect("expected match to exist"));
+ assert!(match_property(
+ &property_starts_with,
+ &HashMap::from([("key".to_string(), json!("VALUE"))]),
+ true
+ )
+ .expect("expected match to exist"));
+
+ // non-match: substring present but not at the start
+ assert!(!match_property(
+ &property_starts_with,
+ &HashMap::from([("key".to_string(), json!("prevalue"))]),
+ true
+ )
+ .expect("expected match to exist"));
+ assert!(!match_property(
+ &property_starts_with,
+ &HashMap::from([("key".to_string(), json!("Alakazam"))]),
+ true
+ )
+ .expect("expected match to exist"));
+
+ // numeric property value is stringified before matching
+ let property_starts_with_numeric = PropertyFilter {
+ key: "key".to_string(),
+ value: Some(json!("3")),
+ operator: Some(OperatorType::StartsWith),
+ prop_type: PropertyType::Person,
+ group_type_index: None,
+ negation: None,
+ compiled_regex: None,
+ extra: Default::default(),
+ };
+ assert!(match_property(
+ &property_starts_with_numeric,
+ &HashMap::from([("key".to_string(), json!(323))]),
+ true
+ )
+ .expect("expected match to exist"));
+ assert!(!match_property(
+ &property_starts_with_numeric,
+ &HashMap::from([("key".to_string(), json!(123))]),
+ true
+ )
+ .expect("expected match to exist"));
+
+ // negation
+ let property_not_starts_with = PropertyFilter {
+ key: "key".to_string(),
+ value: Some(json!("Val")),
+ operator: Some(OperatorType::NotStartsWith),
+ prop_type: PropertyType::Person,
+ group_type_index: None,
+ negation: None,
+ compiled_regex: None,
+ extra: Default::default(),
+ };
+ assert!(!match_property(
+ &property_not_starts_with,
+ &HashMap::from([("key".to_string(), json!("value"))]),
+ true
+ )
+ .expect("expected match to exist"));
+ assert!(match_property(
+ &property_not_starts_with,
+ &HashMap::from([("key".to_string(), json!("Alakazam"))]),
+ true
+ )
+ .expect("expected match to exist"));
+
+ // missing property: negative operator matches (true), positive operator does not (false)
+ assert!(!match_property(
+ &property_starts_with,
+ &HashMap::from([("key2".to_string(), json!("value"))]),
+ false
+ )
+ .expect("Expected no errors with full props mode"));
+ assert!(match_property(
+ &property_not_starts_with,
+ &HashMap::from([("key2".to_string(), json!("value"))]),
+ false
+ )
+ .expect("Expected no errors with full props mode"));
+ }
+
+ #[test]
+ fn test_match_properties_ends_with() {
+ let property_ends_with = PropertyFilter {
+ key: "key".to_string(),
+ value: Some(json!("Lue")),
+ operator: Some(OperatorType::EndsWith),
+ prop_type: PropertyType::Person,
+ group_type_index: None,
+ negation: None,
+ compiled_regex: None,
+ extra: Default::default(),
+ };
+
+ // case-insensitive match at the end
+ assert!(match_property(
+ &property_ends_with,
+ &HashMap::from([("key".to_string(), json!("value"))]),
+ true
+ )
+ .expect("expected match to exist"));
+ assert!(match_property(
+ &property_ends_with,
+ &HashMap::from([("key".to_string(), json!("VALUE"))]),
+ true
+ )
+ .expect("expected match to exist"));
+
+ // non-match: substring present but not at the end
+ assert!(!match_property(
+ &property_ends_with,
+ &HashMap::from([("key".to_string(), json!("valueish"))]),
+ true
+ )
+ .expect("expected match to exist"));
+ assert!(!match_property(
+ &property_ends_with,
+ &HashMap::from([("key".to_string(), json!("Alakazam"))]),
+ true
+ )
+ .expect("expected match to exist"));
+
+ // numeric property value is stringified before matching
+ let property_ends_with_numeric = PropertyFilter {
+ key: "key".to_string(),
+ value: Some(json!("3")),
+ operator: Some(OperatorType::EndsWith),
+ prop_type: PropertyType::Person,
+ group_type_index: None,
+ negation: None,
+ compiled_regex: None,
+ extra: Default::default(),
+ };
+ assert!(match_property(
+ &property_ends_with_numeric,
+ &HashMap::from([("key".to_string(), json!(323))]),
+ true
+ )
+ .expect("expected match to exist"));
+ assert!(!match_property(
+ &property_ends_with_numeric,
+ &HashMap::from([("key".to_string(), json!(321))]),
+ true
+ )
+ .expect("expected match to exist"));
+
+ // negation
+ let property_not_ends_with = PropertyFilter {
+ key: "key".to_string(),
+ value: Some(json!("Lue")),
+ operator: Some(OperatorType::NotEndsWith),
+ prop_type: PropertyType::Person,
+ group_type_index: None,
+ negation: None,
+ compiled_regex: None,
+ extra: Default::default(),
+ };
+ assert!(!match_property(
+ &property_not_ends_with,
+ &HashMap::from([("key".to_string(), json!("value"))]),
+ true
+ )
+ .expect("expected match to exist"));
+ assert!(match_property(
+ &property_not_ends_with,
+ &HashMap::from([("key".to_string(), json!("Alakazam"))]),
+ true
+ )
+ .expect("expected match to exist"));
+
+ // missing property: negative operator matches (true), positive operator does not (false)
+ assert!(!match_property(
+ &property_ends_with,
+ &HashMap::from([("key2".to_string(), json!("value"))]),
+ false
+ )
+ .expect("Expected no errors with full props mode"));
+ assert!(match_property(
+ &property_not_ends_with,
+ &HashMap::from([("key2".to_string(), json!("value"))]),
+ false
+ )
+ .expect("Expected no errors with full props mode"));
+ }
+
#[test]
fn test_match_properties_regex() {
let property_a = PropertyFilter {
diff --git a/rust/feature-flags/src/properties/property_models.rs b/rust/feature-flags/src/properties/property_models.rs
index 4ab8e0cddd92..1424e994746c 100644
--- a/rust/feature-flags/src/properties/property_models.rs
+++ b/rust/feature-flags/src/properties/property_models.rs
@@ -15,6 +15,10 @@ pub enum OperatorType {
NotIcontains,
IcontainsMulti,
NotIcontainsMulti,
+ StartsWith,
+ NotStartsWith,
+ EndsWith,
+ NotEndsWith,
Regex,
NotRegex,
Gt,
diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.ts
index 5f014d444122..f045deaa9616 100644
--- a/services/mcp/src/api/generated.ts
+++ b/services/mcp/src/api/generated.ts
@@ -274,6 +274,10 @@ export namespace Schemas {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -980,6 +984,10 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
*/
@@ -991,6 +999,10 @@ export namespace Schemas {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
} as const;
@@ -1042,6 +1054,10 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex */
operator?: StringMatchOperatorEnum;
@@ -24977,6 +24993,10 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -24999,6 +25019,10 @@ export namespace Schemas {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -26924,6 +26948,10 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -26939,6 +26967,10 @@ export namespace Schemas {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -26974,6 +27006,10 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -53772,6 +53808,26 @@ export namespace Schemas {
export type SurveyQuestionInputSchema = SurveyOpenQuestionSchema | SurveyLinkQuestionSchema | SurveyRatingQuestionSchema | SurveySingleChoiceQuestionSchema | SurveyMultipleChoiceQuestionSchema;
+ /**
+ * * `regex` - regex
+ * * `not_regex` - not_regex
+ * * `exact` - exact
+ * * `is_not` - is_not
+ * * `icontains` - icontains
+ * * `not_icontains` - not_icontains
+ */
+ export type SurveyMatchTypeEnum = typeof SurveyMatchTypeEnum[keyof typeof SurveyMatchTypeEnum];
+
+
+ export const SurveyMatchTypeEnum = {
+ Regex: 'regex',
+ NotRegex: 'not_regex',
+ Exact: 'exact',
+ IsNot: 'is_not',
+ Icontains: 'icontains',
+ NotIcontains: 'not_icontains',
+ } as const;
+
export interface SurveyConditionEventValueSchema {
/** Event name that triggers the survey. */
name: string;
@@ -53800,7 +53856,7 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains */
- urlMatchType?: StringMatchOperatorEnum;
+ urlMatchType?: SurveyMatchTypeEnum;
events?: SurveyEventsConditionSchema;
/** Device types that should match for this survey to be shown. */
deviceTypes?: DeviceTypesEnum[];
@@ -53812,7 +53868,7 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains */
- deviceTypesMatchType?: StringMatchOperatorEnum;
+ deviceTypesMatchType?: SurveyMatchTypeEnum;
/** The variant of the feature flag linked to this survey. */
linkedFlagVariant?: string;
}
@@ -71877,6 +71933,10 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -71895,6 +71955,10 @@ export namespace Schemas {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -71921,6 +71985,10 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -72770,6 +72838,10 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
@@ -72785,6 +72857,10 @@ export namespace Schemas {
IsNot: 'is_not',
Icontains: 'icontains',
NotIcontains: 'not_icontains',
+ StartsWith: 'starts_with',
+ NotStartsWith: 'not_starts_with',
+ EndsWith: 'ends_with',
+ NotEndsWith: 'not_ends_with',
Regex: 'regex',
NotRegex: 'not_regex',
Gt: 'gt',
@@ -72808,6 +72884,10 @@ export namespace Schemas {
* * `is_not` - is_not
* * `icontains` - icontains
* * `not_icontains` - not_icontains
+ * * `starts_with` - starts_with
+ * * `not_starts_with` - not_starts_with
+ * * `ends_with` - ends_with
+ * * `not_ends_with` - not_ends_with
* * `regex` - regex
* * `not_regex` - not_regex
* * `gt` - gt
diff --git a/services/mcp/src/generated/actions/api.ts b/services/mcp/src/generated/actions/api.ts
index 7e5a4e4a9f91..0fa6973eb1d8 100644
--- a/services/mcp/src/generated/actions/api.ts
+++ b/services/mcp/src/generated/actions/api.ts
@@ -145,15 +145,19 @@ export const ActionsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
)
.default(actionsCreateBodyStepsItemPropertiesItemOneOperatorDefault)
.describe(
- 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
),
})
.describe('Matches string values with text-oriented operators.'),
@@ -588,15 +592,19 @@ export const ActionsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
)
.default(actionsPartialUpdateBodyStepsItemPropertiesItemOneOperatorDefault)
.describe(
- 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ 'String comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex'
),
})
.describe('Matches string values with text-oriented operators.'),
diff --git a/services/mcp/src/generated/dashboards/api.ts b/services/mcp/src/generated/dashboards/api.ts
index ce7be090975b..a9c52916c254 100644
--- a/services/mcp/src/generated/dashboards/api.ts
+++ b/services/mcp/src/generated/dashboards/api.ts
@@ -336,6 +336,10 @@ export const DashboardsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -415,6 +419,10 @@ export const DashboardsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -524,6 +532,10 @@ export const DashboardsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -647,6 +659,10 @@ export const DashboardsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1373,6 +1389,10 @@ export const DashboardsWidgetsBatchCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1448,6 +1468,10 @@ export const DashboardsWidgetsBatchCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1616,6 +1640,10 @@ export const DashboardsWidgetsBatchCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1785,6 +1813,10 @@ export const DashboardsWidgetsBatchCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2384,6 +2416,10 @@ export const DashboardsUpdateWidgetsBatchBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2459,6 +2495,10 @@ export const DashboardsUpdateWidgetsBatchBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2586,6 +2626,10 @@ export const DashboardsUpdateWidgetsBatchBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2714,6 +2758,10 @@ export const DashboardsUpdateWidgetsBatchBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
diff --git a/services/mcp/src/generated/endpoints/api.ts b/services/mcp/src/generated/endpoints/api.ts
index b73e470beeb4..040a00d90d2d 100644
--- a/services/mcp/src/generated/endpoints/api.ts
+++ b/services/mcp/src/generated/endpoints/api.ts
@@ -437,6 +437,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -497,6 +501,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -552,6 +560,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -609,6 +621,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -663,6 +679,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -717,6 +737,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -778,6 +802,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -832,6 +860,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -886,6 +918,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -944,6 +980,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -998,6 +1038,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1097,6 +1141,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1151,6 +1199,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1205,6 +1257,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1259,6 +1315,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1309,6 +1369,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1363,6 +1427,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1413,6 +1481,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1467,6 +1539,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1524,6 +1600,10 @@ export const EndpointsRunCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
diff --git a/services/mcp/src/generated/error_tracking/api.ts b/services/mcp/src/generated/error_tracking/api.ts
index 713d04af3ff2..226b82faa874 100644
--- a/services/mcp/src/generated/error_tracking/api.ts
+++ b/services/mcp/src/generated/error_tracking/api.ts
@@ -73,6 +73,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -129,6 +133,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -182,6 +190,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -235,6 +247,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -287,6 +303,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -339,6 +359,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -396,6 +420,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -443,6 +471,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -495,6 +527,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -549,6 +585,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -601,6 +641,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -690,6 +734,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -742,6 +790,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -794,6 +846,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -846,6 +902,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -896,6 +956,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -948,6 +1012,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -998,6 +1066,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1050,6 +1122,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1105,6 +1181,10 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1238,6 +1318,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1294,6 +1378,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1347,6 +1435,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1400,6 +1492,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1452,6 +1548,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1504,6 +1604,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1561,6 +1665,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1608,6 +1716,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1660,6 +1772,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1714,6 +1830,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1766,6 +1886,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1855,6 +1979,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1907,6 +2035,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1959,6 +2091,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2011,6 +2147,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2061,6 +2201,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2113,6 +2257,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2163,6 +2311,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2215,6 +2367,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2270,6 +2426,10 @@ export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2374,6 +2534,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2430,6 +2594,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2483,6 +2651,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2536,6 +2708,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2588,6 +2764,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2640,6 +2820,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2697,6 +2881,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2744,6 +2932,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2796,6 +2988,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2850,6 +3046,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2902,6 +3102,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2991,6 +3195,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3043,6 +3251,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3095,6 +3307,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3147,6 +3363,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3197,6 +3417,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3249,6 +3473,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3299,6 +3527,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3351,6 +3583,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3406,6 +3642,10 @@ export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3540,6 +3780,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3596,6 +3840,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3649,6 +3897,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3702,6 +3954,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3754,6 +4010,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3806,6 +4066,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3863,6 +4127,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3910,6 +4178,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3962,6 +4234,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4016,6 +4292,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4068,6 +4348,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4157,6 +4441,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4209,6 +4497,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4261,6 +4553,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4313,6 +4609,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4363,6 +4663,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4415,6 +4719,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4465,6 +4773,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4517,6 +4829,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4572,6 +4888,10 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4696,6 +5016,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4752,6 +5076,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4805,6 +5133,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4860,6 +5192,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4912,6 +5248,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4964,6 +5304,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5021,6 +5365,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5071,6 +5419,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5123,6 +5475,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5177,6 +5533,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5229,6 +5589,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5320,6 +5684,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5372,6 +5740,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5424,6 +5796,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5476,6 +5852,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5526,6 +5906,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5578,6 +5962,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5628,6 +6016,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5680,6 +6072,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5735,6 +6131,10 @@ export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5971,6 +6371,10 @@ export const ErrorTrackingQueryIssueEventsCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5986,7 +6390,7 @@ export const ErrorTrackingQueryIssueEventsCreateBody = /* @__PURE__ */ zod.objec
'not_in',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
),
zod.enum(['']),
zod.null(),
@@ -6192,6 +6596,10 @@ export const ErrorTrackingQueryIssuesListCreateBody = /* @__PURE__ */ zod.object
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6207,7 +6615,7 @@ export const ErrorTrackingQueryIssuesListCreateBody = /* @__PURE__ */ zod.object
'not_in',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
),
zod.enum(['']),
zod.null(),
@@ -6445,6 +6853,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6501,6 +6913,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6554,6 +6970,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6607,6 +7027,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6659,6 +7083,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6711,6 +7139,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6768,6 +7200,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6815,6 +7251,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6867,6 +7307,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6921,6 +7365,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6973,6 +7421,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7062,6 +7514,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7114,6 +7570,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7166,6 +7626,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7218,6 +7682,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7268,6 +7736,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7320,6 +7792,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7370,6 +7846,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7422,6 +7902,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7477,6 +7961,10 @@ export const ErrorTrackingSuppressionRulesCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7592,6 +8080,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7648,6 +8140,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7701,6 +8197,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7754,6 +8254,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7806,6 +8310,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7858,6 +8366,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7915,6 +8427,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7962,6 +8478,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8014,6 +8534,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8068,6 +8592,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8120,6 +8648,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8209,6 +8741,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8261,6 +8797,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8313,6 +8853,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8365,6 +8909,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8415,6 +8963,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8467,6 +9019,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8517,6 +9073,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8569,6 +9129,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8624,6 +9188,10 @@ export const ErrorTrackingSuppressionRulesUpdateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
diff --git a/services/mcp/src/generated/experiments/api.ts b/services/mcp/src/generated/experiments/api.ts
index 5efcbe47d2a7..cef27959ca0d 100644
--- a/services/mcp/src/generated/experiments/api.ts
+++ b/services/mcp/src/generated/experiments/api.ts
@@ -78,6 +78,10 @@ export const ExperimentHoldoutsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -86,10 +90,10 @@ export const ExperimentHoldoutsCreateBody = /* @__PURE__ */ zod
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -355,6 +359,10 @@ export const ExperimentHoldoutsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -363,10 +371,10 @@ export const ExperimentHoldoutsPartialUpdateBody = /* @__PURE__ */ zod
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -1104,6 +1112,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1166,6 +1178,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1223,6 +1239,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1282,6 +1302,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1338,6 +1362,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1394,6 +1422,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1457,6 +1489,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1511,6 +1547,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1567,6 +1607,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1627,6 +1671,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1683,6 +1731,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1788,6 +1840,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1844,6 +1900,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1900,6 +1960,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1956,6 +2020,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2008,6 +2076,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2064,6 +2136,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2116,6 +2192,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2172,6 +2252,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2231,6 +2315,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2376,6 +2464,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2519,6 +2611,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2731,6 +2827,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2919,6 +3019,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3059,6 +3163,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3198,6 +3306,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3374,6 +3486,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3517,6 +3633,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3729,6 +3849,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3917,6 +4041,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4057,6 +4185,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4196,6 +4328,10 @@ export const ExperimentsCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4726,6 +4862,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4788,6 +4928,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4845,6 +4989,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4904,6 +5052,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4960,6 +5112,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5016,6 +5172,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5079,6 +5239,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5133,6 +5297,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5189,6 +5357,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5249,6 +5421,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5305,6 +5481,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5410,6 +5590,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5466,6 +5650,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5522,6 +5710,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5578,6 +5770,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5630,6 +5826,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5686,6 +5886,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5738,6 +5942,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5794,6 +6002,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5853,6 +6065,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -5998,6 +6214,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6141,6 +6361,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6353,6 +6577,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6541,6 +6769,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6681,6 +6913,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6820,6 +7056,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -6996,6 +7236,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7139,6 +7383,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7355,6 +7603,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7543,6 +7795,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7683,6 +7939,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -7822,6 +8082,10 @@ export const ExperimentsPartialUpdateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8328,6 +8592,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8390,6 +8658,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8447,6 +8719,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8506,6 +8782,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8562,6 +8842,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8618,6 +8902,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8681,6 +8969,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8735,6 +9027,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8791,6 +9087,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8851,6 +9151,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -8907,6 +9211,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9012,6 +9320,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9068,6 +9380,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9124,6 +9440,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9180,6 +9500,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9232,6 +9556,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9288,6 +9616,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9340,6 +9672,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9396,6 +9732,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9455,6 +9795,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9600,6 +9944,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9743,6 +10091,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -9955,6 +10307,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -10143,6 +10499,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -10283,6 +10643,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -10422,6 +10786,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -10598,6 +10966,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -10741,6 +11113,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -10957,6 +11333,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -11145,6 +11525,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -11285,6 +11669,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -11424,6 +11812,10 @@ export const ExperimentsDuplicateCreateBody = /* @__PURE__ */ zod
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
diff --git a/services/mcp/src/generated/feature_flags/api.ts b/services/mcp/src/generated/feature_flags/api.ts
index 1c4fc3645f85..77444f8a0264 100644
--- a/services/mcp/src/generated/feature_flags/api.ts
+++ b/services/mcp/src/generated/feature_flags/api.ts
@@ -160,6 +160,10 @@ export const FeatureFlagsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -168,10 +172,10 @@ export const FeatureFlagsCreateBody = /* @__PURE__ */ zod.object({
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -524,6 +528,10 @@ export const FeatureFlagsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -532,10 +540,10 @@ export const FeatureFlagsPartialUpdateBody = /* @__PURE__ */ zod.object({
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
diff --git a/services/mcp/src/generated/logs/api.ts b/services/mcp/src/generated/logs/api.ts
index 6ead36c19d83..239f06326bc7 100644
--- a/services/mcp/src/generated/logs/api.ts
+++ b/services/mcp/src/generated/logs/api.ts
@@ -104,6 +104,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -164,6 +168,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -219,6 +227,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -276,6 +288,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -330,6 +346,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -384,6 +404,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -445,6 +469,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -499,6 +527,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -553,6 +585,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -611,6 +647,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -665,6 +705,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -766,6 +810,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -820,6 +868,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -874,6 +926,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -928,6 +984,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -978,6 +1038,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1032,6 +1096,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1082,6 +1150,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1136,6 +1208,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1193,6 +1269,10 @@ export const LogsAlertsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1382,6 +1462,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1442,6 +1526,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1497,6 +1585,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1554,6 +1646,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1608,6 +1704,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1662,6 +1762,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1723,6 +1827,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1777,6 +1885,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1831,6 +1943,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1889,6 +2005,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1943,6 +2063,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2044,6 +2168,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2098,6 +2226,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2152,6 +2284,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2206,6 +2342,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2256,6 +2396,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2310,6 +2454,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2360,6 +2508,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2414,6 +2566,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2471,6 +2627,10 @@ export const LogsAlertsPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2722,6 +2882,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2782,6 +2946,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2837,6 +3005,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2894,6 +3066,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -2948,6 +3124,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3002,6 +3182,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3063,6 +3247,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3117,6 +3305,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3171,6 +3363,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3229,6 +3425,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3283,6 +3483,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3384,6 +3588,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3438,6 +3646,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3492,6 +3704,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3546,6 +3762,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3596,6 +3816,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3650,6 +3874,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3700,6 +3928,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3754,6 +3986,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3811,6 +4047,10 @@ export const LogsAlertsSimulateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3968,6 +4208,10 @@ export const LogsAttributesRetrieveQueryParams = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -3979,10 +4223,10 @@ export const LogsAttributesRetrieveQueryParams = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -4078,6 +4322,10 @@ export const LogsCountCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4089,10 +4337,10 @@ export const LogsCountCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -4187,6 +4435,10 @@ export const LogsCountRangesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4198,10 +4450,10 @@ export const LogsCountRangesCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -4303,6 +4555,10 @@ export const LogsFacetValuesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4314,10 +4570,10 @@ export const LogsFacetValuesCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -4399,6 +4655,10 @@ export const LogsPatternsCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4410,10 +4670,10 @@ export const LogsPatternsCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -4489,6 +4749,10 @@ export const LogsPatternsDiffCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4500,10 +4764,10 @@ export const LogsPatternsDiffCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -4613,6 +4877,10 @@ export const LogsQueryCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4624,10 +4892,10 @@ export const LogsQueryCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -4726,6 +4994,10 @@ export const LogsServicesCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4737,10 +5009,10 @@ export const LogsServicesCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -4823,6 +5095,10 @@ export const LogsSparklineCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4834,10 +5110,10 @@ export const LogsSparklineCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -4921,6 +5197,10 @@ export const LogsValuesRetrieveQueryParams = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -4932,10 +5212,10 @@ export const LogsValuesRetrieveQueryParams = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_date_exact` - is_date_exact\n\* `is_date_before` - is_date_before\n\* `is_date_after` - is_date_after\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
diff --git a/services/mcp/src/generated/persons/api.ts b/services/mcp/src/generated/persons/api.ts
index dcde8f44b567..d4be14fac04e 100644
--- a/services/mcp/src/generated/persons/api.ts
+++ b/services/mcp/src/generated/persons/api.ts
@@ -61,6 +61,10 @@ export const PersonsListQueryParams = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -76,7 +80,7 @@ export const PersonsListQueryParams = /* @__PURE__ */ zod.object({
'not_in',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `gte` - gte\n\* `lte` - lte\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set\n\* `is_date_exact` - is_date_exact\n\* `is_date_after` - is_date_after\n\* `is_date_before` - is_date_before\n\* `in` - in\n\* `not_in` - not_in'
),
zod.enum(['']),
zod.null(),
diff --git a/services/mcp/src/generated/surveys/api.ts b/services/mcp/src/generated/surveys/api.ts
index a050d5dc72f1..3a2e3a438a35 100644
--- a/services/mcp/src/generated/surveys/api.ts
+++ b/services/mcp/src/generated/surveys/api.ts
@@ -143,6 +143,10 @@ export const SurveysCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -151,10 +155,10 @@ export const SurveysCreateBody = /* @__PURE__ */ zod.object({
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -692,9 +696,9 @@ export const SurveysCreateBody = /* @__PURE__ */ zod.object({
.optional()
.describe("Don't show this survey to users who saw any survey in the last x days."),
urlMatchType: zod
- .enum(['exact', 'is_not', 'icontains', 'not_icontains', 'regex', 'not_regex'])
+ .enum(['regex', 'not_regex', 'exact', 'is_not', 'icontains', 'not_icontains'])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `regex` - regex\n\* `not_regex` - not_regex\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains'
)
.optional()
.describe(
@@ -727,9 +731,9 @@ export const SurveysCreateBody = /* @__PURE__ */ zod.object({
.optional()
.describe('Device types that should match for this survey to be shown.'),
deviceTypesMatchType: zod
- .enum(['exact', 'is_not', 'icontains', 'not_icontains', 'regex', 'not_regex'])
+ .enum(['regex', 'not_regex', 'exact', 'is_not', 'icontains', 'not_icontains'])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `regex` - regex\n\* `not_regex` - not_regex\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains'
)
.optional()
.describe(
@@ -992,6 +996,10 @@ export const SurveysPartialUpdateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -1000,10 +1008,10 @@ export const SurveysPartialUpdateBody = /* @__PURE__ */ zod.object({
'lte',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
)
.describe(
- 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
+ 'Operator used to compare the property value.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `gte` - gte\n\* `lt` - lt\n\* `lte` - lte'
),
}),
zod.object({
@@ -1541,9 +1549,9 @@ export const SurveysPartialUpdateBody = /* @__PURE__ */ zod.object({
.optional()
.describe("Don't show this survey to users who saw any survey in the last x days."),
urlMatchType: zod
- .enum(['exact', 'is_not', 'icontains', 'not_icontains', 'regex', 'not_regex'])
+ .enum(['regex', 'not_regex', 'exact', 'is_not', 'icontains', 'not_icontains'])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `regex` - regex\n\* `not_regex` - not_regex\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains'
)
.optional()
.describe(
@@ -1576,9 +1584,9 @@ export const SurveysPartialUpdateBody = /* @__PURE__ */ zod.object({
.optional()
.describe('Device types that should match for this survey to be shown.'),
deviceTypesMatchType: zod
- .enum(['exact', 'is_not', 'icontains', 'not_icontains', 'regex', 'not_regex'])
+ .enum(['regex', 'not_regex', 'exact', 'is_not', 'icontains', 'not_icontains'])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex'
+ '\* `regex` - regex\n\* `not_regex` - not_regex\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains'
)
.optional()
.describe(
diff --git a/services/mcp/src/generated/tracing/api.ts b/services/mcp/src/generated/tracing/api.ts
index 23ffa1f59031..280280911e33 100644
--- a/services/mcp/src/generated/tracing/api.ts
+++ b/services/mcp/src/generated/tracing/api.ts
@@ -82,6 +82,10 @@ export const TracingSpansAggregateCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -90,10 +94,10 @@ export const TracingSpansAggregateCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -228,6 +232,10 @@ export const TracingSpansAttributeBreakdownCreateBody = /* @__PURE__ */ zod.obje
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -236,10 +244,10 @@ export const TracingSpansAttributeBreakdownCreateBody = /* @__PURE__ */ zod.obje
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -353,6 +361,10 @@ export const TracingSpansCountCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -361,10 +373,10 @@ export const TracingSpansCountCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -438,6 +450,10 @@ export const TracingSpansDurationHistogramCreateBody = /* @__PURE__ */ zod.objec
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -446,10 +462,10 @@ export const TracingSpansDurationHistogramCreateBody = /* @__PURE__ */ zod.objec
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -529,6 +545,10 @@ export const TracingSpansLatencyHeatmapCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -537,10 +557,10 @@ export const TracingSpansLatencyHeatmapCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -639,6 +659,10 @@ export const TracingSpansQueryCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -647,10 +671,10 @@ export const TracingSpansQueryCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -768,6 +792,10 @@ export const TracingSpansSparklineCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -776,10 +804,10 @@ export const TracingSpansSparklineCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
@@ -927,6 +955,10 @@ export const TracingSpansTreeCreateBody = /* @__PURE__ */ zod.object({
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
@@ -935,10 +967,10 @@ export const TracingSpansTreeCreateBody = /* @__PURE__ */ zod.object({
'is_not_set',
])
.describe(
- '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ '\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
)
.describe(
- 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
+ 'Comparison operator.\n\n\* `exact` - exact\n\* `is_not` - is_not\n\* `icontains` - icontains\n\* `not_icontains` - not_icontains\n\* `starts_with` - starts_with\n\* `not_starts_with` - not_starts_with\n\* `ends_with` - ends_with\n\* `not_ends_with` - not_ends_with\n\* `regex` - regex\n\* `not_regex` - not_regex\n\* `gt` - gt\n\* `lt` - lt\n\* `is_set` - is_set\n\* `is_not_set` - is_not_set'
),
value: zod
.unknown()
diff --git a/services/mcp/src/tools/generated/mcp_analytics.ts b/services/mcp/src/tools/generated/mcp_analytics.ts
index 5134c92609f0..d1013a46adfc 100644
--- a/services/mcp/src/tools/generated/mcp_analytics.ts
+++ b/services/mcp/src/tools/generated/mcp_analytics.ts
@@ -259,6 +259,10 @@ const PropertyOperator = z.enum([
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
diff --git a/services/mcp/src/tools/generated/web_analytics.ts b/services/mcp/src/tools/generated/web_analytics.ts
index e16c84882245..a6cc9fd77410 100644
--- a/services/mcp/src/tools/generated/web_analytics.ts
+++ b/services/mcp/src/tools/generated/web_analytics.ts
@@ -280,6 +280,10 @@ const PropertyOperator = z.enum([
'is_not',
'icontains',
'not_icontains',
+ 'starts_with',
+ 'not_starts_with',
+ 'ends_with',
+ 'not_ends_with',
'regex',
'not_regex',
'gt',
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/action-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/action-create.json
index 0d93a94b0e83..c84d80796760 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/action-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/action-create.json
@@ -92,12 +92,16 @@
},
"operator": {
"default": "exact",
- "description": "String comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex",
+ "description": "String comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex"
],
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/action-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/action-update.json
index 79446436bf1f..dc9be23aff43 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/action-update.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/action-update.json
@@ -96,12 +96,16 @@
},
"operator": {
"default": "exact",
- "description": "String comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex",
+ "description": "String comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex"
],
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-attribute-breakdown.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-attribute-breakdown.json
index 3f8bfe12f0f2..4b8d30fb8e3c 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-attribute-breakdown.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-attribute-breakdown.json
@@ -82,12 +82,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-aggregate.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-aggregate.json
index 4bd2ff0461fd..d6da1b745f88 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-aggregate.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-aggregate.json
@@ -64,12 +64,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-count.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-count.json
index 4bc6a7e29e36..d7766a0772a5 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-count.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-count.json
@@ -42,12 +42,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-duration-histogram.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-duration-histogram.json
index 1f60e0a25dfd..f30bba25d948 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-duration-histogram.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-duration-histogram.json
@@ -42,12 +42,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-latency-heatmap.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-latency-heatmap.json
index 835dce3017be..41f485335849 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-latency-heatmap.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-latency-heatmap.json
@@ -42,12 +42,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-sparkline.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-sparkline.json
index 250c99898af9..050cff539341 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-sparkline.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-sparkline.json
@@ -42,12 +42,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-tree.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-tree.json
index 7bf17efb8350..54a7f306cdff 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-tree.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/apm-spans-tree.json
@@ -64,12 +64,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/create-feature-flag.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/create-feature-flag.json
index 6c47dcec234c..3536ecb5ae52 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/create-feature-flag.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/create-feature-flag.json
@@ -127,12 +127,16 @@
"type": "string"
},
"operator": {
- "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
+ "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-update.json
index 85dfef2c9e07..143b30077b3d 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-update.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-update.json
@@ -211,6 +211,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -311,6 +315,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -510,6 +518,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -697,6 +709,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-widgets-batch-add.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-widgets-batch-add.json
index 83102aeec4c7..998f223a0beb 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-widgets-batch-add.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-widgets-batch-add.json
@@ -103,6 +103,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -203,6 +207,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -478,6 +486,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -741,6 +753,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-widgets-batch-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-widgets-batch-update.json
index 995db91de13b..d24df1e0d5c0 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-widgets-batch-update.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/dashboard-widgets-batch-update.json
@@ -103,6 +103,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -203,6 +207,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -428,6 +436,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -641,6 +653,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-assignment-rules-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-assignment-rules-create.json
index 0b8c85316a45..7e56772bcbfa 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-assignment-rules-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-assignment-rules-create.json
@@ -58,6 +58,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -160,6 +164,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -256,6 +264,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -353,6 +365,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -448,6 +464,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -543,6 +563,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -652,6 +676,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -732,6 +760,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -827,6 +859,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -948,6 +984,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1043,6 +1083,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1248,6 +1292,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1343,6 +1391,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1438,6 +1490,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1533,6 +1589,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1627,6 +1687,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1722,6 +1786,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1816,6 +1884,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1911,6 +1983,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -2007,6 +2083,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-create.json
index b52ebe78085a..de6d6fab39a0 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-create.json
@@ -35,6 +35,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -137,6 +141,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -233,6 +241,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -330,6 +342,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -425,6 +441,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -520,6 +540,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -629,6 +653,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -709,6 +737,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -804,6 +836,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -925,6 +961,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1020,6 +1060,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1225,6 +1269,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1320,6 +1368,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1415,6 +1467,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1510,6 +1566,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1604,6 +1664,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1699,6 +1763,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1793,6 +1861,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1888,6 +1960,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1984,6 +2060,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-update.json
index a833470c2be8..b4f155af56b2 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-update.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-update.json
@@ -35,6 +35,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -137,6 +141,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -233,6 +241,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -330,6 +342,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -425,6 +441,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -520,6 +540,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -629,6 +653,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -709,6 +737,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -804,6 +836,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -925,6 +961,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1020,6 +1060,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1225,6 +1269,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1320,6 +1368,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1415,6 +1467,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1510,6 +1566,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1604,6 +1664,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1699,6 +1763,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1793,6 +1861,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1888,6 +1960,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1984,6 +2060,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-grouping-rules-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-grouping-rules-create.json
index a48d400faed1..d59d6c2fe674 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-grouping-rules-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-grouping-rules-create.json
@@ -76,6 +76,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -178,6 +182,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -274,6 +282,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -371,6 +383,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -466,6 +482,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -561,6 +581,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -670,6 +694,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -750,6 +778,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -845,6 +877,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -966,6 +1002,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1061,6 +1101,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1266,6 +1310,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1361,6 +1409,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1456,6 +1508,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1551,6 +1607,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1645,6 +1705,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1740,6 +1804,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1834,6 +1902,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1929,6 +2001,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -2025,6 +2101,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-grouping-rules-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-grouping-rules-update.json
index 21bad09b9206..9e26f1eb1eec 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-grouping-rules-update.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-grouping-rules-update.json
@@ -36,6 +36,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -138,6 +142,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -234,6 +242,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -331,6 +343,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -426,6 +442,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -521,6 +541,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -630,6 +654,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -710,6 +738,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -805,6 +837,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -926,6 +962,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1021,6 +1061,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1226,6 +1270,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1321,6 +1369,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1416,6 +1468,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1511,6 +1567,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1605,6 +1665,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1700,6 +1764,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1794,6 +1862,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1889,6 +1961,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1985,6 +2061,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-suppression-rules-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-suppression-rules-create.json
index b0212ad818cd..8a85f066e591 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-suppression-rules-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-suppression-rules-create.json
@@ -35,6 +35,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -137,6 +141,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -233,6 +241,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -330,6 +342,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -425,6 +441,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -520,6 +540,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -629,6 +653,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -709,6 +737,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -804,6 +836,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -925,6 +961,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1020,6 +1060,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1225,6 +1269,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1320,6 +1368,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1415,6 +1467,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1510,6 +1566,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1604,6 +1664,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1699,6 +1763,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1793,6 +1861,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1888,6 +1960,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1984,6 +2060,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-suppression-rules-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-suppression-rules-update.json
index 587422fa09d1..04240ee45e92 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-suppression-rules-update.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-suppression-rules-update.json
@@ -35,6 +35,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -137,6 +141,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -233,6 +241,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -330,6 +342,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -425,6 +441,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -520,6 +540,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -629,6 +653,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -709,6 +737,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -804,6 +836,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -925,6 +961,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1020,6 +1060,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1225,6 +1269,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1320,6 +1368,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1415,6 +1467,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1510,6 +1566,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1604,6 +1664,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1699,6 +1763,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1793,6 +1861,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1888,6 +1960,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1984,6 +2060,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-create.json
index fc7cccd7ffee..8293f91deeab 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-create.json
@@ -87,6 +87,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -189,6 +193,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -285,6 +293,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -382,6 +394,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -477,6 +493,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -572,6 +592,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -681,6 +705,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -765,6 +793,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -860,6 +892,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -981,6 +1017,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1076,6 +1116,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1281,6 +1325,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1376,6 +1424,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1471,6 +1523,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1566,6 +1622,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1664,6 +1724,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1759,6 +1823,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1857,6 +1925,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1952,6 +2024,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -2048,6 +2124,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-holdouts-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-holdouts-create.json
index 00e9ef0ac76a..925b1448831c 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-holdouts-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-holdouts-create.json
@@ -61,12 +61,16 @@
"type": "string"
},
"operator": {
- "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
+ "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-holdouts-partial-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-holdouts-partial-update.json
index 16b4c15afaa3..f8c32ff06053 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-holdouts-partial-update.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-holdouts-partial-update.json
@@ -61,12 +61,16 @@
"type": "string"
},
"operator": {
- "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
+ "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-update.json
index cddac08ac674..20b79a9fecac 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-update.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/experiment-update.json
@@ -129,6 +129,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -231,6 +235,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -327,6 +335,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -424,6 +436,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -519,6 +535,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -614,6 +634,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -723,6 +747,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -807,6 +835,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -902,6 +934,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1023,6 +1059,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1118,6 +1158,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1323,6 +1367,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1418,6 +1466,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1513,6 +1565,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1608,6 +1664,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1706,6 +1766,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1801,6 +1865,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1899,6 +1967,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -1994,6 +2066,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -2090,6 +2166,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -2474,6 +2554,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -2716,6 +2800,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -3052,6 +3140,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -3364,6 +3456,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -3597,6 +3693,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -3828,6 +3928,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -4123,6 +4227,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -4365,6 +4473,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -4701,6 +4813,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -5013,6 +5129,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -5246,6 +5366,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -5477,6 +5601,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-attribute-values-list.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-attribute-values-list.json
index 5341a56048d0..ee8d4f3e6ffb 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-attribute-values-list.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-attribute-values-list.json
@@ -44,12 +44,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-attributes-list.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-attributes-list.json
index 83f677b636b0..05d7deda0cd1 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-attributes-list.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-attributes-list.json
@@ -44,12 +44,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-count-ranges.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-count-ranges.json
index c9b6bf58962a..8fb6a069af30 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-count-ranges.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-count-ranges.json
@@ -41,12 +41,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-count.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-count.json
index 0eb168ec88a7..ce4f20c994c2 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-count.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-count.json
@@ -41,12 +41,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-facet-values-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-facet-values-create.json
index c5a8790c6b4b..cb7652f2d920 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-facet-values-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-facet-values-create.json
@@ -69,12 +69,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-services-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-services-create.json
index 390bcddd784c..319c2c4a42d2 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-services-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-services-create.json
@@ -41,12 +41,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-sparkline-query.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-sparkline-query.json
index d26e97cd78e4..b625190f6ed4 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-sparkline-query.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/logs-sparkline-query.json
@@ -42,12 +42,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-apm-spans.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-apm-spans.json
index 1a3572ebe953..55f087270074 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-apm-spans.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-apm-spans.json
@@ -51,12 +51,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-error-tracking-issue-events.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-error-tracking-issue-events.json
index ddf9490e02ed..4b9c73d75dc0 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-error-tracking-issue-events.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-error-tracking-issue-events.json
@@ -33,12 +33,16 @@
"operator": {
"anyOf": [
{
- "description": "* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `gte` - gte\n* `lte` - lte\n* `is_set` - is_set\n* `is_not_set` - is_not_set\n* `is_date_exact` - is_date_exact\n* `is_date_after` - is_date_after\n* `is_date_before` - is_date_before\n* `in` - in\n* `not_in` - not_in",
+ "description": "* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `gte` - gte\n* `lte` - lte\n* `is_set` - is_set\n* `is_not_set` - is_not_set\n* `is_date_exact` - is_date_exact\n* `is_date_after` - is_date_after\n* `is_date_before` - is_date_before\n* `in` - in\n* `not_in` - not_in",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-error-tracking-issues-list.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-error-tracking-issues-list.json
index 6438e9ac8ef1..c4f436728915 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-error-tracking-issues-list.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-error-tracking-issues-list.json
@@ -71,12 +71,16 @@
"operator": {
"anyOf": [
{
- "description": "* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `gte` - gte\n* `lte` - lte\n* `is_set` - is_set\n* `is_not_set` - is_not_set\n* `is_date_exact` - is_date_exact\n* `is_date_after` - is_date_after\n* `is_date_before` - is_date_before\n* `in` - in\n* `not_in` - not_in",
+ "description": "* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `gte` - gte\n* `lte` - lte\n* `is_set` - is_set\n* `is_not_set` - is_not_set\n* `is_date_exact` - is_date_exact\n* `is_date_after` - is_date_after\n* `is_date_before` - is_date_before\n* `in` - in\n* `not_in` - not_in",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-logs.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-logs.json
index 2e935fcdc606..9306f5d53249 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-logs.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-logs.json
@@ -59,12 +59,16 @@
"type": "string"
},
"operator": {
- "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
+ "description": "Comparison operator.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `lt` - lt\n* `is_date_exact` - is_date_exact\n* `is_date_before` - is_date_before\n* `is_date_after` - is_date_after\n* `is_set` - is_set\n* `is_not_set` - is_not_set",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-overview.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-overview.json
index 6be9beb46fd0..5739735789df 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-overview.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-overview.json
@@ -118,6 +118,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -211,6 +215,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -304,6 +312,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -402,6 +414,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-stats.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-stats.json
index 4f7f86f63480..a36d818b7a79 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-stats.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-stats.json
@@ -184,6 +184,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -277,6 +281,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -370,6 +378,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -468,6 +480,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-vitals.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-vitals.json
index 5a452b2033d2..9ef8d6474801 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-vitals.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/query-web-vitals.json
@@ -81,6 +81,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
@@ -174,6 +178,10 @@
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/survey-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/survey-create.json
index 3743b8e6a31d..eb6c8a6f0260 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/survey-create.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/survey-create.json
@@ -128,7 +128,7 @@
},
"deviceTypesMatchType": {
"description": "URL/device matching types: 'regex' (matches regex pattern), 'not_regex' (does not match regex pattern), 'exact' (exact string match), 'is_not' (not exact match), 'icontains' (case-insensitive contains), 'not_icontains' (case-insensitive does not contain).\n\n* `regex` - regex\n* `not_regex` - not_regex\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains",
- "enum": ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex"],
+ "enum": ["regex", "not_regex", "exact", "is_not", "icontains", "not_icontains"],
"type": "string"
},
"events": {
@@ -171,7 +171,7 @@
},
"urlMatchType": {
"description": "URL/device matching types: 'regex' (matches regex pattern), 'not_regex' (does not match regex pattern), 'exact' (exact string match), 'is_not' (not exact match), 'icontains' (case-insensitive contains), 'not_icontains' (case-insensitive does not contain).\n\n* `regex` - regex\n* `not_regex` - not_regex\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains",
- "enum": ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex"],
+ "enum": ["regex", "not_regex", "exact", "is_not", "icontains", "not_icontains"],
"type": "string"
}
},
@@ -780,12 +780,16 @@
"type": "string"
},
"operator": {
- "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
+ "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/survey-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/survey-update.json
index deeb4aa4ecda..b650d103d213 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/survey-update.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/survey-update.json
@@ -132,7 +132,7 @@
},
"deviceTypesMatchType": {
"description": "URL/device matching types: 'regex' (matches regex pattern), 'not_regex' (does not match regex pattern), 'exact' (exact string match), 'is_not' (not exact match), 'icontains' (case-insensitive contains), 'not_icontains' (case-insensitive does not contain).\n\n* `regex` - regex\n* `not_regex` - not_regex\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains",
- "enum": ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex"],
+ "enum": ["regex", "not_regex", "exact", "is_not", "icontains", "not_icontains"],
"type": "string"
},
"events": {
@@ -175,7 +175,7 @@
},
"urlMatchType": {
"description": "URL/device matching types: 'regex' (matches regex pattern), 'not_regex' (does not match regex pattern), 'exact' (exact string match), 'is_not' (not exact match), 'icontains' (case-insensitive contains), 'not_icontains' (case-insensitive does not contain).\n\n* `regex` - regex\n* `not_regex` - not_regex\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains",
- "enum": ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex"],
+ "enum": ["regex", "not_regex", "exact", "is_not", "icontains", "not_icontains"],
"type": "string"
}
},
@@ -811,12 +811,16 @@
"type": "string"
},
"operator": {
- "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
+ "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",
diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/update-feature-flag.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/update-feature-flag.json
index c7d0109663f6..71deda20010b 100644
--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/update-feature-flag.json
+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/update-feature-flag.json
@@ -131,12 +131,16 @@
"type": "string"
},
"operator": {
- "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
+ "description": "Operator used to compare the property value.\n\n* `exact` - exact\n* `is_not` - is_not\n* `icontains` - icontains\n* `not_icontains` - not_icontains\n* `starts_with` - starts_with\n* `not_starts_with` - not_starts_with\n* `ends_with` - ends_with\n* `not_ends_with` - not_ends_with\n* `regex` - regex\n* `not_regex` - not_regex\n* `gt` - gt\n* `gte` - gte\n* `lt` - lt\n* `lte` - lte",
"enum": [
"exact",
"is_not",
"icontains",
"not_icontains",
+ "starts_with",
+ "not_starts_with",
+ "ends_with",
+ "not_ends_with",
"regex",
"not_regex",
"gt",