@osdk/internal.foundry.ontologies 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.
Files changed (66) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/build/browser/public/Action.d.ts +5 -5
  3. package/build/browser/public/Action.d.ts.map +1 -1
  4. package/build/browser/public/Action.js +15 -15
  5. package/build/browser/public/Action.js.map +1 -1
  6. package/build/browser/public/ActionType.d.ts +2 -2
  7. package/build/browser/public/ActionType.d.ts.map +1 -1
  8. package/build/browser/public/ActionType.js +6 -6
  9. package/build/browser/public/ActionType.js.map +1 -1
  10. package/build/browser/public/Attachment.d.ts +3 -3
  11. package/build/browser/public/Attachment.d.ts.map +1 -1
  12. package/build/browser/public/Attachment.js +9 -9
  13. package/build/browser/public/Attachment.js.map +1 -1
  14. package/build/browser/public/ObjectType.d.ts +2 -2
  15. package/build/browser/public/ObjectType.d.ts.map +1 -1
  16. package/build/browser/public/ObjectType.js +6 -6
  17. package/build/browser/public/ObjectType.js.map +1 -1
  18. package/build/browser/public/Ontology.d.ts +2 -2
  19. package/build/browser/public/Ontology.d.ts.map +1 -1
  20. package/build/browser/public/Ontology.js +6 -6
  21. package/build/browser/public/Ontology.js.map +1 -1
  22. package/build/browser/public/OntologyObject.d.ts +4 -4
  23. package/build/browser/public/OntologyObject.d.ts.map +1 -1
  24. package/build/browser/public/OntologyObject.js +12 -12
  25. package/build/browser/public/OntologyObject.js.map +1 -1
  26. package/build/browser/public/Query.d.ts +1 -1
  27. package/build/browser/public/Query.d.ts.map +1 -1
  28. package/build/browser/public/Query.js +3 -3
  29. package/build/browser/public/Query.js.map +1 -1
  30. package/build/browser/public/QueryType.d.ts +2 -2
  31. package/build/browser/public/QueryType.d.ts.map +1 -1
  32. package/build/browser/public/QueryType.js +6 -6
  33. package/build/browser/public/QueryType.js.map +1 -1
  34. package/build/esm/public/Action.d.ts +5 -5
  35. package/build/esm/public/Action.d.ts.map +1 -1
  36. package/build/esm/public/Action.js +15 -15
  37. package/build/esm/public/Action.js.map +1 -1
  38. package/build/esm/public/ActionType.d.ts +2 -2
  39. package/build/esm/public/ActionType.d.ts.map +1 -1
  40. package/build/esm/public/ActionType.js +6 -6
  41. package/build/esm/public/ActionType.js.map +1 -1
  42. package/build/esm/public/Attachment.d.ts +3 -3
  43. package/build/esm/public/Attachment.d.ts.map +1 -1
  44. package/build/esm/public/Attachment.js +9 -9
  45. package/build/esm/public/Attachment.js.map +1 -1
  46. package/build/esm/public/ObjectType.d.ts +2 -2
  47. package/build/esm/public/ObjectType.d.ts.map +1 -1
  48. package/build/esm/public/ObjectType.js +6 -6
  49. package/build/esm/public/ObjectType.js.map +1 -1
  50. package/build/esm/public/Ontology.d.ts +2 -2
  51. package/build/esm/public/Ontology.d.ts.map +1 -1
  52. package/build/esm/public/Ontology.js +6 -6
  53. package/build/esm/public/Ontology.js.map +1 -1
  54. package/build/esm/public/OntologyObject.d.ts +4 -4
  55. package/build/esm/public/OntologyObject.d.ts.map +1 -1
  56. package/build/esm/public/OntologyObject.js +12 -12
  57. package/build/esm/public/OntologyObject.js.map +1 -1
  58. package/build/esm/public/Query.d.ts +1 -1
  59. package/build/esm/public/Query.d.ts.map +1 -1
  60. package/build/esm/public/Query.js +3 -3
  61. package/build/esm/public/Query.js.map +1 -1
  62. package/build/esm/public/QueryType.d.ts +2 -2
  63. package/build/esm/public/QueryType.d.ts.map +1 -1
  64. package/build/esm/public/QueryType.js +6 -6
  65. package/build/esm/public/QueryType.js.map +1 -1
  66. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # @osdk/internal.foundry.ontologies
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
+ - 5d6d5ab: Updated to latest gateway apis
20
+ - 5d6d5ab: We now generate error types
21
+ - 5d6d5ab: Includes @alpha/@beta/@public jsdoc tags
22
+ - 5d6d5ab: Internally refactored to support new API versions
23
+ - 5d6d5ab: Autofill Content-Length and Content-Type headers in API's that accept Blobs
24
+ - 5d6d5ab: SLS dependencies are optional
25
+ - d4d6605: Audited and cleaned up deps
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [5d6d5ab]
30
+ - Updated dependencies [b60e107]
31
+ - Updated dependencies [5d6d5ab]
32
+ - Updated dependencies [5dc1241]
33
+ - Updated dependencies [1252d94]
34
+ - Updated dependencies [5d6d5ab]
35
+ - Updated dependencies [5d6d5ab]
36
+ - Updated dependencies [5d6d5ab]
37
+ - Updated dependencies [5d6d5ab]
38
+ - Updated dependencies [5d6d5ab]
39
+ - Updated dependencies [5d6d5ab]
40
+ - Updated dependencies [d4d6605]
41
+ - Updated dependencies [5dc1241]
42
+ - @osdk/internal.foundry.core@0.2.0
43
+ - @osdk/shared.client@1.0.0
44
+ - @osdk/shared.net.platformapi@0.3.0
45
+
46
+ ## 0.2.0-beta.10
47
+
48
+ ### Patch Changes
49
+
50
+ - Updated dependencies [5dc1241]
51
+ - @osdk/shared.client@1.0.0-beta.3
52
+ - @osdk/internal.foundry.core@0.2.0-beta.10
53
+ - @osdk/shared.net.platformapi@0.3.0-beta.3
54
+
3
55
  ## 0.2.0-beta.9
