@osdk/api 2.1.0-beta.9 → 2.2.0-beta.1

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 (655) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/build/browser/Definitions.js +0 -15
  3. package/build/browser/Definitions.js.map +1 -1
  4. package/build/browser/OsdkBase.js +0 -15
  5. package/build/browser/OsdkBase.js.map +1 -1
  6. package/build/browser/OsdkMetadata.js +0 -15
  7. package/build/browser/OsdkMetadata.js.map +1 -1
  8. package/build/browser/OsdkObject.js +0 -15
  9. package/build/browser/OsdkObject.js.map +1 -1
  10. package/build/browser/OsdkObjectFrom.js +27 -1
  11. package/build/browser/OsdkObjectFrom.js.map +1 -1
  12. package/build/browser/OsdkObjectFrom.test.js +17 -0
  13. package/build/browser/OsdkObjectFrom.test.js.map +1 -1
  14. package/build/browser/OsdkObjectPrimaryKeyType.js +0 -15
  15. package/build/browser/OsdkObjectPrimaryKeyType.js.map +1 -1
  16. package/build/browser/PageResult.js +0 -15
  17. package/build/browser/PageResult.js.map +1 -1
  18. package/build/browser/actions/ActionResults.js +0 -15
  19. package/build/browser/actions/ActionResults.js.map +1 -1
  20. package/build/browser/actions/ActionReturnTypeForOptions.js +0 -15
  21. package/build/browser/actions/ActionReturnTypeForOptions.js.map +1 -1
  22. package/build/browser/actions/Actions.js +4 -1
  23. package/build/browser/actions/Actions.js.map +1 -1
  24. package/build/browser/aggregate/AggregatableKeys.js +0 -15
  25. package/build/browser/aggregate/AggregatableKeys.js.map +1 -1
  26. package/build/browser/aggregate/AggregateOpts.js +0 -15
  27. package/build/browser/aggregate/AggregateOpts.js.map +1 -1
  28. package/build/browser/aggregate/AggregateOptsThatErrors.js +0 -15
  29. package/build/browser/aggregate/AggregateOptsThatErrors.js.map +1 -1
  30. package/build/browser/aggregate/AggregationResultsWithGroups.js +0 -15
  31. package/build/browser/aggregate/AggregationResultsWithGroups.js.map +1 -1
  32. package/build/browser/aggregate/AggregationResultsWithoutGroups.js +0 -15
  33. package/build/browser/aggregate/AggregationResultsWithoutGroups.js.map +1 -1
  34. package/build/browser/aggregate/AggregationsClause.js +0 -15
  35. package/build/browser/aggregate/AggregationsClause.js.map +1 -1
  36. package/build/browser/aggregate/AggregationsClause.test.js +1 -0
  37. package/build/browser/aggregate/AggregationsClause.test.js.map +1 -1
  38. package/build/browser/aggregate/AggregationsResults.js +0 -15
  39. package/build/browser/aggregate/AggregationsResults.js.map +1 -1
  40. package/build/browser/aggregate/ArrayFilter.js +2 -0
  41. package/build/browser/aggregate/ArrayFilter.js.map +1 -0
  42. package/build/browser/aggregate/BaseFilter.js +20 -0
  43. package/build/browser/aggregate/BaseFilter.js.map +1 -0
  44. package/build/browser/aggregate/BooleanFilter.js +19 -0
  45. package/build/browser/aggregate/BooleanFilter.js.map +1 -0
  46. package/build/browser/aggregate/DatetimeFilter.js +19 -0
  47. package/build/browser/aggregate/DatetimeFilter.js.map +1 -0
  48. package/build/browser/{objectSet/EXPERIMENTAL_ObjectSetListener.js → aggregate/GeoFilter.js} +2 -2
  49. package/build/browser/aggregate/GeoFilter.js.map +1 -0
  50. package/build/browser/aggregate/Just.js +2 -0
  51. package/build/browser/aggregate/Just.js.map +1 -0
  52. package/build/browser/aggregate/NumberFilter.js +19 -0
  53. package/build/browser/aggregate/NumberFilter.js.map +1 -0
  54. package/build/browser/aggregate/StringFilter.js +19 -0
  55. package/build/browser/aggregate/StringFilter.js.map +1 -0
  56. package/build/browser/aggregate/WhereClause.js +4 -1
  57. package/build/browser/aggregate/WhereClause.js.map +1 -1
  58. package/build/browser/definitions/LinkDefinitions.js +0 -15
  59. package/build/browser/definitions/LinkDefinitions.js.map +1 -1
  60. package/build/browser/definitions/LinkDefinitions.test.js +1 -0
  61. package/build/browser/definitions/LinkDefinitions.test.js.map +1 -1
  62. package/build/browser/derivedProperties/DerivedProperty.js +17 -0
  63. package/build/browser/derivedProperties/DerivedProperty.js.map +1 -0
  64. package/build/browser/derivedProperties/WithPropertiesAggregationOptions.js +2 -0
  65. package/build/browser/derivedProperties/WithPropertiesAggregationOptions.js.map +1 -0
  66. package/build/browser/experimental/Experiment.js +0 -15
  67. package/build/browser/experimental/Experiment.js.map +1 -1
  68. package/build/browser/experimental/createMediaReference.js +35 -0
  69. package/build/browser/experimental/createMediaReference.js.map +1 -0
  70. package/build/browser/experimental/{subscribe.js → fetchOneByRid.js} +4 -3
  71. package/build/browser/experimental/fetchOneByRid.js.map +1 -0
  72. package/build/browser/experimental/getBulkLinks.js +1 -0
  73. package/build/browser/experimental/getBulkLinks.js.map +1 -1
  74. package/build/browser/groupby/GroupByClause.js +1 -0
  75. package/build/browser/groupby/GroupByClause.js.map +1 -1
  76. package/build/browser/groupby/GroupByClause.test.js +1 -0
  77. package/build/browser/groupby/GroupByClause.test.js.map +1 -1
  78. package/build/browser/groupby/GroupByMapper.js +0 -15
  79. package/build/browser/groupby/GroupByMapper.js.map +1 -1
  80. package/build/browser/index.js +2 -0
  81. package/build/browser/index.js.map +1 -1
  82. package/build/browser/junk.test.js +1 -0
  83. package/build/browser/junk.test.js.map +1 -1
  84. package/build/browser/mapping/DataValueMapping.js +0 -15
  85. package/build/browser/mapping/DataValueMapping.js.map +1 -1
  86. package/build/browser/mapping/DurationMapping.js +1 -0
  87. package/build/browser/mapping/DurationMapping.js.map +1 -1
  88. package/build/browser/mapping/PropertyValueMapping.js +0 -15
  89. package/build/browser/mapping/PropertyValueMapping.js.map +1 -1
  90. package/build/browser/object/Attachment.js +0 -15
  91. package/build/browser/object/Attachment.js.map +1 -1
  92. package/build/browser/object/FetchPageArgs.js +1 -1
  93. package/build/browser/object/FetchPageArgs.js.map +1 -1
  94. package/build/browser/object/FetchPageResult.js +0 -15
  95. package/build/browser/object/FetchPageResult.js.map +1 -1
  96. package/build/browser/object/Media.js +2 -0
  97. package/build/browser/object/Media.js.map +1 -0
  98. package/build/browser/object/ObjectDefinitions.test.js +5 -0
  99. package/build/browser/object/ObjectDefinitions.test.js.map +1 -1
  100. package/build/browser/object/Result.js +2 -0
  101. package/build/browser/object/Result.js.map +1 -1
  102. package/build/browser/objectSet/BaseObjectSet.js +0 -15
  103. package/build/browser/objectSet/BaseObjectSet.js.map +1 -1
  104. package/build/browser/objectSet/BulkLinkResult.js +0 -15
  105. package/build/browser/objectSet/BulkLinkResult.js.map +1 -1
  106. package/build/browser/objectSet/ObjectSet.js +0 -15
  107. package/build/browser/objectSet/ObjectSet.js.map +1 -1
  108. package/build/browser/objectSet/ObjectSet.test.js +155 -0
  109. package/build/browser/objectSet/ObjectSet.test.js.map +1 -0
  110. package/build/browser/objectSet/ObjectSetListener.js +17 -0
  111. package/build/browser/objectSet/ObjectSetListener.js.map +1 -0
  112. package/build/browser/ontology/ActionDefinition.js +1 -1
  113. package/build/browser/ontology/ActionDefinition.js.map +1 -1
  114. package/build/browser/ontology/InterfaceDefinition.js +0 -15
  115. package/build/browser/ontology/InterfaceDefinition.js.map +1 -1
  116. package/build/browser/ontology/ObjectOrInterface.js +1 -1
  117. package/build/browser/ontology/ObjectOrInterface.js.map +1 -1
  118. package/build/browser/ontology/ObjectTypeDefinition.js +1 -1
  119. package/build/browser/ontology/ObjectTypeDefinition.js.map +1 -1
  120. package/build/browser/ontology/OntologyMetadata.js +0 -15
  121. package/build/browser/ontology/OntologyMetadata.js.map +1 -1
  122. package/build/browser/ontology/PrimaryKeyTypes.js +0 -15
  123. package/build/browser/ontology/PrimaryKeyTypes.js.map +1 -1
  124. package/build/browser/ontology/QueryDefinition.js +0 -15
  125. package/build/browser/ontology/QueryDefinition.js.map +1 -1
  126. package/build/browser/ontology/SimplePropertyDef.js +17 -0
  127. package/build/browser/ontology/SimplePropertyDef.js.map +1 -0
  128. package/build/browser/ontology/SimplePropertyDef.test.js +48 -0
  129. package/build/browser/ontology/SimplePropertyDef.test.js.map +1 -0
  130. package/build/browser/ontology/VersionString.js +0 -15
  131. package/build/browser/ontology/VersionString.js.map +1 -1
  132. package/build/browser/ontology/WirePropertyTypes.js +0 -15
  133. package/build/browser/ontology/WirePropertyTypes.js.map +1 -1
  134. package/build/browser/public/unstable.js +3 -2
  135. package/build/browser/public/unstable.js.map +1 -1
  136. package/build/browser/queries/Aggregations.js +2 -0
  137. package/build/browser/queries/Aggregations.js.map +1 -0
  138. package/build/browser/queries/Queries.js +8 -1
  139. package/build/browser/queries/Queries.js.map +1 -1
  140. package/build/browser/timeseries/timeseries.js +1 -0
  141. package/build/browser/timeseries/timeseries.js.map +1 -1
  142. package/build/browser/util/LinkUtils.js +0 -15
  143. package/build/browser/util/LinkUtils.js.map +1 -1
  144. package/build/cjs/ObjectSet-CQsYpN1K.d.cts +1144 -0
  145. package/build/cjs/index.cjs +75 -0
  146. package/build/cjs/index.cjs.map +1 -0
  147. package/build/cjs/index.d.cts +416 -0
  148. package/build/cjs/public/unstable.cjs +28 -0
  149. package/build/cjs/public/unstable.cjs.map +1 -0
  150. package/build/cjs/public/unstable.d.cts +53 -0
  151. package/build/esm/Definitions.js +0 -15
  152. package/build/esm/Definitions.js.map +1 -1
  153. package/build/esm/OsdkBase.js +0 -15
  154. package/build/esm/OsdkBase.js.map +1 -1
  155. package/build/esm/OsdkMetadata.js +0 -15
  156. package/build/esm/OsdkMetadata.js.map +1 -1
  157. package/build/esm/OsdkObject.js +0 -15
  158. package/build/esm/OsdkObject.js.map +1 -1
  159. package/build/esm/OsdkObjectFrom.js +27 -1
  160. package/build/esm/OsdkObjectFrom.js.map +1 -1
  161. package/build/esm/OsdkObjectFrom.test.js +17 -0
  162. package/build/esm/OsdkObjectFrom.test.js.map +1 -1
  163. package/build/esm/OsdkObjectPrimaryKeyType.js +0 -15
  164. package/build/esm/OsdkObjectPrimaryKeyType.js.map +1 -1
  165. package/build/esm/PageResult.js +0 -15
  166. package/build/esm/PageResult.js.map +1 -1
  167. package/build/esm/actions/ActionResults.js +0 -15
  168. package/build/esm/actions/ActionResults.js.map +1 -1
  169. package/build/esm/actions/ActionReturnTypeForOptions.js +0 -15
  170. package/build/esm/actions/ActionReturnTypeForOptions.js.map +1 -1
  171. package/build/esm/actions/Actions.js +4 -1
  172. package/build/esm/actions/Actions.js.map +1 -1
  173. package/build/esm/aggregate/AggregatableKeys.js +0 -15
  174. package/build/esm/aggregate/AggregatableKeys.js.map +1 -1
  175. package/build/esm/aggregate/AggregateOpts.js +0 -15
  176. package/build/esm/aggregate/AggregateOpts.js.map +1 -1
  177. package/build/esm/aggregate/AggregateOptsThatErrors.js +0 -15
  178. package/build/esm/aggregate/AggregateOptsThatErrors.js.map +1 -1
  179. package/build/esm/aggregate/AggregationResultsWithGroups.js +0 -15
  180. package/build/esm/aggregate/AggregationResultsWithGroups.js.map +1 -1
  181. package/build/esm/aggregate/AggregationResultsWithoutGroups.js +0 -15
  182. package/build/esm/aggregate/AggregationResultsWithoutGroups.js.map +1 -1
  183. package/build/esm/aggregate/AggregationsClause.js +0 -15
  184. package/build/esm/aggregate/AggregationsClause.js.map +1 -1
  185. package/build/esm/aggregate/AggregationsClause.test.js +1 -0
  186. package/build/esm/aggregate/AggregationsClause.test.js.map +1 -1
  187. package/build/esm/aggregate/AggregationsResults.js +0 -15
  188. package/build/esm/aggregate/AggregationsResults.js.map +1 -1
  189. package/build/esm/aggregate/ArrayFilter.js +2 -0
  190. package/build/esm/aggregate/ArrayFilter.js.map +1 -0
  191. package/build/esm/aggregate/BaseFilter.js +20 -0
  192. package/build/esm/aggregate/BaseFilter.js.map +1 -0
  193. package/build/esm/aggregate/BooleanFilter.js +19 -0
  194. package/build/esm/aggregate/BooleanFilter.js.map +1 -0
  195. package/build/esm/aggregate/DatetimeFilter.js +19 -0
  196. package/build/esm/aggregate/DatetimeFilter.js.map +1 -0
  197. package/build/esm/{objectSet/EXPERIMENTAL_ObjectSetListener.js → aggregate/GeoFilter.js} +2 -2
  198. package/build/esm/aggregate/GeoFilter.js.map +1 -0
  199. package/build/esm/aggregate/Just.js +2 -0
  200. package/build/esm/aggregate/Just.js.map +1 -0
  201. package/build/esm/aggregate/NumberFilter.js +19 -0
  202. package/build/esm/aggregate/NumberFilter.js.map +1 -0
  203. package/build/esm/aggregate/StringFilter.js +19 -0
  204. package/build/esm/aggregate/StringFilter.js.map +1 -0
  205. package/build/esm/aggregate/WhereClause.js +4 -1
  206. package/build/esm/aggregate/WhereClause.js.map +1 -1
  207. package/build/esm/definitions/LinkDefinitions.js +0 -15
  208. package/build/esm/definitions/LinkDefinitions.js.map +1 -1
  209. package/build/esm/definitions/LinkDefinitions.test.js +1 -0
  210. package/build/esm/definitions/LinkDefinitions.test.js.map +1 -1
  211. package/build/esm/derivedProperties/DerivedProperty.js +17 -0
  212. package/build/esm/derivedProperties/DerivedProperty.js.map +1 -0
  213. package/build/esm/derivedProperties/WithPropertiesAggregationOptions.js +2 -0
  214. package/build/esm/derivedProperties/WithPropertiesAggregationOptions.js.map +1 -0
  215. package/build/esm/experimental/Experiment.js +0 -15
  216. package/build/esm/experimental/Experiment.js.map +1 -1
  217. package/build/esm/experimental/createMediaReference.js +35 -0
  218. package/build/esm/experimental/createMediaReference.js.map +1 -0
  219. package/build/esm/experimental/{subscribe.js → fetchOneByRid.js} +4 -3
  220. package/build/esm/experimental/fetchOneByRid.js.map +1 -0
  221. package/build/esm/experimental/getBulkLinks.js +1 -0
  222. package/build/esm/experimental/getBulkLinks.js.map +1 -1
  223. package/build/esm/groupby/GroupByClause.js +1 -0
  224. package/build/esm/groupby/GroupByClause.js.map +1 -1
  225. package/build/esm/groupby/GroupByClause.test.js +1 -0
  226. package/build/esm/groupby/GroupByClause.test.js.map +1 -1
  227. package/build/esm/groupby/GroupByMapper.js +0 -15
  228. package/build/esm/groupby/GroupByMapper.js.map +1 -1
  229. package/build/esm/index.js +2 -0
  230. package/build/esm/index.js.map +1 -1
  231. package/build/esm/junk.test.js +1 -0
  232. package/build/esm/junk.test.js.map +1 -1
  233. package/build/esm/mapping/DataValueMapping.js +0 -15
  234. package/build/esm/mapping/DataValueMapping.js.map +1 -1
  235. package/build/esm/mapping/DurationMapping.js +1 -0
  236. package/build/esm/mapping/DurationMapping.js.map +1 -1
  237. package/build/esm/mapping/PropertyValueMapping.js +0 -15
  238. package/build/esm/mapping/PropertyValueMapping.js.map +1 -1
  239. package/build/esm/object/Attachment.js +0 -15
  240. package/build/esm/object/Attachment.js.map +1 -1
  241. package/build/esm/object/FetchPageArgs.js +1 -1
  242. package/build/esm/object/FetchPageArgs.js.map +1 -1
  243. package/build/esm/object/FetchPageResult.js +0 -15
  244. package/build/esm/object/FetchPageResult.js.map +1 -1
  245. package/build/esm/object/Media.js +2 -0
  246. package/build/esm/object/Media.js.map +1 -0
  247. package/build/esm/object/ObjectDefinitions.test.js +5 -0
  248. package/build/esm/object/ObjectDefinitions.test.js.map +1 -1
  249. package/build/esm/object/Result.js +2 -0
  250. package/build/esm/object/Result.js.map +1 -1
  251. package/build/esm/objectSet/BaseObjectSet.js +0 -15
  252. package/build/esm/objectSet/BaseObjectSet.js.map +1 -1
  253. package/build/esm/objectSet/BulkLinkResult.js +0 -15
  254. package/build/esm/objectSet/BulkLinkResult.js.map +1 -1
  255. package/build/esm/objectSet/ObjectSet.js +0 -15
  256. package/build/esm/objectSet/ObjectSet.js.map +1 -1
  257. package/build/esm/objectSet/ObjectSet.test.js +155 -0
  258. package/build/esm/objectSet/ObjectSet.test.js.map +1 -0
  259. package/build/esm/objectSet/ObjectSetListener.js +17 -0
  260. package/build/esm/objectSet/ObjectSetListener.js.map +1 -0
  261. package/build/esm/ontology/ActionDefinition.js +1 -1
  262. package/build/esm/ontology/ActionDefinition.js.map +1 -1
  263. package/build/esm/ontology/InterfaceDefinition.js +0 -15
  264. package/build/esm/ontology/InterfaceDefinition.js.map +1 -1
  265. package/build/esm/ontology/ObjectOrInterface.js +1 -1
  266. package/build/esm/ontology/ObjectOrInterface.js.map +1 -1
  267. package/build/esm/ontology/ObjectTypeDefinition.js +1 -1
  268. package/build/esm/ontology/ObjectTypeDefinition.js.map +1 -1
  269. package/build/esm/ontology/OntologyMetadata.js +0 -15
  270. package/build/esm/ontology/OntologyMetadata.js.map +1 -1
  271. package/build/esm/ontology/PrimaryKeyTypes.js +0 -15
  272. package/build/esm/ontology/PrimaryKeyTypes.js.map +1 -1
  273. package/build/esm/ontology/QueryDefinition.js +0 -15
  274. package/build/esm/ontology/QueryDefinition.js.map +1 -1
  275. package/build/esm/ontology/SimplePropertyDef.js +17 -0
  276. package/build/esm/ontology/SimplePropertyDef.js.map +1 -0
  277. package/build/esm/ontology/SimplePropertyDef.test.js +48 -0
  278. package/build/esm/ontology/SimplePropertyDef.test.js.map +1 -0
  279. package/build/esm/ontology/VersionString.js +0 -15
  280. package/build/esm/ontology/VersionString.js.map +1 -1
  281. package/build/esm/ontology/WirePropertyTypes.js +0 -15
  282. package/build/esm/ontology/WirePropertyTypes.js.map +1 -1
  283. package/build/esm/public/unstable.js +3 -2
  284. package/build/esm/public/unstable.js.map +1 -1
  285. package/build/esm/queries/Aggregations.js +2 -0
  286. package/build/esm/queries/Aggregations.js.map +1 -0
  287. package/build/esm/queries/Queries.js +8 -1
  288. package/build/esm/queries/Queries.js.map +1 -1
  289. package/build/esm/timeseries/timeseries.js +1 -0
  290. package/build/esm/timeseries/timeseries.js.map +1 -1
  291. package/build/esm/util/LinkUtils.js +0 -15
  292. package/build/esm/util/LinkUtils.js.map +1 -1
  293. package/build/types/Definitions.d.ts +24 -0
  294. package/build/types/Definitions.d.ts.map +1 -0
  295. package/build/{esm → types}/OsdkBase.d.ts +4 -5
  296. package/build/types/OsdkBase.d.ts.map +1 -0
  297. package/build/types/OsdkMetadata.d.ts +3 -0
  298. package/build/types/OsdkMetadata.d.ts.map +1 -0
  299. package/build/{browser → types}/OsdkObject.d.ts +5 -6
  300. package/build/types/OsdkObject.d.ts.map +1 -0
  301. package/build/types/OsdkObjectFrom.d.ts +99 -0
  302. package/build/types/OsdkObjectFrom.d.ts.map +1 -0
  303. package/build/types/OsdkObjectFrom.test.d.ts +1 -0
  304. package/build/types/OsdkObjectFrom.test.d.ts.map +1 -0
  305. package/build/{browser → types}/OsdkObjectPrimaryKeyType.d.ts +0 -1
  306. package/build/types/OsdkObjectPrimaryKeyType.d.ts.map +1 -0
  307. package/build/types/PageResult.d.ts +5 -0
  308. package/build/types/PageResult.d.ts.map +1 -0
  309. package/build/types/actions/ActionResults.d.ts +80 -0
  310. package/build/types/actions/ActionResults.d.ts.map +1 -0
  311. package/build/{browser → types}/actions/ActionReturnTypeForOptions.d.ts +2 -3
  312. package/build/types/actions/ActionReturnTypeForOptions.d.ts.map +1 -0
  313. package/build/types/actions/Actions.d.ts +34 -0
  314. package/build/types/actions/Actions.d.ts.map +1 -0
  315. package/build/types/aggregate/AggregatableKeys.d.ts +18 -0
  316. package/build/types/aggregate/AggregatableKeys.d.ts.map +1 -0
  317. package/build/{browser → types}/aggregate/AggregateOpts.d.ts +2 -5
  318. package/build/types/aggregate/AggregateOpts.d.ts.map +1 -0
  319. package/build/types/aggregate/AggregateOptsThatErrors.d.ts +21 -0
  320. package/build/types/aggregate/AggregateOptsThatErrors.d.ts.map +1 -0
  321. package/build/{browser → types}/aggregate/AggregationResultsWithGroups.d.ts +11 -10
  322. package/build/types/aggregate/AggregationResultsWithGroups.d.ts.map +1 -0
  323. package/build/types/aggregate/AggregationResultsWithoutGroups.d.ts +14 -0
  324. package/build/types/aggregate/AggregationResultsWithoutGroups.d.ts.map +1 -0
  325. package/build/{esm → types}/aggregate/AggregationsClause.d.ts +2 -7
  326. package/build/types/aggregate/AggregationsClause.d.ts.map +1 -0
  327. package/build/types/aggregate/AggregationsClause.test.d.ts +46 -0
  328. package/build/types/aggregate/AggregationsClause.test.d.ts.map +1 -0
  329. package/build/types/aggregate/AggregationsResults.d.ts +9 -0
  330. package/build/types/aggregate/AggregationsResults.d.ts.map +1 -0
  331. package/build/types/aggregate/ArrayFilter.d.ts +11 -0
  332. package/build/types/aggregate/ArrayFilter.d.ts.map +1 -0
  333. package/build/types/aggregate/BaseFilter.d.ts +14 -0
  334. package/build/types/aggregate/BaseFilter.d.ts.map +1 -0
  335. package/build/types/aggregate/BooleanFilter.d.ts +11 -0
  336. package/build/types/aggregate/BooleanFilter.d.ts.map +1 -0
  337. package/build/types/aggregate/DatetimeFilter.d.ts +19 -0
  338. package/build/types/aggregate/DatetimeFilter.d.ts.map +1 -0
  339. package/build/types/aggregate/GeoFilter.d.ts +35 -0
  340. package/build/types/aggregate/GeoFilter.d.ts.map +1 -0
  341. package/build/types/aggregate/Just.d.ts +5 -0
  342. package/build/types/aggregate/Just.d.ts.map +1 -0
  343. package/build/types/aggregate/NumberFilter.d.ts +20 -0
  344. package/build/types/aggregate/NumberFilter.d.ts.map +1 -0
  345. package/build/types/aggregate/StringFilter.d.ts +27 -0
  346. package/build/types/aggregate/StringFilter.d.ts.map +1 -0
  347. package/build/types/aggregate/WhereClause.d.ts +80 -0
  348. package/build/types/aggregate/WhereClause.d.ts.map +1 -0
  349. package/build/types/definitions/LinkDefinitions.d.ts +21 -0
  350. package/build/types/definitions/LinkDefinitions.d.ts.map +1 -0
  351. package/build/types/definitions/LinkDefinitions.test.d.ts +1 -0
  352. package/build/types/definitions/LinkDefinitions.test.d.ts.map +1 -0
  353. package/build/types/derivedProperties/DerivedProperty.d.ts +58 -0
  354. package/build/types/derivedProperties/DerivedProperty.d.ts.map +1 -0
  355. package/build/types/derivedProperties/WithPropertiesAggregationOptions.d.ts +4 -0
  356. package/build/types/derivedProperties/WithPropertiesAggregationOptions.d.ts.map +1 -0
  357. package/build/types/experimental/Experiment.d.ts +11 -0
  358. package/build/types/experimental/Experiment.d.ts.map +1 -0
  359. package/build/types/experimental/createMediaReference.d.ts +24 -0
  360. package/build/types/experimental/createMediaReference.d.ts.map +1 -0
  361. package/build/types/experimental/fetchOneByRid.d.ts +15 -0
  362. package/build/types/experimental/fetchOneByRid.d.ts.map +1 -0
  363. package/build/{esm → types}/experimental/getBulkLinks.d.ts +1 -2
  364. package/build/types/experimental/getBulkLinks.d.ts.map +1 -0
  365. package/build/types/groupby/GroupByClause.d.ts +71 -0
  366. package/build/types/groupby/GroupByClause.d.ts.map +1 -0
  367. package/build/types/groupby/GroupByClause.test.d.ts +23 -0
  368. package/build/types/groupby/GroupByClause.test.d.ts.map +1 -0
  369. package/build/types/groupby/GroupByMapper.d.ts +13 -0
  370. package/build/types/groupby/GroupByMapper.d.ts.map +1 -0
  371. package/build/types/index.d.ts +45 -0
  372. package/build/types/index.d.ts.map +1 -0
  373. package/build/types/junk.test.d.ts +1 -0
  374. package/build/types/junk.test.d.ts.map +1 -0
  375. package/build/types/mapping/DataValueMapping.d.ts +79 -0
  376. package/build/types/mapping/DataValueMapping.d.ts.map +1 -0
  377. package/build/types/mapping/DurationMapping.d.ts +22 -0
  378. package/build/types/mapping/DurationMapping.d.ts.map +1 -0
  379. package/build/types/mapping/PropertyValueMapping.d.ts +57 -0
  380. package/build/types/mapping/PropertyValueMapping.d.ts.map +1 -0
  381. package/build/types/object/Attachment.d.ts +21 -0
  382. package/build/types/object/Attachment.d.ts.map +1 -0
  383. package/build/types/object/FetchPageArgs.d.ts +49 -0
  384. package/build/types/object/FetchPageArgs.d.ts.map +1 -0
  385. package/build/types/object/FetchPageResult.d.ts +39 -0
  386. package/build/types/object/FetchPageResult.d.ts.map +1 -0
  387. package/build/types/object/Media.d.ts +32 -0
  388. package/build/types/object/Media.d.ts.map +1 -0
  389. package/build/types/object/ObjectDefinitions.test.d.ts +1 -0
  390. package/build/types/object/ObjectDefinitions.test.d.ts.map +1 -0
  391. package/build/types/object/Result.d.ts +21 -0
  392. package/build/types/object/Result.d.ts.map +1 -0
  393. package/build/{esm → types}/objectSet/BaseObjectSet.d.ts +3 -4
  394. package/build/types/objectSet/BaseObjectSet.d.ts.map +1 -0
  395. package/build/types/objectSet/BulkLinkResult.d.ts +7 -0
  396. package/build/types/objectSet/BulkLinkResult.d.ts.map +1 -0
  397. package/build/types/objectSet/ObjectSet.d.ts +217 -0
  398. package/build/types/objectSet/ObjectSet.d.ts.map +1 -0
  399. package/build/types/objectSet/ObjectSet.test.d.ts +1 -0
  400. package/build/types/objectSet/ObjectSet.test.d.ts.map +1 -0
  401. package/build/types/objectSet/ObjectSetListener.d.ts +43 -0
  402. package/build/types/objectSet/ObjectSetListener.d.ts.map +1 -0
  403. package/build/types/ontology/ActionDefinition.d.ts +55 -0
  404. package/build/types/ontology/ActionDefinition.d.ts.map +1 -0
  405. package/build/{browser → types}/ontology/InterfaceDefinition.d.ts +6 -6
  406. package/build/types/ontology/InterfaceDefinition.d.ts.map +1 -0
  407. package/build/types/ontology/ObjectOrInterface.d.ts +19 -0
  408. package/build/types/ontology/ObjectOrInterface.d.ts.map +1 -0
  409. package/build/types/ontology/ObjectTypeDefinition.d.ts +92 -0
  410. package/build/types/ontology/ObjectTypeDefinition.d.ts.map +1 -0
  411. package/build/types/ontology/OntologyMetadata.d.ts +6 -0
  412. package/build/types/ontology/OntologyMetadata.d.ts.map +1 -0
  413. package/build/{browser → types}/ontology/PrimaryKeyTypes.d.ts +0 -1
  414. package/build/types/ontology/PrimaryKeyTypes.d.ts.map +1 -0
  415. package/build/{browser → types}/ontology/QueryDefinition.d.ts +35 -33
  416. package/build/types/ontology/QueryDefinition.d.ts.map +1 -0
  417. package/build/types/ontology/SimplePropertyDef.d.ts +18 -0
  418. package/build/types/ontology/SimplePropertyDef.d.ts.map +1 -0
  419. package/build/types/ontology/SimplePropertyDef.test.d.ts +1 -0
  420. package/build/types/ontology/SimplePropertyDef.test.d.ts.map +1 -0
  421. package/build/types/ontology/VersionString.d.ts +5 -0
  422. package/build/types/ontology/VersionString.d.ts.map +1 -0
  423. package/build/types/ontology/WirePropertyTypes.d.ts +2 -0
  424. package/build/types/ontology/WirePropertyTypes.d.ts.map +1 -0
  425. package/build/types/public/unstable.d.ts +6 -0
  426. package/build/types/public/unstable.d.ts.map +1 -0
  427. package/build/types/queries/Aggregations.d.ts +39 -0
  428. package/build/types/queries/Aggregations.d.ts.map +1 -0
  429. package/build/types/queries/Queries.d.ts +43 -0
  430. package/build/types/queries/Queries.d.ts.map +1 -0
  431. package/build/types/timeseries/timeseries.d.ts +124 -0
  432. package/build/types/timeseries/timeseries.d.ts.map +1 -0
  433. package/build/{browser → types}/util/LinkUtils.d.ts +4 -2
  434. package/build/types/util/LinkUtils.d.ts.map +1 -0
  435. package/package.json +33 -11
  436. package/unstable.d.ts +17 -0
  437. package/build/browser/Definitions.d.ts +0 -16
  438. package/build/browser/Definitions.d.ts.map +0 -1
  439. package/build/browser/OsdkBase.d.ts +0 -13
  440. package/build/browser/OsdkBase.d.ts.map +0 -1
  441. package/build/browser/OsdkMetadata.d.ts +0 -4
  442. package/build/browser/OsdkMetadata.d.ts.map +0 -1
  443. package/build/browser/OsdkObject.d.ts.map +0 -1
  444. package/build/browser/OsdkObjectFrom.d.ts +0 -58
  445. package/build/browser/OsdkObjectFrom.d.ts.map +0 -1
  446. package/build/browser/OsdkObjectFrom.test.d.ts +0 -2
  447. package/build/browser/OsdkObjectFrom.test.d.ts.map +0 -1
  448. package/build/browser/OsdkObjectPrimaryKeyType.d.ts.map +0 -1
  449. package/build/browser/PageResult.d.ts +0 -6
  450. package/build/browser/PageResult.d.ts.map +0 -1
  451. package/build/browser/actions/ActionResults.d.ts +0 -81
  452. package/build/browser/actions/ActionResults.d.ts.map +0 -1
  453. package/build/browser/actions/ActionReturnTypeForOptions.d.ts.map +0 -1
  454. package/build/browser/actions/Actions.d.ts +0 -36
  455. package/build/browser/actions/Actions.d.ts.map +0 -1
  456. package/build/browser/aggregate/AggregatableKeys.d.ts +0 -16
  457. package/build/browser/aggregate/AggregatableKeys.d.ts.map +0 -1
  458. package/build/browser/aggregate/AggregateOpts.d.ts.map +0 -1
  459. package/build/browser/aggregate/AggregateOptsThatErrors.d.ts +0 -17
  460. package/build/browser/aggregate/AggregateOptsThatErrors.d.ts.map +0 -1
  461. package/build/browser/aggregate/AggregationResultsWithGroups.d.ts.map +0 -1
  462. package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts +0 -13
  463. package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts.map +0 -1
  464. package/build/browser/aggregate/AggregationsClause.d.ts +0 -10
  465. package/build/browser/aggregate/AggregationsClause.d.ts.map +0 -1
  466. package/build/browser/aggregate/AggregationsClause.test.d.ts +0 -47
  467. package/build/browser/aggregate/AggregationsClause.test.d.ts.map +0 -1
  468. package/build/browser/aggregate/AggregationsResults.d.ts +0 -7
  469. package/build/browser/aggregate/AggregationsResults.d.ts.map +0 -1
  470. package/build/browser/aggregate/WhereClause.d.ts +0 -79
  471. package/build/browser/aggregate/WhereClause.d.ts.map +0 -1
  472. package/build/browser/definitions/LinkDefinitions.d.ts +0 -21
  473. package/build/browser/definitions/LinkDefinitions.d.ts.map +0 -1
  474. package/build/browser/definitions/LinkDefinitions.test.d.ts +0 -2
  475. package/build/browser/definitions/LinkDefinitions.test.d.ts.map +0 -1
  476. package/build/browser/experimental/Experiment.d.ts +0 -8
  477. package/build/browser/experimental/Experiment.d.ts.map +0 -1
  478. package/build/browser/experimental/getBulkLinks.d.ts +0 -10
  479. package/build/browser/experimental/getBulkLinks.d.ts.map +0 -1
  480. package/build/browser/experimental/preexistingObjectSet.d.ts +0 -10
  481. package/build/browser/experimental/preexistingObjectSet.d.ts.map +0 -1
  482. package/build/browser/experimental/preexistingObjectSet.js +0 -21
  483. package/build/browser/experimental/preexistingObjectSet.js.map +0 -1
  484. package/build/browser/experimental/subscribe.d.ts +0 -12
  485. package/build/browser/experimental/subscribe.d.ts.map +0 -1
  486. package/build/browser/experimental/subscribe.js.map +0 -1
  487. package/build/browser/groupby/GroupByClause.d.ts +0 -73
  488. package/build/browser/groupby/GroupByClause.d.ts.map +0 -1
  489. package/build/browser/groupby/GroupByClause.test.d.ts +0 -24
  490. package/build/browser/groupby/GroupByClause.test.d.ts.map +0 -1
  491. package/build/browser/groupby/GroupByMapper.d.ts +0 -14
  492. package/build/browser/groupby/GroupByMapper.d.ts.map +0 -1
  493. package/build/browser/index.d.ts +0 -42
  494. package/build/browser/index.d.ts.map +0 -1
  495. package/build/browser/junk.test.d.ts +0 -2
  496. package/build/browser/junk.test.d.ts.map +0 -1
  497. package/build/browser/mapping/DataValueMapping.d.ts +0 -71
  498. package/build/browser/mapping/DataValueMapping.d.ts.map +0 -1
  499. package/build/browser/mapping/DurationMapping.d.ts +0 -23
  500. package/build/browser/mapping/DurationMapping.d.ts.map +0 -1
  501. package/build/browser/mapping/PropertyValueMapping.d.ts +0 -49
  502. package/build/browser/mapping/PropertyValueMapping.d.ts.map +0 -1
  503. package/build/browser/object/Attachment.d.ts +0 -25
  504. package/build/browser/object/Attachment.d.ts.map +0 -1
  505. package/build/browser/object/FetchPageArgs.d.ts +0 -27
  506. package/build/browser/object/FetchPageArgs.d.ts.map +0 -1
  507. package/build/browser/object/FetchPageResult.d.ts +0 -20
  508. package/build/browser/object/FetchPageResult.d.ts.map +0 -1
  509. package/build/browser/object/ObjectDefinitions.test.d.ts +0 -2
  510. package/build/browser/object/ObjectDefinitions.test.d.ts.map +0 -1
  511. package/build/browser/object/Result.d.ts +0 -22
  512. package/build/browser/object/Result.d.ts.map +0 -1
  513. package/build/browser/objectSet/BaseObjectSet.d.ts +0 -7
  514. package/build/browser/objectSet/BaseObjectSet.d.ts.map +0 -1
  515. package/build/browser/objectSet/BulkLinkResult.d.ts +0 -8
  516. package/build/browser/objectSet/BulkLinkResult.d.ts.map +0 -1
  517. package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +0 -27
  518. package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +0 -1
  519. package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +0 -1
  520. package/build/browser/objectSet/ObjectSet.d.ts +0 -142
  521. package/build/browser/objectSet/ObjectSet.d.ts.map +0 -1
  522. package/build/browser/ontology/ActionDefinition.d.ts +0 -46
  523. package/build/browser/ontology/ActionDefinition.d.ts.map +0 -1
  524. package/build/browser/ontology/InterfaceDefinition.d.ts.map +0 -1
  525. package/build/browser/ontology/ObjectOrInterface.d.ts +0 -5
  526. package/build/browser/ontology/ObjectOrInterface.d.ts.map +0 -1
  527. package/build/browser/ontology/ObjectTypeDefinition.d.ts +0 -83
  528. package/build/browser/ontology/ObjectTypeDefinition.d.ts.map +0 -1
  529. package/build/browser/ontology/OntologyMetadata.d.ts +0 -7
  530. package/build/browser/ontology/OntologyMetadata.d.ts.map +0 -1
  531. package/build/browser/ontology/PrimaryKeyTypes.d.ts.map +0 -1
  532. package/build/browser/ontology/QueryDefinition.d.ts.map +0 -1
  533. package/build/browser/ontology/VersionString.d.ts +0 -2
  534. package/build/browser/ontology/VersionString.d.ts.map +0 -1
  535. package/build/browser/ontology/WirePropertyTypes.d.ts +0 -2
  536. package/build/browser/ontology/WirePropertyTypes.d.ts.map +0 -1
  537. package/build/browser/public/unstable.d.ts +0 -8
  538. package/build/browser/public/unstable.d.ts.map +0 -1
  539. package/build/browser/queries/Queries.d.ts +0 -40
  540. package/build/browser/queries/Queries.d.ts.map +0 -1
  541. package/build/browser/timeseries/timeseries.d.ts +0 -125
  542. package/build/browser/timeseries/timeseries.d.ts.map +0 -1
  543. package/build/browser/util/LinkUtils.d.ts.map +0 -1
  544. package/build/esm/Definitions.d.ts +0 -16
  545. package/build/esm/Definitions.d.ts.map +0 -1
  546. package/build/esm/OsdkBase.d.ts.map +0 -1
  547. package/build/esm/OsdkMetadata.d.ts +0 -4
  548. package/build/esm/OsdkMetadata.d.ts.map +0 -1
  549. package/build/esm/OsdkObject.d.ts +0 -11
  550. package/build/esm/OsdkObject.d.ts.map +0 -1
  551. package/build/esm/OsdkObjectFrom.d.ts +0 -58
  552. package/build/esm/OsdkObjectFrom.d.ts.map +0 -1
  553. package/build/esm/OsdkObjectFrom.test.d.ts +0 -2
  554. package/build/esm/OsdkObjectFrom.test.d.ts.map +0 -1
  555. package/build/esm/OsdkObjectPrimaryKeyType.d.ts +0 -4
  556. package/build/esm/OsdkObjectPrimaryKeyType.d.ts.map +0 -1
  557. package/build/esm/PageResult.d.ts +0 -6
  558. package/build/esm/PageResult.d.ts.map +0 -1
  559. package/build/esm/actions/ActionResults.d.ts +0 -81
  560. package/build/esm/actions/ActionResults.d.ts.map +0 -1
  561. package/build/esm/actions/ActionReturnTypeForOptions.d.ts +0 -7
  562. package/build/esm/actions/ActionReturnTypeForOptions.d.ts.map +0 -1
  563. package/build/esm/actions/Actions.d.ts +0 -36
  564. package/build/esm/actions/Actions.d.ts.map +0 -1
  565. package/build/esm/aggregate/AggregatableKeys.d.ts +0 -16
  566. package/build/esm/aggregate/AggregatableKeys.d.ts.map +0 -1
  567. package/build/esm/aggregate/AggregateOpts.d.ts +0 -10
  568. package/build/esm/aggregate/AggregateOpts.d.ts.map +0 -1
  569. package/build/esm/aggregate/AggregateOptsThatErrors.d.ts +0 -17
  570. package/build/esm/aggregate/AggregateOptsThatErrors.d.ts.map +0 -1
  571. package/build/esm/aggregate/AggregationResultsWithGroups.d.ts +0 -17
  572. package/build/esm/aggregate/AggregationResultsWithGroups.d.ts.map +0 -1
  573. package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts +0 -13
  574. package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts.map +0 -1
  575. package/build/esm/aggregate/AggregationsClause.d.ts.map +0 -1
  576. package/build/esm/aggregate/AggregationsClause.test.d.ts +0 -47
  577. package/build/esm/aggregate/AggregationsClause.test.d.ts.map +0 -1
  578. package/build/esm/aggregate/AggregationsResults.d.ts +0 -7
  579. package/build/esm/aggregate/AggregationsResults.d.ts.map +0 -1
  580. package/build/esm/aggregate/WhereClause.d.ts +0 -79
  581. package/build/esm/aggregate/WhereClause.d.ts.map +0 -1
  582. package/build/esm/definitions/LinkDefinitions.d.ts +0 -21
  583. package/build/esm/definitions/LinkDefinitions.d.ts.map +0 -1
  584. package/build/esm/definitions/LinkDefinitions.test.d.ts +0 -2
  585. package/build/esm/definitions/LinkDefinitions.test.d.ts.map +0 -1
  586. package/build/esm/experimental/Experiment.d.ts +0 -8
  587. package/build/esm/experimental/Experiment.d.ts.map +0 -1
  588. package/build/esm/experimental/getBulkLinks.d.ts.map +0 -1
  589. package/build/esm/experimental/preexistingObjectSet.d.ts +0 -10
  590. package/build/esm/experimental/preexistingObjectSet.d.ts.map +0 -1
  591. package/build/esm/experimental/preexistingObjectSet.js +0 -21
  592. package/build/esm/experimental/preexistingObjectSet.js.map +0 -1
  593. package/build/esm/experimental/subscribe.d.ts +0 -12
  594. package/build/esm/experimental/subscribe.d.ts.map +0 -1
  595. package/build/esm/experimental/subscribe.js.map +0 -1
  596. package/build/esm/groupby/GroupByClause.d.ts +0 -73
  597. package/build/esm/groupby/GroupByClause.d.ts.map +0 -1
  598. package/build/esm/groupby/GroupByClause.test.d.ts +0 -24
  599. package/build/esm/groupby/GroupByClause.test.d.ts.map +0 -1
  600. package/build/esm/groupby/GroupByMapper.d.ts +0 -14
  601. package/build/esm/groupby/GroupByMapper.d.ts.map +0 -1
  602. package/build/esm/index.d.ts +0 -42
  603. package/build/esm/index.d.ts.map +0 -1
  604. package/build/esm/junk.test.d.ts +0 -2
  605. package/build/esm/junk.test.d.ts.map +0 -1
  606. package/build/esm/mapping/DataValueMapping.d.ts +0 -71
  607. package/build/esm/mapping/DataValueMapping.d.ts.map +0 -1
  608. package/build/esm/mapping/DurationMapping.d.ts +0 -23
  609. package/build/esm/mapping/DurationMapping.d.ts.map +0 -1
  610. package/build/esm/mapping/PropertyValueMapping.d.ts +0 -49
  611. package/build/esm/mapping/PropertyValueMapping.d.ts.map +0 -1
  612. package/build/esm/object/Attachment.d.ts +0 -25
  613. package/build/esm/object/Attachment.d.ts.map +0 -1
  614. package/build/esm/object/FetchPageArgs.d.ts +0 -27
  615. package/build/esm/object/FetchPageArgs.d.ts.map +0 -1
  616. package/build/esm/object/FetchPageResult.d.ts +0 -20
  617. package/build/esm/object/FetchPageResult.d.ts.map +0 -1
  618. package/build/esm/object/ObjectDefinitions.test.d.ts +0 -2
  619. package/build/esm/object/ObjectDefinitions.test.d.ts.map +0 -1
  620. package/build/esm/object/Result.d.ts +0 -22
  621. package/build/esm/object/Result.d.ts.map +0 -1
  622. package/build/esm/objectSet/BaseObjectSet.d.ts.map +0 -1
  623. package/build/esm/objectSet/BulkLinkResult.d.ts +0 -8
  624. package/build/esm/objectSet/BulkLinkResult.d.ts.map +0 -1
  625. package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +0 -27
  626. package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +0 -1
  627. package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +0 -1
  628. package/build/esm/objectSet/ObjectSet.d.ts +0 -142
  629. package/build/esm/objectSet/ObjectSet.d.ts.map +0 -1
  630. package/build/esm/ontology/ActionDefinition.d.ts +0 -46
  631. package/build/esm/ontology/ActionDefinition.d.ts.map +0 -1
  632. package/build/esm/ontology/InterfaceDefinition.d.ts +0 -12
  633. package/build/esm/ontology/InterfaceDefinition.d.ts.map +0 -1
  634. package/build/esm/ontology/ObjectOrInterface.d.ts +0 -5
  635. package/build/esm/ontology/ObjectOrInterface.d.ts.map +0 -1
  636. package/build/esm/ontology/ObjectTypeDefinition.d.ts +0 -83
  637. package/build/esm/ontology/ObjectTypeDefinition.d.ts.map +0 -1
  638. package/build/esm/ontology/OntologyMetadata.d.ts +0 -7
  639. package/build/esm/ontology/OntologyMetadata.d.ts.map +0 -1
  640. package/build/esm/ontology/PrimaryKeyTypes.d.ts +0 -2
  641. package/build/esm/ontology/PrimaryKeyTypes.d.ts.map +0 -1
  642. package/build/esm/ontology/QueryDefinition.d.ts +0 -68
  643. package/build/esm/ontology/QueryDefinition.d.ts.map +0 -1
  644. package/build/esm/ontology/VersionString.d.ts +0 -2
  645. package/build/esm/ontology/VersionString.d.ts.map +0 -1
  646. package/build/esm/ontology/WirePropertyTypes.d.ts +0 -2
  647. package/build/esm/ontology/WirePropertyTypes.d.ts.map +0 -1
  648. package/build/esm/public/unstable.d.ts +0 -8
  649. package/build/esm/public/unstable.d.ts.map +0 -1
  650. package/build/esm/queries/Queries.d.ts +0 -40
  651. package/build/esm/queries/Queries.d.ts.map +0 -1
  652. package/build/esm/timeseries/timeseries.d.ts +0 -125
  653. package/build/esm/timeseries/timeseries.d.ts.map +0 -1
  654. package/build/esm/util/LinkUtils.d.ts +0 -5
  655. package/build/esm/util/LinkUtils.d.ts.map +0 -1
