@osdk/api 2.1.0-beta.22 → 2.1.0-beta.24

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 (572) hide show
  1. package/CHANGELOG.md +15 -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 +0 -15
  41. package/build/browser/aggregate/ArrayFilter.js.map +1 -1
  42. package/build/browser/aggregate/BaseFilter.js +4 -1
  43. package/build/browser/aggregate/BaseFilter.js.map +1 -1
  44. package/build/browser/aggregate/BooleanFilter.js +1 -1
  45. package/build/browser/aggregate/BooleanFilter.js.map +1 -1
  46. package/build/browser/aggregate/DatetimeFilter.js +1 -1
  47. package/build/browser/aggregate/DatetimeFilter.js.map +1 -1
  48. package/build/browser/aggregate/GeoFilter.js +1 -1
  49. package/build/browser/aggregate/GeoFilter.js.map +1 -1
  50. package/build/browser/aggregate/Just.js +0 -15
  51. package/build/browser/aggregate/Just.js.map +1 -1
  52. package/build/browser/aggregate/NumberFilter.js +1 -1
  53. package/build/browser/aggregate/NumberFilter.js.map +1 -1
  54. package/build/browser/aggregate/StringFilter.js +1 -1
  55. package/build/browser/aggregate/StringFilter.js.map +1 -1
  56. package/build/browser/aggregate/WhereClause.js +3 -0
  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/experimental/Experiment.js +0 -15
  63. package/build/browser/experimental/Experiment.js.map +1 -1
  64. package/build/browser/experimental/fetchOneByRid.js +1 -0
  65. package/build/browser/experimental/fetchOneByRid.js.map +1 -1
  66. package/build/browser/experimental/getBulkLinks.js +1 -0
  67. package/build/browser/experimental/getBulkLinks.js.map +1 -1
  68. package/build/browser/experimental/subscribe.js +1 -0
  69. package/build/browser/experimental/subscribe.js.map +1 -1
  70. package/build/browser/groupby/GroupByClause.js +1 -0
  71. package/build/browser/groupby/GroupByClause.js.map +1 -1
  72. package/build/browser/groupby/GroupByClause.test.js +1 -0
  73. package/build/browser/groupby/GroupByClause.test.js.map +1 -1
  74. package/build/browser/groupby/GroupByMapper.js +0 -15
  75. package/build/browser/groupby/GroupByMapper.js.map +1 -1
  76. package/build/browser/index.js +2 -0
  77. package/build/browser/index.js.map +1 -1
  78. package/build/browser/junk.test.js +1 -0
  79. package/build/browser/junk.test.js.map +1 -1
  80. package/build/browser/mapping/DataValueMapping.js +0 -15
  81. package/build/browser/mapping/DataValueMapping.js.map +1 -1
  82. package/build/browser/mapping/DurationMapping.js +1 -0
  83. package/build/browser/mapping/DurationMapping.js.map +1 -1
  84. package/build/browser/mapping/PropertyValueMapping.js +0 -15
  85. package/build/browser/mapping/PropertyValueMapping.js.map +1 -1
  86. package/build/browser/object/Attachment.js +0 -15
  87. package/build/browser/object/Attachment.js.map +1 -1
  88. package/build/browser/object/FetchPageArgs.js +1 -1
  89. package/build/browser/object/FetchPageArgs.js.map +1 -1
  90. package/build/browser/object/FetchPageResult.js +0 -15
  91. package/build/browser/object/FetchPageResult.js.map +1 -1
  92. package/build/browser/object/Media.js +2 -0
  93. package/build/browser/object/Media.js.map +1 -0
  94. package/build/browser/object/ObjectDefinitions.test.js +1 -0
  95. package/build/browser/object/ObjectDefinitions.test.js.map +1 -1
  96. package/build/browser/object/Result.js +2 -0
  97. package/build/browser/object/Result.js.map +1 -1
  98. package/build/browser/objectSet/BaseObjectSet.js +0 -15
  99. package/build/browser/objectSet/BaseObjectSet.js.map +1 -1
  100. package/build/browser/objectSet/BulkLinkResult.js +0 -15
  101. package/build/browser/objectSet/BulkLinkResult.js.map +1 -1
  102. package/build/browser/objectSet/ObjectSet.js +0 -15
  103. package/build/browser/objectSet/ObjectSet.js.map +1 -1
  104. package/build/browser/objectSet/ObjectSetListener.js +0 -15
  105. package/build/browser/objectSet/ObjectSetListener.js.map +1 -1
  106. package/build/browser/ontology/ActionDefinition.js +1 -1
  107. package/build/browser/ontology/ActionDefinition.js.map +1 -1
  108. package/build/browser/ontology/InterfaceDefinition.js +0 -15
  109. package/build/browser/ontology/InterfaceDefinition.js.map +1 -1
  110. package/build/browser/ontology/ObjectOrInterface.js +0 -15
  111. package/build/browser/ontology/ObjectOrInterface.js.map +1 -1
  112. package/build/browser/ontology/ObjectTypeDefinition.js +1 -1
  113. package/build/browser/ontology/ObjectTypeDefinition.js.map +1 -1
  114. package/build/browser/ontology/OntologyMetadata.js +0 -15
  115. package/build/browser/ontology/OntologyMetadata.js.map +1 -1
  116. package/build/browser/ontology/PrimaryKeyTypes.js +0 -15
  117. package/build/browser/ontology/PrimaryKeyTypes.js.map +1 -1
  118. package/build/browser/ontology/QueryDefinition.js +0 -15
  119. package/build/browser/ontology/QueryDefinition.js.map +1 -1
  120. package/build/browser/ontology/VersionString.js +0 -15
  121. package/build/browser/ontology/VersionString.js.map +1 -1
  122. package/build/browser/ontology/WirePropertyTypes.js +0 -15
  123. package/build/browser/ontology/WirePropertyTypes.js.map +1 -1
  124. package/build/browser/public/unstable.js +1 -0
  125. package/build/browser/public/unstable.js.map +1 -1
  126. package/build/browser/queries/Queries.js +8 -1
  127. package/build/browser/queries/Queries.js.map +1 -1
  128. package/build/browser/timeseries/timeseries.js +1 -0
  129. package/build/browser/timeseries/timeseries.js.map +1 -1
  130. package/build/browser/util/LinkUtils.js +0 -15
  131. package/build/browser/util/LinkUtils.js.map +1 -1
  132. package/build/cjs/ObjectSet-k8HXHoJt.d.cts +1015 -0
  133. package/build/cjs/index.cjs +75 -0
  134. package/build/cjs/index.cjs.map +1 -0
  135. package/build/cjs/index.d.cts +376 -0
  136. package/build/cjs/public/unstable.cjs +28 -0
  137. package/build/cjs/public/unstable.cjs.map +1 -0
  138. package/build/cjs/public/unstable.d.cts +38 -0
  139. package/build/esm/Definitions.js +0 -15
  140. package/build/esm/Definitions.js.map +1 -1
  141. package/build/esm/OsdkBase.js +0 -15
  142. package/build/esm/OsdkBase.js.map +1 -1
  143. package/build/esm/OsdkMetadata.js +0 -15
  144. package/build/esm/OsdkMetadata.js.map +1 -1
  145. package/build/esm/OsdkObject.js +0 -15
  146. package/build/esm/OsdkObject.js.map +1 -1
  147. package/build/esm/OsdkObjectFrom.js +27 -1
  148. package/build/esm/OsdkObjectFrom.js.map +1 -1
  149. package/build/esm/OsdkObjectFrom.test.js +17 -0
  150. package/build/esm/OsdkObjectFrom.test.js.map +1 -1
  151. package/build/esm/OsdkObjectPrimaryKeyType.js +0 -15
  152. package/build/esm/OsdkObjectPrimaryKeyType.js.map +1 -1
  153. package/build/esm/PageResult.js +0 -15
  154. package/build/esm/PageResult.js.map +1 -1
  155. package/build/esm/actions/ActionResults.js +0 -15
  156. package/build/esm/actions/ActionResults.js.map +1 -1
  157. package/build/esm/actions/ActionReturnTypeForOptions.js +0 -15
  158. package/build/esm/actions/ActionReturnTypeForOptions.js.map +1 -1
  159. package/build/esm/actions/Actions.js +4 -1
  160. package/build/esm/actions/Actions.js.map +1 -1
  161. package/build/esm/aggregate/AggregatableKeys.js +0 -15
  162. package/build/esm/aggregate/AggregatableKeys.js.map +1 -1
  163. package/build/esm/aggregate/AggregateOpts.js +0 -15
  164. package/build/esm/aggregate/AggregateOpts.js.map +1 -1
  165. package/build/esm/aggregate/AggregateOptsThatErrors.js +0 -15
  166. package/build/esm/aggregate/AggregateOptsThatErrors.js.map +1 -1
  167. package/build/esm/aggregate/AggregationResultsWithGroups.js +0 -15
  168. package/build/esm/aggregate/AggregationResultsWithGroups.js.map +1 -1
  169. package/build/esm/aggregate/AggregationResultsWithoutGroups.js +0 -15
  170. package/build/esm/aggregate/AggregationResultsWithoutGroups.js.map +1 -1
  171. package/build/esm/aggregate/AggregationsClause.js +0 -15
  172. package/build/esm/aggregate/AggregationsClause.js.map +1 -1
  173. package/build/esm/aggregate/AggregationsClause.test.js +1 -0
  174. package/build/esm/aggregate/AggregationsClause.test.js.map +1 -1
  175. package/build/esm/aggregate/AggregationsResults.js +0 -15
  176. package/build/esm/aggregate/AggregationsResults.js.map +1 -1
  177. package/build/esm/aggregate/ArrayFilter.js +0 -15
  178. package/build/esm/aggregate/ArrayFilter.js.map +1 -1
  179. package/build/esm/aggregate/BaseFilter.js +4 -1
  180. package/build/esm/aggregate/BaseFilter.js.map +1 -1
  181. package/build/esm/aggregate/BooleanFilter.js +1 -1
  182. package/build/esm/aggregate/BooleanFilter.js.map +1 -1
  183. package/build/esm/aggregate/DatetimeFilter.js +1 -1
  184. package/build/esm/aggregate/DatetimeFilter.js.map +1 -1
  185. package/build/esm/aggregate/GeoFilter.js +1 -1
  186. package/build/esm/aggregate/GeoFilter.js.map +1 -1
  187. package/build/esm/aggregate/Just.js +0 -15
  188. package/build/esm/aggregate/Just.js.map +1 -1
  189. package/build/esm/aggregate/NumberFilter.js +1 -1
  190. package/build/esm/aggregate/NumberFilter.js.map +1 -1
  191. package/build/esm/aggregate/StringFilter.js +1 -1
  192. package/build/esm/aggregate/StringFilter.js.map +1 -1
  193. package/build/esm/aggregate/WhereClause.js +3 -0
  194. package/build/esm/aggregate/WhereClause.js.map +1 -1
  195. package/build/esm/definitions/LinkDefinitions.js +0 -15
  196. package/build/esm/definitions/LinkDefinitions.js.map +1 -1
  197. package/build/esm/definitions/LinkDefinitions.test.js +1 -0
  198. package/build/esm/definitions/LinkDefinitions.test.js.map +1 -1
  199. package/build/esm/experimental/Experiment.js +0 -15
  200. package/build/esm/experimental/Experiment.js.map +1 -1
  201. package/build/esm/experimental/fetchOneByRid.js +1 -0
  202. package/build/esm/experimental/fetchOneByRid.js.map +1 -1
  203. package/build/esm/experimental/getBulkLinks.js +1 -0
  204. package/build/esm/experimental/getBulkLinks.js.map +1 -1
  205. package/build/esm/experimental/subscribe.js +1 -0
  206. package/build/esm/experimental/subscribe.js.map +1 -1
  207. package/build/esm/groupby/GroupByClause.js +1 -0
  208. package/build/esm/groupby/GroupByClause.js.map +1 -1
  209. package/build/esm/groupby/GroupByClause.test.js +1 -0
  210. package/build/esm/groupby/GroupByClause.test.js.map +1 -1
  211. package/build/esm/groupby/GroupByMapper.js +0 -15
  212. package/build/esm/groupby/GroupByMapper.js.map +1 -1
  213. package/build/esm/index.js +2 -0
  214. package/build/esm/index.js.map +1 -1
  215. package/build/esm/junk.test.js +1 -0
  216. package/build/esm/junk.test.js.map +1 -1
  217. package/build/esm/mapping/DataValueMapping.js +0 -15
  218. package/build/esm/mapping/DataValueMapping.js.map +1 -1
  219. package/build/esm/mapping/DurationMapping.js +1 -0
  220. package/build/esm/mapping/DurationMapping.js.map +1 -1
  221. package/build/esm/mapping/PropertyValueMapping.js +0 -15
  222. package/build/esm/mapping/PropertyValueMapping.js.map +1 -1
  223. package/build/esm/object/Attachment.js +0 -15
  224. package/build/esm/object/Attachment.js.map +1 -1
  225. package/build/esm/object/FetchPageArgs.js +1 -1
  226. package/build/esm/object/FetchPageArgs.js.map +1 -1
  227. package/build/esm/object/FetchPageResult.js +0 -15
  228. package/build/esm/object/FetchPageResult.js.map +1 -1
  229. package/build/esm/object/Media.js +2 -0
  230. package/build/esm/object/Media.js.map +1 -0
  231. package/build/esm/object/ObjectDefinitions.test.js +1 -0
  232. package/build/esm/object/ObjectDefinitions.test.js.map +1 -1
  233. package/build/esm/object/Result.js +2 -0
  234. package/build/esm/object/Result.js.map +1 -1
  235. package/build/esm/objectSet/BaseObjectSet.js +0 -15
  236. package/build/esm/objectSet/BaseObjectSet.js.map +1 -1
  237. package/build/esm/objectSet/BulkLinkResult.js +0 -15
  238. package/build/esm/objectSet/BulkLinkResult.js.map +1 -1
  239. package/build/esm/objectSet/ObjectSet.js +0 -15
  240. package/build/esm/objectSet/ObjectSet.js.map +1 -1
  241. package/build/esm/objectSet/ObjectSetListener.js +0 -15
  242. package/build/esm/objectSet/ObjectSetListener.js.map +1 -1
  243. package/build/esm/ontology/ActionDefinition.js +1 -1
  244. package/build/esm/ontology/ActionDefinition.js.map +1 -1
  245. package/build/esm/ontology/InterfaceDefinition.js +0 -15
  246. package/build/esm/ontology/InterfaceDefinition.js.map +1 -1
  247. package/build/esm/ontology/ObjectOrInterface.js +0 -15
  248. package/build/esm/ontology/ObjectOrInterface.js.map +1 -1
  249. package/build/esm/ontology/ObjectTypeDefinition.js +1 -1
  250. package/build/esm/ontology/ObjectTypeDefinition.js.map +1 -1
  251. package/build/esm/ontology/OntologyMetadata.js +0 -15
  252. package/build/esm/ontology/OntologyMetadata.js.map +1 -1
  253. package/build/esm/ontology/PrimaryKeyTypes.js +0 -15
  254. package/build/esm/ontology/PrimaryKeyTypes.js.map +1 -1
  255. package/build/esm/ontology/QueryDefinition.js +0 -15
  256. package/build/esm/ontology/QueryDefinition.js.map +1 -1
  257. package/build/esm/ontology/VersionString.js +0 -15
  258. package/build/esm/ontology/VersionString.js.map +1 -1
  259. package/build/esm/ontology/WirePropertyTypes.js +0 -15
  260. package/build/esm/ontology/WirePropertyTypes.js.map +1 -1
  261. package/build/esm/public/unstable.js +1 -0
  262. package/build/esm/public/unstable.js.map +1 -1
  263. package/build/esm/queries/Queries.js +8 -1
  264. package/build/esm/queries/Queries.js.map +1 -1
  265. package/build/esm/timeseries/timeseries.js +1 -0
  266. package/build/esm/timeseries/timeseries.js.map +1 -1
  267. package/build/esm/util/LinkUtils.js +0 -15
  268. package/build/esm/util/LinkUtils.js.map +1 -1
  269. package/build/types/Definitions.d.ts +22 -0
  270. package/build/{browser → types}/OsdkBase.d.ts +4 -5
  271. package/build/types/OsdkMetadata.d.ts +3 -0
  272. package/build/{browser → types}/OsdkObject.d.ts +5 -6
  273. package/build/types/OsdkObjectFrom.d.ts +91 -0
  274. package/build/types/OsdkObjectFrom.test.d.ts +1 -0
  275. package/build/{browser → types}/OsdkObjectPrimaryKeyType.d.ts +0 -1
  276. package/build/types/PageResult.d.ts +5 -0
  277. package/build/types/actions/ActionResults.d.ts +70 -0
  278. package/build/types/actions/ActionReturnTypeForOptions.d.ts +2 -0
  279. package/build/types/actions/Actions.d.ts +30 -0
  280. package/build/{esm → types}/aggregate/AggregatableKeys.d.ts +2 -9
  281. package/build/{browser → types}/aggregate/AggregateOpts.d.ts +3 -4
  282. package/build/types/aggregate/AggregateOptsThatErrors.d.ts +18 -0
  283. package/build/types/aggregate/AggregationResultsWithGroups.d.ts +14 -0
  284. package/build/types/aggregate/AggregationResultsWithoutGroups.d.ts +14 -0
  285. package/build/{esm → types}/aggregate/AggregationsClause.d.ts +2 -7
  286. package/build/types/aggregate/AggregationsClause.test.d.ts +34 -0
  287. package/build/types/aggregate/AggregationsResults.d.ts +9 -0
  288. package/build/types/aggregate/ArrayFilter.d.ts +11 -0
  289. package/build/types/aggregate/BaseFilter.d.ts +14 -0
  290. package/build/{browser → types}/aggregate/BooleanFilter.d.ts +5 -11
  291. package/build/types/aggregate/DatetimeFilter.d.ts +19 -0
  292. package/build/types/aggregate/GeoFilter.d.ts +35 -0
  293. package/build/types/aggregate/Just.d.ts +5 -0
  294. package/build/types/aggregate/NumberFilter.d.ts +20 -0
  295. package/build/types/aggregate/StringFilter.d.ts +27 -0
  296. package/build/{esm → types}/aggregate/WhereClause.d.ts +47 -54
  297. package/build/types/definitions/LinkDefinitions.d.ts +21 -0
  298. package/build/types/definitions/LinkDefinitions.test.d.ts +1 -0
  299. package/build/types/experimental/Experiment.d.ts +11 -0
  300. package/build/{esm → types}/experimental/fetchOneByRid.d.ts +7 -5
  301. package/build/{esm → types}/experimental/getBulkLinks.d.ts +1 -4
  302. package/build/{browser → types}/experimental/subscribe.d.ts +5 -7
  303. package/build/types/groupby/GroupByClause.d.ts +57 -0
  304. package/build/types/groupby/GroupByClause.test.d.ts +17 -0
  305. package/build/types/groupby/GroupByMapper.d.ts +13 -0
  306. package/build/types/index.d.ts +45 -0
  307. package/build/types/junk.test.d.ts +1 -0
  308. package/build/types/mapping/DataValueMapping.d.ts +70 -0
  309. package/build/types/mapping/DurationMapping.d.ts +22 -0
  310. package/build/types/mapping/PropertyValueMapping.d.ts +55 -0
  311. package/build/types/object/Attachment.d.ts +21 -0
  312. package/build/types/object/FetchPageArgs.d.ts +49 -0
  313. package/build/types/object/FetchPageResult.d.ts +37 -0
  314. package/build/types/object/Media.d.ts +18 -0
  315. package/build/types/object/ObjectDefinitions.test.d.ts +1 -0
  316. package/build/types/object/Result.d.ts +21 -0
  317. package/build/{esm → types}/objectSet/BaseObjectSet.d.ts +1 -4
  318. package/build/types/objectSet/BulkLinkResult.d.ts +7 -0
  319. package/build/types/objectSet/ObjectSet.d.ts +170 -0
  320. package/build/types/objectSet/ObjectSetListener.d.ts +47 -0
  321. package/build/types/ontology/ActionDefinition.d.ts +55 -0
  322. package/build/{esm → types}/ontology/InterfaceDefinition.d.ts +6 -6
  323. package/build/{browser → types}/ontology/ObjectOrInterface.d.ts +0 -1
  324. package/build/types/ontology/ObjectTypeDefinition.d.ts +85 -0
  325. package/build/types/ontology/OntologyMetadata.d.ts +6 -0
  326. package/build/{browser → types}/ontology/PrimaryKeyTypes.d.ts +0 -1
  327. package/build/{browser → types}/ontology/QueryDefinition.d.ts +31 -34
  328. package/build/types/ontology/VersionString.d.ts +5 -0
  329. package/build/{esm → types}/ontology/WirePropertyTypes.d.ts +1 -2
  330. package/build/{browser → types}/public/unstable.d.ts +3 -4
  331. package/build/types/queries/Queries.d.ts +21 -0
  332. package/build/types/timeseries/timeseries.d.ts +124 -0
  333. package/build/{esm → types}/util/LinkUtils.d.ts +4 -2
  334. package/package.json +32 -10
  335. package/unstable.d.ts +17 -0
  336. package/build/browser/Definitions.d.ts +0 -16
  337. package/build/browser/Definitions.d.ts.map +0 -1
  338. package/build/browser/OsdkBase.d.ts.map +0 -1
  339. package/build/browser/OsdkMetadata.d.ts +0 -4
  340. package/build/browser/OsdkMetadata.d.ts.map +0 -1
  341. package/build/browser/OsdkObject.d.ts.map +0 -1
  342. package/build/browser/OsdkObjectFrom.d.ts +0 -58
  343. package/build/browser/OsdkObjectFrom.d.ts.map +0 -1
  344. package/build/browser/OsdkObjectFrom.test.d.ts +0 -2
  345. package/build/browser/OsdkObjectFrom.test.d.ts.map +0 -1
  346. package/build/browser/OsdkObjectPrimaryKeyType.d.ts.map +0 -1
  347. package/build/browser/PageResult.d.ts +0 -6
  348. package/build/browser/PageResult.d.ts.map +0 -1
  349. package/build/browser/actions/ActionResults.d.ts +0 -81
  350. package/build/browser/actions/ActionResults.d.ts.map +0 -1
  351. package/build/browser/actions/ActionReturnTypeForOptions.d.ts +0 -7
  352. package/build/browser/actions/ActionReturnTypeForOptions.d.ts.map +0 -1
  353. package/build/browser/actions/Actions.d.ts +0 -36
  354. package/build/browser/actions/Actions.d.ts.map +0 -1
  355. package/build/browser/aggregate/AggregatableKeys.d.ts +0 -16
  356. package/build/browser/aggregate/AggregatableKeys.d.ts.map +0 -1
  357. package/build/browser/aggregate/AggregateOpts.d.ts.map +0 -1
  358. package/build/browser/aggregate/AggregateOptsThatErrors.d.ts +0 -17
  359. package/build/browser/aggregate/AggregateOptsThatErrors.d.ts.map +0 -1
  360. package/build/browser/aggregate/AggregationResultsWithGroups.d.ts +0 -17
  361. package/build/browser/aggregate/AggregationResultsWithGroups.d.ts.map +0 -1
  362. package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts +0 -13
  363. package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts.map +0 -1
  364. package/build/browser/aggregate/AggregationsClause.d.ts +0 -10
  365. package/build/browser/aggregate/AggregationsClause.d.ts.map +0 -1
  366. package/build/browser/aggregate/AggregationsClause.test.d.ts +0 -47
  367. package/build/browser/aggregate/AggregationsClause.test.d.ts.map +0 -1
  368. package/build/browser/aggregate/AggregationsResults.d.ts +0 -7
  369. package/build/browser/aggregate/AggregationsResults.d.ts.map +0 -1
  370. package/build/browser/aggregate/ArrayFilter.d.ts +0 -14
  371. package/build/browser/aggregate/ArrayFilter.d.ts.map +0 -1
  372. package/build/browser/aggregate/BaseFilter.d.ts +0 -19
  373. package/build/browser/aggregate/BaseFilter.d.ts.map +0 -1
  374. package/build/browser/aggregate/BooleanFilter.d.ts.map +0 -1
  375. package/build/browser/aggregate/DatetimeFilter.d.ts +0 -28
  376. package/build/browser/aggregate/DatetimeFilter.d.ts.map +0 -1
  377. package/build/browser/aggregate/GeoFilter.d.ts +0 -40
  378. package/build/browser/aggregate/GeoFilter.d.ts.map +0 -1
  379. package/build/browser/aggregate/Just.d.ts +0 -9
  380. package/build/browser/aggregate/Just.d.ts.map +0 -1
  381. package/build/browser/aggregate/NumberFilter.d.ts +0 -29
  382. package/build/browser/aggregate/NumberFilter.d.ts.map +0 -1
  383. package/build/browser/aggregate/StringFilter.d.ts +0 -36
  384. package/build/browser/aggregate/StringFilter.d.ts.map +0 -1
  385. package/build/browser/aggregate/WhereClause.d.ts +0 -76
  386. package/build/browser/aggregate/WhereClause.d.ts.map +0 -1
  387. package/build/browser/definitions/LinkDefinitions.d.ts +0 -21
  388. package/build/browser/definitions/LinkDefinitions.d.ts.map +0 -1
  389. package/build/browser/definitions/LinkDefinitions.test.d.ts +0 -2
  390. package/build/browser/definitions/LinkDefinitions.test.d.ts.map +0 -1
  391. package/build/browser/experimental/Experiment.d.ts +0 -8
  392. package/build/browser/experimental/Experiment.d.ts.map +0 -1
  393. package/build/browser/experimental/fetchOneByRid.d.ts +0 -11
  394. package/build/browser/experimental/fetchOneByRid.d.ts.map +0 -1
  395. package/build/browser/experimental/getBulkLinks.d.ts +0 -10
  396. package/build/browser/experimental/getBulkLinks.d.ts.map +0 -1
  397. package/build/browser/experimental/subscribe.d.ts.map +0 -1
  398. package/build/browser/groupby/GroupByClause.d.ts +0 -73
  399. package/build/browser/groupby/GroupByClause.d.ts.map +0 -1
  400. package/build/browser/groupby/GroupByClause.test.d.ts +0 -24
  401. package/build/browser/groupby/GroupByClause.test.d.ts.map +0 -1
  402. package/build/browser/groupby/GroupByMapper.d.ts +0 -14
  403. package/build/browser/groupby/GroupByMapper.d.ts.map +0 -1
  404. package/build/browser/index.d.ts +0 -44
  405. package/build/browser/index.d.ts.map +0 -1
  406. package/build/browser/junk.test.d.ts +0 -2
  407. package/build/browser/junk.test.d.ts.map +0 -1
  408. package/build/browser/mapping/DataValueMapping.d.ts +0 -73
  409. package/build/browser/mapping/DataValueMapping.d.ts.map +0 -1
  410. package/build/browser/mapping/DurationMapping.d.ts +0 -23
  411. package/build/browser/mapping/DurationMapping.d.ts.map +0 -1
  412. package/build/browser/mapping/PropertyValueMapping.d.ts +0 -59
  413. package/build/browser/mapping/PropertyValueMapping.d.ts.map +0 -1
  414. package/build/browser/object/Attachment.d.ts +0 -22
  415. package/build/browser/object/Attachment.d.ts.map +0 -1
  416. package/build/browser/object/FetchPageArgs.d.ts +0 -28
  417. package/build/browser/object/FetchPageArgs.d.ts.map +0 -1
  418. package/build/browser/object/FetchPageResult.d.ts +0 -20
  419. package/build/browser/object/FetchPageResult.d.ts.map +0 -1
  420. package/build/browser/object/ObjectDefinitions.test.d.ts +0 -2
  421. package/build/browser/object/ObjectDefinitions.test.d.ts.map +0 -1
  422. package/build/browser/object/Result.d.ts +0 -22
  423. package/build/browser/object/Result.d.ts.map +0 -1
  424. package/build/browser/objectSet/BaseObjectSet.d.ts +0 -7
  425. package/build/browser/objectSet/BaseObjectSet.d.ts.map +0 -1
  426. package/build/browser/objectSet/BulkLinkResult.d.ts +0 -8
  427. package/build/browser/objectSet/BulkLinkResult.d.ts.map +0 -1
  428. package/build/browser/objectSet/ObjectSet.d.ts +0 -148
  429. package/build/browser/objectSet/ObjectSet.d.ts.map +0 -1
  430. package/build/browser/objectSet/ObjectSetListener.d.ts +0 -39
  431. package/build/browser/objectSet/ObjectSetListener.d.ts.map +0 -1
  432. package/build/browser/ontology/ActionDefinition.d.ts +0 -46
  433. package/build/browser/ontology/ActionDefinition.d.ts.map +0 -1
  434. package/build/browser/ontology/InterfaceDefinition.d.ts +0 -12
  435. package/build/browser/ontology/InterfaceDefinition.d.ts.map +0 -1
  436. package/build/browser/ontology/ObjectOrInterface.d.ts.map +0 -1
  437. package/build/browser/ontology/ObjectTypeDefinition.d.ts +0 -83
  438. package/build/browser/ontology/ObjectTypeDefinition.d.ts.map +0 -1
  439. package/build/browser/ontology/OntologyMetadata.d.ts +0 -7
  440. package/build/browser/ontology/OntologyMetadata.d.ts.map +0 -1
  441. package/build/browser/ontology/PrimaryKeyTypes.d.ts.map +0 -1
  442. package/build/browser/ontology/QueryDefinition.d.ts.map +0 -1
  443. package/build/browser/ontology/VersionString.d.ts +0 -2
  444. package/build/browser/ontology/VersionString.d.ts.map +0 -1
  445. package/build/browser/ontology/WirePropertyTypes.d.ts +0 -3
  446. package/build/browser/ontology/WirePropertyTypes.d.ts.map +0 -1
  447. package/build/browser/public/unstable.d.ts.map +0 -1
  448. package/build/browser/queries/Queries.d.ts +0 -40
  449. package/build/browser/queries/Queries.d.ts.map +0 -1
  450. package/build/browser/timeseries/timeseries.d.ts +0 -125
  451. package/build/browser/timeseries/timeseries.d.ts.map +0 -1
  452. package/build/browser/util/LinkUtils.d.ts +0 -5
  453. package/build/browser/util/LinkUtils.d.ts.map +0 -1
  454. package/build/esm/Definitions.d.ts +0 -16
  455. package/build/esm/Definitions.d.ts.map +0 -1
  456. package/build/esm/OsdkBase.d.ts +0 -13
  457. package/build/esm/OsdkBase.d.ts.map +0 -1
  458. package/build/esm/OsdkMetadata.d.ts +0 -4
  459. package/build/esm/OsdkMetadata.d.ts.map +0 -1
  460. package/build/esm/OsdkObject.d.ts +0 -11
  461. package/build/esm/OsdkObject.d.ts.map +0 -1
  462. package/build/esm/OsdkObjectFrom.d.ts +0 -58
  463. package/build/esm/OsdkObjectFrom.d.ts.map +0 -1
  464. package/build/esm/OsdkObjectFrom.test.d.ts +0 -2
  465. package/build/esm/OsdkObjectFrom.test.d.ts.map +0 -1
  466. package/build/esm/OsdkObjectPrimaryKeyType.d.ts +0 -4
  467. package/build/esm/OsdkObjectPrimaryKeyType.d.ts.map +0 -1
  468. package/build/esm/PageResult.d.ts +0 -6
  469. package/build/esm/PageResult.d.ts.map +0 -1
  470. package/build/esm/actions/ActionResults.d.ts +0 -81
  471. package/build/esm/actions/ActionResults.d.ts.map +0 -1
  472. package/build/esm/actions/ActionReturnTypeForOptions.d.ts +0 -7
  473. package/build/esm/actions/ActionReturnTypeForOptions.d.ts.map +0 -1
  474. package/build/esm/actions/Actions.d.ts +0 -36
  475. package/build/esm/actions/Actions.d.ts.map +0 -1
  476. package/build/esm/aggregate/AggregatableKeys.d.ts.map +0 -1
  477. package/build/esm/aggregate/AggregateOpts.d.ts +0 -10
  478. package/build/esm/aggregate/AggregateOpts.d.ts.map +0 -1
  479. package/build/esm/aggregate/AggregateOptsThatErrors.d.ts +0 -17
  480. package/build/esm/aggregate/AggregateOptsThatErrors.d.ts.map +0 -1
  481. package/build/esm/aggregate/AggregationResultsWithGroups.d.ts +0 -17
  482. package/build/esm/aggregate/AggregationResultsWithGroups.d.ts.map +0 -1
  483. package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts +0 -13
  484. package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts.map +0 -1
  485. package/build/esm/aggregate/AggregationsClause.d.ts.map +0 -1
  486. package/build/esm/aggregate/AggregationsClause.test.d.ts +0 -47
  487. package/build/esm/aggregate/AggregationsClause.test.d.ts.map +0 -1
  488. package/build/esm/aggregate/AggregationsResults.d.ts +0 -7
  489. package/build/esm/aggregate/AggregationsResults.d.ts.map +0 -1
  490. package/build/esm/aggregate/ArrayFilter.d.ts +0 -14
  491. package/build/esm/aggregate/ArrayFilter.d.ts.map +0 -1
  492. package/build/esm/aggregate/BaseFilter.d.ts +0 -19
  493. package/build/esm/aggregate/BaseFilter.d.ts.map +0 -1
  494. package/build/esm/aggregate/BooleanFilter.d.ts +0 -17
  495. package/build/esm/aggregate/BooleanFilter.d.ts.map +0 -1
  496. package/build/esm/aggregate/DatetimeFilter.d.ts +0 -28
  497. package/build/esm/aggregate/DatetimeFilter.d.ts.map +0 -1
  498. package/build/esm/aggregate/GeoFilter.d.ts +0 -40
  499. package/build/esm/aggregate/GeoFilter.d.ts.map +0 -1
  500. package/build/esm/aggregate/Just.d.ts +0 -9
  501. package/build/esm/aggregate/Just.d.ts.map +0 -1
  502. package/build/esm/aggregate/NumberFilter.d.ts +0 -29
  503. package/build/esm/aggregate/NumberFilter.d.ts.map +0 -1
  504. package/build/esm/aggregate/StringFilter.d.ts +0 -36
  505. package/build/esm/aggregate/StringFilter.d.ts.map +0 -1
  506. package/build/esm/aggregate/WhereClause.d.ts.map +0 -1
  507. package/build/esm/definitions/LinkDefinitions.d.ts +0 -21
  508. package/build/esm/definitions/LinkDefinitions.d.ts.map +0 -1
  509. package/build/esm/definitions/LinkDefinitions.test.d.ts +0 -2
  510. package/build/esm/definitions/LinkDefinitions.test.d.ts.map +0 -1
  511. package/build/esm/experimental/Experiment.d.ts +0 -8
  512. package/build/esm/experimental/Experiment.d.ts.map +0 -1
  513. package/build/esm/experimental/fetchOneByRid.d.ts.map +0 -1
  514. package/build/esm/experimental/getBulkLinks.d.ts.map +0 -1
  515. package/build/esm/experimental/subscribe.d.ts +0 -12
  516. package/build/esm/experimental/subscribe.d.ts.map +0 -1
  517. package/build/esm/groupby/GroupByClause.d.ts +0 -73
  518. package/build/esm/groupby/GroupByClause.d.ts.map +0 -1
  519. package/build/esm/groupby/GroupByClause.test.d.ts +0 -24
  520. package/build/esm/groupby/GroupByClause.test.d.ts.map +0 -1
  521. package/build/esm/groupby/GroupByMapper.d.ts +0 -14
  522. package/build/esm/groupby/GroupByMapper.d.ts.map +0 -1
  523. package/build/esm/index.d.ts +0 -44
  524. package/build/esm/index.d.ts.map +0 -1
  525. package/build/esm/junk.test.d.ts +0 -2
  526. package/build/esm/junk.test.d.ts.map +0 -1
  527. package/build/esm/mapping/DataValueMapping.d.ts +0 -73
  528. package/build/esm/mapping/DataValueMapping.d.ts.map +0 -1
  529. package/build/esm/mapping/DurationMapping.d.ts +0 -23
  530. package/build/esm/mapping/DurationMapping.d.ts.map +0 -1
  531. package/build/esm/mapping/PropertyValueMapping.d.ts +0 -59
  532. package/build/esm/mapping/PropertyValueMapping.d.ts.map +0 -1
  533. package/build/esm/object/Attachment.d.ts +0 -22
  534. package/build/esm/object/Attachment.d.ts.map +0 -1
  535. package/build/esm/object/FetchPageArgs.d.ts +0 -28
  536. package/build/esm/object/FetchPageArgs.d.ts.map +0 -1
  537. package/build/esm/object/FetchPageResult.d.ts +0 -20
  538. package/build/esm/object/FetchPageResult.d.ts.map +0 -1
  539. package/build/esm/object/ObjectDefinitions.test.d.ts +0 -2
  540. package/build/esm/object/ObjectDefinitions.test.d.ts.map +0 -1
  541. package/build/esm/object/Result.d.ts +0 -22
  542. package/build/esm/object/Result.d.ts.map +0 -1
  543. package/build/esm/objectSet/BaseObjectSet.d.ts.map +0 -1
  544. package/build/esm/objectSet/BulkLinkResult.d.ts +0 -8
  545. package/build/esm/objectSet/BulkLinkResult.d.ts.map +0 -1
  546. package/build/esm/objectSet/ObjectSet.d.ts +0 -148
  547. package/build/esm/objectSet/ObjectSet.d.ts.map +0 -1
  548. package/build/esm/objectSet/ObjectSetListener.d.ts +0 -39
  549. package/build/esm/objectSet/ObjectSetListener.d.ts.map +0 -1
  550. package/build/esm/ontology/ActionDefinition.d.ts +0 -46
  551. package/build/esm/ontology/ActionDefinition.d.ts.map +0 -1
  552. package/build/esm/ontology/InterfaceDefinition.d.ts.map +0 -1
  553. package/build/esm/ontology/ObjectOrInterface.d.ts +0 -5
  554. package/build/esm/ontology/ObjectOrInterface.d.ts.map +0 -1
  555. package/build/esm/ontology/ObjectTypeDefinition.d.ts +0 -83
  556. package/build/esm/ontology/ObjectTypeDefinition.d.ts.map +0 -1
  557. package/build/esm/ontology/OntologyMetadata.d.ts +0 -7
  558. package/build/esm/ontology/OntologyMetadata.d.ts.map +0 -1
  559. package/build/esm/ontology/PrimaryKeyTypes.d.ts +0 -2
  560. package/build/esm/ontology/PrimaryKeyTypes.d.ts.map +0 -1
  561. package/build/esm/ontology/QueryDefinition.d.ts +0 -68
  562. package/build/esm/ontology/QueryDefinition.d.ts.map +0 -1
  563. package/build/esm/ontology/VersionString.d.ts +0 -2
  564. package/build/esm/ontology/VersionString.d.ts.map +0 -1
  565. package/build/esm/ontology/WirePropertyTypes.d.ts.map +0 -1
  566. package/build/esm/public/unstable.d.ts +0 -7
  567. package/build/esm/public/unstable.d.ts.map +0 -1
  568. package/build/esm/queries/Queries.d.ts +0 -40
  569. package/build/esm/queries/Queries.d.ts.map +0 -1
  570. package/build/esm/timeseries/timeseries.d.ts +0 -125
  571. package/build/esm/timeseries/timeseries.d.ts.map +0 -1
  572. package/build/esm/util/LinkUtils.d.ts.map +0 -1
