@osdk/client 2.6.0-beta.7 → 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.
Files changed (165) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/build/browser/index.js.map +1 -1
  3. package/build/browser/internal/conversions/modernToLegacyWhereClause.js +13 -15
  4. package/build/browser/internal/conversions/modernToLegacyWhereClause.js.map +1 -1
  5. package/build/browser/internal/conversions/modernToLegacyWhereClause.test.js +62 -0
  6. package/build/browser/internal/conversions/modernToLegacyWhereClause.test.js.map +1 -1
  7. package/build/browser/object/mediaUpload.js +1 -1
  8. package/build/browser/object/mediaUpload.js.map +1 -1
  9. package/build/browser/observable/ObservableClient.js.map +1 -1
  10. package/build/browser/observable/internal/Changes.js.map +1 -1
  11. package/build/browser/observable/internal/IntersectCanonicalizer.js +35 -0
  12. package/build/browser/observable/internal/IntersectCanonicalizer.js.map +1 -0
  13. package/build/browser/observable/internal/KnownCacheKey.js.map +1 -1
  14. package/build/browser/observable/internal/ObservableClientImpl.js +3 -0
  15. package/build/browser/observable/internal/ObservableClientImpl.js.map +1 -1
  16. package/build/browser/observable/internal/PivotCanonicalizer.js +33 -0
  17. package/build/browser/observable/internal/PivotCanonicalizer.js.map +1 -0
  18. package/build/browser/observable/internal/Store.js +14 -2
  19. package/build/browser/observable/internal/Store.js.map +1 -1
  20. package/build/browser/observable/internal/WhereClauseCanonicalizer.js.map +1 -1
  21. package/build/browser/observable/internal/aggregation/AggregationCacheKey.js +22 -0
  22. package/build/browser/observable/internal/aggregation/AggregationCacheKey.js.map +1 -0
  23. package/build/browser/observable/internal/aggregation/AggregationQuery.js +77 -0
  24. package/build/browser/observable/internal/aggregation/AggregationQuery.js.map +1 -0
  25. package/build/browser/observable/internal/aggregation/AggregationsHelper.js +54 -0
  26. package/build/browser/observable/internal/aggregation/AggregationsHelper.js.map +1 -0
  27. package/build/browser/observable/internal/aggregation/ObjectAggregationQuery.js +33 -0
  28. package/build/browser/observable/internal/aggregation/ObjectAggregationQuery.js.map +1 -0
  29. package/build/browser/observable/internal/links/LinksHelper.js +0 -3
  30. package/build/browser/observable/internal/links/LinksHelper.js.map +1 -1
  31. package/build/browser/observable/internal/list/ListCacheKey.js +2 -0
  32. package/build/browser/observable/internal/list/ListCacheKey.js.map +1 -1
  33. package/build/browser/observable/internal/list/ListQuery.js +12 -2
  34. package/build/browser/observable/internal/list/ListQuery.js.map +1 -1
  35. package/build/browser/observable/internal/list/ListQueryOptions.js.map +1 -1
  36. package/build/browser/observable/internal/list/ListsHelper.js +9 -3
  37. package/build/browser/observable/internal/list/ListsHelper.js.map +1 -1
  38. package/build/browser/observable/internal/list/ObjectListQuery.js +48 -9
  39. package/build/browser/observable/internal/list/ObjectListQuery.js.map +1 -1
  40. package/build/browser/observable/internal/testUtils/invalidateList.js +6 -1
  41. package/build/browser/observable/internal/testUtils/invalidateList.js.map +1 -1
  42. package/build/browser/observable/internal/testUtils.js.map +1 -1
  43. package/build/browser/public/internal-node.js +18 -0
  44. package/build/browser/public/internal-node.js.map +1 -0
  45. package/build/browser/public/unstable-do-not-use.js.map +1 -1
  46. package/build/browser/util/UserAgent.js +2 -2
  47. package/build/browser/util/toDataValue.js +3 -2
  48. package/build/browser/util/toDataValue.js.map +1 -1
  49. package/build/browser/util/toDataValue.test.js +1 -1
  50. package/build/browser/util/toDataValue.test.js.map +1 -1
  51. package/build/cjs/chunk-6SCDLAU2.cjs +57 -0
  52. package/build/cjs/chunk-6SCDLAU2.cjs.map +1 -0
  53. package/build/cjs/{chunk-3LMKH6RS.cjs → chunk-DZE6IAUU.cjs} +145 -47
  54. package/build/cjs/chunk-DZE6IAUU.cjs.map +1 -0
  55. package/build/cjs/{chunk-4ZOXOCQX.cjs → chunk-S4JPAF56.cjs} +225 -67
  56. package/build/cjs/chunk-S4JPAF56.cjs.map +1 -0
  57. package/build/cjs/{delay-QK4T7RVX.cjs → delay-KIUUJ5NJ.cjs} +4 -3
  58. package/build/cjs/delay-KIUUJ5NJ.cjs.map +1 -0
  59. package/build/cjs/index.cjs +17 -9
  60. package/build/cjs/index.cjs.map +1 -1
  61. package/build/cjs/index.d.cts +1 -1
  62. package/build/cjs/public/internal-node.cjs +193767 -0
  63. package/build/cjs/public/internal-node.cjs.map +1 -0
  64. package/build/cjs/public/internal-node.d.cts +29 -0
  65. package/build/cjs/public/internal.cjs +16 -9
  66. package/build/cjs/public/internal.cjs.map +1 -1
  67. package/build/cjs/public/unstable-do-not-use.cjs +1050 -706
  68. package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
  69. package/build/cjs/public/unstable-do-not-use.d.cts +36 -2
  70. package/build/esm/index.js.map +1 -1
  71. package/build/esm/internal/conversions/modernToLegacyWhereClause.js +13 -15
  72. package/build/esm/internal/conversions/modernToLegacyWhereClause.js.map +1 -1
  73. package/build/esm/internal/conversions/modernToLegacyWhereClause.test.js +62 -0
  74. package/build/esm/internal/conversions/modernToLegacyWhereClause.test.js.map +1 -1
  75. package/build/esm/object/mediaUpload.js +1 -1
  76. package/build/esm/object/mediaUpload.js.map +1 -1
  77. package/build/esm/observable/ObservableClient.js.map +1 -1
  78. package/build/esm/observable/internal/Changes.js.map +1 -1
  79. package/build/esm/observable/internal/IntersectCanonicalizer.js +35 -0
  80. package/build/esm/observable/internal/IntersectCanonicalizer.js.map +1 -0
  81. package/build/esm/observable/internal/KnownCacheKey.js.map +1 -1
  82. package/build/esm/observable/internal/ObservableClientImpl.js +3 -0
  83. package/build/esm/observable/internal/ObservableClientImpl.js.map +1 -1
  84. package/build/esm/observable/internal/PivotCanonicalizer.js +33 -0
  85. package/build/esm/observable/internal/PivotCanonicalizer.js.map +1 -0
  86. package/build/esm/observable/internal/Store.js +14 -2
  87. package/build/esm/observable/internal/Store.js.map +1 -1
  88. package/build/esm/observable/internal/WhereClauseCanonicalizer.js.map +1 -1
  89. package/build/esm/observable/internal/aggregation/AggregationCacheKey.js +22 -0
  90. package/build/esm/observable/internal/aggregation/AggregationCacheKey.js.map +1 -0
  91. package/build/esm/observable/internal/aggregation/AggregationQuery.js +77 -0
  92. package/build/esm/observable/internal/aggregation/AggregationQuery.js.map +1 -0
  93. package/build/esm/observable/internal/aggregation/AggregationsHelper.js +54 -0
  94. package/build/esm/observable/internal/aggregation/AggregationsHelper.js.map +1 -0
  95. package/build/esm/observable/internal/aggregation/ObjectAggregationQuery.js +33 -0
  96. package/build/esm/observable/internal/aggregation/ObjectAggregationQuery.js.map +1 -0
  97. package/build/esm/observable/internal/links/LinksHelper.js +0 -3
  98. package/build/esm/observable/internal/links/LinksHelper.js.map +1 -1
  99. package/build/esm/observable/internal/list/ListCacheKey.js +2 -0
  100. package/build/esm/observable/internal/list/ListCacheKey.js.map +1 -1
  101. package/build/esm/observable/internal/list/ListQuery.js +12 -2
  102. package/build/esm/observable/internal/list/ListQuery.js.map +1 -1
  103. package/build/esm/observable/internal/list/ListQueryOptions.js.map +1 -1
  104. package/build/esm/observable/internal/list/ListsHelper.js +9 -3
  105. package/build/esm/observable/internal/list/ListsHelper.js.map +1 -1
  106. package/build/esm/observable/internal/list/ObjectListQuery.js +48 -9
  107. package/build/esm/observable/internal/list/ObjectListQuery.js.map +1 -1
  108. package/build/esm/observable/internal/testUtils/invalidateList.js +6 -1
  109. package/build/esm/observable/internal/testUtils/invalidateList.js.map +1 -1
  110. package/build/esm/observable/internal/testUtils.js.map +1 -1
  111. package/build/esm/public/internal-node.js +18 -0
  112. package/build/esm/public/internal-node.js.map +1 -0
  113. package/build/esm/public/unstable-do-not-use.js.map +1 -1
  114. package/build/esm/util/UserAgent.js +2 -2
  115. package/build/esm/util/toDataValue.js +3 -2
  116. package/build/esm/util/toDataValue.js.map +1 -1
  117. package/build/esm/util/toDataValue.test.js +1 -1
  118. package/build/esm/util/toDataValue.test.js.map +1 -1
  119. package/build/types/index.d.ts +1 -1
  120. package/build/types/index.d.ts.map +1 -1
  121. package/build/types/observable/ObservableClient.d.ts +46 -1
  122. package/build/types/observable/ObservableClient.d.ts.map +1 -1
  123. package/build/types/observable/internal/Changes.d.ts +4 -3
  124. package/build/types/observable/internal/Changes.d.ts.map +1 -1
  125. package/build/types/observable/internal/IntersectCanonicalizer.d.ts +18 -0
  126. package/build/types/observable/internal/IntersectCanonicalizer.d.ts.map +1 -0
  127. package/build/types/observable/internal/KnownCacheKey.d.ts +2 -1
  128. package/build/types/observable/internal/KnownCacheKey.d.ts.map +1 -1
  129. package/build/types/observable/internal/PivotCanonicalizer.d.ts +10 -0
  130. package/build/types/observable/internal/PivotCanonicalizer.d.ts.map +1 -0
  131. package/build/types/observable/internal/Store.d.ts +6 -0
  132. package/build/types/observable/internal/Store.d.ts.map +1 -1
  133. package/build/types/observable/internal/WhereClauseCanonicalizer.d.ts.map +1 -1
  134. package/build/types/observable/internal/aggregation/AggregationCacheKey.d.ts +12 -0
  135. package/build/types/observable/internal/aggregation/AggregationCacheKey.d.ts.map +1 -0
  136. package/build/types/observable/internal/aggregation/AggregationQuery.d.ts +49 -0
  137. package/build/types/observable/internal/aggregation/AggregationQuery.d.ts.map +1 -0
  138. package/build/types/observable/internal/aggregation/AggregationsHelper.d.ts +37 -0
  139. package/build/types/observable/internal/aggregation/AggregationsHelper.d.ts.map +1 -0
  140. package/build/types/observable/internal/aggregation/ObjectAggregationQuery.d.ts +5 -0
  141. package/build/types/observable/internal/aggregation/ObjectAggregationQuery.d.ts.map +1 -0
  142. package/build/types/observable/internal/links/LinksHelper.d.ts +0 -4
  143. package/build/types/observable/internal/links/LinksHelper.d.ts.map +1 -1
  144. package/build/types/observable/internal/list/ListCacheKey.d.ts +4 -1
  145. package/build/types/observable/internal/list/ListCacheKey.d.ts.map +1 -1
  146. package/build/types/observable/internal/list/ListQuery.d.ts +4 -1
  147. package/build/types/observable/internal/list/ListQuery.d.ts.map +1 -1
  148. package/build/types/observable/internal/list/ListQueryOptions.d.ts +9 -1
  149. package/build/types/observable/internal/list/ListQueryOptions.d.ts.map +1 -1
  150. package/build/types/observable/internal/list/ListsHelper.d.ts +5 -1
  151. package/build/types/observable/internal/list/ListsHelper.d.ts.map +1 -1
  152. package/build/types/observable/internal/list/ObjectListQuery.d.ts.map +1 -1
  153. package/build/types/observable/internal/testUtils.d.ts +1 -1
  154. package/build/types/observable/internal/testUtils.d.ts.map +1 -1
  155. package/build/types/public/internal-node.d.ts +2 -0
  156. package/build/types/public/internal-node.d.ts.map +1 -0
  157. package/build/types/public/unstable-do-not-use.d.ts +1 -1
  158. package/build/types/public/unstable-do-not-use.d.ts.map +1 -1
  159. package/internal-node.d.ts +17 -0
  160. package/package.json +21 -11
  161. package/build/cjs/chunk-3LMKH6RS.cjs.map +0 -1
  162. package/build/cjs/chunk-4ZOXOCQX.cjs.map +0 -1
  163. package/build/cjs/chunk-Q7SFCCGT.cjs +0 -11
  164. package/build/cjs/chunk-Q7SFCCGT.cjs.map +0 -1
  165. package/build/cjs/delay-QK4T7RVX.cjs.map +0 -1
