@osdk/client 2.7.0-beta.6 → 2.7.0-beta.8

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.
Files changed (65) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/build/browser/MinimalClientContext.js.map +1 -1
  3. package/build/browser/createClient.js +4 -3
  4. package/build/browser/createClient.js.map +1 -1
  5. package/build/browser/createClient.test.js +1 -1
  6. package/build/browser/createClient.test.js.map +1 -1
  7. package/build/browser/createMinimalClient.js.map +1 -1
  8. package/build/browser/object/aggregate.js +3 -0
  9. package/build/browser/object/aggregate.js.map +1 -1
  10. package/build/browser/object/fetchPage.js +12 -0
  11. package/build/browser/object/fetchPage.js.map +1 -1
  12. package/build/browser/observable/internal/Store.test.js +54 -0
  13. package/build/browser/observable/internal/Store.test.js.map +1 -1
  14. package/build/browser/observable/internal/base-list/BaseListQuery.js +1 -1
  15. package/build/browser/observable/internal/base-list/BaseListQuery.js.map +1 -1
  16. package/build/browser/observable/internal/utils/rdpFieldOperations.js +46 -25
  17. package/build/browser/observable/internal/utils/rdpFieldOperations.js.map +1 -1
  18. package/build/browser/queries/applyQuery.js +3 -0
  19. package/build/browser/queries/applyQuery.js.map +1 -1
  20. package/build/browser/util/UserAgent.js +2 -2
  21. package/build/cjs/{chunk-NN424XVL.cjs → chunk-FL7QZC57.cjs} +122 -116
  22. package/build/cjs/chunk-FL7QZC57.cjs.map +1 -0
  23. package/build/cjs/{chunk-6SCDLAU2.cjs → chunk-LDTMSHUZ.cjs} +4 -4
  24. package/build/cjs/{chunk-6SCDLAU2.cjs.map → chunk-LDTMSHUZ.cjs.map} +1 -1
  25. package/build/cjs/{chunk-HM4EXGFD.cjs → chunk-PARVKNVB.cjs} +82 -67
  26. package/build/cjs/chunk-PARVKNVB.cjs.map +1 -0
  27. package/build/cjs/{createClient-CPUYdECn.d.cts → createClient-D5G3qzAO.d.cts} +1 -1
  28. package/build/cjs/{delay-KIUUJ5NJ.cjs → delay-W2TSML2P.cjs} +4 -4
  29. package/build/cjs/{delay-KIUUJ5NJ.cjs.map → delay-W2TSML2P.cjs.map} +1 -1
  30. package/build/cjs/index.cjs +12 -12
  31. package/build/cjs/index.d.cts +1 -1
  32. package/build/cjs/public/internal-node.cjs +219 -219
  33. package/build/cjs/public/internal.cjs +14 -14
  34. package/build/cjs/public/unstable-do-not-use.cjs +139 -123
  35. package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
  36. package/build/cjs/public/unstable-do-not-use.d.cts +1 -1
  37. package/build/esm/MinimalClientContext.js.map +1 -1
  38. package/build/esm/createClient.js +4 -3
  39. package/build/esm/createClient.js.map +1 -1
  40. package/build/esm/createClient.test.js +1 -1
  41. package/build/esm/createClient.test.js.map +1 -1
  42. package/build/esm/createMinimalClient.js.map +1 -1
  43. package/build/esm/object/aggregate.js +3 -0
  44. package/build/esm/object/aggregate.js.map +1 -1
  45. package/build/esm/object/fetchPage.js +12 -0
  46. package/build/esm/object/fetchPage.js.map +1 -1
  47. package/build/esm/observable/internal/Store.test.js +54 -0
  48. package/build/esm/observable/internal/Store.test.js.map +1 -1
  49. package/build/esm/observable/internal/base-list/BaseListQuery.js +1 -1
  50. package/build/esm/observable/internal/base-list/BaseListQuery.js.map +1 -1
  51. package/build/esm/observable/internal/utils/rdpFieldOperations.js +46 -25
  52. package/build/esm/observable/internal/utils/rdpFieldOperations.js.map +1 -1
  53. package/build/esm/queries/applyQuery.js +3 -0
  54. package/build/esm/queries/applyQuery.js.map +1 -1
  55. package/build/esm/util/UserAgent.js +2 -2
  56. package/build/types/MinimalClientContext.d.ts +1 -1
  57. package/build/types/MinimalClientContext.d.ts.map +1 -1
  58. package/build/types/createClient.d.ts +1 -1
  59. package/build/types/createClient.d.ts.map +1 -1
  60. package/build/types/observable/internal/Store.test.d.ts.map +1 -1
  61. package/build/types/observable/internal/utils/rdpFieldOperations.d.ts.map +1 -1
  62. package/build/types/queries/applyQuery.d.ts.map +1 -1
  63. package/package.json +9 -9
  64. package/build/cjs/chunk-HM4EXGFD.cjs.map +0 -1
  65. package/build/cjs/chunk-NN424XVL.cjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk6SCDLAU2_cjs = require('./chunk-6SCDLAU2.cjs');