@@ -0,0 +1,155 @@
1
+ /*
2
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import { describe, expectTypeOf, it, test, vi } from "vitest";
18
+ const Employee = {
19
+ type: "object",
20
+ apiName: "Employee"
21
+ };
22
+ describe("ObjectSet", () => {
23
+ const fauxObjectSet = {
24
+ where: vi.fn(() => {
25
+ return fauxObjectSet;
26
+ }),
27
+ withProperties: vi.fn(() => {
28
+ return fauxObjectSet;
29
+ }),
30
+ fetchPage: vi.fn(() => Promise.resolve()),
31
+ asyncIter: vi.fn(() => {
32
+ return {};
33
+ })
34
+ };
35
+ describe("normal", () => {
36
+ test("select none", async () => {
37
+ await fauxObjectSet.fetchPage();
38
+ expectTypeOf().toEqualTypeOf();
39
+ });
40
+ test("select one", async () => {
41
+ await fauxObjectSet.fetchPage({
42
+ "$select": ["fullName"]
43
+ });
44
+ expectTypeOf().toEqualTypeOf();
45
+ });
46
+ });
47
+ describe(".withProperties", () => {
48
+ test("single property", async () => {
49
+ const withA = fauxObjectSet.withProperties({
50
+ "a": base => {
51
+ return base.pivotTo("lead").aggregate("class:exactDistinct");
52
+ }
53
+ });
54
+ expectTypeOf(withA).toEqualTypeOf();
55
+ await withA.fetchPage();
56
+ expectTypeOf().toEqualTypeOf();
57
+ expectTypeOf().toEqualTypeOf();
58
+ });
59
+ test("multiple properties", async () => {
60
+ const withFamily = fauxObjectSet.withProperties({
61
+ "mom": base => base.pivotTo("lead").aggregate("$count"),
62
+ "dad": base => base.pivotTo("lead").selectProperty("fullName"),
63
+ "sister": base => base.pivotTo("lead").aggregate("class:collectList")
64
+ });
65
+ expectTypeOf(withFamily).toEqualTypeOf();
66
+ await withFamily.fetchPage();
67
+ expectTypeOf().toEqualTypeOf();
68
+ expectTypeOf().toEqualTypeOf();
69
+ expectTypeOf().toEqualTypeOf();
70
+ expectTypeOf().toEqualTypeOf();
71
+ });
72
+ describe("called in succession", () => {
73
+ test("independently", () => {
74
+ const withMom = fauxObjectSet.withProperties({
75
+ "mom": base => base.pivotTo("lead").aggregate("$count")
76
+ });
77
+ const withParents = withMom.withProperties({
78
+ "dad": base => base.pivotTo("lead").selectProperty("fullName")
79
+ });
80
+ expectTypeOf(withParents).toEqualTypeOf();
81
+ });
82
+ test.todo("with calculated properties");
83
+ });
84
+ describe("fetch functions return correct Osdk.Instance", () => {
85
+ const withFamily = fauxObjectSet.withProperties({
86
+ "mom": base => base.pivotTo("lead").aggregate("$count"),
87
+ "dad": base => base.pivotTo("lead").selectProperty("fullName"),
88
+ "sister": base => base.pivotTo("lead").aggregate("class:collectList")
89
+ });
90
+ it("works with .where", async () => {
91
+ const where = withFamily.where({
92
+ "mom": 1
93
+ });
94
+ await where.fetchPage();
95
+ expectTypeOf().toEqualTypeOf();
96
+ expectTypeOf().toEqualTypeOf();
97
+ });
98
+ it("works with .async", () => {
99
+ withFamily.asyncIter();
100
+ expectTypeOf().toEqualTypeOf();
101
+ });
102
+ it("Works with no select", async () => {
103
+ await withFamily.fetchPage();
104
+ expectTypeOf().toEqualTypeOf();
105
+ });
106
+ it("Works with selecting all RDPs", async () => {
107
+ await withFamily.fetchPage({
108
+ $select: ["mom", "dad", "sister"]
109
+ });
110
+ expectTypeOf().toEqualTypeOf();
111
+ expectTypeOf().toEqualTypeOf();
112
+ });
113
+ it("Works with selecting some RDPs", async () => {
114
+ await withFamily.fetchPage({
115
+ $select: ["mom"]
116
+ });
117
+ expectTypeOf().toEqualTypeOf();
118
+ });
119
+ it("Works with selecting all non-RDP's", async () => {
120
+ await withFamily.fetchPage({
121
+ $select: ["class", "fullName"]
122
+ });
123
+ expectTypeOf().toEqualTypeOf();
124
+ expectTypeOf().toEqualTypeOf();
125
+ });
126
+ it("Works with selecting some non-RDP's", async () => {
127
+ await withFamily.fetchPage({
128
+ $select: ["class"]
129
+ });
130
+ expectTypeOf().toEqualTypeOf();
131
+ });
132
+ it("Works with selecting a mix", async () => {
133
+ await withFamily.fetchPage({
134
+ $select: ["class", "mom"]
135
+ });
136
+ expectTypeOf().toEqualTypeOf();
137
+ });
138
+ });
139
+ it("allows extracting the type", () => {
140
+ fauxObjectSet.withProperties({
141
+ "mom": base => base.pivotTo("lead").aggregate("$count")
142
+ });
143
+ expectTypeOf().toEqualTypeOf();
144
+ fauxObjectSet.withProperties({
145
+ "mom": base => base.pivotTo("lead").aggregate("$count")
146
+ });
147
+ });
148
+ it("Defining the Type", () => {
149
+ fauxObjectSet.withProperties({
150
+ "mom": base => base.pivotTo("lead").aggregate("$count")
151
+ });
152
+ });
153
+ });
154
+ });
155
+ //# sourceMappingURL=ObjectSet.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObjectSet.test.js","names":["describe","expectTypeOf","it","test","vi","Employee","type","apiName","fauxObjectSet","where","fn","withProperties","fetchPage","Promise","resolve","asyncIter","toEqualTypeOf","withA","base","pivotTo","aggregate","withFamily","selectProperty","withMom","withParents","todo","$select"],"sources":["ObjectSet.test.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { describe, expectTypeOf, it, test, vi } from \"vitest\";\n\nimport type {\n ObjectMetadata as $ObjectMetadata,\n ObjectSet as $ObjectSet,\n ObjectTypeDefinition as $ObjectTypeDefinition,\n Osdk,\n PropertyDef as $PropertyDef,\n PropertyKeys,\n PropertyValueWireToClient as $PropType,\n SingleLinkAccessor as $SingleLinkAccessor,\n} from \"../index.js\";\n\nnamespace Employee {\n export type PropertyKeys =\n | \"fullName\"\n | \"class\";\n\n export interface Links {\n readonly lead: $SingleLinkAccessor<Employee>;\n readonly peeps: Employee.ObjectSet;\n }\n\n export interface Props {\n readonly class: $PropType[\"string\"] | undefined;\n readonly fullName: $PropType[\"string\"] | undefined;\n }\n export type StrictProps = Props;\n\n export interface ObjectSet extends $ObjectSet<Employee, Employee.ObjectSet> {}\n}\n\ninterface Employee extends $ObjectTypeDefinition {\n type: \"object\";\n apiName: \"Employee\";\n __DefinitionMetadata?: {\n objectSet: Employee.ObjectSet;\n props: Employee.Props;\n linksType: Employee.Links;\n strictProps: Employee.StrictProps;\n apiName: \"Employee\";\n description: \"A full-time or part-time \\n\\n employee of our firm\";\n displayName: \"Employee\";\n icon: {\n type: \"blueprint\";\n color: \"blue\";\n name: \"person\";\n };\n implements: [\"FooInterface\"];\n interfaceMap: {\n FooInterface: {\n fooSpt: \"fullName\";\n };\n };\n inverseInterfaceMap: {\n FooInterface: {\n fullName: \"fooSpt\";\n };\n };\n links: {\n lead: $ObjectMetadata.Link<Employee, false>;\n peeps: $ObjectMetadata.Link<Employee, true>;\n };\n pluralDisplayName: \"Employees\";\n primaryKeyApiName: \"employeeId\";\n primaryKeyType: \"integer\";\n properties: {\n class: $PropertyDef<\"string\", \"nullable\", \"single\">;\n fullName: $PropertyDef<\"string\", \"nullable\", \"single\">;\n };\n rid: \"ri.ontology.main.object-type.401ac022-89eb-4591-8b7e-0a912b9efb44\";\n status: \"ACTIVE\";\n titleProperty: \"fullName\";\n type: \"object\";\n visibility: \"NORMAL\";\n };\n}\n\nconst Employee: Employee = {\n type: \"object\",\n apiName: \"Employee\",\n};\n\ndescribe(\"ObjectSet\", () => {\n const fauxObjectSet = {\n where: vi.fn(() => {\n return fauxObjectSet;\n }),\n withProperties: vi.fn(() => {\n return fauxObjectSet;\n }),\n fetchPage: vi.fn(() => Promise.resolve()),\n asyncIter: vi.fn(() => {\n return {};\n }),\n } as any as Employee.ObjectSet;\n\n describe(\"normal\", () => {\n test(\"select none\", async () => {\n const result = await fauxObjectSet.fetchPage();\n expectTypeOf<typeof result.data[0]>().toEqualTypeOf<\n Osdk.Instance<Employee, never>\n >();\n });\n\n test(\"select one\", async () => {\n const result = await fauxObjectSet.fetchPage({ \"$select\": [\"fullName\"] });\n expectTypeOf<typeof result.data[0]>().toEqualTypeOf<\n Osdk.Instance<Employee, never, \"fullName\">\n >();\n });\n });\n\n describe(\".withProperties\", () => {\n test(\"single property\", async () => {\n const withA = fauxObjectSet.withProperties({\n \"a\": (base) => {\n return base.pivotTo(\"lead\").aggregate(\"class:exactDistinct\");\n },\n });\n\n expectTypeOf(withA).toEqualTypeOf<\n $ObjectSet<Employee, {\n a: \"integer\" | undefined;\n }>\n >();\n\n const withAResults = await withA.fetchPage();\n\n expectTypeOf<typeof withAResults[\"data\"][0]>().toEqualTypeOf<\n Osdk.Instance<Employee, never, PropertyKeys<Employee>, {\n a: \"integer\" | undefined;\n }>\n >();\n\n expectTypeOf<typeof withAResults[\"data\"][0][\"a\"]>()\n .toEqualTypeOf<number | undefined>();\n });\n\n test(\"multiple properties\", async () => {\n const withFamily = fauxObjectSet.withProperties({\n \"mom\": (base) => base.pivotTo(\"lead\").aggregate(\"$count\"),\n \"dad\": (base) => base.pivotTo(\"lead\").selectProperty(\"fullName\"),\n \"sister\": (base) => base.pivotTo(\"lead\").aggregate(\"class:collectList\"),\n });\n expectTypeOf(withFamily).toEqualTypeOf<\n $ObjectSet<Employee, {\n mom: \"integer\" | undefined;\n dad: \"string\" | undefined;\n sister: \"string\"[] | undefined;\n }>\n >();\n\n const withFamilyResults = await withFamily.fetchPage();\n\n expectTypeOf<typeof withFamilyResults[\"data\"][0]>().toEqualTypeOf<\n Osdk.Instance<Employee, never, PropertyKeys<Employee>, {\n mom: \"integer\" | undefined;\n dad: \"string\" | undefined;\n sister: \"string\"[] | undefined;\n }>\n >();\n\n expectTypeOf<typeof withFamilyResults[\"data\"][0][\"mom\"]>()\n .toEqualTypeOf<number | undefined>();\n expectTypeOf<typeof withFamilyResults[\"data\"][0][\"dad\"]>()\n .toEqualTypeOf<string | undefined>();\n expectTypeOf<typeof withFamilyResults[\"data\"][0][\"sister\"]>()\n .toEqualTypeOf<string[] | undefined>();\n });\n\n describe(\"called in succession\", () => {\n test(\"independently\", () => {\n const withMom = fauxObjectSet.withProperties({\n \"mom\": (base) => base.pivotTo(\"lead\").aggregate(\"$count\"),\n });\n\n const withParents = withMom.withProperties({\n \"dad\": (base) => base.pivotTo(\"lead\").selectProperty(\"fullName\"),\n });\n\n expectTypeOf(withParents).toEqualTypeOf<\n $ObjectSet<Employee, {\n mom: \"integer\" | undefined;\n dad: \"string\" | undefined;\n }>\n >();\n });\n\n test.todo(\"with calculated properties\");\n });\n\n describe(\"fetch functions return correct Osdk.Instance\", () => {\n const withFamily = fauxObjectSet.withProperties({\n \"mom\": (base) => base.pivotTo(\"lead\").aggregate(\"$count\"),\n \"dad\": (base) => base.pivotTo(\"lead\").selectProperty(\"fullName\"),\n \"sister\": (base) => base.pivotTo(\"lead\").aggregate(\"class:collectList\"),\n });\n\n it(\"works with .where\", async () => {\n const where = withFamily.where({ \"mom\": 1 });\n const whereResults = await where.fetchPage();\n\n expectTypeOf<typeof where>().toEqualTypeOf<typeof withFamily>();\n expectTypeOf<typeof whereResults[\"data\"][0]>()\n .toEqualTypeOf<\n Osdk.Instance<Employee, never, PropertyKeys<Employee>, {\n mom: \"integer\" | undefined;\n dad: \"string\" | undefined;\n sister: \"string\"[] | undefined;\n }>\n >();\n });\n\n it(\"works with .async\", () => {\n const asyncIter = withFamily.asyncIter();\n expectTypeOf<typeof asyncIter>().toEqualTypeOf<\n AsyncIterableIterator<\n Osdk.Instance<Employee, never, PropertyKeys<Employee>, {\n mom: \"integer\" | undefined;\n dad: \"string\" | undefined;\n sister: \"string\"[] | undefined;\n }>\n >\n >();\n });\n\n it(\"Works with no select\", async () => {\n const withFamilyResults = await withFamily.fetchPage();\n\n expectTypeOf<typeof withFamilyResults[\"data\"][0]>()\n .toEqualTypeOf<\n Osdk.Instance<Employee, never, PropertyKeys<Employee>, {\n mom: \"integer\" | undefined;\n dad: \"string\" | undefined;\n sister: \"string\"[] | undefined;\n }>\n >();\n });\n\n it(\"Works with selecting all RDPs\", async () => {\n const withFamilyResults = await withFamily.fetchPage({\n $select: [\"mom\", \"dad\", \"sister\"],\n });\n\n expectTypeOf<typeof withFamilyResults[\"data\"][0]>()\n .toEqualTypeOf<\n Osdk.Instance<Employee, never, never, {\n mom: \"integer\" | undefined;\n dad: \"string\" | undefined;\n sister: \"string\"[] | undefined;\n }>\n >();\n\n expectTypeOf<typeof withFamilyResults[\"data\"][0][\"mom\"]>()\n .toEqualTypeOf<number | undefined>();\n });\n\n it(\"Works with selecting some RDPs\", async () => {\n const withFamilyResults = await withFamily.fetchPage({\n $select: [\"mom\"],\n });\n\n expectTypeOf<typeof withFamilyResults[\"data\"][0]>()\n .toEqualTypeOf<\n Osdk.Instance<Employee, never, never, {\n mom: \"integer\" | undefined;\n }>\n >();\n });\n\n it(\"Works with selecting all non-RDP's\", async () => {\n const withFamilyResults = await withFamily.fetchPage({\n $select: [\"class\", \"fullName\"],\n });\n\n expectTypeOf<typeof withFamilyResults[\"data\"][0]>()\n .toEqualTypeOf<\n Osdk.Instance<Employee, never, PropertyKeys<Employee>, {}>\n >();\n expectTypeOf<typeof withFamilyResults[\"data\"][0][\"class\"]>()\n .toEqualTypeOf<\n string | undefined\n >();\n });\n\n it(\"Works with selecting some non-RDP's\", async () => {\n const withFamilyResults = await withFamily.fetchPage({\n $select: [\"class\"],\n });\n\n expectTypeOf<typeof withFamilyResults[\"data\"][0]>()\n .toEqualTypeOf<\n Osdk.Instance<Employee, never, \"class\", {}>\n >();\n });\n\n it(\"Works with selecting a mix\", async () => {\n const withFamilyResults = await withFamily.fetchPage({\n $select: [\"class\", \"mom\"],\n });\n\n expectTypeOf<typeof withFamilyResults[\"data\"][0]>()\n .toEqualTypeOf<\n Osdk.Instance<\n Employee,\n never,\n \"class\",\n { mom: \"integer\" | undefined }\n >\n >();\n });\n });\n\n it(\"allows extracting the type\", () => {\n const objectSet = fauxObjectSet.withProperties({\n \"mom\": (base) => base.pivotTo(\"lead\").aggregate(\"$count\"),\n });\n\n type ObjectSetType = typeof objectSet;\n\n expectTypeOf<ObjectSetType>().toEqualTypeOf<\n $ObjectSet<Employee, {\n mom: \"integer\" | undefined;\n }>\n >();\n\n const objectSet2 = fauxObjectSet.withProperties({\n \"mom\": (base) => base.pivotTo(\"lead\").aggregate(\"$count\"),\n }) satisfies ObjectSetType;\n });\n\n it(\"Defining the Type\", () => {\n type ObjectSetType = $ObjectSet<\n Employee,\n {\n mom: \"integer\" | undefined;\n }\n >;\n\n fauxObjectSet.withProperties({\n \"mom\": (base) => base.pivotTo(\"lead\").aggregate(\"$count\"),\n }) satisfies ObjectSetType;\n });\n });\n});\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export let ObjectSetSubscription;
17
+ //# sourceMappingURL=ObjectSetListener.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObjectSetListener.js","names":["ObjectSetSubscription"],"sources":["ObjectSetListener.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 ObjectOrInterfaceDefinition,\n PropertyKeys,\n} from \"../ontology/ObjectOrInterface.js\";\nimport type { Osdk } from \"../OsdkObjectFrom.js\";\n\nexport namespace ObjectSetSubscription {\n export interface Listener<\n O extends ObjectOrInterfaceDefinition,\n P extends PropertyKeys<O> = PropertyKeys<O>,\n > {\n /**\n * Specific objects have changed and can be immediately updated\n */\n onChange?: (\n objectUpdate: ObjectUpdate<O, P>,\n ) => void;\n\n /**\n * The subscription has been successfully established and updates can be expected to be received.\n */\n onSuccessfulSubscription?: () => void;\n\n /**\n * The ObjectSet has become outdated and should be re-fetched in its entirety.\n * This is also sent when the subscription is first initialized.\n */\n onOutOfDate?: () => void;\n\n /**\n * There was a fatal error with the subscription process. The subscription will close or will not be established.\n */\n onError?: (errors: { subscriptionClosed: boolean; error: any }) => void;\n }\n\n /**\n * Options for subscribing to an ObjectSet.\n *\n * properties - The properties to request a subscription for. Requesting specific properties limits the possible properties\n * that can be returned from the subscription. If not provided, all properties will be requested and potentially be returned on updates.\n */\n export interface Options<\n O extends ObjectOrInterfaceDefinition,\n P extends PropertyKeys<O> = PropertyKeys<O>,\n > {\n properties?: Array<P>;\n }\n}\n\ntype ObjectUpdate<\n O extends ObjectOrInterfaceDefinition,\n P extends PropertyKeys<O>,\n> = {\n object: Osdk.Instance<O, never, P>;\n state: \"ADDED_OR_UPDATED\" | \"REMOVED\";\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAsBiBA,qBAAqB","ignoreList":[]}
@@ -13,5 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export {};
16
+ export let ActionMetadata;
17
17
  //# sourceMappingURL=ActionDefinition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionDefinition.js","names":[],"sources":["ActionDefinition.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"file":"ActionDefinition.js","names":["ActionMetadata"],"sources":["ActionDefinition.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OsdkMetadata } from \"../OsdkMetadata.js\";\nimport type { InterfaceDefinition } from \"./InterfaceDefinition.js\";\nimport type {\n ObjectTypeDefinition,\n ReleaseStatus,\n} from \"./ObjectTypeDefinition.js\";\n\nexport interface ActionMetadata {\n type: \"action\";\n apiName: string;\n description?: string;\n displayName?: string;\n parameters: Record<any, ActionMetadata.Parameter<any>>;\n modifiedEntities?: Partial<\n Record<any, {\n created: boolean;\n modified: boolean;\n }>\n >;\n status: ReleaseStatus;\n rid: string;\n}\n\nexport namespace ActionMetadata {\n export interface Parameter<\n T_Target extends ObjectTypeDefinition = never,\n > {\n type:\n | DataType.BaseActionParameterTypes\n | DataType.Object<any>\n | DataType.ObjectSet<any>\n | DataType.Interface<any>\n | DataType.Struct<any>;\n description?: string;\n multiplicity?: boolean;\n nullable?: boolean;\n }\n\n export namespace DataType {\n export type BaseActionParameterTypes =\n | \"boolean\"\n | \"string\"\n | \"integer\"\n | \"long\"\n | \"double\"\n | \"datetime\"\n | \"timestamp\"\n | \"attachment\"\n | \"marking\"\n | \"mediaReference\"\n | \"objectType\";\n\n export interface Object<\n T_Target extends ObjectTypeDefinition = never,\n > {\n __OsdkTargetType?: T_Target;\n type: \"object\";\n object: T_Target[\"apiName\"];\n }\n\n export interface Interface<T_Target extends InterfaceDefinition = never> {\n __OsdkTargetType?: T_Target;\n type: \"interface\";\n interface: T_Target[\"apiName\"];\n }\n\n export interface ObjectSet<\n T_Target extends ObjectTypeDefinition = never,\n > {\n __OsdkTargetType?: T_Target;\n type: \"objectSet\";\n objectSet: T_Target[\"apiName\"];\n }\n\n export interface Struct<\n T extends Record<string, DataType.BaseActionParameterTypes>,\n > {\n type: \"struct\";\n struct: T;\n }\n }\n}\n\nexport interface ActionCompileTimeMetadata<T> {\n signatures: T;\n}\n\nexport interface ActionDefinition<\n T_signatures = never,\n> {\n type: \"action\";\n apiName: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?:\n & ActionCompileTimeMetadata<T_signatures>\n & ActionMetadata;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAuCiBA,cAAc","ignoreList":[]}
