@osdk/api 2.87.0-main-1fd9dc45c62080a4e08f07409af63a8565eb85b4 → 2.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # @osdk/api
2
2
 
3
- ## 2.87.0-main-1fd9dc45c62080a4e08f07409af63a8565eb85b4
3
+ ## 2.87.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
7
  - 093d27c: Add experimental support for sending events to agent sessions.
8
+ - ff00439: Adding support for phonetic search
8
9
  - 8300415: Add generated argument types for agent session creation.
9
10
 
10
11
  ## 2.86.0
@@ -1 +1 @@
1
- {"version":3,"file":"StringFilter.js","names":["StringFilter","_typeCheck"],"sources":["StringFilter.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { IntervalRule } from \"./IntervalRule.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface StringFilterOptions extends BaseFilterOptions<string> {\n $startsWith: string;\n $containsAllTermsInOrder: string;\n $containsAnyTerm: string | { term: string; fuzzySearch?: boolean };\n $containsAllTerms: string | { term: string; fuzzySearch?: boolean };\n $interval: IntervalRule;\n /**\n * Matches any of the provided values. If an empty array is provided, the filter will match all objects.\n */\n $in: ReadonlyArray<string>;\n $gt: string;\n $gte: string;\n $lt: string;\n $lte: string;\n /**\n * @beta\n * For supported regex expressions, refer to https://www.palantir.com/docs/foundry/ontology/search-syntax\n */\n $matchesRegex: string;\n}\n\nexport namespace StringFilter {\n export interface $eq extends Just<\"$eq\", StringFilterOptions> {}\n export interface $ne extends Just<\"$ne\", StringFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", StringFilterOptions> {}\n export interface $startsWith extends Just<\n \"$startsWith\",\n StringFilterOptions\n > {}\n export interface $containsAllTermsInOrder extends Just<\n \"$containsAllTermsInOrder\",\n StringFilterOptions\n > {}\n export interface $containsAnyTerm extends Just<\n \"$containsAnyTerm\",\n StringFilterOptions\n > {}\n export interface $containsAllTerms extends Just<\n \"$containsAllTerms\",\n StringFilterOptions\n > {}\n export interface $interval extends Just<\"$interval\", StringFilterOptions> {}\n export interface $in extends Just<\"$in\", StringFilterOptions> {}\n export interface $gt extends Just<\"$gt\", StringFilterOptions> {}\n export interface $gte extends Just<\"$gte\", StringFilterOptions> {}\n export interface $lt extends Just<\"$lt\", StringFilterOptions> {}\n export interface $lte extends Just<\"$lte\", StringFilterOptions> {}\n export interface $matchesRegex extends Just<\n \"$matchesRegex\",\n StringFilterOptions\n > {}\n}\n\nexport type StringFilter =\n | string\n | StringFilter.$eq\n | StringFilter.$ne\n | StringFilter.$isNull\n | StringFilter.$in\n | StringFilter.$startsWith\n | StringFilter.$containsAllTermsInOrder\n | StringFilter.$containsAnyTerm\n | StringFilter.$containsAllTerms\n | StringFilter.$interval\n | StringFilter.$gt\n | StringFilter.$gte\n | StringFilter.$lt\n | StringFilter.$lte\n | StringFilter.$matchesRegex;\n\n/** @internal */\nfunction _typeCheck() {\n const b: StringFilter = {} as CatchThemAll<StringFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAyCiBA,YAAY;AAiD7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
1
+ {"version":3,"file":"StringFilter.js","names":["StringFilter","_typeCheck"],"sources":["StringFilter.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { IntervalRule } from \"./IntervalRule.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface PhoneticSearchOptions {\n term: string;\n phoneticSearch?: boolean;\n}\n\ntype FuzzyOrPhoneticSearchOptions =\n | {\n term: string;\n fuzzySearch?: boolean;\n phoneticSearch?: false;\n }\n | {\n term: string;\n fuzzySearch?: false;\n phoneticSearch?: boolean;\n };\n\ninterface StringFilterOptions extends BaseFilterOptions<string> {\n $startsWith: string | PhoneticSearchOptions;\n $containsAllTermsInOrder: string | PhoneticSearchOptions;\n $containsAnyTerm: string | FuzzyOrPhoneticSearchOptions;\n $containsAllTerms: string | FuzzyOrPhoneticSearchOptions;\n $interval: IntervalRule;\n /**\n * Matches any of the provided values. If an empty array is provided, the filter will match all objects.\n */\n $in: ReadonlyArray<string>;\n $gt: string;\n $gte: string;\n $lt: string;\n $lte: string;\n /**\n * @beta\n * For supported regex expressions, refer to https://www.palantir.com/docs/foundry/ontology/search-syntax\n */\n $matchesRegex: string;\n}\n\nexport namespace StringFilter {\n export interface $eq extends Just<\"$eq\", StringFilterOptions> {}\n export interface $ne extends Just<\"$ne\", StringFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", StringFilterOptions> {}\n export interface $startsWith extends Just<\n \"$startsWith\",\n StringFilterOptions\n > {}\n export interface $containsAllTermsInOrder extends Just<\n \"$containsAllTermsInOrder\",\n StringFilterOptions\n > {}\n export interface $containsAnyTerm extends Just<\n \"$containsAnyTerm\",\n StringFilterOptions\n > {}\n export interface $containsAllTerms extends Just<\n \"$containsAllTerms\",\n StringFilterOptions\n > {}\n export interface $interval extends Just<\"$interval\", StringFilterOptions> {}\n export interface $in extends Just<\"$in\", StringFilterOptions> {}\n export interface $gt extends Just<\"$gt\", StringFilterOptions> {}\n export interface $gte extends Just<\"$gte\", StringFilterOptions> {}\n export interface $lt extends Just<\"$lt\", StringFilterOptions> {}\n export interface $lte extends Just<\"$lte\", StringFilterOptions> {}\n export interface $matchesRegex extends Just<\n \"$matchesRegex\",\n StringFilterOptions\n > {}\n}\n\nexport type StringFilter =\n | string\n | StringFilter.$eq\n | StringFilter.$ne\n | StringFilter.$isNull\n | StringFilter.$in\n | StringFilter.$startsWith\n | StringFilter.$containsAllTermsInOrder\n | StringFilter.$containsAnyTerm\n | StringFilter.$containsAllTerms\n | StringFilter.$interval\n | StringFilter.$gt\n | StringFilter.$gte\n | StringFilter.$lt\n | StringFilter.$lte\n | StringFilter.$matchesRegex;\n\n/** @internal */\nfunction _typeCheck() {\n const b: StringFilter = {} as CatchThemAll<StringFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA0DiBA,YAAY;AAiD7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
@@ -1963,17 +1963,24 @@ type IntervalRule = {
1963
1963
  $ordered?: never;
1964
1964
  };
1965
1965
 
1966
+ interface PhoneticSearchOptions {
1967
+ term: string;
1968
+ phoneticSearch?: boolean;
1969
+ }
1970
+ type FuzzyOrPhoneticSearchOptions = {
1971
+ term: string;
1972
+ fuzzySearch?: boolean;
1973
+ phoneticSearch?: false;
1974
+ } | {
1975
+ term: string;
1976
+ fuzzySearch?: false;
1977
+ phoneticSearch?: boolean;
1978
+ };
1966
1979
  interface StringFilterOptions extends BaseFilterOptions<string> {
1967
- $startsWith: string;
1968
- $containsAllTermsInOrder: string;
1969
- $containsAnyTerm: string | {
1970
- term: string;
1971
- fuzzySearch?: boolean;
1972
- };
1973
- $containsAllTerms: string | {
1974
- term: string;
1975
- fuzzySearch?: boolean;
1976
- };
1980
+ $startsWith: string | PhoneticSearchOptions;
1981
+ $containsAllTermsInOrder: string | PhoneticSearchOptions;
1982
+ $containsAnyTerm: string | FuzzyOrPhoneticSearchOptions;
1983
+ $containsAllTerms: string | FuzzyOrPhoneticSearchOptions;
1977
1984
  $interval: IntervalRule;
1978
1985
  /**
1979
1986
  * Matches any of the provided values. If an empty array is provided, the filter will match all objects.
@@ -1,4 +1,4 @@
1
- import { O as ObjectOrInterfaceDefinition, a as OsdkMetadata, b as ObjectTypeDefinition } from './ObjectSet-CRa15Nk0.cjs';
1
+ import { O as ObjectOrInterfaceDefinition, a as OsdkMetadata, b as ObjectTypeDefinition } from './ObjectSet-DDFyl39-.cjs';
2
2
 
3
3
  interface QueryMetadata {
4
4
  type: "query";
@@ -1,7 +1,7 @@
1
- import { A as AttachmentUpload, M as MediaReference, c as MediaUpload, d as Media, T as TimeSeriesReference, e as Attachment, b as ObjectTypeDefinition, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, h as ObjectSet, I as InterfaceDefinition, C as CompileTimeMetadata, a as OsdkMetadata, R as ReleaseStatus, P as PropertyValueWireToClient, i as PrimaryKeyTypes, O as ObjectOrInterfaceDefinition, j as OsdkBase } from './ObjectSet-CRa15Nk0.cjs';
2
- export { k as AffineTransform, l as Affix, m as AggregateOpts, n as AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy, o as AggregationClause, p as AggregationResultsWithGroups, q as AggregationResultsWithoutGroups, r as AggregationsResults, s as AllGroupByValues, t as AndWhereClause, u as AsyncIterArgs, v as AttachmentMetadata, w as AudioDecodeFormat, x as AudioMediaItemMetadata, y as AudioSpecification, z as Augment, B as Augments, D as BandInfo, E as BaseObjectSet, F as BaseWirePropertyTypes, G as CipherChannelStrategy, H as CipherText, J as CipherTextValue, K as ColorInterpretation, L as CommonDicomDataElements, N as ConvertProps, Q as CoordinateReferenceSystem, S as CreateCipherText, U as DataType, V as DatetimeFormat, W as DatetimeLocalizedFormat, X as DatetimeLocalizedFormatType, Y as DatetimeStringFormat, Z as DatetimeTimezone, _ as DatetimeTimezoneStatic, $ as DatetimeTimezoneUser, a0 as DerivedProperty, a1 as DicomDataElementKey, a2 as DicomMediaItemMetadata, a3 as DicomMediaType, a4 as DicomMetaInformation, a5 as DicomMetaInformationV1, a6 as Dimensions, a7 as DistanceUnitMapping, a8 as DocumentDecodeFormat, a9 as DocumentMediaItemMetadata, aa as DurationBaseValue, ab as DurationFormatStyle, ac as DurationMapping, ad as DurationPrecision, ae as EmailAttachment, af as EmailDecodeFormat, ag as EmailMediaItemMetadata, ah as FetchLinksPageResult, ai as FetchPageArgs, aj as FetchPageResult, ak as FlipAxis, al as GcpList, am as GeoFilterOptions, an as GeoFilter_Intersects, ao as GeoFilter_Within, ap as GeoMetadata, aq as GeotimeSeriesProperty, ar as GpsMetadata, as as GroundControlPoint, at as Group, au as GroupByClause, av as GroupByRange, aw as GroupWrapper, ax as HumanReadableFormat, ay as ImageAttributeDomain, az as ImageAttributeKey, aA as ImageryDecodeFormat, aB as ImageryMediaItemMetadata, aC as InterfaceMetadata, aD as IntervalRule, aE as KnownType, aF as LinkNames, aG as LinkTypeApiNamesFor, aH as LinkedType, aI as Mailbox, aJ as MailboxOrGroup, aK as MailboxWrapper, aL as MaybeScore, aM as MediaFullMetadata, aN as MediaItemMetadata, aO as MediaMetadata, aP as MediaPropertyLocation, aQ as MinimalDirectedObjectLinkInstance, aR as Modality, aS as Model3dDecodeFormat, aT as Model3dMediaItemMetadata, aU as Model3dType, aV as NotWhereClause, aW as NullabilityAdherence, aX as NumberFormatAffix, aY as NumberFormatCurrency, aZ as NumberFormatCurrencyStyle, a_ as NumberFormatCustomUnit, a$ as NumberFormatDuration, b0 as NumberFormatFixedValues, b1 as NumberFormatNotation, b2 as NumberFormatOptions, b3 as NumberFormatRatio, b4 as NumberFormatScale, b5 as NumberFormatStandard, b6 as NumberFormatStandardUnit, b7 as NumberRatioType, b8 as NumberRoundingMode, b9 as NumberScaleType, ba as ObjectMetadata, bb as ObjectSetArgs, bc as ObjectSetSubscription, bd as ObjectSpecifier, be as OrWhereClause, bf as Orientation, bg as Osdk, bh as OsdkObjectCreatePropertyType, bi as OsdkObjectCreateWirePropertyType, bj as OsdkObjectLinksObject, bk as OsdkObjectPropertyType, bl as OsdkObjectUpdatePropertyType, bm as OsdkObjectUpdateWirePropertyType, bn as PageResult, bo as PaletteInterpretation, bp as PossibleWhereClauseFilters, bq as PrimaryKeyType, br as PropertyBooleanFormattingRule, bs as PropertyDateFormattingRule, bt as PropertyDef, bu as PropertyKeys, bv as PropertyKnownTypeFormattingRule, bw as PropertyMarkings, bx as PropertyNumberFormattingRule, by as PropertyNumberFormattingRuleType, bz as PropertySecurity, bA as PropertyTimestampFormattingRule, bB as PropertyTypeReference, bC as PropertyTypeReferenceOrStringConstant, bD as PropertyValueFormattingRule, bE as Result, bF as RotationAngle, bG as SelectArg, bH as SelectArgToKeys, bI as SimplePropertyDef, bJ as SingleLinkAccessor, bK as SingleOsdkResult, bL as SpreadsheetDecodeFormat, bM as SpreadsheetMediaItemMetadata, bN as StringConstant, bO as TimeCodeFormat, bP as TimeSeriesPoint, bQ as TimeSeriesProperty, bR as TimeSeriesQuery, bS as TimeseriesDurationMapping, bT as UnitInterpretation, bU as UnknownMediaItemMetadata, bV as UntypedMediaItemMetadata, bW as UpdateCipherText, bX as ValidAggregationKeys, bY as VersionBound, bZ as VideoDecodeFormat, b_ as VideoMediaItemMetadata, b$ as VideoSpecification, c0 as WhereClause, c1 as WirePropertyTypes, c2 as isOk } from './ObjectSet-CRa15Nk0.cjs';
3
- import { A as AggregationKeyTypes, a as AggregationRangeKeyTypes, b as AggregationValueTypes } from './QueryDefinition-lO6Jli1g.cjs';
4
- export { I as InterfaceQueryDataType, O as ObjectQueryDataType, c as ObjectSetQueryDataType, Q as QueryDataTypeDefinition, d as QueryDefinition, e as QueryMetadata, f as QueryParameterDefinition, T as ThreeDimensionalQueryAggregationDefinition, g as TwoDimensionalQueryAggregationDefinition } from './QueryDefinition-lO6Jli1g.cjs';
1
+ import { A as AttachmentUpload, M as MediaReference, c as MediaUpload, d as Media, T as TimeSeriesReference, e as Attachment, b as ObjectTypeDefinition, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, h as ObjectSet, I as InterfaceDefinition, C as CompileTimeMetadata, a as OsdkMetadata, R as ReleaseStatus, P as PropertyValueWireToClient, i as PrimaryKeyTypes, O as ObjectOrInterfaceDefinition, j as OsdkBase } from './ObjectSet-DDFyl39-.cjs';
2
+ export { k as AffineTransform, l as Affix, m as AggregateOpts, n as AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy, o as AggregationClause, p as AggregationResultsWithGroups, q as AggregationResultsWithoutGroups, r as AggregationsResults, s as AllGroupByValues, t as AndWhereClause, u as AsyncIterArgs, v as AttachmentMetadata, w as AudioDecodeFormat, x as AudioMediaItemMetadata, y as AudioSpecification, z as Augment, B as Augments, D as BandInfo, E as BaseObjectSet, F as BaseWirePropertyTypes, G as CipherChannelStrategy, H as CipherText, J as CipherTextValue, K as ColorInterpretation, L as CommonDicomDataElements, N as ConvertProps, Q as CoordinateReferenceSystem, S as CreateCipherText, U as DataType, V as DatetimeFormat, W as DatetimeLocalizedFormat, X as DatetimeLocalizedFormatType, Y as DatetimeStringFormat, Z as DatetimeTimezone, _ as DatetimeTimezoneStatic, $ as DatetimeTimezoneUser, a0 as DerivedProperty, a1 as DicomDataElementKey, a2 as DicomMediaItemMetadata, a3 as DicomMediaType, a4 as DicomMetaInformation, a5 as DicomMetaInformationV1, a6 as Dimensions, a7 as DistanceUnitMapping, a8 as DocumentDecodeFormat, a9 as DocumentMediaItemMetadata, aa as DurationBaseValue, ab as DurationFormatStyle, ac as DurationMapping, ad as DurationPrecision, ae as EmailAttachment, af as EmailDecodeFormat, ag as EmailMediaItemMetadata, ah as FetchLinksPageResult, ai as FetchPageArgs, aj as FetchPageResult, ak as FlipAxis, al as GcpList, am as GeoFilterOptions, an as GeoFilter_Intersects, ao as GeoFilter_Within, ap as GeoMetadata, aq as GeotimeSeriesProperty, ar as GpsMetadata, as as GroundControlPoint, at as Group, au as GroupByClause, av as GroupByRange, aw as GroupWrapper, ax as HumanReadableFormat, ay as ImageAttributeDomain, az as ImageAttributeKey, aA as ImageryDecodeFormat, aB as ImageryMediaItemMetadata, aC as InterfaceMetadata, aD as IntervalRule, aE as KnownType, aF as LinkNames, aG as LinkTypeApiNamesFor, aH as LinkedType, aI as Mailbox, aJ as MailboxOrGroup, aK as MailboxWrapper, aL as MaybeScore, aM as MediaFullMetadata, aN as MediaItemMetadata, aO as MediaMetadata, aP as MediaPropertyLocation, aQ as MinimalDirectedObjectLinkInstance, aR as Modality, aS as Model3dDecodeFormat, aT as Model3dMediaItemMetadata, aU as Model3dType, aV as NotWhereClause, aW as NullabilityAdherence, aX as NumberFormatAffix, aY as NumberFormatCurrency, aZ as NumberFormatCurrencyStyle, a_ as NumberFormatCustomUnit, a$ as NumberFormatDuration, b0 as NumberFormatFixedValues, b1 as NumberFormatNotation, b2 as NumberFormatOptions, b3 as NumberFormatRatio, b4 as NumberFormatScale, b5 as NumberFormatStandard, b6 as NumberFormatStandardUnit, b7 as NumberRatioType, b8 as NumberRoundingMode, b9 as NumberScaleType, ba as ObjectMetadata, bb as ObjectSetArgs, bc as ObjectSetSubscription, bd as ObjectSpecifier, be as OrWhereClause, bf as Orientation, bg as Osdk, bh as OsdkObjectCreatePropertyType, bi as OsdkObjectCreateWirePropertyType, bj as OsdkObjectLinksObject, bk as OsdkObjectPropertyType, bl as OsdkObjectUpdatePropertyType, bm as OsdkObjectUpdateWirePropertyType, bn as PageResult, bo as PaletteInterpretation, bp as PossibleWhereClauseFilters, bq as PrimaryKeyType, br as PropertyBooleanFormattingRule, bs as PropertyDateFormattingRule, bt as PropertyDef, bu as PropertyKeys, bv as PropertyKnownTypeFormattingRule, bw as PropertyMarkings, bx as PropertyNumberFormattingRule, by as PropertyNumberFormattingRuleType, bz as PropertySecurity, bA as PropertyTimestampFormattingRule, bB as PropertyTypeReference, bC as PropertyTypeReferenceOrStringConstant, bD as PropertyValueFormattingRule, bE as Result, bF as RotationAngle, bG as SelectArg, bH as SelectArgToKeys, bI as SimplePropertyDef, bJ as SingleLinkAccessor, bK as SingleOsdkResult, bL as SpreadsheetDecodeFormat, bM as SpreadsheetMediaItemMetadata, bN as StringConstant, bO as TimeCodeFormat, bP as TimeSeriesPoint, bQ as TimeSeriesProperty, bR as TimeSeriesQuery, bS as TimeseriesDurationMapping, bT as UnitInterpretation, bU as UnknownMediaItemMetadata, bV as UntypedMediaItemMetadata, bW as UpdateCipherText, bX as ValidAggregationKeys, bY as VersionBound, bZ as VideoDecodeFormat, b_ as VideoMediaItemMetadata, b$ as VideoSpecification, c0 as WhereClause, c1 as WirePropertyTypes, c2 as isOk } from './ObjectSet-DDFyl39-.cjs';
3
+ import { A as AggregationKeyTypes, a as AggregationRangeKeyTypes, b as AggregationValueTypes } from './QueryDefinition-BirZ8Xtb.cjs';
4
+ export { I as InterfaceQueryDataType, O as ObjectQueryDataType, c as ObjectSetQueryDataType, Q as QueryDataTypeDefinition, d as QueryDefinition, e as QueryMetadata, f as QueryParameterDefinition, T as ThreeDimensionalQueryAggregationDefinition, g as TwoDimensionalQueryAggregationDefinition } from './QueryDefinition-BirZ8Xtb.cjs';
5
5
  import 'type-fest';
6
6
  import 'geojson';
7
7
 
@@ -1,4 +1,4 @@
1
- export { D as DerivedLinkConfig, k as NullabilityOp, l as ShapeDerivedLinkDef, m as ShapeLinkObjectSetDef, n as ShapeLinkOrderBy, o as ShapeLinkSegment, p as ShapeLinkSetOperation, q as ShapePropertyConfig } from '../shapes-internal-B9BommJ_.cjs';
2
- import '../ObjectSet-CRa15Nk0.cjs';
1
+ export { D as DerivedLinkConfig, k as NullabilityOp, l as ShapeDerivedLinkDef, m as ShapeLinkObjectSetDef, n as ShapeLinkOrderBy, o as ShapeLinkSegment, p as ShapeLinkSetOperation, q as ShapePropertyConfig } from '../shapes-internal-CVGh64DZ.cjs';
2
+ import '../ObjectSet-DDFyl39-.cjs';
3
3
  import 'type-fest';
4
4
  import 'geojson';
@@ -1,8 +1,8 @@
1
- import { b as ObjectTypeDefinition, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, h as ObjectSet, a as OsdkMetadata, C as CompileTimeMetadata, O as ObjectOrInterfaceDefinition, bu as PropertyKeys, aW as NullabilityAdherence, bG as SelectArg, bg as Osdk, c3 as ExtractOptions, c4 as ApplyModifiersArg, c5 as PropertyModifierValue, ai as FetchPageArgs, aj as FetchPageResult, j as OsdkBase, aG as LinkTypeApiNamesFor, c6 as LinkedObjectType, c7 as Just, bc as ObjectSetSubscription, d as Media } from '../ObjectSet-CRa15Nk0.cjs';
2
- export { c8 as MinimalObjectSet } from '../ObjectSet-CRa15Nk0.cjs';
3
- import { d as QueryDefinition } from '../QueryDefinition-lO6Jli1g.cjs';
4
- import { P as PropertyType, S as ShapeLinkBuilder, a as ShapeDefinition, R as RequiredProperty, b as ShapeBuilder } from '../shapes-internal-B9BommJ_.cjs';
5
- export { L as LinkLoadConfig, c as LinkStatus, N as NullabilityViolation, d as ShapeBaseType, e as ShapeDerivedLinks, f as ShapeInstance, g as ShapeLinkResult, h as ShapeNullabilityError, i as SourcePrimaryKeySymbol, j as isSourcePkSymbol } from '../shapes-internal-B9BommJ_.cjs';
1
+ import { b as ObjectTypeDefinition, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, h as ObjectSet, a as OsdkMetadata, C as CompileTimeMetadata, O as ObjectOrInterfaceDefinition, bu as PropertyKeys, aW as NullabilityAdherence, bG as SelectArg, bg as Osdk, c3 as ExtractOptions, c4 as ApplyModifiersArg, c5 as PropertyModifierValue, ai as FetchPageArgs, aj as FetchPageResult, j as OsdkBase, aG as LinkTypeApiNamesFor, c6 as LinkedObjectType, c7 as Just, bc as ObjectSetSubscription, d as Media } from '../ObjectSet-DDFyl39-.cjs';
2
+ export { c8 as MinimalObjectSet } from '../ObjectSet-DDFyl39-.cjs';
3
+ import { d as QueryDefinition } from '../QueryDefinition-BirZ8Xtb.cjs';
4
+ import { P as PropertyType, S as ShapeLinkBuilder, a as ShapeDefinition, R as RequiredProperty, b as ShapeBuilder } from '../shapes-internal-CVGh64DZ.cjs';
5
+ export { L as LinkLoadConfig, c as LinkStatus, N as NullabilityViolation, d as ShapeBaseType, e as ShapeDerivedLinks, f as ShapeInstance, g as ShapeLinkResult, h as ShapeNullabilityError, i as SourcePrimaryKeySymbol, j as isSourcePkSymbol } from '../shapes-internal-CVGh64DZ.cjs';
6
6
  import 'type-fest';
7
7
  import 'geojson';
8
8
 
@@ -1,4 +1,4 @@
1
- import { O as ObjectOrInterfaceDefinition, c0 as WhereClause, bu as PropertyKeys, C as CompileTimeMetadata, aF as LinkNames, aH as LinkedType, j as OsdkBase } from './ObjectSet-CRa15Nk0.cjs';
1
+ import { O as ObjectOrInterfaceDefinition, c0 as WhereClause, bu as PropertyKeys, C as CompileTimeMetadata, aF as LinkNames, aH as LinkedType, j as OsdkBase } from './ObjectSet-DDFyl39-.cjs';
2
2
 
3
3
  declare const SourcePrimaryKeySymbol: unique symbol;
4
4
  declare function isSourcePkSymbol(value: unknown): value is symbol;
@@ -1 +1 @@
1
- {"version":3,"file":"StringFilter.js","names":["StringFilter","_typeCheck"],"sources":["StringFilter.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { IntervalRule } from \"./IntervalRule.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface StringFilterOptions extends BaseFilterOptions<string> {\n $startsWith: string;\n $containsAllTermsInOrder: string;\n $containsAnyTerm: string | { term: string; fuzzySearch?: boolean };\n $containsAllTerms: string | { term: string; fuzzySearch?: boolean };\n $interval: IntervalRule;\n /**\n * Matches any of the provided values. If an empty array is provided, the filter will match all objects.\n */\n $in: ReadonlyArray<string>;\n $gt: string;\n $gte: string;\n $lt: string;\n $lte: string;\n /**\n * @beta\n * For supported regex expressions, refer to https://www.palantir.com/docs/foundry/ontology/search-syntax\n */\n $matchesRegex: string;\n}\n\nexport namespace StringFilter {\n export interface $eq extends Just<\"$eq\", StringFilterOptions> {}\n export interface $ne extends Just<\"$ne\", StringFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", StringFilterOptions> {}\n export interface $startsWith extends Just<\n \"$startsWith\",\n StringFilterOptions\n > {}\n export interface $containsAllTermsInOrder extends Just<\n \"$containsAllTermsInOrder\",\n StringFilterOptions\n > {}\n export interface $containsAnyTerm extends Just<\n \"$containsAnyTerm\",\n StringFilterOptions\n > {}\n export interface $containsAllTerms extends Just<\n \"$containsAllTerms\",\n StringFilterOptions\n > {}\n export interface $interval extends Just<\"$interval\", StringFilterOptions> {}\n export interface $in extends Just<\"$in\", StringFilterOptions> {}\n export interface $gt extends Just<\"$gt\", StringFilterOptions> {}\n export interface $gte extends Just<\"$gte\", StringFilterOptions> {}\n export interface $lt extends Just<\"$lt\", StringFilterOptions> {}\n export interface $lte extends Just<\"$lte\", StringFilterOptions> {}\n export interface $matchesRegex extends Just<\n \"$matchesRegex\",\n StringFilterOptions\n > {}\n}\n\nexport type StringFilter =\n | string\n | StringFilter.$eq\n | StringFilter.$ne\n | StringFilter.$isNull\n | StringFilter.$in\n | StringFilter.$startsWith\n | StringFilter.$containsAllTermsInOrder\n | StringFilter.$containsAnyTerm\n | StringFilter.$containsAllTerms\n | StringFilter.$interval\n | StringFilter.$gt\n | StringFilter.$gte\n | StringFilter.$lt\n | StringFilter.$lte\n | StringFilter.$matchesRegex;\n\n/** @internal */\nfunction _typeCheck() {\n const b: StringFilter = {} as CatchThemAll<StringFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAyCiBA,YAAY;AAiD7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
1
+ {"version":3,"file":"StringFilter.js","names":["StringFilter","_typeCheck"],"sources":["StringFilter.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { IntervalRule } from \"./IntervalRule.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface PhoneticSearchOptions {\n term: string;\n phoneticSearch?: boolean;\n}\n\ntype FuzzyOrPhoneticSearchOptions =\n | {\n term: string;\n fuzzySearch?: boolean;\n phoneticSearch?: false;\n }\n | {\n term: string;\n fuzzySearch?: false;\n phoneticSearch?: boolean;\n };\n\ninterface StringFilterOptions extends BaseFilterOptions<string> {\n $startsWith: string | PhoneticSearchOptions;\n $containsAllTermsInOrder: string | PhoneticSearchOptions;\n $containsAnyTerm: string | FuzzyOrPhoneticSearchOptions;\n $containsAllTerms: string | FuzzyOrPhoneticSearchOptions;\n $interval: IntervalRule;\n /**\n * Matches any of the provided values. If an empty array is provided, the filter will match all objects.\n */\n $in: ReadonlyArray<string>;\n $gt: string;\n $gte: string;\n $lt: string;\n $lte: string;\n /**\n * @beta\n * For supported regex expressions, refer to https://www.palantir.com/docs/foundry/ontology/search-syntax\n */\n $matchesRegex: string;\n}\n\nexport namespace StringFilter {\n export interface $eq extends Just<\"$eq\", StringFilterOptions> {}\n export interface $ne extends Just<\"$ne\", StringFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", StringFilterOptions> {}\n export interface $startsWith extends Just<\n \"$startsWith\",\n StringFilterOptions\n > {}\n export interface $containsAllTermsInOrder extends Just<\n \"$containsAllTermsInOrder\",\n StringFilterOptions\n > {}\n export interface $containsAnyTerm extends Just<\n \"$containsAnyTerm\",\n StringFilterOptions\n > {}\n export interface $containsAllTerms extends Just<\n \"$containsAllTerms\",\n StringFilterOptions\n > {}\n export interface $interval extends Just<\"$interval\", StringFilterOptions> {}\n export interface $in extends Just<\"$in\", StringFilterOptions> {}\n export interface $gt extends Just<\"$gt\", StringFilterOptions> {}\n export interface $gte extends Just<\"$gte\", StringFilterOptions> {}\n export interface $lt extends Just<\"$lt\", StringFilterOptions> {}\n export interface $lte extends Just<\"$lte\", StringFilterOptions> {}\n export interface $matchesRegex extends Just<\n \"$matchesRegex\",\n StringFilterOptions\n > {}\n}\n\nexport type StringFilter =\n | string\n | StringFilter.$eq\n | StringFilter.$ne\n | StringFilter.$isNull\n | StringFilter.$in\n | StringFilter.$startsWith\n | StringFilter.$containsAllTermsInOrder\n | StringFilter.$containsAnyTerm\n | StringFilter.$containsAllTerms\n | StringFilter.$interval\n | StringFilter.$gt\n | StringFilter.$gte\n | StringFilter.$lt\n | StringFilter.$lte\n | StringFilter.$matchesRegex;\n\n/** @internal */\nfunction _typeCheck() {\n const b: StringFilter = {} as CatchThemAll<StringFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA0DiBA,YAAY;AAiD7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
@@ -1,17 +1,24 @@
1
1
  import type { BaseFilterOptions } from "./BaseFilter.js";
2
2
  import type { IntervalRule } from "./IntervalRule.js";
3
3
  import type { Just } from "./Just.js";
4
+ interface PhoneticSearchOptions {
5
+ term: string;
6
+ phoneticSearch?: boolean;
7
+ }
8
+ type FuzzyOrPhoneticSearchOptions = {
9
+ term: string
10
+ fuzzySearch?: boolean
11
+ phoneticSearch?: false
12
+ } | {
13
+ term: string
14
+ fuzzySearch?: false
15
+ phoneticSearch?: boolean
16
+ };
4
17
  interface StringFilterOptions extends BaseFilterOptions<string> {
5
- $startsWith: string;
6
- $containsAllTermsInOrder: string;
7
- $containsAnyTerm: string | {
8
- term: string
9
- fuzzySearch?: boolean
10
- };
11
- $containsAllTerms: string | {
12
- term: string
13
- fuzzySearch?: boolean
14
- };
18
+ $startsWith: string | PhoneticSearchOptions;
19
+ $containsAllTermsInOrder: string | PhoneticSearchOptions;
20
+ $containsAnyTerm: string | FuzzyOrPhoneticSearchOptions;
21
+ $containsAllTerms: string | FuzzyOrPhoneticSearchOptions;
15
22
  $interval: IntervalRule;
16
23
  /**
17
24
  * Matches any of the provided values. If an empty array is provided, the filter will match all objects.
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,yBAAuC,iBAAkB;AACvE,cAAc,oBAAoB,mBAAoB;AACtD,cAAc,YAAY,WAAY;UAE5B,4BAA4B,0BAA0B;CAC9D;CACA;CACA,2BAA2B;EAAE;EAAc;CAAuB;CAClE,4BAA4B;EAAE;EAAc;CAAuB;CACnE,WAAW;;;;CAIX,KAAK;CACL;CACA;CACA;CACA;;;;;CAKA;AACD;AAED,yBAAiB;WACE,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,gBAAgB,KAAK,WAAW,qBAAqB,CAAE;WACvD,oBAAoB,KACnC,eACA,qBACA,CAAE;WACa,iCAAiC,KAChD,4BACA,qBACA,CAAE;WACa,yBAAyB,KACxC,oBACA,qBACA,CAAE;WACa,0BAA0B,KACzC,qBACA,qBACA,CAAE;WACa,kBAAkB,KAAK,aAAa,qBAAqB,CAAE;WAC3D,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,aAAa,KAAK,QAAQ,qBAAqB,CAAE;WACjD,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,aAAa,KAAK,QAAQ,qBAAqB,CAAE;WACjD,sBAAsB,KACrC,iBACA,qBACA,CAAE;;AAGN,YAAY,wBAER,aAAa,MACb,aAAa,MACb,aAAa,UACb,aAAa,MACb,aAAa,cACb,aAAa,2BACb,aAAa,mBACb,aAAa,oBACb,aAAa,YACb,aAAa,MACb,aAAa,OACb,aAAa,MACb,aAAa,OACb,aAAa","names":[],"sources":["../../../src/aggregate/StringFilter.ts"],"version":3,"file":"StringFilter.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,yBAAuC,iBAAkB;AACvE,cAAc,oBAAoB,mBAAoB;AACtD,cAAc,YAAY,WAAY;UAE5B,sBAAsB;CAC9B;CACA;AACD;KAEI,+BACD;CACE;CACA;CACA,iBAAiB;AAClB,IACD;CACE;CACA,cAAc;CACd;AACD;UAEK,4BAA4B,0BAA0B;CAC9D,sBAAsB;CACtB,mCAAmC;CACnC,2BAA2B;CAC3B,4BAA4B;CAC5B,WAAW;;;;CAIX,KAAK;CACL;CACA;CACA;CACA;;;;;CAKA;AACD;AAED,yBAAiB;WACE,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,gBAAgB,KAAK,WAAW,qBAAqB,CAAE;WACvD,oBAAoB,KACnC,eACA,qBACA,CAAE;WACa,iCAAiC,KAChD,4BACA,qBACA,CAAE;WACa,yBAAyB,KACxC,oBACA,qBACA,CAAE;WACa,0BAA0B,KACzC,qBACA,qBACA,CAAE;WACa,kBAAkB,KAAK,aAAa,qBAAqB,CAAE;WAC3D,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,aAAa,KAAK,QAAQ,qBAAqB,CAAE;WACjD,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,aAAa,KAAK,QAAQ,qBAAqB,CAAE;WACjD,sBAAsB,KACrC,iBACA,qBACA,CAAE;;AAGN,YAAY,wBAER,aAAa,MACb,aAAa,MACb,aAAa,UACb,aAAa,MACb,aAAa,cACb,aAAa,2BACb,aAAa,mBACb,aAAa,oBACb,aAAa,YACb,aAAa,MACb,aAAa,OACb,aAAa,MACb,aAAa,OACb,aAAa","names":[],"sources":["../../../src/aggregate/StringFilter.ts"],"version":3,"file":"StringFilter.d.ts"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/api",
3
- "version": "2.87.0-main-1fd9dc45c62080a4e08f07409af63a8565eb85b4",
3
+ "version": "2.87.0",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",