@osdk/client 2.8.0-beta.25 → 2.8.0-beta.26

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 (97) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/build/browser/actions/applyAction.js +4 -4
  3. package/build/browser/actions/applyAction.js.map +1 -1
  4. package/build/browser/fetchMetadata.js +1 -1
  5. package/build/browser/fetchMetadata.js.map +1 -1
  6. package/build/browser/internal/conversions/modernToLegacyWhereClause.js +11 -0
  7. package/build/browser/internal/conversions/modernToLegacyWhereClause.js.map +1 -1
  8. package/build/browser/internal/conversions/toIntervalQuery.js +56 -0
  9. package/build/browser/internal/conversions/toIntervalQuery.js.map +1 -0
  10. package/build/browser/observable/ObservableClient.js.map +1 -1
  11. package/build/browser/observable/internal/BulkObjectLoader.js +16 -11
  12. package/build/browser/observable/internal/BulkObjectLoader.js.map +1 -1
  13. package/build/browser/observable/internal/evaluateFilter.js +1 -0
  14. package/build/browser/observable/internal/evaluateFilter.js.map +1 -1
  15. package/build/browser/observable/internal/list/ListCacheKey.js +1 -0
  16. package/build/browser/observable/internal/list/ListCacheKey.js.map +1 -1
  17. package/build/browser/observable/internal/list/ListQuery.js +3 -0
  18. package/build/browser/observable/internal/list/ListQuery.js.map +1 -1
  19. package/build/browser/observable/internal/list/ListQueryOptions.js.map +1 -1
  20. package/build/browser/observable/internal/list/ListsHelper.js +3 -2
  21. package/build/browser/observable/internal/list/ListsHelper.js.map +1 -1
  22. package/build/browser/observable/internal/object/ObjectQuery.js +6 -3
  23. package/build/browser/observable/internal/object/ObjectQuery.js.map +1 -1
  24. package/build/browser/observable/internal/object/ObjectsHelper.js +3 -2
  25. package/build/browser/observable/internal/object/ObjectsHelper.js.map +1 -1
  26. package/build/browser/observable/internal/objectset/ObjectSetCacheKey.js.map +1 -1
  27. package/build/browser/observable/internal/objectset/ObjectSetHelper.js +3 -0
  28. package/build/browser/observable/internal/objectset/ObjectSetHelper.js.map +1 -1
  29. package/build/browser/observable/internal/objectset/ObjectSetQuery.js +3 -0
  30. package/build/browser/observable/internal/objectset/ObjectSetQuery.js.map +1 -1
  31. package/build/browser/observable/internal/objectset/ObjectSetQueryOptions.js.map +1 -1
  32. package/build/browser/util/UserAgent.js +2 -2
  33. package/build/cjs/{chunk-R7OP6A6S.cjs → chunk-BWOPPEUP.cjs} +82 -34
  34. package/build/cjs/chunk-BWOPPEUP.cjs.map +1 -0
  35. package/build/cjs/{chunk-3RY4ECUB.cjs → chunk-YKQ5QTEF.cjs} +44 -44
  36. package/build/cjs/chunk-YKQ5QTEF.cjs.map +1 -0
  37. package/build/cjs/index.cjs +10 -10
  38. package/build/cjs/public/internal.cjs +8 -8
  39. package/build/cjs/public/unstable-do-not-use.cjs +106 -86
  40. package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
  41. package/build/cjs/public/unstable-do-not-use.d.cts +12 -0
  42. package/build/esm/actions/applyAction.js +4 -4
  43. package/build/esm/actions/applyAction.js.map +1 -1
  44. package/build/esm/fetchMetadata.js +1 -1
  45. package/build/esm/fetchMetadata.js.map +1 -1
  46. package/build/esm/internal/conversions/modernToLegacyWhereClause.js +11 -0
  47. package/build/esm/internal/conversions/modernToLegacyWhereClause.js.map +1 -1
  48. package/build/esm/internal/conversions/toIntervalQuery.js +56 -0
  49. package/build/esm/internal/conversions/toIntervalQuery.js.map +1 -0
  50. package/build/esm/observable/ObservableClient.js.map +1 -1
  51. package/build/esm/observable/internal/BulkObjectLoader.js +16 -11
  52. package/build/esm/observable/internal/BulkObjectLoader.js.map +1 -1
  53. package/build/esm/observable/internal/evaluateFilter.js +1 -0
  54. package/build/esm/observable/internal/evaluateFilter.js.map +1 -1
  55. package/build/esm/observable/internal/list/ListCacheKey.js +1 -0
  56. package/build/esm/observable/internal/list/ListCacheKey.js.map +1 -1
  57. package/build/esm/observable/internal/list/ListQuery.js +3 -0
  58. package/build/esm/observable/internal/list/ListQuery.js.map +1 -1
  59. package/build/esm/observable/internal/list/ListQueryOptions.js.map +1 -1
  60. package/build/esm/observable/internal/list/ListsHelper.js +3 -2
  61. package/build/esm/observable/internal/list/ListsHelper.js.map +1 -1
  62. package/build/esm/observable/internal/object/ObjectQuery.js +6 -3
  63. package/build/esm/observable/internal/object/ObjectQuery.js.map +1 -1
  64. package/build/esm/observable/internal/object/ObjectsHelper.js +3 -2
  65. package/build/esm/observable/internal/object/ObjectsHelper.js.map +1 -1
  66. package/build/esm/observable/internal/objectset/ObjectSetCacheKey.js.map +1 -1
  67. package/build/esm/observable/internal/objectset/ObjectSetHelper.js +3 -0
  68. package/build/esm/observable/internal/objectset/ObjectSetHelper.js.map +1 -1
  69. package/build/esm/observable/internal/objectset/ObjectSetQuery.js +3 -0
  70. package/build/esm/observable/internal/objectset/ObjectSetQuery.js.map +1 -1
  71. package/build/esm/observable/internal/objectset/ObjectSetQueryOptions.js.map +1 -1
  72. package/build/esm/util/UserAgent.js +2 -2
  73. package/build/types/actions/applyAction.d.ts.map +1 -1
  74. package/build/types/internal/conversions/toIntervalQuery.d.ts +7 -0
  75. package/build/types/internal/conversions/toIntervalQuery.d.ts.map +1 -0
  76. package/build/types/observable/ObservableClient.d.ts +7 -0
  77. package/build/types/observable/ObservableClient.d.ts.map +1 -1
  78. package/build/types/observable/internal/BulkObjectLoader.d.ts +1 -1
  79. package/build/types/observable/internal/BulkObjectLoader.d.ts.map +1 -1
  80. package/build/types/observable/internal/list/ListCacheKey.d.ts +2 -1
  81. package/build/types/observable/internal/list/ListCacheKey.d.ts.map +1 -1
  82. package/build/types/observable/internal/list/ListQuery.d.ts.map +1 -1
  83. package/build/types/observable/internal/list/ListQueryOptions.d.ts +1 -0
  84. package/build/types/observable/internal/list/ListQueryOptions.d.ts.map +1 -1
  85. package/build/types/observable/internal/list/ListsHelper.d.ts.map +1 -1
  86. package/build/types/observable/internal/object/ObjectQuery.d.ts +1 -1
  87. package/build/types/observable/internal/object/ObjectQuery.d.ts.map +1 -1
  88. package/build/types/observable/internal/object/ObjectsHelper.d.ts.map +1 -1
  89. package/build/types/observable/internal/objectset/ObjectSetCacheKey.d.ts +1 -0
  90. package/build/types/observable/internal/objectset/ObjectSetCacheKey.d.ts.map +1 -1
  91. package/build/types/observable/internal/objectset/ObjectSetHelper.d.ts.map +1 -1
  92. package/build/types/observable/internal/objectset/ObjectSetQuery.d.ts.map +1 -1
  93. package/build/types/observable/internal/objectset/ObjectSetQueryOptions.d.ts +6 -0
  94. package/build/types/observable/internal/objectset/ObjectSetQueryOptions.d.ts.map +1 -1
  95. package/package.json +8 -8
  96. package/build/cjs/chunk-3RY4ECUB.cjs.map +0 -1
  97. package/build/cjs/chunk-R7OP6A6S.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk3RY4ECUB_cjs = require('../chunk-3RY4ECUB.cjs');