@@ -1,17 +1,2 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
1
  export {};
17
2
  //# sourceMappingURL=InterfaceDefinition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InterfaceDefinition.js","names":[],"sources":["InterfaceDefinition.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"file":"InterfaceDefinition.js","names":[],"sources":["InterfaceDefinition.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 {\n ObjectInterfaceBaseMetadata,\n ObjectInterfaceCompileDefinition,\n} from \"./ObjectTypeDefinition.js\";\n\nexport interface InterfaceMetadata extends ObjectInterfaceBaseMetadata {\n type: \"interface\";\n implementedBy?: ReadonlyArray<string>;\n}\n\nexport interface InterfaceDefinition {\n type: \"interface\";\n apiName: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?:\n & InterfaceMetadata\n & ObjectInterfaceCompileDefinition;\n}\n"],"mappings":"","ignoreList":[]}
@@ -13,5 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export {};
16
+ export let DerivedObjectOrInterfaceDefinition;
17
17
  //# sourceMappingURL=ObjectOrInterface.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectOrInterface.js","names":[],"sources":["ObjectOrInterface.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"file":"ObjectOrInterface.js","names":["DerivedObjectOrInterfaceDefinition"],"sources":["ObjectOrInterface.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 { InterfaceDefinition } from \"./InterfaceDefinition.js\";\nimport type { ObjectTypeDefinition } from \"./ObjectTypeDefinition.js\";\nimport type { SimplePropertyDef } from \"./SimplePropertyDef.js\";\n\nexport type ObjectOrInterfaceDefinition =\n | ObjectTypeDefinition\n | InterfaceDefinition;\n\nexport namespace DerivedObjectOrInterfaceDefinition {\n export type WithDerivedProperties<\n K extends ObjectOrInterfaceDefinition,\n D extends Record<string, SimplePropertyDef>,\n > = {\n __DefinitionMetadata: {\n properties: {\n [T in keyof D]: SimplePropertyDef.ToPropertyDef<D[T]>;\n };\n props: {\n [T in keyof D]: SimplePropertyDef.ToRuntimeProperty<D[T]>;\n };\n };\n } & K;\n}\n\nexport type PropertyKeys<\n O extends ObjectOrInterfaceDefinition,\n RDPs extends Record<string, SimplePropertyDef> = {},\n> =\n & (keyof NonNullable<O[\"__DefinitionMetadata\"]>[\"properties\"] | keyof RDPs)\n & string;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAwBiBA,kCAAkC","ignoreList":[]}
