@osdk/internal.foundry.ontologies 0.1.0 → 0.2.0-beta.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 (132) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/build/browser/{chunk-67IRYQ4I.js → chunk-3GNJUZCN.js} +2 -2
  3. package/build/browser/chunk-3GNJUZCN.js.map +1 -0
  4. package/build/browser/chunk-5RUWELWF.js +21 -0
  5. package/build/browser/chunk-5RUWELWF.js.map +1 -0
  6. package/build/{esm/chunk-6OWDPN5M.js → browser/chunk-ABHCL2BI.js} +2 -2
  7. package/build/browser/chunk-ABHCL2BI.js.map +1 -0
  8. package/build/{esm/chunk-JDBI2K4S.js → browser/chunk-ATSSLGFA.js} +2 -2
  9. package/build/browser/chunk-ATSSLGFA.js.map +1 -0
  10. package/build/{esm/chunk-LTUKKONO.js → browser/chunk-MONAXU3N.js} +6 -16
  11. package/build/browser/chunk-MONAXU3N.js.map +1 -0
  12. package/build/browser/chunk-PZ5AY32C.js +1 -1
  13. package/build/browser/chunk-PZ5AY32C.js.map +1 -1
  14. package/build/browser/chunk-SO7SXCWR.js +16 -0
  15. package/build/browser/chunk-SO7SXCWR.js.map +1 -0
  16. package/build/{esm/chunk-M2AD7ARN.js → browser/chunk-VBZZKGHE.js} +2 -2
  17. package/build/browser/chunk-VBZZKGHE.js.map +1 -0
  18. package/build/{esm/chunk-CBKBUZ63.js → browser/chunk-Y7POOFVF.js} +3 -8
  19. package/build/browser/chunk-Y7POOFVF.js.map +1 -0
  20. package/build/browser/index.js +9 -7
  21. package/build/browser/index.js.map +1 -1
  22. package/build/browser/public/Action.js +4 -0
  23. package/build/browser/public/Action.js.map +1 -0
  24. package/build/browser/public/ActionType.js +2 -2
  25. package/build/browser/public/ActionType.js.map +1 -1
  26. package/build/browser/public/Attachment.js +2 -2
  27. package/build/browser/public/Attachment.js.map +1 -1
  28. package/build/browser/public/ObjectType.js +2 -2
  29. package/build/browser/public/ObjectType.js.map +1 -1
  30. package/build/browser/public/Ontology.js +2 -2
  31. package/build/browser/public/Ontology.js.map +1 -1
  32. package/build/browser/public/OntologyObject.js +2 -2
  33. package/build/browser/public/OntologyObject.js.map +1 -1
  34. package/build/browser/public/Query.js +4 -0
  35. package/build/browser/public/Query.js.map +1 -0
  36. package/build/browser/public/QueryType.js +2 -2
  37. package/build/browser/public/QueryType.js.map +1 -1
  38. package/build/esm/{chunk-67IRYQ4I.js → chunk-3GNJUZCN.js} +2 -2
  39. package/build/esm/chunk-3GNJUZCN.js.map +1 -0
  40. package/build/esm/chunk-5RUWELWF.js +21 -0
  41. package/build/esm/chunk-5RUWELWF.js.map +1 -0
  42. package/build/{browser/chunk-6OWDPN5M.js → esm/chunk-ABHCL2BI.js} +2 -2
  43. package/build/esm/chunk-ABHCL2BI.js.map +1 -0
  44. package/build/{browser/chunk-JDBI2K4S.js → esm/chunk-ATSSLGFA.js} +2 -2
  45. package/build/esm/chunk-ATSSLGFA.js.map +1 -0
  46. package/build/{browser/chunk-LTUKKONO.js → esm/chunk-MONAXU3N.js} +6 -16
  47. package/build/esm/chunk-MONAXU3N.js.map +1 -0
  48. package/build/esm/chunk-PZ5AY32C.js +1 -1
  49. package/build/esm/chunk-PZ5AY32C.js.map +1 -1
  50. package/build/esm/chunk-SO7SXCWR.js +16 -0
  51. package/build/esm/chunk-SO7SXCWR.js.map +1 -0
  52. package/build/{browser/chunk-M2AD7ARN.js → esm/chunk-VBZZKGHE.js} +2 -2
  53. package/build/esm/chunk-VBZZKGHE.js.map +1 -0
  54. package/build/{browser/chunk-CBKBUZ63.js → esm/chunk-Y7POOFVF.js} +3 -8
  55. package/build/esm/chunk-Y7POOFVF.js.map +1 -0
  56. package/build/esm/index.d.ts +2 -0
  57. package/build/esm/index.d.ts.map +1 -1
  58. package/build/esm/index.js +9 -7
  59. package/build/esm/index.js.map +1 -1
  60. package/build/esm/public/Action.d.ts +105 -0
  61. package/build/esm/public/Action.d.ts.map +1 -0
  62. package/build/esm/public/Action.js +4 -0
  63. package/build/esm/public/Action.js.map +1 -0
  64. package/build/esm/public/ActionType.d.ts +9 -97
  65. package/build/esm/public/ActionType.d.ts.map +1 -1
  66. package/build/esm/public/ActionType.js +2 -2
  67. package/build/esm/public/ActionType.js.map +1 -1
  68. package/build/esm/public/Attachment.d.ts +12 -6
  69. package/build/esm/public/Attachment.d.ts.map +1 -1
  70. package/build/esm/public/Attachment.js +2 -2
  71. package/build/esm/public/Attachment.js.map +1 -1
  72. package/build/esm/public/ObjectType.d.ts +16 -8
  73. package/build/esm/public/ObjectType.d.ts.map +1 -1
  74. package/build/esm/public/ObjectType.js +2 -2
  75. package/build/esm/public/ObjectType.js.map +1 -1
  76. package/build/esm/public/Ontology.d.ts +8 -4
  77. package/build/esm/public/Ontology.d.ts.map +1 -1
  78. package/build/esm/public/Ontology.js +2 -2
  79. package/build/esm/public/Ontology.js.map +1 -1
  80. package/build/esm/public/OntologyObject.d.ts +26 -14
  81. package/build/esm/public/OntologyObject.d.ts.map +1 -1
  82. package/build/esm/public/OntologyObject.js +2 -2
  83. package/build/esm/public/OntologyObject.js.map +1 -1
  84. package/build/esm/public/Query.d.ts +21 -0
  85. package/build/esm/public/Query.d.ts.map +1 -0
  86. package/build/esm/public/Query.js +4 -0
  87. package/build/esm/public/Query.js.map +1 -0
  88. package/build/esm/public/QueryType.d.ts +9 -21
  89. package/build/esm/public/QueryType.d.ts.map +1 -1
  90. package/build/esm/public/QueryType.js +2 -2
  91. package/build/esm/public/QueryType.js.map +1 -1
  92. package/package.json +6 -6
  93. package/build/browser/chunk-67IRYQ4I.js.map +0 -1
  94. package/build/browser/chunk-6OWDPN5M.js.map +0 -1
  95. package/build/browser/chunk-CBKBUZ63.js.map +0 -1
  96. package/build/browser/chunk-JDBI2K4S.js.map +0 -1
  97. package/build/browser/chunk-LTUKKONO.js.map +0 -1
  98. package/build/browser/chunk-M2AD7ARN.js.map +0 -1
  99. package/build/cjs/chunk-3MBV6XL2.cjs +0 -37
  100. package/build/cjs/chunk-3MBV6XL2.cjs.map +0 -1
  101. package/build/cjs/chunk-G6AUHEZZ.cjs +0 -25
  102. package/build/cjs/chunk-G6AUHEZZ.cjs.map +0 -1
  103. package/build/cjs/chunk-JL5OW6PQ.cjs +0 -31
  104. package/build/cjs/chunk-JL5OW6PQ.cjs.map +0 -1
  105. package/build/cjs/chunk-KQUKIHQA.cjs +0 -49
  106. package/build/cjs/chunk-KQUKIHQA.cjs.map +0 -1
  107. package/build/cjs/chunk-Q7SFCCGT.cjs +0 -11
  108. package/build/cjs/chunk-Q7SFCCGT.cjs.map +0 -1
  109. package/build/cjs/chunk-SHG4WIV3.cjs +0 -31
  110. package/build/cjs/chunk-SHG4WIV3.cjs.map +0 -1
  111. package/build/cjs/chunk-UHRLPWFY.cjs +0 -55
  112. package/build/cjs/chunk-UHRLPWFY.cjs.map +0 -1
  113. package/build/cjs/index.cjs +0 -38
  114. package/build/cjs/index.cjs.map +0 -1
  115. package/build/cjs/public/ActionType.cjs +0 -37
  116. package/build/cjs/public/ActionType.cjs.map +0 -1
  117. package/build/cjs/public/Attachment.cjs +0 -21
  118. package/build/cjs/public/Attachment.cjs.map +0 -1
  119. package/build/cjs/public/ObjectType.cjs +0 -25
  120. package/build/cjs/public/ObjectType.cjs.map +0 -1
  121. package/build/cjs/public/Ontology.cjs +0 -17
  122. package/build/cjs/public/Ontology.cjs.map +0 -1
  123. package/build/cjs/public/OntologyObject.cjs +0 -33
  124. package/build/cjs/public/OntologyObject.cjs.map +0 -1
  125. package/build/cjs/public/QueryType.cjs +0 -21
  126. package/build/cjs/public/QueryType.cjs.map +0 -1
  127. package/build/esm/chunk-67IRYQ4I.js.map +0 -1
  128. package/build/esm/chunk-6OWDPN5M.js.map +0 -1
  129. package/build/esm/chunk-CBKBUZ63.js.map +0 -1
  130. package/build/esm/chunk-JDBI2K4S.js.map +0 -1
  131. package/build/esm/chunk-LTUKKONO.js.map +0 -1
  132. package/build/esm/chunk-M2AD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,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,uCAAA,EAAyC,CAAC,CAAA,CAAA;AA8B9D,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,0CAAA,EAA4C,CAAC,CAAA,CAAA;AAYpE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D","file":"chunk-VBZZKGHE.js","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listObjects = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}\n */\nexport function listObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjects, ...args);\n}\nconst _getObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}\", 2];\n\n/**\n * Gets a specific object with the given primary key.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}\n */\nexport function getObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObject, ...args);\n}\nconst _listLinkedObjects = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n\n/**\n * Lists the linked objects for a specific object and the given link type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n\n/**\n * Get a specific linked object that originates from another object. If there is no link between the two objects,\n * LinkedObjectNotFound is thrown.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);\n}\nconst _searchObjects = [1, \"/v1/ontologies/{0}/objects/{1}/search\", 1];\n\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\n *\n * | Query type | Description | Supported Types |\n * |----------|-----------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | prefix | The provided property starts with the provided value. | string |\n * | phrase | The provided property contains the provided value as a substring. | string |\n * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | allTerms | The provided property contains all the terms separated by whitespace. | string | |\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search\n */\nexport function searchObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjects, ...args);\n}\nconst _aggregateObjects = [1, \"/v1/ontologies/{0}/objects/{1}/aggregate\", 1];\n\n/**\n * Perform functions on object fields in the specified ontology and object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate\n */\nexport function aggregateObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjects, ...args);\n}"]}
