@osdk/client 2.7.0-beta.4 → 2.7.0-beta.6
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 +27 -0
- package/build/browser/fetchMetadata.test.js +1 -1
- package/build/browser/fetchMetadata.test.js.map +1 -1
- package/build/browser/object/convertWireToOsdkObjects.js.map +1 -1
- package/build/browser/object/convertWireToOsdkObjects.test.js +1 -1
- package/build/browser/object/convertWireToOsdkObjects.test.js.map +1 -1
- package/build/browser/object/fetchPage.js +2 -0
- package/build/browser/object/fetchPage.js.map +1 -1
- package/build/browser/observable/ListPayload.js.map +1 -1
- package/build/browser/observable/ObjectPayload.js.map +1 -1
- package/build/browser/observable/ObservableClient.js +0 -5
- package/build/browser/observable/ObservableClient.js.map +1 -1
- package/build/browser/observable/internal/ObservableClientImpl.js.map +1 -1
- package/build/browser/public/unstable-do-not-use.js.map +1 -1
- package/build/browser/queries/applyQuery.js +2 -1
- package/build/browser/queries/applyQuery.js.map +1 -1
- package/build/browser/util/UserAgent.js +2 -2
- package/build/cjs/{chunk-MXNJ2KQH.cjs → chunk-HM4EXGFD.cjs} +31 -24
- package/build/cjs/chunk-HM4EXGFD.cjs.map +1 -0
- package/build/cjs/{chunk-ESGXYLZT.cjs → chunk-NN424XVL.cjs} +69 -68
- package/build/cjs/chunk-NN424XVL.cjs.map +1 -0
- package/build/cjs/index.cjs +8 -8
- package/build/cjs/public/internal.cjs +8 -8
- package/build/cjs/public/unstable-do-not-use.cjs +33 -33
- package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
- package/build/cjs/public/unstable-do-not-use.d.cts +6 -6
- package/build/esm/fetchMetadata.test.js +1 -1
- package/build/esm/fetchMetadata.test.js.map +1 -1
- package/build/esm/object/convertWireToOsdkObjects.js.map +1 -1
- package/build/esm/object/convertWireToOsdkObjects.test.js +1 -1
- package/build/esm/object/convertWireToOsdkObjects.test.js.map +1 -1
- package/build/esm/object/fetchPage.js +2 -0
- package/build/esm/object/fetchPage.js.map +1 -1
- package/build/esm/observable/ListPayload.js.map +1 -1
- package/build/esm/observable/ObjectPayload.js.map +1 -1
- package/build/esm/observable/ObservableClient.js +0 -5
- package/build/esm/observable/ObservableClient.js.map +1 -1
- package/build/esm/observable/internal/ObservableClientImpl.js.map +1 -1
- package/build/esm/public/unstable-do-not-use.js.map +1 -1
- package/build/esm/queries/applyQuery.js +2 -1
- package/build/esm/queries/applyQuery.js.map +1 -1
- package/build/esm/util/UserAgent.js +2 -2
- package/build/types/object/convertWireToOsdkObjects.d.ts.map +1 -1
- package/build/types/observable/ListPayload.d.ts +3 -2
- package/build/types/observable/ListPayload.d.ts.map +1 -1
- package/build/types/observable/ObjectPayload.d.ts +2 -2
- package/build/types/observable/ObjectPayload.d.ts.map +1 -1
- package/build/types/observable/ObservableClient.d.ts +8 -5
- package/build/types/observable/ObservableClient.d.ts.map +1 -1
- package/build/types/public/unstable-do-not-use.d.ts +1 -1
- package/build/types/public/unstable-do-not-use.d.ts.map +1 -1
- package/build/types/queries/applyQuery.d.ts.map +1 -1
- package/package.json +11 -11
- package/build/cjs/chunk-ESGXYLZT.cjs.map +0 -1
- package/build/cjs/chunk-MXNJ2KQH.cjs.map +0 -1
|
@@ -15,15 +15,16 @@ var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
|
|
|
15
15
|
// src/object/fetchPage.ts
|
|
16
16
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
17
17
|
|
|
18
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
18
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
|
|
19
19
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
20
20
|
|
|
21
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
21
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
22
22
|
var Action_exports = {};
|
|
23
23
|
chunk6SCDLAU2_cjs.__export(Action_exports, {
|
|
24
24
|
apply: () => apply,
|
|
25
25
|
applyAsync: () => applyAsync,
|
|
26
|
-
applyBatch: () => applyBatch
|
|
26
|
+
applyBatch: () => applyBatch,
|
|
27
|
+
applyWithOverrides: () => applyWithOverrides
|
|
27
28
|
});
|
|
28
29
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
29
30
|
|
|
@@ -104,7 +105,7 @@ function parseUrl(baseUrl, endpointPath) {
|
|
|
104
105
|
return new URL(`api${endpointPath}`, baseUrl);
|
|
105
106
|
}
|
|
106
107
|
|
|
107
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
108
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
108
109
|
var _apply = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
|
|
109
110
|
function apply($ctx, ...args) {
|
|
110
111
|
return foundryPlatformFetch($ctx, _apply, ...args);
|
|
@@ -117,11 +118,15 @@ var _applyBatch = [1, "/v2/ontologies/{0}/actions/{1}/applyBatch", 3];
|
|
|
117
118
|
function applyBatch($ctx, ...args) {
|
|
118
119
|
return foundryPlatformFetch($ctx, _applyBatch, ...args);
|
|
119
120
|
}
|
|
121
|
+
var _applyWithOverrides = [1, "/v2/ontologies/{0}/actions/{1}/applyWithOverrides", 3];
|
|
122
|
+
function applyWithOverrides($ctx, ...args) {
|
|
123
|
+
return foundryPlatformFetch($ctx, _applyWithOverrides, ...args);
|
|
124
|
+
}
|
|
120
125
|
|
|
121
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
126
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
|
|
122
127
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
123
128
|
|
|
124
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
129
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
|
|
125
130
|
var ActionTypeV2_exports = {};
|
|
126
131
|
chunk6SCDLAU2_cjs.__export(ActionTypeV2_exports, {
|
|
127
132
|
get: () => get,
|
|
@@ -142,7 +147,7 @@ function getByRid($ctx, ...args) {
|
|
|
142
147
|
return foundryPlatformFetch($ctx, _getByRid, ...args);
|
|
143
148
|
}
|
|
144
149
|
|
|
145
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
150
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
|
|
146
151
|
var Attachment_exports = {};
|
|
147
152
|
chunk6SCDLAU2_cjs.__export(Attachment_exports, {
|
|
148
153
|
get: () => get2,
|
|
@@ -178,16 +183,16 @@ function get2($ctx, ...args) {
|
|
|
178
183
|
return foundryPlatformFetch($ctx, _get2, ...args);
|
|
179
184
|
}
|
|
180
185
|
|
|
181
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
186
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
|
|
182
187
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
183
188
|
|
|
184
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
189
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
|
|
185
190
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
186
191
|
|
|
187
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
192
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
|
|
188
193
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
189
194
|
|
|
190
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
195
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
|
|
191
196
|
var MediaReferenceProperty_exports = {};
|
|
192
197
|
chunk6SCDLAU2_cjs.__export(MediaReferenceProperty_exports, {
|
|
193
198
|
getMediaContent: () => getMediaContent,
|
|
@@ -208,7 +213,7 @@ function upload2($ctx, ...args) {
|
|
|
208
213
|
return foundryPlatformFetch($ctx, _upload2, ...args);
|
|
209
214
|
}
|
|
210
215
|
|
|
211
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
216
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
|
|
212
217
|
var ObjectTypeV2_exports = {};
|
|
213
218
|
chunk6SCDLAU2_cjs.__export(ObjectTypeV2_exports, {
|
|
214
219
|
get: () => get3,
|
|
@@ -239,7 +244,7 @@ function getOutgoingLinkType($ctx, ...args) {
|
|
|
239
244
|
return foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
|
|
240
245
|
}
|
|
241
246
|
|
|
242
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
247
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
|
|
243
248
|
var OntologyInterface_exports = {};
|
|
244
249
|
chunk6SCDLAU2_cjs.__export(OntologyInterface_exports, {
|
|
245
250
|
aggregate: () => aggregate,
|
|
@@ -285,7 +290,7 @@ function listInterfaceLinkedObjects($ctx, ...args) {
|
|
|
285
290
|
return foundryPlatformFetch($ctx, _listInterfaceLinkedObjects, ...args);
|
|
286
291
|
}
|
|
287
292
|
|
|
288
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
293
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
|
|
289
294
|
var OntologyObjectSet_exports = {};
|
|
290
295
|
chunk6SCDLAU2_cjs.__export(OntologyObjectSet_exports, {
|
|
291
296
|
aggregate: () => aggregate2,
|
|
@@ -326,19 +331,19 @@ function loadLinks($ctx, ...args) {
|
|
|
326
331
|
return foundryPlatformFetch($ctx, _loadLinks, ...args);
|
|
327
332
|
}
|
|
328
333
|
|
|
329
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
334
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
|
|
330
335
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
331
336
|
|
|
332
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
337
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
|
|
333
338
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
334
339
|
|
|
335
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
340
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
|
|
336
341
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
337
342
|
|
|
338
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
343
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
|
|
339
344
|
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
340
345
|
|
|
341
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
346
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
|
|
342
347
|
var Query_exports = {};
|
|
343
348
|
chunk6SCDLAU2_cjs.__export(Query_exports, {
|
|
344
349
|
execute: () => execute
|
|
@@ -349,7 +354,7 @@ function execute($ctx, ...args) {
|
|
|
349
354
|
return foundryPlatformFetch($ctx, _execute, ...args);
|
|
350
355
|
}
|
|
351
356
|
|
|
352
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
357
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
|
|
353
358
|
var QueryType_exports = {};
|
|
354
359
|
chunk6SCDLAU2_cjs.__export(QueryType_exports, {
|
|
355
360
|
get: () => get6,
|
|
@@ -365,7 +370,7 @@ function get6($ctx, ...args) {
|
|
|
365
370
|
return foundryPlatformFetch($ctx, _get6, ...args);
|
|
366
371
|
}
|
|
367
372
|
|
|
368
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
373
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
|
|
369
374
|
var TimeSeriesPropertyV2_exports = {};
|
|
370
375
|
chunk6SCDLAU2_cjs.__export(TimeSeriesPropertyV2_exports, {
|
|
371
376
|
getFirstPoint: () => getFirstPoint,
|
|
@@ -386,7 +391,7 @@ function streamPoints($ctx, ...args) {
|
|
|
386
391
|
return foundryPlatformFetch($ctx, _streamPoints, ...args);
|
|
387
392
|
}
|
|
388
393
|
|
|
389
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
394
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
|
|
390
395
|
var TimeSeriesValueBankProperty_exports = {};
|
|
391
396
|
chunk6SCDLAU2_cjs.__export(TimeSeriesValueBankProperty_exports, {
|
|
392
397
|
getLatestValue: () => getLatestValue,
|
|
@@ -744,6 +749,7 @@ async function fetchInterfacePage(client, interfaceType, args, objectSet, useSna
|
|
|
744
749
|
const requestBody = await buildAndRemapRequestBody(args, {
|
|
745
750
|
objectSet: resolvedInterfaceObjectSet,
|
|
746
751
|
select: args?.$select ? [...args.$select] : [],
|
|
752
|
+
selectV2: [],
|
|
747
753
|
excludeRid: !args?.$includeRid,
|
|
748
754
|
snapshot: useSnapshot
|
|
749
755
|
}, client, interfaceType);
|
|
@@ -843,6 +849,7 @@ async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot
|
|
|
843
849
|
const requestBody = await buildAndRemapRequestBody(args, {
|
|
844
850
|
objectSet,
|
|
845
851
|
select: args?.$select ? [...args.$select] : [],
|
|
852
|
+
selectV2: [],
|
|
846
853
|
excludeRid: !args?.$includeRid,
|
|
847
854
|
snapshot: useSnapshot
|
|
848
855
|
}, client, objectType);
|
|
@@ -2310,5 +2317,5 @@ exports.hydrateAttachmentFromRidInternal = hydrateAttachmentFromRidInternal;
|
|
|
2310
2317
|
exports.isObjectSet = isObjectSet;
|
|
2311
2318
|
exports.isWireObjectSet = isWireObjectSet;
|
|
2312
2319
|
exports.symbolClientContext = symbolClientContext;
|
|
2313
|
-
//# sourceMappingURL=chunk-
|
|
2314
|
-
//# sourceMappingURL=chunk-
|
|
2320
|
+
//# sourceMappingURL=chunk-HM4EXGFD.cjs.map
|
|
2321
|
+
//# sourceMappingURL=chunk-HM4EXGFD.cjs.map
|