@osdk/foundry.ontologies 2.85.0 → 2.87.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 (34) 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 +137 -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/Action.d.ts +2 -0
  9. package/build/browser/v2/public/Action.d.ts.map +1 -1
  10. package/build/browser/v2/public/ObjectTypeV2.d.ts +1 -0
  11. package/build/browser/v2/public/ObjectTypeV2.d.ts.map +1 -1
  12. package/build/browser/v2/public/OntologyScenario.d.ts +24 -7
  13. package/build/browser/v2/public/OntologyScenario.d.ts.map +1 -1
  14. package/build/browser/v2/public/OntologyScenario.js +21 -7
  15. package/build/browser/v2/public/OntologyScenario.js.map +1 -1
  16. package/build/browser/v2/public/OntologyV2.d.ts +1 -0
  17. package/build/browser/v2/public/OntologyV2.d.ts.map +1 -1
  18. package/build/esm/v2/_components.d.ts +20 -1
  19. package/build/esm/v2/_components.d.ts.map +1 -1
  20. package/build/esm/v2/_errors.d.ts +137 -0
  21. package/build/esm/v2/_errors.d.ts.map +1 -1
  22. package/build/esm/v2/index.d.ts +2 -2
  23. package/build/esm/v2/index.d.ts.map +1 -1
  24. package/build/esm/v2/public/Action.d.ts +2 -0
  25. package/build/esm/v2/public/Action.d.ts.map +1 -1
  26. package/build/esm/v2/public/ObjectTypeV2.d.ts +1 -0
  27. package/build/esm/v2/public/ObjectTypeV2.d.ts.map +1 -1
  28. package/build/esm/v2/public/OntologyScenario.d.ts +24 -7
  29. package/build/esm/v2/public/OntologyScenario.d.ts.map +1 -1
  30. package/build/esm/v2/public/OntologyScenario.js +21 -7
  31. package/build/esm/v2/public/OntologyScenario.js.map +1 -1
  32. package/build/esm/v2/public/OntologyV2.d.ts +1 -0
  33. package/build/esm/v2/public/OntologyV2.d.ts.map +1 -1
  34. package/package.json +5 -5
@@ -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
@@ -17,10 +17,27 @@ export declare function createScenario($ctx: $Client | $ClientContext | $OldClie
17
17
  preview?: _Core.PreviewMode | undefined;
18
18
  }
19
19
  ]): Promise<_Ontologies.CreateOntologyScenarioResponse>;
20
+ /**
21
+ * Rebases all object types edited within the scenario onto the latest data from the scenario's base.
22
+ * Rebasing may also cause other scenarios with edits to the same object types on the same base to observe
23
+ * the updated base data. The caller must have permission to edit the scenario.
24
+ *
25
+ * @beta
26
+ *
27
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
28
+ * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/rebase
29
+ */
30
+ export declare function rebaseScenario($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
31
+ ontology: _Ontologies.OntologyIdentifier,
32
+ scenarioRid: _Ontologies.OntologyScenarioRid,
33
+ $queryParams?: {
34
+ preview?: _Core.PreviewMode | undefined;
35
+ }
36
+ ]): Promise<void>;
20
37
  /**
21
38
  * Returns the list of object type API names that have been modified within a given scenario.
22
39
  *
23
- * @alpha
40
+ * @beta
24
41
  *
25
42
  * Required Scopes: [api:ontologies-read]
26
43
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/edited
@@ -38,7 +55,7 @@ export declare function listScenarioEditedObjectTypes($ctx: $Client | $ClientCon
38
55
  * Note that only many-to-many link type are returned by this endpoint. One-to-many link type edits are
39
56
  * surfaced as object edits on the object type that owns the foreign key property.
40
57
  *
41
- * @alpha
58
+ * @beta
42
59
  *
43
60
  * Required Scopes: [api:ontologies-read]
44
61
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/{objectType}/outgoingLinkTypes/edited
@@ -58,7 +75,7 @@ export declare function listScenarioEditedLinkTypes($ctx: $Client | $ClientConte
58
75
  * many-to-many link types that have been modified, grouped by their source object type. One-to-many
59
76
  * link type edits are surfaced as object edits on the object type that owns the foreign key property.
60
77
  *
61
- * @alpha
78
+ * @beta
62
79
  *
63
80
  * Required Scopes: [api:ontologies-read]
64
81
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/editedEntityTypes
@@ -76,7 +93,7 @@ export declare function listScenarioEditedEntityTypes($ctx: $Client | $ClientCon
76
93
  *
77
94
  * Each page may be smaller than the requested page size.
78
95
  *
79
- * @alpha
96
+ * @beta
80
97
  *
81
98
  * Required Scopes: [api:ontologies-read]
82
99
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/edited
@@ -98,7 +115,7 @@ export declare function listScenarioEditedObjects($ctx: $Client | $ClientContext
98
115
  *
99
116
  * Each page may be smaller than the requested page size.
100
117
  *
101
- * @alpha
118
+ * @beta
102
119
  *
103
120
  * Required Scopes: [api:ontologies-read]
104
121
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/links/{linkType}/edited
@@ -125,7 +142,7 @@ export declare function listScenarioEditedLinks($ctx: $Client | $ClientContext |
125
142
  *
126
143
  * Each page may be smaller than the requested page size.
127
144
  *
128
- * @alpha
145
+ * @beta
129
146
  *
130
147
  * Required Scopes: [api:ontologies-read]
131
148
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/conflicting
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyScenario.d.ts","sourceRoot":"","sources":["../../../../src/v2/public/OntologyScenario.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EACV,YAAY,IAAI,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xC,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;AAeD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,8BAA8B,CAC5C,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;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,sCAAsC,CAAC,CAE7D"}
@@ -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
@@ -27,11 +27,25 @@ const _createScenario = [1, "/v2/ontologies/{0}/scenarios/create", 3];
27
27
  export function createScenario($ctx, ...args) {
28
28
  return $foundryPlatformFetch($ctx, _createScenario, ...args);
29
29
  }
30
+ const _rebaseScenario = [1, "/v2/ontologies/{0}/scenarios/{1}/rebase", 2];
31
+ /**
32
+ * Rebases all object types edited within the scenario onto the latest data from the scenario's base.
33
+ * Rebasing may also cause other scenarios with edits to the same object types on the same base to observe
34
+ * the updated base data. The caller must have permission to edit the scenario.
35
+ *
36
+ * @beta
37
+ *
38
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
39
+ * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/rebase
40
+ */
41
+ export function rebaseScenario($ctx, ...args) {
42
+ return $foundryPlatformFetch($ctx, _rebaseScenario, ...args);
43
+ }
30
44
  const _listScenarioEditedObjectTypes = [0, "/v2/ontologies/{0}/scenarios/{1}/objectTypes/edited", 2];
