@osdk/client 2.12.0 → 2.12.1-main-e2bad8ff54819e9aa03e4db6058775a0a68e0432

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,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk4J6HDU2R_cjs = require('./chunk-4J6HDU2R.cjs');
4
- var chunkMAG62XQ4_cjs = require('./chunk-MAG62XQ4.cjs');
3
+ var chunkP4EYTNQ5_cjs = require('./chunk-P4EYTNQ5.cjs');
4
+ var chunkOBDHEWAJ_cjs = require('./chunk-OBDHEWAJ.cjs');
5
5
  require('./chunk-DOXHU27E.cjs');
6
6
  require('./chunk-YJG67XL4.cjs');
7
7
  require('./chunk-ZPLXXOU6.cjs');
@@ -17,7 +17,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
17
17
  var invariant__default = /*#__PURE__*/_interopDefault(invariant);
18
18
 
19
19
  function createPlatformClient(baseUrl, tokenProvider, options = void 0, fetchFn = fetch) {
20
- return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider, chunk4J6HDU2R_cjs.USER_AGENT, fetchFn);
20
+ return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider, chunkP4EYTNQ5_cjs.USER_AGENT, fetchFn);
21
21
  }
22
22
  var isoRegex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
23
23
  var extractDate = (dateTime) => {
@@ -41,31 +41,31 @@ var extractDateFromIsoString = (dateTime) => {
41
41
 
42
42
  Object.defineProperty(exports, "ActionValidationError", {
43
43
  enumerable: true,
44
- get: function () { return chunk4J6HDU2R_cjs.ActionValidationError; }
44
+ get: function () { return chunkP4EYTNQ5_cjs.ActionValidationError; }
45
45
  });
46
46
  Object.defineProperty(exports, "createAttachmentUpload", {
47
47
  enumerable: true,
48
- get: function () { return chunk4J6HDU2R_cjs.createAttachmentUpload; }
48
+ get: function () { return chunkP4EYTNQ5_cjs.createAttachmentUpload; }
49
49
  });
50
50
  Object.defineProperty(exports, "createClient", {
51
51
  enumerable: true,
52
- get: function () { return chunk4J6HDU2R_cjs.createClient; }
52
+ get: function () { return chunkP4EYTNQ5_cjs.createClient; }
53
53
  });
54
54
  Object.defineProperty(exports, "createObjectSpecifierFromPrimaryKey", {
55
55
  enumerable: true,
56
- get: function () { return chunk4J6HDU2R_cjs.createObjectSpecifierFromPrimaryKey; }
56
+ get: function () { return chunkP4EYTNQ5_cjs.createObjectSpecifierFromPrimaryKey; }
57
57
  });
58
58
  Object.defineProperty(exports, "extractPrimaryKeyFromObjectSpecifier", {
59
59
  enumerable: true,
60
- get: function () { return chunk4J6HDU2R_cjs.extractPrimaryKeyFromObjectSpecifier; }
60
+ get: function () { return chunkP4EYTNQ5_cjs.extractPrimaryKeyFromObjectSpecifier; }
61
61
  });
62
62
  Object.defineProperty(exports, "getWireObjectSet", {
63
63
  enumerable: true,
64
- get: function () { return chunkMAG62XQ4_cjs.getWireObjectSet; }
64
+ get: function () { return chunkOBDHEWAJ_cjs.getWireObjectSet; }
65
65
  });
66
66
  Object.defineProperty(exports, "isObjectSet", {
67
67
  enumerable: true,
68
- get: function () { return chunkMAG62XQ4_cjs.isObjectSet; }
68
+ get: function () { return chunkOBDHEWAJ_cjs.isObjectSet; }
69
69
  });
70
70
  Object.defineProperty(exports, "isOk", {
71
71
  enumerable: true,
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var chunkMAG62XQ4_cjs = require('../chunk-MAG62XQ4.cjs');
3
+ var chunkOBDHEWAJ_cjs = require('../chunk-OBDHEWAJ.cjs');
4
4
  require('../chunk-ZPLXXOU6.cjs');
5
5
  require('../chunk-D26YLHTV.cjs');
6
6
  require('../chunk-74HV6NQQ.cjs');
7
7
 
8
8
  // src/public-utils/createAndFetchTempObjectSetRid.ts
9
9
  async function createAndFetchTempObjectSetRid(client, objectSet) {
10
- const response = await chunkMAG62XQ4_cjs.createTemporary(client, await client[chunkMAG62XQ4_cjs.additionalContext].ontologyRid, {
11
- objectSet: chunkMAG62XQ4_cjs.getWireObjectSet(objectSet)
10
+ const response = await chunkOBDHEWAJ_cjs.createTemporary(client, await client[chunkOBDHEWAJ_cjs.additionalContext].ontologyRid, {
11
+ objectSet: chunkOBDHEWAJ_cjs.getWireObjectSet(objectSet)
12
12
  });
13
13
  return response.objectSetRid;
14
14
  }
15
15
 
16
16
  // src/public-utils/hydrateObjectSetFromObjectRids.ts
17
17
  function hydrateObjectSetFromObjectRids(client, definition, rids) {
18
- return chunkMAG62XQ4_cjs.createObjectSet(definition, client[chunkMAG62XQ4_cjs.additionalContext], {
18
+ return chunkOBDHEWAJ_cjs.createObjectSet(definition, client[chunkOBDHEWAJ_cjs.additionalContext], {
19
19
  type: "intersect",
20
20
  objectSets: [definition.type === "interface" ? {
21
21
  type: "interfaceBase",
@@ -35,7 +35,7 @@ function asMutableArray(array) {
35
35
 
36
36
  // src/public-utils/hydrateObjectSetFromRid.ts
37
37
  function hydrateObjectSetFromRid(client, definition, rid) {
38
- return chunkMAG62XQ4_cjs.createObjectSet(definition, client[chunkMAG62XQ4_cjs.additionalContext], {
38
+ return chunkOBDHEWAJ_cjs.createObjectSet(definition, client[chunkOBDHEWAJ_cjs.additionalContext], {
39
39
  type: "intersect",
40
40
  objectSets: [definition.type === "interface" ? {
41
41
  type: "interfaceBase",
@@ -76,7 +76,7 @@ var levelStyles = {
76
76
  color: "orange"
77
77
  })
78
78
  };
79
- var BrowserLogger = class _BrowserLogger extends chunkMAG62XQ4_cjs.BaseLogger {
79
+ var BrowserLogger = class _BrowserLogger extends chunkOBDHEWAJ_cjs.BaseLogger {
80
80
  constructor(bindings = {}, options = {}) {
81
81
  super(bindings, {
82
82
  ...options,
@@ -102,15 +102,15 @@ var BrowserLogger = class _BrowserLogger extends chunkMAG62XQ4_cjs.BaseLogger {
102
102
 
103
103
  Object.defineProperty(exports, "MinimalLogger", {
104
104
  enumerable: true,
105
- get: function () { return chunkMAG62XQ4_cjs.MinimalLogger; }
105
+ get: function () { return chunkOBDHEWAJ_cjs.MinimalLogger; }
106
106
  });
107
107
  Object.defineProperty(exports, "createMediaFromReference", {
108
108
  enumerable: true,
109
- get: function () { return chunkMAG62XQ4_cjs.createMediaFromReference; }
109
+ get: function () { return chunkOBDHEWAJ_cjs.createMediaFromReference; }
110
110
  });
111
111
  Object.defineProperty(exports, "hydrateAttachmentFromRid", {
112
112
  enumerable: true,
113
- get: function () { return chunkMAG62XQ4_cjs.hydrateAttachmentFromRid; }
113
+ get: function () { return chunkOBDHEWAJ_cjs.hydrateAttachmentFromRid; }
114
114
  });
115
115
  exports.BrowserLogger = BrowserLogger;
116
116
  exports.createAndFetchTempObjectSetRid = createAndFetchTempObjectSetRid;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk4J6HDU2R_cjs = require('../chunk-4J6HDU2R.cjs');
4
- var chunkMAG62XQ4_cjs = require('../chunk-MAG62XQ4.cjs');
3
+ var chunkP4EYTNQ5_cjs = require('../chunk-P4EYTNQ5.cjs');
4
+ var chunkOBDHEWAJ_cjs = require('../chunk-OBDHEWAJ.cjs');
5
5
  var chunkDOXHU27E_cjs = require('../chunk-DOXHU27E.cjs');
6
6
  require('../chunk-YJG67XL4.cjs');
7
7
  require('../chunk-ZPLXXOU6.cjs');
@@ -70,8 +70,8 @@ var ObservableClientImpl = class {
70
70
  const instances = [];
71
71
  const objectSetWires = [];
72
72
  for (const item of options.dependsOnObjects ?? []) {
73
- if (chunkMAG62XQ4_cjs.isObjectSet(item)) {
74
- objectSetWires.push(chunkMAG62XQ4_cjs.getWireObjectSet(item));
73
+ if (chunkOBDHEWAJ_cjs.isObjectSet(item)) {
74
+ objectSetWires.push(chunkOBDHEWAJ_cjs.getWireObjectSet(item));
75
75
  } else {
76
76
  instances.push({
77
77
  $apiName: item.$objectType ?? item.$apiName,
@@ -79,7 +79,7 @@ var ObservableClientImpl = class {
79
79
  });
80
80
  }
81
81
  }
82
- const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunkMAG62XQ4_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunkMAG62XQ4_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
82
+ const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunkOBDHEWAJ_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunkOBDHEWAJ_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
83
83
  return this.__experimentalStore.functions.observe({
84
84
  ...options,
85
85
  queryDef,
@@ -142,7 +142,7 @@ var ObservableClientImpl = class {
142
142
  if (!arr || arr.length === 0) {
143
143
  return arr;
144
144
  }
145
- const wireStrings = arr.map((os) => JSON.stringify(chunkMAG62XQ4_cjs.getWireObjectSet(os)));
145
+ const wireStrings = arr.map((os) => JSON.stringify(chunkOBDHEWAJ_cjs.getWireObjectSet(os)));
146
146
  const canonKey = canonicalize(wireStrings);
147
147
  let cached = cache.get(canonKey);
148
148
  if (!cached) {
@@ -345,7 +345,7 @@ var OptimisticJob = class {
345
345
  return this;
346
346
  },
347
347
  createObject(type, pk, properties) {
348
- const create = store.client[chunkMAG62XQ4_cjs.additionalContext].objectFactory2(store.client[chunkMAG62XQ4_cjs.additionalContext], [{
348
+ const create = store.client[chunkOBDHEWAJ_cjs.additionalContext].objectFactory2(store.client[chunkOBDHEWAJ_cjs.additionalContext], [{
349
349
  $primaryKey: pk,
350
350
  $apiName: type.apiName,
351
351
  $objectType: type.apiName,
@@ -813,7 +813,7 @@ var Query = class {
813
813
  this.store = store;
814
814
  this.cacheKeys = store.cacheKeys;
815
815
  this.#subject = observable;
816
- this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkMAG62XQ4_cjs.additionalContext].logger : store.client[chunkMAG62XQ4_cjs.additionalContext].logger?.child({}, {
816
+ this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkOBDHEWAJ_cjs.additionalContext].logger : store.client[chunkOBDHEWAJ_cjs.additionalContext].logger?.child({}, {
817
817
  msgPrefix: process.env.NODE_ENV !== "production" ? `Query<${cacheKey.type}, ${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>` : "Query"
818
818
  }));
819
819
  }
@@ -975,7 +975,7 @@ var AggregationQuery = class extends Query {
975
975
  #invalidationTypes;
976
976
  #invalidationTypesPromise;
977
977
  constructor(store, subject, cacheKey, opts) {
978
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkMAG62XQ4_cjs.additionalContext].logger?.child({}, {
978
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOBDHEWAJ_cjs.additionalContext].logger?.child({}, {
979
979
  msgPrefix: `AggregationQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
980
980
  }) : void 0);
981
981
  this.apiName = cacheKey.otherKeys[API_NAME_IDX];
@@ -993,7 +993,7 @@ var AggregationQuery = class extends Query {
993
993
  try {
994
994
  const {
995
995
  invalidationSet
996
- } = await getObjectTypesThatInvalidate(this.store.client[chunkMAG62XQ4_cjs.additionalContext], wireObjectSet);
996
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkOBDHEWAJ_cjs.additionalContext], wireObjectSet);
997
997
  return /* @__PURE__ */ new Set([this.apiName, ...invalidationSet]);
998
998
  } catch (error) {
999
999
  this.store.logger?.error("Failed to compute invalidation types for aggregation, falling back to base type only", error);
@@ -1064,7 +1064,7 @@ var ObjectAggregationQuery = class extends AggregationQuery {
1064
1064
  };
1065
1065
  let objectSet;
1066
1066
  if (this.parsedWireObjectSet) {
1067
- objectSet = chunkMAG62XQ4_cjs.createObjectSet(objectTypeDef, this.store.client[chunkMAG62XQ4_cjs.additionalContext], this.parsedWireObjectSet);
1067
+ objectSet = chunkOBDHEWAJ_cjs.createObjectSet(objectTypeDef, this.store.client[chunkOBDHEWAJ_cjs.additionalContext], this.parsedWireObjectSet);
1068
1068
  } else {
1069
1069
  objectSet = this.store.client(objectTypeDef);
1070
1070
  }
@@ -1106,7 +1106,7 @@ var AggregationsHelper = class extends AbstractHelper {
1106
1106
  return this.getOrCreateQuery(options, void 0);
1107
1107
  }
1108
1108
  getQueryWithObjectSet(options) {
1109
- const serializedObjectSet = JSON.stringify(chunkMAG62XQ4_cjs.getWireObjectSet(options.objectSet));
1109
+ const serializedObjectSet = JSON.stringify(chunkOBDHEWAJ_cjs.getWireObjectSet(options.objectSet));
1110
1110
  return this.getOrCreateQuery(options, serializedObjectSet);
1111
1111
  }
1112
1112
  getOrCreateQuery(options, serializedObjectSet) {
@@ -1429,7 +1429,7 @@ var FunctionParamsCanonicalizer = class {
1429
1429
  path.push("$:map_end");
1430
1430
  return arr;
1431
1431
  }
1432
- if (chunk4J6HDU2R_cjs.isObjectSpecifiersObject(value)) {
1432
+ if (chunkP4EYTNQ5_cjs.isObjectSpecifiersObject(value)) {
1433
1433
  const objectType = value.$objectType ?? value.$apiName;
1434
1434
  path.push("$:osdk", objectType, value.$primaryKey);
1435
1435
  return {
@@ -1437,8 +1437,8 @@ var FunctionParamsCanonicalizer = class {
1437
1437
  $primaryKey: value.$primaryKey
1438
1438
  };
1439
1439
  }
1440
- if (chunkMAG62XQ4_cjs.isObjectSet(value)) {
1441
- const wire = JSON.stringify(chunkMAG62XQ4_cjs.getWireObjectSet(value));
1440
+ if (chunkOBDHEWAJ_cjs.isObjectSet(value)) {
1441
+ const wire = JSON.stringify(chunkOBDHEWAJ_cjs.getWireObjectSet(value));
1442
1442
  path.push("$:objectset", wire);
1443
1443
  return wire;
1444
1444
  }
@@ -1498,7 +1498,7 @@ var FunctionQuery = class extends Query {
1498
1498
  #dependsOnObjects;
1499
1499
  #queryDef;
1500
1500
  constructor(store, subject, queryDef, params, cacheKey, opts, objectSetTypesPromise) {
1501
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkMAG62XQ4_cjs.additionalContext].logger?.child({}, {
1501
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOBDHEWAJ_cjs.additionalContext].logger?.child({}, {
1502
1502
  msgPrefix: `FunctionQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
1503
1503
  }) : void 0);
1504
1504
  this.#apiName = queryDef.apiName;
@@ -1555,7 +1555,7 @@ var FunctionQuery = class extends Query {
1555
1555
  }).debug("calling _fetchAndStore");
1556
1556
  }
1557
1557
  try {
1558
- const result = await chunk4J6HDU2R_cjs.applyQuery(this.store.client[chunkMAG62XQ4_cjs.additionalContext], this.#queryDef, this.#params);
1558
+ const result = await chunkP4EYTNQ5_cjs.applyQuery(this.store.client[chunkOBDHEWAJ_cjs.additionalContext], this.#queryDef, this.#params);
1559
1559
  const executedAt = Date.now();
1560
1560
  this.store.batch({}, (batch) => {
1561
1561
  this.writeToStore({
@@ -2755,7 +2755,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
2755
2755
  batch.changes.modified.add(this.cacheKey);
2756
2756
  }
2757
2757
  constructor(store, subject, cacheKey, opts) {
2758
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkMAG62XQ4_cjs.additionalContext].logger?.child({}, {
2758
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOBDHEWAJ_cjs.additionalContext].logger?.child({}, {
2759
2759
  msgPrefix: `SpecificLinkQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
2760
2760
  }) : void 0);
2761
2761
  [this.#sourceApiName, this.#sourceTypeKind, this.#sourceUnderlyingObjectType, this.#sourcePk, this.#linkName, this.#whereClause, this.#orderBy] = cacheKey.otherKeys;
@@ -2773,7 +2773,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
2773
2773
  */
2774
2774
  async fetchPageData(signal) {
2775
2775
  const client = this.store.client;
2776
- const ontologyProvider = client[chunkMAG62XQ4_cjs.additionalContext].ontologyProvider;
2776
+ const ontologyProvider = client[chunkOBDHEWAJ_cjs.additionalContext].ontologyProvider;
2777
2777
  const isInterface = this.#sourceTypeKind === "interface";
2778
2778
  if (this.#orderBy && Object.keys(this.#orderBy).length > 0) {
2779
2779
  let targetTypeApiName;
@@ -2884,7 +2884,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
2884
2884
  }
2885
2885
  return (async () => {
2886
2886
  try {
2887
- const ontologyProvider = this.store.client[chunkMAG62XQ4_cjs.additionalContext].ontologyProvider;
2887
+ const ontologyProvider = this.store.client[chunkOBDHEWAJ_cjs.additionalContext].ontologyProvider;
2888
2888
  if (this.#sourceTypeKind === "interface") {
2889
2889
  const objectMetadata2 = await ontologyProvider.getObjectDefinition(objectType);
2890
2890
  if (this.#sourceApiName in objectMetadata2.interfaceMap) {
@@ -3072,7 +3072,7 @@ var ListQuery = class extends BaseListQuery {
3072
3072
  batch.changes.registerList(this.cacheKey);
3073
3073
  }
3074
3074
  constructor(store, subject, apiName, cacheKey, opts) {
3075
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkMAG62XQ4_cjs.additionalContext].logger?.child({}, {
3075
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOBDHEWAJ_cjs.additionalContext].logger?.child({}, {
3076
3076
  msgPrefix: `ListQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
3077
3077
  }) : void 0);
3078
3078
  this.apiName = apiName;
@@ -3122,10 +3122,10 @@ var ListQuery = class extends BaseListQuery {
3122
3122
  async fetchPageData(signal) {
3123
3123
  const needsResultType = Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy) || this.#pivotInfo != null && this.#intersectWith != null && this.#intersectWith.length > 0 && !this.#pivotIntersectApplied;
3124
3124
  if (needsResultType) {
3125
- const wireObjectSet = chunkMAG62XQ4_cjs.getWireObjectSet(this.#objectSet);
3125
+ const wireObjectSet = chunkOBDHEWAJ_cjs.getWireObjectSet(this.#objectSet);
3126
3126
  const {
3127
3127
  resultType
3128
- } = await getObjectTypesThatInvalidate(this.store.client[chunkMAG62XQ4_cjs.additionalContext], wireObjectSet);
3128
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkOBDHEWAJ_cjs.additionalContext], wireObjectSet);
3129
3129
  this.#updateFetchedObjectType(resultType.apiName);
3130
3130
  if (Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
3131
3131
  this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#orderBy);
@@ -3154,10 +3154,10 @@ var ListQuery = class extends BaseListQuery {
3154
3154
  }
3155
3155
  if (this.#fetchedObjectType == null) {
3156
3156
  try {
3157
- const wireObjectSet = chunkMAG62XQ4_cjs.getWireObjectSet(this.#objectSet);
3157
+ const wireObjectSet = chunkOBDHEWAJ_cjs.getWireObjectSet(this.#objectSet);
3158
3158
  const {
3159
3159
  resultType
3160
- } = await getObjectTypesThatInvalidate(this.store.client[chunkMAG62XQ4_cjs.additionalContext], wireObjectSet);
3160
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkOBDHEWAJ_cjs.additionalContext], wireObjectSet);
3161
3161
  this.#updateFetchedObjectType(resultType.apiName);
3162
3162
  } catch {
3163
3163
  this.#updateFetchedObjectType(this.apiName);
@@ -3426,7 +3426,7 @@ var InterfaceListQuery = class extends ListQuery {
3426
3426
  type,
3427
3427
  apiName: this.apiName
3428
3428
  };
3429
- const clientCtx = store.client[chunkMAG62XQ4_cjs.additionalContext];
3429
+ const clientCtx = store.client[chunkOBDHEWAJ_cjs.additionalContext];
3430
3430
  let objectSet;
3431
3431
  if (rids != null) {
3432
3432
  objectSet = clientCtx.objectSetFactory(objectTypeDef, clientCtx, {
@@ -3465,7 +3465,7 @@ var InterfaceListQuery = class extends ListQuery {
3465
3465
  }
3466
3466
  extractRelevantObjects(changes) {
3467
3467
  const matchesApiName = ([, object]) => {
3468
- return this.apiName in object[chunk4J6HDU2R_cjs.ObjectDefRef].interfaceMap;
3468
+ return this.apiName in object[chunkP4EYTNQ5_cjs.ObjectDefRef].interfaceMap;
3469
3469
  };
3470
3470
  const added = Array.from(changes.addedObjects).filter(matchesApiName).map(([, object]) => object.$as(this.apiName));
3471
3471
  const modified = Array.from(changes.modifiedObjects).filter(matchesApiName).map(([, object]) => object.$as(this.apiName));
@@ -3484,7 +3484,7 @@ var InterfaceListQuery = class extends ListQuery {
3484
3484
  }
3485
3485
  };
3486
3486
  function createSourceSetForPivot(store, pivotInfo, rids) {
3487
- const clientCtx = store.client[chunkMAG62XQ4_cjs.additionalContext];
3487
+ const clientCtx = store.client[chunkOBDHEWAJ_cjs.additionalContext];
3488
3488
  if (rids != null) {
3489
3489
  return clientCtx.objectSetFactory({
3490
3490
  type: "object",
@@ -3539,7 +3539,7 @@ var ObjectListQuery = class extends ListQuery {
3539
3539
  const intersectWith = this.cacheKey.otherKeys[INTERSECT_IDX2];
3540
3540
  const pivotInfo = this.cacheKey.otherKeys[PIVOT_IDX];
3541
3541
  const rids = this.cacheKey.otherKeys[RIDS_IDX];
3542
- const clientCtx = store.client[chunkMAG62XQ4_cjs.additionalContext];
3542
+ const clientCtx = store.client[chunkOBDHEWAJ_cjs.additionalContext];
3543
3543
  const typeDefinition = {
3544
3544
  type: "object",
3545
3545
  apiName: this.apiName
@@ -3797,7 +3797,7 @@ var MediaMetadataQuery = class extends Query {
3797
3797
  #propertyName;
3798
3798
  #preview;
3799
3799
  constructor(store, subject, objectType, primaryKey, propertyName, cacheKey, opts) {
3800
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkMAG62XQ4_cjs.additionalContext].logger?.child({}, {
3800
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOBDHEWAJ_cjs.additionalContext].logger?.child({}, {
3801
3801
  msgPrefix: `MediaMetadataQuery<${objectType}, ${JSON.stringify(primaryKey)}, ${propertyName}>`
3802
3802
  }) : void 0);
3803
3803
  this.#objectType = objectType;
@@ -3830,8 +3830,8 @@ var MediaMetadataQuery = class extends Query {
3830
3830
  this.setStatus("loading", batch);
3831
3831
  });
3832
3832
  try {
3833
- const ontologyRid = await this.store.client[chunkMAG62XQ4_cjs.additionalContext].ontologyRid;
3834
- const response = await chunkDOXHU27E_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkMAG62XQ4_cjs.additionalContext], ontologyRid, this.#objectType, String(this.#primaryKey), this.#propertyName, {
3833
+ const ontologyRid = await this.store.client[chunkOBDHEWAJ_cjs.additionalContext].ontologyRid;
3834
+ const response = await chunkDOXHU27E_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkOBDHEWAJ_cjs.additionalContext], ontologyRid, this.#objectType, String(this.#primaryKey), this.#propertyName, {
3835
3835
  preview: this.#preview
3836
3836
  });
3837
3837
  const metadata = {
@@ -3953,8 +3953,8 @@ var MediaHelper = class extends AbstractHelper {
3953
3953
  return this._subscribe(query, options, observer);
3954
3954
  }
3955
3955
  async fetchMetadata(coords, options) {
3956
- const ontologyRid = await this.store.client[chunkMAG62XQ4_cjs.additionalContext].ontologyRid;
3957
- const response = await chunkDOXHU27E_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkMAG62XQ4_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
3956
+ const ontologyRid = await this.store.client[chunkOBDHEWAJ_cjs.additionalContext].ontologyRid;
3957
+ const response = await chunkDOXHU27E_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkOBDHEWAJ_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
3958
3958
  preview: options?.preview ?? true
3959
3959
  });
3960
3960
  return {
@@ -3974,8 +3974,8 @@ var MediaHelper = class extends AbstractHelper {
3974
3974
  let response;
3975
3975
  const coords = this.resolveToCoords(mediaOrLocation);
3976
3976
  if (coords) {
3977
- const ontologyRid = await this.store.client[chunkMAG62XQ4_cjs.additionalContext].ontologyRid;
3978
- response = await chunkDOXHU27E_cjs.MediaReferenceProperty_exports.getMediaContent(this.store.client[chunkMAG62XQ4_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
3977
+ const ontologyRid = await this.store.client[chunkOBDHEWAJ_cjs.additionalContext].ontologyRid;
3978
+ response = await chunkDOXHU27E_cjs.MediaReferenceProperty_exports.getMediaContent(this.store.client[chunkOBDHEWAJ_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
3979
3979
  preview
3980
3980
  });
3981
3981
  } else if ("fetchContents" in mediaOrLocation) {
@@ -4075,8 +4075,8 @@ function stripRdpFields(value, rdpFields) {
4075
4075
  if (rdpFields.size === 0) {
4076
4076
  return value;
4077
4077
  }
4078
- const underlying = value[chunk4J6HDU2R_cjs.UnderlyingOsdkObject];
4079
- const objectDef = value[chunk4J6HDU2R_cjs.ObjectDefRef];
4078
+ const underlying = value[chunkP4EYTNQ5_cjs.UnderlyingOsdkObject];
4079
+ const objectDef = value[chunkP4EYTNQ5_cjs.ObjectDefRef];
4080
4080
  const newProps = {
4081
4081
  $apiName: underlying.$apiName,
4082
4082
  $objectType: underlying.$objectType,
@@ -4089,7 +4089,7 @@ function stripRdpFields(value, rdpFields) {
4089
4089
  newProps[key] = underlying[key];
4090
4090
  }
4091
4091
  }
4092
- return chunk4J6HDU2R_cjs.createOsdkObject(value[chunk4J6HDU2R_cjs.ClientRef], objectDef, newProps);
4092
+ return chunkP4EYTNQ5_cjs.createOsdkObject(value[chunkP4EYTNQ5_cjs.ClientRef], objectDef, newProps);
4093
4093
  }
4094
4094
  function isSuperset(superset, subset) {
4095
4095
  for (const field of subset) {
@@ -4100,8 +4100,8 @@ function isSuperset(superset, subset) {
4100
4100
  return true;
4101
4101
  }
4102
4102
  function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
4103
- const underlying = value[chunk4J6HDU2R_cjs.UnderlyingOsdkObject];
4104
- const objectDef = value[chunk4J6HDU2R_cjs.ObjectDefRef];
4103
+ const underlying = value[chunkP4EYTNQ5_cjs.UnderlyingOsdkObject];
4104
+ const objectDef = value[chunkP4EYTNQ5_cjs.ObjectDefRef];
4105
4105
  const newProps = {
4106
4106
  $apiName: underlying.$apiName,
4107
4107
  $objectType: underlying.$objectType,
@@ -4117,12 +4117,12 @@ function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
4117
4117
  }
4118
4118
  }
4119
4119
  }
4120
- return chunk4J6HDU2R_cjs.createOsdkObject(value[chunk4J6HDU2R_cjs.ClientRef], objectDef, newProps);
4120
+ return chunkP4EYTNQ5_cjs.createOsdkObject(value[chunkP4EYTNQ5_cjs.ClientRef], objectDef, newProps);
4121
4121
  }
4122
4122
  function mergeSelectFields(sourceValue, selectFields, existingValue) {
4123
- const sourceUnderlying = sourceValue[chunk4J6HDU2R_cjs.UnderlyingOsdkObject];
4124
- const existingUnderlying = existingValue[chunk4J6HDU2R_cjs.UnderlyingOsdkObject];
4125
- const objectDef = sourceValue[chunk4J6HDU2R_cjs.ObjectDefRef];
4123
+ const sourceUnderlying = sourceValue[chunkP4EYTNQ5_cjs.UnderlyingOsdkObject];
4124
+ const existingUnderlying = existingValue[chunkP4EYTNQ5_cjs.UnderlyingOsdkObject];
4125
+ const objectDef = sourceValue[chunkP4EYTNQ5_cjs.ObjectDefRef];
4126
4126
  const newProps = {
4127
4127
  $apiName: sourceUnderlying.$apiName,
4128
4128
  $objectType: sourceUnderlying.$objectType,
@@ -4140,7 +4140,7 @@ function mergeSelectFields(sourceValue, selectFields, existingValue) {
4140
4140
  newProps[key] = sourceUnderlying[key];
4141
4141
  }
4142
4142
  }
4143
- return chunk4J6HDU2R_cjs.createOsdkObject(sourceValue[chunk4J6HDU2R_cjs.ClientRef], objectDef, newProps);
4143
+ return chunkP4EYTNQ5_cjs.createOsdkObject(sourceValue[chunkP4EYTNQ5_cjs.ClientRef], objectDef, newProps);
4144
4144
  }
4145
4145
  function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, targetCurrentValue) {
4146
4146
  if (targetRdpFields.size === 0) {
@@ -4152,8 +4152,8 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
4152
4152
  }
4153
4153
  return filterToRdpFields(sourceValue, targetRdpFields, sourceRdpFields);
4154
4154
  }
4155
- const sourceUnderlying = sourceValue[chunk4J6HDU2R_cjs.UnderlyingOsdkObject];
4156
- const objectDef = sourceValue[chunk4J6HDU2R_cjs.ObjectDefRef];
4155
+ const sourceUnderlying = sourceValue[chunkP4EYTNQ5_cjs.UnderlyingOsdkObject];
4156
+ const objectDef = sourceValue[chunkP4EYTNQ5_cjs.ObjectDefRef];
4157
4157
  const newProps = {
4158
4158
  $apiName: sourceUnderlying.$apiName,
4159
4159
  $objectType: sourceUnderlying.$objectType,
@@ -4167,7 +4167,7 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
4167
4167
  }
4168
4168
  }
4169
4169
  if (targetCurrentValue) {
4170
- const targetUnderlying = targetCurrentValue[chunk4J6HDU2R_cjs.UnderlyingOsdkObject];
4170
+ const targetUnderlying = targetCurrentValue[chunkP4EYTNQ5_cjs.UnderlyingOsdkObject];
4171
4171
  for (const field of targetRdpFields) {
4172
4172
  if (field in targetUnderlying) {
4173
4173
  if (!sourceRdpFields.has(field) || newProps[field] === void 0) {
@@ -4176,7 +4176,7 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
4176
4176
  }
4177
4177
  }
4178
4178
  }
4179
- return chunk4J6HDU2R_cjs.createOsdkObject(sourceValue[chunk4J6HDU2R_cjs.ClientRef], objectDef, newProps);
4179
+ return chunkP4EYTNQ5_cjs.createOsdkObject(sourceValue[chunkP4EYTNQ5_cjs.ClientRef], objectDef, newProps);
4180
4180
  }
4181
4181
 
4182
4182
  // src/observable/internal/object/ObjectCacheKeyRegistry.ts
@@ -4331,7 +4331,7 @@ var BulkObjectLoader = class {
4331
4331
  #maxEntries;
4332
4332
  constructor(client, maxWait = 25, maxEntries = 100) {
4333
4333
  this.#client = client;
4334
- this.#logger = client[chunkMAG62XQ4_cjs.additionalContext].logger;
4334
+ this.#logger = client[chunkOBDHEWAJ_cjs.additionalContext].logger;
4335
4335
  this.#maxWait = maxWait;
4336
4336
  this.#maxEntries = maxEntries;
4337
4337
  }
@@ -4481,7 +4481,7 @@ var ObjectQuery = class extends Query {
4481
4481
  #loadPropertySecurityMetadata;
4482
4482
  #implementingTypes;
4483
4483
  constructor(store, subject, type, pk, cacheKey, opts, defType = "object", select, loadPropertySecurityMetadata) {
4484
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkMAG62XQ4_cjs.additionalContext].logger?.child({}, {
4484
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOBDHEWAJ_cjs.additionalContext].logger?.child({}, {
4485
4485
  msgPrefix: `ObjectQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
4486
4486
  }) : void 0);
4487
4487
  this.#apiName = type;
@@ -4583,7 +4583,7 @@ var ObjectsHelper = class extends AbstractHelper {
4583
4583
  select,
4584
4584
  $loadPropertySecurityMetadata
4585
4585
  } = options;
4586
- const defType = chunk4J6HDU2R_cjs.getDefType(options.apiName);
4586
+ const defType = chunkP4EYTNQ5_cjs.getDefType(options.apiName);
4587
4587
  const objectCacheKey = this.cacheKeys.get("object", apiName, pk, rdpConfig ?? void 0);
4588
4588
  return this.store.queries.get(objectCacheKey, () => new ObjectQuery(this.store, this.store.subjects.get(objectCacheKey), apiName, pk, objectCacheKey, {
4589
4589
  dedupeInterval: 0
@@ -4621,7 +4621,7 @@ var ObjectsHelper = class extends AbstractHelper {
4621
4621
  if (valueToWrite !== tombstone && existing?.value && this.isObjectHolder(existing.value)) {
4622
4622
  const expectedRdpFields = this.store.objectCacheKeyRegistry.getRdpFieldSet(sourceCacheKey);
4623
4623
  if (expectedRdpFields.size > 0) {
4624
- const underlying = valueToWrite[chunk4J6HDU2R_cjs.UnderlyingOsdkObject];
4624
+ const underlying = valueToWrite[chunkP4EYTNQ5_cjs.UnderlyingOsdkObject];
4625
4625
  const actualRdpFields = /* @__PURE__ */ new Set();
4626
4626
  for (const field of expectedRdpFields) {
4627
4627
  if (underlying && field in underlying) {
@@ -4692,7 +4692,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
4692
4692
  #requiresServerEvaluation;
4693
4693
  #resultTypeApiName;
4694
4694
  constructor(store, subject, baseObjectSetWire, operations, cacheKey, opts) {
4695
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkMAG62XQ4_cjs.additionalContext].logger?.child({}, {
4695
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOBDHEWAJ_cjs.additionalContext].logger?.child({}, {
4696
4696
  msgPrefix: `ObjectSetQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
4697
4697
  }) : void 0);
4698
4698
  this.#baseObjectSetWire = baseObjectSetWire;
@@ -4780,7 +4780,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
4780
4780
  return;
4781
4781
  }
4782
4782
  for (const os of sets) {
4783
- const typeName = _ObjectSetQuery.#extractTypeFromWireObjectSet(chunkMAG62XQ4_cjs.getWireObjectSet(os));
4783
+ const typeName = _ObjectSetQuery.#extractTypeFromWireObjectSet(chunkOBDHEWAJ_cjs.getWireObjectSet(os));
4784
4784
  if (typeName) {
4785
4785
  types.add(typeName);
4786
4786
  }
@@ -4807,10 +4807,10 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
4807
4807
  */
4808
4808
  async fetchPageData(signal) {
4809
4809
  if (this.#operations.orderBy && Object.keys(this.#operations.orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
4810
- const wireObjectSet = chunkMAG62XQ4_cjs.getWireObjectSet(this.#composedObjectSet);
4810
+ const wireObjectSet = chunkOBDHEWAJ_cjs.getWireObjectSet(this.#composedObjectSet);
4811
4811
  const {
4812
4812
  resultType
4813
- } = await getObjectTypesThatInvalidate(this.store.client[chunkMAG62XQ4_cjs.additionalContext], wireObjectSet);
4813
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkOBDHEWAJ_cjs.additionalContext], wireObjectSet);
4814
4814
  this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#operations.orderBy);
4815
4815
  }
4816
4816
  const resp = await this.#composedObjectSet.fetchPage({
@@ -5027,7 +5027,7 @@ var ObjectSetHelper = class extends AbstractHelper {
5027
5027
  if (process.env.NODE_ENV !== "production") {
5028
5028
  console.warn("[@osdk/client] streamUpdates is not supported with pivotTo. The server does not support websocket subscriptions for link-traversal queries. Ignoring streamUpdates.");
5029
5029
  }
5030
- } else if (options.withProperties || chunkMAG62XQ4_cjs.hasWithProperties(chunkMAG62XQ4_cjs.getWireObjectSet(options.baseObjectSet))) {
5030
+ } else if (options.withProperties || chunkOBDHEWAJ_cjs.hasWithProperties(chunkOBDHEWAJ_cjs.getWireObjectSet(options.baseObjectSet))) {
5031
5031
  if (process.env.NODE_ENV !== "production") {
5032
5032
  console.warn("[@osdk/client] streamUpdates is not supported with withProperties. The server does not support websocket subscriptions for object sets that include derived properties. Ignoring streamUpdates.");
5033
5033
  }
@@ -5041,7 +5041,7 @@ var ObjectSetHelper = class extends AbstractHelper {
5041
5041
  const {
5042
5042
  baseObjectSet
5043
5043
  } = options;
5044
- const baseObjectSetWire = JSON.stringify(chunkMAG62XQ4_cjs.getWireObjectSet(baseObjectSet));
5044
+ const baseObjectSetWire = JSON.stringify(chunkOBDHEWAJ_cjs.getWireObjectSet(baseObjectSet));
5045
5045
  const operations = this.buildCanonicalizedOperations(options);
5046
5046
  const objectSetCacheKey = this.cacheKeys.get("objectSet", baseObjectSetWire, operations);
5047
5047
  return this.store.queries.get(objectSetCacheKey, () => {
@@ -5057,13 +5057,13 @@ var ObjectSetHelper = class extends AbstractHelper {
5057
5057
  operations.withProperties = this.rdpCanonicalizer.canonicalize(options.withProperties);
5058
5058
  }
5059
5059
  if (options.union && options.union.length > 0) {
5060
- operations.union = this.objectSetArrayCanonicalizer.canonicalizeUnion(options.union.map((os) => JSON.stringify(chunkMAG62XQ4_cjs.getWireObjectSet(os))));
5060
+ operations.union = this.objectSetArrayCanonicalizer.canonicalizeUnion(options.union.map((os) => JSON.stringify(chunkOBDHEWAJ_cjs.getWireObjectSet(os))));
5061
5061
  }
5062
5062
  if (options.intersect && options.intersect.length > 0) {
5063
- operations.intersect = this.objectSetArrayCanonicalizer.canonicalizeIntersect(options.intersect.map((os) => JSON.stringify(chunkMAG62XQ4_cjs.getWireObjectSet(os))));
5063
+ operations.intersect = this.objectSetArrayCanonicalizer.canonicalizeIntersect(options.intersect.map((os) => JSON.stringify(chunkOBDHEWAJ_cjs.getWireObjectSet(os))));
5064
5064
  }
5065
5065
  if (options.subtract && options.subtract.length > 0) {
5066
- operations.subtract = this.objectSetArrayCanonicalizer.canonicalizeSubtract(options.subtract.map((os) => JSON.stringify(chunkMAG62XQ4_cjs.getWireObjectSet(os))));
5066
+ operations.subtract = this.objectSetArrayCanonicalizer.canonicalizeSubtract(options.subtract.map((os) => JSON.stringify(chunkOBDHEWAJ_cjs.getWireObjectSet(os))));
5067
5067
  }
5068
5068
  if (options.pivotTo) {
5069
5069
  operations.pivotTo = options.pivotTo;
@@ -5211,7 +5211,7 @@ var RdpCanonicalizer = class extends CachingCanonicalizer {
5211
5211
  apiName: "__rdp_canonicalizer_holder__"
5212
5212
  };
5213
5213
  for (const [key, rdpFunction] of Object.entries(rdp)) {
5214
- const builder = chunkMAG62XQ4_cjs.createWithPropertiesObjectSet(
5214
+ const builder = chunkOBDHEWAJ_cjs.createWithPropertiesObjectSet(
5215
5215
  objectTypeHolder,
5216
5216
  {
5217
5217
  type: "methodInput"
@@ -5378,7 +5378,7 @@ var Store = class {
5378
5378
  subjects = this.layers.subjects;
5379
5379
  // these are hopefully temporary
5380
5380
  constructor(client) {
5381
- this.logger = client[chunkMAG62XQ4_cjs.additionalContext].logger?.child({}, {
5381
+ this.logger = client[chunkOBDHEWAJ_cjs.additionalContext].logger?.child({}, {
5382
5382
  msgPrefix: "Store"
5383
5383
  });
5384
5384
  this.client = client;
@@ -5788,10 +5788,10 @@ var Store = class {
5788
5788
 
5789
5789
  // src/observable/ObservableClient.ts
5790
5790
  function createObservableClient(client, extraUserAgents) {
5791
- const tweakedClient = chunk4J6HDU2R_cjs.createClientFromContext({
5792
- ...client[chunkMAG62XQ4_cjs.additionalContext],
5793
- fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkMAG62XQ4_cjs.additionalContext].fetch, (headers) => {
5794
- headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunk4J6HDU2R_cjs.OBSERVABLE_USER_AGENT, ...extraUserAgents?.() ?? []].filter((x) => x && x?.length > 0).join(" "));
5791
+ const tweakedClient = chunkP4EYTNQ5_cjs.createClientFromContext({
5792
+ ...client[chunkOBDHEWAJ_cjs.additionalContext],
5793
+ fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkOBDHEWAJ_cjs.additionalContext].fetch, (headers) => {
5794
+ headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunkP4EYTNQ5_cjs.OBSERVABLE_USER_AGENT, ...extraUserAgents?.() ?? []].filter((x) => x && x?.length > 0).join(" "));
5795
5795
  return headers;
5796
5796
  })
5797
5797
  });
@@ -5955,7 +5955,7 @@ function getLinkQueryOptions(linkDef, sourceObject, pageSize) {
5955
5955
  return options;
5956
5956
  }
5957
5957
  async function buildObjectSetFromLinkDefByType(client, sourceType, sourcePrimaryKey, linkDef) {
5958
- const metadata = await client[chunkMAG62XQ4_cjs.additionalContext].ontologyProvider.getObjectDefinition(sourceType.apiName);
5958
+ const metadata = await client[chunkOBDHEWAJ_cjs.additionalContext].ontologyProvider.getObjectDefinition(sourceType.apiName);
5959
5959
  const pkFieldName = metadata.primaryKeyApiName;
5960
5960
  let objectSet = client(sourceType).where({
5961
5961
  [pkFieldName]: sourcePrimaryKey
@@ -6014,19 +6014,19 @@ function resolveSymbolBindings(value, sourcePrimaryKey) {
6014
6014
 
6015
6015
  Object.defineProperty(exports, "createClientWithTransaction", {
6016
6016
  enumerable: true,
6017
- get: function () { return chunk4J6HDU2R_cjs.createClientWithTransaction; }
6017
+ get: function () { return chunkP4EYTNQ5_cjs.createClientWithTransaction; }
6018
6018
  });
6019
6019
  Object.defineProperty(exports, "augment", {
6020
6020
  enumerable: true,
6021
- get: function () { return chunkMAG62XQ4_cjs.augment; }
6021
+ get: function () { return chunkOBDHEWAJ_cjs.augment; }
6022
6022
  });
6023
6023
  Object.defineProperty(exports, "getWireObjectSet", {
6024
6024
  enumerable: true,
6025
- get: function () { return chunkMAG62XQ4_cjs.getWireObjectSet; }
6025
+ get: function () { return chunkOBDHEWAJ_cjs.getWireObjectSet; }
6026
6026
  });
6027
6027
  Object.defineProperty(exports, "isObjectSet", {
6028
6028
  enumerable: true,
6029
- get: function () { return chunkMAG62XQ4_cjs.isObjectSet; }
6029
+ get: function () { return chunkOBDHEWAJ_cjs.isObjectSet; }
6030
6030
  });
6031
6031
  exports.applyShapeTransformations = applyShapeTransformations;
6032
6032
  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.12.0";
24
+ const MaxOsdkVersion = "2.12.1";
25
25
  // END: THIS IS GENERATED CODE. DO NOT EDIT.
26
26
 
27
27
  const ErrorMessage = Symbol("ErrorMessage");