@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,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":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* Executes a Query using the given parameters. Optional parameters do not need to be supplied.
|
|
5
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
6
|
+
* following operation scopes: `api:ontologies-read`.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:ontologies-read]
|
|
11
|
+
* URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
|
|
12
|
+
*/
|
|
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
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;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":[]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
/**
|
|
4
|
+
* Lists the query types for the given Ontology.
|
|
5
|
+
*
|
|
6
|
+
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
7
|
+
* results available, at least one result will be present in the response.
|
|
8
|
+
*
|
|
9
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* Required Scopes: [api:ontologies-read]
|
|
14
|
+
* URL: /v1/ontologies/{ontologyRid}/queryTypes
|
|
15
|
+
*/
|
|
16
|
+
export declare function list($ctx: $Client | $ClientContext, ...args: [
|
|
17
|
+
ontologyRid: _Core.OntologyRid,
|
|
18
|
+
$queryParams?: {
|
|
19
|
+
pageSize?: _Core.PageSize | undefined;
|
|
20
|
+
pageToken?: _Core.PageToken | undefined;
|
|
21
|
+
}
|
|
22
|
+
]): Promise<_Core.ListQueryTypesResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets a specific query type with the given API name.
|
|
25
|
+
*
|
|
26
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
*
|
|
30
|
+
* Required Scopes: [api:ontologies-read]
|
|
31
|
+
* URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
|
|
32
|
+
*/
|
|
33
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, queryApiName: _Core.QueryApiName]): Promise<_Core.QueryType>;
|
|
34
|
+
//# sourceMappingURL=QueryType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,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":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.js","names":[],"sources":["_components.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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.js","names":[],"sources":["_errors.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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
package/build/esm/index.js
CHANGED
|
@@ -1,11 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
export * as Actions from "./public/Action.js";
|
|
17
|
+
export * as ActionTypes from "./public/ActionType.js";
|
|
18
|
+
export * as Attachments from "./public/Attachment.js";
|
|
19
|
+
export * as ObjectTypes from "./public/ObjectType.js";
|
|
20
|
+
export * as Ontologies from "./public/Ontology.js";
|
|
21
|
+
export * as OntologyObjects from "./public/OntologyObject.js";
|
|
22
|
+
export * as Queries from "./public/Query.js";
|
|
23
|
+
export * as QueryTypes from "./public/QueryType.js";
|
|
11
24
|
//# sourceMappingURL=index.js.map
|
package/build/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":["Actions","ActionTypes","Attachments","ObjectTypes","Ontologies","OntologyObjects","Queries","QueryTypes"],"sources":["index.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 */\nexport * as Actions from \"./public/Action.js\";\nexport * as ActionTypes from \"./public/ActionType.js\";\nexport * as Attachments from \"./public/Attachment.js\";\nexport * as ObjectTypes from \"./public/ObjectType.js\";\nexport * as Ontologies from \"./public/Ontology.js\";\nexport * as OntologyObjects from \"./public/OntologyObject.js\";\nexport * as Queries from \"./public/Query.js\";\nexport * as QueryTypes from \"./public/QueryType.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,OAAO,MAAM,oBAAoB;AAC7C,OAAO,KAAKC,WAAW,MAAM,wBAAwB;AACrD,OAAO,KAAKC,WAAW,MAAM,wBAAwB;AACrD,OAAO,KAAKC,WAAW,MAAM,wBAAwB;AACrD,OAAO,KAAKC,UAAU,MAAM,sBAAsB;AAClD,OAAO,KAAKC,eAAe,MAAM,4BAA4B;AAC7D,OAAO,KAAKC,OAAO,MAAM,mBAAmB;AAC5C,OAAO,KAAKC,UAAU,MAAM,uBAAuB","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
|
* Applies an action using the given parameters. Changes to the Ontology are eventually consistent and may take
|
|
@@ -15,11 +15,11 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
15
15
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
16
16
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply
|
|
17
17
|
*/
|
|
18
|
-
export declare function
|
|
19
|
-
ontologyRid: OntologyRid,
|
|
20
|
-
actionType: ActionTypeApiName,
|
|
21
|
-
$body: ApplyActionRequest
|
|
22
|
-
]): Promise<ApplyActionResponse>;
|
|
18
|
+
export declare function apply($ctx: $Client | $ClientContext, ...args: [
|
|
19
|
+
ontologyRid: _Core.OntologyRid,
|
|
20
|
+
actionType: _Core.ActionTypeApiName,
|
|
21
|
+
$body: _Core.ApplyActionRequest
|
|
22
|
+
]): Promise<_Core.ApplyActionResponse>;
|
|
23
23
|
/**
|
|
24
24
|
* Applies multiple actions (of the same Action Type) using the given parameters.
|
|
25
25
|
* Changes to the Ontology are eventually consistent and may take some time to be visible.
|
|
@@ -38,11 +38,11 @@ export declare function applyAction($ctx: $Client | $ClientContext, ...args: [
|
|
|
38
38
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
39
39
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch
|
|
40
40
|
*/
|
|
41
|
-
export declare function
|
|
42
|
-
ontologyRid: OntologyRid,
|
|
43
|
-
actionType: ActionTypeApiName,
|
|
44
|
-
$body: BatchApplyActionRequest
|
|
45
|
-
]): Promise<BatchApplyActionResponse>;
|
|
41
|
+
export declare function applyBatch($ctx: $Client | $ClientContext, ...args: [
|
|
42
|
+
ontologyRid: _Core.OntologyRid,
|
|
43
|
+
actionType: _Core.ActionTypeApiName,
|
|
44
|
+
$body: _Core.BatchApplyActionRequest
|
|
45
|
+
]): Promise<_Core.BatchApplyActionResponse>;
|
|
46
46
|
/**
|
|
47
47
|
* Applies an action asynchronously using the given parameters. Changes to the Ontology are eventually consistent
|
|
48
48
|
* and may take some time to be visible.
|
|
@@ -58,12 +58,12 @@ export declare function applyActionBatch($ctx: $Client | $ClientContext, ...args
|
|
|
58
58
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
59
59
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync
|
|
60
60
|
*/
|
|
61
|
-
export declare function
|
|
62
|
-
ontologyRid: OntologyRid,
|
|
63
|
-
actionType: ActionTypeApiName,
|
|
64
|
-
$body: AsyncApplyActionRequest,
|
|
61
|
+
export declare function applyAsync($ctx: $Client | $ClientContext, ...args: [
|
|
62
|
+
ontologyRid: _Core.OntologyRid,
|
|
63
|
+
actionType: _Core.ActionTypeApiName,
|
|
64
|
+
$body: _Core.AsyncApplyActionRequest,
|
|
65
65
|
$queryParams?: {
|
|
66
|
-
preview?: PreviewMode | undefined;
|
|
66
|
+
preview?: _Core.PreviewMode | undefined;
|
|
67
67
|
}
|
|
68
68
|
]): Promise<void>;
|
|
69
69
|
/**
|
|
@@ -72,14 +72,14 @@ export declare function applyActionAsync($ctx: $Client | $ClientContext, ...args
|
|
|
72
72
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
73
73
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}
|
|
74
74
|
*/
|
|
75
|
-
export declare function
|
|
76
|
-
ontologyRid: OntologyRid,
|
|
77
|
-
actionType: ActionTypeApiName,
|
|
78
|
-
actionRid: ActionRid,
|
|
75
|
+
export declare function getOperationStatus($ctx: $Client | $ClientContext, ...args: [
|
|
76
|
+
ontologyRid: _Core.OntologyRid,
|
|
77
|
+
actionType: _Core.ActionTypeApiName,
|
|
78
|
+
actionRid: _Core.ActionRid,
|
|
79
79
|
$queryParams?: {
|
|
80
|
-
preview?: PreviewMode | undefined;
|
|
80
|
+
preview?: _Core.PreviewMode | undefined;
|
|
81
81
|
}
|
|
82
|
-
]): Promise<AsyncActionOperation>;
|
|
82
|
+
]): Promise<_Core.AsyncActionOperation>;
|
|
83
83
|
/**
|
|
84
84
|
* Validates if an action can be run with the given set of parameters.
|
|
85
85
|
* The response contains the evaluation of parameters and **submission criteria**
|
|
@@ -97,9 +97,9 @@ export declare function getAsyncActionStatus($ctx: $Client | $ClientContext, ...
|
|
|
97
97
|
* Required Scopes: [api:ontologies-read]
|
|
98
98
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate
|
|
99
99
|
*/
|
|
100
|
-
export declare function
|
|
101
|
-
ontologyRid: OntologyRid,
|
|
102
|
-
actionType: ActionTypeApiName,
|
|
103
|
-
$body: ValidateActionRequest
|
|
104
|
-
]): Promise<ValidateActionResponse>;
|
|
100
|
+
export declare function validate($ctx: $Client | $ClientContext, ...args: [
|
|
101
|
+
ontologyRid: _Core.OntologyRid,
|
|
102
|
+
actionType: _Core.ActionTypeApiName,
|
|
103
|
+
$body: _Core.ValidateActionRequest
|
|
104
|
+
]): Promise<_Core.ValidateActionResponse>;
|
|
105
105
|
//# sourceMappingURL=Action.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/public/Action.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/public/Action.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;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,KAAK,CACnB,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,kBAAkB;CAChC,GACA,OAAO,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAEpC;AAUD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,CACxB,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;AAWD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CACxB,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;IACpC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAWD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,SAAS,EAAE,KAAK,CAAC,SAAS;IAE1B,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC;AAUD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,QAAQ,CACtB,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,qBAAqB;CACnC,GACA,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC"}
|