@osdk/client 2.85.0 → 2.85.1-main-65dcc111f0439ce4ce5dfd623bc3c12058fc547b
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 +9 -0
- package/build/browser/Client.js +1 -1
- package/build/browser/Client.js.map +1 -1
- package/build/browser/util/UserAgent.js +2 -2
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{applyStreamingQuery-3ELZNJXE.cjs → applyStreamingQuery-EPUDJ3F3.cjs} +8 -8
- package/build/cjs/{applyStreamingQuery-3ELZNJXE.cjs.map → applyStreamingQuery-EPUDJ3F3.cjs.map} +1 -1
- package/build/cjs/{chunk-CJJ4D2DO.cjs → chunk-3IONVEZZ.cjs} +14 -14
- package/build/cjs/{chunk-CJJ4D2DO.cjs.map → chunk-3IONVEZZ.cjs.map} +1 -1
- package/build/cjs/{chunk-UFWNYRM3.cjs → chunk-JXCQEFVT.cjs} +5 -5
- package/build/cjs/{chunk-UFWNYRM3.cjs.map → chunk-JXCQEFVT.cjs.map} +1 -1
- package/build/cjs/{chunk-OWCTXXEO.cjs → chunk-MD7XNTUU.cjs} +8 -8
- package/build/cjs/{chunk-OWCTXXEO.cjs.map → chunk-MD7XNTUU.cjs.map} +1 -1
- package/build/cjs/{chunk-73GITK7Y.cjs → chunk-VVZTTZN5.cjs} +2 -2
- package/build/cjs/{chunk-73GITK7Y.cjs.map → chunk-VVZTTZN5.cjs.map} +1 -1
- package/build/cjs/{chunk-UUWO2YRM.cjs → chunk-YZQ2CKPC.cjs} +83 -83
- package/build/cjs/{chunk-UUWO2YRM.cjs.map → chunk-YZQ2CKPC.cjs.map} +1 -1
- package/build/cjs/{chunk-UIXBBAZW.cjs → chunk-Z365BLGL.cjs} +53 -53
- package/build/cjs/chunk-Z365BLGL.cjs.map +1 -0
- package/build/cjs/index.cjs +12 -12
- package/build/cjs/public/experimental.cjs +10 -10
- package/build/cjs/public/internal.cjs +9 -9
- package/build/cjs/public/observable.cjs +6 -6
- package/build/cjs/public/unstable-do-not-use.cjs +17 -17
- package/build/esm/Client.js +1 -1
- package/build/esm/Client.js.map +1 -1
- package/build/esm/util/UserAgent.js +2 -2
- package/build/esm/util/UserAgent.js.map +1 -1
- package/build/types/Client.d.ts +1 -1
- package/package.json +6 -6
- package/build/cjs/chunk-UIXBBAZW.cjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJXCQEFVT_cjs = require('./chunk-JXCQEFVT.cjs');
|
|
4
4
|
var chunk6OIQ3CCD_cjs = require('./chunk-6OIQ3CCD.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunk3IONVEZZ_cjs = require('./chunk-3IONVEZZ.cjs');
|
|
6
|
+
var chunkVVZTTZN5_cjs = require('./chunk-VVZTTZN5.cjs');
|
|
7
7
|
var chunk43FBV5TU_cjs = require('./chunk-43FBV5TU.cjs');
|
|
8
8
|
var chunkIWUIN6JJ_cjs = require('./chunk-IWUIN6JJ.cjs');
|
|
9
9
|
var chunkQ7SFCCGT_cjs = require('./chunk-Q7SFCCGT.cjs');
|
|
@@ -160,7 +160,7 @@ function isScenarioClient(value) {
|
|
|
160
160
|
return value != null && (typeof value === "object" || typeof value === "function") && typeof value.getScenarioReference === "function";
|
|
161
161
|
}
|
|
162
162
|
function buildScenarioClient(parent, scenarioRid) {
|
|
163
|
-
const ctx = parent[
|
|
163
|
+
const ctx = parent[chunkVVZTTZN5_cjs.additionalContext];
|
|
164
164
|
if (ctx.transactionId != null) {
|
|
165
165
|
console.warn("withScenario / createScenario: the supplied client has an active transaction. Ignoring the transaction and scoping to the scenario instead.");
|
|
166
166
|
}
|
|
@@ -174,7 +174,7 @@ function buildScenarioClient(parent, scenarioRid) {
|
|
|
174
174
|
scenarioRid,
|
|
175
175
|
clientCacheKey: {}
|
|
176
176
|
});
|
|
177
|
-
const innerCtx = inner[
|
|
177
|
+
const innerCtx = inner[chunkVVZTTZN5_cjs.additionalContext];
|
|
178
178
|
async function getEditedEntityTypes() {
|
|
179
179
|
const ontologyRid = await innerCtx.ontologyRid;
|
|
180
180
|
const response = await OntologyScenario_exports.listScenarioEditedEntityTypes(innerCtx, ontologyRid, scenarioRid, {
|
|
@@ -354,7 +354,7 @@ async function toDataValue(value, client, parameterType) {
|
|
|
354
354
|
}
|
|
355
355
|
if (Array.isArray(value) || value instanceof Set) {
|
|
356
356
|
const values = Array.from(value);
|
|
357
|
-
if (values.some((dataValue) =>
|
|
357
|
+
if (values.some((dataValue) => chunk3IONVEZZ_cjs.isAttachmentUpload(dataValue) || chunk3IONVEZZ_cjs.isAttachmentFile(dataValue))) {
|
|
358
358
|
const converted = [];
|
|
359
359
|
for (const value2 of values) {
|
|
360
360
|
converted.push(await toDataValue(value2, client, parameterType));
|
|
@@ -364,43 +364,43 @@ async function toDataValue(value, client, parameterType) {
|
|
|
364
364
|
const promiseArray = Array.from(value, async (innerValue) => await toDataValue(innerValue, client, parameterType));
|
|
365
365
|
return Promise.all(promiseArray);
|
|
366
366
|
}
|
|
367
|
-
if (
|
|
368
|
-
const attachment = await
|
|
367
|
+
if (chunk3IONVEZZ_cjs.isAttachmentUpload(value)) {
|
|
368
|
+
const attachment = await chunkVVZTTZN5_cjs.upload(client, value.data, {
|
|
369
369
|
filename: value.name
|
|
370
370
|
});
|
|
371
371
|
return await toDataValue(attachment.rid, client, parameterType);
|
|
372
372
|
}
|
|
373
|
-
if (
|
|
374
|
-
const attachment = await
|
|
373
|
+
if (chunk3IONVEZZ_cjs.isAttachmentFile(value)) {
|
|
374
|
+
const attachment = await chunkVVZTTZN5_cjs.upload(client, value, {
|
|
375
375
|
filename: value.name
|
|
376
376
|
});
|
|
377
377
|
return await toDataValue(attachment.rid, client, parameterType);
|
|
378
378
|
}
|
|
379
|
-
if (
|
|
379
|
+
if (chunk3IONVEZZ_cjs.isMediaUpload(value)) {
|
|
380
380
|
const mediaRef = await chunk43FBV5TU_cjs.MediaSet_exports.uploadMedia(client, value.data, {
|
|
381
381
|
filename: value.fileName
|
|
382
382
|
});
|
|
383
383
|
return await toDataValue(mediaRef, client, parameterType);
|
|
384
384
|
}
|
|
385
|
-
if (
|
|
385
|
+
if (chunk3IONVEZZ_cjs.isMedia(value)) {
|
|
386
386
|
return value.getMediaReference();
|
|
387
387
|
}
|
|
388
|
-
if (
|
|
388
|
+
if (chunk3IONVEZZ_cjs.isMediaReference(value)) {
|
|
389
389
|
return value;
|
|
390
390
|
}
|
|
391
391
|
if (isOntologyObjectV2(value)) {
|
|
392
392
|
return await toDataValue(value.__primaryKey, client, parameterType);
|
|
393
393
|
}
|
|
394
|
-
if (
|
|
394
|
+
if (chunk3IONVEZZ_cjs.isObjectSpecifiersObject(value)) {
|
|
395
395
|
return await toDataValue(value.$primaryKey, client, parameterType);
|
|
396
396
|
}
|
|
397
|
-
if (
|
|
398
|
-
return
|
|
397
|
+
if (chunkVVZTTZN5_cjs.isWireObjectSet(value)) {
|
|
398
|
+
return chunkVVZTTZN5_cjs.normalizeInterfaceLinkSearchArounds(client, value);
|
|
399
399
|
}
|
|
400
|
-
if (
|
|
401
|
-
return
|
|
400
|
+
if (chunkVVZTTZN5_cjs.isObjectSet(value)) {
|
|
401
|
+
return chunkVVZTTZN5_cjs.normalizeInterfaceLinkSearchArounds(client, chunkVVZTTZN5_cjs.getWireObjectSet(value));
|
|
402
402
|
}
|
|
403
|
-
if (
|
|
403
|
+
if (chunk3IONVEZZ_cjs.isInterfaceActionParam(value)) {
|
|
404
404
|
return {
|
|
405
405
|
objectTypeApiName: value.$objectType,
|
|
406
406
|
primaryKeyValue: value.$primaryKey
|
|
@@ -444,7 +444,7 @@ function isTimeSeriesReference(value) {
|
|
|
444
444
|
|
|
445
445
|
// src/actions/applyAction.ts
|
|
446
446
|
async function applyAction(client, action, parameters, options = {}) {
|
|
447
|
-
const clientWithHeaders =
|
|
447
|
+
const clientWithHeaders = chunkVVZTTZN5_cjs.addUserAgentHeader(client, action);
|
|
448
448
|
if (Array.isArray(parameters)) {
|
|
449
449
|
!(client.transactionId == null) ? process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Batch actions are not supported for staged edit functions or when supplying a transaction ID") : invariant4__default.default(false) : void 0;
|
|
450
450
|
const response = await applyBatch(clientWithHeaders, await client.ontologyRid, action.unsanitizedApiName ?? action.apiName, {
|
|
@@ -638,12 +638,12 @@ async function toDataValueAgents(value, client, desiredType, path = "") {
|
|
|
638
638
|
case "nullable":
|
|
639
639
|
return await toDataValueAgents(value, client, desiredType.wrappedType, path);
|
|
640
640
|
case "object": {
|
|
641
|
-
const primaryKey =
|
|
641
|
+
const primaryKey = chunk3IONVEZZ_cjs.isObjectSpecifiersObject(value) ? value.$primaryKey : value;
|
|
642
642
|
if (typeof primaryKey !== "string" && typeof primaryKey !== "number") {
|
|
643
643
|
throw new TypeError(`Invalid agent argument "${path}": expected an OSDK object, object identifier, or string or number primary key.`);
|
|
644
644
|
}
|
|
645
645
|
await checkOntology(client, desiredType.ontologyApiName, path);
|
|
646
|
-
const objectTypeApiName =
|
|
646
|
+
const objectTypeApiName = chunk3IONVEZZ_cjs.isObjectSpecifiersObject(value) ? value.$apiName : desiredType.objectTypeApiName;
|
|
647
647
|
const objectTypeDefinition = await client.ontologyProvider.getObjectDefinition(objectTypeApiName);
|
|
648
648
|
return {
|
|
649
649
|
ontologyRid: await client.ontologyRid,
|
|
@@ -657,11 +657,11 @@ async function toDataValueAgents(value, client, desiredType, path = "") {
|
|
|
657
657
|
if (typeof value === "string") {
|
|
658
658
|
return value;
|
|
659
659
|
}
|
|
660
|
-
if (!
|
|
660
|
+
if (!chunkVVZTTZN5_cjs.isWireObjectSet(value) && !chunkVVZTTZN5_cjs.isObjectSet(value)) {
|
|
661
661
|
throw new TypeError(`Invalid agent argument "${path}": expected an OSDK ObjectSet, object set definition, or object set RID string.`);
|
|
662
662
|
}
|
|
663
663
|
await checkOntology(client, desiredType.ontologyApiName, path);
|
|
664
|
-
return await
|
|
664
|
+
return await chunkJXCQEFVT_cjs.createTemporaryObjectSet(client, value);
|
|
665
665
|
}
|
|
666
666
|
case "list":
|
|
667
667
|
if (!Array.isArray(value)) {
|
|
@@ -728,7 +728,7 @@ async function createAgentSession(client, agent, args) {
|
|
|
728
728
|
if (client.branch != null) {
|
|
729
729
|
throw new Error("Agent sessions are not supported on branches");
|
|
730
730
|
}
|
|
731
|
-
const clientWithHeaders =
|
|
731
|
+
const clientWithHeaders = chunkVVZTTZN5_cjs.addUserAgentHeader(client, agent);
|
|
732
732
|
const ontologyRid = await client.ontologyRid;
|
|
733
733
|
const agentDefinition = await client.ontologyProvider.getAgentDefinition(agent.apiName, agent.version);
|
|
734
734
|
const convertedArguments = await toDataValueAgents(args ?? {}, client, {
|
|
@@ -978,7 +978,7 @@ var MediaReferencePropertyImpl = class {
|
|
|
978
978
|
ReadToken: token
|
|
979
979
|
} : void 0);
|
|
980
980
|
return {
|
|
981
|
-
itemMetadata:
|
|
981
|
+
itemMetadata: chunkVVZTTZN5_cjs.validateMediaItemMetadata(raw)
|
|
982
982
|
};
|
|
983
983
|
}
|
|
984
984
|
getMediaReference() {
|
|
@@ -1406,8 +1406,8 @@ function get$link(holder) {
|
|
|
1406
1406
|
[objDef.primaryKeyApiName]: rawObj.$primaryKey
|
|
1407
1407
|
}).pivotTo(linkName);
|
|
1408
1408
|
const value = !linkDef.multiplicity ? {
|
|
1409
|
-
fetchOne: (options) =>
|
|
1410
|
-
fetchOneWithErrors: (options) =>
|
|
1409
|
+
fetchOne: (options) => chunkVVZTTZN5_cjs.fetchSingle(client, objDef, options ?? {}, chunkVVZTTZN5_cjs.getWireObjectSet(objectSet)),
|
|
1410
|
+
fetchOneWithErrors: (options) => chunkVVZTTZN5_cjs.fetchSingleWithErrors(client, objDef, options ?? {}, chunkVVZTTZN5_cjs.getWireObjectSet(objectSet))
|
|
1411
1411
|
} : objectSet;
|
|
1412
1412
|
return [linkName, value];
|
|
1413
1413
|
})));
|
|
@@ -1430,8 +1430,8 @@ function get$linkForInterface(holder) {
|
|
|
1430
1430
|
apiName: linkDef.targetTypeApiName
|
|
1431
1431
|
};
|
|
1432
1432
|
const value = !linkDef.multiplicity ? {
|
|
1433
|
-
fetchOne: (options) =>
|
|
1434
|
-
fetchOneWithErrors: (options) =>
|
|
1433
|
+
fetchOne: (options) => chunkVVZTTZN5_cjs.fetchSingle(client, linkTargetDef, options ?? {}, chunkVVZTTZN5_cjs.getWireObjectSet(objectSet)),
|
|
1434
|
+
fetchOneWithErrors: (options) => chunkVVZTTZN5_cjs.fetchSingleWithErrors(client, linkTargetDef, options ?? {}, chunkVVZTTZN5_cjs.getWireObjectSet(objectSet))
|
|
1435
1435
|
} : objectSet;
|
|
1436
1436
|
return [linkName, value];
|
|
1437
1437
|
})));
|
|
@@ -1476,7 +1476,7 @@ function isStruct(value) {
|
|
|
1476
1476
|
return typeof value === "object" && value != null && !Array.isArray(value);
|
|
1477
1477
|
}
|
|
1478
1478
|
function createOsdkInterface(underlying, interfaceDef) {
|
|
1479
|
-
const [objApiNamespace] =
|
|
1479
|
+
const [objApiNamespace] = chunkVVZTTZN5_cjs.extractNamespace(interfaceDef.apiName);
|
|
1480
1480
|
const objDef = underlying[ObjectDefRef];
|
|
1481
1481
|
const underlyingProperties = underlying;
|
|
1482
1482
|
return Object.freeze(Object.defineProperties({}, {
|
|
@@ -1540,7 +1540,7 @@ function createOsdkInterface(underlying, interfaceDef) {
|
|
|
1540
1540
|
value: interfaceDef
|
|
1541
1541
|
},
|
|
1542
1542
|
...Object.fromEntries(Object.keys(interfaceDef.properties).map((p) => {
|
|
1543
|
-
const [apiNamespace, apiName] =
|
|
1543
|
+
const [apiNamespace, apiName] = chunkVVZTTZN5_cjs.extractNamespace(p);
|
|
1544
1544
|
const exposedName = apiNamespace === objApiNamespace ? apiName : p;
|
|
1545
1545
|
const impl = objDef.interfaceImplementations?.[interfaceDef.apiName]?.[p];
|
|
1546
1546
|
if (impl != null) {
|
|
@@ -1589,7 +1589,7 @@ function remapPropertySecuritiesForInterface(underlyingSecurities, objDef, inter
|
|
|
1589
1589
|
}
|
|
1590
1590
|
const interfacePropName = inverseMap[objPropName];
|
|
1591
1591
|
if (interfacePropName == null) continue;
|
|
1592
|
-
const [apiNamespace, apiName] =
|
|
1592
|
+
const [apiNamespace, apiName] = chunkVVZTTZN5_cjs.extractNamespace(interfacePropName);
|
|
1593
1593
|
const key = apiNamespace === objApiNamespace ? apiName : interfacePropName;
|
|
1594
1594
|
remapped[key] = underlyingSecurities[objPropName];
|
|
1595
1595
|
}
|
|
@@ -1682,7 +1682,7 @@ var basePropDefs = {
|
|
|
1682
1682
|
$objectSpecifier: {
|
|
1683
1683
|
get() {
|
|
1684
1684
|
const rawObj = this[UnderlyingOsdkObject];
|
|
1685
|
-
return
|
|
1685
|
+
return chunk3IONVEZZ_cjs.createObjectSpecifierFromPrimaryKey(this[ObjectDefRef], rawObj.$primaryKey);
|
|
1686
1686
|
},
|
|
1687
1687
|
enumerable: true
|
|
1688
1688
|
},
|
|
@@ -1754,9 +1754,9 @@ function modifyRdpProperties(client, derivedPropertyTypeByName, rawValue, propKe
|
|
|
1754
1754
|
switch (derivedPropertyTypeByName[propKey].selectedOrCollectedPropertyType?.type) {
|
|
1755
1755
|
case "attachment":
|
|
1756
1756
|
if (Array.isArray(rawValue)) {
|
|
1757
|
-
return rawValue.map((a) =>
|
|
1757
|
+
return rawValue.map((a) => chunkVVZTTZN5_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
|
|
1758
1758
|
} else {
|
|
1759
|
-
return
|
|
1759
|
+
return chunkVVZTTZN5_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
|
|
1760
1760
|
}
|
|
1761
1761
|
default:
|
|
1762
1762
|
process.env.NODE_ENV !== "production" ? invariant4__default.default(false, "Derived property aggregations for Timeseries and Media are not supported") : invariant4__default.default(false) ;
|
|
@@ -1772,9 +1772,9 @@ function createSpecialProperty(client, objectDef, rawObject, p) {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
if (propDef.type === "attachment") {
|
|
1774
1774
|
if (Array.isArray(rawValue)) {
|
|
1775
|
-
return rawValue.map((a) =>
|
|
1775
|
+
return rawValue.map((a) => chunkVVZTTZN5_cjs.hydrateAttachmentFromRidInternal(client, a.rid));
|
|
1776
1776
|
}
|
|
1777
|
-
return
|
|
1777
|
+
return chunkVVZTTZN5_cjs.hydrateAttachmentFromRidInternal(client, rawValue.rid);
|
|
1778
1778
|
}
|
|
1779
1779
|
if (propDef.type === "cipherText") {
|
|
1780
1780
|
return new CipherTextPropertyImpl({
|
|
@@ -2088,11 +2088,11 @@ var createStandardOntologyProviderFactory = (client) => {
|
|
|
2088
2088
|
};
|
|
2089
2089
|
|
|
2090
2090
|
// src/util/UserAgent.ts
|
|
2091
|
-
var USER_AGENT = `osdk-client/${"2.85.
|
|
2092
|
-
var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.85.
|
|
2091
|
+
var USER_AGENT = `osdk-client/${"2.85.1-main-65dcc111f0439ce4ce5dfd623bc3c12058fc547b"}`;
|
|
2092
|
+
var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.85.1-main-65dcc111f0439ce4ce5dfd623bc3c12058fc547b"}`;
|
|
2093
2093
|
|
|
2094
2094
|
// src/createMinimalClient.ts
|
|
2095
|
-
function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory =
|
|
2095
|
+
function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = chunkVVZTTZN5_cjs.createObjectSet, createOntologyProviderFactory = createStandardOntologyProviderFactory) {
|
|
2096
2096
|
if (process.env.NODE_ENV !== "production") {
|
|
2097
2097
|
try {
|
|
2098
2098
|
new URL(baseUrl);
|
|
@@ -2781,7 +2781,7 @@ var ActionInvoker = class {
|
|
|
2781
2781
|
};
|
|
2782
2782
|
var QueryInvoker = class {
|
|
2783
2783
|
constructor(clientCtx, queryDef) {
|
|
2784
|
-
this.executeFunction =
|
|
2784
|
+
this.executeFunction = chunk3IONVEZZ_cjs.applyQuery.bind(void 0, clientCtx, queryDef);
|
|
2785
2785
|
}
|
|
2786
2786
|
};
|
|
2787
2787
|
var AgentClient = class {
|
|
@@ -2805,7 +2805,7 @@ function createClientInternal(objectSetFactory, transactionRid, flushEdits, scen
|
|
|
2805
2805
|
ontologyRid
|
|
2806
2806
|
}, baseUrl, tokenProvider, {
|
|
2807
2807
|
...options,
|
|
2808
|
-
logger: options?.logger ?? new
|
|
2808
|
+
logger: options?.logger ?? new chunkJXCQEFVT_cjs.MinimalLogger(),
|
|
2809
2809
|
transactionId: transactionRid,
|
|
2810
2810
|
flushEdits,
|
|
2811
2811
|
scenarioRid,
|
|
@@ -2831,7 +2831,7 @@ function createClientFromContext(clientCtx) {
|
|
|
2831
2831
|
async *executeStreamingFunction(query, params) {
|
|
2832
2832
|
const {
|
|
2833
2833
|
applyStreamingQuery
|
|
2834
|
-
} = await import('./applyStreamingQuery-
|
|
2834
|
+
} = await import('./applyStreamingQuery-EPUDJ3F3.cjs');
|
|
2835
2835
|
yield* applyStreamingQuery(clientCtx, query, params);
|
|
2836
2836
|
}
|
|
2837
2837
|
};
|
|
@@ -2858,16 +2858,16 @@ function createClientFromContext(clientCtx) {
|
|
|
2858
2858
|
case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid.name:
|
|
2859
2859
|
return {
|
|
2860
2860
|
fetchOneByRid: async (objectType, rid, options) => {
|
|
2861
|
-
return await
|
|
2861
|
+
return await chunkVVZTTZN5_cjs.fetchSingle(clientCtx, objectType, options, createWithRid([rid]));
|
|
2862
2862
|
}
|
|
2863
2863
|
};
|
|
2864
2864
|
case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchPageByRid.name:
|
|
2865
2865
|
return {
|
|
2866
2866
|
fetchPageByRid: async (objectOrInterfaceType, rids, options = {}) => {
|
|
2867
|
-
return await
|
|
2867
|
+
return await chunkVVZTTZN5_cjs.fetchPage(clientCtx, objectOrInterfaceType, options, createWithRid(rids));
|
|
2868
2868
|
},
|
|
2869
2869
|
fetchPageByRidNoType: async (rids, options) => {
|
|
2870
|
-
return await
|
|
2870
|
+
return await chunkVVZTTZN5_cjs.fetchStaticRidPage(clientCtx, rids, options ?? {});
|
|
2871
2871
|
}
|
|
2872
2872
|
};
|
|
2873
2873
|
case unstable.__EXPERIMENTAL__NOT_SUPPORTED_YET__subscribeToNoTypeObjectSet.name:
|
|
@@ -2911,7 +2911,7 @@ function createClientFromContext(clientCtx) {
|
|
|
2911
2911
|
[symbolClientContext2]: {
|
|
2912
2912
|
value: clientCtx
|
|
2913
2913
|
},
|
|
2914
|
-
[
|
|
2914
|
+
[chunkVVZTTZN5_cjs.additionalContext]: {
|
|
2915
2915
|
value: clientCtx
|
|
2916
2916
|
},
|
|
2917
2917
|
fetchMetadata: {
|
|
@@ -2920,9 +2920,9 @@ function createClientFromContext(clientCtx) {
|
|
|
2920
2920
|
});
|
|
2921
2921
|
return client;
|
|
2922
2922
|
}
|
|
2923
|
-
var createClient = createClientInternal.bind(void 0,
|
|
2924
|
-
var createClientWithTransaction = (transactionRid, flushEdits, ...args) => createClientInternal(
|
|
2925
|
-
var createClientWithSubscriptionConnection = (createSubscriptionConnection, ...args) => createClientInternal(
|
|
2923
|
+
var createClient = createClientInternal.bind(void 0, chunkVVZTTZN5_cjs.createObjectSet, void 0, void 0, void 0, void 0);
|
|
2924
|
+
var createClientWithTransaction = (transactionRid, flushEdits, ...args) => createClientInternal(chunkVVZTTZN5_cjs.createObjectSet, transactionRid, flushEdits, void 0, void 0, ...args);
|
|
2925
|
+
var createClientWithSubscriptionConnection = (createSubscriptionConnection, ...args) => createClientInternal(chunkVVZTTZN5_cjs.createObjectSet, void 0, void 0, void 0, createSubscriptionConnection, ...args);
|
|
2926
2926
|
function createWithRid(rids) {
|
|
2927
2927
|
const withRid = {
|
|
2928
2928
|
type: "static",
|
|
@@ -2947,5 +2947,5 @@ exports.createClientFromContext = createClientFromContext;
|
|
|
2947
2947
|
exports.createClientWithSubscriptionConnection = createClientWithSubscriptionConnection;
|
|
2948
2948
|
exports.createClientWithTransaction = createClientWithTransaction;
|
|
2949
2949
|
exports.createOsdkObject = createOsdkObject;
|
|
2950
|
-
//# sourceMappingURL=chunk-
|
|
2951
|
-
//# sourceMappingURL=chunk-
|
|
2950
|
+
//# sourceMappingURL=chunk-Z365BLGL.cjs.map
|
|
2951
|
+
//# sourceMappingURL=chunk-Z365BLGL.cjs.map
|