3
+ var chunkLDTMSHUZ_cjs = require('./chunk-LDTMSHUZ.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');
@@ -13,33 +13,33 @@ var invariant3__default = /*#__PURE__*/_interopDefault(invariant3);
13
13
  var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
14
14
 
15
15
  // src/object/fetchPage.ts
16
- chunk6SCDLAU2_cjs.init_cjs_shims();
16
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
17
17
 
18
18
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
19
- chunk6SCDLAU2_cjs.init_cjs_shims();
19
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
20
20
 
21
21
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
22
22
  var Action_exports = {};
23
- chunk6SCDLAU2_cjs.__export(Action_exports, {
23
+ chunkLDTMSHUZ_cjs.__export(Action_exports, {
24
24
  apply: () => apply,
25
25
  applyAsync: () => applyAsync,
26
26
  applyBatch: () => applyBatch,
27
27
  applyWithOverrides: () => applyWithOverrides
28
28
  });
29
- chunk6SCDLAU2_cjs.init_cjs_shims();
29
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
30
30
 
31
31
  // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.5.0/node_modules/@osdk/shared.net.platformapi/build/esm/index.js
32
- chunk6SCDLAU2_cjs.init_cjs_shims();
32
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
33
33
 
34
34
  // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.5.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
35
- chunk6SCDLAU2_cjs.init_cjs_shims();
35
+ chunkLDTMSHUZ_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
- chunk6SCDLAU2_cjs.init_cjs_shims();
38
+ chunkLDTMSHUZ_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
- chunk6SCDLAU2_cjs.init_cjs_shims();
42
+ chunkLDTMSHUZ_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,16 +124,16 @@ function applyWithOverrides($ctx, ...args) {
124
124
  }
125
125
 
126
126
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
127
- chunk6SCDLAU2_cjs.init_cjs_shims();
127
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
128
128
 
129
129
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
130
130
  var ActionTypeV2_exports = {};
131
- chunk6SCDLAU2_cjs.__export(ActionTypeV2_exports, {
131
+ chunkLDTMSHUZ_cjs.__export(ActionTypeV2_exports, {
132
132
  get: () => get,
133
133
  getByRid: () => getByRid,
134
134
  list: () => list
135
135
  });
136
- chunk6SCDLAU2_cjs.init_cjs_shims();
136
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
137
137
  var _list = [0, "/v2/ontologies/{0}/actionTypes", 2];
138
138
  function list($ctx, ...args) {
139
139
  return foundryPlatformFetch($ctx, _list, ...args);
@@ -149,13 +149,13 @@ function getByRid($ctx, ...args) {
149
149
 
150
150
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
151
151
  var Attachment_exports = {};
152
- chunk6SCDLAU2_cjs.__export(Attachment_exports, {
152
+ chunkLDTMSHUZ_cjs.__export(Attachment_exports, {
153
153
  get: () => get2,
154
154
  read: () => read,
155
155
  upload: () => upload,
156
156
  uploadWithRid: () => uploadWithRid
157
157
  });
158
- chunk6SCDLAU2_cjs.init_cjs_shims();
158
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
159
159
  var _upload = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
160
160
  function upload($ctx, ...args) {
161
161
  const headerParams = {
@@ -184,22 +184,22 @@ function get2($ctx, ...args) {
184
184
  }
185
185
 
186
186
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
187
- chunk6SCDLAU2_cjs.init_cjs_shims();
187
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
188
188
 
189
189
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
190
- chunk6SCDLAU2_cjs.init_cjs_shims();
190
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
191
191
 
192
192
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
193
- chunk6SCDLAU2_cjs.init_cjs_shims();
193
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
194
194
 
195
195
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
196
196
  var MediaReferenceProperty_exports = {};
197
- chunk6SCDLAU2_cjs.__export(MediaReferenceProperty_exports, {
197
+ chunkLDTMSHUZ_cjs.__export(MediaReferenceProperty_exports, {
198
198
  getMediaContent: () => getMediaContent,
199
199
  getMediaMetadata: () => getMediaMetadata,
200
200
  upload: () => upload2
201
201
  });
202
- chunk6SCDLAU2_cjs.init_cjs_shims();
202
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
203
203
  var _getMediaContent = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content", 2, , "*/*"];
204
204
  function getMediaContent($ctx, ...args) {
205
205
  return foundryPlatformFetch($ctx, _getMediaContent, ...args);
@@ -215,14 +215,14 @@ function upload2($ctx, ...args) {
215
215
 
216
216
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
217
217
  var ObjectTypeV2_exports = {};
218
- chunk6SCDLAU2_cjs.__export(ObjectTypeV2_exports, {
218
+ chunkLDTMSHUZ_cjs.__export(ObjectTypeV2_exports, {
219
219
  get: () => get3,
220
220
  getFullMetadata: () => getFullMetadata,
221
221
  getOutgoingLinkType: () => getOutgoingLinkType,
222
222
  list: () => list2,
223
223
  listOutgoingLinkTypes: () => listOutgoingLinkTypes
224
224
  });
225
- chunk6SCDLAU2_cjs.init_cjs_shims();
225
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
226
226
  var _list2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
227
227
  function list2($ctx, ...args) {
228
228
  return foundryPlatformFetch($ctx, _list2, ...args);
@@ -246,7 +246,7 @@ function getOutgoingLinkType($ctx, ...args) {
246
246
 
247
247
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
248
248
  var OntologyInterface_exports = {};
249
- chunk6SCDLAU2_cjs.__export(OntologyInterface_exports, {
249
+ chunkLDTMSHUZ_cjs.__export(OntologyInterface_exports, {
250
250
  aggregate: () => aggregate,
251
251
  get: () => get4,
252
252
  getOutgoingInterfaceLinkType: () => getOutgoingInterfaceLinkType,
@@ -256,7 +256,7 @@ chunk6SCDLAU2_cjs.__export(OntologyInterface_exports, {
256
256
  listOutgoingInterfaceLinkTypes: () => listOutgoingInterfaceLinkTypes,
257
257
  search: () => search
258
258
  });
259
- chunk6SCDLAU2_cjs.init_cjs_shims();
259
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
260
260
  var _list3 = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
261
261
  function list3($ctx, ...args) {
262
262
  return foundryPlatformFetch($ctx, _list3, ...args);
@@ -292,7 +292,7 @@ function listInterfaceLinkedObjects($ctx, ...args) {
292
292
 
293
293
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
294
294
  var OntologyObjectSet_exports = {};
295
- chunk6SCDLAU2_cjs.__export(OntologyObjectSet_exports, {
295
+ chunkLDTMSHUZ_cjs.__export(OntologyObjectSet_exports, {
296
296
  aggregate: () => aggregate2,
297
297
  createTemporary: () => createTemporary,
298
298
  get: () => get5,
@@ -301,7 +301,7 @@ chunk6SCDLAU2_cjs.__export(OntologyObjectSet_exports, {
301
301
  loadMultipleObjectTypes: () => loadMultipleObjectTypes,
302
302
  loadObjectsOrInterfaces: () => loadObjectsOrInterfaces
303
303
  });
304
- chunk6SCDLAU2_cjs.init_cjs_shims();
304
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
305
305
  var _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 3];
306
306
  function createTemporary($ctx, ...args) {
307
307
  return foundryPlatformFetch($ctx, _createTemporary, ...args);
@@ -332,23 +332,23 @@ function loadLinks($ctx, ...args) {
332
332
  }
333
333
 
334
334
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
335
- chunk6SCDLAU2_cjs.init_cjs_shims();
335
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
336
336
 
337
337
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
338
- chunk6SCDLAU2_cjs.init_cjs_shims();
338
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
339
339
 
340
340
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
341
- chunk6SCDLAU2_cjs.init_cjs_shims();
341
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
342
342
 
343
343
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
344
- chunk6SCDLAU2_cjs.init_cjs_shims();
344
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
345
345
 
346
346
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
347
347
  var Query_exports = {};
348
- chunk6SCDLAU2_cjs.__export(Query_exports, {
348
+ chunkLDTMSHUZ_cjs.__export(Query_exports, {
349
349
  execute: () => execute
350
350
  });
351
- chunk6SCDLAU2_cjs.init_cjs_shims();
351
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
352
352
  var _execute = [1, "/v2/ontologies/{0}/queries/{1}/execute", 7];
353
353
  function execute($ctx, ...args) {
354
354
  return foundryPlatformFetch($ctx, _execute, ...args);
@@ -356,11 +356,11 @@ function execute($ctx, ...args) {
356
356
 
357
357
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
358
358
  var QueryType_exports = {};
359
- chunk6SCDLAU2_cjs.__export(QueryType_exports, {
359
+ chunkLDTMSHUZ_cjs.__export(QueryType_exports, {
360
360
  get: () => get6,
361
361
  list: () => list4
362
362
  });
363
- chunk6SCDLAU2_cjs.init_cjs_shims();
363
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
364
364
  var _list4 = [0, "/v2/ontologies/{0}/queryTypes", 2];
365
365
  function list4($ctx, ...args) {
366
366
  return foundryPlatformFetch($ctx, _list4, ...args);
@@ -372,12 +372,12 @@ function get6($ctx, ...args) {
372
372
 
373
373
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
374
374
  var TimeSeriesPropertyV2_exports = {};
375
- chunk6SCDLAU2_cjs.__export(TimeSeriesPropertyV2_exports, {
375
+ chunkLDTMSHUZ_cjs.__export(TimeSeriesPropertyV2_exports, {
376
376
  getFirstPoint: () => getFirstPoint,
377
377
  getLastPoint: () => getLastPoint,
378
378
  streamPoints: () => streamPoints
379
379
  });
380
- chunk6SCDLAU2_cjs.init_cjs_shims();
380
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
381
381
  var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
382
382
  function getFirstPoint($ctx, ...args) {
383
383
  return foundryPlatformFetch($ctx, _getFirstPoint, ...args);
@@ -393,11 +393,11 @@ function streamPoints($ctx, ...args) {
393
393
 
394
394
  // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.44.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
395
395
  var TimeSeriesValueBankProperty_exports = {};
396
- chunk6SCDLAU2_cjs.__export(TimeSeriesValueBankProperty_exports, {
396
+ chunkLDTMSHUZ_cjs.__export(TimeSeriesValueBankProperty_exports, {
397
397
  getLatestValue: () => getLatestValue,
398
398
  streamValues: () => streamValues
399
399
  });
400
- chunk6SCDLAU2_cjs.init_cjs_shims();
400
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
401
401
  var _getLatestValue = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue", 2];
402
402
  function getLatestValue($ctx, ...args) {
403
403
  return foundryPlatformFetch($ctx, _getLatestValue, ...args);
@@ -408,7 +408,7 @@ function streamValues($ctx, ...args) {
408
408
  }
409
409
 
410
410
  // src/internal/conversions/extractNamespace.ts
411
- chunk6SCDLAU2_cjs.init_cjs_shims();
411
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
412
412
  function extractNamespace(fqApiName) {
413
413
  const last = fqApiName.lastIndexOf(".");
414
414
  if (last === -1) return [void 0, fqApiName];
@@ -416,7 +416,7 @@ function extractNamespace(fqApiName) {
416
416
  }
417
417
 
418
418
  // src/util/addUserAgentAndRequestContextHeaders.ts
419
- chunk6SCDLAU2_cjs.init_cjs_shims();
419
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
420
420
  var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
421
421
  ...client,
422
422
  fetch: shared_net_fetch.createFetchHeaderMutator(client.fetch, (headers) => {
@@ -429,7 +429,7 @@ var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
429
429
  });
430
430
 
431
431
  // src/util/extractObjectOrInterfaceType.ts
432
- chunk6SCDLAU2_cjs.init_cjs_shims();
432
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
433
433
  async function extractObjectOrInterfaceType(clientCtx, objectSet) {
434
434
  switch (objectSet.type) {
435
435
  case "searchAround": {
@@ -515,7 +515,7 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
515
515
  }
516
516
 
517
517
  // src/util/extractRdpDefinition.ts
518
- chunk6SCDLAU2_cjs.init_cjs_shims();
518
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
519
519
  async function extractRdpDefinition(clientCtx, objectSet) {
520
520
  return (await extractRdpDefinitionInternal(clientCtx, objectSet, void 0)).definitions;
521
521
  }
@@ -644,7 +644,7 @@ async function extractRdpDefinitionInternal(clientCtx, objectSet, methodInputObj
644
644
  }
645
645
 
646
646
  // src/util/objectSetUtils.ts
647
- chunk6SCDLAU2_cjs.init_cjs_shims();
647
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
648
648
  function resolveBaseObjectSetType(objectType) {
649
649
  return objectType.type === "interface" ? {
650
650
  type: "interfaceBase",
@@ -702,6 +702,9 @@ async function fetchStaticRidPage(client, rids, args, useSnapshot = false) {
702
702
  type: "object",
703
703
  apiName: ""
704
704
  });
705
+ if (client.flushEdits != null) {
706
+ await client.flushEdits();
707
+ }
705
708
  const result = await OntologyObjectSet_exports.loadMultipleObjectTypes(addUserAgentAndRequestContextHeaders(client, {
706
709
  osdkMetadata: void 0
707
710
  }), await client.ontologyRid, requestBody, {
@@ -731,6 +734,9 @@ async function fetchInterfacePage(client, interfaceType, args, objectSet, useSna
731
734
  const remapped = remapPropertyNames(interfaceType, requestBody2.selectedSharedPropertyTypes);
732
735
  requestBody2.selectedSharedPropertyTypes = Array.from(remapped);
733
736
  }
737
+ if (client.flushEdits != null) {
738
+ await client.flushEdits();
739
+ }
734
740
  const result2 = await OntologyInterface_exports.search(addUserAgentAndRequestContextHeaders(client, interfaceType), await client.ontologyRid, interfaceType.apiName, requestBody2, {
735
741
  preview: true
736
742
  });
@@ -753,6 +759,9 @@ async function fetchInterfacePage(client, interfaceType, args, objectSet, useSna
753
759
  excludeRid: !args?.$includeRid,
754
760
  snapshot: useSnapshot
755
761
  }, client, interfaceType);
762
+ if (client.flushEdits != null) {
763
+ await client.flushEdits();
764
+ }
756
765
  const result = await OntologyObjectSet_exports.loadMultipleObjectTypes(addUserAgentAndRequestContextHeaders(client, interfaceType), await client.ontologyRid, requestBody, {
757
766
  preview: true,
758
767
  branch: client.branch,
@@ -853,6 +862,9 @@ async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot
853
862
  excludeRid: !args?.$includeRid,
854
863
  snapshot: useSnapshot
855
864
  }, client, objectType);
865
+ if (client.flushEdits != null) {
866
+ await client.flushEdits();
867
+ }
856
868
  const r = await OntologyObjectSet_exports.load(addUserAgentAndRequestContextHeaders(client, objectType), await client.ontologyRid, requestBody, {
857
869
  branch: client.branch,
858
870
  transactionId: client.transactionId
@@ -865,10 +877,10 @@ async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot
865
877
  }
866
878
 
867
879
  // src/public-utils/hydrateAttachmentFromRid.ts
868
- chunk6SCDLAU2_cjs.init_cjs_shims();
880
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
869
881
 
870
882
  // src/Client.ts
871
- chunk6SCDLAU2_cjs.init_cjs_shims();
883
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
872
884
  var additionalContext = Symbol("additionalContext");
873
885
 
874
886
  // src/public-utils/hydrateAttachmentFromRid.ts
@@ -892,10 +904,10 @@ function hydrateAttachmentFromRidInternal(client, rid) {
892
904
  }
893
905
 
894
906
  // src/logger/MinimalLogger.ts
895
- chunk6SCDLAU2_cjs.init_cjs_shims();
907
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
896
908
 
897
909
  // src/logger/BaseLogger.ts
898
- chunk6SCDLAU2_cjs.init_cjs_shims();
910
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
899
911
  function noop() {
900
912
  }
901
913
  var levels = {
@@ -963,7 +975,7 @@ var MinimalLogger = class _MinimalLogger extends BaseLogger {
963
975
  };
964
976
 
965
977
  // src/object/fetchSingle.ts
966
- chunk6SCDLAU2_cjs.init_cjs_shims();
978
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
967
979
  async function fetchSingle(client, objectType, args, objectSet) {
968
980
  const result = await fetchPage(client, objectType, {
969
981
  ...args,
@@ -993,16 +1005,16 @@ async function fetchSingleWithErrors(client, objectType, args, objectSet) {
993
1005
  }
994
1006
 
995
1007
  // src/objectSet/createObjectSet.ts
996
- chunk6SCDLAU2_cjs.init_cjs_shims();
1008
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
997
1009
 
998
1010
  // src/derivedProperties/createWithPropertiesObjectSet.ts
999
- chunk6SCDLAU2_cjs.init_cjs_shims();
1011
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1000
1012
 
1001
1013
  // src/internal/conversions/modernToLegacyWhereClause.ts
1002
- chunk6SCDLAU2_cjs.init_cjs_shims();
1014
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1003
1015
 
1004
1016
  // src/internal/conversions/fullyQualifyPropName.ts
1005
- chunk6SCDLAU2_cjs.init_cjs_shims();
1017
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1006
1018
  function fullyQualifyPropName(fieldName, objectOrInterface) {
1007
1019
  if (objectOrInterface.type === "interface") {
1008
1020
  const [objApiNamespace] = extractNamespace(objectOrInterface.apiName);
@@ -1013,10 +1025,10 @@ function fullyQualifyPropName(fieldName, objectOrInterface) {
1013
1025
  }
1014
1026
 
1015
1027
  // src/internal/conversions/makeGeoFilterIntersects.ts
1016
- chunk6SCDLAU2_cjs.init_cjs_shims();
1028
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1017
1029
 
1018
1030
  // src/internal/conversions/makeGeoFilterBbox.ts
1019
- chunk6SCDLAU2_cjs.init_cjs_shims();
1031
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1020
1032
  function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
1021
1033
  return {
1022
1034
  type: filterType === "$within" ? "withinBoundingBox" : "intersectsBoundingBox",
@@ -1043,7 +1055,7 @@ function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
1043
1055
  }
1044
1056
 
1045
1057
  // src/internal/conversions/makeGeoFilterPolygon.ts
1046
- chunk6SCDLAU2_cjs.init_cjs_shims();
1058
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1047
1059
  function makeGeoFilterPolygon(coordinates, filterType, propertyIdentifier, field) {
1048
1060
  return {
1049
1061
  type: filterType,
@@ -1071,7 +1083,7 @@ function makeGeoFilterIntersects(intersectsBody, propertyIdentifier, field) {
1071
1083
  }
1072
1084
 
1073
1085
  // src/internal/conversions/makeGeoFilterWithin.ts
1074
- chunk6SCDLAU2_cjs.init_cjs_shims();
1086
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1075
1087
  function makeGeoFilterWithin(withinBody, propertyIdentifier, field) {
1076
1088
  if (Array.isArray(withinBody)) {
1077
1089
  return makeGeoFilterBbox(withinBody, "$within", propertyIdentifier, field);
@@ -1231,7 +1243,7 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
1231
1243
  }
1232
1244
 
1233
1245
  // src/derivedProperties/derivedPropertyDefinitionFactory.ts
1234
- chunk6SCDLAU2_cjs.init_cjs_shims();
1246
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1235
1247
  function derivedPropertyDefinitionFactory(wireDefinition, definitionMap) {
1236
1248
  const definition = {
1237
1249
  abs() {
@@ -1418,10 +1430,10 @@ function createWithPropertiesObjectSet(objectType, objectSet, definitionMap, fro
1418
1430
  }
1419
1431
 
1420
1432
  // src/object/aggregate.ts
1421
- chunk6SCDLAU2_cjs.init_cjs_shims();
1433
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1422
1434
 
1423
1435
  // src/internal/conversions/legacyToModernSingleAggregationResult.ts
1424
- chunk6SCDLAU2_cjs.init_cjs_shims();
1436
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1425
1437
  function legacyToModernSingleAggregationResult(entry) {
1426
1438
  return entry.metrics.reduce((accumulator, curValue) => {
1427
1439
  const parts = curValue.name.split(".");
@@ -1440,7 +1452,7 @@ function legacyToModernSingleAggregationResult(entry) {
1440
1452
  }
1441
1453
 
1442
1454
  // src/internal/conversions/modernToLegacyAggregationClause.ts
1443
- chunk6SCDLAU2_cjs.init_cjs_shims();
1455
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1444
1456
  var directionFieldMap = (dir) => dir === "asc" ? "ASC" : dir === "desc" ? "DESC" : void 0;
1445
1457
  function modernToLegacyAggregationClause(select) {
1446
1458
  return Object.entries(select).flatMap(([propAndMetric, aggregationType]) => {
@@ -1464,7 +1476,7 @@ function modernToLegacyAggregationClause(select) {
1464
1476
  }
1465
1477
 
1466
1478
  // src/internal/conversions/modernToLegacyGroupByClause.ts
1467
- chunk6SCDLAU2_cjs.init_cjs_shims();
1479
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1468
1480
  function modernToLegacyGroupByClause(groupByClause) {
1469
1481
  if (!groupByClause) return [];
1470
1482
  return Object.entries(groupByClause).flatMap(([field, type]) => {
@@ -1527,6 +1539,9 @@ async function aggregate3(clientCtx, objectType, objectSet = resolveBaseObjectSe
1527
1539
  if (req.$groupBy) {
1528
1540
  body.groupBy = modernToLegacyGroupByClause(req.$groupBy);
1529
1541
  }
1542
+ if (clientCtx.flushEdits != null) {
1543
+ await clientCtx.flushEdits();
1544
+ }
1530
1545
  const result = await OntologyObjectSet_exports.aggregate(addUserAgentAndRequestContextHeaders(clientCtx, objectType), await clientCtx.ontologyRid, {
1531
1546
  objectSet,
1532
1547
  groupBy: body.groupBy,
@@ -1562,7 +1577,7 @@ function aggregationToCountResult(entry) {
1562
1577
  }
1563
1578
 
1564
1579
  // src/util/augmentRequestContext.ts
1565
- chunk6SCDLAU2_cjs.init_cjs_shims();
1580
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1566
1581
  var augmentRequestContext = (client, augment2) => ({
1567
1582
  ...client,
1568
1583
  requestContext: {
@@ -1572,14 +1587,14 @@ var augmentRequestContext = (client, augment2) => ({
1572
1587
  });
1573
1588
 
1574
1589
  // src/util/WireObjectSet.ts
1575
- chunk6SCDLAU2_cjs.init_cjs_shims();
1590
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1576
1591
  var WIRE_OBJECT_SET_TYPES = /* @__PURE__ */ new Set(["base", "filter", "intersect", "reference", "searchAround", "static", "subtract", "union", "interfaceBase"]);
1577
1592
  function isWireObjectSet(o) {
1578
1593
  return o != null && typeof o === "object" && WIRE_OBJECT_SET_TYPES.has(o.type);
1579
1594
  }
1580
1595
 
1581
1596
  // src/objectSet/fetchLinksPage.ts
1582
- chunk6SCDLAU2_cjs.init_cjs_shims();
1597
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1583
1598
  var fetchLinksPage = async (client, objectType, objectSet, links) => {
1584
1599
  if (objectType.type === "interface") {
1585
1600
  throw new Error("Interface object sets are not supported yet.");
@@ -1617,10 +1632,10 @@ var remapObjectLocator = (wireObjectLocator) => ({
1617
1632
  });
1618
1633
 
1619
1634
  // src/objectSet/ObjectSetListenerWebsocket.ts
1620
- chunk6SCDLAU2_cjs.init_cjs_shims();
1635
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1621
1636
 
1622
1637
  // src/util/exponentialBackoff.ts
1623
- chunk6SCDLAU2_cjs.init_cjs_shims();
1638
+ chunkLDTMSHUZ_cjs.init_cjs_shims();
1624
1639
  var DEFAULT_OPTIONS = {
1625
1640
  initialDelayMs: 1e3,
1626
1641
  maxDelayMs: 6e4,
@@ -2317,5 +2332,5 @@ exports.hydrateAttachmentFromRidInternal = hydrateAttachmentFromRidInternal;
2317
2332
  exports.isObjectSet = isObjectSet;
2318
2333
  exports.isWireObjectSet = isWireObjectSet;
2319
2334
  exports.symbolClientContext = symbolClientContext;
2320
- //# sourceMappingURL=chunk-HM4EXGFD.cjs.map
2321
- //# sourceMappingURL=chunk-HM4EXGFD.cjs.map
2335
+ //# sourceMappingURL=chunk-PARVKNVB.cjs.map
2336
+ //# sourceMappingURL=chunk-PARVKNVB.cjs.map