@osdk/api 2.0.0-beta.13 → 2.0.0-beta.14

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 (386) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/build/browser/Definitions.d.ts +16 -0
  3. package/build/browser/Definitions.d.ts.map +1 -0
  4. package/build/browser/Definitions.js +17 -0
  5. package/build/browser/Definitions.js.map +1 -0
  6. package/build/browser/OsdkBase.d.ts +13 -0
  7. package/build/browser/OsdkBase.d.ts.map +1 -0
  8. package/build/browser/OsdkBase.js +17 -0
  9. package/build/browser/OsdkBase.js.map +1 -0
  10. package/build/browser/OsdkMetadata.d.ts +4 -0
  11. package/build/browser/OsdkMetadata.d.ts.map +1 -0
  12. package/build/browser/OsdkMetadata.js +17 -0
  13. package/build/browser/OsdkMetadata.js.map +1 -0
  14. package/build/browser/OsdkObject.d.ts +8 -0
  15. package/build/browser/OsdkObject.d.ts.map +1 -0
  16. package/build/browser/OsdkObject.js +17 -0
  17. package/build/browser/OsdkObject.js.map +1 -0
  18. package/build/browser/OsdkObjectFrom.d.ts +36 -0
  19. package/build/browser/OsdkObjectFrom.d.ts.map +1 -0
  20. package/build/browser/OsdkObjectFrom.js +17 -0
  21. package/build/browser/OsdkObjectFrom.js.map +1 -0
  22. package/build/browser/OsdkObjectPrimaryKeyType.d.ts +4 -0
  23. package/build/browser/OsdkObjectPrimaryKeyType.d.ts.map +1 -0
  24. package/build/browser/OsdkObjectPrimaryKeyType.js +17 -0
  25. package/build/browser/OsdkObjectPrimaryKeyType.js.map +1 -0
  26. package/build/browser/PageResult.d.ts +6 -0
  27. package/build/browser/PageResult.d.ts.map +1 -0
  28. package/build/browser/PageResult.js +17 -0
  29. package/build/browser/PageResult.js.map +1 -0
  30. package/build/browser/actions/ActionResults.d.ts +81 -0
  31. package/build/browser/actions/ActionResults.d.ts.map +1 -0
  32. package/build/browser/actions/ActionResults.js +17 -0
  33. package/build/browser/actions/ActionResults.js.map +1 -0
  34. package/build/browser/actions/ActionReturnTypeForOptions.d.ts +7 -0
  35. package/build/browser/actions/ActionReturnTypeForOptions.d.ts.map +1 -0
  36. package/build/browser/actions/ActionReturnTypeForOptions.js +17 -0
  37. package/build/browser/actions/ActionReturnTypeForOptions.js.map +1 -0
  38. package/build/browser/actions/Actions.d.ts +36 -0
  39. package/build/browser/actions/Actions.d.ts.map +1 -0
  40. package/build/browser/actions/Actions.js +17 -0
  41. package/build/browser/actions/Actions.js.map +1 -0
  42. package/build/browser/aggregate/AggregatableKeys.d.ts +16 -0
  43. package/build/browser/aggregate/AggregatableKeys.d.ts.map +1 -0
  44. package/build/browser/aggregate/AggregatableKeys.js +17 -0
  45. package/build/browser/aggregate/AggregatableKeys.js.map +1 -0
  46. package/build/browser/aggregate/AggregateOpts.d.ts +10 -0
  47. package/build/browser/aggregate/AggregateOpts.d.ts.map +1 -0
  48. package/build/browser/aggregate/AggregateOpts.js +17 -0
  49. package/build/browser/aggregate/AggregateOpts.js.map +1 -0
  50. package/build/browser/aggregate/AggregateOptsThatErrors.d.ts +17 -0
  51. package/build/browser/aggregate/AggregateOptsThatErrors.d.ts.map +1 -0
  52. package/build/browser/aggregate/AggregateOptsThatErrors.js +17 -0
  53. package/build/browser/aggregate/AggregateOptsThatErrors.js.map +1 -0
  54. package/build/browser/aggregate/AggregationResultsWithGroups.d.ts +17 -0
  55. package/build/browser/aggregate/AggregationResultsWithGroups.d.ts.map +1 -0
  56. package/build/browser/aggregate/AggregationResultsWithGroups.js +17 -0
  57. package/build/browser/aggregate/AggregationResultsWithGroups.js.map +1 -0
  58. package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts +13 -0
  59. package/build/browser/aggregate/AggregationResultsWithoutGroups.d.ts.map +1 -0
  60. package/build/browser/aggregate/AggregationResultsWithoutGroups.js +17 -0
  61. package/build/browser/aggregate/AggregationResultsWithoutGroups.js.map +1 -0
  62. package/build/browser/aggregate/AggregationsClause.d.ts +10 -0
  63. package/build/browser/aggregate/AggregationsClause.d.ts.map +1 -0
  64. package/build/browser/aggregate/AggregationsClause.js +17 -0
  65. package/build/browser/aggregate/AggregationsClause.js.map +1 -0
  66. package/build/browser/aggregate/AggregationsClause.test.d.ts +47 -0
  67. package/build/browser/aggregate/AggregationsClause.test.d.ts.map +1 -0
  68. package/build/browser/aggregate/AggregationsClause.test.js +20 -0
  69. package/build/browser/aggregate/AggregationsClause.test.js.map +1 -0
  70. package/build/browser/aggregate/AggregationsResults.d.ts +7 -0
  71. package/build/browser/aggregate/AggregationsResults.d.ts.map +1 -0
  72. package/build/browser/aggregate/AggregationsResults.js +17 -0
  73. package/build/browser/aggregate/AggregationsResults.js.map +1 -0
  74. package/build/browser/aggregate/WhereClause.d.ts +78 -0
  75. package/build/browser/aggregate/WhereClause.d.ts.map +1 -0
  76. package/build/browser/aggregate/WhereClause.js +40 -0
  77. package/build/browser/aggregate/WhereClause.js.map +1 -0
  78. package/build/browser/definitions/LinkDefinitions.d.ts +21 -0
  79. package/build/browser/definitions/LinkDefinitions.d.ts.map +1 -0
  80. package/build/browser/definitions/LinkDefinitions.js +17 -0
  81. package/build/browser/definitions/LinkDefinitions.js.map +1 -0
  82. package/build/browser/definitions/LinkDefinitions.test.d.ts +2 -0
  83. package/build/browser/definitions/LinkDefinitions.test.d.ts.map +1 -0
  84. package/build/browser/definitions/LinkDefinitions.test.js +25 -0
  85. package/build/browser/definitions/LinkDefinitions.test.js.map +1 -0
  86. package/build/browser/groupby/GroupByClause.d.ts +73 -0
  87. package/build/browser/groupby/GroupByClause.d.ts.map +1 -0
  88. package/build/browser/groupby/GroupByClause.js +22 -0
  89. package/build/browser/groupby/GroupByClause.js.map +1 -0
  90. package/build/browser/groupby/GroupByClause.test.d.ts +24 -0
  91. package/build/browser/groupby/GroupByClause.test.d.ts.map +1 -0
  92. package/build/browser/groupby/GroupByClause.test.js +20 -0
  93. package/build/browser/groupby/GroupByClause.test.js.map +1 -0
  94. package/build/browser/groupby/GroupByMapper.d.ts +14 -0
  95. package/build/browser/groupby/GroupByMapper.d.ts.map +1 -0
  96. package/build/browser/groupby/GroupByMapper.js +17 -0
  97. package/build/browser/groupby/GroupByMapper.js.map +1 -0
  98. package/build/browser/index.d.ts +43 -0
  99. package/build/browser/index.d.ts.map +1 -0
  100. package/build/browser/index.js +19 -2
  101. package/build/browser/index.js.map +1 -1
  102. package/build/browser/junk.test.d.ts +2 -0
  103. package/build/browser/junk.test.d.ts.map +1 -0
  104. package/build/browser/junk.test.js +22 -0
  105. package/build/browser/junk.test.js.map +1 -0
  106. package/build/browser/mapping/DataValueMapping.d.ts +71 -0
  107. package/build/browser/mapping/DataValueMapping.d.ts.map +1 -0
  108. package/build/browser/mapping/DataValueMapping.js +17 -0
  109. package/build/browser/mapping/DataValueMapping.js.map +1 -0
  110. package/build/browser/mapping/DurationMapping.d.ts +23 -0
  111. package/build/browser/mapping/DurationMapping.d.ts.map +1 -0
  112. package/build/browser/mapping/DurationMapping.js +38 -0
  113. package/build/browser/mapping/DurationMapping.js.map +1 -0
  114. package/build/browser/mapping/PropertyValueMapping.d.ts +47 -0
  115. package/build/browser/mapping/PropertyValueMapping.d.ts.map +1 -0
  116. package/build/browser/mapping/PropertyValueMapping.js +17 -0
  117. package/build/browser/mapping/PropertyValueMapping.js.map +1 -0
  118. package/build/browser/object/Attachment.d.ts +25 -0
  119. package/build/browser/object/Attachment.d.ts.map +1 -0
  120. package/build/browser/object/Attachment.js +17 -0
  121. package/build/browser/object/Attachment.js.map +1 -0
  122. package/build/browser/object/FetchPageArgs.d.ts +34 -0
  123. package/build/browser/object/FetchPageArgs.d.ts.map +1 -0
  124. package/build/browser/object/FetchPageArgs.js +17 -0
  125. package/build/browser/object/FetchPageArgs.js.map +1 -0
  126. package/build/browser/object/FetchPageResult.d.ts +15 -0
  127. package/build/browser/object/FetchPageResult.d.ts.map +1 -0
  128. package/build/browser/object/FetchPageResult.js +17 -0
  129. package/build/browser/object/FetchPageResult.js.map +1 -0
  130. package/build/browser/object/ObjectDefinitions.test.d.ts +2 -0
  131. package/build/browser/object/ObjectDefinitions.test.d.ts.map +1 -0
  132. package/build/browser/object/ObjectDefinitions.test.js +23 -0
  133. package/build/browser/object/ObjectDefinitions.test.js.map +1 -0
  134. package/build/browser/object/Result.d.ts +22 -0
  135. package/build/browser/object/Result.d.ts.map +1 -0
  136. package/build/browser/object/Result.js +32 -0
  137. package/build/browser/object/Result.js.map +1 -0
  138. package/build/browser/objectSet/BaseObjectSet.d.ts +7 -0
  139. package/build/browser/objectSet/BaseObjectSet.d.ts.map +1 -0
  140. package/build/browser/objectSet/BaseObjectSet.js +17 -0
  141. package/build/browser/objectSet/BaseObjectSet.js.map +1 -0
  142. package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +18 -0
  143. package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +1 -0
  144. package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.js +17 -0
  145. package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +1 -0
  146. package/build/browser/objectSet/ObjectSet.d.ts +145 -0
  147. package/build/browser/objectSet/ObjectSet.d.ts.map +1 -0
  148. package/build/browser/objectSet/ObjectSet.js +17 -0
  149. package/build/browser/objectSet/ObjectSet.js.map +1 -0
  150. package/build/browser/ontology/ActionDefinition.d.ts +46 -0
  151. package/build/browser/ontology/ActionDefinition.d.ts.map +1 -0
  152. package/build/browser/ontology/ActionDefinition.js +17 -0
  153. package/build/browser/ontology/ActionDefinition.js.map +1 -0
  154. package/build/browser/ontology/InterfaceDefinition.d.ts +12 -0
  155. package/build/browser/ontology/InterfaceDefinition.d.ts.map +1 -0
  156. package/build/browser/ontology/InterfaceDefinition.js +17 -0
  157. package/build/browser/ontology/InterfaceDefinition.js.map +1 -0
  158. package/build/browser/ontology/ObjectOrInterface.d.ts +5 -0
  159. package/build/browser/ontology/ObjectOrInterface.d.ts.map +1 -0
  160. package/build/browser/ontology/ObjectOrInterface.js +17 -0
  161. package/build/browser/ontology/ObjectOrInterface.js.map +1 -0
  162. package/build/browser/ontology/ObjectTypeDefinition.d.ts +85 -0
  163. package/build/browser/ontology/ObjectTypeDefinition.d.ts.map +1 -0
  164. package/build/browser/ontology/ObjectTypeDefinition.js +17 -0
  165. package/build/browser/ontology/ObjectTypeDefinition.js.map +1 -0
  166. package/build/browser/ontology/OntologyMetadata.d.ts +7 -0
  167. package/build/browser/ontology/OntologyMetadata.d.ts.map +1 -0
  168. package/build/browser/ontology/OntologyMetadata.js +17 -0
  169. package/build/browser/ontology/OntologyMetadata.js.map +1 -0
  170. package/build/browser/ontology/PrimaryKeyTypes.d.ts +2 -0
  171. package/build/browser/ontology/PrimaryKeyTypes.d.ts.map +1 -0
  172. package/build/browser/ontology/PrimaryKeyTypes.js +17 -0
  173. package/build/browser/ontology/PrimaryKeyTypes.js.map +1 -0
  174. package/build/browser/ontology/QueryDefinition.d.ts +68 -0
  175. package/build/browser/ontology/QueryDefinition.d.ts.map +1 -0
  176. package/build/browser/ontology/QueryDefinition.js +17 -0
  177. package/build/browser/ontology/QueryDefinition.js.map +1 -0
  178. package/build/browser/ontology/VersionString.d.ts +2 -0
  179. package/build/browser/ontology/VersionString.d.ts.map +1 -0
  180. package/build/browser/ontology/VersionString.js +17 -0
  181. package/build/browser/ontology/VersionString.js.map +1 -0
  182. package/build/browser/ontology/WirePropertyTypes.d.ts +2 -0
  183. package/build/browser/ontology/WirePropertyTypes.d.ts.map +1 -0
  184. package/build/browser/ontology/WirePropertyTypes.js +17 -0
  185. package/build/browser/ontology/WirePropertyTypes.js.map +1 -0
  186. package/build/browser/public/unstable.d.ts +6 -0
  187. package/build/browser/public/unstable.d.ts.map +1 -0
  188. package/build/browser/public/unstable.js +19 -0
  189. package/build/browser/public/unstable.js.map +1 -0
  190. package/build/browser/queries/Queries.d.ts +41 -0
  191. package/build/browser/queries/Queries.d.ts.map +1 -0
  192. package/build/browser/queries/Queries.js +17 -0
  193. package/build/browser/queries/Queries.js.map +1 -0
  194. package/build/browser/timeseries/timeseries.d.ts +89 -0
  195. package/build/browser/timeseries/timeseries.d.ts.map +1 -0
  196. package/build/browser/timeseries/timeseries.js +22 -0
  197. package/build/browser/timeseries/timeseries.js.map +1 -0
  198. package/build/browser/util/LinkUtils.d.ts +5 -0
  199. package/build/browser/util/LinkUtils.d.ts.map +1 -0
  200. package/build/browser/util/LinkUtils.js +17 -0
  201. package/build/browser/util/LinkUtils.js.map +1 -0
  202. package/build/esm/Definitions.d.ts +16 -0
  203. package/build/esm/Definitions.d.ts.map +1 -0
  204. package/build/esm/Definitions.js +17 -0
  205. package/build/esm/Definitions.js.map +1 -0
  206. package/build/esm/OsdkBase.d.ts +13 -0
  207. package/build/esm/OsdkBase.d.ts.map +1 -0
  208. package/build/esm/OsdkBase.js +17 -0
  209. package/build/esm/OsdkBase.js.map +1 -0
  210. package/build/esm/OsdkMetadata.js +17 -0
  211. package/build/esm/OsdkMetadata.js.map +1 -0
  212. package/build/esm/OsdkObject.d.ts +8 -0
  213. package/build/esm/OsdkObject.d.ts.map +1 -0
  214. package/build/esm/OsdkObject.js +17 -0
  215. package/build/esm/OsdkObject.js.map +1 -0
  216. package/build/esm/OsdkObjectFrom.d.ts +36 -0
  217. package/build/esm/OsdkObjectFrom.d.ts.map +1 -0
  218. package/build/esm/OsdkObjectFrom.js +17 -0
  219. package/build/esm/OsdkObjectFrom.js.map +1 -0
  220. package/build/esm/OsdkObjectPrimaryKeyType.d.ts +4 -0
  221. package/build/esm/OsdkObjectPrimaryKeyType.d.ts.map +1 -0
  222. package/build/esm/OsdkObjectPrimaryKeyType.js +17 -0
  223. package/build/esm/OsdkObjectPrimaryKeyType.js.map +1 -0
  224. package/build/esm/PageResult.d.ts +6 -0
  225. package/build/esm/PageResult.d.ts.map +1 -0
  226. package/build/esm/PageResult.js +17 -0
  227. package/build/esm/PageResult.js.map +1 -0
  228. package/build/esm/actions/ActionResults.d.ts +81 -0
  229. package/build/esm/actions/ActionResults.d.ts.map +1 -0
  230. package/build/esm/actions/ActionResults.js +17 -0
  231. package/build/esm/actions/ActionResults.js.map +1 -0
  232. package/build/esm/actions/ActionReturnTypeForOptions.d.ts +7 -0
  233. package/build/esm/actions/ActionReturnTypeForOptions.d.ts.map +1 -0
  234. package/build/esm/actions/ActionReturnTypeForOptions.js +17 -0
  235. package/build/esm/actions/ActionReturnTypeForOptions.js.map +1 -0
  236. package/build/esm/actions/Actions.d.ts +36 -0
  237. package/build/esm/actions/Actions.d.ts.map +1 -0
  238. package/build/esm/actions/Actions.js +17 -0
  239. package/build/esm/actions/Actions.js.map +1 -0
  240. package/build/esm/aggregate/AggregatableKeys.d.ts +16 -0
  241. package/build/esm/aggregate/AggregatableKeys.d.ts.map +1 -0
  242. package/build/esm/aggregate/AggregatableKeys.js +17 -0
  243. package/build/esm/aggregate/AggregatableKeys.js.map +1 -0
  244. package/build/esm/aggregate/AggregateOpts.d.ts +10 -0
  245. package/build/esm/aggregate/AggregateOpts.d.ts.map +1 -0
  246. package/build/esm/aggregate/AggregateOpts.js +17 -0
  247. package/build/esm/aggregate/AggregateOpts.js.map +1 -0
  248. package/build/esm/aggregate/AggregateOptsThatErrors.d.ts +17 -0
  249. package/build/esm/aggregate/AggregateOptsThatErrors.d.ts.map +1 -0
  250. package/build/esm/aggregate/AggregateOptsThatErrors.js +17 -0
  251. package/build/esm/aggregate/AggregateOptsThatErrors.js.map +1 -0
  252. package/build/esm/aggregate/AggregationResultsWithGroups.d.ts +17 -0
  253. package/build/esm/aggregate/AggregationResultsWithGroups.d.ts.map +1 -0
  254. package/build/esm/aggregate/AggregationResultsWithGroups.js +17 -0
  255. package/build/esm/aggregate/AggregationResultsWithGroups.js.map +1 -0
  256. package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts +13 -0
  257. package/build/esm/aggregate/AggregationResultsWithoutGroups.d.ts.map +1 -0
  258. package/build/esm/aggregate/AggregationResultsWithoutGroups.js +17 -0
  259. package/build/esm/aggregate/AggregationResultsWithoutGroups.js.map +1 -0
  260. package/build/esm/aggregate/AggregationsClause.d.ts +10 -0
  261. package/build/esm/aggregate/AggregationsClause.d.ts.map +1 -0
  262. package/build/esm/aggregate/AggregationsClause.js +17 -0
  263. package/build/esm/aggregate/AggregationsClause.js.map +1 -0
  264. package/build/esm/aggregate/AggregationsClause.test.d.ts +47 -0
  265. package/build/esm/aggregate/AggregationsClause.test.d.ts.map +1 -0
  266. package/build/esm/aggregate/AggregationsClause.test.js +20 -0
  267. package/build/esm/aggregate/AggregationsClause.test.js.map +1 -0
  268. package/build/esm/aggregate/AggregationsResults.d.ts +7 -0
  269. package/build/esm/aggregate/AggregationsResults.d.ts.map +1 -0
  270. package/build/esm/aggregate/AggregationsResults.js +17 -0
  271. package/build/esm/aggregate/AggregationsResults.js.map +1 -0
  272. package/build/esm/aggregate/WhereClause.d.ts +78 -0
  273. package/build/esm/aggregate/WhereClause.d.ts.map +1 -0
  274. package/build/esm/aggregate/WhereClause.js +40 -0
  275. package/build/esm/aggregate/WhereClause.js.map +1 -0
  276. package/build/esm/definitions/LinkDefinitions.d.ts +21 -0
  277. package/build/esm/definitions/LinkDefinitions.d.ts.map +1 -0
  278. package/build/esm/definitions/LinkDefinitions.js +17 -0
  279. package/build/esm/definitions/LinkDefinitions.js.map +1 -0
  280. package/build/esm/definitions/LinkDefinitions.test.d.ts +2 -0
  281. package/build/esm/definitions/LinkDefinitions.test.d.ts.map +1 -0
  282. package/build/esm/definitions/LinkDefinitions.test.js +25 -0
  283. package/build/esm/definitions/LinkDefinitions.test.js.map +1 -0
  284. package/build/esm/groupby/GroupByClause.d.ts +73 -0
  285. package/build/esm/groupby/GroupByClause.d.ts.map +1 -0
  286. package/build/esm/groupby/GroupByClause.js +22 -0
  287. package/build/esm/groupby/GroupByClause.js.map +1 -0
  288. package/build/esm/groupby/GroupByClause.test.d.ts +24 -0
  289. package/build/esm/groupby/GroupByClause.test.d.ts.map +1 -0
  290. package/build/esm/groupby/GroupByClause.test.js +20 -0
  291. package/build/esm/groupby/GroupByClause.test.js.map +1 -0
  292. package/build/esm/groupby/GroupByMapper.d.ts +14 -0
  293. package/build/esm/groupby/GroupByMapper.d.ts.map +1 -0
  294. package/build/esm/groupby/GroupByMapper.js +17 -0
  295. package/build/esm/groupby/GroupByMapper.js.map +1 -0
  296. package/build/esm/index.d.ts +37 -5
  297. package/build/esm/index.d.ts.map +1 -1
  298. package/build/esm/index.js +19 -2
  299. package/build/esm/index.js.map +1 -1
  300. package/build/esm/junk.test.js +22 -0
  301. package/build/esm/junk.test.js.map +1 -0
  302. package/build/esm/mapping/DataValueMapping.d.ts +71 -0
  303. package/build/esm/mapping/DataValueMapping.d.ts.map +1 -0
  304. package/build/esm/mapping/DataValueMapping.js +17 -0
  305. package/build/esm/mapping/DataValueMapping.js.map +1 -0
  306. package/build/esm/mapping/DurationMapping.d.ts +23 -0
  307. package/build/esm/mapping/DurationMapping.d.ts.map +1 -0
  308. package/build/esm/mapping/DurationMapping.js +38 -0
  309. package/build/esm/mapping/DurationMapping.js.map +1 -0
  310. package/build/esm/mapping/PropertyValueMapping.d.ts +47 -0
  311. package/build/esm/mapping/PropertyValueMapping.d.ts.map +1 -0
  312. package/build/esm/mapping/PropertyValueMapping.js +17 -0
  313. package/build/esm/mapping/PropertyValueMapping.js.map +1 -0
  314. package/build/esm/object/Attachment.d.ts +25 -0
  315. package/build/esm/object/Attachment.d.ts.map +1 -0
  316. package/build/esm/object/Attachment.js +17 -0
  317. package/build/esm/object/Attachment.js.map +1 -0
  318. package/build/esm/object/FetchPageArgs.d.ts +34 -0
  319. package/build/esm/object/FetchPageArgs.d.ts.map +1 -0
  320. package/build/esm/object/FetchPageArgs.js +17 -0
  321. package/build/esm/object/FetchPageArgs.js.map +1 -0
  322. package/build/esm/object/FetchPageResult.d.ts +15 -0
  323. package/build/esm/object/FetchPageResult.d.ts.map +1 -0
  324. package/build/esm/object/FetchPageResult.js +17 -0
  325. package/build/esm/object/FetchPageResult.js.map +1 -0
  326. package/build/esm/object/ObjectDefinitions.test.d.ts +2 -0
  327. package/build/esm/object/ObjectDefinitions.test.d.ts.map +1 -0
  328. package/build/esm/object/ObjectDefinitions.test.js +23 -0
  329. package/build/esm/object/ObjectDefinitions.test.js.map +1 -0
  330. package/build/esm/object/Result.d.ts +22 -0
  331. package/build/esm/object/Result.d.ts.map +1 -0
  332. package/build/esm/object/Result.js +32 -0
  333. package/build/esm/object/Result.js.map +1 -0
  334. package/build/esm/objectSet/BaseObjectSet.d.ts +7 -0
  335. package/build/esm/objectSet/BaseObjectSet.d.ts.map +1 -0
  336. package/build/esm/objectSet/BaseObjectSet.js +17 -0
  337. package/build/esm/objectSet/BaseObjectSet.js.map +1 -0
  338. package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +18 -0
  339. package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +1 -0
  340. package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.js +17 -0
  341. package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +1 -0
  342. package/build/esm/objectSet/ObjectSet.d.ts +145 -0
  343. package/build/esm/objectSet/ObjectSet.d.ts.map +1 -0
  344. package/build/esm/objectSet/ObjectSet.js +17 -0
  345. package/build/esm/objectSet/ObjectSet.js.map +1 -0
  346. package/build/esm/ontology/ActionDefinition.d.ts +30 -28
  347. package/build/esm/ontology/ActionDefinition.d.ts.map +1 -1
  348. package/build/esm/ontology/ActionDefinition.js +17 -0
  349. package/build/esm/ontology/ActionDefinition.js.map +1 -0
  350. package/build/esm/ontology/InterfaceDefinition.js +17 -0
  351. package/build/esm/ontology/InterfaceDefinition.js.map +1 -0
  352. package/build/esm/ontology/ObjectOrInterface.d.ts +0 -2
  353. package/build/esm/ontology/ObjectOrInterface.d.ts.map +1 -1
  354. package/build/esm/ontology/ObjectOrInterface.js +17 -0
  355. package/build/esm/ontology/ObjectOrInterface.js.map +1 -0
  356. package/build/esm/ontology/ObjectTypeDefinition.js +17 -0
  357. package/build/esm/ontology/ObjectTypeDefinition.js.map +1 -0
  358. package/build/esm/ontology/OntologyMetadata.js +17 -0
  359. package/build/esm/ontology/OntologyMetadata.js.map +1 -0
  360. package/build/esm/ontology/PrimaryKeyTypes.js +17 -0
  361. package/build/esm/ontology/PrimaryKeyTypes.js.map +1 -0
  362. package/build/esm/ontology/QueryDefinition.js +17 -0
  363. package/build/esm/ontology/QueryDefinition.js.map +1 -0
  364. package/build/esm/ontology/VersionString.js +17 -0
  365. package/build/esm/ontology/VersionString.js.map +1 -0
  366. package/build/esm/ontology/WirePropertyTypes.js +17 -0
  367. package/build/esm/ontology/WirePropertyTypes.js.map +1 -0
  368. package/build/esm/public/unstable.d.ts +6 -0
  369. package/build/esm/public/unstable.d.ts.map +1 -0
  370. package/build/esm/public/unstable.js +19 -0
  371. package/build/esm/public/unstable.js.map +1 -0
  372. package/build/esm/queries/Queries.d.ts +41 -0
  373. package/build/esm/queries/Queries.d.ts.map +1 -0
  374. package/build/esm/queries/Queries.js +17 -0
  375. package/build/esm/queries/Queries.js.map +1 -0
  376. package/build/esm/timeseries/timeseries.d.ts +89 -0
  377. package/build/esm/timeseries/timeseries.d.ts.map +1 -0
  378. package/build/esm/timeseries/timeseries.js +22 -0
  379. package/build/esm/timeseries/timeseries.js.map +1 -0
  380. package/build/esm/util/LinkUtils.d.ts +5 -0
  381. package/build/esm/util/LinkUtils.d.ts.map +1 -0
  382. package/build/esm/util/LinkUtils.js +17 -0
  383. package/build/esm/util/LinkUtils.js.map +1 -0
  384. package/package.json +7 -5
  385. package/build/esm/ontology/index.d.ts +0 -7
  386. package/build/esm/ontology/index.d.ts.map +0 -1
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=ObjectOrInterface.js.map
@@ -0,0 +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":[]}
@@ -0,0 +1,85 @@
1
+ import type { ObjectOrInterfaceDefinition, PropertyKeys } from "../index.js";
2
+ import type { OsdkMetadata } from "../OsdkMetadata.js";
3
+ import type { PrimaryKeyTypes } from "./PrimaryKeyTypes.js";
4
+ import type { VersionString } from "./VersionString.js";
5
+ import type { WirePropertyTypes } from "./WirePropertyTypes.js";
6
+ export type CompileTimeMetadata<T extends {
7
+ __DefinitionMetadata?: {};
8
+ }> = NonNullable<T["__DefinitionMetadata"]>;
9
+ export type ObjectTypePropertyDefinitionFrom2<Q extends ObjectOrInterfaceDefinition<any, any>, P extends PropertyKeys<Q>> = CompileTimeMetadata<Q>["properties"][P];
10
+ export interface ObjectInterfaceBaseDefinition<K extends string, N = unknown> {
11
+ type: "object" | "interface";
12
+ apiName: K;
13
+ displayName: string;
14
+ description?: string;
15
+ properties: Record<string, ObjectTypePropertyDefinition>;
16
+ links: Record<string, ObjectTypeLinkDefinition<any, any>>;
17
+ rid: string;
18
+ /**
19
+ * Represents the "super interfaces" of this object.
20
+ *
21
+ * Optional because they may not exist on legacy.
22
+ */
23
+ implements?: ReadonlyArray<string>;
24
+ }
25
+ export interface ObjectInterfaceCompileDefinition {
26
+ type: "object" | "interface";
27
+ objectSet?: any;
28
+ props?: any;
29
+ strictProps?: any;
30
+ linksType?: any;
31
+ }
32
+ export interface VersionBound<V extends VersionString<any, any, any>> {
33
+ __expectedClientVersion?: V;
34
+ }
35
+ export interface ObjectMetadata<K extends string, N = unknown> extends ObjectInterfaceBaseDefinition<K, N> {
36
+ type: "object";
37
+ primaryKeyApiName: keyof this["properties"];
38
+ titleProperty: keyof this["properties"];
39
+ primaryKeyType: PrimaryKeyTypes;
40
+ icon?: Icon;
41
+ visibility?: ObjectTypeVisibility;
42
+ pluralDisplayName: string;
43
+ status: ReleaseStatus;
44
+ interfaceMap: Record<string, Record<string, string>>;
45
+ inverseInterfaceMap: Record<string, Record<string, string>>;
46
+ }
47
+ export interface ObjectTypeDefinition<K extends string, N = unknown> {
48
+ type: "object";
49
+ apiName: K;
50
+ osdkMetadata?: OsdkMetadata;
51
+ __DefinitionMetadata?: ObjectMetadata<K, N> & ObjectInterfaceCompileDefinition;
52
+ }
53
+ export type ObjectTypeLinkKeysFrom2<Q extends ObjectTypeDefinition<any, any>> = keyof CompileTimeMetadata<Q>["links"] & string;
54
+ export interface ObjectTypeLinkDefinition<Q extends ObjectTypeDefinition<any, any>, M extends boolean> {
55
+ __OsdkLinkTargetType?: Q;
56
+ targetType: Q["apiName"];
57
+ multiplicity: M;
58
+ }
59
+ export type BrandedApiName<K extends string, N> = K & {
60
+ __OsdkType?: N;
61
+ __Unbranded?: K;
62
+ };
63
+ export interface ObjectTypePropertyDefinition {
64
+ readonly?: boolean;
65
+ displayName?: string;
66
+ description?: string;
67
+ type: WirePropertyTypes;
68
+ multiplicity?: boolean;
69
+ nullable?: boolean;
70
+ }
71
+ export type PropertyDef<T extends WirePropertyTypes, N extends "nullable" | "non-nullable" = "nullable", M extends "array" | "single" = "single", E extends Record<string, any> = {}> = {
72
+ type: T;
73
+ multiplicity: M extends "array" ? true : false;
74
+ nullable: N extends "nullable" ? true : false;
75
+ } & E & ObjectTypePropertyDefinition;
76
+ export type ReleaseStatus = "ACTIVE" | "EXPERIMENTAL" | "DEPRECATED";
77
+ type ObjectTypeVisibility = "NORMAL" | "PROMINENT" | "HIDDEN";
78
+ type BlueprintIcon = {
79
+ type: "blueprint";
80
+ color: string;
81
+ name: string;
82
+ };
83
+ type Icon = BlueprintIcon;
84
+ export {};
85
+ //# sourceMappingURL=ObjectTypeDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObjectTypeDefinition.d.ts","sourceRoot":"","sources":["../../../src/ontology/ObjectTypeDefinition.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,2BAA2B,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS;IAAE,oBAAoB,CAAC,EAAE,EAAE,CAAA;CAAE,IACrE,WAAW,CACT,CAAC,CAAC,sBAAsB,CAAC,CAC1B,CAAC;AAEJ,MAAM,MAAM,iCAAiC,CAC3C,CAAC,SAAS,2BAA2B,CAAC,GAAG,EAAE,GAAG,CAAC,EAC/C,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,IACvB,mBAAmB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5C,MAAM,WAAW,6BAA6B,CAAC,CAAC,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ED,MAAM,MAAM,WAAW,CACrB,CAAC,SAAS,iBAAiB,EAC3B,CAAC,SAAS,UAAU,GAAG,cAAc,GAAG,UAAU,EAClD,CAAC,SAAS,OAAO,GAAG,QAAQ,GAAG,QAAQ,EACvC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE,IAEhC;IACA,IAAI,EAAE,CAAC,CAAC;IACR,YAAY,EAAE,CAAC,SAAS,OAAO,GAAG,IAAI,GAAG,KAAK,CAAC;IAC/C,QAAQ,EAAE,CAAC,SAAS,UAAU,GAAG,IAAI,GAAG,KAAK,CAAC;CAC/C,GACC,CAAC,GACD,4BAA4B,CAAC;AAEjC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,cAAc,GAAG,YAAY,CAAC;AAErE,KAAK,oBAAoB,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE9D,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,IAAI,GAAG,aAAa,CAAC"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=ObjectTypeDefinition.js.map
@@ -0,0 +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":[]}
@@ -0,0 +1,7 @@
1
+ export interface OntologyMetadata<_NEVER_USED_KEPT_FOR_BACKCOMPAT = any> {
2
+ expectsClientVersion?: _NEVER_USED_KEPT_FOR_BACKCOMPAT;
3
+ ontologyRid: string;
4
+ ontologyApiName: string;
5
+ userAgent: string;
6
+ }
7
+ //# sourceMappingURL=OntologyMetadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyMetadata.d.ts","sourceRoot":"","sources":["../../../src/ontology/OntologyMetadata.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,gBAAgB,CAAC,+BAA+B,GAAG,GAAG;IACrE,oBAAoB,CAAC,EAAE,+BAA+B,CAAC;IACvD,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=OntologyMetadata.js.map
@@ -0,0 +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":[]}
@@ -0,0 +1,2 @@
1
+ export type PrimaryKeyTypes = "string" | "datetime" | "double" | "boolean" | "integer" | "timestamp" | "short" | "long" | "byte";
2
+ //# sourceMappingURL=PrimaryKeyTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrimaryKeyTypes.d.ts","sourceRoot":"","sources":["../../../src/ontology/PrimaryKeyTypes.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,SAAS,GACT,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,GACN,MAAM,CAAC"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=PrimaryKeyTypes.js.map
@@ -0,0 +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":[]}
@@ -0,0 +1,68 @@
1
+ import type { OsdkMetadata } from "../OsdkMetadata.js";
2
+ import type { ObjectTypeDefinition } from "./ObjectTypeDefinition.js";
3
+ export interface QueryMetadata<A extends string, K extends string> {
4
+ type: "query";
5
+ apiName: A;
6
+ description?: string;
7
+ displayName?: string;
8
+ version: string;
9
+ parameters: Record<string, QueryParameterDefinition<K, any>>;
10
+ output: QueryDataTypeDefinition<K, any>;
11
+ rid: string;
12
+ }
13
+ export interface QueryCompileTimeMetadata<T> {
14
+ signature: T;
15
+ }
16
+ export interface QueryDefinition<A extends string, K extends string, T = never> {
17
+ type: "query";
18
+ apiName: A;
19
+ osdkMetadata?: OsdkMetadata;
20
+ __DefinitionMetadata?: QueryCompileTimeMetadata<T> & QueryMetadata<A, K>;
21
+ }
22
+ export type QueryParameterDefinition<K extends string, T_Target extends ObjectTypeDefinition<any> = never> = {
23
+ description?: string;
24
+ } & QueryDataTypeDefinition<K, T_Target>;
25
+ export type QueryDataTypeDefinition<K extends string, T_Target extends ObjectTypeDefinition<any> = never> = PrimitiveDataType | ObjectQueryDataType<K, T_Target> | ObjectSetQueryDataType<K, T_Target> | SetQueryDataType<K> | UnionQueryDataType<K> | StructQueryDataType<K> | TwoDimensionalAggregationDataType | ThreeDimensionalAggregationDataType;
26
+ export type BaseQueryDataTypeDefinition<T extends string> = {
27
+ multiplicity?: boolean;
28
+ nullable?: boolean;
29
+ type: T;
30
+ };
31
+ export type WireQueryDataTypes = "double" | "float" | "integer" | "long" | "boolean" | "string" | "date" | "timestamp" | "attachment";
32
+ export type PrimitiveDataType<Q extends WireQueryDataTypes = WireQueryDataTypes> = BaseQueryDataTypeDefinition<Q>;
33
+ export interface ObjectQueryDataType<K extends string, T_Target extends ObjectTypeDefinition<any> = never> extends BaseQueryDataTypeDefinition<"object"> {
34
+ object: K;
35
+ __OsdkTargetType?: T_Target;
36
+ }
37
+ export interface ObjectSetQueryDataType<K extends string, T_Target extends ObjectTypeDefinition<any> = never> extends BaseQueryDataTypeDefinition<"objectSet"> {
38
+ objectSet: K;
39
+ __OsdkTargetType?: T_Target;
40
+ }
41
+ export interface SetQueryDataType<K extends string> extends BaseQueryDataTypeDefinition<"set"> {
42
+ set: QueryDataTypeDefinition<K>;
43
+ }
44
+ export interface UnionQueryDataType<K extends string> extends BaseQueryDataTypeDefinition<"union"> {
45
+ union: ReadonlyArray<QueryDataTypeDefinition<K>>;
46
+ }
47
+ export interface StructQueryDataType<K extends string> extends BaseQueryDataTypeDefinition<"struct"> {
48
+ struct: Record<string, QueryDataTypeDefinition<K>>;
49
+ }
50
+ export interface TwoDimensionalAggregationDataType extends BaseQueryDataTypeDefinition<"twoDimensionalAggregation"> {
51
+ twoDimensionalAggregation: TwoDimensionalQueryAggregationDefinition;
52
+ }
53
+ export interface ThreeDimensionalAggregationDataType extends BaseQueryDataTypeDefinition<"threeDimensionalAggregation"> {
54
+ threeDimensionalAggregation: ThreeDimensionalQueryAggregationDefinition;
55
+ }
56
+ export type AggregationKeyDataType<V = any> = SimpleAggregationKeyDataType<V> | RangeAggregationKeyDataType<V>;
57
+ export interface SimpleAggregationKeyDataType<V = any> {
58
+ keyType: "boolean" | "string";
59
+ valueType: V;
60
+ }
61
+ export interface RangeAggregationKeyDataType<V = any> {
62
+ keyType: "range";
63
+ keySubtype: "date" | "double" | "integer" | "timestamp";
64
+ valueType: V;
65
+ }
66
+ export type TwoDimensionalQueryAggregationDefinition = AggregationKeyDataType<"date" | "double" | "timestamp">;
67
+ export type ThreeDimensionalQueryAggregationDefinition = AggregationKeyDataType<TwoDimensionalQueryAggregationDefinition>;
68
+ //# sourceMappingURL=QueryDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryDefinition.d.ts","sourceRoot":"","sources":["../../../src/ontology/QueryDefinition.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,WAAW,aAAa,CAC5B,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,MAAM;IAEhB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;IAC7D,MAAM,EAAE,uBAAuB,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACxC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,SAAS,EAAE,CAAC,CAAC;CACd;AAED,MAAM,WAAW,eAAe,CAC9B,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,MA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AEnC,MAAM,WAAW,4BAA4B,CAAC,CAAC,GAAG,GAAG;IACnD,OAAO,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC9B,SAAS,EAAE,CAAC,CAAC;CACd;AAED,MAAM,WAAW,2BAA2B,CAAC,CAAC,GAAG,GAAG;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC;IACxD,SAAS,EAAE,CAAC,CAAC;CACd;AAED,MAAM,MAAM,wCAAwC,GAAG,sBAAsB,CAC3E,MAAM,GAAG,QAAQ,GAAG,WAAW,CAChC,CAAC;AAEF,MAAM,MAAM,0CAA0C,GAAG,sBAAsB,CAC7E,wCAAwC,CACzC,CAAC"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=QueryDefinition.js.map
@@ -0,0 +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":[]}
@@ -0,0 +1,2 @@
1
+ export type VersionString<Major extends number, Minor extends number, Patch extends number> = `${Major}.${Minor}.${Patch}`;
2
+ //# sourceMappingURL=VersionString.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VersionString.d.ts","sourceRoot":"","sources":["../../../src/ontology/VersionString.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,aAAa,CACvB,KAAK,SAAS,MAAM,EACpB,KAAK,SAAS,MAAM,EACpB,KAAK,SAAS,MAAM,IAClB,GAAG,KAAK,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=VersionString.js.map
@@ -0,0 +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":[]}
@@ -0,0 +1,2 @@
1
+ export type WirePropertyTypes = "string" | "datetime" | "double" | "boolean" | "integer" | "timestamp" | "short" | "long" | "float" | "decimal" | "byte" | "marking" | "numericTimeseries" | "stringTimeseries" | "attachment" | "geopoint" | "geoshape";
2
+ //# sourceMappingURL=WirePropertyTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WirePropertyTypes.d.ts","sourceRoot":"","sources":["../../../src/ontology/WirePropertyTypes.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,iBAAiB,GACzB,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,SAAS,GACT,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,GACN,SAAS,GACT,mBAAmB,GACnB,kBAAkB,GAClB,YAAY,GACZ,UAAU,GACV,UAAU,CAAC"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=WirePropertyTypes.js.map
@@ -0,0 +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":[]}
@@ -0,0 +1,6 @@
1
+ export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe: unique symbol;
2
+ export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet: unique symbol;
3
+ export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks: unique symbol;
4
+ export type { EXPERIMENTAL_ObjectSetListener } from "../objectSet/EXPERIMENTAL_ObjectSetListener.js";
5
+ export type { MinimalObjectSet } from "../objectSet/ObjectSet.js";
6
+ //# sourceMappingURL=unstable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unstable.d.ts","sourceRoot":"","sources":["../../../src/public/unstable.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,2CAA2C,eAAW,CAAC;AAEpE,eAAO,MAAM,uDAAuD,eAAW,CAAC;AAChF,eAAO,MAAM,+CAA+C,eAAW,CAAC;AAExE,YAAY,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AACrG,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export const __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe = Symbol();
17
+ export const __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet = Symbol();
18
+ export const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = Symbol();
19
+ //# sourceMappingURL=unstable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe","Symbol","__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet","__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks"],"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 const __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe = Symbol();\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet = Symbol();\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = Symbol();\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,2CAA2C,GAAGC,MAAM,CAAC,CAAC;AACnE,OAAO,MAAMC,uDAAuD,GAAGD,MAAM,CAAC,CAAC;AAC/E,OAAO,MAAME,+CAA+C,GAAGF,MAAM,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ import type { DataValueClientToWire, DataValueWireToClient } from "../mapping/DataValueMapping.js";
2
+ import type { BaseObjectSet } from "../objectSet/BaseObjectSet.js";
3
+ import type { ObjectSet } from "../objectSet/ObjectSet.js";
4
+ import type { ObjectTypeDefinition } from "../ontology/ObjectTypeDefinition.js";
5
+ import type { OsdkBase } from "../OsdkBase.js";
6
+ import type { OsdkObjectPrimaryKeyType } from "../OsdkObjectPrimaryKeyType.js";
7
+ /**
8
+ * Helper types for converting query definition parameter types to typescript types
9
+ */
10
+ export declare namespace QueryParam {
11
+ /**
12
+ * Helper type to convert action definition parameter primitives to typescript types
13
+ */
14
+ type PrimitiveType<T extends keyof DataValueClientToWire> = DataValueClientToWire[T];
15
+ /**
16
+ * Helper type to convert action definition parameter object types to typescript types
17
+ */
18
+ type ObjectType<T extends ObjectTypeDefinition<any>> = OsdkBase<T> | OsdkObjectPrimaryKeyType<T>;
19
+ /**
20
+ * Helper type to convert action definition parameter object sets to typescript types
21
+ */
22
+ type ObjectSetType<T extends ObjectTypeDefinition<any>> = BaseObjectSet<T>;
23
+ }
24
+ /**
25
+ * Helper types for converting query result types to typescript types
26
+ */
27
+ export declare namespace QueryResult {
28
+ /**
29
+ * Helper type to convert action definition parameter primitives to typescript types
30
+ */
31
+ type PrimitiveType<T extends keyof DataValueClientToWire> = DataValueWireToClient[T];
32
+ /**
33
+ * Helper type to convert action definition parameter object types to typescript types
34
+ */
35
+ type ObjectType<T extends ObjectTypeDefinition<any>> = OsdkBase<T>;
36
+ /**
37
+ * Helper type to convert action definition parameter object sets to typescript types
38
+ */
39
+ type ObjectSetType<T extends ObjectTypeDefinition<any>> = ObjectSet<T>;
40
+ }
41
+ //# sourceMappingURL=Queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Queries.d.ts","sourceRoot":"","sources":["../../../src/queries/Queries.ts"],"names":[],"mappings":"A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apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=Queries.js.map
@@ -0,0 +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":[]}
@@ -0,0 +1,89 @@
1
+ export type TimeSeriesQuery = {
2
+ $before: number;
3
+ $unit: keyof typeof TimeseriesDurationMapping;
4
+ $after?: never;
5
+ $startTime?: never;
6
+ $endTime?: never;
7
+ } | {
8
+ $after: number;
9
+ $unit: keyof typeof TimeseriesDurationMapping;
10
+ $before?: never;
11
+ $startTime?: never;
12
+ $endTime?: never;
13
+ } | {
14
+ $startTime: string;
15
+ $endTime?: string;
16
+ $before?: never;
17
+ $after?: never;
18
+ $unit?: never;
19
+ } | {
20
+ $startTime?: string;
21
+ $endTime: string;
22
+ $before?: never;
23
+ $after?: never;
24
+ $unit?: never;
25
+ };
26
+ export type TimeseriesDurationUnits = "YEARS" | "MONTHS" | "WEEKS" | "DAYS" | "HOURS" | "MINUTES" | "SECONDS" | "MILLISECONDS";
27
+ export declare const TimeseriesDurationMapping: {
28
+ sec: "SECONDS";
29
+ seconds: "SECONDS";
30
+ min: "MINUTES";
31
+ minute: "MINUTES";
32
+ minutes: "MINUTES";
33
+ hr: "HOURS";
34
+ hrs: "HOURS";
35
+ hour: "HOURS";
36
+ hours: "HOURS";
37
+ day: "DAYS";
38
+ days: "DAYS";
39
+ wk: "WEEKS";
40
+ week: "WEEKS";
41
+ weeks: "WEEKS";
42
+ mos: "MONTHS";
43
+ month: "MONTHS";
44
+ months: "MONTHS";
45
+ yr: "YEARS";
46
+ year: "YEARS";
47
+ years: "YEARS";
48
+ ms: "MILLISECONDS";
49
+ milliseconds: "MILLISECONDS";
50
+ };
51
+ export interface TimeSeriesPoint<T extends string | number> {
52
+ time: string;
53
+ value: T;
54
+ }
55
+ export interface TimeSeriesProperty<T extends number | string> {
56
+ /**
57
+ * Queries the first point of the Timeseries
58
+ */
59
+ getFirstPoint: () => Promise<TimeSeriesPoint<T>>;
60
+ /**
61
+ * Queries the last point of the Timeseries
62
+ */
63
+ getLastPoint: () => Promise<TimeSeriesPoint<T>>;
64
+ /**
65
+ * Loads all points, within the given time range if that's provided
66
+ * @param query - a query representing either an absolute or relative range of time
67
+ * @example
68
+ * const points = await employee.employeeStatus?.getAllPoints({
69
+ $after: 1,
70
+ $unit: "month",
71
+ });
72
+ */
73
+ getAllPoints: (query?: TimeSeriesQuery) => Promise<Array<TimeSeriesPoint<T>>>;
74
+ /**
75
+ * Returns an async iterator to load all points
76
+ * within the given time range if that's provided
77
+ * @param query - a query representing either an absolute or relative range of time
78
+ * @example
79
+ * const iterator = employee.employeeStatus?.asyncIter({
80
+ $after: 1,
81
+ $unit: "month",
82
+ });
83
+ for await (const point of iterator) {
84
+ // Handle time series point
85
+ }
86
+ */
87
+ asyncIterPoints: (query?: TimeSeriesQuery) => AsyncGenerator<TimeSeriesPoint<T>>;
88
+ }
89
+ //# sourceMappingURL=timeseries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeseries.d.ts","sourceRoot":"","sources":["../../../src/timeseries/timeseries.ts"],"names":[],"mappings":"AAkBA,MAAM,MAAM,eAAe,GACvB;IACA,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,OAAO,yBAAyB,CAAC;IAC9C,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB,GACC;IACA,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,OAAO,yBAAyB,CAAC;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB,GACC;IACA,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GACC;IACA,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAC/B,OAAO,GACP,QAAQ,GACR,OAAO,GACP,MAAM,GACN,OAAO,GACP,SAAS,GACT,SAAS,GACT,cAAc,CAAC;AAEnB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;CAIa,CAAC;AAEpD,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,CAAC,CAAC;CACV;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAC3D;;OAEG;IACH,aAAa,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IACjD;;OAEG;IACH,YAAY,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD;;;;;;;;SAQK;IACL,YAAY,EAAE,CACZ,KAAK,CAAC,EAAE,eAAe,KACpB,OAAO,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC;;;;;;;;;;;;SAYK;IACL,eAAe,EAAE,CACf,KAAK,CAAC,EAAE,eAAe,KACpB,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;CACzC"}
@@ -0,0 +1,22 @@
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
+ import { TimeDurationMapping } from "../mapping/DurationMapping.js";
17
+ export const TimeseriesDurationMapping = {
18
+ "ms": "MILLISECONDS",
19
+ "milliseconds": "MILLISECONDS",
20
+ ...TimeDurationMapping
21
+ };
22
+ //# sourceMappingURL=timeseries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeseries.js","names":["TimeDurationMapping","TimeseriesDurationMapping"],"sources":["timeseries.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 */\nimport { TimeDurationMapping } from \"../mapping/DurationMapping.js\";\nexport const TimeseriesDurationMapping = {\n \"ms\": \"MILLISECONDS\",\n \"milliseconds\": \"MILLISECONDS\",\n ...TimeDurationMapping,\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,mBAAmB,QAAQ,+BAA+B;AACnE,OAAO,MAAMC,yBAAyB,GAAG;EACrC,IAAI,EAAE,cAAc;EACpB,cAAc,EAAE,cAAc;EAC9B,GAAGD;AACP,CAAC","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ import type { ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.js";
2
+ import type { CompileTimeMetadata } from "../ontology/ObjectTypeDefinition.js";
3
+ export type LinkNames<Q extends ObjectOrInterfaceDefinition> = keyof CompileTimeMetadata<Q>["links"] & string;
4
+ export type LinkedType<Q extends ObjectOrInterfaceDefinition, L extends keyof CompileTimeMetadata<Q>["links"] & string> = NonNullable<CompileTimeMetadata<Q>["links"][L]["__OsdkLinkTargetType"]>;
5
+ //# sourceMappingURL=LinkUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkUtils.d.ts","sourceRoot":"","sources":["../../../src/util/LinkUtils.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,2BAA2B,IACvD,MAAM,mBAAmB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GACrC,MAAM,CAAC;AAEX,MAAM,MAAM,UAAU,CACpB,CAAC,SAAS,2BAA2B,EACrC,CAAC,SAAS,MAAM,mBAAmB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,MAAM,IACtD,WAAW,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC"}