@osdk/client 2.8.0-beta.31 → 2.8.0-beta.32

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 (30) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/build/browser/createMediaFromReference.js +5 -7
  3. package/build/browser/createMediaFromReference.js.map +1 -1
  4. package/build/browser/observable/internal/OrderByCanonicalizer.js +1 -1
  5. package/build/browser/observable/internal/OrderByCanonicalizer.js.map +1 -1
  6. package/build/browser/observable/internal/WhereClauseCanonicalizer.js +1 -1
  7. package/build/browser/observable/internal/WhereClauseCanonicalizer.js.map +1 -1
  8. package/build/browser/util/UserAgent.js +2 -2
  9. package/build/cjs/MediaReferenceProperty-3LVGUKXN.cjs +22 -0
  10. package/build/cjs/{MediaReferenceProperty-MZ2PACD4.cjs.map → MediaReferenceProperty-3LVGUKXN.cjs.map} +1 -1
  11. package/build/cjs/{chunk-7NPAYZLW.cjs → chunk-3LPMQ5DJ.cjs} +82 -73
  12. package/build/cjs/chunk-3LPMQ5DJ.cjs.map +1 -0
  13. package/build/cjs/{chunk-ZZ6DP3W4.cjs → chunk-6MWGZMBV.cjs} +10 -10
  14. package/build/cjs/{chunk-ZZ6DP3W4.cjs.map → chunk-6MWGZMBV.cjs.map} +1 -1
  15. package/build/cjs/{chunk-GSVXEVM4.cjs → chunk-LCI6OHTV.cjs} +3 -3
  16. package/build/cjs/{chunk-GSVXEVM4.cjs.map → chunk-LCI6OHTV.cjs.map} +1 -1
  17. package/build/cjs/index.cjs +11 -11
  18. package/build/cjs/public/internal.cjs +8 -8
  19. package/build/cjs/public/unstable-do-not-use.cjs +70 -70
  20. package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
  21. package/build/esm/createMediaFromReference.js +5 -7
  22. package/build/esm/createMediaFromReference.js.map +1 -1
  23. package/build/esm/observable/internal/OrderByCanonicalizer.js +1 -1
  24. package/build/esm/observable/internal/OrderByCanonicalizer.js.map +1 -1
  25. package/build/esm/observable/internal/WhereClauseCanonicalizer.js +1 -1
  26. package/build/esm/observable/internal/WhereClauseCanonicalizer.js.map +1 -1
  27. package/build/esm/util/UserAgent.js +2 -2
  28. package/package.json +11 -11
  29. package/build/cjs/MediaReferenceProperty-MZ2PACD4.cjs +0 -22
  30. package/build/cjs/chunk-7NPAYZLW.cjs.map +0 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunkD26YLHTV_cjs = require('./chunk-D26YLHTV.cjs');
4
4
 
5
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
5
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.57.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
6
6
  var _getMediaContent = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content", 2, , "*/*"];
7
7
  function getMediaContent($ctx, ...args) {
8
8
  return chunkD26YLHTV_cjs.foundryPlatformFetch($ctx, _getMediaContent, ...args);
@@ -19,5 +19,5 @@ function upload($ctx, ...args) {
19
19
  exports.getMediaContent = getMediaContent;
20
20
  exports.getMediaMetadata = getMediaMetadata;
21
21
  exports.upload = upload;
22
- //# sourceMappingURL=chunk-GSVXEVM4.cjs.map
23
- //# sourceMappingURL=chunk-GSVXEVM4.cjs.map
22
+ //# sourceMappingURL=chunk-LCI6OHTV.cjs.map
23
+ //# sourceMappingURL=chunk-LCI6OHTV.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js"],"names":["foundryPlatformFetch"],"mappings":";;;;;AAiBA,IAAM,mBAAmB,CAAC,CAAA,EAAG,sDAAwD,EAAA,CAAA,IAAI,KAAK,CAAA;AASvF,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,sCAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA;AAC9D;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,uDAAA,EAAyD,CAAC,CAAA;AASjF,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,sCAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA;AAC/D;AACA,IAAM,OAAU,GAAA,CAAC,CAAG,EAAA,qDAAA,EAAuD,GAAG,KAAK,CAAA;AAU5E,SAAS,MAAA,CAAO,SAAS,IAAM,EAAA;AACpC,EAAA,OAAOA,sCAAsB,CAAA,IAAA,EAAM,OAAS,EAAA,GAAG,IAAI,CAAA;AACrD","file":"chunk-GSVXEVM4.cjs","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _getMediaContent = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content\", 2,, \"*/*\"];\n/**\n * Gets the content of a media item referenced by this property.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/content\n */\nexport function getMediaContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaContent, ...args);\n}\nconst _getMediaMetadata = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/metadata\", 2];\n/**\n * Gets metadata about the media item referenced by this property.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/metadata\n */\nexport function getMediaMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaMetadata, ...args);\n}\nconst _upload = [1, \"/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload\", 3, \"*/*\"];\n/**\n * Uploads a media item to the media set which backs the specified property. The property must be backed by a single media set and branch, otherwise an error will be thrown.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/media/{property}/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...args);\n}"]}
1
+ {"version":3,"sources":["../../../../node_modules/.pnpm/@osdk+foundry.ontologies@2.57.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js"],"names":["foundryPlatformFetch"],"mappings":";;;;;AAiBA,IAAM,mBAAmB,CAAC,CAAA,EAAG,sDAAwD,EAAA,CAAA,IAAI,KAAK,CAAA;AASvF,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,sCAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA;AAC9D;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,uDAAA,EAAyD,CAAC,CAAA;AASjF,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,sCAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA;AAC/D;AACA,IAAM,OAAU,GAAA,CAAC,CAAG,EAAA,qDAAA,EAAuD,GAAG,KAAK,CAAA;AAU5E,SAAS,MAAA,CAAO,SAAS,IAAM,EAAA;AACpC,EAAA,OAAOA,sCAAsB,CAAA,IAAA,EAAM,OAAS,EAAA,GAAG,IAAI,CAAA;AACrD","file":"chunk-LCI6OHTV.cjs","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _getMediaContent = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content\", 2,, \"*/*\"];\n/**\n * Gets the content of a media item referenced by this property.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/content\n */\nexport function getMediaContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaContent, ...args);\n}\nconst _getMediaMetadata = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/metadata\", 2];\n/**\n * Gets metadata about the media item referenced by this property.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/metadata\n */\nexport function getMediaMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaMetadata, ...args);\n}\nconst _upload = [1, \"/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload\", 3, \"*/*\"];\n/**\n * Uploads a media item to the media set which backs the specified property. The property must be backed by a single media set and branch, otherwise an error will be thrown.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/media/{property}/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...args);\n}"]}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunk7NPAYZLW_cjs = require('./chunk-7NPAYZLW.cjs');
4
- var chunkZZ6DP3W4_cjs = require('./chunk-ZZ6DP3W4.cjs');
5
- require('./chunk-GSVXEVM4.cjs');
3
+ var chunk3LPMQ5DJ_cjs = require('./chunk-3LPMQ5DJ.cjs');
4
+ var chunk6MWGZMBV_cjs = require('./chunk-6MWGZMBV.cjs');
5
+ require('./chunk-LCI6OHTV.cjs');
6
6
  require('./chunk-D26YLHTV.cjs');
