@osdk/internal.foundry.ontologiesv2 0.1.0-beta.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/build/browser/{chunk-U2YDEYVP.js → chunk-KYMDEQ65.js} +18 -18
  3. package/build/{esm/chunk-U2YDEYVP.js.map → browser/chunk-KYMDEQ65.js.map} +1 -1
  4. package/build/browser/chunk-YGTQQ5D7.js +26 -0
  5. package/build/browser/chunk-YGTQQ5D7.js.map +1 -0
  6. package/build/browser/index.js +3 -2
  7. package/build/browser/public/Attachment.js +4 -0
  8. package/build/browser/public/Attachment.js.map +1 -0
  9. package/build/browser/public/OntologyObjectV2.js +1 -1
  10. package/build/cjs/chunk-CC6MHVHV.cjs +31 -0
  11. package/build/cjs/chunk-CC6MHVHV.cjs.map +1 -0
  12. package/build/cjs/{chunk-XFUHWX3P.cjs → chunk-XDPPJYIF.cjs} +21 -21
  13. package/build/{browser/chunk-U2YDEYVP.js.map → cjs/chunk-XDPPJYIF.cjs.map} +1 -1
  14. package/build/cjs/index.cjs +12 -7
  15. package/build/cjs/public/Attachment.cjs +21 -0
  16. package/build/cjs/public/Attachment.cjs.map +1 -0
  17. package/build/cjs/public/OntologyObjectV2.cjs +26 -26
  18. package/build/esm/{chunk-U2YDEYVP.js → chunk-KYMDEQ65.js} +18 -18
  19. package/build/{cjs/chunk-XFUHWX3P.cjs.map → esm/chunk-KYMDEQ65.js.map} +1 -1
  20. package/build/esm/chunk-YGTQQ5D7.js +26 -0
  21. package/build/esm/chunk-YGTQQ5D7.js.map +1 -0
  22. package/build/esm/index.d.ts +1 -0
  23. package/build/esm/index.d.ts.map +1 -1
  24. package/build/esm/index.js +3 -2
  25. package/build/esm/public/Attachment.d.ts +46 -0
  26. package/build/esm/public/Attachment.d.ts.map +1 -0
  27. package/build/esm/public/Attachment.js +4 -0
  28. package/build/esm/public/Attachment.js.map +1 -0
  29. package/build/esm/public/OntologyObjectV2.d.ts +4 -4
  30. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
  31. package/build/esm/public/OntologyObjectV2.js +1 -1
  32. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @osdk/internal.foundry.ontologiesv2
2
2
 
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - af1d316: Added support to omni api code gen for binary type bodies in requests.
8
+ - 388dba9: Change all internal dependencies to be tilde not caret
9
+ - 9405a3e: Bump api-gateway to 1.891.0
10
+ - bc89b62: Spelling fixes and spell check in CI
11
+ - a8dc51a: Modified codegen so that return types now include Blobs.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [af1d316]
16
+ - Updated dependencies [94833a7]
17
+ - Updated dependencies [388dba9]
18
+ - Updated dependencies [d8edf10]
19
+ - Updated dependencies [3ec7c38]
20
+ - Updated dependencies [9405a3e]
21
+ - Updated dependencies [bc89b62]
22
+ - Updated dependencies [a8dc51a]
23
+ - @osdk/internal.foundry.ontologies@0.1.0
24
+ - @osdk/internal.foundry.core@0.1.0
25
+ - @osdk/shared.net.platformapi@0.2.0
26
+ - @osdk/shared.net@1.12.0
27
+ - @osdk/api@1.9.0
28
+
3
29
  ## 0.1.0-beta.2
4
30
 
5
31
  ### Minor Changes
