@osdk/foundry.ontologies 2.48.0 → 2.50.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 +24 -0
  2. package/build/browser/_components.d.ts +99 -8
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/index.d.ts +1 -1
  5. package/build/browser/index.d.ts.map +1 -1
  6. package/build/browser/public/ActionTypeV2.d.ts +20 -0
  7. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  8. package/build/browser/public/ActionTypeV2.js +17 -0
  9. package/build/browser/public/ActionTypeV2.js.map +1 -1
  10. package/build/browser/public/ObjectTypeV2.d.ts +2 -3
  11. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  12. package/build/browser/public/ObjectTypeV2.js +2 -3
  13. package/build/browser/public/ObjectTypeV2.js.map +1 -1
  14. package/build/browser/public/OntologyObjectSet.d.ts +1 -0
  15. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  16. package/build/browser/public/Query.d.ts +1 -0
  17. package/build/browser/public/Query.d.ts.map +1 -1
  18. package/build/esm/_components.d.ts +99 -8
  19. package/build/esm/_components.d.ts.map +1 -1
  20. package/build/esm/index.d.ts +1 -1
  21. package/build/esm/index.d.ts.map +1 -1
  22. package/build/esm/public/ActionTypeV2.d.ts +20 -0
  23. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  24. package/build/esm/public/ActionTypeV2.js +17 -0
  25. package/build/esm/public/ActionTypeV2.js.map +1 -1
  26. package/build/esm/public/ObjectTypeV2.d.ts +2 -3
  27. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  28. package/build/esm/public/ObjectTypeV2.js +2 -3
  29. package/build/esm/public/ObjectTypeV2.js.map +1 -1
  30. package/build/esm/public/OntologyObjectSet.d.ts +1 -0
  31. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  32. package/build/esm/public/Query.d.ts +1 -0
  33. package/build/esm/public/Query.d.ts.map +1 -1
  34. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"ActionTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getByRid","getByRid"],"sources":["ActionTypeV2.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 _list = [0, \"/v2/ontologies/{0}/actionTypes\", 2];\n/**\n * Lists the action types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/actionTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/actionTypes/{1}\", 2];\n/**\n * Gets a specific action type with the given API name.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/actionTypes/{actionType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getByRid = [0, \"/v2/ontologies/{0}/actionTypes/byRid/{1}\", 2];\n/**\n * Gets a specific action type with the given RID.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/actionTypes/byRid/{actionTypeRid}\n */\nexport function getByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getByRid, ...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,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;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,SAAS,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACpC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,SAAS,EAAE,GAAGH,IAAI,CAAC;AAC1D","ignoreList":[]}
1
+ {"version":3,"file":"ActionTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getByRid","getByRid","_getByRidBatch","getByRidBatch"],"sources":["ActionTypeV2.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 _list = [0, \"/v2/ontologies/{0}/actionTypes\", 2];\n/**\n * Lists the action types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/actionTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/actionTypes/{1}\", 2];\n/**\n * Gets a specific action type with the given API name.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/actionTypes/{actionType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getByRid = [0, \"/v2/ontologies/{0}/actionTypes/byRid/{1}\", 2];\n/**\n * Gets a specific action type with the given RID.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/actionTypes/byRid/{actionTypeRid}\n */\nexport function getByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getByRid, ...args);\n}\nconst _getByRidBatch = [1, \"/v2/ontologies/{0}/actionTypes/getByRidBatch\", 3];\n/**\n * Gets a list of action types by RID in bulk.\n *\n * Action types are filtered from the response if they don't exist or the requesting token lacks the required\n * permissions.\n *\n * The maximum batch size for this endpoint is 100.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/actionTypes/getByRidBatch\n */\nexport function getByRidBatch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getByRidBatch, ...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,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;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,SAAS,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACpC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,SAAS,EAAE,GAAGH,IAAI,CAAC;AAC1D;AACA,MAAMK,cAAc,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,cAAc,EAAE,GAAGL,IAAI,CAAC;AAC/D","ignoreList":[]}
@@ -60,10 +60,9 @@ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldCli
60
60
  * specific object type. This endpoint provides visibility into all actions that have