@@ -4,7 +4,6 @@ import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
4
4
  // src/public/QueryType.ts
5
5
  var QueryType_exports = {};
6
6
  __export(QueryType_exports, {
7
- executeQuery: () => executeQuery,
8
7
  getQueryType: () => getQueryType,
9
8
  listQueryTypes: () => listQueryTypes
10
9
  });
@@ -16,11 +15,7 @@ var _getQueryType = [0, "/v1/ontologies/{0}/queryTypes/{1}", 2];
16
15
  function getQueryType($ctx, ...args) {
17
16
  return foundryPlatformFetch($ctx, _getQueryType, ...args);
18
17
  }
19
- var _executeQuery = [1, "/v1/ontologies/{0}/queries/{1}/execute", 3];
20
- function executeQuery($ctx, ...args) {
21
- return foundryPlatformFetch($ctx, _executeQuery, ...args);
22
- }
23
18
 
24
- export { QueryType_exports, executeQuery, getQueryType, listQueryTypes };
25
- //# sourceMappingURL=out.js.map
26
- //# sourceMappingURL=chunk-CBKBUZ63.js.map
19
+ export { QueryType_exports, getQueryType, listQueryTypes };
20
+ //# sourceMappingURL=chunk-Y7POOFVF.js.map
21
+ //# sourceMappingURL=chunk-Y7POOFVF.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/public/QueryType.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,iBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,iBAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,eAAkB,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAevD,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,CAAC,CAAA,CAAA;AAYzD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-Y7POOFVF.js","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listQueryTypes = [0, \"/v1/ontologies/{0}/queryTypes\", 2];\n\n/**\n * Lists the query types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes\n */\nexport function listQueryTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);\n}\nconst _getQueryType = [0, \"/v1/ontologies/{0}/queryTypes/{1}\", 2];\n\n/**\n * Gets a specific query type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}\n */\nexport function getQueryType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getQueryType, ...args);\n}"]}
@@ -1,8 +1,10 @@
1
1
  export type {} from "./_components.js";
