@osdk/client 2.64.0 → 2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec

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 (35) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/build/browser/Client.js +1 -1
  3. package/build/browser/Client.js.map +1 -1
  4. package/build/browser/observable/internal/AbstractHelper.js +5 -6
  5. package/build/browser/observable/internal/AbstractHelper.js.map +1 -1
  6. package/build/browser/util/UserAgent.js +2 -2
  7. package/build/browser/util/UserAgent.js.map +1 -1
  8. package/build/cjs/{applyStreamingQuery-BIHKIKKU.cjs → applyStreamingQuery-6GMWORWF.cjs} +8 -8
  9. package/build/cjs/{applyStreamingQuery-BIHKIKKU.cjs.map → applyStreamingQuery-6GMWORWF.cjs.map} +1 -1
  10. package/build/cjs/{chunk-MJVYTA33.cjs → chunk-2PUKRISI.cjs} +13 -13
  11. package/build/cjs/{chunk-MJVYTA33.cjs.map → chunk-2PUKRISI.cjs.map} +1 -1
  12. package/build/cjs/{chunk-RZCGAM33.cjs → chunk-J36RLLGN.cjs} +83 -83
  13. package/build/cjs/chunk-J36RLLGN.cjs.map +1 -0
  14. package/build/cjs/{chunk-7C3MSZAN.cjs → chunk-ODWJ44XQ.cjs} +2 -2
  15. package/build/cjs/{chunk-7C3MSZAN.cjs.map → chunk-ODWJ44XQ.cjs.map} +1 -1
  16. package/build/cjs/{chunk-YXVFIOFP.cjs → chunk-TYFBHYCJ.cjs} +8 -8
  17. package/build/cjs/{chunk-YXVFIOFP.cjs.map → chunk-TYFBHYCJ.cjs.map} +1 -1
  18. package/build/cjs/{chunk-SJEGTIHS.cjs → chunk-YM3DAD6S.cjs} +46 -46
  19. package/build/cjs/chunk-YM3DAD6S.cjs.map +1 -0
  20. package/build/cjs/index.cjs +11 -11
  21. package/build/cjs/public/experimental.cjs +9 -9
  22. package/build/cjs/public/internal.cjs +7 -7
  23. package/build/cjs/public/observable.cjs +5 -5
  24. package/build/cjs/public/unstable-do-not-use.cjs +16 -16
  25. package/build/esm/Client.js +1 -1
  26. package/build/esm/Client.js.map +1 -1
  27. package/build/esm/observable/internal/AbstractHelper.js +5 -6
  28. package/build/esm/observable/internal/AbstractHelper.js.map +1 -1
  29. package/build/esm/util/UserAgent.js +2 -2
  30. package/build/esm/util/UserAgent.js.map +1 -1
  31. package/build/types/Client.d.ts +1 -1
  32. package/build/types/observable/internal/AbstractHelper.d.ts.map +1 -1
  33. package/package.json +7 -7
  34. package/build/cjs/chunk-RZCGAM33.cjs.map +0 -1
  35. package/build/cjs/chunk-SJEGTIHS.cjs.map +0 -1
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkSJEGTIHS_cjs = require('./chunk-SJEGTIHS.cjs');
4
- var chunk7C3MSZAN_cjs = require('./chunk-7C3MSZAN.cjs');
3
+ var chunkYM3DAD6S_cjs = require('./chunk-YM3DAD6S.cjs');
4
+ var chunkODWJ44XQ_cjs = require('./chunk-ODWJ44XQ.cjs');
5
5
 
6
6
  // src/scenarios/createScenario.ts
