@osdk/internal.foundry.ontologiesv2 0.2.0-beta.7 → 0.2.0-beta.9
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 +25 -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 +19 -19
- 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 +9 -6
- 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 +6 -6
- 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 +29 -29
- 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 +21 -21
- 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 +22 -19
- 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 +20 -20
- 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 +18 -15
- 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 +34 -34
- 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 +7 -7
- 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 +9 -6
- 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 +6 -7
- 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,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
3
|
/**
|
|
4
4
|
* :::callout{theme=warning title=Warning}
|
|
@@ -19,13 +19,13 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
19
19
|
* URL: /v2/ontologies/{ontology}/interfaceTypes
|
|
20
20
|
*/
|
|
21
21
|
export declare function listInterfaceTypes($ctx: $Client | $ClientContext, ...args: [
|
|
22
|
-
ontology: OntologyIdentifier,
|
|
22
|
+
ontology: _Core.OntologyIdentifier,
|
|
23
23
|
$queryParams?: {
|
|
24
|
-
pageSize?: PageSize | undefined;
|
|
25
|
-
pageToken?: PageToken | undefined;
|
|
26
|
-
preview?: PreviewMode | undefined;
|
|
24
|
+
pageSize?: _Core.PageSize | undefined;
|
|
25
|
+
pageToken?: _Core.PageToken | undefined;
|
|
26
|
+
preview?: _Core.PreviewMode | undefined;
|
|
27
27
|
}
|
|
28
|
-
]): Promise<ListInterfaceTypesResponse>;
|
|
28
|
+
]): Promise<_Core.ListInterfaceTypesResponse>;
|
|
29
29
|
/**
|
|
30
30
|
* :::callout{theme=warning title=Warning}
|
|
31
31
|
* This endpoint is in preview and may be modified or removed at any time.
|
|
@@ -42,12 +42,12 @@ export declare function listInterfaceTypes($ctx: $Client | $ClientContext, ...ar
|
|
|
42
42
|
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}
|
|
43
43
|
*/
|
|
44
44
|
export declare function getInterfaceType($ctx: $Client | $ClientContext, ...args: [
|
|
45
|
-
ontology: OntologyIdentifier,
|
|
46
|
-
interfaceType: InterfaceTypeApiName,
|
|
45
|
+
ontology: _Core.OntologyIdentifier,
|
|
46
|
+
interfaceType: _Core.InterfaceTypeApiName,
|
|
47
47
|
$queryParams?: {
|
|
48
|
-
preview?: PreviewMode | undefined;
|
|
48
|
+
preview?: _Core.PreviewMode | undefined;
|
|
49
49
|
}
|
|
50
|
-
]): Promise<InterfaceType>;
|
|
50
|
+
]): Promise<_Core.InterfaceType>;
|
|
51
51
|
/**
|
|
52
52
|
* :::callout{theme=warning title=Warning}
|
|
53
53
|
* This endpoint is in preview and may be modified or removed at any time.
|
|
@@ -85,13 +85,13 @@ export declare function getInterfaceType($ctx: $Client | $ClientContext, ...args
|
|
|
85
85
|
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search
|
|
86
86
|
*/
|
|
87
87
|
export declare function searchObjectsForInterface($ctx: $Client | $ClientContext, ...args: [
|
|
88
|
-
ontology: OntologyIdentifier,
|
|
89
|
-
interfaceType: InterfaceTypeApiName,
|
|
90
|
-
$body: SearchObjectsForInterfaceRequest,
|
|
88
|
+
ontology: _Core.OntologyIdentifier,
|
|
89
|
+
interfaceType: _Core.InterfaceTypeApiName,
|
|
90
|
+
$body: _Core.SearchObjectsForInterfaceRequest,
|
|
91
91
|
$queryParams?: {
|
|
92
|
-
preview?: PreviewMode | undefined;
|
|
92
|
+
preview?: _Core.PreviewMode | undefined;
|
|
93
93
|
}
|
|
94
|
-
]): Promise<SearchObjectsResponseV2>;
|
|
94
|
+
]): Promise<_Core.SearchObjectsResponseV2>;
|
|
95
95
|
/**
|
|
96
96
|
* :::callout{theme=warning title=Warning}
|
|
97
97
|
* This endpoint is in preview and may be modified or removed at any time.
|
|
@@ -109,11 +109,11 @@ export declare function searchObjectsForInterface($ctx: $Client | $ClientContext
|
|
|
109
109
|
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate
|
|
110
110
|
*/
|
|
111
111
|
export declare function aggregateObjectsForInterface($ctx: $Client | $ClientContext, ...args: [
|
|
112
|
-
ontology: OntologyIdentifier,
|
|
113
|
-
interfaceType: InterfaceTypeApiName,
|
|
114
|
-
$body: AggregateObjectsRequestV2,
|
|
112
|
+
ontology: _Core.OntologyIdentifier,
|
|
113
|
+
interfaceType: _Core.InterfaceTypeApiName,
|
|
114
|
+
$body: _Core.AggregateObjectsRequestV2,
|
|
115
115
|
$queryParams?: {
|
|
116
|
-
preview?: PreviewMode | undefined;
|
|
116
|
+
preview?: _Core.PreviewMode | undefined;
|
|
117
117
|
}
|
|
118
|
-
]): Promise<AggregateObjectsResponseV2>;
|
|
118
|
+
]): Promise<_Core.AggregateObjectsResponseV2>;
|
|
119
119
|
//# sourceMappingURL=OntologyInterface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.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;AAiB7B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,CAChC,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;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C;AAUD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,aAAa,EAAE,KAAK,CAAC,oBAAoB;IAEzC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,CAE9B;AAWD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,aAAa,EAAE,KAAK,CAAC,oBAAoB;IACzC,KAAK,EAAE,KAAK,CAAC,gCAAgC;IAC7C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAExC;AAWD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,aAAa,EAAE,KAAK,CAAC,oBAAoB;IACzC,KAAK,EAAE,KAAK,CAAC,yBAAyB;IACtC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
|
|
@@ -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 _listInterfaceTypes = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
19
|
+
/**
|
|
20
|
+
* :::callout{theme=warning title=Warning}
|
|
21
|
+
* This endpoint is in preview and may be modified or removed at any time.
|
|
22
|
+
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
23
|
+
* :::
|
|
24
|
+
*
|
|
25
|
+
* Lists the interface types for the given Ontology.
|
|
26
|
+
*
|
|
27
|
+
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
28
|
+
* results available, at least one result will be present in the response.
|
|
29
|
+
*
|
|
30
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
31
|
+
*
|
|
32
|
+
* @alpha
|
|
33
|
+
*
|
|
34
|
+
* Required Scopes: [api:ontologies-read]
|
|
35
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes
|
|
36
|
+
*/
|
|
37
|
+
export function listInterfaceTypes($ctx, ...args) {
|
|
38
|
+
return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);
|
|
39
|
+
}
|
|
40
|
+
const _getInterfaceType = [0, "/v2/ontologies/{0}/interfaceTypes/{1}", 2];
|
|
41
|
+
/**
|
|
42
|
+
* :::callout{theme=warning title=Warning}
|
|
43
|
+
* This endpoint is in preview and may be modified or removed at any time.
|
|
44
|
+
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
45
|
+
* :::
|
|
46
|
+
*
|
|
47
|
+
* Gets a specific object type with the given API name.
|
|
48
|
+
*
|
|
49
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
50
|
+
*
|
|
51
|
+
* @alpha
|
|
52
|
+
*
|
|
53
|
+
* Required Scopes: [api:ontologies-read]
|
|
54
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}
|
|
55
|
+
*/
|
|
56
|
+
export function getInterfaceType($ctx, ...args) {
|
|
57
|
+
return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);
|
|
58
|
+
}
|
|
59
|
+
const _searchObjectsForInterface = [1, "/v2/ontologies/{0}/interfaces/{1}/search", 3];
|
|
60
|
+
/**
|
|
61
|
+
* :::callout{theme=warning title=Warning}
|
|
62
|
+
* This endpoint is in preview and may be modified or removed at any time.
|
|
63
|
+
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
64
|
+
* :::
|
|
65
|
+
*
|
|
66
|
+
* Search for objects in the specified ontology and interface type. Any properties specified in the "where" or
|
|
67
|
+
* "orderBy" parameters must be shared property type API names defined on the interface. The following search
|
|
68
|
+
* queries are supported:
|
|
69
|
+
*
|
|
70
|
+
* | Query type | Description | Supported Types |
|
|
71
|
+
* |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|
|
|
72
|
+
* | lt | The provided property is less than the provided value. | number, string, date, timestamp |
|
|
73
|
+
* | gt | The provided property is greater than the provided value. | number, string, date, timestamp |
|
|
74
|
+
* | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |
|
|
75
|
+
* | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |
|
|
76
|
+
* | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |
|
|
77
|
+
* | isNull | The provided property is (or is not) null. | all |
|
|
78
|
+
* | contains | The provided property contains the provided value. | array |
|
|
79
|
+
* | not | The sub-query does not match. | N/A (applied on a query) |
|
|
80
|
+
* | and | All the sub-queries match. | N/A (applied on queries) |
|
|
81
|
+
* | or | At least one of the sub-queries match. | N/A (applied on queries) |
|
|
82
|
+
* | startsWith | The provided property starts with the provided value. | string |
|
|
83
|
+
* | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |
|
|
84
|
+
* | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |
|
|
85
|
+
* | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
|
|
86
|
+
* | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |
|
|
87
|
+
*
|
|
88
|
+
* Attempting to use an unsupported query will result in a validation error. Third-party applications using this
|
|
89
|
+
* endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
90
|
+
*
|
|
91
|
+
* @alpha
|
|
92
|
+
*
|
|
93
|
+
* Required Scopes: [api:ontologies-read]
|
|
94
|
+
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search
|
|
95
|
+
*/
|
|
96
|
+
export function searchObjectsForInterface($ctx, ...args) {
|
|
97
|
+
return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);
|
|
98
|
+
}
|
|
99
|
+
const _aggregateObjectsForInterface = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
|
|
100
|
+
/**
|
|
101
|
+
* :::callout{theme=warning title=Warning}
|
|
102
|
+
* This endpoint is in preview and may be modified or removed at any time.
|
|
103
|
+
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
104
|
+
* :::
|
|
105
|
+
*
|
|
106
|
+
* Perform functions on object fields in the specified ontology and of the specified interface type. Any
|
|
107
|
+
* properties specified in the query must be shared property type API names defined on the interface.
|
|
108
|
+
*
|
|
109
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
110
|
+
*
|
|
111
|
+
* @alpha
|
|
112
|
+
*
|
|
113
|
+
* Required Scopes: [api:ontologies-read]
|
|
114
|
+
* URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate
|
|
115
|
+
*/
|
|
116
|
+
export function aggregateObjectsForInterface($ctx, ...args) {
|
|
117
|
+
return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...args);
|
|
118
|
+
}
|
|
4
119
|
//# sourceMappingURL=OntologyInterface.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listInterfaceTypes","listInterfaceTypes","$ctx","args","_getInterfaceType","getInterfaceType","_searchObjectsForInterface","searchObjectsForInterface","_aggregateObjectsForInterface","aggregateObjectsForInterface"],"sources":["OntologyInterface.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listInterfaceTypes = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function listInterfaceTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);\n}\nconst _getInterfaceType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function getInterfaceType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);\n}\nconst _searchObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function searchObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);\n}\nconst _aggregateObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregateObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...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,mBAAmB,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,mBAAmB,EAAE,GAAGG,IAAI,CAAC;AACpE;AACA,MAAMC,iBAAiB,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,iBAAiB,EAAE,GAAGD,IAAI,CAAC;AAClE;AACA,MAAMG,0BAA0B,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,yBAAyBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,0BAA0B,EAAE,GAAGH,IAAI,CAAC;AAC3E;AACA,MAAMK,6BAA6B,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,4BAA4BA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,6BAA6B,EAAE,GAAGL,IAAI,CAAC;AAC9E","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a temporary `ObjectSet` from the given definition.
|
|
@@ -12,9 +12,9 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
12
12
|
* URL: /v2/ontologies/{ontology}/objectSets/createTemporary
|
|
13
13
|
*/
|
|
14
14
|
export declare function createTemporaryObjectSetV2($ctx: $Client | $ClientContext, ...args: [
|
|
15
|
-
ontology: OntologyIdentifier,
|
|
16
|
-
$body: CreateTemporaryObjectSetRequestV2
|
|
17
|
-
]): Promise<CreateTemporaryObjectSetResponseV2>;
|
|
15
|
+
ontology: _Core.OntologyIdentifier,
|
|
16
|
+
$body: _Core.CreateTemporaryObjectSetRequestV2
|
|
17
|
+
]): Promise<_Core.CreateTemporaryObjectSetResponseV2>;
|
|
18
18
|
/**
|
|
19
19
|
* Gets the definition of the `ObjectSet` with the given RID.
|
|
20
20
|
*
|
|
@@ -25,7 +25,10 @@ export declare function createTemporaryObjectSetV2($ctx: $Client | $ClientContex
|
|
|
25
25
|
* Required Scopes: []
|
|
26
26
|
* URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}
|
|
27
27
|
*/
|
|
28
|
-
export declare function getObjectSetV2($ctx: $Client | $ClientContext, ...args: [
|
|
28
|
+
export declare function getObjectSetV2($ctx: $Client | $ClientContext, ...args: [
|
|
29
|
+
ontology: _Core.OntologyIdentifier,
|
|
30
|
+
objectSetRid: _Core.ObjectSetRid
|
|
31
|
+
]): Promise<_Core.ObjectSet>;
|
|
29
32
|
/**
|
|
30
33
|
* Load the ontology objects present in the `ObjectSet` from the provided object set definition.
|
|
31
34
|
*
|
|
@@ -42,13 +45,13 @@ export declare function getObjectSetV2($ctx: $Client | $ClientContext, ...args:
|
|
|
42
45
|
* URL: /v2/ontologies/{ontology}/objectSets/loadObjects
|
|
43
46
|
*/
|
|
44
47
|
export declare function loadObjectSetV2($ctx: $Client | $ClientContext, ...args: [
|
|
45
|
-
ontology: OntologyIdentifier,
|
|
46
|
-
$body: LoadObjectSetRequestV2,
|
|
48
|
+
ontology: _Core.OntologyIdentifier,
|
|
49
|
+
$body: _Core.LoadObjectSetRequestV2,
|
|
47
50
|
$queryParams?: {
|
|
48
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
49
|
-
packageName?: SdkPackageName | undefined;
|
|
51
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
52
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
50
53
|
}
|
|
51
|
-
]): Promise<LoadObjectSetResponseV2>;
|
|
54
|
+
]): Promise<_Core.LoadObjectSetResponseV2>;
|
|
52
55
|
/**
|
|
53
56
|
* Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
|
|
54
57
|
*
|
|
@@ -60,11 +63,11 @@ export declare function loadObjectSetV2($ctx: $Client | $ClientContext, ...args:
|
|
|
60
63
|
* URL: /v2/ontologies/{ontology}/objectSets/aggregate
|
|
61
64
|
*/
|
|
62
65
|
export declare function aggregateObjectSetV2($ctx: $Client | $ClientContext, ...args: [
|
|
63
|
-
ontology: OntologyIdentifier,
|
|
64
|
-
$body: AggregateObjectSetRequestV2,
|
|
66
|
+
ontology: _Core.OntologyIdentifier,
|
|
67
|
+
$body: _Core.AggregateObjectSetRequestV2,
|
|
65
68
|
$queryParams?: {
|
|
66
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
67
|
-
packageName?: SdkPackageName | undefined;
|
|
69
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
70
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
68
71
|
}
|
|
69
|
-
]): Promise<AggregateObjectsResponseV2>;
|
|
72
|
+
]): Promise<_Core.AggregateObjectsResponseV2>;
|
|
70
73
|
//# sourceMappingURL=OntologyObjectSet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAa7B;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,iCAAiC;CAC/C,GACA,OAAO,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAEnD;AASD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,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,SAAS,CAAC,CAE1B;AAaD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,sBAAsB;IACnC,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,uBAAuB,CAAC,CAExC;AAaD;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,2BAA2B;IACxC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
|
|
@@ -1,4 +1,80 @@
|
|
|
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 _createTemporaryObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 1];
|
|
19
|
+
/**
|
|
20
|
+
* Creates a temporary `ObjectSet` from the given definition.
|
|
21
|
+
*
|
|
22
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
23
|
+
* following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
24
|
+
*
|
|
25
|
+
* @alpha
|
|
26
|
+
*
|
|
27
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
28
|
+
* URL: /v2/ontologies/{ontology}/objectSets/createTemporary
|
|
29
|
+
*/
|
|
30
|
+
export function createTemporaryObjectSetV2($ctx, ...args) {
|
|
31
|
+
return $foundryPlatformFetch($ctx, _createTemporaryObjectSetV2, ...args);
|
|
32
|
+
}
|
|
33
|
+
const _getObjectSetV2 = [0, "/v2/ontologies/{0}/objectSets/{1}"];
|
|
34
|
+
/**
|
|
35
|
+
* Gets the definition of the `ObjectSet` with the given RID.
|
|
36
|
+
*
|
|
37
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
38
|
+
*
|
|
39
|
+
* @alpha
|
|
40
|
+
*
|
|
41
|
+
* Required Scopes: []
|
|
42
|
+
* URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}
|
|
43
|
+
*/
|
|
44
|
+
export function getObjectSetV2($ctx, ...args) {
|
|
45
|
+
return $foundryPlatformFetch($ctx, _getObjectSetV2, ...args);
|
|
46
|
+
}
|
|
47
|
+
const _loadObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
|
|
48
|
+
/**
|
|
49
|
+
* Load the ontology objects present in the `ObjectSet` from the provided object set definition.
|
|
50
|
+
*
|
|
51
|
+
* 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
|
|
52
|
+
* 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.
|
|
53
|
+
*
|
|
54
|
+
* Note that null value properties will not be returned.
|
|
55
|
+
*
|
|
56
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
*
|
|
60
|
+
* Required Scopes: [api:ontologies-read]
|
|
61
|
+
* URL: /v2/ontologies/{ontology}/objectSets/loadObjects
|
|
62
|
+
*/
|
|
63
|
+
export function loadObjectSetV2($ctx, ...args) {
|
|
64
|
+
return $foundryPlatformFetch($ctx, _loadObjectSetV2, ...args);
|
|
65
|
+
}
|
|
66
|
+
const _aggregateObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
|
|
67
|
+
/**
|
|
68
|
+
* Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
|
|
69
|
+
*
|
|
70
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*
|
|
74
|
+
* Required Scopes: [api:ontologies-read]
|
|
75
|
+
* URL: /v2/ontologies/{ontology}/objectSets/aggregate
|
|
76
|
+
*/
|
|
77
|
+
export function aggregateObjectSetV2($ctx, ...args) {
|
|
78
|
+
return $foundryPlatformFetch($ctx, _aggregateObjectSetV2, ...args);
|
|
79
|
+
}
|
|
4
80
|
//# sourceMappingURL=OntologyObjectSet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporaryObjectSetV2","createTemporaryObjectSetV2","$ctx","args","_getObjectSetV2","getObjectSetV2","_loadObjectSetV2","loadObjectSetV2","_aggregateObjectSetV2","aggregateObjectSetV2"],"sources":["OntologyObjectSet.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createTemporaryObjectSetV2 = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporaryObjectSetV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporaryObjectSetV2, ...args);\n}\nconst _getObjectSetV2 = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function getObjectSetV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectSetV2, ...args);\n}\nconst _loadObjectSetV2 = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function loadObjectSetV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadObjectSetV2, ...args);\n}\nconst _aggregateObjectSetV2 = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregateObjectSetV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectSetV2, ...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,2BAA2B,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,0BAA0BA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,2BAA2B,EAAE,GAAGG,IAAI,CAAC;AAC5E;AACA,MAAMC,eAAe,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,eAAe,EAAE,GAAGD,IAAI,CAAC;AAChE;AACA,MAAMG,gBAAgB,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,gBAAgB,EAAE,GAAGH,IAAI,CAAC;AACjE;AACA,MAAMK,qBAAqB,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,oBAAoBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,qBAAqB,EAAE,GAAGL,IAAI,CAAC;AACtE","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type * as _Core 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.
|
|
@@ -23,18 +23,18 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
23
23
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}
|
|
24
24
|
*/
|
|
25
25
|
export declare function listObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
26
|
-
ontology: OntologyIdentifier,
|
|
27
|
-
objectType: ObjectTypeApiName,
|
|
26
|
+
ontology: _Core.OntologyIdentifier,
|
|
27
|
+
objectType: _Core.ObjectTypeApiName,
|
|
28
28
|
$queryParams: {
|
|
29
|
-
pageSize?: PageSize | undefined;
|
|
30
|
-
pageToken?: PageToken | undefined;
|
|
31
|
-
select: Array<SelectedPropertyApiName>;
|
|
32
|
-
orderBy?: OrderBy | undefined;
|
|
33
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
34
|
-
packageName?: SdkPackageName | undefined;
|
|
29
|
+
pageSize?: _Core.PageSize | undefined;
|
|
30
|
+
pageToken?: _Core.PageToken | undefined;
|
|
31
|
+
select: Array<_Core.SelectedPropertyApiName>;
|
|
32
|
+
orderBy?: _Core.OrderBy | undefined;
|
|
33
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
34
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
35
35
|
excludeRid?: boolean | undefined;
|
|
36
36
|
}
|
|
37
|
-
]): Promise<ListObjectsResponseV2>;
|
|
37
|
+
]): Promise<_Core.ListObjectsResponseV2>;
|
|
38
38
|
/**
|
|
39
39
|
* Gets a specific object with the given primary key.
|
|
40
40
|
*
|
|
@@ -46,16 +46,16 @@ export declare function listObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
|
46
46
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}
|
|
47
47
|
*/
|
|
48
48
|
export declare function getObjectV2($ctx: $Client | $ClientContext, ...args: [
|
|
49
|
-
ontology: OntologyIdentifier,
|
|
50
|
-
objectType: ObjectTypeApiName,
|
|
51
|
-
primaryKey: PropertyValueEscapedString,
|
|
49
|
+
ontology: _Core.OntologyIdentifier,
|
|
50
|
+
objectType: _Core.ObjectTypeApiName,
|
|
51
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
52
52
|
$queryParams: {
|
|
53
|
-
select: Array<SelectedPropertyApiName>;
|
|
54
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
55
|
-
packageName?: SdkPackageName | undefined;
|
|
53
|
+
select: Array<_Core.SelectedPropertyApiName>;
|
|
54
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
55
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
56
56
|
excludeRid?: boolean | undefined;
|
|
57
57
|
}
|
|
58
|
-
]): Promise<OntologyObjectV2>;
|
|
58
|
+
]): Promise<_Core.OntologyObjectV2>;
|
|
59
59
|
/**
|
|
60
60
|
* Returns a count of the objects of the given object type.
|
|
61
61
|
*
|
|
@@ -67,13 +67,13 @@ export declare function getObjectV2($ctx: $Client | $ClientContext, ...args: [
|
|
|
67
67
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/count
|
|
68
68
|
*/
|
|
69
69
|
export declare function countObjects($ctx: $Client | $ClientContext, ...args: [
|
|
70
|
-
ontology: OntologyIdentifier,
|
|
71
|
-
objectType: ObjectTypeApiName,
|
|
70
|
+
ontology: _Core.OntologyIdentifier,
|
|
71
|
+
objectType: _Core.ObjectTypeApiName,
|
|
72
72
|
$queryParams?: {
|
|
73
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
74
|
-
packageName?: SdkPackageName | undefined;
|
|
73
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
74
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
75
75
|
}
|
|
76
|
-
]): Promise<CountObjectsResponseV2>;
|
|
76
|
+
]): Promise<_Core.CountObjectsResponseV2>;
|
|
77
77
|
/**
|
|
78
78
|
* Search for objects in the specified ontology and object type. The request body is used
|
|
79
79
|
* to filter objects based on the specified query. The supported queries are:
|
|
@@ -104,14 +104,14 @@ export declare function countObjects($ctx: $Client | $ClientContext, ...args: [
|
|
|
104
104
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/search
|
|
105
105
|
*/
|
|
106
106
|
export declare function searchObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
107
|
-
ontology: OntologyIdentifier,
|
|
108
|
-
objectType: ObjectTypeApiName,
|
|
109
|
-
$body: SearchObjectsRequestV2,
|
|
107
|
+
ontology: _Core.OntologyIdentifier,
|
|
108
|
+
objectType: _Core.ObjectTypeApiName,
|
|
109
|
+
$body: _Core.SearchObjectsRequestV2,
|
|
110
110
|
$queryParams?: {
|
|
111
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
112
|
-
packageName?: SdkPackageName | undefined;
|
|
111
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
112
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
113
113
|
}
|
|
114
|
-
]): Promise<SearchObjectsResponseV2>;
|
|
114
|
+
]): Promise<_Core.SearchObjectsResponseV2>;
|
|
115
115
|
/**
|
|
116
116
|
* Perform functions on object fields in the specified ontology and object type.
|
|
117
117
|
*
|
|
@@ -123,12 +123,12 @@ export declare function searchObjectsV2($ctx: $Client | $ClientContext, ...args:
|
|
|
123
123
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate
|
|
124
124
|
*/
|
|
125
125
|
export declare function aggregateObjectsV2($ctx: $Client | $ClientContext, ...args: [
|
|
126
|
-
ontology: OntologyIdentifier,
|
|
127
|
-
objectType: ObjectTypeApiName,
|
|
128
|
-
$body: AggregateObjectsRequestV2,
|
|
126
|
+
ontology: _Core.OntologyIdentifier,
|
|
127
|
+
objectType: _Core.ObjectTypeApiName,
|
|
128
|
+
$body: _Core.AggregateObjectsRequestV2,
|
|
129
129
|
$queryParams?: {
|
|
130
|
-
artifactRepository?: ArtifactRepositoryRid | undefined;
|
|
131
|
-
packageName?: SdkPackageName | undefined;
|
|
130
|
+
artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
|
|
131
|
+
packageName?: _Core.SdkPackageName | undefined;
|
|
132
132
|
}
|
|
133
|
-
]): Promise<AggregateObjectsResponseV2>;
|
|
133
|
+
]): Promise<_Core.AggregateObjectsResponseV2>;
|
|
134
134
|
//# sourceMappingURL=OntologyObjectV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"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"}
|