2
+ export * as Actions from "./public/Action.js";
2
3
  export * as ActionTypes from "./public/ActionType.js";
3
4
  export * as Attachments from "./public/Attachment.js";
4
5
  export * as ObjectTypes from "./public/ObjectType.js";
5
6
  export * as Ontologies from "./public/Ontology.js";
6
7
  export * as OntologyObjects from "./public/OntologyObject.js";
8
+ export * as Queries from "./public/Query.js";
7
9
  export * as QueryTypes from "./public/QueryType.js";
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -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,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,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,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC"}
@@ -1,9 +1,11 @@
1
- export { ActionType_exports as ActionTypes } from './chunk-LTUKKONO.js';
2
- export { Attachment_exports as Attachments } from './chunk-67IRYQ4I.js';
3
- export { ObjectType_exports as ObjectTypes } from './chunk-JDBI2K4S.js';
4
- export { Ontology_exports as Ontologies } from './chunk-6OWDPN5M.js';
5
- export { OntologyObject_exports as OntologyObjects } from './chunk-M2AD7ARN.js';
6
- export { QueryType_exports as QueryTypes } from './chunk-CBKBUZ63.js';
1
+ export { QueryType_exports as QueryTypes } from './chunk-Y7POOFVF.js';
2
+ export { Action_exports as Actions } from './chunk-MONAXU3N.js';
3
+ export { ActionType_exports as ActionTypes } from './chunk-5RUWELWF.js';
4
+ export { Attachment_exports as Attachments } from './chunk-3GNJUZCN.js';
5
+ export { ObjectType_exports as ObjectTypes } from './chunk-ATSSLGFA.js';
6
+ export { Ontology_exports as Ontologies } from './chunk-ABHCL2BI.js';
7
+ export { OntologyObject_exports as OntologyObjects } from './chunk-VBZZKGHE.js';
8
+ export { Query_exports as Queries } from './chunk-SO7SXCWR.js';
7
9
  import './chunk-PZ5AY32C.js';
