@osdk/internal.foundry.ontologies 2.23.0 → 2.25.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 +26 -0
- package/build/browser/_components.d.ts +140 -4
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +64 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +2 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/public/Action.d.ts +0 -12
- package/build/browser/public/Action.d.ts.map +1 -1
- package/build/browser/public/Action.js +0 -12
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionType.d.ts +0 -4
- package/build/browser/public/ActionType.d.ts.map +1 -1
- package/build/browser/public/ActionType.js +0 -4
- package/build/browser/public/ActionType.js.map +1 -1
- package/build/browser/public/Attachment.d.ts +0 -9
- package/build/browser/public/Attachment.d.ts.map +1 -1
- package/build/browser/public/Attachment.js +0 -9
- package/build/browser/public/Attachment.js.map +1 -1
- package/build/browser/public/ObjectType.d.ts +0 -10
- package/build/browser/public/ObjectType.d.ts.map +1 -1
- package/build/browser/public/ObjectType.js +0 -10
- package/build/browser/public/ObjectType.js.map +1 -1
- package/build/browser/public/Ontology.d.ts +0 -4
- package/build/browser/public/Ontology.d.ts.map +1 -1
- package/build/browser/public/Ontology.js +0 -4
- package/build/browser/public/Ontology.js.map +1 -1
- package/build/browser/public/OntologyObject.d.ts +0 -12
- package/build/browser/public/OntologyObject.d.ts.map +1 -1
- package/build/browser/public/OntologyObject.js +0 -12
- package/build/browser/public/OntologyObject.js.map +1 -1
- package/build/browser/public/Query.d.ts +0 -2
- package/build/browser/public/Query.d.ts.map +1 -1
- package/build/browser/public/Query.js +0 -2
- package/build/browser/public/Query.js.map +1 -1
- package/build/browser/public/QueryType.d.ts +0 -4
- package/build/browser/public/QueryType.d.ts.map +1 -1
- package/build/browser/public/QueryType.js +0 -4
- package/build/browser/public/QueryType.js.map +1 -1
- package/build/esm/_components.d.ts +140 -4
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +64 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +2 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/public/Action.d.ts +0 -12
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +0 -12
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionType.d.ts +0 -4
- package/build/esm/public/ActionType.d.ts.map +1 -1
- package/build/esm/public/ActionType.js +0 -4
- package/build/esm/public/ActionType.js.map +1 -1
- package/build/esm/public/Attachment.d.ts +0 -9
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +0 -9
- package/build/esm/public/Attachment.js.map +1 -1
- package/build/esm/public/ObjectType.d.ts +0 -10
- package/build/esm/public/ObjectType.d.ts.map +1 -1
- package/build/esm/public/ObjectType.js +0 -10
- package/build/esm/public/ObjectType.js.map +1 -1
- package/build/esm/public/Ontology.d.ts +0 -4
- package/build/esm/public/Ontology.d.ts.map +1 -1
- package/build/esm/public/Ontology.js +0 -4
- package/build/esm/public/Ontology.js.map +1 -1
- package/build/esm/public/OntologyObject.d.ts +0 -12
- package/build/esm/public/OntologyObject.d.ts.map +1 -1
- package/build/esm/public/OntologyObject.js +0 -12
- package/build/esm/public/OntologyObject.js.map +1 -1
- package/build/esm/public/Query.d.ts +0 -2
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +0 -2
- package/build/esm/public/Query.js.map +1 -1
- package/build/esm/public/QueryType.d.ts +0 -4
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/QueryType.js +0 -4
- package/build/esm/public/QueryType.js.map +1 -1
- package/package.json +5 -5
|
@@ -9,8 +9,6 @@ import type * as _Ontologies from "../_components.js";
|
|
|
9
9
|
* more results available, at least one result will be present in the
|
|
10
10
|
* response.
|
|
11
11
|
*
|
|
12
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
13
|
-
*
|
|
14
12
|
* @public
|
|
15
13
|
*
|
|
16
14
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -26,8 +24,6 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
26
24
|
/**
|
|
27
25
|
* Gets a specific object type with the given API name.
|
|
28
26
|
*
|
|
29
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
30
|
-
*
|
|
31
27
|
* @public
|
|
32
28
|
*
|
|
33
29
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -40,9 +36,6 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
40
36
|
/**
|
|
41
37
|
* List the outgoing links for an object type.
|
|
42
38
|
*
|
|
43
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
44
|
-
* following operation scopes: `api:ontologies-read`.
|
|
45
|
-
*
|
|
46
39
|
* @public
|
|
47
40
|
*
|
|
48
41
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -59,9 +52,6 @@ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $
|
|
|
59
52
|
/**
|
|
60
53
|
* Get an outgoing link for an object type.
|
|
61
54
|
*
|
|
62
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
63
|
-
* following operation scopes: `api:ontologies-read`.
|
|
64
|
-
*
|
|
65
55
|
* @public
|
|
66
56
|
*
|
|
67
57
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectType.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AActD
|
|
1
|
+
{"version":3,"file":"ObjectType.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AActD;;;;;;;;;;;GAWG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW,CAAC,WAAW;IAEpC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAE9C;AASD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW,CAAC,WAAW;IACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB;CAC1C,GACA,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAEjC;AAaD;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW,CAAC,WAAW;IACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IAEzC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,6BAA6B,CAAC,CAEpD;AAUD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW,CAAC,WAAW;IACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,QAAQ,EAAE,WAAW,CAAC,eAAe;CACtC,GACA,OAAO,CAAC,WAAW,CAAC,YAAY,CAAC,CAEnC"}
|
|
@@ -23,8 +23,6 @@ const _list = [0, "/v1/ontologies/{0}/objectTypes", 2];
|
|
|
23
23
|
* more results available, at least one result will be present in the
|
|
24
24
|
* response.
|
|
25
25
|
*
|
|
26
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
27
|
-
*
|
|
28
26
|
* @public
|
|
29
27
|
*
|
|
30
28
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -37,8 +35,6 @@ const _get = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
|
|
|
37
35
|
/**
|
|
38
36
|
* Gets a specific object type with the given API name.
|
|
39
37
|
*
|
|
40
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
41
|
-
*
|
|
42
38
|
* @public
|
|
43
39
|
*
|
|
44
40
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -51,9 +47,6 @@ const _listOutgoingLinkTypes = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingL
|
|
|
51
47
|
/**
|
|
52
48
|
* List the outgoing links for an object type.
|
|
53
49
|
*
|
|
54
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
55
|
-
* following operation scopes: `api:ontologies-read`.
|
|
56
|
-
*
|
|
57
50
|
* @public
|
|
58
51
|
*
|
|
59
52
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -66,9 +59,6 @@ const _getOutgoingLinkType = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingLin
|
|
|
66
59
|
/**
|
|
67
60
|
* Get an outgoing link for an object type.
|
|
68
61
|
*
|
|
69
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
70
|
-
* following operation scopes: `api:ontologies-read`.
|
|
71
|
-
*
|
|
72
62
|
* @public
|
|
73
63
|
*
|
|
74
64
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v1/ontologies/{0}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * response.\n *\n *
|
|
1
|
+
{"version":3,"file":"ObjectType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v1/ontologies/{0}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * response.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}/objectTypes/{1}\"];\n/**\n * Gets a specific object type with the given API name.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes\", 2];\n/**\n * List the outgoing links for an object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}\"];\n/**\n * Get an outgoing link for an object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,sBAAsB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,sBAAsB,EAAE,GAAGH,IAAI,CAAC;AACvE;AACA,MAAMK,oBAAoB,GAAG,CAAC,CAAC,EAAE,0DAA0D,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,oBAAoB,EAAE,GAAGL,IAAI,CAAC;AACrE","ignoreList":[]}
|
|
@@ -4,8 +4,6 @@ import type * as _Ontologies from "../_components.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Lists the Ontologies visible to the current user.
|
|
6
6
|
*
|
|
7
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
8
|
-
*
|
|
9
7
|
* @public
|
|
10
8
|
*
|
|
11
9
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -15,8 +13,6 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
15
13
|
/**
|
|
16
14
|
* Gets a specific ontology with the given Ontology RID.
|
|
17
15
|
*
|
|
18
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
19
|
-
*
|
|
20
16
|
* @public
|
|
21
17
|
*
|
|
22
18
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ontology.d.ts","sourceRoot":"","sources":["../../../src/public/Ontology.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAQtD
|
|
1
|
+
{"version":3,"file":"Ontology.d.ts","sourceRoot":"","sources":["../../../src/public/Ontology.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAQtD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAE7C;AAMD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC,GAC9C,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,CAE/B"}
|
|
@@ -19,8 +19,6 @@ const _list = [0, "/v1/ontologies"];
|
|
|
19
19
|
/**
|
|
20
20
|
* Lists the Ontologies visible to the current user.
|
|
21
21
|
*
|
|
22
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
23
|
-
*
|
|
24
22
|
* @public
|
|
25
23
|
*
|
|
26
24
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -33,8 +31,6 @@ const _get = [0, "/v1/ontologies/{0}"];
|
|
|
33
31
|
/**
|
|
34
32
|
* Gets a specific ontology with the given Ontology RID.
|
|
35
33
|
*
|
|
36
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
37
|
-
*
|
|
38
34
|
* @public
|
|
39
35
|
*
|
|
40
36
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ontology.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["Ontology.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v1/ontologies\"];\n/**\n * Lists the Ontologies visible to the current user.\n *\n *
|
|
1
|
+
{"version":3,"file":"Ontology.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["Ontology.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v1/ontologies\"];\n/**\n * Lists the Ontologies visible to the current user.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}\"];\n/**\n * Gets a specific ontology with the given Ontology RID.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,gBAAgB,CAAC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oBAAoB,CAAC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD","ignoreList":[]}
|
|
@@ -20,8 +20,6 @@ import type * as _Ontologies from "../_components.js";
|
|
|
20
20
|
*
|
|
21
21
|
* Note that null value properties will not be returned.
|
|
22
22
|
*
|
|
23
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
24
|
-
*
|
|
25
23
|
* @public
|
|
26
24
|
*
|
|
27
25
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -40,8 +38,6 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
40
38
|
/**
|
|
41
39
|
* Gets a specific object with the given primary key.
|
|
42
40
|
*
|
|
43
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
44
|
-
*
|
|
45
41
|
* @public
|
|
46
42
|
*
|
|
47
43
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -73,8 +69,6 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
73
69
|
*
|
|
74
70
|
* Note that null value properties will not be returned.
|
|
75
71
|
*
|
|
76
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
77
|
-
*
|
|
78
72
|
* @public
|
|
79
73
|
*
|
|
80
74
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -96,8 +90,6 @@ export declare function listLinkedObjects($ctx: $Client | $ClientContext | $OldC
|
|
|
96
90
|
* Get a specific linked object that originates from another object. If there is no link between the two objects,
|
|
97
91
|
* LinkedObjectNotFound is thrown.
|
|
98
92
|
*
|
|
99
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
100
|
-
*
|
|
101
93
|
* @public
|
|
102
94
|
*
|
|
103
95
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -137,8 +129,6 @@ export declare function getLinkedObject($ctx: $Client | $ClientContext | $OldCli
|
|
|
137
129
|
* Queries can be at most three levels deep. By default, terms are separated by whitespace or punctuation (`?!,:;-[](){}'"~`). Periods (`.`) on their own are ignored.
|
|
138
130
|
* Partial terms are not matched by terms filters except where explicitly noted.
|
|
139
131
|
*
|
|
140
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
141
|
-
*
|
|
142
132
|
* @public
|
|
143
133
|
*
|
|
144
134
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -152,8 +142,6 @@ export declare function search($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
152
142
|
/**
|
|
153
143
|
* Perform functions on object fields in the specified ontology and object type.
|
|
154
144
|
*
|
|
155
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
156
|
-
*
|
|
157
145
|
* @public
|
|
158
146
|
*
|
|
159
147
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObject.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObject.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAiBtD
|
|
1
|
+
{"version":3,"file":"OntologyObject.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObject.ts"],"names":[],"mappings":"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"}
|
|
@@ -34,8 +34,6 @@ const _list = [0, "/v1/ontologies/{0}/objects/{1}", 2];
|
|
|
34
34
|
*
|
|
35
35
|
* Note that null value properties will not be returned.
|
|
36
36
|
*
|
|
37
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
38
|
-
*
|
|
39
37
|
* @public
|
|
40
38
|
*
|
|
41
39
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -48,8 +46,6 @@ const _get = [0, "/v1/ontologies/{0}/objects/{1}/{2}", 2];
|
|
|
48
46
|
/**
|
|
49
47
|
* Gets a specific object with the given primary key.
|
|
50
48
|
*
|
|
51
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
52
|
-
*
|
|
53
49
|
* @public
|
|
54
50
|
*
|
|
55
51
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -77,8 +73,6 @@ const _listLinkedObjects = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}", 2
|
|
|
77
73
|
*
|
|
78
74
|
* Note that null value properties will not be returned.
|
|
79
75
|
*
|
|
80
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
81
|
-
*
|
|
82
76
|
* @public
|
|
83
77
|
*
|
|
84
78
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -92,8 +86,6 @@ const _getLinkedObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}",
|
|
|
92
86
|
* Get a specific linked object that originates from another object. If there is no link between the two objects,
|
|
93
87
|
* LinkedObjectNotFound is thrown.
|
|
94
88
|
*
|
|
95
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
96
|
-
*
|
|
97
89
|
* @public
|
|
98
90
|
*
|
|
99
91
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -127,8 +119,6 @@ const _search = [1, "/v1/ontologies/{0}/objects/{1}/search", 1];
|
|
|
127
119
|
* Queries can be at most three levels deep. By default, terms are separated by whitespace or punctuation (`?!,:;-[](){}'"~`). Periods (`.`) on their own are ignored.
|
|
128
120
|
* Partial terms are not matched by terms filters except where explicitly noted.
|
|
129
121
|
*
|
|
130
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
131
|
-
*
|
|
132
122
|
* @public
|
|
133
123
|
*
|
|
134
124
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -141,8 +131,6 @@ const _aggregate = [1, "/v1/ontologies/{0}/objects/{1}/aggregate", 1];
|
|
|
141
131
|
/**
|
|
142
132
|
* Perform functions on object fields in the specified ontology and object type.
|
|
143
133
|
*
|
|
144
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
145
|
-
*
|
|
146
134
|
* @public
|
|
147
135
|
*
|
|
148
136
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObject.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_listLinkedObjects","listLinkedObjects","_getLinkedObject","getLinkedObject","_search","search","_aggregate","aggregate"],"sources":["OntologyObject.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/ontology-object-basics#filter-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _listLinkedObjects = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/ontology-object-basics#filter-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object. If there is no link between the two objects,\n * LinkedObjectNotFound is thrown.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);\n}\nconst _search = [1, \"/v1/ontologies/{0}/objects/{1}/search\", 1];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\n *\n * | Query type | Description | Supported Types |\n * |----------|-----------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | prefix | The provided property starts with the provided term. | string |\n * | phrase | The provided property contains the provided term as a substring. | string |\n * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | allTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Queries can be at most three levels deep. By default, terms are separated by whitespace or punctuation (`?!,:;-[](){}'\"~`). Periods (`.`) on their own are ignored.\n * Partial terms are not matched by terms filters except where explicitly noted.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v1/ontologies/{0}/objects/{1}/aggregate\", 1];\n/**\n * Perform functions on object fields in the specified ontology and object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,kBAAkB,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,kBAAkB,EAAE,GAAGH,IAAI,CAAC;AACnE;AACA,MAAMK,gBAAgB,GAAG,CAAC,CAAC,EAAE,kDAAkD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,gBAAgB,EAAE,GAAGL,IAAI,CAAC;AACjE;AACA,MAAMO,OAAO,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,OAAO,EAAE,GAAGP,IAAI,CAAC;AACxD;AACA,MAAMS,UAAU,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,UAAU,EAAE,GAAGT,IAAI,CAAC;AAC3D","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"OntologyObject.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_listLinkedObjects","listLinkedObjects","_getLinkedObject","getLinkedObject","_search","search","_aggregate","aggregate"],"sources":["OntologyObject.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/ontology-object-basics#filter-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _listLinkedObjects = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/ontology-object-basics#filter-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object. If there is no link between the two objects,\n * LinkedObjectNotFound is thrown.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);\n}\nconst _search = [1, \"/v1/ontologies/{0}/objects/{1}/search\", 1];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\n *\n * | Query type | Description | Supported Types |\n * |----------|-----------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | prefix | The provided property starts with the provided term. | string |\n * | phrase | The provided property contains the provided term as a substring. | string |\n * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | allTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Queries can be at most three levels deep. By default, terms are separated by whitespace or punctuation (`?!,:;-[](){}'\"~`). Periods (`.`) on their own are ignored.\n * Partial terms are not matched by terms filters except where explicitly noted.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v1/ontologies/{0}/objects/{1}/aggregate\", 1];\n/**\n * Perform functions on object fields in the specified ontology and object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,kBAAkB,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,kBAAkB,EAAE,GAAGH,IAAI,CAAC;AACnE;AACA,MAAMK,gBAAgB,GAAG,CAAC,CAAC,EAAE,kDAAkD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,gBAAgB,EAAE,GAAGL,IAAI,CAAC;AACjE;AACA,MAAMO,OAAO,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,OAAO,EAAE,GAAGP,IAAI,CAAC;AACxD;AACA,MAAMS,UAAU,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,UAAU,EAAE,GAAGT,IAAI,CAAC;AAC3D","ignoreList":[]}
|
|
@@ -3,8 +3,6 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
3
3
|
import type * as _Ontologies from "../_components.js";
|
|
4
4
|
/**
|
|
5
5
|
* Executes a Query using the given parameters. Optional parameters do not need to be supplied.
|
|
6
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
7
|
-
* following operation scopes: `api:ontologies-read`.
|
|
8
6
|
*
|
|
9
7
|
* @public
|
|
10
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAYtD
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAYtD;;;;;;;GAOG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW,CAAC,WAAW;IACpC,YAAY,EAAE,WAAW,CAAC,YAAY;IACtC,KAAK,EAAE,WAAW,CAAC,mBAAmB;CACvC,GACA,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAE3C"}
|
|
@@ -18,8 +18,6 @@ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.
|
|
|
18
18
|
const _execute = [1, "/v1/ontologies/{0}/queries/{1}/execute", 1];
|
|
19
19
|
/**
|
|
20
20
|
* Executes a Query using the given parameters. Optional parameters do not need to be supplied.
|
|
21
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
22
|
-
* following operation scopes: `api:ontologies-read`.
|
|
23
21
|
*
|
|
24
22
|
* @public
|
|
25
23
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_execute","execute","$ctx","args"],"sources":["Query.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _execute = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 1];\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\n
|
|
1
|
+
{"version":3,"file":"Query.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_execute","execute","$ctx","args"],"sources":["Query.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _execute = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 1];\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute\n */\nexport function execute($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _execute, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,QAAQ,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,QAAQ,EAAE,GAAGG,IAAI,CAAC;AACzD","ignoreList":[]}
|
|
@@ -8,8 +8,6 @@ import type * as _Ontologies from "../_components.js";
|
|
|
8
8
|
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
9
9
|
* results available, at least one result will be present in the response.
|
|
10
10
|
*
|
|
11
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
12
|
-
*
|
|
13
11
|
* @public
|
|
14
12
|
*
|
|
15
13
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -25,8 +23,6 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
25
23
|
/**
|
|
26
24
|
* Gets a specific query type with the given API name.
|
|
27
25
|
*
|
|
28
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
29
|
-
*
|
|
30
26
|
* @public
|
|
31
27
|
*
|
|
32
28
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AActD
|
|
1
|
+
{"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AActD;;;;;;;;;;GAUG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW,CAAC,WAAW;IAEpC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAE7C;AASD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW,CAAC,WAAW;IACpC,YAAY,EAAE,WAAW,CAAC,YAAY;CACvC,GACA,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,CAEhC"}
|
|
@@ -22,8 +22,6 @@ const _list = [0, "/v1/ontologies/{0}/queryTypes", 2];
|
|
|
22
22
|
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
23
23
|
* results available, at least one result will be present in the response.
|
|
24
24
|
*
|
|
25
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
26
|
-
*
|
|
27
25
|
* @public
|
|
28
26
|
*
|
|
29
27
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -36,8 +34,6 @@ const _get = [0, "/v1/ontologies/{0}/queryTypes/{1}"];
|
|
|
36
34
|
/**
|
|
37
35
|
* Gets a specific query type with the given API name.
|
|
38
36
|
*
|
|
39
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
40
|
-
*
|
|
41
37
|
* @public
|
|
42
38
|
*
|
|
43
39
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["QueryType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v1/ontologies/{0}/queryTypes\", 2];\n/**\n * Lists the query types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n *
|
|
1
|
+
{"version":3,"file":"QueryType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["QueryType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v1/ontologies/{0}/queryTypes\", 2];\n/**\n * Lists the query types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}/queryTypes/{1}\"];\n/**\n * Gets a specific query type with the given API name.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/internal.foundry.ontologies",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.25.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@osdk/shared.client": "^1.0.1",
|
|
23
23
|
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
-
"@osdk/internal.foundry.core": "2.
|
|
25
|
-
"@osdk/internal.foundry.geo": "2.
|
|
26
|
-
"@osdk/shared.net.platformapi": "~1.
|
|
24
|
+
"@osdk/internal.foundry.core": "2.25.0",
|
|
25
|
+
"@osdk/internal.foundry.geo": "2.25.0",
|
|
26
|
+
"@osdk/shared.net.platformapi": "~1.4.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "^5.5.4",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"sls": {
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"com.palantir.foundry.api:api-gateway": {
|
|
49
|
-
"minVersion": "1.
|
|
49
|
+
"minVersion": "1.1241.0",
|
|
50
50
|
"maxVersion": "1.x.x",
|
|
51
51
|
"optional": false
|
|
52
52
|
}
|