@@ -7,10 +7,9 @@ __export(OntologyObjectV2_exports, {
7
7
  aggregateObjectsForInterface: () => aggregateObjectsForInterface,
8
8
  aggregateObjectsV2: () => aggregateObjectsV2,
9
9
  countObjects: () => countObjects,
10
- getAttachmentByRidV2: () => getAttachmentByRidV2,
11
- getAttachmentContentByRidV2: () => getAttachmentContentByRidV2,
12
- getAttachmentContentV2: () => getAttachmentContentV2,
13
- getAttachmentsV2: () => getAttachmentsV2,
10
+ getAttachmentPropertyByRidV2: () => getAttachmentPropertyByRidV2,
11
+ getAttachmentPropertyContentByRidV2: () => getAttachmentPropertyContentByRidV2,
12
+ getAttachmentPropertyContentV2: () => getAttachmentPropertyContentV2,
14
13
  getFirstPoint: () => getFirstPoint,
15
14
  getInterfaceType: () => getInterfaceType,
16
15
  getLastPoint: () => getLastPoint,
@@ -20,6 +19,7 @@ __export(OntologyObjectV2_exports, {
20
19
  listInterfaceTypes: () => listInterfaceTypes,
21
20
  listLinkedObjectsV2: () => listLinkedObjectsV2,
22
21
  listObjectsV2: () => listObjectsV2,
22
+ listPropertyAttachments: () => listPropertyAttachments,
23
23
  searchObjectsForInterface: () => searchObjectsForInterface,
24
24
  searchObjectsV2: () => searchObjectsV2,
25
25
  streamPoints: () => streamPoints
@@ -68,21 +68,21 @@ var _getLinkedObjectV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}",
68
68
  function getLinkedObjectV2($ctx, ...args) {
69
69
  return foundryPlatformFetch($ctx, _getLinkedObjectV2, ...args);
70
70
  }
71
- var _getAttachmentsV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}", 2];
72
- function getAttachmentsV2($ctx, ...args) {
73
- return foundryPlatformFetch($ctx, _getAttachmentsV2, ...args);
71
+ var _listPropertyAttachments = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}", 2];
72
+ function listPropertyAttachments($ctx, ...args) {
73
+ return foundryPlatformFetch($ctx, _listPropertyAttachments, ...args);
74
74
  }
75
- var _getAttachmentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}", 2];
76
- function getAttachmentByRidV2($ctx, ...args) {
77
- return foundryPlatformFetch($ctx, _getAttachmentByRidV2, ...args);
75
+ var _getAttachmentPropertyByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}", 2];
76
+ function getAttachmentPropertyByRidV2($ctx, ...args) {
77
+ return foundryPlatformFetch($ctx, _getAttachmentPropertyByRidV2, ...args);
78
78
  }
79
- var _getAttachmentContentV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content", 2, , "*/*"];
80
- function getAttachmentContentV2($ctx, ...args) {
81
- return foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);
79
+ var _getAttachmentPropertyContentV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content", 2, , "*/*"];
80
+ function getAttachmentPropertyContentV2($ctx, ...args) {
81
+ return foundryPlatformFetch($ctx, _getAttachmentPropertyContentV2, ...args);
82
82
  }
83
- var _getAttachmentContentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content", 2, , "*/*"];
84
- function getAttachmentContentByRidV2($ctx, ...args) {
85
- return foundryPlatformFetch($ctx, _getAttachmentContentByRidV2, ...args);
83
+ var _getAttachmentPropertyContentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content", 2, , "*/*"];
84
+ function getAttachmentPropertyContentByRidV2($ctx, ...args) {
85
+ return foundryPlatformFetch($ctx, _getAttachmentPropertyContentByRidV2, ...args);
86
86
  }
87
87
  var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
88
88
  function getFirstPoint($ctx, ...args) {
@@ -101,6 +101,6 @@ function getObjectTypeFullMetadata($ctx, ...args) {
101
101
  return foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);
102
102
  }
103
103
 
104
- export { OntologyObjectV2_exports, aggregateObjectsForInterface, aggregateObjectsV2, countObjects, getAttachmentByRidV2, getAttachmentContentByRidV2, getAttachmentContentV2, getAttachmentsV2, getFirstPoint, getInterfaceType, getLastPoint, getLinkedObjectV2, getObjectTypeFullMetadata, getObjectV2, listInterfaceTypes, listLinkedObjectsV2, listObjectsV2, searchObjectsForInterface, searchObjectsV2, streamPoints };
104
+ export { OntologyObjectV2_exports, aggregateObjectsForInterface, aggregateObjectsV2, countObjects, getAttachmentPropertyByRidV2, getAttachmentPropertyContentByRidV2, getAttachmentPropertyContentV2, getFirstPoint, getInterfaceType, getLastPoint, getLinkedObjectV2, getObjectTypeFullMetadata, getObjectV2, listInterfaceTypes, listLinkedObjectsV2, listObjectsV2, listPropertyAttachments, searchObjectsForInterface, searchObjectsV2, streamPoints };
105
105
  //# sourceMappingURL=out.js.map
106
- //# sourceMappingURL=chunk-U2YDEYVP.js.map
106
+ //# sourceMappingURL=chunk-KYMDEQ65.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAI9D,IAAM,iBAAiB,CAAC,GAAG,kCAAkC,CAAC;AAsBvD,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,eAAe,CAAC,GAAG,sCAAsC,CAAC;AAUzD,SAAS,YAAY,SAAS,MAAM;AACzC,SAAO,sBAAsB,MAAM,cAAc,GAAG,IAAI;AAC1D;AACA,IAAM,gBAAgB,CAAC,GAAG,wCAAwC,CAAC;AAU5D,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,mBAAmB,CAAC,GAAG,yCAAyC,CAAC;AA6BhE,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,sBAAsB,MAAM,kBAAkB,GAAG,IAAI;AAC9D;AACA,IAAM,sBAAsB,CAAC,GAAG,4CAA4C,CAAC;AAUtE,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,sBAAsB,MAAM,qBAAqB,GAAG,IAAI;AACjE;AACA,IAAM,sBAAsB,CAAC,GAAG,qCAAqC,CAAC;AAkB/D,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,sBAAsB,MAAM,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B,GAAG,IAAI;AAC1E;AACA,IAAM,iBAAiB,CAAC,GAAG,gEAAgE,CAAC;AAWrF,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,gBAAgB,CAAC,GAAG,+DAA+D,CAAC;AAWnF,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,kEAAkE,GAAE,EAAE,KAAK;AAW9F,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,6BAA6B,CAAC,GAAG,mDAAmD,CAAC;AAUpF,SAAS,0BAA0B,SAAS,MAAM;AACvD,SAAO,sBAAsB,MAAM,4BAA4B,GAAG,IAAI;AACxE","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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}\nconst _listInterfaceTypes = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function listInterfaceTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);\n}\nconst _getInterfaceType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function getInterfaceType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);\n}\nconst _searchObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function searchObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);\n}\nconst _aggregateObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregateObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...args);\n}\nconst _listLinkedObjectsV2 = [0, \"/v2/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 * 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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjectsV2, ...args);\n}\nconst _getLinkedObjectV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObjectV2, ...args);\n}\nconst _getAttachmentsV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n\n/**\n * Get the metadata of attachments parented to the given object.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function getAttachmentsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentsV2, ...args);\n}\nconst _getAttachmentByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n\n/**\n * Get the metadata of a particular attachment in an attachment list.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentByRidV2, ...args);\n}\nconst _getAttachmentContentV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\", 2,, \"*/*\"];\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function getAttachmentContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);\n}\nconst _getAttachmentContentByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\", 2,, \"*/*\"];\n\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function getAttachmentContentByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentByRidV2, ...args);\n}\nconst _getFirstPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint\", 2];\n\n/**\n * Get the first point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint\n */\nexport function getFirstPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFirstPoint, ...args);\n}\nconst _getLastPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/lastPoint\", 2];\n\n/**\n * Get the last point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint\n */\nexport function getLastPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLastPoint, ...args);\n}\nconst _streamPoints = [1, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamPoints\", 3,, \"*/*\"];\n\n/**\n * Stream all of the points of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints\n */\nexport function streamPoints($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _streamPoints, ...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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAI9D,IAAM,iBAAiB,CAAC,GAAG,kCAAkC,CAAC;AAsBvD,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,eAAe,CAAC,GAAG,sCAAsC,CAAC;AAUzD,SAAS,YAAY,SAAS,MAAM;AACzC,SAAO,sBAAsB,MAAM,cAAc,GAAG,IAAI;AAC1D;AACA,IAAM,gBAAgB,CAAC,GAAG,wCAAwC,CAAC;AAU5D,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,mBAAmB,CAAC,GAAG,yCAAyC,CAAC;AA6BhE,SAAS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SAAO,sBAAsB,MAAM,+BAA+B,GAAG,IAAI;AAC3E;AACA,IAAM,kCAAkC,CAAC,GAAG,8DAA8D,GAAE,EAAE,KAAK;AAW5G,SAAS,+BAA+B,SAAS,MAAM;AAC5D,SAAO,sBAAsB,MAAM,iCAAiC,GAAG,IAAI;AAC7E;AACA,IAAM,uCAAuC,CAAC,GAAG,kEAAkE,GAAE,EAAE,KAAK;AAarH,SAAS,oCAAoC,SAAS,MAAM;AACjE,SAAO,sBAAsB,MAAM,sCAAsC,GAAG,IAAI;AAClF;AACA,IAAM,iBAAiB,CAAC,GAAG,gEAAgE,CAAC;AAWrF,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,gBAAgB,CAAC,GAAG,+DAA+D,CAAC;AAWnF,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,kEAAkE,GAAE,EAAE,KAAK;AAW9F,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,6BAA6B,CAAC,GAAG,mDAAmD,CAAC;AAUpF,SAAS,0BAA0B,SAAS,MAAM;AACvD,SAAO,sBAAsB,MAAM,4BAA4B,GAAG,IAAI;AACxE","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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}\nconst _listInterfaceTypes = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function listInterfaceTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);\n}\nconst _getInterfaceType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function getInterfaceType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);\n}\nconst _searchObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function searchObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);\n}\nconst _aggregateObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregateObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...args);\n}\nconst _listLinkedObjectsV2 = [0, \"/v2/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 * 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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjectsV2, ...args);\n}\nconst _getLinkedObjectV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObjectV2, ...args);\n}\nconst _listPropertyAttachments = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n\n/**\n * Get the metadata of attachments parented to the given object.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function listPropertyAttachments($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listPropertyAttachments, ...args);\n}\nconst _getAttachmentPropertyByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n\n/**\n * Get the metadata of a particular attachment in an attachment list.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentPropertyByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentPropertyByRidV2, ...args);\n}\nconst _getAttachmentPropertyContentV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\", 2,, \"*/*\"];\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function getAttachmentPropertyContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentPropertyContentV2, ...args);\n}\nconst _getAttachmentPropertyContentByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\", 2,, \"*/*\"];\n\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function getAttachmentPropertyContentByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentPropertyContentByRidV2, ...args);\n}\nconst _getFirstPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint\", 2];\n\n/**\n * Get the first point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint\n */\nexport function getFirstPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFirstPoint, ...args);\n}\nconst _getLastPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/lastPoint\", 2];\n\n/**\n * Get the last point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint\n */\nexport function getLastPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLastPoint, ...args);\n}\nconst _streamPoints = [1, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamPoints\", 3,, \"*/*\"];\n\n/**\n * Stream all of the points of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints\n */\nexport function streamPoints($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _streamPoints, ...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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}"]}
@@ -0,0 +1,26 @@
1
+ import { __export } from './chunk-PZ5AY32C.js';
2
+ import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
3
+
4
+ // src/public/Attachment.ts
5
+ var Attachment_exports = {};
6
+ __export(Attachment_exports, {
7
+ getAttachmentContentV2: () => getAttachmentContentV2,
8
+ getAttachmentV2: () => getAttachmentV2,
9
+ uploadAttachmentV2: () => uploadAttachmentV2
10
+ });
11
+ var _uploadAttachmentV2 = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
12
+ function uploadAttachmentV2($ctx, ...args) {
13
+ return foundryPlatformFetch($ctx, _uploadAttachmentV2, ...args);
14
+ }
15
+ var _getAttachmentContentV2 = [0, "/v2/ontologies/attachments/{0}/content", , , "*/*"];
16
+ function getAttachmentContentV2($ctx, ...args) {
17
+ return foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);
18
+ }
19
+ var _getAttachmentV2 = [0, "/v2/ontologies/attachments/{0}"];
20
+ function getAttachmentV2($ctx, ...args) {
21
+ return foundryPlatformFetch($ctx, _getAttachmentV2, ...args);
22
+ }
23
+
24
+ export { Attachment_exports, getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 };
25
+ //# sourceMappingURL=out.js.map
26
+ //# sourceMappingURL=chunk-YGTQQ5D7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/public/Attachment.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAI9D,IAAM,sBAAsB,CAAC,GAAG,qCAAqC,GAAG,KAAK;AAetE,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,sBAAsB,MAAM,qBAAqB,GAAG,IAAI;AACjE;AACA,IAAM,0BAA0B,CAAC,GAAG,0CAAyC,EAAC,EAAE,KAAK;AAW9E,SAAS,uBAAuB,SAAS,MAAM;AACpD,SAAO,sBAAsB,MAAM,yBAAyB,GAAG,IAAI;AACrE;AACA,IAAM,mBAAmB,CAAC,GAAG,gCAAgC;AAWtD,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,sBAAsB,MAAM,kBAAkB,GAAG,IAAI;AAC9D","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:write-data`.\n *\n * Required Scopes: [api:write-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function getAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentV2, ...args);\n}"]}
@@ -1,10 +1,11 @@
1
+ export { QueryType_exports as QueryTypes } from './chunk-ASYINYCV.js';
1
2
  export { Action_exports as Actions } from './chunk-B5JRDCDE.js';
