@osdk/internal.foundry.ontologies 0.2.0-beta.7 → 0.2.0-beta.9

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.
Files changed (120) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/build/browser/_components.d.ts +4 -0
  3. package/build/browser/_components.d.ts.map +1 -0
  4. package/build/browser/_components.js +17 -0
  5. package/build/browser/_components.js.map +1 -0
  6. package/build/browser/_errors.d.ts +4 -0
  7. package/build/browser/_errors.d.ts.map +1 -0
  8. package/build/browser/_errors.js +17 -0
  9. package/build/browser/_errors.js.map +1 -0
  10. package/build/browser/index.d.ts +11 -0
  11. package/build/browser/index.d.ts.map +1 -0
  12. package/build/browser/index.js +23 -10
  13. package/build/browser/index.js.map +1 -1
  14. package/build/browser/public/Action.d.ts +105 -0
  15. package/build/browser/public/Action.d.ts.map +1 -0
  16. package/build/browser/public/Action.js +108 -3
  17. package/build/browser/public/Action.js.map +1 -1
  18. package/build/browser/public/ActionType.d.ts +37 -0
  19. package/build/browser/public/ActionType.d.ts.map +1 -0
  20. package/build/browser/public/ActionType.js +48 -3
  21. package/build/browser/public/ActionType.js.map +1 -1
  22. package/build/browser/public/Attachment.d.ts +51 -0
  23. package/build/browser/public/Attachment.d.ts.map +1 -0
  24. package/build/browser/public/Attachment.js +71 -3
  25. package/build/browser/public/Attachment.js.map +1 -1
  26. package/build/browser/public/ObjectType.d.ts +70 -0
  27. package/build/browser/public/ObjectType.d.ts.map +1 -0
  28. package/build/browser/public/ObjectType.js +79 -3
  29. package/build/browser/public/ObjectType.js.map +1 -1
  30. package/build/browser/public/Ontology.d.ts +25 -0
  31. package/build/browser/public/Ontology.d.ts.map +1 -0
  32. package/build/browser/public/Ontology.js +45 -3
  33. package/build/browser/public/Ontology.js.map +1 -1
  34. package/build/browser/public/OntologyObject.d.ts +162 -0
  35. package/build/browser/public/OntologyObject.d.ts.map +1 -0
  36. package/build/browser/public/OntologyObject.js +150 -3
  37. package/build/browser/public/OntologyObject.js.map +1 -1
  38. package/build/browser/public/Query.d.ts +18 -0
  39. package/build/browser/public/Query.d.ts.map +1 -0
  40. package/build/browser/public/Query.js +31 -3
  41. package/build/browser/public/Query.js.map +1 -1
  42. package/build/browser/public/QueryType.d.ts +34 -0
  43. package/build/browser/public/QueryType.d.ts.map +1 -0
  44. package/build/browser/public/QueryType.js +48 -3
  45. package/build/browser/public/QueryType.js.map +1 -1
  46. package/build/esm/_components.js +17 -0
  47. package/build/esm/_components.js.map +1 -0
  48. package/build/esm/_errors.js +17 -0
  49. package/build/esm/_errors.js.map +1 -0
  50. package/build/esm/index.js +23 -10
  51. package/build/esm/index.js.map +1 -1
  52. package/build/esm/public/Action.d.ts +22 -22
  53. package/build/esm/public/Action.d.ts.map +1 -1
  54. package/build/esm/public/Action.js +108 -3
  55. package/build/esm/public/Action.js.map +1 -1
  56. package/build/esm/public/ActionType.d.ts +9 -6
  57. package/build/esm/public/ActionType.d.ts.map +1 -1
  58. package/build/esm/public/ActionType.js +48 -3
  59. package/build/esm/public/ActionType.js.map +1 -1
  60. package/build/esm/public/Attachment.d.ts +6 -6
  61. package/build/esm/public/Attachment.d.ts.map +1 -1
  62. package/build/esm/public/Attachment.js +71 -3
  63. package/build/esm/public/Attachment.js.map +1 -1
  64. package/build/esm/public/ObjectType.d.ts +15 -15
  65. package/build/esm/public/ObjectType.d.ts.map +1 -1
  66. package/build/esm/public/ObjectType.js +79 -3
  67. package/build/esm/public/ObjectType.js.map +1 -1
  68. package/build/esm/public/Ontology.d.ts +3 -3
  69. package/build/esm/public/Ontology.d.ts.map +1 -1
  70. package/build/esm/public/Ontology.js +45 -3
  71. package/build/esm/public/Ontology.js.map +1 -1
  72. package/build/esm/public/OntologyObject.d.ts +37 -37
  73. package/build/esm/public/OntologyObject.d.ts.map +1 -1
  74. package/build/esm/public/OntologyObject.js +150 -3
  75. package/build/esm/public/OntologyObject.js.map +1 -1
  76. package/build/esm/public/Query.d.ts +5 -5
  77. package/build/esm/public/Query.d.ts.map +1 -1
  78. package/build/esm/public/Query.js +31 -3
  79. package/build/esm/public/Query.js.map +1 -1
  80. package/build/esm/public/QueryType.d.ts +6 -6
  81. package/build/esm/public/QueryType.d.ts.map +1 -1
  82. package/build/esm/public/QueryType.js +48 -3
  83. package/build/esm/public/QueryType.js.map +1 -1
  84. package/package.json +7 -8
  85. package/build/browser/chunk-5RUWELWF.js +0 -21
  86. package/build/browser/chunk-5RUWELWF.js.map +0 -1
  87. package/build/browser/chunk-ABHCL2BI.js +0 -21
  88. package/build/browser/chunk-ABHCL2BI.js.map +0 -1
  89. package/build/browser/chunk-ATSSLGFA.js +0 -31
  90. package/build/browser/chunk-ATSSLGFA.js.map +0 -1
  91. package/build/browser/chunk-MONAXU3N.js +0 -36
  92. package/build/browser/chunk-MONAXU3N.js.map +0 -1
  93. package/build/browser/chunk-PZ5AY32C.js +0 -9
  94. package/build/browser/chunk-PZ5AY32C.js.map +0 -1
  95. package/build/browser/chunk-SALCOSHR.js +0 -16
  96. package/build/browser/chunk-SALCOSHR.js.map +0 -1
  97. package/build/browser/chunk-UM4N5F6D.js +0 -21
  98. package/build/browser/chunk-UM4N5F6D.js.map +0 -1
  99. package/build/browser/chunk-VBZZKGHE.js +0 -41
  100. package/build/browser/chunk-VBZZKGHE.js.map +0 -1
  101. package/build/browser/chunk-YCOLCQXU.js +0 -31
  102. package/build/browser/chunk-YCOLCQXU.js.map +0 -1
  103. package/build/esm/chunk-5RUWELWF.js +0 -21
  104. package/build/esm/chunk-5RUWELWF.js.map +0 -1
  105. package/build/esm/chunk-ABHCL2BI.js +0 -21
  106. package/build/esm/chunk-ABHCL2BI.js.map +0 -1
  107. package/build/esm/chunk-ATSSLGFA.js +0 -31
  108. package/build/esm/chunk-ATSSLGFA.js.map +0 -1
  109. package/build/esm/chunk-MONAXU3N.js +0 -36
  110. package/build/esm/chunk-MONAXU3N.js.map +0 -1
  111. package/build/esm/chunk-PZ5AY32C.js +0 -9
  112. package/build/esm/chunk-PZ5AY32C.js.map +0 -1
  113. package/build/esm/chunk-SALCOSHR.js +0 -16
  114. package/build/esm/chunk-SALCOSHR.js.map +0 -1
  115. package/build/esm/chunk-UM4N5F6D.js +0 -21
  116. package/build/esm/chunk-UM4N5F6D.js.map +0 -1
  117. package/build/esm/chunk-VBZZKGHE.js +0 -41
  118. package/build/esm/chunk-VBZZKGHE.js.map +0 -1
  119. package/build/esm/chunk-YCOLCQXU.js +0 -31
  120. package/build/esm/chunk-YCOLCQXU.js.map +0 -1