@@ -0,0 +1,57 @@
1
+ 'use strict';
2
+
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
10
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
11
+ }) : x)(function(x) {
12
+ if (typeof require !== "undefined") return require.apply(this, arguments);
13
+ throw Error('Dynamic require of "' + x + '" is not supported');
14
+ });
15
+ var __esm = (fn, res) => function __init() {
16
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
17
+ };
18
+ var __commonJS = (cb, mod) => function __require2() {
19
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
20
+ };
21
+ var __export = (target, all) => {
22
+ for (var name in all)
23
+ __defProp(target, name, { get: all[name], enumerable: true });
24
+ };
25
+ var __copyProps = (to, from, except, desc) => {
26
+ if (from && typeof from === "object" || typeof from === "function") {
27
+ for (let key of __getOwnPropNames(from))
28
+ if (!__hasOwnProp.call(to, key) && key !== except)
29
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
30
+ }
31
+ return to;
32
+ };
33
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
34
+ // If the importer is in node compatibility mode or this is not an ESM
35
+ // file that has been converted to a CommonJS file using a Babel-
36
+ // compatible transform (i.e. "__esModule" has not been set), then set
37
+ // "default" to the CommonJS "module.exports" for node compatibility.
38
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
39
+ mod
40
+ ));
41
+
42
+ // ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@18.19.124__@swc+core@1.7.39_jiti@2.5._hzct63haoas42yozpstq4l7odu/node_modules/tsup/assets/cjs_shims.js
43
+ var getImportMetaUrl; exports.importMetaUrl = void 0;
44
+ var init_cjs_shims = __esm({
45
+ "../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@18.19.124__@swc+core@1.7.39_jiti@2.5._hzct63haoas42yozpstq4l7odu/node_modules/tsup/assets/cjs_shims.js"() {
46
+ getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
47
+ exports.importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
48
+ }
49
+ });
50
+
51
+ exports.__commonJS = __commonJS;
52
+ exports.__export = __export;
53
+ exports.__require = __require;
54
+ exports.__toESM = __toESM;
55
+ exports.init_cjs_shims = init_cjs_shims;
56
+ //# sourceMappingURL=chunk-6SCDLAU2.cjs.map
57
+ //# sourceMappingURL=chunk-6SCDLAU2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@18.19.124__@swc+core@1.7.39_jiti@2.5._hzct63haoas42yozpstq4l7odu/node_modules/tsup/assets/cjs_shims.js"],"names":["importMetaUrl"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAKM,gBACO,CAAA,CAAAA;AANb,IAAA,cAAA,GAAA,KAAA,CAAA;AAAA,EAAA,yLAAA,GAAA;AAKA,IAAM,gBAAA,GAAmB,MAAM,OAAO,QAAA,KAAa,cAAc,IAAI,GAAA,CAAI,CAAQ,KAAA,EAAA,UAAU,CAAE,CAAA,CAAA,CAAE,OAAO,QAAS,CAAA,aAAA,IAAiB,SAAS,aAAc,CAAA,GAAA,IAAO,IAAI,GAAI,CAAA,SAAA,EAAW,QAAS,CAAA,OAAO,CAAE,CAAA,IAAA;AAC5L,IAAMA,wCAAgD,gBAAA,EAAA;AAAA;AAAA,CAAA","file":"chunk-6SCDLAU2.cjs","sourcesContent":["// Shim globals in cjs bundle\n// There's a weird bug that esbuild will always inject importMetaUrl\n// if we export it as `const importMetaUrl = ... __filename ...`\n// But using a function will not cause this issue\n\nconst getImportMetaUrl = () => typeof document === 'undefined' ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;\nexport const importMetaUrl = /* @__PURE__ */getImportMetaUrl();"]}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQ7SFCCGT_cjs = require('./chunk-Q7SFCCGT.cjs');
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
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
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
+
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
- chunkQ7SFCCGT_cjs.__export(Action_exports, {
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()));
@@ -89,7 +104,7 @@ function parseUrl(baseUrl, endpointPath) {
89
104
  return new URL(`api${endpointPath}`, baseUrl);
90
105
  }