61
61
  * modified objects of this type.
62
62
  *
63
- * The edits are returned in reverse chronological order (most recent first).
63
+ * The edits are returned in reverse chronological order (most recent first) by default.
64
64
  *
65
- * WARNING: right now this endpoint works only if you pass in an object primary key, i.e. it does not function
66
- * as a global object type edits history. Global object type edits history is currently under development.
65
+ * Note that filters are ignored for OSv1 object types.
67
66
  *
68
67
  * @alpha
69
68
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.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;AAetD;;;;;;;;;;;GAWG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IAExC,YAAY,CAAC,EAAE;QACb,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;QACzC,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,yBAAyB,CAAC,CAEhD;AAUD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP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,GACA,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,CAErC"}
@@ -61,10 +61,9 @@ const _getEditsHistory = [1, "/v2/ontologies/{0}/objectTypes/{1}/editsHistory",
61
61
  * specific object type. This endpoint provides visibility into all actions that have
62
62
  * modified objects of this type.
63
63
  *
64
- * The edits are returned in reverse chronological order (most recent first).
64
+ * The edits are returned in reverse chronological order (most recent first) by default.
65
65
  *
66
- * WARNING: right now this endpoint works only if you pass in an object primary key, i.e. it does not function
67
- * as a global object type edits history. Global object type edits history is currently under development.
66
+ * Note that filters are ignored for OSv1 object types.
68
67
  *
69
68
  * @alpha
70
69
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata","_getEditsHistory","getEditsHistory","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectTypeV2.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 _list = [0, \"/v2/ontologies/{0}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * response.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectTypes/{1}\", 2];\n/**\n * Gets a specific object type with the given API name.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);\n}\nconst _getEditsHistory = [1, \"/v2/ontologies/{0}/objectTypes/{1}/editsHistory\", 3];\n/**\n * Returns the history of edits (additions, modifications, deletions) for objects of a\n * specific object type. This endpoint provides visibility into all actions that have\n * modified objects of this type.\n *\n * The edits are returned in reverse chronological order (most recent first).\n *\n * WARNING: right now this endpoint works only if you pass in an object primary key, i.e. it does not function\n * as a global object type edits history. Global object type edits history is currently under development.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/editsHistory\n */\nexport function getEditsHistory($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getEditsHistory, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes\", 2];\n/**\n * List the outgoing links for an object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}\", 2];\n/**\n * Get an outgoing link for an object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...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,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;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,gBAAgB,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,gBAAgB,EAAE,GAAGH,IAAI,CAAC;AACjE;AACA,MAAMK,gBAAgB,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,gBAAgB,EAAE,GAAGL,IAAI,CAAC;AACjE;AACA,MAAMO,sBAAsB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,sBAAsB,EAAE,GAAGP,IAAI,CAAC;AACvE;AACA,MAAMS,oBAAoB,GAAG,CAAC,CAAC,EAAE,0DAA0D,EAAE,CAAC,CAAC;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,oBAAoB,EAAE,GAAGT,IAAI,CAAC;AACrE","ignoreList":[]}
1
+ {"version":3,"file":"ObjectTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata","_getEditsHistory","getEditsHistory","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectTypeV2.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 _list = [0, \"/v2/ontologies/{0}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * response.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectTypes/{1}\", 2];\n/**\n * Gets a specific object type with the given API name.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);\n}\nconst _getEditsHistory = [1, \"/v2/ontologies/{0}/objectTypes/{1}/editsHistory\", 3];\n/**\n * Returns the history of edits (additions, modifications, deletions) for objects of a\n * specific object type. This endpoint provides visibility into all actions that have\n * modified objects of this type.\n *\n * The edits are returned in reverse chronological order (most recent first) by default.\n *\n * Note that filters are ignored for OSv1 object types.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/editsHistory\n */\nexport function getEditsHistory($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getEditsHistory, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes\", 2];\n/**\n * List the outgoing links for an object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}\", 2];\n/**\n * Get an outgoing link for an object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...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,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;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,gBAAgB,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,gBAAgB,EAAE,GAAGH,IAAI,CAAC;AACjE;AACA,MAAMK,gBAAgB,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,gBAAgB,EAAE,GAAGL,IAAI,CAAC;AACjE;AACA,MAAMO,sBAAsB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,sBAAsB,EAAE,GAAGP,IAAI,CAAC;AACvE;AACA,MAAMS,oBAAoB,GAAG,CAAC,CAAC,EAAE,0DAA0D,EAAE,CAAC,CAAC;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,oBAAoB,EAAE,GAAGT,IAAI,CAAC;AACrE","ignoreList":[]}
@@ -116,6 +116,7 @@ export declare function loadObjectsOrInterfaces($ctx: $Client | $ClientContext |
116
116
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
117
117
  sdkVersion?: _Ontologies.SdkVersion | undefined;
118
118
  branch?: _Core.FoundryBranch | undefined;
119
+ transactionId?: _Ontologies.OntologyTransactionId | undefined;
119
120
  preview?: _Core.PreviewMode | undefined;
120
121
  }
121
122
  ]): Promise<_Ontologies.LoadObjectSetV2ObjectsOrIn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B,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;CACF,GACA,OAAO,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAEnD"}
