@osdk/api 2.8.0-beta.2 → 2.8.0-beta.20

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.
Files changed (75) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/build/browser/aggregate/StringFilter.js.map +1 -1
  3. package/build/browser/mapping/DataValueMapping.js.map +1 -1
  4. package/build/browser/ontology/QueryDefinition.js.map +1 -1
  5. package/build/browser/queries/Queries.js.map +1 -1
  6. package/build/cjs/{ObjectSet-CqVqDXKn.d.cts → ObjectSet-ChROetz0.d.cts} +14 -2
  7. package/build/cjs/index.d.cts +9 -5
  8. package/build/cjs/public/unstable.d.cts +2 -2
  9. package/build/esm/aggregate/StringFilter.js.map +1 -1
  10. package/build/esm/mapping/DataValueMapping.js.map +1 -1
  11. package/build/esm/ontology/QueryDefinition.js.map +1 -1
  12. package/build/esm/queries/Queries.js.map +1 -1
  13. package/build/types/aggregate/StringFilter.d.ts +9 -1
  14. package/build/types/aggregate/StringFilter.d.ts.map +1 -1
  15. package/build/types/mapping/DataValueMapping.d.ts +2 -2
  16. package/build/types/mapping/DataValueMapping.d.ts.map +1 -1
  17. package/build/types/ontology/QueryDefinition.d.ts +1 -1
  18. package/build/types/ontology/QueryDefinition.d.ts.map +1 -1
  19. package/build/types/queries/Queries.d.ts +2 -0
  20. package/build/types/queries/Queries.d.ts.map +1 -1
  21. package/package.json +1 -1
  22. package/build/browser/OsdkObjectFrom.test.js +0 -204
  23. package/build/browser/OsdkObjectFrom.test.js.map +0 -1
  24. package/build/browser/aggregate/AggregationsClause.test.js +0 -21
  25. package/build/browser/aggregate/AggregationsClause.test.js.map +0 -1
  26. package/build/browser/definitions/LinkDefinitions.test.js +0 -26
  27. package/build/browser/definitions/LinkDefinitions.test.js.map +0 -1
  28. package/build/browser/groupby/GroupByClause.test.js +0 -21
  29. package/build/browser/groupby/GroupByClause.test.js.map +0 -1
  30. package/build/browser/junk.test.js +0 -23
  31. package/build/browser/junk.test.js.map +0 -1
  32. package/build/browser/object/ObjectDefinitions.test.js +0 -28
  33. package/build/browser/object/ObjectDefinitions.test.js.map +0 -1
  34. package/build/browser/objectSet/ObjectSet.test.js +0 -736
  35. package/build/browser/objectSet/ObjectSet.test.js.map +0 -1
  36. package/build/browser/ontology/ObjectSpecifier.test.js +0 -53
  37. package/build/browser/ontology/ObjectSpecifier.test.js.map +0 -1
  38. package/build/browser/ontology/SimplePropertyDef.test.js +0 -48
  39. package/build/browser/ontology/SimplePropertyDef.test.js.map +0 -1
  40. package/build/esm/OsdkObjectFrom.test.js +0 -204
  41. package/build/esm/OsdkObjectFrom.test.js.map +0 -1
  42. package/build/esm/aggregate/AggregationsClause.test.js +0 -21
  43. package/build/esm/aggregate/AggregationsClause.test.js.map +0 -1
  44. package/build/esm/definitions/LinkDefinitions.test.js +0 -26
  45. package/build/esm/definitions/LinkDefinitions.test.js.map +0 -1
  46. package/build/esm/groupby/GroupByClause.test.js +0 -21
  47. package/build/esm/groupby/GroupByClause.test.js.map +0 -1
  48. package/build/esm/junk.test.js +0 -23
  49. package/build/esm/junk.test.js.map +0 -1
  50. package/build/esm/object/ObjectDefinitions.test.js +0 -28
  51. package/build/esm/object/ObjectDefinitions.test.js.map +0 -1
  52. package/build/esm/objectSet/ObjectSet.test.js +0 -736
  53. package/build/esm/objectSet/ObjectSet.test.js.map +0 -1
  54. package/build/esm/ontology/ObjectSpecifier.test.js +0 -53
  55. package/build/esm/ontology/ObjectSpecifier.test.js.map +0 -1
  56. package/build/esm/ontology/SimplePropertyDef.test.js +0 -48
  57. package/build/esm/ontology/SimplePropertyDef.test.js.map +0 -1
  58. package/build/types/OsdkObjectFrom.test.d.ts +0 -1
  59. package/build/types/OsdkObjectFrom.test.d.ts.map +0 -1
  60. package/build/types/aggregate/AggregationsClause.test.d.ts +0 -46
  61. package/build/types/aggregate/AggregationsClause.test.d.ts.map +0 -1
  62. package/build/types/definitions/LinkDefinitions.test.d.ts +0 -1
  63. package/build/types/definitions/LinkDefinitions.test.d.ts.map +0 -1
  64. package/build/types/groupby/GroupByClause.test.d.ts +0 -23
  65. package/build/types/groupby/GroupByClause.test.d.ts.map +0 -1
  66. package/build/types/junk.test.d.ts +0 -1
  67. package/build/types/junk.test.d.ts.map +0 -1
  68. package/build/types/object/ObjectDefinitions.test.d.ts +0 -1
  69. package/build/types/object/ObjectDefinitions.test.d.ts.map +0 -1
  70. package/build/types/objectSet/ObjectSet.test.d.ts +0 -2
  71. package/build/types/objectSet/ObjectSet.test.d.ts.map +0 -1
  72. package/build/types/ontology/ObjectSpecifier.test.d.ts +0 -1
  73. package/build/types/ontology/ObjectSpecifier.test.d.ts.map +0 -1
  74. package/build/types/ontology/SimplePropertyDef.test.d.ts +0 -1
  75. package/build/types/ontology/SimplePropertyDef.test.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # @osdk/api
2
2
 
3
+ ## 2.8.0-beta.20
4
+
5
+ ## 2.8.0-beta.19
6
+
7
+ ## 2.8.0-beta.18
8
+
9
+ ## 2.8.0-beta.17
10
+
11
+ ### Minor Changes
12
+
13
+ - 8c30908: Add support for lt and gt strings.
14
+
15
+ ## 2.8.0-beta.16
16
+
17
+ ## 2.8.0-beta.15
18
+
19
+ ## 2.8.0-beta.14
20
+
21
+ ### Minor Changes
22
+
23
+ - 35f2f1a: Add Media inputs/outputs for Queries
24
+
25
+ ## 2.8.0-beta.13
26
+
27
+ ## 2.8.0-beta.12
28
+
29
+ ## 2.8.0-beta.11
30
+
31
+ ## 2.8.0-beta.10
32
+
33
+ ## 2.8.0-beta.9
34
+
35
+ ## 2.8.0-beta.8
36
+
37
+ ## 2.8.0-beta.7
38
+
39
+ ## 2.8.0-beta.6
40
+
41
+ ## 2.8.0-beta.5
42
+
43
+ ## 2.8.0-beta.4
44
+
45
+ ## 2.8.0-beta.3
46
+
3
47
  ## 2.8.0-beta.2
4
48
 
5
49
  ## 2.7.0-beta.14