91
106
 
92
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
107
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
93
108
  var _apply = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
94
109
  function apply($ctx, ...args) {
95
110
  return foundryPlatformFetch($ctx, _apply, ...args);
@@ -103,13 +118,17 @@ function applyBatch($ctx, ...args) {
103
118
  return foundryPlatformFetch($ctx, _applyBatch, ...args);
104
119
  }
105
120
 
106
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
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
+
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
- chunkQ7SFCCGT_cjs.__export(ActionTypeV2_exports, {
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);
@@ -123,13 +142,14 @@ function getByRid($ctx, ...args) {
123
142
  return foundryPlatformFetch($ctx, _getByRid, ...args);
124
143
  }
125
144
 
126
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
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
- chunkQ7SFCCGT_cjs.__export(Attachment_exports, {
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,14 +168,23 @@ function get2($ctx, ...args) {
148
168
  return foundryPlatformFetch($ctx, _get2, ...args);
149
169
  }
150
170
 
151
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
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
+
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
- chunkQ7SFCCGT_cjs.__export(MediaReferenceProperty_exports, {
182
+ chunk6SCDLAU2_cjs.__export(MediaReferenceProperty_exports, {
154
183
  getMediaContent: () => getMediaContent,
155
184
  getMediaMetadata: () => getMediaMetadata,
156
- upload: () => upload2,
157
- uploadMedia: () => uploadMedia
185
+ upload: () => upload2
158
186
  });
187
+ chunk6SCDLAU2_cjs.init_cjs_shims();
159
188
  var _getMediaContent = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content", 2, , "*/*"];
160
189
  function getMediaContent($ctx, ...args) {
161
190
  return foundryPlatformFetch($ctx, _getMediaContent, ...args);
@@ -168,20 +197,17 @@ var _upload2 = [1, "/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload", 3, "*/
168
197
  function upload2($ctx, ...args) {
169
198
  return foundryPlatformFetch($ctx, _upload2, ...args);
170
199
  }
171
- var _uploadMedia = [1, "/v2/ontologies/{0}/actions/{1}/media/upload", 3, "*/*"];
172
- function uploadMedia($ctx, ...args) {
173
- return foundryPlatformFetch($ctx, _uploadMedia, ...args);
174
- }
175
200
 
176
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
201
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
177
202
  var ObjectTypeV2_exports = {};
178
- chunkQ7SFCCGT_cjs.__export(ObjectTypeV2_exports, {
203
+ chunk6SCDLAU2_cjs.__export(ObjectTypeV2_exports, {
179
204
  get: () => get3,
180
205
  getFullMetadata: () => getFullMetadata,
181
206
  getOutgoingLinkType: () => getOutgoingLinkType,
182
207
  list: () => list2,
183
208
  listOutgoingLinkTypes: () => listOutgoingLinkTypes
184
209
  });
210
+ chunk6SCDLAU2_cjs.init_cjs_shims();
185
211
  var _list2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
186
212
  function list2($ctx, ...args) {
187
213
  return foundryPlatformFetch($ctx, _list2, ...args);
@@ -203,9 +229,9 @@ function getOutgoingLinkType($ctx, ...args) {
203
229
  return foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
204
230
  }
205
231
 
206
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
232
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
207
233
  var OntologyInterface_exports = {};
208
- chunkQ7SFCCGT_cjs.__export(OntologyInterface_exports, {
234
+ chunk6SCDLAU2_cjs.__export(OntologyInterface_exports, {
209
235
  aggregate: () => aggregate,
210
236
  get: () => get4,
211
237
  getOutgoingInterfaceLinkType: () => getOutgoingInterfaceLinkType,
@@ -215,6 +241,7 @@ chunkQ7SFCCGT_cjs.__export(OntologyInterface_exports, {
215
241
  listOutgoingInterfaceLinkTypes: () => listOutgoingInterfaceLinkTypes,
216
242
  search: () => search
217
243
  });
244
+ chunk6SCDLAU2_cjs.init_cjs_shims();
218
245
  var _list3 = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
219
246
  function list3($ctx, ...args) {
220
247
  return foundryPlatformFetch($ctx, _list3, ...args);
@@ -248,9 +275,9 @@ function listInterfaceLinkedObjects($ctx, ...args) {
248
275
  return foundryPlatformFetch($ctx, _listInterfaceLinkedObjects, ...args);
249
276
  }
250
277
 
251
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
278
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
252
279
  var OntologyObjectSet_exports = {};
253
- chunkQ7SFCCGT_cjs.__export(OntologyObjectSet_exports, {
280
+ chunk6SCDLAU2_cjs.__export(OntologyObjectSet_exports, {
254
281
  aggregate: () => aggregate2,
255
282
  createTemporary: () => createTemporary,
256
283
  get: () => get5,
@@ -258,6 +285,7 @@ chunkQ7SFCCGT_cjs.__export(OntologyObjectSet_exports, {
258
285
  loadMultipleObjectTypes: () => loadMultipleObjectTypes,
259
286
  loadObjectsOrInterfaces: () => loadObjectsOrInterfaces
260
287
  });
288
+ chunk6SCDLAU2_cjs.init_cjs_shims();
261
289
  var _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 3];
262
290
  function createTemporary($ctx, ...args) {
263
291
  return foundryPlatformFetch($ctx, _createTemporary, ...args);
@@ -283,22 +311,36 @@ function aggregate2($ctx, ...args) {
283
311
  return foundryPlatformFetch($ctx, _aggregate2, ...args);
284
312
  }
285
313
 
286
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
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
+
326
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
287
327
  var Query_exports = {};
288
- chunkQ7SFCCGT_cjs.__export(Query_exports, {
328
+ chunk6SCDLAU2_cjs.__export(Query_exports, {
289
329
  execute: () => execute
290
330
  });
331
+ chunk6SCDLAU2_cjs.init_cjs_shims();
291
332
  var _execute = [1, "/v2/ontologies/{0}/queries/{1}/execute", 7];
292
333
  function execute($ctx, ...args) {
293
334
  return foundryPlatformFetch($ctx, _execute, ...args);
294
335
  }
295
336
 
296
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
337
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
297
338
  var QueryType_exports = {};
298
- chunkQ7SFCCGT_cjs.__export(QueryType_exports, {
339
+ chunk6SCDLAU2_cjs.__export(QueryType_exports, {
299
340
  get: () => get6,
300
341
  list: () => list4
301
342
  });
343
+ chunk6SCDLAU2_cjs.init_cjs_shims();
302
344
  var _list4 = [0, "/v2/ontologies/{0}/queryTypes", 2];
303
345
  function list4($ctx, ...args) {
304
346
  return foundryPlatformFetch($ctx, _list4, ...args);
@@ -308,13 +350,14 @@ function get6($ctx, ...args) {
308
350
  return foundryPlatformFetch($ctx, _get6, ...args);
309
351
  }
310
352
 
311
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
353
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
312
354
  var TimeSeriesPropertyV2_exports = {};
313
- chunkQ7SFCCGT_cjs.__export(TimeSeriesPropertyV2_exports, {
355
+ chunk6SCDLAU2_cjs.__export(TimeSeriesPropertyV2_exports, {
314
356
  getFirstPoint: () => getFirstPoint,
315
357
  getLastPoint: () => getLastPoint,
316
358
  streamPoints: () => streamPoints
317
359
  });
360
+ chunk6SCDLAU2_cjs.init_cjs_shims();
318
361
  var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
319
362
  function getFirstPoint($ctx, ...args) {
320
363
  return foundryPlatformFetch($ctx, _getFirstPoint, ...args);
@@ -328,12 +371,13 @@ function streamPoints($ctx, ...args) {
328
371
  return foundryPlatformFetch($ctx, _streamPoints, ...args);
329
372
  }
330
373
 
331
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.35.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
374
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.38.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
332
375
  var TimeSeriesValueBankProperty_exports = {};
333
- chunkQ7SFCCGT_cjs.__export(TimeSeriesValueBankProperty_exports, {
376
+ chunk6SCDLAU2_cjs.__export(TimeSeriesValueBankProperty_exports, {
334
377
  getLatestValue: () => getLatestValue,
335
378
  streamValues: () => streamValues
336
379
  });
380
+ chunk6SCDLAU2_cjs.init_cjs_shims();
337
381
  var _getLatestValue = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue", 2];
338
382
  function getLatestValue($ctx, ...args) {
339
383
  return foundryPlatformFetch($ctx, _getLatestValue, ...args);
@@ -344,11 +388,15 @@ function streamValues($ctx, ...args) {
344
388
  }
345
389
 
346
390
  // src/internal/conversions/extractNamespace.ts
391
+ chunk6SCDLAU2_cjs.init_cjs_shims();
347
392
  function extractNamespace(fqApiName) {
348
393
  const last = fqApiName.lastIndexOf(".");
349
394
  if (last === -1) return [void 0, fqApiName];
350
395
  return [fqApiName.slice(0, last), fqApiName.slice(last + 1)];
351
396
  }
397
+
398
+ // src/util/addUserAgentAndRequestContextHeaders.ts
399
+ chunk6SCDLAU2_cjs.init_cjs_shims();
352
400
  var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
353
401
  ...client,
354
402
  fetch: shared_net_fetch.createFetchHeaderMutator(client.fetch, (headers) => {
@@ -359,6 +407,9 @@ var addUserAgentAndRequestContextHeaders = (client, withMetadata) => ({
359
407
  return headers;
360
408
  })
361
409
  });
410
+
411
+ // src/util/extractObjectOrInterfaceType.ts
412
+ chunk6SCDLAU2_cjs.init_cjs_shims();
362
413
  async function extractObjectOrInterfaceType(clientCtx, objectSet) {
363
414
  switch (objectSet.type) {
364
415
  case "searchAround": {
@@ -442,6 +493,9 @@ async function extractObjectOrInterfaceType(clientCtx, objectSet) {
442
493
  process.env.NODE_ENV !== "production" ? invariant3__default.default(false, `Unsupported object set type for deriving object or interface type,`) : invariant3__default.default(false) ;
443
494
  }
444
495
  }
496
+
497
+ // src/util/extractRdpDefinition.ts
498
+ chunk6SCDLAU2_cjs.init_cjs_shims();
445
499
  async function extractRdpDefinition(clientCtx, objectSet) {
446
500
  return (await extractRdpDefinitionInternal(clientCtx, objectSet, void 0)).definitions;
447
501
  }
@@ -570,6 +624,7 @@ async function extractRdpDefinitionInternal(clientCtx, objectSet, methodInputObj
570
624
  }
571
625
 
572
626
  // src/util/objectSetUtils.ts
627
+ chunk6SCDLAU2_cjs.init_cjs_shims();
573
628
  function resolveBaseObjectSetType(objectType) {
574
629
  return objectType.type === "interface" ? {
575
630
  type: "interfaceBase",
@@ -782,7 +837,11 @@ async function fetchObjectPage(client, objectType, args, objectSet, useSnapshot
782
837
  });
783
838
  }
784
839
 
840
+ // src/public-utils/hydrateAttachmentFromRid.ts
841
+ chunk6SCDLAU2_cjs.init_cjs_shims();
842
+
785
843
  // src/Client.ts
844
+ chunk6SCDLAU2_cjs.init_cjs_shims();
786
845
  var additionalContext = Symbol("additionalContext");
787
846
 
788
847
  // src/public-utils/hydrateAttachmentFromRid.ts
@@ -805,7 +864,11 @@ function hydrateAttachmentFromRidInternal(client, rid) {
805
864
  };
806
865
  }
807
866
 
867
+ // src/logger/MinimalLogger.ts
868
+ chunk6SCDLAU2_cjs.init_cjs_shims();
869
+
808
870
  // src/logger/BaseLogger.ts
871
+ chunk6SCDLAU2_cjs.init_cjs_shims();
809
872
  function noop() {
810
873
  }
811
874
  var levels = {
@@ -871,6 +934,9 @@ var MinimalLogger = class _MinimalLogger extends BaseLogger {
871
934
  };
872
935
  }
873
936
  };
937
+
938
+ // src/object/fetchSingle.ts
939
+ chunk6SCDLAU2_cjs.init_cjs_shims();
874
940
  async function fetchSingle(client, objectType, args, objectSet) {
875
941
  const result = await fetchPage(client, objectType, {
876
942
  ...args,
@@ -899,7 +965,17 @@ async function fetchSingleWithErrors(client, objectType, args, objectSet) {
899
965
  }
900
966
  }
901
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
+
902
977
  // src/internal/conversions/fullyQualifyPropName.ts
978
+ chunk6SCDLAU2_cjs.init_cjs_shims();
903
979
  function fullyQualifyPropName(fieldName, objectOrInterface) {
904
980
  if (objectOrInterface.type === "interface") {
905
981
  const [objApiNamespace] = extractNamespace(objectOrInterface.apiName);
@@ -909,7 +985,11 @@ function fullyQualifyPropName(fieldName, objectOrInterface) {
909
985
  return fieldName;
910
986
  }
911
987
 
988
+ // src/internal/conversions/makeGeoFilterIntersects.ts
989
+ chunk6SCDLAU2_cjs.init_cjs_shims();
990
+
912
991
  // src/internal/conversions/makeGeoFilterBbox.ts
992
+ chunk6SCDLAU2_cjs.init_cjs_shims();
913
993
  function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
914
994
  return {
915
995
  type: filterType === "$within" ? "withinBoundingBox" : "intersectsBoundingBox",
@@ -936,6 +1016,7 @@ function makeGeoFilterBbox(bbox, filterType, propertyIdentifier, field) {
936
1016
  }
937
1017
 
938
1018
  // src/internal/conversions/makeGeoFilterPolygon.ts
1019
+ chunk6SCDLAU2_cjs.init_cjs_shims();
939
1020
  function makeGeoFilterPolygon(coordinates, filterType, propertyIdentifier, field) {
940
1021
  return {
941
1022
  type: filterType,
@@ -961,6 +1042,9 @@ function makeGeoFilterIntersects(intersectsBody, propertyIdentifier, field) {
961
1042
  return makeGeoFilterPolygon(coordinates, "intersectsPolygon", propertyIdentifier, field);
962
1043
  }
963
1044
  }
1045
+
1046
+ // src/internal/conversions/makeGeoFilterWithin.ts
1047
+ chunk6SCDLAU2_cjs.init_cjs_shims();
964
1048
  function makeGeoFilterWithin(withinBody, propertyIdentifier, field) {
965
1049
  if (Array.isArray(withinBody)) {
966
1050
  return makeGeoFilterBbox(withinBody, "$within", propertyIdentifier, field);
@@ -1070,6 +1154,15 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
1070
1154
  }
1071
1155
  const firstKey = keysOfFilter[0];
1072
1156
  !(filter[firstKey] != null) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false) : invariant3__default.default(false) : void 0;
1157
+ if (firstKey === "$contains" && filter[firstKey] instanceof Object) {
1158
+ const structFilter = Object.entries(filter[firstKey]);
1159
+ !(structFilter.length === 1) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Cannot filter on more than one struct field in the same clause, need to use an and clause") : invariant3__default.default(false) : void 0;
1160
+ const structFieldApiName = structFilter[0][0];
1161
+ return handleWherePair(structFilter[0], objectOrInterface, {
1162
+ propertyApiName: fieldName,
1163
+ structFieldApiName
1164
+ });
1165
+ }
1073
1166
  if (firstKey === "$ne") {
1074
1167
  return {
1075
1168
  type: "not",
@@ -1100,21 +1193,6 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
1100
1193
  fuzzy: typeof filter[firstKey] === "string" ? false : filter[firstKey]["fuzzySearch"] ?? false
1101
1194
  };
1102
1195
  }
1103
- if (firstKey === "$contains" && filter[firstKey] instanceof Object) {
1104
- const structFilter = Object.entries(filter[firstKey]);
1105
- !(structFilter.length === 1) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Cannot filter on more than one struct field in the same clause, need to use an and clause") : invariant3__default.default(false) : void 0;
1106
- const structFieldApiName = structFilter[0][0];
1107
- !(structFilter[0][1] != null && Object.keys(structFilter[0][1]).length === 1 && "$eq" in structFilter[0][1]) ? process.env.NODE_ENV !== "production" ? invariant3__default.default(false, "Cannot filter on a struct field in an array with anything other than a single $eq") : invariant3__default.default(false) : void 0;
1108
- return {
1109
- type: "contains",
1110
- propertyIdentifier: {
1111
- type: "structField",
1112
- propertyApiName: fieldName,
1113
- structFieldApiName
1114
- },
1115
- value: structFilter[0][1]["$eq"]
1116
- };
1117
- }
1118
1196
  return {
1119
1197
  type: firstKey.substring(1),
1120
1198
  ...propertyIdentifier != null && {
@@ -1124,6 +1202,9 @@ function handleWherePair([fieldName, filter], objectOrInterface, structFieldSele
1124
1202
  value: filter[firstKey]
1125
1203
  };
1126
1204
  }
1205
+
1206
+ // src/derivedProperties/derivedPropertyDefinitionFactory.ts
1207
+ chunk6SCDLAU2_cjs.init_cjs_shims();
1127
1208
  function derivedPropertyDefinitionFactory(wireDefinition, definitionMap) {
1128
1209
  const definition = {
1129
1210
  abs() {
@@ -1308,6 +1389,12 @@ function createWithPropertiesObjectSet(objectType, objectSet, definitionMap, fro
1308
1389
  }
1309
1390
  };
1310
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();
1311
1398
  function legacyToModernSingleAggregationResult(entry) {
1312
1399
  return entry.metrics.reduce((accumulator, curValue) => {
1313
1400
  const parts = curValue.name.split(".");
@@ -1326,6 +1413,7 @@ function legacyToModernSingleAggregationResult(entry) {
1326
1413
  }
1327
1414
 
1328
1415
  // src/internal/conversions/modernToLegacyAggregationClause.ts
1416
+ chunk6SCDLAU2_cjs.init_cjs_shims();
1329
1417
  var directionFieldMap = (dir) => dir === "asc" ? "ASC" : dir === "desc" ? "DESC" : void 0;
1330
1418
  function modernToLegacyAggregationClause(select) {
1331
1419
  return Object.entries(select).flatMap(([propAndMetric, aggregationType]) => {
@@ -1347,6 +1435,9 @@ function modernToLegacyAggregationClause(select) {
1347
1435
  }];
1348
1436
  });
1349
1437
  }
1438
+
1439
+ // src/internal/conversions/modernToLegacyGroupByClause.ts
1440
+ chunk6SCDLAU2_cjs.init_cjs_shims();
1350
1441
  function modernToLegacyGroupByClause(groupByClause) {
1351
1442
  if (!groupByClause) return [];
1352
1443
  return Object.entries(groupByClause).flatMap(([field, type]) => {
@@ -1443,6 +1534,7 @@ function aggregationToCountResult(entry) {
1443
1534
  }
1444
1535
 
1445
1536
  // src/util/augmentRequestContext.ts
1537
+ chunk6SCDLAU2_cjs.init_cjs_shims();
1446
1538
  var augmentRequestContext = (client, augment2) => ({
1447
1539
  ...client,
1448
1540
  requestContext: {
@@ -1452,12 +1544,17 @@ var augmentRequestContext = (client, augment2) => ({
1452
1544
  });
1453
1545
 
1454
1546
  // src/util/WireObjectSet.ts
1547
+ chunk6SCDLAU2_cjs.init_cjs_shims();
1455
1548
  var WIRE_OBJECT_SET_TYPES = /* @__PURE__ */ new Set(["base", "filter", "intersect", "reference", "searchAround", "static", "subtract", "union", "interfaceBase"]);
1456
1549
  function isWireObjectSet(o) {
1457
1550
  return o != null && typeof o === "object" && WIRE_OBJECT_SET_TYPES.has(o.type);
1458
1551
  }
1459
1552
 
1553
+ // src/objectSet/ObjectSetListenerWebsocket.ts
1554
+ chunk6SCDLAU2_cjs.init_cjs_shims();
1555
+
1460
1556
  // src/util/exponentialBackoff.ts
1557
+ chunk6SCDLAU2_cjs.init_cjs_shims();
1461
1558
  var DEFAULT_OPTIONS = {
1462
1559
  initialDelayMs: 1e3,
1463
1560
  maxDelayMs: 6e4,
@@ -2135,11 +2232,12 @@ exports.fetchPage = fetchPage;
2135
2232
  exports.fetchSingle = fetchSingle;
2136
2233
  exports.fetchSingleWithErrors = fetchSingleWithErrors;
2137
2234
  exports.fetchStaticRidPage = fetchStaticRidPage;
2235
+ exports.foundryPlatformFetch = foundryPlatformFetch;
2138
2236
  exports.getWireObjectSet = getWireObjectSet;
2139
2237
  exports.hydrateAttachmentFromRid = hydrateAttachmentFromRid;
2140
2238
  exports.hydrateAttachmentFromRidInternal = hydrateAttachmentFromRidInternal;
2141
2239
  exports.isObjectSet = isObjectSet;
2142
2240
  exports.isWireObjectSet = isWireObjectSet;
2143
2241
  exports.symbolClientContext = symbolClientContext;
2144
- //# sourceMappingURL=chunk-3LMKH6RS.cjs.map
2145
- //# sourceMappingURL=chunk-3LMKH6RS.cjs.map
2242
+ //# sourceMappingURL=chunk-DZE6IAUU.cjs.map
2243
+ //# sourceMappingURL=chunk-DZE6IAUU.cjs.map