@osdk/client 2.8.0-beta.13 → 2.8.0-beta.15
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 +32 -0
- package/build/browser/createMediaFromReference.js +61 -0
- package/build/browser/createMediaFromReference.js.map +1 -0
- package/build/browser/index.js +1 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/object/mediaUpload.js +3 -0
- package/build/browser/object/mediaUpload.js.map +1 -1
- package/build/browser/observable/LinkPayload.js.map +1 -1
- package/build/browser/observable/ListPayload.js.map +1 -1
- package/build/browser/observable/ObservableClient/ObserveLink.js.map +1 -1
- package/build/browser/observable/ObservableClient.js.map +1 -1
- package/build/browser/observable/computeObjectSetCacheKey.js.map +1 -1
- package/build/browser/observable/internal/ListQueryView.js +4 -3
- package/build/browser/observable/internal/ListQueryView.js.map +1 -1
- package/build/browser/observable/internal/ObservableClientImpl.js +1 -1
- package/build/browser/observable/internal/ObservableClientImpl.js.map +1 -1
- package/build/browser/observable/internal/Store.test.js +11 -11
- package/build/browser/observable/internal/Store.test.js.map +1 -1
- package/build/browser/observable/internal/base-list/BaseCollectionQuery.js.map +1 -1
- package/build/browser/observable/internal/base-list/BaseListQuery.js +12 -13
- package/build/browser/observable/internal/base-list/BaseListQuery.js.map +1 -1
- package/build/browser/observable/internal/base-list/createCollectionConnectable.js +2 -2
- package/build/browser/observable/internal/base-list/createCollectionConnectable.js.map +1 -1
- package/build/browser/observable/internal/base-list/createCollectionConnectable.test.js +2 -2
- package/build/browser/observable/internal/base-list/createCollectionConnectable.test.js.map +1 -1
- package/build/browser/observable/internal/list/InterfaceListQuery.js +1 -1
- package/build/browser/observable/internal/list/InterfaceListQuery.js.map +1 -1
- package/build/browser/observable/internal/list/ListQuery.test.js +45 -46
- package/build/browser/observable/internal/list/ListQuery.test.js.map +1 -1
- package/build/browser/observable/internal/object/ObjectsHelper.js +22 -1
- package/build/browser/observable/internal/object/ObjectsHelper.js.map +1 -1
- package/build/browser/observable/internal/object/ObjectsHelper.test.js +132 -0
- package/build/browser/observable/internal/object/ObjectsHelper.test.js.map +1 -1
- package/build/browser/observable/internal/objectset/ObjectSetQuery.js.map +1 -1
- package/build/browser/observable/internal/objectset/ObjectSetQueryOptions.js.map +1 -1
- package/build/browser/observable/internal/testUtils/observeLink/expectStandardObserveLink.js +1 -1
- package/build/browser/observable/internal/testUtils/observeLink/expectStandardObserveLink.js.map +1 -1
- package/build/browser/observable/internal/testUtils.js +2 -2
- package/build/browser/observable/internal/testUtils.js.map +1 -1
- package/build/browser/queries/applyQuery.js +8 -1
- package/build/browser/queries/applyQuery.js.map +1 -1
- package/build/browser/queries/queries.test.js +80 -2
- package/build/browser/queries/queries.test.js.map +1 -1
- package/build/browser/util/UserAgent.js +2 -2
- package/build/browser/util/toDataValue.js +7 -7
- package/build/browser/util/toDataValue.js.map +1 -1
- package/build/browser/util/toDataValue.test.js +23 -0
- package/build/browser/util/toDataValue.test.js.map +1 -1
- package/build/browser/util/toDataValueQueries.js +19 -0
- package/build/browser/util/toDataValueQueries.js.map +1 -1
- package/build/cjs/{chunk-JVLSSAAP.cjs → chunk-Q2XRNNC7.cjs} +68 -68
- package/build/cjs/{chunk-JVLSSAAP.cjs.map → chunk-Q2XRNNC7.cjs.map} +1 -1
- package/build/cjs/{chunk-LDTMSHUZ.cjs → chunk-QPPKY7HT.cjs} +4 -4
- package/build/cjs/{chunk-LDTMSHUZ.cjs.map → chunk-QPPKY7HT.cjs.map} +1 -1
- package/build/cjs/{chunk-FE6Q5R5O.cjs → chunk-RTSJQAWK.cjs} +189 -123
- package/build/cjs/chunk-RTSJQAWK.cjs.map +1 -0
- package/build/cjs/createObjectSet-BagR_R7M.d.cts +15 -0
- package/build/cjs/index.cjs +20 -12
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/index.d.cts +2 -1
- package/build/cjs/public/internal-node.cjs +219 -219
- package/build/cjs/public/internal.cjs +14 -14
- package/build/cjs/public/unstable-do-not-use.cjs +164 -145
- package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
- package/build/cjs/public/unstable-do-not-use.d.cts +11 -14
- package/build/esm/createMediaFromReference.js +61 -0
- package/build/esm/createMediaFromReference.js.map +1 -0
- package/build/esm/index.js +1 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/object/mediaUpload.js +3 -0
- package/build/esm/object/mediaUpload.js.map +1 -1
- package/build/esm/observable/LinkPayload.js.map +1 -1
- package/build/esm/observable/ListPayload.js.map +1 -1
- package/build/esm/observable/ObservableClient/ObserveLink.js.map +1 -1
- package/build/esm/observable/ObservableClient.js.map +1 -1
- package/build/esm/observable/computeObjectSetCacheKey.js.map +1 -1
- package/build/esm/observable/internal/ListQueryView.js +4 -3
- package/build/esm/observable/internal/ListQueryView.js.map +1 -1
- package/build/esm/observable/internal/ObservableClientImpl.js +1 -1
- package/build/esm/observable/internal/ObservableClientImpl.js.map +1 -1
- package/build/esm/observable/internal/Store.test.js +11 -11
- package/build/esm/observable/internal/Store.test.js.map +1 -1
- package/build/esm/observable/internal/base-list/BaseCollectionQuery.js.map +1 -1
- package/build/esm/observable/internal/base-list/BaseListQuery.js +12 -13
- package/build/esm/observable/internal/base-list/BaseListQuery.js.map +1 -1
- package/build/esm/observable/internal/base-list/createCollectionConnectable.js +2 -2
- package/build/esm/observable/internal/base-list/createCollectionConnectable.js.map +1 -1
- package/build/esm/observable/internal/base-list/createCollectionConnectable.test.js +2 -2
- package/build/esm/observable/internal/base-list/createCollectionConnectable.test.js.map +1 -1
- package/build/esm/observable/internal/list/InterfaceListQuery.js +1 -1
- package/build/esm/observable/internal/list/InterfaceListQuery.js.map +1 -1
- package/build/esm/observable/internal/list/ListQuery.test.js +45 -46
- package/build/esm/observable/internal/list/ListQuery.test.js.map +1 -1
- package/build/esm/observable/internal/object/ObjectsHelper.js +22 -1
- package/build/esm/observable/internal/object/ObjectsHelper.js.map +1 -1
- package/build/esm/observable/internal/object/ObjectsHelper.test.js +132 -0
- package/build/esm/observable/internal/object/ObjectsHelper.test.js.map +1 -1
- package/build/esm/observable/internal/objectset/ObjectSetQuery.js.map +1 -1
- package/build/esm/observable/internal/objectset/ObjectSetQueryOptions.js.map +1 -1
- package/build/esm/observable/internal/testUtils/observeLink/expectStandardObserveLink.js +1 -1
- package/build/esm/observable/internal/testUtils/observeLink/expectStandardObserveLink.js.map +1 -1
- package/build/esm/observable/internal/testUtils.js +2 -2
- package/build/esm/observable/internal/testUtils.js.map +1 -1
- package/build/esm/queries/applyQuery.js +8 -1
- package/build/esm/queries/applyQuery.js.map +1 -1
- package/build/esm/queries/queries.test.js +80 -2
- package/build/esm/queries/queries.test.js.map +1 -1
- package/build/esm/util/UserAgent.js +2 -2
- package/build/esm/util/toDataValue.js +7 -7
- package/build/esm/util/toDataValue.js.map +1 -1
- package/build/esm/util/toDataValue.test.js +23 -0
- package/build/esm/util/toDataValue.test.js.map +1 -1
- package/build/esm/util/toDataValueQueries.js +19 -0
- package/build/esm/util/toDataValueQueries.js.map +1 -1
- package/build/types/createMediaFromReference.d.ts +1 -0
- package/build/types/createMediaFromReference.d.ts.map +1 -0
- package/build/types/index.d.ts +2 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/object/mediaUpload.d.ts +2 -1
- package/build/types/object/mediaUpload.d.ts.map +1 -1
- package/build/types/observable/LinkPayload.d.ts +1 -1
- package/build/types/observable/ListPayload.d.ts +1 -1
- package/build/types/observable/ObservableClient/ObserveLink.d.ts +1 -1
- package/build/types/observable/ObservableClient.d.ts +4 -4
- package/build/types/observable/ObservableClient.d.ts.map +1 -1
- package/build/types/observable/computeObjectSetCacheKey.d.ts +2 -2
- package/build/types/observable/computeObjectSetCacheKey.d.ts.map +1 -1
- package/build/types/observable/internal/ListQueryView.d.ts.map +1 -1
- package/build/types/observable/internal/Store.test.d.ts.map +1 -1
- package/build/types/observable/internal/base-list/BaseCollectionQuery.d.ts +4 -4
- package/build/types/observable/internal/base-list/BaseListQuery.d.ts +1 -1
- package/build/types/observable/internal/base-list/BaseListQuery.d.ts.map +1 -1
- package/build/types/observable/internal/object/ObjectsHelper.d.ts.map +1 -1
- package/build/types/observable/internal/objectset/ObjectSetQuery.d.ts +1 -1
- package/build/types/observable/internal/objectset/ObjectSetQuery.d.ts.map +1 -1
- package/build/types/observable/internal/objectset/ObjectSetQueryOptions.d.ts +2 -2
- package/build/types/observable/internal/objectset/ObjectSetQueryOptions.d.ts.map +1 -1
- package/build/types/observable/internal/testUtils.d.ts +1 -1
- package/build/types/observable/internal/testUtils.d.ts.map +1 -1
- package/build/types/queries/applyQuery.d.ts.map +1 -1
- package/package.json +10 -10
- package/build/cjs/chunk-FE6Q5R5O.cjs.map +0 -1
- package/build/cjs/createClient-BPK4om7e.d.cts +0 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQPPKY7HT_cjs = require('./chunk-QPPKY7HT.cjs');
|
|
4
4
|
var shared_net_errors = require('@osdk/shared.net.errors');
|
|
5
5
|
var invariant4 = require('tiny-invariant');
|
|
6
6
|
var shared_net_fetch = require('@osdk/shared.net.fetch');
|
|
@@ -13,33 +13,33 @@ var invariant4__default = /*#__PURE__*/_interopDefault(invariant4);
|
|
|
13
13
|
var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
|
|
14
14
|
|
|
15
15
|
// src/object/fetchPage.ts
|
|
16
|
-
|
|
16
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
17
17
|
|
|
18
18
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
|
|
19
|
-
|
|
19
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
20
20
|
|
|
21
21
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
22
22
|
var Action_exports = {};
|
|
23
|
-
|
|
23
|
+
chunkQPPKY7HT_cjs.__export(Action_exports, {
|
|
24
24
|
apply: () => apply,
|
|
25
25
|
applyAsync: () => applyAsync,
|
|
26
26
|
applyBatch: () => applyBatch,
|
|
27
27
|
applyWithOverrides: () => applyWithOverrides
|
|
28
28
|
});
|
|
29
|
-
|
|
29
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
30
30
|
|
|
31
31
|
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.6.0/node_modules/@osdk/shared.net.platformapi/build/esm/index.js
|
|
32
|
-
|
|
32
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
33
33
|
|
|
34
34
|
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.6.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
|
|
35
|
-
|
|
35
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/.pnpm/@osdk+shared.client@1.0.1/node_modules/@osdk/shared.client/index.js
|
|
38
|
-
|
|
38
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
39
39
|
var symbolClientContext = Symbol("ClientContext");
|
|
40
40
|
|
|
41
41
|
// ../../node_modules/.pnpm/@osdk+shared.client2@1.0.0/node_modules/@osdk/shared.client2/index.js
|
|
42
|
-
|
|
42
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
43
43
|
var symbolClientContext2 = "__osdkClientContext";
|
|
44
44
|
async function foundryPlatformFetch(client, [httpMethodNum, origPath, flags, contentType, responseContentType], ...args) {
|
|
45
45
|
const path = origPath.replace(/\{([^}]+)\}/g, () => encodeURIComponent(args.shift()));
|
|
@@ -124,17 +124,17 @@ function applyWithOverrides($ctx, ...args) {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
|
|
127
|
-
|
|
127
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
128
128
|
|
|
129
129
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
|
|
130
130
|
var ActionTypeV2_exports = {};
|
|
131
|
-
|
|
131
|
+
chunkQPPKY7HT_cjs.__export(ActionTypeV2_exports, {
|
|
132
132
|
get: () => get,
|
|
133
133
|
getByRid: () => getByRid,
|
|
134
134
|
getByRidBatch: () => getByRidBatch,
|
|
135
135
|
list: () => list
|
|
136
136
|
});
|
|
137
|
-
|
|
137
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
138
138
|
var _list = [0, "/v2/ontologies/{0}/actionTypes", 2];
|
|
139
139
|
function list($ctx, ...args) {
|
|
140
140
|
return foundryPlatformFetch($ctx, _list, ...args);
|
|
@@ -154,13 +154,13 @@ function getByRidBatch($ctx, ...args) {
|
|
|
154
154
|
|
|
155
155
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
|
|
156
156
|
var Attachment_exports = {};
|
|
157
|
-
|
|
157
|
+
chunkQPPKY7HT_cjs.__export(Attachment_exports, {
|
|
158
158
|
get: () => get2,
|
|
159
159
|
read: () => read,
|
|
160
160
|
upload: () => upload,
|
|
161
161
|
uploadWithRid: () => uploadWithRid
|
|
162
162
|
});
|
|
163
|
-
|
|
163
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
164
164
|
var _upload = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
|
|
165
165
|
function upload($ctx, ...args) {
|
|
166
166
|
const headerParams = {
|
|
@@ -189,25 +189,25 @@ function get2($ctx, ...args) {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
|
|
192
|
-
|
|
192
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
193
193
|
|
|
194
194
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
|
|
195
|
-
|
|
195
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
196
196
|
|
|
197
197
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/GeotemporalSeriesProperty.js
|
|
198
|
-
|
|
198
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
199
199
|
|
|
200
200
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
|
|
201
|
-
|
|
201
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
202
202
|
|
|
203
203
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
|
|
204
204
|
var MediaReferenceProperty_exports = {};
|
|
205
|
-
|
|
205
|
+
chunkQPPKY7HT_cjs.__export(MediaReferenceProperty_exports, {
|
|
206
206
|
getMediaContent: () => getMediaContent,
|
|
207
207
|
getMediaMetadata: () => getMediaMetadata,
|
|
208
208
|
upload: () => upload2
|
|
209
209
|
});
|
|
210
|
-
|
|
210
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
211
211
|
var _getMediaContent = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content", 2, , "*/*"];
|
|
212
212
|
function getMediaContent($ctx, ...args) {
|
|
213
213
|
return foundryPlatformFetch($ctx, _getMediaContent, ...args);
|
|
@@ -223,7 +223,7 @@ function upload2($ctx, ...args) {
|
|
|
223
223
|
|
|
224
224
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
|
|
225
225
|
var ObjectTypeV2_exports = {};
|
|
226
|
-
|
|
226
|
+
chunkQPPKY7HT_cjs.__export(ObjectTypeV2_exports, {
|
|
227
227
|
get: () => get3,
|
|
228
228
|
getEditsHistory: () => getEditsHistory,
|
|
229
229
|
getFullMetadata: () => getFullMetadata,
|
|
@@ -231,7 +231,7 @@ chunkLDTMSHUZ_cjs.__export(ObjectTypeV2_exports, {
|
|
|
231
231
|
list: () => list2,
|
|
232
232
|
listOutgoingLinkTypes: () => listOutgoingLinkTypes
|
|
233
233
|
});
|
|
234
|
-
|
|
234
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
235
235
|
var _list2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
236
236
|
function list2($ctx, ...args) {
|
|
237
237
|
return foundryPlatformFetch($ctx, _list2, ...args);
|
|
@@ -259,7 +259,7 @@ function getOutgoingLinkType($ctx, ...args) {
|
|
|
259
259
|
|
|
260
260
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
|
|
261
261
|
var OntologyInterface_exports = {};
|
|
262
|
-
|
|
262
|
+
chunkQPPKY7HT_cjs.__export(OntologyInterface_exports, {
|
|
263
263
|
aggregate: () => aggregate,
|
|
264
264
|
get: () => get4,
|
|
265
265
|
getOutgoingInterfaceLinkType: () => getOutgoingInterfaceLinkType,
|
|
@@ -269,7 +269,7 @@ chunkLDTMSHUZ_cjs.__export(OntologyInterface_exports, {
|
|
|
269
269
|
listOutgoingInterfaceLinkTypes: () => listOutgoingInterfaceLinkTypes,
|
|
270
270
|
search: () => search
|
|
271
271
|
});
|
|
272
|
-
|
|
272
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
273
273
|
var _list3 = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
274
274
|
function list3($ctx, ...args) {
|
|
275
275
|
return foundryPlatformFetch($ctx, _list3, ...args);
|
|
@@ -305,7 +305,7 @@ function listInterfaceLinkedObjects($ctx, ...args) {
|
|
|
305
305
|
|
|
306
306
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
|
|
307
307
|
var OntologyObjectSet_exports = {};
|
|
308
|
-
|
|
308
|
+
chunkQPPKY7HT_cjs.__export(OntologyObjectSet_exports, {
|
|
309
309
|
aggregate: () => aggregate2,
|
|
310
310
|
createTemporary: () => createTemporary,
|
|
311
311
|
get: () => get5,
|
|
@@ -314,7 +314,7 @@ chunkLDTMSHUZ_cjs.__export(OntologyObjectSet_exports, {
|
|
|
314
314
|
loadMultipleObjectTypes: () => loadMultipleObjectTypes,
|
|
315
315
|
loadObjectsOrInterfaces: () => loadObjectsOrInterfaces
|
|
316
316
|
});
|
|
317
|
-
|
|
317
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
318
318
|
var _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 3];
|
|
319
319
|
function createTemporary($ctx, ...args) {
|
|
320
320
|
return foundryPlatformFetch($ctx, _createTemporary, ...args);
|
|
@@ -345,23 +345,23 @@ function loadLinks($ctx, ...args) {
|
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
|
|
348
|
-
|
|
348
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
349
349
|
|
|
350
350
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
|
|
351
|
-
|
|
351
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
352
352
|
|
|
353
353
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
|
|
354
|
-
|
|
354
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
355
355
|
|
|
356
356
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
|
|
357
|
-
|
|
357
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
358
358
|
|
|
359
359
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
|
|
360
360
|
var Query_exports = {};
|
|
361
|
-
|
|
361
|
+
chunkQPPKY7HT_cjs.__export(Query_exports, {
|
|
362
362
|
execute: () => execute
|
|
363
363
|
});
|
|
364
|
-
|
|
364
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
365
365
|
var _execute = [1, "/v2/ontologies/{0}/queries/{1}/execute", 7];
|
|
366
366
|
function execute($ctx, ...args) {
|
|
367
367
|
return foundryPlatformFetch($ctx, _execute, ...args);
|
|
@@ -369,11 +369,11 @@ function execute($ctx, ...args) {
|
|
|
369
369
|
|
|
370
370
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
|
|
371
371
|
var QueryType_exports = {};
|
|
372
|
-
|
|
372
|
+
chunkQPPKY7HT_cjs.__export(QueryType_exports, {
|
|
373
373
|
get: () => get6,
|
|
374
374
|
list: () => list4
|
|
375
375
|
});
|
|
376
|
-
|
|
376
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
377
377
|
var _list4 = [0, "/v2/ontologies/{0}/queryTypes", 2];
|
|
378
378
|
function list4($ctx, ...args) {
|
|
379
379
|
return foundryPlatformFetch($ctx, _list4, ...args);
|
|
@@ -385,12 +385,12 @@ function get6($ctx, ...args) {
|
|
|
385
385
|
|
|
386
386
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
|
|
387
387
|
var TimeSeriesPropertyV2_exports = {};
|
|
388
|
-
|
|
388
|
+
chunkQPPKY7HT_cjs.__export(TimeSeriesPropertyV2_exports, {
|
|
389
389
|
getFirstPoint: () => getFirstPoint,
|
|
390
390
|
getLastPoint: () => getLastPoint,
|
|
391
391
|
streamPoints: () => streamPoints
|
|
392
392
|
});
|
|
393
|
-
|
|
393
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
394
394
|
var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
|
|
395
395
|
function getFirstPoint($ctx, ...args) {
|
|
396
396
|
return foundryPlatformFetch($ctx, _getFirstPoint, ...args);
|
|
@@ -406,11 +406,11 @@ function streamPoints($ctx, ...args) {
|
|
|
406
406
|
|
|
407
407
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
|
|
408
408
|
var TimeSeriesValueBankProperty_exports = {};
|
|
409
|
-
|
|
409
|
+
chunkQPPKY7HT_cjs.__export(TimeSeriesValueBankProperty_exports, {
|
|
410
410
|
getLatestValue: () => getLatestValue,
|
|
411
411
|
streamValues: () => streamValues
|
|
412
412
|
});
|
|
413
|
-
|
|
413
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
414
414
|
var _getLatestValue = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue", 2];
|
|
415
415
|
function getLatestValue($ctx, ...args) {
|
|
416
416
|
return foundryPlatformFetch($ctx, _getLatestValue, ...args);
|
|
@@ -421,7 +421,7 @@ function streamValues($ctx, ...args) {
|
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
// src/internal/conversions/extractNamespace.ts
|
|
424
|
-
|
|
424
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
425
425
|
function extractNamespace(fqApiName) {
|
|
426
426
|
const last = fqApiName.lastIndexOf(".");
|
|
427
427
|
if (last === -1) return [void 0, fqApiName];
|
|
@@ -429,7 +429,7 @@ function extractNamespace(fqApiName) {
|
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
// src/util/addUserAgentAndRequestContextHeaders.ts
|
|
432
|
-
|
|
432
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
433
433
|
var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
|
|
434
434
|
...client,
|
|
435
435
|
fetch: shared_net_fetch.createFetchHeaderMutator(client.fetch, (headers) => {
|
|
@@ -442,7 +442,7 @@ var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
|
|
|
442
442
|
});
|
|
443
443
|
|
|
444
444
|
// src/util/extractObjectOrInterfaceType.ts
|
|
445
|
-
|
|
445
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
446
446
|
async function extractObjectOrInterfaceType(clientCtx, objectSet) {
|
|
447
447
|
switch (objectSet.type) {
|
|
448
448
|
case "searchAround": {
|
|
@@ -528,7 +528,7 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
|
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
// src/util/extractRdpDefinition.ts
|
|
531
|
-
|
|
531
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
532
532
|
async function extractRdpDefinition(clientCtx, objectSet) {
|
|
533
533
|
return (await extractRdpDefinitionInternal(clientCtx, objectSet, void 0)).definitions;
|
|
534
534
|
}
|
|
@@ -657,7 +657,7 @@ async function extractRdpDefinitionInternal(clientCtx, objectSet, methodInputObj
|
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
// src/util/objectSetUtils.ts
|
|
660
|
-
|
|
660
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
661
661
|
function resolveBaseObjectSetType(objectType) {
|
|
662
662
|
return objectType.type === "interface" ? {
|
|
663
663
|
type: "interfaceBase",
|
|
@@ -901,16 +901,16 @@ async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot
|
|
|
901
901
|
}
|
|
902
902
|
|
|
903
903
|
// src/objectSet/createObjectSet.ts
|
|
904
|
-
|
|
904
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
905
905
|
|
|
906
906
|
// src/derivedProperties/createWithPropertiesObjectSet.ts
|
|
907
|
-
|
|
907
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
908
908
|
|
|
909
909
|
// src/internal/conversions/modernToLegacyWhereClause.ts
|
|
910
|
-
|
|
910
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
911
911
|
|
|
912
912
|
// src/internal/conversions/fullyQualifyPropName.ts
|
|
913
|
-
|
|
913
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
914
914
|
function fullyQualifyPropName(fieldName, objectOrInterface) {
|
|
915
915
|
if (objectOrInterface.type === "interface") {
|
|
916
916
|
const [objApiNamespace] = extractNamespace(objectOrInterface.apiName);
|
|
@@ -921,10 +921,10 @@ function fullyQualifyPropName(fieldName, objectOrInterface) {
|
|
|
921
921
|
}
|
|
922
922
|
|
|
923
923
|
// src/internal/conversions/makeGeoFilterIntersects.ts
|
|
924
|
-
|
|
924
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
925
925
|
|
|
926
926
|
// src/internal/conversions/makeGeoFilterBbox.ts
|
|
927
|
-
|
|
927
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
928
928
|
function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
|
|
929
929
|
return {
|
|
930
930
|
type: filterType === "$within" ? "withinBoundingBox" : "intersectsBoundingBox",
|
|
@@ -951,7 +951,7 @@ function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
|
|
|
951
951
|
}
|
|
952
952
|
|
|
953
953
|
// src/internal/conversions/makeGeoFilterPolygon.ts
|
|
954
|
-
|
|
954
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
955
955
|
function makeGeoFilterPolygon(coordinates, filterType, propertyIdentifier, field) {
|
|
956
956
|
return {
|
|
957
957
|
type: filterType,
|
|
@@ -979,7 +979,7 @@ function makeGeoFilterIntersects(intersectsBody, propertyIdentifier, field) {
|
|
|
979
979
|
}
|
|
980
980
|
|
|
981
981
|
// src/internal/conversions/makeGeoFilterWithin.ts
|
|
982
|
-
|
|
982
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
983
983
|
function makeGeoFilterWithin(withinBody, propertyIdentifier, field) {
|
|
984
984
|
if (Array.isArray(withinBody)) {
|
|
985
985
|
return makeGeoFilterBbox(withinBody, "$within", propertyIdentifier, field);
|
|
@@ -1146,7 +1146,7 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
|
|
|
1146
1146
|
}
|
|
1147
1147
|
|
|
1148
1148
|
// src/derivedProperties/derivedPropertyDefinitionFactory.ts
|
|
1149
|
-
|
|
1149
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1150
1150
|
function derivedPropertyDefinitionFactory(wireDefinition, definitionMap) {
|
|
1151
1151
|
const definition = {
|
|
1152
1152
|
abs() {
|
|
@@ -1333,10 +1333,10 @@ function createWithPropertiesObjectSet(objectType, objectSet, definitionMap, fro
|
|
|
1333
1333
|
}
|
|
1334
1334
|
|
|
1335
1335
|
// src/object/aggregate.ts
|
|
1336
|
-
|
|
1336
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1337
1337
|
|
|
1338
1338
|
// src/internal/conversions/legacyToModernSingleAggregationResult.ts
|
|
1339
|
-
|
|
1339
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1340
1340
|
function legacyToModernSingleAggregationResult(entry) {
|
|
1341
1341
|
return entry.metrics.reduce((accumulator, curValue) => {
|
|
1342
1342
|
const parts = curValue.name.split(".");
|
|
@@ -1355,7 +1355,7 @@ function legacyToModernSingleAggregationResult(entry) {
|
|
|
1355
1355
|
}
|
|
1356
1356
|
|
|
1357
1357
|
// src/internal/conversions/modernToLegacyAggregationClause.ts
|
|
1358
|
-
|
|
1358
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1359
1359
|
var directionFieldMap = (dir) => dir === "asc" ? "ASC" : dir === "desc" ? "DESC" : void 0;
|
|
1360
1360
|
function modernToLegacyAggregationClause(select) {
|
|
1361
1361
|
return Object.entries(select).flatMap(([propAndMetric, aggregationType]) => {
|
|
@@ -1379,7 +1379,7 @@ function modernToLegacyAggregationClause(select) {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
|
|
1381
1381
|
// src/internal/conversions/modernToLegacyGroupByClause.ts
|
|
1382
|
-
|
|
1382
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1383
1383
|
function modernToLegacyGroupByClause(groupByClause) {
|
|
1384
1384
|
if (!groupByClause) return [];
|
|
1385
1385
|
return Object.entries(groupByClause).flatMap(([field, type]) => {
|
|
@@ -1480,7 +1480,7 @@ function aggregationToCountResult(entry) {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
1482
|
// src/object/fetchSingle.ts
|
|
1483
|
-
|
|
1483
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1484
1484
|
async function fetchSingle(client, objectType, args, objectSet) {
|
|
1485
1485
|
const result = await fetchPage(client, objectType, {
|
|
1486
1486
|
...args,
|
|
@@ -1510,7 +1510,7 @@ async function fetchSingleWithErrors(client, objectType, args, objectSet) {
|
|
|
1510
1510
|
}
|
|
1511
1511
|
|
|
1512
1512
|
// src/util/augmentRequestContext.ts
|
|
1513
|
-
|
|
1513
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1514
1514
|
var augmentRequestContext = (client, augment2) => ({
|
|
1515
1515
|
...client,
|
|
1516
1516
|
requestContext: {
|
|
@@ -1520,14 +1520,14 @@ var augmentRequestContext = (client, augment2) => ({
|
|
|
1520
1520
|
});
|
|
1521
1521
|
|
|
1522
1522
|
// src/util/WireObjectSet.ts
|
|
1523
|
-
|
|
1523
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1524
1524
|
var WIRE_OBJECT_SET_TYPES = /* @__PURE__ */ new Set(["base", "filter", "intersect", "reference", "searchAround", "static", "subtract", "union", "interfaceBase"]);
|
|
1525
1525
|
function isWireObjectSet(o) {
|
|
1526
1526
|
return o != null && typeof o === "object" && WIRE_OBJECT_SET_TYPES.has(o.type);
|
|
1527
1527
|
}
|
|
1528
1528
|
|
|
1529
1529
|
// src/objectSet/fetchLinksPage.ts
|
|
1530
|
-
|
|
1530
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1531
1531
|
var fetchLinksPage = async (client, objectType, objectSet, links) => {
|
|
1532
1532
|
if (objectType.type === "interface") {
|
|
1533
1533
|
throw new Error("Interface object sets are not supported yet.");
|
|
@@ -1565,10 +1565,10 @@ var remapObjectLocator = (wireObjectLocator) => ({
|
|
|
1565
1565
|
});
|
|
1566
1566
|
|
|
1567
1567
|
// src/objectSet/ObjectSetListenerWebsocket.ts
|
|
1568
|
-
|
|
1568
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1569
1569
|
|
|
1570
1570
|
// src/util/exponentialBackoff.ts
|
|
1571
|
-
|
|
1571
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1572
1572
|
var DEFAULT_OPTIONS = {
|
|
1573
1573
|
initialDelayMs: 1e3,
|
|
1574
1574
|
maxDelayMs: 6e4,
|
|
@@ -2244,10 +2244,10 @@ function isTextQuery(query) {
|
|
|
2244
2244
|
}
|
|
2245
2245
|
|
|
2246
2246
|
// src/public-utils/hydrateAttachmentFromRid.ts
|
|
2247
|
-
|
|
2247
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
2248
2248
|
|
|
2249
2249
|
// src/Client.ts
|
|
2250
|
-
|
|
2250
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
2251
2251
|
var additionalContext = Symbol("additionalContext");
|
|
2252
2252
|
|
|
2253
2253
|
// src/public-utils/hydrateAttachmentFromRid.ts
|
|
@@ -2271,10 +2271,10 @@ function hydrateAttachmentFromRidInternal(client, rid) {
|
|
|
2271
2271
|
}
|
|
2272
2272
|
|
|
2273
2273
|
// src/logger/MinimalLogger.ts
|
|
2274
|
-
|
|
2274
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
2275
2275
|
|
|
2276
2276
|
// src/logger/BaseLogger.ts
|
|
2277
|
-
|
|
2277
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
2278
2278
|
function noop() {
|
|
2279
2279
|
}
|
|
2280
2280
|
var levels = {
|
|
@@ -2373,5 +2373,5 @@ exports.hydrateAttachmentFromRidInternal = hydrateAttachmentFromRidInternal;
|
|
|
2373
2373
|
exports.isObjectSet = isObjectSet;
|
|
2374
2374
|
exports.isWireObjectSet = isWireObjectSet;
|
|
2375
2375
|
exports.symbolClientContext = symbolClientContext;
|
|
2376
|
-
//# sourceMappingURL=chunk-
|
|
2377
|
-
//# sourceMappingURL=chunk-
|
|
2376
|
+
//# sourceMappingURL=chunk-Q2XRNNC7.cjs.map
|
|
2377
|
+
//# sourceMappingURL=chunk-Q2XRNNC7.cjs.map
|