@osdk/internal.foundry.ontologies 0.2.0-beta.1 → 0.2.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +97 -0
- package/build/browser/_components.d.ts +4 -0
- package/build/browser/_components.d.ts.map +1 -0
- package/build/browser/_components.js +17 -0
- package/build/browser/_components.js.map +1 -0
- package/build/browser/_errors.d.ts +4 -0
- package/build/browser/_errors.d.ts.map +1 -0
- package/build/browser/_errors.js +17 -0
- package/build/browser/_errors.js.map +1 -0
- package/build/browser/index.d.ts +11 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +23 -10
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Action.d.ts +105 -0
- package/build/browser/public/Action.d.ts.map +1 -0
- package/build/browser/public/Action.js +108 -3
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionType.d.ts +37 -0
- package/build/browser/public/ActionType.d.ts.map +1 -0
- package/build/browser/public/ActionType.js +48 -3
- package/build/browser/public/ActionType.js.map +1 -1
- package/build/browser/public/Attachment.d.ts +51 -0
- package/build/browser/public/Attachment.d.ts.map +1 -0
- package/build/browser/public/Attachment.js +71 -3
- package/build/browser/public/Attachment.js.map +1 -1
- package/build/browser/public/ObjectType.d.ts +70 -0
- package/build/browser/public/ObjectType.d.ts.map +1 -0
- package/build/browser/public/ObjectType.js +79 -3
- package/build/browser/public/ObjectType.js.map +1 -1
- package/build/browser/public/Ontology.d.ts +25 -0
- package/build/browser/public/Ontology.d.ts.map +1 -0
- package/build/browser/public/Ontology.js +45 -3
- package/build/browser/public/Ontology.js.map +1 -1
- package/build/browser/public/OntologyObject.d.ts +162 -0
- package/build/browser/public/OntologyObject.d.ts.map +1 -0
- package/build/browser/public/OntologyObject.js +150 -3
- package/build/browser/public/OntologyObject.js.map +1 -1
- package/build/browser/public/Query.d.ts +18 -0
- package/build/browser/public/Query.d.ts.map +1 -0
- package/build/browser/public/Query.js +31 -3
- package/build/browser/public/Query.js.map +1 -1
- package/build/browser/public/QueryType.d.ts +34 -0
- package/build/browser/public/QueryType.d.ts.map +1 -0
- package/build/browser/public/QueryType.js +48 -3
- package/build/browser/public/QueryType.js.map +1 -1
- package/build/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.d.ts +4 -0
- package/build/esm/_errors.d.ts.map +1 -0
- package/build/esm/_errors.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +23 -10
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Action.d.ts +22 -22
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +108 -3
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionType.d.ts +9 -6
- package/build/esm/public/ActionType.d.ts.map +1 -1
- package/build/esm/public/ActionType.js +48 -3
- package/build/esm/public/ActionType.js.map +1 -1
- package/build/esm/public/Attachment.d.ts +7 -8
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +71 -3
- package/build/esm/public/Attachment.js.map +1 -1
- package/build/esm/public/ObjectType.d.ts +15 -15
- package/build/esm/public/ObjectType.d.ts.map +1 -1
- package/build/esm/public/ObjectType.js +79 -3
- package/build/esm/public/ObjectType.js.map +1 -1
- package/build/esm/public/Ontology.d.ts +3 -3
- package/build/esm/public/Ontology.d.ts.map +1 -1
- package/build/esm/public/Ontology.js +45 -3
- package/build/esm/public/Ontology.js.map +1 -1
- package/build/esm/public/OntologyObject.d.ts +37 -37
- package/build/esm/public/OntologyObject.d.ts.map +1 -1
- package/build/esm/public/OntologyObject.js +150 -3
- package/build/esm/public/OntologyObject.js.map +1 -1
- package/build/esm/public/Query.d.ts +5 -8
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +31 -3
- package/build/esm/public/Query.js.map +1 -1
- package/build/esm/public/QueryType.d.ts +6 -13
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/QueryType.js +48 -3
- package/build/esm/public/QueryType.js.map +1 -1
- package/package.json +8 -11
- package/build/browser/chunk-3GNJUZCN.js +0 -26
- package/build/browser/chunk-3GNJUZCN.js.map +0 -1
- package/build/browser/chunk-5RUWELWF.js +0 -21
- package/build/browser/chunk-5RUWELWF.js.map +0 -1
- package/build/browser/chunk-ABHCL2BI.js +0 -21
- package/build/browser/chunk-ABHCL2BI.js.map +0 -1
- package/build/browser/chunk-ATSSLGFA.js +0 -31
- package/build/browser/chunk-ATSSLGFA.js.map +0 -1
- package/build/browser/chunk-MONAXU3N.js +0 -36
- package/build/browser/chunk-MONAXU3N.js.map +0 -1
- package/build/browser/chunk-PZ5AY32C.js +0 -9
- package/build/browser/chunk-PZ5AY32C.js.map +0 -1
- package/build/browser/chunk-SO7SXCWR.js +0 -16
- package/build/browser/chunk-SO7SXCWR.js.map +0 -1
- package/build/browser/chunk-VBZZKGHE.js +0 -41
- package/build/browser/chunk-VBZZKGHE.js.map +0 -1
- package/build/browser/chunk-Y7POOFVF.js +0 -21
- package/build/browser/chunk-Y7POOFVF.js.map +0 -1
- package/build/esm/chunk-3GNJUZCN.js +0 -26
- package/build/esm/chunk-3GNJUZCN.js.map +0 -1
- package/build/esm/chunk-5RUWELWF.js +0 -21
- package/build/esm/chunk-5RUWELWF.js.map +0 -1
- package/build/esm/chunk-ABHCL2BI.js +0 -21
- package/build/esm/chunk-ABHCL2BI.js.map +0 -1
- package/build/esm/chunk-ATSSLGFA.js +0 -31
- package/build/esm/chunk-ATSSLGFA.js.map +0 -1
- package/build/esm/chunk-MONAXU3N.js +0 -36
- package/build/esm/chunk-MONAXU3N.js.map +0 -1
- package/build/esm/chunk-PZ5AY32C.js +0 -9
- package/build/esm/chunk-PZ5AY32C.js.map +0 -1
- package/build/esm/chunk-SO7SXCWR.js +0 -16
- package/build/esm/chunk-SO7SXCWR.js.map +0 -1
- package/build/esm/chunk-VBZZKGHE.js +0 -41
- package/build/esm/chunk-VBZZKGHE.js.map +0 -1
- package/build/esm/chunk-Y7POOFVF.js +0 -21
- package/build/esm/chunk-Y7POOFVF.js.map +0 -1
|
@@ -1,4 +1,151 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _listObjects = [0, "/v1/ontologies/{0}/objects/{1}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the objects for the given Ontology and object type.
|
|
21
|
+
*
|
|
22
|
+
* This endpoint supports filtering objects.
|
|
23
|
+
* See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
|
|
24
|
+
*
|
|
25
|
+
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
26
|
+
* repeated objects in the response pages.
|
|
27
|
+
*
|
|
28
|
+
* For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects
|
|
29
|
+
* are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.
|
|
30
|
+
*
|
|
31
|
+
* Each page may be smaller or larger than the requested page size. However, it
|
|
32
|
+
* is guaranteed that if there are more results available, at least one result will be present
|
|
33
|
+
* in the response.
|
|
34
|
+
*
|
|
35
|
+
* Note that null value properties will not be returned.
|
|
36
|
+
*
|
|
37
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
38
|
+
*
|
|
39
|
+
* @public
|
|
40
|
+
*
|
|
41
|
+
* Required Scopes: [api:ontologies-read]
|
|
42
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
|
|
43
|
+
*/
|
|
44
|
+
export function listObjects($ctx, ...args) {
|
|
45
|
+
return $foundryPlatformFetch($ctx, _listObjects, ...args);
|
|
46
|
+
}
|
|
47
|
+
const _getObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}", 2];
|
|
48
|
+
/**
|
|
49
|
+
* Gets a specific object with the given primary key.
|
|
50
|
+
*
|
|
51
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
*
|
|
55
|
+
* Required Scopes: [api:ontologies-read]
|
|
56
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
|
|
57
|
+
*/
|
|
58
|
+
export function getObject($ctx, ...args) {
|
|
59
|
+
return $foundryPlatformFetch($ctx, _getObject, ...args);
|
|
60
|
+
}
|
|
61
|
+
const _listLinkedObjects = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}", 2];
|
|
62
|
+
/**
|
|
63
|
+
* Lists the linked objects for a specific object and the given link type.
|
|
64
|
+
*
|
|
65
|
+
* This endpoint supports filtering objects.
|
|
66
|
+
* See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
|
|
67
|
+
*
|
|
68
|
+
* Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
|
|
69
|
+
* repeated objects in the response pages.
|
|
70
|
+
*
|
|
71
|
+
* For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects
|
|
72
|
+
* are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.
|
|
73
|
+
*
|
|
74
|
+
* Each page may be smaller or larger than the requested page size. However, it
|
|
75
|
+
* is guaranteed that if there are more results available, at least one result will be present
|
|
76
|
+
* in the response.
|
|
77
|
+
*
|
|
78
|
+
* Note that null value properties will not be returned.
|
|
79
|
+
*
|
|
80
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*
|
|
84
|
+
* Required Scopes: [api:ontologies-read]
|
|
85
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}
|
|
86
|
+
*/
|
|
87
|
+
export function listLinkedObjects($ctx, ...args) {
|
|
88
|
+
return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);
|
|
89
|
+
}
|
|
90
|
+
const _getLinkedObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}", 2];
|
|
91
|
+
/**
|
|
92
|
+
* Get a specific linked object that originates from another object. If there is no link between the two objects,
|
|
93
|
+
* LinkedObjectNotFound is thrown.
|
|
94
|
+
*
|
|
95
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*
|
|
99
|
+
* Required Scopes: [api:ontologies-read]
|
|
100
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
|
|
101
|
+
*/
|
|
102
|
+
export function getLinkedObject($ctx, ...args) {
|
|
103
|
+
return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);
|
|
104
|
+
}
|
|
105
|
+
const _searchObjects = [1, "/v1/ontologies/{0}/objects/{1}/search", 1];
|
|
106
|
+
/**
|
|
107
|
+
* Search for objects in the specified ontology and object type. The request body is used
|
|
108
|
+
* to filter objects based on the specified query. The supported queries are:
|
|
109
|
+
*
|
|
110
|
+
* | Query type | Description | Supported Types |
|
|
111
|
+
* |----------|-----------------------------------------------------------------------------------|---------------------------------|
|
|
112
|
+
* | lt | The provided property is less than the provided value. | number, string, date, timestamp |
|
|
113
|
+
* | gt | The provided property is greater than the provided value. | number, string, date, timestamp |
|
|
114
|
+
* | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |
|
|
115
|
+
* | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |
|
|
116
|
+
* | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |
|
|
117
|
+
* | isNull | The provided property is (or is not) null. | all |
|
|
118
|
+
* | contains | The provided property contains the provided value. | array |
|
|
119
|
+
* | not | The sub-query does not match. | N/A (applied on a query) |
|
|
120
|
+
* | and | All the sub-queries match. | N/A (applied on queries) |
|
|
121
|
+
* | or | At least one of the sub-queries match. | N/A (applied on queries) |
|
|
122
|
+
* | prefix | The provided property starts with the provided value. | string |
|
|
123
|
+
* | phrase | The provided property contains the provided value as a substring. | string |
|
|
124
|
+
* | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
|
|
125
|
+
* | allTerms | The provided property contains all the terms separated by whitespace. | string | |
|
|
126
|
+
*
|
|
127
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*
|
|
131
|
+
* Required Scopes: [api:ontologies-read]
|
|
132
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
|
|
133
|
+
*/
|
|
134
|
+
export function searchObjects($ctx, ...args) {
|
|
135
|
+
return $foundryPlatformFetch($ctx, _searchObjects, ...args);
|
|
136
|
+
}
|
|
137
|
+
const _aggregateObjects = [1, "/v1/ontologies/{0}/objects/{1}/aggregate", 1];
|
|
138
|
+
/**
|
|
139
|
+
* Perform functions on object fields in the specified ontology and object type.
|
|
140
|
+
*
|
|
141
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
142
|
+
*
|
|
143
|
+
* @public
|
|
144
|
+
*
|
|
145
|
+
* Required Scopes: [api:ontologies-read]
|
|
146
|
+
* URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
|
|
147
|
+
*/
|
|
148
|
+
export function aggregateObjects($ctx, ...args) {
|
|
149
|
+
return $foundryPlatformFetch($ctx, _aggregateObjects, ...args);
|
|
150
|
+
}
|
|
4
151
|
//# sourceMappingURL=OntologyObject.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"OntologyObject.js"}
|
|
1
|
+
{"version":3,"file":"OntologyObject.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listObjects","listObjects","$ctx","args","_getObject","getObject","_listLinkedObjects","listLinkedObjects","_getLinkedObject","getLinkedObject","_searchObjects","searchObjects","_aggregateObjects","aggregateObjects"],"sources":["OntologyObject.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listObjects = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}\n */\nexport function listObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjects, ...args);\n}\nconst _getObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}\n */\nexport function getObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObject, ...args);\n}\nconst _listLinkedObjects = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object. If there is no link between the two objects,\n * LinkedObjectNotFound is thrown.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);\n}\nconst _searchObjects = [1, \"/v1/ontologies/{0}/objects/{1}/search\", 1];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\n *\n * | Query type | Description | Supported Types |\n * |----------|-----------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | prefix | The provided property starts with the provided value. | string |\n * | phrase | The provided property contains the provided value as a substring. | string |\n * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | allTerms | The provided property contains all the terms separated by whitespace. | string | |\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search\n */\nexport function searchObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjects, ...args);\n}\nconst _aggregateObjects = [1, \"/v1/ontologies/{0}/objects/{1}/aggregate\", 1];\n/**\n * Perform functions on object fields in the specified ontology and object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate\n */\nexport function aggregateObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjects, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,YAAY,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,YAAY,EAAE,GAAGG,IAAI,CAAC;AAC7D;AACA,MAAMC,UAAU,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,UAAU,EAAE,GAAGD,IAAI,CAAC;AAC3D;AACA,MAAMG,kBAAkB,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,kBAAkB,EAAE,GAAGH,IAAI,CAAC;AACnE;AACA,MAAMK,gBAAgB,GAAG,CAAC,CAAC,EAAE,kDAAkD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,gBAAgB,EAAE,GAAGL,IAAI,CAAC;AACjE;AACA,MAAMO,cAAc,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,cAAc,EAAE,GAAGP,IAAI,CAAC;AAC/D;AACA,MAAMS,iBAAiB,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,iBAAiB,EAAE,GAAGT,IAAI,CAAC;AAClE","ignoreList":[]}
|
|
@@ -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 executeQuery($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,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,YAAY,EAAE,KAAK,CAAC,YAAY;IAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB;CACjC,GACA,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC"}
|
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _executeQuery = [1, "/v1/ontologies/{0}/queries/{1}/execute", 1];
|
|
19
|
+
/**
|
|
20
|
+
* Executes a Query using the given parameters. Optional parameters do not need to be supplied.
|
|
21
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
22
|
+
* following operation scopes: `api:ontologies-read`.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:ontologies-read]
|
|
27
|
+
* URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
|
|
28
|
+
*/
|
|
29
|
+
export function executeQuery($ctx, ...args) {
|
|
30
|
+
return $foundryPlatformFetch($ctx, _executeQuery, ...args);
|
|
31
|
+
}
|
|
4
32
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Query.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_executeQuery","executeQuery","$ctx","args"],"sources":["Query.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _executeQuery = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 1];\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute\n */\nexport function executeQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _executeQuery, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,aAAa,EAAE,GAAGG,IAAI,CAAC;AAC9D","ignoreList":[]}
|
|
@@ -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 listQueryTypes($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 getQueryType($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,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAE9B,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AASD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,GAC1E,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAE1B"}
|
|
@@ -1,4 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _listQueryTypes = [0, "/v1/ontologies/{0}/queryTypes", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the query types for the given Ontology.
|
|
21
|
+
*
|
|
22
|
+
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
23
|
+
* results available, at least one result will be present in the response.
|
|
24
|
+
*
|
|
25
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
*
|
|
29
|
+
* Required Scopes: [api:ontologies-read]
|
|
30
|
+
* URL: /v1/ontologies/{ontologyRid}/queryTypes
|
|
31
|
+
*/
|
|
32
|
+
export function listQueryTypes($ctx, ...args) {
|
|
33
|
+
return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);
|
|
34
|
+
}
|
|
35
|
+
const _getQueryType = [0, "/v1/ontologies/{0}/queryTypes/{1}"];
|
|
36
|
+
/**
|
|
37
|
+
* Gets a specific query type with the given API name.
|
|
38
|
+
*
|
|
39
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
40
|
+
*
|
|
41
|
+
* @public
|
|
42
|
+
*
|
|
43
|
+
* Required Scopes: [api:ontologies-read]
|
|
44
|
+
* URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
|
|
45
|
+
*/
|
|
46
|
+
export function getQueryType($ctx, ...args) {
|
|
47
|
+
return $foundryPlatformFetch($ctx, _getQueryType, ...args);
|
|
48
|
+
}
|
|
4
49
|
//# sourceMappingURL=QueryType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"QueryType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listQueryTypes","listQueryTypes","$ctx","args","_getQueryType","getQueryType"],"sources":["QueryType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listQueryTypes = [0, \"/v1/ontologies/{0}/queryTypes\", 2];\n/**\n * Lists the query types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes\n */\nexport function listQueryTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);\n}\nconst _getQueryType = [0, \"/v1/ontologies/{0}/queryTypes/{1}\"];\n/**\n * Gets a specific query type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}\n */\nexport function getQueryType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getQueryType, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,eAAe,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,eAAe,EAAE,GAAGG,IAAI,CAAC;AAChE;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,aAAa,EAAE,GAAGD,IAAI,CAAC;AAC9D","ignoreList":[]}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC"}
|
|
@@ -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.d.ts
CHANGED
package/build/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACvC,YAAY,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC"}
|
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
|
|
@@ -16,10 +16,10 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
16
16
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply
|
|
17
17
|
*/
|
|
18
18
|
export declare function applyAction($ctx: $Client | $ClientContext, ...args: [
|
|
19
|
-
ontologyRid: OntologyRid,
|
|
20
|
-
actionType: ActionTypeApiName,
|
|
21
|
-
$body: ApplyActionRequest
|
|
22
|
-
]): Promise<ApplyActionResponse>;
|
|
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.
|
|
@@ -39,10 +39,10 @@ export declare function applyAction($ctx: $Client | $ClientContext, ...args: [
|
|
|
39
39
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch
|
|
40
40
|
*/
|
|
41
41
|
export declare function applyActionBatch($ctx: $Client | $ClientContext, ...args: [
|
|
42
|
-
ontologyRid: OntologyRid,
|
|
43
|
-
actionType: ActionTypeApiName,
|
|
44
|
-
$body: BatchApplyActionRequest
|
|
45
|
-
]): Promise<BatchApplyActionResponse>;
|
|
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.
|
|
@@ -59,11 +59,11 @@ export declare function applyActionBatch($ctx: $Client | $ClientContext, ...args
|
|
|
59
59
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync
|
|
60
60
|
*/
|
|
61
61
|
export declare function applyActionAsync($ctx: $Client | $ClientContext, ...args: [
|
|
62
|
-
ontologyRid: OntologyRid,
|
|
63
|
-
actionType: ActionTypeApiName,
|
|
64
|
-
$body: AsyncApplyActionRequest,
|
|
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
|
/**
|
|
@@ -73,13 +73,13 @@ export declare function applyActionAsync($ctx: $Client | $ClientContext, ...args
|
|
|
73
73
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}
|
|
74
74
|
*/
|
|
75
75
|
export declare function getAsyncActionStatus($ctx: $Client | $ClientContext, ...args: [
|
|
76
|
-
ontologyRid: OntologyRid,
|
|
77
|
-
actionType: ActionTypeApiName,
|
|
78
|
-
actionRid: ActionRid,
|
|
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**
|
|
@@ -98,8 +98,8 @@ export declare function getAsyncActionStatus($ctx: $Client | $ClientContext, ...
|
|
|
98
98
|
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate
|
|
99
99
|
*/
|
|
100
100
|
export declare function validateAction($ctx: $Client | $ClientContext, ...args: [
|
|
101
|
-
ontologyRid: OntologyRid,
|
|
102
|
-
actionType: ActionTypeApiName,
|
|
103
|
-
$body: ValidateActionRequest
|
|
104
|
-
]): Promise<ValidateActionResponse>;
|
|
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,WAAW,CACzB,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,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,uBAAuB;CACrC,GACA,OAAO,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAEzC;AAWD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,uBAAuB;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,oBAAoB,CAClC,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,cAAc,CAC5B,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"}
|