@@ -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
- export { executeQuery } from '../chunk-SALCOSHR.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=Query.js.map
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,"sources":[],"names":[],"mappings":"","file":"Query.js"}
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
- export { getQueryType, listQueryTypes } from '../chunk-UM4N5F6D.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=QueryType.js.map
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,"sources":[],"names":[],"mappings":"","file":"QueryType.js"}
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,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":[]}
@@ -1,11 +1,24 @@
1
- export { QueryType_exports as QueryTypes } from './chunk-UM4N5F6D.js';
2
- export { Action_exports as Actions } from './chunk-MONAXU3N.js';
3
- export { ActionType_exports as ActionTypes } from './chunk-5RUWELWF.js';
4
- export { Attachment_exports as Attachments } from './chunk-YCOLCQXU.js';
5
- export { ObjectType_exports as ObjectTypes } from './chunk-ATSSLGFA.js';
6
- export { Ontology_exports as Ontologies } from './chunk-ABHCL2BI.js';
7
- export { OntologyObject_exports as OntologyObjects } from './chunk-VBZZKGHE.js';
8
- export { Query_exports as Queries } from './chunk-SALCOSHR.js';
9
- import './chunk-PZ5AY32C.js';
10
- //# sourceMappingURL=index.js.map
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,"sources":[],"names":[],"mappings":"","file":"index.js"}
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 { ActionRid, ActionTypeApiName, ApplyActionRequest, ApplyActionResponse, AsyncActionOperation, AsyncApplyActionRequest, BatchApplyActionRequest, BatchApplyActionResponse, OntologyRid, PreviewMode, ValidateActionRequest, ValidateActionResponse } from "@osdk/internal.foundry.core";
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,EACV,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,6BAA6B,CAAC;AACrC,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,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,kBAAkB;CAC1B,GACA,OAAO,CAAC,mBAAmB,CAAC,CAE9B;AAUD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,uBAAuB;CAC/B,GACA,OAAO,CAAC,wBAAwB,CAAC,CAEnC;AAWD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,uBAAuB;IAC9B,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;KAAE;CACrD,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAWD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,SAAS,EAAE,SAAS;IAEpB,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;KAAE;CACrD,GACA,OAAO,CAAC,oBAAoB,CAAC,CAE/B;AAUD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IACxB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,qBAAqB;CAC7B,GACA,OAAO,CAAC,sBAAsB,CAAC,CAEjC"}
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
- export { applyAction, applyActionAsync, applyActionBatch, getAsyncActionStatus, validateAction } from '../chunk-MONAXU3N.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=Action.js.map
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,"sources":[],"names":[],"mappings":"","file":"Action.js"}
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":[]}
@@ -1,4 +1,4 @@
1
- import type { ActionType, ActionTypeApiName, ListActionTypesResponse, OntologyRid, PageSize, PageToken } from "@osdk/internal.foundry.core";
1
+ import type * as _Core from "@osdk/internal.foundry.core";
2
2
  import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
