@osdk/internal.foundry.ontologies 0.2.0-beta.1 → 0.2.0-beta.10
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 +97 -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 +11 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +23 -10
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Action.d.ts +105 -0
- package/build/browser/public/Action.d.ts.map +1 -0
- package/build/browser/public/Action.js +108 -3
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionType.d.ts +37 -0
- package/build/browser/public/ActionType.d.ts.map +1 -0
- package/build/browser/public/ActionType.js +48 -3
- package/build/browser/public/ActionType.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/ObjectType.d.ts +70 -0
- package/build/browser/public/ObjectType.d.ts.map +1 -0
- package/build/browser/public/ObjectType.js +79 -3
- package/build/browser/public/ObjectType.js.map +1 -1
- package/build/browser/public/Ontology.d.ts +25 -0
- package/build/browser/public/Ontology.d.ts.map +1 -0
- package/build/browser/public/Ontology.js +45 -3
- package/build/browser/public/Ontology.js.map +1 -1
- package/build/browser/public/OntologyObject.d.ts +162 -0
- package/build/browser/public/OntologyObject.d.ts.map +1 -0
- package/build/browser/public/OntologyObject.js +150 -3
- package/build/browser/public/OntologyObject.js.map +1 -1
- package/build/browser/public/Query.d.ts +18 -0
- package/build/browser/public/Query.d.ts.map +1 -0
- package/build/browser/public/Query.js +31 -3
- package/build/browser/public/Query.js.map +1 -1
- package/build/browser/public/QueryType.d.ts +34 -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/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.d.ts +4 -0
- package/build/esm/_errors.d.ts.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 +23 -10
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Action.d.ts +22 -22
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +108 -3
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionType.d.ts +9 -6
- package/build/esm/public/ActionType.d.ts.map +1 -1
- package/build/esm/public/ActionType.js +48 -3
- package/build/esm/public/ActionType.js.map +1 -1
- package/build/esm/public/Attachment.d.ts +7 -8
- 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/ObjectType.d.ts +15 -15
- package/build/esm/public/ObjectType.d.ts.map +1 -1
- package/build/esm/public/ObjectType.js +79 -3
- package/build/esm/public/ObjectType.js.map +1 -1
- package/build/esm/public/Ontology.d.ts +3 -3
- package/build/esm/public/Ontology.d.ts.map +1 -1
- package/build/esm/public/Ontology.js +45 -3
- package/build/esm/public/Ontology.js.map +1 -1
- package/build/esm/public/OntologyObject.d.ts +37 -37
- package/build/esm/public/OntologyObject.d.ts.map +1 -1
- package/build/esm/public/OntologyObject.js +150 -3
- package/build/esm/public/OntologyObject.js.map +1 -1
- package/build/esm/public/Query.d.ts +5 -8
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +31 -3
- package/build/esm/public/Query.js.map +1 -1
- package/build/esm/public/QueryType.d.ts +6 -13
- 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/package.json +8 -11
- package/build/browser/chunk-3GNJUZCN.js +0 -26
- package/build/browser/chunk-3GNJUZCN.js.map +0 -1
- package/build/browser/chunk-5RUWELWF.js +0 -21
- package/build/browser/chunk-5RUWELWF.js.map +0 -1
- package/build/browser/chunk-ABHCL2BI.js +0 -21
- package/build/browser/chunk-ABHCL2BI.js.map +0 -1
- package/build/browser/chunk-ATSSLGFA.js +0 -31
- package/build/browser/chunk-ATSSLGFA.js.map +0 -1
- package/build/browser/chunk-MONAXU3N.js +0 -36
- package/build/browser/chunk-MONAXU3N.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-SO7SXCWR.js +0 -16
- package/build/browser/chunk-SO7SXCWR.js.map +0 -1
- package/build/browser/chunk-VBZZKGHE.js +0 -41
- package/build/browser/chunk-VBZZKGHE.js.map +0 -1
- package/build/browser/chunk-Y7POOFVF.js +0 -21
- package/build/browser/chunk-Y7POOFVF.js.map +0 -1
- package/build/esm/chunk-3GNJUZCN.js +0 -26
- package/build/esm/chunk-3GNJUZCN.js.map +0 -1
- package/build/esm/chunk-5RUWELWF.js +0 -21
- package/build/esm/chunk-5RUWELWF.js.map +0 -1
- package/build/esm/chunk-ABHCL2BI.js +0 -21
- package/build/esm/chunk-ABHCL2BI.js.map +0 -1
- package/build/esm/chunk-ATSSLGFA.js +0 -31
- package/build/esm/chunk-ATSSLGFA.js.map +0 -1
- package/build/esm/chunk-MONAXU3N.js +0 -36
- package/build/esm/chunk-MONAXU3N.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-SO7SXCWR.js +0 -16
- package/build/esm/chunk-SO7SXCWR.js.map +0 -1
- package/build/esm/chunk-VBZZKGHE.js +0 -41
- package/build/esm/chunk-VBZZKGHE.js.map +0 -1
- package/build/esm/chunk-Y7POOFVF.js +0 -21
- package/build/esm/chunk-Y7POOFVF.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
|
* Lists the objects for the given Ontology and object type.
|
|
@@ -26,15 +26,15 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
26
26
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
|
|
27
27
|
*/
|
|
28
28
|
export declare function listObjects($ctx: $Client | $ClientContext, ...args: [
|
|
29
|
-
ontologyRid: OntologyRid,
|
|
30
|
-
objectType: ObjectTypeApiName,
|
|
29
|
+
ontologyRid: _Core.OntologyRid,
|
|
30
|
+
objectType: _Core.ObjectTypeApiName,
|
|
31
31
|
$queryParams: {
|
|
32
|
-
pageSize?: PageSize | undefined;
|
|
33
|
-
pageToken?: PageToken | undefined;
|
|
34
|
-
properties: Array<SelectedPropertyApiName>;
|
|
35
|
-
orderBy?: OrderBy | undefined;
|
|
32
|
+
pageSize?: _Core.PageSize | undefined;
|
|
33
|
+
pageToken?: _Core.PageToken | undefined;
|
|
34
|
+
properties: Array<_Core.SelectedPropertyApiName>;
|
|
35
|
+
orderBy?: _Core.OrderBy | undefined;
|
|
36
36
|
}
|
|
37
|
-
]): Promise<ListObjectsResponse>;
|
|
37
|
+
]): Promise<_Core.ListObjectsResponse>;
|
|
38
38
|
/**
|
|
39
39
|
* Gets a specific object with the given primary key.
|
|
40
40
|
*
|
|
@@ -46,13 +46,13 @@ export declare function listObjects($ctx: $Client | $ClientContext, ...args: [
|
|
|
46
46
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
|
|
47
47
|
*/
|
|
48
48
|
export declare function getObject($ctx: $Client | $ClientContext, ...args: [
|
|
49
|
-
ontologyRid: OntologyRid,
|
|
50
|
-
objectType: ObjectTypeApiName,
|
|
51
|
-
primaryKey: PropertyValueEscapedString,
|
|
49
|
+
ontologyRid: _Core.OntologyRid,
|
|
50
|
+
objectType: _Core.ObjectTypeApiName,
|
|
51
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
52
52
|
$queryParams: {
|
|
53
|
-
properties: Array<SelectedPropertyApiName>;
|
|
53
|
+
properties: Array<_Core.SelectedPropertyApiName>;
|
|
54
54
|
}
|
|
55
|
-
]): Promise<OntologyObject>;
|
|
55
|
+
]): Promise<_Core.OntologyObject>;
|
|
56
56
|
/**
|
|
57
57
|
* Lists the linked objects for a specific object and the given link type.
|
|
58
58
|
*
|
|
@@ -79,17 +79,17 @@ export declare function getObject($ctx: $Client | $ClientContext, ...args: [
|
|
|
79
79
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}
|
|
80
80
|
*/
|
|
81
81
|
export declare function listLinkedObjects($ctx: $Client | $ClientContext, ...args: [
|
|
82
|
-
ontologyRid: OntologyRid,
|
|
83
|
-
objectType: ObjectTypeApiName,
|
|
84
|
-
primaryKey: PropertyValueEscapedString,
|
|
85
|
-
linkType: LinkTypeApiName,
|
|
82
|
+
ontologyRid: _Core.OntologyRid,
|
|
83
|
+
objectType: _Core.ObjectTypeApiName,
|
|
84
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
85
|
+
linkType: _Core.LinkTypeApiName,
|
|
86
86
|
$queryParams: {
|
|
87
|
-
pageSize?: PageSize | undefined;
|
|
88
|
-
pageToken?: PageToken | undefined;
|
|
89
|
-
properties: Array<SelectedPropertyApiName>;
|
|
90
|
-
orderBy?: OrderBy | undefined;
|
|
87
|
+
pageSize?: _Core.PageSize | undefined;
|
|
88
|
+
pageToken?: _Core.PageToken | undefined;
|
|
89
|
+
properties: Array<_Core.SelectedPropertyApiName>;
|
|
90
|
+
orderBy?: _Core.OrderBy | undefined;
|
|
91
91
|
}
|
|
92
|
-
]): Promise<ListLinkedObjectsResponse>;
|
|
92
|
+
]): Promise<_Core.ListLinkedObjectsResponse>;
|
|
93
93
|
/**
|
|
94
94
|
* Get a specific linked object that originates from another object. If there is no link between the two objects,
|
|
95
95
|
* LinkedObjectNotFound is thrown.
|
|
@@ -102,15 +102,15 @@ export declare function listLinkedObjects($ctx: $Client | $ClientContext, ...arg
|
|
|
102
102
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
|
|
103
103
|
*/
|
|
104
104
|
export declare function getLinkedObject($ctx: $Client | $ClientContext, ...args: [
|
|
105
|
-
ontologyRid: OntologyRid,
|
|
106
|
-
objectType: ObjectTypeApiName,
|
|
107
|
-
primaryKey: PropertyValueEscapedString,
|
|
108
|
-
linkType: LinkTypeApiName,
|
|
109
|
-
linkedObjectPrimaryKey: PropertyValueEscapedString,
|
|
105
|
+
ontologyRid: _Core.OntologyRid,
|
|
106
|
+
objectType: _Core.ObjectTypeApiName,
|
|
107
|
+
primaryKey: _Core.PropertyValueEscapedString,
|
|
108
|
+
linkType: _Core.LinkTypeApiName,
|
|
109
|
+
linkedObjectPrimaryKey: _Core.PropertyValueEscapedString,
|
|
110
110
|
$queryParams: {
|
|
111
|
-
properties: Array<SelectedPropertyApiName>;
|
|
111
|
+
properties: Array<_Core.SelectedPropertyApiName>;
|
|
112
112
|
}
|
|
113
|
-
]): Promise<OntologyObject>;
|
|
113
|
+
]): Promise<_Core.OntologyObject>;
|
|
114
114
|
/**
|
|
115
115
|
* Search for objects in the specified ontology and object type. The request body is used
|
|
116
116
|
* to filter objects based on the specified query. The supported queries are:
|
|
@@ -140,10 +140,10 @@ export declare function getLinkedObject($ctx: $Client | $ClientContext, ...args:
|
|
|
140
140
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
|
|
141
141
|
*/
|
|
142
142
|
export declare function searchObjects($ctx: $Client | $ClientContext, ...args: [
|
|
143
|
-
ontologyRid: OntologyRid,
|
|
144
|
-
objectType: ObjectTypeApiName,
|
|
145
|
-
$body: SearchObjectsRequest
|
|
146
|
-
]): Promise<SearchObjectsResponse>;
|
|
143
|
+
ontologyRid: _Core.OntologyRid,
|
|
144
|
+
objectType: _Core.ObjectTypeApiName,
|
|
145
|
+
$body: _Core.SearchObjectsRequest
|
|
146
|
+
]): Promise<_Core.SearchObjectsResponse>;
|
|
147
147
|
/**
|
|
148
148
|
* Perform functions on object fields in the specified ontology and object type.
|
|
149
149
|
*
|
|
@@ -155,8 +155,8 @@ export declare function searchObjects($ctx: $Client | $ClientContext, ...args: [
|
|
|
155
155
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
|
|
156
156
|
*/
|
|
157
157
|
export declare function aggregateObjects($ctx: $Client | $ClientContext, ...args: [
|
|
158
|
-
ontologyRid: OntologyRid,
|
|
159
|
-
objectType: ObjectTypeApiName,
|
|
160
|
-
$body: AggregateObjectsRequest
|
|
161
|
-
]): Promise<AggregateObjectsResponse>;
|
|
158
|
+
ontologyRid: _Core.OntologyRid,
|
|
159
|
+
objectType: _Core.ObjectTypeApiName,
|
|
160
|
+
$body: _Core.AggregateObjectsRequest
|
|
161
|
+
]): Promise<_Core.AggregateObjectsResponse>;
|
|
162
162
|
//# sourceMappingURL=OntologyObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyObject.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObject.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"OntologyObject.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObject.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAmB7B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IAEnC,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QACjD,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC;KACrC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAEpC;AAWD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAE5C,YAAY,EAAE;QAAE,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAA;KAAE;CACnE,GACA,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAE/B;AAiBD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAE/B,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QACjD,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC;KACrC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAC/B,sBAAsB,EAAE,KAAK,CAAC,0BAA0B;IAExD,YAAY,EAAE;QAAE,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAA;KAAE;CACnE,GACA,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAE/B;AAUD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,oBAAoB;CAClC,GACA,OAAO,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAEtC;AAUD;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,uBAAuB;CACrC,GACA,OAAO,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAEzC"}
|
|
@@ -1,4 +1,151 @@
|
|
|
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 _listObjects = [0, "/v1/ontologies/{0}/objects/{1}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the objects for the given Ontology and object type.
|
|
21
|
+
*
|
|
22
|
+
* This endpoint supports filtering objects.
|
|
23
|
+
* See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
|
|
24
|
+
*
|
|
25
|
+
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
26
|
+
* repeated objects in the response pages.
|
|
27
|
+
*
|
|
28
|
+
* 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
|
|
29
|
+
* 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.
|
|
30
|
+
*
|
|
31
|
+
* Each page may be smaller or larger than the requested page size. However, it
|
|
32
|
+
* is guaranteed that if there are more results available, at least one result will be present
|
|
33
|
+
* in the response.
|
|
34
|
+
*
|
|
35
|
+
* Note that null value properties will not be returned.
|
|
36
|
+
*
|
|
37
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
38
|
+
*
|
|
39
|
+
* @public
|
|
40
|
+
*
|
|
41
|
+
* Required Scopes: [api:ontologies-read]
|
|
42
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
|
|
43
|
+
*/
|
|
44
|
+
export function listObjects($ctx, ...args) {
|
|
45
|
+
return $foundryPlatformFetch($ctx, _listObjects, ...args);
|
|
46
|
+
}
|
|
47
|
+
const _getObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}", 2];
|
|
48
|
+
/**
|
|
49
|
+
* Gets a specific object with the given primary key.
|
|
50
|
+
*
|
|
51
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
*
|
|
55
|
+
* Required Scopes: [api:ontologies-read]
|
|
56
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
|
|
57
|
+
*/
|
|
58
|
+
export function getObject($ctx, ...args) {
|
|
59
|
+
return $foundryPlatformFetch($ctx, _getObject, ...args);
|
|
60
|
+
}
|
|
61
|
+
const _listLinkedObjects = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}", 2];
|
|
62
|
+
/**
|
|
63
|
+
* Lists the linked objects for a specific object and the given link type.
|
|
64
|
+
*
|
|
65
|
+
* This endpoint supports filtering objects.
|
|
66
|
+
* See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
|
|
67
|
+
*
|
|
68
|
+
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
69
|
+
* repeated objects in the response pages.
|
|
70
|
+
*
|
|
71
|
+
* 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
|
|
72
|
+
* 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.
|
|
73
|
+
*
|
|
74
|
+
* Each page may be smaller or larger than the requested page size. However, it
|
|
75
|
+
* is guaranteed that if there are more results available, at least one result will be present
|
|
76
|
+
* in the response.
|
|
77
|
+
*
|
|
78
|
+
* Note that null value properties will not be returned.
|
|
79
|
+
*
|
|
80
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*
|
|
84
|
+
* Required Scopes: [api:ontologies-read]
|
|
85
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}
|
|
86
|
+
*/
|
|
87
|
+
export function listLinkedObjects($ctx, ...args) {
|
|
88
|
+
return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);
|
|
89
|
+
}
|
|
90
|
+
const _getLinkedObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}", 2];
|
|
91
|
+
/**
|
|
92
|
+
* Get a specific linked object that originates from another object. If there is no link between the two objects,
|
|
93
|
+
* LinkedObjectNotFound is thrown.
|
|
94
|
+
*
|
|
95
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*
|
|
99
|
+
* Required Scopes: [api:ontologies-read]
|
|
100
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
|
|
101
|
+
*/
|
|
102
|
+
export function getLinkedObject($ctx, ...args) {
|
|
103
|
+
return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);
|
|
104
|
+
}
|
|
105
|
+
const _searchObjects = [1, "/v1/ontologies/{0}/objects/{1}/search", 1];
|
|
106
|
+
/**
|
|
107
|
+
* Search for objects in the specified ontology and object type. The request body is used
|
|
108
|
+
* to filter objects based on the specified query. The supported queries are:
|
|
109
|
+
*
|
|
110
|
+
* | Query type | Description | Supported Types |
|
|
111
|
+
* |----------|-----------------------------------------------------------------------------------|---------------------------------|
|
|
112
|
+
* | lt | The provided property is less than the provided value. | number, string, date, timestamp |
|
|
113
|
+
* | gt | The provided property is greater than the provided value. | number, string, date, timestamp |
|
|
114
|
+
* | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |
|
|
115
|
+
* | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |
|
|
116
|
+
* | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |
|
|
117
|
+
* | isNull | The provided property is (or is not) null. | all |
|
|
118
|
+
* | contains | The provided property contains the provided value. | array |
|
|
119
|
+
* | not | The sub-query does not match. | N/A (applied on a query) |
|
|
120
|
+
* | and | All the sub-queries match. | N/A (applied on queries) |
|
|
121
|
+
* | or | At least one of the sub-queries match. | N/A (applied on queries) |
|
|
122
|
+
* | prefix | The provided property starts with the provided value. | string |
|
|
123
|
+
* | phrase | The provided property contains the provided value as a substring. | string |
|
|
124
|
+
* | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
|
|
125
|
+
* | allTerms | The provided property contains all the terms separated by whitespace. | string | |
|
|
126
|
+
*
|
|
127
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*
|
|
131
|
+
* Required Scopes: [api:ontologies-read]
|
|
132
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
|
|
133
|
+
*/
|
|
134
|
+
export function searchObjects($ctx, ...args) {
|
|
135
|
+
return $foundryPlatformFetch($ctx, _searchObjects, ...args);
|
|
136
|
+
}
|
|
137
|
+
const _aggregateObjects = [1, "/v1/ontologies/{0}/objects/{1}/aggregate", 1];
|
|
138
|
+
/**
|
|
139
|
+
* Perform functions on object fields in the specified ontology and object type.
|
|
140
|
+
*
|
|
141
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
142
|
+
*
|
|
143
|
+
* @public
|
|
144
|
+
*
|
|
145
|
+
* Required Scopes: [api:ontologies-read]
|
|
146
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
|
|
147
|
+
*/
|
|
148
|
+
export function aggregateObjects($ctx, ...args) {
|
|
149
|
+
return $foundryPlatformFetch($ctx, _aggregateObjects, ...args);
|
|
150
|
+
}
|
|
4
151
|
//# sourceMappingURL=OntologyObject.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"OntologyObject.js"}
|
|
1
|
+
{"version":3,"file":"OntologyObject.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listObjects","listObjects","$ctx","args","_getObject","getObject","_listLinkedObjects","listLinkedObjects","_getLinkedObject","getLinkedObject","_searchObjects","searchObjects","_aggregateObjects","aggregateObjects"],"sources":["OntologyObject.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 _listObjects = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}\n */\nexport function listObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjects, ...args);\n}\nconst _getObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}\n */\nexport function getObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObject, ...args);\n}\nconst _listLinkedObjects = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object. If there is no link between the two objects,\n * LinkedObjectNotFound is thrown.\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: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);\n}\nconst _searchObjects = [1, \"/v1/ontologies/{0}/objects/{1}/search\", 1];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\n *\n * | Query type | Description | Supported Types |\n * |----------|-----------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | prefix | The provided property starts with the provided value. | string |\n * | phrase | The provided property contains the provided value as a substring. | string |\n * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | allTerms | The provided property contains all the terms separated by whitespace. | string | |\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search\n */\nexport function searchObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjects, ...args);\n}\nconst _aggregateObjects = [1, \"/v1/ontologies/{0}/objects/{1}/aggregate\", 1];\n/**\n * Perform functions on object fields in the specified ontology and object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate\n */\nexport function aggregateObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjects, ...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,YAAY,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AAC7D;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,WAAWA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,YAAY,EAAE,GAAGG,IAAI,CAAC;AAC7D;AACA,MAAMC,UAAU,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,UAAU,EAAE,GAAGD,IAAI,CAAC;AAC3D;AACA,MAAMG,kBAAkB,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACjF;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,iBAAiBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,kBAAkB,EAAE,GAAGH,IAAI,CAAC;AACnE;AACA,MAAMK,gBAAgB,GAAG,CAAC,CAAC,EAAE,kDAAkD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,gBAAgB,EAAE,GAAGL,IAAI,CAAC;AACjE;AACA,MAAMO,cAAc,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AACtE;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,aAAaA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,cAAc,EAAE,GAAGP,IAAI,CAAC;AAC/D;AACA,MAAMS,iBAAiB,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,iBAAiB,EAAE,GAAGT,IAAI,CAAC;AAClE","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
|
* Executes a Query using the given parameters. Optional parameters do not need to be supplied.
|
|
@@ -11,11 +11,8 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
11
11
|
* URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
|
|
12
12
|
*/
|
|
13
13
|
export declare function executeQuery($ctx: $Client | $ClientContext, ...args: [
|
|
14
|
-
ontologyRid: OntologyRid,
|
|
15
|
-
queryApiName: QueryApiName,
|
|
16
|
-
$body: ExecuteQueryRequest
|
|
17
|
-
|
|
18
|
-
preview?: PreviewMode | undefined;
|
|
19
|
-
}
|
|
20
|
-
]): Promise<ExecuteQueryResponse>;
|
|
14
|
+
ontologyRid: _Core.OntologyRid,
|
|
15
|
+
queryApiName: _Core.QueryApiName,
|
|
16
|
+
$body: _Core.ExecuteQueryRequest
|
|
17
|
+
]): Promise<_Core.ExecuteQueryResponse>;
|
|
21
18
|
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAc7B;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,YAAY,EAAE,KAAK,CAAC,YAAY;IAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB;CACjC,GACA,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC"}
|
|
@@ -1,4 +1,32 @@
|
|
|
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 _executeQuery = [1, "/v1/ontologies/{0}/queries/{1}/execute", 1];
|
|
19
|
+
/**
|
|
20
|
+
* Executes a Query using the given parameters. Optional parameters do not need to be supplied.
|
|
21
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
22
|
+
* following operation scopes: `api:ontologies-read`.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:ontologies-read]
|
|
27
|
+
* URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
|
|
28
|
+
*/
|
|
29
|
+
export function executeQuery($ctx, ...args) {
|
|
30
|
+
return $foundryPlatformFetch($ctx, _executeQuery, ...args);
|
|
31
|
+
}
|
|
4
32
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Query.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_executeQuery","executeQuery","$ctx","args"],"sources":["Query.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _executeQuery = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 1];\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute\n */\nexport function executeQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _executeQuery, ...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,aAAa,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,aAAa,EAAE,GAAGG,IAAI,CAAC;AAC9D","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 query types for the given Ontology.
|
|
@@ -14,13 +14,12 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
14
14
|
* URL: /v1/ontologies/{ontologyRid}/queryTypes
|
|
15
15
|
*/
|
|
16
16
|
export declare function listQueryTypes($ctx: $Client | $ClientContext, ...args: [
|
|
17
|
-
ontologyRid: OntologyRid,
|
|
17
|
+
ontologyRid: _Core.OntologyRid,
|
|
18
18
|
$queryParams?: {
|
|
19
|
-
pageSize?: PageSize | undefined;
|
|
20
|
-
pageToken?: PageToken | undefined;
|
|
21
|
-
preview?: PreviewMode | undefined;
|
|
19
|
+
pageSize?: _Core.PageSize | undefined;
|
|
20
|
+
pageToken?: _Core.PageToken | undefined;
|
|
22
21
|
}
|
|
23
|
-
]): Promise<ListQueryTypesResponse>;
|
|
22
|
+
]): Promise<_Core.ListQueryTypesResponse>;
|
|
24
23
|
/**
|
|
25
24
|
* Gets a specific query type with the given API name.
|
|
26
25
|
*
|
|
@@ -31,11 +30,5 @@ export declare function listQueryTypes($ctx: $Client | $ClientContext, ...args:
|
|
|
31
30
|
* Required Scopes: [api:ontologies-read]
|
|
32
31
|
* URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
|
|
33
32
|
*/
|
|
34
|
-
export declare function getQueryType($ctx: $Client | $ClientContext, ...args: [
|
|
35
|
-
ontologyRid: OntologyRid,
|
|
36
|
-
queryApiName: QueryApiName,
|
|
37
|
-
$queryParams?: {
|
|
38
|
-
preview?: PreviewMode | undefined;
|
|
39
|
-
}
|
|
40
|
-
]): Promise<QueryType>;
|
|
33
|
+
export declare function getQueryType($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, queryApiName: _Core.QueryApiName]): Promise<_Core.QueryType>;
|
|
41
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,
|
|
1
|
+
{"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAE9B,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AASD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,GAC1E,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAE1B"}
|
|
@@ -1,4 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _listQueryTypes = [0, "/v1/ontologies/{0}/queryTypes", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the query types for the given Ontology.
|
|
21
|
+
*
|
|
22
|
+
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
23
|
+
* results available, at least one result will be present in the response.
|
|
24
|
+
*
|
|
25
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
*
|
|
29
|
+
* Required Scopes: [api:ontologies-read]
|
|
30
|
+
* URL: /v1/ontologies/{ontologyRid}/queryTypes
|
|
31
|
+
*/
|
|
32
|
+
export function listQueryTypes($ctx, ...args) {
|
|
33
|
+
return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);
|
|
34
|
+
}
|
|
35
|
+
const _getQueryType = [0, "/v1/ontologies/{0}/queryTypes/{1}"];
|
|
36
|
+
/**
|
|
37
|
+
* Gets a specific query type with the given API name.
|
|
38
|
+
*
|
|
39
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
40
|
+
*
|
|
41
|
+
* @public
|
|
42
|
+
*
|
|
43
|
+
* Required Scopes: [api:ontologies-read]
|
|
44
|
+
* URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
|
|
45
|
+
*/
|
|
46
|
+
export function getQueryType($ctx, ...args) {
|
|
47
|
+
return $foundryPlatformFetch($ctx, _getQueryType, ...args);
|
|
48
|
+
}
|
|
4
49
|
//# sourceMappingURL=QueryType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"QueryType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listQueryTypes","listQueryTypes","$ctx","args","_getQueryType","getQueryType"],"sources":["QueryType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listQueryTypes = [0, \"/v1/ontologies/{0}/queryTypes\", 2];\n/**\n * Lists the query types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes\n */\nexport function listQueryTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);\n}\nconst _getQueryType = [0, \"/v1/ontologies/{0}/queryTypes/{1}\"];\n/**\n * Gets a specific query type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}\n */\nexport function getQueryType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getQueryType, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,eAAe,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,eAAe,EAAE,GAAGG,IAAI,CAAC;AAChE;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,aAAa,EAAE,GAAGD,IAAI,CAAC;AAC9D","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/internal.foundry.ontologies",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.10",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,11 +17,9 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@osdk/
|
|
21
|
-
"@osdk/
|
|
22
|
-
"@osdk/
|
|
23
|
-
"@osdk/shared.net": "~1.12.0",
|
|
24
|
-
"@osdk/shared.net.platformapi": "~0.2.0"
|
|
20
|
+
"@osdk/shared.client": "^1.0.0-beta.3",
|
|
21
|
+
"@osdk/internal.foundry.core": "0.2.0-beta.10",
|
|
22
|
+
"@osdk/shared.net.platformapi": "~0.3.0-beta.3"
|
|
25
23
|
},
|
|
26
24
|
"devDependencies": {
|
|
27
25
|
"typescript": "^5.5.4",
|
|
@@ -41,14 +39,14 @@
|
|
|
41
39
|
"templates",
|
|
42
40
|
"*.d.ts"
|
|
43
41
|
],
|
|
44
|
-
"main": "./build/js/index.cjs",
|
|
45
42
|
"module": "./build/esm/index.js",
|
|
46
43
|
"types": "./build/esm/index.d.ts",
|
|
47
44
|
"sls": {
|
|
48
45
|
"dependencies": {
|
|
49
46
|
"com.palantir.foundry.api:api-gateway": {
|
|
50
|
-
"minVersion": "1.
|
|
51
|
-
"maxVersion": "1.x.x"
|
|
47
|
+
"minVersion": "1.934.0",
|
|
48
|
+
"maxVersion": "1.x.x",
|
|
49
|
+
"optional": true
|
|
52
50
|
}
|
|
53
51
|
}
|
|
54
52
|
},
|
|
@@ -59,7 +57,6 @@
|
|
|
59
57
|
"clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
|
|
60
58
|
"fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
|
|
61
59
|
"lint": "eslint . && dprint check --config $(find-up dprint.json)",
|
|
62
|
-
"transpile": "monorepo.tool.transpile"
|
|
63
|
-
"typecheck": "monorepo.tool.typecheck esm"
|
|
60
|
+
"transpile": "monorepo.tool.transpile"
|
|
64
61
|
}
|
|
65
62
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __export } from './chunk-PZ5AY32C.js';
|
|
2
|
-
import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
|
|
3
|
-
|
|
4
|
-
// src/public/Attachment.ts
|
|
5
|
-
var Attachment_exports = {};
|
|
6
|
-
__export(Attachment_exports, {
|
|
7
|
-
getAttachment: () => getAttachment,
|
|
8
|
-
getAttachmentContent: () => getAttachmentContent,
|
|
9
|
-
uploadAttachment: () => uploadAttachment
|
|
10
|
-
});
|
|
11
|
-
var _uploadAttachment = [1, "/v1/attachments/upload", 7, "*/*"];
|
|
12
|
-
function uploadAttachment($ctx, ...args) {
|
|
13
|
-
return foundryPlatformFetch($ctx, _uploadAttachment, ...args);
|
|
14
|
-
}
|
|
15
|
-
var _getAttachmentContent = [0, "/v1/attachments/{0}/content", , , "*/*"];
|
|
16
|
-
function getAttachmentContent($ctx, ...args) {
|
|
17
|
-
return foundryPlatformFetch($ctx, _getAttachmentContent, ...args);
|
|
18
|
-
}
|
|
19
|
-
var _getAttachment = [0, "/v1/attachments/{0}"];
|
|
20
|
-
function getAttachment($ctx, ...args) {
|
|
21
|
-
return foundryPlatformFetch($ctx, _getAttachment, ...args);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export { Attachment_exports, getAttachment, getAttachmentContent, uploadAttachment };
|
|
25
|
-
//# sourceMappingURL=chunk-3GNJUZCN.js.map
|
|
26
|
-
//# sourceMappingURL=chunk-3GNJUZCN.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Attachment.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,oBAAA,EAAA,MAAA,oBAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,wBAAA,EAA0B,GAAG,KAAK,CAAA,CAAA;AAiBzD,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D,CAAA;AACA,IAAM,wBAAwB,CAAC,CAAA,EAAG,6BAA8B,MAAG,KAAK,CAAA,CAAA;AAajE,SAAS,oBAAA,CAAqB,SAAS,IAAM,EAAA;AAClD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,qBAAuB,EAAA,GAAG,IAAI,CAAA,CAAA;AACnE,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,qBAAqB,CAAA,CAAA;AAazC,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D","file":"chunk-3GNJUZCN.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _uploadAttachment = [1, \"/v1/attachments/upload\", 7, \"*/*\"];\n\n/**\n * Upload an attachment to use in an action. Any attachment which has not been linked to an object via\n * an action within one hour after upload will be removed.\n * Previously mapped attachments which are not connected to any object anymore are also removed on\n * a biweekly basis.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v1/attachments/upload\n */\nexport function uploadAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadAttachment, ...args);\n}\nconst _getAttachmentContent = [0, \"/v1/attachments/{0}/content\",,, \"*/*\"];\n\n/**\n * Get the content of an attachment.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/attachments/{attachmentRid}/content\n */\nexport function getAttachmentContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContent, ...args);\n}\nconst _getAttachment = [0, \"/v1/attachments/{0}\"];\n\n/**\n * Get the metadata of an attachment.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/attachments/{attachmentRid}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...args);\n}"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __export } from './chunk-PZ5AY32C.js';
|
|
2
|
-
import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
|
|
3
|
-
|
|
4
|
-
// src/public/ActionType.ts
|
|
5
|
-
var ActionType_exports = {};
|
|
6
|
-
__export(ActionType_exports, {
|
|
7
|
-
getActionType: () => getActionType,
|
|
8
|
-
listActionTypes: () => listActionTypes
|
|
9
|
-
});
|
|
10
|
-
var _listActionTypes = [0, "/v1/ontologies/{0}/actionTypes", 2];
|
|
11
|
-
function listActionTypes($ctx, ...args) {
|
|
12
|
-
return foundryPlatformFetch($ctx, _listActionTypes, ...args);
|
|
13
|
-
}
|
|
14
|
-
var _getActionType = [0, "/v1/ontologies/{0}/actionTypes/{1}"];
|
|
15
|
-
function getActionType($ctx, ...args) {
|
|
16
|
-
return foundryPlatformFetch($ctx, _getActionType, ...args);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { ActionType_exports, getActionType, listActionTypes };
|
|
20
|
-
//# sourceMappingURL=chunk-5RUWELWF.js.map
|
|
21
|
-
//# sourceMappingURL=chunk-5RUWELWF.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/ActionType.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAezD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,oCAAoC,CAAA,CAAA;AAYxD,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D","file":"chunk-5RUWELWF.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _listActionTypes = [0, \"/v1/ontologies/{0}/actionTypes\", 2];\n\n/**\n * Lists the action types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/actionTypes\n */\nexport function listActionTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listActionTypes, ...args);\n}\nconst _getActionType = [0, \"/v1/ontologies/{0}/actionTypes/{1}\"];\n\n/**\n * Gets a specific action type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/actionTypes/{actionTypeApiName}\n */\nexport function getActionType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getActionType, ...args);\n}"]}
|