8
- //# sourceMappingURL=out.js.map
10
+ //# sourceMappingURL=index.js.map
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,105 @@
1
+ import type { ActionRid, ActionTypeApiName, ApplyActionRequest, ApplyActionResponse, AsyncActionOperation, AsyncApplyActionRequest, BatchApplyActionRequest, BatchApplyActionResponse, OntologyRid, PreviewMode, ValidateActionRequest, ValidateActionResponse } from "@osdk/internal.foundry.core";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
+ /**
4
+ * Applies an action using the given parameters. Changes to the Ontology are eventually consistent and may take
5
+ * some time to be visible.
6
+ *
7
+ * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
8
+ * this endpoint.
9
+ *
10
+ * Third-party applications using this endpoint via OAuth2 must request the
11
+ * following operation scopes: `api:ontologies-read api:ontologies-write`.
12
+ *
13
+ * @public
14
+ *
15
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
16
+ * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply
17
+ */
18
+ export declare function applyAction($ctx: $Client | $ClientContext, ...args: [
19
+ ontologyRid: OntologyRid,
20
+ actionType: ActionTypeApiName,
21
+ $body: ApplyActionRequest
22
+ ]): Promise<ApplyActionResponse>;
23
+ /**
24
+ * Applies multiple actions (of the same Action Type) using the given parameters.
25
+ * Changes to the Ontology are eventually consistent and may take some time to be visible.
26
+ *
27
+ * Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not
28
+ * call Functions may receive a higher limit.
29
+ *
30
+ * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) and
31
+ * [notifications](https://www.palantir.com/docs/foundry/action-types/notifications/) are not currently supported by this endpoint.
32
+ *
33
+ * Third-party applications using this endpoint via OAuth2 must request the
34
+ * following operation scopes: `api:ontologies-read api:ontologies-write`.
35
+ *
36
+ * @public
37
+ *
38
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
39
+ * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch
40
+ */
41
+ export declare function applyActionBatch($ctx: $Client | $ClientContext, ...args: [
42
+ ontologyRid: OntologyRid,
43
+ actionType: ActionTypeApiName,
44
+ $body: BatchApplyActionRequest
45
+ ]): Promise<BatchApplyActionResponse>;
46
+ /**
47
+ * Applies an action asynchronously using the given parameters. Changes to the Ontology are eventually consistent
48
+ * and may take some time to be visible.
49
+ *
50
+ * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently
51
+ * supported by this endpoint.
52
+ *
53
+ * Third-party applications using this endpoint via OAuth2 must request the
54
+ * following operation scopes: `api:ontologies-read api:ontologies-write`.
55
+ *
56
+ * @alpha
57
+ *
58
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
59
+ * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync
60
+ */
61
+ export declare function applyActionAsync($ctx: $Client | $ClientContext, ...args: [
62
+ ontologyRid: OntologyRid,
63
+ actionType: ActionTypeApiName,
64
+ $body: AsyncApplyActionRequest,
65
+ $queryParams?: {
66
+ preview?: PreviewMode | undefined;
67
+ }
68
+ ]): Promise<void>;
69
+ /**
70
+ * @alpha
71
+ *
72
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
73
+ * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}
74
+ */
75
+ export declare function getAsyncActionStatus($ctx: $Client | $ClientContext, ...args: [
76
+ ontologyRid: OntologyRid,
77
+ actionType: ActionTypeApiName,
78
+ actionRid: ActionRid,
79
+ $queryParams?: {
80
+ preview?: PreviewMode | undefined;
81
+ }
82
+ ]): Promise<AsyncActionOperation>;
83
+ /**
84
+ * Validates if an action can be run with the given set of parameters.
85
+ * The response contains the evaluation of parameters and **submission criteria**
86
+ * that determine if the request is `VALID` or `INVALID`.
87
+ * For performance reasons, validations will not consider existing objects or other data in Foundry.
88
+ * For example, the uniqueness of a primary key or the existence of a user ID will not be checked.
89
+ * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
90
+ * this endpoint. Unspecified parameters will be given a default value of `null`.
91
+ *
92
+ * Third-party applications using this endpoint via OAuth2 must request the
93
+ * following operation scopes: `api:ontologies-read`.
94
+ *
95
+ * @public
96
+ *
97
+ * Required Scopes: [api:ontologies-read]
98
+ * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate
99
+ */
100
+ export declare function validateAction($ctx: $Client | $ClientContext, ...args: [
101
+ ontologyRid: OntologyRid,
102
+ actionType: ActionTypeApiName,
103
+ $body: ValidateActionRequest
104
+ ]): Promise<ValidateActionResponse>;
105
+ //# sourceMappingURL=Action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/public/Action.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAc7B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,kBAAkB;CAC1B,GACA,OAAO,CAAC,mBAAmB,CAAC,CAE9B;AAUD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,uBAAuB;CAC/B,GACA,OAAO,CAAC,wBAAwB,CAAC,CAEnC;AAWD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,uBAAuB;IAC9B,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;KAAE;CACrD,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAWD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,SAAS,EAAE,SAAS;IAEpB,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;KAAE;CACrD,GACA,OAAO,CAAC,oBAAoB,CAAC,CAE/B;AAUD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,qBAAqB;CAC7B,GACA,OAAO,CAAC,sBAAsB,CAAC,CAEjC"}
@@ -0,0 +1,4 @@
1
+ export { applyAction, applyActionAsync, applyActionBatch, getAsyncActionStatus, validateAction } from '../chunk-MONAXU3N.js';
2
+ import '../chunk-PZ5AY32C.js';
3
+ //# sourceMappingURL=Action.js.map
4
+ //# sourceMappingURL=Action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Action.js"}
@@ -1,4 +1,4 @@
1
- import type { ActionRid, ActionType, ActionTypeApiName, ApplyActionRequest, ApplyActionResponse, AsyncActionOperation, AsyncApplyActionRequest, BatchApplyActionRequest, BatchApplyActionResponse, ListActionTypesResponse, OntologyRid, PageSize, PageToken, PreviewMode, ValidateActionRequest, ValidateActionResponse } from "@osdk/internal.foundry.core";
1
+ import type { ActionType, ActionTypeApiName, ListActionTypesResponse, OntologyRid, PageSize, PageToken } from "@osdk/internal.foundry.core";
2
2
  import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
