@osdk/client 2.2.0-beta.1 → 2.2.0-beta.3
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 +26 -0
- package/build/browser/Client.js +1 -1
- package/build/browser/Client.js.map +1 -1
- package/build/browser/createClient.js +3 -3
- package/build/browser/createClient.js.map +1 -1
- package/build/browser/derivedProperties/createWithPropertiesObjectSet.test.js +2 -2
- package/build/browser/derivedProperties/createWithPropertiesObjectSet.test.js.map +1 -1
- package/build/browser/object/convertWireToOsdkObjects.js +1 -1
- package/build/browser/object/convertWireToOsdkObjects.js.map +1 -1
- package/build/browser/objectSet/ObjectSet.test.js +3 -1
- package/build/browser/objectSet/ObjectSet.test.js.map +1 -1
- package/build/browser/util/UserAgent.js +1 -1
- package/build/cjs/{chunk-ACX536BS.cjs → chunk-T5UE6BI7.cjs} +14 -14
- package/build/cjs/{chunk-ACX536BS.cjs.map → chunk-T5UE6BI7.cjs.map} +1 -1
- package/build/cjs/{chunk-FEUFIE6T.cjs → chunk-X7WGNFZ4.cjs} +2 -2
- package/build/cjs/{chunk-FEUFIE6T.cjs.map → chunk-X7WGNFZ4.cjs.map} +1 -1
- package/build/cjs/index.cjs +46 -46
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/public/internal.cjs +6 -6
- package/build/cjs/public/unstable-do-not-use.cjs +3 -3
- package/build/esm/Client.js +1 -1
- package/build/esm/Client.js.map +1 -1
- package/build/esm/createClient.js +3 -3
- package/build/esm/createClient.js.map +1 -1
- package/build/esm/derivedProperties/createWithPropertiesObjectSet.test.js +2 -2
- package/build/esm/derivedProperties/createWithPropertiesObjectSet.test.js.map +1 -1
- package/build/esm/object/convertWireToOsdkObjects.js +1 -1
- package/build/esm/object/convertWireToOsdkObjects.js.map +1 -1
- package/build/esm/objectSet/ObjectSet.test.js +3 -1
- package/build/esm/objectSet/ObjectSet.test.js.map +1 -1
- package/build/esm/util/UserAgent.js +1 -1
- package/build/types/Client.d.ts +1 -1
- package/build/types/createClient.d.ts.map +1 -1
- package/package.json +7 -7
package/build/cjs/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkT5UE6BI7_cjs = require('./chunk-T5UE6BI7.cjs');
|
|
4
|
+
var chunkX7WGNFZ4_cjs = require('./chunk-X7WGNFZ4.cjs');
|
|
5
5
|
require('./chunk-Q7SFCCGT.cjs');
|
|
6
6
|
var api = require('@osdk/api');
|
|
7
7
|
var shared_net_errors = require('@osdk/shared.net.errors');
|
|
@@ -405,13 +405,13 @@ async function toDataValue(value, client) {
|
|
|
405
405
|
return Promise.all(promiseArray);
|
|
406
406
|
}
|
|
407
407
|
if (isAttachmentUpload(value)) {
|
|
408
|
-
const attachment = await
|
|
408
|
+
const attachment = await chunkX7WGNFZ4_cjs.Attachment_exports.upload(client, value.data, {
|
|
409
409
|
filename: value.name
|
|
410
410
|
});
|
|
411
411
|
return await toDataValue(attachment.rid, client);
|
|
412
412
|
}
|
|
413
413
|
if (typeof value === "object" && value instanceof Blob && "name" in value) {
|
|
414
|
-
const attachment = await
|
|
414
|
+
const attachment = await chunkX7WGNFZ4_cjs.Attachment_exports.upload(client, value, {
|
|
415
415
|
filename: value.name
|
|
416
416
|
});
|
|
417
417
|
return await toDataValue(attachment.rid, client);
|
|
@@ -422,11 +422,11 @@ async function toDataValue(value, client) {
|
|
|
422
422
|
if (isOsdkBaseObject(value)) {
|
|
423
423
|
return await toDataValue(value.$primaryKey, client);
|
|
424
424
|
}
|
|
425
|
-
if (
|
|
425
|
+
if (chunkT5UE6BI7_cjs.isWireObjectSet(value)) {
|
|
426
426
|
return value;
|
|
427
427
|
}
|
|
428
|
-
if (
|
|
429
|
-
return
|
|
428
|
+
if (chunkT5UE6BI7_cjs.isObjectSet(value)) {
|
|
429
|
+
return chunkT5UE6BI7_cjs.getWireObjectSet(value);
|
|
430
430
|
}
|
|
431
431
|
if (isMediaReference(value)) {
|
|
432
432
|
return value;
|
|
@@ -449,11 +449,11 @@ async function toDataValue(value, client) {
|
|
|
449
449
|
|
|
450
450
|
// src/actions/applyAction.ts
|
|
451
451
|
async function applyAction(client, action, parameters, options = {}) {
|
|
452
|
-
const clientWithHeaders =
|
|
452
|
+
const clientWithHeaders = chunkX7WGNFZ4_cjs.addUserAgentAndRequestContextHeaders(chunkT5UE6BI7_cjs.augmentRequestContext(client, (_) => ({
|
|
453
453
|
finalMethodCall: "applyAction"
|
|
454
454
|
})), action);
|
|
455
455
|
if (Array.isArray(parameters)) {
|
|
456
|
-
const response = await
|
|
456
|
+
const response = await chunkX7WGNFZ4_cjs.Action_exports.applyBatch(clientWithHeaders, await client.ontologyRid, action.apiName, {
|
|
457
457
|
requests: parameters ? await remapBatchActionParams(parameters, client) : [],
|
|
458
458
|
options: {
|
|
459
459
|
returnEdits: options?.$returnEdits ? "ALL" : "NONE"
|
|
@@ -462,7 +462,7 @@ async function applyAction(client, action, parameters, options = {}) {
|
|
|
462
462
|
const edits = response.edits;
|
|
463
463
|
return options?.$returnEdits ? edits?.type === "edits" ? remapActionResponse(response) : edits : undefined;
|
|
464
464
|
} else {
|
|
465
|
-
const response = await
|
|
465
|
+
const response = await chunkX7WGNFZ4_cjs.Action_exports.apply(clientWithHeaders, await client.ontologyRid, action.apiName, {
|
|
466
466
|
parameters: await remapActionParams(parameters, client),
|
|
467
467
|
options: {
|
|
468
468
|
mode: options?.$validateOnly ? "VALIDATE_ONLY" : "VALIDATE_AND_EXECUTE",
|
|
@@ -660,7 +660,7 @@ var GeotimeSeriesPropertyImpl = class {
|
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
async getLatestValue() {
|
|
663
|
-
const latestPointPromise =
|
|
663
|
+
const latestPointPromise = chunkX7WGNFZ4_cjs.TimeSeriesValueBankProperty_exports.getLatestValue(this.#client, await this.#client.ontologyRid, ...this.#triplet);
|
|
664
664
|
latestPointPromise.then(
|
|
665
665
|
(latestPoint) => this.lastFetchedValue = latestPoint,
|
|
666
666
|
// eslint-disable-next-line no-console
|
|
@@ -676,7 +676,7 @@ var GeotimeSeriesPropertyImpl = class {
|
|
|
676
676
|
return allPoints;
|
|
677
677
|
}
|
|
678
678
|
async *asyncIterValues(query) {
|
|
679
|
-
const streamPointsIterator = await
|
|
679
|
+
const streamPointsIterator = await chunkX7WGNFZ4_cjs.TimeSeriesValueBankProperty_exports.streamValues(this.#client, await this.#client.ontologyRid, ...this.#triplet, query ? {
|
|
680
680
|
range: getTimeRange(query)
|
|
681
681
|
} : {});
|
|
682
682
|
for await (const timeseriesPoint of asyncIterPointsHelper(streamPointsIterator)) {
|
|
@@ -700,13 +700,13 @@ var MediaReferencePropertyImpl = class {
|
|
|
700
700
|
this.#triplet = [objectApiName, primaryKey, propertyName];
|
|
701
701
|
}
|
|
702
702
|
async fetchContents() {
|
|
703
|
-
return
|
|
703
|
+
return chunkX7WGNFZ4_cjs.MediaReferenceProperty_exports.getMediaContent(this.#client, await this.#client.ontologyRid, ...this.#triplet, {
|
|
704
704
|
preview: true
|
|
705
705
|
// TODO: Can turn this back off when backend is no longer in beta.
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
708
|
async fetchMetadata() {
|
|
709
|
-
const r = await
|
|
709
|
+
const r = await chunkX7WGNFZ4_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.#client, await this.#client.ontologyRid, ...this.#triplet, {
|
|
710
710
|
preview: true
|
|
711
711
|
// TODO: Can turn this back off when backend is no longer in beta.
|
|
712
712
|
});
|
|
@@ -727,10 +727,10 @@ var TimeSeriesPropertyImpl = class {
|
|
|
727
727
|
this.#triplet = [objectApiName, primaryKey, propertyName];
|
|
728
728
|
}
|
|
729
729
|
async getFirstPoint() {
|
|
730
|
-
return
|
|
730
|
+
return chunkX7WGNFZ4_cjs.TimeSeriesPropertyV2_exports.getFirstPoint(this.#client, await this.#client.ontologyRid, ...this.#triplet);
|
|
731
731
|
}
|
|
732
732
|
async getLastPoint() {
|
|
733
|
-
return
|
|
733
|
+
return chunkX7WGNFZ4_cjs.TimeSeriesPropertyV2_exports.getLastPoint(this.#client, await this.#client.ontologyRid, ...this.#triplet);
|
|
734
734
|
}
|
|
735
735
|
async getAllPoints(query) {
|
|
736
736
|
const allPoints = [];
|
|
@@ -740,7 +740,7 @@ var TimeSeriesPropertyImpl = class {
|
|
|
740
740
|
return allPoints;
|
|
741
741
|
}
|
|
742
742
|
async *asyncIterPoints(query) {
|
|
743
|
-
const streamPointsIterator = await
|
|
743
|
+
const streamPointsIterator = await chunkX7WGNFZ4_cjs.TimeSeriesPropertyV2_exports.streamPoints(this.#client, await this.#client.ontologyRid, ...this.#triplet, query ? {
|
|
744
744
|
range: getTimeRange(query)
|
|
745
745
|
} : {});
|
|
746
746
|
for await (const timeseriesPoint of asyncIterPointsHelper(streamPointsIterator)) {
|
|
@@ -760,7 +760,7 @@ var ClientRef = Symbol("ClientRef" );
|
|
|
760
760
|
|
|
761
761
|
// src/object/convertWireToOsdkObjects/createOsdkInterface.ts
|
|
762
762
|
function createOsdkInterface(underlying, interfaceDef) {
|
|
763
|
-
const [objApiNamespace] =
|
|
763
|
+
const [objApiNamespace] = chunkT5UE6BI7_cjs.extractNamespace(interfaceDef.apiName);
|
|
764
764
|
return Object.freeze(Object.defineProperties({}, {
|
|
765
765
|
// first to minimize hidden classes
|
|
766
766
|
[UnderlyingOsdkObject]: {
|
|
@@ -795,7 +795,7 @@ function createOsdkInterface(underlying, interfaceDef) {
|
|
|
795
795
|
},
|
|
796
796
|
...Object.fromEntries(Object.keys(interfaceDef.properties).map((p) => {
|
|
797
797
|
const objDef = underlying[ObjectDefRef];
|
|
798
|
-
const [apiNamespace, apiName] =
|
|
798
|
+
const [apiNamespace, apiName] = chunkT5UE6BI7_cjs.extractNamespace(p);
|
|
799
799
|
const targetPropName = objDef.interfaceMap[interfaceDef.apiName][p];
|
|
800
800
|
return [apiNamespace === objApiNamespace ? apiName : p, {
|
|
801
801
|
enumerable: targetPropName in underlying,
|
|
@@ -851,8 +851,8 @@ function get$link(holder) {
|
|
|
851
851
|
[objDef.primaryKeyApiName]: rawObj.$primaryKey
|
|
852
852
|
}).pivotTo(linkName);
|
|
853
853
|
const value = !linkDef.multiplicity ? {
|
|
854
|
-
fetchOne: (options) =>
|
|
855
|
-
fetchOneWithErrors: (options) =>
|
|
854
|
+
fetchOne: (options) => chunkT5UE6BI7_cjs.fetchSingle(client, objDef, options ?? {}, chunkT5UE6BI7_cjs.getWireObjectSet(objectSet)),
|
|
855
|
+
fetchOneWithErrors: (options) => chunkT5UE6BI7_cjs.fetchSingleWithErrors(client, objDef, options ?? {}, chunkT5UE6BI7_cjs.getWireObjectSet(objectSet))
|
|
856
856
|
} : objectSet;
|
|
857
857
|
return [linkName, value];
|
|
858
858
|
})));
|
|
@@ -929,9 +929,9 @@ function createSpecialProperty(client, objectDef, rawObject, p) {
|
|
|
929
929
|
{
|
|
930
930
|
if (propDef.type === "attachment") {
|
|
931
931
|
if (Array.isArray(rawValue)) {
|
|
932
|
-
return rawValue.map((a) =>
|
|
932
|
+
return rawValue.map((a) => chunkT5UE6BI7_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
|
|
933
933
|
}
|
|
934
|
-
return
|
|
934
|
+
return chunkT5UE6BI7_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
|
|
935
935
|
}
|
|
936
936
|
if (propDef.type === "numericTimeseries" || propDef.type === "stringTimeseries" || propDef.type === "sensorTimeseries") {
|
|
937
937
|
return new TimeSeriesPropertyImpl(client, objectDef.apiName, rawObject[objectDef.primaryKeyApiName], p);
|
|
@@ -1045,7 +1045,7 @@ function reframeAsObjectInPlace(objectDef, interfaceApiName, rawObj) {
|
|
|
1045
1045
|
}
|
|
1046
1046
|
function isConforming(client, def, obj, propsToCheck) {
|
|
1047
1047
|
for (const propName of propsToCheck) {
|
|
1048
|
-
if (def.properties[propName].nullable === false && obj[propName] == null) {
|
|
1048
|
+
if (propName in def.properties && def.properties[propName].nullable === false && obj[propName] == null) {
|
|
1049
1049
|
if (process.env.NODE_ENV !== "production") {
|
|
1050
1050
|
client.logger?.debug({
|
|
1051
1051
|
obj: {
|
|
@@ -1145,11 +1145,11 @@ function createAsyncClientCache(fn, createCacheLocal = createClientCache) {
|
|
|
1145
1145
|
return ret;
|
|
1146
1146
|
}
|
|
1147
1147
|
async function loadActionMetadata(client, actionType) {
|
|
1148
|
-
const r = await
|
|
1148
|
+
const r = await chunkX7WGNFZ4_cjs.ActionTypeV2_exports.get(client, await client.ontologyRid, actionType);
|
|
1149
1149
|
return generatorConverters.wireActionTypeV2ToSdkActionMetadata(r);
|
|
1150
1150
|
}
|
|
1151
1151
|
async function loadFullObjectMetadata(client, objectType) {
|
|
1152
|
-
const full = await
|
|
1152
|
+
const full = await chunkX7WGNFZ4_cjs.ObjectTypeV2_exports.getFullMetadata(client, await client.ontologyRid, objectType, {
|
|
1153
1153
|
preview: true
|
|
1154
1154
|
});
|
|
1155
1155
|
const ret = generatorConverters.wireObjectTypeFullMetadataToSdkObjectMetadata(full, true);
|
|
@@ -1159,13 +1159,13 @@ async function loadFullObjectMetadata(client, objectType) {
|
|
|
1159
1159
|
};
|
|
1160
1160
|
}
|
|
1161
1161
|
async function loadInterfaceMetadata(client, objectType) {
|
|
1162
|
-
const r = await
|
|
1162
|
+
const r = await chunkX7WGNFZ4_cjs.OntologyInterface_exports.get(client, await client.ontologyRid, objectType, {
|
|
1163
1163
|
preview: true
|
|
1164
1164
|
});
|
|
1165
1165
|
return generatorConverters.__UNSTABLE_wireInterfaceTypeV2ToSdkObjectDefinition(r, true);
|
|
1166
1166
|
}
|
|
1167
1167
|
async function loadQueryMetadata(client, queryType) {
|
|
1168
|
-
const r = await
|
|
1168
|
+
const r = await chunkX7WGNFZ4_cjs.QueryType_exports.get(client, await client.ontologyRid, queryType);
|
|
1169
1169
|
return generatorConverters.wireQueryTypeV2ToSdkQueryMetadata(r);
|
|
1170
1170
|
}
|
|
1171
1171
|
|
|
@@ -1212,10 +1212,10 @@ var createStandardOntologyProviderFactory = (client) => {
|
|
|
1212
1212
|
};
|
|
1213
1213
|
|
|
1214
1214
|
// src/util/UserAgent.ts
|
|
1215
|
-
var USER_AGENT = `osdk-client/${"2.2.0-beta.
|
|
1215
|
+
var USER_AGENT = `osdk-client/${"2.2.0-beta.3"}`;
|
|
1216
1216
|
|
|
1217
1217
|
// src/createMinimalClient.ts
|
|
1218
|
-
function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory =
|
|
1218
|
+
function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = chunkT5UE6BI7_cjs.createObjectSet) {
|
|
1219
1219
|
if (process.env.NODE_ENV !== "production") {
|
|
1220
1220
|
try {
|
|
1221
1221
|
new URL(baseUrl);
|
|
@@ -1277,13 +1277,13 @@ async function toDataValueQueries(value, client, desiredType) {
|
|
|
1277
1277
|
switch (desiredType.type) {
|
|
1278
1278
|
case "attachment": {
|
|
1279
1279
|
if (isAttachmentUpload(value)) {
|
|
1280
|
-
const attachment = await
|
|
1280
|
+
const attachment = await chunkX7WGNFZ4_cjs.Attachment_exports.upload(client, value.data, {
|
|
1281
1281
|
filename: value.name
|
|
1282
1282
|
});
|
|
1283
1283
|
return attachment.rid;
|
|
1284
1284
|
}
|
|
1285
1285
|
if (typeof value === "object" && value instanceof Blob && "name" in value) {
|
|
1286
|
-
const attachment = await
|
|
1286
|
+
const attachment = await chunkX7WGNFZ4_cjs.Attachment_exports.upload(client, value, {
|
|
1287
1287
|
filename: value.name
|
|
1288
1288
|
});
|
|
1289
1289
|
return attachment.rid;
|
|
@@ -1314,11 +1314,11 @@ async function toDataValueQueries(value, client, desiredType) {
|
|
|
1314
1314
|
break;
|
|
1315
1315
|
}
|
|
1316
1316
|
case "objectSet": {
|
|
1317
|
-
if (
|
|
1317
|
+
if (chunkT5UE6BI7_cjs.isWireObjectSet(value)) {
|
|
1318
1318
|
return value;
|
|
1319
1319
|
}
|
|
1320
|
-
if (
|
|
1321
|
-
return
|
|
1320
|
+
if (chunkT5UE6BI7_cjs.isObjectSet(value)) {
|
|
1321
|
+
return chunkT5UE6BI7_cjs.getWireObjectSet(value);
|
|
1322
1322
|
}
|
|
1323
1323
|
break;
|
|
1324
1324
|
}
|
|
@@ -1347,7 +1347,7 @@ async function toDataValueQueries(value, client, desiredType) {
|
|
|
1347
1347
|
// src/queries/applyQuery.ts
|
|
1348
1348
|
async function applyQuery(client, query, params) {
|
|
1349
1349
|
const qd = await client.ontologyProvider.getQueryDefinition(query.apiName);
|
|
1350
|
-
const response = await
|
|
1350
|
+
const response = await chunkX7WGNFZ4_cjs.Query_exports.execute(chunkX7WGNFZ4_cjs.addUserAgentAndRequestContextHeaders(chunkT5UE6BI7_cjs.augmentRequestContext(client, (_) => ({
|
|
1351
1351
|
finalMethodCall: "applyQuery"
|
|
1352
1352
|
})), query), await client.ontologyRid, query.apiName, {
|
|
1353
1353
|
parameters: params ? await remapQueryParams(params, client, qd.parameters) : {}
|
|
@@ -1392,7 +1392,7 @@ async function remapQueryResponse(client, responseDataType, responseValue, defin
|
|
|
1392
1392
|
return responseValue;
|
|
1393
1393
|
}
|
|
1394
1394
|
case "attachment": {
|
|
1395
|
-
return
|
|
1395
|
+
return chunkT5UE6BI7_cjs.hydrateAttachmentFromRidInternal(client, responseValue);
|
|
1396
1396
|
}
|
|
1397
1397
|
case "object": {
|
|
1398
1398
|
const def = definitions.get(responseDataType.object);
|
|
@@ -1407,7 +1407,7 @@ async function remapQueryResponse(client, responseDataType, responseValue, defin
|
|
|
1407
1407
|
throw new Error(`Missing definition for ${responseDataType.objectSet}`);
|
|
1408
1408
|
}
|
|
1409
1409
|
if (typeof responseValue === "string") {
|
|
1410
|
-
return
|
|
1410
|
+
return chunkT5UE6BI7_cjs.createObjectSet(def, client, {
|
|
1411
1411
|
type: "intersect",
|
|
1412
1412
|
objectSets: [{
|
|
1413
1413
|
type: "base",
|
|
@@ -1418,7 +1418,7 @@ async function remapQueryResponse(client, responseDataType, responseValue, defin
|
|
|
1418
1418
|
}]
|
|
1419
1419
|
});
|
|
1420
1420
|
}
|
|
1421
|
-
return
|
|
1421
|
+
return chunkT5UE6BI7_cjs.createObjectSet(def, client, responseValue);
|
|
1422
1422
|
}
|
|
1423
1423
|
case "struct": {
|
|
1424
1424
|
for (const [key, subtype] of Object.entries(responseDataType.struct)) {
|
|
@@ -1573,7 +1573,7 @@ function createClientInternal(objectSetFactory, baseUrl, ontologyRid, tokenProvi
|
|
|
1573
1573
|
case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid.name:
|
|
1574
1574
|
return {
|
|
1575
1575
|
fetchOneByRid: async (objectType, rid, options2) => {
|
|
1576
|
-
return await
|
|
1576
|
+
return await chunkT5UE6BI7_cjs.fetchSingle(clientCtx, objectType, options2, createWithRid(rid));
|
|
1577
1577
|
}
|
|
1578
1578
|
};
|
|
1579
1579
|
case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__createMediaReference.name:
|
|
@@ -1582,10 +1582,10 @@ function createClientInternal(objectSetFactory, baseUrl, ontologyRid, tokenProvi
|
|
|
1582
1582
|
const {
|
|
1583
1583
|
data,
|
|
1584
1584
|
fileName,
|
|
1585
|
-
|
|
1586
|
-
|
|
1585
|
+
objectType,
|
|
1586
|
+
propertyType
|
|
1587
1587
|
} = args;
|
|
1588
|
-
return await
|
|
1588
|
+
return await chunkX7WGNFZ4_cjs.MediaReferenceProperty_exports.upload(clientCtx, await clientCtx.ontologyRid, objectType.apiName, propertyType, data, {
|
|
1589
1589
|
mediaItemPath: fileName,
|
|
1590
1590
|
preview: true
|
|
1591
1591
|
});
|
|
@@ -1600,13 +1600,13 @@ function createClientInternal(objectSetFactory, baseUrl, ontologyRid, tokenProvi
|
|
|
1600
1600
|
const fetchMetadata = fetchMetadataInternal.bind(undefined, clientCtx);
|
|
1601
1601
|
const symbolClientContext2 = "__osdkClientContext";
|
|
1602
1602
|
const client = Object.defineProperties(clientFn, {
|
|
1603
|
-
[
|
|
1603
|
+
[chunkX7WGNFZ4_cjs.symbolClientContext]: {
|
|
1604
1604
|
value: clientCtx
|
|
1605
1605
|
},
|
|
1606
1606
|
[symbolClientContext2]: {
|
|
1607
1607
|
value: clientCtx
|
|
1608
1608
|
},
|
|
1609
|
-
[
|
|
1609
|
+
[chunkX7WGNFZ4_cjs.additionalContext]: {
|
|
1610
1610
|
value: clientCtx
|
|
1611
1611
|
},
|
|
1612
1612
|
fetchMetadata: {
|
|
@@ -1615,7 +1615,7 @@ function createClientInternal(objectSetFactory, baseUrl, ontologyRid, tokenProvi
|
|
|
1615
1615
|
});
|
|
1616
1616
|
return client;
|
|
1617
1617
|
}
|
|
1618
|
-
var createClient = createClientInternal.bind(undefined,
|
|
1618
|
+
var createClient = createClientInternal.bind(undefined, chunkT5UE6BI7_cjs.createObjectSet);
|
|
1619
1619
|
function createWithRid(rid) {
|
|
1620
1620
|
const withRid = {
|
|
1621
1621
|
type: "static",
|