2
3
  export { ActionTypeV2_exports as ActionTypesV2 } from './chunk-G4A4IJCI.js';
4
+ export { Attachment_exports as Attachments } from './chunk-YGTQQ5D7.js';
3
5
  export { ObjectTypeV2_exports as ObjectTypesV2 } from './chunk-6LZM4EP4.js';
4
6
  export { OntologyObjectSet_exports as OntologyObjectSets } from './chunk-TJX6RHXS.js';
5
- export { OntologyObjectV2_exports as OntologyObjectsV2 } from './chunk-U2YDEYVP.js';
7
+ export { OntologyObjectV2_exports as OntologyObjectsV2 } from './chunk-KYMDEQ65.js';
6
8
  export { OntologyV2_exports as OntologiesV2 } from './chunk-5MBQRC34.js';
7
- export { QueryType_exports as QueryTypes } from './chunk-ASYINYCV.js';
8
9
  import './chunk-PZ5AY32C.js';
9
10
  //# sourceMappingURL=out.js.map
10
11
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,4 @@
1
+ export { getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 } from '../chunk-YGTQQ5D7.js';
2
+ import '../chunk-PZ5AY32C.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=Attachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export { aggregateObjectsForInterface, aggregateObjectsV2, countObjects, getAttachmentByRidV2, getAttachmentContentByRidV2, getAttachmentContentV2, getAttachmentsV2, getFirstPoint, getInterfaceType, getLastPoint, getLinkedObjectV2, getObjectTypeFullMetadata, getObjectV2, listInterfaceTypes, listLinkedObjectsV2, listObjectsV2, searchObjectsForInterface, searchObjectsV2, streamPoints } from '../chunk-U2YDEYVP.js';
1
+ export { aggregateObjectsForInterface, aggregateObjectsV2, countObjects, getAttachmentPropertyByRidV2, getAttachmentPropertyContentByRidV2, getAttachmentPropertyContentV2, getFirstPoint, getInterfaceType, getLastPoint, getLinkedObjectV2, getObjectTypeFullMetadata, getObjectV2, listInterfaceTypes, listLinkedObjectsV2, listObjectsV2, listPropertyAttachments, searchObjectsForInterface, searchObjectsV2, streamPoints } from '../chunk-KYMDEQ65.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
3
  //# sourceMappingURL=out.js.map