7
7
  require('./chunk-YJG67XL4.cjs');
8
8
  require('./chunk-HEMBBCBS.cjs');
@@ -16,7 +16,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
16
16
  var invariant__default = /*#__PURE__*/_interopDefault(invariant);
17
17
 
18
18
  function createPlatformClient(baseUrl, tokenProvider, options = void 0, fetchFn = fetch) {
19
- return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider, chunk7NPAYZLW_cjs.USER_AGENT, fetchFn);
19
+ return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider, chunk3LPMQ5DJ_cjs.USER_AGENT, fetchFn);
20
20
  }
21
21
  var isoRegex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
22
22
  var extractDate = (dateTime) => {
@@ -40,31 +40,31 @@ var extractDateFromIsoString = (dateTime) => {
40
40
 
41
41
  Object.defineProperty(exports, "ActionValidationError", {
42
42
  enumerable: true,
43
- get: function () { return chunk7NPAYZLW_cjs.ActionValidationError; }
43
+ get: function () { return chunk3LPMQ5DJ_cjs.ActionValidationError; }
44
44
  });
45
45
  Object.defineProperty(exports, "createAttachmentUpload", {
46
46
  enumerable: true,
47
- get: function () { return chunk7NPAYZLW_cjs.createAttachmentUpload; }
47
+ get: function () { return chunk3LPMQ5DJ_cjs.createAttachmentUpload; }
48
48
  });
49
49
  Object.defineProperty(exports, "createClient", {
50
50
  enumerable: true,
51
- get: function () { return chunk7NPAYZLW_cjs.createClient; }
51
+ get: function () { return chunk3LPMQ5DJ_cjs.createClient; }
52
52
  });
53
53
  Object.defineProperty(exports, "createObjectSpecifierFromPrimaryKey", {
54
54
  enumerable: true,
55
- get: function () { return chunk7NPAYZLW_cjs.createObjectSpecifierFromPrimaryKey; }
55
+ get: function () { return chunk3LPMQ5DJ_cjs.createObjectSpecifierFromPrimaryKey; }
56
56
  });
57
57
  Object.defineProperty(exports, "extractPrimaryKeyFromObjectSpecifier", {
58
58
  enumerable: true,
59
- get: function () { return chunk7NPAYZLW_cjs.extractPrimaryKeyFromObjectSpecifier; }
59
+ get: function () { return chunk3LPMQ5DJ_cjs.extractPrimaryKeyFromObjectSpecifier; }
60
60
  });
61
61
  Object.defineProperty(exports, "getWireObjectSet", {
62
62
  enumerable: true,
63
- get: function () { return chunkZZ6DP3W4_cjs.getWireObjectSet; }
63
+ get: function () { return chunk6MWGZMBV_cjs.getWireObjectSet; }
64
64
  });
65
65
  Object.defineProperty(exports, "isObjectSet", {
66
66
  enumerable: true,
67
- get: function () { return chunkZZ6DP3W4_cjs.isObjectSet; }
67
+ get: function () { return chunk6MWGZMBV_cjs.isObjectSet; }
68
68
  });
69
69
  Object.defineProperty(exports, "isOk", {
70
70
  enumerable: true,
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkZZ6DP3W4_cjs = require('../chunk-ZZ6DP3W4.cjs');
3
+ var chunk6MWGZMBV_cjs = require('../chunk-6MWGZMBV.cjs');
4
4
  require('../chunk-D26YLHTV.cjs');
5
5
  require('../chunk-HEMBBCBS.cjs');
6
6
 
7
7
  // src/public-utils/createAndFetchTempObjectSetRid.ts
8
8
  async function createAndFetchTempObjectSetRid(client, objectSet) {
9
- const response = await chunkZZ6DP3W4_cjs.createTemporary(client, await client[chunkZZ6DP3W4_cjs.additionalContext].ontologyRid, {
10
- objectSet: chunkZZ6DP3W4_cjs.getWireObjectSet(objectSet)
9
+ const response = await chunk6MWGZMBV_cjs.createTemporary(client, await client[chunk6MWGZMBV_cjs.additionalContext].ontologyRid, {
10
+ objectSet: chunk6MWGZMBV_cjs.getWireObjectSet(objectSet)
11
11
  });
12
12
  return response.objectSetRid;
13
13
  }
14
14
 
15
15
  // src/public-utils/hydrateObjectSetFromObjectRids.ts
16
16
  function hydrateObjectSetFromObjectRids(client, definition, rids) {
17
- return chunkZZ6DP3W4_cjs.createObjectSet(definition, client[chunkZZ6DP3W4_cjs.additionalContext], {
17
+ return chunk6MWGZMBV_cjs.createObjectSet(definition, client[chunk6MWGZMBV_cjs.additionalContext], {
18
18
  type: "intersect",
19
19
  objectSets: [definition.type === "interface" ? {
20
20
  type: "interfaceBase",
@@ -34,7 +34,7 @@ function asMutableArray(array) {
34
34
 
35
35
  // src/public-utils/hydrateObjectSetFromRid.ts
36
36
  function hydrateObjectSetFromRid(client, definition, rid) {
37
- return chunkZZ6DP3W4_cjs.createObjectSet(definition, client[chunkZZ6DP3W4_cjs.additionalContext], {
37
+ return chunk6MWGZMBV_cjs.createObjectSet(definition, client[chunk6MWGZMBV_cjs.additionalContext], {
38
38
  type: "intersect",
39
39
  objectSets: [definition.type === "interface" ? {
40
40
  type: "interfaceBase",
@@ -75,7 +75,7 @@ var levelStyles = {
75
75
  color: "orange"
76
76
  })
77
77
  };
78
- var BrowserLogger = class _BrowserLogger extends chunkZZ6DP3W4_cjs.BaseLogger {
78
+ var BrowserLogger = class _BrowserLogger extends chunk6MWGZMBV_cjs.BaseLogger {
79
79
  constructor(bindings = {}, options = {}) {
80
80
  super(bindings, {
81
81
  ...options,
@@ -101,11 +101,11 @@ var BrowserLogger = class _BrowserLogger extends chunkZZ6DP3W4_cjs.BaseLogger {
101
101
 
102
102
  Object.defineProperty(exports, "MinimalLogger", {
103
103
  enumerable: true,
104
- get: function () { return chunkZZ6DP3W4_cjs.MinimalLogger; }
104
+ get: function () { return chunk6MWGZMBV_cjs.MinimalLogger; }
105
105
  });
106
106
  Object.defineProperty(exports, "hydrateAttachmentFromRid", {
107
107
  enumerable: true,
108
- get: function () { return chunkZZ6DP3W4_cjs.hydrateAttachmentFromRid; }
108
+ get: function () { return chunk6MWGZMBV_cjs.hydrateAttachmentFromRid; }
109
109
  });
110
110
  exports.BrowserLogger = BrowserLogger;
111
111
  exports.createAndFetchTempObjectSetRid = createAndFetchTempObjectSetRid;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunk7NPAYZLW_cjs = require('../chunk-7NPAYZLW.cjs');
4
- var chunkZZ6DP3W4_cjs = require('../chunk-ZZ6DP3W4.cjs');
5
- require('../chunk-GSVXEVM4.cjs');
3
+ var chunk3LPMQ5DJ_cjs = require('../chunk-3LPMQ5DJ.cjs');
4
+ var chunk6MWGZMBV_cjs = require('../chunk-6MWGZMBV.cjs');
5
+ require('../chunk-LCI6OHTV.cjs');
6
6
  require('../chunk-D26YLHTV.cjs');
7
7
  require('../chunk-YJG67XL4.cjs');
8
8
  require('../chunk-HEMBBCBS.cjs');
@@ -56,7 +56,7 @@ var WeakRefTrie = class {
56
56
  // src/observable/internal/OrderByCanonicalizer.ts
57
57
  var OrderByCanonicalizer = class {
58
58
  #trie = new WeakRefTrie((array) => {
59
- const pairs = array.reduce(function(result, _, index, array2) {
59
+ const pairs = array.reduce((result, _, index, array2) => {
60
60
  if (index % 2 === 0 && array2[index] != null) {
61
61
  result.push(array2.slice(index, index + 2));
62
62
  }
@@ -134,7 +134,7 @@ var WhereClauseCanonicalizer = class {
134
134
  return [k, v.map((x) => this.#toCanon(x, set))];
135
135
  }
136
136
  if (k !== "$not" && typeof v === "object" && v != null && "$eq" in v) {
137
- return [k, v["$eq"]];
137
+ return [k, v.$eq];
138
138
  }
139
139
  return [k, v];
140
140
  }));
@@ -145,7 +145,7 @@ var WhereClauseCanonicalizer = class {
145
145
  var whereCanonicalizer = new WhereClauseCanonicalizer();
146
146
  var orderByCanonicalizer = new OrderByCanonicalizer();
147
147
  function computeObjectSetCacheKey(objectSet, options) {
148
- const keyParts = ["objectSet", chunkZZ6DP3W4_cjs.getWireObjectSet(objectSet)];
148
+ const keyParts = ["objectSet", chunk6MWGZMBV_cjs.getWireObjectSet(objectSet)];
149
149
  if (!options) {
150
150
  return JSON.stringify(keyParts);
151
151
  }
@@ -157,13 +157,13 @@ function computeObjectSetCacheKey(objectSet, options) {
157
157
  keyParts.push("props", propKeys);
158
158
  }
159
159
  if (options.union && options.union.length > 0) {
160
- keyParts.push("union", options.union.map((os) => chunkZZ6DP3W4_cjs.getWireObjectSet(os)));
160
+ keyParts.push("union", options.union.map((os) => chunk6MWGZMBV_cjs.getWireObjectSet(os)));
161
161
  }
162
162
  if (options.intersect && options.intersect.length > 0) {
163
- keyParts.push("intersect", options.intersect.map((os) => chunkZZ6DP3W4_cjs.getWireObjectSet(os)));
163
+ keyParts.push("intersect", options.intersect.map((os) => chunk6MWGZMBV_cjs.getWireObjectSet(os)));
164
164
  }
165
165
  if (options.subtract && options.subtract.length > 0) {
166
- keyParts.push("subtract", options.subtract.map((os) => chunkZZ6DP3W4_cjs.getWireObjectSet(os)));
166
+ keyParts.push("subtract", options.subtract.map((os) => chunk6MWGZMBV_cjs.getWireObjectSet(os)));
167
167
  }
168
168
  if (options.pivotTo) {
169
169
  keyParts.push("pivotTo", options.pivotTo);
@@ -230,8 +230,8 @@ var ObservableClientImpl = class {
230
230
  const instances = [];
231
231
  const objectSetWires = [];
232
232
  for (const item of options.dependsOnObjects ?? []) {
233
- if (chunkZZ6DP3W4_cjs.isObjectSet(item)) {
234
- objectSetWires.push(chunkZZ6DP3W4_cjs.getWireObjectSet(item));
233
+ if (chunk6MWGZMBV_cjs.isObjectSet(item)) {
234
+ objectSetWires.push(chunk6MWGZMBV_cjs.getWireObjectSet(item));
235
235
  } else {
236
236
  instances.push({
237
237
  $apiName: item.$objectType ?? item.$apiName,
@@ -239,7 +239,7 @@ var ObservableClientImpl = class {
239
239
  });
240
240
  }
241
241
  }
242
- const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunkZZ6DP3W4_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunkZZ6DP3W4_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
242
+ const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunk6MWGZMBV_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunk6MWGZMBV_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
243
243
  return this.__experimentalStore.functions.observe({
244
244
  ...options,
245
245
  queryDef,
@@ -302,7 +302,7 @@ var ObservableClientImpl = class {
302
302
  if (!arr || arr.length === 0) {
303
303
  return arr;
304
304
  }
305
- const wireStrings = arr.map((os) => JSON.stringify(chunkZZ6DP3W4_cjs.getWireObjectSet(os)));
305
+ const wireStrings = arr.map((os) => JSON.stringify(chunk6MWGZMBV_cjs.getWireObjectSet(os)));
306
306
  const canonKey = canonicalize(wireStrings);
307
307
  let cached = cache.get(canonKey);
308
308
  if (!cached) {
@@ -497,7 +497,7 @@ var OptimisticJob = class {
497
497
  return this;
498
498
  },
499
499
  createObject(type, pk, properties) {
500
- const create = store.client[chunkZZ6DP3W4_cjs.additionalContext].objectFactory2(store.client[chunkZZ6DP3W4_cjs.additionalContext], [{
500
+ const create = store.client[chunk6MWGZMBV_cjs.additionalContext].objectFactory2(store.client[chunk6MWGZMBV_cjs.additionalContext], [{
501
501
  $primaryKey: pk,
502
502
  $apiName: type.apiName,
503
503
  $objectType: type.apiName,
@@ -964,7 +964,7 @@ var Query = class {
964
964
  this.store = store;
965
965
  this.cacheKeys = store.cacheKeys;
966
966
  this.#subject = observable;
967
- this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkZZ6DP3W4_cjs.additionalContext].logger : store.client[chunkZZ6DP3W4_cjs.additionalContext].logger?.child({}, {
967
+ this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunk6MWGZMBV_cjs.additionalContext].logger : store.client[chunk6MWGZMBV_cjs.additionalContext].logger?.child({}, {
968
968
  msgPrefix: process.env.NODE_ENV !== "production" ? `Query<${cacheKey.type}, ${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>` : "Query"
969
969
  }));
970
970
  }
@@ -1126,7 +1126,7 @@ var AggregationQuery = class extends Query {
1126
1126
  #invalidationTypes;
1127
1127
  #invalidationTypesPromise;
1128
1128
  constructor(store, subject, cacheKey, opts) {
1129
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkZZ6DP3W4_cjs.additionalContext].logger?.child({}, {
1129
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunk6MWGZMBV_cjs.additionalContext].logger?.child({}, {
1130
1130
  msgPrefix: `AggregationQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
1131
1131
  }) : void 0);
1132
1132
  this.apiName = cacheKey.otherKeys[API_NAME_IDX];
@@ -1144,7 +1144,7 @@ var AggregationQuery = class extends Query {
1144
1144
  try {
1145
1145
  const {
1146
1146
  invalidationSet
1147
- } = await getObjectTypesThatInvalidate(this.store.client[chunkZZ6DP3W4_cjs.additionalContext], wireObjectSet);
1147
+ } = await getObjectTypesThatInvalidate(this.store.client[chunk6MWGZMBV_cjs.additionalContext], wireObjectSet);
1148
1148
  return /* @__PURE__ */ new Set([this.apiName, ...invalidationSet]);
1149
1149
  } catch (error) {
1150
1150
  this.store.logger?.error("Failed to compute invalidation types for aggregation, falling back to base type only", error);
@@ -1215,7 +1215,7 @@ var ObjectAggregationQuery = class extends AggregationQuery {
1215
1215
  };
1216
1216
  let objectSet;
1217
1217
  if (this.parsedWireObjectSet) {
1218
- objectSet = chunkZZ6DP3W4_cjs.createObjectSet(objectTypeDef, this.store.client[chunkZZ6DP3W4_cjs.additionalContext], this.parsedWireObjectSet);
1218
+ objectSet = chunk6MWGZMBV_cjs.createObjectSet(objectTypeDef, this.store.client[chunk6MWGZMBV_cjs.additionalContext], this.parsedWireObjectSet);
1219
1219
  } else {
1220
1220
  objectSet = this.store.client(objectTypeDef);
1221
1221
  }
@@ -1257,7 +1257,7 @@ var AggregationsHelper = class extends AbstractHelper {
1257
1257
  return this.getOrCreateQuery(options, void 0);
1258
1258
  }
1259
1259
  getQueryWithObjectSet(options) {
1260
- const serializedObjectSet = JSON.stringify(chunkZZ6DP3W4_cjs.getWireObjectSet(options.objectSet));
1260
+ const serializedObjectSet = JSON.stringify(chunk6MWGZMBV_cjs.getWireObjectSet(options.objectSet));
1261
1261
  return this.getOrCreateQuery(options, serializedObjectSet);
1262
1262
  }
1263
1263
  getOrCreateQuery(options, serializedObjectSet) {
@@ -1580,7 +1580,7 @@ var FunctionParamsCanonicalizer = class {
1580
1580
  path.push("$:map_end");
1581
1581
  return arr;
1582
1582
  }
1583
- if (chunk7NPAYZLW_cjs.isObjectSpecifiersObject(value)) {
1583
+ if (chunk3LPMQ5DJ_cjs.isObjectSpecifiersObject(value)) {
1584
1584
  const objectType = value.$objectType ?? value.$apiName;
1585
1585
  path.push("$:osdk", objectType, value.$primaryKey);
1586
1586
  return {
@@ -1588,8 +1588,8 @@ var FunctionParamsCanonicalizer = class {
1588
1588
  $primaryKey: value.$primaryKey
1589
1589
  };
1590
1590
  }
1591
- if (chunkZZ6DP3W4_cjs.isObjectSet(value)) {
1592
- const wire = chunkZZ6DP3W4_cjs.getWireObjectSet(value);
1591
+ if (chunk6MWGZMBV_cjs.isObjectSet(value)) {
1592
+ const wire = chunk6MWGZMBV_cjs.getWireObjectSet(value);
1593
1593
  path.push("$:objectset", wire);
1594
1594
  return wire;
1595
1595
  }
@@ -1649,7 +1649,7 @@ var FunctionQuery = class extends Query {
1649
1649
  #dependsOnObjects;
1650
1650
  #queryDef;
1651
1651
  constructor(store, subject, queryDef, params, cacheKey, opts, objectSetTypesPromise) {
1652
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkZZ6DP3W4_cjs.additionalContext].logger?.child({}, {
1652
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunk6MWGZMBV_cjs.additionalContext].logger?.child({}, {
1653
1653
  msgPrefix: `FunctionQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
1654
1654
  }) : void 0);
1655
1655
  this.#apiName = queryDef.apiName;
@@ -1706,7 +1706,7 @@ var FunctionQuery = class extends Query {
1706
1706
  }).debug("calling _fetchAndStore");
1707
1707
  }
1708
1708
  try {
1709
- const result = await chunk7NPAYZLW_cjs.applyQuery(this.store.client[chunkZZ6DP3W4_cjs.additionalContext], this.#queryDef, this.#params);
1709
+ const result = await chunk3LPMQ5DJ_cjs.applyQuery(this.store.client[chunk6MWGZMBV_cjs.additionalContext], this.#queryDef, this.#params);
1710
1710
  const executedAt = Date.now();
1711
1711
  this.store.batch({}, (batch) => {
1712
1712
  this.writeToStore({
@@ -2920,7 +2920,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
2920
2920
  batch.changes.modified.add(this.cacheKey);
2921
2921
  }
2922
2922
  constructor(store, subject, cacheKey, opts) {
2923
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkZZ6DP3W4_cjs.additionalContext].logger?.child({}, {
2923
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunk6MWGZMBV_cjs.additionalContext].logger?.child({}, {
2924
2924
  msgPrefix: `SpecificLinkQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
2925
2925
  }) : void 0);
2926
2926
  [this.#sourceApiName, this.#sourceTypeKind, this.#sourceUnderlyingObjectType, this.#sourcePk, this.#linkName, this.#whereClause, this.#orderBy] = cacheKey.otherKeys;
@@ -2934,7 +2934,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
2934
2934
  */
2935
2935
  async fetchPageData(signal) {
2936
2936
  const client = this.store.client;
2937
- const ontologyProvider = client[chunkZZ6DP3W4_cjs.additionalContext].ontologyProvider;
2937
+ const ontologyProvider = client[chunk6MWGZMBV_cjs.additionalContext].ontologyProvider;
2938
2938
  const isInterface = this.#sourceTypeKind === "interface";
2939
2939
  if (this.#orderBy && Object.keys(this.#orderBy).length > 0) {
2940
2940
  let targetTypeApiName;
@@ -3045,7 +3045,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
3045
3045
  }
3046
3046
  return (async () => {
3047
3047
  try {
3048
- const ontologyProvider = this.store.client[chunkZZ6DP3W4_cjs.additionalContext].ontologyProvider;
3048
+ const ontologyProvider = this.store.client[chunk6MWGZMBV_cjs.additionalContext].ontologyProvider;
3049
3049
  if (this.#sourceTypeKind === "interface") {
3050
3050
  const objectMetadata = await ontologyProvider.getObjectDefinition(objectType);
3051
3051
  if (this.#sourceApiName in objectMetadata.interfaceMap) {
@@ -3220,7 +3220,7 @@ var ListQuery = class extends BaseListQuery {
3220
3220
  batch.changes.registerList(this.cacheKey);
3221
3221
  }
3222
3222
  constructor(store, subject, apiName, cacheKey, opts) {
3223
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkZZ6DP3W4_cjs.additionalContext].logger?.child({}, {
3223
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunk6MWGZMBV_cjs.additionalContext].logger?.child({}, {
3224
3224
  msgPrefix: `ListQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
3225
3225
  }) : void 0);
3226
3226
  this.apiName = apiName;
@@ -3262,10 +3262,10 @@ var ListQuery = class extends BaseListQuery {
3262
3262
  async fetchPageData(signal) {
3263
3263
  const needsResultType = Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy) || this.#pivotInfo != null && this.#intersectWith != null && this.#intersectWith.length > 0 && !this.#pivotIntersectApplied;
3264
3264
  if (needsResultType) {
3265
- const wireObjectSet = chunkZZ6DP3W4_cjs.getWireObjectSet(this.#objectSet);
3265
+ const wireObjectSet = chunk6MWGZMBV_cjs.getWireObjectSet(this.#objectSet);
3266
3266
  const {
3267
3267
  resultType
3268
- } = await getObjectTypesThatInvalidate(this.store.client[chunkZZ6DP3W4_cjs.additionalContext], wireObjectSet);
3268
+ } = await getObjectTypesThatInvalidate(this.store.client[chunk6MWGZMBV_cjs.additionalContext], wireObjectSet);
3269
3269
  if (Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
3270
3270
  this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#orderBy);
3271
3271
  }
@@ -3540,7 +3540,7 @@ var InterfaceListQuery = class extends ListQuery {
3540
3540
  type,
3541
3541
  apiName: this.apiName
3542
3542
  };
3543
- const clientCtx = store.client[chunkZZ6DP3W4_cjs.additionalContext];
3543
+ const clientCtx = store.client[chunk6MWGZMBV_cjs.additionalContext];
3544
3544
  let objectSet;
3545
3545
  if (rids != null) {
3546
3546
  objectSet = clientCtx.objectSetFactory(objectTypeDef, clientCtx, {
@@ -3579,7 +3579,7 @@ var InterfaceListQuery = class extends ListQuery {
3579
3579
  }
3580
3580
  extractRelevantObjects(changes) {
3581
3581
  const matchesApiName = ([, object]) => {
3582
- return this.apiName in object[chunk7NPAYZLW_cjs.ObjectDefRef].interfaceMap;
3582
+ return this.apiName in object[chunk3LPMQ5DJ_cjs.ObjectDefRef].interfaceMap;
3583
3583
  };
3584
3584
  const added = Array.from(changes.addedObjects).filter(matchesApiName).map(([, object]) => object.$as(this.apiName));
3585
3585
  const modified = Array.from(changes.modifiedObjects).filter(matchesApiName).map(([, object]) => object.$as(this.apiName));
@@ -3598,7 +3598,7 @@ var InterfaceListQuery = class extends ListQuery {
3598
3598
  }
3599
3599
  };
3600
3600
  function createSourceSetForPivot(store, pivotInfo, rids) {
3601
- const clientCtx = store.client[chunkZZ6DP3W4_cjs.additionalContext];
3601
+ const clientCtx = store.client[chunk6MWGZMBV_cjs.additionalContext];
3602
3602
  if (rids != null) {
3603
3603
  return clientCtx.objectSetFactory({
3604
3604
  type: "object",
@@ -3653,7 +3653,7 @@ var ObjectListQuery = class extends ListQuery {
3653
3653
  const intersectWith = this.cacheKey.otherKeys[INTERSECT_IDX2];
3654
3654
  const pivotInfo = this.cacheKey.otherKeys[PIVOT_IDX];
3655
3655
  const rids = this.cacheKey.otherKeys[RIDS_IDX];
3656
- const clientCtx = store.client[chunkZZ6DP3W4_cjs.additionalContext];
3656
+ const clientCtx = store.client[chunk6MWGZMBV_cjs.additionalContext];
3657
3657
  const typeDefinition = {
3658
3658
  type: "object",
3659
3659
  apiName: this.apiName
@@ -3799,8 +3799,8 @@ function stripRdpFields(value, rdpFields) {
3799
3799
  if (rdpFields.size === 0) {
3800
3800
  return value;
3801
3801
  }
3802
- const underlying = value[chunk7NPAYZLW_cjs.UnderlyingOsdkObject];
3803
- const objectDef = value[chunk7NPAYZLW_cjs.ObjectDefRef];
3802
+ const underlying = value[chunk3LPMQ5DJ_cjs.UnderlyingOsdkObject];
3803
+ const objectDef = value[chunk3LPMQ5DJ_cjs.ObjectDefRef];
3804
3804
  const newProps = {
3805
3805
  $apiName: underlying.$apiName,
3806
3806
  $objectType: underlying.$objectType,
@@ -3813,7 +3813,7 @@ function stripRdpFields(value, rdpFields) {
3813
3813
  newProps[key] = underlying[key];
3814
3814
  }
3815
3815
  }
3816
- return chunk7NPAYZLW_cjs.createOsdkObject(value[chunk7NPAYZLW_cjs.ClientRef], objectDef, newProps);
3816
+ return chunk3LPMQ5DJ_cjs.createOsdkObject(value[chunk3LPMQ5DJ_cjs.ClientRef], objectDef, newProps);
3817
3817
  }
3818
3818
  function isSuperset(superset, subset) {
3819
3819
  for (const field of subset) {
@@ -3824,8 +3824,8 @@ function isSuperset(superset, subset) {
3824
3824
  return true;
3825
3825
  }
3826
3826
  function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
3827
- const underlying = value[chunk7NPAYZLW_cjs.UnderlyingOsdkObject];
3828
- const objectDef = value[chunk7NPAYZLW_cjs.ObjectDefRef];
3827
+ const underlying = value[chunk3LPMQ5DJ_cjs.UnderlyingOsdkObject];
3828
+ const objectDef = value[chunk3LPMQ5DJ_cjs.ObjectDefRef];
3829
3829
  const newProps = {
3830
3830
  $apiName: underlying.$apiName,
3831
3831
  $objectType: underlying.$objectType,
@@ -3841,12 +3841,12 @@ function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
3841
3841
  }
3842
3842
  }
3843
3843
  }
3844
- return chunk7NPAYZLW_cjs.createOsdkObject(value[chunk7NPAYZLW_cjs.ClientRef], objectDef, newProps);
3844
+ return chunk3LPMQ5DJ_cjs.createOsdkObject(value[chunk3LPMQ5DJ_cjs.ClientRef], objectDef, newProps);
3845
3845
  }
3846
3846
  function mergeSelectFields(sourceValue, selectFields, existingValue) {
3847
- const sourceUnderlying = sourceValue[chunk7NPAYZLW_cjs.UnderlyingOsdkObject];
3848
- const existingUnderlying = existingValue[chunk7NPAYZLW_cjs.UnderlyingOsdkObject];
3849
- const objectDef = sourceValue[chunk7NPAYZLW_cjs.ObjectDefRef];
3847
+ const sourceUnderlying = sourceValue[chunk3LPMQ5DJ_cjs.UnderlyingOsdkObject];
3848
+ const existingUnderlying = existingValue[chunk3LPMQ5DJ_cjs.UnderlyingOsdkObject];
3849
+ const objectDef = sourceValue[chunk3LPMQ5DJ_cjs.ObjectDefRef];
3850
3850
  const newProps = {
3851
3851
  $apiName: sourceUnderlying.$apiName,
3852
3852
  $objectType: sourceUnderlying.$objectType,
@@ -3864,7 +3864,7 @@ function mergeSelectFields(sourceValue, selectFields, existingValue) {
3864
3864
  newProps[key] = sourceUnderlying[key];
3865
3865
  }
3866
3866
  }
3867
- return chunk7NPAYZLW_cjs.createOsdkObject(sourceValue[chunk7NPAYZLW_cjs.ClientRef], objectDef, newProps);
3867
+ return chunk3LPMQ5DJ_cjs.createOsdkObject(sourceValue[chunk3LPMQ5DJ_cjs.ClientRef], objectDef, newProps);
3868
3868
  }
3869
3869
  function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, targetCurrentValue) {
3870
3870
  if (targetRdpFields.size === 0) {
@@ -3876,8 +3876,8 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
3876
3876
  }
3877
3877
  return filterToRdpFields(sourceValue, targetRdpFields, sourceRdpFields);
3878
3878
  }
3879
- const sourceUnderlying = sourceValue[chunk7NPAYZLW_cjs.UnderlyingOsdkObject];
3880
- const objectDef = sourceValue[chunk7NPAYZLW_cjs.ObjectDefRef];
3879
+ const sourceUnderlying = sourceValue[chunk3LPMQ5DJ_cjs.UnderlyingOsdkObject];
3880
+ const objectDef = sourceValue[chunk3LPMQ5DJ_cjs.ObjectDefRef];
3881
3881
  const newProps = {
3882
3882
  $apiName: sourceUnderlying.$apiName,
3883
3883
  $objectType: sourceUnderlying.$objectType,
@@ -3891,7 +3891,7 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
3891
3891
  }
3892
3892
  }
3893
3893
  if (targetCurrentValue) {
3894
- const targetUnderlying = targetCurrentValue[chunk7NPAYZLW_cjs.UnderlyingOsdkObject];
3894
+ const targetUnderlying = targetCurrentValue[chunk3LPMQ5DJ_cjs.UnderlyingOsdkObject];
3895
3895
  for (const field of targetRdpFields) {
3896
3896
  if (field in targetUnderlying) {
3897
3897
  if (!sourceRdpFields.has(field) || newProps[field] === void 0) {
@@ -3900,7 +3900,7 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
3900
3900
  }
3901
3901
  }
3902
3902
  }
3903
- return chunk7NPAYZLW_cjs.createOsdkObject(sourceValue[chunk7NPAYZLW_cjs.ClientRef], objectDef, newProps);
3903
+ return chunk3LPMQ5DJ_cjs.createOsdkObject(sourceValue[chunk3LPMQ5DJ_cjs.ClientRef], objectDef, newProps);
3904
3904
  }
3905
3905
 
3906
3906
  // src/observable/internal/object/ObjectCacheKeyRegistry.ts
@@ -4055,7 +4055,7 @@ var BulkObjectLoader = class {
4055
4055
  #maxEntries;
4056
4056
  constructor(client, maxWait = 25, maxEntries = 100) {
4057
4057
  this.#client = client;
4058
- this.#logger = client[chunkZZ6DP3W4_cjs.additionalContext].logger;
4058
+ this.#logger = client[chunk6MWGZMBV_cjs.additionalContext].logger;
4059
4059
  this.#maxWait = maxWait;
4060
4060
  this.#maxEntries = maxEntries;
4061
4061
  }
@@ -4205,7 +4205,7 @@ var ObjectQuery = class extends Query {
4205
4205
  #loadPropertySecurityMetadata;
4206
4206
  #implementingTypes;
4207
4207
  constructor(store, subject, type, pk, cacheKey, opts, defType = "object", select, loadPropertySecurityMetadata) {
4208
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkZZ6DP3W4_cjs.additionalContext].logger?.child({}, {
4208
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunk6MWGZMBV_cjs.additionalContext].logger?.child({}, {
4209
4209
  msgPrefix: `ObjectQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
4210
4210
  }) : void 0);
4211
4211
  this.#apiName = type;
@@ -4307,7 +4307,7 @@ var ObjectsHelper = class extends AbstractHelper {
4307
4307
  select,
4308
4308
  $loadPropertySecurityMetadata
4309
4309
  } = options;
4310
- const defType = chunk7NPAYZLW_cjs.getDefType(options.apiName);
4310
+ const defType = chunk3LPMQ5DJ_cjs.getDefType(options.apiName);
4311
4311
  const objectCacheKey = this.cacheKeys.get("object", apiName, pk, rdpConfig ?? void 0);
4312
4312
  return this.store.queries.get(objectCacheKey, () => new ObjectQuery(this.store, this.store.subjects.get(objectCacheKey), apiName, pk, objectCacheKey, {
4313
4313
  dedupeInterval: 0
@@ -4345,7 +4345,7 @@ var ObjectsHelper = class extends AbstractHelper {
4345
4345
  if (valueToWrite !== tombstone && existing?.value && this.isObjectHolder(existing.value)) {
4346
4346
  const expectedRdpFields = this.store.objectCacheKeyRegistry.getRdpFieldSet(sourceCacheKey);
4347
4347
  if (expectedRdpFields.size > 0) {
4348
- const underlying = valueToWrite[chunk7NPAYZLW_cjs.UnderlyingOsdkObject];
4348
+ const underlying = valueToWrite[chunk3LPMQ5DJ_cjs.UnderlyingOsdkObject];
4349
4349
  const actualRdpFields = /* @__PURE__ */ new Set();
4350
4350
  for (const field of expectedRdpFields) {
4351
4351
  if (underlying && field in underlying) {
@@ -4415,7 +4415,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
4415
4415
  #requiresServerEvaluation;
4416
4416
  #resultTypeApiName;
4417
4417
  constructor(store, subject, baseObjectSetWire, operations, cacheKey, opts) {
4418
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkZZ6DP3W4_cjs.additionalContext].logger?.child({}, {
4418
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunk6MWGZMBV_cjs.additionalContext].logger?.child({}, {
4419
4419
  msgPrefix: `ObjectSetQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
4420
4420
  }) : void 0);
4421
4421
  this.#baseObjectSetWire = baseObjectSetWire;
@@ -4483,7 +4483,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
4483
4483
  return;
4484
4484
  }
4485
4485
  for (const os of sets) {
4486
- const typeName = _ObjectSetQuery.#extractTypeFromWireObjectSet(chunkZZ6DP3W4_cjs.getWireObjectSet(os));
4486
+ const typeName = _ObjectSetQuery.#extractTypeFromWireObjectSet(chunk6MWGZMBV_cjs.getWireObjectSet(os));
4487
4487
  if (typeName) {
4488
4488
  types.add(typeName);
4489
4489
  }
@@ -4510,10 +4510,10 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
4510
4510
  */
4511
4511
  async fetchPageData(signal) {
4512
4512
  if (this.#operations.orderBy && Object.keys(this.#operations.orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
4513
- const wireObjectSet = chunkZZ6DP3W4_cjs.getWireObjectSet(this.#composedObjectSet);
4513
+ const wireObjectSet = chunk6MWGZMBV_cjs.getWireObjectSet(this.#composedObjectSet);
4514
4514
  const {
4515
4515
  resultType
4516
- } = await getObjectTypesThatInvalidate(this.store.client[chunkZZ6DP3W4_cjs.additionalContext], wireObjectSet);
4516
+ } = await getObjectTypesThatInvalidate(this.store.client[chunk6MWGZMBV_cjs.additionalContext], wireObjectSet);
4517
4517
  this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#operations.orderBy);
4518
4518
  }
4519
4519
  const resp = await this.#composedObjectSet.fetchPage({
@@ -4734,7 +4734,7 @@ var ObjectSetHelper = class extends AbstractHelper {
4734
4734
  const {
4735
4735
  baseObjectSet
4736
4736
  } = options;
4737
- const baseObjectSetWire = JSON.stringify(chunkZZ6DP3W4_cjs.getWireObjectSet(baseObjectSet));
4737
+ const baseObjectSetWire = JSON.stringify(chunk6MWGZMBV_cjs.getWireObjectSet(baseObjectSet));
4738
4738
  const operations = this.buildCanonicalizedOperations(options);
4739
4739
  const objectSetCacheKey = this.cacheKeys.get("objectSet", baseObjectSetWire, operations);
4740
4740
  return this.store.queries.get(objectSetCacheKey, () => {
@@ -4750,13 +4750,13 @@ var ObjectSetHelper = class extends AbstractHelper {
4750
4750
  operations.withProperties = this.rdpCanonicalizer.canonicalize(options.withProperties);
4751
4751
  }
4752
4752
  if (options.union && options.union.length > 0) {
4753
- operations.union = this.objectSetArrayCanonicalizer.canonicalizeUnion(options.union.map((os) => JSON.stringify(chunkZZ6DP3W4_cjs.getWireObjectSet(os))));
4753
+ operations.union = this.objectSetArrayCanonicalizer.canonicalizeUnion(options.union.map((os) => JSON.stringify(chunk6MWGZMBV_cjs.getWireObjectSet(os))));
4754
4754
  }
4755
4755
  if (options.intersect && options.intersect.length > 0) {
4756
- operations.intersect = this.objectSetArrayCanonicalizer.canonicalizeIntersect(options.intersect.map((os) => JSON.stringify(chunkZZ6DP3W4_cjs.getWireObjectSet(os))));
4756
+ operations.intersect = this.objectSetArrayCanonicalizer.canonicalizeIntersect(options.intersect.map((os) => JSON.stringify(chunk6MWGZMBV_cjs.getWireObjectSet(os))));
4757
4757
  }
4758
4758
  if (options.subtract && options.subtract.length > 0) {
4759
- operations.subtract = this.objectSetArrayCanonicalizer.canonicalizeSubtract(options.subtract.map((os) => JSON.stringify(chunkZZ6DP3W4_cjs.getWireObjectSet(os))));
4759
+ operations.subtract = this.objectSetArrayCanonicalizer.canonicalizeSubtract(options.subtract.map((os) => JSON.stringify(chunk6MWGZMBV_cjs.getWireObjectSet(os))));
4760
4760
  }
4761
4761
  if (options.pivotTo) {
4762
4762
  operations.pivotTo = options.pivotTo;
@@ -4849,7 +4849,7 @@ var RdpCanonicalizer = class extends CachingCanonicalizer {
4849
4849
  apiName: "__rdp_canonicalizer_holder__"
4850
4850
  };
4851
4851
  for (const [key, rdpFunction] of Object.entries(rdp)) {
4852
- const builder = chunkZZ6DP3W4_cjs.createWithPropertiesObjectSet(
4852
+ const builder = chunk6MWGZMBV_cjs.createWithPropertiesObjectSet(
4853
4853
  objectTypeHolder,
4854
4854
  {
4855
4855
  type: "methodInput"
@@ -4948,7 +4948,7 @@ var Store = class {
4948
4948
  subjects = this.layers.subjects;
4949
4949
  // these are hopefully temporary
4950
4950
  constructor(client) {
4951
- this.logger = client[chunkZZ6DP3W4_cjs.additionalContext].logger?.child({}, {
4951
+ this.logger = client[chunk6MWGZMBV_cjs.additionalContext].logger?.child({}, {
4952
4952
  msgPrefix: "Store"
4953
4953
  });
4954
4954
  this.client = client;
@@ -5249,10 +5249,10 @@ var Store = class {
5249
5249
 
5250
5250
  // src/observable/ObservableClient.ts
5251
5251
  function createObservableClient(client) {
5252
- const tweakedClient = chunk7NPAYZLW_cjs.createClientFromContext({
5253
- ...client[chunkZZ6DP3W4_cjs.additionalContext],
5254
- fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkZZ6DP3W4_cjs.additionalContext].fetch, (headers) => {
5255
- headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunk7NPAYZLW_cjs.OBSERVABLE_USER_AGENT].filter((x) => x && x?.length > 0).join(" "));
5252
+ const tweakedClient = chunk3LPMQ5DJ_cjs.createClientFromContext({
5253
+ ...client[chunk6MWGZMBV_cjs.additionalContext],
5254
+ fetch: shared_net_fetch.createFetchHeaderMutator(client[chunk6MWGZMBV_cjs.additionalContext].fetch, (headers) => {
5255
+ headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunk3LPMQ5DJ_cjs.OBSERVABLE_USER_AGENT].filter((x) => x && x?.length > 0).join(" "));
5256
5256
  return headers;
5257
5257
  })
5258
5258
  });
@@ -5295,19 +5295,19 @@ function getOsdkConfig(ontologyRid) {
5295
5295
 
5296
5296
  Object.defineProperty(exports, "createClientWithTransaction", {
5297
5297
  enumerable: true,
5298
- get: function () { return chunk7NPAYZLW_cjs.createClientWithTransaction; }
5298
+ get: function () { return chunk3LPMQ5DJ_cjs.createClientWithTransaction; }
5299
5299
  });
5300
5300
  Object.defineProperty(exports, "augment", {
5301
5301
  enumerable: true,
5302
- get: function () { return chunkZZ6DP3W4_cjs.augment; }
5302
+ get: function () { return chunk6MWGZMBV_cjs.augment; }
5303
5303
  });
5304
5304
  Object.defineProperty(exports, "getWireObjectSet", {
5305
5305
  enumerable: true,
5306
- get: function () { return chunkZZ6DP3W4_cjs.getWireObjectSet; }
5306
+ get: function () { return chunk6MWGZMBV_cjs.getWireObjectSet; }
5307
5307
  });
5308
5308
  Object.defineProperty(exports, "isObjectSet", {
5309
5309
  enumerable: true,
5310
- get: function () { return chunkZZ6DP3W4_cjs.isObjectSet; }
5310
+ get: function () { return chunk6MWGZMBV_cjs.isObjectSet; }
5311
5311
  });
5312
5312
  exports.computeObjectSetCacheKey = computeObjectSetCacheKey;
5313
5313
  exports.createObservableClient = createObservableClient;