@osdk/foundry.ontologies 2.12.0 → 2.14.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 (138) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/build/browser/_components.d.ts +3657 -0
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +1394 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +17 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/index.js +15 -1
  9. package/build/browser/index.js.map +1 -1
  10. package/build/browser/public/Action.d.ts +80 -0
  11. package/build/browser/public/Action.d.ts.map +1 -0
  12. package/build/browser/public/Action.js +79 -0
  13. package/build/browser/public/Action.js.map +1 -0
  14. package/build/browser/public/ActionTypeV2.d.ts +39 -0
  15. package/build/browser/public/ActionTypeV2.d.ts.map +1 -0
  16. package/build/browser/public/ActionTypeV2.js +49 -0
  17. package/build/browser/public/ActionTypeV2.js.map +1 -0
  18. package/build/browser/public/Attachment.d.ts +53 -0
  19. package/build/browser/public/Attachment.d.ts.map +1 -0
  20. package/build/browser/public/Attachment.js +72 -0
  21. package/build/browser/public/Attachment.js.map +1 -0
  22. package/build/browser/public/AttachmentPropertyV2.d.ts +92 -0
  23. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -0
  24. package/build/browser/public/AttachmentPropertyV2.js +80 -0
  25. package/build/browser/public/AttachmentPropertyV2.js.map +1 -0
  26. package/build/browser/public/LinkedObjectV2.d.ts +67 -0
  27. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -0
  28. package/build/browser/public/LinkedObjectV2.js +60 -0
  29. package/build/browser/public/LinkedObjectV2.js.map +1 -0
  30. package/build/browser/public/MediaReferenceProperty.d.ts +68 -0
  31. package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -0
  32. package/build/browser/public/MediaReferenceProperty.js +61 -0
  33. package/build/browser/public/MediaReferenceProperty.js.map +1 -0
  34. package/build/browser/public/ObjectTypeV2.d.ts +92 -0
  35. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -0
  36. package/build/browser/public/ObjectTypeV2.js +94 -0
  37. package/build/browser/public/ObjectTypeV2.js.map +1 -0
  38. package/build/browser/public/OntologyInterface.d.ts +132 -0
  39. package/build/browser/public/OntologyInterface.d.ts.map +1 -0
  40. package/build/browser/public/OntologyInterface.js +130 -0
  41. package/build/browser/public/OntologyInterface.js.map +1 -0
  42. package/build/browser/public/OntologyObjectSet.d.ts +135 -0
  43. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -0
  44. package/build/browser/public/OntologyObjectSet.js +130 -0
  45. package/build/browser/public/OntologyObjectSet.js.map +1 -0
  46. package/build/browser/public/OntologyObjectV2.d.ts +139 -0
  47. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -0
  48. package/build/browser/public/OntologyObjectV2.js +122 -0
  49. package/build/browser/public/OntologyObjectV2.js.map +1 -0
  50. package/build/browser/public/OntologyV2.d.ts +35 -0
  51. package/build/browser/public/OntologyV2.d.ts.map +1 -0
  52. package/build/browser/public/OntologyV2.js +58 -0
  53. package/build/browser/public/OntologyV2.js.map +1 -0
  54. package/build/browser/public/Query.d.ts +26 -0
  55. package/build/browser/public/Query.d.ts.map +1 -0
  56. package/build/browser/public/Query.js +35 -0
  57. package/build/browser/public/Query.js.map +1 -0
  58. package/build/browser/public/QueryType.d.ts +39 -0
  59. package/build/browser/public/QueryType.d.ts.map +1 -0
  60. package/build/browser/public/QueryType.js +49 -0
  61. package/build/browser/public/QueryType.js.map +1 -0
  62. package/build/browser/public/TimeSeriesPropertyV2.d.ts +69 -0
  63. package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -0
  64. package/build/browser/public/TimeSeriesPropertyV2.js +63 -0
  65. package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -0
  66. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +47 -0
  67. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -0
  68. package/build/browser/public/TimeSeriesValueBankProperty.js +48 -0
  69. package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -0
  70. package/build/esm/_components.d.ts +3657 -0
  71. package/build/esm/_components.d.ts.map +1 -1
  72. package/build/esm/_errors.d.ts +1394 -0
  73. package/build/esm/_errors.d.ts.map +1 -1
  74. package/build/esm/index.d.ts +17 -2
  75. package/build/esm/index.d.ts.map +1 -1
  76. package/build/esm/index.js +15 -1
  77. package/build/esm/index.js.map +1 -1
  78. package/build/esm/public/Action.d.ts +80 -0
  79. package/build/esm/public/Action.d.ts.map +1 -0
  80. package/build/esm/public/Action.js +79 -0
  81. package/build/esm/public/Action.js.map +1 -0
  82. package/build/esm/public/ActionTypeV2.d.ts +39 -0
  83. package/build/esm/public/ActionTypeV2.d.ts.map +1 -0
  84. package/build/esm/public/ActionTypeV2.js +49 -0
  85. package/build/esm/public/ActionTypeV2.js.map +1 -0
  86. package/build/esm/public/Attachment.d.ts +53 -0
  87. package/build/esm/public/Attachment.d.ts.map +1 -0
  88. package/build/esm/public/Attachment.js +72 -0
  89. package/build/esm/public/Attachment.js.map +1 -0
  90. package/build/esm/public/AttachmentPropertyV2.d.ts +92 -0
  91. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -0
  92. package/build/esm/public/AttachmentPropertyV2.js +80 -0
  93. package/build/esm/public/AttachmentPropertyV2.js.map +1 -0
  94. package/build/esm/public/LinkedObjectV2.d.ts +67 -0
  95. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -0
  96. package/build/esm/public/LinkedObjectV2.js +60 -0
  97. package/build/esm/public/LinkedObjectV2.js.map +1 -0
  98. package/build/esm/public/MediaReferenceProperty.d.ts +68 -0
  99. package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -0
  100. package/build/esm/public/MediaReferenceProperty.js +61 -0
  101. package/build/esm/public/MediaReferenceProperty.js.map +1 -0
  102. package/build/esm/public/ObjectTypeV2.d.ts +92 -0
  103. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -0
  104. package/build/esm/public/ObjectTypeV2.js +94 -0
  105. package/build/esm/public/ObjectTypeV2.js.map +1 -0
  106. package/build/esm/public/OntologyInterface.d.ts +132 -0
  107. package/build/esm/public/OntologyInterface.d.ts.map +1 -0
  108. package/build/esm/public/OntologyInterface.js +130 -0
  109. package/build/esm/public/OntologyInterface.js.map +1 -0
  110. package/build/esm/public/OntologyObjectSet.d.ts +135 -0
  111. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -0
  112. package/build/esm/public/OntologyObjectSet.js +130 -0
  113. package/build/esm/public/OntologyObjectSet.js.map +1 -0
  114. package/build/esm/public/OntologyObjectV2.d.ts +139 -0
  115. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -0
  116. package/build/esm/public/OntologyObjectV2.js +122 -0
  117. package/build/esm/public/OntologyObjectV2.js.map +1 -0
  118. package/build/esm/public/OntologyV2.d.ts +35 -0
  119. package/build/esm/public/OntologyV2.d.ts.map +1 -0
  120. package/build/esm/public/OntologyV2.js +58 -0
  121. package/build/esm/public/OntologyV2.js.map +1 -0
  122. package/build/esm/public/Query.d.ts +26 -0
  123. package/build/esm/public/Query.d.ts.map +1 -0
  124. package/build/esm/public/Query.js +35 -0
  125. package/build/esm/public/Query.js.map +1 -0
  126. package/build/esm/public/QueryType.d.ts +39 -0
  127. package/build/esm/public/QueryType.d.ts.map +1 -0
  128. package/build/esm/public/QueryType.js +49 -0
  129. package/build/esm/public/QueryType.js.map +1 -0
  130. package/build/esm/public/TimeSeriesPropertyV2.d.ts +69 -0
  131. package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -0
  132. package/build/esm/public/TimeSeriesPropertyV2.js +63 -0
  133. package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -0
  134. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +47 -0
  135. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -0
  136. package/build/esm/public/TimeSeriesValueBankProperty.js +48 -0
  137. package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -0
  138. package/package.json +5 -3