@@ -13,5 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export {};
16
+ export let ObjectMetadata;
17
17
  //# sourceMappingURL=ObjectTypeDefinition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectTypeDefinition.js","names":[],"sources":["ObjectTypeDefinition.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"file":"ObjectTypeDefinition.js","names":["ObjectMetadata"],"sources":["ObjectTypeDefinition.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 {\n ObjectOrInterfaceDefinition,\n PropertyKeys,\n} from \"./ObjectOrInterface.js\";\nimport type { PrimaryKeyTypes } from \"./PrimaryKeyTypes.js\";\nimport type { VersionString } from \"./VersionString.js\";\nimport type { WirePropertyTypes } from \"./WirePropertyTypes.js\";\n\nexport type CompileTimeMetadata<T extends { __DefinitionMetadata?: {} }> =\n NonNullable<\n T[\"__DefinitionMetadata\"]\n >;\n\nexport type ObjectTypePropertyDefinitionFrom2<\n Q extends ObjectOrInterfaceDefinition,\n P extends PropertyKeys<Q>,\n> = CompileTimeMetadata<Q>[\"properties\"][P];\n\nexport type ObjectInterfaceBaseMetadata = {\n type: \"object\" | \"interface\";\n apiName: string;\n displayName: string;\n description?: string;\n properties: Record<any, ObjectMetadata.Property>;\n links: Record<\n string,\n ObjectMetadata.Link<any, any>\n >;\n rid: string;\n /**\n * Represents the \"super interfaces\" of this object.\n *\n * Optional because they may not exist on legacy.\n */\n implements?: ReadonlyArray<string>;\n};\n\nexport interface ObjectInterfaceCompileDefinition {\n type: \"object\" | \"interface\";\n objectSet?: any;\n props?: any;\n strictProps?: any;\n linksType?: any;\n}\n\nexport interface VersionBound<V extends VersionString<any, any, any>> {\n __expectedClientVersion?: V;\n}\n\nexport interface ObjectMetadata extends ObjectInterfaceBaseMetadata {\n type: \"object\";\n primaryKeyApiName: keyof this[\"properties\"];\n titleProperty: keyof this[\"properties\"];\n primaryKeyType: PrimaryKeyTypes;\n icon?: Icon;\n visibility?: ObjectTypeVisibility;\n pluralDisplayName: string;\n status: ReleaseStatus;\n interfaceMap: Record<\n /* InterfaceType api name */ string,\n Record<\n /* InterfaceType property api name */ string,\n /* ObjectType property api name */ string\n >\n >;\n inverseInterfaceMap: Record<\n /* InterfaceType api name */ string,\n Record<\n /* ObjectType property api name */ string,\n /* InterfaceType property api name */ string\n >\n >;\n}\n\nexport namespace ObjectMetadata {\n export interface Property {\n readonly?: boolean;\n displayName?: string;\n description?: string;\n type: WirePropertyTypes;\n multiplicity?: boolean;\n nullable?: boolean;\n }\n\n export interface Link<\n Q extends ObjectTypeDefinition,\n M extends boolean,\n > {\n __OsdkLinkTargetType?: Q;\n targetType: Q[\"apiName\"];\n multiplicity: M;\n }\n}\n\nexport interface ObjectTypeDefinition {\n type: \"object\";\n apiName: string;\n osdkMetadata?: OsdkMetadata;\n __DefinitionMetadata?:\n & ObjectMetadata\n & ObjectInterfaceCompileDefinition;\n}\n\nexport type ObjectTypeLinkKeysFrom2<\n Q extends ObjectTypeDefinition,\n> =\n & keyof CompileTimeMetadata<Q>[\"links\"]\n & string;\n\nexport interface PropertyDef<\n T extends WirePropertyTypes,\n N extends \"nullable\" | \"non-nullable\" = \"nullable\",\n M extends \"array\" | \"single\" = \"single\",\n> extends ObjectMetadata.Property {\n type: T;\n multiplicity: M extends \"array\" ? true : false;\n nullable: N extends \"nullable\" ? true : false;\n}\n\nexport type ReleaseStatus = \"ACTIVE\" | \"EXPERIMENTAL\" | \"DEPRECATED\";\n\ntype ObjectTypeVisibility = \"NORMAL\" | \"PROMINENT\" | \"HIDDEN\";\n\ntype BlueprintIcon = {\n type: \"blueprint\";\n color: string;\n name: string;\n};\n\ntype Icon = BlueprintIcon;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WA2FiBA,cAAc","ignoreList":[]}
