@osdk/internal.foundry.ontologies 0.2.0-beta.7 → 0.2.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/build/browser/_components.d.ts +4 -0
- package/build/browser/_components.d.ts.map +1 -0
- package/build/browser/_components.js +17 -0
- package/build/browser/_components.js.map +1 -0
- package/build/browser/_errors.d.ts +4 -0
- package/build/browser/_errors.d.ts.map +1 -0
- package/build/browser/_errors.js +17 -0
- package/build/browser/_errors.js.map +1 -0
- package/build/browser/index.d.ts +11 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +23 -10
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Action.d.ts +105 -0
- package/build/browser/public/Action.d.ts.map +1 -0
- package/build/browser/public/Action.js +108 -3
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionType.d.ts +37 -0
- package/build/browser/public/ActionType.d.ts.map +1 -0
- package/build/browser/public/ActionType.js +48 -3
- package/build/browser/public/ActionType.js.map +1 -1
- package/build/browser/public/Attachment.d.ts +51 -0
- package/build/browser/public/Attachment.d.ts.map +1 -0
- package/build/browser/public/Attachment.js +71 -3
- package/build/browser/public/Attachment.js.map +1 -1
- package/build/browser/public/ObjectType.d.ts +70 -0
- package/build/browser/public/ObjectType.d.ts.map +1 -0
- package/build/browser/public/ObjectType.js +79 -3
- package/build/browser/public/ObjectType.js.map +1 -1
- package/build/browser/public/Ontology.d.ts +25 -0
- package/build/browser/public/Ontology.d.ts.map +1 -0
- package/build/browser/public/Ontology.js +45 -3
- package/build/browser/public/Ontology.js.map +1 -1
- package/build/browser/public/OntologyObject.d.ts +162 -0
- package/build/browser/public/OntologyObject.d.ts.map +1 -0
- package/build/browser/public/OntologyObject.js +150 -3
- package/build/browser/public/OntologyObject.js.map +1 -1
- package/build/browser/public/Query.d.ts +18 -0
- package/build/browser/public/Query.d.ts.map +1 -0
- package/build/browser/public/Query.js +31 -3
- package/build/browser/public/Query.js.map +1 -1
- package/build/browser/public/QueryType.d.ts +34 -0
- package/build/browser/public/QueryType.d.ts.map +1 -0
- package/build/browser/public/QueryType.js +48 -3
- package/build/browser/public/QueryType.js.map +1 -1
- package/build/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.js +23 -10
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Action.d.ts +22 -22
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +108 -3
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionType.d.ts +9 -6
- package/build/esm/public/ActionType.d.ts.map +1 -1
- package/build/esm/public/ActionType.js +48 -3
- package/build/esm/public/ActionType.js.map +1 -1
- package/build/esm/public/Attachment.d.ts +6 -6
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +71 -3
- package/build/esm/public/Attachment.js.map +1 -1
- package/build/esm/public/ObjectType.d.ts +15 -15
- package/build/esm/public/ObjectType.d.ts.map +1 -1
- package/build/esm/public/ObjectType.js +79 -3
- package/build/esm/public/ObjectType.js.map +1 -1
- package/build/esm/public/Ontology.d.ts +3 -3
- package/build/esm/public/Ontology.d.ts.map +1 -1
- package/build/esm/public/Ontology.js +45 -3
- package/build/esm/public/Ontology.js.map +1 -1
- package/build/esm/public/OntologyObject.d.ts +37 -37
- package/build/esm/public/OntologyObject.d.ts.map +1 -1
- package/build/esm/public/OntologyObject.js +150 -3
- package/build/esm/public/OntologyObject.js.map +1 -1
- package/build/esm/public/Query.d.ts +5 -5
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +31 -3
- package/build/esm/public/Query.js.map +1 -1
- package/build/esm/public/QueryType.d.ts +6 -6
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/QueryType.js +48 -3
- package/build/esm/public/QueryType.js.map +1 -1
- package/package.json +7 -8
- package/build/browser/chunk-5RUWELWF.js +0 -21
- package/build/browser/chunk-5RUWELWF.js.map +0 -1
- package/build/browser/chunk-ABHCL2BI.js +0 -21
- package/build/browser/chunk-ABHCL2BI.js.map +0 -1
- package/build/browser/chunk-ATSSLGFA.js +0 -31
- package/build/browser/chunk-ATSSLGFA.js.map +0 -1
- package/build/browser/chunk-MONAXU3N.js +0 -36
- package/build/browser/chunk-MONAXU3N.js.map +0 -1
- package/build/browser/chunk-PZ5AY32C.js +0 -9
- package/build/browser/chunk-PZ5AY32C.js.map +0 -1
- package/build/browser/chunk-SALCOSHR.js +0 -16
- package/build/browser/chunk-SALCOSHR.js.map +0 -1
- package/build/browser/chunk-UM4N5F6D.js +0 -21
- package/build/browser/chunk-UM4N5F6D.js.map +0 -1
- package/build/browser/chunk-VBZZKGHE.js +0 -41
- package/build/browser/chunk-VBZZKGHE.js.map +0 -1
- package/build/browser/chunk-YCOLCQXU.js +0 -31
- package/build/browser/chunk-YCOLCQXU.js.map +0 -1
- package/build/esm/chunk-5RUWELWF.js +0 -21
- package/build/esm/chunk-5RUWELWF.js.map +0 -1
- package/build/esm/chunk-ABHCL2BI.js +0 -21
- package/build/esm/chunk-ABHCL2BI.js.map +0 -1
- package/build/esm/chunk-ATSSLGFA.js +0 -31
- package/build/esm/chunk-ATSSLGFA.js.map +0 -1
- package/build/esm/chunk-MONAXU3N.js +0 -36
- package/build/esm/chunk-MONAXU3N.js.map +0 -1
- package/build/esm/chunk-PZ5AY32C.js +0 -9
- package/build/esm/chunk-PZ5AY32C.js.map +0 -1
- package/build/esm/chunk-SALCOSHR.js +0 -16
- package/build/esm/chunk-SALCOSHR.js.map +0 -1
- package/build/esm/chunk-UM4N5F6D.js +0 -21
- package/build/esm/chunk-UM4N5F6D.js.map +0 -1
- package/build/esm/chunk-VBZZKGHE.js +0 -41
- package/build/esm/chunk-VBZZKGHE.js.map +0 -1
- package/build/esm/chunk-YCOLCQXU.js +0 -31
- package/build/esm/chunk-YCOLCQXU.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Attachment.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_uploadAttachment","uploadAttachment","$ctx","args","headerParams","type","size","toString","_getAttachmentContent","getAttachmentContent","_getAttachment","getAttachment"],"sources":["Attachment.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 _uploadAttachment = [1, \"/v1/attachments/upload\", 7, \"*/*\"];\n/**\n * Upload an attachment to use in an action. Any attachment which has not been linked to an object via\n * an action within one hour after upload will be removed.\n * Previously mapped attachments which are not connected to any object anymore are also removed on\n * a biweekly basis.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v1/attachments/upload\n */\nexport function uploadAttachment($ctx, ...args) {\n const headerParams = {\n ...args[2],\n \"Content-Type\": args[2]?.[\"Content-Type\"] ?? args[0].type,\n \"Content-Length\": args[0].size.toString(),\n };\n return $foundryPlatformFetch($ctx, _uploadAttachment, args[0], args[1], headerParams);\n}\nconst _getAttachmentContent = [0, \"/v1/attachments/{0}/content\", , , \"*/*\"];\n/**\n * Get the content of an attachment.\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: /v1/attachments/{attachmentRid}/content\n */\nexport function getAttachmentContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContent, ...args);\n}\nconst _getAttachment = [0, \"/v1/attachments/{0}\"];\n/**\n * Get the metadata of an attachment.\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: /v1/attachments/{attachmentRid}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...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,iBAAiB,GAAG,CAAC,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,KAAK,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,MAAMC,YAAY,GAAG;IACjB,GAAGD,IAAI,CAAC,CAAC,CAAC;IACV,cAAc,EAAEA,IAAI,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,IAAIA,IAAI,CAAC,CAAC,CAAC,CAACE,IAAI;IACzD,gBAAgB,EAAEF,IAAI,CAAC,CAAC,CAAC,CAACG,IAAI,CAACC,QAAQ,CAAC;EAC5C,CAAC;EACD,OAAOR,qBAAqB,CAACG,IAAI,EAAEF,iBAAiB,EAAEG,IAAI,CAAC,CAAC,CAAC,EAAEA,IAAI,CAAC,CAAC,CAAC,EAAEC,YAAY,CAAC;AACzF;AACA,MAAMI,qBAAqB,GAAG,CAAC,CAAC,EAAE,6BAA6B,IAAM,KAAK,CAAC;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,oBAAoBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,qBAAqB,EAAE,GAAGL,IAAI,CAAC;AACtE;AACA,MAAMO,cAAc,GAAG,CAAC,CAAC,EAAE,qBAAqB,CAAC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,cAAc,EAAE,GAAGP,IAAI,CAAC;AAC/D","ignoreList":[]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* Lists the object types for the given Ontology.
|
|
5
|
+
*
|
|
6
|
+
* Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are
|
|
7
|
+
* more results available, at least one result will be present in the
|
|
8
|
+
* response.
|
|
9
|
+
*
|
|
10
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
13
|
+
*
|
|
14
|
+
* Required Scopes: [api:ontologies-read]
|
|
15
|
+
* URL: /v1/ontologies/{ontologyRid}/objectTypes
|
|
16
|
+
*/
|
|
17
|
+
export declare function listObjectTypes($ctx: $Client | $ClientContext, ...args: [
|
|
18
|
+
ontologyRid: _Core.OntologyRid,
|
|
19
|
+
$queryParams?: {
|
|
20
|
+
pageSize?: _Core.PageSize | undefined;
|
|
21
|
+
pageToken?: _Core.PageToken | undefined;
|
|
22
|
+
}
|
|
23
|
+
]): Promise<_Core.ListObjectTypesResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Gets a specific object type with the given API name.
|
|
26
|
+
*
|
|
27
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
*
|
|
31
|
+
* Required Scopes: [api:ontologies-read]
|
|
32
|
+
* URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
|
|
33
|
+
*/
|
|
34
|
+
export declare function getObjectType($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, objectType: _Core.ObjectTypeApiName]): Promise<_Core.ObjectType>;
|
|
35
|
+
/**
|
|
36
|
+
* List the outgoing links for an object type.
|
|
37
|
+
*
|
|
38
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
39
|
+
* following operation scopes: `api:ontologies-read`.
|
|
40
|
+
*
|
|
41
|
+
* @public
|
|
42
|
+
*
|
|
43
|
+
* Required Scopes: [api:ontologies-read]
|
|
44
|
+
* URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes
|
|
45
|
+
*/
|
|
46
|
+
export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext, ...args: [
|
|
47
|
+
ontologyRid: _Core.OntologyRid,
|
|
48
|
+
objectType: _Core.ObjectTypeApiName,
|
|
49
|
+
$queryParams?: {
|
|
50
|
+
pageSize?: _Core.PageSize | undefined;
|
|
51
|
+
pageToken?: _Core.PageToken | undefined;
|
|
52
|
+
}
|
|
53
|
+
]): Promise<_Core.ListOutgoingLinkTypesResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Get an outgoing link for an object type.
|
|
56
|
+
*
|
|
57
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
58
|
+
* following operation scopes: `api:ontologies-read`.
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
*
|
|
62
|
+
* Required Scopes: [api:ontologies-read]
|
|
63
|
+
* URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
|
|
64
|
+
*/
|
|
65
|
+
export declare function getOutgoingLinkType($ctx: $Client | $ClientContext, ...args: [
|
|
66
|
+
ontologyRid: _Core.OntologyRid,
|
|
67
|
+
objectType: _Core.ObjectTypeApiName,
|
|
68
|
+
linkType: _Core.LinkTypeApiName
|
|
69
|
+
]): Promise<_Core.LinkTypeSide>;
|
|
70
|
+
//# sourceMappingURL=ObjectType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObjectType.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAE9B,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,uBAAuB,CAAC,CAExC;AASD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAC7E,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,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,6BAA6B,CAAC,CAE9C;AAUD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,QAAQ,EAAE,KAAK,CAAC,eAAe;CAChC,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
|
|
@@ -1,4 +1,80 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _listObjectTypes = [0, "/v1/ontologies/{0}/objectTypes", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the object types for the given Ontology.
|
|
21
|
+
*
|
|
22
|
+
* Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are
|
|
23
|
+
* more results available, at least one result will be present in the
|
|
24
|
+
* response.
|
|
25
|
+
*
|
|
26
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
*
|
|
30
|
+
* Required Scopes: [api:ontologies-read]
|
|
31
|
+
* URL: /v1/ontologies/{ontologyRid}/objectTypes
|
|
32
|
+
*/
|
|
33
|
+
export function listObjectTypes($ctx, ...args) {
|
|
34
|
+
return $foundryPlatformFetch($ctx, _listObjectTypes, ...args);
|
|
35
|
+
}
|
|
36
|
+
const _getObjectType = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
|
|
37
|
+
/**
|
|
38
|
+
* Gets a specific object type with the given API name.
|
|
39
|
+
*
|
|
40
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
41
|
+
*
|
|
42
|
+
* @public
|
|
43
|
+
*
|
|
44
|
+
* Required Scopes: [api:ontologies-read]
|
|
45
|
+
* URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
|
|
46
|
+
*/
|
|
47
|
+
export function getObjectType($ctx, ...args) {
|
|
48
|
+
return $foundryPlatformFetch($ctx, _getObjectType, ...args);
|
|
49
|
+
}
|
|
50
|
+
const _listOutgoingLinkTypes = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
|
|
51
|
+
/**
|
|
52
|
+
* List the outgoing links for an object type.
|
|
53
|
+
*
|
|
54
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
55
|
+
* following operation scopes: `api:ontologies-read`.
|
|
56
|
+
*
|
|
57
|
+
* @public
|
|
58
|
+
*
|
|
59
|
+
* Required Scopes: [api:ontologies-read]
|
|
60
|
+
* URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes
|
|
61
|
+
*/
|
|
62
|
+
export function listOutgoingLinkTypes($ctx, ...args) {
|
|
63
|
+
return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);
|
|
64
|
+
}
|
|
65
|
+
const _getOutgoingLinkType = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}"];
|
|
66
|
+
/**
|
|
67
|
+
* Get an outgoing link for an object type.
|
|
68
|
+
*
|
|
69
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
70
|
+
* following operation scopes: `api:ontologies-read`.
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*
|
|
74
|
+
* Required Scopes: [api:ontologies-read]
|
|
75
|
+
* URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
|
|
76
|
+
*/
|
|
77
|
+
export function getOutgoingLinkType($ctx, ...args) {
|
|
78
|
+
return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
|
|
79
|
+
}
|
|
4
80
|
//# sourceMappingURL=ObjectType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"file":"ObjectType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listObjectTypes","listObjectTypes","$ctx","args","_getObjectType","getObjectType","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listObjectTypes = [0, \"/v1/ontologies/{0}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes\n */\nexport function listObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectTypes, ...args);\n}\nconst _getObjectType = [0, \"/v1/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: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}\n */\nexport function getObjectType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectType, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v1/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: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}\"];\n/**\n * Get an outgoing link for an object type.\n *\n * 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: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;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,cAAc,GAAG,CAAC,CAAC,EAAE,oCAAoC,CAAC;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,cAAc,EAAE,GAAGD,IAAI,CAAC;AAC/D;AACA,MAAMG,sBAAsB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,sBAAsB,EAAE,GAAGH,IAAI,CAAC;AACvE;AACA,MAAMK,oBAAoB,GAAG,CAAC,CAAC,EAAE,0DAA0D,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,oBAAoB,EAAE,GAAGL,IAAI,CAAC;AACrE","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* Lists the Ontologies visible to the current user.
|
|
5
|
+
*
|
|
6
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:ontologies-read]
|
|
11
|
+
* URL: /v1/ontologies
|
|
12
|
+
*/
|
|
13
|
+
export declare function listOntologies($ctx: $Client | $ClientContext, ...args: []): Promise<_Core.ListOntologiesResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Gets a specific ontology with the given Ontology RID.
|
|
16
|
+
*
|
|
17
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
18
|
+
*
|
|
19
|
+
* @public
|
|
20
|
+
*
|
|
21
|
+
* Required Scopes: [api:ontologies-read]
|
|
22
|
+
* URL: /v1/ontologies/{ontologyRid}
|
|
23
|
+
*/
|
|
24
|
+
export declare function getOntology($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid]): Promise<_Core.Ontology>;
|
|
25
|
+
//# sourceMappingURL=Ontology.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ontology.d.ts","sourceRoot":"","sources":["../../../src/public/Ontology.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;AAU7B;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,GACxC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAEzB"}
|
|
@@ -1,4 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _listOntologies = [0, "/v1/ontologies"];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the Ontologies visible to the current user.
|
|
21
|
+
*
|
|
22
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:ontologies-read]
|
|
27
|
+
* URL: /v1/ontologies
|
|
28
|
+
*/
|
|
29
|
+
export function listOntologies($ctx, ...args) {
|
|
30
|
+
return $foundryPlatformFetch($ctx, _listOntologies, ...args);
|
|
31
|
+
}
|
|
32
|
+
const _getOntology = [0, "/v1/ontologies/{0}"];
|
|
33
|
+
/**
|
|
34
|
+
* Gets a specific ontology with the given Ontology RID.
|
|
35
|
+
*
|
|
36
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
37
|
+
*
|
|
38
|
+
* @public
|
|
39
|
+
*
|
|
40
|
+
* Required Scopes: [api:ontologies-read]
|
|
41
|
+
* URL: /v1/ontologies/{ontologyRid}
|
|
42
|
+
*/
|
|
43
|
+
export function getOntology($ctx, ...args) {
|
|
44
|
+
return $foundryPlatformFetch($ctx, _getOntology, ...args);
|
|
45
|
+
}
|
|
4
46
|
//# sourceMappingURL=Ontology.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Ontology.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listOntologies","listOntologies","$ctx","args","_getOntology","getOntology"],"sources":["Ontology.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listOntologies = [0, \"/v1/ontologies\"];\n/**\n * Lists the Ontologies visible to the current user.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies\n */\nexport function listOntologies($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOntologies, ...args);\n}\nconst _getOntology = [0, \"/v1/ontologies/{0}\"];\n/**\n * Gets a specific ontology with the given Ontology RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}\n */\nexport function getOntology($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOntology, ...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,eAAe,GAAG,CAAC,CAAC,EAAE,gBAAgB,CAAC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,eAAe,EAAE,GAAGG,IAAI,CAAC;AAChE;AACA,MAAMC,YAAY,GAAG,CAAC,CAAC,EAAE,oBAAoB,CAAC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,YAAY,EAAE,GAAGD,IAAI,CAAC;AAC7D","ignoreList":[]}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* Lists the objects for the given Ontology and object type.
|
|
5
|
+
*
|
|
6
|
+
* This endpoint supports filtering objects.
|
|
7
|
+
* See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
|
|
8
|
+
*
|
|
9
|
+
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
10
|
+
* repeated objects in the response pages.
|
|
11
|
+
*
|
|
12
|
+
* 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
|
|
13
|
+
* 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.
|
|
14
|
+
*
|
|
15
|
+
* Each page may be smaller or larger than the requested page size. However, it
|
|
16
|
+
* is guaranteed that if there are more results available, at least one result will be present
|
|
17
|
+
* in the response.
|
|
18
|
+
*
|
|
19
|
+
* Note that null value properties will not be returned.
|
|
20
|
+
*
|
|
21
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
22
|
+
*
|
|
23
|
+
* @public
|
|
24
|
+
*
|
|
25
|
+
* Required Scopes: [api:ontologies-read]
|
|
26
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
|
|
27
|
+
*/
|
|
28
|
+
export declare function listObjects($ctx: $Client | $ClientContext, ...args: [
|
|
29
|
+
ontologyRid: _Core.OntologyRid,
|
|
30
|
+
objectType: _Core.ObjectTypeApiName,
|
|
31
|
+
$queryParams: {
|
|
32
|
+
pageSize?: _Core.PageSize | undefined;
|
|
33
|
+
pageToken?: _Core.PageToken | undefined;
|
|
34
|
+
properties: Array<_Core.SelectedPropertyApiName>;
|
|
35
|
+
orderBy?: _Core.OrderBy | undefined;
|
|
36
|
+
}
|
|
37
|
+
]): Promise<_Core.ListObjectsResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Gets a specific object with the given primary key.
|
|
40
|
+
*
|
|
41
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
42
|
+
*
|
|
43
|
+
* @public
|
|
44
|
+
*
|
|
45
|
+
* Required Scopes: [api:ontologies-read]
|
|
46
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
|
|
47
|
+
*/
|
|
48
|
+
export declare function getObject($ctx: $Client | $ClientContext, ...args: [
|
|
49
|
+
ontologyRid: _Core.OntologyRid,
|
|
50
|
+
objectType: _Core.ObjectTypeApiName,
|
|
51
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
52
|
+
$queryParams: {
|
|
53
|
+
properties: Array<_Core.SelectedPropertyApiName>;
|
|
54
|
+
}
|
|
55
|
+
]): Promise<_Core.OntologyObject>;
|
|
56
|
+
/**
|
|
57
|
+
* Lists the linked objects for a specific object and the given link type.
|
|
58
|
+
*
|
|
59
|
+
* This endpoint supports filtering objects.
|
|
60
|
+
* See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
|
|
61
|
+
*
|
|
62
|
+
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
63
|
+
* repeated objects in the response pages.
|
|
64
|
+
*
|
|
65
|
+
* 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
|
|
66
|
+
* 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.
|
|
67
|
+
*
|
|
68
|
+
* Each page may be smaller or larger than the requested page size. However, it
|
|
69
|
+
* is guaranteed that if there are more results available, at least one result will be present
|
|
70
|
+
* in the response.
|
|
71
|
+
*
|
|
72
|
+
* Note that null value properties will not be returned.
|
|
73
|
+
*
|
|
74
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*
|
|
78
|
+
* Required Scopes: [api:ontologies-read]
|
|
79
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}
|
|
80
|
+
*/
|
|
81
|
+
export declare function listLinkedObjects($ctx: $Client | $ClientContext, ...args: [
|
|
82
|
+
ontologyRid: _Core.OntologyRid,
|
|
83
|
+
objectType: _Core.ObjectTypeApiName,
|
|
84
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
85
|
+
linkType: _Core.LinkTypeApiName,
|
|
86
|
+
$queryParams: {
|
|
87
|
+
pageSize?: _Core.PageSize | undefined;
|
|
88
|
+
pageToken?: _Core.PageToken | undefined;
|
|
89
|
+
properties: Array<_Core.SelectedPropertyApiName>;
|
|
90
|
+
orderBy?: _Core.OrderBy | undefined;
|
|
91
|
+
}
|
|
92
|
+
]): Promise<_Core.ListLinkedObjectsResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* Get a specific linked object that originates from another object. If there is no link between the two objects,
|
|
95
|
+
* LinkedObjectNotFound is thrown.
|
|
96
|
+
*
|
|
97
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*
|
|
101
|
+
* Required Scopes: [api:ontologies-read]
|
|
102
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
|
|
103
|
+
*/
|
|
104
|
+
export declare function getLinkedObject($ctx: $Client | $ClientContext, ...args: [
|
|
105
|
+
ontologyRid: _Core.OntologyRid,
|
|
106
|
+
objectType: _Core.ObjectTypeApiName,
|
|
107
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
108
|
+
linkType: _Core.LinkTypeApiName,
|
|
109
|
+
linkedObjectPrimaryKey: _Core.PropertyValueEscapedString,
|
|
110
|
+
$queryParams: {
|
|
111
|
+
properties: Array<_Core.SelectedPropertyApiName>;
|
|
112
|
+
}
|
|
113
|
+
]): Promise<_Core.OntologyObject>;
|
|
114
|
+
/**
|
|
115
|
+
* Search for objects in the specified ontology and object type. The request body is used
|
|
116
|
+
* to filter objects based on the specified query. The supported queries are:
|
|
117
|
+
*
|
|
118
|
+
* | Query type | Description | Supported Types |
|
|
119
|
+
* |----------|-----------------------------------------------------------------------------------|---------------------------------|
|
|
120
|
+
* | lt | The provided property is less than the provided value. | number, string, date, timestamp |
|
|
121
|
+
* | gt | The provided property is greater than the provided value. | number, string, date, timestamp |
|
|
122
|
+
* | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |
|
|
123
|
+
* | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |
|
|
124
|
+
* | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |
|
|
125
|
+
* | isNull | The provided property is (or is not) null. | all |
|
|
126
|
+
* | contains | The provided property contains the provided value. | array |
|
|
127
|
+
* | not | The sub-query does not match. | N/A (applied on a query) |
|
|
128
|
+
* | and | All the sub-queries match. | N/A (applied on queries) |
|
|
129
|
+
* | or | At least one of the sub-queries match. | N/A (applied on queries) |
|
|
130
|
+
* | prefix | The provided property starts with the provided value. | string |
|
|
131
|
+
* | phrase | The provided property contains the provided value as a substring. | string |
|
|
132
|
+
* | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
|
|
133
|
+
* | allTerms | The provided property contains all the terms separated by whitespace. | string | |
|
|
134
|
+
*
|
|
135
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*
|
|
139
|
+
* Required Scopes: [api:ontologies-read]
|
|
140
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
|
|
141
|
+
*/
|
|
142
|
+
export declare function searchObjects($ctx: $Client | $ClientContext, ...args: [
|
|
143
|
+
ontologyRid: _Core.OntologyRid,
|
|
144
|
+
objectType: _Core.ObjectTypeApiName,
|
|
145
|
+
$body: _Core.SearchObjectsRequest
|
|
146
|
+
]): Promise<_Core.SearchObjectsResponse>;
|
|
147
|
+
/**
|
|
148
|
+
* Perform functions on object fields in the specified ontology and object type.
|
|
149
|
+
*
|
|
150
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
151
|
+
*
|
|
152
|
+
* @public
|
|
153
|
+
*
|
|
154
|
+
* Required Scopes: [api:ontologies-read]
|
|
155
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
|
|
156
|
+
*/
|
|
157
|
+
export declare function aggregateObjects($ctx: $Client | $ClientContext, ...args: [
|
|
158
|
+
ontologyRid: _Core.OntologyRid,
|
|
159
|
+
objectType: _Core.ObjectTypeApiName,
|
|
160
|
+
$body: _Core.AggregateObjectsRequest
|
|
161
|
+
]): Promise<_Core.AggregateObjectsResponse>;
|
|
162
|
+
//# sourceMappingURL=OntologyObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OntologyObject.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObject.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAmB7B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IAEnC,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QACjD,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC;KACrC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAEpC;AAWD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAE5C,YAAY,EAAE;QAAE,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAA;KAAE;CACnE,GACA,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAE/B;AAiBD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAE/B,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QACjD,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC;KACrC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAC/B,sBAAsB,EAAE,KAAK,CAAC,0BAA0B;IAExD,YAAY,EAAE;QAAE,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAA;KAAE;CACnE,GACA,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAE/B;AAUD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,oBAAoB;CAClC,GACA,OAAO,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAEtC;AAUD;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,uBAAuB;CACrC,GACA,OAAO,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAEzC"}
|
|
@@ -1,4 +1,151 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _listObjects = [0, "/v1/ontologies/{0}/objects/{1}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the objects for the given Ontology and object type.
|
|
21
|
+
*
|
|
22
|
+
* This endpoint supports filtering objects.
|
|
23
|
+
* See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
|
|
24
|
+
*
|
|
25
|
+
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
26
|
+
* repeated objects in the response pages.
|
|
27
|
+
*
|
|
28
|
+
* 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
|
|
29
|
+
* 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.
|
|
30
|
+
*
|
|
31
|
+
* Each page may be smaller or larger than the requested page size. However, it
|
|
32
|
+
* is guaranteed that if there are more results available, at least one result will be present
|
|
33
|
+
* in the response.
|
|
34
|
+
*
|
|
35
|
+
* Note that null value properties will not be returned.
|
|
36
|
+
*
|
|
37
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
38
|
+
*
|
|
39
|
+
* @public
|
|
40
|
+
*
|
|
41
|
+
* Required Scopes: [api:ontologies-read]
|
|
42
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
|
|
43
|
+
*/
|
|
44
|
+
export function listObjects($ctx, ...args) {
|
|
45
|
+
return $foundryPlatformFetch($ctx, _listObjects, ...args);
|
|
46
|
+
}
|
|
47
|
+
const _getObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}", 2];
|
|
48
|
+
/**
|
|
49
|
+
* Gets a specific object with the given primary key.
|
|
50
|
+
*
|
|
51
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
*
|
|
55
|
+
* Required Scopes: [api:ontologies-read]
|
|
56
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
|
|
57
|
+
*/
|
|
58
|
+
export function getObject($ctx, ...args) {
|
|
59
|
+
return $foundryPlatformFetch($ctx, _getObject, ...args);
|
|
60
|
+
}
|
|
61
|
+
const _listLinkedObjects = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}", 2];
|
|
62
|
+
/**
|
|
63
|
+
* Lists the linked objects for a specific object and the given link type.
|
|
64
|
+
*
|
|
65
|
+
* This endpoint supports filtering objects.
|
|
66
|
+
* See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
|
|
67
|
+
*
|
|
68
|
+
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
69
|
+
* repeated objects in the response pages.
|
|
70
|
+
*
|
|
71
|
+
* 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
|
|
72
|
+
* 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.
|
|
73
|
+
*
|
|
74
|
+
* Each page may be smaller or larger than the requested page size. However, it
|
|
75
|
+
* is guaranteed that if there are more results available, at least one result will be present
|
|
76
|
+
* in the response.
|
|
77
|
+
*
|
|
78
|
+
* Note that null value properties will not be returned.
|
|
79
|
+
*
|
|
80
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*
|
|
84
|
+
* Required Scopes: [api:ontologies-read]
|
|
85
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}
|
|
86
|
+
*/
|
|
87
|
+
export function listLinkedObjects($ctx, ...args) {
|
|
88
|
+
return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);
|
|
89
|
+
}
|
|
90
|
+
const _getLinkedObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}", 2];
|
|
91
|
+
/**
|
|
92
|
+
* Get a specific linked object that originates from another object. If there is no link between the two objects,
|
|
93
|
+
* LinkedObjectNotFound is thrown.
|
|
94
|
+
*
|
|
95
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*
|
|
99
|
+
* Required Scopes: [api:ontologies-read]
|
|
100
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
|
|
101
|
+
*/
|
|
102
|
+
export function getLinkedObject($ctx, ...args) {
|
|
103
|
+
return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);
|
|
104
|
+
}
|
|
105
|
+
const _searchObjects = [1, "/v1/ontologies/{0}/objects/{1}/search", 1];
|
|
106
|
+
/**
|
|
107
|
+
* Search for objects in the specified ontology and object type. The request body is used
|
|
108
|
+
* to filter objects based on the specified query. The supported queries are:
|
|
109
|
+
*
|
|
110
|
+
* | Query type | Description | Supported Types |
|
|
111
|
+
* |----------|-----------------------------------------------------------------------------------|---------------------------------|
|
|
112
|
+
* | lt | The provided property is less than the provided value. | number, string, date, timestamp |
|
|
113
|
+
* | gt | The provided property is greater than the provided value. | number, string, date, timestamp |
|
|
114
|
+
* | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |
|
|
115
|
+
* | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |
|
|
116
|
+
* | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |
|
|
117
|
+
* | isNull | The provided property is (or is not) null. | all |
|
|
118
|
+
* | contains | The provided property contains the provided value. | array |
|
|
119
|
+
* | not | The sub-query does not match. | N/A (applied on a query) |
|
|
120
|
+
* | and | All the sub-queries match. | N/A (applied on queries) |
|
|
121
|
+
* | or | At least one of the sub-queries match. | N/A (applied on queries) |
|
|
122
|
+
* | prefix | The provided property starts with the provided value. | string |
|
|
123
|
+
* | phrase | The provided property contains the provided value as a substring. | string |
|
|
124
|
+
* | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
|
|
125
|
+
* | allTerms | The provided property contains all the terms separated by whitespace. | string | |
|
|
126
|
+
*
|
|
127
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*
|
|
131
|
+
* Required Scopes: [api:ontologies-read]
|
|
132
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
|
|
133
|
+
*/
|
|
134
|
+
export function searchObjects($ctx, ...args) {
|
|
135
|
+
return $foundryPlatformFetch($ctx, _searchObjects, ...args);
|
|
136
|
+
}
|
|
137
|
+
const _aggregateObjects = [1, "/v1/ontologies/{0}/objects/{1}/aggregate", 1];
|
|
138
|
+
/**
|
|
139
|
+
* Perform functions on object fields in the specified ontology and object type.
|
|
140
|
+
*
|
|
141
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
142
|
+
*
|
|
143
|
+
* @public
|
|
144
|
+
*
|
|
145
|
+
* Required Scopes: [api:ontologies-read]
|
|
146
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
|
|
147
|
+
*/
|
|
148
|
+
export function aggregateObjects($ctx, ...args) {
|
|
149
|
+
return $foundryPlatformFetch($ctx, _aggregateObjects, ...args);
|
|
150
|
+
}
|
|
4
151
|
//# sourceMappingURL=OntologyObject.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"OntologyObject.js"}
|
|
1
|
+
{"version":3,"file":"OntologyObject.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listObjects","listObjects","$ctx","args","_getObject","getObject","_listLinkedObjects","listLinkedObjects","_getLinkedObject","getLinkedObject","_searchObjects","searchObjects","_aggregateObjects","aggregateObjects"],"sources":["OntologyObject.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listObjects = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}\n */\nexport function listObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjects, ...args);\n}\nconst _getObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}\n */\nexport function getObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObject, ...args);\n}\nconst _listLinkedObjects = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object. If there is no link between the two objects,\n * LinkedObjectNotFound is thrown.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);\n}\nconst _searchObjects = [1, \"/v1/ontologies/{0}/objects/{1}/search\", 1];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\n *\n * | Query type | Description | Supported Types |\n * |----------|-----------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | prefix | The provided property starts with the provided value. | string |\n * | phrase | The provided property contains the provided value as a substring. | string |\n * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | allTerms | The provided property contains all the terms separated by whitespace. | string | |\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search\n */\nexport function searchObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjects, ...args);\n}\nconst _aggregateObjects = [1, \"/v1/ontologies/{0}/objects/{1}/aggregate\", 1];\n/**\n * Perform functions on object fields in the specified ontology and object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate\n */\nexport function aggregateObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjects, ...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,YAAY,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AAC7D;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,WAAWA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,YAAY,EAAE,GAAGG,IAAI,CAAC;AAC7D;AACA,MAAMC,UAAU,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,UAAU,EAAE,GAAGD,IAAI,CAAC;AAC3D;AACA,MAAMG,kBAAkB,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,kBAAkB,EAAE,GAAGH,IAAI,CAAC;AACnE;AACA,MAAMK,gBAAgB,GAAG,CAAC,CAAC,EAAE,kDAAkD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,gBAAgB,EAAE,GAAGL,IAAI,CAAC;AACjE;AACA,MAAMO,cAAc,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AACtE;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,aAAaA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,cAAc,EAAE,GAAGP,IAAI,CAAC;AAC/D;AACA,MAAMS,iBAAiB,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,iBAAiB,EAAE,GAAGT,IAAI,CAAC;AAClE","ignoreList":[]}
|