@@ -18,6 +18,7 @@ export declare function execute($ctx: $Client | $ClientContext | $OldClient | $O
18
18
  $body: _Ontologies.ExecuteQueryRequest,
19
19
  $queryParams?: {
20
20
  version?: _Ontologies.FunctionVersion | undefined;
21
+ branch?: _Core.FoundryBranch | undefined;
21
22
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
22
23
  sdkVersion?: _Ontologies.SdkVersion | undefined;
23
24
  transactionId?: _Ontologies.OntologyTransactionId | 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;AAuBtD;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GA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,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;KAC/D;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"}
@@ -1520,17 +1520,28 @@ export type EditHistoryEdit = ({
1520
1520
  /**
1521
1521
  * Log Safety: UNSAFE
1522
1522
  */
1523
- export interface EditsHistoryFilters {
1524
- startTime?: string;
1525
- endTime?: string;
1526
- actionTypes: Array<ActionTypeApiName>;
1527
- editTypes: Array<EditTypeFilter>;
1528
- userIds: Array<string>;
1523
+ export type EditsHistoryFilter = ({
1524
+ type: "timestampFilter";
1525
+ } & EditsHistoryTimestampFilter) | ({
1526
+ type: "operationIdsFilter";
1527
+ } & EditsHistoryOperationIdsFilter);
1528
+ /**
1529
+ * Log Safety: SAFE
1530
+ */
1531
+ export interface EditsHistoryOperationIdsFilter {
1532
+ operationIds: Array<ActionRid>;
1529
1533
  }
1530
1534
  /**
1531
1535
  * Log Safety: SAFE
1532
1536
  */
1533
1537
  export type EditsHistorySortOrder = "newest_first" | "oldest_first";
1538
+ /**
1539
+ * Log Safety: SAFE
1540
+ */
1541
+ export interface EditsHistoryTimestampFilter {
1542
+ startTime?: string;
1543
+ endTime?: string;
1544
+ }
1534
1545
  /**
1535
1546
  * Log Safety: SAFE
1536
1547
  */
@@ -1697,12 +1708,54 @@ export type FunctionVersion = LooselyBrandedString<"FunctionVersion">;
1697
1708
  * Log Safety: SAFE
1698
1709
  */
1699
1710
  export type Fuzzy = boolean;
1711
+ /**
1712
+ * Matches intervals containing terms that are similar to the provided term, within an edit distance
1713
+ defined by fuzziness. An edit is a single character change needed to make a term match, including
1714
+ character insertion, deletion, substitution, or transposition of two adjacent characters.
1715
+ *
1716
+ * Log Safety: UNSAFE
1717
+ */
1718
+ export interface FuzzyRule {
1719
+ term: string;
1720
+ fuzziness?: number;
1721
+ }
1700
1722
  /**
1701
1723
  * Setting fuzzy to true allows approximate matching in search queries that support it.
1702
1724
  *
1703
1725
  * Log Safety: SAFE
1704
1726
  */
1705
1727
  export type FuzzyV2 = boolean;
1728
+ /**
1729
+ * A GeoJSON geometry specification.
1730
+ *
1731
+ * Log Safety: UNSAFE
1732
+ */
1733
+ export interface GeoJsonString {
1734
+ geoJson: string;
1735
+ }
1736
+ /**
1737
+ * Geometry specification for a GeoShapeV2Query. Supports bounding box envelopes and arbitrary GeoJSON geometries.
1738
+ *
1739
+ * Log Safety: UNSAFE
1740
+ */
1741
+ export type GeoShapeV2Geometry = ({
1742
+ type: "envelope";
1743
+ } & BoundingBoxValue) | ({
1744
+ type: "geoJson";
1745
+ } & GeoJsonString);
1746
+ /**
1747
+ * Returns objects where the specified field satisfies the provided geometry query with the given spatial operator.
1748
+ Supports both envelope (bounding box) and GeoJSON geometries for filtering geopoint or geoshape properties.
1749
+ Either field or propertyIdentifier can be supplied, but not both.
1750
+ *
1751
+ * Log Safety: UNSAFE
1752
+ */
1753
+ export interface GeoShapeV2Query {
1754
+ field?: PropertyApiName;
1755
+ propertyIdentifier?: PropertyIdentifier;
1756
+ geometry: GeoShapeV2Geometry;
1757
+ spatialFilterMode: SpatialFilterMode;
1758
+ }
1706
1759
  /**
1707
1760
  * A single geotemporal data point representing the location of an entity at a specific point in time.
1708
1761
  *
@@ -1746,6 +1799,24 @@ export interface GeotimeSeriesValue {
1746
1799
  position: _Geo.Position;
1747
1800
  timestamp: string;
1748
1801
  }
1802
+ /**
1803
+ * Log Safety: SAFE
1804
+ */
1805
+ export interface GetActionTypeByRidBatchRequest {
1806
+ requests: Array<GetActionTypeByRidBatchRequestElement>;
1807
+ }
1808
+ /**
1809
+ * Log Safety: SAFE
1810
+ */
1811
+ export interface GetActionTypeByRidBatchRequestElement {
1812
+ actionTypeRid: ActionTypeRid;
1813
+ }
1814
+ /**
1815
+ * Log Safety: UNSAFE
1816
+ */
1817
+ export interface GetActionTypeByRidBatchResponse {
1818
+ data: Array<ActionTypeV2>;
1819
+ }
1749
1820
  /**
1750
1821
  * Gets a single value of a property. Throws if the target object set is on the MANY side of the link and could
1751
1822
  explode the cardinality.
@@ -2115,7 +2186,9 @@ export type IntervalQueryRule = ({
2115
2186
  type: "anyOf";
2116
2187
  } & AnyOfRule) | ({
2117
2188
  type: "prefixOnLastToken";
2118
- } & PrefixOnLastTokenRule);
2189
+ } & PrefixOnLastTokenRule) | ({
2190
+ type: "fuzzy";
2191
+ } & FuzzyRule);
2119
2192
  /**
2120
2193
  * Returns objects based on the existence of the specified field.
2121
2194
  *
@@ -2528,6 +2601,7 @@ export interface LoadObjectSetV2ObjectsOrInterfacesResponse {
2528
2601
  data: Array<OntologyObjectV2>;
2529
2602
  nextPageToken?: _Core.PageToken;
2530
2603
  totalCount: _Core.TotalCount;
2604
+ transactionId?: OntologyTransactionId;
2531
2605
  }
2532
2606
  /**
2533
2607
  * The Ontology metadata (i.e., object, link, action, query, and interface types) to load.
@@ -3024,6 +3098,7 @@ created, modified, or deleted as part of an action execution.
3024
3098
  * Log Safety: UNSAFE
3025
3099
  */
3026
3100
  export interface ObjectEditHistoryEntry {
3101
+ objectPrimaryKey: ObjectPrimaryKeyV2;
3027
3102
  operationId: ActionRid;
3028
3103
  actionTypeRid: ActionTypeRid;
3029
3104
  userId: string;
@@ -3407,7 +3482,7 @@ Otherwise, the method will return edits history for all objects of this object t
3407
3482
  */
3408
3483
  export interface ObjectTypeEditsHistoryRequest {
3409
3484
  objectPrimaryKey?: ObjectPrimaryKeyV2;
3410
- filters?: EditsHistoryFilters;
3485
+ filters?: EditsHistoryFilter;
3411
3486
  sortOrder?: EditsHistorySortOrder;
3412
3487
  includeAllPreviousProperties?: boolean;
3413
3488
  pageSize?: number;
@@ -3551,6 +3626,8 @@ export type OntologyDataType = ({
3551
3626
  } & _Core.MarkingType) | ({
3552
3627
  type: "unsupported";
3553
3628
  } & _Core.UnsupportedType) | ({
3629
+ type: "mediaReference";
3630
+ } & _Core.MediaReferenceType) | ({
3554
3631
  type: "array";
3555
3632
  } & OntologyArrayType) | ({
3556
3633
  type: "objectSet";
@@ -4381,6 +4458,8 @@ export type QueryDataType = ({
4381
4458
  } & QueryStructType) | ({
4382
4459
  type: "set";
4383
4460
  } & QuerySetType) | ({
4461
+ type: "void";
4462
+ } & _Core.VoidType) | ({
4384
4463
  type: "string";
4385
4464
  } & _Core.StringType) | ({
4386
4465
  type: "entrySet";
@@ -4403,6 +4482,8 @@ export type QueryDataType = ({
4403
4482
  } & _Core.UnsupportedType) | ({
4404
4483
  type: "attachment";
4405
4484
  } & _Core.AttachmentType) | ({
4485
+ type: "mediaReference";
4486
+ } & _Core.MediaReferenceType) | ({
4406
4487
  type: "null";
4407
4488
  } & _Core.NullType) | ({
4408
4489
  type: "array";
@@ -4789,6 +4870,8 @@ export type SearchJsonQueryV2 = ({
4789
4870
  } & ContainsAnyTermQuery) | ({
4790
4871
  type: "interval";
4791
4872
  } & IntervalQuery) | ({
4873
+ type: "geoShapeV2";
4874
+ } & GeoShapeV2Query) | ({
4792
4875
  type: "startsWith";
4793
4876
  } & StartsWithQuery);
4794
4877
  /**
@@ -5071,6 +5154,14 @@ export type SharedPropertyTypeApiName = LooselyBrandedString<"SharedPropertyType
5071
5154
  * Log Safety: SAFE
5072
5155
  */
5073
5156
  export type SharedPropertyTypeRid = LooselyBrandedString<"SharedPropertyTypeRid">;
5157
+ /**
5158
+ * The spatial relation operator for a GeoShapeV2Query. INTERSECTS matches objects that intersect the provided
5159
+ geometry, DISJOINT matches objects that do not intersect the provided geometry, WITHIN matches objects that
5160
+ lie within the provided geometry, and CONTAINS matches objects that contain the provided geometry.
5161
+ *
5162
+ * Log Safety: SAFE
5163
+ */
5164
+ export type SpatialFilterMode = "INTERSECTS" | "DISJOINT" | "WITHIN" | "CONTAINS";
5074
5165
  /**
5075
5166
  * Deprecated alias for containsAllTermsInOrderPrefixLastTerm, which is preferred because the name startsWith is misleading.
5076
5167
  Returns objects where the specified field starts with the provided value. Allows you to specify a property to