@@ -1,17 +1,2 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
1
  export {};
17
2
  //# sourceMappingURL=OntologyMetadata.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyMetadata.js","names":[],"sources":["OntologyMetadata.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"file":"OntologyMetadata.js","names":[],"sources":["OntologyMetadata.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface OntologyMetadata<_NEVER_USED_KEPT_FOR_BACKCOMPAT = any> {\n expectsClientVersion?: _NEVER_USED_KEPT_FOR_BACKCOMPAT;\n ontologyRid: string;\n ontologyApiName: string;\n userAgent: string;\n}\n"],"mappings":"","ignoreList":[]}
@@ -1,17 +1,2 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
1
  export {};
17
2
  //# sourceMappingURL=PrimaryKeyTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrimaryKeyTypes.js","names":[],"sources":["PrimaryKeyTypes.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"file":"PrimaryKeyTypes.js","names":[],"sources":["PrimaryKeyTypes.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type PrimaryKeyTypes =\n | \"string\"\n | \"datetime\"\n | \"double\"\n | \"boolean\"\n | \"integer\"\n | \"timestamp\"\n | \"short\"\n | \"long\"\n | \"byte\";\n"],"mappings":"","ignoreList":[]}
@@ -1,17 +1,2 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
1
  export {};
17
2
  //# sourceMappingURL=QueryDefinition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryDefinition.js","names":[],"sources":["QueryDefinition.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","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 { 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 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 ObjectTypeDefinition = any,\n> =\n | PrimitiveDataType\n | ObjectQueryDataType<T_Target>\n | ObjectSetQueryDataType<T_Target>\n | SetQueryDataType\n | UnionQueryDataType\n | StructQueryDataType\n | TwoDimensionalAggregationDataType\n | ThreeDimensionalAggregationDataType;\n\nexport type BaseQueryDataTypeDefinition<T extends string> = {\n multiplicity?: boolean;\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 ObjectTypeDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"object\"> {\n object: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface ObjectSetQueryDataType<\n T_Target extends ObjectTypeDefinition = never,\n> extends BaseQueryDataTypeDefinition<\"objectSet\"> {\n objectSet: string;\n __OsdkTargetType?: T_Target;\n}\n\nexport interface SetQueryDataType extends BaseQueryDataTypeDefinition<\"set\"> {\n set: QueryDataTypeDefinition;\n}\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 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":[]}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export let SimplePropertyDef;