@@ -1 +1 @@
1
- {"version":3,"file":"StringFilter.js","names":["StringFilter","_typeCheck"],"sources":["StringFilter.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface StringFilterOptions extends BaseFilterOptions<string> {\n \"$startsWith\": string;\n \"$containsAllTermsInOrder\": string;\n \"$containsAnyTerm\": string | { term: string; fuzzySearch?: boolean };\n \"$containsAllTerms\": string | { term: string; fuzzySearch?: boolean };\n /**\n * Matches any of the provided values. If an empty array is provided, the filter will match all objects.\n */\n \"$in\": ReadonlyArray<string>;\n}\n\nexport namespace StringFilter {\n export interface $eq extends Just<\"$eq\", StringFilterOptions> {}\n export interface $ne extends Just<\"$ne\", StringFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", StringFilterOptions> {}\n export interface $startsWith\n extends Just<\"$startsWith\", StringFilterOptions>\n {\n }\n export interface $containsAllTermsInOrder\n extends Just<\"$containsAllTermsInOrder\", StringFilterOptions>\n {\n }\n export interface $containsAnyTerm\n extends Just<\"$containsAnyTerm\", StringFilterOptions>\n {\n }\n export interface $containsAllTerms\n extends Just<\"$containsAllTerms\", StringFilterOptions>\n {\n }\n export interface $in extends Just<\"$in\", StringFilterOptions> {}\n}\n\nexport type StringFilter =\n | string\n | StringFilter.$eq\n | StringFilter.$ne\n | StringFilter.$isNull\n | StringFilter.$in\n | StringFilter.$startsWith\n | StringFilter.$containsAllTermsInOrder\n | StringFilter.$containsAnyTerm\n | StringFilter.$containsAllTerms;\n\n/** @internal */\nfunction _typeCheck() {\n const b: StringFilter = {} as CatchThemAll<StringFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA8BiBA,YAAY;AAkC7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
1
+ {"version":3,"file":"StringFilter.js","names":["StringFilter","_typeCheck"],"sources":["StringFilter.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface StringFilterOptions extends BaseFilterOptions<string> {\n \"$startsWith\": string;\n \"$containsAllTermsInOrder\": string;\n \"$containsAnyTerm\": string | { term: string; fuzzySearch?: boolean };\n \"$containsAllTerms\": string | { term: string; fuzzySearch?: boolean };\n /**\n * Matches any of the provided values. If an empty array is provided, the filter will match all objects.\n */\n \"$in\": ReadonlyArray<string>;\n \"$gt\": string;\n \"$gte\": string;\n \"$lt\": string;\n \"$lte\": string;\n}\n\nexport namespace StringFilter {\n export interface $eq extends Just<\"$eq\", StringFilterOptions> {}\n export interface $ne extends Just<\"$ne\", StringFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", StringFilterOptions> {}\n export interface $startsWith\n extends Just<\"$startsWith\", StringFilterOptions>\n {\n }\n export interface $containsAllTermsInOrder\n extends Just<\"$containsAllTermsInOrder\", StringFilterOptions>\n {\n }\n export interface $containsAnyTerm\n extends Just<\"$containsAnyTerm\", StringFilterOptions>\n {\n }\n export interface $containsAllTerms\n extends Just<\"$containsAllTerms\", StringFilterOptions>\n {\n }\n export interface $in extends Just<\"$in\", StringFilterOptions> {}\n export interface $gt extends Just<\"$gt\", StringFilterOptions> {}\n export interface $gte extends Just<\"$gte\", StringFilterOptions> {}\n export interface $lt extends Just<\"$lt\", StringFilterOptions> {}\n export interface $lte extends Just<\"$lte\", StringFilterOptions> {}\n}\n\nexport type StringFilter =\n | string\n | StringFilter.$eq\n | StringFilter.$ne\n | StringFilter.$isNull\n | StringFilter.$in\n | StringFilter.$startsWith\n | StringFilter.$containsAllTermsInOrder\n | StringFilter.$containsAnyTerm\n | StringFilter.$containsAllTerms\n | StringFilter.$gt\n | StringFilter.$gte\n | StringFilter.$lt\n | StringFilter.$lte;\n\n/** @internal */\nfunction _typeCheck() {\n const b: StringFilter = {} as CatchThemAll<StringFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAkCiBA,YAAY;AA0C7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"DataValueMapping.js","names":[],"sources":["DataValueMapping.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { Attachment, AttachmentUpload } from \"../object/Attachment.js\";\nimport type { MediaReference, MediaUpload } from \"../object/Media.js\";\n\n/**\n * Map from the DataValue type to the typescript type that we return\n */\nexport interface DataValueWireToClient {\n attachment: Attachment;\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string;\n float: number;\n double: number;\n integer: number;\n long: string;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n mediaReference: MediaReference;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n set: Set<any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\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;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | {\n startValue: AllowedBucketTypes;\n endValue: AllowedBucketTypes;\n };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"DataValueMapping.js","names":[],"sources":["DataValueMapping.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { Attachment, AttachmentUpload } from \"../object/Attachment.js\";\nimport type { Media, MediaReference, MediaUpload } from \"../object/Media.js\";\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}\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 twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | {\n startValue: AllowedBucketTypes;\n endValue: AllowedBucketTypes;\n };\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryDefinition.js","names":[],"sources":["QueryDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { ObjectOrInterfaceDefinition } from \"./ObjectOrInterface.js\";\nimport type { ObjectTypeDefinition } from \"./ObjectTypeDefinition.js\";\n\nexport interface QueryMetadata {\n type: \"query\";\n apiName: string;\n description?: string;\n displayName?: string;\n version: string;\n parameters: Record<string, QueryParameterDefinition<any>>;\n output: QueryDataTypeDefinition;\n rid: string;\n}\n\nexport interface QueryCompileTimeMetadata<T> {\n signature: T;\n}\n\nexport interface QueryDefinition<T = any> {\n type: \"query\";\n apiName: string;\n version?: string;\n isFixedVersion?: boolean;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?:\n & QueryCompileTimeMetadata<T>\n & QueryMetadata;\n}\n\nexport type QueryParameterDefinition<\n T_Target extends ObjectTypeDefinition = any,\n> = {\n description?: string;\n} & QueryDataTypeDefinition<T_Target>;\n\nexport type QueryDataTypeDefinition<\n T_Target extends ObjectOrInterfaceDefinition = any,\n> =\n | PrimitiveDataType\n | ObjectQueryDataType<T_Target>\n | InterfaceQueryDataType<T_Target>\n | ObjectSetQueryDataType<T_Target>\n | InterfaceObjectSetQueryDataType<T_Target>\n | SetQueryDataType\n | UnionQueryDataType\n | StructQueryDataType\n | TwoDimensionalAggregationDataType\n | ThreeDimensionalAggregationDataType\n | MapDataType\n | ArrayQueryDataType;\n\nexport type BaseQueryDataTypeDefinition<T extends string> = {\n nullable?: boolean;\n type: T;\n};\n\nexport type WireQueryDataTypes =\n | \"double\"\n | \"float\"\n | \"integer\"\n | \"long\"\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"timestamp\"\n | \"attachment\";\n\nexport type PrimitiveDataType<\n Q extends WireQueryDataTypes = WireQueryDataTypes,\n> = BaseQueryDataTypeDefinition<Q>;\n\nexport interface ObjectQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"object\"> {\n object: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface InterfaceQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"interface\"> {\n interface: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface ObjectSetQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"objectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface InterfaceObjectSetQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"interfaceObjectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface SetQueryDataType extends BaseQueryDataTypeDefinition<\"set\"> {\n set: QueryDataTypeDefinition;\n}\n\nexport interface ArrayQueryDataType\n extends BaseQueryDataTypeDefinition<\"array\">\n{\n array: QueryDataTypeDefinition;\n}\nexport interface UnionQueryDataType\n extends BaseQueryDataTypeDefinition<\"union\">\n{\n union: ReadonlyArray<QueryDataTypeDefinition>;\n}\n\nexport interface StructQueryDataType\n extends BaseQueryDataTypeDefinition<\"struct\">\n{\n struct: Record<string, QueryDataTypeDefinition>;\n}\n\nexport interface TwoDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"twoDimensionalAggregation\">\n{\n twoDimensionalAggregation: TwoDimensionalQueryAggregationDefinition;\n}\n\nexport interface ThreeDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"threeDimensionalAggregation\">\n{\n threeDimensionalAggregation: ThreeDimensionalQueryAggregationDefinition;\n}\n\nexport interface MapDataType extends BaseQueryDataTypeDefinition<\"map\"> {\n keyType: QueryDataTypeDefinition;\n valueType: QueryDataTypeDefinition;\n}\n\nexport type AggregationKeyDataType<V = any> =\n | SimpleAggregationKeyDataType<V>\n | RangeAggregationKeyDataType<V>;\n\nexport interface SimpleAggregationKeyDataType<V = any> {\n keyType: Exclude<AggregationKeyTypes, \"range\">;\n valueType: V;\n}\nexport interface RangeAggregationKeyDataType<V = any> {\n keyType: \"range\";\n keySubtype: AggregationRangeKeyTypes;\n valueType: V;\n}\n\nexport type TwoDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n AggregationValueTypes\n>;\n\nexport type ThreeDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n TwoDimensionalQueryAggregationDefinition\n>;\n\nexport type AggregationKeyTypes =\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\"\n | \"range\";\n\nexport type AggregationRangeKeyTypes =\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\";\n\nexport type AggregationValueTypes = \"date\" | \"double\" | \"timestamp\";\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"QueryDefinition.js","names":[],"sources":["QueryDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { ObjectOrInterfaceDefinition } from \"./ObjectOrInterface.js\";\nimport type { ObjectTypeDefinition } from \"./ObjectTypeDefinition.js\";\n\nexport interface QueryMetadata {\n type: \"query\";\n apiName: string;\n description?: string;\n displayName?: string;\n version: string;\n parameters: Record<string, QueryParameterDefinition<any>>;\n output: QueryDataTypeDefinition;\n rid: string;\n}\n\nexport interface QueryCompileTimeMetadata<T> {\n signature: T;\n}\n\nexport interface QueryDefinition<T = any> {\n type: \"query\";\n apiName: string;\n version?: string;\n isFixedVersion?: boolean;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?:\n & QueryCompileTimeMetadata<T>\n & QueryMetadata;\n}\n\nexport type QueryParameterDefinition<\n T_Target extends ObjectTypeDefinition = any,\n> = {\n description?: string;\n} & QueryDataTypeDefinition<T_Target>;\n\nexport type QueryDataTypeDefinition<\n T_Target extends ObjectOrInterfaceDefinition = any,\n> =\n | PrimitiveDataType\n | ObjectQueryDataType<T_Target>\n | InterfaceQueryDataType<T_Target>\n | ObjectSetQueryDataType<T_Target>\n | InterfaceObjectSetQueryDataType<T_Target>\n | SetQueryDataType\n | UnionQueryDataType\n | StructQueryDataType\n | TwoDimensionalAggregationDataType\n | ThreeDimensionalAggregationDataType\n | MapDataType\n | ArrayQueryDataType;\n\nexport type BaseQueryDataTypeDefinition<T extends string> = {\n nullable?: boolean;\n type: T;\n};\n\nexport type WireQueryDataTypes =\n | \"double\"\n | \"float\"\n | \"integer\"\n | \"long\"\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"timestamp\"\n | \"attachment\"\n | \"mediaReference\";\n\nexport type PrimitiveDataType<\n Q extends WireQueryDataTypes = WireQueryDataTypes,\n> = BaseQueryDataTypeDefinition<Q>;\n\nexport interface ObjectQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"object\"> {\n object: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface InterfaceQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"interface\"> {\n interface: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface ObjectSetQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"objectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface InterfaceObjectSetQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"interfaceObjectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface SetQueryDataType extends BaseQueryDataTypeDefinition<\"set\"> {\n set: QueryDataTypeDefinition;\n}\n\nexport interface ArrayQueryDataType\n extends BaseQueryDataTypeDefinition<\"array\">\n{\n array: QueryDataTypeDefinition;\n}\nexport interface UnionQueryDataType\n extends BaseQueryDataTypeDefinition<\"union\">\n{\n union: ReadonlyArray<QueryDataTypeDefinition>;\n}\n\nexport interface StructQueryDataType\n extends BaseQueryDataTypeDefinition<\"struct\">\n{\n struct: Record<string, QueryDataTypeDefinition>;\n}\n\nexport interface TwoDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"twoDimensionalAggregation\">\n{\n twoDimensionalAggregation: TwoDimensionalQueryAggregationDefinition;\n}\n\nexport interface ThreeDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"threeDimensionalAggregation\">\n{\n threeDimensionalAggregation: ThreeDimensionalQueryAggregationDefinition;\n}\n\nexport interface MapDataType extends BaseQueryDataTypeDefinition<\"map\"> {\n keyType: QueryDataTypeDefinition;\n valueType: QueryDataTypeDefinition;\n}\n\nexport type AggregationKeyDataType<V = any> =\n | SimpleAggregationKeyDataType<V>\n | RangeAggregationKeyDataType<V>;\n\nexport interface SimpleAggregationKeyDataType<V = any> {\n keyType: Exclude<AggregationKeyTypes, \"range\">;\n valueType: V;\n}\nexport interface RangeAggregationKeyDataType<V = any> {\n keyType: \"range\";\n keySubtype: AggregationRangeKeyTypes;\n valueType: V;\n}\n\nexport type TwoDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n AggregationValueTypes\n>;\n\nexport type ThreeDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n TwoDimensionalQueryAggregationDefinition\n>;\n\nexport type AggregationKeyTypes =\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\"\n | \"range\";\n\nexport type AggregationRangeKeyTypes =\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\";\n\nexport type AggregationValueTypes = \"date\" | \"double\" | \"timestamp\";\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"Queries.js","names":["QueryParam","QueryResult"],"sources":["Queries.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 {\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"../mapping/DataValueMapping.js\";\nimport type { ObjectSet } from \"../objectSet/ObjectSet.js\";\nimport type { InterfaceDefinition } from \"../ontology/InterfaceDefinition.js\";\nimport type { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type {\n AggregationKeyTypes,\n AggregationRangeKeyTypes,\n AggregationValueTypes,\n} from \"../ontology/QueryDefinition.js\";\nimport type { ObjectIdentifiers, OsdkBase } from \"../OsdkBase.js\";\nimport type { OsdkObjectPrimaryKeyType } from \"../OsdkObjectPrimaryKeyType.js\";\nimport type {\n AggKeyClientToWire,\n AggKeyWireToClient,\n AggValueClientToWire,\n AggValueWireToClient,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n} from \"./Aggregations.js\";\n\n/**\n * Helper types for converting query definition parameter types to typescript types\n */\nexport namespace QueryParam {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueClientToWire[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectOrInterfaceDefinition> =\n | ObjectIdentifiers<T>\n | OsdkObjectPrimaryKeyType<T>;\n\n /**\n * Helper type to convert action definition parameter interface types to typescript types\n */\n export type InterfaceType<T extends InterfaceDefinition> = {\n $objectType: CompileTimeMetadata<T> extends { implementedBy: infer U }\n ? (U extends ReadonlyArray<never> ? string\n : U extends ReadonlyArray<string> ? U[number]\n : string)\n : string;\n $primaryKey: string | number;\n $apiName?: never;\n } | {\n $apiName: T[\"apiName\"];\n $objectType: string;\n $primaryKey: string | number;\n };\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectOrInterfaceDefinition> = ObjectSet<\n T\n >;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyClientToWire<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyClientToWire<T> : T,\n AggValueClientToWire<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyClientToWire<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyClientToWire<IN> : IN,\n AggValueClientToWire<V>\n >;\n}\n\n/**\n * Helper types for converting query result types to typescript types\n */\nexport namespace QueryResult {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueWireToClient[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectOrInterfaceDefinition> = OsdkBase<T>;\n\n export type InterfaceType<T extends ObjectOrInterfaceDefinition> = OsdkBase<\n T\n >;\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectOrInterfaceDefinition> = ObjectSet<\n T\n >;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyWireToClient<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyWireToClient<T> : T,\n AggValueWireToClient<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyWireToClient<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyWireToClient<IN> : IN,\n AggValueWireToClient<V>\n >;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA0BA;AACA;AACA;AAFA,WAGiBA,UAAU;AA8D3B;AACA;AACA;AAFA,WAGiBC,WAAW","ignoreList":[]}
1
+ {"version":3,"file":"Queries.js","names":["QueryParam","QueryResult"],"sources":["Queries.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 {\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"../mapping/DataValueMapping.js\";\nimport type { Media } from \"../object/Media.js\";\nimport type { ObjectSet } from \"../objectSet/ObjectSet.js\";\nimport type { InterfaceDefinition } from \"../ontology/InterfaceDefinition.js\";\nimport type { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type {\n AggregationKeyTypes,\n AggregationRangeKeyTypes,\n AggregationValueTypes,\n} from \"../ontology/QueryDefinition.js\";\nimport type { ObjectIdentifiers, OsdkBase } from \"../OsdkBase.js\";\nimport type { OsdkObjectPrimaryKeyType } from \"../OsdkObjectPrimaryKeyType.js\";\nimport type {\n AggKeyClientToWire,\n AggKeyWireToClient,\n AggValueClientToWire,\n AggValueWireToClient,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n} from \"./Aggregations.js\";\n\n/**\n * Helper types for converting query definition parameter types to typescript types\n */\nexport namespace QueryParam {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueClientToWire[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectOrInterfaceDefinition> =\n | ObjectIdentifiers<T>\n | OsdkObjectPrimaryKeyType<T>;\n\n /**\n * Helper type to convert action definition parameter interface types to typescript types\n */\n export type InterfaceType<T extends InterfaceDefinition> = {\n $objectType: CompileTimeMetadata<T> extends { implementedBy: infer U }\n ? (U extends ReadonlyArray<never> ? string\n : U extends ReadonlyArray<string> ? U[number]\n : string)\n : string;\n $primaryKey: string | number;\n $apiName?: never;\n } | {\n $apiName: T[\"apiName\"];\n $objectType: string;\n $primaryKey: string | number;\n };\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectOrInterfaceDefinition> = ObjectSet<\n T\n >;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyClientToWire<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyClientToWire<T> : T,\n AggValueClientToWire<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyClientToWire<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyClientToWire<IN> : IN,\n AggValueClientToWire<V>\n >;\n}\n\n/**\n * Helper types for converting query result types to typescript types\n */\nexport namespace QueryResult {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueWireToClient[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectOrInterfaceDefinition> = OsdkBase<T>;\n\n export type InterfaceType<T extends ObjectOrInterfaceDefinition> = OsdkBase<\n T\n >;\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectOrInterfaceDefinition> = ObjectSet<\n T\n >;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyWireToClient<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyWireToClient<T> : T,\n AggValueWireToClient<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyWireToClient<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyWireToClient<IN> : IN,\n AggValueWireToClient<V>\n >;\n\n /**\n * Helper type for media reference query results - returns Media interface\n */\n export type MediaType = Media;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA2BA;AACA;AACA;AAFA,WAGiBA,UAAU;AA8D3B;AACA;AACA;AAFA,WAGiBC,WAAW","ignoreList":[]}
@@ -1218,6 +1218,10 @@ interface StringFilterOptions extends BaseFilterOptions<string> {
1218
1218
  * Matches any of the provided values. If an empty array is provided, the filter will match all objects.
1219
1219
  */
1220
1220
  "$in": ReadonlyArray<string>;
1221
+ "$gt": string;
1222
+ "$gte": string;
1223
+ "$lt": string;
1224
+ "$lte": string;
1221
1225
  }
1222
1226
  declare namespace StringFilter {
1223
1227
  interface $eq extends Just<"$eq", StringFilterOptions> {
@@ -1236,8 +1240,16 @@ declare namespace StringFilter {
1236
1240
  }
1237
1241
  interface $in extends Just<"$in", StringFilterOptions> {
1238
1242
  }
1243
+ interface $gt extends Just<"$gt", StringFilterOptions> {
1244
+ }
1245
+ interface $gte extends Just<"$gte", StringFilterOptions> {
1246
+ }
1247
+ interface $lt extends Just<"$lt", StringFilterOptions> {
1248
+ }
1249
+ interface $lte extends Just<"$lte", StringFilterOptions> {
1250
+ }
1239
1251
  }
1240
- type StringFilter = string | StringFilter.$eq | StringFilter.$ne | StringFilter.$isNull | StringFilter.$in | StringFilter.$startsWith | StringFilter.$containsAllTermsInOrder | StringFilter.$containsAnyTerm | StringFilter.$containsAllTerms;
1252
+ type StringFilter = string | StringFilter.$eq | StringFilter.$ne | StringFilter.$isNull | StringFilter.$in | StringFilter.$startsWith | StringFilter.$containsAllTermsInOrder | StringFilter.$containsAnyTerm | StringFilter.$containsAllTerms | StringFilter.$gt | StringFilter.$gte | StringFilter.$lt | StringFilter.$lte;
1241
1253
 
1242
1254
  type PossibleWhereClauseFilters = "$gt" | "$eq" | "$ne" | "$isNull" | "$contains" | "$gte" | "$lt" | "$lte" | "$within" | "$in" | "$intersects" | "$startsWith" | "$containsAllTermsInOrder" | "$containsAnyTerm" | "$containsAllTerms";
1243
1255
  declare const DistanceUnitMapping: {
@@ -1721,4 +1733,4 @@ interface AsyncIterLinks<Q extends ObjectOrInterfaceDefinition> {
1721
1733
  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
1734
  }
1723
1735
 
1724
- export { type PropertyMarkings as $, type AttachmentUpload as A, type GroupByClause as B, type CompileTimeMetadata as C, DistanceUnitMapping as D, type GroupByRange as E, type AsyncIterArgs as F, type GeoFilterOptions as G, type Augment as H, type InterfaceDefinition as I, type Augments as J, type FetchPageArgs as K, NullabilityAdherence as L, type MediaReference as M, type NotWhereClause as N, type ObjectTypeDefinition as O, type PropertyValueWireToClient as P, ObjectSetArgs as Q, type ReleaseStatus as R, type SingleLinkAccessor as S, type SelectArg as T, type SelectArgToKeys as U, type ValidAggregationKeys as V, type WhereClause as W, type FetchPageResult as X, type SingleOsdkResult as Y, type Media as Z, type MediaMetadata as _, type MediaUpload as a, type TimeSeriesPoint as a$, type PropertySecurity as a0, isOk as a1, type Result as a2, type BaseObjectSet as a3, type FetchLinksPageResult as a4, type LinkTypeApiNamesFor as a5, type MinimalDirectedObjectLinkInstance as a6, ObjectSetSubscription as a7, InterfaceMetadata as a8, PropertyKeys as a9, type NumberFormatDuration as aA, type NumberFormatFixedValues as aB, type NumberFormatNotation as aC, type NumberFormatOptions as aD, type NumberFormatRatio as aE, type NumberFormatScale as aF, type NumberFormatStandard as aG, type NumberFormatStandardUnit as aH, type NumberRatioType as aI, type NumberRoundingMode as aJ, type NumberScaleType as aK, type PropertyNumberFormattingRule as aL, type PropertyNumberFormattingRuleType as aM, type TimeCodeFormat as aN, type PropertyValueFormattingRule as aO, type PropertyTypeReference as aP, type PropertyTypeReferenceOrStringConstant as aQ, type StringConstant as aR, type BaseWirePropertyTypes as aS, type WirePropertyTypes as aT, type PrimaryKeyType as aU, type ConvertProps as aV, type MaybeScore as aW, Osdk as aX, type PageResult as aY, TimeseriesDurationMapping as aZ, type GeotimeSeriesProperty as a_, type ObjectSpecifier as aa, ObjectMetadata as ab, type PropertyDef as ac, type VersionBound as ad, SimplePropertyDef as ae, type PropertyBooleanFormattingRule as af, type DatetimeFormat as ag, type DatetimeLocalizedFormat as ah, type DatetimeLocalizedFormatType as ai, type DatetimeStringFormat as aj, type DatetimeTimezone as ak, type DatetimeTimezoneStatic as al, type DatetimeTimezoneUser as am, type PropertyDateFormattingRule as an, type PropertyTimestampFormattingRule as ao, type KnownType as ap, type PropertyKnownTypeFormattingRule as aq, type Affix as ar, type DurationBaseValue as as, type DurationFormatStyle as at, type DurationPrecision as au, type HumanReadableFormat as av, type NumberFormatAffix as aw, type NumberFormatCurrency as ax, type NumberFormatCurrencyStyle as ay, type NumberFormatCustomUnit as az, type Attachment as b, type TimeSeriesProperty as b0, type TimeSeriesQuery as b1, type LinkedType as b2, type LinkNames as b3, type ExtractOptions as b4, type MinimalObjectSet as b5, type ObjectIdentifiers as c, type OsdkObjectPrimaryKeyType as d, type ObjectSet as e, type OsdkMetadata as f, type ObjectOrInterfaceDefinition as g, type PrimaryKeyTypes as h, type OsdkBase as i, type AggregateOpts as j, type AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy as k, type AggregationResultsWithGroups as l, type AggregationResultsWithoutGroups as m, type AggregationClause as n, type AggregationsResults as o, type AndWhereClause as p, type GeoFilter_Intersects as q, type GeoFilter_Within as r, type OrWhereClause as s, type PossibleWhereClauseFilters as t, type OsdkObjectCreatePropertyType as u, type OsdkObjectPropertyType as v, type OsdkObjectLinksObject as w, DerivedProperty as x, DurationMapping as y, type AllGroupByValues as z };
1736
+ export { type PropertyMarkings as $, type AttachmentUpload as A, type AllGroupByValues as B, type CompileTimeMetadata as C, DistanceUnitMapping as D, type GroupByClause as E, type GroupByRange as F, type GeoFilterOptions as G, type AsyncIterArgs as H, type InterfaceDefinition as I, type Augment as J, type Augments as K, type FetchPageArgs as L, type MediaReference as M, type NotWhereClause as N, type ObjectTypeDefinition as O, type PropertyValueWireToClient as P, NullabilityAdherence as Q, type ReleaseStatus as R, type SingleLinkAccessor as S, ObjectSetArgs as T, type SelectArg as U, type ValidAggregationKeys as V, type WhereClause as W, type SelectArgToKeys as X, type FetchPageResult as Y, type SingleOsdkResult as Z, type MediaMetadata as _, type MediaUpload as a, type TimeSeriesPoint as a$, type PropertySecurity as a0, isOk as a1, type Result as a2, type BaseObjectSet as a3, type FetchLinksPageResult as a4, type LinkTypeApiNamesFor as a5, type MinimalDirectedObjectLinkInstance as a6, ObjectSetSubscription as a7, InterfaceMetadata as a8, PropertyKeys as a9, type NumberFormatDuration as aA, type NumberFormatFixedValues as aB, type NumberFormatNotation as aC, type NumberFormatOptions as aD, type NumberFormatRatio as aE, type NumberFormatScale as aF, type NumberFormatStandard as aG, type NumberFormatStandardUnit as aH, type NumberRatioType as aI, type NumberRoundingMode as aJ, type NumberScaleType as aK, type PropertyNumberFormattingRule as aL, type PropertyNumberFormattingRuleType as aM, type TimeCodeFormat as aN, type PropertyValueFormattingRule as aO, type PropertyTypeReference as aP, type PropertyTypeReferenceOrStringConstant as aQ, type StringConstant as aR, type BaseWirePropertyTypes as aS, type WirePropertyTypes as aT, type PrimaryKeyType as aU, type ConvertProps as aV, type MaybeScore as aW, Osdk as aX, type PageResult as aY, TimeseriesDurationMapping as aZ, type GeotimeSeriesProperty as a_, type ObjectSpecifier as aa, ObjectMetadata as ab, type PropertyDef as ac, type VersionBound as ad, SimplePropertyDef as ae, type PropertyBooleanFormattingRule as af, type DatetimeFormat as ag, type DatetimeLocalizedFormat as ah, type DatetimeLocalizedFormatType as ai, type DatetimeStringFormat as aj, type DatetimeTimezone as ak, type DatetimeTimezoneStatic as al, type DatetimeTimezoneUser as am, type PropertyDateFormattingRule as an, type PropertyTimestampFormattingRule as ao, type KnownType as ap, type PropertyKnownTypeFormattingRule as aq, type Affix as ar, type DurationBaseValue as as, type DurationFormatStyle as at, type DurationPrecision as au, type HumanReadableFormat as av, type NumberFormatAffix as aw, type NumberFormatCurrency as ax, type NumberFormatCurrencyStyle as ay, type NumberFormatCustomUnit as az, type Media as b, type TimeSeriesProperty as b0, type TimeSeriesQuery as b1, type LinkedType as b2, type LinkNames as b3, type ExtractOptions as b4, type MinimalObjectSet as b5, type Attachment as c, type ObjectIdentifiers as d, type OsdkObjectPrimaryKeyType as e, type ObjectSet as f, type OsdkMetadata as g, type ObjectOrInterfaceDefinition as h, type PrimaryKeyTypes as i, type OsdkBase as j, type AggregateOpts as k, type AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy as l, type AggregationResultsWithGroups as m, type AggregationResultsWithoutGroups as n, type AggregationClause as o, type AggregationsResults as p, type AndWhereClause as q, type GeoFilter_Intersects as r, type GeoFilter_Within as s, type OrWhereClause as t, type PossibleWhereClauseFilters as u, type OsdkObjectCreatePropertyType as v, type OsdkObjectPropertyType as w, type OsdkObjectLinksObject as x, DerivedProperty as y, DurationMapping as z };
@@ -1,5 +1,5 @@
1
- import { A as AttachmentUpload, M as MediaReference, a as MediaUpload, b as Attachment, O as ObjectTypeDefinition, c as ObjectIdentifiers, d as OsdkObjectPrimaryKeyType, e as ObjectSet, I as InterfaceDefinition, C as CompileTimeMetadata, f as OsdkMetadata, R as ReleaseStatus, g as ObjectOrInterfaceDefinition, P as PropertyValueWireToClient, h as PrimaryKeyTypes, i as OsdkBase } from './ObjectSet-CqVqDXKn.cjs';
2
- export { ar as Affix, j as AggregateOpts, k as AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy, n as AggregationClause, l as AggregationResultsWithGroups, m as AggregationResultsWithoutGroups, o as AggregationsResults, z as AllGroupByValues, p as AndWhereClause, F as AsyncIterArgs, H as Augment, J as Augments, a3 as BaseObjectSet, aS as BaseWirePropertyTypes, aV as ConvertProps, ag as DatetimeFormat, ah as DatetimeLocalizedFormat, ai as DatetimeLocalizedFormatType, aj as DatetimeStringFormat, ak as DatetimeTimezone, al as DatetimeTimezoneStatic, am as DatetimeTimezoneUser, x as DerivedProperty, D as DistanceUnitMapping, as as DurationBaseValue, at as DurationFormatStyle, y as DurationMapping, au as DurationPrecision, a4 as FetchLinksPageResult, K as FetchPageArgs, X as FetchPageResult, G as GeoFilterOptions, q as GeoFilter_Intersects, r as GeoFilter_Within, a_ as GeotimeSeriesProperty, B as GroupByClause, E as GroupByRange, av as HumanReadableFormat, a8 as InterfaceMetadata, ap as KnownType, b3 as LinkNames, a5 as LinkTypeApiNamesFor, b2 as LinkedType, aW as MaybeScore, Z as Media, _ as MediaMetadata, a6 as MinimalDirectedObjectLinkInstance, N as NotWhereClause, L as NullabilityAdherence, aw as NumberFormatAffix, ax as NumberFormatCurrency, ay as NumberFormatCurrencyStyle, az as NumberFormatCustomUnit, aA as NumberFormatDuration, aB as NumberFormatFixedValues, aC as NumberFormatNotation, aD as NumberFormatOptions, aE as NumberFormatRatio, aF as NumberFormatScale, aG as NumberFormatStandard, aH as NumberFormatStandardUnit, aI as NumberRatioType, aJ as NumberRoundingMode, aK as NumberScaleType, ab as ObjectMetadata, Q as ObjectSetArgs, a7 as ObjectSetSubscription, aa as ObjectSpecifier, s as OrWhereClause, aX as Osdk, u as OsdkObjectCreatePropertyType, w as OsdkObjectLinksObject, v as OsdkObjectPropertyType, aY as PageResult, t as PossibleWhereClauseFilters, aU as PrimaryKeyType, af as PropertyBooleanFormattingRule, an as PropertyDateFormattingRule, ac as PropertyDef, a9 as PropertyKeys, aq as PropertyKnownTypeFormattingRule, $ as PropertyMarkings, aL as PropertyNumberFormattingRule, aM as PropertyNumberFormattingRuleType, a0 as PropertySecurity, ao as PropertyTimestampFormattingRule, aP as PropertyTypeReference, aQ as PropertyTypeReferenceOrStringConstant, aO as PropertyValueFormattingRule, a2 as Result, T as SelectArg, U as SelectArgToKeys, ae as SimplePropertyDef, S as SingleLinkAccessor, Y as SingleOsdkResult, aR as StringConstant, aN as TimeCodeFormat, a$ as TimeSeriesPoint, b0 as TimeSeriesProperty, b1 as TimeSeriesQuery, aZ as TimeseriesDurationMapping, V as ValidAggregationKeys, ad as VersionBound, W as WhereClause, aT as WirePropertyTypes, a1 as isOk } from './ObjectSet-CqVqDXKn.cjs';
1
+ import { A as AttachmentUpload, M as MediaReference, a as MediaUpload, b as Media, c as Attachment, O as ObjectTypeDefinition, d as ObjectIdentifiers, e as OsdkObjectPrimaryKeyType, f as ObjectSet, I as InterfaceDefinition, C as CompileTimeMetadata, g as OsdkMetadata, R as ReleaseStatus, h as ObjectOrInterfaceDefinition, P as PropertyValueWireToClient, i as PrimaryKeyTypes, j as OsdkBase } from './ObjectSet-ChROetz0.cjs';
2
+ export { ar as Affix, k as AggregateOpts, l as AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy, o as AggregationClause, m as AggregationResultsWithGroups, n as AggregationResultsWithoutGroups, p as AggregationsResults, B as AllGroupByValues, q as AndWhereClause, H as AsyncIterArgs, J as Augment, K as Augments, a3 as BaseObjectSet, aS as BaseWirePropertyTypes, aV as ConvertProps, ag as DatetimeFormat, ah as DatetimeLocalizedFormat, ai as DatetimeLocalizedFormatType, aj as DatetimeStringFormat, ak as DatetimeTimezone, al as DatetimeTimezoneStatic, am as DatetimeTimezoneUser, y as DerivedProperty, D as DistanceUnitMapping, as as DurationBaseValue, at as DurationFormatStyle, z as DurationMapping, au as DurationPrecision, a4 as FetchLinksPageResult, L as FetchPageArgs, Y as FetchPageResult, G as GeoFilterOptions, r as GeoFilter_Intersects, s as GeoFilter_Within, a_ as GeotimeSeriesProperty, E as GroupByClause, F as GroupByRange, av as HumanReadableFormat, a8 as InterfaceMetadata, ap as KnownType, b3 as LinkNames, a5 as LinkTypeApiNamesFor, b2 as LinkedType, aW as MaybeScore, _ as MediaMetadata, a6 as MinimalDirectedObjectLinkInstance, N as NotWhereClause, Q as NullabilityAdherence, aw as NumberFormatAffix, ax as NumberFormatCurrency, ay as NumberFormatCurrencyStyle, az as NumberFormatCustomUnit, aA as NumberFormatDuration, aB as NumberFormatFixedValues, aC as NumberFormatNotation, aD as NumberFormatOptions, aE as NumberFormatRatio, aF as NumberFormatScale, aG as NumberFormatStandard, aH as NumberFormatStandardUnit, aI as NumberRatioType, aJ as NumberRoundingMode, aK as NumberScaleType, ab as ObjectMetadata, T as ObjectSetArgs, a7 as ObjectSetSubscription, aa as ObjectSpecifier, t as OrWhereClause, aX as Osdk, v as OsdkObjectCreatePropertyType, x as OsdkObjectLinksObject, w as OsdkObjectPropertyType, aY as PageResult, u as PossibleWhereClauseFilters, aU as PrimaryKeyType, af as PropertyBooleanFormattingRule, an as PropertyDateFormattingRule, ac as PropertyDef, a9 as PropertyKeys, aq as PropertyKnownTypeFormattingRule, $ as PropertyMarkings, aL as PropertyNumberFormattingRule, aM as PropertyNumberFormattingRuleType, a0 as PropertySecurity, ao as PropertyTimestampFormattingRule, aP as PropertyTypeReference, aQ as PropertyTypeReferenceOrStringConstant, aO as PropertyValueFormattingRule, a2 as Result, U as SelectArg, X as SelectArgToKeys, ae as SimplePropertyDef, S as SingleLinkAccessor, Z as SingleOsdkResult, aR as StringConstant, aN as TimeCodeFormat, a$ as TimeSeriesPoint, b0 as TimeSeriesProperty, b1 as TimeSeriesQuery, aZ as TimeseriesDurationMapping, V as ValidAggregationKeys, ad as VersionBound, W as WhereClause, aT as WirePropertyTypes, a1 as isOk } from './ObjectSet-ChROetz0.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;
@@ -335,7 +335,7 @@ type BaseQueryDataTypeDefinition<T extends string> = {
335
335
  nullable?: boolean;
336
336
  type: T;
337
337
  };
338
- type WireQueryDataTypes = "double" | "float" | "integer" | "long" | "boolean" | "string" | "date" | "timestamp" | "attachment";
338
+ type WireQueryDataTypes = "double" | "float" | "integer" | "long" | "boolean" | "string" | "date" | "timestamp" | "attachment" | "mediaReference";
339
339
  type PrimitiveDataType<Q extends WireQueryDataTypes = WireQueryDataTypes> = BaseQueryDataTypeDefinition<Q>;
340
340
  interface ObjectQueryDataType<T_Target extends ObjectOrInterfaceDefinition = never> extends BaseQueryDataTypeDefinition<"object"> {
341
341
  object: string;
@@ -479,6 +479,10 @@ declare namespace QueryResult {
479
479
  type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyWireToClient<"range", T>;
480
480
  type TwoDimensionalAggregationType<T extends AggregationKeyTypes | RangeKey<any>, V extends AggregationValueTypes> = TwoDimensionalAggregation<T extends AggregationKeyTypes ? AggKeyWireToClient<T> : T, AggValueWireToClient<V>>;
481
481
  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>>;
482
+ /**
483
+ * Helper type for media reference query results - returns Media interface
484
+ */
485
+ type MediaType = Media;
482
486
  }
483
487
 
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 };
488
+ export { type ActionDefinition, type ActionEditResponse, ActionMetadata, ActionParam, type ActionReturnTypeForOptions, type ActionValidationResponse, type AllowedBucketKeyTypes$1 as AllowedBucketKeyTypes, type AllowedBucketTypes$1 as AllowedBucketTypes, type ApplyActionOptions, type ApplyBatchActionOptions, Attachment, AttachmentUpload, CompileTimeMetadata, type DataValueClientToWire, type DataValueWireToClient, InterfaceDefinition, 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 };
@@ -1,5 +1,5 @@
1
- import { g as ObjectOrInterfaceDefinition, a9 as PropertyKeys, M as MediaReference, L as NullabilityAdherence, T as SelectArg, aX as Osdk, b4 as ExtractOptions, K as FetchPageArgs, X as FetchPageResult, i as OsdkBase } from '../ObjectSet-CqVqDXKn.cjs';
2
- export { b5 as MinimalObjectSet } from '../ObjectSet-CqVqDXKn.cjs';
1
+ import { h as ObjectOrInterfaceDefinition, a9 as PropertyKeys, M as MediaReference, Q as NullabilityAdherence, U as SelectArg, aX as Osdk, b4 as ExtractOptions, L as FetchPageArgs, Y as FetchPageResult, j as OsdkBase } from '../ObjectSet-ChROetz0.cjs';
2
+ export { b5 as MinimalObjectSet } from '../ObjectSet-ChROetz0.cjs';
3
3
  import 'type-fest';
4
4
  import 'geojson';
5
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"StringFilter.js","names":["StringFilter","_typeCheck"],"sources":["StringFilter.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface StringFilterOptions extends BaseFilterOptions<string> {\n \"$startsWith\": string;\n \"$containsAllTermsInOrder\": string;\n \"$containsAnyTerm\": string | { term: string; fuzzySearch?: boolean };\n \"$containsAllTerms\": string | { term: string; fuzzySearch?: boolean };\n /**\n * Matches any of the provided values. If an empty array is provided, the filter will match all objects.\n */\n \"$in\": ReadonlyArray<string>;\n}\n\nexport namespace StringFilter {\n export interface $eq extends Just<\"$eq\", StringFilterOptions> {}\n export interface $ne extends Just<\"$ne\", StringFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", StringFilterOptions> {}\n export interface $startsWith\n extends Just<\"$startsWith\", StringFilterOptions>\n {\n }\n export interface $containsAllTermsInOrder\n extends Just<\"$containsAllTermsInOrder\", StringFilterOptions>\n {\n }\n export interface $containsAnyTerm\n extends Just<\"$containsAnyTerm\", StringFilterOptions>\n {\n }\n export interface $containsAllTerms\n extends Just<\"$containsAllTerms\", StringFilterOptions>\n {\n }\n export interface $in extends Just<\"$in\", StringFilterOptions> {}\n}\n\nexport type StringFilter =\n | string\n | StringFilter.$eq\n | StringFilter.$ne\n | StringFilter.$isNull\n | StringFilter.$in\n | StringFilter.$startsWith\n | StringFilter.$containsAllTermsInOrder\n | StringFilter.$containsAnyTerm\n | StringFilter.$containsAllTerms;\n\n/** @internal */\nfunction _typeCheck() {\n const b: StringFilter = {} as CatchThemAll<StringFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA8BiBA,YAAY;AAkC7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
1
+ {"version":3,"file":"StringFilter.js","names":["StringFilter","_typeCheck"],"sources":["StringFilter.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { BaseFilterOptions, CatchThemAll } from \"./BaseFilter.js\";\nimport type { Just } from \"./Just.js\";\n\ninterface StringFilterOptions extends BaseFilterOptions<string> {\n \"$startsWith\": string;\n \"$containsAllTermsInOrder\": string;\n \"$containsAnyTerm\": string | { term: string; fuzzySearch?: boolean };\n \"$containsAllTerms\": string | { term: string; fuzzySearch?: boolean };\n /**\n * Matches any of the provided values. If an empty array is provided, the filter will match all objects.\n */\n \"$in\": ReadonlyArray<string>;\n \"$gt\": string;\n \"$gte\": string;\n \"$lt\": string;\n \"$lte\": string;\n}\n\nexport namespace StringFilter {\n export interface $eq extends Just<\"$eq\", StringFilterOptions> {}\n export interface $ne extends Just<\"$ne\", StringFilterOptions> {}\n export interface $isNull extends Just<\"$isNull\", StringFilterOptions> {}\n export interface $startsWith\n extends Just<\"$startsWith\", StringFilterOptions>\n {\n }\n export interface $containsAllTermsInOrder\n extends Just<\"$containsAllTermsInOrder\", StringFilterOptions>\n {\n }\n export interface $containsAnyTerm\n extends Just<\"$containsAnyTerm\", StringFilterOptions>\n {\n }\n export interface $containsAllTerms\n extends Just<\"$containsAllTerms\", StringFilterOptions>\n {\n }\n export interface $in extends Just<\"$in\", StringFilterOptions> {}\n export interface $gt extends Just<\"$gt\", StringFilterOptions> {}\n export interface $gte extends Just<\"$gte\", StringFilterOptions> {}\n export interface $lt extends Just<\"$lt\", StringFilterOptions> {}\n export interface $lte extends Just<\"$lte\", StringFilterOptions> {}\n}\n\nexport type StringFilter =\n | string\n | StringFilter.$eq\n | StringFilter.$ne\n | StringFilter.$isNull\n | StringFilter.$in\n | StringFilter.$startsWith\n | StringFilter.$containsAllTermsInOrder\n | StringFilter.$containsAnyTerm\n | StringFilter.$containsAllTerms\n | StringFilter.$gt\n | StringFilter.$gte\n | StringFilter.$lt\n | StringFilter.$lte;\n\n/** @internal */\nfunction _typeCheck() {\n const b: StringFilter = {} as CatchThemAll<StringFilterOptions>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAkCiBA,YAAY;AA0C7B;AACA,SAASC,UAAUA,CAAA,EAAG,CAEtB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"DataValueMapping.js","names":[],"sources":["DataValueMapping.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { Attachment, AttachmentUpload } from \"../object/Attachment.js\";\nimport type { MediaReference, MediaUpload } from \"../object/Media.js\";\n\n/**\n * Map from the DataValue type to the typescript type that we return\n */\nexport interface DataValueWireToClient {\n attachment: Attachment;\n boolean: boolean;\n byte: number;\n datetime: string;\n date: string;\n decimal: string;\n float: number;\n double: number;\n integer: number;\n long: string;\n marking: string;\n null: null;\n short: number;\n string: string;\n timestamp: string;\n mediaReference: MediaReference;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n set: Set<any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\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;\n twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | {\n startValue: AllowedBucketTypes;\n endValue: AllowedBucketTypes;\n };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"DataValueMapping.js","names":[],"sources":["DataValueMapping.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { Attachment, AttachmentUpload } from \"../object/Attachment.js\";\nimport type { Media, MediaReference, MediaUpload } from \"../object/Media.js\";\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}\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 twoDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n value: AllowedBucketTypes;\n }[];\n threeDimensionalAggregation: {\n key: AllowedBucketKeyTypes;\n groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[];\n }[];\n struct: Record<string, any>;\n objectType: string;\n geohash: GeoJSON.Point;\n geoshape: GeoJSON.GeoJSON;\n}\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | {\n startValue: AllowedBucketTypes;\n endValue: AllowedBucketTypes;\n };\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryDefinition.js","names":[],"sources":["QueryDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { ObjectOrInterfaceDefinition } from \"./ObjectOrInterface.js\";\nimport type { ObjectTypeDefinition } from \"./ObjectTypeDefinition.js\";\n\nexport interface QueryMetadata {\n type: \"query\";\n apiName: string;\n description?: string;\n displayName?: string;\n version: string;\n parameters: Record<string, QueryParameterDefinition<any>>;\n output: QueryDataTypeDefinition;\n rid: string;\n}\n\nexport interface QueryCompileTimeMetadata<T> {\n signature: T;\n}\n\nexport interface QueryDefinition<T = any> {\n type: \"query\";\n apiName: string;\n version?: string;\n isFixedVersion?: boolean;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?:\n & QueryCompileTimeMetadata<T>\n & QueryMetadata;\n}\n\nexport type QueryParameterDefinition<\n T_Target extends ObjectTypeDefinition = any,\n> = {\n description?: string;\n} & QueryDataTypeDefinition<T_Target>;\n\nexport type QueryDataTypeDefinition<\n T_Target extends ObjectOrInterfaceDefinition = any,\n> =\n | PrimitiveDataType\n | ObjectQueryDataType<T_Target>\n | InterfaceQueryDataType<T_Target>\n | ObjectSetQueryDataType<T_Target>\n | InterfaceObjectSetQueryDataType<T_Target>\n | SetQueryDataType\n | UnionQueryDataType\n | StructQueryDataType\n | TwoDimensionalAggregationDataType\n | ThreeDimensionalAggregationDataType\n | MapDataType\n | ArrayQueryDataType;\n\nexport type BaseQueryDataTypeDefinition<T extends string> = {\n nullable?: boolean;\n type: T;\n};\n\nexport type WireQueryDataTypes =\n | \"double\"\n | \"float\"\n | \"integer\"\n | \"long\"\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"timestamp\"\n | \"attachment\";\n\nexport type PrimitiveDataType<\n Q extends WireQueryDataTypes = WireQueryDataTypes,\n> = BaseQueryDataTypeDefinition<Q>;\n\nexport interface ObjectQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"object\"> {\n object: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface InterfaceQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"interface\"> {\n interface: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface ObjectSetQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"objectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface InterfaceObjectSetQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"interfaceObjectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface SetQueryDataType extends BaseQueryDataTypeDefinition<\"set\"> {\n set: QueryDataTypeDefinition;\n}\n\nexport interface ArrayQueryDataType\n extends BaseQueryDataTypeDefinition<\"array\">\n{\n array: QueryDataTypeDefinition;\n}\nexport interface UnionQueryDataType\n extends BaseQueryDataTypeDefinition<\"union\">\n{\n union: ReadonlyArray<QueryDataTypeDefinition>;\n}\n\nexport interface StructQueryDataType\n extends BaseQueryDataTypeDefinition<\"struct\">\n{\n struct: Record<string, QueryDataTypeDefinition>;\n}\n\nexport interface TwoDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"twoDimensionalAggregation\">\n{\n twoDimensionalAggregation: TwoDimensionalQueryAggregationDefinition;\n}\n\nexport interface ThreeDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"threeDimensionalAggregation\">\n{\n threeDimensionalAggregation: ThreeDimensionalQueryAggregationDefinition;\n}\n\nexport interface MapDataType extends BaseQueryDataTypeDefinition<\"map\"> {\n keyType: QueryDataTypeDefinition;\n valueType: QueryDataTypeDefinition;\n}\n\nexport type AggregationKeyDataType<V = any> =\n | SimpleAggregationKeyDataType<V>\n | RangeAggregationKeyDataType<V>;\n\nexport interface SimpleAggregationKeyDataType<V = any> {\n keyType: Exclude<AggregationKeyTypes, \"range\">;\n valueType: V;\n}\nexport interface RangeAggregationKeyDataType<V = any> {\n keyType: \"range\";\n keySubtype: AggregationRangeKeyTypes;\n valueType: V;\n}\n\nexport type TwoDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n AggregationValueTypes\n>;\n\nexport type ThreeDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n TwoDimensionalQueryAggregationDefinition\n>;\n\nexport type AggregationKeyTypes =\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\"\n | \"range\";\n\nexport type AggregationRangeKeyTypes =\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\";\n\nexport type AggregationValueTypes = \"date\" | \"double\" | \"timestamp\";\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"QueryDefinition.js","names":[],"sources":["QueryDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { ObjectOrInterfaceDefinition } from \"./ObjectOrInterface.js\";\nimport type { ObjectTypeDefinition } from \"./ObjectTypeDefinition.js\";\n\nexport interface QueryMetadata {\n type: \"query\";\n apiName: string;\n description?: string;\n displayName?: string;\n version: string;\n parameters: Record<string, QueryParameterDefinition<any>>;\n output: QueryDataTypeDefinition;\n rid: string;\n}\n\nexport interface QueryCompileTimeMetadata<T> {\n signature: T;\n}\n\nexport interface QueryDefinition<T = any> {\n type: \"query\";\n apiName: string;\n version?: string;\n isFixedVersion?: boolean;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?:\n & QueryCompileTimeMetadata<T>\n & QueryMetadata;\n}\n\nexport type QueryParameterDefinition<\n T_Target extends ObjectTypeDefinition = any,\n> = {\n description?: string;\n} & QueryDataTypeDefinition<T_Target>;\n\nexport type QueryDataTypeDefinition<\n T_Target extends ObjectOrInterfaceDefinition = any,\n> =\n | PrimitiveDataType\n | ObjectQueryDataType<T_Target>\n | InterfaceQueryDataType<T_Target>\n | ObjectSetQueryDataType<T_Target>\n | InterfaceObjectSetQueryDataType<T_Target>\n | SetQueryDataType\n | UnionQueryDataType\n | StructQueryDataType\n | TwoDimensionalAggregationDataType\n | ThreeDimensionalAggregationDataType\n | MapDataType\n | ArrayQueryDataType;\n\nexport type BaseQueryDataTypeDefinition<T extends string> = {\n nullable?: boolean;\n type: T;\n};\n\nexport type WireQueryDataTypes =\n | \"double\"\n | \"float\"\n | \"integer\"\n | \"long\"\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"timestamp\"\n | \"attachment\"\n | \"mediaReference\";\n\nexport type PrimitiveDataType<\n Q extends WireQueryDataTypes = WireQueryDataTypes,\n> = BaseQueryDataTypeDefinition<Q>;\n\nexport interface ObjectQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"object\"> {\n object: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface InterfaceQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"interface\"> {\n interface: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface ObjectSetQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"objectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface InterfaceObjectSetQueryDataType<\n T_Target extends ObjectOrInterfaceDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"interfaceObjectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface SetQueryDataType extends BaseQueryDataTypeDefinition<\"set\"> {\n set: QueryDataTypeDefinition;\n}\n\nexport interface ArrayQueryDataType\n extends BaseQueryDataTypeDefinition<\"array\">\n{\n array: QueryDataTypeDefinition;\n}\nexport interface UnionQueryDataType\n extends BaseQueryDataTypeDefinition<\"union\">\n{\n union: ReadonlyArray<QueryDataTypeDefinition>;\n}\n\nexport interface StructQueryDataType\n extends BaseQueryDataTypeDefinition<\"struct\">\n{\n struct: Record<string, QueryDataTypeDefinition>;\n}\n\nexport interface TwoDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"twoDimensionalAggregation\">\n{\n twoDimensionalAggregation: TwoDimensionalQueryAggregationDefinition;\n}\n\nexport interface ThreeDimensionalAggregationDataType\n extends BaseQueryDataTypeDefinition<\"threeDimensionalAggregation\">\n{\n threeDimensionalAggregation: ThreeDimensionalQueryAggregationDefinition;\n}\n\nexport interface MapDataType extends BaseQueryDataTypeDefinition<\"map\"> {\n keyType: QueryDataTypeDefinition;\n valueType: QueryDataTypeDefinition;\n}\n\nexport type AggregationKeyDataType<V = any> =\n | SimpleAggregationKeyDataType<V>\n | RangeAggregationKeyDataType<V>;\n\nexport interface SimpleAggregationKeyDataType<V = any> {\n keyType: Exclude<AggregationKeyTypes, \"range\">;\n valueType: V;\n}\nexport interface RangeAggregationKeyDataType<V = any> {\n keyType: \"range\";\n keySubtype: AggregationRangeKeyTypes;\n valueType: V;\n}\n\nexport type TwoDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n AggregationValueTypes\n>;\n\nexport type ThreeDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n TwoDimensionalQueryAggregationDefinition\n>;\n\nexport type AggregationKeyTypes =\n | \"boolean\"\n | \"string\"\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\"\n | \"range\";\n\nexport type AggregationRangeKeyTypes =\n | \"date\"\n | \"double\"\n | \"integer\"\n | \"timestamp\";\n\nexport type AggregationValueTypes = \"date\" | \"double\" | \"timestamp\";\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"Queries.js","names":["QueryParam","QueryResult"],"sources":["Queries.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 {\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"../mapping/DataValueMapping.js\";\nimport type { ObjectSet } from \"../objectSet/ObjectSet.js\";\nimport type { InterfaceDefinition } from \"../ontology/InterfaceDefinition.js\";\nimport type { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type {\n AggregationKeyTypes,\n AggregationRangeKeyTypes,\n AggregationValueTypes,\n} from \"../ontology/QueryDefinition.js\";\nimport type { ObjectIdentifiers, OsdkBase } from \"../OsdkBase.js\";\nimport type { OsdkObjectPrimaryKeyType } from \"../OsdkObjectPrimaryKeyType.js\";\nimport type {\n AggKeyClientToWire,\n AggKeyWireToClient,\n AggValueClientToWire,\n AggValueWireToClient,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n} from \"./Aggregations.js\";\n\n/**\n * Helper types for converting query definition parameter types to typescript types\n */\nexport namespace QueryParam {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueClientToWire[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectOrInterfaceDefinition> =\n | ObjectIdentifiers<T>\n | OsdkObjectPrimaryKeyType<T>;\n\n /**\n * Helper type to convert action definition parameter interface types to typescript types\n */\n export type InterfaceType<T extends InterfaceDefinition> = {\n $objectType: CompileTimeMetadata<T> extends { implementedBy: infer U }\n ? (U extends ReadonlyArray<never> ? string\n : U extends ReadonlyArray<string> ? U[number]\n : string)\n : string;\n $primaryKey: string | number;\n $apiName?: never;\n } | {\n $apiName: T[\"apiName\"];\n $objectType: string;\n $primaryKey: string | number;\n };\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectOrInterfaceDefinition> = ObjectSet<\n T\n >;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyClientToWire<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyClientToWire<T> : T,\n AggValueClientToWire<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyClientToWire<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyClientToWire<IN> : IN,\n AggValueClientToWire<V>\n >;\n}\n\n/**\n * Helper types for converting query result types to typescript types\n */\nexport namespace QueryResult {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueWireToClient[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectOrInterfaceDefinition> = OsdkBase<T>;\n\n export type InterfaceType<T extends ObjectOrInterfaceDefinition> = OsdkBase<\n T\n >;\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectOrInterfaceDefinition> = ObjectSet<\n T\n >;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyWireToClient<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyWireToClient<T> : T,\n AggValueWireToClient<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyWireToClient<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyWireToClient<IN> : IN,\n AggValueWireToClient<V>\n >;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA0BA;AACA;AACA;AAFA,WAGiBA,UAAU;AA8D3B;AACA;AACA;AAFA,WAGiBC,WAAW","ignoreList":[]}
1
+ {"version":3,"file":"Queries.js","names":["QueryParam","QueryResult"],"sources":["Queries.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 {\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"../mapping/DataValueMapping.js\";\nimport type { Media } from \"../object/Media.js\";\nimport type { ObjectSet } from \"../objectSet/ObjectSet.js\";\nimport type { InterfaceDefinition } from \"../ontology/InterfaceDefinition.js\";\nimport type { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\nimport type { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\nimport type {\n AggregationKeyTypes,\n AggregationRangeKeyTypes,\n AggregationValueTypes,\n} from \"../ontology/QueryDefinition.js\";\nimport type { ObjectIdentifiers, OsdkBase } from \"../OsdkBase.js\";\nimport type { OsdkObjectPrimaryKeyType } from \"../OsdkObjectPrimaryKeyType.js\";\nimport type {\n AggKeyClientToWire,\n AggKeyWireToClient,\n AggValueClientToWire,\n AggValueWireToClient,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n} from \"./Aggregations.js\";\n\n/**\n * Helper types for converting query definition parameter types to typescript types\n */\nexport namespace QueryParam {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueClientToWire[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectOrInterfaceDefinition> =\n | ObjectIdentifiers<T>\n | OsdkObjectPrimaryKeyType<T>;\n\n /**\n * Helper type to convert action definition parameter interface types to typescript types\n */\n export type InterfaceType<T extends InterfaceDefinition> = {\n $objectType: CompileTimeMetadata<T> extends { implementedBy: infer U }\n ? (U extends ReadonlyArray<never> ? string\n : U extends ReadonlyArray<string> ? U[number]\n : string)\n : string;\n $primaryKey: string | number;\n $apiName?: never;\n } | {\n $apiName: T[\"apiName\"];\n $objectType: string;\n $primaryKey: string | number;\n };\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectOrInterfaceDefinition> = ObjectSet<\n T\n >;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyClientToWire<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyClientToWire<T> : T,\n AggValueClientToWire<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyClientToWire<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyClientToWire<IN> : IN,\n AggValueClientToWire<V>\n >;\n}\n\n/**\n * Helper types for converting query result types to typescript types\n */\nexport namespace QueryResult {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueWireToClient[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectOrInterfaceDefinition> = OsdkBase<T>;\n\n export type InterfaceType<T extends ObjectOrInterfaceDefinition> = OsdkBase<\n T\n >;\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectOrInterfaceDefinition> = ObjectSet<\n T\n >;\n\n export type RangeKey<T extends AggregationRangeKeyTypes> = AggKeyWireToClient<\n \"range\",\n T\n >;\n\n export type TwoDimensionalAggregationType<\n T extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = TwoDimensionalAggregation<\n T extends AggregationKeyTypes ? AggKeyWireToClient<T> : T,\n AggValueWireToClient<V>\n >;\n\n export type ThreeDimensionalAggregationType<\n OUT extends AggregationKeyTypes | RangeKey<any>,\n IN extends AggregationKeyTypes | RangeKey<any>,\n V extends AggregationValueTypes,\n > = ThreeDimensionalAggregation<\n OUT extends AggregationKeyTypes ? AggKeyWireToClient<OUT> : OUT,\n IN extends AggregationKeyTypes ? AggKeyWireToClient<IN> : IN,\n AggValueWireToClient<V>\n >;\n\n /**\n * Helper type for media reference query results - returns Media interface\n */\n export type MediaType = Media;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA2BA;AACA;AACA;AAFA,WAGiBA,UAAU;AA8D3B;AACA;AACA;AAFA,WAGiBC,WAAW","ignoreList":[]}
@@ -15,6 +15,10 @@ interface StringFilterOptions extends BaseFilterOptions<string> {
15
15
  * Matches any of the provided values. If an empty array is provided, the filter will match all objects.
16
16
  */
17
17
  "$in": ReadonlyArray<string>;
18
+ "$gt": string;
19
+ "$gte": string;
20
+ "$lt": string;
21
+ "$lte": string;
18
22
  }
19
23
  export declare namespace StringFilter {
20
24
  interface $eq extends Just<"$eq", StringFilterOptions> {}
@@ -25,6 +29,10 @@ export declare namespace StringFilter {
25
29
  interface $containsAnyTerm extends Just<"$containsAnyTerm", StringFilterOptions> {}
26
30
  interface $containsAllTerms extends Just<"$containsAllTerms", StringFilterOptions> {}
27
31
  interface $in extends Just<"$in", StringFilterOptions> {}
32
+ interface $gt extends Just<"$gt", StringFilterOptions> {}
33
+ interface $gte extends Just<"$gte", StringFilterOptions> {}
34
+ interface $lt extends Just<"$lt", StringFilterOptions> {}
35
+ interface $lte extends Just<"$lte", StringFilterOptions> {}
28
36
  }
29
- export type StringFilter = string | StringFilter.$eq | StringFilter.$ne | StringFilter.$isNull | StringFilter.$in | StringFilter.$startsWith | StringFilter.$containsAllTermsInOrder | StringFilter.$containsAnyTerm | StringFilter.$containsAllTerms;
37
+ export type StringFilter = string | StringFilter.$eq | StringFilter.$ne | StringFilter.$isNull | StringFilter.$in | StringFilter.$startsWith | StringFilter.$containsAllTermsInOrder | StringFilter.$containsAnyTerm | StringFilter.$containsAllTerms | StringFilter.$gt | StringFilter.$gte | StringFilter.$lt | StringFilter.$lte;
30
38
  export {};
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,yBAAuC,iBAAkB;AACvE,cAAc,YAAY,WAAY;UAE5B,4BAA4B,0BAA0B;CAC9D;CACA;CACA,6BAA6B;EAAE;EAAc;CAAuB;CACpE,8BAA8B;EAAE;EAAc;CAAuB;;;;CAIrE,OAAO;AACR;AAED,yBAAiB;WACE,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,gBAAgB,KAAK,WAAW,qBAAqB,CAAE;WACvD,oBACP,KAAK,eAAe,qBAC9B,CACC;WACgB,iCACP,KAAK,4BAA4B,qBAC3C,CACC;WACgB,yBACP,KAAK,oBAAoB,qBACnC,CACC;WACgB,0BACP,KAAK,qBAAqB,qBACpC,CACC;WACgB,YAAY,KAAK,OAAO,qBAAqB,CAAE;;AAGlE,YAAY,wBAER,aAAa,MACb,aAAa,MACb,aAAa,UACb,aAAa,MACb,aAAa,cACb,aAAa,2BACb,aAAa,mBACb,aAAa","names":[],"sources":["../../../src/aggregate/StringFilter.ts"],"version":3,"file":"StringFilter.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,yBAAuC,iBAAkB;AACvE,cAAc,YAAY,WAAY;UAE5B,4BAA4B,0BAA0B;CAC9D;CACA;CACA,6BAA6B;EAAE;EAAc;CAAuB;CACpE,8BAA8B;EAAE;EAAc;CAAuB;;;;CAIrE,OAAO;CACP;CACA;CACA;CACA;AACD;AAED,yBAAiB;WACE,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,gBAAgB,KAAK,WAAW,qBAAqB,CAAE;WACvD,oBACP,KAAK,eAAe,qBAC9B,CACC;WACgB,iCACP,KAAK,4BAA4B,qBAC3C,CACC;WACgB,yBACP,KAAK,oBAAoB,qBACnC,CACC;WACgB,0BACP,KAAK,qBAAqB,qBACpC,CACC;WACgB,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,aAAa,KAAK,QAAQ,qBAAqB,CAAE;WACjD,YAAY,KAAK,OAAO,qBAAqB,CAAE;WAC/C,aAAa,KAAK,QAAQ,qBAAqB,CAAE;;AAGpE,YAAY,wBAER,aAAa,MACb,aAAa,MACb,aAAa,UACb,aAAa,MACb,aAAa,cACb,aAAa,2BACb,aAAa,mBACb,aAAa,oBACb,aAAa,MACb,aAAa,OACb,aAAa,MACb,aAAa","names":[],"sources":["../../../src/aggregate/StringFilter.ts"],"version":3,"file":"StringFilter.d.ts"}
@@ -1,5 +1,5 @@
1
1
  import type { Attachment, AttachmentUpload } from "../object/Attachment.js";
2
- import type { MediaReference, MediaUpload } from "../object/Media.js";
2
+ import type { Media, MediaReference, MediaUpload } from "../object/Media.js";
3
3
  /**
4
4
  * Map from the DataValue type to the typescript type that we return
5
5
  */
@@ -59,7 +59,7 @@ export interface DataValueClientToWire {
59
59
  string: string;
60
60
  timestamp: string;
61
61
  set: Set<any>;
62
- mediaReference: MediaReference | MediaUpload;
62
+ mediaReference: MediaReference | MediaUpload | Media;
63
63
  twoDimensionalAggregation: {
64
64
  key: AllowedBucketKeyTypes
65
65
  value: AllowedBucketTypes
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,YAAY,wBAAwB,yBAA0B;AAC5E,cAAc,gBAAgB,mBAAmB,oBAAqB;;;;AAKtE,iBAAiB,sBAAsB;CACrC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,gBAAgB;CAChB,2BAA2B;EACzB,KAAK;EACL,OAAO;CACR;CACD,6BAA6B;EAC3B,KAAK;EACL,QAAQ;GAAE,KAAK;GAAuB,OAAO;EAAoB;CAClE;CACD,QAAQ;CACR,KAAK;CACL;CACA,SAAS,QAAQ;CACjB,UAAU,QAAQ;AACnB;;;;AAKD,iBAAiB,sBAAsB;CACrC,qBAAqB,mBAAmB,OAAO;WAAW;CAAc;CACxE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,KAAK;CACL,gBAAgB,iBAAiB;CACjC,2BAA2B;EACzB,KAAK;EACL,OAAO;CACR;CACD,6BAA6B;EAC3B,KAAK;EACL,QAAQ;GAAE,KAAK;GAAuB,OAAO;EAAoB;CAClE;CACD,QAAQ;CACR;CACA,SAAS,QAAQ;CACjB,UAAU,QAAQ;AACnB;AAED,YAAY;AACZ,YAAY,wBACR,qBACA;CACA,YAAY;CACZ,UAAU;AACX","names":[],"sources":["../../../src/mapping/DataValueMapping.ts"],"version":3,"file":"DataValueMapping.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,YAAY,wBAAwB,yBAA0B;AAC5E,cAAc,OAAO,gBAAgB,mBAAmB,oBAAqB;;;;AAK7E,iBAAiB,sBAAsB;CACrC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,gBAAgB;CAChB,2BAA2B;EACzB,KAAK;EACL,OAAO;CACR;CACD,6BAA6B;EAC3B,KAAK;EACL,QAAQ;GAAE,KAAK;GAAuB,OAAO;EAAoB;CAClE;CACD,QAAQ;CACR,KAAK;CACL;CACA,SAAS,QAAQ;CACjB,UAAU,QAAQ;AACnB;;;;AAKD,iBAAiB,sBAAsB;CACrC,qBAAqB,mBAAmB,OAAO;WAAW;CAAc;CACxE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,KAAK;CACL,gBAAgB,iBAAiB,cAAc;CAC/C,2BAA2B;EACzB,KAAK;EACL,OAAO;CACR;CACD,6BAA6B;EAC3B,KAAK;EACL,QAAQ;GAAE,KAAK;GAAuB,OAAO;EAAoB;CAClE;CACD,QAAQ;CACR;CACA,SAAS,QAAQ;CACjB,UAAU,QAAQ;AACnB;AAED,YAAY;AACZ,YAAY,wBACR,qBACA;CACA,YAAY;CACZ,UAAU;AACX","names":[],"sources":["../../../src/mapping/DataValueMapping.ts"],"version":3,"file":"DataValueMapping.d.ts"}
@@ -30,7 +30,7 @@ export type BaseQueryDataTypeDefinition<T extends string> = {
30
30
  nullable?: boolean
31
31
  type: T
32
32
  };
33
- export type WireQueryDataTypes = "double" | "float" | "integer" | "long" | "boolean" | "string" | "date" | "timestamp" | "attachment";
33
+ export type WireQueryDataTypes = "double" | "float" | "integer" | "long" | "boolean" | "string" | "date" | "timestamp" | "attachment" | "mediaReference";
34
34
  export type PrimitiveDataType<Q extends WireQueryDataTypes = WireQueryDataTypes> = BaseQueryDataTypeDefinition<Q>;
35
35
  export interface ObjectQueryDataType<T_Target extends ObjectOrInterfaceDefinition = never> extends BaseQueryDataTypeDefinition<"object"> {
36
36
  object: string;
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,oBAAoB,oBAAqB;AACvD,cAAc,mCAAmC,wBAAyB;AAC1E,cAAc,4BAA4B,2BAA4B;AAEtE,iBAAiB,cAAc;CAC7B,MAAM;CACN;CACA;CACA;CACA;CACA,YAAY,eAAe;CAC3B,QAAQ;CACR;AACD;AAED,iBAAiB,yBAAyB,GAAG;CAC3C,WAAW;AACZ;AAED,iBAAiB,gBAAgB,SAAS;CACxC,MAAM;CACN;CACA;CACA;CACA,eAAe;CACf,uBACI,yBAAyB,KACzB;AACL;AAED,YAAY,yBACV,iBAAiB,8BACf;CACF;AACD,IAAG,wBAAwB;AAE5B,YAAY,wBACV,iBAAiB,qCAEf,oBACA,oBAAoB,YACpB,uBAAuB,YACvB,uBAAuB,YACvB,gCAAgC,YAChC,mBACA,qBACA,sBACA,oCACA,sCACA,cACA;AAEJ,YAAY,4BAA4B,oBAAoB;CAC1D;CACA,MAAM;AACP;AAED,YAAY,qBACR,WACA,UACA,YACA,SACA,YACA,WACA,SACA,cACA;AAEJ,YAAY,kBACV,UAAU,qBAAqB,sBAC7B,4BAA4B;AAEhC,iBAAiB,oBACf,iBAAiB,6CACT,4BAA4B,UAAU;CAC9C;CACA,mBAAmB;AACpB;AAED,iBAAiB,uBACf,iBAAiB,6CACT,4BAA4B,aAAa;CACjD;CACA,mBAAmB;AACpB;AAED,iBAAiB,uBACf,iBAAiB,6CACT,4BAA4B,aAAa;CACjD;CACA,mBAAmB;AACpB;AAED,iBAAiB,gCACf,iBAAiB,6CACT,4BAA4B,sBAAsB;CAC1D;CACA,mBAAmB;AACpB;AAED,iBAAiB,yBAAyB,4BAA4B,OAAO;CAC3E,KAAK;AACN;AAED,iBAAiB,2BACP,4BAA4B,SACtC;CACE,OAAO;AACR;AACD,iBAAiB,2BACP,4BAA4B,SACtC;CACE,OAAO,cAAc;AACtB;AAED,iBAAiB,4BACP,4BAA4B,UACtC;CACE,QAAQ,eAAe;AACxB;AAED,iBAAiB,0CACP,4BAA4B,6BACtC;CACE,2BAA2B;AAC5B;AAED,iBAAiB,4CACP,4BAA4B,+BACtC;CACE,6BAA6B;AAC9B;AAED,iBAAiB,oBAAoB,4BAA4B,OAAO;CACtE,SAAS;CACT,WAAW;AACZ;AAED,YAAY,uBAAuB,WAC/B,6BAA6B,KAC7B,4BAA4B;AAEhC,iBAAiB,6BAA6B,SAAS;CACrD,SAAS,QAAQ,qBAAqB;CACtC,WAAW;AACZ;AACD,iBAAiB,4BAA4B,SAAS;CACpD,SAAS;CACT,YAAY;CACZ,WAAW;AACZ;AAED,YAAY,2CAA2C,uBACrD;AAGF,YAAY,6CAA6C,uBACvD;AAGF,YAAY,sBACR,YACA,WACA,SACA,WACA,YACA,cACA;AAEJ,YAAY,2BACR,SACA,WACA,YACA;AAEJ,YAAY,wBAAwB,SAAS,WAAW","names":[],"sources":["../../../src/ontology/QueryDefinition.ts"],"version":3,"file":"QueryDefinition.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,oBAAoB,oBAAqB;AACvD,cAAc,mCAAmC,wBAAyB;AAC1E,cAAc,4BAA4B,2BAA4B;AAEtE,iBAAiB,cAAc;CAC7B,MAAM;CACN;CACA;CACA;CACA;CACA,YAAY,eAAe;CAC3B,QAAQ;CACR;AACD;AAED,iBAAiB,yBAAyB,GAAG;CAC3C,WAAW;AACZ;AAED,iBAAiB,gBAAgB,SAAS;CACxC,MAAM;CACN;CACA;CACA;CACA,eAAe;CACf,uBACI,yBAAyB,KACzB;AACL;AAED,YAAY,yBACV,iBAAiB,8BACf;CACF;AACD,IAAG,wBAAwB;AAE5B,YAAY,wBACV,iBAAiB,qCAEf,oBACA,oBAAoB,YACpB,uBAAuB,YACvB,uBAAuB,YACvB,gCAAgC,YAChC,mBACA,qBACA,sBACA,oCACA,sCACA,cACA;AAEJ,YAAY,4BAA4B,oBAAoB;CAC1D;CACA,MAAM;AACP;AAED,YAAY,qBACR,WACA,UACA,YACA,SACA,YACA,WACA,SACA,cACA,eACA;AAEJ,YAAY,kBACV,UAAU,qBAAqB,sBAC7B,4BAA4B;AAEhC,iBAAiB,oBACf,iBAAiB,6CACT,4BAA4B,UAAU;CAC9C;CACA,mBAAmB;AACpB;AAED,iBAAiB,uBACf,iBAAiB,6CACT,4BAA4B,aAAa;CACjD;CACA,mBAAmB;AACpB;AAED,iBAAiB,uBACf,iBAAiB,6CACT,4BAA4B,aAAa;CACjD;CACA,mBAAmB;AACpB;AAED,iBAAiB,gCACf,iBAAiB,6CACT,4BAA4B,sBAAsB;CAC1D;CACA,mBAAmB;AACpB;AAED,iBAAiB,yBAAyB,4BAA4B,OAAO;CAC3E,KAAK;AACN;AAED,iBAAiB,2BACP,4BAA4B,SACtC;CACE,OAAO;AACR;AACD,iBAAiB,2BACP,4BAA4B,SACtC;CACE,OAAO,cAAc;AACtB;AAED,iBAAiB,4BACP,4BAA4B,UACtC;CACE,QAAQ,eAAe;AACxB;AAED,iBAAiB,0CACP,4BAA4B,6BACtC;CACE,2BAA2B;AAC5B;AAED,iBAAiB,4CACP,4BAA4B,+BACtC;CACE,6BAA6B;AAC9B;AAED,iBAAiB,oBAAoB,4BAA4B,OAAO;CACtE,SAAS;CACT,WAAW;AACZ;AAED,YAAY,uBAAuB,WAC/B,6BAA6B,KAC7B,4BAA4B;AAEhC,iBAAiB,6BAA6B,SAAS;CACrD,SAAS,QAAQ,qBAAqB;CACtC,WAAW;AACZ;AACD,iBAAiB,4BAA4B,SAAS;CACpD,SAAS;CACT,YAAY;CACZ,WAAW;AACZ;AAED,YAAY,2CAA2C,uBACrD;AAGF,YAAY,6CAA6C,uBACvD;AAGF,YAAY,sBACR,YACA,WACA,SACA,WACA,YACA,cACA;AAEJ,YAAY,2BACR,SACA,WACA,YACA;AAEJ,YAAY,wBAAwB,SAAS,WAAW","names":[],"sources":["../../../src/ontology/QueryDefinition.ts"],"version":3,"file":"QueryDefinition.d.ts"}
@@ -1,4 +1,5 @@
1
1
  import type { DataValueClientToWire, DataValueWireToClient } from "../mapping/DataValueMapping.js";
2
+ import type { Media } from "../object/Media.js";
2
3
  import type { ObjectSet } from "../objectSet/ObjectSet.js";
3
4
  import type { InterfaceDefinition } from "../ontology/InterfaceDefinition.js";
4
5
  import type { ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.js";
@@ -54,4 +55,5 @@ export declare namespace QueryResult {
54
55
  IN extends AggregationKeyTypes | RangeKey<any>,
55
56
  V extends AggregationValueTypes
56
57
  > = ThreeDimensionalAggregation<OUT extends AggregationKeyTypes ? AggKeyWireToClient<OUT> : OUT, IN extends AggregationKeyTypes ? AggKeyWireToClient<IN> : IN, AggValueWireToClient<V>>;
58
+ type MediaType = Media;
57
59
  }
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cACE,uBACA,6BACK,gCAAiC;AACxC,cAAc,iBAAiB,2BAA4B;AAC3D,cAAc,2BAA2B,oCAAqC;AAC9E,cAAc,mCAAmC,kCAAmC;AACpF,cAAc,2BAA2B,qCAAsC;AAC/E,cACE,qBACA,0BACA,6BACK,gCAAiC;AACxC,cAAc,mBAAmB,gBAAgB,gBAAiB;AAClE,cAAc,gCAAgC,gCAAiC;AAC/E,cACE,oBACA,oBACA,sBACA,sBACA,6BACA,iCACK,mBAAoB;;;;AAK3B,yBAAiB;MAIH,cAAc,gBAAgB,yBACxC,sBAAsB;MAKZ,WAAW,UAAU,+BAC7B,kBAAkB,KAClB,yBAAyB;MAKjB,cAAc,UAAU,uBAAuB;EACzD,aAAa,oBAAoB,WAAW;GAAE,qBAAqB;EAAG,KACjE,UAAU,gCACT,UAAU,wBAAwB;EAGxC;EACA;CACD,IAAG;EACF,UAAU,EAAE;EACZ;EACA;CACD;MAKW,cAAc,UAAU,+BAA+B,UACjE;MAGU,SAAS,UAAU,4BAA4B,mBACzD,SACA;MAGU;EACV,UAAU,sBAAsB;EAChC,UAAU;KACR,0BACF,UAAU,sBAAsB,mBAAmB,KAAK,GACxD,qBAAqB;MAGX;EACV,YAAY,sBAAsB;EAClC,WAAW,sBAAsB;EACjC,UAAU;KACR,4BACF,YAAY,sBAAsB,mBAAmB,OAAO,KAC5D,WAAW,sBAAsB,mBAAmB,MAAM,IAC1D,qBAAqB;;;;;AAOzB,yBAAiB;MAIH,cAAc,gBAAgB,yBACxC,sBAAsB;MAKZ,WAAW,UAAU,+BAA+B,SAAS;MAE7D,cAAc,UAAU,+BAA+B,SACjE;MAMU,cAAc,UAAU,+BAA+B,UACjE;MAGU,SAAS,UAAU,4BAA4B,mBACzD,SACA;MAGU;EACV,UAAU,sBAAsB;EAChC,UAAU;KACR,0BACF,UAAU,sBAAsB,mBAAmB,KAAK,GACxD,qBAAqB;MAGX;EACV,YAAY,sBAAsB;EAClC,WAAW,sBAAsB;EACjC,UAAU;KACR,4BACF,YAAY,sBAAsB,mBAAmB,OAAO,KAC5D,WAAW,sBAAsB,mBAAmB,MAAM,IAC1D,qBAAqB","names":[],"sources":["../../../src/queries/Queries.ts"],"version":3,"file":"Queries.d.ts"}
1
+ {"mappings":"AAgBA,cACE,uBACA,6BACK,gCAAiC;AACxC,cAAc,aAAa,oBAAqB;AAChD,cAAc,iBAAiB,2BAA4B;AAC3D,cAAc,2BAA2B,oCAAqC;AAC9E,cAAc,mCAAmC,kCAAmC;AACpF,cAAc,2BAA2B,qCAAsC;AAC/E,cACE,qBACA,0BACA,6BACK,gCAAiC;AACxC,cAAc,mBAAmB,gBAAgB,gBAAiB;AAClE,cAAc,gCAAgC,gCAAiC;AAC/E,cACE,oBACA,oBACA,sBACA,sBACA,6BACA,iCACK,mBAAoB;;;;AAK3B,yBAAiB;MAIH,cAAc,gBAAgB,yBACxC,sBAAsB;MAKZ,WAAW,UAAU,+BAC7B,kBAAkB,KAClB,yBAAyB;MAKjB,cAAc,UAAU,uBAAuB;EACzD,aAAa,oBAAoB,WAAW;GAAE,qBAAqB;EAAG,KACjE,UAAU,gCACT,UAAU,wBAAwB;EAGxC;EACA;CACD,IAAG;EACF,UAAU,EAAE;EACZ;EACA;CACD;MAKW,cAAc,UAAU,+BAA+B,UACjE;MAGU,SAAS,UAAU,4BAA4B,mBACzD,SACA;MAGU;EACV,UAAU,sBAAsB;EAChC,UAAU;KACR,0BACF,UAAU,sBAAsB,mBAAmB,KAAK,GACxD,qBAAqB;MAGX;EACV,YAAY,sBAAsB;EAClC,WAAW,sBAAsB;EACjC,UAAU;KACR,4BACF,YAAY,sBAAsB,mBAAmB,OAAO,KAC5D,WAAW,sBAAsB,mBAAmB,MAAM,IAC1D,qBAAqB;;;;;AAOzB,yBAAiB;MAIH,cAAc,gBAAgB,yBACxC,sBAAsB;MAKZ,WAAW,UAAU,+BAA+B,SAAS;MAE7D,cAAc,UAAU,+BAA+B,SACjE;MAMU,cAAc,UAAU,+BAA+B,UACjE;MAGU,SAAS,UAAU,4BAA4B,mBACzD,SACA;MAGU;EACV,UAAU,sBAAsB;EAChC,UAAU;KACR,0BACF,UAAU,sBAAsB,mBAAmB,KAAK,GACxD,qBAAqB;MAGX;EACV,YAAY,sBAAsB;EAClC,WAAW,sBAAsB;EACjC,UAAU;KACR,4BACF,YAAY,sBAAsB,mBAAmB,OAAO,KAC5D,WAAW,sBAAsB,mBAAmB,MAAM,IAC1D,qBAAqB;MAMX,YAAY","names":[],"sources":["../../../src/queries/Queries.ts"],"version":3,"file":"Queries.d.ts"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/api",
3
- "version": "2.8.0-beta.2",
3
+ "version": "2.8.0-beta.20",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",