@osdk/client 2.7.0-beta.9 → 2.8.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/build/browser/actions/actions.test.js +9 -8
  3. package/build/browser/actions/actions.test.js.map +1 -1
  4. package/build/browser/fetchMetadata.test.js +9 -0
  5. package/build/browser/fetchMetadata.test.js.map +1 -1
  6. package/build/browser/index.js +1 -1
  7. package/build/browser/index.js.map +1 -1
  8. package/build/browser/intellisense.test.js +1 -1
  9. package/build/browser/intellisense.test.js.map +1 -1
  10. package/build/browser/internal/conversions/modernToLegacyWhereClause.js +14 -9
  11. package/build/browser/internal/conversions/modernToLegacyWhereClause.js.map +1 -1
  12. package/build/browser/internal/conversions/modernToLegacyWhereClause.test.js +74 -0
  13. package/build/browser/internal/conversions/modernToLegacyWhereClause.test.js.map +1 -1
  14. package/build/browser/object/SimpleOsdkProperties.js.map +1 -1
  15. package/build/browser/object/convertWireToOsdkObjects/BaseHolder.js.map +1 -1
  16. package/build/browser/object/convertWireToOsdkObjects/InternalSymbols.js +3 -0
  17. package/build/browser/object/convertWireToOsdkObjects/InternalSymbols.js.map +1 -1
  18. package/build/browser/object/convertWireToOsdkObjects/createOsdkInterface.js +4 -0
  19. package/build/browser/object/convertWireToOsdkObjects/createOsdkInterface.js.map +1 -1
  20. package/build/browser/object/convertWireToOsdkObjects/createOsdkObject.js +85 -3
  21. package/build/browser/object/convertWireToOsdkObjects/createOsdkObject.js.map +1 -1
  22. package/build/browser/object/convertWireToOsdkObjects.js +4 -4
  23. package/build/browser/object/convertWireToOsdkObjects.js.map +1 -1
  24. package/build/browser/object/convertWireToOsdkObjects.test.js +48 -27
  25. package/build/browser/object/convertWireToOsdkObjects.test.js.map +1 -1
  26. package/build/browser/object/fetchPage.js +16 -5
  27. package/build/browser/object/fetchPage.js.map +1 -1
  28. package/build/browser/object/object.test.js +123 -0
  29. package/build/browser/object/object.test.js.map +1 -1
  30. package/build/browser/objectSet/ObjectSet.test.js +6 -6
  31. package/build/browser/objectSet/ObjectSet.test.js.map +1 -1
  32. package/build/browser/objectSet/ObjectSetListenerWebsocket.js +15 -6
  33. package/build/browser/objectSet/ObjectSetListenerWebsocket.js.map +1 -1
  34. package/build/browser/objectSet/ObjectSetListenerWebsocket.test.js +49 -3
  35. package/build/browser/objectSet/ObjectSetListenerWebsocket.test.js.map +1 -1
  36. package/build/browser/objectSet/createObjectSet.js +1 -1
  37. package/build/browser/objectSet/createObjectSet.js.map +1 -1
  38. package/build/browser/observable/FunctionPayload.js +2 -0
  39. package/build/browser/observable/FunctionPayload.js.map +1 -0
  40. package/build/browser/observable/ObservableClient.js.map +1 -1
  41. package/build/browser/observable/internal/BulkObjectLoader.js +2 -1
  42. package/build/browser/observable/internal/BulkObjectLoader.js.map +1 -1
  43. package/build/browser/observable/internal/Changes.js +4 -1
  44. package/build/browser/observable/internal/Changes.js.map +1 -1
  45. package/build/browser/observable/internal/KnownCacheKey.js.map +1 -1
  46. package/build/browser/observable/internal/ObservableClientImpl.js +21 -1
  47. package/build/browser/observable/internal/ObservableClientImpl.js.map +1 -1
  48. package/build/browser/observable/internal/RidListCanonicalizer.js +30 -0
  49. package/build/browser/observable/internal/RidListCanonicalizer.js.map +1 -0
  50. package/build/browser/observable/internal/RidListCanonicalizer.test.js +50 -0
  51. package/build/browser/observable/internal/RidListCanonicalizer.test.js.map +1 -0
  52. package/build/browser/observable/internal/Store.js +11 -1
  53. package/build/browser/observable/internal/Store.js.map +1 -1
  54. package/build/browser/observable/internal/Store.test.js +58 -4
  55. package/build/browser/observable/internal/Store.test.js.map +1 -1
  56. package/build/browser/observable/internal/actions/ActionApplication.js +11 -7
  57. package/build/browser/observable/internal/actions/ActionApplication.js.map +1 -1
  58. package/build/browser/observable/internal/actions/OptimisticJob.js +1 -1
  59. package/build/browser/observable/internal/actions/OptimisticJob.js.map +1 -1
  60. package/build/browser/observable/internal/base-list/BaseCollectionQuery.js.map +1 -1
  61. package/build/browser/observable/internal/base-list/BaseListQuery.js +15 -9
  62. package/build/browser/observable/internal/base-list/BaseListQuery.js.map +1 -1
  63. package/build/browser/observable/internal/base-list/createCollectionConnectable.js +4 -2
  64. package/build/browser/observable/internal/base-list/createCollectionConnectable.js.map +1 -1
  65. package/build/browser/observable/internal/base-list/createCollectionConnectable.test.js +1 -2
  66. package/build/browser/observable/internal/base-list/createCollectionConnectable.test.js.map +1 -1
  67. package/build/browser/observable/internal/evaluateFilter.js +1 -1
  68. package/build/browser/observable/internal/evaluateFilter.js.map +1 -1
  69. package/build/browser/observable/internal/evaluateFilter.test.js +105 -0
  70. package/build/browser/observable/internal/evaluateFilter.test.js.map +1 -0
  71. package/build/browser/observable/internal/function/FunctionCacheKey.js +26 -0
  72. package/build/browser/observable/internal/function/FunctionCacheKey.js.map +1 -0
  73. package/build/browser/observable/internal/function/FunctionParamsCanonicalizer.js +151 -0
  74. package/build/browser/observable/internal/function/FunctionParamsCanonicalizer.js.map +1 -0
  75. package/build/browser/observable/internal/function/FunctionParamsCanonicalizer.test.js +186 -0
  76. package/build/browser/observable/internal/function/FunctionParamsCanonicalizer.test.js.map +1 -0
  77. package/build/browser/observable/internal/function/FunctionQuery.js +137 -0
  78. package/build/browser/observable/internal/function/FunctionQuery.js.map +1 -0
  79. package/build/browser/observable/internal/function/FunctionQuery.test.js +278 -0
  80. package/build/browser/observable/internal/function/FunctionQuery.test.js.map +1 -0
  81. package/build/browser/observable/internal/function/FunctionsHelper.js +92 -0
  82. package/build/browser/observable/internal/function/FunctionsHelper.js.map +1 -0
  83. package/build/browser/observable/internal/links/SpecificLinkQuery.js +2 -1
  84. package/build/browser/observable/internal/links/SpecificLinkQuery.js.map +1 -1
  85. package/build/browser/observable/internal/list/InterfaceListQuery.js +27 -10
  86. package/build/browser/observable/internal/list/InterfaceListQuery.js.map +1 -1
  87. package/build/browser/observable/internal/list/ListCacheKey.js +1 -0
  88. package/build/browser/observable/internal/list/ListCacheKey.js.map +1 -1
  89. package/build/browser/observable/internal/list/ListQuery.js +10 -4
  90. package/build/browser/observable/internal/list/ListQuery.js.map +1 -1
  91. package/build/browser/observable/internal/list/ListQuery.test.js +167 -3
  92. package/build/browser/observable/internal/list/ListQuery.test.js.map +1 -1
  93. package/build/browser/observable/internal/list/ListsHelper.js +6 -3
  94. package/build/browser/observable/internal/list/ListsHelper.js.map +1 -1
  95. package/build/browser/observable/internal/list/ObjectListQuery.js +23 -9
  96. package/build/browser/observable/internal/list/ObjectListQuery.js.map +1 -1
  97. package/build/browser/observable/internal/object/ObjectQuery.js +15 -1
  98. package/build/browser/observable/internal/object/ObjectQuery.js.map +1 -1
  99. package/build/browser/observable/internal/object/ObjectsHelper.js +1 -3
  100. package/build/browser/observable/internal/object/ObjectsHelper.js.map +1 -1
  101. package/build/browser/observable/internal/objectMatchesWhereClause.test.js +11 -1
  102. package/build/browser/observable/internal/objectMatchesWhereClause.test.js.map +1 -1
  103. package/build/browser/observable/internal/objectset/ObjectSetQuery.js +6 -2
  104. package/build/browser/observable/internal/objectset/ObjectSetQuery.js.map +1 -1
  105. package/build/browser/observable/internal/testUtils.js +8 -5
  106. package/build/browser/observable/internal/testUtils.js.map +1 -1
  107. package/build/browser/observable/internal/utils/rdpFieldOperations.js +6 -3
  108. package/build/browser/observable/internal/utils/rdpFieldOperations.js.map +1 -1
  109. package/build/browser/public/unstable-do-not-use.js.map +1 -1
  110. package/build/browser/queries/applyQuery.js +14 -0
  111. package/build/browser/queries/applyQuery.js.map +1 -1
  112. package/build/browser/queries/queries.test.js +14 -2
  113. package/build/browser/queries/queries.test.js.map +1 -1
  114. package/build/browser/util/UserAgent.js +2 -2
  115. package/build/browser/util/isObjectSpecifiersObject.js.map +1 -1
  116. package/build/browser/util/toDataValue.js +0 -5
  117. package/build/browser/util/toDataValue.js.map +1 -1
  118. package/build/browser/util/toDataValue.test.js +2 -7
  119. package/build/browser/util/toDataValue.test.js.map +1 -1
  120. package/build/cjs/{Client-DaUJl7jZ.d.cts → Client-Cmx6x_V1.d.cts} +1 -1
  121. package/build/cjs/{chunk-IQJTM3KW.cjs → chunk-7543GRIE.cjs} +183 -92
  122. package/build/cjs/chunk-7543GRIE.cjs.map +1 -0
  123. package/build/cjs/{chunk-PARVKNVB.cjs → chunk-VVKEXIIO.cjs} +108 -81
  124. package/build/cjs/chunk-VVKEXIIO.cjs.map +1 -0
  125. package/build/cjs/{createClient-D5G3qzAO.d.cts → createClient-BPK4om7e.d.cts} +1 -1
  126. package/build/cjs/index.cjs +8 -12
  127. package/build/cjs/index.cjs.map +1 -1
  128. package/build/cjs/index.d.cts +3 -3
  129. package/build/cjs/public/internal.cjs +8 -8
  130. package/build/cjs/public/internal.d.cts +1 -1
  131. package/build/cjs/public/unstable-do-not-use.cjs +537 -94
  132. package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
  133. package/build/cjs/public/unstable-do-not-use.d.cts +75 -4
  134. package/build/esm/actions/actions.test.js +9 -8
  135. package/build/esm/actions/actions.test.js.map +1 -1
  136. package/build/esm/fetchMetadata.test.js +9 -0
  137. package/build/esm/fetchMetadata.test.js.map +1 -1
  138. package/build/esm/index.js +1 -1
  139. package/build/esm/index.js.map +1 -1
  140. package/build/esm/intellisense.test.js +1 -1
  141. package/build/esm/intellisense.test.js.map +1 -1
  142. package/build/esm/internal/conversions/modernToLegacyWhereClause.js +14 -9
  143. package/build/esm/internal/conversions/modernToLegacyWhereClause.js.map +1 -1
  144. package/build/esm/internal/conversions/modernToLegacyWhereClause.test.js +74 -0
  145. package/build/esm/internal/conversions/modernToLegacyWhereClause.test.js.map +1 -1
  146. package/build/esm/object/SimpleOsdkProperties.js.map +1 -1
  147. package/build/esm/object/convertWireToOsdkObjects/BaseHolder.js.map +1 -1
  148. package/build/esm/object/convertWireToOsdkObjects/InternalSymbols.js +3 -0
  149. package/build/esm/object/convertWireToOsdkObjects/InternalSymbols.js.map +1 -1
  150. package/build/esm/object/convertWireToOsdkObjects/createOsdkInterface.js +4 -0
  151. package/build/esm/object/convertWireToOsdkObjects/createOsdkInterface.js.map +1 -1
  152. package/build/esm/object/convertWireToOsdkObjects/createOsdkObject.js +85 -3
  153. package/build/esm/object/convertWireToOsdkObjects/createOsdkObject.js.map +1 -1
  154. package/build/esm/object/convertWireToOsdkObjects.js +4 -4
  155. package/build/esm/object/convertWireToOsdkObjects.js.map +1 -1
  156. package/build/esm/object/convertWireToOsdkObjects.test.js +48 -27
  157. package/build/esm/object/convertWireToOsdkObjects.test.js.map +1 -1
  158. package/build/esm/object/fetchPage.js +16 -5
  159. package/build/esm/object/fetchPage.js.map +1 -1
  160. package/build/esm/object/object.test.js +123 -0
  161. package/build/esm/object/object.test.js.map +1 -1
  162. package/build/esm/objectSet/ObjectSet.test.js +6 -6
  163. package/build/esm/objectSet/ObjectSet.test.js.map +1 -1
  164. package/build/esm/objectSet/ObjectSetListenerWebsocket.js +15 -6
  165. package/build/esm/objectSet/ObjectSetListenerWebsocket.js.map +1 -1
  166. package/build/esm/objectSet/ObjectSetListenerWebsocket.test.js +49 -3
  167. package/build/esm/objectSet/ObjectSetListenerWebsocket.test.js.map +1 -1
  168. package/build/esm/objectSet/createObjectSet.js +1 -1
  169. package/build/esm/objectSet/createObjectSet.js.map +1 -1
  170. package/build/esm/observable/FunctionPayload.js +2 -0
  171. package/build/esm/observable/FunctionPayload.js.map +1 -0
  172. package/build/esm/observable/ObservableClient.js.map +1 -1
  173. package/build/esm/observable/internal/BulkObjectLoader.js +2 -1
  174. package/build/esm/observable/internal/BulkObjectLoader.js.map +1 -1
  175. package/build/esm/observable/internal/Changes.js +4 -1
  176. package/build/esm/observable/internal/Changes.js.map +1 -1
  177. package/build/esm/observable/internal/KnownCacheKey.js.map +1 -1
  178. package/build/esm/observable/internal/ObservableClientImpl.js +21 -1
  179. package/build/esm/observable/internal/ObservableClientImpl.js.map +1 -1
  180. package/build/esm/observable/internal/RidListCanonicalizer.js +30 -0
  181. package/build/esm/observable/internal/RidListCanonicalizer.js.map +1 -0
  182. package/build/esm/observable/internal/RidListCanonicalizer.test.js +50 -0
  183. package/build/esm/observable/internal/RidListCanonicalizer.test.js.map +1 -0
  184. package/build/esm/observable/internal/Store.js +11 -1
  185. package/build/esm/observable/internal/Store.js.map +1 -1
  186. package/build/esm/observable/internal/Store.test.js +58 -4
  187. package/build/esm/observable/internal/Store.test.js.map +1 -1
  188. package/build/esm/observable/internal/actions/ActionApplication.js +11 -7
  189. package/build/esm/observable/internal/actions/ActionApplication.js.map +1 -1
  190. package/build/esm/observable/internal/actions/OptimisticJob.js +1 -1
  191. package/build/esm/observable/internal/actions/OptimisticJob.js.map +1 -1
  192. package/build/esm/observable/internal/base-list/BaseCollectionQuery.js.map +1 -1
  193. package/build/esm/observable/internal/base-list/BaseListQuery.js +15 -9
  194. package/build/esm/observable/internal/base-list/BaseListQuery.js.map +1 -1
  195. package/build/esm/observable/internal/base-list/createCollectionConnectable.js +4 -2
  196. package/build/esm/observable/internal/base-list/createCollectionConnectable.js.map +1 -1
  197. package/build/esm/observable/internal/base-list/createCollectionConnectable.test.js +1 -2
  198. package/build/esm/observable/internal/base-list/createCollectionConnectable.test.js.map +1 -1
  199. package/build/esm/observable/internal/evaluateFilter.js +1 -1
  200. package/build/esm/observable/internal/evaluateFilter.js.map +1 -1
  201. package/build/esm/observable/internal/evaluateFilter.test.js +105 -0
  202. package/build/esm/observable/internal/evaluateFilter.test.js.map +1 -0
  203. package/build/esm/observable/internal/function/FunctionCacheKey.js +26 -0
  204. package/build/esm/observable/internal/function/FunctionCacheKey.js.map +1 -0
  205. package/build/esm/observable/internal/function/FunctionParamsCanonicalizer.js +151 -0
  206. package/build/esm/observable/internal/function/FunctionParamsCanonicalizer.js.map +1 -0
  207. package/build/esm/observable/internal/function/FunctionParamsCanonicalizer.test.js +186 -0
  208. package/build/esm/observable/internal/function/FunctionParamsCanonicalizer.test.js.map +1 -0
  209. package/build/esm/observable/internal/function/FunctionQuery.js +137 -0
  210. package/build/esm/observable/internal/function/FunctionQuery.js.map +1 -0
  211. package/build/esm/observable/internal/function/FunctionQuery.test.js +278 -0
  212. package/build/esm/observable/internal/function/FunctionQuery.test.js.map +1 -0
  213. package/build/esm/observable/internal/function/FunctionsHelper.js +92 -0
  214. package/build/esm/observable/internal/function/FunctionsHelper.js.map +1 -0
  215. package/build/esm/observable/internal/links/SpecificLinkQuery.js +2 -1
  216. package/build/esm/observable/internal/links/SpecificLinkQuery.js.map +1 -1
  217. package/build/esm/observable/internal/list/InterfaceListQuery.js +27 -10
  218. package/build/esm/observable/internal/list/InterfaceListQuery.js.map +1 -1
  219. package/build/esm/observable/internal/list/ListCacheKey.js +1 -0
  220. package/build/esm/observable/internal/list/ListCacheKey.js.map +1 -1
  221. package/build/esm/observable/internal/list/ListQuery.js +10 -4
  222. package/build/esm/observable/internal/list/ListQuery.js.map +1 -1
  223. package/build/esm/observable/internal/list/ListQuery.test.js +167 -3
  224. package/build/esm/observable/internal/list/ListQuery.test.js.map +1 -1
  225. package/build/esm/observable/internal/list/ListsHelper.js +6 -3
  226. package/build/esm/observable/internal/list/ListsHelper.js.map +1 -1
  227. package/build/esm/observable/internal/list/ObjectListQuery.js +23 -9
  228. package/build/esm/observable/internal/list/ObjectListQuery.js.map +1 -1
  229. package/build/esm/observable/internal/object/ObjectQuery.js +15 -1
  230. package/build/esm/observable/internal/object/ObjectQuery.js.map +1 -1
  231. package/build/esm/observable/internal/object/ObjectsHelper.js +1 -3
  232. package/build/esm/observable/internal/object/ObjectsHelper.js.map +1 -1
  233. package/build/esm/observable/internal/objectMatchesWhereClause.test.js +11 -1
  234. package/build/esm/observable/internal/objectMatchesWhereClause.test.js.map +1 -1
  235. package/build/esm/observable/internal/objectset/ObjectSetQuery.js +6 -2
  236. package/build/esm/observable/internal/objectset/ObjectSetQuery.js.map +1 -1
  237. package/build/esm/observable/internal/testUtils.js +8 -5
  238. package/build/esm/observable/internal/testUtils.js.map +1 -1
  239. package/build/esm/observable/internal/utils/rdpFieldOperations.js +6 -3
  240. package/build/esm/observable/internal/utils/rdpFieldOperations.js.map +1 -1
  241. package/build/esm/public/unstable-do-not-use.js.map +1 -1
  242. package/build/esm/queries/applyQuery.js +14 -0
  243. package/build/esm/queries/applyQuery.js.map +1 -1
  244. package/build/esm/queries/queries.test.js +14 -2
  245. package/build/esm/queries/queries.test.js.map +1 -1
  246. package/build/esm/util/UserAgent.js +2 -2
  247. package/build/esm/util/isObjectSpecifiersObject.js.map +1 -1
  248. package/build/esm/util/toDataValue.js +0 -5
  249. package/build/esm/util/toDataValue.js.map +1 -1
  250. package/build/esm/util/toDataValue.test.js +2 -7
  251. package/build/esm/util/toDataValue.test.js.map +1 -1
  252. package/build/types/index.d.ts +1 -1
  253. package/build/types/index.d.ts.map +1 -1
  254. package/build/types/object/convertWireToOsdkObjects/InternalSymbols.d.ts +2 -0
  255. package/build/types/object/convertWireToOsdkObjects/InternalSymbols.d.ts.map +1 -1
  256. package/build/types/object/convertWireToOsdkObjects.d.ts +4 -4
  257. package/build/types/object/convertWireToOsdkObjects.d.ts.map +1 -1
  258. package/build/types/object/fetchPage.d.ts.map +1 -1
  259. package/build/types/object/object.test.d.ts.map +1 -1
  260. package/build/types/observable/FunctionPayload.d.ts +10 -0
  261. package/build/types/observable/FunctionPayload.d.ts.map +1 -0
  262. package/build/types/observable/ObservableClient.d.ts +73 -1
  263. package/build/types/observable/ObservableClient.d.ts.map +1 -1
  264. package/build/types/observable/internal/BulkObjectLoader.d.ts.map +1 -1
  265. package/build/types/observable/internal/Changes.d.ts +5 -3
  266. package/build/types/observable/internal/Changes.d.ts.map +1 -1
  267. package/build/types/observable/internal/KnownCacheKey.d.ts +2 -1
  268. package/build/types/observable/internal/KnownCacheKey.d.ts.map +1 -1
  269. package/build/types/observable/internal/RidListCanonicalizer.d.ts +5 -0
  270. package/build/types/observable/internal/RidListCanonicalizer.d.ts.map +1 -0
  271. package/build/types/observable/internal/RidListCanonicalizer.test.d.ts +1 -0
  272. package/build/types/observable/internal/RidListCanonicalizer.test.d.ts.map +1 -0
  273. package/build/types/observable/internal/Store.d.ts +7 -1
  274. package/build/types/observable/internal/Store.d.ts.map +1 -1
  275. package/build/types/observable/internal/Store.test.d.ts.map +1 -1
  276. package/build/types/observable/internal/actions/ActionApplication.d.ts.map +1 -1
  277. package/build/types/observable/internal/actions/OptimisticJob.d.ts.map +1 -1
  278. package/build/types/observable/internal/base-list/BaseCollectionQuery.d.ts +3 -0
  279. package/build/types/observable/internal/base-list/BaseCollectionQuery.d.ts.map +1 -1
  280. package/build/types/observable/internal/base-list/BaseListQuery.d.ts +3 -1
  281. package/build/types/observable/internal/base-list/BaseListQuery.d.ts.map +1 -1
  282. package/build/types/observable/internal/evaluateFilter.test.d.ts +1 -0
  283. package/build/types/observable/internal/evaluateFilter.test.d.ts.map +1 -0
  284. package/build/types/observable/internal/function/FunctionCacheKey.d.ts +17 -0
  285. package/build/types/observable/internal/function/FunctionCacheKey.d.ts.map +1 -0
  286. package/build/types/observable/internal/function/FunctionParamsCanonicalizer.d.ts +16 -0
  287. package/build/types/observable/internal/function/FunctionParamsCanonicalizer.d.ts.map +1 -0
  288. package/build/types/observable/internal/function/FunctionParamsCanonicalizer.test.d.ts +1 -0
  289. package/build/types/observable/internal/function/FunctionParamsCanonicalizer.test.d.ts.map +1 -0
  290. package/build/types/observable/internal/function/FunctionQuery.d.ts +40 -0
  291. package/build/types/observable/internal/function/FunctionQuery.d.ts.map +1 -0
  292. package/build/types/observable/internal/function/FunctionQuery.test.d.ts +1 -0
  293. package/build/types/observable/internal/function/FunctionQuery.test.d.ts.map +1 -0
  294. package/build/types/observable/internal/function/FunctionsHelper.d.ts +25 -0
  295. package/build/types/observable/internal/function/FunctionsHelper.d.ts.map +1 -0
  296. package/build/types/observable/internal/links/SpecificLinkQuery.d.ts.map +1 -1
  297. package/build/types/observable/internal/list/InterfaceListQuery.d.ts +3 -0
  298. package/build/types/observable/internal/list/InterfaceListQuery.d.ts.map +1 -1
  299. package/build/types/observable/internal/list/ListCacheKey.d.ts +2 -1
  300. package/build/types/observable/internal/list/ListCacheKey.d.ts.map +1 -1
  301. package/build/types/observable/internal/list/ListQuery.d.ts +1 -1
  302. package/build/types/observable/internal/list/ListQuery.d.ts.map +1 -1
  303. package/build/types/observable/internal/list/ListsHelper.d.ts +3 -1
  304. package/build/types/observable/internal/list/ListsHelper.d.ts.map +1 -1
  305. package/build/types/observable/internal/list/ObjectListQuery.d.ts.map +1 -1
  306. package/build/types/observable/internal/object/ObjectQuery.d.ts.map +1 -1
  307. package/build/types/observable/internal/object/ObjectsHelper.d.ts.map +1 -1
  308. package/build/types/observable/internal/objectset/ObjectSetQuery.d.ts +1 -0
  309. package/build/types/observable/internal/objectset/ObjectSetQuery.d.ts.map +1 -1
  310. package/build/types/observable/internal/testUtils.d.ts.map +1 -1
  311. package/build/types/observable/internal/utils/rdpFieldOperations.d.ts.map +1 -1
  312. package/build/types/public/unstable-do-not-use.d.ts +2 -1
  313. package/build/types/public/unstable-do-not-use.d.ts.map +1 -1
  314. package/build/types/queries/applyQuery.d.ts.map +1 -1
  315. package/build/types/util/isObjectSpecifiersObject.d.ts +1 -0
  316. package/build/types/util/isObjectSpecifiersObject.d.ts.map +1 -1
  317. package/package.json +14 -14
  318. package/build/cjs/chunk-IQJTM3KW.cjs.map +0 -1
  319. package/build/cjs/chunk-PARVKNVB.cjs.map +0 -1