31
45
  /**
32
46
  * Returns the list of object type API names that have been modified within a given scenario.
33
47
  *
34
- * @alpha
48
+ * @beta
35
49
  *
36
50
  * Required Scopes: [api:ontologies-read]
37
51
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/edited
@@ -46,7 +60,7 @@ const _listScenarioEditedLinkTypes = [0, "/v2/ontologies/{0}/scenarios/{1}/objec
46
60
  * Note that only many-to-many link type are returned by this endpoint. One-to-many link type edits are
47
61
  * surfaced as object edits on the object type that owns the foreign key property.
48
62
  *
49
- * @alpha
63
+ * @beta
50
64
  *
51
65
  * Required Scopes: [api:ontologies-read]
52
66
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objectTypes/{objectType}/outgoingLinkTypes/edited
@@ -62,7 +76,7 @@ const _listScenarioEditedEntityTypes = [0, "/v2/ontologies/{0}/scenarios/{1}/edi
62
76
  * many-to-many link types that have been modified, grouped by their source object type. One-to-many
63
77
  * link type edits are surfaced as object edits on the object type that owns the foreign key property.
64
78
  *
65
- * @alpha
79
+ * @beta
66
80
  *
67
81
  * Required Scopes: [api:ontologies-read]
68
82
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/editedEntityTypes
@@ -77,7 +91,7 @@ const _listScenarioEditedObjects = [0, "/v2/ontologies/{0}/scenarios/{1}/objects
77
91
  *
78
92
  * Each page may be smaller than the requested page size.
79
93
  *
80
- * @alpha
94
+ * @beta
81
95
  *
82
96
  * Required Scopes: [api:ontologies-read]
83
97
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/edited
@@ -93,7 +107,7 @@ const _listScenarioEditedLinks = [0, "/v2/ontologies/{0}/scenarios/{1}/objects/{
93
107
  *
94
108
  * Each page may be smaller than the requested page size.
95
109
  *
96
- * @alpha
110
+ * @beta
97
111
  *
98
112
  * Required Scopes: [api:ontologies-read]
99
113
  * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/links/{linkType}/edited
@@ -113,7 +127,7 @@ const _listScenarioConflictingObjects = [0, "/v2/ontologies/{0}/scenarios/{1}/ob
113
127
  *
114
128
  * Each page may be smaller than the requested page size.
115
129
  *
116
- * @alpha
130
+ * @beta
117
131
  *
118
132
  * Required Scopes: [api:ontologies-read]
119
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","_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 _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;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;AACA,MAAMW,+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,CAACb,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1D,OAAOJ,qBAAqB,CAACG,IAAI,EAAEY,+BAA+B,EAAE,GAAGX,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,qBAAq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ACA;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":[]}
@@ -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,qBA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,OAAO,GAAG,SAAS,CAAC;QACpD,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACzC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,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"}
@@ -755,6 +755,15 @@ export interface AllTermsQuery {
755
755
  value: string;
756
756
  fuzzy?: Fuzzy;
757
757
  }
758
+ /**
759
+ * Selects the analyzed field variant used for full-text and phrase queries.
760
+ The base analyzer searches the field using the analyzer it was indexed with. The base analyzer is used when the
761
+ optional analyzerSelection is omitted.
762
+ The phonetic analyzer searches the field's phonetic indexing to match similar-sounding terms.
763
+ *
764
+ * Log Safety: SAFE
765
+ */
766
+ export type AnalyzerSelection = "BASE_ANALYZER" | "PHONETIC_ANALYZER";
758
767
  /**
759
768
  * Returns action types where every query is satisfied. An empty list matches all action types.
760
769
  *
@@ -1292,6 +1301,7 @@ by a variety of means. Either field or propertyIdentifier can be supplied, but n
1292
1301
  export interface ContainsAllTermsInOrderPrefixLastTerm {
1293
1302
  field?: PropertyApiName;
1294
1303
  propertyIdentifier?: PropertyIdentifier;
1304
+ analyzerSelection?: AnalyzerSelection;
1295
1305
  value: string;
1296
1306
  }
1297
1307
  /**
@@ -1304,18 +1314,21 @@ by a variety of means. Either field or propertyIdentifier must be supplied, but
1304
1314
  export interface ContainsAllTermsInOrderQuery {
1305
1315
  field?: PropertyApiName;
1306
1316
  propertyIdentifier?: PropertyIdentifier;
1317
+ analyzerSelection?: AnalyzerSelection;
1307
1318
  value: string;
1308
1319
  }
1309
1320
  /**
1310
1321
  * Returns objects where the specified field contains all of the whitespace separated words in any
1311
1322
  order in the provided value. This query supports fuzzy matching. Allows you to specify a property to query on
1312
1323
  by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1324
+ When analyzerSelection selects the phonetic analyzer, fuzzy must be omitted or set to false.
1313
1325
  *
1314
1326
  * Log Safety: UNSAFE
1315
1327
  */
