@osdk/faux 0.2.0-beta.7 → 0.2.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/build/cjs/index.cjs +32 -18
- package/build/cjs/index.cjs.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @osdk/shared.test
|
|
2
2
|
|
|
3
|
+
## 0.2.0-beta.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [9101bad]
|
|
8
|
+
- @osdk/api@2.4.0-beta.9
|
|
9
|
+
- @osdk/generator-converters@2.4.0-beta.9
|
|
10
|
+
|
|
11
|
+
## 0.2.0-beta.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [9f4fe9e]
|
|
16
|
+
- @osdk/api@2.4.0-beta.8
|
|
17
|
+
- @osdk/generator-converters@2.4.0-beta.8
|
|
18
|
+
|
|
3
19
|
## 0.2.0-beta.7
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/build/cjs/index.cjs
CHANGED
|
@@ -1670,7 +1670,7 @@ __export(Actions_exports, {
|
|
|
1670
1670
|
applyBatch: () => applyBatch2
|
|
1671
1671
|
});
|
|
1672
1672
|
|
|
1673
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1673
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
1674
1674
|
var Action_exports = {};
|
|
1675
1675
|
__export(Action_exports, {
|
|
1676
1676
|
apply: () => apply,
|
|
@@ -1712,7 +1712,7 @@ var UnknownError = class extends PalantirApiError {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
};
|
|
1714
1714
|
|
|
1715
|
-
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.
|
|
1715
|
+
// ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.4.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
|
|
1716
1716
|
async function foundryPlatformFetch(client, [httpMethodNum, origPath, flags, contentType, responseContentType], ...args) {
|
|
1717
1717
|
const path = origPath.replace(/\{([^}]+)\}/g, () => encodeURIComponent(args.shift()));
|
|
1718
1718
|
const body = flags & 1 ? args.shift() : void 0;
|
|
@@ -1739,7 +1739,11 @@ async function apiFetch(clientCtx, method, endpointPath, data, queryArguments, h
|
|
|
1739
1739
|
headersInit.set("Content-Type", requestMediaType ?? "application/json");
|
|
1740
1740
|
headersInit.set("Accept", responseMediaType ?? "application/json");
|
|
1741
1741
|
Object.entries(headers || {}).forEach(([key, value]) => {
|
|
1742
|
-
if (value
|
|
1742
|
+
if (key === "Content-Type" && typeof value === "string") {
|
|
1743
|
+
headersInit.set("Content-Type", value);
|
|
1744
|
+
} else if (key === "Accept" && typeof value === "string") {
|
|
1745
|
+
headersInit.set("Accept", value);
|
|
1746
|
+
} else if (value != null) {
|
|
1743
1747
|
headersInit.append(key, value.toString());
|
|
1744
1748
|
}
|
|
1745
1749
|
});
|
|
@@ -1773,7 +1777,7 @@ function parseUrl(baseUrl, endpointPath) {
|
|
|
1773
1777
|
return new URL(`api${endpointPath}`, baseUrl);
|
|
1774
1778
|
}
|
|
1775
1779
|
|
|
1776
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1780
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
|
|
1777
1781
|
var _apply = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
|
|
1778
1782
|
function apply($ctx, ...args) {
|
|
1779
1783
|
return foundryPlatformFetch($ctx, _apply, ...args);
|
|
@@ -1787,7 +1791,7 @@ function applyBatch($ctx, ...args) {
|
|
|
1787
1791
|
return foundryPlatformFetch($ctx, _applyBatch, ...args);
|
|
1788
1792
|
}
|
|
1789
1793
|
|
|
1790
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1794
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
|
|
1791
1795
|
var ActionTypeV2_exports = {};
|
|
1792
1796
|
__export(ActionTypeV2_exports, {
|
|
1793
1797
|
get: () => get,
|
|
@@ -1807,7 +1811,7 @@ function getByRid($ctx, ...args) {
|
|
|
1807
1811
|
return foundryPlatformFetch($ctx, _getByRid, ...args);
|
|
1808
1812
|
}
|
|
1809
1813
|
|
|
1810
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1814
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
|
|
1811
1815
|
var Attachment_exports = {};
|
|
1812
1816
|
__export(Attachment_exports, {
|
|
1813
1817
|
get: () => get2,
|
|
@@ -1832,7 +1836,7 @@ function get2($ctx, ...args) {
|
|
|
1832
1836
|
return foundryPlatformFetch($ctx, _get2, ...args);
|
|
1833
1837
|
}
|
|
1834
1838
|
|
|
1835
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1839
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
|
|
1836
1840
|
var AttachmentPropertyV2_exports = {};
|
|
1837
1841
|
__export(AttachmentPropertyV2_exports, {
|
|
1838
1842
|
getAttachment: () => getAttachment,
|
|
@@ -1857,7 +1861,7 @@ function readAttachmentByRid($ctx, ...args) {
|
|
|
1857
1861
|
return foundryPlatformFetch($ctx, _readAttachmentByRid, ...args);
|
|
1858
1862
|
}
|
|
1859
1863
|
|
|
1860
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1864
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
|
|
1861
1865
|
var LinkedObjectV2_exports = {};
|
|
1862
1866
|
__export(LinkedObjectV2_exports, {
|
|
1863
1867
|
getLinkedObject: () => getLinkedObject,
|
|
@@ -1872,7 +1876,7 @@ function getLinkedObject($ctx, ...args) {
|
|
|
1872
1876
|
return foundryPlatformFetch($ctx, _getLinkedObject, ...args);
|
|
1873
1877
|
}
|
|
1874
1878
|
|
|
1875
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1879
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
|
|
1876
1880
|
var MediaReferenceProperty_exports = {};
|
|
1877
1881
|
__export(MediaReferenceProperty_exports, {
|
|
1878
1882
|
getMediaContent: () => getMediaContent,
|
|
@@ -1897,7 +1901,7 @@ function uploadMedia($ctx, ...args) {
|
|
|
1897
1901
|
return foundryPlatformFetch($ctx, _uploadMedia, ...args);
|
|
1898
1902
|
}
|
|
1899
1903
|
|
|
1900
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1904
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
|
|
1901
1905
|
var ObjectTypeV2_exports = {};
|
|
1902
1906
|
__export(ObjectTypeV2_exports, {
|
|
1903
1907
|
get: () => get3,
|
|
@@ -1927,12 +1931,14 @@ function getOutgoingLinkType($ctx, ...args) {
|
|
|
1927
1931
|
return foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
|
|
1928
1932
|
}
|
|
1929
1933
|
|
|
1930
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1934
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
|
|
1931
1935
|
var OntologyInterface_exports = {};
|
|
1932
1936
|
__export(OntologyInterface_exports, {
|
|
1933
1937
|
aggregate: () => aggregate,
|
|
1934
1938
|
get: () => get4,
|
|
1939
|
+
getOutgoingInterfaceLinkType: () => getOutgoingInterfaceLinkType,
|
|
1935
1940
|
list: () => list3,
|
|
1941
|
+
listOutgoingInterfaceLinkTypes: () => listOutgoingInterfaceLinkTypes,
|
|
1936
1942
|
search: () => search
|
|
1937
1943
|
});
|
|
1938
1944
|
var _list3 = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
@@ -1951,8 +1957,16 @@ var _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
|
|
|
1951
1957
|
function aggregate($ctx, ...args) {
|
|
1952
1958
|
return foundryPlatformFetch($ctx, _aggregate, ...args);
|
|
1953
1959
|
}
|
|
1960
|
+
var _listOutgoingInterfaceLinkTypes = [0, "/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes", 2];
|
|
1961
|
+
function listOutgoingInterfaceLinkTypes($ctx, ...args) {
|
|
1962
|
+
return foundryPlatformFetch($ctx, _listOutgoingInterfaceLinkTypes, ...args);
|
|
1963
|
+
}
|
|
1964
|
+
var _getOutgoingInterfaceLinkType = [0, "/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes/{2}", 2];
|
|
1965
|
+
function getOutgoingInterfaceLinkType($ctx, ...args) {
|
|
1966
|
+
return foundryPlatformFetch($ctx, _getOutgoingInterfaceLinkType, ...args);
|
|
1967
|
+
}
|
|
1954
1968
|
|
|
1955
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
1969
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
|
|
1956
1970
|
var OntologyObjectSet_exports = {};
|
|
1957
1971
|
__export(OntologyObjectSet_exports, {
|
|
1958
1972
|
aggregate: () => aggregate2,
|
|
@@ -1987,7 +2001,7 @@ function aggregate2($ctx, ...args) {
|
|
|
1987
2001
|
return foundryPlatformFetch($ctx, _aggregate2, ...args);
|
|
1988
2002
|
}
|
|
1989
2003
|
|
|
1990
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2004
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
|
|
1991
2005
|
var OntologyObjectV2_exports = {};
|
|
1992
2006
|
__export(OntologyObjectV2_exports, {
|
|
1993
2007
|
aggregate: () => aggregate3,
|
|
@@ -2017,7 +2031,7 @@ function aggregate3($ctx, ...args) {
|
|
|
2017
2031
|
return foundryPlatformFetch($ctx, _aggregate3, ...args);
|
|
2018
2032
|
}
|
|
2019
2033
|
|
|
2020
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2034
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
|
|
2021
2035
|
var OntologyV2_exports = {};
|
|
2022
2036
|
__export(OntologyV2_exports, {
|
|
2023
2037
|
get: () => get7,
|
|
@@ -2042,7 +2056,7 @@ function loadMetadata($ctx, ...args) {
|
|
|
2042
2056
|
return foundryPlatformFetch($ctx, _loadMetadata, ...args);
|
|
2043
2057
|
}
|
|
2044
2058
|
|
|
2045
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2059
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
|
|
2046
2060
|
var Query_exports = {};
|
|
2047
2061
|
__export(Query_exports, {
|
|
2048
2062
|
execute: () => execute
|
|
@@ -2052,7 +2066,7 @@ function execute($ctx, ...args) {
|
|
|
2052
2066
|
return foundryPlatformFetch($ctx, _execute, ...args);
|
|
2053
2067
|
}
|
|
2054
2068
|
|
|
2055
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2069
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
|
|
2056
2070
|
var QueryType_exports = {};
|
|
2057
2071
|
__export(QueryType_exports, {
|
|
2058
2072
|
get: () => get8,
|
|
@@ -2067,7 +2081,7 @@ function get8($ctx, ...args) {
|
|
|
2067
2081
|
return foundryPlatformFetch($ctx, _get8, ...args);
|
|
2068
2082
|
}
|
|
2069
2083
|
|
|
2070
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2084
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
|
|
2071
2085
|
var TimeSeriesPropertyV2_exports = {};
|
|
2072
2086
|
__export(TimeSeriesPropertyV2_exports, {
|
|
2073
2087
|
getFirstPoint: () => getFirstPoint,
|
|
@@ -2087,7 +2101,7 @@ function streamPoints($ctx, ...args) {
|
|
|
2087
2101
|
return foundryPlatformFetch($ctx, _streamPoints, ...args);
|
|
2088
2102
|
}
|
|
2089
2103
|
|
|
2090
|
-
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.
|
|
2104
|
+
// ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.25.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
|
|
2091
2105
|
var TimeSeriesValueBankProperty_exports = {};
|
|
2092
2106
|
__export(TimeSeriesValueBankProperty_exports, {
|
|
2093
2107
|
getLatestValue: () => getLatestValue,
|