@osdk/internal.foundry.ontologiesv2 0.2.0-beta.2 → 0.2.0-beta.4
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 +27 -0
- package/build/browser/{chunk-BTOEXA2S.js → chunk-EFVOGNPX.js} +8 -3
- package/build/browser/chunk-EFVOGNPX.js.map +1 -0
- package/build/{esm/chunk-WV7ZDMLQ.js → browser/chunk-U76D6BOW.js} +3 -8
- package/build/browser/chunk-U76D6BOW.js.map +1 -0
- package/build/browser/{chunk-XFVLFZZG.js → chunk-ZNHKEV4X.js} +8 -3
- package/build/browser/chunk-ZNHKEV4X.js.map +1 -0
- package/build/browser/index.js +3 -3
- package/build/browser/public/Attachment.js +1 -1
- package/build/browser/public/ObjectTypeV2.js +1 -1
- package/build/browser/public/OntologyObjectV2.js +1 -1
- package/build/esm/_errors.d.ts +4 -0
- package/build/esm/_errors.d.ts.map +1 -0
- package/build/esm/{chunk-BTOEXA2S.js → chunk-EFVOGNPX.js} +8 -3
- package/build/esm/chunk-EFVOGNPX.js.map +1 -0
- package/build/{browser/chunk-WV7ZDMLQ.js → esm/chunk-U76D6BOW.js} +3 -8
- package/build/esm/chunk-U76D6BOW.js.map +1 -0
- package/build/esm/{chunk-XFVLFZZG.js → chunk-ZNHKEV4X.js} +8 -3
- package/build/esm/chunk-ZNHKEV4X.js.map +1 -0
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +3 -3
- package/build/esm/public/Attachment.d.ts +3 -4
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +1 -1
- package/build/esm/public/ObjectTypeV2.d.ts +18 -1
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/ObjectTypeV2.js +1 -1
- package/build/esm/public/OntologyObjectV2.d.ts +1 -18
- package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectV2.js +1 -1
- package/package.json +8 -8
- package/build/browser/chunk-BTOEXA2S.js.map +0 -1
- package/build/browser/chunk-WV7ZDMLQ.js.map +0 -1
- package/build/browser/chunk-XFVLFZZG.js.map +0 -1
- package/build/esm/chunk-BTOEXA2S.js.map +0 -1
- package/build/esm/chunk-WV7ZDMLQ.js.map +0 -1
- package/build/esm/chunk-XFVLFZZG.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @osdk/internal.foundry.ontologiesv2
|
|
2
2
|
|
|
3
|
+
## 0.2.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5d6d5ab: We now generate error types
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [5d6d5ab]
|
|
12
|
+
- @osdk/internal.foundry.ontologies@0.2.0-beta.4
|
|
13
|
+
- @osdk/internal.foundry.core@0.2.0-beta.4
|
|
14
|
+
|
|
15
|
+
## 0.2.0-beta.3
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 5d6d5ab: Autofill Content-Length and Content-Type headers in API's that accept Blobs
|
|
20
|
+
- 5d6d5ab: SLS dependencies are optional
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [5d6d5ab]
|
|
25
|
+
- Updated dependencies [5d6d5ab]
|
|
26
|
+
- @osdk/internal.foundry.ontologies@0.2.0-beta.3
|
|
27
|
+
- @osdk/internal.foundry.core@0.2.0-beta.3
|
|
28
|
+
- @osdk/shared.net@1.13.0-beta.0
|
|
29
|
+
|
|
3
30
|
## 0.2.0-beta.2
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
@@ -10,7 +10,12 @@ __export(Attachment_exports, {
|
|
|
10
10
|
});
|
|
11
11
|
var _uploadAttachmentV2 = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
|
|
12
12
|
function uploadAttachmentV2($ctx, ...args) {
|
|
13
|
-
|
|
13
|
+
const headerParams = {
|
|
14
|
+
...args[2],
|
|
15
|
+
"Content-Type": args[2]?.["Content-Type"] ?? args[0].type,
|
|
16
|
+
"Content-Length": args[0].size.toString()
|
|
17
|
+
};
|
|
18
|
+
return foundryPlatformFetch($ctx, _uploadAttachmentV2, args[0], args[1], headerParams);
|
|
14
19
|
}
|
|
15
20
|
var _getAttachmentContentV2 = [0, "/v2/ontologies/attachments/{0}/content", , , "*/*"];
|
|
16
21
|
function getAttachmentContentV2($ctx, ...args) {
|
|
@@ -22,5 +27,5 @@ function getAttachmentV2($ctx, ...args) {
|
|
|
22
27
|
}
|
|
23
28
|
|
|
24
29
|
export { Attachment_exports, getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 };
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-EFVOGNPX.js.map
|
|
31
|
+
//# sourceMappingURL=chunk-EFVOGNPX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/public/Attachment.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,sBAAA,EAAA,MAAA,sBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,kBAAA,EAAA,MAAA,kBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,mBAAsB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,GAAG,KAAK,CAAA,CAAA;AAiBtE,SAAS,kBAAA,CAAmB,SAAS,IAAM,EAAA;AAChD,EAAA,MAAM,YAAe,GAAA;AAAA,IACnB,GAAG,KAAK,CAAC,CAAA;AAAA,IACT,cAAA,EAAgB,KAAK,CAAC,CAAA,GAAI,cAAc,CAAK,IAAA,IAAA,CAAK,CAAC,CAAE,CAAA,IAAA;AAAA,IACrD,gBAAkB,EAAA,IAAA,CAAK,CAAC,CAAA,CAAE,KAAK,QAAS,EAAA;AAAA,GAC1C,CAAA;AACA,EAAO,OAAAA,oBAAA,CAAsB,MAAM,mBAAqB,EAAA,IAAA,CAAK,CAAC,CAAG,EAAA,IAAA,CAAK,CAAC,CAAA,EAAG,YAAY,CAAA,CAAA;AACxF,CAAA;AACA,IAAM,0BAA0B,CAAC,CAAA,EAAG,wCAAyC,MAAG,KAAK,CAAA,CAAA;AAa9E,SAAS,sBAAA,CAAuB,SAAS,IAAM,EAAA;AACpD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,uBAAyB,EAAA,GAAG,IAAI,CAAA,CAAA;AACrE,CAAA;AACA,IAAM,gBAAA,GAAmB,CAAC,CAAA,EAAG,gCAAgC,CAAA,CAAA;AAatD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D","file":"chunk-EFVOGNPX.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 _uploadAttachmentV2 = [1, \"/v2/ontologies/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:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v2/ontologies/attachments/upload\n */\nexport function uploadAttachmentV2($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, _uploadAttachmentV2, args[0], args[1], headerParams);\n}\nconst _getAttachmentContentV2 = [0, \"/v2/ontologies/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}/content\n */\nexport function getAttachmentContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);\n}\nconst _getAttachmentV2 = [0, \"/v2/ontologies/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function getAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentV2, ...args);\n}"]}
|
|
@@ -6,7 +6,6 @@ var OntologyObjectV2_exports = {};
|
|
|
6
6
|
__export(OntologyObjectV2_exports, {
|
|
7
7
|
aggregateObjectsV2: () => aggregateObjectsV2,
|
|
8
8
|
countObjects: () => countObjects,
|
|
9
|
-
getObjectTypeFullMetadata: () => getObjectTypeFullMetadata,
|
|
10
9
|
getObjectV2: () => getObjectV2,
|
|
11
10
|
listObjectsV2: () => listObjectsV2,
|
|
12
11
|
searchObjectsV2: () => searchObjectsV2
|
|
@@ -31,11 +30,7 @@ var _aggregateObjectsV2 = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
|
|
|
31
30
|
function aggregateObjectsV2($ctx, ...args) {
|
|
32
31
|
return foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);
|
|
33
32
|
}
|
|
34
|
-
var _getObjectTypeFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata", 2];
|
|
35
|
-
function getObjectTypeFullMetadata($ctx, ...args) {
|
|
36
|
-
return foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);
|
|
37
|
-
}
|
|
38
33
|
|
|
39
|
-
export { OntologyObjectV2_exports, aggregateObjectsV2, countObjects,
|
|
40
|
-
//# sourceMappingURL=chunk-
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
export { OntologyObjectV2_exports, aggregateObjectsV2, countObjects, getObjectV2, listObjectsV2, searchObjectsV2 };
|
|
35
|
+
//# sourceMappingURL=chunk-U76D6BOW.js.map
|
|
36
|
+
//# sourceMappingURL=chunk-U76D6BOW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/public/OntologyObjectV2.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,wBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,wBAAA,EAAA;AAAA,EAAA,kBAAA,EAAA,MAAA,kBAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAwBvD,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,oCAAA,EAAsC,CAAC,CAAA,CAAA;AAYzD,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,sCAAA,EAAwC,CAAC,CAAA,CAAA;AAY5D,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,uCAAA,EAAyC,CAAC,CAAA,CAAA;AA+BhE,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,mBAAsB,GAAA,CAAC,CAAG,EAAA,0CAAA,EAA4C,CAAC,CAAA,CAAA;AAYtE,SAAS,kBAAA,CAAmB,SAAS,IAAM,EAAA;AAChD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,mBAAqB,EAAA,GAAG,IAAI,CAAA,CAAA;AACjE","file":"chunk-U76D6BOW.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 _listObjectsV2 = [0, \"/v2/ontologies/{0}/objects/{1}\", 2];\n\n/**\n * Lists the objects for the given Ontology and object type.\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: /v2/ontologies/{ontology}/objects/{objectType}\n */\nexport function listObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectsV2, ...args);\n}\nconst _getObjectV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}\n */\nexport function getObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectV2, ...args);\n}\nconst _countObjects = [1, \"/v2/ontologies/{0}/objects/{1}/count\", 2];\n\n/**\n * Returns a count of the objects of the given object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/count\n */\nexport function countObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _countObjects, ...args);\n}\nconst _searchObjectsV2 = [1, \"/v2/ontologies/{0}/objects/{1}/search\", 3];\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 * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/search\n */\nexport function searchObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsV2, ...args);\n}\nconst _aggregateObjectsV2 = [1, \"/v2/ontologies/{0}/objects/{1}/aggregate\", 3];\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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}"]}
|
|
@@ -4,6 +4,7 @@ import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
|
|
|
4
4
|
// src/public/ObjectTypeV2.ts
|
|
5
5
|
var ObjectTypeV2_exports = {};
|
|
6
6
|
__export(ObjectTypeV2_exports, {
|
|
7
|
+
getObjectTypeFullMetadata: () => getObjectTypeFullMetadata,
|
|
7
8
|
getObjectTypeV2: () => getObjectTypeV2,
|
|
8
9
|
getOutgoingLinkTypeV2: () => getOutgoingLinkTypeV2,
|
|
9
10
|
listObjectTypesV2: () => listObjectTypesV2,
|
|
@@ -17,6 +18,10 @@ var _getObjectTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}"];
|
|
|
17
18
|
function getObjectTypeV2($ctx, ...args) {
|
|
18
19
|
return foundryPlatformFetch($ctx, _getObjectTypeV2, ...args);
|
|
19
20
|
}
|
|
21
|
+
var _getObjectTypeFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata", 2];
|
|
22
|
+
function getObjectTypeFullMetadata($ctx, ...args) {
|
|
23
|
+
return foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);
|
|
24
|
+
}
|
|
20
25
|
var _listOutgoingLinkTypesV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
|
|
21
26
|
function listOutgoingLinkTypesV2($ctx, ...args) {
|
|
22
27
|
return foundryPlatformFetch($ctx, _listOutgoingLinkTypesV2, ...args);
|
|
@@ -26,6 +31,6 @@ function getOutgoingLinkTypeV2($ctx, ...args) {
|
|
|
26
31
|
return foundryPlatformFetch($ctx, _getOutgoingLinkTypeV2, ...args);
|
|
27
32
|
}
|
|
28
33
|
|
|
29
|
-
export { ObjectTypeV2_exports, getObjectTypeV2, getOutgoingLinkTypeV2, listObjectTypesV2, listOutgoingLinkTypesV2 };
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
31
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
export { ObjectTypeV2_exports, getObjectTypeFullMetadata, getObjectTypeV2, getOutgoingLinkTypeV2, listObjectTypesV2, listOutgoingLinkTypesV2 };
|
|
35
|
+
//# sourceMappingURL=chunk-ZNHKEV4X.js.map
|
|
36
|
+
//# sourceMappingURL=chunk-ZNHKEV4X.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/public/ObjectTypeV2.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,oBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,oBAAA,EAAA;AAAA,EAAA,yBAAA,EAAA,MAAA,yBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,qBAAA,EAAA,MAAA,qBAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,uBAAA,EAAA,MAAA,uBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAgB3D,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,gBAAA,GAAmB,CAAC,CAAA,EAAG,oCAAoC,CAAA,CAAA;AAY1D,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,0BAA6B,GAAA,CAAC,CAAG,EAAA,iDAAA,EAAmD,CAAC,CAAA,CAAA;AAYpF,SAAS,yBAAA,CAA0B,SAAS,IAAM,EAAA;AACvD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,0BAA4B,EAAA,GAAG,IAAI,CAAA,CAAA;AACxE,CAAA;AACA,IAAM,wBAA2B,GAAA,CAAC,CAAG,EAAA,sDAAA,EAAwD,CAAC,CAAA,CAAA;AAavF,SAAS,uBAAA,CAAwB,SAAS,IAAM,EAAA;AACrD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,wBAA0B,EAAA,GAAG,IAAI,CAAA,CAAA;AACtE,CAAA;AACA,IAAM,sBAAA,GAAyB,CAAC,CAAA,EAAG,0DAA0D,CAAA,CAAA;AAatF,SAAS,qBAAA,CAAsB,SAAS,IAAM,EAAA;AACnD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,sBAAwB,EAAA,GAAG,IAAI,CAAA,CAAA;AACpE","file":"chunk-ZNHKEV4X.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 _listObjectTypesV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes\n */\nexport function listObjectTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectTypesV2, ...args);\n}\nconst _getObjectTypeV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function getObjectTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeV2, ...args);\n}\nconst _getObjectTypeFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}\nconst _listOutgoingLinkTypesV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypesV2, ...args);\n}\nconst _getOutgoingLinkTypeV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkTypeV2, ...args);\n}"]}
|
package/build/browser/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export { OntologyObjectSet_exports as OntologyObjectSets } from './chunk-CTA4DXZF.js';
|
|
2
|
-
export { OntologyObjectV2_exports as OntologyObjectsV2 } from './chunk-
|
|
2
|
+
export { OntologyObjectV2_exports as OntologyObjectsV2 } from './chunk-U76D6BOW.js';
|
|
3
3
|
export { OntologyV2_exports as OntologiesV2 } from './chunk-35VM6XLH.js';
|
|
4
4
|
export { Query_exports as Queries } from './chunk-UFJTKRQC.js';
|
|
5
5
|
export { QueryType_exports as QueryTypes } from './chunk-GWYI4RKT.js';
|
|
6
6
|
export { TimeSeriesPropertyV2_exports as TimeSeriesPropertiesV2 } from './chunk-KQNF55S5.js';
|
|
7
7
|
export { Action_exports as Actions } from './chunk-ZKWJVNUQ.js';
|
|
8
8
|
export { ActionTypeV2_exports as ActionTypesV2 } from './chunk-VCCTOHYG.js';
|
|
9
|
-
export { Attachment_exports as Attachments } from './chunk-
|
|
9
|
+
export { Attachment_exports as Attachments } from './chunk-EFVOGNPX.js';
|
|
10
10
|
export { AttachmentPropertyV2_exports as AttachmentPropertiesV2 } from './chunk-3H3SHEFA.js';
|
|
11
11
|
export { LinkedObjectV2_exports as LinkedObjectsV2 } from './chunk-4TOWICL3.js';
|
|
12
|
-
export { ObjectTypeV2_exports as ObjectTypesV2 } from './chunk-
|
|
12
|
+
export { ObjectTypeV2_exports as ObjectTypesV2 } from './chunk-ZNHKEV4X.js';
|
|
13
13
|
export { OntologyInterface_exports as OntologyInterfaces } from './chunk-OBKC7XBM.js';
|
|
14
14
|
import './chunk-PZ5AY32C.js';
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 } from '../chunk-
|
|
1
|
+
export { getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 } from '../chunk-EFVOGNPX.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=Attachment.js.map
|
|
4
4
|
//# sourceMappingURL=Attachment.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { getObjectTypeV2, getOutgoingLinkTypeV2, listObjectTypesV2, listOutgoingLinkTypesV2 } from '../chunk-
|
|
1
|
+
export { getObjectTypeFullMetadata, getObjectTypeV2, getOutgoingLinkTypeV2, listObjectTypesV2, listOutgoingLinkTypesV2 } from '../chunk-ZNHKEV4X.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=ObjectTypeV2.js.map
|
|
4
4
|
//# sourceMappingURL=ObjectTypeV2.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aggregateObjectsV2, countObjects,
|
|
1
|
+
export { aggregateObjectsV2, countObjects, getObjectV2, listObjectsV2, searchObjectsV2 } from '../chunk-U76D6BOW.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=OntologyObjectV2.js.map
|
|
4
4
|
//# sourceMappingURL=OntologyObjectV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC"}
|
|
@@ -10,7 +10,12 @@ __export(Attachment_exports, {
|
|
|
10
10
|
});
|
|
11
11
|
var _uploadAttachmentV2 = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
|
|
12
12
|
function uploadAttachmentV2($ctx, ...args) {
|
|
13
|
-
|
|
13
|
+
const headerParams = {
|
|
14
|
+
...args[2],
|
|
15
|
+
"Content-Type": args[2]?.["Content-Type"] ?? args[0].type,
|
|
16
|
+
"Content-Length": args[0].size.toString()
|
|
17
|
+
};
|
|
18
|
+
return foundryPlatformFetch($ctx, _uploadAttachmentV2, args[0], args[1], headerParams);
|
|
14
19
|
}
|
|
15
20
|
var _getAttachmentContentV2 = [0, "/v2/ontologies/attachments/{0}/content", , , "*/*"];
|
|
16
21
|
function getAttachmentContentV2($ctx, ...args) {
|
|
@@ -22,5 +27,5 @@ function getAttachmentV2($ctx, ...args) {
|
|
|
22
27
|
}
|
|
23
28
|
|
|
24
29
|
export { Attachment_exports, getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 };
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-EFVOGNPX.js.map
|
|
31
|
+
//# sourceMappingURL=chunk-EFVOGNPX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/public/Attachment.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,sBAAA,EAAA,MAAA,sBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,kBAAA,EAAA,MAAA,kBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,mBAAsB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,GAAG,KAAK,CAAA,CAAA;AAiBtE,SAAS,kBAAA,CAAmB,SAAS,IAAM,EAAA;AAChD,EAAA,MAAM,YAAe,GAAA;AAAA,IACnB,GAAG,KAAK,CAAC,CAAA;AAAA,IACT,cAAA,EAAgB,KAAK,CAAC,CAAA,GAAI,cAAc,CAAK,IAAA,IAAA,CAAK,CAAC,CAAE,CAAA,IAAA;AAAA,IACrD,gBAAkB,EAAA,IAAA,CAAK,CAAC,CAAA,CAAE,KAAK,QAAS,EAAA;AAAA,GAC1C,CAAA;AACA,EAAO,OAAAA,oBAAA,CAAsB,MAAM,mBAAqB,EAAA,IAAA,CAAK,CAAC,CAAG,EAAA,IAAA,CAAK,CAAC,CAAA,EAAG,YAAY,CAAA,CAAA;AACxF,CAAA;AACA,IAAM,0BAA0B,CAAC,CAAA,EAAG,wCAAyC,MAAG,KAAK,CAAA,CAAA;AAa9E,SAAS,sBAAA,CAAuB,SAAS,IAAM,EAAA;AACpD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,uBAAyB,EAAA,GAAG,IAAI,CAAA,CAAA;AACrE,CAAA;AACA,IAAM,gBAAA,GAAmB,CAAC,CAAA,EAAG,gCAAgC,CAAA,CAAA;AAatD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D","file":"chunk-EFVOGNPX.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 _uploadAttachmentV2 = [1, \"/v2/ontologies/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:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v2/ontologies/attachments/upload\n */\nexport function uploadAttachmentV2($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, _uploadAttachmentV2, args[0], args[1], headerParams);\n}\nconst _getAttachmentContentV2 = [0, \"/v2/ontologies/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}/content\n */\nexport function getAttachmentContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);\n}\nconst _getAttachmentV2 = [0, \"/v2/ontologies/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function getAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentV2, ...args);\n}"]}
|
|
@@ -6,7 +6,6 @@ var OntologyObjectV2_exports = {};
|
|
|
6
6
|
__export(OntologyObjectV2_exports, {
|
|
7
7
|
aggregateObjectsV2: () => aggregateObjectsV2,
|
|
8
8
|
countObjects: () => countObjects,
|
|
9
|
-
getObjectTypeFullMetadata: () => getObjectTypeFullMetadata,
|
|
10
9
|
getObjectV2: () => getObjectV2,
|
|
11
10
|
listObjectsV2: () => listObjectsV2,
|
|
12
11
|
searchObjectsV2: () => searchObjectsV2
|
|
@@ -31,11 +30,7 @@ var _aggregateObjectsV2 = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
|
|
|
31
30
|
function aggregateObjectsV2($ctx, ...args) {
|
|
32
31
|
return foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);
|
|
33
32
|
}
|
|
34
|
-
var _getObjectTypeFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata", 2];
|
|
35
|
-
function getObjectTypeFullMetadata($ctx, ...args) {
|
|
36
|
-
return foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);
|
|
37
|
-
}
|
|
38
33
|
|
|
39
|
-
export { OntologyObjectV2_exports, aggregateObjectsV2, countObjects,
|
|
40
|
-
//# sourceMappingURL=chunk-
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
export { OntologyObjectV2_exports, aggregateObjectsV2, countObjects, getObjectV2, listObjectsV2, searchObjectsV2 };
|
|
35
|
+
//# sourceMappingURL=chunk-U76D6BOW.js.map
|
|
36
|
+
//# sourceMappingURL=chunk-U76D6BOW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/public/OntologyObjectV2.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,wBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,wBAAA,EAAA;AAAA,EAAA,kBAAA,EAAA,MAAA,kBAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAwBvD,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,oCAAA,EAAsC,CAAC,CAAA,CAAA;AAYzD,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,sCAAA,EAAwC,CAAC,CAAA,CAAA;AAY5D,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,uCAAA,EAAyC,CAAC,CAAA,CAAA;AA+BhE,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,mBAAsB,GAAA,CAAC,CAAG,EAAA,0CAAA,EAA4C,CAAC,CAAA,CAAA;AAYtE,SAAS,kBAAA,CAAmB,SAAS,IAAM,EAAA;AAChD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,mBAAqB,EAAA,GAAG,IAAI,CAAA,CAAA;AACjE","file":"chunk-U76D6BOW.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 _listObjectsV2 = [0, \"/v2/ontologies/{0}/objects/{1}\", 2];\n\n/**\n * Lists the objects for the given Ontology and object type.\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: /v2/ontologies/{ontology}/objects/{objectType}\n */\nexport function listObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectsV2, ...args);\n}\nconst _getObjectV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}\n */\nexport function getObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectV2, ...args);\n}\nconst _countObjects = [1, \"/v2/ontologies/{0}/objects/{1}/count\", 2];\n\n/**\n * Returns a count of the objects of the given object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/count\n */\nexport function countObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _countObjects, ...args);\n}\nconst _searchObjectsV2 = [1, \"/v2/ontologies/{0}/objects/{1}/search\", 3];\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 * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/search\n */\nexport function searchObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsV2, ...args);\n}\nconst _aggregateObjectsV2 = [1, \"/v2/ontologies/{0}/objects/{1}/aggregate\", 3];\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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}"]}
|
|
@@ -4,6 +4,7 @@ import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
|
|
|
4
4
|
// src/public/ObjectTypeV2.ts
|
|
5
5
|
var ObjectTypeV2_exports = {};
|
|
6
6
|
__export(ObjectTypeV2_exports, {
|
|
7
|
+
getObjectTypeFullMetadata: () => getObjectTypeFullMetadata,
|
|
7
8
|
getObjectTypeV2: () => getObjectTypeV2,
|
|
8
9
|
getOutgoingLinkTypeV2: () => getOutgoingLinkTypeV2,
|
|
9
10
|
listObjectTypesV2: () => listObjectTypesV2,
|
|
@@ -17,6 +18,10 @@ var _getObjectTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}"];
|
|
|
17
18
|
function getObjectTypeV2($ctx, ...args) {
|
|
18
19
|
return foundryPlatformFetch($ctx, _getObjectTypeV2, ...args);
|
|
19
20
|
}
|
|
21
|
+
var _getObjectTypeFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata", 2];
|
|
22
|
+
function getObjectTypeFullMetadata($ctx, ...args) {
|
|
23
|
+
return foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);
|
|
24
|
+
}
|
|
20
25
|
var _listOutgoingLinkTypesV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
|
|
21
26
|
function listOutgoingLinkTypesV2($ctx, ...args) {
|
|
22
27
|
return foundryPlatformFetch($ctx, _listOutgoingLinkTypesV2, ...args);
|
|
@@ -26,6 +31,6 @@ function getOutgoingLinkTypeV2($ctx, ...args) {
|
|
|
26
31
|
return foundryPlatformFetch($ctx, _getOutgoingLinkTypeV2, ...args);
|
|
27
32
|
}
|
|
28
33
|
|
|
29
|
-
export { ObjectTypeV2_exports, getObjectTypeV2, getOutgoingLinkTypeV2, listObjectTypesV2, listOutgoingLinkTypesV2 };
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
31
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
export { ObjectTypeV2_exports, getObjectTypeFullMetadata, getObjectTypeV2, getOutgoingLinkTypeV2, listObjectTypesV2, listOutgoingLinkTypesV2 };
|
|
35
|
+
//# sourceMappingURL=chunk-ZNHKEV4X.js.map
|
|
36
|
+
//# sourceMappingURL=chunk-Z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AI,CAAA,CAAA;AACtE,CAAA;AACA,IAAM,sBAAA,GAAyB,CAAC,CAAA,EAAG,0DAA0D,CAAA,CAAA;AAatF,SAAS,qBAAA,CAAsB,SAAS,IAAM,EAAA;AACnD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,sBAAwB,EAAA,GAAG,IAAI,CAAA,CAAA;AACpE","file":"chunk-ZNHKEV4X.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 _listObjectTypesV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes\n */\nexport function listObjectTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectTypesV2, ...args);\n}\nconst _getObjectTypeV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function getObjectTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeV2, ...args);\n}\nconst _getObjectTypeFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}\nconst _listOutgoingLinkTypesV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypesV2, ...args);\n}\nconst _getOutgoingLinkTypeV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkTypeV2, ...args);\n}"]}
|
package/build/esm/index.d.ts
CHANGED
package/build/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,MAAM,kB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O,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,sBAAsB,MAAM,kCAAkC,CAAC"}
|
package/build/esm/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export { OntologyObjectSet_exports as OntologyObjectSets } from './chunk-CTA4DXZF.js';
|
|
2
|
-
export { OntologyObjectV2_exports as OntologyObjectsV2 } from './chunk-
|
|
2
|
+
export { OntologyObjectV2_exports as OntologyObjectsV2 } from './chunk-U76D6BOW.js';
|
|
3
3
|
export { OntologyV2_exports as OntologiesV2 } from './chunk-35VM6XLH.js';
|
|
4
4
|
export { Query_exports as Queries } from './chunk-UFJTKRQC.js';
|
|
5
5
|
export { QueryType_exports as QueryTypes } from './chunk-GWYI4RKT.js';
|
|
6
6
|
export { TimeSeriesPropertyV2_exports as TimeSeriesPropertiesV2 } from './chunk-KQNF55S5.js';
|
|
7
7
|
export { Action_exports as Actions } from './chunk-ZKWJVNUQ.js';
|
|
8
8
|
export { ActionTypeV2_exports as ActionTypesV2 } from './chunk-VCCTOHYG.js';
|
|
9
|
-
export { Attachment_exports as Attachments } from './chunk-
|
|
9
|
+
export { Attachment_exports as Attachments } from './chunk-EFVOGNPX.js';
|
|
10
10
|
export { AttachmentPropertyV2_exports as AttachmentPropertiesV2 } from './chunk-3H3SHEFA.js';
|
|
11
11
|
export { LinkedObjectV2_exports as LinkedObjectsV2 } from './chunk-4TOWICL3.js';
|
|
12
|
-
export { ObjectTypeV2_exports as ObjectTypesV2 } from './chunk-
|
|
12
|
+
export { ObjectTypeV2_exports as ObjectTypesV2 } from './chunk-ZNHKEV4X.js';
|
|
13
13
|
export { OntologyInterface_exports as OntologyInterfaces } from './chunk-OBKC7XBM.js';
|
|
14
14
|
import './chunk-PZ5AY32C.js';
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AttachmentRid, AttachmentV2,
|
|
1
|
+
import type { AttachmentRid, AttachmentV2, ContentType, Filename } from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
3
|
/**
|
|
4
4
|
* Upload an attachment to use in an action. Any attachment which has not been linked to an object via
|
|
@@ -20,9 +20,8 @@ export declare function uploadAttachmentV2($ctx: $Client | $ClientContext, ...ar
|
|
|
20
20
|
$queryParams: {
|
|
21
21
|
filename: Filename;
|
|
22
22
|
},
|
|
23
|
-
$headerParams
|
|
24
|
-
"Content-
|
|
25
|
-
"Content-Type": ContentType;
|
|
23
|
+
$headerParams?: {
|
|
24
|
+
"Content-Type"?: ContentType;
|
|
26
25
|
}
|
|
27
26
|
]): Promise<AttachmentV2>;
|
|
28
27
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/public/Attachment.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/public/Attachment.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,WAAW,EACX,QAAQ,EACT,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAc7B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE;IACpC,aAAa,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,WAAW,CAAA;KAAE;CACjD,GACA,OAAO,CAAC,YAAY,CAAC,CAcvB;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,GACtC,OAAO,CAAC,IAAI,CAAC,CAEf;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,GACtC,OAAO,CAAC,YAAY,CAAC,CAEvB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 } from '../chunk-
|
|
1
|
+
export { getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 } from '../chunk-EFVOGNPX.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=Attachment.js.map
|
|
4
4
|
//# sourceMappingURL=Attachment.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LinkTypeApiName, LinkTypeSideV2, ListObjectTypesV2Response, ListOutgoingLinkTypesResponseV2, ObjectTypeApiName, ObjectTypeV2, OntologyIdentifier, PageSize, PageToken } from "@osdk/internal.foundry.core";
|
|
1
|
+
import type { LinkTypeApiName, LinkTypeSideV2, ListObjectTypesV2Response, ListOutgoingLinkTypesResponseV2, ObjectTypeApiName, ObjectTypeFullMetadata, ObjectTypeV2, OntologyIdentifier, PageSize, PageToken, PreviewMode } from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
3
|
/**
|
|
4
4
|
* Lists the object types for the given Ontology.
|
|
@@ -32,6 +32,23 @@ export declare function listObjectTypesV2($ctx: $Client | $ClientContext, ...arg
|
|
|
32
32
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}
|
|
33
33
|
*/
|
|
34
34
|
export declare function getObjectTypeV2($ctx: $Client | $ClientContext, ...args: [ontology: OntologyIdentifier, objectType: ObjectTypeApiName]): Promise<ObjectTypeV2>;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the full metadata for a specific object type with the given API name.
|
|
37
|
+
*
|
|
38
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
39
|
+
*
|
|
40
|
+
* @alpha
|
|
41
|
+
*
|
|
42
|
+
* Required Scopes: [api:ontologies-read]
|
|
43
|
+
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata
|
|
44
|
+
*/
|
|
45
|
+
export declare function getObjectTypeFullMetadata($ctx: $Client | $ClientContext, ...args: [
|
|
46
|
+
ontology: OntologyIdentifier,
|
|
47
|
+
objectType: ObjectTypeApiName,
|
|
48
|
+
$queryParams?: {
|
|
49
|
+
preview?: PreviewMode | undefined;
|
|
50
|
+
}
|
|
51
|
+
]): Promise<ObjectTypeFullMetadata>;
|
|
35
52
|
/**
|
|
36
53
|
* List the outgoing links for an object type.
|
|
37
54
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,+BAA+B,EAC/B,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EACR,SAAS,
|
|
1
|
+
{"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,+BAA+B,EAC/B,iBAAiB,EACjB,sBAAsB,EACtB,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EACR,SAAS,EACT,WAAW,EACZ,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EAC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AAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,kBAAkB;IAC5B,UAAU,EAAE,iBAAiB;IAC7B,QAAQ,EAAE,eAAe;CAC1B,GACA,OAAO,CAAC,cAAc,CAAC,CAEzB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { getObjectTypeV2, getOutgoingLinkTypeV2, listObjectTypesV2, listOutgoingLinkTypesV2 } from '../chunk-
|
|
1
|
+
export { getObjectTypeFullMetadata, getObjectTypeV2, getOutgoingLinkTypeV2, listObjectTypesV2, listOutgoingLinkTypesV2 } from '../chunk-ZNHKEV4X.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=ObjectTypeV2.js.map
|
|
4
4
|
//# sourceMappingURL=ObjectTypeV2.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AggregateObjectsRequestV2, AggregateObjectsResponseV2, ArtifactRepositoryRid, CountObjectsResponseV2, ListObjectsResponseV2, ObjectTypeApiName,
|
|
1
|
+
import type { AggregateObjectsRequestV2, AggregateObjectsResponseV2, ArtifactRepositoryRid, CountObjectsResponseV2, ListObjectsResponseV2, ObjectTypeApiName, OntologyIdentifier, OntologyObjectV2, OrderBy, PageSize, PageToken, PropertyValueEscapedString, SdkPackageName, SearchObjectsRequestV2, SearchObjectsResponseV2, SelectedPropertyApiName } from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
3
|
/**
|
|
4
4
|
* Lists the objects for the given Ontology and object type.
|
|
@@ -131,21 +131,4 @@ export declare function aggregateObjectsV2($ctx: $Client | $ClientContext, ...ar
|
|
|
131
131
|
packageName?: SdkPackageName | undefined;
|
|
132
132
|
}
|
|
133
133
|
]): Promise<AggregateObjectsResponseV2>;
|
|
134
|
-
/**
|
|
135
|
-
* Gets the full metadata for a specific object type with the given API name.
|
|
136
|
-
*
|
|
137
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
138
|
-
*
|
|
139
|
-
* @alpha
|
|
140
|
-
*
|
|
141
|
-
* Required Scopes: [api:ontologies-read]
|
|
142
|
-
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata
|
|
143
|
-
*/
|
|
144
|
-
export declare function getObjectTypeFullMetadata($ctx: $Client | $ClientContext, ...args: [
|
|
145
|
-
ontology: OntologyIdentifier,
|
|
146
|
-
objectType: ObjectTypeApiName,
|
|
147
|
-
$queryParams?: {
|
|
148
|
-
preview?: PreviewMode | undefined;
|
|
149
|
-
}
|
|
150
|
-
]): Promise<ObjectTypeFullMetadata>;
|
|
151
134
|
//# sourceMappingURL=OntologyObjectV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC1B,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC1B,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,0BAA0B,EAC1B,cAAc,EACd,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAsB7B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,a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AW,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,sBAAsB,CAAC,CAEjC;AAcD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,kBAAkB;IAC5B,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,sBAAsB;IAC7B,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;QACvD,WAAW,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,uBAAuB,CAAC,CAElC;AAcD;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,kBAAkB;IAC5B,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,yBAAyB;IAChC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;QACvD,WAAW,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,0BAA0B,CAAC,CAErC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aggregateObjectsV2, countObjects,
|
|
1
|
+
export { aggregateObjectsV2, countObjects, getObjectV2, listObjectsV2, searchObjectsV2 } from '../chunk-U76D6BOW.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=OntologyObjectV2.js.map
|
|
4
4
|
//# sourceMappingURL=OntologyObjectV2.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/internal.foundry.ontologiesv2",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,17 +17,16 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@osdk/internal.foundry.
|
|
21
|
-
"@osdk/api": "~1.10.0-beta.1",
|
|
22
|
-
"@osdk/internal.foundry.ontologies": "0.2.0-beta.2",
|
|
20
|
+
"@osdk/internal.foundry.ontologies": "0.2.0-beta.4",
|
|
23
21
|
"@osdk/shared.client": "~0.0.0",
|
|
24
|
-
"@osdk/shared.net": "~1.
|
|
22
|
+
"@osdk/shared.net": "~1.13.0-beta.0",
|
|
23
|
+
"@osdk/internal.foundry.core": "0.2.0-beta.4",
|
|
25
24
|
"@osdk/shared.net.platformapi": "~0.2.0"
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
27
|
"typescript": "^5.5.4",
|
|
29
|
-
"@osdk/monorepo.tsconfig": "~0.0.0",
|
|
30
28
|
"@osdk/monorepo.api-extractor": "~0.0.0",
|
|
29
|
+
"@osdk/monorepo.tsconfig": "~0.0.0",
|
|
31
30
|
"@osdk/monorepo.tsup": "~0.0.0"
|
|
32
31
|
},
|
|
33
32
|
"publishConfig": {
|
|
@@ -48,8 +47,9 @@
|
|
|
48
47
|
"sls": {
|
|
49
48
|
"dependencies": {
|
|
50
49
|
"com.palantir.foundry.api:api-gateway": {
|
|
51
|
-
"minVersion": "1.
|
|
52
|
-
"maxVersion": "1.x.x"
|
|
50
|
+
"minVersion": "1.922.0",
|
|
51
|
+
"maxVersion": "1.x.x",
|
|
52
|
+
"optional": true
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Attachment.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,sBAAA,EAAA,MAAA,sBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,kBAAA,EAAA,MAAA,kBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,mBAAsB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,GAAG,KAAK,CAAA,CAAA;AAiBtE,SAAS,kBAAA,CAAmB,SAAS,IAAM,EAAA;AAChD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,mBAAqB,EAAA,GAAG,IAAI,CAAA,CAAA;AACjE,CAAA;AACA,IAAM,0BAA0B,CAAC,CAAA,EAAG,wCAAyC,MAAG,KAAK,CAAA,CAAA;AAa9E,SAAS,sBAAA,CAAuB,SAAS,IAAM,EAAA;AACpD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,uBAAyB,EAAA,GAAG,IAAI,CAAA,CAAA;AACrE,CAAA;AACA,IAAM,gBAAA,GAAmB,CAAC,CAAA,EAAG,gCAAgC,CAAA,CAAA;AAatD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D","file":"chunk-BTOEXA2S.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 _uploadAttachmentV2 = [1, \"/v2/ontologies/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:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v2/ontologies/attachments/upload\n */\nexport function uploadAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadAttachmentV2, ...args);\n}\nconst _getAttachmentContentV2 = [0, \"/v2/ontologies/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}/content\n */\nexport function getAttachmentContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);\n}\nconst _getAttachmentV2 = [0, \"/v2/ontologies/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function getAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentV2, ...args);\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/OntologyObjectV2.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,wBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,wBAAA,EAAA;AAAA,EAAA,kBAAA,EAAA,MAAA,kBAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,yBAAA,EAAA,MAAA,yB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BAA6B,GAAA,CAAC,CAAG,EAAA,iDAAA,EAAmD,CAAC,CAAA,CAAA;AAYpF,SAAS,yBAAA,CAA0B,SAAS,IAAM,EAAA;AACvD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,0BAA4B,EAAA,GAAG,IAAI,CAAA,CAAA;AACxE","file":"chunk-WV7ZDMLQ.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 _listObjectsV2 = [0, \"/v2/ontologies/{0}/objects/{1}\", 2];\n\n/**\n * Lists the objects for the given Ontology and object type.\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: /v2/ontologies/{ontology}/objects/{objectType}\n */\nexport function listObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectsV2, ...args);\n}\nconst _getObjectV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}\n */\nexport function getObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectV2, ...args);\n}\nconst _countObjects = [1, \"/v2/ontologies/{0}/objects/{1}/count\", 2];\n\n/**\n * Returns a count of the objects of the given object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/count\n */\nexport function countObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _countObjects, ...args);\n}\nconst _searchObjectsV2 = [1, \"/v2/ontologies/{0}/objects/{1}/search\", 3];\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 * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/search\n */\nexport function searchObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsV2, ...args);\n}\nconst _aggregateObjectsV2 = [1, \"/v2/ontologies/{0}/objects/{1}/aggregate\", 3];\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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}\nconst _getObjectTypeFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/ObjectTypeV2.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,oBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,oBAAA,EAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,qBAAA,EAAA,MAAA,qBAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,uBAAA,EAAA,MAAA,uBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAgB3D,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,gBAAA,GAAmB,CAAC,CAAA,EAAG,oCAAoC,CAAA,CAAA;AAY1D,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,wBAA2B,GAAA,CAAC,CAAG,EAAA,sDAAA,EAAwD,CAAC,CAAA,CAAA;AAavF,SAAS,uBAAA,CAAwB,SAAS,IAAM,EAAA;AACrD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,wBAA0B,EAAA,GAAG,IAAI,CAAA,CAAA;AACtE,CAAA;AACA,IAAM,sBAAA,GAAyB,CAAC,CAAA,EAAG,0DAA0D,CAAA,CAAA;AAatF,SAAS,qBAAA,CAAsB,SAAS,IAAM,EAAA;AACnD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,sBAAwB,EAAA,GAAG,IAAI,CAAA,CAAA;AACpE","file":"chunk-XFVLFZZG.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 _listObjectTypesV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes\n */\nexport function listObjectTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectTypesV2, ...args);\n}\nconst _getObjectTypeV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function getObjectTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeV2, ...args);\n}\nconst _listOutgoingLinkTypesV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypesV2, ...args);\n}\nconst _getOutgoingLinkTypeV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkTypeV2, ...args);\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Attachment.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,sBAAA,EAAA,MAAA,sBAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,kBAAA,EAAA,MAAA,kBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,mBAAsB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,GAAG,KAAK,CAAA,CAAA;AAiBtE,SAAS,kBAAA,CAAmB,SAAS,IAAM,EAAA;AAChD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,mBAAqB,EAAA,GAAG,IAAI,CAAA,CAAA;AACjE,CAAA;AACA,IAAM,0BAA0B,CAAC,CAAA,EAAG,wCAAyC,MAAG,KAAK,CAAA,CAAA;AAa9E,SAAS,sBAAA,CAAuB,SAAS,IAAM,EAAA;AACpD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,uBAAyB,EAAA,GAAG,IAAI,CAAA,CAAA;AACrE,CAAA;AACA,IAAM,gBAAA,GAAmB,CAAC,CAAA,EAAG,gCAAgC,CAAA,CAAA;AAatD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D","file":"chunk-BTOEXA2S.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 _uploadAttachmentV2 = [1, \"/v2/ontologies/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:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v2/ontologies/attachments/upload\n */\nexport function uploadAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadAttachmentV2, ...args);\n}\nconst _getAttachmentContentV2 = [0, \"/v2/ontologies/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}/content\n */\nexport function getAttachmentContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);\n}\nconst _getAttachmentV2 = [0, \"/v2/ontologies/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function getAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentV2, ...args);\n}"]}
|
|
@@ -1 +0,0 @@
|
|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,CAAA;AAC9D,CAAA;AACA,IAAM,mBAAsB,GAAA,CAAC,CAAG,EAAA,0CAAA,EAA4C,CAAC,CAAA,CAAA;AAYtE,SAAS,kBAAA,CAAmB,SAAS,IAAM,EAAA;AAChD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,mBAAqB,EAAA,GAAG,IAAI,CAAA,CAAA;AACjE,CAAA;AACA,IAAM,0BAA6B,GAAA,CAAC,CAAG,EAAA,iDAAA,EAAmD,CAAC,CAAA,CAAA;AAYpF,SAAS,yBAAA,CAA0B,SAAS,IAAM,EAAA;AACvD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,0BAA4B,EAAA,GAAG,IAAI,CAAA,CAAA;AACxE","file":"chunk-WV7ZDMLQ.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 _listObjectsV2 = [0, \"/v2/ontologies/{0}/objects/{1}\", 2];\n\n/**\n * Lists the objects for the given Ontology and object type.\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: /v2/ontologies/{ontology}/objects/{objectType}\n */\nexport function listObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectsV2, ...args);\n}\nconst _getObjectV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}\n */\nexport function getObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectV2, ...args);\n}\nconst _countObjects = [1, \"/v2/ontologies/{0}/objects/{1}/count\", 2];\n\n/**\n * Returns a count of the objects of the given object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/count\n */\nexport function countObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _countObjects, ...args);\n}\nconst _searchObjectsV2 = [1, \"/v2/ontologies/{0}/objects/{1}/search\", 3];\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 * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/search\n */\nexport function searchObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsV2, ...args);\n}\nconst _aggregateObjectsV2 = [1, \"/v2/ontologies/{0}/objects/{1}/aggregate\", 3];\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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}\nconst _getObjectTypeFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/ObjectTypeV2.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,oBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,oBAAA,EAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,qBAAA,EAAA,MAAA,qBAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,uBAAA,EAAA,MAAA,uBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAgB3D,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,gBAAA,GAAmB,CAAC,CAAA,EAAG,oCAAoC,CAAA,CAAA;AAY1D,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,wBAA2B,GAAA,CAAC,CAAG,EAAA,sDAAA,EAAwD,CAAC,CAAA,CAAA;AAavF,SAAS,uBAAA,CAAwB,SAAS,IAAM,EAAA;AACrD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,wBAA0B,EAAA,GAAG,IAAI,CAAA,CAAA;AACtE,CAAA;AACA,IAAM,sBAAA,GAAyB,CAAC,CAAA,EAAG,0DAA0D,CAAA,CAAA;AAatF,SAAS,qBAAA,CAAsB,SAAS,IAAM,EAAA;AACnD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,sBAAwB,EAAA,GAAG,IAAI,CAAA,CAAA;AACpE","file":"chunk-XFVLFZZG.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 _listObjectTypesV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes\n */\nexport function listObjectTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectTypesV2, ...args);\n}\nconst _getObjectTypeV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function getObjectTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeV2, ...args);\n}\nconst _listOutgoingLinkTypesV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypesV2, ...args);\n}\nconst _getOutgoingLinkTypeV2 = [0, \"/v2/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:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkTypeV2, ...args);\n}"]}
|