1316
1328
  export interface ContainsAllTermsQuery {
1317
1329
  field?: PropertyApiName;
1318
1330
  propertyIdentifier?: PropertyIdentifier;
1331
+ analyzerSelection?: AnalyzerSelection;
1319
1332
  value: string;
1320
1333
  fuzzy?: FuzzyV2;
1321
1334
  }
@@ -1323,12 +1336,14 @@ export interface ContainsAllTermsQuery {
1323
1336
  * Returns objects where the specified field contains any of the whitespace separated words in any
1324
1337
  order in the provided value. This query supports fuzzy matching. Allows you to specify a property to query on
1325
1338
  by a variety of means. Either field or propertyIdentifier must be supplied, but not both.
1339
+ When analyzerSelection selects the phonetic analyzer, fuzzy must be omitted or set to false.
1326
1340
  *
1327
1341
  * Log Safety: UNSAFE
1328
1342
  */
1329
1343
  export interface ContainsAnyTermQuery {
1330
1344
  field?: PropertyApiName;
1331
1345
  propertyIdentifier?: PropertyIdentifier;
1346
+ analyzerSelection?: AnalyzerSelection;
1332
1347
  value: string;
1333
1348
  fuzzy?: FuzzyV2;
1334
1349
  }
@@ -1527,6 +1542,7 @@ export type DatasourceRid = LooselyBrandedString<"DatasourceRid">;
1527
1542
  | Double | number | 3.14159265 |
1528
1543
  | EntrySet | array of JSON objects | [{"key": "EMP1234", "value": "true"}, {"key": "EMP4444", "value": "false"}] |
1529
1544
  | Float | number | 3.14159265 |
1545
+ | Geoshape | GeoJSON geometry, as an object or string | {"type": "Point", "coordinates": [102.0, 0.5]} |
1530
1546
  | Integer | number | 238940 |
1531
1547
  | Long | string | "58319870951433" |
1532
1548
  | Marking | string | "MU" |
@@ -1543,7 +1559,7 @@ export type DatasourceRid = LooselyBrandedString<"DatasourceRid">;
1543
1559
  | TwoDimensionalAggregation | JSON object | {"groups": [{"key": "alpha", "value": 100}, {"key": "beta", "value": 101}]} |
1544
1560
  | ThreeDimensionalAggregation | JSON object | {"groups": [{"key": "NYC", "groups": [{"key": "Engineer", "value" : 100}]}]} |
1545
1561
  | Timestamp | ISO 8601 extended offset date-time string in UTC zone | "2021-01-04T05:00:00Z" |
1546
- | 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"}} |
1562
+ | 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"} |
1547
1563
  *
1548
1564
  * Log Safety: UNSAFE
1549
1565
  */
@@ -5650,6 +5666,8 @@ export type QueryDataType = ({
5650
5666
  } & _Core.DoubleType) | ({
5651
5667
  type: "union";
5652
5668
  } & QueryUnionType) | ({
5669
+ type: "geoshape";
5670
+ } & _Core.GeoShapeType) | ({
5653
5671
  type: "boolean";
5654
5672
  } & _Core.BooleanType) | ({
5655
5673
  type: "mediaReference";
@@ -6503,6 +6521,7 @@ query on by a variety of means. Either field or propertyIdentifier must be suppl
6503
6521
  export interface StartsWithQuery {
6504
6522
  field?: PropertyApiName;
6505
6523
  propertyIdentifier?: PropertyIdentifier;
6524
+ analyzerSelection?: AnalyzerSelection;
6506
6525
  value: string;
6507
6526
  }
6508
6527
  /**