@osdk/internal.foundry.ontologiesv2 0.2.0-beta.9 → 0.2.1
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 +53 -0
- package/build/browser/public/Action.d.ts +3 -3
- package/build/browser/public/Action.d.ts.map +1 -1
- package/build/browser/public/Action.js +9 -9
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionTypeV2.d.ts +2 -2
- package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
- package/build/browser/public/ActionTypeV2.js +6 -6
- package/build/browser/public/ActionTypeV2.js.map +1 -1
- package/build/browser/public/Attachment.d.ts +3 -3
- package/build/browser/public/Attachment.d.ts.map +1 -1
- package/build/browser/public/Attachment.js +9 -9
- package/build/browser/public/Attachment.js.map +1 -1
- package/build/browser/public/AttachmentPropertyV2.d.ts +4 -4
- package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/browser/public/AttachmentPropertyV2.js +12 -12
- package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
- package/build/browser/public/LinkedObjectV2.d.ts +2 -2
- package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/browser/public/LinkedObjectV2.js +6 -6
- package/build/browser/public/LinkedObjectV2.js.map +1 -1
- package/build/browser/public/ObjectTypeV2.d.ts +5 -5
- package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/browser/public/ObjectTypeV2.js +15 -15
- package/build/browser/public/ObjectTypeV2.js.map +1 -1
- package/build/browser/public/OntologyInterface.d.ts +4 -4
- package/build/browser/public/OntologyInterface.d.ts.map +1 -1
- package/build/browser/public/OntologyInterface.js +12 -12
- package/build/browser/public/OntologyInterface.js.map +1 -1
- package/build/browser/public/OntologyObjectSet.d.ts +4 -4
- package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectSet.js +12 -12
- package/build/browser/public/OntologyObjectSet.js.map +1 -1
- package/build/browser/public/OntologyObjectV2.d.ts +5 -5
- package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectV2.js +15 -15
- package/build/browser/public/OntologyObjectV2.js.map +1 -1
- package/build/browser/public/OntologyV2.d.ts +3 -3
- package/build/browser/public/OntologyV2.d.ts.map +1 -1
- package/build/browser/public/OntologyV2.js +9 -9
- package/build/browser/public/OntologyV2.js.map +1 -1
- package/build/browser/public/Query.d.ts +1 -1
- package/build/browser/public/Query.d.ts.map +1 -1
- package/build/browser/public/Query.js +3 -3
- package/build/browser/public/Query.js.map +1 -1
- package/build/browser/public/QueryType.d.ts +2 -2
- package/build/browser/public/QueryType.d.ts.map +1 -1
- package/build/browser/public/QueryType.js +6 -6
- package/build/browser/public/QueryType.js.map +1 -1
- package/build/esm/public/Action.d.ts +3 -3
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +9 -9
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionTypeV2.d.ts +2 -2
- package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
- package/build/esm/public/ActionTypeV2.js +6 -6
- package/build/esm/public/ActionTypeV2.js.map +1 -1
- package/build/esm/public/Attachment.d.ts +3 -3
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +9 -9
- package/build/esm/public/Attachment.js.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.d.ts +4 -4
- package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.js +12 -12
- package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
- package/build/esm/public/LinkedObjectV2.d.ts +2 -2
- package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/esm/public/LinkedObjectV2.js +6 -6
- package/build/esm/public/LinkedObjectV2.js.map +1 -1
- package/build/esm/public/ObjectTypeV2.d.ts +5 -5
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/ObjectTypeV2.js +15 -15
- package/build/esm/public/ObjectTypeV2.js.map +1 -1
- package/build/esm/public/OntologyInterface.d.ts +4 -4
- package/build/esm/public/OntologyInterface.d.ts.map +1 -1
- package/build/esm/public/OntologyInterface.js +12 -12
- package/build/esm/public/OntologyInterface.js.map +1 -1
- package/build/esm/public/OntologyObjectSet.d.ts +4 -4
- package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.js +12 -12
- package/build/esm/public/OntologyObjectSet.js.map +1 -1
- package/build/esm/public/OntologyObjectV2.d.ts +5 -5
- package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectV2.js +15 -15
- package/build/esm/public/OntologyObjectV2.js.map +1 -1
- package/build/esm/public/OntologyV2.d.ts +3 -3
- package/build/esm/public/OntologyV2.d.ts.map +1 -1
- package/build/esm/public/OntologyV2.js +9 -9
- package/build/esm/public/OntologyV2.js.map +1 -1
- package/build/esm/public/Query.d.ts +1 -1
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +3 -3
- package/build/esm/public/Query.js.map +1 -1
- package/build/esm/public/QueryType.d.ts +2 -2
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/QueryType.js +6 -6
- package/build/esm/public/QueryType.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
# @osdk/internal.foundry.ontologiesv2
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [a4343af]
|
|
8
|
+
- @osdk/shared.client@1.0.1
|
|
9
|
+
- @osdk/internal.foundry.core@0.2.1
|
|
10
|
+
- @osdk/shared.net.platformapi@0.3.1
|
|
11
|
+
|
|
12
|
+
## 0.2.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- 5d6d5ab: Use the "verb" where possible
|
|
17
|
+
- 1770490: URLs in jsdoc now link to palantir.com
|
|
18
|
+
- 5d6d5ab: Internal improvement to type references
|
|
19
|
+
- 1252d94: ESM Only
|
|
20
|
+
- 5d6d5ab: Updated to latest gateway apis
|
|
21
|
+
- 5d6d5ab: We now generate error types
|
|
22
|
+
- 5d6d5ab: Includes @alpha/@beta/@public jsdoc tags
|
|
23
|
+
- 5d6d5ab: Internally refactored to support new API versions
|
|
24
|
+
- 5d6d5ab: Autofill Content-Length and Content-Type headers in API's that accept Blobs
|
|
25
|
+
- 5d6d5ab: SLS dependencies are optional
|
|
26
|
+
- d4d6605: Audited and cleaned up deps
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [5d6d5ab]
|
|
31
|
+
- Updated dependencies [b60e107]
|
|
32
|
+
- Updated dependencies [5d6d5ab]
|
|
33
|
+
- Updated dependencies [5dc1241]
|
|
34
|
+
- Updated dependencies [1252d94]
|
|
35
|
+
- Updated dependencies [5d6d5ab]
|
|
36
|
+
- Updated dependencies [5d6d5ab]
|
|
37
|
+
- Updated dependencies [5d6d5ab]
|
|
38
|
+
- Updated dependencies [5d6d5ab]
|
|
39
|
+
- Updated dependencies [5d6d5ab]
|
|
40
|
+
- Updated dependencies [5d6d5ab]
|
|
41
|
+
- Updated dependencies [d4d6605]
|
|
42
|
+
- Updated dependencies [5dc1241]
|
|
43
|
+
- @osdk/internal.foundry.core@0.2.0
|
|
44
|
+
- @osdk/shared.client@1.0.0
|
|
45
|
+
- @osdk/shared.net.platformapi@0.3.0
|
|
46
|
+
|
|
47
|
+
## 0.2.0-beta.10
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Updated dependencies [5dc1241]
|
|
52
|
+
- @osdk/shared.client@1.0.0-beta.3
|
|
53
|
+
- @osdk/internal.foundry.core@0.2.0-beta.10
|
|
54
|
+
- @osdk/shared.net.platformapi@0.3.0-beta.3
|
|
55
|
+
|
|
3
56
|
## 0.2.0-beta.9
|
|
4
57
|
|
|
5
58
|
### Minor Changes
|
|
@@ -16,7 +16,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
16
16
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
17
17
|
* URL: /v2/ontologies/{ontology}/actions/{action}/apply
|
|
18
18
|
*/
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function apply($ctx: $Client | $ClientContext, ...args: [
|
|
20
20
|
ontology: _Core.OntologyIdentifier,
|
|
21
21
|
action: _Core.ActionTypeApiName,
|
|
22
22
|
$body: _Core.ApplyActionRequestV2,
|
|
@@ -41,7 +41,7 @@ export declare function applyActionV2($ctx: $Client | $ClientContext, ...args: [
|
|
|
41
41
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
42
42
|
* URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync
|
|
43
43
|
*/
|
|
44
|
-
export declare function
|
|
44
|
+
export declare function applyAsync($ctx: $Client | $ClientContext, ...args: [
|
|
45
45
|
ontology: _Core.OntologyIdentifier,
|
|
46
46
|
action: _Core.ActionTypeApiName,
|
|
47
47
|
$body: _Core.AsyncApplyActionRequestV2,
|
|
@@ -67,7 +67,7 @@ export declare function applyActionAsyncV2($ctx: $Client | $ClientContext, ...ar
|
|
|
67
67
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
68
68
|
* URL: /v2/ontologies/{ontology}/actions/{action}/applyBatch
|
|
69
69
|
*/
|
|
70
|
-
export declare function
|
|
70
|
+
export declare function applyBatch($ctx: $Client | $ClientContext, ...args: [
|
|
71
71
|
ontology: _Core.OntologyIdentifier,
|
|
72
72
|
action: _Core.ActionTypeApiName,
|
|
73
73
|
$body: _Core.BatchApplyActionRequestV2,
|
|
@@ -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,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAkB7B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,
|
|
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;AAkB7B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CACnB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,MAAM,EAAE,KAAK,CAAC,iBAAiB;IAC/B,KAAK,EAAE,KAAK,CAAC,oBAAoB;IACjC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AAcD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,MAAM,EAAE,KAAK,CAAC,iBAAiB;IAC/B,KAAK,EAAE,KAAK,CAAC,yBAAyB;IACtC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C;AAcD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,MAAM,EAAE,KAAK,CAAC,iBAAiB;IAC/B,KAAK,EAAE,KAAK,CAAC,yBAAyB;IACtC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const
|
|
18
|
+
const _apply = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
|
|
19
19
|
/**
|
|
20
20
|
* Applies an action using the given parameters.
|
|
21
21
|
*
|
|
@@ -32,10 +32,10 @@ const _applyActionV2 = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
|
|
|
32
32
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
33
33
|
* URL: /v2/ontologies/{ontology}/actions/{action}/apply
|
|
34
34
|
*/
|
|
35
|
-
export function
|
|
36
|
-
return $foundryPlatformFetch($ctx,
|
|
35
|
+
export function apply($ctx, ...args) {
|
|
36
|
+
return $foundryPlatformFetch($ctx, _apply, ...args);
|
|
37
37
|
}
|
|
38
|
-
const
|
|
38
|
+
const _applyAsync = [1, "/v2/ontologies/{0}/actions/{1}/applyAsync", 3];
|
|
39
39
|
/**
|
|
40
40
|
* Applies an action using the given parameters.
|
|
41
41
|
*
|
|
@@ -52,10 +52,10 @@ const _applyActionAsyncV2 = [1, "/v2/ontologies/{0}/actions/{1}/applyAsync", 3];
|
|
|
52
52
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
53
53
|
* URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync
|
|
54
54
|
*/
|
|
55
|
-
export function
|
|
56
|
-
return $foundryPlatformFetch($ctx,
|
|
55
|
+
export function applyAsync($ctx, ...args) {
|
|
56
|
+
return $foundryPlatformFetch($ctx, _applyAsync, ...args);
|
|
57
57
|
}
|
|
58
|
-
const
|
|
58
|
+
const _applyBatch = [1, "/v2/ontologies/{0}/actions/{1}/applyBatch", 3];
|
|
59
59
|
/**
|
|
60
60
|
* Applies multiple actions (of the same Action Type) using the given parameters.
|
|
61
61
|
* Changes to the Ontology are eventually consistent and may take some time to be visible.
|
|
@@ -73,7 +73,7 @@ const _applyActionBatchV2 = [1, "/v2/ontologies/{0}/actions/{1}/applyBatch", 3];
|
|
|
73
73
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
74
74
|
* URL: /v2/ontologies/{ontology}/actions/{action}/applyBatch
|
|
75
75
|
*/
|
|
76
|
-
export function
|
|
77
|
-
return $foundryPlatformFetch($ctx,
|
|
76
|
+
export function applyBatch($ctx, ...args) {
|
|
77
|
+
return $foundryPlatformFetch($ctx, _applyBatch, ...args);
|
|
78
78
|
}
|
|
79
79
|
//# sourceMappingURL=Action.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Action.js","names":["foundryPlatformFetch","$foundryPlatformFetch","
|
|
1
|
+
{"version":3,"file":"Action.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_apply","apply","$ctx","args","_applyAsync","applyAsync","_applyBatch","applyBatch"],"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, \"/v2/ontologies/{0}/actions/{1}/apply\", 3];\n/**\n * Applies an action using the given parameters.\n *\n * Changes to the Ontology are eventually consistent 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 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: /v2/ontologies/{ontology}/actions/{action}/apply\n */\nexport function apply($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _apply, ...args);\n}\nconst _applyAsync = [1, \"/v2/ontologies/{0}/actions/{1}/applyAsync\", 3];\n/**\n * Applies an action using the given parameters.\n *\n * Changes to the Ontology are eventually consistent 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 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 * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync\n */\nexport function applyAsync($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyAsync, ...args);\n}\nconst _applyBatch = [1, \"/v2/ontologies/{0}/actions/{1}/applyBatch\", 3];\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 [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: /v2/ontologies/{ontology}/actions/{action}/applyBatch\n */\nexport function applyBatch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyBatch, ...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,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,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","ignoreList":[]}
|
|
@@ -13,7 +13,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
13
13
|
* Required Scopes: [api:ontologies-read]
|
|
14
14
|
* URL: /v2/ontologies/{ontology}/actionTypes
|
|
15
15
|
*/
|
|
16
|
-
export declare function
|
|
16
|
+
export declare function list($ctx: $Client | $ClientContext, ...args: [
|
|
17
17
|
ontology: _Core.OntologyIdentifier,
|
|
18
18
|
$queryParams?: {
|
|
19
19
|
pageSize?: _Core.PageSize | undefined;
|
|
@@ -30,7 +30,7 @@ export declare function listActionTypesV2($ctx: $Client | $ClientContext, ...arg
|
|
|
30
30
|
* Required Scopes: [api:ontologies-read]
|
|
31
31
|
* URL: /v2/ontologies/{ontology}/actionTypes/{actionType}
|
|
32
32
|
*/
|
|
33
|
-
export declare function
|
|
33
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [
|
|
34
34
|
ontology: _Core.OntologyIdentifier,
|
|
35
35
|
actionType: _Core.ActionTypeApiName
|
|
36
36
|
]): Promise<_Core.ActionTypeV2>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ActionTypeV2.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,
|
|
1
|
+
{"version":3,"file":"ActionTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ActionTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,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,yBAAyB,CAAC,CAE1C;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;CACpC,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const
|
|
18
|
+
const _list = [0, "/v2/ontologies/{0}/actionTypes", 2];
|
|
19
19
|
/**
|
|
20
20
|
* Lists the action types for the given Ontology.
|
|
21
21
|
*
|
|
@@ -29,10 +29,10 @@ const _listActionTypesV2 = [0, "/v2/ontologies/{0}/actionTypes", 2];
|
|
|
29
29
|
* Required Scopes: [api:ontologies-read]
|
|
30
30
|
* URL: /v2/ontologies/{ontology}/actionTypes
|
|
31
31
|
*/
|
|
32
|
-
export function
|
|
33
|
-
return $foundryPlatformFetch($ctx,
|
|
32
|
+
export function list($ctx, ...args) {
|
|
33
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const _get = [0, "/v2/ontologies/{0}/actionTypes/{1}"];
|
|
36
36
|
/**
|
|
37
37
|
* Gets a specific action type with the given API name.
|
|
38
38
|
*
|
|
@@ -43,7 +43,7 @@ const _getActionTypeV2 = [0, "/v2/ontologies/{0}/actionTypes/{1}"];
|
|
|
43
43
|
* Required Scopes: [api:ontologies-read]
|
|
44
44
|
* URL: /v2/ontologies/{ontology}/actionTypes/{actionType}
|
|
45
45
|
*/
|
|
46
|
-
export function
|
|
47
|
-
return $foundryPlatformFetch($ctx,
|
|
46
|
+
export function get($ctx, ...args) {
|
|
47
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
48
48
|
}
|
|
49
49
|
//# sourceMappingURL=ActionTypeV2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","
|
|
1
|
+
{"version":3,"file":"ActionTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["ActionTypeV2.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/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: /v2/ontologies/{ontology}/actionTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/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: /v2/ontologies/{ontology}/actionTypes/{actionType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD","ignoreList":[]}
|
|
@@ -15,7 +15,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
15
15
|
* Required Scopes: [api:ontologies-write]
|
|
16
16
|
* URL: /v2/ontologies/attachments/upload
|
|
17
17
|
*/
|
|
18
|
-
export declare function
|
|
18
|
+
export declare function upload($ctx: $Client | $ClientContext, ...args: [
|
|
19
19
|
$body: Blob,
|
|
20
20
|
$queryParams: {
|
|
21
21
|
filename: _Core.Filename;
|
|
@@ -35,7 +35,7 @@ export declare function uploadAttachmentV2($ctx: $Client | $ClientContext, ...ar
|
|
|
35
35
|
* Required Scopes: [api:ontologies-read]
|
|
36
36
|
* URL: /v2/ontologies/attachments/{attachmentRid}/content
|
|
37
37
|
*/
|
|
38
|
-
export declare function
|
|
38
|
+
export declare function read($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<Blob>;
|
|
39
39
|
/**
|
|
40
40
|
* Get the metadata of an attachment.
|
|
41
41
|
*
|
|
@@ -47,5 +47,5 @@ export declare function getAttachmentContentV2($ctx: $Client | $ClientContext, .
|
|
|
47
47
|
* Required Scopes: [api:ontologies-read]
|
|
48
48
|
* URL: /v2/ontologies/attachments/{attachmentRid}
|
|
49
49
|
*/
|
|
50
|
-
export declare function
|
|
50
|
+
export declare function get($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<_Core.AttachmentV2>;
|
|
51
51
|
//# sourceMappingURL=Attachment.d.ts.map
|
|
@@ -1 +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,
|
|
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,MAAM,CACpB,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,YAAY,CAAC,CAQ7B;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,IAAI,CAClB,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,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAC5C,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const
|
|
18
|
+
const _upload = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
|
|
19
19
|
/**
|
|
20
20
|
* Upload an attachment to use in an action. Any attachment which has not been linked to an object via
|
|
21
21
|
* an action within one hour after upload will be removed.
|
|
@@ -31,15 +31,15 @@ const _uploadAttachmentV2 = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
|
|
|
31
31
|
* Required Scopes: [api:ontologies-write]
|
|
32
32
|
* URL: /v2/ontologies/attachments/upload
|
|
33
33
|
*/
|
|
34
|
-
export function
|
|
34
|
+
export function upload($ctx, ...args) {
|
|
35
35
|
const headerParams = {
|
|
36
36
|
...args[2],
|
|
37
37
|
"Content-Type": args[2]?.["Content-Type"] ?? args[0].type,
|
|
38
38
|
"Content-Length": args[0].size.toString()
|
|
39
39
|
};
|
|
40
|
-
return $foundryPlatformFetch($ctx,
|
|
40
|
+
return $foundryPlatformFetch($ctx, _upload, args[0], args[1], headerParams);
|
|
41
41
|
}
|
|
42
|
-
const
|
|
42
|
+
const _read = [0, "/v2/ontologies/attachments/{0}/content",,, "*/*"];
|
|
43
43
|
/**
|
|
44
44
|
* Get the content of an attachment.
|
|
45
45
|
*
|
|
@@ -51,10 +51,10 @@ const _getAttachmentContentV2 = [0, "/v2/ontologies/attachments/{0}/content",,,
|
|
|
51
51
|
* Required Scopes: [api:ontologies-read]
|
|
52
52
|
* URL: /v2/ontologies/attachments/{attachmentRid}/content
|
|
53
53
|
*/
|
|
54
|
-
export function
|
|
55
|
-
return $foundryPlatformFetch($ctx,
|
|
54
|
+
export function read($ctx, ...args) {
|
|
55
|
+
return $foundryPlatformFetch($ctx, _read, ...args);
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const _get = [0, "/v2/ontologies/attachments/{0}"];
|
|
58
58
|
/**
|
|
59
59
|
* Get the metadata of an attachment.
|
|
60
60
|
*
|
|
@@ -66,7 +66,7 @@ const _getAttachmentV2 = [0, "/v2/ontologies/attachments/{0}"];
|
|
|
66
66
|
* Required Scopes: [api:ontologies-read]
|
|
67
67
|
* URL: /v2/ontologies/attachments/{attachmentRid}
|
|
68
68
|
*/
|
|
69
|
-
export function
|
|
70
|
-
return $foundryPlatformFetch($ctx,
|
|
69
|
+
export function get($ctx, ...args) {
|
|
70
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
71
71
|
}
|
|
72
72
|
//# sourceMappingURL=Attachment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attachment.js","names":["foundryPlatformFetch","$foundryPlatformFetch","
|
|
1
|
+
{"version":3,"file":"Attachment.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_upload","upload","$ctx","args","headerParams","type","size","toString","_read","read","_get","get"],"sources":["Attachment.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 _upload = [1, \"/v2/ontologies/attachments/upload\", 7, \"*/*\"];\n/**\n * Upload an attachment to use in an action. Any attachment which has not been linked to an object via\n * an action within one hour after upload will be removed.\n * Previously mapped attachments which are not connected to any object anymore are also removed on\n * a biweekly basis.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v2/ontologies/attachments/upload\n */\nexport function upload($ctx, ...args) {\n const headerParams = {\n ...args[2],\n \"Content-Type\": args[2]?.[\"Content-Type\"] ?? args[0].type,\n \"Content-Length\": args[0].size.toString(),\n };\n return $foundryPlatformFetch($ctx, _upload, args[0], args[1], headerParams);\n}\nconst _read = [0, \"/v2/ontologies/attachments/{0}/content\", , , \"*/*\"];\n/**\n * Get the content of an attachment.\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: /v2/ontologies/attachments/{attachmentRid}/content\n */\nexport function read($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _read, ...args);\n}\nconst _get = [0, \"/v2/ontologies/attachments/{0}\"];\n/**\n * Get the metadata of an attachment.\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: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,EAAE,KAAK,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,MAAMC,YAAY,GAAG;IACjB,GAAGD,IAAI,CAAC,CAAC,CAAC;IACV,cAAc,EAAEA,IAAI,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,IAAIA,IAAI,CAAC,CAAC,CAAC,CAACE,IAAI;IACzD,gBAAgB,EAAEF,IAAI,CAAC,CAAC,CAAC,CAACG,IAAI,CAACC,QAAQ,CAAC;EAC5C,CAAC;EACD,OAAOR,qBAAqB,CAACG,IAAI,EAAEF,OAAO,EAAEG,IAAI,CAAC,CAAC,CAAC,EAAEA,IAAI,CAAC,CAAC,CAAC,EAAEC,YAAY,CAAC;AAC/E;AACA,MAAMI,KAAK,GAAG,CAAC,CAAC,EAAE,wCAAwC,IAAM,KAAK,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,KAAK,EAAE,GAAGL,IAAI,CAAC;AACtD;AACA,MAAMO,IAAI,GAAG,CAAC,CAAC,EAAE,gCAAgC,CAAC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,IAAI,EAAE,GAAGP,IAAI,CAAC;AACrD","ignoreList":[]}
|
|
@@ -11,7 +11,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
11
11
|
* Required Scopes: [api:ontologies-read]
|
|
12
12
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}
|
|
13
13
|
*/
|
|
14
|
-
export declare function
|
|
14
|
+
export declare function getAttachment($ctx: $Client | $ClientContext, ...args: [
|
|
15
15
|
ontology: _Core.OntologyIdentifier,
|
|
16
16
|
objectType: _Core.ObjectTypeApiName,
|
|
17
17
|
primaryKey: _Core.PropertyValueEscapedString,
|
|
@@ -32,7 +32,7 @@ export declare function listPropertyAttachments($ctx: $Client | $ClientContext,
|
|
|
32
32
|
* Required Scopes: [api:ontologies-read]
|
|
33
33
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}
|
|
34
34
|
*/
|
|
35
|
-
export declare function
|
|
35
|
+
export declare function getAttachmentByRid($ctx: $Client | $ClientContext, ...args: [
|
|
36
36
|
ontology: _Core.OntologyIdentifier,
|
|
37
37
|
objectType: _Core.ObjectTypeApiName,
|
|
38
38
|
primaryKey: _Core.PropertyValueEscapedString,
|
|
@@ -54,7 +54,7 @@ export declare function getAttachmentPropertyByRidV2($ctx: $Client | $ClientCont
|
|
|
54
54
|
* Required Scopes: [api:ontologies-read]
|
|
55
55
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content
|
|
56
56
|
*/
|
|
57
|
-
export declare function
|
|
57
|
+
export declare function readAttachment($ctx: $Client | $ClientContext, ...args: [
|
|
58
58
|
ontology: _Core.OntologyIdentifier,
|
|
59
59
|
objectType: _Core.ObjectTypeApiName,
|
|
60
60
|
primaryKey: _Core.PropertyValueEscapedString,
|
|
@@ -77,7 +77,7 @@ export declare function getAttachmentPropertyContentV2($ctx: $Client | $ClientCo
|
|
|
77
77
|
* Required Scopes: [api:ontologies-read]
|
|
78
78
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content
|
|
79
79
|
*/
|
|
80
|
-
export declare function
|
|
80
|
+
export declare function readAttachmentByRid($ctx: $Client | $ClientContext, ...args: [
|
|
81
81
|
ontology: _Core.OntologyIdentifier,
|
|
82
82
|
objectType: _Core.ObjectTypeApiName,
|
|
83
83
|
primaryKey: _Core.PropertyValueEscapedString,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPropertyV2.d.ts","sourceRoot":"","sources":["../../../src/public/AttachmentPropertyV2.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;AAmB7B;;;;;;;;;;GAUG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"AttachmentPropertyV2.d.ts","sourceRoot":"","sources":["../../../src/public/AttachmentPropertyV2.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;AAmB7B;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAE/B,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C;AAgBD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAC/B,aAAa,EAAE,KAAK,CAAC,aAAa;IAElC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B;AAqBD;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAE/B,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAsBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAC/B,aAAa,EAAE,KAAK,CAAC,aAAa;IAElC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const
|
|
18
|
+
const _getAttachment = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}", 2];
|
|
19
19
|
/**
|
|
20
20
|
* Get the metadata of attachments parented to the given object.
|
|
21
21
|
*
|
|
@@ -27,10 +27,10 @@ const _listPropertyAttachments = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachm
|
|
|
27
27
|
* Required Scopes: [api:ontologies-read]
|
|
28
28
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}
|
|
29
29
|
*/
|
|
30
|
-
export function
|
|
31
|
-
return $foundryPlatformFetch($ctx,
|
|
30
|
+
export function getAttachment($ctx, ...args) {
|
|
31
|
+
return $foundryPlatformFetch($ctx, _getAttachment, ...args);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
33
|
+
const _getAttachmentByRid = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}", 2];
|
|
34
34
|
/**
|
|
35
35
|
* Get the metadata of a particular attachment in an attachment list.
|
|
36
36
|
*
|
|
@@ -42,10 +42,10 @@ const _getAttachmentPropertyByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/at
|
|
|
42
42
|
* Required Scopes: [api:ontologies-read]
|
|
43
43
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
46
|
-
return $foundryPlatformFetch($ctx,
|
|
45
|
+
export function getAttachmentByRid($ctx, ...args) {
|
|
46
|
+
return $foundryPlatformFetch($ctx, _getAttachmentByRid, ...args);
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const _readAttachment = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content", 2,, "*/*"];
|
|
49
49
|
/**
|
|
50
50
|
* Get the content of an attachment.
|
|
51
51
|
*
|
|
@@ -57,10 +57,10 @@ const _getAttachmentPropertyContentV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/
|
|
|
57
57
|
* Required Scopes: [api:ontologies-read]
|
|
58
58
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content
|
|
59
59
|
*/
|
|
60
|
-
export function
|
|
61
|
-
return $foundryPlatformFetch($ctx,
|
|
60
|
+
export function readAttachment($ctx, ...args) {
|
|
61
|
+
return $foundryPlatformFetch($ctx, _readAttachment, ...args);
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const _readAttachmentByRid = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content", 2,, "*/*"];
|
|
64
64
|
/**
|
|
65
65
|
* Get the content of an attachment by its RID.
|
|
66
66
|
*
|
|
@@ -74,7 +74,7 @@ const _getAttachmentPropertyContentByRidV2 = [0, "/v2/ontologies/{0}/objects/{1}
|
|
|
74
74
|
* Required Scopes: [api:ontologies-read]
|
|
75
75
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content
|
|
76
76
|
*/
|
|
77
|
-
export function
|
|
78
|
-
return $foundryPlatformFetch($ctx,
|
|
77
|
+
export function readAttachmentByRid($ctx, ...args) {
|
|
78
|
+
return $foundryPlatformFetch($ctx, _readAttachmentByRid, ...args);
|
|
79
79
|
}
|
|
80
80
|
//# sourceMappingURL=AttachmentPropertyV2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPropertyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","
|
|
1
|
+
{"version":3,"file":"AttachmentPropertyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getAttachment","getAttachment","$ctx","args","_getAttachmentByRid","getAttachmentByRid","_readAttachment","readAttachment","_readAttachmentByRid","readAttachmentByRid"],"sources":["AttachmentPropertyV2.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 _getAttachment = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n/**\n * Get the metadata of attachments parented to the given object.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...args);\n}\nconst _getAttachmentByRid = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n/**\n * Get the metadata of a particular attachment in an attachment list.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentByRid, ...args);\n}\nconst _readAttachment = [\n 0,\n \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\",\n 2,\n ,\n \"*/*\",\n];\n/**\n * Get the content of an attachment.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function readAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readAttachment, ...args);\n}\nconst _readAttachmentByRid = [\n 0,\n \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\",\n 2,\n ,\n \"*/*\",\n];\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function readAttachmentByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readAttachmentByRid, ...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,cAAc,GAAG,CAAC,CAAC,EAAE,oDAAoD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,EAAE,wDAAwD,EAAE,CAAC,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,mBAAmB,EAAE,GAAGD,IAAI,CAAC;AACpE;AACA,MAAMG,eAAe,GAAG,CACpB,CAAC,EACD,4DAA4D,EAC5D,CAAC,GAED,KAAK,CACR;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,eAAe,EAAE,GAAGH,IAAI,CAAC;AAChE;AACA,MAAMK,oBAAoB,GAAG,CACzB,CAAC,EACD,gEAAgE,EAChE,CAAC,GAED,KAAK,CACR;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,oBAAoB,EAAE,GAAGL,IAAI,CAAC;AACrE","ignoreList":[]}
|
|
@@ -22,7 +22,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
22
22
|
* Required Scopes: [api:ontologies-read]
|
|
23
23
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}
|
|
24
24
|
*/
|
|
25
|
-
export declare function
|
|
25
|
+
export declare function listLinkedObjects($ctx: $Client | $ClientContext, ...args: [
|
|
26
26
|
ontology: _Core.OntologyIdentifier,
|
|
27
27
|
objectType: _Core.ObjectTypeApiName,
|
|
28
28
|
primaryKey: _Core.PropertyValueEscapedString,
|
|
@@ -49,7 +49,7 @@ export declare function listLinkedObjectsV2($ctx: $Client | $ClientContext, ...a
|
|
|
49
49
|
* Required Scopes: [api:ontologies-read]
|
|
50
50
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
|
|
51
51
|
*/
|
|
52
|
-
export declare function
|
|
52
|
+
export declare function getLinkedObject($ctx: $Client | $ClientContext, ...args: [
|
|
53
53
|
ontology: _Core.OntologyIdentifier,
|
|
54
54
|
objectType: _Core.ObjectTypeApiName,
|
|
55
55
|
primaryKey: _Core.PropertyValueEscapedString,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/LinkedObjectV2.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;AAwB7B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"LinkedObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/LinkedObjectV2.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;AAwB7B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAE/B,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAC7C,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC;QACpC,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;QAC/C,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KAClC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAE5C;AAkBD;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAC/B,sBAAsB,EAAE,KAAK,CAAC,0BAA0B;IAExD,YAAY,EAAE;QACZ,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAC7C,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;QAC/C,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KAClC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAEjC"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const
|
|
18
|
+
const _listLinkedObjects = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}", 2];
|
|
19
19
|
/**
|
|
20
20
|
* Lists the linked objects for a specific object and the given link type.
|
|
21
21
|
*
|
|
@@ -38,10 +38,10 @@ const _listLinkedObjectsV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}",
|
|
|
38
38
|
* Required Scopes: [api:ontologies-read]
|
|
39
39
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}
|
|
40
40
|
*/
|
|
41
|
-
export function
|
|
42
|
-
return $foundryPlatformFetch($ctx,
|
|
41
|
+
export function listLinkedObjects($ctx, ...args) {
|
|
42
|
+
return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const _getLinkedObject = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}", 2];
|
|
45
45
|
/**
|
|
46
46
|
* Get a specific linked object that originates from another object.
|
|
47
47
|
*
|
|
@@ -54,7 +54,7 @@ const _getLinkedObjectV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}
|
|
|
54
54
|
* Required Scopes: [api:ontologies-read]
|
|
55
55
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
|
|
56
56
|
*/
|
|
57
|
-
export function
|
|
58
|
-
return $foundryPlatformFetch($ctx,
|
|
57
|
+
export function getLinkedObject($ctx, ...args) {
|
|
58
|
+
return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);
|
|
59
59
|
}
|
|
60
60
|
//# sourceMappingURL=LinkedObjectV2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedObjectV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","
|
|
1
|
+
{"version":3,"file":"LinkedObjectV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listLinkedObjects","listLinkedObjects","$ctx","args","_getLinkedObject","getLinkedObject"],"sources":["LinkedObjectV2.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 _listLinkedObjects = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link type.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `LinkedObjectNotFound` is thrown.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...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,kBAAkB,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,kBAAkB,EAAE,GAAGG,IAAI,CAAC;AACnE;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,kDAAkD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,gBAAgB,EAAE,GAAGD,IAAI,CAAC;AACjE","ignoreList":[]}
|