17
+ //# sourceMappingURL=SimplePropertyDef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimplePropertyDef.js","names":["SimplePropertyDef"],"sources":["SimplePropertyDef.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 { GetClientPropertyValueFromWire } from \"../mapping/PropertyValueMapping.js\";\nimport type { ObjectMetadata, PropertyDef } from \"./ObjectTypeDefinition.js\";\nimport type { WirePropertyTypes } from \"./WirePropertyTypes.js\";\n\nexport type SimplePropertyDef =\n | WirePropertyTypes\n | undefined\n | Array<WirePropertyTypes>;\n\nexport namespace SimplePropertyDef {\n export type Make<\n T extends WirePropertyTypes,\n N extends boolean | undefined,\n M extends boolean | undefined,\n > =\n // while it is cleaner to just do this as the union of two conditionals, it\n // actually makes it so that it can't be derived inline which we want\n // to keep things simple so instead of :\n // | (P[\"multiplicity\"] extends true ? Array<P[\"type\"]> : P[\"type\"])\n // | (P[\"nullable\"] extends true ? undefined : never);\n // we do:\n M extends true ? N extends true ? Array<T> | undefined\n : Array<T>\n : N extends true ? T | undefined\n : T;\n\n export type FromPropertyMetadata<\n P extends ObjectMetadata.Property,\n > = Make<P[\"type\"], P[\"nullable\"], P[\"multiplicity\"]>;\n\n // exported for testing\n export type ExtractMultiplicity<\n T extends\n | WirePropertyTypes\n | undefined\n | Array<WirePropertyTypes>,\n > = NonNullable<T> extends Array<any> ? \"array\" : \"single\";\n\n // exported for testing\n export type ExtractWirePropertyType<\n T extends SimplePropertyDef,\n > = T extends Array<infer Z> ? NonNullable<Z> : NonNullable<T>;\n\n // exported for testing\n export type ExtractNullable<\n T extends SimplePropertyDef,\n > = [undefined] extends [T] ? \"nullable\"\n : [[undefined]] extends [T] ? \"nullable\"\n : \"non-nullable\";\n\n export type ToPropertyDef<S extends SimplePropertyDef> = PropertyDef<\n SimplePropertyDef.ExtractWirePropertyType<S>,\n SimplePropertyDef.ExtractNullable<S>,\n SimplePropertyDef.ExtractMultiplicity<S>\n >;\n\n export type ExtractRuntimeBaseType<S extends SimplePropertyDef> =\n GetClientPropertyValueFromWire<\n SimplePropertyDef.ExtractWirePropertyType<S>\n >;\n\n export type ToRuntimeProperty<S extends SimplePropertyDef> =\n ExtractMultiplicity<S> extends \"array\"\n ? ExtractNullable<S> extends \"nullable\"\n ? Array<ExtractRuntimeBaseType<S>> | undefined\n : Array<ExtractRuntimeBaseType<S>>\n : ExtractNullable<S> extends \"nullable\"\n ? ExtractRuntimeBaseType<S> | undefined\n : ExtractRuntimeBaseType<S>;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAyBiBA,iBAAiB","ignoreList":[]}
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import { describe, expectTypeOf, it, test } from "vitest";
18
+ describe("Type conversion", () => {
19
+ test("SimplePropertyDef.ExtractMultiplicity", () => {
20
+ expectTypeOf().toEqualTypeOf();
21
+ expectTypeOf().toEqualTypeOf();
22
+ expectTypeOf().toEqualTypeOf();
23
+ expectTypeOf().toEqualTypeOf();
24
+ });
25
+ test("SimplePropertyDef.ExtractNullable", () => {
26
+ expectTypeOf().toEqualTypeOf();
27
+ expectTypeOf().toEqualTypeOf();
28
+ expectTypeOf().toEqualTypeOf();
29
+ expectTypeOf().toEqualTypeOf();
30
+ });
31
+ test("SimplePropertyDef.ExtractWirePropertyType", () => {
32
+ expectTypeOf().toEqualTypeOf();
33
+ expectTypeOf().toEqualTypeOf();
34
+ expectTypeOf().toEqualTypeOf();
35
+ expectTypeOf().toEqualTypeOf();
36
+ });
37
+ it("SimplePropertyDef.FromPropertyMetadata", () => {
38
+ expectTypeOf().toEqualTypeOf();
39
+ expectTypeOf().toEqualTypeOf();
40
+ expectTypeOf().toEqualTypeOf();
41
+ expectTypeOf().toEqualTypeOf();
42
+ });
43
+ test(".ToRuntimeProperty", () => {
44
+ expectTypeOf().toEqualTypeOf();
45
+ expectTypeOf().toEqualTypeOf();
46
+ });
47
+ });
48
+ //# sourceMappingURL=SimplePropertyDef.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimplePropertyDef.test.js","names":["describe","expectTypeOf","it","test","toEqualTypeOf"],"sources":["SimplePropertyDef.test.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { describe, expectTypeOf, it, test } from \"vitest\";\nimport type { PropertyDef } from \"./ObjectTypeDefinition.js\";\nimport type { SimplePropertyDef } from \"./SimplePropertyDef.js\";\n\ndescribe(\"Type conversion\", () => {\n test(\"SimplePropertyDef.ExtractMultiplicity\", () => {\n expectTypeOf<SimplePropertyDef.ExtractMultiplicity<\"string\"[]>>()\n .toEqualTypeOf<\"array\">();\n expectTypeOf<\n SimplePropertyDef.ExtractMultiplicity<\"string\"[] | undefined>\n >()\n .toEqualTypeOf<\"array\">();\n\n expectTypeOf<SimplePropertyDef.ExtractMultiplicity<\"string\">>()\n .toEqualTypeOf<\"single\">();\n expectTypeOf<SimplePropertyDef.ExtractMultiplicity<\"string\" | undefined>>()\n .toEqualTypeOf<\"single\">();\n });\n\n test(\"SimplePropertyDef.ExtractNullable\", () => {\n expectTypeOf<SimplePropertyDef.ExtractNullable<\"string\"[]>>()\n .toEqualTypeOf<\"non-nullable\">();\n expectTypeOf<SimplePropertyDef.ExtractNullable<\"string\"[] | undefined>>()\n .toEqualTypeOf<\"nullable\">();\n expectTypeOf<SimplePropertyDef.ExtractNullable<\"string\">>()\n .toEqualTypeOf<\"non-nullable\">();\n expectTypeOf<SimplePropertyDef.ExtractNullable<\"string\" | undefined>>()\n .toEqualTypeOf<\"nullable\">();\n });\n\n test(\"SimplePropertyDef.ExtractWirePropertyType\", () => {\n expectTypeOf<SimplePropertyDef.ExtractWirePropertyType<\"string\"[]>>()\n .toEqualTypeOf<\"string\">();\n expectTypeOf<\n SimplePropertyDef.ExtractWirePropertyType<\"string\"[] | undefined>\n >()\n .toEqualTypeOf<\"string\">();\n expectTypeOf<SimplePropertyDef.ExtractWirePropertyType<\"string\">>()\n .toEqualTypeOf<\"string\">();\n expectTypeOf<\n SimplePropertyDef.ExtractWirePropertyType<\"string\" | undefined>\n >()\n .toEqualTypeOf<\"string\">();\n });\n\n it(\"SimplePropertyDef.FromPropertyMetadata\", () => {\n expectTypeOf<\n SimplePropertyDef.FromPropertyMetadata<\n PropertyDef<\"string\", \"nullable\", \"array\">\n >\n >()\n .toEqualTypeOf<\"string\"[] | undefined>();\n\n expectTypeOf<\n SimplePropertyDef.FromPropertyMetadata<\n PropertyDef<\"string\", \"non-nullable\", \"array\">\n >\n >()\n .toEqualTypeOf<\"string\"[]>();\n\n expectTypeOf<\n SimplePropertyDef.FromPropertyMetadata<\n PropertyDef<\"string\", \"non-nullable\", \"single\">\n >\n >()\n .toEqualTypeOf<\"string\">();\n\n expectTypeOf<\n SimplePropertyDef.FromPropertyMetadata<\n PropertyDef<\"string\", \"nullable\", \"single\">\n >\n >()\n .toEqualTypeOf<\"string\" | undefined>();\n });\n\n test(\".ToRuntimeProperty\", () => {\n expectTypeOf<SimplePropertyDef.ToRuntimeProperty<\"string\">>()\n .toEqualTypeOf<string>();\n\n expectTypeOf<SimplePropertyDef.ToRuntimeProperty<\"string\" | undefined>>()\n .toEqualTypeOf<string | undefined>();\n });\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,EAAEC,YAAY,EAAEC,EAAE,EAAEC,IAAI,QAAQ,QAAQ;AAIzDH,QAAQ,CAAC,iBAAiB,EAAE,MAAM;EAChCG,IAAI,CAAC,uCAAuC,EAAE,MAAM;IAClDF,YAAY,CAAoD,CAAC,CAC9DG,aAAa,CAAU,CAAC;IAC3BH,YAAY,CAEV,CAAC,CACAG,aAAa,CAAU,CAAC;IAE3BH,YAAY,CAAkD,CAAC,CAC5DG,aAAa,CAAW,CAAC;IAC5BH,YAAY,CAA8D,CAAC,CACxEG,aAAa,CAAW,CAAC;EAC9B,CAAC,CAAC;EAEFD,IAAI,CAAC,mCAAmC,EAAE,MAAM;IAC9CF,YAAY,CAAgD,CAAC,CAC1DG,aAAa,CAAiB,CAAC;IAClCH,YAAY,CAA4D,CAAC,CACtEG,aAAa,CAAa,CAAC;IAC9BH,YAAY,CAA8C,CAAC,CACxDG,aAAa,CAAiB,CAAC;IAClCH,YAAY,CAA0D,CAAC,CACpEG,aAAa,CAAa,CAAC;EAChC,CAAC,CAAC;EAEFD,IAAI,CAAC,2CAA2C,EAAE,MAAM;IACtDF,YAAY,CAAwD,CAAC,CAClEG,aAAa,CAAW,CAAC;IAC5BH,YAAY,CAEV,CAAC,CACAG,aAAa,CAAW,CAAC;IAC5BH,YAAY,CAAsD,CAAC,CAChEG,aAAa,CAAW,CAAC;IAC5BH,YAAY,CAEV,CAAC,CACAG,aAAa,CAAW,CAAC;EAC9B,CAAC,CAAC;EAEFF,EAAE,CAAC,wCAAwC,EAAE,MAAM;IACjDD,YAAY,CAIV,CAAC,CACAG,aAAa,CAAyB,CAAC;IAE1CH,YAAY,CAIV,CAAC,CACAG,aAAa,CAAa,CAAC;IAE9BH,YAAY,CAIV,CAAC,CACAG,aAAa,CAAW,CAAC;IAE5BH,YAAY,CAIV,CAAC,CACAG,aAAa,CAAuB,CAAC;EAC1C,CAAC,CAAC;EAEFD,IAAI,CAAC,oBAAoB,EAAE,MAAM;IAC/BF,YAAY,CAAgD,CAAC,CAC1DG,aAAa,CAAS,CAAC;IAE1BH,YAAY,CAA4D,CAAC,CACtEG,aAAa,CAAqB,CAAC;EACxC,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,17 +1,2 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
1
  export {};
