@osdk/client 2.92.0 → 2.92.1-main-e726b2a3aaf86992c5eddd6ba77a79f9a79584fb

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 (31) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/build/browser/Client.js +1 -1
  3. package/build/browser/Client.js.map +1 -1
  4. package/build/browser/util/UserAgent.js +2 -2
  5. package/build/browser/util/UserAgent.js.map +1 -1
  6. package/build/cjs/{applyStreamingQuery-I22DANOL.cjs → applyStreamingQuery-G6WW2YOL.cjs} +8 -8
  7. package/build/cjs/{applyStreamingQuery-I22DANOL.cjs.map → applyStreamingQuery-G6WW2YOL.cjs.map} +1 -1
  8. package/build/cjs/{chunk-IZSBOP7S.cjs → chunk-DHTAF2QE.cjs} +56 -56
  9. package/build/cjs/chunk-DHTAF2QE.cjs.map +1 -0
  10. package/build/cjs/{chunk-OT3FQD6Z.cjs → chunk-KX4QQ6WA.cjs} +2 -2
  11. package/build/cjs/{chunk-OT3FQD6Z.cjs.map → chunk-KX4QQ6WA.cjs.map} +1 -1
  12. package/build/cjs/{chunk-UG3D2VBP.cjs → chunk-O4MOLHG4.cjs} +5 -5
  13. package/build/cjs/{chunk-UG3D2VBP.cjs.map → chunk-O4MOLHG4.cjs.map} +1 -1
  14. package/build/cjs/{chunk-RQUPQUHT.cjs → chunk-PIDS3FT2.cjs} +83 -83
  15. package/build/cjs/{chunk-RQUPQUHT.cjs.map → chunk-PIDS3FT2.cjs.map} +1 -1
  16. package/build/cjs/{chunk-ODL4JPKE.cjs → chunk-TJIXTX4D.cjs} +14 -14
  17. package/build/cjs/{chunk-ODL4JPKE.cjs.map → chunk-TJIXTX4D.cjs.map} +1 -1
  18. package/build/cjs/{chunk-K2RKPZ4G.cjs → chunk-UKB25SZY.cjs} +8 -8
  19. package/build/cjs/{chunk-K2RKPZ4G.cjs.map → chunk-UKB25SZY.cjs.map} +1 -1
  20. package/build/cjs/index.cjs +12 -12
  21. package/build/cjs/public/experimental.cjs +10 -10
  22. package/build/cjs/public/internal.cjs +10 -10
  23. package/build/cjs/public/observable.cjs +6 -6
  24. package/build/cjs/public/unstable-do-not-use.cjs +17 -17
  25. package/build/esm/Client.js +1 -1
  26. package/build/esm/Client.js.map +1 -1
  27. package/build/esm/util/UserAgent.js +2 -2
  28. package/build/esm/util/UserAgent.js.map +1 -1
  29. package/build/types/Client.d.ts +1 -1
  30. package/package.json +7 -7
  31. package/build/cjs/chunk-IZSBOP7S.cjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkOT3FQD6Z_cjs = require('./chunk-OT3FQD6Z.cjs');
3
+ var chunkKX4QQ6WA_cjs = require('./chunk-KX4QQ6WA.cjs');
4
4
 
5
5
  // src/logger/BaseLogger.ts
