@osdk/api 2.85.0-main-046aba461351e419f42a8bfc300efb3b324f327c → 2.85.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,6 +1,10 @@
1
1
  # @osdk/api
2
2
 
3
- ## 2.85.0-main-046aba461351e419f42a8bfc300efb3b324f327c
3
+ ## 2.85.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a0c6e14: New TimeSeriesReference action parameter
4
8
 
5
9
  ## 2.84.0
6
10
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["DistanceUnitMapping","DurationMapping","isOk","TimeseriesDurationMapping"],"sources":["index.ts"],"sourcesContent":["/*\n * Copyright 2023 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\nexport type { ActionReturnTypeForOptions } from \"./actions/ActionReturnTypeForOptions.js\";\nexport type {\n ActionEditResponse,\n ActionParam,\n ActionValidationResponse,\n ApplyActionOptions,\n ApplyBatchActionOptions,\n} from \"./actions/Actions.js\";\nexport type { ValidAggregationKeys } from \"./aggregate/AggregatableKeys.js\";\nexport type { AggregateOpts } from \"./aggregate/AggregateOpts.js\";\nexport type { AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy } from \"./aggregate/AggregateOptsThatErrors.js\";\nexport type { AggregationResultsWithGroups } from \"./aggregate/AggregationResultsWithGroups.js\";\nexport type { AggregationResultsWithoutGroups } from \"./aggregate/AggregationResultsWithoutGroups.js\";\nexport type { AggregationClause } from \"./aggregate/AggregationsClause.js\";\nexport type { AggregationsResults } from \"./aggregate/AggregationsResults.js\";\nexport type { GeoFilterOptions } from \"./aggregate/GeoFilter.js\";\nexport type { IntervalRule } from \"./aggregate/IntervalRule.js\";\nexport { DistanceUnitMapping } from \"./aggregate/WhereClause.js\";\nexport type {\n AndWhereClause,\n GeoFilter_Intersects,\n GeoFilter_Within,\n NotWhereClause,\n OrWhereClause,\n PossibleWhereClauseFilters,\n WhereClause,\n} from \"./aggregate/WhereClause.js\";\nexport type {\n OsdkObjectCreatePropertyType,\n OsdkObjectCreateWirePropertyType,\n OsdkObjectPropertyType,\n OsdkObjectUpdatePropertyType,\n OsdkObjectUpdateWirePropertyType,\n} from \"./Definitions.js\";\nexport type {\n OsdkObjectLinksObject,\n SingleLinkAccessor,\n} from \"./definitions/LinkDefinitions.js\";\nexport { type DerivedProperty } from \"./derivedProperties/DerivedProperty.js\";\nexport { DurationMapping } from \"./groupby/GroupByClause.js\";\nexport type {\n AllGroupByValues,\n GroupByClause,\n GroupByRange,\n} from \"./groupby/GroupByClause.js\";\nexport type { Logger } from \"./Logger.js\";\nexport type {\n AllowedBucketKeyTypes,\n AllowedBucketTypes,\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"./mapping/DataValueMapping.js\";\nexport type { PropertyValueWireToClient } from \"./mapping/PropertyValueMapping.js\";\nexport type {\n Attachment,\n AttachmentMetadata,\n AttachmentUpload,\n} from \"./object/Attachment.js\";\nexport type { CipherChannelStrategy } from \"./object/CipherText.js\";\nexport type {\n CipherText,\n CipherTextValue,\n CreateCipherText,\n UpdateCipherText,\n} from \"./object/CipherText.js\";\nexport type {\n AsyncIterArgs,\n Augment,\n Augments,\n FetchPageArgs,\n NullabilityAdherence,\n ObjectSetArgs,\n SelectArg,\n SelectArgToKeys,\n} from \"./object/FetchPageArgs.js\";\nexport type {\n FetchPageResult,\n SingleOsdkResult,\n} from \"./object/FetchPageResult.js\";\nexport type {\n AffineTransform,\n AudioDecodeFormat,\n AudioMediaItemMetadata,\n AudioSpecification,\n BandInfo,\n ColorInterpretation,\n CommonDicomDataElements,\n CoordinateReferenceSystem,\n DataType,\n DicomDataElementKey,\n DicomMediaItemMetadata,\n DicomMediaType,\n DicomMetaInformation,\n DicomMetaInformationV1,\n Dimensions,\n DocumentDecodeFormat,\n DocumentMediaItemMetadata,\n EmailAttachment,\n EmailDecodeFormat,\n EmailMediaItemMetadata,\n FlipAxis,\n GcpList,\n GeoMetadata,\n GpsMetadata,\n GroundControlPoint,\n Group,\n GroupWrapper,\n ImageAttributeDomain,\n ImageAttributeKey,\n ImageryDecodeFormat,\n ImageryMediaItemMetadata,\n Mailbox,\n MailboxOrGroup,\n MailboxWrapper,\n Media,\n MediaFullMetadata,\n MediaItemMetadata,\n MediaMetadata,\n MediaPropertyLocation,\n MediaReference,\n MediaUpload,\n Modality,\n Model3dDecodeFormat,\n Model3dMediaItemMetadata,\n Model3dType,\n Orientation,\n PaletteInterpretation,\n RotationAngle,\n SpreadsheetDecodeFormat,\n SpreadsheetMediaItemMetadata,\n UnitInterpretation,\n UnknownMediaItemMetadata,\n UntypedMediaItemMetadata,\n VideoDecodeFormat,\n VideoMediaItemMetadata,\n VideoSpecification,\n} from \"./object/Media.js\";\nexport type {\n PropertyMarkings,\n PropertySecurity,\n} from \"./object/PropertySecurity.js\";\nexport { isOk } from \"./object/Result.js\";\nexport type { Result } from \"./object/Result.js\";\nexport type { BaseObjectSet } from \"./objectSet/BaseObjectSet.js\";\nexport type { ObjectSet } from \"./objectSet/ObjectSet.js\";\nexport type {\n FetchLinksPageResult,\n LinkTypeApiNamesFor,\n MinimalDirectedObjectLinkInstance,\n} from \"./objectSet/ObjectSetLinks.js\";\nexport type { ObjectSetSubscription } from \"./objectSet/ObjectSetListener.js\";\nexport type {\n ActionDefinition,\n ActionMetadata,\n} from \"./ontology/ActionDefinition.js\";\nexport type {\n InterfaceDefinition,\n InterfaceMetadata,\n} from \"./ontology/InterfaceDefinition.js\";\nexport type {\n ObjectOrInterfaceDefinition,\n PropertyKeys,\n} from \"./ontology/ObjectOrInterface.js\";\nexport type { ObjectSpecifier } from \"./ontology/ObjectSpecifier.js\";\nexport type {\n CompileTimeMetadata,\n ObjectMetadata,\n ObjectTypeDefinition,\n PropertyDef,\n VersionBound,\n} from \"./ontology/ObjectTypeDefinition.js\";\nexport type { OntologyMetadata } from \"./ontology/OntologyMetadata.js\";\nexport type { PrimaryKeyTypes } from \"./ontology/PrimaryKeyTypes.js\";\nexport type {\n InterfaceQueryDataType,\n ObjectQueryDataType,\n ObjectSetQueryDataType,\n QueryDataTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n QueryParameterDefinition,\n ThreeDimensionalQueryAggregationDefinition,\n TwoDimensionalQueryAggregationDefinition,\n} from \"./ontology/QueryDefinition.js\";\nexport type { SimplePropertyDef } from \"./ontology/SimplePropertyDef.js\";\nexport type { PropertyBooleanFormattingRule } from \"./ontology/valueFormatting/PropertyBooleanFormattingRule.js\";\nexport type {\n DatetimeFormat,\n DatetimeLocalizedFormat,\n DatetimeLocalizedFormatType,\n DatetimeStringFormat,\n DatetimeTimezone,\n DatetimeTimezoneStatic,\n DatetimeTimezoneUser,\n PropertyDateFormattingRule,\n PropertyTimestampFormattingRule,\n} from \"./ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js\";\nexport type {\n KnownType,\n PropertyKnownTypeFormattingRule,\n} from \"./ontology/valueFormatting/PropertyKnownTypeFormattingRule.js\";\nexport type {\n Affix,\n DurationBaseValue,\n DurationFormatStyle,\n DurationPrecision,\n HumanReadableFormat,\n NumberFormatAffix,\n NumberFormatCurrency,\n NumberFormatCurrencyStyle,\n NumberFormatCustomUnit,\n NumberFormatDuration,\n NumberFormatFixedValues,\n NumberFormatNotation,\n NumberFormatOptions,\n NumberFormatRatio,\n NumberFormatScale,\n NumberFormatStandard,\n NumberFormatStandardUnit,\n NumberRatioType,\n NumberRoundingMode,\n NumberScaleType,\n PropertyNumberFormattingRule,\n PropertyNumberFormattingRuleType,\n TimeCodeFormat,\n} from \"./ontology/valueFormatting/PropertyNumberFormattingRule.js\";\nexport type { PropertyValueFormattingRule } from \"./ontology/valueFormatting/PropertyValueFormattingRule.js\";\nexport type {\n PropertyTypeReference,\n PropertyTypeReferenceOrStringConstant,\n StringConstant,\n} from \"./ontology/valueFormatting/PropertyValueFormattingUtils.js\";\nexport type {\n BaseWirePropertyTypes,\n WirePropertyTypes,\n} from \"./ontology/WirePropertyTypes.js\";\nexport type {\n ObjectIdentifiers,\n OsdkBase,\n PrimaryKeyType,\n} from \"./OsdkBase.js\";\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport type { OsdkObject } from \"./OsdkObject.js\";\nexport type { ConvertProps, MaybeScore, Osdk } from \"./OsdkObjectFrom.js\";\nexport type { PageResult } from \"./PageResult.js\";\nexport type {\n Range,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n} from \"./queries/Aggregations.js\";\nexport type { QueryParam, QueryResult } from \"./queries/Queries.js\";\nexport { TimeseriesDurationMapping } from \"./timeseries/timeseries.js\";\nexport type {\n GeotimeSeriesProperty,\n TimeSeriesPoint,\n TimeSeriesProperty,\n TimeSeriesQuery,\n} from \"./timeseries/timeseries.js\";\nexport type { LinkedType, LinkNames } from \"./util/LinkUtils.js\";\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA,SAASA,mBAAmB,QAAQ,4BAA4B;AAsBhE,SAASC,eAAe,QAAQ,4BAA4B;AAsG5D,SAASC,IAAI,QAAQ,oBAAoB;;AAoGzC;;AAUA,SAASC,yBAAyB,QAAQ,4BAA4B;AAQtE","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["DistanceUnitMapping","DurationMapping","isOk","TimeseriesDurationMapping"],"sources":["index.ts"],"sourcesContent":["/*\n * Copyright 2023 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\nexport type { ActionReturnTypeForOptions } from \"./actions/ActionReturnTypeForOptions.js\";\nexport type {\n ActionEditResponse,\n ActionParam,\n ActionValidationResponse,\n ApplyActionOptions,\n ApplyBatchActionOptions,\n} from \"./actions/Actions.js\";\nexport type { ValidAggregationKeys } from \"./aggregate/AggregatableKeys.js\";\nexport type { AggregateOpts } from \"./aggregate/AggregateOpts.js\";\nexport type { AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy } from \"./aggregate/AggregateOptsThatErrors.js\";\nexport type { AggregationResultsWithGroups } from \"./aggregate/AggregationResultsWithGroups.js\";\nexport type { AggregationResultsWithoutGroups } from \"./aggregate/AggregationResultsWithoutGroups.js\";\nexport type { AggregationClause } from \"./aggregate/AggregationsClause.js\";\nexport type { AggregationsResults } from \"./aggregate/AggregationsResults.js\";\nexport type { GeoFilterOptions } from \"./aggregate/GeoFilter.js\";\nexport type { IntervalRule } from \"./aggregate/IntervalRule.js\";\nexport { DistanceUnitMapping } from \"./aggregate/WhereClause.js\";\nexport type {\n AndWhereClause,\n GeoFilter_Intersects,\n GeoFilter_Within,\n NotWhereClause,\n OrWhereClause,\n PossibleWhereClauseFilters,\n WhereClause,\n} from \"./aggregate/WhereClause.js\";\nexport type {\n OsdkObjectCreatePropertyType,\n OsdkObjectCreateWirePropertyType,\n OsdkObjectPropertyType,\n OsdkObjectUpdatePropertyType,\n OsdkObjectUpdateWirePropertyType,\n} from \"./Definitions.js\";\nexport type {\n OsdkObjectLinksObject,\n SingleLinkAccessor,\n} from \"./definitions/LinkDefinitions.js\";\nexport { type DerivedProperty } from \"./derivedProperties/DerivedProperty.js\";\nexport { DurationMapping } from \"./groupby/GroupByClause.js\";\nexport type {\n AllGroupByValues,\n GroupByClause,\n GroupByRange,\n} from \"./groupby/GroupByClause.js\";\nexport type { Logger } from \"./Logger.js\";\nexport type {\n AllowedBucketKeyTypes,\n AllowedBucketTypes,\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"./mapping/DataValueMapping.js\";\nexport type { PropertyValueWireToClient } from \"./mapping/PropertyValueMapping.js\";\nexport type {\n Attachment,\n AttachmentMetadata,\n AttachmentUpload,\n} from \"./object/Attachment.js\";\nexport type { CipherChannelStrategy } from \"./object/CipherText.js\";\nexport type {\n CipherText,\n CipherTextValue,\n CreateCipherText,\n UpdateCipherText,\n} from \"./object/CipherText.js\";\nexport type {\n AsyncIterArgs,\n Augment,\n Augments,\n FetchPageArgs,\n NullabilityAdherence,\n ObjectSetArgs,\n SelectArg,\n SelectArgToKeys,\n} from \"./object/FetchPageArgs.js\";\nexport type {\n FetchPageResult,\n SingleOsdkResult,\n} from \"./object/FetchPageResult.js\";\nexport type {\n AffineTransform,\n AudioDecodeFormat,\n AudioMediaItemMetadata,\n AudioSpecification,\n BandInfo,\n ColorInterpretation,\n CommonDicomDataElements,\n CoordinateReferenceSystem,\n DataType,\n DicomDataElementKey,\n DicomMediaItemMetadata,\n DicomMediaType,\n DicomMetaInformation,\n DicomMetaInformationV1,\n Dimensions,\n DocumentDecodeFormat,\n DocumentMediaItemMetadata,\n EmailAttachment,\n EmailDecodeFormat,\n EmailMediaItemMetadata,\n FlipAxis,\n GcpList,\n GeoMetadata,\n GpsMetadata,\n GroundControlPoint,\n Group,\n GroupWrapper,\n ImageAttributeDomain,\n ImageAttributeKey,\n ImageryDecodeFormat,\n ImageryMediaItemMetadata,\n Mailbox,\n MailboxOrGroup,\n MailboxWrapper,\n Media,\n MediaFullMetadata,\n MediaItemMetadata,\n MediaMetadata,\n MediaPropertyLocation,\n MediaReference,\n MediaUpload,\n Modality,\n Model3dDecodeFormat,\n Model3dMediaItemMetadata,\n Model3dType,\n Orientation,\n PaletteInterpretation,\n RotationAngle,\n SpreadsheetDecodeFormat,\n SpreadsheetMediaItemMetadata,\n UnitInterpretation,\n UnknownMediaItemMetadata,\n UntypedMediaItemMetadata,\n VideoDecodeFormat,\n VideoMediaItemMetadata,\n VideoSpecification,\n} from \"./object/Media.js\";\nexport type {\n PropertyMarkings,\n PropertySecurity,\n} from \"./object/PropertySecurity.js\";\nexport { isOk } from \"./object/Result.js\";\nexport type { Result } from \"./object/Result.js\";\nexport type { BaseObjectSet } from \"./objectSet/BaseObjectSet.js\";\nexport type { ObjectSet } from \"./objectSet/ObjectSet.js\";\nexport type {\n FetchLinksPageResult,\n LinkTypeApiNamesFor,\n MinimalDirectedObjectLinkInstance,\n} from \"./objectSet/ObjectSetLinks.js\";\nexport type { ObjectSetSubscription } from \"./objectSet/ObjectSetListener.js\";\nexport type {\n ActionDefinition,\n ActionMetadata,\n} from \"./ontology/ActionDefinition.js\";\nexport type {\n InterfaceDefinition,\n InterfaceMetadata,\n} from \"./ontology/InterfaceDefinition.js\";\nexport type {\n ObjectOrInterfaceDefinition,\n PropertyKeys,\n} from \"./ontology/ObjectOrInterface.js\";\nexport type { ObjectSpecifier } from \"./ontology/ObjectSpecifier.js\";\nexport type {\n CompileTimeMetadata,\n ObjectMetadata,\n ObjectTypeDefinition,\n PropertyDef,\n VersionBound,\n} from \"./ontology/ObjectTypeDefinition.js\";\nexport type { OntologyMetadata } from \"./ontology/OntologyMetadata.js\";\nexport type { PrimaryKeyTypes } from \"./ontology/PrimaryKeyTypes.js\";\nexport type {\n InterfaceQueryDataType,\n ObjectQueryDataType,\n ObjectSetQueryDataType,\n QueryDataTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n QueryParameterDefinition,\n ThreeDimensionalQueryAggregationDefinition,\n TwoDimensionalQueryAggregationDefinition,\n} from \"./ontology/QueryDefinition.js\";\nexport type { SimplePropertyDef } from \"./ontology/SimplePropertyDef.js\";\nexport type { PropertyBooleanFormattingRule } from \"./ontology/valueFormatting/PropertyBooleanFormattingRule.js\";\nexport type {\n DatetimeFormat,\n DatetimeLocalizedFormat,\n DatetimeLocalizedFormatType,\n DatetimeStringFormat,\n DatetimeTimezone,\n DatetimeTimezoneStatic,\n DatetimeTimezoneUser,\n PropertyDateFormattingRule,\n PropertyTimestampFormattingRule,\n} from \"./ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js\";\nexport type {\n KnownType,\n PropertyKnownTypeFormattingRule,\n} from \"./ontology/valueFormatting/PropertyKnownTypeFormattingRule.js\";\nexport type {\n Affix,\n DurationBaseValue,\n DurationFormatStyle,\n DurationPrecision,\n HumanReadableFormat,\n NumberFormatAffix,\n NumberFormatCurrency,\n NumberFormatCurrencyStyle,\n NumberFormatCustomUnit,\n NumberFormatDuration,\n NumberFormatFixedValues,\n NumberFormatNotation,\n NumberFormatOptions,\n NumberFormatRatio,\n NumberFormatScale,\n NumberFormatStandard,\n NumberFormatStandardUnit,\n NumberRatioType,\n NumberRoundingMode,\n NumberScaleType,\n PropertyNumberFormattingRule,\n PropertyNumberFormattingRuleType,\n TimeCodeFormat,\n} from \"./ontology/valueFormatting/PropertyNumberFormattingRule.js\";\nexport type { PropertyValueFormattingRule } from \"./ontology/valueFormatting/PropertyValueFormattingRule.js\";\nexport type {\n PropertyTypeReference,\n PropertyTypeReferenceOrStringConstant,\n StringConstant,\n} from \"./ontology/valueFormatting/PropertyValueFormattingUtils.js\";\nexport type {\n BaseWirePropertyTypes,\n WirePropertyTypes,\n} from \"./ontology/WirePropertyTypes.js\";\nexport type {\n ObjectIdentifiers,\n OsdkBase,\n PrimaryKeyType,\n} from \"./OsdkBase.js\";\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport type { OsdkObject } from \"./OsdkObject.js\";\nexport type { ConvertProps, MaybeScore, Osdk } from \"./OsdkObjectFrom.js\";\nexport type { PageResult } from \"./PageResult.js\";\nexport type {\n Range,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n} from \"./queries/Aggregations.js\";\nexport type { QueryParam, QueryResult } from \"./queries/Queries.js\";\nexport { TimeseriesDurationMapping } from \"./timeseries/timeseries.js\";\nexport type {\n GeotimeSeriesProperty,\n TimeSeriesPoint,\n TimeSeriesProperty,\n TimeSeriesQuery,\n TimeSeriesReference,\n} from \"./timeseries/timeseries.js\";\nexport type { LinkedType, LinkNames } from \"./util/LinkUtils.js\";\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA,SAASA,mBAAmB,QAAQ,4BAA4B;AAsBhE,SAASC,eAAe,QAAQ,4BAA4B;AAsG5D,SAASC,IAAI,QAAQ,oBAAoB;;AAoGzC;;AAUA,SAASC,yBAAyB,QAAQ,4BAA4B;AAStE","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"DataValueMapping.js","names":[],"sources":["DataValueMapping.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 { Attachment, AttachmentUpload } from \"../object/Attachment.js\";\nimport type { Media, MediaReference, MediaUpload } from \"../object/Media.js\";\n\n/**\n * Map from the DataValue type to the typescript type that we return\n */\nexport interface DataValueWireToClient {\n attachment: Attachment;\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string;\n float: number;\n double: number;\n integer: number;\n long: string;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n mediaReference: MediaReference;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n set: Set<any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n scenarioReference: never;\n}\n\n/**\n * Map from the DataValue type to the typescript type that we accept\n */\nexport interface DataValueClientToWire {\n attachment: string | AttachmentUpload | (Blob & { readonly name: string });\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string | number;\n float: number;\n double: number;\n integer: number;\n long: string | number;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n set: Set<any>;\n mediaReference: MediaReference | MediaUpload | Media;\n /**\n * Structurally typed as the object that exposes `getScenarioReference()` — matches the `EXPERIMENTAL_ScenarioClient`\n * returned by `withScenario` / `createScenario` in `@osdk/client/unstable-do-not-use`. Defined inline to\n * avoid a circular dependency on `@osdk/client`.\n */\n scenarioReference: { getScenarioReference(): string };\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | {\n startValue: AllowedBucketTypes;\n endValue: AllowedBucketTypes;\n };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"DataValueMapping.js","names":[],"sources":["DataValueMapping.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 { Attachment, AttachmentUpload } from \"../object/Attachment.js\";\nimport type { Media, MediaReference, MediaUpload } from \"../object/Media.js\";\nimport type { TimeSeriesReference } from \"../timeseries/timeseries.js\";\n\n/**\n * Map from the DataValue type to the typescript type that we return\n */\nexport interface DataValueWireToClient {\n attachment: Attachment;\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string;\n float: number;\n double: number;\n integer: number;\n long: string;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n mediaReference: MediaReference;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n set: Set<any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n scenarioReference: never;\n timeSeriesReference: TimeSeriesReference;\n}\n\n/**\n * Map from the DataValue type to the typescript type that we accept\n */\nexport interface DataValueClientToWire {\n attachment: string | AttachmentUpload | (Blob & { readonly name: string });\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string | number;\n float: number;\n double: number;\n integer: number;\n long: string | number;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n set: Set<any>;\n mediaReference: MediaReference | MediaUpload | Media;\n /**\n * Structurally typed as the object that exposes `getScenarioReference()` — matches the `EXPERIMENTAL_ScenarioClient`\n * returned by `withScenario` / `createScenario` in `@osdk/client/unstable-do-not-use`. Defined inline to\n * avoid a circular dependency on `@osdk/client`.\n */\n scenarioReference: { getScenarioReference(): string };\n timeSeriesReference: TimeSeriesReference;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | {\n startValue: AllowedBucketTypes;\n endValue: AllowedBucketTypes;\n };\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"ActionDefinition.js","names":["ActionMetadata"],"sources":["ActionDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 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 { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { InterfaceDefinition } from \"./InterfaceDefinition.js\";\nimport type {\n ObjectTypeDefinition,\n ReleaseStatus,\n} from \"./ObjectTypeDefinition.js\";\n\nexport interface ActionMetadata {\n type: \"action\";\n apiName: string;\n unsanitizedApiName?: string;\n description?: string;\n displayName?: string;\n parameters: Record<any, ActionMetadata.Parameter<any>>;\n modifiedEntities?: Partial<\n Record<\n any,\n {\n created: boolean;\n modified: boolean;\n }\n >\n >;\n status: ReleaseStatus | undefined;\n rid: string;\n}\n\nexport namespace ActionMetadata {\n export interface Parameter<T_Target extends ObjectTypeDefinition = never> {\n type:\n | DataType.BaseActionParameterTypes\n | DataType.Object<any>\n | DataType.ObjectSet<any>\n | DataType.Interface<any>\n | DataType.Struct<any>;\n description?: string;\n displayName?: string;\n multiplicity?: boolean;\n nullable?: boolean;\n }\n\n export namespace DataType {\n export type BaseActionParameterTypes =\n | \"boolean\"\n | \"string\"\n | \"integer\"\n | \"long\"\n | \"double\"\n | \"decimal\"\n | \"datetime\"\n | \"timestamp\"\n | \"attachment\"\n | \"marking\"\n | \"mediaReference\"\n | \"scenarioReference\"\n | \"objectType\"\n | \"geoshape\"\n | \"geohash\";\n\n export type StructFieldDefinition<\n T extends DataType.BaseActionParameterTypes,\n > =\n | T\n | {\n type: T;\n nullable: boolean;\n };\n\n export interface Object<T_Target extends ObjectTypeDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"object\";\n object: T_Target[\"apiName\"];\n }\n\n export interface Interface<T_Target extends InterfaceDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"interface\";\n interface: T_Target[\"apiName\"];\n }\n\n export interface ObjectSet<T_Target extends ObjectTypeDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"objectSet\";\n objectSet: T_Target[\"apiName\"];\n }\n\n export interface Struct<\n T extends Record<\n string,\n StructFieldDefinition<DataType.BaseActionParameterTypes>\n >,\n > {\n type: \"struct\";\n struct: T;\n }\n }\n}\n\nexport interface ActionCompileTimeMetadata<T> {\n signatures: T;\n}\n\nexport interface ActionDefinition<T_signatures = never> {\n type: \"action\";\n apiName: string;\n unsanitizedApiName?: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?: ActionCompileTimeMetadata<T_signatures> &\n ActionMetadata;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA2CiBA,cAAc","ignoreList":[]}
1
+ {"version":3,"file":"ActionDefinition.js","names":["ActionMetadata"],"sources":["ActionDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 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 { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { InterfaceDefinition } from \"./InterfaceDefinition.js\";\nimport type {\n ObjectTypeDefinition,\n ReleaseStatus,\n} from \"./ObjectTypeDefinition.js\";\n\nexport interface ActionMetadata {\n type: \"action\";\n apiName: string;\n unsanitizedApiName?: string;\n description?: string;\n displayName?: string;\n parameters: Record<any, ActionMetadata.Parameter<any>>;\n modifiedEntities?: Partial<\n Record<\n any,\n {\n created: boolean;\n modified: boolean;\n }\n >\n >;\n status: ReleaseStatus | undefined;\n rid: string;\n}\n\nexport namespace ActionMetadata {\n export interface Parameter<T_Target extends ObjectTypeDefinition = never> {\n type:\n | DataType.BaseActionParameterTypes\n | DataType.Object<any>\n | DataType.ObjectSet<any>\n | DataType.Interface<any>\n | DataType.Struct<any>;\n description?: string;\n displayName?: string;\n multiplicity?: boolean;\n nullable?: boolean;\n }\n\n export namespace DataType {\n export type BaseActionParameterTypes =\n | \"boolean\"\n | \"string\"\n | \"integer\"\n | \"long\"\n | \"double\"\n | \"decimal\"\n | \"datetime\"\n | \"timestamp\"\n | \"attachment\"\n | \"marking\"\n | \"mediaReference\"\n | \"scenarioReference\"\n | \"timeSeriesReference\"\n | \"objectType\"\n | \"geoshape\"\n | \"geohash\";\n\n export type StructFieldDefinition<\n T extends DataType.BaseActionParameterTypes,\n > =\n | T\n | {\n type: T;\n nullable: boolean;\n };\n\n export interface Object<T_Target extends ObjectTypeDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"object\";\n object: T_Target[\"apiName\"];\n }\n\n export interface Interface<T_Target extends InterfaceDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"interface\";\n interface: T_Target[\"apiName\"];\n }\n\n export interface ObjectSet<T_Target extends ObjectTypeDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"objectSet\";\n objectSet: T_Target[\"apiName\"];\n }\n\n export interface Struct<\n T extends Record<\n string,\n StructFieldDefinition<DataType.BaseActionParameterTypes>\n >,\n > {\n type: \"struct\";\n struct: T;\n }\n }\n}\n\nexport interface ActionCompileTimeMetadata<T> {\n signatures: T;\n}\n\nexport interface ActionDefinition<T_signatures = never> {\n type: \"action\";\n apiName: string;\n unsanitizedApiName?: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?: ActionCompileTimeMetadata<T_signatures> &\n ActionMetadata;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA2CiBA,cAAc","ignoreList":[]}
@@ -20,4 +20,10 @@ export const TimeseriesDurationMapping = {
20
20
  milliseconds: "MILLISECONDS",
21
21
  ...TimeDurationMapping
22
22
  };
23
+
24
+ /**
25
+ * A reference to a time series, used as the value of a `timeSeriesReference`
26
+ * Action parameter. The series is identified either by a series id (optionally
27
+ * qualified by a sync rid) or by a time series catalog template.
28
+ */
23
29
  //# sourceMappingURL=timeseries.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"timeseries.js","names":["TimeDurationMapping","TimeseriesDurationMapping","ms","milliseconds"],"sources":["timeseries.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 { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\n\nexport type TimeSeriesQuery =\n | {\n $before: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $after?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $after: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $before?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $startTime: string;\n $endTime?: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n }\n | {\n $startTime?: string;\n $endTime: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n };\n\nexport type TimeseriesDurationUnits =\n | \"YEARS\"\n | \"MONTHS\"\n | \"WEEKS\"\n | \"DAYS\"\n | \"HOURS\"\n | \"MINUTES\"\n | \"SECONDS\"\n | \"MILLISECONDS\";\n\nexport const TimeseriesDurationMapping: {\n sec: \"SECONDS\";\n seconds: \"SECONDS\";\n min: \"MINUTES\";\n minute: \"MINUTES\";\n minutes: \"MINUTES\";\n hr: \"HOURS\";\n hrs: \"HOURS\";\n hour: \"HOURS\";\n hours: \"HOURS\";\n day: \"DAYS\";\n days: \"DAYS\";\n wk: \"WEEKS\";\n week: \"WEEKS\";\n weeks: \"WEEKS\";\n mos: \"MONTHS\";\n month: \"MONTHS\";\n months: \"MONTHS\";\n yr: \"YEARS\";\n year: \"YEARS\";\n years: \"YEARS\";\n ms: \"MILLISECONDS\";\n milliseconds: \"MILLISECONDS\";\n} = {\n ms: \"MILLISECONDS\",\n milliseconds: \"MILLISECONDS\",\n ...TimeDurationMapping,\n} satisfies Record<string, TimeseriesDurationUnits>;\n\nexport interface TimeSeriesPoint<T extends string | number | GeoJSON.Point> {\n time: string;\n value: T;\n}\n\nexport interface TimeSeriesProperty<T extends number | string> {\n /**\n * Queries the first point of the Timeseries\n * @example\n * ```ts\n * const firstPoint = await employee.employeeStatus?.getFirstPoint();\n * ```\n * @returns the first point of the Timeseries\n */\n readonly getFirstPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Queries the last point of the Timeseries\n * @example\n * ```ts\n * const lastPoint = await employee.employeeStatus?.getLastPoint();\n * ```\n * @returns the last point of the Timeseries\n */\n readonly getLastPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const points = await employee.employeeStatus?.getAllPoints({\n * $after: 1,\n * $unit: \"month\",\n * });\n * ```\n */\n readonly getAllPoints: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const iterator = employee.employeeStatus?.asyncIter({\n * $after: 1,\n * $unit: \"month\",\n * });\n * for await (const point of iterator) {\n * // Handle time series point\n * }\n * ```\n */\n readonly asyncIterPoints: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n}\n\nexport interface GeotimeSeriesProperty<T extends GeoJSON.Point> {\n /**\n * Queries the last point of the Geotime series\n * @example\n * ```ts\n * const latestValue = await employee.travelHistory?.getLatestValue();\n * ```\n * @returns the last point of the Geotime series, or undefined if there are no points\n */\n readonly getLatestValue: () => Promise<TimeSeriesPoint<T> | undefined>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const points = await employee.employeeStatus?.getAllPoints({\n * $after: 1,\n * $unit: \"month\",\n * });\n * ```\n */\n readonly getAllValues: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const iterator = employee.employeeStatus?.asyncIter({\n * $after: 1,\n * $unit: \"month\",\n * });\n * for await (const point of iterator) {\n * // Handle time series point\n * }\n * ```\n */\n readonly asyncIterValues: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n\n /**\n * The most recently fetched value for the latest point in the GTSR.\n * This will not be loaded automatically upon object load, but will be refreshed every time\n * getLatestValue() is called\n */\n readonly lastFetchedValue: TimeSeriesPoint<T> | undefined;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,+BAA+B;AA0CnE,OAAO,MAAMC,yBAuBZ,GAAG;EACFC,EAAE,EAAE,cAAc;EAClBC,YAAY,EAAE,cAAc;EAC5B,GAAGH;AACL,CAAmD","ignoreList":[]}
1
+ {"version":3,"file":"timeseries.js","names":["TimeDurationMapping","TimeseriesDurationMapping","ms","milliseconds"],"sources":["timeseries.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 { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\n\nexport type TimeSeriesQuery =\n | {\n $before: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $after?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $after: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $before?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $startTime: string;\n $endTime?: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n }\n | {\n $startTime?: string;\n $endTime: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n };\n\nexport type TimeseriesDurationUnits =\n | \"YEARS\"\n | \"MONTHS\"\n | \"WEEKS\"\n | \"DAYS\"\n | \"HOURS\"\n | \"MINUTES\"\n | \"SECONDS\"\n | \"MILLISECONDS\";\n\nexport const TimeseriesDurationMapping: {\n sec: \"SECONDS\";\n seconds: \"SECONDS\";\n min: \"MINUTES\";\n minute: \"MINUTES\";\n minutes: \"MINUTES\";\n hr: \"HOURS\";\n hrs: \"HOURS\";\n hour: \"HOURS\";\n hours: \"HOURS\";\n day: \"DAYS\";\n days: \"DAYS\";\n wk: \"WEEKS\";\n week: \"WEEKS\";\n weeks: \"WEEKS\";\n mos: \"MONTHS\";\n month: \"MONTHS\";\n months: \"MONTHS\";\n yr: \"YEARS\";\n year: \"YEARS\";\n years: \"YEARS\";\n ms: \"MILLISECONDS\";\n milliseconds: \"MILLISECONDS\";\n} = {\n ms: \"MILLISECONDS\",\n milliseconds: \"MILLISECONDS\",\n ...TimeDurationMapping,\n} satisfies Record<string, TimeseriesDurationUnits>;\n\nexport interface TimeSeriesPoint<T extends string | number | GeoJSON.Point> {\n time: string;\n value: T;\n}\n\nexport interface TimeSeriesProperty<T extends number | string> {\n /**\n * Queries the first point of the Timeseries\n * @example\n * ```ts\n * const firstPoint = await employee.employeeStatus?.getFirstPoint();\n * ```\n * @returns the first point of the Timeseries\n */\n readonly getFirstPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Queries the last point of the Timeseries\n * @example\n * ```ts\n * const lastPoint = await employee.employeeStatus?.getLastPoint();\n * ```\n * @returns the last point of the Timeseries\n */\n readonly getLastPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const points = await employee.employeeStatus?.getAllPoints({\n * $after: 1,\n * $unit: \"month\",\n * });\n * ```\n */\n readonly getAllPoints: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const iterator = employee.employeeStatus?.asyncIter({\n * $after: 1,\n * $unit: \"month\",\n * });\n * for await (const point of iterator) {\n * // Handle time series point\n * }\n * ```\n */\n readonly asyncIterPoints: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n}\n\nexport interface GeotimeSeriesProperty<T extends GeoJSON.Point> {\n /**\n * Queries the last point of the Geotime series\n * @example\n * ```ts\n * const latestValue = await employee.travelHistory?.getLatestValue();\n * ```\n * @returns the last point of the Geotime series, or undefined if there are no points\n */\n readonly getLatestValue: () => Promise<TimeSeriesPoint<T> | undefined>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const points = await employee.employeeStatus?.getAllPoints({\n * $after: 1,\n * $unit: \"month\",\n * });\n * ```\n */\n readonly getAllValues: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const iterator = employee.employeeStatus?.asyncIter({\n * $after: 1,\n * $unit: \"month\",\n * });\n * for await (const point of iterator) {\n * // Handle time series point\n * }\n * ```\n */\n readonly asyncIterValues: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n\n /**\n * The most recently fetched value for the latest point in the GTSR.\n * This will not be loaded automatically upon object load, but will be refreshed every time\n * getLatestValue() is called\n */\n readonly lastFetchedValue: TimeSeriesPoint<T> | undefined;\n}\n\n/**\n * A reference to a time series, used as the value of a `timeSeriesReference`\n * Action parameter. The series is identified either by a series id (optionally\n * qualified by a sync rid) or by a time series catalog template.\n */\nexport type TimeSeriesReference =\n | {\n $seriesId: string;\n $syncRid?: string;\n $templateRid?: never;\n $templateVersion?: never;\n }\n | {\n $templateRid: string;\n $templateVersion?: string;\n $seriesId?: never;\n $syncRid?: never;\n };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,+BAA+B;AA0CnE,OAAO,MAAMC,yBAuBZ,GAAG;EACFC,EAAE,EAAE,cAAc;EAClBC,YAAY,EAAE,cAAc;EAC5B,GAAGH;AACL,CAAmD;;AA+GnD;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -372,57 +372,6 @@ interface EmailAttachment {
372
372
  mimeType: string;
373
373
  }
374
374
 
375
- type DistinctWithPropAggregateOption = "approximateDistinct" | "exactDistinct";
376
- type CollectWithPropAggregations = "collectSet" | "collectList";
377
- type BaseWithPropAggregations = DistinctWithPropAggregateOption | CollectWithPropAggregations;
378
- type MinMaxWithPropAggregateOption = "min" | "max";
379
- type DatetimeWithPropAggregateOption = MinMaxWithPropAggregateOption | BaseWithPropAggregations;
380
- type NumericWithPropAggregateOption = "sum" | "avg" | "approximatePercentile" | MinMaxWithPropAggregateOption | BaseWithPropAggregations;
381
- type ValidCollectPropertyKeysForSpecialTypes = "attachment" | "geopoint" | "geoshape" | "boolean";
382
-
383
- type CipherChannelStrategy = "PREFER_EXISTING" | "PREFER_DEFAULT" | "EXISTING_ONLY" | "DEFAULT_ONLY";
384
- /**
385
- * Representation of a `cipherText` property. The encrypted
386
- * value is not stored; call {@link CipherText.decrypt} to retrieve the
387
- * decrypted plaintext on backend.
388
- *
389
- * @example
390
- * ```ts
391
- * const employee = await client(Employee).fetchOne(12345);
392
- * const ssn = await employee.encryptedSsn?.decrypt();
393
- * ```
394
- * @public
395
- */
396
- interface CipherText {
397
- /**
398
- * Decrypts the ciphertext and resolves to the plaintext value.
399
- * @returns the decrypted plaintext
400
- */
401
- decrypt(): Promise<string>;
402
- }
403
- /**
404
- * Create a `cipherText` property value from plaintext. The platform encrypts
405
- * the value using the property's default cipher channel.
406
- */
407
- interface CreateCipherText {
408
- plaintext: string;
409
- }
410
- /**
411
- * Update a `cipherText` property value from plaintext. `strategy` controls which
412
- * cipher channel is used when re-encrypting.
413
- */
414
- interface UpdateCipherText {
415
- plaintext: string;
416
- strategy?: CipherChannelStrategy;
417
- }
418
- /**
419
- * The wire representation of a `cipherText` edit that reuses an existing
420
- * ciphertext: the raw encrypted value.
421
- */
422
- interface CipherTextValue {
423
- ciphertext: string;
424
- }
425
-
426
375
  type TimeSeriesQuery = {
427
376
  $before: number;
428
377
  $unit: keyof typeof TimeseriesDurationMapping;
@@ -569,6 +518,73 @@ interface GeotimeSeriesProperty<T extends GeoJSON.Point> {
569
518
  */
570
519
  readonly lastFetchedValue: TimeSeriesPoint<T> | undefined;
571
520
  }
521
+ /**
522
+ * A reference to a time series, used as the value of a `timeSeriesReference`
523
+ * Action parameter. The series is identified either by a series id (optionally
524
+ * qualified by a sync rid) or by a time series catalog template.
525
+ */
526
+ type TimeSeriesReference = {
527
+ $seriesId: string;
528
+ $syncRid?: string;
529
+ $templateRid?: never;
530
+ $templateVersion?: never;
531
+ } | {
532
+ $templateRid: string;
533
+ $templateVersion?: string;
534
+ $seriesId?: never;
535
+ $syncRid?: never;
536
+ };
537
+
538
+ type DistinctWithPropAggregateOption = "approximateDistinct" | "exactDistinct";
539
+ type CollectWithPropAggregations = "collectSet" | "collectList";
540
+ type BaseWithPropAggregations = DistinctWithPropAggregateOption | CollectWithPropAggregations;
541
+ type MinMaxWithPropAggregateOption = "min" | "max";
542
+ type DatetimeWithPropAggregateOption = MinMaxWithPropAggregateOption | BaseWithPropAggregations;
543
+ type NumericWithPropAggregateOption = "sum" | "avg" | "approximatePercentile" | MinMaxWithPropAggregateOption | BaseWithPropAggregations;
544
+ type ValidCollectPropertyKeysForSpecialTypes = "attachment" | "geopoint" | "geoshape" | "boolean";
545
+
546
+ type CipherChannelStrategy = "PREFER_EXISTING" | "PREFER_DEFAULT" | "EXISTING_ONLY" | "DEFAULT_ONLY";
547
+ /**
548
+ * Representation of a `cipherText` property. The encrypted
549
+ * value is not stored; call {@link CipherText.decrypt} to retrieve the
550
+ * decrypted plaintext on backend.
551
+ *
552
+ * @example
553
+ * ```ts
554
+ * const employee = await client(Employee).fetchOne(12345);
555
+ * const ssn = await employee.encryptedSsn?.decrypt();
556
+ * ```
557
+ * @public
558
+ */
559
+ interface CipherText {
560
+ /**
561
+ * Decrypts the ciphertext and resolves to the plaintext value.
562
+ * @returns the decrypted plaintext
563
+ */
564
+ decrypt(): Promise<string>;
565
+ }
566
+ /**
567
+ * Create a `cipherText` property value from plaintext. The platform encrypts
568
+ * the value using the property's default cipher channel.
569
+ */
570
+ interface CreateCipherText {
571
+ plaintext: string;
572
+ }
573
+ /**
574
+ * Update a `cipherText` property value from plaintext. `strategy` controls which
575
+ * cipher channel is used when re-encrypting.
576
+ */
577
+ interface UpdateCipherText {
578
+ plaintext: string;
579
+ strategy?: CipherChannelStrategy;
580
+ }
581
+ /**
582
+ * The wire representation of a `cipherText` edit that reuses an existing
583
+ * ciphertext: the raw encrypted value.
584
+ */
585
+ interface CipherTextValue {
586
+ ciphertext: string;
587
+ }
572
588
 
573
589
  /**
574
590
  * Map from the PropertyDefinition type to the typescript type that we return
@@ -2727,4 +2743,4 @@ interface AsyncIterLinks<Q extends ObjectOrInterfaceDefinition> {
2727
2743
  interface ObjectSetCleanedTypes<Q extends ObjectOrInterfaceDefinition, D extends Record<string, SimplePropertyDef>, MERGED extends ObjectOrInterfaceDefinition & Q, ORDER_BY_OPTIONS extends ObjectSetArgs.OrderByOptions<PropertyKeys<Q>> = {}> extends MinimalObjectSet<Q, D, ORDER_BY_OPTIONS>, WithProperties<Q, D>, Aggregate<MERGED>, SetArithmetic<MERGED>, PivotTo<Q>, FetchOne<Q, D>, NearestNeighbors<Q>, NarrowToType<Q> {
2728
2744
  }
2729
2745
 
2730
- export { DerivedProperty as $, type AttachmentUpload as A, type Augments as B, type CompileTimeMetadata as C, type BandInfo as D, type BaseObjectSet as E, type BaseWirePropertyTypes as F, type CipherChannelStrategy as G, type CipherText as H, type InterfaceDefinition as I, type CipherTextValue as J, type ColorInterpretation as K, type CommonDicomDataElements as L, type MediaReference as M, type ConvertProps as N, type ObjectOrInterfaceDefinition as O, type PropertyValueWireToClient as P, type CoordinateReferenceSystem as Q, type ReleaseStatus as R, type CreateCipherText as S, type DataType as T, type DatetimeFormat as U, type DatetimeLocalizedFormat as V, type DatetimeLocalizedFormatType as W, type DatetimeStringFormat as X, type DatetimeTimezone as Y, type DatetimeTimezoneStatic as Z, type DatetimeTimezoneUser as _, type OsdkMetadata as a, type NumberFormatFixedValues as a$, type DicomDataElementKey as a0, type DicomMediaItemMetadata as a1, type DicomMediaType as a2, type DicomMetaInformation as a3, type DicomMetaInformationV1 as a4, type Dimensions as a5, DistanceUnitMapping as a6, type DocumentDecodeFormat as a7, type DocumentMediaItemMetadata as a8, type DurationBaseValue as a9, type ImageryMediaItemMetadata as aA, InterfaceMetadata as aB, type IntervalRule as aC, type KnownType as aD, type LinkNames as aE, type LinkTypeApiNamesFor as aF, type LinkedType as aG, type Mailbox as aH, type MailboxOrGroup as aI, type MailboxWrapper as aJ, type MaybeScore as aK, type MediaFullMetadata as aL, type MediaItemMetadata as aM, type MediaMetadata as aN, type MediaPropertyLocation as aO, type MinimalDirectedObjectLinkInstance as aP, type Modality as aQ, type Model3dDecodeFormat as aR, type Model3dMediaItemMetadata as aS, type Model3dType as aT, type NotWhereClause as aU, NullabilityAdherence as aV, type NumberFormatAffix as aW, type NumberFormatCurrency as aX, type NumberFormatCurrencyStyle as aY, type NumberFormatCustomUnit as aZ, type NumberFormatDuration as a_, type DurationFormatStyle as aa, DurationMapping as ab, type DurationPrecision as ac, type EmailAttachment as ad, type EmailDecodeFormat as ae, type EmailMediaItemMetadata as af, type FetchLinksPageResult as ag, type FetchPageArgs as ah, type FetchPageResult as ai, type FlipAxis as aj, type GcpList as ak, type GeoFilterOptions as al, type GeoFilter_Intersects as am, type GeoFilter_Within as an, type GeoMetadata as ao, type GeotimeSeriesProperty as ap, type GpsMetadata as aq, type GroundControlPoint as ar, type Group as as, type GroupByClause as at, type GroupByRange as au, type GroupWrapper as av, type HumanReadableFormat as aw, type ImageAttributeDomain as ax, type ImageAttributeKey as ay, type ImageryDecodeFormat as az, type ObjectTypeDefinition as b, type WhereClause as b$, type NumberFormatNotation as b0, type NumberFormatOptions as b1, type NumberFormatRatio as b2, type NumberFormatScale as b3, type NumberFormatStandard as b4, type NumberFormatStandardUnit as b5, type NumberRatioType as b6, type NumberRoundingMode as b7, type NumberScaleType as b8, ObjectMetadata as b9, type PropertyTypeReference as bA, type PropertyTypeReferenceOrStringConstant as bB, type PropertyValueFormattingRule as bC, type Result as bD, type RotationAngle as bE, type SelectArg as bF, type SelectArgToKeys as bG, SimplePropertyDef as bH, type SingleLinkAccessor as bI, type SingleOsdkResult as bJ, type SpreadsheetDecodeFormat as bK, type SpreadsheetMediaItemMetadata as bL, type StringConstant as bM, type TimeCodeFormat as bN, type TimeSeriesPoint as bO, type TimeSeriesProperty as bP, type TimeSeriesQuery as bQ, TimeseriesDurationMapping as bR, type UnitInterpretation as bS, type UnknownMediaItemMetadata as bT, type UntypedMediaItemMetadata as bU, type UpdateCipherText as bV, type ValidAggregationKeys as bW, type VersionBound as bX, type VideoDecodeFormat as bY, type VideoMediaItemMetadata as bZ, type VideoSpecification as b_, ObjectSetArgs as ba, ObjectSetSubscription as bb, type ObjectSpecifier as bc, type OrWhereClause as bd, type Orientation as be, Osdk as bf, type OsdkObjectCreatePropertyType as bg, type OsdkObjectCreateWirePropertyType as bh, type OsdkObjectLinksObject as bi, type OsdkObjectPropertyType as bj, type OsdkObjectUpdatePropertyType as bk, type OsdkObjectUpdateWirePropertyType as bl, type PageResult as bm, type PaletteInterpretation as bn, type PossibleWhereClauseFilters as bo, type PrimaryKeyType as bp, type PropertyBooleanFormattingRule as bq, type PropertyDateFormattingRule as br, type PropertyDef as bs, PropertyKeys as bt, type PropertyKnownTypeFormattingRule as bu, type PropertyMarkings as bv, type PropertyNumberFormattingRule as bw, type PropertyNumberFormattingRuleType as bx, type PropertySecurity as by, type PropertyTimestampFormattingRule as bz, type MediaUpload as c, type WirePropertyTypes as c0, isOk as c1, type ExtractOptions as c2, type ApplyModifiersArg as c3, type PropertyModifierValue as c4, type LinkedObjectType as c5, type Just as c6, type MinimalObjectSet as c7, type Media as d, type Attachment as e, type ObjectIdentifiers as f, type OsdkObjectPrimaryKeyType as g, type ObjectSet as h, type PrimaryKeyTypes as i, type OsdkBase as j, type AffineTransform as k, type Affix as l, type AggregateOpts as m, type AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy as n, type AggregationClause as o, type AggregationResultsWithGroups as p, type AggregationResultsWithoutGroups as q, type AggregationsResults as r, type AllGroupByValues as s, type AndWhereClause as t, type AsyncIterArgs as u, type AttachmentMetadata as v, type AudioDecodeFormat as w, type AudioMediaItemMetadata as x, type AudioSpecification as y, type Augment as z };
2746
+ export { type DatetimeTimezoneUser as $, type AttachmentUpload as A, type Augments as B, type CompileTimeMetadata as C, type BandInfo as D, type BaseObjectSet as E, type BaseWirePropertyTypes as F, type CipherChannelStrategy as G, type CipherText as H, type InterfaceDefinition as I, type CipherTextValue as J, type ColorInterpretation as K, type CommonDicomDataElements as L, type MediaReference as M, type ConvertProps as N, type ObjectOrInterfaceDefinition as O, type PropertyValueWireToClient as P, type CoordinateReferenceSystem as Q, type ReleaseStatus as R, type CreateCipherText as S, type TimeSeriesReference as T, type DataType as U, type DatetimeFormat as V, type DatetimeLocalizedFormat as W, type DatetimeLocalizedFormatType as X, type DatetimeStringFormat as Y, type DatetimeTimezone as Z, type DatetimeTimezoneStatic as _, type OsdkMetadata as a, type NumberFormatDuration as a$, DerivedProperty as a0, type DicomDataElementKey as a1, type DicomMediaItemMetadata as a2, type DicomMediaType as a3, type DicomMetaInformation as a4, type DicomMetaInformationV1 as a5, type Dimensions as a6, DistanceUnitMapping as a7, type DocumentDecodeFormat as a8, type DocumentMediaItemMetadata as a9, type ImageryDecodeFormat as aA, type ImageryMediaItemMetadata as aB, InterfaceMetadata as aC, type IntervalRule as aD, type KnownType as aE, type LinkNames as aF, type LinkTypeApiNamesFor as aG, type LinkedType as aH, type Mailbox as aI, type MailboxOrGroup as aJ, type MailboxWrapper as aK, type MaybeScore as aL, type MediaFullMetadata as aM, type MediaItemMetadata as aN, type MediaMetadata as aO, type MediaPropertyLocation as aP, type MinimalDirectedObjectLinkInstance as aQ, type Modality as aR, type Model3dDecodeFormat as aS, type Model3dMediaItemMetadata as aT, type Model3dType as aU, type NotWhereClause as aV, NullabilityAdherence as aW, type NumberFormatAffix as aX, type NumberFormatCurrency as aY, type NumberFormatCurrencyStyle as aZ, type NumberFormatCustomUnit as a_, type DurationBaseValue as aa, type DurationFormatStyle as ab, DurationMapping as ac, type DurationPrecision as ad, type EmailAttachment as ae, type EmailDecodeFormat as af, type EmailMediaItemMetadata as ag, type FetchLinksPageResult as ah, type FetchPageArgs as ai, type FetchPageResult as aj, type FlipAxis as ak, type GcpList as al, type GeoFilterOptions as am, type GeoFilter_Intersects as an, type GeoFilter_Within as ao, type GeoMetadata as ap, type GeotimeSeriesProperty as aq, type GpsMetadata as ar, type GroundControlPoint as as, type Group as at, type GroupByClause as au, type GroupByRange as av, type GroupWrapper as aw, type HumanReadableFormat as ax, type ImageAttributeDomain as ay, type ImageAttributeKey as az, type ObjectTypeDefinition as b, type VideoSpecification as b$, type NumberFormatFixedValues as b0, type NumberFormatNotation as b1, type NumberFormatOptions as b2, type NumberFormatRatio as b3, type NumberFormatScale as b4, type NumberFormatStandard as b5, type NumberFormatStandardUnit as b6, type NumberRatioType as b7, type NumberRoundingMode as b8, type NumberScaleType as b9, type PropertyTimestampFormattingRule as bA, type PropertyTypeReference as bB, type PropertyTypeReferenceOrStringConstant as bC, type PropertyValueFormattingRule as bD, type Result as bE, type RotationAngle as bF, type SelectArg as bG, type SelectArgToKeys as bH, SimplePropertyDef as bI, type SingleLinkAccessor as bJ, type SingleOsdkResult as bK, type SpreadsheetDecodeFormat as bL, type SpreadsheetMediaItemMetadata as bM, type StringConstant as bN, type TimeCodeFormat as bO, type TimeSeriesPoint as bP, type TimeSeriesProperty as bQ, type TimeSeriesQuery as bR, TimeseriesDurationMapping as bS, type UnitInterpretation as bT, type UnknownMediaItemMetadata as bU, type UntypedMediaItemMetadata as bV, type UpdateCipherText as bW, type ValidAggregationKeys as bX, type VersionBound as bY, type VideoDecodeFormat as bZ, type VideoMediaItemMetadata as b_, ObjectMetadata as ba, ObjectSetArgs as bb, ObjectSetSubscription as bc, type ObjectSpecifier as bd, type OrWhereClause as be, type Orientation as bf, Osdk as bg, type OsdkObjectCreatePropertyType as bh, type OsdkObjectCreateWirePropertyType as bi, type OsdkObjectLinksObject as bj, type OsdkObjectPropertyType as bk, type OsdkObjectUpdatePropertyType as bl, type OsdkObjectUpdateWirePropertyType as bm, type PageResult as bn, type PaletteInterpretation as bo, type PossibleWhereClauseFilters as bp, type PrimaryKeyType as bq, type PropertyBooleanFormattingRule as br, type PropertyDateFormattingRule as bs, type PropertyDef as bt, PropertyKeys as bu, type PropertyKnownTypeFormattingRule as bv, type PropertyMarkings as bw, type PropertyNumberFormattingRule as bx, type PropertyNumberFormattingRuleType as by, type PropertySecurity as bz, type MediaUpload as c, type WhereClause as c0, type WirePropertyTypes as c1, isOk as c2, type ExtractOptions as c3, type ApplyModifiersArg as c4, type PropertyModifierValue as c5, type LinkedObjectType as c6, type Just as c7, type MinimalObjectSet as c8, type Media as d, type Attachment as e, type ObjectIdentifiers as f, type OsdkObjectPrimaryKeyType as g, type ObjectSet as h, type PrimaryKeyTypes as i, type OsdkBase as j, type AffineTransform as k, type Affix as l, type AggregateOpts as m, type AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy as n, type AggregationClause as o, type AggregationResultsWithGroups as p, type AggregationResultsWithoutGroups as q, type AggregationsResults as r, type AllGroupByValues as s, type AndWhereClause as t, type AsyncIterArgs as u, type AttachmentMetadata as v, type AudioDecodeFormat as w, type AudioMediaItemMetadata as x, type AudioSpecification as y, type Augment as z };
@@ -1,4 +1,4 @@
1
- import { O as ObjectOrInterfaceDefinition, a as OsdkMetadata, b as ObjectTypeDefinition } from './ObjectSet-ClSYV_Zy.cjs';
1
+ import { O as ObjectOrInterfaceDefinition, a as OsdkMetadata, b as ObjectTypeDefinition } from './ObjectSet-CRa15Nk0.cjs';
2
2
 
3
3
  interface QueryMetadata {
4
4
  type: "query";
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/aggregate/WhereClause.ts","../../src/mapping/DurationMapping.ts","../../src/groupby/GroupByClause.ts","../../src/object/Result.ts","../../src/timeseries/timeseries.ts"],"names":[],"mappings":";;;AAkBO,IAAM,mBAAA,GAAsB;AAAA,EACjC,UAAA,EAAY,aAAA;AAAA,EACZ,WAAA,EAAa,aAAA;AAAA,EACb,EAAA,EAAI,aAAA;AAAA,EACJ,KAAA,EAAO,QAAA;AAAA,EACP,MAAA,EAAQ,QAAA;AAAA,EACR,CAAA,EAAG,QAAA;AAAA,EACH,SAAA,EAAW,YAAA;AAAA,EACX,UAAA,EAAY,YAAA;AAAA,EACZ,EAAA,EAAI,YAAA;AAAA,EACJ,IAAA,EAAM,QAAA;AAAA,EACN,MAAA,EAAQ,QAAA;AAAA,EACR,IAAA,EAAM,MAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,aAAA,EAAe,gBAAA;AAAA,EACf,YAAA,EAAc,gBAAA;AAAA,EACd,gBAAA,EAAkB;AACpB;;;ACvBO,IAAM,mBAAA,GAAsB;AAAA,EACjC,GAAA,EAAK,SAAA;AAAA,EACL,OAAA,EAAS,SAAA;AAAA,EACT,GAAA,EAAK,SAAA;AAAA,EACL,MAAA,EAAQ,SAAA;AAAA,EACR,OAAA,EAAS,SAAA;AAAA,EACT,EAAA,EAAI,OAAA;AAAA,EACJ,GAAA,EAAK,OAAA;AAAA,EACL,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,GAAA,EAAK,MAAA;AAAA,EACL,IAAA,EAAM,MAAA;AAAA,EACN,EAAA,EAAI,OAAA;AAAA,EACJ,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,GAAA,EAAK,QAAA;AAAA,EACL,KAAA,EAAO,QAAA;AAAA,EACP,MAAA,EAAQ,QAAA;AAAA,EACR,EAAA,EAAI,OAAA;AAAA,EACJ,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO;AACT,CAAA;;;ACpBO,IAAM,eAAA,GAAkB;AAAA,EAC7B,GAAG,mBAAA;AAAA,EACH,OAAA,EAAS,UAAA;AAAA,EACT,QAAA,EAAU;AACZ;;;ACAO,SAAS,KAAK,CAAA,EAAG;AACtB,EAAA,OAAO,OAAA,IAAW,CAAA;AACpB;;;ACNO,IAAM,yBAAA,GAA4B;AAAA,EACvC,EAAA,EAAI,cAAA;AAAA,EACJ,YAAA,EAAc,cAAA;AAAA,EACd,GAAG;AACL","file":"index.cjs","sourcesContent":["/*\n * Copyright 2023 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\n// the value side of this needs to match DistanceUnit from @osdk/foundry but we don't\n// want the dependency\nexport const DistanceUnitMapping = {\n centimeter: \"CENTIMETERS\",\n centimeters: \"CENTIMETERS\",\n cm: \"CENTIMETERS\",\n meter: \"METERS\",\n meters: \"METERS\",\n m: \"METERS\",\n kilometer: \"KILOMETERS\",\n kilometers: \"KILOMETERS\",\n km: \"KILOMETERS\",\n inch: \"INCHES\",\n inches: \"INCHES\",\n foot: \"FEET\",\n feet: \"FEET\",\n yard: \"YARDS\",\n yards: \"YARDS\",\n mile: \"MILES\",\n miles: \"MILES\",\n nautical_mile: \"NAUTICAL_MILES\",\n nauticalMile: \"NAUTICAL_MILES\",\n \"nautical miles\": \"NAUTICAL_MILES\"\n};\n\n// Fallback for unknown types","/*\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\nexport const TimeDurationMapping = {\n sec: \"SECONDS\",\n seconds: \"SECONDS\",\n min: \"MINUTES\",\n minute: \"MINUTES\",\n minutes: \"MINUTES\",\n hr: \"HOURS\",\n hrs: \"HOURS\",\n hour: \"HOURS\",\n hours: \"HOURS\",\n day: \"DAYS\",\n days: \"DAYS\",\n wk: \"WEEKS\",\n week: \"WEEKS\",\n weeks: \"WEEKS\",\n mos: \"MONTHS\",\n month: \"MONTHS\",\n months: \"MONTHS\",\n yr: \"YEARS\",\n year: \"YEARS\",\n years: \"YEARS\"\n};","/*\n * Copyright 2023 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 { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\nexport const DurationMapping = {\n ...TimeDurationMapping,\n quarter: \"QUARTERS\",\n quarters: \"QUARTERS\"\n};","/*\n * Copyright 2023 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\n/**\n * Check if a result was successfully received\n * @param a - result wrapped value\n * @returns whether a result has a value in it\n */\nexport function isOk(a) {\n return \"value\" in a;\n}\n\n/**\n * Check if a result contains an error value\n * @param a Result wrapped value\n * @returns whether a result has an error in it\n */\nexport function isError(a) {\n return \"error\" in a;\n}","/*\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 { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\nexport const TimeseriesDurationMapping = {\n ms: \"MILLISECONDS\",\n milliseconds: \"MILLISECONDS\",\n ...TimeDurationMapping\n};"]}
1
+ {"version":3,"sources":["../../src/aggregate/WhereClause.ts","../../src/mapping/DurationMapping.ts","../../src/groupby/GroupByClause.ts","../../src/object/Result.ts","../../src/timeseries/timeseries.ts"],"names":[],"mappings":";;;AAkBO,IAAM,mBAAA,GAAsB;AAAA,EACjC,UAAA,EAAY,aAAA;AAAA,EACZ,WAAA,EAAa,aAAA;AAAA,EACb,EAAA,EAAI,aAAA;AAAA,EACJ,KAAA,EAAO,QAAA;AAAA,EACP,MAAA,EAAQ,QAAA;AAAA,EACR,CAAA,EAAG,QAAA;AAAA,EACH,SAAA,EAAW,YAAA;AAAA,EACX,UAAA,EAAY,YAAA;AAAA,EACZ,EAAA,EAAI,YAAA;AAAA,EACJ,IAAA,EAAM,QAAA;AAAA,EACN,MAAA,EAAQ,QAAA;AAAA,EACR,IAAA,EAAM,MAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,aAAA,EAAe,gBAAA;AAAA,EACf,YAAA,EAAc,gBAAA;AAAA,EACd,gBAAA,EAAkB;AACpB;;;ACvBO,IAAM,mBAAA,GAAsB;AAAA,EACjC,GAAA,EAAK,SAAA;AAAA,EACL,OAAA,EAAS,SAAA;AAAA,EACT,GAAA,EAAK,SAAA;AAAA,EACL,MAAA,EAAQ,SAAA;AAAA,EACR,OAAA,EAAS,SAAA;AAAA,EACT,EAAA,EAAI,OAAA;AAAA,EACJ,GAAA,EAAK,OAAA;AAAA,EACL,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,GAAA,EAAK,MAAA;AAAA,EACL,IAAA,EAAM,MAAA;AAAA,EACN,EAAA,EAAI,OAAA;AAAA,EACJ,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,GAAA,EAAK,QAAA;AAAA,EACL,KAAA,EAAO,QAAA;AAAA,EACP,MAAA,EAAQ,QAAA;AAAA,EACR,EAAA,EAAI,OAAA;AAAA,EACJ,IAAA,EAAM,OAAA;AAAA,EACN,KAAA,EAAO;AACT,CAAA;;;ACpBO,IAAM,eAAA,GAAkB;AAAA,EAC7B,GAAG,mBAAA;AAAA,EACH,OAAA,EAAS,UAAA;AAAA,EACT,QAAA,EAAU;AACZ;;;ACAO,SAAS,KAAK,CAAA,EAAG;AACtB,EAAA,OAAO,OAAA,IAAW,CAAA;AACpB;;;ACNO,IAAM,yBAAA,GAA4B;AAAA,EACvC,EAAA,EAAI,cAAA;AAAA,EACJ,YAAA,EAAc,cAAA;AAAA,EACd,GAAG;AACL","file":"index.cjs","sourcesContent":["/*\n * Copyright 2023 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\n// the value side of this needs to match DistanceUnit from @osdk/foundry but we don't\n// want the dependency\nexport const DistanceUnitMapping = {\n centimeter: \"CENTIMETERS\",\n centimeters: \"CENTIMETERS\",\n cm: \"CENTIMETERS\",\n meter: \"METERS\",\n meters: \"METERS\",\n m: \"METERS\",\n kilometer: \"KILOMETERS\",\n kilometers: \"KILOMETERS\",\n km: \"KILOMETERS\",\n inch: \"INCHES\",\n inches: \"INCHES\",\n foot: \"FEET\",\n feet: \"FEET\",\n yard: \"YARDS\",\n yards: \"YARDS\",\n mile: \"MILES\",\n miles: \"MILES\",\n nautical_mile: \"NAUTICAL_MILES\",\n nauticalMile: \"NAUTICAL_MILES\",\n \"nautical miles\": \"NAUTICAL_MILES\"\n};\n\n// Fallback for unknown types","/*\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\nexport const TimeDurationMapping = {\n sec: \"SECONDS\",\n seconds: \"SECONDS\",\n min: \"MINUTES\",\n minute: \"MINUTES\",\n minutes: \"MINUTES\",\n hr: \"HOURS\",\n hrs: \"HOURS\",\n hour: \"HOURS\",\n hours: \"HOURS\",\n day: \"DAYS\",\n days: \"DAYS\",\n wk: \"WEEKS\",\n week: \"WEEKS\",\n weeks: \"WEEKS\",\n mos: \"MONTHS\",\n month: \"MONTHS\",\n months: \"MONTHS\",\n yr: \"YEARS\",\n year: \"YEARS\",\n years: \"YEARS\"\n};","/*\n * Copyright 2023 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 { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\nexport const DurationMapping = {\n ...TimeDurationMapping,\n quarter: \"QUARTERS\",\n quarters: \"QUARTERS\"\n};","/*\n * Copyright 2023 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\n/**\n * Check if a result was successfully received\n * @param a - result wrapped value\n * @returns whether a result has a value in it\n */\nexport function isOk(a) {\n return \"value\" in a;\n}\n\n/**\n * Check if a result contains an error value\n * @param a Result wrapped value\n * @returns whether a result has an error in it\n */\nexport function isError(a) {\n return \"error\" in a;\n}","/*\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 { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\nexport const TimeseriesDurationMapping = {\n ms: \"MILLISECONDS\",\n milliseconds: \"MILLISECONDS\",\n ...TimeDurationMapping\n};\n\n/**\n * A reference to a time series, used as the value of a `timeSeriesReference`\n * Action parameter. The series is identified either by a series id (optionally\n * qualified by a sync rid) or by a time series catalog template.\n */"]}
@@ -1,7 +1,7 @@
1
- import { A as AttachmentUpload, M as MediaReference, c as MediaUpload, d as Media, 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-ClSYV_Zy.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, T as DataType, U as DatetimeFormat, V as DatetimeLocalizedFormat, W as DatetimeLocalizedFormatType, X as DatetimeStringFormat, Y as DatetimeTimezone, Z as DatetimeTimezoneStatic, _ as DatetimeTimezoneUser, $ as DerivedProperty, a0 as DicomDataElementKey, a1 as DicomMediaItemMetadata, a2 as DicomMediaType, a3 as DicomMetaInformation, a4 as DicomMetaInformationV1, a5 as Dimensions, a6 as DistanceUnitMapping, a7 as DocumentDecodeFormat, a8 as DocumentMediaItemMetadata, a9 as DurationBaseValue, aa as DurationFormatStyle, ab as DurationMapping, ac as DurationPrecision, ad as EmailAttachment, ae as EmailDecodeFormat, af as EmailMediaItemMetadata, ag as FetchLinksPageResult, ah as FetchPageArgs, ai as FetchPageResult, aj as FlipAxis, ak as GcpList, al as GeoFilterOptions, am as GeoFilter_Intersects, an as GeoFilter_Within, ao as GeoMetadata, ap as GeotimeSeriesProperty, aq as GpsMetadata, ar as GroundControlPoint, as as Group, at as GroupByClause, au as GroupByRange, av as GroupWrapper, aw as HumanReadableFormat, ax as ImageAttributeDomain, ay as ImageAttributeKey, az as ImageryDecodeFormat, aA as ImageryMediaItemMetadata, aB as InterfaceMetadata, aC as IntervalRule, aD as KnownType, aE as LinkNames, aF as LinkTypeApiNamesFor, aG as LinkedType, aH as Mailbox, aI as MailboxOrGroup, aJ as MailboxWrapper, aK as MaybeScore, aL as MediaFullMetadata, aM as MediaItemMetadata, aN as MediaMetadata, aO as MediaPropertyLocation, aP as MinimalDirectedObjectLinkInstance, aQ as Modality, aR as Model3dDecodeFormat, aS as Model3dMediaItemMetadata, aT as Model3dType, aU as NotWhereClause, aV as NullabilityAdherence, aW as NumberFormatAffix, aX as NumberFormatCurrency, aY as NumberFormatCurrencyStyle, aZ as NumberFormatCustomUnit, a_ as NumberFormatDuration, a$ as NumberFormatFixedValues, b0 as NumberFormatNotation, b1 as NumberFormatOptions, b2 as NumberFormatRatio, b3 as NumberFormatScale, b4 as NumberFormatStandard, b5 as NumberFormatStandardUnit, b6 as NumberRatioType, b7 as NumberRoundingMode, b8 as NumberScaleType, b9 as ObjectMetadata, ba as ObjectSetArgs, bb as ObjectSetSubscription, bc as ObjectSpecifier, bd as OrWhereClause, be as Orientation, bf as Osdk, bg as OsdkObjectCreatePropertyType, bh as OsdkObjectCreateWirePropertyType, bi as OsdkObjectLinksObject, bj as OsdkObjectPropertyType, bk as OsdkObjectUpdatePropertyType, bl as OsdkObjectUpdateWirePropertyType, bm as PageResult, bn as PaletteInterpretation, bo as PossibleWhereClauseFilters, bp as PrimaryKeyType, bq as PropertyBooleanFormattingRule, br as PropertyDateFormattingRule, bs as PropertyDef, bt as PropertyKeys, bu as PropertyKnownTypeFormattingRule, bv as PropertyMarkings, bw as PropertyNumberFormattingRule, bx as PropertyNumberFormattingRuleType, by as PropertySecurity, bz as PropertyTimestampFormattingRule, bA as PropertyTypeReference, bB as PropertyTypeReferenceOrStringConstant, bC as PropertyValueFormattingRule, bD as Result, bE as RotationAngle, bF as SelectArg, bG as SelectArgToKeys, bH as SimplePropertyDef, bI as SingleLinkAccessor, bJ as SingleOsdkResult, bK as SpreadsheetDecodeFormat, bL as SpreadsheetMediaItemMetadata, bM as StringConstant, bN as TimeCodeFormat, bO as TimeSeriesPoint, bP as TimeSeriesProperty, bQ as TimeSeriesQuery, bR as TimeseriesDurationMapping, bS as UnitInterpretation, bT as UnknownMediaItemMetadata, bU as UntypedMediaItemMetadata, bV as UpdateCipherText, bW as ValidAggregationKeys, bX as VersionBound, bY as VideoDecodeFormat, bZ as VideoMediaItemMetadata, b_ as VideoSpecification, b$ as WhereClause, c0 as WirePropertyTypes, c1 as isOk } from './ObjectSet-ClSYV_Zy.cjs';
3
- import { A as AggregationKeyTypes, a as AggregationRangeKeyTypes, b as AggregationValueTypes } from './QueryDefinition-D5rfbOlO.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-D5rfbOlO.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-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-WhLw_vjA.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-WhLw_vjA.cjs';
5
5
  import 'type-fest';
6
6
  import 'geojson';
7
7
 
@@ -42,6 +42,7 @@ interface DataValueWireToClient {
42
42
  geohash: GeoJSON.Point;
43
43
  geoshape: GeoJSON.GeoJSON;
44
44
  scenarioReference: never;
45
+ timeSeriesReference: TimeSeriesReference;
45
46
  }
46
47
  /**
47
48
  * Map from the DataValue type to the typescript type that we accept
@@ -74,6 +75,7 @@ interface DataValueClientToWire {
74
75
  scenarioReference: {
75
76
  getScenarioReference(): string;
76
77
  };
78
+ timeSeriesReference: TimeSeriesReference;
77
79
  twoDimensionalAggregation: {
78
80
  key: AllowedBucketKeyTypes$1;
79
81
  value: AllowedBucketTypes$1;
@@ -345,7 +347,7 @@ declare namespace ActionMetadata {
345
347
  nullable?: boolean;
346
348
  }
347
349
  namespace DataType {
348
- type BaseActionParameterTypes = "boolean" | "string" | "integer" | "long" | "double" | "decimal" | "datetime" | "timestamp" | "attachment" | "marking" | "mediaReference" | "scenarioReference" | "objectType" | "geoshape" | "geohash";
350
+ type BaseActionParameterTypes = "boolean" | "string" | "integer" | "long" | "double" | "decimal" | "datetime" | "timestamp" | "attachment" | "marking" | "mediaReference" | "scenarioReference" | "timeSeriesReference" | "objectType" | "geoshape" | "geohash";
349
351
  type StructFieldDefinition<T extends DataType.BaseActionParameterTypes> = T | {
350
352
  type: T;
351
353
  nullable: boolean;
@@ -483,4 +485,4 @@ declare namespace QueryResult {
483
485
  type MediaType = Media;
484
486
  }
485
487
 
486
- export { type ActionDefinition, type ActionEditResponse, ActionMetadata, ActionParam, type ActionReturnTypeForOptions, type ActionValidationResponse, type AllowedBucketKeyTypes$1 as AllowedBucketKeyTypes, type AllowedBucketTypes$1 as AllowedBucketTypes, type ApplyActionOptions, type ApplyBatchActionOptions, Attachment, AttachmentUpload, CompileTimeMetadata, type DataValueClientToWire, type DataValueWireToClient, InterfaceDefinition, Logger, Media, MediaReference, MediaUpload, ObjectIdentifiers, ObjectOrInterfaceDefinition, type ObjectSet, ObjectTypeDefinition, type OntologyMetadata, OsdkBase, type OsdkObject, PrimaryKeyTypes, PropertyValueWireToClient, QueryParam, QueryResult, type Range, type ThreeDimensionalAggregation, type TwoDimensionalAggregation };
488
+ export { type ActionDefinition, type ActionEditResponse, ActionMetadata, ActionParam, type ActionReturnTypeForOptions, type ActionValidationResponse, type AllowedBucketKeyTypes$1 as AllowedBucketKeyTypes, type AllowedBucketTypes$1 as AllowedBucketTypes, type ApplyActionOptions, type ApplyBatchActionOptions, Attachment, AttachmentUpload, CompileTimeMetadata, type DataValueClientToWire, type DataValueWireToClient, InterfaceDefinition, Logger, Media, MediaReference, MediaUpload, ObjectIdentifiers, ObjectOrInterfaceDefinition, type ObjectSet, ObjectTypeDefinition, type OntologyMetadata, OsdkBase, type OsdkObject, PrimaryKeyTypes, PropertyValueWireToClient, QueryParam, QueryResult, type Range, type ThreeDimensionalAggregation, TimeSeriesReference, type TwoDimensionalAggregation };
@@ -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-DpRUeWUM.cjs';
2
- import '../ObjectSet-ClSYV_Zy.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-B9BommJ_.cjs';
2
+ import '../ObjectSet-CRa15Nk0.cjs';
3
3
  import 'type-fest';
4
4
  import 'geojson';
@@ -1,8 +1,8 @@
1
- import { a as OsdkMetadata, C as CompileTimeMetadata, O as ObjectOrInterfaceDefinition, bt as PropertyKeys, aV as NullabilityAdherence, bF as SelectArg, bf as Osdk, c2 as ExtractOptions, c3 as ApplyModifiersArg, c4 as PropertyModifierValue, ah as FetchPageArgs, ai as FetchPageResult, j as OsdkBase, b as ObjectTypeDefinition, aF as LinkTypeApiNamesFor, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, c5 as LinkedObjectType, c6 as Just, bb as ObjectSetSubscription, d as Media } from '../ObjectSet-ClSYV_Zy.cjs';
2
- export { c7 as MinimalObjectSet } from '../ObjectSet-ClSYV_Zy.cjs';
3
- import { d as QueryDefinition } from '../QueryDefinition-D5rfbOlO.cjs';
4
- import { P as PropertyType, S as ShapeLinkBuilder, a as ShapeDefinition, R as RequiredProperty, b as ShapeBuilder } from '../shapes-internal-DpRUeWUM.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-DpRUeWUM.cjs';
1
+ import { 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, b as ObjectTypeDefinition, aG as LinkTypeApiNamesFor, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, 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-WhLw_vjA.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';
6
6
  import 'type-fest';
7
7
  import 'geojson';
8
8
 
@@ -1,4 +1,4 @@
1
- import { O as ObjectOrInterfaceDefinition, b$ as WhereClause, bt as PropertyKeys, C as CompileTimeMetadata, aE as LinkNames, aG as LinkedType, j as OsdkBase } from './ObjectSet-ClSYV_Zy.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-CRa15Nk0.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":"index.js","names":["DistanceUnitMapping","DurationMapping","isOk","TimeseriesDurationMapping"],"sources":["index.ts"],"sourcesContent":["/*\n * Copyright 2023 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\nexport type { ActionReturnTypeForOptions } from \"./actions/ActionReturnTypeForOptions.js\";\nexport type {\n ActionEditResponse,\n ActionParam,\n ActionValidationResponse,\n ApplyActionOptions,\n ApplyBatchActionOptions,\n} from \"./actions/Actions.js\";\nexport type { ValidAggregationKeys } from \"./aggregate/AggregatableKeys.js\";\nexport type { AggregateOpts } from \"./aggregate/AggregateOpts.js\";\nexport type { AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy } from \"./aggregate/AggregateOptsThatErrors.js\";\nexport type { AggregationResultsWithGroups } from \"./aggregate/AggregationResultsWithGroups.js\";\nexport type { AggregationResultsWithoutGroups } from \"./aggregate/AggregationResultsWithoutGroups.js\";\nexport type { AggregationClause } from \"./aggregate/AggregationsClause.js\";\nexport type { AggregationsResults } from \"./aggregate/AggregationsResults.js\";\nexport type { GeoFilterOptions } from \"./aggregate/GeoFilter.js\";\nexport type { IntervalRule } from \"./aggregate/IntervalRule.js\";\nexport { DistanceUnitMapping } from \"./aggregate/WhereClause.js\";\nexport type {\n AndWhereClause,\n GeoFilter_Intersects,\n GeoFilter_Within,\n NotWhereClause,\n OrWhereClause,\n PossibleWhereClauseFilters,\n WhereClause,\n} from \"./aggregate/WhereClause.js\";\nexport type {\n OsdkObjectCreatePropertyType,\n OsdkObjectCreateWirePropertyType,\n OsdkObjectPropertyType,\n OsdkObjectUpdatePropertyType,\n OsdkObjectUpdateWirePropertyType,\n} from \"./Definitions.js\";\nexport type {\n OsdkObjectLinksObject,\n SingleLinkAccessor,\n} from \"./definitions/LinkDefinitions.js\";\nexport { type DerivedProperty } from \"./derivedProperties/DerivedProperty.js\";\nexport { DurationMapping } from \"./groupby/GroupByClause.js\";\nexport type {\n AllGroupByValues,\n GroupByClause,\n GroupByRange,\n} from \"./groupby/GroupByClause.js\";\nexport type { Logger } from \"./Logger.js\";\nexport type {\n AllowedBucketKeyTypes,\n AllowedBucketTypes,\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"./mapping/DataValueMapping.js\";\nexport type { PropertyValueWireToClient } from \"./mapping/PropertyValueMapping.js\";\nexport type {\n Attachment,\n AttachmentMetadata,\n AttachmentUpload,\n} from \"./object/Attachment.js\";\nexport type { CipherChannelStrategy } from \"./object/CipherText.js\";\nexport type {\n CipherText,\n CipherTextValue,\n CreateCipherText,\n UpdateCipherText,\n} from \"./object/CipherText.js\";\nexport type {\n AsyncIterArgs,\n Augment,\n Augments,\n FetchPageArgs,\n NullabilityAdherence,\n ObjectSetArgs,\n SelectArg,\n SelectArgToKeys,\n} from \"./object/FetchPageArgs.js\";\nexport type {\n FetchPageResult,\n SingleOsdkResult,\n} from \"./object/FetchPageResult.js\";\nexport type {\n AffineTransform,\n AudioDecodeFormat,\n AudioMediaItemMetadata,\n AudioSpecification,\n BandInfo,\n ColorInterpretation,\n CommonDicomDataElements,\n CoordinateReferenceSystem,\n DataType,\n DicomDataElementKey,\n DicomMediaItemMetadata,\n DicomMediaType,\n DicomMetaInformation,\n DicomMetaInformationV1,\n Dimensions,\n DocumentDecodeFormat,\n DocumentMediaItemMetadata,\n EmailAttachment,\n EmailDecodeFormat,\n EmailMediaItemMetadata,\n FlipAxis,\n GcpList,\n GeoMetadata,\n GpsMetadata,\n GroundControlPoint,\n Group,\n GroupWrapper,\n ImageAttributeDomain,\n ImageAttributeKey,\n ImageryDecodeFormat,\n ImageryMediaItemMetadata,\n Mailbox,\n MailboxOrGroup,\n MailboxWrapper,\n Media,\n MediaFullMetadata,\n MediaItemMetadata,\n MediaMetadata,\n MediaPropertyLocation,\n MediaReference,\n MediaUpload,\n Modality,\n Model3dDecodeFormat,\n Model3dMediaItemMetadata,\n Model3dType,\n Orientation,\n PaletteInterpretation,\n RotationAngle,\n SpreadsheetDecodeFormat,\n SpreadsheetMediaItemMetadata,\n UnitInterpretation,\n UnknownMediaItemMetadata,\n UntypedMediaItemMetadata,\n VideoDecodeFormat,\n VideoMediaItemMetadata,\n VideoSpecification,\n} from \"./object/Media.js\";\nexport type {\n PropertyMarkings,\n PropertySecurity,\n} from \"./object/PropertySecurity.js\";\nexport { isOk } from \"./object/Result.js\";\nexport type { Result } from \"./object/Result.js\";\nexport type { BaseObjectSet } from \"./objectSet/BaseObjectSet.js\";\nexport type { ObjectSet } from \"./objectSet/ObjectSet.js\";\nexport type {\n FetchLinksPageResult,\n LinkTypeApiNamesFor,\n MinimalDirectedObjectLinkInstance,\n} from \"./objectSet/ObjectSetLinks.js\";\nexport type { ObjectSetSubscription } from \"./objectSet/ObjectSetListener.js\";\nexport type {\n ActionDefinition,\n ActionMetadata,\n} from \"./ontology/ActionDefinition.js\";\nexport type {\n InterfaceDefinition,\n InterfaceMetadata,\n} from \"./ontology/InterfaceDefinition.js\";\nexport type {\n ObjectOrInterfaceDefinition,\n PropertyKeys,\n} from \"./ontology/ObjectOrInterface.js\";\nexport type { ObjectSpecifier } from \"./ontology/ObjectSpecifier.js\";\nexport type {\n CompileTimeMetadata,\n ObjectMetadata,\n ObjectTypeDefinition,\n PropertyDef,\n VersionBound,\n} from \"./ontology/ObjectTypeDefinition.js\";\nexport type { OntologyMetadata } from \"./ontology/OntologyMetadata.js\";\nexport type { PrimaryKeyTypes } from \"./ontology/PrimaryKeyTypes.js\";\nexport type {\n InterfaceQueryDataType,\n ObjectQueryDataType,\n ObjectSetQueryDataType,\n QueryDataTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n QueryParameterDefinition,\n ThreeDimensionalQueryAggregationDefinition,\n TwoDimensionalQueryAggregationDefinition,\n} from \"./ontology/QueryDefinition.js\";\nexport type { SimplePropertyDef } from \"./ontology/SimplePropertyDef.js\";\nexport type { PropertyBooleanFormattingRule } from \"./ontology/valueFormatting/PropertyBooleanFormattingRule.js\";\nexport type {\n DatetimeFormat,\n DatetimeLocalizedFormat,\n DatetimeLocalizedFormatType,\n DatetimeStringFormat,\n DatetimeTimezone,\n DatetimeTimezoneStatic,\n DatetimeTimezoneUser,\n PropertyDateFormattingRule,\n PropertyTimestampFormattingRule,\n} from \"./ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js\";\nexport type {\n KnownType,\n PropertyKnownTypeFormattingRule,\n} from \"./ontology/valueFormatting/PropertyKnownTypeFormattingRule.js\";\nexport type {\n Affix,\n DurationBaseValue,\n DurationFormatStyle,\n DurationPrecision,\n HumanReadableFormat,\n NumberFormatAffix,\n NumberFormatCurrency,\n NumberFormatCurrencyStyle,\n NumberFormatCustomUnit,\n NumberFormatDuration,\n NumberFormatFixedValues,\n NumberFormatNotation,\n NumberFormatOptions,\n NumberFormatRatio,\n NumberFormatScale,\n NumberFormatStandard,\n NumberFormatStandardUnit,\n NumberRatioType,\n NumberRoundingMode,\n NumberScaleType,\n PropertyNumberFormattingRule,\n PropertyNumberFormattingRuleType,\n TimeCodeFormat,\n} from \"./ontology/valueFormatting/PropertyNumberFormattingRule.js\";\nexport type { PropertyValueFormattingRule } from \"./ontology/valueFormatting/PropertyValueFormattingRule.js\";\nexport type {\n PropertyTypeReference,\n PropertyTypeReferenceOrStringConstant,\n StringConstant,\n} from \"./ontology/valueFormatting/PropertyValueFormattingUtils.js\";\nexport type {\n BaseWirePropertyTypes,\n WirePropertyTypes,\n} from \"./ontology/WirePropertyTypes.js\";\nexport type {\n ObjectIdentifiers,\n OsdkBase,\n PrimaryKeyType,\n} from \"./OsdkBase.js\";\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport type { OsdkObject } from \"./OsdkObject.js\";\nexport type { ConvertProps, MaybeScore, Osdk } from \"./OsdkObjectFrom.js\";\nexport type { PageResult } from \"./PageResult.js\";\nexport type {\n Range,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n} from \"./queries/Aggregations.js\";\nexport type { QueryParam, QueryResult } from \"./queries/Queries.js\";\nexport { TimeseriesDurationMapping } from \"./timeseries/timeseries.js\";\nexport type {\n GeotimeSeriesProperty,\n TimeSeriesPoint,\n TimeSeriesProperty,\n TimeSeriesQuery,\n} from \"./timeseries/timeseries.js\";\nexport type { LinkedType, LinkNames } from \"./util/LinkUtils.js\";\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA,SAASA,mBAAmB,QAAQ,4BAA4B;AAsBhE,SAASC,eAAe,QAAQ,4BAA4B;AAsG5D,SAASC,IAAI,QAAQ,oBAAoB;;AAoGzC;;AAUA,SAASC,yBAAyB,QAAQ,4BAA4B;AAQtE","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["DistanceUnitMapping","DurationMapping","isOk","TimeseriesDurationMapping"],"sources":["index.ts"],"sourcesContent":["/*\n * Copyright 2023 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\nexport type { ActionReturnTypeForOptions } from \"./actions/ActionReturnTypeForOptions.js\";\nexport type {\n ActionEditResponse,\n ActionParam,\n ActionValidationResponse,\n ApplyActionOptions,\n ApplyBatchActionOptions,\n} from \"./actions/Actions.js\";\nexport type { ValidAggregationKeys } from \"./aggregate/AggregatableKeys.js\";\nexport type { AggregateOpts } from \"./aggregate/AggregateOpts.js\";\nexport type { AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy } from \"./aggregate/AggregateOptsThatErrors.js\";\nexport type { AggregationResultsWithGroups } from \"./aggregate/AggregationResultsWithGroups.js\";\nexport type { AggregationResultsWithoutGroups } from \"./aggregate/AggregationResultsWithoutGroups.js\";\nexport type { AggregationClause } from \"./aggregate/AggregationsClause.js\";\nexport type { AggregationsResults } from \"./aggregate/AggregationsResults.js\";\nexport type { GeoFilterOptions } from \"./aggregate/GeoFilter.js\";\nexport type { IntervalRule } from \"./aggregate/IntervalRule.js\";\nexport { DistanceUnitMapping } from \"./aggregate/WhereClause.js\";\nexport type {\n AndWhereClause,\n GeoFilter_Intersects,\n GeoFilter_Within,\n NotWhereClause,\n OrWhereClause,\n PossibleWhereClauseFilters,\n WhereClause,\n} from \"./aggregate/WhereClause.js\";\nexport type {\n OsdkObjectCreatePropertyType,\n OsdkObjectCreateWirePropertyType,\n OsdkObjectPropertyType,\n OsdkObjectUpdatePropertyType,\n OsdkObjectUpdateWirePropertyType,\n} from \"./Definitions.js\";\nexport type {\n OsdkObjectLinksObject,\n SingleLinkAccessor,\n} from \"./definitions/LinkDefinitions.js\";\nexport { type DerivedProperty } from \"./derivedProperties/DerivedProperty.js\";\nexport { DurationMapping } from \"./groupby/GroupByClause.js\";\nexport type {\n AllGroupByValues,\n GroupByClause,\n GroupByRange,\n} from \"./groupby/GroupByClause.js\";\nexport type { Logger } from \"./Logger.js\";\nexport type {\n AllowedBucketKeyTypes,\n AllowedBucketTypes,\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"./mapping/DataValueMapping.js\";\nexport type { PropertyValueWireToClient } from \"./mapping/PropertyValueMapping.js\";\nexport type {\n Attachment,\n AttachmentMetadata,\n AttachmentUpload,\n} from \"./object/Attachment.js\";\nexport type { CipherChannelStrategy } from \"./object/CipherText.js\";\nexport type {\n CipherText,\n CipherTextValue,\n CreateCipherText,\n UpdateCipherText,\n} from \"./object/CipherText.js\";\nexport type {\n AsyncIterArgs,\n Augment,\n Augments,\n FetchPageArgs,\n NullabilityAdherence,\n ObjectSetArgs,\n SelectArg,\n SelectArgToKeys,\n} from \"./object/FetchPageArgs.js\";\nexport type {\n FetchPageResult,\n SingleOsdkResult,\n} from \"./object/FetchPageResult.js\";\nexport type {\n AffineTransform,\n AudioDecodeFormat,\n AudioMediaItemMetadata,\n AudioSpecification,\n BandInfo,\n ColorInterpretation,\n CommonDicomDataElements,\n CoordinateReferenceSystem,\n DataType,\n DicomDataElementKey,\n DicomMediaItemMetadata,\n DicomMediaType,\n DicomMetaInformation,\n DicomMetaInformationV1,\n Dimensions,\n DocumentDecodeFormat,\n DocumentMediaItemMetadata,\n EmailAttachment,\n EmailDecodeFormat,\n EmailMediaItemMetadata,\n FlipAxis,\n GcpList,\n GeoMetadata,\n GpsMetadata,\n GroundControlPoint,\n Group,\n GroupWrapper,\n ImageAttributeDomain,\n ImageAttributeKey,\n ImageryDecodeFormat,\n ImageryMediaItemMetadata,\n Mailbox,\n MailboxOrGroup,\n MailboxWrapper,\n Media,\n MediaFullMetadata,\n MediaItemMetadata,\n MediaMetadata,\n MediaPropertyLocation,\n MediaReference,\n MediaUpload,\n Modality,\n Model3dDecodeFormat,\n Model3dMediaItemMetadata,\n Model3dType,\n Orientation,\n PaletteInterpretation,\n RotationAngle,\n SpreadsheetDecodeFormat,\n SpreadsheetMediaItemMetadata,\n UnitInterpretation,\n UnknownMediaItemMetadata,\n UntypedMediaItemMetadata,\n VideoDecodeFormat,\n VideoMediaItemMetadata,\n VideoSpecification,\n} from \"./object/Media.js\";\nexport type {\n PropertyMarkings,\n PropertySecurity,\n} from \"./object/PropertySecurity.js\";\nexport { isOk } from \"./object/Result.js\";\nexport type { Result } from \"./object/Result.js\";\nexport type { BaseObjectSet } from \"./objectSet/BaseObjectSet.js\";\nexport type { ObjectSet } from \"./objectSet/ObjectSet.js\";\nexport type {\n FetchLinksPageResult,\n LinkTypeApiNamesFor,\n MinimalDirectedObjectLinkInstance,\n} from \"./objectSet/ObjectSetLinks.js\";\nexport type { ObjectSetSubscription } from \"./objectSet/ObjectSetListener.js\";\nexport type {\n ActionDefinition,\n ActionMetadata,\n} from \"./ontology/ActionDefinition.js\";\nexport type {\n InterfaceDefinition,\n InterfaceMetadata,\n} from \"./ontology/InterfaceDefinition.js\";\nexport type {\n ObjectOrInterfaceDefinition,\n PropertyKeys,\n} from \"./ontology/ObjectOrInterface.js\";\nexport type { ObjectSpecifier } from \"./ontology/ObjectSpecifier.js\";\nexport type {\n CompileTimeMetadata,\n ObjectMetadata,\n ObjectTypeDefinition,\n PropertyDef,\n VersionBound,\n} from \"./ontology/ObjectTypeDefinition.js\";\nexport type { OntologyMetadata } from \"./ontology/OntologyMetadata.js\";\nexport type { PrimaryKeyTypes } from \"./ontology/PrimaryKeyTypes.js\";\nexport type {\n InterfaceQueryDataType,\n ObjectQueryDataType,\n ObjectSetQueryDataType,\n QueryDataTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n QueryParameterDefinition,\n ThreeDimensionalQueryAggregationDefinition,\n TwoDimensionalQueryAggregationDefinition,\n} from \"./ontology/QueryDefinition.js\";\nexport type { SimplePropertyDef } from \"./ontology/SimplePropertyDef.js\";\nexport type { PropertyBooleanFormattingRule } from \"./ontology/valueFormatting/PropertyBooleanFormattingRule.js\";\nexport type {\n DatetimeFormat,\n DatetimeLocalizedFormat,\n DatetimeLocalizedFormatType,\n DatetimeStringFormat,\n DatetimeTimezone,\n DatetimeTimezoneStatic,\n DatetimeTimezoneUser,\n PropertyDateFormattingRule,\n PropertyTimestampFormattingRule,\n} from \"./ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js\";\nexport type {\n KnownType,\n PropertyKnownTypeFormattingRule,\n} from \"./ontology/valueFormatting/PropertyKnownTypeFormattingRule.js\";\nexport type {\n Affix,\n DurationBaseValue,\n DurationFormatStyle,\n DurationPrecision,\n HumanReadableFormat,\n NumberFormatAffix,\n NumberFormatCurrency,\n NumberFormatCurrencyStyle,\n NumberFormatCustomUnit,\n NumberFormatDuration,\n NumberFormatFixedValues,\n NumberFormatNotation,\n NumberFormatOptions,\n NumberFormatRatio,\n NumberFormatScale,\n NumberFormatStandard,\n NumberFormatStandardUnit,\n NumberRatioType,\n NumberRoundingMode,\n NumberScaleType,\n PropertyNumberFormattingRule,\n PropertyNumberFormattingRuleType,\n TimeCodeFormat,\n} from \"./ontology/valueFormatting/PropertyNumberFormattingRule.js\";\nexport type { PropertyValueFormattingRule } from \"./ontology/valueFormatting/PropertyValueFormattingRule.js\";\nexport type {\n PropertyTypeReference,\n PropertyTypeReferenceOrStringConstant,\n StringConstant,\n} from \"./ontology/valueFormatting/PropertyValueFormattingUtils.js\";\nexport type {\n BaseWirePropertyTypes,\n WirePropertyTypes,\n} from \"./ontology/WirePropertyTypes.js\";\nexport type {\n ObjectIdentifiers,\n OsdkBase,\n PrimaryKeyType,\n} from \"./OsdkBase.js\";\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport type { OsdkObject } from \"./OsdkObject.js\";\nexport type { ConvertProps, MaybeScore, Osdk } from \"./OsdkObjectFrom.js\";\nexport type { PageResult } from \"./PageResult.js\";\nexport type {\n Range,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n} from \"./queries/Aggregations.js\";\nexport type { QueryParam, QueryResult } from \"./queries/Queries.js\";\nexport { TimeseriesDurationMapping } from \"./timeseries/timeseries.js\";\nexport type {\n GeotimeSeriesProperty,\n TimeSeriesPoint,\n TimeSeriesProperty,\n TimeSeriesQuery,\n TimeSeriesReference,\n} from \"./timeseries/timeseries.js\";\nexport type { LinkedType, LinkNames } from \"./util/LinkUtils.js\";\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA,SAASA,mBAAmB,QAAQ,4BAA4B;AAsBhE,SAASC,eAAe,QAAQ,4BAA4B;AAsG5D,SAASC,IAAI,QAAQ,oBAAoB;;AAoGzC;;AAUA,SAASC,yBAAyB,QAAQ,4BAA4B;AAStE","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"DataValueMapping.js","names":[],"sources":["DataValueMapping.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 { Attachment, AttachmentUpload } from \"../object/Attachment.js\";\nimport type { Media, MediaReference, MediaUpload } from \"../object/Media.js\";\n\n/**\n * Map from the DataValue type to the typescript type that we return\n */\nexport interface DataValueWireToClient {\n attachment: Attachment;\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string;\n float: number;\n double: number;\n integer: number;\n long: string;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n mediaReference: MediaReference;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n set: Set<any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n scenarioReference: never;\n}\n\n/**\n * Map from the DataValue type to the typescript type that we accept\n */\nexport interface DataValueClientToWire {\n attachment: string | AttachmentUpload | (Blob & { readonly name: string });\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string | number;\n float: number;\n double: number;\n integer: number;\n long: string | number;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n set: Set<any>;\n mediaReference: MediaReference | MediaUpload | Media;\n /**\n * Structurally typed as the object that exposes `getScenarioReference()` — matches the `EXPERIMENTAL_ScenarioClient`\n * returned by `withScenario` / `createScenario` in `@osdk/client/unstable-do-not-use`. Defined inline to\n * avoid a circular dependency on `@osdk/client`.\n */\n scenarioReference: { getScenarioReference(): string };\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | {\n startValue: AllowedBucketTypes;\n endValue: AllowedBucketTypes;\n };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"DataValueMapping.js","names":[],"sources":["DataValueMapping.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 { Attachment, AttachmentUpload } from \"../object/Attachment.js\";\nimport type { Media, MediaReference, MediaUpload } from \"../object/Media.js\";\nimport type { TimeSeriesReference } from \"../timeseries/timeseries.js\";\n\n/**\n * Map from the DataValue type to the typescript type that we return\n */\nexport interface DataValueWireToClient {\n attachment: Attachment;\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string;\n float: number;\n double: number;\n integer: number;\n long: string;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n mediaReference: MediaReference;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n set: Set<any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n scenarioReference: never;\n timeSeriesReference: TimeSeriesReference;\n}\n\n/**\n * Map from the DataValue type to the typescript type that we accept\n */\nexport interface DataValueClientToWire {\n attachment: string | AttachmentUpload | (Blob & { readonly name: string });\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string | number;\n float: number;\n double: number;\n integer: number;\n long: string | number;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n set: Set<any>;\n mediaReference: MediaReference | MediaUpload | Media;\n /**\n * Structurally typed as the object that exposes `getScenarioReference()` — matches the `EXPERIMENTAL_ScenarioClient`\n * returned by `withScenario` / `createScenario` in `@osdk/client/unstable-do-not-use`. Defined inline to\n * avoid a circular dependency on `@osdk/client`.\n */\n scenarioReference: { getScenarioReference(): string };\n timeSeriesReference: TimeSeriesReference;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | {\n startValue: AllowedBucketTypes;\n endValue: AllowedBucketTypes;\n };\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"ActionDefinition.js","names":["ActionMetadata"],"sources":["ActionDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 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 { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { InterfaceDefinition } from \"./InterfaceDefinition.js\";\nimport type {\n ObjectTypeDefinition,\n ReleaseStatus,\n} from \"./ObjectTypeDefinition.js\";\n\nexport interface ActionMetadata {\n type: \"action\";\n apiName: string;\n unsanitizedApiName?: string;\n description?: string;\n displayName?: string;\n parameters: Record<any, ActionMetadata.Parameter<any>>;\n modifiedEntities?: Partial<\n Record<\n any,\n {\n created: boolean;\n modified: boolean;\n }\n >\n >;\n status: ReleaseStatus | undefined;\n rid: string;\n}\n\nexport namespace ActionMetadata {\n export interface Parameter<T_Target extends ObjectTypeDefinition = never> {\n type:\n | DataType.BaseActionParameterTypes\n | DataType.Object<any>\n | DataType.ObjectSet<any>\n | DataType.Interface<any>\n | DataType.Struct<any>;\n description?: string;\n displayName?: string;\n multiplicity?: boolean;\n nullable?: boolean;\n }\n\n export namespace DataType {\n export type BaseActionParameterTypes =\n | \"boolean\"\n | \"string\"\n | \"integer\"\n | \"long\"\n | \"double\"\n | \"decimal\"\n | \"datetime\"\n | \"timestamp\"\n | \"attachment\"\n | \"marking\"\n | \"mediaReference\"\n | \"scenarioReference\"\n | \"objectType\"\n | \"geoshape\"\n | \"geohash\";\n\n export type StructFieldDefinition<\n T extends DataType.BaseActionParameterTypes,\n > =\n | T\n | {\n type: T;\n nullable: boolean;\n };\n\n export interface Object<T_Target extends ObjectTypeDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"object\";\n object: T_Target[\"apiName\"];\n }\n\n export interface Interface<T_Target extends InterfaceDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"interface\";\n interface: T_Target[\"apiName\"];\n }\n\n export interface ObjectSet<T_Target extends ObjectTypeDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"objectSet\";\n objectSet: T_Target[\"apiName\"];\n }\n\n export interface Struct<\n T extends Record<\n string,\n StructFieldDefinition<DataType.BaseActionParameterTypes>\n >,\n > {\n type: \"struct\";\n struct: T;\n }\n }\n}\n\nexport interface ActionCompileTimeMetadata<T> {\n signatures: T;\n}\n\nexport interface ActionDefinition<T_signatures = never> {\n type: \"action\";\n apiName: string;\n unsanitizedApiName?: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?: ActionCompileTimeMetadata<T_signatures> &\n ActionMetadata;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA2CiBA,cAAc","ignoreList":[]}
1
+ {"version":3,"file":"ActionDefinition.js","names":["ActionMetadata"],"sources":["ActionDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 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 { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { InterfaceDefinition } from \"./InterfaceDefinition.js\";\nimport type {\n ObjectTypeDefinition,\n ReleaseStatus,\n} from \"./ObjectTypeDefinition.js\";\n\nexport interface ActionMetadata {\n type: \"action\";\n apiName: string;\n unsanitizedApiName?: string;\n description?: string;\n displayName?: string;\n parameters: Record<any, ActionMetadata.Parameter<any>>;\n modifiedEntities?: Partial<\n Record<\n any,\n {\n created: boolean;\n modified: boolean;\n }\n >\n >;\n status: ReleaseStatus | undefined;\n rid: string;\n}\n\nexport namespace ActionMetadata {\n export interface Parameter<T_Target extends ObjectTypeDefinition = never> {\n type:\n | DataType.BaseActionParameterTypes\n | DataType.Object<any>\n | DataType.ObjectSet<any>\n | DataType.Interface<any>\n | DataType.Struct<any>;\n description?: string;\n displayName?: string;\n multiplicity?: boolean;\n nullable?: boolean;\n }\n\n export namespace DataType {\n export type BaseActionParameterTypes =\n | \"boolean\"\n | \"string\"\n | \"integer\"\n | \"long\"\n | \"double\"\n | \"decimal\"\n | \"datetime\"\n | \"timestamp\"\n | \"attachment\"\n | \"marking\"\n | \"mediaReference\"\n | \"scenarioReference\"\n | \"timeSeriesReference\"\n | \"objectType\"\n | \"geoshape\"\n | \"geohash\";\n\n export type StructFieldDefinition<\n T extends DataType.BaseActionParameterTypes,\n > =\n | T\n | {\n type: T;\n nullable: boolean;\n };\n\n export interface Object<T_Target extends ObjectTypeDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"object\";\n object: T_Target[\"apiName\"];\n }\n\n export interface Interface<T_Target extends InterfaceDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"interface\";\n interface: T_Target[\"apiName\"];\n }\n\n export interface ObjectSet<T_Target extends ObjectTypeDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"objectSet\";\n objectSet: T_Target[\"apiName\"];\n }\n\n export interface Struct<\n T extends Record<\n string,\n StructFieldDefinition<DataType.BaseActionParameterTypes>\n >,\n > {\n type: \"struct\";\n struct: T;\n }\n }\n}\n\nexport interface ActionCompileTimeMetadata<T> {\n signatures: T;\n}\n\nexport interface ActionDefinition<T_signatures = never> {\n type: \"action\";\n apiName: string;\n unsanitizedApiName?: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?: ActionCompileTimeMetadata<T_signatures> &\n ActionMetadata;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA2CiBA,cAAc","ignoreList":[]}
@@ -20,4 +20,10 @@ export const TimeseriesDurationMapping = {
20
20
  milliseconds: "MILLISECONDS",
21
21
  ...TimeDurationMapping
22
22
  };
23
+
24
+ /**
25
+ * A reference to a time series, used as the value of a `timeSeriesReference`
26
+ * Action parameter. The series is identified either by a series id (optionally
27
+ * qualified by a sync rid) or by a time series catalog template.
28
+ */
23
29
  //# sourceMappingURL=timeseries.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"timeseries.js","names":["TimeDurationMapping","TimeseriesDurationMapping","ms","milliseconds"],"sources":["timeseries.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 { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\n\nexport type TimeSeriesQuery =\n | {\n $before: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $after?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $after: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $before?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $startTime: string;\n $endTime?: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n }\n | {\n $startTime?: string;\n $endTime: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n };\n\nexport type TimeseriesDurationUnits =\n | \"YEARS\"\n | \"MONTHS\"\n | \"WEEKS\"\n | \"DAYS\"\n | \"HOURS\"\n | \"MINUTES\"\n | \"SECONDS\"\n | \"MILLISECONDS\";\n\nexport const TimeseriesDurationMapping: {\n sec: \"SECONDS\";\n seconds: \"SECONDS\";\n min: \"MINUTES\";\n minute: \"MINUTES\";\n minutes: \"MINUTES\";\n hr: \"HOURS\";\n hrs: \"HOURS\";\n hour: \"HOURS\";\n hours: \"HOURS\";\n day: \"DAYS\";\n days: \"DAYS\";\n wk: \"WEEKS\";\n week: \"WEEKS\";\n weeks: \"WEEKS\";\n mos: \"MONTHS\";\n month: \"MONTHS\";\n months: \"MONTHS\";\n yr: \"YEARS\";\n year: \"YEARS\";\n years: \"YEARS\";\n ms: \"MILLISECONDS\";\n milliseconds: \"MILLISECONDS\";\n} = {\n ms: \"MILLISECONDS\",\n milliseconds: \"MILLISECONDS\",\n ...TimeDurationMapping,\n} satisfies Record<string, TimeseriesDurationUnits>;\n\nexport interface TimeSeriesPoint<T extends string | number | GeoJSON.Point> {\n time: string;\n value: T;\n}\n\nexport interface TimeSeriesProperty<T extends number | string> {\n /**\n * Queries the first point of the Timeseries\n * @example\n * ```ts\n * const firstPoint = await employee.employeeStatus?.getFirstPoint();\n * ```\n * @returns the first point of the Timeseries\n */\n readonly getFirstPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Queries the last point of the Timeseries\n * @example\n * ```ts\n * const lastPoint = await employee.employeeStatus?.getLastPoint();\n * ```\n * @returns the last point of the Timeseries\n */\n readonly getLastPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const points = await employee.employeeStatus?.getAllPoints({\n * $after: 1,\n * $unit: \"month\",\n * });\n * ```\n */\n readonly getAllPoints: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const iterator = employee.employeeStatus?.asyncIter({\n * $after: 1,\n * $unit: \"month\",\n * });\n * for await (const point of iterator) {\n * // Handle time series point\n * }\n * ```\n */\n readonly asyncIterPoints: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n}\n\nexport interface GeotimeSeriesProperty<T extends GeoJSON.Point> {\n /**\n * Queries the last point of the Geotime series\n * @example\n * ```ts\n * const latestValue = await employee.travelHistory?.getLatestValue();\n * ```\n * @returns the last point of the Geotime series, or undefined if there are no points\n */\n readonly getLatestValue: () => Promise<TimeSeriesPoint<T> | undefined>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const points = await employee.employeeStatus?.getAllPoints({\n * $after: 1,\n * $unit: \"month\",\n * });\n * ```\n */\n readonly getAllValues: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const iterator = employee.employeeStatus?.asyncIter({\n * $after: 1,\n * $unit: \"month\",\n * });\n * for await (const point of iterator) {\n * // Handle time series point\n * }\n * ```\n */\n readonly asyncIterValues: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n\n /**\n * The most recently fetched value for the latest point in the GTSR.\n * This will not be loaded automatically upon object load, but will be refreshed every time\n * getLatestValue() is called\n */\n readonly lastFetchedValue: TimeSeriesPoint<T> | undefined;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,+BAA+B;AA0CnE,OAAO,MAAMC,yBAuBZ,GAAG;EACFC,EAAE,EAAE,cAAc;EAClBC,YAAY,EAAE,cAAc;EAC5B,GAAGH;AACL,CAAmD","ignoreList":[]}
1
+ {"version":3,"file":"timeseries.js","names":["TimeDurationMapping","TimeseriesDurationMapping","ms","milliseconds"],"sources":["timeseries.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 { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\n\nexport type TimeSeriesQuery =\n | {\n $before: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $after?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $after: number;\n $unit: keyof typeof TimeseriesDurationMapping;\n $before?: never;\n $startTime?: never;\n $endTime?: never;\n }\n | {\n $startTime: string;\n $endTime?: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n }\n | {\n $startTime?: string;\n $endTime: string;\n $before?: never;\n $after?: never;\n $unit?: never;\n };\n\nexport type TimeseriesDurationUnits =\n | \"YEARS\"\n | \"MONTHS\"\n | \"WEEKS\"\n | \"DAYS\"\n | \"HOURS\"\n | \"MINUTES\"\n | \"SECONDS\"\n | \"MILLISECONDS\";\n\nexport const TimeseriesDurationMapping: {\n sec: \"SECONDS\";\n seconds: \"SECONDS\";\n min: \"MINUTES\";\n minute: \"MINUTES\";\n minutes: \"MINUTES\";\n hr: \"HOURS\";\n hrs: \"HOURS\";\n hour: \"HOURS\";\n hours: \"HOURS\";\n day: \"DAYS\";\n days: \"DAYS\";\n wk: \"WEEKS\";\n week: \"WEEKS\";\n weeks: \"WEEKS\";\n mos: \"MONTHS\";\n month: \"MONTHS\";\n months: \"MONTHS\";\n yr: \"YEARS\";\n year: \"YEARS\";\n years: \"YEARS\";\n ms: \"MILLISECONDS\";\n milliseconds: \"MILLISECONDS\";\n} = {\n ms: \"MILLISECONDS\",\n milliseconds: \"MILLISECONDS\",\n ...TimeDurationMapping,\n} satisfies Record<string, TimeseriesDurationUnits>;\n\nexport interface TimeSeriesPoint<T extends string | number | GeoJSON.Point> {\n time: string;\n value: T;\n}\n\nexport interface TimeSeriesProperty<T extends number | string> {\n /**\n * Queries the first point of the Timeseries\n * @example\n * ```ts\n * const firstPoint = await employee.employeeStatus?.getFirstPoint();\n * ```\n * @returns the first point of the Timeseries\n */\n readonly getFirstPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Queries the last point of the Timeseries\n * @example\n * ```ts\n * const lastPoint = await employee.employeeStatus?.getLastPoint();\n * ```\n * @returns the last point of the Timeseries\n */\n readonly getLastPoint: () => Promise<TimeSeriesPoint<T>>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const points = await employee.employeeStatus?.getAllPoints({\n * $after: 1,\n * $unit: \"month\",\n * });\n * ```\n */\n readonly getAllPoints: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const iterator = employee.employeeStatus?.asyncIter({\n * $after: 1,\n * $unit: \"month\",\n * });\n * for await (const point of iterator) {\n * // Handle time series point\n * }\n * ```\n */\n readonly asyncIterPoints: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n}\n\nexport interface GeotimeSeriesProperty<T extends GeoJSON.Point> {\n /**\n * Queries the last point of the Geotime series\n * @example\n * ```ts\n * const latestValue = await employee.travelHistory?.getLatestValue();\n * ```\n * @returns the last point of the Geotime series, or undefined if there are no points\n */\n readonly getLatestValue: () => Promise<TimeSeriesPoint<T> | undefined>;\n /**\n * Loads all points, within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const points = await employee.employeeStatus?.getAllPoints({\n * $after: 1,\n * $unit: \"month\",\n * });\n * ```\n */\n readonly getAllValues: (\n query?: TimeSeriesQuery,\n ) => Promise<Array<TimeSeriesPoint<T>>>;\n /**\n * Returns an async iterator to load all points\n * within the given time range if that's provided\n * @param query - a query representing either an absolute or relative range of time\n * @example\n * ```ts\n * const iterator = employee.employeeStatus?.asyncIter({\n * $after: 1,\n * $unit: \"month\",\n * });\n * for await (const point of iterator) {\n * // Handle time series point\n * }\n * ```\n */\n readonly asyncIterValues: (\n query?: TimeSeriesQuery,\n ) => AsyncGenerator<TimeSeriesPoint<T>>;\n\n /**\n * The most recently fetched value for the latest point in the GTSR.\n * This will not be loaded automatically upon object load, but will be refreshed every time\n * getLatestValue() is called\n */\n readonly lastFetchedValue: TimeSeriesPoint<T> | undefined;\n}\n\n/**\n * A reference to a time series, used as the value of a `timeSeriesReference`\n * Action parameter. The series is identified either by a series id (optionally\n * qualified by a sync rid) or by a time series catalog template.\n */\nexport type TimeSeriesReference =\n | {\n $seriesId: string;\n $syncRid?: string;\n $templateRid?: never;\n $templateVersion?: never;\n }\n | {\n $templateRid: string;\n $templateVersion?: string;\n $seriesId?: never;\n $syncRid?: never;\n };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,+BAA+B;AA0CnE,OAAO,MAAMC,yBAuBZ,GAAG;EACFC,EAAE,EAAE,cAAc;EAClBC,YAAY,EAAE,cAAc;EAC5B,GAAGH;AACL,CAAmD;;AA+GnD;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -55,6 +55,6 @@ export type { PageResult } from "./PageResult.js";
55
55
  export type { Range, ThreeDimensionalAggregation, TwoDimensionalAggregation } from "./queries/Aggregations.js";
56
56
  export type { QueryParam, QueryResult } from "./queries/Queries.js";
57
57
  export { TimeseriesDurationMapping } from "./timeseries/timeseries.js";
58
- export type { GeotimeSeriesProperty, TimeSeriesPoint, TimeSeriesProperty, TimeSeriesQuery } from "./timeseries/timeseries.js";
58
+ export type { GeotimeSeriesProperty, TimeSeriesPoint, TimeSeriesProperty, TimeSeriesQuery, TimeSeriesReference } from "./timeseries/timeseries.js";
59
59
  export type { LinkedType, LinkNames } from "./util/LinkUtils.js";
60
60
  export {};
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,kCAAkC;AAChD,cACE,oBACA,aACA,0BACA,oBACA,+BACK;AACP,cAAc,4BAA4B;AAC1C,cAAc,qBAAqB;AACnC,cAAc,sEAAsE;AACpF,cAAc,oCAAoC;AAClD,cAAc,uCAAuC;AACrD,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,wBAAwB;AACtC,cAAc,oBAAoB;AAClC,SAAS,2BAA2B;AACpC,cACE,gBACA,sBACA,kBACA,gBACA,eACA,4BACA,mBACK;AACP,cACE,8BACA,kCACA,wBACA,8BACA,wCACK;AACP,cACE,uBACA,0BACK;AACP,cAAc,uBAAuB;AACrC,SAAS,uBAAuB;AAChC,cACE,kBACA,eACA,oBACK;AACP,cAAc,cAAc;AAC5B,cACE,uBACA,oBACA,uBACA,6BACK;AACP,cAAc,iCAAiC;AAC/C,cACE,YACA,oBACA,wBACK;AACP,cAAc,6BAA6B;AAC3C,cACE,YACA,iBACA,kBACA,wBACK;AACP,cACE,eACA,SACA,UACA,eACA,sBACA,eACA,WACA,uBACK;AACP,cACE,iBACA,wBACK;AACP,cACE,iBACA,mBACA,wBACA,oBACA,UACA,qBACA,yBACA,2BACA,UACA,qBACA,wBACA,gBACA,sBACA,wBACA,YACA,sBACA,2BACA,iBACA,mBACA,wBACA,UACA,SACA,aACA,aACA,oBACA,OACA,cACA,sBACA,mBACA,qBACA,0BACA,SACA,gBACA,gBACA,OACA,mBACA,mBACA,eACA,uBACA,gBACA,aACA,UACA,qBACA,0BACA,aACA,aACA,uBACA,eACA,yBACA,8BACA,oBACA,0BACA,0BACA,mBACA,wBACA,0BACK;AACP,cACE,kBACA,wBACK;AACP,SAAS,YAAY;AACrB,cAAc,cAAc;AAC5B,cAAc,qBAAqB;AACnC,cAAc,iBAAiB;AAC/B,cACE,sBACA,qBACA,yCACK;AACP,cAAc,6BAA6B;AAC3C,cACE,kBACA,sBACK;AACP,cACE,qBACA,yBACK;AACP,cACE,6BACA,oBACK;AACP,cAAc,uBAAuB;AACrC,cACE,qBACA,gBACA,sBACA,aACA,oBACK;AACP,cAAc,wBAAwB;AACtC,cAAc,uBAAuB;AACrC,cACE,wBACA,qBACA,wBACA,yBACA,iBACA,eACA,0BACA,4CACA,gDACK;AACP,cAAc,yBAAyB;AACvC,cAAc,qCAAqC;AACnD,cACE,gBACA,yBACA,6BACA,sBACA,kBACA,wBACA,sBACA,4BACA,uCACK;AACP,cACE,WACA,uCACK;AACP,cACE,OACA,mBACA,qBACA,mBACA,qBACA,mBACA,sBACA,2BACA,wBACA,sBACA,yBACA,sBACA,qBACA,mBACA,mBACA,sBACA,0BACA,iBACA,oBACA,iBACA,8BACA,kCACA,sBACK;AACP,cAAc,mCAAmC;AACjD,cACE,uBACA,uCACA,sBACK;AACP,cACE,uBACA,yBACK;AACP,cACE,mBACA,UACA,sBACK;AAEP,cAAc,kBAAkB;AAChC,cAAc,cAAc,YAAY,YAAY;AACpD,cAAc,kBAAkB;AAChC,cACE,OACA,6BACA,iCACK;AACP,cAAc,YAAY,mBAAmB;AAC7C,SAAS,iCAAiC;AAC1C,cACE,uBACA,iBACA,oBACA,uBACK;AACP,cAAc,YAAY,iBAAiB;AAC3C","names":[],"sources":["../../src/index.ts"],"version":3,"file":"index.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,kCAAkC;AAChD,cACE,oBACA,aACA,0BACA,oBACA,+BACK;AACP,cAAc,4BAA4B;AAC1C,cAAc,qBAAqB;AACnC,cAAc,sEAAsE;AACpF,cAAc,oCAAoC;AAClD,cAAc,uCAAuC;AACrD,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,wBAAwB;AACtC,cAAc,oBAAoB;AAClC,SAAS,2BAA2B;AACpC,cACE,gBACA,sBACA,kBACA,gBACA,eACA,4BACA,mBACK;AACP,cACE,8BACA,kCACA,wBACA,8BACA,wCACK;AACP,cACE,uBACA,0BACK;AACP,cAAc,uBAAuB;AACrC,SAAS,uBAAuB;AAChC,cACE,kBACA,eACA,oBACK;AACP,cAAc,cAAc;AAC5B,cACE,uBACA,oBACA,uBACA,6BACK;AACP,cAAc,iCAAiC;AAC/C,cACE,YACA,oBACA,wBACK;AACP,cAAc,6BAA6B;AAC3C,cACE,YACA,iBACA,kBACA,wBACK;AACP,cACE,eACA,SACA,UACA,eACA,sBACA,eACA,WACA,uBACK;AACP,cACE,iBACA,wBACK;AACP,cACE,iBACA,mBACA,wBACA,oBACA,UACA,qBACA,yBACA,2BACA,UACA,qBACA,wBACA,gBACA,sBACA,wBACA,YACA,sBACA,2BACA,iBACA,mBACA,wBACA,UACA,SACA,aACA,aACA,oBACA,OACA,cACA,sBACA,mBACA,qBACA,0BACA,SACA,gBACA,gBACA,OACA,mBACA,mBACA,eACA,uBACA,gBACA,aACA,UACA,qBACA,0BACA,aACA,aACA,uBACA,eACA,yBACA,8BACA,oBACA,0BACA,0BACA,mBACA,wBACA,0BACK;AACP,cACE,kBACA,wBACK;AACP,SAAS,YAAY;AACrB,cAAc,cAAc;AAC5B,cAAc,qBAAqB;AACnC,cAAc,iBAAiB;AAC/B,cACE,sBACA,qBACA,yCACK;AACP,cAAc,6BAA6B;AAC3C,cACE,kBACA,sBACK;AACP,cACE,qBACA,yBACK;AACP,cACE,6BACA,oBACK;AACP,cAAc,uBAAuB;AACrC,cACE,qBACA,gBACA,sBACA,aACA,oBACK;AACP,cAAc,wBAAwB;AACtC,cAAc,uBAAuB;AACrC,cACE,wBACA,qBACA,wBACA,yBACA,iBACA,eACA,0BACA,4CACA,gDACK;AACP,cAAc,yBAAyB;AACvC,cAAc,qCAAqC;AACnD,cACE,gBACA,yBACA,6BACA,sBACA,kBACA,wBACA,sBACA,4BACA,uCACK;AACP,cACE,WACA,uCACK;AACP,cACE,OACA,mBACA,qBACA,mBACA,qBACA,mBACA,sBACA,2BACA,wBACA,sBACA,yBACA,sBACA,qBACA,mBACA,mBACA,sBACA,0BACA,iBACA,oBACA,iBACA,8BACA,kCACA,sBACK;AACP,cAAc,mCAAmC;AACjD,cACE,uBACA,uCACA,sBACK;AACP,cACE,uBACA,yBACK;AACP,cACE,mBACA,UACA,sBACK;AAEP,cAAc,kBAAkB;AAChC,cAAc,cAAc,YAAY,YAAY;AACpD,cAAc,kBAAkB;AAChC,cACE,OACA,6BACA,iCACK;AACP,cAAc,YAAY,mBAAmB;AAC7C,SAAS,iCAAiC;AAC1C,cACE,uBACA,iBACA,oBACA,iBACA,2BACK;AACP,cAAc,YAAY,iBAAiB;AAC3C","names":[],"sources":["../../src/index.ts"],"version":3,"file":"index.d.ts"}
@@ -1,5 +1,6 @@
1
1
  import type { Attachment, AttachmentUpload } from "../object/Attachment.js";
2
2
  import type { Media, MediaReference, MediaUpload } from "../object/Media.js";
3
+ import type { TimeSeriesReference } from "../timeseries/timeseries.js";
3
4
  /**
4
5
  * Map from the DataValue type to the typescript type that we return
5
6
  */
@@ -37,6 +38,7 @@ export interface DataValueWireToClient {
37
38
  geohash: GeoJSON.Point;
38
39
  geoshape: GeoJSON.GeoJSON;
39
40
  scenarioReference: never;
41
+ timeSeriesReference: TimeSeriesReference;
40
42
  }
41
43
  /**
42
44
  * Map from the DataValue type to the typescript type that we accept
@@ -69,6 +71,7 @@ export interface DataValueClientToWire {
69
71
  scenarioReference: {
70
72
  getScenarioReference(): string
71
73
  };
74
+ timeSeriesReference: TimeSeriesReference;
72
75
  twoDimensionalAggregation: {
73
76
  key: AllowedBucketKeyTypes
74
77
  value: AllowedBucketTypes
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,YAAY,wBAAwB,yBAA0B;AAC5E,cAAc,OAAO,gBAAgB,mBAAmB,oBAAqB;;;;AAK7E,iBAAiB,sBAAsB;CACrC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,gBAAgB;CAChB,2BAA2B;EACzB,KAAK;EACL,OAAO;CACR;CACD,6BAA6B;EAC3B,KAAK;EACL,QAAQ;GAAE,KAAK;GAAuB,OAAO;EAAoB;CAClE;CACD,QAAQ;CACR,KAAK;CACL;CACA,SAAS,QAAQ;CACjB,UAAU,QAAQ;CAClB;AACD;;;;AAKD,iBAAiB,sBAAsB;CACrC,qBAAqB,oBAAoB,OAAO;WAAW;CAAc;CACzE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,KAAK;CACL,gBAAgB,iBAAiB,cAAc;;;;;;CAM/C,mBAAmB;EAAE;CAAgC;CACrD,2BAA2B;EACzB,KAAK;EACL,OAAO;CACR;CACD,6BAA6B;EAC3B,KAAK;EACL,QAAQ;GAAE,KAAK;GAAuB,OAAO;EAAoB;CAClE;CACD,QAAQ;CACR;CACA,SAAS,QAAQ;CACjB,UAAU,QAAQ;AACnB;AAED,YAAY;AACZ,YAAY,wBACR,qBACA;CACE,YAAY;CACZ,UAAU;AACX","names":[],"sources":["../../../src/mapping/DataValueMapping.ts"],"version":3,"file":"DataValueMapping.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,YAAY,wBAAwB,yBAA0B;AAC5E,cAAc,OAAO,gBAAgB,mBAAmB,oBAAqB;AAC7E,cAAc,2BAA2B,6BAA8B;;;;AAKvE,iBAAiB,sBAAsB;CACrC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,gBAAgB;CAChB,2BAA2B;EACzB,KAAK;EACL,OAAO;CACR;CACD,6BAA6B;EAC3B,KAAK;EACL,QAAQ;GAAE,KAAK;GAAuB,OAAO;EAAoB;CAClE;CACD,QAAQ;CACR,KAAK;CACL;CACA,SAAS,QAAQ;CACjB,UAAU,QAAQ;CAClB;CACA,qBAAqB;AACtB;;;;AAKD,iBAAiB,sBAAsB;CACrC,qBAAqB,oBAAoB,OAAO;WAAW;CAAc;CACzE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,KAAK;CACL,gBAAgB,iBAAiB,cAAc;;;;;;CAM/C,mBAAmB;EAAE;CAAgC;CACrD,qBAAqB;CACrB,2BAA2B;EACzB,KAAK;EACL,OAAO;CACR;CACD,6BAA6B;EAC3B,KAAK;EACL,QAAQ;GAAE,KAAK;GAAuB,OAAO;EAAoB;CAClE;CACD,QAAQ;CACR;CACA,SAAS,QAAQ;CACjB,UAAU,QAAQ;AACnB;AAED,YAAY;AACZ,YAAY,wBACR,qBACA;CACE,YAAY;CACZ,UAAU;AACX","names":[],"sources":["../../../src/mapping/DataValueMapping.ts"],"version":3,"file":"DataValueMapping.d.ts"}
@@ -24,7 +24,7 @@ export declare namespace ActionMetadata {
24
24
  nullable?: boolean;
25
25
  }
26
26
  namespace DataType {
27
- type BaseActionParameterTypes = "boolean" | "string" | "integer" | "long" | "double" | "decimal" | "datetime" | "timestamp" | "attachment" | "marking" | "mediaReference" | "scenarioReference" | "objectType" | "geoshape" | "geohash";
27
+ type BaseActionParameterTypes = "boolean" | "string" | "integer" | "long" | "double" | "decimal" | "datetime" | "timestamp" | "attachment" | "marking" | "mediaReference" | "scenarioReference" | "timeSeriesReference" | "objectType" | "geoshape" | "geohash";
28
28
  type StructFieldDefinition<T extends DataType.BaseActionParameterTypes> = T | {
29
29
  type: T
30
30
  nullable: boolean
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,oBAAoB,oBAAqB;AACvD,cAAc,2BAA2B,0BAA2B;AACpE,cACE,sBACA,qBACK,2BAA4B;AAEnC,iBAAiB,eAAe;CAC9B,MAAM;CACN;CACA;CACA;CACA;CACA,YAAY,YAAY,eAAe;CACvC,mBAAmB,QACjB,YAEE;EACE;EACA;CACD;CAGL,QAAQ;CACR;AACD;AAED,yBAAiB;WACE,UAAU,iBAAiB,8BAA8B;EACxE,MACI,SAAS,2BACT,SAAS,cACT,SAAS,iBACT,SAAS,iBACT,SAAS;EACb;EACA;EACA;EACA;CACD;WAEgB;OACH,2BACR,YACA,WACA,YACA,SACA,WACA,YACA,aACA,cACA,eACA,YACA,mBACA,sBACA,eACA,aACA;OAEQ,sBACV,UAAU,SAAS,4BAEjB,IACA;GACE,MAAM;GACN;EACD;YAEY,OAAO,iBAAiB,8BAA8B;GACrE,mBAAmB;GACnB,MAAM;GACN,QAAQ,SAAS;EAClB;YAEgB,UAAU,iBAAiB,6BAA6B;GACvE,mBAAmB;GACnB,MAAM;GACN,WAAW,SAAS;EACrB;YAEgB,UAAU,iBAAiB,8BAA8B;GACxE,mBAAmB;GACnB,MAAM;GACN,WAAW,SAAS;EACrB;YAEgB,OACf,UAAU,eAER,sBAAsB,SAAS,4BAEjC;GACA,MAAM;GACN,QAAQ;EACT;;;AAIL,iBAAiB,0BAA0B,GAAG;CAC5C,YAAY;AACb;AAED,iBAAiB,iBAAiB,sBAAsB;CACtD,MAAM;CACN;CACA;CACA,eAAe;CACf,uBAAuB,0BAA0B,gBAC/C;AACH","names":[],"sources":["../../../src/ontology/ActionDefinition.ts"],"version":3,"file":"ActionDefinition.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,oBAAoB,oBAAqB;AACvD,cAAc,2BAA2B,0BAA2B;AACpE,cACE,sBACA,qBACK,2BAA4B;AAEnC,iBAAiB,eAAe;CAC9B,MAAM;CACN;CACA;CACA;CACA;CACA,YAAY,YAAY,eAAe;CACvC,mBAAmB,QACjB,YAEE;EACE;EACA;CACD;CAGL,QAAQ;CACR;AACD;AAED,yBAAiB;WACE,UAAU,iBAAiB,8BAA8B;EACxE,MACI,SAAS,2BACT,SAAS,cACT,SAAS,iBACT,SAAS,iBACT,SAAS;EACb;EACA;EACA;EACA;CACD;WAEgB;OACH,2BACR,YACA,WACA,YACA,SACA,WACA,YACA,aACA,cACA,eACA,YACA,mBACA,sBACA,wBACA,eACA,aACA;OAEQ,sBACV,UAAU,SAAS,4BAEjB,IACA;GACE,MAAM;GACN;EACD;YAEY,OAAO,iBAAiB,8BAA8B;GACrE,mBAAmB;GACnB,MAAM;GACN,QAAQ,SAAS;EAClB;YAEgB,UAAU,iBAAiB,6BAA6B;GACvE,mBAAmB;GACnB,MAAM;GACN,WAAW,SAAS;EACrB;YAEgB,UAAU,iBAAiB,8BAA8B;GACxE,mBAAmB;GACnB,MAAM;GACN,WAAW,SAAS;EACrB;YAEgB,OACf,UAAU,eAER,sBAAsB,SAAS,4BAEjC;GACA,MAAM;GACN,QAAQ;EACT;;;AAIL,iBAAiB,0BAA0B,GAAG;CAC5C,YAAY;AACb;AAED,iBAAiB,iBAAiB,sBAAsB;CACtD,MAAM;CACN;CACA;CACA,eAAe;CACf,uBAAuB,0BAA0B,gBAC/C;AACH","names":[],"sources":["../../../src/ontology/ActionDefinition.ts"],"version":3,"file":"ActionDefinition.d.ts"}
@@ -145,3 +145,19 @@ export interface GeotimeSeriesProperty<T extends GeoJSON.Point> {
145
145
  */
146
146
  readonly lastFetchedValue: TimeSeriesPoint<T> | undefined;
147
147
  }
148
+ /**
149
+ * A reference to a time series, used as the value of a `timeSeriesReference`
150
+ * Action parameter. The series is identified either by a series id (optionally
151
+ * qualified by a sync rid) or by a time series catalog template.
152
+ */
153
+ export type TimeSeriesReference = {
154
+ $seriesId: string
155
+ $syncRid?: string
156
+ $templateRid?: never
157
+ $templateVersion?: never
158
+ } | {
159
+ $templateRid: string
160
+ $templateVersion?: string
161
+ $seriesId?: never
162
+ $syncRid?: never
163
+ };
@@ -1 +1 @@
1
- {"mappings":"AAkBA,YAAY,kBACR;CACE;CACA,oBAAoB;CACpB;CACA;CACA;AACD,IACD;CACE;CACA,oBAAoB;CACpB;CACA;CACA;AACD,IACD;CACE;CACA;CACA;CACA;CACA;AACD,IACD;CACE;CACA;CACA;CACA;CACA;AACD;AAEL,YAAY,0BACR,UACA,WACA,UACA,SACA,UACA,YACA,YACA;AAEJ,OAAO,cAAMA,2BAA2B;CACtC,KAAK;CACL,SAAS;CACT,KAAK;CACL,QAAQ;CACR,SAAS;CACT,IAAI;CACJ,KAAK;CACL,MAAM;CACN,OAAO;CACP,KAAK;CACL,MAAM;CACN,IAAI;CACJ,MAAM;CACN,OAAO;CACP,KAAK;CACL,OAAO;CACP,QAAQ;CACR,IAAI;CACJ,MAAM;CACN,OAAO;CACP,IAAI;CACJ,cAAc;AACf;AAMD,iBAAiB,gBAAgB,4BAA4B,QAAQ,OAAO;CAC1E;CACA,OAAO;AACR;AAED,iBAAiB,mBAAmB,2BAA2B;;;;;;;;;UASpD,qBAAqB,QAAQ,gBAAgB;;;;;;;;;UAS7C,oBAAoB,QAAQ,gBAAgB;;;;;;;;;;;;UAY5C,eACPC,QAAQ,oBACL,QAAQ,MAAM,gBAAgB;;;;;;;;;;;;;;;;UAgB1B,kBACPA,QAAQ,oBACL,eAAe,gBAAgB;AACrC;AAED,iBAAiB,sBAAsB,UAAU,QAAQ,OAAO;;;;;;;;;UASrD,sBAAsB,QAAQ,gBAAgB;;;;;;;;;;;;UAY9C,eACPA,QAAQ,oBACL,QAAQ,MAAM,gBAAgB;;;;;;;;;;;;;;;;UAgB1B,kBACPA,QAAQ,oBACL,eAAe,gBAAgB;;;;;;UAO3B,kBAAkB,gBAAgB;AAC5C","names":["TimeseriesDurationMapping: {\n sec: \"SECONDS\";\n seconds: \"SECONDS\";\n min: \"MINUTES\";\n minute: \"MINUTES\";\n minutes: \"MINUTES\";\n hr: \"HOURS\";\n hrs: \"HOURS\";\n hour: \"HOURS\";\n hours: \"HOURS\";\n day: \"DAYS\";\n days: \"DAYS\";\n wk: \"WEEKS\";\n week: \"WEEKS\";\n weeks: \"WEEKS\";\n mos: \"MONTHS\";\n month: \"MONTHS\";\n months: \"MONTHS\";\n yr: \"YEARS\";\n year: \"YEARS\";\n years: \"YEARS\";\n ms: \"MILLISECONDS\";\n milliseconds: \"MILLISECONDS\";\n}","query?: TimeSeriesQuery"],"sources":["../../../src/timeseries/timeseries.ts"],"version":3,"file":"timeseries.d.ts"}
1
+ {"mappings":"AAkBA,YAAY,kBACR;CACE;CACA,oBAAoB;CACpB;CACA;CACA;AACD,IACD;CACE;CACA,oBAAoB;CACpB;CACA;CACA;AACD,IACD;CACE;CACA;CACA;CACA;CACA;AACD,IACD;CACE;CACA;CACA;CACA;CACA;AACD;AAEL,YAAY,0BACR,UACA,WACA,UACA,SACA,UACA,YACA,YACA;AAEJ,OAAO,cAAMA,2BAA2B;CACtC,KAAK;CACL,SAAS;CACT,KAAK;CACL,QAAQ;CACR,SAAS;CACT,IAAI;CACJ,KAAK;CACL,MAAM;CACN,OAAO;CACP,KAAK;CACL,MAAM;CACN,IAAI;CACJ,MAAM;CACN,OAAO;CACP,KAAK;CACL,OAAO;CACP,QAAQ;CACR,IAAI;CACJ,MAAM;CACN,OAAO;CACP,IAAI;CACJ,cAAc;AACf;AAMD,iBAAiB,gBAAgB,4BAA4B,QAAQ,OAAO;CAC1E;CACA,OAAO;AACR;AAED,iBAAiB,mBAAmB,2BAA2B;;;;;;;;;UASpD,qBAAqB,QAAQ,gBAAgB;;;;;;;;;UAS7C,oBAAoB,QAAQ,gBAAgB;;;;;;;;;;;;UAY5C,eACPC,QAAQ,oBACL,QAAQ,MAAM,gBAAgB;;;;;;;;;;;;;;;;UAgB1B,kBACPA,QAAQ,oBACL,eAAe,gBAAgB;AACrC;AAED,iBAAiB,sBAAsB,UAAU,QAAQ,OAAO;;;;;;;;;UASrD,sBAAsB,QAAQ,gBAAgB;;;;;;;;;;;;UAY9C,eACPA,QAAQ,oBACL,QAAQ,MAAM,gBAAgB;;;;;;;;;;;;;;;;UAgB1B,kBACPA,QAAQ,oBACL,eAAe,gBAAgB;;;;;;UAO3B,kBAAkB,gBAAgB;AAC5C;;;;;;AAOD,YAAY,sBACR;CACE;CACA;CACA;CACA;AACD,IACD;CACE;CACA;CACA;CACA;AACD","names":["TimeseriesDurationMapping: {\n sec: \"SECONDS\";\n seconds: \"SECONDS\";\n min: \"MINUTES\";\n minute: \"MINUTES\";\n minutes: \"MINUTES\";\n hr: \"HOURS\";\n hrs: \"HOURS\";\n hour: \"HOURS\";\n hours: \"HOURS\";\n day: \"DAYS\";\n days: \"DAYS\";\n wk: \"WEEKS\";\n week: \"WEEKS\";\n weeks: \"WEEKS\";\n mos: \"MONTHS\";\n month: \"MONTHS\";\n months: \"MONTHS\";\n yr: \"YEARS\";\n year: \"YEARS\";\n years: \"YEARS\";\n ms: \"MILLISECONDS\";\n milliseconds: \"MILLISECONDS\";\n}","query?: TimeSeriesQuery"],"sources":["../../../src/timeseries/timeseries.ts"],"version":3,"file":"timeseries.d.ts"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/api",
3
- "version": "2.85.0-main-046aba461351e419f42a8bfc300efb3b324f327c",
3
+ "version": "2.85.0",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",