@osdk/client 2.88.0 → 2.89.0-main-b8cfd7cc0d80e486c4ac145e259bf97e220d93da

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 (47) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/build/browser/Client.js +1 -1
  3. package/build/browser/Client.js.map +1 -1
  4. package/build/browser/agents/types.js.map +1 -1
  5. package/build/browser/public/experimental.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/{Client-gLz-Sl_L.d.cts → Client-B1mjbpDi.d.cts} +3 -1
  9. package/build/cjs/{applyStreamingQuery-FLN4FOKJ.cjs → applyStreamingQuery-LGIAVYUD.cjs} +8 -8
  10. package/build/cjs/{applyStreamingQuery-FLN4FOKJ.cjs.map → applyStreamingQuery-LGIAVYUD.cjs.map} +1 -1
  11. package/build/cjs/{chunk-EGN6JMSX.cjs → chunk-3KWIQTG4.cjs} +56 -56
  12. package/build/cjs/chunk-3KWIQTG4.cjs.map +1 -0
  13. package/build/cjs/{chunk-7GYHHZON.cjs → chunk-6CACQXVM.cjs} +83 -83
  14. package/build/cjs/{chunk-7GYHHZON.cjs.map → chunk-6CACQXVM.cjs.map} +1 -1
  15. package/build/cjs/{chunk-QITRJCT5.cjs → chunk-IEXH6GJR.cjs} +14 -14
  16. package/build/cjs/{chunk-QITRJCT5.cjs.map → chunk-IEXH6GJR.cjs.map} +1 -1
  17. package/build/cjs/{chunk-I35ZTL3B.cjs → chunk-QVCGW2UZ.cjs} +2 -2
  18. package/build/cjs/{chunk-I35ZTL3B.cjs.map → chunk-QVCGW2UZ.cjs.map} +1 -1
  19. package/build/cjs/{chunk-OWEI3LPL.cjs → chunk-REBP6AIV.cjs} +5 -5
  20. package/build/cjs/{chunk-OWEI3LPL.cjs.map → chunk-REBP6AIV.cjs.map} +1 -1
  21. package/build/cjs/{chunk-HAMCTAG6.cjs → chunk-SUPANXZZ.cjs} +8 -8
  22. package/build/cjs/{chunk-HAMCTAG6.cjs.map → chunk-SUPANXZZ.cjs.map} +1 -1
  23. package/build/cjs/{createClient-DUEqUTyt.d.cts → createClient-B6_iR2nP.d.cts} +1 -1
  24. package/build/cjs/index.cjs +12 -12
  25. package/build/cjs/index.d.cts +2 -2
  26. package/build/cjs/public/experimental.cjs +10 -10
  27. package/build/cjs/public/experimental.d.cts +4 -4
  28. package/build/cjs/public/internal.cjs +10 -10
  29. package/build/cjs/public/internal.d.cts +1 -1
  30. package/build/cjs/public/observable.cjs +6 -6
  31. package/build/cjs/public/observable.d.cts +2 -2
  32. package/build/cjs/public/unstable-do-not-use.cjs +17 -17
  33. package/build/cjs/public/unstable-do-not-use.d.cts +4 -4
  34. package/build/cjs/{withScenario-Cty6gZNZ.d.cts → withScenario-DuKtMIXk.d.cts} +1 -1
  35. package/build/esm/Client.js +1 -1
  36. package/build/esm/Client.js.map +1 -1
  37. package/build/esm/agents/types.js.map +1 -1
  38. package/build/esm/public/experimental.js.map +1 -1
  39. package/build/esm/util/UserAgent.js +2 -2
  40. package/build/esm/util/UserAgent.js.map +1 -1
  41. package/build/types/Client.d.ts +1 -1
  42. package/build/types/agents/types.d.ts +3 -1
  43. package/build/types/agents/types.d.ts.map +1 -1
  44. package/build/types/public/experimental.d.ts +1 -1
  45. package/build/types/public/experimental.d.ts.map +1 -1
  46. package/package.json +8 -8
  47. package/build/cjs/chunk-EGN6JMSX.cjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkI35ZTL3B_cjs = require('./chunk-I35ZTL3B.cjs');