6
6
  function noop() {
@@ -71,8 +71,8 @@ var MinimalLogger = class _MinimalLogger extends BaseLogger {
71
71
 
72
72
  // src/objectSet/createTemporaryObjectSet.ts
73
73
  async function createTemporaryObjectSet(client, objectSet) {
74
- const response = await chunkOT3FQD6Z_cjs.createTemporary(client, await client.ontologyRid, {
75
- objectSet: await chunkOT3FQD6Z_cjs.normalizeInterfaceLinkSearchArounds(client, chunkOT3FQD6Z_cjs.isWireObjectSet(objectSet) ? objectSet : chunkOT3FQD6Z_cjs.getWireObjectSet(objectSet))
74
+ const response = await chunkKX4QQ6WA_cjs.createTemporary(client, await client.ontologyRid, {
75
+ objectSet: await chunkKX4QQ6WA_cjs.normalizeInterfaceLinkSearchArounds(client, chunkKX4QQ6WA_cjs.isWireObjectSet(objectSet) ? objectSet : chunkKX4QQ6WA_cjs.getWireObjectSet(objectSet))
76
76
  }, {
77
77
  branch: client.branch
78
78
  });
@@ -82,5 +82,5 @@ async function createTemporaryObjectSet(client, objectSet) {
82
82
  exports.BaseLogger = BaseLogger;
83
83
  exports.MinimalLogger = MinimalLogger;
84
84
  exports.createTemporaryObjectSet = createTemporaryObjectSet;
85
- //# sourceMappingURL=chunk-UG3D2VBP.cjs.map
86
- //# sourceMappingURL=chunk-UG3D2VBP.cjs.map
85
+ //# sourceMappingURL=chunk-O4MOLHG4.cjs.map
86
+ //# sourceMappingURL=chunk-O4MOLHG4.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/logger/BaseLogger.ts","../../src/logger/MinimalLogger.ts","../../src/objectSet/createTemporaryObjectSet.ts"],"names":["createTemporary","normalizeInterfaceLinkSearchArounds","isWireObjectSet","getWireObjectSet"],"mappings":"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","file":"chunk-UG3D2VBP.cjs","sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport function noop() {}\nconst levels = {\n trace: 10,\n debug: 20,\n info: 30,\n warn: 40,\n error: 50,\n fatal: 60\n};\nexport class BaseLogger {\n #factory;\n constructor(bindings, options, factory) {\n this.bindings = bindings;\n this.options = options;\n this.#factory = factory;\n for (const k of [\"trace\", \"debug\", \"info\", \"warn\", \"error\", \"fatal\"]) {\n if (this.options?.level && !this.isLevelEnabled(k)) {\n continue;\n }\n this[k] = this.createLogMethod(k, bindings);\n }\n }\n trace = noop;\n debug = noop;\n warn = noop;\n info = noop;\n error = noop;\n fatal = noop;\n child(bindings, options) {\n return new this.#factory({\n ...this.bindings,\n ...bindings\n }, {\n level: options?.level ?? this.options?.level,\n msgPrefix: [this.options?.msgPrefix, options?.msgPrefix].filter(x => x).join(\" \")\n });\n }\n isLevelEnabled(level) {\n const ourLevel = this.options?.level ?? \"info\";\n return level in levels && ourLevel in levels && levels[level] >= levels[ourLevel];\n }\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseLogger } from \"./BaseLogger.js\";\nexport class MinimalLogger extends BaseLogger {\n constructor(bindings = {}, options = {}) {\n super(bindings, {\n ...options,\n level: options.level ?? \"error\"\n }, MinimalLogger);\n }\n createLogMethod(name, bindings) {\n const msgs = [name];\n if (this.options?.msgPrefix) {\n msgs.push(this.options.msgPrefix);\n }\n if (typeof bindings === \"object\" && \"methodName\" in bindings) {\n msgs.push(`.${bindings.methodName}()`);\n }\n return (...args) => {\n // eslint-disable-next-line no-console\n console[name === \"fatal\" ? \"error\" : name](msgs.join(\" \"), ...args);\n };\n }\n}","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport * as OntologyObjectSets from \"@osdk/foundry.ontologies/OntologyObjectSet\";\nimport { normalizeInterfaceLinkSearchArounds } from \"../util/normalizeInterfaceLinkSearchArounds.js\";\nimport { isWireObjectSet } from \"../util/WireObjectSet.js\";\nimport { getWireObjectSet } from \"./createObjectSet.js\";\nexport async function createTemporaryObjectSet(client, objectSet) {\n const response = await OntologyObjectSets.createTemporary(client, await client.ontologyRid, {\n objectSet: await normalizeInterfaceLinkSearchArounds(client, isWireObjectSet(objectSet) ? objectSet : getWireObjectSet(objectSet))\n }, {\n branch: client.branch\n });\n return response.objectSetRid;\n}"]}
1
+ {"version":3,"sources":["../../src/logger/BaseLogger.ts","../../src/logger/MinimalLogger.ts","../../src/objectSet/createTemporaryObjectSet.ts"],"names":["createTemporary","normalizeInterfaceLinkSearchArounds","isWireObjectSet","getWireObjectSet"],"mappings":"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","file":"chunk-O4MOLHG4.cjs","sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport function noop() {}\nconst levels = {\n trace: 10,\n debug: 20,\n info: 30,\n warn: 40,\n error: 50,\n fatal: 60\n};\nexport class BaseLogger {\n #factory;\n constructor(bindings, options, factory) {\n this.bindings = bindings;\n this.options = options;\n this.#factory = factory;\n for (const k of [\"trace\", \"debug\", \"info\", \"warn\", \"error\", \"fatal\"]) {\n if (this.options?.level && !this.isLevelEnabled(k)) {\n continue;\n }\n this[k] = this.createLogMethod(k, bindings);\n }\n }\n trace = noop;\n debug = noop;\n warn = noop;\n info = noop;\n error = noop;\n fatal = noop;\n child(bindings, options) {\n return new this.#factory({\n ...this.bindings,\n ...bindings\n }, {\n level: options?.level ?? this.options?.level,\n msgPrefix: [this.options?.msgPrefix, options?.msgPrefix].filter(x => x).join(\" \")\n });\n }\n isLevelEnabled(level) {\n const ourLevel = this.options?.level ?? \"info\";\n return level in levels && ourLevel in levels && levels[level] >= levels[ourLevel];\n }\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseLogger } from \"./BaseLogger.js\";\nexport class MinimalLogger extends BaseLogger {\n constructor(bindings = {}, options = {}) {\n super(bindings, {\n ...options,\n level: options.level ?? \"error\"\n }, MinimalLogger);\n }\n createLogMethod(name, bindings) {\n const msgs = [name];\n if (this.options?.msgPrefix) {\n msgs.push(this.options.msgPrefix);\n }\n if (typeof bindings === \"object\" && \"methodName\" in bindings) {\n msgs.push(`.${bindings.methodName}()`);\n }\n return (...args) => {\n // eslint-disable-next-line no-console\n console[name === \"fatal\" ? \"error\" : name](msgs.join(\" \"), ...args);\n };\n }\n}","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport * as OntologyObjectSets from \"@osdk/foundry.ontologies/OntologyObjectSet\";\nimport { normalizeInterfaceLinkSearchArounds } from \"../util/normalizeInterfaceLinkSearchArounds.js\";\nimport { isWireObjectSet } from \"../util/WireObjectSet.js\";\nimport { getWireObjectSet } from \"./createObjectSet.js\";\nexport async function createTemporaryObjectSet(client, objectSet) {\n const response = await OntologyObjectSets.createTemporary(client, await client.ontologyRid, {\n objectSet: await normalizeInterfaceLinkSearchArounds(client, isWireObjectSet(objectSet) ? objectSet : getWireObjectSet(objectSet))\n }, {\n branch: client.branch\n });\n return response.objectSetRid;\n}"]}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkIZSBOP7S_cjs = require('./chunk-IZSBOP7S.cjs');
4
- var chunkODL4JPKE_cjs = require('./chunk-ODL4JPKE.cjs');
5
- var chunkOT3FQD6Z_cjs = require('./chunk-OT3FQD6Z.cjs');
3
+ var chunkDHTAF2QE_cjs = require('./chunk-DHTAF2QE.cjs');
4
+ var chunkTJIXTX4D_cjs = require('./chunk-TJIXTX4D.cjs');
5
+ var chunkKX4QQ6WA_cjs = require('./chunk-KX4QQ6WA.cjs');
6
6
  var shared_net_fetch = require('@osdk/shared.net.fetch');
7
7
  var rxjs = require('rxjs');
8
8
  var invariant5 = require('tiny-invariant');
@@ -67,8 +67,8 @@ var ObservableClientImpl = class {
67
67
  const instances = [];
68
68
  const objectSetWires = [];
69
69
  for (const item of options.dependsOnObjects ?? []) {
70
- if (chunkOT3FQD6Z_cjs.isObjectSet(item)) {
71
- objectSetWires.push(chunkOT3FQD6Z_cjs.getWireObjectSet(item));
70
+ if (chunkKX4QQ6WA_cjs.isObjectSet(item)) {
71
+ objectSetWires.push(chunkKX4QQ6WA_cjs.getWireObjectSet(item));
72
72
  } else {
73
73
  instances.push({
74
74
  $apiName: item.$objectType ?? item.$apiName,
@@ -76,7 +76,7 @@ var ObservableClientImpl = class {
76
76
  });
77
77
  }
78
78
  }
79
- const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunkOT3FQD6Z_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunkOT3FQD6Z_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
79
+ const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunkKX4QQ6WA_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunkKX4QQ6WA_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
80
80
  return this.__experimentalStore.functions.observe({
81
81
  ...options,
82
82
  queryDef,
@@ -139,7 +139,7 @@ var ObservableClientImpl = class {
139
139
  if (!arr || arr.length === 0) {
140
140
  return arr;
141
141
  }
142
- const wireStrings = arr.map((os) => JSON.stringify(chunkOT3FQD6Z_cjs.getWireObjectSet(os)));
142
+ const wireStrings = arr.map((os) => JSON.stringify(chunkKX4QQ6WA_cjs.getWireObjectSet(os)));
143
143
  const canonKey = canonicalize(wireStrings);
144
144
  let cached = cache.get(canonKey);
145
145
  if (!cached) {
@@ -355,7 +355,7 @@ var OptimisticJob = class {
355
355
  return this;
356
356
  },
357
357
  createObject(type, pk, properties) {
358
- const create = store.client[chunkOT3FQD6Z_cjs.additionalContext].objectFactory(store.client[chunkOT3FQD6Z_cjs.additionalContext], [{
358
+ const create = store.client[chunkKX4QQ6WA_cjs.additionalContext].objectFactory(store.client[chunkKX4QQ6WA_cjs.additionalContext], [{
359
359
  $primaryKey: pk,
360
360
  $apiName: type.apiName,
361
361
  $objectType: type.apiName,
@@ -861,7 +861,7 @@ var Query = class {
861
861
  this.store = store;
862
862
  this.cacheKeys = store.cacheKeys;
863
863
  this.#subject = observable;
864
- this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkOT3FQD6Z_cjs.additionalContext].logger : store.client[chunkOT3FQD6Z_cjs.additionalContext].logger?.child({}, {
864
+ this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkKX4QQ6WA_cjs.additionalContext].logger : store.client[chunkKX4QQ6WA_cjs.additionalContext].logger?.child({}, {
865
865
  msgPrefix: process.env.NODE_ENV !== "production" ? `Query<${cacheKey.type}, ${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>` : "Query"
866
866
  }));
867
867
  }
@@ -1023,7 +1023,7 @@ var AggregationQuery = class extends Query {
1023
1023
  #invalidationTypes;
1024
1024
  #invalidationTypesPromise;
1025
1025
  constructor(store, subject, cacheKey, opts) {
1026
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOT3FQD6Z_cjs.additionalContext].logger?.child({}, {
1026
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkKX4QQ6WA_cjs.additionalContext].logger?.child({}, {
1027
1027
  msgPrefix: `AggregationQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
1028
1028
  }) : void 0);
1029
1029
  this.apiName = cacheKey.otherKeys[API_NAME_IDX2];
@@ -1041,7 +1041,7 @@ var AggregationQuery = class extends Query {
1041
1041
  try {
1042
1042
  const {
1043
1043
  invalidationSet
1044
- } = await getObjectTypesThatInvalidate(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], wireObjectSet);
1044
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], wireObjectSet);
1045
1045
  return /* @__PURE__ */ new Set([this.apiName, ...invalidationSet]);
1046
1046
  } catch (error) {
1047
1047
  this.store.logger?.error("Failed to compute invalidation types for aggregation, falling back to base type only", error);
@@ -1112,7 +1112,7 @@ var ObjectAggregationQuery = class extends AggregationQuery {
1112
1112
  };
1113
1113
  let objectSet;
1114
1114
  if (this.parsedWireObjectSet) {
1115
- objectSet = chunkOT3FQD6Z_cjs.createObjectSet(objectTypeDef, this.store.client[chunkOT3FQD6Z_cjs.additionalContext], this.parsedWireObjectSet);
1115
+ objectSet = chunkKX4QQ6WA_cjs.createObjectSet(objectTypeDef, this.store.client[chunkKX4QQ6WA_cjs.additionalContext], this.parsedWireObjectSet);
1116
1116
  } else {
1117
1117
  objectSet = this.store.client(objectTypeDef);
1118
1118
  }
@@ -1154,7 +1154,7 @@ var AggregationsHelper = class extends AbstractHelper {
1154
1154
  return this.getOrCreateQuery(options, void 0);
1155
1155
  }
1156
1156
  getQueryWithObjectSet(options) {
1157
- const serializedObjectSet = JSON.stringify(chunkOT3FQD6Z_cjs.getWireObjectSet(options.objectSet));
1157
+ const serializedObjectSet = JSON.stringify(chunkKX4QQ6WA_cjs.getWireObjectSet(options.objectSet));
1158
1158
  return this.getOrCreateQuery(options, serializedObjectSet);
1159
1159
  }
1160
1160
  getOrCreateQuery(options, serializedObjectSet) {
@@ -1504,7 +1504,7 @@ var FunctionParamsCanonicalizer = class {
1504
1504
  path.push("$:map_end");
1505
1505
  return arr;
1506
1506
  }
1507
- if (chunkODL4JPKE_cjs.isObjectSpecifiersObject(value)) {
1507
+ if (chunkTJIXTX4D_cjs.isObjectSpecifiersObject(value)) {
1508
1508
  const objectType = value.$objectType ?? value.$apiName;
1509
1509
  path.push("$:osdk", objectType, value.$primaryKey);
1510
1510
  return {
@@ -1512,8 +1512,8 @@ var FunctionParamsCanonicalizer = class {
1512
1512
  $primaryKey: value.$primaryKey
1513
1513
  };
1514
1514
  }
1515
- if (chunkOT3FQD6Z_cjs.isObjectSet(value)) {
1516
- const wire = JSON.stringify(chunkOT3FQD6Z_cjs.getWireObjectSet(value));
1515
+ if (chunkKX4QQ6WA_cjs.isObjectSet(value)) {
1516
+ const wire = JSON.stringify(chunkKX4QQ6WA_cjs.getWireObjectSet(value));
1517
1517
  path.push("$:objectset", wire);
1518
1518
  return wire;
1519
1519
  }
@@ -1573,7 +1573,7 @@ var FunctionQuery = class extends Query {
1573
1573
  #dependsOnObjects;
1574
1574
  #queryDef;
1575
1575
  constructor(store, subject, queryDef, params, cacheKey, opts, objectSetTypesPromise) {
1576
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOT3FQD6Z_cjs.additionalContext].logger?.child({}, {
1576
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkKX4QQ6WA_cjs.additionalContext].logger?.child({}, {
1577
1577
  msgPrefix: `FunctionQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
1578
1578
  }) : void 0);
1579
1579
  this.#apiName = queryDef.apiName;
@@ -1630,7 +1630,7 @@ var FunctionQuery = class extends Query {
1630
1630
  }).debug("calling _fetchAndStore");
1631
1631
  }
1632
1632
  try {
1633
- const result = await chunkODL4JPKE_cjs.applyQuery(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], this.#queryDef, this.#params);
1633
+ const result = await chunkTJIXTX4D_cjs.applyQuery(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], this.#queryDef, this.#params);
1634
1634
  const executedAt = Date.now();
1635
1635
  this.store.batch({}, (batch) => {
1636
1636
  this.writeToStore({
@@ -2210,11 +2210,11 @@ function isStringEncodedNumericType(type) {
2210
2210
  return type != null && NUMERIC_STRING_PROPERTY_TYPES.has(type);
2211
2211
  }
2212
2212
  function resolvePropertyType(holder, key, derivedPropertyMetadata = {}) {
2213
- const objectType = holder?.[chunkIZSBOP7S_cjs.ObjectDefRef]?.properties?.[key]?.type;
2213
+ const objectType = holder?.[chunkDHTAF2QE_cjs.ObjectDefRef]?.properties?.[key]?.type;
2214
2214
  if (typeof objectType === "string") {
2215
2215
  return objectType;
2216
2216
  }
2217
- const interfaceType = resolveInterfacePropertyType(holder?.[chunkIZSBOP7S_cjs.InterfaceDefRef], key);
2217
+ const interfaceType = resolveInterfacePropertyType(holder?.[chunkDHTAF2QE_cjs.InterfaceDefRef], key);
2218
2218
  if (typeof interfaceType === "string") {
2219
2219
  return interfaceType;
2220
2220
  }
@@ -2229,7 +2229,7 @@ function resolveInterfacePropertyType(interfaceDef, key) {
2229
2229
  if (typeof direct === "string") {
2230
2230
  return direct;
2231
2231
  }
2232
- const [namespace] = chunkOT3FQD6Z_cjs.extractNamespace(interfaceDef.apiName);
2232
+ const [namespace] = chunkKX4QQ6WA_cjs.extractNamespace(interfaceDef.apiName);
2233
2233
  if (namespace == null) {
2234
2234
  return void 0;
2235
2235
  }
@@ -2308,8 +2308,8 @@ function stripRdpFields(value, rdpFields) {
2308
2308
  if (rdpFields.size === 0) {
2309
2309
  return value;
2310
2310
  }
2311
- const underlying = value[chunkIZSBOP7S_cjs.UnderlyingOsdkObject];
2312
- const objectDef = requireObjectDef(value[chunkIZSBOP7S_cjs.ObjectDefRef], underlying);
2311
+ const underlying = value[chunkDHTAF2QE_cjs.UnderlyingOsdkObject];
2312
+ const objectDef = requireObjectDef(value[chunkDHTAF2QE_cjs.ObjectDefRef], underlying);
2313
2313
  const newProps = {
2314
2314
  $apiName: underlying.$apiName,
2315
2315
  $objectType: underlying.$objectType,
@@ -2322,7 +2322,7 @@ function stripRdpFields(value, rdpFields) {
2322
2322
  newProps[key] = underlying[key];
2323
2323
  }
2324
2324
  }
2325
- return chunkIZSBOP7S_cjs.createOsdkObject(value[chunkIZSBOP7S_cjs.ClientRef], objectDef, newProps);
2325
+ return chunkDHTAF2QE_cjs.createOsdkObject(value[chunkDHTAF2QE_cjs.ClientRef], objectDef, newProps);
2326
2326
  }
2327
2327
  function isSuperset(superset, subset) {
2328
2328
  for (const field of subset) {
@@ -2333,8 +2333,8 @@ function isSuperset(superset, subset) {
2333
2333
  return true;
2334
2334
  }
2335
2335
  function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
2336
- const underlying = value[chunkIZSBOP7S_cjs.UnderlyingOsdkObject];
2337
- const objectDef = requireObjectDef(value[chunkIZSBOP7S_cjs.ObjectDefRef], underlying);
2336
+ const underlying = value[chunkDHTAF2QE_cjs.UnderlyingOsdkObject];
2337
+ const objectDef = requireObjectDef(value[chunkDHTAF2QE_cjs.ObjectDefRef], underlying);
2338
2338
  const newProps = {
2339
2339
  $apiName: underlying.$apiName,
2340
2340
  $objectType: underlying.$objectType,
@@ -2351,12 +2351,12 @@ function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
2351
2351
  newProps[key] = underlying[key];
2352
2352
  }
2353
2353
  }
2354
- return chunkIZSBOP7S_cjs.createOsdkObject(value[chunkIZSBOP7S_cjs.ClientRef], objectDef, newProps);
2354
+ return chunkDHTAF2QE_cjs.createOsdkObject(value[chunkDHTAF2QE_cjs.ClientRef], objectDef, newProps);
2355
2355
  }
2356
2356
  function mergeSelectFields(sourceValue, selectFields, existingValue, sourceRdpFields) {
2357
- const sourceUnderlying = sourceValue[chunkIZSBOP7S_cjs.UnderlyingOsdkObject];
2358
- const existingUnderlying = existingValue[chunkIZSBOP7S_cjs.UnderlyingOsdkObject];
2359
- const objectDef = requireObjectDef(sourceValue[chunkIZSBOP7S_cjs.ObjectDefRef], sourceUnderlying);
2357
+ const sourceUnderlying = sourceValue[chunkDHTAF2QE_cjs.UnderlyingOsdkObject];
2358
+ const existingUnderlying = existingValue[chunkDHTAF2QE_cjs.UnderlyingOsdkObject];
2359
+ const objectDef = requireObjectDef(sourceValue[chunkDHTAF2QE_cjs.ObjectDefRef], sourceUnderlying);
2360
2360
  const newProps = {
2361
2361
  $apiName: sourceUnderlying.$apiName,
2362
2362
  $objectType: sourceUnderlying.$objectType,
@@ -2376,7 +2376,7 @@ function mergeSelectFields(sourceValue, selectFields, existingValue, sourceRdpFi
2376
2376
  newProps[key] = sourceUnderlying[key];
2377
2377
  }
2378
2378
  }
2379
- return chunkIZSBOP7S_cjs.createOsdkObject(sourceValue[chunkIZSBOP7S_cjs.ClientRef], objectDef, newProps);
2379
+ return chunkDHTAF2QE_cjs.createOsdkObject(sourceValue[chunkDHTAF2QE_cjs.ClientRef], objectDef, newProps);
2380
2380
  }
2381
2381
  function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, targetCurrentValue) {
2382
2382
  if (targetRdpFields.size === 0) {
@@ -2388,8 +2388,8 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
2388
2388
  }
2389
2389
  return filterToRdpFields(sourceValue, targetRdpFields, sourceRdpFields);
2390
2390
  }
2391
- const sourceUnderlying = sourceValue[chunkIZSBOP7S_cjs.UnderlyingOsdkObject];
2392
- const objectDef = requireObjectDef(sourceValue[chunkIZSBOP7S_cjs.ObjectDefRef], sourceUnderlying);
2391
+ const sourceUnderlying = sourceValue[chunkDHTAF2QE_cjs.UnderlyingOsdkObject];
2392
+ const objectDef = requireObjectDef(sourceValue[chunkDHTAF2QE_cjs.ObjectDefRef], sourceUnderlying);
2393
2393
  const newProps = {
2394
2394
  $apiName: sourceUnderlying.$apiName,
2395
2395
  $objectType: sourceUnderlying.$objectType,
@@ -2408,14 +2408,14 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
2408
2408
  }
2409
2409
  }
2410
2410
  if (targetCurrentValue) {
2411
- const targetUnderlying = targetCurrentValue[chunkIZSBOP7S_cjs.UnderlyingOsdkObject];
2411
+ const targetUnderlying = targetCurrentValue[chunkDHTAF2QE_cjs.UnderlyingOsdkObject];
2412
2412
  for (const field of targetRdpFields) {
2413
2413
  if (!sourceRdpFields.has(field) && field in targetUnderlying) {
2414
2414
  newProps[field] = targetUnderlying[field];
2415
2415
  }
2416
2416
  }
2417
2417
  }
2418
- return chunkIZSBOP7S_cjs.createOsdkObject(sourceValue[chunkIZSBOP7S_cjs.ClientRef], objectDef, newProps);
2418
+ return chunkDHTAF2QE_cjs.createOsdkObject(sourceValue[chunkDHTAF2QE_cjs.ClientRef], objectDef, newProps);
2419
2419
  }
2420
2420
  function createCollectionConnectable(subject, subjects, createPayload) {
2421
2421
  return rxjs.connectable(subject.pipe(rxjs.switchMap((listEntry) => {
@@ -3042,7 +3042,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
3042
3042
  batch.changes.modified.add(this.cacheKey);
3043
3043
  }
3044
3044
  constructor(store, subject, cacheKey, opts) {
3045
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOT3FQD6Z_cjs.additionalContext].logger?.child({}, {
3045
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkKX4QQ6WA_cjs.additionalContext].logger?.child({}, {
3046
3046
  msgPrefix: `SpecificLinkQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
3047
3047
  }) : void 0);
3048
3048
  [this.#sourceApiName, this.#sourceTypeKind, this.#sourceUnderlyingObjectType, this.#sourcePk, this.#linkName, this.#whereClause, this.#orderBy] = cacheKey.otherKeys;
@@ -3064,7 +3064,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
3064
3064
  */
3065
3065
  async fetchPageData(signal) {
3066
3066
  const client = this.store.client;
3067
- const ontologyProvider = client[chunkOT3FQD6Z_cjs.additionalContext].ontologyProvider;
3067
+ const ontologyProvider = client[chunkKX4QQ6WA_cjs.additionalContext].ontologyProvider;
3068
3068
  const isInterface = this.#sourceTypeKind === "interface";
3069
3069
  const hasOrderBy = this.#orderBy && Object.keys(this.#orderBy).length > 0;
3070
3070
  let target;
@@ -3196,7 +3196,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
3196
3196
  }
3197
3197
  return (async () => {
3198
3198
  try {
3199
- const ontologyProvider = this.store.client[chunkOT3FQD6Z_cjs.additionalContext].ontologyProvider;
3199
+ const ontologyProvider = this.store.client[chunkKX4QQ6WA_cjs.additionalContext].ontologyProvider;
3200
3200
  if (this.#sourceTypeKind === "interface") {
3201
3201
  const objectMetadata2 = await ontologyProvider.getObjectDefinition(objectType);
3202
3202
  if (this.#sourceApiName in objectMetadata2.interfaceMap) {
@@ -3443,7 +3443,7 @@ var ListQuery = class extends BaseListQuery {
3443
3443
  batch.changes.registerList(this.cacheKey);
3444
3444
  }
3445
3445
  constructor(store, subject, apiName, cacheKey, opts) {
3446
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOT3FQD6Z_cjs.additionalContext].logger?.child({}, {
3446
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkKX4QQ6WA_cjs.additionalContext].logger?.child({}, {
3447
3447
  msgPrefix: `ListQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
3448
3448
  }) : void 0);
3449
3449
  this.apiName = apiName;
@@ -3496,11 +3496,11 @@ var ListQuery = class extends BaseListQuery {
3496
3496
  async fetchPageData(signal) {
3497
3497
  const needsResultType = Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy) || this.#pivotInfo != null && this.#intersectWith != null && this.#intersectWith.length > 0 && !this.#pivotIntersectApplied;
3498
3498
  if (needsResultType) {
3499
- const wireObjectSet = chunkOT3FQD6Z_cjs.getWireObjectSet(this.#objectSet);
3499
+ const wireObjectSet = chunkKX4QQ6WA_cjs.getWireObjectSet(this.#objectSet);
3500
3500
  const {
3501
3501
  resultType,
3502
3502
  invalidationSet
3503
- } = await getObjectTypesThatInvalidate(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], wireObjectSet);
3503
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], wireObjectSet);
3504
3504
  this.#updateFetchedObjectType(resultType.apiName);
3505
3505
  this.#rdpInvalidationSet = invalidationSet;
3506
3506
  if (Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
@@ -3510,7 +3510,7 @@ var ListQuery = class extends BaseListQuery {
3510
3510
  // Carries derived-property type metadata so string-encoded numeric
3511
3511
  // derived properties (decimal/long) sort by value. Returns {} when
3512
3512
  // there are no derived properties.
3513
- await chunkOT3FQD6Z_cjs.extractRdpDefinition(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], wireObjectSet)
3513
+ await chunkKX4QQ6WA_cjs.extractRdpDefinition(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], wireObjectSet)
3514
3514
  );
3515
3515
  }
3516
3516
  if (this.#pivotInfo != null && this.#intersectWith != null && this.#intersectWith.length > 0 && !this.#pivotIntersectApplied) {
@@ -3537,11 +3537,11 @@ var ListQuery = class extends BaseListQuery {
3537
3537
  }
3538
3538
  if (this.#fetchedObjectType == null) {
3539
3539
  try {
3540
- const wireObjectSet = chunkOT3FQD6Z_cjs.getWireObjectSet(this.#objectSet);
3540
+ const wireObjectSet = chunkKX4QQ6WA_cjs.getWireObjectSet(this.#objectSet);
3541
3541
  const {
3542
3542
  resultType,
3543
3543
  invalidationSet
3544
- } = await getObjectTypesThatInvalidate(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], wireObjectSet);
3544
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], wireObjectSet);
3545
3545
  this.#updateFetchedObjectType(resultType.apiName);
3546
3546
  this.#rdpInvalidationSet = invalidationSet;
3547
3547
  } catch {
@@ -3774,7 +3774,7 @@ var InterfaceListQuery = class extends ListQuery {
3774
3774
  type,
3775
3775
  apiName: this.apiName
3776
3776
  };
3777
- const clientCtx = store.client[chunkOT3FQD6Z_cjs.additionalContext];
3777
+ const clientCtx = store.client[chunkKX4QQ6WA_cjs.additionalContext];
3778
3778
  let objectSet;
3779
3779
  if (rids != null) {
3780
3780
  objectSet = clientCtx.objectSetFactory(objectTypeDef, clientCtx, {
@@ -3818,7 +3818,7 @@ var InterfaceListQuery = class extends ListQuery {
3818
3818
  }
3819
3819
  extractRelevantObjects(changes) {
3820
3820
  const matchesApiName = ([, object]) => {
3821
- return this.apiName in object[chunkIZSBOP7S_cjs.ObjectDefRef].interfaceMap;
3821
+ return this.apiName in object[chunkDHTAF2QE_cjs.ObjectDefRef].interfaceMap;
3822
3822
  };
3823
3823
  const added = Array.from(changes.addedObjects).filter(matchesApiName).map(([, object]) => this.wrapObject(object));
3824
3824
  const modified = Array.from(changes.modifiedObjects).filter(matchesApiName).map(([, object]) => this.wrapObject(object));
@@ -3829,7 +3829,7 @@ var InterfaceListQuery = class extends ListQuery {
3829
3829
  }
3830
3830
  };
3831
3831
  function createSourceSetForPivot(store, pivotInfo, rids) {
3832
- const clientCtx = store.client[chunkOT3FQD6Z_cjs.additionalContext];
3832
+ const clientCtx = store.client[chunkKX4QQ6WA_cjs.additionalContext];
3833
3833
  if (rids != null) {
3834
3834
  return clientCtx.objectSetFactory({
3835
3835
  type: "object",
@@ -3858,7 +3858,7 @@ var ObjectListQuery = class extends ListQuery {
3858
3858
  const intersectWith = this.cacheKey.otherKeys[INTERSECT_IDX];
3859
3859
  const pivotInfo = this.cacheKey.otherKeys[PIVOT_IDX];
3860
3860
  const rids = this.cacheKey.otherKeys[RIDS_IDX];
3861
- const clientCtx = store.client[chunkOT3FQD6Z_cjs.additionalContext];
3861
+ const clientCtx = store.client[chunkKX4QQ6WA_cjs.additionalContext];
3862
3862
  const typeDefinition = {
3863
3863
  type: "object",
3864
3864
  apiName: this.apiName
@@ -4185,7 +4185,7 @@ var MediaMetadataQuery = class extends Query {
4185
4185
  #propertyName;
4186
4186
  #preview;
4187
4187
  constructor(store, subject, objectType, primaryKey, propertyName, cacheKey, opts) {
4188
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOT3FQD6Z_cjs.additionalContext].logger?.child({}, {
4188
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkKX4QQ6WA_cjs.additionalContext].logger?.child({}, {
4189
4189
  msgPrefix: `MediaMetadataQuery<${objectType}, ${JSON.stringify(primaryKey)}, ${propertyName}>`
4190
4190
  }) : void 0);
4191
4191
  this.#objectType = objectType;
@@ -4218,9 +4218,9 @@ var MediaMetadataQuery = class extends Query {
4218
4218
  this.setStatus("loading", batch);
4219
4219
  });
4220
4220
  try {
4221
- const ontologyRid = await this.store.client[chunkOT3FQD6Z_cjs.additionalContext].ontologyRid;
4222
- const response = await chunkIZSBOP7S_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], ontologyRid, this.#objectType, String(this.#primaryKey), this.#propertyName, {
4223
- branch: this.store.client[chunkOT3FQD6Z_cjs.additionalContext].branch,
4221
+ const ontologyRid = await this.store.client[chunkKX4QQ6WA_cjs.additionalContext].ontologyRid;
4222
+ const response = await chunkDHTAF2QE_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], ontologyRid, this.#objectType, String(this.#primaryKey), this.#propertyName, {
4223
+ branch: this.store.client[chunkKX4QQ6WA_cjs.additionalContext].branch,
4224
4224
  preview: this.#preview
4225
4225
  });
4226
4226
  const metadata = {
@@ -4342,9 +4342,9 @@ var MediaHelper = class extends AbstractHelper {
4342
4342
  return this._subscribe(query, options, observer);
4343
4343
  }
4344
4344
  async fetchMetadata(coords, options) {
4345
- const ontologyRid = await this.store.client[chunkOT3FQD6Z_cjs.additionalContext].ontologyRid;
4346
- const response = await chunkIZSBOP7S_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
4347
- branch: this.store.client[chunkOT3FQD6Z_cjs.additionalContext].branch,
4345
+ const ontologyRid = await this.store.client[chunkKX4QQ6WA_cjs.additionalContext].ontologyRid;
4346
+ const response = await chunkDHTAF2QE_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
4347
+ branch: this.store.client[chunkKX4QQ6WA_cjs.additionalContext].branch,
4348
4348
  preview: options?.preview ?? true
4349
4349
  });
4350
4350
  return {
@@ -4364,9 +4364,9 @@ var MediaHelper = class extends AbstractHelper {
4364
4364
  let response;
4365
4365
  const coords = this.resolveToCoords(mediaOrLocation);
4366
4366
  if (coords) {
4367
- const ontologyRid = await this.store.client[chunkOT3FQD6Z_cjs.additionalContext].ontologyRid;
4368
- response = await chunkIZSBOP7S_cjs.MediaReferenceProperty_exports.getMediaContent(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
4369
- branch: this.store.client[chunkOT3FQD6Z_cjs.additionalContext].branch,
4367
+ const ontologyRid = await this.store.client[chunkKX4QQ6WA_cjs.additionalContext].ontologyRid;
4368
+ response = await chunkDHTAF2QE_cjs.MediaReferenceProperty_exports.getMediaContent(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
4369
+ branch: this.store.client[chunkKX4QQ6WA_cjs.additionalContext].branch,
4370
4370
  preview
4371
4371
  });
4372
4372
  } else if ("fetchContents" in mediaOrLocation) {
@@ -4553,7 +4553,7 @@ var ObjectCacheKeyRegistry = class {
4553
4553
 
4554
4554
  // src/object/convertWireToOsdkObjects/InterfaceHolder.ts
4555
4555
  function isInterfaceHolder(v) {
4556
- return typeof v === "object" && v != null && chunkIZSBOP7S_cjs.InterfaceDefRef in v;
4556
+ return typeof v === "object" && v != null && chunkDHTAF2QE_cjs.InterfaceDefRef in v;
4557
4557
  }
4558
4558
 
4559
4559
  // src/observable/internal/collections/DefaultMap.ts
@@ -4604,7 +4604,7 @@ var BulkObjectLoader = class {
4604
4604
  #rdpIds = new DefaultWeakMap(() => this.#nextRdpId++);
4605
4605
  constructor(client, maxWait = 25, maxEntries = 100) {
4606
4606
  this.#client = client;
4607
- this.#logger = client[chunkOT3FQD6Z_cjs.additionalContext].logger;
4607
+ this.#logger = client[chunkKX4QQ6WA_cjs.additionalContext].logger;
4608
4608
  this.#maxWait = maxWait;
4609
4609
  this.#maxEntries = maxEntries;
4610
4610
  }
@@ -4795,7 +4795,7 @@ var ObjectQuery = class extends Query {
4795
4795
  #includeAllBaseObjectProperties;
4796
4796
  #implementingTypes;
4797
4797
  constructor(store, subject, type, pk, cacheKey, opts, defType = "object", select, loadPropertySecurityMetadata, includeAllBaseObjectProperties) {
4798
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOT3FQD6Z_cjs.additionalContext].logger?.child({}, {
4798
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkKX4QQ6WA_cjs.additionalContext].logger?.child({}, {
4799
4799
  msgPrefix: `ObjectQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
4800
4800
  }) : void 0);
4801
4801
  this.#apiName = type;
@@ -4911,7 +4911,7 @@ var ObjectsHelper = class extends AbstractHelper {
4911
4911
  select,
4912
4912
  $loadPropertySecurityMetadata
4913
4913
  } = options;
4914
- const defType = chunkODL4JPKE_cjs.getDefType(options.apiName);
4914
+ const defType = chunkTJIXTX4D_cjs.getDefType(options.apiName);
4915
4915
  const $includeAllBaseObjectProperties = defType === "interface" && options.$includeAllBaseObjectProperties ? true : void 0;
4916
4916
  const canonSelect = select && select.length > 0 ? this.store.selectCanonicalizer.canonicalize(select) : void 0;
4917
4917
  const objectCacheKey = this.cacheKeys.get("object", apiName, pk, rdpConfig ?? void 0, canonSelect, $loadPropertySecurityMetadata ? true : void 0, $includeAllBaseObjectProperties);
@@ -4928,7 +4928,7 @@ var ObjectsHelper = class extends AbstractHelper {
4928
4928
  storeOsdkInstances(values, batch, rdpConfig, selectFields, includeAllBaseObjectProperties, computedRdpFields) {
4929
4929
  const holders = values;
4930
4930
  return holders.map((v) => {
4931
- const concreteHolder = isInterfaceHolder(v) ? v[chunkIZSBOP7S_cjs.UnderlyingOsdkObject] : v;
4931
+ const concreteHolder = isInterfaceHolder(v) ? v[chunkDHTAF2QE_cjs.UnderlyingOsdkObject] : v;
4932
4932
  return this.getQuery({
4933
4933
  apiName: v.$objectType ?? v.$apiName,
4934
4934
  pk: v.$primaryKey,
@@ -5026,7 +5026,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
5026
5026
  // revalidation. Lazily populated on first fetch when `withProperties` is set.
5027
5027
  #rdpInvalidationSet;
5028
5028
  constructor(store, subject, baseObjectSetWire, operations, cacheKey, opts) {
5029
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOT3FQD6Z_cjs.additionalContext].logger?.child({}, {
5029
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkKX4QQ6WA_cjs.additionalContext].logger?.child({}, {
5030
5030
  msgPrefix: `ObjectSetQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
5031
5031
  }) : void 0);
5032
5032
  this.#baseObjectSetWire = baseObjectSetWire;
@@ -5094,7 +5094,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
5094
5094
  return;
5095
5095
  }
5096
5096
  for (const os of sets) {
5097
- const typeName = _ObjectSetQuery.#extractTypeFromWireObjectSet(chunkOT3FQD6Z_cjs.getWireObjectSet(os));
5097
+ const typeName = _ObjectSetQuery.#extractTypeFromWireObjectSet(chunkKX4QQ6WA_cjs.getWireObjectSet(os));
5098
5098
  if (typeName) {
5099
5099
  types.add(typeName);
5100
5100
  }
@@ -5121,16 +5121,16 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
5121
5121
  */
5122
5122
  async fetchPageData(signal) {
5123
5123
  if (this.#operations.orderBy && Object.keys(this.#operations.orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
5124
- const wireObjectSet = chunkOT3FQD6Z_cjs.getWireObjectSet(this.#composedObjectSet);
5124
+ const wireObjectSet = chunkKX4QQ6WA_cjs.getWireObjectSet(this.#composedObjectSet);
5125
5125
  const {
5126
5126
  resultType,
5127
5127
  invalidationSet
5128
- } = await getObjectTypesThatInvalidate(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], wireObjectSet);
5129
- this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#operations.orderBy, await chunkOT3FQD6Z_cjs.extractRdpDefinition(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], wireObjectSet));
5128
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], wireObjectSet);
5129
+ this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#operations.orderBy, await chunkKX4QQ6WA_cjs.extractRdpDefinition(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], wireObjectSet));
5130
5130
  this.#rdpInvalidationSet = invalidationSet;
5131
5131
  }
5132
5132
  if (this.#rdpInvalidationSet == null && this.#operations.withProperties != null) {
5133
- const wireObjectSet = chunkOT3FQD6Z_cjs.getWireObjectSet(this.#composedObjectSet);
5133
+ const wireObjectSet = chunkKX4QQ6WA_cjs.getWireObjectSet(this.#composedObjectSet);
5134
5134
  this.#rdpInvalidationSet = await this.#computeInvalidationTypes(wireObjectSet);
5135
5135
  }
5136
5136
  const resp = await this.#composedObjectSet.fetchPage({
@@ -5275,7 +5275,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
5275
5275
  try {
5276
5276
  const {
5277
5277
  invalidationSet
5278
- } = await getObjectTypesThatInvalidate(this.store.client[chunkOT3FQD6Z_cjs.additionalContext], wireObjectSet);
5278
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkKX4QQ6WA_cjs.additionalContext], wireObjectSet);
5279
5279
  return invalidationSet;
5280
5280
  } catch (error) {
5281
5281
  this.store.logger?.error("Failed to compute invalidation types for object set query, falling back to empty set", error);
@@ -5322,7 +5322,7 @@ var ObjectSetHelper = class extends AbstractHelper {
5322
5322
  if (process.env.NODE_ENV !== "production") {
5323
5323
  console.warn("[@osdk/client] streamUpdates is not supported with pivotTo. The server does not support websocket subscriptions for link-traversal queries. Ignoring streamUpdates.");
5324
5324
  }
5325
- } else if (options.withProperties || chunkOT3FQD6Z_cjs.hasWithProperties(chunkOT3FQD6Z_cjs.getWireObjectSet(options.baseObjectSet))) {
5325
+ } else if (options.withProperties || chunkKX4QQ6WA_cjs.hasWithProperties(chunkKX4QQ6WA_cjs.getWireObjectSet(options.baseObjectSet))) {
5326
5326
  if (process.env.NODE_ENV !== "production") {
5327
5327
  console.warn("[@osdk/client] streamUpdates is not supported with withProperties. The server does not support websocket subscriptions for object sets that include derived properties. Ignoring streamUpdates.");
5328
5328
  }
@@ -5336,7 +5336,7 @@ var ObjectSetHelper = class extends AbstractHelper {
5336
5336
  const {
5337
5337
  baseObjectSet
5338
5338
  } = options;
5339
- const baseObjectSetWire = JSON.stringify(chunkOT3FQD6Z_cjs.getWireObjectSet(baseObjectSet));
5339
+ const baseObjectSetWire = JSON.stringify(chunkKX4QQ6WA_cjs.getWireObjectSet(baseObjectSet));
5340
5340
  const operations = this.buildCanonicalizedOperations(options);
5341
5341
  const objectSetCacheKey = this.cacheKeys.get("objectSet", baseObjectSetWire, operations);
5342
5342
  return this.store.queries.get(objectSetCacheKey, () => {
@@ -5352,13 +5352,13 @@ var ObjectSetHelper = class extends AbstractHelper {
5352
5352
  operations.withProperties = this.rdpCanonicalizer.canonicalize(options.withProperties);
5353
5353
  }
5354
5354
  if (options.union && options.union.length > 0) {
5355
- operations.union = this.objectSetArrayCanonicalizer.canonicalizeUnion(options.union.map((os) => JSON.stringify(chunkOT3FQD6Z_cjs.getWireObjectSet(os))));
5355
+ operations.union = this.objectSetArrayCanonicalizer.canonicalizeUnion(options.union.map((os) => JSON.stringify(chunkKX4QQ6WA_cjs.getWireObjectSet(os))));
5356
5356
  }
5357
5357
  if (options.intersect && options.intersect.length > 0) {
5358
- operations.intersect = this.objectSetArrayCanonicalizer.canonicalizeIntersect(options.intersect.map((os) => JSON.stringify(chunkOT3FQD6Z_cjs.getWireObjectSet(os))));
5358
+ operations.intersect = this.objectSetArrayCanonicalizer.canonicalizeIntersect(options.intersect.map((os) => JSON.stringify(chunkKX4QQ6WA_cjs.getWireObjectSet(os))));
5359
5359
  }
5360
5360
  if (options.subtract && options.subtract.length > 0) {
5361
- operations.subtract = this.objectSetArrayCanonicalizer.canonicalizeSubtract(options.subtract.map((os) => JSON.stringify(chunkOT3FQD6Z_cjs.getWireObjectSet(os))));
5361
+ operations.subtract = this.objectSetArrayCanonicalizer.canonicalizeSubtract(options.subtract.map((os) => JSON.stringify(chunkKX4QQ6WA_cjs.getWireObjectSet(os))));
5362
5362
  }
5363
5363
  if (options.pivotTo) {
5364
5364
  operations.pivotTo = options.pivotTo;
@@ -5506,7 +5506,7 @@ var RdpCanonicalizer = class extends CachingCanonicalizer {
5506
5506
  apiName: "__rdp_canonicalizer_holder__"
5507
5507
  };
5508
5508
  for (const [key, rdpFunction] of Object.entries(rdp)) {
5509
- const builder = chunkOT3FQD6Z_cjs.createWithPropertiesObjectSet(
5509
+ const builder = chunkKX4QQ6WA_cjs.createWithPropertiesObjectSet(
5510
5510
  objectTypeHolder,
5511
5511
  {
5512
5512
  type: "methodInput"
@@ -5683,7 +5683,7 @@ var Store = class {
5683
5683
  subjects = this.layers.subjects;
5684
5684
  // these are hopefully temporary
5685
5685
  constructor(client, options) {
5686
- this.logger = client[chunkOT3FQD6Z_cjs.additionalContext].logger?.child({}, {
5686
+ this.logger = client[chunkKX4QQ6WA_cjs.additionalContext].logger?.child({}, {
5687
5687
  msgPrefix: "Store",
5688
5688
  level: options?.devMode?.logLevel
5689
5689
  });
@@ -6140,10 +6140,10 @@ var Store = class {
6140
6140
 
6141
6141
  // src/observable/ObservableClient.ts
6142
6142
  function createObservableClient(client, extraUserAgents, options) {
6143
- const tweakedClient = chunkIZSBOP7S_cjs.createClientFromContext({
6144
- ...client[chunkOT3FQD6Z_cjs.additionalContext],
6145
- fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkOT3FQD6Z_cjs.additionalContext].fetch, (headers) => {
6146
- headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunkIZSBOP7S_cjs.OBSERVABLE_USER_AGENT, ...extraUserAgents?.() ?? []].filter((x) => x && x?.length > 0).join(" "));
6143
+ const tweakedClient = chunkDHTAF2QE_cjs.createClientFromContext({
6144
+ ...client[chunkKX4QQ6WA_cjs.additionalContext],
6145
+ fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkKX4QQ6WA_cjs.additionalContext].fetch, (headers) => {
6146
+ headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunkDHTAF2QE_cjs.OBSERVABLE_USER_AGENT, ...extraUserAgents?.() ?? []].filter((x) => x && x?.length > 0).join(" "));
6147
6147
  return headers;
6148
6148
  })
6149
6149
  });
@@ -6151,5 +6151,5 @@ function createObservableClient(client, extraUserAgents, options) {
6151
6151
  }
6152
6152
 
6153
6153
  exports.createObservableClient = createObservableClient;
6154
- //# sourceMappingURL=chunk-RQUPQUHT.cjs.map
6155
- //# sourceMappingURL=chunk-RQUPQUHT.cjs.map
6154
+ //# sourceMappingURL=chunk-PIDS3FT2.cjs.map
6155
+ //# sourceMappingURL=chunk-PIDS3FT2.cjs.map