@osdk/internal.foundry.ontologies 0.2.0-beta.0 → 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 +105 -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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,110 @@
|
|
|
1
1
|
# @osdk/internal.foundry.ontologies
|
|
2
2
|
|
|
3
|
+
## 0.2.0-beta.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [5dc1241]
|
|
8
|
+
- @osdk/shared.client@1.0.0-beta.3
|
|
9
|
+
- @osdk/internal.foundry.core@0.2.0-beta.10
|
|
10
|
+
- @osdk/shared.net.platformapi@0.3.0-beta.3
|
|
11
|
+
|
|
12
|
+
## 0.2.0-beta.9
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- 5d6d5ab: Internal improvement to type references
|
|
17
|
+
- d4d6605: Audited and cleaned up deps
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [b60e107]
|
|
22
|
+
- Updated dependencies [5d6d5ab]
|
|
23
|
+
- Updated dependencies [d4d6605]
|
|
24
|
+
- @osdk/shared.client@1.0.0-beta.2
|
|
25
|
+
- @osdk/internal.foundry.core@0.2.0-beta.9
|
|
26
|
+
- @osdk/shared.net.platformapi@0.3.0-beta.2
|
|
27
|
+
|
|
28
|
+
## 0.2.0-beta.8
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [5dc1241]
|
|
33
|
+
- @osdk/shared.client@1.0.0-beta.1
|
|
34
|
+
- @osdk/internal.foundry.core@0.2.0-beta.8
|
|
35
|
+
- @osdk/shared.net.platformapi@0.3.0-beta.1
|
|
36
|
+
|
|
37
|
+
## 0.2.0-beta.7
|
|
38
|
+
|
|
39
|
+
### Minor Changes
|
|
40
|
+
|
|
41
|
+
- 5d6d5ab: Internally refactored to support new API versions
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- Updated dependencies [1252d94]
|
|
46
|
+
- Updated dependencies [5d6d5ab]
|
|
47
|
+
- @osdk/internal.foundry.core@0.2.0-beta.7
|
|
48
|
+
- @osdk/shared.client@1.0.0-beta.0
|
|
49
|
+
- @osdk/shared.net.platformapi@0.3.0-beta.0
|
|
50
|
+
|
|
51
|
+
## 0.2.0-beta.6
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- Updated dependencies [01724ae]
|
|
56
|
+
- @osdk/shared.net@2.0.0-beta.2
|
|
57
|
+
- @osdk/internal.foundry.core@0.2.0-beta.6
|
|
58
|
+
|
|
59
|
+
## 0.2.0-beta.5
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- Updated dependencies [64818dc]
|
|
64
|
+
- @osdk/shared.net@2.0.0-beta.1
|
|
65
|
+
- @osdk/internal.foundry.core@0.2.0-beta.5
|
|
66
|
+
|
|
67
|
+
## 0.2.0-beta.4
|
|
68
|
+
|
|
69
|
+
### Minor Changes
|
|
70
|
+
|
|
71
|
+
- 5d6d5ab: We now generate error types
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- Updated dependencies [5d6d5ab]
|
|
76
|
+
- @osdk/internal.foundry.core@0.2.0-beta.4
|
|
77
|
+
|
|
78
|
+
## 0.2.0-beta.3
|
|
79
|
+
|
|
80
|
+
### Minor Changes
|
|
81
|
+
|
|
82
|
+
- 5d6d5ab: Autofill Content-Length and Content-Type headers in API's that accept Blobs
|
|
83
|
+
- 5d6d5ab: SLS dependencies are optional
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- Updated dependencies [5d6d5ab]
|
|
88
|
+
- Updated dependencies [5d6d5ab]
|
|
89
|
+
- @osdk/internal.foundry.core@0.2.0-beta.3
|
|
90
|
+
- @osdk/shared.net@1.13.0-beta.0
|
|
91
|
+
|
|
92
|
+
## 0.2.0-beta.2
|
|
93
|
+
|
|
94
|
+
### Patch Changes
|
|
95
|
+
|
|
96
|
+
- Updated dependencies [dc25fb4]
|
|
97
|
+
- @osdk/api@1.10.0-beta.1
|
|
98
|
+
- @osdk/internal.foundry.core@0.2.0-beta.2
|
|
99
|
+
|
|
100
|
+
## 0.2.0-beta.1
|
|
101
|
+
|
|
102
|
+
### Patch Changes
|
|
103
|
+
|
|
104
|
+
- Updated dependencies [7c2db00]
|
|
105
|
+
- @osdk/api@1.10.0-beta.0
|
|
106
|
+
- @osdk/internal.foundry.core@0.2.0-beta.1
|
|
107
|
+
|
|
3
108
|
## 0.2.0-beta.0
|
|
4
109
|
|
|
5
110
|
### Minor Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.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=_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":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type {} from "./_components.js";
|
|
2
|
+
export type {} from "./_errors.js";
|
|
3
|
+
export * as Actions from "./public/Action.js";
|
|
4
|
+
export * as ActionTypes from "./public/ActionType.js";
|
|
5
|
+
export * as Attachments from "./public/Attachment.js";
|
|
6
|
+
export * as ObjectTypes from "./public/ObjectType.js";
|
|
7
|
+
export * as Ontologies from "./public/Ontology.js";
|
|
8
|
+
export * as OntologyObjects from "./public/OntologyObject.js";
|
|
9
|
+
export * as Queries from "./public/Query.js";
|
|
10
|
+
export * as QueryTypes from "./public/QueryType.js";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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/browser/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
|
|
@@ -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":[]}
|
|
@@ -0,0 +1,105 @@
|
|
|
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
|
+
* Applies an action using the given parameters. Changes to the Ontology are eventually consistent and may take
|
|
5
|
+
* some time to be visible.
|
|
6
|
+
*
|
|
7
|
+
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
|
|
8
|
+
* this endpoint.
|
|
9
|
+
*
|
|
10
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
11
|
+
* following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*
|
|
15
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
16
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply
|
|
17
|
+
*/
|
|
18
|
+
export declare function applyAction($ctx: $Client | $ClientContext, ...args: [
|
|
19
|
+
ontologyRid: _Core.OntologyRid,
|
|
20
|
+
actionType: _Core.ActionTypeApiName,
|
|
21
|
+
$body: _Core.ApplyActionRequest
|
|
22
|
+
]): Promise<_Core.ApplyActionResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Applies multiple actions (of the same Action Type) using the given parameters.
|
|
25
|
+
* Changes to the Ontology are eventually consistent and may take some time to be visible.
|
|
26
|
+
*
|
|
27
|
+
* Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not
|
|
28
|
+
* call Functions may receive a higher limit.
|
|
29
|
+
*
|
|
30
|
+
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) and
|
|
31
|
+
* [notifications](https://www.palantir.com/docs/foundry/action-types/notifications/) are not currently supported by this endpoint.
|
|
32
|
+
*
|
|
33
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
34
|
+
* following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
35
|
+
*
|
|
36
|
+
* @public
|
|
37
|
+
*
|
|
38
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
39
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch
|
|
40
|
+
*/
|
|
41
|
+
export declare function applyActionBatch($ctx: $Client | $ClientContext, ...args: [
|
|
42
|
+
ontologyRid: _Core.OntologyRid,
|
|
43
|
+
actionType: _Core.ActionTypeApiName,
|
|
44
|
+
$body: _Core.BatchApplyActionRequest
|
|
45
|
+
]): Promise<_Core.BatchApplyActionResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Applies an action asynchronously using the given parameters. Changes to the Ontology are eventually consistent
|
|
48
|
+
* and may take some time to be visible.
|
|
49
|
+
*
|
|
50
|
+
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently
|
|
51
|
+
* supported by this endpoint.
|
|
52
|
+
*
|
|
53
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
54
|
+
* following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
55
|
+
*
|
|
56
|
+
* @alpha
|
|
57
|
+
*
|
|
58
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
59
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync
|
|
60
|
+
*/
|
|
61
|
+
export declare function applyActionAsync($ctx: $Client | $ClientContext, ...args: [
|
|
62
|
+
ontologyRid: _Core.OntologyRid,
|
|
63
|
+
actionType: _Core.ActionTypeApiName,
|
|
64
|
+
$body: _Core.AsyncApplyActionRequest,
|
|
65
|
+
$queryParams?: {
|
|
66
|
+
preview?: _Core.PreviewMode | undefined;
|
|
67
|
+
}
|
|
68
|
+
]): Promise<void>;
|
|
69
|
+
/**
|
|
70
|
+
* @alpha
|
|
71
|
+
*
|
|
72
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
73
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}
|
|
74
|
+
*/
|
|
75
|
+
export declare function getAsyncActionStatus($ctx: $Client | $ClientContext, ...args: [
|
|
76
|
+
ontologyRid: _Core.OntologyRid,
|
|
77
|
+
actionType: _Core.ActionTypeApiName,
|
|
78
|
+
actionRid: _Core.ActionRid,
|
|
79
|
+
$queryParams?: {
|
|
80
|
+
preview?: _Core.PreviewMode | undefined;
|
|
81
|
+
}
|
|
82
|
+
]): Promise<_Core.AsyncActionOperation>;
|
|
83
|
+
/**
|
|
84
|
+
* Validates if an action can be run with the given set of parameters.
|
|
85
|
+
* The response contains the evaluation of parameters and **submission criteria**
|
|
86
|
+
* that determine if the request is `VALID` or `INVALID`.
|
|
87
|
+
* For performance reasons, validations will not consider existing objects or other data in Foundry.
|
|
88
|
+
* For example, the uniqueness of a primary key or the existence of a user ID will not be checked.
|
|
89
|
+
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
|
|
90
|
+
* this endpoint. Unspecified parameters will be given a default value of `null`.
|
|
91
|
+
*
|
|
92
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
93
|
+
* following operation scopes: `api:ontologies-read`.
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*
|
|
97
|
+
* Required Scopes: [api:ontologies-read]
|
|
98
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate
|
|
99
|
+
*/
|
|
100
|
+
export declare function validateAction($ctx: $Client | $ClientContext, ...args: [
|
|
101
|
+
ontologyRid: _Core.OntologyRid,
|
|
102
|
+
actionType: _Core.ActionTypeApiName,
|
|
103
|
+
$body: _Core.ValidateActionRequest
|
|
104
|
+
]): Promise<_Core.ValidateActionResponse>;
|
|
105
|
+
//# sourceMappingURL=Action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -1,4 +1,109 @@
|
|
|
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 _applyAction = [1, "/v1/ontologies/{0}/actions/{1}/apply", 1];
|
|
19
|
+
/**
|
|
20
|
+
* Applies an action using the given parameters. Changes to the Ontology are eventually consistent and may take
|
|
21
|
+
* some time to be visible.
|
|
22
|
+
*
|
|
23
|
+
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
|
|
24
|
+
* this endpoint.
|
|
25
|
+
*
|
|
26
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
27
|
+
* following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
*
|
|
31
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
32
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply
|
|
33
|
+
*/
|
|
34
|
+
export function applyAction($ctx, ...args) {
|
|
35
|
+
return $foundryPlatformFetch($ctx, _applyAction, ...args);
|
|
36
|
+
}
|
|
37
|
+
const _applyActionBatch = [1, "/v1/ontologies/{0}/actions/{1}/applyBatch", 1];
|
|
38
|
+
/**
|
|
39
|
+
* Applies multiple actions (of the same Action Type) using the given parameters.
|
|
40
|
+
* Changes to the Ontology are eventually consistent and may take some time to be visible.
|
|
41
|
+
*
|
|
42
|
+
* Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not
|
|
43
|
+
* call Functions may receive a higher limit.
|
|
44
|
+
*
|
|
45
|
+
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) and
|
|
46
|
+
* [notifications](https://www.palantir.com/docs/foundry/action-types/notifications/) are not currently supported by this endpoint.
|
|
47
|
+
*
|
|
48
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
49
|
+
* following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
50
|
+
*
|
|
51
|
+
* @public
|
|
52
|
+
*
|
|
53
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
54
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch
|
|
55
|
+
*/
|
|
56
|
+
export function applyActionBatch($ctx, ...args) {
|
|
57
|
+
return $foundryPlatformFetch($ctx, _applyActionBatch, ...args);
|
|
58
|
+
}
|
|
59
|
+
const _applyActionAsync = [1, "/v1/ontologies/{0}/actions/{1}/applyAsync", 3];
|
|
60
|
+
/**
|
|
61
|
+
* Applies an action asynchronously using the given parameters. Changes to the Ontology are eventually consistent
|
|
62
|
+
* and may take some time to be visible.
|
|
63
|
+
*
|
|
64
|
+
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently
|
|
65
|
+
* supported by this endpoint.
|
|
66
|
+
*
|
|
67
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
68
|
+
* following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
69
|
+
*
|
|
70
|
+
* @alpha
|
|
71
|
+
*
|
|
72
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
73
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync
|
|
74
|
+
*/
|
|
75
|
+
export function applyActionAsync($ctx, ...args) {
|
|
76
|
+
return $foundryPlatformFetch($ctx, _applyActionAsync, ...args);
|
|
77
|
+
}
|
|
78
|
+
const _getAsyncActionStatus = [0, "/v1/ontologies/{0}/actions/{1}/applyAsync/{2}", 2];
|
|
79
|
+
/**
|
|
80
|
+
* @alpha
|
|
81
|
+
*
|
|
82
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
83
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}
|
|
84
|
+
*/
|
|
85
|
+
export function getAsyncActionStatus($ctx, ...args) {
|
|
86
|
+
return $foundryPlatformFetch($ctx, _getAsyncActionStatus, ...args);
|
|
87
|
+
}
|
|
88
|
+
const _validateAction = [1, "/v1/ontologies/{0}/actions/{1}/validate", 1];
|
|
89
|
+
/**
|
|
90
|
+
* Validates if an action can be run with the given set of parameters.
|
|
91
|
+
* The response contains the evaluation of parameters and **submission criteria**
|
|
92
|
+
* that determine if the request is `VALID` or `INVALID`.
|
|
93
|
+
* For performance reasons, validations will not consider existing objects or other data in Foundry.
|
|
94
|
+
* For example, the uniqueness of a primary key or the existence of a user ID will not be checked.
|
|
95
|
+
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
|
|
96
|
+
* this endpoint. Unspecified parameters will be given a default value of `null`.
|
|
97
|
+
*
|
|
98
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
99
|
+
* following operation scopes: `api:ontologies-read`.
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*
|
|
103
|
+
* Required Scopes: [api:ontologies-read]
|
|
104
|
+
* URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate
|
|
105
|
+
*/
|
|
106
|
+
export function validateAction($ctx, ...args) {
|
|
107
|
+
return $foundryPlatformFetch($ctx, _validateAction, ...args);
|
|
108
|
+
}
|
|
4
109
|
//# sourceMappingURL=Action.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Action.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_applyAction","applyAction","$ctx","args","_applyActionBatch","applyActionBatch","_applyActionAsync","applyActionAsync","_getAsyncActionStatus","getAsyncActionStatus","_validateAction","validateAction"],"sources":["Action.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 _applyAction = [1, \"/v1/ontologies/{0}/actions/{1}/apply\", 1];\n/**\n * Applies an action using the given parameters. Changes to the Ontology are eventually consistent and may take\n * some time to be visible.\n *\n * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply\n */\nexport function applyAction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyAction, ...args);\n}\nconst _applyActionBatch = [1, \"/v1/ontologies/{0}/actions/{1}/applyBatch\", 1];\n/**\n * Applies multiple actions (of the same Action Type) using the given parameters.\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not\n * call Functions may receive a higher limit.\n *\n * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) and\n * [notifications](https://www.palantir.com/docs/foundry/action-types/notifications/) are not currently supported by this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch\n */\nexport function applyActionBatch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyActionBatch, ...args);\n}\nconst _applyActionAsync = [1, \"/v1/ontologies/{0}/actions/{1}/applyAsync\", 3];\n/**\n * Applies an action asynchronously using the given parameters. Changes to the Ontology are eventually consistent\n * and may take some time to be visible.\n *\n * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently\n * supported by this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync\n */\nexport function applyActionAsync($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyActionAsync, ...args);\n}\nconst _getAsyncActionStatus = [0, \"/v1/ontologies/{0}/actions/{1}/applyAsync/{2}\", 2];\n/**\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}\n */\nexport function getAsyncActionStatus($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAsyncActionStatus, ...args);\n}\nconst _validateAction = [1, \"/v1/ontologies/{0}/actions/{1}/validate\", 1];\n/**\n * Validates if an action can be run with the given set of parameters.\n * The response contains the evaluation of parameters and **submission criteria**\n * that determine if the request is `VALID` or `INVALID`.\n * For performance reasons, validations will not consider existing objects or other data in Foundry.\n * For example, the uniqueness of a primary key or the existence of a user ID will not be checked.\n * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint. Unspecified parameters will be given a default value of `null`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate\n */\nexport function validateAction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _validateAction, ...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,sCAAsC,EAAE,CAAC,CAAC;AACnE;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,iBAAiB,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,iBAAiB,EAAE,GAAGD,IAAI,CAAC;AAClE;AACA,MAAMG,iBAAiB,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,iBAAiB,EAAE,GAAGH,IAAI,CAAC;AAClE;AACA,MAAMK,qBAAqB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,oBAAoBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,qBAAqB,EAAE,GAAGL,IAAI,CAAC;AACtE;AACA,MAAMO,eAAe,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,eAAe,EAAE,GAAGP,IAAI,CAAC;AAChE","ignoreList":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 action 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}/actionTypes
|
|
15
|
+
*/
|
|
16
|
+
export declare function listActionTypes($ctx: $Client | $ClientContext, ...args: [
|
|
17
|
+
ontologyRid: _Core.OntologyRid,
|
|
18
|
+
$queryParams?: {
|
|
19
|
+
pageSize?: _Core.PageSize | undefined;
|
|
20
|
+
pageToken?: _Core.PageToken | undefined;
|
|
21
|
+
}
|
|
22
|
+
]): Promise<_Core.ListActionTypesResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets a specific action 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}/actionTypes/{actionTypeApiName}
|
|
32
|
+
*/
|
|
33
|
+
export declare function getActionType($ctx: $Client | $ClientContext, ...args: [
|
|
34
|
+
ontologyRid: _Core.OntologyRid,
|
|
35
|
+
actionTypeApiName: _Core.ActionTypeApiName
|
|
36
|
+
]): Promise<_Core.ActionType>;
|
|
37
|
+
//# sourceMappingURL=ActionType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionType.d.ts","sourceRoot":"","sources":["../../../src/public/ActionType.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,eAAe,CAC7B,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,uBAAuB,CAAC,CAExC;AASD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;CAC3C,GACA,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B"}
|
|
@@ -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 _listActionTypes = [0, "/v1/ontologies/{0}/actionTypes", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Lists the action 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}/actionTypes
|
|
31
|
+
*/
|
|
32
|
+
export function listActionTypes($ctx, ...args) {
|
|
33
|
+
return $foundryPlatformFetch($ctx, _listActionTypes, ...args);
|
|
34
|
+
}
|
|
35
|
+
const _getActionType = [0, "/v1/ontologies/{0}/actionTypes/{1}"];
|
|
36
|
+
/**
|
|
37
|
+
* Gets a specific action 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}/actionTypes/{actionTypeApiName}
|
|
45
|
+
*/
|
|
46
|
+
export function getActionType($ctx, ...args) {
|
|
47
|
+
return $foundryPlatformFetch($ctx, _getActionType, ...args);
|
|
48
|
+
}
|
|
4
49
|
//# sourceMappingURL=ActionType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"ActionType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listActionTypes","listActionTypes","$ctx","args","_getActionType","getActionType"],"sources":["ActionType.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 _listActionTypes = [0, \"/v1/ontologies/{0}/actionTypes\", 2];\n/**\n * Lists the action types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/actionTypes\n */\nexport function listActionTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listActionTypes, ...args);\n}\nconst _getActionType = [0, \"/v1/ontologies/{0}/actionTypes/{1}\"];\n/**\n * Gets a specific action type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/actionTypes/{actionTypeApiName}\n */\nexport function getActionType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getActionType, ...args);\n}\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,gBAAgB,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,cAAc,GAAG,CAAC,CAAC,EAAE,oCAAoC,CAAC;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,cAAc,EAAE,GAAGD,IAAI,CAAC;AAC/D","ignoreList":[]}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Upload an attachment to use in an action. Any attachment which has not been linked to an object via
|
|
5
|
+
* an action within one hour after upload will be removed.
|
|
6
|
+
* Previously mapped attachments which are not connected to any object anymore are also removed on
|
|
7
|
+
* a biweekly basis.
|
|
8
|
+
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
9
|
+
*
|
|
10
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
11
|
+
* following operation scopes: `api:ontologies-write`.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*
|
|
15
|
+
* Required Scopes: [api:ontologies-write]
|
|
16
|
+
* URL: /v1/attachments/upload
|
|
17
|
+
*/
|
|
18
|
+
export declare function uploadAttachment($ctx: $Client | $ClientContext, ...args: [
|
|
19
|
+
$body: Blob,
|
|
20
|
+
$queryParams: {
|
|
21
|
+
filename: _Core.Filename;
|
|
22
|
+
},
|
|
23
|
+
$headerParams?: {
|
|
24
|
+
"Content-Type"?: _Core.ContentType;
|
|
25
|
+
}
|
|
26
|
+
]): Promise<_Core.Attachment>;
|
|
27
|
+
/**
|
|
28
|
+
* Get the content of an attachment.
|
|
29
|
+
*
|
|
30
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
31
|
+
* following operation scopes: `api:ontologies-read`.
|
|
32
|
+
*
|
|
33
|
+
* @public
|
|
34
|
+
*
|
|
35
|
+
* Required Scopes: [api:ontologies-read]
|
|
36
|
+
* URL: /v1/attachments/{attachmentRid}/content
|
|
37
|
+
*/
|
|
38
|
+
export declare function getAttachmentContent($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<Blob>;
|
|
39
|
+
/**
|
|
40
|
+
* Get the metadata of an attachment.
|
|
41
|
+
*
|
|
42
|
+
* Third-party applications using this endpoint via OAuth2 must request the
|
|
43
|
+
* following operation scopes: `api:ontologies-read`.
|
|
44
|
+
*
|
|
45
|
+
* @public
|
|
46
|
+
*
|
|
47
|
+
* Required Scopes: [api:ontologies-read]
|
|
48
|
+
* URL: /v1/attachments/{attachmentRid}
|
|
49
|
+
*/
|
|
50
|
+
export declare function getAttachment($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<_Core.Attachment>;
|
|
51
|
+
//# sourceMappingURL=Attachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/public/Attachment.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,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAA;KAAE;IAC1C,aAAa,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;KAAE;CACvD,GACA,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAc3B;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAEf;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAC5C,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B"}
|