@osdk/foundry.ontologies 2.86.0 → 2.88.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 (36) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/build/browser/v2/_components.d.ts +20 -1
  3. package/build/browser/v2/_components.d.ts.map +1 -1
  4. package/build/browser/v2/_errors.d.ts +105 -0
  5. package/build/browser/v2/_errors.d.ts.map +1 -1
  6. package/build/browser/v2/index.d.ts +2 -2
  7. package/build/browser/v2/index.d.ts.map +1 -1
  8. package/build/browser/v2/public/ObjectTypeV2.d.ts +1 -0
  9. package/build/browser/v2/public/ObjectTypeV2.d.ts.map +1 -1
  10. package/build/browser/v2/public/OntologyObjectSet.d.ts +6 -0
  11. package/build/browser/v2/public/OntologyObjectSet.d.ts.map +1 -1
  12. package/build/browser/v2/public/OntologyObjectSet.js +6 -0
  13. package/build/browser/v2/public/OntologyObjectSet.js.map +1 -1
  14. package/build/browser/v2/public/OntologyScenario.d.ts +8 -8
  15. package/build/browser/v2/public/OntologyScenario.js +8 -8
  16. package/build/browser/v2/public/OntologyScenario.js.map +1 -1
  17. package/build/browser/v2/public/OntologyV2.d.ts +1 -0
  18. package/build/browser/v2/public/OntologyV2.d.ts.map +1 -1
  19. package/build/esm/v2/_components.d.ts +20 -1
  20. package/build/esm/v2/_components.d.ts.map +1 -1
  21. package/build/esm/v2/_errors.d.ts +105 -0
  22. package/build/esm/v2/_errors.d.ts.map +1 -1
  23. package/build/esm/v2/index.d.ts +2 -2
  24. package/build/esm/v2/index.d.ts.map +1 -1
  25. package/build/esm/v2/public/ObjectTypeV2.d.ts +1 -0
  26. package/build/esm/v2/public/ObjectTypeV2.d.ts.map +1 -1
  27. package/build/esm/v2/public/OntologyObjectSet.d.ts +6 -0
  28. package/build/esm/v2/public/OntologyObjectSet.d.ts.map +1 -1
  29. package/build/esm/v2/public/OntologyObjectSet.js +6 -0
  30. package/build/esm/v2/public/OntologyObjectSet.js.map +1 -1
  31. package/build/esm/v2/public/OntologyScenario.d.ts +8 -8
  32. package/build/esm/v2/public/OntologyScenario.js +8 -8
  33. package/build/esm/v2/public/OntologyScenario.js.map +1 -1
  34. package/build/esm/v2/public/OntologyV2.d.ts +1 -0
  35. package/build/esm/v2/public/OntologyV2.d.ts.map +1 -1
  36. package/package.json +6 -6
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_loadMultipleObjectTypes","loadMultipleObjectTypes","_loadObjectsOrInterfaces","loadObjectsOrInterfaces","_aggregate","aggregate","_loadLinks","loadLinks"],"sources":["OntologyObjectSet.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 7];\n/**\n * Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\", 2];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 7];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\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 * Note that null value properties will not be returned.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * The `pageSize` parameter is a maximum. A page may contain fewer objects than requested if the\n * objects in the page are large enough to reach an internal memory limit; this does not indicate\n * that there are no more results. As long as the response contains a `nextPageToken`, the remaining\n * objects can be retrieved by requesting subsequent pages.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _loadMultipleObjectTypes = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsMultipleObjectTypes\", 7];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting\n * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped\n * to an interface, in which only the object type properties that implement the properties of any interfaces in its\n * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to\n * object implementation is returned in order to interpret the objects as the interfaces that they implement.\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 * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * The `pageSize` parameter is a maximum. A page may contain fewer objects than requested if the\n * objects in the page are large enough to reach an internal memory limit; this does not indicate\n * that there are no more results. As long as the response contains a `nextPageToken`, the remaining\n * objects can be retrieved by requesting subsequent pages.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsMultipleObjectTypes\n */\nexport function loadMultipleObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadMultipleObjectTypes, ...args);\n}\nconst _loadObjectsOrInterfaces = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsOrInterfaces\", 7];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. If the requested\n * object set contains interfaces and the object can be viewed as an interface, it will contain the properties\n * defined by the interface. If not, it will contain the properties defined by its object type. This allows directly\n * loading all objects of an interface where all objects are viewed as the interface, for example.\n *\n * Note that the result object set cannot contain a mix of objects with \"interface\" properties and \"object type\"\n * properties. Attempting to load an object set like this will result in an error.\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 * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `/loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * The `pageSize` parameter is a maximum. A page may contain fewer objects than requested if the\n * objects in the page are large enough to reach an internal memory limit; this does not indicate\n * that there are no more results. As long as the response contains a `nextPageToken`, the remaining\n * objects can be retrieved by requesting subsequent pages.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsOrInterfaces\n */\nexport function loadObjectsOrInterfaces($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadObjectsOrInterfaces, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 7];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\nconst _loadLinks = [1, \"/v2/ontologies/{0}/objectSets/loadLinks\", 7];\n/**\n * Loads the specified links from the defined object set.\n *\n * Links are defined as a link type API name and object locators for the source and target objects\n * where only the `__primaryKey` and `__apiName` properties are loaded.\n *\n * Links are grouped by source object locator; however, the links for a given source object may be\n * split over multiple entries with the same source object locator.\n *\n * Please keep these limitations in mind:\n *\n * * Links returned may be stale. For example, primary keys returned by this endpoint may not exist anymore.\n * * This endpoint requests links for 1,000 objects at a time. If, for any page of 1,000 objects, there are more\n * than 100,000 links present, results are limited to 100,000 links and should be considered partial.\n * * This endpoint does not support OSv1 links and will return an error if links provided are backed by OSv1.\n * * This endpoint currently does not support interface object sets or interface links, but support will be added in the near future.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadLinks\n */\nexport function loadLinks($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadLinks, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,G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AAO,SAASC,SAASA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,UAAU,EAAE,GAAGT,IAAI,CAAC;AAC3D;AACA,MAAMW,UAAU,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACb,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEY,UAAU,EAAE,GAAGX,IAAI,CAAC;AAC3D","ignoreList":[]}
1
+ {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_loadMultipleObjectTypes","loadMultipleObjectTypes","_loadObjectsOrInterfaces","loadObjectsOrInterfaces","_aggregate","aggregate","_loadLinks","loadLinks"],"sources":["OntologyObjectSet.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 7];\n/**\n * Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\", 2];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 7];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\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 * Note that null value properties will not be returned.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * The `pageSize` parameter is a maximum. A page may contain fewer objects than requested if the\n * objects in the page are large enough to reach an internal memory limit; this does not indicate\n * that there are no more results. As long as the response contains a `nextPageToken`, the remaining\n * objects can be retrieved by requesting subsequent pages.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _loadMultipleObjectTypes = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsMultipleObjectTypes\", 7];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting\n * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped\n * to an interface, in which only the object type properties that implement the properties of any interfaces in its\n * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to\n * object implementation is returned in order to interpret the objects as the interfaces that they implement.\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 * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * The `pageSize` parameter is a maximum. A page may contain fewer objects than requested if the\n * objects in the page are large enough to reach an internal memory limit; this does not indicate\n * that there are no more results. As long as the response contains a `nextPageToken`, the remaining\n * objects can be retrieved by requesting subsequent pages.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsMultipleObjectTypes\n */\nexport function loadMultipleObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadMultipleObjectTypes, ...args);\n}\nconst _loadObjectsOrInterfaces = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsOrInterfaces\", 7];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. If the requested\n * object set contains interfaces and the object can be viewed as an interface, it will contain the properties\n * defined by the interface. If not, it will contain the properties defined by its object type. This allows directly\n * loading all objects of an interface where all objects are viewed as the interface, for example.\n *\n * Note that the result object set cannot contain a mix of objects with \"interface\" properties and \"object type\"\n * properties. Attempting to load an object set like this will result in an error.\n *\n * If an object in the result can be viewed as more than one interface, the request fails with an\n * `UnsupportedObjectSet` error. For example, this happens when the object set intersects two interfaces that the\n * object implements, or intersects an interface with a saved object set defined over a different interface. To\n * load these objects, use `loadObjectsMultipleObjectTypes` instead. It returns each object with its object type\n * properties, along with a mapping from each interface's properties to the object type's properties.\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 * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `/loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * The `pageSize` parameter is a maximum. A page may contain fewer objects than requested if the\n * objects in the page are large enough to reach an internal memory limit; this does not indicate\n * that there are no more results. As long as the response contains a `nextPageToken`, the remaining\n * objects can be retrieved by requesting subsequent pages.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsOrInterfaces\n */\nexport function loadObjectsOrInterfaces($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadObjectsOrInterfaces, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 7];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\nconst _loadLinks = [1, \"/v2/ontologies/{0}/objectSets/loadLinks\", 7];\n/**\n * Loads the specified links from the defined object set.\n *\n * Links are defined as a link type API name and object locators for the source and target objects\n * where only the `__primaryKey` and `__apiName` properties are loaded.\n *\n * Links are grouped by source object locator; however, the links for a given source object may be\n * split over multiple entries with the same source object locator.\n *\n * Please keep these limitations in mind:\n *\n * * Links returned may be stale. For example, primary keys returned by this endpoint may not exist anymore.\n * * This endpoint requests links for 1,000 objects at a time. If, for any page of 1,000 objects, there are more\n * than 100,000 links present, results are limited to 100,000 links and should be considered partial.\n * * This endpoint does not support OSv1 links and will return an error if links provided are backed by OSv1.\n * * This endpoint currently does not support interface object sets or interface links, but support will be added in the near future.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadLinks\n */\nexport function loadLinks($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadLinks, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBA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EAAE,uDAAuD,EAAE,CAAC,CAAC;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,wBAAwB,EAAE,GAAGP,IAAI,CAAC;AACzE;AACA,MAAMS,UAAU,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,UAAU,EAAE,GAAGT,IAAI,CAAC;AAC3D;AACA,MAAMW,UAAU,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACb,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEY,UAAU,EAAE,GAAGX,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -5,7 +5,7 @@ import type * as _Ontologies from "../_components.js";
5
5
  /**
6
6
  * Creates an ontology scenario.
7
7
  *
8
- * @alpha
8
+ * @beta
9
9
  *
10
10
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
11
11
  * URL: /v2/ontologies/{ontology}/scenarios/create
@@ -22,7 +22,7 @@ export declare function createScenario($ctx: $Client | $ClientContext | $OldClie
22
22
  * Rebasing may also cause other scenarios with edits to the same object types on the same base to observe
23
23
  * the updated base data. The caller must have permission to edit the scenario.
24
24
  *
25
- * @alpha
25
+ * @beta
26
26
  *
27
27
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
28
28
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/rebase
@@ -37,7 +37,7 @@ export declare function rebaseScenario($ctx: $Client | $ClientContext | $OldClie
37
37
  /**
38
38
  * Returns the list of object type API names that have been modified within a given scenario.
39
39
  *
40
- * @alpha
40
+ * @beta
41
41
  *
42
42
  * Required Scopes: [api:ontologies-read]
43
43
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/edited
@@ -55,7 +55,7 @@ export declare function listScenarioEditedObjectTypes($ctx: $Client | $ClientCon
55
55
  * Note that only many-to-many link type are returned by this endpoint. One-to-many link type edits are
56
56
  * surfaced as object edits on the object type that owns the foreign key property.
57
57
  *
58
- * @alpha
58
+ * @beta
59
59
  *
60
60
  * Required Scopes: [api:ontologies-read]
61
61
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/{objectType}/outgoingLinkTypes/edited
@@ -75,7 +75,7 @@ export declare function listScenarioEditedLinkTypes($ctx: $Client | $ClientConte
75
75
  * many-to-many link types that have been modified, grouped by their source object type. One-to-many
76
76
  * link type edits are surfaced as object edits on the object type that owns the foreign key property.
77
77
  *
78
- * @alpha
78
+ * @beta
79
79
  *
80
80
  * Required Scopes: [api:ontologies-read]
81
81
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/editedEntityTypes
@@ -93,7 +93,7 @@ export declare function listScenarioEditedEntityTypes($ctx: $Client | $ClientCon
93
93
  *
94
94
  * Each page may be smaller than the requested page size.
95
95
  *
96
- * @alpha
96
+ * @beta
97
97
  *
98
98
  * Required Scopes: [api:ontologies-read]
99
99
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/edited
@@ -115,7 +115,7 @@ export declare function listScenarioEditedObjects($ctx: $Client | $ClientContext
115
115
  *
116
116
  * Each page may be smaller than the requested page size.
117
117
  *
118
- * @alpha
118
+ * @beta
119
119
  *
120
120
  * Required Scopes: [api:ontologies-read]
121
121
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/links/{linkType}/edited
@@ -142,7 +142,7 @@ export declare function listScenarioEditedLinks($ctx: $Client | $ClientContext |
142
142
  *
143
143
  * Each page may be smaller than the requested page size.
144
144
  *
145
- * @alpha
145
+ * @beta
146
146
  *
147
147
  * Required Scopes: [api:ontologies-read]
148
148
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/conflicting
@@ -19,7 +19,7 @@ const _createScenario = [1, "/v2/ontologies/{0}/scenarios/create", 3];
19
19
  /**
20
20
  * Creates an ontology scenario.
21
21
  *
22
- * @alpha
22
+ * @beta
23
23
  *
24
24
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
25
25
  * URL: /v2/ontologies/{ontology}/scenarios/create
@@ -33,7 +33,7 @@ const _rebaseScenario = [1, "/v2/ontologies/{0}/scenarios/{1}/rebase", 2];
33
33
  * Rebasing may also cause other scenarios with edits to the same object types on the same base to observe
34
34
  * the updated base data. The caller must have permission to edit the scenario.
35
35
  *
36
- * @alpha
36
+ * @beta
37
37
  *
38
38
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
39
39
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/rebase
@@ -45,7 +45,7 @@ const _listScenarioEditedObjectTypes = [0, "/v2/ontologies/{0}/scenarios/{1}/obj
45
45
  /**
46
46
  * Returns the list of object type API names that have been modified within a given scenario.
47
47
  *
48
- * @alpha
48
+ * @beta
49
49
  *
50
50
  * Required Scopes: [api:ontologies-read]
51
51
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/edited
@@ -60,7 +60,7 @@ const _listScenarioEditedLinkTypes = [0, "/v2/ontologies/{0}/scenarios/{1}/objec
60
60
  * Note that only many-to-many link type are returned by this endpoint. One-to-many link type edits are
61
61
  * surfaced as object edits on the object type that owns the foreign key property.
62
62
  *
63
- * @alpha
63
+ * @beta
64
64
  *
65
65
  * Required Scopes: [api:ontologies-read]
66
66
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/{objectType}/outgoingLinkTypes/edited
@@ -76,7 +76,7 @@ const _listScenarioEditedEntityTypes = [0, "/v2/ontologies/{0}/scenarios/{1}/edi
76
76
  * many-to-many link types that have been modified, grouped by their source object type. One-to-many
77
77
  * link type edits are surfaced as object edits on the object type that owns the foreign key property.
78
78
  *
79
- * @alpha
79
+ * @beta
80
80
  *
81
81
  * Required Scopes: [api:ontologies-read]
82
82
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/editedEntityTypes
@@ -91,7 +91,7 @@ const _listScenarioEditedObjects = [0, "/v2/ontologies/{0}/scenarios/{1}/objects
91
91
  *
92
92
  * Each page may be smaller than the requested page size.
93
93
  *
94
- * @alpha
94
+ * @beta
95
95
  *
96
96
  * Required Scopes: [api:ontologies-read]
97
97
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/edited
@@ -107,7 +107,7 @@ const _listScenarioEditedLinks = [0, "/v2/ontologies/{0}/scenarios/{1}/objects/{
107
107
  *
108
108
  * Each page may be smaller than the requested page size.
109
109
  *
110
- * @alpha
110
+ * @beta
111
111
  *
112
112
  * Required Scopes: [api:ontologies-read]
113
113
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/links/{linkType}/edited
@@ -127,7 +127,7 @@ const _listScenarioConflictingObjects = [0, "/v2/ontologies/{0}/scenarios/{1}/ob
127
127
  *
128
128
  * Each page may be smaller than the requested page size.
129
129
  *
130
- * @alpha
130
+ * @beta
131
131
  *
132
132
  * Required Scopes: [api:ontologies-read]
133
133
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/conflicting
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyScenario.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createScenario","createScenario","$ctx","args","_rebaseScenario","rebaseScenario","_listScenarioEditedObjectTypes","listScenarioEditedObjectTypes","_listScenarioEditedLinkTypes","listScenarioEditedLinkTypes","_listScenarioEditedEntityTypes","listScenarioEditedEntityTypes","_listScenarioEditedObjects","listScenarioEditedObjects","_listScenarioEditedLinks","listScenarioEditedLinks","_listScenarioConflictingObjects","listScenarioConflictingObjects"],"sources":["OntologyScenario.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createScenario = [1, \"/v2/ontologies/{0}/scenarios/create\", 3];\n/**\n * Creates an ontology scenario.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/scenarios/create\n */\nexport function createScenario($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createScenario, ...args);\n}\nconst _rebaseScenario = [1, \"/v2/ontologies/{0}/scenarios/{1}/rebase\", 2];\n/**\n * Rebases all object types edited within the scenario onto the latest data from the scenario's base.\n * Rebasing may also cause other scenarios with edits to the same object types on the same base to observe\n * the updated base data. The caller must have permission to edit the scenario.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/rebase\n */\nexport function rebaseScenario($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _rebaseScenario, ...args);\n}\nconst _listScenarioEditedObjectTypes = [0, \"/v2/ontologies/{0}/scenarios/{1}/objectTypes/edited\", 2];\n/**\n * Returns the list of object type API names that have been modified within a given scenario.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/edited\n */\nexport function listScenarioEditedObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedObjectTypes, ...args);\n}\nconst _listScenarioEditedLinkTypes = [\n 0,\n \"/v2/ontologies/{0}/scenarios/{1}/objectTypes/{2}/outgoingLinkTypes/edited\",\n 2,\n];\n/**\n * Returns the list of outgoing links that have been modified within a given scenario for an object type.\n *\n * Note that only many-to-many link type are returned by this endpoint. One-to-many link type edits are\n * surfaced as object edits on the object type that owns the foreign key property.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/{objectType}/outgoingLinkTypes/edited\n */\nexport function listScenarioEditedLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedLinkTypes, ...args);\n}\nconst _listScenarioEditedEntityTypes = [0, \"/v2/ontologies/{0}/scenarios/{1}/editedEntityTypes\", 2];\n/**\n * Returns the object types and link types that have been modified within a given scenario.\n *\n * The response contains the list of object type API names that have been modified, and the list of\n * many-to-many link types that have been modified, grouped by their source object type. One-to-many\n * link type edits are surfaced as object edits on the object type that owns the foreign key property.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/editedEntityTypes\n */\nexport function listScenarioEditedEntityTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedEntityTypes, ...args);\n}\nconst _listScenarioEditedObjects = [0, \"/v2/ontologies/{0}/scenarios/{1}/objects/{2}/edited\", 2];\n/**\n * Returns the list of objects that have been edited within a given scenario for a specific object type.\n * Only objects that the user has permission to view are returned.\n *\n * Each page may be smaller than the requested page size.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/edited\n */\nexport function listScenarioEditedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedObjects, ...args);\n}\nconst _listScenarioEditedLinks = [0, \"/v2/ontologies/{0}/scenarios/{1}/objects/{2}/links/{3}/edited\", 2];\n/**\n * Returns the list of edited links within a given scenario for a specific object type and link type, grouped\n * by source object. Only works for many-to-many link types. Only links where the user has permission to view\n * both objects are returned.\n *\n * Each page may be smaller than the requested page size.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/links/{linkType}/edited\n */\nexport function listScenarioEditedLinks($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedLinks, ...args);\n}\nconst _listScenarioConflictingObjects = [0, \"/v2/ontologies/{0}/scenarios/{1}/objects/{2}/conflicting\", 2];\n/**\n * Returns the list of objects with edits that conflict with edits to the scenario's base for a specific object\n * type. A conflict occurs when an object has been edited both within the scenario and on the scenario's base\n * after the scenario was created. Only objects that the user has permission to view are returned.\n *\n * Conflict detection takes into account changes that are not reflected in the user-visible object data.\n * As a result, this endpoint may report false positives. An object may be returned as conflicting even if\n * its data has not actually changed on the scenario's base.\n *\n * Each page may be smaller than the requested page size.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/conflicting\n */\nexport function listScenarioConflictingObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioConflictingObjects, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,eAAe,GAAG,CAAC,CAAC,EAAE,qCAAqC,EAAE,CAAC,CAAC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AI,CAAC;AAC/E;AACA,MAAMS,0BAA0B,GAAG,CAAC,CAAC,EAAE,qDAAqD,EAAE,CAAC,CAAC;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,yBAAyBA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,0BAA0B,EAAE,GAAGT,IAAI,CAAC;AAC3E;AACA,MAAMW,wBAAwB,GAAG,CAAC,CAAC,EAAE,+DAA+D,EAAE,CAAC,CAAC;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACb,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEY,wBAAwB,EAAE,GAAGX,IAAI,CAAC;AACzE;AACA,MAAMa,+BAA+B,GAAG,CAAC,CAAC,EAAE,0DAA0D,EAAE,CAAC,CAAC;AAC1G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,8BAA8BA,CAACf,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1D,OAAOJ,qBAAqB,CAACG,IAAI,EAAEc,+BAA+B,EAAE,GAAGb,IAAI,CAAC;AAChF","ignoreList":[]}
1
+ {"version":3,"file":"OntologyScenario.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createScenario","createScenario","$ctx","args","_rebaseScenario","rebaseScenario","_listScenarioEditedObjectTypes","listScenarioEditedObjectTypes","_listScenarioEditedLinkTypes","listScenarioEditedLinkTypes","_listScenarioEditedEntityTypes","listScenarioEditedEntityTypes","_listScenarioEditedObjects","listScenarioEditedObjects","_listScenarioEditedLinks","listScenarioEditedLinks","_listScenarioConflictingObjects","listScenarioConflictingObjects"],"sources":["OntologyScenario.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createScenario = [1, \"/v2/ontologies/{0}/scenarios/create\", 3];\n/**\n * Creates an ontology scenario.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/scenarios/create\n */\nexport function createScenario($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createScenario, ...args);\n}\nconst _rebaseScenario = [1, \"/v2/ontologies/{0}/scenarios/{1}/rebase\", 2];\n/**\n * Rebases all object types edited within the scenario onto the latest data from the scenario's base.\n * Rebasing may also cause other scenarios with edits to the same object types on the same base to observe\n * the updated base data. The caller must have permission to edit the scenario.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/rebase\n */\nexport function rebaseScenario($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _rebaseScenario, ...args);\n}\nconst _listScenarioEditedObjectTypes = [0, \"/v2/ontologies/{0}/scenarios/{1}/objectTypes/edited\", 2];\n/**\n * Returns the list of object type API names that have been modified within a given scenario.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/edited\n */\nexport function listScenarioEditedObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedObjectTypes, ...args);\n}\nconst _listScenarioEditedLinkTypes = [\n 0,\n \"/v2/ontologies/{0}/scenarios/{1}/objectTypes/{2}/outgoingLinkTypes/edited\",\n 2,\n];\n/**\n * Returns the list of outgoing links that have been modified within a given scenario for an object type.\n *\n * Note that only many-to-many link type are returned by this endpoint. One-to-many link type edits are\n * surfaced as object edits on the object type that owns the foreign key property.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/{objectType}/outgoingLinkTypes/edited\n */\nexport function listScenarioEditedLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedLinkTypes, ...args);\n}\nconst _listScenarioEditedEntityTypes = [0, \"/v2/ontologies/{0}/scenarios/{1}/editedEntityTypes\", 2];\n/**\n * Returns the object types and link types that have been modified within a given scenario.\n *\n * The response contains the list of object type API names that have been modified, and the list of\n * many-to-many link types that have been modified, grouped by their source object type. One-to-many\n * link type edits are surfaced as object edits on the object type that owns the foreign key property.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/editedEntityTypes\n */\nexport function listScenarioEditedEntityTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedEntityTypes, ...args);\n}\nconst _listScenarioEditedObjects = [0, \"/v2/ontologies/{0}/scenarios/{1}/objects/{2}/edited\", 2];\n/**\n * Returns the list of objects that have been edited within a given scenario for a specific object type.\n * Only objects that the user has permission to view are returned.\n *\n * Each page may be smaller than the requested page size.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/edited\n */\nexport function listScenarioEditedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedObjects, ...args);\n}\nconst _listScenarioEditedLinks = [0, \"/v2/ontologies/{0}/scenarios/{1}/objects/{2}/links/{3}/edited\", 2];\n/**\n * Returns the list of edited links within a given scenario for a specific object type and link type, grouped\n * by source object. Only works for many-to-many link types. Only links where the user has permission to view\n * both objects are returned.\n *\n * Each page may be smaller than the requested page size.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/links/{linkType}/edited\n */\nexport function listScenarioEditedLinks($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioEditedLinks, ...args);\n}\nconst _listScenarioConflictingObjects = [0, \"/v2/ontologies/{0}/scenarios/{1}/objects/{2}/conflicting\", 2];\n/**\n * Returns the list of objects with edits that conflict with edits to the scenario's base for a specific object\n * type. A conflict occurs when an object has been edited both within the scenario and on the scenario's base\n * after the scenario was created. Only objects that the user has permission to view are returned.\n *\n * Conflict detection takes into account changes that are not reflected in the user-visible object data.\n * As a result, this endpoint may report false positives. An object may be returned as conflicting even if\n * its data has not actually changed on the scenario's base.\n *\n * Each page may be smaller than the requested page size.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/conflicting\n */\nexport function listScenarioConflictingObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listScenarioConflictingObjects, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,eAAe,GAAG,CAAC,CAAC,EAAE,qCAAqC,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,eAAe,EAAE,GAAGG,IAAI,CAAC;AAChE;AACA,MAAMC,eAAe,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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MW,wBAAwB,GAAG,CAAC,CAAC,EAAE,+DAA+D,EAAE,CAAC,CAAC;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACb,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEY,wBAAwB,EAAE,GAAGX,IAAI,CAAC;AACzE;AACA,MAAMa,+BAA+B,GAAG,CAAC,CAAC,EAAE,0DAA0D,EAAE,CAAC,CAAC;AAC1G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,8BAA8BA,CAACf,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1D,OAAOJ,qBAAqB,CAACG,IAAI,EAAEc,+BAA+B,EAAE,GAAGb,IAAI,CAAC;AAChF","ignoreList":[]}
@@ -35,6 +35,7 @@ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldCli
35
35
  $queryParams?: {
36
36
  branch?: _Core.FoundryBranch | undefined;
37
37
  includeActionTypeFullMetadata?: boolean | undefined;
38
+ includeDatasources?: boolean | undefined;
38
39
  preview?: _Core.PreviewMode | undefined;
39
40
  }
