@osdk/client 2.8.0-beta.12 → 2.8.0-beta.14
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 +33 -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/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 +10 -2
- 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-22QZVXHI.cjs → chunk-4HVAJSMV.cjs} +205 -123
- package/build/cjs/chunk-4HVAJSMV.cjs.map +1 -0
- package/build/cjs/{chunk-YVZM2JPW.cjs → chunk-Q2XRNNC7.cjs} +95 -90
- package/build/cjs/chunk-Q2XRNNC7.cjs.map +1 -0
- 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/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 +148 -144
- 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/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 +10 -2
- 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/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 +13 -13
- package/build/cjs/chunk-22QZVXHI.cjs.map +0 -1
- package/build/cjs/chunk-YVZM2JPW.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
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
19
|
-
|
|
18
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
|
|
19
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
20
20
|
|
|
21
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
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()));
|
|
@@ -105,7 +105,7 @@ function parseUrl(baseUrl, endpointPath) {
|
|
|
105
105
|
return new URL(`api${endpointPath}`, baseUrl);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
108
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
109
109
|
var _apply = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
|
|
110
110
|
function apply($ctx, ...args) {
|
|
111
111
|
return foundryPlatformFetch($ctx, _apply, ...args);
|
|
@@ -123,17 +123,18 @@ function applyWithOverrides($ctx, ...args) {
|
|
|
123
123
|
return foundryPlatformFetch($ctx, _applyWithOverrides, ...args);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
127
|
-
|
|
126
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
|
|
127
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
128
128
|
|
|
129
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
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
|
+
getByRidBatch: () => getByRidBatch,
|
|
134
135
|
list: () => list
|
|
135
136
|
});
|
|
136
|
-
|
|
137
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
137
138
|
var _list = [0, "/v2/ontologies/{0}/actionTypes", 2];
|
|
138
139
|
function list($ctx, ...args) {
|
|
139
140
|
return foundryPlatformFetch($ctx, _list, ...args);
|
|
@@ -146,16 +147,20 @@ var _getByRid = [0, "/v2/ontologies/{0}/actionTypes/byRid/{1}", 2];
|
|
|
146
147
|
function getByRid($ctx, ...args) {
|
|
147
148
|
return foundryPlatformFetch($ctx, _getByRid, ...args);
|
|
148
149
|
}
|
|
150
|
+
var _getByRidBatch = [1, "/v2/ontologies/{0}/actionTypes/getByRidBatch", 3];
|
|
151
|
+
function getByRidBatch($ctx, ...args) {
|
|
152
|
+
return foundryPlatformFetch($ctx, _getByRidBatch, ...args);
|
|
153
|
+
}
|
|
149
154
|
|
|
150
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
155
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
|
|
151
156
|
var Attachment_exports = {};
|
|
152
|
-
|
|
157
|
+
chunkQPPKY7HT_cjs.__export(Attachment_exports, {
|
|
153
158
|
get: () => get2,
|
|
154
159
|
read: () => read,
|
|
155
160
|
upload: () => upload,
|
|
156
161
|
uploadWithRid: () => uploadWithRid
|
|
157
162
|
});
|
|
158
|
-
|
|
163
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
159
164
|
var _upload = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
|
|
160
165
|
function upload($ctx, ...args) {
|
|
161
166
|
const headerParams = {
|
|
@@ -183,26 +188,26 @@ function get2($ctx, ...args) {
|
|
|
183
188
|
return foundryPlatformFetch($ctx, _get2, ...args);
|
|
184
189
|
}
|
|
185
190
|
|
|
186
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
187
|
-
|
|
191
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
|
|
192
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
188
193
|
|
|
189
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
190
|
-
|
|
194
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
|
|
195
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
191
196
|
|
|
192
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
193
|
-
|
|
197
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/GeotemporalSeriesProperty.js
|
|
198
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
194
199
|
|
|
195
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
196
|
-
|
|
200
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
|
|
201
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
197
202
|
|
|
198
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
203
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
|
|
199
204
|
var MediaReferenceProperty_exports = {};
|
|
200
|
-
|
|
205
|
+
chunkQPPKY7HT_cjs.__export(MediaReferenceProperty_exports, {
|
|
201
206
|
getMediaContent: () => getMediaContent,
|
|
202
207
|
getMediaMetadata: () => getMediaMetadata,
|
|
203
208
|
upload: () => upload2
|
|
204
209
|
});
|
|
205
|
-
|
|
210
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
206
211
|
var _getMediaContent = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content", 2, , "*/*"];
|
|
207
212
|
function getMediaContent($ctx, ...args) {
|
|
208
213
|
return foundryPlatformFetch($ctx, _getMediaContent, ...args);
|
|
@@ -216,9 +221,9 @@ function upload2($ctx, ...args) {
|
|
|
216
221
|
return foundryPlatformFetch($ctx, _upload2, ...args);
|
|
217
222
|
}
|
|
218
223
|
|
|
219
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
224
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
|
|
220
225
|
var ObjectTypeV2_exports = {};
|
|
221
|
-
|
|
226
|
+
chunkQPPKY7HT_cjs.__export(ObjectTypeV2_exports, {
|
|
222
227
|
get: () => get3,
|
|
223
228
|
getEditsHistory: () => getEditsHistory,
|
|
224
229
|
getFullMetadata: () => getFullMetadata,
|
|
@@ -226,7 +231,7 @@ chunkLDTMSHUZ_cjs.__export(ObjectTypeV2_exports, {
|
|
|
226
231
|
list: () => list2,
|
|
227
232
|
listOutgoingLinkTypes: () => listOutgoingLinkTypes
|
|
228
233
|
});
|
|
229
|
-
|
|
234
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
230
235
|
var _list2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
231
236
|
function list2($ctx, ...args) {
|
|
232
237
|
return foundryPlatformFetch($ctx, _list2, ...args);
|
|
@@ -252,9 +257,9 @@ function getOutgoingLinkType($ctx, ...args) {
|
|
|
252
257
|
return foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
|
|
253
258
|
}
|
|
254
259
|
|
|
255
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
260
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
|
|
256
261
|
var OntologyInterface_exports = {};
|
|
257
|
-
|
|
262
|
+
chunkQPPKY7HT_cjs.__export(OntologyInterface_exports, {
|
|
258
263
|
aggregate: () => aggregate,
|
|
259
264
|
get: () => get4,
|
|
260
265
|
getOutgoingInterfaceLinkType: () => getOutgoingInterfaceLinkType,
|
|
@@ -264,7 +269,7 @@ chunkLDTMSHUZ_cjs.__export(OntologyInterface_exports, {
|
|
|
264
269
|
listOutgoingInterfaceLinkTypes: () => listOutgoingInterfaceLinkTypes,
|
|
265
270
|
search: () => search
|
|
266
271
|
});
|
|
267
|
-
|
|
272
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
268
273
|
var _list3 = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
269
274
|
function list3($ctx, ...args) {
|
|
270
275
|
return foundryPlatformFetch($ctx, _list3, ...args);
|
|
@@ -298,9 +303,9 @@ function listInterfaceLinkedObjects($ctx, ...args) {
|
|
|
298
303
|
return foundryPlatformFetch($ctx, _listInterfaceLinkedObjects, ...args);
|
|
299
304
|
}
|
|
300
305
|
|
|
301
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
306
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
|
|
302
307
|
var OntologyObjectSet_exports = {};
|
|
303
|
-
|
|
308
|
+
chunkQPPKY7HT_cjs.__export(OntologyObjectSet_exports, {
|
|
304
309
|
aggregate: () => aggregate2,
|
|
305
310
|
createTemporary: () => createTemporary,
|
|
306
311
|
get: () => get5,
|
|
@@ -309,7 +314,7 @@ chunkLDTMSHUZ_cjs.__export(OntologyObjectSet_exports, {
|
|
|
309
314
|
loadMultipleObjectTypes: () => loadMultipleObjectTypes,
|
|
310
315
|
loadObjectsOrInterfaces: () => loadObjectsOrInterfaces
|
|
311
316
|
});
|
|
312
|
-
|
|
317
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
313
318
|
var _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 3];
|
|
314
319
|
function createTemporary($ctx, ...args) {
|
|
315
320
|
return foundryPlatformFetch($ctx, _createTemporary, ...args);
|
|
@@ -339,36 +344,36 @@ function loadLinks($ctx, ...args) {
|
|
|
339
344
|
return foundryPlatformFetch($ctx, _loadLinks, ...args);
|
|
340
345
|
}
|
|
341
346
|
|
|
342
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
343
|
-
|
|
347
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
|
|
348
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
344
349
|
|
|
345
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
346
|
-
|
|
350
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
|
|
351
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
347
352
|
|
|
348
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
349
|
-
|
|
353
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
|
|
354
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
350
355
|
|
|
351
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
352
|
-
|
|
356
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
|
|
357
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
353
358
|
|
|
354
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
359
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
|
|
355
360
|
var Query_exports = {};
|
|
356
|
-
|
|
361
|
+
chunkQPPKY7HT_cjs.__export(Query_exports, {
|
|
357
362
|
execute: () => execute
|
|
358
363
|
});
|
|
359
|
-
|
|
364
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
360
365
|
var _execute = [1, "/v2/ontologies/{0}/queries/{1}/execute", 7];
|
|
361
366
|
function execute($ctx, ...args) {
|
|
362
367
|
return foundryPlatformFetch($ctx, _execute, ...args);
|
|
363
368
|
}
|
|
364
369
|
|
|
365
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
370
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
|
|
366
371
|
var QueryType_exports = {};
|
|
367
|
-
|
|
372
|
+
chunkQPPKY7HT_cjs.__export(QueryType_exports, {
|
|
368
373
|
get: () => get6,
|
|
369
374
|
list: () => list4
|
|
370
375
|
});
|
|
371
|
-
|
|
376
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
372
377
|
var _list4 = [0, "/v2/ontologies/{0}/queryTypes", 2];
|
|
373
378
|
function list4($ctx, ...args) {
|
|
374
379
|
return foundryPlatformFetch($ctx, _list4, ...args);
|
|
@@ -378,14 +383,14 @@ function get6($ctx, ...args) {
|
|
|
378
383
|
return foundryPlatformFetch($ctx, _get6, ...args);
|
|
379
384
|
}
|
|
380
385
|
|
|
381
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
386
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
|
|
382
387
|
var TimeSeriesPropertyV2_exports = {};
|
|
383
|
-
|
|
388
|
+
chunkQPPKY7HT_cjs.__export(TimeSeriesPropertyV2_exports, {
|
|
384
389
|
getFirstPoint: () => getFirstPoint,
|
|
385
390
|
getLastPoint: () => getLastPoint,
|
|
386
391
|
streamPoints: () => streamPoints
|
|
387
392
|
});
|
|
388
|
-
|
|
393
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
389
394
|
var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
|
|
390
395
|
function getFirstPoint($ctx, ...args) {
|
|
391
396
|
return foundryPlatformFetch($ctx, _getFirstPoint, ...args);
|
|
@@ -399,13 +404,13 @@ function streamPoints($ctx, ...args) {
|
|
|
399
404
|
return foundryPlatformFetch($ctx, _streamPoints, ...args);
|
|
400
405
|
}
|
|
401
406
|
|
|
402
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
407
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.50.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
|
|
403
408
|
var TimeSeriesValueBankProperty_exports = {};
|
|
404
|
-
|
|
409
|
+
chunkQPPKY7HT_cjs.__export(TimeSeriesValueBankProperty_exports, {
|
|
405
410
|
getLatestValue: () => getLatestValue,
|
|
406
411
|
streamValues: () => streamValues
|
|
407
412
|
});
|
|
408
|
-
|
|
413
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
409
414
|
var _getLatestValue = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue", 2];
|
|
410
415
|
function getLatestValue($ctx, ...args) {
|
|
411
416
|
return foundryPlatformFetch($ctx, _getLatestValue, ...args);
|
|
@@ -416,7 +421,7 @@ function streamValues($ctx, ...args) {
|
|
|
416
421
|
}
|
|
417
422
|
|
|
418
423
|
// src/internal/conversions/extractNamespace.ts
|
|
419
|
-
|
|
424
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
420
425
|
function extractNamespace(fqApiName) {
|
|
421
426
|
const last = fqApiName.lastIndexOf(".");
|
|
422
427
|
if (last === -1) return [void 0, fqApiName];
|
|
@@ -424,7 +429,7 @@ function extractNamespace(fqApiName) {
|
|
|
424
429
|
}
|
|
425
430
|
|
|
426
431
|
// src/util/addUserAgentAndRequestContextHeaders.ts
|
|
427
|
-
|
|
432
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
428
433
|
var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
|
|
429
434
|
...client,
|
|
430
435
|
fetch: shared_net_fetch.createFetchHeaderMutator(client.fetch, (headers) => {
|
|
@@ -437,7 +442,7 @@ var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
|
|
|
437
442
|
});
|
|
438
443
|
|
|
439
444
|
// src/util/extractObjectOrInterfaceType.ts
|
|
440
|
-
|
|
445
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
441
446
|
async function extractObjectOrInterfaceType(clientCtx, objectSet) {
|
|
442
447
|
switch (objectSet.type) {
|
|
443
448
|
case "searchAround": {
|
|
@@ -523,7 +528,7 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
|
|
|
523
528
|
}
|
|
524
529
|
|
|
525
530
|
// src/util/extractRdpDefinition.ts
|
|
526
|
-
|
|
531
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
527
532
|
async function extractRdpDefinition(clientCtx, objectSet) {
|
|
528
533
|
return (await extractRdpDefinitionInternal(clientCtx, objectSet, void 0)).definitions;
|
|
529
534
|
}
|
|
@@ -652,7 +657,7 @@ async function extractRdpDefinitionInternal(clientCtx, objectSet, methodInputObj
|
|
|
652
657
|
}
|
|
653
658
|
|
|
654
659
|
// src/util/objectSetUtils.ts
|
|
655
|
-
|
|
660
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
656
661
|
function resolveBaseObjectSetType(objectType) {
|
|
657
662
|
return objectType.type === "interface" ? {
|
|
658
663
|
type: "interfaceBase",
|
|
@@ -896,16 +901,16 @@ async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot
|
|
|
896
901
|
}
|
|
897
902
|
|
|
898
903
|
// src/objectSet/createObjectSet.ts
|
|
899
|
-
|
|
904
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
900
905
|
|
|
901
906
|
// src/derivedProperties/createWithPropertiesObjectSet.ts
|
|
902
|
-
|
|
907
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
903
908
|
|
|
904
909
|
// src/internal/conversions/modernToLegacyWhereClause.ts
|
|
905
|
-
|
|
910
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
906
911
|
|
|
907
912
|
// src/internal/conversions/fullyQualifyPropName.ts
|
|
908
|
-
|
|
913
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
909
914
|
function fullyQualifyPropName(fieldName, objectOrInterface) {
|
|
910
915
|
if (objectOrInterface.type === "interface") {
|
|
911
916
|
const [objApiNamespace] = extractNamespace(objectOrInterface.apiName);
|
|
@@ -916,10 +921,10 @@ function fullyQualifyPropName(fieldName, objectOrInterface) {
|
|
|
916
921
|
}
|
|
917
922
|
|
|
918
923
|
// src/internal/conversions/makeGeoFilterIntersects.ts
|
|
919
|
-
|
|
924
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
920
925
|
|
|
921
926
|
// src/internal/conversions/makeGeoFilterBbox.ts
|
|
922
|
-
|
|
927
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
923
928
|
function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
|
|
924
929
|
return {
|
|
925
930
|
type: filterType === "$within" ? "withinBoundingBox" : "intersectsBoundingBox",
|
|
@@ -946,7 +951,7 @@ function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
|
|
|
946
951
|
}
|
|
947
952
|
|
|
948
953
|
// src/internal/conversions/makeGeoFilterPolygon.ts
|
|
949
|
-
|
|
954
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
950
955
|
function makeGeoFilterPolygon(coordinates, filterType, propertyIdentifier, field) {
|
|
951
956
|
return {
|
|
952
957
|
type: filterType,
|
|
@@ -974,7 +979,7 @@ function makeGeoFilterIntersects(intersectsBody, propertyIdentifier, field) {
|
|
|
974
979
|
}
|
|
975
980
|
|
|
976
981
|
// src/internal/conversions/makeGeoFilterWithin.ts
|
|
977
|
-
|
|
982
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
978
983
|
function makeGeoFilterWithin(withinBody, propertyIdentifier, field) {
|
|
979
984
|
if (Array.isArray(withinBody)) {
|
|
980
985
|
return makeGeoFilterBbox(withinBody, "$within", propertyIdentifier, field);
|
|
@@ -1141,7 +1146,7 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
|
|
|
1141
1146
|
}
|
|
1142
1147
|
|
|
1143
1148
|
// src/derivedProperties/derivedPropertyDefinitionFactory.ts
|
|
1144
|
-
|
|
1149
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1145
1150
|
function derivedPropertyDefinitionFactory(wireDefinition, definitionMap) {
|
|
1146
1151
|
const definition = {
|
|
1147
1152
|
abs() {
|
|
@@ -1328,10 +1333,10 @@ function createWithPropertiesObjectSet(objectType, objectSet, definitionMap, fro
|
|
|
1328
1333
|
}
|
|
1329
1334
|
|
|
1330
1335
|
// src/object/aggregate.ts
|
|
1331
|
-
|
|
1336
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1332
1337
|
|
|
1333
1338
|
// src/internal/conversions/legacyToModernSingleAggregationResult.ts
|
|
1334
|
-
|
|
1339
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1335
1340
|
function legacyToModernSingleAggregationResult(entry) {
|
|
1336
1341
|
return entry.metrics.reduce((accumulator, curValue) => {
|
|
1337
1342
|
const parts = curValue.name.split(".");
|
|
@@ -1350,7 +1355,7 @@ function legacyToModernSingleAggregationResult(entry) {
|
|
|
1350
1355
|
}
|
|
1351
1356
|
|
|
1352
1357
|
// src/internal/conversions/modernToLegacyAggregationClause.ts
|
|
1353
|
-
|
|
1358
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1354
1359
|
var directionFieldMap = (dir) => dir === "asc" ? "ASC" : dir === "desc" ? "DESC" : void 0;
|
|
1355
1360
|
function modernToLegacyAggregationClause(select) {
|
|
1356
1361
|
return Object.entries(select).flatMap(([propAndMetric, aggregationType]) => {
|
|
@@ -1374,7 +1379,7 @@ function modernToLegacyAggregationClause(select) {
|
|
|
1374
1379
|
}
|
|
1375
1380
|
|
|
1376
1381
|
// src/internal/conversions/modernToLegacyGroupByClause.ts
|
|
1377
|
-
|
|
1382
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1378
1383
|
function modernToLegacyGroupByClause(groupByClause) {
|
|
1379
1384
|
if (!groupByClause) return [];
|
|
1380
1385
|
return Object.entries(groupByClause).flatMap(([field, type]) => {
|
|
@@ -1475,7 +1480,7 @@ function aggregationToCountResult(entry) {
|
|
|
1475
1480
|
}
|
|
1476
1481
|
|
|
1477
1482
|
// src/object/fetchSingle.ts
|
|
1478
|
-
|
|
1483
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1479
1484
|
async function fetchSingle(client, objectType, args, objectSet) {
|
|
1480
1485
|
const result = await fetchPage(client, objectType, {
|
|
1481
1486
|
...args,
|
|
@@ -1505,7 +1510,7 @@ async function fetchSingleWithErrors(client, objectType, args, objectSet) {
|
|
|
1505
1510
|
}
|
|
1506
1511
|
|
|
1507
1512
|
// src/util/augmentRequestContext.ts
|
|
1508
|
-
|
|
1513
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1509
1514
|
var augmentRequestContext = (client, augment2) => ({
|
|
1510
1515
|
...client,
|
|
1511
1516
|
requestContext: {
|
|
@@ -1515,14 +1520,14 @@ var augmentRequestContext = (client, augment2) => ({
|
|
|
1515
1520
|
});
|
|
1516
1521
|
|
|
1517
1522
|
// src/util/WireObjectSet.ts
|
|
1518
|
-
|
|
1523
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1519
1524
|
var WIRE_OBJECT_SET_TYPES = /* @__PURE__ */ new Set(["base", "filter", "intersect", "reference", "searchAround", "static", "subtract", "union", "interfaceBase"]);
|
|
1520
1525
|
function isWireObjectSet(o) {
|
|
1521
1526
|
return o != null && typeof o === "object" && WIRE_OBJECT_SET_TYPES.has(o.type);
|
|
1522
1527
|
}
|
|
1523
1528
|
|
|
1524
1529
|
// src/objectSet/fetchLinksPage.ts
|
|
1525
|
-
|
|
1530
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1526
1531
|
var fetchLinksPage = async (client, objectType, objectSet, links) => {
|
|
1527
1532
|
if (objectType.type === "interface") {
|
|
1528
1533
|
throw new Error("Interface object sets are not supported yet.");
|
|
@@ -1560,10 +1565,10 @@ var remapObjectLocator = (wireObjectLocator) => ({
|
|
|
1560
1565
|
});
|
|
1561
1566
|
|
|
1562
1567
|
// src/objectSet/ObjectSetListenerWebsocket.ts
|
|
1563
|
-
|
|
1568
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1564
1569
|
|
|
1565
1570
|
// src/util/exponentialBackoff.ts
|
|
1566
|
-
|
|
1571
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
1567
1572
|
var DEFAULT_OPTIONS = {
|
|
1568
1573
|
initialDelayMs: 1e3,
|
|
1569
1574
|
maxDelayMs: 6e4,
|
|
@@ -2239,10 +2244,10 @@ function isTextQuery(query) {
|
|
|
2239
2244
|
}
|
|
2240
2245
|
|
|
2241
2246
|
// src/public-utils/hydrateAttachmentFromRid.ts
|
|
2242
|
-
|
|
2247
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
2243
2248
|
|
|
2244
2249
|
// src/Client.ts
|
|
2245
|
-
|
|
2250
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
2246
2251
|
var additionalContext = Symbol("additionalContext");
|
|
2247
2252
|
|
|
2248
2253
|
// src/public-utils/hydrateAttachmentFromRid.ts
|
|
@@ -2266,10 +2271,10 @@ function hydrateAttachmentFromRidInternal(client, rid) {
|
|
|
2266
2271
|
}
|
|
2267
2272
|
|
|
2268
2273
|
// src/logger/MinimalLogger.ts
|
|
2269
|
-
|
|
2274
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
2270
2275
|
|
|
2271
2276
|
// src/logger/BaseLogger.ts
|
|
2272
|
-
|
|
2277
|
+
chunkQPPKY7HT_cjs.init_cjs_shims();
|
|
2273
2278
|
function noop() {
|
|
2274
2279
|
}
|
|
2275
2280
|
var levels = {
|
|
@@ -2368,5 +2373,5 @@ exports.hydrateAttachmentFromRidInternal = hydrateAttachmentFromRidInternal;
|
|
|
2368
2373
|
exports.isObjectSet = isObjectSet;
|
|
2369
2374
|
exports.isWireObjectSet = isWireObjectSet;
|
|
2370
2375
|
exports.symbolClientContext = symbolClientContext;
|
|
2371
|
-
//# sourceMappingURL=chunk-
|
|
2372
|
-
//# sourceMappingURL=chunk-
|
|
2376
|
+
//# sourceMappingURL=chunk-Q2XRNNC7.cjs.map
|
|
2377
|
+
//# sourceMappingURL=chunk-Q2XRNNC7.cjs.map
|