@osdk/internal.foundry.ontologies 0.2.0-beta.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -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.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.js +23 -10
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Action.d.ts +27 -27
- 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 +10 -7
- 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 -7
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +71 -3
- package/build/esm/public/Attachment.js.map +1 -1
- package/build/esm/public/ObjectType.d.ts +16 -16
- 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 +41 -41
- 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 +6 -6
- 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 +7 -7
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/QueryType.js +48 -3
- package/build/esm/public/QueryType.js.map +1 -1
- package/package.json +6 -7
- 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-SALCOSHR.js +0 -16
- package/build/browser/chunk-SALCOSHR.js.map +0 -1
- package/build/browser/chunk-UM4N5F6D.js +0 -21
- package/build/browser/chunk-UM4N5F6D.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-YCOLCQXU.js +0 -31
- package/build/browser/chunk-YCOLCQXU.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-SALCOSHR.js +0 -16
- package/build/esm/chunk-SALCOSHR.js.map +0 -1
- package/build/esm/chunk-UM4N5F6D.js +0 -21
- package/build/esm/chunk-UM4N5F6D.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-YCOLCQXU.js +0 -31
- package/build/esm/chunk-YCOLCQXU.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Ontology.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["Ontology.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v1/ontologies\"];\n/**\n * Lists the Ontologies visible to the current user.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}\"];\n/**\n * Gets a specific ontology with the given Ontology RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,gBAAgB,CAAC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oBAAoB,CAAC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD","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.
|
|
@@ -25,16 +25,16 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
25
25
|
* Required Scopes: [api:ontologies-read]
|
|
26
26
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
|
|
27
27
|
*/
|
|
28
|
-
export declare function
|
|
29
|
-
ontologyRid: OntologyRid,
|
|
30
|
-
objectType: ObjectTypeApiName,
|
|
28
|
+
export declare function list($ctx: $Client | $ClientContext, ...args: [
|
|
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
|
*
|
|
@@ -45,14 +45,14 @@ export declare function listObjects($ctx: $Client | $ClientContext, ...args: [
|
|
|
45
45
|
* Required Scopes: [api:ontologies-read]
|
|
46
46
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
|
|
47
47
|
*/
|
|
48
|
-
export declare function
|
|
49
|
-
ontologyRid: OntologyRid,
|
|
50
|
-
objectType: ObjectTypeApiName,
|
|
51
|
-
primaryKey: PropertyValueEscapedString,
|
|
48
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [
|
|
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:
|
|
@@ -139,11 +139,11 @@ export declare function getLinkedObject($ctx: $Client | $ClientContext, ...args:
|
|
|
139
139
|
* Required Scopes: [api:ontologies-read]
|
|
140
140
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
|
|
141
141
|
*/
|
|
142
|
-
export declare function
|
|
143
|
-
ontologyRid: OntologyRid,
|
|
144
|
-
objectType: ObjectTypeApiName,
|
|
145
|
-
$body: SearchObjectsRequest
|
|
146
|
-
]): Promise<SearchObjectsResponse>;
|
|
142
|
+
export declare function search($ctx: $Client | $ClientContext, ...args: [
|
|
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
|
*
|
|
@@ -154,9 +154,9 @@ export declare function searchObjects($ctx: $Client | $ClientContext, ...args: [
|
|
|
154
154
|
* Required Scopes: [api:ontologies-read]
|
|
155
155
|
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
|
|
156
156
|
*/
|
|
157
|
-
export declare function
|
|
158
|
-
ontologyRid: OntologyRid,
|
|
159
|
-
objectType: ObjectTypeApiName,
|
|
160
|
-
$body: AggregateObjectsRequest
|
|
161
|
-
]): Promise<AggregateObjectsResponse>;
|
|
157
|
+
export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
|
|
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,IAAI,CAClB,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,GAAG,CACjB,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,MAAM,CACpB,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,SAAS,CACvB,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 _list = [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 list($ctx, ...args) {
|
|
45
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
46
|
+
}
|
|
47
|
+
const _get = [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 get($ctx, ...args) {
|
|
59
|
+
return $foundryPlatformFetch($ctx, _get, ...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 _search = [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 search($ctx, ...args) {
|
|
135
|
+
return $foundryPlatformFetch($ctx, _search, ...args);
|
|
136
|
+
}
|
|
137
|
+
const _aggregate = [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 aggregate($ctx, ...args) {
|
|
149
|
+
return $foundryPlatformFetch($ctx, _aggregate, ...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","_list","list","$ctx","args","_get","get","_listLinkedObjects","listLinkedObjects","_getLinkedObject","getLinkedObject","_search","search","_aggregate","aggregate"],"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 _list = [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 list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [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 get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...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 _search = [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 search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [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 aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,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,OAAO,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,OAAO,EAAE,GAAGP,IAAI,CAAC;AACxD;AACA,MAAMS,UAAU,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,UAAU,EAAE,GAAGT,IAAI,CAAC;AAC3D","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.
|
|
@@ -10,9 +10,9 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
10
10
|
* Required Scopes: [api:ontologies-read]
|
|
11
11
|
* URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
|
|
12
12
|
*/
|
|
13
|
-
export declare function
|
|
14
|
-
ontologyRid: OntologyRid,
|
|
15
|
-
queryApiName: QueryApiName,
|
|
16
|
-
$body: ExecuteQueryRequest
|
|
17
|
-
]): Promise<ExecuteQueryResponse>;
|
|
13
|
+
export declare function execute($ctx: $Client | $ClientContext, ...args: [
|
|
14
|
+
ontologyRid: _Core.OntologyRid,
|
|
15
|
+
queryApiName: _Core.QueryApiName,
|
|
16
|
+
$body: _Core.ExecuteQueryRequest
|
|
17
|
+
]): Promise<_Core.ExecuteQueryResponse>;
|
|
18
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,OAAO,CACrB,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 _execute = [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 execute($ctx, ...args) {
|
|
30
|
+
return $foundryPlatformFetch($ctx, _execute, ...args);
|
|
31
|
+
}
|
|
4
32
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Query.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_execute","execute","$ctx","args"],"sources":["Query.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _execute = [1, \"/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 execute($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _execute, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,QAAQ,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,QAAQ,EAAE,GAAGG,IAAI,CAAC;AACzD","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.
|
|
@@ -13,13 +13,13 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
13
13
|
* Required Scopes: [api:ontologies-read]
|
|
14
14
|
* URL: /v1/ontologies/{ontologyRid}/queryTypes
|
|
15
15
|
*/
|
|
16
|
-
export declare function
|
|
17
|
-
ontologyRid: OntologyRid,
|
|
16
|
+
export declare function list($ctx: $Client | $ClientContext, ...args: [
|
|
17
|
+
ontologyRid: _Core.OntologyRid,
|
|
18
18
|
$queryParams?: {
|
|
19
|
-
pageSize?: PageSize | undefined;
|
|
20
|
-
pageToken?: PageToken | undefined;
|
|
19
|
+
pageSize?: _Core.PageSize | undefined;
|
|
20
|
+
pageToken?: _Core.PageToken | undefined;
|
|
21
21
|
}
|
|
22
|
-
]): Promise<ListQueryTypesResponse>;
|
|
22
|
+
]): Promise<_Core.ListQueryTypesResponse>;
|
|
23
23
|
/**
|
|
24
24
|
* Gets a specific query type with the given API name.
|
|
25
25
|
*
|
|
@@ -30,5 +30,5 @@ export declare function listQueryTypes($ctx: $Client | $ClientContext, ...args:
|
|
|
30
30
|
* Required Scopes: [api:ontologies-read]
|
|
31
31
|
* URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
|
|
32
32
|
*/
|
|
33
|
-
export declare function
|
|
33
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, queryApiName: _Core.QueryApiName]): Promise<_Core.QueryType>;
|
|
34
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,IAAI,CAClB,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,GAAG,CACjB,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 _list = [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 list($ctx, ...args) {
|
|
33
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
34
|
+
}
|
|
35
|
+
const _get = [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 get($ctx, ...args) {
|
|
47
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
48
|
+
}
|
|
4
49
|
//# sourceMappingURL=QueryType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"QueryType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["QueryType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/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 list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [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 get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/internal.foundry.ontologies",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@osdk/internal.foundry.core": "0.2.0
|
|
21
|
-
"@osdk/shared.client": "
|
|
22
|
-
"@osdk/shared.net.platformapi": "~0.3.0
|
|
20
|
+
"@osdk/internal.foundry.core": "0.2.0",
|
|
21
|
+
"@osdk/shared.client": "^1.0.0",
|
|
22
|
+
"@osdk/shared.net.platformapi": "~0.3.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"typescript": "^5.5.4",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"sls": {
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"com.palantir.foundry.api:api-gateway": {
|
|
47
|
-
"minVersion": "1.
|
|
47
|
+
"minVersion": "1.934.0",
|
|
48
48
|
"maxVersion": "1.x.x",
|
|
49
49
|
"optional": true
|
|
50
50
|
}
|
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
"clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
|
|
58
58
|
"fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
|
|
59
59
|
"lint": "eslint . && dprint check --config $(find-up dprint.json)",
|
|
60
|
-
"transpile": "monorepo.tool.transpile"
|
|
61
|
-
"typecheck": "monorepo.tool.typecheck esm"
|
|
60
|
+
"transpile": "monorepo.tool.transpile"
|
|
62
61
|
}
|
|
63
62
|
}
|
|
@@ -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}"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __export } from './chunk-PZ5AY32C.js';
|
|
2
|
-
import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
|
|
3
|
-
|
|
4
|
-
// src/public/Ontology.ts
|
|
5
|
-
var Ontology_exports = {};
|
|
6
|
-
__export(Ontology_exports, {
|
|
7
|
-
getOntology: () => getOntology,
|
|
8
|
-
listOntologies: () => listOntologies
|
|
9
|
-
});
|
|
10
|
-
var _listOntologies = [0, "/v1/ontologies"];
|
|
11
|
-
function listOntologies($ctx, ...args) {
|
|
12
|
-
return foundryPlatformFetch($ctx, _listOntologies, ...args);
|
|
13
|
-
}
|
|
14
|
-
var _getOntology = [0, "/v1/ontologies/{0}"];
|
|
15
|
-
function getOntology($ctx, ...args) {
|
|
16
|
-
return foundryPlatformFetch($ctx, _getOntology, ...args);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { Ontology_exports, getOntology, listOntologies };
|
|
20
|
-
//# sourceMappingURL=chunk-ABHCL2BI.js.map
|
|
21
|
-
//# sourceMappingURL=chunk-ABHCL2BI.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Ontology.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,gBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,gBAAA,EAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,eAAA,GAAkB,CAAC,CAAA,EAAG,gBAAgB,CAAA,CAAA;AAYrC,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,YAAA,GAAe,CAAC,CAAA,EAAG,oBAAoB,CAAA,CAAA;AAYtC,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D","file":"chunk-ABHCL2BI.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 _listOntologies = [0, \"/v1/ontologies\"];\n\n/**\n * Lists the Ontologies visible to the current user.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies\n */\nexport function listOntologies($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOntologies, ...args);\n}\nconst _getOntology = [0, \"/v1/ontologies/{0}\"];\n\n/**\n * Gets a specific ontology with the given Ontology RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}\n */\nexport function getOntology($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOntology, ...args);\n}"]}
|