40
41
  ]): Promise<_Ontologies.OntologyFullMetadata>;
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyV2.d.ts","sourceRoot":"","sources":["../../../../src/v2/public/OntologyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAQtD;;;;;;;G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C,oBAAoB,CAAC,CAE3C;AAaD;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,KAAK,EAAE,WAAW,CAAC,2BAA2B;IAC9C,YAAY,CAAC,EAAE;QACb,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;QACxC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAE3C"}
@@ -350,6 +350,7 @@ export interface ActionTypeV2 {
350
350
  rid: ActionTypeRid;
351
351
  operations: Array<LogicRule>;
352
352
  toolDescription?: string;
353
+ returnType?: QueryDataType;
353
354
  }
354
355
  /**
355
356
  * This status indicates that the PropertyType will not change on short notice and should thus be safe to use in
@@ -755,6 +756,15 @@ export interface AllTermsQuery {
755
756
  value: string;
756
757
  fuzzy?: Fuzzy;
757
758
  }
759
+ /**
760
+ * Selects the analyzed field variant used for full-text and phrase queries.
761
+ The base analyzer searches the field using the analyzer it was indexed with. The base analyzer is used when the
762
+ optional analyzerSelection is omitted.
763
+ The phonetic analyzer searches the field's phonetic indexing to match similar-sounding terms.
764
+ *
765
+ * Log Safety: SAFE
766
+ */
767
+ export type AnalyzerSelection = "BASE_ANALYZER" | "PHONETIC_ANALYZER";
758
768
  /**
759
769
  * Returns action types where every query is satisfied. An empty list matches all action types.
760
770
  *
@@ -1292,6 +1302,7 @@ by a variety of means. Either field or propertyIdentifier can be supplied, but n
1292
1302
  export interface ContainsAllTermsInOrderPrefixLastTerm {
1293
1303
  field?: PropertyApiName;
1294
1304
  propertyIdentifier?: PropertyIdentifier;
1305
+ analyzerSelection?: AnalyzerSelection;
1295
1306
  value: string;
1296
1307
  }
1297
1308
  /**
@@ -1304,18 +1315,21 @@ by a variety of means. Either field or propertyIdentifier must be supplied, but
1304
1315
  export interface ContainsAllTermsInOrderQuery {
1305
1316
  field?: PropertyApiName;
1306
1317
  propertyIdentifier?: PropertyIdentifier;
1318
+ analyzerSelection?: AnalyzerSelection;
1307
1319
  value: string;
1308
1320
  }
1309
1321
  /**
1310
1322
  * Returns objects where the specified field contains all of the whitespace separated words in any
1311
1323
  order in the provided value. This query supports fuzzy matching. Allows you to specify a property to query on
1312
1324
  by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1325
+ When analyzerSelection selects the phonetic analyzer, fuzzy must be omitted or set to false.
1313
1326
  *
1314
1327
  * Log Safety: UNSAFE
1315
1328
  */
