@osdk/internal.foundry.ontologies 2.17.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/build/browser/_components.d.ts +75 -24
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +95 -6
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +2 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/public/Action.d.ts +10 -5
- package/build/browser/public/Action.d.ts.map +1 -1
- package/build/browser/public/Action.js +10 -5
- package/build/browser/public/Action.js.map +1 -1
- package/build/esm/_components.d.ts +75 -24
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +95 -6
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +2 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/public/Action.d.ts +10 -5
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +10 -5
- package/build/esm/public/Action.js.map +1 -1
- package/package.json +5 -5
|
@@ -3,8 +3,10 @@ import type { SharedClient as $OldClient, SharedClientContext as $OldClientConte
|
|
|
3
3
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
4
|
import type * as _Ontologies from "../_components.js";
|
|
5
5
|
/**
|
|
6
|
-
* Applies an action using the given parameters.
|
|
7
|
-
*
|
|
6
|
+
* Applies an action using the given parameters.
|
|
7
|
+
*
|
|
8
|
+
* Changes to objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible.
|
|
9
|
+
* Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.
|
|
8
10
|
*
|
|
9
11
|
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
|
|
10
12
|
* this endpoint.
|
|
@@ -24,7 +26,8 @@ export declare function apply($ctx: $Client | $ClientContext | $OldClient | $Old
|
|
|
24
26
|
]): Promise<_Ontologies.ApplyActionResponse>;
|
|
25
27
|
/**
|
|
26
28
|
* Applies multiple actions (of the same Action Type) using the given parameters.
|
|
27
|
-
* Changes to
|
|
29
|
+
* Changes to objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible.
|
|
30
|
+
* Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.
|
|
28
31
|
*
|
|
29
32
|
* Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not
|
|
30
33
|
* call Functions may receive a higher limit.
|
|
@@ -46,8 +49,10 @@ export declare function applyBatch($ctx: $Client | $ClientContext | $OldClient |
|
|
|
46
49
|
$body: _Ontologies.BatchApplyActionRequest
|
|
47
50
|
]): Promise<_Ontologies.BatchApplyActionResponse>;
|
|
48
51
|
/**
|
|
49
|
-
* Applies an action asynchronously using the given parameters.
|
|
50
|
-
*
|
|
52
|
+
* Applies an action asynchronously using the given parameters.
|
|
53
|
+
*
|
|
54
|
+
* Changes to objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible.
|
|
55
|
+
* Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.
|
|
51
56
|
*
|
|
52
57
|
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently
|
|
53
58
|
* supported by this endpoint.
|
|
@@ -1 +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,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAYtD
|
|
1
|
+
{"version":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1C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAWD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW,CAAC,WAAW;IACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,SAAS,EAAE,WAAW,CAAC,SAAS;IAEhC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAE3C;AAUD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,QAAQ,CACtB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW,CAAC,WAAW;IACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,KAAK,EAAE,WAAW,CAAC,qBAAqB;CACzC,GACA,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAE7C"}
|
|
@@ -17,8 +17,10 @@ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.
|
|
|
17
17
|
//
|
|
18
18
|
const _apply = [1, "/v1/ontologies/{0}/actions/{1}/apply", 1];
|
|
19
19
|
/**
|
|
20
|
-
* Applies an action using the given parameters.
|
|
21
|
-
*
|
|
20
|
+
* Applies an action using the given parameters.
|
|
21
|
+
*
|
|
22
|
+
* Changes to objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible.
|
|
23
|
+
* Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.
|
|
22
24
|
*
|
|
23
25
|
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
|
|
24
26
|
* this endpoint.
|
|
@@ -37,7 +39,8 @@ export function apply($ctx, ...args) {
|
|
|
37
39
|
const _applyBatch = [1, "/v1/ontologies/{0}/actions/{1}/applyBatch", 1];
|
|
38
40
|
/**
|
|
39
41
|
* Applies multiple actions (of the same Action Type) using the given parameters.
|
|
40
|
-
* Changes to
|
|
42
|
+
* Changes to objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible.
|
|
43
|
+
* Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.
|
|
41
44
|
*
|
|
42
45
|
* Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not
|
|
43
46
|
* call Functions may receive a higher limit.
|
|
@@ -58,8 +61,10 @@ export function applyBatch($ctx, ...args) {
|
|
|
58
61
|
}
|
|
59
62
|
const _applyAsync = [1, "/v1/ontologies/{0}/actions/{1}/applyAsync", 3];
|
|
60
63
|
/**
|
|
61
|
-
* Applies an action asynchronously using the given parameters.
|
|
62
|
-
*
|
|
64
|
+
* Applies an action asynchronously using the given parameters.
|
|
65
|
+
*
|
|
66
|
+
* Changes to objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible.
|
|
67
|
+
* Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.
|
|
63
68
|
*
|
|
64
69
|
* Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently
|
|
65
70
|
* supported by this endpoint.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Action.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_apply","apply","$ctx","args","_applyBatch","applyBatch","_applyAsync","applyAsync","_getOperationStatus","getOperationStatus","_validate","validate"],"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 _apply = [1, \"/v1/ontologies/{0}/actions/{1}/apply\", 1];\n/**\n * Applies an action using the given parameters
|
|
1
|
+
{"version":3,"file":"Action.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_apply","apply","$ctx","args","_applyBatch","applyBatch","_applyAsync","applyAsync","_getOperationStatus","getOperationStatus","_validate","validate"],"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 _apply = [1, \"/v1/ontologies/{0}/actions/{1}/apply\", 1];\n/**\n * Applies an action using the given parameters.\n *\n * Changes to objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible.\n * Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.\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 apply($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _apply, ...args);\n}\nconst _applyBatch = [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 objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible.\n * Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.\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 applyBatch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyBatch, ...args);\n}\nconst _applyAsync = [1, \"/v1/ontologies/{0}/actions/{1}/applyAsync\", 3];\n/**\n * Applies an action asynchronously using the given parameters.\n *\n * Changes to objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible.\n * Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.\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 applyAsync($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyAsync, ...args);\n}\nconst _getOperationStatus = [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 getOperationStatus($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOperationStatus, ...args);\n}\nconst _validate = [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 validate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _validate, ...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,MAAM,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,KAAKA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,MAAM,EAAE,GAAGG,IAAI,CAAC;AACvD;AACA,MAAMC,WAAW,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,WAAW,EAAE,GAAGD,IAAI,CAAC;AAC5D;AACA,MAAMG,WAAW,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,WAAW,EAAE,GAAGH,IAAI,CAAC;AAC5D;AACA,MAAMK,mBAAmB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,mBAAmB,EAAE,GAAGL,IAAI,CAAC;AACpE;AACA,MAAMO,SAAS,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACpC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,SAAS,EAAE,GAAGP,IAAI,CAAC;AAC1D","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/internal.foundry.ontologies",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@osdk/shared.client": "^1.0.1",
|
|
23
23
|
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
-
"@osdk/internal.foundry.core": "2.
|
|
25
|
-
"@osdk/
|
|
26
|
-
"@osdk/
|
|
24
|
+
"@osdk/internal.foundry.core": "2.19.0",
|
|
25
|
+
"@osdk/internal.foundry.geo": "2.19.0",
|
|
26
|
+
"@osdk/shared.net.platformapi": "~1.3.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "^5.5.4",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"sls": {
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"com.palantir.foundry.api:api-gateway": {
|
|
49
|
-
"minVersion": "1.
|
|
49
|
+
"minVersion": "1.1150.0",
|
|
50
50
|
"maxVersion": "1.x.x",
|
|
51
51
|
"optional": false
|
|
52
52
|
}
|