4
- var chunkR7OP6A6S_cjs = require('../chunk-R7OP6A6S.cjs');
3
+ var chunkYKQ5QTEF_cjs = require('../chunk-YKQ5QTEF.cjs');
4
+ var chunkBWOPPEUP_cjs = require('../chunk-BWOPPEUP.cjs');
5
5
  require('../chunk-GSVXEVM4.cjs');
6
6
  require('../chunk-D26YLHTV.cjs');
7
7
  require('../chunk-YJG67XL4.cjs');
@@ -139,7 +139,7 @@ var WhereClauseCanonicalizer = class {
139
139
  var whereCanonicalizer = new WhereClauseCanonicalizer();
140
140
  var orderByCanonicalizer = new OrderByCanonicalizer();
141
141
  function computeObjectSetCacheKey(objectSet, options) {
142
- const keyParts = ["objectSet", chunkR7OP6A6S_cjs.getWireObjectSet(objectSet)];
142
+ const keyParts = ["objectSet", chunkBWOPPEUP_cjs.getWireObjectSet(objectSet)];
143
143
  if (!options) {
144
144
  return JSON.stringify(keyParts);
145
145
  }
@@ -151,13 +151,13 @@ function computeObjectSetCacheKey(objectSet, options) {
151
151
  keyParts.push("props", propKeys);
152
152
  }
153
153
  if (options.union && options.union.length > 0) {
154
- keyParts.push("union", options.union.map((os) => chunkR7OP6A6S_cjs.getWireObjectSet(os)));
154
+ keyParts.push("union", options.union.map((os) => chunkBWOPPEUP_cjs.getWireObjectSet(os)));
155
155
  }
156
156
  if (options.intersect && options.intersect.length > 0) {
157
- keyParts.push("intersect", options.intersect.map((os) => chunkR7OP6A6S_cjs.getWireObjectSet(os)));
157
+ keyParts.push("intersect", options.intersect.map((os) => chunkBWOPPEUP_cjs.getWireObjectSet(os)));
158
158
  }
159
159
  if (options.subtract && options.subtract.length > 0) {
160
- keyParts.push("subtract", options.subtract.map((os) => chunkR7OP6A6S_cjs.getWireObjectSet(os)));
160
+ keyParts.push("subtract", options.subtract.map((os) => chunkBWOPPEUP_cjs.getWireObjectSet(os)));
161
161
  }
162
162
  if (options.pivotTo) {
163
163
  keyParts.push("pivotTo", options.pivotTo);
@@ -221,8 +221,8 @@ var ObservableClientImpl = class {
221
221
  const instances = [];
222
222
  const objectSetWires = [];
223
223
  for (const item of options.dependsOnObjects ?? []) {
224
- if (chunkR7OP6A6S_cjs.isObjectSet(item)) {
225
- objectSetWires.push(chunkR7OP6A6S_cjs.getWireObjectSet(item));
224
+ if (chunkBWOPPEUP_cjs.isObjectSet(item)) {
225
+ objectSetWires.push(chunkBWOPPEUP_cjs.getWireObjectSet(item));
226
226
  } else {
227
227
  instances.push({
228
228
  $apiName: item.$objectType ?? item.$apiName,
@@ -230,7 +230,7 @@ var ObservableClientImpl = class {
230
230
  });
231
231
  }
232
232
  }
233
- const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunkR7OP6A6S_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunkR7OP6A6S_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
233
+ const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunkBWOPPEUP_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunkBWOPPEUP_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
234
234
  return this.__experimentalStore.functions.observe({
235
235
  ...options,
236
236
  queryDef,
@@ -459,7 +459,7 @@ var OptimisticJob = class {
459
459
  return this;
460
460
  },
461
461
  createObject(type, pk, properties) {
462
- const create = store.client[chunkR7OP6A6S_cjs.additionalContext].objectFactory2(store.client[chunkR7OP6A6S_cjs.additionalContext], [{
462
+ const create = store.client[chunkBWOPPEUP_cjs.additionalContext].objectFactory2(store.client[chunkBWOPPEUP_cjs.additionalContext], [{
463
463
  $primaryKey: pk,
464
464
  $apiName: type.apiName,
465
465
  $objectType: type.apiName,
@@ -917,7 +917,7 @@ var Query = class {
917
917
  this.store = store;
918
918
  this.cacheKeys = store.cacheKeys;
919
919
  this.#subject = observable;
920
- this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkR7OP6A6S_cjs.additionalContext].logger : store.client[chunkR7OP6A6S_cjs.additionalContext].logger?.child({}, {
920
+ this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkBWOPPEUP_cjs.additionalContext].logger : store.client[chunkBWOPPEUP_cjs.additionalContext].logger?.child({}, {
921
921
  msgPrefix: process.env.NODE_ENV !== "production" ? `Query<${cacheKey.type}, ${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>` : "Query"
922
922
  }));
923
923
  }
@@ -1079,7 +1079,7 @@ var AggregationQuery = class extends Query {
1079
1079
  #invalidationTypes;
1080
1080
  #invalidationTypesPromise;
1081
1081
  constructor(store, subject, cacheKey, opts) {
1082
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkR7OP6A6S_cjs.additionalContext].logger?.child({}, {
1082
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkBWOPPEUP_cjs.additionalContext].logger?.child({}, {
1083
1083
  msgPrefix: `AggregationQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
1084
1084
  }) : void 0);
1085
1085
  this.apiName = cacheKey.otherKeys[API_NAME_IDX];
@@ -1097,7 +1097,7 @@ var AggregationQuery = class extends Query {
1097
1097
  try {
1098
1098
  const {
1099
1099
  invalidationSet
1100
- } = await getObjectTypesThatInvalidate(this.store.client[chunkR7OP6A6S_cjs.additionalContext], wireObjectSet);
1100
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkBWOPPEUP_cjs.additionalContext], wireObjectSet);
1101
1101
  return /* @__PURE__ */ new Set([this.apiName, ...invalidationSet]);
1102
1102
  } catch (error) {
1103
1103
  this.store.logger?.error("Failed to compute invalidation types for aggregation, falling back to base type only", error);
@@ -1168,7 +1168,7 @@ var ObjectAggregationQuery = class extends AggregationQuery {
1168
1168
  };
1169
1169
  let objectSet;
1170
1170
  if (this.parsedWireObjectSet) {
1171
- objectSet = chunkR7OP6A6S_cjs.createObjectSet(objectTypeDef, this.store.client[chunkR7OP6A6S_cjs.additionalContext], this.parsedWireObjectSet);
1171
+ objectSet = chunkBWOPPEUP_cjs.createObjectSet(objectTypeDef, this.store.client[chunkBWOPPEUP_cjs.additionalContext], this.parsedWireObjectSet);
1172
1172
  } else {
1173
1173
  objectSet = this.store.client(objectTypeDef);
1174
1174
  }
@@ -1210,7 +1210,7 @@ var AggregationsHelper = class extends AbstractHelper {
1210
1210
  return this.getOrCreateQuery(options, void 0);
1211
1211
  }
1212
1212
  getQueryWithObjectSet(options) {
1213
- const serializedObjectSet = JSON.stringify(chunkR7OP6A6S_cjs.getWireObjectSet(options.objectSet));
1213
+ const serializedObjectSet = JSON.stringify(chunkBWOPPEUP_cjs.getWireObjectSet(options.objectSet));
1214
1214
  return this.getOrCreateQuery(options, serializedObjectSet);
1215
1215
  }
1216
1216
  getOrCreateQuery(options, serializedObjectSet) {
@@ -1533,7 +1533,7 @@ var FunctionParamsCanonicalizer = class {
1533
1533
  path.push("$:map_end");
1534
1534
  return arr;
1535
1535
  }
1536
- if (chunk3RY4ECUB_cjs.isObjectSpecifiersObject(value)) {
1536
+ if (chunkYKQ5QTEF_cjs.isObjectSpecifiersObject(value)) {
1537
1537
  const objectType = value.$objectType ?? value.$apiName;
1538
1538
  path.push("$:osdk", objectType, value.$primaryKey);
1539
1539
  return {
@@ -1541,8 +1541,8 @@ var FunctionParamsCanonicalizer = class {
1541
1541
  $primaryKey: value.$primaryKey
1542
1542
  };
1543
1543
  }
1544
- if (chunkR7OP6A6S_cjs.isObjectSet(value)) {
1545
- const wire = chunkR7OP6A6S_cjs.getWireObjectSet(value);
1544
+ if (chunkBWOPPEUP_cjs.isObjectSet(value)) {
1545
+ const wire = chunkBWOPPEUP_cjs.getWireObjectSet(value);
1546
1546
  path.push("$:objectset", wire);
1547
1547
  return wire;
1548
1548
  }
@@ -1602,7 +1602,7 @@ var FunctionQuery = class extends Query {
1602
1602
  #dependsOnObjects;
1603
1603
  #queryDef;
1604
1604
  constructor(store, subject, queryDef, params, cacheKey, opts, objectSetTypesPromise) {
1605
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkR7OP6A6S_cjs.additionalContext].logger?.child({}, {
1605
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkBWOPPEUP_cjs.additionalContext].logger?.child({}, {
1606
1606
  msgPrefix: `FunctionQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
1607
1607
  }) : void 0);
1608
1608
  this.#apiName = queryDef.apiName;
@@ -1659,7 +1659,7 @@ var FunctionQuery = class extends Query {
1659
1659
  }).debug("calling _fetchAndStore");
1660
1660
  }
1661
1661
  try {
1662
- const result = await chunk3RY4ECUB_cjs.applyQuery(this.store.client[chunkR7OP6A6S_cjs.additionalContext], this.#queryDef, this.#params);
1662
+ const result = await chunkYKQ5QTEF_cjs.applyQuery(this.store.client[chunkBWOPPEUP_cjs.additionalContext], this.#queryDef, this.#params);
1663
1663
  const executedAt = Date.now();
1664
1664
  this.store.batch({}, (batch) => {
1665
1665
  this.writeToStore({
@@ -2823,7 +2823,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
2823
2823
  batch.changes.modified.add(this.cacheKey);
2824
2824
  }
2825
2825
  constructor(store, subject, cacheKey, opts) {
2826
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkR7OP6A6S_cjs.additionalContext].logger?.child({}, {
2826
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkBWOPPEUP_cjs.additionalContext].logger?.child({}, {
2827
2827
  msgPrefix: `SpecificLinkQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
2828
2828
  }) : void 0);
2829
2829
  [this.#sourceApiName, this.#sourceTypeKind, this.#sourceUnderlyingObjectType, this.#sourcePk, this.#linkName, this.#whereClause, this.#orderBy] = cacheKey.otherKeys;
@@ -2837,7 +2837,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
2837
2837
  */
2838
2838
  async fetchPageData(signal) {
2839
2839
  const client = this.store.client;
2840
- const ontologyProvider = client[chunkR7OP6A6S_cjs.additionalContext].ontologyProvider;
2840
+ const ontologyProvider = client[chunkBWOPPEUP_cjs.additionalContext].ontologyProvider;
2841
2841
  const isInterface = this.#sourceTypeKind === "interface";
2842
2842
  if (this.#orderBy && Object.keys(this.#orderBy).length > 0) {
2843
2843
  let targetTypeApiName;
@@ -2948,7 +2948,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
2948
2948
  }
2949
2949
  return (async () => {
2950
2950
  try {
2951
- const ontologyProvider = this.store.client[chunkR7OP6A6S_cjs.additionalContext].ontologyProvider;
2951
+ const ontologyProvider = this.store.client[chunkBWOPPEUP_cjs.additionalContext].ontologyProvider;
2952
2952
  if (this.#sourceTypeKind === "interface") {
2953
2953
  const objectMetadata = await ontologyProvider.getObjectDefinition(objectType);
2954
2954
  if (this.#sourceApiName in objectMetadata.interfaceMap) {
@@ -3038,6 +3038,7 @@ function evaluateFilter(f, realValue, expected, strict) {
3038
3038
  case "$containsAllTerms":
3039
3039
  case "$containsAllTermsInOrder":
3040
3040
  case "$containsAnyTerm":
3041
+ case "$interval":
3041
3042
  case "$intersects":
3042
3043
  case "$within":
3043
3044
  return !strict;
@@ -3123,7 +3124,7 @@ var ListQuery = class extends BaseListQuery {
3123
3124
  batch.changes.registerList(this.cacheKey);
3124
3125
  }
3125
3126
  constructor(store, subject, apiName, cacheKey, opts) {
3126
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkR7OP6A6S_cjs.additionalContext].logger?.child({}, {
3127
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkBWOPPEUP_cjs.additionalContext].logger?.child({}, {
3127
3128
  msgPrefix: `ListQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
3128
3129
  }) : void 0);
3129
3130
  this.apiName = apiName;
@@ -3166,10 +3167,10 @@ var ListQuery = class extends BaseListQuery {
3166
3167
  async fetchPageData(signal) {
3167
3168
  const needsResultType = Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy) || this.#pivotInfo != null && this.#intersectWith != null && this.#intersectWith.length > 0 && !this.#pivotIntersectApplied;
3168
3169
  if (needsResultType) {
3169
- const wireObjectSet = chunkR7OP6A6S_cjs.getWireObjectSet(this.#objectSet);
3170
+ const wireObjectSet = chunkBWOPPEUP_cjs.getWireObjectSet(this.#objectSet);
3170
3171
  const {
3171
3172
  resultType
3172
- } = await getObjectTypesThatInvalidate(this.store.client[chunkR7OP6A6S_cjs.additionalContext], wireObjectSet);
3173
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkBWOPPEUP_cjs.additionalContext], wireObjectSet);
3173
3174
  if (Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
3174
3175
  this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#orderBy);
3175
3176
  }
@@ -3206,6 +3207,9 @@ var ListQuery = class extends BaseListQuery {
3206
3207
  // but shouldn't be needed ideally
3207
3208
  ...Object.keys(this.#orderBy).length > 0 ? {
3208
3209
  $orderBy: this.#orderBy
3210
+ } : {},
3211
+ ...this.options.$loadPropertySecurityMetadata ? {
3212
+ $loadPropertySecurityMetadata: true
3209
3213
  } : {}
3210
3214
  });
3211
3215
  if (signal?.aborted) {
@@ -3441,7 +3445,7 @@ var InterfaceListQuery = class extends ListQuery {
3441
3445
  type,
3442
3446
  apiName: this.apiName
3443
3447
  };
3444
- const clientCtx = store.client[chunkR7OP6A6S_cjs.additionalContext];
3448
+ const clientCtx = store.client[chunkBWOPPEUP_cjs.additionalContext];
3445
3449
  let objectSet;
3446
3450
  if (rids != null) {
3447
3451
  objectSet = clientCtx.objectSetFactory(objectTypeDef, clientCtx, {
@@ -3484,7 +3488,7 @@ var InterfaceListQuery = class extends ListQuery {
3484
3488
  }
3485
3489
  extractRelevantObjects(changes) {
3486
3490
  const matchesApiName = ([, object]) => {
3487
- return this.apiName in object[chunk3RY4ECUB_cjs.ObjectDefRef].interfaceMap;
3491
+ return this.apiName in object[chunkYKQ5QTEF_cjs.ObjectDefRef].interfaceMap;
3488
3492
  };
3489
3493
  const added = Array.from(changes.addedObjects).filter(matchesApiName).map(([, object]) => object.$as(this.apiName));
3490
3494
  const modified = Array.from(changes.modifiedObjects).filter(matchesApiName).map(([, object]) => object.$as(this.apiName));
@@ -3503,7 +3507,7 @@ var InterfaceListQuery = class extends ListQuery {
3503
3507
  }
3504
3508
  };
3505
3509
  function createSourceSetForPivot(store, pivotInfo, rids) {
3506
- const clientCtx = store.client[chunkR7OP6A6S_cjs.additionalContext];
3510
+ const clientCtx = store.client[chunkBWOPPEUP_cjs.additionalContext];
3507
3511
  if (rids != null) {
3508
3512
  return clientCtx.objectSetFactory({
3509
3513
  type: "object",
@@ -3558,7 +3562,7 @@ var ObjectListQuery = class extends ListQuery {
3558
3562
  const intersectWith = this.cacheKey.otherKeys[INTERSECT_IDX2];
3559
3563
  const pivotInfo = this.cacheKey.otherKeys[PIVOT_IDX];
3560
3564
  const rids = this.cacheKey.otherKeys[RIDS_IDX];
3561
- const clientCtx = store.client[chunkR7OP6A6S_cjs.additionalContext];
3565
+ const clientCtx = store.client[chunkBWOPPEUP_cjs.additionalContext];
3562
3566
  const typeDefinition = {
3563
3567
  type: "object",
3564
3568
  apiName: this.apiName
@@ -3671,7 +3675,8 @@ var ListsHelper = class extends AbstractHelper {
3671
3675
  intersectWith,
3672
3676
  pivotTo,
3673
3677
  rids,
3674
- select
3678
+ select,
3679
+ $loadPropertySecurityMetadata
3675
3680
  } = options;
3676
3681
  const {
3677
3682
  apiName,
@@ -3684,7 +3689,7 @@ var ListsHelper = class extends AbstractHelper {
3684
3689
  const canonPivot = pivotTo ? this.pivotCanonicalizer.canonicalize(apiName, type, pivotTo) : void 0;
3685
3690
  const canonRids = rids != null ? this.ridListCanonicalizer.canonicalize(rids) : void 0;
3686
3691
  const canonSelect = select && select.length > 0 ? this.selectCanonicalizer.canonicalize(select) : void 0;
3687
- const listCacheKey = this.cacheKeys.get("list", type, apiName, canonWhere, canonOrderBy, canonRdp, canonIntersect, canonPivot, canonRids, canonSelect);
3692
+ const listCacheKey = this.cacheKeys.get("list", type, apiName, canonWhere, canonOrderBy, canonRdp, canonIntersect, canonPivot, canonRids, canonSelect, $loadPropertySecurityMetadata ? true : void 0);
3688
3693
  return this.store.queries.get(listCacheKey, () => {
3689
3694
  const QueryClass = type === "object" ? ObjectListQuery : InterfaceListQuery;
3690
3695
  return new QueryClass(this.store, this.store.subjects.get(listCacheKey), apiName, listCacheKey, options);
@@ -3703,8 +3708,8 @@ function stripRdpFields(value, rdpFields) {
3703
3708
  if (rdpFields.size === 0) {
3704
3709
  return value;
3705
3710
  }
3706
- const underlying = value[chunk3RY4ECUB_cjs.UnderlyingOsdkObject];
3707
- const objectDef = value[chunk3RY4ECUB_cjs.ObjectDefRef];
3711
+ const underlying = value[chunkYKQ5QTEF_cjs.UnderlyingOsdkObject];
3712
+ const objectDef = value[chunkYKQ5QTEF_cjs.ObjectDefRef];
3708
3713
  const newProps = {
3709
3714
  $apiName: underlying.$apiName,
3710
3715
  $objectType: underlying.$objectType,
@@ -3717,7 +3722,7 @@ function stripRdpFields(value, rdpFields) {
3717
3722
  newProps[key] = underlying[key];
3718
3723
  }
3719
3724
  }
3720
- return chunk3RY4ECUB_cjs.createOsdkObject(value[chunk3RY4ECUB_cjs.ClientRef], objectDef, newProps);
3725
+ return chunkYKQ5QTEF_cjs.createOsdkObject(value[chunkYKQ5QTEF_cjs.ClientRef], objectDef, newProps);
3721
3726
  }
3722
3727
  function isSuperset(superset, subset) {
3723
3728
  for (const field of subset) {
@@ -3728,8 +3733,8 @@ function isSuperset(superset, subset) {
3728
3733
  return true;
3729
3734
  }
3730
3735
  function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
3731
- const underlying = value[chunk3RY4ECUB_cjs.UnderlyingOsdkObject];
3732
- const objectDef = value[chunk3RY4ECUB_cjs.ObjectDefRef];
3736
+ const underlying = value[chunkYKQ5QTEF_cjs.UnderlyingOsdkObject];
3737
+ const objectDef = value[chunkYKQ5QTEF_cjs.ObjectDefRef];
3733
3738
  const newProps = {
3734
3739
  $apiName: underlying.$apiName,
3735
3740
  $objectType: underlying.$objectType,
@@ -3745,12 +3750,12 @@ function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
3745
3750
  }
3746
3751
  }
3747
3752
  }
3748
- return chunk3RY4ECUB_cjs.createOsdkObject(value[chunk3RY4ECUB_cjs.ClientRef], objectDef, newProps);
3753
+ return chunkYKQ5QTEF_cjs.createOsdkObject(value[chunkYKQ5QTEF_cjs.ClientRef], objectDef, newProps);
3749
3754
  }
3750
3755
  function mergeSelectFields(sourceValue, selectFields, existingValue) {
3751
- const sourceUnderlying = sourceValue[chunk3RY4ECUB_cjs.UnderlyingOsdkObject];
3752
- const existingUnderlying = existingValue[chunk3RY4ECUB_cjs.UnderlyingOsdkObject];
3753
- const objectDef = sourceValue[chunk3RY4ECUB_cjs.ObjectDefRef];
3756
+ const sourceUnderlying = sourceValue[chunkYKQ5QTEF_cjs.UnderlyingOsdkObject];
3757
+ const existingUnderlying = existingValue[chunkYKQ5QTEF_cjs.UnderlyingOsdkObject];
3758
+ const objectDef = sourceValue[chunkYKQ5QTEF_cjs.ObjectDefRef];
3754
3759
  const newProps = {
3755
3760
  $apiName: sourceUnderlying.$apiName,
3756
3761
  $objectType: sourceUnderlying.$objectType,
@@ -3768,7 +3773,7 @@ function mergeSelectFields(sourceValue, selectFields, existingValue) {
3768
3773
  newProps[key] = sourceUnderlying[key];
3769
3774
  }
3770
3775
  }
3771
- return chunk3RY4ECUB_cjs.createOsdkObject(sourceValue[chunk3RY4ECUB_cjs.ClientRef], objectDef, newProps);
3776
+ return chunkYKQ5QTEF_cjs.createOsdkObject(sourceValue[chunkYKQ5QTEF_cjs.ClientRef], objectDef, newProps);
3772
3777
  }
3773
3778
  function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, targetCurrentValue) {
3774
3779
  if (targetRdpFields.size === 0) {
@@ -3780,8 +3785,8 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
3780
3785
  }
3781
3786
  return filterToRdpFields(sourceValue, targetRdpFields, sourceRdpFields);
3782
3787
  }
3783
- const sourceUnderlying = sourceValue[chunk3RY4ECUB_cjs.UnderlyingOsdkObject];
3784
- const objectDef = sourceValue[chunk3RY4ECUB_cjs.ObjectDefRef];
3788
+ const sourceUnderlying = sourceValue[chunkYKQ5QTEF_cjs.UnderlyingOsdkObject];
3789
+ const objectDef = sourceValue[chunkYKQ5QTEF_cjs.ObjectDefRef];
3785
3790
  const newProps = {
3786
3791
  $apiName: sourceUnderlying.$apiName,
3787
3792
  $objectType: sourceUnderlying.$objectType,
@@ -3795,7 +3800,7 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
3795
3800
  }
3796
3801
  }
3797
3802
  if (targetCurrentValue) {
3798
- const targetUnderlying = targetCurrentValue[chunk3RY4ECUB_cjs.UnderlyingOsdkObject];
3803
+ const targetUnderlying = targetCurrentValue[chunkYKQ5QTEF_cjs.UnderlyingOsdkObject];
3799
3804
  for (const field of targetRdpFields) {
3800
3805
  if (field in targetUnderlying) {
3801
3806
  if (!sourceRdpFields.has(field) || newProps[field] === void 0) {
@@ -3804,7 +3809,7 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
3804
3809
  }
3805
3810
  }
3806
3811
  }
3807
- return chunk3RY4ECUB_cjs.createOsdkObject(sourceValue[chunk3RY4ECUB_cjs.ClientRef], objectDef, newProps);
3812
+ return chunkYKQ5QTEF_cjs.createOsdkObject(sourceValue[chunkYKQ5QTEF_cjs.ClientRef], objectDef, newProps);
3808
3813
  }
3809
3814
 
3810
3815
  // src/observable/internal/object/ObjectCacheKeyRegistry.ts
@@ -3959,13 +3964,14 @@ var BulkObjectLoader = class {
3959
3964
  #maxEntries;
3960
3965
  constructor(client, maxWait = 25, maxEntries = 100) {
3961
3966
  this.#client = client;
3962
- this.#logger = client[chunkR7OP6A6S_cjs.additionalContext].logger;
3967
+ this.#logger = client[chunkBWOPPEUP_cjs.additionalContext].logger;
3963
3968
  this.#maxWait = maxWait;
3964
3969
  this.#maxEntries = maxEntries;
3965
3970
  }
3966
- async fetch(apiName, primaryKey, defType = "object", select) {
3971
+ async fetch(apiName, primaryKey, defType = "object", select, loadPropertySecurityMetadata) {
3967
3972
  const deferred = pDefer();
3968
- const selectKey = select && select.length > 0 ? `${apiName}\0${[...select].sort().join(",")}` : apiName;
3973
+ const securitySuffix = loadPropertySecurityMetadata ? "\0sec" : "";
3974
+ const selectKey = select && select.length > 0 ? `${apiName}\0${[...select].sort().join(",")}${securitySuffix}` : `${apiName}${securitySuffix}`;
3969
3975
  const entry = this.#m.get(selectKey);
3970
3976
  entry.data.push({
3971
3977
  primaryKey,
@@ -3974,25 +3980,27 @@ var BulkObjectLoader = class {
3974
3980
  if (entry.defType === void 0) {
3975
3981
  entry.defType = defType;
3976
3982
  entry.select = select;
3983
+ entry.loadPropertySecurityMetadata = loadPropertySecurityMetadata;
3977
3984
  } else if (entry.defType !== defType) {
3978
3985
  deferred.reject(new shared_net_errors.PalantirApiError(`Conflicting defType for ${apiName}: existing=${entry.defType}, new=${defType}`));
3979
3986
  return deferred.promise;
3980
3987
  }
3981
3988
  if (!entry.timer) {
3982
3989
  entry.timer = setTimeout(() => {
3983
- this.#loadObjects(apiName, entry.data, entry.defType ?? "object", entry.select);
3990
+ this.#loadObjects(apiName, entry.data, entry.defType ?? "object", entry.select, entry.loadPropertySecurityMetadata);
3984
3991
  }, this.#maxWait);
3985
3992
  }
3986
3993
  if (entry.data.length >= this.#maxEntries) {
3987
3994
  clearTimeout(entry.timer);
3988
- this.#loadObjects(apiName, entry.data, entry.defType ?? "object", entry.select);
3995
+ this.#loadObjects(apiName, entry.data, entry.defType ?? "object", entry.select, entry.loadPropertySecurityMetadata);
3989
3996
  }
3990
3997
  return await deferred.promise;
3991
3998
  }
3992
- #loadObjects(apiName, arr, defType, select) {
3993
- const selectKey = select && select.length > 0 ? `${apiName}\0${[...select].sort().join(",")}` : apiName;
3999
+ #loadObjects(apiName, arr, defType, select, loadPropertySecurityMetadata) {
4000
+ const securitySuffix = loadPropertySecurityMetadata ? "\0sec" : "";
4001
+ const selectKey = select && select.length > 0 ? `${apiName}\0${[...select].sort().join(",")}${securitySuffix}` : `${apiName}${securitySuffix}`;
3994
4002
  this.#m.delete(selectKey);
3995
- const loadFn = defType === "interface" ? this.#loadInterfaceObjects(apiName, arr, select) : this.#loadObjectTypeObjects(apiName, arr, select);
4003
+ const loadFn = defType === "interface" ? this.#loadInterfaceObjects(apiName, arr, select, loadPropertySecurityMetadata) : this.#loadObjectTypeObjects(apiName, arr, select, loadPropertySecurityMetadata);
3996
4004
  loadFn.catch((e) => {
3997
4005
  this.#logger?.error("Unhandled exception", e);
3998
4006
  for (const {
@@ -4004,7 +4012,7 @@ var BulkObjectLoader = class {
4004
4012
  }
4005
4013
  });
4006
4014
  }
4007
- async #loadObjectTypeObjects(apiName, arr, select) {
4015
+ async #loadObjectTypeObjects(apiName, arr, select, loadPropertySecurityMetadata) {
4008
4016
  const objectDef = {
4009
4017
  type: "object",
4010
4018
  apiName
@@ -4027,7 +4035,8 @@ var BulkObjectLoader = class {
4027
4035
  $includeRid: true,
4028
4036
  ...select && select.length > 0 ? {
4029
4037
  $select: select
4030
- } : {}
4038
+ } : {},
4039
+ $loadPropertySecurityMetadata: loadPropertySecurityMetadata ?? false
4031
4040
  });
4032
4041
  for (const {
4033
4042
  primaryKey,
@@ -4041,7 +4050,7 @@ var BulkObjectLoader = class {
4041
4050
  }
4042
4051
  }
4043
4052
  }
4044
- async #loadInterfaceObjects(apiName, arr, select) {
4053
+ async #loadInterfaceObjects(apiName, arr, select, loadPropertySecurityMetadata) {
4045
4054
  const pks = arr.map((x) => x.primaryKey);
4046
4055
  const interfaceDef = {
4047
4056
  type: "interface",
@@ -4075,7 +4084,8 @@ var BulkObjectLoader = class {
4075
4084
  $pageSize: remainingPks.length,
4076
4085
  ...select && select.length > 0 ? {
4077
4086
  $select: select
4078
- } : {}
4087
+ } : {},
4088
+ $loadPropertySecurityMetadata: loadPropertySecurityMetadata ?? false
4079
4089
  });
4080
4090
  for (const obj of data) {
4081
4091
  foundObjects.set(obj.$primaryKey, obj);
@@ -4101,15 +4111,17 @@ var ObjectQuery = class extends Query {
4101
4111
  #pk;
4102
4112
  #defType;
4103
4113
  #select;
4114
+ #loadPropertySecurityMetadata;
4104
4115
  #implementingTypes;
4105
- constructor(store, subject, type, pk, cacheKey, opts, defType = "object", select) {
4106
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkR7OP6A6S_cjs.additionalContext].logger?.child({}, {
4116
+ constructor(store, subject, type, pk, cacheKey, opts, defType = "object", select, loadPropertySecurityMetadata) {
4117
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkBWOPPEUP_cjs.additionalContext].logger?.child({}, {
4107
4118
  msgPrefix: `ObjectQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
4108
4119
  }) : void 0);
4109
4120
  this.#apiName = type;
4110
4121
  this.#pk = pk;
4111
4122
  this.#defType = defType;
4112
4123
  this.#select = select;
4124
+ this.#loadPropertySecurityMetadata = loadPropertySecurityMetadata ?? false;
4113
4125
  }
4114
4126
  _createConnectable(subject) {
4115
4127
  return rxjs.connectable(subject.pipe(rxjs.map((x) => {
@@ -4145,11 +4157,12 @@ var ObjectQuery = class extends Query {
4145
4157
  $includeRid: true,
4146
4158
  ...this.#select && this.#select.length > 0 ? {
4147
4159
  $select: this.#select
4148
- } : {}
4160
+ } : {},
4161
+ $loadPropertySecurityMetadata: this.#loadPropertySecurityMetadata
4149
4162
  });
4150
4163
  obj = fetched;
4151
4164
  } else {
4152
- obj = await getBulkObjectLoader(this.store.client).fetch(this.#apiName, this.#pk, this.#defType, this.#select);
4165
+ obj = await getBulkObjectLoader(this.store.client).fetch(this.#apiName, this.#pk, this.#defType, this.#select, this.#loadPropertySecurityMetadata);
4153
4166
  }
4154
4167
  this.store.batch({}, (batch) => {
4155
4168
  this.writeToStore(obj, "loaded", batch, this.#select ? new Set(this.#select) : void 0);
@@ -4200,13 +4213,14 @@ var ObjectsHelper = class extends AbstractHelper {
4200
4213
  const apiName = typeof options.apiName === "string" ? options.apiName : options.apiName.apiName;
4201
4214
  const {
4202
4215
  pk,
4203
- select
4216
+ select,
4217
+ $loadPropertySecurityMetadata
4204
4218
  } = options;
4205
- const defType = chunk3RY4ECUB_cjs.getDefType(options.apiName);
4219
+ const defType = chunkYKQ5QTEF_cjs.getDefType(options.apiName);
4206
4220
  const objectCacheKey = this.cacheKeys.get("object", apiName, pk, rdpConfig ?? void 0);
4207
4221
  return this.store.queries.get(objectCacheKey, () => new ObjectQuery(this.store, this.store.subjects.get(objectCacheKey), apiName, pk, objectCacheKey, {
4208
4222
  dedupeInterval: 0
4209
- }, defType, select));
4223
+ }, defType, select, $loadPropertySecurityMetadata));
4210
4224
  }
4211
4225
  /**
4212
4226
  * Internal helper method for writing objects to the store and returning their
@@ -4240,7 +4254,7 @@ var ObjectsHelper = class extends AbstractHelper {
4240
4254
  if (valueToWrite !== tombstone && existing?.value && this.isObjectHolder(existing.value)) {
4241
4255
  const expectedRdpFields = this.store.objectCacheKeyRegistry.getRdpFieldSet(sourceCacheKey);
4242
4256
  if (expectedRdpFields.size > 0) {
4243
- const underlying = valueToWrite[chunk3RY4ECUB_cjs.UnderlyingOsdkObject];
4257
+ const underlying = valueToWrite[chunkYKQ5QTEF_cjs.UnderlyingOsdkObject];
4244
4258
  const actualRdpFields = /* @__PURE__ */ new Set();
4245
4259
  for (const field of expectedRdpFields) {
4246
4260
  if (underlying && field in underlying) {
@@ -4308,7 +4322,7 @@ var ObjectSetQuery = class extends BaseListQuery {
4308
4322
  #composedObjectSet;
4309
4323
  #objectTypes;
4310
4324
  constructor(store, subject, baseObjectSetWire, operations, cacheKey, opts) {
4311
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkR7OP6A6S_cjs.additionalContext].logger?.child({}, {
4325
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkBWOPPEUP_cjs.additionalContext].logger?.child({}, {
4312
4326
  msgPrefix: `ObjectSetQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
4313
4327
  }) : void 0);
4314
4328
  this.#baseObjectSetWire = baseObjectSetWire;
@@ -4362,7 +4376,7 @@ var ObjectSetQuery = class extends BaseListQuery {
4362
4376
  }
4363
4377
  if (opts.union) {
4364
4378
  for (const os of opts.union) {
4365
- const wire = chunkR7OP6A6S_cjs.getWireObjectSet(os);
4379
+ const wire = chunkBWOPPEUP_cjs.getWireObjectSet(os);
4366
4380
  if (wire.type) {
4367
4381
  types.add(wire.type);
4368
4382
  }
@@ -4370,7 +4384,7 @@ var ObjectSetQuery = class extends BaseListQuery {
4370
4384
  }
4371
4385
  if (opts.intersect) {
4372
4386
  for (const os of opts.intersect) {
4373
- const wire = chunkR7OP6A6S_cjs.getWireObjectSet(os);
4387
+ const wire = chunkBWOPPEUP_cjs.getWireObjectSet(os);
4374
4388
  if (wire.type) {
4375
4389
  types.add(wire.type);
4376
4390
  }
@@ -4378,7 +4392,7 @@ var ObjectSetQuery = class extends BaseListQuery {
4378
4392
  }
4379
4393
  if (opts.subtract) {
4380
4394
  for (const os of opts.subtract) {
4381
- const wire = chunkR7OP6A6S_cjs.getWireObjectSet(os);
4395
+ const wire = chunkBWOPPEUP_cjs.getWireObjectSet(os);
4382
4396
  if (wire.type) {
4383
4397
  types.add(wire.type);
4384
4398
  }
@@ -4398,10 +4412,10 @@ var ObjectSetQuery = class extends BaseListQuery {
4398
4412
  */
4399
4413
  async fetchPageData(signal) {
4400
4414
  if (this.#operations.orderBy && Object.keys(this.#operations.orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
4401
- const wireObjectSet = chunkR7OP6A6S_cjs.getWireObjectSet(this.#composedObjectSet);
4415
+ const wireObjectSet = chunkBWOPPEUP_cjs.getWireObjectSet(this.#composedObjectSet);
4402
4416
  const {
4403
4417
  resultType
4404
- } = await getObjectTypesThatInvalidate(this.store.client[chunkR7OP6A6S_cjs.additionalContext], wireObjectSet);
4418
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkBWOPPEUP_cjs.additionalContext], wireObjectSet);
4405
4419
  this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#operations.orderBy);
4406
4420
  }
4407
4421
  const resp = await this.#composedObjectSet.fetchPage({
@@ -4414,6 +4428,9 @@ var ObjectSetQuery = class extends BaseListQuery {
4414
4428
  // OrderBy is already applied in the composed ObjectSet
4415
4429
  ...this.#operations.orderBy && Object.keys(this.#operations.orderBy).length > 0 ? {
4416
4430
  $orderBy: this.#operations.orderBy
4431
+ } : {},
4432
+ ...this.options.$loadPropertySecurityMetadata ? {
4433
+ $loadPropertySecurityMetadata: true
4417
4434
  } : {}
4418
4435
  });
4419
4436
  if (signal?.aborted) {
@@ -4475,7 +4492,7 @@ var ObjectSetHelper = class extends AbstractHelper {
4475
4492
  const {
4476
4493
  baseObjectSet
4477
4494
  } = options;
4478
- const baseObjectSetWire = JSON.stringify(chunkR7OP6A6S_cjs.getWireObjectSet(baseObjectSet));
4495
+ const baseObjectSetWire = JSON.stringify(chunkBWOPPEUP_cjs.getWireObjectSet(baseObjectSet));
4479
4496
  const operations = this.buildCanonicalizedOperations(options);
4480
4497
  const objectSetCacheKey = this.cacheKeys.get("objectSet", baseObjectSetWire, operations);
4481
4498
  return this.store.queries.get(objectSetCacheKey, () => {
@@ -4491,13 +4508,13 @@ var ObjectSetHelper = class extends AbstractHelper {
4491
4508
  operations.withProperties = this.rdpCanonicalizer.canonicalize(options.withProperties);
4492
4509
  }
4493
4510
  if (options.union && options.union.length > 0) {
4494
- operations.union = options.union.map((os) => JSON.stringify(chunkR7OP6A6S_cjs.getWireObjectSet(os)));
4511
+ operations.union = options.union.map((os) => JSON.stringify(chunkBWOPPEUP_cjs.getWireObjectSet(os)));
4495
4512
  }
4496
4513
  if (options.intersect && options.intersect.length > 0) {
4497
- operations.intersect = options.intersect.map((os) => JSON.stringify(chunkR7OP6A6S_cjs.getWireObjectSet(os)));
4514
+ operations.intersect = options.intersect.map((os) => JSON.stringify(chunkBWOPPEUP_cjs.getWireObjectSet(os)));
4498
4515
  }
4499
4516
  if (options.subtract && options.subtract.length > 0) {
4500
- operations.subtract = options.subtract.map((os) => JSON.stringify(chunkR7OP6A6S_cjs.getWireObjectSet(os)));
4517
+ operations.subtract = options.subtract.map((os) => JSON.stringify(chunkBWOPPEUP_cjs.getWireObjectSet(os)));
4501
4518
  }
4502
4519
  if (options.pivotTo) {
4503
4520
  operations.pivotTo = options.pivotTo;
@@ -4511,6 +4528,9 @@ var ObjectSetHelper = class extends AbstractHelper {
4511
4528
  if (options.pageSize) {
4512
4529
  operations.pageSize = options.pageSize;
4513
4530
  }
4531
+ if (options.$loadPropertySecurityMetadata) {
4532
+ operations.loadPropertySecurity = true;
4533
+ }
4514
4534
  return operations;
4515
4535
  }
4516
4536
  };
@@ -4569,7 +4589,7 @@ var RdpCanonicalizer = class extends CachingCanonicalizer {
4569
4589
  apiName: "__rdp_canonicalizer_holder__"
4570
4590
  };
4571
4591
  for (const [key, rdpFunction] of Object.entries(rdp)) {
4572
- const builder = chunkR7OP6A6S_cjs.createWithPropertiesObjectSet(
4592
+ const builder = chunkBWOPPEUP_cjs.createWithPropertiesObjectSet(
4573
4593
  objectTypeHolder,
4574
4594
  {
4575
4595
  type: "methodInput"
@@ -4663,7 +4683,7 @@ var Store = class {
4663
4683
  subjects = this.layers.subjects;
4664
4684
  // these are hopefully temporary
4665
4685
  constructor(client) {
4666
- this.logger = client[chunkR7OP6A6S_cjs.additionalContext].logger?.child({}, {
4686
+ this.logger = client[chunkBWOPPEUP_cjs.additionalContext].logger?.child({}, {
4667
4687
  msgPrefix: "Store"
4668
4688
  });
4669
4689
  this.client = client;
@@ -4941,10 +4961,10 @@ var Store = class {
4941
4961
 
4942
4962
  // src/observable/ObservableClient.ts
4943
4963
  function createObservableClient(client) {
4944
- const tweakedClient = chunk3RY4ECUB_cjs.createClientFromContext({
4945
- ...client[chunkR7OP6A6S_cjs.additionalContext],
4946
- fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkR7OP6A6S_cjs.additionalContext].fetch, (headers) => {
4947
- headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunk3RY4ECUB_cjs.OBSERVABLE_USER_AGENT].filter((x) => x && x?.length > 0).join(" "));
4964
+ const tweakedClient = chunkYKQ5QTEF_cjs.createClientFromContext({
4965
+ ...client[chunkBWOPPEUP_cjs.additionalContext],
4966
+ fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkBWOPPEUP_cjs.additionalContext].fetch, (headers) => {
4967
+ headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunkYKQ5QTEF_cjs.OBSERVABLE_USER_AGENT].filter((x) => x && x?.length > 0).join(" "));
4948
4968
  return headers;
4949
4969
  })
4950
4970
  });
@@ -4987,19 +5007,19 @@ function getOsdkConfig(ontologyRid) {
4987
5007
 
4988
5008
  Object.defineProperty(exports, "createClientWithTransaction", {
4989
5009
  enumerable: true,
4990
- get: function () { return chunk3RY4ECUB_cjs.createClientWithTransaction; }
5010
+ get: function () { return chunkYKQ5QTEF_cjs.createClientWithTransaction; }
4991
5011
  });
4992
5012
  Object.defineProperty(exports, "augment", {
4993
5013
  enumerable: true,
4994
- get: function () { return chunkR7OP6A6S_cjs.augment; }
5014
+ get: function () { return chunkBWOPPEUP_cjs.augment; }
4995
5015
  });
4996
5016
  Object.defineProperty(exports, "getWireObjectSet", {
4997
5017
  enumerable: true,
4998
- get: function () { return chunkR7OP6A6S_cjs.getWireObjectSet; }
5018
+ get: function () { return chunkBWOPPEUP_cjs.getWireObjectSet; }
4999
5019
  });
5000
5020
  Object.defineProperty(exports, "isObjectSet", {
5001
5021
  enumerable: true,
5002
- get: function () { return chunkR7OP6A6S_cjs.isObjectSet; }
5022
+ get: function () { return chunkBWOPPEUP_cjs.isObjectSet; }
5003
5023
  });
5004
5024
  exports.computeObjectSetCacheKey = computeObjectSetCacheKey;
5005
5025
  exports.createObservableClient = createObservableClient;