17
2
  //# sourceMappingURL=VersionString.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VersionString.js","names":[],"sources":["VersionString.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"file":"VersionString.js","names":[],"sources":["VersionString.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\nexport type VersionString<\n Major extends number,\n Minor extends number,\n Patch extends number,\n> = `${Major}.${Minor}.${Patch}`;\n"],"mappings":"","ignoreList":[]}
@@ -1,17 +1,2 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
1
  export {};
17
2
  //# sourceMappingURL=WirePropertyTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WirePropertyTypes.js","names":[],"sources":["WirePropertyTypes.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"file":"WirePropertyTypes.js","names":[],"sources":["WirePropertyTypes.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type WirePropertyTypes =\n | BaseWirePropertyTypes\n | Record<string, BaseWirePropertyTypes>;\n\nexport type BaseWirePropertyTypes =\n | \"string\"\n | \"datetime\"\n | \"double\"\n | \"boolean\"\n | \"integer\"\n | \"timestamp\"\n | \"short\"\n | \"long\"\n | \"float\"\n | \"decimal\"\n | \"byte\"\n | \"marking\"\n | \"mediaReference\"\n | \"numericTimeseries\"\n | \"stringTimeseries\"\n | \"sensorTimeseries\"\n | \"attachment\"\n | \"geopoint\"\n | \"geoshape\"\n | \"geotimeSeriesReference\";\n"],"mappings":"","ignoreList":[]}
