@osdk/client 2.6.0-beta.8 → 2.6.0-beta.9
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/observable/ObservableClient.js.map +1 -1
- package/build/browser/observable/internal/Changes.js.map +1 -1
- package/build/browser/observable/internal/IntersectCanonicalizer.js +35 -0
- package/build/browser/observable/internal/IntersectCanonicalizer.js.map +1 -0
- package/build/browser/observable/internal/KnownCacheKey.js.map +1 -1
- package/build/browser/observable/internal/ObservableClientImpl.js +3 -0
- package/build/browser/observable/internal/ObservableClientImpl.js.map +1 -1
- package/build/browser/observable/internal/PivotCanonicalizer.js +33 -0
- package/build/browser/observable/internal/PivotCanonicalizer.js.map +1 -0
- package/build/browser/observable/internal/Store.js +14 -2
- package/build/browser/observable/internal/Store.js.map +1 -1
- package/build/browser/observable/internal/WhereClauseCanonicalizer.js.map +1 -1
- package/build/browser/observable/internal/aggregation/AggregationCacheKey.js +22 -0
- package/build/browser/observable/internal/aggregation/AggregationCacheKey.js.map +1 -0
- package/build/browser/observable/internal/aggregation/AggregationQuery.js +77 -0
- package/build/browser/observable/internal/aggregation/AggregationQuery.js.map +1 -0
- package/build/browser/observable/internal/aggregation/AggregationsHelper.js +54 -0
- package/build/browser/observable/internal/aggregation/AggregationsHelper.js.map +1 -0
- package/build/browser/observable/internal/aggregation/ObjectAggregationQuery.js +33 -0
- package/build/browser/observable/internal/aggregation/ObjectAggregationQuery.js.map +1 -0
- package/build/browser/observable/internal/links/LinksHelper.js +0 -3
- package/build/browser/observable/internal/links/LinksHelper.js.map +1 -1
- package/build/browser/observable/internal/list/ListCacheKey.js +2 -0
- package/build/browser/observable/internal/list/ListCacheKey.js.map +1 -1
- package/build/browser/observable/internal/list/ListQuery.js +12 -2
- package/build/browser/observable/internal/list/ListQuery.js.map +1 -1
- package/build/browser/observable/internal/list/ListQueryOptions.js.map +1 -1
- package/build/browser/observable/internal/list/ListsHelper.js +9 -3
- package/build/browser/observable/internal/list/ListsHelper.js.map +1 -1
- package/build/browser/observable/internal/list/ObjectListQuery.js +48 -9
- package/build/browser/observable/internal/list/ObjectListQuery.js.map +1 -1
- package/build/browser/observable/internal/testUtils/invalidateList.js +6 -1
- package/build/browser/observable/internal/testUtils/invalidateList.js.map +1 -1
- package/build/browser/observable/internal/testUtils.js.map +1 -1
- package/build/browser/public/internal-node.js +18 -0
- package/build/browser/public/internal-node.js.map +1 -0
- package/build/browser/public/unstable-do-not-use.js.map +1 -1
- package/build/browser/util/UserAgent.js +2 -2
- package/build/cjs/chunk-6SCDLAU2.cjs +57 -0
- package/build/cjs/chunk-6SCDLAU2.cjs.map +1 -0
- package/build/cjs/{chunk-HJV24UL2.cjs → chunk-DZE6IAUU.cjs} +122 -14
- package/build/cjs/chunk-DZE6IAUU.cjs.map +1 -0
- package/build/cjs/{chunk-PCNVSZXT.cjs → chunk-S4JPAF56.cjs} +159 -67
- package/build/cjs/chunk-S4JPAF56.cjs.map +1 -0
- package/build/cjs/{delay-QK4T7RVX.cjs → delay-KIUUJ5NJ.cjs} +4 -3
- package/build/cjs/delay-KIUUJ5NJ.cjs.map +1 -0
- package/build/cjs/index.cjs +17 -9
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/public/internal-node.cjs +193767 -0
- package/build/cjs/public/internal-node.cjs.map +1 -0
- package/build/cjs/public/internal-node.d.cts +29 -0
- package/build/cjs/public/internal.cjs +16 -9
- package/build/cjs/public/internal.cjs.map +1 -1
- package/build/cjs/public/unstable-do-not-use.cjs +1050 -706
- package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
- package/build/cjs/public/unstable-do-not-use.d.cts +36 -2
- package/build/esm/observable/ObservableClient.js.map +1 -1
- package/build/esm/observable/internal/Changes.js.map +1 -1
- package/build/esm/observable/internal/IntersectCanonicalizer.js +35 -0
- package/build/esm/observable/internal/IntersectCanonicalizer.js.map +1 -0
- package/build/esm/observable/internal/KnownCacheKey.js.map +1 -1
- package/build/esm/observable/internal/ObservableClientImpl.js +3 -0
- package/build/esm/observable/internal/ObservableClientImpl.js.map +1 -1
- package/build/esm/observable/internal/PivotCanonicalizer.js +33 -0
- package/build/esm/observable/internal/PivotCanonicalizer.js.map +1 -0
- package/build/esm/observable/internal/Store.js +14 -2
- package/build/esm/observable/internal/Store.js.map +1 -1
- package/build/esm/observable/internal/WhereClauseCanonicalizer.js.map +1 -1
- package/build/esm/observable/internal/aggregation/AggregationCacheKey.js +22 -0
- package/build/esm/observable/internal/aggregation/AggregationCacheKey.js.map +1 -0
- package/build/esm/observable/internal/aggregation/AggregationQuery.js +77 -0
- package/build/esm/observable/internal/aggregation/AggregationQuery.js.map +1 -0
- package/build/esm/observable/internal/aggregation/AggregationsHelper.js +54 -0
- package/build/esm/observable/internal/aggregation/AggregationsHelper.js.map +1 -0
- package/build/esm/observable/internal/aggregation/ObjectAggregationQuery.js +33 -0
- package/build/esm/observable/internal/aggregation/ObjectAggregationQuery.js.map +1 -0
- package/build/esm/observable/internal/links/LinksHelper.js +0 -3
- package/build/esm/observable/internal/links/LinksHelper.js.map +1 -1
- package/build/esm/observable/internal/list/ListCacheKey.js +2 -0
- package/build/esm/observable/internal/list/ListCacheKey.js.map +1 -1
- package/build/esm/observable/internal/list/ListQuery.js +12 -2
- package/build/esm/observable/internal/list/ListQuery.js.map +1 -1
- package/build/esm/observable/internal/list/ListQueryOptions.js.map +1 -1
- package/build/esm/observable/internal/list/ListsHelper.js +9 -3
- package/build/esm/observable/internal/list/ListsHelper.js.map +1 -1
- package/build/esm/observable/internal/list/ObjectListQuery.js +48 -9
- package/build/esm/observable/internal/list/ObjectListQuery.js.map +1 -1
- package/build/esm/observable/internal/testUtils/invalidateList.js +6 -1
- package/build/esm/observable/internal/testUtils/invalidateList.js.map +1 -1
- package/build/esm/observable/internal/testUtils.js.map +1 -1
- package/build/esm/public/internal-node.js +18 -0
- package/build/esm/public/internal-node.js.map +1 -0
- package/build/esm/public/unstable-do-not-use.js.map +1 -1
- package/build/esm/util/UserAgent.js +2 -2
- package/build/types/observable/ObservableClient.d.ts +46 -1
- package/build/types/observable/ObservableClient.d.ts.map +1 -1
- package/build/types/observable/internal/Changes.d.ts +4 -3
- package/build/types/observable/internal/Changes.d.ts.map +1 -1
- package/build/types/observable/internal/IntersectCanonicalizer.d.ts +18 -0
- package/build/types/observable/internal/IntersectCanonicalizer.d.ts.map +1 -0
- package/build/types/observable/internal/KnownCacheKey.d.ts +2 -1
- package/build/types/observable/internal/KnownCacheKey.d.ts.map +1 -1
- package/build/types/observable/internal/PivotCanonicalizer.d.ts +10 -0
- package/build/types/observable/internal/PivotCanonicalizer.d.ts.map +1 -0
- package/build/types/observable/internal/Store.d.ts +6 -0
- package/build/types/observable/internal/Store.d.ts.map +1 -1
- package/build/types/observable/internal/WhereClauseCanonicalizer.d.ts.map +1 -1
- package/build/types/observable/internal/aggregation/AggregationCacheKey.d.ts +12 -0
- package/build/types/observable/internal/aggregation/AggregationCacheKey.d.ts.map +1 -0
- package/build/types/observable/internal/aggregation/AggregationQuery.d.ts +49 -0
- package/build/types/observable/internal/aggregation/AggregationQuery.d.ts.map +1 -0
- package/build/types/observable/internal/aggregation/AggregationsHelper.d.ts +37 -0
- package/build/types/observable/internal/aggregation/AggregationsHelper.d.ts.map +1 -0
- package/build/types/observable/internal/aggregation/ObjectAggregationQuery.d.ts +5 -0
- package/build/types/observable/internal/aggregation/ObjectAggregationQuery.d.ts.map +1 -0
- package/build/types/observable/internal/links/LinksHelper.d.ts +0 -4
- package/build/types/observable/internal/links/LinksHelper.d.ts.map +1 -1
- package/build/types/observable/internal/list/ListCacheKey.d.ts +4 -1
- package/build/types/observable/internal/list/ListCacheKey.d.ts.map +1 -1
- package/build/types/observable/internal/list/ListQuery.d.ts +4 -1
- package/build/types/observable/internal/list/ListQuery.d.ts.map +1 -1
- package/build/types/observable/internal/list/ListQueryOptions.d.ts +9 -1
- package/build/types/observable/internal/list/ListQueryOptions.d.ts.map +1 -1
- package/build/types/observable/internal/list/ListsHelper.d.ts +5 -1
- package/build/types/observable/internal/list/ListsHelper.d.ts.map +1 -1
- package/build/types/observable/internal/list/ObjectListQuery.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/public/internal-node.d.ts +2 -0
- package/build/types/public/internal-node.d.ts.map +1 -0
- 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/internal-node.d.ts +17 -0
- package/package.json +18 -9
- package/build/cjs/chunk-HJV24UL2.cjs.map +0 -1
- package/build/cjs/chunk-PCNVSZXT.cjs.map +0 -1
- package/build/cjs/chunk-Q7SFCCGT.cjs +0 -11
- package/build/cjs/chunk-Q7SFCCGT.cjs.map +0 -1
- package/build/cjs/delay-QK4T7RVX.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6SCDLAU2_cjs = require('./chunk-6SCDLAU2.cjs');
|
|
4
4
|
var shared_net_errors = require('@osdk/shared.net.errors');
|
|
5
5
|
var shared_net_fetch = require('@osdk/shared.net.fetch');
|
|
6
6
|
var invariant3 = require('tiny-invariant');
|
|
@@ -12,18 +12,33 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
12
12
|
var invariant3__default = /*#__PURE__*/_interopDefault(invariant3);
|
|
13
13
|
var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
|
|
14
14
|
|
|
15
|
+
// src/object/fetchPage.ts
|
|
16
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
17
|
+
|
|
18
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
|
|
19
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
20
|
+
|
|
15
21
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
16
22
|
var Action_exports = {};
|
|
17
|
-
|
|
23
|
+
chunk6SCDLAU2_cjs.__export(Action_exports, {
|
|
18
24
|
apply: () => apply,
|
|
19
25
|
applyAsync: () => applyAsync,
|
|
20
26
|
applyBatch: () => applyBatch
|
|
21
27
|
});
|
|
28
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
29
|
+
|
|
30
|
+
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.5.0/node_modules/@osdk/shared.net.platformapi/build/esm/index.js
|
|
31
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
32
|
+
|
|
33
|
+
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.5.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
|
|
34
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
22
35
|
|
|
23
36
|
// ../../node_modules/.pnpm/@osdk+shared.client@1.0.1/node_modules/@osdk/shared.client/index.js
|
|
37
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
24
38
|
var symbolClientContext = Symbol("ClientContext");
|
|
25
39
|
|
|
26
40
|
// ../../node_modules/.pnpm/@osdk+shared.client2@1.0.0/node_modules/@osdk/shared.client2/index.js
|
|
41
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
27
42
|
var symbolClientContext2 = "__osdkClientContext";
|
|
28
43
|
async function foundryPlatformFetch(client, [httpMethodNum, origPath, flags, contentType, responseContentType], ...args) {
|
|
29
44
|
const path = origPath.replace(/\{([^}]+)\}/g, () => encodeURIComponent(args.shift()));
|
|
@@ -103,13 +118,17 @@ function applyBatch($ctx, ...args) {
|
|
|
103
118
|
return foundryPlatformFetch($ctx, _applyBatch, ...args);
|
|
104
119
|
}
|
|
105
120
|
|
|
121
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
|
|
122
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
123
|
+
|
|
106
124
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
|
|
107
125
|
var ActionTypeV2_exports = {};
|
|
108
|
-
|
|
126
|
+
chunk6SCDLAU2_cjs.__export(ActionTypeV2_exports, {
|
|
109
127
|
get: () => get,
|
|
110
128
|
getByRid: () => getByRid,
|
|
111
129
|
list: () => list
|
|
112
130
|
});
|
|
131
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
113
132
|
var _list = [0, "/v2/ontologies/{0}/actionTypes", 2];
|
|
114
133
|
function list($ctx, ...args) {
|
|
115
134
|
return foundryPlatformFetch($ctx, _list, ...args);
|
|
@@ -125,11 +144,12 @@ function getByRid($ctx, ...args) {
|
|
|
125
144
|
|
|
126
145
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
|
|
127
146
|
var Attachment_exports = {};
|
|
128
|
-
|
|
147
|
+
chunk6SCDLAU2_cjs.__export(Attachment_exports, {
|
|
129
148
|
get: () => get2,
|
|
130
149
|
read: () => read,
|
|
131
150
|
upload: () => upload
|
|
132
151
|
});
|
|
152
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
133
153
|
var _upload = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
|
|
134
154
|
function upload($ctx, ...args) {
|
|
135
155
|
const headerParams = {
|
|
@@ -148,13 +168,23 @@ function get2($ctx, ...args) {
|
|
|
148
168
|
return foundryPlatformFetch($ctx, _get2, ...args);
|
|
149
169
|
}
|
|
150
170
|
|
|
171
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
|
|
172
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
173
|
+
|
|
174
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
|
|
175
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
176
|
+
|
|
177
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
|
|
178
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
179
|
+
|
|
151
180
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
|
|
152
181
|
var MediaReferenceProperty_exports = {};
|
|
153
|
-
|
|
182
|
+
chunk6SCDLAU2_cjs.__export(MediaReferenceProperty_exports, {
|
|
154
183
|
getMediaContent: () => getMediaContent,
|
|
155
184
|
getMediaMetadata: () => getMediaMetadata,
|
|
156
185
|
upload: () => upload2
|
|
157
186
|
});
|
|
187
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
158
188
|
var _getMediaContent = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content", 2, , "*/*"];
|
|
159
189
|
function getMediaContent($ctx, ...args) {
|
|
160
190
|
return foundryPlatformFetch($ctx, _getMediaContent, ...args);
|
|
@@ -170,13 +200,14 @@ function upload2($ctx, ...args) {
|
|
|
170
200
|
|
|
171
201
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
|
|
172
202
|
var ObjectTypeV2_exports = {};
|
|
173
|
-
|
|
203
|
+
chunk6SCDLAU2_cjs.__export(ObjectTypeV2_exports, {
|
|
174
204
|
get: () => get3,
|
|
175
205
|
getFullMetadata: () => getFullMetadata,
|
|
176
206
|
getOutgoingLinkType: () => getOutgoingLinkType,
|
|
177
207
|
list: () => list2,
|
|
178
208
|
listOutgoingLinkTypes: () => listOutgoingLinkTypes
|
|
179
209
|
});
|
|
210
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
180
211
|
var _list2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
181
212
|
function list2($ctx, ...args) {
|
|
182
213
|
return foundryPlatformFetch($ctx, _list2, ...args);
|
|
@@ -200,7 +231,7 @@ function getOutgoingLinkType($ctx, ...args) {
|
|
|
200
231
|
|
|
201
232
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
|
|
202
233
|
var OntologyInterface_exports = {};
|
|
203
|
-
|
|
234
|
+
chunk6SCDLAU2_cjs.__export(OntologyInterface_exports, {
|
|
204
235
|
aggregate: () => aggregate,
|
|
205
236
|
get: () => get4,
|
|
206
237
|
getOutgoingInterfaceLinkType: () => getOutgoingInterfaceLinkType,
|
|
@@ -210,6 +241,7 @@ chunkQ7SFCCGT_cjs.__export(OntologyInterface_exports, {
|
|
|
210
241
|
listOutgoingInterfaceLinkTypes: () => listOutgoingInterfaceLinkTypes,
|
|
211
242
|
search: () => search
|
|
212
243
|
});
|
|
244
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
213
245
|
var _list3 = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
214
246
|
function list3($ctx, ...args) {
|
|
215
247
|
return foundryPlatformFetch($ctx, _list3, ...args);
|
|
@@ -245,7 +277,7 @@ function listInterfaceLinkedObjects($ctx, ...args) {
|
|
|
245
277
|
|
|
246
278
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
|
|
247
279
|
var OntologyObjectSet_exports = {};
|
|
248
|
-
|
|
280
|
+
chunk6SCDLAU2_cjs.__export(OntologyObjectSet_exports, {
|
|
249
281
|
aggregate: () => aggregate2,
|
|
250
282
|
createTemporary: () => createTemporary,
|
|
251
283
|
get: () => get5,
|
|
@@ -253,6 +285,7 @@ chunkQ7SFCCGT_cjs.__export(OntologyObjectSet_exports, {
|
|
|
253
285
|
loadMultipleObjectTypes: () => loadMultipleObjectTypes,
|
|
254
286
|
loadObjectsOrInterfaces: () => loadObjectsOrInterfaces
|
|
255
287
|
});
|
|
288
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
256
289
|
var _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 3];
|
|
257
290
|
function createTemporary($ctx, ...args) {
|
|
258
291
|
return foundryPlatformFetch($ctx, _createTemporary, ...args);
|
|
@@ -278,11 +311,24 @@ function aggregate2($ctx, ...args) {
|
|
|
278
311
|
return foundryPlatformFetch($ctx, _aggregate2, ...args);
|
|
279
312
|
}
|
|
280
313
|
|
|
314
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
|
|
315
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
316
|
+
|
|
317
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
|
|
318
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
319
|
+
|
|
320
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
|
|
321
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
322
|
+
|
|
323
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
|
|
324
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
325
|
+
|
|
281
326
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
|
|
282
327
|
var Query_exports = {};
|
|
283
|
-
|
|
328
|
+
chunk6SCDLAU2_cjs.__export(Query_exports, {
|
|
284
329
|
execute: () => execute
|
|
285
330
|
});
|
|
331
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
286
332
|
var _execute = [1, "/v2/ontologies/{0}/queries/{1}/execute", 7];
|
|
287
333
|
function execute($ctx, ...args) {
|
|
288
334
|
return foundryPlatformFetch($ctx, _execute, ...args);
|
|
@@ -290,10 +336,11 @@ function execute($ctx, ...args) {
|
|
|
290
336
|
|
|
291
337
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
|
|
292
338
|
var QueryType_exports = {};
|
|
293
|
-
|
|
339
|
+
chunk6SCDLAU2_cjs.__export(QueryType_exports, {
|
|
294
340
|
get: () => get6,
|
|
295
341
|
list: () => list4
|
|
296
342
|
});
|
|
343
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
297
344
|
var _list4 = [0, "/v2/ontologies/{0}/queryTypes", 2];
|
|
298
345
|
function list4($ctx, ...args) {
|
|
299
346
|
return foundryPlatformFetch($ctx, _list4, ...args);
|
|
@@ -305,11 +352,12 @@ function get6($ctx, ...args) {
|
|
|
305
352
|
|
|
306
353
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
|
|
307
354
|
var TimeSeriesPropertyV2_exports = {};
|
|
308
|
-
|
|
355
|
+
chunk6SCDLAU2_cjs.__export(TimeSeriesPropertyV2_exports, {
|
|
309
356
|
getFirstPoint: () => getFirstPoint,
|
|
310
357
|
getLastPoint: () => getLastPoint,
|
|
311
358
|
streamPoints: () => streamPoints
|
|
312
359
|
});
|
|
360
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
313
361
|
var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
|
|
314
362
|
function getFirstPoint($ctx, ...args) {
|
|
315
363
|
return foundryPlatformFetch($ctx, _getFirstPoint, ...args);
|
|
@@ -325,10 +373,11 @@ function streamPoints($ctx, ...args) {
|
|
|
325
373
|
|
|
326
374
|
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
|
|
327
375
|
var TimeSeriesValueBankProperty_exports = {};
|
|
328
|
-
|
|
376
|
+
chunk6SCDLAU2_cjs.__export(TimeSeriesValueBankProperty_exports, {
|
|
329
377
|
getLatestValue: () => getLatestValue,
|
|
330
378
|
streamValues: () => streamValues
|
|
331
379
|
});
|
|
380
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
332
381
|
var _getLatestValue = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue", 2];
|
|
333
382
|
function getLatestValue($ctx, ...args) {
|
|
334
383
|
return foundryPlatformFetch($ctx, _getLatestValue, ...args);
|
|
@@ -339,11 +388,15 @@ function streamValues($ctx, ...args) {
|
|
|
339
388
|
}
|
|
340
389
|
|
|
341
390
|
// src/internal/conversions/extractNamespace.ts
|
|
391
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
342
392
|
function extractNamespace(fqApiName) {
|
|
343
393
|
const last = fqApiName.lastIndexOf(".");
|
|
344
394
|
if (last === -1) return [void 0, fqApiName];
|
|
345
395
|
return [fqApiName.slice(0, last), fqApiName.slice(last + 1)];
|
|
346
396
|
}
|
|
397
|
+
|
|
398
|
+
// src/util/addUserAgentAndRequestContextHeaders.ts
|
|
399
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
347
400
|
var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
|
|
348
401
|
...client,
|
|
349
402
|
fetch: shared_net_fetch.createFetchHeaderMutator(client.fetch, (headers) => {
|
|
@@ -354,6 +407,9 @@ var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
|
|
|
354
407
|
return headers;
|
|
355
408
|
})
|
|
356
409
|
});
|
|
410
|
+
|
|
411
|
+
// src/util/extractObjectOrInterfaceType.ts
|
|
412
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
357
413
|
async function extractObjectOrInterfaceType(clientCtx, objectSet) {
|
|
358
414
|
switch (objectSet.type) {
|
|
359
415
|
case "searchAround": {
|
|
@@ -437,6 +493,9 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
|
|
|
437
493
|
process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Unsupported object set type for deriving object or interface type,`) : invariant3__default.default(false) ;
|
|
438
494
|
}
|
|
439
495
|
}
|
|
496
|
+
|
|
497
|
+
// src/util/extractRdpDefinition.ts
|
|
498
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
440
499
|
async function extractRdpDefinition(clientCtx, objectSet) {
|
|
441
500
|
return (await extractRdpDefinitionInternal(clientCtx, objectSet, void 0)).definitions;
|
|
442
501
|
}
|
|
@@ -565,6 +624,7 @@ async function extractRdpDefinitionInternal(clientCtx, objectSet, methodInputObj
|
|
|
565
624
|
}
|
|
566
625
|
|
|
567
626
|
// src/util/objectSetUtils.ts
|
|
627
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
568
628
|
function resolveBaseObjectSetType(objectType) {
|
|
569
629
|
return objectType.type === "interface" ? {
|
|
570
630
|
type: "interfaceBase",
|
|
@@ -777,7 +837,11 @@ async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot
|
|
|
777
837
|
});
|
|
778
838
|
}
|
|
779
839
|
|
|
840
|
+
// src/public-utils/hydrateAttachmentFromRid.ts
|
|
841
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
842
|
+
|
|
780
843
|
// src/Client.ts
|
|
844
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
781
845
|
var additionalContext = Symbol("additionalContext");
|
|
782
846
|
|
|
783
847
|
// src/public-utils/hydrateAttachmentFromRid.ts
|
|
@@ -800,7 +864,11 @@ function hydrateAttachmentFromRidInternal(client, rid) {
|
|
|
800
864
|
};
|
|
801
865
|
}
|
|
802
866
|
|
|
867
|
+
// src/logger/MinimalLogger.ts
|
|
868
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
869
|
+
|
|
803
870
|
// src/logger/BaseLogger.ts
|
|
871
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
804
872
|
function noop() {
|
|
805
873
|
}
|
|
806
874
|
var levels = {
|
|
@@ -866,6 +934,9 @@ var MinimalLogger = class _MinimalLogger extends BaseLogger {
|
|
|
866
934
|
};
|
|
867
935
|
}
|
|
868
936
|
};
|
|
937
|
+
|
|
938
|
+
// src/object/fetchSingle.ts
|
|
939
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
869
940
|
async function fetchSingle(client, objectType, args, objectSet) {
|
|
870
941
|
const result = await fetchPage(client, objectType, {
|
|
871
942
|
...args,
|
|
@@ -894,7 +965,17 @@ async function fetchSingleWithErrors(client, objectType, args, objectSet) {
|
|
|
894
965
|
}
|
|
895
966
|
}
|
|
896
967
|
|
|
968
|
+
// src/objectSet/createObjectSet.ts
|
|
969
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
970
|
+
|
|
971
|
+
// src/derivedProperties/createWithPropertiesObjectSet.ts
|
|
972
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
973
|
+
|
|
974
|
+
// src/internal/conversions/modernToLegacyWhereClause.ts
|
|
975
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
976
|
+
|
|
897
977
|
// src/internal/conversions/fullyQualifyPropName.ts
|
|
978
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
898
979
|
function fullyQualifyPropName(fieldName, objectOrInterface) {
|
|
899
980
|
if (objectOrInterface.type === "interface") {
|
|
900
981
|
const [objApiNamespace] = extractNamespace(objectOrInterface.apiName);
|
|
@@ -904,7 +985,11 @@ function fullyQualifyPropName(fieldName, objectOrInterface) {
|
|
|
904
985
|
return fieldName;
|
|
905
986
|
}
|
|
906
987
|
|
|
988
|
+
// src/internal/conversions/makeGeoFilterIntersects.ts
|
|
989
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
990
|
+
|
|
907
991
|
// src/internal/conversions/makeGeoFilterBbox.ts
|
|
992
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
908
993
|
function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
|
|
909
994
|
return {
|
|
910
995
|
type: filterType === "$within" ? "withinBoundingBox" : "intersectsBoundingBox",
|
|
@@ -931,6 +1016,7 @@ function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
|
|
|
931
1016
|
}
|
|
932
1017
|
|
|
933
1018
|
// src/internal/conversions/makeGeoFilterPolygon.ts
|
|
1019
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
934
1020
|
function makeGeoFilterPolygon(coordinates, filterType, propertyIdentifier, field) {
|
|
935
1021
|
return {
|
|
936
1022
|
type: filterType,
|
|
@@ -956,6 +1042,9 @@ function makeGeoFilterIntersects(intersectsBody, propertyIdentifier, field) {
|
|
|
956
1042
|
return makeGeoFilterPolygon(coordinates, "intersectsPolygon", propertyIdentifier, field);
|
|
957
1043
|
}
|
|
958
1044
|
}
|
|
1045
|
+
|
|
1046
|
+
// src/internal/conversions/makeGeoFilterWithin.ts
|
|
1047
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
959
1048
|
function makeGeoFilterWithin(withinBody, propertyIdentifier, field) {
|
|
960
1049
|
if (Array.isArray(withinBody)) {
|
|
961
1050
|
return makeGeoFilterBbox(withinBody, "$within", propertyIdentifier, field);
|
|
@@ -1113,6 +1202,9 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
|
|
|
1113
1202
|
value: filter[firstKey]
|
|
1114
1203
|
};
|
|
1115
1204
|
}
|
|
1205
|
+
|
|
1206
|
+
// src/derivedProperties/derivedPropertyDefinitionFactory.ts
|
|
1207
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
1116
1208
|
function derivedPropertyDefinitionFactory(wireDefinition, definitionMap) {
|
|
1117
1209
|
const definition = {
|
|
1118
1210
|
abs() {
|
|
@@ -1297,6 +1389,12 @@ function createWithPropertiesObjectSet(objectType, objectSet, definitionMap, fro
|
|
|
1297
1389
|
}
|
|
1298
1390
|
};
|
|
1299
1391
|
}
|
|
1392
|
+
|
|
1393
|
+
// src/object/aggregate.ts
|
|
1394
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
1395
|
+
|
|
1396
|
+
// src/internal/conversions/legacyToModernSingleAggregationResult.ts
|
|
1397
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
1300
1398
|
function legacyToModernSingleAggregationResult(entry) {
|
|
1301
1399
|
return entry.metrics.reduce((accumulator, curValue) => {
|
|
1302
1400
|
const parts = curValue.name.split(".");
|
|
@@ -1315,6 +1413,7 @@ function legacyToModernSingleAggregationResult(entry) {
|
|
|
1315
1413
|
}
|
|
1316
1414
|
|
|
1317
1415
|
// src/internal/conversions/modernToLegacyAggregationClause.ts
|
|
1416
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
1318
1417
|
var directionFieldMap = (dir) => dir === "asc" ? "ASC" : dir === "desc" ? "DESC" : void 0;
|
|
1319
1418
|
function modernToLegacyAggregationClause(select) {
|
|
1320
1419
|
return Object.entries(select).flatMap(([propAndMetric, aggregationType]) => {
|
|
@@ -1336,6 +1435,9 @@ function modernToLegacyAggregationClause(select) {
|
|
|
1336
1435
|
}];
|
|
1337
1436
|
});
|
|
1338
1437
|
}
|
|
1438
|
+
|
|
1439
|
+
// src/internal/conversions/modernToLegacyGroupByClause.ts
|
|
1440
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
1339
1441
|
function modernToLegacyGroupByClause(groupByClause) {
|
|
1340
1442
|
if (!groupByClause) return [];
|
|
1341
1443
|
return Object.entries(groupByClause).flatMap(([field, type]) => {
|
|
@@ -1432,6 +1534,7 @@ function aggregationToCountResult(entry) {
|
|
|
1432
1534
|
}
|
|
1433
1535
|
|
|
1434
1536
|
// src/util/augmentRequestContext.ts
|
|
1537
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
1435
1538
|
var augmentRequestContext = (client, augment2) => ({
|
|
1436
1539
|
...client,
|
|
1437
1540
|
requestContext: {
|
|
@@ -1441,12 +1544,17 @@ var augmentRequestContext = (client, augment2) => ({
|
|
|
1441
1544
|
});
|
|
1442
1545
|
|
|
1443
1546
|
// src/util/WireObjectSet.ts
|
|
1547
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
1444
1548
|
var WIRE_OBJECT_SET_TYPES = /* @__PURE__ */ new Set(["base", "filter", "intersect", "reference", "searchAround", "static", "subtract", "union", "interfaceBase"]);
|
|
1445
1549
|
function isWireObjectSet(o) {
|
|
1446
1550
|
return o != null && typeof o === "object" && WIRE_OBJECT_SET_TYPES.has(o.type);
|
|
1447
1551
|
}
|
|
1448
1552
|
|
|
1553
|
+
// src/objectSet/ObjectSetListenerWebsocket.ts
|
|
1554
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
1555
|
+
|
|
1449
1556
|
// src/util/exponentialBackoff.ts
|
|
1557
|
+
chunk6SCDLAU2_cjs.init_cjs_shims();
|
|
1450
1558
|
var DEFAULT_OPTIONS = {
|
|
1451
1559
|
initialDelayMs: 1e3,
|
|
1452
1560
|
maxDelayMs: 6e4,
|
|
@@ -2131,5 +2239,5 @@ exports.hydrateAttachmentFromRidInternal = hydrateAttachmentFromRidInternal;
|
|
|
2131
2239
|
exports.isObjectSet = isObjectSet;
|
|
2132
2240
|
exports.isWireObjectSet = isWireObjectSet;
|
|
2133
2241
|
exports.symbolClientContext = symbolClientContext;
|
|
2134
|
-
//# sourceMappingURL=chunk-
|
|
2135
|
-
//# sourceMappingURL=chunk-
|
|
2242
|
+
//# sourceMappingURL=chunk-DZE6IAUU.cjs.map
|
|
2243
|
+
//# sourceMappingURL=chunk-DZE6IAUU.cjs.map
|