@osdk/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 +10 -15
- package/build/browser/public/Action.d.ts.map +1 -1
- package/build/browser/public/Action.js +0 -9
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionTypeV2.d.ts +9 -8
- package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
- package/build/browser/public/ActionTypeV2.js +2 -8
- package/build/browser/public/ActionTypeV2.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/AttachmentPropertyV2.d.ts +8 -20
- package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/browser/public/AttachmentPropertyV2.js +0 -12
- package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
- package/build/browser/public/CipherTextProperty.d.ts +1 -4
- package/build/browser/public/CipherTextProperty.d.ts.map +1 -1
- package/build/browser/public/CipherTextProperty.js +1 -4
- package/build/browser/public/CipherTextProperty.js.map +1 -1
- package/build/browser/public/LinkedObjectV2.d.ts +2 -4
- package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/browser/public/LinkedObjectV2.js +0 -4
- package/build/browser/public/LinkedObjectV2.js.map +1 -1
- package/build/browser/public/MediaReferenceProperty.d.ts +19 -6
- package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -1
- package/build/browser/public/MediaReferenceProperty.js +14 -6
- package/build/browser/public/MediaReferenceProperty.js.map +1 -1
- package/build/browser/public/ObjectTypeV2.d.ts +13 -14
- package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/browser/public/ObjectTypeV2.js +2 -14
- package/build/browser/public/ObjectTypeV2.js.map +1 -1
- package/build/browser/public/OntologyInterface.d.ts +35 -26
- package/build/browser/public/OntologyInterface.d.ts.map +1 -1
- package/build/browser/public/OntologyInterface.js +24 -26
- package/build/browser/public/OntologyInterface.js.map +1 -1
- package/build/browser/public/OntologyObjectSet.d.ts +4 -13
- package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectSet.js +0 -13
- package/build/browser/public/OntologyObjectSet.js.map +1 -1
- package/build/browser/public/OntologyObjectV2.d.ts +13 -18
- package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectV2.js +0 -10
- package/build/browser/public/OntologyObjectV2.js.map +1 -1
- package/build/browser/public/OntologyV2.d.ts +7 -5
- package/build/browser/public/OntologyV2.d.ts.map +1 -1
- package/build/browser/public/OntologyV2.js +1 -5
- package/build/browser/public/OntologyV2.js.map +1 -1
- package/build/browser/public/Query.d.ts +2 -5
- package/build/browser/public/Query.d.ts.map +1 -1
- package/build/browser/public/Query.js +0 -3
- 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/browser/public/TimeSeriesPropertyV2.d.ts +0 -9
- package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -1
- package/build/browser/public/TimeSeriesPropertyV2.js +0 -9
- package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -1
- package/build/browser/public/TimeSeriesValueBankProperty.d.ts +0 -6
- package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
- package/build/browser/public/TimeSeriesValueBankProperty.js +0 -6
- package/build/browser/public/TimeSeriesValueBankProperty.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 +10 -15
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +0 -9
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionTypeV2.d.ts +9 -8
- package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
- package/build/esm/public/ActionTypeV2.js +2 -8
- package/build/esm/public/ActionTypeV2.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/AttachmentPropertyV2.d.ts +8 -20
- package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.js +0 -12
- package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
- package/build/esm/public/CipherTextProperty.d.ts +1 -4
- package/build/esm/public/CipherTextProperty.d.ts.map +1 -1
- package/build/esm/public/CipherTextProperty.js +1 -4
- package/build/esm/public/CipherTextProperty.js.map +1 -1
- package/build/esm/public/LinkedObjectV2.d.ts +2 -4
- package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/esm/public/LinkedObjectV2.js +0 -4
- package/build/esm/public/LinkedObjectV2.js.map +1 -1
- package/build/esm/public/MediaReferenceProperty.d.ts +19 -6
- package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -1
- package/build/esm/public/MediaReferenceProperty.js +14 -6
- package/build/esm/public/MediaReferenceProperty.js.map +1 -1
- package/build/esm/public/ObjectTypeV2.d.ts +13 -14
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/ObjectTypeV2.js +2 -14
- package/build/esm/public/ObjectTypeV2.js.map +1 -1
- package/build/esm/public/OntologyInterface.d.ts +35 -26
- package/build/esm/public/OntologyInterface.d.ts.map +1 -1
- package/build/esm/public/OntologyInterface.js +24 -26
- package/build/esm/public/OntologyInterface.js.map +1 -1
- package/build/esm/public/OntologyObjectSet.d.ts +4 -13
- package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.js +0 -13
- package/build/esm/public/OntologyObjectSet.js.map +1 -1
- package/build/esm/public/OntologyObjectV2.d.ts +13 -18
- package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectV2.js +0 -10
- package/build/esm/public/OntologyObjectV2.js.map +1 -1
- package/build/esm/public/OntologyV2.d.ts +7 -5
- package/build/esm/public/OntologyV2.d.ts.map +1 -1
- package/build/esm/public/OntologyV2.js +1 -5
- package/build/esm/public/OntologyV2.js.map +1 -1
- package/build/esm/public/Query.d.ts +2 -5
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +0 -3
- 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/build/esm/public/TimeSeriesPropertyV2.d.ts +0 -9
- package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
- package/build/esm/public/TimeSeriesPropertyV2.js +0 -9
- package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -1
- package/build/esm/public/TimeSeriesValueBankProperty.d.ts +0 -6
- package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
- package/build/esm/public/TimeSeriesValueBankProperty.js +0 -6
- package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -1
- package/package.json +5 -5
|
@@ -23,8 +23,6 @@ const _list = [0, "/v2/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]
|
|
@@ -33,12 +31,10 @@ const _list = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
|
33
31
|
export function list($ctx, ...args) {
|
|
34
32
|
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
35
33
|
}
|
|
36
|
-
const _get = [0, "/v2/ontologies/{0}/objectTypes/{1}"];
|
|
34
|
+
const _get = [0, "/v2/ontologies/{0}/objectTypes/{1}", 2];
|
|
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,8 +47,6 @@ const _getFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata",
|
|
|
51
47
|
/**
|
|
52
48
|
* Gets the full metadata for a specific object type with the given API name.
|
|
53
49
|
*
|
|
54
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
55
|
-
*
|
|
56
50
|
* @alpha
|
|
57
51
|
*
|
|
58
52
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -65,9 +59,6 @@ const _listOutgoingLinkTypes = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingL
|
|
|
65
59
|
/**
|
|
66
60
|
* List the outgoing links for an object type.
|
|
67
61
|
*
|
|
68
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
69
|
-
* following operation scopes: `api:ontologies-read`.
|
|
70
|
-
*
|
|
71
62
|
* @public
|
|
72
63
|
*
|
|
73
64
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -76,13 +67,10 @@ const _listOutgoingLinkTypes = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingL
|
|
|
76
67
|
export function listOutgoingLinkTypes($ctx, ...args) {
|
|
77
68
|
return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);
|
|
78
69
|
}
|
|
79
|
-
const _getOutgoingLinkType = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}"];
|
|
70
|
+
const _getOutgoingLinkType = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}", 2];
|
|
80
71
|
/**
|
|
81
72
|
* Get an outgoing link for an object type.
|
|
82
73
|
*
|
|
83
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
84
|
-
* following operation scopes: `api:ontologies-read`.
|
|
85
|
-
*
|
|
86
74
|
* @public
|
|
87
75
|
*
|
|
88
76
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectTypeV2.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, \"/v2/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":"ObjectTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectTypeV2.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, \"/v2/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: /v2/ontologies/{ontology}/objectTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectTypes/{1}\", 2];\n/**\n * Gets a specific object type with the given API name.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v2/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: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}\", 2];\n/**\n * Get an outgoing link for an object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/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,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,gBAAgB,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,gBAAgB,EAAE,GAAGH,IAAI,CAAC;AACjE;AACA,MAAMK,sBAAsB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,sBAAsB,EAAE,GAAGL,IAAI,CAAC;AACvE;AACA,MAAMO,oBAAoB,GAAG,CAAC,CAAC,EAAE,0DAA0D,EAAE,CAAC,CAAC;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,oBAAoB,EAAE,GAAGP,IAAI,CAAC;AACrE","ignoreList":[]}
|
|
@@ -3,18 +3,11 @@ import type { SharedClient as $OldClient, SharedClientContext as $OldClientConte
|
|
|
3
3
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
4
|
import type * as _Ontologies from "../_components.js";
|
|
5
5
|
/**
|
|
6
|
-
* :::callout{theme=warning title=Warning}
|
|
7
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
8
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
9
|
-
* :::
|
|
10
|
-
*
|
|
11
6
|
* Lists the interface types for the given Ontology.
|
|
12
7
|
*
|
|
13
8
|
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
14
9
|
* results available, at least one result will be present in the response.
|
|
15
10
|
*
|
|
16
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
17
|
-
*
|
|
18
11
|
* @beta
|
|
19
12
|
*
|
|
20
13
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -23,21 +16,15 @@ import type * as _Ontologies from "../_components.js";
|
|
|
23
16
|
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
24
17
|
ontology: _Ontologies.OntologyIdentifier,
|
|
25
18
|
$queryParams?: {
|
|
19
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
26
20
|
pageSize?: _Core.PageSize | undefined;
|
|
27
21
|
pageToken?: _Core.PageToken | undefined;
|
|
28
22
|
preview?: _Core.PreviewMode | undefined;
|
|
29
23
|
}
|
|
30
24
|
]): Promise<_Ontologies.ListInterfaceTypesResponse>;
|
|
31
25
|
/**
|
|
32
|
-
* :::callout{theme=warning title=Warning}
|
|
33
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
34
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
35
|
-
* :::
|
|
36
|
-
*
|
|
37
26
|
* Gets a specific interface type with the given API name.
|
|
38
27
|
*
|
|
39
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
40
|
-
*
|
|
41
28
|
* @beta
|
|
42
29
|
*
|
|
43
30
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -48,6 +35,7 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
48
35
|
interfaceType: _Ontologies.InterfaceTypeApiName,
|
|
49
36
|
$queryParams?: {
|
|
50
37
|
preview?: _Core.PreviewMode | undefined;
|
|
38
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
51
39
|
}
|
|
52
40
|
]): Promise<_Ontologies.InterfaceType>;
|
|
53
41
|
/**
|
|
@@ -55,11 +43,6 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
55
43
|
* This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object
|
|
56
44
|
* sets.
|
|
57
45
|
* :::
|
|
58
|
-
* :::callout{theme=warning title=Warning}
|
|
59
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
60
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
61
|
-
* :::
|
|
62
|
-
*
|
|
63
46
|
* Search for objects in the specified ontology and interface type. Any properties specified in the "where" or
|
|
64
47
|
* "orderBy" parameters must be shared property type API names defined on the interface. The following search
|
|
65
48
|
* queries are supported:
|
|
@@ -98,6 +81,7 @@ export declare function search($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
98
81
|
interfaceType: _Ontologies.InterfaceTypeApiName,
|
|
99
82
|
$body: _Ontologies.SearchObjectsForInterfaceRequest,
|
|
100
83
|
$queryParams?: {
|
|
84
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
101
85
|
preview?: _Core.PreviewMode | undefined;
|
|
102
86
|
}
|
|
103
87
|
]): Promise<_Ontologies.SearchObjectsResponseV2>;
|
|
@@ -106,16 +90,9 @@ export declare function search($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
106
90
|
* This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object
|
|
107
91
|
* sets.
|
|
108
92
|
* :::
|
|
109
|
-
* :::callout{theme=warning title=Warning}
|
|
110
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
111
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
112
|
-
* :::
|
|
113
|
-
*
|
|
114
93
|
* Perform functions on object fields in the specified ontology and of the specified interface type. Any
|
|
115
94
|
* properties specified in the query must be shared property type API names defined on the interface.
|
|
116
95
|
*
|
|
117
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
118
|
-
*
|
|
119
96
|
* @alpha
|
|
120
97
|
*
|
|
121
98
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -126,7 +103,39 @@ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient |
|
|
|
126
103
|
interfaceType: _Ontologies.InterfaceTypeApiName,
|
|
127
104
|
$body: _Ontologies.AggregateObjectsRequestV2,
|
|
128
105
|
$queryParams?: {
|
|
106
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
129
107
|
preview?: _Core.PreviewMode | undefined;
|
|
130
108
|
}
|
|
131
109
|
]): Promise<_Ontologies.AggregateObjectsResponseV2>;
|
|
110
|
+
/**
|
|
111
|
+
* List the outgoing interface link types for an interface type.
|
|
112
|
+
*
|
|
113
|
+
* @alpha
|
|
114
|
+
*
|
|
115
|
+
* Required Scopes: [api:ontologies-read]
|
|
116
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes
|
|
117
|
+
*/
|
|
118
|
+
export declare function listOutgoingInterfaceLinkTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
119
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
120
|
+
interfaceType: _Ontologies.InterfaceTypeApiName,
|
|
121
|
+
$queryParams?: {
|
|
122
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
123
|
+
}
|
|
124
|
+
]): Promise<_Ontologies.ListOutgoingInterfaceLinkTypesResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Get an outgoing interface link type for an interface type.
|
|
127
|
+
*
|
|
128
|
+
* @alpha
|
|
129
|
+
*
|
|
130
|
+
* Required Scopes: [api:ontologies-read]
|
|
131
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes/{interfaceLinkType}
|
|
132
|
+
*/
|
|
133
|
+
export declare function getOutgoingInterfaceLinkType($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
134
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
135
|
+
interfaceType: _Ontologies.InterfaceTypeApiName,
|
|
136
|
+
interfaceLinkType: _Ontologies.InterfaceLinkTypeApiName,
|
|
137
|
+
$queryParams?: {
|
|
138
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
139
|
+
}
|
|
140
|
+
]): Promise<_Ontologies.InterfaceLinkType>;
|
|
132
141
|
//# sourceMappingURL=OntologyInterface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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;
|
|
1
|
+
{"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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;AAgBtD;;;;;;;;;;GAUG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAk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latformFetch as $foundryPlatformFetch } from "@osdk/shared.net.
|
|
|
17
17
|
//
|
|
18
18
|
const _list = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
19
19
|
/**
|
|
20
|
-
* :::callout{theme=warning title=Warning}
|
|
21
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
22
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
23
|
-
* :::
|
|
24
|
-
*
|
|
25
20
|
* Lists the interface types for the given Ontology.
|
|
26
21
|
*
|
|
27
22
|
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
28
23
|
* results available, at least one result will be present in the response.
|
|
29
24
|
*
|
|
30
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
31
|
-
*
|
|
32
25
|
* @beta
|
|
33
26
|
*
|
|
34
27
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -39,15 +32,8 @@ export function list($ctx, ...args) {
|
|
|
39
32
|
}
|
|
40
33
|
const _get = [0, "/v2/ontologies/{0}/interfaceTypes/{1}", 2];
|
|
41
34
|
/**
|
|
42
|
-
* :::callout{theme=warning title=Warning}
|
|
43
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
44
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
45
|
-
* :::
|
|
46
|
-
*
|
|
47
35
|
* Gets a specific interface type with the given API name.
|
|
48
36
|
*
|
|
49
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
50
|
-
*
|
|
51
37
|
* @beta
|
|
52
38
|
*
|
|
53
39
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -62,11 +48,6 @@ const _search = [1, "/v2/ontologies/{0}/interfaces/{1}/search", 3];
|
|
|
62
48
|
* This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object
|
|
63
49
|
* sets.
|
|
64
50
|
* :::
|
|
65
|
-
* :::callout{theme=warning title=Warning}
|
|
66
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
67
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
68
|
-
* :::
|
|
69
|
-
*
|
|
70
51
|
* Search for objects in the specified ontology and interface type. Any properties specified in the "where" or
|
|
71
52
|
* "orderBy" parameters must be shared property type API names defined on the interface. The following search
|
|
72
53
|
* queries are supported:
|
|
@@ -109,16 +90,9 @@ const _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
|
|
|
109
90
|
* This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object
|
|
110
91
|
* sets.
|
|
111
92
|
* :::
|
|
112
|
-
* :::callout{theme=warning title=Warning}
|
|
113
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
114
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
115
|
-
* :::
|
|
116
|
-
*
|
|
117
93
|
* Perform functions on object fields in the specified ontology and of the specified interface type. Any
|
|
118
94
|
* properties specified in the query must be shared property type API names defined on the interface.
|
|
119
95
|
*
|
|
120
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
121
|
-
*
|
|
122
96
|
* @alpha
|
|
123
97
|
*
|
|
124
98
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -127,4 +101,28 @@ const _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
|
|
|
127
101
|
export function aggregate($ctx, ...args) {
|
|
128
102
|
return $foundryPlatformFetch($ctx, _aggregate, ...args);
|
|
129
103
|
}
|
|
104
|
+
const _listOutgoingInterfaceLinkTypes = [0, "/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes", 2];
|
|
105
|
+
/**
|
|
106
|
+
* List the outgoing interface link types for an interface type.
|
|
107
|
+
*
|
|
108
|
+
* @alpha
|
|
109
|
+
*
|
|
110
|
+
* Required Scopes: [api:ontologies-read]
|
|
111
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes
|
|
112
|
+
*/
|
|
113
|
+
export function listOutgoingInterfaceLinkTypes($ctx, ...args) {
|
|
114
|
+
return $foundryPlatformFetch($ctx, _listOutgoingInterfaceLinkTypes, ...args);
|
|
115
|
+
}
|
|
116
|
+
const _getOutgoingInterfaceLinkType = [0, "/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes/{2}", 2];
|
|
117
|
+
/**
|
|
118
|
+
* Get an outgoing interface link type for an interface type.
|
|
119
|
+
*
|
|
120
|
+
* @alpha
|
|
121
|
+
*
|
|
122
|
+
* Required Scopes: [api:ontologies-read]
|
|
123
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes/{interfaceLinkType}
|
|
124
|
+
*/
|
|
125
|
+
export function getOutgoingInterfaceLinkType($ctx, ...args) {
|
|
126
|
+
return $foundryPlatformFetch($ctx, _getOutgoingInterfaceLinkType, ...args);
|
|
127
|
+
}
|
|
130
128
|
//# sourceMappingURL=OntologyInterface.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_search","search","_aggregate","aggregate"],"sources":["OntologyInterface.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, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n/**\n *
|
|
1
|
+
{"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_search","search","_aggregate","aggregate","_listOutgoingInterfaceLinkTypes","listOutgoingInterfaceLinkTypes","_getOutgoingInterfaceLinkType","getOutgoingInterfaceLinkType"],"sources":["OntologyInterface.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, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n/**\n * Lists the interface 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 * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n/**\n * Gets a specific interface type with the given API name.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object\n * sets.\n * :::\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\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 * | startsWith | The provided property starts with the provided term. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided terms as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | 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 * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object\n * sets.\n * :::\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\nconst _listOutgoingInterfaceLinkTypes = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes\", 2];\n/**\n * List the outgoing interface link types for an interface type.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes\n */\nexport function listOutgoingInterfaceLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingInterfaceLinkTypes, ...args);\n}\nconst _getOutgoingInterfaceLinkType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes/{2}\", 2];\n/**\n * Get an outgoing interface link type for an interface type.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes/{interfaceLinkType}\n */\nexport function getOutgoingInterfaceLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingInterfaceLinkType, ...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,mCAAmC,EAAE,CAAC,CAAC;AACzD;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,uCAAuC,EAAE,CAAC,CAAC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SAASC,4BAA4BA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,6BAA6B,EAAE,GAAGT,IAAI,CAAC;AAC9E","ignoreList":[]}
|
|
@@ -5,9 +5,6 @@ import type * as _Ontologies from "../_components.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.
|
|
7
7
|
*
|
|
8
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
9
|
-
* following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
10
|
-
*
|
|
11
8
|
* @beta
|
|
12
9
|
*
|
|
13
10
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
@@ -20,8 +17,6 @@ export declare function createTemporary($ctx: $Client | $ClientContext | $OldCli
|
|
|
20
17
|
/**
|
|
21
18
|
* Gets the definition of the `ObjectSet` with the given RID.
|
|
22
19
|
*
|
|
23
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
24
|
-
*
|
|
25
20
|
* @alpha
|
|
26
21
|
*
|
|
27
22
|
* Required Scopes: []
|
|
@@ -41,8 +36,6 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
41
36
|
*
|
|
42
37
|
* Vector properties will not be returned unless included in the `select` parameter.
|
|
43
38
|
*
|
|
44
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
45
|
-
*
|
|
46
39
|
* @public
|
|
47
40
|
*
|
|
48
41
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -54,6 +47,7 @@ export declare function load($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
54
47
|
$queryParams?: {
|
|
55
48
|
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
56
49
|
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
50
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
57
51
|
}
|
|
58
52
|
]): Promise<_Ontologies.LoadObjectSetResponseV2>;
|
|
59
53
|
/**
|
|
@@ -71,8 +65,6 @@ export declare function load($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
71
65
|
*
|
|
72
66
|
* Vector properties will not be returned unless included in the `select` parameter.
|
|
73
67
|
*
|
|
74
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
75
|
-
*
|
|
76
68
|
* @beta
|
|
77
69
|
*
|
|
78
70
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -84,6 +76,7 @@ export declare function loadMultipleObjectTypes($ctx: $Client | $ClientContext |
|
|
|
84
76
|
$queryParams?: {
|
|
85
77
|
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
86
78
|
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
79
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
87
80
|
preview?: _Core.PreviewMode | undefined;
|
|
88
81
|
}
|
|
89
82
|
]): Promise<_Ontologies.LoadObjectSetV2MultipleObjectTypesResponse>;
|
|
@@ -104,8 +97,6 @@ export declare function loadMultipleObjectTypes($ctx: $Client | $ClientContext |
|
|
|
104
97
|
*
|
|
105
98
|
* Vector properties will not be returned unless included in the `select` parameter.
|
|
106
99
|
*
|
|
107
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
108
|
-
*
|
|
109
100
|
* @beta
|
|
110
101
|
*
|
|
111
102
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -117,14 +108,13 @@ export declare function loadObjectsOrInterfaces($ctx: $Client | $ClientContext |
|
|
|
117
108
|
$queryParams?: {
|
|
118
109
|
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
119
110
|
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
111
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
120
112
|
preview?: _Core.PreviewMode | undefined;
|
|
121
113
|
}
|
|
122
114
|
]): Promise<_Ontologies.LoadObjectSetV2ObjectsOrInterfacesResponse>;
|
|
123
115
|
/**
|
|
124
116
|
* Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
|
|
125
117
|
*
|
|
126
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
127
|
-
*
|
|
128
118
|
* @public
|
|
129
119
|
*
|
|
130
120
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -136,6 +126,7 @@ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient |
|
|
|
136
126
|
$queryParams?: {
|
|
137
127
|
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
138
128
|
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
129
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
139
130
|
}
|
|
140
131
|
]): Promise<_Ontologies.AggregateObjectsResponseV2>;
|
|
141
132
|
//# sourceMappingURL=OntologyObjectSet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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;AAWtD
|
|
1
|
+
{"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mB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AE,WAAW,CAAC,2BAA2B;IAC9C,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;QAChD,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAEjD"}
|
|
@@ -19,9 +19,6 @@ const _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 1]
|
|
|
19
19
|
/**
|
|
20
20
|
* Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.
|
|
21
21
|
*
|
|
22
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
23
|
-
* following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
24
|
-
*
|
|
25
22
|
* @beta
|
|
26
23
|
*
|
|
27
24
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
@@ -34,8 +31,6 @@ const _get = [0, "/v2/ontologies/{0}/objectSets/{1}"];
|
|
|
34
31
|
/**
|
|
35
32
|
* Gets the definition of the `ObjectSet` with the given RID.
|
|
36
33
|
*
|
|
37
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
38
|
-
*
|
|
39
34
|
* @alpha
|
|
40
35
|
*
|
|
41
36
|
* Required Scopes: []
|
|
@@ -55,8 +50,6 @@ const _load = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
|
|
|
55
50
|
*
|
|
56
51
|
* Vector properties will not be returned unless included in the `select` parameter.
|
|
57
52
|
*
|
|
58
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
59
|
-
*
|
|
60
53
|
* @public
|
|
61
54
|
*
|
|
62
55
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -81,8 +74,6 @@ const _loadMultipleObjectTypes = [1, "/v2/ontologies/{0}/objectSets/loadObjectsM
|
|
|
81
74
|
*
|
|
82
75
|
* Vector properties will not be returned unless included in the `select` parameter.
|
|
83
76
|
*
|
|
84
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
85
|
-
*
|
|
86
77
|
* @beta
|
|
87
78
|
*
|
|
88
79
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -109,8 +100,6 @@ const _loadObjectsOrInterfaces = [1, "/v2/ontologies/{0}/objectSets/loadObjectsO
|
|
|
109
100
|
*
|
|
110
101
|
* Vector properties will not be returned unless included in the `select` parameter.
|
|
111
102
|
*
|
|
112
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
113
|
-
*
|
|
114
103
|
* @beta
|
|
115
104
|
*
|
|
116
105
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -123,8 +112,6 @@ const _aggregate = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
|
|
|
123
112
|
/**
|
|
124
113
|
* Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
|
|
125
114
|
*
|
|
126
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
127
|
-
*
|
|
128
115
|
* @public
|
|
129
116
|
*
|
|
130
117
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_loadMultipleObjectTypes","loadMultipleObjectTypes","_loadObjectsOrInterfaces","loadObjectsOrInterfaces","_aggregate","aggregate"],"sources":["OntologyObjectSet.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 _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.\n *\n *
|
|
1
|
+
{"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_loadMultipleObjectTypes","loadMultipleObjectTypes","_loadObjectsOrInterfaces","loadObjectsOrInterfaces","_aggregate","aggregate"],"sources":["OntologyObjectSet.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 _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\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 * Note that null value properties will not be returned.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _loadMultipleObjectTypes = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsMultipleObjectTypes\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting\n * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped\n * to an interface, in which only the object type properties that implement the properties of any interfaces in its\n * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to\n * object implementation is returned in order to interpret the objects as the interfaces that they implement.\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 * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsMultipleObjectTypes\n */\nexport function loadMultipleObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadMultipleObjectTypes, ...args);\n}\nconst _loadObjectsOrInterfaces = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsOrInterfaces\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. If the requested\n * object set contains interfaces and the object can be viewed as an interface, it will contain the properties\n * defined by the interface. If not, it will contain the properties defined by its object type. This allows directly\n * loading all objects of an interface where all objects are viewed as the interface, for example.\n *\n * Note that the result object set cannot contain a mix of objects with \"interface\" properties and \"object type\"\n * properties. Attempting to load an object set like this will result in an error.\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 * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `/loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsOrInterfaces\n */\nexport function loadObjectsOrInterfaces($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadObjectsOrInterfaces, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/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,gBAAgB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAChF;AACA;AACA;A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