@osdk/client 2.35.0 → 2.36.0

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 (42) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/browser/Client.js +1 -1
  3. package/build/browser/Client.js.map +1 -1
  4. package/build/browser/scenarios/ScenarioClient.js +5 -3
  5. package/build/browser/scenarios/ScenarioClient.js.map +1 -1
  6. package/build/browser/scenarios/createScenario.js +3 -5
  7. package/build/browser/scenarios/createScenario.js.map +1 -1
  8. package/build/browser/scenarios/withScenario.js +2 -1
  9. package/build/browser/scenarios/withScenario.js.map +1 -1
  10. package/build/browser/util/UserAgent.js +2 -2
  11. package/build/cjs/{applyStreamingQuery-IWZCZA6J.cjs → applyStreamingQuery-RK2N6TJ5.cjs} +9 -9
  12. package/build/cjs/{applyStreamingQuery-IWZCZA6J.cjs.map → applyStreamingQuery-RK2N6TJ5.cjs.map} +1 -1
  13. package/build/cjs/{chunk-A4LQCGPA.cjs → chunk-53ODHT6J.cjs} +47 -47
  14. package/build/cjs/{chunk-A4LQCGPA.cjs.map → chunk-53ODHT6J.cjs.map} +1 -1
  15. package/build/cjs/{chunk-CWBZEZQC.cjs → chunk-QUF62D2S.cjs} +76 -76
  16. package/build/cjs/{chunk-CWBZEZQC.cjs.map → chunk-QUF62D2S.cjs.map} +1 -1
  17. package/build/cjs/{chunk-LWT7AZZD.cjs → chunk-VD4QAB27.cjs} +13 -13
  18. package/build/cjs/{chunk-LWT7AZZD.cjs.map → chunk-VD4QAB27.cjs.map} +1 -1
  19. package/build/cjs/{chunk-ZLUXOM2B.cjs → chunk-ZSQBDK7L.cjs} +2 -2
  20. package/build/cjs/{chunk-ZLUXOM2B.cjs.map → chunk-ZSQBDK7L.cjs.map} +1 -1
  21. package/build/cjs/index.cjs +11 -11
  22. package/build/cjs/public/experimental.cjs +6 -6
  23. package/build/cjs/public/internal.cjs +7 -7
  24. package/build/cjs/public/observable.cjs +5 -5
  25. package/build/cjs/public/unstable-do-not-use.cjs +14 -17
  26. package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
  27. package/build/cjs/public/unstable-do-not-use.d.cts +5 -3
  28. package/build/esm/Client.js +1 -1
  29. package/build/esm/Client.js.map +1 -1
  30. package/build/esm/scenarios/ScenarioClient.js +5 -3
  31. package/build/esm/scenarios/ScenarioClient.js.map +1 -1
  32. package/build/esm/scenarios/createScenario.js +3 -5
  33. package/build/esm/scenarios/createScenario.js.map +1 -1
  34. package/build/esm/scenarios/withScenario.js +2 -1
  35. package/build/esm/scenarios/withScenario.js.map +1 -1
  36. package/build/esm/util/UserAgent.js +2 -2
  37. package/build/types/Client.d.ts +1 -1
  38. package/build/types/scenarios/createScenario.d.ts +3 -2
  39. package/build/types/scenarios/createScenario.d.ts.map +1 -1
  40. package/build/types/scenarios/withScenario.d.ts +2 -1
  41. package/build/types/scenarios/withScenario.d.ts.map +1 -1
  42. package/package.json +6 -6
@@ -4,8 +4,8 @@ var chunkYJG67XL4_cjs = require('./chunk-YJG67XL4.cjs');
4
4
  var chunkTQUNF2DZ_cjs = require('./chunk-TQUNF2DZ.cjs');
5
5
  var chunkCEBSLQQC_cjs = require('./chunk-CEBSLQQC.cjs');
6
6
  var chunkPIWGMK3H_cjs = require('./chunk-PIWGMK3H.cjs');
7
- var chunkLWT7AZZD_cjs = require('./chunk-LWT7AZZD.cjs');
8
- var chunkZLUXOM2B_cjs = require('./chunk-ZLUXOM2B.cjs');
7
+ var chunkVD4QAB27_cjs = require('./chunk-VD4QAB27.cjs');
8
+ var chunkZSQBDK7L_cjs = require('./chunk-ZSQBDK7L.cjs');
9
9
  var chunkROJIXXGF_cjs = require('./chunk-ROJIXXGF.cjs');
