@osdk/internal.foundry.ontologiesv2 0.2.1 → 2.2.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 (70) hide show
  1. package/CHANGELOG.md +20 -5
  2. package/build/browser/public/Action.d.ts +5 -4
  3. package/build/browser/public/Action.d.ts.map +1 -1
  4. package/build/browser/public/ActionTypeV2.d.ts +4 -3
  5. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  6. package/build/browser/public/Attachment.d.ts +5 -4
  7. package/build/browser/public/Attachment.d.ts.map +1 -1
  8. package/build/browser/public/AttachmentPropertyV2.d.ts +6 -5
  9. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
  10. package/build/browser/public/LinkedObjectV2.d.ts +4 -3
  11. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
  12. package/build/browser/public/ObjectTypeV2.d.ts +7 -6
  13. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  14. package/build/browser/public/OntologyInterface.d.ts +14 -5
  15. package/build/browser/public/OntologyInterface.d.ts.map +1 -1
  16. package/build/browser/public/OntologyInterface.js +8 -0
  17. package/build/browser/public/OntologyInterface.js.map +1 -1
  18. package/build/browser/public/OntologyObjectSet.d.ts +34 -5
  19. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  20. package/build/browser/public/OntologyObjectSet.js +24 -0
  21. package/build/browser/public/OntologyObjectSet.js.map +1 -1
  22. package/build/browser/public/OntologyObjectV2.d.ts +7 -6
  23. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
  24. package/build/browser/public/OntologyV2.d.ts +5 -4
  25. package/build/browser/public/OntologyV2.d.ts.map +1 -1
  26. package/build/browser/public/Query.d.ts +3 -2
  27. package/build/browser/public/Query.d.ts.map +1 -1
  28. package/build/browser/public/QueryType.d.ts +4 -3
  29. package/build/browser/public/QueryType.d.ts.map +1 -1
  30. package/build/browser/public/TimeSeriesPropertyV2.d.ts +5 -4
  31. package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  32. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +25 -2
  33. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  34. package/build/browser/public/TimeSeriesValueBankProperty.js +15 -0
  35. package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -1
  36. package/build/esm/public/Action.d.ts +5 -4
  37. package/build/esm/public/Action.d.ts.map +1 -1
  38. package/build/esm/public/ActionTypeV2.d.ts +4 -3
  39. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  40. package/build/esm/public/Attachment.d.ts +5 -4
  41. package/build/esm/public/Attachment.d.ts.map +1 -1
  42. package/build/esm/public/AttachmentPropertyV2.d.ts +6 -5
  43. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
  44. package/build/esm/public/LinkedObjectV2.d.ts +4 -3
  45. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
  46. package/build/esm/public/ObjectTypeV2.d.ts +7 -6
  47. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  48. package/build/esm/public/OntologyInterface.d.ts +14 -5
  49. package/build/esm/public/OntologyInterface.d.ts.map +1 -1
  50. package/build/esm/public/OntologyInterface.js +8 -0
  51. package/build/esm/public/OntologyInterface.js.map +1 -1
  52. package/build/esm/public/OntologyObjectSet.d.ts +34 -5
  53. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  54. package/build/esm/public/OntologyObjectSet.js +24 -0
  55. package/build/esm/public/OntologyObjectSet.js.map +1 -1
  56. package/build/esm/public/OntologyObjectV2.d.ts +7 -6
  57. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
  58. package/build/esm/public/OntologyV2.d.ts +5 -4
  59. package/build/esm/public/OntologyV2.d.ts.map +1 -1
  60. package/build/esm/public/Query.d.ts +3 -2
  61. package/build/esm/public/Query.d.ts.map +1 -1
  62. package/build/esm/public/QueryType.d.ts +4 -3
  63. package/build/esm/public/QueryType.d.ts.map +1 -1
  64. package/build/esm/public/TimeSeriesPropertyV2.d.ts +5 -4
  65. package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  66. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +25 -2
  67. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  68. package/build/esm/public/TimeSeriesValueBankProperty.js +15 -0
  69. package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -1
  70. package/package.json +7 -8
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
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";
3
4
  /**
4
5
  * :::callout{theme=warning title=Warning}
5
6
  * This endpoint is in preview and may be modified or removed at any time.
@@ -18,7 +19,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
18
19
  * Required Scopes: [api:ontologies-read]
19
20
  * URL: /v2/ontologies/{ontology}/interfaceTypes
20
21
  */
