@osdk/foundry.ontologies 2.60.0 → 2.62.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.
- package/CHANGELOG.md +22 -0
- package/build/browser/_components.d.ts +208 -23
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +15 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +3 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/index.js +1 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Action.d.ts +32 -0
- package/build/browser/public/Action.d.ts.map +1 -1
- package/build/browser/public/Action.js +21 -0
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionTypeFullMetadata.d.ts +2 -0
- package/build/browser/public/ActionTypeFullMetadata.d.ts.map +1 -1
- package/build/browser/public/GeotemporalSeriesProperty.d.ts +17 -22
- package/build/browser/public/GeotemporalSeriesProperty.d.ts.map +1 -1
- package/build/browser/public/GeotemporalSeriesProperty.js +14 -15
- package/build/browser/public/GeotemporalSeriesProperty.js.map +1 -1
- package/build/browser/public/ObjectTypeV2.d.ts +2 -0
- package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/browser/public/OntologyInterface.d.ts +2 -0
- package/build/browser/public/OntologyInterface.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectSet.d.ts +9 -1
- package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectSet.js +1 -1
- package/build/browser/public/OntologyObjectSet.js.map +1 -1
- package/build/browser/public/OntologyObjectV2.d.ts +1 -0
- package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/browser/public/OntologyScenario.d.ts +117 -0
- package/build/browser/public/OntologyScenario.d.ts.map +1 -0
- package/build/browser/public/OntologyScenario.js +104 -0
- package/build/browser/public/OntologyScenario.js.map +1 -0
- package/build/browser/public/OntologyV2.d.ts +1 -0
- package/build/browser/public/OntologyV2.d.ts.map +1 -1
- package/build/browser/public/Query.d.ts +1 -0
- package/build/browser/public/Query.d.ts.map +1 -1
- package/build/esm/_components.d.ts +208 -23
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +15 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +3 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +1 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Action.d.ts +32 -0
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +21 -0
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionTypeFullMetadata.d.ts +2 -0
- package/build/esm/public/ActionTypeFullMetadata.d.ts.map +1 -1
- package/build/esm/public/GeotemporalSeriesProperty.d.ts +17 -22
- package/build/esm/public/GeotemporalSeriesProperty.d.ts.map +1 -1
- package/build/esm/public/GeotemporalSeriesProperty.js +14 -15
- package/build/esm/public/GeotemporalSeriesProperty.js.map +1 -1
- package/build/esm/public/ObjectTypeV2.d.ts +2 -0
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/OntologyInterface.d.ts +2 -0
- package/build/esm/public/OntologyInterface.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.d.ts +9 -1
- package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.js +1 -1
- package/build/esm/public/OntologyObjectSet.js.map +1 -1
- package/build/esm/public/OntologyObjectV2.d.ts +1 -0
- package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/esm/public/OntologyScenario.d.ts +117 -0
- package/build/esm/public/OntologyScenario.d.ts.map +1 -0
- package/build/esm/public/OntologyScenario.js +104 -0
- package/build/esm/public/OntologyScenario.js.map +1 -0
- package/build/esm/public/OntologyV2.d.ts +1 -0
- package/build/esm/public/OntologyV2.d.ts.map +1 -1
- package/build/esm/public/Query.d.ts +1 -0
- package/build/esm/public/Query.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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;
|
|
1
|
+
{"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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;AAqBtD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,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,iCAAiC;IACpD,YAAY,CAAC,EAAE;QACb,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;QACzC,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GA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KAAK,CAAC,UAAU,GAAG,SAAS,CAAC;KAC3C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAEjD;AAmBD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,SAAS,CACvB,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,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;QAChD,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;QACzC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;IACD,aAAa,CAAC,EAAE;QACd,WAAW,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;QAC5C,UAAU,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,SAAS,CAAC;KAC3C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAEnD"}
|
|
@@ -27,7 +27,7 @@ const _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 7]
|
|
|
27
27
|
export function createTemporary($ctx, ...args) {
|
|
28
28
|
return $foundryPlatformFetch($ctx, _createTemporary, ...args);
|
|
29
29
|
}
|
|
30
|
-
const _get = [0, "/v2/ontologies/{0}/objectSets/{1}"];
|
|
30
|
+
const _get = [0, "/v2/ontologies/{0}/objectSets/{1}", 2];
|
|
31
31
|
/**
|
|
32
32
|
* Gets the definition of the `ObjectSet` with the given RID.
|
|
33
33
|
*
|
|
@@ -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}\"];\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 * @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 * @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 * @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,CAAC;
|
|
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 * @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 * @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 * @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,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;A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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":[]}
|
|
@@ -72,6 +72,7 @@ export declare function count($ctx: $Client | $ClientContext | $OldClient | $Old
|
|
|
72
72
|
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
73
73
|
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
74
74
|
branch?: _Core.FoundryBranch | undefined;
|
|
75
|
+
preview?: _Core.PreviewMode | undefined;
|
|
75
76
|
}
|
|
76
77
|
]): Promise<_Ontologies.CountObjectsResponseV2>;
|
|
77
78
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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;AAsBtD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IAEzC,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,S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AiB;IACzC,KAAK,EAAE,WAAW,CAAC,sBAAsB;IACzC,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;QAChD,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAE9C;AAeD;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,KAAK,EAAE,WAAW,CAAC,yBAAyB;IAC5C,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;QAChD,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAEjD"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
|
+
import type * as _Ontologies from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* Creates an ontology scenario.
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
11
|
+
* URL: /v2/ontologies/{ontology}/scenarios/create
|
|
12
|
+
*/
|
|
13
|
+
export declare function createScenario($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
15
|
+
$body: _Ontologies.CreateOntologyScenarioRequest,
|
|
16
|
+
$queryParams?: {
|
|
17
|
+
preview?: _Core.PreviewMode | undefined;
|
|
18
|
+
}
|
|
19
|
+
]): Promise<_Ontologies.CreateOntologyScenarioResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the list of object type API names that have been modified within a given scenario.
|
|
22
|
+
*
|
|
23
|
+
* @alpha
|
|
24
|
+
*
|
|
25
|
+
* Required Scopes: [api:ontologies-read]
|
|
26
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/edited
|
|
27
|
+
*/
|
|
28
|
+
export declare function listScenarioEditedObjectTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
29
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
30
|
+
scenarioRid: _Ontologies.OntologyScenarioRid,
|
|
31
|
+
$queryParams?: {
|
|
32
|
+
preview?: _Core.PreviewMode | undefined;
|
|
33
|
+
}
|
|
34
|
+
]): Promise<_Ontologies.ListScenarioEditedObjectTypesResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the list of outgoing links that have been modified within a given scenario for an object type.
|
|
37
|
+
*
|
|
38
|
+
* Note that only many-to-many link type are returned by this endpoint. One-to-many link type edits are
|
|
39
|
+
* surfaced as object edits on the object type that owns the foreign key property.
|
|
40
|
+
*
|
|
41
|
+
* @alpha
|
|
42
|
+
*
|
|
43
|
+
* Required Scopes: [api:ontologies-read]
|
|
44
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/{objectType}/outgoingLinkTypes/edited
|
|
45
|
+
*/
|
|
46
|
+
export declare function listScenarioEditedLinkTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
47
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
48
|
+
scenarioRid: _Ontologies.OntologyScenarioRid,
|
|
49
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
50
|
+
$queryParams?: {
|
|
51
|
+
preview?: _Core.PreviewMode | undefined;
|
|
52
|
+
}
|
|
53
|
+
]): Promise<_Ontologies.ListScenarioEditedLinkTypesResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns the object types and link types that have been modified within a given scenario.
|
|
56
|
+
*
|
|
57
|
+
* The response contains the list of object type API names that have been modified, and the list of
|
|
58
|
+
* many-to-many link types that have been modified, grouped by their source object type. One-to-many
|
|
59
|
+
* link type edits are surfaced as object edits on the object type that owns the foreign key property.
|
|
60
|
+
*
|
|
61
|
+
* @alpha
|
|
62
|
+
*
|
|
63
|
+
* Required Scopes: [api:ontologies-read]
|
|
64
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/editedEntityTypes
|
|
65
|
+
*/
|
|
66
|
+
export declare function listScenarioEditedEntityTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
67
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
68
|
+
scenarioRid: _Ontologies.OntologyScenarioRid,
|
|
69
|
+
$queryParams?: {
|
|
70
|
+
preview?: _Core.PreviewMode | undefined;
|
|
71
|
+
}
|
|
72
|
+
]): Promise<_Ontologies.ListScenarioEditedEntityTypesResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* Returns the list of objects that have been edited within a given scenario for a specific object type.
|
|
75
|
+
* Only objects that the user has permission to view are returned.
|
|
76
|
+
*
|
|
77
|
+
* Each page may be smaller than the requested page size.
|
|
78
|
+
*
|
|
79
|
+
* @alpha
|
|
80
|
+
*
|
|
81
|
+
* Required Scopes: [api:ontologies-read]
|
|
82
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/edited
|
|
83
|
+
*/
|
|
84
|
+
export declare function listScenarioEditedObjects($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
85
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
86
|
+
scenarioRid: _Ontologies.OntologyScenarioRid,
|
|
87
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
88
|
+
$queryParams?: {
|
|
89
|
+
pageSize?: _Core.PageSize | undefined;
|
|
90
|
+
pageToken?: _Core.PageToken | undefined;
|
|
91
|
+
preview?: _Core.PreviewMode | undefined;
|
|
92
|
+
}
|
|
93
|
+
]): Promise<_Ontologies.ListScenarioEditedObjectsResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* Returns the list of edited links within a given scenario for a specific object type and link type, grouped
|
|
96
|
+
* by source object. Only works for many-to-many link types. Only links where the user has permission to view
|
|
97
|
+
* both objects are returned.
|
|
98
|
+
*
|
|
99
|
+
* Each page may be smaller than the requested page size.
|
|
100
|
+
*
|
|
101
|
+
* @alpha
|
|
102
|
+
*
|
|
103
|
+
* Required Scopes: [api:ontologies-read]
|
|
104
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/links/{linkType}/edited
|
|
105
|
+
*/
|
|
106
|
+
export declare function listScenarioEditedLinks($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
107
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
108
|
+
scenarioRid: _Ontologies.OntologyScenarioRid,
|
|
109
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
110
|
+
linkType: _Ontologies.LinkTypeApiName,
|
|
111
|
+
$queryParams?: {
|
|
112
|
+
pageSize?: _Core.PageSize | undefined;
|
|
113
|
+
pageToken?: _Core.PageToken | undefined;
|
|
114
|
+
preview?: _Core.PreviewMode | undefined;
|
|
115
|
+
}
|
|
116
|
+
]): Promise<_Ontologies.ListScenarioEditedLinksResponse>;
|
|
117
|
+
//# sourceMappingURL=OntologyScenario.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OntologyScenario.d.ts","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E;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,WAAW,EAAE,WAAW,CAAC,mBAAmB;IAC5C,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,QAAQ,EAAE,WAAW,CAAC,eAAe;IAErC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,+BAA+B,CAAC,CAEtD"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _createScenario = [1, "/v2/ontologies/{0}/scenarios/create", 3];
|
|
19
|
+
/**
|
|
20
|
+
* Creates an ontology scenario.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
25
|
+
* URL: /v2/ontologies/{ontology}/scenarios/create
|
|
26
|
+
*/
|
|
27
|
+
export function createScenario($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _createScenario, ...args);
|
|
29
|
+
}
|
|
30
|
+
const _listScenarioEditedObjectTypes = [0, "/v2/ontologies/{0}/scenarios/{1}/objectTypes/edited", 2];
|
|
31
|
+
/**
|
|
32
|
+
* Returns the list of object type API names that have been modified within a given scenario.
|
|
33
|
+
*
|
|
34
|
+
* @alpha
|
|
35
|
+
*
|
|
36
|
+
* Required Scopes: [api:ontologies-read]
|
|
37
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/edited
|
|
38
|
+
*/
|
|
39
|
+
export function listScenarioEditedObjectTypes($ctx, ...args) {
|
|
40
|
+
return $foundryPlatformFetch($ctx, _listScenarioEditedObjectTypes, ...args);
|
|
41
|
+
}
|
|
42
|
+
const _listScenarioEditedLinkTypes = [0, "/v2/ontologies/{0}/scenarios/{1}/objectTypes/{2}/outgoingLinkTypes/edited", 2];
|
|
43
|
+
/**
|
|
44
|
+
* Returns the list of outgoing links that have been modified within a given scenario for an object type.
|
|
45
|
+
*
|
|
46
|
+
* Note that only many-to-many link type are returned by this endpoint. One-to-many link type edits are
|
|
47
|
+
* surfaced as object edits on the object type that owns the foreign key property.
|
|
48
|
+
*
|
|
49
|
+
* @alpha
|
|
50
|
+
*
|
|
51
|
+
* Required Scopes: [api:ontologies-read]
|
|
52
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/{objectType}/outgoingLinkTypes/edited
|
|
53
|
+
*/
|
|
54
|
+
export function listScenarioEditedLinkTypes($ctx, ...args) {
|
|
55
|
+
return $foundryPlatformFetch($ctx, _listScenarioEditedLinkTypes, ...args);
|
|
56
|
+
}
|
|
57
|
+
const _listScenarioEditedEntityTypes = [0, "/v2/ontologies/{0}/scenarios/{1}/editedEntityTypes", 2];
|
|
58
|
+
/**
|
|
59
|
+
* Returns the object types and link types that have been modified within a given scenario.
|
|
60
|
+
*
|
|
61
|
+
* The response contains the list of object type API names that have been modified, and the list of
|
|
62
|
+
* many-to-many link types that have been modified, grouped by their source object type. One-to-many
|
|
63
|
+
* link type edits are surfaced as object edits on the object type that owns the foreign key property.
|
|
64
|
+
*
|
|
65
|
+
* @alpha
|
|
66
|
+
*
|
|
67
|
+
* Required Scopes: [api:ontologies-read]
|
|
68
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/editedEntityTypes
|
|
69
|
+
*/
|
|
70
|
+
export function listScenarioEditedEntityTypes($ctx, ...args) {
|
|
71
|
+
return $foundryPlatformFetch($ctx, _listScenarioEditedEntityTypes, ...args);
|
|
72
|
+
}
|
|
73
|
+
const _listScenarioEditedObjects = [0, "/v2/ontologies/{0}/scenarios/{1}/objects/{2}/edited", 2];
|
|
74
|
+
/**
|
|
75
|
+
* Returns the list of objects that have been edited within a given scenario for a specific object type.
|
|
76
|
+
* Only objects that the user has permission to view are returned.
|
|
77
|
+
*
|
|
78
|
+
* Each page may be smaller than the requested page size.
|
|
79
|
+
*
|
|
80
|
+
* @alpha
|
|
81
|
+
*
|
|
82
|
+
* Required Scopes: [api:ontologies-read]
|
|
83
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/edited
|
|
84
|
+
*/
|
|
85
|
+
export function listScenarioEditedObjects($ctx, ...args) {
|
|
86
|
+
return $foundryPlatformFetch($ctx, _listScenarioEditedObjects, ...args);
|
|
87
|
+
}
|
|
88
|
+
const _listScenarioEditedLinks = [0, "/v2/ontologies/{0}/scenarios/{1}/objects/{2}/links/{3}/edited", 2];
|
|
89
|
+
/**
|
|
90
|
+
* Returns the list of edited links within a given scenario for a specific object type and link type, grouped
|
|
91
|
+
* by source object. Only works for many-to-many link types. Only links where the user has permission to view
|
|
92
|
+
* both objects are returned.
|
|
93
|
+
*
|
|
94
|
+
* Each page may be smaller than the requested page size.
|
|
95
|
+
*
|
|
96
|
+
* @alpha
|
|
97
|
+
*
|
|
98
|
+
* Required Scopes: [api:ontologies-read]
|
|
99
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/links/{linkType}/edited
|
|
100
|
+
*/
|
|
101
|
+
export function listScenarioEditedLinks($ctx, ...args) {
|
|
102
|
+
return $foundryPlatformFetch($ctx, _listScenarioEditedLinks, ...args);
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=OntologyScenario.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OntologyScenario.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createScenario","createScenario","$ctx","args","_listScenarioEditedObjectTypes","listScenarioEditedObjectTypes","_listScenarioEditedLinkTypes","listScenarioEditedLinkTypes","_listScenarioEditedEntityTypes","listScenarioEditedEntityTypes","_listScenarioEditedObjects","listScenarioEditedObjects","_listScenarioEditedLinks","listScenarioEditedLinks"],"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 _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}\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,8BAA8B,GAAG,CAAC,CAAC,EAAE,qDAAqD,EAAE,CAAC,CAAC;AACpG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,6BAA6BA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,8BAA8B,EAAE,GAAGD,IAAI,CAAC;AAC/E;AACA,MAAMG,4BAA4B,GAAG,CACjC,CAAC,EACD,2EAA2E,EAC3E,CAAC,CACJ;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,2BAA2BA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,4BAA4B,EAAE,GAAGH,IAAI,CAAC;AAC7E;AACA,MAAMK,8BAA8B,GAAG,CAAC,CAAC,EAAE,oDAAoD,EAAE,CAAC,CAAC;AACnG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,6BAA6BA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,8BAA8B,EAAE,GAAGL,IAAI,CAAC;AAC/E;AACA,MAAMO,0BAA0B,GAAG,CAAC,CAAC,EAAE,qDAAqD,EAAE,CAAC,CAAC;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,yBAAyBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,0BAA0B,EAAE,GAAGP,IAAI,CAAC;AAC3E;AACA,MAAMS,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,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,wBAAwB,EAAE,GAAGT,IAAI,CAAC;AACzE","ignoreList":[]}
|
|
@@ -34,6 +34,7 @@ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldCli
|
|
|
34
34
|
ontology: _Ontologies.OntologyIdentifier,
|
|
35
35
|
$queryParams?: {
|
|
36
36
|
branch?: _Core.FoundryBranch | undefined;
|
|
37
|
+
preview?: _Core.PreviewMode | undefined;
|
|
37
38
|
}
|
|
38
39
|
]): Promise<_Ontologies.OntologyFullMetadata>;
|
|
39
40
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAE/C;AAMD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC,kBAAkB,CAAC,GAClD,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAEjC;
|
|
1
|
+
{"version":3,"file":"OntologyV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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,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-22,6 +22,7 @@ export declare function execute($ctx: $Client | $ClientContext | $OldClient | $O
|
|
|
22
22
|
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
23
23
|
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
24
24
|
transactionId?: _Ontologies.OntologyTransactionId | undefined;
|
|
25
|
+
scenarioRid?: _Ontologies.OntologyScenarioRid | undefined;
|
|
25
26
|
},
|
|
26
27
|
$headerParams?: {
|
|
27
28
|
attribution?: _Core.Attribution | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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;
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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;AAyBtD;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,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