@osdk/client 2.22.0 → 2.23.0-main-9fb5afb7955ddffd2b9a89d03d6c2ca3528e371c

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.
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkNRPYHQFF_cjs = require('../chunk-NRPYHQFF.cjs');
4
- require('../chunk-TDQU3KC2.cjs');
3
+ var chunkY4A24KPQ_cjs = require('../chunk-Y4A24KPQ.cjs');
4
+ require('../chunk-MURBAIS4.cjs');
5
5
  require('../chunk-YJG67XL4.cjs');
6
6
  require('../chunk-TQUNF2DZ.cjs');
7
- var chunkCNVWYZKL_cjs = require('../chunk-CNVWYZKL.cjs');
7
+ var chunkKILPUOJP_cjs = require('../chunk-KILPUOJP.cjs');
8
8
  require('../chunk-ZPLXXOU6.cjs');
9
9
  require('../chunk-CEBSLQQC.cjs');
10
10
  require('../chunk-DOXHU27E.cjs');
@@ -13,16 +13,16 @@ require('../chunk-74HV6NQQ.cjs');
13
13
 
14
14
  // src/createClientFromWriteableClient.ts
15
15
  function createClientFromWriteableClient(writeableClient, options) {
16
- const ctx = writeableClient[chunkCNVWYZKL_cjs.additionalContext];
16
+ const ctx = writeableClient[chunkKILPUOJP_cjs.additionalContext];
17
17
  if (ctx.transactionId === void 0 || ctx.flushEdits === void 0) {
18
18
  throw new Error("createClientFromWriteableClient: provided client has no active transaction");
19
19
  }
20
- return chunkNRPYHQFF_cjs.createClientWithTransaction(options?.transactionId ?? ctx.transactionId, ctx.flushEdits, options?.baseUrl ?? ctx.baseUrl, options?.ontologyRid ?? ctx.ontologyRid, options?.tokenProvider ?? ctx.tokenProvider);
20
+ return chunkY4A24KPQ_cjs.createClientWithTransaction(options?.transactionId ?? ctx.transactionId, ctx.flushEdits, options?.baseUrl ?? ctx.baseUrl, options?.ontologyRid ?? ctx.ontologyRid, options?.tokenProvider ?? ctx.tokenProvider);
21
21
  }
22
22
 
23
23
  Object.defineProperty(exports, "createClientWithTransaction", {
24
24
  enumerable: true,
25
- get: function () { return chunkNRPYHQFF_cjs.createClientWithTransaction; }
25
+ get: function () { return chunkY4A24KPQ_cjs.createClientWithTransaction; }
26
26
  });
27
27
  exports.createClientFromWriteableClient = createClientFromWriteableClient;
28
28
  //# sourceMappingURL=experimental.cjs.map
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkTQUNF2DZ_cjs = require('../chunk-TQUNF2DZ.cjs');
4
- var chunkCNVWYZKL_cjs = require('../chunk-CNVWYZKL.cjs');
4
+ var chunkKILPUOJP_cjs = require('../chunk-KILPUOJP.cjs');
5
5
  require('../chunk-ZPLXXOU6.cjs');
6
6
  require('../chunk-D26YLHTV.cjs');
7
7
  require('../chunk-74HV6NQQ.cjs');
8
8
 
9
9
  // src/public-utils/createAndFetchTempObjectSetRid.ts
