@osdk/internal.foundry.ontologiesv2 0.2.0-beta.8 → 0.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.
- package/CHANGELOG.md +60 -0
- package/build/browser/_components.d.ts +4 -0
- package/build/browser/_components.d.ts.map +1 -0
- package/build/browser/_components.js +17 -0
- package/build/browser/_components.js.map +1 -0
- package/build/browser/_errors.d.ts +4 -0
- package/build/browser/_errors.d.ts.map +1 -0
- package/build/browser/_errors.js +17 -0
- package/build/browser/_errors.js.map +1 -0
- package/build/browser/index.d.ts +17 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +29 -15
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Action.d.ts +79 -0
- package/build/browser/public/Action.d.ts.map +1 -0
- package/build/browser/public/Action.js +78 -3
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionTypeV2.d.ts +37 -0
- package/build/browser/public/ActionTypeV2.d.ts.map +1 -0
- package/build/browser/public/ActionTypeV2.js +48 -3
- package/build/browser/public/ActionTypeV2.js.map +1 -1
- package/build/browser/public/Attachment.d.ts +51 -0
- package/build/browser/public/Attachment.d.ts.map +1 -0
- package/build/browser/public/Attachment.js +71 -3
- package/build/browser/public/Attachment.js.map +1 -1
- package/build/browser/public/AttachmentPropertyV2.d.ts +91 -0
- package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -0
- package/build/browser/public/AttachmentPropertyV2.js +79 -3
- package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
- package/build/browser/public/LinkedObjectV2.d.ts +65 -0
- package/build/browser/public/LinkedObjectV2.d.ts.map +1 -0
- package/build/browser/public/LinkedObjectV2.js +59 -3
- package/build/browser/public/LinkedObjectV2.js.map +1 -1
- package/build/browser/public/ObjectTypeV2.d.ts +90 -0
- package/build/browser/public/ObjectTypeV2.d.ts.map +1 -0
- package/build/browser/public/ObjectTypeV2.js +93 -3
- package/build/browser/public/ObjectTypeV2.js.map +1 -1
- package/build/browser/public/OntologyInterface.d.ts +119 -0
- package/build/browser/public/OntologyInterface.d.ts.map +1 -0
- package/build/browser/public/OntologyInterface.js +118 -3
- package/build/browser/public/OntologyInterface.js.map +1 -1
- package/build/browser/public/OntologyObjectSet.d.ts +73 -0
- package/build/browser/public/OntologyObjectSet.d.ts.map +1 -0
- package/build/browser/public/OntologyObjectSet.js +79 -3
- package/build/browser/public/OntologyObjectSet.js.map +1 -1
- package/build/browser/public/OntologyObjectV2.d.ts +134 -0
- package/build/browser/public/OntologyObjectV2.d.ts.map +1 -0
- package/build/browser/public/OntologyObjectV2.js +118 -3
- package/build/browser/public/OntologyObjectV2.js.map +1 -1
- package/build/browser/public/OntologyV2.d.ts +34 -0
- package/build/browser/public/OntologyV2.d.ts.map +1 -0
- package/build/browser/public/OntologyV2.js +57 -3
- package/build/browser/public/OntologyV2.js.map +1 -1
- package/build/browser/public/Query.d.ts +25 -0
- package/build/browser/public/Query.d.ts.map +1 -0
- package/build/browser/public/Query.js +34 -3
- package/build/browser/public/Query.js.map +1 -1
- package/build/browser/public/QueryType.d.ts +37 -0
- package/build/browser/public/QueryType.d.ts.map +1 -0
- package/build/browser/public/QueryType.js +48 -3
- package/build/browser/public/QueryType.js.map +1 -1
- package/build/browser/public/TimeSeriesPropertyV2.d.ts +67 -0
- package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -0
- package/build/browser/public/TimeSeriesPropertyV2.js +62 -3
- package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -1
- package/build/browser/public/TimeSeriesValueBankProperty.d.ts +24 -0
- package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -0
- package/build/browser/public/TimeSeriesValueBankProperty.js +33 -0
- package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -0
- package/build/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +29 -15
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Action.d.ts +22 -22
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +78 -3
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionTypeV2.d.ts +10 -7
- package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
- package/build/esm/public/ActionTypeV2.js +48 -3
- package/build/esm/public/ActionTypeV2.js.map +1 -1
- package/build/esm/public/Attachment.d.ts +7 -7
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +71 -3
- package/build/esm/public/Attachment.js.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.d.ts +33 -33
- package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.js +79 -3
- package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
- package/build/esm/public/LinkedObjectV2.d.ts +23 -23
- package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/esm/public/LinkedObjectV2.js +59 -3
- package/build/esm/public/LinkedObjectV2.js.map +1 -1
- package/build/esm/public/ObjectTypeV2.d.ts +26 -23
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/ObjectTypeV2.js +93 -3
- package/build/esm/public/ObjectTypeV2.js.map +1 -1
- package/build/esm/public/OntologyInterface.d.ts +24 -24
- package/build/esm/public/OntologyInterface.d.ts.map +1 -1
- package/build/esm/public/OntologyInterface.js +118 -3
- package/build/esm/public/OntologyInterface.js.map +1 -1
- package/build/esm/public/OntologyObjectSet.d.ts +21 -18
- package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.js +79 -3
- package/build/esm/public/OntologyObjectSet.js.map +1 -1
- package/build/esm/public/OntologyObjectV2.d.ts +39 -39
- package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectV2.js +118 -3
- package/build/esm/public/OntologyObjectV2.js.map +1 -1
- package/build/esm/public/OntologyV2.d.ts +4 -4
- package/build/esm/public/OntologyV2.d.ts.map +1 -1
- package/build/esm/public/OntologyV2.js +57 -3
- package/build/esm/public/OntologyV2.js.map +1 -1
- package/build/esm/public/Query.d.ts +8 -8
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +34 -3
- package/build/esm/public/Query.js.map +1 -1
- package/build/esm/public/QueryType.d.ts +10 -7
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/QueryType.js +48 -3
- package/build/esm/public/QueryType.js.map +1 -1
- package/build/esm/public/TimeSeriesPropertyV2.d.ts +22 -22
- package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
- package/build/esm/public/TimeSeriesPropertyV2.js +62 -3
- package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -1
- package/build/esm/public/TimeSeriesValueBankProperty.d.ts +24 -0
- package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -0
- package/build/esm/public/TimeSeriesValueBankProperty.js +33 -0
- package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -0
- package/package.json +8 -9
- package/build/browser/chunk-35VM6XLH.js +0 -26
- package/build/browser/chunk-35VM6XLH.js.map +0 -1
- package/build/browser/chunk-3H3SHEFA.js +0 -31
- package/build/browser/chunk-3H3SHEFA.js.map +0 -1
- package/build/browser/chunk-4TOWICL3.js +0 -21
- package/build/browser/chunk-4TOWICL3.js.map +0 -1
- package/build/browser/chunk-A2ZEBCGI.js +0 -26
- package/build/browser/chunk-A2ZEBCGI.js.map +0 -1
- package/build/browser/chunk-CTA4DXZF.js +0 -31
- package/build/browser/chunk-CTA4DXZF.js.map +0 -1
- package/build/browser/chunk-EFVOGNPX.js +0 -31
- package/build/browser/chunk-EFVOGNPX.js.map +0 -1
- package/build/browser/chunk-GWYI4RKT.js +0 -21
- package/build/browser/chunk-GWYI4RKT.js.map +0 -1
- package/build/browser/chunk-KQNF55S5.js +0 -26
- package/build/browser/chunk-KQNF55S5.js.map +0 -1
- package/build/browser/chunk-OBKC7XBM.js +0 -31
- package/build/browser/chunk-OBKC7XBM.js.map +0 -1
- package/build/browser/chunk-PZ5AY32C.js +0 -9
- package/build/browser/chunk-PZ5AY32C.js.map +0 -1
- package/build/browser/chunk-U76D6BOW.js +0 -36
- package/build/browser/chunk-U76D6BOW.js.map +0 -1
- package/build/browser/chunk-UFJTKRQC.js +0 -16
- package/build/browser/chunk-UFJTKRQC.js.map +0 -1
- package/build/browser/chunk-VCCTOHYG.js +0 -21
- package/build/browser/chunk-VCCTOHYG.js.map +0 -1
- package/build/browser/chunk-ZNHKEV4X.js +0 -36
- package/build/browser/chunk-ZNHKEV4X.js.map +0 -1
- package/build/esm/chunk-35VM6XLH.js +0 -26
- package/build/esm/chunk-35VM6XLH.js.map +0 -1
- package/build/esm/chunk-3H3SHEFA.js +0 -31
- package/build/esm/chunk-3H3SHEFA.js.map +0 -1
- package/build/esm/chunk-4TOWICL3.js +0 -21
- package/build/esm/chunk-4TOWICL3.js.map +0 -1
- package/build/esm/chunk-A2ZEBCGI.js +0 -26
- package/build/esm/chunk-A2ZEBCGI.js.map +0 -1
- package/build/esm/chunk-CTA4DXZF.js +0 -31
- package/build/esm/chunk-CTA4DXZF.js.map +0 -1
- package/build/esm/chunk-EFVOGNPX.js +0 -31
- package/build/esm/chunk-EFVOGNPX.js.map +0 -1
- package/build/esm/chunk-GWYI4RKT.js +0 -21
- package/build/esm/chunk-GWYI4RKT.js.map +0 -1
- package/build/esm/chunk-KQNF55S5.js +0 -26
- package/build/esm/chunk-KQNF55S5.js.map +0 -1
- package/build/esm/chunk-OBKC7XBM.js +0 -31
- package/build/esm/chunk-OBKC7XBM.js.map +0 -1
- package/build/esm/chunk-PZ5AY32C.js +0 -9
- package/build/esm/chunk-PZ5AY32C.js.map +0 -1
- package/build/esm/chunk-U76D6BOW.js +0 -36
- package/build/esm/chunk-U76D6BOW.js.map +0 -1
- package/build/esm/chunk-UFJTKRQC.js +0 -16
- package/build/esm/chunk-UFJTKRQC.js.map +0 -1
- package/build/esm/chunk-VCCTOHYG.js +0 -21
- package/build/esm/chunk-VCCTOHYG.js.map +0 -1
- package/build/esm/chunk-ZNHKEV4X.js +0 -36
- package/build/esm/chunk-ZNHKEV4X.js.map +0 -1
|
@@ -1,4 +1,119 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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}/objects/{1}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the objects for the given Ontology and object type.
|
|
21
|
+
*
|
|
22
|
+
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
23
|
+
* repeated objects in the response pages.
|
|
24
|
+
*
|
|
25
|
+
* 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
|
|
26
|
+
* 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.
|
|
27
|
+
*
|
|
28
|
+
* Each page may be smaller or larger than the requested page size. However, it
|
|
29
|
+
* is guaranteed that if there are more results available, at least one result will be present
|
|
30
|
+
* in the response.
|
|
31
|
+
*
|
|
32
|
+
* Note that null value properties will not be returned.
|
|
33
|
+
*
|
|
34
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
35
|
+
*
|
|
36
|
+
* @public
|
|
37
|
+
*
|
|
38
|
+
* Required Scopes: [api:ontologies-read]
|
|
39
|
+
* URL: /v2/ontologies/{ontology}/objects/{objectType}
|
|
40
|
+
*/
|
|
41
|
+
export function list($ctx, ...args) {
|
|
42
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
43
|
+
}
|
|
44
|
+
const _get = [0, "/v2/ontologies/{0}/objects/{1}/{2}", 2];
|
|
45
|
+
/**
|
|
46
|
+
* Gets a specific object with the given primary key.
|
|
47
|
+
*
|
|
48
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
49
|
+
*
|
|
50
|
+
* @public
|
|
51
|
+
*
|
|
52
|
+
* Required Scopes: [api:ontologies-read]
|
|
53
|
+
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}
|
|
54
|
+
*/
|
|
55
|
+
export function get($ctx, ...args) {
|
|
56
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
57
|
+
}
|
|
58
|
+
const _count = [1, "/v2/ontologies/{0}/objects/{1}/count", 2];
|
|
59
|
+
/**
|
|
60
|
+
* Returns a count of the objects of the given object type.
|
|
61
|
+
*
|
|
62
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
63
|
+
*
|
|
64
|
+
* @alpha
|
|
65
|
+
*
|
|
66
|
+
* Required Scopes: [api:ontologies-read]
|
|
67
|
+
* URL: /v2/ontologies/{ontology}/objects/{objectType}/count
|
|
68
|
+
*/
|
|
69
|
+
export function count($ctx, ...args) {
|
|
70
|
+
return $foundryPlatformFetch($ctx, _count, ...args);
|
|
71
|
+
}
|
|
72
|
+
const _search = [1, "/v2/ontologies/{0}/objects/{1}/search", 3];
|
|
73
|
+
/**
|
|
74
|
+
* Search for objects in the specified ontology and object type. The request body is used
|
|
75
|
+
* to filter objects based on the specified query. The supported queries are:
|
|
76
|
+
*
|
|
77
|
+
* | Query type | Description | Supported Types |
|
|
78
|
+
* |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|
|
|
79
|
+
* | lt | The provided property is less than the provided value. | number, string, date, timestamp |
|
|
80
|
+
* | gt | The provided property is greater than the provided value. | number, string, date, timestamp |
|
|
81
|
+
* | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |
|
|
82
|
+
* | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |
|
|
83
|
+
* | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |
|
|
84
|
+
* | isNull | The provided property is (or is not) null. | all |
|
|
85
|
+
* | contains | The provided property contains the provided value. | array |
|
|
86
|
+
* | not | The sub-query does not match. | N/A (applied on a query) |
|
|
87
|
+
* | and | All the sub-queries match. | N/A (applied on queries) |
|
|
88
|
+
* | or | At least one of the sub-queries match. | N/A (applied on queries) |
|
|
89
|
+
* | startsWith | The provided property starts with the provided value. | string |
|
|
90
|
+
* | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |
|
|
91
|
+
* | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |
|
|
92
|
+
* | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
|
|
93
|
+
* | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |
|
|
94
|
+
*
|
|
95
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*
|
|
99
|
+
* Required Scopes: [api:ontologies-read]
|
|
100
|
+
* URL: /v2/ontologies/{ontology}/objects/{objectType}/search
|
|
101
|
+
*/
|
|
102
|
+
export function search($ctx, ...args) {
|
|
103
|
+
return $foundryPlatformFetch($ctx, _search, ...args);
|
|
104
|
+
}
|
|
105
|
+
const _aggregate = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
|
|
106
|
+
/**
|
|
107
|
+
* Perform functions on object fields in the specified ontology and object type.
|
|
108
|
+
*
|
|
109
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*
|
|
113
|
+
* Required Scopes: [api:ontologies-read]
|
|
114
|
+
* URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate
|
|
115
|
+
*/
|
|
116
|
+
export function aggregate($ctx, ...args) {
|
|
117
|
+
return $foundryPlatformFetch($ctx, _aggregate, ...args);
|
|
118
|
+
}
|
|
4
119
|
//# sourceMappingURL=OntologyObjectV2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"OntologyObjectV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_count","count","_search","search","_aggregate","aggregate"],"sources":["OntologyObjectV2.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}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\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 * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\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}/objects/{objectType}\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\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}/objects/{objectType}/{primaryKey}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _count = [1, \"/v2/ontologies/{0}/objects/{1}/count\", 2];\n/**\n * Returns a count of the objects of the given object type.\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}/objects/{objectType}/count\n */\nexport function count($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _count, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/objects/{1}/search\", 3];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\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 * 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}/objects/{objectType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objects/{1}/aggregate\", 3];\n/**\n * Perform functions on object fields in the specified ontology and object type.\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}/objects/{objectType}/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,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;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,oCAAoC,EAAE,CAAC,CAAC;AACzD;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,MAAM,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,KAAKA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,MAAM,EAAE,GAAGH,IAAI,CAAC;AACvD;AACA,MAAMK,OAAO,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AAC/D;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,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,OAAO,EAAE,GAAGL,IAAI,CAAC;AACxD;AACA,MAAMO,UAAU,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACrE;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":[]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* Lists the Ontologies visible to the current user.
|
|
5
|
+
*
|
|
6
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:ontologies-read]
|
|
11
|
+
* URL: /v2/ontologies
|
|
12
|
+
*/
|
|
13
|
+
export declare function list($ctx: $Client | $ClientContext, ...args: []): Promise<_Core.ListOntologiesV2Response>;
|
|
14
|
+
/**
|
|
15
|
+
* Gets a specific ontology with the given Ontology RID.
|
|
16
|
+
*
|
|
17
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
18
|
+
*
|
|
19
|
+
* @public
|
|
20
|
+
*
|
|
21
|
+
* Required Scopes: [api:ontologies-read]
|
|
22
|
+
* URL: /v2/ontologies/{ontology}
|
|
23
|
+
*/
|
|
24
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [ontology: _Core.OntologyIdentifier]): Promise<_Core.OntologyV2>;
|
|
25
|
+
/**
|
|
26
|
+
* Get the full Ontology metadata. This includes the objects, links, actions, queries, and interfaces.
|
|
27
|
+
*
|
|
28
|
+
* @alpha
|
|
29
|
+
*
|
|
30
|
+
* Required Scopes: [api:ontologies-read]
|
|
31
|
+
* URL: /v2/ontologies/{ontology}/fullMetadata
|
|
32
|
+
*/
|
|
33
|
+
export declare function getFullMetadata($ctx: $Client | $ClientContext, ...args: [ontology: _Core.OntologyIdentifier]): Promise<_Core.OntologyFullMetadata>;
|
|
34
|
+
//# sourceMappingURL=OntologyV2.d.ts.map
|
|
@@ -0,0 +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,4 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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"];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the Ontologies visible to the current user.
|
|
21
|
+
*
|
|
22
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:ontologies-read]
|
|
27
|
+
* URL: /v2/ontologies
|
|
28
|
+
*/
|
|
29
|
+
export function list($ctx, ...args) {
|
|
30
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
31
|
+
}
|
|
32
|
+
const _get = [0, "/v2/ontologies/{0}"];
|
|
33
|
+
/**
|
|
34
|
+
* Gets a specific ontology with the given Ontology RID.
|
|
35
|
+
*
|
|
36
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
37
|
+
*
|
|
38
|
+
* @public
|
|
39
|
+
*
|
|
40
|
+
* Required Scopes: [api:ontologies-read]
|
|
41
|
+
* URL: /v2/ontologies/{ontology}
|
|
42
|
+
*/
|
|
43
|
+
export function get($ctx, ...args) {
|
|
44
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
45
|
+
}
|
|
46
|
+
const _getFullMetadata = [0, "/v2/ontologies/{0}/fullMetadata"];
|
|
47
|
+
/**
|
|
48
|
+
* Get the full Ontology metadata. This includes the objects, links, actions, queries, and interfaces.
|
|
49
|
+
*
|
|
50
|
+
* @alpha
|
|
51
|
+
*
|
|
52
|
+
* Required Scopes: [api:ontologies-read]
|
|
53
|
+
* URL: /v2/ontologies/{ontology}/fullMetadata
|
|
54
|
+
*/
|
|
55
|
+
export function getFullMetadata($ctx, ...args) {
|
|
56
|
+
return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);
|
|
57
|
+
}
|
|
4
58
|
//# sourceMappingURL=OntologyV2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"OntologyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata"],"sources":["OntologyV2.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\"];\n/**\n * Lists the Ontologies visible to the current user.\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\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}\"];\n/**\n * Gets a specific ontology with the given Ontology RID.\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}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getFullMetadata = [0, \"/v2/ontologies/{0}/fullMetadata\"];\n/**\n * Get the full Ontology metadata. This includes the objects, links, actions, queries, and interfaces.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/fullMetadata\n */\nexport function getFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFullMetadata, ...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,gBAAgB,CAAC;AACnC;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,oBAAoB,CAAC;AACtC;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,gBAAgB,GAAG,CAAC,CAAC,EAAE,iCAAiC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,gBAAgB,EAAE,GAAGH,IAAI,CAAC;AACjE","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* Executes a Query using the given parameters.
|
|
5
|
+
*
|
|
6
|
+
* Optional parameters do not need to be supplied.
|
|
7
|
+
*
|
|
8
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
9
|
+
* following operation scopes: `api:ontologies-read`.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* Required Scopes: [api:ontologies-read]
|
|
14
|
+
* URL: /v2/ontologies/{ontology}/queries/{queryApiName}/execute
|
|
15
|
+
*/
|
|
16
|
+
export declare function execute($ctx: $Client | $ClientContext, ...args: [
|
|
17
|
+
ontology: _Core.OntologyIdentifier,
|
|
18
|
+
queryApiName: _Core.QueryApiName,
|
|
19
|
+
$body: _Core.ExecuteQueryRequest,
|
|
20
|
+
$queryParams?: {
|
|
21
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
22
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
23
|
+
}
|
|
24
|
+
]): Promise<_Core.ExecuteQueryResponse>;
|
|
25
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +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,4 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 _execute = [1, "/v2/ontologies/{0}/queries/{1}/execute", 3];
|
|
19
|
+
/**
|
|
20
|
+
* Executes a Query using the given parameters.
|
|
21
|
+
*
|
|
22
|
+
* Optional parameters do not need to be supplied.
|
|
23
|
+
*
|
|
24
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
25
|
+
* following operation scopes: `api:ontologies-read`.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
*
|
|
29
|
+
* Required Scopes: [api:ontologies-read]
|
|
30
|
+
* URL: /v2/ontologies/{ontology}/queries/{queryApiName}/execute
|
|
31
|
+
*/
|
|
32
|
+
export function execute($ctx, ...args) {
|
|
33
|
+
return $foundryPlatformFetch($ctx, _execute, ...args);
|
|
34
|
+
}
|
|
4
35
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Query.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_execute","execute","$ctx","args"],"sources":["Query.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 _execute = [1, \"/v2/ontologies/{0}/queries/{1}/execute\", 3];\n/**\n * Executes a Query using the given parameters.\n *\n * Optional parameters do not need to be supplied.\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}/queries/{queryApiName}/execute\n */\nexport function execute($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _execute, ...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,QAAQ,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,QAAQ,EAAE,GAAGG,IAAI,CAAC;AACzD","ignoreList":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* Lists the query types for the given Ontology.
|
|
5
|
+
*
|
|
6
|
+
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
7
|
+
* results available, at least one result will be present in the response.
|
|
8
|
+
*
|
|
9
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* Required Scopes: [api:ontologies-read]
|
|
14
|
+
* URL: /v2/ontologies/{ontology}/queryTypes
|
|
15
|
+
*/
|
|
16
|
+
export declare function list($ctx: $Client | $ClientContext, ...args: [
|
|
17
|
+
ontology: _Core.OntologyIdentifier,
|
|
18
|
+
$queryParams?: {
|
|
19
|
+
pageSize?: _Core.PageSize | undefined;
|
|
20
|
+
pageToken?: _Core.PageToken | undefined;
|
|
21
|
+
}
|
|
22
|
+
]): Promise<_Core.ListQueryTypesResponseV2>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets a specific query type with the given API name.
|
|
25
|
+
*
|
|
26
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
*
|
|
30
|
+
* Required Scopes: [api:ontologies-read]
|
|
31
|
+
* URL: /v2/ontologies/{ontology}/queryTypes/{queryApiName}
|
|
32
|
+
*/
|
|
33
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [
|
|
34
|
+
ontology: _Core.OntologyIdentifier,
|
|
35
|
+
queryApiName: _Core.QueryApiName
|
|
36
|
+
]): Promise<_Core.QueryTypeV2>;
|
|
37
|
+
//# 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,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,4 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
+
}
|
|
4
49
|
//# sourceMappingURL=QueryType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
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,67 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* Get the first point of a time series property.
|
|
5
|
+
*
|
|
6
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
7
|
+
* following operation scopes: `api:ontologies-read`.
|
|
8
|
+
*
|
|
9
|
+
* @public
|
|
10
|
+
*
|
|
11
|
+
* Required Scopes: [api:ontologies-read]
|
|
12
|
+
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint
|
|
13
|
+
*/
|
|
14
|
+
export declare function getFirstPoint($ctx: $Client | $ClientContext, ...args: [
|
|
15
|
+
ontology: _Core.OntologyIdentifier,
|
|
16
|
+
objectType: _Core.ObjectTypeApiName,
|
|
17
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
18
|
+
property: _Core.PropertyApiName,
|
|
19
|
+
$queryParams?: {
|
|
20
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
21
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
22
|
+
}
|
|
23
|
+
]): Promise<_Core.TimeSeriesPoint | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Get the last point of a time series property.
|
|
26
|
+
*
|
|
27
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
28
|
+
* following operation scopes: `api:ontologies-read`.
|
|
29
|
+
*
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* Required Scopes: [api:ontologies-read]
|
|
33
|
+
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint
|
|
34
|
+
*/
|
|
35
|
+
export declare function getLastPoint($ctx: $Client | $ClientContext, ...args: [
|
|
36
|
+
ontology: _Core.OntologyIdentifier,
|
|
37
|
+
objectType: _Core.ObjectTypeApiName,
|
|
38
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
39
|
+
property: _Core.PropertyApiName,
|
|
40
|
+
$queryParams?: {
|
|
41
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
42
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
43
|
+
}
|
|
44
|
+
]): Promise<_Core.TimeSeriesPoint | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* Stream all of the points of a time series property.
|
|
47
|
+
*
|
|
48
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
49
|
+
* following operation scopes: `api:ontologies-read`.
|
|
50
|
+
*
|
|
51
|
+
* @public
|
|
52
|
+
*
|
|
53
|
+
* Required Scopes: [api:ontologies-read]
|
|
54
|
+
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints
|
|
55
|
+
*/
|
|
56
|
+
export declare function streamPoints($ctx: $Client | $ClientContext, ...args: [
|
|
57
|
+
ontology: _Core.OntologyIdentifier,
|
|
58
|
+
objectType: _Core.ObjectTypeApiName,
|
|
59
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
60
|
+
property: _Core.PropertyApiName,
|
|
61
|
+
$body: _Core.StreamTimeSeriesPointsRequest,
|
|
62
|
+
$queryParams?: {
|
|
63
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
64
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
65
|
+
}
|
|
66
|
+
]): Promise<Blob>;
|
|
67
|
+
//# 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,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,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAE/B,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,eAAe,GAAG,SAAS,CAAC,CAE5C;AAeD;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,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;IAE/B,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,eAAe,GAAG,SAAS,CAAC,CAE5C;AAsBD;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,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,4 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
+
}
|
|
4
63
|
//# sourceMappingURL=TimeSeriesPropertyV2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
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,24 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* 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
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
7
|
+
* following operation scopes: `api:read-data`.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*
|
|
11
|
+
* Required Scopes: [api:read-data]
|
|
12
|
+
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{propertyName}/latestValue
|
|
13
|
+
*/
|
|
14
|
+
export declare function getLatestValue($ctx: $Client | $ClientContext, ...args: [
|
|
15
|
+
ontology: _Core.OntologyIdentifier,
|
|
16
|
+
objectType: _Core.ObjectTypeApiName,
|
|
17
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
18
|
+
propertyName: _Core.PropertyApiName,
|
|
19
|
+
$queryParams?: {
|
|
20
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
21
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
22
|
+
}
|
|
23
|
+
]): Promise<_Core.TimeseriesEntry | undefined>;
|
|
24
|
+
//# 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,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,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,YAAY,EAAE,KAAK,CAAC,eAAe;IAEnC,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,eAAe,GAAG,SAAS,CAAC,CAE5C"}
|