@@ -13,7 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+
17
+ export { __EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference } from "../experimental/createMediaReference.js";
18
+ export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
16
19
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
17
- export { __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet } from "../experimental/preexistingObjectSet.js";
18
- export { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from "../experimental/subscribe.js";
19
20
  //# sourceMappingURL=unstable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet","__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe"],"sources":["unstable.js"],"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 */\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet } from \"../experimental/preexistingObjectSet.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from \"../experimental/subscribe.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,+CAA+C,QAAQ,iCAAiC;AACjG,SAASC,uDAAuD,QAAQ,yCAAyC;AACjH,SAASC,2CAA2C,QAAQ,8BAA8B","ignoreList":[]}
1
+ {"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference","__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks"],"sources":["unstable.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\nexport type { Experiment, ExperimentFns } from \"../experimental/Experiment.js\";\n\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference } from \"../experimental/createMediaReference.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\n\nexport type { EXPERIMENTAL_BulkLinkResult } from \"../objectSet/BulkLinkResult.js\";\nexport type { MinimalObjectSet } from \"../objectSet/ObjectSet.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,uDAAuD,QAAQ,yCAAyC;AACjH,SAASC,gDAAgD,QAAQ,kCAAkC;AACnG,SAASC,+CAA+C,QAAQ,iCAAiC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Aggregations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Aggregations.js","names":[],"sources":["Aggregations.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"../mapping/DataValueMapping.js\";\nimport type {\n AggregationKeyTypes,\n AggregationRangeKeyTypes,\n AggregationValueTypes,\n} from \"../ontology/QueryDefinition.js\";\n\nexport type Range<T extends AllowedBucketTypes> = {\n startValue?: T;\n endValue: T;\n} | {\n startValue: T;\n endValue?: T;\n};\n\nexport type AllowedBucketTypes = string | number | boolean;\nexport type AllowedBucketKeyTypes =\n | AllowedBucketTypes\n | Range<AllowedBucketTypes>;\n\nexport type TwoDimensionalAggregation<\n T extends AllowedBucketKeyTypes,\n U extends AllowedBucketTypes,\n> = { key: T; value: U }[];\n\nexport type ThreeDimensionalAggregation<\n T extends AllowedBucketKeyTypes,\n U extends AllowedBucketKeyTypes,\n V extends AllowedBucketTypes,\n> = { key: T; groups: { key: U; value: V }[] }[];\n\nexport type AggKeyWireToClient<\n T extends AggregationKeyTypes,\n S extends AggregationRangeKeyTypes = never,\n> = T extends keyof DataValueWireToClient ? DataValueWireToClient[T]\n : T extends \"range\"\n ? S extends keyof DataValueWireToClient ? Range<DataValueWireToClient[S]>\n : never\n : never;\n\nexport type AggKeyClientToWire<\n T extends AggregationKeyTypes,\n S extends AggregationRangeKeyTypes = never,\n> = T extends keyof DataValueClientToWire ? DataValueClientToWire[T]\n : T extends \"range\"\n ? S extends keyof DataValueClientToWire ? Range<DataValueClientToWire[S]>\n : never\n : never;\n\nexport type AggValueWireToClient<T extends AggregationValueTypes> = T extends\n keyof DataValueWireToClient ? DataValueWireToClient[T] : never;\n\nexport type AggValueClientToWire<T extends AggregationValueTypes> = T extends\n keyof DataValueClientToWire ? DataValueClientToWire[T] : never;\n"],"mappings":"","ignoreList":[]}
@@ -13,5 +13,12 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export {};
16
+ /**
17
+ * Helper types for converting query definition parameter types to typescript types
18
+ */
19
+ export let QueryParam;
20
+ /**
21
+ * Helper types for converting query result types to typescript types
22
+ */
23
+ export let QueryResult;
17
24
  //# sourceMappingURL=Queries.js.map