1316
1329
  export interface ContainsAllTermsQuery {
1317
1330
  field?: PropertyApiName;
1318
1331
  propertyIdentifier?: PropertyIdentifier;
1332
+ analyzerSelection?: AnalyzerSelection;
1319
1333
  value: string;
1320
1334
  fuzzy?: FuzzyV2;
1321
1335
  }
@@ -1323,12 +1337,14 @@ export interface ContainsAllTermsQuery {
1323
1337
  * Returns objects where the specified field contains any of the whitespace separated words in any
1324
1338
  order in the provided value. This query supports fuzzy matching. Allows you to specify a property to query on
1325
1339
  by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1340
+ When analyzerSelection selects the phonetic analyzer, fuzzy must be omitted or set to false.
1326
1341
  *
1327
1342
  * Log Safety: UNSAFE
1328
1343
  */
1329
1344
  export interface ContainsAnyTermQuery {
1330
1345
  field?: PropertyApiName;
1331
1346
  propertyIdentifier?: PropertyIdentifier;
1347
+ analyzerSelection?: AnalyzerSelection;
1332
1348
  value: string;
1333
1349
  fuzzy?: FuzzyV2;
1334
1350
  }
@@ -1544,7 +1560,7 @@ export type DatasourceRid = LooselyBrandedString<"DatasourceRid">;
1544
1560
  | TwoDimensionalAggregation | JSON object | {"groups": [{"key": "alpha", "value": 100}, {"key": "beta", "value": 101}]} |
1545
1561
  | ThreeDimensionalAggregation | JSON object | {"groups": [{"key": "NYC", "groups": [{"key": "Engineer", "value" : 100}]}]} |
1546
1562
  | Timestamp | ISO 8601 extended offset date-time string in UTC zone | "2021-01-04T05:00:00Z" |
1547
- | Time Series Reference | JSON object with a type discriminator | {"type":"seriesId","seriesId":"sensor-123"}, {"type":"templateRid","templateRid":{"templateRid":"ri.time-series-catalog.main.template.2f944bae-5851-4204-8615-920c969a9f2e","templateVersion":"1"}}, or {"type":"qualifiedSeriesId","qualifiedSeriesId":{"seriesId":"sensor-123","syncRid":"ri.time-series-catalog.main.sync.2f944bae-5851-4204-8615-920c969a9f2e"}} |
1563
+ | Time Series Reference | seriesId string or JSON object | "sensor-123", {"seriesId": "sensor-123", "syncRid": "ri.time-series-catalog.main.sync.2f944bae-5851-4204-8615-920c969a9f2e"}, or {"templateRid": "ri.time-series-catalog.main.template.2f944bae-5851-4204-8615-920c969a9f2e", "templateVersion": "1"} |
1548
1564
  *
1549
1565
  * Log Safety: UNSAFE
1550
1566
  */
@@ -3920,6 +3936,7 @@ export interface ObjectEdits {
3920
3936
  */
3921
3937
  export interface ObjectLoadingResponseOptions {
3922
3938
  shouldLoadObjectRids?: boolean;
3939
+ includePropertySecurities?: boolean;
3923
3940
  }
3924
3941
  /**
3925
3942
  * An object identifier containing an object type API name and primary key.
@@ -6506,6 +6523,7 @@ query on by a variety of means. Either field or propertyIdentifier must be suppl
6506
6523
  export interface StartsWithQuery {
6507
6524
  field?: PropertyApiName;
6508
6525
  propertyIdentifier?: PropertyIdentifier;
6526
+ analyzerSelection?: AnalyzerSelection;
6509
6527
  value: string;
6510
6528
  }
6511
6529
  /**
@@ -6853,6 +6871,7 @@ export interface SyncApplyActionResponseV2 {
6853
6871
  operationId?: string;
6854
6872
  validation?: ValidateActionResponseV2;
6855
6873
  edits?: ActionResults;
6874
+ returnValue?: DataValue;
6856
6875
  }
6857
6876
  /**
6858
6877
  * Represents a synchronous webhook output argument in a logic rule.