@@ -0,0 +1,39 @@
1
+ import type * as _Core from "@osdk/foundry.core";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
4
+ import type * as _Ontologies from "../_components.js";
5
+ /**
6
+ * Lists the query types for the given Ontology.
7
+ *
8
+ * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
9
+ * results available, at least one result will be present in the response.
10
+ *
11
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
12
+ *
13
+ * @public
14
+ *
15
+ * Required Scopes: [api:ontologies-read]
16
+ * URL: /v2/ontologies/{ontology}/queryTypes
17
+ */
18
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
19
+ ontology: _Ontologies.OntologyIdentifier,
20
+ $queryParams?: {
21
+ pageSize?: _Core.PageSize | undefined;
22
+ pageToken?: _Core.PageToken | undefined;
23
+ }
24
+ ]): Promise<_Ontologies.ListQueryTypesResponseV2>;
25
+ /**
26
+ * Gets a specific query type with the given API name.
27
+ *
28
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
29
+ *
30
+ * @public
31
+ *
32
+ * Required Scopes: [api:ontologies-read]
33
+ * URL: /v2/ontologies/{ontology}/queryTypes/{queryApiName}
34
+ */
35
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
36
+ ontology: _Ontologies.OntologyIdentifier,
37
+ queryApiName: _Ontologies.QueryApiName
38
+ ]): Promise<_Ontologies.QueryTypeV2>;
39
+ //# sourceMappingURL=QueryType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.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;AActD;;;;;;;;;;;;GAYG;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,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,wBAAwB,CAAC,CAE/C;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,YAAY,EAAE,WAAW,CAAC,YAAY;CACvC,GACA,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,CAElC"}
@@ -0,0 +1,49 @@
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _list = [0, "/v2/ontologies/{0}/queryTypes", 2];
19
+ /**
20
+ * Lists the query types for the given Ontology.
21
+ *
22
+ * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
23
+ * results available, at least one result will be present in the response.
24
+ *
25
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
26
+ *
27
+ * @public
28
+ *
29
+ * Required Scopes: [api:ontologies-read]
30
+ * URL: /v2/ontologies/{ontology}/queryTypes
31
+ */
32
+ export function list($ctx, ...args) {
33
+ return $foundryPlatformFetch($ctx, _list, ...args);
34
+ }
35
+ const _get = [0, "/v2/ontologies/{0}/queryTypes/{1}"];
36
+ /**
37
+ * Gets a specific query type with the given API name.
38
+ *
39
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
40
+ *
41
+ * @public
42
+ *
43
+ * Required Scopes: [api:ontologies-read]
44
+ * URL: /v2/ontologies/{ontology}/queryTypes/{queryApiName}
45
+ */
46
+ export function get($ctx, ...args) {
47
+ return $foundryPlatformFetch($ctx, _get, ...args);
48
+ }
49
+ //# sourceMappingURL=QueryType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["QueryType.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}/queryTypes\", 2];\n/**\n * Lists the query 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 * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/queryTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/queryTypes/{1}\"];\n/**\n * Gets a specific query 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 * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/queryTypes/{queryApiName}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...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,+BAA+B,EAAE,CAAC,CAAC;AACrD;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,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","ignoreList":[]}
@@ -0,0 +1,69 @@
1
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
+ import type * as _Ontologies from "../_components.js";
4
+ /**
5
+ * Get the first point of a time series property.
6
+ *
7
+ * Third-party applications using this endpoint via OAuth2 must request the
8
+ * following operation scopes: `api:ontologies-read`.
9
+ *
10
+ * @public
11
+ *
12
+ * Required Scopes: [api:ontologies-read]
13
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint
14
+ */
15
+ export declare function getFirstPoint($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
16
+ ontology: _Ontologies.OntologyIdentifier,
17
+ objectType: _Ontologies.ObjectTypeApiName,
18
+ primaryKey: _Ontologies.PropertyValueEscapedString,
19
+ property: _Ontologies.PropertyApiName,
20
+ $queryParams?: {
21
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
22
+ packageName?: _Ontologies.SdkPackageName | undefined;
23
+ }
24
+ ]): Promise<_Ontologies.TimeSeriesPoint | undefined>;
25
+ /**
26
+ * Get the last point of a time series property.
27
+ *
28
+ * Third-party applications using this endpoint via OAuth2 must request the
29
+ * following operation scopes: `api:ontologies-read`.
30
+ *
31
+ * @public
32
+ *
33
+ * Required Scopes: [api:ontologies-read]
34
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint
35
+ */
36
+ export declare function getLastPoint($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
37
+ ontology: _Ontologies.OntologyIdentifier,
38
+ objectType: _Ontologies.ObjectTypeApiName,
39
+ primaryKey: _Ontologies.PropertyValueEscapedString,
40
+ property: _Ontologies.PropertyApiName,
41
+ $queryParams?: {
42
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
43
+ packageName?: _Ontologies.SdkPackageName | undefined;
44
+ }
45
+ ]): Promise<_Ontologies.TimeSeriesPoint | undefined>;
46
+ /**
47
+ * Stream all of the points of a time series property.
48
+ *
49
+ * Third-party applications using this endpoint via OAuth2 must request the
50
+ * following operation scopes: `api:ontologies-read`.
51
+ *
52
+ * @public
53
+ *
54
+ * Required Scopes: [api:ontologies-read]
55
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints
56
+ */
57
+ export declare function streamPoints($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
58
+ ontology: _Ontologies.OntologyIdentifier,
59
+ objectType: _Ontologies.ObjectTypeApiName,
60
+ primaryKey: _Ontologies.PropertyValueEscapedString,
61
+ property: _Ontologies.PropertyApiName,
62
+ $body: _Ontologies.StreamTimeSeriesPointsRequest,
63
+ $queryParams?: {
64
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
65
+ packageName?: _Ontologies.SdkPackageName | undefined;
66
+ format?: _Ontologies.StreamingOutputFormat | undefined;
67
+ }
68
+ ]): Promise<Response>;
69
+ //# sourceMappingURL=TimeSeriesPropertyV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeSeriesPropertyV2.d.ts","sourceRoot":"","sources":["../../../src/public/TimeSeriesPropertyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAiBtD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IAErC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;KACtD;CACF,GACA,OAAO,CAAC,WAAW,CAAC,eAAe,GAAG,SAAS,CAAC,CAElD;AAeD;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IAErC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;KACtD;CACF,GACA,OAAO,CAAC,WAAW,CAAC,eAAe,GAAG,SAAS,CAAC,CAElD;AAuBD;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IACrC,KAAK,EAAE,WAAW,CAAC,6BAA6B;IAChD,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;QACrD,MAAM,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;KACxD;CACF,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -0,0 +1,63 @@
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _getFirstPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint", 2];
19
+ /**
20
+ * Get the first point of a time series property.
21
+ *
22
+ * Third-party applications using this endpoint via OAuth2 must request the
23
+ * following operation scopes: `api:ontologies-read`.
24
+ *
25
+ * @public
26
+ *
27
+ * Required Scopes: [api:ontologies-read]
28
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint
29
+ */
30
+ export function getFirstPoint($ctx, ...args) {
31
+ return $foundryPlatformFetch($ctx, _getFirstPoint, ...args);
32
+ }
33
+ const _getLastPoint = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/lastPoint", 2];
34
+ /**
35
+ * Get the last point of a time series property.
36
+ *
37
+ * Third-party applications using this endpoint via OAuth2 must request the
38
+ * following operation scopes: `api:ontologies-read`.
39
+ *
40
+ * @public
41
+ *
42
+ * Required Scopes: [api:ontologies-read]
43
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint
44
+ */
45
+ export function getLastPoint($ctx, ...args) {
46
+ return $foundryPlatformFetch($ctx, _getLastPoint, ...args);
47
+ }
48
+ const _streamPoints = [1, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamPoints", 3,, "*/*"];
49
+ /**
50
+ * Stream all of the points of a time series property.
51
+ *
52
+ * Third-party applications using this endpoint via OAuth2 must request the
53
+ * following operation scopes: `api:ontologies-read`.
54
+ *
55
+ * @public
56
+ *
57
+ * Required Scopes: [api:ontologies-read]
58
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints
59
+ */
60
+ export function streamPoints($ctx, ...args) {
61
+ return $foundryPlatformFetch($ctx, _streamPoints, ...args);
62
+ }
63
+ //# sourceMappingURL=TimeSeriesPropertyV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeSeriesPropertyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getFirstPoint","getFirstPoint","$ctx","args","_getLastPoint","getLastPoint","_streamPoints","streamPoints"],"sources":["TimeSeriesPropertyV2.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 _getFirstPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/firstPoint\", 2];\n/**\n * Get the first point of a time series property.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint\n */\nexport function getFirstPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFirstPoint, ...args);\n}\nconst _getLastPoint = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/lastPoint\", 2];\n/**\n * Get the last point of a time series property.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint\n */\nexport function getLastPoint($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLastPoint, ...args);\n}\nconst _streamPoints = [\n 1,\n \"/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/streamPoints\",\n 3,\n ,\n \"*/*\",\n];\n/**\n * Stream all of the points of a time series property.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints\n */\nexport function streamPoints($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _streamPoints, ...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,cAAc,GAAG,CAAC,CAAC,EAAE,8DAA8D,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,6DAA6D,EAAE,CAAC,CAAC;AAC3F;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;AACA,MAAMG,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,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,aAAa,EAAE,GAAGH,IAAI,CAAC;AAC9D","ignoreList":[]}
@@ -0,0 +1,47 @@
1
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
+ import type * as _Ontologies from "../_components.js";
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.
6
+ *
7
+ * Third-party applications using this endpoint via OAuth2 must request the
8
+ * following operation scopes: `api:ontologies-read`.
9
+ *
10
+ * @beta
11
+ *
12
+ * Required Scopes: [api:ontologies-read]
13
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{propertyName}/latestValue
14
+ */
15
+ export declare function getLatestValue($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
16
+ ontology: _Ontologies.OntologyIdentifier,
17
+ objectType: _Ontologies.ObjectTypeApiName,
18
+ primaryKey: _Ontologies.PropertyValueEscapedString,
19
+ propertyName: _Ontologies.PropertyApiName,
20
+ $queryParams?: {
21
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
22
+ packageName?: _Ontologies.SdkPackageName | undefined;
23
+ }
24
+ ]): Promise<_Ontologies.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:ontologies-read`.
30
+ *
31
+ * @beta
32
+ *
33
+ * Required Scopes: [api:ontologies-read]
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: _Ontologies.OntologyIdentifier,
38
+ objectType: _Ontologies.ObjectTypeApiName,
39
+ primaryKey: _Ontologies.PropertyValueEscapedString,
40
+ property: _Ontologies.PropertyApiName,
41
+ $body: _Ontologies.StreamTimeSeriesValuesRequest,
42
+ $queryParams?: {
43
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
44
+ packageName?: _Ontologies.SdkPackageName | undefined;
45
+ }
46
+ ]): Promise<Response>;
47
+ //# sourceMappingURL=TimeSeriesValueBankProperty.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeSeriesValueBankProperty.d.ts","sourceRoot":"","sources":["../../../src/public/TimeSeriesValueBankProperty.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAiBtD;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,YAAY,EAAE,WAAW,CAAC,eAAe;IAEzC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;KACtD;CACF,GACA,OAAO,CAAC,WAAW,CAAC,eAAe,GAAG,SAAS,CAAC,CAElD;AAsBD;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IACrC,KAAK,EAAE,WAAW,CAAC,6BAA6B;IAChD,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;KACtD;CACF,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _getLatestValue = [0, "/v2/ontologies/{0}/objects/{1}/{2}/timeseries/{3}/latestValue", 2];
19
+ /**
20
+ * 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.
21
+ *
22
+ * Third-party applications using this endpoint via OAuth2 must request the
23
+ * following operation scopes: `api:ontologies-read`.
24
+ *
25
+ * @beta
26
+ *
27
+ * Required Scopes: [api:ontologies-read]
28
+ * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{propertyName}/latestValue
29
+ */
30
+ export function getLatestValue($ctx, ...args) {
31
+ return $foundryPlatformFetch($ctx, _getLatestValue, ...args);
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:ontologies-read`.
39
+ *
40
+ * @beta
41
+ *
42
+ * Required Scopes: [api:ontologies-read]
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
+ }
48
+ //# sourceMappingURL=TimeSeriesValueBankProperty.js.map
@@ -0,0 +1 @@
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:ontologies-read`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\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:ontologies-read`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\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":[]}