@osdk/api 2.4.0-beta.1 → 2.4.0-beta.3
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 +10 -0
- package/build/browser/OsdkObjectFrom.js.map +1 -1
- package/build/browser/index.js.map +1 -1
- package/build/browser/mapping/PropertyValueMapping.js.map +1 -1
- package/build/browser/objectSet/ObjectSet.js.map +1 -1
- package/build/browser/objectSet/ObjectSet.test.js +35 -4
- package/build/browser/objectSet/ObjectSet.test.js.map +1 -1
- package/build/browser/ontology/WirePropertyTypes.js.map +1 -1
- package/build/browser/test/EmployeeApiTest.js.map +1 -1
- package/build/cjs/{ObjectSet-C67LQ5JX.d.cts → ObjectSet-CXrWiyTM.d.cts} +26 -3
- package/build/cjs/index.d.cts +2 -2
- package/build/cjs/public/unstable.d.cts +2 -2
- package/build/esm/OsdkObjectFrom.js.map +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/mapping/PropertyValueMapping.js.map +1 -1
- package/build/esm/objectSet/ObjectSet.js.map +1 -1
- package/build/esm/objectSet/ObjectSet.test.js +35 -4
- package/build/esm/objectSet/ObjectSet.test.js.map +1 -1
- package/build/esm/ontology/WirePropertyTypes.js.map +1 -1
- package/build/esm/test/EmployeeApiTest.js.map +1 -1
- package/build/types/OsdkObjectFrom.d.ts +8 -2
- package/build/types/OsdkObjectFrom.d.ts.map +1 -1
- package/build/types/index.d.ts +1 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/mapping/PropertyValueMapping.d.ts +2 -0
- package/build/types/mapping/PropertyValueMapping.d.ts.map +1 -1
- package/build/types/objectSet/ObjectSet.d.ts +16 -1
- package/build/types/objectSet/ObjectSet.d.ts.map +1 -1
- package/build/types/ontology/WirePropertyTypes.d.ts +1 -1
- package/build/types/ontology/WirePropertyTypes.d.ts.map +1 -1
- package/build/types/test/EmployeeApiTest.d.ts +5 -1
- package/build/types/test/EmployeeApiTest.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WirePropertyTypes.js","names":[],"sources":["WirePropertyTypes.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 WirePropertyTypes =\n | BaseWirePropertyTypes\n | Record<string, BaseWirePropertyTypes>;\n\nexport type BaseWirePropertyTypes =\n | \"string\"\n | \"datetime\"\n | \"double\"\n | \"boolean\"\n | \"integer\"\n | \"timestamp\"\n | \"short\"\n | \"long\"\n | \"float\"\n | \"decimal\"\n | \"byte\"\n | \"marking\"\n | \"mediaReference\"\n | \"numericTimeseries\"\n | \"stringTimeseries\"\n | \"sensorTimeseries\"\n | \"attachment\"\n | \"geopoint\"\n | \"geoshape\"\n | \"geotimeSeriesReference\";\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"WirePropertyTypes.js","names":[],"sources":["WirePropertyTypes.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 WirePropertyTypes =\n | BaseWirePropertyTypes\n | Record<string, BaseWirePropertyTypes>;\n\nexport type BaseWirePropertyTypes =\n | \"string\"\n | \"datetime\"\n | \"double\"\n | \"boolean\"\n | \"integer\"\n | \"timestamp\"\n | \"short\"\n | \"long\"\n | \"float\"\n | \"decimal\"\n | \"byte\"\n | \"marking\"\n | \"mediaReference\"\n | \"numericTimeseries\"\n | \"stringTimeseries\"\n | \"sensorTimeseries\"\n | \"attachment\"\n | \"geopoint\"\n | \"geoshape\"\n | \"geotimeSeriesReference\"\n | \"vector\";\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\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 }\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 };\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"],"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;;AAiIA,OAAO,MAAMA,eAAgC,GAAG;EAC9CC,IAAI,EAAE,QAAQ;EACdC,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { DefaultToFalse, OsdkObjectLinksObject } from "./definitions/LinkDefinitions.js";
|
|
2
2
|
import type { NullabilityAdherence } from "./object/FetchPageArgs.js";
|
|
3
3
|
import type { UnionIfTrue } from "./object/FetchPageResult.js";
|
|
4
|
-
import type { InterfaceDefinition } from "./ontology/InterfaceDefinition.js";
|
|
4
|
+
import type { InterfaceDefinition, InterfaceMetadata } from "./ontology/InterfaceDefinition.js";
|
|
5
5
|
import type { ObjectOrInterfaceDefinition, PropertyKeys } from "./ontology/ObjectOrInterface.js";
|
|
6
|
-
import type { CompileTimeMetadata, ObjectTypeDefinition } from "./ontology/ObjectTypeDefinition.js";
|
|
6
|
+
import type { CompileTimeMetadata, ObjectMetadata, ObjectTypeDefinition } from "./ontology/ObjectTypeDefinition.js";
|
|
7
7
|
import type { SimplePropertyDef } from "./ontology/SimplePropertyDef.js";
|
|
8
8
|
import type { OsdkBase } from "./OsdkBase.js";
|
|
9
9
|
type SpecialOsdkPropParams = "$all" | "$rid" | "$strict" | "$notStrict";
|
|
@@ -78,6 +78,12 @@ export declare namespace Osdk {
|
|
|
78
78
|
} ? Q["linksType"] : Q extends ObjectTypeDefinition ? OsdkObjectLinksObject<Q> : never
|
|
79
79
|
readonly $as: <NEW_Q extends ValidToFrom<Q>>(type: NEW_Q | string) => Osdk.Instance<NEW_Q, OPTIONS, ConvertProps<Q, NEW_Q, P, OPTIONS>>
|
|
80
80
|
readonly $clone: <NEW_PROPS extends PropertyKeys<Q>>(updatedObject?: Osdk.Instance<Q, any, NEW_PROPS> | { [K in NEW_PROPS]? : CompileTimeMetadata<Q>["props"][K] }) => Osdk.Instance<Q, OPTIONS, P | NEW_PROPS>
|
|
81
|
+
readonly $__EXPERIMENTAL__NOT_SUPPORTED_YET__metadata: Q extends ObjectTypeDefinition ? {
|
|
82
|
+
ObjectMetadata: Q
|
|
83
|
+
} : {
|
|
84
|
+
ObjectMetadata: ObjectMetadata
|
|
85
|
+
InterfaceMetadata: InterfaceMetadata
|
|
86
|
+
}
|
|
81
87
|
} & (IsNever<OPTIONS> extends true ? {} : IsAny<OPTIONS> extends true ? {} : "$rid" extends OPTIONS ? {
|
|
82
88
|
readonly $rid: string
|
|
83
89
|
} : {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cACE,gBACA,6BACK,kCAAmC;AAC1C,cAAc,4BAA4B,2BAA4B;AACtE,cAAc,mBAAmB,6BAA8B;AAC/D,
|
|
1
|
+
{"mappings":"AAgBA,cACE,gBACA,6BACK,kCAAmC;AAC1C,cAAc,4BAA4B,2BAA4B;AACtE,cAAc,mBAAmB,6BAA8B;AAC/D,cACE,qBACA,yBACK,mCAAoC;AAC3C,cACE,6BACA,oBACK,iCAAkC;AACzC,cACE,qBACA,gBACA,4BACK,oCAAqC;AAC5C,cAAc,yBAAyB,iCAAkC;AACzE,cAAc,gBAAgB,eAAgB;KAYzC,wBACD,SACA,SACA,YACA;KAEC,oBAAoB,UAAU,+BAC/B,wBACA,aAAa;AAEjB,YAAY,gBACV,UAAU,+BACR,oB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B;AAEN,YAAY,2BAA2B,qBACrC,QAAQ,WAAW,eACf,eAAe,WAAW,gBAC1B;AAGN,YAAY;CACV;CACA,UAAU,uBAAuB,qBAAqB;CACtD,oBAAoB;IAClB,iBAAiB,KAAK,2BAA2B","names":["type: NEW_Q | string","updatedObject?:\n | Osdk.Instance<Q, any, NEW_PROPS>\n | {\n [K in NEW_PROPS]?: CompileTimeMetadata<\n Q\n >[\"props\"][K];\n }"],"sources":["../../src/OsdkObjectFrom.ts"],"version":3,"file":"OsdkObjectFrom.d.ts"}
|
package/build/types/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export type { AllGroupByValues, GroupByClause, GroupByRange } from "./groupby/Gr
|
|
|
19
19
|
export type { AllowedBucketKeyTypes, AllowedBucketTypes, DataValueClientToWire, DataValueWireToClient } from "./mapping/DataValueMapping.js";
|
|
20
20
|
export type { PropertyValueWireToClient } from "./mapping/PropertyValueMapping.js";
|
|
21
21
|
export type { Attachment, AttachmentUpload } from "./object/Attachment.js";
|
|
22
|
-
export type { AsyncIterArgs, Augment, Augments, FetchPageArgs, NullabilityAdherence, SelectArg, SelectArgToKeys } from "./object/FetchPageArgs.js";
|
|
22
|
+
export type { AsyncIterArgs, Augment, Augments, FetchPageArgs, NullabilityAdherence, ObjectSetArgs, SelectArg, SelectArgToKeys } from "./object/FetchPageArgs.js";
|
|
23
23
|
export type { FetchPageResult, SingleOsdkResult } from "./object/FetchPageResult.js";
|
|
24
24
|
export type { Media, MediaMetadata, MediaReference, MediaUpload } from "./object/Media.js";
|
|
25
25
|
export { isOk } from "./object/Result.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cAAc,kCAAkC;AAChD,cACE,oBACA,aACA,0BACA,oBACA,+BACK;AACP,SAAS,kBAAkB;AAC3B,cAAc,4BAA4B;AAC1C,cAAc,qBAAqB;AACnC,cAAc,sEAAsE;AACpF,cAAc,oCAAoC;AAClD,cAAc,uCAAuC;AACrD,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,wBAAwB;AACtC,SAAS,2BAA2B;AACpC,cACE,sBACA,kBACA,4BACA,mBACK;AACP,cAAc,8BAA8B;AAC5C,cACE,uBACA,0BACK;AACP,cAAc,uBAAuB;AACrC,SAAS,uBAAuB;AAChC,cACE,kBACA,eACA,oBACK;AACP,cACE,uBACA,oBACA,uBACA,6BACK;AACP,cACE,iCACK;AACP,cAAc,YAAY,wBAAwB;AAClD,cACE,eACA,SACA,UACA,eACA,sBACA,WACA,uBACK;AACP,cACE,iBACA,wBACK;AACP,cACE,OACA,eACA,gBACA,mBACK;AACP,SAAS,YAAY;AACrB,cAAc,cAAc;AAC5B,cAAc,qBAAqB;AACnC,cAAc,iBAAiB;AAC/B,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,qBACA,wBACA,yBACA,iBACA,eACA,0BACA,4CACA,gDACK;AACP,cACE,uBACA,yBACK;AACP,cACE,mBACA,UACA,sBACK;AACP,cAAc,kBAAkB;AAChC,cAAc,cAAc,YAAY;AACxC,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;AACA,cAAc,cAAc","names":[],"sources":["../../src/index.ts"],"version":3,"file":"index.d.ts"}
|
|
1
|
+
{"mappings":"AAgBA,cAAc,kCAAkC;AAChD,cACE,oBACA,aACA,0BACA,oBACA,+BACK;AACP,SAAS,kBAAkB;AAC3B,cAAc,4BAA4B;AAC1C,cAAc,qBAAqB;AACnC,cAAc,sEAAsE;AACpF,cAAc,oCAAoC;AAClD,cAAc,uCAAuC;AACrD,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,wBAAwB;AACtC,SAAS,2BAA2B;AACpC,cACE,sBACA,kBACA,4BACA,mBACK;AACP,cAAc,8BAA8B;AAC5C,cACE,uBACA,0BACK;AACP,cAAc,uBAAuB;AACrC,SAAS,uBAAuB;AAChC,cACE,kBACA,eACA,oBACK;AACP,cACE,uBACA,oBACA,uBACA,6BACK;AACP,cACE,iCACK;AACP,cAAc,YAAY,wBAAwB;AAClD,cACE,eACA,SACA,UACA,eACA,sBACA,eACA,WACA,uBACK;AACP,cACE,iBACA,wBACK;AACP,cACE,OACA,eACA,gBACA,mBACK;AACP,SAAS,YAAY;AACrB,cAAc,cAAc;AAC5B,cAAc,qBAAqB;AACnC,cAAc,iBAAiB;AAC/B,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,qBACA,wBACA,yBACA,iBACA,eACA,0BACA,4CACA,gDACK;AACP,cACE,uBACA,yBACK;AACP,cACE,mBACA,UACA,sBACK;AACP,cAAc,kBAAkB;AAChC,cAAc,cAAc,YAAY;AACxC,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;AACA,cAAc,cAAc","names":[],"sources":["../../src/index.ts"],"version":3,"file":"index.d.ts"}
|
|
@@ -25,6 +25,7 @@ export interface PropertyValueWireToClient {
|
|
|
25
25
|
stringTimeseries: TimeSeriesProperty<string>;
|
|
26
26
|
sensorTimeseries: TimeSeriesProperty<string | number>;
|
|
27
27
|
geotimeSeriesReference: GeotimeSeriesProperty<GeoJSON.Point>;
|
|
28
|
+
vector: number[];
|
|
28
29
|
}
|
|
29
30
|
export type GetClientPropertyValueFromWire<T extends keyof PropertyValueWireToClient | Record<string, keyof PropertyValueWireToClient>> = T extends keyof PropertyValueWireToClient ? PropertyValueWireToClient[T] : T extends Record<string, keyof PropertyValueWireToClient> ? { [K in keyof T] : PropertyValueWireToClient[T[K]] } : never;
|
|
30
31
|
/**
|
|
@@ -53,5 +54,6 @@ export interface PropertyValueClientToWire {
|
|
|
53
54
|
stringTimeseries: TimeSeriesProperty<string>;
|
|
54
55
|
sensorTimeseries: TimeSeriesProperty<string | number>;
|
|
55
56
|
geotimeSeriesReference: GeotimeSeriesProperty<GeoJSON.Point>;
|
|
57
|
+
vector: number[];
|
|
56
58
|
}
|
|
57
59
|
export type GetWirePropertyValueFromClient<T extends keyof PropertyValueClientToWire | Record<string, keyof PropertyValueClientToWire>> = T extends keyof PropertyValueClientToWire ? PropertyValueClientToWire[T] : T extends Record<string, keyof PropertyValueClientToWire> ? { [K in keyof T] : PropertyValueClientToWire[T[K]] } : never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cAAc,YAAY,wBAAwB,yBAA0B;AAC5E,cAAc,aAAa,oBAAqB;AAChD,cACE,uBACA,0BACK,6BAA8B;;;;AAKrC,iBAAiB,0BAA0B;CACzC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,QAAQ;CAClB,UAAU,QAAQ;CAClB;CACA;CACA;CACA,gBAAgB;CAChB;CACA;CACA;CACA,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,wBAAwB,sBAAsB,QAAQ;
|
|
1
|
+
{"mappings":"AAgBA,cAAc,YAAY,wBAAwB,yBAA0B;AAC5E,cAAc,aAAa,oBAAqB;AAChD,cACE,uBACA,0BACK,6BAA8B;;;;AAKrC,iBAAiB,0BAA0B;CACzC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,QAAQ;CAClB,UAAU,QAAQ;CAClB;CACA;CACA;CACA,gBAAgB;CAChB;CACA;CACA;CACA,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,wBAAwB,sBAAsB,QAAQ;CACtD;AACD;AAED,YAAY,+BACV,gBACU,4BACN,qBAAqB,8BACvB,gBAAgB,4BAA4B,0BAA0B,KACtE,UAAU,qBAAqB,gCAC1B,WAAW,KAAI,0BAA0B,EAAE;;;;AAMpD,iBAAiB,0BAA0B;CACzC,qBAAqB,mBAAmB,OAAO;WAAW;CAAc;CACxE;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,QAAQ;CAClB,UAAU,QAAQ;CAClB;CACA;CACA;CACA;CACA;CACA;CACA,gBAAgB;CAChB,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,wBAAwB,sBAAsB,QAAQ;CACtD;AACD;AACD,YAAY,+BACV,gBACU,4BACN,qBAAqB,8BACvB,gBAAgB,4BAA4B,0BAA0B,KACtE,UAAU,qBAAqB,gCAC1B,WAAW,KAAI,0BAA0B,EAAE","names":[],"sources":["../../../src/mapping/PropertyValueMapping.ts"],"version":3,"file":"PropertyValueMapping.d.ts"}
|
|
@@ -81,6 +81,21 @@ interface FetchPageSignature<
|
|
|
81
81
|
T extends boolean = false
|
|
82
82
|
>(args?: FetchPageArgs<Q, L, R, A, S, T>): Promise<PageResult<Osdk.Instance<Q, ExtractOptions<R, S, T>, NoInfer<SubSelectKeys<Q, NonNullable<typeof args>>>, SubSelectRDPs<RDPs, NonNullable<typeof args>>>>>;
|
|
83
83
|
}
|
|
84
|
+
interface NearestNeighbors<Q extends ObjectOrInterfaceDefinition> {
|
|
85
|
+
/**
|
|
86
|
+
* Finds the nearest neighbors for a given text or vector within the object set.
|
|
87
|
+
*
|
|
88
|
+
* @param query - Queries support either a vector matching the embedding model defined on the property, or text that is
|
|
89
|
+
automatically embedded.
|
|
90
|
+
* @param numNeighbors - The number of objects to return. If the number of documents in the objectType is less than the provided
|
|
91
|
+
value, all objects will be returned. This value is limited to 1 ≤ numNeighbors ≥ 500.
|
|
92
|
+
* @param property - The property key with a defined embedding model to search over.
|
|
93
|
+
*
|
|
94
|
+
* @returns An object set containing the `numNeighbors` nearest neighbors. To return the objects ordered by relevance and each
|
|
95
|
+
* objects associated score, specify "relevance" in the orderBy.
|
|
96
|
+
*/
|
|
97
|
+
readonly nearestNeighbors: (query: string | number[], numNeighbors: number, property: PropertyKeys.Filtered<Q, "vector">) => this;
|
|
98
|
+
}
|
|
84
99
|
interface FetchPageWithErrorsSignature<
|
|
85
100
|
Q extends ObjectOrInterfaceDefinition,
|
|
86
101
|
RDPs extends Record<string, SimplePropertyDef> = {}
|
|
@@ -290,5 +305,5 @@ interface ObjectSetCleanedTypes<
|
|
|
290
305
|
Q extends ObjectOrInterfaceDefinition,
|
|
291
306
|
D extends Record<string, SimplePropertyDef>,
|
|
292
307
|
MERGED extends ObjectOrInterfaceDefinition & Q
|
|
293
|
-
> extends MinimalObjectSet<Q, D>, WithProperties<Q, D>, Aggregate<MERGED>, SetArithmetic<MERGED>, PivotTo<Q>, FetchOne<Q, D>, Subscribe<MERGED> {}
|
|
308
|
+
> extends MinimalObjectSet<Q, D>, WithProperties<Q, D>, Aggregate<MERGED>, SetArithmetic<MERGED>, PivotTo<Q>, FetchOne<Q, D>, Subscribe<MERGED>, NearestNeighbors<Q> {}
|
|
294
309
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cAAc,qBAAqB,+BAAgC;AACnE,cAAc,sEAAsE,yCAA0C;AAC9H,cAAc,2BAA2B,qCAAsC;AAC/E,cAAc,mBAAmB,6BAA8B;AAC/D,cAAc,8BAA8B,yCAA0C;AACtF,cACE,eACA,UACA,eACA,sBACA,eACA,iBACK,4BAA6B;AACpC,cAAc,cAAc,qBAAsB;AAClD,cACE,oCACA,6BACA,oBACK,kCAAmC;AAC1C,cACE,qBACA,4BACK,qCAAsC;AAC7C,cAAc,yBAAyB,kCAAmC;AAC1E,cAAc,sBAAsB,gB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UAAU,qBAAqB;GAEvDD,YAAY,eAAe,IAC3BC,UAAU,UAAU,GAAG,GAAG,GAAG,KAC5B,QACD,OACE,KAAK,SACH,GACA,eAAe,GAAG,IAClB,QAAQ,cAAc,GAAG;EAAE,SAAS,MAAM;CAAI,KAC9C,cAAc,MAAM;EAAE,SAAS,MAAM;CAAI;AAIhD;UAES;CACR,UAAU;CACV,aAAa,eAAe;EAC5B;CACA,UAAU,UAAU,uBAAuB,kBAAkB,GAAG;CAChE,oBAAoB,UAAU,uBAC1B,4BAA4B,GAAG;AAEpC;UAGS,UACR,UAAU,6BACV;;;;;;;UAOS,kBACD,UAAU,aAAa,IAE7BC,UAAU,sBAAsB,SAAS,GAAG,IAC5CC,OAAO,sBAAsB,QAAQ,GAAG,OACrC;EAAE;CAAyB;AACjC;UAES;CACR,UAAU;CACV,UAAU,eAAe;CACzB,eAAe,8BAA8B;UAE7C,iBAAiB,GAAG,IACpB,eAAe,GAAG,IAClB,UAAU,SACV,cAAc,SACd,QAAQ,IACR,SAAS,GAAG,IACZ,UAAU,SACV,iBAAiB,GACnB,CACC","names":["args?: FetchPageArgs<Q, L, R, A, S, T>","query: string | number[]","numNeighbors: number","property: PropertyKeys.Filtered<Q, \"vector\">","clause: WhereClause<MergeObjectSet<Q, RDPs>>","args?: X","args?: AsyncIterArgs<Q, L, R, A, S, T>","clause: { [K in keyof NEW]: DerivedPropertyCreator<Q, NEW[K]> }","req: AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy<Q, AO>","type: L","primaryKey: PrimaryKeyType<Q>","options?: SelectArg<Q, L, R, S>","listener: ObjectSetSubscription.Listener<Q, P>","opts?: ObjectSetSubscription.Options<Q, P>"],"sources":["../../../src/objectSet/ObjectSet.ts"],"version":3,"file":"ObjectSet.d.ts"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type WirePropertyTypes = BaseWirePropertyTypes | Record<string, BaseWirePropertyTypes>;
|
|
2
|
-
export type BaseWirePropertyTypes = "string" | "datetime" | "double" | "boolean" | "integer" | "timestamp" | "short" | "long" | "float" | "decimal" | "byte" | "marking" | "mediaReference" | "numericTimeseries" | "stringTimeseries" | "sensorTimeseries" | "attachment" | "geopoint" | "geoshape" | "geotimeSeriesReference";
|
|
2
|
+
export type BaseWirePropertyTypes = "string" | "datetime" | "double" | "boolean" | "integer" | "timestamp" | "short" | "long" | "float" | "decimal" | "byte" | "marking" | "mediaReference" | "numericTimeseries" | "stringTimeseries" | "sensorTimeseries" | "attachment" | "geopoint" | "geoshape" | "geotimeSeriesReference" | "vector";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,YAAY,oBACR,wBACA,eAAe;AAEnB,YAAY,wBACR,WACA,aACA,WACA,YACA,YACA,cACA,UACA,SACA,UACA,YACA,SACA,YACA,mBACA,sBACA,qBACA,qBACA,eACA,aACA,aACA","names":[],"sources":["../../../src/ontology/WirePropertyTypes.ts"],"version":3,"file":"WirePropertyTypes.d.ts"}
|
|
1
|
+
{"mappings":"AAgBA,YAAY,oBACR,wBACA,eAAe;AAEnB,YAAY,wBACR,WACA,aACA,WACA,YACA,YACA,cACA,UACA,SACA,UACA,YACA,SACA,YACA,mBACA,sBACA,qBACA,qBACA,eACA,aACA,aACA,2BACA","names":[],"sources":["../../../src/ontology/WirePropertyTypes.ts"],"version":3,"file":"WirePropertyTypes.d.ts"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ObjectMetadata as $ObjectMetadata, ObjectSet as $ObjectSet, ObjectTypeDefinition as $ObjectTypeDefinition, PropertyDef as $PropertyDef, PropertyValueWireToClient as $PropType, SingleLinkAccessor as $SingleLinkAccessor } from "../index.js";
|
|
2
2
|
export declare namespace EmployeeApiTest {
|
|
3
|
-
type PropertyKeys = "employeeId" | "fullName" | "class" | "attachment" | "geopoint" | "timeseries" | "mediaReference" | "geotimeSeriesReference" | "isActive" | "yearsOfExperience" | "rank" | "performanceScore" | "hourlyRate" | "dateOfJoining" | "lastUpdated";
|
|
3
|
+
type PropertyKeys = "employeeId" | "fullName" | "class" | "attachment" | "geopoint" | "timeseries" | "mediaReference" | "geotimeSeriesReference" | "isActive" | "yearsOfExperience" | "rank" | "performanceScore" | "hourlyRate" | "dateOfJoining" | "lastUpdated" | "skillSet" | "skillSetEmbedding";
|
|
4
4
|
interface Links {
|
|
5
5
|
readonly lead: $SingleLinkAccessor<EmployeeApiTest>;
|
|
6
6
|
readonly peeps: EmployeeApiTest.ObjectSet;
|
|
@@ -21,6 +21,8 @@ export declare namespace EmployeeApiTest {
|
|
|
21
21
|
readonly hourlyRate: $PropType["float"] | undefined;
|
|
22
22
|
readonly dateOfJoining: $PropType["datetime"] | undefined;
|
|
23
23
|
readonly lastUpdated: $PropType["timestamp"] | undefined;
|
|
24
|
+
readonly skillSet: $PropType["string"] | undefined;
|
|
25
|
+
readonly skillSetEmbedding: $PropType["vector"] | undefined;
|
|
24
26
|
}
|
|
25
27
|
type StrictProps = Props;
|
|
26
28
|
interface ObjectSet extends $ObjectSet<EmployeeApiTest, EmployeeApiTest.ObjectSet> {}
|
|
@@ -75,6 +77,8 @@ export interface EmployeeApiTest extends $ObjectTypeDefinition {
|
|
|
75
77
|
hourlyRate: $PropertyDef<"float", "nullable", "single">
|
|
76
78
|
dateOfJoining: $PropertyDef<"datetime", "nullable", "single">
|
|
77
79
|
lastUpdated: $PropertyDef<"timestamp", "nullable", "single">
|
|
80
|
+
skillSet: $PropertyDef<"string", "nullable", "single">
|
|
81
|
+
skillSetEmbedding: $PropertyDef<"vector", "nullable", "single">
|
|
78
82
|
}
|
|
79
83
|
rid: "ri.ontology.main.object-type.401ac022-89eb-4591-8b7e-0a912b9efb44"
|
|
80
84
|
status: "ACTIVE"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cACE,kBAAkB,iBAClB,aAAa,YACb,wBAAwB,uBACxB,eAAe,cACf,6BAA6B,WAC7B,sBAAsB,2BACjB,aAAc;AAErB,yBAAiB;MACH,e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;EACvB,WAAW,gBAAgB;EAC3B,aAAa,gBAAgB;EAC7B,SAAS;EACT,aAAa;EACb,aAAa;EACb,MAAM;GACJ,MAAM;GACN,OAAO;GACP,MAAM;EACP;EACD,aAAa;EACb,cAAc;GACZ,cAAc;IACZ,QAAQ;GACT;EACF;EACD,qBAAqB;GACnB,cAAc;IACZ,UAAU;GACX;EACF;EACD,OAAO;GACL,MAAM,gBAAgB,KAAK,iBAAiB;GAC5C,OAAO,gBAAgB,KAAK,iBAAiB;EAC9C;EACD,mBAAmB;EACnB,mBAAmB;EACnB,gBAAgB;EAChB,YAAY;GACV,OAAO,aAAa,UAAU,YAAY;GAC1C,UAAU,aAAa,UAAU,YAAY;GAC7C,YAAY,aAAa,WAAW,YAAY;GAChD,YAAY,aAAa,cAAc,YAAY;GACnD,UAAU,aAAa,YAAY,YAAY;GAC/C,YAAY,aAAa,qBAAqB,YAAY;GAC1D,gBAAgB,aAAa,kBAAkB,YAAY;GAC3D,wBAAwB,aACtB,0BACA,YACA;GAEF,UAAU,aAAa,WAAW,YAAY;GAC9C,mBAAmB,aAAa,QAAQ,YAAY;GACpD,MAAM,aAAa,SAAS,YAAY;GACxC,kBAAkB,aAAa,UAAU,YAAY;GACrD,YAAY,aAAa,SAAS,YAAY;GAC9C,eAAe,aAAa,YAAY,YAAY;GACpD,aAAa,aAAa,aAAa,YAAY;GACnD,UAAU,aAAa,UAAU,YAAY;GAC7C,mBAAmB,aAAa,UAAU,YAAY;EACvD;EACD,KAAK;EACL,QAAQ;EACR,eAAe;EACf,MAAM;EACN,YAAY;CACb;AACF;AAED,OAAO,cAAMA,iBAAiB","names":["EmployeeApiTest: EmployeeApiTest"],"sources":["../../../src/test/EmployeeApiTest.ts"],"version":3,"file":"EmployeeApiTest.d.ts"}
|