21
- export declare function list($ctx: $Client | $ClientContext, ...args: [
22
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
22
23
  ontology: _Core.OntologyIdentifier,
23
24
  $queryParams?: {
24
25
  pageSize?: _Core.PageSize | undefined;
@@ -41,7 +42,7 @@ export declare function list($ctx: $Client | $ClientContext, ...args: [
41
42
  * Required Scopes: [api:ontologies-read]
42
43
  * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}
43
44
  */
44
- export declare function get($ctx: $Client | $ClientContext, ...args: [
45
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
45
46
  ontology: _Core.OntologyIdentifier,
46
47
  interfaceType: _Core.InterfaceTypeApiName,
47
48
  $queryParams?: {
@@ -49,6 +50,10 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [
49
50
  }
50
51
  ]): Promise<_Core.InterfaceType>;
51
52
  /**
53
+ * :::callout{theme=warning title=Warning}
54
+ * This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object
55
+ * sets.
56
+ * :::
52
57
  * :::callout{theme=warning title=Warning}
53
58
  * This endpoint is in preview and may be modified or removed at any time.
54
59
  * To use this endpoint, add `preview=true` to the request query parameters.
@@ -84,7 +89,7 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [
84
89
  * Required Scopes: [api:ontologies-read]
85
90
  * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search
86
91
  */
87
- export declare function search($ctx: $Client | $ClientContext, ...args: [
92
+ export declare function search($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
88
93
  ontology: _Core.OntologyIdentifier,
89
94
  interfaceType: _Core.InterfaceTypeApiName,
90
95
  $body: _Core.SearchObjectsForInterfaceRequest,
@@ -93,6 +98,10 @@ export declare function search($ctx: $Client | $ClientContext, ...args: [
93
98
  }
94
99
  ]): Promise<_Core.SearchObjectsResponseV2>;
95
100
  /**
101
+ * :::callout{theme=warning title=Warning}
102
+ * This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object
103
+ * sets.
104
+ * :::
96
105
  * :::callout{theme=warning title=Warning}
97
106
  * This endpoint is in preview and may be modified or removed at any time.
98
107
  * To use this endpoint, add `preview=true` to the request query parameters.
@@ -108,7 +117,7 @@ export declare function search($ctx: $Client | $ClientContext, ...args: [
108
117
  * Required Scopes: [api:ontologies-read]
109
118
  * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate
110
119
  */
111
- export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
120
+ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
112
121
  ontology: _Core.OntologyIdentifier,
113
122
  interfaceType: _Core.InterfaceTypeApiName,
114
123
  $body: _Core.AggregateObjectsRequestV2,
@@ -1 +1 @@
1
- {"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AC,0BAA0B,CAAC,CAE3C"}
@@ -58,6 +58,10 @@ export function get($ctx, ...args) {
58
58
  }
59
59
  const _search = [1, "/v2/ontologies/{0}/interfaces/{1}/search", 3];
60
60
  /**
61
+ * :::callout{theme=warning title=Warning}
62
+ * This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object
63
+ * sets.
64
+ * :::
61
65
  * :::callout{theme=warning title=Warning}
62
66
  * This endpoint is in preview and may be modified or removed at any time.
63
67
  * To use this endpoint, add `preview=true` to the request query parameters.
@@ -98,6 +102,10 @@ export function search($ctx, ...args) {
98
102
  }
99
103
  const _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
100
104
  /**
105
+ * :::callout{theme=warning title=Warning}
106
+ * This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object
107
+ * sets.
108
+ * :::
101
109
  * :::callout{theme=warning title=Warning}
102
110
  * This endpoint is in preview and may be modified or removed at any time.
103
111
  * To use this endpoint, add `preview=true` to the request query parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_search","search","_aggregate","aggregate"],"sources":["OntologyInterface.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}/interfaceTypes\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface 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 * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...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,mCAAmC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;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,uCAAuC,EAAE,CAAC,CAAC;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,OAAO,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,UAAU,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
1
+ {"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_search","search","_aggregate","aggregate"],"sources":["OntologyInterface.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}/interfaceTypes\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface 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 * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object\n * sets.\n * :::\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object\n * sets.\n * :::\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...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,mCAAmC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;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,uCAAuC,EAAE,CAAC,CAAC;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,OAAO,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,UAAU,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
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";
3
4
  /**
4
5
  * Creates a temporary `ObjectSet` from the given definition.
5
6
  *
@@ -11,7 +12,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
11
12
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
12
13
  * URL: /v2/ontologies/{ontology}/objectSets/createTemporary
13
14
  */
14
- export declare function createTemporary($ctx: $Client | $ClientContext, ...args: [
15
+ export declare function createTemporary($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
15
16
  ontology: _Core.OntologyIdentifier,
16
17
  $body: _Core.CreateTemporaryObjectSetRequestV2
17
18
  ]): Promise<_Core.CreateTemporaryObjectSetResponseV2>;
@@ -25,7 +26,7 @@ export declare function createTemporary($ctx: $Client | $ClientContext, ...args:
25
26
  * Required Scopes: []
26
27
  * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}
27
28
  */
28
- export declare function get($ctx: $Client | $ClientContext, ...args: [
29
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
29
30
  ontology: _Core.OntologyIdentifier,
30
31
  objectSetRid: _Core.ObjectSetRid
31
32
  ]): Promise<_Core.ObjectSet>;
@@ -44,7 +45,7 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [
44
45
  * Required Scopes: [api:ontologies-read]
45
46
  * URL: /v2/ontologies/{ontology}/objectSets/loadObjects
46
47
  */
47
- export declare function load($ctx: $Client | $ClientContext, ...args: [
48
+ export declare function load($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
48
49
  ontology: _Core.OntologyIdentifier,
49
50
  $body: _Core.LoadObjectSetRequestV2,
50
51
  $queryParams?: {
@@ -52,6 +53,34 @@ export declare function load($ctx: $Client | $ClientContext, ...args: [
52
53
  packageName?: _Core.SdkPackageName | undefined;
53
54
  }
54
55
  ]): Promise<_Core.LoadObjectSetResponseV2>;
56
+ /**
57
+ * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting
58
+ * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped
59
+ * to an interface, in which only the object type properties that implement the properties of any interfaces in its
60
+ * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to
61
+ * object implementation is returned in order to interpret the objects as the interfaces that they implement.
62
+ *
63
+ * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects
64
+ * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.
65
+ *
66
+ * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)
67
+ * will be prefixed with '$' instead of '\_\_' as is the case in `loadObjects`.
68
+ *
69
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
70
+ *
71
+ * @alpha
72
+ *
73
+ * Required Scopes: [api:ontologies-read]
74
+ * URL: /v2/ontologies/{ontology}/objectSets/loadBaseObjects
75
+ */
76
+ export declare function loadBaseObjects($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
77
+ ontology: _Core.OntologyIdentifier,
78
+ $body: _Core.LoadObjectSetV2BaseObjectsRequest,
79
+ $queryParams?: {
80
+ artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
81
+ packageName?: _Core.SdkPackageName | undefined;
82
+ }
83
+ ]): Promise<_Core.LoadObjectSetV2BaseObjectsResponse>;
55
84
  /**
56
85
  * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
57
86
  *
@@ -62,7 +91,7 @@ export declare function load($ctx: $Client | $ClientContext, ...args: [
62
91
  * Required Scopes: [api:ontologies-read]
63
92
  * URL: /v2/ontologies/{ontology}/objectSets/aggregate
64
93
  */
65
- export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
94
+ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
66
95
  ontology: _Core.OntologyIdentifier,
67
96
  $body: _Core.AggregateObjectSetRequestV2,
68
97
  $queryParams?: {
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAa7B;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KA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,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,iCAAiC;IAC9C,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAEnD;AAaD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,2BAA2B;IACxC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
@@ -63,6 +63,30 @@ const _load = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
63
63
  export function load($ctx, ...args) {
64
64
  return $foundryPlatformFetch($ctx, _load, ...args);
65
65
  }
66
+ const _loadBaseObjects = [1, "/v2/ontologies/{0}/objectSets/loadBaseObjects", 3];
67
+ /**
68
+ * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting
69
+ * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped
70
+ * to an interface, in which only the object type properties that implement the properties of any interfaces in its
71
+ * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to
72
+ * object implementation is returned in order to interpret the objects as the interfaces that they implement.
73
+ *
74
+ * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects
75
+ * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.
76
+ *
77
+ * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)
78
+ * will be prefixed with '$' instead of '\_\_' as is the case in `loadObjects`.
79
+ *
80
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
81
+ *
82
+ * @alpha
83
+ *
84
+ * Required Scopes: [api:ontologies-read]
85
+ * URL: /v2/ontologies/{ontology}/objectSets/loadBaseObjects
86
+ */
87
+ export function loadBaseObjects($ctx, ...args) {
88
+ return $foundryPlatformFetch($ctx, _loadBaseObjects, ...args);
89
+ }
66
90
  const _aggregate = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
67
91
  /**
68
92
  * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_aggregate","aggregate"],"sources":["OntologyObjectSet.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,KAAK,EAAE,GAAGH,IAAI,CAAC;AACtD;AACA,MAAMK,UAAU,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
1
+ {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_loadBaseObjects","loadBaseObjects","_aggregate","aggregate"],"sources":["OntologyObjectSet.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _loadBaseObjects = [1, \"/v2/ontologies/{0}/objectSets/loadBaseObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting\n * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped\n * to an interface, in which only the object type properties that implement the properties of any interfaces in its\n * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to\n * object implementation is returned in order to interpret the objects as the interfaces that they implement.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `loadObjects`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadBaseObjects\n */\nexport function loadBaseObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadBaseObjects, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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AAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,UAAU,EAAE,GAAGP,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
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";
3
4
  /**
4
5
  * Lists the objects for the given Ontology and object type.
5
6
  *
@@ -22,7 +23,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
22
23
  * Required Scopes: [api:ontologies-read]
23
24
  * URL: /v2/ontologies/{ontology}/objects/{objectType}
24
25
  */
25
- export declare function list($ctx: $Client | $ClientContext, ...args: [
26
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
26
27
  ontology: _Core.OntologyIdentifier,
27
28
  objectType: _Core.ObjectTypeApiName,
28
29
  $queryParams: {
@@ -45,7 +46,7 @@ export declare function list($ctx: $Client | $ClientContext, ...args: [
45
46
  * Required Scopes: [api:ontologies-read]
46
47
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}
47
48
  */
48
- export declare function get($ctx: $Client | $ClientContext, ...args: [
49
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
49
50
  ontology: _Core.OntologyIdentifier,
50
51
  objectType: _Core.ObjectTypeApiName,
51
52
  primaryKey: _Core.PropertyValueEscapedString,
@@ -66,7 +67,7 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [
66
67
  * Required Scopes: [api:ontologies-read]
67
68
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/count
68
69
  */
69
- export declare function count($ctx: $Client | $ClientContext, ...args: [
70
+ export declare function count($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
70
71
  ontology: _Core.OntologyIdentifier,
71
72
  objectType: _Core.ObjectTypeApiName,
72
73
  $queryParams?: {
@@ -103,7 +104,7 @@ export declare function count($ctx: $Client | $ClientContext, ...args: [
103
104
  * Required Scopes: [api:ontologies-read]
104
105
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/search
105
106
  */
106
- export declare function search($ctx: $Client | $ClientContext, ...args: [
107
+ export declare function search($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
107
108
  ontology: _Core.OntologyIdentifier,
108
109
  objectType: _Core.ObjectTypeApiName,
109
110
  $body: _Core.SearchObjectsRequestV2,
@@ -122,7 +123,7 @@ export declare function search($ctx: $Client | $ClientContext, ...args: [
122
123
  * Required Scopes: [api:ontologies-read]
123
124
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate
124
125
  */
125
- export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
126
+ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
126
127
  ontology: _Core.OntologyIdentifier,
127
128
  objectType: _Core.ObjectTypeApiName,
128
129
  $body: _Core.AggregateObjectsRequestV2,
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAsB7B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,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AAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,yBAAyB;IACtC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
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";
3
4
  /**
4
5
  * Lists the Ontologies visible to the current user.
5
6
  *
@@ -10,7 +11,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
10
11
  * Required Scopes: [api:ontologies-read]
11
12
  * URL: /v2/ontologies
12
13
  */
13
- export declare function list($ctx: $Client | $ClientContext, ...args: []): Promise<_Core.ListOntologiesV2Response>;
14
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: []): Promise<_Core.ListOntologiesV2Response>;
14
15
  /**
15
16
  * Gets a specific ontology with the given Ontology RID.
16
17
  *
@@ -21,7 +22,7 @@ export declare function list($ctx: $Client | $ClientContext, ...args: []): Promi
21
22
  * Required Scopes: [api:ontologies-read]
22
23
  * URL: /v2/ontologies/{ontology}
23
24
  */
24
- export declare function get($ctx: $Client | $ClientContext, ...args: [ontology: _Core.OntologyIdentifier]): Promise<_Core.OntologyV2>;
25
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ontology: _Core.OntologyIdentifier]): Promise<_Core.OntologyV2>;
25
26
  /**
26
27
  * Get the full Ontology metadata. This includes the objects, links, actions, queries, and interfaces.
27
28
  *
@@ -30,5 +31,5 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [ontology:
30
31
  * Required Scopes: [api:ontologies-read]
31
32
  * URL: /v2/ontologies/{ontology}/fullMetadata
32
33
  */
33
- export declare function getFullMetadata($ctx: $Client | $ClientContext, ...args: [ontology: _Core.OntologyIdentifier]): Promise<_Core.OntologyFullMetadata>;
34
+ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ontology: _Core.OntologyIdentifier]): Promise<_Core.OntologyFullMetadata>;
34
35
  //# sourceMappingURL=OntologyV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAU7B;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAEzC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAC5C,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B;AAMD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAC5C,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC"}
1
+ {"version":3,"file":"OntologyV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,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;AAU9B;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAEzC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAC5C,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B;AAMD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAC5C,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
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";
3
4
  /**
4
5
  * Executes a Query using the given parameters.
5
6
  *
@@ -13,7 +14,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
13
14
  * Required Scopes: [api:ontologies-read]
14
15
  * URL: /v2/ontologies/{ontology}/queries/{queryApiName}/execute
15
16
  */
16
- export declare function execute($ctx: $Client | $ClientContext, ...args: [
17
+ export declare function execute($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
17
18
  ontology: _Core.OntologyIdentifier,
18
19
  queryApiName: _Core.QueryApiName,
19
20
  $body: _Core.ExecuteQueryRequest,
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAkB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,YAAY,EAAE,KAAK,CAAC,YAAY;IAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB;IAChC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC"}
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,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;AAkB9B;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,YAAY,EAAE,KAAK,CAAC,YAAY;IAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB;IAChC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
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";
3
4
  /**
4
5
  * Lists the query types for the given Ontology.
5
6
  *
@@ -13,7 +14,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
13
14
  * Required Scopes: [api:ontologies-read]
14
15
  * URL: /v2/ontologies/{ontology}/queryTypes
15
16
  */
16
- export declare function list($ctx: $Client | $ClientContext, ...args: [
17
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
17
18
  ontology: _Core.OntologyIdentifier,
18
19
  $queryParams?: {
19
20
  pageSize?: _Core.PageSize | undefined;
@@ -30,7 +31,7 @@ export declare function list($ctx: $Client | $ClientContext, ...args: [
30
31
  * Required Scopes: [api:ontologies-read]
31
32
  * URL: /v2/ontologies/{ontology}/queryTypes/{queryApiName}
32
33
  */
33
- export declare function get($ctx: $Client | $ClientContext, ...args: [
34
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
34
35
  ontology: _Core.OntologyIdentifier,
35
36
  queryApiName: _Core.QueryApiName
36
37
  ]): Promise<_Core.QueryTypeV2>;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,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,KAAK,CAAC,wBAAwB,CAAC,CAEzC;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,YAAY,EAAE,KAAK,CAAC,YAAY;CACjC,GACA,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAE5B"}
1
+ {"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,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;AAgB9B;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,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,KAAK,CAAC,wBAAwB,CAAC,CAEzC;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,YAAY,EAAE,KAAK,CAAC,YAAY;CACjC,GACA,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAE5B"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
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";
3
4
  /**
4
5
  * Get the first point of a time series property.
5
6
  *
@@ -11,7 +12,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
11
12
  * Required Scopes: [api:ontologies-read]
12
13
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint
13
14
  */
14
- export declare function getFirstPoint($ctx: $Client | $ClientContext, ...args: [
15
+ export declare function getFirstPoint($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
15
16
  ontology: _Core.OntologyIdentifier,
16
17
  objectType: _Core.ObjectTypeApiName,
17
18
  primaryKey: _Core.PropertyValueEscapedString,
@@ -32,7 +33,7 @@ export declare function getFirstPoint($ctx: $Client | $ClientContext, ...args: [
32
33
  * Required Scopes: [api:ontologies-read]
33
34
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint
34
35
  */
35
- export declare function getLastPoint($ctx: $Client | $ClientContext, ...args: [
36
+ export declare function getLastPoint($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
36
37
  ontology: _Core.OntologyIdentifier,
37
38
  objectType: _Core.ObjectTypeApiName,
38
39
  primaryKey: _Core.PropertyValueEscapedString,
@@ -53,7 +54,7 @@ export declare function getLastPoint($ctx: $Client | $ClientContext, ...args: [
53
54
  * Required Scopes: [api:ontologies-read]
54
55
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints
55
56
  */
56
- export declare function streamPoints($ctx: $Client | $ClientContext, ...args: [
57
+ export declare function streamPoints($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
57
58
  ontology: _Core.OntologyIdentifier,
58
59
  objectType: _Core.ObjectTypeApiName,
59
60
  primaryKey: _Core.PropertyValueEscapedString,
@@ -1 +1 @@
1
- {"version":3,"file":"TimeSeriesPropertyV2.d.ts","sourceRoot":"","sources":["../../../src/public/TimeSeriesPropertyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAmB7B;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UA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EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,eAAe,GAAG,SAAS,CAAC,CAE5C;AAsBD;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAC/B,KAAK,EAAE,KAAK,CAAC,6BAA6B;IAC1C,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
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";
3
4
  /**
4
5
  * Get the latest value of a property backed by a timeseries. If a specific geotime series integration has both a history and a live integration, we will give precedence to the live integration.
5
6
  *
@@ -11,7 +12,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
11
12
  * Required Scopes: [api:read-data]
12
13
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{propertyName}/latestValue
13
14
  */
14
- export declare function getLatestValue($ctx: $Client | $ClientContext, ...args: [
15
+ export declare function getLatestValue($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
15
16
  ontology: _Core.OntologyIdentifier,
16
17
  objectType: _Core.ObjectTypeApiName,
17
18
  primaryKey: _Core.PropertyValueEscapedString,
@@ -21,4 +22,26 @@ export declare function getLatestValue($ctx: $Client | $ClientContext, ...args:
21
22
  packageName?: _Core.SdkPackageName | undefined;
22
23
  }
23
24
  ]): Promise<_Core.TimeseriesEntry | undefined>;
25
+ /**
26
+ * Stream all of the points of a time series property (this includes geotime series references).
27
+ *
28
+ * Third-party applications using this endpoint via OAuth2 must request the
29
+ * following operation scopes: `api:read-data`.
30
+ *
31
+ * @alpha
32
+ *
33
+ * Required Scopes: [api:read-data]
34
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamValues
35
+ */
36
+ export declare function streamValues($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
37
+ ontology: _Core.OntologyIdentifier,
38
+ objectType: _Core.ObjectTypeApiName,
39
+ primaryKey: _Core.PropertyValueEscapedString,
40
+ property: _Core.PropertyApiName,
41
+ $body: _Core.StreamTimeSeriesValuesRequest,
42
+ $queryParams?: {
43
+ artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
44
+ packageName?: _Core.SdkPackageName | undefined;
45
+ }
46
+ ]): Promise<Blob>;
24
47
  //# 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,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAmB7B;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,E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AG,SAAS,CAAC,CAE5C;AAsBD;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAC/B,KAAK,EAAE,KAAK,CAAC,6BAA6B;IAC1C,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf"}
@@ -30,4 +30,19 @@ const _getLatestValue = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/l
30
30
  export function getLatestValue($ctx, ...args) {
31
31
  return $foundryPlatformFetch($ctx, _getLatestValue, ...args);
32
32
  }
33
+ const _streamValues = [1, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamValues", 3,, "*/*"];
34
+ /**
35
+ * Stream all of the points of a time series property (this includes geotime series references).
36
+ *
37
+ * Third-party applications using this endpoint via OAuth2 must request the
38
+ * following operation scopes: `api:read-data`.
39
+ *
40
+ * @alpha
41
+ *
42
+ * Required Scopes: [api:read-data]
43
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamValues
44
+ */
45
+ export function streamValues($ctx, ...args) {
46
+ return $foundryPlatformFetch($ctx, _streamValues, ...args);
47
+ }
33
48
  //# sourceMappingURL=TimeSeriesValueBankProperty.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimeSeriesValueBankProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getLatestValue","getLatestValue","$ctx","args"],"sources":["TimeSeriesValueBankProperty.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 _getLatestValue = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue\", 2];\n/**\n * Get the latest value of a property backed by a timeseries. If a specific geotime series integration has both a history and a live integration, we will give precedence to the live integration.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data`.\n *\n * @alpha\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{propertyName}/latestValue\n */\nexport function getLatestValue($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLatestValue, ...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,+DAA+D,EAAE,CAAC,CAAC;AAC/F;AACA;AACA;AACA;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","ignoreList":[]}
1
+ {"version":3,"file":"TimeSeriesValueBankProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getLatestValue","getLatestValue","$ctx","args","_streamValues","streamValues"],"sources":["TimeSeriesValueBankProperty.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 _getLatestValue = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue\", 2];\n/**\n * Get the latest value of a property backed by a timeseries. If a specific geotime series integration has both a history and a live integration, we will give precedence to the live integration.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data`.\n *\n * @alpha\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{propertyName}/latestValue\n */\nexport function getLatestValue($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLatestValue, ...args);\n}\nconst _streamValues = [\n 1,\n \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamValues\",\n 3,\n ,\n \"*/*\",\n];\n/**\n * Stream all of the points of a time series property (this includes geotime series references).\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data`.\n *\n * @alpha\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamValues\n */\nexport function streamValues($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _streamValues, ...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,+DAA+D,EAAE,CAAC,CAAC;AAC/F;AACA;AACA;AACA;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,aAAa,GAAG,CAClB,CAAC,EACD,gEAAgE,EAChE,CAAC,GAED,KAAK,CACR;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,aAAa,EAAE,GAAGD,IAAI,CAAC;AAC9D","ignoreList":[]}