@osdk/internal.foundry.ontologiesv2 0.1.1 → 0.2.0-beta.1
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 +21 -5
- package/build/browser/{chunk-5MBQRC34.js → chunk-35VM6XLH.js} +2 -2
- package/build/browser/{chunk-5MBQRC34.js.map → chunk-35VM6XLH.js.map} +1 -1
- package/build/browser/chunk-3H3SHEFA.js +31 -0
- package/build/browser/chunk-3H3SHEFA.js.map +1 -0
- package/build/browser/chunk-4TOWICL3.js +21 -0
- package/build/browser/chunk-4TOWICL3.js.map +1 -0
- package/build/{esm/chunk-YGTQQ5D7.js → browser/chunk-BTOEXA2S.js} +2 -2
- package/build/browser/chunk-BTOEXA2S.js.map +1 -0
- package/build/browser/{chunk-TJX6RHXS.js → chunk-CTA4DXZF.js} +2 -2
- package/build/browser/chunk-CTA4DXZF.js.map +1 -0
- package/build/{esm/chunk-ASYINYCV.js → browser/chunk-GWYI4RKT.js} +3 -8
- package/build/browser/chunk-GWYI4RKT.js.map +1 -0
- package/build/browser/chunk-KQNF55S5.js +26 -0
- package/build/browser/chunk-KQNF55S5.js.map +1 -0
- package/build/browser/chunk-OBKC7XBM.js +31 -0
- package/build/browser/chunk-OBKC7XBM.js.map +1 -0
- package/build/browser/chunk-UFJTKRQC.js +16 -0
- package/build/browser/chunk-UFJTKRQC.js.map +1 -0
- package/build/{esm/chunk-G4A4IJCI.js → browser/chunk-VCCTOHYG.js} +2 -2
- package/build/browser/{chunk-G4A4IJCI.js.map → chunk-VCCTOHYG.js.map} +1 -1
- package/build/browser/chunk-WV7ZDMLQ.js +41 -0
- package/build/browser/chunk-WV7ZDMLQ.js.map +1 -0
- package/build/{esm/chunk-6LZM4EP4.js → browser/chunk-XFVLFZZG.js} +2 -2
- package/build/browser/chunk-XFVLFZZG.js.map +1 -0
- package/build/{esm/chunk-B5JRDCDE.js → browser/chunk-ZKWJVNUQ.js} +2 -2
- package/build/browser/{chunk-B5JRDCDE.js.map → chunk-ZKWJVNUQ.js.map} +1 -1
- package/build/browser/index.js +13 -8
- package/build/browser/public/Action.js +1 -1
- package/build/browser/public/ActionTypeV2.js +1 -1
- package/build/browser/public/Attachment.js +1 -1
- package/build/browser/public/AttachmentPropertyV2.js +4 -0
- package/build/{cjs/public/Attachment.cjs.map → browser/public/AttachmentPropertyV2.js.map} +1 -1
- package/build/browser/public/LinkedObjectV2.js +4 -0
- package/build/browser/public/LinkedObjectV2.js.map +1 -0
- package/build/browser/public/ObjectTypeV2.js +1 -1
- package/build/browser/public/OntologyInterface.js +4 -0
- package/build/{cjs/public/OntologyObjectV2.cjs.map → browser/public/OntologyInterface.js.map} +1 -1
- package/build/browser/public/OntologyObjectSet.js +1 -1
- package/build/browser/public/OntologyObjectV2.js +1 -1
- package/build/browser/public/OntologyV2.js +1 -1
- package/build/browser/public/Query.js +4 -0
- package/build/{cjs/public/QueryType.cjs.map → browser/public/Query.js.map} +1 -1
- package/build/browser/public/QueryType.js +1 -1
- package/build/browser/public/TimeSeriesPropertyV2.js +4 -0
- package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -0
- package/build/esm/{chunk-5MBQRC34.js → chunk-35VM6XLH.js} +2 -2
- package/build/esm/{chunk-5MBQRC34.js.map → chunk-35VM6XLH.js.map} +1 -1
- package/build/esm/chunk-3H3SHEFA.js +31 -0
- package/build/esm/chunk-3H3SHEFA.js.map +1 -0
- package/build/esm/chunk-4TOWICL3.js +21 -0
- package/build/esm/chunk-4TOWICL3.js.map +1 -0
- package/build/{browser/chunk-YGTQQ5D7.js → esm/chunk-BTOEXA2S.js} +2 -2
- package/build/esm/chunk-BTOEXA2S.js.map +1 -0
- package/build/esm/{chunk-TJX6RHXS.js → chunk-CTA4DXZF.js} +2 -2
- package/build/esm/chunk-CTA4DXZF.js.map +1 -0
- package/build/{browser/chunk-ASYINYCV.js → esm/chunk-GWYI4RKT.js} +3 -8
- package/build/esm/chunk-GWYI4RKT.js.map +1 -0
- package/build/esm/chunk-KQNF55S5.js +26 -0
- package/build/esm/chunk-KQNF55S5.js.map +1 -0
- package/build/esm/chunk-OBKC7XBM.js +31 -0
- package/build/esm/chunk-OBKC7XBM.js.map +1 -0
- package/build/esm/chunk-UFJTKRQC.js +16 -0
- package/build/esm/chunk-UFJTKRQC.js.map +1 -0
- package/build/{browser/chunk-G4A4IJCI.js → esm/chunk-VCCTOHYG.js} +2 -2
- package/build/esm/{chunk-G4A4IJCI.js.map → chunk-VCCTOHYG.js.map} +1 -1
- package/build/esm/chunk-WV7ZDMLQ.js +41 -0
- package/build/esm/chunk-WV7ZDMLQ.js.map +1 -0
- package/build/{browser/chunk-6LZM4EP4.js → esm/chunk-XFVLFZZG.js} +2 -2
- package/build/esm/chunk-XFVLFZZG.js.map +1 -0
- package/build/{browser/chunk-B5JRDCDE.js → esm/chunk-ZKWJVNUQ.js} +2 -2
- package/build/esm/{chunk-B5JRDCDE.js.map → chunk-ZKWJVNUQ.js.map} +1 -1
- package/build/esm/index.d.ts +5 -0
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +13 -8
- package/build/esm/public/Action.d.ts +15 -9
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +1 -1
- package/build/esm/public/ActionTypeV2.d.ts +8 -4
- package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
- package/build/esm/public/ActionTypeV2.js +1 -1
- package/build/esm/public/Attachment.d.ts +12 -6
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +1 -1
- package/build/esm/public/AttachmentPropertyV2.d.ts +91 -0
- package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -0
- package/build/esm/public/AttachmentPropertyV2.js +4 -0
- package/build/esm/public/AttachmentPropertyV2.js.map +1 -0
- package/build/esm/public/LinkedObjectV2.d.ts +65 -0
- package/build/esm/public/LinkedObjectV2.d.ts.map +1 -0
- package/build/esm/public/LinkedObjectV2.js +4 -0
- package/build/esm/public/LinkedObjectV2.js.map +1 -0
- package/build/esm/public/ObjectTypeV2.d.ts +16 -8
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/ObjectTypeV2.js +1 -1
- package/build/esm/public/OntologyInterface.d.ts +119 -0
- package/build/esm/public/OntologyInterface.d.ts.map +1 -0
- package/build/esm/public/OntologyInterface.js +4 -0
- package/build/{cjs/public/OntologyV2.cjs.map → esm/public/OntologyInterface.js.map} +1 -1
- package/build/esm/public/OntologyObjectSet.d.ts +15 -7
- package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.js +1 -1
- package/build/esm/public/OntologyObjectV2.d.ts +25 -317
- package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectV2.js +1 -1
- package/build/esm/public/OntologyV2.d.ts +11 -5
- package/build/esm/public/OntologyV2.d.ts.map +1 -1
- package/build/esm/public/OntologyV2.js +1 -1
- package/build/esm/public/Query.d.ts +25 -0
- package/build/esm/public/Query.d.ts.map +1 -0
- package/build/esm/public/Query.js +4 -0
- package/build/esm/public/Query.js.map +1 -0
- package/build/esm/public/QueryType.d.ts +9 -25
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/QueryType.js +1 -1
- package/build/esm/public/TimeSeriesPropertyV2.d.ts +67 -0
- package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -0
- package/build/esm/public/TimeSeriesPropertyV2.js +4 -0
- package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -0
- package/package.json +8 -8
- package/build/browser/chunk-6LZM4EP4.js.map +0 -1
- package/build/browser/chunk-ASYINYCV.js.map +0 -1
- package/build/browser/chunk-KYMDEQ65.js +0 -106
- package/build/browser/chunk-KYMDEQ65.js.map +0 -1
- package/build/browser/chunk-TJX6RHXS.js.map +0 -1
- package/build/browser/chunk-YGTQQ5D7.js.map +0 -1
- package/build/cjs/chunk-4C2HM57F.cjs +0 -25
- package/build/cjs/chunk-4C2HM57F.cjs.map +0 -1
- package/build/cjs/chunk-4P3VZEYN.cjs +0 -31
- package/build/cjs/chunk-4P3VZEYN.cjs.map +0 -1
- package/build/cjs/chunk-CC6MHVHV.cjs +0 -31
- package/build/cjs/chunk-CC6MHVHV.cjs.map +0 -1
- package/build/cjs/chunk-GYQMWSQD.cjs +0 -37
- package/build/cjs/chunk-GYQMWSQD.cjs.map +0 -1
- package/build/cjs/chunk-HIODZNKB.cjs +0 -31
- package/build/cjs/chunk-HIODZNKB.cjs.map +0 -1
- package/build/cjs/chunk-MDCGGVNW.cjs +0 -31
- package/build/cjs/chunk-MDCGGVNW.cjs.map +0 -1
- package/build/cjs/chunk-Q7SFCCGT.cjs +0 -11
- package/build/cjs/chunk-Q7SFCCGT.cjs.map +0 -1
- package/build/cjs/chunk-XDPPJYIF.cjs +0 -127
- package/build/cjs/chunk-XDPPJYIF.cjs.map +0 -1
- package/build/cjs/chunk-Y5J4FTF2.cjs +0 -37
- package/build/cjs/chunk-Y5J4FTF2.cjs.map +0 -1
- package/build/cjs/index.cjs +0 -48
- package/build/cjs/index.cjs.map +0 -1
- package/build/cjs/public/Action.cjs +0 -21
- package/build/cjs/public/Action.cjs.map +0 -1
- package/build/cjs/public/ActionTypeV2.cjs +0 -17
- package/build/cjs/public/ActionTypeV2.cjs.map +0 -1
- package/build/cjs/public/Attachment.cjs +0 -21
- package/build/cjs/public/ObjectTypeV2.cjs +0 -25
- package/build/cjs/public/ObjectTypeV2.cjs.map +0 -1
- package/build/cjs/public/OntologyObjectSet.cjs +0 -25
- package/build/cjs/public/OntologyObjectSet.cjs.map +0 -1
- package/build/cjs/public/OntologyObjectV2.cjs +0 -85
- package/build/cjs/public/OntologyV2.cjs +0 -21
- package/build/cjs/public/QueryType.cjs +0 -21
- package/build/esm/chunk-6LZM4EP4.js.map +0 -1
- package/build/esm/chunk-ASYINYCV.js.map +0 -1
- package/build/esm/chunk-KYMDEQ65.js +0 -106
- package/build/esm/chunk-KYMDEQ65.js.map +0 -1
- package/build/esm/chunk-TJX6RHXS.js.map +0 -1
- package/build/esm/chunk-YGTQQ5D7.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AggregateObjectsRequestV2, AggregateObjectsResponseV2, ArtifactRepositoryRid,
|
|
1
|
+
import type { AggregateObjectsRequestV2, AggregateObjectsResponseV2, ArtifactRepositoryRid, CountObjectsResponseV2, ListObjectsResponseV2, ObjectTypeApiName, ObjectTypeFullMetadata, OntologyIdentifier, OntologyObjectV2, OrderBy, PageSize, PageToken, PreviewMode, PropertyValueEscapedString, SdkPackageName, SearchObjectsRequestV2, SearchObjectsResponseV2, SelectedPropertyApiName } from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
3
|
/**
|
|
4
4
|
* Lists the objects for the given Ontology and object type.
|
|
@@ -15,9 +15,11 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
15
15
|
*
|
|
16
16
|
* Note that null value properties will not be returned.
|
|
17
17
|
*
|
|
18
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
18
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* @public
|
|
21
|
+
*
|
|
22
|
+
* Required Scopes: [api:ontologies-read]
|
|
21
23
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}
|
|
22
24
|
*/
|
|
23
25
|
export declare function listObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
@@ -36,9 +38,11 @@ export declare function listObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
|
36
38
|
/**
|
|
37
39
|
* Gets a specific object with the given primary key.
|
|
38
40
|
*
|
|
39
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
41
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
42
|
+
*
|
|
43
|
+
* @public
|
|
40
44
|
*
|
|
41
|
-
* Required Scopes: [api:read
|
|
45
|
+
* Required Scopes: [api:ontologies-read]
|
|
42
46
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}
|
|
43
47
|
*/
|
|
44
48
|
export declare function getObjectV2($ctx: $Client | $ClientContext, ...args: [
|
|
@@ -55,9 +59,11 @@ export declare function getObjectV2($ctx: $Client | $ClientContext, ...args: [
|
|
|
55
59
|
/**
|
|
56
60
|
* Returns a count of the objects of the given object type.
|
|
57
61
|
*
|
|
58
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
62
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
63
|
+
*
|
|
64
|
+
* @alpha
|
|
59
65
|
*
|
|
60
|
-
* Required Scopes: [api:read
|
|
66
|
+
* Required Scopes: [api:ontologies-read]
|
|
61
67
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/count
|
|
62
68
|
*/
|
|
63
69
|
export declare function countObjects($ctx: $Client | $ClientContext, ...args: [
|
|
@@ -90,9 +96,11 @@ export declare function countObjects($ctx: $Client | $ClientContext, ...args: [
|
|
|
90
96
|
* | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
|
|
91
97
|
* | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |
|
|
92
98
|
*
|
|
93
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
99
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
94
100
|
*
|
|
95
|
-
*
|
|
101
|
+
* @public
|
|
102
|
+
*
|
|
103
|
+
* Required Scopes: [api:ontologies-read]
|
|
96
104
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/search
|
|
97
105
|
*/
|
|
98
106
|
export declare function searchObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
@@ -107,9 +115,11 @@ export declare function searchObjectsV2($ctx: $Client | $ClientContext, ...args:
|
|
|
107
115
|
/**
|
|
108
116
|
* Perform functions on object fields in the specified ontology and object type.
|
|
109
117
|
*
|
|
110
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
118
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
119
|
+
*
|
|
120
|
+
* @public
|
|
111
121
|
*
|
|
112
|
-
* Required Scopes: [api:read
|
|
122
|
+
* Required Scopes: [api:ontologies-read]
|
|
113
123
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate
|
|
114
124
|
*/
|
|
115
125
|
export declare function aggregateObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
@@ -121,316 +131,14 @@ export declare function aggregateObjectsV2($ctx: $Client | $ClientContext, ...ar
|
|
|
121
131
|
packageName?: SdkPackageName | undefined;
|
|
122
132
|
}
|
|
123
133
|
]): Promise<AggregateObjectsResponseV2>;
|
|
124
|
-
/**
|
|
125
|
-
* :::callout{theme=warning title=Warning}
|
|
126
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
127
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
128
|
-
* :::
|
|
129
|
-
*
|
|
130
|
-
* Lists the interface types for the given Ontology.
|
|
131
|
-
*
|
|
132
|
-
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
133
|
-
* results available, at least one result will be present in the response.
|
|
134
|
-
*
|
|
135
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
|
|
136
|
-
*
|
|
137
|
-
* Required Scopes: [api:read-data]
|
|
138
|
-
* URL: /v2/ontologies/{ontology}/interfaceTypes
|
|
139
|
-
*/
|
|
140
|
-
export declare function listInterfaceTypes($ctx: $Client | $ClientContext, ...args: [
|
|
141
|
-
ontology: OntologyIdentifier,
|
|
142
|
-
$queryParams?: {
|
|
143
|
-
pageSize?: PageSize | undefined;
|
|
144
|
-
pageToken?: PageToken | undefined;
|
|
145
|
-
preview?: PreviewMode | undefined;
|
|
146
|
-
}
|
|
147
|
-
]): Promise<ListInterfaceTypesResponse>;
|
|
148
|
-
/**
|
|
149
|
-
* :::callout{theme=warning title=Warning}
|
|
150
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
151
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
152
|
-
* :::
|
|
153
|
-
*
|
|
154
|
-
* Gets a specific object type with the given API name.
|
|
155
|
-
*
|
|
156
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
|
|
157
|
-
*
|
|
158
|
-
* Required Scopes: [api:read-data]
|
|
159
|
-
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}
|
|
160
|
-
*/
|
|
161
|
-
export declare function getInterfaceType($ctx: $Client | $ClientContext, ...args: [
|
|
162
|
-
ontology: OntologyIdentifier,
|
|
163
|
-
interfaceType: InterfaceTypeApiName,
|
|
164
|
-
$queryParams?: {
|
|
165
|
-
preview?: PreviewMode | undefined;
|
|
166
|
-
}
|
|
167
|
-
]): Promise<InterfaceType>;
|
|
168
|
-
/**
|
|
169
|
-
* :::callout{theme=warning title=Warning}
|
|
170
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
171
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
172
|
-
* :::
|
|
173
|
-
*
|
|
174
|
-
* Search for objects in the specified ontology and interface type. Any properties specified in the "where" or
|
|
175
|
-
* "orderBy" parameters must be shared property type API names defined on the interface. The following search
|
|
176
|
-
* queries are supported:
|
|
177
|
-
*
|
|
178
|
-
* | Query type | Description | Supported Types |
|
|
179
|
-
* |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|
|
|
180
|
-
* | lt | The provided property is less than the provided value. | number, string, date, timestamp |
|
|
181
|
-
* | gt | The provided property is greater than the provided value. | number, string, date, timestamp |
|
|
182
|
-
* | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |
|
|
183
|
-
* | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |
|
|
184
|
-
* | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |
|
|
185
|
-
* | isNull | The provided property is (or is not) null. | all |
|
|
186
|
-
* | contains | The provided property contains the provided value. | array |
|
|
187
|
-
* | not | The sub-query does not match. | N/A (applied on a query) |
|
|
188
|
-
* | and | All the sub-queries match. | N/A (applied on queries) |
|
|
189
|
-
* | or | At least one of the sub-queries match. | N/A (applied on queries) |
|
|
190
|
-
* | startsWith | The provided property starts with the provided value. | string |
|
|
191
|
-
* | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |
|
|
192
|
-
* | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |
|
|
193
|
-
* | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
|
|
194
|
-
* | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |
|
|
195
|
-
*
|
|
196
|
-
* Attempting to use an unsupported query will result in a validation error. Third-party applications using this
|
|
197
|
-
* endpoint via OAuth2 must request the following operation scope: `api:read-data`.
|
|
198
|
-
*
|
|
199
|
-
* Required Scopes: [api:read-data]
|
|
200
|
-
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search
|
|
201
|
-
*/
|
|
202
|
-
export declare function searchObjectsForInterface($ctx: $Client | $ClientContext, ...args: [
|
|
203
|
-
ontology: OntologyIdentifier,
|
|
204
|
-
interfaceType: InterfaceTypeApiName,
|
|
205
|
-
$body: SearchObjectsForInterfaceRequest,
|
|
206
|
-
$queryParams?: {
|
|
207
|
-
preview?: PreviewMode | undefined;
|
|
208
|
-
}
|
|
209
|
-
]): Promise<SearchObjectsResponseV2>;
|
|
210
|
-
/**
|
|
211
|
-
* :::callout{theme=warning title=Warning}
|
|
212
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
213
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
214
|
-
* :::
|
|
215
|
-
*
|
|
216
|
-
* Perform functions on object fields in the specified ontology and of the specified interface type. Any
|
|
217
|
-
* properties specified in the query must be shared property type API names defined on the interface.
|
|
218
|
-
*
|
|
219
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
|
|
220
|
-
*
|
|
221
|
-
* Required Scopes: [api:read-data]
|
|
222
|
-
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate
|
|
223
|
-
*/
|
|
224
|
-
export declare function aggregateObjectsForInterface($ctx: $Client | $ClientContext, ...args: [
|
|
225
|
-
ontology: OntologyIdentifier,
|
|
226
|
-
interfaceType: InterfaceTypeApiName,
|
|
227
|
-
$body: AggregateObjectsRequestV2,
|
|
228
|
-
$queryParams?: {
|
|
229
|
-
preview?: PreviewMode | undefined;
|
|
230
|
-
}
|
|
231
|
-
]): Promise<AggregateObjectsResponseV2>;
|
|
232
|
-
/**
|
|
233
|
-
* Lists the linked objects for a specific object and the given link type.
|
|
234
|
-
*
|
|
235
|
-
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
236
|
-
* repeated objects in the response pages.
|
|
237
|
-
*
|
|
238
|
-
* 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
|
|
239
|
-
* 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.
|
|
240
|
-
*
|
|
241
|
-
* Each page may be smaller or larger than the requested page size. However, it
|
|
242
|
-
* is guaranteed that if there are more results available, at least one result will be present
|
|
243
|
-
* in the response.
|
|
244
|
-
*
|
|
245
|
-
* Note that null value properties will not be returned.
|
|
246
|
-
*
|
|
247
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
|
|
248
|
-
*
|
|
249
|
-
* Required Scopes: [api:read-data]
|
|
250
|
-
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}
|
|
251
|
-
*/
|
|
252
|
-
export declare function listLinkedObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
253
|
-
ontology: OntologyIdentifier,
|
|
254
|
-
objectType: ObjectTypeApiName,
|
|
255
|
-
primaryKey: PropertyValueEscapedString,
|
|
256
|
-
linkType: LinkTypeApiName,
|
|
257
|
-
$queryParams: {
|
|
258
|
-
pageSize?: PageSize | undefined;
|
|
259
|
-
pageToken?: PageToken | undefined;
|
|
260
|
-
select: Array<SelectedPropertyApiName>;
|
|
261
|
-
orderBy?: OrderBy | undefined;
|
|
262
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
263
|
-
packageName?: SdkPackageName | undefined;
|
|
264
|
-
excludeRid?: boolean | undefined;
|
|
265
|
-
}
|
|
266
|
-
]): Promise<ListLinkedObjectsResponseV2>;
|
|
267
|
-
/**
|
|
268
|
-
* Get a specific linked object that originates from another object.
|
|
269
|
-
*
|
|
270
|
-
* If there is no link between the two objects, `LinkedObjectNotFound` is thrown.
|
|
271
|
-
*
|
|
272
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.
|
|
273
|
-
*
|
|
274
|
-
* Required Scopes: [api:read-data]
|
|
275
|
-
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
|
|
276
|
-
*/
|
|
277
|
-
export declare function getLinkedObjectV2($ctx: $Client | $ClientContext, ...args: [
|
|
278
|
-
ontology: OntologyIdentifier,
|
|
279
|
-
objectType: ObjectTypeApiName,
|
|
280
|
-
primaryKey: PropertyValueEscapedString,
|
|
281
|
-
linkType: LinkTypeApiName,
|
|
282
|
-
linkedObjectPrimaryKey: PropertyValueEscapedString,
|
|
283
|
-
$queryParams: {
|
|
284
|
-
select: Array<SelectedPropertyApiName>;
|
|
285
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
286
|
-
packageName?: SdkPackageName | undefined;
|
|
287
|
-
excludeRid?: boolean | undefined;
|
|
288
|
-
}
|
|
289
|
-
]): Promise<OntologyObjectV2>;
|
|
290
|
-
/**
|
|
291
|
-
* Get the metadata of attachments parented to the given object.
|
|
292
|
-
*
|
|
293
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
294
|
-
* following operation scopes: `api:read-data`.
|
|
295
|
-
*
|
|
296
|
-
* Required Scopes: [api:read-data]
|
|
297
|
-
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}
|
|
298
|
-
*/
|
|
299
|
-
export declare function listPropertyAttachments($ctx: $Client | $ClientContext, ...args: [
|
|
300
|
-
ontology: OntologyIdentifier,
|
|
301
|
-
objectType: ObjectTypeApiName,
|
|
302
|
-
primaryKey: PropertyValueEscapedString,
|
|
303
|
-
property: PropertyApiName,
|
|
304
|
-
$queryParams?: {
|
|
305
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
306
|
-
packageName?: SdkPackageName | undefined;
|
|
307
|
-
}
|
|
308
|
-
]): Promise<AttachmentMetadataResponse>;
|
|
309
|
-
/**
|
|
310
|
-
* Get the metadata of a particular attachment in an attachment list.
|
|
311
|
-
*
|
|
312
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
313
|
-
* following operation scopes: `api:read-data`.
|
|
314
|
-
*
|
|
315
|
-
* Required Scopes: [api:read-data]
|
|
316
|
-
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}
|
|
317
|
-
*/
|
|
318
|
-
export declare function getAttachmentPropertyByRidV2($ctx: $Client | $ClientContext, ...args: [
|
|
319
|
-
ontology: OntologyIdentifier,
|
|
320
|
-
objectType: ObjectTypeApiName,
|
|
321
|
-
primaryKey: PropertyValueEscapedString,
|
|
322
|
-
property: PropertyApiName,
|
|
323
|
-
attachmentRid: AttachmentRid,
|
|
324
|
-
$queryParams?: {
|
|
325
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
326
|
-
packageName?: SdkPackageName | undefined;
|
|
327
|
-
}
|
|
328
|
-
]): Promise<AttachmentV2>;
|
|
329
|
-
/**
|
|
330
|
-
* Get the content of an attachment.
|
|
331
|
-
*
|
|
332
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
333
|
-
* following operation scopes: `api:read-data`.
|
|
334
|
-
*
|
|
335
|
-
* Required Scopes: [api:read-data]
|
|
336
|
-
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content
|
|
337
|
-
*/
|
|
338
|
-
export declare function getAttachmentPropertyContentV2($ctx: $Client | $ClientContext, ...args: [
|
|
339
|
-
ontology: OntologyIdentifier,
|
|
340
|
-
objectType: ObjectTypeApiName,
|
|
341
|
-
primaryKey: PropertyValueEscapedString,
|
|
342
|
-
property: PropertyApiName,
|
|
343
|
-
$queryParams?: {
|
|
344
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
345
|
-
packageName?: SdkPackageName | undefined;
|
|
346
|
-
}
|
|
347
|
-
]): Promise<Blob>;
|
|
348
|
-
/**
|
|
349
|
-
* Get the content of an attachment by its RID.
|
|
350
|
-
*
|
|
351
|
-
* The RID must exist in the attachment array of the property.
|
|
352
|
-
*
|
|
353
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
354
|
-
* following operation scopes: `api:read-data`.
|
|
355
|
-
*
|
|
356
|
-
* Required Scopes: [api:read-data]
|
|
357
|
-
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content
|
|
358
|
-
*/
|
|
359
|
-
export declare function getAttachmentPropertyContentByRidV2($ctx: $Client | $ClientContext, ...args: [
|
|
360
|
-
ontology: OntologyIdentifier,
|
|
361
|
-
objectType: ObjectTypeApiName,
|
|
362
|
-
primaryKey: PropertyValueEscapedString,
|
|
363
|
-
property: PropertyApiName,
|
|
364
|
-
attachmentRid: AttachmentRid,
|
|
365
|
-
$queryParams?: {
|
|
366
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
367
|
-
packageName?: SdkPackageName | undefined;
|
|
368
|
-
}
|
|
369
|
-
]): Promise<Blob>;
|
|
370
|
-
/**
|
|
371
|
-
* Get the first point of a time series property.
|
|
372
|
-
*
|
|
373
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
374
|
-
* following operation scopes: `api:read-data`.
|
|
375
|
-
*
|
|
376
|
-
* Required Scopes: [api:read-data]
|
|
377
|
-
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint
|
|
378
|
-
*/
|
|
379
|
-
export declare function getFirstPoint($ctx: $Client | $ClientContext, ...args: [
|
|
380
|
-
ontology: OntologyIdentifier,
|
|
381
|
-
objectType: ObjectTypeApiName,
|
|
382
|
-
primaryKey: PropertyValueEscapedString,
|
|
383
|
-
property: PropertyApiName,
|
|
384
|
-
$queryParams?: {
|
|
385
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
386
|
-
packageName?: SdkPackageName | undefined;
|
|
387
|
-
}
|
|
388
|
-
]): Promise<TimeSeriesPoint | undefined>;
|
|
389
|
-
/**
|
|
390
|
-
* Get the last point of a time series property.
|
|
391
|
-
*
|
|
392
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
393
|
-
* following operation scopes: `api:read-data`.
|
|
394
|
-
*
|
|
395
|
-
* Required Scopes: [api:read-data]
|
|
396
|
-
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint
|
|
397
|
-
*/
|
|
398
|
-
export declare function getLastPoint($ctx: $Client | $ClientContext, ...args: [
|
|
399
|
-
ontology: OntologyIdentifier,
|
|
400
|
-
objectType: ObjectTypeApiName,
|
|
401
|
-
primaryKey: PropertyValueEscapedString,
|
|
402
|
-
property: PropertyApiName,
|
|
403
|
-
$queryParams?: {
|
|
404
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
405
|
-
packageName?: SdkPackageName | undefined;
|
|
406
|
-
}
|
|
407
|
-
]): Promise<TimeSeriesPoint | undefined>;
|
|
408
|
-
/**
|
|
409
|
-
* Stream all of the points of a time series property.
|
|
410
|
-
*
|
|
411
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
412
|
-
* following operation scopes: `api:read-data`.
|
|
413
|
-
*
|
|
414
|
-
* Required Scopes: [api:read-data]
|
|
415
|
-
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints
|
|
416
|
-
*/
|
|
417
|
-
export declare function streamPoints($ctx: $Client | $ClientContext, ...args: [
|
|
418
|
-
ontology: OntologyIdentifier,
|
|
419
|
-
objectType: ObjectTypeApiName,
|
|
420
|
-
primaryKey: PropertyValueEscapedString,
|
|
421
|
-
property: PropertyApiName,
|
|
422
|
-
$body: StreamTimeSeriesPointsRequest,
|
|
423
|
-
$queryParams?: {
|
|
424
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
425
|
-
packageName?: SdkPackageName | undefined;
|
|
426
|
-
}
|
|
427
|
-
]): Promise<Blob>;
|
|
428
134
|
/**
|
|
429
135
|
* Gets the full metadata for a specific object type with the given API name.
|
|
430
136
|
*
|
|
431
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
137
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
138
|
+
*
|
|
139
|
+
* @alpha
|
|
432
140
|
*
|
|
433
|
-
* Required Scopes: [api:read
|
|
141
|
+
* Required Scopes: [api:ontologies-read]
|
|
434
142
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata
|
|
435
143
|
*/
|
|
436
144
|
export declare function getObjectTypeFullMetadata($ctx: $Client | $ClientContext, ...args: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC1B,qBAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aggregateObjectsV2, countObjects, getObjectTypeFullMetadata, getObjectV2, listObjectsV2, searchObjectsV2 } from '../chunk-WV7ZDMLQ.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=OntologyObjectV2.js.map
|
|
4
4
|
//# sourceMappingURL=OntologyObjectV2.js.map
|
|
@@ -3,25 +3,31 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
3
3
|
/**
|
|
4
4
|
* Lists the Ontologies visible to the current user.
|
|
5
5
|
*
|
|
6
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
6
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:ontologies-read]
|
|
9
11
|
* URL: /v2/ontologies
|
|
10
12
|
*/
|
|
11
13
|
export declare function listOntologiesV2($ctx: $Client | $ClientContext, ...args: []): Promise<ListOntologiesV2Response>;
|
|
12
14
|
/**
|
|
13
15
|
* Gets a specific ontology with the given Ontology RID.
|
|
14
16
|
*
|
|
15
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
17
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
18
|
+
*
|
|
19
|
+
* @public
|
|
16
20
|
*
|
|
17
|
-
* Required Scopes: [api:read
|
|
21
|
+
* Required Scopes: [api:ontologies-read]
|
|
18
22
|
* URL: /v2/ontologies/{ontology}
|
|
19
23
|
*/
|
|
20
24
|
export declare function getOntologyV2($ctx: $Client | $ClientContext, ...args: [ontology: OntologyIdentifier]): Promise<OntologyV2>;
|
|
21
25
|
/**
|
|
22
26
|
* Get the full Ontology metadata. This includes the objects, links, actions, queries, and interfaces.
|
|
23
27
|
*
|
|
24
|
-
*
|
|
28
|
+
* @alpha
|
|
29
|
+
*
|
|
30
|
+
* Required Scopes: [api:ontologies-read]
|
|
25
31
|
* URL: /v2/ontologies/{ontology}/fullMetadata
|
|
26
32
|
*/
|
|
27
33
|
export declare function getOntologyFullMetadata($ctx: $Client | $ClientContext, ...args: [ontology: OntologyIdentifier]): Promise<OntologyFullMetadata>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAU7B
|
|
1
|
+
{"version":3,"file":"OntologyV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAU7B;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,wBAAwB,CAAC,CAEnC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,kBAAkB,CAAC,GACtC,OAAO,CAAC,UAAU,CAAC,CAErB;AAMD;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,kBAAkB,CAAC,GACtC,OAAO,CAAC,oBAAoB,CAAC,CAE/B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { getOntologyFullMetadata, getOntologyV2, listOntologiesV2 } from '../chunk-
|
|
1
|
+
export { getOntologyFullMetadata, getOntologyV2, listOntologiesV2 } from '../chunk-35VM6XLH.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=OntologyV2.js.map
|
|
4
4
|
//# sourceMappingURL=OntologyV2.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ArtifactRepositoryRid, ExecuteQueryRequest, ExecuteQueryResponse, OntologyIdentifier, QueryApiName, SdkPackageName } 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 executeQueryV2($ctx: $Client | $ClientContext, ...args: [
|
|
17
|
+
ontology: OntologyIdentifier,
|
|
18
|
+
queryApiName: QueryApiName,
|
|
19
|
+
$body: ExecuteQueryRequest,
|
|
20
|
+
$queryParams?: {
|
|
21
|
+
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
22
|
+
packageName?: SdkPackageName | undefined;
|
|
23
|
+
}
|
|
24
|
+
]): Promise<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,EACV,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAkB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,kBAAkB;IAC5B,YAAY,EAAE,YAAY;IAC1B,KAAK,EAAE,mBAAmB;IAC1B,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;QACvD,WAAW,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,oBAAoB,CAAC,CAE/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Query.js"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ListQueryTypesResponseV2, OntologyIdentifier, PageSize, PageToken, QueryApiName, QueryTypeV2 } from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
3
|
/**
|
|
4
4
|
* Lists the query types for the given Ontology.
|
|
@@ -6,9 +6,11 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
6
6
|
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
7
7
|
* results available, at least one result will be present in the response.
|
|
8
8
|
*
|
|
9
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
9
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* Required Scopes: [api:ontologies-read]
|
|
12
14
|
* URL: /v2/ontologies/{ontology}/queryTypes
|
|
13
15
|
*/
|
|
14
16
|
export declare function listQueryTypesV2($ctx: $Client | $ClientContext, ...args: [
|
|
@@ -21,30 +23,12 @@ export declare function listQueryTypesV2($ctx: $Client | $ClientContext, ...args
|
|
|
21
23
|
/**
|
|
22
24
|
* Gets a specific query type with the given API name.
|
|
23
25
|
*
|
|
24
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read
|
|
26
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
25
29
|
*
|
|
26
|
-
* Required Scopes: [api:read
|
|
30
|
+
* Required Scopes: [api:ontologies-read]
|
|
27
31
|
* URL: /v2/ontologies/{ontology}/queryTypes/{queryApiName}
|
|
28
32
|
*/
|
|
29
33
|
export declare function getQueryTypeV2($ctx: $Client | $ClientContext, ...args: [ontology: OntologyIdentifier, queryApiName: QueryApiName]): Promise<QueryTypeV2>;
|
|
30
|
-
/**
|
|
31
|
-
* Executes a Query using the given parameters.
|
|
32
|
-
*
|
|
33
|
-
* Optional parameters do not need to be supplied.
|
|
34
|
-
*
|
|
35
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
36
|
-
* following operation scopes: `api:read-data`.
|
|
37
|
-
*
|
|
38
|
-
* Required Scopes: [api:read-data]
|
|
39
|
-
* URL: /v2/ontologies/{ontology}/queries/{queryApiName}/execute
|
|
40
|
-
*/
|
|
41
|
-
export declare function executeQueryV2($ctx: $Client | $ClientContext, ...args: [
|
|
42
|
-
ontology: OntologyIdentifier,
|
|
43
|
-
queryApiName: QueryApiName,
|
|
44
|
-
$body: ExecuteQueryRequest,
|
|
45
|
-
$queryParams?: {
|
|
46
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
47
|
-
packageName?: SdkPackageName | undefined;
|
|
48
|
-
}
|
|
49
|
-
]): Promise<ExecuteQueryResponse>;
|
|
50
34
|
//# sourceMappingURL=QueryType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,wBAAwB,EACxB,kBAAkB,EAClB,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,WAAW,EACZ,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,kBAAkB;IAE5B,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,wBAAwB,CAAC,CAEnC;AASD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,kBAAkB,EAAE,YAAY,EAAE,YAAY,CAAC,GAClE,OAAO,CAAC,WAAW,CAAC,CAEtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { getQueryTypeV2, listQueryTypesV2 } from '../chunk-GWYI4RKT.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=QueryType.js.map
|
|
4
4
|
//# sourceMappingURL=QueryType.js.map
|