7
7
  async function createScenario(client) {
8
- const ctx = client[chunk7C3MSZAN_cjs.additionalContext];
8
+ const ctx = client[chunkODWJ44XQ_cjs.additionalContext];
9
9
  if (ctx.scenarioRid != null) {
10
10
  throw new Error("createScenario: the supplied client already has an active scenario. Scenarios cannot be nested.");
11
11
  }
12
- const response = await chunkSJEGTIHS_cjs.OntologyScenario_exports.createScenario(ctx, await ctx.ontologyRid, ctx.branch != null ? {
12
+ const response = await chunkYM3DAD6S_cjs.OntologyScenario_exports.createScenario(ctx, await ctx.ontologyRid, ctx.branch != null ? {
13
13
  base: {
14
14
  type: "branch",
15
15
  branch: ctx.branch
@@ -17,15 +17,15 @@ async function createScenario(client) {
17
17
  } : {}, {
18
18
  preview: true
19
19
  });
20
- return chunkSJEGTIHS_cjs.buildScenarioClient(client, response.scenarioRid);
20
+ return chunkYM3DAD6S_cjs.buildScenarioClient(client, response.scenarioRid);
21
21
  }
22
22
 
23
23
  // src/scenarios/withScenario.ts
24
24
  function withScenario(client, scenarioRid) {
25
- return chunkSJEGTIHS_cjs.buildScenarioClient(client, scenarioRid);
25
+ return chunkYM3DAD6S_cjs.buildScenarioClient(client, scenarioRid);
26
26
  }
27
27
 
28
28
  exports.createScenario = createScenario;
29
29
  exports.withScenario = withScenario;
30
- //# sourceMappingURL=chunk-YXVFIOFP.cjs.map
31
- //# sourceMappingURL=chunk-YXVFIOFP.cjs.map
30
+ //# sourceMappingURL=chunk-TYFBHYCJ.cjs.map
31
+ //# sourceMappingURL=chunk-TYFBHYCJ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/scenarios/createScenario.ts","../../src/scenarios/withScenario.ts"],"names":["additionalContext","OntologyScenario_exports","buildScenarioClient"],"mappings":";;;;;;AAuCA,eAAsB,eAAe,MAAA,EAAQ;AAC3C,EAAA,MAAM,GAAA,GAAM,OAAOA,mCAAiB,CAAA;AACpC,EAAA,IAAI,GAAA,CAAI,eAAe,IAAA,EAAM;AAC3B,IAAA,MAAM,IAAI,MAAM,iGAAiG,CAAA;AAAA,EACnH;AACA,EAAA,MAAM,QAAA,GAAW,MAAMC,0CAAA,CAAkB,cAAA,CAAe,GAAA,EAAK,MAAM,GAAA,CAAI,WAAA,EAAa,GAAA,CAAI,MAAA,IAAU,IAAA,GAAO;AAAA,IACvG,IAAA,EAAM;AAAA,MACJ,IAAA,EAAM,QAAA;AAAA,MACN,QAAQ,GAAA,CAAI;AAAA;AACd,GACF,GAAI,EAAC,EAAG;AAAA,IACN,OAAA,EAAS;AAAA,GACV,CAAA;AACD,EAAA,OAAOC,qCAAA,CAAoB,MAAA,EAAQ,QAAA,CAAS,WAAW,CAAA;AACzD;;;ACdO,SAAS,YAAA,CAAa,QAAQ,WAAA,EAAa;AAChD,EAAA,OAAOA,qCAAA,CAAoB,QAAQ,WAAW,CAAA;AAChD","file":"chunk-YXVFIOFP.cjs","sourcesContent":["/*\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 { OntologyScenarios } from \"@osdk/foundry.ontologies\";\nimport { additionalContext } from \"../Client.js\";\nimport { buildScenarioClient } from \"./ScenarioClient.js\";\n\n/**\n * Mint a fresh ontology scenario and return a client scoped to it.\n *\n * @param client - The base {@link Client} to derive context (`baseUrl`, `ontologyRid`, `tokenProvider`, `branch`, …)\n * from. Throws at runtime if the client is already scoped to a scenario. If the client has an active transaction,\n * the transaction is ignored (a warning is logged) and the client is scoped to the new scenario. When the base\n * client has a branch set, the newly minted scenario uses that branch as its base.\n * @returns a {@link EXPERIMENTAL_ScenarioClient} bound to the freshly minted scenario RID.\n *\n * @beta This is an experimental, unstable feature subject to change.\n *\n * @example\n * ```ts\n * import { createScenario } from \"@osdk/client/unstable-do-not-use\";\n *\n * const scenario = await createScenario(client);\n * const scenarioRid = scenario.getScenarioReference();\n * ```\n */\nexport async function createScenario(client) {\n const ctx = client[additionalContext];\n if (ctx.scenarioRid != null) {\n throw new Error(\"createScenario: the supplied client already has an active scenario. Scenarios cannot be nested.\");\n }\n const response = await OntologyScenarios.createScenario(ctx, await ctx.ontologyRid, ctx.branch != null ? {\n base: {\n type: \"branch\",\n branch: ctx.branch\n }\n } : {}, {\n preview: true\n });\n return buildScenarioClient(client, response.scenarioRid);\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 { buildScenarioClient } from \"./ScenarioClient.js\";\n\n/**\n * Attach to an existing ontology scenario. Synchronous — no network call is made. The returned client scopes all\n * subsequent operations (`fetchPage`, `applyAction`, `executeFunction`, etc.) to the given `scenarioRid`.\n *\n * @param client - The base {@link Client} to derive context (`baseUrl`, `ontologyRid`, `tokenProvider`, `branch`, …)\n * from. Throws at runtime if the client is already scoped to a scenario. If the client has an active transaction,\n * the transaction is ignored (a warning is logged) and the client is scoped to the scenario.\n * @param scenarioRid - The RID of the scenario to attach to.\n * @returns a {@link EXPERIMENTAL_ScenarioClient} bound to `scenarioRid`.\n *\n * @beta This is an experimental, unstable feature subject to change.\n *\n * @example\n * ```ts\n * import { withScenario } from \"@osdk/client/unstable-do-not-use\";\n *\n * const scenario = withScenario(client, \"ri.actions..scenario.abc\");\n * const page = await scenario(Doctor).fetchPage();\n * await scenario(Schedule).applyAction({ doctor: page.data[0], shift: \"AM\" });\n * ```\n */\nexport function withScenario(client, scenarioRid) {\n return buildScenarioClient(client, scenarioRid);\n}"]}
1
+ {"version":3,"sources":["../../src/scenarios/createScenario.ts","../../src/scenarios/withScenario.ts"],"names":["additionalContext","OntologyScenario_exports","buildScenarioClient"],"mappings":";;;;;;AAuCA,eAAsB,eAAe,MAAA,EAAQ;AAC3C,EAAA,MAAM,GAAA,GAAM,OAAOA,mCAAiB,CAAA;AACpC,EAAA,IAAI,GAAA,CAAI,eAAe,IAAA,EAAM;AAC3B,IAAA,MAAM,IAAI,MAAM,iGAAiG,CAAA;AAAA,EACnH;AACA,EAAA,MAAM,QAAA,GAAW,MAAMC,0CAAA,CAAkB,cAAA,CAAe,GAAA,EAAK,MAAM,GAAA,CAAI,WAAA,EAAa,GAAA,CAAI,MAAA,IAAU,IAAA,GAAO;AAAA,IACvG,IAAA,EAAM;AAAA,MACJ,IAAA,EAAM,QAAA;AAAA,MACN,QAAQ,GAAA,CAAI;AAAA;AACd,GACF,GAAI,EAAC,EAAG;AAAA,IACN,OAAA,EAAS;AAAA,GACV,CAAA;AACD,EAAA,OAAOC,qCAAA,CAAoB,MAAA,EAAQ,QAAA,CAAS,WAAW,CAAA;AACzD;;;ACdO,SAAS,YAAA,CAAa,QAAQ,WAAA,EAAa;AAChD,EAAA,OAAOA,qCAAA,CAAoB,QAAQ,WAAW,CAAA;AAChD","file":"chunk-TYFBHYCJ.cjs","sourcesContent":["/*\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 { OntologyScenarios } from \"@osdk/foundry.ontologies\";\nimport { additionalContext } from \"../Client.js\";\nimport { buildScenarioClient } from \"./ScenarioClient.js\";\n\n/**\n * Mint a fresh ontology scenario and return a client scoped to it.\n *\n * @param client - The base {@link Client} to derive context (`baseUrl`, `ontologyRid`, `tokenProvider`, `branch`, …)\n * from. Throws at runtime if the client is already scoped to a scenario. If the client has an active transaction,\n * the transaction is ignored (a warning is logged) and the client is scoped to the new scenario. When the base\n * client has a branch set, the newly minted scenario uses that branch as its base.\n * @returns a {@link EXPERIMENTAL_ScenarioClient} bound to the freshly minted scenario RID.\n *\n * @beta This is an experimental, unstable feature subject to change.\n *\n * @example\n * ```ts\n * import { createScenario } from \"@osdk/client/unstable-do-not-use\";\n *\n * const scenario = await createScenario(client);\n * const scenarioRid = scenario.getScenarioReference();\n * ```\n */\nexport async function createScenario(client) {\n const ctx = client[additionalContext];\n if (ctx.scenarioRid != null) {\n throw new Error(\"createScenario: the supplied client already has an active scenario. Scenarios cannot be nested.\");\n }\n const response = await OntologyScenarios.createScenario(ctx, await ctx.ontologyRid, ctx.branch != null ? {\n base: {\n type: \"branch\",\n branch: ctx.branch\n }\n } : {}, {\n preview: true\n });\n return buildScenarioClient(client, response.scenarioRid);\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 { buildScenarioClient } from \"./ScenarioClient.js\";\n\n/**\n * Attach to an existing ontology scenario. Synchronous — no network call is made. The returned client scopes all\n * subsequent operations (`fetchPage`, `applyAction`, `executeFunction`, etc.) to the given `scenarioRid`.\n *\n * @param client - The base {@link Client} to derive context (`baseUrl`, `ontologyRid`, `tokenProvider`, `branch`, …)\n * from. Throws at runtime if the client is already scoped to a scenario. If the client has an active transaction,\n * the transaction is ignored (a warning is logged) and the client is scoped to the scenario.\n * @param scenarioRid - The RID of the scenario to attach to.\n * @returns a {@link EXPERIMENTAL_ScenarioClient} bound to `scenarioRid`.\n *\n * @beta This is an experimental, unstable feature subject to change.\n *\n * @example\n * ```ts\n * import { withScenario } from \"@osdk/client/unstable-do-not-use\";\n *\n * const scenario = withScenario(client, \"ri.actions..scenario.abc\");\n * const page = await scenario(Doctor).fetchPage();\n * await scenario(Schedule).applyAction({ doctor: page.data[0], shift: \"AM\" });\n * ```\n */\nexport function withScenario(client, scenarioRid) {\n return buildScenarioClient(client, scenarioRid);\n}"]}
@@ -2,8 +2,8 @@
2
2
 
3
3
  var chunkIBY4PG26_cjs = require('./chunk-IBY4PG26.cjs');
4
4
  var chunkG2EJPP5V_cjs = require('./chunk-G2EJPP5V.cjs');
5
- var chunkMJVYTA33_cjs = require('./chunk-MJVYTA33.cjs');
6
- var chunk7C3MSZAN_cjs = require('./chunk-7C3MSZAN.cjs');
5
+ var chunk2PUKRISI_cjs = require('./chunk-2PUKRISI.cjs');
6
+ var chunkODWJ44XQ_cjs = require('./chunk-ODWJ44XQ.cjs');
7
7
  var chunkQ7QYW5NE_cjs = require('./chunk-Q7QYW5NE.cjs');
8
8
  var chunkIWUIN6JJ_cjs = require('./chunk-IWUIN6JJ.cjs');
9
9
  var chunkQ7SFCCGT_cjs = require('./chunk-Q7SFCCGT.cjs');
@@ -154,7 +154,7 @@ function isScenarioClient(value) {
154
154
  return value != null && (typeof value === "object" || typeof value === "function") && typeof value.getScenarioReference === "function";
155
155
  }
156
156
  function buildScenarioClient(parent, scenarioRid) {
157
- const ctx = parent[chunk7C3MSZAN_cjs.additionalContext];
157
+ const ctx = parent[chunkODWJ44XQ_cjs.additionalContext];
158
158
  if (ctx.transactionId != null) {
159
159
  console.warn("withScenario / createScenario: the supplied client has an active transaction. Ignoring the transaction and scoping to the scenario instead.");
160
160
  }
@@ -168,7 +168,7 @@ function buildScenarioClient(parent, scenarioRid) {
168
168
  // resolved to no branch must stay on the default branch here too.
169
169
  UNSTABLE_DO_NOT_USE_BRANCH: ctx.branch ?? null
170
170
  }, ctx.fetch);
171
- const innerCtx = inner[chunk7C3MSZAN_cjs.additionalContext];
171
+ const innerCtx = inner[chunkODWJ44XQ_cjs.additionalContext];
172
172
  async function getEditedEntityTypes() {
173
173
  const ontologyRid = await innerCtx.ontologyRid;
174
174
  const response = await OntologyScenario_exports.listScenarioEditedEntityTypes(innerCtx, ontologyRid, scenarioRid, {
@@ -345,7 +345,7 @@ async function toDataValue(value, client, actionMetadata) {
345
345
  }
346
346
  if (Array.isArray(value) || value instanceof Set) {
347
347
  const values = Array.from(value);
348
- if (values.some((dataValue) => chunkMJVYTA33_cjs.isAttachmentUpload(dataValue) || chunkMJVYTA33_cjs.isAttachmentFile(dataValue))) {
348
+ if (values.some((dataValue) => chunk2PUKRISI_cjs.isAttachmentUpload(dataValue) || chunk2PUKRISI_cjs.isAttachmentFile(dataValue))) {
349
349
  const converted = [];
350
350
  for (const value2 of values) {
351
351
  converted.push(await toDataValue(value2, client));
@@ -355,43 +355,43 @@ async function toDataValue(value, client, actionMetadata) {
355
355
  const promiseArray = Array.from(value, async (innerValue) => await toDataValue(innerValue, client));
356
356
  return Promise.all(promiseArray);
357
357
  }
358
- if (chunkMJVYTA33_cjs.isAttachmentUpload(value)) {
359
- const attachment = await chunk7C3MSZAN_cjs.upload(client, value.data, {
358
+ if (chunk2PUKRISI_cjs.isAttachmentUpload(value)) {
359
+ const attachment = await chunkODWJ44XQ_cjs.upload(client, value.data, {
360
360
  filename: value.name
361
361
  });
362
362
  return await toDataValue(attachment.rid, client);
363
363
  }
364
- if (chunkMJVYTA33_cjs.isAttachmentFile(value)) {
365
- const attachment = await chunk7C3MSZAN_cjs.upload(client, value, {
364
+ if (chunk2PUKRISI_cjs.isAttachmentFile(value)) {
365
+ const attachment = await chunkODWJ44XQ_cjs.upload(client, value, {
366
366
  filename: value.name
367
367
  });
368
368
  return await toDataValue(attachment.rid, client);
369
369
  }
370
- if (chunkMJVYTA33_cjs.isMediaUpload(value)) {
370
+ if (chunk2PUKRISI_cjs.isMediaUpload(value)) {
371
371
  const mediaRef = await chunkQ7QYW5NE_cjs.MediaSet_exports.uploadMedia(client, value.data, {
372
372
  filename: value.fileName
373
373
  });
374
374
  return await toDataValue(mediaRef, client);
375
375
  }
376
- if (chunkMJVYTA33_cjs.isMedia(value)) {
376
+ if (chunk2PUKRISI_cjs.isMedia(value)) {
377
377
  return value.getMediaReference();
378
378
  }
379
- if (chunkMJVYTA33_cjs.isMediaReference(value)) {
379
+ if (chunk2PUKRISI_cjs.isMediaReference(value)) {
380
380
  return value;
381
381
  }
382
382
  if (isOntologyObjectV2(value)) {
383
383
  return await toDataValue(value.__primaryKey, client);
384
384
  }
385
- if (chunkMJVYTA33_cjs.isObjectSpecifiersObject(value)) {
385
+ if (chunk2PUKRISI_cjs.isObjectSpecifiersObject(value)) {
386
386
  return await toDataValue(value.$primaryKey, client);
387
387
  }
388
- if (chunk7C3MSZAN_cjs.isWireObjectSet(value)) {
388
+ if (chunkODWJ44XQ_cjs.isWireObjectSet(value)) {
389
389
  return value;
390
390
  }
391
- if (chunk7C3MSZAN_cjs.isObjectSet(value)) {
392
- return chunk7C3MSZAN_cjs.getWireObjectSet(value);
391
+ if (chunkODWJ44XQ_cjs.isObjectSet(value)) {
392
+ return chunkODWJ44XQ_cjs.getWireObjectSet(value);
393
393
  }
394
- if (chunkMJVYTA33_cjs.isInterfaceActionParam(value)) {
394
+ if (chunk2PUKRISI_cjs.isInterfaceActionParam(value)) {
395
395
  return {
396
396
  objectTypeApiName: value.$objectType,
397
397
  primaryKeyValue: value.$primaryKey
@@ -412,7 +412,7 @@ async function toDataValue(value, client, actionMetadata) {
412
412
 
413
413
  // src/actions/applyAction.ts
414
414
  async function applyAction(client, action, parameters, options = {}) {
415
- const clientWithHeaders = chunk7C3MSZAN_cjs.addUserAgentAndRequestContextHeaders(chunk7C3MSZAN_cjs.augmentRequestContext(client, (_) => ({
415
+ const clientWithHeaders = chunkODWJ44XQ_cjs.addUserAgentAndRequestContextHeaders(chunkODWJ44XQ_cjs.augmentRequestContext(client, (_) => ({
416
416
  finalMethodCall: "applyAction"
417
417
  })), action);
418
418
  if (Array.isArray(parameters)) {
@@ -738,7 +738,7 @@ var MediaReferencePropertyImpl = class {
738
738
  ReadToken: token
739
739
  } : void 0);
740
740
  return {
741
- itemMetadata: chunk7C3MSZAN_cjs.validateMediaItemMetadata(raw)
741
+ itemMetadata: chunkODWJ44XQ_cjs.validateMediaItemMetadata(raw)
742
742
  };
743
743
  }
744
744
  getMediaReference() {
@@ -1166,8 +1166,8 @@ function get$link(holder) {
1166
1166
  [objDef.primaryKeyApiName]: rawObj.$primaryKey
1167
1167
  }).pivotTo(linkName);
1168
1168
  const value = !linkDef.multiplicity ? {
1169
- fetchOne: (options) => chunk7C3MSZAN_cjs.fetchSingle(client, objDef, options ?? {}, chunk7C3MSZAN_cjs.getWireObjectSet(objectSet)),
1170
- fetchOneWithErrors: (options) => chunk7C3MSZAN_cjs.fetchSingleWithErrors(client, objDef, options ?? {}, chunk7C3MSZAN_cjs.getWireObjectSet(objectSet))
1169
+ fetchOne: (options) => chunkODWJ44XQ_cjs.fetchSingle(client, objDef, options ?? {}, chunkODWJ44XQ_cjs.getWireObjectSet(objectSet)),
1170
+ fetchOneWithErrors: (options) => chunkODWJ44XQ_cjs.fetchSingleWithErrors(client, objDef, options ?? {}, chunkODWJ44XQ_cjs.getWireObjectSet(objectSet))
1171
1171
  } : objectSet;
1172
1172
  return [linkName, value];
1173
1173
  })));
@@ -1190,8 +1190,8 @@ function get$linkForInterface(holder) {
1190
1190
  apiName: linkDef.targetTypeApiName
1191
1191
  };
1192
1192
  const value = !linkDef.multiplicity ? {
1193
- fetchOne: (options) => chunk7C3MSZAN_cjs.fetchSingle(client, linkTargetDef, options ?? {}, chunk7C3MSZAN_cjs.getWireObjectSet(objectSet)),
1194
- fetchOneWithErrors: (options) => chunk7C3MSZAN_cjs.fetchSingleWithErrors(client, linkTargetDef, options ?? {}, chunk7C3MSZAN_cjs.getWireObjectSet(objectSet))
1193
+ fetchOne: (options) => chunkODWJ44XQ_cjs.fetchSingle(client, linkTargetDef, options ?? {}, chunkODWJ44XQ_cjs.getWireObjectSet(objectSet)),
1194
+ fetchOneWithErrors: (options) => chunkODWJ44XQ_cjs.fetchSingleWithErrors(client, linkTargetDef, options ?? {}, chunkODWJ44XQ_cjs.getWireObjectSet(objectSet))
1195
1195
  } : objectSet;
1196
1196
  return [linkName, value];
1197
1197
  })));
@@ -1236,7 +1236,7 @@ function isStruct(value) {
1236
1236
  return typeof value === "object" && value != null && !Array.isArray(value);
1237
1237
  }
1238
1238
  function createOsdkInterface(underlying, interfaceDef) {
1239
- const [objApiNamespace] = chunk7C3MSZAN_cjs.extractNamespace(interfaceDef.apiName);
1239
+ const [objApiNamespace] = chunkODWJ44XQ_cjs.extractNamespace(interfaceDef.apiName);
1240
1240
  const objDef = underlying[ObjectDefRef];
1241
1241
  const underlyingProperties = underlying;
1242
1242
  return Object.freeze(Object.defineProperties({}, {
@@ -1300,7 +1300,7 @@ function createOsdkInterface(underlying, interfaceDef) {
1300
1300
  value: interfaceDef
1301
1301
  },
1302
1302
  ...Object.fromEntries(Object.keys(interfaceDef.properties).map((p) => {
1303
- const [apiNamespace, apiName] = chunk7C3MSZAN_cjs.extractNamespace(p);
1303
+ const [apiNamespace, apiName] = chunkODWJ44XQ_cjs.extractNamespace(p);
1304
1304
  const exposedName = apiNamespace === objApiNamespace ? apiName : p;
1305
1305
  const impl = objDef.interfaceImplementations?.[interfaceDef.apiName]?.[p];
1306
1306
  if (impl != null) {
@@ -1349,7 +1349,7 @@ function remapPropertySecuritiesForInterface(underlyingSecurities, objDef, inter
1349
1349
  }
1350
1350
  const interfacePropName = inverseMap[objPropName];
1351
1351
  if (interfacePropName == null) continue;
1352
- const [apiNamespace, apiName] = chunk7C3MSZAN_cjs.extractNamespace(interfacePropName);
1352
+ const [apiNamespace, apiName] = chunkODWJ44XQ_cjs.extractNamespace(interfacePropName);
1353
1353
  const key = apiNamespace === objApiNamespace ? apiName : interfacePropName;
1354
1354
  remapped[key] = underlyingSecurities[objPropName];
1355
1355
  }
@@ -1442,7 +1442,7 @@ var basePropDefs = {
1442
1442
  $objectSpecifier: {
1443
1443
  get() {
1444
1444
  const rawObj = this[UnderlyingOsdkObject];
1445
- return chunkMJVYTA33_cjs.createObjectSpecifierFromPrimaryKey(this[ObjectDefRef], rawObj.$primaryKey);
1445
+ return chunk2PUKRISI_cjs.createObjectSpecifierFromPrimaryKey(this[ObjectDefRef], rawObj.$primaryKey);
1446
1446
  },
1447
1447
  enumerable: true
1448
1448
  },
@@ -1514,9 +1514,9 @@ function modifyRdpProperties(client, derivedPropertyTypeByName, rawValue, propKe
1514
1514
  switch (derivedPropertyTypeByName[propKey].selectedOrCollectedPropertyType?.type) {
1515
1515
  case "attachment":
1516
1516
  if (Array.isArray(rawValue)) {
1517
- return rawValue.map((a) => chunk7C3MSZAN_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1517
+ return rawValue.map((a) => chunkODWJ44XQ_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1518
1518
  } else {
1519
- return chunk7C3MSZAN_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1519
+ return chunkODWJ44XQ_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1520
1520
  }
1521
1521
  default:
1522
1522
  process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Derived property aggregations for Timeseries and Media are not supported") : invariant4__default.default(false) ;
@@ -1532,9 +1532,9 @@ function createSpecialProperty(client, objectDef, rawObject, p) {
1532
1532
  }
1533
1533
  if (propDef.type === "attachment") {
1534
1534
  if (Array.isArray(rawValue)) {
1535
- return rawValue.map((a) => chunk7C3MSZAN_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1535
+ return rawValue.map((a) => chunkODWJ44XQ_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1536
1536
  }
1537
- return chunk7C3MSZAN_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1537
+ return chunkODWJ44XQ_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1538
1538
  }
1539
1539
  if (propDef.type === "cipherText") {
1540
1540
  return new CipherTextPropertyImpl({
@@ -1888,11 +1888,11 @@ var createStandardOntologyProviderFactory = (client) => {
1888
1888
  };
1889
1889
 
1890
1890
  // src/util/UserAgent.ts
1891
- var USER_AGENT = `osdk-client/${"2.64.0"}`;
1892
- var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.64.0"}`;
1891
+ var USER_AGENT = `osdk-client/${"2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec"}`;
1892
+ var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.64.1-main-b1bb84a09ae294ddcdc61a95df1cde0ffc625aec"}`;
1893
1893
 
1894
1894
  // src/createMinimalClient.ts
1895
- function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = chunk7C3MSZAN_cjs.createObjectSet, createOntologyProviderFactory = createStandardOntologyProviderFactory) {
1895
+ function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = chunkODWJ44XQ_cjs.createObjectSet, createOntologyProviderFactory = createStandardOntologyProviderFactory) {
1896
1896
  if (process.env.NODE_ENV !== "production") {
1897
1897
  try {
1898
1898
  new URL(baseUrl);
@@ -2575,7 +2575,7 @@ var ActionInvoker = class {
2575
2575
  };
2576
2576
  var QueryInvoker = class {
2577
2577
  constructor(clientCtx, queryDef) {
2578
- this.executeFunction = chunkMJVYTA33_cjs.applyQuery.bind(void 0, clientCtx, queryDef);
2578
+ this.executeFunction = chunk2PUKRISI_cjs.applyQuery.bind(void 0, clientCtx, queryDef);
2579
2579
  }
2580
2580
  };
2581
2581
  function createClientInternal(objectSetFactory, transactionRid, flushEdits, scenarioRid, subscribeConnectionFn, baseUrl, ontologyRid, tokenProvider, options = void 0, fetchFn = fetch) {
@@ -2618,7 +2618,7 @@ function createClientFromContext(clientCtx) {
2618
2618
  async *executeStreamingFunction(query, params) {
2619
2619
  const {
2620
2620
  applyStreamingQuery
2621
- } = await import('./applyStreamingQuery-BIHKIKKU.cjs');
2621
+ } = await import('./applyStreamingQuery-6GMWORWF.cjs');
2622
2622
  yield* applyStreamingQuery(clientCtx, query, params);
2623
2623
  }
2624
2624
  };
@@ -2645,16 +2645,16 @@ function createClientFromContext(clientCtx) {
2645
2645
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid.name:
2646
2646
  return {
2647
2647
  fetchOneByRid: async (objectType, rid, options) => {
2648
- return await chunk7C3MSZAN_cjs.fetchSingle(clientCtx, objectType, options, createWithRid([rid]));
2648
+ return await chunkODWJ44XQ_cjs.fetchSingle(clientCtx, objectType, options, createWithRid([rid]));
2649
2649
  }
2650
2650
  };
2651
2651
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid.name:
2652
2652
  return {
2653
2653
  fetchPageByRid: async (objectOrInterfaceType, rids, options = {}) => {
2654
- return await chunk7C3MSZAN_cjs.fetchPage(clientCtx, objectOrInterfaceType, options, createWithRid(rids));
2654
+ return await chunkODWJ44XQ_cjs.fetchPage(clientCtx, objectOrInterfaceType, options, createWithRid(rids));
2655
2655
  },
2656
2656
  fetchPageByRidNoType: async (rids, options) => {
2657
- return await chunk7C3MSZAN_cjs.fetchStaticRidPage(clientCtx, rids, options ?? {});
2657
+ return await chunkODWJ44XQ_cjs.fetchStaticRidPage(clientCtx, rids, options ?? {});
2658
2658
  }
2659
2659
  };
2660
2660
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet.name:
@@ -2698,7 +2698,7 @@ function createClientFromContext(clientCtx) {
2698
2698
  [symbolClientContext2]: {
2699
2699
  value: clientCtx
2700
2700
  },
2701
- [chunk7C3MSZAN_cjs.additionalContext]: {
2701
+ [chunkODWJ44XQ_cjs.additionalContext]: {
2702
2702
  value: clientCtx
2703
2703
  },
2704
2704
  fetchMetadata: {
@@ -2707,10 +2707,10 @@ function createClientFromContext(clientCtx) {
2707
2707
  });
2708
2708
  return client;
2709
2709
  }
2710
- var createClient = createClientInternal.bind(void 0, chunk7C3MSZAN_cjs.createObjectSet, void 0, void 0, void 0, void 0);
2711
- var createClientWithTransaction = (transactionRid, flushEdits, ...args) => createClientInternal(chunk7C3MSZAN_cjs.createObjectSet, transactionRid, flushEdits, void 0, void 0, ...args);
2712
- var createClientWithSubscriptionConnection = (createSubscriptionConnection, ...args) => createClientInternal(chunk7C3MSZAN_cjs.createObjectSet, void 0, void 0, void 0, createSubscriptionConnection, ...args);
2713
- var createClientWithScenario = (scenarioRid, ...args) => createClientInternal(chunk7C3MSZAN_cjs.createObjectSet, void 0, void 0, scenarioRid, void 0, ...args);
2710
+ var createClient = createClientInternal.bind(void 0, chunkODWJ44XQ_cjs.createObjectSet, void 0, void 0, void 0, void 0);
2711
+ var createClientWithTransaction = (transactionRid, flushEdits, ...args) => createClientInternal(chunkODWJ44XQ_cjs.createObjectSet, transactionRid, flushEdits, void 0, void 0, ...args);
2712
+ var createClientWithSubscriptionConnection = (createSubscriptionConnection, ...args) => createClientInternal(chunkODWJ44XQ_cjs.createObjectSet, void 0, void 0, void 0, createSubscriptionConnection, ...args);
2713
+ var createClientWithScenario = (scenarioRid, ...args) => createClientInternal(chunkODWJ44XQ_cjs.createObjectSet, void 0, void 0, scenarioRid, void 0, ...args);
2714
2714
  function createWithRid(rids) {
2715
2715
  const withRid = {
2716
2716
  type: "static",
@@ -2735,5 +2735,5 @@ exports.createClientFromContext = createClientFromContext;
2735
2735
  exports.createClientWithSubscriptionConnection = createClientWithSubscriptionConnection;
2736
2736
  exports.createClientWithTransaction = createClientWithTransaction;
2737
2737
  exports.createOsdkObject = createOsdkObject;
2738
- //# sourceMappingURL=chunk-SJEGTIHS.cjs.map
2739
- //# sourceMappingURL=chunk-SJEGTIHS.cjs.map
2738
+ //# sourceMappingURL=chunk-YM3DAD6S.cjs.map
2739
+ //# sourceMappingURL=chunk-YM3DAD6S.cjs.map