@osdk/foundry.ontologies 2.60.0 → 2.61.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 +7 -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 +29 -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/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 +1 -0
- package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectSet.d.ts +4 -0
- package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/browser/public/OntologyScenario.d.ts +103 -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/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 +29 -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/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 +1 -0
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.d.ts +4 -0
- package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/esm/public/OntologyScenario.d.ts +103 -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/Query.d.ts +1 -0
- package/build/esm/public/Query.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
]): Promise<_Ontologies.CreateOntologyScenarioResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Returns the list of object type API names that have been modified within a given scenario.
|
|
19
|
+
*
|
|
20
|
+
* @alpha
|
|
21
|
+
*
|
|
22
|
+
* Required Scopes: [api:ontologies-read]
|
|
23
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/edited
|
|
24
|
+
*/
|
|
25
|
+
export declare function listScenarioEditedObjectTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
26
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
27
|
+
scenarioRid: _Ontologies.OntologyScenarioRid
|
|
28
|
+
]): Promise<_Ontologies.ListScenarioEditedObjectTypesResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the list of outgoing links that have been modified within a given scenario for an object type.
|
|
31
|
+
*
|
|
32
|
+
* Note that only many-to-many link type are returned by this endpoint. One-to-many link type edits are
|
|
33
|
+
* surfaced as object edits on the object type that owns the foreign key property.
|
|
34
|
+
*
|
|
35
|
+
* @alpha
|
|
36
|
+
*
|
|
37
|
+
* Required Scopes: [api:ontologies-read]
|
|
38
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/{objectType}/outgoingLinkTypes/edited
|
|
39
|
+
*/
|
|
40
|
+
export declare function listScenarioEditedLinkTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
41
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
42
|
+
scenarioRid: _Ontologies.OntologyScenarioRid,
|
|
43
|
+
objectType: _Ontologies.ObjectTypeApiName
|
|
44
|
+
]): Promise<_Ontologies.ListScenarioEditedLinkTypesResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Returns the object types and link types that have been modified within a given scenario.
|
|
47
|
+
*
|
|
48
|
+
* The response contains the list of object type API names that have been modified, and the list of
|
|
49
|
+
* many-to-many link types that have been modified, grouped by their source object type. One-to-many
|
|
50
|
+
* link type edits are surfaced as object edits on the object type that owns the foreign key property.
|
|
51
|
+
*
|
|
52
|
+
* @alpha
|
|
53
|
+
*
|
|
54
|
+
* Required Scopes: [api:ontologies-read]
|
|
55
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/editedEntityTypes
|
|
56
|
+
*/
|
|
57
|
+
export declare function listScenarioEditedEntityTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
58
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
59
|
+
scenarioRid: _Ontologies.OntologyScenarioRid
|
|
60
|
+
]): Promise<_Ontologies.ListScenarioEditedEntityTypesResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Returns the list of objects that have been edited within a given scenario for a specific object type.
|
|
63
|
+
* Only objects that the user has permission to view are returned.
|
|
64
|
+
*
|
|
65
|
+
* Each page may be smaller than the requested page size.
|
|
66
|
+
*
|
|
67
|
+
* @alpha
|
|
68
|
+
*
|
|
69
|
+
* Required Scopes: [api:ontologies-read]
|
|
70
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/edited
|
|
71
|
+
*/
|
|
72
|
+
export declare function listScenarioEditedObjects($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
73
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
74
|
+
scenarioRid: _Ontologies.OntologyScenarioRid,
|
|
75
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
76
|
+
$queryParams?: {
|
|
77
|
+
pageSize?: _Core.PageSize | undefined;
|
|
78
|
+
pageToken?: _Core.PageToken | undefined;
|
|
79
|
+
}
|
|
80
|
+
]): Promise<_Ontologies.ListScenarioEditedObjectsResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Returns the list of edited links within a given scenario for a specific object type and link type, grouped
|
|
83
|
+
* by source object. Only works for many-to-many link types. Only links where the user has permission to view
|
|
84
|
+
* both objects are returned.
|
|
85
|
+
*
|
|
86
|
+
* Each page may be smaller than the requested page size.
|
|
87
|
+
*
|
|
88
|
+
* @alpha
|
|
89
|
+
*
|
|
90
|
+
* Required Scopes: [api:ontologies-read]
|
|
91
|
+
* URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/links/{linkType}/edited
|
|
92
|
+
*/
|
|
93
|
+
export declare function listScenarioEditedLinks($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
94
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
95
|
+
scenarioRid: _Ontologies.OntologyScenarioRid,
|
|
96
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
97
|
+
linkType: _Ontologies.LinkTypeApiName,
|
|
98
|
+
$queryParams?: {
|
|
99
|
+
pageSize?: _Core.PageSize | undefined;
|
|
100
|
+
pageToken?: _Core.PageToken | undefined;
|
|
101
|
+
}
|
|
102
|
+
]): Promise<_Ontologies.ListScenarioEditedLinksResponse>;
|
|
103
|
+
//# sourceMappingURL=OntologyScenario.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OntologyScenario.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyScenario.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;AAWtD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,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,6BAA6B;CACjD,GACA,OAAO,CAAC,WAAW,CAAC,8BAA8B,CAAC,CAErD;AASD;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,WAAW,EAAE,WAAW,CAAC,mBAAmB;CAC7C,GACA,OAAO,CAAC,WAAW,CAAC,qCAAqC,CAAC,CAE5D;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,WAAW,EAAE,WAAW,CAAC,mBAAmB;IAC5C,UAAU,EAAE,WAAW,CAAC,iBAAiB;CAC1C,GACA,OAAO,CAAC,WAAW,CAAC,mCAAmC,CAAC,CAE1D;AASD;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,WAAW,EAAE,WAAW,CAAC,mBAAmB;CAC7C,GACA,OAAO,CAAC,WAAW,CAAC,qCAAqC,CAAC,CAE5D;AAcD;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,WAAW,EAAE,WAAW,CAAC,mBAAmB;IAC5C,UAAU,EAAE,WAAW,CAAC,iBAAiB;IAEzC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,iCAAiC,CAAC,CAExD;AAeD;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;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;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", 1];
|
|
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"];
|
|
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"];
|
|
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"];
|
|
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\", 1];\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\"];\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];\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\"];\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,CAAC;AACjG;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,CAC9E;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,CAAC;AAChG;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":[]}
|
|
@@ -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,EAAE,WAAW,CAAC,kBAAkB;IACxC,YAAY,EAAE,WAAW,CAAC,YAAY;IACtC,KAAK,EAAE,WAAW,CAAC,mBAAmB;IACtC,YAAY,CAAC,EAAE;QACb,OAAO,CAAC,EAAE,WAAW,CAAC,eAAe,GAAG,SAAS,CAAC;QAClD,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,GAAG,SAAS,CAAC;QAChD,aAAa,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC9D,WAAW,CAAC,EAAE,WAAW,CAAC,mBAAmB,GAAG,SAAS,CAAC;KAC3D;IACD,aAAa,CAAC,EAAE;QACd,WAAW,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;QAC5C,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,oBAAoB,CAAC,CAE3C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.ontologies",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.61.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@osdk/shared.client": "^1.0.1",
|
|
23
23
|
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
-
"@osdk/foundry.core": "2.
|
|
25
|
-
"@osdk/
|
|
26
|
-
"@osdk/
|
|
24
|
+
"@osdk/foundry.core": "2.61.0",
|
|
25
|
+
"@osdk/foundry.geo": "2.61.0",
|
|
26
|
+
"@osdk/shared.net.platformapi": "~1.6.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "^5.5.4",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"sls": {
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"com.palantir.foundry.api:api-gateway": {
|
|
49
|
-
"minVersion": "1.
|
|
49
|
+
"minVersion": "1.1619.0",
|
|
50
50
|
"maxVersion": "1.x.x",
|
|
51
51
|
"optional": false
|
|
52
52
|
}
|