3
  /**
4
4
  * Lists the action types for the given Ontology.
@@ -6,9 +6,11 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
6
6
  * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
7
7
  * results available, at least one result will be present in the response.
8
8
  *
9
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
9
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
10
10
  *
11
- * Required Scopes: [api:read-data]
11
+ * @public
12
+ *
13
+ * Required Scopes: [api:ontologies-read]
12
14
  * URL: /v1/ontologies/{ontologyRid}/actionTypes
13
15
  */
14
16
  export declare function listActionTypes($ctx: $Client | $ClientContext, ...args: [
@@ -21,102 +23,12 @@ export declare function listActionTypes($ctx: $Client | $ClientContext, ...args:
21
23
  /**
22
24
  * Gets a specific action type with the given API name.
23
25
  *
24
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
26
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
27
+ *
28
+ * @public
25
29
  *
26
- * Required Scopes: [api:read-data]
30
+ * Required Scopes: [api:ontologies-read]
27
31
  * URL: /v1/ontologies/{ontologyRid}/actionTypes/{actionTypeApiName}
28
32
  */
29
33
  export declare function getActionType($ctx: $Client | $ClientContext, ...args: [ontologyRid: OntologyRid, actionTypeApiName: ActionTypeApiName]): Promise<ActionType>;
30
- /**
31
- * Applies an action using the given parameters. Changes to the Ontology are eventually consistent and may take
32
- * some time to be visible.
33
- *
34
- * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently supported by
35
- * this endpoint.
36
- *
37
- * Third-party applications using this endpoint via OAuth2 must request the
38
- * following operation scopes: `api:read-data api:write-data`.
39
- *
40
- * Required Scopes: [api:read-data, api:write-data]
41
- * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply
42
- */
43
- export declare function applyAction($ctx: $Client | $ClientContext, ...args: [
44
- ontologyRid: OntologyRid,
45
- actionType: ActionTypeApiName,
46
- $body: ApplyActionRequest
47
- ]): Promise<ApplyActionResponse>;
48
- /**
49
- * Applies multiple actions (of the same Action Type) using the given parameters.
50
- * Changes to the Ontology are eventually consistent and may take some time to be visible.
51
- *
52
- * Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not
53
- * call Functions may receive a higher limit.
54
- *
55
- * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) and
56
- * [notifications](/docs/foundry/action-types/notifications/) are not currently supported by this endpoint.
57
- *
58
- * Third-party applications using this endpoint via OAuth2 must request the
59
- * following operation scopes: `api:read-data api:write-data`.
60
- *
61
- * Required Scopes: [api:read-data, api:write-data]
62
- * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch
63
- */
64
- export declare function applyActionBatch($ctx: $Client | $ClientContext, ...args: [
65
- ontologyRid: OntologyRid,
66
- actionType: ActionTypeApiName,
67
- $body: BatchApplyActionRequest
68
- ]): Promise<BatchApplyActionResponse>;
69
- /**
70
- * Applies an action asynchronously using the given parameters. Changes to the Ontology are eventually consistent
71
- * and may take some time to be visible.
72
- *
73
- * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently
74
- * supported by this endpoint.
75
- *
76
- * Third-party applications using this endpoint via OAuth2 must request the
77
- * following operation scopes: `api:read-data api:write-data`.
78
- *
79
- * Required Scopes: [api:read-data, api:write-data]
80
- * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync
81
- */
82
- export declare function applyActionAsync($ctx: $Client | $ClientContext, ...args: [
83
- ontologyRid: OntologyRid,
84
- actionType: ActionTypeApiName,
85
- $body: AsyncApplyActionRequest,
86
- $queryParams?: {
87
- preview?: PreviewMode | undefined;
88
- }
89
- ]): Promise<void>;
90
- /**
91
- * Required Scopes: [api:read-data, api:write-data]
92
- * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}
93
- */
94
- export declare function getAsyncActionStatus($ctx: $Client | $ClientContext, ...args: [
95
- ontologyRid: OntologyRid,
96
- actionType: ActionTypeApiName,
97
- actionRid: ActionRid,
98
- $queryParams?: {
99
- preview?: PreviewMode | undefined;
100
- }
101
- ]): Promise<AsyncActionOperation>;
102
- /**
103
- * Validates if an action can be run with the given set of parameters.
104
- * The response contains the evaluation of parameters and **submission criteria**
105
- * that determine if the request is `VALID` or `INVALID`.
106
- * For performance reasons, validations will not consider existing objects or other data in Foundry.
107
- * For example, the uniqueness of a primary key or the existence of a user ID will not be checked.
108
- * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently supported by
109
- * this endpoint. Unspecified parameters will be given a default value of `null`.
110
- *
111
- * Third-party applications using this endpoint via OAuth2 must request the
112
- * following operation scopes: `api:read-data`.
113
- *
114
- * Required Scopes: [api:read-data]
115
- * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate
116
- */
117
- export declare function validateAction($ctx: $Client | $ClientContext, ...args: [
118
- ontologyRid: OntologyRid,
119
- actionType: ActionTypeApiName,
120
- $body: ValidateActionRequest
121
- ]): Promise<ValidateActionResponse>;
122
34
  //# sourceMappingURL=ActionType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionType.d.ts","sourceRoot":"","sources":["../../../src/public/ActionType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,WAAW,EACX,QAAQ,EACR,SAAS,EACT,WAAW,EACX,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,C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W,EAAE,iBAAiB,EAAE,iBAAiB,CAAC,GACxE,OAAO,CAAC,UAAU,CAAC,CAErB"}
@@ -1,4 +1,4 @@
1
- export { applyAction, applyActionAsync, applyActionBatch, getActionType, getAsyncActionStatus, listActionTypes, validateAction } from '../chunk-LTUKKONO.js';
1
+ export { getActionType, listActionTypes } from '../chunk-5RUWELWF.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=ActionType.js.map
4
4
  //# sourceMappingURL=ActionType.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ActionType.js"}
@@ -8,9 +8,11 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
8
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
9
  *
10
10
  * Third-party applications using this endpoint via OAuth2 must request the
11
- * following operation scopes: `api:write-data`.
11
+ * following operation scopes: `api:ontologies-write`.
12
12
  *
13
- * Required Scopes: [api:write-data]
13
+ * @public
14
+ *
15
+ * Required Scopes: [api:ontologies-write]
14
16
  * URL: /v1/attachments/upload
15
17
  */
16
18
  export declare function uploadAttachment($ctx: $Client | $ClientContext, ...args: [
@@ -27,9 +29,11 @@ export declare function uploadAttachment($ctx: $Client | $ClientContext, ...args
27
29
  * Get the content of an attachment.
28
30
  *
29
31
  * Third-party applications using this endpoint via OAuth2 must request the
30
- * following operation scopes: `api:read-data`.
32
+ * following operation scopes: `api:ontologies-read`.
33
+ *
34
+ * @public
31
35
  *
32
- * Required Scopes: [api:read-data]
36
+ * Required Scopes: [api:ontologies-read]
33
37
  * URL: /v1/attachments/{attachmentRid}/content
34
38
  */
35
39
  export declare function getAttachmentContent($ctx: $Client | $ClientContext, ...args: [attachmentRid: AttachmentRid]): Promise<Blob>;
@@ -37,9 +41,11 @@ export declare function getAttachmentContent($ctx: $Client | $ClientContext, ...
37
41
  * Get the metadata of an attachment.
38
42
  *
39
43
  * Third-party applications using this endpoint via OAuth2 must request the
40
- * following operation scopes: `api:read-data`.
44
+ * following operation scopes: `api:ontologies-read`.
45
+ *
46
+ * @public
41
47
  *
42
- * Required Scopes: [api:read-data]
48
+ * Required Scopes: [api:ontologies-read]
43
49
  * URL: /v1/attachments/{attachmentRid}
44
50
  */
45
51
  export declare function getAttachment($ctx: $Client | $ClientContext, ...args: [attachmentRid: AttachmentRid]): Promise<Attachment>;
@@ -1 +1 @@
1
- {"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/public/Attachment.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,UAAU,EACV,aAAa,EACb,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,gBAAgB,CAC9B,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,UAAU,CAAC,CAErB;AAMD;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,GACtC,OAAO,CAAC,IAAI,CAAC,CAEf;AAMD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,GACtC,OAAO,CAAC,UAAU,CAAC,CAErB"}
1
+ {"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/public/Attachment.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,UAAU,EACV,aAAa,EACb,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;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,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,UAAU,CAAC,CAErB;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,GACtC,OAAO,CAAC,IAAI,CAAC,CAEf;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,GACtC,OAAO,CAAC,UAAU,CAAC,CAErB"}
@@ -1,4 +1,4 @@
1
- export { getAttachment, getAttachmentContent, uploadAttachment } from '../chunk-67IRYQ4I.js';
1
+ export { getAttachment, getAttachmentContent, uploadAttachment } from '../chunk-3GNJUZCN.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=Attachment.js.map
4
4
  //# sourceMappingURL=Attachment.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Attachment.js"}
@@ -7,9 +7,11 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
7
7
  * more results available, at least one result will be present in the
8
8
  * response.
9
9
  *
10
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
10
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
11
11
  *
12
- * Required Scopes: [api:read-data]
12
+ * @public
13
+ *
14
+ * Required Scopes: [api:ontologies-read]
13
15
  * URL: /v1/ontologies/{ontologyRid}/objectTypes
14
16
  */
15
17
  export declare function listObjectTypes($ctx: $Client | $ClientContext, ...args: [
@@ -22,9 +24,11 @@ export declare function listObjectTypes($ctx: $Client | $ClientContext, ...args:
22
24
  /**
23
25
  * Gets a specific object type with the given API name.
24
26
  *
25
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
27
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
28
+ *
29
+ * @public
26
30
  *
27
- * Required Scopes: [api:read-data]
31
+ * Required Scopes: [api:ontologies-read]
28
32
  * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
29
33
  */
30
34
  export declare function getObjectType($ctx: $Client | $ClientContext, ...args: [ontologyRid: OntologyRid, objectType: ObjectTypeApiName]): Promise<ObjectType>;
@@ -32,9 +36,11 @@ export declare function getObjectType($ctx: $Client | $ClientContext, ...args: [
32
36
  * List the outgoing links for an object type.
33
37
  *
34
38
  * Third-party applications using this endpoint via OAuth2 must request the
35
- * following operation scopes: `api:read-data`.
39
+ * following operation scopes: `api:ontologies-read`.
36
40
  *
37
- * Required Scopes: [api:read-data]
41
+ * @public
42
+ *
43
+ * Required Scopes: [api:ontologies-read]
38
44
  * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes
39
45
  */
40
46
  export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext, ...args: [
@@ -49,9 +55,11 @@ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext, ..
49
55
  * Get an outgoing link for an object type.
50
56
  *
51
57
  * Third-party applications using this endpoint via OAuth2 must request the
52
- * following operation scopes: `api:read-data`.
58
+ * following operation scopes: `api:ontologies-read`.
59
+ *
60
+ * @public
53
61
  *
54
- * Required Scopes: [api:read-data]
62
+ * Required Scopes: [api:ontologies-read]
55
63
  * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
56
64
  */
57
65
  export declare function getOutgoingLinkType($ctx: $Client | $ClientContext, ...args: [
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectType.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACZ,uBAAuB,EACvB,6BAA6B,EAC7B,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,SAAS,EACV,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IAExB,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,uBAAuB,CAAC,CAElC;AASD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,iBAAiB,CAAC,GACjE,OAAO,CAAC,UAAU,CAAC,CAErB;AAaD;;;;;;;;GAQG;AACH,w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AC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,iBAAiB,CAAC,GACjE,OAAO,CAAC,UAAU,CAAC,CAErB;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAE7B,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,6BAA6B,CAAC,CAExC;AAUD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,QAAQ,EAAE,eAAe;CAC1B,GACA,OAAO,CAAC,YAAY,CAAC,CAEvB"}
@@ -1,4 +1,4 @@
1
- export { getObjectType, getOutgoingLinkType, listObjectTypes, listOutgoingLinkTypes } from '../chunk-JDBI2K4S.js';
1
+ export { getObjectType, getOutgoingLinkType, listObjectTypes, listOutgoingLinkTypes } from '../chunk-ATSSLGFA.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=ObjectType.js.map
4
4
  //# sourceMappingURL=ObjectType.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ObjectType.js"}
@@ -3,18 +3,22 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
3
3
  /**
4
4
  * Lists the Ontologies visible to the current user.
5
5
  *
6
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
6
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
7
7
  *
8
- * Required Scopes: [api:read-data]
8
+ * @public
9
+ *
10
+ * Required Scopes: [api:ontologies-read]
9
11
  * URL: /v1/ontologies
10
12
  */
11
13
  export declare function listOntologies($ctx: $Client | $ClientContext, ...args: []): Promise<ListOntologiesResponse>;
12
14
  /**
13
15
  * Gets a specific ontology with the given Ontology RID.
14
16
  *
15
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
17
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
18
+ *
19
+ * @public
16
20
  *
17
- * Required Scopes: [api:read-data]
21
+ * Required Scopes: [api:ontologies-read]
18
22
  * URL: /v1/ontologies/{ontologyRid}
19
23
  */
20
24
  export declare function getOntology($ctx: $Client | $ClientContext, ...args: [ontologyRid: OntologyRid]): Promise<Ontology>;
@@ -1 +1 @@
1
- {"version":3,"file":"Ontology.d.ts","sourceRoot":"","sources":["../../../src/public/Ontology.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,sBAAsB,EACtB,QAAQ,EACR,WAAW,EACZ,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAU7B;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,sBAAsB,CAAC,CAEjC;AAMD;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,GAClC,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
1
+ {"version":3,"file":"Ontology.d.ts","sourceRoot":"","sources":["../../../src/public/Ontology.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,sBAAsB,EACtB,QAAQ,EACR,WAAW,EACZ,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAU7B;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,sBAAsB,CAAC,CAEjC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,GAClC,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -1,4 +1,4 @@
1
- export { getOntology, listOntologies } from '../chunk-6OWDPN5M.js';
1
+ export { getOntology, listOntologies } from '../chunk-ABHCL2BI.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=Ontology.js.map
4
4
  //# sourceMappingURL=Ontology.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Ontology.js"}