@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @osdk/api
2
2
 
3
+ ## 2.0.0-beta.14
4
+
5
+ ### Major Changes
6
+
7
+ - fe9547e: All types from @osdk/client.api merged into @osdk/api
8
+
9
+ ### Minor Changes
10
+
11
+ - a2c7b37: Enables better tree shaking
12
+ - 1f633f7: Removed dependency on @osdk/client.api
13
+ - d4d6605: Audited and cleaned up deps
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [d4d6605]
18
+ - @osdk/shared.net@2.0.0-beta.5
19
+
3
20
  ## 2.0.0-beta.13
4
21
 
5
22
  ### Minor Changes
@@ -0,0 +1,16 @@
1
+ import type { PropertyValueWireToClient } from "./mapping/PropertyValueMapping.js";
2
+ import type { ObjectTypePropertyDefinition } from "./ontology/ObjectTypeDefinition.js";
3
+ type MaybeArray<T extends {
4
+ multiplicity?: boolean | undefined;
5
+ }, U> = T["multiplicity"] extends true ? Array<U> : U;
6
+ type MaybeNullable<T extends ObjectTypePropertyDefinition, U> = T["nullable"] extends true ? U | undefined : U;
7
+ type Raw<T> = T extends Array<any> ? T[0] : T;
8
+ type Converted<T> = T extends Array<any> ? T[1] : T;
9
+ /**
10
+ * @param {T} ObjectTypePropertyDefinition in literal form
11
+ * @param {STRICTLY_ENFORCE_NULLABLE} S for strict. If false, always `|undefined`
12
+ */
13
+ export type OsdkObjectPropertyType<T extends ObjectTypePropertyDefinition, STRICTLY_ENFORCE_NULLABLE extends boolean = true> = STRICTLY_ENFORCE_NULLABLE extends false ? MaybeArray<T, Converted<PropertyValueWireToClient[T["type"]]>> | undefined : MaybeNullable<T, MaybeArray<T, Converted<PropertyValueWireToClient[T["type"]]>>>;
14
+ export type OsdkObjectRawPropertyType<T extends ObjectTypePropertyDefinition> = MaybeNullable<T, MaybeArray<T, Raw<PropertyValueWireToClient[T["type"]]>>>;
15
+ export {};
16
+ //# sourceMappingURL=Definitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Definitions.d.ts","sourceRoot":"","sources":["../../src/Definitions.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAEvF,KAAK,UAAU,CAAC,CAAC,SAAS;IAAE,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,EAAE,CAAC,IACjE,CAAC,CAAC,cAAc,CAAC,SAAS,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAEhD,KAAK,aAAa,CAAC,CAAC,SAAS,4BAA4B,EAAE,CAAC,IAC1D,CAAC,CAAC,UAAU,CAAC,SAAS,IAAI,GAAG,CAAC,GAAG,SAAS,GACtC,CAAC,CAAC;AAER,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAC9C,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAEpD;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAChC,CAAC,SAAS,4BAA4B,EACtC,yBAAyB,SAAS,OAAO,GAAG,IAAI,IAC9C,yBAAyB,SAAS,KAAK,GACvC,UAAU,CAAC,CAAC,EAAE,SAAS,CAAC,yBAAyB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,GAC1E,aAAa,CACb,CAAC,EACD,UAAU,CAAC,CAAC,EAAE,SAAS,CAAC,yBAAyB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAC/D,CAAC;AAEJ,MAAM,MAAM,yBAAyB,CAAC,CAAC,SAAS,4BAA4B,IAC1E,aAAa,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,yBAAyB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,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=Definitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Definitions.js","names":[],"sources":["Definitions.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,13 @@
1
+ import type { PropertyValueWireToClient } from "./mapping/PropertyValueMapping.js";
2
+ import type { ObjectOrInterfaceDefinition } from "./ontology/ObjectOrInterface.js";
3
+ import type { ObjectTypeDefinition } from "./ontology/ObjectTypeDefinition.js";
4
+ import type { PrimaryKeyTypes } from "./ontology/PrimaryKeyTypes.js";
5
+ import type { OsdkObjectPrimaryKeyType } from "./OsdkObjectPrimaryKeyType.js";
6
+ export type OsdkBase<Q extends ObjectOrInterfaceDefinition> = {
7
+ readonly $apiName: Q["apiName"];
8
+ readonly $objectType: string;
9
+ readonly $primaryKey: PrimaryKeyType<Q>;
10
+ readonly $title: string | undefined;
11
+ };
12
+ export type PrimaryKeyType<Q extends ObjectOrInterfaceDefinition> = (Q extends ObjectTypeDefinition<any, any> ? OsdkObjectPrimaryKeyType<Q> : unknown) & PropertyValueWireToClient[PrimaryKeyTypes];
13
+ //# sourceMappingURL=OsdkBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkBase.d.ts","sourceRoot":"","sources":["../../src/OsdkBase.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,MAAM,MAAM,QAAQ,CAClB,CAAC,SAAS,2BAA2B,IACnC;IACF,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC;IAEhC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAE7B,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IAExC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,2BAA2B,IAC5D,CAAC,CAAC,SAAS,oBAAoB,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,wBAAwB,CAAC,CAAC,CAAC,GACrE,OAAO,CAAC,GAGV,yBAAyB,CAAC,eAAe,CAAC,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=OsdkBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkBase.js","names":[],"sources":["OsdkBase.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,4 @@
1
+ export interface OsdkMetadata {
2
+ extraUserAgent: string;
3
+ }
4
+ //# sourceMappingURL=OsdkMetadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkMetadata.d.ts","sourceRoot":"","sources":["../../src/OsdkMetadata.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,CAAC;CACxB"}
@@ -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=OsdkMetadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkMetadata.js","names":[],"sources":["OsdkMetadata.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,8 @@
1
+ import type { PropertyValueWireToClient } from "./mapping/PropertyValueMapping.js";
2
+ import type { PrimaryKeyTypes } from "./ontology/PrimaryKeyTypes.js";
3
+ export type OsdkObject<N extends string> = {
4
+ readonly $apiName: N;
5
+ readonly $objectType: string;
6
+ readonly $primaryKey: PropertyValueWireToClient[PrimaryKeyTypes];
7
+ };
8
+ //# sourceMappingURL=OsdkObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkObject.d.ts","sourceRoot":"","sources":["../../src/OsdkObject.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI;IACzC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACrB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,yBAAyB,CAAC,eAAe,CAAC,CAAC;CAClE,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=OsdkObject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkObject.js","names":[],"sources":["OsdkObject.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,36 @@
1
+ import type { OsdkObjectLinksObject } from "./definitions/LinkDefinitions.js";
2
+ import type { UnionIfTrue } from "./object/FetchPageResult.js";
3
+ import type { InterfaceDefinition } from "./ontology/InterfaceDefinition.js";
4
+ import type { ObjectOrInterfaceDefinition, PropertyKeys } from "./ontology/ObjectOrInterface.js";
5
+ import type { CompileTimeMetadata, ObjectTypeDefinition } from "./ontology/ObjectTypeDefinition.js";
6
+ import type { OsdkBase } from "./OsdkBase.js";
7
+ type SpecialOsdkPropParams = "$all" | "$rid" | "$strict" | "$notStrict";
8
+ type ValidOsdkPropParams<Q extends ObjectOrInterfaceDefinition> = SpecialOsdkPropParams | PropertyKeys<Q>;
9
+ export type ApiNameAsString<T extends ObjectOrInterfaceDefinition> = CompileTimeMetadata<T>["apiName"];
10
+ export type JustProps<T extends ObjectOrInterfaceDefinition, P extends ValidOsdkPropParams<T>> = P extends "$all" ? PropertyKeys<T> : Exclude<P, SpecialOsdkPropParams>;
11
+ export type PropMapToObject<FROM extends ObjectOrInterfaceDefinition, TO extends ObjectTypeDefinition<any, any>> = NonNullable<CompileTimeMetadata<TO>["interfaceMap"]>[ApiNameAsString<FROM>];
12
+ export type MapPropNamesToObjectType<FROM extends ObjectOrInterfaceDefinition, TO extends ObjectTypeDefinition<any, any>, P extends ValidOsdkPropParams<FROM>> = PropMapToObject<FROM, TO>[JustProps<FROM, P> & keyof PropMapToObject<FROM, TO>];
13
+ export type PropMapToInterface<FROM extends ObjectTypeDefinition<any>, TO extends InterfaceDefinition<any>> = NonNullable<CompileTimeMetadata<FROM>["inverseInterfaceMap"]>[ApiNameAsString<TO>];
14
+ export type MapPropNamesToInterface<FROM extends ObjectTypeDefinition<any>, TO extends InterfaceDefinition<any>, P extends ValidOsdkPropParams<FROM>> = PropMapToInterface<FROM, TO>[JustProps<FROM, P> & keyof PropMapToInterface<FROM, TO>];
15
+ /**
16
+ * @param FROM - the interface or object type to convert from
17
+ * @param TO - the interface or object type to convert to
18
+ * @param P - the property(s) to convert
19
+ */
20
+ export type ConvertProps<FROM extends ObjectOrInterfaceDefinition, TO extends ValidToFrom<FROM>, P extends ValidOsdkPropParams<FROM>> = TO extends FROM ? P : TO extends ObjectTypeDefinition<any, any> ? (UnionIfTrue<MapPropNamesToObjectType<FROM, TO, P>, P extends "$rid" ? true : false, "$rid">) : TO extends InterfaceDefinition<any, any> ? FROM extends ObjectTypeDefinition<any, any> ? (UnionIfTrue<MapPropNamesToInterface<FROM, TO, P>, P extends "$rid" ? true : false, "$rid">) : never : never;
21
+ /** DO NOT EXPORT FROM PACKAGE */
22
+ export type ValidToFrom<FROM extends ObjectOrInterfaceDefinition> = FROM extends InterfaceDefinition<any, any> ? ObjectOrInterfaceDefinition : InterfaceDefinition<any, any>;
23
+ export type IsNever<T> = [T] extends [never] ? true : false;
24
+ type GetPropsKeys<Q extends ObjectOrInterfaceDefinition, P extends ValidOsdkPropParams<Q>> = P extends "$all" ? PropertyKeys<Q> : Exclude<P, "$strict" | "$notStrict" | "$rid">;
25
+ type GetProps<Q extends ObjectOrInterfaceDefinition, P extends ValidOsdkPropParams<Q>> = P extends "$notStrict" ? CompileTimeMetadata<Q>["props"] : CompileTimeMetadata<Q>["strictProps"];
26
+ export type Osdk<Q extends ObjectOrInterfaceDefinition, P extends ValidOsdkPropParams<Q> = "$all"> = OsdkBase<Q> & Pick<GetProps<Q, P>, GetPropsKeys<Q, P>> & {
27
+ readonly $link: Q extends {
28
+ linksType?: any;
29
+ } ? Q["linksType"] : Q extends ObjectTypeDefinition<any, any> ? OsdkObjectLinksObject<Q> : never;
30
+ readonly $as: <NEW_Q extends ValidToFrom<Q>>(type: NEW_Q | string) => Osdk<NEW_Q, ConvertProps<Q, NEW_Q, P>>;
31
+ } & (IsNever<P> extends true ? {} : string extends P ? {} : "$rid" extends P ? {
32
+ readonly $rid: string;
33
+ } : {});
34
+ export type OsdkObjectOrInterfaceFrom<Q extends ObjectOrInterfaceDefinition, P extends string = PropertyKeys<Q>> = Osdk<Q, P>;
35
+ export {};
36
+ //# sourceMappingURL=OsdkObjectFrom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkObjectFrom.d.ts","sourceRoot":"","sources":["../../src/OsdkObjectFrom.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,M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,CAAC;IAEV,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,WAAW,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,GAAG,MAAM,KAAK,IAAI,CACxE,KAAK,EACL,YAAY,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAC1B,CAAC;CACH,GAEC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAC3B,MAAM,SAAS,CAAC,GAAG,EAAE,GACrB,MAAM,SAAS,CAAC,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC5C,EAAE,CAAC,CAAC;AAEV,MAAM,MAAM,yBAAyB,CACnC,CAAC,SAAS,2BAA2B,EACrC,CAAC,SAAS,MAAM,GAAG,YAAY,CAAC,CAAC,CAAC,IAChC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,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=OsdkObjectFrom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkObjectFrom.js","names":[],"sources":["OsdkObjectFrom.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,4 @@
1
+ import type { PropertyValueWireToClient } from "./mapping/PropertyValueMapping.js";
2
+ import type { CompileTimeMetadata, ObjectTypeDefinition } from "./ontology/ObjectTypeDefinition.js";
3
+ export type OsdkObjectPrimaryKeyType<Q extends ObjectTypeDefinition<any, any>> = PropertyValueWireToClient[CompileTimeMetadata<Q>["primaryKeyType"]];
4
+ //# sourceMappingURL=OsdkObjectPrimaryKeyType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkObjectPrimaryKeyType.d.ts","sourceRoot":"","sources":["../../src/OsdkObjectPrimaryKeyType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,oCAAoC,CAAC;AAE5C,MAAM,MAAM,wBAAwB,CAClC,CAAC,SAAS,oBAAoB,CAAC,GAAG,EAAE,GAAG,CAAC,IACtC,yBAAyB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,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=OsdkObjectPrimaryKeyType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsdkObjectPrimaryKeyType.js","names":[],"sources":["OsdkObjectPrimaryKeyType.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,6 @@
1
+ export interface PageResult<T> {
2
+ data: T[];
3
+ nextPageToken: string | undefined;
4
+ totalCount: string;
5
+ }
6
+ //# sourceMappingURL=PageResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageResult.d.ts","sourceRoot":"","sources":["../../src/PageResult.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -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=PageResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageResult.js","names":[],"sources":["PageResult.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,81 @@
1
+ export type ActionResults = (ObjectEdits | LargeScaleObjectEdits) & {
2
+ editedObjectTypes: Array<String>;
3
+ };
4
+ interface ObjectEdits {
5
+ type: "edits";
6
+ addedObjects: Array<ObjectReference>;
7
+ modifiedObjects: Array<ObjectReference>;
8
+ addedLinks: Array<LinkReference>;
9
+ deletedObjectsCount: number;
10
+ deletedLinksCount: number;
11
+ }
12
+ interface LargeScaleObjectEdits {
13
+ type: "largeScaleEdits";
14
+ addedObjects?: never;
15
+ modifiedObjects?: never;
16
+ addedLinks?: never;
17
+ deletedObjectsCount?: never;
18
+ deletedLinksCount?: never;
19
+ }
20
+ type LinkReference = {
21
+ linkTypeApiNameAtoB: string;
22
+ linkTypeApiNameBtoA: string;
23
+ aSideObject: ObjectReference;
24
+ bSideObject: ObjectReference;
25
+ };
26
+ interface ObjectReference {
27
+ primaryKey: string | number;
28
+ objectType: string;
29
+ }
30
+ export interface ValidateActionResponseV2 {
31
+ result: "VALID" | "INVALID";
32
+ submissionCriteria: Array<{
33
+ configuredFailureMessage?: string;
34
+ result: "VALID" | "INVALID";
35
+ }>;
36
+ parameters: Record<string, {
37
+ result: "VALID" | "INVALID";
38
+ evaluatedConstraints: Array<ParameterEvaluatedConstraint>;
39
+ required: boolean;
40
+ }>;
41
+ }
42
+ type ParameterEvaluatedConstraint = {
43
+ type: "arraySize";
44
+ lt?: any;
45
+ lte?: any;
46
+ gt?: any;
47
+ gte?: any;
48
+ } | {
49
+ type: "groupMember";
50
+ } | {
51
+ type: "objectPropertyValue";
52
+ } | {
53
+ type: "objectQueryResult";
54
+ } | {
55
+ type: "oneOf";
56
+ options: Array<{
57
+ displayName?: string;
58
+ value?: any;
59
+ }>;
60
+ otherValuesAllowed: boolean;
61
+ } | {
62
+ type: "range";
63
+ lt?: any;
64
+ lte?: any;
65
+ gt?: any;
66
+ gte?: any;
67
+ } | {
68
+ type: "stringLength";
69
+ lt?: any;
70
+ lte?: any;
71
+ gt?: any;
72
+ gte?: any;
73
+ } | {
74
+ type: "stringRegexMatch";
75
+ regex: string;
76
+ configuredFailureMessage?: string;
77
+ } | {
78
+ type: "unevaluable";
79
+ };
80
+ export {};
81
+ //# sourceMappingURL=ActionResults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionResults.d.ts","sourceRoot":"","sources":["../../../src/actions/ActionResults.ts"],"names":[],"mappings":"AAkBA,MAAM,MAAM,aAAa,GACrB,CACE,WAAW,GACX,qBAAqB,CACxB,GACC;IAAE,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC;AAEzC,UAAU,WAAW;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IACrC,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IACxC,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,CA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vB;IAAE,IAAI,EAAE,qBAAqB,CAAA;CAAE,GAC/B;IAAE,IAAI,EAAE,mBAAmB,CAAA;CAAE,GAC7B;IACA,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,KAAK,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,GAAG,CAAC;KACb,CAAC,CAAC;IACH,kBAAkB,EAAE,OAAO,CAAC;CAC7B,GACC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,CAAC,EAAE,GAAG,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAC;IAAC,EAAE,CAAC,EAAE,GAAG,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,GAC3D;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,EAAE,CAAC,EAAE,GAAG,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAC;IAAC,EAAE,CAAC,EAAE,GAAG,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,GAClE;IACA,IAAI,EAAE,kBAAkB,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC,GACC;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,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=ActionResults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionResults.js","names":[],"sources":["ActionResults.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,7 @@
1
+ import type { ActionEditResponse, ActionValidationResponse, ApplyActionOptions, ApplyBatchActionOptions } from "./Actions.js";
2
+ export type ActionReturnTypeForOptions<Op extends ApplyActionOptions | ApplyBatchActionOptions> = Op extends {
3
+ $validateOnly: true;
4
+ } ? ActionValidationResponse : Op extends {
5
+ $returnEdits: true;
6
+ } ? ActionEditResponse : undefined;
7
+ //# sourceMappingURL=ActionReturnTypeForOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionReturnTypeForOptions.d.ts","sourceRoot":"","sources":["../../../src/actions/ActionReturnTypeForOptions.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,0BAA0B,CACpC,EAAE,SAAS,kBAAkB,GAAG,uBAAuB,IACrD,EAAE,SAAS;IAAE,aAAa,EAAE,IAAI,CAAA;CAAE,GAAG,wBAAwB,GAC7D,EAAE,SAAS;IAAE,YAAY,EAAE,IAAI,CAAA;CAAE,GAAG,kBAAkB,GACtD,SAAS,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=ActionReturnTypeForOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionReturnTypeForOptions.js","names":[],"sources":["ActionReturnTypeForOptions.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,36 @@
1
+ import type { DataValueClientToWire } from "../mapping/DataValueMapping.js";
2
+ import type { BaseObjectSet } from "../objectSet/BaseObjectSet.js";
3
+ import type { ObjectTypeDefinition } from "../ontology/ObjectTypeDefinition.js";
4
+ import type { OsdkBase } from "../OsdkBase.js";
5
+ import type { OsdkObjectPrimaryKeyType } from "../OsdkObjectPrimaryKeyType.js";
6
+ import type { ActionResults, ValidateActionResponseV2 } from "./ActionResults.js";
7
+ export type ApplyActionOptions = {
8
+ $returnEdits?: true;
9
+ $validateOnly?: false;
10
+ } | {
11
+ $validateOnly?: true;
12
+ $returnEdits?: false;
13
+ };
14
+ export type ApplyBatchActionOptions = {
15
+ $returnEdits?: boolean;
16
+ };
17
+ /**
18
+ * Helper types for converting action definition parameter types to typescript types
19
+ */
20
+ export declare namespace ActionParam {
21
+ /**
22
+ * Helper type to convert action definition parameter primitives to typescript types
23
+ */
24
+ type PrimitiveType<T extends keyof DataValueClientToWire> = DataValueClientToWire[T];
25
+ /**
26
+ * Helper type to convert action definition parameter object types to typescript types
27
+ */
28
+ type ObjectType<T extends ObjectTypeDefinition<any, any>> = OsdkBase<T> | OsdkObjectPrimaryKeyType<T>;
29
+ /**
30
+ * Helper type to convert action definition parameter object sets to typescript types
31
+ */
32
+ type ObjectSetType<T extends ObjectTypeDefinition<any, any>> = BaseObjectSet<T>;
33
+ }
34
+ export type ActionEditResponse = ActionResults;
35
+ export type ActionValidationResponse = ValidateActionResponseV2;
36
+ //# sourceMappingURL=Actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Actions.d.ts","sourceRoot":"","sources":["../../../src/actions/Actions.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,kBAAkB,GAC1B;IAAE,YAAY,CAAC,EAAE,IAAI,CAAC;IAAC,aAAa,CAAC,EAAE,KAAK,CAAA;CAAE,GAC9C;IACA,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEjE;;GAEG;AACH,yBAAiB,WAAW,CAAC;IAC3B;;OAEG;IACH,KAAY,aAAa,CAAC,CAAC,SAAS,MAAM,qBAAqB,IAC7D,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAE3B;;OAEG;IACH,KAAY,UAAU,CAAC,CAAC,SAAS,oBAAoB,CAAC,GAAG,EAAE,GAAG,CAAC,IAC3D,QAAQ,CAAC,CAAC,CAAC,GACX,wBAAwB,CAAC,CAAC,CAAC,CAAC;IAEhC;;OAEG;IACH,KAAY,aAAa,CAAC,CAAC,SAAS,oBAAoB,CAAC,GAAG,EAAE,GAAG,CAAC,IAChE,aAAa,CACX,CAAC,CACF,CAAC;CACL;AAED,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC;AAC/C,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,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=Actions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Actions.js","names":[],"sources":["Actions.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,16 @@
1
+ import type { PropertyValueClientToWire } from "../mapping/PropertyValueMapping.js";
2
+ import type { ObjectOrInterfaceDefinition, PropertyKeys } from "../ontology/ObjectOrInterface.js";
3
+ import type { CompileTimeMetadata } from "../ontology/ObjectTypeDefinition.js";
4
+ export type StringAggregateOption = "approximateDistinct" | "exactDistinct";
5
+ export type NumericAggregateOption = "min" | "max" | "sum" | "avg" | "approximateDistinct" | "exactDistinct";
6
+ type AGG_FOR_TYPE<T> = number extends T ? NumericAggregateOption : string extends T ? StringAggregateOption : never;
7
+ export type ValidAggregationKeys<Q extends ObjectOrInterfaceDefinition> = keyof ({
8
+ [KK in AggregatableKeys<Q> as `${KK & string}:${AGG_FOR_TYPE<PropertyValueClientToWire[CompileTimeMetadata<Q>["properties"][KK]["type"]]>}`]?: any;
9
+ } & {
10
+ $count?: any;
11
+ });
12
+ export type AggregatableKeys<Q extends ObjectOrInterfaceDefinition> = keyof {
13
+ [P in PropertyKeys<Q>]: any;
14
+ };
15
+ export {};
16
+ //# sourceMappingURL=AggregatableKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AggregatableKeys.d.ts","sourceRoot":"","sources":["../../../src/aggregate/AggregatableKeys.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,KAAK,EACV,2BAA2B,EAC3B,YAAY,EACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,MAAM,MAAM,qBAAqB,GAAG,qBAAqB,GAAG,eAAe,CAAC;AAC5E,MAAM,MAAM,sBAAsB,GAC9B,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,qBAAqB,GACrB,eAAe,CAAC;AAEpB,KAAK,YAAY,CAAC,CAAC,IAAI,MAAM,SAAS,CAAC,GAAG,sBAAsB,GAC5D,MAAM,SAAS,CAAC,GAAG,qBAAqB,GACxC,KAAK,CAAC;AAEV,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,2BAA2B,IACnC,MAAM,CACN;KAEE,EAAE,IAAI,gBAAgB,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,GAAG,MAAM,IAAI,YAAY,CACzD,yBAAyB,CACvB,mBAAmB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CACjD,CACF,EAAE,CACJ,CAAC,EAAE,GAAG;CACR,GACC;IAAE,MAAM,CAAC,EAAE,GAAG,CAAA;CAAE,CACnB,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAC1B,CAAC,SAAS,2BAA2B,IACnC,MAAM;KACP,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG,GAAG;CAC5B,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=AggregatableKeys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AggregatableKeys.js","names":[],"sources":["AggregatableKeys.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,10 @@
1
+ import type { GroupByClause } from "../groupby/GroupByClause.js";
2
+ import type { ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.js";
3
+ import type { OrderedAggregationClause, UnorderedAggregationClause } from "./AggregationsClause.js";
4
+ import type { WhereClause } from "./WhereClause.js";
5
+ export type AggregateOpts<Q extends ObjectOrInterfaceDefinition> = {
6
+ $select: UnorderedAggregationClause<Q> | OrderedAggregationClause<Q>;
7
+ $where?: WhereClause<Q>;
8
+ $groupBy?: GroupByClause<Q>;
9
+ };
10
+ //# sourceMappingURL=AggregateOpts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AggregateOpts.d.ts","sourceRoot":"","sources":["../../../src/aggregate/AggregateOpts.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EACV,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,2BAA2B,IAAI;IACjE,OAAO,EACH,0BAA0B,CAAC,CAAC,CAAC,GAC7B,wBAAwB,CAAC,CAAC,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACxB,QAAQ,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;CAC7B,CAAC"}