3
+ var chunkQVCGW2UZ_cjs = require('./chunk-QVCGW2UZ.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 chunkI35ZTL3B_cjs.createTemporary(client, await client.ontologyRid, {
75
- objectSet: await chunkI35ZTL3B_cjs.normalizeInterfaceLinkSearchArounds(client, chunkI35ZTL3B_cjs.isWireObjectSet(objectSet) ? objectSet : chunkI35ZTL3B_cjs.getWireObjectSet(objectSet))
74
+ const response = await chunkQVCGW2UZ_cjs.createTemporary(client, await client.ontologyRid, {
75
+ objectSet: await chunkQVCGW2UZ_cjs.normalizeInterfaceLinkSearchArounds(client, chunkQVCGW2UZ_cjs.isWireObjectSet(objectSet) ? objectSet : chunkQVCGW2UZ_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-OWEI3LPL.cjs.map
86
- //# sourceMappingURL=chunk-OWEI3LPL.cjs.map
85
+ //# sourceMappingURL=chunk-REBP6AIV.cjs.map
86
+ //# sourceMappingURL=chunk-REBP6AIV.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":";;;;;AAgBO,SAAS,IAAA,GAAO;AAAC;AACxB,IAAM,MAAA,GAAS;AAAA,EACb,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO,EAAA;AAAA,EACP,IAAA,EAAM,EAAA;AAAA,EACN,IAAA,EAAM,EAAA;AAAA,EACN,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO;AACT,CAAA;AACO,IAAM,aAAN,MAAiB;AAAA,EACtB,QAAA;AAAA,EACA,WAAA,CAAY,QAAA,EAAU,OAAA,EAAS,OA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QAAQ,MAAA,CAAO;AAAA,GAChB,CAAA;AACD,EAAA,OAAO,QAAA,CAAS,YAAA;AAClB","file":"chunk-OWEI3LPL.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","isWireObj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EAAG,GAAG,IAAI,CAAA;AAAA,IACpE,CAAA;AAAA,EACF;AACF;;;ACjBA,eAAsB,wBAAA,CAAyB,QAAQ,SAAA,EAAW;AAChE,EAAA,MAAM,WAAW,MAAyBA,iCAAA,CAAgB,MAAA,EAAQ,MAAM,OAAO,WAAA,EAAa;AAAA,IAC1F,SAAA,EAAW,MAAMC,qDAAA,CAAoC,MAAA,EAAQC,iCAAA,CAAgB,SAAS,CAAA,GAAI,SAAA,GAAYC,kCAAA,CAAiB,SAAS,CAAC;AAAA,GACnI,EAAG;AAAA,IACD,QAAQ,MAAA,CAAO;AAAA,GAChB,CAAA;AACD,EAAA,OAAO,QAAA,CAAS,YAAA;AAClB","file":"chunk-REBP6AIV.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,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkEGN6JMSX_cjs = require('./chunk-EGN6JMSX.cjs');
4
- var chunkI35ZTL3B_cjs = require('./chunk-I35ZTL3B.cjs');
3
+ var chunk3KWIQTG4_cjs = require('./chunk-3KWIQTG4.cjs');
4
+ var chunkQVCGW2UZ_cjs = require('./chunk-QVCGW2UZ.cjs');
5
5
 
6
6
  // src/scenarios/createScenario.ts
7
7
  async function createScenario(client, options) {
8
- const ctx = client[chunkI35ZTL3B_cjs.additionalContext];
8
+ const ctx = client[chunkQVCGW2UZ_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
  }
@@ -19,18 +19,18 @@ async function createScenario(client, options) {
19
19
  if (options?.expireAfter != null) {
20
20
  request.expireAfter = options.expireAfter.toISOString();
21
21
  }
22
- const response = await chunkEGN6JMSX_cjs.OntologyScenario_exports.createScenario(ctx, await ctx.ontologyRid, request, {
22
+ const response = await chunk3KWIQTG4_cjs.OntologyScenario_exports.createScenario(ctx, await ctx.ontologyRid, request, {
23
23
  preview: true
24
24
  });
25
- return chunkEGN6JMSX_cjs.buildScenarioClient(client, response.scenarioRid);
25
+ return chunk3KWIQTG4_cjs.buildScenarioClient(client, response.scenarioRid);
26
26
  }
27
27
 
28
28
  // src/scenarios/withScenario.ts
29
29
  function withScenario(client, scenarioRid) {
30
- return chunkEGN6JMSX_cjs.buildScenarioClient(client, scenarioRid);
30
+ return chunk3KWIQTG4_cjs.buildScenarioClient(client, scenarioRid);
31
31
  }
32
32
 
33
33
  exports.createScenario = createScenario;
34
34
  exports.withScenario = withScenario;
35
- //# sourceMappingURL=chunk-HAMCTAG6.cjs.map
36
- //# sourceMappingURL=chunk-HAMCTAG6.cjs.map
35
+ //# sourceMappingURL=chunk-SUPANXZZ.cjs.map
36
+ //# sourceMappingURL=chunk-SUPANXZZ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/scenarios/createScenario.ts","../../src/scenarios/withScenario.ts"],"names":["additionalContext","OntologyScenario_exports","buildScenarioClient"],"mappings":";;;;;;AAyCA,eAAsB,cAAA,CAAe,QAAQ,OAAA,EAAS;AACpD,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,UAAU,EAAC;AACjB,EAAA,IAAI,GAAA,CAAI,UAAU,IAAA,EAAM;AACtB,IAAA,OAAA,CAAQ,IAAA,GAAO;AAAA,MACb,IAAA,EAAM,QAAA;AAAA,MACN,QAAQ,GAAA,CAAI;AAAA,KACd;AAAA,EACF;AACA,EAAA,IAAI,OAAA,EAAS,eAAe,IAAA,EAAM;AAChC,IAAA,OAAA,CAAQ,WAAA,GAAc,OAAA,CAAQ,WAAA,CAAY,WAAA,EAAY;AAAA,EACxD;AACA,EAAA,MAAM,QAAA,GAAW,MAAMC,0CAAA,CAAkB,cAAA,CAAe,KAAK,MAAM,GAAA,CAAI,aAAa,OAAA,EAAS;AAAA,IAC3F,OAAA,EAAS;AAAA,GACV,CAAA;AACD,EAAA,OAAOC,qCAAA,CAAoB,MAAA,EAAQ,QAAA,CAAS,WAAW,CAAA;AACzD;;;ACrBO,SAAS,YAAA,CAAa,QAAQ,WAAA,EAAa;AAChD,EAAA,OAAOA,qCAAA,CAAoB,QAAQ,WAAW,CAAA;AAChD","file":"chunk-HAMCTAG6.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 * @param options - Optional settings for the new scenario.\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 expireAfter = new Date(Date.now() + 60 * 60 * 1000);\n * const scenario = await createScenario(client, { expireAfter });\n * const scenarioRid = scenario.getScenarioReference();\n * ```\n */\nexport async function createScenario(client, options) {\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 request = {};\n if (ctx.branch != null) {\n request.base = {\n type: \"branch\",\n branch: ctx.branch\n };\n }\n if (options?.expireAfter != null) {\n request.expireAfter = options.expireAfter.toISOString();\n }\n const response = await OntologyScenarios.createScenario(ctx, await ctx.ontologyRid, request, {\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":";;;;;;AAyCA,eAAsB,cAAA,CAAe,QAAQ,OAAA,EAAS;AACpD,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,UAAU,EAAC;AACjB,EAAA,IAAI,GAAA,CAAI,UAAU,IAAA,EAAM;AACtB,IAAA,OAAA,CAAQ,IAAA,GAAO;AAAA,MACb,IAAA,EAAM,QAAA;AAAA,MACN,QAAQ,GAAA,CAAI;AAAA,KACd;AAAA,EACF;AACA,EAAA,IAAI,OAAA,EAAS,eAAe,IAAA,EAAM;AAChC,IAAA,OAAA,CAAQ,WAAA,GAAc,OAAA,CAAQ,WAAA,CAAY,WAAA,EAAY;AAAA,EACxD;AACA,EAAA,MAAM,QAAA,GAAW,MAAMC,0CAAA,CAAkB,cAAA,CAAe,KAAK,MAAM,GAAA,CAAI,aAAa,OAAA,EAAS;AAAA,IAC3F,OAAA,EAAS;AAAA,GACV,CAAA;AACD,EAAA,OAAOC,qCAAA,CAAoB,MAAA,EAAQ,QAAA,CAAS,WAAW,CAAA;AACzD;;;ACrBO,SAAS,YAAA,CAAa,QAAQ,WAAA,EAAa;AAChD,EAAA,OAAOA,qCAAA,CAAoB,QAAQ,WAAW,CAAA;AAChD","file":"chunk-SUPANXZZ.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 * @param options - Optional settings for the new scenario.\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 expireAfter = new Date(Date.now() + 60 * 60 * 1000);\n * const scenario = await createScenario(client, { expireAfter });\n * const scenarioRid = scenario.getScenarioReference();\n * ```\n */\nexport async function createScenario(client, options) {\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 request = {};\n if (ctx.branch != null) {\n request.base = {\n type: \"branch\",\n branch: ctx.branch\n };\n }\n if (options?.expireAfter != null) {\n request.expireAfter = options.expireAfter.toISOString();\n }\n const response = await OntologyScenarios.createScenario(ctx, await ctx.ontologyRid, request, {\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,5 +1,5 @@
1
1
  import { Logger } from '@osdk/api';
2
- import { C as Client } from './Client-gLz-Sl_L.cjs';
2
+ import { C as Client } from './Client-B1mjbpDi.cjs';
3
3
 
4
4
  /**
5
5
  * The subset of the `WebSocket` interface that {@link ObjectSetListenerWebsocket}
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkEGN6JMSX_cjs = require('./chunk-EGN6JMSX.cjs');
4
- require('./chunk-OWEI3LPL.cjs');
3
+ var chunk3KWIQTG4_cjs = require('./chunk-3KWIQTG4.cjs');
4
+ require('./chunk-REBP6AIV.cjs');
5
5
  require('./chunk-6OIQ3CCD.cjs');
6
6
  require('./chunk-KTZGY72C.cjs');
7
- var chunkQITRJCT5_cjs = require('./chunk-QITRJCT5.cjs');
8
- var chunkI35ZTL3B_cjs = require('./chunk-I35ZTL3B.cjs');
7
+ var chunkIEXH6GJR_cjs = require('./chunk-IEXH6GJR.cjs');
8
+ var chunkQVCGW2UZ_cjs = require('./chunk-QVCGW2UZ.cjs');
9
9
  require('./chunk-B4UCZI2Z.cjs');
10
10
  require('./chunk-IWUIN6JJ.cjs');
11
11
  require('./chunk-Q7SFCCGT.cjs');
@@ -19,7 +19,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
19
19
  var invariant__default = /*#__PURE__*/_interopDefault(invariant);
20
20
 
21
21
  function createPlatformClient(baseUrl, tokenProvider, options = void 0, fetchFn = fetch) {
22
- return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider, chunkEGN6JMSX_cjs.USER_AGENT, fetchFn);
22
+ return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider, chunk3KWIQTG4_cjs.USER_AGENT, fetchFn);
23
23
  }
24
24
  var isoRegex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/u;
25
25
  var extractDate = (dateTime) => {
@@ -43,31 +43,31 @@ var extractDateFromIsoString = (dateTime) => {
43
43
 
44
44
  Object.defineProperty(exports, "ActionValidationError", {
45
45
  enumerable: true,
46
- get: function () { return chunkEGN6JMSX_cjs.ActionValidationError; }
46
+ get: function () { return chunk3KWIQTG4_cjs.ActionValidationError; }
47
47
  });
48
48
  Object.defineProperty(exports, "createClient", {
49
49
  enumerable: true,
50
- get: function () { return chunkEGN6JMSX_cjs.createClient; }
50
+ get: function () { return chunk3KWIQTG4_cjs.createClient; }
51
51
  });
52
52
  Object.defineProperty(exports, "createAttachmentUpload", {
53
53
  enumerable: true,
54
- get: function () { return chunkQITRJCT5_cjs.createAttachmentUpload; }
54
+ get: function () { return chunkIEXH6GJR_cjs.createAttachmentUpload; }
55
55
  });
56
56
  Object.defineProperty(exports, "createObjectSpecifierFromPrimaryKey", {
57
57
  enumerable: true,
58
- get: function () { return chunkQITRJCT5_cjs.createObjectSpecifierFromPrimaryKey; }
58
+ get: function () { return chunkIEXH6GJR_cjs.createObjectSpecifierFromPrimaryKey; }
59
59
  });
60
60
  Object.defineProperty(exports, "extractPrimaryKeyFromObjectSpecifier", {
61
61
  enumerable: true,
62
- get: function () { return chunkQITRJCT5_cjs.extractPrimaryKeyFromObjectSpecifier; }
62
+ get: function () { return chunkIEXH6GJR_cjs.extractPrimaryKeyFromObjectSpecifier; }
63
63
  });
64
64
  Object.defineProperty(exports, "getWireObjectSet", {
65
65
  enumerable: true,
66
- get: function () { return chunkI35ZTL3B_cjs.getWireObjectSet; }
66
+ get: function () { return chunkQVCGW2UZ_cjs.getWireObjectSet; }
67
67
  });
68
68
  Object.defineProperty(exports, "isObjectSet", {
69
69
  enumerable: true,
70
- get: function () { return chunkI35ZTL3B_cjs.isObjectSet; }
70
+ get: function () { return chunkQVCGW2UZ_cjs.isObjectSet; }
71
71
  });
72
72
  Object.defineProperty(exports, "isOk", {
73
73
  enumerable: true,
@@ -3,8 +3,8 @@ export { ActionDefinition, ActionEditResponse, ActionMetadata, ActionParam, Acti
3
3
  export { PalantirApiError } from '@osdk/shared.net.errors';
4
4
  import { ValidateActionResponseV2 } from '@osdk/foundry.ontologies';
5
5
  export { ObjectSet as WireObjectSet } from '@osdk/foundry.ontologies';
6
- export { C as Client } from './Client-gLz-Sl_L.cjs';
7
- export { b as createClient } from './createClient-DUEqUTyt.cjs';
6
+ export { C as Client } from './Client-B1mjbpDi.cjs';
7
+ export { b as createClient } from './createClient-B6_iR2nP.cjs';
8
8
  import { SharedClientContext } from '@osdk/shared.client2';
9
9
  export { g as getWireObjectSet, i as isObjectSet } from './createObjectSet-DOwrqJHQ.cjs';
10
10
  import '@osdk/shared.client';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkHAMCTAG6_cjs = require('../chunk-HAMCTAG6.cjs');
4
- var chunkEGN6JMSX_cjs = require('../chunk-EGN6JMSX.cjs');
5
- require('../chunk-OWEI3LPL.cjs');
3
+ var chunkSUPANXZZ_cjs = require('../chunk-SUPANXZZ.cjs');
4
+ var chunk3KWIQTG4_cjs = require('../chunk-3KWIQTG4.cjs');
5
+ require('../chunk-REBP6AIV.cjs');
6
6
  require('../chunk-6OIQ3CCD.cjs');
7
7
  require('../chunk-KTZGY72C.cjs');
8
- require('../chunk-QITRJCT5.cjs');
9
- var chunkI35ZTL3B_cjs = require('../chunk-I35ZTL3B.cjs');
8
+ require('../chunk-IEXH6GJR.cjs');
9
+ var chunkQVCGW2UZ_cjs = require('../chunk-QVCGW2UZ.cjs');
10
10
  require('../chunk-B4UCZI2Z.cjs');
11
11
  require('../chunk-IWUIN6JJ.cjs');
12
12
  require('../chunk-Q7SFCCGT.cjs');
@@ -14,24 +14,24 @@ var unstable = require('@osdk/api/unstable');
14
14
 
15
15
  // src/createClientFromWriteableClient.ts
16
16
  function createClientFromWriteableClient(writeableClient, options) {
17
- const ctx = writeableClient[chunkI35ZTL3B_cjs.additionalContext];
17
+ const ctx = writeableClient[chunkQVCGW2UZ_cjs.additionalContext];
18
18
  if (ctx.transactionId === void 0 || ctx.flushEdits === void 0) {
19
19
  throw new Error("createClientFromWriteableClient: provided client has no active transaction");
20
20
  }
21
- return chunkEGN6JMSX_cjs.createClientWithTransaction(options?.transactionId ?? ctx.transactionId, ctx.flushEdits, options?.baseUrl ?? ctx.baseUrl, options?.ontologyRid ?? ctx.ontologyRid, options?.tokenProvider ?? ctx.tokenProvider);
21
+ return chunk3KWIQTG4_cjs.createClientWithTransaction(options?.transactionId ?? ctx.transactionId, ctx.flushEdits, options?.baseUrl ?? ctx.baseUrl, options?.ontologyRid ?? ctx.ontologyRid, options?.tokenProvider ?? ctx.tokenProvider);
22
22
  }
23
23
 
24
24
  Object.defineProperty(exports, "createScenario", {
25
25
  enumerable: true,
26
- get: function () { return chunkHAMCTAG6_cjs.createScenario; }
26
+ get: function () { return chunkSUPANXZZ_cjs.createScenario; }
27
27
  });
28
28
  Object.defineProperty(exports, "withScenario", {
29
29
  enumerable: true,
30
- get: function () { return chunkHAMCTAG6_cjs.withScenario; }
30
+ get: function () { return chunkSUPANXZZ_cjs.withScenario; }
31
31
  });
32
32
  Object.defineProperty(exports, "createClientWithTransaction", {
33
33
  enumerable: true,
34
- get: function () { return chunkEGN6JMSX_cjs.createClientWithTransaction; }
34
+ get: function () { return chunk3KWIQTG4_cjs.createClientWithTransaction; }
35
35
  });
36
36
  Object.defineProperty(exports, "AgentGetStateTimeoutError", {
37
37
  enumerable: true,
@@ -1,7 +1,7 @@
1
- export { AgentContextItem, AgentDefinition, AgentGetStateOptions, AgentGetStateTimeoutError, AgentParam, AgentSendEventOptions, AgentSendEventTimeoutError, AgentSession, AgentSessionState, AgentSessionStatus } from '@osdk/api/unstable';
2
- export { c as createClientWithTransaction } from '../createClient-DUEqUTyt.cjs';
3
- import { C as Client } from '../Client-gLz-Sl_L.cjs';
4
- export { E as EXPERIMENTAL_ScenarioClient, c as createScenario, w as withScenario } from '../withScenario-Cty6gZNZ.cjs';
1
+ export { AgentContextItem, AgentDefinition, AgentGetStateOptions, AgentGetStateTimeoutError, AgentParam, AgentResult, AgentSendEventOptions, AgentSendEventTimeoutError, AgentSession, AgentSessionState, AgentSessionStatus } from '@osdk/api/unstable';
2
+ export { c as createClientWithTransaction } from '../createClient-B6_iR2nP.cjs';
3
+ import { C as Client } from '../Client-B1mjbpDi.cjs';
4
+ export { E as EXPERIMENTAL_ScenarioClient, c as createScenario, w as withScenario } from '../withScenario-DuKtMIXk.cjs';
5
5
  import '@osdk/api';
6
6
  import '@osdk/shared.client';
7
7
  import '@osdk/shared.client2';
@@ -1,23 +1,23 @@
1
1
  'use strict';
2
2
 
3
- var chunkOWEI3LPL_cjs = require('../chunk-OWEI3LPL.cjs');
4
- var chunkI35ZTL3B_cjs = require('../chunk-I35ZTL3B.cjs');
3
+ var chunkREBP6AIV_cjs = require('../chunk-REBP6AIV.cjs');
4
+ var chunkQVCGW2UZ_cjs = require('../chunk-QVCGW2UZ.cjs');
5
5
  require('../chunk-B4UCZI2Z.cjs');
6
6
  require('../chunk-Q7SFCCGT.cjs');
7
7
 
8
8
  // src/public-utils/createAndFetchTempObjectSetRid.ts
9
9
  async function createAndFetchTempObjectSetRid(client, objectSet) {
10
- return await chunkOWEI3LPL_cjs.createTemporaryObjectSet(client[chunkI35ZTL3B_cjs.additionalContext], objectSet);
10
+ return await chunkREBP6AIV_cjs.createTemporaryObjectSet(client[chunkQVCGW2UZ_cjs.additionalContext], objectSet);
11
11
  }
12
12
 
13
13
  // src/public-utils/getClientBranch.ts
14
14
  function getClientBranch(client) {
15
- return client[chunkI35ZTL3B_cjs.additionalContext].branch;
15
+ return client[chunkQVCGW2UZ_cjs.additionalContext].branch;
16
16
  }
17
17
 
18
18
  // src/public-utils/hydrateObjectSetFromObjectRids.ts
19
19
  function hydrateObjectSetFromObjectRids(client, definition, rids) {
20
- return chunkI35ZTL3B_cjs.createObjectSet(definition, client[chunkI35ZTL3B_cjs.additionalContext], {
20
+ return chunkQVCGW2UZ_cjs.createObjectSet(definition, client[chunkQVCGW2UZ_cjs.additionalContext], {
21
21
  type: "intersect",
22
22
  objectSets: [definition.type === "interface" ? {
23
23
  type: "interfaceBase",
@@ -37,7 +37,7 @@ function asMutableArray(array) {
37
37
 
38
38
  // src/public-utils/hydrateObjectSetFromRid.ts
39
39
  function hydrateObjectSetFromRid(client, definition, rid) {
40
- return chunkI35ZTL3B_cjs.createObjectSet(definition, client[chunkI35ZTL3B_cjs.additionalContext], {
40
+ return chunkQVCGW2UZ_cjs.createObjectSet(definition, client[chunkQVCGW2UZ_cjs.additionalContext], {
41
41
  type: "intersect",
42
42
  objectSets: [definition.type === "interface" ? {
43
43
  type: "interfaceBase",
@@ -78,7 +78,7 @@ var levelStyles = {
78
78
  color: "orange"
79
79
  })
80
80
  };
81
- var BrowserLogger = class _BrowserLogger extends chunkOWEI3LPL_cjs.BaseLogger {
81
+ var BrowserLogger = class _BrowserLogger extends chunkREBP6AIV_cjs.BaseLogger {
82
82
  constructor(bindings = {}, options = {}) {
83
83
  super(bindings, {
84
84
  ...options,
@@ -104,15 +104,15 @@ var BrowserLogger = class _BrowserLogger extends chunkOWEI3LPL_cjs.BaseLogger {
104
104
 
105
105
  Object.defineProperty(exports, "MinimalLogger", {
106
106
  enumerable: true,
107
- get: function () { return chunkOWEI3LPL_cjs.MinimalLogger; }
107
+ get: function () { return chunkREBP6AIV_cjs.MinimalLogger; }
108
108
  });
109
109
  Object.defineProperty(exports, "createMediaFromReference", {
110
110
  enumerable: true,
111
- get: function () { return chunkI35ZTL3B_cjs.createMediaFromReference; }
111
+ get: function () { return chunkQVCGW2UZ_cjs.createMediaFromReference; }
112
112
  });
113
113
  Object.defineProperty(exports, "hydrateAttachmentFromRid", {
114
114
  enumerable: true,
115
- get: function () { return chunkI35ZTL3B_cjs.hydrateAttachmentFromRid; }
115
+ get: function () { return chunkQVCGW2UZ_cjs.hydrateAttachmentFromRid; }
116
116
  });
117
117
  exports.BrowserLogger = BrowserLogger;
118
118
  exports.createAndFetchTempObjectSetRid = createAndFetchTempObjectSetRid;
@@ -1,5 +1,5 @@
1
1
  import { MediaReference, Media, ObjectOrInterfaceDefinition, CompileTimeMetadata, ObjectSet, Attachment, Logger } from '@osdk/api';
2
- import { C as Client } from '../Client-gLz-Sl_L.cjs';
2
+ import { C as Client } from '../Client-B1mjbpDi.cjs';
3
3
  import '@osdk/shared.client';
4
4
  import '@osdk/api/unstable';
5
5
  import '@osdk/shared.client2';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunk7GYHHZON_cjs = require('../chunk-7GYHHZON.cjs');
4
- require('../chunk-EGN6JMSX.cjs');
5
- require('../chunk-OWEI3LPL.cjs');
3
+ var chunk6CACQXVM_cjs = require('../chunk-6CACQXVM.cjs');
4
+ require('../chunk-3KWIQTG4.cjs');
5
+ require('../chunk-REBP6AIV.cjs');
6
6
  require('../chunk-6OIQ3CCD.cjs');
7
7
  require('../chunk-KTZGY72C.cjs');
8
- require('../chunk-QITRJCT5.cjs');
9
- require('../chunk-I35ZTL3B.cjs');
8
+ require('../chunk-IEXH6GJR.cjs');
9
+ require('../chunk-QVCGW2UZ.cjs');
10
10
  require('../chunk-B4UCZI2Z.cjs');
11
11
  require('../chunk-IWUIN6JJ.cjs');
12
12
  require('../chunk-Q7SFCCGT.cjs');
@@ -15,7 +15,7 @@ require('../chunk-Q7SFCCGT.cjs');
15
15
 
16
16
  Object.defineProperty(exports, "createObservableClient", {
17
17
  enumerable: true,
18
- get: function () { return chunk7GYHHZON_cjs.createObservableClient; }
18
+ get: function () { return chunk6CACQXVM_cjs.createObservableClient; }
19
19
  });
20
20
  //# sourceMappingURL=observable.cjs.map
21
21
  //# sourceMappingURL=observable.cjs.map
@@ -1,5 +1,5 @@
1
- import { a as QueryReturnType, A as ActionSignatureFromDef, C as Client } from '../Client-gLz-Sl_L.cjs';
2
- export { Q as QueryParameterType } from '../Client-gLz-Sl_L.cjs';
1
+ import { a as QueryReturnType, A as ActionSignatureFromDef, C as Client } from '../Client-B1mjbpDi.cjs';
2
+ export { Q as QueryParameterType } from '../Client-B1mjbpDi.cjs';
3
3
  import { ObjectTypeDefinition, InterfaceDefinition, PropertyKeys, ObjectOrInterfaceDefinition, WirePropertyTypes, WhereClause, DerivedProperty, ObjectSet, LinkNames, MediaMetadata, CompileTimeMetadata, PrimaryKeyType, Osdk, SimplePropertyDef, AggregateOpts, AggregationsResults, QueryDefinition, ActionDefinition, ActionEditResponse, ActionValidationResponse, MediaPropertyLocation } from '@osdk/api';
4
4
  import '@osdk/shared.client';
5
5
  import '@osdk/api/unstable';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkHAMCTAG6_cjs = require('../chunk-HAMCTAG6.cjs');
4
- var chunk7GYHHZON_cjs = require('../chunk-7GYHHZON.cjs');
5
- var chunkEGN6JMSX_cjs = require('../chunk-EGN6JMSX.cjs');
6
- require('../chunk-OWEI3LPL.cjs');
3
+ var chunkSUPANXZZ_cjs = require('../chunk-SUPANXZZ.cjs');
4
+ var chunk6CACQXVM_cjs = require('../chunk-6CACQXVM.cjs');
5
+ var chunk3KWIQTG4_cjs = require('../chunk-3KWIQTG4.cjs');
6
+ require('../chunk-REBP6AIV.cjs');
7
7
  require('../chunk-6OIQ3CCD.cjs');
8
8
  require('../chunk-KTZGY72C.cjs');
9
- require('../chunk-QITRJCT5.cjs');
10
- var chunkI35ZTL3B_cjs = require('../chunk-I35ZTL3B.cjs');
9
+ require('../chunk-IEXH6GJR.cjs');
10
+ var chunkQVCGW2UZ_cjs = require('../chunk-QVCGW2UZ.cjs');
11
11
  require('../chunk-B4UCZI2Z.cjs');
12
12
  require('../chunk-IWUIN6JJ.cjs');
13
13
  require('../chunk-Q7SFCCGT.cjs');
@@ -15,8 +15,8 @@ var unstable = require('@osdk/api/unstable');
15
15
 
16
16
  // src/object/hydrateOsdkObject.ts
17
17
  async function hydrateOsdkObject(client, objects, objectDefsByApiName, propertySecurities) {
18
- return chunkEGN6JMSX_cjs.convertWireToOsdkObjects(
19
- client[chunkI35ZTL3B_cjs.additionalContext],
18
+ return chunk3KWIQTG4_cjs.convertWireToOsdkObjects(
19
+ client[chunkQVCGW2UZ_cjs.additionalContext],
20
20
  objects,
21
21
  /* interfaceApiName */
22
22
  void 0,
@@ -160,7 +160,7 @@ function getLinkQueryOptions(linkDef, sourceObject, pageSize) {
160
160
  return options;
161
161
  }
162
162
  async function buildObjectSetFromLinkDefByType(client, sourceType, sourcePrimaryKey, linkDef) {
163
- const metadata = await client[chunkI35ZTL3B_cjs.additionalContext].ontologyProvider.getObjectDefinition(sourceType.apiName);
163
+ const metadata = await client[chunkQVCGW2UZ_cjs.additionalContext].ontologyProvider.getObjectDefinition(sourceType.apiName);
164
164
  const pkFieldName = metadata.primaryKeyApiName;
165
165
  let objectSet = client(sourceType).where({
166
166
  [pkFieldName]: sourcePrimaryKey
@@ -219,35 +219,35 @@ function resolveSymbolBindings(value, sourcePrimaryKey) {
219
219
 
220
220
  Object.defineProperty(exports, "createScenario", {
221
221
  enumerable: true,
222
- get: function () { return chunkHAMCTAG6_cjs.createScenario; }
222
+ get: function () { return chunkSUPANXZZ_cjs.createScenario; }
223
223
  });
224
224
  Object.defineProperty(exports, "withScenario", {
225
225
  enumerable: true,
226
- get: function () { return chunkHAMCTAG6_cjs.withScenario; }
226
+ get: function () { return chunkSUPANXZZ_cjs.withScenario; }
227
227
  });
228
228
  Object.defineProperty(exports, "createObservableClient", {
229
229
  enumerable: true,
230
- get: function () { return chunk7GYHHZON_cjs.createObservableClient; }
230
+ get: function () { return chunk6CACQXVM_cjs.createObservableClient; }
231
231
  });
232
232
  Object.defineProperty(exports, "createClientWithSubscriptionConnection", {
233
233
  enumerable: true,
234
- get: function () { return chunkEGN6JMSX_cjs.createClientWithSubscriptionConnection; }
234
+ get: function () { return chunk3KWIQTG4_cjs.createClientWithSubscriptionConnection; }
235
235
  });
236
236
  Object.defineProperty(exports, "createClientWithTransaction", {
237
237
  enumerable: true,
238
- get: function () { return chunkEGN6JMSX_cjs.createClientWithTransaction; }
238
+ get: function () { return chunk3KWIQTG4_cjs.createClientWithTransaction; }
239
239
  });
240
240
  Object.defineProperty(exports, "augment", {
241
241
  enumerable: true,
242
- get: function () { return chunkI35ZTL3B_cjs.augment; }
242
+ get: function () { return chunkQVCGW2UZ_cjs.augment; }
243
243
  });
244
244
  Object.defineProperty(exports, "getWireObjectSet", {
245
245
  enumerable: true,
246
- get: function () { return chunkI35ZTL3B_cjs.getWireObjectSet; }
246
+ get: function () { return chunkQVCGW2UZ_cjs.getWireObjectSet; }
247
247
  });
248
248
  Object.defineProperty(exports, "isObjectSet", {
249
249
  enumerable: true,
250
- get: function () { return chunkI35ZTL3B_cjs.isObjectSet; }
250
+ get: function () { return chunkQVCGW2UZ_cjs.isObjectSet; }
251
251
  });
252
252
  exports.applyShapeTransformations = applyShapeTransformations;
253
253
  exports.applyShapeTransformationsToArray = applyShapeTransformationsToArray;
@@ -1,10 +1,10 @@
1
1
  import { ObjectOrInterfaceDefinition, PropertyKeys, Augment, ObjectMetadata, Osdk, ObjectSet, WhereClause } from '@osdk/api';
2
2
  import { OntologyObjectV2, PropertySecurities } from '@osdk/foundry.ontologies';
3
- import { C as Client } from '../Client-gLz-Sl_L.cjs';
4
- export { A as ActionSignatureFromDef, Q as QueryParameterType, a as QueryReturnType } from '../Client-gLz-Sl_L.cjs';
3
+ import { C as Client } from '../Client-B1mjbpDi.cjs';
4
+ export { A as ActionSignatureFromDef, Q as QueryParameterType, a as QueryReturnType } from '../Client-B1mjbpDi.cjs';
5
5
  export { g as getWireObjectSet, i as isObjectSet } from '../createObjectSet-DOwrqJHQ.cjs';
6
- export { C as CreateSubscriptionConnectionFn, S as SubscriptionConnection, a as createClientWithSubscriptionConnection, c as createClientWithTransaction } from '../createClient-DUEqUTyt.cjs';
7
- export { E as EXPERIMENTAL_ScenarioClient, c as createScenario, w as withScenario } from '../withScenario-Cty6gZNZ.cjs';
6
+ export { C as CreateSubscriptionConnectionFn, S as SubscriptionConnection, a as createClientWithSubscriptionConnection, c as createClientWithTransaction } from '../createClient-B6_iR2nP.cjs';
7
+ export { E as EXPERIMENTAL_ScenarioClient, c as createScenario, w as withScenario } from '../withScenario-DuKtMIXk.cjs';
8
8
  import { ShapeDefinition, ShapeBaseType, ShapeInstance, NullabilityViolation } from '@osdk/api/unstable';
9
9
  import { ShapeLinkObjectSetDef } from '@osdk/api/shapes-internal';
10
10
  export { CacheEntry, CacheSnapshot, CanonicalizeOptionsInput, CanonicalizedOptions, ObservableClient, ObserveAggregationArgs, ObserveFunctionCallbackArgs, ObserveFunctionOptions, ObserveLinks, ObserveObjectCallbackArgs, ObserveObjectSetArgs, ObserveObjectsCallbackArgs, Observer, Unsubscribable, createObservableClient } from './observable.cjs';
@@ -1,4 +1,4 @@
1
- import { C as Client } from './Client-gLz-Sl_L.cjs';
1
+ import { C as Client } from './Client-B1mjbpDi.cjs';
2
2
  import { ObjectTypeDefinition, ObjectIdentifiers, ObjectOrInterfaceDefinition, LinkTypeApiNamesFor, MinimalDirectedObjectLinkInstance } from '@osdk/api';
3
3
 
4
4
  /**
@@ -21,7 +21,7 @@
21
21
  export const additionalContext = Symbol("additionalContext");
22
22
 
23
23
  // BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.
24
- const MaxOsdkVersion = "2.88.0";
24
+ const MaxOsdkVersion = "2.89.0";
25
25
  // END: THIS IS GENERATED CODE. DO NOT EDIT.
26
26
 
27
27
  const ErrorMessage = Symbol("ErrorMessage");
@@ -1 +1 @@
1
- {"version":3,"file":"Client.js","names":["additionalContext","Symbol","MaxOsdkVersion","ErrorMessage"],"sources":["Client.ts"],"sourcesContent":["/*\n * Copyright 2023 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 type {\n ActionDefinition,\n ActionMetadata,\n CompileTimeMetadata,\n InterfaceDefinition,\n InterfaceMetadata,\n ObjectMetadata,\n ObjectSet,\n ObjectTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n VersionBound,\n} from \"@osdk/api\";\nimport type {\n AgentDefinition,\n Experiment,\n ExperimentFns,\n MinimalObjectSet,\n} from \"@osdk/api/unstable\";\nimport type { SharedClient } from \"@osdk/shared.client2\";\n\nimport type { ActionSignatureFromDef } from \"./actions/applyAction.js\";\nimport type { AgentSignatureFromDef } from \"./agents/types.js\";\nimport type { MinimalClient } from \"./MinimalClientContext.js\";\nimport type { QuerySignatureFromDef } from \"./queries/types.js\";\nimport type { SatisfiesSemver } from \"./SatisfiesSemver.js\";\n\n// eslint-disable-next-line @typescript-eslint/consistent-type-imports\ntype OldSharedClient = import(\"@osdk/shared.client\").SharedClient;\n\nexport type CheckVersionBound<Q> =\n Q extends VersionBound<infer V>\n ? SatisfiesSemver<V, MaxOsdkVersion> extends true\n ? Q\n : Q & {\n [ErrorMessage]: `Your SDK requires a semver compatible version with ${V}. You have ${MaxOsdkVersion}. Update your package.json`;\n }\n : Q;\n\nexport interface Client extends SharedClient, OldSharedClient {\n /**\n * Returns the operation surface for the given ontology definition. The shape of the\n * returned value is dispatched on what kind of definition is passed:\n * - object type → the object set type for that ontology object (typically a generated extension of {@link ObjectSet})\n * - interface → a {@link MinimalObjectSet} for the interface\n * - action → a callable with `applyAction` / `batchApplyAction`\n * - query → a callable with `executeFunction`\n * - experiment → the unstable feature surface for that experiment\n *\n * @param o - The object type definition to wrap.\n * @example\n * ```ts\n * const employees = await client(Employee).fetchPage({ $pageSize: 30 });\n * const employee = await client(Employee).fetchOne(12345);\n * ```\n * @returns an object set scoped to all objects of this type.\n */\n <Q extends ObjectTypeDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"]\n ? ObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n /**\n * @param o - The interface definition to wrap.\n * @example\n * ```ts\n * const page = await client(MyInterface).fetchPage({ $pageSize: 30 });\n * ```\n * @returns a minimal object set over all objects implementing the interface.\n */\n <Q extends InterfaceDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"]\n ? MinimalObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n /**\n * @param o - The action definition to invoke.\n * @example\n * ```ts\n * const result = await client(createEmployee).applyAction(\n * { name: \"Jane\", department: \"Engineering\" },\n * { $returnEdits: true },\n * );\n * ```\n * @returns a callable for applying (or batch-applying) the action.\n */\n <Q extends ActionDefinition<any>>(o: Q): ActionSignatureFromDef<Q>;\n\n /**\n * @param o - The query definition to invoke.\n * @example\n * ```ts\n * const result = await client(getEmployeeCount).executeFunction({ department: \"Engineering\" });\n * ```\n * @returns a callable for executing the query function.\n */\n <Q extends QueryDefinition<any>>(o: Q): QuerySignatureFromDef<Q>;\n\n /** @beta */\n <Q extends AgentDefinition<unknown>>(o: Q): AgentSignatureFromDef<Q>;\n\n /**\n * @param experiment - The experiment marker that gates an unstable feature.\n * @example\n * ```ts\n * const employee = await client(__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid)\n * .fetchOneByRid(Employee, \"ri.phonograph2-objects.main.object.1234\");\n * ```\n * @returns the experiment-specific function surface.\n */\n <\n Q extends\n | Experiment<\"2.0.8\">\n | Experiment<\"2.1.0\">\n | Experiment<\"2.59.0\">\n | Experiment<\"2.2.0\">\n | Experiment<\"2.8.0\">\n | Experiment<\"2.19.0\">,\n >(\n experiment: Q,\n ): ExperimentFns<Q>;\n\n /**\n * Fetches runtime metadata for the given ontology definition. The returned shape\n * is dispatched on the kind of definition passed: {@link ObjectMetadata},\n * {@link InterfaceMetadata}, {@link ActionMetadata}, or {@link QueryMetadata}.\n * @param o - The object type, interface, action, or query definition to look up.\n * @example\n * ```ts\n * const meta = await client.fetchMetadata(Employee);\n * console.log(meta.displayName, meta.description);\n * ```\n * @returns a promise resolving to the metadata for the given definition.\n */\n fetchMetadata<\n Q extends\n | ObjectTypeDefinition\n | InterfaceDefinition\n | ActionDefinition<any>\n | QueryDefinition<any>,\n >(\n o: Q,\n ): Promise<\n Q extends ObjectTypeDefinition\n ? ObjectMetadata\n : Q extends InterfaceDefinition\n ? InterfaceMetadata\n : Q extends ActionDefinition<any>\n ? ActionMetadata\n : Q extends QueryDefinition<any>\n ? QueryMetadata\n : never\n >;\n\n /** @internal */\n [additionalContext]: MinimalClient;\n}\n\n// DO NOT EXPORT FROM PACKAGE\n/** @internal */\nexport const additionalContext: unique symbol = Symbol(\"additionalContext\");\n\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst MaxOsdkVersion = \"2.88.0\";\n// END: THIS IS GENERATED CODE. DO NOT EDIT.\nexport type MaxOsdkVersion = typeof MaxOsdkVersion;\nconst ErrorMessage: unique symbol = Symbol(\"ErrorMessage\");\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA6BA;;AAqIA;AACA;AACA,OAAO,MAAMA,iBAAgC,GAAGC,MAAM,CAAC,mBAAmB,CAAC;;AAE3E;AACA,MAAMC,cAAc,GAAG,QAAQ;AAC/B;;AAEA,MAAMC,YAA2B,GAAGF,MAAM,CAAC,cAAc,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"Client.js","names":["additionalContext","Symbol","MaxOsdkVersion","ErrorMessage"],"sources":["Client.ts"],"sourcesContent":["/*\n * Copyright 2023 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 type {\n ActionDefinition,\n ActionMetadata,\n CompileTimeMetadata,\n InterfaceDefinition,\n InterfaceMetadata,\n ObjectMetadata,\n ObjectSet,\n ObjectTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n VersionBound,\n} from \"@osdk/api\";\nimport type {\n AgentDefinition,\n Experiment,\n ExperimentFns,\n MinimalObjectSet,\n} from \"@osdk/api/unstable\";\nimport type { SharedClient } from \"@osdk/shared.client2\";\n\nimport type { ActionSignatureFromDef } from \"./actions/applyAction.js\";\nimport type { AgentSignatureFromDef } from \"./agents/types.js\";\nimport type { MinimalClient } from \"./MinimalClientContext.js\";\nimport type { QuerySignatureFromDef } from \"./queries/types.js\";\nimport type { SatisfiesSemver } from \"./SatisfiesSemver.js\";\n\n// eslint-disable-next-line @typescript-eslint/consistent-type-imports\ntype OldSharedClient = import(\"@osdk/shared.client\").SharedClient;\n\nexport type CheckVersionBound<Q> =\n Q extends VersionBound<infer V>\n ? SatisfiesSemver<V, MaxOsdkVersion> extends true\n ? Q\n : Q & {\n [ErrorMessage]: `Your SDK requires a semver compatible version with ${V}. You have ${MaxOsdkVersion}. Update your package.json`;\n }\n : Q;\n\nexport interface Client extends SharedClient, OldSharedClient {\n /**\n * Returns the operation surface for the given ontology definition. The shape of the\n * returned value is dispatched on what kind of definition is passed:\n * - object type → the object set type for that ontology object (typically a generated extension of {@link ObjectSet})\n * - interface → a {@link MinimalObjectSet} for the interface\n * - action → a callable with `applyAction` / `batchApplyAction`\n * - query → a callable with `executeFunction`\n * - experiment → the unstable feature surface for that experiment\n *\n * @param o - The object type definition to wrap.\n * @example\n * ```ts\n * const employees = await client(Employee).fetchPage({ $pageSize: 30 });\n * const employee = await client(Employee).fetchOne(12345);\n * ```\n * @returns an object set scoped to all objects of this type.\n */\n <Q extends ObjectTypeDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"]\n ? ObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n /**\n * @param o - The interface definition to wrap.\n * @example\n * ```ts\n * const page = await client(MyInterface).fetchPage({ $pageSize: 30 });\n * ```\n * @returns a minimal object set over all objects implementing the interface.\n */\n <Q extends InterfaceDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"]\n ? MinimalObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n /**\n * @param o - The action definition to invoke.\n * @example\n * ```ts\n * const result = await client(createEmployee).applyAction(\n * { name: \"Jane\", department: \"Engineering\" },\n * { $returnEdits: true },\n * );\n * ```\n * @returns a callable for applying (or batch-applying) the action.\n */\n <Q extends ActionDefinition<any>>(o: Q): ActionSignatureFromDef<Q>;\n\n /**\n * @param o - The query definition to invoke.\n * @example\n * ```ts\n * const result = await client(getEmployeeCount).executeFunction({ department: \"Engineering\" });\n * ```\n * @returns a callable for executing the query function.\n */\n <Q extends QueryDefinition<any>>(o: Q): QuerySignatureFromDef<Q>;\n\n /** @beta */\n <Q extends AgentDefinition<unknown>>(o: Q): AgentSignatureFromDef<Q>;\n\n /**\n * @param experiment - The experiment marker that gates an unstable feature.\n * @example\n * ```ts\n * const employee = await client(__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid)\n * .fetchOneByRid(Employee, \"ri.phonograph2-objects.main.object.1234\");\n * ```\n * @returns the experiment-specific function surface.\n */\n <\n Q extends\n | Experiment<\"2.0.8\">\n | Experiment<\"2.1.0\">\n | Experiment<\"2.59.0\">\n | Experiment<\"2.2.0\">\n | Experiment<\"2.8.0\">\n | Experiment<\"2.19.0\">,\n >(\n experiment: Q,\n ): ExperimentFns<Q>;\n\n /**\n * Fetches runtime metadata for the given ontology definition. The returned shape\n * is dispatched on the kind of definition passed: {@link ObjectMetadata},\n * {@link InterfaceMetadata}, {@link ActionMetadata}, or {@link QueryMetadata}.\n * @param o - The object type, interface, action, or query definition to look up.\n * @example\n * ```ts\n * const meta = await client.fetchMetadata(Employee);\n * console.log(meta.displayName, meta.description);\n * ```\n * @returns a promise resolving to the metadata for the given definition.\n */\n fetchMetadata<\n Q extends\n | ObjectTypeDefinition\n | InterfaceDefinition\n | ActionDefinition<any>\n | QueryDefinition<any>,\n >(\n o: Q,\n ): Promise<\n Q extends ObjectTypeDefinition\n ? ObjectMetadata\n : Q extends InterfaceDefinition\n ? InterfaceMetadata\n : Q extends ActionDefinition<any>\n ? ActionMetadata\n : Q extends QueryDefinition<any>\n ? QueryMetadata\n : never\n >;\n\n /** @internal */\n [additionalContext]: MinimalClient;\n}\n\n// DO NOT EXPORT FROM PACKAGE\n/** @internal */\nexport const additionalContext: unique symbol = Symbol(\"additionalContext\");\n\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst MaxOsdkVersion = \"2.89.0\";\n// END: THIS IS GENERATED CODE. DO NOT EDIT.\nexport type MaxOsdkVersion = typeof MaxOsdkVersion;\nconst ErrorMessage: unique symbol = Symbol(\"ErrorMessage\");\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA6BA;;AAqIA;AACA;AACA,OAAO,MAAMA,iBAAgC,GAAGC,MAAM,CAAC,mBAAmB,CAAC;;AAE3E;AACA,MAAMC,cAAc,GAAG,QAAQ;AAC/B;;AAEA,MAAMC,YAA2B,GAAGF,MAAM,CAAC,cAAc,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":[],"sources":["types.ts"],"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 type { CompileTimeMetadata } from \"@osdk/api\";\nimport type { AgentDefinition, AgentSession } from \"@osdk/api/unstable\";\n\n/** @beta */\nexport interface AgentSignatureFromDef<D extends AgentDefinition<unknown>> {\n /** @beta */\n experimental_getSession(sessionId: string): Promise<AgentSession>;\n\n /** @beta */\n experimental_createSession: CompileTimeMetadata<D>[\"signatures\"] extends never\n ? AgentSignature\n : CompileTimeMetadata<D>[\"signatures\"] extends {\n experimental_createSession: (\n ...args: never[]\n ) => Promise<AgentSession>;\n }\n ? CompileTimeMetadata<D>[\"signatures\"][\"experimental_createSession\"]\n : AgentSignature;\n}\n\n/** @beta */\nexport type AgentSignature = (\n args?: Record<string, unknown>,\n) => Promise<AgentSession>;\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"types.js","names":[],"sources":["types.ts"],"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 type { CompileTimeMetadata } from \"@osdk/api\";\nimport type { AgentDefinition, AgentSession } from \"@osdk/api/unstable\";\n\n/** @beta */\nexport interface AgentSignatureFromDef<D extends AgentDefinition<unknown>> {\n /** @beta */\n experimental_getSession: CompileTimeMetadata<D>[\"signatures\"] extends never\n ? (sessionId: string) => Promise<AgentSession>\n : CompileTimeMetadata<D>[\"signatures\"] extends {\n experimental_getSession: (sessionId: string) => Promise<AgentSession>;\n }\n ? CompileTimeMetadata<D>[\"signatures\"][\"experimental_getSession\"]\n : (sessionId: string) => Promise<AgentSession>;\n\n /** @beta */\n experimental_createSession: CompileTimeMetadata<D>[\"signatures\"] extends never\n ? AgentSignature\n : CompileTimeMetadata<D>[\"signatures\"] extends {\n experimental_createSession: (\n ...args: never[]\n ) => Promise<AgentSession>;\n }\n ? CompileTimeMetadata<D>[\"signatures\"][\"experimental_createSession\"]\n : AgentSignature;\n}\n\n/** @beta */\nexport type AgentSignature = (\n args?: Record<string, unknown>,\n) => Promise<AgentSession>;\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.js","names":["AgentGetStateTimeoutError","AgentSendEventTimeoutError","createClientWithTransaction","createClientFromWriteableClient","createScenario","withScenario"],"sources":["experimental.ts"],"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\nexport type {\n AgentDefinition,\n AgentParam,\n AgentContextItem,\n AgentGetStateOptions,\n AgentSessionState,\n AgentSessionStatus,\n AgentSendEventOptions,\n AgentSession,\n} from \"@osdk/api/unstable\";\n\nexport {\n AgentGetStateTimeoutError,\n AgentSendEventTimeoutError,\n} from \"@osdk/api/unstable\";\n\nexport { createClientWithTransaction } from \"../createClient.js\";\nexport { createClientFromWriteableClient } from \"../createClientFromWriteableClient.js\";\n\nexport { createScenario } from \"../scenarios/createScenario.js\";\nexport type { EXPERIMENTAL_ScenarioClient } from \"../scenarios/ScenarioClient.js\";\nexport { withScenario } from \"../scenarios/withScenario.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAaA,SACEA,yBAAyB,EACzBC,0BAA0B,QACrB,oBAAoB;AAE3B,SAASC,2BAA2B,QAAQ,oBAAoB;AAChE,SAASC,+BAA+B,QAAQ,uCAAuC;AAEvF,SAASC,cAAc,QAAQ,gCAAgC;AAE/D,SAASC,YAAY,QAAQ,8BAA8B","ignoreList":[]}
1
+ {"version":3,"file":"experimental.js","names":["AgentGetStateTimeoutError","AgentSendEventTimeoutError","createClientWithTransaction","createClientFromWriteableClient","createScenario","withScenario"],"sources":["experimental.ts"],"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\nexport type {\n AgentDefinition,\n AgentParam,\n AgentResult,\n AgentContextItem,\n AgentGetStateOptions,\n AgentSessionState,\n AgentSessionStatus,\n AgentSendEventOptions,\n AgentSession,\n} from \"@osdk/api/unstable\";\n\nexport {\n AgentGetStateTimeoutError,\n AgentSendEventTimeoutError,\n} from \"@osdk/api/unstable\";\n\nexport { createClientWithTransaction } from \"../createClient.js\";\nexport { createClientFromWriteableClient } from \"../createClientFromWriteableClient.js\";\n\nexport { createScenario } from \"../scenarios/createScenario.js\";\nexport type { EXPERIMENTAL_ScenarioClient } from \"../scenarios/ScenarioClient.js\";\nexport { withScenario } from \"../scenarios/withScenario.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAcA,SACEA,yBAAyB,EACzBC,0BAA0B,QACrB,oBAAoB;AAE3B,SAASC,2BAA2B,QAAQ,oBAAoB;AAChE,SAASC,+BAA+B,QAAQ,uCAAuC;AAEvF,SAASC,cAAc,QAAQ,gCAAgC;AAE/D,SAASC,YAAY,QAAQ,8BAA8B","ignoreList":[]}
@@ -14,6 +14,6 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- export const USER_AGENT = `osdk-client/${"2.88.0"}`;
18
- export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.88.0"}`;
17
+ export const USER_AGENT = `osdk-client/${"2.89.0-main-b8cfd7cc0d80e486c4ac145e259bf97e220d93da"}`;
18
+ export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.89.0-main-b8cfd7cc0d80e486c4ac145e259bf97e220d93da"}`;
19
19
  //# sourceMappingURL=UserAgent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserAgent.js","names":["USER_AGENT","OBSERVABLE_USER_AGENT"],"sources":["UserAgent.ts"],"sourcesContent":["/*\n * Copyright 2023 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 const USER_AGENT: string = `osdk-client/${process.env.PACKAGE_VERSION}`;\nexport const OBSERVABLE_USER_AGENT: string = `osdk-observable-client/${process.env.PACKAGE_VERSION}`;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMA,UAAkB,GAAG,yBAA4C;AAC9E,OAAO,MAAMC,qBAA6B,GAAG,oCAAuD","ignoreList":[]}
1
+ {"version":3,"file":"UserAgent.js","names":["USER_AGENT","OBSERVABLE_USER_AGENT"],"sources":["UserAgent.ts"],"sourcesContent":["/*\n * Copyright 2023 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 const USER_AGENT: string = `osdk-client/${process.env.PACKAGE_VERSION}`;\nexport const OBSERVABLE_USER_AGENT: string = `osdk-observable-client/${process.env.PACKAGE_VERSION}`;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMA,UAAkB,GAAG,uEAA4C;AAC9E,OAAO,MAAMC,qBAA6B,GAAG,kFAAuD","ignoreList":[]}
@@ -84,7 +84,7 @@ export interface Client extends SharedClient, OldSharedClient {
84
84
  */
85
85
  fetchMetadata<Q extends ObjectTypeDefinition | InterfaceDefinition | ActionDefinition<any> | QueryDefinition<any>>(o: Q): Promise<Q extends ObjectTypeDefinition ? ObjectMetadata : Q extends InterfaceDefinition ? InterfaceMetadata : Q extends ActionDefinition<any> ? ActionMetadata : Q extends QueryDefinition<any> ? QueryMetadata : never>;
86
86
  }
87
- declare const MaxOsdkVersion = "2.88.0";
87
+ declare const MaxOsdkVersion = "2.89.0";
88
88
  export type MaxOsdkVersion = typeof MaxOsdkVersion;
89
89
  declare const ErrorMessage: unique symbol;
90
90
  export {};