4
56
 
5
57
  ### Minor Changes
@@ -15,7 +15,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
15
15
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
16
16
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply
17
17
  */
18
- export declare function applyAction($ctx: $Client | $ClientContext, ...args: [
18
+ export declare function apply($ctx: $Client | $ClientContext, ...args: [
19
19
  ontologyRid: _Core.OntologyRid,
20
20
  actionType: _Core.ActionTypeApiName,
21
21
  $body: _Core.ApplyActionRequest
@@ -38,7 +38,7 @@ export declare function applyAction($ctx: $Client | $ClientContext, ...args: [
38
38
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
39
39
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch
40
40
  */
41
- export declare function applyActionBatch($ctx: $Client | $ClientContext, ...args: [
41
+ export declare function applyBatch($ctx: $Client | $ClientContext, ...args: [
42
42
  ontologyRid: _Core.OntologyRid,
43
43
  actionType: _Core.ActionTypeApiName,
44
44
  $body: _Core.BatchApplyActionRequest
@@ -58,7 +58,7 @@ export declare function applyActionBatch($ctx: $Client | $ClientContext, ...args
58
58
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
59
59
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync
60
60
  */
61
- export declare function applyActionAsync($ctx: $Client | $ClientContext, ...args: [
61
+ export declare function applyAsync($ctx: $Client | $ClientContext, ...args: [
62
62
  ontologyRid: _Core.OntologyRid,
63
63
  actionType: _Core.ActionTypeApiName,
64
64
  $body: _Core.AsyncApplyActionRequest,
@@ -72,7 +72,7 @@ export declare function applyActionAsync($ctx: $Client | $ClientContext, ...args
72
72
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
73
73
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}
74
74
  */
75
- export declare function getAsyncActionStatus($ctx: $Client | $ClientContext, ...args: [
75
+ export declare function getOperationStatus($ctx: $Client | $ClientContext, ...args: [
76
76
  ontologyRid: _Core.OntologyRid,
77
77
  actionType: _Core.ActionTypeApiName,
78
78
  actionRid: _Core.ActionRid,
@@ -97,7 +97,7 @@ export declare function getAsyncActionStatus($ctx: $Client | $ClientContext, ...
97
97
  * Required Scopes: [api:ontologies-read]
98
98
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate
99
99
  */
100
- export declare function validateAction($ctx: $Client | $ClientContext, ...args: [
100
+ export declare function validate($ctx: $Client | $ClientContext, ...args: [
101
101
  ontologyRid: _Core.OntologyRid,
102
102
  actionType: _Core.ActionTypeApiName,
103
103
  $body: _Core.ValidateActionRequest
@@ -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;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
+ {"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,KAAK,CACnB,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,UAAU,CACxB,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,UAAU,CACxB,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,kBAAkB,CAChC,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,QAAQ,CACtB,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"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _applyAction = [1, "/v1/ontologies/{0}/actions/{1}/apply", 1];
18
+ const _apply = [1, "/v1/ontologies/{0}/actions/{1}/apply", 1];
19
19
  /**
20
20
  * Applies an action using the given parameters. Changes to the Ontology are eventually consistent and may take
21
21
  * some time to be visible.
@@ -31,10 +31,10 @@ const _applyAction = [1, "/v1/ontologies/{0}/actions/{1}/apply", 1];
31
31
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
32
32
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/apply
33
33
  */
34
- export function applyAction($ctx, ...args) {
35
- return $foundryPlatformFetch($ctx, _applyAction, ...args);
34
+ export function apply($ctx, ...args) {
35
+ return $foundryPlatformFetch($ctx, _apply, ...args);
36
36
  }
37
- const _applyActionBatch = [1, "/v1/ontologies/{0}/actions/{1}/applyBatch", 1];
37
+ const _applyBatch = [1, "/v1/ontologies/{0}/actions/{1}/applyBatch", 1];
38
38
  /**
39
39
  * Applies multiple actions (of the same Action Type) using the given parameters.
40
40
  * Changes to the Ontology are eventually consistent and may take some time to be visible.
@@ -53,10 +53,10 @@ const _applyActionBatch = [1, "/v1/ontologies/{0}/actions/{1}/applyBatch", 1];
53
53
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
54
54
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch
55
55
  */
56
- export function applyActionBatch($ctx, ...args) {
57
- return $foundryPlatformFetch($ctx, _applyActionBatch, ...args);
56
+ export function applyBatch($ctx, ...args) {
57
+ return $foundryPlatformFetch($ctx, _applyBatch, ...args);
58
58
  }
59
- const _applyActionAsync = [1, "/v1/ontologies/{0}/actions/{1}/applyAsync", 3];
59
+ const _applyAsync = [1, "/v1/ontologies/{0}/actions/{1}/applyAsync", 3];
60
60
  /**
61
61
  * Applies an action asynchronously using the given parameters. Changes to the Ontology are eventually consistent
62
62
  * and may take some time to be visible.
@@ -72,20 +72,20 @@ const _applyActionAsync = [1, "/v1/ontologies/{0}/actions/{1}/applyAsync", 3];
72
72
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
73
73
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync
74
74
  */
75
- export function applyActionAsync($ctx, ...args) {
76
- return $foundryPlatformFetch($ctx, _applyActionAsync, ...args);
75
+ export function applyAsync($ctx, ...args) {
76
+ return $foundryPlatformFetch($ctx, _applyAsync, ...args);
77
77
  }
78
- const _getAsyncActionStatus = [0, "/v1/ontologies/{0}/actions/{1}/applyAsync/{2}", 2];
78
+ const _getOperationStatus = [0, "/v1/ontologies/{0}/actions/{1}/applyAsync/{2}", 2];
79
79
  /**
80
80
  * @alpha
81
81
  *
82
82
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
83
83
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/applyAsync/{actionRid}
84
84
  */
85
- export function getAsyncActionStatus($ctx, ...args) {
86
- return $foundryPlatformFetch($ctx, _getAsyncActionStatus, ...args);
85
+ export function getOperationStatus($ctx, ...args) {
86
+ return $foundryPlatformFetch($ctx, _getOperationStatus, ...args);
87
87
  }
88
- const _validateAction = [1, "/v1/ontologies/{0}/actions/{1}/validate", 1];
88
+ const _validate = [1, "/v1/ontologies/{0}/actions/{1}/validate", 1];
89
89
  /**
90
90
  * Validates if an action can be run with the given set of parameters.
91
91
  * The response contains the evaluation of parameters and **submission criteria**
@@ -103,7 +103,7 @@ const _validateAction = [1, "/v1/ontologies/{0}/actions/{1}/validate", 1];
103
103
  * Required Scopes: [api:ontologies-read]
104
104
  * URL: /v1/ontologies/{ontologyRid}/actions/{actionType}/validate
105
105
  */
106
- export function validateAction($ctx, ...args) {
107
- return $foundryPlatformFetch($ctx, _validateAction, ...args);
106
+ export function validate($ctx, ...args) {
107
+ return $foundryPlatformFetch($ctx, _validate, ...args);
108
108
  }
109
109
  //# sourceMappingURL=Action.js.map
@@ -1 +1 @@
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
+ {"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. 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 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 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 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. 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 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,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,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,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":[]}
@@ -13,7 +13,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
13
13
  * Required Scopes: [api:ontologies-read]
14
14
  * URL: /v1/ontologies/{ontologyRid}/actionTypes
15
15
  */
16
- export declare function listActionTypes($ctx: $Client | $ClientContext, ...args: [
16
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
17
17
  ontologyRid: _Core.OntologyRid,
18
18
  $queryParams?: {
19
19
  pageSize?: _Core.PageSize | undefined;
@@ -30,7 +30,7 @@ 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: [
33
+ export declare function get($ctx: $Client | $ClientContext, ...args: [
34
34
  ontologyRid: _Core.OntologyRid,
35
35
  actionTypeApiName: _Core.ActionTypeApiName
36
36
  ]): Promise<_Core.ActionType>;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionType.d.ts","sourceRoot":"","sources":["../../../src/public/ActionType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAE9B,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAExC;AASD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;CAC3C,GACA,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B"}
1
+ {"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,IAAI,CAClB,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,GAAG,CACjB,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"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _listActionTypes = [0, "/v1/ontologies/{0}/actionTypes", 2];
18
+ const _list = [0, "/v1/ontologies/{0}/actionTypes", 2];
19
19
  /**
20
20
  * Lists the action types for the given Ontology.
21
21
  *
@@ -29,10 +29,10 @@ const _listActionTypes = [0, "/v1/ontologies/{0}/actionTypes", 2];
29
29
  * Required Scopes: [api:ontologies-read]
30
30
  * URL: /v1/ontologies/{ontologyRid}/actionTypes
31
31
  */
32
- export function listActionTypes($ctx, ...args) {
33
- return $foundryPlatformFetch($ctx, _listActionTypes, ...args);
32
+ export function list($ctx, ...args) {
33
+ return $foundryPlatformFetch($ctx, _list, ...args);
34
34
  }
35
- const _getActionType = [0, "/v1/ontologies/{0}/actionTypes/{1}"];
35
+ const _get = [0, "/v1/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 _getActionType = [0, "/v1/ontologies/{0}/actionTypes/{1}"];
43
43
  * Required Scopes: [api:ontologies-read]
44
44
  * URL: /v1/ontologies/{ontologyRid}/actionTypes/{actionTypeApiName}
45
45
  */
46
- export function getActionType($ctx, ...args) {
47
- return $foundryPlatformFetch($ctx, _getActionType, ...args);
46
+ export function get($ctx, ...args) {
47
+ return $foundryPlatformFetch($ctx, _get, ...args);
48
48
  }
49
49
  //# sourceMappingURL=ActionType.js.map
@@ -1 +1 @@
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":[]}
1
+ {"version":3,"file":"ActionType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"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 _list = [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 list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [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 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: /v1/attachments/upload
17
17
  */
18
- export declare function uploadAttachment($ctx: $Client | $ClientContext, ...args: [
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 uploadAttachment($ctx: $Client | $ClientContext, ...args
35
35
  * Required Scopes: [api:ontologies-read]
36
36
  * URL: /v1/attachments/{attachmentRid}/content
37
37
  */
38
- export declare function getAttachmentContent($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<Blob>;
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 getAttachmentContent($ctx: $Client | $ClientContext, ...
47
47
  * Required Scopes: [api:ontologies-read]
48
48
  * URL: /v1/attachments/{attachmentRid}
49
49
  */
50
- export declare function getAttachment($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<_Core.Attachment>;
50
+ export declare function get($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<_Core.Attachment>;
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,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAA;KAAE;IAC1C,aAAa,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;KAAE;CACvD,GACA,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAc3B;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAEf;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAC5C,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B"}
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,UAAU,CAAC,CAQ3B;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,UAAU,CAAC,CAE3B"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _uploadAttachment = [1, "/v1/attachments/upload", 7, "*/*"];
18
+ const _upload = [1, "/v1/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 _uploadAttachment = [1, "/v1/attachments/upload", 7, "*/*"];
31
31
  * Required Scopes: [api:ontologies-write]
32
32
  * URL: /v1/attachments/upload
33
33
  */
34
- export function uploadAttachment($ctx, ...args) {
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, _uploadAttachment, args[0], args[1], headerParams);
40
+ return $foundryPlatformFetch($ctx, _upload, args[0], args[1], headerParams);
41
41
  }
42
- const _getAttachmentContent = [0, "/v1/attachments/{0}/content",,, "*/*"];
42
+ const _read = [0, "/v1/attachments/{0}/content",,, "*/*"];
43
43
  /**
44
44
  * Get the content of an attachment.
45
45
  *
@@ -51,10 +51,10 @@ const _getAttachmentContent = [0, "/v1/attachments/{0}/content",,, "*/*"];
51
51
  * Required Scopes: [api:ontologies-read]
52
52
  * URL: /v1/attachments/{attachmentRid}/content
53
53
  */
54
- export function getAttachmentContent($ctx, ...args) {
55
- return $foundryPlatformFetch($ctx, _getAttachmentContent, ...args);
54
+ export function read($ctx, ...args) {
55
+ return $foundryPlatformFetch($ctx, _read, ...args);
56
56
  }
57
- const _getAttachment = [0, "/v1/attachments/{0}"];
57
+ const _get = [0, "/v1/attachments/{0}"];
58
58
  /**
59
59
  * Get the metadata of an attachment.
60
60
  *
@@ -66,7 +66,7 @@ const _getAttachment = [0, "/v1/attachments/{0}"];
66
66
  * Required Scopes: [api:ontologies-read]
67
67
  * URL: /v1/attachments/{attachmentRid}
68
68
  */
69
- export function getAttachment($ctx, ...args) {
70
- return $foundryPlatformFetch($ctx, _getAttachment, ...args);
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","_uploadAttachment","uploadAttachment","$ctx","args","headerParams","type","size","toString","_getAttachmentContent","getAttachmentContent","_getAttachment","getAttachment"],"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 _uploadAttachment = [1, \"/v1/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: /v1/attachments/upload\n */\nexport function uploadAttachment($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, _uploadAttachment, args[0], args[1], headerParams);\n}\nconst _getAttachmentContent = [0, \"/v1/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: /v1/attachments/{attachmentRid}/content\n */\nexport function getAttachmentContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContent, ...args);\n}\nconst _getAttachment = [0, \"/v1/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: /v1/attachments/{attachmentRid}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...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,iBAAiB,GAAG,CAAC,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,KAAK,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,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,iBAAiB,EAAEG,IAAI,CAAC,CAAC,CAAC,EAAEA,IAAI,CAAC,CAAC,CAAC,EAAEC,YAAY,CAAC;AACzF;AACA,MAAMI,qBAAqB,GAAG,CAAC,CAAC,EAAE,6BAA6B,IAAM,KAAK,CAAC;AAC3E;AACA;AACA;AACA;AACA;AACA;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,cAAc,GAAG,CAAC,CAAC,EAAE,qBAAqB,CAAC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,cAAc,EAAE,GAAGP,IAAI,CAAC;AAC/D","ignoreList":[]}
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, \"/v1/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: /v1/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, \"/v1/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: /v1/attachments/{attachmentRid}/content\n */\nexport function read($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _read, ...args);\n}\nconst _get = [0, \"/v1/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: /v1/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,wBAAwB,EAAE,CAAC,EAAE,KAAK,CAAC;AACvD;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,6BAA6B,IAAM,KAAK,CAAC;AAC3D;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,qBAAqB,CAAC;AACvC;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":[]}
@@ -14,7 +14,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
14
14
  * Required Scopes: [api:ontologies-read]
15
15
  * URL: /v1/ontologies/{ontologyRid}/objectTypes
16
16
  */
17
- export declare function listObjectTypes($ctx: $Client | $ClientContext, ...args: [
17
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
18
18
  ontologyRid: _Core.OntologyRid,
19
19
  $queryParams?: {
20
20
  pageSize?: _Core.PageSize | undefined;
@@ -31,7 +31,7 @@ export declare function listObjectTypes($ctx: $Client | $ClientContext, ...args:
31
31
  * Required Scopes: [api:ontologies-read]
32
32
  * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
33
33
  */
34
- export declare function getObjectType($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, objectType: _Core.ObjectTypeApiName]): Promise<_Core.ObjectType>;
34
+ export declare function get($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, objectType: _Core.ObjectTypeApiName]): Promise<_Core.ObjectType>;
35
35
  /**
36
36
  * List the outgoing links for an object type.
37
37
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectType.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectType.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;;;;;;;;;;;;;GAaG;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,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAC7E,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IAEnC,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,6BAA6B,CAAC,CAE9C;AAUD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,QAAQ,EAAE,KAAK,CAAC,eAAe;CAChC,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
1
+ {"version":3,"file":"ObjectType.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectType.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;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAClB,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,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAC7E,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IAEnC,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,6BAA6B,CAAC,CAE9C;AAUD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,QAAQ,EAAE,KAAK,CAAC,eAAe;CAChC,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 _listObjectTypes = [0, "/v1/ontologies/{0}/objectTypes", 2];
18
+ const _list = [0, "/v1/ontologies/{0}/objectTypes", 2];
19
19
  /**
20
20
  * Lists the object types for the given Ontology.
21
21
  *
@@ -30,10 +30,10 @@ const _listObjectTypes = [0, "/v1/ontologies/{0}/objectTypes", 2];
30
30
  * Required Scopes: [api:ontologies-read]
31
31
  * URL: /v1/ontologies/{ontologyRid}/objectTypes
32
32
  */
33
- export function listObjectTypes($ctx, ...args) {
34
- return $foundryPlatformFetch($ctx, _listObjectTypes, ...args);
33
+ export function list($ctx, ...args) {
34
+ return $foundryPlatformFetch($ctx, _list, ...args);
35
35
  }
36
- const _getObjectType = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
36
+ const _get = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
37
37
  /**
38
38
  * Gets a specific object type with the given API name.
39
39
  *
@@ -44,8 +44,8 @@ const _getObjectType = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
44
44
  * Required Scopes: [api:ontologies-read]
45
45
  * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
46
46
  */
47
- export function getObjectType($ctx, ...args) {
48
- return $foundryPlatformFetch($ctx, _getObjectType, ...args);
47
+ export function get($ctx, ...args) {
48
+ return $foundryPlatformFetch($ctx, _get, ...args);
49
49
  }
50
50
  const _listOutgoingLinkTypes = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
51
51
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listObjectTypes","listObjectTypes","$ctx","args","_getObjectType","getObjectType","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectType.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 _listObjectTypes = [0, \"/v1/ontologies/{0}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * 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}/objectTypes\n */\nexport function listObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectTypes, ...args);\n}\nconst _getObjectType = [0, \"/v1/ontologies/{0}/objectTypes/{1}\"];\n/**\n * Gets a specific object 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}/objectTypes/{objectType}\n */\nexport function getObjectType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectType, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes\", 2];\n/**\n * List the outgoing links for an object type.\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}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}\"];\n/**\n * Get an outgoing link for an object type.\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}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...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;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;AACA,MAAMG,sBAAsB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,sBAAsB,EAAE,GAAGH,IAAI,CAAC;AACvE;AACA,MAAMK,oBAAoB,GAAG,CAAC,CAAC,EAAE,0DAA0D,CAAC;AAC5F;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":[]}
1
+ {"version":3,"file":"ObjectType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectType.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, \"/v1/ontologies/{0}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * 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}/objectTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}/objectTypes/{1}\"];\n/**\n * Gets a specific object 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}/objectTypes/{objectType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes\", 2];\n/**\n * List the outgoing links for an object type.\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}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}\"];\n/**\n * Get an outgoing link for an object type.\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}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...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;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;AACA,MAAMG,sBAAsB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,sBAAsB,EAAE,GAAGH,IAAI,CAAC;AACvE;AACA,MAAMK,oBAAoB,GAAG,CAAC,CAAC,EAAE,0DAA0D,CAAC;AAC5F;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":[]}
@@ -10,7 +10,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
10
10
  * Required Scopes: [api:ontologies-read]
11
11
  * URL: /v1/ontologies
12
12
  */
13
- export declare function listOntologies($ctx: $Client | $ClientContext, ...args: []): Promise<_Core.ListOntologiesResponse>;
13
+ export declare function list($ctx: $Client | $ClientContext, ...args: []): Promise<_Core.ListOntologiesResponse>;
14
14
  /**
15
15
  * Gets a specific ontology with the given Ontology RID.
16
16
  *
@@ -21,5 +21,5 @@ export declare function listOntologies($ctx: $Client | $ClientContext, ...args:
21
21
  * Required Scopes: [api:ontologies-read]
22
22
  * URL: /v1/ontologies/{ontologyRid}
23
23
  */
24
- export declare function getOntology($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid]): Promise<_Core.Ontology>;
24
+ export declare function get($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid]): Promise<_Core.Ontology>;
25
25
  //# sourceMappingURL=Ontology.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Ontology.d.ts","sourceRoot":"","sources":["../../../src/public/Ontology.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;AAU7B;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,GACxC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAEzB"}
1
+ {"version":3,"file":"Ontology.d.ts","sourceRoot":"","sources":["../../../src/public/Ontology.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;AAU7B;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,GACxC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAEzB"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _listOntologies = [0, "/v1/ontologies"];
18
+ const _list = [0, "/v1/ontologies"];
19
19
  /**
20
20
  * Lists the Ontologies visible to the current user.
21
21
  *
@@ -26,10 +26,10 @@ const _listOntologies = [0, "/v1/ontologies"];
26
26
  * Required Scopes: [api:ontologies-read]
27
27
  * URL: /v1/ontologies
28
28
  */
29
- export function listOntologies($ctx, ...args) {
30
- return $foundryPlatformFetch($ctx, _listOntologies, ...args);
29
+ export function list($ctx, ...args) {
30
+ return $foundryPlatformFetch($ctx, _list, ...args);
31
31
  }
32
- const _getOntology = [0, "/v1/ontologies/{0}"];
32
+ const _get = [0, "/v1/ontologies/{0}"];
33
33
  /**
34
34
  * Gets a specific ontology with the given Ontology RID.
35
35
  *
@@ -40,7 +40,7 @@ const _getOntology = [0, "/v1/ontologies/{0}"];
40
40
  * Required Scopes: [api:ontologies-read]
41
41
  * URL: /v1/ontologies/{ontologyRid}
42
42
  */
43
- export function getOntology($ctx, ...args) {
44
- return $foundryPlatformFetch($ctx, _getOntology, ...args);
43
+ export function get($ctx, ...args) {
44
+ return $foundryPlatformFetch($ctx, _get, ...args);
45
45
  }
46
46
  //# sourceMappingURL=Ontology.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Ontology.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listOntologies","listOntologies","$ctx","args","_getOntology","getOntology"],"sources":["Ontology.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 _listOntologies = [0, \"/v1/ontologies\"];\n/**\n * Lists the Ontologies visible to the current user.\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\n */\nexport function listOntologies($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOntologies, ...args);\n}\nconst _getOntology = [0, \"/v1/ontologies/{0}\"];\n/**\n * Gets a specific ontology with the given Ontology RID.\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}\n */\nexport function getOntology($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOntology, ...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,gBAAgB,CAAC;AAC7C;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,YAAY,GAAG,CAAC,CAAC,EAAE,oBAAoB,CAAC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,YAAY,EAAE,GAAGD,IAAI,CAAC;AAC7D","ignoreList":[]}
1
+ {"version":3,"file":"Ontology.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["Ontology.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, \"/v1/ontologies\"];\n/**\n * Lists the Ontologies visible to the current user.\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\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}\"];\n/**\n * Gets a specific ontology with the given Ontology RID.\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}\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,gBAAgB,CAAC;AACnC;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,oBAAoB,CAAC;AACtC;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":[]}
@@ -25,7 +25,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
25
25
  * Required Scopes: [api:ontologies-read]
26
26
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
27
27
  */
28
- export declare function listObjects($ctx: $Client | $ClientContext, ...args: [
28
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
29
29
  ontologyRid: _Core.OntologyRid,
30
30
  objectType: _Core.ObjectTypeApiName,
31
31
  $queryParams: {
@@ -45,7 +45,7 @@ export declare function listObjects($ctx: $Client | $ClientContext, ...args: [
45
45
  * Required Scopes: [api:ontologies-read]
46
46
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
47
47
  */
48
- export declare function getObject($ctx: $Client | $ClientContext, ...args: [
48
+ export declare function get($ctx: $Client | $ClientContext, ...args: [
49
49
  ontologyRid: _Core.OntologyRid,
50
50
  objectType: _Core.ObjectTypeApiName,
51
51
  primaryKey: _Core.PropertyValueEscapedString,
@@ -139,7 +139,7 @@ export declare function getLinkedObject($ctx: $Client | $ClientContext, ...args:
139
139
  * Required Scopes: [api:ontologies-read]
140
140
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
141
141
  */
142
- export declare function searchObjects($ctx: $Client | $ClientContext, ...args: [
142
+ export declare function search($ctx: $Client | $ClientContext, ...args: [
143
143
  ontologyRid: _Core.OntologyRid,
144
144
  objectType: _Core.ObjectTypeApiName,
145
145
  $body: _Core.SearchObjectsRequest
@@ -154,7 +154,7 @@ export declare function searchObjects($ctx: $Client | $ClientContext, ...args: [
154
154
  * Required Scopes: [api:ontologies-read]
155
155
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
156
156
  */
157
- export declare function aggregateObjects($ctx: $Client | $ClientContext, ...args: [
157
+ export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
158
158
  ontologyRid: _Core.OntologyRid,
159
159
  objectType: _Core.ObjectTypeApiName,
160
160
  $body: _Core.AggregateObjectsRequest