@@ -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=Attachment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Attachment.js","names":[],"sources":["Attachment.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":"Attachment.js","names":[],"sources":["Attachment.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 Attachment {\n rid: string;\n /**\n * Fetches metadata for an attachment\n */\n fetchMetadata(): Promise<AttachmentMetadata>;\n /**\n * Fetches actual content of attachment in Blob form\n */\n fetchContents(): Promise<Response>;\n}\n\nexport interface AttachmentUpload {\n readonly name: string;\n readonly data: Blob;\n}\n\nexport interface AttachmentMetadata {\n rid: string;\n filename: string;\n sizeBytes: number;\n mediaType: string;\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 NullabilityAdherence;
17
17
  //# sourceMappingURL=FetchPageArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FetchPageArgs.js","names":[],"sources":["FetchPageArgs.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":"FetchPageArgs.js","names":["NullabilityAdherence"],"sources":["FetchPageArgs.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 { CompileTimeMetadata } from \"../ontology/ObjectTypeDefinition.js\";\n\nexport type NullabilityAdherence = false | \"throw\" | \"drop\";\nexport namespace NullabilityAdherence {\n export type Default = \"throw\";\n}\n\nexport interface SelectArg<\n Q extends ObjectOrInterfaceDefinition,\n L extends PropertyKeys<Q> = PropertyKeys<Q>,\n R extends boolean = false,\n S extends NullabilityAdherence = NullabilityAdherence.Default,\n> {\n $select?: readonly L[];\n $includeRid?: R;\n}\n\nexport interface OrderByArg<\n Q extends ObjectOrInterfaceDefinition,\n L extends PropertyKeys<Q> = PropertyKeys<Q>,\n> {\n $orderBy?: {\n [K in L]?: \"asc\" | \"desc\";\n };\n}\n\nexport type SelectArgToKeys<\n Q extends ObjectOrInterfaceDefinition,\n A extends SelectArg<Q, any, any>,\n> = A extends SelectArg<Q, never> ? PropertyKeys<Q>\n : A[\"$select\"] extends readonly string[] ? A[\"$select\"][number]\n : PropertyKeys<Q>;\n\nexport interface FetchPageArgs<\n Q extends ObjectOrInterfaceDefinition,\n K extends PropertyKeys<Q> = PropertyKeys<Q>,\n R extends boolean = false,\n A extends Augments = never,\n S extends NullabilityAdherence = NullabilityAdherence.Default,\n> extends AsyncIterArgs<Q, K, R, A, S> {\n $nextPageToken?: string;\n $pageSize?: number;\n}\n\nexport interface AsyncIterArgs<\n Q extends ObjectOrInterfaceDefinition,\n K extends PropertyKeys<Q> = PropertyKeys<Q>,\n R extends boolean = false,\n A extends Augments = never,\n S extends NullabilityAdherence = NullabilityAdherence.Default,\n> extends SelectArg<Q, K, R, S>, OrderByArg<Q, PropertyKeys<Q>> {\n $__UNSTABLE_useOldInterfaceApis?: boolean;\n}\n\nexport type Augment<\n X extends ObjectOrInterfaceDefinition,\n T extends string,\n> = { [K in CompileTimeMetadata<X>[\"apiName\"]]: T[] };\n\nexport type Augments = Record<string, string[]>;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,WAuBiBA,oBAAoB","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=FetchPageResult.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FetchPageResult.js","names":[],"sources":["FetchPageResult.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":"FetchPageResult.js","names":[],"sources":["FetchPageResult.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 { ExtractOptions, IsNever, Osdk } from \"../OsdkObjectFrom.js\";\nimport type { PageResult } from \"../PageResult.js\";\nimport type { NullabilityAdherence } from \"./FetchPageArgs.js\";\n\n/** exposed for a test */\nexport type RespectNullability<S extends NullabilityAdherence> = S extends false\n ? false\n : true;\n\n/** exposed for a test */\nexport type UnionIfFalse<S extends string, JUST_S_IF_TRUE extends boolean, E> =\n IsNever<S> extends true ? never\n : JUST_S_IF_TRUE extends true ? S\n : S | E;\n\n/** exposed for a test */\nexport type UnionIfTrue<\n S extends string,\n UNION_IF_TRUE extends boolean,\n E extends string,\n> = IsNever<S> extends true ? never\n : UNION_IF_TRUE extends true ? S | E\n : S;\n\n/**\n * Helper type for converting fetch options into an Osdk object\n */\nexport type FetchPageResult<\n Q extends ObjectOrInterfaceDefinition,\n L extends PropertyKeys<Q>,\n R extends boolean,\n S extends NullabilityAdherence,\n> = PageResult<\n PropertyKeys<Q> extends L ? Osdk.Instance<Q, ExtractOptions<R, S>>\n : Osdk.Instance<Q, ExtractOptions<R, S>, L>\n>;\n\n/**\n * Helper type for converting fetch options into an Osdk object\n */\nexport type SingleOsdkResult<\n Q extends ObjectOrInterfaceDefinition,\n L extends PropertyKeys<Q>,\n R extends boolean,\n S extends NullabilityAdherence,\n> = Osdk.Instance<Q, ExtractOptions<R, S>, L>;\n\nexport type IsAny<T> = unknown extends T\n ? [keyof T] extends [never] ? false : true\n : false;\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Media.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Media.js","names":[],"sources":["Media.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 interface Media {\n /**\n * Fetches metadata for media reference property\n */\n fetchMetadata(): Promise<MediaMetadata>;\n /**\n * Fetches content of a media reference property\n */\n fetchContents(): Promise<Response>;\n}\n\n/**\n * Metadata of a media item\n */\nexport interface MediaMetadata {\n path?: string;\n sizeBytes: number;\n mediaType: string;\n}\n"],"mappings":"","ignoreList":[]}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+
16
17
  import { describe, expectTypeOf, it } from "vitest";
17
18
  describe("Object definitions", () => {
18
19
  it("correctly upgrades attachment types at conversion time", () => {
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectDefinitions.test.js","names":["describe","expectTypeOf","it","toEqualTypeOf"],"sources":["ObjectDefinitions.test.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 */\nimport { describe, expectTypeOf, it } from \"vitest\";\ndescribe(\"Object definitions\", () => {\n it(\"correctly upgrades attachment types at conversion time\", () => {\n const attachment = {\n type: \"attachment\",\n };\n const attachmentArray = {\n type: \"attachment\",\n multiplicity: true,\n };\n expectTypeOf().toEqualTypeOf();\n expectTypeOf()\n .toEqualTypeOf();\n });\n it(\"correctly maps struct types\", () => {\n const structType = {\n type: {\n integerField: \"integer\",\n floatField: \"float\",\n attachment: \"attachment\",\n },\n };\n const structTypeArray = {\n type: {\n integerField: \"integer\",\n floatField: \"float\",\n attachment: \"attachment\",\n },\n multiplicity: true,\n };\n expectTypeOf().toEqualTypeOf();\n expectTypeOf()\n .toEqualTypeOf();\n });\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,QAAQ,EAAEC,YAAY,EAAEC,EAAE,QAAQ,QAAQ;AACnDF,QAAQ,CAAC,oBAAoB,EAAE,MAAM;EACjCE,EAAE,CAAC,wDAAwD,EAAE,MAAM;IAQ/DD,YAAY,CAAC,CAAC,CAACE,aAAa,CAAC,CAAC;IAC9BF,YAAY,CAAC,CAAC,CACTE,aAAa,CAAC,CAAC;EACxB,CAAC,CAAC;EACFD,EAAE,CAAC,6BAA6B,EAAE,MAAM;IAgBpCD,YAAY,CAAC,CAAC,CAACE,aAAa,CAAC,CAAC;IAC9BF,YAAY,CAAC,CAAC,CACTE,aAAa,CAAC,CAAC;EACxB,CAAC,CAAC;AACN,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"ObjectDefinitions.test.js","names":["describe","expectTypeOf","it","toEqualTypeOf"],"sources":["ObjectDefinitions.test.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 { describe, expectTypeOf, it } from \"vitest\";\nimport type { OsdkObjectPropertyType } from \"../Definitions.js\";\nimport type { Attachment } from \"./Attachment.js\";\n\ndescribe(\"Object definitions\", () => {\n it(\"correctly upgrades attachment types at conversion time\", () => {\n const attachment = {\n type: \"attachment\",\n } as const;\n\n const attachmentArray = {\n type: \"attachment\",\n multiplicity: true,\n } as const;\n\n expectTypeOf<OsdkObjectPropertyType<typeof attachment>>().toEqualTypeOf<\n Attachment\n >();\n\n expectTypeOf<OsdkObjectPropertyType<typeof attachmentArray>>()\n .toEqualTypeOf<\n Attachment[]\n >();\n });\n it(\"correctly maps struct types\", () => {\n const structType = {\n type: {\n integerField: \"integer\",\n floatField: \"float\",\n attachment: \"attachment\",\n },\n } as const;\n\n const structTypeArray = {\n type: {\n integerField: \"integer\",\n floatField: \"float\",\n attachment: \"attachment\",\n },\n multiplicity: true,\n } as const;\n expectTypeOf<OsdkObjectPropertyType<typeof structType>>().toEqualTypeOf<\n {\n readonly integerField: number;\n readonly floatField: number;\n readonly attachment: Attachment;\n }\n >();\n\n expectTypeOf<OsdkObjectPropertyType<typeof structTypeArray>>()\n .toEqualTypeOf<\n {\n readonly integerField: number;\n readonly floatField: number;\n readonly attachment: Attachment;\n }[]\n >();\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,QAAQ,QAAQ;AAInDF,QAAQ,CAAC,oBAAoB,EAAE,MAAM;EACnCE,EAAE,CAAC,wDAAwD,EAAE,MAAM;IAUjED,YAAY,CAA4C,CAAC,CAACE,aAAa,CAErE,CAAC;IAEHF,YAAY,CAAiD,CAAC,CAC3DE,aAAa,CAEZ,CAAC;EACP,CAAC,CAAC;EACFD,EAAE,CAAC,6BAA6B,EAAE,MAAM;IAiBtCD,YAAY,CAA4C,CAAC,CAACE,aAAa,CAMrE,CAAC;IAEHF,YAAY,CAAiD,CAAC,CAC3DE,aAAa,CAMZ,CAAC;EACP,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+
16
17
  /**
17
18
  * Check if a result was successfully received
18
19
  * @param a - result wrapped value
@@ -21,6 +22,7 @@
21
22
  export function isOk(a) {
22
23
  return "value" in a;
23
24
  }
25
+
24
26
  /**
25
27
  * Check if a result contains an error value
26
28
  * @param a Result wrapped value
@@ -1 +1 @@
1
- {"version":3,"file":"Result.js","names":["isOk","a","isError"],"sources":["Result.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 */\n/**\n * Check if a result was successfully received\n * @param a - result wrapped value\n * @returns whether a result has a value in it\n */\nexport function isOk(a) {\n return (\"value\" in a);\n}\n/**\n * Check if a result contains an error value\n * @param a Result wrapped value\n * @returns whether a result has an error in it\n */\nexport function isError(a) {\n return (\"error\" in a);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASA,IAAIA,CAACC,CAAC,EAAE;EACpB,OAAQ,OAAO,IAAIA,CAAC;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACD,CAAC,EAAE;EACvB,OAAQ,OAAO,IAAIA,CAAC;AACxB","ignoreList":[]}
1
+ {"version":3,"file":"Result.js","names":["isOk","a","isError"],"sources":["Result.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 ErrorResult = { error: Error; value?: never };\nexport type OkResult<V> = { value: V; error?: never };\nexport type Result<V> = OkResult<V> | ErrorResult;\n\n/**\n * Check if a result was successfully received\n * @param a - result wrapped value\n * @returns whether a result has a value in it\n */\nexport function isOk<X>(a: Result<X>): a is OkResult<X> {\n return (\"value\" in a);\n}\n\n/**\n * Check if a result contains an error value\n * @param a Result wrapped value\n * @returns whether a result has an error in it\n */\nexport function isError<X>(a: Result<X>): a is ErrorResult {\n return (\"error\" in a);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASA,IAAIA,CAAIC,CAAY,EAAoB;EACtD,OAAQ,OAAO,IAAIA,CAAC;AACtB;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAAID,CAAY,EAAoB;EACzD,OAAQ,OAAO,IAAIA,CAAC;AACtB","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=BaseObjectSet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseObjectSet.js","names":[],"sources":["BaseObjectSet.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":"BaseObjectSet.js","names":[],"sources":["BaseObjectSet.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 { ObjectOrInterfaceDefinition } from \"../ontology/ObjectOrInterface.js\";\n\n// mostly a marker interface to simplify types that must be exported/shared\nexport interface BaseObjectSet<Q extends ObjectOrInterfaceDefinition> {\n readonly $objectSetInternals: { def: Q };\n}\n"],"mappings":"","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=BulkLinkResult.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BulkLinkResult.js","names":[],"sources":["BulkLinkResult.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":"BulkLinkResult.js","names":[],"sources":["BulkLinkResult.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 { OsdkBase } from \"../OsdkBase.js\";\n\nexport interface EXPERIMENTAL_BulkLinkResult {\n object: OsdkBase<any>;\n linkApiName: string;\n otherObjectApiName: string | undefined;\n otherObjectPk: unknown;\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=ObjectSet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectSet.js","names":[],"sources":["ObjectSet.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":"ObjectSet.js","names":[],"sources":["ObjectSet.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 { AggregateOpts } from \"../aggregate/AggregateOpts.js\";\nimport type { AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy } from \"../aggregate/AggregateOptsThatErrors.js\";\nimport type { AggregationsResults } from \"../aggregate/AggregationsResults.js\";\nimport type { WhereClause } from \"../aggregate/WhereClause.js\";\nimport type {\n AsyncIterArgs,\n Augments,\n FetchPageArgs,\n NullabilityAdherence,\n SelectArg,\n} from \"../object/FetchPageArgs.js\";\nimport type { SingleOsdkResult } from \"../object/FetchPageResult.js\";\nimport type { Result } from \"../object/Result.js\";\nimport type { InterfaceDefinition } from \"../ontology/InterfaceDefinition.js\";\nimport type {\n ObjectOrInterfaceDefinition,\n PropertyKeys,\n} from \"../ontology/ObjectOrInterface.js\";\nimport type {\n CompileTimeMetadata,\n ObjectTypeDefinition,\n} from \"../ontology/ObjectTypeDefinition.js\";\nimport type { PrimaryKeyType } from \"../OsdkBase.js\";\nimport type { ExtractOptions, Osdk } from \"../OsdkObjectFrom.js\";\nimport type { PageResult } from \"../PageResult.js\";\nimport type { LinkedType, LinkNames } from \"../util/LinkUtils.js\";\nimport type { BaseObjectSet } from \"./BaseObjectSet.js\";\nimport type {\n ObjectSetListener,\n ObjectSetListenerOptions,\n} from \"./ObjectSetListener.js\";\n\nexport interface MinimalObjectSet<Q extends ObjectOrInterfaceDefinition>\n extends BaseObjectSet<Q>\n{\n /**\n * Gets a page of objects of this type, with a result wrapper\n * @param args - Args to specify next page token and page size, if applicable\n * @example\n * const myObjs = await objectSet.fetchPage({\n $pageSize: 10,\n $nextPageToken: \"nextPage\"\n });\n const myObjsResult = myObjs.data;\n\n * @returns a page of objects\n */\n readonly fetchPage: <\n L extends PropertyKeys<Q>,\n R extends boolean,\n const A extends Augments,\n S extends NullabilityAdherence = NullabilityAdherence.Default,\n >(\n args?: FetchPageArgs<Q, L, R, A, S>,\n ) => Promise<\n PageResult<\n PropertyKeys<Q> extends L ? Osdk.Instance<Q, ExtractOptions<R, S>>\n : Osdk.Instance<Q, ExtractOptions<R, S>, L>\n >\n >;\n\n /**\n * Gets a page of objects of this type, with a result wrapper\n * @param args - Args to specify next page token and page size, if applicable\n * @example\n * const myObjs = await objectSet.fetchPage({\n $pageSize: 10,\n $nextPageToken: \"nextPage\"\n });\n\n if(isOk(myObjs)){\n const myObjsResult = myObjs.value.data;\n }\n * @returns a page of objects, wrapped in a result wrapper\n */\n readonly fetchPageWithErrors: <\n L extends PropertyKeys<Q>,\n R extends boolean,\n const A extends Augments,\n S extends NullabilityAdherence = NullabilityAdherence.Default,\n >(\n args?: FetchPageArgs<Q, L, R, A, S>,\n ) => Promise<Result<PageResult<Osdk.Instance<Q, ExtractOptions<R, S>, L>>>>;\n\n /**\n * Allows you to filter an object set with a given clause\n * @param clause - Takes a filter clause\n * @example\n * await client(Office).where({\n meetingRooms: { $contains: \"Grand Central\" },\n meetingRoomCapacities: { $contains: 30 },\n });\n * @returns an objectSet\n */\n readonly where: (\n clause: WhereClause<Q>,\n ) => this;\n\n /**\n * Returns an async iterator to load all objects of this type\n * @example\n * for await (const obj of myObjectSet.asyncIter()){\n * // Handle obj\n * }\n * @returns an async iterator to load all objects\n */\n readonly asyncIter: <\n L extends PropertyKeys<Q>,\n R extends boolean,\n const A extends Augments,\n S extends NullabilityAdherence = NullabilityAdherence.Default,\n >(\n args?: AsyncIterArgs<Q, L, R, A, S>,\n ) => AsyncIterableIterator<SingleOsdkResult<Q, L, R, S>>;\n}\n\nexport interface InterfaceObjectSet<\n Q extends InterfaceDefinition,\n> extends MinimalObjectSet<Q> {\n}\n\nexport interface ObjectSet<\n Q extends ObjectOrInterfaceDefinition = any,\n _UNUSED = any,\n> extends MinimalObjectSet<Q> {\n /**\n * Aggregate on a field in an object type\n * @param req - an aggregation request where you can select fields and choose how to aggregate, e.g., max, min, avg, and also choose\n * whether or not you order your results. You can also specify a groupBy field to group your aggregations\n * @example\n * const testAggregateCountWithGroups = await client(BoundariesUsState)\n .aggregate({\n $select: {\n $count: \"unordered\",\n \"latitude:max\": \"unordered\",\n \"latitude:min\": \"unordered\",\n \"latitude:avg\": \"unordered\",\n },\n $groupBy: {\n usState: \"exact\",\n longitude: {\n $fixedWidth: 10,\n },\n },\n });\n\n * @returns aggregation results, sorted in the groups based on the groupBy clause (if applicable)\n */\n readonly aggregate: <AO extends AggregateOpts<Q>>(\n req: AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy<Q, AO>,\n ) => Promise<AggregationsResults<Q, AO>>;\n\n /**\n * Unions object sets together\n * @param objectSets - objectSets you want to union with\n * @example\n * const unionObjectSet = complexFilteredEmployeeObjectSet.union(\n simpleFilteredEmployeeObjectSet,\n );\n * @returns the unioned object set\n */\n readonly union: (\n ...objectSets: ReadonlyArray<CompileTimeMetadata<Q>[\"objectSet\"]>\n ) => this;\n\n /**\n * Computes the intersection of object sets\n * @param objectSets - objectSets you want to intersect with\n * @example\n * const intersectedObjectSet = complexFilteredEmployeeObjectSet.intersect(\n simpleFilteredEmployeeObjectSet,\n );\n * @returns the intersected object set\n */\n readonly intersect: (\n ...objectSets: ReadonlyArray<CompileTimeMetadata<Q>[\"objectSet\"]>\n ) => this;\n\n /**\n * Computes the subtraction of object sets\n * @param objectSets - objectSets you want to subtract from\n * @example\n * const subtractObjectSet = complexFilteredEmployeeObjectSet.subtract(\n simpleFilteredEmployeeObjectSet,\n );\n * @returns the subtract object set\n */\n readonly subtract: (\n ...objectSets: ReadonlyArray<CompileTimeMetadata<Q>[\"objectSet\"]>\n ) => this;\n\n /**\n * Pivots the object set over to all its linked objects of the specified type\n * @param type - The linked object type you want to pivot to\n * @returns an object set of the specified linked type\n */\n readonly pivotTo: <L extends LinkNames<Q>>(\n type: L,\n ) => CompileTimeMetadata<LinkedType<Q, L>>[\"objectSet\"]; // ObjectSet<LinkedType<Q, L>>;\n\n /**\n * Fetches one object with the specified primary key, without a result wrapper\n */\n readonly fetchOne: Q extends ObjectTypeDefinition ? <\n const L extends PropertyKeys<Q>,\n const R extends boolean,\n const S extends false | \"throw\" = NullabilityAdherence.Default,\n >(\n primaryKey: PrimaryKeyType<Q>,\n options?: SelectArg<Q, L, R, S>,\n ) => Promise<Osdk.Instance<Q, ExtractOptions<R, S>, L>>\n : never;\n\n /**\n * Fetches one object with the specified primary key, with a result wrapper\n */\n readonly fetchOneWithErrors: Q extends ObjectTypeDefinition ? <\n L extends PropertyKeys<Q>,\n R extends boolean,\n S extends false | \"throw\" = NullabilityAdherence.Default,\n >(\n primaryKey: PrimaryKeyType<Q>,\n options?: SelectArg<Q, L, R, S>,\n ) => Promise<\n Result<Osdk.Instance<Q, ExtractOptions<R, S>, L>>\n >\n : never;\n\n /**\n * Request updates when the objects in an object set are added, updated, or removed.\n * @param listener - The handlers to be executed during the lifecycle of the subscription.\n * @param opts - Options to modify what properties are returned on subscription updates.\n * @returns an object containing a function to unsubscribe.\n */\n readonly subscribe: <\n const P extends PropertyKeys<Q>,\n >(\n listener: ObjectSetListener<Q, P>,\n opts?: ObjectSetListenerOptions<Q, P>,\n ) => { unsubscribe: () => void };\n}\n"],"mappings":"","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=ObjectSetListener.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectSetListener.js","names":[],"sources":["ObjectSetListener.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":"ObjectSetListener.js","names":[],"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 interface ObjectSetListener<\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\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\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 */\nexport interface ObjectSetListenerOptions<\n O extends ObjectOrInterfaceDefinition,\n P extends PropertyKeys<O> = PropertyKeys<O>,\n> {\n properties?: Array<P>;\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 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 | ValidBaseActionParameterTypes\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 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, ValidBaseActionParameterTypes>,\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\nexport type ValidBaseActionParameterTypes =\n | \"boolean\"\n | \"string\"\n | \"integer\"\n | \"long\"\n | \"double\"\n | \"datetime\"\n | \"timestamp\"\n | \"attachment\"\n | \"marking\";\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":[]}
@@ -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=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":[],"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\";\n\nexport type ObjectOrInterfaceDefinition =\n | ObjectTypeDefinition\n | InterfaceDefinition;\n\nexport type PropertyKeys<\n O extends ObjectOrInterfaceDefinition,\n> = keyof NonNullable<O[\"__DefinitionMetadata\"]>[\"properties\"] & string;\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 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: \"boolean\" | \"string\";\n valueType: V;\n}\n\nexport interface RangeAggregationKeyDataType<V = any> {\n keyType: \"range\";\n keySubtype: \"date\" | \"double\" | \"integer\" | \"timestamp\";\n valueType: V;\n}\n\nexport type TwoDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n \"date\" | \"double\" | \"timestamp\"\n>;\n\nexport type ThreeDimensionalQueryAggregationDefinition = AggregationKeyDataType<\n TwoDimensionalQueryAggregationDefinition\n>;\n"],"mappings":"","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 | SimpleWirePropertyTypes\n | Record<string, SimpleWirePropertyTypes>;\n\nexport type SimpleWirePropertyTypes =\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,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+
16
17
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid } from "../experimental/fetchOneByRid.js";
17
18
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
18
19
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from "../experimental/subscribe.js";
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__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__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.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,gDAAgD,QAAQ,kCAAkC;AACnG,SAASC,+CAA+C,QAAQ,iCAAiC;AACjG,SAASC,2CAA2C,QAAQ,8BAA8B","ignoreList":[]}
1
+ {"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe"],"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__fetchOneByRid } from \"../experimental/fetchOneByRid.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from \"../experimental/subscribe.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,gDAAgD,QAAQ,kCAAkC;AACnG,SAASC,+CAA+C,QAAQ,iCAAiC;AACjG,SAASC,2CAA2C,QAAQ,8BAA8B","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
@@ -1 +1 @@
1
- {"version":3,"file":"Queries.js","names":[],"sources":["Queries.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":"Queries.js","names":["QueryParam","QueryResult"],"sources":["Queries.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n DataValueClientToWire,\n DataValueWireToClient,\n} from \"../mapping/DataValueMapping.js\";\nimport type { ObjectSet } from \"../objectSet/ObjectSet.js\";\nimport type { ObjectTypeDefinition } from \"../ontology/ObjectTypeDefinition.js\";\nimport type { OsdkBase } from \"../OsdkBase.js\";\nimport type { OsdkObjectPrimaryKeyType } from \"../OsdkObjectPrimaryKeyType.js\";\n\n/**\n * Helper types for converting query definition parameter types to typescript types\n */\nexport namespace QueryParam {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueClientToWire[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectTypeDefinition> =\n | OsdkBase<T>\n | OsdkObjectPrimaryKeyType<T>;\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectTypeDefinition> = ObjectSet<T>;\n}\n\n/**\n * Helper types for converting query result types to typescript types\n */\nexport namespace QueryResult {\n /**\n * Helper type to convert action definition parameter primitives to typescript types\n */\n export type PrimitiveType<T extends keyof DataValueClientToWire> =\n DataValueWireToClient[T];\n\n /**\n * Helper type to convert action definition parameter object types to typescript types\n */\n export type ObjectType<T extends ObjectTypeDefinition> = OsdkBase<T>;\n\n /**\n * Helper type to convert action definition parameter object sets to typescript types\n */\n export type ObjectSetType<T extends ObjectTypeDefinition> = ObjectSet<\n T\n >;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAWA;AACA;AACA;AAFA,WAGiBA,UAAU;AAoB3B;AACA;AACA;AAFA,WAGiBC,WAAW","ignoreList":[]}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+
16
17
  import { TimeDurationMapping } from "../mapping/DurationMapping.js";
17
18
  export const TimeseriesDurationMapping = {
18
19
  "ms": "MILLISECONDS",