3
  /**
4
4
  * Lists the action types for the given Ontology.
@@ -14,12 +14,12 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
14
14
  * URL: /v1/ontologies/{ontologyRid}/actionTypes
15
15
  */
16
16
  export declare function listActionTypes($ctx: $Client | $ClientContext, ...args: [
17
- ontologyRid: OntologyRid,
17
+ ontologyRid: _Core.OntologyRid,
18
18
  $queryParams?: {
19
- pageSize?: PageSize | undefined;
20
- pageToken?: PageToken | undefined;
19
+ pageSize?: _Core.PageSize | undefined;
20
+ pageToken?: _Core.PageToken | undefined;
21
21
  }
22
- ]): Promise<ListActionTypesResponse>;
22
+ ]): Promise<_Core.ListActionTypesResponse>;
23
23
  /**
24
24
  * Gets a specific action type with the given API name.
25
25
  *
@@ -30,5 +30,8 @@ export declare function listActionTypes($ctx: $Client | $ClientContext, ...args:
30
30
  * Required Scopes: [api:ontologies-read]
31
31
  * URL: /v1/ontologies/{ontologyRid}/actionTypes/{actionTypeApiName}
32
32
  */
33
- export declare function getActionType($ctx: $Client | $ClientContext, ...args: [ontologyRid: OntologyRid, actionTypeApiName: ActionTypeApiName]): Promise<ActionType>;
33
+ export declare function getActionType($ctx: $Client | $ClientContext, ...args: [
34
+ ontologyRid: _Core.OntologyRid,
35
+ actionTypeApiName: _Core.ActionTypeApiName
36
+ ]): Promise<_Core.ActionType>;
34
37
  //# sourceMappingURL=ActionType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionType.d.ts","sourceRoot":"","sources":["../../../src/public/ActionType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,uBAAuB,EACvB,WAAW,EACX,QAAQ,EACR,SAAS,EACV,MAAM,6BAA6B,CAAC;AACrC,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,WAAW;IAExB,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,uBAAuB,CAAC,CAElC;AASD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,iBAAiB,CAAC,GACxE,OAAO,CAAC,UAAU,CAAC,CAErB"}
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
- export { getActionType, listActionTypes } from '../chunk-5RUWELWF.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=ActionType.js.map
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,"sources":[],"names":[],"mappings":"","file":"ActionType.js"}
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":[]}