@osdk/foundry.ontologies 2.65.0 → 2.67.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 (46) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/build/browser/_components.d.ts +385 -5
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +84 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +2 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/public/ActionTypeV2.d.ts +2 -0
  9. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  10. package/build/browser/public/CipherTextProperty.d.ts +51 -1
  11. package/build/browser/public/CipherTextProperty.d.ts.map +1 -1
  12. package/build/browser/public/CipherTextProperty.js +33 -1
  13. package/build/browser/public/CipherTextProperty.js.map +1 -1
  14. package/build/browser/public/ObjectTypeV2.d.ts +6 -0
  15. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  16. package/build/browser/public/ObjectTypeV2.js +3 -0
  17. package/build/browser/public/ObjectTypeV2.js.map +1 -1
  18. package/build/browser/public/OntologyScenario.d.ts +26 -0
  19. package/build/browser/public/OntologyScenario.d.ts.map +1 -1
  20. package/build/browser/public/OntologyScenario.js +20 -0
  21. package/build/browser/public/OntologyScenario.js.map +1 -1
  22. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +3 -0
  23. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  24. package/build/esm/_components.d.ts +385 -5
  25. package/build/esm/_components.d.ts.map +1 -1
  26. package/build/esm/_errors.d.ts +84 -0
  27. package/build/esm/_errors.d.ts.map +1 -1
  28. package/build/esm/index.d.ts +2 -2
  29. package/build/esm/index.d.ts.map +1 -1
  30. package/build/esm/public/ActionTypeV2.d.ts +2 -0
  31. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  32. package/build/esm/public/CipherTextProperty.d.ts +51 -1
  33. package/build/esm/public/CipherTextProperty.d.ts.map +1 -1
  34. package/build/esm/public/CipherTextProperty.js +33 -1
  35. package/build/esm/public/CipherTextProperty.js.map +1 -1
  36. package/build/esm/public/ObjectTypeV2.d.ts +6 -0
  37. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  38. package/build/esm/public/ObjectTypeV2.js +3 -0
  39. package/build/esm/public/ObjectTypeV2.js.map +1 -1
  40. package/build/esm/public/OntologyScenario.d.ts +26 -0
  41. package/build/esm/public/OntologyScenario.d.ts.map +1 -1
  42. package/build/esm/public/OntologyScenario.js +20 -0
  43. package/build/esm/public/OntologyScenario.js.map +1 -1
  44. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +3 -0
  45. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  46. package/package.json +5 -4
@@ -114,4 +114,30 @@ export declare function listScenarioEditedLinks($ctx: $Client | $ClientContext |
114
114
  preview?: _Core.PreviewMode | undefined;
115
115
  }
116
116
  ]): Promise<_Ontologies.ListScenarioEditedLinksResponse>;
117
+ /**
118
+ * Returns the list of objects with edits that conflict with edits to the scenario's base for a specific object
119
+ * type. A conflict occurs when an object has been edited both within the scenario and on the scenario's base
120
+ * after the scenario was created. Only objects that the user has permission to view are returned.
121
+ *
122
+ * Conflict detection takes into account changes that are not reflected in the user-visible object data.
123
+ * As a result, this endpoint may report false positives. An object may be returned as conflicting even if
124
+ * its data has not actually changed on the scenario's base.
125
+ *
126
+ * Each page may be smaller than the requested page size.
127
+ *
128
+ * @alpha
129
+ *
130
+ * Required Scopes: [api:ontologies-read]
131
+ * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/conflicting
132
+ */
133
+ export declare function listScenarioConflictingObjects($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
134
+ ontology: _Ontologies.OntologyIdentifier,
135
+ scenarioRid: _Ontologies.OntologyScenarioRid,
136
+ objectType: _Ontologies.ObjectTypeApiName,
137
+ $queryParams?: {
138
+ pageSize?: _Core.PageSize | undefined;
139
+ pageToken?: _Core.PageToken | undefined;
140
+ preview?: _Core.PreviewMode | undefined;
141
+ }
142
+ ]): Promise<_Ontologies.ListScenarioConflictingObjectsResponse>;
117
143
  //# sourceMappingURL=OntologyScenario.d.ts.map
@@ -1 +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;AAYtD;;;;;;;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;IAChD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,WAAW,CAAC,8BAA8B,CAAC,CAErD;AAUD;;;;;;;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;IAE5C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAA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,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"}
@@ -101,4 +101,24 @@ const _listScenarioEditedLinks = [0, "/v2/ontologies/{0}/scenarios/{1}/objects/{
101
101
  export function listScenarioEditedLinks($ctx, ...args) {
102
102
  return $foundryPlatformFetch($ctx, _listScenarioEditedLinks, ...args);
103
103
  }
104
+ const _listScenarioConflictingObjects = [0, "/v2/ontologies/{0}/scenarios/{1}/objects/{2}/conflicting", 2];
105
+ /**
106
+ * Returns the list of objects with edits that conflict with edits to the scenario's base for a specific object
107
+ * type. A conflict occurs when an object has been edited both within the scenario and on the scenario's base
108
+ * after the scenario was created. Only objects that the user has permission to view are returned.
109
+ *
110
+ * Conflict detection takes into account changes that are not reflected in the user-visible object data.
111
+ * As a result, this endpoint may report false positives. An object may be returned as conflicting even if
112
+ * its data has not actually changed on the scenario's base.
113
+ *
114
+ * Each page may be smaller than the requested page size.
115
+ *
116
+ * @alpha
117
+ *
118
+ * Required Scopes: [api:ontologies-read]
119
+ * URL: /v2/ontologies/{ontology}/scenarios/{scenarioRid}/objects/{objectType}/conflicting
120
+ */
121
+ export function listScenarioConflictingObjects($ctx, ...args) {
122
+ return $foundryPlatformFetch($ctx, _listScenarioConflictingObjects, ...args);
123
+ }
104
124
  //# sourceMappingURL=OntologyScenario.js.map
@@ -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"],"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":[]}
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,3 +1,4 @@
1
+ import type * as _Core from "@osdk/foundry.core";
1
2
  import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
2
3
  import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
4
  import type * as _Ontologies from "../_components.js";
@@ -17,6 +18,7 @@ export declare function getLatestValue($ctx: $Client | $ClientContext | $OldClie
17
18
  $queryParams?: {
18
19
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
19
20
  sdkVersion?: _Ontologies.SdkVersion | undefined;
21
+ branch?: _Core.FoundryBranch | undefined;
20
22
  }
21
23
  ]): Promise<_Ontologies.TimeseriesEntry | undefined>;
22
24
  /**
@@ -36,6 +38,7 @@ export declare function streamValues($ctx: $Client | $ClientContext | $OldClient
36
38
  $queryParams?: {
37
39
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
38
40
  sdkVersion?: _Ontologies.SdkVersion | undefined;
41
+ branch?: _Core.FoundryBranch | undefined;
39
42
  }
40
43
  ]): Promise<Response>;
41
44
  //# sourceMappingURL=TimeSeriesValueBankProperty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimeSeriesValueBankProperty.d.ts","sourceRoot":"","sources":["../../../src/public/TimeSeriesValueBankProperty.ts"],"names":[],"mappings":"AAgBA,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;AAiBtD;;;;;;;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,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,YAAY,EAAE,WAAW,CAAC,eAAe;IAEzC,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UA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