@osdk/internal.foundry.ontologiesv2 0.2.0-beta.9 → 0.2.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 +44 -0
- package/build/browser/public/Action.d.ts +3 -3
- package/build/browser/public/Action.d.ts.map +1 -1
- package/build/browser/public/Action.js +9 -9
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionTypeV2.d.ts +2 -2
- package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
- package/build/browser/public/ActionTypeV2.js +6 -6
- package/build/browser/public/ActionTypeV2.js.map +1 -1
- package/build/browser/public/Attachment.d.ts +3 -3
- package/build/browser/public/Attachment.d.ts.map +1 -1
- package/build/browser/public/Attachment.js +9 -9
- package/build/browser/public/Attachment.js.map +1 -1
- package/build/browser/public/AttachmentPropertyV2.d.ts +4 -4
- package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/browser/public/AttachmentPropertyV2.js +12 -12
- package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
- package/build/browser/public/LinkedObjectV2.d.ts +2 -2
- package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/browser/public/LinkedObjectV2.js +6 -6
- package/build/browser/public/LinkedObjectV2.js.map +1 -1
- package/build/browser/public/ObjectTypeV2.d.ts +5 -5
- package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/browser/public/ObjectTypeV2.js +15 -15
- package/build/browser/public/ObjectTypeV2.js.map +1 -1
- package/build/browser/public/OntologyInterface.d.ts +4 -4
- package/build/browser/public/OntologyInterface.d.ts.map +1 -1
- package/build/browser/public/OntologyInterface.js +12 -12
- package/build/browser/public/OntologyInterface.js.map +1 -1
- package/build/browser/public/OntologyObjectSet.d.ts +4 -4
- package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectSet.js +12 -12
- package/build/browser/public/OntologyObjectSet.js.map +1 -1
- package/build/browser/public/OntologyObjectV2.d.ts +5 -5
- package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectV2.js +15 -15
- package/build/browser/public/OntologyObjectV2.js.map +1 -1
- package/build/browser/public/OntologyV2.d.ts +3 -3
- package/build/browser/public/OntologyV2.d.ts.map +1 -1
- package/build/browser/public/OntologyV2.js +9 -9
- package/build/browser/public/OntologyV2.js.map +1 -1
- package/build/browser/public/Query.d.ts +1 -1
- package/build/browser/public/Query.d.ts.map +1 -1
- package/build/browser/public/Query.js +3 -3
- package/build/browser/public/Query.js.map +1 -1
- package/build/browser/public/QueryType.d.ts +2 -2
- package/build/browser/public/QueryType.d.ts.map +1 -1
- package/build/browser/public/QueryType.js +6 -6
- package/build/browser/public/QueryType.js.map +1 -1
- package/build/esm/public/Action.d.ts +3 -3
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +9 -9
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionTypeV2.d.ts +2 -2
- package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
- package/build/esm/public/ActionTypeV2.js +6 -6
- package/build/esm/public/ActionTypeV2.js.map +1 -1
- package/build/esm/public/Attachment.d.ts +3 -3
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +9 -9
- package/build/esm/public/Attachment.js.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.d.ts +4 -4
- package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.js +12 -12
- package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
- package/build/esm/public/LinkedObjectV2.d.ts +2 -2
- package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/esm/public/LinkedObjectV2.js +6 -6
- package/build/esm/public/LinkedObjectV2.js.map +1 -1
- package/build/esm/public/ObjectTypeV2.d.ts +5 -5
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/ObjectTypeV2.js +15 -15
- package/build/esm/public/ObjectTypeV2.js.map +1 -1
- package/build/esm/public/OntologyInterface.d.ts +4 -4
- package/build/esm/public/OntologyInterface.d.ts.map +1 -1
- package/build/esm/public/OntologyInterface.js +12 -12
- package/build/esm/public/OntologyInterface.js.map +1 -1
- package/build/esm/public/OntologyObjectSet.d.ts +4 -4
- package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.js +12 -12
- package/build/esm/public/OntologyObjectSet.js.map +1 -1
- package/build/esm/public/OntologyObjectV2.d.ts +5 -5
- package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectV2.js +15 -15
- package/build/esm/public/OntologyObjectV2.js.map +1 -1
- package/build/esm/public/OntologyV2.d.ts +3 -3
- package/build/esm/public/OntologyV2.d.ts.map +1 -1
- package/build/esm/public/OntologyV2.js +9 -9
- package/build/esm/public/OntologyV2.js.map +1 -1
- package/build/esm/public/Query.d.ts +1 -1
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +3 -3
- package/build/esm/public/Query.js.map +1 -1
- package/build/esm/public/QueryType.d.ts +2 -2
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/QueryType.js +6 -6
- package/build/esm/public/QueryType.js.map +1 -1
- package/package.json +4 -4
|
@@ -14,7 +14,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
14
14
|
* Required Scopes: [api:ontologies-read]
|
|
15
15
|
* URL: /v2/ontologies/{ontology}/objectTypes
|
|
16
16
|
*/
|
|
17
|
-
export declare function
|
|
17
|
+
export declare function list($ctx: $Client | $ClientContext, ...args: [
|
|
18
18
|
ontology: _Core.OntologyIdentifier,
|
|
19
19
|
$queryParams?: {
|
|
20
20
|
pageSize?: _Core.PageSize | undefined;
|
|
@@ -31,7 +31,7 @@ export declare function listObjectTypesV2($ctx: $Client | $ClientContext, ...arg
|
|
|
31
31
|
* Required Scopes: [api:ontologies-read]
|
|
32
32
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}
|
|
33
33
|
*/
|
|
34
|
-
export declare function
|
|
34
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [
|
|
35
35
|
ontology: _Core.OntologyIdentifier,
|
|
36
36
|
objectType: _Core.ObjectTypeApiName
|
|
37
37
|
]): Promise<_Core.ObjectTypeV2>;
|
|
@@ -45,7 +45,7 @@ export declare function getObjectTypeV2($ctx: $Client | $ClientContext, ...args:
|
|
|
45
45
|
* Required Scopes: [api:ontologies-read]
|
|
46
46
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata
|
|
47
47
|
*/
|
|
48
|
-
export declare function
|
|
48
|
+
export declare function getFullMetadata($ctx: $Client | $ClientContext, ...args: [
|
|
49
49
|
ontology: _Core.OntologyIdentifier,
|
|
50
50
|
objectType: _Core.ObjectTypeApiName,
|
|
51
51
|
$queryParams?: {
|
|
@@ -63,7 +63,7 @@ export declare function getObjectTypeFullMetadata($ctx: $Client | $ClientContext
|
|
|
63
63
|
* Required Scopes: [api:ontologies-read]
|
|
64
64
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes
|
|
65
65
|
*/
|
|
66
|
-
export declare function
|
|
66
|
+
export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext, ...args: [
|
|
67
67
|
ontology: _Core.OntologyIdentifier,
|
|
68
68
|
objectType: _Core.ObjectTypeApiName,
|
|
69
69
|
$queryParams?: {
|
|
@@ -82,7 +82,7 @@ export declare function listOutgoingLinkTypesV2($ctx: $Client | $ClientContext,
|
|
|
82
82
|
* Required Scopes: [api:ontologies-read]
|
|
83
83
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
|
|
84
84
|
*/
|
|
85
|
-
export declare function
|
|
85
|
+
export declare function getOutgoingLinkType($ctx: $Client | $ClientContext, ...args: [
|
|
86
86
|
ontology: _Core.OntologyIdentifier,
|
|
87
87
|
objectType: _Core.ObjectTypeApiName,
|
|
88
88
|
linkType: _Core.LinkTypeApiName
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,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,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;CACpC,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B;AAUD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IAEnC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IAEnC,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,KAAK,CAAC,+BAA+B,CAAC,CAEhD;AAUD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,QAAQ,EAAE,KAAK,CAAC,eAAe;CAChC,GACA,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAE/B"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const
|
|
18
|
+
const _list = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
19
19
|
/**
|
|
20
20
|
* Lists the object types for the given Ontology.
|
|
21
21
|
*
|
|
@@ -30,10 +30,10 @@ const _listObjectTypesV2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
|
30
30
|
* Required Scopes: [api:ontologies-read]
|
|
31
31
|
* URL: /v2/ontologies/{ontology}/objectTypes
|
|
32
32
|
*/
|
|
33
|
-
export function
|
|
34
|
-
return $foundryPlatformFetch($ctx,
|
|
33
|
+
export function list($ctx, ...args) {
|
|
34
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const _get = [0, "/v2/ontologies/{0}/objectTypes/{1}"];
|
|
37
37
|
/**
|
|
38
38
|
* Gets a specific object type with the given API name.
|
|
39
39
|
*
|
|
@@ -44,10 +44,10 @@ const _getObjectTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}"];
|
|
|
44
44
|
* Required Scopes: [api:ontologies-read]
|
|
45
45
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}
|
|
46
46
|
*/
|
|
47
|
-
export function
|
|
48
|
-
return $foundryPlatformFetch($ctx,
|
|
47
|
+
export function get($ctx, ...args) {
|
|
48
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
49
49
|
}
|
|
50
|
-
const
|
|
50
|
+
const _getFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata", 2];
|
|
51
51
|
/**
|
|
52
52
|
* Gets the full metadata for a specific object type with the given API name.
|
|
53
53
|
*
|
|
@@ -58,10 +58,10 @@ const _getObjectTypeFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullM
|
|
|
58
58
|
* Required Scopes: [api:ontologies-read]
|
|
59
59
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata
|
|
60
60
|
*/
|
|
61
|
-
export function
|
|
62
|
-
return $foundryPlatformFetch($ctx,
|
|
61
|
+
export function getFullMetadata($ctx, ...args) {
|
|
62
|
+
return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);
|
|
63
63
|
}
|
|
64
|
-
const
|
|
64
|
+
const _listOutgoingLinkTypes = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
|
|
65
65
|
/**
|
|
66
66
|
* List the outgoing links for an object type.
|
|
67
67
|
*
|
|
@@ -73,10 +73,10 @@ const _listOutgoingLinkTypesV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoin
|
|
|
73
73
|
* Required Scopes: [api:ontologies-read]
|
|
74
74
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes
|
|
75
75
|
*/
|
|
76
|
-
export function
|
|
77
|
-
return $foundryPlatformFetch($ctx,
|
|
76
|
+
export function listOutgoingLinkTypes($ctx, ...args) {
|
|
77
|
+
return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);
|
|
78
78
|
}
|
|
79
|
-
const
|
|
79
|
+
const _getOutgoingLinkType = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}"];
|
|
80
80
|
/**
|
|
81
81
|
* Get an outgoing link for an object type.
|
|
82
82
|
*
|
|
@@ -88,7 +88,7 @@ const _getOutgoingLinkTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingL
|
|
|
88
88
|
* Required Scopes: [api:ontologies-read]
|
|
89
89
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
|
|
90
90
|
*/
|
|
91
|
-
export function
|
|
92
|
-
return $foundryPlatformFetch($ctx,
|
|
91
|
+
export function getOutgoingLinkType($ctx, ...args) {
|
|
92
|
+
return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
|
|
93
93
|
}
|
|
94
94
|
//# sourceMappingURL=ObjectTypeV2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","
|
|
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 * 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: /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}\"];\n/**\n * Gets a specific object type with the given API name.\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: /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 * Third-party applications using this 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}/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 * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\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}\"];\n/**\n * Get an outgoing link for an object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\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;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;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;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;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,CAAC;AAC5F;AACA;AACA;AACA;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":[]}
|
|
@@ -18,7 +18,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
18
18
|
* Required Scopes: [api:ontologies-read]
|
|
19
19
|
* URL: /v2/ontologies/{ontology}/interfaceTypes
|
|
20
20
|
*/
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function list($ctx: $Client | $ClientContext, ...args: [
|
|
22
22
|
ontology: _Core.OntologyIdentifier,
|
|
23
23
|
$queryParams?: {
|
|
24
24
|
pageSize?: _Core.PageSize | undefined;
|
|
@@ -41,7 +41,7 @@ export declare function listInterfaceTypes($ctx: $Client | $ClientContext, ...ar
|
|
|
41
41
|
* Required Scopes: [api:ontologies-read]
|
|
42
42
|
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}
|
|
43
43
|
*/
|
|
44
|
-
export declare function
|
|
44
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [
|
|
45
45
|
ontology: _Core.OntologyIdentifier,
|
|
46
46
|
interfaceType: _Core.InterfaceTypeApiName,
|
|
47
47
|
$queryParams?: {
|
|
@@ -84,7 +84,7 @@ export declare function getInterfaceType($ctx: $Client | $ClientContext, ...args
|
|
|
84
84
|
* Required Scopes: [api:ontologies-read]
|
|
85
85
|
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search
|
|
86
86
|
*/
|
|
87
|
-
export declare function
|
|
87
|
+
export declare function search($ctx: $Client | $ClientContext, ...args: [
|
|
88
88
|
ontology: _Core.OntologyIdentifier,
|
|
89
89
|
interfaceType: _Core.InterfaceTypeApiName,
|
|
90
90
|
$body: _Core.SearchObjectsForInterfaceRequest,
|
|
@@ -108,7 +108,7 @@ export declare function searchObjectsForInterface($ctx: $Client | $ClientContext
|
|
|
108
108
|
* Required Scopes: [api:ontologies-read]
|
|
109
109
|
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate
|
|
110
110
|
*/
|
|
111
|
-
export declare function
|
|
111
|
+
export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
|
|
112
112
|
ontology: _Core.OntologyIdentifier,
|
|
113
113
|
interfaceType: _Core.InterfaceTypeApiName,
|
|
114
114
|
$body: _Core.AggregateObjectsRequestV2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAiB7B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAiB7B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C;AAUD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,aAAa,EAAE,KAAK,CAAC,oBAAoB;IAEzC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,CAE9B;AAWD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,aAAa,EAAE,KAAK,CAAC,oBAAoB;IACzC,KAAK,EAAE,KAAK,CAAC,gCAAgC;IAC7C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAExC;AAWD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,aAAa,EAAE,KAAK,CAAC,oBAAoB;IACzC,KAAK,EAAE,KAAK,CAAC,yBAAyB;IACtC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const
|
|
18
|
+
const _list = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
19
19
|
/**
|
|
20
20
|
* :::callout{theme=warning title=Warning}
|
|
21
21
|
* This endpoint is in preview and may be modified or removed at any time.
|
|
@@ -34,10 +34,10 @@ const _listInterfaceTypes = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
|
34
34
|
* Required Scopes: [api:ontologies-read]
|
|
35
35
|
* URL: /v2/ontologies/{ontology}/interfaceTypes
|
|
36
36
|
*/
|
|
37
|
-
export function
|
|
38
|
-
return $foundryPlatformFetch($ctx,
|
|
37
|
+
export function list($ctx, ...args) {
|
|
38
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
39
39
|
}
|
|
40
|
-
const
|
|
40
|
+
const _get = [0, "/v2/ontologies/{0}/interfaceTypes/{1}", 2];
|
|
41
41
|
/**
|
|
42
42
|
* :::callout{theme=warning title=Warning}
|
|
43
43
|
* This endpoint is in preview and may be modified or removed at any time.
|
|
@@ -53,10 +53,10 @@ const _getInterfaceType = [0, "/v2/ontologies/{0}/interfaceTypes/{1}", 2];
|
|
|
53
53
|
* Required Scopes: [api:ontologies-read]
|
|
54
54
|
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}
|
|
55
55
|
*/
|
|
56
|
-
export function
|
|
57
|
-
return $foundryPlatformFetch($ctx,
|
|
56
|
+
export function get($ctx, ...args) {
|
|
57
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
58
58
|
}
|
|
59
|
-
const
|
|
59
|
+
const _search = [1, "/v2/ontologies/{0}/interfaces/{1}/search", 3];
|
|
60
60
|
/**
|
|
61
61
|
* :::callout{theme=warning title=Warning}
|
|
62
62
|
* This endpoint is in preview and may be modified or removed at any time.
|
|
@@ -93,10 +93,10 @@ const _searchObjectsForInterface = [1, "/v2/ontologies/{0}/interfaces/{1}/search
|
|
|
93
93
|
* Required Scopes: [api:ontologies-read]
|
|
94
94
|
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search
|
|
95
95
|
*/
|
|
96
|
-
export function
|
|
97
|
-
return $foundryPlatformFetch($ctx,
|
|
96
|
+
export function search($ctx, ...args) {
|
|
97
|
+
return $foundryPlatformFetch($ctx, _search, ...args);
|
|
98
98
|
}
|
|
99
|
-
const
|
|
99
|
+
const _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
|
|
100
100
|
/**
|
|
101
101
|
* :::callout{theme=warning title=Warning}
|
|
102
102
|
* This endpoint is in preview and may be modified or removed at any time.
|
|
@@ -113,7 +113,7 @@ const _aggregateObjectsForInterface = [1, "/v2/ontologies/{0}/interfaces/{1}/agg
|
|
|
113
113
|
* Required Scopes: [api:ontologies-read]
|
|
114
114
|
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate
|
|
115
115
|
*/
|
|
116
|
-
export function
|
|
117
|
-
return $foundryPlatformFetch($ctx,
|
|
116
|
+
export function aggregate($ctx, ...args) {
|
|
117
|
+
return $foundryPlatformFetch($ctx, _aggregate, ...args);
|
|
118
118
|
}
|
|
119
119
|
//# sourceMappingURL=OntologyInterface.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","
|
|
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 * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\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 * Third-party applications using this 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}/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 * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this 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}/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 is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\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 value. | 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 value 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 * 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 is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\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 * Third-party applications using this 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}/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,mCAAmC,EAAE,CAAC,CAAC;AACzD;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,uCAAuC,EAAE,CAAC,CAAC;AAC5D;AACA;AACA;AACA;AACA;AACA;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,OAAO,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAClE;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;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,UAAU,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
|
|
@@ -11,7 +11,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
11
11
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
12
12
|
* URL: /v2/ontologies/{ontology}/objectSets/createTemporary
|
|
13
13
|
*/
|
|
14
|
-
export declare function
|
|
14
|
+
export declare function createTemporary($ctx: $Client | $ClientContext, ...args: [
|
|
15
15
|
ontology: _Core.OntologyIdentifier,
|
|
16
16
|
$body: _Core.CreateTemporaryObjectSetRequestV2
|
|
17
17
|
]): Promise<_Core.CreateTemporaryObjectSetResponseV2>;
|
|
@@ -25,7 +25,7 @@ export declare function createTemporaryObjectSetV2($ctx: $Client | $ClientContex
|
|
|
25
25
|
* Required Scopes: []
|
|
26
26
|
* URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}
|
|
27
27
|
*/
|
|
28
|
-
export declare function
|
|
28
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [
|
|
29
29
|
ontology: _Core.OntologyIdentifier,
|
|
30
30
|
objectSetRid: _Core.ObjectSetRid
|
|
31
31
|
]): Promise<_Core.ObjectSet>;
|
|
@@ -44,7 +44,7 @@ export declare function getObjectSetV2($ctx: $Client | $ClientContext, ...args:
|
|
|
44
44
|
* Required Scopes: [api:ontologies-read]
|
|
45
45
|
* URL: /v2/ontologies/{ontology}/objectSets/loadObjects
|
|
46
46
|
*/
|
|
47
|
-
export declare function
|
|
47
|
+
export declare function load($ctx: $Client | $ClientContext, ...args: [
|
|
48
48
|
ontology: _Core.OntologyIdentifier,
|
|
49
49
|
$body: _Core.LoadObjectSetRequestV2,
|
|
50
50
|
$queryParams?: {
|
|
@@ -62,7 +62,7 @@ export declare function loadObjectSetV2($ctx: $Client | $ClientContext, ...args:
|
|
|
62
62
|
* Required Scopes: [api:ontologies-read]
|
|
63
63
|
* URL: /v2/ontologies/{ontology}/objectSets/aggregate
|
|
64
64
|
*/
|
|
65
|
-
export declare function
|
|
65
|
+
export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
|
|
66
66
|
ontology: _Core.OntologyIdentifier,
|
|
67
67
|
$body: _Core.AggregateObjectSetRequestV2,
|
|
68
68
|
$queryParams?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAa7B;;;;;;;;;;GAUG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAa7B;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,iCAAiC;CAC/C,GACA,OAAO,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAEnD;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,YAAY,EAAE,KAAK,CAAC,YAAY;CACjC,GACA,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAE1B;AAaD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,sBAAsB;IACnC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAExC;AAaD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,2BAA2B;IACxC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const
|
|
18
|
+
const _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 1];
|
|
19
19
|
/**
|
|
20
20
|
* Creates a temporary `ObjectSet` from the given definition.
|
|
21
21
|
*
|
|
@@ -27,10 +27,10 @@ const _createTemporaryObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/createTem
|
|
|
27
27
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
28
28
|
* URL: /v2/ontologies/{ontology}/objectSets/createTemporary
|
|
29
29
|
*/
|
|
30
|
-
export function
|
|
31
|
-
return $foundryPlatformFetch($ctx,
|
|
30
|
+
export function createTemporary($ctx, ...args) {
|
|
31
|
+
return $foundryPlatformFetch($ctx, _createTemporary, ...args);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
33
|
+
const _get = [0, "/v2/ontologies/{0}/objectSets/{1}"];
|
|
34
34
|
/**
|
|
35
35
|
* Gets the definition of the `ObjectSet` with the given RID.
|
|
36
36
|
*
|
|
@@ -41,10 +41,10 @@ const _getObjectSetV2 = [0, "/v2/ontologies/{0}/objectSets/{1}"];
|
|
|
41
41
|
* Required Scopes: []
|
|
42
42
|
* URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}
|
|
43
43
|
*/
|
|
44
|
-
export function
|
|
45
|
-
return $foundryPlatformFetch($ctx,
|
|
44
|
+
export function get($ctx, ...args) {
|
|
45
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
46
46
|
}
|
|
47
|
-
const
|
|
47
|
+
const _load = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
|
|
48
48
|
/**
|
|
49
49
|
* Load the ontology objects present in the `ObjectSet` from the provided object set definition.
|
|
50
50
|
*
|
|
@@ -60,10 +60,10 @@ const _loadObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
|
|
|
60
60
|
* Required Scopes: [api:ontologies-read]
|
|
61
61
|
* URL: /v2/ontologies/{ontology}/objectSets/loadObjects
|
|
62
62
|
*/
|
|
63
|
-
export function
|
|
64
|
-
return $foundryPlatformFetch($ctx,
|
|
63
|
+
export function load($ctx, ...args) {
|
|
64
|
+
return $foundryPlatformFetch($ctx, _load, ...args);
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const _aggregate = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
|
|
67
67
|
/**
|
|
68
68
|
* Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
|
|
69
69
|
*
|
|
@@ -74,7 +74,7 @@ const _aggregateObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
|
|
|
74
74
|
* Required Scopes: [api:ontologies-read]
|
|
75
75
|
* URL: /v2/ontologies/{ontology}/objectSets/aggregate
|
|
76
76
|
*/
|
|
77
|
-
export function
|
|
78
|
-
return $foundryPlatformFetch($ctx,
|
|
77
|
+
export function aggregate($ctx, ...args) {
|
|
78
|
+
return $foundryPlatformFetch($ctx, _aggregate, ...args);
|
|
79
79
|
}
|
|
80
80
|
//# sourceMappingURL=OntologyObjectSet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","
|
|
1
|
+
{"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_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.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\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 * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\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 * 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: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...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 * 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: /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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;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,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,KAAK,EAAE,GAAGH,IAAI,CAAC;AACtD;AACA,MAAMK,UAAU,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
|
|
@@ -22,7 +22,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
22
22
|
* Required Scopes: [api:ontologies-read]
|
|
23
23
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}
|
|
24
24
|
*/
|
|
25
|
-
export declare function
|
|
25
|
+
export declare function list($ctx: $Client | $ClientContext, ...args: [
|
|
26
26
|
ontology: _Core.OntologyIdentifier,
|
|
27
27
|
objectType: _Core.ObjectTypeApiName,
|
|
28
28
|
$queryParams: {
|
|
@@ -45,7 +45,7 @@ export declare function listObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
|
45
45
|
* Required Scopes: [api:ontologies-read]
|
|
46
46
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}
|
|
47
47
|
*/
|
|
48
|
-
export declare function
|
|
48
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [
|
|
49
49
|
ontology: _Core.OntologyIdentifier,
|
|
50
50
|
objectType: _Core.ObjectTypeApiName,
|
|
51
51
|
primaryKey: _Core.PropertyValueEscapedString,
|
|
@@ -66,7 +66,7 @@ export declare function getObjectV2($ctx: $Client | $ClientContext, ...args: [
|
|
|
66
66
|
* Required Scopes: [api:ontologies-read]
|
|
67
67
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/count
|
|
68
68
|
*/
|
|
69
|
-
export declare function
|
|
69
|
+
export declare function count($ctx: $Client | $ClientContext, ...args: [
|
|
70
70
|
ontology: _Core.OntologyIdentifier,
|
|
71
71
|
objectType: _Core.ObjectTypeApiName,
|
|
72
72
|
$queryParams?: {
|
|
@@ -103,7 +103,7 @@ export declare function countObjects($ctx: $Client | $ClientContext, ...args: [
|
|
|
103
103
|
* Required Scopes: [api:ontologies-read]
|
|
104
104
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/search
|
|
105
105
|
*/
|
|
106
|
-
export declare function
|
|
106
|
+
export declare function search($ctx: $Client | $ClientContext, ...args: [
|
|
107
107
|
ontology: _Core.OntologyIdentifier,
|
|
108
108
|
objectType: _Core.ObjectTypeApiName,
|
|
109
109
|
$body: _Core.SearchObjectsRequestV2,
|
|
@@ -122,7 +122,7 @@ export declare function searchObjectsV2($ctx: $Client | $ClientContext, ...args:
|
|
|
122
122
|
* Required Scopes: [api:ontologies-read]
|
|
123
123
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate
|
|
124
124
|
*/
|
|
125
|
-
export declare function
|
|
125
|
+
export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
|
|
126
126
|
ontology: _Core.OntologyIdentifier,
|
|
127
127
|
objectType: _Core.ObjectTypeApiName,
|
|
128
128
|
$body: _Core.AggregateObjectsRequestV2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAsB7B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"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"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const
|
|
18
|
+
const _list = [0, "/v2/ontologies/{0}/objects/{1}", 2];
|
|
19
19
|
/**
|
|
20
20
|
* Lists the objects for the given Ontology and object type.
|
|
21
21
|
*
|
|
@@ -38,10 +38,10 @@ const _listObjectsV2 = [0, "/v2/ontologies/{0}/objects/{1}", 2];
|
|
|
38
38
|
* Required Scopes: [api:ontologies-read]
|
|
39
39
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}
|
|
40
40
|
*/
|
|
41
|
-
export function
|
|
42
|
-
return $foundryPlatformFetch($ctx,
|
|
41
|
+
export function list($ctx, ...args) {
|
|
42
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const _get = [0, "/v2/ontologies/{0}/objects/{1}/{2}", 2];
|
|
45
45
|
/**
|
|
46
46
|
* Gets a specific object with the given primary key.
|
|
47
47
|
*
|
|
@@ -52,10 +52,10 @@ const _getObjectV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}", 2];
|
|
|
52
52
|
* Required Scopes: [api:ontologies-read]
|
|
53
53
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}
|
|
54
54
|
*/
|
|
55
|
-
export function
|
|
56
|
-
return $foundryPlatformFetch($ctx,
|
|
55
|
+
export function get($ctx, ...args) {
|
|
56
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
57
57
|
}
|
|
58
|
-
const
|
|
58
|
+
const _count = [1, "/v2/ontologies/{0}/objects/{1}/count", 2];
|
|
59
59
|
/**
|
|
60
60
|
* Returns a count of the objects of the given object type.
|
|
61
61
|
*
|
|
@@ -66,10 +66,10 @@ const _countObjects = [1, "/v2/ontologies/{0}/objects/{1}/count", 2];
|
|
|
66
66
|
* Required Scopes: [api:ontologies-read]
|
|
67
67
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/count
|
|
68
68
|
*/
|
|
69
|
-
export function
|
|
70
|
-
return $foundryPlatformFetch($ctx,
|
|
69
|
+
export function count($ctx, ...args) {
|
|
70
|
+
return $foundryPlatformFetch($ctx, _count, ...args);
|
|
71
71
|
}
|
|
72
|
-
const
|
|
72
|
+
const _search = [1, "/v2/ontologies/{0}/objects/{1}/search", 3];
|
|
73
73
|
/**
|
|
74
74
|
* Search for objects in the specified ontology and object type. The request body is used
|
|
75
75
|
* to filter objects based on the specified query. The supported queries are:
|
|
@@ -99,10 +99,10 @@ const _searchObjectsV2 = [1, "/v2/ontologies/{0}/objects/{1}/search", 3];
|
|
|
99
99
|
* Required Scopes: [api:ontologies-read]
|
|
100
100
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/search
|
|
101
101
|
*/
|
|
102
|
-
export function
|
|
103
|
-
return $foundryPlatformFetch($ctx,
|
|
102
|
+
export function search($ctx, ...args) {
|
|
103
|
+
return $foundryPlatformFetch($ctx, _search, ...args);
|
|
104
104
|
}
|
|
105
|
-
const
|
|
105
|
+
const _aggregate = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
|
|
106
106
|
/**
|
|
107
107
|
* Perform functions on object fields in the specified ontology and object type.
|
|
108
108
|
*
|
|
@@ -113,7 +113,7 @@ const _aggregateObjectsV2 = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
|
|
|
113
113
|
* Required Scopes: [api:ontologies-read]
|
|
114
114
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate
|
|
115
115
|
*/
|
|
116
|
-
export function
|
|
117
|
-
return $foundryPlatformFetch($ctx,
|
|
116
|
+
export function aggregate($ctx, ...args) {
|
|
117
|
+
return $foundryPlatformFetch($ctx, _aggregate, ...args);
|
|
118
118
|
}
|
|
119
119
|
//# sourceMappingURL=OntologyObjectV2.js.map
|