@osdk/internal.foundry.ontologies 0.1.0 → 0.1.2
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 +18 -0
- package/build/browser/chunk-67IRYQ4I.js +1 -1
- package/build/browser/chunk-67IRYQ4I.js.map +1 -1
- package/build/browser/chunk-6OWDPN5M.js +1 -1
- package/build/browser/chunk-6OWDPN5M.js.map +1 -1
- package/build/browser/chunk-CBKBUZ63.js +1 -1
- package/build/browser/chunk-CBKBUZ63.js.map +1 -1
- package/build/browser/chunk-JDBI2K4S.js +1 -1
- package/build/browser/chunk-JDBI2K4S.js.map +1 -1
- package/build/browser/chunk-LTUKKONO.js +1 -1
- package/build/browser/chunk-LTUKKONO.js.map +1 -1
- package/build/browser/chunk-M2AD7ARN.js +1 -1
- package/build/browser/chunk-M2AD7ARN.js.map +1 -1
- package/build/browser/chunk-PZ5AY32C.js +1 -1
- package/build/browser/chunk-PZ5AY32C.js.map +1 -1
- package/build/browser/index.js +1 -1
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/ActionType.js +1 -1
- package/build/browser/public/ActionType.js.map +1 -1
- package/build/browser/public/Attachment.js +1 -1
- package/build/browser/public/Attachment.js.map +1 -1
- package/build/browser/public/ObjectType.js +1 -1
- package/build/browser/public/ObjectType.js.map +1 -1
- package/build/browser/public/Ontology.js +1 -1
- package/build/browser/public/Ontology.js.map +1 -1
- package/build/browser/public/OntologyObject.js +1 -1
- package/build/browser/public/OntologyObject.js.map +1 -1
- package/build/browser/public/QueryType.js +1 -1
- package/build/browser/public/QueryType.js.map +1 -1
- package/build/cjs/chunk-3MBV6XL2.cjs +1 -1
- package/build/cjs/chunk-3MBV6XL2.cjs.map +1 -1
- package/build/cjs/chunk-G6AUHEZZ.cjs +1 -1
- package/build/cjs/chunk-G6AUHEZZ.cjs.map +1 -1
- package/build/cjs/chunk-JL5OW6PQ.cjs +1 -1
- package/build/cjs/chunk-JL5OW6PQ.cjs.map +1 -1
- package/build/cjs/chunk-KQUKIHQA.cjs +1 -1
- package/build/cjs/chunk-KQUKIHQA.cjs.map +1 -1
- package/build/cjs/chunk-Q7SFCCGT.cjs +1 -1
- package/build/cjs/chunk-Q7SFCCGT.cjs.map +1 -1
- package/build/cjs/chunk-SHG4WIV3.cjs +1 -1
- package/build/cjs/chunk-SHG4WIV3.cjs.map +1 -1
- package/build/cjs/chunk-UHRLPWFY.cjs +1 -1
- package/build/cjs/chunk-UHRLPWFY.cjs.map +1 -1
- package/build/cjs/index.cjs +1 -1
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/public/ActionType.cjs +1 -1
- package/build/cjs/public/ActionType.cjs.map +1 -1
- package/build/cjs/public/Attachment.cjs +1 -1
- package/build/cjs/public/Attachment.cjs.map +1 -1
- package/build/cjs/public/ObjectType.cjs +1 -1
- package/build/cjs/public/ObjectType.cjs.map +1 -1
- package/build/cjs/public/Ontology.cjs +1 -1
- package/build/cjs/public/Ontology.cjs.map +1 -1
- package/build/cjs/public/OntologyObject.cjs +1 -1
- package/build/cjs/public/OntologyObject.cjs.map +1 -1
- package/build/cjs/public/QueryType.cjs +1 -1
- package/build/cjs/public/QueryType.cjs.map +1 -1
- package/build/esm/chunk-67IRYQ4I.js +1 -1
- package/build/esm/chunk-67IRYQ4I.js.map +1 -1
- package/build/esm/chunk-6OWDPN5M.js +1 -1
- package/build/esm/chunk-6OWDPN5M.js.map +1 -1
- package/build/esm/chunk-CBKBUZ63.js +1 -1
- package/build/esm/chunk-CBKBUZ63.js.map +1 -1
- package/build/esm/chunk-JDBI2K4S.js +1 -1
- package/build/esm/chunk-JDBI2K4S.js.map +1 -1
- package/build/esm/chunk-LTUKKONO.js +1 -1
- package/build/esm/chunk-LTUKKONO.js.map +1 -1
- package/build/esm/chunk-M2AD7ARN.js +1 -1
- package/build/esm/chunk-M2AD7ARN.js.map +1 -1
- package/build/esm/chunk-PZ5AY32C.js +1 -1
- package/build/esm/chunk-PZ5AY32C.js.map +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/ActionType.js +1 -1
- package/build/esm/public/ActionType.js.map +1 -1
- package/build/esm/public/Attachment.js +1 -1
- package/build/esm/public/Attachment.js.map +1 -1
- package/build/esm/public/ObjectType.js +1 -1
- package/build/esm/public/ObjectType.js.map +1 -1
- package/build/esm/public/Ontology.js +1 -1
- package/build/esm/public/Ontology.js.map +1 -1
- package/build/esm/public/OntologyObject.js +1 -1
- package/build/esm/public/OntologyObject.js.map +1 -1
- package/build/esm/public/QueryType.js +1 -1
- package/build/esm/public/QueryType.js.map +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @osdk/internal.foundry.ontologies
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [68609fe]
|
|
8
|
+
- @osdk/shared.net@1.12.2
|
|
9
|
+
- @osdk/api@1.9.2
|
|
10
|
+
- @osdk/shared.net.platformapi@0.2.1
|
|
11
|
+
- @osdk/internal.foundry.core@0.1.2
|
|
12
|
+
|
|
13
|
+
## 0.1.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- @osdk/api@1.9.1
|
|
18
|
+
- @osdk/shared.net@1.12.1
|
|
19
|
+
- @osdk/internal.foundry.core@0.1.1
|
|
20
|
+
|
|
3
21
|
## 0.1.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Attachment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/Attachment.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,oBAAA,EAAA,MAAA,oBAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,wBAAA,EAA0B,GAAG,KAAK,CAAA,CAAA;AAezD,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D,CAAA;AACA,IAAM,wBAAwB,CAAC,CAAA,EAAG,6BAA8B,MAAG,KAAK,CAAA,CAAA;AAWjE,SAAS,oBAAA,CAAqB,SAAS,IAAM,EAAA;AAClD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,qBAAuB,EAAA,GAAG,IAAI,CAAA,CAAA;AACnE,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,qBAAqB,CAAA,CAAA;AAWzC,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D","file":"chunk-67IRYQ4I.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _uploadAttachment = [1, \"/v1/attachments/upload\", 7, \"*/*\"];\n\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:write-data`.\n *\n * Required Scopes: [api:write-data]\n * URL: /v1/attachments/upload\n */\nexport function uploadAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadAttachment, ...args);\n}\nconst _getAttachmentContent = [0, \"/v1/attachments/{0}/content\",,, \"*/*\"];\n\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/attachments/{attachmentRid}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...args);\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Ontology.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/Ontology.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,gBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,gBAAA,EAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,eAAA,GAAkB,CAAC,CAAA,EAAG,gBAAgB,CAAA,CAAA;AAUrC,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,YAAA,GAAe,CAAC,CAAA,EAAG,oBAAoB,CAAA,CAAA;AAUtC,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D","file":"chunk-6OWDPN5M.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listOntologies = [0, \"/v1/ontologies\"];\n\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}\n */\nexport function getOntology($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOntology, ...args);\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/QueryType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/QueryType.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,iBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,iBAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,eAAkB,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAavD,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,CAAC,CAAA,CAAA;AAUzD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,wCAAA,EAA0C,CAAC,CAAA,CAAA;AAU9D,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-CBKBUZ63.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listQueryTypes = [0, \"/v1/ontologies/{0}/queryTypes\", 2];\n\n/**\n * Lists the query types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes\n */\nexport function listQueryTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);\n}\nconst _getQueryType = [0, \"/v1/ontologies/{0}/queryTypes/{1}\", 2];\n\n/**\n * Gets a specific query type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}\n */\nexport function getQueryType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getQueryType, ...args);\n}\nconst _executeQuery = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 3];\n\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute\n */\nexport function executeQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _executeQuery, ...args);\n}"]}
|
|
@@ -27,5 +27,5 @@ function getOutgoingLinkType($ctx, ...args) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export { ObjectType_exports, getObjectType, getOutgoingLinkType, listObjectTypes, listOutgoingLinkTypes };
|
|
30
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=chunk-JDBI2K4S.js.map
|
|
31
31
|
//# sourceMappingURL=chunk-JDBI2K4S.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/ObjectType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/ObjectType.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,mBAAA,EAAA,MAAA,mBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,qBAAA,EAAA,MAAA,qBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAczD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,oCAAoC,CAAA,CAAA;AAUxD,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,sBAAyB,GAAA,CAAC,CAAG,EAAA,sDAAA,EAAwD,CAAC,CAAA,CAAA;AAWrF,SAAS,qBAAA,CAAsB,SAAS,IAAM,EAAA;AACnD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,sBAAwB,EAAA,GAAG,IAAI,CAAA,CAAA;AACpE,CAAA;AACA,IAAM,oBAAA,GAAuB,CAAC,CAAA,EAAG,0DAA0D,CAAA,CAAA;AAWpF,SAAS,mBAAA,CAAoB,SAAS,IAAM,EAAA;AACjD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,oBAAsB,EAAA,GAAG,IAAI,CAAA,CAAA;AAClE","file":"chunk-JDBI2K4S.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listObjectTypes = [0, \"/v1/ontologies/{0}/objectTypes\", 2];\n\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);\n}"]}
|
|
@@ -42,5 +42,5 @@ function validateAction($ctx, ...args) {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export { ActionType_exports, applyAction, applyActionAsync, applyActionBatch, getActionType, getAsyncActionStatus, listActionTypes, validateAction };
|
|
45
|
-
//# sourceMappingURL=
|
|
45
|
+
//# sourceMappingURL=chunk-LTUKKONO.js.map
|
|
46
46
|
//# sourceMappingURL=chunk-LTUKKONO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/ActionType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/ActionType.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,oBAAA,EAAA,MAAA,oBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAazD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,oCAAoC,CAAA,CAAA;AAUxD,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,YAAe,GAAA,CAAC,CAAG,EAAA,sCAAA,EAAwC,CAAC,CAAA,CAAA;AAe3D,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,2CAAA,EAA6C,CAAC,CAAA,CAAA;AAkBrE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,2CAAA,EAA6C,CAAC,CAAA,CAAA;AAerE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D,CAAA;AACA,IAAM,qBAAwB,GAAA,CAAC,CAAG,EAAA,+CAAA,EAAiD,CAAC,CAAA,CAAA;AAM7E,SAAS,oBAAA,CAAqB,SAAS,IAAM,EAAA;AAClD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,qBAAuB,EAAA,GAAG,IAAI,CAAA,CAAA;AACnE,CAAA;AACA,IAAM,eAAkB,GAAA,CAAC,CAAG,EAAA,yCAAA,EAA2C,CAAC,CAAA,CAAA;AAiBjE,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D","file":"chunk-LTUKKONO.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listActionTypes = [0, \"/v1/ontologies/{0}/actionTypes\", 2];\n\n/**\n * Lists the action 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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/actionTypes\n */\nexport function listActionTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listActionTypes, ...args);\n}\nconst _getActionType = [0, \"/v1/ontologies/{0}/actionTypes/{1}\"];\n\n/**\n * Gets a specific action type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/actionTypes/{actionTypeApiName}\n */\nexport function getActionType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getActionType, ...args);\n}\nconst _applyAction = [1, \"/v1/ontologies/{0}/actions/{1}/apply\", 1];\n\n/**\n * Applies an action using the given parameters. Changes to the Ontology are eventually consistent and may take\n * some time to be visible.\n *\n * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data api:write-data`.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply\n */\nexport function applyAction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyAction, ...args);\n}\nconst _applyActionBatch = [1, \"/v1/ontologies/{0}/actions/{1}/applyBatch\", 1];\n\n/**\n * Applies multiple actions (of the same Action Type) using the given parameters.\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not\n * call Functions may receive a higher limit.\n *\n * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) and\n * [notifications](/docs/foundry/action-types/notifications/) are not currently supported by this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data api:write-data`.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch\n */\nexport function applyActionBatch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyActionBatch, ...args);\n}\nconst _applyActionAsync = [1, \"/v1/ontologies/{0}/actions/{1}/applyAsync\", 3];\n\n/**\n * Applies an action asynchronously using the given parameters. Changes to the Ontology are eventually consistent\n * and may take some time to be visible.\n *\n * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently\n * supported by this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data api:write-data`.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync\n */\nexport function applyActionAsync($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyActionAsync, ...args);\n}\nconst _getAsyncActionStatus = [0, \"/v1/ontologies/{0}/actions/{1}/applyAsync/{2}\", 2];\n\n/**\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}\n */\nexport function getAsyncActionStatus($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAsyncActionStatus, ...args);\n}\nconst _validateAction = [1, \"/v1/ontologies/{0}/actions/{1}/validate\", 1];\n\n/**\n * Validates if an action can be run with the given set of parameters.\n * The response contains the evaluation of parameters and **submission criteria**\n * that determine if the request is `VALID` or `INVALID`.\n * For performance reasons, validations will not consider existing objects or other data in Foundry.\n * For example, the uniqueness of a primary key or the existence of a user ID will not be checked.\n * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint. Unspecified parameters will be given a default value of `null`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate\n */\nexport function validateAction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _validateAction, ...args);\n}"]}
|
|
@@ -37,5 +37,5 @@ function aggregateObjects($ctx, ...args) {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export { OntologyObject_exports, aggregateObjects, getLinkedObject, getObject, listLinkedObjects, listObjects, searchObjects };
|
|
40
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=chunk-M2AD7ARN.js.map
|
|
41
41
|
//# sourceMappingURL=chunk-M2AD7ARN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/OntologyObject.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/OntologyObject.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,sBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,sBAAA,EAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,YAAe,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAyBrD,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,oCAAA,EAAsC,CAAC,CAAA,CAAA;AAUvD,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,8CAAA,EAAgD,CAAC,CAAA,CAAA;AAyBzE,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,kDAAA,EAAoD,CAAC,CAAA,CAAA;AAW3E,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,uCAAA,EAAyC,CAAC,CAAA,CAAA;AA4B9D,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,0CAAA,EAA4C,CAAC,CAAA,CAAA;AAUpE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D","file":"chunk-M2AD7ARN.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listObjects = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n\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](/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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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](/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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate\n */\nexport function aggregateObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjects, ...args);\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-PZ5AY32C.js"}
|
package/build/browser/index.js
CHANGED
|
@@ -5,5 +5,5 @@ export { Ontology_exports as Ontologies } from './chunk-6OWDPN5M.js';
|
|
|
5
5
|
export { OntologyObject_exports as OntologyObjects } from './chunk-M2AD7ARN.js';
|
|
6
6
|
export { QueryType_exports as QueryTypes } from './chunk-CBKBUZ63.js';
|
|
7
7
|
import './chunk-PZ5AY32C.js';
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { applyAction, applyActionAsync, applyActionBatch, getActionType, getAsyncActionStatus, listActionTypes, validateAction } from '../chunk-LTUKKONO.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=ActionType.js.map
|
|
4
4
|
//# sourceMappingURL=ActionType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ActionType.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Attachment.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ObjectType.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Ontology.js"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { aggregateObjects, getLinkedObject, getObject, listLinkedObjects, listObjects, searchObjects } from '../chunk-M2AD7ARN.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=OntologyObject.js.map
|
|
4
4
|
//# sourceMappingURL=OntologyObject.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"OntologyObject.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"QueryType.js"}
|
|
@@ -33,5 +33,5 @@ exports.getObjectType = getObjectType;
|
|
|
33
33
|
exports.getOutgoingLinkType = getOutgoingLinkType;
|
|
34
34
|
exports.listObjectTypes = listObjectTypes;
|
|
35
35
|
exports.listOutgoingLinkTypes = listOutgoingLinkTypes;
|
|
36
|
-
//# sourceMappingURL=
|
|
36
|
+
//# sourceMappingURL=chunk-3MBV6XL2.cjs.map
|
|
37
37
|
//# sourceMappingURL=chunk-3MBV6XL2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/ObjectType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/ObjectType.ts"],"names":["__export","$foundryPlatformFetch"],"mappings":";;;;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAAA,0BAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,mBAAA,EAAA,MAAA,mBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,qBAAA,EAAA,MAAA,qBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAczD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOC,2CAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,oCAAoC,CAAA,CAAA;AAUxD,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,sBAAyB,GAAA,CAAC,CAAG,EAAA,sDAAA,EAAwD,CAAC,CAAA,CAAA;AAWrF,SAAS,qBAAA,CAAsB,SAAS,IAAM,EAAA;AACnD,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,sBAAwB,EAAA,GAAG,IAAI,CAAA,CAAA;AACpE,CAAA;AACA,IAAM,oBAAA,GAAuB,CAAC,CAAA,EAAG,0DAA0D,CAAA,CAAA;AAWpF,SAAS,mBAAA,CAAoB,SAAS,IAAM,EAAA;AACjD,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,oBAAsB,EAAA,GAAG,IAAI,CAAA,CAAA;AAClE","file":"chunk-3MBV6XL2.cjs","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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listObjectTypes = [0, \"/v1/ontologies/{0}/objectTypes\", 2];\n\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);\n}"]}
|
|
@@ -21,5 +21,5 @@ function getOntology($ctx, ...args) {
|
|
|
21
21
|
exports.Ontology_exports = Ontology_exports;
|
|
22
22
|
exports.getOntology = getOntology;
|
|
23
23
|
exports.listOntologies = listOntologies;
|
|
24
|
-
//# sourceMappingURL=
|
|
24
|
+
//# sourceMappingURL=chunk-G6AUHEZZ.cjs.map
|
|
25
25
|
//# sourceMappingURL=chunk-G6AUHEZZ.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Ontology.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/Ontology.ts"],"names":["__export","$foundryPlatformFetch"],"mappings":";;;;;;AAAA,IAAA,gBAAA,GAAA,GAAA;AAAAA,0BAAA,CAAA,gBAAA,EAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,eAAA,GAAkB,CAAC,CAAA,EAAG,gBAAgB,CAAA,CAAA;AAUrC,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOC,2CAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,YAAA,GAAe,CAAC,CAAA,EAAG,oBAAoB,CAAA,CAAA;AAUtC,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D","file":"chunk-G6AUHEZZ.cjs","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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listOntologies = [0, \"/v1/ontologies\"];\n\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}\n */\nexport function getOntology($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOntology, ...args);\n}"]}
|
|
@@ -27,5 +27,5 @@ exports.Attachment_exports = Attachment_exports;
|
|
|
27
27
|
exports.getAttachment = getAttachment;
|
|
28
28
|
exports.getAttachmentContent = getAttachmentContent;
|
|
29
29
|
exports.uploadAttachment = uploadAttachment;
|
|
30
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=chunk-JL5OW6PQ.cjs.map
|
|
31
31
|
//# sourceMappingURL=chunk-JL5OW6PQ.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Attachment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/Attachment.ts"],"names":["__export","$foundryPlatformFetch"],"mappings":";;;;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAAA,0BAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,oBAAA,EAAA,MAAA,oBAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,wBAAA,EAA0B,GAAG,KAAK,CAAA,CAAA;AAezD,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOC,2CAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D,CAAA;AACA,IAAM,wBAAwB,CAAC,CAAA,EAAG,6BAA8B,MAAG,KAAK,CAAA,CAAA;AAWjE,SAAS,oBAAA,CAAqB,SAAS,IAAM,EAAA;AAClD,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,qBAAuB,EAAA,GAAG,IAAI,CAAA,CAAA;AACnE,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,qBAAqB,CAAA,CAAA;AAWzC,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D","file":"chunk-JL5OW6PQ.cjs","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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _uploadAttachment = [1, \"/v1/attachments/upload\", 7, \"*/*\"];\n\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:write-data`.\n *\n * Required Scopes: [api:write-data]\n * URL: /v1/attachments/upload\n */\nexport function uploadAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadAttachment, ...args);\n}\nconst _getAttachmentContent = [0, \"/v1/attachments/{0}/content\",,, \"*/*\"];\n\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/attachments/{attachmentRid}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...args);\n}"]}
|
|
@@ -45,5 +45,5 @@ exports.getObject = getObject;
|
|
|
45
45
|
exports.listLinkedObjects = listLinkedObjects;
|
|
46
46
|
exports.listObjects = listObjects;
|
|
47
47
|
exports.searchObjects = searchObjects;
|
|
48
|
-
//# sourceMappingURL=
|
|
48
|
+
//# sourceMappingURL=chunk-KQUKIHQA.cjs.map
|
|
49
49
|
//# sourceMappingURL=chunk-KQUKIHQA.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/OntologyObject.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/OntologyObject.ts"],"names":["__export","$foundryPlatformFetch"],"mappings":";;;;;;AAAA,IAAA,sBAAA,GAAA,GAAA;AAAAA,0BAAA,CAAA,sBAAA,EAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,YAAe,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAyBrD,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOC,2CAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,oCAAA,EAAsC,CAAC,CAAA,CAAA;AAUvD,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,8CAAA,EAAgD,CAAC,CAAA,CAAA;AAyBzE,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,kDAAA,EAAoD,CAAC,CAAA,CAAA;AAW3E,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,uCAAA,EAAyC,CAAC,CAAA,CAAA;AA4B9D,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,0CAAA,EAA4C,CAAC,CAAA,CAAA;AAUpE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D","file":"chunk-KQUKIHQA.cjs","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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listObjects = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n\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](/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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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](/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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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/**\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate\n */\nexport function aggregateObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjects, ...args);\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-Q7SFCCGT.cjs"}
|
|
@@ -27,5 +27,5 @@ exports.QueryType_exports = QueryType_exports;
|
|
|
27
27
|
exports.executeQuery = executeQuery;
|
|
28
28
|
exports.getQueryType = getQueryType;
|
|
29
29
|
exports.listQueryTypes = listQueryTypes;
|
|
30
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=chunk-SHG4WIV3.cjs.map
|
|
31
31
|
//# sourceMappingURL=chunk-SHG4WIV3.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/QueryType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/public/QueryType.ts"],"names":["__export","$foundryPlatformFetch"],"mappings":";;;;;;AAAA,IAAA,iBAAA,GAAA,GAAA;AAAAA,0BAAA,CAAA,iBAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,eAAkB,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAavD,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOC,2CAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,CAAC,CAAA,CAAA;AAUzD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,wCAAA,EAA0C,CAAC,CAAA,CAAA;AAU9D,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-SHG4WIV3.cjs","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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listQueryTypes = [0, \"/v1/ontologies/{0}/queryTypes\", 2];\n\n/**\n * Lists the query types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes\n */\nexport function listQueryTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);\n}\nconst _getQueryType = [0, \"/v1/ontologies/{0}/queryTypes/{1}\", 2];\n\n/**\n * Gets a specific query type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}\n */\nexport function getQueryType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getQueryType, ...args);\n}\nconst _executeQuery = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 3];\n\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute\n */\nexport function executeQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _executeQuery, ...args);\n}"]}
|
|
@@ -51,5 +51,5 @@ exports.getActionType = getActionType;
|
|
|
51
51
|
exports.getAsyncActionStatus = getAsyncActionStatus;
|
|
52
52
|
exports.listActionTypes = listActionTypes;
|
|
53
53
|
exports.validateAction = validateAction;
|
|
54
|
-
//# sourceMappingURL=
|
|
54
|
+
//# sourceMappingURL=chunk-UHRLPWFY.cjs.map
|
|
55
55
|
//# sourceMappingURL=chunk-UHRLPWFY.cjs.map
|