@osdk/api 2.8.0-beta.9 → 2.8.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 +98 -0
- package/build/browser/aggregate/IntervalRule.js +2 -0
- package/build/browser/aggregate/IntervalRule.js.map +1 -0
- package/build/browser/aggregate/StringFilter.js.map +1 -1
- package/build/browser/aggregate/WhereClause.js.map +1 -1
- package/build/browser/definitions/LinkDefinitions.js.map +1 -1
- package/build/browser/derivedProperties/DerivedProperty.js.map +1 -1
- package/build/browser/index.js.map +1 -1
- package/build/browser/mapping/DataValueMapping.js.map +1 -1
- package/build/browser/object/Media.js.map +1 -1
- package/build/browser/ontology/ActionDefinition.js.map +1 -1
- package/build/browser/ontology/ObjectTypeDefinition.js.map +1 -1
- package/build/browser/ontology/QueryDefinition.js.map +1 -1
- package/build/browser/public/shapes-internal.js +2 -0
- package/build/browser/public/shapes-internal.js.map +1 -0
- package/build/browser/public/unstable.js +2 -0
- package/build/browser/public/unstable.js.map +1 -1
- package/build/browser/queries/Queries.js.map +1 -1
- package/build/browser/shapes/InlineShapeConfig.js +2 -0
- package/build/browser/shapes/InlineShapeConfig.js.map +1 -0
- package/build/browser/shapes/ShapeBuilder.js +243 -0
- package/build/browser/shapes/ShapeBuilder.js.map +1 -0
- package/build/browser/shapes/ShapeDefinition.js +59 -0
- package/build/browser/shapes/ShapeDefinition.js.map +1 -0
- package/build/browser/shapes/computeShapeId.js +97 -0
- package/build/browser/shapes/computeShapeId.js.map +1 -0
- package/build/browser/shapes/configToShapeDefinition.js +115 -0
- package/build/browser/shapes/configToShapeDefinition.js.map +1 -0
- package/build/browser/{definitions/LinkDefinitions.test.js → shapes/index.js} +16 -11
- package/build/browser/shapes/index.js.map +1 -0
- package/build/browser/shapes/internal.js +2 -0
- package/build/browser/shapes/internal.js.map +1 -0
- package/build/browser/test/EmployeeApiTest.js +3 -1
- package/build/browser/test/EmployeeApiTest.js.map +1 -1
- package/build/cjs/{ObjectSet-CqVqDXKn.d.cts → ObjectSet-DxD7I6OR.d.cts} +107 -15
- package/build/cjs/index.d.cts +11 -5
- package/build/cjs/public/shapes-internal.cjs +4 -0
- package/build/cjs/public/shapes-internal.cjs.map +1 -0
- package/build/cjs/public/shapes-internal.d.cts +4 -0
- package/build/cjs/public/unstable.cjs +401 -0
- package/build/cjs/public/unstable.cjs.map +1 -1
- package/build/cjs/public/unstable.d.cts +57 -3
- package/build/cjs/shapes-internal-C7-hN21K.d.cts +152 -0
- package/build/esm/aggregate/IntervalRule.js +2 -0
- package/build/esm/aggregate/IntervalRule.js.map +1 -0
- package/build/esm/aggregate/StringFilter.js.map +1 -1
- package/build/esm/aggregate/WhereClause.js.map +1 -1
- package/build/esm/definitions/LinkDefinitions.js.map +1 -1
- package/build/esm/derivedProperties/DerivedProperty.js.map +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/mapping/DataValueMapping.js.map +1 -1
- package/build/esm/object/Media.js.map +1 -1
- package/build/esm/ontology/ActionDefinition.js.map +1 -1
- package/build/esm/ontology/ObjectTypeDefinition.js.map +1 -1
- package/build/esm/ontology/QueryDefinition.js.map +1 -1
- package/build/esm/public/shapes-internal.js +2 -0
- package/build/esm/public/shapes-internal.js.map +1 -0
- package/build/esm/public/unstable.js +2 -0
- package/build/esm/public/unstable.js.map +1 -1
- package/build/esm/queries/Queries.js.map +1 -1
- package/build/esm/shapes/InlineShapeConfig.js +2 -0
- package/build/esm/shapes/InlineShapeConfig.js.map +1 -0
- package/build/esm/shapes/ShapeBuilder.js +243 -0
- package/build/esm/shapes/ShapeBuilder.js.map +1 -0
- package/build/esm/shapes/ShapeDefinition.js +59 -0
- package/build/esm/shapes/ShapeDefinition.js.map +1 -0
- package/build/esm/shapes/computeShapeId.js +97 -0
- package/build/esm/shapes/computeShapeId.js.map +1 -0
- package/build/esm/shapes/configToShapeDefinition.js +115 -0
- package/build/esm/shapes/configToShapeDefinition.js.map +1 -0
- package/build/{browser/aggregate/AggregationsClause.test.js → esm/shapes/index.js} +16 -6
- package/build/esm/shapes/index.js.map +1 -0
- package/build/esm/shapes/internal.js +2 -0
- package/build/esm/shapes/internal.js.map +1 -0
- package/build/esm/test/EmployeeApiTest.js +3 -1
- package/build/esm/test/EmployeeApiTest.js.map +1 -1
- package/build/types/aggregate/IntervalRule.d.ts +69 -0
- package/build/types/aggregate/IntervalRule.d.ts.map +1 -0
- package/build/types/aggregate/StringFilter.d.ts +12 -1
- package/build/types/aggregate/StringFilter.d.ts.map +1 -1
- package/build/types/aggregate/WhereClause.d.ts +1 -1
- package/build/types/aggregate/WhereClause.d.ts.map +1 -1
- package/build/types/definitions/LinkDefinitions.d.ts +3 -3
- package/build/types/definitions/LinkDefinitions.d.ts.map +1 -1
- package/build/types/derivedProperties/DerivedProperty.d.ts +1 -10
- package/build/types/derivedProperties/DerivedProperty.d.ts.map +1 -1
- package/build/types/index.d.ts +3 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/mapping/DataValueMapping.d.ts +2 -2
- package/build/types/mapping/DataValueMapping.d.ts.map +1 -1
- package/build/types/object/Media.d.ts +14 -0
- package/build/types/object/Media.d.ts.map +1 -1
- package/build/types/ontology/ActionDefinition.d.ts +2 -0
- package/build/types/ontology/ActionDefinition.d.ts.map +1 -1
- package/build/types/ontology/ObjectTypeDefinition.d.ts +2 -0
- package/build/types/ontology/ObjectTypeDefinition.d.ts.map +1 -1
- package/build/types/ontology/QueryDefinition.d.ts +1 -1
- package/build/types/ontology/QueryDefinition.d.ts.map +1 -1
- package/build/types/public/shapes-internal.d.ts +1 -0
- package/build/types/public/shapes-internal.d.ts.map +1 -0
- package/build/types/public/unstable.d.ts +2 -0
- package/build/types/public/unstable.d.ts.map +1 -1
- package/build/types/queries/Queries.d.ts +2 -0
- package/build/types/queries/Queries.d.ts.map +1 -1
- package/build/types/shapes/InlineShapeConfig.d.ts +29 -0
- package/build/types/shapes/InlineShapeConfig.d.ts.map +1 -0
- package/build/types/shapes/ShapeBuilder.d.ts +21 -0
- package/build/types/shapes/ShapeBuilder.d.ts.map +1 -0
- package/build/types/shapes/ShapeDefinition.d.ts +167 -0
- package/build/types/shapes/ShapeDefinition.d.ts.map +1 -0
- package/build/types/shapes/computeShapeId.d.ts +14 -0
- package/build/types/shapes/computeShapeId.d.ts.map +1 -0
- package/build/types/shapes/configToShapeDefinition.d.ts +6 -0
- package/build/types/shapes/configToShapeDefinition.d.ts.map +1 -0
- package/build/types/shapes/index.d.ts +5 -0
- package/build/types/shapes/index.d.ts.map +1 -0
- package/build/types/shapes/internal.d.ts +1 -0
- package/build/types/shapes/internal.d.ts.map +1 -0
- package/build/types/test/EmployeeApiTest.d.ts +2 -0
- package/build/types/test/EmployeeApiTest.d.ts.map +1 -1
- package/package.json +12 -3
- package/{build/browser/groupby/GroupByClause.test.js → shapes-internal.d.ts} +2 -6
- package/build/browser/OsdkObjectFrom.test.js +0 -204
- package/build/browser/OsdkObjectFrom.test.js.map +0 -1
- package/build/browser/aggregate/AggregationsClause.test.js.map +0 -1
- package/build/browser/definitions/LinkDefinitions.test.js.map +0 -1
- package/build/browser/groupby/GroupByClause.test.js.map +0 -1
- package/build/browser/junk.test.js +0 -23
- package/build/browser/junk.test.js.map +0 -1
- package/build/browser/object/ObjectDefinitions.test.js +0 -28
- package/build/browser/object/ObjectDefinitions.test.js.map +0 -1
- package/build/browser/objectSet/ObjectSet.test.js +0 -736
- package/build/browser/objectSet/ObjectSet.test.js.map +0 -1
- package/build/browser/ontology/ObjectSpecifier.test.js +0 -53
- package/build/browser/ontology/ObjectSpecifier.test.js.map +0 -1
- package/build/browser/ontology/SimplePropertyDef.test.js +0 -48
- package/build/browser/ontology/SimplePropertyDef.test.js.map +0 -1
- package/build/esm/OsdkObjectFrom.test.js +0 -204
- package/build/esm/OsdkObjectFrom.test.js.map +0 -1
- package/build/esm/aggregate/AggregationsClause.test.js +0 -21
- package/build/esm/aggregate/AggregationsClause.test.js.map +0 -1
- package/build/esm/definitions/LinkDefinitions.test.js +0 -26
- package/build/esm/definitions/LinkDefinitions.test.js.map +0 -1
- package/build/esm/groupby/GroupByClause.test.js +0 -21
- package/build/esm/groupby/GroupByClause.test.js.map +0 -1
- package/build/esm/junk.test.js +0 -23
- package/build/esm/junk.test.js.map +0 -1
- package/build/esm/object/ObjectDefinitions.test.js +0 -28
- package/build/esm/object/ObjectDefinitions.test.js.map +0 -1
- package/build/esm/objectSet/ObjectSet.test.js +0 -736
- package/build/esm/objectSet/ObjectSet.test.js.map +0 -1
- package/build/esm/ontology/ObjectSpecifier.test.js +0 -53
- package/build/esm/ontology/ObjectSpecifier.test.js.map +0 -1
- package/build/esm/ontology/SimplePropertyDef.test.js +0 -48
- package/build/esm/ontology/SimplePropertyDef.test.js.map +0 -1
- package/build/types/OsdkObjectFrom.test.d.ts +0 -1
- package/build/types/OsdkObjectFrom.test.d.ts.map +0 -1
- package/build/types/aggregate/AggregationsClause.test.d.ts +0 -46
- package/build/types/aggregate/AggregationsClause.test.d.ts.map +0 -1
- package/build/types/definitions/LinkDefinitions.test.d.ts +0 -1
- package/build/types/definitions/LinkDefinitions.test.d.ts.map +0 -1
- package/build/types/groupby/GroupByClause.test.d.ts +0 -23
- package/build/types/groupby/GroupByClause.test.d.ts.map +0 -1
- package/build/types/junk.test.d.ts +0 -1
- package/build/types/junk.test.d.ts.map +0 -1
- package/build/types/object/ObjectDefinitions.test.d.ts +0 -1
- package/build/types/object/ObjectDefinitions.test.d.ts.map +0 -1
- package/build/types/objectSet/ObjectSet.test.d.ts +0 -2
- package/build/types/objectSet/ObjectSet.test.d.ts.map +0 -1
- package/build/types/ontology/ObjectSpecifier.test.d.ts +0 -1
- package/build/types/ontology/ObjectSpecifier.test.d.ts.map +0 -1
- package/build/types/ontology/SimplePropertyDef.test.d.ts +0 -1
- package/build/types/ontology/SimplePropertyDef.test.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["isSourcePkSymbol","ShapeNullabilityError","SourcePrimaryKeySymbol","createShapeBuilder","configToShapeDefinition"],"sources":["index.ts"],"sourcesContent":["/*\n * Copyright 2025 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// Core types\nexport type {\n LinkLoadConfig,\n LinkStatus,\n NullabilityViolation,\n PropertyType,\n RequiredProperty,\n ShapeBaseType,\n ShapeBuilder,\n ShapeDefinition,\n ShapeDerivedLinks,\n ShapeInstance,\n ShapeLinkBuilder,\n ShapeLinkResult,\n} from \"./ShapeDefinition.js\";\n\n// Inline shape config types\nexport type {\n InferShapeDefinition,\n InlineLinkConfig,\n InlineShapeConfig,\n} from \"./InlineShapeConfig.js\";\n\n// Error types and runtime values\nexport {\n isSourcePkSymbol,\n ShapeNullabilityError,\n SourcePrimaryKeySymbol,\n} from \"./ShapeDefinition.js\";\n\n// Builder functions\nexport { createShapeBuilder } from \"./ShapeBuilder.js\";\n\n// Inline config converter\nexport { configToShapeDefinition } from \"./configToShapeDefinition.js\";\n\n// Inline config converter uses computeShapeId internally but it is not part of the public API.\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAgBA;;AAOA;AACA,SACEA,gBAAgB,EAChBC,qBAAqB,EACrBC,sBAAsB,QACjB,sBAAsB;;AAE7B;AACA,SAASC,kBAAkB,QAAQ,mBAAmB;;AAEtD;AACA,SAASC,uBAAuB,QAAQ,8BAA8B;;AAEtE","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.js","names":[],"sources":["internal.ts"],"sourcesContent":["/*\n * Copyright 2025 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 {\n DerivedLinkConfig,\n NullabilityOp,\n ShapeDerivedLinkDef,\n ShapeLinkObjectSetDef,\n ShapeLinkOrderBy,\n ShapeLinkSegment,\n ShapeLinkSetOperation,\n ShapePropertyConfig,\n} from \"./ShapeDefinition.js\";\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmployeeApiTest.js","names":["EmployeeApiTest","type","apiName"],"sources":["EmployeeApiTest.ts"],"sourcesContent":["/*\n * Copyright 2025 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 {\n ObjectMetadata as $ObjectMetadata,\n ObjectSet as $ObjectSet,\n ObjectTypeDefinition as $ObjectTypeDefinition,\n PropertyDef as $PropertyDef,\n PropertyValueWireToClient as $PropType,\n SingleLinkAccessor as $SingleLinkAccessor,\n} from \"../index.js\";\n\nexport namespace EmployeeApiTest {\n export type PropertyKeys =\n | \"employeeId\"\n | \"fullName\"\n | \"class\"\n | \"attachment\"\n | \"geopoint\"\n | \"timeseries\"\n | \"mediaReference\"\n | \"geotimeSeriesReference\"\n | \"isActive\"\n | \"yearsOfExperience\"\n | \"rank\"\n | \"performanceScore\"\n | \"hourlyRate\"\n | \"dateOfJoining\"\n | \"lastUpdated\"\n | \"skillSet\"\n | \"skillSetEmbedding\";\n\n export interface Links {\n readonly lead: $SingleLinkAccessor<EmployeeApiTest>;\n readonly peeps: EmployeeApiTest.ObjectSet;\n }\n\n export interface Props {\n readonly class: $PropType[\"string\"] | undefined;\n readonly fullName: $PropType[\"string\"] | undefined;\n readonly employeeId: $PropType[\"integer\"] | undefined;\n readonly attachment: $PropType[\"attachment\"] | undefined;\n readonly geopoint: $PropType[\"geopoint\"] | undefined;\n readonly timeseries: $PropType[\"numericTimeseries\"] | undefined;\n readonly mediaReference: $PropType[\"mediaReference\"] | undefined;\n readonly geotimeSeriesReference:\n | $PropType[\"geotimeSeriesReference\"]\n | undefined;\n readonly isActive: $PropType[\"boolean\"] | undefined;\n readonly yearsOfExperience: $PropType[\"long\"] | undefined;\n readonly rank: $PropType[\"short\"] | undefined;\n readonly performanceScore: $PropType[\"double\"] | undefined;\n readonly hourlyRate: $PropType[\"float\"] | undefined;\n readonly dateOfJoining: $PropType[\"datetime\"] | undefined;\n readonly lastUpdated: $PropType[\"timestamp\"] | undefined;\n readonly skillSet: $PropType[\"string\"] | undefined;\n readonly skillSetEmbedding: $PropType[\"vector\"] | undefined;\n }\n export type StrictProps = Props;\n\n export interface ObjectSet\n extends $ObjectSet<EmployeeApiTest, EmployeeApiTest.ObjectSet>\n {}\n}\n\nexport interface EmployeeApiTest extends $ObjectTypeDefinition {\n type: \"object\";\n apiName: \"Employee\";\n __DefinitionMetadata?: {\n objectSet: EmployeeApiTest.ObjectSet;\n props: EmployeeApiTest.Props;\n linksType: EmployeeApiTest.Links;\n strictProps: EmployeeApiTest.StrictProps;\n apiName: \"Employee\";\n description: \"A full-time or part-time \\n\\n employee of our firm\";\n displayName: \"Employee\";\n icon: {\n type: \"blueprint\";\n color: \"blue\";\n name: \"person\";\n };\n implements: [\"FooInterface\"];\n interfaceMap: {\n FooInterface: {\n fooSpt: \"fullName\";\n };\n };\n inverseInterfaceMap: {\n FooInterface: {\n fullName: \"fooSpt\";\n };\n };\n links: {\n lead: $ObjectMetadata.Link<EmployeeApiTest, false>;\n peeps: $ObjectMetadata.Link<EmployeeApiTest, true>;\n };\n pluralDisplayName: \"Employees\";\n primaryKeyApiName: \"employeeId\";\n primaryKeyType: \"integer\";\n properties: {\n class: $PropertyDef<\"string\", \"nullable\", \"single\">;\n fullName: $PropertyDef<\"string\", \"nullable\", \"single\">;\n employeeId: $PropertyDef<\"integer\", \"nullable\", \"single\">;\n attachment: $PropertyDef<\"attachment\", \"nullable\", \"single\">;\n geopoint: $PropertyDef<\"geopoint\", \"nullable\", \"single\">;\n timeseries: $PropertyDef<\"numericTimeseries\", \"nullable\", \"single\">;\n mediaReference: $PropertyDef<\"mediaReference\", \"nullable\", \"single\">;\n geotimeSeriesReference: $PropertyDef<\n \"geotimeSeriesReference\",\n \"nullable\",\n \"single\"\n >;\n isActive: $PropertyDef<\"boolean\", \"nullable\", \"single\">;\n yearsOfExperience: $PropertyDef<\"long\", \"nullable\", \"single\">;\n rank: $PropertyDef<\"short\", \"nullable\", \"single\">;\n performanceScore: $PropertyDef<\"double\", \"nullable\", \"single\">;\n hourlyRate: $PropertyDef<\"float\", \"nullable\", \"single\">;\n dateOfJoining: $PropertyDef<\"datetime\", \"nullable\", \"single\">;\n lastUpdated: $PropertyDef<\"timestamp\", \"nullable\", \"single\">;\n skillSet: $PropertyDef<\"string\", \"nullable\", \"single\">;\n skillSetEmbedding: $PropertyDef<\"vector\", \"nullable\", \"single\">;\n };\n rid: \"ri.ontology.main.object-type.401ac022-89eb-4591-8b7e-0a912b9efb44\";\n status: \"ACTIVE\";\n titleProperty: \"fullName\";\n type: \"object\";\n visibility: \"NORMAL\";\n };\n}\n\nexport const EmployeeApiTest: EmployeeApiTest = {\n type: \"object\",\n apiName: \"Employee\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"file":"EmployeeApiTest.js","names":["EmployeeApiTest","type","apiName","primaryKeyApiName","primaryKeyType"],"sources":["EmployeeApiTest.ts"],"sourcesContent":["/*\n * Copyright 2025 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 {\n ObjectMetadata as $ObjectMetadata,\n ObjectSet as $ObjectSet,\n ObjectTypeDefinition as $ObjectTypeDefinition,\n PropertyDef as $PropertyDef,\n PropertyValueWireToClient as $PropType,\n SingleLinkAccessor as $SingleLinkAccessor,\n} from \"../index.js\";\n\nexport namespace EmployeeApiTest {\n export type PropertyKeys =\n | \"employeeId\"\n | \"fullName\"\n | \"class\"\n | \"attachment\"\n | \"geopoint\"\n | \"timeseries\"\n | \"mediaReference\"\n | \"geotimeSeriesReference\"\n | \"isActive\"\n | \"yearsOfExperience\"\n | \"rank\"\n | \"performanceScore\"\n | \"hourlyRate\"\n | \"dateOfJoining\"\n | \"lastUpdated\"\n | \"skillSet\"\n | \"skillSetEmbedding\";\n\n export interface Links {\n readonly lead: $SingleLinkAccessor<EmployeeApiTest>;\n readonly peeps: EmployeeApiTest.ObjectSet;\n }\n\n export interface Props {\n readonly class: $PropType[\"string\"] | undefined;\n readonly fullName: $PropType[\"string\"] | undefined;\n readonly employeeId: $PropType[\"integer\"] | undefined;\n readonly attachment: $PropType[\"attachment\"] | undefined;\n readonly geopoint: $PropType[\"geopoint\"] | undefined;\n readonly timeseries: $PropType[\"numericTimeseries\"] | undefined;\n readonly mediaReference: $PropType[\"mediaReference\"] | undefined;\n readonly geotimeSeriesReference:\n | $PropType[\"geotimeSeriesReference\"]\n | undefined;\n readonly isActive: $PropType[\"boolean\"] | undefined;\n readonly yearsOfExperience: $PropType[\"long\"] | undefined;\n readonly rank: $PropType[\"short\"] | undefined;\n readonly performanceScore: $PropType[\"double\"] | undefined;\n readonly hourlyRate: $PropType[\"float\"] | undefined;\n readonly dateOfJoining: $PropType[\"datetime\"] | undefined;\n readonly lastUpdated: $PropType[\"timestamp\"] | undefined;\n readonly skillSet: $PropType[\"string\"] | undefined;\n readonly skillSetEmbedding: $PropType[\"vector\"] | undefined;\n }\n export type StrictProps = Props;\n\n export interface ObjectSet\n extends $ObjectSet<EmployeeApiTest, EmployeeApiTest.ObjectSet>\n {}\n}\n\nexport interface EmployeeApiTest extends $ObjectTypeDefinition {\n type: \"object\";\n apiName: \"Employee\";\n primaryKeyApiName: \"employeeId\";\n primaryKeyType: \"integer\";\n __DefinitionMetadata?: {\n objectSet: EmployeeApiTest.ObjectSet;\n props: EmployeeApiTest.Props;\n linksType: EmployeeApiTest.Links;\n strictProps: EmployeeApiTest.StrictProps;\n apiName: \"Employee\";\n description: \"A full-time or part-time \\n\\n employee of our firm\";\n displayName: \"Employee\";\n icon: {\n type: \"blueprint\";\n color: \"blue\";\n name: \"person\";\n };\n implements: [\"FooInterface\"];\n interfaceMap: {\n FooInterface: {\n fooSpt: \"fullName\";\n };\n };\n inverseInterfaceMap: {\n FooInterface: {\n fullName: \"fooSpt\";\n };\n };\n links: {\n lead: $ObjectMetadata.Link<EmployeeApiTest, false>;\n peeps: $ObjectMetadata.Link<EmployeeApiTest, true>;\n };\n pluralDisplayName: \"Employees\";\n primaryKeyApiName: \"employeeId\";\n primaryKeyType: \"integer\";\n properties: {\n class: $PropertyDef<\"string\", \"nullable\", \"single\">;\n fullName: $PropertyDef<\"string\", \"nullable\", \"single\">;\n employeeId: $PropertyDef<\"integer\", \"nullable\", \"single\">;\n attachment: $PropertyDef<\"attachment\", \"nullable\", \"single\">;\n geopoint: $PropertyDef<\"geopoint\", \"nullable\", \"single\">;\n timeseries: $PropertyDef<\"numericTimeseries\", \"nullable\", \"single\">;\n mediaReference: $PropertyDef<\"mediaReference\", \"nullable\", \"single\">;\n geotimeSeriesReference: $PropertyDef<\n \"geotimeSeriesReference\",\n \"nullable\",\n \"single\"\n >;\n isActive: $PropertyDef<\"boolean\", \"nullable\", \"single\">;\n yearsOfExperience: $PropertyDef<\"long\", \"nullable\", \"single\">;\n rank: $PropertyDef<\"short\", \"nullable\", \"single\">;\n performanceScore: $PropertyDef<\"double\", \"nullable\", \"single\">;\n hourlyRate: $PropertyDef<\"float\", \"nullable\", \"single\">;\n dateOfJoining: $PropertyDef<\"datetime\", \"nullable\", \"single\">;\n lastUpdated: $PropertyDef<\"timestamp\", \"nullable\", \"single\">;\n skillSet: $PropertyDef<\"string\", \"nullable\", \"single\">;\n skillSetEmbedding: $PropertyDef<\"vector\", \"nullable\", \"single\">;\n };\n rid: \"ri.ontology.main.object-type.401ac022-89eb-4591-8b7e-0a912b9efb44\";\n status: \"ACTIVE\";\n titleProperty: \"fullName\";\n type: \"object\";\n visibility: \"NORMAL\";\n };\n}\n\nexport const EmployeeApiTest: EmployeeApiTest = {\n type: \"object\",\n apiName: \"Employee\",\n primaryKeyApiName: \"employeeId\",\n primaryKeyType: \"integer\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmIA,OAAO,MAAMA,eAAgC,GAAG;EAC9CC,IAAI,EAAE,QAAQ;EACdC,OAAO,EAAE,UAAU;EACnBC,iBAAiB,EAAE,YAAY;EAC/BC,cAAc,EAAE;AAClB,CAAC","ignoreList":[]}
|
|
@@ -36,6 +36,20 @@ interface Media {
|
|
|
36
36
|
* Returns the media reference
|
|
37
37
|
*/
|
|
38
38
|
getMediaReference(): MediaReference;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the source location of this media (object type, primary key, property name).
|
|
41
|
+
*
|
|
42
|
+
* Optional because not all media has a source location (e.g., transient/uploaded media).
|
|
43
|
+
*/
|
|
44
|
+
getMediaSourceLocation?(): MediaPropertyLocation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Location of a media property on an object.
|
|
48
|
+
*/
|
|
49
|
+
interface MediaPropertyLocation {
|
|
50
|
+
objectType: string;
|
|
51
|
+
primaryKey: string | number;
|
|
52
|
+
propertyName: string;
|
|
39
53
|
}
|
|
40
54
|
/**
|
|
41
55
|
* Unique identifier of a media item in Foundry.
|
|
@@ -551,6 +565,8 @@ declare namespace ObjectMetadata {
|
|
|
551
565
|
interface ObjectTypeDefinition {
|
|
552
566
|
type: "object";
|
|
553
567
|
apiName: string;
|
|
568
|
+
primaryKeyApiName?: string;
|
|
569
|
+
primaryKeyType?: PrimaryKeyTypes;
|
|
554
570
|
osdkMetadata?: OsdkMetadata;
|
|
555
571
|
__DefinitionMetadata?: ObjectMetadata & ObjectInterfaceCompileDefinition;
|
|
556
572
|
}
|
|
@@ -875,9 +891,9 @@ declare function isOk<X>(a: Result<X>): a is OkResult<X>;
|
|
|
875
891
|
type OsdkObjectLinksObject<O extends ObjectOrInterfaceDefinition> = ObjectTypeLinkKeysFrom2<O> extends never ? never : {
|
|
876
892
|
readonly [L in ObjectTypeLinkKeysFrom2<O>]: OsdkObjectLinksEntry<O, L>;
|
|
877
893
|
};
|
|
878
|
-
type OsdkObjectLinksEntry<Q extends ObjectOrInterfaceDefinition, L extends ObjectTypeLinkKeysFrom2<Q>> = CompileTimeMetadata<Q>["links"][L] extends ObjectMetadata.Link<infer T, infer M> ? (M extends false ? SingleLinkAccessor<T> : ObjectSet<T>) : CompileTimeMetadata<Q>["links"][L] extends InterfaceMetadata.Link<infer T, infer M> ? ObjectSet<T> : never;
|
|
894
|
+
type OsdkObjectLinksEntry<Q extends ObjectOrInterfaceDefinition, L extends ObjectTypeLinkKeysFrom2<Q>> = CompileTimeMetadata<Q>["links"][L] extends ObjectMetadata.Link<infer T, infer M> ? (M extends false ? SingleLinkAccessor<T> : ObjectSet<T>) : CompileTimeMetadata<Q>["links"][L] extends InterfaceMetadata.Link<infer T, infer M> ? (M extends false ? SingleLinkAccessor<T> : ObjectSet<T>) : never;
|
|
879
895
|
type DefaultToFalse<B extends boolean | undefined> = false extends B ? false : undefined extends B ? false : true;
|
|
880
|
-
interface SingleLinkAccessor<T extends
|
|
896
|
+
interface SingleLinkAccessor<T extends ObjectOrInterfaceDefinition> {
|
|
881
897
|
/** Load the linked object
|
|
882
898
|
*/
|
|
883
899
|
fetchOne: <const A extends SelectArg<T, PropertyKeys<T>, boolean>>(options?: A) => Promise<A extends FetchPageArgs<T, infer L, infer R, any, infer S> ? Osdk.Instance<T, ExtractOptions<R, S>, L & PropertyKeys<T>> : Osdk.Instance<T>>;
|
|
@@ -1203,6 +1219,76 @@ declare namespace NumberFilter {
|
|
|
1203
1219
|
}
|
|
1204
1220
|
type NumberFilter = number | NumberFilter.$eq | NumberFilter.$ne | NumberFilter.$isNull | NumberFilter.$in | NumberFilter.$gt | NumberFilter.$gte | NumberFilter.$lt | NumberFilter.$lte;
|
|
1205
1221
|
|
|
1222
|
+
type IntervalRule = {
|
|
1223
|
+
/** Matches intervals containing the given terms. */
|
|
1224
|
+
$match: string;
|
|
1225
|
+
/**
|
|
1226
|
+
* Max gaps between matched terms. E.g. "quick" and "fox" in
|
|
1227
|
+
* "quick brown fox" have a gap of 1. If unset, gaps are not considered.
|
|
1228
|
+
*/
|
|
1229
|
+
$maxGaps?: number;
|
|
1230
|
+
/** If true, matched terms must occur in order. */
|
|
1231
|
+
$ordered: boolean;
|
|
1232
|
+
$prefixOnLastTerm?: never;
|
|
1233
|
+
$and?: never;
|
|
1234
|
+
$or?: never;
|
|
1235
|
+
$fuzzy?: never;
|
|
1236
|
+
$fuzziness?: never;
|
|
1237
|
+
} | {
|
|
1238
|
+
/**
|
|
1239
|
+
* Matches a sequence of terms where all terms but the last must match
|
|
1240
|
+
* exactly, and the last is matched as a prefix. Ordering of terms is preserved.
|
|
1241
|
+
*/
|
|
1242
|
+
$match: string;
|
|
1243
|
+
$prefixOnLastTerm: true;
|
|
1244
|
+
$maxGaps?: never;
|
|
1245
|
+
$ordered?: never;
|
|
1246
|
+
$and?: never;
|
|
1247
|
+
$or?: never;
|
|
1248
|
+
$fuzzy?: never;
|
|
1249
|
+
$fuzziness?: never;
|
|
1250
|
+
} | {
|
|
1251
|
+
/** Matches intervals satisfying all sub-rules. */
|
|
1252
|
+
$and: IntervalRule[];
|
|
1253
|
+
/**
|
|
1254
|
+
* Max gaps between intervals produced by sub-rules.
|
|
1255
|
+
* If unset, gaps are not considered.
|
|
1256
|
+
*/
|
|
1257
|
+
$maxGaps?: number;
|
|
1258
|
+
/** If true, matched intervals must occur in order. */
|
|
1259
|
+
$ordered: boolean;
|
|
1260
|
+
$match?: never;
|
|
1261
|
+
$prefixOnLastTerm?: never;
|
|
1262
|
+
$or?: never;
|
|
1263
|
+
$fuzzy?: never;
|
|
1264
|
+
$fuzziness?: never;
|
|
1265
|
+
} | {
|
|
1266
|
+
/** Matches intervals satisfying any of the sub-rules. */
|
|
1267
|
+
$or: IntervalRule[];
|
|
1268
|
+
$match?: never;
|
|
1269
|
+
$prefixOnLastTerm?: never;
|
|
1270
|
+
$and?: never;
|
|
1271
|
+
$fuzzy?: never;
|
|
1272
|
+
$fuzziness?: never;
|
|
1273
|
+
$maxGaps?: never;
|
|
1274
|
+
$ordered?: never;
|
|
1275
|
+
} | {
|
|
1276
|
+
/** Matches a term within an edit distance defined by `$fuzziness`. */
|
|
1277
|
+
$fuzzy: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* Max edit distance for matching (0, 1, or 2). An edit is a character
|
|
1280
|
+
* insertion, deletion, substitution, or transposition of two adjacent
|
|
1281
|
+
* characters. If unset, defaults to 2.
|
|
1282
|
+
*/
|
|
1283
|
+
$fuzziness?: number;
|
|
1284
|
+
$match?: never;
|
|
1285
|
+
$prefixOnLastTerm?: never;
|
|
1286
|
+
$and?: never;
|
|
1287
|
+
$or?: never;
|
|
1288
|
+
$maxGaps?: never;
|
|
1289
|
+
$ordered?: never;
|
|
1290
|
+
};
|
|
1291
|
+
|
|
1206
1292
|
interface StringFilterOptions extends BaseFilterOptions<string> {
|
|
1207
1293
|
"$startsWith": string;
|
|
1208
1294
|
"$containsAllTermsInOrder": string;
|
|
@@ -1214,10 +1300,15 @@ interface StringFilterOptions extends BaseFilterOptions<string> {
|
|
|
1214
1300
|
term: string;
|
|
1215
1301
|
fuzzySearch?: boolean;
|
|
1216
1302
|
};
|
|
1303
|
+
"$interval": IntervalRule;
|
|
1217
1304
|
/**
|
|
1218
1305
|
* Matches any of the provided values. If an empty array is provided, the filter will match all objects.
|
|
1219
1306
|
*/
|
|
1220
1307
|
"$in": ReadonlyArray<string>;
|
|
1308
|
+
"$gt": string;
|
|
1309
|
+
"$gte": string;
|
|
1310
|
+
"$lt": string;
|
|
1311
|
+
"$lte": string;
|
|
1221
1312
|
}
|
|
1222
1313
|
declare namespace StringFilter {
|
|
1223
1314
|
interface $eq extends Just<"$eq", StringFilterOptions> {
|
|
@@ -1234,12 +1325,22 @@ declare namespace StringFilter {
|
|
|
1234
1325
|
}
|
|
1235
1326
|
interface $containsAllTerms extends Just<"$containsAllTerms", StringFilterOptions> {
|
|
1236
1327
|
}
|
|
1328
|
+
interface $interval extends Just<"$interval", StringFilterOptions> {
|
|
1329
|
+
}
|
|
1237
1330
|
interface $in extends Just<"$in", StringFilterOptions> {
|
|
1238
1331
|
}
|
|
1332
|
+
interface $gt extends Just<"$gt", StringFilterOptions> {
|
|
1333
|
+
}
|
|
1334
|
+
interface $gte extends Just<"$gte", StringFilterOptions> {
|
|
1335
|
+
}
|
|
1336
|
+
interface $lt extends Just<"$lt", StringFilterOptions> {
|
|
1337
|
+
}
|
|
1338
|
+
interface $lte extends Just<"$lte", StringFilterOptions> {
|
|
1339
|
+
}
|
|
1239
1340
|
}
|
|
1240
|
-
type StringFilter = string | StringFilter.$eq | StringFilter.$ne | StringFilter.$isNull | StringFilter.$in | StringFilter.$startsWith | StringFilter.$containsAllTermsInOrder | StringFilter.$containsAnyTerm | StringFilter.$containsAllTerms;
|
|
1341
|
+
type StringFilter = string | StringFilter.$eq | StringFilter.$ne | StringFilter.$isNull | StringFilter.$in | StringFilter.$startsWith | StringFilter.$containsAllTermsInOrder | StringFilter.$containsAnyTerm | StringFilter.$containsAllTerms | StringFilter.$interval | StringFilter.$gt | StringFilter.$gte | StringFilter.$lt | StringFilter.$lte;
|
|
1241
1342
|
|
|
1242
|
-
type PossibleWhereClauseFilters = "$gt" | "$eq" | "$ne" | "$isNull" | "$contains" | "$gte" | "$lt" | "$lte" | "$within" | "$in" | "$intersects" | "$startsWith" | "$containsAllTermsInOrder" | "$containsAnyTerm" | "$containsAllTerms";
|
|
1343
|
+
type PossibleWhereClauseFilters = "$gt" | "$eq" | "$ne" | "$isNull" | "$contains" | "$gte" | "$lt" | "$lte" | "$within" | "$in" | "$intersects" | "$startsWith" | "$containsAllTermsInOrder" | "$containsAnyTerm" | "$containsAllTerms" | "$interval";
|
|
1243
1344
|
declare const DistanceUnitMapping: {
|
|
1244
1345
|
centimeter: "CENTIMETERS";
|
|
1245
1346
|
centimeters: "CENTIMETERS";
|
|
@@ -1358,7 +1459,7 @@ declare namespace DerivedProperty {
|
|
|
1358
1459
|
};
|
|
1359
1460
|
interface BaseBuilder<Q extends ObjectOrInterfaceDefinition, CONSTRAINED extends boolean> extends Filterable<Q, CONSTRAINED>, Pivotable<Q, CONSTRAINED> {
|
|
1360
1461
|
}
|
|
1361
|
-
export interface Builder<Q extends ObjectOrInterfaceDefinition, CONSTRAINED extends boolean> extends BaseBuilder<Q, CONSTRAINED>, Selectable<Q
|
|
1462
|
+
export interface Builder<Q extends ObjectOrInterfaceDefinition, CONSTRAINED extends boolean> extends BaseBuilder<Q, CONSTRAINED>, Selectable<Q> {
|
|
1362
1463
|
}
|
|
1363
1464
|
export interface AggregateBuilder<Q extends ObjectOrInterfaceDefinition, CONSTRAINED extends boolean> extends BaseBuilder<Q, CONSTRAINED>, Aggregatable<Q> {
|
|
1364
1465
|
}
|
|
@@ -1374,15 +1475,6 @@ type Filterable<Q extends ObjectOrInterfaceDefinition, CONSTRAINED extends boole
|
|
|
1374
1475
|
type Pivotable<Q extends ObjectOrInterfaceDefinition, CONSTRAINED extends boolean> = {
|
|
1375
1476
|
readonly pivotTo: <L extends LinkNames<Q>>(type: L) => CONSTRAINED extends true ? DerivedProperty.AggregateBuilder<LinkedType<Q, L>, true> : NonNullable<CompileTimeMetadata<Q>["links"][L]["multiplicity"]> extends true ? DerivedProperty.AggregateBuilder<LinkedType<Q, L>, true> : DerivedProperty.SelectPropertyBuilder<LinkedType<Q, L>, false>;
|
|
1376
1477
|
};
|
|
1377
|
-
type Constant<Q extends ObjectOrInterfaceDefinition> = {
|
|
1378
|
-
readonly constant: {
|
|
1379
|
-
readonly double: (value: number) => DerivedProperty.NumericPropertyDefinition<SimplePropertyDef.Make<"double", "non-nullable", "single">, Q>;
|
|
1380
|
-
readonly integer: (value: number) => DerivedProperty.NumericPropertyDefinition<SimplePropertyDef.Make<"integer", "non-nullable", "single">, Q>;
|
|
1381
|
-
readonly long: (value: string) => DerivedProperty.NumericPropertyDefinition<SimplePropertyDef.Make<"long", "non-nullable", "single">, Q>;
|
|
1382
|
-
readonly datetime: (value: string) => DerivedProperty.DatetimePropertyDefinition<SimplePropertyDef.Make<"datetime", "non-nullable", "single">, Q>;
|
|
1383
|
-
readonly timestamp: (value: string) => DerivedProperty.DatetimePropertyDefinition<SimplePropertyDef.Make<"timestamp", "non-nullable", "single">, Q>;
|
|
1384
|
-
};
|
|
1385
|
-
};
|
|
1386
1478
|
type Aggregatable<Q extends ObjectOrInterfaceDefinition> = {
|
|
1387
1479
|
readonly aggregate: <V extends ValidAggregationKeys<Q, "withPropertiesAggregate">>(aggregationSpecifier: V, opts?: V extends `${any}:${infer P}` ? P extends CollectWithPropAggregations ? {
|
|
1388
1480
|
limit: number;
|
|
@@ -1721,4 +1813,4 @@ interface AsyncIterLinks<Q extends ObjectOrInterfaceDefinition> {
|
|
|
1721
1813
|
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>, Subscribe<MERGED>, NearestNeighbors<Q>, NarrowToType<Q> {
|
|
1722
1814
|
}
|
|
1723
1815
|
|
|
1724
|
-
export { type
|
|
1816
|
+
export { type Augment as $, type AttachmentUpload as A, type PossibleWhereClauseFilters as B, type CompileTimeMetadata as C, DistanceUnitMapping as D, type ExtractOptions as E, type FetchPageArgs as F, type GeoFilterOptions as G, type OsdkObjectCreatePropertyType as H, type InterfaceDefinition as I, type OsdkObjectPropertyType as J, type OsdkObjectLinksObject as K, type SingleLinkAccessor as L, type MediaReference as M, NullabilityAdherence as N, type ObjectOrInterfaceDefinition as O, PropertyKeys as P, DerivedProperty as Q, type ReleaseStatus as R, type SelectArg as S, DurationMapping as T, type AllGroupByValues as U, type ValidAggregationKeys as V, type WhereClause as W, type GroupByClause as X, type GroupByRange as Y, type AttachmentMetadata as Z, type AsyncIterArgs as _, Osdk as a, type ConvertProps as a$, type Augments as a0, ObjectSetArgs as a1, type SelectArgToKeys as a2, type SingleOsdkResult as a3, type MediaMetadata as a4, type MediaPropertyLocation as a5, type PropertyMarkings as a6, type PropertySecurity as a7, isOk as a8, type Result as a9, type DurationPrecision as aA, type HumanReadableFormat as aB, type NumberFormatAffix as aC, type NumberFormatCurrency as aD, type NumberFormatCurrencyStyle as aE, type NumberFormatCustomUnit as aF, type NumberFormatDuration as aG, type NumberFormatFixedValues as aH, type NumberFormatNotation as aI, type NumberFormatOptions as aJ, type NumberFormatRatio as aK, type NumberFormatScale as aL, type NumberFormatStandard as aM, type NumberFormatStandardUnit as aN, type NumberRatioType as aO, type NumberRoundingMode as aP, type NumberScaleType as aQ, type PropertyNumberFormattingRule as aR, type PropertyNumberFormattingRuleType as aS, type TimeCodeFormat as aT, type PropertyValueFormattingRule as aU, type PropertyTypeReference as aV, type PropertyTypeReferenceOrStringConstant as aW, type StringConstant as aX, type BaseWirePropertyTypes as aY, type WirePropertyTypes as aZ, type PrimaryKeyType as a_, type BaseObjectSet as aa, type FetchLinksPageResult as ab, type LinkTypeApiNamesFor as ac, type MinimalDirectedObjectLinkInstance as ad, ObjectSetSubscription as ae, InterfaceMetadata as af, type ObjectSpecifier as ag, ObjectMetadata as ah, type PropertyDef as ai, type VersionBound as aj, SimplePropertyDef as ak, type PropertyBooleanFormattingRule as al, type DatetimeFormat as am, type DatetimeLocalizedFormat as an, type DatetimeLocalizedFormatType as ao, type DatetimeStringFormat as ap, type DatetimeTimezone as aq, type DatetimeTimezoneStatic as ar, type DatetimeTimezoneUser as as, type PropertyDateFormattingRule as at, type PropertyTimestampFormattingRule as au, type KnownType as av, type PropertyKnownTypeFormattingRule as aw, type Affix as ax, type DurationBaseValue as ay, type DurationFormatStyle as az, type FetchPageResult as b, type MaybeScore as b0, type PageResult as b1, TimeseriesDurationMapping as b2, type GeotimeSeriesProperty as b3, type TimeSeriesPoint as b4, type TimeSeriesProperty as b5, type TimeSeriesQuery as b6, type LinkedType as b7, type LinkNames as b8, type OsdkBase as c, type MinimalObjectSet as d, type MediaUpload as e, type Media as f, type Attachment as g, type ObjectTypeDefinition as h, type ObjectIdentifiers as i, type OsdkObjectPrimaryKeyType as j, type ObjectSet as k, type OsdkMetadata as l, type PropertyValueWireToClient as m, type PrimaryKeyTypes as n, type AggregateOpts as o, type AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy as p, type AggregationResultsWithGroups as q, type AggregationResultsWithoutGroups as r, type AggregationClause as s, type AggregationsResults as t, type IntervalRule as u, type AndWhereClause as v, type GeoFilter_Intersects as w, type GeoFilter_Within as x, type NotWhereClause as y, type OrWhereClause as z };
|
package/build/cjs/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AttachmentUpload, M as MediaReference,
|
|
2
|
-
export {
|
|
1
|
+
import { A as AttachmentUpload, M as MediaReference, e as MediaUpload, f as Media, g as Attachment, h as ObjectTypeDefinition, i as ObjectIdentifiers, j as OsdkObjectPrimaryKeyType, k as ObjectSet, I as InterfaceDefinition, C as CompileTimeMetadata, l as OsdkMetadata, R as ReleaseStatus, O as ObjectOrInterfaceDefinition, m as PropertyValueWireToClient, n as PrimaryKeyTypes, c as OsdkBase } from './ObjectSet-DxD7I6OR.cjs';
|
|
2
|
+
export { ax as Affix, o as AggregateOpts, p as AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy, s as AggregationClause, q as AggregationResultsWithGroups, r as AggregationResultsWithoutGroups, t as AggregationsResults, U as AllGroupByValues, v as AndWhereClause, _ as AsyncIterArgs, Z as AttachmentMetadata, $ as Augment, a0 as Augments, aa as BaseObjectSet, aY as BaseWirePropertyTypes, a$ as ConvertProps, am as DatetimeFormat, an as DatetimeLocalizedFormat, ao as DatetimeLocalizedFormatType, ap as DatetimeStringFormat, aq as DatetimeTimezone, ar as DatetimeTimezoneStatic, as as DatetimeTimezoneUser, Q as DerivedProperty, D as DistanceUnitMapping, ay as DurationBaseValue, az as DurationFormatStyle, T as DurationMapping, aA as DurationPrecision, ab as FetchLinksPageResult, F as FetchPageArgs, b as FetchPageResult, G as GeoFilterOptions, w as GeoFilter_Intersects, x as GeoFilter_Within, b3 as GeotimeSeriesProperty, X as GroupByClause, Y as GroupByRange, aB as HumanReadableFormat, af as InterfaceMetadata, u as IntervalRule, av as KnownType, b8 as LinkNames, ac as LinkTypeApiNamesFor, b7 as LinkedType, b0 as MaybeScore, a4 as MediaMetadata, a5 as MediaPropertyLocation, ad as MinimalDirectedObjectLinkInstance, y as NotWhereClause, N as NullabilityAdherence, aC as NumberFormatAffix, aD as NumberFormatCurrency, aE as NumberFormatCurrencyStyle, aF as NumberFormatCustomUnit, aG as NumberFormatDuration, aH as NumberFormatFixedValues, aI as NumberFormatNotation, aJ as NumberFormatOptions, aK as NumberFormatRatio, aL as NumberFormatScale, aM as NumberFormatStandard, aN as NumberFormatStandardUnit, aO as NumberRatioType, aP as NumberRoundingMode, aQ as NumberScaleType, ah as ObjectMetadata, a1 as ObjectSetArgs, ae as ObjectSetSubscription, ag as ObjectSpecifier, z as OrWhereClause, a as Osdk, H as OsdkObjectCreatePropertyType, K as OsdkObjectLinksObject, J as OsdkObjectPropertyType, b1 as PageResult, B as PossibleWhereClauseFilters, a_ as PrimaryKeyType, al as PropertyBooleanFormattingRule, at as PropertyDateFormattingRule, ai as PropertyDef, P as PropertyKeys, aw as PropertyKnownTypeFormattingRule, a6 as PropertyMarkings, aR as PropertyNumberFormattingRule, aS as PropertyNumberFormattingRuleType, a7 as PropertySecurity, au as PropertyTimestampFormattingRule, aV as PropertyTypeReference, aW as PropertyTypeReferenceOrStringConstant, aU as PropertyValueFormattingRule, a9 as Result, S as SelectArg, a2 as SelectArgToKeys, ak as SimplePropertyDef, L as SingleLinkAccessor, a3 as SingleOsdkResult, aX as StringConstant, aT as TimeCodeFormat, b4 as TimeSeriesPoint, b5 as TimeSeriesProperty, b6 as TimeSeriesQuery, b2 as TimeseriesDurationMapping, V as ValidAggregationKeys, aj as VersionBound, W as WhereClause, aZ as WirePropertyTypes, a8 as isOk } from './ObjectSet-DxD7I6OR.cjs';
|
|
3
3
|
import 'type-fest';
|
|
4
4
|
import 'geojson';
|
|
5
5
|
|
|
@@ -62,7 +62,7 @@ interface DataValueClientToWire {
|
|
|
62
62
|
string: string;
|
|
63
63
|
timestamp: string;
|
|
64
64
|
set: Set<any>;
|
|
65
|
-
mediaReference: MediaReference | MediaUpload;
|
|
65
|
+
mediaReference: MediaReference | MediaUpload | Media;
|
|
66
66
|
twoDimensionalAggregation: {
|
|
67
67
|
key: AllowedBucketKeyTypes$1;
|
|
68
68
|
value: AllowedBucketTypes$1;
|
|
@@ -249,6 +249,7 @@ declare namespace Logger {
|
|
|
249
249
|
interface ActionMetadata {
|
|
250
250
|
type: "action";
|
|
251
251
|
apiName: string;
|
|
252
|
+
unsanitizedApiName?: string;
|
|
252
253
|
description?: string;
|
|
253
254
|
displayName?: string;
|
|
254
255
|
parameters: Record<any, ActionMetadata.Parameter<any>>;
|
|
@@ -295,6 +296,7 @@ interface ActionCompileTimeMetadata<T> {
|
|
|
295
296
|
interface ActionDefinition<T_signatures = never> {
|
|
296
297
|
type: "action";
|
|
297
298
|
apiName: string;
|
|
299
|
+
unsanitizedApiName?: string;
|
|
298
300
|
osdkMetadata?: OsdkMetadata;
|
|
299
301
|
__DefinitionMetadata?: ActionCompileTimeMetadata<T_signatures> & ActionMetadata;
|
|
300
302
|
}
|
|
@@ -335,7 +337,7 @@ type BaseQueryDataTypeDefinition<T extends string> = {
|
|
|
335
337
|
nullable?: boolean;
|
|
336
338
|
type: T;
|
|
337
339
|
};
|
|
338
|
-
type WireQueryDataTypes = "double" | "float" | "integer" | "long" | "boolean" | "string" | "date" | "timestamp" | "attachment";
|
|
340
|
+
type WireQueryDataTypes = "double" | "float" | "integer" | "long" | "boolean" | "string" | "date" | "timestamp" | "attachment" | "mediaReference";
|
|
339
341
|
type PrimitiveDataType<Q extends WireQueryDataTypes = WireQueryDataTypes> = BaseQueryDataTypeDefinition<Q>;
|
|
340
342
|
interface ObjectQueryDataType<T_Target extends ObjectOrInterfaceDefinition = never> extends BaseQueryDataTypeDefinition<"object"> {
|
|
341
343
|
object: string;
|
|
@@ -479,6 +481,10 @@ declare namespace QueryResult {
|
|
|
479
481
|
type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyWireToClient<"range", T>;
|
|
480
482
|
type TwoDimensionalAggregationType<T extends AggregationKeyTypes | RangeKey<any>, V extends AggregationValueTypes> = TwoDimensionalAggregation<T extends AggregationKeyTypes ? AggKeyWireToClient<T> : T, AggValueWireToClient<V>>;
|
|
481
483
|
type ThreeDimensionalAggregationType<OUT extends AggregationKeyTypes | RangeKey<any>, IN extends AggregationKeyTypes | RangeKey<any>, V extends AggregationValueTypes> = ThreeDimensionalAggregation<OUT extends AggregationKeyTypes ? AggKeyWireToClient<OUT> : OUT, IN extends AggregationKeyTypes ? AggKeyWireToClient<IN> : IN, AggValueWireToClient<V>>;
|
|
484
|
+
/**
|
|
485
|
+
* Helper type for media reference query results - returns Media interface
|
|
486
|
+
*/
|
|
487
|
+
type MediaType = Media;
|
|
482
488
|
}
|
|
483
489
|
|
|
484
|
-
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, type InterfaceQueryDataType, Logger, MediaReference, MediaUpload, ObjectIdentifiers, ObjectOrInterfaceDefinition, type ObjectQueryDataType, type ObjectSet, type ObjectSetQueryDataType, ObjectTypeDefinition, type OntologyMetadata, OsdkBase, type OsdkObject, PrimaryKeyTypes, PropertyValueWireToClient, type QueryDataTypeDefinition, type QueryDefinition, type QueryMetadata, QueryParam, type QueryParameterDefinition, QueryResult, type Range, type ThreeDimensionalAggregation, type ThreeDimensionalQueryAggregationDefinition, type TwoDimensionalAggregation, type TwoDimensionalQueryAggregationDefinition };
|
|
490
|
+
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, type InterfaceQueryDataType, Logger, Media, MediaReference, MediaUpload, ObjectIdentifiers, ObjectOrInterfaceDefinition, type ObjectQueryDataType, type ObjectSet, type ObjectSetQueryDataType, ObjectTypeDefinition, type OntologyMetadata, OsdkBase, type OsdkObject, PrimaryKeyTypes, PropertyValueWireToClient, type QueryDataTypeDefinition, type QueryDefinition, type QueryMetadata, QueryParam, type QueryParameterDefinition, QueryResult, type Range, type ThreeDimensionalAggregation, type ThreeDimensionalQueryAggregationDefinition, type TwoDimensionalAggregation, type TwoDimensionalQueryAggregationDefinition };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"shapes-internal.cjs"}
|
|
@@ -0,0 +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-C7-hN21K.cjs';
|
|
2
|
+
import '../ObjectSet-DxD7I6OR.cjs';
|
|
3
|
+
import 'type-fest';
|
|
4
|
+
import 'geojson';
|