10
10
  var chunkH6PXPU6F_cjs = require('./chunk-H6PXPU6F.cjs');
11
11
  var chunkQ7SFCCGT_cjs = require('./chunk-Q7SFCCGT.cjs');
@@ -124,9 +124,9 @@ function isScenarioClient(value) {
124
124
  return value != null && (typeof value === "object" || typeof value === "function") && typeof value.getScenarioReference === "function";
125
125
  }
126
126
  function buildScenarioClient(parent, scenarioRid) {
127
- const ctx = parent[chunkZLUXOM2B_cjs.additionalContext];
127
+ const ctx = parent[chunkZSQBDK7L_cjs.additionalContext];
128
128
  if (ctx.transactionId != null) {
129
- throw new Error("withScenario / createScenario: the supplied client already has an active transaction. Scenarios cannot be nested on transactions.");
129
+ console.warn("withScenario / createScenario: the supplied client has an active transaction. Ignoring the transaction and scoping to the scenario instead.");
130
130
  }
131
131
  if (ctx.scenarioRid != null) {
132
132
  throw new Error("withScenario / createScenario: the supplied client already has an active scenario. Scenarios cannot be nested.");
@@ -135,7 +135,7 @@ function buildScenarioClient(parent, scenarioRid) {
135
135
  logger: ctx.logger,
136
136
  UNSTABLE_DO_NOT_USE_BRANCH: ctx.branch
137
137
  }, ctx.fetch);
138
- const innerCtx = inner[chunkZLUXOM2B_cjs.additionalContext];
138
+ const innerCtx = inner[chunkZSQBDK7L_cjs.additionalContext];
139
139
  async function getEditedEntityTypes() {
140
140
  const ontologyRid = await innerCtx.ontologyRid;
141
141
  const response = await OntologyScenario_exports.listScenarioEditedEntityTypes(innerCtx, ontologyRid, scenarioRid, {
@@ -277,7 +277,7 @@ async function toDataValue(value, client, actionMetadata) {
277
277
  }
278
278
  if (Array.isArray(value) || value instanceof Set) {
279
279
  const values = Array.from(value);
280
- if (values.some((dataValue) => chunkLWT7AZZD_cjs.isAttachmentUpload(dataValue) || chunkLWT7AZZD_cjs.isAttachmentFile(dataValue))) {
280
+ if (values.some((dataValue) => chunkVD4QAB27_cjs.isAttachmentUpload(dataValue) || chunkVD4QAB27_cjs.isAttachmentFile(dataValue))) {
281
281
  const converted = [];
282
282
  for (const value2 of values) {
283
283
  converted.push(await toDataValue(value2, client));
@@ -287,44 +287,44 @@ async function toDataValue(value, client, actionMetadata) {
287
287
  const promiseArray = Array.from(value, async (innerValue) => await toDataValue(innerValue, client));
288
288
  return Promise.all(promiseArray);
289
289
  }
290
- if (chunkLWT7AZZD_cjs.isAttachmentUpload(value)) {
291
- const attachment = await chunkZLUXOM2B_cjs.upload(client, value.data, {
290
+ if (chunkVD4QAB27_cjs.isAttachmentUpload(value)) {
291
+ const attachment = await chunkZSQBDK7L_cjs.upload(client, value.data, {
292
292
  filename: value.name
293
293
  });
294
294
  return await toDataValue(attachment.rid, client);
295
295
  }
296
- if (chunkLWT7AZZD_cjs.isAttachmentFile(value)) {
297
- const attachment = await chunkZLUXOM2B_cjs.upload(client, value, {
296
+ if (chunkVD4QAB27_cjs.isAttachmentFile(value)) {
297
+ const attachment = await chunkZSQBDK7L_cjs.upload(client, value, {
298
298
  filename: value.name
299
299
  });
300
300
  return await toDataValue(attachment.rid, client);
301
301
  }
302
- if (chunkLWT7AZZD_cjs.isMediaUpload(value)) {
302
+ if (chunkVD4QAB27_cjs.isMediaUpload(value)) {
303
303
  const mediaRef = await chunkROJIXXGF_cjs.MediaSet_exports.uploadMedia(client, value.data, {
304
304
  filename: value.fileName,
305
305
  preview: true
306
306
  });
307
307
  return await toDataValue(mediaRef, client);
308
308
  }
309
- if (chunkLWT7AZZD_cjs.isMedia(value)) {
309
+ if (chunkVD4QAB27_cjs.isMedia(value)) {
310
310
  return value.getMediaReference();
311
311
  }
312
- if (chunkLWT7AZZD_cjs.isMediaReference(value)) {
312
+ if (chunkVD4QAB27_cjs.isMediaReference(value)) {
313
313
  return value;
314
314
  }
315
315
  if (isOntologyObjectV2(value)) {
316
316
  return await toDataValue(value.__primaryKey, client);
317
317
  }
318
- if (chunkLWT7AZZD_cjs.isObjectSpecifiersObject(value)) {
318
+ if (chunkVD4QAB27_cjs.isObjectSpecifiersObject(value)) {
319
319
  return await toDataValue(value.$primaryKey, client);
320
320
  }
321
- if (chunkZLUXOM2B_cjs.isWireObjectSet(value)) {
321
+ if (chunkZSQBDK7L_cjs.isWireObjectSet(value)) {
322
322
  return value;
323
323
  }
324
- if (chunkZLUXOM2B_cjs.isObjectSet(value)) {
325
- return chunkZLUXOM2B_cjs.getWireObjectSet(value);
324
+ if (chunkZSQBDK7L_cjs.isObjectSet(value)) {
325
+ return chunkZSQBDK7L_cjs.getWireObjectSet(value);
326
326
  }
327
- if (chunkLWT7AZZD_cjs.isInterfaceActionParam(value)) {
327
+ if (chunkVD4QAB27_cjs.isInterfaceActionParam(value)) {
328
328
  return {
329
329
  objectTypeApiName: value.$objectType,
330
330
  primaryKeyValue: value.$primaryKey
@@ -345,7 +345,7 @@ async function toDataValue(value, client, actionMetadata) {
345
345
 
346
346
  // src/actions/applyAction.ts
347
347
  async function applyAction(client, action, parameters, options = {}) {
348
- const clientWithHeaders = chunkZLUXOM2B_cjs.addUserAgentAndRequestContextHeaders(chunkZLUXOM2B_cjs.augmentRequestContext(client, (_) => ({
348
+ const clientWithHeaders = chunkZSQBDK7L_cjs.addUserAgentAndRequestContextHeaders(chunkZSQBDK7L_cjs.augmentRequestContext(client, (_) => ({
349
349
  finalMethodCall: "applyAction"
350
350
  })), action);
351
351
  if (Array.isArray(parameters)) {
@@ -477,7 +477,7 @@ function getTimeRange(body) {
477
477
  }
478
478
  async function* asyncIterPointsHelper(iterator) {
479
479
  const reader = iterator.body?.getReader();
480
- for await (const point of chunkLWT7AZZD_cjs.parseStreamedResponse(chunkLWT7AZZD_cjs.iterateReadableStream(reader))) {
480
+ for await (const point of chunkVD4QAB27_cjs.parseStreamedResponse(chunkVD4QAB27_cjs.iterateReadableStream(reader))) {
481
481
  yield {
482
482
  time: point.time,
483
483
  value: point.value
@@ -573,7 +573,7 @@ var MediaReferencePropertyImpl = class {
573
573
  ReadToken: token
574
574
  } : void 0);
575
575
  return {
576
- itemMetadata: chunkZLUXOM2B_cjs.validateMediaItemMetadata(raw)
576
+ itemMetadata: chunkZSQBDK7L_cjs.validateMediaItemMetadata(raw)
577
577
  };
578
578
  }
579
579
  getMediaReference() {
@@ -1001,8 +1001,8 @@ function get$link(holder) {
1001
1001
  [objDef.primaryKeyApiName]: rawObj.$primaryKey
1002
1002
  }).pivotTo(linkName);
1003
1003
  const value = !linkDef.multiplicity ? {
1004
- fetchOne: (options) => chunkZLUXOM2B_cjs.fetchSingle(client, objDef, options ?? {}, chunkZLUXOM2B_cjs.getWireObjectSet(objectSet)),
1005
- fetchOneWithErrors: (options) => chunkZLUXOM2B_cjs.fetchSingleWithErrors(client, objDef, options ?? {}, chunkZLUXOM2B_cjs.getWireObjectSet(objectSet))
1004
+ fetchOne: (options) => chunkZSQBDK7L_cjs.fetchSingle(client, objDef, options ?? {}, chunkZSQBDK7L_cjs.getWireObjectSet(objectSet)),
1005
+ fetchOneWithErrors: (options) => chunkZSQBDK7L_cjs.fetchSingleWithErrors(client, objDef, options ?? {}, chunkZSQBDK7L_cjs.getWireObjectSet(objectSet))
1006
1006
  } : objectSet;
1007
1007
  return [linkName, value];
1008
1008
  })));
@@ -1025,8 +1025,8 @@ function get$linkForInterface(holder) {
1025
1025
  apiName: linkDef.targetTypeApiName
1026
1026
  };
1027
1027
  const value = !linkDef.multiplicity ? {
1028
- fetchOne: (options) => chunkZLUXOM2B_cjs.fetchSingle(client, linkTargetDef, options ?? {}, chunkZLUXOM2B_cjs.getWireObjectSet(objectSet)),
1029
- fetchOneWithErrors: (options) => chunkZLUXOM2B_cjs.fetchSingleWithErrors(client, linkTargetDef, options ?? {}, chunkZLUXOM2B_cjs.getWireObjectSet(objectSet))
1028
+ fetchOne: (options) => chunkZSQBDK7L_cjs.fetchSingle(client, linkTargetDef, options ?? {}, chunkZSQBDK7L_cjs.getWireObjectSet(objectSet)),
1029
+ fetchOneWithErrors: (options) => chunkZSQBDK7L_cjs.fetchSingleWithErrors(client, linkTargetDef, options ?? {}, chunkZSQBDK7L_cjs.getWireObjectSet(objectSet))
1030
1030
  } : objectSet;
1031
1031
  return [linkName, value];
1032
1032
  })));
@@ -1034,7 +1034,7 @@ function get$linkForInterface(holder) {
1034
1034
 
1035
1035
  // src/object/convertWireToOsdkObjects/createOsdkInterface.ts
1036
1036
  function createOsdkInterface(underlying, interfaceDef) {
1037
- const [objApiNamespace] = chunkZLUXOM2B_cjs.extractNamespace(interfaceDef.apiName);
1037
+ const [objApiNamespace] = chunkZSQBDK7L_cjs.extractNamespace(interfaceDef.apiName);
1038
1038
  return Object.freeze(Object.defineProperties({}, {
1039
1039
  // first to minimize hidden classes
1040
1040
  [UnderlyingOsdkObject]: {
@@ -1097,7 +1097,7 @@ function createOsdkInterface(underlying, interfaceDef) {
1097
1097
  },
1098
1098
  ...Object.fromEntries(Object.keys(interfaceDef.properties).map((p) => {
1099
1099
  const objDef = underlying[ObjectDefRef];
1100
- const [apiNamespace, apiName] = chunkZLUXOM2B_cjs.extractNamespace(p);
1100
+ const [apiNamespace, apiName] = chunkZSQBDK7L_cjs.extractNamespace(p);
1101
1101
  const targetPropName = objDef.interfaceMap[interfaceDef.apiName][p];
1102
1102
  return [apiNamespace === objApiNamespace ? apiName : p, {
1103
1103
  enumerable: targetPropName in underlying,
@@ -1137,7 +1137,7 @@ function remapPropertySecuritiesForInterface(underlyingSecurities, objDef, inter
1137
1137
  }
1138
1138
  const interfacePropName = inverseMap[objPropName];
1139
1139
  if (interfacePropName == null) continue;
1140
- const [apiNamespace, apiName] = chunkZLUXOM2B_cjs.extractNamespace(interfacePropName);
1140
+ const [apiNamespace, apiName] = chunkZSQBDK7L_cjs.extractNamespace(interfacePropName);
1141
1141
  const key = apiNamespace === objApiNamespace ? apiName : interfacePropName;
1142
1142
  remapped[key] = underlyingSecurities[objPropName];
1143
1143
  }
@@ -1218,7 +1218,7 @@ var basePropDefs = {
1218
1218
  "$objectSpecifier": {
1219
1219
  get() {
1220
1220
  const rawObj = this[UnderlyingOsdkObject];
1221
- return chunkLWT7AZZD_cjs.createObjectSpecifierFromPrimaryKey(this[ObjectDefRef], rawObj.$primaryKey);
1221
+ return chunkVD4QAB27_cjs.createObjectSpecifierFromPrimaryKey(this[ObjectDefRef], rawObj.$primaryKey);
1222
1222
  },
1223
1223
  enumerable: true
1224
1224
  },
@@ -1290,9 +1290,9 @@ function modifyRdpProperties(client, derivedPropertyTypeByName, rawValue, propKe
1290
1290
  switch (derivedPropertyTypeByName[propKey].selectedOrCollectedPropertyType?.type) {
1291
1291
  case "attachment":
1292
1292
  if (Array.isArray(rawValue)) {
1293
- return rawValue.map((a) => chunkZLUXOM2B_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1293
+ return rawValue.map((a) => chunkZSQBDK7L_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1294
1294
  } else {
1295
- return chunkZLUXOM2B_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1295
+ return chunkZSQBDK7L_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1296
1296
  }
1297
1297
  default:
1298
1298
  process.env.NODE_ENV !== "production" ? invariant2__default.default(false, "Derived property aggregations for Timeseries and Media are not supported") : invariant2__default.default(false) ;
@@ -1308,9 +1308,9 @@ function createSpecialProperty(client, objectDef, rawObject, p) {
1308
1308
  }
1309
1309
  if (propDef.type === "attachment") {
1310
1310
  if (Array.isArray(rawValue)) {
1311
- return rawValue.map((a) => chunkZLUXOM2B_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1311
+ return rawValue.map((a) => chunkZSQBDK7L_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
1312
1312
  }
1313
- return chunkZLUXOM2B_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1313
+ return chunkZSQBDK7L_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
1314
1314
  }
1315
1315
  if (propDef.type === "numericTimeseries" || propDef.type === "stringTimeseries" || propDef.type === "sensorTimeseries") {
1316
1316
  return new TimeSeriesPropertyImpl(client, objectDef.apiName, rawObject[objectDef.primaryKeyApiName], p);
@@ -1653,11 +1653,11 @@ var createStandardOntologyProviderFactory = (client) => {
1653
1653
  };
1654
1654
 
1655
1655
  // src/util/UserAgent.ts
1656
- var USER_AGENT = `osdk-client/${"2.35.0"}`;
1657
- var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.35.0"}`;
1656
+ var USER_AGENT = `osdk-client/${"2.36.0"}`;
1657
+ var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.36.0"}`;
1658
1658
 
1659
1659
  // src/createMinimalClient.ts
1660
- function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = chunkZLUXOM2B_cjs.createObjectSet, createOntologyProviderFactory = createStandardOntologyProviderFactory) {
1660
+ function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = chunkZSQBDK7L_cjs.createObjectSet, createOntologyProviderFactory = createStandardOntologyProviderFactory) {
1661
1661
  if (process.env.NODE_ENV !== "production") {
1662
1662
  try {
1663
1663
  new URL(baseUrl);
@@ -2249,7 +2249,7 @@ var ActionInvoker = class {
2249
2249
  };
2250
2250
  var QueryInvoker = class {
2251
2251
  constructor(clientCtx, queryDef) {
2252
- this.executeFunction = chunkLWT7AZZD_cjs.applyQuery.bind(void 0, clientCtx, queryDef);
2252
+ this.executeFunction = chunkVD4QAB27_cjs.applyQuery.bind(void 0, clientCtx, queryDef);
2253
2253
  }
2254
2254
  };
2255
2255
  function createClientInternal(objectSetFactory, transactionRid, flushEdits, scenarioRid, baseUrl, ontologyRid, tokenProvider, options = void 0, fetchFn = fetch) {
@@ -2291,7 +2291,7 @@ function createClientFromContext(clientCtx) {
2291
2291
  async *executeStreamingFunction(query, params) {
2292
2292
  const {
2293
2293
  applyStreamingQuery
2294
- } = await import('./applyStreamingQuery-IWZCZA6J.cjs');
2294
+ } = await import('./applyStreamingQuery-RK2N6TJ5.cjs');
2295
2295
  yield* applyStreamingQuery(clientCtx, query, params);
2296
2296
  }
2297
2297
  };
@@ -2307,7 +2307,7 @@ function createClientFromContext(clientCtx) {
2307
2307
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid.name:
2308
2308
  return {
2309
2309
  fetchOneByRid: async (objectType, rid, options) => {
2310
- return await chunkZLUXOM2B_cjs.fetchSingle(clientCtx, objectType, options, createWithRid([rid]));
2310
+ return await chunkZSQBDK7L_cjs.fetchSingle(clientCtx, objectType, options, createWithRid([rid]));
2311
2311
  }
2312
2312
  };
2313
2313
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference.name:
@@ -2331,10 +2331,10 @@ function createClientFromContext(clientCtx) {
2331
2331
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid.name:
2332
2332
  return {
2333
2333
  fetchPageByRid: async (objectOrInterfaceType, rids, options = {}) => {
2334
- return await chunkZLUXOM2B_cjs.fetchPage(clientCtx, objectOrInterfaceType, options, createWithRid(rids));
2334
+ return await chunkZSQBDK7L_cjs.fetchPage(clientCtx, objectOrInterfaceType, options, createWithRid(rids));
2335
2335
  },
2336
2336
  fetchPageByRidNoType: async (rids, options) => {
2337
- return await chunkZLUXOM2B_cjs.fetchStaticRidPage(clientCtx, rids, options ?? {});
2337
+ return await chunkZSQBDK7L_cjs.fetchStaticRidPage(clientCtx, rids, options ?? {});
2338
2338
  }
2339
2339
  };
2340
2340
  case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet.name:
@@ -2378,7 +2378,7 @@ function createClientFromContext(clientCtx) {
2378
2378
  [symbolClientContext2]: {
2379
2379
  value: clientCtx
2380
2380
  },
2381
- [chunkZLUXOM2B_cjs.additionalContext]: {
2381
+ [chunkZSQBDK7L_cjs.additionalContext]: {
2382
2382
  value: clientCtx
2383
2383
  },
2384
2384
  fetchMetadata: {
@@ -2387,9 +2387,9 @@ function createClientFromContext(clientCtx) {
2387
2387
  });
2388
2388
  return client;
2389
2389
  }
2390
- var createClient = createClientInternal.bind(void 0, chunkZLUXOM2B_cjs.createObjectSet, void 0, void 0, void 0);
2391
- var createClientWithTransaction = (transactionRid, flushEdits, ...args) => createClientInternal(chunkZLUXOM2B_cjs.createObjectSet, transactionRid, flushEdits, void 0, ...args);
2392
- var createClientWithScenario = (scenarioRid, ...args) => createClientInternal(chunkZLUXOM2B_cjs.createObjectSet, void 0, void 0, scenarioRid, ...args);
2390
+ var createClient = createClientInternal.bind(void 0, chunkZSQBDK7L_cjs.createObjectSet, void 0, void 0, void 0);
2391
+ var createClientWithTransaction = (transactionRid, flushEdits, ...args) => createClientInternal(chunkZSQBDK7L_cjs.createObjectSet, transactionRid, flushEdits, void 0, ...args);
2392
+ var createClientWithScenario = (scenarioRid, ...args) => createClientInternal(chunkZSQBDK7L_cjs.createObjectSet, void 0, void 0, scenarioRid, ...args);
2393
2393
  function createWithRid(rids) {
2394
2394
  const withRid = {
2395
2395
  type: "static",
@@ -2411,5 +2411,5 @@ exports.createClient = createClient;
2411
2411
  exports.createClientFromContext = createClientFromContext;
2412
2412
  exports.createClientWithTransaction = createClientWithTransaction;
2413
2413
  exports.createOsdkObject = createOsdkObject;
2414
- //# sourceMappingURL=chunk-A4LQCGPA.cjs.map
2415
- //# sourceMappingURL=chunk-A4LQCGPA.cjs.map
2414
+ //# sourceMappingURL=chunk-53ODHT6J.cjs.map
2415
+ //# sourceMappingURL=chunk-53ODHT6J.cjs.map