@osdk/api 2.95.0 → 2.96.0-main-8ae7abf314d15269ef90cd4c728c6be4db955750
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 +2 -0
- package/build/browser/mapping/DataValueMapping.js.map +1 -1
- package/build/cjs/{QueryDefinition-Cu2hu5UE.d.cts → QueryDefinition-BY2S7HIY.d.cts} +2 -2
- package/build/cjs/index.d.cts +2 -2
- package/build/cjs/public/unstable.d.cts +1 -1
- package/build/esm/mapping/DataValueMapping.js.map +1 -1
- package/build/types/mapping/DataValueMapping.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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\";\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 `
|
|
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 `ScenarioClient`\n * returned by `withScenario` / `createScenario` in `@osdk/client`. 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":[]}
|
|
@@ -63,8 +63,8 @@ interface DataValueClientToWire {
|
|
|
63
63
|
set: Set<any>;
|
|
64
64
|
mediaReference: MediaReference | MediaUpload | Media;
|
|
65
65
|
/**
|
|
66
|
-
* Structurally typed as the object that exposes `getScenarioReference()` — matches the `
|
|
67
|
-
* returned by `withScenario` / `createScenario` in `@osdk/client
|
|
66
|
+
* Structurally typed as the object that exposes `getScenarioReference()` — matches the `ScenarioClient`
|
|
67
|
+
* returned by `withScenario` / `createScenario` in `@osdk/client`. Defined inline to
|
|
68
68
|
* avoid a circular dependency on `@osdk/client`.
|
|
69
69
|
*/
|
|
70
70
|
scenarioReference: {
|
package/build/cjs/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DataValueClientToWire, A as AggregationKeyTypes, a as AggregationRangeKeyTypes, b as AggregationValueTypes, c as DataValueWireToClient } from './QueryDefinition-
|
|
2
|
-
export { d as AllowedBucketKeyTypes, e as AllowedBucketTypes, I as InterfaceQueryDataType, O as ObjectQueryDataType, f as ObjectSetQueryDataType, Q as QueryDataTypeDefinition, g as QueryDefinition, h as QueryMetadata, i as QueryParameterDefinition, T as ThreeDimensionalQueryAggregationDefinition, j as TwoDimensionalQueryAggregationDefinition } from './QueryDefinition-
|
|
1
|
+
import { D as DataValueClientToWire, A as AggregationKeyTypes, a as AggregationRangeKeyTypes, b as AggregationValueTypes, c as DataValueWireToClient } from './QueryDefinition-BY2S7HIY.cjs';
|
|
2
|
+
export { d as AllowedBucketKeyTypes, e as AllowedBucketTypes, I as InterfaceQueryDataType, O as ObjectQueryDataType, f as ObjectSetQueryDataType, Q as QueryDataTypeDefinition, g as QueryDefinition, h as QueryMetadata, i as QueryParameterDefinition, T as ThreeDimensionalQueryAggregationDefinition, j as TwoDimensionalQueryAggregationDefinition } from './QueryDefinition-BY2S7HIY.cjs';
|
|
3
3
|
import { e as ObjectTypeDefinition, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, h as ObjectSet, I as InterfaceDefinition, C as CompileTimeMetadata, d as OsdkMetadata, R as ReleaseStatus, P as PropertyValueWireToClient, i as PrimaryKeyTypes, O as ObjectOrInterfaceDefinition, j as OsdkBase, b as Media } from './ObjectSet-BE4VKGpe.cjs';
|
|
4
4
|
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, c as Attachment, v as AttachmentMetadata, A as AttachmentUpload, 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, M as MediaReference, a as MediaUpload, 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, T as TimeSeriesReference, 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-BE4VKGpe.cjs';
|
|
5
5
|
import 'type-fest';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DataValueClientToWire, c as DataValueWireToClient, g as QueryDefinition } from '../QueryDefinition-
|
|
1
|
+
import { D as DataValueClientToWire, c as DataValueWireToClient, g as QueryDefinition } from '../QueryDefinition-BY2S7HIY.cjs';
|
|
2
2
|
import { e as ObjectTypeDefinition, f as ObjectIdentifiers, g as OsdkObjectPrimaryKeyType, h as ObjectSet, j as OsdkBase, d 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, aG as LinkTypeApiNamesFor, c6 as LinkedObjectType, c7 as Just, bc as ObjectSetSubscription, b as Media } from '../ObjectSet-BE4VKGpe.cjs';
|
|
3
3
|
export { c8 as MinimalObjectSet } from '../ObjectSet-BE4VKGpe.cjs';
|
|
4
4
|
import { P as PropertyType, S as ShapeLinkBuilder, a as ShapeDefinition, R as RequiredProperty, b as ShapeBuilder } from '../shapes-internal-BQ6WDdSY.cjs';
|
|
@@ -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\";\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 `
|
|
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 `ScenarioClient`\n * returned by `withScenario` / `createScenario` in `@osdk/client`. 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":[]}
|
|
@@ -64,8 +64,8 @@ export interface DataValueClientToWire {
|
|
|
64
64
|
set: Set<any>;
|
|
65
65
|
mediaReference: MediaReference | MediaUpload | Media;
|
|
66
66
|
/**
|
|
67
|
-
* Structurally typed as the object that exposes `getScenarioReference()` — matches the `
|
|
68
|
-
* returned by `withScenario` / `createScenario` in `@osdk/client
|
|
67
|
+
* Structurally typed as the object that exposes `getScenarioReference()` — matches the `ScenarioClient`
|
|
68
|
+
* returned by `withScenario` / `createScenario` in `@osdk/client`. Defined inline to
|
|
69
69
|
* avoid a circular dependency on `@osdk/client`.
|
|
70
70
|
*/
|
|
71
71
|
scenarioReference: {
|