4
4
  //# sourceMappingURL=OntologyObjectV2.js.map
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ var chunkQ7SFCCGT_cjs = require('./chunk-Q7SFCCGT.cjs');
4
+ var shared_net_platformapi = require('@osdk/shared.net.platformapi');
5
+
6
+ // src/public/Attachment.ts
7
+ var Attachment_exports = {};
8
+ chunkQ7SFCCGT_cjs.__export(Attachment_exports, {
9
+ getAttachmentContentV2: () => getAttachmentContentV2,
10
+ getAttachmentV2: () => getAttachmentV2,
11
+ uploadAttachmentV2: () => uploadAttachmentV2
12
+ });
13
+ var _uploadAttachmentV2 = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
14
+ function uploadAttachmentV2($ctx, ...args) {
15
+ return shared_net_platformapi.foundryPlatformFetch($ctx, _uploadAttachmentV2, ...args);
16
+ }
17
+ var _getAttachmentContentV2 = [0, "/v2/ontologies/attachments/{0}/content", , , "*/*"];
18
+ function getAttachmentContentV2($ctx, ...args) {
19
+ return shared_net_platformapi.foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);
20
+ }
21
+ var _getAttachmentV2 = [0, "/v2/ontologies/attachments/{0}"];
22
+ function getAttachmentV2($ctx, ...args) {
23
+ return shared_net_platformapi.foundryPlatformFetch($ctx, _getAttachmentV2, ...args);
24
+ }
25
+
26
+ exports.Attachment_exports = Attachment_exports;
27
+ exports.getAttachmentContentV2 = getAttachmentContentV2;
28
+ exports.getAttachmentV2 = getAttachmentV2;
29
+ exports.uploadAttachmentV2 = uploadAttachmentV2;
30
+ //# sourceMappingURL=out.js.map
31
+ //# sourceMappingURL=chunk-CC6MHVHV.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/public/Attachment.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAI9D,IAAM,sBAAsB,CAAC,GAAG,qCAAqC,GAAG,KAAK;AAetE,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,sBAAsB,MAAM,qBAAqB,GAAG,IAAI;AACjE;AACA,IAAM,0BAA0B,CAAC,GAAG,0CAAyC,EAAC,EAAE,KAAK;AAW9E,SAAS,uBAAuB,SAAS,MAAM;AACpD,SAAO,sBAAsB,MAAM,yBAAyB,GAAG,IAAI;AACrE;AACA,IAAM,mBAAmB,CAAC,GAAG,gCAAgC;AAWtD,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,sBAAsB,MAAM,kBAAkB,GAAG,IAAI;AAC9D","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:write-data`.\n *\n * Required Scopes: [api:write-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function getAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentV2, ...args);\n}"]}
@@ -9,10 +9,9 @@ chunkQ7SFCCGT_cjs.__export(OntologyObjectV2_exports, {
9
9
  aggregateObjectsForInterface: () => aggregateObjectsForInterface,
10
10
  aggregateObjectsV2: () => aggregateObjectsV2,
11
11
  countObjects: () => countObjects,
12
- getAttachmentByRidV2: () => getAttachmentByRidV2,
13
- getAttachmentContentByRidV2: () => getAttachmentContentByRidV2,
14
- getAttachmentContentV2: () => getAttachmentContentV2,
15
- getAttachmentsV2: () => getAttachmentsV2,
12
+ getAttachmentPropertyByRidV2: () => getAttachmentPropertyByRidV2,
13
+ getAttachmentPropertyContentByRidV2: () => getAttachmentPropertyContentByRidV2,
14
+ getAttachmentPropertyContentV2: () => getAttachmentPropertyContentV2,
16
15
  getFirstPoint: () => getFirstPoint,
17
16
  getInterfaceType: () => getInterfaceType,
18
17
  getLastPoint: () => getLastPoint,
@@ -22,6 +21,7 @@ chunkQ7SFCCGT_cjs.__export(OntologyObjectV2_exports, {
22
21
  listInterfaceTypes: () => listInterfaceTypes,
23
22
  listLinkedObjectsV2: () => listLinkedObjectsV2,
24
23
  listObjectsV2: () => listObjectsV2,
24
+ listPropertyAttachments: () => listPropertyAttachments,
25
25
  searchObjectsForInterface: () => searchObjectsForInterface,
26
26
  searchObjectsV2: () => searchObjectsV2,
27
27
  streamPoints: () => streamPoints
@@ -70,21 +70,21 @@ var _getLinkedObjectV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}",
70
70
  function getLinkedObjectV2($ctx, ...args) {
71
71
  return shared_net_platformapi.foundryPlatformFetch($ctx, _getLinkedObjectV2, ...args);
72
72
  }
73
- var _getAttachmentsV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}", 2];
74
- function getAttachmentsV2($ctx, ...args) {
75
- return shared_net_platformapi.foundryPlatformFetch($ctx, _getAttachmentsV2, ...args);
73
+ var _listPropertyAttachments = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}", 2];
74
+ function listPropertyAttachments($ctx, ...args) {
75
+ return shared_net_platformapi.foundryPlatformFetch($ctx, _listPropertyAttachments, ...args);
76
76
  }
77
- var _getAttachmentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}", 2];
78
- function getAttachmentByRidV2($ctx, ...args) {
79
- return shared_net_platformapi.foundryPlatformFetch($ctx, _getAttachmentByRidV2, ...args);
77
+ var _getAttachmentPropertyByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}", 2];
78
+ function getAttachmentPropertyByRidV2($ctx, ...args) {
79
+ return shared_net_platformapi.foundryPlatformFetch($ctx, _getAttachmentPropertyByRidV2, ...args);
80
80
  }
81
- var _getAttachmentContentV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content", 2, , "*/*"];
82
- function getAttachmentContentV2($ctx, ...args) {
83
- return shared_net_platformapi.foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);
81
+ var _getAttachmentPropertyContentV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content", 2, , "*/*"];
82
+ function getAttachmentPropertyContentV2($ctx, ...args) {
83
+ return shared_net_platformapi.foundryPlatformFetch($ctx, _getAttachmentPropertyContentV2, ...args);
84
84
  }
85
- var _getAttachmentContentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content", 2, , "*/*"];
86
- function getAttachmentContentByRidV2($ctx, ...args) {
87
- return shared_net_platformapi.foundryPlatformFetch($ctx, _getAttachmentContentByRidV2, ...args);
85
+ var _getAttachmentPropertyContentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content", 2, , "*/*"];
86
+ function getAttachmentPropertyContentByRidV2($ctx, ...args) {
87
+ return shared_net_platformapi.foundryPlatformFetch($ctx, _getAttachmentPropertyContentByRidV2, ...args);
88
88
  }
89
89
  var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
90
90
  function getFirstPoint($ctx, ...args) {
@@ -107,10 +107,9 @@ exports.OntologyObjectV2_exports = OntologyObjectV2_exports;
107
107
  exports.aggregateObjectsForInterface = aggregateObjectsForInterface;
108
108
  exports.aggregateObjectsV2 = aggregateObjectsV2;
109
109
  exports.countObjects = countObjects;
110
- exports.getAttachmentByRidV2 = getAttachmentByRidV2;
111
- exports.getAttachmentContentByRidV2 = getAttachmentContentByRidV2;
112
- exports.getAttachmentContentV2 = getAttachmentContentV2;
113
- exports.getAttachmentsV2 = getAttachmentsV2;
110
+ exports.getAttachmentPropertyByRidV2 = getAttachmentPropertyByRidV2;
111
+ exports.getAttachmentPropertyContentByRidV2 = getAttachmentPropertyContentByRidV2;
112
+ exports.getAttachmentPropertyContentV2 = getAttachmentPropertyContentV2;
114
113
  exports.getFirstPoint = getFirstPoint;
115
114
  exports.getInterfaceType = getInterfaceType;
116
115
  exports.getLastPoint = getLastPoint;
@@ -120,8 +119,9 @@ exports.getObjectV2 = getObjectV2;
120
119
  exports.listInterfaceTypes = listInterfaceTypes;
121
120
  exports.listLinkedObjectsV2 = listLinkedObjectsV2;
122
121
  exports.listObjectsV2 = listObjectsV2;
122
+ exports.listPropertyAttachments = listPropertyAttachments;
123
123
  exports.searchObjectsForInterface = searchObjectsForInterface;
124
124
  exports.searchObjectsV2 = searchObjectsV2;
125
125
  exports.streamPoints = streamPoints;
126
126
  //# sourceMappingURL=out.js.map
127
- //# sourceMappingURL=chunk-XFUHWX3P.cjs.map
127
+ //# sourceMappingURL=chunk-XDPPJYIF.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAI9D,IAAM,iBAAiB,CAAC,GAAG,kCAAkC,CAAC;AAsBvD,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,eAAe,CAAC,GAAG,sCAAsC,CAAC;AAUzD,SAAS,YAAY,SAAS,MAAM;AACzC,SAAO,sBAAsB,MAAM,cAAc,GAAG,IAAI;AAC1D;AACA,IAAM,gBAAgB,CAAC,GAAG,wCAAwC,CAAC;AAU5D,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,mBAAmB,CAAC,GAAG,yCAAyC,CAAC;AA6BhE,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,sBAAsB,MAAM,kBAAkB,GAAG,IAAI;AAC9D;AACA,IAAM,sBAAsB,CAAC,GAAG,4CAA4C,CAAC;AAUtE,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,sBAAsB,MAAM,qBAAqB,GAAG,IAAI;AACjE;AACA,IAAM,sBAAsB,CAAC,GAAG,qCAAqC,CAAC;AAkB/D,SAAS,mBAAmB,SAA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M;AACzD,SAAO,sBAAsB,MAAM,8BAA8B,GAAG,IAAI;AAC1E;AACA,IAAM,iBAAiB,CAAC,GAAG,gEAAgE,CAAC;AAWrF,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,gBAAgB,CAAC,GAAG,+DAA+D,CAAC;AAWnF,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,kEAAkE,GAAE,EAAE,KAAK;AAW9F,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,6BAA6B,CAAC,GAAG,mDAAmD,CAAC;AAUpF,SAAS,0BAA0B,SAAS,MAAM;AACvD,SAAO,sBAAsB,MAAM,4BAA4B,GAAG,IAAI;AACxE","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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}\nconst _listInterfaceTypes = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function listInterfaceTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);\n}\nconst _getInterfaceType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function getInterfaceType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);\n}\nconst _searchObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function searchObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);\n}\nconst _aggregateObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregateObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...args);\n}\nconst _listLinkedObjectsV2 = [0, \"/v2/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 * 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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjectsV2, ...args);\n}\nconst _getLinkedObjectV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObjectV2, ...args);\n}\nconst _getAttachmentsV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n\n/**\n * Get the metadata of attachments parented to the given object.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function getAttachmentsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentsV2, ...args);\n}\nconst _getAttachmentByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n\n/**\n * Get the metadata of a particular attachment in an attachment list.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentByRidV2, ...args);\n}\nconst _getAttachmentContentV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\", 2,, \"*/*\"];\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function getAttachmentContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);\n}\nconst _getAttachmentContentByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\", 2,, \"*/*\"];\n\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function getAttachmentContentByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentByRidV2, ...args);\n}\nconst _getFirstPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint\", 2];\n\n/**\n * Get the first point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint\n */\nexport function getFirstPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFirstPoint, ...args);\n}\nconst _getLastPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/lastPoint\", 2];\n\n/**\n * Get the last point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint\n */\nexport function getLastPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLastPoint, ...args);\n}\nconst _streamPoints = [1, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamPoints\", 3,, \"*/*\"];\n\n/**\n * Stream all of the points of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints\n */\nexport function streamPoints($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _streamPoints, ...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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAI9D,IAAM,iBAAiB,CAAC,GAAG,kCAAkC,CAAC;AAsBvD,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,eAAe,CAAC,GAAG,sCAAsC,CAAC;AAUzD,SAAS,YAAY,SAAS,MAAM;AACzC,SAAO,sBAAsB,MAAM,cAAc,GAAG,IAAI;AAC1D;AACA,IAAM,gBAAgB,CAAC,GAAG,wCAAwC,CAAC;AAU5D,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,mBAAmB,CAAC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,SAAS,6BAA6B,SAAS,MAAM;AAC1D,SAAO,sBAAsB,MAAM,+BAA+B,GAAG,IAAI;AAC3E;AACA,IAAM,kCAAkC,CAAC,GAAG,8DAA8D,GAAE,EAAE,KAAK;AAW5G,SAAS,+BAA+B,SAAS,MAAM;AAC5D,SAAO,sBAAsB,MAAM,iCAAiC,GAAG,IAAI;AAC7E;AACA,IAAM,uCAAuC,CAAC,GAAG,kEAAkE,GAAE,EAAE,KAAK;AAarH,SAAS,oCAAoC,SAAS,MAAM;AACjE,SAAO,sBAAsB,MAAM,sCAAsC,GAAG,IAAI;AAClF;AACA,IAAM,iBAAiB,CAAC,GAAG,gEAAgE,CAAC;AAWrF,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,gBAAgB,CAAC,GAAG,+DAA+D,CAAC;AAWnF,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,kEAAkE,GAAE,EAAE,KAAK;AAW9F,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,6BAA6B,CAAC,GAAG,mDAAmD,CAAC;AAUpF,SAAS,0BAA0B,SAAS,MAAM;AACvD,SAAO,sBAAsB,MAAM,4BAA4B,GAAG,IAAI;AACxE","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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}\nconst _listInterfaceTypes = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function listInterfaceTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);\n}\nconst _getInterfaceType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function getInterfaceType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);\n}\nconst _searchObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function searchObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);\n}\nconst _aggregateObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregateObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...args);\n}\nconst _listLinkedObjectsV2 = [0, \"/v2/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 * 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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjectsV2, ...args);\n}\nconst _getLinkedObjectV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObjectV2, ...args);\n}\nconst _listPropertyAttachments = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n\n/**\n * Get the metadata of attachments parented to the given object.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function listPropertyAttachments($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listPropertyAttachments, ...args);\n}\nconst _getAttachmentPropertyByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n\n/**\n * Get the metadata of a particular attachment in an attachment list.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentPropertyByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentPropertyByRidV2, ...args);\n}\nconst _getAttachmentPropertyContentV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\", 2,, \"*/*\"];\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function getAttachmentPropertyContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentPropertyContentV2, ...args);\n}\nconst _getAttachmentPropertyContentByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\", 2,, \"*/*\"];\n\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function getAttachmentPropertyContentByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentPropertyContentByRidV2, ...args);\n}\nconst _getFirstPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint\", 2];\n\n/**\n * Get the first point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint\n */\nexport function getFirstPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFirstPoint, ...args);\n}\nconst _getLastPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/lastPoint\", 2];\n\n/**\n * Get the last point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint\n */\nexport function getLastPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLastPoint, ...args);\n}\nconst _streamPoints = [1, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamPoints\", 3,, \"*/*\"];\n\n/**\n * Stream all of the points of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints\n */\nexport function streamPoints($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _streamPoints, ...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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}"]}
@@ -1,16 +1,21 @@
1
1
  'use strict';
2
2
 
3
+ var chunk4P3VZEYN_cjs = require('./chunk-4P3VZEYN.cjs');
3
4
  var chunkHIODZNKB_cjs = require('./chunk-HIODZNKB.cjs');
4
5
  var chunk4C2HM57F_cjs = require('./chunk-4C2HM57F.cjs');
6
+ var chunkCC6MHVHV_cjs = require('./chunk-CC6MHVHV.cjs');
5
7
  var chunkGYQMWSQD_cjs = require('./chunk-GYQMWSQD.cjs');
6
8
  var chunkY5J4FTF2_cjs = require('./chunk-Y5J4FTF2.cjs');
7
- var chunkXFUHWX3P_cjs = require('./chunk-XFUHWX3P.cjs');
9
+ var chunkXDPPJYIF_cjs = require('./chunk-XDPPJYIF.cjs');
8
10
  var chunkMDCGGVNW_cjs = require('./chunk-MDCGGVNW.cjs');
9
- var chunk4P3VZEYN_cjs = require('./chunk-4P3VZEYN.cjs');
10
11
  require('./chunk-Q7SFCCGT.cjs');
11
12
 
12
13
 
13
14
 
15
+ Object.defineProperty(exports, "QueryTypes", {
16
+ enumerable: true,
17
+ get: function () { return chunk4P3VZEYN_cjs.QueryType_exports; }
18
+ });
14
19
  Object.defineProperty(exports, "Actions", {
15
20
  enumerable: true,
16
21
  get: function () { return chunkHIODZNKB_cjs.Action_exports; }
@@ -19,6 +24,10 @@ Object.defineProperty(exports, "ActionTypesV2", {
19
24
  enumerable: true,
20
25
  get: function () { return chunk4C2HM57F_cjs.ActionTypeV2_exports; }
21
26
  });
27
+ Object.defineProperty(exports, "Attachments", {
28
+ enumerable: true,
29
+ get: function () { return chunkCC6MHVHV_cjs.Attachment_exports; }
30
+ });
22
31
  Object.defineProperty(exports, "ObjectTypesV2", {
23
32
  enumerable: true,
24
33
  get: function () { return chunkGYQMWSQD_cjs.ObjectTypeV2_exports; }
@@ -29,15 +38,11 @@ Object.defineProperty(exports, "OntologyObjectSets", {
29
38
  });
30
39
  Object.defineProperty(exports, "OntologyObjectsV2", {
31
40
  enumerable: true,
32
- get: function () { return chunkXFUHWX3P_cjs.OntologyObjectV2_exports; }
41
+ get: function () { return chunkXDPPJYIF_cjs.OntologyObjectV2_exports; }
33
42
  });
34
43
  Object.defineProperty(exports, "OntologiesV2", {
35
44
  enumerable: true,
36
45
  get: function () { return chunkMDCGGVNW_cjs.OntologyV2_exports; }
37
46
  });
38
- Object.defineProperty(exports, "QueryTypes", {
39
- enumerable: true,
40
- get: function () { return chunk4P3VZEYN_cjs.QueryType_exports; }
41
- });
42
47
  //# sourceMappingURL=out.js.map
43
48
  //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ var chunkCC6MHVHV_cjs = require('../chunk-CC6MHVHV.cjs');
4
+ require('../chunk-Q7SFCCGT.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "getAttachmentContentV2", {
9
+ enumerable: true,
10
+ get: function () { return chunkCC6MHVHV_cjs.getAttachmentContentV2; }
11
+ });
12
+ Object.defineProperty(exports, "getAttachmentV2", {
13
+ enumerable: true,
14
+ get: function () { return chunkCC6MHVHV_cjs.getAttachmentV2; }
15
+ });
16
+ Object.defineProperty(exports, "uploadAttachmentV2", {
17
+ enumerable: true,
18
+ get: function () { return chunkCC6MHVHV_cjs.uploadAttachmentV2; }
19
+ });
20
+ //# sourceMappingURL=out.js.map
21
+ //# sourceMappingURL=Attachment.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,85 +1,85 @@
1
1
  'use strict';
2
2
 
3
- var chunkXFUHWX3P_cjs = require('../chunk-XFUHWX3P.cjs');
3
+ var chunkXDPPJYIF_cjs = require('../chunk-XDPPJYIF.cjs');
4
4
  require('../chunk-Q7SFCCGT.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "aggregateObjectsForInterface", {
9
9
  enumerable: true,
10
- get: function () { return chunkXFUHWX3P_cjs.aggregateObjectsForInterface; }
10
+ get: function () { return chunkXDPPJYIF_cjs.aggregateObjectsForInterface; }
11
11
  });
12
12
  Object.defineProperty(exports, "aggregateObjectsV2", {
13
13
  enumerable: true,
14
- get: function () { return chunkXFUHWX3P_cjs.aggregateObjectsV2; }
14
+ get: function () { return chunkXDPPJYIF_cjs.aggregateObjectsV2; }
15
15
  });
16
16
  Object.defineProperty(exports, "countObjects", {
17
17
  enumerable: true,
18
- get: function () { return chunkXFUHWX3P_cjs.countObjects; }
18
+ get: function () { return chunkXDPPJYIF_cjs.countObjects; }
19
19
  });
20
- Object.defineProperty(exports, "getAttachmentByRidV2", {
20
+ Object.defineProperty(exports, "getAttachmentPropertyByRidV2", {
21
21
  enumerable: true,
22
- get: function () { return chunkXFUHWX3P_cjs.getAttachmentByRidV2; }
22
+ get: function () { return chunkXDPPJYIF_cjs.getAttachmentPropertyByRidV2; }
23
23
  });
24
- Object.defineProperty(exports, "getAttachmentContentByRidV2", {
24
+ Object.defineProperty(exports, "getAttachmentPropertyContentByRidV2", {
25
25
  enumerable: true,
26
- get: function () { return chunkXFUHWX3P_cjs.getAttachmentContentByRidV2; }
26
+ get: function () { return chunkXDPPJYIF_cjs.getAttachmentPropertyContentByRidV2; }
27
27
  });
28
- Object.defineProperty(exports, "getAttachmentContentV2", {
28
+ Object.defineProperty(exports, "getAttachmentPropertyContentV2", {
29
29
  enumerable: true,
30
- get: function () { return chunkXFUHWX3P_cjs.getAttachmentContentV2; }
31
- });
32
- Object.defineProperty(exports, "getAttachmentsV2", {
33
- enumerable: true,
34
- get: function () { return chunkXFUHWX3P_cjs.getAttachmentsV2; }
30
+ get: function () { return chunkXDPPJYIF_cjs.getAttachmentPropertyContentV2; }
35
31
  });
36
32
  Object.defineProperty(exports, "getFirstPoint", {
37
33
  enumerable: true,
38
- get: function () { return chunkXFUHWX3P_cjs.getFirstPoint; }
34
+ get: function () { return chunkXDPPJYIF_cjs.getFirstPoint; }
39
35
  });
40
36
  Object.defineProperty(exports, "getInterfaceType", {
41
37
  enumerable: true,
42
- get: function () { return chunkXFUHWX3P_cjs.getInterfaceType; }
38
+ get: function () { return chunkXDPPJYIF_cjs.getInterfaceType; }
43
39
  });
44
40
  Object.defineProperty(exports, "getLastPoint", {
45
41
  enumerable: true,
46
- get: function () { return chunkXFUHWX3P_cjs.getLastPoint; }
42
+ get: function () { return chunkXDPPJYIF_cjs.getLastPoint; }
47
43
  });
48
44
  Object.defineProperty(exports, "getLinkedObjectV2", {
49
45
  enumerable: true,
50
- get: function () { return chunkXFUHWX3P_cjs.getLinkedObjectV2; }
46
+ get: function () { return chunkXDPPJYIF_cjs.getLinkedObjectV2; }
51
47
  });
52
48
  Object.defineProperty(exports, "getObjectTypeFullMetadata", {
53
49
  enumerable: true,
54
- get: function () { return chunkXFUHWX3P_cjs.getObjectTypeFullMetadata; }
50
+ get: function () { return chunkXDPPJYIF_cjs.getObjectTypeFullMetadata; }
55
51
  });
56
52
  Object.defineProperty(exports, "getObjectV2", {
57
53
  enumerable: true,
58
- get: function () { return chunkXFUHWX3P_cjs.getObjectV2; }
54
+ get: function () { return chunkXDPPJYIF_cjs.getObjectV2; }
59
55
  });
60
56
  Object.defineProperty(exports, "listInterfaceTypes", {
61
57
  enumerable: true,
62
- get: function () { return chunkXFUHWX3P_cjs.listInterfaceTypes; }
58
+ get: function () { return chunkXDPPJYIF_cjs.listInterfaceTypes; }
63
59
  });
64
60
  Object.defineProperty(exports, "listLinkedObjectsV2", {
65
61
  enumerable: true,
66
- get: function () { return chunkXFUHWX3P_cjs.listLinkedObjectsV2; }
62
+ get: function () { return chunkXDPPJYIF_cjs.listLinkedObjectsV2; }
67
63
  });
68
64
  Object.defineProperty(exports, "listObjectsV2", {
69
65
  enumerable: true,
70
- get: function () { return chunkXFUHWX3P_cjs.listObjectsV2; }
66
+ get: function () { return chunkXDPPJYIF_cjs.listObjectsV2; }
67
+ });
68
+ Object.defineProperty(exports, "listPropertyAttachments", {
69
+ enumerable: true,
70
+ get: function () { return chunkXDPPJYIF_cjs.listPropertyAttachments; }
71
71
  });
72
72
  Object.defineProperty(exports, "searchObjectsForInterface", {
73
73
  enumerable: true,
74
- get: function () { return chunkXFUHWX3P_cjs.searchObjectsForInterface; }
74
+ get: function () { return chunkXDPPJYIF_cjs.searchObjectsForInterface; }
75
75
  });
76
76
  Object.defineProperty(exports, "searchObjectsV2", {
77
77
  enumerable: true,
78
- get: function () { return chunkXFUHWX3P_cjs.searchObjectsV2; }
78
+ get: function () { return chunkXDPPJYIF_cjs.searchObjectsV2; }
79
79
  });
80
80
  Object.defineProperty(exports, "streamPoints", {
81
81
  enumerable: true,
82
- get: function () { return chunkXFUHWX3P_cjs.streamPoints; }
82
+ get: function () { return chunkXDPPJYIF_cjs.streamPoints; }
83
83
  });
84
84
  //# sourceMappingURL=out.js.map
85
85
  //# sourceMappingURL=OntologyObjectV2.cjs.map
@@ -7,10 +7,9 @@ __export(OntologyObjectV2_exports, {
7
7
  aggregateObjectsForInterface: () => aggregateObjectsForInterface,
8
8
  aggregateObjectsV2: () => aggregateObjectsV2,
9
9
  countObjects: () => countObjects,
10
- getAttachmentByRidV2: () => getAttachmentByRidV2,
11
- getAttachmentContentByRidV2: () => getAttachmentContentByRidV2,
12
- getAttachmentContentV2: () => getAttachmentContentV2,
13
- getAttachmentsV2: () => getAttachmentsV2,
10
+ getAttachmentPropertyByRidV2: () => getAttachmentPropertyByRidV2,
11
+ getAttachmentPropertyContentByRidV2: () => getAttachmentPropertyContentByRidV2,
12
+ getAttachmentPropertyContentV2: () => getAttachmentPropertyContentV2,
14
13
  getFirstPoint: () => getFirstPoint,
15
14
  getInterfaceType: () => getInterfaceType,
16
15
  getLastPoint: () => getLastPoint,
@@ -20,6 +19,7 @@ __export(OntologyObjectV2_exports, {
20
19
  listInterfaceTypes: () => listInterfaceTypes,
21
20
  listLinkedObjectsV2: () => listLinkedObjectsV2,
22
21
  listObjectsV2: () => listObjectsV2,
22
+ listPropertyAttachments: () => listPropertyAttachments,
23
23
  searchObjectsForInterface: () => searchObjectsForInterface,
24
24
  searchObjectsV2: () => searchObjectsV2,
25
25
  streamPoints: () => streamPoints
@@ -68,21 +68,21 @@ var _getLinkedObjectV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}",
68
68
  function getLinkedObjectV2($ctx, ...args) {
69
69
  return foundryPlatformFetch($ctx, _getLinkedObjectV2, ...args);
70
70
  }
71
- var _getAttachmentsV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}", 2];
72
- function getAttachmentsV2($ctx, ...args) {
73
- return foundryPlatformFetch($ctx, _getAttachmentsV2, ...args);
71
+ var _listPropertyAttachments = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}", 2];
72
+ function listPropertyAttachments($ctx, ...args) {
73
+ return foundryPlatformFetch($ctx, _listPropertyAttachments, ...args);
74
74
  }
75
- var _getAttachmentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}", 2];
76
- function getAttachmentByRidV2($ctx, ...args) {
77
- return foundryPlatformFetch($ctx, _getAttachmentByRidV2, ...args);
75
+ var _getAttachmentPropertyByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}", 2];
76
+ function getAttachmentPropertyByRidV2($ctx, ...args) {
77
+ return foundryPlatformFetch($ctx, _getAttachmentPropertyByRidV2, ...args);
78
78
  }
79
- var _getAttachmentContentV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content", 2, , "*/*"];
80
- function getAttachmentContentV2($ctx, ...args) {
81
- return foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);
79
+ var _getAttachmentPropertyContentV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content", 2, , "*/*"];
80
+ function getAttachmentPropertyContentV2($ctx, ...args) {
81
+ return foundryPlatformFetch($ctx, _getAttachmentPropertyContentV2, ...args);
82
82
  }
83
- var _getAttachmentContentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content", 2, , "*/*"];
84
- function getAttachmentContentByRidV2($ctx, ...args) {
85
- return foundryPlatformFetch($ctx, _getAttachmentContentByRidV2, ...args);
83
+ var _getAttachmentPropertyContentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content", 2, , "*/*"];
84
+ function getAttachmentPropertyContentByRidV2($ctx, ...args) {
85
+ return foundryPlatformFetch($ctx, _getAttachmentPropertyContentByRidV2, ...args);
86
86
  }
87
87
  var _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
88
88
  function getFirstPoint($ctx, ...args) {
@@ -101,6 +101,6 @@ function getObjectTypeFullMetadata($ctx, ...args) {
101
101
  return foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);
102
102
  }
103
103
 
104
- export { OntologyObjectV2_exports, aggregateObjectsForInterface, aggregateObjectsV2, countObjects, getAttachmentByRidV2, getAttachmentContentByRidV2, getAttachmentContentV2, getAttachmentsV2, getFirstPoint, getInterfaceType, getLastPoint, getLinkedObjectV2, getObjectTypeFullMetadata, getObjectV2, listInterfaceTypes, listLinkedObjectsV2, listObjectsV2, searchObjectsForInterface, searchObjectsV2, streamPoints };
104
+ export { OntologyObjectV2_exports, aggregateObjectsForInterface, aggregateObjectsV2, countObjects, getAttachmentPropertyByRidV2, getAttachmentPropertyContentByRidV2, getAttachmentPropertyContentV2, getFirstPoint, getInterfaceType, getLastPoint, getLinkedObjectV2, getObjectTypeFullMetadata, getObjectV2, listInterfaceTypes, listLinkedObjectsV2, listObjectsV2, listPropertyAttachments, searchObjectsForInterface, searchObjectsV2, streamPoints };
105
105
  //# sourceMappingURL=out.js.map
106
- //# sourceMappingURL=chunk-U2YDEYVP.js.map
106
+ //# sourceMappingURL=chunk-KYMDEQ65.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAI9D,IAAM,iBAAiB,CAAC,GAAG,kCAAkC,CAAC;AAsBvD,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,eAAe,CAAC,GAAG,sCAAsC,CAAC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AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,oBAAoB,CAAC,GAAG,sDAAsD,CAAC;AAW9E,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D;AACA,IAAM,wBAAwB,CAAC,GAAG,0DAA0D,CAAC;AAWtF,SAAS,qBAAqB,SAAS,MAAM;AAClD,SAAO,sBAAsB,MAAM,uBAAuB,GAAG,IAAI;AACnE;AACA,IAAM,0BAA0B,CAAC,GAAG,8DAA8D,GAAE,EAAE,KAAK;AAWpG,SAAS,uBAAuB,SAAS,MAAM;AACpD,SAAO,sBAAsB,MAAM,yBAAyB,GAAG,IAAI;AACrE;AACA,IAAM,+BAA+B,CAAC,GAAG,kEAAkE,GAAE,EAAE,KAAK;AAa7G,SAAS,4BAA4B,SAAS,MAAM;AACzD,SAAO,sBAAsB,MAAM,8BAA8B,GAAG,IAAI;AAC1E;AACA,IAAM,iBAAiB,CAAC,GAAG,gEAAgE,CAAC;AAWrF,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,gBAAgB,CAAC,GAAG,+DAA+D,CAAC;AAWnF,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,kEAAkE,GAAE,EAAE,KAAK;AAW9F,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,6BAA6B,CAAC,GAAG,mDAAmD,CAAC;AAUpF,SAAS,0BAA0B,SAAS,MAAM;AACvD,SAAO,sBAAsB,MAAM,4BAA4B,GAAG,IAAI;AACxE","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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}\nconst _listInterfaceTypes = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function listInterfaceTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);\n}\nconst _getInterfaceType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function getInterfaceType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);\n}\nconst _searchObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function searchObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);\n}\nconst _aggregateObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregateObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...args);\n}\nconst _listLinkedObjectsV2 = [0, \"/v2/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 * 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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjectsV2, ...args);\n}\nconst _getLinkedObjectV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObjectV2, ...args);\n}\nconst _getAttachmentsV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n\n/**\n * Get the metadata of attachments parented to the given object.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function getAttachmentsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentsV2, ...args);\n}\nconst _getAttachmentByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n\n/**\n * Get the metadata of a particular attachment in an attachment list.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentByRidV2, ...args);\n}\nconst _getAttachmentContentV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\", 2,, \"*/*\"];\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function getAttachmentContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);\n}\nconst _getAttachmentContentByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\", 2,, \"*/*\"];\n\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function getAttachmentContentByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentByRidV2, ...args);\n}\nconst _getFirstPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint\", 2];\n\n/**\n * Get the first point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint\n */\nexport function getFirstPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFirstPoint, ...args);\n}\nconst _getLastPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/lastPoint\", 2];\n\n/**\n * Get the last point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint\n */\nexport function getLastPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLastPoint, ...args);\n}\nconst _streamPoints = [1, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamPoints\", 3,, \"*/*\"];\n\n/**\n * Stream all of the points of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints\n */\nexport function streamPoints($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _streamPoints, ...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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;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AE,EAAE,KAAK;AAW9F,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,6BAA6B,CAAC,GAAG,mDAAmD,CAAC;AAUpF,SAAS,0BAA0B,SAAS,MAAM;AACvD,SAAO,sBAAsB,MAAM,4BAA4B,GAAG,IAAI;AACxE","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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregateObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);\n}\nconst _listInterfaceTypes = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function listInterfaceTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);\n}\nconst _getInterfaceType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function getInterfaceType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);\n}\nconst _searchObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function searchObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);\n}\nconst _aggregateObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregateObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...args);\n}\nconst _listLinkedObjectsV2 = [0, \"/v2/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 * 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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjectsV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjectsV2, ...args);\n}\nconst _getLinkedObjectV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObjectV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObjectV2, ...args);\n}\nconst _listPropertyAttachments = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n\n/**\n * Get the metadata of attachments parented to the given object.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function listPropertyAttachments($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listPropertyAttachments, ...args);\n}\nconst _getAttachmentPropertyByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n\n/**\n * Get the metadata of a particular attachment in an attachment list.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentPropertyByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentPropertyByRidV2, ...args);\n}\nconst _getAttachmentPropertyContentV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\", 2,, \"*/*\"];\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function getAttachmentPropertyContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentPropertyContentV2, ...args);\n}\nconst _getAttachmentPropertyContentByRidV2 = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\", 2,, \"*/*\"];\n\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function getAttachmentPropertyContentByRidV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentPropertyContentByRidV2, ...args);\n}\nconst _getFirstPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint\", 2];\n\n/**\n * Get the first point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint\n */\nexport function getFirstPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFirstPoint, ...args);\n}\nconst _getLastPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/lastPoint\", 2];\n\n/**\n * Get the last point of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint\n */\nexport function getLastPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLastPoint, ...args);\n}\nconst _streamPoints = [1, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamPoints\", 3,, \"*/*\"];\n\n/**\n * Stream all of the points of a time series property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints\n */\nexport function streamPoints($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _streamPoints, ...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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}"]}
@@ -0,0 +1,26 @@
1
+ import { __export } from './chunk-PZ5AY32C.js';
2
+ import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
3
+
4
+ // src/public/Attachment.ts
5
+ var Attachment_exports = {};
6
+ __export(Attachment_exports, {
7
+ getAttachmentContentV2: () => getAttachmentContentV2,
8
+ getAttachmentV2: () => getAttachmentV2,
9
+ uploadAttachmentV2: () => uploadAttachmentV2
10
+ });
11
+ var _uploadAttachmentV2 = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
12
+ function uploadAttachmentV2($ctx, ...args) {
13
+ return foundryPlatformFetch($ctx, _uploadAttachmentV2, ...args);
14
+ }
15
+ var _getAttachmentContentV2 = [0, "/v2/ontologies/attachments/{0}/content", , , "*/*"];
16
+ function getAttachmentContentV2($ctx, ...args) {
17
+ return foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);
18
+ }
19
+ var _getAttachmentV2 = [0, "/v2/ontologies/attachments/{0}"];
20
+ function getAttachmentV2($ctx, ...args) {
21
+ return foundryPlatformFetch($ctx, _getAttachmentV2, ...args);
22
+ }
23
+
24
+ export { Attachment_exports, getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 };
25
+ //# sourceMappingURL=out.js.map
26
+ //# sourceMappingURL=chunk-YGTQQ5D7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/public/Attachment.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAI9D,IAAM,sBAAsB,CAAC,GAAG,qCAAqC,GAAG,KAAK;AAetE,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,sBAAsB,MAAM,qBAAqB,GAAG,IAAI;AACjE;AACA,IAAM,0BAA0B,CAAC,GAAG,0CAAyC,EAAC,EAAE,KAAK;AAW9E,SAAS,uBAAuB,SAAS,MAAM;AACpD,SAAO,sBAAsB,MAAM,yBAAyB,GAAG,IAAI;AACrE;AACA,IAAM,mBAAmB,CAAC,GAAG,gCAAgC;AAWtD,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,sBAAsB,MAAM,kBAAkB,GAAG,IAAI;AAC9D","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:write-data`.\n *\n * Required Scopes: [api:write-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\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:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function getAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentV2, ...args);\n}"]}
@@ -1,6 +1,7 @@
1
1
  export type {} from "./_components.js";
2
2
  export * as Actions from "./public/Action.js";
3
3
  export * as ActionTypesV2 from "./public/ActionTypeV2.js";
4
+ export * as Attachments from "./public/Attachment.js";
4
5
  export * as ObjectTypesV2 from "./public/ObjectTypeV2.js";
5
6
  export * as OntologyObjectSets from "./public/OntologyObjectSet.js";
6
7
  export * as OntologyObjectsV2 from "./public/OntologyObjectV2.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,kBAAkB,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,iBAAiB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,YAAY,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,kBAAkB,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,iBAAiB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,YAAY,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC"}
@@ -1,10 +1,11 @@
1
+ export { QueryType_exports as QueryTypes } from './chunk-ASYINYCV.js';
1
2
  export { Action_exports as Actions } from './chunk-B5JRDCDE.js';
2
3
  export { ActionTypeV2_exports as ActionTypesV2 } from './chunk-G4A4IJCI.js';
4
+ export { Attachment_exports as Attachments } from './chunk-YGTQQ5D7.js';
3
5
  export { ObjectTypeV2_exports as ObjectTypesV2 } from './chunk-6LZM4EP4.js';
4
6
  export { OntologyObjectSet_exports as OntologyObjectSets } from './chunk-TJX6RHXS.js';
5
- export { OntologyObjectV2_exports as OntologyObjectsV2 } from './chunk-U2YDEYVP.js';
7
+ export { OntologyObjectV2_exports as OntologyObjectsV2 } from './chunk-KYMDEQ65.js';
6
8
  export { OntologyV2_exports as OntologiesV2 } from './chunk-5MBQRC34.js';
7
- export { QueryType_exports as QueryTypes } from './chunk-ASYINYCV.js';
8
9
  import './chunk-PZ5AY32C.js';
9
10
  //# sourceMappingURL=out.js.map
10
11
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,46 @@
1
+ import type { AttachmentRid, AttachmentV2, ContentLength, ContentType, Filename } from "@osdk/internal.foundry.core";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
+ /**
4
+ * Upload an attachment to use in an action. Any attachment which has not been linked to an object via
5
+ * an action within one hour after upload will be removed.
6
+ * Previously mapped attachments which are not connected to any object anymore are also removed on
7
+ * a biweekly basis.
8
+ * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
9
+ *
10
+ * Third-party applications using this endpoint via OAuth2 must request the
11
+ * following operation scopes: `api:write-data`.
12
+ *
13
+ * Required Scopes: [api:write-data]
14
+ * URL: /v2/ontologies/attachments/upload
15
+ */
16
+ export declare function uploadAttachmentV2($ctx: $Client | $ClientContext, ...args: [
17
+ $body: Blob,
18
+ $queryParams: {
19
+ filename: Filename;
20
+ },
21
+ $headerParams: {
22
+ "Content-Length": ContentLength;
23
+ "Content-Type": ContentType;
24
+ }
25
+ ]): Promise<AttachmentV2>;
26
+ /**
27
+ * Get the content of an attachment.
28
+ *
29
+ * Third-party applications using this endpoint via OAuth2 must request the
30
+ * following operation scopes: `api:read-data`.
31
+ *
32
+ * Required Scopes: [api:read-data]
33
+ * URL: /v2/ontologies/attachments/{attachmentRid}/content
34
+ */
35
+ export declare function getAttachmentContentV2($ctx: $Client | $ClientContext, ...args: [attachmentRid: AttachmentRid]): Promise<Blob>;
36
+ /**
37
+ * Get the metadata of an attachment.
38
+ *
39
+ * Third-party applications using this endpoint via OAuth2 must request the
40
+ * following operation scopes: `api:read-data`.
41
+ *
42
+ * Required Scopes: [api:read-data]
43
+ * URL: /v2/ontologies/attachments/{attachmentRid}
44
+ */
45
+ export declare function getAttachmentV2($ctx: $Client | $ClientContext, ...args: [attachmentRid: AttachmentRid]): Promise<AttachmentV2>;
46
+ //# sourceMappingURL=Attachment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/public/Attachment.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,aAAa,EACb,WAAW,EACX,QAAQ,EACT,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAiB7B;;;;;;;;;;;;GAYG;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,EAAE;QACb,gBAAgB,EAAE,aAAa,CAAC;QAChC,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF,GACA,OAAO,CAAC,YAAY,CAAC,CAEvB;AAMD;;;;;;;;GAQG;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;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,GACtC,OAAO,CAAC,YAAY,CAAC,CAEvB"}
@@ -0,0 +1,4 @@
1
+ export { getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 } from '../chunk-YGTQQ5D7.js';
2
+ import '../chunk-PZ5AY32C.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=Attachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -296,7 +296,7 @@ export declare function getLinkedObjectV2($ctx: $Client | $ClientContext, ...arg
296
296
  * Required Scopes: [api:read-data]
297
297
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}
298
298
  */
299
- export declare function getAttachmentsV2($ctx: $Client | $ClientContext, ...args: [
299
+ export declare function listPropertyAttachments($ctx: $Client | $ClientContext, ...args: [
300
300
  ontology: OntologyIdentifier,
301
301
  objectType: ObjectTypeApiName,
302
302
  primaryKey: PropertyValueEscapedString,
@@ -315,7 +315,7 @@ export declare function getAttachmentsV2($ctx: $Client | $ClientContext, ...args
315
315
  * Required Scopes: [api:read-data]
316
316
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}
317
317
  */
318
- export declare function getAttachmentByRidV2($ctx: $Client | $ClientContext, ...args: [
318
+ export declare function getAttachmentPropertyByRidV2($ctx: $Client | $ClientContext, ...args: [
319
319
  ontology: OntologyIdentifier,
320
320
  objectType: ObjectTypeApiName,
321
321
  primaryKey: PropertyValueEscapedString,
@@ -335,7 +335,7 @@ export declare function getAttachmentByRidV2($ctx: $Client | $ClientContext, ...
335
335
  * Required Scopes: [api:read-data]
336
336
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content
337
337
  */
338
- export declare function getAttachmentContentV2($ctx: $Client | $ClientContext, ...args: [
338
+ export declare function getAttachmentPropertyContentV2($ctx: $Client | $ClientContext, ...args: [
339
339
  ontology: OntologyIdentifier,
340
340
  objectType: ObjectTypeApiName,
341
341
  primaryKey: PropertyValueEscapedString,
@@ -356,7 +356,7 @@ export declare function getAttachmentContentV2($ctx: $Client | $ClientContext, .
356
356
  * Required Scopes: [api:read-data]
357
357
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content
358
358
  */
359
- export declare function getAttachmentContentByRidV2($ctx: $Client | $ClientContext, ...args: [
359
+ export declare function getAttachmentPropertyContentByRidV2($ctx: $Client | $ClientContext, ...args: [
360
360
  ontology: OntologyIdentifier,
361
361
  objectType: ObjectTypeApiName,
362
362
  primaryKey: PropertyValueEscapedString,
@@ -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,0BAA0B,EAC1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ACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAUD;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,kBAAkB;IAC5B,UAAU,EAAE,iBAAiB;IAE7B,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;KAAE;CACrD,GACA,OAAO,CAAC,sBAAsB,CAAC,CAEjC"}
@@ -1,4 +1,4 @@
1
- export { aggregateObjectsForInterface, aggregateObjectsV2, countObjects, getAttachmentByRidV2, getAttachmentContentByRidV2, getAttachmentContentV2, getAttachmentsV2, getFirstPoint, getInterfaceType, getLastPoint, getLinkedObjectV2, getObjectTypeFullMetadata, getObjectV2, listInterfaceTypes, listLinkedObjectsV2, listObjectsV2, searchObjectsForInterface, searchObjectsV2, streamPoints } from '../chunk-U2YDEYVP.js';
1
+ export { aggregateObjectsForInterface, aggregateObjectsV2, countObjects, getAttachmentPropertyByRidV2, getAttachmentPropertyContentByRidV2, getAttachmentPropertyContentV2, getFirstPoint, getInterfaceType, getLastPoint, getLinkedObjectV2, getObjectTypeFullMetadata, getObjectV2, listInterfaceTypes, listLinkedObjectsV2, listObjectsV2, listPropertyAttachments, searchObjectsForInterface, searchObjectsV2, streamPoints } from '../chunk-KYMDEQ65.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
3
  //# sourceMappingURL=out.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.1.0-beta.2",
3
+ "version": "0.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,18 +17,18 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@osdk/api": "~1.9.0-beta.1",
21
- "@osdk/internal.foundry.core": "0.1.0-beta.2",
22
- "@osdk/internal.foundry.ontologies": "0.1.0-beta.2",
23
- "@osdk/shared.net": "~1.12.0-beta.1",
20
+ "@osdk/api": "~1.9.0",
21
+ "@osdk/internal.foundry.ontologies": "0.1.0",
22
+ "@osdk/internal.foundry.core": "0.1.0",
24
23
  "@osdk/shared.client": "~0.0.0",
25
- "@osdk/shared.net.platformapi": "~0.2.0-beta.2"
24
+ "@osdk/shared.net": "~1.12.0",
25
+ "@osdk/shared.net.platformapi": "~0.2.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "^5.5.2",
29
29
  "@osdk/monorepo.api-extractor": "~0.0.0",
30
- "@osdk/monorepo.tsconfig": "~0.0.0",
31
- "@osdk/monorepo.tsup": "~0.0.0"
30
+ "@osdk/monorepo.tsup": "~0.0.0",
31
+ "@osdk/monorepo.tsconfig": "~0.0.0"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"
@@ -48,7 +48,7 @@
48
48
  "sls": {
49
49
  "dependencies": {
50
50
  "com.palantir.foundry.api:api-gateway": {
51
- "minVersion": "1.866.0",
51
+ "minVersion": "1.891.0",
52
52
  "maxVersion": "1.x.x"
53
53
  }
54
54
  }