10
10
  async function createAndFetchTempObjectSetRid(client, objectSet) {
11
- const response = await chunkCNVWYZKL_cjs.createTemporary(client, await client[chunkCNVWYZKL_cjs.additionalContext].ontologyRid, {
12
- objectSet: chunkCNVWYZKL_cjs.getWireObjectSet(objectSet)
11
+ const response = await chunkKILPUOJP_cjs.createTemporary(client, await client[chunkKILPUOJP_cjs.additionalContext].ontologyRid, {
12
+ objectSet: chunkKILPUOJP_cjs.getWireObjectSet(objectSet)
13
13
  });
14
14
  return response.objectSetRid;
15
15
  }
16
16
 
17
17
  // src/public-utils/hydrateObjectSetFromObjectRids.ts
18
18
  function hydrateObjectSetFromObjectRids(client, definition, rids) {
19
- return chunkCNVWYZKL_cjs.createObjectSet(definition, client[chunkCNVWYZKL_cjs.additionalContext], {
19
+ return chunkKILPUOJP_cjs.createObjectSet(definition, client[chunkKILPUOJP_cjs.additionalContext], {
20
20
  type: "intersect",
21
21
  objectSets: [definition.type === "interface" ? {
22
22
  type: "interfaceBase",
@@ -36,7 +36,7 @@ function asMutableArray(array) {
36
36
 
37
37
  // src/public-utils/hydrateObjectSetFromRid.ts
38
38
  function hydrateObjectSetFromRid(client, definition, rid) {
39
- return chunkCNVWYZKL_cjs.createObjectSet(definition, client[chunkCNVWYZKL_cjs.additionalContext], {
39
+ return chunkKILPUOJP_cjs.createObjectSet(definition, client[chunkKILPUOJP_cjs.additionalContext], {
40
40
  type: "intersect",
41
41
  objectSets: [definition.type === "interface" ? {
42
42
  type: "interfaceBase",
@@ -107,11 +107,11 @@ Object.defineProperty(exports, "MinimalLogger", {
107
107
  });
108
108
  Object.defineProperty(exports, "createMediaFromReference", {
109
109
  enumerable: true,
110
- get: function () { return chunkCNVWYZKL_cjs.createMediaFromReference; }
110
+ get: function () { return chunkKILPUOJP_cjs.createMediaFromReference; }
111
111
  });
112
112
  Object.defineProperty(exports, "hydrateAttachmentFromRid", {
113
113
  enumerable: true,
114
- get: function () { return chunkCNVWYZKL_cjs.hydrateAttachmentFromRid; }
114
+ get: function () { return chunkKILPUOJP_cjs.hydrateAttachmentFromRid; }
115
115
  });
116
116
  exports.BrowserLogger = BrowserLogger;
117
117
  exports.createAndFetchTempObjectSetRid = createAndFetchTempObjectSetRid;
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunk77XXXUGJ_cjs = require('../chunk-77XXXUGJ.cjs');
4
- require('../chunk-NRPYHQFF.cjs');
5
- require('../chunk-TDQU3KC2.cjs');
3
+ var chunkNBXUTMUO_cjs = require('../chunk-NBXUTMUO.cjs');
4
+ require('../chunk-Y4A24KPQ.cjs');
5
+ require('../chunk-MURBAIS4.cjs');
6
6
  require('../chunk-YJG67XL4.cjs');
7
7
  require('../chunk-TQUNF2DZ.cjs');
8
- require('../chunk-CNVWYZKL.cjs');
8
+ require('../chunk-KILPUOJP.cjs');
9
9
  require('../chunk-ZPLXXOU6.cjs');
10
10
  require('../chunk-CEBSLQQC.cjs');
11
11
  require('../chunk-DOXHU27E.cjs');
@@ -16,7 +16,7 @@ require('../chunk-74HV6NQQ.cjs');
16
16
 
17
17
  Object.defineProperty(exports, "createObservableClient", {
18
18
  enumerable: true,
19
- get: function () { return chunk77XXXUGJ_cjs.createObservableClient; }
19
+ get: function () { return chunkNBXUTMUO_cjs.createObservableClient; }
20
20
  });
21
21
  //# sourceMappingURL=observable.cjs.map
22
22
  //# sourceMappingURL=observable.cjs.map
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunk77XXXUGJ_cjs = require('../chunk-77XXXUGJ.cjs');
4
- var chunkNRPYHQFF_cjs = require('../chunk-NRPYHQFF.cjs');
5
- require('../chunk-TDQU3KC2.cjs');
3
+ var chunkNBXUTMUO_cjs = require('../chunk-NBXUTMUO.cjs');
4
+ var chunkY4A24KPQ_cjs = require('../chunk-Y4A24KPQ.cjs');
5
+ require('../chunk-MURBAIS4.cjs');
6
6
  require('../chunk-YJG67XL4.cjs');
7
7
  require('../chunk-TQUNF2DZ.cjs');
8
- var chunkCNVWYZKL_cjs = require('../chunk-CNVWYZKL.cjs');
8
+ var chunkKILPUOJP_cjs = require('../chunk-KILPUOJP.cjs');
9
9
  require('../chunk-ZPLXXOU6.cjs');
10
10
  require('../chunk-CEBSLQQC.cjs');
11
11
  require('../chunk-DOXHU27E.cjs');
@@ -170,7 +170,7 @@ function getLinkQueryOptions(linkDef, sourceObject, pageSize) {
170
170
  return options;
171
171
  }
172
172
  async function buildObjectSetFromLinkDefByType(client, sourceType, sourcePrimaryKey, linkDef) {
173
- const metadata = await client[chunkCNVWYZKL_cjs.additionalContext].ontologyProvider.getObjectDefinition(sourceType.apiName);
173
+ const metadata = await client[chunkKILPUOJP_cjs.additionalContext].ontologyProvider.getObjectDefinition(sourceType.apiName);
174
174
  const pkFieldName = metadata.primaryKeyApiName;
175
175
  let objectSet = client(sourceType).where({
176
176
  [pkFieldName]: sourcePrimaryKey
@@ -229,23 +229,23 @@ function resolveSymbolBindings(value, sourcePrimaryKey) {
229
229
 
230
230
  Object.defineProperty(exports, "createObservableClient", {
231
231
  enumerable: true,
232
- get: function () { return chunk77XXXUGJ_cjs.createObservableClient; }
232
+ get: function () { return chunkNBXUTMUO_cjs.createObservableClient; }
233
233
  });
234
234
  Object.defineProperty(exports, "createClientWithTransaction", {
235
235
  enumerable: true,
236
- get: function () { return chunkNRPYHQFF_cjs.createClientWithTransaction; }
236
+ get: function () { return chunkY4A24KPQ_cjs.createClientWithTransaction; }
237
237
  });
238
238
  Object.defineProperty(exports, "augment", {
239
239
  enumerable: true,
240
- get: function () { return chunkCNVWYZKL_cjs.augment; }
240
+ get: function () { return chunkKILPUOJP_cjs.augment; }
241
241
  });
242
242
  Object.defineProperty(exports, "getWireObjectSet", {
243
243
  enumerable: true,
244
- get: function () { return chunkCNVWYZKL_cjs.getWireObjectSet; }
244
+ get: function () { return chunkKILPUOJP_cjs.getWireObjectSet; }
245
245
  });
246
246
  Object.defineProperty(exports, "isObjectSet", {
247
247
  enumerable: true,
248
- get: function () { return chunkCNVWYZKL_cjs.isObjectSet; }
248
+ get: function () { return chunkKILPUOJP_cjs.isObjectSet; }
249
249
  });
250
250
  exports.applyShapeTransformations = applyShapeTransformations;
251
251
  exports.applyShapeTransformationsToArray = applyShapeTransformationsToArray;
@@ -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.22.0";
24
+ const MaxOsdkVersion = "2.23.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 Experiment,\n ExperimentFns,\n MinimalObjectSet,\n} from \"@osdk/api/unstable\";\nimport type { SharedClient } from \"@osdk/shared.client2\";\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> = Q extends VersionBound<infer V> ? (\n SatisfiesSemver<V, MaxOsdkVersion> extends true ? Q\n : Q & {\n [ErrorMessage]:\n `Your SDK requires a semver compatible version with ${V}. You have ${MaxOsdkVersion}. Update your package.json`;\n }\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\"] ? 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\"] ? 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>>(\n o: Q,\n ): 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>>(\n o: Q,\n ): QuerySignatureFromDef<Q>;\n\n /**\n * @param experiment - The experiment marker that gates an unstable feature.\n * @example\n * ```ts\n * const ref = await client(__EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference)\n * .createMediaReference({ data: blob, fileName: \"media.mp4\", objectType: Employee, propertyType: \"photo\" });\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): Promise<\n Q extends ObjectTypeDefinition ? ObjectMetadata\n : Q extends InterfaceDefinition ? InterfaceMetadata\n : Q extends ActionDefinition<any> ? ActionMetadata\n : Q extends QueryDefinition<any> ? 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.22.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;;AA0BA;;AA8HA;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\";\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> = Q extends VersionBound<infer V> ? (\n SatisfiesSemver<V, MaxOsdkVersion> extends true ? Q\n : Q & {\n [ErrorMessage]:\n `Your SDK requires a semver compatible version with ${V}. You have ${MaxOsdkVersion}. Update your package.json`;\n }\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\"] ? 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\"] ? 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>>(\n o: Q,\n ): 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>>(\n o: Q,\n ): QuerySignatureFromDef<Q>;\n\n /**\n * @param experiment - The experiment marker that gates an unstable feature.\n * @example\n * ```ts\n * const ref = await client(__EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference)\n * .createMediaReference({ data: blob, fileName: \"media.mp4\", objectType: Employee, propertyType: \"photo\" });\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): Promise<\n Q extends ObjectTypeDefinition ? ObjectMetadata\n : Q extends InterfaceDefinition ? InterfaceMetadata\n : Q extends ActionDefinition<any> ? ActionMetadata\n : Q extends QueryDefinition<any> ? 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.23.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;;AA0BA;;AA8HA;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.22.0"}`;
18
- export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.22.0"}`;
17
+ export const USER_AGENT = `osdk-client/${"2.23.0-main-9fb5afb7955ddffd2b9a89d03d6c2ca3528e371c"}`;
18
+ export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.23.0-main-9fb5afb7955ddffd2b9a89d03d6c2ca3528e371c"}`;
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 =\n `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,GACxC,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 =\n `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,GACxC,kFAAuD","ignoreList":[]}
@@ -81,7 +81,7 @@ export interface Client extends SharedClient, OldSharedClient {
81
81
  */
82
82
  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>;
83
83
  }
84
- declare const MaxOsdkVersion = "2.22.0";
84
+ declare const MaxOsdkVersion = "2.23.0";
85
85
  export type MaxOsdkVersion = typeof MaxOsdkVersion;
86
86
  declare const ErrorMessage: unique symbol;
87
87
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/client",
3
- "version": "2.22.0",
3
+ "version": "2.23.0-main-9fb5afb7955ddffd2b9a89d03d6c2ca3528e371c",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",
@@ -90,15 +90,15 @@
90
90
  "tiny-invariant": "^1.3.3",
91
91
  "type-fest": "^4.41.0",
92
92
  "ws": "^8.18.3",
93
- "@osdk/client.unstable": "2.22.0",
94
- "@osdk/api": "~2.22.0",
95
- "@osdk/generator-converters": "2.22.0",
93
+ "@osdk/api": "~2.23.0-main-9fb5afb7955ddffd2b9a89d03d6c2ca3528e371c",
94
+ "@osdk/client.unstable": "2.23.0-main-9fb5afb7955ddffd2b9a89d03d6c2ca3528e371c",
95
+ "@osdk/generator-converters": "2.23.0-main-9fb5afb7955ddffd2b9a89d03d6c2ca3528e371c",
96
96
  "@osdk/shared.client.impl": "~1.12.0",
97
97
  "@osdk/shared.net.fetch": "~1.10.0",
98
98
  "@osdk/shared.net.errors": "~2.10.0"
99
99
  },
100
100
  "peerDependencies": {
101
- "@osdk/shared.test": "^2.17.0"
101
+ "@osdk/shared.test": "^2.17.1-main-9fb5afb7955ddffd2b9a89d03d6c2ca3528e371c"
102
102
  },
103
103
  "peerDependenciesMeta": {
104
104
  "@osdk/shared.test": {
@@ -124,8 +124,8 @@
124
124
  "ts-expect": "^1.3.0",
125
125
  "typescript": "~5.5.4",
126
126
  "zod": "^3.25.76",
127
+ "@osdk/client.test.ontology": "2.22.1-main-9fb5afb7955ddffd2b9a89d03d6c2ca3528e371c",
127
128
  "@osdk/monorepo.api-extractor": "~0.7.0",
128
- "@osdk/client.test.ontology": "2.22.0",
129
129
  "@osdk/monorepo.tsconfig": "~0.7.0"
130
130
  },
131
131
  "publishConfig": {