@osdk/client 2.58.0 → 2.58.1-main-1aff7f421d982948f08eb265462b4b4cd8ce3cd4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @osdk/client
2
2
 
3
+ ## 2.58.1-main-1aff7f421d982948f08eb265462b4b4cd8ce3cd4
4
+
5
+ ### Patch Changes
6
+
7
+ - 1aff7f4: Allow interfaces w/ no properties to filter on pk+title
8
+ - Updated dependencies [1aff7f4]
9
+ - @osdk/api@2.58.1-main-1aff7f421d982948f08eb265462b4b4cd8ce3cd4
10
+ - @osdk/client.unstable@2.58.1-main-1aff7f421d982948f08eb265462b4b4cd8ce3cd4
11
+ - @osdk/generator-converters@2.58.1-main-1aff7f421d982948f08eb265462b4b4cd8ce3cd4
12
+
3
13
  ## 2.58.0
4
14
 
5
15
  ### Minor Changes
@@ -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.58.0";
24
+ const MaxOsdkVersion = "2.58.1";
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 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 { 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 /**\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.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.58.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;;AA2BA;;AAiIA;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 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 { 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 /**\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.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.58.1\";\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;;AA2BA;;AAiIA;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":[]}
@@ -14,6 +14,6 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- export const USER_AGENT = `osdk-client/${"2.58.0"}`;
18
- export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.58.0"}`;
17
+ export const USER_AGENT = `osdk-client/${"2.58.1-main-1aff7f421d982948f08eb265462b4b4cd8ce3cd4"}`;
18
+ export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.58.1-main-1aff7f421d982948f08eb265462b4b4cd8ce3cd4"}`;
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":[]}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkIES23ZHG_cjs = require('./chunk-IES23ZHG.cjs');
3
+ var chunkSPLHNWPF_cjs = require('./chunk-SPLHNWPF.cjs');
4
4
  var chunkE2U5O543_cjs = require('./chunk-E2U5O543.cjs');
5
5
  var chunkI2SCCYG7_cjs = require('./chunk-I2SCCYG7.cjs');
6
6
  var chunkIWUIN6JJ_cjs = require('./chunk-IWUIN6JJ.cjs');
@@ -194,7 +194,7 @@ function isScenarioClient(value) {
194
194
  return value != null && (typeof value === "object" || typeof value === "function") && typeof value.getScenarioReference === "function";
195
195
  }
196
196
  function buildScenarioClient(parent, scenarioRid) {
197
- const ctx = parent[chunkIES23ZHG_cjs.additionalContext];
197
+ const ctx = parent[chunkSPLHNWPF_cjs.additionalContext];
198
198
  if (ctx.transactionId != null) {
199
199
  console.warn("withScenario / createScenario: the supplied client has an active transaction. Ignoring the transaction and scoping to the scenario instead.");
200
200
  }
@@ -205,7 +205,7 @@ function buildScenarioClient(parent, scenarioRid) {
205
205
  logger: ctx.logger,
206
206
  UNSTABLE_DO_NOT_USE_BRANCH: ctx.branch
207
207
  }, ctx.fetch);
208
- const innerCtx = inner[chunkIES23ZHG_cjs.additionalContext];
208
+ const innerCtx = inner[chunkSPLHNWPF_cjs.additionalContext];
209
209
  async function getEditedEntityTypes() {
210
210
  const ontologyRid = await innerCtx.ontologyRid;
211
211
  const response = await OntologyScenario_exports.listScenarioEditedEntityTypes(innerCtx, ontologyRid, scenarioRid, {
@@ -377,13 +377,13 @@ async function toDataValue(value, client, actionMetadata) {
377
377
  return Promise.all(promiseArray);
378
378
  }
379
379
  if (isAttachmentUpload(value)) {
380
- const attachment = await chunkIES23ZHG_cjs.upload(client, value.data, {
380
+ const attachment = await chunkSPLHNWPF_cjs.upload(client, value.data, {
381
381
  filename: value.name
382
382
  });
383
383
  return await toDataValue(attachment.rid, client);
384
384
  }
385
385
  if (isAttachmentFile(value)) {
386
- const attachment = await chunkIES23ZHG_cjs.upload(client, value, {
386
+ const attachment = await chunkSPLHNWPF_cjs.upload(client, value, {
387
387
  filename: value.name
388
388
  });
389
389
  return await toDataValue(attachment.rid, client);
@@ -406,11 +406,11 @@ async function toDataValue(value, client, actionMetadata) {
406
406
  if (isObjectSpecifiersObject(value)) {
407
407
  return await toDataValue(value.$primaryKey, client);
408
408
  }
409
- if (chunkIES23ZHG_cjs.isWireObjectSet(value)) {
409
+ if (chunkSPLHNWPF_cjs.isWireObjectSet(value)) {
410
410
  return value;
411
411
  }
412
- if (chunkIES23ZHG_cjs.isObjectSet(value)) {
413
- return chunkIES23ZHG_cjs.getWireObjectSet(value);
412
+ if (chunkSPLHNWPF_cjs.isObjectSet(value)) {
413
+ return chunkSPLHNWPF_cjs.getWireObjectSet(value);
414
414
  }
415
415
  if (isInterfaceActionParam(value)) {
416
416
  return {
@@ -433,7 +433,7 @@ async function toDataValue(value, client, actionMetadata) {
433
433
 
434
434
  // src/actions/applyAction.ts
435
435
  async function applyAction(client, action, parameters, options = {}) {
436
- const clientWithHeaders = chunkIES23ZHG_cjs.addUserAgentAndRequestContextHeaders(chunkIES23ZHG_cjs.augmentRequestContext(client, (_) => ({
436
+ const clientWithHeaders = chunkSPLHNWPF_cjs.addUserAgentAndRequestContextHeaders(chunkSPLHNWPF_cjs.augmentRequestContext(client, (_) => ({
437
437
  finalMethodCall: "applyAction"
438
438
  })), action);
439
439
  if (Array.isArray(parameters)) {
@@ -753,7 +753,7 @@ var MediaReferencePropertyImpl = class {
753
753
  ReadToken: token
754
754
  } : void 0);
755
755
  return {
756
- itemMetadata: chunkIES23ZHG_cjs.validateMediaItemMetadata(raw)
756
+ itemMetadata: chunkSPLHNWPF_cjs.validateMediaItemMetadata(raw)
757
757
  };
758
758
  }
759
759
  getMediaReference() {
@@ -1181,8 +1181,8 @@ function get$link(holder) {
1181
1181
  [objDef.primaryKeyApiName]: rawObj.$primaryKey
1182
1182
  }).pivotTo(linkName);
1183
1183
  const value = !linkDef.multiplicity ? {
1184
- fetchOne: (options) => chunkIES23ZHG_cjs.fetchSingle(client, objDef, options ?? {}, chunkIES23ZHG_cjs.getWireObjectSet(objectSet)),
1185
- fetchOneWithErrors: (options) => chunkIES23ZHG_cjs.fetchSingleWithErrors(client, objDef, options ?? {}, chunkIES23ZHG_cjs.getWireObjectSet(objectSet))
1184
+ fetchOne: (options) => chunkSPLHNWPF_cjs.fetchSingle(client, objDef, options ?? {}, chunkSPLHNWPF_cjs.getWireObjectSet(objectSet)),
1185
+ fetchOneWithErrors: (options) => chunkSPLHNWPF_cjs.fetchSingleWithErrors(client, objDef, options ?? {}, chunkSPLHNWPF_cjs.getWireObjectSet(objectSet))
1186
1186
  } : objectSet;
1187
1187
  return [linkName, value];
1188
1188
  })));
@@ -1205,8 +1205,8 @@ function get$linkForInterface(holder) {
1205
1205
  apiName: linkDef.targetTypeApiName
1206
1206
  };
1207
1207
  const value = !linkDef.multiplicity ? {
1208
- fetchOne: (options) => chunkIES23ZHG_cjs.fetchSingle(client, linkTargetDef, options ?? {}, chunkIES23ZHG_cjs.getWireObjectSet(objectSet)),
1209
- fetchOneWithErrors: (options) => chunkIES23ZHG_cjs.fetchSingleWithErrors(client, linkTargetDef, options ?? {}, chunkIES23ZHG_cjs.getWireObjectSet(objectSet))
1208
+ fetchOne: (options) => chunkSPLHNWPF_cjs.fetchSingle(client, linkTargetDef, options ?? {}, chunkSPLHNWPF_cjs.getWireObjectSet(objectSet)),
1209
+ fetchOneWithErrors: (options) => chunkSPLHNWPF_cjs.fetchSingleWithErrors(client, linkTargetDef, options ?? {}, chunkSPLHNWPF_cjs.getWireObjectSet(objectSet))
1210
1210
  } : objectSet;
1211
1211
  return [linkName, value];
1212
1212
  })));
@@ -1234,7 +1234,7 @@ function extractValueByImplementation(underlying, impl) {
1234
1234
  }
1235
1235
  }
1236
1236
  function createOsdkInterface(underlying, interfaceDef) {
1237
- const [objApiNamespace] = chunkIES23ZHG_cjs.extractNamespace(interfaceDef.apiName);
1237
+ const [objApiNamespace] = chunkSPLHNWPF_cjs.extractNamespace(interfaceDef.apiName);
1238
1238
  const objDef = underlying[ObjectDefRef];
1239
1239
  return Object.freeze(Object.defineProperties({}, {
1240
1240
  // first to minimize hidden classes
@@ -1297,7 +1297,7 @@ function createOsdkInterface(underlying, interfaceDef) {
1297
1297
  value: interfaceDef
1298
1298
  },
1299
1299
  ...Object.fromEntries(Object.keys(interfaceDef.properties).map((p) => {
1300
- const [apiNamespace, apiName] = chunkIES23ZHG_cjs.extractNamespace(p);
1300
+ const [apiNamespace, apiName] = chunkSPLHNWPF_cjs.extractNamespace(p);
1301
1301
  const exposedName = apiNamespace === objApiNamespace ? apiName : p;
1302
1302
  const impl = objDef.interfaceImplementations?.[interfaceDef.apiName]?.[p];
1303
1303
  if (impl != null) {
@@ -1346,7 +1346,7 @@ function remapPropertySecuritiesForInterface(underlyingSecurities, objDef, inter
1346
1346
  }
1347
1347
  const interfacePropName = inverseMap[objPropName];
1348
1348
  if (interfacePropName == null) continue;
1349
- const [apiNamespace, apiName] = chunkIES23ZHG_cjs.extractNamespace(interfacePropName);
1349
+ const [apiNamespace, apiName] = chunkSPLHNWPF_cjs.extractNamespace(interfacePropName);
1350
1350
  const key = apiNamespace === objApiNamespace ? apiName : interfacePropName;
1351
1351
  remapped[key] = underlyingSecurities[objPropName];
1352
1352
  }
@@ -1511,9 +1511,9 @@ function modifyRdpProperties(client, derivedPropertyTypeByName, rawValue, propKe
1511
1511
  switch (derivedPropertyTypeByName[propKey].selectedOrCollectedPropertyType?.type) {
1512
1512
  case "attachment":
1513
1513
  if (Array.isArray(rawValue)) {
1514
- return rawValue.map((a) => chunkIES23ZHG_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1514
+ return rawValue.map((a) => chunkSPLHNWPF_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1515
1515
  } else {
1516
- return chunkIES23ZHG_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1516
+ return chunkSPLHNWPF_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1517
1517
  }
1518
1518
  default:
1519
1519
  process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Derived property aggregations for Timeseries and Media are not supported") : invariant3__default.default(false) ;
@@ -1529,9 +1529,9 @@ function createSpecialProperty(client, objectDef, rawObject, p) {
1529
1529
  }
1530
1530
  if (propDef.type === "attachment") {
1531
1531
  if (Array.isArray(rawValue)) {
1532
- return rawValue.map((a) => chunkIES23ZHG_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1532
+ return rawValue.map((a) => chunkSPLHNWPF_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1533
1533
  }
1534
- return chunkIES23ZHG_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1534
+ return chunkSPLHNWPF_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1535
1535
  }
1536
1536
  if (propDef.type === "cipherText") {
1537
1537
  return new CipherTextPropertyImpl({
@@ -1884,11 +1884,11 @@ var createStandardOntologyProviderFactory = (client) => {
1884
1884
  };
1885
1885
 
1886
1886
  // src/util/UserAgent.ts
1887
- var USER_AGENT = `osdk-client/${"2.58.0"}`;
1888
- var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.58.0"}`;
1887
+ var USER_AGENT = `osdk-client/${"2.58.1-main-1aff7f421d982948f08eb265462b4b4cd8ce3cd4"}`;
1888
+ var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.58.1-main-1aff7f421d982948f08eb265462b4b4cd8ce3cd4"}`;
1889
1889
 
1890
1890
  // src/createMinimalClient.ts
1891
- function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = chunkIES23ZHG_cjs.createObjectSet, createOntologyProviderFactory = createStandardOntologyProviderFactory) {
1891
+ function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = chunkSPLHNWPF_cjs.createObjectSet, createOntologyProviderFactory = createStandardOntologyProviderFactory) {
1892
1892
  if (process.env.NODE_ENV !== "production") {
1893
1893
  try {
1894
1894
  new URL(baseUrl);
@@ -2566,13 +2566,13 @@ async function toDataValueQueries(value, client, desiredType) {
2566
2566
  switch (desiredType.type) {
2567
2567
  case "attachment": {
2568
2568
  if (isAttachmentUpload(value)) {
2569
- const attachment = await chunkIES23ZHG_cjs.upload(client, value.data, {
2569
+ const attachment = await chunkSPLHNWPF_cjs.upload(client, value.data, {
2570
2570
  filename: value.name
2571
2571
  });
2572
2572
  return attachment.rid;
2573
2573
  }
2574
2574
  if (isAttachmentFile(value)) {
2575
- const attachment = await chunkIES23ZHG_cjs.upload(client, value, {
2575
+ const attachment = await chunkSPLHNWPF_cjs.upload(client, value, {
2576
2576
  filename: value.name
2577
2577
  });
2578
2578
  return attachment.rid;
@@ -2627,11 +2627,11 @@ async function toDataValueQueries(value, client, desiredType) {
2627
2627
  }
2628
2628
  case "objectSet":
2629
2629
  case "interfaceObjectSet": {
2630
- if (chunkIES23ZHG_cjs.isWireObjectSet(value)) {
2630
+ if (chunkSPLHNWPF_cjs.isWireObjectSet(value)) {
2631
2631
  return value;
2632
2632
  }
2633
- if (chunkIES23ZHG_cjs.isObjectSet(value)) {
2634
- return chunkIES23ZHG_cjs.getWireObjectSet(value);
2633
+ if (chunkSPLHNWPF_cjs.isObjectSet(value)) {
2634
+ return chunkSPLHNWPF_cjs.getWireObjectSet(value);
2635
2635
  }
2636
2636
  break;
2637
2637
  }
@@ -2676,7 +2676,7 @@ async function applyQuery(client, query, params) {
2676
2676
  if (client.flushEdits != null) {
2677
2677
  await client.flushEdits();
2678
2678
  }
2679
- const response = await execute(chunkIES23ZHG_cjs.addUserAgentAndRequestContextHeaders(chunkIES23ZHG_cjs.augmentRequestContext(client, (_) => ({
2679
+ const response = await execute(chunkSPLHNWPF_cjs.addUserAgentAndRequestContextHeaders(chunkSPLHNWPF_cjs.augmentRequestContext(client, (_) => ({
2680
2680
  finalMethodCall: "applyQuery"
2681
2681
  })), query), await client.ontologyRid, query.apiName, {
2682
2682
  parameters: params ? await remapQueryParams(params, client, (await qd).parameters) : {}
@@ -2722,10 +2722,10 @@ async function remapQueryResponse(client, responseDataType, responseValue, defin
2722
2722
  return responseValue;
2723
2723
  }
2724
2724
  case "attachment": {
2725
- return chunkIES23ZHG_cjs.hydrateAttachmentFromRidInternal(client, responseValue);
2725
+ return chunkSPLHNWPF_cjs.hydrateAttachmentFromRidInternal(client, responseValue);
2726
2726
  }
2727
2727
  case "mediaReference": {
2728
- return chunkIES23ZHG_cjs.createMediaFromReferenceInternal(client, responseValue);
2728
+ return chunkSPLHNWPF_cjs.createMediaFromReferenceInternal(client, responseValue);
2729
2729
  }
2730
2730
  case "object": {
2731
2731
  const def = definitions.get(responseDataType.object);
@@ -2747,7 +2747,7 @@ async function remapQueryResponse(client, responseDataType, responseValue, defin
2747
2747
  throw new Error(`Missing definition for ${responseDataType.objectSet}`);
2748
2748
  }
2749
2749
  if (typeof responseValue === "string") {
2750
- return chunkIES23ZHG_cjs.createObjectSet(def, client, {
2750
+ return chunkSPLHNWPF_cjs.createObjectSet(def, client, {
2751
2751
  type: "intersect",
2752
2752
  objectSets: [{
2753
2753
  type: "base",
@@ -2758,7 +2758,7 @@ async function remapQueryResponse(client, responseDataType, responseValue, defin
2758
2758
  }]
2759
2759
  });
2760
2760
  }
2761
- return chunkIES23ZHG_cjs.createObjectSet(def, client, responseValue);
2761
+ return chunkSPLHNWPF_cjs.createObjectSet(def, client, responseValue);
2762
2762
  }
2763
2763
  case "struct": {
2764
2764
  for (const [key, subtype] of Object.entries(responseDataType.struct)) {
@@ -2953,7 +2953,7 @@ function createClientInternal(objectSetFactory, transactionRid, flushEdits, scen
2953
2953
  ontologyRid
2954
2954
  }, baseUrl, tokenProvider, {
2955
2955
  ...options,
2956
- logger: options?.logger ?? new chunkIES23ZHG_cjs.MinimalLogger(),
2956
+ logger: options?.logger ?? new chunkSPLHNWPF_cjs.MinimalLogger(),
2957
2957
  transactionId: transactionRid,
2958
2958
  flushEdits,
2959
2959
  scenarioRid,
@@ -2993,16 +2993,16 @@ function createClientFromContext(clientCtx) {
2993
2993
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid.name:
2994
2994
  return {
2995
2995
  fetchOneByRid: async (objectType, rid, options) => {
2996
- return await chunkIES23ZHG_cjs.fetchSingle(clientCtx, objectType, options, createWithRid([rid]));
2996
+ return await chunkSPLHNWPF_cjs.fetchSingle(clientCtx, objectType, options, createWithRid([rid]));
2997
2997
  }
2998
2998
  };
2999
2999
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid.name:
3000
3000
  return {
3001
3001
  fetchPageByRid: async (objectOrInterfaceType, rids, options = {}) => {
3002
- return await chunkIES23ZHG_cjs.fetchPage(clientCtx, objectOrInterfaceType, options, createWithRid(rids));
3002
+ return await chunkSPLHNWPF_cjs.fetchPage(clientCtx, objectOrInterfaceType, options, createWithRid(rids));
3003
3003
  },
3004
3004
  fetchPageByRidNoType: async (rids, options) => {
3005
- return await chunkIES23ZHG_cjs.fetchStaticRidPage(clientCtx, rids, options ?? {});
3005
+ return await chunkSPLHNWPF_cjs.fetchStaticRidPage(clientCtx, rids, options ?? {});
3006
3006
  }
3007
3007
  };
3008
3008
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet.name:
@@ -3046,7 +3046,7 @@ function createClientFromContext(clientCtx) {
3046
3046
  [symbolClientContext2]: {
3047
3047
  value: clientCtx
3048
3048
  },
3049
- [chunkIES23ZHG_cjs.additionalContext]: {
3049
+ [chunkSPLHNWPF_cjs.additionalContext]: {
3050
3050
  value: clientCtx
3051
3051
  },
3052
3052
  fetchMetadata: {
@@ -3055,10 +3055,10 @@ function createClientFromContext(clientCtx) {
3055
3055
  });
3056
3056
  return client;
3057
3057
  }
3058
- var createClient = createClientInternal.bind(void 0, chunkIES23ZHG_cjs.createObjectSet, void 0, void 0, void 0, void 0);
3059
- var createClientWithTransaction = (transactionRid, flushEdits, ...args) => createClientInternal(chunkIES23ZHG_cjs.createObjectSet, transactionRid, flushEdits, void 0, void 0, ...args);
3060
- var createClientWithSubscriptionConnection = (createSubscriptionConnection, ...args) => createClientInternal(chunkIES23ZHG_cjs.createObjectSet, void 0, void 0, void 0, createSubscriptionConnection, ...args);
3061
- var createClientWithScenario = (scenarioRid, ...args) => createClientInternal(chunkIES23ZHG_cjs.createObjectSet, void 0, void 0, scenarioRid, void 0, ...args);
3058
+ var createClient = createClientInternal.bind(void 0, chunkSPLHNWPF_cjs.createObjectSet, void 0, void 0, void 0, void 0);
3059
+ var createClientWithTransaction = (transactionRid, flushEdits, ...args) => createClientInternal(chunkSPLHNWPF_cjs.createObjectSet, transactionRid, flushEdits, void 0, void 0, ...args);
3060
+ var createClientWithSubscriptionConnection = (createSubscriptionConnection, ...args) => createClientInternal(chunkSPLHNWPF_cjs.createObjectSet, void 0, void 0, void 0, createSubscriptionConnection, ...args);
3061
+ var createClientWithScenario = (scenarioRid, ...args) => createClientInternal(chunkSPLHNWPF_cjs.createObjectSet, void 0, void 0, scenarioRid, void 0, ...args);
3062
3062
  function createWithRid(rids) {
3063
3063
  const withRid = {
3064
3064
  type: "static",
@@ -3089,5 +3089,5 @@ exports.createOsdkObject = createOsdkObject;
3089
3089
  exports.extractPrimaryKeyFromObjectSpecifier = extractPrimaryKeyFromObjectSpecifier;
3090
3090
  exports.getDefType = getDefType;
3091
3091
  exports.isObjectSpecifiersObject = isObjectSpecifiersObject;
3092
- //# sourceMappingURL=chunk-ROM4STIX.cjs.map
3093
- //# sourceMappingURL=chunk-ROM4STIX.cjs.map
3092
+ //# sourceMappingURL=chunk-2VNAOWER.cjs.map
3093
+ //# sourceMappingURL=chunk-2VNAOWER.cjs.map