@@ -2,23 +2,23 @@
2
2
 
3
3
  var chunkLDTMSHUZ_cjs = require('./chunk-LDTMSHUZ.cjs');
4
4
  var shared_net_errors = require('@osdk/shared.net.errors');
5
+ var invariant4 = require('tiny-invariant');
5
6
  var shared_net_fetch = require('@osdk/shared.net.fetch');
6
- var invariant3 = require('tiny-invariant');
7
7
  var api = require('@osdk/api');
8
8
  var WebSocket = require('isomorphic-ws');
9
9
 
10
10
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
11
11
 
12
- var invariant3__default = /*#__PURE__*/_interopDefault(invariant3);
12
+ var invariant4__default = /*#__PURE__*/_interopDefault(invariant4);
13
13
  var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
14
14
 
15
15
  // src/object/fetchPage.ts
16
16
  chunkLDTMSHUZ_cjs.init_cjs_shims();
17
17
 
18
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
18
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
19
19
  chunkLDTMSHUZ_cjs.init_cjs_shims();
20
20
 
21
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
21
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
22
22
  var Action_exports = {};
23
23
  chunkLDTMSHUZ_cjs.__export(Action_exports, {
24
24
  apply: () => apply,
@@ -28,10 +28,10 @@ chunkLDTMSHUZ_cjs.__export(Action_exports, {
28
28
  });
29
29
  chunkLDTMSHUZ_cjs.init_cjs_shims();
30
30
 
31
- // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.5.0/node_modules/@osdk/shared.net.platformapi/build/esm/index.js
31
+ // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.6.0/node_modules/@osdk/shared.net.platformapi/build/esm/index.js
32
32
  chunkLDTMSHUZ_cjs.init_cjs_shims();
33
33
 
34
- // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.5.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
34
+ // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.6.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
35
35
  chunkLDTMSHUZ_cjs.init_cjs_shims();
36
36
 
37
37
  // ../../node_modules/.pnpm/@osdk+shared.client@1.0.1/node_modules/@osdk/shared.client/index.js
@@ -105,7 +105,7 @@ function parseUrl(baseUrl, endpointPath) {
105
105
  return new URL(`api${endpointPath}`, baseUrl);
106
106
  }
107
107
 
108
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
108
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
109
109
  var _apply = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
110
110
  function apply($ctx, ...args) {
111
111
  return foundryPlatformFetch($ctx, _apply, ...args);
@@ -123,10 +123,10 @@ function applyWithOverrides($ctx, ...args) {
123
123
  return foundryPlatformFetch($ctx, _applyWithOverrides, ...args);
124
124
  }
125
125
 
126
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
126
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
127
127
  chunkLDTMSHUZ_cjs.init_cjs_shims();
128
128
 
129
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
129
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
130
130
  var ActionTypeV2_exports = {};
131
131
  chunkLDTMSHUZ_cjs.__export(ActionTypeV2_exports, {
132
132
  get: () => get,
@@ -147,7 +147,7 @@ function getByRid($ctx, ...args) {
147
147
  return foundryPlatformFetch($ctx, _getByRid, ...args);
148
148
  }
149
149
 
150
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
150
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
151
151
  var Attachment_exports = {};
152
152
  chunkLDTMSHUZ_cjs.__export(Attachment_exports, {
153
153
  get: () => get2,
@@ -183,16 +183,16 @@ function get2($ctx, ...args) {
183
183
  return foundryPlatformFetch($ctx, _get2, ...args);
184
184
  }
185
185
 
186
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
186
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
187
187
  chunkLDTMSHUZ_cjs.init_cjs_shims();
188
188
 
189
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
189
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
190
190
  chunkLDTMSHUZ_cjs.init_cjs_shims();
191
191
 
192
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
192
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
193
193
  chunkLDTMSHUZ_cjs.init_cjs_shims();
194
194
 
195
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
195
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
196
196
  var MediaReferenceProperty_exports = {};
197
197
  chunkLDTMSHUZ_cjs.__export(MediaReferenceProperty_exports, {
198
198
  getMediaContent: () => getMediaContent,
@@ -213,7 +213,7 @@ function upload2($ctx, ...args) {
213
213
  return foundryPlatformFetch($ctx, _upload2, ...args);
214
214
  }
215
215
 
216
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
216
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
217
217
  var ObjectTypeV2_exports = {};
218
218
  chunkLDTMSHUZ_cjs.__export(ObjectTypeV2_exports, {
219
219
  get: () => get3,
@@ -244,7 +244,7 @@ function getOutgoingLinkType($ctx, ...args) {
244
244
  return foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
245
245
  }
246
246
 
247
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
247
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
248
248
  var OntologyInterface_exports = {};
249
249
  chunkLDTMSHUZ_cjs.__export(OntologyInterface_exports, {
250
250
  aggregate: () => aggregate,
@@ -290,7 +290,7 @@ function listInterfaceLinkedObjects($ctx, ...args) {
290
290
  return foundryPlatformFetch($ctx, _listInterfaceLinkedObjects, ...args);
291
291
  }
292
292
 
293
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
293
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
294
294
  var OntologyObjectSet_exports = {};
295
295
  chunkLDTMSHUZ_cjs.__export(OntologyObjectSet_exports, {
296
296
  aggregate: () => aggregate2,
@@ -331,19 +331,19 @@ function loadLinks($ctx, ...args) {
331
331
  return foundryPlatformFetch($ctx, _loadLinks, ...args);
332
332
  }
333
333
 
334
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
334
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
335
335
  chunkLDTMSHUZ_cjs.init_cjs_shims();
336
336
 
337
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
337
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
338
338
  chunkLDTMSHUZ_cjs.init_cjs_shims();
339
339
 
340
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
340
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
341
341
  chunkLDTMSHUZ_cjs.init_cjs_shims();
342
342
 
343
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
343
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
344
344
  chunkLDTMSHUZ_cjs.init_cjs_shims();
345
345
 
346
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
346
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
347
347
  var Query_exports = {};
348
348
  chunkLDTMSHUZ_cjs.__export(Query_exports, {
349
349
  execute: () => execute
@@ -354,7 +354,7 @@ function execute($ctx, ...args) {
354
354
  return foundryPlatformFetch($ctx, _execute, ...args);
355
355
  }
356
356
 
357
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
357
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
358
358
  var QueryType_exports = {};
359
359
  chunkLDTMSHUZ_cjs.__export(QueryType_exports, {
360
360
  get: () => get6,
@@ -370,7 +370,7 @@ function get6($ctx, ...args) {
370
370
  return foundryPlatformFetch($ctx, _get6, ...args);
371
371
  }
372
372
 
373
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
373
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
374
374
  var TimeSeriesPropertyV2_exports = {};
375
375
  chunkLDTMSHUZ_cjs.__export(TimeSeriesPropertyV2_exports, {
376
376
  getFirstPoint: () => getFirstPoint,
@@ -391,7 +391,7 @@ function streamPoints($ctx, ...args) {
391
391
  return foundryPlatformFetch($ctx, _streamPoints, ...args);
392
392
  }
393
393
 
394
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
394
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.45.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
395
395
  var TimeSeriesValueBankProperty_exports = {};
396
396
  chunkLDTMSHUZ_cjs.__export(TimeSeriesValueBankProperty_exports, {
397
397
  getLatestValue: () => getLatestValue,
@@ -439,7 +439,7 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
439
439
  }
440
440
  const objOrInterfaceDef2 = def2.type === "object" ? await clientCtx.ontologyProvider.getObjectDefinition(def2.apiName) : await clientCtx.ontologyProvider.getInterfaceDefinition(def2.apiName);
441
441
  const linkDef2 = objOrInterfaceDef2.links[objectSet.link];
442
- !linkDef2 ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Missing link definition for '${objectSet.link}'`) : invariant3__default.default(false) : void 0;
442
+ !linkDef2 ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `Missing link definition for '${objectSet.link}'`) : invariant4__default.default(false) : void 0;
443
443
  return objOrInterfaceDef2.type === "object" ? {
444
444
  apiName: objOrInterfaceDef2.links[objectSet.link].targetType,
445
445
  type: "object"
@@ -477,7 +477,7 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
477
477
  const objectSetTypes2 = await Promise.all(objectSets2.map((os) => extractObjectOrInterfaceType(clientCtx, os)));
478
478
  const filteredObjectTypes2 = objectSetTypes2.filter(Boolean);
479
479
  const firstInterfaceType = filteredObjectTypes2.find((val) => val?.type === "interface");
480
- !firstInterfaceType ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Missing interface type in intersect objectset scope'`) : invariant3__default.default(false) : void 0;
480
+ !firstInterfaceType ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `Missing interface type in intersect objectset scope'`) : invariant4__default.default(false) : void 0;
481
481
  return firstInterfaceType;
482
482
  }
483
483
  case "subtract":
@@ -488,7 +488,7 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
488
488
  const firstObjectType = filteredObjectTypes[0];
489
489
  !filteredObjectTypes.every((val) => {
490
490
  return val?.apiName === firstObjectType?.apiName && val?.type === firstObjectType?.type;
491
- }) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Can only have one object type when doing subtract, union") : invariant3__default.default(false) : void 0;
491
+ }) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Can only have one object type when doing subtract, union") : invariant4__default.default(false) : void 0;
492
492
  return filteredObjectTypes[0];
493
493
  case "static":
494
494
  case "reference":
@@ -500,7 +500,7 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
500
500
  }
501
501
  const objOrInterfaceDef = def.type === "object" ? await clientCtx.ontologyProvider.getObjectDefinition(def.apiName) : await clientCtx.ontologyProvider.getInterfaceDefinition(def.apiName);
502
502
  const linkDef = objOrInterfaceDef.links[objectSet.interfaceLink];
503
- !linkDef ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Missing link definition for '${objectSet.interfaceLink}'`) : invariant3__default.default(false) : void 0;
503
+ !linkDef ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `Missing link definition for '${objectSet.interfaceLink}'`) : invariant4__default.default(false) : void 0;
504
504
  return objOrInterfaceDef.type === "object" ? {
505
505
  apiName: objOrInterfaceDef.links[objectSet.interfaceLink].targetType,
506
506
  type: "object"
@@ -510,7 +510,7 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
510
510
  };
511
511
  // We don't have to worry about new object sets being added and doing a runtime break and breaking people since the OSDK is always constructing these.
512
512
  default:
513
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Unsupported object set type for deriving object or interface type,`) : invariant3__default.default(false) ;
513
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `Unsupported object set type for deriving object or interface type,`) : invariant4__default.default(false) ;
514
514
  }
515
515
  }
516
516
 
@@ -533,7 +533,7 @@ async function extractRdpDefinitionInternal(clientCtx, objectSet, methodInputObj
533
533
  }
534
534
  const objDef = await clientCtx.ontologyProvider.getObjectDefinition(childObjectType);
535
535
  const linkDef = objDef.links[objectSet.link];
536
- !linkDef ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Missing link definition for '${objectSet.link}'`) : invariant3__default.default(false) : void 0;
536
+ !linkDef ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `Missing link definition for '${objectSet.link}'`) : invariant4__default.default(false) : void 0;
537
537
  return {
538
538
  definitions: definitions2,
539
539
  childObjectType: objDef.links[objectSet.link].targetType
@@ -619,13 +619,13 @@ async function extractRdpDefinitionInternal(clientCtx, objectSet, methodInputObj
619
619
  ...acc,
620
620
  ...definitions2
621
621
  }), {});
622
- !(Object.keys(definitions).length === 0) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Object sets combined using intersect, subtract, or union must not contain any derived property definitions") : invariant3__default.default(false) : void 0;
622
+ !(Object.keys(definitions).length === 0) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Object sets combined using intersect, subtract, or union must not contain any derived property definitions") : invariant4__default.default(false) : void 0;
623
623
  const firstValidChildObjectType = objectSetTypes.find(({
624
624
  childObjectType
625
625
  }) => childObjectType != null)?.childObjectType;
626
626
  !objectSetTypes.every(({
627
627
  childObjectType
628
- }) => childObjectType === firstValidChildObjectType || childObjectType == null) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "All object sets in an intersect, subtract, or union must have the same child object type") : invariant3__default.default(false) : void 0;
628
+ }) => childObjectType === firstValidChildObjectType || childObjectType == null) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "All object sets in an intersect, subtract, or union must have the same child object type") : invariant4__default.default(false) : void 0;
629
629
  return {
630
630
  definitions: {},
631
631
  childObjectType: firstValidChildObjectType
@@ -637,9 +637,9 @@ async function extractRdpDefinitionInternal(clientCtx, objectSet, methodInputObj
637
637
  };
638
638
  // We don't have to worry about new object sets being added and doing a runtime break and breaking people since the OSDK is always constructing these.
639
639
  case "interfaceLinkSearchAround":
640
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Unsupported object set type for Runtime Derived Properties`) : invariant3__default.default(false) ;
640
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `Unsupported object set type for Runtime Derived Properties`) : invariant4__default.default(false) ;
641
641
  default:
642
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Unsupported object set type for Runtime Derived Properties`) : invariant3__default.default(false) ;
642
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `Unsupported object set type for Runtime Derived Properties`) : invariant4__default.default(false) ;
643
643
  }
644
644
  }
645
645
 
@@ -690,6 +690,7 @@ function resolveInterfaceObjectSet(objectSet, interfaceTypeApiName, args) {
690
690
  } : objectSet;
691
691
  }
692
692
  async function fetchStaticRidPage(client, rids, args, useSnapshot = false) {
693
+ const shouldLoadPropertySecurities = args.$loadPropertySecurityMetadata ?? false;
693
694
  const requestBody = await applyFetchArgs(args, {
694
695
  objectSet: {
695
696
  type: "static",
@@ -697,7 +698,8 @@ async function fetchStaticRidPage(client, rids, args, useSnapshot = false) {
697
698
  },
698
699
  select: args?.$select ?? [],
699
700
  excludeRid: !args?.$includeRid,
700
- snapshot: useSnapshot
701
+ snapshot: useSnapshot,
702
+ loadPropertySecurities: shouldLoadPropertySecurities
701
703
  }, client, {
702
704
  type: "object",
703
705
  apiName: ""
@@ -712,13 +714,14 @@ async function fetchStaticRidPage(client, rids, args, useSnapshot = false) {
712
714
  transactionId: client.transactionId
713
715
  });
714
716
  return Promise.resolve({
715
- data: await client.objectFactory2(client, result.data, void 0, {}, !args.$includeRid, args.$select, false, result.interfaceToObjectTypeMappings, result.interfaceToObjectTypeMappingsV2),
717
+ data: await client.objectFactory2(client, result.data, void 0, {}, shouldLoadPropertySecurities ? result.propertySecurities : void 0, !args.$includeRid, args.$select, false, result.interfaceToObjectTypeMappings, result.interfaceToObjectTypeMappingsV2),
716
718
  nextPageToken: result.nextPageToken,
717
719
  totalCount: result.totalCount
718
720
  });
719
721
  }
720
722
  async function fetchInterfacePage(client, interfaceType, args, objectSet, useSnapshot = false) {
721
723
  if (args.$__UNSTABLE_useOldInterfaceApis) {
724
+ !(args.$loadPropertySecurityMetadata === false || args.$loadPropertySecurityMetadata === void 0) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "`$loadPropertySecurityMetadata` is not supported with old interface APIs") : invariant4__default.default(false) : void 0;
722
725
  const baseRequestBody = {
723
726
  augmentedProperties: {},
724
727
  augmentedSharedPropertyTypes: {},
@@ -746,16 +749,19 @@ async function fetchInterfacePage(client, interfaceType, args, objectSet, useSna
746
749
  // drop readonly
747
750
  interfaceType.apiName,
748
751
  !args.$includeRid,
749
- await extractRdpDefinition(client, objectSet)
752
+ await extractRdpDefinition(client, objectSet),
753
+ void 0
750
754
  );
751
755
  return result2;
752
756
  }
753
757
  const extractedInterfaceTypeApiName = (await extractObjectOrInterfaceType(client, objectSet))?.apiName ?? interfaceType.apiName;
754
758
  const resolvedInterfaceObjectSet = resolveInterfaceObjectSet(objectSet, extractedInterfaceTypeApiName, args);
759
+ const shouldLoadPropertySecurities = args.$loadPropertySecurityMetadata ?? false;
755
760
  const requestBody = await buildAndRemapRequestBody(args, {
756
761
  objectSet: resolvedInterfaceObjectSet,
757
762
  select: args?.$select ? [...args.$select] : [],
758
763
  selectV2: [],
764
+ loadPropertySecurities: shouldLoadPropertySecurities,
759
765
  excludeRid: !args?.$includeRid,
760
766
  snapshot: useSnapshot
761
767
  }, client, interfaceType);
@@ -768,7 +774,7 @@ async function fetchInterfacePage(client, interfaceType, args, objectSet, useSna
768
774
  transactionId: client.transactionId
769
775
  });
770
776
  return Promise.resolve({
771
- data: await client.objectFactory2(client, result.data, extractedInterfaceTypeApiName, {}, !args.$includeRid, args.$select, false, result.interfaceToObjectTypeMappings, result.interfaceToObjectTypeMappingsV2),
777
+ data: await client.objectFactory2(client, result.data, extractedInterfaceTypeApiName, {}, shouldLoadPropertySecurities ? result.propertySecurities : void 0, !args.$includeRid, args.$select, false, result.interfaceToObjectTypeMappings, result.interfaceToObjectTypeMappingsV2),
772
778
  nextPageToken: result.nextPageToken,
773
779
  totalCount: result.totalCount
774
780
  });
@@ -831,6 +837,9 @@ async function applyFetchArgs(args, body, _client, objectType) {
831
837
  if (args?.$pageSize != null) {
832
838
  body.pageSize = args.$pageSize;
833
839
  }
840
+ if (args?.$loadPropertySecurityMetadata) {
841
+ body.loadPropertySecurities = true;
842
+ }
834
843
  const orderBy = args?.$orderBy;
835
844
  if (orderBy) {
836
845
  if (orderBy === "relevance") {
@@ -855,10 +864,12 @@ async function applyFetchArgs(args, body, _client, objectType) {
855
864
  async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot = false) {
856
865
  void client.ontologyProvider.getObjectDefinition(objectType.apiName).catch(() => {
857
866
  });
867
+ const shouldLoadPropertySecurities = args.$loadPropertySecurityMetadata ?? false;
858
868
  const requestBody = await buildAndRemapRequestBody(args, {
859
869
  objectSet,
860
870
  select: args?.$select ? [...args.$select] : [],
861
871
  selectV2: [],
872
+ loadPropertySecurities: shouldLoadPropertySecurities,
862
873
  excludeRid: !args?.$includeRid,
863
874
  snapshot: useSnapshot
864
875
  }, client, objectType);
@@ -870,7 +881,7 @@ async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot
870
881
  transactionId: client.transactionId
871
882
  });
872
883
  return Promise.resolve({
873
- data: await client.objectFactory(client, r.data, void 0, void 0, await extractRdpDefinition(client, objectSet), args.$select, false),
884
+ data: await client.objectFactory(client, r.data, void 0, void 0, await extractRdpDefinition(client, objectSet), shouldLoadPropertySecurities ? r.propertySecurities : void 0, args.$select, false),
874
885
  nextPageToken: r.nextPageToken,
875
886
  totalCount: r.totalCount
876
887
  });
@@ -1137,7 +1148,7 @@ function modernToLegacyWhereClause(whereClause, objectOrInterface, rdpNames) {
1137
1148
  }
1138
1149
  function modernToLegacyWhereClauseInner(whereClause, objectOrInterface, rdpNames) {
1139
1150
  const parts = Object.entries(whereClause);
1140
- !(parts.length === 1) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Invalid where clause provided.") : invariant3__default.default(false) : void 0;
1151
+ !(parts.length === 1) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Invalid where clause provided.") : invariant4__default.default(false) : void 0;
1141
1152
  if (isAndClause(whereClause)) {
1142
1153
  return {
1143
1154
  type: "and",
@@ -1157,7 +1168,7 @@ function modernToLegacyWhereClauseInner(whereClause, objectOrInterface, rdpNames
1157
1168
  return handleWherePair(parts[0], objectOrInterface, void 0, rdpNames);
1158
1169
  }
1159
1170
  function handleWherePair([fieldName, filter], objectOrInterface, structFieldSelector, rdpNames) {
1160
- !(filter != null) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Defined key values are only allowed when they are not undefined.") : invariant3__default.default(false) : void 0;
1171
+ !(filter != null) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Defined key values are only allowed when they are not undefined.") : invariant4__default.default(false) : void 0;
1161
1172
  const isRdp = !structFieldSelector && rdpNames?.has(fieldName);
1162
1173
  const propertyIdentifier = isRdp ? {
1163
1174
  type: "property",
@@ -1168,7 +1179,7 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
1168
1179
  propertyApiName: fullyQualifyPropName(structFieldSelector.propertyApiName, objectOrInterface)
1169
1180
  } : void 0;
1170
1181
  const field = !isRdp && structFieldSelector == null ? fullyQualifyPropName(fieldName, objectOrInterface) : void 0;
1171
- !(field == null || propertyIdentifier == null && (field != null || isRdp != null)) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Encountered error constructing where clause: field and propertyIdentifier cannot both be defined") : invariant3__default.default(false) : void 0;
1182
+ !(field == null || propertyIdentifier == null && (field != null || isRdp != null)) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Encountered error constructing where clause: field and propertyIdentifier cannot both be defined") : invariant4__default.default(false) : void 0;
1172
1183
  if (typeof filter === "string" || typeof filter === "number" || typeof filter === "boolean") {
1173
1184
  return {
1174
1185
  type: "eq",
@@ -1181,10 +1192,10 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
1181
1192
  }
1182
1193
  const keysOfFilter = Object.keys(filter);
1183
1194
  const hasDollarSign = keysOfFilter.some((key) => key.startsWith("$"));
1184
- !(!hasDollarSign || keysOfFilter.length === 1) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "A WhereClause Filter with multiple clauses/fields is not allowed. Instead, use an 'or'/'and' clause to combine multiple filters.") : invariant3__default.default(false) : void 0;
1195
+ !(!hasDollarSign || keysOfFilter.length === 1) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "A WhereClause Filter with multiple clauses/fields is not allowed. Instead, use an 'or'/'and' clause to combine multiple filters.") : invariant4__default.default(false) : void 0;
1185
1196
  if (!hasDollarSign) {
1186
1197
  const structFilter = Object.entries(filter);
1187
- !(structFilter.length === 1) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Cannot filter on more than one struct field in the same clause, need to use an and clause") : invariant3__default.default(false) : void 0;
1198
+ !(structFilter.length === 1) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Cannot filter on more than one struct field in the same clause, need to use an and clause") : invariant4__default.default(false) : void 0;
1188
1199
  const structFieldApiName = keysOfFilter[0];
1189
1200
  return handleWherePair(Object.entries(filter)[0], objectOrInterface, {
1190
1201
  propertyApiName: fieldName,
@@ -1192,15 +1203,22 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
1192
1203
  }, rdpNames);
1193
1204
  }
1194
1205
  const firstKey = keysOfFilter[0];
1195
- !(filter[firstKey] != null) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false) : invariant3__default.default(false) : void 0;
1206
+ !(filter[firstKey] != null) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false) : invariant4__default.default(false) : void 0;
1196
1207
  if (firstKey === "$contains" && filter[firstKey] instanceof Object) {
1197
- const structFilter = Object.entries(filter[firstKey]);
1198
- !(structFilter.length === 1) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Cannot filter on more than one struct field in the same clause, need to use an and clause") : invariant3__default.default(false) : void 0;
1199
- const structFieldApiName = structFilter[0][0];
1200
- return handleWherePair(structFilter[0], objectOrInterface, {
1201
- propertyApiName: fieldName,
1202
- structFieldApiName
1203
- });
1208
+ const containsValue = filter[firstKey];
1209
+ const containsKeys = Object.keys(containsValue);
1210
+ const isFilterObject = containsKeys.some((key) => key.startsWith("$"));
1211
+ if (isFilterObject) {
1212
+ return handleWherePair([fieldName, containsValue], objectOrInterface, structFieldSelector, rdpNames);
1213
+ } else {
1214
+ const structFilter = Object.entries(containsValue);
1215
+ !(structFilter.length === 1) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Cannot filter on more than one struct field in the same clause, need to use an and clause") : invariant4__default.default(false) : void 0;
1216
+ const structFieldApiName = structFilter[0][0];
1217
+ return handleWherePair(structFilter[0], objectOrInterface, {
1218
+ propertyApiName: fieldName,
1219
+ structFieldApiName
1220
+ });
1221
+ }
1204
1222
  }
1205
1223
  if (firstKey === "$ne") {
1206
1224
  return {
@@ -1310,12 +1328,12 @@ function derivedPropertyDefinitionFactory(wireDefinition, definitionMap) {
1310
1328
  var getDefinitionFromMap = (arg, definitionMap) => {
1311
1329
  if (typeof arg === "object") {
1312
1330
  const definition = definitionMap.get(arg);
1313
- !definition ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Derived Property is not defined") : invariant3__default.default(false) : void 0;
1331
+ !definition ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Derived Property is not defined") : invariant4__default.default(false) : void 0;
1314
1332
  return definition;
1315
1333
  } else if (typeof arg === "number") {
1316
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Literals for derived properties are not yet supported") : invariant3__default.default(false) ;
1334
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Literals for derived properties are not yet supported") : invariant4__default.default(false) ;
1317
1335
  }
1318
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Invalid argument type for a derived property") : invariant3__default.default(false) ;
1336
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Invalid argument type for a derived property") : invariant4__default.default(false) ;
1319
1337
  };
1320
1338
 
1321
1339
  // src/derivedProperties/createWithPropertiesObjectSet.ts
@@ -1338,7 +1356,7 @@ function createWithPropertiesObjectSet(objectType, objectSet, definitionMap, fro
1338
1356
  },
1339
1357
  aggregate: (aggregation, opt) => {
1340
1358
  const splitAggregation = aggregation.split(":");
1341
- !(splitAggregation.length === 2 || splitAggregation[0] === "$count") ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Invalid aggregation format") : invariant3__default.default(false) : void 0;
1359
+ !(splitAggregation.length === 2 || splitAggregation[0] === "$count") ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Invalid aggregation format") : invariant4__default.default(false) : void 0;
1342
1360
  const [aggregationPropertyName, aggregationOperation] = splitAggregation;
1343
1361
  let aggregationOperationDefinition;
1344
1362
  switch (aggregationOperation) {
@@ -1376,7 +1394,7 @@ function createWithPropertiesObjectSet(objectType, objectSet, definitionMap, fro
1376
1394
  break;
1377
1395
  }
1378
1396
  default:
1379
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Invalid aggregation operation " + aggregationOperation) : invariant3__default.default(false) ;
1397
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Invalid aggregation operation " + aggregationOperation) : invariant4__default.default(false) ;
1380
1398
  }
1381
1399
  const wrappedObjectSet = {
1382
1400
  type: "selection",
@@ -1411,19 +1429,19 @@ function createWithPropertiesObjectSet(objectType, objectSet, definitionMap, fro
1411
1429
  },
1412
1430
  constant: {
1413
1431
  double: (value) => {
1414
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Not supported") : invariant3__default.default(false) ;
1432
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Not supported") : invariant4__default.default(false) ;
1415
1433
  },
1416
1434
  integer: (value) => {
1417
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Not supported") : invariant3__default.default(false) ;
1435
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Not supported") : invariant4__default.default(false) ;
1418
1436
  },
1419
1437
  long: (value) => {
1420
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Not supported") : invariant3__default.default(false) ;
1438
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Not supported") : invariant4__default.default(false) ;
1421
1439
  },
1422
1440
  datetime: (value) => {
1423
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Not supported") : invariant3__default.default(false) ;
1441
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Not supported") : invariant4__default.default(false) ;
1424
1442
  },
1425
1443
  timestamp: (value) => {
1426
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Not supported") : invariant3__default.default(false) ;
1444
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Not supported") : invariant4__default.default(false) ;
1427
1445
  }
1428
1446
  }
1429
1447
  };
@@ -1440,7 +1458,7 @@ function legacyToModernSingleAggregationResult(entry) {
1440
1458
  if (parts[0] === "count") {
1441
1459
  return accumulator;
1442
1460
  }
1443
- !(parts.length === 2) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "assumed we were getting a `${key}.${type}`") : invariant3__default.default(false) : void 0;
1461
+ !(parts.length === 2) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "assumed we were getting a `${key}.${type}`") : invariant4__default.default(false) : void 0;
1444
1462
  const property = parts[0];
1445
1463
  const metricType = parts[1];
1446
1464
  if (!(property in accumulator)) {
@@ -1551,7 +1569,7 @@ async function aggregate3(clientCtx, objectType, objectSet = resolveBaseObjectSe
1551
1569
  transactionId: clientCtx.transactionId
1552
1570
  });
1553
1571
  if (!req.$groupBy) {
1554
- !(result.data.length === 1) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "no group by clause should mean only one data result") : invariant3__default.default(false) : void 0;
1572
+ !(result.data.length === 1) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "no group by clause should mean only one data result") : invariant4__default.default(false) : void 0;
1555
1573
  return {
1556
1574
  ...aggregationToCountResult(result.data[0]),
1557
1575
  ...legacyToModernSingleAggregationResult(result.data[0])
@@ -1744,9 +1762,9 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
1744
1762
  this.#logger = client.logger?.child({}, {
1745
1763
  msgPrefix: "<OSW> "
1746
1764
  });
1747
- !(client.baseUrl.startsWith("https://") || client.baseUrl.startsWith("http://")) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Stack must be a URL") : invariant3__default.default(false) : void 0;
1765
+ !(client.baseUrl.startsWith("https://") || client.baseUrl.startsWith("http://")) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Stack must be a URL") : invariant4__default.default(false) : void 0;
1748
1766
  }
1749
- async subscribe(objectType, objectSet, listener, properties = []) {
1767
+ async subscribe(objectType, objectSet, listener, properties = [], shouldLoadRids = false) {
1750
1768
  const objOrInterfaceDef = objectType.type === "object" ? await this.#client.ontologyProvider.getObjectDefinition(objectType.apiName) : await this.#client.ontologyProvider.getInterfaceDefinition(objectType.apiName);
1751
1769
  let objectProperties = [];
1752
1770
  let referenceProperties = [];
@@ -1765,7 +1783,8 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
1765
1783
  // Since we don't have a real subscription id yet but we need to keep
1766
1784
  // track of this reference, we can just use a random uuid.
1767
1785
  subscriptionId: `TMP-${nextUuid()}}`,
1768
- interfaceApiName: objOrInterfaceDef.type === "object" ? void 0 : objOrInterfaceDef.apiName
1786
+ interfaceApiName: objOrInterfaceDef.type === "object" ? void 0 : objOrInterfaceDef.apiName,
1787
+ loadRids: shouldLoadRids
1769
1788
  };
1770
1789
  this.#subscriptions.set(sub.subscriptionId, sub);
1771
1790
  void this.#initiateSubscribe(sub);
@@ -1818,7 +1837,10 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
1818
1837
  return {
1819
1838
  objectSet,
1820
1839
  propertySet: requestedProperties,
1821
- referenceSet: requestedReferenceProperties
1840
+ referenceSet: requestedReferenceProperties,
1841
+ objectLoadingResponseOptions: {
1842
+ shouldLoadObjectRids: true
1843
+ }
1822
1844
  };
1823
1845
  })
1824
1846
  };
@@ -1938,7 +1960,7 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
1938
1960
  return;
1939
1961
  }
1940
1962
  default:
1941
- process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Unexpected message type") : invariant3__default.default(false) ;
1963
+ process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Unexpected message type") : invariant4__default.default(false) ;
1942
1964
  }
1943
1965
  };
1944
1966
  #handleMessage_objectSetChanged = async (payload) => {
@@ -1952,7 +1974,7 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
1952
1974
  __primaryKey: sub.primaryKeyPropertyName != null ? o.primaryKey[sub.primaryKeyPropertyName] : void 0,
1953
1975
  ...o.primaryKey,
1954
1976
  [o.property]: o.value
1955
- }], sub.interfaceApiName, {}, false, void 0, false, await this.#fetchInterfaceMapping(o.objectType, sub.interfaceApiName));
1977
+ }], sub.interfaceApiName, {}, void 0, false, void 0, false, await this.#fetchInterfaceMapping(o.objectType, sub.interfaceApiName));
1956
1978
  const singleOsdkObject = osdkObjectArray[0] ?? void 0;
1957
1979
  return singleOsdkObject != null ? {
1958
1980
  object: singleOsdkObject,
@@ -1974,11 +1996,16 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
1974
1996
  for (const key of keysToDelete) {
1975
1997
  delete o.object[key];
1976
1998
  }
1977
- const osdkObjectArray = await this.#client.objectFactory2(this.#client, [o.object], sub.interfaceApiName, {}, false, void 0, false, await this.#fetchInterfaceMapping(o.object.__apiName, sub.interfaceApiName));
1999
+ const osdkObjectArray = await this.#client.objectFactory2(this.#client, [o.object], sub.interfaceApiName, {}, void 0, false, void 0, false, await this.#fetchInterfaceMapping(o.object.__apiName, sub.interfaceApiName));
1978
2000
  const singleOsdkObject = osdkObjectArray[0] ?? void 0;
1979
- return singleOsdkObject != null ? {
2001
+ const rid = singleOsdkObject["$rid"];
2002
+ return singleOsdkObject != null ? rid === void 0 ? {
1980
2003
  object: singleOsdkObject,
1981
2004
  state: o.state
2005
+ } : {
2006
+ object: singleOsdkObject,
2007
+ state: o.state,
2008
+ rid
1982
2009
  } : void 0;
1983
2010
  }));
1984
2011
  for (const osdkObject of osdkObjects) {
@@ -2003,7 +2030,7 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
2003
2030
  }
2004
2031
  #handleMessage_refreshObjectSet = (payload) => {
2005
2032
  const sub = this.#subscriptions.get(payload.id);
2006
- !sub ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Expected subscription id ${payload.id}`) : invariant3__default.default(false) : void 0;
2033
+ !sub ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `Expected subscription id ${payload.id}`) : invariant4__default.default(false) : void 0;
2007
2034
  try {
2008
2035
  sub.listener.onOutOfDate();
2009
2036
  } catch (error) {
@@ -2017,7 +2044,7 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
2017
2044
  responses
2018
2045
  } = payload;
2019
2046
  const subs = this.#pendingSubscriptions.get(id);
2020
- !subs ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `should have a pending subscription for ${id}`) : invariant3__default.default(false) : void 0;
2047
+ !subs ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `should have a pending subscription for ${id}`) : invariant4__default.default(false) : void 0;
2021
2048
  this.#pendingSubscriptions.delete(id);
2022
2049
  for (let i = 0; i < responses.length; i++) {
2023
2050
  const sub = subs[i];
@@ -2059,7 +2086,7 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
2059
2086
  #handleMessage_subscriptionClosed(payload) {
2060
2087
  const sub = this.#subscriptions.get(payload.id);
2061
2088
  if (sub == null && this.#endedSubscriptions.has(payload.id)) return;
2062
- !sub ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Expected subscription id ${payload.id}`) : invariant3__default.default(false) : void 0;
2089
+ !sub ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `Expected subscription id ${payload.id}`) : invariant4__default.default(false) : void 0;
2063
2090
  this.#tryCatchOnError(sub, true, payload.cause);
2064
2091
  this.#unsubscribe(sub, "error");
2065
2092
  }
@@ -2088,7 +2115,7 @@ var ObjectSetListenerWebsocket = class _ObjectSetListenerWebsocket {
2088
2115
  if (this.#subscriptions.size > 0) {
2089
2116
  if (process.env.NODE_ENV !== "production") {
2090
2117
  for (const s of this.#subscriptions.values()) {
2091
- !(s.status !== "done" && s.status !== "error") ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "should not have done/error subscriptions still") : invariant3__default.default(false) : void 0;
2118
+ !(s.status !== "done" && s.status !== "error") ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "should not have done/error subscriptions still") : invariant4__default.default(false) : void 0;
2092
2119
  }
2093
2120
  }
2094
2121
  for (const s of this.#subscriptions.values()) {
@@ -2222,7 +2249,7 @@ function createObjectSet(objectType, clientCtx, objectSet = resolveBaseObjectSet
2222
2249
  })), objectType, options, await createWithPk(clientCtx, objectType, objectSet, primaryKey));
2223
2250
  } : void 0,
2224
2251
  subscribe: (listener, opts) => {
2225
- const pendingSubscribe = ObjectSetListenerWebsocket.getInstance(clientCtx).subscribe(objectType, objectSet, listener, opts?.properties);
2252
+ const pendingSubscribe = ObjectSetListenerWebsocket.getInstance(clientCtx).subscribe(objectType, objectSet, listener, opts?.properties, opts?.includeRid);
2226
2253
  return {
2227
2254
  unsubscribe: async () => (await pendingSubscribe)()
2228
2255
  };
@@ -2244,7 +2271,7 @@ function createObjectSet(objectType, clientCtx, objectSet = resolveBaseObjectSet
2244
2271
  },
2245
2272
  narrowToType: (objectTypeDef) => {
2246
2273
  const existingMapping = clientCtx.narrowTypeInterfaceOrObjectMapping[objectTypeDef.apiName];
2247
- !(!existingMapping || existingMapping === objectTypeDef.type) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `${objectTypeDef.apiName} was previously used as an ${existingMapping}, but now used as a ${objectTypeDef.type}.`) : invariant3__default.default(false) : void 0;
2274
+ !(!existingMapping || existingMapping === objectTypeDef.type) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, `${objectTypeDef.apiName} was previously used as an ${existingMapping}, but now used as a ${objectTypeDef.type}.`) : invariant4__default.default(false) : void 0;
2248
2275
  clientCtx.narrowTypeInterfaceOrObjectMapping[objectTypeDef.apiName] = objectTypeDef.type;
2249
2276
  return clientCtx.objectSetFactory(objectTypeDef, clientCtx, {
2250
2277
  type: "asType",
@@ -2332,5 +2359,5 @@ exports.hydrateAttachmentFromRidInternal = hydrateAttachmentFromRidInternal;
2332
2359
  exports.isObjectSet = isObjectSet;
2333
2360
  exports.isWireObjectSet = isWireObjectSet;
2334
2361
  exports.symbolClientContext = symbolClientContext;
2335
- //# sourceMappingURL=chunk-PARVKNVB.cjs.map
2336
- //# sourceMappingURL=chunk-PARVKNVB.cjs.map
2362
+ //# sourceMappingURL=chunk-VVKEXIIO.cjs.map
2363
+ //# sourceMappingURL=chunk-VVKEXIIO.cjs.map