@osdk/faux 0.62.0 → 0.63.0
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 +8 -0
- package/build/cjs/index.cjs +186 -86
- package/build/cjs/index.cjs.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/build/cjs/index.cjs
CHANGED
|
@@ -2694,7 +2694,7 @@ __export(Actions_exports, {
|
|
|
2694
2694
|
applyBatch: () => applyBatch2
|
|
2695
2695
|
});
|
|
2696
2696
|
|
|
2697
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2697
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/Action.js
|
|
2698
2698
|
var Action_exports = {};
|
|
2699
2699
|
__export(Action_exports, {
|
|
2700
2700
|
apply: () => apply,
|
|
@@ -2703,28 +2703,128 @@ __export(Action_exports, {
|
|
|
2703
2703
|
applyBatchWithOverrides: () => applyBatchWithOverrides,
|
|
2704
2704
|
applyWithOverrides: () => applyWithOverrides
|
|
2705
2705
|
});
|
|
2706
|
+
|
|
2707
|
+
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.9.0/node_modules/@osdk/shared.net.platformapi/build/esm/sse.js
|
|
2708
|
+
async function* sseStream2(response) {
|
|
2709
|
+
if (!response.body) {
|
|
2710
|
+
throw new UnknownError("Expected a text/event-stream body, but the response had none", "UNKNOWN", void 0, response.status);
|
|
2711
|
+
}
|
|
2712
|
+
const stream = response.body.pipeThrough(new TextDecoderStream()).pipeThrough(new EventSourceParserStream({
|
|
2713
|
+
onError: "terminate"
|
|
2714
|
+
}));
|
|
2715
|
+
for await (const event of stream) {
|
|
2716
|
+
if (event.data === "") continue;
|
|
2717
|
+
let data;
|
|
2718
|
+
try {
|
|
2719
|
+
data = JSON.parse(event.data);
|
|
2720
|
+
} catch (e) {
|
|
2721
|
+
throw new UnknownError(`Unable to parse event data as JSON: ${truncate2(event.data)}`, "UNKNOWN", e instanceof Error ? e : void 0, response.status);
|
|
2722
|
+
}
|
|
2723
|
+
if (isSseErrorEvent2(data)) {
|
|
2724
|
+
throw new PalantirApiError(data.errorDescription ?? data.errorName ?? "Streaming request failed", data.errorName, data.errorCode, data.errorDescription, response.status, data.errorInstanceId, data.parameters);
|
|
2725
|
+
}
|
|
2726
|
+
yield data;
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
function isSseErrorEvent2(data) {
|
|
2730
|
+
return typeof data === "object" && data != null && data.type === "error";
|
|
2731
|
+
}
|
|
2732
|
+
function truncate2(data) {
|
|
2733
|
+
return data.length > 512 ? `${data.slice(0, 512)}\u2026` : data;
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.9.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
|
|
2737
|
+
async function foundryPlatformFetch2(client, [httpMethodNum, origPath, flags, contentType, responseContentType], ...args) {
|
|
2738
|
+
const path = origPath.replace(/\{([^}]+)\}/g, () => encodeURIComponent(args.shift()));
|
|
2739
|
+
const body = flags & 1 ? args.shift() : void 0;
|
|
2740
|
+
const queryArgs = flags & 2 ? args.shift() : void 0;
|
|
2741
|
+
const headerArgs = flags & 4 ? args.shift() : void 0;
|
|
2742
|
+
const method = ["GET", "POST", "PUT", "DELETE", "PATCH"][httpMethodNum];
|
|
2743
|
+
return await apiFetch2(client[symbolClientContext2] ?? client[symbolClientContext] ?? client, method, path, body, queryArgs, headerArgs, contentType, responseContentType);
|
|
2744
|
+
}
|
|
2745
|
+
async function apiFetch2(clientCtx, method, endpointPath, data, queryArguments, headers, requestMediaType, responseMediaType) {
|
|
2746
|
+
const url = parseUrl2(clientCtx.baseUrl, endpointPath);
|
|
2747
|
+
for (const [key, value] of Object.entries(queryArguments || {})) {
|
|
2748
|
+
if (value == null) {
|
|
2749
|
+
continue;
|
|
2750
|
+
}
|
|
2751
|
+
if (Array.isArray(value)) {
|
|
2752
|
+
for (const item of value) {
|
|
2753
|
+
url.searchParams.append(key, item);
|
|
2754
|
+
}
|
|
2755
|
+
} else {
|
|
2756
|
+
url.searchParams.append(key, value);
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
const headersInit = new Headers();
|
|
2760
|
+
const resolvedRequestMediaType = requestMediaType === "*/*" && data instanceof globalThis.Blob ? data.type || "application/octet-stream" : requestMediaType ?? "application/json";
|
|
2761
|
+
headersInit.set("Content-Type", resolvedRequestMediaType);
|
|
2762
|
+
headersInit.set("Accept", responseMediaType ?? "application/json");
|
|
2763
|
+
Object.entries(headers || {}).forEach(([key, value]) => {
|
|
2764
|
+
if (key === "Content-Type" && typeof value === "string") {
|
|
2765
|
+
headersInit.set("Content-Type", value);
|
|
2766
|
+
} else if (key === "Accept" && typeof value === "string") {
|
|
2767
|
+
headersInit.set("Accept", value);
|
|
2768
|
+
} else if (value != null) {
|
|
2769
|
+
headersInit.append(key, value.toString());
|
|
2770
|
+
}
|
|
2771
|
+
});
|
|
2772
|
+
const body = data == null || data instanceof globalThis.Blob ? data : JSON.stringify(data);
|
|
2773
|
+
const response = await clientCtx.fetch(url.toString(), {
|
|
2774
|
+
body,
|
|
2775
|
+
method,
|
|
2776
|
+
headers: headersInit
|
|
2777
|
+
});
|
|
2778
|
+
if (!response.ok) {
|
|
2779
|
+
try {
|
|
2780
|
+
const convertedError = await response.json();
|
|
2781
|
+
return new PalantirApiError(convertedError.message, convertedError.errorName, convertedError.errorCode, convertedError.errorDescription, response.status, convertedError.errorInstanceId, convertedError.parameters);
|
|
2782
|
+
} catch (e) {
|
|
2783
|
+
if (e instanceof Error) {
|
|
2784
|
+
return new UnknownError(e.message, "UNKNOWN");
|
|
2785
|
+
}
|
|
2786
|
+
return new UnknownError("Unable to parse error response", "UNKNOWN");
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
if (response.status === 204) {
|
|
2790
|
+
return;
|
|
2791
|
+
}
|
|
2792
|
+
if (responseMediaType === "text/event-stream") {
|
|
2793
|
+
return sseStream2(response);
|
|
2794
|
+
}
|
|
2795
|
+
if (responseMediaType == null || responseMediaType === "application/json") {
|
|
2796
|
+
return await response.json();
|
|
2797
|
+
}
|
|
2798
|
+
return response;
|
|
2799
|
+
}
|
|
2800
|
+
function parseUrl2(baseUrl, endpointPath) {
|
|
2801
|
+
baseUrl += baseUrl.endsWith("/") ? "" : "/";
|
|
2802
|
+
return new URL(`api${endpointPath}`, baseUrl);
|
|
2803
|
+
}
|
|
2804
|
+
|
|
2805
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/Action.js
|
|
2706
2806
|
var _apply = [1, "/v2/ontologies/{0}/actions/{1}/apply", 7];
|
|
2707
2807
|
function apply($ctx, ...args) {
|
|
2708
|
-
return
|
|
2808
|
+
return foundryPlatformFetch2($ctx, _apply, ...args);
|
|
2709
2809
|
}
|
|
2710
2810
|
var _applyAsync = [1, "/v2/ontologies/{0}/actions/{1}/applyAsync", 7];
|
|
2711
2811
|
function applyAsync($ctx, ...args) {
|
|
2712
|
-
return
|
|
2812
|
+
return foundryPlatformFetch2($ctx, _applyAsync, ...args);
|
|
2713
2813
|
}
|
|
2714
2814
|
var _applyBatch = [1, "/v2/ontologies/{0}/actions/{1}/applyBatch", 3];
|
|
2715
2815
|
function applyBatch($ctx, ...args) {
|
|
2716
|
-
return
|
|
2816
|
+
return foundryPlatformFetch2($ctx, _applyBatch, ...args);
|
|
2717
2817
|
}
|
|
2718
2818
|
var _applyWithOverrides = [1, "/v2/ontologies/{0}/actions/{1}/applyWithOverrides", 3];
|
|
2719
2819
|
function applyWithOverrides($ctx, ...args) {
|
|
2720
|
-
return
|
|
2820
|
+
return foundryPlatformFetch2($ctx, _applyWithOverrides, ...args);
|
|
2721
2821
|
}
|
|
2722
2822
|
var _applyBatchWithOverrides = [1, "/v2/ontologies/{0}/actions/{1}/applyBatchWithOverrides", 3];
|
|
2723
2823
|
function applyBatchWithOverrides($ctx, ...args) {
|
|
2724
|
-
return
|
|
2824
|
+
return foundryPlatformFetch2($ctx, _applyBatchWithOverrides, ...args);
|
|
2725
2825
|
}
|
|
2726
2826
|
|
|
2727
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2827
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/ActionTypeV2.js
|
|
2728
2828
|
var ActionTypeV2_exports = {};
|
|
2729
2829
|
__export(ActionTypeV2_exports, {
|
|
2730
2830
|
get: () => get3,
|
|
@@ -2735,26 +2835,26 @@ __export(ActionTypeV2_exports, {
|
|
|
2735
2835
|
});
|
|
2736
2836
|
var _list = [0, "/v2/ontologies/{0}/actionTypes", 2];
|
|
2737
2837
|
function list($ctx, ...args) {
|
|
2738
|
-
return
|
|
2838
|
+
return foundryPlatformFetch2($ctx, _list, ...args);
|
|
2739
2839
|
}
|
|
2740
2840
|
var _search = [1, "/v2/ontologies/{0}/actionTypes/search", 3];
|
|
2741
2841
|
function search($ctx, ...args) {
|
|
2742
|
-
return
|
|
2842
|
+
return foundryPlatformFetch2($ctx, _search, ...args);
|
|
2743
2843
|
}
|
|
2744
2844
|
var _get2 = [0, "/v2/ontologies/{0}/actionTypes/{1}", 2];
|
|
2745
2845
|
function get3($ctx, ...args) {
|
|
2746
|
-
return
|
|
2846
|
+
return foundryPlatformFetch2($ctx, _get2, ...args);
|
|
2747
2847
|
}
|
|
2748
2848
|
var _getByRid = [0, "/v2/ontologies/{0}/actionTypes/byRid/{1}", 2];
|
|
2749
2849
|
function getByRid($ctx, ...args) {
|
|
2750
|
-
return
|
|
2850
|
+
return foundryPlatformFetch2($ctx, _getByRid, ...args);
|
|
2751
2851
|
}
|
|
2752
2852
|
var _getByRidBatch = [1, "/v2/ontologies/{0}/actionTypes/getByRidBatch", 3];
|
|
2753
2853
|
function getByRidBatch($ctx, ...args) {
|
|
2754
|
-
return
|
|
2854
|
+
return foundryPlatformFetch2($ctx, _getByRidBatch, ...args);
|
|
2755
2855
|
}
|
|
2756
2856
|
|
|
2757
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2857
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/Attachment.js
|
|
2758
2858
|
var Attachment_exports = {};
|
|
2759
2859
|
__export(Attachment_exports, {
|
|
2760
2860
|
get: () => get4,
|
|
@@ -2769,7 +2869,7 @@ function upload($ctx, ...args) {
|
|
|
2769
2869
|
"Content-Type": args[2]?.["Content-Type"] ?? args[0].type,
|
|
2770
2870
|
"Content-Length": args[0].size.toString()
|
|
2771
2871
|
};
|
|
2772
|
-
return
|
|
2872
|
+
return foundryPlatformFetch2($ctx, _upload, args[0], args[1], headerParams);
|
|
2773
2873
|
}
|
|
2774
2874
|
var _uploadWithRid = [1, "/v2/ontologies/attachments/upload/{0}", 7, "*/*"];
|
|
2775
2875
|
function uploadWithRid($ctx, ...args) {
|
|
@@ -2778,18 +2878,18 @@ function uploadWithRid($ctx, ...args) {
|
|
|
2778
2878
|
"Content-Type": args[3]?.["Content-Type"] ?? args[1].type,
|
|
2779
2879
|
"Content-Length": args[1].size.toString()
|
|
2780
2880
|
};
|
|
2781
|
-
return
|
|
2881
|
+
return foundryPlatformFetch2($ctx, _uploadWithRid, args[0], args[1], args[2], headerParams);
|
|
2782
2882
|
}
|
|
2783
2883
|
var _read = [0, "/v2/ontologies/attachments/{0}/content", , , "*/*"];
|
|
2784
2884
|
function read($ctx, ...args) {
|
|
2785
|
-
return
|
|
2885
|
+
return foundryPlatformFetch2($ctx, _read, ...args);
|
|
2786
2886
|
}
|
|
2787
2887
|
var _get3 = [0, "/v2/ontologies/attachments/{0}"];
|
|
2788
2888
|
function get4($ctx, ...args) {
|
|
2789
|
-
return
|
|
2889
|
+
return foundryPlatformFetch2($ctx, _get3, ...args);
|
|
2790
2890
|
}
|
|
2791
2891
|
|
|
2792
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2892
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/AttachmentPropertyV2.js
|
|
2793
2893
|
var AttachmentPropertyV2_exports = {};
|
|
2794
2894
|
__export(AttachmentPropertyV2_exports, {
|
|
2795
2895
|
getAttachment: () => getAttachment,
|
|
@@ -2799,22 +2899,22 @@ __export(AttachmentPropertyV2_exports, {
|
|
|
2799
2899
|
});
|
|
2800
2900
|
var _getAttachment = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}", 2];
|
|
2801
2901
|
function getAttachment($ctx, ...args) {
|
|
2802
|
-
return
|
|
2902
|
+
return foundryPlatformFetch2($ctx, _getAttachment, ...args);
|
|
2803
2903
|
}
|
|
2804
2904
|
var _getAttachmentByRid = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}", 2];
|
|
2805
2905
|
function getAttachmentByRid($ctx, ...args) {
|
|
2806
|
-
return
|
|
2906
|
+
return foundryPlatformFetch2($ctx, _getAttachmentByRid, ...args);
|
|
2807
2907
|
}
|
|
2808
2908
|
var _readAttachment = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content", 2, , "*/*"];
|
|
2809
2909
|
function readAttachment($ctx, ...args) {
|
|
2810
|
-
return
|
|
2910
|
+
return foundryPlatformFetch2($ctx, _readAttachment, ...args);
|
|
2811
2911
|
}
|
|
2812
2912
|
var _readAttachmentByRid = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content", 2, , "*/*"];
|
|
2813
2913
|
function readAttachmentByRid($ctx, ...args) {
|
|
2814
|
-
return
|
|
2914
|
+
return foundryPlatformFetch2($ctx, _readAttachmentByRid, ...args);
|
|
2815
2915
|
}
|
|
2816
2916
|
|
|
2817
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2917
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/CipherTextProperty.js
|
|
2818
2918
|
var CipherTextProperty_exports = {};
|
|
2819
2919
|
__export(CipherTextProperty_exports, {
|
|
2820
2920
|
decrypt: () => decrypt,
|
|
@@ -2823,18 +2923,18 @@ __export(CipherTextProperty_exports, {
|
|
|
2823
2923
|
});
|
|
2824
2924
|
var _decrypt = [0, "/v2/ontologies/{0}/objects/{1}/{2}/ciphertexts/{3}/decrypt", 2];
|
|
2825
2925
|
function decrypt($ctx, ...args) {
|
|
2826
|
-
return
|
|
2926
|
+
return foundryPlatformFetch2($ctx, _decrypt, ...args);
|
|
2827
2927
|
}
|
|
2828
2928
|
var _encryptWithDefaultChannel = [1, "/v2/ontologies/{0}/objectTypes/{1}/ciphertexts/{2}/encrypt", 3];
|
|
2829
2929
|
function encryptWithDefaultChannel($ctx, ...args) {
|
|
2830
|
-
return
|
|
2930
|
+
return foundryPlatformFetch2($ctx, _encryptWithDefaultChannel, ...args);
|
|
2831
2931
|
}
|
|
2832
2932
|
var _encrypt = [1, "/v2/ontologies/{0}/objects/{1}/{2}/ciphertexts/{3}/encrypt", 3];
|
|
2833
2933
|
function encrypt($ctx, ...args) {
|
|
2834
|
-
return
|
|
2934
|
+
return foundryPlatformFetch2($ctx, _encrypt, ...args);
|
|
2835
2935
|
}
|
|
2836
2936
|
|
|
2837
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2937
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/LinkedObjectV2.js
|
|
2838
2938
|
var LinkedObjectV2_exports = {};
|
|
2839
2939
|
__export(LinkedObjectV2_exports, {
|
|
2840
2940
|
getLinkedObject: () => getLinkedObject,
|
|
@@ -2842,14 +2942,14 @@ __export(LinkedObjectV2_exports, {
|
|
|
2842
2942
|
});
|
|
2843
2943
|
var _listLinkedObjects = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}", 2];
|
|
2844
2944
|
function listLinkedObjects($ctx, ...args) {
|
|
2845
|
-
return
|
|
2945
|
+
return foundryPlatformFetch2($ctx, _listLinkedObjects, ...args);
|
|
2846
2946
|
}
|
|
2847
2947
|
var _getLinkedObject = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}", 2];
|
|
2848
2948
|
function getLinkedObject($ctx, ...args) {
|
|
2849
|
-
return
|
|
2949
|
+
return foundryPlatformFetch2($ctx, _getLinkedObject, ...args);
|
|
2850
2950
|
}
|
|
2851
2951
|
|
|
2852
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2952
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/MediaReferenceProperty.js
|
|
2853
2953
|
var MediaReferenceProperty_exports = {};
|
|
2854
2954
|
__export(MediaReferenceProperty_exports, {
|
|
2855
2955
|
getMediaContent: () => getMediaContent,
|
|
@@ -2858,18 +2958,18 @@ __export(MediaReferenceProperty_exports, {
|
|
|
2858
2958
|
});
|
|
2859
2959
|
var _getMediaContent = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content", 6, , "*/*"];
|
|
2860
2960
|
function getMediaContent($ctx, ...args) {
|
|
2861
|
-
return
|
|
2961
|
+
return foundryPlatformFetch2($ctx, _getMediaContent, ...args);
|
|
2862
2962
|
}
|
|
2863
2963
|
var _getMediaMetadata = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/metadata", 2];
|
|
2864
2964
|
function getMediaMetadata($ctx, ...args) {
|
|
2865
|
-
return
|
|
2965
|
+
return foundryPlatformFetch2($ctx, _getMediaMetadata, ...args);
|
|
2866
2966
|
}
|
|
2867
2967
|
var _upload2 = [1, "/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload", 3, "*/*"];
|
|
2868
2968
|
function upload2($ctx, ...args) {
|
|
2869
|
-
return
|
|
2969
|
+
return foundryPlatformFetch2($ctx, _upload2, ...args);
|
|
2870
2970
|
}
|
|
2871
2971
|
|
|
2872
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2972
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/ObjectTypeV2.js
|
|
2873
2973
|
var ObjectTypeV2_exports = {};
|
|
2874
2974
|
__export(ObjectTypeV2_exports, {
|
|
2875
2975
|
get: () => get5,
|
|
@@ -2884,42 +2984,42 @@ __export(ObjectTypeV2_exports, {
|
|
|
2884
2984
|
});
|
|
2885
2985
|
var _list2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
2886
2986
|
function list2($ctx, ...args) {
|
|
2887
|
-
return
|
|
2987
|
+
return foundryPlatformFetch2($ctx, _list2, ...args);
|
|
2888
2988
|
}
|
|
2889
2989
|
var _get4 = [0, "/v2/ontologies/{0}/objectTypes/{1}", 2];
|
|
2890
2990
|
function get5($ctx, ...args) {
|
|
2891
|
-
return
|
|
2991
|
+
return foundryPlatformFetch2($ctx, _get4, ...args);
|
|
2892
2992
|
}
|
|
2893
2993
|
var _getByRidBatch2 = [1, "/v2/ontologies/{0}/objectTypes/getByRidBatch", 3];
|
|
2894
2994
|
function getByRidBatch2($ctx, ...args) {
|
|
2895
|
-
return
|
|
2995
|
+
return foundryPlatformFetch2($ctx, _getByRidBatch2, ...args);
|
|
2896
2996
|
}
|
|
2897
2997
|
var _getFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata", 2];
|
|
2898
2998
|
function getFullMetadata($ctx, ...args) {
|
|
2899
|
-
return
|
|
2999
|
+
return foundryPlatformFetch2($ctx, _getFullMetadata, ...args);
|
|
2900
3000
|
}
|
|
2901
3001
|
var _getFullMetadataBatch = [1, "/v2/ontologies/{0}/objectTypes/getFullMetadataBatch", 3];
|
|
2902
3002
|
function getFullMetadataBatch($ctx, ...args) {
|
|
2903
|
-
return
|
|
3003
|
+
return foundryPlatformFetch2($ctx, _getFullMetadataBatch, ...args);
|
|
2904
3004
|
}
|
|
2905
3005
|
var _getEditsHistory = [1, "/v2/ontologies/{0}/objectTypes/{1}/editsHistory", 3];
|
|
2906
3006
|
function getEditsHistory($ctx, ...args) {
|
|
2907
|
-
return
|
|
3007
|
+
return foundryPlatformFetch2($ctx, _getEditsHistory, ...args);
|
|
2908
3008
|
}
|
|
2909
3009
|
var _listOutgoingLinkTypes = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
|
|
2910
3010
|
function listOutgoingLinkTypes($ctx, ...args) {
|
|
2911
|
-
return
|
|
3011
|
+
return foundryPlatformFetch2($ctx, _listOutgoingLinkTypes, ...args);
|
|
2912
3012
|
}
|
|
2913
3013
|
var _getOutgoingLinkType = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}", 2];
|
|
2914
3014
|
function getOutgoingLinkType($ctx, ...args) {
|
|
2915
|
-
return
|
|
3015
|
+
return foundryPlatformFetch2($ctx, _getOutgoingLinkType, ...args);
|
|
2916
3016
|
}
|
|
2917
3017
|
var _getOutgoingLinkTypesByObjectTypeRidBatch = [1, "/v2/ontologies/{0}/outgoingLinkTypes/getByRidBatch", 3];
|
|
2918
3018
|
function getOutgoingLinkTypesByObjectTypeRidBatch($ctx, ...args) {
|
|
2919
|
-
return
|
|
3019
|
+
return foundryPlatformFetch2($ctx, _getOutgoingLinkTypesByObjectTypeRidBatch, ...args);
|
|
2920
3020
|
}
|
|
2921
3021
|
|
|
2922
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
3022
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/OntologyInterface.js
|
|
2923
3023
|
var OntologyInterface_exports = {};
|
|
2924
3024
|
__export(OntologyInterface_exports, {
|
|
2925
3025
|
aggregate: () => aggregate,
|
|
@@ -2933,38 +3033,38 @@ __export(OntologyInterface_exports, {
|
|
|
2933
3033
|
});
|
|
2934
3034
|
var _list3 = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
2935
3035
|
function list3($ctx, ...args) {
|
|
2936
|
-
return
|
|
3036
|
+
return foundryPlatformFetch2($ctx, _list3, ...args);
|
|
2937
3037
|
}
|
|
2938
3038
|
var _get5 = [0, "/v2/ontologies/{0}/interfaceTypes/{1}", 2];
|
|
2939
3039
|
function get6($ctx, ...args) {
|
|
2940
|
-
return
|
|
3040
|
+
return foundryPlatformFetch2($ctx, _get5, ...args);
|
|
2941
3041
|
}
|
|
2942
3042
|
var _listObjectsForInterface = [0, "/v2/ontologies/{0}/interfaces/{1}", 2];
|
|
2943
3043
|
function listObjectsForInterface($ctx, ...args) {
|
|
2944
|
-
return
|
|
3044
|
+
return foundryPlatformFetch2($ctx, _listObjectsForInterface, ...args);
|
|
2945
3045
|
}
|
|
2946
3046
|
var _search2 = [1, "/v2/ontologies/{0}/interfaces/{1}/search", 3];
|
|
2947
3047
|
function search2($ctx, ...args) {
|
|
2948
|
-
return
|
|
3048
|
+
return foundryPlatformFetch2($ctx, _search2, ...args);
|
|
2949
3049
|
}
|
|
2950
3050
|
var _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
|
|
2951
3051
|
function aggregate($ctx, ...args) {
|
|
2952
|
-
return
|
|
3052
|
+
return foundryPlatformFetch2($ctx, _aggregate, ...args);
|
|
2953
3053
|
}
|
|
2954
3054
|
var _listOutgoingInterfaceLinkTypes = [0, "/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes", 2];
|
|
2955
3055
|
function listOutgoingInterfaceLinkTypes($ctx, ...args) {
|
|
2956
|
-
return
|
|
3056
|
+
return foundryPlatformFetch2($ctx, _listOutgoingInterfaceLinkTypes, ...args);
|
|
2957
3057
|
}
|
|
2958
3058
|
var _getOutgoingInterfaceLinkType = [0, "/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes/{2}", 2];
|
|
2959
3059
|
function getOutgoingInterfaceLinkType($ctx, ...args) {
|
|
2960
|
-
return
|
|
3060
|
+
return foundryPlatformFetch2($ctx, _getOutgoingInterfaceLinkType, ...args);
|
|
2961
3061
|
}
|
|
2962
3062
|
var _listInterfaceLinkedObjects = [0, "/v2/ontologies/{0}/interfaces/{1}/{2}/{3}/links/{4}", 2];
|
|
2963
3063
|
function listInterfaceLinkedObjects($ctx, ...args) {
|
|
2964
|
-
return
|
|
3064
|
+
return foundryPlatformFetch2($ctx, _listInterfaceLinkedObjects, ...args);
|
|
2965
3065
|
}
|
|
2966
3066
|
|
|
2967
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
3067
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/OntologyObjectSet.js
|
|
2968
3068
|
var OntologyObjectSet_exports = {};
|
|
2969
3069
|
__export(OntologyObjectSet_exports, {
|
|
2970
3070
|
aggregate: () => aggregate2,
|
|
@@ -2977,34 +3077,34 @@ __export(OntologyObjectSet_exports, {
|
|
|
2977
3077
|
});
|
|
2978
3078
|
var _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 7];
|
|
2979
3079
|
function createTemporary($ctx, ...args) {
|
|
2980
|
-
return
|
|
3080
|
+
return foundryPlatformFetch2($ctx, _createTemporary, ...args);
|
|
2981
3081
|
}
|
|
2982
3082
|
var _get6 = [0, "/v2/ontologies/{0}/objectSets/{1}", 2];
|
|
2983
3083
|
function get7($ctx, ...args) {
|
|
2984
|
-
return
|
|
3084
|
+
return foundryPlatformFetch2($ctx, _get6, ...args);
|
|
2985
3085
|
}
|
|
2986
3086
|
var _load = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 7];
|
|
2987
3087
|
function load($ctx, ...args) {
|
|
2988
|
-
return
|
|
3088
|
+
return foundryPlatformFetch2($ctx, _load, ...args);
|
|
2989
3089
|
}
|
|
2990
3090
|
var _loadMultipleObjectTypes = [1, "/v2/ontologies/{0}/objectSets/loadObjectsMultipleObjectTypes", 7];
|
|
2991
3091
|
function loadMultipleObjectTypes($ctx, ...args) {
|
|
2992
|
-
return
|
|
3092
|
+
return foundryPlatformFetch2($ctx, _loadMultipleObjectTypes, ...args);
|
|
2993
3093
|
}
|
|
2994
3094
|
var _loadObjectsOrInterfaces = [1, "/v2/ontologies/{0}/objectSets/loadObjectsOrInterfaces", 7];
|
|
2995
3095
|
function loadObjectsOrInterfaces($ctx, ...args) {
|
|
2996
|
-
return
|
|
3096
|
+
return foundryPlatformFetch2($ctx, _loadObjectsOrInterfaces, ...args);
|
|
2997
3097
|
}
|
|
2998
3098
|
var _aggregate2 = [1, "/v2/ontologies/{0}/objectSets/aggregate", 7];
|
|
2999
3099
|
function aggregate2($ctx, ...args) {
|
|
3000
|
-
return
|
|
3100
|
+
return foundryPlatformFetch2($ctx, _aggregate2, ...args);
|
|
3001
3101
|
}
|
|
3002
3102
|
var _loadLinks = [1, "/v2/ontologies/{0}/objectSets/loadLinks", 7];
|
|
3003
3103
|
function loadLinks($ctx, ...args) {
|
|
3004
|
-
return
|
|
3104
|
+
return foundryPlatformFetch2($ctx, _loadLinks, ...args);
|
|
3005
3105
|
}
|
|
3006
3106
|
|
|
3007
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
3107
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/OntologyObjectV2.js
|
|
3008
3108
|
var OntologyObjectV2_exports = {};
|
|
3009
3109
|
__export(OntologyObjectV2_exports, {
|
|
3010
3110
|
aggregate: () => aggregate3,
|
|
@@ -3015,36 +3115,36 @@ __export(OntologyObjectV2_exports, {
|
|
|
3015
3115
|
});
|
|
3016
3116
|
var _list4 = [0, "/v2/ontologies/{0}/objects/{1}", 2];
|
|
3017
3117
|
function list4($ctx, ...args) {
|
|
3018
|
-
return
|
|
3118
|
+
return foundryPlatformFetch2($ctx, _list4, ...args);
|
|
3019
3119
|
}
|
|
3020
3120
|
var _get7 = [0, "/v2/ontologies/{0}/objects/{1}/{2}", 2];
|
|
3021
3121
|
function get8($ctx, ...args) {
|
|
3022
|
-
return
|
|
3122
|
+
return foundryPlatformFetch2($ctx, _get7, ...args);
|
|
3023
3123
|
}
|
|
3024
3124
|
var _count = [1, "/v2/ontologies/{0}/objects/{1}/count", 2];
|
|
3025
3125
|
function count($ctx, ...args) {
|
|
3026
|
-
return
|
|
3126
|
+
return foundryPlatformFetch2($ctx, _count, ...args);
|
|
3027
3127
|
}
|
|
3028
3128
|
var _search3 = [1, "/v2/ontologies/{0}/objects/{1}/search", 3];
|
|
3029
3129
|
function search3($ctx, ...args) {
|
|
3030
|
-
return
|
|
3130
|
+
return foundryPlatformFetch2($ctx, _search3, ...args);
|
|
3031
3131
|
}
|
|
3032
3132
|
var _aggregate3 = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
|
|
3033
3133
|
function aggregate3($ctx, ...args) {
|
|
3034
|
-
return
|
|
3134
|
+
return foundryPlatformFetch2($ctx, _aggregate3, ...args);
|
|
3035
3135
|
}
|
|
3036
3136
|
|
|
3037
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
3137
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/OntologyTransaction.js
|
|
3038
3138
|
var OntologyTransaction_exports = {};
|
|
3039
3139
|
__export(OntologyTransaction_exports, {
|
|
3040
3140
|
postEdits: () => postEdits
|
|
3041
3141
|
});
|
|
3042
3142
|
var _postEdits = [1, "/v2/ontologies/{0}/transactions/{1}/edits", 3];
|
|
3043
3143
|
function postEdits($ctx, ...args) {
|
|
3044
|
-
return
|
|
3144
|
+
return foundryPlatformFetch2($ctx, _postEdits, ...args);
|
|
3045
3145
|
}
|
|
3046
3146
|
|
|
3047
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
3147
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/OntologyV2.js
|
|
3048
3148
|
var OntologyV2_exports = {};
|
|
3049
3149
|
__export(OntologyV2_exports, {
|
|
3050
3150
|
get: () => get9,
|
|
@@ -3054,32 +3154,32 @@ __export(OntologyV2_exports, {
|
|
|
3054
3154
|
});
|
|
3055
3155
|
var _list5 = [0, "/v2/ontologies"];
|
|
3056
3156
|
function list5($ctx, ...args) {
|
|
3057
|
-
return
|
|
3157
|
+
return foundryPlatformFetch2($ctx, _list5, ...args);
|
|
3058
3158
|
}
|
|
3059
3159
|
var _get8 = [0, "/v2/ontologies/{0}"];
|
|
3060
3160
|
function get9($ctx, ...args) {
|
|
3061
|
-
return
|
|
3161
|
+
return foundryPlatformFetch2($ctx, _get8, ...args);
|
|
3062
3162
|
}
|
|
3063
3163
|
var _getFullMetadata2 = [0, "/v2/ontologies/{0}/fullMetadata", 2];
|
|
3064
3164
|
function getFullMetadata2($ctx, ...args) {
|
|
3065
|
-
return
|
|
3165
|
+
return foundryPlatformFetch2($ctx, _getFullMetadata2, ...args);
|
|
3066
3166
|
}
|
|
3067
3167
|
var _loadMetadata = [1, "/v2/ontologies/{0}/metadata", 3];
|
|
3068
3168
|
function loadMetadata($ctx, ...args) {
|
|
3069
|
-
return
|
|
3169
|
+
return foundryPlatformFetch2($ctx, _loadMetadata, ...args);
|
|
3070
3170
|
}
|
|
3071
3171
|
|
|
3072
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
3172
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/Query.js
|
|
3073
3173
|
var Query_exports = {};
|
|
3074
3174
|
__export(Query_exports, {
|
|
3075
3175
|
execute: () => execute
|
|
3076
3176
|
});
|
|
3077
3177
|
var _execute = [1, "/v2/ontologies/{0}/queries/{1}/execute", 7];
|
|
3078
3178
|
function execute($ctx, ...args) {
|
|
3079
|
-
return
|
|
3179
|
+
return foundryPlatformFetch2($ctx, _execute, ...args);
|
|
3080
3180
|
}
|
|
3081
3181
|
|
|
3082
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
3182
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/QueryType.js
|
|
3083
3183
|
var QueryType_exports = {};
|
|
3084
3184
|
__export(QueryType_exports, {
|
|
3085
3185
|
get: () => get10,
|
|
@@ -3088,18 +3188,18 @@ __export(QueryType_exports, {
|
|
|
3088
3188
|
});
|
|
3089
3189
|
var _list6 = [0, "/v2/ontologies/{0}/queryTypes", 2];
|
|
3090
3190
|
function list6($ctx, ...args) {
|
|
3091
|
-
return
|
|
3191
|
+
return foundryPlatformFetch2($ctx, _list6, ...args);
|
|
3092
3192
|
}
|
|
3093
3193
|
var _get9 = [0, "/v2/ontologies/{0}/queryTypes/{1}", 2];
|
|
3094
3194
|
function get10($ctx, ...args) {
|
|
3095
|
-
return
|
|
3195
|
+
return foundryPlatformFetch2($ctx, _get9, ...args);
|
|
3096
3196
|
}
|
|
3097
3197
|
var _getByRidBatch3 = [1, "/v2/ontologies/{0}/queryTypes/getByRidBatch", 3];
|
|
3098
3198
|
function getByRidBatch3($ctx, ...args) {
|
|
3099
|
-
return
|
|
3199
|
+
return foundryPlatformFetch2($ctx, _getByRidBatch3, ...args);
|
|
3100
3200
|
}
|
|
3101
3201
|
|
|
3102
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
3202
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/TimeSeriesPropertyV2.js
|
|
3103
3203
|
var TimeSeriesPropertyV2_exports = {};
|
|
3104
3204
|
__export(TimeSeriesPropertyV2_exports, {
|
|
3105
3205
|
getFirstPoint: () => getFirstPoint,
|
|
@@ -3108,18 +3208,18 @@ __export(TimeSeriesPropertyV2_exports, {
|
|
|
3108
3208
|
});
|
|
3109
3209
|
var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
|
|
3110
3210
|
function getFirstPoint($ctx, ...args) {
|
|
3111
|
-
return
|
|
3211
|
+
return foundryPlatformFetch2($ctx, _getFirstPoint, ...args);
|
|
3112
3212
|
}
|
|
3113
3213
|
var _getLastPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/lastPoint", 2];
|
|
3114
3214
|
function getLastPoint($ctx, ...args) {
|
|
3115
|
-
return
|
|
3215
|
+
return foundryPlatformFetch2($ctx, _getLastPoint, ...args);
|
|
3116
3216
|
}
|
|
3117
3217
|
var _streamPoints = [1, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamPoints", 3, , "*/*"];
|
|
3118
3218
|
function streamPoints($ctx, ...args) {
|
|
3119
|
-
return
|
|
3219
|
+
return foundryPlatformFetch2($ctx, _streamPoints, ...args);
|
|
3120
3220
|
}
|
|
3121
3221
|
|
|
3122
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
3222
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.86.0/node_modules/@osdk/foundry.ontologies/build/esm/v2/public/TimeSeriesValueBankProperty.js
|
|
3123
3223
|
var TimeSeriesValueBankProperty_exports = {};
|
|
3124
3224
|
__export(TimeSeriesValueBankProperty_exports, {
|
|
3125
3225
|
getLatestValue: () => getLatestValue,
|
|
@@ -3127,11 +3227,11 @@ __export(TimeSeriesValueBankProperty_exports, {
|
|
|
3127
3227
|
});
|
|
3128
3228
|
var _getLatestValue = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue", 2];
|
|
3129
3229
|
function getLatestValue($ctx, ...args) {
|
|
3130
|
-
return
|
|
3230
|
+
return foundryPlatformFetch2($ctx, _getLatestValue, ...args);
|
|
3131
3231
|
}
|
|
3132
3232
|
var _streamValues = [1, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamValues", 3, , "*/*"];
|
|
3133
3233
|
function streamValues($ctx, ...args) {
|
|
3134
|
-
return
|
|
3234
|
+
return foundryPlatformFetch2($ctx, _streamValues, ...args);
|
|
3135
3235
|
}
|
|
3136
3236
|
|
|
3137
3237
|
// src/mock/OntologiesV2/Actions.ts
|